diff --git a/dist/assets/Attractor-CMg9kTHM.js b/dist/assets/Attractor-BH5kyhIA.js similarity index 91% rename from dist/assets/Attractor-CMg9kTHM.js rename to dist/assets/Attractor-BH5kyhIA.js index a6c65af..eebaf66 100644 --- a/dist/assets/Attractor-CMg9kTHM.js +++ b/dist/assets/Attractor-BH5kyhIA.js @@ -1 +1 @@ -import{P as x}from"./ParticlesInteractorBase-vfDeBun3.js";import{H as f,W as p}from"./index-CYTvHIKC.js";const l=1e3,g=1;class q extends x{constructor(t){super(t)}clear(){}init(){}interact(t){const o=this.container;t.attractDistance===void 0&&(t.attractDistance=f(t.options.move.attract.distance)*o.retina.pixelRatio);const y=t.attractDistance,i=t.getPosition(),d=o.particles.quadTree.queryCircle(i,y);for(const e of d){if(t===e||!e.options.move.attract.enable||e.destroyed||e.spawning)continue;const u=e.getPosition(),{dx:v,dy:m}=p(i,u),r=t.options.move.attract.rotate,c=v/(r.x*l),n=m/(r.y*l),a=e.size.value/t.size.value,s=g/a;t.velocity.x-=c*a,t.velocity.y-=n*a,e.velocity.x+=c*s,e.velocity.y+=n*s}}isEnabled(t){return t.options.move.attract.enable}reset(){}}export{q as Attractor}; +import{P as x}from"./ParticlesInteractorBase-vfDeBun3.js";import{H as f,W as p}from"./index-CJxpASZZ.js";const l=1e3,g=1;class q extends x{constructor(t){super(t)}clear(){}init(){}interact(t){const o=this.container;t.attractDistance===void 0&&(t.attractDistance=f(t.options.move.attract.distance)*o.retina.pixelRatio);const y=t.attractDistance,i=t.getPosition(),d=o.particles.quadTree.queryCircle(i,y);for(const e of d){if(t===e||!e.options.move.attract.enable||e.destroyed||e.spawning)continue;const u=e.getPosition(),{dx:v,dy:m}=p(i,u),r=t.options.move.attract.rotate,c=v/(r.x*l),n=m/(r.y*l),a=e.size.value/t.size.value,s=g/a;t.velocity.x-=c*a,t.velocity.y-=n*a,e.velocity.x+=c*s,e.velocity.y+=n*s}}isEnabled(t){return t.options.move.attract.enable}reset(){}}export{q as Attractor}; diff --git a/dist/assets/Attractor-ZMvGtd-M.js b/dist/assets/Attractor-BQi0XouW.js similarity index 92% rename from dist/assets/Attractor-ZMvGtd-M.js rename to dist/assets/Attractor-BQi0XouW.js index 3c722d9..4151c28 100644 --- a/dist/assets/Attractor-ZMvGtd-M.js +++ b/dist/assets/Attractor-BQi0XouW.js @@ -1 +1 @@ -import{C as v}from"./Ranges-b1hBXe_8.js";import{W as M,L as b,X as E,O as g,q as x,t as O,S as d}from"./index-CYTvHIKC.js";import{Attract as A}from"./index-CQuCEwmM.js";import{E as C}from"./ExternalInteractorBase-CIi3zRdK.js";const q=1,D=1,y=0;function h(s,i,t,a,c){const e=s.actualOptions.interactivity.modes.attract;if(!e)return;const o=s.particles.quadTree.query(a,c);for(const r of o){const{dx:f,dy:n,distance:l}=M(r.position,i),m=e.speed*e.factor,p=b(E(e.easing)(D-l/t)*m,q,e.maxSpeed),k=g.create(l?f/l*p:m,l?n/l*p:m);r.position.subFrom(k)}}function P(s,i){s.attract||(s.attract={particles:[]});const{attract:t}=s;if(t.finish||(t.count||(t.count=0),t.count++,t.count===s.particles.count&&(t.finish=!0)),t.clicking){const a=s.interactivity.mouse.clickPosition,c=s.retina.attractModeDistance;if(!c||ci(e))}else t.clicking===!1&&(t.particles=[])}function R(s,i){const t=s.interactivity.mouse.position,a=s.retina.attractModeDistance;!a||ai(c))}const u="attract";class H extends C{constructor(i,t){super(t),this._engine=i,t.attract||(t.attract={particles:[]}),this.handleClickMode=a=>{const c=this.container.actualOptions,e=c.interactivity.modes.attract;if(!(!e||a!==u)){t.attract||(t.attract={particles:[]}),t.attract.clicking=!0,t.attract.count=0;for(const o of t.attract.particles)this.isEnabled(o)&&o.velocity.setTo(o.initialVelocity);t.attract.particles=[],t.attract.finish=!1,setTimeout(()=>{t.destroyed||(t.attract||(t.attract={particles:[]}),t.attract.clicking=!1)},e.duration*x)}}}clear(){}init(){const i=this.container,t=i.actualOptions.interactivity.modes.attract;t&&(i.retina.attractModeDistance=t.distance*i.retina.pixelRatio)}interact(){const i=this.container,t=i.actualOptions,a=i.interactivity.status===O,c=t.interactivity.events,{enable:e,mode:o}=c.onHover,{enable:r,mode:f}=c.onClick;a&&e&&d(u,o)?R(this.container,n=>this.isEnabled(n)):r&&d(u,f)&&P(this.container,n=>this.isEnabled(n))}isEnabled(i){const t=this.container,a=t.actualOptions,c=t.interactivity.mouse,e=((i==null?void 0:i.interactivity)??a.interactivity).events;if((!c.position||!e.onHover.enable)&&(!c.clickPosition||!e.onClick.enable))return!1;const o=e.onHover.mode,r=e.onClick.mode;return d(u,o)||d(u,r)}loadModeOptions(i,...t){i.attract||(i.attract=new A);for(const a of t)i.attract.load(a==null?void 0:a.attract)}reset(){}}export{H as Attractor}; +import{C as v}from"./Ranges-DnczzUUT.js";import{W as M,L as b,X as E,O as g,q as x,t as O,S as d}from"./index-CJxpASZZ.js";import{Attract as A}from"./index-Clada0oI.js";import{E as C}from"./ExternalInteractorBase-CIi3zRdK.js";const q=1,D=1,y=0;function h(s,i,t,a,c){const e=s.actualOptions.interactivity.modes.attract;if(!e)return;const o=s.particles.quadTree.query(a,c);for(const r of o){const{dx:f,dy:n,distance:l}=M(r.position,i),m=e.speed*e.factor,p=b(E(e.easing)(D-l/t)*m,q,e.maxSpeed),k=g.create(l?f/l*p:m,l?n/l*p:m);r.position.subFrom(k)}}function P(s,i){s.attract||(s.attract={particles:[]});const{attract:t}=s;if(t.finish||(t.count||(t.count=0),t.count++,t.count===s.particles.count&&(t.finish=!0)),t.clicking){const a=s.interactivity.mouse.clickPosition,c=s.retina.attractModeDistance;if(!c||ci(e))}else t.clicking===!1&&(t.particles=[])}function R(s,i){const t=s.interactivity.mouse.position,a=s.retina.attractModeDistance;!a||ai(c))}const u="attract";class H extends C{constructor(i,t){super(t),this._engine=i,t.attract||(t.attract={particles:[]}),this.handleClickMode=a=>{const c=this.container.actualOptions,e=c.interactivity.modes.attract;if(!(!e||a!==u)){t.attract||(t.attract={particles:[]}),t.attract.clicking=!0,t.attract.count=0;for(const o of t.attract.particles)this.isEnabled(o)&&o.velocity.setTo(o.initialVelocity);t.attract.particles=[],t.attract.finish=!1,setTimeout(()=>{t.destroyed||(t.attract||(t.attract={particles:[]}),t.attract.clicking=!1)},e.duration*x)}}}clear(){}init(){const i=this.container,t=i.actualOptions.interactivity.modes.attract;t&&(i.retina.attractModeDistance=t.distance*i.retina.pixelRatio)}interact(){const i=this.container,t=i.actualOptions,a=i.interactivity.status===O,c=t.interactivity.events,{enable:e,mode:o}=c.onHover,{enable:r,mode:f}=c.onClick;a&&e&&d(u,o)?R(this.container,n=>this.isEnabled(n)):r&&d(u,f)&&P(this.container,n=>this.isEnabled(n))}isEnabled(i){const t=this.container,a=t.actualOptions,c=t.interactivity.mouse,e=((i==null?void 0:i.interactivity)??a.interactivity).events;if((!c.position||!e.onHover.enable)&&(!c.clickPosition||!e.onClick.enable))return!1;const o=e.onHover.mode,r=e.onClick.mode;return d(u,o)||d(u,r)}loadModeOptions(i,...t){i.attract||(i.attract=new A);for(const a of t)i.attract.load(a==null?void 0:a.attract)}reset(){}}export{H as Attractor}; diff --git a/dist/assets/BaseMover-FW9ypsIU.js b/dist/assets/BaseMover-j1I4DL1Y.js similarity index 98% rename from dist/assets/BaseMover-FW9ypsIU.js rename to dist/assets/BaseMover-j1I4DL1Y.js index 78cc465..7d9eff0 100644 --- a/dist/assets/BaseMover-FW9ypsIU.js +++ b/dist/assets/BaseMover-j1I4DL1Y.js @@ -1 +1 @@ -import{W as w,J as F,L as z,K as P,H as m,a3 as T}from"./index-CYTvHIKC.js";const r=.5,h=0,f=1,D=60,M=0,S=.01;function V(n){const o=n.initialPosition,{dx:e,dy:i}=w(o,n.position),a=Math.abs(e),t=Math.abs(i),{maxDistance:s}=n.retina,y=s.horizontal,v=s.vertical;if(!y&&!v)return;const d=(y&&a>=y)??!1,u=(v&&t>=v)??!1;if((d||u)&&!n.misplaced)n.misplaced=!!y&&a>y||!!v&&t>v,y&&(n.velocity.x=n.velocity.y*r-n.velocity.x),v&&(n.velocity.y=n.velocity.x*r-n.velocity.y);else if((!y||ao.x&&c.x>h)&&(c.x*=-F()),v&&(x.yo.y&&c.y>h)&&(c.y*=-F())}}function k(n,o,e,i,a,t){E(n,t);const s=n.gravity,y=s!=null&&s.enable&&s.inverse?-f:f;a&&e&&(n.velocity.x+=a*t.factor/(D*e)),s!=null&&s.enable&&e&&(n.velocity.y+=y*(s.acceleration*t.factor)/(D*e));const v=n.moveDecay;n.velocity.multTo(v);const d=n.velocity.mult(e);s!=null&&s.enable&&i>h&&(!s.inverse&&d.y>=h&&d.y>=i||s.inverse&&d.y<=h&&d.y<=-i)&&(d.y=y*i,e&&(n.velocity.y=d.y/e));const u=n.options.zIndex,x=(f-n.zIndexFactor)**u.velocityRate;d.multTo(x);const{position:c}=n;c.addTo(d),o.vibrate&&(c.x+=Math.sin(c.x*Math.cos(c.y)),c.y+=Math.cos(c.y*Math.sin(c.x)))}function A(n,o){const e=n.container;if(!n.spin)return;const i={x:n.spin.direction==="clockwise"?Math.cos:Math.sin,y:n.spin.direction==="clockwise"?Math.sin:Math.cos};n.position.x=n.spin.center.x+n.spin.radius*i.x(n.spin.angle),n.position.y=n.spin.center.y+n.spin.radius*i.y(n.spin.angle),n.spin.radius+=n.spin.acceleration;const a=Math.max(e.canvas.size.width,e.canvas.size.height),t=a*r;n.spin.radius>t?(n.spin.radius=t,n.spin.acceleration*=-f):n.spin.radius=u?"clockwise":"counter-clockwise",angle:n.velocity.angle,radius:v,acceleration:n.retina.spinAcceleration}}const H=2,O=1,B=1;class J{init(o){const e=o.options,i=e.move.gravity;o.gravity={enable:i.enable,acceleration:m(i.acceleration),inverse:i.inverse},C(o)}isEnabled(o){return!o.destroyed&&o.options.move.enable}move(o,e){var l,b;const i=o.options,a=i.move;if(!a.enable)return;const t=o.container,s=t.retina.pixelRatio;(l=o.retina).moveSpeed??(l.moveSpeed=m(a.speed)*s),(b=o.retina).moveDrift??(b.moveDrift=m(o.options.move.drift)*s);const y=I(o),v=o.retina.moveSpeed*t.retina.reduceFactor,d=o.retina.moveDrift,u=T(i.size.value)*s,x=a.size?o.getRadius()/u:O,c=e.factor||B,g=v*x*y*c/H,R=o.retina.maxSpeed??t.retina.maxSpeed;a.spin.enable?A(o,g):k(o,a,g,R,d,e),V(o)}}export{J as BaseMover}; +import{W as w,J as F,L as z,K as P,H as m,a3 as T}from"./index-CJxpASZZ.js";const r=.5,h=0,f=1,D=60,M=0,S=.01;function V(n){const o=n.initialPosition,{dx:e,dy:i}=w(o,n.position),a=Math.abs(e),t=Math.abs(i),{maxDistance:s}=n.retina,y=s.horizontal,v=s.vertical;if(!y&&!v)return;const d=(y&&a>=y)??!1,u=(v&&t>=v)??!1;if((d||u)&&!n.misplaced)n.misplaced=!!y&&a>y||!!v&&t>v,y&&(n.velocity.x=n.velocity.y*r-n.velocity.x),v&&(n.velocity.y=n.velocity.x*r-n.velocity.y);else if((!y||ao.x&&c.x>h)&&(c.x*=-F()),v&&(x.yo.y&&c.y>h)&&(c.y*=-F())}}function k(n,o,e,i,a,t){E(n,t);const s=n.gravity,y=s!=null&&s.enable&&s.inverse?-f:f;a&&e&&(n.velocity.x+=a*t.factor/(D*e)),s!=null&&s.enable&&e&&(n.velocity.y+=y*(s.acceleration*t.factor)/(D*e));const v=n.moveDecay;n.velocity.multTo(v);const d=n.velocity.mult(e);s!=null&&s.enable&&i>h&&(!s.inverse&&d.y>=h&&d.y>=i||s.inverse&&d.y<=h&&d.y<=-i)&&(d.y=y*i,e&&(n.velocity.y=d.y/e));const u=n.options.zIndex,x=(f-n.zIndexFactor)**u.velocityRate;d.multTo(x);const{position:c}=n;c.addTo(d),o.vibrate&&(c.x+=Math.sin(c.x*Math.cos(c.y)),c.y+=Math.cos(c.y*Math.sin(c.x)))}function A(n,o){const e=n.container;if(!n.spin)return;const i={x:n.spin.direction==="clockwise"?Math.cos:Math.sin,y:n.spin.direction==="clockwise"?Math.sin:Math.cos};n.position.x=n.spin.center.x+n.spin.radius*i.x(n.spin.angle),n.position.y=n.spin.center.y+n.spin.radius*i.y(n.spin.angle),n.spin.radius+=n.spin.acceleration;const a=Math.max(e.canvas.size.width,e.canvas.size.height),t=a*r;n.spin.radius>t?(n.spin.radius=t,n.spin.acceleration*=-f):n.spin.radius=u?"clockwise":"counter-clockwise",angle:n.velocity.angle,radius:v,acceleration:n.retina.spinAcceleration}}const H=2,O=1,B=1;class J{init(o){const e=o.options,i=e.move.gravity;o.gravity={enable:i.enable,acceleration:m(i.acceleration),inverse:i.inverse},C(o)}isEnabled(o){return!o.destroyed&&o.options.move.enable}move(o,e){var l,b;const i=o.options,a=i.move;if(!a.enable)return;const t=o.container,s=t.retina.pixelRatio;(l=o.retina).moveSpeed??(l.moveSpeed=m(a.speed)*s),(b=o.retina).moveDrift??(b.moveDrift=m(o.options.move.drift)*s);const y=I(o),v=o.retina.moveSpeed*t.retina.reduceFactor,d=o.retina.moveDrift,u=T(i.size.value)*s,x=a.size?o.getRadius()/u:O,c=e.factor||B,g=v*x*y*c/H,R=o.retina.maxSpeed??t.retina.maxSpeed;a.spin.enable?A(o,g):k(o,a,g,R,d,e),V(o)}}export{J as BaseMover}; diff --git a/dist/assets/Bouncer-CIopNQs6.js b/dist/assets/Bouncer-DeFVj88L.js similarity index 93% rename from dist/assets/Bouncer-CIopNQs6.js rename to dist/assets/Bouncer-DeFVj88L.js index 3c41a6a..e0ea48c 100644 --- a/dist/assets/Bouncer-CIopNQs6.js +++ b/dist/assets/Bouncer-DeFVj88L.js @@ -1 +1 @@ -import{Y as E,Z as M,O as m,$ as R,a0 as g,a1 as q,t as D,S as p,a2 as H}from"./index-CYTvHIKC.js";import{C as d,R as b}from"./Ranges-b1hBXe_8.js";import{Bounce as O}from"./index-CVKDif1s.js";import{E as w}from"./ExternalInteractorBase-CIi3zRdK.js";const I=2,l=.5,P=Math.PI*l,h=2,y=10,S=0;function x(c,e,t,o,s){const i=c.particles.quadTree.query(o,s);for(const n of i)o instanceof d?M(R(n),{position:e,radius:t,mass:t**I*P,velocity:m.origin,factor:m.origin}):o instanceof b&&g(n,q(e,t))}function T(c,e,t,o){const s=document.querySelectorAll(e);s.length&&s.forEach(i=>{const n=i,a=c.retina.pixelRatio,r={x:(n.offsetLeft+n.offsetWidth*l)*a,y:(n.offsetTop+n.offsetHeight*l)*a},v=n.offsetWidth*l*a,u=y*a,B=t.type==="circle"?new d(r.x,r.y,v+u):new b(n.offsetLeft*a-u,n.offsetTop*a-u,n.offsetWidth*a+u*h,n.offsetHeight*a+u*h);o(r,v,B)})}function W(c,e,t,o){E(t,e,(s,i)=>T(c,s,i,(n,a,r)=>x(c,n,a,r,o)))}function A(c,e){const t=c.retina.pixelRatio,o=y*t,s=c.interactivity.mouse.position,i=c.retina.bounceModeDistance;!i||ithis.isEnabled(r)):W(this.container,a,f,r=>this.isEnabled(r))}isEnabled(e){const t=this.container,o=t.actualOptions,s=t.interactivity.mouse,i=((e==null?void 0:e.interactivity)??o.interactivity).events,n=i.onDiv;return!!s.position&&i.onHover.enable&&p(f,i.onHover.mode)||H(f,n)}loadModeOptions(e,...t){e.bounce||(e.bounce=new O);for(const o of t)e.bounce.load(o==null?void 0:o.bounce)}reset(){}}export{Y as Bouncer}; +import{Y as E,Z as M,O as m,$ as R,a0 as g,a1 as q,t as D,S as p,a2 as H}from"./index-CJxpASZZ.js";import{C as d,R as b}from"./Ranges-DnczzUUT.js";import{Bounce as O}from"./index-DrCKTKHk.js";import{E as w}from"./ExternalInteractorBase-CIi3zRdK.js";const I=2,l=.5,P=Math.PI*l,h=2,y=10,S=0;function x(c,e,t,o,s){const i=c.particles.quadTree.query(o,s);for(const n of i)o instanceof d?M(R(n),{position:e,radius:t,mass:t**I*P,velocity:m.origin,factor:m.origin}):o instanceof b&&g(n,q(e,t))}function T(c,e,t,o){const s=document.querySelectorAll(e);s.length&&s.forEach(i=>{const n=i,a=c.retina.pixelRatio,r={x:(n.offsetLeft+n.offsetWidth*l)*a,y:(n.offsetTop+n.offsetHeight*l)*a},v=n.offsetWidth*l*a,u=y*a,B=t.type==="circle"?new d(r.x,r.y,v+u):new b(n.offsetLeft*a-u,n.offsetTop*a-u,n.offsetWidth*a+u*h,n.offsetHeight*a+u*h);o(r,v,B)})}function W(c,e,t,o){E(t,e,(s,i)=>T(c,s,i,(n,a,r)=>x(c,n,a,r,o)))}function A(c,e){const t=c.retina.pixelRatio,o=y*t,s=c.interactivity.mouse.position,i=c.retina.bounceModeDistance;!i||ithis.isEnabled(r)):W(this.container,a,f,r=>this.isEnabled(r))}isEnabled(e){const t=this.container,o=t.actualOptions,s=t.interactivity.mouse,i=((e==null?void 0:e.interactivity)??o.interactivity).events,n=i.onDiv;return!!s.position&&i.onHover.enable&&p(f,i.onHover.mode)||H(f,n)}loadModeOptions(e,...t){e.bounce||(e.bounce=new O);for(const o of t)e.bounce.load(o==null?void 0:o.bounce)}reset(){}}export{Y as Bouncer}; diff --git a/dist/assets/Bubbler-BU6bwqkE.js b/dist/assets/Bubbler-B950ANRL.js similarity index 96% rename from dist/assets/Bubbler-BU6bwqkE.js rename to dist/assets/Bubbler-B950ANRL.js index 01597ef..e08c071 100644 --- a/dist/assets/Bubbler-BU6bwqkE.js +++ b/dist/assets/Bubbler-B950ANRL.js @@ -1 +1 @@ -import{Bubble as S}from"./index-Cut2uYa8.js";import{L as _,K as E,q as D,a3 as m,t as B,C as j,Q as q,r as T,a4 as H,a5 as P,a6 as w,S as O,Y as L,a2 as W}from"./index-CYTvHIKC.js";import{E as A}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as F,R as I}from"./Ranges-b1hBXe_8.js";import"./OptionsColor-JcjSYShv.js";function R(y,i,e,n){if(i>=e){const o=y+(i-e)*n;return _(o,y,i)}else if(i{var b;const e=this.container,n=e.actualOptions,o=e.interactivity.mouse.clickPosition,s=n.interactivity.modes.bubble;if(!s||!o)return;e.bubble||(e.bubble={});const t=e.retina.bubbleModeDistance;if(!t||tthis.isEnabled(l)),{bubble:u}=e;for(const l of a){if(!u.clicking)continue;l.bubble.inRange=!u.durationEnd;const c=l.getPosition(),f=E(c,o),d=(new Date().getTime()-(e.interactivity.mouse.clickTime??K))/D;d>s.duration&&(u.durationEnd=!0),d>s.duration*Q&&(u.clicking=!1,u.durationEnd=!1);const p={bubbleObj:{optValue:e.retina.bubbleModeSize,value:l.bubble.radius},particlesObj:{optValue:m(l.options.size.value)*e.retina.pixelRatio,value:l.size.value},type:"size"};this._process(l,f,d,p);const r={bubbleObj:{optValue:s.opacity,value:l.bubble.opacity},particlesObj:{optValue:m(l.options.opacity.value),value:((b=l.opacity)==null?void 0:b.value)??k},type:"opacity"};this._process(l,f,d,r),!u.durationEnd&&f<=t?this._hoverBubbleColor(l,f):delete l.bubble.color}},this._hoverBubble=()=>{const e=this.container,n=e.interactivity.mouse.position,o=e.retina.bubbleModeDistance;if(!o||othis.isEnabled(t));for(const t of s){t.bubble.inRange=!0;const a=t.getPosition(),u=E(a,n),b=x-u/o;u<=o?b>=G&&e.interactivity.status===B&&(this._hoverBubbleSize(t,b),this._hoverBubbleOpacity(t,b),this._hoverBubbleColor(t,b)):this.reset(t),e.interactivity.status===j&&this.reset(t)}},this._hoverBubbleColor=(e,n,o)=>{const s=this.container.actualOptions,t=o??s.interactivity.modes.bubble;if(t){if(!e.bubble.finalColor){const a=t.color;if(!a)return;const u=q(a);e.bubble.finalColor=T(u)}if(e.bubble.finalColor)if(t.mix){e.bubble.color=void 0;const a=e.getFillColor();e.bubble.color=a?H(P(a,e.bubble.finalColor,x-n,n)):e.bubble.finalColor}else e.bubble.color=e.bubble.finalColor}},this._hoverBubbleOpacity=(e,n,o)=>{var c,f;const s=this.container,t=s.actualOptions,a=(o==null?void 0:o.opacity)??((c=t.interactivity.modes.bubble)==null?void 0:c.opacity);if(!a)return;const u=e.options.opacity.value,b=((f=e.opacity)==null?void 0:f.value)??k,l=R(b,a,m(u),n);l!==void 0&&(e.bubble.opacity=l)},this._hoverBubbleSize=(e,n,o)=>{const s=this.container,t=o!=null&&o.size?o.size*s.retina.pixelRatio:s.retina.bubbleModeSize;if(t===void 0)return;const a=m(e.options.size.value)*s.retina.pixelRatio,u=e.size.value,b=R(u,t,a,n);b!==void 0&&(e.bubble.radius=b)},this._process=(e,n,o,s)=>{const t=this.container,a=s.bubbleObj.optValue,u=t.actualOptions,b=u.interactivity.modes.bubble;if(!b||a===void 0)return;const l=b.duration,c=t.retina.bubbleModeDistance,f=s.particlesObj.optValue,d=s.bubbleObj.value,p=s.particlesObj.value??Y,r=s.type;if(!(!c||c{const s=this.container,t=document.querySelectorAll(n),a=s.actualOptions.interactivity.modes.bubble;!a||!t.length||t.forEach(u=>{const b=u,l=s.retina.pixelRatio,c={x:(b.offsetLeft+b.offsetWidth*g)*l,y:(b.offsetTop+b.offsetHeight*g)*l},f=b.offsetWidth*g*l,d=o.type==="circle"?new F(c.x,c.y,f):new I(b.offsetLeft*l,b.offsetTop*l,b.offsetWidth*l,b.offsetHeight*l),p=s.particles.quadTree.query(d,r=>this.isEnabled(r));for(const r of p){if(!d.contains(r.getPosition()))continue;r.bubble.inRange=!0;const M=a.divs,h=w(M,b);(!r.bubble.div||r.bubble.div!==b)&&(this.clear(r,e,!0),r.bubble.div=b),this._hoverBubbleSize(r,z,h),this._hoverBubbleOpacity(r,z,h),this._hoverBubbleColor(r,z,h)}})},i.bubble||(i.bubble={}),this.handleClickMode=e=>{e===v&&(i.bubble||(i.bubble={}),i.bubble.clicking=!0)}}clear(i,e,n){i.bubble.inRange&&!n||(delete i.bubble.div,delete i.bubble.opacity,delete i.bubble.radius,delete i.bubble.color)}init(){const i=this.container,e=i.actualOptions.interactivity.modes.bubble;e&&(i.retina.bubbleModeDistance=e.distance*i.retina.pixelRatio,e.size!==void 0&&(i.retina.bubbleModeSize=e.size*i.retina.pixelRatio))}interact(i){const e=this.container.actualOptions,n=e.interactivity.events,o=n.onHover,s=n.onClick,t=o.enable,a=o.mode,u=s.enable,b=s.mode,l=n.onDiv;t&&O(v,a)?this._hoverBubble():u&&O(v,b)?this._clickBubble():L(v,l,(c,f)=>this._singleSelectorHover(i,c,f))}isEnabled(i){const e=this.container,n=e.actualOptions,o=e.interactivity.mouse,s=((i==null?void 0:i.interactivity)??n.interactivity).events,{onClick:t,onDiv:a,onHover:u}=s,b=W(v,a);return b||u.enable&&o.position||t.enable&&o.clickPosition?O(v,u.mode)||O(v,t.mode)||b:!1}loadModeOptions(i,...e){i.bubble||(i.bubble=new S);for(const n of e)i.bubble.load(n==null?void 0:n.bubble)}reset(i){i.bubble.inRange=!1}}export{$ as Bubbler}; +import{Bubble as S}from"./index-vwL2_hww.js";import{L as _,K as E,q as D,a3 as m,t as B,C as j,Q as q,r as T,a4 as H,a5 as P,a6 as w,S as O,Y as L,a2 as W}from"./index-CJxpASZZ.js";import{E as A}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as F,R as I}from"./Ranges-DnczzUUT.js";import"./OptionsColor-HO1oIr3o.js";function R(y,i,e,n){if(i>=e){const o=y+(i-e)*n;return _(o,y,i)}else if(i{var b;const e=this.container,n=e.actualOptions,o=e.interactivity.mouse.clickPosition,s=n.interactivity.modes.bubble;if(!s||!o)return;e.bubble||(e.bubble={});const t=e.retina.bubbleModeDistance;if(!t||tthis.isEnabled(l)),{bubble:u}=e;for(const l of a){if(!u.clicking)continue;l.bubble.inRange=!u.durationEnd;const c=l.getPosition(),f=E(c,o),d=(new Date().getTime()-(e.interactivity.mouse.clickTime??K))/D;d>s.duration&&(u.durationEnd=!0),d>s.duration*Q&&(u.clicking=!1,u.durationEnd=!1);const p={bubbleObj:{optValue:e.retina.bubbleModeSize,value:l.bubble.radius},particlesObj:{optValue:m(l.options.size.value)*e.retina.pixelRatio,value:l.size.value},type:"size"};this._process(l,f,d,p);const r={bubbleObj:{optValue:s.opacity,value:l.bubble.opacity},particlesObj:{optValue:m(l.options.opacity.value),value:((b=l.opacity)==null?void 0:b.value)??k},type:"opacity"};this._process(l,f,d,r),!u.durationEnd&&f<=t?this._hoverBubbleColor(l,f):delete l.bubble.color}},this._hoverBubble=()=>{const e=this.container,n=e.interactivity.mouse.position,o=e.retina.bubbleModeDistance;if(!o||othis.isEnabled(t));for(const t of s){t.bubble.inRange=!0;const a=t.getPosition(),u=E(a,n),b=x-u/o;u<=o?b>=G&&e.interactivity.status===B&&(this._hoverBubbleSize(t,b),this._hoverBubbleOpacity(t,b),this._hoverBubbleColor(t,b)):this.reset(t),e.interactivity.status===j&&this.reset(t)}},this._hoverBubbleColor=(e,n,o)=>{const s=this.container.actualOptions,t=o??s.interactivity.modes.bubble;if(t){if(!e.bubble.finalColor){const a=t.color;if(!a)return;const u=q(a);e.bubble.finalColor=T(u)}if(e.bubble.finalColor)if(t.mix){e.bubble.color=void 0;const a=e.getFillColor();e.bubble.color=a?H(P(a,e.bubble.finalColor,x-n,n)):e.bubble.finalColor}else e.bubble.color=e.bubble.finalColor}},this._hoverBubbleOpacity=(e,n,o)=>{var c,f;const s=this.container,t=s.actualOptions,a=(o==null?void 0:o.opacity)??((c=t.interactivity.modes.bubble)==null?void 0:c.opacity);if(!a)return;const u=e.options.opacity.value,b=((f=e.opacity)==null?void 0:f.value)??k,l=R(b,a,m(u),n);l!==void 0&&(e.bubble.opacity=l)},this._hoverBubbleSize=(e,n,o)=>{const s=this.container,t=o!=null&&o.size?o.size*s.retina.pixelRatio:s.retina.bubbleModeSize;if(t===void 0)return;const a=m(e.options.size.value)*s.retina.pixelRatio,u=e.size.value,b=R(u,t,a,n);b!==void 0&&(e.bubble.radius=b)},this._process=(e,n,o,s)=>{const t=this.container,a=s.bubbleObj.optValue,u=t.actualOptions,b=u.interactivity.modes.bubble;if(!b||a===void 0)return;const l=b.duration,c=t.retina.bubbleModeDistance,f=s.particlesObj.optValue,d=s.bubbleObj.value,p=s.particlesObj.value??Y,r=s.type;if(!(!c||c{const s=this.container,t=document.querySelectorAll(n),a=s.actualOptions.interactivity.modes.bubble;!a||!t.length||t.forEach(u=>{const b=u,l=s.retina.pixelRatio,c={x:(b.offsetLeft+b.offsetWidth*g)*l,y:(b.offsetTop+b.offsetHeight*g)*l},f=b.offsetWidth*g*l,d=o.type==="circle"?new F(c.x,c.y,f):new I(b.offsetLeft*l,b.offsetTop*l,b.offsetWidth*l,b.offsetHeight*l),p=s.particles.quadTree.query(d,r=>this.isEnabled(r));for(const r of p){if(!d.contains(r.getPosition()))continue;r.bubble.inRange=!0;const M=a.divs,h=w(M,b);(!r.bubble.div||r.bubble.div!==b)&&(this.clear(r,e,!0),r.bubble.div=b),this._hoverBubbleSize(r,z,h),this._hoverBubbleOpacity(r,z,h),this._hoverBubbleColor(r,z,h)}})},i.bubble||(i.bubble={}),this.handleClickMode=e=>{e===v&&(i.bubble||(i.bubble={}),i.bubble.clicking=!0)}}clear(i,e,n){i.bubble.inRange&&!n||(delete i.bubble.div,delete i.bubble.opacity,delete i.bubble.radius,delete i.bubble.color)}init(){const i=this.container,e=i.actualOptions.interactivity.modes.bubble;e&&(i.retina.bubbleModeDistance=e.distance*i.retina.pixelRatio,e.size!==void 0&&(i.retina.bubbleModeSize=e.size*i.retina.pixelRatio))}interact(i){const e=this.container.actualOptions,n=e.interactivity.events,o=n.onHover,s=n.onClick,t=o.enable,a=o.mode,u=s.enable,b=s.mode,l=n.onDiv;t&&O(v,a)?this._hoverBubble():u&&O(v,b)?this._clickBubble():L(v,l,(c,f)=>this._singleSelectorHover(i,c,f))}isEnabled(i){const e=this.container,n=e.actualOptions,o=e.interactivity.mouse,s=((i==null?void 0:i.interactivity)??n.interactivity).events,{onClick:t,onDiv:a,onHover:u}=s,b=W(v,a);return b||u.enable&&o.position||t.enable&&o.clickPosition?O(v,u.mode)||O(v,t.mode)||b:!1}loadModeOptions(i,...e){i.bubble||(i.bubble=new S);for(const n of e)i.bubble.load(n==null?void 0:n.bubble)}reset(i){i.bubble.inRange=!1}}export{$ as Bubbler}; diff --git a/dist/assets/CanvasUtils-DaiPNicA.js b/dist/assets/CanvasUtils-Drs4jJ1v.js similarity index 97% rename from dist/assets/CanvasUtils-DaiPNicA.js rename to dist/assets/CanvasUtils-Drs4jJ1v.js index 4cc6dd8..d6a279f 100644 --- a/dist/assets/CanvasUtils-DaiPNicA.js +++ b/dist/assets/CanvasUtils-Drs4jJ1v.js @@ -1 +1 @@ -import{n as P}from"./index-CYTvHIKC.js";const c={x:0,y:0};function W(r,t,a){r.beginPath(),r.moveTo(t.x,t.y),r.lineTo(a.x,a.y),r.closePath()}function T(r,t,a){r.fillStyle=a??"rgba(0,0,0,0)",r.fillRect(c.x,c.y,t.width,t.height)}function A(r,t,a,e){a&&(r.globalAlpha=e,r.drawImage(a,c.x,c.y,t.width,t.height),r.globalAlpha=1)}function O(r,t){r.clearRect(c.x,c.y,t.width,t.height)}function v(r){const{container:t,context:a,particle:e,delta:s,colorStyles:i,backgroundMask:n,composite:l,radius:o,opacity:u,shadow:f,transform:h}=r,m=e.getPosition(),x=0,y=e.rotation+(e.pathRotation?e.velocity.angle:x),p={sin:Math.sin(y),cos:Math.cos(y)},w=1,d={a:p.cos*(h.a??w),b:p.sin*(h.b??w),c:-p.sin*(h.c??w),d:p.cos*(h.d??w)};a.setTransform(d.a,d.b,d.c,d.d,m.x,m.y),n&&(a.globalCompositeOperation=l);const D=e.shadowColor;f.enable&&D&&(a.shadowBlur=f.blur,a.shadowColor=P(D),a.shadowOffsetX=f.offset.x,a.shadowOffsetY=f.offset.y),i.fill&&(a.fillStyle=i.fill);const k=0,b=e.strokeWidth??k;a.lineWidth=b,i.stroke&&(a.strokeStyle=i.stroke);const g={container:t,context:a,particle:e,radius:o,opacity:u,delta:s,transformData:d,strokeWidth:b};S(g),C(g),R(g),a.globalCompositeOperation="source-over",a.resetTransform()}function R(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,transformData:l}=r;if(!e.effect)return;const o=t.effectDrawers.get(e.effect);o&&o.draw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...l}})}function S(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,strokeWidth:l,transformData:o}=r,u=0;if(!e.shape)return;const f=t.shapeDrawers.get(e.shape);f&&(a.beginPath(),f.draw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...o}}),e.shapeClose&&a.closePath(),l>u&&a.stroke(),e.shapeFill&&a.fill())}function C(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,transformData:l}=r;if(!e.shape)return;const o=t.shapeDrawers.get(e.shape);o!=null&&o.afterDraw&&o.afterDraw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...l}})}function M(r,t,a){t.draw&&t.draw(r,a)}function B(r,t,a,e){t.drawParticle&&t.drawParticle(r,a,e)}function I(r,t,a){return{h:r.h,s:r.s,l:r.l+(t==="darken"?-1:1)*a}}export{A as a,B as b,O as c,v as d,M as e,I as f,W as g,T as p}; +import{n as P}from"./index-CJxpASZZ.js";const c={x:0,y:0};function W(r,t,a){r.beginPath(),r.moveTo(t.x,t.y),r.lineTo(a.x,a.y),r.closePath()}function T(r,t,a){r.fillStyle=a??"rgba(0,0,0,0)",r.fillRect(c.x,c.y,t.width,t.height)}function A(r,t,a,e){a&&(r.globalAlpha=e,r.drawImage(a,c.x,c.y,t.width,t.height),r.globalAlpha=1)}function O(r,t){r.clearRect(c.x,c.y,t.width,t.height)}function v(r){const{container:t,context:a,particle:e,delta:s,colorStyles:i,backgroundMask:n,composite:l,radius:o,opacity:u,shadow:f,transform:h}=r,m=e.getPosition(),x=0,y=e.rotation+(e.pathRotation?e.velocity.angle:x),p={sin:Math.sin(y),cos:Math.cos(y)},w=1,d={a:p.cos*(h.a??w),b:p.sin*(h.b??w),c:-p.sin*(h.c??w),d:p.cos*(h.d??w)};a.setTransform(d.a,d.b,d.c,d.d,m.x,m.y),n&&(a.globalCompositeOperation=l);const D=e.shadowColor;f.enable&&D&&(a.shadowBlur=f.blur,a.shadowColor=P(D),a.shadowOffsetX=f.offset.x,a.shadowOffsetY=f.offset.y),i.fill&&(a.fillStyle=i.fill);const k=0,b=e.strokeWidth??k;a.lineWidth=b,i.stroke&&(a.strokeStyle=i.stroke);const g={container:t,context:a,particle:e,radius:o,opacity:u,delta:s,transformData:d,strokeWidth:b};S(g),C(g),R(g),a.globalCompositeOperation="source-over",a.resetTransform()}function R(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,transformData:l}=r;if(!e.effect)return;const o=t.effectDrawers.get(e.effect);o&&o.draw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...l}})}function S(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,strokeWidth:l,transformData:o}=r,u=0;if(!e.shape)return;const f=t.shapeDrawers.get(e.shape);f&&(a.beginPath(),f.draw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...o}}),e.shapeClose&&a.closePath(),l>u&&a.stroke(),e.shapeFill&&a.fill())}function C(r){const{container:t,context:a,particle:e,radius:s,opacity:i,delta:n,transformData:l}=r;if(!e.shape)return;const o=t.shapeDrawers.get(e.shape);o!=null&&o.afterDraw&&o.afterDraw({context:a,particle:e,radius:s,opacity:i,delta:n,pixelRatio:t.retina.pixelRatio,transformData:{...l}})}function M(r,t,a){t.draw&&t.draw(r,a)}function B(r,t,a,e){t.drawParticle&&t.drawParticle(r,a,e)}function I(r,t,a){return{h:r.h,s:r.s,l:r.l+(t==="darken"?-1:1)*a}}export{A as a,B as b,O as c,v as d,M as e,I as f,W as g,T as p}; diff --git a/dist/assets/CircleDrawer-BmHdoPzR.js b/dist/assets/CircleDrawer-QxRsx_Ek.js similarity index 86% rename from dist/assets/CircleDrawer-BmHdoPzR.js rename to dist/assets/CircleDrawer-QxRsx_Ek.js index 3164888..e37dd1b 100644 --- a/dist/assets/CircleDrawer-BmHdoPzR.js +++ b/dist/assets/CircleDrawer-QxRsx_Ek.js @@ -1 +1 @@ -import{j as m,G as c}from"./index-CYTvHIKC.js";const o=2,s=Math.PI*o,g=0,t={x:0,y:0};function x(r){const{context:i,particle:e,radius:a}=r;e.circleRange||(e.circleRange={min:g,max:s});const n=e.circleRange;i.arc(t.x,t.y,a,n.min,n.max,!1)}const d=12,u=360,l=0;class f{draw(i){x(i)}getSidesCount(){return d}particleInit(i,e){const a=e.shapeData,n=(a==null?void 0:a.angle)??{max:u,min:l};e.circleRange=m(n)?{min:c(n.min),max:c(n.max)}:{min:l,max:c(n)}}}export{f as CircleDrawer}; +import{j as m,G as c}from"./index-CJxpASZZ.js";const o=2,s=Math.PI*o,g=0,t={x:0,y:0};function x(r){const{context:i,particle:e,radius:a}=r;e.circleRange||(e.circleRange={min:g,max:s});const n=e.circleRange;i.arc(t.x,t.y,a,n.min,n.max,!1)}const d=12,u=360,l=0;class f{draw(i){x(i)}getSidesCount(){return d}particleInit(i,e){const a=e.shapeData,n=(a==null?void 0:a.angle)??{max:u,min:l};e.circleRange=m(n)?{min:c(n.min),max:c(n.max)}:{min:l,max:c(n)}}}export{f as CircleDrawer}; diff --git a/dist/assets/Collider-Dshx8aOP.js b/dist/assets/Collider-C4jpcmye.js similarity index 96% rename from dist/assets/Collider-Dshx8aOP.js rename to dist/assets/Collider-C4jpcmye.js index dce14fb..f44e5f1 100644 --- a/dist/assets/Collider-Dshx8aOP.js +++ b/dist/assets/Collider-C4jpcmye.js @@ -1 +1 @@ -import{L as R,Z as m,$ as l,H as h,K as x}from"./index-CYTvHIKC.js";import{P}from"./ParticlesInteractorBase-vfDeBun3.js";const M=.5,v=10,S=0;function u(e,i,n,t,o,s){const d=R(e.options.collisions.absorb.speed*o.factor/v,S,t);e.size.value+=d*M,n.size.value-=d,t<=s&&(n.size.value=0,n.destroy())}function k(e,i,n,t){const o=e.getRadius(),s=i.getRadius();o===void 0&&s!==void 0?e.destroy():o!==void 0&&s===void 0?i.destroy():o!==void 0&&s!==void 0&&(o>=s?u(e,o,i,s,n,t):u(i,s,e,o,n,t))}const f=e=>{e.collisionMaxSpeed===void 0&&(e.collisionMaxSpeed=h(e.options.collisions.maxSpeed)),e.velocity.length>e.collisionMaxSpeed&&(e.velocity.length=e.collisionMaxSpeed)};function b(e,i){m(l(e),l(i)),f(e),f(i)}function z(e,i){!e.unbreakable&&!i.unbreakable&&b(e,i),e.getRadius()===void 0&&i.getRadius()!==void 0?e.destroy():e.getRadius()!==void 0&&i.getRadius()===void 0?i.destroy():e.getRadius()!==void 0&&i.getRadius()!==void 0&&(e.getRadius()>=i.getRadius()?i:e).destroy()}function B(e,i,n,t){switch(e.options.collisions.mode){case"absorb":{k(e,i,n,t);break}case"bounce":{b(e,i);break}case"destroy":{z(e,i);break}}}const q=2;class F extends P{constructor(i){super(i)}clear(){}init(){}interact(i,n){if(i.destroyed||i.spawning)return;const t=this.container,o=i.getPosition(),s=i.getRadius(),d=t.particles.quadTree.queryCircle(o,s*q);for(const a of d){if(i===a||!a.options.collisions.enable||i.options.collisions.mode!==a.options.collisions.mode||a.destroyed||a.spawning)continue;const r=a.getPosition(),c=a.getRadius();if(Math.abs(Math.round(o.z)-Math.round(r.z))>s+c)continue;const g=x(o,r),y=s+c;g>y||B(i,a,n,t.retina.pixelRatio)}}isEnabled(i){return i.options.collisions.enable}reset(){}}export{F as Collider}; +import{L as R,Z as m,$ as l,H as h,K as x}from"./index-CJxpASZZ.js";import{P}from"./ParticlesInteractorBase-vfDeBun3.js";const M=.5,v=10,S=0;function u(e,i,n,t,o,s){const d=R(e.options.collisions.absorb.speed*o.factor/v,S,t);e.size.value+=d*M,n.size.value-=d,t<=s&&(n.size.value=0,n.destroy())}function k(e,i,n,t){const o=e.getRadius(),s=i.getRadius();o===void 0&&s!==void 0?e.destroy():o!==void 0&&s===void 0?i.destroy():o!==void 0&&s!==void 0&&(o>=s?u(e,o,i,s,n,t):u(i,s,e,o,n,t))}const f=e=>{e.collisionMaxSpeed===void 0&&(e.collisionMaxSpeed=h(e.options.collisions.maxSpeed)),e.velocity.length>e.collisionMaxSpeed&&(e.velocity.length=e.collisionMaxSpeed)};function b(e,i){m(l(e),l(i)),f(e),f(i)}function z(e,i){!e.unbreakable&&!i.unbreakable&&b(e,i),e.getRadius()===void 0&&i.getRadius()!==void 0?e.destroy():e.getRadius()!==void 0&&i.getRadius()===void 0?i.destroy():e.getRadius()!==void 0&&i.getRadius()!==void 0&&(e.getRadius()>=i.getRadius()?i:e).destroy()}function B(e,i,n,t){switch(e.options.collisions.mode){case"absorb":{k(e,i,n,t);break}case"bounce":{b(e,i);break}case"destroy":{z(e,i);break}}}const q=2;class F extends P{constructor(i){super(i)}clear(){}init(){}interact(i,n){if(i.destroyed||i.spawning)return;const t=this.container,o=i.getPosition(),s=i.getRadius(),d=t.particles.quadTree.queryCircle(o,s*q);for(const a of d){if(i===a||!a.options.collisions.enable||i.options.collisions.mode!==a.options.collisions.mode||a.destroyed||a.spawning)continue;const r=a.getPosition(),c=a.getRadius();if(Math.abs(Math.round(o.z)-Math.round(r.z))>s+c)continue;const g=x(o,r),y=s+c;g>y||B(i,a,n,t.retina.pixelRatio)}}isEnabled(i){return i.options.collisions.enable}reset(){}}export{F as Collider}; diff --git a/dist/assets/ColorUpdater-DcmAjPUW.js b/dist/assets/ColorUpdater-CjM1uvvy.js similarity index 88% rename from dist/assets/ColorUpdater-DcmAjPUW.js rename to dist/assets/ColorUpdater-CjM1uvvy.js index 195fa19..f6677d1 100644 --- a/dist/assets/ColorUpdater-DcmAjPUW.js +++ b/dist/assets/ColorUpdater-CjM1uvvy.js @@ -1 +1 @@ -import{r as a,ac as t,ad as d}from"./index-CYTvHIKC.js";class u{constructor(n){this.container=n}init(n){const e=a(n.options.color,n.id,n.options.reduceDuplicates);e&&(n.color=t(e,n.options.color.animation,this.container.retina.reduceFactor))}isEnabled(n){const{h:e,s:i,l:s}=n.options.color.animation,{color:o}=n;return!n.destroyed&&!n.spawning&&((o==null?void 0:o.h.value)!==void 0&&e.enable||(o==null?void 0:o.s.value)!==void 0&&i.enable||(o==null?void 0:o.l.value)!==void 0&&s.enable)}update(n,e){d(n.color,e)}}export{u as ColorUpdater}; +import{r as a,ac as t,ad as d}from"./index-CJxpASZZ.js";class u{constructor(n){this.container=n}init(n){const e=a(n.options.color,n.id,n.options.reduceDuplicates);e&&(n.color=t(e,n.options.color.animation,this.container.retina.reduceFactor))}isEnabled(n){const{h:e,s:i,l:s}=n.options.color.animation,{color:o}=n;return!n.destroyed&&!n.spawning&&((o==null?void 0:o.h.value)!==void 0&&e.enable||(o==null?void 0:o.s.value)!==void 0&&i.enable||(o==null?void 0:o.l.value)!==void 0&&s.enable)}update(n,e){d(n.color,e)}}export{u as ColorUpdater}; diff --git a/dist/assets/Connector-Dhm4baxv.js b/dist/assets/Connector-WyxHWlsd.js similarity index 90% rename from dist/assets/Connector-Dhm4baxv.js rename to dist/assets/Connector-WyxHWlsd.js index 901b208..70efb9d 100644 --- a/dist/assets/Connector-Dhm4baxv.js +++ b/dist/assets/Connector-WyxHWlsd.js @@ -1 +1 @@ -import{Connect as x}from"./index-p2mq898M.js";import{g as C}from"./CanvasUtils-DaiPNicA.js";import{a5 as R,g as m,L as P,n as S,S as O}from"./index-CYTvHIKC.js";import{E as k}from"./ExternalInteractorBase-CIi3zRdK.js";const y=0,v=1,w=0;function D(i,t,n,o){const e=Math.floor(n.getRadius()/t.getRadius()),s=t.getFillColor(),a=n.getFillColor();if(!s||!a)return;const d=t.getPosition(),r=n.getPosition(),l=R(s,a,t.getRadius(),n.getRadius()),c=i.createLinearGradient(d.x,d.y,r.x,r.y);return c.addColorStop(y,m(s,o)),c.addColorStop(P(e,y,v),S(l,o)),c.addColorStop(v,m(a,o)),c}function E(i,t,n,o,e){C(i,o,e),i.lineWidth=t,i.strokeStyle=n,i.stroke()}function L(i,t,n,o){const e=i.actualOptions,s=e.interactivity.modes.connect;if(s)return D(t,n,o,s.links.opacity)}function F(i,t,n){i.canvas.draw(o=>{const e=L(i,o,t,n);if(!e)return;const s=t.getPosition(),a=n.getPosition();E(o,t.retina.linksWidth??w,e,s,a)})}const H="connect",M=0;class B extends k{constructor(t){super(t)}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.connect;n&&(t.retina.connectModeDistance=n.distance*t.retina.pixelRatio,t.retina.connectModeRadius=n.radius*t.retina.pixelRatio)}interact(){const t=this.container;if(t.actualOptions.interactivity.events.onHover.enable&&t.interactivity.status==="pointermove"){const o=t.interactivity.mouse.position,{connectModeDistance:e,connectModeRadius:s}=t.retina;if(!e||ethis.isEnabled(r));d.forEach((r,l)=>{const c=r.getPosition(),p=1;for(const u of d.slice(l+p)){const f=u.getPosition(),g=Math.abs(e),h=Math.abs(c.x-f.x),b=Math.abs(c.y-f.y);h{const e=L(i,o,t,n);if(!e)return;const s=t.getPosition(),a=n.getPosition();E(o,t.retina.linksWidth??w,e,s,a)})}const H="connect",M=0;class B extends k{constructor(t){super(t)}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.connect;n&&(t.retina.connectModeDistance=n.distance*t.retina.pixelRatio,t.retina.connectModeRadius=n.radius*t.retina.pixelRatio)}interact(){const t=this.container;if(t.actualOptions.interactivity.events.onHover.enable&&t.interactivity.status==="pointermove"){const o=t.interactivity.mouse.position,{connectModeDistance:e,connectModeRadius:s}=t.retina;if(!e||ethis.isEnabled(r));d.forEach((r,l)=>{const c=r.getPosition(),p=1;for(const u of d.slice(l+p)){const f=u.getPosition(),g=Math.abs(e),h=Math.abs(c.x-f.x),b=Math.abs(c.y-f.y);h{const s=new fe;return s.load(i),s})),this.onHover.load(e.onHover),this.resize.load(e.resize)}}class zt{constructor(e,t){this._engine=e,this._container=t}load(e){if(!e||!this._container)return;const t=this._engine.interactors.get(this._container);if(t)for(const i of t)i.loadModeOptions&&i.loadModeOptions(this,e)}}class Me{constructor(e,t){this.detectsOn="window",this.events=new wt,this.modes=new zt(e,t)}load(e){if(!e)return;const t=e.detectsOn;t!==void 0&&(this.detectsOn=t),this.events.load(e.events),this.modes.load(e.modes)}}const de=50;class xt{load(e){e&&(e.position&&(this.position={x:e.position.x??de,y:e.position.y??de,mode:e.position.mode??"percent"}),e.options&&(this.options=w({},e.options)))}}class Ot{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(e){e&&(e.maxWidth!==void 0&&(this.maxWidth=e.maxWidth),e.mode!==void 0&&(e.mode==="screen"?this.mode="screen":this.mode="canvas"),e.options!==void 0&&(this.options=w({},e.options)))}}class Ct{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(e){e&&(e.auto!==void 0&&(this.auto=e.auto),e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Pt{constructor(){this.name="",this.default=new Ct}load(e){e&&(e.name!==void 0&&(this.name=e.name),this.default.load(e.default),e.options!==void 0&&(this.options=w({},e.options)))}}class kt{constructor(){this.speed=2}load(e){e&&e.speed!==void 0&&(this.speed=e.speed)}}class Rt{constructor(){this.enable=!0,this.retries=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.retries!==void 0&&(this.retries=e.retries))}}class pe extends Z{constructor(){super(),this.value=1}}class Ee{constructor(){this.horizontal=new pe,this.vertical=new pe}load(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class St{constructor(){this.absorb=new kt,this.bounce=new Ee,this.enable=!1,this.maxSpeed=50,this.mode="bounce",this.overlap=new Rt}load(e){e&&(this.absorb.load(e.absorb),this.bounce.load(e.bounce),e.enable!==void 0&&(this.enable=e.enable),e.maxSpeed!==void 0&&(this.maxSpeed=b(e.maxSpeed)),e.mode!==void 0&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class Tt{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(e){if(!e)return;const t=e.options;if(t!==void 0)for(const i in t){const s=t[i];s&&(this.options[i]=w(this.options[i]??{},s))}e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class Mt{constructor(){this.offset=0,this.value=90}load(e){e&&(e.offset!==void 0&&(this.offset=b(e.offset)),e.value!==void 0&&(this.value=b(e.value)))}}class Et{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(e){if(e&&(e.distance!==void 0&&(this.distance=b(e.distance)),e.enable!==void 0&&(this.enable=e.enable),e.rotate)){const t=e.rotate.x;t!==void 0&&(this.rotate.x=t);const i=e.rotate.y;i!==void 0&&(this.rotate.y=i)}}}class It{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(e){e&&(e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.mode!==void 0&&(this.mode=e.mode),e.radius!==void 0&&(this.radius=e.radius))}}class Dt{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=b(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.inverse!==void 0&&(this.inverse=e.inverse),e.maxSpeed!==void 0&&(this.maxSpeed=b(e.maxSpeed)))}}class Lt{constructor(){this.clamp=!0,this.delay=new Z,this.enable=!1,this.options={}}load(e){e&&(e.clamp!==void 0&&(this.clamp=e.clamp),this.delay.load(e.delay),e.enable!==void 0&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=w(this.options,e.options)))}}class Ft{load(e){e&&(e.color!==void 0&&(this.color=R.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image))}}class At{constructor(){this.enable=!1,this.length=10,this.fill=new Ft}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.fill!==void 0&&this.fill.load(e.fill),e.length!==void 0&&(this.length=e.length))}}class Vt{constructor(){this.default="out"}load(e){e&&(e.default!==void 0&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}class Bt{constructor(){this.acceleration=0,this.enable=!1}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=b(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.position&&(this.position=w({},e.position)))}}class Ht{constructor(){this.angle=new Mt,this.attract=new Et,this.center=new It,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new Dt,this.path=new Lt,this.outModes=new Vt,this.random=!1,this.size=!1,this.speed=2,this.spin=new Bt,this.straight=!1,this.trail=new At,this.vibrate=!1,this.warp=!1}load(e){if(!e)return;this.angle.load(ie(e.angle)?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),e.decay!==void 0&&(this.decay=b(e.decay)),e.direction!==void 0&&(this.direction=e.direction),e.distance!==void 0&&(this.distance=ie(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),e.drift!==void 0&&(this.drift=b(e.drift)),e.enable!==void 0&&(this.enable=e.enable),this.gravity.load(e.gravity);const t=e.outModes;t!==void 0&&(Fe(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path),e.random!==void 0&&(this.random=e.random),e.size!==void 0&&(this.size=e.size),e.speed!==void 0&&(this.speed=b(e.speed)),this.spin.load(e.spin),e.straight!==void 0&&(this.straight=e.straight),this.trail.load(e.trail),e.vibrate!==void 0&&(this.vibrate=e.vibrate),e.warp!==void 0&&(this.warp=e.warp)}}class Ut extends Se{constructor(){super(),this.destroy="none",this.speed=2}load(e){super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class Wt extends Te{constructor(){super(),this.animation=new Ut,this.value=1}load(e){if(!e)return;super.load(e);const t=e.animation;t!==void 0&&this.animation.load(t)}}class qt{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(e){if(!e)return;e.enable!==void 0&&(this.enable=e.enable);const t=e.width;t!==void 0&&(this.width=t);const i=e.height;i!==void 0&&(this.height=i)}}class Gt{constructor(){this.mode="delete",this.value=0}load(e){e&&(e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Xt{constructor(){this.density=new qt,this.limit=new Gt,this.value=0}load(e){e&&(this.density.load(e.density),this.limit.load(e.limit),e.value!==void 0&&(this.value=e.value))}}class Yt{constructor(){this.blur=0,this.color=new R,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=R.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(e.offset.x!==void 0&&(this.offset.x=e.offset.x),e.offset.y!==void 0&&(this.offset.y=e.offset.y)))}}class Nt{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(e){if(!e)return;const t=e.options;if(t!==void 0)for(const i in t){const s=t[i];s&&(this.options[i]=w(this.options[i]??{},s))}e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class $t extends Se{constructor(){super(),this.destroy="none",this.speed=5}load(e){super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class Zt extends Te{constructor(){super(),this.animation=new $t,this.value=3}load(e){if(super.load(e),!e)return;const t=e.animation;t!==void 0&&this.animation.load(t)}}class me{constructor(){this.width=0}load(e){e&&(e.color!==void 0&&(this.color=F.create(this.color,e.color)),e.width!==void 0&&(this.width=b(e.width)),e.opacity!==void 0&&(this.opacity=b(e.opacity)))}}class jt extends Z{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),e&&(e.opacityRate!==void 0&&(this.opacityRate=e.opacityRate),e.sizeRate!==void 0&&(this.sizeRate=e.sizeRate),e.velocityRate!==void 0&&(this.velocityRate=e.velocityRate))}}class Qt{constructor(e,t){this._engine=e,this._container=t,this.bounce=new Ee,this.collisions=new St,this.color=new F,this.color.value="#fff",this.effect=new Tt,this.groups={},this.move=new Ht,this.number=new Xt,this.opacity=new Wt,this.reduceDuplicates=!1,this.shadow=new Yt,this.shape=new Nt,this.size=new Zt,this.stroke=new me,this.zIndex=new jt}load(e){if(!e)return;if(e.groups!==void 0)for(const i of Object.keys(e.groups)){if(!Object.hasOwn(e.groups,i))continue;const s=e.groups[i];s!==void 0&&(this.groups[i]=w(this.groups[i]??{},s))}e.reduceDuplicates!==void 0&&(this.reduceDuplicates=e.reduceDuplicates),this.bounce.load(e.bounce),this.color.load(F.create(this.color,e.color)),this.effect.load(e.effect),this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex),this.collisions.load(e.collisions),e.interactivity!==void 0&&(this.interactivity=w({},e.interactivity));const t=e.stroke;if(t&&(this.stroke=W(t,i=>{const s=new me;return s.load(i),s})),this._container){const i=this._engine.updaters.get(this._container);if(i)for(const n of i)n.loadOptions&&n.loadOptions(this,e);const s=this._engine.interactors.get(this._container);if(s)for(const n of s)n.loadParticlesOptions&&n.loadParticlesOptions(this,e)}}}function Ie(l,...e){for(const t of e)l.load(t)}function De(l,e,...t){const i=new Qt(l,e);return Ie(i,...t),i}class Jt{constructor(e,t){this._findDefaultTheme=i=>this.themes.find(s=>s.default.value&&s.default.mode===i)??this.themes.find(s=>s.default.value&&s.default.mode==="any"),this._importPreset=i=>{this.load(this._engine.getPreset(i))},this._engine=e,this._container=t,this.autoPlay=!0,this.background=new dt,this.backgroundMask=new mt,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new gt,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new Me(e,t),this.manualParticles=[],this.particles=De(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(e){var r,o;if(!e)return;e.preset!==void 0&&W(e.preset,h=>this._importPreset(h)),e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.clear!==void 0&&(this.clear=e.clear),e.key!==void 0&&(this.key=e.key),e.name!==void 0&&(this.name=e.name),e.delay!==void 0&&(this.delay=b(e.delay));const t=e.detectRetina;t!==void 0&&(this.detectRetina=t),e.duration!==void 0&&(this.duration=b(e.duration));const i=e.fpsLimit;i!==void 0&&(this.fpsLimit=i),e.pauseOnBlur!==void 0&&(this.pauseOnBlur=e.pauseOnBlur),e.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),e.zLayers!==void 0&&(this.zLayers=e.zLayers),this.background.load(e.background);const s=e.fullScreen;Ce(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),e.manualParticles&&(this.manualParticles=e.manualParticles.map(h=>{const a=new xt;return a.load(h),a})),this.particles.load(e.particles),this.style=w(this.style,e.style),this._engine.loadOptions(this,e),e.smooth!==void 0&&(this.smooth=e.smooth);const n=this._engine.interactors.get(this._container);if(n)for(const h of n)h.loadOptions&&h.loadOptions(this,e);if(e.responsive!==void 0)for(const h of e.responsive){const a=new Ot;a.load(h),this.responsive.push(a)}if(this.responsive.sort((h,a)=>h.maxWidth-a.maxWidth),e.themes!==void 0)for(const h of e.themes){const a=this.themes.find(c=>c.name===h.name);if(a)a.load(h);else{const c=new Pt;c.load(h),this.themes.push(c)}}this.defaultThemes.dark=(r=this._findDefaultTheme("dark"))==null?void 0:r.name,this.defaultThemes.light=(o=this._findDefaultTheme("light"))==null?void 0:o.name}setResponsive(e,t,i){this.load(i);const s=this.responsive.find(n=>n.mode==="screen"&&screen?n.maxWidth>screen.availWidth:n.maxWidth*t>e);return this.load(s==null?void 0:s.options),s==null?void 0:s.maxWidth}setTheme(e){if(e){const t=this.themes.find(i=>i.name===e);t&&this.load(t.options)}else{const t=Pe("(prefers-color-scheme: dark)"),i=t&&t.matches,s=this._findDefaultTheme(i?"dark":"light");s&&this.load(s.options)}}}function Kt(l,e,t){const i=e[t],s=1;i!==void 0&&(l[t]=(l[t]??s)*i)}function ge(l,e,t=!1){if(!e)return;const i=l;if(!i)return;const s=i.style;if(s)for(const n in e){const r=e[n];r&&s.setProperty(n,r,t?"important":"")}}class ei{constructor(e){this.container=e,this._applyPostDrawUpdaters=t=>{var i;for(const s of this._postDrawUpdaters)(i=s.afterDraw)==null||i.call(s,t)},this._applyPreDrawUpdaters=(t,i,s,n,r,o)=>{var h;for(const a of this._preDrawUpdaters){if(a.getColorStyles){const{fill:c,stroke:u}=a.getColorStyles(i,t,s,n);c&&(r.fill=c),u&&(r.stroke=u)}if(a.getTransformValues){const c=a.getTransformValues(i);for(const u in c)Kt(o,c,u)}(h=a.beforeDraw)==null||h.call(a,i)}},this._applyResizePlugins=()=>{var t;for(const i of this._resizePlugins)(t=i.resize)==null||t.call(i)},this._getPluginParticleColors=t=>{let i,s;for(const n of this._colorPlugins)if(!i&&n.particleFillColor&&(i=se(n.particleFillColor(t))),!s&&n.particleStrokeColor&&(s=se(n.particleStrokeColor(t))),i&&s)break;return[i,s]},this._initCover=async()=>{const t=this.container.actualOptions,i=t.backgroundMask.cover,s=i.color;if(s){const n=V(s);if(n){const r={...n,a:i.opacity};this._coverColorStyle=q(r,r.a)}}else await new Promise((n,r)=>{if(!i.image)return;const o=document.createElement("img");o.addEventListener("load",()=>{this._coverImage={image:o,opacity:i.opacity},n()}),o.addEventListener("error",h=>{r(h.error)}),o.src=i.image})},this._initStyle=()=>{const t=this.element,i=this.container.actualOptions;if(t){this._fullScreen?(this._originalStyle=w({},t.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const s in i.style){if(!s||!i.style)continue;const n=i.style[s];n&&t.style.setProperty(s,n,"important")}}},this._initTrail=async()=>{const t=this.container.actualOptions,i=t.particles.move.trail,s=i.fill;if(!i.enable)return;const n=1,r=n/i.length;if(s.color){const o=V(s.color);if(!o)return;this._trailFill={color:{...o},opacity:r}}else await new Promise((o,h)=>{if(!s.image)return;const a=document.createElement("img");a.addEventListener("load",()=>{this._trailFill={image:a,opacity:r},o()}),a.addEventListener("error",c=>{h(c.error)}),a.src=s.image})},this._paintBase=t=>{this.draw(i=>st(i,this.size,t))},this._paintImage=(t,i)=>{this.draw(s=>nt(s,this.size,t,i))},this._repairStyle=()=>{const t=this.element;t&&(this._safeMutationObserver(i=>i.disconnect()),this._initStyle(),this.initBackground(),this._safeMutationObserver(i=>i.observe(t,{attributes:!0})))},this._resetOriginalStyle=()=>{const t=this.element,i=this._originalStyle;t&&i&&ge(t,i)},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{const t=this.element;if(!t)return;ge(t,{position:"fixed",zIndex:this.container.actualOptions.fullScreen.zIndex.toString(10),top:"0",left:"0",width:"100%",height:"100%"},!0)},this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const e=this.container.actualOptions,t=e.particles.move.trail,i=this._trailFill;e.backgroundMask.enable?this.paint():t.enable&&t.length>0&&i?i.color?this._paintBase(q(i.color,i.opacity)):i.image&&this._paintImage(i.image,i.opacity):e.clear&&this.draw(n=>{G(n,this.size)})}destroy(){if(this.stop(),this._generated){const e=this.element;e==null||e.remove()}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){const t=this._context;if(t)return e(t)}drawAsync(e){const t=this._context;if(t)return e(t)}drawParticle(e,t){if(e.spawning||e.destroyed)return;const i=e.getRadius();if(i<=0)return;const n=e.getFillColor(),r=e.getStrokeColor()??n;let[o,h]=this._getPluginParticleColors(e);o||(o=n),h||(h=r),!(!o&&!h)&&this.draw(a=>{var I;const c=this.container,u=c.actualOptions,f=e.options.zIndex,m=1,d=m-e.zIndexFactor,p=d**f.opacityRate,y=1,C=e.bubble.opacity??((I=e.opacity)==null?void 0:I.value)??y,P=e.strokeOpacity??C,M=C*p,E=P*p,v={},g={fill:o?ne(o,M):void 0};g.stroke=h?ne(h,E):g.fill,this._applyPreDrawUpdaters(a,e,i,M,g,v),ot({container:c,context:a,particle:e,delta:t,colorStyles:g,backgroundMask:u.backgroundMask.enable,composite:u.backgroundMask.composite,radius:i*d**f.sizeRate,opacity:M,shadow:e.options.shadow,transform:v}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,t,i){this.draw(s=>rt(s,e,t,i))}drawPlugin(e,t){this.draw(i=>ht(i,e,t))}async init(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=Ae(e=>{for(const t of e)t.type==="attributes"&&t.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(e){B().error(e)}this.initBackground(),this._safeMutationObserver(e=>{this.element&&e.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions,t=e.background,i=this.element;if(!i)return;const s=i.style;if(s){if(t.color){const n=V(t.color);s.backgroundColor=n?q(n,t.opacity):""}else s.backgroundColor="";s.backgroundImage=t.image||"",s.backgroundPosition=t.position||"",s.backgroundRepeat=t.repeat||"",s.backgroundSize=t.size||""}}initPlugins(){this._resizePlugins=[];for(const[,e]of this.container.plugins)e.resize&&this._resizePlugins.push(e),(e.particleFillColor??e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters)e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles??e.getTransformValues??e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){this._generated&&this.element&&this.element.remove(),this._generated=e.dataset&&oe in e.dataset?e.dataset[oe]==="true":this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=w({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),this._safeMutationObserver(t=>{this.element&&t.observe(this.element,{attributes:!0})}),this.container.retina.init(),this.initBackground()}paint(){const e=this.container.actualOptions;this.draw(t=>{e.backgroundMask.enable&&e.backgroundMask.cover?(G(t,this.size),this._coverImage?this._paintImage(this._coverImage.image,this._coverImage.opacity):this._coverColorStyle?this._paintBase(this._coverColorStyle):this._paintBase()):this._paintBase()})}resize(){if(!this.element)return!1;const e=this.container,t=e.retina.pixelRatio,i=e.canvas.size,s={width:this.element.offsetWidth*t,height:this.element.offsetHeight*t};if(s.height===i.height&&s.width===i.width&&s.height===this.element.height&&s.width===this.element.width)return!1;const n={...i};return this.element.width=i.width=this.element.offsetWidth*t,this.element.height=i.height=this.element.offsetHeight*t,this.container.started&&e.particles.setResizeFactor({width:i.width/n.width,height:i.height/n.height}),!0}stop(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=void 0,this.draw(e=>G(e,this.size))}async windowResize(){if(!this.element||!this.resize())return;const e=this.container,t=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),t&&await e.refresh()}}const _e=2;function O(l,e,t,i,s){if(i){let n={passive:!0};Ce(s)?n.capture=s:s!==void 0&&(n=s),l.addEventListener(e,t,n)}else{const n=s;l.removeEventListener(e,t,n)}}class ti{constructor(e){this.container=e,this._doMouseTouchClick=t=>{const i=this.container,s=i.actualOptions;if(this._canPush){const n=i.interactivity.mouse,r=n.position;if(!r)return;n.clickPosition={...r},n.clickTime=new Date().getTime();const o=s.interactivity.events.onClick;W(o.mode,h=>this.container.handleClickMode(h))}t.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),500)},this._handleThemeChange=t=>{const i=t,s=this.container,n=s.options,r=n.defaultThemes,o=i.matches?r.dark:r.light,h=n.themes.find(a=>a.name===o);h&&h.default.auto&&s.loadTheme(o)},this._handleVisibilityChange=()=>{const t=this.container,i=t.actualOptions;this._mouseTouchFinish(),i.pauseOnBlur&&(document&&document.hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))},this._handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const t=async()=>{const i=this.container.canvas;await(i==null?void 0:i.windowResize())};this._resizeTimeout=setTimeout(()=>void t(),this.container.actualOptions.interactivity.events.resize.delay*k)},this._manageInteractivityListeners=(t,i)=>{const s=this._handlers,n=this.container,r=n.actualOptions,o=n.interactivity.element;if(!o)return;const h=o,a=n.canvas.element;a&&(a.style.pointerEvents=h===a?"initial":"none"),(r.interactivity.events.onHover.enable||r.interactivity.events.onClick.enable)&&(O(o,re,s.mouseMove,i),O(o,Ve,s.touchStart,i),O(o,Be,s.touchMove,i),r.interactivity.events.onClick.enable?(O(o,he,s.touchEndClick,i),O(o,He,s.mouseUp,i),O(o,Ue,s.mouseDown,i)):O(o,he,s.touchEnd,i),O(o,t,s.mouseLeave,i),O(o,We,s.touchCancel,i))},this._manageListeners=t=>{const i=this._handlers,s=this.container,n=s.actualOptions,r=n.interactivity.detectsOn,o=s.canvas.element;let h=ae;r==="window"?(s.interactivity.element=window,h=Xe):r==="parent"&&o?s.interactivity.element=o.parentElement??o.parentNode:s.interactivity.element=o,this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(h,t),document&&O(document,qe,i.visibilityChange,t,!1)},this._manageMediaMatch=t=>{const i=this._handlers,s=Pe("(prefers-color-scheme: dark)");if(s){if(s.addEventListener!==void 0){O(s,"change",i.themeChange,t);return}s.addListener!==void 0&&(t?s.addListener(i.oldThemeChange):s.removeListener(i.oldThemeChange))}},this._manageResize=t=>{const i=this._handlers,s=this.container;if(!s.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){O(window,Ge,i.resize,t);return}const r=s.canvas.element;this._resizeObserver&&!t?(r&&this._resizeObserver.unobserve(r),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&r&&(this._resizeObserver=new ResizeObserver(o=>{o.find(a=>a.target===r)&&this._handleWindowResize()}),this._resizeObserver.observe(r))},this._mouseDown=()=>{const{interactivity:t}=this.container;if(!t)return;const{mouse:i}=t;i.clicking=!0,i.downPosition=i.position},this._mouseTouchClick=t=>{const i=this.container,s=i.actualOptions,{mouse:n}=i.interactivity;n.inside=!0;let r=!1;const o=n.position;if(!(!o||!s.interactivity.events.onClick.enable)){for(const[,h]of i.plugins)if(h.clickPositionValid&&(r=h.clickPositionValid(o),r))break;r||this._doMouseTouchClick(t),n.clicking=!1}},this._mouseTouchFinish=()=>{const t=this.container.interactivity;if(!t)return;const i=t.mouse;delete i.position,delete i.clickPosition,delete i.downPosition,t.status=ae,i.inside=!1,i.clicking=!1},this._mouseTouchMove=t=>{const i=this.container,s=i.actualOptions,n=i.interactivity,r=i.canvas.element;if(!(n!=null&&n.element))return;n.mouse.inside=!0;let o;if(t.type.startsWith("pointer")){this._canPush=!0;const a=t;if(n.element===window){if(r){const c=r.getBoundingClientRect();o={x:a.clientX-c.left,y:a.clientY-c.top}}}else if(s.interactivity.detectsOn==="parent"){const c=a.target,u=a.currentTarget;if(c&&u&&r){const f=c.getBoundingClientRect(),m=u.getBoundingClientRect(),d=r.getBoundingClientRect();o={x:a.offsetX+_e*f.left-(m.left+d.left),y:a.offsetY+_e*f.top-(m.top+d.top)}}else o={x:a.offsetX??a.clientX,y:a.offsetY??a.clientY}}else a.target===r&&(o={x:a.offsetX??a.clientX,y:a.offsetY??a.clientY})}else if(this._canPush=t.type!=="touchmove",r){const a=t,c=1,u=a.touches[a.touches.length-c],f=r.getBoundingClientRect(),m=0;o={x:u.clientX-(f.left??m),y:u.clientY-(f.top??m)}}const h=i.retina.pixelRatio;o&&(o.x*=h,o.y*=h),n.mouse.position=o,n.status=re},this._touchEnd=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.delete(n.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.delete(n.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.set(n.identifier,performance.now());this._mouseTouchMove(t)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:t=>this._mouseTouchMove(t),mouseUp:t=>this._mouseTouchClick(t),touchStart:t=>this._touchStart(t),touchMove:t=>this._mouseTouchMove(t),touchEnd:t=>this._touchEnd(t),touchCancel:t=>this._touchEnd(t),touchEndClick:t=>this._touchEndClick(t),visibilityChange:()=>this._handleVisibilityChange(),themeChange:t=>this._handleThemeChange(t),oldThemeChange:t=>this._handleThemeChange(t),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}class ii{constructor(e,t){this.container=t,this._engine=e,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(e){for(const t of this._externalInteractors)t.isEnabled()&&t.interact(e)}handleClickMode(e){var t;for(const i of this._externalInteractors)(t=i.handleClickMode)==null||t.call(i,e)}async init(){this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[];for(const e of this._interactors){switch(e.type){case"external":this._externalInteractors.push(e);break;case"particles":this._particleInteractors.push(e);break}e.init()}}particlesInteract(e,t){for(const i of this._externalInteractors)i.clear(e,t);for(const i of this._particleInteractors)i.isEnabled(e)&&i.interact(e,t)}reset(e){for(const t of this._externalInteractors)t.isEnabled()&&t.reset(e);for(const t of this._particleInteractors)t.isEnabled(e)&&t.reset(e)}}const ye=0,$=2,A=.5,si=2;function ni(l,e,t,i){const s=e.options[l];if(s)return w({close:e.close,fill:e.fill},T(s,t,i))}function oi(l,e,t,i){const s=e.options[l];if(s)return w({close:e.close,fill:e.fill},T(s,t,i))}function ve(l){if(!et(l.outMode,l.checkModes))return;const e=l.radius*$;l.coord>l.maxCoord-e?l.setCb(-l.radius):l.coord{for(const[,d]of i.plugins){const p=d.particlePosition!==void 0?d.particlePosition(s,this):void 0;if(p)return le.create(p.x,p.y,n)}const o=i.canvas.size,h=Ye({size:o,position:s}),a=le.create(h.x,h.y,n),c=this.getRadius(),u=this.options.move.outModes,f=d=>{ve({outMode:d,checkModes:["bounce"],coord:a.x,maxCoord:i.canvas.size.width,setCb:p=>a.x+=p,radius:c})},m=d=>{ve({outMode:d,checkModes:["bounce"],coord:a.y,maxCoord:i.canvas.size.height,setCb:p=>a.y+=p,radius:c})};return f(u.left??u.default),f(u.right??u.default),m(u.top??u.default),m(u.bottom??u.default),this._checkOverlap(a,r)?this._calcPosition(i,void 0,n,r+1):a},this._calculateVelocity=()=>{const i=Ne(this.direction),s=i.copy(),n=this.options.move;if(n.direction==="inside"||n.direction==="outside")return s;const r=ce(x(n.angle.value)),o=ce(x(n.angle.offset)),h={left:o-r*A,right:o+r*A};return n.straight||(s.angle+=$e(b(h.left,h.right))),n.random&&typeof n.speed=="number"&&(s.length*=Ze()),s},this._checkOverlap=(i,s=ye)=>{const n=this.options.collisions,r=this.getRadius();if(!n.enable)return!1;const o=n.overlap;if(o.enable)return!1;const h=o.retries;if(h>=0&&s>h)throw new Error(`${H} particle is overlapping and can't be placed`);return!!this.container.particles.find(c=>ke(i,c.position){if(!i||!this.roll||!this.backColor&&!this.roll.alter)return i;const s=1,n=0,r=this.roll.horizontal&&this.roll.vertical?$*s:s,o=this.roll.horizontal?Math.PI*A:n;return Math.floor(((this.roll.angle??n)+o)/(Math.PI/r))%$?this.backColor?this.backColor:this.roll.alter?at(i,this.roll.alter.type,this.roll.alter.value):i:i},this._initPosition=i=>{const s=this.container,n=x(this.options.zIndex.value),r=0;this.position=this._calcPosition(s,i,je(n,r,s.zLayers)),this.initialPosition=this.position.copy();const o=s.canvas.size,h=0;switch(this.moveCenter={...Re(this.options.move.center,o),radius:this.options.move.center.radius??h,mode:this.options.move.center.mode??"percent"},this.direction=Qe(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside";break}this.offset=Je.origin},this._engine=e}destroy(e){var n,r,o;if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const t=this.container,i=this.pathGenerator,s=t.shapeDrawers.get(this.shape);(n=s==null?void 0:s.particleDestroy)==null||n.call(s,this);for(const[,h]of t.plugins)(r=h.particleDestroyed)==null||r.call(h,this,e);for(const h of t.particles.updaters)(o=h.particleDestroyed)==null||o.call(h,this,e);i==null||i.reset(this),this._engine.dispatchEvent("particleDestroyed",{container:this.container,data:{particle:this}})}draw(e){const t=this.container,i=t.canvas;for(const[,s]of t.plugins)i.drawParticlePlugin(s,this,e);i.drawParticle(this,e)}getFillColor(){return this._getRollColor(this.bubble.color??ue(this.color))}getMass(){return this.getRadius()**si*Math.PI*A}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??ue(this.strokeColor))}init(e,t,i,s){var j,Q,J,K,ee,te;const n=this.container,r=this._engine;this.id=e,this.group=s,this.effectClose=!0,this.effectFill=!0,this.shapeClose=!0,this.shapeFill=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;const o=n.retina.pixelRatio,h=n.actualOptions,a=De(this._engine,n,h.particles),c=a.effect.type,u=a.shape.type,{reduceDuplicates:f}=a;this.effect=T(c,this.id,f),this.shape=T(u,this.id,f);const m=a.effect,d=a.shape;if(i){if((j=i.effect)!=null&&j.type){const z=i.effect.type,D=T(z,this.id,f);D&&(this.effect=D,m.load(i.effect))}if((Q=i.shape)!=null&&Q.type){const z=i.shape.type,D=T(z,this.id,f);D&&(this.shape=D,d.load(i.shape))}}this.effectData=ni(this.effect,m,this.id,f),this.shapeData=oi(this.shape,d,this.id,f),a.load(i);const p=this.effectData;p&&a.load(p.particles);const y=this.shapeData;y&&a.load(y.particles);const C=new Me(r,n);C.load(n.actualOptions.interactivity),C.load(a.interactivity),this.interactivity=C,this.effectFill=(p==null?void 0:p.fill)??a.effect.fill,this.effectClose=(p==null?void 0:p.close)??a.effect.close,this.shapeFill=(y==null?void 0:y.fill)??a.shape.fill,this.shapeClose=(y==null?void 0:y.close)??a.shape.close,this.options=a;const P=this.options.move.path;this.pathDelay=x(P.delay.value)*k,P.generator&&(this.pathGenerator=this._engine.getPathGenerator(P.generator),this.pathGenerator&&n.addPath(P.generator,this.pathGenerator)&&this.pathGenerator.init(n)),n.retina.initParticle(this),this.size=Ke(this.options.size,o),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(t),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy();const M=1;this.moveDecay=M-x(this.options.move.decay);const E=n.particles;E.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/n.zLayers,this.sides=24;let v=n.effectDrawers.get(this.effect);v||(v=this._engine.getEffectDrawer(this.effect),v&&n.effectDrawers.set(this.effect,v)),v!=null&&v.loadEffect&&v.loadEffect(this);let g=n.shapeDrawers.get(this.shape);g||(g=this._engine.getShapeDrawer(this.shape),g&&n.shapeDrawers.set(this.shape,g)),g!=null&&g.loadShape&&g.loadShape(this);const I=g==null?void 0:g.getSidesCount;I&&(this.sides=I(this)),this.spawning=!1,this.shadowColor=V(this.options.shadow.color);for(const z of E.updaters)z.init(this);for(const z of E.movers)(J=z.init)==null||J.call(z,this);(K=v==null?void 0:v.particleInit)==null||K.call(v,n,this),(ee=g==null?void 0:g.particleInit)==null||ee.call(g,n,this);for(const[,z]of n.plugins)(te=z.particleCreated)==null||te.call(z,this)}isInsideCanvas(){const e=this.getRadius(),t=this.container.canvas.size,i=this.position;return i.x>=-e&&i.y>=-e&&i.y<=t.height+e&&i.x<=t.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){var e;for(const t of this.container.particles.updaters)(e=t.reset)==null||e.call(t,this)}}const L=.5,hi=2,ai=4;class U{constructor(e,t){this.rectangle=e,this.capacity=t,this._subdivide=()=>{const{x:i,y:s}=this.rectangle.position,{width:n,height:r}=this.rectangle.size,{capacity:o}=this;for(let h=0;ht.insert(e))):!1}query(e,t){const i=[];if(!e.intersects(this.rectangle))return[];for(const s of this._points)!e.contains(s.position)&&ke(e.position,s.position)>s.particle.getRadius()&&(!t||t(s.particle))||i.push(s.particle);if(this._divided)for(const s of this._subs)i.push(...s.query(e,t));return i}queryCircle(e,t,i){return this.query(new ct(e.x,e.y,t),i)}queryRectangle(e,t,i){return this.query(new N(e.x,e.y,t.width,t.height),i)}}const be=4,li=2,ci=1,we=l=>{const{height:e,width:t}=l,i=-.25,s=1.5;return new N(i*t,i*e,s*t,s*e)};class ui{constructor(e,t){this._addToPool=(...s)=>{for(const n of s)this._pool.push(n)},this._applyDensity=(s,n,r)=>{var d;const o=s.number;if(!((d=s.number.density)!=null&&d.enable)){r===void 0?this._limit=o.limit.value:o.limit&&this._groupLimits.set(r,o.limit.value);return}const h=this._initDensityFactor(o.density),a=o.value,c=0,u=o.limit.value>c?o.limit.value:a,f=Math.min(a,u)*h+n,m=Math.min(this.count,this.filter(p=>p.group===r).length);r===void 0?this._limit=o.limit.value*h:this._groupLimits.set(r,o.limit.value*h),mf&&this.removeQuantity(m-f,r)},this._initDensityFactor=s=>{const n=this._container,r=1;if(!n.canvas.element||!s.enable)return r;const o=n.canvas.element,h=n.retina.pixelRatio;return o.width*o.height/(s.height*s.width*h**li)},this._pushParticle=(s,n,r,o)=>{try{let h=this._pool.pop();h||(h=new ri(this._engine,this._container)),h.init(this._nextId,s,n,r);let a=!0;return o&&(a=o(h)),a?(this._array.push(h),this._zArray.push(h),this._nextId++,this._engine.dispatchEvent("particleAdded",{container:this._container,data:{particle:h}}),h):void 0}catch(h){B().warning(`${H} adding particle: ${h}`)}},this._removeParticle=(s,n,r)=>{const o=this._array[s];if(!o||o.group!==n)return!1;const h=this._zArray.indexOf(o),a=1;return this._array.splice(s,a),this._zArray.splice(h,a),o.destroy(r),this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:o}}),this._addToPool(o),!0},this._engine=e,this._container=t,this._nextId=0,this._array=[],this._zArray=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._needsSort=!1,this._lastZIndex=0,this._interactionManager=new ii(e,t),this._pluginsInitialized=!1;const i=t.canvas.size;this.quadTree=new U(we(i),be),this.movers=[],this.updaters=[]}get count(){return this._array.length}addManualParticles(){const e=this._container,t=e.actualOptions;for(const i of t.manualParticles)this.addParticle(i.position?Re(i.position,e.canvas.size):void 0,i.options)}addParticle(e,t,i,s){const n=this._container.actualOptions.particles.number.limit,r=i===void 0?this._limit:this._groupLimits.get(i)??this._limit,o=this.count;if(r>0){if(n.mode==="delete"){const u=o+1-r;u>0&&this.removeQuantity(u)}else if(n.mode==="wait"&&o>=r)return}return this._pushParticle(e,t,i,s)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(e){const t=this._container,i=t.canvas;i.clear(),this.update(e);for(const[,s]of t.plugins)i.drawPlugin(s,e);for(const s of this._zArray)s.draw(e)}filter(e){return this._array.filter(e)}find(e){return this._array.find(e)}get(e){return this._array[e]}handleClickMode(e){this._interactionManager.handleClickMode(e)}async init(){var s;const e=this._container,t=e.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let i=!1;for(const[,n]of e.plugins)if(n.particlesInitialization!==void 0&&(i=n.particlesInitialization()),i)break;if(this.addManualParticles(),!i){const n=t.particles,r=n.groups;for(const o in r){const h=r[o];for(let a=this.count,c=0;c<((s=h.number)==null?void 0:s.value)&&athis.count)return;let r=0;for(let o=e;r!i.has(h);this._array=this.filter(o),this._zArray=this._zArray.filter(o);for(const h of i)this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:h}});this._addToPool(...i)}this._interactionManager.externalInteract(e);for(const o of this._array){for(const h of this.updaters)h.update(o,e);!o.destroyed&&!o.spawning&&this._interactionManager.particlesInteract(o,e)}if(delete this._resizeFactor,this._needsSort){const o=this._zArray;o.sort((a,c)=>c.position.z-a.position.z||a.id-c.id);const h=1;this._lastZIndex=o[o.length-h].position.z,this._needsSort=!1}}}const ze=1,xe=1;class fi{constructor(e){this.container=e,this.pixelRatio=ze,this.reduceFactor=xe}init(){const e=this.container,t=e.actualOptions;this.pixelRatio=!t.detectRetina||tt()?ze:window.devicePixelRatio,this.reduceFactor=xe;const i=this.pixelRatio,s=e.canvas;if(s.element){const o=s.element;s.size.width=o.offsetWidth*i,s.size.height=o.offsetHeight*i}const n=t.particles,r=n.move;this.maxSpeed=x(r.gravity.maxSpeed)*i,this.sizeAnimationSpeed=x(n.size.animation.speed)*i}initParticle(e){const t=e.options,i=this.pixelRatio,s=t.move,n=s.distance,r=e.retina;r.moveDrift=x(s.drift)*i,r.moveSpeed=x(s.speed)*i,r.sizeAnimationSpeed=x(t.size.animation.speed)*i;const o=r.maxDistance;o.horizontal=n.horizontal!==void 0?n.horizontal*i:void 0,o.vertical=n.vertical!==void 0?n.vertical*i:void 0,r.maxSpeed=x(s.gravity.maxSpeed)*i}}function _(l){return l&&!l.destroyed}const Y=60;function di(l,e=Y,t=!1){return{value:l,factor:t?Y/e:Y*l/k}}function S(l,e,...t){const i=new Jt(l,e);return Ie(i,...t),i}class vi{constructor(e,t,i){this._intersectionManager=s=>{if(!(!_(this)||!this.actualOptions.pauseOnOutsideViewport))for(const n of s)n.target===this.interactivity.element&&(n.isIntersecting?this.play():this.pause())},this._nextFrame=s=>{try{if(!this._smooth&&this._lastFrameTime!==void 0&&sk){this.draw(!1);return}if(this.particles.draw(n),!this.alive()){this.destroy();return}this.animationStatus&&this.draw(!1)}catch(n){B().error(`${H} in animation loop`,n)}},this._engine=e,this.id=Symbol(t),this.fpsLimit=120,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=i,this._initialSourceOptions=i,this.retina=new fi(this),this.canvas=new ei(this),this.particles=new ui(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this._options=S(this._engine,this),this.actualOptions=S(this._engine,this),this._eventListeners=new ti(this),this._intersectionObserver=it(s=>this._intersectionManager(s)),this._engine.dispatchEvent("containerBuilt",{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&_(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!_(this))return;const t=this.interactivity.element;if(!t)return;const i=(u,f,m)=>{if(!_(this))return;const d=this.retina.pixelRatio,p={x:f.x*d,y:f.y*d},y=this.particles.quadTree.queryCircle(p,m*d);e(u,y)},s=u=>{if(!_(this))return;const f=u,m={x:f.offsetX||f.clientX,y:f.offsetY||f.clientY};i(u,m,1)},n=()=>{_(this)&&(a=!0,c=!1)},r=()=>{_(this)&&(c=!0)},o=u=>{if(_(this)){if(a&&!c){const f=u,m=1;let d=f.touches[f.touches.length-m];if(!d&&(d=f.changedTouches[f.changedTouches.length-m],!d))return;const p=this.canvas.element,y=p?p.getBoundingClientRect():void 0,C=0,P={x:d.clientX-(y?y.left:C),y:d.clientY-(y?y.top:C)};i(u,P,Math.max(d.radiusX,d.radiusY))}a=!1,c=!1}},h=()=>{_(this)&&(a=!1,c=!1)};let a=!1,c=!1;t.addEventListener("click",s),t.addEventListener("touchstart",n),t.addEventListener("touchmove",r),t.addEventListener("touchend",o),t.addEventListener("touchcancel",h)}addLifeTime(e){this._lifeTime+=e}addPath(e,t,i=!1){return!_(this)||!i&&this.pathGenerators.has(e)?!1:(this.pathGenerators.set(e,t),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}destroy(){var s,n;if(!_(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,r]of this.effectDrawers)(s=r.destroy)==null||s.call(r,this);for(const[,r]of this.shapeDrawers)(n=r.destroy)==null||n.call(r,this);for(const r of this.effectDrawers.keys())this.effectDrawers.delete(r);for(const r of this.shapeDrawers.keys())this.shapeDrawers.delete(r);this._engine.clearPlugins(this),this.destroyed=!0;const e=this._engine.dom(),t=e.findIndex(r=>r===this);t>=0&&e.splice(t,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(e){if(!_(this))return;let t=e;const i=s=>{t&&(this._lastFrameTime=void 0,t=!1),this._nextFrame(s)};this._drawAnimationFrame=requestAnimationFrame(s=>i(s))}async export(e,t={}){for(const[,i]of this.plugins){if(!i.export)continue;const s=await i.export(e,t);if(s.supported)return s.blob}B().error(`${H} - Export plugin with type ${e} not found`)}handleClickMode(e){var t;if(_(this)){this.particles.handleClickMode(e);for(const[,i]of this.plugins)(t=i.handleClickMode)==null||t.call(i,e)}}async init(){var r,o,h,a;if(!_(this))return;const e=this._engine.getSupportedEffects();for(const c of e){const u=this._engine.getEffectDrawer(c);u&&this.effectDrawers.set(c,u)}const t=this._engine.getSupportedShapes();for(const c of t){const u=this._engine.getShapeDrawer(c);u&&this.shapeDrawers.set(c,u)}await this.particles.initPlugins(),this._options=S(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=S(this._engine,this,this._options);const i=await this._engine.getAvailablePlugins(this);for(const[c,u]of i)this.plugins.set(c,u);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this._duration=x(this.actualOptions.duration)*k,this._delay=x(this.actualOptions.delay)*k,this._lifeTime=0;const s=120,n=0;this.fpsLimit=this.actualOptions.fpsLimit>n?this.actualOptions.fpsLimit:s,this._smooth=this.actualOptions.smooth;for(const[,c]of this.effectDrawers)await((r=c.init)==null?void 0:r.call(c,this));for(const[,c]of this.shapeDrawers)await((o=c.init)==null?void 0:o.call(c,this));for(const[,c]of this.plugins)await((h=c.init)==null?void 0:h.call(c));this._engine.dispatchEvent("containerInit",{container:this}),await this.particles.init(),this.particles.setDensity();for(const[,c]of this.plugins)(a=c.particlesSetup)==null||a.call(c);this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(e){_(this)&&(this._currentTheme=e,await this.refresh())}pause(){var e;if(_(this)&&(this._drawAnimationFrame!==void 0&&(cancelAnimationFrame(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,t]of this.plugins)(e=t.pause)==null||e.call(t);this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(e){if(!_(this))return;const t=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),t)for(const[,i]of this.plugins)i.play&&i.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(t??!1)}async refresh(){if(_(this))return this.stop(),this.start()}async reset(){if(_(this))return this._initialSourceOptions=void 0,this._options=S(this._engine,this),this.actualOptions=S(this._engine,this,this._options),this.refresh()}async start(){!_(this)||this.started||(await this.init(),this.started=!0,await new Promise(e=>{const t=async()=>{var i;this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const[,s]of this.plugins)await((i=s.start)==null?void 0:i.call(s));this._engine.dispatchEvent("containerStarted",{container:this}),this.play(),e()};this._delayTimeout=setTimeout(()=>void t(),this._delay)}))}stop(){var e;if(!(!_(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const[,t]of this.plugins)(e=t.stop)==null||e.call(t);for(const t of this.plugins.keys())this.plugins.delete(t);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth===e?!1:(this._responsiveMaxWidth=e,!0)}}export{vi as Container}; +import{s as b,d as Oe,i as Le,e as W,f as w,h as ie,j as Fe,k as Ce,l as Pe,r as se,m as V,n as q,g as ne,o as Ae,b as B,p as oe,q as k,t as re,u as Ve,v as Be,w as he,x as He,y as Ue,z as We,A as qe,B as Ge,C as ae,D as Xe,V as le,E as Ye,F as Ne,G as ce,H as x,I as $e,J as Ze,c as H,K as ke,L as je,M as Re,N as Qe,O as Je,P as ue,Q as T,R as Ke,S as et,T as tt,U as it}from"./index-CJxpASZZ.js";import{p as st,a as nt,c as G,d as ot,b as rt,e as ht,f as at}from"./CanvasUtils-Drs4jJ1v.js";import{O as R}from"./OptionsColor-HO1oIr3o.js";import{A as lt,V as Z,R as Se,a as Te}from"./ValueWithRandom-WRswW1do.js";import{R as N,C as ct}from"./Ranges-DnczzUUT.js";class ut{constructor(e,t){this.position=e,this.particle=t}}class X extends lt{constructor(){super(),this.offset=0,this.sync=!0}load(e){super.load(e),e&&e.offset!==void 0&&(this.offset=b(e.offset))}}class ft{constructor(){this.h=new X,this.s=new X,this.l=new X}load(e){e&&(this.h.load(e.h),this.s.load(e.s),this.l.load(e.l))}}class F extends R{constructor(){super(),this.animation=new ft}static create(e,t){const i=new F;return i.load(e),t!==void 0&&(Oe(t)||Le(t)?i.load({value:t}):i.load(t)),i}load(e){if(super.load(e),!e)return;const t=e.animation;t!==void 0&&(t.enable!==void 0?this.animation.h.load(t):this.animation.load(e.animation))}}class dt{constructor(){this.color=new R,this.color.value="",this.image="",this.position="",this.repeat="",this.size="",this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=R.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.position!==void 0&&(this.position=e.position),e.repeat!==void 0&&(this.repeat=e.repeat),e.size!==void 0&&(this.size=e.size),e.opacity!==void 0&&(this.opacity=e.opacity))}}class pt{constructor(){this.opacity=1}load(e){e&&(e.color!==void 0&&(this.color=R.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image),e.opacity!==void 0&&(this.opacity=e.opacity))}}class mt{constructor(){this.composite="destination-out",this.cover=new pt,this.enable=!1}load(e){if(e){if(e.composite!==void 0&&(this.composite=e.composite),e.cover!==void 0){const t=e.cover,i=Oe(e.cover)?{color:e.cover}:e.cover;this.cover.load(t.color!==void 0||t.image!==void 0?t:{color:i})}e.enable!==void 0&&(this.enable=e.enable)}}}class gt{constructor(){this.enable=!0,this.zIndex=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.zIndex!==void 0&&(this.zIndex=e.zIndex))}}class _t{constructor(){this.enable=!1,this.mode=[]}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode))}}class fe{constructor(){this.selectors=[],this.enable=!1,this.mode=[],this.type="circle"}load(e){e&&(e.selectors!==void 0&&(this.selectors=e.selectors),e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),e.type!==void 0&&(this.type=e.type))}}class yt{constructor(){this.enable=!1,this.force=2,this.smooth=10}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.force!==void 0&&(this.force=e.force),e.smooth!==void 0&&(this.smooth=e.smooth))}}class vt{constructor(){this.enable=!1,this.mode=[],this.parallax=new yt}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.mode!==void 0&&(this.mode=e.mode),this.parallax.load(e.parallax))}}class bt{constructor(){this.delay=.5,this.enable=!0}load(e){e!==void 0&&(e.delay!==void 0&&(this.delay=e.delay),e.enable!==void 0&&(this.enable=e.enable))}}class wt{constructor(){this.onClick=new _t,this.onDiv=new fe,this.onHover=new vt,this.resize=new bt}load(e){if(!e)return;this.onClick.load(e.onClick);const t=e.onDiv;t!==void 0&&(this.onDiv=W(t,i=>{const s=new fe;return s.load(i),s})),this.onHover.load(e.onHover),this.resize.load(e.resize)}}class zt{constructor(e,t){this._engine=e,this._container=t}load(e){if(!e||!this._container)return;const t=this._engine.interactors.get(this._container);if(t)for(const i of t)i.loadModeOptions&&i.loadModeOptions(this,e)}}class Me{constructor(e,t){this.detectsOn="window",this.events=new wt,this.modes=new zt(e,t)}load(e){if(!e)return;const t=e.detectsOn;t!==void 0&&(this.detectsOn=t),this.events.load(e.events),this.modes.load(e.modes)}}const de=50;class xt{load(e){e&&(e.position&&(this.position={x:e.position.x??de,y:e.position.y??de,mode:e.position.mode??"percent"}),e.options&&(this.options=w({},e.options)))}}class Ot{constructor(){this.maxWidth=1/0,this.options={},this.mode="canvas"}load(e){e&&(e.maxWidth!==void 0&&(this.maxWidth=e.maxWidth),e.mode!==void 0&&(e.mode==="screen"?this.mode="screen":this.mode="canvas"),e.options!==void 0&&(this.options=w({},e.options)))}}class Ct{constructor(){this.auto=!1,this.mode="any",this.value=!1}load(e){e&&(e.auto!==void 0&&(this.auto=e.auto),e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Pt{constructor(){this.name="",this.default=new Ct}load(e){e&&(e.name!==void 0&&(this.name=e.name),this.default.load(e.default),e.options!==void 0&&(this.options=w({},e.options)))}}class kt{constructor(){this.speed=2}load(e){e&&e.speed!==void 0&&(this.speed=e.speed)}}class Rt{constructor(){this.enable=!0,this.retries=0}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.retries!==void 0&&(this.retries=e.retries))}}class pe extends Z{constructor(){super(),this.value=1}}class Ee{constructor(){this.horizontal=new pe,this.vertical=new pe}load(e){e&&(this.horizontal.load(e.horizontal),this.vertical.load(e.vertical))}}class St{constructor(){this.absorb=new kt,this.bounce=new Ee,this.enable=!1,this.maxSpeed=50,this.mode="bounce",this.overlap=new Rt}load(e){e&&(this.absorb.load(e.absorb),this.bounce.load(e.bounce),e.enable!==void 0&&(this.enable=e.enable),e.maxSpeed!==void 0&&(this.maxSpeed=b(e.maxSpeed)),e.mode!==void 0&&(this.mode=e.mode),this.overlap.load(e.overlap))}}class Tt{constructor(){this.close=!0,this.fill=!0,this.options={},this.type=[]}load(e){if(!e)return;const t=e.options;if(t!==void 0)for(const i in t){const s=t[i];s&&(this.options[i]=w(this.options[i]??{},s))}e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class Mt{constructor(){this.offset=0,this.value=90}load(e){e&&(e.offset!==void 0&&(this.offset=b(e.offset)),e.value!==void 0&&(this.value=b(e.value)))}}class Et{constructor(){this.distance=200,this.enable=!1,this.rotate={x:3e3,y:3e3}}load(e){if(e&&(e.distance!==void 0&&(this.distance=b(e.distance)),e.enable!==void 0&&(this.enable=e.enable),e.rotate)){const t=e.rotate.x;t!==void 0&&(this.rotate.x=t);const i=e.rotate.y;i!==void 0&&(this.rotate.y=i)}}}class It{constructor(){this.x=50,this.y=50,this.mode="percent",this.radius=0}load(e){e&&(e.x!==void 0&&(this.x=e.x),e.y!==void 0&&(this.y=e.y),e.mode!==void 0&&(this.mode=e.mode),e.radius!==void 0&&(this.radius=e.radius))}}class Dt{constructor(){this.acceleration=9.81,this.enable=!1,this.inverse=!1,this.maxSpeed=50}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=b(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.inverse!==void 0&&(this.inverse=e.inverse),e.maxSpeed!==void 0&&(this.maxSpeed=b(e.maxSpeed)))}}class Lt{constructor(){this.clamp=!0,this.delay=new Z,this.enable=!1,this.options={}}load(e){e&&(e.clamp!==void 0&&(this.clamp=e.clamp),this.delay.load(e.delay),e.enable!==void 0&&(this.enable=e.enable),this.generator=e.generator,e.options&&(this.options=w(this.options,e.options)))}}class Ft{load(e){e&&(e.color!==void 0&&(this.color=R.create(this.color,e.color)),e.image!==void 0&&(this.image=e.image))}}class At{constructor(){this.enable=!1,this.length=10,this.fill=new Ft}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.fill!==void 0&&this.fill.load(e.fill),e.length!==void 0&&(this.length=e.length))}}class Vt{constructor(){this.default="out"}load(e){e&&(e.default!==void 0&&(this.default=e.default),this.bottom=e.bottom??e.default,this.left=e.left??e.default,this.right=e.right??e.default,this.top=e.top??e.default)}}class Bt{constructor(){this.acceleration=0,this.enable=!1}load(e){e&&(e.acceleration!==void 0&&(this.acceleration=b(e.acceleration)),e.enable!==void 0&&(this.enable=e.enable),e.position&&(this.position=w({},e.position)))}}class Ht{constructor(){this.angle=new Mt,this.attract=new Et,this.center=new It,this.decay=0,this.distance={},this.direction="none",this.drift=0,this.enable=!1,this.gravity=new Dt,this.path=new Lt,this.outModes=new Vt,this.random=!1,this.size=!1,this.speed=2,this.spin=new Bt,this.straight=!1,this.trail=new At,this.vibrate=!1,this.warp=!1}load(e){if(!e)return;this.angle.load(ie(e.angle)?{value:e.angle}:e.angle),this.attract.load(e.attract),this.center.load(e.center),e.decay!==void 0&&(this.decay=b(e.decay)),e.direction!==void 0&&(this.direction=e.direction),e.distance!==void 0&&(this.distance=ie(e.distance)?{horizontal:e.distance,vertical:e.distance}:{...e.distance}),e.drift!==void 0&&(this.drift=b(e.drift)),e.enable!==void 0&&(this.enable=e.enable),this.gravity.load(e.gravity);const t=e.outModes;t!==void 0&&(Fe(t)?this.outModes.load(t):this.outModes.load({default:t})),this.path.load(e.path),e.random!==void 0&&(this.random=e.random),e.size!==void 0&&(this.size=e.size),e.speed!==void 0&&(this.speed=b(e.speed)),this.spin.load(e.spin),e.straight!==void 0&&(this.straight=e.straight),this.trail.load(e.trail),e.vibrate!==void 0&&(this.vibrate=e.vibrate),e.warp!==void 0&&(this.warp=e.warp)}}class Ut extends Se{constructor(){super(),this.destroy="none",this.speed=2}load(e){super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class Wt extends Te{constructor(){super(),this.animation=new Ut,this.value=1}load(e){if(!e)return;super.load(e);const t=e.animation;t!==void 0&&this.animation.load(t)}}class qt{constructor(){this.enable=!1,this.width=1920,this.height=1080}load(e){if(!e)return;e.enable!==void 0&&(this.enable=e.enable);const t=e.width;t!==void 0&&(this.width=t);const i=e.height;i!==void 0&&(this.height=i)}}class Gt{constructor(){this.mode="delete",this.value=0}load(e){e&&(e.mode!==void 0&&(this.mode=e.mode),e.value!==void 0&&(this.value=e.value))}}class Xt{constructor(){this.density=new qt,this.limit=new Gt,this.value=0}load(e){e&&(this.density.load(e.density),this.limit.load(e.limit),e.value!==void 0&&(this.value=e.value))}}class Yt{constructor(){this.blur=0,this.color=new R,this.enable=!1,this.offset={x:0,y:0},this.color.value="#000"}load(e){e&&(e.blur!==void 0&&(this.blur=e.blur),this.color=R.create(this.color,e.color),e.enable!==void 0&&(this.enable=e.enable),e.offset!==void 0&&(e.offset.x!==void 0&&(this.offset.x=e.offset.x),e.offset.y!==void 0&&(this.offset.y=e.offset.y)))}}class Nt{constructor(){this.close=!0,this.fill=!0,this.options={},this.type="circle"}load(e){if(!e)return;const t=e.options;if(t!==void 0)for(const i in t){const s=t[i];s&&(this.options[i]=w(this.options[i]??{},s))}e.close!==void 0&&(this.close=e.close),e.fill!==void 0&&(this.fill=e.fill),e.type!==void 0&&(this.type=e.type)}}class $t extends Se{constructor(){super(),this.destroy="none",this.speed=5}load(e){super.load(e),e&&e.destroy!==void 0&&(this.destroy=e.destroy)}}class Zt extends Te{constructor(){super(),this.animation=new $t,this.value=3}load(e){if(super.load(e),!e)return;const t=e.animation;t!==void 0&&this.animation.load(t)}}class me{constructor(){this.width=0}load(e){e&&(e.color!==void 0&&(this.color=F.create(this.color,e.color)),e.width!==void 0&&(this.width=b(e.width)),e.opacity!==void 0&&(this.opacity=b(e.opacity)))}}class jt extends Z{constructor(){super(),this.opacityRate=1,this.sizeRate=1,this.velocityRate=1}load(e){super.load(e),e&&(e.opacityRate!==void 0&&(this.opacityRate=e.opacityRate),e.sizeRate!==void 0&&(this.sizeRate=e.sizeRate),e.velocityRate!==void 0&&(this.velocityRate=e.velocityRate))}}class Qt{constructor(e,t){this._engine=e,this._container=t,this.bounce=new Ee,this.collisions=new St,this.color=new F,this.color.value="#fff",this.effect=new Tt,this.groups={},this.move=new Ht,this.number=new Xt,this.opacity=new Wt,this.reduceDuplicates=!1,this.shadow=new Yt,this.shape=new Nt,this.size=new Zt,this.stroke=new me,this.zIndex=new jt}load(e){if(!e)return;if(e.groups!==void 0)for(const i of Object.keys(e.groups)){if(!Object.hasOwn(e.groups,i))continue;const s=e.groups[i];s!==void 0&&(this.groups[i]=w(this.groups[i]??{},s))}e.reduceDuplicates!==void 0&&(this.reduceDuplicates=e.reduceDuplicates),this.bounce.load(e.bounce),this.color.load(F.create(this.color,e.color)),this.effect.load(e.effect),this.move.load(e.move),this.number.load(e.number),this.opacity.load(e.opacity),this.shape.load(e.shape),this.size.load(e.size),this.shadow.load(e.shadow),this.zIndex.load(e.zIndex),this.collisions.load(e.collisions),e.interactivity!==void 0&&(this.interactivity=w({},e.interactivity));const t=e.stroke;if(t&&(this.stroke=W(t,i=>{const s=new me;return s.load(i),s})),this._container){const i=this._engine.updaters.get(this._container);if(i)for(const n of i)n.loadOptions&&n.loadOptions(this,e);const s=this._engine.interactors.get(this._container);if(s)for(const n of s)n.loadParticlesOptions&&n.loadParticlesOptions(this,e)}}}function Ie(l,...e){for(const t of e)l.load(t)}function De(l,e,...t){const i=new Qt(l,e);return Ie(i,...t),i}class Jt{constructor(e,t){this._findDefaultTheme=i=>this.themes.find(s=>s.default.value&&s.default.mode===i)??this.themes.find(s=>s.default.value&&s.default.mode==="any"),this._importPreset=i=>{this.load(this._engine.getPreset(i))},this._engine=e,this._container=t,this.autoPlay=!0,this.background=new dt,this.backgroundMask=new mt,this.clear=!0,this.defaultThemes={},this.delay=0,this.fullScreen=new gt,this.detectRetina=!0,this.duration=0,this.fpsLimit=120,this.interactivity=new Me(e,t),this.manualParticles=[],this.particles=De(this._engine,this._container),this.pauseOnBlur=!0,this.pauseOnOutsideViewport=!0,this.responsive=[],this.smooth=!1,this.style={},this.themes=[],this.zLayers=100}load(e){var r,o;if(!e)return;e.preset!==void 0&&W(e.preset,h=>this._importPreset(h)),e.autoPlay!==void 0&&(this.autoPlay=e.autoPlay),e.clear!==void 0&&(this.clear=e.clear),e.key!==void 0&&(this.key=e.key),e.name!==void 0&&(this.name=e.name),e.delay!==void 0&&(this.delay=b(e.delay));const t=e.detectRetina;t!==void 0&&(this.detectRetina=t),e.duration!==void 0&&(this.duration=b(e.duration));const i=e.fpsLimit;i!==void 0&&(this.fpsLimit=i),e.pauseOnBlur!==void 0&&(this.pauseOnBlur=e.pauseOnBlur),e.pauseOnOutsideViewport!==void 0&&(this.pauseOnOutsideViewport=e.pauseOnOutsideViewport),e.zLayers!==void 0&&(this.zLayers=e.zLayers),this.background.load(e.background);const s=e.fullScreen;Ce(s)?this.fullScreen.enable=s:this.fullScreen.load(s),this.backgroundMask.load(e.backgroundMask),this.interactivity.load(e.interactivity),e.manualParticles&&(this.manualParticles=e.manualParticles.map(h=>{const a=new xt;return a.load(h),a})),this.particles.load(e.particles),this.style=w(this.style,e.style),this._engine.loadOptions(this,e),e.smooth!==void 0&&(this.smooth=e.smooth);const n=this._engine.interactors.get(this._container);if(n)for(const h of n)h.loadOptions&&h.loadOptions(this,e);if(e.responsive!==void 0)for(const h of e.responsive){const a=new Ot;a.load(h),this.responsive.push(a)}if(this.responsive.sort((h,a)=>h.maxWidth-a.maxWidth),e.themes!==void 0)for(const h of e.themes){const a=this.themes.find(c=>c.name===h.name);if(a)a.load(h);else{const c=new Pt;c.load(h),this.themes.push(c)}}this.defaultThemes.dark=(r=this._findDefaultTheme("dark"))==null?void 0:r.name,this.defaultThemes.light=(o=this._findDefaultTheme("light"))==null?void 0:o.name}setResponsive(e,t,i){this.load(i);const s=this.responsive.find(n=>n.mode==="screen"&&screen?n.maxWidth>screen.availWidth:n.maxWidth*t>e);return this.load(s==null?void 0:s.options),s==null?void 0:s.maxWidth}setTheme(e){if(e){const t=this.themes.find(i=>i.name===e);t&&this.load(t.options)}else{const t=Pe("(prefers-color-scheme: dark)"),i=t&&t.matches,s=this._findDefaultTheme(i?"dark":"light");s&&this.load(s.options)}}}function Kt(l,e,t){const i=e[t],s=1;i!==void 0&&(l[t]=(l[t]??s)*i)}function ge(l,e,t=!1){if(!e)return;const i=l;if(!i)return;const s=i.style;if(s)for(const n in e){const r=e[n];r&&s.setProperty(n,r,t?"important":"")}}class ei{constructor(e){this.container=e,this._applyPostDrawUpdaters=t=>{var i;for(const s of this._postDrawUpdaters)(i=s.afterDraw)==null||i.call(s,t)},this._applyPreDrawUpdaters=(t,i,s,n,r,o)=>{var h;for(const a of this._preDrawUpdaters){if(a.getColorStyles){const{fill:c,stroke:u}=a.getColorStyles(i,t,s,n);c&&(r.fill=c),u&&(r.stroke=u)}if(a.getTransformValues){const c=a.getTransformValues(i);for(const u in c)Kt(o,c,u)}(h=a.beforeDraw)==null||h.call(a,i)}},this._applyResizePlugins=()=>{var t;for(const i of this._resizePlugins)(t=i.resize)==null||t.call(i)},this._getPluginParticleColors=t=>{let i,s;for(const n of this._colorPlugins)if(!i&&n.particleFillColor&&(i=se(n.particleFillColor(t))),!s&&n.particleStrokeColor&&(s=se(n.particleStrokeColor(t))),i&&s)break;return[i,s]},this._initCover=async()=>{const t=this.container.actualOptions,i=t.backgroundMask.cover,s=i.color;if(s){const n=V(s);if(n){const r={...n,a:i.opacity};this._coverColorStyle=q(r,r.a)}}else await new Promise((n,r)=>{if(!i.image)return;const o=document.createElement("img");o.addEventListener("load",()=>{this._coverImage={image:o,opacity:i.opacity},n()}),o.addEventListener("error",h=>{r(h.error)}),o.src=i.image})},this._initStyle=()=>{const t=this.element,i=this.container.actualOptions;if(t){this._fullScreen?(this._originalStyle=w({},t.style),this._setFullScreenStyle()):this._resetOriginalStyle();for(const s in i.style){if(!s||!i.style)continue;const n=i.style[s];n&&t.style.setProperty(s,n,"important")}}},this._initTrail=async()=>{const t=this.container.actualOptions,i=t.particles.move.trail,s=i.fill;if(!i.enable)return;const n=1,r=n/i.length;if(s.color){const o=V(s.color);if(!o)return;this._trailFill={color:{...o},opacity:r}}else await new Promise((o,h)=>{if(!s.image)return;const a=document.createElement("img");a.addEventListener("load",()=>{this._trailFill={image:a,opacity:r},o()}),a.addEventListener("error",c=>{h(c.error)}),a.src=s.image})},this._paintBase=t=>{this.draw(i=>st(i,this.size,t))},this._paintImage=(t,i)=>{this.draw(s=>nt(s,this.size,t,i))},this._repairStyle=()=>{const t=this.element;t&&(this._safeMutationObserver(i=>i.disconnect()),this._initStyle(),this.initBackground(),this._safeMutationObserver(i=>i.observe(t,{attributes:!0})))},this._resetOriginalStyle=()=>{const t=this.element,i=this._originalStyle;t&&i&&ge(t,i)},this._safeMutationObserver=t=>{this._mutationObserver&&t(this._mutationObserver)},this._setFullScreenStyle=()=>{const t=this.element;if(!t)return;ge(t,{position:"fixed",zIndex:this.container.actualOptions.fullScreen.zIndex.toString(10),top:"0",left:"0",width:"100%",height:"100%"},!0)},this.size={height:0,width:0},this._context=null,this._generated=!1,this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}get _fullScreen(){return this.container.actualOptions.fullScreen.enable}clear(){const e=this.container.actualOptions,t=e.particles.move.trail,i=this._trailFill;e.backgroundMask.enable?this.paint():t.enable&&t.length>0&&i?i.color?this._paintBase(q(i.color,i.opacity)):i.image&&this._paintImage(i.image,i.opacity):e.clear&&this.draw(n=>{G(n,this.size)})}destroy(){if(this.stop(),this._generated){const e=this.element;e==null||e.remove()}else this._resetOriginalStyle();this._preDrawUpdaters=[],this._postDrawUpdaters=[],this._resizePlugins=[],this._colorPlugins=[]}draw(e){const t=this._context;if(t)return e(t)}drawAsync(e){const t=this._context;if(t)return e(t)}drawParticle(e,t){if(e.spawning||e.destroyed)return;const i=e.getRadius();if(i<=0)return;const n=e.getFillColor(),r=e.getStrokeColor()??n;let[o,h]=this._getPluginParticleColors(e);o||(o=n),h||(h=r),!(!o&&!h)&&this.draw(a=>{var I;const c=this.container,u=c.actualOptions,f=e.options.zIndex,m=1,d=m-e.zIndexFactor,p=d**f.opacityRate,y=1,C=e.bubble.opacity??((I=e.opacity)==null?void 0:I.value)??y,P=e.strokeOpacity??C,M=C*p,E=P*p,v={},g={fill:o?ne(o,M):void 0};g.stroke=h?ne(h,E):g.fill,this._applyPreDrawUpdaters(a,e,i,M,g,v),ot({container:c,context:a,particle:e,delta:t,colorStyles:g,backgroundMask:u.backgroundMask.enable,composite:u.backgroundMask.composite,radius:i*d**f.sizeRate,opacity:M,shadow:e.options.shadow,transform:v}),this._applyPostDrawUpdaters(e)})}drawParticlePlugin(e,t,i){this.draw(s=>rt(s,e,t,i))}drawPlugin(e,t){this.draw(i=>ht(i,e,t))}async init(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=Ae(e=>{for(const t of e)t.type==="attributes"&&t.attributeName==="style"&&this._repairStyle()}),this.resize(),this._initStyle(),await this._initCover();try{await this._initTrail()}catch(e){B().error(e)}this.initBackground(),this._safeMutationObserver(e=>{this.element&&e.observe(this.element,{attributes:!0})}),this.initUpdaters(),this.initPlugins(),this.paint()}initBackground(){const e=this.container.actualOptions,t=e.background,i=this.element;if(!i)return;const s=i.style;if(s){if(t.color){const n=V(t.color);s.backgroundColor=n?q(n,t.opacity):""}else s.backgroundColor="";s.backgroundImage=t.image||"",s.backgroundPosition=t.position||"",s.backgroundRepeat=t.repeat||"",s.backgroundSize=t.size||""}}initPlugins(){this._resizePlugins=[];for(const[,e]of this.container.plugins)e.resize&&this._resizePlugins.push(e),(e.particleFillColor??e.particleStrokeColor)&&this._colorPlugins.push(e)}initUpdaters(){this._preDrawUpdaters=[],this._postDrawUpdaters=[];for(const e of this.container.particles.updaters)e.afterDraw&&this._postDrawUpdaters.push(e),(e.getColorStyles??e.getTransformValues??e.beforeDraw)&&this._preDrawUpdaters.push(e)}loadCanvas(e){this._generated&&this.element&&this.element.remove(),this._generated=e.dataset&&oe in e.dataset?e.dataset[oe]==="true":this._generated,this.element=e,this.element.ariaHidden="true",this._originalStyle=w({},this.element.style),this.size.height=e.offsetHeight,this.size.width=e.offsetWidth,this._context=this.element.getContext("2d"),this._safeMutationObserver(t=>{this.element&&t.observe(this.element,{attributes:!0})}),this.container.retina.init(),this.initBackground()}paint(){const e=this.container.actualOptions;this.draw(t=>{e.backgroundMask.enable&&e.backgroundMask.cover?(G(t,this.size),this._coverImage?this._paintImage(this._coverImage.image,this._coverImage.opacity):this._coverColorStyle?this._paintBase(this._coverColorStyle):this._paintBase()):this._paintBase()})}resize(){if(!this.element)return!1;const e=this.container,t=e.retina.pixelRatio,i=e.canvas.size,s={width:this.element.offsetWidth*t,height:this.element.offsetHeight*t};if(s.height===i.height&&s.width===i.width&&s.height===this.element.height&&s.width===this.element.width)return!1;const n={...i};return this.element.width=i.width=this.element.offsetWidth*t,this.element.height=i.height=this.element.offsetHeight*t,this.container.started&&e.particles.setResizeFactor({width:i.width/n.width,height:i.height/n.height}),!0}stop(){this._safeMutationObserver(e=>e.disconnect()),this._mutationObserver=void 0,this.draw(e=>G(e,this.size))}async windowResize(){if(!this.element||!this.resize())return;const e=this.container,t=e.updateActualOptions();e.particles.setDensity(),this._applyResizePlugins(),t&&await e.refresh()}}const _e=2;function O(l,e,t,i,s){if(i){let n={passive:!0};Ce(s)?n.capture=s:s!==void 0&&(n=s),l.addEventListener(e,t,n)}else{const n=s;l.removeEventListener(e,t,n)}}class ti{constructor(e){this.container=e,this._doMouseTouchClick=t=>{const i=this.container,s=i.actualOptions;if(this._canPush){const n=i.interactivity.mouse,r=n.position;if(!r)return;n.clickPosition={...r},n.clickTime=new Date().getTime();const o=s.interactivity.events.onClick;W(o.mode,h=>this.container.handleClickMode(h))}t.type==="touchend"&&setTimeout(()=>this._mouseTouchFinish(),500)},this._handleThemeChange=t=>{const i=t,s=this.container,n=s.options,r=n.defaultThemes,o=i.matches?r.dark:r.light,h=n.themes.find(a=>a.name===o);h&&h.default.auto&&s.loadTheme(o)},this._handleVisibilityChange=()=>{const t=this.container,i=t.actualOptions;this._mouseTouchFinish(),i.pauseOnBlur&&(document&&document.hidden?(t.pageHidden=!0,t.pause()):(t.pageHidden=!1,t.animationStatus?t.play(!0):t.draw(!0)))},this._handleWindowResize=()=>{this._resizeTimeout&&(clearTimeout(this._resizeTimeout),delete this._resizeTimeout);const t=async()=>{const i=this.container.canvas;await(i==null?void 0:i.windowResize())};this._resizeTimeout=setTimeout(()=>void t(),this.container.actualOptions.interactivity.events.resize.delay*k)},this._manageInteractivityListeners=(t,i)=>{const s=this._handlers,n=this.container,r=n.actualOptions,o=n.interactivity.element;if(!o)return;const h=o,a=n.canvas.element;a&&(a.style.pointerEvents=h===a?"initial":"none"),(r.interactivity.events.onHover.enable||r.interactivity.events.onClick.enable)&&(O(o,re,s.mouseMove,i),O(o,Ve,s.touchStart,i),O(o,Be,s.touchMove,i),r.interactivity.events.onClick.enable?(O(o,he,s.touchEndClick,i),O(o,He,s.mouseUp,i),O(o,Ue,s.mouseDown,i)):O(o,he,s.touchEnd,i),O(o,t,s.mouseLeave,i),O(o,We,s.touchCancel,i))},this._manageListeners=t=>{const i=this._handlers,s=this.container,n=s.actualOptions,r=n.interactivity.detectsOn,o=s.canvas.element;let h=ae;r==="window"?(s.interactivity.element=window,h=Xe):r==="parent"&&o?s.interactivity.element=o.parentElement??o.parentNode:s.interactivity.element=o,this._manageMediaMatch(t),this._manageResize(t),this._manageInteractivityListeners(h,t),document&&O(document,qe,i.visibilityChange,t,!1)},this._manageMediaMatch=t=>{const i=this._handlers,s=Pe("(prefers-color-scheme: dark)");if(s){if(s.addEventListener!==void 0){O(s,"change",i.themeChange,t);return}s.addListener!==void 0&&(t?s.addListener(i.oldThemeChange):s.removeListener(i.oldThemeChange))}},this._manageResize=t=>{const i=this._handlers,s=this.container;if(!s.actualOptions.interactivity.events.resize)return;if(typeof ResizeObserver>"u"){O(window,Ge,i.resize,t);return}const r=s.canvas.element;this._resizeObserver&&!t?(r&&this._resizeObserver.unobserve(r),this._resizeObserver.disconnect(),delete this._resizeObserver):!this._resizeObserver&&t&&r&&(this._resizeObserver=new ResizeObserver(o=>{o.find(a=>a.target===r)&&this._handleWindowResize()}),this._resizeObserver.observe(r))},this._mouseDown=()=>{const{interactivity:t}=this.container;if(!t)return;const{mouse:i}=t;i.clicking=!0,i.downPosition=i.position},this._mouseTouchClick=t=>{const i=this.container,s=i.actualOptions,{mouse:n}=i.interactivity;n.inside=!0;let r=!1;const o=n.position;if(!(!o||!s.interactivity.events.onClick.enable)){for(const[,h]of i.plugins)if(h.clickPositionValid&&(r=h.clickPositionValid(o),r))break;r||this._doMouseTouchClick(t),n.clicking=!1}},this._mouseTouchFinish=()=>{const t=this.container.interactivity;if(!t)return;const i=t.mouse;delete i.position,delete i.clickPosition,delete i.downPosition,t.status=ae,i.inside=!1,i.clicking=!1},this._mouseTouchMove=t=>{const i=this.container,s=i.actualOptions,n=i.interactivity,r=i.canvas.element;if(!(n!=null&&n.element))return;n.mouse.inside=!0;let o;if(t.type.startsWith("pointer")){this._canPush=!0;const a=t;if(n.element===window){if(r){const c=r.getBoundingClientRect();o={x:a.clientX-c.left,y:a.clientY-c.top}}}else if(s.interactivity.detectsOn==="parent"){const c=a.target,u=a.currentTarget;if(c&&u&&r){const f=c.getBoundingClientRect(),m=u.getBoundingClientRect(),d=r.getBoundingClientRect();o={x:a.offsetX+_e*f.left-(m.left+d.left),y:a.offsetY+_e*f.top-(m.top+d.top)}}else o={x:a.offsetX??a.clientX,y:a.offsetY??a.clientY}}else a.target===r&&(o={x:a.offsetX??a.clientX,y:a.offsetY??a.clientY})}else if(this._canPush=t.type!=="touchmove",r){const a=t,c=1,u=a.touches[a.touches.length-c],f=r.getBoundingClientRect(),m=0;o={x:u.clientX-(f.left??m),y:u.clientY-(f.top??m)}}const h=i.retina.pixelRatio;o&&(o.x*=h,o.y*=h),n.mouse.position=o,n.status=re},this._touchEnd=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.delete(n.identifier);this._mouseTouchFinish()},this._touchEndClick=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.delete(n.identifier);this._mouseTouchClick(t)},this._touchStart=t=>{const i=t,s=Array.from(i.changedTouches);for(const n of s)this._touches.set(n.identifier,performance.now());this._mouseTouchMove(t)},this._canPush=!0,this._touches=new Map,this._handlers={mouseDown:()=>this._mouseDown(),mouseLeave:()=>this._mouseTouchFinish(),mouseMove:t=>this._mouseTouchMove(t),mouseUp:t=>this._mouseTouchClick(t),touchStart:t=>this._touchStart(t),touchMove:t=>this._mouseTouchMove(t),touchEnd:t=>this._touchEnd(t),touchCancel:t=>this._touchEnd(t),touchEndClick:t=>this._touchEndClick(t),visibilityChange:()=>this._handleVisibilityChange(),themeChange:t=>this._handleThemeChange(t),oldThemeChange:t=>this._handleThemeChange(t),resize:()=>{this._handleWindowResize()}}}addListeners(){this._manageListeners(!0)}removeListeners(){this._manageListeners(!1)}}class ii{constructor(e,t){this.container=t,this._engine=e,this._interactors=[],this._externalInteractors=[],this._particleInteractors=[]}externalInteract(e){for(const t of this._externalInteractors)t.isEnabled()&&t.interact(e)}handleClickMode(e){var t;for(const i of this._externalInteractors)(t=i.handleClickMode)==null||t.call(i,e)}async init(){this._interactors=await this._engine.getInteractors(this.container,!0),this._externalInteractors=[],this._particleInteractors=[];for(const e of this._interactors){switch(e.type){case"external":this._externalInteractors.push(e);break;case"particles":this._particleInteractors.push(e);break}e.init()}}particlesInteract(e,t){for(const i of this._externalInteractors)i.clear(e,t);for(const i of this._particleInteractors)i.isEnabled(e)&&i.interact(e,t)}reset(e){for(const t of this._externalInteractors)t.isEnabled()&&t.reset(e);for(const t of this._particleInteractors)t.isEnabled(e)&&t.reset(e)}}const ye=0,$=2,A=.5,si=2;function ni(l,e,t,i){const s=e.options[l];if(s)return w({close:e.close,fill:e.fill},T(s,t,i))}function oi(l,e,t,i){const s=e.options[l];if(s)return w({close:e.close,fill:e.fill},T(s,t,i))}function ve(l){if(!et(l.outMode,l.checkModes))return;const e=l.radius*$;l.coord>l.maxCoord-e?l.setCb(-l.radius):l.coord{for(const[,d]of i.plugins){const p=d.particlePosition!==void 0?d.particlePosition(s,this):void 0;if(p)return le.create(p.x,p.y,n)}const o=i.canvas.size,h=Ye({size:o,position:s}),a=le.create(h.x,h.y,n),c=this.getRadius(),u=this.options.move.outModes,f=d=>{ve({outMode:d,checkModes:["bounce"],coord:a.x,maxCoord:i.canvas.size.width,setCb:p=>a.x+=p,radius:c})},m=d=>{ve({outMode:d,checkModes:["bounce"],coord:a.y,maxCoord:i.canvas.size.height,setCb:p=>a.y+=p,radius:c})};return f(u.left??u.default),f(u.right??u.default),m(u.top??u.default),m(u.bottom??u.default),this._checkOverlap(a,r)?this._calcPosition(i,void 0,n,r+1):a},this._calculateVelocity=()=>{const i=Ne(this.direction),s=i.copy(),n=this.options.move;if(n.direction==="inside"||n.direction==="outside")return s;const r=ce(x(n.angle.value)),o=ce(x(n.angle.offset)),h={left:o-r*A,right:o+r*A};return n.straight||(s.angle+=$e(b(h.left,h.right))),n.random&&typeof n.speed=="number"&&(s.length*=Ze()),s},this._checkOverlap=(i,s=ye)=>{const n=this.options.collisions,r=this.getRadius();if(!n.enable)return!1;const o=n.overlap;if(o.enable)return!1;const h=o.retries;if(h>=0&&s>h)throw new Error(`${H} particle is overlapping and can't be placed`);return!!this.container.particles.find(c=>ke(i,c.position){if(!i||!this.roll||!this.backColor&&!this.roll.alter)return i;const s=1,n=0,r=this.roll.horizontal&&this.roll.vertical?$*s:s,o=this.roll.horizontal?Math.PI*A:n;return Math.floor(((this.roll.angle??n)+o)/(Math.PI/r))%$?this.backColor?this.backColor:this.roll.alter?at(i,this.roll.alter.type,this.roll.alter.value):i:i},this._initPosition=i=>{const s=this.container,n=x(this.options.zIndex.value),r=0;this.position=this._calcPosition(s,i,je(n,r,s.zLayers)),this.initialPosition=this.position.copy();const o=s.canvas.size,h=0;switch(this.moveCenter={...Re(this.options.move.center,o),radius:this.options.move.center.radius??h,mode:this.options.move.center.mode??"percent"},this.direction=Qe(this.options.move.direction,this.position,this.moveCenter),this.options.move.direction){case"inside":this.outType="inside";break;case"outside":this.outType="outside";break}this.offset=Je.origin},this._engine=e}destroy(e){var n,r,o;if(this.unbreakable||this.destroyed)return;this.destroyed=!0,this.bubble.inRange=!1,this.slow.inRange=!1;const t=this.container,i=this.pathGenerator,s=t.shapeDrawers.get(this.shape);(n=s==null?void 0:s.particleDestroy)==null||n.call(s,this);for(const[,h]of t.plugins)(r=h.particleDestroyed)==null||r.call(h,this,e);for(const h of t.particles.updaters)(o=h.particleDestroyed)==null||o.call(h,this,e);i==null||i.reset(this),this._engine.dispatchEvent("particleDestroyed",{container:this.container,data:{particle:this}})}draw(e){const t=this.container,i=t.canvas;for(const[,s]of t.plugins)i.drawParticlePlugin(s,this,e);i.drawParticle(this,e)}getFillColor(){return this._getRollColor(this.bubble.color??ue(this.color))}getMass(){return this.getRadius()**si*Math.PI*A}getPosition(){return{x:this.position.x+this.offset.x,y:this.position.y+this.offset.y,z:this.position.z}}getRadius(){return this.bubble.radius??this.size.value}getStrokeColor(){return this._getRollColor(this.bubble.color??ue(this.strokeColor))}init(e,t,i,s){var j,Q,J,K,ee,te;const n=this.container,r=this._engine;this.id=e,this.group=s,this.effectClose=!0,this.effectFill=!0,this.shapeClose=!0,this.shapeFill=!0,this.pathRotation=!1,this.lastPathTime=0,this.destroyed=!1,this.unbreakable=!1,this.rotation=0,this.misplaced=!1,this.retina={maxDistance:{}},this.outType="normal",this.ignoresResizeRatio=!0;const o=n.retina.pixelRatio,h=n.actualOptions,a=De(this._engine,n,h.particles),c=a.effect.type,u=a.shape.type,{reduceDuplicates:f}=a;this.effect=T(c,this.id,f),this.shape=T(u,this.id,f);const m=a.effect,d=a.shape;if(i){if((j=i.effect)!=null&&j.type){const z=i.effect.type,D=T(z,this.id,f);D&&(this.effect=D,m.load(i.effect))}if((Q=i.shape)!=null&&Q.type){const z=i.shape.type,D=T(z,this.id,f);D&&(this.shape=D,d.load(i.shape))}}this.effectData=ni(this.effect,m,this.id,f),this.shapeData=oi(this.shape,d,this.id,f),a.load(i);const p=this.effectData;p&&a.load(p.particles);const y=this.shapeData;y&&a.load(y.particles);const C=new Me(r,n);C.load(n.actualOptions.interactivity),C.load(a.interactivity),this.interactivity=C,this.effectFill=(p==null?void 0:p.fill)??a.effect.fill,this.effectClose=(p==null?void 0:p.close)??a.effect.close,this.shapeFill=(y==null?void 0:y.fill)??a.shape.fill,this.shapeClose=(y==null?void 0:y.close)??a.shape.close,this.options=a;const P=this.options.move.path;this.pathDelay=x(P.delay.value)*k,P.generator&&(this.pathGenerator=this._engine.getPathGenerator(P.generator),this.pathGenerator&&n.addPath(P.generator,this.pathGenerator)&&this.pathGenerator.init(n)),n.retina.initParticle(this),this.size=Ke(this.options.size,o),this.bubble={inRange:!1},this.slow={inRange:!1,factor:1},this._initPosition(t),this.initialVelocity=this._calculateVelocity(),this.velocity=this.initialVelocity.copy();const M=1;this.moveDecay=M-x(this.options.move.decay);const E=n.particles;E.setLastZIndex(this.position.z),this.zIndexFactor=this.position.z/n.zLayers,this.sides=24;let v=n.effectDrawers.get(this.effect);v||(v=this._engine.getEffectDrawer(this.effect),v&&n.effectDrawers.set(this.effect,v)),v!=null&&v.loadEffect&&v.loadEffect(this);let g=n.shapeDrawers.get(this.shape);g||(g=this._engine.getShapeDrawer(this.shape),g&&n.shapeDrawers.set(this.shape,g)),g!=null&&g.loadShape&&g.loadShape(this);const I=g==null?void 0:g.getSidesCount;I&&(this.sides=I(this)),this.spawning=!1,this.shadowColor=V(this.options.shadow.color);for(const z of E.updaters)z.init(this);for(const z of E.movers)(J=z.init)==null||J.call(z,this);(K=v==null?void 0:v.particleInit)==null||K.call(v,n,this),(ee=g==null?void 0:g.particleInit)==null||ee.call(g,n,this);for(const[,z]of n.plugins)(te=z.particleCreated)==null||te.call(z,this)}isInsideCanvas(){const e=this.getRadius(),t=this.container.canvas.size,i=this.position;return i.x>=-e&&i.y>=-e&&i.y<=t.height+e&&i.x<=t.width+e}isVisible(){return!this.destroyed&&!this.spawning&&this.isInsideCanvas()}reset(){var e;for(const t of this.container.particles.updaters)(e=t.reset)==null||e.call(t,this)}}const L=.5,hi=2,ai=4;class U{constructor(e,t){this.rectangle=e,this.capacity=t,this._subdivide=()=>{const{x:i,y:s}=this.rectangle.position,{width:n,height:r}=this.rectangle.size,{capacity:o}=this;for(let h=0;ht.insert(e))):!1}query(e,t){const i=[];if(!e.intersects(this.rectangle))return[];for(const s of this._points)!e.contains(s.position)&&ke(e.position,s.position)>s.particle.getRadius()&&(!t||t(s.particle))||i.push(s.particle);if(this._divided)for(const s of this._subs)i.push(...s.query(e,t));return i}queryCircle(e,t,i){return this.query(new ct(e.x,e.y,t),i)}queryRectangle(e,t,i){return this.query(new N(e.x,e.y,t.width,t.height),i)}}const be=4,li=2,ci=1,we=l=>{const{height:e,width:t}=l,i=-.25,s=1.5;return new N(i*t,i*e,s*t,s*e)};class ui{constructor(e,t){this._addToPool=(...s)=>{for(const n of s)this._pool.push(n)},this._applyDensity=(s,n,r)=>{var d;const o=s.number;if(!((d=s.number.density)!=null&&d.enable)){r===void 0?this._limit=o.limit.value:o.limit&&this._groupLimits.set(r,o.limit.value);return}const h=this._initDensityFactor(o.density),a=o.value,c=0,u=o.limit.value>c?o.limit.value:a,f=Math.min(a,u)*h+n,m=Math.min(this.count,this.filter(p=>p.group===r).length);r===void 0?this._limit=o.limit.value*h:this._groupLimits.set(r,o.limit.value*h),mf&&this.removeQuantity(m-f,r)},this._initDensityFactor=s=>{const n=this._container,r=1;if(!n.canvas.element||!s.enable)return r;const o=n.canvas.element,h=n.retina.pixelRatio;return o.width*o.height/(s.height*s.width*h**li)},this._pushParticle=(s,n,r,o)=>{try{let h=this._pool.pop();h||(h=new ri(this._engine,this._container)),h.init(this._nextId,s,n,r);let a=!0;return o&&(a=o(h)),a?(this._array.push(h),this._zArray.push(h),this._nextId++,this._engine.dispatchEvent("particleAdded",{container:this._container,data:{particle:h}}),h):void 0}catch(h){B().warning(`${H} adding particle: ${h}`)}},this._removeParticle=(s,n,r)=>{const o=this._array[s];if(!o||o.group!==n)return!1;const h=this._zArray.indexOf(o),a=1;return this._array.splice(s,a),this._zArray.splice(h,a),o.destroy(r),this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:o}}),this._addToPool(o),!0},this._engine=e,this._container=t,this._nextId=0,this._array=[],this._zArray=[],this._pool=[],this._limit=0,this._groupLimits=new Map,this._needsSort=!1,this._lastZIndex=0,this._interactionManager=new ii(e,t),this._pluginsInitialized=!1;const i=t.canvas.size;this.quadTree=new U(we(i),be),this.movers=[],this.updaters=[]}get count(){return this._array.length}addManualParticles(){const e=this._container,t=e.actualOptions;for(const i of t.manualParticles)this.addParticle(i.position?Re(i.position,e.canvas.size):void 0,i.options)}addParticle(e,t,i,s){const n=this._container.actualOptions.particles.number.limit,r=i===void 0?this._limit:this._groupLimits.get(i)??this._limit,o=this.count;if(r>0){if(n.mode==="delete"){const u=o+1-r;u>0&&this.removeQuantity(u)}else if(n.mode==="wait"&&o>=r)return}return this._pushParticle(e,t,i,s)}clear(){this._array=[],this._zArray=[],this._pluginsInitialized=!1}destroy(){this._array=[],this._zArray=[],this.movers=[],this.updaters=[]}draw(e){const t=this._container,i=t.canvas;i.clear(),this.update(e);for(const[,s]of t.plugins)i.drawPlugin(s,e);for(const s of this._zArray)s.draw(e)}filter(e){return this._array.filter(e)}find(e){return this._array.find(e)}get(e){return this._array[e]}handleClickMode(e){this._interactionManager.handleClickMode(e)}async init(){var s;const e=this._container,t=e.actualOptions;this._lastZIndex=0,this._needsSort=!1,await this.initPlugins();let i=!1;for(const[,n]of e.plugins)if(n.particlesInitialization!==void 0&&(i=n.particlesInitialization()),i)break;if(this.addManualParticles(),!i){const n=t.particles,r=n.groups;for(const o in r){const h=r[o];for(let a=this.count,c=0;c<((s=h.number)==null?void 0:s.value)&&athis.count)return;let r=0;for(let o=e;r!i.has(h);this._array=this.filter(o),this._zArray=this._zArray.filter(o);for(const h of i)this._engine.dispatchEvent("particleRemoved",{container:this._container,data:{particle:h}});this._addToPool(...i)}this._interactionManager.externalInteract(e);for(const o of this._array){for(const h of this.updaters)h.update(o,e);!o.destroyed&&!o.spawning&&this._interactionManager.particlesInteract(o,e)}if(delete this._resizeFactor,this._needsSort){const o=this._zArray;o.sort((a,c)=>c.position.z-a.position.z||a.id-c.id);const h=1;this._lastZIndex=o[o.length-h].position.z,this._needsSort=!1}}}const ze=1,xe=1;class fi{constructor(e){this.container=e,this.pixelRatio=ze,this.reduceFactor=xe}init(){const e=this.container,t=e.actualOptions;this.pixelRatio=!t.detectRetina||tt()?ze:window.devicePixelRatio,this.reduceFactor=xe;const i=this.pixelRatio,s=e.canvas;if(s.element){const o=s.element;s.size.width=o.offsetWidth*i,s.size.height=o.offsetHeight*i}const n=t.particles,r=n.move;this.maxSpeed=x(r.gravity.maxSpeed)*i,this.sizeAnimationSpeed=x(n.size.animation.speed)*i}initParticle(e){const t=e.options,i=this.pixelRatio,s=t.move,n=s.distance,r=e.retina;r.moveDrift=x(s.drift)*i,r.moveSpeed=x(s.speed)*i,r.sizeAnimationSpeed=x(t.size.animation.speed)*i;const o=r.maxDistance;o.horizontal=n.horizontal!==void 0?n.horizontal*i:void 0,o.vertical=n.vertical!==void 0?n.vertical*i:void 0,r.maxSpeed=x(s.gravity.maxSpeed)*i}}function _(l){return l&&!l.destroyed}const Y=60;function di(l,e=Y,t=!1){return{value:l,factor:t?Y/e:Y*l/k}}function S(l,e,...t){const i=new Jt(l,e);return Ie(i,...t),i}class vi{constructor(e,t,i){this._intersectionManager=s=>{if(!(!_(this)||!this.actualOptions.pauseOnOutsideViewport))for(const n of s)n.target===this.interactivity.element&&(n.isIntersecting?this.play():this.pause())},this._nextFrame=s=>{try{if(!this._smooth&&this._lastFrameTime!==void 0&&sk){this.draw(!1);return}if(this.particles.draw(n),!this.alive()){this.destroy();return}this.animationStatus&&this.draw(!1)}catch(n){B().error(`${H} in animation loop`,n)}},this._engine=e,this.id=Symbol(t),this.fpsLimit=120,this._smooth=!1,this._delay=0,this._duration=0,this._lifeTime=0,this._firstStart=!0,this.started=!1,this.destroyed=!1,this._paused=!0,this._lastFrameTime=0,this.zLayers=100,this.pageHidden=!1,this._sourceOptions=i,this._initialSourceOptions=i,this.retina=new fi(this),this.canvas=new ei(this),this.particles=new ui(this._engine,this),this.pathGenerators=new Map,this.interactivity={mouse:{clicking:!1,inside:!1}},this.plugins=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this._options=S(this._engine,this),this.actualOptions=S(this._engine,this),this._eventListeners=new ti(this),this._intersectionObserver=it(s=>this._intersectionManager(s)),this._engine.dispatchEvent("containerBuilt",{container:this})}get animationStatus(){return!this._paused&&!this.pageHidden&&_(this)}get options(){return this._options}get sourceOptions(){return this._sourceOptions}addClickHandler(e){if(!_(this))return;const t=this.interactivity.element;if(!t)return;const i=(u,f,m)=>{if(!_(this))return;const d=this.retina.pixelRatio,p={x:f.x*d,y:f.y*d},y=this.particles.quadTree.queryCircle(p,m*d);e(u,y)},s=u=>{if(!_(this))return;const f=u,m={x:f.offsetX||f.clientX,y:f.offsetY||f.clientY};i(u,m,1)},n=()=>{_(this)&&(a=!0,c=!1)},r=()=>{_(this)&&(c=!0)},o=u=>{if(_(this)){if(a&&!c){const f=u,m=1;let d=f.touches[f.touches.length-m];if(!d&&(d=f.changedTouches[f.changedTouches.length-m],!d))return;const p=this.canvas.element,y=p?p.getBoundingClientRect():void 0,C=0,P={x:d.clientX-(y?y.left:C),y:d.clientY-(y?y.top:C)};i(u,P,Math.max(d.radiusX,d.radiusY))}a=!1,c=!1}},h=()=>{_(this)&&(a=!1,c=!1)};let a=!1,c=!1;t.addEventListener("click",s),t.addEventListener("touchstart",n),t.addEventListener("touchmove",r),t.addEventListener("touchend",o),t.addEventListener("touchcancel",h)}addLifeTime(e){this._lifeTime+=e}addPath(e,t,i=!1){return!_(this)||!i&&this.pathGenerators.has(e)?!1:(this.pathGenerators.set(e,t),!0)}alive(){return!this._duration||this._lifeTime<=this._duration}destroy(){var s,n;if(!_(this))return;this.stop(),this.particles.destroy(),this.canvas.destroy();for(const[,r]of this.effectDrawers)(s=r.destroy)==null||s.call(r,this);for(const[,r]of this.shapeDrawers)(n=r.destroy)==null||n.call(r,this);for(const r of this.effectDrawers.keys())this.effectDrawers.delete(r);for(const r of this.shapeDrawers.keys())this.shapeDrawers.delete(r);this._engine.clearPlugins(this),this.destroyed=!0;const e=this._engine.dom(),t=e.findIndex(r=>r===this);t>=0&&e.splice(t,1),this._engine.dispatchEvent("containerDestroyed",{container:this})}draw(e){if(!_(this))return;let t=e;const i=s=>{t&&(this._lastFrameTime=void 0,t=!1),this._nextFrame(s)};this._drawAnimationFrame=requestAnimationFrame(s=>i(s))}async export(e,t={}){for(const[,i]of this.plugins){if(!i.export)continue;const s=await i.export(e,t);if(s.supported)return s.blob}B().error(`${H} - Export plugin with type ${e} not found`)}handleClickMode(e){var t;if(_(this)){this.particles.handleClickMode(e);for(const[,i]of this.plugins)(t=i.handleClickMode)==null||t.call(i,e)}}async init(){var r,o,h,a;if(!_(this))return;const e=this._engine.getSupportedEffects();for(const c of e){const u=this._engine.getEffectDrawer(c);u&&this.effectDrawers.set(c,u)}const t=this._engine.getSupportedShapes();for(const c of t){const u=this._engine.getShapeDrawer(c);u&&this.shapeDrawers.set(c,u)}await this.particles.initPlugins(),this._options=S(this._engine,this,this._initialSourceOptions,this.sourceOptions),this.actualOptions=S(this._engine,this,this._options);const i=await this._engine.getAvailablePlugins(this);for(const[c,u]of i)this.plugins.set(c,u);this.retina.init(),await this.canvas.init(),this.updateActualOptions(),this.canvas.initBackground(),this.canvas.resize(),this.zLayers=this.actualOptions.zLayers,this._duration=x(this.actualOptions.duration)*k,this._delay=x(this.actualOptions.delay)*k,this._lifeTime=0;const s=120,n=0;this.fpsLimit=this.actualOptions.fpsLimit>n?this.actualOptions.fpsLimit:s,this._smooth=this.actualOptions.smooth;for(const[,c]of this.effectDrawers)await((r=c.init)==null?void 0:r.call(c,this));for(const[,c]of this.shapeDrawers)await((o=c.init)==null?void 0:o.call(c,this));for(const[,c]of this.plugins)await((h=c.init)==null?void 0:h.call(c));this._engine.dispatchEvent("containerInit",{container:this}),await this.particles.init(),this.particles.setDensity();for(const[,c]of this.plugins)(a=c.particlesSetup)==null||a.call(c);this._engine.dispatchEvent("particlesSetup",{container:this})}async loadTheme(e){_(this)&&(this._currentTheme=e,await this.refresh())}pause(){var e;if(_(this)&&(this._drawAnimationFrame!==void 0&&(cancelAnimationFrame(this._drawAnimationFrame),delete this._drawAnimationFrame),!this._paused)){for(const[,t]of this.plugins)(e=t.pause)==null||e.call(t);this.pageHidden||(this._paused=!0),this._engine.dispatchEvent("containerPaused",{container:this})}}play(e){if(!_(this))return;const t=this._paused||e;if(this._firstStart&&!this.actualOptions.autoPlay){this._firstStart=!1;return}if(this._paused&&(this._paused=!1),t)for(const[,i]of this.plugins)i.play&&i.play();this._engine.dispatchEvent("containerPlay",{container:this}),this.draw(t??!1)}async refresh(){if(_(this))return this.stop(),this.start()}async reset(){if(_(this))return this._initialSourceOptions=void 0,this._options=S(this._engine,this),this.actualOptions=S(this._engine,this,this._options),this.refresh()}async start(){!_(this)||this.started||(await this.init(),this.started=!0,await new Promise(e=>{const t=async()=>{var i;this._eventListeners.addListeners(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.observe(this.interactivity.element);for(const[,s]of this.plugins)await((i=s.start)==null?void 0:i.call(s));this._engine.dispatchEvent("containerStarted",{container:this}),this.play(),e()};this._delayTimeout=setTimeout(()=>void t(),this._delay)}))}stop(){var e;if(!(!_(this)||!this.started)){this._delayTimeout&&(clearTimeout(this._delayTimeout),delete this._delayTimeout),this._firstStart=!0,this.started=!1,this._eventListeners.removeListeners(),this.pause(),this.particles.clear(),this.canvas.stop(),this.interactivity.element instanceof HTMLElement&&this._intersectionObserver&&this._intersectionObserver.unobserve(this.interactivity.element);for(const[,t]of this.plugins)(e=t.stop)==null||e.call(t);for(const t of this.plugins.keys())this.plugins.delete(t);this._sourceOptions=this._options,this._engine.dispatchEvent("containerStopped",{container:this})}}updateActualOptions(){this.actualOptions.responsive=[];const e=this.actualOptions.setResponsive(this.canvas.size.width,this.retina.pixelRatio,this._options);return this.actualOptions.setTheme(this._currentTheme),this._responsiveMaxWidth===e?!1:(this._responsiveMaxWidth=e,!0)}}export{vi as Container}; diff --git a/dist/assets/EmojiDrawer-DDsBwX7D.js b/dist/assets/EmojiDrawer-DOFDawAt.js similarity index 91% rename from dist/assets/EmojiDrawer-DDsBwX7D.js rename to dist/assets/EmojiDrawer-DOFDawAt.js index b7fab5d..80e3b44 100644 --- a/dist/assets/EmojiDrawer-DDsBwX7D.js +++ b/dist/assets/EmojiDrawer-DOFDawAt.js @@ -1 +1 @@ -import{v as u}from"./index-d8vWEUa1.js";import{S as j,aa as h,e as D,Q as v,a3 as x}from"./index-CYTvHIKC.js";function S(d){const{context:o,particle:e,radius:n,opacity:i}=d,t=e.emojiData,r=2,c=n*r,m=o.globalAlpha;t&&(o.globalAlpha=i,o.drawImage(t,-n,-n,c,c),o.globalAlpha=m)}const g='"Twemoji Mozilla", Apple Color Emoji, "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne Color"';class b{constructor(){this._emojiShapeDict=new Map}destroy(){for(const[o,e]of this._emojiShapeDict)e instanceof ImageBitmap&&(e==null||e.close(),this._emojiShapeDict.delete(o))}draw(o){S(o)}async init(o){const e=o.actualOptions;if(!u.find(t=>j(t,e.particles.shape.type)))return;const n=[h(g)],i=u.map(t=>e.particles.shape.options[t]).find(t=>!!t);i&&D(i,t=>{t.font&&n.push(h(t.font))}),await Promise.all(n)}particleDestroy(o){delete o.emojiData}particleInit(o,e){const i=e.shapeData;if(!(i!=null&&i.value))return;const t=v(i.value,e.randomIndexData),r=i.font??g;if(!t)return;const c=`${t}_${r}`,m=this._emojiShapeDict.get(c);if(m){e.emojiData=m;return}const f=x(e.size.value)*2;let p;const l=x(e.size.value);if(typeof OffscreenCanvas<"u"){const s=new OffscreenCanvas(f,f),a=s.getContext("2d");if(!a)return;a.font=`400 ${l*2}px ${r}`,a.textBaseline="middle",a.textAlign="center",a.fillText(t,l,l),p=s.transferToImageBitmap()}else{const s=document.createElement("canvas");s.width=f,s.height=f;const a=s.getContext("2d");if(!a)return;a.font=`400 ${l*2}px ${r}`,a.textBaseline="middle",a.textAlign="center",a.fillText(t,l,l),p=s}this._emojiShapeDict.set(c,p),e.emojiData=p}}export{b as EmojiDrawer}; +import{v as u}from"./index-BTRqI6_g.js";import{S as j,aa as h,e as D,Q as v,a3 as x}from"./index-CJxpASZZ.js";function S(d){const{context:o,particle:e,radius:n,opacity:i}=d,t=e.emojiData,r=2,c=n*r,m=o.globalAlpha;t&&(o.globalAlpha=i,o.drawImage(t,-n,-n,c,c),o.globalAlpha=m)}const g='"Twemoji Mozilla", Apple Color Emoji, "Segoe UI Emoji", "Noto Color Emoji", "EmojiOne Color"';class b{constructor(){this._emojiShapeDict=new Map}destroy(){for(const[o,e]of this._emojiShapeDict)e instanceof ImageBitmap&&(e==null||e.close(),this._emojiShapeDict.delete(o))}draw(o){S(o)}async init(o){const e=o.actualOptions;if(!u.find(t=>j(t,e.particles.shape.type)))return;const n=[h(g)],i=u.map(t=>e.particles.shape.options[t]).find(t=>!!t);i&&D(i,t=>{t.font&&n.push(h(t.font))}),await Promise.all(n)}particleDestroy(o){delete o.emojiData}particleInit(o,e){const i=e.shapeData;if(!(i!=null&&i.value))return;const t=v(i.value,e.randomIndexData),r=i.font??g;if(!t)return;const c=`${t}_${r}`,m=this._emojiShapeDict.get(c);if(m){e.emojiData=m;return}const f=x(e.size.value)*2;let p;const l=x(e.size.value);if(typeof OffscreenCanvas<"u"){const s=new OffscreenCanvas(f,f),a=s.getContext("2d");if(!a)return;a.font=`400 ${l*2}px ${r}`,a.textBaseline="middle",a.textAlign="center",a.fillText(t,l,l),p=s.transferToImageBitmap()}else{const s=document.createElement("canvas");s.width=f,s.height=f;const a=s.getContext("2d");if(!a)return;a.font=`400 ${l*2}px ${r}`,a.textBaseline="middle",a.textAlign="center",a.fillText(t,l,l),p=s}this._emojiShapeDict.set(c,p),e.emojiData=p}}export{b as EmojiDrawer}; diff --git a/dist/assets/Grabber-Cd78gnPz.js b/dist/assets/Grabber-DgONdUW1.js similarity index 84% rename from dist/assets/Grabber-Cd78gnPz.js rename to dist/assets/Grabber-DgONdUW1.js index f18acb7..045c59c 100644 --- a/dist/assets/Grabber-Cd78gnPz.js +++ b/dist/assets/Grabber-DgONdUW1.js @@ -1 +1 @@ -import{Grab as v}from"./index-CosJ1068.js";import{g as y}from"./CanvasUtils-DaiPNicA.js";import{n as k,t as L,K as O,a7 as h,a8 as C,S as w}from"./index-CYTvHIKC.js";import{E as D}from"./ExternalInteractorBase-CIi3zRdK.js";import"./OptionsColor-JcjSYShv.js";const E=0;function M(r,t,n,i,o,e){y(r,n,i),r.strokeStyle=k(o,e),r.lineWidth=t,r.stroke()}function G(r,t,n,i,o){r.canvas.draw(e=>{const s=t.getPosition();M(e,t.retina.linksWidth??E,s,o,n,i)})}const P="grab",q=0,H=0;class A extends D{constructor(t){super(t)}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.grab;n&&(t.retina.grabModeDistance=n.distance*t.retina.pixelRatio)}interact(){var c;const t=this.container,n=t.actualOptions,i=n.interactivity;if(!i.modes.grab||!i.events.onHover.enable||t.interactivity.status!==L)return;const o=t.interactivity.mouse.position;if(!o)return;const e=t.retina.grabModeDistance;if(!e||ethis.isEnabled(a));for(const a of s){const f=a.getPosition(),l=O(f,o);if(l>e)continue;const b=i.modes.grab.links,d=b.opacity,g=d-l*d/e;if(g<=H)continue;const u=b.color??((c=a.options.links)==null?void 0:c.color);if(!t.particles.grabLineColor&&u){const p=i.modes.grab.links;t.particles.grabLineColor=h(u,p.blink,p.consent)}const m=C(a,void 0,t.particles.grabLineColor);m&&G(t,a,m,g,o)}}isEnabled(t){const n=this.container,i=n.interactivity.mouse,o=((t==null?void 0:t.interactivity)??n.actualOptions.interactivity).events;return o.onHover.enable&&!!i.position&&w(P,o.onHover.mode)}loadModeOptions(t,...n){t.grab||(t.grab=new v);for(const i of n)t.grab.load(i==null?void 0:i.grab)}reset(){}}export{A as Grabber}; +import{Grab as v}from"./index-CznPTJO-.js";import{g as y}from"./CanvasUtils-Drs4jJ1v.js";import{n as k,t as L,K as O,a7 as h,a8 as C,S as w}from"./index-CJxpASZZ.js";import{E as D}from"./ExternalInteractorBase-CIi3zRdK.js";import"./OptionsColor-HO1oIr3o.js";const E=0;function M(r,t,n,i,o,e){y(r,n,i),r.strokeStyle=k(o,e),r.lineWidth=t,r.stroke()}function G(r,t,n,i,o){r.canvas.draw(e=>{const s=t.getPosition();M(e,t.retina.linksWidth??E,s,o,n,i)})}const P="grab",q=0,H=0;class A extends D{constructor(t){super(t)}clear(){}init(){const t=this.container,n=t.actualOptions.interactivity.modes.grab;n&&(t.retina.grabModeDistance=n.distance*t.retina.pixelRatio)}interact(){var c;const t=this.container,n=t.actualOptions,i=n.interactivity;if(!i.modes.grab||!i.events.onHover.enable||t.interactivity.status!==L)return;const o=t.interactivity.mouse.position;if(!o)return;const e=t.retina.grabModeDistance;if(!e||ethis.isEnabled(a));for(const a of s){const f=a.getPosition(),l=O(f,o);if(l>e)continue;const b=i.modes.grab.links,d=b.opacity,g=d-l*d/e;if(g<=H)continue;const u=b.color??((c=a.options.links)==null?void 0:c.color);if(!t.particles.grabLineColor&&u){const p=i.modes.grab.links;t.particles.grabLineColor=h(u,p.blink,p.consent)}const m=C(a,void 0,t.particles.grabLineColor);m&&G(t,a,m,g,o)}}isEnabled(t){const n=this.container,i=n.interactivity.mouse,o=((t==null?void 0:t.interactivity)??n.actualOptions.interactivity).events;return o.onHover.enable&&!!i.position&&w(P,o.onHover.mode)}loadModeOptions(t,...n){t.grab||(t.grab=new v);for(const i of n)t.grab.load(i==null?void 0:i.grab)}reset(){}}export{A as Grabber}; diff --git a/dist/assets/ImageDrawer-AnH4NJe9.js b/dist/assets/ImageDrawer-CaRXWu4S.js similarity index 93% rename from dist/assets/ImageDrawer-AnH4NJe9.js rename to dist/assets/ImageDrawer-CaRXWu4S.js index fbcb759..aba2405 100644 --- a/dist/assets/ImageDrawer-AnH4NJe9.js +++ b/dist/assets/ImageDrawer-CaRXWu4S.js @@ -1 +1 @@ -import{r as h}from"./index-BokV6Z4q.js";import{drawGif as f}from"./Utils-D6QePH9N.js";import{c as d}from"./index-CYTvHIKC.js";const c=2,p=1,u=12,_=1;class y{constructor(o){this.loadImageShape=async e=>{if(!this._engine.loadImage)throw new Error(`${d} image shape not initialized`);await this._engine.loadImage({gif:e.gif,name:e.name,replaceColor:e.replaceColor??!1,src:e.src})},this._engine=o}addImage(o){this._engine.images||(this._engine.images=[]),this._engine.images.push(o)}draw(o){const{context:e,radius:t,particle:a,opacity:n}=o,i=a.image,r=i==null?void 0:i.element;if(i){if(e.globalAlpha=n,i.gif&&i.gifData)f(o);else if(r){const s=i.ratio,g={x:-t,y:-t},l=t*c;e.drawImage(r,g.x,g.y,l,l/s)}e.globalAlpha=p}}getSidesCount(){return u}async init(o){const e=o.actualOptions;if(!(!e.preload||!this._engine.loadImage))for(const t of e.preload)await this._engine.loadImage(t)}loadShape(o){if(o.shape!=="image"&&o.shape!=="images")return;this._engine.images||(this._engine.images=[]);const e=o.shapeData;if(!e)return;this._engine.images.find(a=>a.name===e.name||a.source===e.src)||this.loadImageShape(e).then(()=>{this.loadShape(o)})}particleInit(o,e){if(e.shape!=="image"&&e.shape!=="images")return;this._engine.images||(this._engine.images=[]);const t=this._engine.images,a=e.shapeData;if(!a)return;const n=e.getFillColor(),i=t.find(s=>s.name===a.name||s.source===a.src);if(!i)return;const r=a.replaceColor??i.replaceColor;if(i.loading){setTimeout(()=>{this.particleInit(o,e)});return}(async()=>{let s;i.svgData&&n?s=await h(i,a,n,e):s={color:n,data:i,element:i.element,gif:i.gif,gifData:i.gifData,gifLoopCount:i.gifLoopCount,loaded:!0,ratio:a.width&&a.height?a.width/a.height:i.ratio??_,replaceColor:r,source:a.src},s.ratio||(s.ratio=1);const g=a.fill??e.shapeFill,l=a.close??e.shapeClose,m={image:s,fill:g,close:l};e.image=m.image,e.shapeFill=m.fill,e.shapeClose=m.close})()}}export{y as ImageDrawer}; +import{r as h}from"./index-BfyEaXEK.js";import{drawGif as f}from"./Utils-CH3RjhfV.js";import{c as d}from"./index-CJxpASZZ.js";const c=2,p=1,u=12,_=1;class y{constructor(o){this.loadImageShape=async e=>{if(!this._engine.loadImage)throw new Error(`${d} image shape not initialized`);await this._engine.loadImage({gif:e.gif,name:e.name,replaceColor:e.replaceColor??!1,src:e.src})},this._engine=o}addImage(o){this._engine.images||(this._engine.images=[]),this._engine.images.push(o)}draw(o){const{context:e,radius:t,particle:a,opacity:n}=o,i=a.image,r=i==null?void 0:i.element;if(i){if(e.globalAlpha=n,i.gif&&i.gifData)f(o);else if(r){const s=i.ratio,g={x:-t,y:-t},l=t*c;e.drawImage(r,g.x,g.y,l,l/s)}e.globalAlpha=p}}getSidesCount(){return u}async init(o){const e=o.actualOptions;if(!(!e.preload||!this._engine.loadImage))for(const t of e.preload)await this._engine.loadImage(t)}loadShape(o){if(o.shape!=="image"&&o.shape!=="images")return;this._engine.images||(this._engine.images=[]);const e=o.shapeData;if(!e)return;this._engine.images.find(a=>a.name===e.name||a.source===e.src)||this.loadImageShape(e).then(()=>{this.loadShape(o)})}particleInit(o,e){if(e.shape!=="image"&&e.shape!=="images")return;this._engine.images||(this._engine.images=[]);const t=this._engine.images,a=e.shapeData;if(!a)return;const n=e.getFillColor(),i=t.find(s=>s.name===a.name||s.source===a.src);if(!i)return;const r=a.replaceColor??i.replaceColor;if(i.loading){setTimeout(()=>{this.particleInit(o,e)});return}(async()=>{let s;i.svgData&&n?s=await h(i,a,n,e):s={color:n,data:i,element:i.element,gif:i.gif,gifData:i.gifData,gifLoopCount:i.gifLoopCount,loaded:!0,ratio:a.width&&a.height?a.width/a.height:i.ratio??_,replaceColor:r,source:a.src},s.ratio||(s.ratio=1);const g=a.fill??e.shapeFill,l=a.close??e.shapeClose,m={image:s,fill:g,close:l};e.image=m.image,e.shapeFill=m.fill,e.shapeClose=m.close})()}}export{y as ImageDrawer}; diff --git a/dist/assets/LifeUpdater-fZIcuExd.js b/dist/assets/LifeUpdater-BX8RmiNQ.js similarity index 92% rename from dist/assets/LifeUpdater-fZIcuExd.js rename to dist/assets/LifeUpdater-BX8RmiNQ.js index 79ab030..352055c 100644 --- a/dist/assets/LifeUpdater-fZIcuExd.js +++ b/dist/assets/LifeUpdater-BX8RmiNQ.js @@ -1 +1 @@ -import{V as w}from"./ValueWithRandom-IhTq0bgn.js";import{s as a,I as l,H as f,q as d,J as c}from"./index-CYTvHIKC.js";class R extends w{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class L extends w{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class V{constructor(){this.count=0,this.delay=new R,this.duration=new L}load(e){e&&(e.count!==void 0&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}const u=0,x=-1,y=0,m=0;function F(i,e,s){if(!i.life)return;const n=i.life;let t=!1;if(i.spawning)if(n.delayTime+=e.value,n.delayTime>=i.life.delay)t=!0,i.spawning=!1,n.delayTime=u,n.time=u;else return;if(n.duration===x||i.spawning||(t?n.time=u:n.time+=e.value,n.timey&&i.life.count--,i.life.count===y){i.destroy();return}const T=a(m,s.width),v=a(m,s.width);i.position.x=l(T),i.position.y=l(v),i.spawning=!0,n.delayTime=u,n.time=u,i.reset();const r=i.options.life;r&&(n.delay=f(r.delay.value)*d,n.duration=f(r.duration.value)*d)}const o=0,h=1,g=-1;class D{constructor(e){this.container=e}init(e){const s=this.container,n=e.options,t=n.life;t&&(e.life={delay:s.retina.reduceFactor?f(t.delay.value)*(t.delay.sync?h:c())/s.retina.reduceFactor*d:o,delayTime:o,duration:s.retina.reduceFactor?f(t.duration.value)*(t.duration.sync?h:c())/s.retina.reduceFactor*d:o,time:o,count:t.count},e.life.duration<=o&&(e.life.duration=g),e.life.count<=o&&(e.life.count=g),e.life&&(e.spawning=e.life.delay>o))}isEnabled(e){return!e.destroyed}loadOptions(e,...s){e.life||(e.life=new V);for(const n of s)e.life.load(n==null?void 0:n.life)}update(e,s){!this.isEnabled(e)||!e.life||F(e,s,this.container.canvas.size)}}export{D as LifeUpdater}; +import{V as w}from"./ValueWithRandom-WRswW1do.js";import{s as a,I as l,H as f,q as d,J as c}from"./index-CJxpASZZ.js";class R extends w{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class L extends w{constructor(){super(),this.sync=!1}load(e){e&&(super.load(e),e.sync!==void 0&&(this.sync=e.sync))}}class V{constructor(){this.count=0,this.delay=new R,this.duration=new L}load(e){e&&(e.count!==void 0&&(this.count=e.count),this.delay.load(e.delay),this.duration.load(e.duration))}}const u=0,x=-1,y=0,m=0;function F(i,e,s){if(!i.life)return;const n=i.life;let t=!1;if(i.spawning)if(n.delayTime+=e.value,n.delayTime>=i.life.delay)t=!0,i.spawning=!1,n.delayTime=u,n.time=u;else return;if(n.duration===x||i.spawning||(t?n.time=u:n.time+=e.value,n.timey&&i.life.count--,i.life.count===y){i.destroy();return}const T=a(m,s.width),v=a(m,s.width);i.position.x=l(T),i.position.y=l(v),i.spawning=!0,n.delayTime=u,n.time=u,i.reset();const r=i.options.life;r&&(n.delay=f(r.delay.value)*d,n.duration=f(r.duration.value)*d)}const o=0,h=1,g=-1;class D{constructor(e){this.container=e}init(e){const s=this.container,n=e.options,t=n.life;t&&(e.life={delay:s.retina.reduceFactor?f(t.delay.value)*(t.delay.sync?h:c())/s.retina.reduceFactor*d:o,delayTime:o,duration:s.retina.reduceFactor?f(t.duration.value)*(t.duration.sync?h:c())/s.retina.reduceFactor*d:o,time:o,count:t.count},e.life.duration<=o&&(e.life.duration=g),e.life.count<=o&&(e.life.count=g),e.life&&(e.spawning=e.life.delay>o))}isEnabled(e){return!e.destroyed}loadOptions(e,...s){e.life||(e.life=new V);for(const n of s)e.life.load(n==null?void 0:n.life)}update(e,s){!this.isEnabled(e)||!e.life||F(e,s,this.container.canvas.size)}}export{D as LifeUpdater}; diff --git a/dist/assets/LinkInstance-CD38q392.js b/dist/assets/LinkInstance-CFC2ceN8.js similarity index 98% rename from dist/assets/LinkInstance-CD38q392.js rename to dist/assets/LinkInstance-CFC2ceN8.js index 8aae7b5..761c235 100644 --- a/dist/assets/LinkInstance-CD38q392.js +++ b/dist/assets/LinkInstance-CFC2ceN8.js @@ -1 +1 @@ -import{K as m,W as q,n as T,m as C,J as S,H as W,a8 as D}from"./index-CYTvHIKC.js";import{g as L}from"./CanvasUtils-DaiPNicA.js";function R(l,o,n,i){l.beginPath(),l.moveTo(o.x,o.y),l.lineTo(n.x,n.y),l.lineTo(i.x,i.y),l.closePath()}function O(l){let o=!1;const{begin:n,end:i,maxDistance:e,context:t,canvasSize:s,width:r,backgroundMask:y,colorLine:u,opacity:h,links:d}=l;if(m(n,i)<=e)L(t,n,i),o=!0;else if(d.warp){let a,g;const x={x:i.x-s.width,y:i.y},p=q(n,x);if(p.distance<=e){const k=n.y-p.dy/p.dx*n.x;a={x:0,y:k},g={x:s.width,y:k}}else{const k={x:i.x,y:i.y-s.height},f=q(n,k);if(f.distance<=e){const w=-(n.y-f.dy/f.dx*n.x)/(f.dy/f.dx);a={x:w,y:0},g={x:w,y:s.height}}else{const b={x:i.x-s.width,y:i.y-s.height},w=q(n,b);if(w.distance<=e){const F=n.y-w.dy/w.dx*n.x;a={x:-F/(w.dy/w.dx),y:F},g={x:a.x+s.width,y:a.y+s.height}}}}a&&g&&(L(t,n,a),L(t,i,g),o=!0)}if(!o)return;t.lineWidth=r,y.enable&&(t.globalCompositeOperation=y.composite),t.strokeStyle=T(u,h);const{shadow:c}=d;if(c.enable){const a=C(c.color);a&&(t.shadowBlur=c.blur,t.shadowColor=T(a))}t.stroke()}function z(l){const{context:o,pos1:n,pos2:i,pos3:e,backgroundMask:t,colorTriangle:s,opacityTriangle:r}=l;R(o,n,i,e),t.enable&&(o.globalCompositeOperation=t.composite),o.fillStyle=T(s,r),o.fill()}function E(l){return l.sort((o,n)=>o-n),l.join("_")}function M(l,o){const n=E(l.map(e=>e.id));let i=o.get(n);return i===void 0&&(i=S(),o.set(n,i)),i}const P=0,_=0,v=0,I=.5,K=1;class J{constructor(o){this.container=o,this._drawLinkLine=(n,i)=>{const e=n.options.links;if(!(e!=null&&e.enable))return;const t=this.container,s=t.actualOptions,r=i.destination,y=n.getPosition(),u=r.getPosition();let h=i.opacity;t.canvas.draw(d=>{var k;let c;const a=(k=n.options.twinkle)==null?void 0:k.lines;if(a!=null&&a.enable){const f=a.frequency,b=C(a.color);S(){const t=n.options.links;if(!(t!=null&&t.enable))return;const s=t.triangles;if(!s.enable)return;const r=this.container,y=r.actualOptions,u=i.destination,h=e.destination,d=s.opacity??(i.opacity+e.opacity)*I;d<=P||r.canvas.draw(c=>{const a=n.getPosition(),g=u.getPosition(),x=h.getPosition(),p=n.retina.linksDistance??v;if(m(a,g)>p||m(x,g)>p||m(x,a)>p)return;let k=C(s.color);if(!k){const f=t.id!==void 0?r.particles.linksColors.get(t.id):r.particles.linksColor;k=D(n,u,f)}k&&z({context:c,pos1:a,pos2:g,pos3:x,backgroundMask:y.backgroundMask,colorTriangle:k,opacityTriangle:d})})},this._drawTriangles=(n,i,e,t)=>{var y,u,h;const s=e.destination;if(!((y=n.links)!=null&&y.triangles.enable&&((u=s.options.links)!=null&&u.triangles.enable)))return;const r=(h=s.links)==null?void 0:h.filter(d=>{const c=this._getLinkFrequency(s,d.destination);return s.options.links&&c<=s.options.links.frequency&&t.findIndex(g=>g.destination===d.destination)>=0});if(r!=null&&r.length)for(const d of r){const c=d.destination;this._getTriangleFrequency(i,s,c)>n.links.triangles.frequency||this._drawLinkTriangle(i,e,d)}},this._getLinkFrequency=(n,i)=>M([n,i],this._freqs.links),this._getTriangleFrequency=(n,i,e)=>M([n,i,e],this._freqs.triangles),this._freqs={links:new Map,triangles:new Map}}drawParticle(o,n){const{links:i,options:e}=n;if(!(i!=null&&i.length))return;const t=i.filter(s=>e.links&&(e.links.frequency>=K||this._getLinkFrequency(n,s.destination)<=e.links.frequency));for(const s of t)this._drawTriangles(e,n,s,t),s.opacity>P&&(n.retina.linksWidth??_)>_&&this._drawLinkLine(n,s)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map,await Promise.resolve()}particleCreated(o){if(o.links=[],!o.options.links)return;const n=this.container.retina.pixelRatio,{retina:i}=o,{distance:e,width:t}=o.options.links;i.linksDistance=e*n,i.linksWidth=t*n}particleDestroyed(o){o.links=[]}}export{J as LinkInstance}; +import{K as m,W as q,n as T,m as C,J as S,H as W,a8 as D}from"./index-CJxpASZZ.js";import{g as L}from"./CanvasUtils-Drs4jJ1v.js";function R(l,o,n,i){l.beginPath(),l.moveTo(o.x,o.y),l.lineTo(n.x,n.y),l.lineTo(i.x,i.y),l.closePath()}function O(l){let o=!1;const{begin:n,end:i,maxDistance:e,context:t,canvasSize:s,width:r,backgroundMask:y,colorLine:u,opacity:h,links:d}=l;if(m(n,i)<=e)L(t,n,i),o=!0;else if(d.warp){let a,g;const x={x:i.x-s.width,y:i.y},p=q(n,x);if(p.distance<=e){const k=n.y-p.dy/p.dx*n.x;a={x:0,y:k},g={x:s.width,y:k}}else{const k={x:i.x,y:i.y-s.height},f=q(n,k);if(f.distance<=e){const w=-(n.y-f.dy/f.dx*n.x)/(f.dy/f.dx);a={x:w,y:0},g={x:w,y:s.height}}else{const b={x:i.x-s.width,y:i.y-s.height},w=q(n,b);if(w.distance<=e){const F=n.y-w.dy/w.dx*n.x;a={x:-F/(w.dy/w.dx),y:F},g={x:a.x+s.width,y:a.y+s.height}}}}a&&g&&(L(t,n,a),L(t,i,g),o=!0)}if(!o)return;t.lineWidth=r,y.enable&&(t.globalCompositeOperation=y.composite),t.strokeStyle=T(u,h);const{shadow:c}=d;if(c.enable){const a=C(c.color);a&&(t.shadowBlur=c.blur,t.shadowColor=T(a))}t.stroke()}function z(l){const{context:o,pos1:n,pos2:i,pos3:e,backgroundMask:t,colorTriangle:s,opacityTriangle:r}=l;R(o,n,i,e),t.enable&&(o.globalCompositeOperation=t.composite),o.fillStyle=T(s,r),o.fill()}function E(l){return l.sort((o,n)=>o-n),l.join("_")}function M(l,o){const n=E(l.map(e=>e.id));let i=o.get(n);return i===void 0&&(i=S(),o.set(n,i)),i}const P=0,_=0,v=0,I=.5,K=1;class J{constructor(o){this.container=o,this._drawLinkLine=(n,i)=>{const e=n.options.links;if(!(e!=null&&e.enable))return;const t=this.container,s=t.actualOptions,r=i.destination,y=n.getPosition(),u=r.getPosition();let h=i.opacity;t.canvas.draw(d=>{var k;let c;const a=(k=n.options.twinkle)==null?void 0:k.lines;if(a!=null&&a.enable){const f=a.frequency,b=C(a.color);S(){const t=n.options.links;if(!(t!=null&&t.enable))return;const s=t.triangles;if(!s.enable)return;const r=this.container,y=r.actualOptions,u=i.destination,h=e.destination,d=s.opacity??(i.opacity+e.opacity)*I;d<=P||r.canvas.draw(c=>{const a=n.getPosition(),g=u.getPosition(),x=h.getPosition(),p=n.retina.linksDistance??v;if(m(a,g)>p||m(x,g)>p||m(x,a)>p)return;let k=C(s.color);if(!k){const f=t.id!==void 0?r.particles.linksColors.get(t.id):r.particles.linksColor;k=D(n,u,f)}k&&z({context:c,pos1:a,pos2:g,pos3:x,backgroundMask:y.backgroundMask,colorTriangle:k,opacityTriangle:d})})},this._drawTriangles=(n,i,e,t)=>{var y,u,h;const s=e.destination;if(!((y=n.links)!=null&&y.triangles.enable&&((u=s.options.links)!=null&&u.triangles.enable)))return;const r=(h=s.links)==null?void 0:h.filter(d=>{const c=this._getLinkFrequency(s,d.destination);return s.options.links&&c<=s.options.links.frequency&&t.findIndex(g=>g.destination===d.destination)>=0});if(r!=null&&r.length)for(const d of r){const c=d.destination;this._getTriangleFrequency(i,s,c)>n.links.triangles.frequency||this._drawLinkTriangle(i,e,d)}},this._getLinkFrequency=(n,i)=>M([n,i],this._freqs.links),this._getTriangleFrequency=(n,i,e)=>M([n,i,e],this._freqs.triangles),this._freqs={links:new Map,triangles:new Map}}drawParticle(o,n){const{links:i,options:e}=n;if(!(i!=null&&i.length))return;const t=i.filter(s=>e.links&&(e.links.frequency>=K||this._getLinkFrequency(n,s.destination)<=e.links.frequency));for(const s of t)this._drawTriangles(e,n,s,t),s.opacity>P&&(n.retina.linksWidth??_)>_&&this._drawLinkLine(n,s)}async init(){this._freqs.links=new Map,this._freqs.triangles=new Map,await Promise.resolve()}particleCreated(o){if(o.links=[],!o.options.links)return;const n=this.container.retina.pixelRatio,{retina:i}=o,{distance:e,width:t}=o.options.links;i.linksDistance=e*n,i.linksWidth=t*n}particleDestroyed(o){o.links=[]}}export{J as LinkInstance}; diff --git a/dist/assets/Linker-B7CysCcg.js b/dist/assets/Linker-BEERsT2p.js similarity index 89% rename from dist/assets/Linker-B7CysCcg.js rename to dist/assets/Linker-BEERsT2p.js index 0b2f607..1f3988c 100644 --- a/dist/assets/Linker-B7CysCcg.js +++ b/dist/assets/Linker-BEERsT2p.js @@ -1 +1 @@ -import{C as y,R as g}from"./Ranges-b1hBXe_8.js";import{Links as b}from"./index-Bv-lflEY.js";import{P as z}from"./ParticlesInteractorBase-vfDeBun3.js";import{a7 as D,W as P}from"./index-CYTvHIKC.js";import"./OptionsColor-JcjSYShv.js";const k=2;class M extends y{constructor(i,n,t,s){super(i,n,t),this.canvasSize=s,this.canvasSize={...s}}contains(i){const{width:n,height:t}=this.canvasSize,{x:s,y:e}=i;return super.contains(i)||super.contains({x:s-n,y:e})||super.contains({x:s-n,y:e-t})||super.contains({x:s,y:e-t})}intersects(i){if(super.intersects(i))return!0;const n=i,t=i,s={x:i.position.x-this.canvasSize.width,y:i.position.y-this.canvasSize.height};if(t.radius!==void 0){const e=new y(s.x,s.y,t.radius*k);return super.intersects(e)}else if(n.size!==void 0){const e=new g(s.x,s.y,n.size.width*k,n.size.height*k);return super.intersects(e)}return!1}}const w=2,q=1,p={x:0,y:0},v=0;function L(h,i,n,t,s){const{dx:e,dy:l,distance:r}=P(h,i);if(!s||r<=n)return r;const a={x:Math.abs(e),y:Math.abs(l)},c={x:Math.min(a.x,t.width-a.x),y:Math.min(a.y,t.height-a.y)};return Math.sqrt(c.x**w+c.y**w)}class B extends z{constructor(i){super(i),this._setColor=n=>{if(!n.options.links)return;const t=this.linkContainer,s=n.options.links;let e=s.id===void 0?t.particles.linksColor:t.particles.linksColors.get(s.id);if(e)return;const l=s.color;e=D(l,s.blink,s.consent),s.id===void 0?t.particles.linksColor=e:t.particles.linksColors.set(s.id,e)},this.linkContainer=i}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}interact(i){if(!i.options.links)return;i.links=[];const n=i.getPosition(),t=this.container,s=t.canvas.size;if(n.xs.width||n.y>s.height)return;const e=i.options.links,l=e.opacity,r=i.retina.linksDistance??v,a=e.warp;let c;a?c=new M(n.x,n.y,r,s):c=new y(n.x,n.y,r);const C=t.particles.quadTree.query(c);for(const o of C){const d=o.options.links;if(i===o||!(d!=null&&d.enable)||e.id!==d.id||o.spawning||o.destroyed||!o.links||i.links.some(f=>f.destination===o)||o.links.some(f=>f.destination===i))continue;const u=o.getPosition();if(u.xs.width||u.y>s.height)continue;const x=L(n,u,r,s,a&&d.warp);if(x>r)continue;const m=(q-x/r)*l;this._setColor(i),i.links.push({destination:o,opacity:m})}}isEnabled(i){var n;return!!((n=i.options.links)!=null&&n.enable)}loadParticlesOptions(i,...n){i.links||(i.links=new b);for(const t of n)i.links.load(t==null?void 0:t.links)}reset(){}}export{B as Linker}; +import{C as y,R as g}from"./Ranges-DnczzUUT.js";import{Links as b}from"./index-BT7lNbQk.js";import{P as z}from"./ParticlesInteractorBase-vfDeBun3.js";import{a7 as D,W as P}from"./index-CJxpASZZ.js";import"./OptionsColor-HO1oIr3o.js";const k=2;class M extends y{constructor(i,n,t,s){super(i,n,t),this.canvasSize=s,this.canvasSize={...s}}contains(i){const{width:n,height:t}=this.canvasSize,{x:s,y:e}=i;return super.contains(i)||super.contains({x:s-n,y:e})||super.contains({x:s-n,y:e-t})||super.contains({x:s,y:e-t})}intersects(i){if(super.intersects(i))return!0;const n=i,t=i,s={x:i.position.x-this.canvasSize.width,y:i.position.y-this.canvasSize.height};if(t.radius!==void 0){const e=new y(s.x,s.y,t.radius*k);return super.intersects(e)}else if(n.size!==void 0){const e=new g(s.x,s.y,n.size.width*k,n.size.height*k);return super.intersects(e)}return!1}}const w=2,q=1,p={x:0,y:0},v=0;function L(h,i,n,t,s){const{dx:e,dy:l,distance:r}=P(h,i);if(!s||r<=n)return r;const a={x:Math.abs(e),y:Math.abs(l)},c={x:Math.min(a.x,t.width-a.x),y:Math.min(a.y,t.height-a.y)};return Math.sqrt(c.x**w+c.y**w)}class B extends z{constructor(i){super(i),this._setColor=n=>{if(!n.options.links)return;const t=this.linkContainer,s=n.options.links;let e=s.id===void 0?t.particles.linksColor:t.particles.linksColors.get(s.id);if(e)return;const l=s.color;e=D(l,s.blink,s.consent),s.id===void 0?t.particles.linksColor=e:t.particles.linksColors.set(s.id,e)},this.linkContainer=i}clear(){}init(){this.linkContainer.particles.linksColor=void 0,this.linkContainer.particles.linksColors=new Map}interact(i){if(!i.options.links)return;i.links=[];const n=i.getPosition(),t=this.container,s=t.canvas.size;if(n.xs.width||n.y>s.height)return;const e=i.options.links,l=e.opacity,r=i.retina.linksDistance??v,a=e.warp;let c;a?c=new M(n.x,n.y,r,s):c=new y(n.x,n.y,r);const C=t.particles.quadTree.query(c);for(const o of C){const d=o.options.links;if(i===o||!(d!=null&&d.enable)||e.id!==d.id||o.spawning||o.destroyed||!o.links||i.links.some(f=>f.destination===o)||o.links.some(f=>f.destination===i))continue;const u=o.getPosition();if(u.xs.width||u.y>s.height)continue;const x=L(n,u,r,s,a&&d.warp);if(x>r)continue;const m=(q-x/r)*l;this._setColor(i),i.links.push({destination:o,opacity:m})}}isEnabled(i){var n;return!!((n=i.options.links)!=null&&n.enable)}loadParticlesOptions(i,...n){i.links||(i.links=new b);for(const t of n)i.links.load(t==null?void 0:t.links)}reset(){}}export{B as Linker}; diff --git a/dist/assets/LinksPlugin-C1FiSO-q.js b/dist/assets/LinksPlugin-B0bQwe4P.js similarity index 50% rename from dist/assets/LinksPlugin-C1FiSO-q.js rename to dist/assets/LinksPlugin-B0bQwe4P.js index 9eddd07..349c0e9 100644 --- a/dist/assets/LinksPlugin-C1FiSO-q.js +++ b/dist/assets/LinksPlugin-B0bQwe4P.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LinkInstance-CD38q392.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/CanvasUtils-DaiPNicA.js"] + __vite__mapDeps.viteFileDeps = ["assets/LinkInstance-CFC2ceN8.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/CanvasUtils-Drs4jJ1v.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-CYTvHIKC.js";class s{constructor(){this.id="links"}async getPlugin(n){const{LinkInstance:t}=await i(()=>import("./LinkInstance-CD38q392.js"),__vite__mapDeps([0,1,2,3]));return new t(n)}loadOptions(){}needsPlugin(){return!0}}export{s as LinksPlugin}; +import{_ as i}from"./index-CJxpASZZ.js";class s{constructor(){this.id="links"}async getPlugin(n){const{LinkInstance:t}=await i(()=>import("./LinkInstance-CFC2ceN8.js"),__vite__mapDeps([0,1,2,3]));return new t(n)}loadOptions(){}needsPlugin(){return!0}}export{s as LinksPlugin}; diff --git a/dist/assets/OpacityUpdater-CS8PdoIF.js b/dist/assets/OpacityUpdater-W7Ekjb0G.js similarity index 80% rename from dist/assets/OpacityUpdater-CS8PdoIF.js rename to dist/assets/OpacityUpdater-W7Ekjb0G.js index d7e5c85..e22b0ce 100644 --- a/dist/assets/OpacityUpdater-CS8PdoIF.js +++ b/dist/assets/OpacityUpdater-W7Ekjb0G.js @@ -1 +1 @@ -import{R as a,H as e,ae as s,J as y,ab as p}from"./index-CYTvHIKC.js";class d{constructor(o){this.container=o}init(o){const n=o.options.opacity,i=1;o.opacity=a(n,i);const t=n.animation;t.enable&&(o.opacity.velocity=e(t.speed)/s*this.container.retina.reduceFactor,t.sync||(o.opacity.velocity*=y()))}isEnabled(o){return!o.destroyed&&!o.spawning&&!!o.opacity&&o.opacity.enable&&((o.opacity.maxLoops??0)<=0||(o.opacity.maxLoops??0)>0&&(o.opacity.loops??0)<(o.opacity.maxLoops??0))}reset(o){o.opacity&&(o.opacity.time=0,o.opacity.loops=0)}update(o,n){!this.isEnabled(o)||!o.opacity||p(o,o.opacity,!0,o.options.opacity.animation.destroy,n)}}export{d as OpacityUpdater}; +import{R as a,H as e,ae as s,J as y,ab as p}from"./index-CJxpASZZ.js";class d{constructor(o){this.container=o}init(o){const n=o.options.opacity,i=1;o.opacity=a(n,i);const t=n.animation;t.enable&&(o.opacity.velocity=e(t.speed)/s*this.container.retina.reduceFactor,t.sync||(o.opacity.velocity*=y()))}isEnabled(o){return!o.destroyed&&!o.spawning&&!!o.opacity&&o.opacity.enable&&((o.opacity.maxLoops??0)<=0||(o.opacity.maxLoops??0)>0&&(o.opacity.loops??0)<(o.opacity.maxLoops??0))}reset(o){o.opacity&&(o.opacity.time=0,o.opacity.loops=0)}update(o,n){!this.isEnabled(o)||!o.opacity||p(o,o.opacity,!0,o.options.opacity.animation.destroy,n)}}export{d as OpacityUpdater}; diff --git a/dist/assets/OptionsColor-JcjSYShv.js b/dist/assets/OptionsColor-HO1oIr3o.js similarity index 76% rename from dist/assets/OptionsColor-JcjSYShv.js rename to dist/assets/OptionsColor-HO1oIr3o.js index 65e0927..75ce2c4 100644 --- a/dist/assets/OptionsColor-JcjSYShv.js +++ b/dist/assets/OptionsColor-HO1oIr3o.js @@ -1 +1 @@ -import{d as l,i as o}from"./index-CYTvHIKC.js";class s{constructor(){this.value=""}static create(e,r){const i=new s;return i.load(e),r!==void 0&&(l(r)||o(r)?i.load({value:r}):i.load(r)),i}load(e){(e==null?void 0:e.value)!==void 0&&(this.value=e.value)}}export{s as O}; +import{d as l,i as o}from"./index-CJxpASZZ.js";class s{constructor(){this.value=""}static create(e,r){const i=new s;return i.load(e),r!==void 0&&(l(r)||o(r)?i.load({value:r}):i.load(r)),i}load(e){(e==null?void 0:e.value)!==void 0&&(this.value=e.value)}}export{s as O}; diff --git a/dist/assets/OutOfCanvasUpdater-D-Ot1Um4.js b/dist/assets/OutOfCanvasUpdater-ZABA4fch.js similarity index 98% rename from dist/assets/OutOfCanvasUpdater-D-Ot1Um4.js rename to dist/assets/OutOfCanvasUpdater-ZABA4fch.js index 9024bf9..fe83411 100644 --- a/dist/assets/OutOfCanvasUpdater-D-Ot1Um4.js +++ b/dist/assets/OutOfCanvasUpdater-ZABA4fch.js @@ -1 +1 @@ -import{H as P,a1 as R,W as M,af as O,O as c,J as g,I as b}from"./index-CYTvHIKC.js";const C=0,v=0;function S(i){if(i.outMode!=="bounce"&&i.outMode!=="split"||i.direction!=="left"&&i.direction!=="right")return;i.bounds.righti.canvasSize.width&&i.direction==="right"&&(i.particle.position.x=i.canvasSize.width-i.size-i.offset.x);const o=i.particle.velocity.x;let s=!1;if(i.direction==="right"&&i.bounds.right>=i.canvasSize.width&&o>C||i.direction==="left"&&i.bounds.left<=v&&o=i.canvasSize.width&&i.direction==="right"?i.particle.position.x=i.canvasSize.width-u:i.bounds.left<=v&&i.direction==="left"&&(i.particle.position.x=u),i.outMode==="split"&&i.particle.destroy()}function V(i){if(i.outMode!=="bounce"&&i.outMode!=="split"||i.direction!=="bottom"&&i.direction!=="top")return;i.bounds.bottomi.canvasSize.height&&i.direction==="bottom"&&(i.particle.position.y=i.canvasSize.height-i.size-i.offset.y);const o=i.particle.velocity.y;let s=!1;if(i.direction==="bottom"&&i.bounds.bottom>=i.canvasSize.height&&o>C||i.direction==="top"&&i.bounds.top<=v&&o=i.canvasSize.height&&i.direction==="bottom"?i.particle.position.y=i.canvasSize.height-u:i.bounds.top<=v&&i.direction==="top"&&(i.particle.position.y=u),i.outMode==="split"&&i.particle.destroy()}class k{constructor(o){this.container=o,this.modes=["bounce","split"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;let n=!1;for(const[,d]of f.plugins)if(d.particleBounce!==void 0&&(n=d.particleBounce(o,u,s)),n)break;if(n)return;const t=o.getPosition(),e=o.offset,r=o.getRadius(),y=R(t,r),m=f.canvas.size;S({particle:o,outMode:h,direction:s,bounds:y,canvasSize:m,offset:e,size:r}),V({particle:o,outMode:h,direction:s,bounds:y,canvasSize:m,offset:e,size:r})}}const x=0;class _{constructor(o){this.container=o,this.modes=["destroy"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;switch(o.outType){case"normal":case"outside":if(O(o.position,f.canvas.size,c.origin,o.getRadius(),s))return;break;case"inside":{const{dx:n,dy:t}=M(o.position,o.moveCenter),{x:e,y:r}=o.velocity;if(eo.moveCenter.radius||ro.moveCenter.radius||e>=x&&n<-o.moveCenter.radius||r>=x&&t<-o.moveCenter.radius)return;break}}f.particles.remove(o,void 0,!0)}}const z=0;class B{constructor(o){this.container=o,this.modes=["none"]}update(o,s,u,h){if(!this.modes.includes(h)||((o.options.move.distance.horizontal&&(s==="left"||s==="right"))??(o.options.move.distance.vertical&&(s==="top"||s==="bottom"))))return;const f=o.options.move.gravity,n=this.container,t=n.canvas.size,e=o.getRadius();if(f.enable){const r=o.position;(!f.inverse&&r.y>t.height+e&&s==="bottom"||f.inverse&&r.y<-e&&s==="top")&&n.particles.remove(o)}else{if(o.velocity.y>z&&o.position.y<=t.height+e||o.velocity.y=-e||o.velocity.x>z&&o.position.x<=t.width+e||o.velocity.x=-e)return;O(o.position,n.canvas.size,c.origin,e,s)||n.particles.remove(o)}}}const l=0,p=0;class D{constructor(o){this.container=o,this.modes=["out"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;switch(o.outType){case"inside":{const{x:n,y:t}=o.velocity,e=c.origin;e.length=o.moveCenter.radius,e.angle=o.velocity.angle+Math.PI,e.addTo(c.create(o.moveCenter));const{dx:r,dy:y}=M(o.position,e);if(n<=l&&r>=p||t<=l&&y>=p||n>=l&&r<=p||t>=l&&y<=p)return;o.position.x=Math.floor(b({min:0,max:f.canvas.size.width})),o.position.y=Math.floor(b({min:0,max:f.canvas.size.height}));const{dx:m,dy:d}=M(o.position,o.moveCenter);o.direction=Math.atan2(-d,-m),o.velocity.angle=o.direction;break}default:{if(O(o.position,f.canvas.size,c.origin,o.getRadius(),s))return;switch(o.outType){case"outside":{o.position.x=Math.floor(b({min:-o.moveCenter.radius,max:o.moveCenter.radius}))+o.moveCenter.x,o.position.y=Math.floor(b({min:-o.moveCenter.radius,max:o.moveCenter.radius}))+o.moveCenter.y;const{dx:n,dy:t}=M(o.position,o.moveCenter);o.moveCenter.radius&&(o.direction=Math.atan2(t,n),o.velocity.angle=o.direction);break}case"normal":{const n=o.options.move.warp,t=f.canvas.size,e={bottom:t.height+o.getRadius()+o.offset.y,left:-o.getRadius()-o.offset.x,right:t.width+o.getRadius()+o.offset.x,top:-o.getRadius()-o.offset.y},r=o.getRadius(),y=R(o.position,r);s==="right"&&y.left>t.width+o.offset.x?(o.position.x=e.left,o.initialPosition.x=o.position.x,n||(o.position.y=g()*t.height,o.initialPosition.y=o.position.y)):s==="left"&&y.right<-o.offset.x&&(o.position.x=e.right,o.initialPosition.x=o.position.x,n||(o.position.y=g()*t.height,o.initialPosition.y=o.position.y)),s==="bottom"&&y.top>t.height+o.offset.y?(n||(o.position.x=g()*t.width,o.initialPosition.x=o.position.x),o.position.y=e.top,o.initialPosition.y=o.position.y):s==="top"&&y.bottom<-o.offset.y&&(n||(o.position.x=g()*t.width,o.initialPosition.x=o.position.x),o.position.y=e.bottom,o.initialPosition.y=o.position.y);break}}break}}}}const w=(i,o)=>i.default===o||i.bottom===o||i.left===o||i.right===o||i.top===o;class T{constructor(o){this._updateOutMode=(s,u,h,f)=>{for(const n of this.updaters)n.update(s,f,u,h)},this.container=o,this.updaters=[]}init(o){this.updaters=[];const s=o.options.move.outModes;w(s,"bounce")?this.updaters.push(new k(this.container)):w(s,"out")?this.updaters.push(new D(this.container)):w(s,"destroy")?this.updaters.push(new _(this.container)):w(s,"none")&&this.updaters.push(new B(this.container))}isEnabled(o){return!o.destroyed&&!o.spawning}update(o,s){const u=o.options.move.outModes;this._updateOutMode(o,s,u.bottom??u.default,"bottom"),this._updateOutMode(o,s,u.left??u.default,"left"),this._updateOutMode(o,s,u.right??u.default,"right"),this._updateOutMode(o,s,u.top??u.default,"top")}}export{T as OutOfCanvasUpdater}; +import{H as P,a1 as R,W as M,af as O,O as c,J as g,I as b}from"./index-CJxpASZZ.js";const C=0,v=0;function S(i){if(i.outMode!=="bounce"&&i.outMode!=="split"||i.direction!=="left"&&i.direction!=="right")return;i.bounds.righti.canvasSize.width&&i.direction==="right"&&(i.particle.position.x=i.canvasSize.width-i.size-i.offset.x);const o=i.particle.velocity.x;let s=!1;if(i.direction==="right"&&i.bounds.right>=i.canvasSize.width&&o>C||i.direction==="left"&&i.bounds.left<=v&&o=i.canvasSize.width&&i.direction==="right"?i.particle.position.x=i.canvasSize.width-u:i.bounds.left<=v&&i.direction==="left"&&(i.particle.position.x=u),i.outMode==="split"&&i.particle.destroy()}function V(i){if(i.outMode!=="bounce"&&i.outMode!=="split"||i.direction!=="bottom"&&i.direction!=="top")return;i.bounds.bottomi.canvasSize.height&&i.direction==="bottom"&&(i.particle.position.y=i.canvasSize.height-i.size-i.offset.y);const o=i.particle.velocity.y;let s=!1;if(i.direction==="bottom"&&i.bounds.bottom>=i.canvasSize.height&&o>C||i.direction==="top"&&i.bounds.top<=v&&o=i.canvasSize.height&&i.direction==="bottom"?i.particle.position.y=i.canvasSize.height-u:i.bounds.top<=v&&i.direction==="top"&&(i.particle.position.y=u),i.outMode==="split"&&i.particle.destroy()}class k{constructor(o){this.container=o,this.modes=["bounce","split"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;let n=!1;for(const[,d]of f.plugins)if(d.particleBounce!==void 0&&(n=d.particleBounce(o,u,s)),n)break;if(n)return;const t=o.getPosition(),e=o.offset,r=o.getRadius(),y=R(t,r),m=f.canvas.size;S({particle:o,outMode:h,direction:s,bounds:y,canvasSize:m,offset:e,size:r}),V({particle:o,outMode:h,direction:s,bounds:y,canvasSize:m,offset:e,size:r})}}const x=0;class _{constructor(o){this.container=o,this.modes=["destroy"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;switch(o.outType){case"normal":case"outside":if(O(o.position,f.canvas.size,c.origin,o.getRadius(),s))return;break;case"inside":{const{dx:n,dy:t}=M(o.position,o.moveCenter),{x:e,y:r}=o.velocity;if(eo.moveCenter.radius||ro.moveCenter.radius||e>=x&&n<-o.moveCenter.radius||r>=x&&t<-o.moveCenter.radius)return;break}}f.particles.remove(o,void 0,!0)}}const z=0;class B{constructor(o){this.container=o,this.modes=["none"]}update(o,s,u,h){if(!this.modes.includes(h)||((o.options.move.distance.horizontal&&(s==="left"||s==="right"))??(o.options.move.distance.vertical&&(s==="top"||s==="bottom"))))return;const f=o.options.move.gravity,n=this.container,t=n.canvas.size,e=o.getRadius();if(f.enable){const r=o.position;(!f.inverse&&r.y>t.height+e&&s==="bottom"||f.inverse&&r.y<-e&&s==="top")&&n.particles.remove(o)}else{if(o.velocity.y>z&&o.position.y<=t.height+e||o.velocity.y=-e||o.velocity.x>z&&o.position.x<=t.width+e||o.velocity.x=-e)return;O(o.position,n.canvas.size,c.origin,e,s)||n.particles.remove(o)}}}const l=0,p=0;class D{constructor(o){this.container=o,this.modes=["out"]}update(o,s,u,h){if(!this.modes.includes(h))return;const f=this.container;switch(o.outType){case"inside":{const{x:n,y:t}=o.velocity,e=c.origin;e.length=o.moveCenter.radius,e.angle=o.velocity.angle+Math.PI,e.addTo(c.create(o.moveCenter));const{dx:r,dy:y}=M(o.position,e);if(n<=l&&r>=p||t<=l&&y>=p||n>=l&&r<=p||t>=l&&y<=p)return;o.position.x=Math.floor(b({min:0,max:f.canvas.size.width})),o.position.y=Math.floor(b({min:0,max:f.canvas.size.height}));const{dx:m,dy:d}=M(o.position,o.moveCenter);o.direction=Math.atan2(-d,-m),o.velocity.angle=o.direction;break}default:{if(O(o.position,f.canvas.size,c.origin,o.getRadius(),s))return;switch(o.outType){case"outside":{o.position.x=Math.floor(b({min:-o.moveCenter.radius,max:o.moveCenter.radius}))+o.moveCenter.x,o.position.y=Math.floor(b({min:-o.moveCenter.radius,max:o.moveCenter.radius}))+o.moveCenter.y;const{dx:n,dy:t}=M(o.position,o.moveCenter);o.moveCenter.radius&&(o.direction=Math.atan2(t,n),o.velocity.angle=o.direction);break}case"normal":{const n=o.options.move.warp,t=f.canvas.size,e={bottom:t.height+o.getRadius()+o.offset.y,left:-o.getRadius()-o.offset.x,right:t.width+o.getRadius()+o.offset.x,top:-o.getRadius()-o.offset.y},r=o.getRadius(),y=R(o.position,r);s==="right"&&y.left>t.width+o.offset.x?(o.position.x=e.left,o.initialPosition.x=o.position.x,n||(o.position.y=g()*t.height,o.initialPosition.y=o.position.y)):s==="left"&&y.right<-o.offset.x&&(o.position.x=e.right,o.initialPosition.x=o.position.x,n||(o.position.y=g()*t.height,o.initialPosition.y=o.position.y)),s==="bottom"&&y.top>t.height+o.offset.y?(n||(o.position.x=g()*t.width,o.initialPosition.x=o.position.x),o.position.y=e.top,o.initialPosition.y=o.position.y):s==="top"&&y.bottom<-o.offset.y&&(n||(o.position.x=g()*t.width,o.initialPosition.x=o.position.x),o.position.y=e.bottom,o.initialPosition.y=o.position.y);break}}break}}}}const w=(i,o)=>i.default===o||i.bottom===o||i.left===o||i.right===o||i.top===o;class T{constructor(o){this._updateOutMode=(s,u,h,f)=>{for(const n of this.updaters)n.update(s,f,u,h)},this.container=o,this.updaters=[]}init(o){this.updaters=[];const s=o.options.move.outModes;w(s,"bounce")?this.updaters.push(new k(this.container)):w(s,"out")?this.updaters.push(new D(this.container)):w(s,"destroy")?this.updaters.push(new _(this.container)):w(s,"none")&&this.updaters.push(new B(this.container))}isEnabled(o){return!o.destroyed&&!o.spawning}update(o,s){const u=o.options.move.outModes;this._updateOutMode(o,s,u.bottom??u.default,"bottom"),this._updateOutMode(o,s,u.left??u.default,"left"),this._updateOutMode(o,s,u.right??u.default,"right"),this._updateOutMode(o,s,u.top??u.default,"top")}}export{T as OutOfCanvasUpdater}; diff --git a/dist/assets/ParallaxMover-CTSYHSzX.js b/dist/assets/ParallaxMover-kzVogX7p.js similarity index 88% rename from dist/assets/ParallaxMover-CTSYHSzX.js rename to dist/assets/ParallaxMover-kzVogX7p.js index 7156b14..141055c 100644 --- a/dist/assets/ParallaxMover-CTSYHSzX.js +++ b/dist/assets/ParallaxMover-kzVogX7p.js @@ -1 +1 @@ -import{T as x}from"./index-CYTvHIKC.js";const v=.5;class m{init(){}isEnabled(a){return!x()&&!a.destroyed&&a.container.actualOptions.interactivity.events.onHover.parallax.enable}move(a){const e=a.container,y=e.actualOptions,n=y.interactivity.events.onHover.parallax;if(x()||!n.enable)return;const p=n.force,o=e.interactivity.mouse.position;if(!o)return;const s=e.canvas.size,i={x:s.width*v,y:s.height*v},r=n.smooth,c=a.getRadius()/p,l={x:(o.x-i.x)*c,y:(o.y-i.y)*c},{offset:t}=a;t.x+=(l.x-t.x)/r,t.y+=(l.y-t.y)/r}}export{m as ParallaxMover}; +import{T as x}from"./index-CJxpASZZ.js";const v=.5;class m{init(){}isEnabled(a){return!x()&&!a.destroyed&&a.container.actualOptions.interactivity.events.onHover.parallax.enable}move(a){const e=a.container,y=e.actualOptions,n=y.interactivity.events.onHover.parallax;if(x()||!n.enable)return;const p=n.force,o=e.interactivity.mouse.position;if(!o)return;const s=e.canvas.size,i={x:s.width*v,y:s.height*v},r=n.smooth,c=a.getRadius()/p,l={x:(o.x-i.x)*c,y:(o.y-i.y)*c},{offset:t}=a;t.x+=(l.x-t.x)/r,t.y+=(l.y-t.y)/r}}export{m as ParallaxMover}; diff --git a/dist/assets/PolygonDrawer-BKQRVRM3.js b/dist/assets/PolygonDrawer-cItkLXOK.js similarity index 56% rename from dist/assets/PolygonDrawer-BKQRVRM3.js rename to dist/assets/PolygonDrawer-cItkLXOK.js index 241f2bd..a99069a 100644 --- a/dist/assets/PolygonDrawer-BKQRVRM3.js +++ b/dist/assets/PolygonDrawer-cItkLXOK.js @@ -1 +1 @@ -import{P as n}from"./PolygonDrawerBase--EWEMZNr.js";import"./index-CYTvHIKC.js";const o=3.5,s=2.66,a=3;class g extends n{getCenter(t,e){return{x:-e/(t.sides/o),y:-e/(s/o)}}getSidesData(t,e){const r=t.sides;return{count:{denominator:1,numerator:r},length:e*s/(r/a)}}}export{g as PolygonDrawer}; +import{P as n}from"./PolygonDrawerBase-Onl_Kjwb.js";import"./index-CJxpASZZ.js";const o=3.5,s=2.66,a=3;class g extends n{getCenter(t,e){return{x:-e/(t.sides/o),y:-e/(s/o)}}getSidesData(t,e){const r=t.sides;return{count:{denominator:1,numerator:r},length:e*s/(r/a)}}}export{g as PolygonDrawer}; diff --git a/dist/assets/PolygonDrawerBase--EWEMZNr.js b/dist/assets/PolygonDrawerBase-Onl_Kjwb.js similarity index 88% rename from dist/assets/PolygonDrawerBase--EWEMZNr.js rename to dist/assets/PolygonDrawerBase-Onl_Kjwb.js index 60b2814..e613a25 100644 --- a/dist/assets/PolygonDrawerBase--EWEMZNr.js +++ b/dist/assets/PolygonDrawerBase-Onl_Kjwb.js @@ -1 +1 @@ -import{G as c,H as l}from"./index-CYTvHIKC.js";const d=180,r={x:0,y:0},h=2;function m(s,n,t){const{context:e}=s,a=t.count.numerator*t.count.denominator,o=t.count.numerator/t.count.denominator,g=d*(o-h)/o,u=Math.PI-c(g);if(e){e.beginPath(),e.translate(n.x,n.y),e.moveTo(r.x,r.y);for(let i=0;i{if(n!==h)return;const t=this.container,o=t.actualOptions,r=o.interactivity.modes.push;if(!r)return;const i=p(r.quantity);if(i<=l)return;const s=c([void 0,...r.groups]),u=s!==void 0?t.actualOptions.particles.groups[s]:void 0;t.particles.push(i,t.interactivity.mouse,u,s)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(e,...n){e.push||(e.push=new a);for(const t of n)e.push.load(t==null?void 0:t.push)}reset(){}}export{O as Pusher}; +import{Push as a}from"./index-Dguich7Z.js";import{H as p,a9 as c}from"./index-CJxpASZZ.js";import{E as d}from"./ExternalInteractorBase-CIi3zRdK.js";const h="push",l=0;class O extends d{constructor(e){super(e),this.handleClickMode=n=>{if(n!==h)return;const t=this.container,o=t.actualOptions,r=o.interactivity.modes.push;if(!r)return;const i=p(r.quantity);if(i<=l)return;const s=c([void 0,...r.groups]),u=s!==void 0?t.actualOptions.particles.groups[s]:void 0;t.particles.push(i,t.interactivity.mouse,u,s)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(e,...n){e.push||(e.push=new a);for(const t of n)e.push.load(t==null?void 0:t.push)}reset(){}}export{O as Pusher}; diff --git a/dist/assets/Ranges-b1hBXe_8.js b/dist/assets/Ranges-DnczzUUT.js similarity index 94% rename from dist/assets/Ranges-b1hBXe_8.js rename to dist/assets/Ranges-DnczzUUT.js index 1a33af3..b34c9e1 100644 --- a/dist/assets/Ranges-b1hBXe_8.js +++ b/dist/assets/Ranges-DnczzUUT.js @@ -1 +1 @@ -import{K as y}from"./index-CYTvHIKC.js";const r=2;class p{constructor(s,i,e){this.position={x:s,y:i},this.type=e}}class a extends p{constructor(s,i,e){super(s,i,"circle"),this.radius=e}contains(s){return y(s,this.position)<=this.radius}intersects(s){const i=this.position,e=s.position,t={x:Math.abs(e.x-i.x),y:Math.abs(e.y-i.y)},h=this.radius;if(s instanceof a||s.type==="circle"){const n=s,o=h+n.radius,c=Math.sqrt(t.x**r+t.y**r);return o>c}else if(s instanceof x||s.type==="rectangle"){const n=s,{width:o,height:c}=n.size;return Math.pow(t.x-o,r)+Math.pow(t.y-c,r)<=h**r||t.x<=h+o&&t.y<=h+c||t.x<=o||t.y<=c}return!1}}class x extends p{constructor(s,i,e,t){super(s,i,"rectangle"),this.size={height:t,width:e}}contains(s){const i=this.size.width,e=this.size.height,t=this.position;return s.x>=t.x&&s.x<=t.x+i&&s.y>=t.y&&s.y<=t.y+e}intersects(s){if(s instanceof a)return s.intersects(this);const i=this.size.width,e=this.size.height,t=this.position,h=s.position,n=s instanceof x?s.size:{width:0,height:0},o=n.width,c=n.height;return h.xt.x&&h.yt.y}}export{a as C,x as R}; +import{K as y}from"./index-CJxpASZZ.js";const r=2;class p{constructor(s,i,e){this.position={x:s,y:i},this.type=e}}class a extends p{constructor(s,i,e){super(s,i,"circle"),this.radius=e}contains(s){return y(s,this.position)<=this.radius}intersects(s){const i=this.position,e=s.position,t={x:Math.abs(e.x-i.x),y:Math.abs(e.y-i.y)},h=this.radius;if(s instanceof a||s.type==="circle"){const n=s,o=h+n.radius,c=Math.sqrt(t.x**r+t.y**r);return o>c}else if(s instanceof x||s.type==="rectangle"){const n=s,{width:o,height:c}=n.size;return Math.pow(t.x-o,r)+Math.pow(t.y-c,r)<=h**r||t.x<=h+o&&t.y<=h+c||t.x<=o||t.y<=c}return!1}}class x extends p{constructor(s,i,e,t){super(s,i,"rectangle"),this.size={height:t,width:e}}contains(s){const i=this.size.width,e=this.size.height,t=this.position;return s.x>=t.x&&s.x<=t.x+i&&s.y>=t.y&&s.y<=t.y+e}intersects(s){if(s instanceof a)return s.intersects(this);const i=this.size.width,e=this.size.height,t=this.position,h=s.position,n=s instanceof x?s.size:{width:0,height:0},o=n.width,c=n.height;return h.xt.x&&h.yt.y}}export{a as C,x as R}; diff --git a/dist/assets/Remover-VjoKCGFM.js b/dist/assets/Remover-CAMmhkau.js similarity index 78% rename from dist/assets/Remover-VjoKCGFM.js rename to dist/assets/Remover-CAMmhkau.js index d83f5ba..536fdbc 100644 --- a/dist/assets/Remover-VjoKCGFM.js +++ b/dist/assets/Remover-CAMmhkau.js @@ -1 +1 @@ -import{Remove as i}from"./index-CqGupFKm.js";import{E as a}from"./ExternalInteractorBase-CIi3zRdK.js";import{H as m}from"./index-CYTvHIKC.js";const s="remove";class u extends a{constructor(t){super(t),this.handleClickMode=r=>{const e=this.container,o=e.actualOptions;if(!o.interactivity.modes.remove||r!==s)return;const n=m(o.interactivity.modes.remove.quantity);e.particles.removeQuantity(n)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(t,...r){t.remove||(t.remove=new i);for(const e of r)t.remove.load(e==null?void 0:e.remove)}reset(){}}export{u as Remover}; +import{Remove as i}from"./index-CV36ytSU.js";import{E as a}from"./ExternalInteractorBase-CIi3zRdK.js";import{H as m}from"./index-CJxpASZZ.js";const s="remove";class u extends a{constructor(t){super(t),this.handleClickMode=r=>{const e=this.container,o=e.actualOptions;if(!o.interactivity.modes.remove||r!==s)return;const n=m(o.interactivity.modes.remove.quantity);e.particles.removeQuantity(n)}}clear(){}init(){}interact(){}isEnabled(){return!0}loadModeOptions(t,...r){t.remove||(t.remove=new i);for(const e of r)t.remove.load(e==null?void 0:e.remove)}reset(){}}export{u as Remover}; diff --git a/dist/assets/Repulser-7umwphMB.js b/dist/assets/Repulser-CDRVeZKz.js similarity index 94% rename from dist/assets/Repulser-7umwphMB.js rename to dist/assets/Repulser-CDRVeZKz.js index edcf54b..3db275c 100644 --- a/dist/assets/Repulser-7umwphMB.js +++ b/dist/assets/Repulser-CDRVeZKz.js @@ -1 +1 @@ -import{Repulse as T}from"./index-CjLrJtgB.js";import{E as _}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as M,R as D}from"./Ranges-b1hBXe_8.js";import{W as O,O as b,X as w,L as S,a6 as C,q as P,t as H,S as g,Y as V,a2 as W}from"./index-CYTvHIKC.js";const h="repulse",F=0,L=6,A=3,I=2,B=0,X=0,Y=1,x=.5;class N extends _{constructor(c,n){super(n),this._clickRepulse=()=>{const t=this.container,i=t.actualOptions.interactivity.modes.repulse;if(!i)return;const e=t.repulse??{particles:[]};if(e.finish||(e.count||(e.count=0),e.count++,e.count===t.particles.count&&(e.finish=!0)),e.clicking){const s=t.retina.repulseModeDistance;if(!s||sthis.isEnabled(l));for(const l of a){const{dx:p,dy:f,distance:m}=O(u,l.position),d=m**I,v=i.speed,k=-r*v/d;if(d<=r){e.particles.push(l);const R=b.create(p,f);R.length=k,l.velocity.setTo(R)}}}else if(e.clicking===!1){for(const s of e.particles)s.velocity.setTo(s.initialVelocity);e.particles=[]}},this._hoverRepulse=()=>{const t=this.container,i=t.interactivity.mouse.position,e=t.retina.repulseModeDistance;!e||e{const r=this.container,u=r.particles.quadTree.query(e,v=>this.isEnabled(v)),o=r.actualOptions.interactivity.modes.repulse;if(!o)return;const{easing:a,speed:l,factor:p,maxSpeed:f}=o,m=w(a),d=((s==null?void 0:s.speed)??l)*p;for(const v of u){const{dx:k,dy:R,distance:y}=O(v.position,t),E=S(m(Y-y/i)*d,X,f),q=b.create(y?k/y*E:d,y?R/y*E:d);v.position.addTo(q)}},this._singleSelectorRepulse=(t,i)=>{const e=this.container,s=e.actualOptions.interactivity.modes.repulse;if(!s)return;const r=document.querySelectorAll(t);r.length&&r.forEach(u=>{const o=u,a=e.retina.pixelRatio,l={x:(o.offsetLeft+o.offsetWidth*x)*a,y:(o.offsetTop+o.offsetHeight*x)*a},p=o.offsetWidth*x*a,f=i.type==="circle"?new M(l.x,l.y,p):new D(o.offsetLeft*a,o.offsetTop*a,o.offsetWidth*a,o.offsetHeight*a),m=s.divs,d=C(m,o);this._processRepulse(l,p,f,d)})},this._engine=c,n.repulse||(n.repulse={particles:[]}),this.handleClickMode=t=>{const i=this.container.actualOptions,e=i.interactivity.modes.repulse;if(!e||t!==h)return;n.repulse||(n.repulse={particles:[]});const s=n.repulse;s.clicking=!0,s.count=0;for(const r of n.repulse.particles)this.isEnabled(r)&&r.velocity.setTo(r.initialVelocity);s.particles=[],s.finish=!1,setTimeout(()=>{n.destroyed||(s.clicking=!1)},e.duration*P)}}clear(){}init(){const c=this.container,n=c.actualOptions.interactivity.modes.repulse;n&&(c.retina.repulseModeDistance=n.distance*c.retina.pixelRatio)}interact(){const c=this.container,n=c.actualOptions,t=c.interactivity.status===H,i=n.interactivity.events,e=i.onHover,s=e.enable,r=e.mode,u=i.onClick,o=u.enable,a=u.mode,l=i.onDiv;t&&s&&g(h,r)?this._hoverRepulse():o&&g(h,a)?this._clickRepulse():V(h,l,(p,f)=>this._singleSelectorRepulse(p,f))}isEnabled(c){const n=this.container,t=n.actualOptions,i=n.interactivity.mouse,e=((c==null?void 0:c.interactivity)??t.interactivity).events,s=e.onDiv,r=e.onHover,u=e.onClick,o=W(h,s);if(!(o||r.enable&&i.position||u.enable&&i.clickPosition))return!1;const a=r.mode,l=u.mode;return g(h,a)||g(h,l)||o}loadModeOptions(c,...n){c.repulse||(c.repulse=new T);for(const t of n)c.repulse.load(t==null?void 0:t.repulse)}reset(){}}export{N as Repulser}; +import{Repulse as T}from"./index-DAyO1b0R.js";import{E as _}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as M,R as D}from"./Ranges-DnczzUUT.js";import{W as O,O as b,X as w,L as S,a6 as C,q as P,t as H,S as g,Y as V,a2 as W}from"./index-CJxpASZZ.js";const h="repulse",F=0,L=6,A=3,I=2,B=0,X=0,Y=1,x=.5;class N extends _{constructor(c,n){super(n),this._clickRepulse=()=>{const t=this.container,i=t.actualOptions.interactivity.modes.repulse;if(!i)return;const e=t.repulse??{particles:[]};if(e.finish||(e.count||(e.count=0),e.count++,e.count===t.particles.count&&(e.finish=!0)),e.clicking){const s=t.retina.repulseModeDistance;if(!s||sthis.isEnabled(l));for(const l of a){const{dx:p,dy:f,distance:m}=O(u,l.position),d=m**I,v=i.speed,k=-r*v/d;if(d<=r){e.particles.push(l);const R=b.create(p,f);R.length=k,l.velocity.setTo(R)}}}else if(e.clicking===!1){for(const s of e.particles)s.velocity.setTo(s.initialVelocity);e.particles=[]}},this._hoverRepulse=()=>{const t=this.container,i=t.interactivity.mouse.position,e=t.retina.repulseModeDistance;!e||e{const r=this.container,u=r.particles.quadTree.query(e,v=>this.isEnabled(v)),o=r.actualOptions.interactivity.modes.repulse;if(!o)return;const{easing:a,speed:l,factor:p,maxSpeed:f}=o,m=w(a),d=((s==null?void 0:s.speed)??l)*p;for(const v of u){const{dx:k,dy:R,distance:y}=O(v.position,t),E=S(m(Y-y/i)*d,X,f),q=b.create(y?k/y*E:d,y?R/y*E:d);v.position.addTo(q)}},this._singleSelectorRepulse=(t,i)=>{const e=this.container,s=e.actualOptions.interactivity.modes.repulse;if(!s)return;const r=document.querySelectorAll(t);r.length&&r.forEach(u=>{const o=u,a=e.retina.pixelRatio,l={x:(o.offsetLeft+o.offsetWidth*x)*a,y:(o.offsetTop+o.offsetHeight*x)*a},p=o.offsetWidth*x*a,f=i.type==="circle"?new M(l.x,l.y,p):new D(o.offsetLeft*a,o.offsetTop*a,o.offsetWidth*a,o.offsetHeight*a),m=s.divs,d=C(m,o);this._processRepulse(l,p,f,d)})},this._engine=c,n.repulse||(n.repulse={particles:[]}),this.handleClickMode=t=>{const i=this.container.actualOptions,e=i.interactivity.modes.repulse;if(!e||t!==h)return;n.repulse||(n.repulse={particles:[]});const s=n.repulse;s.clicking=!0,s.count=0;for(const r of n.repulse.particles)this.isEnabled(r)&&r.velocity.setTo(r.initialVelocity);s.particles=[],s.finish=!1,setTimeout(()=>{n.destroyed||(s.clicking=!1)},e.duration*P)}}clear(){}init(){const c=this.container,n=c.actualOptions.interactivity.modes.repulse;n&&(c.retina.repulseModeDistance=n.distance*c.retina.pixelRatio)}interact(){const c=this.container,n=c.actualOptions,t=c.interactivity.status===H,i=n.interactivity.events,e=i.onHover,s=e.enable,r=e.mode,u=i.onClick,o=u.enable,a=u.mode,l=i.onDiv;t&&s&&g(h,r)?this._hoverRepulse():o&&g(h,a)?this._clickRepulse():V(h,l,(p,f)=>this._singleSelectorRepulse(p,f))}isEnabled(c){const n=this.container,t=n.actualOptions,i=n.interactivity.mouse,e=((c==null?void 0:c.interactivity)??t.interactivity).events,s=e.onDiv,r=e.onHover,u=e.onClick,o=W(h,s);if(!(o||r.enable&&i.position||u.enable&&i.clickPosition))return!1;const a=r.mode,l=u.mode;return g(h,a)||g(h,l)||o}loadModeOptions(c,...n){c.repulse||(c.repulse=new T);for(const t of n)c.repulse.load(t==null?void 0:t.repulse)}reset(){}}export{N as Repulser}; diff --git a/dist/assets/RotateUpdater-D9suAhld.js b/dist/assets/RotateUpdater-BLDUlKfi.js similarity index 91% rename from dist/assets/RotateUpdater-D9suAhld.js rename to dist/assets/RotateUpdater-BLDUlKfi.js index 5f9d48b..9cbaeb4 100644 --- a/dist/assets/RotateUpdater-D9suAhld.js +++ b/dist/assets/RotateUpdater-BLDUlKfi.js @@ -1 +1 @@ -import{s as a,G as c,H as i,J as r,ab as u}from"./index-CYTvHIKC.js";import{V as f}from"./ValueWithRandom-IhTq0bgn.js";class h{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=a(e.speed)),e.decay!==void 0&&(this.decay=a(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class l extends f{constructor(){super(),this.animation=new h,this.direction="clockwise",this.path=!1,this.value=0}load(e){e&&(super.load(e),e.direction!==void 0&&(this.direction=e.direction),this.animation.load(e.animation),e.path!==void 0&&(this.path=e.path))}}const d=2,m=Math.PI*d,b=1,y=360;class p{constructor(e){this.container=e}init(e){const t=e.options.rotate;if(!t)return;e.rotate={enable:t.animation.enable,value:c(i(t.value)),min:0,max:m},e.pathRotation=t.path;let n=t.direction;switch(n==="random"&&(n=Math.floor(r()*d)>0?"counter-clockwise":"clockwise"),n){case"counter-clockwise":case"counterClockwise":e.rotate.status="decreasing";break;case"clockwise":e.rotate.status="increasing";break}const o=t.animation;o.enable&&(e.rotate.decay=b-i(o.decay),e.rotate.velocity=i(o.speed)/y*this.container.retina.reduceFactor,o.sync||(e.rotate.velocity*=r())),e.rotation=e.rotate.value}isEnabled(e){const t=e.options.rotate;return t?!e.destroyed&&!e.spawning&&t.animation.enable&&!t.path:!1}loadOptions(e,...t){e.rotate||(e.rotate=new l);for(const n of t)e.rotate.load(n==null?void 0:n.rotate)}update(e,t){this.isEnabled(e)&&e.rotate&&(u(e,e.rotate,!1,"none",t),e.rotation=e.rotate.value)}}export{p as RotateUpdater}; +import{s as a,G as c,H as i,J as r,ab as u}from"./index-CJxpASZZ.js";import{V as f}from"./ValueWithRandom-WRswW1do.js";class h{constructor(){this.enable=!1,this.speed=0,this.decay=0,this.sync=!1}load(e){e&&(e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=a(e.speed)),e.decay!==void 0&&(this.decay=a(e.decay)),e.sync!==void 0&&(this.sync=e.sync))}}class l extends f{constructor(){super(),this.animation=new h,this.direction="clockwise",this.path=!1,this.value=0}load(e){e&&(super.load(e),e.direction!==void 0&&(this.direction=e.direction),this.animation.load(e.animation),e.path!==void 0&&(this.path=e.path))}}const d=2,m=Math.PI*d,b=1,y=360;class p{constructor(e){this.container=e}init(e){const t=e.options.rotate;if(!t)return;e.rotate={enable:t.animation.enable,value:c(i(t.value)),min:0,max:m},e.pathRotation=t.path;let n=t.direction;switch(n==="random"&&(n=Math.floor(r()*d)>0?"counter-clockwise":"clockwise"),n){case"counter-clockwise":case"counterClockwise":e.rotate.status="decreasing";break;case"clockwise":e.rotate.status="increasing";break}const o=t.animation;o.enable&&(e.rotate.decay=b-i(o.decay),e.rotate.velocity=i(o.speed)/y*this.container.retina.reduceFactor,o.sync||(e.rotate.velocity*=r())),e.rotation=e.rotate.value}isEnabled(e){const t=e.options.rotate;return t?!e.destroyed&&!e.spawning&&t.animation.enable&&!t.path:!1}loadOptions(e,...t){e.rotate||(e.rotate=new l);for(const n of t)e.rotate.load(n==null?void 0:n.rotate)}update(e,t){this.isEnabled(e)&&e.rotate&&(u(e,e.rotate,!1,"none",t),e.rotation=e.rotate.value)}}export{p as RotateUpdater}; diff --git a/dist/assets/SizeUpdater-cq6r4nVV.js b/dist/assets/SizeUpdater-ALTtXy7g.js similarity index 88% rename from dist/assets/SizeUpdater-cq6r4nVV.js rename to dist/assets/SizeUpdater-ALTtXy7g.js index 7c5b167..803dede 100644 --- a/dist/assets/SizeUpdater-cq6r4nVV.js +++ b/dist/assets/SizeUpdater-ALTtXy7g.js @@ -1 +1 @@ -import{ae as t,J as a,ab as z}from"./index-CYTvHIKC.js";const n=0;class r{init(e){const s=e.container,i=e.options.size,o=i.animation;o.enable&&(e.size.velocity=(e.retina.sizeAnimationSpeed??s.retina.sizeAnimationSpeed)/t*s.retina.reduceFactor,o.sync||(e.size.velocity*=a()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??n)<=n||(e.size.maxLoops??n)>n&&(e.size.loops??n)<(e.size.maxLoops??n))}reset(e){e.size.loops=n}update(e,s){this.isEnabled(e)&&z(e,e.size,!0,e.options.size.animation.destroy,s)}}export{r as SizeUpdater}; +import{ae as t,J as a,ab as z}from"./index-CJxpASZZ.js";const n=0;class r{init(e){const s=e.container,i=e.options.size,o=i.animation;o.enable&&(e.size.velocity=(e.retina.sizeAnimationSpeed??s.retina.sizeAnimationSpeed)/t*s.retina.reduceFactor,o.sync||(e.size.velocity*=a()))}isEnabled(e){return!e.destroyed&&!e.spawning&&e.size.enable&&((e.size.maxLoops??n)<=n||(e.size.maxLoops??n)>n&&(e.size.loops??n)<(e.size.maxLoops??n))}reset(e){e.size.loops=n}update(e,s){this.isEnabled(e)&&z(e,e.size,!0,e.options.size.animation.destroy,s)}}export{r as SizeUpdater}; diff --git a/dist/assets/Slower-CTjdsgS2.js b/dist/assets/Slower-DfyMD098.js similarity index 87% rename from dist/assets/Slower-CTjdsgS2.js rename to dist/assets/Slower-DfyMD098.js index 599dc83..0de7a97 100644 --- a/dist/assets/Slower-CTjdsgS2.js +++ b/dist/assets/Slower-DfyMD098.js @@ -1 +1 @@ -import{Slow as u}from"./index-DFBCnyY0.js";import{E as d}from"./ExternalInteractorBase-CIi3zRdK.js";import{S as m,K as f}from"./index-CYTvHIKC.js";const v="slow",y=0;class O extends d{constructor(o){super(o)}clear(o,t,i){o.slow.inRange&&!i||(o.slow.factor=1)}init(){const o=this.container,t=o.actualOptions.interactivity.modes.slow;t&&(o.retina.slowModeRadius=t.radius*o.retina.pixelRatio)}interact(){}isEnabled(o){const t=this.container,i=t.interactivity.mouse,s=((o==null?void 0:o.interactivity)??t.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&m(v,s.onHover.mode)}loadModeOptions(o,...t){o.slow||(o.slow=new u);for(const i of t)o.slow.load(i==null?void 0:i.slow)}reset(o){o.slow.inRange=!1;const t=this.container,i=t.actualOptions,s=t.interactivity.mouse.position,n=t.retina.slowModeRadius,e=i.interactivity.modes.slow;if(!e||!n||nn||(a.inRange=!0,a.factor=l/w)}}export{O as Slower}; +import{Slow as u}from"./index-eJScRzjX.js";import{E as d}from"./ExternalInteractorBase-CIi3zRdK.js";import{S as m,K as f}from"./index-CJxpASZZ.js";const v="slow",y=0;class O extends d{constructor(o){super(o)}clear(o,t,i){o.slow.inRange&&!i||(o.slow.factor=1)}init(){const o=this.container,t=o.actualOptions.interactivity.modes.slow;t&&(o.retina.slowModeRadius=t.radius*o.retina.pixelRatio)}interact(){}isEnabled(o){const t=this.container,i=t.interactivity.mouse,s=((o==null?void 0:o.interactivity)??t.actualOptions.interactivity).events;return s.onHover.enable&&!!i.position&&m(v,s.onHover.mode)}loadModeOptions(o,...t){o.slow||(o.slow=new u);for(const i of t)o.slow.load(i==null?void 0:i.slow)}reset(o){o.slow.inRange=!1;const t=this.container,i=t.actualOptions,s=t.interactivity.mouse.position,n=t.retina.slowModeRadius,e=i.interactivity.modes.slow;if(!e||!n||nn||(a.inRange=!0,a.factor=l/w)}}export{O as Slower}; diff --git a/dist/assets/StarDrawer-Bnui4PB3.js b/dist/assets/StarDrawer-DTO10XcW.js similarity index 87% rename from dist/assets/StarDrawer-Bnui4PB3.js rename to dist/assets/StarDrawer-DTO10XcW.js index a405ff2..873156c 100644 --- a/dist/assets/StarDrawer-Bnui4PB3.js +++ b/dist/assets/StarDrawer-DTO10XcW.js @@ -1 +1 @@ -import{H as i}from"./index-CYTvHIKC.js";const c=2,s={x:0,y:0};function l(o){const{context:t,particle:e,radius:a}=o,n=e.sides,d=e.starInset??c;t.moveTo(s.x,s.y-a);for(let r=0;r __vite__mapDeps.viteFileDeps[i]) } -import{_ as O}from"./index-CYTvHIKC.js";const R=[0,4,2,1],G=[8,8,4,2];class U{constructor(a){this.pos=0,this.data=new Uint8ClampedArray(a)}getString(a){const s=this.data.slice(this.pos,this.pos+a);return this.pos+=s.length,s.reduce((n,f)=>n+String.fromCharCode(f),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let a="",s=0;const n=0,f=0;do{s=this.data[this.pos++];for(let e=s;--e>=n;a+=String.fromCharCode(this.data[this.pos++]));}while(s!==f);return a}readSubBlocksBin(){let a=this.data[this.pos],s=0;const n=0,f=1;for(let o=0;a!==n;o+=a+f,a=this.data[this.pos+o])s+=a;const e=new Uint8Array(s);a=this.data[this.pos++];for(let o=0;a!==n;a=this.data[this.pos++])for(let r=a;--r>=n;e[o++]=this.data[this.pos++]);return e}skipSubBlocks(){for(const a=1,s=0;this.data[this.pos]!==s;this.pos+=this.data[this.pos]+a);this.pos++}}const u={x:0,y:0},N=0,L=.5,$=0,A=0,z=0;function _(t,a){const s=[];for(let n=0;n>>5,f.disposalMethod=(e&28)>>>2,f.userInputDelayFlag=(e&2)===2;const o=(e&1)===1;f.delayTime=t.nextTwoBytes()*10;const r=t.nextByte();o&&n(r),t.pos++;break}case 255:{t.pos++;const f={identifier:t.getString(8),authenticationCode:t.getString(3),data:t.readSubBlocksBin()};a.applicationExtensions.push(f);break}case 254:{a.comments.push([s(!1),t.readSubBlocks()]);break}case 1:{if(a.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");t.pos++,a.frames[s(!1)].plainTextData={left:t.nextTwoBytes(),top:t.nextTwoBytes(),width:t.nextTwoBytes(),height:t.nextTwoBytes(),charSize:{width:t.nextTwoBytes(),height:t.nextTwoBytes()},foregroundColor:t.nextByte(),backgroundColor:t.nextByte(),text:t.readSubBlocks()};break}default:t.skipSubBlocks();break}}async function W(t,a,s,n,f,e){const o=a.frames[n(!0)];o.left=t.nextTwoBytes(),o.top=t.nextTwoBytes(),o.width=t.nextTwoBytes(),o.height=t.nextTwoBytes();const r=t.nextByte(),x=(r&128)===128,d=(r&64)===64;o.sortFlag=(r&32)===32,o.reserved=(r&24)>>>3;const c=1<<(r&7)+1;x&&(o.localColorTable=_(t,c));const m=l=>{const{r:h,g:p,b:i}=(x?o.localColorTable:a.globalColorTable)[l];return l!==f(null)?{r:h,g:p,b:i,a:255}:{r:h,g:p,b:i,a:s?~~((h+p+i)/3):0}},B=(()=>{try{return new ImageData(o.width,o.height,{colorSpace:"srgb"})}catch(l){if(l instanceof DOMException&&l.name==="IndexSizeError")return null;throw l}})();if(B==null)throw new EvalError("GIF frame size is to large");const D=t.nextByte(),b=t.readSubBlocksBin(),w=1<{const p=l>>>3,i=l&7;return(b[p]+(b[p+1]<<8)+(b[p+2]<<16)&(1<>>i};if(d){for(let l=0,h=D+1,p=0,i=[[0]],I=0;I<4;I++){if(R[I]=i.length?i.push(i[E].concat(i[E][0])):E!==w&&i.push(i[E].concat(i[l][0]));for(const C of i[l]){const{r:v,g:F,b:P,a:M}=m(C);B.data.set([v,F,P,M],R[I]*o.width+G[I]*y+g%(o.width*4)),g+=4}i.length===1<=o.height&&(T=!0))}}e==null||e(t.pos/(t.data.length-1),n(!1)+1,B,{x:o.left,y:o.top},{width:a.width,height:a.height})}o.image=B,o.bitmap=await createImageBitmap(B)}else{let l=0,h=D+1,p=0,i=-4,I=!1;const g=[[0]];for(;!I;){const y=l;if(l=k(p,h),p+=h,l===w){h=D+1,g.length=w+2;for(let T=0;T=g.length?g.push(g[y].concat(g[y][0])):y!==w&&g.push(g[y].concat(g[l][0]));for(const T of g[l]){const{r:E,g:C,b:v,a:F}=m(T);B.data.set([E,C,v,F],i+=4)}g.length>=1<>>4,e.sortFlag=(r&8)===8;const d=1<<(r&7)+1,c=o.nextByte();e.pixelAspectRatio=o.nextByte(),e.pixelAspectRatio!==0&&(e.pixelAspectRatio=(e.pixelAspectRatio+15)/64),x&&(e.globalColorTable=_(o,d));const m=(()=>{try{return new ImageData(e.width,e.height,{colorSpace:"srgb"})}catch(i){if(i instanceof DOMException&&i.name==="IndexSizeError")return null;throw i}})();if(m==null)throw new Error("GIF frame size is to large");const{r:B,g:D,b}=e.globalColorTable[c];m.data.set(x?[B,D,b,255]:[0,0,0,0]);for(let i=4;i(i&&(k=!0),w),p=i=>(i!=null&&(l=i),l);try{do k&&(e.frames.push({left:0,top:0,width:0,height:0,disposalMethod:0,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),w++,l=-1,k=!1);while(!await j(o,e,s,h,p,a));e.frames.length--;for(const i of e.frames){if(i.userInputDelayFlag&&i.delayTime===0){e.totalTime=1/0;break}e.totalTime+=i.delayTime}return e}catch(i){throw i instanceof EvalError?new Error(`error while parsing frame ${w} "${i.message}"`):i}}function K(t){const{context:a,radius:s,particle:n,delta:f}=t,e=n.image;if(!(e!=null&&e.gifData)||!e.gif)return;const o=new OffscreenCanvas(e.gifData.width,e.gifData.height),r=o.getContext("2d");if(!r)throw new Error("could not create offscreen canvas context");r.imageSmoothingQuality="low",r.imageSmoothingEnabled=!1,r.clearRect(u.x,u.y,o.width,o.height),n.gifLoopCount===void 0&&(n.gifLoopCount=e.gifLoopCount??z);let x=n.gifFrame??N;const d={x:-e.gifData.width*L,y:-e.gifData.height*L},c=e.gifData.frames[x];if(n.gifTime===void 0&&(n.gifTime=$),!!c.bitmap){switch(a.scale(s/e.gifData.width,s/e.gifData.height),c.disposalMethod){case 4:case 5:case 6:case 7:case 0:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height);break;case 1:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y);break;case 2:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height),e.gifData.globalColorTable.length?r.putImageData(e.gifData.backgroundImage,d.x,d.y):r.putImageData(e.gifData.frames[A].image,d.x+c.left,d.y+c.top);break;case 3:{const m=r.getImageData(u.x,u.y,o.width,o.height);r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height),r.putImageData(m,u.x,u.y)}break}if(n.gifTime+=f.value,n.gifTime>c.delayTime){if(n.gifTime-=c.delayTime,++x>=e.gifData.frames.length){if(--n.gifLoopCount<=z)return;x=A,r.clearRect(u.x,u.y,o.width,o.height)}n.gifFrame=x}a.scale(e.gifData.width/s,e.gifData.height/s)}}async function V(t){if(t.type!=="gif"){const{loadImage:a}=await O(()=>import("./index-BokV6Z4q.js").then(s=>s.U),__vite__mapDeps([0,1,2]));await a(t);return}t.loading=!0;try{t.gifData=await H(t.source),t.gifLoopCount=q(t.gifData)??z,t.gifLoopCount||(t.gifLoopCount=1/0)}catch{t.error=!0}t.loading=!1}export{H as decodeGIF,K as drawGif,q as getGIFLoopAmount,V as loadGifImage}; +import{_ as O}from"./index-CJxpASZZ.js";const R=[0,4,2,1],G=[8,8,4,2];class U{constructor(a){this.pos=0,this.data=new Uint8ClampedArray(a)}getString(a){const s=this.data.slice(this.pos,this.pos+a);return this.pos+=s.length,s.reduce((n,f)=>n+String.fromCharCode(f),"")}nextByte(){return this.data[this.pos++]}nextTwoBytes(){return this.pos+=2,this.data[this.pos-2]+(this.data[this.pos-1]<<8)}readSubBlocks(){let a="",s=0;const n=0,f=0;do{s=this.data[this.pos++];for(let e=s;--e>=n;a+=String.fromCharCode(this.data[this.pos++]));}while(s!==f);return a}readSubBlocksBin(){let a=this.data[this.pos],s=0;const n=0,f=1;for(let o=0;a!==n;o+=a+f,a=this.data[this.pos+o])s+=a;const e=new Uint8Array(s);a=this.data[this.pos++];for(let o=0;a!==n;a=this.data[this.pos++])for(let r=a;--r>=n;e[o++]=this.data[this.pos++]);return e}skipSubBlocks(){for(const a=1,s=0;this.data[this.pos]!==s;this.pos+=this.data[this.pos]+a);this.pos++}}const u={x:0,y:0},N=0,L=.5,$=0,A=0,z=0;function _(t,a){const s=[];for(let n=0;n>>5,f.disposalMethod=(e&28)>>>2,f.userInputDelayFlag=(e&2)===2;const o=(e&1)===1;f.delayTime=t.nextTwoBytes()*10;const r=t.nextByte();o&&n(r),t.pos++;break}case 255:{t.pos++;const f={identifier:t.getString(8),authenticationCode:t.getString(3),data:t.readSubBlocksBin()};a.applicationExtensions.push(f);break}case 254:{a.comments.push([s(!1),t.readSubBlocks()]);break}case 1:{if(a.globalColorTable.length===0)throw new EvalError("plain text extension without global color table");t.pos++,a.frames[s(!1)].plainTextData={left:t.nextTwoBytes(),top:t.nextTwoBytes(),width:t.nextTwoBytes(),height:t.nextTwoBytes(),charSize:{width:t.nextTwoBytes(),height:t.nextTwoBytes()},foregroundColor:t.nextByte(),backgroundColor:t.nextByte(),text:t.readSubBlocks()};break}default:t.skipSubBlocks();break}}async function W(t,a,s,n,f,e){const o=a.frames[n(!0)];o.left=t.nextTwoBytes(),o.top=t.nextTwoBytes(),o.width=t.nextTwoBytes(),o.height=t.nextTwoBytes();const r=t.nextByte(),x=(r&128)===128,d=(r&64)===64;o.sortFlag=(r&32)===32,o.reserved=(r&24)>>>3;const c=1<<(r&7)+1;x&&(o.localColorTable=_(t,c));const m=l=>{const{r:h,g:p,b:i}=(x?o.localColorTable:a.globalColorTable)[l];return l!==f(null)?{r:h,g:p,b:i,a:255}:{r:h,g:p,b:i,a:s?~~((h+p+i)/3):0}},B=(()=>{try{return new ImageData(o.width,o.height,{colorSpace:"srgb"})}catch(l){if(l instanceof DOMException&&l.name==="IndexSizeError")return null;throw l}})();if(B==null)throw new EvalError("GIF frame size is to large");const D=t.nextByte(),b=t.readSubBlocksBin(),w=1<{const p=l>>>3,i=l&7;return(b[p]+(b[p+1]<<8)+(b[p+2]<<16)&(1<>>i};if(d){for(let l=0,h=D+1,p=0,i=[[0]],I=0;I<4;I++){if(R[I]=i.length?i.push(i[E].concat(i[E][0])):E!==w&&i.push(i[E].concat(i[l][0]));for(const C of i[l]){const{r:v,g:F,b:P,a:M}=m(C);B.data.set([v,F,P,M],R[I]*o.width+G[I]*y+g%(o.width*4)),g+=4}i.length===1<=o.height&&(T=!0))}}e==null||e(t.pos/(t.data.length-1),n(!1)+1,B,{x:o.left,y:o.top},{width:a.width,height:a.height})}o.image=B,o.bitmap=await createImageBitmap(B)}else{let l=0,h=D+1,p=0,i=-4,I=!1;const g=[[0]];for(;!I;){const y=l;if(l=k(p,h),p+=h,l===w){h=D+1,g.length=w+2;for(let T=0;T=g.length?g.push(g[y].concat(g[y][0])):y!==w&&g.push(g[y].concat(g[l][0]));for(const T of g[l]){const{r:E,g:C,b:v,a:F}=m(T);B.data.set([E,C,v,F],i+=4)}g.length>=1<>>4,e.sortFlag=(r&8)===8;const d=1<<(r&7)+1,c=o.nextByte();e.pixelAspectRatio=o.nextByte(),e.pixelAspectRatio!==0&&(e.pixelAspectRatio=(e.pixelAspectRatio+15)/64),x&&(e.globalColorTable=_(o,d));const m=(()=>{try{return new ImageData(e.width,e.height,{colorSpace:"srgb"})}catch(i){if(i instanceof DOMException&&i.name==="IndexSizeError")return null;throw i}})();if(m==null)throw new Error("GIF frame size is to large");const{r:B,g:D,b}=e.globalColorTable[c];m.data.set(x?[B,D,b,255]:[0,0,0,0]);for(let i=4;i(i&&(k=!0),w),p=i=>(i!=null&&(l=i),l);try{do k&&(e.frames.push({left:0,top:0,width:0,height:0,disposalMethod:0,image:new ImageData(1,1,{colorSpace:"srgb"}),plainTextData:null,userInputDelayFlag:!1,delayTime:0,sortFlag:!1,localColorTable:[],reserved:0,GCreserved:0}),w++,l=-1,k=!1);while(!await j(o,e,s,h,p,a));e.frames.length--;for(const i of e.frames){if(i.userInputDelayFlag&&i.delayTime===0){e.totalTime=1/0;break}e.totalTime+=i.delayTime}return e}catch(i){throw i instanceof EvalError?new Error(`error while parsing frame ${w} "${i.message}"`):i}}function K(t){const{context:a,radius:s,particle:n,delta:f}=t,e=n.image;if(!(e!=null&&e.gifData)||!e.gif)return;const o=new OffscreenCanvas(e.gifData.width,e.gifData.height),r=o.getContext("2d");if(!r)throw new Error("could not create offscreen canvas context");r.imageSmoothingQuality="low",r.imageSmoothingEnabled=!1,r.clearRect(u.x,u.y,o.width,o.height),n.gifLoopCount===void 0&&(n.gifLoopCount=e.gifLoopCount??z);let x=n.gifFrame??N;const d={x:-e.gifData.width*L,y:-e.gifData.height*L},c=e.gifData.frames[x];if(n.gifTime===void 0&&(n.gifTime=$),!!c.bitmap){switch(a.scale(s/e.gifData.width,s/e.gifData.height),c.disposalMethod){case 4:case 5:case 6:case 7:case 0:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height);break;case 1:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y);break;case 2:r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height),e.gifData.globalColorTable.length?r.putImageData(e.gifData.backgroundImage,d.x,d.y):r.putImageData(e.gifData.frames[A].image,d.x+c.left,d.y+c.top);break;case 3:{const m=r.getImageData(u.x,u.y,o.width,o.height);r.drawImage(c.bitmap,c.left,c.top),a.drawImage(o,d.x,d.y),r.clearRect(u.x,u.y,o.width,o.height),r.putImageData(m,u.x,u.y)}break}if(n.gifTime+=f.value,n.gifTime>c.delayTime){if(n.gifTime-=c.delayTime,++x>=e.gifData.frames.length){if(--n.gifLoopCount<=z)return;x=A,r.clearRect(u.x,u.y,o.width,o.height)}n.gifFrame=x}a.scale(e.gifData.width/s,e.gifData.height/s)}}async function V(t){if(t.type!=="gif"){const{loadImage:a}=await O(()=>import("./index-BfyEaXEK.js").then(s=>s.U),__vite__mapDeps([0,1,2]));await a(t);return}t.loading=!0;try{t.gifData=await H(t.source),t.gifLoopCount=q(t.gifData)??z,t.gifLoopCount||(t.gifLoopCount=1/0)}catch{t.error=!0}t.loading=!1}export{H as decodeGIF,K as drawGif,q as getGIFLoopAmount,V as loadGifImage}; diff --git a/dist/assets/ValueWithRandom-IhTq0bgn.js b/dist/assets/ValueWithRandom-WRswW1do.js similarity index 93% rename from dist/assets/ValueWithRandom-IhTq0bgn.js rename to dist/assets/ValueWithRandom-WRswW1do.js index 4a8d501..d203e40 100644 --- a/dist/assets/ValueWithRandom-IhTq0bgn.js +++ b/dist/assets/ValueWithRandom-WRswW1do.js @@ -1 +1 @@ -import{s as n}from"./index-CYTvHIKC.js";class t{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){e&&(e.count!==void 0&&(this.count=n(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=n(e.speed)),e.decay!==void 0&&(this.decay=n(e.decay)),e.delay!==void 0&&(this.delay=n(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class o extends t{constructor(){super(),this.mode="auto",this.startValue="random"}load(e){super.load(e),e&&(e.mode!==void 0&&(this.mode=e.mode),e.startValue!==void 0&&(this.startValue=e.startValue))}}class u{constructor(){this.value=0}load(e){e&&e.value!==void 0&&(this.value=n(e.value))}}class l extends u{constructor(){super(),this.animation=new t}load(e){if(super.load(e),!e)return;const s=e.animation;s!==void 0&&this.animation.load(s)}}class r extends l{constructor(){super(),this.animation=new o}load(e){super.load(e)}}export{t as A,o as R,u as V,r as a}; +import{s as n}from"./index-CJxpASZZ.js";class t{constructor(){this.count=0,this.enable=!1,this.speed=1,this.decay=0,this.delay=0,this.sync=!1}load(e){e&&(e.count!==void 0&&(this.count=n(e.count)),e.enable!==void 0&&(this.enable=e.enable),e.speed!==void 0&&(this.speed=n(e.speed)),e.decay!==void 0&&(this.decay=n(e.decay)),e.delay!==void 0&&(this.delay=n(e.delay)),e.sync!==void 0&&(this.sync=e.sync))}}class o extends t{constructor(){super(),this.mode="auto",this.startValue="random"}load(e){super.load(e),e&&(e.mode!==void 0&&(this.mode=e.mode),e.startValue!==void 0&&(this.startValue=e.startValue))}}class u{constructor(){this.value=0}load(e){e&&e.value!==void 0&&(this.value=n(e.value))}}class l extends u{constructor(){super(),this.animation=new t}load(e){if(super.load(e),!e)return;const s=e.animation;s!==void 0&&this.animation.load(s)}}class r extends l{constructor(){super(),this.animation=new o}load(e){super.load(e)}}export{t as A,o as R,u as V,r as a}; diff --git a/dist/assets/index-Bbwg56dV.js b/dist/assets/index-12eRyUHC.js similarity index 51% rename from dist/assets/index-Bbwg56dV.js rename to dist/assets/index-12eRyUHC.js index ada264d..94d4bc8 100644 --- a/dist/assets/index-Bbwg56dV.js +++ b/dist/assets/index-12eRyUHC.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/ColorUpdater-DcmAjPUW.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] + __vite__mapDeps.viteFileDeps = ["assets/ColorUpdater-CjM1uvvy.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-CYTvHIKC.js";async function i(r,o=!0){await r.addParticleUpdater("color",async t=>{const{ColorUpdater:a}=await e(()=>import("./ColorUpdater-DcmAjPUW.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadColorUpdater}; +import{_ as e}from"./index-CJxpASZZ.js";async function i(r,o=!0){await r.addParticleUpdater("color",async t=>{const{ColorUpdater:a}=await e(()=>import("./ColorUpdater-CjM1uvvy.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadColorUpdater}; diff --git a/dist/assets/index-4CydYdTS.js b/dist/assets/index-4CydYdTS.js new file mode 100644 index 0000000..e9f3f4d --- /dev/null +++ b/dist/assets/index-4CydYdTS.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/StrokeColorUpdater-lIbgEbOW.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as e}from"./index-CJxpASZZ.js";async function i(r,o=!0){await r.addParticleUpdater("strokeColor",async t=>{const{StrokeColorUpdater:a}=await e(()=>import("./StrokeColorUpdater-lIbgEbOW.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadStrokeColorUpdater}; diff --git a/dist/assets/index-DY_koAC4.js b/dist/assets/index-BQidWiOF.js similarity index 51% rename from dist/assets/index-DY_koAC4.js rename to dist/assets/index-BQidWiOF.js index c5b43ee..ee07d08 100644 --- a/dist/assets/index-DY_koAC4.js +++ b/dist/assets/index-BQidWiOF.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/SizeUpdater-cq6r4nVV.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] + __vite__mapDeps.viteFileDeps = ["assets/SizeUpdater-ALTtXy7g.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as r}from"./index-CYTvHIKC.js";async function o(t,a=!0){await t.addParticleUpdater("size",async()=>{const{SizeUpdater:e}=await r(()=>import("./SizeUpdater-cq6r4nVV.js"),__vite__mapDeps([0,1,2]));return new e},a)}export{o as loadSizeUpdater}; +import{_ as r}from"./index-CJxpASZZ.js";async function o(t,a=!0){await t.addParticleUpdater("size",async()=>{const{SizeUpdater:e}=await r(()=>import("./SizeUpdater-ALTtXy7g.js"),__vite__mapDeps([0,1,2]));return new e},a)}export{o as loadSizeUpdater}; diff --git a/dist/assets/index-Bv-lflEY.js b/dist/assets/index-BT7lNbQk.js similarity index 75% rename from dist/assets/index-Bv-lflEY.js rename to dist/assets/index-BT7lNbQk.js index a9c2d75..0a2e23b 100644 --- a/dist/assets/index-Bv-lflEY.js +++ b/dist/assets/index-BT7lNbQk.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/interaction-BLxfJpD6.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/plugin-CQXvz-Ho.js"] + __vite__mapDeps.viteFileDeps = ["assets/interaction-C6Nr9_mg.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/plugin-CPR_LDBZ.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-CYTvHIKC.js";import{O as n}from"./OptionsColor-JcjSYShv.js";class l{constructor(){this.blur=5,this.color=new n,this.color.value="#000",this.enable=!1}load(i){i&&(i.blur!==void 0&&(this.blur=i.blur),this.color=n.create(this.color,i.color),i.enable!==void 0&&(this.enable=i.enable))}}class t{constructor(){this.enable=!1,this.frequency=1}load(i){i&&(i.color!==void 0&&(this.color=n.create(this.color,i.color)),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=i.opacity))}}class h{constructor(){this.blink=!1,this.color=new n,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new l,this.triangles=new t,this.width=1,this.warp=!1}load(i){i&&(i.id!==void 0&&(this.id=i.id),i.blink!==void 0&&(this.blink=i.blink),this.color=n.create(this.color,i.color),i.consent!==void 0&&(this.consent=i.consent),i.distance!==void 0&&(this.distance=i.distance),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=i.opacity),this.shadow.load(i.shadow),this.triangles.load(i.triangles),i.width!==void 0&&(this.width=i.width),i.warp!==void 0&&(this.warp=i.warp))}}async function u(e,i=!0){const{loadLinksInteraction:o}=await s(()=>import("./interaction-BLxfJpD6.js"),__vite__mapDeps([0,1,2])),{loadLinksPlugin:r}=await s(()=>import("./plugin-CQXvz-Ho.js"),__vite__mapDeps([3,1,2]));await o(e,i),await r(e,i)}export{h as Links,l as LinksShadow,t as LinksTriangle,u as loadParticlesLinksInteraction}; +import{_ as s}from"./index-CJxpASZZ.js";import{O as n}from"./OptionsColor-HO1oIr3o.js";class l{constructor(){this.blur=5,this.color=new n,this.color.value="#000",this.enable=!1}load(i){i&&(i.blur!==void 0&&(this.blur=i.blur),this.color=n.create(this.color,i.color),i.enable!==void 0&&(this.enable=i.enable))}}class t{constructor(){this.enable=!1,this.frequency=1}load(i){i&&(i.color!==void 0&&(this.color=n.create(this.color,i.color)),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=i.opacity))}}class h{constructor(){this.blink=!1,this.color=new n,this.color.value="#fff",this.consent=!1,this.distance=100,this.enable=!1,this.frequency=1,this.opacity=1,this.shadow=new l,this.triangles=new t,this.width=1,this.warp=!1}load(i){i&&(i.id!==void 0&&(this.id=i.id),i.blink!==void 0&&(this.blink=i.blink),this.color=n.create(this.color,i.color),i.consent!==void 0&&(this.consent=i.consent),i.distance!==void 0&&(this.distance=i.distance),i.enable!==void 0&&(this.enable=i.enable),i.frequency!==void 0&&(this.frequency=i.frequency),i.opacity!==void 0&&(this.opacity=i.opacity),this.shadow.load(i.shadow),this.triangles.load(i.triangles),i.width!==void 0&&(this.width=i.width),i.warp!==void 0&&(this.warp=i.warp))}}async function u(e,i=!0){const{loadLinksInteraction:o}=await s(()=>import("./interaction-C6Nr9_mg.js"),__vite__mapDeps([0,1,2])),{loadLinksPlugin:r}=await s(()=>import("./plugin-CPR_LDBZ.js"),__vite__mapDeps([3,1,2]));await o(e,i),await r(e,i)}export{h as Links,l as LinksShadow,t as LinksTriangle,u as loadParticlesLinksInteraction}; diff --git a/dist/assets/index-d8vWEUa1.js b/dist/assets/index-BTRqI6_g.js similarity index 58% rename from dist/assets/index-d8vWEUa1.js rename to dist/assets/index-BTRqI6_g.js index 27143b7..73d7b66 100644 --- a/dist/assets/index-d8vWEUa1.js +++ b/dist/assets/index-BTRqI6_g.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/EmojiDrawer-DDsBwX7D.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] + __vite__mapDeps.viteFileDeps = ["assets/EmojiDrawer-DOFDawAt.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as a}from"./index-CYTvHIKC.js";const i=["emoji"];async function r(e,o=!0){const{EmojiDrawer:t}=await a(()=>import("./EmojiDrawer-DDsBwX7D.js"),__vite__mapDeps([0,1,2]));await e.addShape(i,new t,o)}const n=Object.freeze(Object.defineProperty({__proto__:null,loadEmojiShape:r},Symbol.toStringTag,{value:"Module"}));export{n as i,i as v}; +import{_ as a}from"./index-CJxpASZZ.js";const i=["emoji"];async function r(e,o=!0){const{EmojiDrawer:t}=await a(()=>import("./EmojiDrawer-DOFDawAt.js"),__vite__mapDeps([0,1,2]));await e.addShape(i,new t,o)}const n=Object.freeze(Object.defineProperty({__proto__:null,loadEmojiShape:r},Symbol.toStringTag,{value:"Module"}));export{n as i,i as v}; diff --git a/dist/assets/index-BokV6Z4q.js b/dist/assets/index-BfyEaXEK.js similarity index 88% rename from dist/assets/index-BokV6Z4q.js rename to dist/assets/index-BfyEaXEK.js index 549afdc..115f206 100644 --- a/dist/assets/index-BokV6Z4q.js +++ b/dist/assets/index-BfyEaXEK.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Utils-D6QePH9N.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/ImageDrawer-AnH4NJe9.js"] + __vite__mapDeps.viteFileDeps = ["assets/Utils-CH3RjhfV.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/ImageDrawer-CaRXWu4S.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{g as h,b as m,c as i,_ as u}from"./index-CYTvHIKC.js";const y=0,I=1,b=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function L(r,e,o){const{svgData:t}=r;if(!t)return"";const n=h(e,o);if(t.includes("fill"))return t.replace(b,()=>n);const s=t.indexOf(">");return`${t.substring(y,s)} fill="${n}"${t.substring(s)}`}async function a(r){return new Promise(e=>{r.loading=!0;const o=new Image;r.element=o,o.addEventListener("load",()=>{r.loading=!1,e()}),o.addEventListener("error",()=>{r.element=void 0,r.error=!0,r.loading=!1,m().error(`${i} loading image: ${r.source}`),e()}),o.src=r.source})}async function p(r){if(r.type!=="svg"){await a(r);return}r.loading=!0;const e=await fetch(r.source);e.ok?r.svgData=await e.text():(m().error(`${i} Image not found`),r.error=!0),r.loading=!1}function E(r,e,o,t){var g;const n=L(r,o,((g=t.opacity)==null?void 0:g.value)??I),s={color:o,gif:e.gif,data:{...r,svgData:n},loaded:!1,ratio:e.width/e.height,replaceColor:e.replaceColor,source:e.src};return new Promise(f=>{const _=new Blob([n],{type:"image/svg+xml"}),c=URL||window.URL||window.webkitURL||window,d=c.createObjectURL(_),l=new Image;l.addEventListener("load",()=>{s.loaded=!0,s.element=l,f(s),c.revokeObjectURL(d)});const v=async()=>{c.revokeObjectURL(d);const w={...r,error:!1,loading:!0};await a(w),s.loaded=!0,s.element=w.element,f(s)};l.addEventListener("error",()=>void v()),l.src=d})}const x=Object.freeze(Object.defineProperty({__proto__:null,downloadSvgImage:p,loadImage:a,replaceImageColor:E},Symbol.toStringTag,{value:"Module"})),O=3;function P(r){r.loadImage||(r.loadImage=async e=>{if(!e.name&&!e.src)throw new Error(`${i} no image source provided`);if(r.images||(r.images=[]),!r.images.find(o=>o.name===e.name||o.source===e.src))try{const o={gif:e.gif??!1,name:e.name??e.src,source:e.src,type:e.src.substring(e.src.length-O),error:!1,loading:!0,replaceColor:e.replaceColor,ratio:e.width&&e.height?e.width/e.height:void 0};r.images.push(o);let t;if(e.gif){const{loadGifImage:n}=await u(()=>import("./Utils-D6QePH9N.js"),__vite__mapDeps([0,1,2]));t=n}else t=e.replaceColor?p:a;await t(o)}catch{throw new Error(`${i} ${e.name??e.src} not found`)}})}async function R(r,e=!0){P(r);const{ImagePreloaderPlugin:o}=await u(()=>import("./ImagePreloader-wDGOXDcw.js"),[]),{ImageDrawer:t}=await u(()=>import("./ImageDrawer-AnH4NJe9.js"),__vite__mapDeps([3,0,1,2])),n=new o(r);await r.addPlugin(n,e),await r.addShape(["image","images"],new t(r),e)}const C=Object.freeze(Object.defineProperty({__proto__:null,loadImageShape:R},Symbol.toStringTag,{value:"Module"}));export{x as U,C as i,E as r}; +import{g as h,b as m,c as i,_ as u}from"./index-CJxpASZZ.js";const y=0,I=1,b=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d.]+%?\))|currentcolor/gi;function L(r,e,o){const{svgData:t}=r;if(!t)return"";const n=h(e,o);if(t.includes("fill"))return t.replace(b,()=>n);const s=t.indexOf(">");return`${t.substring(y,s)} fill="${n}"${t.substring(s)}`}async function a(r){return new Promise(e=>{r.loading=!0;const o=new Image;r.element=o,o.addEventListener("load",()=>{r.loading=!1,e()}),o.addEventListener("error",()=>{r.element=void 0,r.error=!0,r.loading=!1,m().error(`${i} loading image: ${r.source}`),e()}),o.src=r.source})}async function p(r){if(r.type!=="svg"){await a(r);return}r.loading=!0;const e=await fetch(r.source);e.ok?r.svgData=await e.text():(m().error(`${i} Image not found`),r.error=!0),r.loading=!1}function E(r,e,o,t){var g;const n=L(r,o,((g=t.opacity)==null?void 0:g.value)??I),s={color:o,gif:e.gif,data:{...r,svgData:n},loaded:!1,ratio:e.width/e.height,replaceColor:e.replaceColor,source:e.src};return new Promise(f=>{const _=new Blob([n],{type:"image/svg+xml"}),c=URL||window.URL||window.webkitURL||window,d=c.createObjectURL(_),l=new Image;l.addEventListener("load",()=>{s.loaded=!0,s.element=l,f(s),c.revokeObjectURL(d)});const v=async()=>{c.revokeObjectURL(d);const w={...r,error:!1,loading:!0};await a(w),s.loaded=!0,s.element=w.element,f(s)};l.addEventListener("error",()=>void v()),l.src=d})}const x=Object.freeze(Object.defineProperty({__proto__:null,downloadSvgImage:p,loadImage:a,replaceImageColor:E},Symbol.toStringTag,{value:"Module"})),O=3;function P(r){r.loadImage||(r.loadImage=async e=>{if(!e.name&&!e.src)throw new Error(`${i} no image source provided`);if(r.images||(r.images=[]),!r.images.find(o=>o.name===e.name||o.source===e.src))try{const o={gif:e.gif??!1,name:e.name??e.src,source:e.src,type:e.src.substring(e.src.length-O),error:!1,loading:!0,replaceColor:e.replaceColor,ratio:e.width&&e.height?e.width/e.height:void 0};r.images.push(o);let t;if(e.gif){const{loadGifImage:n}=await u(()=>import("./Utils-CH3RjhfV.js"),__vite__mapDeps([0,1,2]));t=n}else t=e.replaceColor?p:a;await t(o)}catch{throw new Error(`${i} ${e.name??e.src} not found`)}})}async function R(r,e=!0){P(r);const{ImagePreloaderPlugin:o}=await u(()=>import("./ImagePreloader-wDGOXDcw.js"),[]),{ImageDrawer:t}=await u(()=>import("./ImageDrawer-CaRXWu4S.js"),__vite__mapDeps([3,0,1,2])),n=new o(r);await r.addPlugin(n,e),await r.addShape(["image","images"],new t(r),e)}const C=Object.freeze(Object.defineProperty({__proto__:null,loadImageShape:R},Symbol.toStringTag,{value:"Module"}));export{x as U,C as i,E as r}; diff --git a/dist/assets/index-Bqwgzccm.js b/dist/assets/index-Bqwgzccm.js new file mode 100644 index 0000000..def3286 --- /dev/null +++ b/dist/assets/index-Bqwgzccm.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/StarDrawer-DTO10XcW.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as e}from"./index-CJxpASZZ.js";async function _(a,t=!0){const{StarDrawer:r}=await e(()=>import("./StarDrawer-DTO10XcW.js"),__vite__mapDeps([0,1,2]));await a.addShape("star",new r,t)}export{_ as loadStarShape}; diff --git a/dist/assets/index-BF_2OU0y.js b/dist/assets/index-BsW425tJ.js similarity index 54% rename from dist/assets/index-BF_2OU0y.js rename to dist/assets/index-BsW425tJ.js index afbb0f3..ab35515 100644 --- a/dist/assets/index-BF_2OU0y.js +++ b/dist/assets/index-BsW425tJ.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LifeUpdater-fZIcuExd.js","assets/ValueWithRandom-IhTq0bgn.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] + __vite__mapDeps.viteFileDeps = ["assets/LifeUpdater-BX8RmiNQ.js","assets/ValueWithRandom-WRswW1do.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-CYTvHIKC.js";async function d(t,a=!0){await t.addParticleUpdater("life",async e=>{const{LifeUpdater:r}=await i(()=>import("./LifeUpdater-fZIcuExd.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{d as loadLifeUpdater}; +import{_ as i}from"./index-CJxpASZZ.js";async function d(t,a=!0){await t.addParticleUpdater("life",async e=>{const{LifeUpdater:r}=await i(()=>import("./LifeUpdater-BX8RmiNQ.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{d as loadLifeUpdater}; diff --git a/dist/assets/index-DfzUO37-.js b/dist/assets/index-CCTRsWal.js similarity index 87% rename from dist/assets/index-DfzUO37-.js rename to dist/assets/index-CCTRsWal.js index be00a48..a22dbb0 100644 --- a/dist/assets/index-DfzUO37-.js +++ b/dist/assets/index-CCTRsWal.js @@ -4,4 +4,4 @@ function __vite__mapDeps(indexes) { } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as n}from"./index-CYTvHIKC.js";async function i(a,t=!0){await a.addInteractor("externalPause",async e=>{const{Pauser:r}=await n(()=>import("./Pauser-DNnHNTke.js"),__vite__mapDeps([0,1]));return new r(e)},t)}export{i as loadExternalPauseInteraction}; +import{_ as n}from"./index-CJxpASZZ.js";async function i(a,t=!0){await a.addInteractor("externalPause",async e=>{const{Pauser:r}=await n(()=>import("./Pauser-DNnHNTke.js"),__vite__mapDeps([0,1]));return new r(e)},t)}export{i as loadExternalPauseInteraction}; diff --git a/dist/assets/index-CFwvAdvn.js b/dist/assets/index-CFwvAdvn.js deleted file mode 100644 index c22d394..0000000 --- a/dist/assets/index-CFwvAdvn.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/index-D4tBx9a3.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/index-DaLviKN2.js","assets/index-Bbwg56dV.js","assets/index-DHeEEZMv.js","assets/index-B34GJMjC.js","assets/index-DY_koAC4.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as t}from"./index-CYTvHIKC.js";async function s(a,_=!0){const{loadBaseMover:o}=await t(()=>import("./index-D4tBx9a3.js"),__vite__mapDeps([0,1,2])),{loadCircleShape:i}=await t(()=>import("./index-DaLviKN2.js"),__vite__mapDeps([3,1,2])),{loadColorUpdater:r}=await t(()=>import("./index-Bbwg56dV.js"),__vite__mapDeps([4,1,2])),{loadOpacityUpdater:d}=await t(()=>import("./index-DHeEEZMv.js"),__vite__mapDeps([5,1,2])),{loadOutModesUpdater:e}=await t(()=>import("./index-B34GJMjC.js"),__vite__mapDeps([6,1,2])),{loadSizeUpdater:l}=await t(()=>import("./index-DY_koAC4.js"),__vite__mapDeps([7,1,2]));await o(a,!1),await i(a,!1),await r(a,!1),await d(a,!1),await e(a,!1),await l(a,!1),await a.refresh(_)}export{s as loadBasic}; diff --git a/dist/assets/index-CYTvHIKC.js b/dist/assets/index-CJxpASZZ.js similarity index 85% rename from dist/assets/index-CYTvHIKC.js rename to dist/assets/index-CJxpASZZ.js index 597855e..bbcdc69 100644 --- a/dist/assets/index-CYTvHIKC.js +++ b/dist/assets/index-CJxpASZZ.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Container-fhxgz11J.js","assets/CanvasUtils-DaiPNicA.js","assets/OptionsColor-JcjSYShv.js","assets/ValueWithRandom-IhTq0bgn.js","assets/Ranges-b1hBXe_8.js","assets/index-Cut2uYa8.js","assets/index-CosJ1068.js","assets/index-Bv-lflEY.js"] + __vite__mapDeps.viteFileDeps = ["assets/Container-a6gj1snr.js","assets/CanvasUtils-Drs4jJ1v.js","assets/OptionsColor-HO1oIr3o.js","assets/ValueWithRandom-WRswW1do.js","assets/Ranges-DnczzUUT.js","assets/index-vwL2_hww.js","assets/index-CznPTJO-.js","assets/index-BT7lNbQk.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -var Ip=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(Ip(e,t,"read from private field"),n?n.call(e):t.get(e)),X=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},G=(e,t,n,r)=>(Ip(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Nu=(e,t,n,r)=>({set _(i){G(e,t,i,n)},get _(){return _(e,t,r)}}),pe=(e,t,n)=>(Ip(e,t,"access private method"),n);function p_(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function iC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var oC={exports:{}},tf={},sC={exports:{}},fe={};/** +var Ip=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(Ip(e,t,"read from private field"),n?n.call(e):t.get(e)),X=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},G=(e,t,n,r)=>(Ip(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Nu=(e,t,n,r)=>({set _(i){G(e,t,i,n)},get _(){return _(e,t,r)}}),pe=(e,t,n)=>(Ip(e,t,"access private method"),n);function p_(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var sC={exports:{}},tf={},aC={exports:{}},fe={};/** * @license React * react.production.min.js * @@ -12,7 +12,7 @@ var Ip=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(Ip(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var mu=Symbol.for("react.element"),h_=Symbol.for("react.portal"),m_=Symbol.for("react.fragment"),g_=Symbol.for("react.strict_mode"),v_=Symbol.for("react.profiler"),y_=Symbol.for("react.provider"),x_=Symbol.for("react.context"),w_=Symbol.for("react.forward_ref"),b_=Symbol.for("react.suspense"),S_=Symbol.for("react.memo"),C_=Symbol.for("react.lazy"),r1=Symbol.iterator;function E_(e){return e===null||typeof e!="object"?null:(e=r1&&e[r1]||e["@@iterator"],typeof e=="function"?e:null)}var aC={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},lC=Object.assign,uC={};function na(e,t,n){this.props=e,this.context=t,this.refs=uC,this.updater=n||aC}na.prototype.isReactComponent={};na.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")};na.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function cC(){}cC.prototype=na.prototype;function f0(e,t,n){this.props=e,this.context=t,this.refs=uC,this.updater=n||aC}var p0=f0.prototype=new cC;p0.constructor=f0;lC(p0,na.prototype);p0.isPureReactComponent=!0;var i1=Array.isArray,dC=Object.prototype.hasOwnProperty,h0={current:null},fC={key:!0,ref:!0,__self:!0,__source:!0};function pC(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)dC.call(t,r)&&!fC.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(Ip(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var __=b,R_=Symbol.for("react.element"),O_=Symbol.for("react.fragment"),A_=Object.prototype.hasOwnProperty,I_=__.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,$_={key:!0,ref:!0,__self:!0,__source:!0};function hC(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)A_.call(t,r)&&!$_.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:R_,type:e,key:o,ref:s,props:i,_owner:I_.current}}tf.Fragment=O_;tf.jsx=hC;tf.jsxs=hC;oC.exports=tf;var S=oC.exports,om={},mC={exports:{}},an={},gC={exports:{}},vC={};/** + */var __=b,R_=Symbol.for("react.element"),O_=Symbol.for("react.fragment"),A_=Object.prototype.hasOwnProperty,I_=__.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,$_={key:!0,ref:!0,__self:!0,__source:!0};function mC(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)A_.call(t,r)&&!$_.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:R_,type:e,key:o,ref:s,props:i,_owner:I_.current}}tf.Fragment=O_;tf.jsx=mC;tf.jsxs=mC;sC.exports=tf;var S=sC.exports,om={},gC={exports:{}},an={},vC={exports:{}},yC={};/** * @license React * scheduler.production.min.js * @@ -28,7 +28,7 @@ var Ip=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(Ip(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(O,$){var z=O.length;O.push($);e:for(;0>>1,ne=O[K];if(0>>1;Ki(He,z))Ji(U,He)?(O[K]=U,O[J]=z,K=J):(O[K]=He,O[de]=z,K=de);else if(Ji(U,z))O[K]=U,O[J]=z,K=J;else break e}}return $}function i(O,$){var z=O.sortIndex-$.sortIndex;return z!==0?z:O.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(O){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=O)r(u),$.sortIndex=$.expirationTime,t(l,$);else break;$=n(u)}}function w(O){if(m=!1,v(O),!h)if(n(l)!==null)h=!0,N(C);else{var $=n(u);$!==null&&H(w,$.startTime-O)}}function C(O,$){h=!1,m&&(m=!1,g(P),P=-1),p=!0;var z=f;try{for(v($),d=n(l);d!==null&&(!(d.expirationTime>$)||O&&!A());){var K=d.callback;if(typeof K=="function"){d.callback=null,f=d.priorityLevel;var ne=K(d.expirationTime<=$);$=e.unstable_now(),typeof ne=="function"?d.callback=ne:d===n(l)&&r(l),v($)}else r(l);d=n(l)}if(d!==null)var We=!0;else{var de=n(u);de!==null&&H(w,de.startTime-$),We=!1}return We}finally{d=null,f=z,p=!1}}var E=!1,T=null,P=-1,k=5,M=-1;function A(){return!(e.unstable_now()-MO||125K?(O.sortIndex=z,t(u,O),n(l)===null&&O===n(u)&&(m?(g(P),P=-1):m=!0,H(w,z-K))):(O.sortIndex=ne,t(l,O),h||p||(h=!0,N(C))),O},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(O){var $=f;return function(){var z=f;f=$;try{return O.apply(this,arguments)}finally{f=z}}}})(vC);gC.exports=vC;var L_=gC.exports;/** + */(function(e){function t(O,$){var z=O.length;O.push($);e:for(;0>>1,ne=O[K];if(0>>1;Ki(He,z))Ji(U,He)?(O[K]=U,O[J]=z,K=J):(O[K]=He,O[de]=z,K=de);else if(Ji(U,z))O[K]=U,O[J]=z,K=J;else break e}}return $}function i(O,$){var z=O.sortIndex-$.sortIndex;return z!==0?z:O.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(O){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=O)r(u),$.sortIndex=$.expirationTime,t(l,$);else break;$=n(u)}}function w(O){if(m=!1,v(O),!h)if(n(l)!==null)h=!0,N(C);else{var $=n(u);$!==null&&H(w,$.startTime-O)}}function C(O,$){h=!1,m&&(m=!1,g(P),P=-1),p=!0;var z=f;try{for(v($),d=n(l);d!==null&&(!(d.expirationTime>$)||O&&!A());){var K=d.callback;if(typeof K=="function"){d.callback=null,f=d.priorityLevel;var ne=K(d.expirationTime<=$);$=e.unstable_now(),typeof ne=="function"?d.callback=ne:d===n(l)&&r(l),v($)}else r(l);d=n(l)}if(d!==null)var We=!0;else{var de=n(u);de!==null&&H(w,de.startTime-$),We=!1}return We}finally{d=null,f=z,p=!1}}var E=!1,T=null,P=-1,k=5,M=-1;function A(){return!(e.unstable_now()-MO||125K?(O.sortIndex=z,t(u,O),n(l)===null&&O===n(u)&&(m?(g(P),P=-1):m=!0,H(w,z-K))):(O.sortIndex=ne,t(l,O),h||p||(h=!0,N(C))),O},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(O){var $=f;return function(){var z=f;f=$;try{return O.apply(this,arguments)}finally{f=z}}}})(yC);vC.exports=yC;var L_=vC.exports;/** * @license React * react-dom.production.min.js * @@ -36,14 +36,14 @@ var Ip=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(Ip(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var yC=b,on=L_;function F(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sm=Object.prototype.hasOwnProperty,j_=/^[: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]*$/,s1={},a1={};function D_(e){return sm.call(a1,e)?!0:sm.call(s1,e)?!1:j_.test(e)?a1[e]=!0:(s1[e]=!0,!1)}function F_(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 N_(e,t,n,r){if(t===null||typeof t>"u"||F_(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 Dt(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 St={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){St[e]=new Dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];St[t]=new Dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){St[e]=new Dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){St[e]=new Dt(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){St[e]=new Dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){St[e]=new Dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){St[e]=new Dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){St[e]=new Dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){St[e]=new Dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var g0=/[\-:]([a-z])/g;function v0(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(g0,v0);St[t]=new Dt(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(g0,v0);St[t]=new Dt(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(g0,v0);St[t]=new Dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){St[e]=new Dt(e,1,!1,e.toLowerCase(),null,!1,!1)});St.xlinkHref=new Dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){St[e]=new Dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function y0(e,t,n,r){var i=St.hasOwnProperty(t)?St[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sm=Object.prototype.hasOwnProperty,j_=/^[: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]*$/,a1={},l1={};function D_(e){return sm.call(l1,e)?!0:sm.call(a1,e)?!1:j_.test(e)?l1[e]=!0:(a1[e]=!0,!1)}function F_(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 N_(e,t,n,r){if(t===null||typeof t>"u"||F_(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 Dt(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 St={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){St[e]=new Dt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];St[t]=new Dt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){St[e]=new Dt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){St[e]=new Dt(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){St[e]=new Dt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){St[e]=new Dt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){St[e]=new Dt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){St[e]=new Dt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){St[e]=new Dt(e,5,!1,e.toLowerCase(),null,!1,!1)});var g0=/[\-:]([a-z])/g;function v0(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(g0,v0);St[t]=new Dt(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(g0,v0);St[t]=new Dt(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(g0,v0);St[t]=new Dt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){St[e]=new Dt(e,1,!1,e.toLowerCase(),null,!1,!1)});St.xlinkHref=new Dt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){St[e]=new Dt(e,1,!1,e.toLowerCase(),null,!0,!0)});function y0(e,t,n,r){var i=St.hasOwnProperty(t)?St[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{jp=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Da(e):""}function z_(e){switch(e.tag){case 5:return Da(e.type);case 16:return Da("Lazy");case 13:return Da("Suspense");case 19:return Da("SuspenseList");case 0:case 2:case 15:return e=Dp(e.type,!1),e;case 11:return e=Dp(e.type.render,!1),e;case 1:return e=Dp(e.type,!0),e;default:return""}}function cm(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 Yo:return"Fragment";case Qo:return"Portal";case am:return"Profiler";case x0:return"StrictMode";case lm:return"Suspense";case um:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case bC:return(e.displayName||"Context")+".Consumer";case wC:return(e._context.displayName||"Context")+".Provider";case w0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case b0:return t=e.displayName||null,t!==null?t:cm(e.type)||"Memo";case ti:t=e._payload,e=e._init;try{return cm(e(t))}catch{}}return null}function V_(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 cm(t);case 8:return t===x0?"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 Li(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function CC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function B_(e){var t=CC(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 Bu(e){e._valueTracker||(e._valueTracker=B_(e))}function EC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=CC(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Kc(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 dm(e,t){var n=t.checked;return Fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function u1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Li(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 PC(e,t){t=t.checked,t!=null&&y0(e,"checked",t,!1)}function fm(e,t){PC(e,t);var n=Li(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")?pm(e,t.type,n):t.hasOwnProperty("defaultValue")&&pm(e,t.type,Li(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function c1(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 pm(e,t,n){(t!=="number"||Kc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Fa=Array.isArray;function hs(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Uu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function gl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ga={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},U_=["Webkit","ms","Moz","O"];Object.keys(Ga).forEach(function(e){U_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ga[t]=Ga[e]})});function _C(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ga.hasOwnProperty(e)&&Ga[e]?(""+t).trim():t+"px"}function RC(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=_C(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var W_=Fe({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 gm(e,t){if(t){if(W_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function vm(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 ym=null;function S0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xm=null,ms=null,gs=null;function p1(e){if(e=yu(e)){if(typeof xm!="function")throw Error(F(280));var t=e.stateNode;t&&(t=af(t),xm(e.stateNode,e.type,t))}}function OC(e){ms?gs?gs.push(e):gs=[e]:ms=e}function AC(){if(ms){var e=ms,t=gs;if(gs=ms=null,p1(e),t)for(e=0;e>>=0,e===0?32:31-(tR(e)/nR|0)|0}var Wu=64,Hu=4194304;function Na(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Na(a):(o&=s,o!==0&&(r=Na(o)))}else s=n&~i,s!==0?r=Na(s):o!==0&&(r=Na(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function gu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Un(t),e[t]=n}function sR(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=Ka),S1=" ",C1=!1;function ZC(e,t){switch(e){case"keyup":return $R.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function JC(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Xo=!1;function jR(e,t){switch(e){case"compositionend":return JC(t);case"keypress":return t.which!==32?null:(C1=!0,S1);case"textInput":return e=t.data,e===S1&&C1?null:e;default:return null}}function DR(e,t){if(Xo)return e==="compositionend"||!R0&&ZC(e,t)?(e=YC(),bc=k0=pi=null,Xo=!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=k1(n)}}function rE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?rE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function iE(){for(var e=window,t=Kc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kc(e.document)}return t}function O0(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 GR(e){var t=iE(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&rE(n.ownerDocument.documentElement,n)){if(r!==null&&O0(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||window,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=M1(n,o);var s=M1(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,Zo=null,Pm=null,Ya=null,Tm=!1;function _1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Tm||Zo==null||Zo!==Kc(r)||(r=Zo,"selectionStart"in r&&O0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ya&&Sl(Ya,r)||(Ya=r,r=td(Pm,"onSelect"),0ts||(e.current=Am[ts],Am[ts]=null,ts--)}function Me(e,t){ts++,Am[ts]=e.current,e.current=t}var ji={},Ot=Ui(ji),Bt=Ui(!1),Po=ji;function Vs(e,t){var n=e.type.contextTypes;if(!n)return ji;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ut(e){return e=e.childContextTypes,e!=null}function rd(){Ae(Bt),Ae(Ot)}function j1(e,t,n){if(Ot.current!==ji)throw Error(F(168));Me(Ot,t),Me(Bt,n)}function pE(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(F(108,V_(e)||"Unknown",i));return Fe({},n,r)}function id(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ji,Po=Ot.current,Me(Ot,e),Me(Bt,Bt.current),!0}function D1(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=pE(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,Ae(Bt),Ae(Ot),Me(Ot,e)):Ae(Bt),Me(Bt,n)}var xr=null,lf=!1,Xp=!1;function hE(e){xr===null?xr=[e]:xr.push(e)}function iO(e){lf=!0,hE(e)}function Wi(){if(!Xp&&xr!==null){Xp=!0;var e=0,t=Se;try{var n=xr;for(Se=1;e>=s,i-=s,wr=1<<32-Un(t)+i|n<P?(k=T,T=null):k=T.sibling;var M=f(g,T,v[P],w);if(M===null){T===null&&(T=k);break}e&&T&&M.alternate===null&&t(g,T),y=o(M,y,P),E===null?C=M:E.sibling=M,E=M,T=k}if(P===v.length)return n(g,T),$e&&Xi(g,P),C;if(T===null){for(;PP?(k=T,T=null):k=T.sibling;var A=f(g,T,M.value,w);if(A===null){T===null&&(T=k);break}e&&T&&A.alternate===null&&t(g,T),y=o(A,y,P),E===null?C=A:E.sibling=A,E=A,T=k}if(M.done)return n(g,T),$e&&Xi(g,P),C;if(T===null){for(;!M.done;P++,M=v.next())M=d(g,M.value,w),M!==null&&(y=o(M,y,P),E===null?C=M:E.sibling=M,E=M);return $e&&Xi(g,P),C}for(T=r(g,T);!M.done;P++,M=v.next())M=p(T,g,P,M.value,w),M!==null&&(e&&M.alternate!==null&&T.delete(M.key===null?P:M.key),y=o(M,y,P),E===null?C=M:E.sibling=M,E=M);return e&&T.forEach(function(I){return t(g,I)}),$e&&Xi(g,P),C}function x(g,y,v,w){if(typeof v=="object"&&v!==null&&v.type===Yo&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Vu:e:{for(var C=v.key,E=y;E!==null;){if(E.key===C){if(C=v.type,C===Yo){if(E.tag===7){n(g,E.sibling),y=i(E,v.props.children),y.return=g,g=y;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===ti&&W1(C)===E.type){n(g,E.sibling),y=i(E,v.props),y.ref=Ea(g,E,v),y.return=g,g=y;break e}n(g,E);break}else t(g,E);E=E.sibling}v.type===Yo?(y=bo(v.props.children,g.mode,w,v.key),y.return=g,g=y):(w=_c(v.type,v.key,v.props,null,g.mode,w),w.ref=Ea(g,y,v),w.return=g,g=w)}return s(g);case Qo:e:{for(E=v.key;y!==null;){if(y.key===E)if(y.tag===4&&y.stateNode.containerInfo===v.containerInfo&&y.stateNode.implementation===v.implementation){n(g,y.sibling),y=i(y,v.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=oh(v,g.mode,w),y.return=g,g=y}return s(g);case ti:return E=v._init,x(g,y,E(v._payload),w)}if(Fa(v))return h(g,y,v,w);if(xa(v))return m(g,y,v,w);Zu(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,y!==null&&y.tag===6?(n(g,y.sibling),y=i(y,v),y.return=g,g=y):(n(g,y),y=ih(v,g.mode,w),y.return=g,g=y),s(g)):n(g,y)}return x}var Us=SE(!0),CE=SE(!1),xu={},ar=Ui(xu),Tl=Ui(xu),kl=Ui(xu);function so(e){if(e===xu)throw Error(F(174));return e}function z0(e,t){switch(Me(kl,t),Me(Tl,e),Me(ar,xu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:mm(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=mm(t,e)}Ae(ar),Me(ar,t)}function Ws(){Ae(ar),Ae(Tl),Ae(kl)}function EE(e){so(kl.current);var t=so(ar.current),n=mm(t,e.type);t!==n&&(Me(Tl,e),Me(ar,n))}function V0(e){Tl.current===e&&(Ae(ar),Ae(Tl))}var Le=Ui(0);function cd(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(t.flags&128)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 Zp=[];function B0(){for(var e=0;en?n:4,e(!0);var r=Jp.transition;Jp.transition={};try{e(!1),t()}finally{Se=n,Jp.transition=r}}function zE(){return Mn().memoizedState}function lO(e,t,n){var r=Ti(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},VE(e))BE(t,n);else if(n=yE(e,t,n,r),n!==null){var i=Lt();Wn(n,e,r,i),UE(n,t,r)}}function uO(e,t,n){var r=Ti(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(VE(e))BE(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,Hn(a,s)){var l=t.interleaved;l===null?(i.next=i,F0(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=yE(e,t,i,r),n!==null&&(i=Lt(),Wn(n,e,r,i),UE(n,t,r))}}function VE(e){var t=e.alternate;return e===De||t!==null&&t===De}function BE(e,t){Xa=dd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function UE(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,E0(e,n)}}var fd={readContext:kn,useCallback:Et,useContext:Et,useEffect:Et,useImperativeHandle:Et,useInsertionEffect:Et,useLayoutEffect:Et,useMemo:Et,useReducer:Et,useRef:Et,useState:Et,useDebugValue:Et,useDeferredValue:Et,useTransition:Et,useMutableSource:Et,useSyncExternalStore:Et,useId:Et,unstable_isNewReconciler:!1},cO={readContext:kn,useCallback:function(e,t){return Qn().memoizedState=[e,t===void 0?null:t],e},useContext:kn,useEffect:G1,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pc(4194308,4,LE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pc(4,2,e,t)},useMemo:function(e,t){var n=Qn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qn();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=lO.bind(null,De,e),[r.memoizedState,e]},useRef:function(e){var t=Qn();return e={current:e},t.memoizedState=e},useState:H1,useDebugValue:q0,useDeferredValue:function(e){return Qn().memoizedState=e},useTransition:function(){var e=H1(!1),t=e[0];return e=aO.bind(null,e[1]),Qn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=De,i=Qn();if($e){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ht===null)throw Error(F(349));ko&30||kE(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,G1(_E.bind(null,r,o,e),[e]),r.flags|=2048,Rl(9,ME.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Qn(),t=ht.identifierPrefix;if($e){var n=br,r=wr;n=(r&~(1<<32-Un(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ml++,0")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{jp=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Da(e):""}function z_(e){switch(e.tag){case 5:return Da(e.type);case 16:return Da("Lazy");case 13:return Da("Suspense");case 19:return Da("SuspenseList");case 0:case 2:case 15:return e=Dp(e.type,!1),e;case 11:return e=Dp(e.type.render,!1),e;case 1:return e=Dp(e.type,!0),e;default:return""}}function cm(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 Xo:return"Fragment";case Yo:return"Portal";case am:return"Profiler";case x0:return"StrictMode";case lm:return"Suspense";case um:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case SC:return(e.displayName||"Context")+".Consumer";case bC:return(e._context.displayName||"Context")+".Provider";case w0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case b0:return t=e.displayName||null,t!==null?t:cm(e.type)||"Memo";case ti:t=e._payload,e=e._init;try{return cm(e(t))}catch{}}return null}function V_(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 cm(t);case 8:return t===x0?"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 Li(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function EC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function B_(e){var t=EC(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 Bu(e){e._valueTracker||(e._valueTracker=B_(e))}function PC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=EC(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Kc(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 dm(e,t){var n=t.checked;return Fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function c1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Li(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 TC(e,t){t=t.checked,t!=null&&y0(e,"checked",t,!1)}function fm(e,t){TC(e,t);var n=Li(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")?pm(e,t.type,n):t.hasOwnProperty("defaultValue")&&pm(e,t.type,Li(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function d1(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 pm(e,t,n){(t!=="number"||Kc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Fa=Array.isArray;function ms(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Uu.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function gl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ga={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},U_=["Webkit","ms","Moz","O"];Object.keys(Ga).forEach(function(e){U_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ga[t]=Ga[e]})});function RC(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ga.hasOwnProperty(e)&&Ga[e]?(""+t).trim():t+"px"}function OC(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=RC(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var W_=Fe({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 gm(e,t){if(t){if(W_[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(F(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(F(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(F(61))}if(t.style!=null&&typeof t.style!="object")throw Error(F(62))}}function vm(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 ym=null;function S0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xm=null,gs=null,vs=null;function h1(e){if(e=yu(e)){if(typeof xm!="function")throw Error(F(280));var t=e.stateNode;t&&(t=af(t),xm(e.stateNode,e.type,t))}}function AC(e){gs?vs?vs.push(e):vs=[e]:gs=e}function IC(){if(gs){var e=gs,t=vs;if(vs=gs=null,h1(e),t)for(e=0;e>>=0,e===0?32:31-(tR(e)/nR|0)|0}var Wu=64,Hu=4194304;function Na(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Zc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Na(a):(o&=s,o!==0&&(r=Na(o)))}else s=n&~i,s!==0?r=Na(s):o!==0&&(r=Na(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function gu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Un(t),e[t]=n}function sR(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=Ka),C1=" ",E1=!1;function JC(e,t){switch(e){case"keyup":return $R.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zo=!1;function jR(e,t){switch(e){case"compositionend":return eE(t);case"keypress":return t.which!==32?null:(E1=!0,C1);case"textInput":return e=t.data,e===C1&&E1?null:e;default:return null}}function DR(e,t){if(Zo)return e==="compositionend"||!R0&&JC(e,t)?(e=XC(),bc=k0=pi=null,Zo=!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=M1(n)}}function iE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?iE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function oE(){for(var e=window,t=Kc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Kc(e.document)}return t}function O0(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 GR(e){var t=oE(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&iE(n.ownerDocument.documentElement,n)){if(r!==null&&O0(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||window,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=_1(n,o);var s=_1(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,Jo=null,Pm=null,Ya=null,Tm=!1;function R1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Tm||Jo==null||Jo!==Kc(r)||(r=Jo,"selectionStart"in r&&O0(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Ya&&Sl(Ya,r)||(Ya=r,r=td(Pm,"onSelect"),0ns||(e.current=Am[ns],Am[ns]=null,ns--)}function Me(e,t){ns++,Am[ns]=e.current,e.current=t}var ji={},Ot=Ui(ji),Bt=Ui(!1),Po=ji;function Bs(e,t){var n=e.type.contextTypes;if(!n)return ji;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ut(e){return e=e.childContextTypes,e!=null}function rd(){Ae(Bt),Ae(Ot)}function D1(e,t,n){if(Ot.current!==ji)throw Error(F(168));Me(Ot,t),Me(Bt,n)}function hE(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(F(108,V_(e)||"Unknown",i));return Fe({},n,r)}function id(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ji,Po=Ot.current,Me(Ot,e),Me(Bt,Bt.current),!0}function F1(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=hE(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,Ae(Bt),Ae(Ot),Me(Ot,e)):Ae(Bt),Me(Bt,n)}var xr=null,lf=!1,Xp=!1;function mE(e){xr===null?xr=[e]:xr.push(e)}function iO(e){lf=!0,mE(e)}function Wi(){if(!Xp&&xr!==null){Xp=!0;var e=0,t=Se;try{var n=xr;for(Se=1;e>=s,i-=s,wr=1<<32-Un(t)+i|n<P?(k=T,T=null):k=T.sibling;var M=f(g,T,v[P],w);if(M===null){T===null&&(T=k);break}e&&T&&M.alternate===null&&t(g,T),y=o(M,y,P),E===null?C=M:E.sibling=M,E=M,T=k}if(P===v.length)return n(g,T),$e&&Xi(g,P),C;if(T===null){for(;PP?(k=T,T=null):k=T.sibling;var A=f(g,T,M.value,w);if(A===null){T===null&&(T=k);break}e&&T&&A.alternate===null&&t(g,T),y=o(A,y,P),E===null?C=A:E.sibling=A,E=A,T=k}if(M.done)return n(g,T),$e&&Xi(g,P),C;if(T===null){for(;!M.done;P++,M=v.next())M=d(g,M.value,w),M!==null&&(y=o(M,y,P),E===null?C=M:E.sibling=M,E=M);return $e&&Xi(g,P),C}for(T=r(g,T);!M.done;P++,M=v.next())M=p(T,g,P,M.value,w),M!==null&&(e&&M.alternate!==null&&T.delete(M.key===null?P:M.key),y=o(M,y,P),E===null?C=M:E.sibling=M,E=M);return e&&T.forEach(function(I){return t(g,I)}),$e&&Xi(g,P),C}function x(g,y,v,w){if(typeof v=="object"&&v!==null&&v.type===Xo&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Vu:e:{for(var C=v.key,E=y;E!==null;){if(E.key===C){if(C=v.type,C===Xo){if(E.tag===7){n(g,E.sibling),y=i(E,v.props.children),y.return=g,g=y;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===ti&&H1(C)===E.type){n(g,E.sibling),y=i(E,v.props),y.ref=Ea(g,E,v),y.return=g,g=y;break e}n(g,E);break}else t(g,E);E=E.sibling}v.type===Xo?(y=bo(v.props.children,g.mode,w,v.key),y.return=g,g=y):(w=_c(v.type,v.key,v.props,null,g.mode,w),w.ref=Ea(g,y,v),w.return=g,g=w)}return s(g);case Yo:e:{for(E=v.key;y!==null;){if(y.key===E)if(y.tag===4&&y.stateNode.containerInfo===v.containerInfo&&y.stateNode.implementation===v.implementation){n(g,y.sibling),y=i(y,v.children||[]),y.return=g,g=y;break e}else{n(g,y);break}else t(g,y);y=y.sibling}y=oh(v,g.mode,w),y.return=g,g=y}return s(g);case ti:return E=v._init,x(g,y,E(v._payload),w)}if(Fa(v))return h(g,y,v,w);if(xa(v))return m(g,y,v,w);Zu(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,y!==null&&y.tag===6?(n(g,y.sibling),y=i(y,v),y.return=g,g=y):(n(g,y),y=ih(v,g.mode,w),y.return=g,g=y),s(g)):n(g,y)}return x}var Ws=CE(!0),EE=CE(!1),xu={},ar=Ui(xu),Tl=Ui(xu),kl=Ui(xu);function so(e){if(e===xu)throw Error(F(174));return e}function z0(e,t){switch(Me(kl,t),Me(Tl,e),Me(ar,xu),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:mm(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=mm(t,e)}Ae(ar),Me(ar,t)}function Hs(){Ae(ar),Ae(Tl),Ae(kl)}function PE(e){so(kl.current);var t=so(ar.current),n=mm(t,e.type);t!==n&&(Me(Tl,e),Me(ar,n))}function V0(e){Tl.current===e&&(Ae(ar),Ae(Tl))}var Le=Ui(0);function cd(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(t.flags&128)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 Zp=[];function B0(){for(var e=0;en?n:4,e(!0);var r=Jp.transition;Jp.transition={};try{e(!1),t()}finally{Se=n,Jp.transition=r}}function VE(){return Mn().memoizedState}function lO(e,t,n){var r=Ti(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},BE(e))UE(t,n);else if(n=xE(e,t,n,r),n!==null){var i=Lt();Wn(n,e,r,i),WE(n,t,r)}}function uO(e,t,n){var r=Ti(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(BE(e))UE(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,Hn(a,s)){var l=t.interleaved;l===null?(i.next=i,F0(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=xE(e,t,i,r),n!==null&&(i=Lt(),Wn(n,e,r,i),WE(n,t,r))}}function BE(e){var t=e.alternate;return e===De||t!==null&&t===De}function UE(e,t){Xa=dd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function WE(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,E0(e,n)}}var fd={readContext:kn,useCallback:Et,useContext:Et,useEffect:Et,useImperativeHandle:Et,useInsertionEffect:Et,useLayoutEffect:Et,useMemo:Et,useReducer:Et,useRef:Et,useState:Et,useDebugValue:Et,useDeferredValue:Et,useTransition:Et,useMutableSource:Et,useSyncExternalStore:Et,useId:Et,unstable_isNewReconciler:!1},cO={readContext:kn,useCallback:function(e,t){return Qn().memoizedState=[e,t===void 0?null:t],e},useContext:kn,useEffect:q1,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pc(4194308,4,jE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pc(4,2,e,t)},useMemo:function(e,t){var n=Qn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Qn();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=lO.bind(null,De,e),[r.memoizedState,e]},useRef:function(e){var t=Qn();return e={current:e},t.memoizedState=e},useState:G1,useDebugValue:q0,useDeferredValue:function(e){return Qn().memoizedState=e},useTransition:function(){var e=G1(!1),t=e[0];return e=aO.bind(null,e[1]),Qn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=De,i=Qn();if($e){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ht===null)throw Error(F(349));ko&30||ME(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,q1(RE.bind(null,r,o,e),[e]),r.flags|=2048,Rl(9,_E.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Qn(),t=ht.identifierPrefix;if($e){var n=br,r=wr;n=(r&~(1<<32-Un(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Ml++,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[ir]=t,e[Pl]=r,ZE(e,t,!1,!1),t.stateNode=e;e:{switch(s=vm(n,r),n){case"dialog":Oe("cancel",e),Oe("close",e),i=r;break;case"iframe":case"object":case"embed":Oe("load",e),i=r;break;case"video":case"audio":for(i=0;iGs&&(t.flags|=128,r=!0,Pa(o,!1),t.lanes=4194304)}else{if(!r)if(e=cd(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Pa(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!$e)return Pt(t),null}else 2*qe()-o.renderingStartTime>Gs&&n!==1073741824&&(t.flags|=128,r=!0,Pa(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=qe(),t.sibling=null,n=Le.current,Me(Le,r?n&1|2:n&1),t):(Pt(t),null);case 22:case 23:return J0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Xt&1073741824&&(Pt(t),t.subtreeFlags&6&&(t.flags|=8192)):Pt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function yO(e,t){switch(I0(t),t.tag){case 1:return Ut(t.type)&&rd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ws(),Ae(Bt),Ae(Ot),B0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return V0(t),null;case 13:if(Ae(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Bs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ae(Le),null;case 4:return Ws(),null;case 10:return D0(t.type._context),null;case 22:case 23:return J0(),null;case 24:return null;default:return null}}var ec=!1,_t=!1,xO=typeof WeakSet=="function"?WeakSet:Set,q=null;function os(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ue(e,t,r)}else n.current=null}function Wm(e,t,n){try{n()}catch(r){Ue(e,t,r)}}var tx=!1;function wO(e,t){if(km=Jc,e=iE(),O0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;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,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===i&&(a=s),f===o&&++c===r&&(l=s),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Mm={focusedElem:e,selectionRange:n},Jc=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var m=h.memoizedProps,x=h.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:Dn(t.type,m),x);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(w){Ue(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return h=tx,tx=!1,h}function Za(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&&Wm(t,n,o)}i=i.next}while(i!==r)}}function df(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 Hm(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 tP(e){var t=e.alternate;t!==null&&(e.alternate=null,tP(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ir],delete t[Pl],delete t[Om],delete t[nO],delete t[rO])),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 nP(e){return e.tag===5||e.tag===3||e.tag===4}function nx(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||nP(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(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Gm(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=nd));else if(r!==4&&(e=e.child,e!==null))for(Gm(e,t,n),e=e.sibling;e!==null;)Gm(e,t,n),e=e.sibling}function qm(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(qm(e,t,n),e=e.sibling;e!==null;)qm(e,t,n),e=e.sibling}var vt=null,Nn=!1;function Br(e,t,n){for(n=n.child;n!==null;)rP(e,t,n),n=n.sibling}function rP(e,t,n){if(sr&&typeof sr.onCommitFiberUnmount=="function")try{sr.onCommitFiberUnmount(nf,n)}catch{}switch(n.tag){case 5:_t||os(n,t);case 6:var r=vt,i=Nn;vt=null,Br(e,t,n),vt=r,Nn=i,vt!==null&&(Nn?(e=vt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):vt.removeChild(n.stateNode));break;case 18:vt!==null&&(Nn?(e=vt,n=n.stateNode,e.nodeType===8?Yp(e.parentNode,n):e.nodeType===1&&Yp(e,n),wl(e)):Yp(vt,n.stateNode));break;case 4:r=vt,i=Nn,vt=n.stateNode.containerInfo,Nn=!0,Br(e,t,n),vt=r,Nn=i;break;case 0:case 11:case 14:case 15:if(!_t&&(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&&(o&2||o&4)&&Wm(n,t,s),i=i.next}while(i!==r)}Br(e,t,n);break;case 1:if(!_t&&(os(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ue(n,t,a)}Br(e,t,n);break;case 21:Br(e,t,n);break;case 22:n.mode&1?(_t=(r=_t)||n.memoizedState!==null,Br(e,t,n),_t=r):Br(e,t,n);break;default:Br(e,t,n)}}function rx(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xO),t.forEach(function(r){var i=_O.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ln(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*SO(r/1960))-r,10e?16:e,hi===null)var r=!1;else{if(e=hi,hi=null,md=0,ve&6)throw Error(F(331));var i=ve;for(ve|=4,q=e.current;q!==null;){var o=q,s=o.child;if(q.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lqe()-X0?wo(e,0):Y0|=n),Wt(e,t)}function dP(e,t){t===0&&(e.mode&1?(t=Hu,Hu<<=1,!(Hu&130023424)&&(Hu=4194304)):t=1);var n=Lt();e=$r(e,t),e!==null&&(gu(e,t,n),Wt(e,n))}function MO(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),dP(e,n)}function _O(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(F(314))}r!==null&&r.delete(t),dP(e,n)}var fP;fP=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Bt.current)Vt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Vt=!1,gO(e,t,n);Vt=!!(e.flags&131072)}else Vt=!1,$e&&t.flags&1048576&&mE(t,sd,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Tc(e,t),e=t.pendingProps;var i=Vs(t,Ot.current);ys(t,n),i=W0(null,t,r,e,i,n);var o=H0();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,Ut(r)?(o=!0,id(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,N0(t),i.updater=uf,t.stateNode=i,i._reactInternals=t,Dm(t,r,e,n),t=zm(null,t,r,!0,o,n)):(t.tag=0,$e&&o&&A0(t),$t(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Tc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=OO(r),e=Dn(r,e),i){case 0:t=Nm(null,t,r,e,n);break e;case 1:t=Z1(null,t,r,e,n);break e;case 11:t=Y1(null,t,r,e,n);break e;case 14:t=X1(null,t,r,Dn(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),Nm(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),Z1(e,t,r,i,n);case 3:e:{if(QE(t),e===null)throw Error(F(387));r=t.pendingProps,o=t.memoizedState,i=o.element,xE(e,t),ud(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,t.flags&256){i=Hs(Error(F(423)),t),t=J1(e,t,r,n,i);break e}else if(r!==i){i=Hs(Error(F(424)),t),t=J1(e,t,r,n,i);break e}else for(en=Ci(t.stateNode.containerInfo.firstChild),nn=t,$e=!0,zn=null,n=CE(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Bs(),r===i){t=Lr(e,t,n);break e}$t(e,t,r,n)}t=t.child}return t;case 5:return EE(t),e===null&&$m(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,_m(r,i)?s=null:o!==null&&_m(r,o)&&(t.flags|=32),KE(e,t),$t(e,t,s,n),t.child;case 6:return e===null&&$m(t),null;case 13:return YE(e,t,n);case 4:return z0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Us(t,null,r,n):$t(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),Y1(e,t,r,i,n);case 7:return $t(e,t,t.pendingProps,n),t.child;case 8:return $t(e,t,t.pendingProps.children,n),t.child;case 12:return $t(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,Me(ad,r._currentValue),r._currentValue=s,o!==null)if(Hn(o.value,s)){if(o.children===i.children&&!Bt.current){t=Lr(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=Pr(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Lm(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(F(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Lm(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}$t(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ys(t,n),i=kn(i),r=r(i),t.flags|=1,$t(e,t,r,n),t.child;case 14:return r=t.type,i=Dn(r,t.pendingProps),i=Dn(r.type,i),X1(e,t,r,i,n);case 15:return GE(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),Tc(e,t),t.tag=1,Ut(r)?(e=!0,id(t)):e=!1,ys(t,n),bE(t,r,i),Dm(t,r,i,n),zm(null,t,r,!0,e,n);case 19:return XE(e,t,n);case 22:return qE(e,t,n)}throw Error(F(156,t.tag))};function pP(e,t){return NC(e,t)}function RO(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 Cn(e,t,n,r){return new RO(e,t,n,r)}function tv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function OO(e){if(typeof e=="function")return tv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===w0)return 11;if(e===b0)return 14}return 2}function ki(e,t){var n=e.alternate;return n===null?(n=Cn(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=e.flags&14680064,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 _c(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")tv(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Yo:return bo(n.children,i,o,t);case x0:s=8,i|=8;break;case am:return e=Cn(12,n,t,i|2),e.elementType=am,e.lanes=o,e;case lm:return e=Cn(13,n,t,i),e.elementType=lm,e.lanes=o,e;case um:return e=Cn(19,n,t,i),e.elementType=um,e.lanes=o,e;case SC:return pf(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case wC:s=10;break e;case bC:s=9;break e;case w0:s=11;break e;case b0:s=14;break e;case ti:s=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=Cn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function bo(e,t,n,r){return e=Cn(7,e,r,t),e.lanes=n,e}function pf(e,t,n,r){return e=Cn(22,e,r,t),e.elementType=SC,e.lanes=n,e.stateNode={isHidden:!1},e}function ih(e,t,n){return e=Cn(6,e,null,t),e.lanes=n,e}function oh(e,t,n){return t=Cn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function AO(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=Np(0),this.expirationTimes=Np(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Np(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function nv(e,t,n,r,i,o,s,a,l){return e=new AO(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Cn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},N0(o),e}function IO(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(vP)}catch(e){console.error(e)}}vP(),mC.exports=an;var yf=mC.exports;const rc=iC(yf);var dx=yf;om.createRoot=dx.createRoot,om.hydrateRoot=dx.hydrateRoot;/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function nh(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Fm(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var pO=typeof WeakMap=="function"?WeakMap:Map;function HE(e,t,n){n=Pr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){hd||(hd=!0,Km=r),Fm(e,t)},n}function GE(e,t,n){n=Pr(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Fm(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Fm(e,t),typeof r!="function"&&(Pi===null?Pi=new Set([this]):Pi.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function K1(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new pO;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=kO.bind(null,e,t,n),t.then(e,e))}function Q1(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Y1(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Pr(-1,1),t.tag=2,Ei(n,t,1))),n.lanes|=1),e)}var hO=Nr.ReactCurrentOwner,Vt=!1;function $t(e,t,n,r){t.child=e===null?EE(t,null,n,r):Ws(t,e.child,n,r)}function X1(e,t,n,r,i){n=n.render;var o=t.ref;return xs(t,i),r=W0(e,t,n,r,o,i),n=H0(),e!==null&&!Vt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Lr(e,t,i)):($e&&n&&A0(t),t.flags|=1,$t(e,t,r,i),t.child)}function Z1(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!tv(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,qE(e,t,o,r,i)):(e=_c(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:Sl,n(s,r)&&e.ref===t.ref)return Lr(e,t,i)}return t.flags|=1,e=ki(o,r),e.ref=t.ref,e.return=t,t.child=e}function qE(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Sl(o,r)&&e.ref===t.ref)if(Vt=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Vt=!0);else return t.lanes=e.lanes,Lr(e,t,i)}return Nm(e,t,n,r,i)}function KE(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Me(as,Xt),Xt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Me(as,Xt),Xt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Me(as,Xt),Xt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Me(as,Xt),Xt|=r;return $t(e,t,i,n),t.child}function QE(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Nm(e,t,n,r,i){var o=Ut(n)?Po:Ot.current;return o=Bs(t,o),xs(t,i),n=W0(e,t,n,r,o,i),r=H0(),e!==null&&!Vt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Lr(e,t,i)):($e&&r&&A0(t),t.flags|=1,$t(e,t,n,i),t.child)}function J1(e,t,n,r,i){if(Ut(n)){var o=!0;id(t)}else o=!1;if(xs(t,i),t.stateNode===null)Tc(e,t),SE(t,n,r),Dm(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=kn(u):(u=Ut(n)?Po:Ot.current,u=Bs(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&W1(t,s,r,u),ni=!1;var f=t.memoizedState;s.state=f,ud(t,r,s,i),l=t.memoizedState,a!==r||f!==l||Bt.current||ni?(typeof c=="function"&&(jm(t,n,c,r),l=t.memoizedState),(a=ni||U1(t,n,a,r,f,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,wE(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Dn(t.type,a),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=kn(l):(l=Ut(n)?Po:Ot.current,l=Bs(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&W1(t,s,r,l),ni=!1,f=t.memoizedState,s.state=f,ud(t,r,s,i);var h=t.memoizedState;a!==d||f!==h||Bt.current||ni?(typeof p=="function"&&(jm(t,n,p,r),h=t.memoizedState),(u=ni||U1(t,n,u,r,f,h,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,h,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,h,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),s.props=r,s.state=h,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return zm(e,t,n,r,o,i)}function zm(e,t,n,r,i,o){QE(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&F1(t,n,!1),Lr(e,t,o);r=t.stateNode,hO.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Ws(t,e.child,null,o),t.child=Ws(t,null,a,o)):$t(e,t,a,o),t.memoizedState=r.state,i&&F1(t,n,!0),t.child}function YE(e){var t=e.stateNode;t.pendingContext?D1(e,t.pendingContext,t.pendingContext!==t.context):t.context&&D1(e,t.context,!1),z0(e,t.containerInfo)}function ex(e,t,n,r,i){return Us(),$0(i),t.flags|=256,$t(e,t,n,r),t.child}var Vm={dehydrated:null,treeContext:null,retryLane:0};function Bm(e){return{baseLanes:e,cachePool:null,transitions:null}}function XE(e,t,n){var r=t.pendingProps,i=Le.current,o=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Me(Le,i&1),e===null)return $m(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,o?(r=t.mode,o=t.child,s={mode:"hidden",children:s},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=s):o=pf(s,r,0,null),e=bo(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Bm(n),t.memoizedState=Vm,e):K0(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return mO(e,t,s,r,a,i,n);if(o){o=r.fallback,s=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=ki(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=ki(a,o):(o=bo(o,s,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,s=e.child.memoizedState,s=s===null?Bm(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Vm,r}return o=e.child,e=o.sibling,r=ki(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function K0(e,t){return t=pf({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ju(e,t,n,r){return r!==null&&$0(r),Ws(t,e.child,null,n),e=K0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function mO(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=nh(Error(F(422))),Ju(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=pf({mode:"visible",children:r.children},i,0,null),o=bo(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Ws(t,e.child,null,s),t.child.memoizedState=Bm(s),t.memoizedState=Vm,o);if(!(t.mode&1))return Ju(e,t,s,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,o=Error(F(419)),r=nh(o,r,void 0),Ju(e,t,s,r)}if(a=(s&e.childLanes)!==0,Vt||a){if(r=ht,r!==null){switch(s&-s){case 4:i=2;break;case 16:i=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|s)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,$r(e,i),Wn(r,e,i,-1))}return ev(),r=nh(Error(F(421))),Ju(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=MO.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,en=Ci(i.nextSibling),nn=t,$e=!0,zn=null,e!==null&&(yn[xn++]=wr,yn[xn++]=br,yn[xn++]=To,wr=e.id,br=e.overflow,To=t),t=K0(t,r.children),t.flags|=4096,t)}function tx(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Lm(e.return,t,n)}function rh(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function ZE(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if($t(e,t,r.children,n),r=Le.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&tx(e,n,t);else if(e.tag===19)tx(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Me(Le,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&cd(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),rh(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&cd(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}rh(t,!0,n,null,o);break;case"together":rh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Tc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Lr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Mo|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(F(153));if(t.child!==null){for(e=t.child,n=ki(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ki(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function gO(e,t,n){switch(t.tag){case 3:YE(t),Us();break;case 5:PE(t);break;case 1:Ut(t.type)&&id(t);break;case 4:z0(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Me(ad,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Me(Le,Le.current&1),t.flags|=128,null):n&t.child.childLanes?XE(e,t,n):(Me(Le,Le.current&1),e=Lr(e,t,n),e!==null?e.sibling:null);Me(Le,Le.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ZE(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Me(Le,Le.current),r)break;return null;case 22:case 23:return t.lanes=0,KE(e,t,n)}return Lr(e,t,n)}var JE,Um,eP,tP;JE=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Um=function(){};eP=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,so(ar.current);var o=null;switch(n){case"input":i=dm(e,i),r=dm(e,r),o=[];break;case"select":i=Fe({},i,{value:void 0}),r=Fe({},r,{value:void 0}),o=[];break;case"textarea":i=hm(e,i),r=hm(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=nd)}gm(n,r);var s;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ml.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(o||(o=[]),o.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(o=o||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ml.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Oe("scroll",e),o||a===l||(o=[])):(o=o||[]).push(u,l))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};tP=function(e,t,n,r){n!==r&&(t.flags|=4)};function Pa(e,t){if(!$e)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Pt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function vO(e,t,n){var r=t.pendingProps;switch(I0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pt(t),null;case 1:return Ut(t.type)&&rd(),Pt(t),null;case 3:return r=t.stateNode,Hs(),Ae(Bt),Ae(Ot),B0(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Xu(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,zn!==null&&(Xm(zn),zn=null))),Um(e,t),Pt(t),null;case 5:V0(t);var i=so(kl.current);if(n=t.type,e!==null&&t.stateNode!=null)eP(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(F(166));return Pt(t),null}if(e=so(ar.current),Xu(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[ir]=t,r[Pl]=o,e=(t.mode&1)!==0,n){case"dialog":Oe("cancel",r),Oe("close",r);break;case"iframe":case"object":case"embed":Oe("load",r);break;case"video":case"audio":for(i=0;i<\/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[ir]=t,e[Pl]=r,JE(e,t,!1,!1),t.stateNode=e;e:{switch(s=vm(n,r),n){case"dialog":Oe("cancel",e),Oe("close",e),i=r;break;case"iframe":case"object":case"embed":Oe("load",e),i=r;break;case"video":case"audio":for(i=0;iqs&&(t.flags|=128,r=!0,Pa(o,!1),t.lanes=4194304)}else{if(!r)if(e=cd(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Pa(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!$e)return Pt(t),null}else 2*qe()-o.renderingStartTime>qs&&n!==1073741824&&(t.flags|=128,r=!0,Pa(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(n=o.last,n!==null?n.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=qe(),t.sibling=null,n=Le.current,Me(Le,r?n&1|2:n&1),t):(Pt(t),null);case 22:case 23:return J0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Xt&1073741824&&(Pt(t),t.subtreeFlags&6&&(t.flags|=8192)):Pt(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function yO(e,t){switch(I0(t),t.tag){case 1:return Ut(t.type)&&rd(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hs(),Ae(Bt),Ae(Ot),B0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return V0(t),null;case 13:if(Ae(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Us()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ae(Le),null;case 4:return Hs(),null;case 10:return D0(t.type._context),null;case 22:case 23:return J0(),null;case 24:return null;default:return null}}var ec=!1,_t=!1,xO=typeof WeakSet=="function"?WeakSet:Set,q=null;function ss(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ue(e,t,r)}else n.current=null}function Wm(e,t,n){try{n()}catch(r){Ue(e,t,r)}}var nx=!1;function wO(e,t){if(km=Jc,e=oE(),O0(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;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,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=s+i),d!==o||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===i&&(a=s),f===o&&++c===r&&(l=s),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Mm={focusedElem:e,selectionRange:n},Jc=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var m=h.memoizedProps,x=h.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:Dn(t.type,m),x);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(F(163))}}catch(w){Ue(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return h=nx,nx=!1,h}function Za(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&&Wm(t,n,o)}i=i.next}while(i!==r)}}function df(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 Hm(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 nP(e){var t=e.alternate;t!==null&&(e.alternate=null,nP(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ir],delete t[Pl],delete t[Om],delete t[nO],delete t[rO])),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 rP(e){return e.tag===5||e.tag===3||e.tag===4}function rx(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||rP(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(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Gm(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=nd));else if(r!==4&&(e=e.child,e!==null))for(Gm(e,t,n),e=e.sibling;e!==null;)Gm(e,t,n),e=e.sibling}function qm(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(qm(e,t,n),e=e.sibling;e!==null;)qm(e,t,n),e=e.sibling}var vt=null,Nn=!1;function Br(e,t,n){for(n=n.child;n!==null;)iP(e,t,n),n=n.sibling}function iP(e,t,n){if(sr&&typeof sr.onCommitFiberUnmount=="function")try{sr.onCommitFiberUnmount(nf,n)}catch{}switch(n.tag){case 5:_t||ss(n,t);case 6:var r=vt,i=Nn;vt=null,Br(e,t,n),vt=r,Nn=i,vt!==null&&(Nn?(e=vt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):vt.removeChild(n.stateNode));break;case 18:vt!==null&&(Nn?(e=vt,n=n.stateNode,e.nodeType===8?Yp(e.parentNode,n):e.nodeType===1&&Yp(e,n),wl(e)):Yp(vt,n.stateNode));break;case 4:r=vt,i=Nn,vt=n.stateNode.containerInfo,Nn=!0,Br(e,t,n),vt=r,Nn=i;break;case 0:case 11:case 14:case 15:if(!_t&&(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&&(o&2||o&4)&&Wm(n,t,s),i=i.next}while(i!==r)}Br(e,t,n);break;case 1:if(!_t&&(ss(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ue(n,t,a)}Br(e,t,n);break;case 21:Br(e,t,n);break;case 22:n.mode&1?(_t=(r=_t)||n.memoizedState!==null,Br(e,t,n),_t=r):Br(e,t,n);break;default:Br(e,t,n)}}function ix(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xO),t.forEach(function(r){var i=_O.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ln(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=qe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*SO(r/1960))-r,10e?16:e,hi===null)var r=!1;else{if(e=hi,hi=null,md=0,ve&6)throw Error(F(331));var i=ve;for(ve|=4,q=e.current;q!==null;){var o=q,s=o.child;if(q.flags&16){var a=o.deletions;if(a!==null){for(var l=0;lqe()-X0?wo(e,0):Y0|=n),Wt(e,t)}function fP(e,t){t===0&&(e.mode&1?(t=Hu,Hu<<=1,!(Hu&130023424)&&(Hu=4194304)):t=1);var n=Lt();e=$r(e,t),e!==null&&(gu(e,t,n),Wt(e,n))}function MO(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),fP(e,n)}function _O(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(F(314))}r!==null&&r.delete(t),fP(e,n)}var pP;pP=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Bt.current)Vt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Vt=!1,gO(e,t,n);Vt=!!(e.flags&131072)}else Vt=!1,$e&&t.flags&1048576&&gE(t,sd,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Tc(e,t),e=t.pendingProps;var i=Bs(t,Ot.current);xs(t,n),i=W0(null,t,r,e,i,n);var o=H0();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,Ut(r)?(o=!0,id(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,N0(t),i.updater=uf,t.stateNode=i,i._reactInternals=t,Dm(t,r,e,n),t=zm(null,t,r,!0,o,n)):(t.tag=0,$e&&o&&A0(t),$t(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Tc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=OO(r),e=Dn(r,e),i){case 0:t=Nm(null,t,r,e,n);break e;case 1:t=J1(null,t,r,e,n);break e;case 11:t=X1(null,t,r,e,n);break e;case 14:t=Z1(null,t,r,Dn(r.type,e),n);break e}throw Error(F(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),Nm(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),J1(e,t,r,i,n);case 3:e:{if(YE(t),e===null)throw Error(F(387));r=t.pendingProps,o=t.memoizedState,i=o.element,wE(e,t),ud(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,t.flags&256){i=Gs(Error(F(423)),t),t=ex(e,t,r,n,i);break e}else if(r!==i){i=Gs(Error(F(424)),t),t=ex(e,t,r,n,i);break e}else for(en=Ci(t.stateNode.containerInfo.firstChild),nn=t,$e=!0,zn=null,n=EE(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Us(),r===i){t=Lr(e,t,n);break e}$t(e,t,r,n)}t=t.child}return t;case 5:return PE(t),e===null&&$m(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,_m(r,i)?s=null:o!==null&&_m(r,o)&&(t.flags|=32),QE(e,t),$t(e,t,s,n),t.child;case 6:return e===null&&$m(t),null;case 13:return XE(e,t,n);case 4:return z0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ws(t,null,r,n):$t(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),X1(e,t,r,i,n);case 7:return $t(e,t,t.pendingProps,n),t.child;case 8:return $t(e,t,t.pendingProps.children,n),t.child;case 12:return $t(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,Me(ad,r._currentValue),r._currentValue=s,o!==null)if(Hn(o.value,s)){if(o.children===i.children&&!Bt.current){t=Lr(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=Pr(-1,n&-n),l.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),Lm(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(F(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Lm(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}$t(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,xs(t,n),i=kn(i),r=r(i),t.flags|=1,$t(e,t,r,n),t.child;case 14:return r=t.type,i=Dn(r,t.pendingProps),i=Dn(r.type,i),Z1(e,t,r,i,n);case 15:return qE(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),Tc(e,t),t.tag=1,Ut(r)?(e=!0,id(t)):e=!1,xs(t,n),SE(t,r,i),Dm(t,r,i,n),zm(null,t,r,!0,e,n);case 19:return ZE(e,t,n);case 22:return KE(e,t,n)}throw Error(F(156,t.tag))};function hP(e,t){return zC(e,t)}function RO(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 Cn(e,t,n,r){return new RO(e,t,n,r)}function tv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function OO(e){if(typeof e=="function")return tv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===w0)return 11;if(e===b0)return 14}return 2}function ki(e,t){var n=e.alternate;return n===null?(n=Cn(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=e.flags&14680064,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 _c(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")tv(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Xo:return bo(n.children,i,o,t);case x0:s=8,i|=8;break;case am:return e=Cn(12,n,t,i|2),e.elementType=am,e.lanes=o,e;case lm:return e=Cn(13,n,t,i),e.elementType=lm,e.lanes=o,e;case um:return e=Cn(19,n,t,i),e.elementType=um,e.lanes=o,e;case CC:return pf(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case bC:s=10;break e;case SC:s=9;break e;case w0:s=11;break e;case b0:s=14;break e;case ti:s=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=Cn(s,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function bo(e,t,n,r){return e=Cn(7,e,r,t),e.lanes=n,e}function pf(e,t,n,r){return e=Cn(22,e,r,t),e.elementType=CC,e.lanes=n,e.stateNode={isHidden:!1},e}function ih(e,t,n){return e=Cn(6,e,null,t),e.lanes=n,e}function oh(e,t,n){return t=Cn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function AO(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=Np(0),this.expirationTimes=Np(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Np(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function nv(e,t,n,r,i,o,s,a,l){return e=new AO(e,t,n,a,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Cn(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},N0(o),e}function IO(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(yP)}catch(e){console.error(e)}}yP(),gC.exports=an;var yf=gC.exports;const rc=oC(yf);var fx=yf;om.createRoot=fx.createRoot,om.hydrateRoot=fx.hydrateRoot;/** * @remix-run/router v1.15.3 * * Copyright (c) Remix Software Inc. @@ -52,7 +52,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function yP(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function NO(){return Math.random().toString(36).substr(2,8)}function px(e,t){return{usr:e.state,key:e.key,idx:t}}function Zm(e,t,n,r){return n===void 0&&(n=null),Al({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?oa(t):t,{state:n,key:t&&t.key||r||NO()})}function xP(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function oa(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function zO(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=mi.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(Al({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=mi.Pop;let x=c(),g=x==null?null:x-u;u=x,l&&l({action:a,location:m.location,delta:g})}function f(x,g){a=mi.Push;let y=Zm(m.location,x,g);n&&n(y,x),u=c()+1;let v=px(y,u),w=m.createHref(y);try{s.pushState(v,"",w)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(w)}o&&l&&l({action:a,location:m.location,delta:1})}function p(x,g){a=mi.Replace;let y=Zm(m.location,x,g);n&&n(y,x),u=c();let v=px(y,u),w=m.createHref(y);s.replaceState(v,"",w),o&&l&&l({action:a,location:m.location,delta:0})}function h(x){let g=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof x=="string"?x:xP(x);return y=y.replace(/ $/,"%20"),st(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let m={get action(){return a},get location(){return e(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(fx,d),l=x,()=>{i.removeEventListener(fx,d),l=null}},createHref(x){return t(i,x)},createURL:h,encodeLocation(x){let g=h(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:p,go(x){return s.go(x)}};return m}var hx;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(hx||(hx={}));function VO(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?oa(t):t,i=SP(r.pathname||"/",n);if(i==null)return null;let o=wP(e);BO(o);let s=null;for(let a=0;s==null&&a{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(st(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=So([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(st(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),wP(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:QO(u,o.index),routesMeta:c})};return e.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of bP(o.path))i(o,s,l)}),t}function bP(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=bP(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function BO(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:YO(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const UO=/^:[\w-]+$/,WO=3,HO=2,GO=1,qO=10,KO=-2,mx=e=>e==="*";function QO(e,t){let n=e.split("/"),r=n.length;return n.some(mx)&&(r+=KO),t&&(r+=HO),n.filter(i=>!mx(i)).reduce((i,o)=>i+(UO.test(o)?WO:o===""?GO:qO),r)}function YO(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function XO(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let s=0;s{let{paramName:f,isOptional:p}=c;if(f==="*"){let m=a[d]||"";s=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}const h=a[d];return p&&!h?u[f]=void 0:u[f]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function JO(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),yP(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function e5(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return yP(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function SP(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function t5(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?oa(e):e;return{pathname:n?n.startsWith("/")?n:n5(n,t):t,search:a5(r),hash:l5(i)}}function n5(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function sh(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function r5(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function i5(e,t){let n=r5(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function o5(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=oa(e):(i=Al({},e),st(!i.pathname||!i.pathname.includes("?"),sh("?","pathname","search",i)),st(!i.pathname||!i.pathname.includes("#"),sh("#","pathname","hash",i)),st(!i.search||!i.search.includes("#"),sh("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=t5(i,a),u=s&&s!=="/"&&s.endsWith("/"),c=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const So=e=>e.join("/").replace(/\/\/+/g,"/"),s5=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),a5=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,l5=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function u5(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const CP=["post","put","patch","delete"];new Set(CP);const c5=["get",...CP];new Set(c5);/** + */function Al(){return Al=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function sv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function NO(){return Math.random().toString(36).substr(2,8)}function hx(e,t){return{usr:e.state,key:e.key,idx:t}}function Zm(e,t,n,r){return n===void 0&&(n=null),Al({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Lo(t):t,{state:n,key:t&&t.key||r||NO()})}function xP(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Lo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function zO(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=mi.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(Al({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=mi.Pop;let x=c(),g=x==null?null:x-u;u=x,l&&l({action:a,location:m.location,delta:g})}function f(x,g){a=mi.Push;let y=Zm(m.location,x,g);n&&n(y,x),u=c()+1;let v=hx(y,u),w=m.createHref(y);try{s.pushState(v,"",w)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(w)}o&&l&&l({action:a,location:m.location,delta:1})}function p(x,g){a=mi.Replace;let y=Zm(m.location,x,g);n&&n(y,x),u=c();let v=hx(y,u),w=m.createHref(y);s.replaceState(v,"",w),o&&l&&l({action:a,location:m.location,delta:0})}function h(x){let g=i.location.origin!=="null"?i.location.origin:i.location.href,y=typeof x=="string"?x:xP(x);return y=y.replace(/ $/,"%20"),st(g,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,g)}let m={get action(){return a},get location(){return e(i,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(px,d),l=x,()=>{i.removeEventListener(px,d),l=null}},createHref(x){return t(i,x)},createURL:h,encodeLocation(x){let g=h(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:f,replace:p,go(x){return s.go(x)}};return m}var mx;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(mx||(mx={}));function VO(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Lo(t):t,i=SP(r.pathname||"/",n);if(i==null)return null;let o=wP(e);BO(o);let s=null;for(let a=0;s==null&&a{let l={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};l.relativePath.startsWith("/")&&(st(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=So([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(st(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),wP(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:QO(u,o.index),routesMeta:c})};return e.forEach((o,s)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,s);else for(let l of bP(o.path))i(o,s,l)}),t}function bP(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let s=bP(r.join("/")),a=[];return a.push(...s.map(l=>l===""?o:[o,l].join("/"))),i&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function BO(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:YO(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const UO=/^:[\w-]+$/,WO=3,HO=2,GO=1,qO=10,KO=-2,gx=e=>e==="*";function QO(e,t){let n=e.split("/"),r=n.length;return n.some(gx)&&(r+=KO),t&&(r+=HO),n.filter(i=>!gx(i)).reduce((i,o)=>i+(UO.test(o)?WO:o===""?GO:qO),r)}function YO(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function XO(e,t){let{routesMeta:n}=e,r={},i="/",o=[];for(let s=0;s{let{paramName:f,isOptional:p}=c;if(f==="*"){let m=a[d]||"";s=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}const h=a[d];return p&&!h?u[f]=void 0:u[f]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:s,pattern:e}}function JO(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),sv(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function e5(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return sv(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function SP(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function t5(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Lo(e):e;return{pathname:n?n.startsWith("/")?n:n5(n,t):t,search:a5(r),hash:l5(i)}}function n5(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function sh(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function r5(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function i5(e,t){let n=r5(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function o5(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Lo(e):(i=Al({},e),st(!i.pathname||!i.pathname.includes("?"),sh("?","pathname","search",i)),st(!i.pathname||!i.pathname.includes("#"),sh("#","pathname","hash",i)),st(!i.search||!i.search.includes("#"),sh("#","search","hash",i)));let o=e===""||i.pathname==="",s=o?"/":i.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=t5(i,a),u=s&&s!=="/"&&s.endsWith("/"),c=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const So=e=>e.join("/").replace(/\/\/+/g,"/"),s5=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),a5=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,l5=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function u5(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const CP=["post","put","patch","delete"];new Set(CP);const c5=["get",...CP];new Set(c5);/** * React Router v6.22.3 * * Copyright (c) Remix Software Inc. @@ -61,7 +61,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Il(){return Il=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=o5(u,JSON.parse(s),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:So([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,o,e])}const p5=b.createContext(null);function h5(e){let t=b.useContext(Hi).outlet;return t&&b.createElement(p5.Provider,{value:e},t)}function m5(){let{matches:e}=b.useContext(Hi),t=e[e.length-1];return t?t.params:{}}function g5(e,t){return v5(e,t)}function v5(e,t,n,r){bf()||st(!1);let{navigator:i}=b.useContext(xf),{matches:o}=b.useContext(Hi),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=PP(),c;if(t){var d;let x=typeof t=="string"?oa(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||st(!1),c=x}else c=u;let f=c.pathname||"/",p=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let h=VO(e,{pathname:p}),m=S5(h&&h.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:So([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:So([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&m?b.createElement(wf.Provider,{value:{location:Il({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:mi.Pop}},m):m}function y5(){let e=T5(),t=u5(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const x5=b.createElement(y5,null);class w5 extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(Hi.Provider,{value:this.props.routeContext},b.createElement(EP.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function b5(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(sv);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Hi.Provider,{value:t},r)}function S5(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id]));c>=0||st(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let p,h=!1,m=null,x=null;n&&(p=a&&d.route.id?a[d.route.id]:void 0,m=d.route.errorElement||x5,l&&(u<0&&f===0?(M5("route-fallback",!1),h=!0,x=null):u===f&&(h=!0,x=d.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,f+1)),y=()=>{let v;return p?v=m:h?v=x:d.route.Component?v=b.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,b.createElement(b5,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(w5,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var kP=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(kP||{}),yd=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(yd||{});function C5(e){let t=b.useContext(sv);return t||st(!1),t}function E5(e){let t=b.useContext(d5);return t||st(!1),t}function P5(e){let t=b.useContext(Hi);return t||st(!1),t}function MP(e){let t=P5(),n=t.matches[t.matches.length-1];return n.route.id||st(!1),n.route.id}function T5(){var e;let t=b.useContext(EP),n=E5(yd.UseRouteError),r=MP(yd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function k5(){let{router:e}=C5(kP.UseNavigateStable),t=MP(yd.UseNavigateStable),n=b.useRef(!1);return TP(()=>{n.current=!0}),b.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Il({fromRouteId:t},o)))},[e,t])}const gx={};function M5(e,t,n){!t&&!gx[e]&&(gx[e]=!0)}function _5(e){return h5(e.context)}function qo(e){st(!1)}function R5(e){let{basename:t="/",children:n=null,location:r,navigationType:i=mi.Pop,navigator:o,static:s=!1,future:a}=e;bf()&&st(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:o,static:s,future:Il({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=oa(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:h="default"}=r,m=b.useMemo(()=>{let x=SP(c,l);return x==null?null:{location:{pathname:x,search:d,hash:f,state:p,key:h},navigationType:i}},[l,c,d,f,p,h,i]);return m==null?null:b.createElement(xf.Provider,{value:u},b.createElement(wf.Provider,{children:n,value:m}))}function O5(e){let{children:t,location:n}=e;return g5(Jm(t),n)}new Promise(()=>{});function Jm(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let o=[...t,i];if(r.type===b.Fragment){n.push.apply(n,Jm(r.props.children,o));return}r.type!==qo&&st(!1),!r.props.index||!r.props.children||st(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Jm(r.props.children,o)),n.push(s)}),n}/** + */function Il(){return Il=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),b.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=o5(u,JSON.parse(s),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:So([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,o,e])}const p5=b.createContext(null);function h5(e){let t=b.useContext(Hi).outlet;return t&&b.createElement(p5.Provider,{value:e},t)}function m5(){let{matches:e}=b.useContext(Hi),t=e[e.length-1];return t?t.params:{}}function g5(e,t){return v5(e,t)}function v5(e,t,n,r){bf()||st(!1);let{navigator:i}=b.useContext(xf),{matches:o}=b.useContext(Hi),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=PP(),c;if(t){var d;let x=typeof t=="string"?Lo(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||st(!1),c=x}else c=u;let f=c.pathname||"/",p=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let h=VO(e,{pathname:p}),m=S5(h&&h.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:So([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:So([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&m?b.createElement(wf.Provider,{value:{location:Il({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:mi.Pop}},m):m}function y5(){let e=T5(),t=u5(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},t),n?b.createElement("pre",{style:i},n):null,null)}const x5=b.createElement(y5,null);class w5 extends b.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?b.createElement(Hi.Provider,{value:this.props.routeContext},b.createElement(EP.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function b5(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(av);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Hi.Provider,{value:t},r)}function S5(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let s=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id]));c>=0||st(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let p,h=!1,m=null,x=null;n&&(p=a&&d.route.id?a[d.route.id]:void 0,m=d.route.errorElement||x5,l&&(u<0&&f===0?(M5("route-fallback",!1),h=!0,x=null):u===f&&(h=!0,x=d.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,f+1)),y=()=>{let v;return p?v=m:h?v=x:d.route.Component?v=b.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,b.createElement(b5,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(w5,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var kP=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(kP||{}),yd=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(yd||{});function C5(e){let t=b.useContext(av);return t||st(!1),t}function E5(e){let t=b.useContext(d5);return t||st(!1),t}function P5(e){let t=b.useContext(Hi);return t||st(!1),t}function MP(e){let t=P5(),n=t.matches[t.matches.length-1];return n.route.id||st(!1),n.route.id}function T5(){var e;let t=b.useContext(EP),n=E5(yd.UseRouteError),r=MP(yd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function k5(){let{router:e}=C5(kP.UseNavigateStable),t=MP(yd.UseNavigateStable),n=b.useRef(!1);return TP(()=>{n.current=!0}),b.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Il({fromRouteId:t},o)))},[e,t])}const vx={};function M5(e,t,n){!t&&!vx[e]&&(vx[e]=!0)}function _5(e){return h5(e.context)}function Ko(e){st(!1)}function R5(e){let{basename:t="/",children:n=null,location:r,navigationType:i=mi.Pop,navigator:o,static:s=!1,future:a}=e;bf()&&st(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:o,static:s,future:Il({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=Lo(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:h="default"}=r,m=b.useMemo(()=>{let x=SP(c,l);return x==null?null:{location:{pathname:x,search:d,hash:f,state:p,key:h},navigationType:i}},[l,c,d,f,p,h,i]);return m==null?null:b.createElement(xf.Provider,{value:u},b.createElement(wf.Provider,{children:n,value:m}))}function O5(e){let{children:t,location:n}=e;return g5(Jm(t),n)}new Promise(()=>{});function Jm(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let o=[...t,i];if(r.type===b.Fragment){n.push.apply(n,Jm(r.props.children,o));return}r.type!==Ko&&st(!1),!r.props.index||!r.props.children||st(!1);let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Jm(r.props.children,o)),n.push(s)}),n}/** * React Router DOM v6.22.3 * * Copyright (c) Remix Software Inc. @@ -70,7 +70,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */const A5="6";try{window.__reactRouterVersion=A5}catch{}const I5="startTransition",vx=qc[I5];function $5(e){let{basename:t,children:n,future:r,window:i}=e,o=b.useRef();o.current==null&&(o.current=FO({window:i,v5Compat:!0}));let s=o.current,[a,l]=b.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&vx?vx(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>s.listen(c),[s,c]),b.createElement(R5,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var yx;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(yx||(yx={}));var xx;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(xx||(xx={}));function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=_P(e[n])}),t}function lr(e,t,n={clone:!0}){const r=n.clone?R({},e):e;return si(e)&&si(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(si(t[i])&&i in e&&si(e[i])?r[i]=lr(e[i],t[i],n):n.clone?r[i]=si(t[i])?_P(t[i]):t[i]:r[i]=t[i])}),r}const L5=Object.freeze(Object.defineProperty({__proto__:null,default:lr,isPlainObject:si},Symbol.toStringTag,{value:"Module"}));function qs(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n{u&&yx?yx(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>s.listen(c),[s,c]),b.createElement(R5,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}var xx;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(xx||(xx={}));var wx;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(wx||(wx={}));function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=_P(e[n])}),t}function lr(e,t,n={clone:!0}){const r=n.clone?R({},e):e;return si(e)&&si(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(si(t[i])&&i in e&&si(e[i])?r[i]=lr(e[i],t[i],n):n.clone?r[i]=si(t[i])?_P(t[i]):t[i]:r[i]=t[i])}),r}const L5=Object.freeze(Object.defineProperty({__proto__:null,default:lr,isPlainObject:si},Symbol.toStringTag,{value:"Module"}));function Ks(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function cv(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function U5(e,t){return()=>null}function W5(e,t){var n,r;return b.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Tr(e){return e&&e.ownerDocument||document}function Di(e){return Tr(e).defaultView||window}function H5(e,t){return()=>null}function xd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Fi=typeof window<"u"?b.useLayoutEffect:b.useEffect;let Sx=0;function G5(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(Sx+=1,n(`mui-${Sx}`))},[t]),r}const Cx=qc.useId;function q5(e){if(Cx!==void 0){const t=Cx();return e??t}return G5(e)}function K5(e,t,n,r,i){return null}function Q5({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=b.useRef(e!==void 0),[o,s]=b.useState(t),a=i?e:o,l=b.useCallback(u=>{i||s(u)},[]);return[a,l]}function ao(e){const t=b.useRef(e);return Fi(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function Ht(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{xd(n,t)})},e)}const Ex={};function Y5(e,t){const n=b.useRef(Ex);return n.current===Ex&&(n.current=e(t)),n}const X5=[];function Z5(e){b.useEffect(e,X5)}class Af{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Af}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function J5(){const e=Y5(Af.create).current;return Z5(e.disposeEffect),e}let If=!0,tg=!1;const eA=new Af,tA={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function nA(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&tA[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function rA(e){e.metaKey||e.altKey||e.ctrlKey||(If=!0)}function ah(){If=!1}function iA(){this.visibilityState==="hidden"&&tg&&(If=!0)}function oA(e){e.addEventListener("keydown",rA,!0),e.addEventListener("mousedown",ah,!0),e.addEventListener("pointerdown",ah,!0),e.addEventListener("touchstart",ah,!0),e.addEventListener("visibilitychange",iA,!0)}function sA(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return If||nA(t)}function dv(){const e=b.useCallback(i=>{i!=null&&oA(i.ownerDocument)},[]),t=b.useRef(!1);function n(){return t.current?(tg=!0,eA.start(100,()=>{tg=!1}),t.current=!1,!0):!1}function r(i){return sA(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function aA(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function $P(e,t){const n=R({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=R({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=R({},o),Object.keys(i).forEach(s=>{n[r][s]=$P(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function at(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const a=t(s);a!==""&&o.push(a),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const Px=e=>e,lA=()=>{let e=Px;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Px}}},uA=lA(),fv=uA,cA={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function nt(e,t,n="Mui"){const r=cA[t];return r?`${n}-${r}`:`${fv.generate(e)}-${t}`}function Qe(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=nt(e,i,n)}),r}function dA(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const fA=Object.freeze(Object.defineProperty({__proto__:null,default:dA},Symbol.toStringTag,{value:"Module"}));function se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function LP(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>R({},n,{[r.key]:r.val}),{})};function DP(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=se(e,pA),o=hA(t),s=Object.keys(o);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,p){const h=s.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:p)-r/100}${n})`}function c(f){return s.indexOf(f)+1`@media (min-width:${pv[e]}px)`};function jr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||Tx;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=r.breakpoints||Tx;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||pv).indexOf(a)!==-1){const l=o.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function vA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function yA(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Ks(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function wd(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Ks(e,n)||r,t&&(i=t(i,r,e)),i}function Ye(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=Ks(l,r)||{};return jr(s,a,d=>{let f=wd(u,i,d);return d===f&&typeof d=="string"&&(f=wd(u,i,`${t}${d==="default"?"":Y(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[t],o}function xA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const wA={m:"margin",p:"padding"},bA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},kx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},SA=xA(e=>{if(e.length>2)if(kx[e])e=kx[e];else return[e];const[t,n]=e.split(""),r=wA[t],i=bA[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),hv=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],mv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...hv,...mv];function wu(e,t,n,r){var i;const o=(i=Ks(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function FP(e){return wu(e,"spacing",8)}function bu(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function CA(e,t){return n=>e.reduce((r,i)=>(r[i]=bu(t,n),r),{})}function EA(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=SA(n),o=CA(i,r),s=e[n];return jr(e,s,o)}function NP(e,t){const n=FP(e.theme);return Object.keys(e).map(r=>EA(e,t,r,n)).reduce(tl,{})}function ze(e){return NP(e,hv)}ze.propTypes={};ze.filterProps=hv;function Ve(e){return NP(e,mv)}Ve.propTypes={};Ve.filterProps=mv;function PA(e=8){if(e.mui)return e;const t=FP({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function $f(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?tl(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function wn(e){return typeof e!="number"?e:`${e}px solid`}function On(e,t){return Ye({prop:e,themeKey:"borders",transform:t})}const TA=On("border",wn),kA=On("borderTop",wn),MA=On("borderRight",wn),_A=On("borderBottom",wn),RA=On("borderLeft",wn),OA=On("borderColor"),AA=On("borderTopColor"),IA=On("borderRightColor"),$A=On("borderBottomColor"),LA=On("borderLeftColor"),jA=On("outline",wn),DA=On("outlineColor"),Lf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=wu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:bu(t,r)});return jr(e,e.borderRadius,n)}return null};Lf.propTypes={};Lf.filterProps=["borderRadius"];$f(TA,kA,MA,_A,RA,OA,AA,IA,$A,LA,Lf,jA,DA);const jf=e=>{if(e.gap!==void 0&&e.gap!==null){const t=wu(e.theme,"spacing",8),n=r=>({gap:bu(t,r)});return jr(e,e.gap,n)}return null};jf.propTypes={};jf.filterProps=["gap"];const Df=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=wu(e.theme,"spacing",8),n=r=>({columnGap:bu(t,r)});return jr(e,e.columnGap,n)}return null};Df.propTypes={};Df.filterProps=["columnGap"];const Ff=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=wu(e.theme,"spacing",8),n=r=>({rowGap:bu(t,r)});return jr(e,e.rowGap,n)}return null};Ff.propTypes={};Ff.filterProps=["rowGap"];const FA=Ye({prop:"gridColumn"}),NA=Ye({prop:"gridRow"}),zA=Ye({prop:"gridAutoFlow"}),VA=Ye({prop:"gridAutoColumns"}),BA=Ye({prop:"gridAutoRows"}),UA=Ye({prop:"gridTemplateColumns"}),WA=Ye({prop:"gridTemplateRows"}),HA=Ye({prop:"gridTemplateAreas"}),GA=Ye({prop:"gridArea"});$f(jf,Df,Ff,FA,NA,zA,VA,BA,UA,WA,HA,GA);function ws(e,t){return t==="grey"?t:e}const qA=Ye({prop:"color",themeKey:"palette",transform:ws}),KA=Ye({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ws}),QA=Ye({prop:"backgroundColor",themeKey:"palette",transform:ws});$f(qA,KA,QA);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}const YA=Ye({prop:"width",transform:Jt}),gv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||pv[n];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Jt(n)}};return jr(e,e.maxWidth,t)}return null};gv.filterProps=["maxWidth"];const XA=Ye({prop:"minWidth",transform:Jt}),ZA=Ye({prop:"height",transform:Jt}),JA=Ye({prop:"maxHeight",transform:Jt}),eI=Ye({prop:"minHeight",transform:Jt});Ye({prop:"size",cssProperty:"width",transform:Jt});Ye({prop:"size",cssProperty:"height",transform:Jt});const tI=Ye({prop:"boxSizing"});$f(YA,gv,XA,ZA,JA,eI,tI);const nI={border:{themeKey:"borders",transform:wn},borderTop:{themeKey:"borders",transform:wn},borderRight:{themeKey:"borders",transform:wn},borderBottom:{themeKey:"borders",transform:wn},borderLeft:{themeKey:"borders",transform:wn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:wn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lf},color:{themeKey:"palette",transform:ws},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ws},backgroundColor:{themeKey:"palette",transform:ws},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:ze},mt:{style:ze},mr:{style:ze},mb:{style:ze},ml:{style:ze},mx:{style:ze},my:{style:ze},margin:{style:ze},marginTop:{style:ze},marginRight:{style:ze},marginBottom:{style:ze},marginLeft:{style:ze},marginX:{style:ze},marginY:{style:ze},marginInline:{style:ze},marginInlineStart:{style:ze},marginInlineEnd:{style:ze},marginBlock:{style:ze},marginBlockStart:{style:ze},marginBlockEnd:{style:ze},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jf},rowGap:{style:Ff},columnGap:{style:Df},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jt},maxWidth:{style:gv},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Su=nI;function rI(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function iI(e,t){return typeof e=="function"?e(t):e}function zP(){function e(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:d}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=Ks(i,u)||{};return d?d(s):jr(s,r,h=>{let m=wd(f,c,h);return h===m&&typeof h=="string"&&(m=wd(f,c,`${n}${h==="default"?"":Y(h)}`,h)),l===!1?m:{[l]:m}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:Su;function a(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const c=vA(o.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(p=>{const h=iI(u[p],o);if(h!=null)if(typeof h=="object")if(s[p])f=tl(f,e(p,h,o,s));else{const m=jr({theme:o},h,x=>({[p]:x}));rI(m,h)?f[p]=t({sx:h,theme:o}):f=tl(f,m)}else f=tl(f,e(p,h,o,s))}),yA(d,f)}return Array.isArray(i)?i.map(a):a(i)}return t}const Cu=zP();Cu.filterProps=["sx"];function VP(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const oI=["breakpoints","palette","spacing","shape"];function vv(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=se(e,oI),a=DP(n),l=PA(i);let u=lr({breakpoints:a,direction:"ltr",components:{},palette:R({mode:"light"},r),spacing:l,shape:R({},gA,o)},s);return u.applyStyles=VP,u=t.reduce((c,d)=>lr(c,d),u),u.unstable_sxConfig=R({},Su,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Cu({sx:d,theme:this})},u}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:vv,private_createBreakpoints:DP,unstable_applyStyles:VP},Symbol.toStringTag,{value:"Module"}));function BP(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var aI=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,lI=BP(function(e){return aI.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function uI(e){if(e.sheet)return e.sheet;for(var t=0;t0?yt(sa,--Gt):0,Qs--,Je===10&&(Qs=1,zf--),Je}function rn(){return Je=Gt2||Ll(Je)>3?"":" "}function SI(e,t){for(;--t&&rn()&&!(Je<48||Je>102||Je>57&&Je<65||Je>70&&Je<97););return Eu(e,Rc()+(t<6&&ur()==32&&rn()==32))}function rg(e){for(;rn();)switch(Je){case e:return Gt;case 34:case 39:e!==34&&e!==39&&rg(Je);break;case 40:e===41&&rg(e);break;case 92:rn();break}return Gt}function CI(e,t){for(;rn()&&e+Je!==57;)if(e+Je===84&&ur()===47)break;return"/*"+Eu(t,Gt-1)+"*"+Nf(e===47?e:rn())}function EI(e){for(;!Ll(ur());)rn();return Eu(e,Gt)}function PI(e){return KP(Ac("",null,null,null,[""],e=qP(e),0,[0],e))}function Ac(e,t,n,r,i,o,s,a,l){for(var u=0,c=0,d=s,f=0,p=0,h=0,m=1,x=1,g=1,y=0,v="",w=i,C=o,E=r,T=v;x;)switch(h=y,y=rn()){case 40:if(h!=108&&yt(T,d-1)==58){ng(T+=be(Oc(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:T+=Oc(y);break;case 9:case 10:case 13:case 32:T+=bI(h);break;case 92:T+=SI(Rc()-1,7);continue;case 47:switch(ur()){case 42:case 47:ic(TI(CI(rn(),Rc()),t,n),l);break;default:T+="/"}break;case 123*m:a[u++]=nr(T)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+c:g==-1&&(T=be(T,/\f/g,"")),p>0&&nr(T)-d&&ic(p>32?_x(T+";",r,n,d-1):_x(be(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(ic(E=Mx(T,t,n,u,c,i,a,v,w=[],C=[],d),o),y===123)if(c===0)Ac(T,t,E,E,w,o,d,a,C);else switch(f===99&&yt(T,3)===110?100:f){case 100:case 108:case 109:case 115:Ac(e,E,E,r&&ic(Mx(e,E,E,0,0,i,a,v,i,w=[],d),C),i,C,d,a,r?w:C);break;default:Ac(T,E,E,E,[""],C,0,a,C)}}u=c=p=0,m=g=1,v=T="",d=s;break;case 58:d=1+nr(T),p=h;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&wI()==125)continue}switch(T+=Nf(y),y*m){case 38:g=c>0?1:(T+="\f",-1);break;case 44:a[u++]=(nr(T)-1)*g,g=1;break;case 64:ur()===45&&(T+=Oc(rn())),f=ur(),c=d=nr(v=T+=EI(Rc())),y++;break;case 45:h===45&&nr(T)==2&&(m=0)}}return o}function Mx(e,t,n,r,i,o,s,a,l,u,c){for(var d=i-1,f=i===0?o:[""],p=wv(f),h=0,m=0,x=0;h0?f[g]+" "+y:be(y,/&\f/g,f[g])))&&(l[x++]=v);return Vf(e,t,n,i===0?yv:a,l,u,c)}function TI(e,t,n){return Vf(e,t,n,UP,Nf(xI()),$l(e,2,-2),0)}function _x(e,t,n,r){return Vf(e,t,n,xv,$l(e,0,r),$l(e,r+1,-1),r)}function bs(e,t){for(var n="",r=wv(e),i=0;i6)switch(yt(e,t+1)){case 109:if(yt(e,t+4)!==45)break;case 102:return be(e,/(.+:)(.+)-([^]+)/,"$1"+we+"$2-$3$1"+bd+(yt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ng(e,"stretch")?QP(be(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(yt(e,t+1)!==115)break;case 6444:switch(yt(e,nr(e)-3-(~ng(e,"!important")&&10))){case 107:return be(e,":",":"+we)+e;case 101:return be(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+we+(yt(e,14)===45?"inline-":"")+"box$3$1"+we+"$2$3$1"+Tt+"$2box$3")+e}break;case 5936:switch(yt(e,t+11)){case 114:return we+e+Tt+be(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return we+e+Tt+be(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return we+e+Tt+be(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return we+e+Tt+e+e}return e}var LI=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case xv:t.return=QP(t.value,t.length);break;case WP:return bs([ka(t,{value:be(t.value,"@","@"+we)})],i);case yv:if(t.length)return yI(t.props,function(o){switch(vI(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return bs([ka(t,{props:[be(o,/:(read-\w+)/,":"+bd+"$1")]})],i);case"::placeholder":return bs([ka(t,{props:[be(o,/:(plac\w+)/,":"+we+"input-$1")]}),ka(t,{props:[be(o,/:(plac\w+)/,":"+bd+"$1")]}),ka(t,{props:[be(o,/:(plac\w+)/,Tt+"input-$1")]})],i)}return""})}},jI=[LI],YP=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var x=m.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||jI,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var x=m.getAttribute("data-emotion").split(" "),g=1;gn==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function dv(e,t=166){let n;function r(...i){const o=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(o,t)}return r.clear=()=>{clearTimeout(n)},r}function U5(e,t){return()=>null}function W5(e,t){var n,r;return b.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function Tr(e){return e&&e.ownerDocument||document}function Di(e){return Tr(e).defaultView||window}function H5(e,t){return()=>null}function xd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Fi=typeof window<"u"?b.useLayoutEffect:b.useEffect;let Cx=0;function G5(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(Cx+=1,n(`mui-${Cx}`))},[t]),r}const Ex=qc.useId;function q5(e){if(Ex!==void 0){const t=Ex();return e??t}return G5(e)}function K5(e,t,n,r,i){return null}function Q5({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=b.useRef(e!==void 0),[o,s]=b.useState(t),a=i?e:o,l=b.useCallback(u=>{i||s(u)},[]);return[a,l]}function ao(e){const t=b.useRef(e);return Fi(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function Ht(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{xd(n,t)})},e)}const Px={};function Y5(e,t){const n=b.useRef(Px);return n.current===Px&&(n.current=e(t)),n}const X5=[];function Z5(e){b.useEffect(e,X5)}class Af{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Af}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function J5(){const e=Y5(Af.create).current;return Z5(e.disposeEffect),e}let If=!0,tg=!1;const eA=new Af,tA={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function nA(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&tA[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function rA(e){e.metaKey||e.altKey||e.ctrlKey||(If=!0)}function ah(){If=!1}function iA(){this.visibilityState==="hidden"&&tg&&(If=!0)}function oA(e){e.addEventListener("keydown",rA,!0),e.addEventListener("mousedown",ah,!0),e.addEventListener("pointerdown",ah,!0),e.addEventListener("touchstart",ah,!0),e.addEventListener("visibilitychange",iA,!0)}function sA(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return If||nA(t)}function fv(){const e=b.useCallback(i=>{i!=null&&oA(i.ownerDocument)},[]),t=b.useRef(!1);function n(){return t.current?(tg=!0,eA.start(100,()=>{tg=!1}),t.current=!1,!0):!1}function r(i){return sA(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function aA(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function $P(e,t){const n=R({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=R({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},o=t[r];n[r]={},!o||!Object.keys(o)?n[r]=i:!i||!Object.keys(i)?n[r]=o:(n[r]=R({},o),Object.keys(i).forEach(s=>{n[r][s]=$P(i[s],o[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function at(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((o,s)=>{if(s){const a=t(s);a!==""&&o.push(a),n&&n[s]&&o.push(n[s])}return o},[]).join(" ")}),r}const Tx=e=>e,lA=()=>{let e=Tx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Tx}}},uA=lA(),pv=uA,cA={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function nt(e,t,n="Mui"){const r=cA[t];return r?`${n}-${r}`:`${pv.generate(e)}-${t}`}function Qe(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=nt(e,i,n)}),r}function dA(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const fA=Object.freeze(Object.defineProperty({__proto__:null,default:dA},Symbol.toStringTag,{value:"Module"}));function se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function LP(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>R({},n,{[r.key]:r.val}),{})};function DP(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=se(e,pA),o=hA(t),s=Object.keys(o);function a(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function l(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,p){const h=s.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[s[h]]=="number"?t[s[h]]:p)-r/100}${n})`}function c(f){return s.indexOf(f)+1`@media (min-width:${hv[e]}px)`};function jr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||kx;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=r.breakpoints||kx;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||hv).indexOf(a)!==-1){const l=o.up(a);s[l]=n(t[a],a)}else{const l=a;s[l]=t[l]}return s},{})}return n(t)}function vA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function yA(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Qs(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function wd(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Qs(e,n)||r,t&&(i=t(i,r,e)),i}function Ye(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,o=s=>{if(s[t]==null)return null;const a=s[t],l=s.theme,u=Qs(l,r)||{};return jr(s,a,d=>{let f=wd(u,i,d);return d===f&&typeof d=="string"&&(f=wd(u,i,`${t}${d==="default"?"":Y(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[t],o}function xA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const wA={m:"margin",p:"padding"},bA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Mx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},SA=xA(e=>{if(e.length>2)if(Mx[e])e=Mx[e];else return[e];const[t,n]=e.split(""),r=wA[t],i=bA[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),mv=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],gv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...mv,...gv];function wu(e,t,n,r){var i;const o=(i=Qs(e,t,!1))!=null?i:n;return typeof o=="number"?s=>typeof s=="string"?s:o*s:Array.isArray(o)?s=>typeof s=="string"?s:o[s]:typeof o=="function"?o:()=>{}}function FP(e){return wu(e,"spacing",8)}function bu(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function CA(e,t){return n=>e.reduce((r,i)=>(r[i]=bu(t,n),r),{})}function EA(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=SA(n),o=CA(i,r),s=e[n];return jr(e,s,o)}function NP(e,t){const n=FP(e.theme);return Object.keys(e).map(r=>EA(e,t,r,n)).reduce(tl,{})}function ze(e){return NP(e,mv)}ze.propTypes={};ze.filterProps=mv;function Ve(e){return NP(e,gv)}Ve.propTypes={};Ve.filterProps=gv;function PA(e=8){if(e.mui)return e;const t=FP({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(o=>{const s=t(o);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function $f(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(o=>{r[o]=i}),r),{}),n=r=>Object.keys(r).reduce((i,o)=>t[o]?tl(i,t[o](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function wn(e){return typeof e!="number"?e:`${e}px solid`}function On(e,t){return Ye({prop:e,themeKey:"borders",transform:t})}const TA=On("border",wn),kA=On("borderTop",wn),MA=On("borderRight",wn),_A=On("borderBottom",wn),RA=On("borderLeft",wn),OA=On("borderColor"),AA=On("borderTopColor"),IA=On("borderRightColor"),$A=On("borderBottomColor"),LA=On("borderLeftColor"),jA=On("outline",wn),DA=On("outlineColor"),Lf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=wu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:bu(t,r)});return jr(e,e.borderRadius,n)}return null};Lf.propTypes={};Lf.filterProps=["borderRadius"];$f(TA,kA,MA,_A,RA,OA,AA,IA,$A,LA,Lf,jA,DA);const jf=e=>{if(e.gap!==void 0&&e.gap!==null){const t=wu(e.theme,"spacing",8),n=r=>({gap:bu(t,r)});return jr(e,e.gap,n)}return null};jf.propTypes={};jf.filterProps=["gap"];const Df=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=wu(e.theme,"spacing",8),n=r=>({columnGap:bu(t,r)});return jr(e,e.columnGap,n)}return null};Df.propTypes={};Df.filterProps=["columnGap"];const Ff=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=wu(e.theme,"spacing",8),n=r=>({rowGap:bu(t,r)});return jr(e,e.rowGap,n)}return null};Ff.propTypes={};Ff.filterProps=["rowGap"];const FA=Ye({prop:"gridColumn"}),NA=Ye({prop:"gridRow"}),zA=Ye({prop:"gridAutoFlow"}),VA=Ye({prop:"gridAutoColumns"}),BA=Ye({prop:"gridAutoRows"}),UA=Ye({prop:"gridTemplateColumns"}),WA=Ye({prop:"gridTemplateRows"}),HA=Ye({prop:"gridTemplateAreas"}),GA=Ye({prop:"gridArea"});$f(jf,Df,Ff,FA,NA,zA,VA,BA,UA,WA,HA,GA);function bs(e,t){return t==="grey"?t:e}const qA=Ye({prop:"color",themeKey:"palette",transform:bs}),KA=Ye({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:bs}),QA=Ye({prop:"backgroundColor",themeKey:"palette",transform:bs});$f(qA,KA,QA);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}const YA=Ye({prop:"width",transform:Jt}),vv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i;const o=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||hv[n];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Jt(n)}};return jr(e,e.maxWidth,t)}return null};vv.filterProps=["maxWidth"];const XA=Ye({prop:"minWidth",transform:Jt}),ZA=Ye({prop:"height",transform:Jt}),JA=Ye({prop:"maxHeight",transform:Jt}),eI=Ye({prop:"minHeight",transform:Jt});Ye({prop:"size",cssProperty:"width",transform:Jt});Ye({prop:"size",cssProperty:"height",transform:Jt});const tI=Ye({prop:"boxSizing"});$f(YA,vv,XA,ZA,JA,eI,tI);const nI={border:{themeKey:"borders",transform:wn},borderTop:{themeKey:"borders",transform:wn},borderRight:{themeKey:"borders",transform:wn},borderBottom:{themeKey:"borders",transform:wn},borderLeft:{themeKey:"borders",transform:wn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:wn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Lf},color:{themeKey:"palette",transform:bs},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:bs},backgroundColor:{themeKey:"palette",transform:bs},p:{style:Ve},pt:{style:Ve},pr:{style:Ve},pb:{style:Ve},pl:{style:Ve},px:{style:Ve},py:{style:Ve},padding:{style:Ve},paddingTop:{style:Ve},paddingRight:{style:Ve},paddingBottom:{style:Ve},paddingLeft:{style:Ve},paddingX:{style:Ve},paddingY:{style:Ve},paddingInline:{style:Ve},paddingInlineStart:{style:Ve},paddingInlineEnd:{style:Ve},paddingBlock:{style:Ve},paddingBlockStart:{style:Ve},paddingBlockEnd:{style:Ve},m:{style:ze},mt:{style:ze},mr:{style:ze},mb:{style:ze},ml:{style:ze},mx:{style:ze},my:{style:ze},margin:{style:ze},marginTop:{style:ze},marginRight:{style:ze},marginBottom:{style:ze},marginLeft:{style:ze},marginX:{style:ze},marginY:{style:ze},marginInline:{style:ze},marginInlineStart:{style:ze},marginInlineEnd:{style:ze},marginBlock:{style:ze},marginBlockStart:{style:ze},marginBlockEnd:{style:ze},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:jf},rowGap:{style:Ff},columnGap:{style:Df},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Jt},maxWidth:{style:vv},minWidth:{transform:Jt},height:{transform:Jt},maxHeight:{transform:Jt},minHeight:{transform:Jt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Su=nI;function rI(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function iI(e,t){return typeof e=="function"?e(t):e}function zP(){function e(n,r,i,o){const s={[n]:r,theme:i},a=o[n];if(!a)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:c,style:d}=a;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=Qs(i,u)||{};return d?d(s):jr(s,r,h=>{let m=wd(f,c,h);return h===m&&typeof h=="string"&&(m=wd(f,c,`${n}${h==="default"?"":Y(h)}`,h)),l===!1?m:{[l]:m}})}function t(n){var r;const{sx:i,theme:o={}}=n||{};if(!i)return null;const s=(r=o.unstable_sxConfig)!=null?r:Su;function a(l){let u=l;if(typeof l=="function")u=l(o);else if(typeof l!="object")return l;if(!u)return null;const c=vA(o.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(p=>{const h=iI(u[p],o);if(h!=null)if(typeof h=="object")if(s[p])f=tl(f,e(p,h,o,s));else{const m=jr({theme:o},h,x=>({[p]:x}));rI(m,h)?f[p]=t({sx:h,theme:o}):f=tl(f,m)}else f=tl(f,e(p,h,o,s))}),yA(d,f)}return Array.isArray(i)?i.map(a):a(i)}return t}const Cu=zP();Cu.filterProps=["sx"];function VP(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const oI=["breakpoints","palette","spacing","shape"];function yv(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=se(e,oI),a=DP(n),l=PA(i);let u=lr({breakpoints:a,direction:"ltr",components:{},palette:R({mode:"light"},r),spacing:l,shape:R({},gA,o)},s);return u.applyStyles=VP,u=t.reduce((c,d)=>lr(c,d),u),u.unstable_sxConfig=R({},Su,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Cu({sx:d,theme:this})},u}const sI=Object.freeze(Object.defineProperty({__proto__:null,default:yv,private_createBreakpoints:DP,unstable_applyStyles:VP},Symbol.toStringTag,{value:"Module"}));function BP(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var aI=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,lI=BP(function(e){return aI.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function uI(e){if(e.sheet)return e.sheet;for(var t=0;t0?yt(sa,--Gt):0,Ys--,Je===10&&(Ys=1,zf--),Je}function rn(){return Je=Gt2||Ll(Je)>3?"":" "}function SI(e,t){for(;--t&&rn()&&!(Je<48||Je>102||Je>57&&Je<65||Je>70&&Je<97););return Eu(e,Rc()+(t<6&&ur()==32&&rn()==32))}function rg(e){for(;rn();)switch(Je){case e:return Gt;case 34:case 39:e!==34&&e!==39&&rg(Je);break;case 40:e===41&&rg(e);break;case 92:rn();break}return Gt}function CI(e,t){for(;rn()&&e+Je!==57;)if(e+Je===84&&ur()===47)break;return"/*"+Eu(t,Gt-1)+"*"+Nf(e===47?e:rn())}function EI(e){for(;!Ll(ur());)rn();return Eu(e,Gt)}function PI(e){return KP(Ac("",null,null,null,[""],e=qP(e),0,[0],e))}function Ac(e,t,n,r,i,o,s,a,l){for(var u=0,c=0,d=s,f=0,p=0,h=0,m=1,x=1,g=1,y=0,v="",w=i,C=o,E=r,T=v;x;)switch(h=y,y=rn()){case 40:if(h!=108&&yt(T,d-1)==58){ng(T+=be(Oc(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:T+=Oc(y);break;case 9:case 10:case 13:case 32:T+=bI(h);break;case 92:T+=SI(Rc()-1,7);continue;case 47:switch(ur()){case 42:case 47:ic(TI(CI(rn(),Rc()),t,n),l);break;default:T+="/"}break;case 123*m:a[u++]=nr(T)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+c:g==-1&&(T=be(T,/\f/g,"")),p>0&&nr(T)-d&&ic(p>32?Rx(T+";",r,n,d-1):Rx(be(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(ic(E=_x(T,t,n,u,c,i,a,v,w=[],C=[],d),o),y===123)if(c===0)Ac(T,t,E,E,w,o,d,a,C);else switch(f===99&&yt(T,3)===110?100:f){case 100:case 108:case 109:case 115:Ac(e,E,E,r&&ic(_x(e,E,E,0,0,i,a,v,i,w=[],d),C),i,C,d,a,r?w:C);break;default:Ac(T,E,E,E,[""],C,0,a,C)}}u=c=p=0,m=g=1,v=T="",d=s;break;case 58:d=1+nr(T),p=h;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&wI()==125)continue}switch(T+=Nf(y),y*m){case 38:g=c>0?1:(T+="\f",-1);break;case 44:a[u++]=(nr(T)-1)*g,g=1;break;case 64:ur()===45&&(T+=Oc(rn())),f=ur(),c=d=nr(v=T+=EI(Rc())),y++;break;case 45:h===45&&nr(T)==2&&(m=0)}}return o}function _x(e,t,n,r,i,o,s,a,l,u,c){for(var d=i-1,f=i===0?o:[""],p=bv(f),h=0,m=0,x=0;h0?f[g]+" "+y:be(y,/&\f/g,f[g])))&&(l[x++]=v);return Vf(e,t,n,i===0?xv:a,l,u,c)}function TI(e,t,n){return Vf(e,t,n,UP,Nf(xI()),$l(e,2,-2),0)}function Rx(e,t,n,r){return Vf(e,t,n,wv,$l(e,0,r),$l(e,r+1,-1),r)}function Ss(e,t){for(var n="",r=bv(e),i=0;i6)switch(yt(e,t+1)){case 109:if(yt(e,t+4)!==45)break;case 102:return be(e,/(.+:)(.+)-([^]+)/,"$1"+we+"$2-$3$1"+bd+(yt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ng(e,"stretch")?QP(be(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(yt(e,t+1)!==115)break;case 6444:switch(yt(e,nr(e)-3-(~ng(e,"!important")&&10))){case 107:return be(e,":",":"+we)+e;case 101:return be(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+we+(yt(e,14)===45?"inline-":"")+"box$3$1"+we+"$2$3$1"+Tt+"$2box$3")+e}break;case 5936:switch(yt(e,t+11)){case 114:return we+e+Tt+be(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return we+e+Tt+be(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return we+e+Tt+be(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return we+e+Tt+e+e}return e}var LI=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case wv:t.return=QP(t.value,t.length);break;case WP:return Ss([ka(t,{value:be(t.value,"@","@"+we)})],i);case xv:if(t.length)return yI(t.props,function(o){switch(vI(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ss([ka(t,{props:[be(o,/:(read-\w+)/,":"+bd+"$1")]})],i);case"::placeholder":return Ss([ka(t,{props:[be(o,/:(plac\w+)/,":"+we+"input-$1")]}),ka(t,{props:[be(o,/:(plac\w+)/,":"+bd+"$1")]}),ka(t,{props:[be(o,/:(plac\w+)/,Tt+"input-$1")]})],i)}return""})}},jI=[LI],YP=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var x=m.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||jI,o={},s,a=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var x=m.getAttribute("data-emotion").split(" "),g=1;g=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var KI={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},QI=/[A-Z]|^ms/g,YI=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rT=function(t){return t.charCodeAt(1)===45},Ox=function(t){return t!=null&&typeof t!="boolean"},lh=BP(function(e){return rT(e)?e:e.replace(QI,"-$&").toLowerCase()}),Ax=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(YI,function(r,i,o){return rr={name:i,styles:o,next:rr},i})}return KI[t]!==1&&!rT(t)&&typeof n=="number"&&n!==0?n+"px":n};function jl(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return rr={name:n.name,styles:n.styles,next:rr},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)rr={name:r.name,styles:r.styles,next:rr},r=r.next;var i=n.styles+";";return i}return XI(e,t,n)}case"function":{if(e!==void 0){var o=rr,s=n(e);return rr=o,jl(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function XI(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?n3:r3},Dx=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},i3=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return tT(n,r,i),JI(function(){return nT(n,r,i)}),null},o3=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var a=Dx(t,n,r),l=a||jx(i),u=!l("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,p=1;pt(l3(i)?n:i):t;return S.jsx(t3,{styles:r})}function uT(e,t){return ig(e,t)}const u3=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},c3=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:lT,StyledEngineProvider:a3,ThemeContext:Pu,css:Zf,default:uT,internal_processStyles:u3,keyframes:aa},Symbol.toStringTag,{value:"Module"}));function d3(e){return Object.keys(e).length===0}function Pv(e=null){const t=b.useContext(Pu);return!t||d3(t)?e:t}const f3=vv();function Jf(e=f3){return Pv(e)}function p3({props:e,name:t,defaultTheme:n,themeId:r}){let i=Jf(n);return r&&(i=i[r]||i),jP({theme:i,name:t,props:e})}const h3=["sx"],m3=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Su;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function Tv(e){const{sx:t}=e,n=se(e,h3),{systemProps:r,otherProps:i}=m3(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const a=t(...s);return si(a)?R({},r,a):r}:o=R({},r,t),R({},i,{sx:o})}const g3=Object.freeze(Object.defineProperty({__proto__:null,default:Cu,extendSxProp:Tv,unstable_createStyleFunctionSx:zP,unstable_defaultSxConfig:Su},Symbol.toStringTag,{value:"Module"}));function v3(e,t){return R({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Xe={},cT={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(cT);var kv=cT.exports;const y3=Fr(j5),x3=Fr(fA);var dT=kv;Object.defineProperty(Xe,"__esModule",{value:!0});var kt=Xe.alpha=mT;Xe.blend=R3;Xe.colorChannel=void 0;var sg=Xe.darken=_v;Xe.decomposeColor=_n;Xe.emphasize=gT;var w3=Xe.getContrastRatio=P3;Xe.getLuminance=Sd;Xe.hexToRgb=fT;Xe.hslToRgb=hT;var ag=Xe.lighten=Rv;Xe.private_safeAlpha=T3;Xe.private_safeColorChannel=void 0;Xe.private_safeDarken=k3;Xe.private_safeEmphasize=_3;Xe.private_safeLighten=M3;Xe.recomposeColor=la;Xe.rgbToHex=E3;var Fx=dT(y3),b3=dT(x3);function Mv(e,t=0,n=1){return(0,b3.default)(e,t,n)}function fT(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function S3(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function _n(e){if(e.type)return e;if(e.charAt(0)==="#")return _n(fT(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Fx.default)(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error((0,Fx.default)(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const pT=e=>{const t=_n(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Xe.colorChannel=pT;const C3=(e,t)=>{try{return pT(e)}catch{return e}};Xe.private_safeColorChannel=C3;function la(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function E3(e){if(e.indexOf("#")===0)return e;const{values:t}=_n(e);return`#${t.map((n,r)=>S3(r===3?Math.round(255*n):n)).join("")}`}function hT(e){e=_n(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(u,c=(u+n/30)%12)=>i-o*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),la({type:a,values:l})}function Sd(e){e=_n(e);let t=e.type==="hsl"||e.type==="hsla"?_n(hT(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function P3(e,t){const n=Sd(e),r=Sd(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function mT(e,t){return e=_n(e),t=Mv(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,la(e)}function T3(e,t,n){try{return mT(e,t)}catch{return e}}function _v(e,t){if(e=_n(e),t=Mv(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return la(e)}function k3(e,t,n){try{return _v(e,t)}catch{return e}}function Rv(e,t){if(e=_n(e),t=Mv(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return la(e)}function M3(e,t,n){try{return Rv(e,t)}catch{return e}}function gT(e,t=.15){return Sd(e)>.5?_v(e,t):Rv(e,t)}function _3(e,t,n){try{return gT(e,t)}catch{return e}}function R3(e,t,n,r=1){const i=(l,u)=>Math.round((l**(1/r)*(1-n)+u**(1/r)*n)**r),o=_n(e),s=_n(t),a=[i(o.values[0],s.values[0]),i(o.values[1],s.values[1]),i(o.values[2],s.values[2])];return la({type:"rgb",values:a})}const O3={black:"#000",white:"#fff"},Dl=O3,A3={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},I3=A3,$3={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},No=$3,L3={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},zo=L3,j3={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ma=j3,D3={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Vo=D3,F3={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Bo=F3,N3={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Uo=N3,z3=["mode","contrastThreshold","tonalOffset"],Nx={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Dl.white,default:Dl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ch={text:{primary:Dl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Dl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function zx(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ag(e.main,i):t==="dark"&&(e.dark=sg(e.main,o)))}function V3(e="light"){return e==="dark"?{main:Vo[200],light:Vo[50],dark:Vo[400]}:{main:Vo[700],light:Vo[400],dark:Vo[800]}}function B3(e="light"){return e==="dark"?{main:No[200],light:No[50],dark:No[400]}:{main:No[500],light:No[300],dark:No[700]}}function U3(e="light"){return e==="dark"?{main:zo[500],light:zo[300],dark:zo[700]}:{main:zo[700],light:zo[400],dark:zo[800]}}function W3(e="light"){return e==="dark"?{main:Bo[400],light:Bo[300],dark:Bo[700]}:{main:Bo[700],light:Bo[500],dark:Bo[900]}}function H3(e="light"){return e==="dark"?{main:Uo[400],light:Uo[300],dark:Uo[700]}:{main:Uo[800],light:Uo[500],dark:Uo[900]}}function G3(e="light"){return e==="dark"?{main:Ma[400],light:Ma[300],dark:Ma[700]}:{main:"#ed6c02",light:Ma[500],dark:Ma[900]}}function q3(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=se(e,z3),o=e.primary||V3(t),s=e.secondary||B3(t),a=e.error||U3(t),l=e.info||W3(t),u=e.success||H3(t),c=e.warning||G3(t);function d(m){return w3(m,ch.text.primary)>=n?ch.text.primary:Nx.text.primary}const f=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:v=700})=>{if(m=R({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(qs(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(qs(12,x?` (${x})`:"",JSON.stringify(m.main)));return zx(m,"light",y,r),zx(m,"dark",v,r),m.contrastText||(m.contrastText=d(m.main)),m},p={dark:ch,light:Nx};return lr(R({common:R({},Dl),mode:t,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:u,name:"success"}),grey:I3,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),i)}const K3=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Q3(e){return Math.round(e*1e5)/1e5}const Vx={textTransform:"uppercase"},Bx='"Roboto", "Helvetica", "Arial", sans-serif';function Y3(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Bx,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=se(n,K3),p=i/14,h=d||(g=>`${g/u*p}rem`),m=(g,y,v,w,C)=>R({fontFamily:r,fontWeight:g,fontSize:h(y),lineHeight:v},r===Bx?{letterSpacing:`${Q3(w/y)}em`}:{},C,c),x={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(a,14,1.75,.4,Vx),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Vx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return lr(R({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},x),f,{clone:!1})}const X3=.2,Z3=.14,J3=.12;function Ie(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${X3})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Z3})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${J3})`].join(",")}const e4=["none",Ie(0,2,1,-1,0,1,1,0,0,1,3,0),Ie(0,3,1,-2,0,2,2,0,0,1,5,0),Ie(0,3,3,-2,0,3,4,0,0,1,8,0),Ie(0,2,4,-1,0,4,5,0,0,1,10,0),Ie(0,3,5,-1,0,5,8,0,0,1,14,0),Ie(0,3,5,-1,0,6,10,0,0,1,18,0),Ie(0,4,5,-2,0,7,10,1,0,2,16,1),Ie(0,5,5,-3,0,8,10,1,0,3,14,2),Ie(0,5,6,-3,0,9,12,1,0,3,16,2),Ie(0,6,6,-3,0,10,14,1,0,4,18,3),Ie(0,6,7,-4,0,11,15,1,0,4,20,3),Ie(0,7,8,-4,0,12,17,2,0,5,22,4),Ie(0,7,8,-4,0,13,19,2,0,5,24,4),Ie(0,7,9,-4,0,14,21,2,0,5,26,4),Ie(0,8,9,-5,0,15,22,2,0,6,28,5),Ie(0,8,10,-5,0,16,24,2,0,6,30,5),Ie(0,8,11,-5,0,17,26,2,0,6,32,5),Ie(0,9,11,-5,0,18,28,2,0,7,34,6),Ie(0,9,12,-6,0,19,29,2,0,7,36,6),Ie(0,10,13,-6,0,20,31,3,0,8,38,7),Ie(0,10,13,-6,0,21,33,3,0,8,40,7),Ie(0,10,14,-6,0,22,35,3,0,8,42,7),Ie(0,11,14,-7,0,23,36,3,0,9,44,8),Ie(0,11,15,-7,0,24,38,3,0,9,46,8)],t4=["duration","easing","delay"],n4={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},r4={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ux(e){return`${Math.round(e)}ms`}function i4(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function o4(e){const t=R({},n4,e.easing),n=R({},r4,e.duration);return R({getAutoHeightDuration:i4,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=o;return se(o,t4),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof s=="string"?s:Ux(s)} ${a} ${typeof l=="string"?l:Ux(l)}`).join(",")}},e,{easing:t,duration:n})}const s4={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},a4=s4,l4=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ov(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=se(e,l4);if(e.vars)throw new Error(qs(18));const a=q3(r),l=vv(e);let u=lr(l,{mixins:v3(l.breakpoints,n),palette:a,shadows:e4.slice(),typography:Y3(a,o),transitions:o4(i),zIndex:R({},a4)});return u=lr(u,s),u=t.reduce((c,d)=>lr(c,d),u),u.unstable_sxConfig=R({},Su,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Cu({sx:d,theme:this})},u}const u4=Ov(),ep=u4,Ro="$$material";function rt({props:e,name:t}){return p3({props:e,name:t,defaultTheme:ep,themeId:Ro})}var Tu={},dh={exports:{}},Wx;function c4(){return Wx||(Wx=1,function(e){function t(n,r){if(n==null)return{};var i={},o=Object.keys(n),s,a;for(a=0;a=0)&&(i[s]=n[s]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(dh)),dh.exports}const d4=Fr(c3),f4=Fr(L5),p4=Fr(B5),h4=Fr(V5),m4=Fr(sI),g4=Fr(g3);var ua=kv;Object.defineProperty(Tu,"__esModule",{value:!0});var v4=Tu.default=R4;Tu.shouldForwardProp=Ic;Tu.systemDefaultTheme=void 0;var mn=ua(aT()),lg=ua(c4()),Hx=E4(d4),y4=f4;ua(p4);ua(h4);var x4=ua(m4),w4=ua(g4);const b4=["ownerState"],S4=["variants"],C4=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function vT(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(vT=function(r){return r?n:t})(e)}function E4(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=vT(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function P4(e){return Object.keys(e).length===0}function T4(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ic(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const k4=Tu.systemDefaultTheme=(0,x4.default)(),M4=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function oc({defaultTheme:e,theme:t,themeId:n}){return P4(t)?e:t[n]||t}function _4(e){return e?(t,n)=>n[e]:null}function $c(e,t){let{ownerState:n}=t,r=(0,lg.default)(t,b4);const i=typeof e=="function"?e((0,mn.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(o=>$c(o,(0,mn.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let a=(0,lg.default)(i,S4);return o.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props((0,mn.default)({ownerState:n},r,n)):Object.keys(l.props).forEach(c=>{(n==null?void 0:n[c])!==l.props[c]&&r[c]!==l.props[c]&&(u=!1)}),u&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style((0,mn.default)({ownerState:n},r,n)):l.style))}),a}return i}function R4(e={}){const{themeId:t,defaultTheme:n=k4,rootShouldForwardProp:r=Ic,slotShouldForwardProp:i=Ic}=e,o=s=>(0,w4.default)((0,mn.default)({},s,{theme:oc((0,mn.default)({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,a={})=>{(0,Hx.internal_processStyles)(s,C=>C.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=_4(M4(u))}=a,p=(0,lg.default)(a,C4),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,m=d||!1;let x,g=Ic;u==="Root"||u==="root"?g=r:u?g=i:T4(s)&&(g=void 0);const y=(0,Hx.default)(s,(0,mn.default)({shouldForwardProp:g,label:x},p)),v=C=>typeof C=="function"&&C.__emotion_real!==C||(0,y4.isPlainObject)(C)?E=>$c(C,(0,mn.default)({},E,{theme:oc({theme:E.theme,defaultTheme:n,themeId:t})})):C,w=(C,...E)=>{let T=v(C);const P=E?E.map(v):[];l&&f&&P.push(A=>{const I=oc((0,mn.default)({},A,{defaultTheme:n,themeId:t}));if(!I.components||!I.components[l]||!I.components[l].styleOverrides)return null;const L=I.components[l].styleOverrides,D={};return Object.entries(L).forEach(([B,N])=>{D[B]=$c(N,(0,mn.default)({},A,{theme:I}))}),f(A,D)}),l&&!h&&P.push(A=>{var I;const L=oc((0,mn.default)({},A,{defaultTheme:n,themeId:t})),D=L==null||(I=L.components)==null||(I=I[l])==null?void 0:I.variants;return $c({variants:D},(0,mn.default)({},A,{theme:L}))}),m||P.push(o);const k=P.length-E.length;if(Array.isArray(C)&&k>0){const A=new Array(k).fill("");T=[...C,...A],T.raw=[...C.raw,...A]}const M=y(T,...P);return s.muiName&&(M.muiName=s.muiName),M};return y.withConfig&&(w.withConfig=y.withConfig),w}}function O4(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ku=e=>O4(e)&&e!=="classes",ae=v4({themeId:Ro,defaultTheme:ep,rootShouldForwardProp:ku});function A4(e){return nt("MuiSvgIcon",e)}Qe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const I4=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],$4=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${Y(t)}`,`fontSize${Y(n)}`]};return at(i,A4,r)},L4=ae("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Y(n.color)}`],t[`fontSize${Y(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,o,s,a,l,u,c,d,f,p,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(s=o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem",medium:((a=e.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:(d=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?d:{action:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.disabled,inherit:void 0}[t.color]}}),ug=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=se(r,I4),h=b.isValidElement(i)&&i.type==="svg",m=R({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h}),x={};c||(x.viewBox=f);const g=$4(m);return S.jsxs(L4,R({as:a,className:oe(g.root,o),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},x,p,h&&i.props,{ownerState:m,children:[h?i.props.children:i,d?S.jsx("title",{children:d}):null]}))});ug.muiName="SvgIcon";function qt(e,t){function n(r,i){return S.jsx(ug,R({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=ug.muiName,b.memo(b.forwardRef(n))}const j4={configure:e=>{fv.configure(e)}},D4=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Y,createChainedFunction:eg,createSvgIcon:qt,debounce:cv,deprecatedPropType:U5,isMuiElement:W5,ownerDocument:Tr,ownerWindow:Di,requirePropFactory:H5,setRef:xd,unstable_ClassNameGenerator:j4,unstable_useEnhancedEffect:Fi,unstable_useId:q5,unsupportedProp:K5,useControlled:Q5,useEventCallback:ao,useForkRef:Ht,useIsFocusVisible:dv},Symbol.toStringTag,{value:"Module"})),yT=qt(S.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),F4=qt(S.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),N4=qt(S.jsx("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub"),z4=qt(S.jsx("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram"),V4=qt(S.jsx("path",{d:"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"}),"LinkedIn"),B4=qt(S.jsx("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send");function U4({styles:e,themeId:t,defaultTheme:n={}}){const r=Jf(n),i=typeof e=="function"?e(t&&r[t]||r):e;return S.jsx(lT,{styles:i})}const W4=["className","component"];function H4(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,o=uT("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(Cu);return b.forwardRef(function(l,u){const c=Jf(n),d=Tv(l),{className:f,component:p="div"}=d,h=se(d,W4);return S.jsx(o,R({as:p,ref:u,className:oe(f,i?i(r):r),theme:t&&c[t]||c},h))})}function G4(e,t,n,r,i){const[o,s]=b.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return Fi(()=>{let a=!0;if(!n)return;const l=n(e),u=()=>{a&&s(l.matches)};return u(),l.addListener(u),()=>{a=!1,l.removeListener(u)}},[e,n]),o}const xT=b.useSyncExternalStore;function q4(e,t,n,r,i){const o=b.useCallback(()=>t,[t]),s=b.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return o},[o,e,r,i,n]),[a,l]=b.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const c=n(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[o,n,e]);return xT(l,a,s)}function K4(e,t={}){const n=Pv(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=r?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:a=!1}=jP({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(xT!==void 0?q4:G4)(l,i,o,s,a)}const Q4=b.createContext(null),wT=Q4;function bT(){return b.useContext(wT)}const Y4=typeof Symbol=="function"&&Symbol.for,X4=Y4?Symbol.for("mui.nested"):"__THEME_NESTED__";function Z4(e,t){return typeof t=="function"?t(e):R({},e,t)}function J4(e){const{children:t,theme:n}=e,r=bT(),i=b.useMemo(()=>{const o=r===null?n:Z4(r,n);return o!=null&&(o[X4]=r!==null),o},[n,r]);return S.jsx(wT.Provider,{value:i,children:t})}const e$=["value"],ST=b.createContext();function t$(e){let{value:t}=e,n=se(e,e$);return S.jsx(ST.Provider,R({value:t??!0},n))}const n$=()=>{const e=b.useContext(ST);return e??!1},Gx={};function qx(e,t,n,r=!1){return b.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const o=n(i),s=e?R({},t,{[e]:o}):o;return r?()=>s:s}return e?R({},t,{[e]:n}):R({},t,n)},[e,t,n,r])}function r$(e){const{children:t,theme:n,themeId:r}=e,i=Pv(Gx),o=bT()||Gx,s=qx(r,i,n),a=qx(r,o,n,!0),l=s.direction==="rtl";return S.jsx(J4,{theme:a,children:S.jsx(Pu.Provider,{value:s,children:S.jsx(t$,{value:l,children:t})})})}function Av(){const e=Jf(ep);return e[Ro]||e}const i$=["theme"];function o$(e){let{theme:t}=e,n=se(e,i$);const r=t[Ro];return S.jsx(r$,R({},n,{themeId:r?Ro:void 0,theme:r||t}))}const Kx=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function CT(e){return rt}function cg(e,t){return cg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},cg(e,t)}function ET(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,cg(e,t)}const Qx={disabled:!1},Cd=W.createContext(null);var s$=function(t){return t.scrollTop},Va="unmounted",Ji="exited",eo="entering",Ko="entered",dg="exiting",zr=function(e){ET(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=Ji,o.appearStatus=eo):l=Ko:r.unmountOnExit||r.mountOnEnter?l=Va:l=Ji,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Va?{status:Ji}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==eo&&s!==Ko&&(o=eo):(s===eo||s===Ko)&&(o=dg)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===eo){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:rc.findDOMNode(this);s&&s$(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ji&&this.setState({status:Va})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[rc.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||Qx.disabled){this.safeSetState({status:Ko},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:eo},function(){o.props.onEntering(u,c),o.onTransitionEnd(f,function(){o.safeSetState({status:Ko},function(){o.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:rc.findDOMNode(this);if(!o||Qx.disabled){this.safeSetState({status:Ji},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:dg},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Ji},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:rc.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Va)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=se(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return W.createElement(Cd.Provider,{value:null},typeof s=="function"?s(i,a):W.cloneElement(W.Children.only(s),a))},t}(W.Component);zr.contextType=Cd;zr.propTypes={};function Wo(){}zr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wo,onEntering:Wo,onEntered:Wo,onExit:Wo,onExiting:Wo,onExited:Wo};zr.UNMOUNTED=Va;zr.EXITED=Ji;zr.ENTERING=eo;zr.ENTERED=Ko;zr.EXITING=dg;const PT=zr;function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iv(e,t){var n=function(o){return t&&b.isValidElement(o)?t(o):o},r=Object.create(null);return e&&b.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function l$(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in t){if(r[l])for(s=0;se.scrollTop;function Ed(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}function h$(e){return nt("MuiPaper",e)}Qe("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const m$=["className","component","elevation","square","variant"],g$=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return at(o,h$,i)},v$=ae("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return R({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&R({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${kt("#fff",Kx(t.elevation))}, ${kt("#fff",Kx(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),y$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,u=se(r,m$),c=R({},r,{component:o,elevation:s,square:a,variant:l}),d=g$(c);return S.jsx(v$,R({as:o,ownerState:c,className:oe(d.root,i),ref:n},u))}),Fl=y$;function fg(e){return typeof e=="string"}function kT(e,t,n){return e===void 0||fg(e)?t:R({},t,{ownerState:R({},t.ownerState,n)})}function MT(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function _T(e,t,n){return typeof e=="function"?e(t,n):e}function Yx(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function RT(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const p=oe(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),h=R({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=R({},n,i,r);return p.length>0&&(m.className=p),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:void 0}}const s=MT(R({},i,r)),a=Yx(r),l=Yx(i),u=t(s),c=oe(u==null?void 0:u.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=R({},u==null?void 0:u.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),f=R({},u,n,l,a);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const x$=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Xx(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=se(e,x$),a=o?{}:_T(r,i),{props:l,internalRef:u}=RT(R({},s,{externalSlotProps:a})),c=Ht(u,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return kT(n,R({},l,{ref:c}),i)}const w$=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],b$=["component","slots","slotProps"],S$=["component"];function pg(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,getSlotOwnerState:s,internalForwardedProps:a}=t,l=se(t,w$),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=o,f=se(o,b$),p=c[e]||r,h=_T(d[e],i),m=RT(R({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:x},internalRef:g}=m,y=se(m.props,S$),v=Ht(g,h==null?void 0:h.ref,t.ref),w=s?s(y):{},C=R({},i,w),E=e==="root"?x||u:x,T=kT(p,R({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,y,E&&{as:E},{ref:v}),C);return Object.keys(w).forEach(P=>{delete T[P]}),[p,T]}function C$(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:u}=e,[c,d]=b.useState(!1),f=oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},h=oe(n.child,c&&n.childLeaving,r&&n.childPulsate);return!a&&!c&&d(!0),b.useEffect(()=>{if(!a&&l!=null){const m=setTimeout(l,u);return()=>{clearTimeout(m)}}},[l,a,u]),S.jsx("span",{className:f,style:p,children:S.jsx("span",{className:h})})}const vn=Qe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),E$=["center","classes","className"];let tp=e=>e,Zx,Jx,ew,tw;const hg=550,P$=80,T$=aa(Zx||(Zx=tp` + */var mt=typeof Symbol=="function"&&Symbol.for,Sv=mt?Symbol.for("react.element"):60103,Cv=mt?Symbol.for("react.portal"):60106,Bf=mt?Symbol.for("react.fragment"):60107,Uf=mt?Symbol.for("react.strict_mode"):60108,Wf=mt?Symbol.for("react.profiler"):60114,Hf=mt?Symbol.for("react.provider"):60109,Gf=mt?Symbol.for("react.context"):60110,Ev=mt?Symbol.for("react.async_mode"):60111,qf=mt?Symbol.for("react.concurrent_mode"):60111,Kf=mt?Symbol.for("react.forward_ref"):60112,Qf=mt?Symbol.for("react.suspense"):60113,DI=mt?Symbol.for("react.suspense_list"):60120,Yf=mt?Symbol.for("react.memo"):60115,Xf=mt?Symbol.for("react.lazy"):60116,FI=mt?Symbol.for("react.block"):60121,NI=mt?Symbol.for("react.fundamental"):60117,zI=mt?Symbol.for("react.responder"):60118,VI=mt?Symbol.for("react.scope"):60119;function un(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Sv:switch(e=e.type,e){case Ev:case qf:case Bf:case Wf:case Uf:case Qf:return e;default:switch(e=e&&e.$$typeof,e){case Gf:case Kf:case Xf:case Yf:case Hf:return e;default:return t}}case Cv:return t}}}function ZP(e){return un(e)===qf}Ee.AsyncMode=Ev;Ee.ConcurrentMode=qf;Ee.ContextConsumer=Gf;Ee.ContextProvider=Hf;Ee.Element=Sv;Ee.ForwardRef=Kf;Ee.Fragment=Bf;Ee.Lazy=Xf;Ee.Memo=Yf;Ee.Portal=Cv;Ee.Profiler=Wf;Ee.StrictMode=Uf;Ee.Suspense=Qf;Ee.isAsyncMode=function(e){return ZP(e)||un(e)===Ev};Ee.isConcurrentMode=ZP;Ee.isContextConsumer=function(e){return un(e)===Gf};Ee.isContextProvider=function(e){return un(e)===Hf};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Sv};Ee.isForwardRef=function(e){return un(e)===Kf};Ee.isFragment=function(e){return un(e)===Bf};Ee.isLazy=function(e){return un(e)===Xf};Ee.isMemo=function(e){return un(e)===Yf};Ee.isPortal=function(e){return un(e)===Cv};Ee.isProfiler=function(e){return un(e)===Wf};Ee.isStrictMode=function(e){return un(e)===Uf};Ee.isSuspense=function(e){return un(e)===Qf};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Bf||e===qf||e===Wf||e===Uf||e===Qf||e===DI||typeof e=="object"&&e!==null&&(e.$$typeof===Xf||e.$$typeof===Yf||e.$$typeof===Hf||e.$$typeof===Gf||e.$$typeof===Kf||e.$$typeof===NI||e.$$typeof===zI||e.$$typeof===VI||e.$$typeof===FI)};Ee.typeOf=un;XP.exports=Ee;var BI=XP.exports,JP=BI,UI={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},WI={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eT={};eT[JP.ForwardRef]=UI;eT[JP.Memo]=WI;var HI=!0;function GI(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var tT=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||HI===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},nT=function(t,n,r){tT(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function qI(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var KI={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},QI=/[A-Z]|^ms/g,YI=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rT=function(t){return t.charCodeAt(1)===45},Ax=function(t){return t!=null&&typeof t!="boolean"},lh=BP(function(e){return rT(e)?e:e.replace(QI,"-$&").toLowerCase()}),Ix=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(YI,function(r,i,o){return rr={name:i,styles:o,next:rr},i})}return KI[t]!==1&&!rT(t)&&typeof n=="number"&&n!==0?n+"px":n};function jl(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return rr={name:n.name,styles:n.styles,next:rr},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)rr={name:r.name,styles:r.styles,next:rr},r=r.next;var i=n.styles+";";return i}return XI(e,t,n)}case"function":{if(e!==void 0){var o=rr,s=n(e);return rr=o,jl(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function XI(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?n3:r3},Fx=function(t,n,r){var i;if(n){var o=n.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(s){return t.__emotion_forwardProp(s)&&o(s)}:o}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},i3=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return tT(n,r,i),JI(function(){return nT(n,r,i)}),null},o3=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,o,s;n!==void 0&&(o=n.label,s=n.target);var a=Fx(t,n,r),l=a||Dx(i),u=!l("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,p=1;pt(l3(i)?n:i):t;return S.jsx(t3,{styles:r})}function uT(e,t){return ig(e,t)}const u3=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},c3=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:lT,StyledEngineProvider:a3,ThemeContext:Pu,css:Zf,default:uT,internal_processStyles:u3,keyframes:aa},Symbol.toStringTag,{value:"Module"}));function d3(e){return Object.keys(e).length===0}function Tv(e=null){const t=b.useContext(Pu);return!t||d3(t)?e:t}const f3=yv();function Jf(e=f3){return Tv(e)}function p3({props:e,name:t,defaultTheme:n,themeId:r}){let i=Jf(n);return r&&(i=i[r]||i),jP({theme:i,name:t,props:e})}const h3=["sx"],m3=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Su;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function kv(e){const{sx:t}=e,n=se(e,h3),{systemProps:r,otherProps:i}=m3(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const a=t(...s);return si(a)?R({},r,a):r}:o=R({},r,t),R({},i,{sx:o})}const g3=Object.freeze(Object.defineProperty({__proto__:null,default:Cu,extendSxProp:kv,unstable_createStyleFunctionSx:zP,unstable_defaultSxConfig:Su},Symbol.toStringTag,{value:"Module"}));function v3(e,t){return R({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Xe={},cT={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(cT);var Mv=cT.exports;const y3=Fr(j5),x3=Fr(fA);var dT=Mv;Object.defineProperty(Xe,"__esModule",{value:!0});var kt=Xe.alpha=mT;Xe.blend=R3;Xe.colorChannel=void 0;var sg=Xe.darken=Rv;Xe.decomposeColor=_n;Xe.emphasize=gT;var w3=Xe.getContrastRatio=P3;Xe.getLuminance=Sd;Xe.hexToRgb=fT;Xe.hslToRgb=hT;var ag=Xe.lighten=Ov;Xe.private_safeAlpha=T3;Xe.private_safeColorChannel=void 0;Xe.private_safeDarken=k3;Xe.private_safeEmphasize=_3;Xe.private_safeLighten=M3;Xe.recomposeColor=la;Xe.rgbToHex=E3;var Nx=dT(y3),b3=dT(x3);function _v(e,t=0,n=1){return(0,b3.default)(e,t,n)}function fT(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function S3(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function _n(e){if(e.type)return e;if(e.charAt(0)==="#")return _n(fT(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Nx.default)(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error((0,Nx.default)(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const pT=e=>{const t=_n(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Xe.colorChannel=pT;const C3=(e,t)=>{try{return pT(e)}catch{return e}};Xe.private_safeColorChannel=C3;function la(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,o)=>o<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function E3(e){if(e.indexOf("#")===0)return e;const{values:t}=_n(e);return`#${t.map((n,r)=>S3(r===3?Math.round(255*n):n)).join("")}`}function hT(e){e=_n(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(u,c=(u+n/30)%12)=>i-o*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),la({type:a,values:l})}function Sd(e){e=_n(e);let t=e.type==="hsl"||e.type==="hsla"?_n(hT(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function P3(e,t){const n=Sd(e),r=Sd(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function mT(e,t){return e=_n(e),t=_v(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,la(e)}function T3(e,t,n){try{return mT(e,t)}catch{return e}}function Rv(e,t){if(e=_n(e),t=_v(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return la(e)}function k3(e,t,n){try{return Rv(e,t)}catch{return e}}function Ov(e,t){if(e=_n(e),t=_v(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return la(e)}function M3(e,t,n){try{return Ov(e,t)}catch{return e}}function gT(e,t=.15){return Sd(e)>.5?Rv(e,t):Ov(e,t)}function _3(e,t,n){try{return gT(e,t)}catch{return e}}function R3(e,t,n,r=1){const i=(l,u)=>Math.round((l**(1/r)*(1-n)+u**(1/r)*n)**r),o=_n(e),s=_n(t),a=[i(o.values[0],s.values[0]),i(o.values[1],s.values[1]),i(o.values[2],s.values[2])];return la({type:"rgb",values:a})}const O3={black:"#000",white:"#fff"},Dl=O3,A3={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},I3=A3,$3={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},zo=$3,L3={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Vo=L3,j3={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ma=j3,D3={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Bo=D3,F3={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Uo=F3,N3={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Wo=N3,z3=["mode","contrastThreshold","tonalOffset"],zx={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Dl.white,default:Dl.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},ch={text:{primary:Dl.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Dl.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function Vx(e,t,n,r){const i=r.light||r,o=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ag(e.main,i):t==="dark"&&(e.dark=sg(e.main,o)))}function V3(e="light"){return e==="dark"?{main:Bo[200],light:Bo[50],dark:Bo[400]}:{main:Bo[700],light:Bo[400],dark:Bo[800]}}function B3(e="light"){return e==="dark"?{main:zo[200],light:zo[50],dark:zo[400]}:{main:zo[500],light:zo[300],dark:zo[700]}}function U3(e="light"){return e==="dark"?{main:Vo[500],light:Vo[300],dark:Vo[700]}:{main:Vo[700],light:Vo[400],dark:Vo[800]}}function W3(e="light"){return e==="dark"?{main:Uo[400],light:Uo[300],dark:Uo[700]}:{main:Uo[700],light:Uo[500],dark:Uo[900]}}function H3(e="light"){return e==="dark"?{main:Wo[400],light:Wo[300],dark:Wo[700]}:{main:Wo[800],light:Wo[500],dark:Wo[900]}}function G3(e="light"){return e==="dark"?{main:Ma[400],light:Ma[300],dark:Ma[700]}:{main:"#ed6c02",light:Ma[500],dark:Ma[900]}}function q3(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=se(e,z3),o=e.primary||V3(t),s=e.secondary||B3(t),a=e.error||U3(t),l=e.info||W3(t),u=e.success||H3(t),c=e.warning||G3(t);function d(m){return w3(m,ch.text.primary)>=n?ch.text.primary:zx.text.primary}const f=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:v=700})=>{if(m=R({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(Ks(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(Ks(12,x?` (${x})`:"",JSON.stringify(m.main)));return Vx(m,"light",y,r),Vx(m,"dark",v,r),m.contrastText||(m.contrastText=d(m.main)),m},p={dark:ch,light:zx};return lr(R({common:R({},Dl),mode:t,primary:f({color:o,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:a,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:l,name:"info"}),success:f({color:u,name:"success"}),grey:I3,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),i)}const K3=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Q3(e){return Math.round(e*1e5)/1e5}const Bx={textTransform:"uppercase"},Ux='"Roboto", "Helvetica", "Arial", sans-serif';function Y3(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Ux,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:s=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=se(n,K3),p=i/14,h=d||(g=>`${g/u*p}rem`),m=(g,y,v,w,C)=>R({fontFamily:r,fontWeight:g,fontSize:h(y),lineHeight:v},r===Ux?{letterSpacing:`${Q3(w/y)}em`}:{},C,c),x={h1:m(o,96,1.167,-1.5),h2:m(o,60,1.2,-.5),h3:m(s,48,1.167,0),h4:m(s,34,1.235,.25),h5:m(s,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(a,14,1.75,.4,Bx),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Bx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return lr(R({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},x),f,{clone:!1})}const X3=.2,Z3=.14,J3=.12;function Ie(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${X3})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Z3})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${J3})`].join(",")}const e4=["none",Ie(0,2,1,-1,0,1,1,0,0,1,3,0),Ie(0,3,1,-2,0,2,2,0,0,1,5,0),Ie(0,3,3,-2,0,3,4,0,0,1,8,0),Ie(0,2,4,-1,0,4,5,0,0,1,10,0),Ie(0,3,5,-1,0,5,8,0,0,1,14,0),Ie(0,3,5,-1,0,6,10,0,0,1,18,0),Ie(0,4,5,-2,0,7,10,1,0,2,16,1),Ie(0,5,5,-3,0,8,10,1,0,3,14,2),Ie(0,5,6,-3,0,9,12,1,0,3,16,2),Ie(0,6,6,-3,0,10,14,1,0,4,18,3),Ie(0,6,7,-4,0,11,15,1,0,4,20,3),Ie(0,7,8,-4,0,12,17,2,0,5,22,4),Ie(0,7,8,-4,0,13,19,2,0,5,24,4),Ie(0,7,9,-4,0,14,21,2,0,5,26,4),Ie(0,8,9,-5,0,15,22,2,0,6,28,5),Ie(0,8,10,-5,0,16,24,2,0,6,30,5),Ie(0,8,11,-5,0,17,26,2,0,6,32,5),Ie(0,9,11,-5,0,18,28,2,0,7,34,6),Ie(0,9,12,-6,0,19,29,2,0,7,36,6),Ie(0,10,13,-6,0,20,31,3,0,8,38,7),Ie(0,10,13,-6,0,21,33,3,0,8,40,7),Ie(0,10,14,-6,0,22,35,3,0,8,42,7),Ie(0,11,14,-7,0,23,36,3,0,9,44,8),Ie(0,11,15,-7,0,24,38,3,0,9,46,8)],t4=["duration","easing","delay"],n4={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},r4={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Wx(e){return`${Math.round(e)}ms`}function i4(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function o4(e){const t=R({},n4,e.easing),n=R({},r4,e.duration);return R({getAutoHeightDuration:i4,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=o;return se(o,t4),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof s=="string"?s:Wx(s)} ${a} ${typeof l=="string"?l:Wx(l)}`).join(",")}},e,{easing:t,duration:n})}const s4={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},a4=s4,l4=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Av(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=se(e,l4);if(e.vars)throw new Error(Ks(18));const a=q3(r),l=yv(e);let u=lr(l,{mixins:v3(l.breakpoints,n),palette:a,shadows:e4.slice(),typography:Y3(a,o),transitions:o4(i),zIndex:R({},a4)});return u=lr(u,s),u=t.reduce((c,d)=>lr(c,d),u),u.unstable_sxConfig=R({},Su,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Cu({sx:d,theme:this})},u}const u4=Av(),ep=u4,Ro="$$material";function rt({props:e,name:t}){return p3({props:e,name:t,defaultTheme:ep,themeId:Ro})}var Tu={},dh={exports:{}},Hx;function c4(){return Hx||(Hx=1,function(e){function t(n,r){if(n==null)return{};var i={},o=Object.keys(n),s,a;for(a=0;a=0)&&(i[s]=n[s]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(dh)),dh.exports}const d4=Fr(c3),f4=Fr(L5),p4=Fr(B5),h4=Fr(V5),m4=Fr(sI),g4=Fr(g3);var ua=Mv;Object.defineProperty(Tu,"__esModule",{value:!0});var v4=Tu.default=R4;Tu.shouldForwardProp=Ic;Tu.systemDefaultTheme=void 0;var mn=ua(aT()),lg=ua(c4()),Gx=E4(d4),y4=f4;ua(p4);ua(h4);var x4=ua(m4),w4=ua(g4);const b4=["ownerState"],S4=["variants"],C4=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function vT(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(vT=function(r){return r?n:t})(e)}function E4(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=vT(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(o!=="default"&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}function P4(e){return Object.keys(e).length===0}function T4(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ic(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const k4=Tu.systemDefaultTheme=(0,x4.default)(),M4=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function oc({defaultTheme:e,theme:t,themeId:n}){return P4(t)?e:t[n]||t}function _4(e){return e?(t,n)=>n[e]:null}function $c(e,t){let{ownerState:n}=t,r=(0,lg.default)(t,b4);const i=typeof e=="function"?e((0,mn.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(o=>$c(o,(0,mn.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let a=(0,lg.default)(i,S4);return o.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props((0,mn.default)({ownerState:n},r,n)):Object.keys(l.props).forEach(c=>{(n==null?void 0:n[c])!==l.props[c]&&r[c]!==l.props[c]&&(u=!1)}),u&&(Array.isArray(a)||(a=[a]),a.push(typeof l.style=="function"?l.style((0,mn.default)({ownerState:n},r,n)):l.style))}),a}return i}function R4(e={}){const{themeId:t,defaultTheme:n=k4,rootShouldForwardProp:r=Ic,slotShouldForwardProp:i=Ic}=e,o=s=>(0,w4.default)((0,mn.default)({},s,{theme:oc((0,mn.default)({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,a={})=>{(0,Gx.internal_processStyles)(s,C=>C.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=_4(M4(u))}=a,p=(0,lg.default)(a,C4),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,m=d||!1;let x,g=Ic;u==="Root"||u==="root"?g=r:u?g=i:T4(s)&&(g=void 0);const y=(0,Gx.default)(s,(0,mn.default)({shouldForwardProp:g,label:x},p)),v=C=>typeof C=="function"&&C.__emotion_real!==C||(0,y4.isPlainObject)(C)?E=>$c(C,(0,mn.default)({},E,{theme:oc({theme:E.theme,defaultTheme:n,themeId:t})})):C,w=(C,...E)=>{let T=v(C);const P=E?E.map(v):[];l&&f&&P.push(A=>{const I=oc((0,mn.default)({},A,{defaultTheme:n,themeId:t}));if(!I.components||!I.components[l]||!I.components[l].styleOverrides)return null;const L=I.components[l].styleOverrides,D={};return Object.entries(L).forEach(([B,N])=>{D[B]=$c(N,(0,mn.default)({},A,{theme:I}))}),f(A,D)}),l&&!h&&P.push(A=>{var I;const L=oc((0,mn.default)({},A,{defaultTheme:n,themeId:t})),D=L==null||(I=L.components)==null||(I=I[l])==null?void 0:I.variants;return $c({variants:D},(0,mn.default)({},A,{theme:L}))}),m||P.push(o);const k=P.length-E.length;if(Array.isArray(C)&&k>0){const A=new Array(k).fill("");T=[...C,...A],T.raw=[...C.raw,...A]}const M=y(T,...P);return s.muiName&&(M.muiName=s.muiName),M};return y.withConfig&&(w.withConfig=y.withConfig),w}}function O4(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const ku=e=>O4(e)&&e!=="classes",ae=v4({themeId:Ro,defaultTheme:ep,rootShouldForwardProp:ku});function A4(e){return nt("MuiSvgIcon",e)}Qe("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const I4=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],$4=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${Y(t)}`,`fontSize${Y(n)}`]};return at(i,A4,r)},L4=ae("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Y(n.color)}`],t[`fontSize${Y(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,o,s,a,l,u,c,d,f,p,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(i=i.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((o=e.typography)==null||(s=o.pxToRem)==null?void 0:s.call(o,20))||"1.25rem",medium:((a=e.typography)==null||(l=a.pxToRem)==null?void 0:l.call(a,24))||"1.5rem",large:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:(d=(f=(e.vars||e).palette)==null||(f=f[t.color])==null?void 0:f.main)!=null?d:{action:(p=(e.vars||e).palette)==null||(p=p.action)==null?void 0:p.active,disabled:(h=(e.vars||e).palette)==null||(h=h.action)==null?void 0:h.disabled,inherit:void 0}[t.color]}}),ug=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiSvgIcon"}),{children:i,className:o,color:s="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=se(r,I4),h=b.isValidElement(i)&&i.type==="svg",m=R({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h}),x={};c||(x.viewBox=f);const g=$4(m);return S.jsxs(L4,R({as:a,className:oe(g.root,o),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},x,p,h&&i.props,{ownerState:m,children:[h?i.props.children:i,d?S.jsx("title",{children:d}):null]}))});ug.muiName="SvgIcon";function qt(e,t){function n(r,i){return S.jsx(ug,R({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=ug.muiName,b.memo(b.forwardRef(n))}const j4={configure:e=>{pv.configure(e)}},D4=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Y,createChainedFunction:eg,createSvgIcon:qt,debounce:dv,deprecatedPropType:U5,isMuiElement:W5,ownerDocument:Tr,ownerWindow:Di,requirePropFactory:H5,setRef:xd,unstable_ClassNameGenerator:j4,unstable_useEnhancedEffect:Fi,unstable_useId:q5,unsupportedProp:K5,useControlled:Q5,useEventCallback:ao,useForkRef:Ht,useIsFocusVisible:fv},Symbol.toStringTag,{value:"Module"})),yT=qt(S.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),F4=qt(S.jsx("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z"}),"Email"),N4=qt(S.jsx("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub"),z4=qt(S.jsx("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram"),V4=qt(S.jsx("path",{d:"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z"}),"LinkedIn"),B4=qt(S.jsx("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send");function U4({styles:e,themeId:t,defaultTheme:n={}}){const r=Jf(n),i=typeof e=="function"?e(t&&r[t]||r):e;return S.jsx(lT,{styles:i})}const W4=["className","component"];function H4(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,o=uT("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(Cu);return b.forwardRef(function(l,u){const c=Jf(n),d=kv(l),{className:f,component:p="div"}=d,h=se(d,W4);return S.jsx(o,R({as:p,ref:u,className:oe(f,i?i(r):r),theme:t&&c[t]||c},h))})}function G4(e,t,n,r,i){const[o,s]=b.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return Fi(()=>{let a=!0;if(!n)return;const l=n(e),u=()=>{a&&s(l.matches)};return u(),l.addListener(u),()=>{a=!1,l.removeListener(u)}},[e,n]),o}const xT=b.useSyncExternalStore;function q4(e,t,n,r,i){const o=b.useCallback(()=>t,[t]),s=b.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return o},[o,e,r,i,n]),[a,l]=b.useMemo(()=>{if(n===null)return[o,()=>()=>{}];const c=n(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[o,n,e]);return xT(l,a,s)}function K4(e,t={}){const n=Tv(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:o=r?window.matchMedia:null,ssrMatchMedia:s=null,noSsr:a=!1}=jP({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(xT!==void 0?q4:G4)(l,i,o,s,a)}const Q4=b.createContext(null),wT=Q4;function bT(){return b.useContext(wT)}const Y4=typeof Symbol=="function"&&Symbol.for,X4=Y4?Symbol.for("mui.nested"):"__THEME_NESTED__";function Z4(e,t){return typeof t=="function"?t(e):R({},e,t)}function J4(e){const{children:t,theme:n}=e,r=bT(),i=b.useMemo(()=>{const o=r===null?n:Z4(r,n);return o!=null&&(o[X4]=r!==null),o},[n,r]);return S.jsx(wT.Provider,{value:i,children:t})}const e$=["value"],ST=b.createContext();function t$(e){let{value:t}=e,n=se(e,e$);return S.jsx(ST.Provider,R({value:t??!0},n))}const n$=()=>{const e=b.useContext(ST);return e??!1},qx={};function Kx(e,t,n,r=!1){return b.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const o=n(i),s=e?R({},t,{[e]:o}):o;return r?()=>s:s}return e?R({},t,{[e]:n}):R({},t,n)},[e,t,n,r])}function r$(e){const{children:t,theme:n,themeId:r}=e,i=Tv(qx),o=bT()||qx,s=Kx(r,i,n),a=Kx(r,o,n,!0),l=s.direction==="rtl";return S.jsx(J4,{theme:a,children:S.jsx(Pu.Provider,{value:s,children:S.jsx(t$,{value:l,children:t})})})}function Iv(){const e=Jf(ep);return e[Ro]||e}const i$=["theme"];function o$(e){let{theme:t}=e,n=se(e,i$);const r=t[Ro];return S.jsx(r$,R({},n,{themeId:r?Ro:void 0,theme:r||t}))}const Qx=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function CT(e){return rt}function cg(e,t){return cg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},cg(e,t)}function ET(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,cg(e,t)}const Yx={disabled:!1},Cd=W.createContext(null);var s$=function(t){return t.scrollTop},Va="unmounted",Ji="exited",eo="entering",Qo="entered",dg="exiting",zr=function(e){ET(t,e);function t(r,i){var o;o=e.call(this,r,i)||this;var s=i,a=s&&!s.isMounting?r.enter:r.appear,l;return o.appearStatus=null,r.in?a?(l=Ji,o.appearStatus=eo):l=Qo:r.unmountOnExit||r.mountOnEnter?l=Va:l=Ji,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Va?{status:Ji}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var o=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==eo&&s!==Qo&&(o=eo):(s===eo||s===Qo)&&(o=dg)}this.updateStatus(!1,o)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,o,s,a;return o=s=a=i,i!=null&&typeof i!="number"&&(o=i.exit,s=i.enter,a=i.appear!==void 0?i.appear:s),{exit:o,enter:s,appear:a}},n.updateStatus=function(i,o){if(i===void 0&&(i=!1),o!==null)if(this.cancelNextCallback(),o===eo){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:rc.findDOMNode(this);s&&s$(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ji&&this.setState({status:Va})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[rc.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||Yx.disabled){this.safeSetState({status:Qo},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:eo},function(){o.props.onEntering(u,c),o.onTransitionEnd(f,function(){o.safeSetState({status:Qo},function(){o.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,o=this.props.exit,s=this.getTimeouts(),a=this.props.nodeRef?void 0:rc.findDOMNode(this);if(!o||Yx.disabled){this.safeSetState({status:Ji},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:dg},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Ji},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,o){o=this.setNextCallback(o),this.setState(i,o)},n.setNextCallback=function(i){var o=this,s=!0;return this.nextCallback=function(a){s&&(s=!1,o.nextCallback=null,i(a))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,o){this.setNextCallback(o);var s=this.props.nodeRef?this.props.nodeRef.current:rc.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!s||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=l[0],c=l[1];this.props.addEndListener(u,c)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Va)return null;var o=this.props,s=o.children;o.in,o.mountOnEnter,o.unmountOnExit,o.appear,o.enter,o.exit,o.timeout,o.addEndListener,o.onEnter,o.onEntering,o.onEntered,o.onExit,o.onExiting,o.onExited,o.nodeRef;var a=se(o,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return W.createElement(Cd.Provider,{value:null},typeof s=="function"?s(i,a):W.cloneElement(W.Children.only(s),a))},t}(W.Component);zr.contextType=Cd;zr.propTypes={};function Ho(){}zr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ho,onEntering:Ho,onEntered:Ho,onExit:Ho,onExiting:Ho,onExited:Ho};zr.UNMOUNTED=Va;zr.EXITED=Ji;zr.ENTERING=eo;zr.ENTERED=Qo;zr.EXITING=dg;const PT=zr;function a$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $v(e,t){var n=function(o){return t&&b.isValidElement(o)?t(o):o},r=Object.create(null);return e&&b.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function l$(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),i=[];for(var o in e)o in t?i.length&&(r[o]=i,i=[]):i.push(o);var s,a={};for(var l in t){if(r[l])for(s=0;se.scrollTop;function Ed(e,t){var n,r;const{timeout:i,easing:o,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof o=="object"?o[t.mode]:o,delay:s.transitionDelay}}function h$(e){return nt("MuiPaper",e)}Qe("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const m$=["className","component","elevation","square","variant"],g$=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return at(o,h$,i)},v$=ae("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return R({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&R({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${kt("#fff",Qx(t.elevation))}, ${kt("#fff",Qx(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),y$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,u=se(r,m$),c=R({},r,{component:o,elevation:s,square:a,variant:l}),d=g$(c);return S.jsx(v$,R({as:o,ownerState:c,className:oe(d.root,i),ref:n},u))}),Fl=y$;function fg(e){return typeof e=="string"}function kT(e,t,n){return e===void 0||fg(e)?t:R({},t,{ownerState:R({},t.ownerState,n)})}function MT(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function _T(e,t,n){return typeof e=="function"?e(t,n):e}function Xx(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function RT(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const p=oe(n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),h=R({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=R({},n,i,r);return p.length>0&&(m.className=p),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:void 0}}const s=MT(R({},i,r)),a=Xx(r),l=Xx(i),u=t(s),c=oe(u==null?void 0:u.className,n==null?void 0:n.className,o,i==null?void 0:i.className,r==null?void 0:r.className),d=R({},u==null?void 0:u.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),f=R({},u,n,l,a);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const x$=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Zx(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=se(e,x$),a=o?{}:_T(r,i),{props:l,internalRef:u}=RT(R({},s,{externalSlotProps:a})),c=Ht(u,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return kT(n,R({},l,{ref:c}),i)}const w$=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],b$=["component","slots","slotProps"],S$=["component"];function pg(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,getSlotOwnerState:s,internalForwardedProps:a}=t,l=se(t,w$),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=o,f=se(o,b$),p=c[e]||r,h=_T(d[e],i),m=RT(R({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:x},internalRef:g}=m,y=se(m.props,S$),v=Ht(g,h==null?void 0:h.ref,t.ref),w=s?s(y):{},C=R({},i,w),E=e==="root"?x||u:x,T=kT(p,R({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,y,E&&{as:E},{ref:v}),C);return Object.keys(w).forEach(P=>{delete T[P]}),[p,T]}function C$(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:o,rippleSize:s,in:a,onExited:l,timeout:u}=e,[c,d]=b.useState(!1),f=oe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:s,height:s,top:-(s/2)+o,left:-(s/2)+i},h=oe(n.child,c&&n.childLeaving,r&&n.childPulsate);return!a&&!c&&d(!0),b.useEffect(()=>{if(!a&&l!=null){const m=setTimeout(l,u);return()=>{clearTimeout(m)}}},[l,a,u]),S.jsx("span",{className:f,style:p,children:S.jsx("span",{className:h})})}const vn=Qe("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),E$=["center","classes","className"];let tp=e=>e,Jx,ew,tw,nw;const hg=550,P$=80,T$=aa(Jx||(Jx=tp` 0% { transform: scale(0); opacity: 0.1; @@ -95,7 +95,7 @@ Error generating stack: `+o.message+` transform: scale(1); opacity: 0.3; } -`)),k$=aa(Jx||(Jx=tp` +`)),k$=aa(ew||(ew=tp` 0% { opacity: 1; } @@ -103,7 +103,7 @@ Error generating stack: `+o.message+` 100% { opacity: 0; } -`)),M$=aa(ew||(ew=tp` +`)),M$=aa(tw||(tw=tp` 0% { transform: scale(1); } @@ -115,7 +115,7 @@ Error generating stack: `+o.message+` 100% { transform: scale(1); } -`)),_$=ae("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),R$=ae(C$,{name:"MuiTouchRipple",slot:"Ripple"})(tw||(tw=tp` +`)),_$=ae("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),R$=ae(C$,{name:"MuiTouchRipple",slot:"Ripple"})(nw||(nw=tp` opacity: 0; position: absolute; @@ -158,8 +158,8 @@ Error generating stack: `+o.message+` animation-iteration-count: infinite; animation-delay: 200ms; } -`),vn.rippleVisible,T$,hg,({theme:e})=>e.transitions.easing.easeInOut,vn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,vn.child,vn.childLeaving,k$,hg,({theme:e})=>e.transitions.easing.easeInOut,vn.childPulsate,M$,({theme:e})=>e.transitions.easing.easeInOut),O$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=se(r,E$),[l,u]=b.useState([]),c=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.useRef(!1),p=J5(),h=b.useRef(null),m=b.useRef(null),x=b.useCallback(w=>{const{pulsate:C,rippleX:E,rippleY:T,rippleSize:P,cb:k}=w;u(M=>[...M,S.jsx(R$,{classes:{ripple:oe(o.ripple,vn.ripple),rippleVisible:oe(o.rippleVisible,vn.rippleVisible),ripplePulsate:oe(o.ripplePulsate,vn.ripplePulsate),child:oe(o.child,vn.child),childLeaving:oe(o.childLeaving,vn.childLeaving),childPulsate:oe(o.childPulsate,vn.childPulsate)},timeout:hg,pulsate:C,rippleX:E,rippleY:T,rippleSize:P},c.current)]),c.current+=1,d.current=k},[o]),g=b.useCallback((w={},C={},E=()=>{})=>{const{pulsate:T=!1,center:P=i||C.pulsate,fakeElement:k=!1}=C;if((w==null?void 0:w.type)==="mousedown"&&f.current){f.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(f.current=!0);const M=k?null:m.current,A=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,L,D;if(P||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)I=Math.round(A.width/2),L=Math.round(A.height/2);else{const{clientX:B,clientY:N}=w.touches&&w.touches.length>0?w.touches[0]:w;I=Math.round(B-A.left),L=Math.round(N-A.top)}if(P)D=Math.sqrt((2*A.width**2+A.height**2)/3),D%2===0&&(D+=1);else{const B=Math.max(Math.abs((M?M.clientWidth:0)-I),I)*2+2,N=Math.max(Math.abs((M?M.clientHeight:0)-L),L)*2+2;D=Math.sqrt(B**2+N**2)}w!=null&&w.touches?h.current===null&&(h.current=()=>{x({pulsate:T,rippleX:I,rippleY:L,rippleSize:D,cb:E})},p.start(P$,()=>{h.current&&(h.current(),h.current=null)})):x({pulsate:T,rippleX:I,rippleY:L,rippleSize:D,cb:E})},[i,x,p]),y=b.useCallback(()=>{g({},{pulsate:!0})},[g]),v=b.useCallback((w,C)=>{if(p.clear(),(w==null?void 0:w.type)==="touchend"&&h.current){h.current(),h.current=null,p.start(0,()=>{v(w,C)});return}h.current=null,u(E=>E.length>0?E.slice(1):E),d.current=C},[p]);return b.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:v}),[y,g,v]),S.jsx(_$,R({className:oe(vn.root,o.root,s),ref:m},a,{children:S.jsx(p$,{component:null,exit:!0,children:l})}))}),A$=O$;function I$(e){return nt("MuiButtonBase",e)}const $$=Qe("MuiButtonBase",["root","disabled","focusVisible"]),L$=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],j$=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=at({root:["root",t&&"disabled",n&&"focusVisible"]},I$,i);return n&&r&&(s.root+=` ${r}`),s},D$=ae("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${$$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),F$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:h,onClick:m,onContextMenu:x,onDragLeave:g,onFocus:y,onFocusVisible:v,onKeyDown:w,onKeyUp:C,onMouseDown:E,onMouseLeave:T,onMouseUp:P,onTouchEnd:k,onTouchMove:M,onTouchStart:A,tabIndex:I=0,TouchRippleProps:L,touchRippleRef:D,type:B}=r,N=se(r,L$),H=b.useRef(null),O=b.useRef(null),$=Ht(O,D),{isFocusVisibleRef:z,onFocus:K,onBlur:ne,ref:We}=dv(),[de,He]=b.useState(!1);u&&de&&He(!1),b.useImperativeHandle(i,()=>({focusVisible:()=>{He(!0),H.current.focus()}}),[]);const[J,U]=b.useState(!1);b.useEffect(()=>{U(!0)},[]);const le=J&&!c&&!u;b.useEffect(()=>{de&&f&&!c&&J&&O.current.pulsate()},[c,f,de,J]);function ue(ee,Qi,Ap=d){return ao(Fu=>(Qi&&Qi(Fu),!Ap&&O.current&&O.current[ee](Fu),!0))}const Pe=ue("start",E),re=ue("stop",x),xe=ue("stop",g),Ze=ue("stop",P),Ct=ue("stop",ee=>{de&&ee.preventDefault(),T&&T(ee)}),Kt=ue("start",A),lt=ue("stop",k),ut=ue("stop",M),Qt=ue("stop",ee=>{ne(ee),z.current===!1&&He(!1),h&&h(ee)},!1),Vr=ao(ee=>{H.current||(H.current=ee.currentTarget),K(ee),z.current===!0&&(He(!0),v&&v(ee)),y&&y(ee)}),An=()=>{const ee=H.current;return l&&l!=="button"&&!(ee.tagName==="A"&&ee.href)},gt=b.useRef(!1),ga=ao(ee=>{f&&!gt.current&&de&&O.current&&ee.key===" "&&(gt.current=!0,O.current.stop(ee,()=>{O.current.start(ee)})),ee.target===ee.currentTarget&&An()&&ee.key===" "&&ee.preventDefault(),w&&w(ee),ee.target===ee.currentTarget&&An()&&ee.key==="Enter"&&!u&&(ee.preventDefault(),m&&m(ee))}),In=ao(ee=>{f&&ee.key===" "&&O.current&&de&&!ee.defaultPrevented&&(gt.current=!1,O.current.stop(ee,()=>{O.current.pulsate(ee)})),C&&C(ee),m&&ee.target===ee.currentTarget&&An()&&ee.key===" "&&!ee.defaultPrevented&&m(ee)});let qn=l;qn==="button"&&(N.href||N.to)&&(qn=p);const $n={};qn==="button"?($n.type=B===void 0?"button":B,$n.disabled=u):(!N.href&&!N.to&&($n.role="button"),u&&($n["aria-disabled"]=u));const qi=Ht(n,We,H),Ki=R({},r,{centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:I,focusVisible:de}),_e=j$(Ki);return S.jsxs(D$,R({as:qn,className:oe(_e.root,a),ownerState:Ki,onBlur:Qt,onClick:m,onContextMenu:re,onFocus:Vr,onKeyDown:ga,onKeyUp:In,onMouseDown:Pe,onMouseLeave:Ct,onMouseUp:Ze,onDragLeave:xe,onTouchEnd:lt,onTouchMove:ut,onTouchStart:Kt,ref:qi,tabIndex:u?-1:I,type:B},$n,N,{children:[s,le?S.jsx(A$,R({ref:$,center:o},L)):null]}))}),mg=F$;function N$(e){return nt("MuiAlert",e)}const z$=Qe("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),nw=z$;function V$(e){return nt("MuiIconButton",e)}const B$=Qe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),U$=["edge","children","className","color","disabled","disableFocusRipple","size"],W$=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${Y(r)}`,i&&`edge${Y(i)}`,`size${Y(o)}`]};return at(s,V$,t)},H$=ae(mg,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Y(n.color)}`],n.edge&&t[`edge${Y(n.edge)}`],t[`size${Y(n.size)}`]]}})(({theme:e,ownerState:t})=>R({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:kt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return R({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&R({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":R({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kt(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${B$.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),G$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,d=se(r,U$),f=R({},r,{edge:i,color:a,disabled:l,disableFocusRipple:u,size:c}),p=W$(f);return S.jsx(H$,R({className:oe(p.root,s),centerRipple:!0,focusRipple:!u,disabled:l,ref:n},d,{ownerState:f,children:o}))}),Nl=G$,q$=qt(S.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),K$=qt(S.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Q$=qt(S.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Y$=qt(S.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),X$=qt(S.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Z$=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],J$=CT(),eL=e=>{const{variant:t,color:n,severity:r,classes:i}=e,o={root:["root",`color${Y(n||r)}`,`${t}${Y(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return at(o,N$,i)},tL=ae(Fl,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Y(n.color||n.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?sg:ag,n=e.palette.mode==="light"?ag:sg;return R({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${nw.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${nw.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.dark).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:R({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)})}))]})}),nL=ae("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),rL=ae("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),rw=ae("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),iw={success:S.jsx(q$,{fontSize:"inherit"}),warning:S.jsx(K$,{fontSize:"inherit"}),error:S.jsx(Q$,{fontSize:"inherit"}),info:S.jsx(Y$,{fontSize:"inherit"})},iL=b.forwardRef(function(t,n){const r=J$({props:t,name:"MuiAlert"}),{action:i,children:o,className:s,closeText:a="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:f=iw,onClose:p,role:h="alert",severity:m="success",slotProps:x={},slots:g={},variant:y="standard"}=r,v=se(r,Z$),w=R({},r,{color:l,severity:m,variant:y,colorSeverity:l||m}),C=eL(w),E={slots:R({closeButton:u.CloseButton,closeIcon:u.CloseIcon},g),slotProps:R({},c,x)},[T,P]=pg("closeButton",{elementType:Nl,externalForwardedProps:E,ownerState:w}),[k,M]=pg("closeIcon",{elementType:X$,externalForwardedProps:E,ownerState:w});return S.jsxs(tL,R({role:h,elevation:0,ownerState:w,className:oe(C.root,s),ref:n},v,{children:[d!==!1?S.jsx(nL,{ownerState:w,className:C.icon,children:d||f[m]||iw[m]}):null,S.jsx(rL,{ownerState:w,className:C.message,children:o}),i!=null?S.jsx(rw,{ownerState:w,className:C.action,children:i}):null,i==null&&p?S.jsx(rw,{ownerState:w,className:C.action,children:S.jsx(T,R({size:"small","aria-label":a,title:a,color:"inherit",onClick:p},P,{children:S.jsx(k,R({fontSize:"small"},M))}))}):null]}))}),oL=iL;function sL(e){return nt("MuiTypography",e)}Qe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const aL=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],lL=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=e,a={root:["root",o,e.align!=="inherit"&&`align${Y(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return at(a,sL,s)},uL=ae("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Y(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>R({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),ow={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},cL={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},dL=e=>cL[e]||e,fL=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTypography"}),i=dL(r.color),o=Tv(R({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=ow}=o,h=se(o,aL),m=R({},o,{align:s,color:i,className:a,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:p}),x=l||(d?"p":p[f]||ow[f])||"span",g=lL(m);return S.jsx(uL,R({as:x,ref:n,ownerState:m,className:oe(g.root,a)},h))}),ce=fL,pL=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function hL(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function mL(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function gL(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||mL(e))}function vL(e){const t=[],n=[];return Array.from(e.querySelectorAll(pL)).forEach((r,i)=>{const o=hL(r);o===-1||!gL(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function yL(){return!0}function xL(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=vL,isEnabled:s=yL,open:a}=e,l=b.useRef(!1),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(!1),h=b.useRef(null),m=Ht(t.ref,h),x=b.useRef(null);b.useEffect(()=>{!a||!h.current||(p.current=!n)},[n,a]),b.useEffect(()=>{if(!a||!h.current)return;const v=Tr(h.current);return h.current.contains(v.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),p.current&&h.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),b.useEffect(()=>{if(!a||!h.current)return;const v=Tr(h.current),w=T=>{x.current=T,!(r||!s()||T.key!=="Tab")&&v.activeElement===h.current&&T.shiftKey&&(l.current=!0,c.current&&c.current.focus())},C=()=>{const T=h.current;if(T===null)return;if(!v.hasFocus()||!s()||l.current){l.current=!1;return}if(T.contains(v.activeElement)||r&&v.activeElement!==u.current&&v.activeElement!==c.current)return;if(v.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let P=[];if((v.activeElement===u.current||v.activeElement===c.current)&&(P=o(h.current)),P.length>0){var k,M;const A=!!((k=x.current)!=null&&k.shiftKey&&((M=x.current)==null?void 0:M.key)==="Tab"),I=P[0],L=P[P.length-1];typeof I!="string"&&typeof L!="string"&&(A?L.focus():I.focus())}else T.focus()};v.addEventListener("focusin",C),v.addEventListener("keydown",w,!0);const E=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(E),v.removeEventListener("focusin",C),v.removeEventListener("keydown",w,!0)}},[n,r,i,s,a,o]);const g=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0,f.current=v.target;const w=t.props.onFocus;w&&w(v)},y=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0};return S.jsxs(b.Fragment,{children:[S.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:m,onFocus:g}),S.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}function wL(e){return typeof e=="function"?e():e}const bL=b.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[s,a]=b.useState(null),l=Ht(b.isValidElement(r)?r.ref:null,n);if(Fi(()=>{o||a(wL(i)||document.body)},[i,o]),Fi(()=>{if(s&&!o)return xd(n,s),()=>{xd(n,null)}},[n,s,o]),o){if(b.isValidElement(r)){const u={ref:l};return b.cloneElement(r,u)}return S.jsx(b.Fragment,{children:r})}return S.jsx(b.Fragment,{children:s&&yf.createPortal(r,s)})});function SL(e){const t=Tr(e);return t.body===e?Di(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function nl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function sw(e){return parseInt(Di(e).getComputedStyle(e).paddingRight,10)||0}function CL(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function aw(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,s=>{const a=o.indexOf(s)===-1,l=!CL(s);a&&l&&nl(s,i)})}function fh(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function EL(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(SL(r)){const s=aA(Tr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${sw(r)+s}px`;const a=Tr(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${sw(l)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Tr(r).body;else{const s=r.parentElement,a=Di(r);o=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function PL(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class TL{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&nl(t.modalRef,!1);const i=PL(n);aw(n,t.mount,t.modalRef,i,!0);const o=fh(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=fh(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=EL(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=fh(this.containers,s=>s.modals.indexOf(t)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&nl(t.modalRef,n),aw(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=o.modals[o.modals.length-1];s.modalRef&&nl(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function kL(e){return typeof e=="function"?e():e}function ML(e){return e?e.props.hasOwnProperty("in"):!1}const _L=new TL;function RL(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=_L,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,f=b.useRef({}),p=b.useRef(null),h=b.useRef(null),m=Ht(h,d),[x,g]=b.useState(!c),y=ML(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const w=()=>Tr(p.current),C=()=>(f.current.modalRef=h.current,f.current.mount=p.current,f.current),E=()=>{i.mount(C(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},T=ao(()=>{const N=kL(t)||w().body;i.add(C(),N),h.current&&E()}),P=b.useCallback(()=>i.isTopModal(C()),[i]),k=ao(N=>{p.current=N,N&&(c&&P()?E():h.current&&nl(h.current,v))}),M=b.useCallback(()=>{i.remove(C(),v)},[v,i]);b.useEffect(()=>()=>{M()},[M]),b.useEffect(()=>{c?T():(!y||!o)&&M()},[c,M,y,o,T]);const A=N=>H=>{var O;(O=N.onKeyDown)==null||O.call(N,H),!(H.key!=="Escape"||H.which===229||!P())&&(n||(H.stopPropagation(),u&&u(H,"escapeKeyDown")))},I=N=>H=>{var O;(O=N.onClick)==null||O.call(N,H),H.target===H.currentTarget&&u&&u(H,"backdropClick")};return{getRootProps:(N={})=>{const H=MT(e);delete H.onTransitionEnter,delete H.onTransitionExited;const O=R({},H,N);return R({role:"presentation"},O,{onKeyDown:A(O),ref:m})},getBackdropProps:(N={})=>{const H=N;return R({"aria-hidden":!0},H,{onClick:I(H),open:c})},getTransitionProps:()=>{const N=()=>{g(!1),s&&s()},H=()=>{g(!0),a&&a(),o&&M()};return{onEnter:eg(N,l==null?void 0:l.props.onEnter),onExited:eg(H,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:k,isTopModal:P,exited:x,hasTransition:y}}const OL=["onChange","maxRows","minRows","style","value"];function sc(e){return parseInt(e,10)||0}const AL={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function IL(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const $L=b.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:a}=t,l=se(t,OL),{current:u}=b.useRef(a!=null),c=b.useRef(null),d=Ht(n,c),f=b.useRef(null),p=b.useCallback(()=>{const x=c.current,y=Di(x).getComputedStyle(x);if(y.width==="0px")return{outerHeightStyle:0,overflowing:!1};const v=f.current;v.style.width=y.width,v.value=x.value||t.placeholder||"x",v.value.slice(-1)===` -`&&(v.value+=" ");const w=y.boxSizing,C=sc(y.paddingBottom)+sc(y.paddingTop),E=sc(y.borderBottomWidth)+sc(y.borderTopWidth),T=v.scrollHeight;v.value="x";const P=v.scrollHeight;let k=T;o&&(k=Math.max(Number(o)*P,k)),i&&(k=Math.min(Number(i)*P,k)),k=Math.max(k,P);const M=k+(w==="border-box"?C+E:0),A=Math.abs(k-T)<=1;return{outerHeightStyle:M,overflowing:A}},[i,o,t.placeholder]),h=b.useCallback(()=>{const x=p();if(IL(x))return;const g=c.current;g.style.height=`${x.outerHeightStyle}px`,g.style.overflow=x.overflowing?"hidden":""},[p]);Fi(()=>{const x=()=>{h()};let g;const y=cv(x),v=c.current,w=Di(v);w.addEventListener("resize",y);let C;return typeof ResizeObserver<"u"&&(C=new ResizeObserver(x),C.observe(v)),()=>{y.clear(),cancelAnimationFrame(g),w.removeEventListener("resize",y),C&&C.disconnect()}},[p,h]),Fi(()=>{h()});const m=x=>{u||h(),r&&r(x)};return S.jsxs(b.Fragment,{children:[S.jsx("textarea",R({value:a,onChange:m,ref:d,rows:o,style:s},l)),S.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:R({},AL.shadow,s,{paddingTop:0,paddingBottom:0})})]})}),LL=qt(S.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function jL(e){return nt("MuiChip",e)}const DL=Qe("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ye=DL,FL=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],NL=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:o,onDelete:s,clickable:a,variant:l}=e,u={root:["root",l,n&&"disabled",`size${Y(r)}`,`color${Y(i)}`,a&&"clickable",a&&`clickableColor${Y(i)}`,s&&"deletable",s&&`deletableColor${Y(i)}`,`${l}${Y(i)}`],label:["label",`label${Y(r)}`],avatar:["avatar",`avatar${Y(r)}`,`avatarColor${Y(i)}`],icon:["icon",`icon${Y(r)}`,`iconColor${Y(o)}`],deleteIcon:["deleteIcon",`deleteIcon${Y(r)}`,`deleteIconColor${Y(i)}`,`deleteIcon${Y(l)}Color${Y(i)}`]};return at(u,jL,t)},zL=ae("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:o,onDelete:s,size:a,variant:l}=n;return[{[`& .${ye.avatar}`]:t.avatar},{[`& .${ye.avatar}`]:t[`avatar${Y(a)}`]},{[`& .${ye.avatar}`]:t[`avatarColor${Y(r)}`]},{[`& .${ye.icon}`]:t.icon},{[`& .${ye.icon}`]:t[`icon${Y(a)}`]},{[`& .${ye.icon}`]:t[`iconColor${Y(i)}`]},{[`& .${ye.deleteIcon}`]:t.deleteIcon},{[`& .${ye.deleteIcon}`]:t[`deleteIcon${Y(a)}`]},{[`& .${ye.deleteIcon}`]:t[`deleteIconColor${Y(r)}`]},{[`& .${ye.deleteIcon}`]:t[`deleteIcon${Y(l)}Color${Y(r)}`]},t.root,t[`size${Y(a)}`],t[`color${Y(r)}`],o&&t.clickable,o&&r!=="default"&&t[`clickableColor${Y(r)})`],s&&t.deletable,s&&r!=="default"&&t[`deletableColor${Y(r)}`],t[l],t[`${l}${Y(r)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return R({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${ye.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ye.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${ye.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ye.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ye.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ye.icon}`]:R({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&R({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${ye.deleteIcon}`]:R({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:kt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:kt(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:kt(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${ye.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:kt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${ye.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>R({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:kt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ye.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:kt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${ye.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>R({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${ye.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ye.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ye.avatar}`]:{marginLeft:4},[`& .${ye.avatarSmall}`]:{marginLeft:2},[`& .${ye.icon}`]:{marginLeft:4},[`& .${ye.iconSmall}`]:{marginLeft:2},[`& .${ye.deleteIcon}`]:{marginRight:5},[`& .${ye.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:kt(e.palette[t.color].main,.7)}`,[`&.${ye.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kt(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${ye.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:kt(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${ye.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:kt(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),VL=ae("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Y(r)}`]]}})(({ownerState:e})=>R({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function lw(e){return e.key==="Backspace"||e.key==="Delete"}const BL=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiChip"}),{avatar:i,className:o,clickable:s,color:a="default",component:l,deleteIcon:u,disabled:c=!1,icon:d,label:f,onClick:p,onDelete:h,onKeyDown:m,onKeyUp:x,size:g="medium",variant:y="filled",tabIndex:v,skipFocusWhenDisabled:w=!1}=r,C=se(r,FL),E=b.useRef(null),T=Ht(E,n),P=$=>{$.stopPropagation(),h&&h($)},k=$=>{$.currentTarget===$.target&&lw($)&&$.preventDefault(),m&&m($)},M=$=>{$.currentTarget===$.target&&(h&&lw($)?h($):$.key==="Escape"&&E.current&&E.current.blur()),x&&x($)},A=s!==!1&&p?!0:s,I=A||h?mg:l||"div",L=R({},r,{component:I,disabled:c,size:g,color:a,iconColor:b.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:A,variant:y}),D=NL(L),B=I===mg?R({component:l||"div",focusVisibleClassName:D.focusVisible},h&&{disableRipple:!0}):{};let N=null;h&&(N=u&&b.isValidElement(u)?b.cloneElement(u,{className:oe(u.props.className,D.deleteIcon),onClick:P}):S.jsx(LL,{className:oe(D.deleteIcon),onClick:P}));let H=null;i&&b.isValidElement(i)&&(H=b.cloneElement(i,{className:oe(D.avatar,i.props.className)}));let O=null;return d&&b.isValidElement(d)&&(O=b.cloneElement(d,{className:oe(D.icon,d.props.className)})),S.jsxs(zL,R({as:I,className:oe(D.root,o),disabled:A&&c?!0:void 0,onClick:p,onKeyDown:k,onKeyUp:M,ref:T,tabIndex:w&&c?-1:v,ownerState:L},B,C,{children:[H||O,S.jsx(VL,{className:oe(D.label),ownerState:L,children:f}),N]}))}),UL=BL;function OT({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const WL=b.createContext(void 0),AT=WL;function IT(){return b.useContext(AT)}function $T(e){return S.jsx(U4,R({},e,{defaultTheme:ep,themeId:Ro}))}function uw(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function HL(e,t=!1){return e&&(uw(e.value)&&e.value!==""||t&&uw(e.defaultValue)&&e.defaultValue!=="")}function GL(e){return nt("MuiInputBase",e)}const qL=Qe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Pd=qL,KL=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],LT=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Y(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},jT=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},QL=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:s,formControl:a,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:h}=e,m={root:["root",`color${Y(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",f&&f!=="medium"&&`size${Y(f)}`,c&&"multiline",p&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",h==="search"&&"inputTypeSearch",c&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]};return at(m,GL,t)},DT=ae("div",{name:"MuiInputBase",slot:"Root",overridesResolver:LT})(({theme:e,ownerState:t})=>R({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Pd.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&R({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),FT=ae("input",{name:"MuiInputBase",slot:"Input",overridesResolver:jT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=R({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return R({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Pd.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Pd.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),YL=S.jsx($T,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),XL=b.forwardRef(function(t,n){var r;const i=rt({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:s,autoFocus:a,className:l,components:u={},componentsProps:c={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:p,endAdornment:h,fullWidth:m=!1,id:x,inputComponent:g="input",inputProps:y={},inputRef:v,maxRows:w,minRows:C,multiline:E=!1,name:T,onBlur:P,onChange:k,onClick:M,onFocus:A,onKeyDown:I,onKeyUp:L,placeholder:D,readOnly:B,renderSuffix:N,rows:H,slotProps:O={},slots:$={},startAdornment:z,type:K="text",value:ne}=i,We=se(i,KL),de=y.value!=null?y.value:ne,{current:He}=b.useRef(de!=null),J=b.useRef(),U=b.useCallback(_e=>{},[]),le=Ht(J,v,y.ref,U),[ue,Pe]=b.useState(!1),re=IT(),xe=OT({props:i,muiFormControl:re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});xe.focused=re?re.focused:ue,b.useEffect(()=>{!re&&f&&ue&&(Pe(!1),P&&P())},[re,f,ue,P]);const Ze=re&&re.onFilled,Ct=re&&re.onEmpty,Kt=b.useCallback(_e=>{HL(_e)?Ze&&Ze():Ct&&Ct()},[Ze,Ct]);Fi(()=>{He&&Kt({value:de})},[de,Kt,He]);const lt=_e=>{if(xe.disabled){_e.stopPropagation();return}A&&A(_e),y.onFocus&&y.onFocus(_e),re&&re.onFocus?re.onFocus(_e):Pe(!0)},ut=_e=>{P&&P(_e),y.onBlur&&y.onBlur(_e),re&&re.onBlur?re.onBlur(_e):Pe(!1)},Qt=(_e,...ee)=>{if(!He){const Qi=_e.target||J.current;if(Qi==null)throw new Error(qs(1));Kt({value:Qi.value})}y.onChange&&y.onChange(_e,...ee),k&&k(_e,...ee)};b.useEffect(()=>{Kt(J.current)},[]);const Vr=_e=>{J.current&&_e.currentTarget===_e.target&&J.current.focus(),M&&M(_e)};let An=g,gt=y;E&&An==="input"&&(H?gt=R({type:void 0,minRows:H,maxRows:H},gt):gt=R({type:void 0,maxRows:w,minRows:C},gt),An=$L);const ga=_e=>{Kt(_e.animationName==="mui-auto-fill-cancel"?J.current:{value:"x"})};b.useEffect(()=>{re&&re.setAdornedStart(!!z)},[re,z]);const In=R({},i,{color:xe.color||"primary",disabled:xe.disabled,endAdornment:h,error:xe.error,focused:xe.focused,formControl:re,fullWidth:m,hiddenLabel:xe.hiddenLabel,multiline:E,size:xe.size,startAdornment:z,type:K}),qn=QL(In),$n=$.root||u.Root||DT,qi=O.root||c.root||{},Ki=$.input||u.Input||FT;return gt=R({},gt,(r=O.input)!=null?r:c.input),S.jsxs(b.Fragment,{children:[!p&&YL,S.jsxs($n,R({},qi,!fg($n)&&{ownerState:R({},In,qi.ownerState)},{ref:n,onClick:Vr},We,{className:oe(qn.root,qi.className,l,B&&"MuiInputBase-readOnly"),children:[z,S.jsx(AT.Provider,{value:null,children:S.jsx(Ki,R({ownerState:In,"aria-invalid":xe.error,"aria-describedby":o,autoComplete:s,autoFocus:a,defaultValue:d,disabled:xe.disabled,id:x,onAnimationStart:ga,name:T,placeholder:D,readOnly:B,required:xe.required,rows:H,value:de,onKeyDown:I,onKeyUp:L,type:K},gt,!fg(Ki)&&{as:An,ownerState:R({},In,gt.ownerState)},{ref:le,className:oe(qn.input,gt.className,B&&"MuiInputBase-readOnly"),onBlur:ut,onChange:Qt,onFocus:lt}))}),h,N?N(R({},xe,{startAdornment:z})):null]}))]})}),ZL=XL;function JL(e){return nt("MuiOutlinedInput",e)}const ej=R({},Pd,Qe("MuiOutlinedInput",["root","notchedOutline","input"])),Ur=ej,tj=qt(S.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function nj(e){return nt("MuiAvatar",e)}Qe("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const rj=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],ij=CT(),oj=e=>{const{classes:t,variant:n,colorDefault:r}=e;return at({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},nj,t)},sj=ae("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:R({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:R({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),aj=ae("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),lj=ae(tj,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function uj({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,o]=b.useState(!1);return b.useEffect(()=>{if(!n&&!r)return;o(!1);let s=!0;const a=new Image;return a.onload=()=>{s&&o("loaded")},a.onerror=()=>{s&&o("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[e,t,n,r]),i}const cj=b.forwardRef(function(t,n){const r=ij({props:t,name:"MuiAvatar"}),{alt:i,children:o,className:s,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:d,src:f,srcSet:p,variant:h="circular"}=r,m=se(r,rj);let x=null;const g=uj(R({},c,{src:f,srcSet:p})),y=f||p,v=y&&g!=="error",w=R({},r,{colorDefault:!v,component:a,variant:h}),C=oj(w),[E,T]=pg("img",{className:C.img,elementType:aj,externalForwardedProps:{slots:l,slotProps:{img:R({},c,u.img)}},additionalProps:{alt:i,src:f,srcSet:p,sizes:d},ownerState:w});return v?x=S.jsx(E,R({},T)):o||o===0?x=o:y&&i?x=i[0]:x=S.jsx(lj,{ownerState:w,className:C.fallback}),S.jsx(sj,R({as:a,ownerState:w,className:oe(C.root,s),ref:n},m,{children:x}))}),Td=cj,dj=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],fj={entering:{opacity:1},entered:{opacity:1}},pj=b.forwardRef(function(t,n){const r=Av(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:l,in:u,onEnter:c,onEntered:d,onEntering:f,onExit:p,onExited:h,onExiting:m,style:x,timeout:g=i,TransitionComponent:y=PT}=t,v=se(t,dj),w=b.useRef(null),C=Ht(w,a.ref,n),E=D=>B=>{if(D){const N=w.current;B===void 0?D(N):D(N,B)}},T=E(f),P=E((D,B)=>{TT(D);const N=Ed({style:x,timeout:g,easing:l},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",N),D.style.transition=r.transitions.create("opacity",N),c&&c(D,B)}),k=E(d),M=E(m),A=E(D=>{const B=Ed({style:x,timeout:g,easing:l},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",B),D.style.transition=r.transitions.create("opacity",B),p&&p(D)}),I=E(h),L=D=>{o&&o(w.current,D)};return S.jsx(y,R({appear:s,in:u,nodeRef:w,onEnter:P,onEntered:k,onEntering:T,onExit:A,onExited:I,onExiting:M,addEndListener:L,timeout:g},v,{children:(D,B)=>b.cloneElement(a,R({style:R({opacity:0,visibility:D==="exited"&&!u?"hidden":void 0},fj[D],x,a.props.style),ref:C},B))}))}),hj=pj;function mj(e){return nt("MuiBackdrop",e)}Qe("MuiBackdrop",["root","invisible"]);const gj=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],vj=e=>{const{classes:t,invisible:n}=e;return at({root:["root",n&&"invisible"]},mj,t)},yj=ae("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>R({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),xj=b.forwardRef(function(t,n){var r,i,o;const s=rt({props:t,name:"MuiBackdrop"}),{children:a,className:l,component:u="div",components:c={},componentsProps:d={},invisible:f=!1,open:p,slotProps:h={},slots:m={},TransitionComponent:x=hj,transitionDuration:g}=s,y=se(s,gj),v=R({},s,{component:u,invisible:f}),w=vj(v),C=(r=h.root)!=null?r:d.root;return S.jsx(x,R({in:p,timeout:g},y,{children:S.jsx(yj,R({"aria-hidden":!0},C,{as:(i=(o=m.root)!=null?o:c.Root)!=null?i:u,className:oe(w.root,l,C==null?void 0:C.className),ownerState:R({},v,C==null?void 0:C.ownerState),classes:w,ref:n,children:a}))}))}),wj=xj,bj=Qe("MuiBox",["root"]),Sj=bj,Cj=Ov(),Ej=H4({themeId:Ro,defaultTheme:Cj,defaultClassName:Sj.root,generateClassName:fv.generate}),Q=Ej;function Pj(e){return nt("MuiCard",e)}Qe("MuiCard",["root"]);const Tj=["className","raised"],kj=e=>{const{classes:t}=e;return at({root:["root"]},Pj,t)},Mj=ae(Fl,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),_j=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCard"}),{className:i,raised:o=!1}=r,s=se(r,Tj),a=R({},r,{raised:o}),l=kj(a);return S.jsx(Mj,R({className:oe(l.root,i),elevation:o?8:void 0,ref:n,ownerState:a},s))}),Rj=_j;function Oj(e){return nt("MuiCardMedia",e)}Qe("MuiCardMedia",["root","media","img"]);const Aj=["children","className","component","image","src","style"],Ij=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return at({root:["root",n&&"media",r&&"img"]},Oj,t)},$j=ae("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:i}=n;return[t.root,r&&t.media,i&&t.img]}})(({ownerState:e})=>R({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),Lj=["video","audio","picture","iframe","img"],jj=["picture","img"],Dj=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCardMedia"}),{children:i,className:o,component:s="div",image:a,src:l,style:u}=r,c=se(r,Aj),d=Lj.indexOf(s)!==-1,f=!d&&a?R({backgroundImage:`url("${a}")`},u):u,p=R({},r,{component:s,isMediaComponent:d,isImageComponent:jj.indexOf(s)!==-1}),h=Ij(p);return S.jsx($j,R({className:oe(h.root,o),as:s,role:!d&&a?"img":void 0,ref:n,style:f,ownerState:p,src:d?a||l:void 0},c,{children:i}))}),Fj=Dj;function Nj(e){return nt("MuiCircularProgress",e)}Qe("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const zj=["className","color","disableShrink","size","style","thickness","value","variant"];let np=e=>e,cw,dw,fw,pw;const Wr=44,Vj=aa(cw||(cw=np` +`),vn.rippleVisible,T$,hg,({theme:e})=>e.transitions.easing.easeInOut,vn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,vn.child,vn.childLeaving,k$,hg,({theme:e})=>e.transitions.easing.easeInOut,vn.childPulsate,M$,({theme:e})=>e.transitions.easing.easeInOut),O$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=se(r,E$),[l,u]=b.useState([]),c=b.useRef(0),d=b.useRef(null);b.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const f=b.useRef(!1),p=J5(),h=b.useRef(null),m=b.useRef(null),x=b.useCallback(w=>{const{pulsate:C,rippleX:E,rippleY:T,rippleSize:P,cb:k}=w;u(M=>[...M,S.jsx(R$,{classes:{ripple:oe(o.ripple,vn.ripple),rippleVisible:oe(o.rippleVisible,vn.rippleVisible),ripplePulsate:oe(o.ripplePulsate,vn.ripplePulsate),child:oe(o.child,vn.child),childLeaving:oe(o.childLeaving,vn.childLeaving),childPulsate:oe(o.childPulsate,vn.childPulsate)},timeout:hg,pulsate:C,rippleX:E,rippleY:T,rippleSize:P},c.current)]),c.current+=1,d.current=k},[o]),g=b.useCallback((w={},C={},E=()=>{})=>{const{pulsate:T=!1,center:P=i||C.pulsate,fakeElement:k=!1}=C;if((w==null?void 0:w.type)==="mousedown"&&f.current){f.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(f.current=!0);const M=k?null:m.current,A=M?M.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,L,D;if(P||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)I=Math.round(A.width/2),L=Math.round(A.height/2);else{const{clientX:B,clientY:N}=w.touches&&w.touches.length>0?w.touches[0]:w;I=Math.round(B-A.left),L=Math.round(N-A.top)}if(P)D=Math.sqrt((2*A.width**2+A.height**2)/3),D%2===0&&(D+=1);else{const B=Math.max(Math.abs((M?M.clientWidth:0)-I),I)*2+2,N=Math.max(Math.abs((M?M.clientHeight:0)-L),L)*2+2;D=Math.sqrt(B**2+N**2)}w!=null&&w.touches?h.current===null&&(h.current=()=>{x({pulsate:T,rippleX:I,rippleY:L,rippleSize:D,cb:E})},p.start(P$,()=>{h.current&&(h.current(),h.current=null)})):x({pulsate:T,rippleX:I,rippleY:L,rippleSize:D,cb:E})},[i,x,p]),y=b.useCallback(()=>{g({},{pulsate:!0})},[g]),v=b.useCallback((w,C)=>{if(p.clear(),(w==null?void 0:w.type)==="touchend"&&h.current){h.current(),h.current=null,p.start(0,()=>{v(w,C)});return}h.current=null,u(E=>E.length>0?E.slice(1):E),d.current=C},[p]);return b.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:v}),[y,g,v]),S.jsx(_$,R({className:oe(vn.root,o.root,s),ref:m},a,{children:S.jsx(p$,{component:null,exit:!0,children:l})}))}),A$=O$;function I$(e){return nt("MuiButtonBase",e)}const $$=Qe("MuiButtonBase",["root","disabled","focusVisible"]),L$=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],j$=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=at({root:["root",t&&"disabled",n&&"focusVisible"]},I$,i);return n&&r&&(s.root+=` ${r}`),s},D$=ae("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${$$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),F$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:o=!1,children:s,className:a,component:l="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:p="a",onBlur:h,onClick:m,onContextMenu:x,onDragLeave:g,onFocus:y,onFocusVisible:v,onKeyDown:w,onKeyUp:C,onMouseDown:E,onMouseLeave:T,onMouseUp:P,onTouchEnd:k,onTouchMove:M,onTouchStart:A,tabIndex:I=0,TouchRippleProps:L,touchRippleRef:D,type:B}=r,N=se(r,L$),H=b.useRef(null),O=b.useRef(null),$=Ht(O,D),{isFocusVisibleRef:z,onFocus:K,onBlur:ne,ref:We}=fv(),[de,He]=b.useState(!1);u&&de&&He(!1),b.useImperativeHandle(i,()=>({focusVisible:()=>{He(!0),H.current.focus()}}),[]);const[J,U]=b.useState(!1);b.useEffect(()=>{U(!0)},[]);const le=J&&!c&&!u;b.useEffect(()=>{de&&f&&!c&&J&&O.current.pulsate()},[c,f,de,J]);function ue(ee,Qi,Ap=d){return ao(Fu=>(Qi&&Qi(Fu),!Ap&&O.current&&O.current[ee](Fu),!0))}const Pe=ue("start",E),re=ue("stop",x),xe=ue("stop",g),Ze=ue("stop",P),Ct=ue("stop",ee=>{de&&ee.preventDefault(),T&&T(ee)}),Kt=ue("start",A),lt=ue("stop",k),ut=ue("stop",M),Qt=ue("stop",ee=>{ne(ee),z.current===!1&&He(!1),h&&h(ee)},!1),Vr=ao(ee=>{H.current||(H.current=ee.currentTarget),K(ee),z.current===!0&&(He(!0),v&&v(ee)),y&&y(ee)}),An=()=>{const ee=H.current;return l&&l!=="button"&&!(ee.tagName==="A"&&ee.href)},gt=b.useRef(!1),ga=ao(ee=>{f&&!gt.current&&de&&O.current&&ee.key===" "&&(gt.current=!0,O.current.stop(ee,()=>{O.current.start(ee)})),ee.target===ee.currentTarget&&An()&&ee.key===" "&&ee.preventDefault(),w&&w(ee),ee.target===ee.currentTarget&&An()&&ee.key==="Enter"&&!u&&(ee.preventDefault(),m&&m(ee))}),In=ao(ee=>{f&&ee.key===" "&&O.current&&de&&!ee.defaultPrevented&&(gt.current=!1,O.current.stop(ee,()=>{O.current.pulsate(ee)})),C&&C(ee),m&&ee.target===ee.currentTarget&&An()&&ee.key===" "&&!ee.defaultPrevented&&m(ee)});let qn=l;qn==="button"&&(N.href||N.to)&&(qn=p);const $n={};qn==="button"?($n.type=B===void 0?"button":B,$n.disabled=u):(!N.href&&!N.to&&($n.role="button"),u&&($n["aria-disabled"]=u));const qi=Ht(n,We,H),Ki=R({},r,{centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:I,focusVisible:de}),_e=j$(Ki);return S.jsxs(D$,R({as:qn,className:oe(_e.root,a),ownerState:Ki,onBlur:Qt,onClick:m,onContextMenu:re,onFocus:Vr,onKeyDown:ga,onKeyUp:In,onMouseDown:Pe,onMouseLeave:Ct,onMouseUp:Ze,onDragLeave:xe,onTouchEnd:lt,onTouchMove:ut,onTouchStart:Kt,ref:qi,tabIndex:u?-1:I,type:B},$n,N,{children:[s,le?S.jsx(A$,R({ref:$,center:o},L)):null]}))}),mg=F$;function N$(e){return nt("MuiAlert",e)}const z$=Qe("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),rw=z$;function V$(e){return nt("MuiIconButton",e)}const B$=Qe("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),U$=["edge","children","className","color","disabled","disableFocusRipple","size"],W$=e=>{const{classes:t,disabled:n,color:r,edge:i,size:o}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${Y(r)}`,i&&`edge${Y(i)}`,`size${Y(o)}`]};return at(s,V$,t)},H$=ae(mg,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Y(n.color)}`],n.edge&&t[`edge${Y(n.edge)}`],t[`size${Y(n.size)}`]]}})(({theme:e,ownerState:t})=>R({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:kt(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return R({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&R({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":R({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kt(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${B$.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),G$=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiIconButton"}),{edge:i=!1,children:o,className:s,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,d=se(r,U$),f=R({},r,{edge:i,color:a,disabled:l,disableFocusRipple:u,size:c}),p=W$(f);return S.jsx(H$,R({className:oe(p.root,s),centerRipple:!0,focusRipple:!u,disabled:l,ref:n},d,{ownerState:f,children:o}))}),Nl=G$,q$=qt(S.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),K$=qt(S.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),Q$=qt(S.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),Y$=qt(S.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),X$=qt(S.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),Z$=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],J$=CT(),eL=e=>{const{variant:t,color:n,severity:r,classes:i}=e,o={root:["root",`color${Y(n||r)}`,`${t}${Y(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return at(o,N$,i)},tL=ae(Fl,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Y(n.color||n.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?sg:ag,n=e.palette.mode==="light"?ag:sg;return R({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${rw.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.light).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${rw.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,r])=>r.main&&r.dark).map(([r])=>({props:{colorSeverity:r,variant:"filled"},style:R({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${r}FilledColor`],backgroundColor:e.vars.palette.Alert[`${r}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[r].dark:e.palette[r].main,color:e.palette.getContrastText(e.palette[r].main)})}))]})}),nL=ae("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),rL=ae("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),iw=ae("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),ow={success:S.jsx(q$,{fontSize:"inherit"}),warning:S.jsx(K$,{fontSize:"inherit"}),error:S.jsx(Q$,{fontSize:"inherit"}),info:S.jsx(Y$,{fontSize:"inherit"})},iL=b.forwardRef(function(t,n){const r=J$({props:t,name:"MuiAlert"}),{action:i,children:o,className:s,closeText:a="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:f=ow,onClose:p,role:h="alert",severity:m="success",slotProps:x={},slots:g={},variant:y="standard"}=r,v=se(r,Z$),w=R({},r,{color:l,severity:m,variant:y,colorSeverity:l||m}),C=eL(w),E={slots:R({closeButton:u.CloseButton,closeIcon:u.CloseIcon},g),slotProps:R({},c,x)},[T,P]=pg("closeButton",{elementType:Nl,externalForwardedProps:E,ownerState:w}),[k,M]=pg("closeIcon",{elementType:X$,externalForwardedProps:E,ownerState:w});return S.jsxs(tL,R({role:h,elevation:0,ownerState:w,className:oe(C.root,s),ref:n},v,{children:[d!==!1?S.jsx(nL,{ownerState:w,className:C.icon,children:d||f[m]||ow[m]}):null,S.jsx(rL,{ownerState:w,className:C.message,children:o}),i!=null?S.jsx(iw,{ownerState:w,className:C.action,children:i}):null,i==null&&p?S.jsx(iw,{ownerState:w,className:C.action,children:S.jsx(T,R({size:"small","aria-label":a,title:a,color:"inherit",onClick:p},P,{children:S.jsx(k,R({fontSize:"small"},M))}))}):null]}))}),oL=iL;function sL(e){return nt("MuiTypography",e)}Qe("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const aL=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],lL=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:o,classes:s}=e,a={root:["root",o,e.align!=="inherit"&&`align${Y(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return at(a,sL,s)},uL=ae("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Y(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>R({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),sw={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},cL={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},dL=e=>cL[e]||e,fL=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiTypography"}),i=dL(r.color),o=kv(R({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=sw}=o,h=se(o,aL),m=R({},o,{align:s,color:i,className:a,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:p}),x=l||(d?"p":p[f]||sw[f])||"span",g=lL(m);return S.jsx(uL,R({as:x,ref:n,ownerState:m,className:oe(g.root,a)},h))}),ce=fL,pL=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function hL(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function mL(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function gL(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||mL(e))}function vL(e){const t=[],n=[];return Array.from(e.querySelectorAll(pL)).forEach((r,i)=>{const o=hL(r);o===-1||!gL(r)||(o===0?t.push(r):n.push({documentOrder:i,tabIndex:o,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function yL(){return!0}function xL(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=vL,isEnabled:s=yL,open:a}=e,l=b.useRef(!1),u=b.useRef(null),c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(!1),h=b.useRef(null),m=Ht(t.ref,h),x=b.useRef(null);b.useEffect(()=>{!a||!h.current||(p.current=!n)},[n,a]),b.useEffect(()=>{if(!a||!h.current)return;const v=Tr(h.current);return h.current.contains(v.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),p.current&&h.current.focus()),()=>{i||(d.current&&d.current.focus&&(l.current=!0,d.current.focus()),d.current=null)}},[a]),b.useEffect(()=>{if(!a||!h.current)return;const v=Tr(h.current),w=T=>{x.current=T,!(r||!s()||T.key!=="Tab")&&v.activeElement===h.current&&T.shiftKey&&(l.current=!0,c.current&&c.current.focus())},C=()=>{const T=h.current;if(T===null)return;if(!v.hasFocus()||!s()||l.current){l.current=!1;return}if(T.contains(v.activeElement)||r&&v.activeElement!==u.current&&v.activeElement!==c.current)return;if(v.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!p.current)return;let P=[];if((v.activeElement===u.current||v.activeElement===c.current)&&(P=o(h.current)),P.length>0){var k,M;const A=!!((k=x.current)!=null&&k.shiftKey&&((M=x.current)==null?void 0:M.key)==="Tab"),I=P[0],L=P[P.length-1];typeof I!="string"&&typeof L!="string"&&(A?L.focus():I.focus())}else T.focus()};v.addEventListener("focusin",C),v.addEventListener("keydown",w,!0);const E=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(E),v.removeEventListener("focusin",C),v.removeEventListener("keydown",w,!0)}},[n,r,i,s,a,o]);const g=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0,f.current=v.target;const w=t.props.onFocus;w&&w(v)},y=v=>{d.current===null&&(d.current=v.relatedTarget),p.current=!0};return S.jsxs(b.Fragment,{children:[S.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:m,onFocus:g}),S.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}function wL(e){return typeof e=="function"?e():e}const bL=b.forwardRef(function(t,n){const{children:r,container:i,disablePortal:o=!1}=t,[s,a]=b.useState(null),l=Ht(b.isValidElement(r)?r.ref:null,n);if(Fi(()=>{o||a(wL(i)||document.body)},[i,o]),Fi(()=>{if(s&&!o)return xd(n,s),()=>{xd(n,null)}},[n,s,o]),o){if(b.isValidElement(r)){const u={ref:l};return b.cloneElement(r,u)}return S.jsx(b.Fragment,{children:r})}return S.jsx(b.Fragment,{children:s&&yf.createPortal(r,s)})});function SL(e){const t=Tr(e);return t.body===e?Di(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function nl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function aw(e){return parseInt(Di(e).getComputedStyle(e).paddingRight,10)||0}function CL(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function lw(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,s=>{const a=o.indexOf(s)===-1,l=!CL(s);a&&l&&nl(s,i)})}function fh(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function EL(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(SL(r)){const s=aA(Tr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${aw(r)+s}px`;const a=Tr(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${aw(l)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Tr(r).body;else{const s=r.parentElement,a=Di(r);o=(s==null?void 0:s.nodeName)==="HTML"&&a.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:o.style.overflow,property:"overflow",el:o},{value:o.style.overflowX,property:"overflow-x",el:o},{value:o.style.overflowY,property:"overflow-y",el:o}),o.style.overflow="hidden"}return()=>{n.forEach(({value:o,el:s,property:a})=>{o?s.style.setProperty(a,o):s.style.removeProperty(a)})}}function PL(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class TL{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&nl(t.modalRef,!1);const i=PL(n);lw(n,t.mount,t.modalRef,i,!0);const o=fh(this.containers,s=>s.container===n);return o!==-1?(this.containers[o].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=fh(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=EL(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=fh(this.containers,s=>s.modals.indexOf(t)!==-1),o=this.containers[i];if(o.modals.splice(o.modals.indexOf(t),1),this.modals.splice(r,1),o.modals.length===0)o.restore&&o.restore(),t.modalRef&&nl(t.modalRef,n),lw(o.container,t.mount,t.modalRef,o.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=o.modals[o.modals.length-1];s.modalRef&&nl(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function kL(e){return typeof e=="function"?e():e}function ML(e){return e?e.props.hasOwnProperty("in"):!1}const _L=new TL;function RL(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=_L,closeAfterTransition:o=!1,onTransitionEnter:s,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,f=b.useRef({}),p=b.useRef(null),h=b.useRef(null),m=Ht(h,d),[x,g]=b.useState(!c),y=ML(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const w=()=>Tr(p.current),C=()=>(f.current.modalRef=h.current,f.current.mount=p.current,f.current),E=()=>{i.mount(C(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},T=ao(()=>{const N=kL(t)||w().body;i.add(C(),N),h.current&&E()}),P=b.useCallback(()=>i.isTopModal(C()),[i]),k=ao(N=>{p.current=N,N&&(c&&P()?E():h.current&&nl(h.current,v))}),M=b.useCallback(()=>{i.remove(C(),v)},[v,i]);b.useEffect(()=>()=>{M()},[M]),b.useEffect(()=>{c?T():(!y||!o)&&M()},[c,M,y,o,T]);const A=N=>H=>{var O;(O=N.onKeyDown)==null||O.call(N,H),!(H.key!=="Escape"||H.which===229||!P())&&(n||(H.stopPropagation(),u&&u(H,"escapeKeyDown")))},I=N=>H=>{var O;(O=N.onClick)==null||O.call(N,H),H.target===H.currentTarget&&u&&u(H,"backdropClick")};return{getRootProps:(N={})=>{const H=MT(e);delete H.onTransitionEnter,delete H.onTransitionExited;const O=R({},H,N);return R({role:"presentation"},O,{onKeyDown:A(O),ref:m})},getBackdropProps:(N={})=>{const H=N;return R({"aria-hidden":!0},H,{onClick:I(H),open:c})},getTransitionProps:()=>{const N=()=>{g(!1),s&&s()},H=()=>{g(!0),a&&a(),o&&M()};return{onEnter:eg(N,l==null?void 0:l.props.onEnter),onExited:eg(H,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:k,isTopModal:P,exited:x,hasTransition:y}}const OL=["onChange","maxRows","minRows","style","value"];function sc(e){return parseInt(e,10)||0}const AL={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function IL(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const $L=b.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:a}=t,l=se(t,OL),{current:u}=b.useRef(a!=null),c=b.useRef(null),d=Ht(n,c),f=b.useRef(null),p=b.useCallback(()=>{const x=c.current,y=Di(x).getComputedStyle(x);if(y.width==="0px")return{outerHeightStyle:0,overflowing:!1};const v=f.current;v.style.width=y.width,v.value=x.value||t.placeholder||"x",v.value.slice(-1)===` +`&&(v.value+=" ");const w=y.boxSizing,C=sc(y.paddingBottom)+sc(y.paddingTop),E=sc(y.borderBottomWidth)+sc(y.borderTopWidth),T=v.scrollHeight;v.value="x";const P=v.scrollHeight;let k=T;o&&(k=Math.max(Number(o)*P,k)),i&&(k=Math.min(Number(i)*P,k)),k=Math.max(k,P);const M=k+(w==="border-box"?C+E:0),A=Math.abs(k-T)<=1;return{outerHeightStyle:M,overflowing:A}},[i,o,t.placeholder]),h=b.useCallback(()=>{const x=p();if(IL(x))return;const g=c.current;g.style.height=`${x.outerHeightStyle}px`,g.style.overflow=x.overflowing?"hidden":""},[p]);Fi(()=>{const x=()=>{h()};let g;const y=dv(x),v=c.current,w=Di(v);w.addEventListener("resize",y);let C;return typeof ResizeObserver<"u"&&(C=new ResizeObserver(x),C.observe(v)),()=>{y.clear(),cancelAnimationFrame(g),w.removeEventListener("resize",y),C&&C.disconnect()}},[p,h]),Fi(()=>{h()});const m=x=>{u||h(),r&&r(x)};return S.jsxs(b.Fragment,{children:[S.jsx("textarea",R({value:a,onChange:m,ref:d,rows:o,style:s},l)),S.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:R({},AL.shadow,s,{paddingTop:0,paddingBottom:0})})]})}),LL=qt(S.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function jL(e){return nt("MuiChip",e)}const DL=Qe("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),ye=DL,FL=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],NL=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:o,onDelete:s,clickable:a,variant:l}=e,u={root:["root",l,n&&"disabled",`size${Y(r)}`,`color${Y(i)}`,a&&"clickable",a&&`clickableColor${Y(i)}`,s&&"deletable",s&&`deletableColor${Y(i)}`,`${l}${Y(i)}`],label:["label",`label${Y(r)}`],avatar:["avatar",`avatar${Y(r)}`,`avatarColor${Y(i)}`],icon:["icon",`icon${Y(r)}`,`iconColor${Y(o)}`],deleteIcon:["deleteIcon",`deleteIcon${Y(r)}`,`deleteIconColor${Y(i)}`,`deleteIcon${Y(l)}Color${Y(i)}`]};return at(u,jL,t)},zL=ae("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:o,onDelete:s,size:a,variant:l}=n;return[{[`& .${ye.avatar}`]:t.avatar},{[`& .${ye.avatar}`]:t[`avatar${Y(a)}`]},{[`& .${ye.avatar}`]:t[`avatarColor${Y(r)}`]},{[`& .${ye.icon}`]:t.icon},{[`& .${ye.icon}`]:t[`icon${Y(a)}`]},{[`& .${ye.icon}`]:t[`iconColor${Y(i)}`]},{[`& .${ye.deleteIcon}`]:t.deleteIcon},{[`& .${ye.deleteIcon}`]:t[`deleteIcon${Y(a)}`]},{[`& .${ye.deleteIcon}`]:t[`deleteIconColor${Y(r)}`]},{[`& .${ye.deleteIcon}`]:t[`deleteIcon${Y(l)}Color${Y(r)}`]},t.root,t[`size${Y(a)}`],t[`color${Y(r)}`],o&&t.clickable,o&&r!=="default"&&t[`clickableColor${Y(r)})`],s&&t.deletable,s&&r!=="default"&&t[`deletableColor${Y(r)}`],t[l],t[`${l}${Y(r)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return R({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${ye.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ye.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${ye.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ye.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ye.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ye.icon}`]:R({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&R({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${ye.deleteIcon}`]:R({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:kt(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:kt(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:kt(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${ye.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:kt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${ye.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>R({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:kt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ye.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:kt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${ye.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>R({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${ye.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ye.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ye.avatar}`]:{marginLeft:4},[`& .${ye.avatarSmall}`]:{marginLeft:2},[`& .${ye.icon}`]:{marginLeft:4},[`& .${ye.iconSmall}`]:{marginLeft:2},[`& .${ye.deleteIcon}`]:{marginRight:5},[`& .${ye.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:kt(e.palette[t.color].main,.7)}`,[`&.${ye.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kt(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${ye.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:kt(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${ye.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:kt(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),VL=ae("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Y(r)}`]]}})(({ownerState:e})=>R({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function uw(e){return e.key==="Backspace"||e.key==="Delete"}const BL=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiChip"}),{avatar:i,className:o,clickable:s,color:a="default",component:l,deleteIcon:u,disabled:c=!1,icon:d,label:f,onClick:p,onDelete:h,onKeyDown:m,onKeyUp:x,size:g="medium",variant:y="filled",tabIndex:v,skipFocusWhenDisabled:w=!1}=r,C=se(r,FL),E=b.useRef(null),T=Ht(E,n),P=$=>{$.stopPropagation(),h&&h($)},k=$=>{$.currentTarget===$.target&&uw($)&&$.preventDefault(),m&&m($)},M=$=>{$.currentTarget===$.target&&(h&&uw($)?h($):$.key==="Escape"&&E.current&&E.current.blur()),x&&x($)},A=s!==!1&&p?!0:s,I=A||h?mg:l||"div",L=R({},r,{component:I,disabled:c,size:g,color:a,iconColor:b.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:A,variant:y}),D=NL(L),B=I===mg?R({component:l||"div",focusVisibleClassName:D.focusVisible},h&&{disableRipple:!0}):{};let N=null;h&&(N=u&&b.isValidElement(u)?b.cloneElement(u,{className:oe(u.props.className,D.deleteIcon),onClick:P}):S.jsx(LL,{className:oe(D.deleteIcon),onClick:P}));let H=null;i&&b.isValidElement(i)&&(H=b.cloneElement(i,{className:oe(D.avatar,i.props.className)}));let O=null;return d&&b.isValidElement(d)&&(O=b.cloneElement(d,{className:oe(D.icon,d.props.className)})),S.jsxs(zL,R({as:I,className:oe(D.root,o),disabled:A&&c?!0:void 0,onClick:p,onKeyDown:k,onKeyUp:M,ref:T,tabIndex:w&&c?-1:v,ownerState:L},B,C,{children:[H||O,S.jsx(VL,{className:oe(D.label),ownerState:L,children:f}),N]}))}),UL=BL;function OT({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const WL=b.createContext(void 0),AT=WL;function IT(){return b.useContext(AT)}function $T(e){return S.jsx(U4,R({},e,{defaultTheme:ep,themeId:Ro}))}function cw(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function HL(e,t=!1){return e&&(cw(e.value)&&e.value!==""||t&&cw(e.defaultValue)&&e.defaultValue!=="")}function GL(e){return nt("MuiInputBase",e)}const qL=Qe("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Pd=qL,KL=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],LT=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Y(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},jT=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},QL=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:s,formControl:a,fullWidth:l,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:p,type:h}=e,m={root:["root",`color${Y(n)}`,r&&"disabled",i&&"error",l&&"fullWidth",s&&"focused",a&&"formControl",f&&f!=="medium"&&`size${Y(f)}`,c&&"multiline",p&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",h==="search"&&"inputTypeSearch",c&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",p&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]};return at(m,GL,t)},DT=ae("div",{name:"MuiInputBase",slot:"Root",overridesResolver:LT})(({theme:e,ownerState:t})=>R({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Pd.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&R({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),FT=ae("input",{name:"MuiInputBase",slot:"Input",overridesResolver:jT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=R({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return R({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Pd.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${Pd.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),YL=S.jsx($T,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),XL=b.forwardRef(function(t,n){var r;const i=rt({props:t,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:s,autoFocus:a,className:l,components:u={},componentsProps:c={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:p,endAdornment:h,fullWidth:m=!1,id:x,inputComponent:g="input",inputProps:y={},inputRef:v,maxRows:w,minRows:C,multiline:E=!1,name:T,onBlur:P,onChange:k,onClick:M,onFocus:A,onKeyDown:I,onKeyUp:L,placeholder:D,readOnly:B,renderSuffix:N,rows:H,slotProps:O={},slots:$={},startAdornment:z,type:K="text",value:ne}=i,We=se(i,KL),de=y.value!=null?y.value:ne,{current:He}=b.useRef(de!=null),J=b.useRef(),U=b.useCallback(_e=>{},[]),le=Ht(J,v,y.ref,U),[ue,Pe]=b.useState(!1),re=IT(),xe=OT({props:i,muiFormControl:re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});xe.focused=re?re.focused:ue,b.useEffect(()=>{!re&&f&&ue&&(Pe(!1),P&&P())},[re,f,ue,P]);const Ze=re&&re.onFilled,Ct=re&&re.onEmpty,Kt=b.useCallback(_e=>{HL(_e)?Ze&&Ze():Ct&&Ct()},[Ze,Ct]);Fi(()=>{He&&Kt({value:de})},[de,Kt,He]);const lt=_e=>{if(xe.disabled){_e.stopPropagation();return}A&&A(_e),y.onFocus&&y.onFocus(_e),re&&re.onFocus?re.onFocus(_e):Pe(!0)},ut=_e=>{P&&P(_e),y.onBlur&&y.onBlur(_e),re&&re.onBlur?re.onBlur(_e):Pe(!1)},Qt=(_e,...ee)=>{if(!He){const Qi=_e.target||J.current;if(Qi==null)throw new Error(Ks(1));Kt({value:Qi.value})}y.onChange&&y.onChange(_e,...ee),k&&k(_e,...ee)};b.useEffect(()=>{Kt(J.current)},[]);const Vr=_e=>{J.current&&_e.currentTarget===_e.target&&J.current.focus(),M&&M(_e)};let An=g,gt=y;E&&An==="input"&&(H?gt=R({type:void 0,minRows:H,maxRows:H},gt):gt=R({type:void 0,maxRows:w,minRows:C},gt),An=$L);const ga=_e=>{Kt(_e.animationName==="mui-auto-fill-cancel"?J.current:{value:"x"})};b.useEffect(()=>{re&&re.setAdornedStart(!!z)},[re,z]);const In=R({},i,{color:xe.color||"primary",disabled:xe.disabled,endAdornment:h,error:xe.error,focused:xe.focused,formControl:re,fullWidth:m,hiddenLabel:xe.hiddenLabel,multiline:E,size:xe.size,startAdornment:z,type:K}),qn=QL(In),$n=$.root||u.Root||DT,qi=O.root||c.root||{},Ki=$.input||u.Input||FT;return gt=R({},gt,(r=O.input)!=null?r:c.input),S.jsxs(b.Fragment,{children:[!p&&YL,S.jsxs($n,R({},qi,!fg($n)&&{ownerState:R({},In,qi.ownerState)},{ref:n,onClick:Vr},We,{className:oe(qn.root,qi.className,l,B&&"MuiInputBase-readOnly"),children:[z,S.jsx(AT.Provider,{value:null,children:S.jsx(Ki,R({ownerState:In,"aria-invalid":xe.error,"aria-describedby":o,autoComplete:s,autoFocus:a,defaultValue:d,disabled:xe.disabled,id:x,onAnimationStart:ga,name:T,placeholder:D,readOnly:B,required:xe.required,rows:H,value:de,onKeyDown:I,onKeyUp:L,type:K},gt,!fg(Ki)&&{as:An,ownerState:R({},In,gt.ownerState)},{ref:le,className:oe(qn.input,gt.className,B&&"MuiInputBase-readOnly"),onBlur:ut,onChange:Qt,onFocus:lt}))}),h,N?N(R({},xe,{startAdornment:z})):null]}))]})}),ZL=XL;function JL(e){return nt("MuiOutlinedInput",e)}const ej=R({},Pd,Qe("MuiOutlinedInput",["root","notchedOutline","input"])),Ur=ej,tj=qt(S.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function nj(e){return nt("MuiAvatar",e)}Qe("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const rj=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],ij=CT(),oj=e=>{const{classes:t,variant:n,colorDefault:r}=e;return at({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},nj,t)},sj=ae("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:R({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:R({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),aj=ae("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),lj=ae(tj,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function uj({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,o]=b.useState(!1);return b.useEffect(()=>{if(!n&&!r)return;o(!1);let s=!0;const a=new Image;return a.onload=()=>{s&&o("loaded")},a.onerror=()=>{s&&o("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{s=!1}},[e,t,n,r]),i}const cj=b.forwardRef(function(t,n){const r=ij({props:t,name:"MuiAvatar"}),{alt:i,children:o,className:s,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:d,src:f,srcSet:p,variant:h="circular"}=r,m=se(r,rj);let x=null;const g=uj(R({},c,{src:f,srcSet:p})),y=f||p,v=y&&g!=="error",w=R({},r,{colorDefault:!v,component:a,variant:h}),C=oj(w),[E,T]=pg("img",{className:C.img,elementType:aj,externalForwardedProps:{slots:l,slotProps:{img:R({},c,u.img)}},additionalProps:{alt:i,src:f,srcSet:p,sizes:d},ownerState:w});return v?x=S.jsx(E,R({},T)):o||o===0?x=o:y&&i?x=i[0]:x=S.jsx(lj,{ownerState:w,className:C.fallback}),S.jsx(sj,R({as:a,ownerState:w,className:oe(C.root,s),ref:n},m,{children:x}))}),Td=cj,dj=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],fj={entering:{opacity:1},entered:{opacity:1}},pj=b.forwardRef(function(t,n){const r=Iv(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:s=!0,children:a,easing:l,in:u,onEnter:c,onEntered:d,onEntering:f,onExit:p,onExited:h,onExiting:m,style:x,timeout:g=i,TransitionComponent:y=PT}=t,v=se(t,dj),w=b.useRef(null),C=Ht(w,a.ref,n),E=D=>B=>{if(D){const N=w.current;B===void 0?D(N):D(N,B)}},T=E(f),P=E((D,B)=>{TT(D);const N=Ed({style:x,timeout:g,easing:l},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",N),D.style.transition=r.transitions.create("opacity",N),c&&c(D,B)}),k=E(d),M=E(m),A=E(D=>{const B=Ed({style:x,timeout:g,easing:l},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",B),D.style.transition=r.transitions.create("opacity",B),p&&p(D)}),I=E(h),L=D=>{o&&o(w.current,D)};return S.jsx(y,R({appear:s,in:u,nodeRef:w,onEnter:P,onEntered:k,onEntering:T,onExit:A,onExited:I,onExiting:M,addEndListener:L,timeout:g},v,{children:(D,B)=>b.cloneElement(a,R({style:R({opacity:0,visibility:D==="exited"&&!u?"hidden":void 0},fj[D],x,a.props.style),ref:C},B))}))}),hj=pj;function mj(e){return nt("MuiBackdrop",e)}Qe("MuiBackdrop",["root","invisible"]);const gj=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],vj=e=>{const{classes:t,invisible:n}=e;return at({root:["root",n&&"invisible"]},mj,t)},yj=ae("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>R({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),xj=b.forwardRef(function(t,n){var r,i,o;const s=rt({props:t,name:"MuiBackdrop"}),{children:a,className:l,component:u="div",components:c={},componentsProps:d={},invisible:f=!1,open:p,slotProps:h={},slots:m={},TransitionComponent:x=hj,transitionDuration:g}=s,y=se(s,gj),v=R({},s,{component:u,invisible:f}),w=vj(v),C=(r=h.root)!=null?r:d.root;return S.jsx(x,R({in:p,timeout:g},y,{children:S.jsx(yj,R({"aria-hidden":!0},C,{as:(i=(o=m.root)!=null?o:c.Root)!=null?i:u,className:oe(w.root,l,C==null?void 0:C.className),ownerState:R({},v,C==null?void 0:C.ownerState),classes:w,ref:n,children:a}))}))}),wj=xj,bj=Qe("MuiBox",["root"]),Sj=bj,Cj=Av(),Ej=H4({themeId:Ro,defaultTheme:Cj,defaultClassName:Sj.root,generateClassName:pv.generate}),Q=Ej;function Pj(e){return nt("MuiCard",e)}Qe("MuiCard",["root"]);const Tj=["className","raised"],kj=e=>{const{classes:t}=e;return at({root:["root"]},Pj,t)},Mj=ae(Fl,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),_j=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCard"}),{className:i,raised:o=!1}=r,s=se(r,Tj),a=R({},r,{raised:o}),l=kj(a);return S.jsx(Mj,R({className:oe(l.root,i),elevation:o?8:void 0,ref:n,ownerState:a},s))}),Rj=_j;function Oj(e){return nt("MuiCardMedia",e)}Qe("MuiCardMedia",["root","media","img"]);const Aj=["children","className","component","image","src","style"],Ij=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return at({root:["root",n&&"media",r&&"img"]},Oj,t)},$j=ae("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:i}=n;return[t.root,r&&t.media,i&&t.img]}})(({ownerState:e})=>R({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),Lj=["video","audio","picture","iframe","img"],jj=["picture","img"],Dj=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCardMedia"}),{children:i,className:o,component:s="div",image:a,src:l,style:u}=r,c=se(r,Aj),d=Lj.indexOf(s)!==-1,f=!d&&a?R({backgroundImage:`url("${a}")`},u):u,p=R({},r,{component:s,isMediaComponent:d,isImageComponent:jj.indexOf(s)!==-1}),h=Ij(p);return S.jsx($j,R({className:oe(h.root,o),as:s,role:!d&&a?"img":void 0,ref:n,style:f,ownerState:p,src:d?a||l:void 0},c,{children:i}))}),Fj=Dj;function Nj(e){return nt("MuiCircularProgress",e)}Qe("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const zj=["className","color","disableShrink","size","style","thickness","value","variant"];let np=e=>e,dw,fw,pw,hw;const Wr=44,Vj=aa(dw||(dw=np` 0% { transform: rotate(0deg); } @@ -167,7 +167,7 @@ Error generating stack: `+o.message+` 100% { transform: rotate(360deg); } -`)),Bj=aa(dw||(dw=np` +`)),Bj=aa(fw||(fw=np` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -182,11 +182,11 @@ Error generating stack: `+o.message+` stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } -`)),Uj=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,o={root:["root",n,`color${Y(r)}`],svg:["svg"],circle:["circle",`circle${Y(n)}`,i&&"circleDisableShrink"]};return at(o,Nj,t)},Wj=ae("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Y(n.color)}`]]}})(({ownerState:e,theme:t})=>R({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Zf(fw||(fw=np` +`)),Uj=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,o={root:["root",n,`color${Y(r)}`],svg:["svg"],circle:["circle",`circle${Y(n)}`,i&&"circleDisableShrink"]};return at(o,Nj,t)},Wj=ae("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Y(n.color)}`]]}})(({ownerState:e,theme:t})=>R({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Zf(pw||(pw=np` animation: ${0} 1.4s linear infinite; - `),Vj)),Hj=ae("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Gj=ae("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Y(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>R({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Zf(pw||(pw=np` + `),Vj)),Hj=ae("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Gj=ae("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Y(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>R({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&Zf(hw||(hw=np` animation: ${0} 1.4s ease-in-out infinite; - `),Bj)),qj=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:s=!1,size:a=40,style:l,thickness:u=3.6,value:c=0,variant:d="indeterminate"}=r,f=se(r,zj),p=R({},r,{color:o,disableShrink:s,size:a,thickness:u,value:c,variant:d}),h=Uj(p),m={},x={},g={};if(d==="determinate"){const y=2*Math.PI*((Wr-u)/2);m.strokeDasharray=y.toFixed(3),g["aria-valuenow"]=Math.round(c),m.strokeDashoffset=`${((100-c)/100*y).toFixed(3)}px`,x.transform="rotate(-90deg)"}return S.jsx(Wj,R({className:oe(h.root,i),style:R({width:a,height:a},x,l),ownerState:p,ref:n,role:"progressbar"},g,f,{children:S.jsx(Hj,{className:h.svg,ownerState:p,viewBox:`${Wr/2} ${Wr/2} ${Wr} ${Wr}`,children:S.jsx(Gj,{className:h.circle,style:m,ownerState:p,cx:Wr,cy:Wr,r:(Wr-u)/2,fill:"none",strokeWidth:u})})}))}),Kj=qj,Qj=(e,t)=>R({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Yj=e=>R({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Xj=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([s,a])=>{var l;r[e.getColorSchemeSelector(s).replace(/\s*&/,"")]={colorScheme:(l=a.palette)==null?void 0:l.mode}});let i=R({html:Qj(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:R({margin:0},Yj(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const o=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return o&&(i=[i,o]),i};function Zj(e){const t=rt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return S.jsxs(b.Fragment,{children:[S.jsx($T,{styles:i=>Xj(i,r)}),n]})}function Jj(e){return nt("MuiModal",e)}Qe("MuiModal",["root","hidden","backdrop"]);const eD=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],tD=e=>{const{open:t,exited:n,classes:r}=e;return at({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Jj,r)},nD=ae("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>R({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),rD=ae(wj,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),iD=b.forwardRef(function(t,n){var r,i,o,s,a,l;const u=rt({name:"MuiModal",props:t}),{BackdropComponent:c=rD,BackdropProps:d,className:f,closeAfterTransition:p=!1,children:h,container:m,component:x,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:C=!1,disablePortal:E=!1,disableRestoreFocus:T=!1,disableScrollLock:P=!1,hideBackdrop:k=!1,keepMounted:M=!1,onBackdropClick:A,open:I,slotProps:L,slots:D}=u,B=se(u,eD),N=R({},u,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:w,disableEscapeKeyDown:C,disablePortal:E,disableRestoreFocus:T,disableScrollLock:P,hideBackdrop:k,keepMounted:M}),{getRootProps:H,getBackdropProps:O,getTransitionProps:$,portalRef:z,isTopModal:K,exited:ne,hasTransition:We}=RL(R({},N,{rootRef:n})),de=R({},N,{exited:ne}),He=tD(de),J={};if(h.props.tabIndex===void 0&&(J.tabIndex="-1"),We){const{onEnter:Ze,onExited:Ct}=$();J.onEnter=Ze,J.onExited=Ct}const U=(r=(i=D==null?void 0:D.root)!=null?i:g.Root)!=null?r:nD,le=(o=(s=D==null?void 0:D.backdrop)!=null?s:g.Backdrop)!=null?o:c,ue=(a=L==null?void 0:L.root)!=null?a:y.root,Pe=(l=L==null?void 0:L.backdrop)!=null?l:y.backdrop,re=Xx({elementType:U,externalSlotProps:ue,externalForwardedProps:B,getSlotProps:H,additionalProps:{ref:n,as:x},ownerState:de,className:oe(f,ue==null?void 0:ue.className,He==null?void 0:He.root,!de.open&&de.exited&&(He==null?void 0:He.hidden))}),xe=Xx({elementType:le,externalSlotProps:Pe,additionalProps:d,getSlotProps:Ze=>O(R({},Ze,{onClick:Ct=>{A&&A(Ct),Ze!=null&&Ze.onClick&&Ze.onClick(Ct)}})),className:oe(Pe==null?void 0:Pe.className,d==null?void 0:d.className,He==null?void 0:He.backdrop),ownerState:de});return!M&&!I&&(!We||ne)?null:S.jsx(bL,{ref:z,container:m,disablePortal:E,children:S.jsxs(U,R({},re,{children:[!k&&c?S.jsx(le,R({},xe)):null,S.jsx(xL,{disableEnforceFocus:w,disableAutoFocus:v,disableRestoreFocus:T,isEnabled:K,open:I,children:b.cloneElement(h,J)})]}))})}),oD=iD;function sD(e){return nt("MuiDivider",e)}Qe("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const aD=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],lD=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:s,textAlign:a,variant:l}=e;return at({root:["root",t&&"absolute",l,o&&"light",s==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&s==="vertical"&&"withChildrenVertical",a==="right"&&s!=="vertical"&&"textAlignRight",a==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},sD,r)},uD=ae("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>R({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:kt(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>R({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>R({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>R({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>R({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),cD=ae("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>R({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),NT=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDivider"}),{absolute:i=!1,children:o,className:s,component:a=o?"div":"hr",flexItem:l=!1,light:u=!1,orientation:c="horizontal",role:d=a!=="hr"?"separator":void 0,textAlign:f="center",variant:p="fullWidth"}=r,h=se(r,aD),m=R({},r,{absolute:i,component:a,flexItem:l,light:u,orientation:c,role:d,textAlign:f,variant:p}),x=lD(m);return S.jsx(uD,R({as:a,className:oe(x.root,s),role:d,ref:n,ownerState:m},h,{children:o?S.jsx(cD,{className:x.wrapper,ownerState:m,children:o}):null}))});NT.muiSkipListHighlight=!0;const Lv=NT,dD=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function fD(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=Di(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const u=o.getComputedStyle(t);s=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const u=s.split("(")[1].split(")")[0].split(",");a=parseInt(u[4],10),l=parseInt(u[5],10)}return e==="left"?i?`translateX(${i.right+a-r.left}px)`:`translateX(${o.innerWidth+a-r.left}px)`:e==="right"?i?`translateX(-${r.right-i.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function pD(e){return typeof e=="function"?e():e}function ac(e,t,n){const r=pD(n),i=fD(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const hD=b.forwardRef(function(t,n){const r=Av(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:u,direction:c="down",easing:d=i,in:f,onEnter:p,onEntered:h,onEntering:m,onExit:x,onExited:g,onExiting:y,style:v,timeout:w=o,TransitionComponent:C=PT}=t,E=se(t,dD),T=b.useRef(null),P=Ht(l.ref,T,n),k=O=>$=>{O&&($===void 0?O(T.current):O(T.current,$))},M=k((O,$)=>{ac(c,O,u),TT(O),p&&p(O,$)}),A=k((O,$)=>{const z=Ed({timeout:w,style:v,easing:d},{mode:"enter"});O.style.webkitTransition=r.transitions.create("-webkit-transform",R({},z)),O.style.transition=r.transitions.create("transform",R({},z)),O.style.webkitTransform="none",O.style.transform="none",m&&m(O,$)}),I=k(h),L=k(y),D=k(O=>{const $=Ed({timeout:w,style:v,easing:d},{mode:"exit"});O.style.webkitTransition=r.transitions.create("-webkit-transform",$),O.style.transition=r.transitions.create("transform",$),ac(c,O,u),x&&x(O)}),B=k(O=>{O.style.webkitTransition="",O.style.transition="",g&&g(O)}),N=O=>{s&&s(T.current,O)},H=b.useCallback(()=>{T.current&&ac(c,T.current,u)},[c,u]);return b.useEffect(()=>{if(f||c==="down"||c==="right")return;const O=cv(()=>{T.current&&ac(c,T.current,u)}),$=Di(T.current);return $.addEventListener("resize",O),()=>{O.clear(),$.removeEventListener("resize",O)}},[c,f,u]),b.useEffect(()=>{f||H()},[f,H]),S.jsx(C,R({nodeRef:T,onEnter:M,onEntered:I,onEntering:A,onExit:D,onExited:B,onExiting:L,addEndListener:N,appear:a,in:f,timeout:w},E,{children:(O,$)=>b.cloneElement(l,R({ref:P,style:R({visibility:O==="exited"&&!f?"hidden":void 0},v,l.props.style)},$))}))}),mD=hD;function gD(e){return nt("MuiDrawer",e)}Qe("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const vD=["BackdropProps"],yD=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],zT=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},xD=e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Y(n)}`,r!=="temporary"&&`paperAnchorDocked${Y(n)}`]};return at(i,gD,t)},wD=ae(oD,{name:"MuiDrawer",slot:"Root",overridesResolver:zT})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),hw=ae("div",{shouldForwardProp:ku,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:zT})({flex:"0 0 auto"}),bD=ae(Fl,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Y(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${Y(n.anchor)}`]]}})(({theme:e,ownerState:t})=>R({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),VT={left:"right",right:"left",top:"down",bottom:"up"};function SD(e){return["left","right"].indexOf(e)!==-1}function CD({direction:e},t){return e==="rtl"&&SD(t)?VT[t]:t}const ED=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDrawer"}),i=Av(),o=n$(),s={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:a="left",BackdropProps:l,children:u,className:c,elevation:d=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:p}={},onClose:h,open:m=!1,PaperProps:x={},SlideProps:g,TransitionComponent:y=mD,transitionDuration:v=s,variant:w="temporary"}=r,C=se(r.ModalProps,vD),E=se(r,yD),T=b.useRef(!1);b.useEffect(()=>{T.current=!0},[]);const P=CD({direction:o?"rtl":"ltr"},a),M=R({},r,{anchor:a,elevation:d,open:m,variant:w},E),A=xD(M),I=S.jsx(bD,R({elevation:w==="temporary"?d:0,square:!0},x,{className:oe(A.paper,x.className),ownerState:M,children:u}));if(w==="permanent")return S.jsx(hw,R({className:oe(A.root,A.docked,c),ownerState:M,ref:n},E,{children:I}));const L=S.jsx(y,R({in:m,direction:VT[P],timeout:v,appear:T.current},g,{children:I}));return w==="persistent"?S.jsx(hw,R({className:oe(A.root,A.docked,c),ownerState:M,ref:n},E,{children:L})):S.jsx(wD,R({BackdropProps:R({},l,p,{transitionDuration:v}),className:oe(A.root,A.modal,c),open:m,ownerState:M,onClose:h,hideBackdrop:f,ref:n},E,C,{children:L}))}),PD=ED;function TD(e){return nt("MuiLink",e)}const kD=Qe("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),MD=kD,BT={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},_D=e=>BT[e]||e,RD=({theme:e,ownerState:t})=>{const n=_D(t.color),r=Ks(e,`palette.${n}`,!1)||t.color,i=Ks(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:kt(r,.4)},OD=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],AD=e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root",`underline${Y(i)}`,n==="button"&&"button",r&&"focusVisible"]};return at(o,TD,t)},ID=ae(ce,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Y(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>R({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&R({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:RD({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${MD.focusVisible}`]:{outline:"auto"}})),$D=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiLink"}),{className:i,color:o="primary",component:s="a",onBlur:a,onFocus:l,TypographyClasses:u,underline:c="always",variant:d="inherit",sx:f}=r,p=se(r,OD),{isFocusVisibleRef:h,onBlur:m,onFocus:x,ref:g}=dv(),[y,v]=b.useState(!1),w=Ht(n,g),C=k=>{m(k),h.current===!1&&v(!1),a&&a(k)},E=k=>{x(k),h.current===!0&&v(!0),l&&l(k)},T=R({},r,{color:o,component:s,focusVisible:y,underline:c,variant:d}),P=AD(T);return S.jsx(ID,R({color:o,className:oe(P.root,i),classes:u,component:s,onBlur:C,onFocus:E,ref:w,ownerState:T,variant:d,sx:[...Object.keys(BT).includes(o)?[]:[{color:o}],...Array.isArray(f)?f:[f]]},p))}),zl=$D;var mw;const LD=["children","classes","className","label","notched"],jD=ae("fieldset",{shouldForwardProp:ku})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),DD=ae("legend",{shouldForwardProp:ku})(({ownerState:e,theme:t})=>R({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&R({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function FD(e){const{className:t,label:n,notched:r}=e,i=se(e,LD),o=n!=null&&n!=="",s=R({},e,{notched:r,withLabel:o});return S.jsx(jD,R({"aria-hidden":!0,className:t,ownerState:s},i,{children:S.jsx(DD,{ownerState:s,children:o?S.jsx("span",{children:n}):mw||(mw=S.jsx("span",{className:"notranslate",children:"​"}))})}))}const ND=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],zD=e=>{const{classes:t}=e,r=at({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},JL,t);return R({},t,r)},VD=ae(DT,{shouldForwardProp:e=>ku(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:LT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return R({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ur.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Ur.focused} .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Ur.error} .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ur.disabled} .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&R({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),BD=ae(FD,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),UD=ae(FT,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:jT})(({theme:e,ownerState:t})=>R({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),UT=b.forwardRef(function(t,n){var r,i,o,s,a;const l=rt({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:d="input",label:f,multiline:p=!1,notched:h,slots:m={},type:x="text"}=l,g=se(l,ND),y=zD(l),v=IT(),w=OT({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=R({},l,{color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:v,fullWidth:c,hiddenLabel:w.hiddenLabel,multiline:p,size:w.size,type:x}),E=(r=(i=m.root)!=null?i:u.Root)!=null?r:VD,T=(o=(s=m.input)!=null?s:u.Input)!=null?o:UD;return S.jsx(ZL,R({slots:{root:E,input:T},renderSuffix:P=>S.jsx(BD,{ownerState:C,className:y.notchedOutline,label:f!=null&&f!==""&&w.required?a||(a=S.jsxs(b.Fragment,{children:[f," ","*"]})):f,notched:typeof h<"u"?h:!!(P.startAdornment||P.filled||P.focused)}),fullWidth:c,inputComponent:d,multiline:p,ref:n,type:x},g,{classes:R({},y,{notchedOutline:null})}))});UT.muiName="Input";const WD=UT;function HD(e){return nt("MuiToolbar",e)}Qe("MuiToolbar",["root","gutters","regular","dense"]);const GD=["className","component","disableGutters","variant"],qD=e=>{const{classes:t,disableGutters:n,variant:r}=e;return at({root:["root",!n&&"gutters",r]},HD,t)},KD=ae("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>R({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),QD=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:a="regular"}=r,l=se(r,GD),u=R({},r,{component:o,disableGutters:s,variant:a}),c=qD(u);return S.jsx(KD,R({as:o,className:oe(c.root,i),ref:n,ownerState:u},l))}),YD=QD;function WT(e){const[t,n]=W.useState(!1),r=()=>{window.localStorage.setItem("events-visible","false"),n(!1)};return W.useEffect(()=>{window.localStorage.getItem("events-visible")==null&&window.localStorage.setItem("events-visible","true");const i=window.localStorage.getItem("events-visible");n(i!=null?JSON.parse(i):!0)},[]),S.jsxs(Q,{sx:{background:"#16F4D0",color:"#000000",fontWeight:600,display:t?"flex":"none",justifyContent:"center",alignItems:"center",height:"30px"},children:[S.jsx(Q,{sx:{flexGrow:1,display:"flex",justifyContent:"center"},children:e.events.map(i=>S.jsx(zl,{underline:"hover",href:i.href,color:"inherit",children:i.title},`${i.title}::${i.href}`))}),S.jsx(Nl,{"data-testid":"events-close-button",onClick:r,sx:{color:"inherit",width:"25px",height:"25px",marginRight:"5px"},children:S.jsx(yT,{sx:{color:"inherit"}})})]})}var jv={},ph={};const XD=Fr(D4);var gw;function ZD(){return gw||(gw=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=XD}(ph)),ph}var JD=kv;Object.defineProperty(jv,"__esModule",{value:!0});var HT=jv.default=void 0,eF=JD(ZD()),tF=S;HT=jv.default=(0,eF.default)((0,tF.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");function kd(e){const[t,n]=W.useState(!1),r=av();return S.jsx(Q,{sx:{...e.sx,width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:S.jsxs(YD,{sx:{background:e.translucent?"rgba(67,86,127, 0.5)":"transparent",backdropFilter:e.translucent?"blur(20px)":"unset",margin:"5px 0px",borderRadius:"41px",paddingLeft:"40px !important",paddingRight:"40px !important",boxShadow:e.translucent?3:0,width:e.fullWidth?"100%":"90%",height:"80px",userSelect:"none"},children:[S.jsxs(Q,{onClick:()=>{r("/")},sx:{height:"65%",display:"flex",flexGrow:1,alignItems:"center",cursor:"pointer"},children:[S.jsx("img",{alt:"adc-logo",src:"/logo256.png",style:{maxHeight:"100%",margin:"10px 0px 10px 0px"}}),S.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:"bold",marginLeft:"15px"},children:"App Dev Club"})]}),S.jsx(Q,{sx:{display:{xs:"none",md:"flex"}},children:e.links.map(i=>S.jsx(zl,{href:i.anchor,underline:"hover",sx:{fontSize:"1rem",fontWeight:600,marginLeft:"15px",marginRight:"10px",color:"inherit",":hover":{cursor:"pointer"}},children:i.title},`${i.title}::${i.anchor}`))}),S.jsx(Nl,{onClick:()=>{n(!0)},sx:{color:"inherit",display:{xs:"flex",md:"none"}},children:S.jsx(HT,{sx:{fontSize:"1.8rem"}})}),S.jsxs(PD,{anchor:"right",open:t,onClose:()=>{n(!1)},PaperProps:{sx:{width:"180px",bgcolor:"background.default",padding:"25px",backgroundImage:"unset"}},children:[S.jsx(Nl,{onClick:()=>{n(!1)},sx:{alignSelf:"end",maxWidth:"40px",marginBottom:"10px"},children:S.jsx(yT,{})}),e.links.map((i,o)=>S.jsx(zl,{onClick:()=>{n(!1)},href:i.anchor,underline:"hover",color:"inherit",sx:{fontSize:"1.3rem",marginTop:"7px",marginBottom:"7px"},children:i.title},o))]})]})})}var GT={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},vw=W.createContext&&W.createContext(GT),nF=["attr","size","title"];function rF(e,t){if(e==null)return{};var n=iF(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function iF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Md(){return Md=Object.assign?Object.assign.bind():function(e){for(var t=1;tW.createElement(t.tag,_d({key:n},t.attr),qT(t.child)))}function lF(e){return t=>W.createElement(uF,Md({attr:_d({},e.attr)},t),qT(e.child))}function uF(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=rF(e,nF),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),W.createElement("svg",Md({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:_d(_d({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&W.createElement("title",null,o),e.children)};return vw!==void 0?W.createElement(vw.Consumer,null,n=>t(n)):t(GT)}function cF(e){return lF({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9.593 10.971c-.542 0-.969.475-.969 1.055 0 .578.437 1.055.969 1.055.541 0 .968-.477.968-1.055.011-.581-.427-1.055-.968-1.055zm3.468 0c-.542 0-.969.475-.969 1.055 0 .578.437 1.055.969 1.055.541 0 .968-.477.968-1.055-.001-.581-.427-1.055-.968-1.055z"},child:[]},{tag:"path",attr:{d:"M17.678 3H4.947A1.952 1.952 0 0 0 3 4.957v12.844c0 1.083.874 1.957 1.947 1.957H15.72l-.505-1.759 1.217 1.131 1.149 1.064L19.625 22V4.957A1.952 1.952 0 0 0 17.678 3zM14.01 15.407s-.342-.408-.626-.771c1.244-.352 1.719-1.13 1.719-1.13-.39.256-.76.438-1.093.562a6.679 6.679 0 0 1-3.838.398 7.944 7.944 0 0 1-1.396-.41 5.402 5.402 0 0 1-.693-.321c-.029-.021-.057-.029-.085-.048a.117.117 0 0 1-.039-.03c-.171-.094-.266-.16-.266-.16s.456.76 1.663 1.121c-.285.36-.637.789-.637.789-2.099-.067-2.896-1.444-2.896-1.444 0-3.059 1.368-5.538 1.368-5.538 1.368-1.027 2.669-.998 2.669-.998l.095.114c-1.71.495-2.499 1.245-2.499 1.245s.21-.114.561-.275c1.016-.446 1.823-.57 2.156-.599.057-.009.105-.019.162-.019a7.756 7.756 0 0 1 4.778.893s-.751-.712-2.366-1.206l.133-.152s1.302-.029 2.669.998c0 0 1.368 2.479 1.368 5.538 0-.001-.807 1.376-2.907 1.443z"},child:[]}]})(e)}function KT(e){let t=[{icon:S.jsx(z4,{}),redirect:"https://www.instagram.com/appdev_umd/"},{icon:S.jsx(V4,{}),redirect:"https://www.linkedin.com/company/app-development-club/"},{icon:S.jsx(N4,{}),redirect:"https://github.com/appdevumd"},{icon:S.jsx(F4,{}),redirect:"mailto:umdappdev@gmail.com"},{icon:S.jsx(cF,{}),redirect:"https://discord.com/invite/scSeVbTT7G"}];return S.jsx(Q,{sx:{display:"flex",gap:"10px",flexGrow:1,...e==null?void 0:e.sx},children:t.map(n=>W.cloneElement(n.icon,{onClick:()=>{var r;(r=window.open(n.redirect))==null||r.focus()},style:{cursor:"pointer",maxHeight:"24px",fontSize:e.fontSize??"22px",zIndex:2}}))})}function QT(e){const n=new Date().getFullYear();return S.jsxs(Q,{sx:{...e.sx,display:"flex",width:"100%",height:"75px",padding:"30px",alignItems:"center",justifyContent:"center"},children:[S.jsxs(ce,{style:{fontSize:"18px",flexGrow:1},children:["© ",n," App Dev Club"]}),S.jsx("img",{src:"../logo256.png",style:{maxHeight:"50px"}}),S.jsx(KT,{sx:{justifyContent:"end"}})]})}const xw=[{title:"Home",anchor:"/#maindiv-001"},{title:"Projects",anchor:"/#subdiv-002"},{title:"Our Team",anchor:"/#team"},{title:"Sponsors",anchor:"/#sponsors"},{title:"Contact Us",anchor:"#contact"}];function dF(){const[e,t]=W.useState(-120),[n]=W.useState([{title:"General Body Meeting, 3/25 8pm @ Iribe"}]);return W.useEffect(()=>{function r(){const i=window.scrollY;t(Math.min(i-120,0))}return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}},[]),S.jsxs(S.Fragment,{children:[n.length<1?S.jsx(S.Fragment,{}):S.jsx(WT,{events:n}),S.jsx(kd,{links:xw,fullWidth:!0,sx:{backgroundColor:"transparent"}}),S.jsx(kd,{links:xw,translucent:!0,sx:{zIndex:2,marginTop:"25px",position:"fixed",top:`${e}px`,left:"0px"}}),S.jsx(_5,{}),S.jsx(Q,{sx:{position:"relative"},children:S.jsx(QT,{})})]})}const fF=Ov({palette:{mode:"dark",text:{primary:"#FFFFFF"},background:{default:"#14213D"}},typography:{fontFamily:"Inter, sans-serif"}}),YT={baseTheme:fF};function gg(){return gg=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"&&typeof le>"u"){var Pe=ue?p:f;U=Pe.left+Pe.width/2,le=Pe.top+Pe.height/2}var re=0,xe=0,Ze=f,Ct=Ze.top,Kt=Ze.left,lt=Ze.width,ut=Ze.height,Qt;if(ue){var In=p,qn=In.top,$n=In.left,qi=In.width,Ki=In.height,_e=Kt-$n,ee=Ct-qn,Qi=lt/2+_e,Ap=ut/2+ee,Fu=U-$n,n1=le-qn;xe=l.rotateYMax*(Fu-Qi)/(qi-lt/2)*-1,re=l.rotateXMax*(n1-Ap)/(Ki-ut/2),Qt=U-Kt+"px "+(le-Ct)+"px"}else{var Vr=lt/2,An=ut/2,gt=U-Kt,ga=le-Ct;xe=l.rotateYMax*(gt-Vr)/(lt/2)*-1,re=l.rotateXMax*(ga-An)/(ut/2)}re=Math.min(Math.max(-re,-l.rotateXMax),l.rotateXMax),l.rotateXInvert&&(re=-re),xe=Math.min(Math.max(-xe,-l.rotateYMax),l.rotateYMax),l.rotateYInvert&&(xe=-xe);var va=re/l.rotateXMax*100,ya=xe/l.rotateYMax*100,c_=(ue?ya/100*l.stretchX:0)*(l.rotateYInvert?-1:1),d_=(ue?va/100*l.stretchY:0)*(l.rotateXInvert?-1:1),f_=ue?Math.max(Math.abs(va),Math.abs(ya))/100*l.stretchZ:0;P(u,"translate3d("+c_+"%, "+-d_+"%, "+-f_+"px) rotateX("+re+"deg) rotateY("+xe+"deg)"),Qt&&l.commonOrigin&&M(u,Qt),m&&(E(m,l.duration+"ms"),T(m,"ease-out"),P(m,"translate3d("+-ya*.25+"%, "+va*.25+"%, 0)"),k(m,Math.max(Math.abs(va),Math.abs(ya))/100)),B({rotateXPercentage:va,rotateYPercentage:ya,duration:l.duration+"ms",easeOut:!0}),typeof l.onRotate=="function"&&l.onRotate(re,xe)},H=function(){v.push(function(){return n.classList.add("atropos-active")}),E(u,l.duration+"ms"),T(u,"ease-out"),P(c,"translate3d(0,0, "+l.activeOffset+"px)"),E(c,l.duration+"ms"),T(c,"ease-out"),h&&(E(h,l.duration+"ms"),T(h,"ease-out")),a.isActive=!0},O=function(U){if(x=void 0,!(U.type==="pointerdown"&&U.pointerType==="mouse")&&!(U.type==="pointerenter"&&U.pointerType!=="mouse")){if(U.type==="pointerdown"&&U.preventDefault(),g=U.clientX,y=U.clientY,l.alwaysActive){f=void 0,p=void 0;return}H(),typeof l.onEnter=="function"&&l.onEnter()}},$=function(U){x===!1&&U.cancelable&&U.preventDefault()},z=function(U){if(!(!l.rotate||!a.isActive)){if(U.pointerType!=="mouse"){if(!l.rotateTouch)return;U.preventDefault()}var le=U.clientX,ue=U.clientY,Pe=le-g,re=ue-y;if(typeof l.rotateTouch=="string"&&(Pe!==0||re!==0)&&typeof x>"u"){if(Pe*Pe+re*re>=25){var xe=Math.atan2(Math.abs(re),Math.abs(Pe))*180/Math.PI;x=l.rotateTouch==="scroll-y"?xe>45:90-xe>45}x===!1&&(n.classList.add("atropos-rotate-touch"),U.cancelable&&U.preventDefault())}U.pointerType!=="mouse"&&x||N(le,ue)}},K=function(U){if(f=void 0,p=void 0,!!a.isActive&&!(U&&U.type==="pointerup"&&U.pointerType==="mouse")&&!(U&&U.type==="pointerleave"&&U.pointerType!=="mouse")){if(typeof l.rotateTouch=="string"&&x&&n.classList.remove("atropos-rotate-touch"),l.alwaysActive){N(),typeof l.onRotate=="function"&&l.onRotate(0,0),typeof l.onLeave=="function"&&l.onLeave();return}v.push(function(){return n.classList.remove("atropos-active")}),E(c,l.duration+"ms"),T(c,""),P(c,"translate3d(0,0, 0px)"),h&&(E(h,l.duration+"ms"),T(h,"")),m&&(E(m,l.duration+"ms"),T(m,""),P(m,"translate3d(0, 0, 0)"),k(m,0)),E(u,l.duration+"ms"),T(u,""),P(u,"translate3d(0,0,0) rotateX(0deg) rotateY(0deg)"),B({duration:l.duration+"ms"}),a.isActive=!1,typeof l.onRotate=="function"&&l.onRotate(0,0),typeof l.onLeave=="function"&&l.onLeave()}},ne=function(U){var le=U.target;!r.contains(le)&&le!==r&&a.isActive&&K()},We=function(){typeof n=="string"&&(n=Hr(document,n)),n&&(n.__atropos__||(typeof r<"u"?typeof r=="string"&&(r=Hr(document,r)):r=n,s=o?n.parentNode.host:n,Object.assign(a,{el:n}),u=Hr(n,".atropos-rotate"),c=Hr(n,".atropos-scale"),d=Hr(n,".atropos-inner"),n.__atropos__=a))},de=function(){We(),!(!n||!r)&&(l.shadow&&L(),l.highlight&&D(),l.rotateTouch&&(typeof l.rotateTouch=="string"?n.classList.add("atropos-rotate-touch-"+l.rotateTouch):n.classList.add("atropos-rotate-touch")),Hr(s,"[data-atropos-opacity]")&&B({opacityOnly:!0}),A(document,"click",ne),A(r,"pointerdown",O),A(r,"pointerenter",O),A(r,"pointermove",z),A(r,"touchmove",$),A(r,"pointerleave",K),A(r,"pointerup",K),A(r,"lostpointercapture",K),l.alwaysActive&&(H(),N()))},He=function(){a.destroyed=!0,cancelAnimationFrame(w),I(document,"click",ne),I(r,"pointerdown",O),I(r,"pointerenter",O),I(r,"pointermove",z),I(r,"touchmove",$),I(r,"pointerleave",K),I(r,"pointerup",K),I(r,"lostpointercapture",K),delete n.__atropos__};return a.destroy=He,de(),a}var vF=["component","children","rootChildren","scaleChildren","rotateChildren","className","scaleClassName","rotateClassName","innerClassName"];function Rd(){return Rd=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var XT=["eventsEl","alwaysActive","activeOffset","shadowOffset","shadowScale","duration","rotate","rotateTouch","rotateXMax","rotateYMax","rotateXInvert","rotateYInvert","stretchX","stretchY","stretchZ","commonOrigin","shadow","highlight","onEnter","onLeave","onRotate"],xF=function(t){var n={};return Object.keys(t).forEach(function(r){XT.includes(r)||(n[r]=t[r])}),n},wF=function(t){var n={};return Object.keys(t).forEach(function(r){XT.includes(r)&&(n[r]=t[r])}),n};function bF(e){var t=e.component,n=t===void 0?"div":t,r=e.children,i=e.rootChildren,o=e.scaleChildren,s=e.rotateChildren,a=e.className,l=a===void 0?"":a,u=e.scaleClassName,c=u===void 0?"":u,d=e.rotateClassName,f=d===void 0?"":d,p=e.innerClassName,h=p===void 0?"":p,m=yF(e,vF),x=b.useRef(null),g=b.useRef(null),y=n,v=function(){for(var T=arguments.length,P=new Array(T),k=0;k"u")&&W.createElement("span",{className:"atropos-highlight"})),s,(e.shadow||typeof e.shadow>"u")&&W.createElement("span",{className:"atropos-shadow"})),o),i)}function SF(e){let t=0,n;for(n=0;n>n*8&255;r+=`00${i.toString(16)}`.slice(-2)}return r}function ZT(e){return{sx:{bgcolor:SF(e)},children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`}}var JT={};function CF(e){if(!e||typeof window>"u")return;const t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}Object.defineProperty(JT,"__esModule",{value:!0});var Ne=b;function EF(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Gr=EF(Ne);CF(`.rfm-marquee-container { + `),Bj)),qj=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiCircularProgress"}),{className:i,color:o="primary",disableShrink:s=!1,size:a=40,style:l,thickness:u=3.6,value:c=0,variant:d="indeterminate"}=r,f=se(r,zj),p=R({},r,{color:o,disableShrink:s,size:a,thickness:u,value:c,variant:d}),h=Uj(p),m={},x={},g={};if(d==="determinate"){const y=2*Math.PI*((Wr-u)/2);m.strokeDasharray=y.toFixed(3),g["aria-valuenow"]=Math.round(c),m.strokeDashoffset=`${((100-c)/100*y).toFixed(3)}px`,x.transform="rotate(-90deg)"}return S.jsx(Wj,R({className:oe(h.root,i),style:R({width:a,height:a},x,l),ownerState:p,ref:n,role:"progressbar"},g,f,{children:S.jsx(Hj,{className:h.svg,ownerState:p,viewBox:`${Wr/2} ${Wr/2} ${Wr} ${Wr}`,children:S.jsx(Gj,{className:h.circle,style:m,ownerState:p,cx:Wr,cy:Wr,r:(Wr-u)/2,fill:"none",strokeWidth:u})})}))}),Kj=qj,Qj=(e,t)=>R({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Yj=e=>R({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Xj=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([s,a])=>{var l;r[e.getColorSchemeSelector(s).replace(/\s*&/,"")]={colorScheme:(l=a.palette)==null?void 0:l.mode}});let i=R({html:Qj(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:R({margin:0},Yj(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const o=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return o&&(i=[i,o]),i};function Zj(e){const t=rt({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return S.jsxs(b.Fragment,{children:[S.jsx($T,{styles:i=>Xj(i,r)}),n]})}function Jj(e){return nt("MuiModal",e)}Qe("MuiModal",["root","hidden","backdrop"]);const eD=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],tD=e=>{const{open:t,exited:n,classes:r}=e;return at({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Jj,r)},nD=ae("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>R({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),rD=ae(wj,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),iD=b.forwardRef(function(t,n){var r,i,o,s,a,l;const u=rt({name:"MuiModal",props:t}),{BackdropComponent:c=rD,BackdropProps:d,className:f,closeAfterTransition:p=!1,children:h,container:m,component:x,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:C=!1,disablePortal:E=!1,disableRestoreFocus:T=!1,disableScrollLock:P=!1,hideBackdrop:k=!1,keepMounted:M=!1,onBackdropClick:A,open:I,slotProps:L,slots:D}=u,B=se(u,eD),N=R({},u,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:w,disableEscapeKeyDown:C,disablePortal:E,disableRestoreFocus:T,disableScrollLock:P,hideBackdrop:k,keepMounted:M}),{getRootProps:H,getBackdropProps:O,getTransitionProps:$,portalRef:z,isTopModal:K,exited:ne,hasTransition:We}=RL(R({},N,{rootRef:n})),de=R({},N,{exited:ne}),He=tD(de),J={};if(h.props.tabIndex===void 0&&(J.tabIndex="-1"),We){const{onEnter:Ze,onExited:Ct}=$();J.onEnter=Ze,J.onExited=Ct}const U=(r=(i=D==null?void 0:D.root)!=null?i:g.Root)!=null?r:nD,le=(o=(s=D==null?void 0:D.backdrop)!=null?s:g.Backdrop)!=null?o:c,ue=(a=L==null?void 0:L.root)!=null?a:y.root,Pe=(l=L==null?void 0:L.backdrop)!=null?l:y.backdrop,re=Zx({elementType:U,externalSlotProps:ue,externalForwardedProps:B,getSlotProps:H,additionalProps:{ref:n,as:x},ownerState:de,className:oe(f,ue==null?void 0:ue.className,He==null?void 0:He.root,!de.open&&de.exited&&(He==null?void 0:He.hidden))}),xe=Zx({elementType:le,externalSlotProps:Pe,additionalProps:d,getSlotProps:Ze=>O(R({},Ze,{onClick:Ct=>{A&&A(Ct),Ze!=null&&Ze.onClick&&Ze.onClick(Ct)}})),className:oe(Pe==null?void 0:Pe.className,d==null?void 0:d.className,He==null?void 0:He.backdrop),ownerState:de});return!M&&!I&&(!We||ne)?null:S.jsx(bL,{ref:z,container:m,disablePortal:E,children:S.jsxs(U,R({},re,{children:[!k&&c?S.jsx(le,R({},xe)):null,S.jsx(xL,{disableEnforceFocus:w,disableAutoFocus:v,disableRestoreFocus:T,isEnabled:K,open:I,children:b.cloneElement(h,J)})]}))})}),oD=iD;function sD(e){return nt("MuiDivider",e)}Qe("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const aD=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],lD=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:o,orientation:s,textAlign:a,variant:l}=e;return at({root:["root",t&&"absolute",l,o&&"light",s==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&s==="vertical"&&"withChildrenVertical",a==="right"&&s!=="vertical"&&"textAlignRight",a==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},sD,r)},uD=ae("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>R({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:kt(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>R({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>R({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>R({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>R({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),cD=ae("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>R({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),NT=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDivider"}),{absolute:i=!1,children:o,className:s,component:a=o?"div":"hr",flexItem:l=!1,light:u=!1,orientation:c="horizontal",role:d=a!=="hr"?"separator":void 0,textAlign:f="center",variant:p="fullWidth"}=r,h=se(r,aD),m=R({},r,{absolute:i,component:a,flexItem:l,light:u,orientation:c,role:d,textAlign:f,variant:p}),x=lD(m);return S.jsx(uD,R({as:a,className:oe(x.root,s),role:d,ref:n,ownerState:m},h,{children:o?S.jsx(cD,{className:x.wrapper,ownerState:m,children:o}):null}))});NT.muiSkipListHighlight=!0;const jv=NT,dD=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function fD(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=Di(t);let s;if(t.fakeTransform)s=t.fakeTransform;else{const u=o.getComputedStyle(t);s=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let a=0,l=0;if(s&&s!=="none"&&typeof s=="string"){const u=s.split("(")[1].split(")")[0].split(",");a=parseInt(u[4],10),l=parseInt(u[5],10)}return e==="left"?i?`translateX(${i.right+a-r.left}px)`:`translateX(${o.innerWidth+a-r.left}px)`:e==="right"?i?`translateX(-${r.right-i.left-a}px)`:`translateX(-${r.left+r.width-a}px)`:e==="up"?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function pD(e){return typeof e=="function"?e():e}function ac(e,t,n){const r=pD(n),i=fD(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const hD=b.forwardRef(function(t,n){const r=Iv(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:l,container:u,direction:c="down",easing:d=i,in:f,onEnter:p,onEntered:h,onEntering:m,onExit:x,onExited:g,onExiting:y,style:v,timeout:w=o,TransitionComponent:C=PT}=t,E=se(t,dD),T=b.useRef(null),P=Ht(l.ref,T,n),k=O=>$=>{O&&($===void 0?O(T.current):O(T.current,$))},M=k((O,$)=>{ac(c,O,u),TT(O),p&&p(O,$)}),A=k((O,$)=>{const z=Ed({timeout:w,style:v,easing:d},{mode:"enter"});O.style.webkitTransition=r.transitions.create("-webkit-transform",R({},z)),O.style.transition=r.transitions.create("transform",R({},z)),O.style.webkitTransform="none",O.style.transform="none",m&&m(O,$)}),I=k(h),L=k(y),D=k(O=>{const $=Ed({timeout:w,style:v,easing:d},{mode:"exit"});O.style.webkitTransition=r.transitions.create("-webkit-transform",$),O.style.transition=r.transitions.create("transform",$),ac(c,O,u),x&&x(O)}),B=k(O=>{O.style.webkitTransition="",O.style.transition="",g&&g(O)}),N=O=>{s&&s(T.current,O)},H=b.useCallback(()=>{T.current&&ac(c,T.current,u)},[c,u]);return b.useEffect(()=>{if(f||c==="down"||c==="right")return;const O=dv(()=>{T.current&&ac(c,T.current,u)}),$=Di(T.current);return $.addEventListener("resize",O),()=>{O.clear(),$.removeEventListener("resize",O)}},[c,f,u]),b.useEffect(()=>{f||H()},[f,H]),S.jsx(C,R({nodeRef:T,onEnter:M,onEntered:I,onEntering:A,onExit:D,onExited:B,onExiting:L,addEndListener:N,appear:a,in:f,timeout:w},E,{children:(O,$)=>b.cloneElement(l,R({ref:P,style:R({visibility:O==="exited"&&!f?"hidden":void 0},v,l.props.style)},$))}))}),mD=hD;function gD(e){return nt("MuiDrawer",e)}Qe("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const vD=["BackdropProps"],yD=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],zT=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},xD=e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Y(n)}`,r!=="temporary"&&`paperAnchorDocked${Y(n)}`]};return at(i,gD,t)},wD=ae(oD,{name:"MuiDrawer",slot:"Root",overridesResolver:zT})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),mw=ae("div",{shouldForwardProp:ku,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:zT})({flex:"0 0 auto"}),bD=ae(Fl,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Y(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${Y(n.anchor)}`]]}})(({theme:e,ownerState:t})=>R({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),VT={left:"right",right:"left",top:"down",bottom:"up"};function SD(e){return["left","right"].indexOf(e)!==-1}function CD({direction:e},t){return e==="rtl"&&SD(t)?VT[t]:t}const ED=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiDrawer"}),i=Iv(),o=n$(),s={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{anchor:a="left",BackdropProps:l,children:u,className:c,elevation:d=16,hideBackdrop:f=!1,ModalProps:{BackdropProps:p}={},onClose:h,open:m=!1,PaperProps:x={},SlideProps:g,TransitionComponent:y=mD,transitionDuration:v=s,variant:w="temporary"}=r,C=se(r.ModalProps,vD),E=se(r,yD),T=b.useRef(!1);b.useEffect(()=>{T.current=!0},[]);const P=CD({direction:o?"rtl":"ltr"},a),M=R({},r,{anchor:a,elevation:d,open:m,variant:w},E),A=xD(M),I=S.jsx(bD,R({elevation:w==="temporary"?d:0,square:!0},x,{className:oe(A.paper,x.className),ownerState:M,children:u}));if(w==="permanent")return S.jsx(mw,R({className:oe(A.root,A.docked,c),ownerState:M,ref:n},E,{children:I}));const L=S.jsx(y,R({in:m,direction:VT[P],timeout:v,appear:T.current},g,{children:I}));return w==="persistent"?S.jsx(mw,R({className:oe(A.root,A.docked,c),ownerState:M,ref:n},E,{children:L})):S.jsx(wD,R({BackdropProps:R({},l,p,{transitionDuration:v}),className:oe(A.root,A.modal,c),open:m,ownerState:M,onClose:h,hideBackdrop:f,ref:n},E,C,{children:L}))}),PD=ED;function TD(e){return nt("MuiLink",e)}const kD=Qe("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),MD=kD,BT={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},_D=e=>BT[e]||e,RD=({theme:e,ownerState:t})=>{const n=_D(t.color),r=Qs(e,`palette.${n}`,!1)||t.color,i=Qs(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:kt(r,.4)},OD=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],AD=e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root",`underline${Y(i)}`,n==="button"&&"button",r&&"focusVisible"]};return at(o,TD,t)},ID=ae(ce,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Y(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>R({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&R({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:RD({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${MD.focusVisible}`]:{outline:"auto"}})),$D=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiLink"}),{className:i,color:o="primary",component:s="a",onBlur:a,onFocus:l,TypographyClasses:u,underline:c="always",variant:d="inherit",sx:f}=r,p=se(r,OD),{isFocusVisibleRef:h,onBlur:m,onFocus:x,ref:g}=fv(),[y,v]=b.useState(!1),w=Ht(n,g),C=k=>{m(k),h.current===!1&&v(!1),a&&a(k)},E=k=>{x(k),h.current===!0&&v(!0),l&&l(k)},T=R({},r,{color:o,component:s,focusVisible:y,underline:c,variant:d}),P=AD(T);return S.jsx(ID,R({color:o,className:oe(P.root,i),classes:u,component:s,onBlur:C,onFocus:E,ref:w,ownerState:T,variant:d,sx:[...Object.keys(BT).includes(o)?[]:[{color:o}],...Array.isArray(f)?f:[f]]},p))}),zl=$D;var gw;const LD=["children","classes","className","label","notched"],jD=ae("fieldset",{shouldForwardProp:ku})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),DD=ae("legend",{shouldForwardProp:ku})(({ownerState:e,theme:t})=>R({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&R({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function FD(e){const{className:t,label:n,notched:r}=e,i=se(e,LD),o=n!=null&&n!=="",s=R({},e,{notched:r,withLabel:o});return S.jsx(jD,R({"aria-hidden":!0,className:t,ownerState:s},i,{children:S.jsx(DD,{ownerState:s,children:o?S.jsx("span",{children:n}):gw||(gw=S.jsx("span",{className:"notranslate",children:"​"}))})}))}const ND=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],zD=e=>{const{classes:t}=e,r=at({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},JL,t);return R({},t,r)},VD=ae(DT,{shouldForwardProp:e=>ku(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:LT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return R({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Ur.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Ur.focused} .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Ur.error} .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Ur.disabled} .${Ur.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&R({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),BD=ae(FD,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),UD=ae(FT,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:jT})(({theme:e,ownerState:t})=>R({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),UT=b.forwardRef(function(t,n){var r,i,o,s,a;const l=rt({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:d="input",label:f,multiline:p=!1,notched:h,slots:m={},type:x="text"}=l,g=se(l,ND),y=zD(l),v=IT(),w=OT({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=R({},l,{color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:v,fullWidth:c,hiddenLabel:w.hiddenLabel,multiline:p,size:w.size,type:x}),E=(r=(i=m.root)!=null?i:u.Root)!=null?r:VD,T=(o=(s=m.input)!=null?s:u.Input)!=null?o:UD;return S.jsx(ZL,R({slots:{root:E,input:T},renderSuffix:P=>S.jsx(BD,{ownerState:C,className:y.notchedOutline,label:f!=null&&f!==""&&w.required?a||(a=S.jsxs(b.Fragment,{children:[f," ","*"]})):f,notched:typeof h<"u"?h:!!(P.startAdornment||P.filled||P.focused)}),fullWidth:c,inputComponent:d,multiline:p,ref:n,type:x},g,{classes:R({},y,{notchedOutline:null})}))});UT.muiName="Input";const WD=UT;function HD(e){return nt("MuiToolbar",e)}Qe("MuiToolbar",["root","gutters","regular","dense"]);const GD=["className","component","disableGutters","variant"],qD=e=>{const{classes:t,disableGutters:n,variant:r}=e;return at({root:["root",!n&&"gutters",r]},HD,t)},KD=ae("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>R({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),QD=b.forwardRef(function(t,n){const r=rt({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:a="regular"}=r,l=se(r,GD),u=R({},r,{component:o,disableGutters:s,variant:a}),c=qD(u);return S.jsx(KD,R({as:o,className:oe(c.root,i),ref:n,ownerState:u},l))}),YD=QD;function WT(e){const[t,n]=W.useState(!1),r=()=>{window.localStorage.setItem("events-visible","false"),n(!1)};return W.useEffect(()=>{window.localStorage.getItem("events-visible")==null&&window.localStorage.setItem("events-visible","true");const i=window.localStorage.getItem("events-visible");n(i!=null?JSON.parse(i):!0)},[]),S.jsxs(Q,{sx:{background:"#16F4D0",color:"#000000",fontWeight:600,display:t?"flex":"none",justifyContent:"center",alignItems:"center",height:"30px"},children:[S.jsx(Q,{sx:{flexGrow:1,display:"flex",justifyContent:"center"},children:e.events.map(i=>S.jsx(zl,{underline:"hover",href:i.href,color:"inherit",children:i.title},`${i.title}::${i.href}`))}),S.jsx(Nl,{"data-testid":"events-close-button",onClick:r,sx:{color:"inherit",width:"25px",height:"25px",marginRight:"5px"},children:S.jsx(yT,{sx:{color:"inherit"}})})]})}var Dv={},ph={};const XD=Fr(D4);var vw;function ZD(){return vw||(vw=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=XD}(ph)),ph}var JD=Mv;Object.defineProperty(Dv,"__esModule",{value:!0});var HT=Dv.default=void 0,eF=JD(ZD()),tF=S;HT=Dv.default=(0,eF.default)((0,tF.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");function kd(e){const[t,n]=W.useState(!1),r=lv();return S.jsx(Q,{sx:{...e.sx,width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:S.jsxs(YD,{sx:{background:e.translucent?"rgba(67,86,127, 0.5)":"transparent",backdropFilter:e.translucent?"blur(20px)":"unset",margin:"5px 0px",borderRadius:"41px",paddingLeft:"40px !important",paddingRight:"40px !important",boxShadow:e.translucent?3:0,width:e.fullWidth?"100%":"90%",height:"80px",userSelect:"none"},children:[S.jsxs(Q,{onClick:()=>{r("/")},sx:{height:"65%",display:"flex",flexGrow:1,alignItems:"center",cursor:"pointer"},children:[S.jsx("img",{alt:"adc-logo",src:"/logo256.png",style:{maxHeight:"100%",margin:"10px 0px 10px 0px"}}),S.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:"bold",marginLeft:"15px"},children:"App Dev Club"})]}),S.jsx(Q,{sx:{display:{xs:"none",md:"flex"}},children:e.links.map(i=>S.jsx(zl,{href:i.anchor,underline:"hover",sx:{fontSize:"1rem",fontWeight:600,marginLeft:"15px",marginRight:"10px",color:"inherit",":hover":{cursor:"pointer"}},children:i.title},`${i.title}::${i.anchor}`))}),S.jsx(Nl,{onClick:()=>{n(!0)},sx:{color:"inherit",display:{xs:"flex",md:"none"}},children:S.jsx(HT,{sx:{fontSize:"1.8rem"}})}),S.jsxs(PD,{anchor:"right",open:t,onClose:()=>{n(!1)},PaperProps:{sx:{width:"180px",bgcolor:"background.default",padding:"25px",backgroundImage:"unset"}},children:[S.jsx(Nl,{onClick:()=>{n(!1)},sx:{alignSelf:"end",maxWidth:"40px",marginBottom:"10px"},children:S.jsx(yT,{})}),e.links.map((i,o)=>S.jsx(zl,{onClick:()=>{n(!1)},href:i.anchor,underline:"hover",color:"inherit",sx:{fontSize:"1.3rem",marginTop:"7px",marginBottom:"7px"},children:i.title},o))]})]})})}var GT={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},yw=W.createContext&&W.createContext(GT),nF=["attr","size","title"];function rF(e,t){if(e==null)return{};var n=iF(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function iF(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}function Md(){return Md=Object.assign?Object.assign.bind():function(e){for(var t=1;tW.createElement(t.tag,_d({key:n},t.attr),qT(t.child)))}function lF(e){return t=>W.createElement(uF,Md({attr:_d({},e.attr)},t),qT(e.child))}function uF(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=rF(e,nF),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),W.createElement("svg",Md({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:_d(_d({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&W.createElement("title",null,o),e.children)};return yw!==void 0?W.createElement(yw.Consumer,null,n=>t(n)):t(GT)}function cF(e){return lF({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M9.593 10.971c-.542 0-.969.475-.969 1.055 0 .578.437 1.055.969 1.055.541 0 .968-.477.968-1.055.011-.581-.427-1.055-.968-1.055zm3.468 0c-.542 0-.969.475-.969 1.055 0 .578.437 1.055.969 1.055.541 0 .968-.477.968-1.055-.001-.581-.427-1.055-.968-1.055z"},child:[]},{tag:"path",attr:{d:"M17.678 3H4.947A1.952 1.952 0 0 0 3 4.957v12.844c0 1.083.874 1.957 1.947 1.957H15.72l-.505-1.759 1.217 1.131 1.149 1.064L19.625 22V4.957A1.952 1.952 0 0 0 17.678 3zM14.01 15.407s-.342-.408-.626-.771c1.244-.352 1.719-1.13 1.719-1.13-.39.256-.76.438-1.093.562a6.679 6.679 0 0 1-3.838.398 7.944 7.944 0 0 1-1.396-.41 5.402 5.402 0 0 1-.693-.321c-.029-.021-.057-.029-.085-.048a.117.117 0 0 1-.039-.03c-.171-.094-.266-.16-.266-.16s.456.76 1.663 1.121c-.285.36-.637.789-.637.789-2.099-.067-2.896-1.444-2.896-1.444 0-3.059 1.368-5.538 1.368-5.538 1.368-1.027 2.669-.998 2.669-.998l.095.114c-1.71.495-2.499 1.245-2.499 1.245s.21-.114.561-.275c1.016-.446 1.823-.57 2.156-.599.057-.009.105-.019.162-.019a7.756 7.756 0 0 1 4.778.893s-.751-.712-2.366-1.206l.133-.152s1.302-.029 2.669.998c0 0 1.368 2.479 1.368 5.538 0-.001-.807 1.376-2.907 1.443z"},child:[]}]})(e)}function KT(e){let t=[{icon:S.jsx(z4,{}),redirect:"https://www.instagram.com/appdev_umd/"},{icon:S.jsx(V4,{}),redirect:"https://www.linkedin.com/company/app-development-club/"},{icon:S.jsx(N4,{}),redirect:"https://github.com/appdevumd"},{icon:S.jsx(F4,{}),redirect:"mailto:umdappdev@gmail.com"},{icon:S.jsx(cF,{}),redirect:"https://discord.com/invite/scSeVbTT7G"}];return S.jsx(Q,{sx:{display:"flex",gap:"10px",flexGrow:1,...e==null?void 0:e.sx},children:t.map(n=>W.cloneElement(n.icon,{onClick:()=>{var r;(r=window.open(n.redirect))==null||r.focus()},style:{cursor:"pointer",maxHeight:"24px",fontSize:e.fontSize??"22px",zIndex:2}}))})}function QT(e){const n=new Date().getFullYear();return S.jsxs(Q,{sx:{...e.sx,display:"flex",width:"100%",height:"75px",padding:"30px",alignItems:"center",justifyContent:"center"},children:[S.jsxs(ce,{style:{fontSize:"18px",flexGrow:1},children:["© ",n," App Dev Club"]}),S.jsx("img",{src:"../logo256.png",style:{maxHeight:"50px"}}),S.jsx(KT,{sx:{justifyContent:"end"}})]})}const ww=[{title:"Home",anchor:"/#maindiv-001"},{title:"Projects",anchor:"/#subdiv-002"},{title:"Our Team",anchor:"/#team"},{title:"Sponsors",anchor:"/#sponsors"},{title:"Contact Us",anchor:"#contact"}];function dF(){const[e,t]=W.useState(-120),[n]=W.useState([{title:"General Body Meeting, 3/25 8pm @ Iribe"}]);return W.useEffect(()=>{function r(){const i=window.scrollY;t(Math.min(i-120,0))}return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}},[]),S.jsxs(S.Fragment,{children:[n.length<1?S.jsx(S.Fragment,{}):S.jsx(WT,{events:n}),S.jsx(kd,{links:ww,fullWidth:!0,sx:{backgroundColor:"transparent"}}),S.jsx(kd,{links:ww,translucent:!0,sx:{zIndex:2,marginTop:"25px",position:"fixed",top:`${e}px`,left:"0px"}}),S.jsx(_5,{}),S.jsx(Q,{sx:{position:"relative"},children:S.jsx(QT,{})})]})}const fF=Av({palette:{mode:"dark",text:{primary:"#FFFFFF"},background:{default:"#14213D"}},typography:{fontFamily:"Inter, sans-serif"}}),YT={baseTheme:fF};function gg(){return gg=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"&&typeof le>"u"){var Pe=ue?p:f;U=Pe.left+Pe.width/2,le=Pe.top+Pe.height/2}var re=0,xe=0,Ze=f,Ct=Ze.top,Kt=Ze.left,lt=Ze.width,ut=Ze.height,Qt;if(ue){var In=p,qn=In.top,$n=In.left,qi=In.width,Ki=In.height,_e=Kt-$n,ee=Ct-qn,Qi=lt/2+_e,Ap=ut/2+ee,Fu=U-$n,r1=le-qn;xe=l.rotateYMax*(Fu-Qi)/(qi-lt/2)*-1,re=l.rotateXMax*(r1-Ap)/(Ki-ut/2),Qt=U-Kt+"px "+(le-Ct)+"px"}else{var Vr=lt/2,An=ut/2,gt=U-Kt,ga=le-Ct;xe=l.rotateYMax*(gt-Vr)/(lt/2)*-1,re=l.rotateXMax*(ga-An)/(ut/2)}re=Math.min(Math.max(-re,-l.rotateXMax),l.rotateXMax),l.rotateXInvert&&(re=-re),xe=Math.min(Math.max(-xe,-l.rotateYMax),l.rotateYMax),l.rotateYInvert&&(xe=-xe);var va=re/l.rotateXMax*100,ya=xe/l.rotateYMax*100,c_=(ue?ya/100*l.stretchX:0)*(l.rotateYInvert?-1:1),d_=(ue?va/100*l.stretchY:0)*(l.rotateXInvert?-1:1),f_=ue?Math.max(Math.abs(va),Math.abs(ya))/100*l.stretchZ:0;P(u,"translate3d("+c_+"%, "+-d_+"%, "+-f_+"px) rotateX("+re+"deg) rotateY("+xe+"deg)"),Qt&&l.commonOrigin&&M(u,Qt),m&&(E(m,l.duration+"ms"),T(m,"ease-out"),P(m,"translate3d("+-ya*.25+"%, "+va*.25+"%, 0)"),k(m,Math.max(Math.abs(va),Math.abs(ya))/100)),B({rotateXPercentage:va,rotateYPercentage:ya,duration:l.duration+"ms",easeOut:!0}),typeof l.onRotate=="function"&&l.onRotate(re,xe)},H=function(){v.push(function(){return n.classList.add("atropos-active")}),E(u,l.duration+"ms"),T(u,"ease-out"),P(c,"translate3d(0,0, "+l.activeOffset+"px)"),E(c,l.duration+"ms"),T(c,"ease-out"),h&&(E(h,l.duration+"ms"),T(h,"ease-out")),a.isActive=!0},O=function(U){if(x=void 0,!(U.type==="pointerdown"&&U.pointerType==="mouse")&&!(U.type==="pointerenter"&&U.pointerType!=="mouse")){if(U.type==="pointerdown"&&U.preventDefault(),g=U.clientX,y=U.clientY,l.alwaysActive){f=void 0,p=void 0;return}H(),typeof l.onEnter=="function"&&l.onEnter()}},$=function(U){x===!1&&U.cancelable&&U.preventDefault()},z=function(U){if(!(!l.rotate||!a.isActive)){if(U.pointerType!=="mouse"){if(!l.rotateTouch)return;U.preventDefault()}var le=U.clientX,ue=U.clientY,Pe=le-g,re=ue-y;if(typeof l.rotateTouch=="string"&&(Pe!==0||re!==0)&&typeof x>"u"){if(Pe*Pe+re*re>=25){var xe=Math.atan2(Math.abs(re),Math.abs(Pe))*180/Math.PI;x=l.rotateTouch==="scroll-y"?xe>45:90-xe>45}x===!1&&(n.classList.add("atropos-rotate-touch"),U.cancelable&&U.preventDefault())}U.pointerType!=="mouse"&&x||N(le,ue)}},K=function(U){if(f=void 0,p=void 0,!!a.isActive&&!(U&&U.type==="pointerup"&&U.pointerType==="mouse")&&!(U&&U.type==="pointerleave"&&U.pointerType!=="mouse")){if(typeof l.rotateTouch=="string"&&x&&n.classList.remove("atropos-rotate-touch"),l.alwaysActive){N(),typeof l.onRotate=="function"&&l.onRotate(0,0),typeof l.onLeave=="function"&&l.onLeave();return}v.push(function(){return n.classList.remove("atropos-active")}),E(c,l.duration+"ms"),T(c,""),P(c,"translate3d(0,0, 0px)"),h&&(E(h,l.duration+"ms"),T(h,"")),m&&(E(m,l.duration+"ms"),T(m,""),P(m,"translate3d(0, 0, 0)"),k(m,0)),E(u,l.duration+"ms"),T(u,""),P(u,"translate3d(0,0,0) rotateX(0deg) rotateY(0deg)"),B({duration:l.duration+"ms"}),a.isActive=!1,typeof l.onRotate=="function"&&l.onRotate(0,0),typeof l.onLeave=="function"&&l.onLeave()}},ne=function(U){var le=U.target;!r.contains(le)&&le!==r&&a.isActive&&K()},We=function(){typeof n=="string"&&(n=Hr(document,n)),n&&(n.__atropos__||(typeof r<"u"?typeof r=="string"&&(r=Hr(document,r)):r=n,s=o?n.parentNode.host:n,Object.assign(a,{el:n}),u=Hr(n,".atropos-rotate"),c=Hr(n,".atropos-scale"),d=Hr(n,".atropos-inner"),n.__atropos__=a))},de=function(){We(),!(!n||!r)&&(l.shadow&&L(),l.highlight&&D(),l.rotateTouch&&(typeof l.rotateTouch=="string"?n.classList.add("atropos-rotate-touch-"+l.rotateTouch):n.classList.add("atropos-rotate-touch")),Hr(s,"[data-atropos-opacity]")&&B({opacityOnly:!0}),A(document,"click",ne),A(r,"pointerdown",O),A(r,"pointerenter",O),A(r,"pointermove",z),A(r,"touchmove",$),A(r,"pointerleave",K),A(r,"pointerup",K),A(r,"lostpointercapture",K),l.alwaysActive&&(H(),N()))},He=function(){a.destroyed=!0,cancelAnimationFrame(w),I(document,"click",ne),I(r,"pointerdown",O),I(r,"pointerenter",O),I(r,"pointermove",z),I(r,"touchmove",$),I(r,"pointerleave",K),I(r,"pointerup",K),I(r,"lostpointercapture",K),delete n.__atropos__};return a.destroy=He,de(),a}var vF=["component","children","rootChildren","scaleChildren","rotateChildren","className","scaleClassName","rotateClassName","innerClassName"];function Rd(){return Rd=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var XT=["eventsEl","alwaysActive","activeOffset","shadowOffset","shadowScale","duration","rotate","rotateTouch","rotateXMax","rotateYMax","rotateXInvert","rotateYInvert","stretchX","stretchY","stretchZ","commonOrigin","shadow","highlight","onEnter","onLeave","onRotate"],xF=function(t){var n={};return Object.keys(t).forEach(function(r){XT.includes(r)||(n[r]=t[r])}),n},wF=function(t){var n={};return Object.keys(t).forEach(function(r){XT.includes(r)&&(n[r]=t[r])}),n};function bF(e){var t=e.component,n=t===void 0?"div":t,r=e.children,i=e.rootChildren,o=e.scaleChildren,s=e.rotateChildren,a=e.className,l=a===void 0?"":a,u=e.scaleClassName,c=u===void 0?"":u,d=e.rotateClassName,f=d===void 0?"":d,p=e.innerClassName,h=p===void 0?"":p,m=yF(e,vF),x=b.useRef(null),g=b.useRef(null),y=n,v=function(){for(var T=arguments.length,P=new Array(T),k=0;k"u")&&W.createElement("span",{className:"atropos-highlight"})),s,(e.shadow||typeof e.shadow>"u")&&W.createElement("span",{className:"atropos-shadow"})),o),i)}function SF(e){let t=0,n;for(n=0;n>n*8&255;r+=`00${i.toString(16)}`.slice(-2)}return r}function ZT(e){return{sx:{bgcolor:SF(e)},children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`}}var JT={};function CF(e){if(!e||typeof window>"u")return;const t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}Object.defineProperty(JT,"__esModule",{value:!0});var Ne=b;function EF(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Gr=EF(Ne);CF(`.rfm-marquee-container { overflow-x: hidden; display: flex; flex-direction: row; @@ -257,9 +257,9 @@ Error generating stack: `+o.message+` .rfm-child { transform: var(--transform); -}`);const PF=Ne.forwardRef(function({style:t={},className:n="",autoFill:r=!1,play:i=!0,pauseOnHover:o=!1,pauseOnClick:s=!1,direction:a="left",speed:l=50,delay:u=0,loop:c=0,gradient:d=!1,gradientColor:f="white",gradientWidth:p=200,onFinish:h,onCycleComplete:m,onMount:x,children:g},y){const[v,w]=Ne.useState(0),[C,E]=Ne.useState(0),[T,P]=Ne.useState(1),[k,M]=Ne.useState(!1),A=Ne.useRef(null),I=y||A,L=Ne.useRef(null),D=Ne.useCallback(()=>{if(L.current&&I.current){const K=I.current.getBoundingClientRect(),ne=L.current.getBoundingClientRect();let We=K.width,de=ne.width;(a==="up"||a==="down")&&(We=K.height,de=ne.height),P(r&&We&&de&&de{if(k&&(D(),L.current&&I.current)){const K=new ResizeObserver(()=>D());return K.observe(I.current),K.observe(L.current),()=>{K&&K.disconnect()}}},[D,I,k]),Ne.useEffect(()=>{D()},[D,g]),Ne.useEffect(()=>{M(!0)},[]),Ne.useEffect(()=>{typeof x=="function"&&x()},[]);const B=Ne.useMemo(()=>r?C*T/l:CObject.assign(Object.assign({},t),{"--pause-on-hover":!i||o?"paused":"running","--pause-on-click":!i||o&&!s||s?"paused":"running","--width":a==="up"||a==="down"?"100vh":"100%","--transform":a==="up"?"rotate(-90deg)":a==="down"?"rotate(90deg)":"none"}),[t,i,o,s,a]),H=Ne.useMemo(()=>({"--gradient-color":f,"--gradient-width":typeof p=="number"?`${p}px`:p}),[f,p]),O=Ne.useMemo(()=>({"--play":i?"running":"paused","--direction":a==="left"?"normal":"reverse","--duration":`${B}s`,"--delay":`${u}s`,"--iteration-count":c?`${c}`:"infinite","--min-width":r?"auto":"100%"}),[i,a,B,u,c,r]),$=Ne.useMemo(()=>({"--transform":a==="up"?"rotate(90deg)":a==="down"?"rotate(-90deg)":"none"}),[a]),z=Ne.useCallback(K=>[...Array(Number.isFinite(K)&&K>=0?K:0)].map((ne,We)=>Gr.default.createElement(Ne.Fragment,{key:We},Ne.Children.map(g,de=>Gr.default.createElement("div",{style:$,className:"rfm-child"},de)))),[$,g]);return k?Gr.default.createElement("div",{ref:I,style:N,className:"rfm-marquee-container "+n},d&&Gr.default.createElement("div",{style:H,className:"rfm-overlay"}),Gr.default.createElement("div",{className:"rfm-marquee",style:O,onAnimationIteration:m,onAnimationEnd:h},Gr.default.createElement("div",{className:"rfm-initial-child-container",ref:L},Ne.Children.map(g,K=>Gr.default.createElement("div",{style:$,className:"rfm-child"},K))),z(T-1)),Gr.default.createElement("div",{className:"rfm-marquee",style:O},z(T))):null});var TF=JT.default=PF;function e2(e,t){return function(){return e.apply(t,arguments)}}const{toString:kF}=Object.prototype,{getPrototypeOf:Dv}=Object,rp=(e=>t=>{const n=kF.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pr=e=>(e=e.toLowerCase(),t=>rp(t)===e),ip=e=>t=>typeof t===e,{isArray:ca}=Array,Vl=ip("undefined");function MF(e){return e!==null&&!Vl(e)&&e.constructor!==null&&!Vl(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const t2=pr("ArrayBuffer");function _F(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&t2(e.buffer),t}const RF=ip("string"),Tn=ip("function"),n2=ip("number"),op=e=>e!==null&&typeof e=="object",OF=e=>e===!0||e===!1,Lc=e=>{if(rp(e)!=="object")return!1;const t=Dv(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},AF=pr("Date"),IF=pr("File"),$F=pr("Blob"),LF=pr("FileList"),jF=e=>op(e)&&Tn(e.pipe),DF=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tn(e.append)&&((t=rp(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},FF=pr("URLSearchParams"),NF=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Mu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ca(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const i2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,o2=e=>!Vl(e)&&e!==i2;function vg(){const{caseless:e}=o2(this)&&this||{},t={},n=(r,i)=>{const o=e&&r2(t,i)||i;Lc(t[o])&&Lc(r)?t[o]=vg(t[o],r):Lc(r)?t[o]=vg({},r):ca(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Mu(t,(i,o)=>{n&&Tn(i)?e[o]=e2(i,n):e[o]=i},{allOwnKeys:r}),e),VF=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),BF=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},UF=(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Dv(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},WF=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},HF=e=>{if(!e)return null;if(ca(e))return e;let t=e.length;if(!n2(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},GF=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Dv(Uint8Array)),qF=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},KF=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},QF=pr("HTMLFormElement"),YF=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ww=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),XF=pr("RegExp"),s2=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Mu(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},ZF=e=>{s2(e,(t,n)=>{if(Tn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Tn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},JF=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return ca(e)?r(e):r(String(e).split(t)),n},e6=()=>{},t6=(e,t)=>(e=+e,Number.isFinite(e)?e:t),hh="abcdefghijklmnopqrstuvwxyz",bw="0123456789",a2={DIGIT:bw,ALPHA:hh,ALPHA_DIGIT:hh+hh.toUpperCase()+bw},n6=(e=16,t=a2.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function r6(e){return!!(e&&Tn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const i6=e=>{const t=new Array(10),n=(r,i)=>{if(op(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=ca(r)?[]:{};return Mu(r,(s,a)=>{const l=n(s,i+1);!Vl(l)&&(o[a]=l)}),t[i]=void 0,o}}return r};return n(e,0)},o6=pr("AsyncFunction"),s6=e=>e&&(op(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),j={isArray:ca,isArrayBuffer:t2,isBuffer:MF,isFormData:DF,isArrayBufferView:_F,isString:RF,isNumber:n2,isBoolean:OF,isObject:op,isPlainObject:Lc,isUndefined:Vl,isDate:AF,isFile:IF,isBlob:$F,isRegExp:XF,isFunction:Tn,isStream:jF,isURLSearchParams:FF,isTypedArray:GF,isFileList:LF,forEach:Mu,merge:vg,extend:zF,trim:NF,stripBOM:VF,inherits:BF,toFlatObject:UF,kindOf:rp,kindOfTest:pr,endsWith:WF,toArray:HF,forEachEntry:qF,matchAll:KF,isHTMLForm:QF,hasOwnProperty:ww,hasOwnProp:ww,reduceDescriptors:s2,freezeMethods:ZF,toObjectSet:JF,toCamelCase:YF,noop:e6,toFiniteNumber:t6,findKey:r2,global:i2,isContextDefined:o2,ALPHABET:a2,generateString:n6,isSpecCompliantForm:r6,toJSONObject:i6,isAsyncFn:o6,isThenable:s6};function me(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}j.inherits(me,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const l2=me.prototype,u2={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{u2[e]={value:e}});Object.defineProperties(me,u2);Object.defineProperty(l2,"isAxiosError",{value:!0});me.from=(e,t,n,r,i,o)=>{const s=Object.create(l2);return j.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),me.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const a6=null;function yg(e){return j.isPlainObject(e)||j.isArray(e)}function c2(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function Sw(e,t,n){return e?e.concat(t).map(function(i,o){return i=c2(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function l6(e){return j.isArray(e)&&!e.some(yg)}const u6=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function sp(e,t,n){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,x){return!j.isUndefined(x[m])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(i))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(j.isDate(h))return h.toISOString();if(!l&&j.isBlob(h))throw new me("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(h)||j.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,m,x){let g=h;if(h&&!x&&typeof h=="object"){if(j.endsWith(m,"{}"))m=r?m:m.slice(0,-2),h=JSON.stringify(h);else if(j.isArray(h)&&l6(h)||(j.isFileList(h)||j.endsWith(m,"[]"))&&(g=j.toArray(h)))return m=c2(m),g.forEach(function(v,w){!(j.isUndefined(v)||v===null)&&t.append(s===!0?Sw([m],w,o):s===null?m:m+"[]",u(v))}),!1}return yg(h)?!0:(t.append(Sw(x,m,o),u(h)),!1)}const d=[],f=Object.assign(u6,{defaultVisitor:c,convertValue:u,isVisitable:yg});function p(h,m){if(!j.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),j.forEach(h,function(g,y){(!(j.isUndefined(g)||g===null)&&i.call(t,g,j.isString(y)?y.trim():y,m,f))===!0&&p(g,m?m.concat(y):[y])}),d.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Cw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Fv(e,t){this._pairs=[],e&&sp(e,this,t)}const d2=Fv.prototype;d2.append=function(t,n){this._pairs.push([t,n])};d2.toString=function(t){const n=t?function(r){return t.call(this,r,Cw)}:Cw;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function c6(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function f2(e,t,n){if(!t)return e;const r=n&&n.encode||c6,i=n&&n.serialize;let o;if(i?o=i(t,n):o=j.isURLSearchParams(t)?t.toString():new Fv(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Ew{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const p2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},d6=typeof URLSearchParams<"u"?URLSearchParams:Fv,f6=typeof FormData<"u"?FormData:null,p6=typeof Blob<"u"?Blob:null,h6={isBrowser:!0,classes:{URLSearchParams:d6,FormData:f6,Blob:p6},protocols:["http","https","file","blob","url","data"]},h2=typeof window<"u"&&typeof document<"u",m6=(e=>h2&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),g6=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",v6=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:h2,hasStandardBrowserEnv:m6,hasStandardBrowserWebWorkerEnv:g6},Symbol.toStringTag,{value:"Module"})),or={...v6,...h6};function y6(e,t){return sp(e,new or.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return or.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function x6(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function w6(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return s=!s&&j.isArray(i)?i.length:s,l?(j.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!j.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&j.isArray(i[s])&&(i[s]=w6(i[s])),!a)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(x6(r),i,n,0)}),n}return null}function b6(e,t,n){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Nv={transitional:p2,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=j.isObject(t);if(o&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return i?JSON.stringify(m2(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return y6(t,this.formSerializer).toString();if((a=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return sp(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),b6(t)):t}],transformResponse:[function(t){const n=this.transitional||Nv.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&j.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?me.from(a,me.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:or.classes.FormData,Blob:or.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{Nv.headers[e]={}});const zv=Nv,S6=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),C6=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&S6[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Pw=Symbol("internals");function _a(e){return e&&String(e).trim().toLowerCase()}function jc(e){return e===!1||e==null?e:j.isArray(e)?e.map(jc):String(e)}function E6(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const P6=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function mh(e,t,n,r,i){if(j.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!j.isString(t)){if(j.isString(r))return t.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(t)}}function T6(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function k6(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}class ap{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,l,u){const c=_a(l);if(!c)throw new Error("header name must be a non-empty string");const d=j.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||l]=jc(a))}const s=(a,l)=>j.forEach(a,(u,c)=>o(u,c,l));return j.isPlainObject(t)||t instanceof this.constructor?s(t,n):j.isString(t)&&(t=t.trim())&&!P6(t)?s(C6(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=_a(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return E6(i);if(j.isFunction(n))return n.call(this,i,r);if(j.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_a(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||mh(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=_a(s),s){const a=j.findKey(r,s);a&&(!n||mh(r,r[a],a,n))&&(delete r[a],i=!0)}}return j.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||mh(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return j.forEach(this,(i,o)=>{const s=j.findKey(r,o);if(s){n[s]=jc(i),delete n[o];return}const a=t?T6(o):String(o).trim();a!==o&&delete n[o],n[a]=jc(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&j.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Pw]=this[Pw]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=_a(s);r[a]||(k6(i,s),r[a]=!0)}return j.isArray(t)?t.forEach(o):o(t),this}}ap.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(ap.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(ap);const kr=ap;function gh(e,t){const n=this||zv,r=t||n,i=kr.from(r.headers);let o=r.data;return j.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function g2(e){return!!(e&&e.__CANCEL__)}function _u(e,t,n){me.call(this,e??"canceled",me.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(_u,me,{__CANCEL__:!0});function M6(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new me("Request failed with status code "+n.status,[me.ERR_BAD_REQUEST,me.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const _6=or.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const s=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),j.isString(r)&&s.push("path="+r),j.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function R6(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function O6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function v2(e,t){return e&&!R6(t)?O6(e,t):t}const A6=or.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=j.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function I6(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $6(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];s||(s=u),n[i]=l,r[i]=u;let d=o,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-s{const o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-n,l=r(a),u=o<=s;n=o;const c={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&u?(s-o)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const L6=typeof XMLHttpRequest<"u",j6=L6&&function(e){return new Promise(function(n,r){let i=e.data;const o=kr.from(e.headers).normalize();let{responseType:s,withXSRFToken:a}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let c;if(j.isFormData(i)){if(or.hasStandardBrowserEnv||or.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((c=o.getContentType())!==!1){const[m,...x]=c?c.split(";").map(g=>g.trim()).filter(Boolean):[];o.setContentType([m||"multipart/form-data",...x].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(m+":"+x))}const f=v2(e.baseURL,e.url);d.open(e.method.toUpperCase(),f2(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=kr.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),g={data:!s||s==="text"||s==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};M6(function(v){n(v),u()},function(v){r(v),u()},g),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(r(new me("Request aborted",me.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new me("Network Error",me.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||p2;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),r(new me(x,g.clarifyTimeoutError?me.ETIMEDOUT:me.ECONNABORTED,e,d)),d=null},or.hasStandardBrowserEnv&&(a&&j.isFunction(a)&&(a=a(e)),a||a!==!1&&A6(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&_6.read(e.xsrfCookieName);m&&o.set(e.xsrfHeaderName,m)}i===void 0&&o.setContentType(null),"setRequestHeader"in d&&j.forEach(o.toJSON(),function(x,g){d.setRequestHeader(g,x)}),j.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),s&&s!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Tw(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Tw(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(r(!m||m.type?new _u(null,e,d):m),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=I6(f);if(h&&or.protocols.indexOf(h)===-1){r(new me("Unsupported protocol "+h+":",me.ERR_BAD_REQUEST,e));return}d.send(i||null)})},xg={http:a6,xhr:j6};j.forEach(xg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const kw=e=>`- ${e}`,D6=e=>j.isFunction(e)||e===null||e===!1,y2={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?o.length>1?`since : -`+o.map(kw).join(` -`):" "+kw(o[0]):"as no adapter specified";throw new me("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:xg};function vh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _u(null,e)}function Mw(e){return vh(e),e.headers=kr.from(e.headers),e.data=gh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),y2.getAdapter(e.adapter||zv.adapter)(e).then(function(r){return vh(e),r.data=gh.call(e,e.transformResponse,r),r.headers=kr.from(r.headers),r},function(r){return g2(r)||(vh(e),r&&r.response&&(r.response.data=gh.call(e,e.transformResponse,r.response),r.response.headers=kr.from(r.response.headers))),Promise.reject(r)})}const _w=e=>e instanceof kr?{...e}:e;function Ys(e,t){t=t||{};const n={};function r(u,c,d){return j.isPlainObject(u)&&j.isPlainObject(c)?j.merge.call({caseless:d},u,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function i(u,c,d){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u,d)}else return r(u,c,d)}function o(u,c){if(!j.isUndefined(c))return r(void 0,c)}function s(u,c){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,c)=>i(_w(u),_w(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=l[c]||i,f=d(e[c],t[c],c);j.isUndefined(f)&&d!==a||(n[c]=f)}),n}const x2="1.6.8",Vv={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Vv[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Rw={};Vv.transitional=function(t,n,r){function i(o,s){return"[Axios v"+x2+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(t===!1)throw new me(i(s," has been removed"+(n?" in "+n:"")),me.ERR_DEPRECATED);return n&&!Rw[s]&&(Rw[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function F6(e,t,n){if(typeof e!="object")throw new me("options must be an object",me.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new me("option "+o+" must be "+l,me.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new me("Unknown option "+o,me.ERR_BAD_OPTION)}}const wg={assertOptions:F6,validators:Vv},qr=wg.validators;class Od{constructor(t){this.defaults=t,this.interceptors={request:new Ew,response:new Ew}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ys(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&wg.assertOptions(r,{silentJSONParsing:qr.transitional(qr.boolean),forcedJSONParsing:qr.transitional(qr.boolean),clarifyTimeoutError:qr.transitional(qr.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:wg.assertOptions(i,{encode:qr.function,serialize:qr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&j.merge(o.common,o[n.method]);o&&j.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=kr.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,d=0,f;if(!l){const h=[Mw.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,c=Promise.resolve(n);d{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,a){r.reason||(r.reason=new _u(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Bv(function(i){t=i}),cancel:t}}}const N6=Bv;function z6(e){return function(n){return e.apply(null,n)}}function V6(e){return j.isObject(e)&&e.isAxiosError===!0}const bg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(bg).forEach(([e,t])=>{bg[t]=e});const B6=bg;function w2(e){const t=new Dc(e),n=e2(Dc.prototype.request,t);return j.extend(n,Dc.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return w2(Ys(e,i))},n}const tt=w2(zv);tt.Axios=Dc;tt.CanceledError=_u;tt.CancelToken=N6;tt.isCancel=g2;tt.VERSION=x2;tt.toFormData=sp;tt.AxiosError=me;tt.Cancel=tt.CanceledError;tt.all=function(t){return Promise.all(t)};tt.spread=z6;tt.isAxiosError=V6;tt.mergeConfig=Ys;tt.AxiosHeaders=kr;tt.formToJSON=e=>m2(j.isHTMLForm(e)?new FormData(e):e);tt.getAdapter=y2.getAdapter;tt.HttpStatusCode=B6;tt.default=tt;const da=tt.create({baseURL:"https://webv2-backend.appdevclub.com"});function U6(e){let t=e.toLowerCase().replaceAll("-","").replaceAll(" ","-");return`${da.getUri()}/sponsor-logos/${t}.png`}function Ow(e){const t=av(),n=r=>t(`/project/${r._id}`);return e.mobileView?S.jsxs(Fl,{elevation:5,onClick:()=>{n(e.project)},sx:{...e==null?void 0:e.sx,cursor:"pointer",borderRadius:"35px",padding:"30px",display:"flex",flexDirection:"column",gap:"15px",color:"#000000",bgcolor:"#ffffff",maxWidth:"100%",height:"400px",overflow:"hidden"},children:[S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",width:"100%"},children:[S.jsx(ce,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),S.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),S.jsx(ce,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description})]}),S.jsx(Aw,{autoScroll:!0,members:e.project.members})]}):S.jsx(bF,{highlight:!1,onClick:()=>{n(e.project)},style:{minWidth:"800px",height:"60vh",cursor:"pointer"},children:S.jsx(Fl,{sx:{...e==null?void 0:e.sx,borderRadius:"35px",padding:"30px",display:"flex",gap:"15px",color:"#000000",bgcolor:"#ffffff",width:"100%",height:"100%"},children:S.jsxs(Q,{sx:{display:"flex",flexDirection:"column"},children:[S.jsxs(Q,{sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},children:[S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",flexGrow:1},children:[S.jsx(ce,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),S.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization})]}),S.jsx("img",{style:{maxHeight:"36px"},src:U6(e.project.organization)})]}),S.jsx(ce,{sx:{marginTop:"15px"},variant:"body1",children:e.project.description}),S.jsx(Aw,{members:e.project.members})]})})})}function Aw(e){function t(){return S.jsx(S.Fragment,{children:e.members.map((n,r)=>S.jsx(UL,{label:`${n.memberInfo.firstName} ${n.memberInfo.lastName}`,variant:"outlined",sx:{color:"black",margin:"5px"},avatar:n.memberInfo.profileUrl?S.jsx(Td,{src:n.memberInfo.profileUrl}):S.jsx(Td,{...ZT(`${n.memberInfo.firstName} ${n.memberInfo.lastName}`)})},r))})}return e.autoScroll?S.jsx(TF,{children:S.jsx(t,{})}):S.jsx(Q,{sx:{marginTop:"10px",display:"flex",flexWrap:"wrap"},children:S.jsx(t,{})})}function Iw(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Uv(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:Iw(t[n])&&Iw(e[n])&&Object.keys(t[n]).length>0&&Uv(e[n],t[n])})}const b2={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Mr(){const e=typeof document<"u"?document:{};return Uv(e,b2),e}const W6={document:b2,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function cn(){const e=typeof window<"u"?window:{};return Uv(e,W6),e}function H6(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function G6(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function Sg(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Ad(){return Date.now()}function q6(e){const t=cn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function K6(e,t){t===void 0&&(t="x");const n=cn();let r,i,o;const s=q6(e);return n.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),o=new n.WebKitCSSMatrix(i==="none"?"":i)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=o.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=o.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function lc(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function Q6(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Zt(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(o)<0);for(let o=0,s=i.length;oo?"next":"prev",c=(f,p)=>u==="next"&&f>=p||u==="prev"&&f<=p,d=()=>{a=new Date().getTime(),s===null&&(s=a);const f=Math.max(Math.min((a-s)/l,1),0),p=.5-Math.cos(f*Math.PI)/2;let h=o+p*(n-o);if(c(h,n)&&(h=n),t.wrapperEl.scrollTo({[r]:h}),c(h,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:h})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(d)};d()}function Wv(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function Sr(e,t){return t===void 0&&(t=""),[...e.children].filter(n=>n.matches(t))}function Id(e){try{console.warn(e);return}catch{}}function $d(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:H6(t)),n}function Y6(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function X6(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function gi(e,t){return cn().getComputedStyle(e,null).getPropertyValue(t)}function $w(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function Z6(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function Lw(e,t,n){const r=cn();return n?e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom")):e.offsetWidth}let yh;function J6(){const e=cn(),t=Mr();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function C2(){return yh||(yh=J6()),yh}let xh;function eN(e){let{userAgent:t}=e===void 0?{}:e;const n=C2(),r=cn(),i=r.navigator.platform,o=t||r.navigator.userAgent,s={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,u=o.match(/(Android);?[\s\/]+([\d.]+)?/);let c=o.match(/(iPad).*OS\s([\d_]+)/);const d=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let h=i==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&h&&n.touch&&m.indexOf(`${a}x${l}`)>=0&&(c=o.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),u&&!p&&(s.os="android",s.android=!0),(c||f||d)&&(s.os="ios",s.ios=!0),s}function E2(e){return e===void 0&&(e={}),xh||(xh=eN(e)),xh}let wh;function tN(){const e=cn(),t=E2();let n=!1;function r(){const a=e.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(r()){const a=String(e.navigator.userAgent);if(a.includes("Version/")){const[l,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));n=l<16||l===16&&u<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=r(),s=o||i&&t.ios;return{isSafari:n||o,needPerspectiveFix:n,need3dFix:s,isWebView:i}}function nN(){return wh||(wh=tN()),wh}function rN(e){let{swiper:t,on:n,emit:r}=e;const i=cn();let o=null,s=null;const a=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},l=()=>{!t||t.destroyed||!t.initialized||(o=new ResizeObserver(d=>{s=i.requestAnimationFrame(()=>{const{width:f,height:p}=t;let h=f,m=p;d.forEach(x=>{let{contentBoxSize:g,contentRect:y,target:v}=x;v&&v!==t.el||(h=y?y.width:(g[0]||g).inlineSize,m=y?y.height:(g[0]||g).blockSize)}),(h!==f||m!==p)&&a()})}),o.observe(t.el))},u=()=>{s&&i.cancelAnimationFrame(s),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null)},c=()=>{!t||t.destroyed||!t.initialized||r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){l();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",c)})}function iN(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const o=[],s=cn(),a=function(c,d){d===void 0&&(d={});const f=s.MutationObserver||s.WebkitMutationObserver,p=new f(h=>{if(t.__preventObserver__)return;if(h.length===1){i("observerUpdate",h[0]);return}const m=function(){i("observerUpdate",h[0])};s.requestAnimationFrame?s.requestAnimationFrame(m):s.setTimeout(m,0)});p.observe(c,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:typeof d.childList>"u"?!0:d.childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),o.push(p)},l=()=>{if(t.params.observer){if(t.params.observeParents){const c=Z6(t.hostEl);for(let d=0;d{o.forEach(c=>{c.disconnect()}),o.splice(0,o.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var oN={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const i=n?"unshift":"push";return e.split(" ").forEach(o=>{r.eventsListeners[o]||(r.eventsListeners[o]=[]),r.eventsListeners[o][i](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var o=arguments.length,s=new Array(o),a=0;a=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((i,o)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[r].splice(o,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,o=new Array(i),s=0;s{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...n])}),e.eventsListeners&&e.eventsListeners[l]&&e.eventsListeners[l].forEach(u=>{u.apply(r,n)})}),e}};function sN(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(gi(r,"padding-left")||0,10)-parseInt(gi(r,"padding-right")||0,10),n=n-parseInt(gi(r,"padding-top")||0,10)-parseInt(gi(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function aN(){const e=this;function t(M,A){return parseFloat(M.getPropertyValue(e.getDirectionLabel(A))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:o,rtlTranslate:s,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=Sr(i,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:c.length;let f=[];const p=[],h=[];let m=n.slidesOffsetBefore;typeof m=="function"&&(m=n.slidesOffsetBefore.call(e));let x=n.slidesOffsetAfter;typeof x=="function"&&(x=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,y=e.slidesGrid.length;let v=n.spaceBetween,w=-m,C=0,E=0;if(typeof o>"u")return;typeof v=="string"&&v.indexOf("%")>=0?v=parseFloat(v.replace("%",""))/100*o:typeof v=="string"&&(v=parseFloat(v)),e.virtualSize=-v,c.forEach(M=>{s?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(uc(r,"--swiper-centered-offset-before",""),uc(r,"--swiper-centered-offset-after",""));const T=n.grid&&n.grid.rows>1&&e.grid;T?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let P;const k=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(M=>typeof n.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M1&&f.push(e.virtualSize-o)}if(l&&n.loop){const M=h[0]+v;if(n.slidesPerGroup>1){const A=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),I=M*n.slidesPerGroup;for(let L=0;L!n.cssMode||n.loop?!0:I!==c.length-1).forEach(A=>{A.style[M]=`${v}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let M=0;h.forEach(I=>{M+=I+(v||0)}),M-=v;const A=M-o;f=f.map(I=>I<=0?-m:I>A?A+x:I)}if(n.centerInsufficientSlides){let M=0;if(h.forEach(A=>{M+=A+(v||0)}),M-=v,M{f[L]=I-A}),p.forEach((I,L)=>{p[L]=I+A})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){uc(r,"--swiper-centered-offset-before",`${-f[0]}px`),uc(r,"--swiper-centered-offset-after",`${e.size/2-h[h.length-1]/2}px`);const M=-e.snapGrid[0],A=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(I=>I+M),e.slidesGrid=e.slidesGrid.map(I=>I+A)}if(d!==u&&e.emit("slidesLengthChange"),f.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const M=`${n.containerModifierClass}backface-hidden`,A=e.el.classList.contains(M);d<=n.maxBackfaceHiddenSlides?A||e.el.classList.add(M):A&&e.el.classList.remove(M)}}function lN(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i=0,o;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const s=a=>r?t.slides[t.getSlideIndexByData(a)]:t.slides[a];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(a=>{n.push(a)});else for(o=0;ot.slides.length&&!r)break;n.push(s(a))}else n.push(s(t.activeIndex));for(o=0;oi?a:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function uN(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r"u"&&t.updateSlidesOffset();let s=-e;i&&(s=e),r.forEach(l=>{l.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&p<=t.size-t.slidesSizesGrid[l];(p>=0&&p1&&h<=t.size||p<=0&&h>=t.size)&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(l),r[l].classList.add(n.slideVisibleClass)),m&&r[l].classList.add(n.slideFullyVisibleClass),u.progress=i?-d:d,u.originalProgress=i?-f:f}}function dN(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:s,progressLoop:a}=t;const l=o,u=s;if(r===0)i=0,o=!0,s=!0;else{i=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;o=c||i<=0,s=d||i>=1,c&&(i=0),d&&(i=1)}if(n.loop){const c=t.getSlideIndexByData(0),d=t.getSlideIndexByData(t.slides.length-1),f=t.slidesGrid[c],p=t.slidesGrid[d],h=t.slidesGrid[t.slidesGrid.length-1],m=Math.abs(e);m>=f?a=(m-f)/h:a=(m+h-p)/h,a>1&&(a-=1)}Object.assign(t,{progress:i,progressLoop:a,isBeginning:o,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),s&&!u&&t.emit("reachEnd toEdge"),(l&&!o||u&&!s)&&t.emit("fromEdge"),t.emit("progress",i)}const bh=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function fN(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,o=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,a=d=>Sr(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];let l,u,c;if(o)if(n.loop){let d=i-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${d}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else s?(l=t.filter(d=>d.column===i)[0],c=t.filter(d=>d.column===i+1)[0],u=t.filter(d=>d.column===i-1)[0]):l=t[i];l&&(s||(c=X6(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=Y6(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(d=>{bh(d,d===l,n.slideActiveClass),bh(d,d===c,n.slideNextClass),bh(d,d===u,n.slidePrevClass)}),e.emitSlidesClasses()}const Fc=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let i=r.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},Sh=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Cg=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=i,a=[s-t];a.push(...Array.from({length:t}).map((l,u)=>s+r+u)),e.slides.forEach((l,u)=>{a.includes(l.column)&&Sh(e,u)});return}const o=i+r-1;if(e.params.rewind||e.params.loop)for(let s=i-t;s<=o+t;s+=1){const a=(s%n+n)%n;(ao)&&Sh(e,a)}else for(let s=Math.max(i-t,0);s<=Math.min(o+t,n-1);s+=1)s!==i&&(s>o||s=t[o]&&r=t[o]&&r=t[o]&&(i=o);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function hN(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:o,realIndex:s,snapIndex:a}=t;let l=e,u;const c=p=>{let h=p-t.virtual.slidesBefore;return h<0&&(h=t.virtual.slides.length+h),h>=t.virtual.slides.length&&(h-=t.virtual.slides.length),h};if(typeof l>"u"&&(l=pN(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const p=Math.min(i.slidesPerGroupSkip,l);u=p+Math.floor((l-p)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===o&&!t.params.loop){u!==a&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(l);return}const d=t.grid&&i.grid&&i.grid.rows>1;let f;if(t.virtual&&i.virtual.enabled&&i.loop)f=c(l);else if(d){const p=t.slides.filter(m=>m.column===l)[0];let h=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(t.slides.indexOf(p),0)),f=Math.floor(h/i.grid.rows)}else if(t.slides[l]){const p=t.slides[l].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=l}else f=l;Object.assign(t,{previousSnapIndex:a,snapIndex:u,previousRealIndex:s,realIndex:f,previousIndex:o,activeIndex:l}),t.initialized&&Cg(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function mN(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(a=>{!i&&a.matches&&a.matches(`.${r.slideClass}, swiper-slide`)&&(i=a)});let o=!1,s;if(i){for(let a=0;al?c=l:r&&es?a="next":o"u"&&(t=o.params.speed);const m=Math.min(o.params.slidesPerGroupSkip,s);let x=m+Math.floor((s-m)/o.params.slidesPerGroup);x>=l.length&&(x=l.length-1);const g=-l[x];if(a.normalizeSlideIndex)for(let v=0;v=C&&w=C&&w=C&&(s=v)}if(o.initialized&&s!==d&&(!o.allowSlideNext&&(f?g>o.translate&&g>o.minTranslate():go.translate&&g>o.maxTranslate()&&(d||0)!==s))return!1;s!==(c||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(g);let y;if(s>d?y="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[v?"scrollLeft":"scrollTop"]=w})):p[v?"scrollLeft":"scrollTop"]=w,C&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return S2({swiper:o,targetPosition:w,side:v?"left":"top"}),!0;p.scrollTo({[v?"left":"top"]:w,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(g),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,y),t===0?o.transitionEnd(n,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(w){!o||o.destroyed||w.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,y))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function MN(e,t,n,r){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this;if(i.destroyed)return;typeof t>"u"&&(t=i.params.speed);const o=i.grid&&i.params.grid&&i.params.grid.rows>1;let s=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)s=s+i.virtual.slidesBefore;else{let a;if(o){const f=s*i.params.grid.rows;a=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=i.getSlideIndexByData(s);const l=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let d=l-ap.getAttribute("data-swiper-slide-index")*1===f)[0].column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame(()=>{i.slideTo(s,t,n,r)}),i}function _N(e,t,n){t===void 0&&(t=!0);const r=this,{enabled:i,params:o,animating:s}=r;if(!i||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let a=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return o.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function RN(e,t,n){t===void 0&&(t=!0);const r=this,{params:i,snapGrid:o,slidesGrid:s,rtlTranslate:a,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=a?r.translate:-r.translate;function f(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const p=f(d),h=o.map(g=>f(g));let m=o[h.indexOf(p)-1];if(typeof m>"u"&&i.cssMode){let g;o.forEach((y,v)=>{p>=y&&(g=v)}),typeof g<"u"&&(m=o[g>0?g-1:g])}let x=0;if(typeof m<"u"&&(x=s.indexOf(m),x<0&&(x=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(x=x-r.slidesPerViewDynamic("previous",!0)+1,x=Math.max(x,0))),i.rewind&&r.isBeginning){const g=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(g,e,t,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(x,e,t,n)}),!0;return r.slideTo(x,e,t,n)}function ON(e,t,n){t===void 0&&(t=!0);const r=this;if(!r.destroyed)return typeof e>"u"&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function AN(e,t,n,r){t===void 0&&(t=!0),r===void 0&&(r=.5);const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);let o=i.activeIndex;const s=Math.min(i.params.slidesPerGroupSkip,o),a=s+Math.floor((o-s)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const u=i.snapGrid[a],c=i.snapGrid[a+1];l-u>(c-u)*r&&(o+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];l-u<=(c-u)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)}function IN(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.clickedIndex,o;const s=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(Sr(n,`${s}[data-swiper-slide-index="${o}"]`)[0]),Sg(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(Sr(n,`${s}[data-swiper-slide-index="${o}"]`)[0]),Sg(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var $N={slideTo:kN,slideToLoop:MN,slideNext:_N,slidePrev:RN,slideReset:ON,slideToClosest:AN,slideToClickedSlide:IN};function LN(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{Sr(r,`.${n.slideClass}, swiper-slide`).forEach((d,f)=>{d.setAttribute("data-swiper-slide-index",f)})},o=t.grid&&n.grid&&n.grid.rows>1,s=n.slidesPerGroup*(o?n.grid.rows:1),a=t.slides.length%s!==0,l=o&&t.slides.length%n.grid.rows!==0,u=c=>{for(let d=0;d1;u.length"u"?o=l.getSlideIndex(u.filter(L=>L.classList.contains(p.slideActiveClass))[0]):C=o;const E=r==="next"||!r,T=r==="prev"||!r;let P=0,k=0;const M=y?Math.ceil(u.length/p.grid.rows):u.length,I=(y?u[o].column:o)+(h&&typeof i>"u"?-m/2+.5:0);if(I=0;N-=1)u[N].column===B&&v.push(N)}else v.push(M-D-1)}}else if(I+m>M-g){k=Math.max(I-(M-g*2),x);for(let L=0;L{B.column===D&&w.push(N)}):w.push(D)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),T&&v.forEach(L=>{u[L].swiperLoopMoveDOM=!0,f.prepend(u[L]),u[L].swiperLoopMoveDOM=!1}),E&&w.forEach(L=>{u[L].swiperLoopMoveDOM=!0,f.append(u[L]),u[L].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():y&&(v.length>0&&T||w.length>0&&E)&&l.slides.forEach((L,D)=>{l.grid.updateSlide(D,L,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),n){if(v.length>0&&T){if(typeof t>"u"){const L=l.slidesGrid[C],B=l.slidesGrid[C+P]-L;a?l.setTranslate(l.translate-B):(l.slideTo(C+Math.ceil(P),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-B,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-B))}else if(i){const L=y?v.length/p.grid.rows:v.length;l.slideTo(l.activeIndex+L,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&E)if(typeof t>"u"){const L=l.slidesGrid[C],B=l.slidesGrid[C-k]-L;a?l.setTranslate(l.translate-B):(l.slideTo(C-k,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-B,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-B))}else{const L=y?w.length/p.grid.rows:w.length;l.slideTo(l.activeIndex-L,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!s){const L={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(D=>{!D.destroyed&&D.params.loop&&D.loopFix({...L,slideTo:D.params.slidesPerView===p.slidesPerView?n:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...L,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?n:!1})}l.emit("loopFix")}function DN(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(i=>{const o=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[o]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var FN={loopCreate:LN,loopFix:jN,loopDestroy:DN};function NN(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function zN(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var VN={setGrabCursor:NN,unsetGrabCursor:zN};function BN(e,t){t===void 0&&(t=this);function n(r){if(!r||r===Mr()||r===cn())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(e);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(t)}function jw(e,t,n){const r=cn(),{params:i}=e,o=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return o&&(n<=s||n>=r.innerWidth-s)?o==="prevent"?(t.preventDefault(),!0):!1:!0}function UN(e){const t=this,n=Mr();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){jw(t,r,r.targetTouches[0].pageX);return}const{params:o,touches:s,enabled:a}=t;if(!a||!o.simulateTouch&&r.pointerType==="mouse"||t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let l=r.target;if(o.touchEventsTarget==="wrapper"&&!t.wrapperEl.contains(l)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!o.noSwipingClass&&o.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const d=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(o.noSwiping&&(f?BN(d,l):l.closest(d))){t.allowClick=!0;return}if(o.swipeHandler&&!l.closest(o.swipeHandler))return;s.currentX=r.pageX,s.currentY=r.pageY;const p=s.currentX,h=s.currentY;if(!jw(t,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=p,s.startY=h,i.touchStartTime=Ad(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let m=!0;l.matches(i.focusableElements)&&(m=!1,l.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==l&&n.activeElement.blur();const x=m&&t.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||x)&&!l.isContentEditable&&r.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function WN(e){const t=Mr(),n=this,r=n.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:a}=n;if(!a||!i.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].filter(E=>E.identifier===r.touchId)[0],!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const c=u.pageX,d=u.pageY;if(l.preventedByNestedSwiper){o.startX=c,o.startY=d;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(o,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=Ad());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(do.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(co.startX&&n.translate>=n.minTranslate())return}if(t.activeElement&&l.target===t.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=c,o.currentY=d;const f=o.currentX-o.startX,p=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(f**2+p**2)"u"){let E;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:f*f+p*p>=25&&(E=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?E>i.touchAngle:90-E>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let h=n.isHorizontal()?f:p,m=n.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(h=Math.abs(h)*(s?1:-1),m=Math.abs(m)*(s?1:-1)),o.diff=h,h*=i.touchRatio,s&&(h=-h,m=-m);const x=n.touchesDirection;n.swipeDirection=h>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const g=n.params.loop&&!i.cssMode,y=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(g&&y&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(E)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}let v;if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&x!==n.touchesDirection&&g&&y&&Math.abs(h)>=1){Object.assign(o,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=h+r.startTranslate;let w=!0,C=i.resistanceRatio;if(i.touchReleaseOnEdges&&(C=0),h>0?(g&&y&&!v&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+h)**C))):h<0&&(g&&y&&!v&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(h)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function HN(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(C=>C.identifier===n.touchId)[0],!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:s,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c||!s.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}s.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=Ad(),f=d-n.touchStartTime;if(t.allowClick){const C=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(C&&C[0]||r.target,C),t.emit("tap click",r),f<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=Ad(),Sg(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||a.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let p;if(s.followFinger?p=l?t.translate:-t.translate:p=-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:p});return}const h=p>=-t.maxTranslate()&&!t.params.loop;let m=0,x=t.slidesSizesGrid[0];for(let C=0;C=u[C]&&p=u[C])&&(m=C,x=u[u.length-1]-u[u.length-2])}let g=null,y=null;s.rewind&&(t.isBeginning?y=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const v=(p-u[m])/x,w=ms.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(v>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?g:m+w):t.slideTo(m)),t.swipeDirection==="prev"&&(v>1-s.longSwipesRatio?t.slideTo(m+w):y!==null&&v<0&&Math.abs(v)>s.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!s.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(m+w):t.slideTo(m):(t.swipeDirection==="next"&&t.slideTo(g!==null?g:m+w),t.swipeDirection==="prev"&&t.slideTo(y!==null?y:m))}}function Dw(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=s&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!a?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function GN(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function qN(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const o=e.maxTranslate()-e.minTranslate();o===0?i=0:i=(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function KN(e){const t=this;Fc(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function QN(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const T2=(e,t)=>{const n=Mr(),{params:r,el:i,wrapperEl:o,device:s}=e,a=!!r.nested,l=t==="on"?"addEventListener":"removeEventListener",u=t;n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",e.onClick,!0),r.cssMode&&o[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Dw,!0):e[u]("observerUpdate",Dw,!0),i[l]("load",e.onLoad,{capture:!0})};function YN(){const e=this,{params:t}=e;e.onTouchStart=UN.bind(e),e.onTouchMove=WN.bind(e),e.onTouchEnd=HN.bind(e),e.onDocumentTouchStart=QN.bind(e),t.cssMode&&(e.onScroll=qN.bind(e)),e.onClick=GN.bind(e),e.onLoad=KN.bind(e),T2(e,"on")}function XN(){T2(this,"off")}var ZN={attachEvents:YN,detachEvents:XN};const Fw=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function JN(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,o=r.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const s=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const l=(s in o?o[s]:void 0)||e.originalParams,u=Fw(e,r),c=Fw(e,l),d=e.params.grabCursor,f=l.grabCursor,p=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!f?e.unsetGrabCursor():!d&&f&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(v=>{if(typeof l[v]>"u")return;const w=r[v]&&r[v].enabled,C=l[v]&&l[v].enabled;w&&!C&&e[v].disable(),!w&&C&&e[v].enable()});const h=l.direction&&l.direction!==r.direction,m=r.loop&&(l.slidesPerView!==r.slidesPerView||h),x=r.loop;h&&n&&e.changeDirection(),Zt(e.params,l);const g=e.params.enabled,y=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!g?e.disable():!p&&g&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",l),n&&(m?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!x&&y?(e.loopCreate(t),e.updateSlides()):x&&!y&&e.loopDestroy()),e.emit("breakpoint",l)}function ez(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=cn(),o=t==="window"?i.innerHeight:n.clientHeight,s=Object.keys(e).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:o*l,point:a}}return{value:a,point:a}});s.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(t+i)}):typeof r=="string"&&n.push(t+r)}),n}function rz(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:o}=e,s=nz(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),i.classList.add(...t),e.emitContainerClasses()}function iz(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var oz={addClasses:rz,removeClasses:iz};function sz(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,o=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>o}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var az={checkOverflow:sz},Eg={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function lz(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],o=r[i];if(typeof o!="object"||o===null){Zt(t,r);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),!(i in e&&"enabled"in o)){Zt(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),Zt(t,r)}}const Ch={eventsEmitter:oN,update:gN,translate:SN,transition:TN,slide:$N,loop:FN,grabCursor:VN,events:ZN,breakpoints:tz,checkOverflow:az,classes:oz},Eh={};let Hv=class mr{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),o=0;o1){const c=[];return s.querySelectorAll(n.el).forEach(d=>{const f=Zt({},n,{el:d});c.push(new mr(f))}),c}const a=this;a.__swiper__=!0,a.support=C2(),a.device=E2({userAgent:n.userAgent}),a.browser=nN(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const l={};a.modules.forEach(c=>{c({params:n,swiper:a,extendParams:lz(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=Zt({},Eg,l);return a.params=Zt({},u,Eh,n),a.originalParams=Zt({},a.params),a.passedParams=Zt({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,i=Sr(n,`.${r.slideClass}, swiper-slide`),o=$w(i[0]);return $w(t)-o}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===t)[0])}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=Sr(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const i=r.minTranslate(),s=(r.maxTranslate()-i)*t+i;r.translateTo(s,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const i=t.getSlideClasses(r);n.push({slideEl:r,classNames:i}),t.emit("_slideClass",r,i)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:o,slidesGrid:s,slidesSizesGrid:a,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=o[u]?Math.ceil(o[u].swiperSlideSize):0,f;for(let p=u+1;pl&&(f=!0));for(let p=u-1;p>=0;p-=1)o[p]&&!f&&(d+=o[p].swiperSlideSize,c+=1,d>l&&(f=!0))}else if(t==="current")for(let d=u+1;d=0;d-=1)s[u]-s[d]{s.complete&&Fc(t,s)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const s=t.rtlTranslate?t.translate*-1:t.translate,a=Math.min(Math.max(s,t.maxTranslate()),t.minTranslate());t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}let o;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const s=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;o=t.slideTo(s.length-1,0,!1,!0)}else o=t.slideTo(t.activeIndex,0,!1,!0);o||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(o=>{t==="vertical"?o.style.width="":o.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):Sr(r,i())[0];return!s&&n.params.createElements&&(s=$d("div",n.params.wrapperClass),r.append(s),Sr(r,`.${n.params.slideClass}`).forEach(a=>{s.append(a)})),Object.assign(n,{el:r,wrapperEl:s,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:s,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||gi(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||gi(r,"direction")==="rtl"),wrongRTL:gi(s,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(o=>{o.complete?Fc(n,o):o.addEventListener("load",s=>{Fc(n,s.target)})}),Cg(n),n.initialized=!0,Cg(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:i,el:o,wrapperEl:s,slides:a}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),o.removeAttribute("style"),s.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),t!==!1&&(r.el.swiper=null,G6(r)),r.destroyed=!0),null}static extendDefaults(t){Zt(Eh,t)}static get extendedDefaults(){return Eh}static get defaults(){return Eg}static installModule(t){mr.prototype.__modules__||(mr.prototype.__modules__=[]);const n=mr.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>mr.installModule(n)),mr):(mr.installModule(t),mr)}};Object.keys(Ch).forEach(e=>{Object.keys(Ch[e]).forEach(t=>{Hv.prototype[t]=Ch[e][t]})});Hv.use([rN,iN]);const k2=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Oo(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Ss(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:Oo(t[r])&&Oo(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:Ss(e[r],t[r]):e[r]=t[r]})}function M2(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function _2(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function R2(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function O2(e){e===void 0&&(e="");const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function uz(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function cz(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:o,prevEl:s,scrollbarEl:a,paginationEl:l}=e;const u=i.filter(k=>k!=="children"&&k!=="direction"&&k!=="wrapperClass"),{params:c,pagination:d,navigation:f,scrollbar:p,virtual:h,thumbs:m}=t;let x,g,y,v,w,C,E,T;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(x=!0),i.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(g=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(y=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(v=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||s)&&(r.navigation.nextEl||o)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(w=!0);const P=k=>{t[k]&&(t[k].destroy(),k==="navigation"?(t.isElement&&(t[k].prevEl.remove(),t[k].nextEl.remove()),c[k].prevEl=void 0,c[k].nextEl=void 0,t[k].prevEl=void 0,t[k].nextEl=void 0):(t.isElement&&t[k].el.remove(),c[k].el=void 0,t[k].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!r.loop?C=!0:!c.loop&&r.loop?E=!0:T=!0),u.forEach(k=>{if(Oo(c[k])&&Oo(r[k]))Object.assign(c[k],r[k]),(k==="navigation"||k==="pagination"||k==="scrollbar")&&"enabled"in r[k]&&!r[k].enabled&&P(k);else{const M=r[k];(M===!0||M===!1)&&(k==="navigation"||k==="pagination"||k==="scrollbar")?M===!1&&P(k):c[k]=r[k]}}),u.includes("controller")&&!g&&t.controller&&t.controller.control&&c.controller&&c.controller.control&&(t.controller.control=c.controller.control),i.includes("children")&&n&&h&&c.virtual.enabled?(h.slides=n,h.update(!0)):i.includes("virtual")&&h&&c.virtual.enabled&&(n&&(h.slides=n),h.update(!0)),i.includes("children")&&n&&c.loop&&(T=!0),x&&m.init()&&m.update(!0),g&&(t.controller.control=c.controller.control),y&&(t.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),t.el.appendChild(l)),l&&(c.pagination.el=l),d.init(),d.render(),d.update()),v&&(t.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),t.el.appendChild(a)),a&&(c.scrollbar.el=a),p.init(),p.updateSize(),p.setTranslate()),w&&(t.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=t.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),t.el.appendChild(o)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=t.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),t.el.appendChild(s))),o&&(c.navigation.nextEl=o),s&&(c.navigation.prevEl=s),f.init(),f.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(C||T)&&t.loopDestroy(),(E||T)&&t.loopCreate(),t.update()}function dz(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};Ss(n,Eg),n._emitClasses=!0,n.init=!1;const o={},s=k2.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(s.indexOf(l)>=0?Oo(e[l])?(n[l]={},i[l]={},Ss(n[l],e[l]),Ss(i[l],e[l])):(n[l]=e[l],i[l]=e[l]):l.search(/on[A-Z]/)===0&&typeof e[l]=="function"?t?r[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:n.on[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:o[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:i,rest:o,events:r}}function fz(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:a}=e;M2(t)&&r&&i&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),_2(t)&&o&&(a.params.pagination.el=o,a.originalParams.pagination.el=o),R2(t)&&s&&(a.params.scrollbar.el=s,a.originalParams.scrollbar.el=s),a.init(n)}function pz(e,t,n,r,i){const o=[];if(!t)return o;const s=l=>{o.indexOf(l)<0&&o.push(l)};if(n&&r){const l=r.map(i),u=n.map(i);l.join("")!==u.join("")&&s("children"),r.length!==n.length&&s("children")}return k2.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(Oo(e[l])&&Oo(t[l])){const u=Object.keys(e[l]),c=Object.keys(t[l]);u.length!==c.length?s(l):(u.forEach(d=>{e[l][d]!==t[l][d]&&s(l)}),c.forEach(d=>{e[l][d]!==t[l][d]&&s(l)}))}else e[l]!==t[l]&&s(l)}),o}const hz=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function Ld(){return Ld=Object.assign?Object.assign.bind():function(e){for(var t=1;t{A2(n)?t.push(n):n.props&&n.props.children&&I2(n.props.children).forEach(r=>t.push(r))}),t}function mz(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return W.Children.toArray(e).forEach(r=>{if(A2(r))t.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const i=I2(r.props.children);i.length>0?i.forEach(o=>t.push(o)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function gz(e,t,n){if(!n)return null;const r=c=>{let d=c;return c<0?d=t.length+c:d>=t.length&&(d=d-t.length),d},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:o,to:s}=n,a=e.params.loop?-t.length:0,l=e.params.loop?t.length*2:t.length,u=[];for(let c=a;c=o&&c<=s&&u.push(t[r(c)]);return u.map((c,d)=>W.cloneElement(c,{swiper:e,style:i,key:c.props.virtualIndex||c.key||`slide-${d}`}))}function rl(e,t){return typeof window>"u"?b.useEffect(e,t):b.useLayoutEffect(e,t)}const Nw=b.createContext(null),vz=b.createContext(null),$2=b.forwardRef(function(e,t){let{className:n,tag:r="div",wrapperTag:i="div",children:o,onSwiper:s,...a}=e===void 0?{}:e,l=!1;const[u,c]=b.useState("swiper"),[d,f]=b.useState(null),[p,h]=b.useState(!1),m=b.useRef(!1),x=b.useRef(null),g=b.useRef(null),y=b.useRef(null),v=b.useRef(null),w=b.useRef(null),C=b.useRef(null),E=b.useRef(null),T=b.useRef(null),{params:P,passedParams:k,rest:M,events:A}=dz(a),{slides:I,slots:L}=mz(o),D=()=>{h(!p)};Object.assign(P.on,{_containerClasses($,z){c(z)}});const B=()=>{Object.assign(P.on,A),l=!0;const $={...P};if(delete $.wrapperClass,g.current=new Hv($),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=I;const z={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};Ss(g.current.params.virtual,z),Ss(g.current.originalParams.virtual,z)}};x.current||B(),g.current&&g.current.on("_beforeBreakpoint",D);const N=()=>{l||!A||!g.current||Object.keys(A).forEach($=>{g.current.on($,A[$])})},H=()=>{!A||!g.current||Object.keys(A).forEach($=>{g.current.off($,A[$])})};b.useEffect(()=>()=>{g.current&&g.current.off("_beforeBreakpoint",D)}),b.useEffect(()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)}),rl(()=>{if(t&&(t.current=x.current),!!x.current)return g.current.destroyed&&B(),fz({el:x.current,nextEl:w.current,prevEl:C.current,paginationEl:E.current,scrollbarEl:T.current,swiper:g.current},P),s&&!g.current.destroyed&&s(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}},[]),rl(()=>{N();const $=pz(k,y.current,I,v.current,z=>z.key);return y.current=k,v.current=I,$.length&&g.current&&!g.current.destroyed&&cz({swiper:g.current,slides:I,passedParams:k,changedParams:$,nextEl:w.current,prevEl:C.current,scrollbarEl:T.current,paginationEl:E.current}),()=>{H()}}),rl(()=>{hz(g.current)},[d]);function O(){return P.virtual?gz(g.current,I,d):I.map(($,z)=>W.cloneElement($,{swiper:g.current,swiperSlideIndex:z}))}return W.createElement(r,Ld({ref:x,className:O2(`${u}${n?` ${n}`:""}`)},M),W.createElement(vz.Provider,{value:g.current},L["container-start"],W.createElement(i,{className:uz(P.wrapperClass)},L["wrapper-start"],O(),L["wrapper-end"]),M2(P)&&W.createElement(W.Fragment,null,W.createElement("div",{ref:C,className:"swiper-button-prev"}),W.createElement("div",{ref:w,className:"swiper-button-next"})),R2(P)&&W.createElement("div",{ref:T,className:"swiper-scrollbar"}),_2(P)&&W.createElement("div",{ref:E,className:"swiper-pagination"}),L["container-end"]))});$2.displayName="Swiper";const L2=b.forwardRef(function(e,t){let{tag:n="div",children:r,className:i="",swiper:o,zoom:s,lazy:a,virtualIndex:l,swiperSlideIndex:u,...c}=e===void 0?{}:e;const d=b.useRef(null),[f,p]=b.useState("swiper-slide"),[h,m]=b.useState(!1);function x(w,C,E){C===d.current&&p(E)}rl(()=>{if(typeof u<"u"&&(d.current.swiperSlideIndex=u),t&&(t.current=d.current),!(!d.current||!o)){if(o.destroyed){f!=="swiper-slide"&&p("swiper-slide");return}return o.on("_slideClass",x),()=>{o&&o.off("_slideClass",x)}}}),rl(()=>{o&&d.current&&!o.destroyed&&p(o.getSlideClasses(d.current))},[o]);const g={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},y=()=>typeof r=="function"?r(g):r,v=()=>{m(!0)};return W.createElement(n,Ld({ref:d,className:O2(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":l,onLoad:v},c),s&&W.createElement(Nw.Provider,{value:g},W.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&W.createElement(Nw.Provider,{value:g},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"})))});L2.displayName="SwiperSlide";function yz(e){let{swiper:t,extendParams:n,on:r,emit:i,params:o}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,a,l=o&&o.autoplay?o.autoplay.delay:3e3,u=o&&o.autoplay?o.autoplay.delay:3e3,c,d=new Date().getTime(),f,p,h,m,x,g,y;function v(O){!t||t.destroyed||!t.wrapperEl||O.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",v),!y&&M())}const w=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?f=!0:f&&(u=c,f=!1);const O=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=O,i("autoplayTimeLeft",O,O/l),a=requestAnimationFrame(()=>{w()})},C=()=>{let O;return t.virtual&&t.params.virtual.enabled?O=t.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:O=t.slides[t.activeIndex],O?parseInt(O.getAttribute("data-swiper-autoplay"),10):void 0},E=O=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(a),w();let $=typeof O>"u"?t.params.autoplay.delay:O;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const z=C();!Number.isNaN(z)&&z>0&&typeof O>"u"&&($=z,l=z,u=z),c=$;const K=t.params.speed,ne=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(K,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,K,!0,!0),i("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(K,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,K,!0,!0),i("autoplay")),t.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{E()})))};return $>0?(clearTimeout(s),s=setTimeout(()=>{ne()},$)):requestAnimationFrame(()=>{ne()}),$},T=()=>{d=new Date().getTime(),t.autoplay.running=!0,E(),i("autoplayStart")},P=()=>{t.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),i("autoplayStop")},k=(O,$)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(s),O||(g=!0);const z=()=>{i("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",v):M()};if(t.autoplay.paused=!0,$){x&&(c=t.params.autoplay.delay),x=!1,z();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-d),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),z())},M=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(d=new Date().getTime(),g?(g=!1,E(c)):E(),t.autoplay.paused=!1,i("autoplayResume"))},A=()=>{if(t.destroyed||!t.autoplay.running)return;const O=Mr();O.visibilityState==="hidden"&&(g=!0,k(!0)),O.visibilityState==="visible"&&M()},I=O=>{O.pointerType==="mouse"&&(g=!0,y=!0,!(t.animating||t.autoplay.paused)&&k(!0))},L=O=>{O.pointerType==="mouse"&&(y=!1,t.autoplay.paused&&M())},D=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",I),t.el.addEventListener("pointerleave",L))},B=()=>{t.el.removeEventListener("pointerenter",I),t.el.removeEventListener("pointerleave",L)},N=()=>{Mr().addEventListener("visibilitychange",A)},H=()=>{Mr().removeEventListener("visibilitychange",A)};r("init",()=>{t.params.autoplay.enabled&&(D(),N(),T())}),r("destroy",()=>{B(),H(),t.autoplay.running&&P()}),r("_freeModeStaticRelease",()=>{(h||g)&&M()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?P():k(!0,!0)}),r("beforeTransitionStart",(O,$,z)=>{t.destroyed||!t.autoplay.running||(z||!t.params.autoplay.disableOnInteraction?k(!0,!0):P())}),r("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){P();return}p=!0,h=!1,g=!1,m=setTimeout(()=>{g=!0,h=!0,k(!0)},200)}}),r("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(s),t.params.autoplay.disableOnInteraction){h=!1,p=!1;return}h&&t.params.cssMode&&M(),h=!1,p=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(x=!0)}),Object.assign(t.autoplay,{start:T,stop:P,pause:k,resume:M})}function xz(e){const{effect:t,swiper:n,on:r,setTranslate:i,setTransition:o,overwriteParams:s,perspective:a,recreateShadows:l,getEffectParams:u}=e;r("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),a&&a()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const d=s?s():{};Object.assign(n.params,d),Object.assign(n.originalParams,d)}),r("setTranslate",()=>{n.params.effect===t&&i()}),r("setTransition",(d,f)=>{n.params.effect===t&&o(f)}),r("transitionEnd",()=>{if(n.params.effect===t&&l){if(!u||!u().slideShadows)return;n.slides.forEach(d=>{d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>f.remove())}),l()}});let c;r("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(c=!0),requestAnimationFrame(()=>{c&&n.slides&&n.slides.length&&(i(),c=!1)}))})}function wz(e,t){const n=Wv(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function zw(e,t,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=Wv(t);let o=i.querySelector(`.${r.split(" ").join(".")}`);return o||(o=$d("div",r.split(" ")),i.append(o)),o}function bz(e){let{swiper:t,extendParams:n,on:r}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),xz({effect:"coverflow",swiper:t,on:r,setTranslate:()=>{const{width:s,height:a,slides:l,slidesSizesGrid:u}=t,c=t.params.coverflowEffect,d=t.isHorizontal(),f=t.translate,p=d?-f+s/2:-f+a/2,h=d?c.rotate:-c.rotate,m=c.depth;for(let x=0,g=l.length;x0?E:0),H&&(H.style.opacity=-E>0?-E:0)}}},setTransition:s=>{t.slides.map(l=>Wv(l)).forEach(l=>{l.style.transitionDuration=`${s}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${s}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Sz(e){let t=`${e.firstName}-${e.lastName}`;return t=t.toLowerCase().replace(" ","-"),`${da.getUri()}/team-images/${t}.jpeg`}function Cz(e){let t="";return t=e.leadership.join(", "),t}function Ez(e){const[t,n]=W.useState([]);return W.useEffect(()=>{da.get("members/leaders/").then(r=>{n(()=>r.data)})},[]),S.jsxs(Q,{...e,sx:{...e==null?void 0:e.sx,borderRadius:"35px",display:"flex",flexDirection:"column",gap:"15px",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"},children:[S.jsx(ce,{sx:{fontSize:"3rem",fontWeight:"bold",marginBottom:"30px"},children:"Our Team"}),t.length<1?S.jsx(S.Fragment,{}):S.jsx($2,{modules:[bz,yz],effect:"coverflow",centeredSlides:!0,loop:!0,loopAdditionalSlides:2,slidesPerView:"auto",spaceBetween:3,coverflowEffect:{rotate:0,stretch:0,depth:200,modifier:1},autoplay:{delay:1200,disableOnInteraction:!1},children:t.map(r=>S.jsx(L2,{children:S.jsxs(Q,{sx:{position:"relative",overflow:"hidden",width:"100%"},children:[S.jsx("img",{src:Sz(r),alt:"member_image"}),S.jsxs(Q,{sx:{position:"absolute",bottom:"0px",color:"white",width:"100%",height:"130px",left:"50%",transform:"translateX(-50%)",background:"linear-gradient(to top, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.2) 90%, rgba(0, 0, 0, 0) 100%)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"end",textAlign:"center",paddingBottom:"20px"},children:[S.jsx(ce,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:`${r.firstName} ${r.lastName}`}),S.jsx(ce,{sx:{fontSize:"1rem"},children:Cz(r)})]})]})}))})]})}var Pz=Object.defineProperty,Tz=(e,t)=>{for(var n in t)Pz(e,n,{get:t[n],enumerable:!0})},Gn={};Tz(Gn,{assign:()=>_z,colors:()=>Mi,createStringInterpolator:()=>Zv,skipAnimation:()=>B2,to:()=>V2,willAdvance:()=>Jv});var Gv=Ou(),te=e=>Ru(e,Gv),qv=Ou();te.write=e=>Ru(e,qv);var lp=Ou();te.onStart=e=>Ru(e,lp);var Kv=Ou();te.onFrame=e=>Ru(e,Kv);var Qv=Ou();te.onFinish=e=>Ru(e,Qv);var Cs=[];te.setTimeout=(e,t)=>{const n=te.now()+t,r=()=>{const o=Cs.findIndex(s=>s.cancel==r);~o&&Cs.splice(o,1),yi-=~o?1:0},i={time:n,handler:e,cancel:r};return Cs.splice(j2(n),0,i),yi+=1,D2(),i};var j2=e=>~(~Cs.findIndex(t=>t.time>e)||~Cs.length);te.cancel=e=>{lp.delete(e),Kv.delete(e),Qv.delete(e),Gv.delete(e),qv.delete(e)};te.sync=e=>{Pg=!0,te.batchedUpdates(e),Pg=!1};te.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,te.onStart(n)}return r.handler=e,r.cancel=()=>{lp.delete(n),t=null},r};var Yv=typeof window<"u"?window.requestAnimationFrame:()=>{};te.use=e=>Yv=e;te.now=typeof performance<"u"?()=>performance.now():Date.now;te.batchedUpdates=e=>e();te.catch=console.error;te.frameLoop="always";te.advance=()=>{te.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):N2()};var vi=-1,yi=0,Pg=!1;function Ru(e,t){Pg?(t.delete(e),e(0)):(t.add(e),D2())}function D2(){vi<0&&(vi=0,te.frameLoop!=="demand"&&Yv(F2))}function kz(){vi=-1}function F2(){~vi&&(Yv(F2),te.batchedUpdates(N2))}function N2(){const e=vi;vi=te.now();const t=j2(vi);if(t&&(z2(Cs.splice(0,t),n=>n.handler()),yi-=t),!yi){kz();return}lp.flush(),Gv.flush(e?Math.min(64,vi-e):16.667),Kv.flush(),qv.flush(),Qv.flush()}function Ou(){let e=new Set,t=e;return{add(n){yi+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return yi-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,yi-=t.size,z2(t,r=>r(n)&&e.add(r)),yi+=e.size,t=e)}}}function z2(e,t){e.forEach(n=>{try{t(n)}catch(r){te.catch(r)}})}function Tg(){}var Mz=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),V={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function yr(e,t){if(V.arr(e)){if(!V.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function dr(e,t,n){if(V.arr(e)){for(let r=0;rV.und(e)?[]:V.arr(e)?e:[e];function il(e,t){if(e.size){const n=Array.from(e);e.clear(),he(n,t)}}var Ba=(e,...t)=>il(e,n=>n(...t)),Xv=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Zv,V2,Mi=null,B2=!1,Jv=Tg,_z=e=>{e.to&&(V2=e.to),e.now&&(te.now=e.now),e.colors!==void 0&&(Mi=e.colors),e.skipAnimation!=null&&(B2=e.skipAnimation),e.createStringInterpolator&&(Zv=e.createStringInterpolator),e.requestAnimationFrame&&te.use(e.requestAnimationFrame),e.batchedUpdates&&(te.batchedUpdates=e.batchedUpdates),e.willAdvance&&(Jv=e.willAdvance),e.frameLoop&&(te.frameLoop=e.frameLoop)},ol=new Set,Sn=[],Ph=[],jd=0,up={get idle(){return!ol.size&&!Sn.length},start(e){jd>e.priority?(ol.add(e),te.onStart(Rz)):(U2(e),te(kg))},advance:kg,sort(e){if(jd)te.onFrame(()=>up.sort(e));else{const t=Sn.indexOf(e);~t&&(Sn.splice(t,1),W2(e))}},clear(){Sn=[],ol.clear()}};function Rz(){ol.forEach(U2),ol.clear(),te(kg)}function U2(e){Sn.includes(e)||W2(e)}function W2(e){Sn.splice(Oz(Sn,t=>t.priority>e.priority),0,e)}function kg(e){const t=Ph;for(let n=0;n0}function Oz(e,t){const n=e.findIndex(t);return n<0?e.length:n}var Az=(e,t,n)=>Math.min(Math.max(n,e),t),Iz={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Bn="[-+]?\\d*\\.?\\d+",Dd=Bn+"%";function cp(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var $z=new RegExp("rgb"+cp(Bn,Bn,Bn)),Lz=new RegExp("rgba"+cp(Bn,Bn,Bn,Bn)),jz=new RegExp("hsl"+cp(Bn,Dd,Dd)),Dz=new RegExp("hsla"+cp(Bn,Dd,Dd,Bn)),Fz=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Nz=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,zz=/^#([0-9a-fA-F]{6})$/,Vz=/^#([0-9a-fA-F]{8})$/;function Bz(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=zz.exec(e))?parseInt(t[1]+"ff",16)>>>0:Mi&&Mi[e]!==void 0?Mi[e]:(t=$z.exec(e))?(Ho(t[1])<<24|Ho(t[2])<<16|Ho(t[3])<<8|255)>>>0:(t=Lz.exec(e))?(Ho(t[1])<<24|Ho(t[2])<<16|Ho(t[3])<<8|Uw(t[4]))>>>0:(t=Fz.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Vz.exec(e))?parseInt(t[1],16)>>>0:(t=Nz.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=jz.exec(e))?(Vw(Bw(t[1]),cc(t[2]),cc(t[3]))|255)>>>0:(t=Dz.exec(e))?(Vw(Bw(t[1]),cc(t[2]),cc(t[3]))|Uw(t[4]))>>>0:null}function Th(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 Vw(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=Th(i,r,e+1/3),s=Th(i,r,e),a=Th(i,r,e-1/3);return Math.round(o*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function Ho(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Bw(e){return(parseFloat(e)%360+360)%360/360}function Uw(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function cc(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Ww(e){let t=Bz(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,o=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${o})`}var Bl=(e,t,n)=>{if(V.fun(e))return e;if(V.arr(e))return Bl({range:e,output:t,extrapolate:n});if(V.str(e.output[0]))return Zv(e);const r=e,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(u=>u);return u=>{const c=Wz(u,o);return Uz(u,o[c],o[c+1],i[c],i[c+1],l,s,a,r.map)}};function Uz(e,t,n,r,i,o,s,a,l){let u=l?l(e):e;if(un){if(a==="identity")return u;a==="clamp"&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u=u-t:u=(u-t)/(n-t),u=o(u),r===-1/0?u=-u:i===1/0?u=u+r:u=u*(i-r)+r,u)}function Wz(e,t){for(var n=1;n=e);++n);return n-1}var Hz=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,i=t==="end"?Math.floor(r):Math.ceil(r);return Az(0,1,i/e)},Fd=1.70158,dc=Fd*1.525,Hw=Fd+1,Gw=2*Math.PI/3,qw=2*Math.PI/4.5,fc=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,Gz={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Hw*e*e*e-Fd*e*e,easeOutBack:e=>1+Hw*Math.pow(e-1,3)+Fd*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((dc+1)*2*e-dc)/2:(Math.pow(2*e-2,2)*((dc+1)*(e*2-2)+dc)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*Gw),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*Gw)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*qw))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*qw)/2+1,easeInBounce:e=>1-fc(1-e),easeOutBounce:fc,easeInOutBounce:e=>e<.5?(1-fc(1-2*e))/2:(1+fc(2*e-1))/2,steps:Hz},Ul=Symbol.for("FluidValue.get"),Xs=Symbol.for("FluidValue.observers"),bn=e=>!!(e&&e[Ul]),Nt=e=>e&&e[Ul]?e[Ul]():e,Kw=e=>e[Xs]||null;function qz(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Wl(e,t){const n=e[Xs];n&&n.forEach(r=>{qz(r,t)})}var H2=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Kz(this,e)}},Kz=(e,t)=>G2(e,Ul,t);function fa(e,t){if(e[Ul]){let n=e[Xs];n||G2(e,Xs,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Hl(e,t){const n=e[Xs];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Xs]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var G2=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Nc=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Qz=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Qw=new RegExp(`(${Nc.source})(%|[a-z]+)`,"i"),Yz=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,dp=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,q2=e=>{const[t,n]=Xz(e);if(!t||Xv())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(n);return i||e}else{if(n&&dp.test(n))return q2(n);if(n)return n}return e},Xz=e=>{const t=dp.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},kh,Zz=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,K2=e=>{kh||(kh=Mi?new RegExp(`(${Object.keys(Mi).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(o=>Nt(o).replace(dp,q2).replace(Qz,Ww).replace(kh,Ww)),n=t.map(o=>o.match(Nc).map(Number)),i=n[0].map((o,s)=>n.map(a=>{if(!(s in a))throw Error('The arity of each "output" value must be equal');return a[s]})).map(o=>Bl({...e,output:o}));return o=>{var l;const s=!Qw.test(t[0])&&((l=t.find(u=>Qw.test(u)))==null?void 0:l.replace(Nc,""));let a=0;return t[0].replace(Nc,()=>`${i[a++](o)}${s||""}`).replace(Yz,Zz)}},ey="react-spring: ",Q2=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${ey}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},Jz=Q2(console.warn);function e8(){Jz(`${ey}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var t8=Q2(console.warn);function n8(){t8(`${ey}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function fp(e){return V.str(e)&&(e[0]=="#"||/\d/.test(e)||!Xv()&&dp.test(e)||e in(Mi||{}))}var ty=Xv()?b.useEffect:b.useLayoutEffect,r8=()=>{const e=b.useRef(!1);return ty(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function Y2(){const e=b.useState()[1],t=r8();return()=>{t.current&&e(Math.random())}}function i8(e,t){const[n]=b.useState(()=>({inputs:t,result:e()})),r=b.useRef(),i=r.current;let o=i;return o?t&&o.inputs&&o8(t,o.inputs)||(o={inputs:t,result:e()}):o=n,b.useEffect(()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)},[o]),o.result}function o8(e,t){if(e.length!==t.length)return!1;for(let n=0;nb.useEffect(e,s8),s8=[];function Yw(e){const t=b.useRef();return b.useEffect(()=>{t.current=e}),t.current}var Gl=Symbol.for("Animated:node"),a8=e=>!!e&&e[Gl]===e,Yn=e=>e&&e[Gl],ny=(e,t)=>Mz(e,Gl,t),pp=e=>e&&e[Gl]&&e[Gl].getPayload(),Z2=class{constructor(){ny(this,this)}getPayload(){return this.payload||[]}},Au=class extends Z2{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,V.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Au(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return V.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,V.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},ql=class extends Au{constructor(e){super(0),this._string=null,this._toString=Bl({output:[e,e]})}static create(e){return new ql(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(V.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=Bl({output:[this.getValue(),e]})),this._value=0,super.reset()}},Nd={dependencies:null},hp=class extends Z2{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return dr(this.source,(n,r)=>{a8(n)?t[r]=n.getValue(e):bn(n)?t[r]=Nt(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&he(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return dr(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Nd.dependencies&&bn(e)&&Nd.dependencies.add(e);const t=pp(e);t&&he(t,n=>this.add(n))}},J2=class extends hp{constructor(e){super(e)}static create(e){return new J2(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((n,r)=>n.setValue(e[r])).some(Boolean):(super.setValue(e.map(l8)),!0)}};function l8(e){return(fp(e)?ql:Au).create(e)}function Mg(e){const t=Yn(e);return t?t.constructor:V.arr(e)?J2:fp(e)?ql:Au}var Xw=(e,t)=>{const n=!V.fun(e)||e.prototype&&e.prototype.isReactComponent;return b.forwardRef((r,i)=>{const o=b.useRef(null),s=n&&b.useCallback(h=>{o.current=d8(i,h)},[i]),[a,l]=c8(r,t),u=Y2(),c=()=>{const h=o.current;if(n&&!h)return;(h?t.applyAnimatedValues(h,a.getValue(!0)):!1)===!1&&u()},d=new u8(c,l),f=b.useRef();ty(()=>(f.current=d,he(l,h=>fa(h,d)),()=>{f.current&&(he(f.current.deps,h=>Hl(h,f.current)),te.cancel(f.current.update))})),b.useEffect(c,[]),X2(()=>()=>{const h=f.current;he(h.deps,m=>Hl(m,h))});const p=t.getComponentProps(a.getValue());return b.createElement(e,{...p,ref:s})})},u8=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&te.write(this.update)}};function c8(e,t){const n=new Set;return Nd.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new hp(e),Nd.dependencies=null,[e,n]}function d8(e,t){return e&&(V.fun(e)?e(t):e.current=t),t}var Zw=Symbol.for("AnimatedComponent"),f8=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new hp(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=s=>{const a=Jw(s)||"Anonymous";return V.str(s)?s=o[s]||(o[s]=Xw(s,i)):s=s[Zw]||(s[Zw]=Xw(s,i)),s.displayName=`Animated(${a})`,s};return dr(e,(s,a)=>{V.arr(e)&&(a=Jw(s)),o[a]=o(s)}),{animated:o}},Jw=e=>V.str(e)?e:e&&V.str(e.displayName)?e.displayName:V.fun(e)&&e.name||null;function ro(e,...t){return V.fun(e)?e(...t):e}var sl=(e,t)=>e===!0||!!(t&&e&&(V.fun(e)?e(t):tn(e).includes(t))),ek=(e,t)=>V.obj(e)?t&&e[t]:e,tk=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,p8=e=>e,ry=(e,t=p8)=>{let n=h8;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const o=t(e[i],i);V.und(o)||(r[i]=o)}return r},h8=["config","onProps","onStart","onChange","onPause","onResume","onRest"],m8={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function g8(e){const t={};let n=0;if(dr(e,(r,i)=>{m8[i]||(t[i]=r,n++)}),n)return t}function nk(e){const t=g8(e);if(t){const n={to:t};return dr(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function Kl(e){return e=Nt(e),V.arr(e)?e.map(Kl):fp(e)?Gn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function v8(e){for(const t in e)return!0;return!1}function _g(e){return V.fun(e)||V.arr(e)&&V.obj(e[0])}function y8(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function x8(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var w8={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Rg={...w8.default,mass:1,damping:1,easing:Gz.linear,clamp:!1},b8=class{constructor(){this.velocity=0,Object.assign(this,Rg)}};function S8(e,t,n){n&&(n={...n},eb(n,t),t={...n,...t}),eb(e,t),Object.assign(e,t);for(const s in Rg)e[s]==null&&(e[s]=Rg[s]);let{frequency:r,damping:i}=e;const{mass:o}=e;return V.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*i*o/r),e}function eb(e,t){if(!V.und(t.decay))e.duration=void 0;else{const n=!V.und(t.tension)||!V.und(t.friction);(n||!V.und(t.frequency)||!V.und(t.damping)||!V.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var tb=[],C8=class{constructor(){this.changed=!1,this.values=tb,this.toValues=null,this.fromValues=tb,this.config=new b8,this.immediate=!1}};function rk(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((s,a)=>{let l,u,c=sl(n.cancel??(r==null?void 0:r.cancel),t);if(c)p();else{V.und(n.pause)||(i.paused=sl(n.pause,t));let h=r==null?void 0:r.pause;h!==!0&&(h=i.paused||sl(h,t)),l=ro(n.delay||0,t),h?(i.resumeQueue.add(f),o.pause()):(o.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(u),u.cancel(),l=u.time-te.now()}function f(){l>0&&!Gn.skipAnimation?(i.delayed=!0,u=te.setTimeout(p,l),i.pauseQueue.add(d),i.timeouts.add(u)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(u),e<=(i.cancelId||0)&&(c=!0);try{o.start({...n,callId:e,cancel:c},s)}catch(h){a(h)}}})}var iy=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?Es(e.get()):t.every(n=>n.noop)?ik(e.get()):Vn(e.get(),t.every(n=>n.finished)),ik=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Vn=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Es=e=>({value:e,cancelled:!0,finished:!1});function ok(e,t,n,r){const{callId:i,parentId:o,onRest:s}=t,{asyncTo:a,promise:l}=n;return!o&&e===a&&!t.reset?l:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const u=ry(t,(x,g)=>g==="onRest"?void 0:x);let c,d;const f=new Promise((x,g)=>(c=x,d=g)),p=x=>{const g=i<=(n.cancelId||0)&&Es(r)||i!==n.asyncId&&Vn(r,!1);if(g)throw x.result=g,d(x),x},h=(x,g)=>{const y=new nb,v=new rb;return(async()=>{if(Gn.skipAnimation)throw Ql(n),v.result=Vn(r,!1),d(v),v;p(y);const w=V.obj(x)?{...x}:{...g,to:x};w.parentId=i,dr(u,(E,T)=>{V.und(w[T])&&(w[T]=E)});const C=await r.start(w);return p(y),n.paused&&await new Promise(E=>{n.resumeQueue.add(E)}),C})()};let m;if(Gn.skipAnimation)return Ql(n),Vn(r,!1);try{let x;V.arr(e)?x=(async g=>{for(const y of g)await h(y)})(e):x=Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([x.then(c),f]),m=Vn(r.get(),!0,!1)}catch(x){if(x instanceof nb)m=x.result;else if(x instanceof rb)m=x.result;else throw x}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?a:void 0,n.promise=o?l:void 0)}return V.fun(s)&&te.batchedUpdates(()=>{s(m,r,r.item)}),m})()}function Ql(e,t){il(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var nb=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},rb=class extends Error{constructor(){super("SkipAnimationSignal")}},Og=e=>e instanceof oy,E8=1,oy=class extends H2{constructor(){super(...arguments),this.id=E8++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Yn(this);return e&&e.getValue()}to(...e){return Gn.to(this,e)}interpolate(...e){return e8(),Gn.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Wl(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||up.sort(this),Wl(this,{type:"priority",parent:this,priority:e})}},Ao=Symbol.for("SpringPhase"),sk=1,Ag=2,Ig=4,Mh=e=>(e[Ao]&sk)>0,Kr=e=>(e[Ao]&Ag)>0,Ra=e=>(e[Ao]&Ig)>0,ib=(e,t)=>t?e[Ao]|=Ag|sk:e[Ao]&=~Ag,ob=(e,t)=>t?e[Ao]|=Ig:e[Ao]&=~Ig,P8=class extends oy{constructor(e,t){if(super(),this.animation=new C8,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!V.und(e)||!V.und(t)){const n=V.obj(e)?{...e}:{...t,from:e};V.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Kr(this)||this._state.asyncTo)||Ra(this)}get goal(){return Nt(this.animation.to)}get velocity(){const e=Yn(this);return e instanceof Au?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return Mh(this)}get isAnimating(){return Kr(this)}get isPaused(){return Ra(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,s=pp(r.to);!s&&bn(r.to)&&(i=tn(Nt(r.to))),r.values.forEach((u,c)=>{if(u.done)return;const d=u.constructor==ql?1:s?s[c].lastPosition:i[c];let f=r.immediate,p=d;if(!f){if(p=u.lastPosition,o.tension<=0){u.done=!0;return}let h=u.elapsedTime+=e;const m=r.fromValues[c],x=u.v0!=null?u.v0:u.v0=V.arr(o.velocity)?o.velocity[c]:o.velocity;let g;const y=o.precision||(m==d?.005:Math.min(1,Math.abs(d-m)*.001));if(V.und(o.duration))if(o.decay){const v=o.decay===!0?.998:o.decay,w=Math.exp(-(1-v)*h);p=m+x/(1-v)*(1-w),f=Math.abs(u.lastPosition-p)<=y,g=x*w}else{g=u.lastVelocity==null?x:u.lastVelocity;const v=o.restVelocity||y/10,w=o.clamp?0:o.bounce,C=!V.und(w),E=m==d?u.v0>0:mv,!(!T&&(f=Math.abs(d-p)<=y,f)));++A){C&&(P=p==d||p>d==E,P&&(g=-g*w,p=d));const I=-o.tension*1e-6*(p-d),L=-o.friction*.001*g,D=(I+L)/o.mass;g=g+D*k,p=p+g*k}}else{let v=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,u.durationProgress>0&&(u.elapsedTime=o.duration*u.durationProgress,h=u.elapsedTime+=e)),v=(o.progress||0)+h/this._memoizedDuration,v=v>1?1:v<0?0:v,u.durationProgress=v),p=m+o.easing(v)*(d-m),g=(p-u.lastPosition)/e,f=v==1}u.lastVelocity=g,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),f=!0)}s&&!s[c].done&&(f=!1),f?u.done=!0:t=!1,u.setValue(p,o.round)&&(n=!0)});const a=Yn(this),l=a.getValue();if(t){const u=Nt(r.to);(l!==u||n)&&!o.decay?(a.setValue(u),this._onChange(u)):n&&o.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(e){return te.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Kr(this)){const{to:e,config:t}=this.animation;te.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return V.und(e)?(n=this.queue||[],this.queue=[]):n=[V.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>iy(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Ql(this._state,e&&this._lastCallId),te.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=V.obj(n)?n[t]:n,(n==null||_g(n))&&(n=void 0),r=V.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return Mh(this)||(e.reverse&&([n,r]=[r,n]),r=Nt(r),V.und(r)?Yn(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,ry(e,(s,a)=>/^on/.test(a)?ek(s,n):s)),ab(this,e,"onProps"),Aa(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const o=this._state;return rk(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Ra(this)||(ob(this,!0),Ba(o.pauseQueue),Aa(this,"onPause",Vn(this,Oa(this,this.animation.to)),this))},resume:()=>{Ra(this)&&(ob(this,!1),Kr(this)&&this._resume(),Ba(o.resumeQueue),Aa(this,"onResume",Vn(this,Oa(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(s=>{if(e.loop&&s.finished&&!(t&&s.noop)){const a=ak(e);if(a)return this._update(a,!0)}return s})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Es(this));const r=!V.und(e.to),i=!V.und(e.from);if(r||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(Es(this));const{key:o,defaultProps:s,animation:a}=this,{to:l,from:u}=a;let{to:c=l,from:d=u}=e;i&&!r&&(!t.default||V.und(c))&&(c=d),t.reverse&&([c,d]=[d,c]);const f=!yr(d,u);f&&(a.from=d),d=Nt(d);const p=!yr(c,l);p&&this._focus(c);const h=_g(t.to),{config:m}=a,{decay:x,velocity:g}=m;(r||i)&&(m.velocity=0),t.config&&!h&&S8(m,ro(t.config,o),t.config!==s.config?ro(s.config,o):void 0);let y=Yn(this);if(!y||V.und(c))return n(Vn(this,!0));const v=V.und(t.reset)?i&&!t.default:!V.und(d)&&sl(t.reset,o),w=v?d:this.get(),C=Kl(c),E=V.num(C)||V.arr(C)||fp(C),T=!h&&(!E||sl(s.immediate||t.immediate,o));if(p){const A=Mg(c);if(A!==y.constructor)if(T)y=this._set(C);else throw Error(`Cannot animate between ${y.constructor.name} and ${A.name}, as the "to" prop suggests`)}const P=y.constructor;let k=bn(c),M=!1;if(!k){const A=v||!Mh(this)&&f;(p||A)&&(M=yr(Kl(w),C),k=!M),(!yr(a.immediate,T)&&!T||!yr(m.decay,x)||!yr(m.velocity,g))&&(k=!0)}if(M&&Kr(this)&&(a.changed&&!v?k=!0:k||this._stop(l)),!h&&((k||bn(l))&&(a.values=y.getPayload(),a.toValues=bn(c)?null:P==ql?[1]:tn(C)),a.immediate!=T&&(a.immediate=T,!T&&!v&&this._set(l)),k)){const{onRest:A}=a;he(k8,L=>ab(this,t,L));const I=Vn(this,Oa(this,l));Ba(this._pendingCalls,I),this._pendingCalls.add(n),a.changed&&te.batchedUpdates(()=>{var L;a.changed=!v,A==null||A(I,this),v?ro(s.onRest,I):(L=a.onStart)==null||L.call(a,I,this)})}v&&this._set(w),h?n(ok(t.to,t,this._state,this)):k?this._start():Kr(this)&&!p?this._pendingCalls.add(n):n(ik(w))}_focus(e){const t=this.animation;e!==t.to&&(Kw(this)&&this._detach(),t.to=e,Kw(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;bn(t)&&(fa(t,this),Og(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;bn(e)&&Hl(e,this)}_set(e,t=!0){const n=Nt(e);if(!V.und(n)){const r=Yn(this);if(!r||!yr(n,r.getValue())){const i=Mg(n);!r||r.constructor!=i?ny(this,i.create(n)):r.setValue(n),r&&te.batchedUpdates(()=>{this._onChange(n,t)})}}return Yn(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Aa(this,"onStart",Vn(this,Oa(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),ro(this.animation.onChange,e,this)),ro(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Yn(this).reset(Nt(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),Kr(this)||(ib(this,!0),Ra(this)||this._resume())}_resume(){Gn.skipAnimation?this.finish():up.start(this)}_stop(e,t){if(Kr(this)){ib(this,!1);const n=this.animation;he(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Wl(this,{type:"idle",parent:this});const r=t?Es(this.get()):Vn(this.get(),Oa(this,e??n.to));Ba(this._pendingCalls,r),n.changed&&(n.changed=!1,Aa(this,"onRest",r,this))}}};function Oa(e,t){const n=Kl(t),r=Kl(e.get());return yr(r,n)}function ak(e,t=e.loop,n=e.to){const r=ro(t);if(r){const i=r!==!0&&nk(r),o=(i||e).reverse,s=!i||i.reset;return Yl({...e,loop:t,default:!1,pause:void 0,to:!o||_g(n)?n:void 0,from:s?e.from:void 0,reset:s,...i})}}function Yl(e){const{to:t,from:n}=e=nk(e),r=new Set;return V.obj(t)&&sb(t,r),V.obj(n)&&sb(n,r),e.keys=r.size?Array.from(r):null,e}function T8(e){const t=Yl(e);return V.und(t.default)&&(t.default=ry(t)),t}function sb(e,t){dr(e,(n,r)=>n!=null&&t.add(r))}var k8=["onStart","onRest","onChange","onPause","onResume"];function ab(e,t,n){e.animation[n]=t[n]!==tk(t,n)?ek(t[n],e.key):void 0}function Aa(e,t,...n){var r,i,o,s;(i=(r=e.animation)[t])==null||i.call(r,...n),(s=(o=e.defaultProps)[t])==null||s.call(o,...n)}var M8=["onStart","onChange","onRest"],_8=1,R8=class{constructor(e,t){this.id=_8++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];V.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Yl(e)),this}start(e){let{queue:t}=this;return e?t=tn(e).map(Yl):this.queue=[],this._flush?this._flush(this,t):(fk(this,t),$g(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;he(tn(t),r=>n[r].stop(!!e))}else Ql(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(V.und(e))this.start({pause:!0});else{const t=this.springs;he(tn(e),n=>t[n].pause())}return this}resume(e){if(V.und(e))this.start({pause:!1});else{const t=this.springs;he(tn(e),n=>t[n].resume())}return this}each(e){dr(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,il(e,([a,l])=>{l.value=this.get(),a(l,this,this._item)}));const o=!r&&this._started,s=i||o&&n.size?this.get():null;i&&t.size&&il(t,([a,l])=>{l.value=s,a(l,this,this._item)}),o&&(this._started=!1,il(n,([a,l])=>{l.value=s,a(l,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;te.onFrame(this._onFrame)}};function $g(e,t){return Promise.all(t.map(n=>lk(e,n))).then(n=>iy(e,n))}async function lk(e,t,n){const{keys:r,to:i,from:o,loop:s,onRest:a,onResolve:l}=t,u=V.obj(t.default)&&t.default;s&&(t.loop=!1),i===!1&&(t.to=null),o===!1&&(t.from=null);const c=V.arr(i)||V.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):he(M8,m=>{const x=t[m];if(V.fun(x)){const g=e._events[m];t[m]=({finished:y,cancelled:v})=>{const w=g.get(x);w?(y||(w.finished=!1),v&&(w.cancelled=!0)):g.set(x,{value:null,finished:y||!1,cancelled:v||!1})},u&&(u[m]=t[m])}});const d=e._state;t.pause===!d.paused?(d.paused=t.pause,Ba(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(r||Object.keys(e.springs)).map(m=>e.springs[m].start(t)),p=t.cancel===!0||tk(t,"cancel")===!0;(c||p&&d.asyncId)&&f.push(rk(++e._lastAsyncId,{props:t,state:d,actions:{pause:Tg,resume:Tg,start(m,x){p?(Ql(d,e._lastAsyncId),x(Es(e))):(m.onRest=a,x(ok(c,m,d,e)))}}})),d.paused&&await new Promise(m=>{d.resumeQueue.add(m)});const h=iy(e,await Promise.all(f));if(s&&h.finished&&!(n&&h.noop)){const m=ak(t,s,i);if(m)return fk(e,[m]),lk(e,m,!0)}return l&&te.batchedUpdates(()=>l(h,e,e.item)),h}function lb(e,t){const n={...e.springs};return t&&he(tn(t),r=>{V.und(r.keys)&&(r=Yl(r)),V.obj(r.to)||(r={...r,to:void 0}),dk(n,r,i=>ck(i))}),uk(e,n),n}function uk(e,t){dr(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,fa(n,e))})}function ck(e,t){const n=new P8;return n.key=e,t&&fa(n,t),n}function dk(e,t,n){t.keys&&he(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function fk(e,t){he(t,n=>{dk(e.springs,n,r=>ck(r,e))})}var mp=({children:e,...t})=>{const n=b.useContext(zd),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=i8(()=>({pause:r,immediate:i}),[r,i]);const{Provider:o}=zd;return b.createElement(o,{value:t},e)},zd=O8(mp,{});mp.Provider=zd.Provider;mp.Consumer=zd.Consumer;function O8(e,t){return Object.assign(e,b.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var A8=()=>{const e=[],t=function(r){n8();const i=[];return he(e,(o,s)=>{if(V.und(r))i.push(o.start());else{const a=n(r,o,s);a&&i.push(o.start(a))}}),i};t.current=e,t.add=function(r){e.includes(r)||e.push(r)},t.delete=function(r){const i=e.indexOf(r);~i&&e.splice(i,1)},t.pause=function(){return he(e,r=>r.pause(...arguments)),this},t.resume=function(){return he(e,r=>r.resume(...arguments)),this},t.set=function(r){he(e,(i,o)=>{const s=V.fun(r)?r(o,i):r;s&&i.set(s)})},t.start=function(r){const i=[];return he(e,(o,s)=>{if(V.und(r))i.push(o.start());else{const a=this._getProps(r,o,s);a&&i.push(o.start(a))}}),i},t.stop=function(){return he(e,r=>r.stop(...arguments)),this},t.update=function(r){return he(e,(i,o)=>i.update(this._getProps(r,i,o))),this};const n=function(r,i,o){return V.fun(r)?r(o,i):r};return t._getProps=n,t};function I8(e,t,n){const r=V.fun(t)&&t;r&&!n&&(n=[]);const i=b.useMemo(()=>r||arguments.length==3?A8():void 0,[]),o=b.useRef(0),s=Y2(),a=b.useMemo(()=>({ctrls:[],queue:[],flush(g,y){const v=lb(g,y);return o.current>0&&!a.queue.length&&!Object.keys(v).some(C=>!g.springs[C])?$g(g,y):new Promise(C=>{uk(g,v),a.queue.push(()=>{C($g(g,y))}),s()})}}),[]),l=b.useRef([...a.ctrls]),u=[],c=Yw(e)||0;b.useMemo(()=>{he(l.current.slice(e,c),g=>{y8(g,i),g.stop(!0)}),l.current.length=e,d(c,e)},[e]),b.useMemo(()=>{d(0,Math.min(c,e))},n);function d(g,y){for(let v=g;vlb(g,u[y])),p=b.useContext(mp),h=Yw(p),m=p!==h&&v8(p);ty(()=>{o.current++,a.ctrls=l.current;const{queue:g}=a;g.length&&(a.queue=[],he(g,y=>y())),he(l.current,(y,v)=>{i==null||i.add(y),m&&y.start({default:p});const w=u[v];w&&(x8(y,w.ref),y.ref?y.queue.push(w):y.start(w))})}),X2(()=>()=>{he(a.ctrls,g=>g.stop(!0))});const x=f.map(g=>({...g}));return i?[x,i]:x}function $8(e,t){const n=V.fun(e),[[r],i]=I8(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}var L8=class extends oy{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Bl(...t);const n=this._get(),r=Mg(n);ny(this,r.create(n))}advance(e){const t=this._get(),n=this.get();yr(t,n)||(Yn(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&ub(this._active)&&_h(this)}_get(){const e=V.arr(this.source)?this.source.map(Nt):tn(Nt(this.source));return this.calc(...e)}_start(){this.idle&&!ub(this._active)&&(this.idle=!1,he(pp(this),e=>{e.done=!1}),Gn.skipAnimation?(te.batchedUpdates(()=>this.advance()),_h(this)):up.start(this))}_attach(){let e=1;he(tn(this.source),t=>{bn(t)&&fa(t,this),Og(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){he(tn(this.source),e=>{bn(e)&&Hl(e,this)}),this._active.clear(),_h(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=tn(this.source).reduce((t,n)=>Math.max(t,(Og(n)?n.priority:0)+1),0))}};function j8(e){return e.idle!==!1}function ub(e){return!e.size||Array.from(e).every(j8)}function _h(e){e.idle||(e.idle=!0,he(pp(e),t=>{t.done=!0}),Wl(e,{type:"idle",parent:e}))}Gn.assign({createStringInterpolator:K2,to:(e,t)=>new L8(e,t)});var pk=/^--/;function D8(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!pk.test(e)&&!(al.hasOwnProperty(e)&&al[e])?t+"px":(""+t).trim()}var cb={};function F8(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{style:r,children:i,scrollTop:o,scrollLeft:s,viewBox:a,...l}=t,u=Object.values(l),c=Object.keys(l).map(d=>n||e.hasAttribute(d)?d:cb[d]||(cb[d]=d.replace(/([A-Z])/g,f=>"-"+f.toLowerCase())));i!==void 0&&(e.textContent=i);for(const d in r)if(r.hasOwnProperty(d)){const f=D8(d,r[d]);pk.test(d)?e.style.setProperty(d,f):e.style[d]=f}c.forEach((d,f)=>{e.setAttribute(d,u[f])}),o!==void 0&&(e.scrollTop=o),s!==void 0&&(e.scrollLeft=s),a!==void 0&&e.setAttribute("viewBox",a)}var al={animationIterationCount:!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,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},N8=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),z8=["Webkit","Ms","Moz","O"];al=Object.keys(al).reduce((e,t)=>(z8.forEach(n=>e[N8(n,t)]=e[t]),e),al);var V8=/^(matrix|translate|scale|rotate|skew)/,B8=/^(translate)/,U8=/^(rotate|skew)/,Rh=(e,t)=>V.num(e)&&e!==0?e+t:e,zc=(e,t)=>V.arr(e)?e.every(n=>zc(n,t)):V.num(e)?e===t:parseFloat(e)===t,W8=class extends hp{constructor({x:e,y:t,z:n,...r}){const i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push(s=>[`translate3d(${s.map(a=>Rh(a,"px")).join(",")})`,zc(s,0)])),dr(r,(s,a)=>{if(a==="transform")i.push([s||""]),o.push(l=>[l,l===""]);else if(V8.test(a)){if(delete r[a],V.und(s))return;const l=B8.test(a)?"px":U8.test(a)?"deg":"";i.push(tn(s)),o.push(a==="rotate3d"?([u,c,d,f])=>[`rotate3d(${u},${c},${d},${Rh(f,l)})`,zc(f,0)]:u=>[`${a}(${u.map(c=>Rh(c,l)).join(",")})`,zc(u,a.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new H8(i,o)),super(r)}},H8=class extends H2{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return he(this.inputs,(n,r)=>{const i=Nt(n[0]),[o,s]=this.transforms[r](V.arr(i)?i:n.map(Nt));e+=" "+o,t=t&&s}),t?"none":e}observerAdded(e){e==1&&he(this.inputs,t=>he(t,n=>bn(n)&&fa(n,this)))}observerRemoved(e){e==0&&he(this.inputs,t=>he(t,n=>bn(n)&&Hl(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),Wl(this,e)}},G8=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];Gn.assign({batchedUpdates:yf.unstable_batchedUpdates,createStringInterpolator:K2,colors:Iz});var q8=f8(G8,{applyAnimatedValues:F8,createAnimatedStyle:e=>new W8(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),K8=q8.animated;const Q8=K8(ce);function Oh({end:e,title:t,prefix:n,start:r,minWidth:i,alignSelf:o}){const{number:s}=$8({from:{number:r||0},number:e,config:{mass:1,tension:20,friction:10}});return S.jsx(Q,{sx:{display:"flex",justifyContent:"center",flexDirection:"column",flex:1,minWidth:i},children:S.jsxs(Q,{sx:{display:"flex",flex:1,alignItems:"center",flexDirection:"column"},children:[S.jsx(Q,{sx:{display:"flex",flex:1,alignItems:"flex-start",alignSelf:o||"center"},children:S.jsxs(Q,{sx:{flexDirection:"row",alignItems:"center",alignSelf:"center",justifyContent:"center",display:"flex",flex:1},children:[S.jsx(ce,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:n}),S.jsx(Q8,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:s.to(a=>Math.floor(a).toLocaleString("en-US"))}),S.jsx(ce,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:"+"})]})}),S.jsx(ce,{sx:{fontSize:"calc(15px + 0.5vw)",alignSelf:o||"center"},children:t})]})})}var Iu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Zs=typeof window>"u"||"Deno"in globalThis;function gn(){}function Y8(e,t){return typeof e=="function"?e(t):e}function Lg(e){return typeof e=="number"&&e>=0&&e!==1/0}function hk(e,t){return Math.max(e+(t||0)-Date.now(),0)}function db(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==sy(s,t.options))return!1}else if(!Zl(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||o&&!o(t))}function fb(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Xl(t.options.mutationKey)!==Xl(o))return!1}else if(!Zl(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function sy(e,t){return((t==null?void 0:t.queryKeyHashFn)||Xl)(e)}function Xl(e){return JSON.stringify(e,(t,n)=>Dg(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Zl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Zl(e[n],t[n])):!1}function mk(e,t){if(e===t)return e;const n=pb(e)&&pb(t);if(n||Dg(e)&&Dg(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,a=n?[]:{};let l=0;for(let u=0;u{setTimeout(t,e)})}function Fg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?mk(e,t):t}function Z8(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function J8(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ay=Symbol(),fo,ai,Ts,QS,e9=(QS=class extends Iu{constructor(){super();X(this,fo,void 0);X(this,ai,void 0);X(this,Ts,void 0);G(this,Ts,t=>{if(!Zs&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,ai)||this.setEventListener(_(this,Ts))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ai))==null||t.call(this),G(this,ai,void 0))}setEventListener(t){var n;G(this,Ts,t),(n=_(this,ai))==null||n.call(this),G(this,ai,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,fo)!==t&&(G(this,fo,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,fo)=="boolean"?_(this,fo):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},fo=new WeakMap,ai=new WeakMap,Ts=new WeakMap,QS),ly=new e9,ks,li,Ms,YS,t9=(YS=class extends Iu{constructor(){super();X(this,ks,!0);X(this,li,void 0);X(this,Ms,void 0);G(this,Ms,t=>{if(!Zs&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){_(this,li)||this.setEventListener(_(this,Ms))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,li))==null||t.call(this),G(this,li,void 0))}setEventListener(t){var n;G(this,Ms,t),(n=_(this,li))==null||n.call(this),G(this,li,t(this.setOnline.bind(this)))}setOnline(t){_(this,ks)!==t&&(G(this,ks,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,ks)}},ks=new WeakMap,li=new WeakMap,Ms=new WeakMap,YS),Vd=new t9;function n9(e){return Math.min(1e3*2**e,3e4)}function uy(e){return(e??"online")==="online"?Vd.isOnline():!0}var gk=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ah(e){return e instanceof gk}function vk(e){let t=!1,n=0,r=!1,i,o,s;const a=new Promise((x,g)=>{o=x,s=g}),l=x=>{var g;r||(p(new gk(x)),(g=e.abort)==null||g.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>!ly.isFocused()||e.networkMode!=="always"&&!Vd.isOnline(),f=x=>{var g;r||(r=!0,(g=e.onSuccess)==null||g.call(e,x),i==null||i(),o(x))},p=x=>{var g;r||(r=!0,(g=e.onError)==null||g.call(e,x),i==null||i(),s(x))},h=()=>new Promise(x=>{var g;i=y=>{const v=r||!d();return v&&x(y),v},(g=e.onPause)==null||g.call(e)}).then(()=>{var x;i=void 0,r||(x=e.onContinue)==null||x.call(e)}),m=()=>{if(r)return;let x;try{x=e.fn()}catch(g){x=Promise.reject(g)}Promise.resolve(x).then(f).catch(g=>{var E;if(r)return;const y=e.retry??(Zs?0:3),v=e.retryDelay??n9,w=typeof v=="function"?v(n,g):v,C=y===!0||typeof y=="number"&&n{if(d())return h()}).then(()=>{t?p(g):m()})})};return uy(e.networkMode)?m():h().then(m),{promise:a,cancel:l,continue:()=>(i==null?void 0:i())?a:Promise.resolve(),cancelRetry:u,continueRetry:c}}function r9(){let e=[],t=0,n=f=>{f()},r=f=>{f()},i=f=>setTimeout(f,0);const o=f=>{i=f},s=f=>{let p;t++;try{p=f()}finally{t--,t||u()}return p},a=f=>{t?e.push(f):i(()=>{n(f)})},l=f=>(...p)=>{a(()=>{f(...p)})},u=()=>{const f=e;e=[],f.length&&i(()=>{r(()=>{f.forEach(p=>{n(p)})})})};return{batch:s,batchCalls:l,schedule:a,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{r=f},setScheduler:o}}var xt=r9(),po,XS,yk=(XS=class{constructor(){X(this,po,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Lg(this.gcTime)&&G(this,po,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Zs?1/0:5*60*1e3))}clearGcTimeout(){_(this,po)&&(clearTimeout(_(this,po)),G(this,po,void 0))}},po=new WeakMap,XS),_s,Rs,pn,At,ct,ru,ho,Fn,gr,ZS,i9=(ZS=class extends yk{constructor(t){super();X(this,Fn);X(this,_s,void 0);X(this,Rs,void 0);X(this,pn,void 0);X(this,At,void 0);X(this,ct,void 0);X(this,ru,void 0);X(this,ho,void 0);G(this,ho,!1),G(this,ru,t.defaultOptions),this.setOptions(t.options),G(this,ct,[]),G(this,pn,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,_s,t.state||o9(this.options)),this.state=_(this,_s),this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={..._(this,ru),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!_(this,ct).length&&this.state.fetchStatus==="idle"&&_(this,pn).remove(this)}setData(t,n){const r=Fg(this.state.data,t,this.options);return pe(this,Fn,gr).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){pe(this,Fn,gr).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=_(this,At))==null?void 0:r.promise;return(i=_(this,At))==null||i.cancel(t),n?n.then(gn).catch(gn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,_s))}isActive(){return _(this,ct).some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?_(this,ct).some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!hk(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=_(this,ct).find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,At))==null||n.continue()}onOnline(){var n;const t=_(this,ct).find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,At))==null||n.continue()}addObserver(t){_(this,ct).includes(t)||(_(this,ct).push(t),this.clearGcTimeout(),_(this,pn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){_(this,ct).includes(t)&&(G(this,ct,_(this,ct).filter(n=>n!==t)),_(this,ct).length||(_(this,At)&&(_(this,ho)?_(this,At).cancel({revert:!0}):_(this,At).cancelRetry()),this.scheduleGc()),_(this,pn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return _(this,ct).length}invalidate(){this.state.isInvalidated||pe(this,Fn,gr).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,At))return _(this,At).continueRetry(),_(this,At).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=_(this,ct).find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i={queryKey:this.queryKey,meta:this.meta},o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(G(this,ho,!0),r.signal)})};o(i);const s=()=>!this.options.queryFn||this.options.queryFn===ay?Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`)):(G(this,ho,!1),this.options.persister?this.options.persister(this.options.queryFn,i,this):this.options.queryFn(i)),a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};o(a),(u=this.options.behavior)==null||u.onFetch(a,this),G(this,Rs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&pe(this,Fn,gr).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var p,h,m,x;Ah(f)&&f.silent||pe(this,Fn,gr).call(this,{type:"error",error:f}),Ah(f)||((h=(p=_(this,pn).config).onError)==null||h.call(p,f,this),(x=(m=_(this,pn).config).onSettled)==null||x.call(m,this.state.data,f,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return G(this,At,vk({fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,h,m,x;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}this.setData(f),(h=(p=_(this,pn).config).onSuccess)==null||h.call(p,f,this),(x=(m=_(this,pn).config).onSettled)==null||x.call(m,f,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(f,p)=>{pe(this,Fn,gr).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{pe(this,Fn,gr).call(this,{type:"pause"})},onContinue:()=>{pe(this,Fn,gr).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode})),_(this,At).promise}},_s=new WeakMap,Rs=new WeakMap,pn=new WeakMap,At=new WeakMap,ct=new WeakMap,ru=new WeakMap,ho=new WeakMap,Fn=new WeakSet,gr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...xk(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Ah(i)&&i.revert&&_(this,Rs)?{..._(this,Rs),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),xt.batch(()=>{_(this,ct).forEach(r=>{r.onQueryUpdate()}),_(this,pn).notify({query:this,type:"updated",action:t})})},ZS);function xk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:uy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function o9(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Zn,JS,s9=(JS=class extends Iu{constructor(t={}){super();X(this,Zn,void 0);this.config=t,G(this,Zn,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??sy(i,n);let s=this.get(o);return s||(s=new i9({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){_(this,Zn).has(t.queryHash)||(_(this,Zn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,Zn).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,Zn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Zn).get(t)}getAll(){return[..._(this,Zn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>db(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>db(t,r)):n}notify(t){xt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){xt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){xt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Zn=new WeakMap,JS),Jn,iu,Yt,Os,er,Zr,eC,a9=(eC=class extends yk{constructor(t){super();X(this,er);X(this,Jn,void 0);X(this,iu,void 0);X(this,Yt,void 0);X(this,Os,void 0);this.mutationId=t.mutationId,G(this,iu,t.defaultOptions),G(this,Yt,t.mutationCache),G(this,Jn,[]),this.state=t.state||l9(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={..._(this,iu),...t},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Jn).includes(t)||(_(this,Jn).push(t),this.clearGcTimeout(),_(this,Yt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,Jn,_(this,Jn).filter(n=>n!==t)),this.scheduleGc(),_(this,Yt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Jn).length||(this.state.status==="pending"?this.scheduleGc():_(this,Yt).remove(this))}continue(){var t;return((t=_(this,Os))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,s,a,l,u,c,d,f,p,h,m,x,g,y,v,w,C,E,T;const n=()=>(G(this,Os,vk({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,k)=>{pe(this,er,Zr).call(this,{type:"failed",failureCount:P,error:k})},onPause:()=>{pe(this,er,Zr).call(this,{type:"pause"})},onContinue:()=>{pe(this,er,Zr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),_(this,Os).promise),r=this.state.status==="pending";try{if(!r){pe(this,er,Zr).call(this,{type:"pending",variables:t}),await((o=(i=_(this,Yt).config).onMutate)==null?void 0:o.call(i,t,this));const k=await((a=(s=this.options).onMutate)==null?void 0:a.call(s,t));k!==this.state.context&&pe(this,er,Zr).call(this,{type:"pending",context:k,variables:t})}const P=await n();return await((u=(l=_(this,Yt).config).onSuccess)==null?void 0:u.call(l,P,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,P,t,this.state.context)),await((p=(f=_(this,Yt).config).onSettled)==null?void 0:p.call(f,P,null,this.state.variables,this.state.context,this)),await((m=(h=this.options).onSettled)==null?void 0:m.call(h,P,null,t,this.state.context)),pe(this,er,Zr).call(this,{type:"success",data:P}),P}catch(P){try{throw await((g=(x=_(this,Yt).config).onError)==null?void 0:g.call(x,P,t,this.state.context,this)),await((v=(y=this.options).onError)==null?void 0:v.call(y,P,t,this.state.context)),await((C=(w=_(this,Yt).config).onSettled)==null?void 0:C.call(w,void 0,P,this.state.variables,this.state.context,this)),await((T=(E=this.options).onSettled)==null?void 0:T.call(E,void 0,P,t,this.state.context)),P}finally{pe(this,er,Zr).call(this,{type:"error",error:P})}}}},Jn=new WeakMap,iu=new WeakMap,Yt=new WeakMap,Os=new WeakMap,er=new WeakSet,Zr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!uy(this.options.networkMode),status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),xt.batch(()=>{_(this,Jn).forEach(r=>{r.onMutationUpdate(t)}),_(this,Yt).notify({mutation:this,type:"updated",action:t})})},eC);function l9(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,ou,mo,tC,u9=(tC=class extends Iu{constructor(t={}){super();X(this,hn,void 0);X(this,ou,void 0);X(this,mo,void 0);this.config=t,G(this,hn,[]),G(this,ou,0)}build(t,n,r){const i=new a9({mutationCache:this,mutationId:++Nu(this,ou)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){_(this,hn).push(t),this.notify({type:"added",mutation:t})}remove(t){G(this,hn,_(this,hn).filter(n=>n!==t)),this.notify({type:"removed",mutation:t})}clear(){xt.batch(()=>{_(this,hn).forEach(t=>{this.remove(t)})})}getAll(){return _(this,hn)}find(t){const n={exact:!0,...t};return _(this,hn).find(r=>fb(n,r))}findAll(t={}){return _(this,hn).filter(n=>fb(t,n))}notify(t){xt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){return G(this,mo,(_(this,mo)??Promise.resolve()).then(()=>{const t=_(this,hn).filter(n=>n.state.isPaused);return xt.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(gn)),Promise.resolve()))}).then(()=>{G(this,mo,void 0)})),_(this,mo)}},hn=new WeakMap,ou=new WeakMap,mo=new WeakMap,tC);function c9(e){return{onFetch:(t,n)=>{const r=async()=>{var h,m,x,g,y;const i=t.options,o=(x=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:x.direction,s=((g=t.state.data)==null?void 0:g.pages)||[],a=((y=t.state.data)==null?void 0:y.pageParams)||[],l={pages:[],pageParams:[]};let u=!1;const c=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},d=t.options.queryFn&&t.options.queryFn!==ay?t.options.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${t.options.queryHash}'`)),f=async(v,w,C)=>{if(u)return Promise.reject();if(w==null&&v.pages.length)return Promise.resolve(v);const E={queryKey:t.queryKey,pageParam:w,direction:C?"backward":"forward",meta:t.options.meta};c(E);const T=await d(E),{maxPages:P}=t.options,k=C?J8:Z8;return{pages:k(v.pages,T,P),pageParams:k(v.pageParams,w,P)}};let p;if(o&&s.length){const v=o==="backward",w=v?d9:mb,C={pages:s,pageParams:a},E=w(i,C);p=await f(C,E,v)}else{p=await f(l,a[0]??i.initialPageParam);const v=e??s.length;for(let w=1;w{var i,o;return(o=(i=t.options).persister)==null?void 0:o.call(i,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function mb(e,{pages:t,pageParams:n}){const r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function d9(e,{pages:t,pageParams:n}){var r;return(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n)}var Be,ui,ci,As,Is,di,$s,Ls,nC,f9=(nC=class{constructor(e={}){X(this,Be,void 0);X(this,ui,void 0);X(this,ci,void 0);X(this,As,void 0);X(this,Is,void 0);X(this,di,void 0);X(this,$s,void 0);X(this,Ls,void 0);G(this,Be,e.queryCache||new s9),G(this,ui,e.mutationCache||new u9),G(this,ci,e.defaultOptions||{}),G(this,As,new Map),G(this,Is,new Map),G(this,di,0)}mount(){Nu(this,di)._++,_(this,di)===1&&(G(this,$s,ly.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,Be).onFocus())})),G(this,Ls,Vd.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,Be).onOnline())})))}unmount(){var e,t;Nu(this,di)._--,_(this,di)===0&&((e=_(this,$s))==null||e.call(this),G(this,$s,void 0),(t=_(this,Ls))==null||t.call(this),G(this,Ls,void 0))}isFetching(e){return _(this,Be).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,ui).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,Be).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=_(this,Be).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(n.staleTime)&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return _(this,Be).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=_(this,Be).get(r.queryHash),o=i==null?void 0:i.state.data,s=Y8(t,o);if(s!==void 0)return _(this,Be).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return xt.batch(()=>_(this,Be).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,Be).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,Be);xt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,Be),r={type:"active",...e};return xt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=xt.batch(()=>_(this,Be).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(gn).catch(gn)}invalidateQueries(e={},t={}){return xt.batch(()=>{if(_(this,Be).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=xt.batch(()=>_(this,Be).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(gn)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(gn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,Be).build(this,t);return n.isStaleByTime(t.staleTime)?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(gn).catch(gn)}fetchInfiniteQuery(e){return e.behavior=c9(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(gn).catch(gn)}resumePausedMutations(){return Vd.isOnline()?_(this,ui).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,Be)}getMutationCache(){return _(this,ui)}getDefaultOptions(){return _(this,ci)}setDefaultOptions(e){G(this,ci,e)}setQueryDefaults(e,t){_(this,As).set(Xl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,As).values()];let n={};return t.forEach(r=>{Zl(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){_(this,Is).set(Xl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Is).values()];let n={};return t.forEach(r=>{Zl(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,ci).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=sy(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===ay&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,ci).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,Be).clear(),_(this,ui).clear()}},Be=new WeakMap,ui=new WeakMap,ci=new WeakMap,As=new WeakMap,Is=new WeakMap,di=new WeakMap,$s=new WeakMap,Ls=new WeakMap,nC),Ft,ke,su,It,go,js,tr,au,Ds,Fs,vo,yo,fi,Ns,xo,Ua,lu,Ng,uu,zg,cu,Vg,du,Bg,fu,Ug,pu,Wg,hu,Hg,ef,wk,rC,p9=(rC=class extends Iu{constructor(t,n){super();X(this,xo);X(this,lu);X(this,uu);X(this,cu);X(this,du);X(this,fu);X(this,pu);X(this,hu);X(this,ef);X(this,Ft,void 0);X(this,ke,void 0);X(this,su,void 0);X(this,It,void 0);X(this,go,void 0);X(this,js,void 0);X(this,tr,void 0);X(this,au,void 0);X(this,Ds,void 0);X(this,Fs,void 0);X(this,vo,void 0);X(this,yo,void 0);X(this,fi,void 0);X(this,Ns,new Set);this.options=n,G(this,Ft,t),G(this,tr,null),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,ke).addObserver(this),gb(_(this,ke),this.options)?pe(this,xo,Ua).call(this):this.updateResult(),pe(this,du,Bg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Gg(_(this,ke),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Gg(_(this,ke),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,pe(this,fu,Ug).call(this),pe(this,pu,Wg).call(this),_(this,ke).removeObserver(this)}setOptions(t,n){const r=this.options,i=_(this,ke);if(this.options=_(this,Ft).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");pe(this,hu,Hg).call(this),_(this,ke).setOptions(this.options),r._defaulted&&!jg(this.options,r)&&_(this,Ft).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,ke),observer:this});const o=this.hasListeners();o&&vb(_(this,ke),i,this.options,r)&&pe(this,xo,Ua).call(this),this.updateResult(n),o&&(_(this,ke)!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&pe(this,lu,Ng).call(this);const s=pe(this,uu,zg).call(this);o&&(_(this,ke)!==i||this.options.enabled!==r.enabled||s!==_(this,fi))&&pe(this,cu,Vg).call(this,s)}getOptimisticResult(t){const n=_(this,Ft).getQueryCache().build(_(this,Ft),t),r=this.createResult(n,t);return m9(this,r)&&(G(this,It,r),G(this,js,this.options),G(this,go,_(this,ke).state)),r}getCurrentResult(){return _(this,It)}trackResult(t,n){const r={};return Object.keys(t).forEach(i=>{Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),r}trackProp(t){_(this,Ns).add(t)}getCurrentQuery(){return _(this,ke)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=_(this,Ft).defaultQueryOptions(t),r=_(this,Ft).getQueryCache().build(_(this,Ft),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){return pe(this,xo,Ua).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,It)))}createResult(t,n){var T;const r=_(this,ke),i=this.options,o=_(this,It),s=_(this,go),a=_(this,js),u=t!==r?t.state:_(this,su),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const P=this.hasListeners(),k=!P&&gb(t,n),M=P&&vb(t,r,n,i);(k||M)&&(d={...d,...xk(c.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:h,errorUpdatedAt:m,status:x}=d;if(n.select&&d.data!==void 0)if(o&&d.data===(s==null?void 0:s.data)&&n.select===_(this,au))p=_(this,Ds);else try{G(this,au,n.select),p=n.select(d.data),p=Fg(o==null?void 0:o.data,p,n),G(this,Ds,p),G(this,tr,null)}catch(P){G(this,tr,P)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&x==="pending"){let P;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))P=o.data;else if(P=typeof n.placeholderData=="function"?n.placeholderData((T=_(this,Fs))==null?void 0:T.state.data,_(this,Fs)):n.placeholderData,n.select&&P!==void 0)try{P=n.select(P),G(this,tr,null)}catch(k){G(this,tr,k)}P!==void 0&&(x="success",p=Fg(o==null?void 0:o.data,P,n),f=!0)}_(this,tr)&&(h=_(this,tr),p=_(this,Ds),m=Date.now(),x="error");const g=d.fetchStatus==="fetching",y=x==="pending",v=x==="error",w=y&&g,C=p!==void 0;return{status:x,fetchStatus:d.fetchStatus,isPending:y,isSuccess:x==="success",isError:v,isInitialLoading:w,isLoading:w,data:p,dataUpdatedAt:d.dataUpdatedAt,error:h,errorUpdatedAt:m,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:v&&!C,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:v&&C,isStale:cy(t,n),refetch:this.refetch}}updateResult(t){const n=_(this,It),r=this.createResult(_(this,ke),this.options);if(G(this,go,_(this,ke).state),G(this,js,this.options),_(this,go).data!==void 0&&G(this,Fs,_(this,ke)),jg(r,n))return;G(this,It,r);const i={},o=()=>{if(!n)return!0;const{notifyOnChangeProps:s}=this.options,a=typeof s=="function"?s():s;if(a==="all"||!a&&!_(this,Ns).size)return!0;const l=new Set(a??_(this,Ns));return this.options.throwOnError&&l.add("error"),Object.keys(_(this,It)).some(u=>{const c=u;return _(this,It)[c]!==n[c]&&l.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),pe(this,ef,wk).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&pe(this,du,Bg).call(this)}},Ft=new WeakMap,ke=new WeakMap,su=new WeakMap,It=new WeakMap,go=new WeakMap,js=new WeakMap,tr=new WeakMap,au=new WeakMap,Ds=new WeakMap,Fs=new WeakMap,vo=new WeakMap,yo=new WeakMap,fi=new WeakMap,Ns=new WeakMap,xo=new WeakSet,Ua=function(t){pe(this,hu,Hg).call(this);let n=_(this,ke).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(gn)),n},lu=new WeakSet,Ng=function(){if(pe(this,fu,Ug).call(this),Zs||_(this,It).isStale||!Lg(this.options.staleTime))return;const n=hk(_(this,It).dataUpdatedAt,this.options.staleTime)+1;G(this,vo,setTimeout(()=>{_(this,It).isStale||this.updateResult()},n))},uu=new WeakSet,zg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,ke)):this.options.refetchInterval)??!1},cu=new WeakSet,Vg=function(t){pe(this,pu,Wg).call(this),G(this,fi,t),!(Zs||this.options.enabled===!1||!Lg(_(this,fi))||_(this,fi)===0)&&G(this,yo,setInterval(()=>{(this.options.refetchIntervalInBackground||ly.isFocused())&&pe(this,xo,Ua).call(this)},_(this,fi)))},du=new WeakSet,Bg=function(){pe(this,lu,Ng).call(this),pe(this,cu,Vg).call(this,pe(this,uu,zg).call(this))},fu=new WeakSet,Ug=function(){_(this,vo)&&(clearTimeout(_(this,vo)),G(this,vo,void 0))},pu=new WeakSet,Wg=function(){_(this,yo)&&(clearInterval(_(this,yo)),G(this,yo,void 0))},hu=new WeakSet,Hg=function(){const t=_(this,Ft).getQueryCache().build(_(this,Ft),this.options);if(t===_(this,ke))return;const n=_(this,ke);G(this,ke,t),G(this,su,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},ef=new WeakSet,wk=function(t){xt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(_(this,It))}),_(this,Ft).getQueryCache().notify({query:_(this,ke),type:"observerResultsUpdated"})})},rC);function h9(e,t){return t.enabled!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function gb(e,t){return h9(e,t)||e.state.data!==void 0&&Gg(e,t,t.refetchOnMount)}function Gg(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&cy(e,t)}return!1}function vb(e,t,n,r){return(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&cy(e,n)}function cy(e,t){return t.enabled!==!1&&e.isStaleByTime(t.staleTime)}function m9(e,t){return!jg(e.getCurrentResult(),t)}var bk=b.createContext(void 0),g9=e=>{const t=b.useContext(bk);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},v9=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),S.jsx(bk.Provider,{value:e,children:t})),Sk=b.createContext(!1),y9=()=>b.useContext(Sk);Sk.Provider;function x9(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var w9=b.createContext(x9()),b9=()=>b.useContext(w9);function S9(e,t){return typeof e=="function"?e(...t):!!e}var C9=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},E9=e=>{b.useEffect(()=>{e.clearReset()},[e])},P9=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&S9(n,[e.error,r]),T9=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},k9=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,M9=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function _9(e,t,n){const r=g9(n),i=y9(),o=b9(),s=r.defaultQueryOptions(e);s._optimisticResults=i?"isRestoring":"optimistic",T9(s),C9(s,o),E9(o);const[a]=b.useState(()=>new t(r,s)),l=a.getOptimisticResult(s);if(b.useSyncExternalStore(b.useCallback(u=>{const c=i?()=>{}:a.subscribe(xt.batchCalls(u));return a.updateResult(),c},[a,i]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),b.useEffect(()=>{a.setOptions(s,{listeners:!1})},[s,a]),k9(s,l))throw M9(s,a,o);if(P9({result:l,errorResetBoundary:o,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash)}))throw l.error;return s.notifyOnChangeProps?l:a.trackResult(l)}function Ck(e,t){return _9(e,p9,t)}async function R9(){try{return(await da.get("/projects")).data}catch{return[{_id:"66292f8768dc79f8d04536ad",name:"Space Safety Visualizer",organization:"Amazon",description:"The Fall 2023 Amazon project was a low Earth orbit satellite visualization system. This was designed for Project Kuiper as a way to visualize satellite collision risk to non-technical stakeholders at Amazon.",members:[{memberInfo:{_id:"66292f8768dc79f8d0453673",firstName:"Samai",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/8a7fb3e66260f050539a6d8021a733635298861369c9ba60278abeb78e8c6216"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368b",firstName:"Ishan",lastName:"Revankar",profileUrl:"https://gravatar.com/avatar/66e5f9478a8c5c1090326d16f13ac2f9d56540fbc38c86e0b16061dd4d6c31d9"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045368d",firstName:"Nitish",lastName:"Vobilisetti",profileUrl:"https://gravatar.com/avatar/eb8416def562dd101a91cb9ad66731467420be6dafff0a691f33b184d796d7f5"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368f",firstName:"Neil",lastName:"Hajela",profileUrl:"https://gravatar.com/avatar/9ec79c36a878d718e93405ec8431d2f414d1e6e021376763b85ec2555418bcd2"},role:"Engineer"},{memberInfo:{_id:"66292f8768dc79f8d0453691",firstName:"Hadijat",lastName:"Oke",profileUrl:"https://gravatar.com/avatar/4e7a51f508246f5a290cd93aead661a323322a0fecc28e2ebb44714f5825a7ef"},role:"Project Manager"},{memberInfo:{_id:"66292f8768dc79f8d0453693",firstName:"Nand",lastName:"Vinchhi",profileUrl:"https://gravatar.com/avatar/5c7e99e4bd1a8bc12f56605f7ec6a09a95472ebb07dd30f4d4e1ef134655c35a"},role:"Tech Lead"}],cover:null,semester:"Fall 2023",__v:0},{_id:"66292f8768dc79f8d04536b9",name:"Pattern of Life Application",organization:"Praxis Engineering",description:`The Fall 2023 GDIT project was a "pattern of life" understanding system. This Android application collects key data metrics from users including location, application usage, and message data and coallates it to form an understanding of a user's pattern of life.`,members:[{memberInfo:{_id:"66292f8768dc79f8d0453670",firstName:"Aidan",lastName:"Melvin",profileUrl:"https://gravatar.com/avatar/5e99dcb1de10b83cd0e90620d77b046c13ff633b688f72dbb5a3c22202b2f1d7"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453695",firstName:"Mohammad",lastName:"Abd-Elmoniem",profileUrl:"https://gravatar.com/avatar/767766ff1d10a3d06a4e222b42a3ae7ff16a11bb83e25385202089a77efab30e"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453697",firstName:"Nishkal",lastName:"Hundia",profileUrl:"https://gravatar.com/avatar/bb1facd1c2182bdc9f840b9b4c396e67ea94ad2395f76a4fac43a7d43b6a437e"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453699",firstName:"Ojas",lastName:"Jagtap",profileUrl:"https://gravatar.com/avatar/68e78c20b977b3ff0f44d1e1f9f5a0ec6be745620062d6709fcbf8a73ff773df"},role:"Full-stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369b",firstName:"Josiah",lastName:"Lim",profileUrl:"https://gravatar.com/avatar/b277c291ff3c46b46124f62ae5f8d9fc5cd052300814f5bdbd89580759bcc027"},role:"ML Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369d",firstName:"Om",lastName:"Duggineni",profileUrl:"https://gravatar.com/avatar/00b197895f49ed34677306f551bddceaaa7c65756a238e2aee72b6ef95fd8525"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369f",firstName:"Dev",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/fb0bc07ce80323d4513cf2b60118de6dca5dd70a9edf08d12aa2b3c4451733ab"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a1",firstName:"Ananth",lastName:"Sankaralingam",profileUrl:"https://gravatar.com/avatar/ef0cd3559a6c30fc53bebd50c1533136de0d10c69b6b7a5df1fbe607b6b19e7d"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a3",firstName:"Advik",lastName:"Sachdeva",profileUrl:"https://gravatar.com/avatar/3b4653ea5eec167a3498fce281baf6ad961c465805b7758b0d77a090a3b666eb"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a5",firstName:"Rahul",lastName:"Ramasubramanian",profileUrl:"https://gravatar.com/avatar/9b42bb4f4bdb330a258afce57cee5b14b67de14c5ebbcc86814fcd270fff669c"},role:"Full-Stack Engineer"}],cover:null,semester:"Fall 2023",__v:0}]}}async function O9(e){try{return(await da.get(`/projects/${e}`)).data}catch{return{_id:"66292f8768dc79f8d04536ad",name:"Space Safety Visualizer",organization:"Amazon",description:"The Fall 2023 Amazon project was a low Earth orbit satellite visualization system. This was designed for Project Kuiper as a way to visualize satellite collision risk to non-technical stakeholders at Amazon.",members:[{memberInfo:{_id:"66292f8768dc79f8d0453673",firstName:"Samai",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/8a7fb3e66260f050539a6d8021a733635298861369c9ba60278abeb78e8c6216"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368b",firstName:"Ishan",lastName:"Revankar",profileUrl:"https://gravatar.com/avatar/66e5f9478a8c5c1090326d16f13ac2f9d56540fbc38c86e0b16061dd4d6c31d9"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045368d",firstName:"Nitish",lastName:"Vobilisetti",profileUrl:"https://gravatar.com/avatar/eb8416def562dd101a91cb9ad66731467420be6dafff0a691f33b184d796d7f5"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368f",firstName:"Neil",lastName:"Hajela",profileUrl:"https://gravatar.com/avatar/9ec79c36a878d718e93405ec8431d2f414d1e6e021376763b85ec2555418bcd2"},role:"Engineer"},{memberInfo:{_id:"66292f8768dc79f8d0453691",firstName:"Hadijat",lastName:"Oke",profileUrl:"https://gravatar.com/avatar/4e7a51f508246f5a290cd93aead661a323322a0fecc28e2ebb44714f5825a7ef"},role:"Project Manager"},{memberInfo:{_id:"66292f8768dc79f8d0453693",firstName:"Nand",lastName:"Vinchhi",profileUrl:"https://gravatar.com/avatar/5c7e99e4bd1a8bc12f56605f7ec6a09a95472ebb07dd30f4d4e1ef134655c35a"},role:"Tech Lead"}],demo:"https://www.youtube.com/embed/UFwHEMrSO-M?si=NmlpAyAtZwOLEPiE",cover:null,semester:"Fall 2023",__v:0}}}const Ek={getAll:R9,getById:O9};var Wa={},Pk={},gp={},as=ge&&ge.__assign||function(){return as=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(!((c=h==null?void 0:h.in)===null||c===void 0)&&c.style)&&(h.in.style.transform=function(v){return m.in.map(function(w){return yb(w,v)}).join(" ")}),m.out.length>0&&(!((d=h==null?void 0:h.out)===null||d===void 0)&&d.style)&&(h.out.style.transform=function(v){return m.out.map(function(w){return yb(w,v)}).join(" ")}),h};gp.batch=A9;var _i={},Lo={},dy={},qg=ge&&ge.__assign||function(){return qg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u")){if(t==="height")return xb&&wb?window.screen.height-80:window.innerHeight;if(t==="width")return xb&&wb?window.screen.width:window.innerWidth}}});fy.default=$9;var vp={};Object.defineProperty(vp,"__esModule",{value:!0});vp.SimpleInterpolation=void 0;var L9=function(e,t,n){return e*(1-n)+t*n};vp.SimpleInterpolation=L9;(function(e){var t=ge&&ge.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0}),e.computeStyle=e.SimpleInterpolation=e.environment=void 0;var n=t(dy);e.computeStyle=n.default;var r=t(fy);e.environment=r.default;var i=vp;Object.defineProperty(e,"SimpleInterpolation",{enumerable:!0,get:function(){return i.SimpleInterpolation}})})(Lo);Object.defineProperty(_i,"__esModule",{value:!0});_i.FadeOut=_i.FadeIn=_i.Fade=void 0;var Bd=Lo,j9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Bd.SimpleInterpolation)(e,t,n)}}},out:{style:{opacity:function(n){return(0,Bd.SimpleInterpolation)(t,e,n)}}}}};_i.Fade=j9;var D9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Bd.SimpleInterpolation)(e,t,n)}}}}};_i.FadeIn=D9;var F9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{out:{style:{opacity:function(n){return(0,Bd.SimpleInterpolation)(e,t,n)}}}}};_i.FadeOut=F9;var Ri={};Object.defineProperty(Ri,"__esModule",{value:!0});Ri.MoveOut=Ri.MoveIn=Ri.Move=void 0;var xi=Lo,N9=function(e,t,n,r){return e===void 0&&(e=0),t===void 0&&(t=100),n===void 0&&(n=null),r===void 0&&(r=-100),{in:{style:{transform:function(i){return"translate(".concat((0,xi.SimpleInterpolation)(e,0,i),"px, ").concat((0,xi.SimpleInterpolation)(t,0,i),"px)")}}},out:{style:{transform:function(i){return"translate(".concat((0,xi.SimpleInterpolation)(0,n||e,i),"px, ").concat((0,xi.SimpleInterpolation)(0,r||t,i),"px)")}}}}};Ri.Move=N9;var z9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=100),{in:{style:{transform:function(n){return"translate(".concat((0,xi.SimpleInterpolation)(e,0,n),"px, ").concat((0,xi.SimpleInterpolation)(t,0,n),"px)")}}}}};Ri.MoveIn=z9;var V9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=-100),{out:{style:{transform:function(n){return"translate(".concat((0,xi.SimpleInterpolation)(0,e,n),"px, ").concat((0,xi.SimpleInterpolation)(0,t,n),"px)")}}}}};Ri.MoveOut=V9;var Oi={};Object.defineProperty(Oi,"__esModule",{value:!0});Oi.StickyOut=Oi.StickyIn=Oi.Sticky=void 0;var En=Lo,B9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}}}};Oi.Sticky=B9;var U9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"absolute"}}}};Oi.StickyIn=U9;var W9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:"".concat(e*En.environment.width/100,"px"),top:"".concat(t*En.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"absolute"}},out:{style:{left:"".concat(e*En.environment.width/100,"px"),top:"".concat(t*En.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"fixed"}}}};Oi.StickyOut=W9;var Ai={};Object.defineProperty(Ai,"__esModule",{value:!0});Ai.ZoomOut=Ai.ZoomIn=Ai.Zoom=void 0;var Ud=Lo,H9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,Ud.SimpleInterpolation)(e,t,n),")")}}},out:{style:{transform:function(n){return"scale(".concat((0,Ud.SimpleInterpolation)(t,e,n),")")}}}}};Ai.Zoom=H9;var G9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,Ud.SimpleInterpolation)(e,t,n),")")}}}}};Ai.ZoomIn=G9;var q9=function(e,t){return e===void 0&&(e=1),t===void 0&&(t=10),{out:{style:{transform:function(n){return"scale(".concat((0,Ud.SimpleInterpolation)(e,t,n),")")}}}}};Ai.ZoomOut=q9;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ZoomOut=e.ZoomIn=e.Zoom=e.StickyOut=e.StickyIn=e.Sticky=e.MoveOut=e.MoveIn=e.Move=e.FadeOut=e.FadeIn=e.Fade=e.batch=void 0;var t=gp;Object.defineProperty(e,"batch",{enumerable:!0,get:function(){return t.batch}});var n=_i;Object.defineProperty(e,"Fade",{enumerable:!0,get:function(){return n.Fade}}),Object.defineProperty(e,"FadeIn",{enumerable:!0,get:function(){return n.FadeIn}}),Object.defineProperty(e,"FadeOut",{enumerable:!0,get:function(){return n.FadeOut}});var r=Ri;Object.defineProperty(e,"Move",{enumerable:!0,get:function(){return r.Move}}),Object.defineProperty(e,"MoveIn",{enumerable:!0,get:function(){return r.MoveIn}}),Object.defineProperty(e,"MoveOut",{enumerable:!0,get:function(){return r.MoveOut}});var i=Oi;Object.defineProperty(e,"Sticky",{enumerable:!0,get:function(){return i.Sticky}}),Object.defineProperty(e,"StickyIn",{enumerable:!0,get:function(){return i.StickyIn}}),Object.defineProperty(e,"StickyOut",{enumerable:!0,get:function(){return i.StickyOut}});var o=Ai;Object.defineProperty(e,"Zoom",{enumerable:!0,get:function(){return o.Zoom}}),Object.defineProperty(e,"ZoomIn",{enumerable:!0,get:function(){return o.ZoomIn}}),Object.defineProperty(e,"ZoomOut",{enumerable:!0,get:function(){return o.ZoomOut}})})(Pk);var py={},yp={},xp={},Ni={},hy={};Object.defineProperty(hy,"__esModule",{value:!0});var K9={currentY:0,viewportHeight:0,totalPage:0,totalHeight:0,totalProgress:0,realPage:0,currentPage:0,currentProgress:0};hy.default=K9;var my={};Object.defineProperty(my,"__esModule",{value:!0});var Q9={page:0};my.default=Q9;var Tk=ge&&ge.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ni,"__esModule",{value:!0});Ni.initialScrollPage=Ni.initialScrollData=void 0;var Y9=Tk(hy);Ni.initialScrollData=Y9.default;var X9=Tk(my);Ni.initialScrollPage=X9.default;Object.defineProperty(xp,"__esModule",{value:!0});xp.ScrollDataContext=void 0;var Z9=b,J9=Ni;xp.ScrollDataContext=(0,Z9.createContext)(J9.initialScrollData);var wp={};Object.defineProperty(wp,"__esModule",{value:!0});wp.ScrollPageContext=void 0;var eV=b,tV=Ni;wp.ScrollPageContext=(0,eV.createContext)(tV.initialScrollPage);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollPageContext=e.ScrollDataContext=void 0;var t=xp;Object.defineProperty(e,"ScrollDataContext",{enumerable:!0,get:function(){return t.ScrollDataContext}});var n=wp;Object.defineProperty(e,"ScrollPageContext",{enumerable:!0,get:function(){return n.ScrollPageContext}})})(yp);var ls=ge&&ge.__assign||function(){return ls=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){const o=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=yV(l),l in Eb)return;Eb[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!r)for(let p=o.length-1;p>=0;p--){const h=o[p];if(h.href===l&&(!u||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":vV,u||(f.as="script",f.crossOrigin=""),f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),u)return new Promise((p,h)=>{f.addEventListener("load",p),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>t()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})},Nh="generated",MG="pointerdown",_G="pointerup",RG="pointerleave",OG="pointerout",AG="pointermove",IG="touchstart",$G="touchend",LG="touchmove",jG="touchcancel",DG="resize",FG="visibilitychange",yy="tsParticles - Error",us=100,Pb=.5,kk=1e3;function NG(e){return typeof e=="boolean"}function Jl(e){return typeof e=="string"}function pa(e){return typeof e=="number"}function pc(e){return typeof e=="object"&&e!==null}function jo(e){return Array.isArray(e)}const Xn={x:0,y:0,z:0},Tb=2,xV=1;class jn{constructor(t,n,r){if(this._updateFromAngle=(i,o)=>{this.x=Math.cos(i)*o,this.y=Math.sin(i)*o},!pa(t)&&t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:Xn.z}else if(t!==void 0&&n!==void 0)this.x=t,this.y=n,this.z=r??Xn.z;else throw new Error(`${yy} Vector3d not initialized correctly`)}static get origin(){return jn.create(Xn.x,Xn.y,Xn.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return jn.create(t.x,t.y,t.z)}static create(t,n,r){return new jn(t,n,r)}add(t){return jn.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return jn.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return jn.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**Tb+this.y**Tb}mult(t){return jn.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=0&&this.multTo(xV/t)}rotate(t){return jn.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),Xn.z)}setTo(t){this.x=t.x,this.y=t.y;const n=t;this.z=n.z?n.z:Xn.z}sub(t){return jn.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class Co extends jn{constructor(t,n){super(t,n,Xn.z)}static get origin(){return Co.create(Xn.x,Xn.y)}static clone(t){return Co.create(t.x,t.y)}static create(t,n){return new Co(t,n)}}let wV=Math.random;const Kg=new Map,bV=2,SV=Math.PI*bV;function zG(e,t){Kg.get(e)||Kg.set(e,t)}function VG(e){return Kg.get(e)??(t=>t)}function fr(){return xy(wV(),0,1-Number.EPSILON)}function xy(e,t,n){return Math.min(Math.max(e,t),n)}function zh(e,t,n,r){return Math.floor((e*n+t*r)/(n+r))}function Ps(e){const t=Sp(e),n=0;let r=bp(e);return t===r&&(r=n),fr()*(t-r)+r}function pt(e){return pa(e)?e:Ps(e)}function bp(e){return pa(e)?e:e.min}function Sp(e){return pa(e)?e:e.max}function ul(e,t){if(e===t||t===void 0&&pa(e))return e;const n=bp(e),r=Sp(e);return t!==void 0?{min:Math.min(n,t),max:Math.max(r,t)}:ul(n,r)}function Mk(e,t){const n=e.x-t.x,r=e.y-t.y,i=2;return{dx:n,dy:r,distance:Math.sqrt(n**i+r**i)}}function BG(e,t){return Mk(e,t).distance}function CV(e){return e*Math.PI/180}function UG(e,t,n){if(pa(e))return CV(e);const r=0,i=.5,o=.25,s=i+o;switch(e){case"top":return-Math.PI*i;case"top-right":return-Math.PI*o;case"right":return r;case"bottom-right":return Math.PI*o;case"bottom":return Math.PI*i;case"bottom-left":return Math.PI*s;case"left":return Math.PI;case"top-left":return-Math.PI*s;case"inside":return Math.atan2(n.y-t.y,n.x-t.x);case"outside":return Math.atan2(t.y-n.y,t.x-n.x);default:return fr()*SV}}function WG(e){const t=Co.origin;return t.length=1,t.angle=e,t}function kb(e,t,n,r){return Co.create(e.x*(n-r)/(n+r)+t.x*2*r/(n+r),e.y)}function HG(e){var t,n;return{x:((t=e.position)==null?void 0:t.x)??fr()*e.size.width,y:((n=e.position)==null?void 0:n.y)??fr()*e.size.height}}function _k(e){return e?e.endsWith("%")?parseFloat(e)/us:parseFloat(e):1}const EV={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function PV(){return EV}function Mb(e){const t={bounced:!1},{pSide:n,pOtherSide:r,rectSide:i,rectOtherSide:o,velocity:s,factor:a}=e,l=.5,u=0;return r.mino.max||r.maxo.max||(n.max>=i.min&&n.max<=(i.max+i.min)*l&&s>u||n.min<=i.max&&n.min>(i.max+i.min)*l&&se.matches(r));return jo(n)?n.some(r=>r):n}function Cp(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function kV(){return!Cp()&&typeof matchMedia<"u"}function GG(e){if(kV())return matchMedia(e)}function qG(e){if(!(Cp()||typeof IntersectionObserver>"u"))return new IntersectionObserver(e)}function KG(e){if(!(Cp()||typeof MutationObserver>"u"))return new MutationObserver(e)}function Rk(e,t){return e===t||jo(t)&&t.indexOf(e)>-1}async function QG(e,t){try{await document.fonts.load(`${t??"400"} 36px '${e??"Verdana"}'`)}catch{}}function MV(e){return Math.floor(fr()*e.length)}function wy(e,t,n=!0){return e[t!==void 0&&n?t%e.length:MV(e)]}function YG(e,t,n,r,i){return _V(Ok(e,r??0),t,n,i)}function _V(e,t,n,r){let i=!0;return(!r||r==="bottom")&&(i=e.topn.x),i&&(!r||r==="right")&&(i=e.leftn.y),i}function Ok(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function _b(e,...t){for(const n of t){if(n==null)continue;if(!pc(n)){e=n;continue}const r=Array.isArray(n);r&&(pc(e)||!e||!Array.isArray(e))?e=[]:!r&&(pc(e)||!e||Array.isArray(e))&&(e={});for(const i in n){if(i==="__proto__")continue;const o=n,s=o[i],a=e;a[i]=pc(s)&&Array.isArray(s)?s.map(l=>_b(a[i],l)):_b(a[i],s)}}return e}function XG(e,t){return!!Ik(t,n=>n.enable&&Rk(e,n.mode))}function ZG(e,t,n){eu(t,r=>{const i=r.mode;r.enable&&Rk(e,i)&&RV(r,n)})}function RV(e,t){const n=e.selectors;eu(n,r=>{t(r,e)})}function JG(e,t){if(!(!t||!e))return Ik(e,n=>TV(t,n.selectors))}function eq(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:Co.create(pt(e.options.bounce.horizontal.value),pt(e.options.bounce.vertical.value))}}function tq(e,t){const{x:n,y:r}=e.velocity.sub(t.velocity),[i,o]=[e.position,t.position],{dx:s,dy:a}=Mk(o,i);if(n*s+r*a<0)return;const u=-Math.atan2(a,s),c=e.mass,d=t.mass,f=e.velocity.rotate(u),p=t.velocity.rotate(u),h=kb(f,p,c,d),m=kb(p,f,c,d),x=h.rotate(-u),g=m.rotate(-u);e.velocity.x=x.x*e.factor.x,e.velocity.y=x.y*e.factor.y,t.velocity.x=g.x*t.factor.x,t.velocity.y=g.y*t.factor.y}function nq(e,t){const n=e.getPosition(),r=e.getRadius(),i=Ok(n,r),o=e.options.bounce,s=Mb({pSide:{min:i.left,max:i.right},pOtherSide:{min:i.top,max:i.bottom},rectSide:{min:t.left,max:t.right},rectOtherSide:{min:t.top,max:t.bottom},velocity:e.velocity.x,factor:pt(o.horizontal.value)});s.bounced&&(s.velocity!==void 0&&(e.velocity.x=s.velocity),s.position!==void 0&&(e.position.x=s.position));const a=Mb({pSide:{min:i.top,max:i.bottom},pOtherSide:{min:i.left,max:i.right},rectSide:{min:t.top,max:t.bottom},rectOtherSide:{min:t.left,max:t.right},velocity:e.velocity.y,factor:pt(o.vertical.value)});a.bounced&&(a.velocity!==void 0&&(e.velocity.y=a.velocity),a.position!==void 0&&(e.position.y=a.position))}function eu(e,t){return jo(e)?e.map((r,i)=>t(r,i)):t(e,0)}function Ak(e,t,n){return jo(e)?wy(e,t,n):e}function Ik(e,t){return jo(e)?e.find((r,i)=>t(r,i)):t(e,0)?e:void 0}function rq(e,t){const n=e.value,r=e.animation,i={delayTime:pt(r.delay)*kk,enable:r.enable,value:pt(e.value)*t,max:Sp(n)*t,min:bp(n)*t,loops:0,maxLoops:pt(r.count),time:0},o=1;if(r.enable){switch(i.decay=o-pt(r.decay),r.mode){case"increase":i.status="increasing";break;case"decrease":i.status="decreasing";break;case"random":i.status=fr()>=Pb?"increasing":"decreasing";break}const s=r.mode==="auto";switch(r.startValue){case"min":i.value=i.min,s&&(i.status="increasing");break;case"max":i.value=i.max,s&&(i.status="decreasing");break;case"random":default:i.value=Ps(i),s&&(i.status=fr()>=Pb?"increasing":"decreasing");break}}return i.initialValue=i.value,i}function OV(e,t){if(!(e.mode==="percent")){const{mode:i,...o}=e;return o}return"x"in e?{x:e.x/us*t.width,y:e.y/us*t.height}:{width:e.width/us*t.width,height:e.height/us*t.height}}function iq(e,t){return OV(e,t)}function AV(e,t,n,r,i){switch(t){case"max":n>=i&&e.destroy();break;case"min":n<=r&&e.destroy();break}}function oq(e,t,n,r,i){if(e.destroyed||!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const c=(t.velocity??0)*i.factor,d=t.min,f=t.max,p=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=i.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case"increasing":t.value>=f?(n?t.status="decreasing":t.value-=f,t.loops||(t.loops=0),t.loops++):t.value+=c;break;case"decreasing":t.value<=d?(n?t.status="increasing":t.value+=f,t.loops||(t.loops=0),t.loops++):t.value-=c}t.velocity&&p!==1&&(t.velocity*=p),AV(e,r,t.value,d,f),e.destroyed||(t.value=xy(t.value,d,f))}}class IV{constructor(){this._listeners=new Map}addEventListener(t,n){this.removeEventListener(t,n);let r=this._listeners.get(t);r||(r=[],this._listeners.set(t,r)),r.push(n)}dispatchEvent(t,n){const r=this._listeners.get(t);r==null||r.forEach(i=>i(n))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,n){const r=this._listeners.get(t);if(!r)return;const i=r.length,o=r.indexOf(n);if(o<0)return;const a=1;i===a?this._listeners.delete(t):r.splice(o,a)}}async function Vh(e,t,n,r=!1){let i=t.get(e);return(!i||r)&&(i=await Promise.all([...n.values()].map(o=>o(e))),t.set(e,i)),i}async function $V(e){const t=Ak(e.url,e.index);if(!t)return e.fallback;const n=await fetch(t);return n.ok?await n.json():(PV().error(`${yy} ${n.status} while retrieving config file`),e.fallback)}class LV{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new IV,this._initialized=!1,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[n,r]of this._configs)t[n]=r;return t}get version(){return"3.3.0"}addConfig(t){const n=t.key??t.name??"default";this._configs.set(n,t),this._eventDispatcher.dispatchEvent("configAdded",{data:{name:n,config:t}})}async addEffect(t,n,r=!0){eu(t,i=>{this.getEffectDrawer(i)||this.effectDrawers.set(i,n)}),await this.refresh(r)}addEventListener(t,n){this._eventDispatcher.addEventListener(t,n)}async addInteractor(t,n,r=!0){this._initializers.interactors.set(t,n),await this.refresh(r)}async addMover(t,n,r=!0){this._initializers.movers.set(t,n),await this.refresh(r)}async addParticleUpdater(t,n,r=!0){this._initializers.updaters.set(t,n),await this.refresh(r)}async addPathGenerator(t,n,r=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,n),await this.refresh(r)}async addPlugin(t,n=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(n)}async addPreset(t,n,r=!1,i=!0){(r||!this.getPreset(t))&&this.presets.set(t,n),await this.refresh(i)}async addShape(t,n,r=!0){eu(t,i=>{this.getShapeDrawer(i)||this.shapeDrawers.set(i,n)}),await this.refresh(r)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,n){this._eventDispatcher.dispatchEvent(t,n)}dom(){return this._domArray}domItem(t){const n=this.dom(),r=n[t];if(!r||r.destroyed){n.splice(t,1);return}return r}async getAvailablePlugins(t){const n=new Map;for(const r of this.plugins)r.needsPlugin(t.actualOptions)&&n.set(r.id,await r.getPlugin(t));return n}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,n=!1){return await Vh(t,this.interactors,this._initializers.interactors,n)}async getMovers(t,n=!1){return await Vh(t,this.movers,this._initializers.movers,n)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(n=>n.id===t)}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,n=!1){return await Vh(t,this.updaters,this._initializers.updaters,n)}init(){this._initialized||(this._initialized=!0)}async load(t){var m;const r=t.id??((m=t.element)==null?void 0:m.id)??`tsparticles${Math.floor(fr()*1e4)}`,{index:i,url:o}=t,s=o?await $V({fallback:t.options,url:o,index:i}):t.options;let a=t.element??document.getElementById(r);a||(a=document.createElement("div"),a.id=r,document.body.append(a));const l=Ak(s,i),u=this.dom(),c=u.findIndex(x=>x.id.description===r),d=0;if(c>=d){const x=this.domItem(c);x&&!x.destroyed&&(x.destroy(),u.splice(c,1))}let f;if(a.tagName.toLowerCase()==="canvas")f=a,f.dataset[Nh]="false";else{const x=a.getElementsByTagName("canvas");x.length?(f=x[0],f.dataset[Nh]="false"):(f=document.createElement("canvas"),f.dataset[Nh]="true",a.appendChild(f))}f.style.width||(f.style.width="100%"),f.style.height||(f.style.height="100%");const{Container:p}=await Te(()=>import("./Container-fhxgz11J.js"),__vite__mapDeps([0,1,2,3,4])),h=new p(this,r,l);return c>=d?u.splice(c,0,h):u.push(h),h.canvas.loadCanvas(f),await h.start(),h}loadOptions(t,n){for(const r of this.plugins)r.loadOptions(t,n)}loadParticlesOptions(t,n,...r){var o;const i=this.updaters.get(t);if(i)for(const s of i)(o=s.loadOptions)==null||o.call(s,n,...r)}async refresh(t=!0){t&&await Promise.all(this.dom().map(n=>n.refresh()))}removeEventListener(t,n){this._eventDispatcher.removeEventListener(t,n)}setOnClickHandler(t){const n=this.dom();if(!n.length)throw new Error(`${yy} can only set click handlers after calling tsParticles.load()`);for(const r of n)r.addClickHandler(t)}}const Hd="random",Vc="mid",Ep=new Map;function Rb(e){Ep.set(e.key,e)}function jV(e){for(const[,l]of Ep)if(e.startsWith(l.stringPrefix))return l.parseString(e);const t=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,n=e.replace(t,(l,u,c,d,f)=>u+u+c+c+d+d+(f!==void 0?f+f:"")),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,i=r.exec(n),o=16;return i?{a:i[4]!==void 0?parseInt(i[4],o)/255:1,b:parseInt(i[3],o),g:parseInt(i[2],o),r:parseInt(i[1],o)}:void 0}function Gd(e,t,n=!0){if(!e)return;const r=Jl(e)?{value:e}:e;if(Jl(r.value))return $k(r.value,t,n);if(jo(r.value))return Gd({value:wy(r.value,t,n)});for(const[,i]of Ep){const o=i.handleRangeColor(r);if(o)return o}}function $k(e,t,n=!0){if(!e)return;const r=Jl(e)?{value:e}:e;if(Jl(r.value))return r.value===Hd?Lk():FV(r.value);if(jo(r.value))return $k({value:wy(r.value,t,n)});for(const[,i]of Ep){const o=i.handleColor(r);if(o)return o}}function sq(e,t,n=!0){const r=Gd(e,t,n);return r?DV(r):void 0}function DV(e){const c=e.r/255,d=e.g/255,f=e.b/255,p=Math.max(c,d,f),h=Math.min(c,d,f),m={h:0,l:(p+h)*.5,s:0};return p!==h&&(m.s=m.l<.5?(p-h)/(p+h):(p-h)/(2-p-h),m.h=c===p?(d-f)/(p-h):m.h=d===p?2+(f-c)/(p-h):2*2+(c-d)/(p-h)),m.l*=100,m.s*=100,m.h*=60,m.h<0&&(m.h+=360),m.h>=360&&(m.h-=360),m}function FV(e){return jV(e)}function Js(e){const s=(e.h%360+360)%360,a=Math.max(0,Math.min(100,e.s)),l=Math.max(0,Math.min(100,e.l)),u=s/360,c=a/100,d=l/100,f=255,p=3;if(a===0){const k=Math.round(d*f);return{r:k,g:k,b:k}}const h=.5,m=2,x=(k,M,A)=>{if(A<0&&A++,A>1&&A--,A*6<1)return k+(M-k)*6*A;if(A*m<1)return M;if(A*p<1*m){const B=m/p;return k+(M-k)*(B-A)*6}return k},g=1,y=d0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=r.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const c=e.offset?Ps(e.offset):0,d=(e.velocity??0)*r.factor+c*3.6,f=e.decay??1,p=Sp(t),h=bp(t);!n||e.status==="increasing"?(e.value+=d,e.value>p&&(e.loops||(e.loops=0),e.loops++,n?e.status="decreasing":e.value-=p)):(e.value-=d,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status="increasing")),e.velocity&&f!==1&&(e.velocity*=f),e.value=xy(e.value,h,p)}function pq(e,t){if(!e)return;const{h:n,s:r,l:i}=e,o={h:{min:0,max:360},s:{min:0,max:100},l:{min:0,max:100}};n&&Uh(n,o.h,!1,t),r&&Uh(r,o.s,!0,t),i&&Uh(i,o.l,!0,t)}class VV{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.s!==void 0&&r.l!==void 0)return Js(r)}handleRangeColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.l!==void 0)return Js({h:pt(r.h),l:pt(r.l),s:pt(r.s)})}parseString(t){if(!t.startsWith("hsl"))return;const n=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i,r=n.exec(t),i=4,o=1,s=10;return r?NV({a:r.length>i?_k(r[5]):o,h:parseInt(r[1],s),l:parseInt(r[3],s),s:parseInt(r[2],s)}):void 0}}class BV{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){const n=t.value,r=n.rgb??t.value;if(r.r!==void 0)return r}handleRangeColor(t){const n=t.value,r=n.rgb??t.value;if(r.r!==void 0)return{r:pt(r.r),g:pt(r.g),b:pt(r.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const n=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i,r=n.exec(t),i=10;return r?{a:r.length>4?_k(r[5]):1,b:parseInt(r[3],i),g:parseInt(r[2],i),r:parseInt(r[1],i)}:void 0}}function UV(){const e=new BV,t=new VV;Rb(e),Rb(t);const n=new LV;return n.init(),n}const by=UV();Cp()||(window.tsParticles=by);const WV=e=>{const t=e.id??"tsparticles";return b.useEffect(()=>{let n;return by.load({id:t,url:e.url,options:e.options}).then(r=>{var i;n=r,(i=e.particlesLoaded)==null||i.call(e,r)}),()=>{n==null||n.destroy()}},[t,e,e.url,e.options]),S.jsx("div",{id:t,className:e.className})};async function HV(e){await e(by)}async function GV(e,t=!0){const{loadParallaxMover:n}=await Te(()=>import("./index-3meJaKlq.js"),[]),{loadExternalAttractInteraction:r}=await Te(()=>import("./index-CQuCEwmM.js"),[]),{loadExternalBounceInteraction:i}=await Te(()=>import("./index-CVKDif1s.js"),[]),{loadExternalBubbleInteraction:o}=await Te(()=>import("./index-Cut2uYa8.js"),__vite__mapDeps([5,2])),{loadExternalConnectInteraction:s}=await Te(()=>import("./index-p2mq898M.js"),[]),{loadExternalGrabInteraction:a}=await Te(()=>import("./index-CosJ1068.js"),__vite__mapDeps([6,2])),{loadExternalPauseInteraction:l}=await Te(()=>import("./index-DfzUO37-.js"),[]),{loadExternalPushInteraction:u}=await Te(()=>import("./index-DdkCyka8.js"),[]),{loadExternalRemoveInteraction:c}=await Te(()=>import("./index-CqGupFKm.js"),[]),{loadExternalRepulseInteraction:d}=await Te(()=>import("./index-CjLrJtgB.js"),[]),{loadExternalSlowInteraction:f}=await Te(()=>import("./index-DFBCnyY0.js"),[]),{loadParticlesAttractInteraction:p}=await Te(()=>import("./index-DqyxdS8o.js"),[]),{loadParticlesCollisionsInteraction:h}=await Te(()=>import("./index-BNcvO0hq.js"),[]),{loadParticlesLinksInteraction:m}=await Te(()=>import("./index-Bv-lflEY.js"),__vite__mapDeps([7,2])),{loadEasingQuadPlugin:x}=await Te(()=>import("./index-DCYUMcqo.js"),[]),{loadEmojiShape:g}=await Te(()=>import("./index-d8vWEUa1.js").then(A=>A.i),[]),{loadImageShape:y}=await Te(()=>import("./index-BokV6Z4q.js").then(A=>A.i),[]),{loadLineShape:v}=await Te(()=>import("./index-CRPZ43XM.js"),[]),{loadPolygonShape:w}=await Te(()=>import("./index-CPMMYeyg.js"),[]),{loadSquareShape:C}=await Te(()=>import("./index-BI_ou2fV.js"),[]),{loadStarShape:E}=await Te(()=>import("./index-k3Bo2bSt.js"),[]),{loadLifeUpdater:T}=await Te(()=>import("./index-BF_2OU0y.js"),[]),{loadRotateUpdater:P}=await Te(()=>import("./index-DVMKyl2z.js"),[]),{loadStrokeColorUpdater:k}=await Te(()=>import("./index-VsRBptYE.js"),[]),{loadBasic:M}=await Te(()=>import("./index-CFwvAdvn.js"),[]);await n(e,!1),await r(e,!1),await i(e,!1),await o(e,!1),await s(e,!1),await a(e,!1),await l(e,!1),await u(e,!1),await c(e,!1),await d(e,!1),await f(e,!1),await p(e,!1),await h(e,!1),await m(e,!1),await x(),await g(e,!1),await y(e,!1),await v(e,!1),await w(e,!1),await C(e,!1),await E(e,!1),await T(e,!1),await P(e,!1),await k(e,!1),await M(e,t)}const Sy="-";function qV(e){const t=QV(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function i(s){const a=s.split(Sy);return a[0]===""&&a.length!==1&&a.shift(),jk(a,t)||KV(s)}function o(s,a){const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}return{getClassGroupId:i,getConflictingClassGroupIds:o}}function jk(e,t){var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?jk(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(Sy);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId}const Ob=/^\[(.+)\]$/;function KV(e){if(Ob.test(e)){const t=Ob.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function QV(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return XV(Object.entries(e.classGroups),n).forEach(([o,s])=>{Qg(s,r,o,t)}),r}function Qg(e,t,n,r){e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:Ab(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(YV(i)){Qg(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{Qg(s,Ab(t,o),n,r)})})}function Ab(e,t){let n=e;return t.split(Sy).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function YV(e){return e.isThemeGetter}function XV(e,t){return t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,a])=>[t+s,a])):o);return[n,i]}):e}function ZV(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function i(o,s){n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)}return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s)}}}const Dk="!";function JV(e){const t=e.separator,n=t.length===1,r=t[0],i=t.length;return function(s){const a=[];let l=0,u=0,c;for(let m=0;mu?c-u:void 0;return{modifiers:a,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:h}}}function e7(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function t7(e){return{cache:ZV(e.cacheSize),splitModifiers:JV(e),...qV(e)}}const n7=/\s+/;function r7(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=new Set;return e.trim().split(n7).map(s=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(s);let d=r(c?u.substring(0,c):u),f=!!c;if(!d){if(!c)return{isTailwindClass:!1,originalClassName:s};if(d=r(u),!d)return{isTailwindClass:!1,originalClassName:s};f=!1}const p=e7(a).join(":");return{isTailwindClass:!0,modifierId:l?p+Dk:p,classGroupId:d,originalClassName:s,hasPostfixModifier:f}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=s,c=a+l;return o.has(c)?!1:(o.add(c),i(l,u).forEach(d=>o.add(a+d)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function i7(){let e=0,t,n,r="";for(;ed(c),e());return n=t7(u),r=n.cache.get,i=n.cache.set,o=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=r7(l,n);return i(l,c),c}return function(){return o(i7.apply(null,arguments))}}function Re(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Nk=/^\[(?:([a-z-]+):)?(.+)\]$/i,s7=/^\d+\/\d+$/,a7=new Set(["px","full","screen"]),l7=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,u7=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,c7=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,d7=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,f7=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function hr(e){return uo(e)||a7.has(e)||s7.test(e)}function Yr(e){return ha(e,"length",w7)}function uo(e){return!!e&&!Number.isNaN(Number(e))}function hc(e){return ha(e,"number",uo)}function Ia(e){return!!e&&Number.isInteger(Number(e))}function p7(e){return e.endsWith("%")&&uo(e.slice(0,-1))}function ie(e){return Nk.test(e)}function Xr(e){return l7.test(e)}const h7=new Set(["length","size","percentage"]);function m7(e){return ha(e,h7,zk)}function g7(e){return ha(e,"position",zk)}const v7=new Set(["image","url"]);function y7(e){return ha(e,v7,S7)}function x7(e){return ha(e,"",b7)}function $a(){return!0}function ha(e,t,n){const r=Nk.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function w7(e){return u7.test(e)&&!c7.test(e)}function zk(){return!1}function b7(e){return d7.test(e)}function S7(e){return f7.test(e)}function C7(){const e=Re("colors"),t=Re("spacing"),n=Re("blur"),r=Re("brightness"),i=Re("borderColor"),o=Re("borderRadius"),s=Re("borderSpacing"),a=Re("borderWidth"),l=Re("contrast"),u=Re("grayscale"),c=Re("hueRotate"),d=Re("invert"),f=Re("gap"),p=Re("gradientColorStops"),h=Re("gradientColorStopPositions"),m=Re("inset"),x=Re("margin"),g=Re("opacity"),y=Re("padding"),v=Re("saturate"),w=Re("scale"),C=Re("sepia"),E=Re("skew"),T=Re("space"),P=Re("translate"),k=()=>["auto","contain","none"],M=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",ie,t],I=()=>[ie,t],L=()=>["",hr,Yr],D=()=>["auto",uo,ie],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],N=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],$=()=>["","0",ie],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[uo,hc],ne=()=>[uo,ie];return{cacheSize:500,separator:":",theme:{colors:[$a],spacing:[hr,Yr],blur:["none","",Xr,ie],brightness:K(),borderColor:[e],borderRadius:["none","","full",Xr,ie],borderSpacing:I(),borderWidth:L(),contrast:K(),grayscale:$(),hueRotate:ne(),invert:$(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[p7,Yr],inset:A(),margin:A(),opacity:K(),padding:I(),saturate:K(),scale:K(),sepia:$(),skew:ne(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",ie]}],container:["container"],columns:[{columns:[Xr]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),ie]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ia,ie]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ie]}],grow:[{grow:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",Ia,ie]}],"grid-cols":[{"grid-cols":[$a]}],"col-start-end":[{col:["auto",{span:["full",Ia,ie]},ie]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[$a]}],"row-start-end":[{row:["auto",{span:[Ia,ie]},ie]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ie]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ie,t]}],"min-w":[{"min-w":[ie,t,"min","max","fit"]}],"max-w":[{"max-w":[ie,t,"none","full","min","max","fit","prose",{screen:[Xr]},Xr]}],h:[{h:[ie,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ie,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ie,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ie,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Xr,Yr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",hc]}],"font-family":[{font:[$a]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ie]}],"line-clamp":[{"line-clamp":["none",uo,hc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",hr,ie]}],"list-image":[{"list-image":["none",ie]}],"list-style-type":[{list:["none","disc","decimal",ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...N(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",hr,Yr]}],"underline-offset":[{"underline-offset":["auto",hr,ie]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),g7]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",m7]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},y7]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...N(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:N()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...N()]}],"outline-offset":[{"outline-offset":[hr,ie]}],"outline-w":[{outline:[hr,Yr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[hr,Yr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Xr,x7]}],"shadow-color":[{shadow:[$a]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Xr,ie]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ie]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",ie]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Ia,ie]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ie]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ie]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ie]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[hr,Yr,hc]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const E7=o7(C7);function P7(...e){return E7(oe(e))}const Vk=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Pp=b.createContext({}),Cy=b.createContext(null),Ey=typeof document<"u",Py=Ey?b.useLayoutEffect:b.useEffect,Bk=b.createContext({strict:!1}),Ty=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),T7="framerAppearId",Uk="data-"+Ty(T7),k7={skipAnimations:!1,useManualTiming:!1};class Ib{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function M7(e){let t=new Ib,n=new Ib,r=0,i=!1,o=!1;const s=new WeakSet,a={schedule:(l,u=!1,c=!1)=>{const d=c&&i,f=d?t:n;return u&&s.add(l),f.add(l)&&d&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),s.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(d[f]=M7(()=>n=!0),d),{}),s=d=>{o[d].process(i)},a=()=>{const d=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(d-i.timestamp,_7),1),i.timestamp=d,i.isProcessing=!0,mc.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:mc.reduce((d,f)=>{const p=o[f];return d[f]=(h,m=!1,x=!1)=>(n||l(),p.schedule(h,m,x)),d},{}),cancel:d=>mc.forEach(f=>o[f].cancel(d)),state:i,steps:o}}const{schedule:ky,cancel:hq}=Wk(queueMicrotask,!1);function R7(e,t,n,r){const{visualElement:i}=b.useContext(Pp),o=b.useContext(Bk),s=b.useContext(Cy),a=b.useContext(Vk).reducedMotion,l=b.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;b.useInsertionEffect(()=>{u&&u.update(n,s)});const c=b.useRef(!!(n[Uk]&&!window.HandoffComplete));return Py(()=>{u&&(ky.postRender(u.render),c.current&&u.animationState&&u.animationState.animateChanges())}),b.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function cs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function O7(e,t,n){return b.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):cs(n)&&(n.current=r))},[t])}function tu(e){return typeof e=="string"||Array.isArray(e)}function Tp(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const My=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],_y=["initial",...My];function kp(e){return Tp(e.animate)||_y.some(t=>tu(e[t]))}function Hk(e){return!!(kp(e)||e.variants)}function A7(e,t){if(kp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||tu(n)?n:void 0,animate:tu(r)?r:void 0}}return e.inherit!==!1?t:{}}function I7(e){const{initial:t,animate:n}=A7(e,b.useContext(Pp));return b.useMemo(()=>({initial:t,animate:n}),[$b(t),$b(n)])}function $b(e){return Array.isArray(e)?e.join(" "):e}const Lb={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"]},nu={};for(const e in Lb)nu[e]={isEnabled:t=>Lb[e].some(n=>!!t[n])};function $7(e){for(const t in e)nu[t]={...nu[t],...e[t]}}const Gk=b.createContext({}),qk=b.createContext({}),L7=Symbol.for("motionComponentSymbol");function j7({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&$7(e);function o(a,l){let u;const c={...b.useContext(Vk),...a,layoutId:D7(a)},{isStatic:d}=c,f=I7(a),p=r(a,d);if(!d&&Ey){f.visualElement=R7(i,p,c,t);const h=b.useContext(qk),m=b.useContext(Bk).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,m,e,h))}return S.jsxs(Pp.Provider,{value:f,children:[u&&f.visualElement?S.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,O7(p,f.visualElement,l),p,d,f.visualElement)]})}const s=b.forwardRef(o);return s[L7]=i,s}function D7({layoutId:e}){const t=b.useContext(Gk).id;return t&&e!==void 0?t+"-"+e:e}function F7(e){function t(r,i={}){return j7(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const N7=["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 Ry(e){return typeof e!="string"||e.includes("-")?!1:!!(N7.indexOf(e)>-1||/[A-Z]/u.test(e))}const qd={};function z7(e){Object.assign(qd,e)}const $u=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Do=new Set($u);function Kk(e,{layout:t,layoutId:n}){return Do.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!qd[e]||e==="opacity")}const Rt=e=>!!(e&&e.getVelocity),V7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},B7=$u.length;function U7(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),Yk=Qk("--"),W7=Qk("var(--"),Oy=e=>W7(e)?H7.test(e.split("/*")[0].trim()):!1,H7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,G7=(e,t)=>t&&typeof e=="number"?t.transform(e):e,zi=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},cl={...ma,transform:e=>zi(0,1,e)},gc={...ma,default:1},dl=e=>Math.round(e*1e5)/1e5,Ay=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,q7=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,K7=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Lu(e){return typeof e=="string"}const ju=e=>({test:t=>Lu(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Jr=ju("deg"),cr=ju("%"),Z=ju("px"),Q7=ju("vh"),Y7=ju("vw"),jb={...cr,parse:e=>cr.parse(e)/100,transform:e=>cr.transform(e*100)},Db={...ma,transform:Math.round},Xk={borderWidth:Z,borderTopWidth:Z,borderRightWidth:Z,borderBottomWidth:Z,borderLeftWidth:Z,borderRadius:Z,radius:Z,borderTopLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderBottomLeftRadius:Z,width:Z,maxWidth:Z,height:Z,maxHeight:Z,size:Z,top:Z,right:Z,bottom:Z,left:Z,padding:Z,paddingTop:Z,paddingRight:Z,paddingBottom:Z,paddingLeft:Z,margin:Z,marginTop:Z,marginRight:Z,marginBottom:Z,marginLeft:Z,rotate:Jr,rotateX:Jr,rotateY:Jr,rotateZ:Jr,scale:gc,scaleX:gc,scaleY:gc,scaleZ:gc,skew:Jr,skewX:Jr,skewY:Jr,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:cl,originX:jb,originY:jb,originZ:Z,zIndex:Db,backgroundPositionX:Z,backgroundPositionY:Z,fillOpacity:cl,strokeOpacity:cl,numOctaves:Db};function Iy(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:a}=e;let l=!1,u=!1,c=!0;for(const d in t){const f=t[d];if(Yk(d)){o[d]=f;continue}const p=Xk[d],h=G7(f,p);if(Do.has(d)){if(l=!0,s[d]=h,!c)continue;f!==(p.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,a[d]=h):i[d]=h}if(t.transform||(l||r?i.transform=U7(e.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:d="50%",originY:f="50%",originZ:p=0}=a;i.transformOrigin=`${d} ${f} ${p}`}}const $y=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Zk(e,t,n){for(const r in t)!Rt(t[r])&&!Kk(r,n)&&(e[r]=t[r])}function X7({transformTemplate:e},t,n){return b.useMemo(()=>{const r=$y();return Iy(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function Z7(e,t,n){const r=e.style||{},i={};return Zk(i,r,e),Object.assign(i,X7(e,t,n)),i}function J7(e,t,n){const r={},i=Z7(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const eB=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Kd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||eB.has(e)}let Jk=e=>!Kd(e);function tB(e){e&&(Jk=t=>t.startsWith("on")?!Kd(t):e(t))}try{tB(require("@emotion/is-prop-valid").default)}catch{}function nB(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Jk(i)||n===!0&&Kd(i)||!t&&!Kd(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Fb(e,t,n){return typeof e=="string"?e:Z.transform(t+n*e)}function rB(e,t,n){const r=Fb(t,e.x,e.width),i=Fb(n,e.y,e.height);return`${r} ${i}`}const iB={offset:"stroke-dashoffset",array:"stroke-dasharray"},oB={offset:"strokeDashoffset",array:"strokeDasharray"};function sB(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?iB:oB;e[o.offset]=Z.transform(-r);const s=Z.transform(t),a=Z.transform(n);e[o.array]=`${s} ${a}`}function Ly(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d,f){if(Iy(e,u,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(i!==void 0||o!==void 0||h.transform)&&(h.transformOrigin=rB(m,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),s!==void 0&&sB(p,s,a,l,!1)}const eM=()=>({...$y(),attrs:{}}),jy=e=>typeof e=="string"&&e.toLowerCase()==="svg";function aB(e,t,n,r){const i=b.useMemo(()=>{const o=eM();return Ly(o,t,{enableHardwareAcceleration:!1},jy(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Zk(o,e.style,e),i.style={...o,...i.style}}return i}function lB(e=!1){return(n,r,i,{latestValues:o},s)=>{const l=(Ry(n)?aB:J7)(r,o,s,n),u=nB(r,typeof n=="string",e),c=n!==b.Fragment?{...u,...l,ref:i}:{},{children:d}=r,f=b.useMemo(()=>Rt(d)?d.get():d,[d]);return b.createElement(n,{...c,children:f})}}function tM(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const nM=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 rM(e,t,n,r){tM(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(nM.has(i)?i:Ty(i),t.attrs[i])}function Dy(e,t,n){var r;const{style:i}=e,o={};for(const s in i)(Rt(i[s])||t.style&&Rt(t.style[s])||Kk(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return o}function iM(e,t,n){const r=Dy(e,t,n);for(const i in e)if(Rt(e[i])||Rt(t[i])){const o=$u.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function Fy(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function Ny(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Yg=e=>Array.isArray(e),uB=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),cB=e=>Yg(e)?e[e.length-1]||0:e;function Bc(e){const t=Rt(e)?e.get():e;return uB(t)?t.toValue():t}function dB({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:fB(r,i,o,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}const oM=e=>(t,n)=>{const r=b.useContext(Pp),i=b.useContext(Cy),o=()=>dB(e,t,r,i);return n?o():Ny(o)};function fB(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=Bc(o[f]);let{initial:s,animate:a}=e;const l=kp(e),u=Hk(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const d=c?a:s;return d&&typeof d!="boolean"&&!Tp(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{const h=Fy(e,p);if(!h)return;const{transitionEnd:m,transition:x,...g}=h;for(const y in g){let v=g[y];if(Array.isArray(v)){const w=c?v.length-1:0;v=v[w]}v!==null&&(i[y]=v)}for(const y in m)i[y]=m[y]}),i}const bt=e=>e,{schedule:Ke,cancel:Dr,state:dt,steps:Wh}=Wk(typeof requestAnimationFrame<"u"?requestAnimationFrame:bt,!0),pB={useVisualState:oM({scrapeMotionValuesFromProps:iM,createRenderState:eM,onMount:(e,t,{renderState:n,latestValues:r})=>{Ke.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Ke.render(()=>{Ly(n,r,{enableHardwareAcceleration:!1},jy(t.tagName),e.transformTemplate),rM(t,n)})}})},hB={useVisualState:oM({scrapeMotionValuesFromProps:Dy,createRenderState:$y})};function mB(e,{forwardMotionProps:t=!1},n,r){return{...Ry(e)?pB:hB,preloadedFeatures:n,useRender:lB(t),createVisualElement:r,Component:e}}function Cr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const sM=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Mp(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const gB=e=>t=>sM(t)&&e(t,Mp(t));function _r(e,t,n,r){return Cr(e,t,gB(n),r)}const vB=(e,t)=>n=>t(e(n)),Rr=(...e)=>e.reduce(vB);function aM(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Nb=aM("dragHorizontal"),zb=aM("dragVertical");function lM(e){let t=!1;if(e==="y")t=zb();else if(e==="x")t=Nb();else{const n=Nb(),r=zb();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function uM(){const e=lM(!0);return e?(e(),!1):!0}class Gi{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Vb(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||uM())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&l(o,s)};return _r(e.current,n,i,{passive:!e.getProps()[r]})}class yB extends Gi{mount(){this.unmount=Rr(Vb(this.node,!0),Vb(this.node,!1))}unmount(){}}class xB extends Gi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=Rr(Cr(this.node.current,"focus",()=>this.onFocus()),Cr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const cM=(e,t)=>t?e===t?!0:cM(e,t.parentElement):!1;function Hh(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Mp(n))}class wB extends Gi{constructor(){super(...arguments),this.removeStartListeners=bt,this.removeEndListeners=bt,this.removeAccessibleListeners=bt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=_r(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!cM(this.node.current,a.target)?c&&c(a,l):u&&u(a,l)},{passive:!(r.onTap||r.onPointerUp)}),s=_r(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Rr(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=a=>{a.key!=="Enter"||!this.checkPressEnd()||Hh("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&c(l,u)})};this.removeEndListeners(),this.removeEndListeners=Cr(this.node.current,"keyup",s),Hh("down",(a,l)=>{this.startPress(a,l)})},n=Cr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Hh("cancel",(o,s)=>this.cancelPress(o,s))},i=Cr(this.node.current,"blur",r);this.removeAccessibleListeners=Rr(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&r(t,n)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!uM()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(t,n)}mount(){const t=this.node.getProps(),n=_r(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Cr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Rr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Xg=new WeakMap,Gh=new WeakMap,bB=e=>{const t=Xg.get(e.target);t&&t(e)},SB=e=>{e.forEach(bB)};function CB({root:e,...t}){const n=e||document;Gh.has(n)||Gh.set(n,{});const r=Gh.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(SB,{root:e,...t})),r[i]}function EB(e,t,n){const r=CB(t);return Xg.set(e,n),r.observe(e),()=>{Xg.delete(e),r.unobserve(e)}}const PB={some:0,all:1};class TB extends Gi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:PB[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return EB(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(kB(t,n))&&this.startObserver()}unmount(){}}function kB({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const MB={inView:{Feature:TB},tap:{Feature:wB},focus:{Feature:xB},hover:{Feature:yB}};function dM(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function RB(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function _p(e,t,n){const r=e.getProps();return Fy(r,t,n!==void 0?n:r.custom,_B(e),RB(e))}const Ii=e=>e*1e3,Or=e=>e/1e3,OB={type:"spring",stiffness:500,damping:25,restSpeed:10},AB=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),IB={type:"keyframes",duration:.8},$B={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},LB=(e,{keyframes:t})=>t.length>2?IB:Do.has(e)?e.startsWith("scale")?AB(t[1]):OB:$B;function jB({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function zy(e,t){return e[t]||e.default||e}const DB=e=>e!==null;function Rp(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(DB),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}let Uc;function FB(){Uc=void 0}const $i={now:()=>(Uc===void 0&&$i.set(dt.isProcessing||k7.useManualTiming?dt.timestamp:performance.now()),Uc),set:e=>{Uc=e,queueMicrotask(FB)}},fM=e=>/^0[^.\s]+$/u.test(e);function NB(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||fM(e):!0}let zB=bt,Vy=bt;const pM=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),VB=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function BB(e){const t=VB.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function hM(e,t,n=1){const[r,i]=BB(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return pM(s)?parseFloat(s):s}return Oy(i)?hM(i,t,n+1):i}const UB=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Bb=e=>e===ma||e===Z,Ub=(e,t)=>parseFloat(e.split(", ")[t]),Wb=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Ub(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?Ub(o[1],e):0}},WB=new Set(["x","y","z"]),HB=$u.filter(e=>!WB.has(e));function GB(e){const t=[];return HB.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ea={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:Wb(4,13),y:Wb(5,14)};ea.translateX=ea.x;ea.translateY=ea.y;const mM=e=>t=>t.test(e),qB={test:e=>e==="auto",parse:e=>e},gM=[ma,Z,cr,Jr,Y7,Q7,qB],Hb=e=>gM.find(mM(e)),Eo=new Set;let Zg=!1,Jg=!1;function vM(){if(Jg){const e=Array.from(Eo).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=GB(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const 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&&window.scrollTo(0,r.suspendedScrollY)})}Jg=!1,Zg=!1,Eo.forEach(e=>e.complete()),Eo.clear()}function yM(){Eo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Jg=!0)})}function KB(){yM(),vM()}class By{constructor(t,n,r,i,o,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Eo.add(this),Zg||(Zg=!0,Ke.read(yM),Ke.resolveKeyframes(vM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;on=>!!(Lu(n)&&K7.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),xM=(e,t,n)=>r=>{if(!Lu(r))return r;const[i,o,s,a]=r.match(Ay);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},QB=e=>zi(0,255,e),qh={...ma,transform:e=>Math.round(QB(e))},co={test:Uy("rgb","red"),parse:xM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+qh.transform(e)+", "+qh.transform(t)+", "+qh.transform(n)+", "+dl(cl.transform(r))+")"};function YB(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}}const e0={test:Uy("#"),parse:YB,transform:co.transform},ds={test:Uy("hsl","hue"),parse:xM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+cr.transform(dl(t))+", "+cr.transform(dl(n))+", "+dl(cl.transform(r))+")"},Mt={test:e=>co.test(e)||e0.test(e)||ds.test(e),parse:e=>co.test(e)?co.parse(e):ds.test(e)?ds.parse(e):e0.parse(e),transform:e=>Lu(e)?e:e.hasOwnProperty("red")?co.transform(e):ds.transform(e)};function XB(e){var t,n;return isNaN(e)&&Lu(e)&&(((t=e.match(Ay))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(q7))===null||n===void 0?void 0:n.length)||0)>0}const wM="number",bM="color",ZB="var",JB="var(",Gb="${}",eU=/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 Qd(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(eU,l=>(Mt.test(l)?(r.color.push(o),i.push(bM),n.push(Mt.parse(l))):l.startsWith(JB)?(r.var.push(o),i.push(ZB),n.push(l)):(r.number.push(o),i.push(wM),n.push(parseFloat(l))),++o,Gb)).split(Gb);return{values:n,split:a,indexes:r,types:i}}function SM(e){return Qd(e).values}function CM(e){const{split:t,types:n}=Qd(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function nU(e){const t=SM(e);return CM(e)(t.map(tU))}const Vi={test:XB,parse:SM,createTransformer:CM,getAnimatableNone:nU},rU=new Set(["brightness","contrast","saturate","opacity"]);function iU(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ay)||[];if(!r)return e;const i=n.replace(r,"");let o=rU.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const oU=/\b([a-z-]*)\(.*?\)/gu,t0={...Vi,getAnimatableNone:e=>{const t=e.match(oU);return t?t.map(iU).join(" "):e}},sU={...Xk,color:Mt,backgroundColor:Mt,outlineColor:Mt,fill:Mt,stroke:Mt,borderColor:Mt,borderTopColor:Mt,borderRightColor:Mt,borderBottomColor:Mt,borderLeftColor:Mt,filter:t0,WebkitFilter:t0},Wy=e=>sU[e];function EM(e,t){let n=Wy(e);return n!==t0&&(n=Vi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function aU(e,t,n){let r=0,i;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function lU(e){let t;return()=>(t===void 0&&(t=e()),t)}const qb=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Vi.test(e)||e==="0")&&!e.startsWith("url("));function uU(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n{this.resolveFinishedPromise=t})}}function Hy(e,t){return t?e*(1e3/t):0}const dU=5;function kM(e,t,n){const r=Math.max(t-dU,0);return Hy(n-e(r),t-r)}const Kh=.001,fU=.01,pU=10,hU=.05,mU=1;function gU({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o,s=1-t;s=zi(hU,mU,s),e=zi(fU,pU,Or(e)),s<1?(i=u=>{const c=u*s,d=c*e,f=c-n,p=n0(u,s),h=Math.exp(-d);return Kh-f/p*h},o=u=>{const d=u*s*e,f=d*n+n,p=Math.pow(s,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=n0(Math.pow(u,2),s);return(-i(u)+Kh>0?-1:1)*((f-p)*h)/m}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Kh+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=yU(i,o,a);if(e=Ii(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const vU=12;function yU(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function bU(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Kb(e,wU)&&Kb(e,xU)){const n=gU(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function MM({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=bU({...r,velocity:-Or(r.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(a*u)),m=o-i,x=Or(Math.sqrt(a/u)),g=Math.abs(m)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let y;if(h<1){const v=n0(x,h);y=w=>{const C=Math.exp(-h*x*w);return o-C*((p+h*x*m)/v*Math.sin(v*w)+m*Math.cos(v*w))}}else if(h===1)y=v=>o-Math.exp(-x*v)*(m+(p+x*m)*v);else{const v=x*Math.sqrt(h*h-1);y=w=>{const C=Math.exp(-h*x*w),E=Math.min(v*w,300);return o-C*((p+h*x*m)*Math.sinh(E)+v*m*Math.cosh(E))/v}}return{calculatedDuration:f&&c||null,next:v=>{const w=y(v);if(f)s.done=v>=c;else{let C=p;v!==0&&(h<1?C=kM(y,v,w):C=0);const E=Math.abs(C)<=n,T=Math.abs(o-w)<=t;s.done=E&&T}return s.value=s.done?o:w,s}}}function Qb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=P=>a!==void 0&&Pl,h=P=>a===void 0?l:l===void 0||Math.abs(a-P)-m*Math.exp(-P/r),v=P=>g+y(P),w=P=>{const k=y(P),M=v(P);f.done=Math.abs(k)<=u,f.value=f.done?g:M};let C,E;const T=P=>{p(f.value)&&(C=P,E=MM({keyframes:[f.value,h(f.value)],velocity:kM(v,P,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let k=!1;return!E&&C===void 0&&(k=!0,w(P),T(P)),C!==void 0&&P>=C?E.next(P-C):(!k&&w(P),f)}}}const _M=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,SU=1e-7,CU=12;function EU(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=_M(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>SU&&++aEU(o,0,1,e,n);return o=>o===0||o===1?o:_M(i(o),t,r)}const PU=Du(.42,0,1,1),TU=Du(0,0,.58,1),RM=Du(.42,0,.58,1),kU=e=>Array.isArray(e)&&typeof e[0]!="number",OM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,AM=e=>t=>1-e(1-t),Gy=e=>1-Math.sin(Math.acos(e)),IM=AM(Gy),MU=OM(Gy),$M=Du(.33,1.53,.69,.99),qy=AM($M),_U=OM(qy),RU=e=>(e*=2)<1?.5*qy(e):.5*(2-Math.pow(2,-10*(e-1))),OU={linear:bt,easeIn:PU,easeInOut:RM,easeOut:TU,circIn:Gy,circInOut:MU,circOut:IM,backIn:qy,backInOut:_U,backOut:$M,anticipate:RU},Yb=e=>{if(Array.isArray(e)){Vy(e.length===4);const[t,n,r,i]=e;return Du(t,n,r,i)}else if(typeof e=="string")return OU[e];return e},ta=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},je=(e,t,n)=>e+(t-e)*n;function Qh(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 AU({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{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Qh(l,a,e+1/3),o=Qh(l,a,e),s=Qh(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const Yh=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},IU=[e0,co,ds],$U=e=>IU.find(t=>t.test(e));function Xb(e){const t=$U(e);let n=t.parse(e);return t===ds&&(n=AU(n)),n}const Zb=(e,t)=>{const n=Xb(e),r=Xb(t),i={...n};return o=>(i.red=Yh(n.red,r.red,o),i.green=Yh(n.green,r.green,o),i.blue=Yh(n.blue,r.blue,o),i.alpha=je(n.alpha,r.alpha,o),co.transform(i))};function r0(e,t){return n=>n>0?t:e}function LU(e,t){return n=>je(e,t,n)}function Ky(e){return typeof e=="number"?LU:typeof e=="string"?Oy(e)?r0:Mt.test(e)?Zb:FU:Array.isArray(e)?LM:typeof e=="object"?Mt.test(e)?Zb:jU:r0}function LM(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>Ky(o)(o,t[s]));return o=>{for(let s=0;s{for(const o in r)n[o]=r[o](i);return n}}function DU(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o{const n=Vi.createTransformer(t),r=Qd(e),i=Qd(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?Rr(LM(DU(r,i),i.values),n):r0(e,t)};function jM(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?je(e,t,n):Ky(e)(e,t)}function NU(e,t,n){const r=[],i=n||jM,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());const s=NU(t,r,i),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(zi(e[0],e[o-1],u)):l}function zU(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=ta(0,t,r);e.push(je(n,1,i))}}function FM(e){const t=[0];return zU(t,e.length-1),t}function VU(e,t){return e.map(n=>n*t)}function BU(e,t){return e.map(()=>t||RM).splice(0,e.length-1)}function Yd({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=kU(r)?r.map(Yb):Yb(r),o={done:!1,value:t[0]},s=VU(n&&n.length===t.length?n:FM(t),e),a=DM(s,t,{ease:Array.isArray(i)?i:BU(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const Jb=2e4;function UU(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Jb?1/0:t}const WU=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Ke.update(t,!0),stop:()=>Dr(t),now:()=>dt.isProcessing?dt.timestamp:$i.now()}},HU={decay:Qb,inertia:Qb,tween:Yd,keyframes:Yd,spring:MM},GU=e=>e/100;class Qy extends TM{constructor({KeyframeResolver:t=By,...n}){super(n),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:a}=this.options;a&&a()};const{name:r,motionValue:i,keyframes:o}=this.options,s=(a,l)=>this.onKeyframesResolved(a,l);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(o,s,r,i):this.resolver=new t(o,s,r,i),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=this.options,a=HU[n]||Yd;let l,u;a!==Yd&&typeof t[0]!="number"&&(l=Rr(GU,jM(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});o==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=UU(c));const{calculatedDuration:d}=c,f=d+i,p=f*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return o.next(0);const{delay:f,repeat:p,repeatType:h,repeatDelay:m,onUpdate:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const g=this.currentTime-f*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,w=o;if(p){const P=Math.min(this.currentTime,c)/d;let k=Math.floor(P),M=P%1;!M&&P>=1&&(M=1),M===1&&k--,k=Math.min(k,p+1),!!(k%2)&&(h==="reverse"?(M=1-M,m&&(M-=m/d)):h==="mirror"&&(w=s)),v=zi(0,1,M)*d}const C=y?{done:!1,value:l[0]}:w.next(v);a&&(C.value=a(C.value));let{done:E}=C;!y&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&i!==void 0&&(C.value=Rp(l,this.options,i)),x&&x(C.value),T&&this.finish(),C}get duration(){const{resolved:t}=this;return t?Or(t.calculatedDuration):0}get time(){return Or(this.currentTime)}set time(t){t=Ii(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Or(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=WU,onPlay:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=r),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}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(t){return this.startTime=0,this.tick(t,!0)}}const NM=e=>Array.isArray(e)&&typeof e[0]=="number";function zM(e){return!!(!e||typeof e=="string"&&e in Yy||NM(e)||Array.isArray(e)&&e.every(zM))}const Ha=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Yy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ha([0,.65,.55,1]),circOut:Ha([.55,0,1,.45]),backIn:Ha([.31,.01,.66,-.59]),backOut:Ha([.33,1.53,.69,.99])};function qU(e){return VM(e)||Yy.easeOut}function VM(e){if(e)return NM(e)?Ha(e):Array.isArray(e)?e.map(qU):Yy[e]}function KU(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=VM(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}const QU=lU(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),YU=new Set(["opacity","clipPath","filter","transform"]),Xd=10,XU=2e4;function ZU(e){return e.type==="spring"||e.name==="backgroundColor"||!zM(e.ease)}function JU(e,t){const n=new Qy({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&othis.onKeyframesResolved(o,s),n,r),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:o,ease:s,type:a,motionValue:l,name:u}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(ZU(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...h}=this.options,m=JU(t,h);t=m.keyframes,t.length===1&&(t[1]=t[0]),i=m.duration,o=m.times,s=m.ease,a="keyframes"}const c=KU(l.owner.current,u,t,{...this.options,duration:i,times:o,ease:s});return c.startTime=$i.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;l.set(Rp(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:o,type:a,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Or(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Or(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Ii(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return bt;const{animation:r}=n;r.timeline=t,r.onfinish=null}return bt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:o,ease:s,times:a}=t;if(!(n.playState==="idle"||n.playState==="finished")){if(this.time){const{motionValue:l,onUpdate:u,onComplete:c,...d}=this.options,f=new Qy({...d,keyframes:r,duration:i,type:o,ease:s,times:a,isGenerator:!0}),p=Ii(this.time);l.setWithVelocity(f.sample(p-Xd).value,f.sample(p).value,Xd)}this.cancel()}}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:o,damping:s,type:a}=t;return QU()&&r&&YU.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&o!=="mirror"&&s!==0&&a!=="inertia"}}const Xy=(e,t,n,r={},i,o)=>s=>{const a=zy(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Ii(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};jB(a)||(c={...c,...LB(e,c)}),c.duration&&(c.duration=Ii(c.duration)),c.repeatDelay&&(c.repeatDelay=Ii(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!o&&t.get()!==void 0){const f=Rp(c.keyframes,a);if(f!==void 0){Ke.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!o&&eS.supports(c)?new eS(c):new Qy(c)};function Zd(e){return!!(Rt(e)&&e.add)}function Zy(e,t){e.indexOf(t)===-1&&e.push(t)}function Jy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class e1{constructor(){this.subscriptions=[]}add(t){return Zy(this.subscriptions,t),()=>Jy(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class tW{constructor(t,n={}){this.version="11.1.7",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=$i.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.canTrackVelocity=eW(this.current),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=$i.now()}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new e1);const r=this.events[t].add(n);return t==="change"?()=>{r(),Ke.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=$i.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>tS)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,tS);return Hy(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),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 Er(e,t){return new tW(e,t)}function nW(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Er(n))}function t1(e,t){const n=_p(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=cB(o[s]);nW(e,s,a)}}function rW({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function BM(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;const u=e.getValue("willChange");r&&(s=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in l){const p=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),h=l[f];if(h===void 0||d&&rW(d,f))continue;const m={delay:n,elapsed:0,...zy(s||{},f)};let x=!1;if(window.HandoffAppearAnimations){const v=e.getProps()[Uk];if(v){const w=window.HandoffAppearAnimations(v,f);w!==null&&(m.elapsed=w,x=!0)}}p.start(Xy(f,p,h,e.shouldReduceMotion&&Do.has(f)?{type:!1}:m,e,x));const g=p.animation;g&&(Zd(u)&&(u.add(f),g.then(()=>u.remove(f))),c.push(g))}return a&&Promise.all(c).then(()=>{Ke.update(()=>{a&&t1(e,a)})}),c}function i0(e,t,n={}){var r;const i=_p(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const s=i?()=>Promise.all(BM(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=o;return iW(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[u,c]=l==="beforeChildren"?[s,a]:[a,s];return u().then(()=>c())}else return Promise.all([s(),a(n.delay)])}function iW(e,t,n=0,r=0,i=1,o){const s=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(oW).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(i0(u,t,{...o,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function oW(e,t){return e.sortNodePosition(t)}function UM(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>i0(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=i0(e,t,n);else{const i=typeof t=="function"?_p(e,t,n.custom):t;r=Promise.all(BM(e,i,n))}return r.then(()=>{Ke.postRender(()=>{e.notify("AnimationComplete",t)})})}const sW=[...My].reverse(),aW=My.length;function lW(e){return t=>Promise.all(t.map(({animation:n,options:r})=>UM(e,n,r)))}function uW(e){let t=lW(e);const n=dW();let r=!0;const i=l=>(u,c)=>{var d;const f=_p(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:h,...m}=f;u={...u,...m,...h}}return u};function o(l){t=l(e)}function s(l){const u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let p={},h=1/0;for(let x=0;xh&&w,k=!1;const M=Array.isArray(v)?v:[v];let A=M.reduce(i(g),{});C===!1&&(A={});const{prevResolvedValues:I={}}=y,L={...I,...A},D=B=>{P=!0,f.has(B)&&(k=!0,f.delete(B)),y.needsAnimating[B]=!0;const N=e.getValue(B);N&&(N.liveStyle=!1)};for(const B in L){const N=A[B],H=I[B];if(p.hasOwnProperty(B))continue;let O=!1;Yg(N)&&Yg(H)?O=!dM(N,H):O=N!==H,O?N!=null?D(B):f.add(B):N!==void 0&&f.has(B)?D(B):y.protectedKeys[B]=!0}y.prevProp=v,y.prevResolvedValues=A,y.isActive&&(p={...p,...A}),r&&e.blockInitialAnimation&&(P=!1),P&&(!E||k)&&d.push(...M.map(B=>({animation:B,options:{type:g}})))}if(f.size){const x={};f.forEach(g=>{const y=e.getBaseTarget(g),v=e.getValue(g);v&&(v.liveStyle=!0),x[g]=y??null}),d.push({animation:x})}let m=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(l,u)}),n[l].isActive=u;const d=s(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n}}function cW(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!dM(t,e):!1}function Yi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dW(){return{animate:Yi(!0),whileInView:Yi(),whileHover:Yi(),whileTap:Yi(),whileDrag:Yi(),whileFocus:Yi(),exit:Yi()}}class fW extends Gi{constructor(t){super(t),t.animationState||(t.animationState=uW(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Tp(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let pW=0;class hW extends Gi{constructor(){super(...arguments),this.id=pW++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const mW={animation:{Feature:fW},exit:{Feature:hW}},nS=(e,t)=>Math.abs(e-t);function gW(e,t){const n=nS(e.x,t.x),r=nS(e.y,t.y);return Math.sqrt(n**2+r**2)}class WM{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Zh(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=gW(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:h}=d,{timestamp:m}=dt;this.history.push({...h,timestamp:m});const{onStart:x,onMove:g}=this.handlers;f||(x&&x(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Xh(f,this.transformPagePoint),Ke.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:h,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Zh(d.type==="pointercancel"?this.lastMoveEventInfo:Xh(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,x),h&&h(d,x)},!sM(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=Mp(t),a=Xh(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=dt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Zh(a,this.history)),this.removeListeners=Rr(_r(this.contextWindow,"pointermove",this.handlePointerMove),_r(this.contextWindow,"pointerup",this.handlePointerUp),_r(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Dr(this.updatePoint)}}function Xh(e,t){return t?{point:t(e.point)}:e}function rS(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zh({point:e},t){return{point:e,delta:rS(e,HM(t)),offset:rS(e,vW(t)),velocity:yW(t,.1)}}function vW(e){return e[0]}function HM(e){return e[e.length-1]}function yW(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=HM(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ii(t)));)n--;if(!r)return{x:0,y:0};const o=Or(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const 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 sn(e){return e.max-e.min}function o0(e,t=0,n=.01){return Math.abs(e-t)<=n}function iS(e,t,n,r=.5){e.origin=r,e.originPoint=je(t.min,t.max,e.origin),e.scale=sn(n)/sn(t),(o0(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=je(n.min,n.max,e.origin)-e.originPoint,(o0(e.translate)||isNaN(e.translate))&&(e.translate=0)}function fl(e,t,n,r){iS(e.x,t.x,n.x,r?r.originX:void 0),iS(e.y,t.y,n.y,r?r.originY:void 0)}function oS(e,t,n){e.min=n.min+t.min,e.max=e.min+sn(t)}function xW(e,t,n){oS(e.x,t.x,n.x),oS(e.y,t.y,n.y)}function sS(e,t,n){e.min=t.min-n.min,e.max=e.min+sn(t)}function pl(e,t,n){sS(e.x,t.x,n.x),sS(e.y,t.y,n.y)}function wW(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?je(n,e,r.max):Math.min(e,n)),e}function aS(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 bW(e,{top:t,left:n,bottom:r,right:i}){return{x:aS(e.x,n,i),y:aS(e.y,t,r)}}function lS(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=ta(t.min,t.max-r,e.min):r>i&&(n=ta(e.min,e.max-i,t.min)),zi(0,1,n)}function EW(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const s0=.35;function PW(e=s0){return e===!1?e=0:e===!0&&(e=s0),{x:uS(e,"left","right"),y:uS(e,"top","bottom")}}function uS(e,t,n){return{min:cS(e,t),max:cS(e,n)}}function cS(e,t){return typeof e=="number"?e:e[t]||0}const dS=()=>({translate:0,scale:1,origin:0,originPoint:0}),fs=()=>({x:dS(),y:dS()}),fS=()=>({min:0,max:0}),Ge=()=>({x:fS(),y:fS()});function fn(e){return[e("x"),e("y")]}function GM({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function TW({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function kW(e,t){if(!t)return e;const 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 Jh(e){return e===void 0||e===1}function a0({scale:e,scaleX:t,scaleY:n}){return!Jh(e)||!Jh(t)||!Jh(n)}function to(e){return a0(e)||qM(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function qM(e){return pS(e.x)||pS(e.y)}function pS(e){return e&&e!=="0%"}function Jd(e,t,n){const r=e-n,i=t*r;return n+i}function hS(e,t,n,r,i){return i!==void 0&&(e=Jd(e,i,r)),Jd(e,n,r)+t}function l0(e,t=0,n=1,r,i){e.min=hS(e.min,t,n,r,i),e.max=hS(e.max,t,n,r,i)}function KM(e,{x:t,y:n}){l0(e.x,t.translate,t.scale,t.originPoint),l0(e.y,n.translate,n.scale,n.originPoint)}function MW(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function ri(e,t){e.min=e.min+t,e.max=e.max+t}function gS(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=je(e.min,e.max,o);l0(e,t[n],t[r],s,t.scale)}const _W=["x","scaleX","originX"],RW=["y","scaleY","originY"];function ps(e,t){gS(e.x,t,_W),gS(e.y,t,RW)}function QM(e,t){return GM(kW(e.getBoundingClientRect(),t))}function OW(e,t,n){const r=QM(e,n),{scroll:i}=t;return i&&(ri(r.x,i.offset.x),ri(r.y,i.offset.y)),r}const YM=({current:e})=>e?e.ownerDocument.defaultView:null,AW=new WeakMap;class IW{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ge(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Mp(c,"page").point)},o=(c,d)=>{const{drag:f,dragPropagation:p,onDragStart:h}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=lM(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),fn(x=>{let g=this.getAxisMotionValue(x).get()||0;if(cr.test(g)){const{projection:y}=this.visualElement;if(y&&y.layout){const v=y.layout.layoutBox[x];v&&(g=sn(v)*(parseFloat(g)/100))}}this.originPoint[x]=g}),h&&h(c,d);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:h,onDrag:m}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:x}=d;if(p&&this.currentDirection===null){this.currentDirection=$W(x),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",d.point,x),this.updateAxis("y",d.point,x),this.visualElement.render(),m&&m(c,d)},a=(c,d)=>this.stop(c,d),l=()=>fn(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new WM(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:YM(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&o(t,n)}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!vc(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=wW(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&cs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=bW(i.layoutBox,n):this.constraints=!1,this.elastic=PW(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&fn(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=EW(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!cs(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=OW(r,i.root,this.visualElement.getTransformPagePoint());let s=SW(i.layout.layoutBox,o);if(n){const a=n(TW(s));this.hasMutatedConstraints=!!a,a&&(s=GM(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=fn(c=>{if(!vc(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,h={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Xy(t,r,0,n,this.visualElement))}stopAnimation(){fn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){fn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){fn(n=>{const{drag:r}=this.getProps();if(!vc(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n];o.set(t[n]-je(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!cs(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};fn(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();i[s]=CW({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),fn(s=>{if(!vc(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(je(l,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;AW.set(this.visualElement,this);const t=this.visualElement.current,n=_r(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();cs(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const s=Cr(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(fn(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=s0,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function vc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function $W(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class LW extends Gi{constructor(t){super(t),this.removeGroupControls=bt,this.removeListeners=bt,this.controls=new IW(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bt}unmount(){this.removeGroupControls(),this.removeListeners()}}const vS=e=>(t,n)=>{e&&e(t,n)};class jW extends Gi{constructor(){super(...arguments),this.removePointerDownListener=bt}onPointerDown(t){this.session=new WM(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:YM(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:vS(t),onStart:vS(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&i(o,s)}}}mount(){this.removePointerDownListener=_r(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function DW(){const e=b.useContext(Cy);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=b.useId();return b.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Wc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function yS(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const La={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;const n=yS(e,t.target.x),r=yS(e,t.target.y);return`${n}% ${r}%`}},FW={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Vi.parse(e);if(i.length>5)return r;const o=Vi.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;const u=je(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}};class NW extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;z7(zW),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Wc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||Ke.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ky.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function XM(e){const[t,n]=DW(),r=b.useContext(Gk);return S.jsx(NW,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(qk),isPresent:t,safeToRemove:n})}const zW={borderRadius:{...La,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:La,borderTopRightRadius:La,borderBottomLeftRadius:La,borderBottomRightRadius:La,boxShadow:FW},ZM=["TopLeft","TopRight","BottomLeft","BottomRight"],VW=ZM.length,xS=e=>typeof e=="string"?parseFloat(e):e,wS=e=>typeof e=="number"||Z.test(e);function BW(e,t,n,r,i,o){i?(e.opacity=je(0,n.opacity!==void 0?n.opacity:1,UW(r)),e.opacityExit=je(t.opacity!==void 0?t.opacity:1,0,WW(r))):o&&(e.opacity=je(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(ta(e,t,r))}function SS(e,t){e.min=t.min,e.max=t.max}function dn(e,t){SS(e.x,t.x),SS(e.y,t.y)}function CS(e,t,n,r,i){return e-=t,e=Jd(e,1/n,r),i!==void 0&&(e=Jd(e,1/i,r)),e}function HW(e,t=0,n=1,r=.5,i,o=e,s=e){if(cr.test(t)&&(t=parseFloat(t),t=je(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=je(o.min,o.max,r);e===o&&(a-=t),e.min=CS(e.min,t,n,a,i),e.max=CS(e.max,t,n,a,i)}function ES(e,t,[n,r,i],o,s){HW(e,t[n],t[r],t[i],t.scale,o,s)}const GW=["x","scaleX","originX"],qW=["y","scaleY","originY"];function PS(e,t,n,r){ES(e.x,t,GW,n?n.x:void 0,r?r.x:void 0),ES(e.y,t,qW,n?n.y:void 0,r?r.y:void 0)}function TS(e){return e.translate===0&&e.scale===1}function e_(e){return TS(e.x)&&TS(e.y)}function KW(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function t_(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function kS(e){return sn(e.x)/sn(e.y)}class QW{constructor(){this.members=[]}add(t){Zy(this.members,t),t.scheduleRender()}remove(t){if(Jy(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function MS(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0: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){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:p,skewY:h}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),h&&(r+=`skewY(${h}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const YW=(e,t)=>e.depth-t.depth;class XW{constructor(){this.children=[],this.isDirty=!1}add(t){Zy(this.children,t),this.isDirty=!0}remove(t){Jy(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(YW),this.isDirty=!1,this.children.forEach(t)}}function ZW(e,t){const n=$i.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Dr(r),e(o-t))};return Ke.read(r,!0),()=>Dr(r)}function JW(e){window.MotionDebug&&window.MotionDebug.record(e)}function eH(e){return e instanceof SVGElement&&e.tagName!=="svg"}function tH(e,t,n){const r=Rt(e)?e:Er(e);return r.start(Xy("",r,t,n)),r.animation}const em=["","X","Y","Z"],nH={visibility:"hidden"},_S=1e3;let rH=0;const no={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function tm(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function n_({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=rH++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,no.totalNodes=no.resolvedTargetDeltas=no.recalculatedProjection=0,this.nodes.forEach(sH),this.nodes.forEach(dH),this.nodes.forEach(fH),this.nodes.forEach(aH),JW(no)},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,d&&d(),d=ZW(f,250),Wc.hasAnimatedSinceResize&&(Wc.hasAnimatedSinceResize=!1,this.nodes.forEach(OS))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||vH,{onLayoutAnimationStart:x,onLayoutAnimationComplete:g}=c.getProps(),y=!this.targetLayout||!t_(this.targetLayout,h)||p,v=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const w={...zy(m,"layout"),onPlay:x,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else f||OS(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Dr(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(pH),this.animationId++)}getTransformTemplate(){const{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(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(lH),this.sharedNodes.forEach(hH)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ke.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ke.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const C=w/1e3;AS(d.x,s.x,C),AS(d.y,s.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pl(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),mH(this.relativeTarget,this.relativeTargetOrigin,f,C),v&&KW(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ge()),dn(v,this.relativeTarget)),m&&(this.animationValues=c,BW(c,u,this.latestValues,C,y,g)),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&&(Dr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ke.update(()=>{Wc.hasAnimatedSinceResize=!0,this.currentAnimation=tH(0,_S,{...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);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(_S),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&r_(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ge();const d=sn(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=sn(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}dn(a,l),ps(a,c),fl(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new QW),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&tm("z",s,u,this.animationValues);for(let c=0;c{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(RS),this.root.sharedNodes.clear()}}}function iH(e){e.updateLayout()}function oH(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?fn(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],p=sn(f);f.min=r[d].min,f.max=f.min+p}):r_(o,n.layoutBox,r)&&fn(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],p=sn(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=fs();fl(a,r,n.layoutBox);const l=fs();s?fl(l,e.applyTransform(i,!0),n.measuredBox):fl(l,r,n.layoutBox);const u=!e_(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const h=Ge();pl(h,n.layoutBox,f.layoutBox);const m=Ge();pl(m,r,p.layoutBox),t_(h,m)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=h,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function sH(e){no.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 aH(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function lH(e){e.clearSnapshot()}function RS(e){e.clearMeasurements()}function uH(e){e.isLayoutDirty=!1}function cH(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function OS(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function dH(e){e.resolveTargetDelta()}function fH(e){e.calcProjection()}function pH(e){e.resetSkewAndRotation()}function hH(e){e.removeLeadSnapshot()}function AS(e,t,n){e.translate=je(t.translate,0,n),e.scale=je(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function IS(e,t,n,r){e.min=je(t.min,n.min,r),e.max=je(t.max,n.max,r)}function mH(e,t,n,r){IS(e.x,t.x,n.x,r),IS(e.y,t.y,n.y,r)}function gH(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const vH={duration:.45,ease:[.4,0,.1,1]},$S=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),LS=$S("applewebkit/")&&!$S("chrome/")?Math.round:bt;function jS(e){e.min=LS(e.min),e.max=LS(e.max)}function yH(e){jS(e.x),jS(e.y)}function r_(e,t,n){return e==="position"||e==="preserve-aspect"&&!o0(kS(t),kS(n),.2)}const xH=n_({attachResizeListener:(e,t)=>Cr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nm={current:void 0},i_=n_({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!nm.current){const e=new xH({});e.mount(window),e.setOptions({layoutScroll:!0}),nm.current=e}return nm.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),wH={pan:{Feature:jW},drag:{Feature:LW,ProjectionNode:i_,MeasureLayout:XM}},u0={current:null},o_={current:!1};function bH(){if(o_.current=!0,!!Ey)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>u0.current=e.matches;e.addListener(t),t()}else u0.current=!1}function SH(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(Rt(o))e.addValue(i,o),Zd(r)&&r.add(i);else if(Rt(s))e.addValue(i,Er(o,{owner:e})),Zd(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const a=e.getValue(i);a.liveStyle===!0?a.jump(o):a.hasAnimated||a.set(o)}else{const a=e.getStaticValue(i);e.addValue(i,Er(a!==void 0?a:o,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const DS=new WeakMap,CH=[...gM,Mt,Vi],EH=e=>CH.find(mM(e)),s_=Object.keys(nu),PH=s_.length,FS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],TH=_y.length;function a_(e){if(e)return e.options.allowProjection!==!1?e.projection:a_(e.parent)}class kH{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},a={}){this.resolveKeyframes=(f,p,h,m)=>new this.KeyframeResolver(f,p,h,m,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=By,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Ke.render(this.render,!1,!0);const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=kp(n),this.isVariantNode=Hk(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const p=d[f];l[f]!==void 0&&Rt(p)&&(p.set(l[f],!1),Zd(c)&&c.add(f))}}mount(t){this.current=t,DS.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),o_.current||bH(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:u0.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var t;DS.delete(this.current),this.projection&&this.projection.unmount(),Dr(this.notifyUpdate),Dr(this.render),this.valueSubscriptions.forEach(n=>n()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features)(t=this.features[n])===null||t===void 0||t.unmount();this.current=null}bindToMotionValue(t,n){const r=Do.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Ke.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,o){let s,a;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,layoutScroll:f,layoutRoot:p})}return a}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ge()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Er(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(pM(i)||fM(i))?i=parseFloat(i):!EH(i)&&Vi.test(n)&&(i=EM(t,n)),this.setBaseTarget(t,Rt(i)?i.get():i)),Rt(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const s=Fy(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(i=s[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Rt(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new e1),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class l_ extends kH{constructor(){super(...arguments),this.KeyframeResolver=PM}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}}function MH(e){return window.getComputedStyle(e)}class _H extends l_{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(Do.has(n)){const r=Wy(n);return r&&r.default||0}else{const r=MH(t),i=(Yk(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return QM(t,n)}build(t,n,r,i){Iy(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Dy(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Rt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){tM(t,n,r,i)}}class RH extends l_{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Do.has(n)){const r=Wy(n);return r&&r.default||0}return n=nM.has(n)?n:Ty(n),t.getAttribute(n)}measureInstanceViewportBox(){return Ge()}scrapeMotionValuesFromProps(t,n,r){return iM(t,n,r)}build(t,n,r,i){Ly(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){rM(t,n,r,i)}mount(t){this.isSVGTag=jy(t.tagName),super.mount(t)}}const OH=(e,t)=>Ry(e)?new RH(t,{enableHardwareAcceleration:!1}):new _H(t,{allowProjection:e!==b.Fragment,enableHardwareAcceleration:!0}),AH={layout:{ProjectionNode:i_,MeasureLayout:XM}},IH={...mW,...MB,...wH,...AH},$H=F7((e,t)=>mB(e,t,IH,OH));function LH(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(Vy(!!t.current),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||[])}const Hc=new WeakMap;let ei;function jH(e,t){if(t){const{inlineSize:n,blockSize:r}=t[0];return{width:n,height:r}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function DH({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Hc.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return jH(e,n)}})})}function FH(e){e.forEach(DH)}function NH(){typeof ResizeObserver>"u"||(ei=new ResizeObserver(FH))}function zH(e,t){ei||NH();const n=LH(e);return n.forEach(r=>{let i=Hc.get(r);i||(i=new Set,Hc.set(r,i)),i.add(t),ei==null||ei.observe(r)}),()=>{n.forEach(r=>{const i=Hc.get(r);i==null||i.delete(t),i!=null&&i.size||ei==null||ei.unobserve(r)})}}const Gc=new Set;let hl;function VH(){hl=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Gc.forEach(n=>n(t))},window.addEventListener("resize",hl)}function BH(e){return Gc.add(e),hl||VH(),()=>{Gc.delete(e),!Gc.size&&hl&&(hl=void 0)}}function UH(e,t){return typeof e=="function"?BH(e):zH(e,t)}const WH=50,NS=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),HH=()=>({time:0,x:NS(),y:NS()}),GH={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function zS(e,t,n,r){const i=n[t],{length:o,position:s}=GH[t],a=i.current,l=n.time;i.current=e[`scroll${s}`],i.scrollLength=e[`scroll${o}`]-e[`client${o}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=ta(0,i.scrollLength,i.current);const u=r-l;i.velocity=u>WH?0:Hy(i.current-a,u)}function qH(e,t,n){zS(e,"x",t,n),zS(e,"y",t,n),t.time=n}function KH(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const i=r.getBoundingClientRect();r=r.parentElement;const o=r.getBoundingClientRect();n.x+=i.left-o.left,n.y+=i.top-o.top}else if(r instanceof SVGGraphicsElement){const{x:i,y:o}=r.getBBox();n.x+=i,n.y+=o;let s=null,a=r.parentNode;for(;!s;)a.tagName==="svg"&&(s=a),a=r.parentNode;r=s}else break;return n}const QH={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},c0={start:0,center:.5,end:1};function VS(e,t,n=0){let r=0;if(e in c0&&(e=c0[e]),typeof e=="string"){const i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(r=t*e),n+r}const YH=[0,0];function XH(e,t,n,r){let i=Array.isArray(e)?e:YH,o=0,s=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,c0[e]?e:"0"]),o=VS(i[0],n,r),s=VS(i[1],t),o-s}const ZH={x:0,y:0};function JH(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function eG(e,t,n){const{offset:r=QH.All}=n,{target:i=e,axis:o="y"}=n,s=o==="y"?"height":"width",a=i!==e?KH(i,e):ZH,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:JH(i),u={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let c=!t[o].interpolate;const d=r.length;for(let f=0;ftG(e,r.target,n),update:i=>{qH(e,n,i),(r.offset||r.target)&&eG(e,n,r)},notify:()=>t(n)}}const ja=new WeakMap,BS=new WeakMap,rm=new WeakMap,US=e=>e===document.documentElement?window:e;function rG(e,{container:t=document.documentElement,...n}={}){let r=rm.get(t);r||(r=new Set,rm.set(t,r));const i=HH(),o=nG(t,e,i,n);if(r.add(o),!ja.has(t)){const a=()=>{for(const f of r)f.measure()},l=()=>{for(const f of r)f.update(dt.timestamp)},u=()=>{for(const f of r)f.notify()},c=()=>{Ke.read(a,!1,!0),Ke.read(l,!1,!0),Ke.update(u,!1,!0)};ja.set(t,c);const d=US(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&BS.set(t,UH(t,c)),d.addEventListener("scroll",c,{passive:!0})}const s=ja.get(t);return Ke.read(s,!1,!0),()=>{var a;Dr(s);const l=rm.get(t);if(!l||(l.delete(o),l.size))return;const u=ja.get(t);ja.delete(t),u&&(US(t).removeEventListener("scroll",u),(a=BS.get(t))===null||a===void 0||a(),window.removeEventListener("resize",u))}}function WS(e,t){zB(!!(!t||t.current))}const iG=()=>({scrollX:Er(0),scrollY:Er(0),scrollXProgress:Er(0),scrollYProgress:Er(0)});function Op({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=Ny(iG);return(n?Py:b.useEffect)(()=>(WS("target",t),WS("container",e),rG(({x:s,y:a})=>{i.scrollX.set(s.current),i.scrollXProgress.set(s.progress),i.scrollY.set(a.current),i.scrollYProgress.set(a.progress)},{...r,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0})),[e,t,JSON.stringify(r.offset)]),i}function oG(e){e.values.forEach(t=>t.stop())}function d0(e,t){[...t].reverse().forEach(r=>{const i=e.getVariant(r);i&&t1(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{d0(o,t)})})}function sG(e,t){if(Array.isArray(t))return d0(e,t);if(typeof t=="string")return d0(e,[t]);t1(e,t)}function aG(){const e=new Set,t={subscribe(n){return e.add(n),()=>void e.delete(n)},start(n,r){const i=[];return e.forEach(o=>{i.push(UM(o,n,{transitionOverride:r}))}),Promise.all(i)},set(n){return e.forEach(r=>{sG(r,n)})},stop(){e.forEach(n=>{oG(n)})},mount(){return()=>{t.stop()}}};return t}function lG(){const e=Ny(aG);return Py(e.mount,[]),e}const uG=lG,HS=e=>{const{id:t,className:n,background:r,minSize:i,maxSize:o,speed:s,particleColor:a,particleDensity:l}=e,[u,c]=b.useState(!1);b.useEffect(()=>{HV(async p=>{await GV(p)}).then(()=>{c(!0)})},[]);const d=uG(),f=async p=>{p&&(console.log(p),d.start({opacity:1,transition:{duration:1}}))};return S.jsx($H.div,{style:{...e.sx},animate:d,className:P7("opacity-0",n),children:u&&S.jsx(WV,{id:t||"tsparticles",particlesLoaded:f,options:{background:{color:{value:r||"#0d47a1"}},fullScreen:{enable:!1,zIndex:1},fpsLimit:120,interactivity:{events:{onClick:{enable:!0,mode:"push"},onHover:{enable:!1,mode:"repulse"},resize:!0},modes:{push:{quantity:4},repulse:{distance:200,duration:.4}}},particles:{bounce:{horizontal:{value:1},vertical:{value:1}},collisions:{absorb:{speed:2},bounce:{horizontal:{value:1},vertical:{value:1}},enable:!1,maxSpeed:50,mode:"bounce",overlap:{enable:!0,retries:0}},color:{value:a||"#ffffff",animation:{h:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0},s:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0},l:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0}}},effect:{close:!0,fill:!0,options:{},type:{}},groups:{},move:{angle:{offset:0,value:90},attract:{distance:200,enable:!1,rotate:{x:3e3,y:3e3}},center:{x:50,y:50,mode:"percent",radius:0},decay:0,distance:{},direction:"none",drift:0,enable:!0,gravity:{acceleration:9.81,enable:!1,inverse:!1,maxSpeed:50},path:{clamp:!0,delay:{value:0},enable:!1,options:{}},outModes:{default:"out"},random:!1,size:!1,speed:{min:.1,max:1},spin:{acceleration:0,enable:!1},straight:!1,trail:{enable:!1,length:10,fill:{}},vibrate:!1,warp:!1},number:{density:{enable:!0,width:400,height:400},limit:{mode:"delete",value:0},value:l||120},opacity:{value:{min:.1,max:1},animation:{count:0,enable:!0,speed:s||4,decay:0,delay:0,sync:!1,mode:"auto",startValue:"random",destroy:"none"}},reduceDuplicates:!1,shadow:{blur:0,color:{value:"#000"},enable:!1,offset:{x:0,y:0}},shape:{close:!0,fill:!0,options:{},type:"circle"},size:{value:{min:i||1,max:o||3},animation:{count:0,enable:!1,speed:5,decay:0,delay:0,sync:!1,mode:"auto",startValue:"random",destroy:"none"}},stroke:{width:0},zIndex:{value:0,opacityRate:1,sizeRate:1,velocityRate:1},destroy:{bounds:{},mode:"none",split:{count:1,factor:{value:3},rate:{value:{min:4,max:9}},sizeOffset:!0}},roll:{darken:{enable:!1,value:0},enable:!1,enlighten:{enable:!1,value:0},mode:"vertical",speed:25},tilt:{value:0,animation:{enable:!1,speed:0,decay:0,sync:!1},direction:"clockwise",enable:!1},twinkle:{lines:{enable:!1,frequency:.05,opacity:1},particles:{enable:!1,frequency:.05,opacity:1}},wobble:{distance:5,enable:!1,speed:{angle:50,move:10}},life:{count:0,delay:{value:0,sync:!1},duration:{value:0,sync:!1}},rotate:{value:0,animation:{enable:!1,speed:0,decay:0,sync:!1},direction:"clockwise",path:!1},orbit:{animation:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!1},enable:!1,opacity:1,rotation:{value:45},width:1},links:{blink:!1,color:{value:"#fff"},consent:!1,distance:100,enable:!1,frequency:1,opacity:1,shadow:{blur:5,color:{value:"#000"},enable:!1},triangles:{enable:!1,frequency:1},width:1,warp:!1},repulse:{value:0,enabled:!1,distance:1,duration:1,factor:1,speed:1}},detectRetina:!0}})})};function GS(e){let t="",n="";e.project.tier=="Silver"?(t="#E5E4E2",n="#9E9E9E"):e.project.tier=="Gold"?(t="#EBD197",n="#B48811"):(t="#DC8E41",n="#BE7023");function r(i){let o=i.toLowerCase().replaceAll("-","").replaceAll(" ","-");return`${da.getUri()}/sponsor-logos/${o}.png`}return S.jsx(Q,{sx:{...e.sx,boxShadow:5,position:"sticky",height:"60vh",width:{xs:"100%",md:"50vw"},borderRadius:"20px",padding:"30px",background:"linear-gradient(90deg,"+t+", "+n+")"},children:S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",height:"100%",gap:"15px"},children:[S.jsx("img",{style:{maxWidth:"48px",mixBlendMode:"luminosity"},src:"/logo256.png"}),S.jsx(Q,{sx:{marginTop:"10px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"30px",maxWidth:"100%"},children:e.project.members.map(i=>S.jsx("img",{style:{maxHeight:"50px",maxWidth:"100%"},src:r(i)}))}),S.jsx(Q,{sx:{flexGrow:1}}),S.jsx(ce,{sx:{lineHeight:.7,fontSize:"2.8rem",fontWeight:"bold",color:"black",textAlign:"end"},children:e.project.tier})]})})}function u_(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,o]=W.useState(0),{scrollYProgress:s}=Op({target:t,offset:["start start","end end"]});return W.useEffect(()=>{s.on("change",a=>{a<.9&&(r(Math.abs(1-a*.08)),o(Math.abs(200*a)))})},[]),S.jsxs(Q,{sx:{...e==null?void 0:e.sx,display:"flex",flexDirection:"column",alignItems:"center",gap:"50px",minHeight:`calc(${400*(e.children.length+1)}px)`,transform:`scale(${n})`},children:[S.jsx(ce,{sx:{position:"sticky",top:`calc(${e.stickyPosition?"33vh":"130px"} - ${i}px)`,fontSize:"2.3rem",fontWeight:"bold",lineHeight:e.stickyPosition?.4:"unset"},children:e.title}),e.children.map((a,l)=>W.cloneElement(a,{sx:{position:"sticky",top:`calc(${e.stickyPosition??"25vh"} + ${l*40}px - ${i}px)`,transform:`scale(${1+l*.03})`}}))]})}function cG(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,o]=W.useState([]),{scrollYProgress:s}=Op({target:t,offset:["start start","end end"]});return W.useEffect(()=>{s.on("change",a=>{a<.9&&r(Math.abs(1-a*.08))}),o(()=>[{tier:"Gold",members:["Amazon Project Kuiper","Fischell Institute","Children's National Hospital","Praxis Engineering"]},{tier:"Gold",members:["US News","General Dynamics IT","MITRE"]},{tier:"Silver",members:["MCERSI","SECU"]},{tier:"Bronze",members:["NSA"]}])},[]),S.jsxs(Q,{sx:{width:"100%",height:"100%",display:"flex",position:"relative",justifyContent:"center",padding:{xs:"15px",md:"0px 100px 0px 50px"}},children:[S.jsxs(Q,{sx:{display:{xs:"none",md:"flex"},flexDirection:"column",width:"100%",height:"max-content",position:"sticky",top:"45vh",left:"0px",textAlign:"center"},children:[S.jsx(ce,{sx:{fontSize:"2.5rem",fontWeight:"bold"},children:"Our Sponsors"}),S.jsx(zl,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold"},children:"Want to be a part of something amazing? Sponsor us today!"})]}),e!=null&&e.mobileView?S.jsxs(Q,{sx:{display:"flex",flexDirection:"column"},children:[S.jsx(u_,{title:"Our Sponsors",stickyPosition:"40vh",children:i.map(a=>S.jsx(GS,{project:a}))}),S.jsx(zl,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold",textAlign:"center"},children:"Want to be a part of something amazing? Sponsor us today!"})]}):S.jsx(Q,{ref:t,sx:{...e==null?void 0:e.sx,flexGrow:1,display:"flex",flexDirection:"column",alignItems:"center",gap:"50px",width:"100%",minHeight:`${60*(i.length+1)}vh`,transform:`scale(${n})`},children:i.map((a,l)=>S.jsx(GS,{project:a,sx:{top:`calc(22vh + ${l*40}px)`,transform:`scale(${1+l*.03})`}}))})]})}function dG(e){const[t,n]=W.useState(""),r=()=>{var i;(i=window.open(`mailto:umdappdev@gmail.com?subject=Information Request&body=${t}`))==null||i.focus()};return S.jsxs(Q,{id:e==null?void 0:e.id,sx:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[S.jsx(ce,{id:"contact-us",sx:{fontSize:"3rem",fontWeight:"bold",textAlign:"center"},children:"Stay Connected!"}),S.jsx(ce,{sx:{textAlign:"center"},children:"We hold a lot of events thoughout the year, Keep in touch with us!"}),S.jsx(KT,{sx:{marginTop:"25px"},fontSize:"2rem"}),S.jsx(WD,{sx:{minWidth:{xs:"90%",md:"60%",lg:"40%"},marginTop:"40px"},placeholder:"Drop us an Email!",value:t,onChange:i=>{n(i.target.value)},endAdornment:S.jsx(Nl,{onClick:r,children:S.jsx(B4,{})})})]})}const qS=b.forwardRef((e,t)=>{if(e.isLoading)return"Loading...";if(e.error)return e.error.message;const n=W.useRef(null),r=W.useRef(null),{scrollYProgress:i}=Op({target:n,offset:["start start","end end"]});return W.useEffect(()=>{i.on("change",o=>{r.current&&(r.current.scrollLeft=(r.current.scrollWidth-r.current.clientWidth)*o)})},[]),S.jsx(Q,{ref:t,children:e.mobileView?S.jsx(u_,{title:"Projects",sx:{padding:"20px"},children:e.data.map(o=>S.jsx(Ow,{mobileView:!0,project:o},o._id))}):S.jsx(Q,{ref:n,sx:{height:`${e.data.length*600}px`},children:S.jsx(Q,{id:e.id,ref:r,sx:{display:"flex",gap:"30px",padding:"80px 50px 80px 50px",maxWidth:"100%",overflowX:"hidden",top:"100px",position:"sticky"},children:e.data.map(o=>S.jsx(Ow,{mobileView:!1,project:o},o._id))})})})}),KS=[{title:"About",anchor:"/#maindiv-001"},{title:"Projects",anchor:"/#subdiv-002"},{title:"Our Team",anchor:"/#team"},{title:"Sponsors",anchor:"/#sponsors"},{title:"Highlights",anchor:"/#highlights"},{title:"Contact Us",anchor:"/#contact"}];function fG(){function e(w){switch(w){case 1:return"linear-gradient(30deg, #1e1e1e, #5626a1);";case 0:return"radial-gradient(55% 55% at -3% 104%, #0F114AFF 13%, #07074178 41%, #00000014 76%, #073AFF00 99%),radial-gradient(25% 25% at 62% 54%, #2324A9C4 0%, #073AFF00 100%),radial-gradient(25% 44% at 83% 33%, #434EA3FF 0%, #44579D29 65%, #073AFF00 93%),radial-gradient(49% 81% at 45% 47%, #0891A245 0%, #073AFF00 100%),radial-gradient(113% 91% at 17% -2%, #6122A6FF 1%, #FF000000 99%),radial-gradient(142% 91% at 83% 7%, #0522A9FF 1%, #FF000000 99%),radial-gradient(142% 91% at -6% 74%, #1C2581FF 1%, #FF000000 99%),radial-gradient(142% 91% at 109% 60%, #131B36FF 0%, #205353FF 99%)0";case-1:return"linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);";case 2:return"linear-gradient(135deg, #000000, #120037, #2e002b, #170018);";case 3:return"radial-gradient(circle at 30% 30%, #5F0F40 0%, #310E68 30%, #5626a1 50%, #1e1e1e 70%, #330136 80%, #560bad 100%), linear-gradient(135deg, #5F0F40, #310E68);";case 4:return"linear-gradient(135deg, #060101, #0e0202, #160303, #1e0404);";case-2:return"linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);";default:return"black"}}const t=K4(YT.baseTheme.breakpoints.down("md")),[n,r]=W.useState(-120),[i]=W.useState([{title:"General Body Meeting, 3/25 8pm @ Iribe"}]),[o,s]=W.useState({start:0,end:0}),[a,l]=W.useState(!1);W.useEffect(()=>{a&&setTimeout(()=>{s(w=>(l(!1),w.start=w.end,w))},200)},[a]);function u(w){s(C=>(C.end!=w&&(l(!0),C.start=C.end,C.end=w,console.warn(`Gradient Transition: ${C.start} -> ${C.end}`)),C))}const c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(null),h=b.useRef(null),{scrollYProgress:m}=Op({target:c,offset:["start start","end end"]});W.useEffect(()=>{m.on("change",w=>{var L,D,B,N,H,O,$;r(Math.min(-120*(1-30*w),0));const C=(((L=c.current)==null?void 0:L.offsetHeight)??0)*w,E=(((D=f==null?void 0:f.current)==null?void 0:D.offsetTop)??0)-100,T=E+(((B=f==null?void 0:f.current)==null?void 0:B.offsetHeight)??0)+50,P=(((N=p==null?void 0:p.current)==null?void 0:N.offsetTop)??0)-50,k=P+(((H=p==null?void 0:p.current)==null?void 0:H.offsetHeight)??0)+100,M=(((O=h==null?void 0:h.current)==null?void 0:O.offsetTop)??0)-100,A=M+((($=h==null?void 0:h.current)==null?void 0:$.offsetHeight)??0)+400,I=A;C>E&&CP&&CM&&CI?u(4):u(0)})},[]);const[x]=W.useState("fixed"),{data:g,isLoading:y,error:v}=Ck({queryKey:["projects"],queryFn:async()=>await Ek.getAll()});return S.jsxs(S.Fragment,{children:[S.jsxs(Q,{ref:c,id:"maindiv-001",sx:{position:"relative"},children:[i.length<1?S.jsx(S.Fragment,{}):S.jsx(WT,{events:i}),S.jsx(kd,{links:KS,fullWidth:!0}),S.jsx(Q,{id:"paddingdiv-001",sx:{height:"50px"}}),S.jsx(Wa.ScrollContainer,{style:{position:x,scrollBehavior:"smooth",overflow:"visible",width:"100%",height:"100%"},children:S.jsx(Wa.ScrollPage,{style:{width:"100%",overflow:"visible",flexDirection:"column",display:"flex",alignItems:"center",justifyContent:"flex-start"},children:S.jsxs(Wa.Animator,{style:{width:"100%",overflow:"visible"},animation:Wa.batch(hG(1,-.5,0),pG(3,1,0),mG(0,-400,0)),children:[S.jsx("div",{id:"stars1"}),S.jsx("div",{id:"stars2"}),S.jsx("div",{id:"stars3"}),S.jsxs(ce,{sx:{flexGrow:1,fontSize:"4vw",fontWeight:"bold",textAlign:"center"},children:["Empower Code. Inspire Design.",S.jsx("br",{}),"Drive Innovation."]}),S.jsxs(Q,{id:"subdiv-001",ref:d,sx:{display:"flex",flex:1,flexWrap:"wrap",gap:4,marginLeft:{md:8},marginRight:{md:8},marginTop:"5vw",flexDirection:{xs:"column",md:"row"}},children:[S.jsx(Oh,{end:5e5,title:"Dollars Saved",prefix:"$",minWidth:336,alignSelf:{xs:"center",md:"flex-start"}}),S.jsx(Oh,{end:170,title:"Members",minWidth:81}),S.jsx(Oh,{end:5e4,title:"Lines of Code",minWidth:267,alignSelf:{xs:"center",md:"flex-end"}})]})]})})}),S.jsx(Q,{id:"paddingdiv-002",sx:{height:"100vh"}}),t?S.jsx(Q,{ref:f,sx:{padding:"10px"},id:"subdiv-002",children:S.jsx(qS,{sx:{},mobileView:!0,data:g,isLoading:y,error:v})}):S.jsx(Q,{ref:f,id:"subdiv-002",children:S.jsx(qS,{sx:{height:"300vh"},data:g,isLoading:y,error:v})}),t&&!t?S.jsx(S.Fragment,{}):S.jsxs(Q,{id:"team",ref:p,sx:{paddingTop:"100px",background:"linear-gradient(0deg, #00FFFF00 0%, #000000FF 44%, #000000FF 50%, #000000FF 56%, #073AFF00 100%)",transition:"opacity 0.5s ease"},children:[S.jsx(HS,{id:"members_sparkles",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"}),S.jsx(Q,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:S.jsx(Ez,{id:"member-carousel"})}),S.jsx(HS,{id:"members_sparkles2",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"})]}),S.jsx(Q,{id:"paddingdiv-003",sx:{height:"150px"}}),S.jsx(Q,{id:"sponsors",ref:h,children:S.jsx(cG,{mobileView:t})}),S.jsx(Q,{id:"paddingdiv-006",sx:{height:"200px"}}),S.jsx(dG,{id:"contact"}),S.jsx(Q,{id:"paddingdiv-006",sx:{height:"200px"}}),S.jsx(QT,{}),S.jsx(kd,{links:KS,translucent:!0,sx:{marginTop:"25px",zIndex:5,position:"fixed",top:`${n}px`,left:"0px"}})]}),S.jsx(Q,{id:"maindiv-002",sx:{height:"100vh",width:"100vw",position:"fixed",zIndex:-1,top:"0px","::before":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:e(o.start),transition:"opacity 0.4s",animation:"plasma 6s ease infinite",backgroundBlendMode:o.start==3?"color-dodge":"unset",opacity:a?.5:1,zIndex:1},"::after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:e(o.end),animation:"plasma 6s ease infinite",transition:"opacity 0.4s",opacity:a?1:.5,zIndex:0}}})]})}const pG=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`scale(${t*(1-r)+e*r})`)}}}),hG=(e,t,n)=>({out:{style:{opacity:r=>(r=Math.max(r-n,0),e*(1-r)+t*r)}}}),mG=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`translate(${0*(1-r)+e*r}px, ${0*(1-r)+t*r}px)`)}}});function gG(){const{projectId:e}=m5(),{data:t,isFetching:n,error:r}=Ck({queryKey:["project"],queryFn:async()=>await Ek.getById(e)});return b.useEffect(()=>{window.scrollTo(0,0)},[]),n?S.jsx(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:S.jsx(Kj,{})}):r?S.jsx(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:S.jsx(oL,{variant:"filled",severity:"error",children:"Unable to retrieve project data..."})}):S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",gap:"20px",justifyContent:"center",alignItems:"center",minHeight:"100vh"},children:[S.jsx(vG,{name:t.name,organization:t.organization}),S.jsx(yG,{description:t.description}),S.jsx(xG,{demo:t.demo}),S.jsx(wG,{members:t.members})]})}function vG(e){return S.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[S.jsx(ce,{variant:"h2",sx:{fontWeight:"bold"},children:e.name}),S.jsxs(ce,{variant:"h4",sx:{fontStyle:"italic"},children:["In collaboration with ",e.organization]})]})}function yG(e){return S.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[S.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Overview"}),S.jsx(Lv,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),S.jsx(ce,{children:e.description})]})}function xG(e){return S.jsxs(Q,{children:[S.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Demo"}),S.jsx(Lv,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),S.jsx(Rj,{sx:{marginTop:"15px",borderRadius:"5px",width:"clamp(25rem, 50vw, 60rem)",backgroundColor:"white",color:"black"},children:S.jsx(Fj,{component:"iframe",image:e.demo,sx:{width:"inherit",aspectRatio:"16/9",border:"none"}})})]})}function wG(e){return S.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[S.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Members"}),S.jsx(Lv,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),S.jsx(Q,{sx:{marginTop:"15px",display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",gap:"10px"},children:e.members.map((t,n)=>S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",backgroundColor:"white",borderRadius:"5px",color:"black",minWidth:"15%",padding:"1rem"},children:[t.memberInfo.profileUrl?S.jsx(Td,{src:t.memberInfo.profileUrl,sx:{width:"50px",height:"50px"}},n):b.createElement(Td,{...ZT(`${t.memberInfo.firstName} ${t.memberInfo.lastName}`),sx:{width:"50px",height:"50px"},key:n}),S.jsx(ce,{variant:"subtitle1",sx:{fontWeight:"bold",marginTop:"5px"},children:`${t.memberInfo.firstName} ${t.memberInfo.lastName}`}),S.jsx(ce,{variant:"subtitle2",sx:{opacity:"0.75"},children:t.role})]}))})]})}function bG(){return S.jsx("h1",{children:"WebTierPage"})}function im(e){return S.jsxs(Q,{sx:{...e==null?void 0:e.sx,display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"center",width:e.width,backgroundColor:"white",borderRadius:"5px",boxShadow:5,color:"black",wordBreak:"break-word"},children:[S.jsx(SG,{tier:e.tier,backgroundColor:e.backgroundColor,price:e.price}),S.jsx(EG,{backgroundColor:e.backgroundColor,benefits:e.benefits,prereq:e.prereq})]})}function SG(e){return S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"60%"},children:[S.jsx(ce,{variant:"h4",sx:{textShadow:"-2px 2px 3px gray"},children:e.tier}),S.jsxs(ce,{variant:"h2",sx:{textShadow:"-2px 2px 3px gray"},children:["$",e.price,"+"]}),S.jsx(ce,{variant:"h6",gutterBottom:!0,sx:{textShadow:"-2px 2px 3px gray"},children:"per year"}),S.jsx(CG,{tier:e.tier,backgroundColor:e.backgroundColor})]})}function CG(e){const t=av();return S.jsx(Q,{sx:{marginTop:"0.75rem",padding:"0.5rem 1rem",boxShadow:1,backgroundColor:e.backgroundColor,borderRadius:"5px",width:"80%",textAlign:"center",cursor:"pointer"},onClick:()=>t(`/tier/${e.tier}`),children:S.jsxs(ce,{children:["Select ",e.tier," Tier →"]})})}function EG(e){return S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"left",alignItems:"top",backgroundColor:e.backgroundColor,borderRadius:"5px",padding:"1.5rem",boxShadow:12,width:"105.5%",height:"40%",boxSizing:"border-box"},children:[e.prereq&&S.jsx(ce,{gutterBottom:!0,children:`< Everything included in ${e.prereq}, plus...`}),e.benefits.map((t,n)=>S.jsx(ce,{children:`> ${t}`},n))]})}function PG(){return S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",width:"100%",justifyContent:"center",alignItems:"center",gap:"35px",marginBottom:"100px"},children:[S.jsx(ce,{sx:{textAlign:"center"},variant:"h3",children:"Sponsorship Tiers"}),S.jsxs(Q,{sx:{marginTop:"40px",width:{xs:"100%",md:"75%"},display:"flex",flexDirection:"row",gap:"100px",height:"100vh",flexWrap:"wrap"},children:[S.jsx(im,{tier:"Gold",backgroundColor:"gold",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),S.jsx(im,{tier:"Silver",backgroundColor:"silver",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),S.jsx(im,{tier:"Bronze",backgroundColor:"#CD7F32",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}})]})]})}const TG=new f9;om.createRoot(document.getElementById("root")).render(S.jsx($5,{children:S.jsx(v9,{client:TG,children:S.jsxs(o$,{theme:YT.baseTheme,children:[S.jsx(Zj,{}),S.jsxs(O5,{children:[S.jsx(qo,{path:"/",element:S.jsx(fG,{})}),S.jsxs(qo,{path:"/",element:S.jsx(dF,{}),children:[S.jsx(qo,{path:"/project/:projectId",element:S.jsx(gG,{})}),S.jsx(qo,{path:"tier/:tier",element:S.jsx(bG,{})}),S.jsx(qo,{path:"/sponsor-us",element:S.jsx(PG,{})})]})]})]})})}));export{eq as $,FG as A,DG as B,RG as C,OG as D,HG as E,WG as F,CV as G,pt as H,Ps as I,fr as J,BG as K,xy as L,iq as M,UG as N,Co as O,dq as P,Ak as Q,rq as R,Rk as S,Cp as T,qG as U,jn as V,Mk as W,VG as X,ZG as Y,tq as Z,Te as _,zG as a,nq as a0,Ok as a1,XG as a2,Sp as a3,DV as a4,zV as a5,JG as a6,cq as a7,uq as a8,wy as a9,QG as aa,oq as ab,fq as ac,pq as ad,us as ae,YG as af,PV as b,yy as c,Jl as d,eu as e,_b as f,lq as g,pa as h,jo as i,pc as j,NG as k,GG as l,Gd as m,aq as n,KG as o,Nh as p,kk as q,sq as r,ul as s,AG as t,IG as u,LG as v,$G as w,_G as x,MG as y,jG as z}; +}`);const PF=Ne.forwardRef(function({style:t={},className:n="",autoFill:r=!1,play:i=!0,pauseOnHover:o=!1,pauseOnClick:s=!1,direction:a="left",speed:l=50,delay:u=0,loop:c=0,gradient:d=!1,gradientColor:f="white",gradientWidth:p=200,onFinish:h,onCycleComplete:m,onMount:x,children:g},y){const[v,w]=Ne.useState(0),[C,E]=Ne.useState(0),[T,P]=Ne.useState(1),[k,M]=Ne.useState(!1),A=Ne.useRef(null),I=y||A,L=Ne.useRef(null),D=Ne.useCallback(()=>{if(L.current&&I.current){const K=I.current.getBoundingClientRect(),ne=L.current.getBoundingClientRect();let We=K.width,de=ne.width;(a==="up"||a==="down")&&(We=K.height,de=ne.height),P(r&&We&&de&&de{if(k&&(D(),L.current&&I.current)){const K=new ResizeObserver(()=>D());return K.observe(I.current),K.observe(L.current),()=>{K&&K.disconnect()}}},[D,I,k]),Ne.useEffect(()=>{D()},[D,g]),Ne.useEffect(()=>{M(!0)},[]),Ne.useEffect(()=>{typeof x=="function"&&x()},[]);const B=Ne.useMemo(()=>r?C*T/l:CObject.assign(Object.assign({},t),{"--pause-on-hover":!i||o?"paused":"running","--pause-on-click":!i||o&&!s||s?"paused":"running","--width":a==="up"||a==="down"?"100vh":"100%","--transform":a==="up"?"rotate(-90deg)":a==="down"?"rotate(90deg)":"none"}),[t,i,o,s,a]),H=Ne.useMemo(()=>({"--gradient-color":f,"--gradient-width":typeof p=="number"?`${p}px`:p}),[f,p]),O=Ne.useMemo(()=>({"--play":i?"running":"paused","--direction":a==="left"?"normal":"reverse","--duration":`${B}s`,"--delay":`${u}s`,"--iteration-count":c?`${c}`:"infinite","--min-width":r?"auto":"100%"}),[i,a,B,u,c,r]),$=Ne.useMemo(()=>({"--transform":a==="up"?"rotate(90deg)":a==="down"?"rotate(-90deg)":"none"}),[a]),z=Ne.useCallback(K=>[...Array(Number.isFinite(K)&&K>=0?K:0)].map((ne,We)=>Gr.default.createElement(Ne.Fragment,{key:We},Ne.Children.map(g,de=>Gr.default.createElement("div",{style:$,className:"rfm-child"},de)))),[$,g]);return k?Gr.default.createElement("div",{ref:I,style:N,className:"rfm-marquee-container "+n},d&&Gr.default.createElement("div",{style:H,className:"rfm-overlay"}),Gr.default.createElement("div",{className:"rfm-marquee",style:O,onAnimationIteration:m,onAnimationEnd:h},Gr.default.createElement("div",{className:"rfm-initial-child-container",ref:L},Ne.Children.map(g,K=>Gr.default.createElement("div",{style:$,className:"rfm-child"},K))),z(T-1)),Gr.default.createElement("div",{className:"rfm-marquee",style:O},z(T))):null});var TF=JT.default=PF;function e2(e,t){return function(){return e.apply(t,arguments)}}const{toString:kF}=Object.prototype,{getPrototypeOf:Fv}=Object,rp=(e=>t=>{const n=kF.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pr=e=>(e=e.toLowerCase(),t=>rp(t)===e),ip=e=>t=>typeof t===e,{isArray:ca}=Array,Vl=ip("undefined");function MF(e){return e!==null&&!Vl(e)&&e.constructor!==null&&!Vl(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const t2=pr("ArrayBuffer");function _F(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&t2(e.buffer),t}const RF=ip("string"),Tn=ip("function"),n2=ip("number"),op=e=>e!==null&&typeof e=="object",OF=e=>e===!0||e===!1,Lc=e=>{if(rp(e)!=="object")return!1;const t=Fv(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},AF=pr("Date"),IF=pr("File"),$F=pr("Blob"),LF=pr("FileList"),jF=e=>op(e)&&Tn(e.pipe),DF=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tn(e.append)&&((t=rp(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},FF=pr("URLSearchParams"),NF=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Mu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ca(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const i2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,o2=e=>!Vl(e)&&e!==i2;function vg(){const{caseless:e}=o2(this)&&this||{},t={},n=(r,i)=>{const o=e&&r2(t,i)||i;Lc(t[o])&&Lc(r)?t[o]=vg(t[o],r):Lc(r)?t[o]=vg({},r):ca(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Mu(t,(i,o)=>{n&&Tn(i)?e[o]=e2(i,n):e[o]=i},{allOwnKeys:r}),e),VF=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),BF=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},UF=(e,t,n,r)=>{let i,o,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)s=i[o],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Fv(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},WF=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},HF=e=>{if(!e)return null;if(ca(e))return e;let t=e.length;if(!n2(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},GF=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Fv(Uint8Array)),qF=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},KF=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},QF=pr("HTMLFormElement"),YF=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),bw=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),XF=pr("RegExp"),s2=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Mu(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},ZF=e=>{s2(e,(t,n)=>{if(Tn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Tn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},JF=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return ca(e)?r(e):r(String(e).split(t)),n},e6=()=>{},t6=(e,t)=>(e=+e,Number.isFinite(e)?e:t),hh="abcdefghijklmnopqrstuvwxyz",Sw="0123456789",a2={DIGIT:Sw,ALPHA:hh,ALPHA_DIGIT:hh+hh.toUpperCase()+Sw},n6=(e=16,t=a2.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function r6(e){return!!(e&&Tn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const i6=e=>{const t=new Array(10),n=(r,i)=>{if(op(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=ca(r)?[]:{};return Mu(r,(s,a)=>{const l=n(s,i+1);!Vl(l)&&(o[a]=l)}),t[i]=void 0,o}}return r};return n(e,0)},o6=pr("AsyncFunction"),s6=e=>e&&(op(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),j={isArray:ca,isArrayBuffer:t2,isBuffer:MF,isFormData:DF,isArrayBufferView:_F,isString:RF,isNumber:n2,isBoolean:OF,isObject:op,isPlainObject:Lc,isUndefined:Vl,isDate:AF,isFile:IF,isBlob:$F,isRegExp:XF,isFunction:Tn,isStream:jF,isURLSearchParams:FF,isTypedArray:GF,isFileList:LF,forEach:Mu,merge:vg,extend:zF,trim:NF,stripBOM:VF,inherits:BF,toFlatObject:UF,kindOf:rp,kindOfTest:pr,endsWith:WF,toArray:HF,forEachEntry:qF,matchAll:KF,isHTMLForm:QF,hasOwnProperty:bw,hasOwnProp:bw,reduceDescriptors:s2,freezeMethods:ZF,toObjectSet:JF,toCamelCase:YF,noop:e6,toFiniteNumber:t6,findKey:r2,global:i2,isContextDefined:o2,ALPHABET:a2,generateString:n6,isSpecCompliantForm:r6,toJSONObject:i6,isAsyncFn:o6,isThenable:s6};function me(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}j.inherits(me,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const l2=me.prototype,u2={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{u2[e]={value:e}});Object.defineProperties(me,u2);Object.defineProperty(l2,"isAxiosError",{value:!0});me.from=(e,t,n,r,i,o)=>{const s=Object.create(l2);return j.toFlatObject(e,s,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),me.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,o&&Object.assign(s,o),s};const a6=null;function yg(e){return j.isPlainObject(e)||j.isArray(e)}function c2(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function Cw(e,t,n){return e?e.concat(t).map(function(i,o){return i=c2(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function l6(e){return j.isArray(e)&&!e.some(yg)}const u6=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function sp(e,t,n){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,x){return!j.isUndefined(x[m])});const r=n.metaTokens,i=n.visitor||c,o=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(i))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(j.isDate(h))return h.toISOString();if(!l&&j.isBlob(h))throw new me("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(h)||j.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,m,x){let g=h;if(h&&!x&&typeof h=="object"){if(j.endsWith(m,"{}"))m=r?m:m.slice(0,-2),h=JSON.stringify(h);else if(j.isArray(h)&&l6(h)||(j.isFileList(h)||j.endsWith(m,"[]"))&&(g=j.toArray(h)))return m=c2(m),g.forEach(function(v,w){!(j.isUndefined(v)||v===null)&&t.append(s===!0?Cw([m],w,o):s===null?m:m+"[]",u(v))}),!1}return yg(h)?!0:(t.append(Cw(x,m,o),u(h)),!1)}const d=[],f=Object.assign(u6,{defaultVisitor:c,convertValue:u,isVisitable:yg});function p(h,m){if(!j.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),j.forEach(h,function(g,y){(!(j.isUndefined(g)||g===null)&&i.call(t,g,j.isString(y)?y.trim():y,m,f))===!0&&p(g,m?m.concat(y):[y])}),d.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Ew(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Nv(e,t){this._pairs=[],e&&sp(e,this,t)}const d2=Nv.prototype;d2.append=function(t,n){this._pairs.push([t,n])};d2.toString=function(t){const n=t?function(r){return t.call(this,r,Ew)}:Ew;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function c6(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function f2(e,t,n){if(!t)return e;const r=n&&n.encode||c6,i=n&&n.serialize;let o;if(i?o=i(t,n):o=j.isURLSearchParams(t)?t.toString():new Nv(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Pw{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const p2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},d6=typeof URLSearchParams<"u"?URLSearchParams:Nv,f6=typeof FormData<"u"?FormData:null,p6=typeof Blob<"u"?Blob:null,h6={isBrowser:!0,classes:{URLSearchParams:d6,FormData:f6,Blob:p6},protocols:["http","https","file","blob","url","data"]},h2=typeof window<"u"&&typeof document<"u",m6=(e=>h2&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),g6=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",v6=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:h2,hasStandardBrowserEnv:m6,hasStandardBrowserWebWorkerEnv:g6},Symbol.toStringTag,{value:"Module"})),or={...v6,...h6};function y6(e,t){return sp(e,new or.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return or.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function x6(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function w6(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return s=!s&&j.isArray(i)?i.length:s,l?(j.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!j.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],o)&&j.isArray(i[s])&&(i[s]=w6(i[s])),!a)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(x6(r),i,n,0)}),n}return null}function b6(e,t,n){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const zv={transitional:p2,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=j.isObject(t);if(o&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return i?JSON.stringify(m2(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return y6(t,this.formSerializer).toString();if((a=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return sp(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),b6(t)):t}],transformResponse:[function(t){const n=this.transitional||zv.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&j.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?me.from(a,me.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:or.classes.FormData,Blob:or.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{zv.headers[e]={}});const Vv=zv,S6=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),C6=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&S6[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Tw=Symbol("internals");function _a(e){return e&&String(e).trim().toLowerCase()}function jc(e){return e===!1||e==null?e:j.isArray(e)?e.map(jc):String(e)}function E6(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const P6=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function mh(e,t,n,r,i){if(j.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!j.isString(t)){if(j.isString(r))return t.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(t)}}function T6(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function k6(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,s){return this[r].call(this,t,i,o,s)},configurable:!0})})}class ap{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,l,u){const c=_a(l);if(!c)throw new Error("header name must be a non-empty string");const d=j.findKey(i,c);(!d||i[d]===void 0||u===!0||u===void 0&&i[d]!==!1)&&(i[d||l]=jc(a))}const s=(a,l)=>j.forEach(a,(u,c)=>o(u,c,l));return j.isPlainObject(t)||t instanceof this.constructor?s(t,n):j.isString(t)&&(t=t.trim())&&!P6(t)?s(C6(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=_a(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return E6(i);if(j.isFunction(n))return n.call(this,i,r);if(j.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_a(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||mh(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=_a(s),s){const a=j.findKey(r,s);a&&(!n||mh(r,r[a],a,n))&&(delete r[a],i=!0)}}return j.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||mh(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return j.forEach(this,(i,o)=>{const s=j.findKey(r,o);if(s){n[s]=jc(i),delete n[o];return}const a=t?T6(o):String(o).trim();a!==o&&delete n[o],n[a]=jc(i),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&j.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Tw]=this[Tw]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=_a(s);r[a]||(k6(i,s),r[a]=!0)}return j.isArray(t)?t.forEach(o):o(t),this}}ap.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(ap.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(ap);const kr=ap;function gh(e,t){const n=this||Vv,r=t||n,i=kr.from(r.headers);let o=r.data;return j.forEach(e,function(a){o=a.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function g2(e){return!!(e&&e.__CANCEL__)}function _u(e,t,n){me.call(this,e??"canceled",me.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(_u,me,{__CANCEL__:!0});function M6(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new me("Request failed with status code "+n.status,[me.ERR_BAD_REQUEST,me.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const _6=or.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const s=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),j.isString(r)&&s.push("path="+r),j.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function R6(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function O6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function v2(e,t){return e&&!R6(t)?O6(e,t):t}const A6=or.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(o){let s=o;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=j.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function I6(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $6(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,s;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[o];s||(s=u),n[i]=l,r[i]=u;let d=o,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),u-s{const o=i.loaded,s=i.lengthComputable?i.total:void 0,a=o-n,l=r(a),u=o<=s;n=o;const c={loaded:o,total:s,progress:s?o/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&u?(s-o)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const L6=typeof XMLHttpRequest<"u",j6=L6&&function(e){return new Promise(function(n,r){let i=e.data;const o=kr.from(e.headers).normalize();let{responseType:s,withXSRFToken:a}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let c;if(j.isFormData(i)){if(or.hasStandardBrowserEnv||or.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((c=o.getContentType())!==!1){const[m,...x]=c?c.split(";").map(g=>g.trim()).filter(Boolean):[];o.setContentType([m||"multipart/form-data",...x].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const m=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(m+":"+x))}const f=v2(e.baseURL,e.url);d.open(e.method.toUpperCase(),f2(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=kr.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),g={data:!s||s==="text"||s==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};M6(function(v){n(v),u()},function(v){r(v),u()},g),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(r(new me("Request aborted",me.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new me("Network Error",me.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||p2;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),r(new me(x,g.clarifyTimeoutError?me.ETIMEDOUT:me.ECONNABORTED,e,d)),d=null},or.hasStandardBrowserEnv&&(a&&j.isFunction(a)&&(a=a(e)),a||a!==!1&&A6(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&_6.read(e.xsrfCookieName);m&&o.set(e.xsrfHeaderName,m)}i===void 0&&o.setContentType(null),"setRequestHeader"in d&&j.forEach(o.toJSON(),function(x,g){d.setRequestHeader(g,x)}),j.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),s&&s!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",kw(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",kw(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(r(!m||m.type?new _u(null,e,d):m),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=I6(f);if(h&&or.protocols.indexOf(h)===-1){r(new me("Unsupported protocol "+h+":",me.ERR_BAD_REQUEST,e));return}d.send(i||null)})},xg={http:a6,xhr:j6};j.forEach(xg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Mw=e=>`- ${e}`,D6=e=>j.isFunction(e)||e===null||e===!1,y2={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=t?o.length>1?`since : +`+o.map(Mw).join(` +`):" "+Mw(o[0]):"as no adapter specified";throw new me("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:xg};function vh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new _u(null,e)}function _w(e){return vh(e),e.headers=kr.from(e.headers),e.data=gh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),y2.getAdapter(e.adapter||Vv.adapter)(e).then(function(r){return vh(e),r.data=gh.call(e,e.transformResponse,r),r.headers=kr.from(r.headers),r},function(r){return g2(r)||(vh(e),r&&r.response&&(r.response.data=gh.call(e,e.transformResponse,r.response),r.response.headers=kr.from(r.response.headers))),Promise.reject(r)})}const Rw=e=>e instanceof kr?{...e}:e;function Xs(e,t){t=t||{};const n={};function r(u,c,d){return j.isPlainObject(u)&&j.isPlainObject(c)?j.merge.call({caseless:d},u,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function i(u,c,d){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u,d)}else return r(u,c,d)}function o(u,c){if(!j.isUndefined(c))return r(void 0,c)}function s(u,c){if(j.isUndefined(c)){if(!j.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(u,c)=>i(Rw(u),Rw(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=l[c]||i,f=d(e[c],t[c],c);j.isUndefined(f)&&d!==a||(n[c]=f)}),n}const x2="1.6.8",Bv={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Bv[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ow={};Bv.transitional=function(t,n,r){function i(o,s){return"[Axios v"+x2+"] Transitional option '"+o+"'"+s+(r?". "+r:"")}return(o,s,a)=>{if(t===!1)throw new me(i(s," has been removed"+(n?" in "+n:"")),me.ERR_DEPRECATED);return n&&!Ow[s]&&(Ow[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,s,a):!0}};function F6(e,t,n){if(typeof e!="object")throw new me("options must be an object",me.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],s=t[o];if(s){const a=e[o],l=a===void 0||s(a,o,e);if(l!==!0)throw new me("option "+o+" must be "+l,me.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new me("Unknown option "+o,me.ERR_BAD_OPTION)}}const wg={assertOptions:F6,validators:Bv},qr=wg.validators;class Od{constructor(t){this.defaults=t,this.interceptors={request:new Pw,response:new Pw}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Xs(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&wg.assertOptions(r,{silentJSONParsing:qr.transitional(qr.boolean),forcedJSONParsing:qr.transitional(qr.boolean),clarifyTimeoutError:qr.transitional(qr.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:wg.assertOptions(i,{encode:qr.function,serialize:qr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=o&&j.merge(o.common,o[n.method]);o&&j.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=kr.concat(s,o);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,d=0,f;if(!l){const h=[_w.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,c=Promise.resolve(n);d{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},t(function(o,s,a){r.reason||(r.reason=new _u(o,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Uv(function(i){t=i}),cancel:t}}}const N6=Uv;function z6(e){return function(n){return e.apply(null,n)}}function V6(e){return j.isObject(e)&&e.isAxiosError===!0}const bg={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(bg).forEach(([e,t])=>{bg[t]=e});const B6=bg;function w2(e){const t=new Dc(e),n=e2(Dc.prototype.request,t);return j.extend(n,Dc.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return w2(Xs(e,i))},n}const tt=w2(Vv);tt.Axios=Dc;tt.CanceledError=_u;tt.CancelToken=N6;tt.isCancel=g2;tt.VERSION=x2;tt.toFormData=sp;tt.AxiosError=me;tt.Cancel=tt.CanceledError;tt.all=function(t){return Promise.all(t)};tt.spread=z6;tt.isAxiosError=V6;tt.mergeConfig=Xs;tt.AxiosHeaders=kr;tt.formToJSON=e=>m2(j.isHTMLForm(e)?new FormData(e):e);tt.getAdapter=y2.getAdapter;tt.HttpStatusCode=B6;tt.default=tt;const da=tt.create({baseURL:"https://webv2-backend.appdevclub.com"});function U6(e){let t=e.toLowerCase().replaceAll("-","").replaceAll(" ","-");return`${da.getUri()}/sponsor-logos/${t}.png`}function Aw(e){const t=lv(),n=r=>t(`/project/${r._id}`);return e.mobileView?S.jsxs(Fl,{elevation:5,onClick:()=>{n(e.project)},sx:{...e==null?void 0:e.sx,cursor:"pointer",borderRadius:"35px",padding:"30px",display:"flex",flexDirection:"column",gap:"15px",color:"#000000",bgcolor:"#ffffff",maxWidth:"100%",height:"400px",overflow:"hidden"},children:[S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",width:"100%"},children:[S.jsx(ce,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),S.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),S.jsx(ce,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description})]}),S.jsx(Iw,{autoScroll:!0,members:e.project.members})]}):S.jsx(bF,{highlight:!1,onClick:()=>{n(e.project)},style:{minWidth:"800px",height:"60vh",cursor:"pointer"},children:S.jsx(Fl,{sx:{...e==null?void 0:e.sx,borderRadius:"35px",padding:"30px",display:"flex",gap:"15px",color:"#000000",bgcolor:"#ffffff",width:"100%",height:"100%"},children:S.jsxs(Q,{sx:{display:"flex",flexDirection:"column"},children:[S.jsxs(Q,{sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},children:[S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",flexGrow:1},children:[S.jsx(ce,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),S.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization})]}),S.jsx("img",{style:{maxHeight:"36px"},src:U6(e.project.organization)})]}),S.jsx(ce,{sx:{marginTop:"15px"},variant:"body1",children:e.project.description}),S.jsx(Iw,{members:e.project.members})]})})})}function Iw(e){function t(){return S.jsx(S.Fragment,{children:e.members.map((n,r)=>S.jsx(UL,{label:`${n.memberInfo.firstName} ${n.memberInfo.lastName}`,variant:"outlined",sx:{color:"black",margin:"5px"},avatar:n.memberInfo.profileUrl?S.jsx(Td,{src:n.memberInfo.profileUrl}):S.jsx(Td,{...ZT(`${n.memberInfo.firstName} ${n.memberInfo.lastName}`)})},r))})}return e.autoScroll?S.jsx(TF,{children:S.jsx(t,{})}):S.jsx(Q,{sx:{marginTop:"10px",display:"flex",flexWrap:"wrap"},children:S.jsx(t,{})})}function $w(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Wv(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:$w(t[n])&&$w(e[n])&&Object.keys(t[n]).length>0&&Wv(e[n],t[n])})}const b2={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Mr(){const e=typeof document<"u"?document:{};return Wv(e,b2),e}const W6={document:b2,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function cn(){const e=typeof window<"u"?window:{};return Wv(e,W6),e}function H6(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function G6(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function Sg(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Ad(){return Date.now()}function q6(e){const t=cn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function K6(e,t){t===void 0&&(t="x");const n=cn();let r,i,o;const s=q6(e);return n.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),o=new n.WebKitCSSMatrix(i==="none"?"":i)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=o.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=o.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function lc(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function Q6(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Zt(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(o)<0);for(let o=0,s=i.length;oo?"next":"prev",c=(f,p)=>u==="next"&&f>=p||u==="prev"&&f<=p,d=()=>{a=new Date().getTime(),s===null&&(s=a);const f=Math.max(Math.min((a-s)/l,1),0),p=.5-Math.cos(f*Math.PI)/2;let h=o+p*(n-o);if(c(h,n)&&(h=n),t.wrapperEl.scrollTo({[r]:h}),c(h,n)){t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[r]:h})}),i.cancelAnimationFrame(t.cssModeFrameID);return}t.cssModeFrameID=i.requestAnimationFrame(d)};d()}function Hv(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function Sr(e,t){return t===void 0&&(t=""),[...e.children].filter(n=>n.matches(t))}function Id(e){try{console.warn(e);return}catch{}}function $d(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:H6(t)),n}function Y6(e,t){const n=[];for(;e.previousElementSibling;){const r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function X6(e,t){const n=[];for(;e.nextElementSibling;){const r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function gi(e,t){return cn().getComputedStyle(e,null).getPropertyValue(t)}function Lw(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function Z6(e,t){const n=[];let r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function jw(e,t,n){const r=cn();return n?e[t==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue(t==="width"?"margin-left":"margin-bottom")):e.offsetWidth}let yh;function J6(){const e=cn(),t=Mr();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function C2(){return yh||(yh=J6()),yh}let xh;function eN(e){let{userAgent:t}=e===void 0?{}:e;const n=C2(),r=cn(),i=r.navigator.platform,o=t||r.navigator.userAgent,s={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,u=o.match(/(Android);?[\s\/]+([\d.]+)?/);let c=o.match(/(iPad).*OS\s([\d_]+)/);const d=o.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=i==="Win32";let h=i==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&h&&n.touch&&m.indexOf(`${a}x${l}`)>=0&&(c=o.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),u&&!p&&(s.os="android",s.android=!0),(c||f||d)&&(s.os="ios",s.ios=!0),s}function E2(e){return e===void 0&&(e={}),xh||(xh=eN(e)),xh}let wh;function tN(){const e=cn(),t=E2();let n=!1;function r(){const a=e.navigator.userAgent.toLowerCase();return a.indexOf("safari")>=0&&a.indexOf("chrome")<0&&a.indexOf("android")<0}if(r()){const a=String(e.navigator.userAgent);if(a.includes("Version/")){const[l,u]=a.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));n=l<16||l===16&&u<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=r(),s=o||i&&t.ios;return{isSafari:n||o,needPerspectiveFix:n,need3dFix:s,isWebView:i}}function nN(){return wh||(wh=tN()),wh}function rN(e){let{swiper:t,on:n,emit:r}=e;const i=cn();let o=null,s=null;const a=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},l=()=>{!t||t.destroyed||!t.initialized||(o=new ResizeObserver(d=>{s=i.requestAnimationFrame(()=>{const{width:f,height:p}=t;let h=f,m=p;d.forEach(x=>{let{contentBoxSize:g,contentRect:y,target:v}=x;v&&v!==t.el||(h=y?y.width:(g[0]||g).inlineSize,m=y?y.height:(g[0]||g).blockSize)}),(h!==f||m!==p)&&a()})}),o.observe(t.el))},u=()=>{s&&i.cancelAnimationFrame(s),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null)},c=()=>{!t||t.destroyed||!t.initialized||r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&typeof i.ResizeObserver<"u"){l();return}i.addEventListener("resize",a),i.addEventListener("orientationchange",c)}),n("destroy",()=>{u(),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",c)})}function iN(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const o=[],s=cn(),a=function(c,d){d===void 0&&(d={});const f=s.MutationObserver||s.WebkitMutationObserver,p=new f(h=>{if(t.__preventObserver__)return;if(h.length===1){i("observerUpdate",h[0]);return}const m=function(){i("observerUpdate",h[0])};s.requestAnimationFrame?s.requestAnimationFrame(m):s.setTimeout(m,0)});p.observe(c,{attributes:typeof d.attributes>"u"?!0:d.attributes,childList:typeof d.childList>"u"?!0:d.childList,characterData:typeof d.characterData>"u"?!0:d.characterData}),o.push(p)},l=()=>{if(t.params.observer){if(t.params.observeParents){const c=Z6(t.hostEl);for(let d=0;d{o.forEach(c=>{c.disconnect()}),o.splice(0,o.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var oN={on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;const i=n?"unshift":"push";return e.split(" ").forEach(o=>{r.eventsListeners[o]||(r.eventsListeners[o]=[]),r.eventsListeners[o][i](t)}),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof t!="function")return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var o=arguments.length,s=new Array(o),a=0;a=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||e.split(" ").forEach(r=>{typeof t>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((i,o)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[r].splice(o,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,o=new Array(i),s=0;s{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...n])}),e.eventsListeners&&e.eventsListeners[l]&&e.eventsListeners[l].forEach(u=>{u.apply(r,n)})}),e}};function sN(){const e=this;let t,n;const r=e.el;typeof e.params.width<"u"&&e.params.width!==null?t=e.params.width:t=r.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?n=e.params.height:n=r.clientHeight,!(t===0&&e.isHorizontal()||n===0&&e.isVertical())&&(t=t-parseInt(gi(r,"padding-left")||0,10)-parseInt(gi(r,"padding-right")||0,10),n=n-parseInt(gi(r,"padding-top")||0,10)-parseInt(gi(r,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))}function aN(){const e=this;function t(M,A){return parseFloat(M.getPropertyValue(e.getDirectionLabel(A))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:o,rtlTranslate:s,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=Sr(i,`.${e.params.slideClass}, swiper-slide`),d=l?e.virtual.slides.length:c.length;let f=[];const p=[],h=[];let m=n.slidesOffsetBefore;typeof m=="function"&&(m=n.slidesOffsetBefore.call(e));let x=n.slidesOffsetAfter;typeof x=="function"&&(x=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,y=e.slidesGrid.length;let v=n.spaceBetween,w=-m,C=0,E=0;if(typeof o>"u")return;typeof v=="string"&&v.indexOf("%")>=0?v=parseFloat(v.replace("%",""))/100*o:typeof v=="string"&&(v=parseFloat(v)),e.virtualSize=-v,c.forEach(M=>{s?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(uc(r,"--swiper-centered-offset-before",""),uc(r,"--swiper-centered-offset-after",""));const T=n.grid&&n.grid.rows>1&&e.grid;T?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();let P;const k=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(M=>typeof n.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M1&&f.push(e.virtualSize-o)}if(l&&n.loop){const M=h[0]+v;if(n.slidesPerGroup>1){const A=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),I=M*n.slidesPerGroup;for(let L=0;L!n.cssMode||n.loop?!0:I!==c.length-1).forEach(A=>{A.style[M]=`${v}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let M=0;h.forEach(I=>{M+=I+(v||0)}),M-=v;const A=M-o;f=f.map(I=>I<=0?-m:I>A?A+x:I)}if(n.centerInsufficientSlides){let M=0;if(h.forEach(A=>{M+=A+(v||0)}),M-=v,M{f[L]=I-A}),p.forEach((I,L)=>{p[L]=I+A})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){uc(r,"--swiper-centered-offset-before",`${-f[0]}px`),uc(r,"--swiper-centered-offset-after",`${e.size/2-h[h.length-1]/2}px`);const M=-e.snapGrid[0],A=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(I=>I+M),e.slidesGrid=e.slidesGrid.map(I=>I+A)}if(d!==u&&e.emit("slidesLengthChange"),f.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const M=`${n.containerModifierClass}backface-hidden`,A=e.el.classList.contains(M);d<=n.maxBackfaceHiddenSlides?A||e.el.classList.add(M):A&&e.el.classList.remove(M)}}function lN(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i=0,o;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const s=a=>r?t.slides[t.getSlideIndexByData(a)]:t.slides[a];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(a=>{n.push(a)});else for(o=0;ot.slides.length&&!r)break;n.push(s(a))}else n.push(s(t.activeIndex));for(o=0;oi?a:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function uN(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let r=0;r"u"&&t.updateSlidesOffset();let s=-e;i&&(s=e),r.forEach(l=>{l.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];let a=n.spaceBetween;typeof a=="string"&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*t.size:typeof a=="string"&&(a=parseFloat(a));for(let l=0;l=0&&p<=t.size-t.slidesSizesGrid[l];(p>=0&&p1&&h<=t.size||p<=0&&h>=t.size)&&(t.visibleSlides.push(u),t.visibleSlidesIndexes.push(l),r[l].classList.add(n.slideVisibleClass)),m&&r[l].classList.add(n.slideFullyVisibleClass),u.progress=i?-d:d,u.originalProgress=i?-f:f}}function dN(e){const t=this;if(typeof e>"u"){const c=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*c||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:s,progressLoop:a}=t;const l=o,u=s;if(r===0)i=0,o=!0,s=!0;else{i=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;o=c||i<=0,s=d||i>=1,c&&(i=0),d&&(i=1)}if(n.loop){const c=t.getSlideIndexByData(0),d=t.getSlideIndexByData(t.slides.length-1),f=t.slidesGrid[c],p=t.slidesGrid[d],h=t.slidesGrid[t.slidesGrid.length-1],m=Math.abs(e);m>=f?a=(m-f)/h:a=(m+h-p)/h,a>1&&(a-=1)}Object.assign(t,{progress:i,progressLoop:a,isBeginning:o,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),s&&!u&&t.emit("reachEnd toEdge"),(l&&!o||u&&!s)&&t.emit("fromEdge"),t.emit("progress",i)}const bh=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function fN(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,o=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,a=d=>Sr(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];let l,u,c;if(o)if(n.loop){let d=i-e.virtual.slidesBefore;d<0&&(d=e.virtual.slides.length+d),d>=e.virtual.slides.length&&(d-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${d}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else s?(l=t.filter(d=>d.column===i)[0],c=t.filter(d=>d.column===i+1)[0],u=t.filter(d=>d.column===i-1)[0]):l=t[i];l&&(s||(c=X6(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=Y6(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(d=>{bh(d,d===l,n.slideActiveClass),bh(d,d===c,n.slideNextClass),bh(d,d===u,n.slidePrevClass)}),e.emitSlidesClasses()}const Fc=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,r=t.closest(n());if(r){let i=r.querySelector(`.${e.params.lazyPreloaderClass}`);!i&&e.isElement&&(r.shadowRoot?i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(i=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),i&&i.remove())})),i&&i.remove()}},Sh=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Cg=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const r=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=i,a=[s-t];a.push(...Array.from({length:t}).map((l,u)=>s+r+u)),e.slides.forEach((l,u)=>{a.includes(l.column)&&Sh(e,u)});return}const o=i+r-1;if(e.params.rewind||e.params.loop)for(let s=i-t;s<=o+t;s+=1){const a=(s%n+n)%n;(ao)&&Sh(e,a)}else for(let s=Math.max(i-t,0);s<=Math.min(o+t,n-1);s+=1)s!==i&&(s>o||s=t[o]&&r=t[o]&&r=t[o]&&(i=o);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function hN(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:o,realIndex:s,snapIndex:a}=t;let l=e,u;const c=p=>{let h=p-t.virtual.slidesBefore;return h<0&&(h=t.virtual.slides.length+h),h>=t.virtual.slides.length&&(h-=t.virtual.slides.length),h};if(typeof l>"u"&&(l=pN(t)),r.indexOf(n)>=0)u=r.indexOf(n);else{const p=Math.min(i.slidesPerGroupSkip,l);u=p+Math.floor((l-p)/i.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===o&&!t.params.loop){u!==a&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled){t.realIndex=c(l);return}const d=t.grid&&i.grid&&i.grid.rows>1;let f;if(t.virtual&&i.virtual.enabled&&i.loop)f=c(l);else if(d){const p=t.slides.filter(m=>m.column===l)[0];let h=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(t.slides.indexOf(p),0)),f=Math.floor(h/i.grid.rows)}else if(t.slides[l]){const p=t.slides[l].getAttribute("data-swiper-slide-index");p?f=parseInt(p,10):f=l}else f=l;Object.assign(t,{previousSnapIndex:a,snapIndex:u,previousRealIndex:s,realIndex:f,previousIndex:o,activeIndex:l}),t.initialized&&Cg(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function mN(e,t){const n=this,r=n.params;let i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(a=>{!i&&a.matches&&a.matches(`.${r.slideClass}, swiper-slide`)&&(i=a)});let o=!1,s;if(i){for(let a=0;al?c=l:r&&es?a="next":o"u"&&(t=o.params.speed);const m=Math.min(o.params.slidesPerGroupSkip,s);let x=m+Math.floor((s-m)/o.params.slidesPerGroup);x>=l.length&&(x=l.length-1);const g=-l[x];if(a.normalizeSlideIndex)for(let v=0;v=C&&w=C&&w=C&&(s=v)}if(o.initialized&&s!==d&&(!o.allowSlideNext&&(f?g>o.translate&&g>o.minTranslate():go.translate&&g>o.maxTranslate()&&(d||0)!==s))return!1;s!==(c||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(g);let y;if(s>d?y="next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[v?"scrollLeft":"scrollTop"]=w})):p[v?"scrollLeft":"scrollTop"]=w,C&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return S2({swiper:o,targetPosition:w,side:v?"left":"top"}),!0;p.scrollTo({[v?"left":"top"]:w,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(g),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,y),t===0?o.transitionEnd(n,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(w){!o||o.destroyed||w.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,y))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function MN(e,t,n,r){e===void 0&&(e=0),n===void 0&&(n=!0),typeof e=="string"&&(e=parseInt(e,10));const i=this;if(i.destroyed)return;typeof t>"u"&&(t=i.params.speed);const o=i.grid&&i.params.grid&&i.params.grid.rows>1;let s=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)s=s+i.virtual.slidesBefore;else{let a;if(o){const f=s*i.params.grid.rows;a=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=i.getSlideIndexByData(s);const l=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:u}=i.params;let c=i.params.slidesPerView;c==="auto"?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let d=l-ap.getAttribute("data-swiper-slide-index")*1===f)[0].column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame(()=>{i.slideTo(s,t,n,r)}),i}function _N(e,t,n){t===void 0&&(t=!0);const r=this,{enabled:i,params:o,animating:s}=r;if(!i||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let a=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return o.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function RN(e,t,n){t===void 0&&(t=!0);const r=this,{params:i,snapGrid:o,slidesGrid:s,rtlTranslate:a,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);const c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const d=a?r.translate:-r.translate;function f(g){return g<0?-Math.floor(Math.abs(g)):Math.floor(g)}const p=f(d),h=o.map(g=>f(g));let m=o[h.indexOf(p)-1];if(typeof m>"u"&&i.cssMode){let g;o.forEach((y,v)=>{p>=y&&(g=v)}),typeof g<"u"&&(m=o[g>0?g-1:g])}let x=0;if(typeof m<"u"&&(x=s.indexOf(m),x<0&&(x=r.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(x=x-r.slidesPerViewDynamic("previous",!0)+1,x=Math.max(x,0))),i.rewind&&r.isBeginning){const g=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(g,e,t,n)}else if(i.loop&&r.activeIndex===0&&i.cssMode)return requestAnimationFrame(()=>{r.slideTo(x,e,t,n)}),!0;return r.slideTo(x,e,t,n)}function ON(e,t,n){t===void 0&&(t=!0);const r=this;if(!r.destroyed)return typeof e>"u"&&(e=r.params.speed),r.slideTo(r.activeIndex,e,t,n)}function AN(e,t,n,r){t===void 0&&(t=!0),r===void 0&&(r=.5);const i=this;if(i.destroyed)return;typeof e>"u"&&(e=i.params.speed);let o=i.activeIndex;const s=Math.min(i.params.slidesPerGroupSkip,o),a=s+Math.floor((o-s)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const u=i.snapGrid[a],c=i.snapGrid[a+1];l-u>(c-u)*r&&(o+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];l-u<=(c-u)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)}function IN(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,r=t.slidesPerView==="auto"?e.slidesPerViewDynamic():t.slidesPerView;let i=e.clickedIndex,o;const s=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;o=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(Sr(n,`${s}[data-swiper-slide-index="${o}"]`)[0]),Sg(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(Sr(n,`${s}[data-swiper-slide-index="${o}"]`)[0]),Sg(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var $N={slideTo:kN,slideToLoop:MN,slideNext:_N,slidePrev:RN,slideReset:ON,slideToClosest:AN,slideToClickedSlide:IN};function LN(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{Sr(r,`.${n.slideClass}, swiper-slide`).forEach((d,f)=>{d.setAttribute("data-swiper-slide-index",f)})},o=t.grid&&n.grid&&n.grid.rows>1,s=n.slidesPerGroup*(o?n.grid.rows:1),a=t.slides.length%s!==0,l=o&&t.slides.length%n.grid.rows!==0,u=c=>{for(let d=0;d1;u.length"u"?o=l.getSlideIndex(u.filter(L=>L.classList.contains(p.slideActiveClass))[0]):C=o;const E=r==="next"||!r,T=r==="prev"||!r;let P=0,k=0;const M=y?Math.ceil(u.length/p.grid.rows):u.length,I=(y?u[o].column:o)+(h&&typeof i>"u"?-m/2+.5:0);if(I=0;N-=1)u[N].column===B&&v.push(N)}else v.push(M-D-1)}}else if(I+m>M-g){k=Math.max(I-(M-g*2),x);for(let L=0;L{B.column===D&&w.push(N)}):w.push(D)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),T&&v.forEach(L=>{u[L].swiperLoopMoveDOM=!0,f.prepend(u[L]),u[L].swiperLoopMoveDOM=!1}),E&&w.forEach(L=>{u[L].swiperLoopMoveDOM=!0,f.append(u[L]),u[L].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():y&&(v.length>0&&T||w.length>0&&E)&&l.slides.forEach((L,D)=>{l.grid.updateSlide(D,L,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),n){if(v.length>0&&T){if(typeof t>"u"){const L=l.slidesGrid[C],B=l.slidesGrid[C+P]-L;a?l.setTranslate(l.translate-B):(l.slideTo(C+Math.ceil(P),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-B,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-B))}else if(i){const L=y?v.length/p.grid.rows:v.length;l.slideTo(l.activeIndex+L,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&E)if(typeof t>"u"){const L=l.slidesGrid[C],B=l.slidesGrid[C-k]-L;a?l.setTranslate(l.translate-B):(l.slideTo(C-k,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-B,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-B))}else{const L=y?w.length/p.grid.rows:w.length;l.slideTo(l.activeIndex-L,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!s){const L={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(D=>{!D.destroyed&&D.params.loop&&D.loopFix({...L,slideTo:D.params.slidesPerView===p.slidesPerView?n:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...L,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?n:!1})}l.emit("loopFix")}function DN(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const r=[];e.slides.forEach(i=>{const o=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[o]=i}),e.slides.forEach(i=>{i.removeAttribute("data-swiper-slide-index")}),r.forEach(i=>{n.append(i)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var FN={loopCreate:LN,loopFix:jN,loopDestroy:DN};function NN(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})}function zN(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var VN={setGrabCursor:NN,unsetGrabCursor:zN};function BN(e,t){t===void 0&&(t=this);function n(r){if(!r||r===Mr()||r===cn())return null;r.assignedSlot&&(r=r.assignedSlot);const i=r.closest(e);return!i&&!r.getRootNode?null:i||n(r.getRootNode().host)}return n(t)}function Dw(e,t,n){const r=cn(),{params:i}=e,o=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return o&&(n<=s||n>=r.innerWidth-s)?o==="prevent"?(t.preventDefault(),!0):!1:!0}function UN(e){const t=this,n=Mr();let r=e;r.originalEvent&&(r=r.originalEvent);const i=t.touchEventsData;if(r.type==="pointerdown"){if(i.pointerId!==null&&i.pointerId!==r.pointerId)return;i.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(i.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){Dw(t,r,r.targetTouches[0].pageX);return}const{params:o,touches:s,enabled:a}=t;if(!a||!o.simulateTouch&&r.pointerType==="mouse"||t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let l=r.target;if(o.touchEventsTarget==="wrapper"&&!t.wrapperEl.contains(l)||"which"in r&&r.which===3||"button"in r&&r.button>0||i.isTouched&&i.isMoved)return;const u=!!o.noSwipingClass&&o.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const d=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(o.noSwiping&&(f?BN(d,l):l.closest(d))){t.allowClick=!0;return}if(o.swipeHandler&&!l.closest(o.swipeHandler))return;s.currentX=r.pageX,s.currentY=r.pageY;const p=s.currentX,h=s.currentY;if(!Dw(t,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=p,s.startY=h,i.touchStartTime=Ad(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let m=!0;l.matches(i.focusableElements)&&(m=!1,l.nodeName==="SELECT"&&(i.isTouched=!1)),n.activeElement&&n.activeElement.matches(i.focusableElements)&&n.activeElement!==l&&n.activeElement.blur();const x=m&&t.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||x)&&!l.isContentEditable&&r.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function WN(e){const t=Mr(),n=this,r=n.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:a}=n;if(!a||!i.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].filter(E=>E.identifier===r.touchId)[0],!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const c=u.pageX,d=u.pageY;if(l.preventedByNestedSwiper){o.startX=c,o.startY=d;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(o,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=Ad());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(do.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(co.startX&&n.translate>=n.minTranslate())return}if(t.activeElement&&l.target===t.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=c,o.currentY=d;const f=o.currentX-o.startX,p=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(f**2+p**2)"u"){let E;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:f*f+p*p>=25&&(E=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?E>i.touchAngle:90-E>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation();let h=n.isHorizontal()?f:p,m=n.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(h=Math.abs(h)*(s?1:-1),m=Math.abs(m)*(s?1:-1)),o.diff=h,h*=i.touchRatio,s&&(h=-h,m=-m);const x=n.touchesDirection;n.swipeDirection=h>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const g=n.params.loop&&!i.cssMode,y=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(g&&y&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(E)}r.allowMomentumBounce=!1,i.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}let v;if(new Date().getTime(),r.isMoved&&r.allowThresholdMove&&x!==n.touchesDirection&&g&&y&&Math.abs(h)>=1){Object.assign(o,{startX:c,startY:d,currentX:c,currentY:d,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=h+r.startTranslate;let w=!0,C=i.resistanceRatio;if(i.touchReleaseOnEdges&&(C=0),h>0?(g&&y&&!v&&r.allowThresholdMove&&r.currentTranslate>(i.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(w=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+h)**C))):h<0&&(g&&y&&!v&&r.allowThresholdMove&&r.currentTranslate<(i.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(i.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),r.currentTranslater.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),i.threshold>0)if(Math.abs(h)>i.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{r.currentTranslate=r.startTranslate;return}!i.followFinger||i.cssMode||((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function HN(e){const t=this,n=t.touchEventsData;let r=e;r.originalEvent&&(r=r.originalEvent);let i;if(r.type==="touchend"||r.type==="touchcancel"){if(i=[...r.changedTouches].filter(C=>C.identifier===n.touchId)[0],!i||i.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:s,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c||!s.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}s.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=Ad(),f=d-n.touchStartTime;if(t.allowClick){const C=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(C&&C[0]||r.target,C),t.emit("tap click",r),f<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=Ad(),Sg(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||a.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let p;if(s.followFinger?p=l?t.translate:-t.translate:p=-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:p});return}const h=p>=-t.maxTranslate()&&!t.params.loop;let m=0,x=t.slidesSizesGrid[0];for(let C=0;C=u[C]&&p=u[C])&&(m=C,x=u[u.length-1]-u[u.length-2])}let g=null,y=null;s.rewind&&(t.isBeginning?y=s.virtual&&s.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const v=(p-u[m])/x,w=ms.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(v>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?g:m+w):t.slideTo(m)),t.swipeDirection==="prev"&&(v>1-s.longSwipesRatio?t.slideTo(m+w):y!==null&&v<0&&Math.abs(v)>s.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!s.shortSwipes){t.slideTo(t.activeIndex);return}t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(m+w):t.slideTo(m):(t.swipeDirection==="next"&&t.slideTo(g!==null?g:m+w),t.swipeDirection==="prev"&&t.slideTo(y!==null?y:m))}}function Fw(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=s&&t.loop;(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!a?e.slideTo(e.slides.length-1,0,!1,!0):e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function GN(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function qN(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let i;const o=e.maxTranslate()-e.minTranslate();o===0?i=0:i=(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function KN(e){const t=this;Fc(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function QN(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const T2=(e,t)=>{const n=Mr(),{params:r,el:i,wrapperEl:o,device:s}=e,a=!!r.nested,l=t==="on"?"addEventListener":"removeEventListener",u=t;n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[l]("click",e.onClick,!0),r.cssMode&&o[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",Fw,!0):e[u]("observerUpdate",Fw,!0),i[l]("load",e.onLoad,{capture:!0})};function YN(){const e=this,{params:t}=e;e.onTouchStart=UN.bind(e),e.onTouchMove=WN.bind(e),e.onTouchEnd=HN.bind(e),e.onDocumentTouchStart=QN.bind(e),t.cssMode&&(e.onScroll=qN.bind(e)),e.onClick=GN.bind(e),e.onLoad=KN.bind(e),T2(e,"on")}function XN(){T2(this,"off")}var ZN={attachEvents:YN,detachEvents:XN};const Nw=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function JN(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,o=r.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const s=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!s||e.currentBreakpoint===s)return;const l=(s in o?o[s]:void 0)||e.originalParams,u=Nw(e,r),c=Nw(e,l),d=e.params.grabCursor,f=l.grabCursor,p=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&r.grid.fill==="column")&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!f?e.unsetGrabCursor():!d&&f&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(v=>{if(typeof l[v]>"u")return;const w=r[v]&&r[v].enabled,C=l[v]&&l[v].enabled;w&&!C&&e[v].disable(),!w&&C&&e[v].enable()});const h=l.direction&&l.direction!==r.direction,m=r.loop&&(l.slidesPerView!==r.slidesPerView||h),x=r.loop;h&&n&&e.changeDirection(),Zt(e.params,l);const g=e.params.enabled,y=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!g?e.disable():!p&&g&&e.enable(),e.currentBreakpoint=s,e.emit("_beforeBreakpoint",l),n&&(m?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!x&&y?(e.loopCreate(t),e.updateSlides()):x&&!y&&e.loopDestroy()),e.emit("breakpoint",l)}function ez(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=cn(),o=t==="window"?i.innerHeight:n.clientHeight,s=Object.keys(e).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:o*l,point:a}}return{value:a,point:a}});s.sort((a,l)=>parseInt(a.value,10)-parseInt(l.value,10));for(let a=0;a{typeof r=="object"?Object.keys(r).forEach(i=>{r[i]&&n.push(t+i)}):typeof r=="string"&&n.push(t+r)}),n}function rz(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:o}=e,s=nz(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),i.classList.add(...t),e.emitContainerClasses()}function iz(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var oz={addClasses:rz,removeClasses:iz};function sz(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,o=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>o}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var az={checkOverflow:sz},Eg={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function lz(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],o=r[i];if(typeof o!="object"||o===null){Zt(t,r);return}if(e[i]===!0&&(e[i]={enabled:!0}),i==="navigation"&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),!(i in e&&"enabled"in o)){Zt(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),Zt(t,r)}}const Ch={eventsEmitter:oN,update:gN,translate:SN,transition:TN,slide:$N,loop:FN,grabCursor:VN,events:ZN,breakpoints:tz,checkOverflow:az,classes:oz},Eh={};let Gv=class mr{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),o=0;o1){const c=[];return s.querySelectorAll(n.el).forEach(d=>{const f=Zt({},n,{el:d});c.push(new mr(f))}),c}const a=this;a.__swiper__=!0,a.support=C2(),a.device=E2({userAgent:n.userAgent}),a.browser=nN(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&a.modules.push(...n.modules);const l={};a.modules.forEach(c=>{c({params:n,swiper:a,extendParams:lz(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=Zt({},Eg,l);return a.params=Zt({},u,Eh,n),a.originalParams=Zt({},a.params),a.passedParams=Zt({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach(c=>{a.on(c,a.params.on[c])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(t){return this.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}getSlideIndex(t){const{slidesEl:n,params:r}=this,i=Sr(n,`.${r.slideClass}, swiper-slide`),o=Lw(i[0]);return Lw(t)-o}getSlideIndexByData(t){return this.getSlideIndex(this.slides.filter(n=>n.getAttribute("data-swiper-slide-index")*1===t)[0])}recalcSlides(){const t=this,{slidesEl:n,params:r}=t;t.slides=Sr(n,`.${r.slideClass}, swiper-slide`)}enable(){const t=this;t.enabled||(t.enabled=!0,t.params.grabCursor&&t.setGrabCursor(),t.emit("enable"))}disable(){const t=this;t.enabled&&(t.enabled=!1,t.params.grabCursor&&t.unsetGrabCursor(),t.emit("disable"))}setProgress(t,n){const r=this;t=Math.min(Math.max(t,0),1);const i=r.minTranslate(),s=(r.maxTranslate()-i)*t+i;r.translateTo(s,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=t.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(t.params.containerModifierClass)===0);t.emit("_containerClasses",n.join(" "))}getSlideClasses(t){const n=this;return n.destroyed?"":t.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const t=this;if(!t.params._emitClasses||!t.el)return;const n=[];t.slides.forEach(r=>{const i=t.getSlideClasses(r);n.push({slideEl:r,classNames:i}),t.emit("_slideClass",r,i)}),t.emit("_slideClasses",n)}slidesPerViewDynamic(t,n){t===void 0&&(t="current"),n===void 0&&(n=!1);const r=this,{params:i,slides:o,slidesGrid:s,slidesSizesGrid:a,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=o[u]?Math.ceil(o[u].swiperSlideSize):0,f;for(let p=u+1;pl&&(f=!0));for(let p=u-1;p>=0;p-=1)o[p]&&!f&&(d+=o[p].swiperSlideSize,c+=1,d>l&&(f=!0))}else if(t==="current")for(let d=u+1;d=0;d-=1)s[u]-s[d]{s.complete&&Fc(t,s)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const s=t.rtlTranslate?t.translate*-1:t.translate,a=Math.min(Math.max(s,t.maxTranslate()),t.minTranslate());t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}let o;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){const s=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;o=t.slideTo(s.length-1,0,!1,!0)}else o=t.slideTo(t.activeIndex,0,!1,!0);o||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(t,n){n===void 0&&(n=!0);const r=this,i=r.params.direction;return t||(t=i==="horizontal"?"vertical":"horizontal"),t===i||t!=="horizontal"&&t!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${i}`),r.el.classList.add(`${r.params.containerModifierClass}${t}`),r.emitContainerClasses(),r.params.direction=t,r.slides.forEach(o=>{t==="vertical"?o.style.width="":o.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(t){const n=this;n.rtl&&t==="rtl"||!n.rtl&&t==="ltr"||(n.rtl=t==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(t){const n=this;if(n.mounted)return!0;let r=t||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const i=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):Sr(r,i())[0];return!s&&n.params.createElements&&(s=$d("div",n.params.wrapperClass),r.append(s),Sr(r,`.${n.params.slideClass}`).forEach(a=>{s.append(a)})),Object.assign(n,{el:r,wrapperEl:s,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:s,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||gi(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||gi(r,"direction")==="rtl"),wrongRTL:gi(s,"display")==="-webkit-box"}),!0}init(t){const n=this;if(n.initialized||n.mount(t)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(),n.attachEvents();const i=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&i.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(o=>{o.complete?Fc(n,o):o.addEventListener("load",s=>{Fc(n,s.target)})}),Cg(n),n.initialized=!0,Cg(n),n.emit("init"),n.emit("afterInit"),n}destroy(t,n){t===void 0&&(t=!0),n===void 0&&(n=!0);const r=this,{params:i,el:o,wrapperEl:s,slides:a}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),i.loop&&r.loopDestroy(),n&&(r.removeClasses(),o.removeAttribute("style"),s.removeAttribute("style"),a&&a.length&&a.forEach(l=>{l.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),t!==!1&&(r.el.swiper=null,G6(r)),r.destroyed=!0),null}static extendDefaults(t){Zt(Eh,t)}static get extendedDefaults(){return Eh}static get defaults(){return Eg}static installModule(t){mr.prototype.__modules__||(mr.prototype.__modules__=[]);const n=mr.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>mr.installModule(n)),mr):(mr.installModule(t),mr)}};Object.keys(Ch).forEach(e=>{Object.keys(Ch[e]).forEach(t=>{Gv.prototype[t]=Ch[e][t]})});Gv.use([rN,iN]);const k2=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function Oo(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Cs(e,t){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof e[r]>"u"?e[r]=t[r]:Oo(t[r])&&Oo(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:Cs(e[r],t[r]):e[r]=t[r]})}function M2(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function _2(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function R2(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function O2(e){e===void 0&&(e="");const t=e.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return t.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function uz(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function cz(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:o,prevEl:s,scrollbarEl:a,paginationEl:l}=e;const u=i.filter(k=>k!=="children"&&k!=="direction"&&k!=="wrapperClass"),{params:c,pagination:d,navigation:f,scrollbar:p,virtual:h,thumbs:m}=t;let x,g,y,v,w,C,E,T;i.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(x=!0),i.includes("controller")&&r.controller&&r.controller.control&&c.controller&&!c.controller.control&&(g=!0),i.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(c.pagination||c.pagination===!1)&&d&&!d.el&&(y=!0),i.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||a)&&(c.scrollbar||c.scrollbar===!1)&&p&&!p.el&&(v=!0),i.includes("navigation")&&r.navigation&&(r.navigation.prevEl||s)&&(r.navigation.nextEl||o)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(w=!0);const P=k=>{t[k]&&(t[k].destroy(),k==="navigation"?(t.isElement&&(t[k].prevEl.remove(),t[k].nextEl.remove()),c[k].prevEl=void 0,c[k].nextEl=void 0,t[k].prevEl=void 0,t[k].nextEl=void 0):(t.isElement&&t[k].el.remove(),c[k].el=void 0,t[k].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!r.loop?C=!0:!c.loop&&r.loop?E=!0:T=!0),u.forEach(k=>{if(Oo(c[k])&&Oo(r[k]))Object.assign(c[k],r[k]),(k==="navigation"||k==="pagination"||k==="scrollbar")&&"enabled"in r[k]&&!r[k].enabled&&P(k);else{const M=r[k];(M===!0||M===!1)&&(k==="navigation"||k==="pagination"||k==="scrollbar")?M===!1&&P(k):c[k]=r[k]}}),u.includes("controller")&&!g&&t.controller&&t.controller.control&&c.controller&&c.controller.control&&(t.controller.control=c.controller.control),i.includes("children")&&n&&h&&c.virtual.enabled?(h.slides=n,h.update(!0)):i.includes("virtual")&&h&&c.virtual.enabled&&(n&&(h.slides=n),h.update(!0)),i.includes("children")&&n&&c.loop&&(T=!0),x&&m.init()&&m.update(!0),g&&(t.controller.control=c.controller.control),y&&(t.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),t.el.appendChild(l)),l&&(c.pagination.el=l),d.init(),d.render(),d.update()),v&&(t.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-scrollbar"),a.part.add("scrollbar"),t.el.appendChild(a)),a&&(c.scrollbar.el=a),p.init(),p.updateSize(),p.setTranslate()),w&&(t.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=t.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),t.el.appendChild(o)),(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-prev"),s.innerHTML=t.hostEl.constructor.prevButtonSvg,s.part.add("button-prev"),t.el.appendChild(s))),o&&(c.navigation.nextEl=o),s&&(c.navigation.prevEl=s),f.init(),f.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=r.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=r.allowSlidePrev),i.includes("direction")&&t.changeDirection(r.direction,!1),(C||T)&&t.loopDestroy(),(E||T)&&t.loopCreate(),t.update()}function dz(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};Cs(n,Eg),n._emitClasses=!0,n.init=!1;const o={},s=k2.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(s.indexOf(l)>=0?Oo(e[l])?(n[l]={},i[l]={},Cs(n[l],e[l]),Cs(i[l],e[l])):(n[l]=e[l],i[l]=e[l]):l.search(/on[A-Z]/)===0&&typeof e[l]=="function"?t?r[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:n.on[`${l[2].toLowerCase()}${l.substr(3)}`]=e[l]:o[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:i,rest:o,events:r}}function fz(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:a}=e;M2(t)&&r&&i&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),_2(t)&&o&&(a.params.pagination.el=o,a.originalParams.pagination.el=o),R2(t)&&s&&(a.params.scrollbar.el=s,a.originalParams.scrollbar.el=s),a.init(n)}function pz(e,t,n,r,i){const o=[];if(!t)return o;const s=l=>{o.indexOf(l)<0&&o.push(l)};if(n&&r){const l=r.map(i),u=n.map(i);l.join("")!==u.join("")&&s("children"),r.length!==n.length&&s("children")}return k2.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(Oo(e[l])&&Oo(t[l])){const u=Object.keys(e[l]),c=Object.keys(t[l]);u.length!==c.length?s(l):(u.forEach(d=>{e[l][d]!==t[l][d]&&s(l)}),c.forEach(d=>{e[l][d]!==t[l][d]&&s(l)}))}else e[l]!==t[l]&&s(l)}),o}const hz=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function Ld(){return Ld=Object.assign?Object.assign.bind():function(e){for(var t=1;t{A2(n)?t.push(n):n.props&&n.props.children&&I2(n.props.children).forEach(r=>t.push(r))}),t}function mz(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return W.Children.toArray(e).forEach(r=>{if(A2(r))t.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const i=I2(r.props.children);i.length>0?i.forEach(o=>t.push(o)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function gz(e,t,n){if(!n)return null;const r=c=>{let d=c;return c<0?d=t.length+c:d>=t.length&&(d=d-t.length),d},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:o,to:s}=n,a=e.params.loop?-t.length:0,l=e.params.loop?t.length*2:t.length,u=[];for(let c=a;c=o&&c<=s&&u.push(t[r(c)]);return u.map((c,d)=>W.cloneElement(c,{swiper:e,style:i,key:c.props.virtualIndex||c.key||`slide-${d}`}))}function rl(e,t){return typeof window>"u"?b.useEffect(e,t):b.useLayoutEffect(e,t)}const zw=b.createContext(null),vz=b.createContext(null),$2=b.forwardRef(function(e,t){let{className:n,tag:r="div",wrapperTag:i="div",children:o,onSwiper:s,...a}=e===void 0?{}:e,l=!1;const[u,c]=b.useState("swiper"),[d,f]=b.useState(null),[p,h]=b.useState(!1),m=b.useRef(!1),x=b.useRef(null),g=b.useRef(null),y=b.useRef(null),v=b.useRef(null),w=b.useRef(null),C=b.useRef(null),E=b.useRef(null),T=b.useRef(null),{params:P,passedParams:k,rest:M,events:A}=dz(a),{slides:I,slots:L}=mz(o),D=()=>{h(!p)};Object.assign(P.on,{_containerClasses($,z){c(z)}});const B=()=>{Object.assign(P.on,A),l=!0;const $={...P};if(delete $.wrapperClass,g.current=new Gv($),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=I;const z={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};Cs(g.current.params.virtual,z),Cs(g.current.originalParams.virtual,z)}};x.current||B(),g.current&&g.current.on("_beforeBreakpoint",D);const N=()=>{l||!A||!g.current||Object.keys(A).forEach($=>{g.current.on($,A[$])})},H=()=>{!A||!g.current||Object.keys(A).forEach($=>{g.current.off($,A[$])})};b.useEffect(()=>()=>{g.current&&g.current.off("_beforeBreakpoint",D)}),b.useEffect(()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)}),rl(()=>{if(t&&(t.current=x.current),!!x.current)return g.current.destroyed&&B(),fz({el:x.current,nextEl:w.current,prevEl:C.current,paginationEl:E.current,scrollbarEl:T.current,swiper:g.current},P),s&&!g.current.destroyed&&s(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}},[]),rl(()=>{N();const $=pz(k,y.current,I,v.current,z=>z.key);return y.current=k,v.current=I,$.length&&g.current&&!g.current.destroyed&&cz({swiper:g.current,slides:I,passedParams:k,changedParams:$,nextEl:w.current,prevEl:C.current,scrollbarEl:T.current,paginationEl:E.current}),()=>{H()}}),rl(()=>{hz(g.current)},[d]);function O(){return P.virtual?gz(g.current,I,d):I.map(($,z)=>W.cloneElement($,{swiper:g.current,swiperSlideIndex:z}))}return W.createElement(r,Ld({ref:x,className:O2(`${u}${n?` ${n}`:""}`)},M),W.createElement(vz.Provider,{value:g.current},L["container-start"],W.createElement(i,{className:uz(P.wrapperClass)},L["wrapper-start"],O(),L["wrapper-end"]),M2(P)&&W.createElement(W.Fragment,null,W.createElement("div",{ref:C,className:"swiper-button-prev"}),W.createElement("div",{ref:w,className:"swiper-button-next"})),R2(P)&&W.createElement("div",{ref:T,className:"swiper-scrollbar"}),_2(P)&&W.createElement("div",{ref:E,className:"swiper-pagination"}),L["container-end"]))});$2.displayName="Swiper";const L2=b.forwardRef(function(e,t){let{tag:n="div",children:r,className:i="",swiper:o,zoom:s,lazy:a,virtualIndex:l,swiperSlideIndex:u,...c}=e===void 0?{}:e;const d=b.useRef(null),[f,p]=b.useState("swiper-slide"),[h,m]=b.useState(!1);function x(w,C,E){C===d.current&&p(E)}rl(()=>{if(typeof u<"u"&&(d.current.swiperSlideIndex=u),t&&(t.current=d.current),!(!d.current||!o)){if(o.destroyed){f!=="swiper-slide"&&p("swiper-slide");return}return o.on("_slideClass",x),()=>{o&&o.off("_slideClass",x)}}}),rl(()=>{o&&d.current&&!o.destroyed&&p(o.getSlideClasses(d.current))},[o]);const g={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},y=()=>typeof r=="function"?r(g):r,v=()=>{m(!0)};return W.createElement(n,Ld({ref:d,className:O2(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":l,onLoad:v},c),s&&W.createElement(zw.Provider,{value:g},W.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof s=="number"?s:void 0},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&W.createElement(zw.Provider,{value:g},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"})))});L2.displayName="SwiperSlide";function yz(e){let{swiper:t,extendParams:n,on:r,emit:i,params:o}=e;t.autoplay={running:!1,paused:!1,timeLeft:0},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let s,a,l=o&&o.autoplay?o.autoplay.delay:3e3,u=o&&o.autoplay?o.autoplay.delay:3e3,c,d=new Date().getTime(),f,p,h,m,x,g,y;function v(O){!t||t.destroyed||!t.wrapperEl||O.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",v),!y&&M())}const w=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?f=!0:f&&(u=c,f=!1);const O=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=O,i("autoplayTimeLeft",O,O/l),a=requestAnimationFrame(()=>{w()})},C=()=>{let O;return t.virtual&&t.params.virtual.enabled?O=t.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:O=t.slides[t.activeIndex],O?parseInt(O.getAttribute("data-swiper-autoplay"),10):void 0},E=O=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(a),w();let $=typeof O>"u"?t.params.autoplay.delay:O;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const z=C();!Number.isNaN(z)&&z>0&&typeof O>"u"&&($=z,l=z,u=z),c=$;const K=t.params.speed,ne=()=>{!t||t.destroyed||(t.params.autoplay.reverseDirection?!t.isBeginning||t.params.loop||t.params.rewind?(t.slidePrev(K,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(t.slides.length-1,K,!0,!0),i("autoplay")):!t.isEnd||t.params.loop||t.params.rewind?(t.slideNext(K,!0,!0),i("autoplay")):t.params.autoplay.stopOnLastSlide||(t.slideTo(0,K,!0,!0),i("autoplay")),t.params.cssMode&&(d=new Date().getTime(),requestAnimationFrame(()=>{E()})))};return $>0?(clearTimeout(s),s=setTimeout(()=>{ne()},$)):requestAnimationFrame(()=>{ne()}),$},T=()=>{d=new Date().getTime(),t.autoplay.running=!0,E(),i("autoplayStart")},P=()=>{t.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),i("autoplayStop")},k=(O,$)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(s),O||(g=!0);const z=()=>{i("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",v):M()};if(t.autoplay.paused=!0,$){x&&(c=t.params.autoplay.delay),x=!1,z();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-d),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),z())},M=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(d=new Date().getTime(),g?(g=!1,E(c)):E(),t.autoplay.paused=!1,i("autoplayResume"))},A=()=>{if(t.destroyed||!t.autoplay.running)return;const O=Mr();O.visibilityState==="hidden"&&(g=!0,k(!0)),O.visibilityState==="visible"&&M()},I=O=>{O.pointerType==="mouse"&&(g=!0,y=!0,!(t.animating||t.autoplay.paused)&&k(!0))},L=O=>{O.pointerType==="mouse"&&(y=!1,t.autoplay.paused&&M())},D=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",I),t.el.addEventListener("pointerleave",L))},B=()=>{t.el.removeEventListener("pointerenter",I),t.el.removeEventListener("pointerleave",L)},N=()=>{Mr().addEventListener("visibilitychange",A)},H=()=>{Mr().removeEventListener("visibilitychange",A)};r("init",()=>{t.params.autoplay.enabled&&(D(),N(),T())}),r("destroy",()=>{B(),H(),t.autoplay.running&&P()}),r("_freeModeStaticRelease",()=>{(h||g)&&M()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?P():k(!0,!0)}),r("beforeTransitionStart",(O,$,z)=>{t.destroyed||!t.autoplay.running||(z||!t.params.autoplay.disableOnInteraction?k(!0,!0):P())}),r("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){P();return}p=!0,h=!1,g=!1,m=setTimeout(()=>{g=!0,h=!0,k(!0)},200)}}),r("touchEnd",()=>{if(!(t.destroyed||!t.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(s),t.params.autoplay.disableOnInteraction){h=!1,p=!1;return}h&&t.params.cssMode&&M(),h=!1,p=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(x=!0)}),Object.assign(t.autoplay,{start:T,stop:P,pause:k,resume:M})}function xz(e){const{effect:t,swiper:n,on:r,setTranslate:i,setTransition:o,overwriteParams:s,perspective:a,recreateShadows:l,getEffectParams:u}=e;r("beforeInit",()=>{if(n.params.effect!==t)return;n.classNames.push(`${n.params.containerModifierClass}${t}`),a&&a()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const d=s?s():{};Object.assign(n.params,d),Object.assign(n.originalParams,d)}),r("setTranslate",()=>{n.params.effect===t&&i()}),r("setTransition",(d,f)=>{n.params.effect===t&&o(f)}),r("transitionEnd",()=>{if(n.params.effect===t&&l){if(!u||!u().slideShadows)return;n.slides.forEach(d=>{d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>f.remove())}),l()}});let c;r("virtualUpdate",()=>{n.params.effect===t&&(n.slides.length||(c=!0),requestAnimationFrame(()=>{c&&n.slides&&n.slides.length&&(i(),c=!1)}))})}function wz(e,t){const n=Hv(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function Vw(e,t,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=Hv(t);let o=i.querySelector(`.${r.split(" ").join(".")}`);return o||(o=$d("div",r.split(" ")),i.append(o)),o}function bz(e){let{swiper:t,extendParams:n,on:r}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),xz({effect:"coverflow",swiper:t,on:r,setTranslate:()=>{const{width:s,height:a,slides:l,slidesSizesGrid:u}=t,c=t.params.coverflowEffect,d=t.isHorizontal(),f=t.translate,p=d?-f+s/2:-f+a/2,h=d?c.rotate:-c.rotate,m=c.depth;for(let x=0,g=l.length;x0?E:0),H&&(H.style.opacity=-E>0?-E:0)}}},setTransition:s=>{t.slides.map(l=>Hv(l)).forEach(l=>{l.style.transitionDuration=`${s}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${s}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Sz(e){let t=`${e.firstName}-${e.lastName}`;return t=t.toLowerCase().replace(" ","-"),`${da.getUri()}/team-images/${t}.jpeg`}function Cz(e){let t="";return t=e.leadership.join(", "),t}function Ez(e){const[t,n]=W.useState([]);return W.useEffect(()=>{da.get("members/leaders/").then(r=>{n(()=>r.data)})},[]),S.jsxs(Q,{...e,sx:{...e==null?void 0:e.sx,borderRadius:"35px",display:"flex",flexDirection:"column",gap:"15px",width:"100%",height:"100%",alignItems:"center",justifyContent:"center"},children:[S.jsx(ce,{sx:{fontSize:"3rem",fontWeight:"bold",marginBottom:"30px"},children:"Our Team"}),t.length<1?S.jsx(S.Fragment,{}):S.jsx($2,{modules:[bz,yz],effect:"coverflow",centeredSlides:!0,loop:!0,loopAdditionalSlides:2,slidesPerView:"auto",spaceBetween:3,coverflowEffect:{rotate:0,stretch:0,depth:200,modifier:1},autoplay:{delay:1200,disableOnInteraction:!1},children:t.map(r=>S.jsx(L2,{children:S.jsxs(Q,{sx:{position:"relative",overflow:"hidden",width:"100%"},children:[S.jsx("img",{src:Sz(r),alt:"member_image"}),S.jsxs(Q,{sx:{position:"absolute",bottom:"0px",color:"white",width:"100%",height:"130px",left:"50%",transform:"translateX(-50%)",background:"linear-gradient(to top, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0.6) 70%, rgba(0, 0, 0, 0.4) 80%, rgba(0, 0, 0, 0.2) 90%, rgba(0, 0, 0, 0) 100%)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"end",textAlign:"center",paddingBottom:"20px"},children:[S.jsx(ce,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:`${r.firstName} ${r.lastName}`}),S.jsx(ce,{sx:{fontSize:"1rem"},children:Cz(r)})]})]})}))})]})}var Pz=Object.defineProperty,Tz=(e,t)=>{for(var n in t)Pz(e,n,{get:t[n],enumerable:!0})},Gn={};Tz(Gn,{assign:()=>_z,colors:()=>Mi,createStringInterpolator:()=>Jv,skipAnimation:()=>B2,to:()=>V2,willAdvance:()=>ey});var qv=Ou(),te=e=>Ru(e,qv),Kv=Ou();te.write=e=>Ru(e,Kv);var lp=Ou();te.onStart=e=>Ru(e,lp);var Qv=Ou();te.onFrame=e=>Ru(e,Qv);var Yv=Ou();te.onFinish=e=>Ru(e,Yv);var Es=[];te.setTimeout=(e,t)=>{const n=te.now()+t,r=()=>{const o=Es.findIndex(s=>s.cancel==r);~o&&Es.splice(o,1),yi-=~o?1:0},i={time:n,handler:e,cancel:r};return Es.splice(j2(n),0,i),yi+=1,D2(),i};var j2=e=>~(~Es.findIndex(t=>t.time>e)||~Es.length);te.cancel=e=>{lp.delete(e),Qv.delete(e),Yv.delete(e),qv.delete(e),Kv.delete(e)};te.sync=e=>{Pg=!0,te.batchedUpdates(e),Pg=!1};te.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,te.onStart(n)}return r.handler=e,r.cancel=()=>{lp.delete(n),t=null},r};var Xv=typeof window<"u"?window.requestAnimationFrame:()=>{};te.use=e=>Xv=e;te.now=typeof performance<"u"?()=>performance.now():Date.now;te.batchedUpdates=e=>e();te.catch=console.error;te.frameLoop="always";te.advance=()=>{te.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):N2()};var vi=-1,yi=0,Pg=!1;function Ru(e,t){Pg?(t.delete(e),e(0)):(t.add(e),D2())}function D2(){vi<0&&(vi=0,te.frameLoop!=="demand"&&Xv(F2))}function kz(){vi=-1}function F2(){~vi&&(Xv(F2),te.batchedUpdates(N2))}function N2(){const e=vi;vi=te.now();const t=j2(vi);if(t&&(z2(Es.splice(0,t),n=>n.handler()),yi-=t),!yi){kz();return}lp.flush(),qv.flush(e?Math.min(64,vi-e):16.667),Qv.flush(),Kv.flush(),Yv.flush()}function Ou(){let e=new Set,t=e;return{add(n){yi+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return yi-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,yi-=t.size,z2(t,r=>r(n)&&e.add(r)),yi+=e.size,t=e)}}}function z2(e,t){e.forEach(n=>{try{t(n)}catch(r){te.catch(r)}})}function Tg(){}var Mz=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),V={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function yr(e,t){if(V.arr(e)){if(!V.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function dr(e,t,n){if(V.arr(e)){for(let r=0;rV.und(e)?[]:V.arr(e)?e:[e];function il(e,t){if(e.size){const n=Array.from(e);e.clear(),he(n,t)}}var Ba=(e,...t)=>il(e,n=>n(...t)),Zv=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Jv,V2,Mi=null,B2=!1,ey=Tg,_z=e=>{e.to&&(V2=e.to),e.now&&(te.now=e.now),e.colors!==void 0&&(Mi=e.colors),e.skipAnimation!=null&&(B2=e.skipAnimation),e.createStringInterpolator&&(Jv=e.createStringInterpolator),e.requestAnimationFrame&&te.use(e.requestAnimationFrame),e.batchedUpdates&&(te.batchedUpdates=e.batchedUpdates),e.willAdvance&&(ey=e.willAdvance),e.frameLoop&&(te.frameLoop=e.frameLoop)},ol=new Set,Sn=[],Ph=[],jd=0,up={get idle(){return!ol.size&&!Sn.length},start(e){jd>e.priority?(ol.add(e),te.onStart(Rz)):(U2(e),te(kg))},advance:kg,sort(e){if(jd)te.onFrame(()=>up.sort(e));else{const t=Sn.indexOf(e);~t&&(Sn.splice(t,1),W2(e))}},clear(){Sn=[],ol.clear()}};function Rz(){ol.forEach(U2),ol.clear(),te(kg)}function U2(e){Sn.includes(e)||W2(e)}function W2(e){Sn.splice(Oz(Sn,t=>t.priority>e.priority),0,e)}function kg(e){const t=Ph;for(let n=0;n0}function Oz(e,t){const n=e.findIndex(t);return n<0?e.length:n}var Az=(e,t,n)=>Math.min(Math.max(n,e),t),Iz={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Bn="[-+]?\\d*\\.?\\d+",Dd=Bn+"%";function cp(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var $z=new RegExp("rgb"+cp(Bn,Bn,Bn)),Lz=new RegExp("rgba"+cp(Bn,Bn,Bn,Bn)),jz=new RegExp("hsl"+cp(Bn,Dd,Dd)),Dz=new RegExp("hsla"+cp(Bn,Dd,Dd,Bn)),Fz=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Nz=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,zz=/^#([0-9a-fA-F]{6})$/,Vz=/^#([0-9a-fA-F]{8})$/;function Bz(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=zz.exec(e))?parseInt(t[1]+"ff",16)>>>0:Mi&&Mi[e]!==void 0?Mi[e]:(t=$z.exec(e))?(Go(t[1])<<24|Go(t[2])<<16|Go(t[3])<<8|255)>>>0:(t=Lz.exec(e))?(Go(t[1])<<24|Go(t[2])<<16|Go(t[3])<<8|Ww(t[4]))>>>0:(t=Fz.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Vz.exec(e))?parseInt(t[1],16)>>>0:(t=Nz.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=jz.exec(e))?(Bw(Uw(t[1]),cc(t[2]),cc(t[3]))|255)>>>0:(t=Dz.exec(e))?(Bw(Uw(t[1]),cc(t[2]),cc(t[3]))|Ww(t[4]))>>>0:null}function Th(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 Bw(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=Th(i,r,e+1/3),s=Th(i,r,e),a=Th(i,r,e-1/3);return Math.round(o*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function Go(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Uw(e){return(parseFloat(e)%360+360)%360/360}function Ww(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function cc(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Hw(e){let t=Bz(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,o=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${o})`}var Bl=(e,t,n)=>{if(V.fun(e))return e;if(V.arr(e))return Bl({range:e,output:t,extrapolate:n});if(V.str(e.output[0]))return Jv(e);const r=e,i=r.output,o=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(u=>u);return u=>{const c=Wz(u,o);return Uz(u,o[c],o[c+1],i[c],i[c+1],l,s,a,r.map)}};function Uz(e,t,n,r,i,o,s,a,l){let u=l?l(e):e;if(un){if(a==="identity")return u;a==="clamp"&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u=u-t:u=(u-t)/(n-t),u=o(u),r===-1/0?u=-u:i===1/0?u=u+r:u=u*(i-r)+r,u)}function Wz(e,t){for(var n=1;n=e);++n);return n-1}var Hz=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,i=t==="end"?Math.floor(r):Math.ceil(r);return Az(0,1,i/e)},Fd=1.70158,dc=Fd*1.525,Gw=Fd+1,qw=2*Math.PI/3,Kw=2*Math.PI/4.5,fc=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,Gz={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Gw*e*e*e-Fd*e*e,easeOutBack:e=>1+Gw*Math.pow(e-1,3)+Fd*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((dc+1)*2*e-dc)/2:(Math.pow(2*e-2,2)*((dc+1)*(e*2-2)+dc)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*qw),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*qw)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Kw))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Kw)/2+1,easeInBounce:e=>1-fc(1-e),easeOutBounce:fc,easeInOutBounce:e=>e<.5?(1-fc(1-2*e))/2:(1+fc(2*e-1))/2,steps:Hz},Ul=Symbol.for("FluidValue.get"),Zs=Symbol.for("FluidValue.observers"),bn=e=>!!(e&&e[Ul]),Nt=e=>e&&e[Ul]?e[Ul]():e,Qw=e=>e[Zs]||null;function qz(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Wl(e,t){const n=e[Zs];n&&n.forEach(r=>{qz(r,t)})}var H2=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");Kz(this,e)}},Kz=(e,t)=>G2(e,Ul,t);function fa(e,t){if(e[Ul]){let n=e[Zs];n||G2(e,Zs,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Hl(e,t){const n=e[Zs];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Zs]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var G2=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Nc=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Qz=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Yw=new RegExp(`(${Nc.source})(%|[a-z]+)`,"i"),Yz=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,dp=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,q2=e=>{const[t,n]=Xz(e);if(!t||Zv())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(n);return i||e}else{if(n&&dp.test(n))return q2(n);if(n)return n}return e},Xz=e=>{const t=dp.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},kh,Zz=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,K2=e=>{kh||(kh=Mi?new RegExp(`(${Object.keys(Mi).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(o=>Nt(o).replace(dp,q2).replace(Qz,Hw).replace(kh,Hw)),n=t.map(o=>o.match(Nc).map(Number)),i=n[0].map((o,s)=>n.map(a=>{if(!(s in a))throw Error('The arity of each "output" value must be equal');return a[s]})).map(o=>Bl({...e,output:o}));return o=>{var l;const s=!Yw.test(t[0])&&((l=t.find(u=>Yw.test(u)))==null?void 0:l.replace(Nc,""));let a=0;return t[0].replace(Nc,()=>`${i[a++](o)}${s||""}`).replace(Yz,Zz)}},ty="react-spring: ",Q2=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${ty}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},Jz=Q2(console.warn);function e8(){Jz(`${ty}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var t8=Q2(console.warn);function n8(){t8(`${ty}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function fp(e){return V.str(e)&&(e[0]=="#"||/\d/.test(e)||!Zv()&&dp.test(e)||e in(Mi||{}))}var ny=Zv()?b.useEffect:b.useLayoutEffect,r8=()=>{const e=b.useRef(!1);return ny(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function Y2(){const e=b.useState()[1],t=r8();return()=>{t.current&&e(Math.random())}}function i8(e,t){const[n]=b.useState(()=>({inputs:t,result:e()})),r=b.useRef(),i=r.current;let o=i;return o?t&&o.inputs&&o8(t,o.inputs)||(o={inputs:t,result:e()}):o=n,b.useEffect(()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)},[o]),o.result}function o8(e,t){if(e.length!==t.length)return!1;for(let n=0;nb.useEffect(e,s8),s8=[];function Xw(e){const t=b.useRef();return b.useEffect(()=>{t.current=e}),t.current}var Gl=Symbol.for("Animated:node"),a8=e=>!!e&&e[Gl]===e,Yn=e=>e&&e[Gl],ry=(e,t)=>Mz(e,Gl,t),pp=e=>e&&e[Gl]&&e[Gl].getPayload(),Z2=class{constructor(){ry(this,this)}getPayload(){return this.payload||[]}},Au=class extends Z2{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,V.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Au(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return V.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,V.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},ql=class extends Au{constructor(e){super(0),this._string=null,this._toString=Bl({output:[e,e]})}static create(e){return new ql(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(V.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=Bl({output:[this.getValue(),e]})),this._value=0,super.reset()}},Nd={dependencies:null},hp=class extends Z2{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return dr(this.source,(n,r)=>{a8(n)?t[r]=n.getValue(e):bn(n)?t[r]=Nt(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&he(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return dr(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Nd.dependencies&&bn(e)&&Nd.dependencies.add(e);const t=pp(e);t&&he(t,n=>this.add(n))}},J2=class extends hp{constructor(e){super(e)}static create(e){return new J2(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((n,r)=>n.setValue(e[r])).some(Boolean):(super.setValue(e.map(l8)),!0)}};function l8(e){return(fp(e)?ql:Au).create(e)}function Mg(e){const t=Yn(e);return t?t.constructor:V.arr(e)?J2:fp(e)?ql:Au}var Zw=(e,t)=>{const n=!V.fun(e)||e.prototype&&e.prototype.isReactComponent;return b.forwardRef((r,i)=>{const o=b.useRef(null),s=n&&b.useCallback(h=>{o.current=d8(i,h)},[i]),[a,l]=c8(r,t),u=Y2(),c=()=>{const h=o.current;if(n&&!h)return;(h?t.applyAnimatedValues(h,a.getValue(!0)):!1)===!1&&u()},d=new u8(c,l),f=b.useRef();ny(()=>(f.current=d,he(l,h=>fa(h,d)),()=>{f.current&&(he(f.current.deps,h=>Hl(h,f.current)),te.cancel(f.current.update))})),b.useEffect(c,[]),X2(()=>()=>{const h=f.current;he(h.deps,m=>Hl(m,h))});const p=t.getComponentProps(a.getValue());return b.createElement(e,{...p,ref:s})})},u8=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&te.write(this.update)}};function c8(e,t){const n=new Set;return Nd.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new hp(e),Nd.dependencies=null,[e,n]}function d8(e,t){return e&&(V.fun(e)?e(t):e.current=t),t}var Jw=Symbol.for("AnimatedComponent"),f8=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new hp(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=s=>{const a=eb(s)||"Anonymous";return V.str(s)?s=o[s]||(o[s]=Zw(s,i)):s=s[Jw]||(s[Jw]=Zw(s,i)),s.displayName=`Animated(${a})`,s};return dr(e,(s,a)=>{V.arr(e)&&(a=eb(s)),o[a]=o(s)}),{animated:o}},eb=e=>V.str(e)?e:e&&V.str(e.displayName)?e.displayName:V.fun(e)&&e.name||null;function ro(e,...t){return V.fun(e)?e(...t):e}var sl=(e,t)=>e===!0||!!(t&&e&&(V.fun(e)?e(t):tn(e).includes(t))),ek=(e,t)=>V.obj(e)?t&&e[t]:e,tk=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,p8=e=>e,iy=(e,t=p8)=>{let n=h8;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const o=t(e[i],i);V.und(o)||(r[i]=o)}return r},h8=["config","onProps","onStart","onChange","onPause","onResume","onRest"],m8={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function g8(e){const t={};let n=0;if(dr(e,(r,i)=>{m8[i]||(t[i]=r,n++)}),n)return t}function nk(e){const t=g8(e);if(t){const n={to:t};return dr(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function Kl(e){return e=Nt(e),V.arr(e)?e.map(Kl):fp(e)?Gn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function v8(e){for(const t in e)return!0;return!1}function _g(e){return V.fun(e)||V.arr(e)&&V.obj(e[0])}function y8(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function x8(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var w8={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Rg={...w8.default,mass:1,damping:1,easing:Gz.linear,clamp:!1},b8=class{constructor(){this.velocity=0,Object.assign(this,Rg)}};function S8(e,t,n){n&&(n={...n},tb(n,t),t={...n,...t}),tb(e,t),Object.assign(e,t);for(const s in Rg)e[s]==null&&(e[s]=Rg[s]);let{frequency:r,damping:i}=e;const{mass:o}=e;return V.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*o,e.friction=4*Math.PI*i*o/r),e}function tb(e,t){if(!V.und(t.decay))e.duration=void 0;else{const n=!V.und(t.tension)||!V.und(t.friction);(n||!V.und(t.frequency)||!V.und(t.damping)||!V.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var nb=[],C8=class{constructor(){this.changed=!1,this.values=nb,this.toValues=null,this.fromValues=nb,this.config=new b8,this.immediate=!1}};function rk(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((s,a)=>{let l,u,c=sl(n.cancel??(r==null?void 0:r.cancel),t);if(c)p();else{V.und(n.pause)||(i.paused=sl(n.pause,t));let h=r==null?void 0:r.pause;h!==!0&&(h=i.paused||sl(h,t)),l=ro(n.delay||0,t),h?(i.resumeQueue.add(f),o.pause()):(o.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(u),u.cancel(),l=u.time-te.now()}function f(){l>0&&!Gn.skipAnimation?(i.delayed=!0,u=te.setTimeout(p,l),i.pauseQueue.add(d),i.timeouts.add(u)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(u),e<=(i.cancelId||0)&&(c=!0);try{o.start({...n,callId:e,cancel:c},s)}catch(h){a(h)}}})}var oy=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?Ps(e.get()):t.every(n=>n.noop)?ik(e.get()):Vn(e.get(),t.every(n=>n.finished)),ik=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Vn=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Ps=e=>({value:e,cancelled:!0,finished:!1});function ok(e,t,n,r){const{callId:i,parentId:o,onRest:s}=t,{asyncTo:a,promise:l}=n;return!o&&e===a&&!t.reset?l:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const u=iy(t,(x,g)=>g==="onRest"?void 0:x);let c,d;const f=new Promise((x,g)=>(c=x,d=g)),p=x=>{const g=i<=(n.cancelId||0)&&Ps(r)||i!==n.asyncId&&Vn(r,!1);if(g)throw x.result=g,d(x),x},h=(x,g)=>{const y=new rb,v=new ib;return(async()=>{if(Gn.skipAnimation)throw Ql(n),v.result=Vn(r,!1),d(v),v;p(y);const w=V.obj(x)?{...x}:{...g,to:x};w.parentId=i,dr(u,(E,T)=>{V.und(w[T])&&(w[T]=E)});const C=await r.start(w);return p(y),n.paused&&await new Promise(E=>{n.resumeQueue.add(E)}),C})()};let m;if(Gn.skipAnimation)return Ql(n),Vn(r,!1);try{let x;V.arr(e)?x=(async g=>{for(const y of g)await h(y)})(e):x=Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([x.then(c),f]),m=Vn(r.get(),!0,!1)}catch(x){if(x instanceof rb)m=x.result;else if(x instanceof ib)m=x.result;else throw x}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?a:void 0,n.promise=o?l:void 0)}return V.fun(s)&&te.batchedUpdates(()=>{s(m,r,r.item)}),m})()}function Ql(e,t){il(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var rb=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},ib=class extends Error{constructor(){super("SkipAnimationSignal")}},Og=e=>e instanceof sy,E8=1,sy=class extends H2{constructor(){super(...arguments),this.id=E8++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Yn(this);return e&&e.getValue()}to(...e){return Gn.to(this,e)}interpolate(...e){return e8(),Gn.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){Wl(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||up.sort(this),Wl(this,{type:"priority",parent:this,priority:e})}},Ao=Symbol.for("SpringPhase"),sk=1,Ag=2,Ig=4,Mh=e=>(e[Ao]&sk)>0,Kr=e=>(e[Ao]&Ag)>0,Ra=e=>(e[Ao]&Ig)>0,ob=(e,t)=>t?e[Ao]|=Ag|sk:e[Ao]&=~Ag,sb=(e,t)=>t?e[Ao]|=Ig:e[Ao]&=~Ig,P8=class extends sy{constructor(e,t){if(super(),this.animation=new C8,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!V.und(e)||!V.und(t)){const n=V.obj(e)?{...e}:{...t,from:e};V.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Kr(this)||this._state.asyncTo)||Ra(this)}get goal(){return Nt(this.animation.to)}get velocity(){const e=Yn(this);return e instanceof Au?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return Mh(this)}get isAnimating(){return Kr(this)}get isPaused(){return Ra(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:o}=r,s=pp(r.to);!s&&bn(r.to)&&(i=tn(Nt(r.to))),r.values.forEach((u,c)=>{if(u.done)return;const d=u.constructor==ql?1:s?s[c].lastPosition:i[c];let f=r.immediate,p=d;if(!f){if(p=u.lastPosition,o.tension<=0){u.done=!0;return}let h=u.elapsedTime+=e;const m=r.fromValues[c],x=u.v0!=null?u.v0:u.v0=V.arr(o.velocity)?o.velocity[c]:o.velocity;let g;const y=o.precision||(m==d?.005:Math.min(1,Math.abs(d-m)*.001));if(V.und(o.duration))if(o.decay){const v=o.decay===!0?.998:o.decay,w=Math.exp(-(1-v)*h);p=m+x/(1-v)*(1-w),f=Math.abs(u.lastPosition-p)<=y,g=x*w}else{g=u.lastVelocity==null?x:u.lastVelocity;const v=o.restVelocity||y/10,w=o.clamp?0:o.bounce,C=!V.und(w),E=m==d?u.v0>0:mv,!(!T&&(f=Math.abs(d-p)<=y,f)));++A){C&&(P=p==d||p>d==E,P&&(g=-g*w,p=d));const I=-o.tension*1e-6*(p-d),L=-o.friction*.001*g,D=(I+L)/o.mass;g=g+D*k,p=p+g*k}}else{let v=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,u.durationProgress>0&&(u.elapsedTime=o.duration*u.durationProgress,h=u.elapsedTime+=e)),v=(o.progress||0)+h/this._memoizedDuration,v=v>1?1:v<0?0:v,u.durationProgress=v),p=m+o.easing(v)*(d-m),g=(p-u.lastPosition)/e,f=v==1}u.lastVelocity=g,Number.isNaN(p)&&(console.warn("Got NaN while animating:",this),f=!0)}s&&!s[c].done&&(f=!1),f?u.done=!0:t=!1,u.setValue(p,o.round)&&(n=!0)});const a=Yn(this),l=a.getValue();if(t){const u=Nt(r.to);(l!==u||n)&&!o.decay?(a.setValue(u),this._onChange(u)):n&&o.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(e){return te.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Kr(this)){const{to:e,config:t}=this.animation;te.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return V.und(e)?(n=this.queue||[],this.queue=[]):n=[V.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>oy(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Ql(this._state,e&&this._lastCallId),te.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=V.obj(n)?n[t]:n,(n==null||_g(n))&&(n=void 0),r=V.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return Mh(this)||(e.reverse&&([n,r]=[r,n]),r=Nt(r),V.und(r)?Yn(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,iy(e,(s,a)=>/^on/.test(a)?ek(s,n):s)),lb(this,e,"onProps"),Aa(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const o=this._state;return rk(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Ra(this)||(sb(this,!0),Ba(o.pauseQueue),Aa(this,"onPause",Vn(this,Oa(this,this.animation.to)),this))},resume:()=>{Ra(this)&&(sb(this,!1),Kr(this)&&this._resume(),Ba(o.resumeQueue),Aa(this,"onResume",Vn(this,Oa(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(s=>{if(e.loop&&s.finished&&!(t&&s.noop)){const a=ak(e);if(a)return this._update(a,!0)}return s})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Ps(this));const r=!V.und(e.to),i=!V.und(e.from);if(r||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(Ps(this));const{key:o,defaultProps:s,animation:a}=this,{to:l,from:u}=a;let{to:c=l,from:d=u}=e;i&&!r&&(!t.default||V.und(c))&&(c=d),t.reverse&&([c,d]=[d,c]);const f=!yr(d,u);f&&(a.from=d),d=Nt(d);const p=!yr(c,l);p&&this._focus(c);const h=_g(t.to),{config:m}=a,{decay:x,velocity:g}=m;(r||i)&&(m.velocity=0),t.config&&!h&&S8(m,ro(t.config,o),t.config!==s.config?ro(s.config,o):void 0);let y=Yn(this);if(!y||V.und(c))return n(Vn(this,!0));const v=V.und(t.reset)?i&&!t.default:!V.und(d)&&sl(t.reset,o),w=v?d:this.get(),C=Kl(c),E=V.num(C)||V.arr(C)||fp(C),T=!h&&(!E||sl(s.immediate||t.immediate,o));if(p){const A=Mg(c);if(A!==y.constructor)if(T)y=this._set(C);else throw Error(`Cannot animate between ${y.constructor.name} and ${A.name}, as the "to" prop suggests`)}const P=y.constructor;let k=bn(c),M=!1;if(!k){const A=v||!Mh(this)&&f;(p||A)&&(M=yr(Kl(w),C),k=!M),(!yr(a.immediate,T)&&!T||!yr(m.decay,x)||!yr(m.velocity,g))&&(k=!0)}if(M&&Kr(this)&&(a.changed&&!v?k=!0:k||this._stop(l)),!h&&((k||bn(l))&&(a.values=y.getPayload(),a.toValues=bn(c)?null:P==ql?[1]:tn(C)),a.immediate!=T&&(a.immediate=T,!T&&!v&&this._set(l)),k)){const{onRest:A}=a;he(k8,L=>lb(this,t,L));const I=Vn(this,Oa(this,l));Ba(this._pendingCalls,I),this._pendingCalls.add(n),a.changed&&te.batchedUpdates(()=>{var L;a.changed=!v,A==null||A(I,this),v?ro(s.onRest,I):(L=a.onStart)==null||L.call(a,I,this)})}v&&this._set(w),h?n(ok(t.to,t,this._state,this)):k?this._start():Kr(this)&&!p?this._pendingCalls.add(n):n(ik(w))}_focus(e){const t=this.animation;e!==t.to&&(Qw(this)&&this._detach(),t.to=e,Qw(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;bn(t)&&(fa(t,this),Og(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;bn(e)&&Hl(e,this)}_set(e,t=!0){const n=Nt(e);if(!V.und(n)){const r=Yn(this);if(!r||!yr(n,r.getValue())){const i=Mg(n);!r||r.constructor!=i?ry(this,i.create(n)):r.setValue(n),r&&te.batchedUpdates(()=>{this._onChange(n,t)})}}return Yn(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Aa(this,"onStart",Vn(this,Oa(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),ro(this.animation.onChange,e,this)),ro(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Yn(this).reset(Nt(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),Kr(this)||(ob(this,!0),Ra(this)||this._resume())}_resume(){Gn.skipAnimation?this.finish():up.start(this)}_stop(e,t){if(Kr(this)){ob(this,!1);const n=this.animation;he(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),Wl(this,{type:"idle",parent:this});const r=t?Ps(this.get()):Vn(this.get(),Oa(this,e??n.to));Ba(this._pendingCalls,r),n.changed&&(n.changed=!1,Aa(this,"onRest",r,this))}}};function Oa(e,t){const n=Kl(t),r=Kl(e.get());return yr(r,n)}function ak(e,t=e.loop,n=e.to){const r=ro(t);if(r){const i=r!==!0&&nk(r),o=(i||e).reverse,s=!i||i.reset;return Yl({...e,loop:t,default:!1,pause:void 0,to:!o||_g(n)?n:void 0,from:s?e.from:void 0,reset:s,...i})}}function Yl(e){const{to:t,from:n}=e=nk(e),r=new Set;return V.obj(t)&&ab(t,r),V.obj(n)&&ab(n,r),e.keys=r.size?Array.from(r):null,e}function T8(e){const t=Yl(e);return V.und(t.default)&&(t.default=iy(t)),t}function ab(e,t){dr(e,(n,r)=>n!=null&&t.add(r))}var k8=["onStart","onRest","onChange","onPause","onResume"];function lb(e,t,n){e.animation[n]=t[n]!==tk(t,n)?ek(t[n],e.key):void 0}function Aa(e,t,...n){var r,i,o,s;(i=(r=e.animation)[t])==null||i.call(r,...n),(s=(o=e.defaultProps)[t])==null||s.call(o,...n)}var M8=["onStart","onChange","onRest"],_8=1,R8=class{constructor(e,t){this.id=_8++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];V.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Yl(e)),this}start(e){let{queue:t}=this;return e?t=tn(e).map(Yl):this.queue=[],this._flush?this._flush(this,t):(fk(this,t),$g(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;he(tn(t),r=>n[r].stop(!!e))}else Ql(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(V.und(e))this.start({pause:!0});else{const t=this.springs;he(tn(e),n=>t[n].pause())}return this}resume(e){if(V.und(e))this.start({pause:!1});else{const t=this.springs;he(tn(e),n=>t[n].resume())}return this}each(e){dr(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,il(e,([a,l])=>{l.value=this.get(),a(l,this,this._item)}));const o=!r&&this._started,s=i||o&&n.size?this.get():null;i&&t.size&&il(t,([a,l])=>{l.value=s,a(l,this,this._item)}),o&&(this._started=!1,il(n,([a,l])=>{l.value=s,a(l,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;te.onFrame(this._onFrame)}};function $g(e,t){return Promise.all(t.map(n=>lk(e,n))).then(n=>oy(e,n))}async function lk(e,t,n){const{keys:r,to:i,from:o,loop:s,onRest:a,onResolve:l}=t,u=V.obj(t.default)&&t.default;s&&(t.loop=!1),i===!1&&(t.to=null),o===!1&&(t.from=null);const c=V.arr(i)||V.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):he(M8,m=>{const x=t[m];if(V.fun(x)){const g=e._events[m];t[m]=({finished:y,cancelled:v})=>{const w=g.get(x);w?(y||(w.finished=!1),v&&(w.cancelled=!0)):g.set(x,{value:null,finished:y||!1,cancelled:v||!1})},u&&(u[m]=t[m])}});const d=e._state;t.pause===!d.paused?(d.paused=t.pause,Ba(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(r||Object.keys(e.springs)).map(m=>e.springs[m].start(t)),p=t.cancel===!0||tk(t,"cancel")===!0;(c||p&&d.asyncId)&&f.push(rk(++e._lastAsyncId,{props:t,state:d,actions:{pause:Tg,resume:Tg,start(m,x){p?(Ql(d,e._lastAsyncId),x(Ps(e))):(m.onRest=a,x(ok(c,m,d,e)))}}})),d.paused&&await new Promise(m=>{d.resumeQueue.add(m)});const h=oy(e,await Promise.all(f));if(s&&h.finished&&!(n&&h.noop)){const m=ak(t,s,i);if(m)return fk(e,[m]),lk(e,m,!0)}return l&&te.batchedUpdates(()=>l(h,e,e.item)),h}function ub(e,t){const n={...e.springs};return t&&he(tn(t),r=>{V.und(r.keys)&&(r=Yl(r)),V.obj(r.to)||(r={...r,to:void 0}),dk(n,r,i=>ck(i))}),uk(e,n),n}function uk(e,t){dr(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,fa(n,e))})}function ck(e,t){const n=new P8;return n.key=e,t&&fa(n,t),n}function dk(e,t,n){t.keys&&he(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function fk(e,t){he(t,n=>{dk(e.springs,n,r=>ck(r,e))})}var mp=({children:e,...t})=>{const n=b.useContext(zd),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=i8(()=>({pause:r,immediate:i}),[r,i]);const{Provider:o}=zd;return b.createElement(o,{value:t},e)},zd=O8(mp,{});mp.Provider=zd.Provider;mp.Consumer=zd.Consumer;function O8(e,t){return Object.assign(e,b.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var A8=()=>{const e=[],t=function(r){n8();const i=[];return he(e,(o,s)=>{if(V.und(r))i.push(o.start());else{const a=n(r,o,s);a&&i.push(o.start(a))}}),i};t.current=e,t.add=function(r){e.includes(r)||e.push(r)},t.delete=function(r){const i=e.indexOf(r);~i&&e.splice(i,1)},t.pause=function(){return he(e,r=>r.pause(...arguments)),this},t.resume=function(){return he(e,r=>r.resume(...arguments)),this},t.set=function(r){he(e,(i,o)=>{const s=V.fun(r)?r(o,i):r;s&&i.set(s)})},t.start=function(r){const i=[];return he(e,(o,s)=>{if(V.und(r))i.push(o.start());else{const a=this._getProps(r,o,s);a&&i.push(o.start(a))}}),i},t.stop=function(){return he(e,r=>r.stop(...arguments)),this},t.update=function(r){return he(e,(i,o)=>i.update(this._getProps(r,i,o))),this};const n=function(r,i,o){return V.fun(r)?r(o,i):r};return t._getProps=n,t};function I8(e,t,n){const r=V.fun(t)&&t;r&&!n&&(n=[]);const i=b.useMemo(()=>r||arguments.length==3?A8():void 0,[]),o=b.useRef(0),s=Y2(),a=b.useMemo(()=>({ctrls:[],queue:[],flush(g,y){const v=ub(g,y);return o.current>0&&!a.queue.length&&!Object.keys(v).some(C=>!g.springs[C])?$g(g,y):new Promise(C=>{uk(g,v),a.queue.push(()=>{C($g(g,y))}),s()})}}),[]),l=b.useRef([...a.ctrls]),u=[],c=Xw(e)||0;b.useMemo(()=>{he(l.current.slice(e,c),g=>{y8(g,i),g.stop(!0)}),l.current.length=e,d(c,e)},[e]),b.useMemo(()=>{d(0,Math.min(c,e))},n);function d(g,y){for(let v=g;vub(g,u[y])),p=b.useContext(mp),h=Xw(p),m=p!==h&&v8(p);ny(()=>{o.current++,a.ctrls=l.current;const{queue:g}=a;g.length&&(a.queue=[],he(g,y=>y())),he(l.current,(y,v)=>{i==null||i.add(y),m&&y.start({default:p});const w=u[v];w&&(x8(y,w.ref),y.ref?y.queue.push(w):y.start(w))})}),X2(()=>()=>{he(a.ctrls,g=>g.stop(!0))});const x=f.map(g=>({...g}));return i?[x,i]:x}function $8(e,t){const n=V.fun(e),[[r],i]=I8(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}var L8=class extends sy{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Bl(...t);const n=this._get(),r=Mg(n);ry(this,r.create(n))}advance(e){const t=this._get(),n=this.get();yr(t,n)||(Yn(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&cb(this._active)&&_h(this)}_get(){const e=V.arr(this.source)?this.source.map(Nt):tn(Nt(this.source));return this.calc(...e)}_start(){this.idle&&!cb(this._active)&&(this.idle=!1,he(pp(this),e=>{e.done=!1}),Gn.skipAnimation?(te.batchedUpdates(()=>this.advance()),_h(this)):up.start(this))}_attach(){let e=1;he(tn(this.source),t=>{bn(t)&&fa(t,this),Og(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){he(tn(this.source),e=>{bn(e)&&Hl(e,this)}),this._active.clear(),_h(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=tn(this.source).reduce((t,n)=>Math.max(t,(Og(n)?n.priority:0)+1),0))}};function j8(e){return e.idle!==!1}function cb(e){return!e.size||Array.from(e).every(j8)}function _h(e){e.idle||(e.idle=!0,he(pp(e),t=>{t.done=!0}),Wl(e,{type:"idle",parent:e}))}Gn.assign({createStringInterpolator:K2,to:(e,t)=>new L8(e,t)});var pk=/^--/;function D8(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!pk.test(e)&&!(al.hasOwnProperty(e)&&al[e])?t+"px":(""+t).trim()}var db={};function F8(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{style:r,children:i,scrollTop:o,scrollLeft:s,viewBox:a,...l}=t,u=Object.values(l),c=Object.keys(l).map(d=>n||e.hasAttribute(d)?d:db[d]||(db[d]=d.replace(/([A-Z])/g,f=>"-"+f.toLowerCase())));i!==void 0&&(e.textContent=i);for(const d in r)if(r.hasOwnProperty(d)){const f=D8(d,r[d]);pk.test(d)?e.style.setProperty(d,f):e.style[d]=f}c.forEach((d,f)=>{e.setAttribute(d,u[f])}),o!==void 0&&(e.scrollTop=o),s!==void 0&&(e.scrollLeft=s),a!==void 0&&e.setAttribute("viewBox",a)}var al={animationIterationCount:!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,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},N8=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),z8=["Webkit","Ms","Moz","O"];al=Object.keys(al).reduce((e,t)=>(z8.forEach(n=>e[N8(n,t)]=e[t]),e),al);var V8=/^(matrix|translate|scale|rotate|skew)/,B8=/^(translate)/,U8=/^(rotate|skew)/,Rh=(e,t)=>V.num(e)&&e!==0?e+t:e,zc=(e,t)=>V.arr(e)?e.every(n=>zc(n,t)):V.num(e)?e===t:parseFloat(e)===t,W8=class extends hp{constructor({x:e,y:t,z:n,...r}){const i=[],o=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),o.push(s=>[`translate3d(${s.map(a=>Rh(a,"px")).join(",")})`,zc(s,0)])),dr(r,(s,a)=>{if(a==="transform")i.push([s||""]),o.push(l=>[l,l===""]);else if(V8.test(a)){if(delete r[a],V.und(s))return;const l=B8.test(a)?"px":U8.test(a)?"deg":"";i.push(tn(s)),o.push(a==="rotate3d"?([u,c,d,f])=>[`rotate3d(${u},${c},${d},${Rh(f,l)})`,zc(f,0)]:u=>[`${a}(${u.map(c=>Rh(c,l)).join(",")})`,zc(u,a.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new H8(i,o)),super(r)}},H8=class extends H2{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return he(this.inputs,(n,r)=>{const i=Nt(n[0]),[o,s]=this.transforms[r](V.arr(i)?i:n.map(Nt));e+=" "+o,t=t&&s}),t?"none":e}observerAdded(e){e==1&&he(this.inputs,t=>he(t,n=>bn(n)&&fa(n,this)))}observerRemoved(e){e==0&&he(this.inputs,t=>he(t,n=>bn(n)&&Hl(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),Wl(this,e)}},G8=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];Gn.assign({batchedUpdates:yf.unstable_batchedUpdates,createStringInterpolator:K2,colors:Iz});var q8=f8(G8,{applyAnimatedValues:F8,createAnimatedStyle:e=>new W8(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),K8=q8.animated;const Q8=K8(ce);function Oh({end:e,title:t,prefix:n,start:r,minWidth:i,alignSelf:o}){const{number:s}=$8({from:{number:r||0},number:e,config:{mass:1,tension:20,friction:10}});return S.jsx(Q,{sx:{display:"flex",justifyContent:"center",flexDirection:"column",flex:1,minWidth:i},children:S.jsxs(Q,{sx:{display:"flex",flex:1,alignItems:"center",flexDirection:"column"},children:[S.jsx(Q,{sx:{display:"flex",flex:1,alignItems:"flex-start",alignSelf:o||"center"},children:S.jsxs(Q,{sx:{flexDirection:"row",alignItems:"center",alignSelf:"center",justifyContent:"center",display:"flex",flex:1},children:[S.jsx(ce,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:n}),S.jsx(Q8,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:s.to(a=>Math.floor(a).toLocaleString("en-US"))}),S.jsx(ce,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:"+"})]})}),S.jsx(ce,{sx:{fontSize:"calc(15px + 0.5vw)",alignSelf:o||"center"},children:t})]})})}var Iu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Js=typeof window>"u"||"Deno"in globalThis;function gn(){}function Y8(e,t){return typeof e=="function"?e(t):e}function Lg(e){return typeof e=="number"&&e>=0&&e!==1/0}function hk(e,t){return Math.max(e+(t||0)-Date.now(),0)}function fb(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==ay(s,t.options))return!1}else if(!Zl(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||o&&!o(t))}function pb(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Xl(t.options.mutationKey)!==Xl(o))return!1}else if(!Zl(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ay(e,t){return((t==null?void 0:t.queryKeyHashFn)||Xl)(e)}function Xl(e){return JSON.stringify(e,(t,n)=>Dg(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Zl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Zl(e[n],t[n])):!1}function mk(e,t){if(e===t)return e;const n=hb(e)&&hb(t);if(n||Dg(e)&&Dg(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,a=n?[]:{};let l=0;for(let u=0;u{setTimeout(t,e)})}function Fg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?mk(e,t):t}function Z8(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function J8(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ly=Symbol(),fo,ai,ks,YS,e9=(YS=class extends Iu{constructor(){super();X(this,fo,void 0);X(this,ai,void 0);X(this,ks,void 0);G(this,ks,t=>{if(!Js&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,ai)||this.setEventListener(_(this,ks))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ai))==null||t.call(this),G(this,ai,void 0))}setEventListener(t){var n;G(this,ks,t),(n=_(this,ai))==null||n.call(this),G(this,ai,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,fo)!==t&&(G(this,fo,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,fo)=="boolean"?_(this,fo):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},fo=new WeakMap,ai=new WeakMap,ks=new WeakMap,YS),uy=new e9,Ms,li,_s,XS,t9=(XS=class extends Iu{constructor(){super();X(this,Ms,!0);X(this,li,void 0);X(this,_s,void 0);G(this,_s,t=>{if(!Js&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){_(this,li)||this.setEventListener(_(this,_s))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,li))==null||t.call(this),G(this,li,void 0))}setEventListener(t){var n;G(this,_s,t),(n=_(this,li))==null||n.call(this),G(this,li,t(this.setOnline.bind(this)))}setOnline(t){_(this,Ms)!==t&&(G(this,Ms,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,Ms)}},Ms=new WeakMap,li=new WeakMap,_s=new WeakMap,XS),Vd=new t9;function n9(e){return Math.min(1e3*2**e,3e4)}function cy(e){return(e??"online")==="online"?Vd.isOnline():!0}var gk=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ah(e){return e instanceof gk}function vk(e){let t=!1,n=0,r=!1,i,o,s;const a=new Promise((x,g)=>{o=x,s=g}),l=x=>{var g;r||(p(new gk(x)),(g=e.abort)==null||g.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>!uy.isFocused()||e.networkMode!=="always"&&!Vd.isOnline(),f=x=>{var g;r||(r=!0,(g=e.onSuccess)==null||g.call(e,x),i==null||i(),o(x))},p=x=>{var g;r||(r=!0,(g=e.onError)==null||g.call(e,x),i==null||i(),s(x))},h=()=>new Promise(x=>{var g;i=y=>{const v=r||!d();return v&&x(y),v},(g=e.onPause)==null||g.call(e)}).then(()=>{var x;i=void 0,r||(x=e.onContinue)==null||x.call(e)}),m=()=>{if(r)return;let x;try{x=e.fn()}catch(g){x=Promise.reject(g)}Promise.resolve(x).then(f).catch(g=>{var E;if(r)return;const y=e.retry??(Js?0:3),v=e.retryDelay??n9,w=typeof v=="function"?v(n,g):v,C=y===!0||typeof y=="number"&&n{if(d())return h()}).then(()=>{t?p(g):m()})})};return cy(e.networkMode)?m():h().then(m),{promise:a,cancel:l,continue:()=>(i==null?void 0:i())?a:Promise.resolve(),cancelRetry:u,continueRetry:c}}function r9(){let e=[],t=0,n=f=>{f()},r=f=>{f()},i=f=>setTimeout(f,0);const o=f=>{i=f},s=f=>{let p;t++;try{p=f()}finally{t--,t||u()}return p},a=f=>{t?e.push(f):i(()=>{n(f)})},l=f=>(...p)=>{a(()=>{f(...p)})},u=()=>{const f=e;e=[],f.length&&i(()=>{r(()=>{f.forEach(p=>{n(p)})})})};return{batch:s,batchCalls:l,schedule:a,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{r=f},setScheduler:o}}var xt=r9(),po,ZS,yk=(ZS=class{constructor(){X(this,po,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Lg(this.gcTime)&&G(this,po,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Js?1/0:5*60*1e3))}clearGcTimeout(){_(this,po)&&(clearTimeout(_(this,po)),G(this,po,void 0))}},po=new WeakMap,ZS),Rs,Os,pn,At,ct,ru,ho,Fn,gr,JS,i9=(JS=class extends yk{constructor(t){super();X(this,Fn);X(this,Rs,void 0);X(this,Os,void 0);X(this,pn,void 0);X(this,At,void 0);X(this,ct,void 0);X(this,ru,void 0);X(this,ho,void 0);G(this,ho,!1),G(this,ru,t.defaultOptions),this.setOptions(t.options),G(this,ct,[]),G(this,pn,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,Rs,t.state||o9(this.options)),this.state=_(this,Rs),this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={..._(this,ru),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!_(this,ct).length&&this.state.fetchStatus==="idle"&&_(this,pn).remove(this)}setData(t,n){const r=Fg(this.state.data,t,this.options);return pe(this,Fn,gr).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){pe(this,Fn,gr).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=_(this,At))==null?void 0:r.promise;return(i=_(this,At))==null||i.cancel(t),n?n.then(gn).catch(gn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,Rs))}isActive(){return _(this,ct).some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?_(this,ct).some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!hk(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=_(this,ct).find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,At))==null||n.continue()}onOnline(){var n;const t=_(this,ct).find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,At))==null||n.continue()}addObserver(t){_(this,ct).includes(t)||(_(this,ct).push(t),this.clearGcTimeout(),_(this,pn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){_(this,ct).includes(t)&&(G(this,ct,_(this,ct).filter(n=>n!==t)),_(this,ct).length||(_(this,At)&&(_(this,ho)?_(this,At).cancel({revert:!0}):_(this,At).cancelRetry()),this.scheduleGc()),_(this,pn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return _(this,ct).length}invalidate(){this.state.isInvalidated||pe(this,Fn,gr).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,At))return _(this,At).continueRetry(),_(this,At).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=_(this,ct).find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i={queryKey:this.queryKey,meta:this.meta},o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(G(this,ho,!0),r.signal)})};o(i);const s=()=>!this.options.queryFn||this.options.queryFn===ly?Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`)):(G(this,ho,!1),this.options.persister?this.options.persister(this.options.queryFn,i,this):this.options.queryFn(i)),a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:s};o(a),(u=this.options.behavior)==null||u.onFetch(a,this),G(this,Os,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&pe(this,Fn,gr).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var p,h,m,x;Ah(f)&&f.silent||pe(this,Fn,gr).call(this,{type:"error",error:f}),Ah(f)||((h=(p=_(this,pn).config).onError)==null||h.call(p,f,this),(x=(m=_(this,pn).config).onSettled)==null||x.call(m,this.state.data,f,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return G(this,At,vk({fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,h,m,x;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}this.setData(f),(h=(p=_(this,pn).config).onSuccess)==null||h.call(p,f,this),(x=(m=_(this,pn).config).onSettled)==null||x.call(m,f,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(f,p)=>{pe(this,Fn,gr).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{pe(this,Fn,gr).call(this,{type:"pause"})},onContinue:()=>{pe(this,Fn,gr).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode})),_(this,At).promise}},Rs=new WeakMap,Os=new WeakMap,pn=new WeakMap,At=new WeakMap,ct=new WeakMap,ru=new WeakMap,ho=new WeakMap,Fn=new WeakSet,gr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...xk(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Ah(i)&&i.revert&&_(this,Os)?{..._(this,Os),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),xt.batch(()=>{_(this,ct).forEach(r=>{r.onQueryUpdate()}),_(this,pn).notify({query:this,type:"updated",action:t})})},JS);function xk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:cy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function o9(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Zn,eC,s9=(eC=class extends Iu{constructor(t={}){super();X(this,Zn,void 0);this.config=t,G(this,Zn,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??ay(i,n);let s=this.get(o);return s||(s=new i9({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){_(this,Zn).has(t.queryHash)||(_(this,Zn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,Zn).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,Zn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Zn).get(t)}getAll(){return[..._(this,Zn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>fb(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>fb(t,r)):n}notify(t){xt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){xt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){xt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Zn=new WeakMap,eC),Jn,iu,Yt,As,er,Zr,tC,a9=(tC=class extends yk{constructor(t){super();X(this,er);X(this,Jn,void 0);X(this,iu,void 0);X(this,Yt,void 0);X(this,As,void 0);this.mutationId=t.mutationId,G(this,iu,t.defaultOptions),G(this,Yt,t.mutationCache),G(this,Jn,[]),this.state=t.state||l9(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={..._(this,iu),...t},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Jn).includes(t)||(_(this,Jn).push(t),this.clearGcTimeout(),_(this,Yt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,Jn,_(this,Jn).filter(n=>n!==t)),this.scheduleGc(),_(this,Yt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Jn).length||(this.state.status==="pending"?this.scheduleGc():_(this,Yt).remove(this))}continue(){var t;return((t=_(this,As))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,s,a,l,u,c,d,f,p,h,m,x,g,y,v,w,C,E,T;const n=()=>(G(this,As,vk({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,k)=>{pe(this,er,Zr).call(this,{type:"failed",failureCount:P,error:k})},onPause:()=>{pe(this,er,Zr).call(this,{type:"pause"})},onContinue:()=>{pe(this,er,Zr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),_(this,As).promise),r=this.state.status==="pending";try{if(!r){pe(this,er,Zr).call(this,{type:"pending",variables:t}),await((o=(i=_(this,Yt).config).onMutate)==null?void 0:o.call(i,t,this));const k=await((a=(s=this.options).onMutate)==null?void 0:a.call(s,t));k!==this.state.context&&pe(this,er,Zr).call(this,{type:"pending",context:k,variables:t})}const P=await n();return await((u=(l=_(this,Yt).config).onSuccess)==null?void 0:u.call(l,P,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,P,t,this.state.context)),await((p=(f=_(this,Yt).config).onSettled)==null?void 0:p.call(f,P,null,this.state.variables,this.state.context,this)),await((m=(h=this.options).onSettled)==null?void 0:m.call(h,P,null,t,this.state.context)),pe(this,er,Zr).call(this,{type:"success",data:P}),P}catch(P){try{throw await((g=(x=_(this,Yt).config).onError)==null?void 0:g.call(x,P,t,this.state.context,this)),await((v=(y=this.options).onError)==null?void 0:v.call(y,P,t,this.state.context)),await((C=(w=_(this,Yt).config).onSettled)==null?void 0:C.call(w,void 0,P,this.state.variables,this.state.context,this)),await((T=(E=this.options).onSettled)==null?void 0:T.call(E,void 0,P,t,this.state.context)),P}finally{pe(this,er,Zr).call(this,{type:"error",error:P})}}}},Jn=new WeakMap,iu=new WeakMap,Yt=new WeakMap,As=new WeakMap,er=new WeakSet,Zr=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!cy(this.options.networkMode),status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),xt.batch(()=>{_(this,Jn).forEach(r=>{r.onMutationUpdate(t)}),_(this,Yt).notify({mutation:this,type:"updated",action:t})})},tC);function l9(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,ou,mo,nC,u9=(nC=class extends Iu{constructor(t={}){super();X(this,hn,void 0);X(this,ou,void 0);X(this,mo,void 0);this.config=t,G(this,hn,[]),G(this,ou,0)}build(t,n,r){const i=new a9({mutationCache:this,mutationId:++Nu(this,ou)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){_(this,hn).push(t),this.notify({type:"added",mutation:t})}remove(t){G(this,hn,_(this,hn).filter(n=>n!==t)),this.notify({type:"removed",mutation:t})}clear(){xt.batch(()=>{_(this,hn).forEach(t=>{this.remove(t)})})}getAll(){return _(this,hn)}find(t){const n={exact:!0,...t};return _(this,hn).find(r=>pb(n,r))}findAll(t={}){return _(this,hn).filter(n=>pb(t,n))}notify(t){xt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){return G(this,mo,(_(this,mo)??Promise.resolve()).then(()=>{const t=_(this,hn).filter(n=>n.state.isPaused);return xt.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(gn)),Promise.resolve()))}).then(()=>{G(this,mo,void 0)})),_(this,mo)}},hn=new WeakMap,ou=new WeakMap,mo=new WeakMap,nC);function c9(e){return{onFetch:(t,n)=>{const r=async()=>{var h,m,x,g,y;const i=t.options,o=(x=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:x.direction,s=((g=t.state.data)==null?void 0:g.pages)||[],a=((y=t.state.data)==null?void 0:y.pageParams)||[],l={pages:[],pageParams:[]};let u=!1;const c=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?u=!0:t.signal.addEventListener("abort",()=>{u=!0}),t.signal)})},d=t.options.queryFn&&t.options.queryFn!==ly?t.options.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${t.options.queryHash}'`)),f=async(v,w,C)=>{if(u)return Promise.reject();if(w==null&&v.pages.length)return Promise.resolve(v);const E={queryKey:t.queryKey,pageParam:w,direction:C?"backward":"forward",meta:t.options.meta};c(E);const T=await d(E),{maxPages:P}=t.options,k=C?J8:Z8;return{pages:k(v.pages,T,P),pageParams:k(v.pageParams,w,P)}};let p;if(o&&s.length){const v=o==="backward",w=v?d9:gb,C={pages:s,pageParams:a},E=w(i,C);p=await f(C,E,v)}else{p=await f(l,a[0]??i.initialPageParam);const v=e??s.length;for(let w=1;w{var i,o;return(o=(i=t.options).persister)==null?void 0:o.call(i,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function gb(e,{pages:t,pageParams:n}){const r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function d9(e,{pages:t,pageParams:n}){var r;return(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n)}var Be,ui,ci,Is,$s,di,Ls,js,rC,f9=(rC=class{constructor(e={}){X(this,Be,void 0);X(this,ui,void 0);X(this,ci,void 0);X(this,Is,void 0);X(this,$s,void 0);X(this,di,void 0);X(this,Ls,void 0);X(this,js,void 0);G(this,Be,e.queryCache||new s9),G(this,ui,e.mutationCache||new u9),G(this,ci,e.defaultOptions||{}),G(this,Is,new Map),G(this,$s,new Map),G(this,di,0)}mount(){Nu(this,di)._++,_(this,di)===1&&(G(this,Ls,uy.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,Be).onFocus())})),G(this,js,Vd.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,Be).onOnline())})))}unmount(){var e,t;Nu(this,di)._--,_(this,di)===0&&((e=_(this,Ls))==null||e.call(this),G(this,Ls,void 0),(t=_(this,js))==null||t.call(this),G(this,js,void 0))}isFetching(e){return _(this,Be).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,ui).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,Be).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=_(this,Be).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(n.staleTime)&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return _(this,Be).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=_(this,Be).get(r.queryHash),o=i==null?void 0:i.state.data,s=Y8(t,o);if(s!==void 0)return _(this,Be).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return xt.batch(()=>_(this,Be).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,Be).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,Be);xt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,Be),r={type:"active",...e};return xt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=xt.batch(()=>_(this,Be).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(gn).catch(gn)}invalidateQueries(e={},t={}){return xt.batch(()=>{if(_(this,Be).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=xt.batch(()=>_(this,Be).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(gn)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(gn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,Be).build(this,t);return n.isStaleByTime(t.staleTime)?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(gn).catch(gn)}fetchInfiniteQuery(e){return e.behavior=c9(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(gn).catch(gn)}resumePausedMutations(){return Vd.isOnline()?_(this,ui).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,Be)}getMutationCache(){return _(this,ui)}getDefaultOptions(){return _(this,ci)}setDefaultOptions(e){G(this,ci,e)}setQueryDefaults(e,t){_(this,Is).set(Xl(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Is).values()];let n={};return t.forEach(r=>{Zl(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){_(this,$s).set(Xl(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,$s).values()];let n={};return t.forEach(r=>{Zl(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,ci).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ay(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===ly&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,ci).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,Be).clear(),_(this,ui).clear()}},Be=new WeakMap,ui=new WeakMap,ci=new WeakMap,Is=new WeakMap,$s=new WeakMap,di=new WeakMap,Ls=new WeakMap,js=new WeakMap,rC),Ft,ke,su,It,go,Ds,tr,au,Fs,Ns,vo,yo,fi,zs,xo,Ua,lu,Ng,uu,zg,cu,Vg,du,Bg,fu,Ug,pu,Wg,hu,Hg,ef,wk,iC,p9=(iC=class extends Iu{constructor(t,n){super();X(this,xo);X(this,lu);X(this,uu);X(this,cu);X(this,du);X(this,fu);X(this,pu);X(this,hu);X(this,ef);X(this,Ft,void 0);X(this,ke,void 0);X(this,su,void 0);X(this,It,void 0);X(this,go,void 0);X(this,Ds,void 0);X(this,tr,void 0);X(this,au,void 0);X(this,Fs,void 0);X(this,Ns,void 0);X(this,vo,void 0);X(this,yo,void 0);X(this,fi,void 0);X(this,zs,new Set);this.options=n,G(this,Ft,t),G(this,tr,null),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,ke).addObserver(this),vb(_(this,ke),this.options)?pe(this,xo,Ua).call(this):this.updateResult(),pe(this,du,Bg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Gg(_(this,ke),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Gg(_(this,ke),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,pe(this,fu,Ug).call(this),pe(this,pu,Wg).call(this),_(this,ke).removeObserver(this)}setOptions(t,n){const r=this.options,i=_(this,ke);if(this.options=_(this,Ft).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");pe(this,hu,Hg).call(this),_(this,ke).setOptions(this.options),r._defaulted&&!jg(this.options,r)&&_(this,Ft).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,ke),observer:this});const o=this.hasListeners();o&&yb(_(this,ke),i,this.options,r)&&pe(this,xo,Ua).call(this),this.updateResult(n),o&&(_(this,ke)!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&pe(this,lu,Ng).call(this);const s=pe(this,uu,zg).call(this);o&&(_(this,ke)!==i||this.options.enabled!==r.enabled||s!==_(this,fi))&&pe(this,cu,Vg).call(this,s)}getOptimisticResult(t){const n=_(this,Ft).getQueryCache().build(_(this,Ft),t),r=this.createResult(n,t);return m9(this,r)&&(G(this,It,r),G(this,Ds,this.options),G(this,go,_(this,ke).state)),r}getCurrentResult(){return _(this,It)}trackResult(t,n){const r={};return Object.keys(t).forEach(i=>{Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),r}trackProp(t){_(this,zs).add(t)}getCurrentQuery(){return _(this,ke)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=_(this,Ft).defaultQueryOptions(t),r=_(this,Ft).getQueryCache().build(_(this,Ft),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){return pe(this,xo,Ua).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,It)))}createResult(t,n){var T;const r=_(this,ke),i=this.options,o=_(this,It),s=_(this,go),a=_(this,Ds),u=t!==r?t.state:_(this,su),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const P=this.hasListeners(),k=!P&&vb(t,n),M=P&&yb(t,r,n,i);(k||M)&&(d={...d,...xk(c.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:h,errorUpdatedAt:m,status:x}=d;if(n.select&&d.data!==void 0)if(o&&d.data===(s==null?void 0:s.data)&&n.select===_(this,au))p=_(this,Fs);else try{G(this,au,n.select),p=n.select(d.data),p=Fg(o==null?void 0:o.data,p,n),G(this,Fs,p),G(this,tr,null)}catch(P){G(this,tr,P)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&x==="pending"){let P;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))P=o.data;else if(P=typeof n.placeholderData=="function"?n.placeholderData((T=_(this,Ns))==null?void 0:T.state.data,_(this,Ns)):n.placeholderData,n.select&&P!==void 0)try{P=n.select(P),G(this,tr,null)}catch(k){G(this,tr,k)}P!==void 0&&(x="success",p=Fg(o==null?void 0:o.data,P,n),f=!0)}_(this,tr)&&(h=_(this,tr),p=_(this,Fs),m=Date.now(),x="error");const g=d.fetchStatus==="fetching",y=x==="pending",v=x==="error",w=y&&g,C=p!==void 0;return{status:x,fetchStatus:d.fetchStatus,isPending:y,isSuccess:x==="success",isError:v,isInitialLoading:w,isLoading:w,data:p,dataUpdatedAt:d.dataUpdatedAt,error:h,errorUpdatedAt:m,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:g,isRefetching:g&&!y,isLoadingError:v&&!C,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:v&&C,isStale:dy(t,n),refetch:this.refetch}}updateResult(t){const n=_(this,It),r=this.createResult(_(this,ke),this.options);if(G(this,go,_(this,ke).state),G(this,Ds,this.options),_(this,go).data!==void 0&&G(this,Ns,_(this,ke)),jg(r,n))return;G(this,It,r);const i={},o=()=>{if(!n)return!0;const{notifyOnChangeProps:s}=this.options,a=typeof s=="function"?s():s;if(a==="all"||!a&&!_(this,zs).size)return!0;const l=new Set(a??_(this,zs));return this.options.throwOnError&&l.add("error"),Object.keys(_(this,It)).some(u=>{const c=u;return _(this,It)[c]!==n[c]&&l.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),pe(this,ef,wk).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&pe(this,du,Bg).call(this)}},Ft=new WeakMap,ke=new WeakMap,su=new WeakMap,It=new WeakMap,go=new WeakMap,Ds=new WeakMap,tr=new WeakMap,au=new WeakMap,Fs=new WeakMap,Ns=new WeakMap,vo=new WeakMap,yo=new WeakMap,fi=new WeakMap,zs=new WeakMap,xo=new WeakSet,Ua=function(t){pe(this,hu,Hg).call(this);let n=_(this,ke).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(gn)),n},lu=new WeakSet,Ng=function(){if(pe(this,fu,Ug).call(this),Js||_(this,It).isStale||!Lg(this.options.staleTime))return;const n=hk(_(this,It).dataUpdatedAt,this.options.staleTime)+1;G(this,vo,setTimeout(()=>{_(this,It).isStale||this.updateResult()},n))},uu=new WeakSet,zg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,ke)):this.options.refetchInterval)??!1},cu=new WeakSet,Vg=function(t){pe(this,pu,Wg).call(this),G(this,fi,t),!(Js||this.options.enabled===!1||!Lg(_(this,fi))||_(this,fi)===0)&&G(this,yo,setInterval(()=>{(this.options.refetchIntervalInBackground||uy.isFocused())&&pe(this,xo,Ua).call(this)},_(this,fi)))},du=new WeakSet,Bg=function(){pe(this,lu,Ng).call(this),pe(this,cu,Vg).call(this,pe(this,uu,zg).call(this))},fu=new WeakSet,Ug=function(){_(this,vo)&&(clearTimeout(_(this,vo)),G(this,vo,void 0))},pu=new WeakSet,Wg=function(){_(this,yo)&&(clearInterval(_(this,yo)),G(this,yo,void 0))},hu=new WeakSet,Hg=function(){const t=_(this,Ft).getQueryCache().build(_(this,Ft),this.options);if(t===_(this,ke))return;const n=_(this,ke);G(this,ke,t),G(this,su,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},ef=new WeakSet,wk=function(t){xt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(_(this,It))}),_(this,Ft).getQueryCache().notify({query:_(this,ke),type:"observerResultsUpdated"})})},iC);function h9(e,t){return t.enabled!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function vb(e,t){return h9(e,t)||e.state.data!==void 0&&Gg(e,t,t.refetchOnMount)}function Gg(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&dy(e,t)}return!1}function yb(e,t,n,r){return(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&dy(e,n)}function dy(e,t){return t.enabled!==!1&&e.isStaleByTime(t.staleTime)}function m9(e,t){return!jg(e.getCurrentResult(),t)}var bk=b.createContext(void 0),g9=e=>{const t=b.useContext(bk);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},v9=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),S.jsx(bk.Provider,{value:e,children:t})),Sk=b.createContext(!1),y9=()=>b.useContext(Sk);Sk.Provider;function x9(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var w9=b.createContext(x9()),b9=()=>b.useContext(w9);function S9(e,t){return typeof e=="function"?e(...t):!!e}var C9=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},E9=e=>{b.useEffect(()=>{e.clearReset()},[e])},P9=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&S9(n,[e.error,r]),T9=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},k9=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,M9=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function _9(e,t,n){const r=g9(n),i=y9(),o=b9(),s=r.defaultQueryOptions(e);s._optimisticResults=i?"isRestoring":"optimistic",T9(s),C9(s,o),E9(o);const[a]=b.useState(()=>new t(r,s)),l=a.getOptimisticResult(s);if(b.useSyncExternalStore(b.useCallback(u=>{const c=i?()=>{}:a.subscribe(xt.batchCalls(u));return a.updateResult(),c},[a,i]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),b.useEffect(()=>{a.setOptions(s,{listeners:!1})},[s,a]),k9(s,l))throw M9(s,a,o);if(P9({result:l,errorResetBoundary:o,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash)}))throw l.error;return s.notifyOnChangeProps?l:a.trackResult(l)}function Ck(e,t){return _9(e,p9,t)}async function R9(){try{return(await da.get("/projects")).data}catch{return[{_id:"66292f8768dc79f8d04536ad",name:"Space Safety Visualizer",organization:"Amazon",description:"The Fall 2023 Amazon project was a low Earth orbit satellite visualization system. This was designed for Project Kuiper as a way to visualize satellite collision risk to non-technical stakeholders at Amazon.",members:[{memberInfo:{_id:"66292f8768dc79f8d0453673",firstName:"Samai",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/8a7fb3e66260f050539a6d8021a733635298861369c9ba60278abeb78e8c6216"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368b",firstName:"Ishan",lastName:"Revankar",profileUrl:"https://gravatar.com/avatar/66e5f9478a8c5c1090326d16f13ac2f9d56540fbc38c86e0b16061dd4d6c31d9"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045368d",firstName:"Nitish",lastName:"Vobilisetti",profileUrl:"https://gravatar.com/avatar/eb8416def562dd101a91cb9ad66731467420be6dafff0a691f33b184d796d7f5"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368f",firstName:"Neil",lastName:"Hajela",profileUrl:"https://gravatar.com/avatar/9ec79c36a878d718e93405ec8431d2f414d1e6e021376763b85ec2555418bcd2"},role:"Engineer"},{memberInfo:{_id:"66292f8768dc79f8d0453691",firstName:"Hadijat",lastName:"Oke",profileUrl:"https://gravatar.com/avatar/4e7a51f508246f5a290cd93aead661a323322a0fecc28e2ebb44714f5825a7ef"},role:"Project Manager"},{memberInfo:{_id:"66292f8768dc79f8d0453693",firstName:"Nand",lastName:"Vinchhi",profileUrl:"https://gravatar.com/avatar/5c7e99e4bd1a8bc12f56605f7ec6a09a95472ebb07dd30f4d4e1ef134655c35a"},role:"Tech Lead"}],cover:null,semester:"Fall 2023",__v:0},{_id:"66292f8768dc79f8d04536b9",name:"Pattern of Life Application",organization:"Praxis Engineering",description:`The Fall 2023 GDIT project was a "pattern of life" understanding system. This Android application collects key data metrics from users including location, application usage, and message data and coallates it to form an understanding of a user's pattern of life.`,members:[{memberInfo:{_id:"66292f8768dc79f8d0453670",firstName:"Aidan",lastName:"Melvin",profileUrl:"https://gravatar.com/avatar/5e99dcb1de10b83cd0e90620d77b046c13ff633b688f72dbb5a3c22202b2f1d7"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453695",firstName:"Mohammad",lastName:"Abd-Elmoniem",profileUrl:"https://gravatar.com/avatar/767766ff1d10a3d06a4e222b42a3ae7ff16a11bb83e25385202089a77efab30e"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453697",firstName:"Nishkal",lastName:"Hundia",profileUrl:"https://gravatar.com/avatar/bb1facd1c2182bdc9f840b9b4c396e67ea94ad2395f76a4fac43a7d43b6a437e"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d0453699",firstName:"Ojas",lastName:"Jagtap",profileUrl:"https://gravatar.com/avatar/68e78c20b977b3ff0f44d1e1f9f5a0ec6be745620062d6709fcbf8a73ff773df"},role:"Full-stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369b",firstName:"Josiah",lastName:"Lim",profileUrl:"https://gravatar.com/avatar/b277c291ff3c46b46124f62ae5f8d9fc5cd052300814f5bdbd89580759bcc027"},role:"ML Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369d",firstName:"Om",lastName:"Duggineni",profileUrl:"https://gravatar.com/avatar/00b197895f49ed34677306f551bddceaaa7c65756a238e2aee72b6ef95fd8525"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045369f",firstName:"Dev",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/fb0bc07ce80323d4513cf2b60118de6dca5dd70a9edf08d12aa2b3c4451733ab"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a1",firstName:"Ananth",lastName:"Sankaralingam",profileUrl:"https://gravatar.com/avatar/ef0cd3559a6c30fc53bebd50c1533136de0d10c69b6b7a5df1fbe607b6b19e7d"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a3",firstName:"Advik",lastName:"Sachdeva",profileUrl:"https://gravatar.com/avatar/3b4653ea5eec167a3498fce281baf6ad961c465805b7758b0d77a090a3b666eb"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d04536a5",firstName:"Rahul",lastName:"Ramasubramanian",profileUrl:"https://gravatar.com/avatar/9b42bb4f4bdb330a258afce57cee5b14b67de14c5ebbcc86814fcd270fff669c"},role:"Full-Stack Engineer"}],cover:null,semester:"Fall 2023",__v:0}]}}async function O9(e){try{return(await da.get(`/projects/${e}`)).data}catch{return{_id:"66292f8768dc79f8d04536ad",name:"Space Safety Visualizer",organization:"Amazon",description:"The Fall 2023 Amazon project was a low Earth orbit satellite visualization system. This was designed for Project Kuiper as a way to visualize satellite collision risk to non-technical stakeholders at Amazon.",members:[{memberInfo:{_id:"66292f8768dc79f8d0453673",firstName:"Samai",lastName:"Patel",profileUrl:"https://gravatar.com/avatar/8a7fb3e66260f050539a6d8021a733635298861369c9ba60278abeb78e8c6216"},role:"Project Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368b",firstName:"Ishan",lastName:"Revankar",profileUrl:"https://gravatar.com/avatar/66e5f9478a8c5c1090326d16f13ac2f9d56540fbc38c86e0b16061dd4d6c31d9"},role:"Full-Stack Engineer"},{memberInfo:{_id:"66292f8768dc79f8d045368d",firstName:"Nitish",lastName:"Vobilisetti",profileUrl:"https://gravatar.com/avatar/eb8416def562dd101a91cb9ad66731467420be6dafff0a691f33b184d796d7f5"},role:"Tech Lead"},{memberInfo:{_id:"66292f8768dc79f8d045368f",firstName:"Neil",lastName:"Hajela",profileUrl:"https://gravatar.com/avatar/9ec79c36a878d718e93405ec8431d2f414d1e6e021376763b85ec2555418bcd2"},role:"Engineer"},{memberInfo:{_id:"66292f8768dc79f8d0453691",firstName:"Hadijat",lastName:"Oke",profileUrl:"https://gravatar.com/avatar/4e7a51f508246f5a290cd93aead661a323322a0fecc28e2ebb44714f5825a7ef"},role:"Project Manager"},{memberInfo:{_id:"66292f8768dc79f8d0453693",firstName:"Nand",lastName:"Vinchhi",profileUrl:"https://gravatar.com/avatar/5c7e99e4bd1a8bc12f56605f7ec6a09a95472ebb07dd30f4d4e1ef134655c35a"},role:"Tech Lead"}],demo:"https://www.youtube.com/embed/UFwHEMrSO-M?si=NmlpAyAtZwOLEPiE",cover:null,semester:"Fall 2023",__v:0}}}const Ek={getAll:R9,getById:O9};var Wa={},Pk={},gp={},ls=ge&&ge.__assign||function(){return ls=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(!((c=h==null?void 0:h.in)===null||c===void 0)&&c.style)&&(h.in.style.transform=function(v){return m.in.map(function(w){return xb(w,v)}).join(" ")}),m.out.length>0&&(!((d=h==null?void 0:h.out)===null||d===void 0)&&d.style)&&(h.out.style.transform=function(v){return m.out.map(function(w){return xb(w,v)}).join(" ")}),h};gp.batch=A9;var _i={},jo={},fy={},qg=ge&&ge.__assign||function(){return qg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u")){if(t==="height")return wb&&bb?window.screen.height-80:window.innerHeight;if(t==="width")return wb&&bb?window.screen.width:window.innerWidth}}});py.default=$9;var vp={};Object.defineProperty(vp,"__esModule",{value:!0});vp.SimpleInterpolation=void 0;var L9=function(e,t,n){return e*(1-n)+t*n};vp.SimpleInterpolation=L9;(function(e){var t=ge&&ge.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0}),e.computeStyle=e.SimpleInterpolation=e.environment=void 0;var n=t(fy);e.computeStyle=n.default;var r=t(py);e.environment=r.default;var i=vp;Object.defineProperty(e,"SimpleInterpolation",{enumerable:!0,get:function(){return i.SimpleInterpolation}})})(jo);Object.defineProperty(_i,"__esModule",{value:!0});_i.FadeOut=_i.FadeIn=_i.Fade=void 0;var Bd=jo,j9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Bd.SimpleInterpolation)(e,t,n)}}},out:{style:{opacity:function(n){return(0,Bd.SimpleInterpolation)(t,e,n)}}}}};_i.Fade=j9;var D9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Bd.SimpleInterpolation)(e,t,n)}}}}};_i.FadeIn=D9;var F9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{out:{style:{opacity:function(n){return(0,Bd.SimpleInterpolation)(e,t,n)}}}}};_i.FadeOut=F9;var Ri={};Object.defineProperty(Ri,"__esModule",{value:!0});Ri.MoveOut=Ri.MoveIn=Ri.Move=void 0;var xi=jo,N9=function(e,t,n,r){return e===void 0&&(e=0),t===void 0&&(t=100),n===void 0&&(n=null),r===void 0&&(r=-100),{in:{style:{transform:function(i){return"translate(".concat((0,xi.SimpleInterpolation)(e,0,i),"px, ").concat((0,xi.SimpleInterpolation)(t,0,i),"px)")}}},out:{style:{transform:function(i){return"translate(".concat((0,xi.SimpleInterpolation)(0,n||e,i),"px, ").concat((0,xi.SimpleInterpolation)(0,r||t,i),"px)")}}}}};Ri.Move=N9;var z9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=100),{in:{style:{transform:function(n){return"translate(".concat((0,xi.SimpleInterpolation)(e,0,n),"px, ").concat((0,xi.SimpleInterpolation)(t,0,n),"px)")}}}}};Ri.MoveIn=z9;var V9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=-100),{out:{style:{transform:function(n){return"translate(".concat((0,xi.SimpleInterpolation)(0,e,n),"px, ").concat((0,xi.SimpleInterpolation)(0,t,n),"px)")}}}}};Ri.MoveOut=V9;var Oi={};Object.defineProperty(Oi,"__esModule",{value:!0});Oi.StickyOut=Oi.StickyIn=Oi.Sticky=void 0;var En=jo,B9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}}}};Oi.Sticky=B9;var U9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*En.environment.width/100,"px")},top:function(){return"".concat(t*En.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"absolute"}}}};Oi.StickyIn=U9;var W9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:"".concat(e*En.environment.width/100,"px"),top:"".concat(t*En.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"absolute"}},out:{style:{left:"".concat(e*En.environment.width/100,"px"),top:"".concat(t*En.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"fixed"}}}};Oi.StickyOut=W9;var Ai={};Object.defineProperty(Ai,"__esModule",{value:!0});Ai.ZoomOut=Ai.ZoomIn=Ai.Zoom=void 0;var Ud=jo,H9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,Ud.SimpleInterpolation)(e,t,n),")")}}},out:{style:{transform:function(n){return"scale(".concat((0,Ud.SimpleInterpolation)(t,e,n),")")}}}}};Ai.Zoom=H9;var G9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,Ud.SimpleInterpolation)(e,t,n),")")}}}}};Ai.ZoomIn=G9;var q9=function(e,t){return e===void 0&&(e=1),t===void 0&&(t=10),{out:{style:{transform:function(n){return"scale(".concat((0,Ud.SimpleInterpolation)(e,t,n),")")}}}}};Ai.ZoomOut=q9;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ZoomOut=e.ZoomIn=e.Zoom=e.StickyOut=e.StickyIn=e.Sticky=e.MoveOut=e.MoveIn=e.Move=e.FadeOut=e.FadeIn=e.Fade=e.batch=void 0;var t=gp;Object.defineProperty(e,"batch",{enumerable:!0,get:function(){return t.batch}});var n=_i;Object.defineProperty(e,"Fade",{enumerable:!0,get:function(){return n.Fade}}),Object.defineProperty(e,"FadeIn",{enumerable:!0,get:function(){return n.FadeIn}}),Object.defineProperty(e,"FadeOut",{enumerable:!0,get:function(){return n.FadeOut}});var r=Ri;Object.defineProperty(e,"Move",{enumerable:!0,get:function(){return r.Move}}),Object.defineProperty(e,"MoveIn",{enumerable:!0,get:function(){return r.MoveIn}}),Object.defineProperty(e,"MoveOut",{enumerable:!0,get:function(){return r.MoveOut}});var i=Oi;Object.defineProperty(e,"Sticky",{enumerable:!0,get:function(){return i.Sticky}}),Object.defineProperty(e,"StickyIn",{enumerable:!0,get:function(){return i.StickyIn}}),Object.defineProperty(e,"StickyOut",{enumerable:!0,get:function(){return i.StickyOut}});var o=Ai;Object.defineProperty(e,"Zoom",{enumerable:!0,get:function(){return o.Zoom}}),Object.defineProperty(e,"ZoomIn",{enumerable:!0,get:function(){return o.ZoomIn}}),Object.defineProperty(e,"ZoomOut",{enumerable:!0,get:function(){return o.ZoomOut}})})(Pk);var hy={},yp={},xp={},Ni={},my={};Object.defineProperty(my,"__esModule",{value:!0});var K9={currentY:0,viewportHeight:0,totalPage:0,totalHeight:0,totalProgress:0,realPage:0,currentPage:0,currentProgress:0};my.default=K9;var gy={};Object.defineProperty(gy,"__esModule",{value:!0});var Q9={page:0};gy.default=Q9;var Tk=ge&&ge.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ni,"__esModule",{value:!0});Ni.initialScrollPage=Ni.initialScrollData=void 0;var Y9=Tk(my);Ni.initialScrollData=Y9.default;var X9=Tk(gy);Ni.initialScrollPage=X9.default;Object.defineProperty(xp,"__esModule",{value:!0});xp.ScrollDataContext=void 0;var Z9=b,J9=Ni;xp.ScrollDataContext=(0,Z9.createContext)(J9.initialScrollData);var wp={};Object.defineProperty(wp,"__esModule",{value:!0});wp.ScrollPageContext=void 0;var eV=b,tV=Ni;wp.ScrollPageContext=(0,eV.createContext)(tV.initialScrollPage);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollPageContext=e.ScrollDataContext=void 0;var t=xp;Object.defineProperty(e,"ScrollDataContext",{enumerable:!0,get:function(){return t.ScrollDataContext}});var n=wp;Object.defineProperty(e,"ScrollPageContext",{enumerable:!0,get:function(){return n.ScrollPageContext}})})(yp);var us=ge&&ge.__assign||function(){return us=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){const o=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=yV(l),l in Pb)return;Pb[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!r)for(let p=o.length-1;p>=0;p--){const h=o[p];if(h.href===l&&(!u||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${c}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":vV,u||(f.as="script",f.crossOrigin=""),f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),u)return new Promise((p,h)=>{f.addEventListener("load",p),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${l}`)))})}))}return i.then(()=>t()).catch(o=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o})},Nh="generated",MG="pointerdown",_G="pointerup",RG="pointerleave",OG="pointerout",AG="pointermove",IG="touchstart",$G="touchend",LG="touchmove",jG="touchcancel",DG="resize",FG="visibilitychange",xy="tsParticles - Error",cs=100,Tb=.5,kk=1e3;function NG(e){return typeof e=="boolean"}function Jl(e){return typeof e=="string"}function pa(e){return typeof e=="number"}function pc(e){return typeof e=="object"&&e!==null}function Do(e){return Array.isArray(e)}const Xn={x:0,y:0,z:0},kb=2,xV=1;class jn{constructor(t,n,r){if(this._updateFromAngle=(i,o)=>{this.x=Math.cos(i)*o,this.y=Math.sin(i)*o},!pa(t)&&t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:Xn.z}else if(t!==void 0&&n!==void 0)this.x=t,this.y=n,this.z=r??Xn.z;else throw new Error(`${xy} Vector3d not initialized correctly`)}static get origin(){return jn.create(Xn.x,Xn.y,Xn.z)}get angle(){return Math.atan2(this.y,this.x)}set angle(t){this._updateFromAngle(t,this.length)}get length(){return Math.sqrt(this.getLengthSq())}set length(t){this._updateFromAngle(this.angle,t)}static clone(t){return jn.create(t.x,t.y,t.z)}static create(t,n,r){return new jn(t,n,r)}add(t){return jn.create(this.x+t.x,this.y+t.y,this.z+t.z)}addTo(t){this.x+=t.x,this.y+=t.y,this.z+=t.z}copy(){return jn.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return jn.create(this.x/t,this.y/t,this.z/t)}divTo(t){this.x/=t,this.y/=t,this.z/=t}getLengthSq(){return this.x**kb+this.y**kb}mult(t){return jn.create(this.x*t,this.y*t,this.z*t)}multTo(t){this.x*=t,this.y*=t,this.z*=t}normalize(){const t=this.length;t!=0&&this.multTo(xV/t)}rotate(t){return jn.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),Xn.z)}setTo(t){this.x=t.x,this.y=t.y;const n=t;this.z=n.z?n.z:Xn.z}sub(t){return jn.create(this.x-t.x,this.y-t.y,this.z-t.z)}subFrom(t){this.x-=t.x,this.y-=t.y,this.z-=t.z}}class Co extends jn{constructor(t,n){super(t,n,Xn.z)}static get origin(){return Co.create(Xn.x,Xn.y)}static clone(t){return Co.create(t.x,t.y)}static create(t,n){return new Co(t,n)}}let wV=Math.random;const Kg=new Map,bV=2,SV=Math.PI*bV;function zG(e,t){Kg.get(e)||Kg.set(e,t)}function VG(e){return Kg.get(e)??(t=>t)}function fr(){return wy(wV(),0,1-Number.EPSILON)}function wy(e,t,n){return Math.min(Math.max(e,t),n)}function zh(e,t,n,r){return Math.floor((e*n+t*r)/(n+r))}function Ts(e){const t=Sp(e),n=0;let r=bp(e);return t===r&&(r=n),fr()*(t-r)+r}function pt(e){return pa(e)?e:Ts(e)}function bp(e){return pa(e)?e:e.min}function Sp(e){return pa(e)?e:e.max}function ul(e,t){if(e===t||t===void 0&&pa(e))return e;const n=bp(e),r=Sp(e);return t!==void 0?{min:Math.min(n,t),max:Math.max(r,t)}:ul(n,r)}function Mk(e,t){const n=e.x-t.x,r=e.y-t.y,i=2;return{dx:n,dy:r,distance:Math.sqrt(n**i+r**i)}}function BG(e,t){return Mk(e,t).distance}function CV(e){return e*Math.PI/180}function UG(e,t,n){if(pa(e))return CV(e);const r=0,i=.5,o=.25,s=i+o;switch(e){case"top":return-Math.PI*i;case"top-right":return-Math.PI*o;case"right":return r;case"bottom-right":return Math.PI*o;case"bottom":return Math.PI*i;case"bottom-left":return Math.PI*s;case"left":return Math.PI;case"top-left":return-Math.PI*s;case"inside":return Math.atan2(n.y-t.y,n.x-t.x);case"outside":return Math.atan2(t.y-n.y,t.x-n.x);default:return fr()*SV}}function WG(e){const t=Co.origin;return t.length=1,t.angle=e,t}function Mb(e,t,n,r){return Co.create(e.x*(n-r)/(n+r)+t.x*2*r/(n+r),e.y)}function HG(e){var t,n;return{x:((t=e.position)==null?void 0:t.x)??fr()*e.size.width,y:((n=e.position)==null?void 0:n.y)??fr()*e.size.height}}function _k(e){return e?e.endsWith("%")?parseFloat(e)/cs:parseFloat(e):1}const EV={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function PV(){return EV}function _b(e){const t={bounced:!1},{pSide:n,pOtherSide:r,rectSide:i,rectOtherSide:o,velocity:s,factor:a}=e,l=.5,u=0;return r.mino.max||r.maxo.max||(n.max>=i.min&&n.max<=(i.max+i.min)*l&&s>u||n.min<=i.max&&n.min>(i.max+i.min)*l&&se.matches(r));return Do(n)?n.some(r=>r):n}function Cp(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function kV(){return!Cp()&&typeof matchMedia<"u"}function GG(e){if(kV())return matchMedia(e)}function qG(e){if(!(Cp()||typeof IntersectionObserver>"u"))return new IntersectionObserver(e)}function KG(e){if(!(Cp()||typeof MutationObserver>"u"))return new MutationObserver(e)}function Rk(e,t){return e===t||Do(t)&&t.indexOf(e)>-1}async function QG(e,t){try{await document.fonts.load(`${t??"400"} 36px '${e??"Verdana"}'`)}catch{}}function MV(e){return Math.floor(fr()*e.length)}function by(e,t,n=!0){return e[t!==void 0&&n?t%e.length:MV(e)]}function YG(e,t,n,r,i){return _V(Ok(e,r??0),t,n,i)}function _V(e,t,n,r){let i=!0;return(!r||r==="bottom")&&(i=e.topn.x),i&&(!r||r==="right")&&(i=e.leftn.y),i}function Ok(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function Rb(e,...t){for(const n of t){if(n==null)continue;if(!pc(n)){e=n;continue}const r=Array.isArray(n);r&&(pc(e)||!e||!Array.isArray(e))?e=[]:!r&&(pc(e)||!e||Array.isArray(e))&&(e={});for(const i in n){if(i==="__proto__")continue;const o=n,s=o[i],a=e;a[i]=pc(s)&&Array.isArray(s)?s.map(l=>Rb(a[i],l)):Rb(a[i],s)}}return e}function XG(e,t){return!!Ik(t,n=>n.enable&&Rk(e,n.mode))}function ZG(e,t,n){eu(t,r=>{const i=r.mode;r.enable&&Rk(e,i)&&RV(r,n)})}function RV(e,t){const n=e.selectors;eu(n,r=>{t(r,e)})}function JG(e,t){if(!(!t||!e))return Ik(e,n=>TV(t,n.selectors))}function eq(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:Co.create(pt(e.options.bounce.horizontal.value),pt(e.options.bounce.vertical.value))}}function tq(e,t){const{x:n,y:r}=e.velocity.sub(t.velocity),[i,o]=[e.position,t.position],{dx:s,dy:a}=Mk(o,i);if(n*s+r*a<0)return;const u=-Math.atan2(a,s),c=e.mass,d=t.mass,f=e.velocity.rotate(u),p=t.velocity.rotate(u),h=Mb(f,p,c,d),m=Mb(p,f,c,d),x=h.rotate(-u),g=m.rotate(-u);e.velocity.x=x.x*e.factor.x,e.velocity.y=x.y*e.factor.y,t.velocity.x=g.x*t.factor.x,t.velocity.y=g.y*t.factor.y}function nq(e,t){const n=e.getPosition(),r=e.getRadius(),i=Ok(n,r),o=e.options.bounce,s=_b({pSide:{min:i.left,max:i.right},pOtherSide:{min:i.top,max:i.bottom},rectSide:{min:t.left,max:t.right},rectOtherSide:{min:t.top,max:t.bottom},velocity:e.velocity.x,factor:pt(o.horizontal.value)});s.bounced&&(s.velocity!==void 0&&(e.velocity.x=s.velocity),s.position!==void 0&&(e.position.x=s.position));const a=_b({pSide:{min:i.top,max:i.bottom},pOtherSide:{min:i.left,max:i.right},rectSide:{min:t.top,max:t.bottom},rectOtherSide:{min:t.left,max:t.right},velocity:e.velocity.y,factor:pt(o.vertical.value)});a.bounced&&(a.velocity!==void 0&&(e.velocity.y=a.velocity),a.position!==void 0&&(e.position.y=a.position))}function eu(e,t){return Do(e)?e.map((r,i)=>t(r,i)):t(e,0)}function Ak(e,t,n){return Do(e)?by(e,t,n):e}function Ik(e,t){return Do(e)?e.find((r,i)=>t(r,i)):t(e,0)?e:void 0}function rq(e,t){const n=e.value,r=e.animation,i={delayTime:pt(r.delay)*kk,enable:r.enable,value:pt(e.value)*t,max:Sp(n)*t,min:bp(n)*t,loops:0,maxLoops:pt(r.count),time:0},o=1;if(r.enable){switch(i.decay=o-pt(r.decay),r.mode){case"increase":i.status="increasing";break;case"decrease":i.status="decreasing";break;case"random":i.status=fr()>=Tb?"increasing":"decreasing";break}const s=r.mode==="auto";switch(r.startValue){case"min":i.value=i.min,s&&(i.status="increasing");break;case"max":i.value=i.max,s&&(i.status="decreasing");break;case"random":default:i.value=Ts(i),s&&(i.status=fr()>=Tb?"increasing":"decreasing");break}}return i.initialValue=i.value,i}function OV(e,t){if(!(e.mode==="percent")){const{mode:i,...o}=e;return o}return"x"in e?{x:e.x/cs*t.width,y:e.y/cs*t.height}:{width:e.width/cs*t.width,height:e.height/cs*t.height}}function iq(e,t){return OV(e,t)}function AV(e,t,n,r,i){switch(t){case"max":n>=i&&e.destroy();break;case"min":n<=r&&e.destroy();break}}function oq(e,t,n,r,i){if(e.destroyed||!t||!t.enable||(t.maxLoops??0)>0&&(t.loops??0)>(t.maxLoops??0))return;const c=(t.velocity??0)*i.factor,d=t.min,f=t.max,p=t.decay??1;if(t.time||(t.time=0),(t.delayTime??0)>0&&t.time<(t.delayTime??0)&&(t.time+=i.value),!((t.delayTime??0)>0&&t.time<(t.delayTime??0))){switch(t.status){case"increasing":t.value>=f?(n?t.status="decreasing":t.value-=f,t.loops||(t.loops=0),t.loops++):t.value+=c;break;case"decreasing":t.value<=d?(n?t.status="increasing":t.value+=f,t.loops||(t.loops=0),t.loops++):t.value-=c}t.velocity&&p!==1&&(t.velocity*=p),AV(e,r,t.value,d,f),e.destroyed||(t.value=wy(t.value,d,f))}}class IV{constructor(){this._listeners=new Map}addEventListener(t,n){this.removeEventListener(t,n);let r=this._listeners.get(t);r||(r=[],this._listeners.set(t,r)),r.push(n)}dispatchEvent(t,n){const r=this._listeners.get(t);r==null||r.forEach(i=>i(n))}hasEventListener(t){return!!this._listeners.get(t)}removeAllEventListeners(t){t?this._listeners.delete(t):this._listeners=new Map}removeEventListener(t,n){const r=this._listeners.get(t);if(!r)return;const i=r.length,o=r.indexOf(n);if(o<0)return;const a=1;i===a?this._listeners.delete(t):r.splice(o,a)}}async function Vh(e,t,n,r=!1){let i=t.get(e);return(!i||r)&&(i=await Promise.all([...n.values()].map(o=>o(e))),t.set(e,i)),i}async function $V(e){const t=Ak(e.url,e.index);if(!t)return e.fallback;const n=await fetch(t);return n.ok?await n.json():(PV().error(`${xy} ${n.status} while retrieving config file`),e.fallback)}class LV{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new IV,this._initialized=!1,this.plugins=[],this._initializers={interactors:new Map,movers:new Map,updaters:new Map},this.interactors=new Map,this.movers=new Map,this.updaters=new Map,this.presets=new Map,this.effectDrawers=new Map,this.shapeDrawers=new Map,this.pathGenerators=new Map}get configs(){const t={};for(const[n,r]of this._configs)t[n]=r;return t}get version(){return"3.3.0"}addConfig(t){const n=t.key??t.name??"default";this._configs.set(n,t),this._eventDispatcher.dispatchEvent("configAdded",{data:{name:n,config:t}})}async addEffect(t,n,r=!0){eu(t,i=>{this.getEffectDrawer(i)||this.effectDrawers.set(i,n)}),await this.refresh(r)}addEventListener(t,n){this._eventDispatcher.addEventListener(t,n)}async addInteractor(t,n,r=!0){this._initializers.interactors.set(t,n),await this.refresh(r)}async addMover(t,n,r=!0){this._initializers.movers.set(t,n),await this.refresh(r)}async addParticleUpdater(t,n,r=!0){this._initializers.updaters.set(t,n),await this.refresh(r)}async addPathGenerator(t,n,r=!0){this.getPathGenerator(t)||this.pathGenerators.set(t,n),await this.refresh(r)}async addPlugin(t,n=!0){this.getPlugin(t.id)||this.plugins.push(t),await this.refresh(n)}async addPreset(t,n,r=!1,i=!0){(r||!this.getPreset(t))&&this.presets.set(t,n),await this.refresh(i)}async addShape(t,n,r=!0){eu(t,i=>{this.getShapeDrawer(i)||this.shapeDrawers.set(i,n)}),await this.refresh(r)}clearPlugins(t){this.updaters.delete(t),this.movers.delete(t),this.interactors.delete(t)}dispatchEvent(t,n){this._eventDispatcher.dispatchEvent(t,n)}dom(){return this._domArray}domItem(t){const n=this.dom(),r=n[t];if(!r||r.destroyed){n.splice(t,1);return}return r}async getAvailablePlugins(t){const n=new Map;for(const r of this.plugins)r.needsPlugin(t.actualOptions)&&n.set(r.id,await r.getPlugin(t));return n}getEffectDrawer(t){return this.effectDrawers.get(t)}async getInteractors(t,n=!1){return await Vh(t,this.interactors,this._initializers.interactors,n)}async getMovers(t,n=!1){return await Vh(t,this.movers,this._initializers.movers,n)}getPathGenerator(t){return this.pathGenerators.get(t)}getPlugin(t){return this.plugins.find(n=>n.id===t)}getPreset(t){return this.presets.get(t)}getShapeDrawer(t){return this.shapeDrawers.get(t)}getSupportedEffects(){return this.effectDrawers.keys()}getSupportedShapes(){return this.shapeDrawers.keys()}async getUpdaters(t,n=!1){return await Vh(t,this.updaters,this._initializers.updaters,n)}init(){this._initialized||(this._initialized=!0)}async load(t){var m;const r=t.id??((m=t.element)==null?void 0:m.id)??`tsparticles${Math.floor(fr()*1e4)}`,{index:i,url:o}=t,s=o?await $V({fallback:t.options,url:o,index:i}):t.options;let a=t.element??document.getElementById(r);a||(a=document.createElement("div"),a.id=r,document.body.append(a));const l=Ak(s,i),u=this.dom(),c=u.findIndex(x=>x.id.description===r),d=0;if(c>=d){const x=this.domItem(c);x&&!x.destroyed&&(x.destroy(),u.splice(c,1))}let f;if(a.tagName.toLowerCase()==="canvas")f=a,f.dataset[Nh]="false";else{const x=a.getElementsByTagName("canvas");x.length?(f=x[0],f.dataset[Nh]="false"):(f=document.createElement("canvas"),f.dataset[Nh]="true",a.appendChild(f))}f.style.width||(f.style.width="100%"),f.style.height||(f.style.height="100%");const{Container:p}=await Te(()=>import("./Container-a6gj1snr.js"),__vite__mapDeps([0,1,2,3,4])),h=new p(this,r,l);return c>=d?u.splice(c,0,h):u.push(h),h.canvas.loadCanvas(f),await h.start(),h}loadOptions(t,n){for(const r of this.plugins)r.loadOptions(t,n)}loadParticlesOptions(t,n,...r){var o;const i=this.updaters.get(t);if(i)for(const s of i)(o=s.loadOptions)==null||o.call(s,n,...r)}async refresh(t=!0){t&&await Promise.all(this.dom().map(n=>n.refresh()))}removeEventListener(t,n){this._eventDispatcher.removeEventListener(t,n)}setOnClickHandler(t){const n=this.dom();if(!n.length)throw new Error(`${xy} can only set click handlers after calling tsParticles.load()`);for(const r of n)r.addClickHandler(t)}}const Hd="random",Vc="mid",Ep=new Map;function Ob(e){Ep.set(e.key,e)}function jV(e){for(const[,l]of Ep)if(e.startsWith(l.stringPrefix))return l.parseString(e);const t=/^#?([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,n=e.replace(t,(l,u,c,d,f)=>u+u+c+c+d+d+(f!==void 0?f+f:"")),r=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,i=r.exec(n),o=16;return i?{a:i[4]!==void 0?parseInt(i[4],o)/255:1,b:parseInt(i[3],o),g:parseInt(i[2],o),r:parseInt(i[1],o)}:void 0}function Gd(e,t,n=!0){if(!e)return;const r=Jl(e)?{value:e}:e;if(Jl(r.value))return $k(r.value,t,n);if(Do(r.value))return Gd({value:by(r.value,t,n)});for(const[,i]of Ep){const o=i.handleRangeColor(r);if(o)return o}}function $k(e,t,n=!0){if(!e)return;const r=Jl(e)?{value:e}:e;if(Jl(r.value))return r.value===Hd?Lk():FV(r.value);if(Do(r.value))return $k({value:by(r.value,t,n)});for(const[,i]of Ep){const o=i.handleColor(r);if(o)return o}}function sq(e,t,n=!0){const r=Gd(e,t,n);return r?DV(r):void 0}function DV(e){const c=e.r/255,d=e.g/255,f=e.b/255,p=Math.max(c,d,f),h=Math.min(c,d,f),m={h:0,l:(p+h)*.5,s:0};return p!==h&&(m.s=m.l<.5?(p-h)/(p+h):(p-h)/(2-p-h),m.h=c===p?(d-f)/(p-h):m.h=d===p?2+(f-c)/(p-h):2*2+(c-d)/(p-h)),m.l*=100,m.s*=100,m.h*=60,m.h<0&&(m.h+=360),m.h>=360&&(m.h-=360),m}function FV(e){return jV(e)}function ea(e){const s=(e.h%360+360)%360,a=Math.max(0,Math.min(100,e.s)),l=Math.max(0,Math.min(100,e.l)),u=s/360,c=a/100,d=l/100,f=255,p=3;if(a===0){const k=Math.round(d*f);return{r:k,g:k,b:k}}const h=.5,m=2,x=(k,M,A)=>{if(A<0&&A++,A>1&&A--,A*6<1)return k+(M-k)*6*A;if(A*m<1)return M;if(A*p<1*m){const B=m/p;return k+(M-k)*(B-A)*6}return k},g=1,y=d0&&(e.loops??0)>(e.maxLoops??0)||(e.time||(e.time=0),(e.delayTime??0)>0&&e.time<(e.delayTime??0)&&(e.time+=r.value),(e.delayTime??0)>0&&e.time<(e.delayTime??0)))return;const c=e.offset?Ts(e.offset):0,d=(e.velocity??0)*r.factor+c*3.6,f=e.decay??1,p=Sp(t),h=bp(t);!n||e.status==="increasing"?(e.value+=d,e.value>p&&(e.loops||(e.loops=0),e.loops++,n?e.status="decreasing":e.value-=p)):(e.value-=d,e.value<0&&(e.loops||(e.loops=0),e.loops++,e.status="increasing")),e.velocity&&f!==1&&(e.velocity*=f),e.value=wy(e.value,h,p)}function pq(e,t){if(!e)return;const{h:n,s:r,l:i}=e,o={h:{min:0,max:360},s:{min:0,max:100},l:{min:0,max:100}};n&&Uh(n,o.h,!1,t),r&&Uh(r,o.s,!0,t),i&&Uh(i,o.l,!0,t)}class VV{constructor(){this.key="hsl",this.stringPrefix="hsl"}handleColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.s!==void 0&&r.l!==void 0)return ea(r)}handleRangeColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.l!==void 0)return ea({h:pt(r.h),l:pt(r.l),s:pt(r.s)})}parseString(t){if(!t.startsWith("hsl"))return;const n=/hsla?\(\s*(\d+)\s*,\s*(\d+)%\s*,\s*(\d+)%\s*(,\s*([\d.%]+)\s*)?\)/i,r=n.exec(t),i=4,o=1,s=10;return r?NV({a:r.length>i?_k(r[5]):o,h:parseInt(r[1],s),l:parseInt(r[3],s),s:parseInt(r[2],s)}):void 0}}class BV{constructor(){this.key="rgb",this.stringPrefix="rgb"}handleColor(t){const n=t.value,r=n.rgb??t.value;if(r.r!==void 0)return r}handleRangeColor(t){const n=t.value,r=n.rgb??t.value;if(r.r!==void 0)return{r:pt(r.r),g:pt(r.g),b:pt(r.b)}}parseString(t){if(!t.startsWith(this.stringPrefix))return;const n=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([\d.%]+)\s*)?\)/i,r=n.exec(t),i=10;return r?{a:r.length>4?_k(r[5]):1,b:parseInt(r[3],i),g:parseInt(r[2],i),r:parseInt(r[1],i)}:void 0}}function UV(){const e=new BV,t=new VV;Ob(e),Ob(t);const n=new LV;return n.init(),n}const Sy=UV();Cp()||(window.tsParticles=Sy);const WV=e=>{const t=e.id??"tsparticles";return b.useEffect(()=>{let n;return Sy.load({id:t,url:e.url,options:e.options}).then(r=>{var i;n=r,(i=e.particlesLoaded)==null||i.call(e,r)}),()=>{n==null||n.destroy()}},[t,e,e.url,e.options]),S.jsx("div",{id:t,className:e.className})};async function HV(e){await e(Sy)}async function GV(e,t=!0){const{loadParallaxMover:n}=await Te(()=>import("./index-Cvi7N9S1.js"),[]),{loadExternalAttractInteraction:r}=await Te(()=>import("./index-Clada0oI.js"),[]),{loadExternalBounceInteraction:i}=await Te(()=>import("./index-DrCKTKHk.js"),[]),{loadExternalBubbleInteraction:o}=await Te(()=>import("./index-vwL2_hww.js"),__vite__mapDeps([5,2])),{loadExternalConnectInteraction:s}=await Te(()=>import("./index-DC0x-VFn.js"),[]),{loadExternalGrabInteraction:a}=await Te(()=>import("./index-CznPTJO-.js"),__vite__mapDeps([6,2])),{loadExternalPauseInteraction:l}=await Te(()=>import("./index-CCTRsWal.js"),[]),{loadExternalPushInteraction:u}=await Te(()=>import("./index-Dguich7Z.js"),[]),{loadExternalRemoveInteraction:c}=await Te(()=>import("./index-CV36ytSU.js"),[]),{loadExternalRepulseInteraction:d}=await Te(()=>import("./index-DAyO1b0R.js"),[]),{loadExternalSlowInteraction:f}=await Te(()=>import("./index-eJScRzjX.js"),[]),{loadParticlesAttractInteraction:p}=await Te(()=>import("./index-DJVL492U.js"),[]),{loadParticlesCollisionsInteraction:h}=await Te(()=>import("./index-C_7Vmouq.js"),[]),{loadParticlesLinksInteraction:m}=await Te(()=>import("./index-BT7lNbQk.js"),__vite__mapDeps([7,2])),{loadEasingQuadPlugin:x}=await Te(()=>import("./index-Dsi4lupD.js"),[]),{loadEmojiShape:g}=await Te(()=>import("./index-BTRqI6_g.js").then(A=>A.i),[]),{loadImageShape:y}=await Te(()=>import("./index-BfyEaXEK.js").then(A=>A.i),[]),{loadLineShape:v}=await Te(()=>import("./index-H63m7dot.js"),[]),{loadPolygonShape:w}=await Te(()=>import("./index-DgGg2DSW.js"),[]),{loadSquareShape:C}=await Te(()=>import("./index-DK7Jnqky.js"),[]),{loadStarShape:E}=await Te(()=>import("./index-Bqwgzccm.js"),[]),{loadLifeUpdater:T}=await Te(()=>import("./index-BsW425tJ.js"),[]),{loadRotateUpdater:P}=await Te(()=>import("./index-DEgkCBlk.js"),[]),{loadStrokeColorUpdater:k}=await Te(()=>import("./index-4CydYdTS.js"),[]),{loadBasic:M}=await Te(()=>import("./index-DqAgQ421.js"),[]);await n(e,!1),await r(e,!1),await i(e,!1),await o(e,!1),await s(e,!1),await a(e,!1),await l(e,!1),await u(e,!1),await c(e,!1),await d(e,!1),await f(e,!1),await p(e,!1),await h(e,!1),await m(e,!1),await x(),await g(e,!1),await y(e,!1),await v(e,!1),await w(e,!1),await C(e,!1),await E(e,!1),await T(e,!1),await P(e,!1),await k(e,!1),await M(e,t)}const Cy="-";function qV(e){const t=QV(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function i(s){const a=s.split(Cy);return a[0]===""&&a.length!==1&&a.shift(),jk(a,t)||KV(s)}function o(s,a){const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}return{getClassGroupId:i,getConflictingClassGroupIds:o}}function jk(e,t){var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?jk(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(Cy);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId}const Ab=/^\[(.+)\]$/;function KV(e){if(Ab.test(e)){const t=Ab.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function QV(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return XV(Object.entries(e.classGroups),n).forEach(([o,s])=>{Qg(s,r,o,t)}),r}function Qg(e,t,n,r){e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:Ib(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(YV(i)){Qg(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{Qg(s,Ib(t,o),n,r)})})}function Ib(e,t){let n=e;return t.split(Cy).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function YV(e){return e.isThemeGetter}function XV(e,t){return t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([s,a])=>[t+s,a])):o);return[n,i]}):e}function ZV(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function i(o,s){n.set(o,s),t++,t>e&&(t=0,r=n,n=new Map)}return{get(o){let s=n.get(o);if(s!==void 0)return s;if((s=r.get(o))!==void 0)return i(o,s),s},set(o,s){n.has(o)?n.set(o,s):i(o,s)}}}const Dk="!";function JV(e){const t=e.separator,n=t.length===1,r=t[0],i=t.length;return function(s){const a=[];let l=0,u=0,c;for(let m=0;mu?c-u:void 0;return{modifiers:a,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:h}}}function e7(e){if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t}function t7(e){return{cache:ZV(e.cacheSize),splitModifiers:JV(e),...qV(e)}}const n7=/\s+/;function r7(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=new Set;return e.trim().split(n7).map(s=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(s);let d=r(c?u.substring(0,c):u),f=!!c;if(!d){if(!c)return{isTailwindClass:!1,originalClassName:s};if(d=r(u),!d)return{isTailwindClass:!1,originalClassName:s};f=!1}const p=e7(a).join(":");return{isTailwindClass:!0,modifierId:l?p+Dk:p,classGroupId:d,originalClassName:s,hasPostfixModifier:f}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=s,c=a+l;return o.has(c)?!1:(o.add(c),i(l,u).forEach(d=>o.add(a+d)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function i7(){let e=0,t,n,r="";for(;ed(c),e());return n=t7(u),r=n.cache.get,i=n.cache.set,o=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=r7(l,n);return i(l,c),c}return function(){return o(i7.apply(null,arguments))}}function Re(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Nk=/^\[(?:([a-z-]+):)?(.+)\]$/i,s7=/^\d+\/\d+$/,a7=new Set(["px","full","screen"]),l7=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,u7=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,c7=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,d7=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,f7=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function hr(e){return uo(e)||a7.has(e)||s7.test(e)}function Yr(e){return ha(e,"length",w7)}function uo(e){return!!e&&!Number.isNaN(Number(e))}function hc(e){return ha(e,"number",uo)}function Ia(e){return!!e&&Number.isInteger(Number(e))}function p7(e){return e.endsWith("%")&&uo(e.slice(0,-1))}function ie(e){return Nk.test(e)}function Xr(e){return l7.test(e)}const h7=new Set(["length","size","percentage"]);function m7(e){return ha(e,h7,zk)}function g7(e){return ha(e,"position",zk)}const v7=new Set(["image","url"]);function y7(e){return ha(e,v7,S7)}function x7(e){return ha(e,"",b7)}function $a(){return!0}function ha(e,t,n){const r=Nk.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function w7(e){return u7.test(e)&&!c7.test(e)}function zk(){return!1}function b7(e){return d7.test(e)}function S7(e){return f7.test(e)}function C7(){const e=Re("colors"),t=Re("spacing"),n=Re("blur"),r=Re("brightness"),i=Re("borderColor"),o=Re("borderRadius"),s=Re("borderSpacing"),a=Re("borderWidth"),l=Re("contrast"),u=Re("grayscale"),c=Re("hueRotate"),d=Re("invert"),f=Re("gap"),p=Re("gradientColorStops"),h=Re("gradientColorStopPositions"),m=Re("inset"),x=Re("margin"),g=Re("opacity"),y=Re("padding"),v=Re("saturate"),w=Re("scale"),C=Re("sepia"),E=Re("skew"),T=Re("space"),P=Re("translate"),k=()=>["auto","contain","none"],M=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",ie,t],I=()=>[ie,t],L=()=>["",hr,Yr],D=()=>["auto",uo,ie],B=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],N=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],$=()=>["","0",ie],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[uo,hc],ne=()=>[uo,ie];return{cacheSize:500,separator:":",theme:{colors:[$a],spacing:[hr,Yr],blur:["none","",Xr,ie],brightness:K(),borderColor:[e],borderRadius:["none","","full",Xr,ie],borderSpacing:I(),borderWidth:L(),contrast:K(),grayscale:$(),hueRotate:ne(),invert:$(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[p7,Yr],inset:A(),margin:A(),opacity:K(),padding:I(),saturate:K(),scale:K(),sepia:$(),skew:ne(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",ie]}],container:["container"],columns:[{columns:[Xr]}],"break-after":[{"break-after":z()}],"break-before":[{"break-before":z()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...B(),ie]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Ia,ie]}],basis:[{basis:A()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ie]}],grow:[{grow:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",Ia,ie]}],"grid-cols":[{"grid-cols":[$a]}],"col-start-end":[{col:["auto",{span:["full",Ia,ie]},ie]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[$a]}],"row-start-end":[{row:["auto",{span:[Ia,ie]},ie]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ie]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ie]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ie,t]}],"min-w":[{"min-w":[ie,t,"min","max","fit"]}],"max-w":[{"max-w":[ie,t,"none","full","min","max","fit","prose",{screen:[Xr]},Xr]}],h:[{h:[ie,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ie,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ie,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ie,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Xr,Yr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",hc]}],"font-family":[{font:[$a]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ie]}],"line-clamp":[{"line-clamp":["none",uo,hc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",hr,ie]}],"list-image":[{"list-image":["none",ie]}],"list-style-type":[{list:["none","disc","decimal",ie]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...N(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",hr,Yr]}],"underline-offset":[{"underline-offset":["auto",hr,ie]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...B(),g7]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",m7]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},y7]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[h]}],"gradient-via-pos":[{via:[h]}],"gradient-to-pos":[{to:[h]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...N(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:N()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...N()]}],"outline-offset":[{"outline-offset":[hr,ie]}],"outline-w":[{outline:[hr,Yr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[hr,Yr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Xr,x7]}],"shadow-color":[{shadow:[$a]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Xr,ie]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ie]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",ie]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",ie]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Ia,ie]}],"translate-x":[{"translate-x":[P]}],"translate-y":[{"translate-y":[P]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ie]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ie]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ie]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[hr,Yr,hc]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const E7=o7(C7);function P7(...e){return E7(oe(e))}const Vk=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Pp=b.createContext({}),Ey=b.createContext(null),Py=typeof document<"u",Ty=Py?b.useLayoutEffect:b.useEffect,Bk=b.createContext({strict:!1}),ky=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),T7="framerAppearId",Uk="data-"+ky(T7),k7={skipAnimations:!1,useManualTiming:!1};class $b{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function M7(e){let t=new $b,n=new $b,r=0,i=!1,o=!1;const s=new WeakSet,a={schedule:(l,u=!1,c=!1)=>{const d=c&&i,f=d?t:n;return u&&s.add(l),f.add(l)&&d&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),s.delete(l)},process:l=>{if(i){o=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(d[f]=M7(()=>n=!0),d),{}),s=d=>{o[d].process(i)},a=()=>{const d=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(d-i.timestamp,_7),1),i.timestamp=d,i.isProcessing=!0,mc.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:mc.reduce((d,f)=>{const p=o[f];return d[f]=(h,m=!1,x=!1)=>(n||l(),p.schedule(h,m,x)),d},{}),cancel:d=>mc.forEach(f=>o[f].cancel(d)),state:i,steps:o}}const{schedule:My,cancel:hq}=Wk(queueMicrotask,!1);function R7(e,t,n,r){const{visualElement:i}=b.useContext(Pp),o=b.useContext(Bk),s=b.useContext(Ey),a=b.useContext(Vk).reducedMotion,l=b.useRef();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:s,blockInitialAnimation:s?s.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;b.useInsertionEffect(()=>{u&&u.update(n,s)});const c=b.useRef(!!(n[Uk]&&!window.HandoffComplete));return Ty(()=>{u&&(My.postRender(u.render),c.current&&u.animationState&&u.animationState.animateChanges())}),b.useEffect(()=>{u&&(u.updateFeatures(),!c.current&&u.animationState&&u.animationState.animateChanges(),c.current&&(c.current=!1,window.HandoffComplete=!0))}),u}function ds(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function O7(e,t,n){return b.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ds(n)&&(n.current=r))},[t])}function tu(e){return typeof e=="string"||Array.isArray(e)}function Tp(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const _y=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ry=["initial",..._y];function kp(e){return Tp(e.animate)||Ry.some(t=>tu(e[t]))}function Hk(e){return!!(kp(e)||e.variants)}function A7(e,t){if(kp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||tu(n)?n:void 0,animate:tu(r)?r:void 0}}return e.inherit!==!1?t:{}}function I7(e){const{initial:t,animate:n}=A7(e,b.useContext(Pp));return b.useMemo(()=>({initial:t,animate:n}),[Lb(t),Lb(n)])}function Lb(e){return Array.isArray(e)?e.join(" "):e}const jb={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"]},nu={};for(const e in jb)nu[e]={isEnabled:t=>jb[e].some(n=>!!t[n])};function $7(e){for(const t in e)nu[t]={...nu[t],...e[t]}}const Gk=b.createContext({}),qk=b.createContext({}),L7=Symbol.for("motionComponentSymbol");function j7({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&$7(e);function o(a,l){let u;const c={...b.useContext(Vk),...a,layoutId:D7(a)},{isStatic:d}=c,f=I7(a),p=r(a,d);if(!d&&Py){f.visualElement=R7(i,p,c,t);const h=b.useContext(qk),m=b.useContext(Bk).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,m,e,h))}return S.jsxs(Pp.Provider,{value:f,children:[u&&f.visualElement?S.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,O7(p,f.visualElement,l),p,d,f.visualElement)]})}const s=b.forwardRef(o);return s[L7]=i,s}function D7({layoutId:e}){const t=b.useContext(Gk).id;return t&&e!==void 0?t+"-"+e:e}function F7(e){function t(r,i={}){return j7(e(r,i))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const N7=["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 Oy(e){return typeof e!="string"||e.includes("-")?!1:!!(N7.indexOf(e)>-1||/[A-Z]/u.test(e))}const qd={};function z7(e){Object.assign(qd,e)}const $u=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Fo=new Set($u);function Kk(e,{layout:t,layoutId:n}){return Fo.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!qd[e]||e==="opacity")}const Rt=e=>!!(e&&e.getVelocity),V7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},B7=$u.length;function U7(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),Yk=Qk("--"),W7=Qk("var(--"),Ay=e=>W7(e)?H7.test(e.split("/*")[0].trim()):!1,H7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,G7=(e,t)=>t&&typeof e=="number"?t.transform(e):e,zi=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},cl={...ma,transform:e=>zi(0,1,e)},gc={...ma,default:1},dl=e=>Math.round(e*1e5)/1e5,Iy=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,q7=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,K7=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function Lu(e){return typeof e=="string"}const ju=e=>({test:t=>Lu(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Jr=ju("deg"),cr=ju("%"),Z=ju("px"),Q7=ju("vh"),Y7=ju("vw"),Db={...cr,parse:e=>cr.parse(e)/100,transform:e=>cr.transform(e*100)},Fb={...ma,transform:Math.round},Xk={borderWidth:Z,borderTopWidth:Z,borderRightWidth:Z,borderBottomWidth:Z,borderLeftWidth:Z,borderRadius:Z,radius:Z,borderTopLeftRadius:Z,borderTopRightRadius:Z,borderBottomRightRadius:Z,borderBottomLeftRadius:Z,width:Z,maxWidth:Z,height:Z,maxHeight:Z,size:Z,top:Z,right:Z,bottom:Z,left:Z,padding:Z,paddingTop:Z,paddingRight:Z,paddingBottom:Z,paddingLeft:Z,margin:Z,marginTop:Z,marginRight:Z,marginBottom:Z,marginLeft:Z,rotate:Jr,rotateX:Jr,rotateY:Jr,rotateZ:Jr,scale:gc,scaleX:gc,scaleY:gc,scaleZ:gc,skew:Jr,skewX:Jr,skewY:Jr,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:cl,originX:Db,originY:Db,originZ:Z,zIndex:Fb,backgroundPositionX:Z,backgroundPositionY:Z,fillOpacity:cl,strokeOpacity:cl,numOctaves:Fb};function $y(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:a}=e;let l=!1,u=!1,c=!0;for(const d in t){const f=t[d];if(Yk(d)){o[d]=f;continue}const p=Xk[d],h=G7(f,p);if(Fo.has(d)){if(l=!0,s[d]=h,!c)continue;f!==(p.default||0)&&(c=!1)}else d.startsWith("origin")?(u=!0,a[d]=h):i[d]=h}if(t.transform||(l||r?i.transform=U7(e.transform,n,c,r):i.transform&&(i.transform="none")),u){const{originX:d="50%",originY:f="50%",originZ:p=0}=a;i.transformOrigin=`${d} ${f} ${p}`}}const Ly=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Zk(e,t,n){for(const r in t)!Rt(t[r])&&!Kk(r,n)&&(e[r]=t[r])}function X7({transformTemplate:e},t,n){return b.useMemo(()=>{const r=Ly();return $y(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function Z7(e,t,n){const r=e.style||{},i={};return Zk(i,r,e),Object.assign(i,X7(e,t,n)),i}function J7(e,t,n){const r={},i=Z7(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const eB=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Kd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||eB.has(e)}let Jk=e=>!Kd(e);function tB(e){e&&(Jk=t=>t.startsWith("on")?!Kd(t):e(t))}try{tB(require("@emotion/is-prop-valid").default)}catch{}function nB(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Jk(i)||n===!0&&Kd(i)||!t&&!Kd(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Nb(e,t,n){return typeof e=="string"?e:Z.transform(t+n*e)}function rB(e,t,n){const r=Nb(t,e.x,e.width),i=Nb(n,e.y,e.height);return`${r} ${i}`}const iB={offset:"stroke-dashoffset",array:"stroke-dasharray"},oB={offset:"strokeDashoffset",array:"strokeDasharray"};function sB(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?iB:oB;e[o.offset]=Z.transform(-r);const s=Z.transform(t),a=Z.transform(n);e[o.array]=`${s} ${a}`}function jy(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d,f){if($y(e,u,c,f),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:m}=e;p.transform&&(m&&(h.transform=p.transform),delete p.transform),m&&(i!==void 0||o!==void 0||h.transform)&&(h.transformOrigin=rB(m,i!==void 0?i:.5,o!==void 0?o:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),s!==void 0&&sB(p,s,a,l,!1)}const eM=()=>({...Ly(),attrs:{}}),Dy=e=>typeof e=="string"&&e.toLowerCase()==="svg";function aB(e,t,n,r){const i=b.useMemo(()=>{const o=eM();return jy(o,t,{enableHardwareAcceleration:!1},Dy(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Zk(o,e.style,e),i.style={...o,...i.style}}return i}function lB(e=!1){return(n,r,i,{latestValues:o},s)=>{const l=(Oy(n)?aB:J7)(r,o,s,n),u=nB(r,typeof n=="string",e),c=n!==b.Fragment?{...u,...l,ref:i}:{},{children:d}=r,f=b.useMemo(()=>Rt(d)?d.get():d,[d]);return b.createElement(n,{...c,children:f})}}function tM(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const o in n)e.style.setProperty(o,n[o])}const nM=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 rM(e,t,n,r){tM(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(nM.has(i)?i:ky(i),t.attrs[i])}function Fy(e,t,n){var r;const{style:i}=e,o={};for(const s in i)(Rt(i[s])||t.style&&Rt(t.style[s])||Kk(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(o[s]=i[s]);return o}function iM(e,t,n){const r=Fy(e,t,n);for(const i in e)if(Rt(e[i])||Rt(t[i])){const o=$u.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function Ny(e,t,n,r={},i={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,i)),t}function zy(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Yg=e=>Array.isArray(e),uB=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),cB=e=>Yg(e)?e[e.length-1]||0:e;function Bc(e){const t=Rt(e)?e.get():e;return uB(t)?t.toValue():t}function dB({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:fB(r,i,o,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}const oM=e=>(t,n)=>{const r=b.useContext(Pp),i=b.useContext(Ey),o=()=>dB(e,t,r,i);return n?o():zy(o)};function fB(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=Bc(o[f]);let{initial:s,animate:a}=e;const l=kp(e),u=Hk(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const d=c?a:s;return d&&typeof d!="boolean"&&!Tp(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{const h=Ny(e,p);if(!h)return;const{transitionEnd:m,transition:x,...g}=h;for(const y in g){let v=g[y];if(Array.isArray(v)){const w=c?v.length-1:0;v=v[w]}v!==null&&(i[y]=v)}for(const y in m)i[y]=m[y]}),i}const bt=e=>e,{schedule:Ke,cancel:Dr,state:dt,steps:Wh}=Wk(typeof requestAnimationFrame<"u"?requestAnimationFrame:bt,!0),pB={useVisualState:oM({scrapeMotionValuesFromProps:iM,createRenderState:eM,onMount:(e,t,{renderState:n,latestValues:r})=>{Ke.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Ke.render(()=>{jy(n,r,{enableHardwareAcceleration:!1},Dy(t.tagName),e.transformTemplate),rM(t,n)})}})},hB={useVisualState:oM({scrapeMotionValuesFromProps:Fy,createRenderState:Ly})};function mB(e,{forwardMotionProps:t=!1},n,r){return{...Oy(e)?pB:hB,preloadedFeatures:n,useRender:lB(t),createVisualElement:r,Component:e}}function Cr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const sM=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Mp(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const gB=e=>t=>sM(t)&&e(t,Mp(t));function _r(e,t,n,r){return Cr(e,t,gB(n),r)}const vB=(e,t)=>n=>t(e(n)),Rr=(...e)=>e.reduce(vB);function aM(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const zb=aM("dragHorizontal"),Vb=aM("dragVertical");function lM(e){let t=!1;if(e==="y")t=Vb();else if(e==="x")t=zb();else{const n=zb(),r=Vb();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function uM(){const e=lM(!0);return e?(e(),!1):!0}class Gi{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Bb(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||uM())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&l(o,s)};return _r(e.current,n,i,{passive:!e.getProps()[r]})}class yB extends Gi{mount(){this.unmount=Rr(Bb(this.node,!0),Bb(this.node,!1))}unmount(){}}class xB extends Gi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=Rr(Cr(this.node.current,"focus",()=>this.onFocus()),Cr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const cM=(e,t)=>t?e===t?!0:cM(e,t.parentElement):!1;function Hh(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Mp(n))}class wB extends Gi{constructor(){super(...arguments),this.removeStartListeners=bt,this.removeEndListeners=bt,this.removeAccessibleListeners=bt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),o=_r(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!cM(this.node.current,a.target)?c&&c(a,l):u&&u(a,l)},{passive:!(r.onTap||r.onPointerUp)}),s=_r(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Rr(o,s),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=o=>{if(o.key!=="Enter"||this.isPressing)return;const s=a=>{a.key!=="Enter"||!this.checkPressEnd()||Hh("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&c(l,u)})};this.removeEndListeners(),this.removeEndListeners=Cr(this.node.current,"keyup",s),Hh("down",(a,l)=>{this.startPress(a,l)})},n=Cr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Hh("cancel",(o,s)=>this.cancelPress(o,s))},i=Cr(this.node.current,"blur",r);this.removeAccessibleListeners=Rr(n,i)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&r(t,n)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!uM()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(t,n)}mount(){const t=this.node.getProps(),n=_r(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Cr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Rr(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Xg=new WeakMap,Gh=new WeakMap,bB=e=>{const t=Xg.get(e.target);t&&t(e)},SB=e=>{e.forEach(bB)};function CB({root:e,...t}){const n=e||document;Gh.has(n)||Gh.set(n,{});const r=Gh.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(SB,{root:e,...t})),r[i]}function EB(e,t,n){const r=CB(t);return Xg.set(e,n),r.observe(e),()=>{Xg.delete(e),r.unobserve(e)}}const PB={some:0,all:1};class TB extends Gi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:o}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:PB[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,o&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return EB(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(kB(t,n))&&this.startObserver()}unmount(){}}function kB({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const MB={inView:{Feature:TB},tap:{Feature:wB},focus:{Feature:xB},hover:{Feature:yB}};function dM(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;rt[r]=n.get()),t}function RB(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function _p(e,t,n){const r=e.getProps();return Ny(r,t,n!==void 0?n:r.custom,_B(e),RB(e))}const Ii=e=>e*1e3,Or=e=>e/1e3,OB={type:"spring",stiffness:500,damping:25,restSpeed:10},AB=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),IB={type:"keyframes",duration:.8},$B={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},LB=(e,{keyframes:t})=>t.length>2?IB:Fo.has(e)?e.startsWith("scale")?AB(t[1]):OB:$B;function jB({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function Vy(e,t){return e[t]||e.default||e}const DB=e=>e!==null;function Rp(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(DB),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}let Uc;function FB(){Uc=void 0}const $i={now:()=>(Uc===void 0&&$i.set(dt.isProcessing||k7.useManualTiming?dt.timestamp:performance.now()),Uc),set:e=>{Uc=e,queueMicrotask(FB)}},fM=e=>/^0[^.\s]+$/u.test(e);function NB(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||fM(e):!0}let zB=bt,By=bt;const pM=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),VB=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function BB(e){const t=VB.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function hM(e,t,n=1){const[r,i]=BB(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return pM(s)?parseFloat(s):s}return Ay(i)?hM(i,t,n+1):i}const UB=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ub=e=>e===ma||e===Z,Wb=(e,t)=>parseFloat(e.split(", ")[t]),Hb=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return Wb(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?Wb(o[1],e):0}},WB=new Set(["x","y","z"]),HB=$u.filter(e=>!WB.has(e));function GB(e){const t=[];return HB.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ta={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:Hb(4,13),y:Hb(5,14)};ta.translateX=ta.x;ta.translateY=ta.y;const mM=e=>t=>t.test(e),qB={test:e=>e==="auto",parse:e=>e},gM=[ma,Z,cr,Jr,Y7,Q7,qB],Gb=e=>gM.find(mM(e)),Eo=new Set;let Zg=!1,Jg=!1;function vM(){if(Jg){const e=Array.from(Eo).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=GB(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const 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&&window.scrollTo(0,r.suspendedScrollY)})}Jg=!1,Zg=!1,Eo.forEach(e=>e.complete()),Eo.clear()}function yM(){Eo.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Jg=!0)})}function KB(){yM(),vM()}class Uy{constructor(t,n,r,i,o,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=o,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Eo.add(this),Zg||(Zg=!0,Ke.read(yM),Ke.resolveKeyframes(vM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;on=>!!(Lu(n)&&K7.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),xM=(e,t,n)=>r=>{if(!Lu(r))return r;const[i,o,s,a]=r.match(Iy);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},QB=e=>zi(0,255,e),qh={...ma,transform:e=>Math.round(QB(e))},co={test:Wy("rgb","red"),parse:xM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+qh.transform(e)+", "+qh.transform(t)+", "+qh.transform(n)+", "+dl(cl.transform(r))+")"};function YB(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}}const e0={test:Wy("#"),parse:YB,transform:co.transform},fs={test:Wy("hsl","hue"),parse:xM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+cr.transform(dl(t))+", "+cr.transform(dl(n))+", "+dl(cl.transform(r))+")"},Mt={test:e=>co.test(e)||e0.test(e)||fs.test(e),parse:e=>co.test(e)?co.parse(e):fs.test(e)?fs.parse(e):e0.parse(e),transform:e=>Lu(e)?e:e.hasOwnProperty("red")?co.transform(e):fs.transform(e)};function XB(e){var t,n;return isNaN(e)&&Lu(e)&&(((t=e.match(Iy))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(q7))===null||n===void 0?void 0:n.length)||0)>0}const wM="number",bM="color",ZB="var",JB="var(",qb="${}",eU=/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 Qd(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(eU,l=>(Mt.test(l)?(r.color.push(o),i.push(bM),n.push(Mt.parse(l))):l.startsWith(JB)?(r.var.push(o),i.push(ZB),n.push(l)):(r.number.push(o),i.push(wM),n.push(parseFloat(l))),++o,qb)).split(qb);return{values:n,split:a,indexes:r,types:i}}function SM(e){return Qd(e).values}function CM(e){const{split:t,types:n}=Qd(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function nU(e){const t=SM(e);return CM(e)(t.map(tU))}const Vi={test:XB,parse:SM,createTransformer:CM,getAnimatableNone:nU},rU=new Set(["brightness","contrast","saturate","opacity"]);function iU(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Iy)||[];if(!r)return e;const i=n.replace(r,"");let o=rU.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const oU=/\b([a-z-]*)\(.*?\)/gu,t0={...Vi,getAnimatableNone:e=>{const t=e.match(oU);return t?t.map(iU).join(" "):e}},sU={...Xk,color:Mt,backgroundColor:Mt,outlineColor:Mt,fill:Mt,stroke:Mt,borderColor:Mt,borderTopColor:Mt,borderRightColor:Mt,borderBottomColor:Mt,borderLeftColor:Mt,filter:t0,WebkitFilter:t0},Hy=e=>sU[e];function EM(e,t){let n=Hy(e);return n!==t0&&(n=Vi),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function aU(e,t,n){let r=0,i;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function lU(e){let t;return()=>(t===void 0&&(t=e()),t)}const Kb=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Vi.test(e)||e==="0")&&!e.startsWith("url("));function uU(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n{this.resolveFinishedPromise=t})}}function Gy(e,t){return t?e*(1e3/t):0}const dU=5;function kM(e,t,n){const r=Math.max(t-dU,0);return Gy(n-e(r),t-r)}const Kh=.001,fU=.01,pU=10,hU=.05,mU=1;function gU({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o,s=1-t;s=zi(hU,mU,s),e=zi(fU,pU,Or(e)),s<1?(i=u=>{const c=u*s,d=c*e,f=c-n,p=n0(u,s),h=Math.exp(-d);return Kh-f/p*h},o=u=>{const d=u*s*e,f=d*n+n,p=Math.pow(s,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=n0(Math.pow(u,2),s);return(-i(u)+Kh>0?-1:1)*((f-p)*h)/m}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Kh+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=yU(i,o,a);if(e=Ii(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const vU=12;function yU(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function bU(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Qb(e,wU)&&Qb(e,xU)){const n=gU(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function MM({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=bU({...r,velocity:-Or(r.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(a*u)),m=o-i,x=Or(Math.sqrt(a/u)),g=Math.abs(m)<5;n||(n=g?.01:2),t||(t=g?.005:.5);let y;if(h<1){const v=n0(x,h);y=w=>{const C=Math.exp(-h*x*w);return o-C*((p+h*x*m)/v*Math.sin(v*w)+m*Math.cos(v*w))}}else if(h===1)y=v=>o-Math.exp(-x*v)*(m+(p+x*m)*v);else{const v=x*Math.sqrt(h*h-1);y=w=>{const C=Math.exp(-h*x*w),E=Math.min(v*w,300);return o-C*((p+h*x*m)*Math.sinh(E)+v*m*Math.cosh(E))/v}}return{calculatedDuration:f&&c||null,next:v=>{const w=y(v);if(f)s.done=v>=c;else{let C=p;v!==0&&(h<1?C=kM(y,v,w):C=0);const E=Math.abs(C)<=n,T=Math.abs(o-w)<=t;s.done=E&&T}return s.value=s.done?o:w,s}}}function Yb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=P=>a!==void 0&&Pl,h=P=>a===void 0?l:l===void 0||Math.abs(a-P)-m*Math.exp(-P/r),v=P=>g+y(P),w=P=>{const k=y(P),M=v(P);f.done=Math.abs(k)<=u,f.value=f.done?g:M};let C,E;const T=P=>{p(f.value)&&(C=P,E=MM({keyframes:[f.value,h(f.value)],velocity:kM(v,P,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let k=!1;return!E&&C===void 0&&(k=!0,w(P),T(P)),C!==void 0&&P>=C?E.next(P-C):(!k&&w(P),f)}}}const _M=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,SU=1e-7,CU=12;function EU(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=_M(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>SU&&++aEU(o,0,1,e,n);return o=>o===0||o===1?o:_M(i(o),t,r)}const PU=Du(.42,0,1,1),TU=Du(0,0,.58,1),RM=Du(.42,0,.58,1),kU=e=>Array.isArray(e)&&typeof e[0]!="number",OM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,AM=e=>t=>1-e(1-t),qy=e=>1-Math.sin(Math.acos(e)),IM=AM(qy),MU=OM(qy),$M=Du(.33,1.53,.69,.99),Ky=AM($M),_U=OM(Ky),RU=e=>(e*=2)<1?.5*Ky(e):.5*(2-Math.pow(2,-10*(e-1))),OU={linear:bt,easeIn:PU,easeInOut:RM,easeOut:TU,circIn:qy,circInOut:MU,circOut:IM,backIn:Ky,backInOut:_U,backOut:$M,anticipate:RU},Xb=e=>{if(Array.isArray(e)){By(e.length===4);const[t,n,r,i]=e;return Du(t,n,r,i)}else if(typeof e=="string")return OU[e];return e},na=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},je=(e,t,n)=>e+(t-e)*n;function Qh(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 AU({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{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Qh(l,a,e+1/3),o=Qh(l,a,e),s=Qh(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const Yh=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},IU=[e0,co,fs],$U=e=>IU.find(t=>t.test(e));function Zb(e){const t=$U(e);let n=t.parse(e);return t===fs&&(n=AU(n)),n}const Jb=(e,t)=>{const n=Zb(e),r=Zb(t),i={...n};return o=>(i.red=Yh(n.red,r.red,o),i.green=Yh(n.green,r.green,o),i.blue=Yh(n.blue,r.blue,o),i.alpha=je(n.alpha,r.alpha,o),co.transform(i))};function r0(e,t){return n=>n>0?t:e}function LU(e,t){return n=>je(e,t,n)}function Qy(e){return typeof e=="number"?LU:typeof e=="string"?Ay(e)?r0:Mt.test(e)?Jb:FU:Array.isArray(e)?LM:typeof e=="object"?Mt.test(e)?Jb:jU:r0}function LM(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>Qy(o)(o,t[s]));return o=>{for(let s=0;s{for(const o in r)n[o]=r[o](i);return n}}function DU(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o{const n=Vi.createTransformer(t),r=Qd(e),i=Qd(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?Rr(LM(DU(r,i),i.values),n):r0(e,t)};function jM(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?je(e,t,n):Qy(e)(e,t)}function NU(e,t,n){const r=[],i=n||jM,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());const s=NU(t,r,i),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(zi(e[0],e[o-1],u)):l}function zU(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=na(0,t,r);e.push(je(n,1,i))}}function FM(e){const t=[0];return zU(t,e.length-1),t}function VU(e,t){return e.map(n=>n*t)}function BU(e,t){return e.map(()=>t||RM).splice(0,e.length-1)}function Yd({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=kU(r)?r.map(Xb):Xb(r),o={done:!1,value:t[0]},s=VU(n&&n.length===t.length?n:FM(t),e),a=DM(s,t,{ease:Array.isArray(i)?i:BU(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const eS=2e4;function UU(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=eS?1/0:t}const WU=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Ke.update(t,!0),stop:()=>Dr(t),now:()=>dt.isProcessing?dt.timestamp:$i.now()}},HU={decay:Yb,inertia:Yb,tween:Yd,keyframes:Yd,spring:MM},GU=e=>e/100;class Yy extends TM{constructor({KeyframeResolver:t=Uy,...n}){super(n),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:a}=this.options;a&&a()};const{name:r,motionValue:i,keyframes:o}=this.options,s=(a,l)=>this.onKeyframesResolved(a,l);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(o,s,r,i):this.resolver=new t(o,s,r,i),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o,velocity:s=0}=this.options,a=HU[n]||Yd;let l,u;a!==Yd&&typeof t[0]!="number"&&(l=Rr(GU,jM(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});o==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=UU(c));const{calculatedDuration:d}=c,f=d+i,p=f*(r+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:P}=this.options;return{done:!0,value:P[P.length-1]}}const{finalKeyframe:i,generator:o,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return o.next(0);const{delay:f,repeat:p,repeatType:h,repeatDelay:m,onUpdate:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const g=this.currentTime-f*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,w=o;if(p){const P=Math.min(this.currentTime,c)/d;let k=Math.floor(P),M=P%1;!M&&P>=1&&(M=1),M===1&&k--,k=Math.min(k,p+1),!!(k%2)&&(h==="reverse"?(M=1-M,m&&(M-=m/d)):h==="mirror"&&(w=s)),v=zi(0,1,M)*d}const C=y?{done:!1,value:l[0]}:w.next(v);a&&(C.value=a(C.value));let{done:E}=C;!y&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return T&&i!==void 0&&(C.value=Rp(l,this.options,i)),x&&x(C.value),T&&this.finish(),C}get duration(){const{resolved:t}=this;return t?Or(t.calculatedDuration):0}get time(){return Or(this.currentTime)}set time(t){t=Ii(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Or(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=WU,onPlay:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:(!this.startTime||this.state==="finished")&&(this.startTime=r),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}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(t){return this.startTime=0,this.tick(t,!0)}}const NM=e=>Array.isArray(e)&&typeof e[0]=="number";function zM(e){return!!(!e||typeof e=="string"&&e in Xy||NM(e)||Array.isArray(e)&&e.every(zM))}const Ha=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Xy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ha([0,.65,.55,1]),circOut:Ha([.55,0,1,.45]),backIn:Ha([.31,.01,.66,-.59]),backOut:Ha([.33,1.53,.69,.99])};function qU(e){return VM(e)||Xy.easeOut}function VM(e){if(e)return NM(e)?Ha(e):Array.isArray(e)?e.map(qU):Xy[e]}function KU(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=VM(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:s==="reverse"?"alternate":"normal"})}const QU=lU(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),YU=new Set(["opacity","clipPath","filter","transform"]),Xd=10,XU=2e4;function ZU(e){return e.type==="spring"||e.name==="backgroundColor"||!zM(e.ease)}function JU(e,t){const n=new Yy({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let o=0;for(;!r.done&&othis.onKeyframesResolved(o,s),n,r),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:o,ease:s,type:a,motionValue:l,name:u}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(ZU(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...h}=this.options,m=JU(t,h);t=m.keyframes,t.length===1&&(t[1]=t[0]),i=m.duration,o=m.times,s=m.ease,a="keyframes"}const c=KU(l.owner.current,u,t,{...this.options,duration:i,times:o,ease:s});return c.startTime=$i.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;l.set(Rp(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:o,type:a,ease:s,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Or(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Or(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Ii(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return bt;const{animation:r}=n;r.timeline=t,r.onfinish=null}return bt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:i,type:o,ease:s,times:a}=t;if(!(n.playState==="idle"||n.playState==="finished")){if(this.time){const{motionValue:l,onUpdate:u,onComplete:c,...d}=this.options,f=new Yy({...d,keyframes:r,duration:i,type:o,ease:s,times:a,isGenerator:!0}),p=Ii(this.time);l.setWithVelocity(f.sample(p-Xd).value,f.sample(p).value,Xd)}this.cancel()}}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:i,repeatType:o,damping:s,type:a}=t;return QU()&&r&&YU.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&o!=="mirror"&&s!==0&&a!=="inertia"}}const Zy=(e,t,n,r={},i,o)=>s=>{const a=Vy(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Ii(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:i};jB(a)||(c={...c,...LB(e,c)}),c.duration&&(c.duration=Ii(c.duration)),c.repeatDelay&&(c.repeatDelay=Ii(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!o&&t.get()!==void 0){const f=Rp(c.keyframes,a);if(f!==void 0){Ke.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!o&&tS.supports(c)?new tS(c):new Yy(c)};function Zd(e){return!!(Rt(e)&&e.add)}function Jy(e,t){e.indexOf(t)===-1&&e.push(t)}function e1(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class t1{constructor(){this.subscriptions=[]}add(t){return Jy(this.subscriptions,t),()=>e1(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let o=0;o!isNaN(parseFloat(e));class tW{constructor(t,n={}){this.version="11.1.7",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=$i.now();this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.canTrackVelocity=eW(this.current),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=$i.now()}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new t1);const r=this.events[t].add(n);return t==="change"?()=>{r(),Ke.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=$i.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>nS)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,nS);return Gy(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),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 Er(e,t){return new tW(e,t)}function nW(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Er(n))}function n1(e,t){const n=_p(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=cB(o[s]);nW(e,s,a)}}function rW({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function BM(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;const u=e.getValue("willChange");r&&(s=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in l){const p=e.getValue(f,(o=e.latestValues[f])!==null&&o!==void 0?o:null),h=l[f];if(h===void 0||d&&rW(d,f))continue;const m={delay:n,elapsed:0,...Vy(s||{},f)};let x=!1;if(window.HandoffAppearAnimations){const v=e.getProps()[Uk];if(v){const w=window.HandoffAppearAnimations(v,f);w!==null&&(m.elapsed=w,x=!0)}}p.start(Zy(f,p,h,e.shouldReduceMotion&&Fo.has(f)?{type:!1}:m,e,x));const g=p.animation;g&&(Zd(u)&&(u.add(f),g.then(()=>u.remove(f))),c.push(g))}return a&&Promise.all(c).then(()=>{Ke.update(()=>{a&&n1(e,a)})}),c}function i0(e,t,n={}){var r;const i=_p(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const s=i?()=>Promise.all(BM(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=o;return iW(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[u,c]=l==="beforeChildren"?[s,a]:[a,s];return u().then(()=>c())}else return Promise.all([s(),a(n.delay)])}function iW(e,t,n=0,r=0,i=1,o){const s=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(oW).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(i0(u,t,{...o,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function oW(e,t){return e.sortNodePosition(t)}function UM(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>i0(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=i0(e,t,n);else{const i=typeof t=="function"?_p(e,t,n.custom):t;r=Promise.all(BM(e,i,n))}return r.then(()=>{Ke.postRender(()=>{e.notify("AnimationComplete",t)})})}const sW=[..._y].reverse(),aW=_y.length;function lW(e){return t=>Promise.all(t.map(({animation:n,options:r})=>UM(e,n,r)))}function uW(e){let t=lW(e);const n=dW();let r=!0;const i=l=>(u,c)=>{var d;const f=_p(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:h,...m}=f;u={...u,...m,...h}}return u};function o(l){t=l(e)}function s(l){const u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let p={},h=1/0;for(let x=0;xh&&w,k=!1;const M=Array.isArray(v)?v:[v];let A=M.reduce(i(g),{});C===!1&&(A={});const{prevResolvedValues:I={}}=y,L={...I,...A},D=B=>{P=!0,f.has(B)&&(k=!0,f.delete(B)),y.needsAnimating[B]=!0;const N=e.getValue(B);N&&(N.liveStyle=!1)};for(const B in L){const N=A[B],H=I[B];if(p.hasOwnProperty(B))continue;let O=!1;Yg(N)&&Yg(H)?O=!dM(N,H):O=N!==H,O?N!=null?D(B):f.add(B):N!==void 0&&f.has(B)?D(B):y.protectedKeys[B]=!0}y.prevProp=v,y.prevResolvedValues=A,y.isActive&&(p={...p,...A}),r&&e.blockInitialAnimation&&(P=!1),P&&(!E||k)&&d.push(...M.map(B=>({animation:B,options:{type:g}})))}if(f.size){const x={};f.forEach(g=>{const y=e.getBaseTarget(g),v=e.getValue(g);v&&(v.liveStyle=!0),x[g]=y??null}),d.push({animation:x})}let m=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(l,u)}),n[l].isActive=u;const d=s(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:a,setAnimateFunction:o,getState:()=>n}}function cW(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!dM(t,e):!1}function Yi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dW(){return{animate:Yi(!0),whileInView:Yi(),whileHover:Yi(),whileTap:Yi(),whileDrag:Yi(),whileFocus:Yi(),exit:Yi()}}class fW extends Gi{constructor(t){super(t),t.animationState||(t.animationState=uW(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Tp(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let pW=0;class hW extends Gi{constructor(){super(...arguments),this.id=pW++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const mW={animation:{Feature:fW},exit:{Feature:hW}},rS=(e,t)=>Math.abs(e-t);function gW(e,t){const n=rS(e.x,t.x),r=rS(e.y,t.y);return Math.sqrt(n**2+r**2)}class WM{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Zh(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=gW(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:h}=d,{timestamp:m}=dt;this.history.push({...h,timestamp:m});const{onStart:x,onMove:g}=this.handlers;f||(x&&x(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Xh(f,this.transformPagePoint),Ke.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:h,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Zh(d.type==="pointercancel"?this.lastMoveEventInfo:Xh(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,x),h&&h(d,x)},!sM(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=Mp(t),a=Xh(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=dt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Zh(a,this.history)),this.removeListeners=Rr(_r(this.contextWindow,"pointermove",this.handlePointerMove),_r(this.contextWindow,"pointerup",this.handlePointerUp),_r(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Dr(this.updatePoint)}}function Xh(e,t){return t?{point:t(e.point)}:e}function iS(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Zh({point:e},t){return{point:e,delta:iS(e,HM(t)),offset:iS(e,vW(t)),velocity:yW(t,.1)}}function vW(e){return e[0]}function HM(e){return e[e.length-1]}function yW(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=HM(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ii(t)));)n--;if(!r)return{x:0,y:0};const o=Or(i.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const 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 sn(e){return e.max-e.min}function o0(e,t=0,n=.01){return Math.abs(e-t)<=n}function oS(e,t,n,r=.5){e.origin=r,e.originPoint=je(t.min,t.max,e.origin),e.scale=sn(n)/sn(t),(o0(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=je(n.min,n.max,e.origin)-e.originPoint,(o0(e.translate)||isNaN(e.translate))&&(e.translate=0)}function fl(e,t,n,r){oS(e.x,t.x,n.x,r?r.originX:void 0),oS(e.y,t.y,n.y,r?r.originY:void 0)}function sS(e,t,n){e.min=n.min+t.min,e.max=e.min+sn(t)}function xW(e,t,n){sS(e.x,t.x,n.x),sS(e.y,t.y,n.y)}function aS(e,t,n){e.min=t.min-n.min,e.max=e.min+sn(t)}function pl(e,t,n){aS(e.x,t.x,n.x),aS(e.y,t.y,n.y)}function wW(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?je(n,e,r.max):Math.min(e,n)),e}function lS(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 bW(e,{top:t,left:n,bottom:r,right:i}){return{x:lS(e.x,n,i),y:lS(e.y,t,r)}}function uS(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=na(t.min,t.max-r,e.min):r>i&&(n=na(e.min,e.max-i,t.min)),zi(0,1,n)}function EW(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const s0=.35;function PW(e=s0){return e===!1?e=0:e===!0&&(e=s0),{x:cS(e,"left","right"),y:cS(e,"top","bottom")}}function cS(e,t,n){return{min:dS(e,t),max:dS(e,n)}}function dS(e,t){return typeof e=="number"?e:e[t]||0}const fS=()=>({translate:0,scale:1,origin:0,originPoint:0}),ps=()=>({x:fS(),y:fS()}),pS=()=>({min:0,max:0}),Ge=()=>({x:pS(),y:pS()});function fn(e){return[e("x"),e("y")]}function GM({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function TW({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function kW(e,t){if(!t)return e;const 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 Jh(e){return e===void 0||e===1}function a0({scale:e,scaleX:t,scaleY:n}){return!Jh(e)||!Jh(t)||!Jh(n)}function to(e){return a0(e)||qM(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function qM(e){return hS(e.x)||hS(e.y)}function hS(e){return e&&e!=="0%"}function Jd(e,t,n){const r=e-n,i=t*r;return n+i}function mS(e,t,n,r,i){return i!==void 0&&(e=Jd(e,i,r)),Jd(e,n,r)+t}function l0(e,t=0,n=1,r,i){e.min=mS(e.min,t,n,r,i),e.max=mS(e.max,t,n,r,i)}function KM(e,{x:t,y:n}){l0(e.x,t.translate,t.scale,t.originPoint),l0(e.y,n.translate,n.scale,n.originPoint)}function MW(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let o,s;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function ri(e,t){e.min=e.min+t,e.max=e.max+t}function vS(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=je(e.min,e.max,o);l0(e,t[n],t[r],s,t.scale)}const _W=["x","scaleX","originX"],RW=["y","scaleY","originY"];function hs(e,t){vS(e.x,t,_W),vS(e.y,t,RW)}function QM(e,t){return GM(kW(e.getBoundingClientRect(),t))}function OW(e,t,n){const r=QM(e,n),{scroll:i}=t;return i&&(ri(r.x,i.offset.x),ri(r.y,i.offset.y)),r}const YM=({current:e})=>e?e.ownerDocument.defaultView:null,AW=new WeakMap;class IW{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Ge(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Mp(c,"page").point)},o=(c,d)=>{const{drag:f,dragPropagation:p,onDragStart:h}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=lM(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),fn(x=>{let g=this.getAxisMotionValue(x).get()||0;if(cr.test(g)){const{projection:y}=this.visualElement;if(y&&y.layout){const v=y.layout.layoutBox[x];v&&(g=sn(v)*(parseFloat(g)/100))}}this.originPoint[x]=g}),h&&h(c,d);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:h,onDrag:m}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:x}=d;if(p&&this.currentDirection===null){this.currentDirection=$W(x),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",d.point,x),this.updateAxis("y",d.point,x),this.visualElement.render(),m&&m(c,d)},a=(c,d)=>this.stop(c,d),l=()=>fn(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new WM(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:YM(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&o(t,n)}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!vc(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=wW(s,this.constraints[t],this.elastic[t])),o.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,o=this.constraints;n&&ds(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=bW(i.layoutBox,n):this.constraints=!1,this.elastic=PW(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&fn(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=EW(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ds(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=OW(r,i.root,this.visualElement.getTransformPagePoint());let s=SW(i.layout.layoutBox,o);if(n){const a=n(TW(s));this.hasMutatedConstraints=!!a,a&&(s=GM(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:o,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=fn(c=>{if(!vc(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,h={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...o,...d};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Zy(t,r,0,n,this.visualElement))}stopAnimation(){fn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){fn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){fn(n=>{const{drag:r}=this.getProps();if(!vc(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:a}=i.layout.layoutBox[n];o.set(t[n]-je(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ds(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};fn(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();i[s]=CW({min:l,max:l},this.constraints[s])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),fn(s=>{if(!vc(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(je(l,u,i[s]))})}addListeners(){if(!this.visualElement.current)return;AW.set(this.visualElement,this);const t=this.visualElement.current,n=_r(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();ds(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const s=Cr(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(fn(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),o(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:s=s0,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function vc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function $W(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class LW extends Gi{constructor(t){super(t),this.removeGroupControls=bt,this.removeListeners=bt,this.controls=new IW(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||bt}unmount(){this.removeGroupControls(),this.removeListeners()}}const yS=e=>(t,n)=>{e&&e(t,n)};class jW extends Gi{constructor(){super(...arguments),this.removePointerDownListener=bt}onPointerDown(t){this.session=new WM(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:YM(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:yS(t),onStart:yS(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&i(o,s)}}}mount(){this.removePointerDownListener=_r(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function DW(){const e=b.useContext(Ey);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=b.useId();return b.useEffect(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}const Wc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function xS(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const La={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;const n=xS(e,t.target.x),r=xS(e,t.target.y);return`${n}% ${r}%`}},FW={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Vi.parse(e);if(i.length>5)return r;const o=Vi.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;const u=je(a,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=u),typeof i[3+s]=="number"&&(i[3+s]/=u),o(i)}};class NW extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;z7(zW),o&&(n.group&&n.group.add(o),r&&r.register&&i&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Wc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:o}=this.props,s=r.projection;return s&&(s.isPresent=o,i||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||Ke.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),My.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function XM(e){const[t,n]=DW(),r=b.useContext(Gk);return S.jsx(NW,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(qk),isPresent:t,safeToRemove:n})}const zW={borderRadius:{...La,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:La,borderTopRightRadius:La,borderBottomLeftRadius:La,borderBottomRightRadius:La,boxShadow:FW},ZM=["TopLeft","TopRight","BottomLeft","BottomRight"],VW=ZM.length,wS=e=>typeof e=="string"?parseFloat(e):e,bS=e=>typeof e=="number"||Z.test(e);function BW(e,t,n,r,i,o){i?(e.opacity=je(0,n.opacity!==void 0?n.opacity:1,UW(r)),e.opacityExit=je(t.opacity!==void 0?t.opacity:1,0,WW(r))):o&&(e.opacity=je(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;srt?1:n(na(e,t,r))}function CS(e,t){e.min=t.min,e.max=t.max}function dn(e,t){CS(e.x,t.x),CS(e.y,t.y)}function ES(e,t,n,r,i){return e-=t,e=Jd(e,1/n,r),i!==void 0&&(e=Jd(e,1/i,r)),e}function HW(e,t=0,n=1,r=.5,i,o=e,s=e){if(cr.test(t)&&(t=parseFloat(t),t=je(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=je(o.min,o.max,r);e===o&&(a-=t),e.min=ES(e.min,t,n,a,i),e.max=ES(e.max,t,n,a,i)}function PS(e,t,[n,r,i],o,s){HW(e,t[n],t[r],t[i],t.scale,o,s)}const GW=["x","scaleX","originX"],qW=["y","scaleY","originY"];function TS(e,t,n,r){PS(e.x,t,GW,n?n.x:void 0,r?r.x:void 0),PS(e.y,t,qW,n?n.y:void 0,r?r.y:void 0)}function kS(e){return e.translate===0&&e.scale===1}function e_(e){return kS(e.x)&&kS(e.y)}function KW(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function t_(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function MS(e){return sn(e.x)/sn(e.y)}class QW{constructor(){this.members=[]}add(t){Jy(this.members,t),t.scheduleRender()}remove(t){if(e1(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const o=this.members[i];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function _S(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y,s=(n==null?void 0: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){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:p,skewY:h}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),h&&(r+=`skewY(${h}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const YW=(e,t)=>e.depth-t.depth;class XW{constructor(){this.children=[],this.isDirty=!1}add(t){Jy(this.children,t),this.isDirty=!0}remove(t){e1(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(YW),this.isDirty=!1,this.children.forEach(t)}}function ZW(e,t){const n=$i.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Dr(r),e(o-t))};return Ke.read(r,!0),()=>Dr(r)}function JW(e){window.MotionDebug&&window.MotionDebug.record(e)}function eH(e){return e instanceof SVGElement&&e.tagName!=="svg"}function tH(e,t,n){const r=Rt(e)?e:Er(e);return r.start(Zy("",r,t,n)),r.animation}const em=["","X","Y","Z"],nH={visibility:"hidden"},RS=1e3;let rH=0;const no={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function tm(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function n_({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(s={},a=t==null?void 0:t()){this.id=rH++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,no.totalNodes=no.resolvedTargetDeltas=no.recalculatedProjection=0,this.nodes.forEach(sH),this.nodes.forEach(dH),this.nodes.forEach(fH),this.nodes.forEach(aH),JW(no)},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,d&&d(),d=ZW(f,250),Wc.hasAnimatedSinceResize&&(Wc.hasAnimatedSinceResize=!1,this.nodes.forEach(AS))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||vH,{onLayoutAnimationStart:x,onLayoutAnimationComplete:g}=c.getProps(),y=!this.targetLayout||!t_(this.targetLayout,h)||p,v=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(y||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const w={...Vy(m,"layout"),onPlay:x,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else f||AS(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Dr(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(pH),this.animationId++)}getTransformTemplate(){const{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(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;cthis.update()))}clearAllSnapshots(){this.nodes.forEach(lH),this.sharedNodes.forEach(hH)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ke.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ke.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const C=w/1e3;IS(d.x,s.x,C),IS(d.y,s.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(pl(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),mH(this.relativeTarget,this.relativeTargetOrigin,f,C),v&&KW(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Ge()),dn(v,this.relativeTarget)),m&&(this.animationValues=c,BW(c,u,this.latestValues,C,y,g)),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&&(Dr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ke.update(()=>{Wc.hasAnimatedSinceResize=!0,this.currentAnimation=tH(0,RS,{...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);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(RS),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&r_(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Ge();const d=sn(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=sn(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}dn(a,l),hs(a,c),fl(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new QW),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&tm("z",s,u,this.animationValues);for(let c=0;c{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(OS),this.root.sharedNodes.clear()}}}function iH(e){e.updateLayout()}function oH(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:o}=e.options,s=n.source!==e.layout.source;o==="size"?fn(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],p=sn(f);f.min=r[d].min,f.max=f.min+p}):r_(o,n.layoutBox,r)&&fn(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],p=sn(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=ps();fl(a,r,n.layoutBox);const l=ps();s?fl(l,e.applyTransform(i,!0),n.measuredBox):fl(l,r,n.layoutBox);const u=!e_(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const h=Ge();pl(h,n.layoutBox,f.layoutBox);const m=Ge();pl(m,r,p.layoutBox),t_(h,m)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=h,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function sH(e){no.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 aH(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function lH(e){e.clearSnapshot()}function OS(e){e.clearMeasurements()}function uH(e){e.isLayoutDirty=!1}function cH(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function AS(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function dH(e){e.resolveTargetDelta()}function fH(e){e.calcProjection()}function pH(e){e.resetSkewAndRotation()}function hH(e){e.removeLeadSnapshot()}function IS(e,t,n){e.translate=je(t.translate,0,n),e.scale=je(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function $S(e,t,n,r){e.min=je(t.min,n.min,r),e.max=je(t.max,n.max,r)}function mH(e,t,n,r){$S(e.x,t.x,n.x,r),$S(e.y,t.y,n.y,r)}function gH(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const vH={duration:.45,ease:[.4,0,.1,1]},LS=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),jS=LS("applewebkit/")&&!LS("chrome/")?Math.round:bt;function DS(e){e.min=jS(e.min),e.max=jS(e.max)}function yH(e){DS(e.x),DS(e.y)}function r_(e,t,n){return e==="position"||e==="preserve-aspect"&&!o0(MS(t),MS(n),.2)}const xH=n_({attachResizeListener:(e,t)=>Cr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nm={current:void 0},i_=n_({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!nm.current){const e=new xH({});e.mount(window),e.setOptions({layoutScroll:!0}),nm.current=e}return nm.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),wH={pan:{Feature:jW},drag:{Feature:LW,ProjectionNode:i_,MeasureLayout:XM}},u0={current:null},o_={current:!1};function bH(){if(o_.current=!0,!!Py)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>u0.current=e.matches;e.addListener(t),t()}else u0.current=!1}function SH(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(Rt(o))e.addValue(i,o),Zd(r)&&r.add(i);else if(Rt(s))e.addValue(i,Er(o,{owner:e})),Zd(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const a=e.getValue(i);a.liveStyle===!0?a.jump(o):a.hasAnimated||a.set(o)}else{const a=e.getStaticValue(i);e.addValue(i,Er(a!==void 0?a:o,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const FS=new WeakMap,CH=[...gM,Mt,Vi],EH=e=>CH.find(mM(e)),s_=Object.keys(nu),PH=s_.length,NS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],TH=Ry.length;function a_(e){if(e)return e.options.allowProjection!==!1?e.projection:a_(e.parent)}class kH{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:o,visualState:s},a={}){this.resolveKeyframes=(f,p,h,m)=>new this.KeyframeResolver(f,p,h,m,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Uy,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Ke.render(this.render,!1,!0);const{latestValues:l,renderState:u}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=kp(n),this.isVariantNode=Hk(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in d){const p=d[f];l[f]!==void 0&&Rt(p)&&(p.set(l[f],!1),Zd(c)&&c.add(f))}}mount(t){this.current=t,FS.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),o_.current||bH(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:u0.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var t;FS.delete(this.current),this.projection&&this.projection.unmount(),Dr(this.notifyUpdate),Dr(this.render),this.valueSubscriptions.forEach(n=>n()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const n in this.events)this.events[n].clear();for(const n in this.features)(t=this.features[n])===null||t===void 0||t.unmount();this.current=null}bindToMotionValue(t,n){const r=Fo.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Ke.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,i,o){let s,a;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:o,layoutScroll:f,layoutRoot:p})}return a}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Ge()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Er(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let i=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return i!=null&&(typeof i=="string"&&(pM(i)||fM(i))?i=parseFloat(i):!EH(i)&&Vi.test(n)&&(i=EM(t,n)),this.setBaseTarget(t,Rt(i)?i.get():i)),Rt(i)?i.get():i}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let i;if(typeof r=="string"||typeof r=="object"){const s=Ny(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(i=s[t])}if(r&&i!==void 0)return i;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Rt(o)?o:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new t1),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class l_ extends kH{constructor(){super(...arguments),this.KeyframeResolver=PM}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}}function MH(e){return window.getComputedStyle(e)}class _H extends l_{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(Fo.has(n)){const r=Hy(n);return r&&r.default||0}else{const r=MH(t),i=(Yk(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return QM(t,n)}build(t,n,r,i){$y(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Fy(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Rt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){tM(t,n,r,i)}}class RH extends l_{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Fo.has(n)){const r=Hy(n);return r&&r.default||0}return n=nM.has(n)?n:ky(n),t.getAttribute(n)}measureInstanceViewportBox(){return Ge()}scrapeMotionValuesFromProps(t,n,r){return iM(t,n,r)}build(t,n,r,i){jy(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){rM(t,n,r,i)}mount(t){this.isSVGTag=Dy(t.tagName),super.mount(t)}}const OH=(e,t)=>Oy(e)?new RH(t,{enableHardwareAcceleration:!1}):new _H(t,{allowProjection:e!==b.Fragment,enableHardwareAcceleration:!0}),AH={layout:{ProjectionNode:i_,MeasureLayout:XM}},IH={...mW,...MB,...wH,...AH},$H=F7((e,t)=>mB(e,t,IH,OH));function LH(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(By(!!t.current),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||[])}const Hc=new WeakMap;let ei;function jH(e,t){if(t){const{inlineSize:n,blockSize:r}=t[0];return{width:n,height:r}}else return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}function DH({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Hc.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return jH(e,n)}})})}function FH(e){e.forEach(DH)}function NH(){typeof ResizeObserver>"u"||(ei=new ResizeObserver(FH))}function zH(e,t){ei||NH();const n=LH(e);return n.forEach(r=>{let i=Hc.get(r);i||(i=new Set,Hc.set(r,i)),i.add(t),ei==null||ei.observe(r)}),()=>{n.forEach(r=>{const i=Hc.get(r);i==null||i.delete(t),i!=null&&i.size||ei==null||ei.unobserve(r)})}}const Gc=new Set;let hl;function VH(){hl=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Gc.forEach(n=>n(t))},window.addEventListener("resize",hl)}function BH(e){return Gc.add(e),hl||VH(),()=>{Gc.delete(e),!Gc.size&&hl&&(hl=void 0)}}function UH(e,t){return typeof e=="function"?BH(e):zH(e,t)}const WH=50,zS=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),HH=()=>({time:0,x:zS(),y:zS()}),GH={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function VS(e,t,n,r){const i=n[t],{length:o,position:s}=GH[t],a=i.current,l=n.time;i.current=e[`scroll${s}`],i.scrollLength=e[`scroll${o}`]-e[`client${o}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=na(0,i.scrollLength,i.current);const u=r-l;i.velocity=u>WH?0:Gy(i.current-a,u)}function qH(e,t,n){VS(e,"x",t,n),VS(e,"y",t,n),t.time=n}function KH(e,t){const n={x:0,y:0};let r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName==="svg"){const i=r.getBoundingClientRect();r=r.parentElement;const o=r.getBoundingClientRect();n.x+=i.left-o.left,n.y+=i.top-o.top}else if(r instanceof SVGGraphicsElement){const{x:i,y:o}=r.getBBox();n.x+=i,n.y+=o;let s=null,a=r.parentNode;for(;!s;)a.tagName==="svg"&&(s=a),a=r.parentNode;r=s}else break;return n}const QH={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},c0={start:0,center:.5,end:1};function BS(e,t,n=0){let r=0;if(e in c0&&(e=c0[e]),typeof e=="string"){const i=parseFloat(e);e.endsWith("px")?r=i:e.endsWith("%")?e=i/100:e.endsWith("vw")?r=i/100*document.documentElement.clientWidth:e.endsWith("vh")?r=i/100*document.documentElement.clientHeight:e=i}return typeof e=="number"&&(r=t*e),n+r}const YH=[0,0];function XH(e,t,n,r){let i=Array.isArray(e)?e:YH,o=0,s=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,c0[e]?e:"0"]),o=BS(i[0],n,r),s=BS(i[1],t),o-s}const ZH={x:0,y:0};function JH(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function eG(e,t,n){const{offset:r=QH.All}=n,{target:i=e,axis:o="y"}=n,s=o==="y"?"height":"width",a=i!==e?KH(i,e):ZH,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:JH(i),u={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let c=!t[o].interpolate;const d=r.length;for(let f=0;ftG(e,r.target,n),update:i=>{qH(e,n,i),(r.offset||r.target)&&eG(e,n,r)},notify:()=>t(n)}}const ja=new WeakMap,US=new WeakMap,rm=new WeakMap,WS=e=>e===document.documentElement?window:e;function rG(e,{container:t=document.documentElement,...n}={}){let r=rm.get(t);r||(r=new Set,rm.set(t,r));const i=HH(),o=nG(t,e,i,n);if(r.add(o),!ja.has(t)){const a=()=>{for(const f of r)f.measure()},l=()=>{for(const f of r)f.update(dt.timestamp)},u=()=>{for(const f of r)f.notify()},c=()=>{Ke.read(a,!1,!0),Ke.read(l,!1,!0),Ke.update(u,!1,!0)};ja.set(t,c);const d=WS(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&US.set(t,UH(t,c)),d.addEventListener("scroll",c,{passive:!0})}const s=ja.get(t);return Ke.read(s,!1,!0),()=>{var a;Dr(s);const l=rm.get(t);if(!l||(l.delete(o),l.size))return;const u=ja.get(t);ja.delete(t),u&&(WS(t).removeEventListener("scroll",u),(a=US.get(t))===null||a===void 0||a(),window.removeEventListener("resize",u))}}function HS(e,t){zB(!!(!t||t.current))}const iG=()=>({scrollX:Er(0),scrollY:Er(0),scrollXProgress:Er(0),scrollYProgress:Er(0)});function Op({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=zy(iG);return(n?Ty:b.useEffect)(()=>(HS("target",t),HS("container",e),rG(({x:s,y:a})=>{i.scrollX.set(s.current),i.scrollXProgress.set(s.progress),i.scrollY.set(a.current),i.scrollYProgress.set(a.progress)},{...r,container:(e==null?void 0:e.current)||void 0,target:(t==null?void 0:t.current)||void 0})),[e,t,JSON.stringify(r.offset)]),i}function oG(e){e.values.forEach(t=>t.stop())}function d0(e,t){[...t].reverse().forEach(r=>{const i=e.getVariant(r);i&&n1(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{d0(o,t)})})}function sG(e,t){if(Array.isArray(t))return d0(e,t);if(typeof t=="string")return d0(e,[t]);n1(e,t)}function aG(){const e=new Set,t={subscribe(n){return e.add(n),()=>void e.delete(n)},start(n,r){const i=[];return e.forEach(o=>{i.push(UM(o,n,{transitionOverride:r}))}),Promise.all(i)},set(n){return e.forEach(r=>{sG(r,n)})},stop(){e.forEach(n=>{oG(n)})},mount(){return()=>{t.stop()}}};return t}function lG(){const e=zy(aG);return Ty(e.mount,[]),e}const uG=lG,GS=e=>{const{id:t,className:n,background:r,minSize:i,maxSize:o,speed:s,particleColor:a,particleDensity:l}=e,[u,c]=b.useState(!1);b.useEffect(()=>{HV(async p=>{await GV(p)}).then(()=>{c(!0)})},[]);const d=uG(),f=async p=>{p&&(console.log(p),d.start({opacity:1,transition:{duration:1}}))};return S.jsx($H.div,{style:{...e.sx},animate:d,className:P7("opacity-0",n),children:u&&S.jsx(WV,{id:t||"tsparticles",particlesLoaded:f,options:{background:{color:{value:r||"#0d47a1"}},fullScreen:{enable:!1,zIndex:1},fpsLimit:120,interactivity:{events:{onClick:{enable:!0,mode:"push"},onHover:{enable:!1,mode:"repulse"},resize:!0},modes:{push:{quantity:4},repulse:{distance:200,duration:.4}}},particles:{bounce:{horizontal:{value:1},vertical:{value:1}},collisions:{absorb:{speed:2},bounce:{horizontal:{value:1},vertical:{value:1}},enable:!1,maxSpeed:50,mode:"bounce",overlap:{enable:!0,retries:0}},color:{value:a||"#ffffff",animation:{h:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0},s:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0},l:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!0,offset:0}}},effect:{close:!0,fill:!0,options:{},type:{}},groups:{},move:{angle:{offset:0,value:90},attract:{distance:200,enable:!1,rotate:{x:3e3,y:3e3}},center:{x:50,y:50,mode:"percent",radius:0},decay:0,distance:{},direction:"none",drift:0,enable:!0,gravity:{acceleration:9.81,enable:!1,inverse:!1,maxSpeed:50},path:{clamp:!0,delay:{value:0},enable:!1,options:{}},outModes:{default:"out"},random:!1,size:!1,speed:{min:.1,max:1},spin:{acceleration:0,enable:!1},straight:!1,trail:{enable:!1,length:10,fill:{}},vibrate:!1,warp:!1},number:{density:{enable:!0,width:400,height:400},limit:{mode:"delete",value:0},value:l||120},opacity:{value:{min:.1,max:1},animation:{count:0,enable:!0,speed:s||4,decay:0,delay:0,sync:!1,mode:"auto",startValue:"random",destroy:"none"}},reduceDuplicates:!1,shadow:{blur:0,color:{value:"#000"},enable:!1,offset:{x:0,y:0}},shape:{close:!0,fill:!0,options:{},type:"circle"},size:{value:{min:i||1,max:o||3},animation:{count:0,enable:!1,speed:5,decay:0,delay:0,sync:!1,mode:"auto",startValue:"random",destroy:"none"}},stroke:{width:0},zIndex:{value:0,opacityRate:1,sizeRate:1,velocityRate:1},destroy:{bounds:{},mode:"none",split:{count:1,factor:{value:3},rate:{value:{min:4,max:9}},sizeOffset:!0}},roll:{darken:{enable:!1,value:0},enable:!1,enlighten:{enable:!1,value:0},mode:"vertical",speed:25},tilt:{value:0,animation:{enable:!1,speed:0,decay:0,sync:!1},direction:"clockwise",enable:!1},twinkle:{lines:{enable:!1,frequency:.05,opacity:1},particles:{enable:!1,frequency:.05,opacity:1}},wobble:{distance:5,enable:!1,speed:{angle:50,move:10}},life:{count:0,delay:{value:0,sync:!1},duration:{value:0,sync:!1}},rotate:{value:0,animation:{enable:!1,speed:0,decay:0,sync:!1},direction:"clockwise",path:!1},orbit:{animation:{count:0,enable:!1,speed:1,decay:0,delay:0,sync:!1},enable:!1,opacity:1,rotation:{value:45},width:1},links:{blink:!1,color:{value:"#fff"},consent:!1,distance:100,enable:!1,frequency:1,opacity:1,shadow:{blur:5,color:{value:"#000"},enable:!1},triangles:{enable:!1,frequency:1},width:1,warp:!1},repulse:{value:0,enabled:!1,distance:1,duration:1,factor:1,speed:1}},detectRetina:!0}})})};function qS(e){let t="",n="";e.project.tier=="Silver"?(t="#E5E4E2",n="#9E9E9E"):e.project.tier=="Gold"?(t="#EBD197",n="#B48811"):(t="#DC8E41",n="#BE7023");function r(i){let o=i.toLowerCase().replaceAll("-","").replaceAll(" ","-");return`${da.getUri()}/sponsor-logos/${o}.png`}return S.jsx(Q,{sx:{...e.sx,boxShadow:5,position:"sticky",height:"60vh",width:{xs:"100%",md:"50vw"},borderRadius:"20px",padding:"30px",background:"linear-gradient(90deg,"+t+", "+n+")"},children:S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",height:"100%",gap:"15px"},children:[S.jsx("img",{style:{maxWidth:"48px",mixBlendMode:"luminosity"},src:"/logo256.png"}),S.jsx(Q,{sx:{marginTop:"10px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"30px",maxWidth:"100%"},children:e.project.members.map(i=>S.jsx("img",{style:{maxHeight:"50px",maxWidth:"100%"},src:r(i)}))}),S.jsx(Q,{sx:{flexGrow:1}}),S.jsx(ce,{sx:{lineHeight:.7,fontSize:"2.8rem",fontWeight:"bold",color:"black",textAlign:"end"},children:e.project.tier})]})})}function u_(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,o]=W.useState(0),{scrollYProgress:s}=Op({target:t,offset:["start start","end end"]});return W.useEffect(()=>{s.on("change",a=>{a<.9&&(r(Math.abs(1-a*.08)),o(Math.abs(200*a)))})},[]),S.jsxs(Q,{sx:{...e==null?void 0:e.sx,display:"flex",flexDirection:"column",alignItems:"center",gap:"50px",minHeight:`calc(${400*(e.children.length+1)}px)`,transform:`scale(${n})`},children:[S.jsx(ce,{sx:{position:"sticky",top:`calc(${e.stickyPosition?"33vh":"130px"} - ${i}px)`,fontSize:"2.3rem",fontWeight:"bold",lineHeight:e.stickyPosition?.4:"unset"},children:e.title}),e.children.map((a,l)=>W.cloneElement(a,{sx:{position:"sticky",top:`calc(${e.stickyPosition??"25vh"} + ${l*40}px - ${i}px)`,transform:`scale(${1+l*.03})`}}))]})}function cG(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,o]=W.useState([]),{scrollYProgress:s}=Op({target:t,offset:["start start","end end"]});return W.useEffect(()=>{s.on("change",a=>{a<.9&&r(Math.abs(1-a*.08))}),o(()=>[{tier:"Gold",members:["Amazon Project Kuiper","Fischell Institute","Children's National Hospital","Praxis Engineering"]},{tier:"Gold",members:["US News","General Dynamics IT","MITRE"]},{tier:"Silver",members:["MCERSI","SECU"]},{tier:"Bronze",members:["NSA"]}])},[]),S.jsxs(Q,{sx:{width:"100%",height:"100%",display:"flex",position:"relative",justifyContent:"center",padding:{xs:"15px",md:"0px 100px 0px 50px"}},children:[S.jsxs(Q,{sx:{display:{xs:"none",md:"flex"},flexDirection:"column",width:"100%",height:"max-content",position:"sticky",top:"45vh",left:"0px",textAlign:"center"},children:[S.jsx(ce,{sx:{fontSize:"2.5rem",fontWeight:"bold"},children:"Our Sponsors"}),S.jsx(zl,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold"},children:"Want to be a part of something amazing? Sponsor us today!"})]}),e!=null&&e.mobileView?S.jsxs(Q,{sx:{display:"flex",flexDirection:"column"},children:[S.jsx(u_,{title:"Our Sponsors",stickyPosition:"40vh",children:i.map(a=>S.jsx(qS,{project:a}))}),S.jsx(zl,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold",textAlign:"center"},children:"Want to be a part of something amazing? Sponsor us today!"})]}):S.jsx(Q,{ref:t,sx:{...e==null?void 0:e.sx,flexGrow:1,display:"flex",flexDirection:"column",alignItems:"center",gap:"50px",width:"100%",minHeight:`${60*(i.length+1)}vh`,transform:`scale(${n})`},children:i.map((a,l)=>S.jsx(qS,{project:a,sx:{top:`calc(22vh + ${l*40}px)`,transform:`scale(${1+l*.03})`}}))})]})}function dG(e){const[t,n]=W.useState(""),r=()=>{var i;(i=window.open(`mailto:umdappdev@gmail.com?subject=Information Request&body=${t}`))==null||i.focus()};return S.jsxs(Q,{id:e==null?void 0:e.id,sx:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[S.jsx(ce,{id:"contact-us",sx:{fontSize:"3rem",fontWeight:"bold",textAlign:"center"},children:"Stay Connected!"}),S.jsx(ce,{sx:{textAlign:"center"},children:"We hold a lot of events thoughout the year, Keep in touch with us!"}),S.jsx(KT,{sx:{marginTop:"25px"},fontSize:"2rem"}),S.jsx(WD,{sx:{minWidth:{xs:"90%",md:"60%",lg:"40%"},marginTop:"40px"},placeholder:"Drop us an Email!",value:t,onChange:i=>{n(i.target.value)},endAdornment:S.jsx(Nl,{onClick:r,children:S.jsx(B4,{})})})]})}const KS=b.forwardRef((e,t)=>{if(e.isLoading)return"Loading...";if(e.error)return e.error.message;const n=W.useRef(null),r=W.useRef(null),{scrollYProgress:i}=Op({target:n,offset:["start start","end end"]});return W.useEffect(()=>{i.on("change",o=>{r.current&&(r.current.scrollLeft=(r.current.scrollWidth-r.current.clientWidth)*o)})},[]),S.jsx(Q,{ref:t,children:e.mobileView?S.jsx(u_,{title:"Projects",sx:{padding:"20px"},children:e.data.map(o=>S.jsx(Aw,{mobileView:!0,project:o},o._id))}):S.jsx(Q,{ref:n,sx:{height:`${e.data.length*600}px`},children:S.jsx(Q,{id:e.id,ref:r,sx:{display:"flex",gap:"30px",padding:"80px 50px 80px 50px",maxWidth:"100%",overflowX:"hidden",top:"100px",position:"sticky"},children:e.data.map(o=>S.jsx(Aw,{mobileView:!1,project:o},o._id))})})})}),QS=[{title:"About",anchor:"/#maindiv-001"},{title:"Projects",anchor:"/#subdiv-002"},{title:"Our Team",anchor:"/#team"},{title:"Sponsors",anchor:"/#sponsors"},{title:"Highlights",anchor:"/#highlights"},{title:"Contact Us",anchor:"/#contact"}];function fG(){function e(w){switch(w){case 1:return"linear-gradient(30deg, #1e1e1e, #5626a1);";case 0:return"radial-gradient(55% 55% at -3% 104%, #0F114AFF 13%, #07074178 41%, #00000014 76%, #073AFF00 99%),radial-gradient(25% 25% at 62% 54%, #2324A9C4 0%, #073AFF00 100%),radial-gradient(25% 44% at 83% 33%, #434EA3FF 0%, #44579D29 65%, #073AFF00 93%),radial-gradient(49% 81% at 45% 47%, #0891A245 0%, #073AFF00 100%),radial-gradient(113% 91% at 17% -2%, #6122A6FF 1%, #FF000000 99%),radial-gradient(142% 91% at 83% 7%, #0522A9FF 1%, #FF000000 99%),radial-gradient(142% 91% at -6% 74%, #1C2581FF 1%, #FF000000 99%),radial-gradient(142% 91% at 109% 60%, #131B36FF 0%, #205353FF 99%)0";case-1:return"linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);";case 2:return"linear-gradient(135deg, #000000, #120037, #2e002b, #170018);";case 3:return"radial-gradient(circle at 30% 30%, #5F0F40 0%, #310E68 30%, #5626a1 50%, #1e1e1e 70%, #330136 80%, #560bad 100%), linear-gradient(135deg, #5F0F40, #310E68);";case 4:return"linear-gradient(135deg, #060101, #0e0202, #160303, #1e0404);";case-2:return"linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);";default:return"black"}}const t=K4(YT.baseTheme.breakpoints.down("md")),[n,r]=W.useState(-120),[i]=W.useState([{title:"General Body Meeting, 3/25 8pm @ Iribe"}]),[o,s]=W.useState({start:0,end:0}),[a,l]=W.useState(!1);W.useEffect(()=>{a&&setTimeout(()=>{s(w=>(l(!1),w.start=w.end,w))},200)},[a]);function u(w){s(C=>(C.end!=w&&(l(!0),C.start=C.end,C.end=w,console.warn(`Gradient Transition: ${C.start} -> ${C.end}`)),C))}const c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(null),h=b.useRef(null),{scrollYProgress:m}=Op({target:c,offset:["start start","end end"]});W.useEffect(()=>{m.on("change",w=>{var L,D,B,N,H,O,$;r(Math.min(-120*(1-30*w),0));const C=(((L=c.current)==null?void 0:L.offsetHeight)??0)*w,E=(((D=f==null?void 0:f.current)==null?void 0:D.offsetTop)??0)-100,T=E+(((B=f==null?void 0:f.current)==null?void 0:B.offsetHeight)??0)+50,P=(((N=p==null?void 0:p.current)==null?void 0:N.offsetTop)??0)-50,k=P+(((H=p==null?void 0:p.current)==null?void 0:H.offsetHeight)??0)+100,M=(((O=h==null?void 0:h.current)==null?void 0:O.offsetTop)??0)-100,A=M+((($=h==null?void 0:h.current)==null?void 0:$.offsetHeight)??0)+400,I=A;C>E&&CP&&CM&&CI?u(4):u(0)})},[]);const[x]=W.useState("fixed"),{data:g,isLoading:y,error:v}=Ck({queryKey:["projects"],queryFn:async()=>await Ek.getAll()});return S.jsxs(S.Fragment,{children:[S.jsxs(Q,{ref:c,id:"maindiv-001",sx:{position:"relative"},children:[i.length<1?S.jsx(S.Fragment,{}):S.jsx(WT,{events:i}),S.jsx(kd,{links:QS,fullWidth:!0}),S.jsx(Q,{id:"paddingdiv-001",sx:{height:"50px"}}),S.jsx(Wa.ScrollContainer,{style:{position:x,scrollBehavior:"smooth",overflow:"visible",width:"100%",height:"100%"},children:S.jsx(Wa.ScrollPage,{style:{width:"100%",overflow:"visible",flexDirection:"column",display:"flex",alignItems:"center",justifyContent:"flex-start"},children:S.jsxs(Wa.Animator,{style:{width:"100%",overflow:"visible"},animation:Wa.batch(hG(1,-.5,0),pG(3,1,0),mG(0,-400,0)),children:[S.jsx("div",{id:"stars1"}),S.jsx("div",{id:"stars2"}),S.jsx("div",{id:"stars3"}),S.jsxs(ce,{sx:{flexGrow:1,fontSize:"4vw",fontWeight:"bold",textAlign:"center"},children:["Empower Code. Inspire Design.",S.jsx("br",{}),"Drive Innovation."]}),S.jsxs(Q,{id:"subdiv-001",ref:d,sx:{display:"flex",flex:1,flexWrap:"wrap",gap:4,marginLeft:{md:8},marginRight:{md:8},marginTop:"5vw",flexDirection:{xs:"column",md:"row"}},children:[S.jsx(Oh,{end:5e5,title:"Dollars Saved",prefix:"$",minWidth:336,alignSelf:{xs:"center",md:"flex-start"}}),S.jsx(Oh,{end:170,title:"Members",minWidth:81}),S.jsx(Oh,{end:5e4,title:"Lines of Code",minWidth:267,alignSelf:{xs:"center",md:"flex-end"}})]})]})})}),S.jsx(Q,{id:"paddingdiv-002",sx:{height:"100vh"}}),t?S.jsx(Q,{ref:f,sx:{padding:"10px"},id:"subdiv-002",children:S.jsx(KS,{sx:{},mobileView:!0,data:g,isLoading:y,error:v})}):S.jsx(Q,{ref:f,id:"subdiv-002",children:S.jsx(KS,{sx:{height:"300vh"},data:g,isLoading:y,error:v})}),t&&!t?S.jsx(S.Fragment,{}):S.jsxs(Q,{id:"team",ref:p,sx:{paddingTop:"100px",background:"linear-gradient(0deg, #00FFFF00 0%, #000000FF 44%, #000000FF 50%, #000000FF 56%, #073AFF00 100%)",transition:"opacity 0.5s ease"},children:[S.jsx(GS,{id:"members_sparkles",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"}),S.jsx(Q,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:S.jsx(Ez,{id:"member-carousel"})}),S.jsx(GS,{id:"members_sparkles2",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"})]}),S.jsx(Q,{id:"paddingdiv-003",sx:{height:"150px"}}),S.jsx(Q,{id:"sponsors",ref:h,children:S.jsx(cG,{mobileView:t})}),S.jsx(Q,{id:"paddingdiv-006",sx:{height:"200px"}}),S.jsx(dG,{id:"contact"}),S.jsx(Q,{id:"paddingdiv-006",sx:{height:"200px"}}),S.jsx(QT,{}),S.jsx(kd,{links:QS,translucent:!0,sx:{marginTop:"25px",zIndex:5,position:"fixed",top:`${n}px`,left:"0px"}})]}),S.jsx(Q,{id:"maindiv-002",sx:{height:"100vh",width:"100vw",position:"fixed",zIndex:-1,top:"0px","::before":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:e(o.start),transition:"opacity 0.4s",animation:"plasma 6s ease infinite",backgroundBlendMode:o.start==3?"color-dodge":"unset",opacity:a?.5:1,zIndex:1},"::after":{content:'""',position:"absolute",top:0,right:0,bottom:0,left:0,background:e(o.end),animation:"plasma 6s ease infinite",transition:"opacity 0.4s",opacity:a?1:.5,zIndex:0}}})]})}const pG=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`scale(${t*(1-r)+e*r})`)}}}),hG=(e,t,n)=>({out:{style:{opacity:r=>(r=Math.max(r-n,0),e*(1-r)+t*r)}}}),mG=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`translate(${0*(1-r)+e*r}px, ${0*(1-r)+t*r}px)`)}}});function gG(){const{projectId:e}=m5(),{data:t,isFetching:n,error:r}=Ck({queryKey:["project"],queryFn:async()=>await Ek.getById(e)});return b.useEffect(()=>{window.scrollTo(0,0)},[]),n?S.jsx(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:S.jsx(Kj,{})}):r?S.jsx(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:S.jsx(oL,{variant:"filled",severity:"error",children:"Unable to retrieve project data..."})}):S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",gap:"20px",justifyContent:"center",alignItems:"center",minHeight:"100vh"},children:[S.jsx(vG,{name:t.name,organization:t.organization}),S.jsx(yG,{description:t.description}),S.jsx(xG,{demo:t.demo}),S.jsx(wG,{members:t.members})]})}function vG(e){return S.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[S.jsx(ce,{variant:"h2",sx:{fontWeight:"bold"},children:e.name}),S.jsxs(ce,{variant:"h4",sx:{fontStyle:"italic"},children:["In collaboration with ",e.organization]})]})}function yG(e){return S.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[S.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Overview"}),S.jsx(jv,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),S.jsx(ce,{children:e.description})]})}function xG(e){return S.jsxs(Q,{children:[S.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Demo"}),S.jsx(jv,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),S.jsx(Rj,{sx:{marginTop:"15px",borderRadius:"5px",width:"clamp(25rem, 50vw, 60rem)",backgroundColor:"white",color:"black"},children:S.jsx(Fj,{component:"iframe",image:e.demo,sx:{width:"inherit",aspectRatio:"16/9",border:"none"}})})]})}function wG(e){return S.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[S.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Members"}),S.jsx(jv,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),S.jsx(Q,{sx:{marginTop:"15px",display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",gap:"10px"},children:e.members.map((t,n)=>S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",backgroundColor:"white",borderRadius:"5px",color:"black",minWidth:"15%",padding:"1rem"},children:[t.memberInfo.profileUrl?S.jsx(Td,{src:t.memberInfo.profileUrl,sx:{width:"50px",height:"50px"}},n):b.createElement(Td,{...ZT(`${t.memberInfo.firstName} ${t.memberInfo.lastName}`),sx:{width:"50px",height:"50px"},key:n}),S.jsx(ce,{variant:"subtitle1",sx:{fontWeight:"bold",marginTop:"5px"},children:`${t.memberInfo.firstName} ${t.memberInfo.lastName}`}),S.jsx(ce,{variant:"subtitle2",sx:{opacity:"0.75"},children:t.role})]}))})]})}function bG(){return S.jsx("h1",{children:"WebTierPage"})}function im(e){return S.jsxs(Q,{sx:{...e==null?void 0:e.sx,display:"flex",flexDirection:"column",justifyContent:"space-between",alignItems:"center",width:e.width,backgroundColor:"white",borderRadius:"5px",boxShadow:5,color:"black",wordBreak:"break-word"},children:[S.jsx(SG,{tier:e.tier,backgroundColor:e.backgroundColor,price:e.price}),S.jsx(EG,{backgroundColor:e.backgroundColor,benefits:e.benefits,prereq:e.prereq})]})}function SG(e){return S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"60%"},children:[S.jsx(ce,{variant:"h4",sx:{textShadow:"-2px 2px 3px gray"},children:e.tier}),S.jsxs(ce,{variant:"h2",sx:{textShadow:"-2px 2px 3px gray"},children:["$",e.price,"+"]}),S.jsx(ce,{variant:"h6",gutterBottom:!0,sx:{textShadow:"-2px 2px 3px gray"},children:"per year"}),S.jsx(CG,{tier:e.tier,backgroundColor:e.backgroundColor})]})}function CG(e){const t=lv();return S.jsx(Q,{sx:{marginTop:"0.75rem",padding:"0.5rem 1rem",boxShadow:1,backgroundColor:e.backgroundColor,borderRadius:"5px",width:"80%",textAlign:"center",cursor:"pointer"},onClick:()=>t(`/tier/${e.tier}`),children:S.jsxs(ce,{children:["Select ",e.tier," Tier →"]})})}function EG(e){return S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"left",alignItems:"top",backgroundColor:e.backgroundColor,borderRadius:"5px",padding:"1.5rem",boxShadow:12,width:"105.5%",height:"40%",boxSizing:"border-box"},children:[e.prereq&&S.jsx(ce,{gutterBottom:!0,children:`< Everything included in ${e.prereq}, plus...`}),e.benefits.map((t,n)=>S.jsx(ce,{children:`> ${t}`},n))]})}function PG(){return S.jsxs(Q,{sx:{display:"flex",flexDirection:"column",width:"100%",justifyContent:"center",alignItems:"center",gap:"35px",marginBottom:"100px"},children:[S.jsx(ce,{sx:{textAlign:"center"},variant:"h3",children:"Sponsorship Tiers"}),S.jsxs(Q,{sx:{marginTop:"40px",width:{xs:"100%",md:"75%"},display:"flex",flexDirection:"row",gap:"100px",height:"100vh",flexWrap:"wrap"},children:[S.jsx(im,{tier:"Gold",backgroundColor:"gold",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),S.jsx(im,{tier:"Silver",backgroundColor:"silver",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),S.jsx(im,{tier:"Bronze",backgroundColor:"#CD7F32",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}})]})]})}const TG=new f9;om.createRoot(document.getElementById("root")).render(S.jsx($5,{children:S.jsx(v9,{client:TG,children:S.jsxs(o$,{theme:YT.baseTheme,children:[S.jsx(Zj,{}),S.jsxs(O5,{children:[S.jsx(Ko,{path:"/",element:S.jsx(fG,{})}),S.jsxs(Ko,{path:"/",element:S.jsx(dF,{}),children:[S.jsx(Ko,{path:"/project/:projectId",element:S.jsx(gG,{})}),S.jsx(Ko,{path:"tier/:tier",element:S.jsx(bG,{})}),S.jsx(Ko,{path:"/sponsor-us",element:S.jsx(PG,{})})]})]})]})})}));export{eq as $,FG as A,DG as B,RG as C,OG as D,HG as E,WG as F,CV as G,pt as H,Ts as I,fr as J,BG as K,wy as L,iq as M,UG as N,Co as O,dq as P,Ak as Q,rq as R,Rk as S,Cp as T,qG as U,jn as V,Mk as W,VG as X,ZG as Y,tq as Z,Te as _,zG as a,nq as a0,Ok as a1,XG as a2,Sp as a3,DV as a4,zV as a5,JG as a6,cq as a7,uq as a8,by as a9,QG as aa,oq as ab,fq as ac,pq as ad,cs as ae,YG as af,PV as b,xy as c,Jl as d,eu as e,Rb as f,lq as g,pa as h,Do as i,pc as j,NG as k,GG as l,Gd as m,aq as n,KG as o,Nh as p,kk as q,sq as r,ul as s,AG as t,IG as u,LG as v,$G as w,_G as x,MG as y,jG as z}; diff --git a/dist/assets/index-CPMMYeyg.js b/dist/assets/index-CPMMYeyg.js deleted file mode 100644 index b7a7b2a..0000000 --- a/dist/assets/index-CPMMYeyg.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/PolygonDrawer-BKQRVRM3.js","assets/PolygonDrawerBase--EWEMZNr.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/TriangleDrawer-XtxRI3T8.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as n}from"./index-CYTvHIKC.js";async function e(a,o=!0){const{PolygonDrawer:t}=await n(()=>import("./PolygonDrawer-BKQRVRM3.js"),__vite__mapDeps([0,1,2,3]));await a.addShape("polygon",new t,o)}async function i(a,o=!0){const{TriangleDrawer:t}=await n(()=>import("./TriangleDrawer-XtxRI3T8.js"),__vite__mapDeps([4,1,2,3]));await a.addShape("triangle",new t,o)}async function _(a,o=!0){await e(a,o),await i(a,o)}export{e as loadGenericPolygonShape,_ as loadPolygonShape,i as loadTriangleShape}; diff --git a/dist/assets/index-CqGupFKm.js b/dist/assets/index-CV36ytSU.js similarity index 58% rename from dist/assets/index-CqGupFKm.js rename to dist/assets/index-CV36ytSU.js index 2a37c1c..7a7e77c 100644 --- a/dist/assets/index-CqGupFKm.js +++ b/dist/assets/index-CV36ytSU.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Remover-VjoKCGFM.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] + __vite__mapDeps.viteFileDeps = ["assets/Remover-CAMmhkau.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{s as o,_ as r}from"./index-CYTvHIKC.js";class s{constructor(){this.quantity=2}load(t){if(!t)return;const e=t.quantity;e!==void 0&&(this.quantity=o(e))}}async function u(n,t=!0){await n.addInteractor("externalRemove",async e=>{const{Remover:a}=await r(()=>import("./Remover-VjoKCGFM.js"),__vite__mapDeps([0,1,2,3]));return new a(e)},t)}export{s as Remove,u as loadExternalRemoveInteraction}; +import{s as o,_ as r}from"./index-CJxpASZZ.js";class s{constructor(){this.quantity=2}load(t){if(!t)return;const e=t.quantity;e!==void 0&&(this.quantity=o(e))}}async function u(n,t=!0){await n.addInteractor("externalRemove",async e=>{const{Remover:a}=await r(()=>import("./Remover-CAMmhkau.js"),__vite__mapDeps([0,1,2,3]));return new a(e)},t)}export{s as Remove,u as loadExternalRemoveInteraction}; diff --git a/dist/assets/index-BNcvO0hq.js b/dist/assets/index-C_7Vmouq.js similarity index 56% rename from dist/assets/index-BNcvO0hq.js rename to dist/assets/index-C_7Vmouq.js index a02b181..cfb1eb2 100644 --- a/dist/assets/index-BNcvO0hq.js +++ b/dist/assets/index-C_7Vmouq.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Collider-Dshx8aOP.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/ParticlesInteractorBase-vfDeBun3.js"] + __vite__mapDeps.viteFileDeps = ["assets/Collider-C4jpcmye.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/ParticlesInteractorBase-vfDeBun3.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as a}from"./index-CYTvHIKC.js";async function n(t,o=!0){await t.addInteractor("particlesCollisions",async i=>{const{Collider:r}=await a(()=>import("./Collider-Dshx8aOP.js"),__vite__mapDeps([0,1,2,3]));return new r(i)},o)}export{n as loadParticlesCollisionsInteraction}; +import{_ as a}from"./index-CJxpASZZ.js";async function n(t,o=!0){await t.addInteractor("particlesCollisions",async i=>{const{Collider:r}=await a(()=>import("./Collider-C4jpcmye.js"),__vite__mapDeps([0,1,2,3]));return new r(i)},o)}export{n as loadParticlesCollisionsInteraction}; diff --git a/dist/assets/index-CQuCEwmM.js b/dist/assets/index-Clada0oI.js similarity index 75% rename from dist/assets/index-CQuCEwmM.js rename to dist/assets/index-Clada0oI.js index 9bc93ad..c050453 100644 --- a/dist/assets/index-CQuCEwmM.js +++ b/dist/assets/index-Clada0oI.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Attractor-ZMvGtd-M.js","assets/Ranges-b1hBXe_8.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Attractor-BQi0XouW.js","assets/Ranges-DnczzUUT.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-CYTvHIKC.js";class o{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed),e.speed!==void 0&&(this.speed=e.speed))}}async function d(t,e=!0){await t.addInteractor("externalAttract",async i=>{const{Attractor:n}=await s(()=>import("./Attractor-ZMvGtd-M.js"),__vite__mapDeps([0,1,2,3,4]));return new n(t,i)},e)}export{o as Attract,d as loadExternalAttractInteraction}; +import{_ as s}from"./index-CJxpASZZ.js";class o{constructor(){this.distance=200,this.duration=.4,this.easing="ease-out-quad",this.factor=1,this.maxSpeed=50,this.speed=1}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed),e.speed!==void 0&&(this.speed=e.speed))}}async function d(t,e=!0){await t.addInteractor("externalAttract",async i=>{const{Attractor:n}=await s(()=>import("./Attractor-BQi0XouW.js"),__vite__mapDeps([0,1,2,3,4]));return new n(t,i)},e)}export{o as Attract,d as loadExternalAttractInteraction}; diff --git a/dist/assets/index-CueRaInA.js b/dist/assets/index-CueRaInA.js new file mode 100644 index 0000000..98e36c3 --- /dev/null +++ b/dist/assets/index-CueRaInA.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/CircleDrawer-QxRsx_Ek.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as i}from"./index-CJxpASZZ.js";async function o(a,e=!0){const{CircleDrawer:r}=await i(()=>import("./CircleDrawer-QxRsx_Ek.js"),__vite__mapDeps([0,1,2]));await a.addShape("circle",new r,e)}export{o as loadCircleShape}; diff --git a/dist/assets/index-3meJaKlq.js b/dist/assets/index-Cvi7N9S1.js similarity index 50% rename from dist/assets/index-3meJaKlq.js rename to dist/assets/index-Cvi7N9S1.js index 8d4bd42..1367cee 100644 --- a/dist/assets/index-3meJaKlq.js +++ b/dist/assets/index-Cvi7N9S1.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/ParallaxMover-CTSYHSzX.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] + __vite__mapDeps.viteFileDeps = ["assets/ParallaxMover-kzVogX7p.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as t}from"./index-CYTvHIKC.js";async function l(a,r=!0){await a.addMover("parallax",async()=>{const{ParallaxMover:o}=await t(()=>import("./ParallaxMover-CTSYHSzX.js"),__vite__mapDeps([0,1,2]));return new o},r)}export{l as loadParallaxMover}; +import{_ as t}from"./index-CJxpASZZ.js";async function l(a,r=!0){await a.addMover("parallax",async()=>{const{ParallaxMover:o}=await t(()=>import("./ParallaxMover-kzVogX7p.js"),__vite__mapDeps([0,1,2]));return new o},r)}export{l as loadParallaxMover}; diff --git a/dist/assets/index-CosJ1068.js b/dist/assets/index-CznPTJO-.js similarity index 68% rename from dist/assets/index-CosJ1068.js rename to dist/assets/index-CznPTJO-.js index d761b91..b0fb9d7 100644 --- a/dist/assets/index-CosJ1068.js +++ b/dist/assets/index-CznPTJO-.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Grabber-Cd78gnPz.js","assets/CanvasUtils-DaiPNicA.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/OptionsColor-JcjSYShv.js"] + __vite__mapDeps.viteFileDeps = ["assets/Grabber-DgONdUW1.js","assets/CanvasUtils-Drs4jJ1v.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/OptionsColor-HO1oIr3o.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-CYTvHIKC.js";import{O as s}from"./OptionsColor-JcjSYShv.js";class r{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(i){i&&(i.blink!==void 0&&(this.blink=i.blink),i.color!==void 0&&(this.color=s.create(this.color,i.color)),i.consent!==void 0&&(this.consent=i.consent),i.opacity!==void 0&&(this.opacity=i.opacity))}}class f{constructor(){this.distance=100,this.links=new r}load(i){i&&(i.distance!==void 0&&(this.distance=i.distance),this.links.load(i.links))}}async function a(n,i=!0){await n.addInteractor("externalGrab",async o=>{const{Grabber:t}=await e(()=>import("./Grabber-Cd78gnPz.js"),__vite__mapDeps([0,1,2,3,4,5]));return new t(o)},i)}export{f as Grab,r as GrabLinks,a as loadExternalGrabInteraction}; +import{_ as e}from"./index-CJxpASZZ.js";import{O as s}from"./OptionsColor-HO1oIr3o.js";class r{constructor(){this.blink=!1,this.consent=!1,this.opacity=1}load(i){i&&(i.blink!==void 0&&(this.blink=i.blink),i.color!==void 0&&(this.color=s.create(this.color,i.color)),i.consent!==void 0&&(this.consent=i.consent),i.opacity!==void 0&&(this.opacity=i.opacity))}}class f{constructor(){this.distance=100,this.links=new r}load(i){i&&(i.distance!==void 0&&(this.distance=i.distance),this.links.load(i.links))}}async function a(n,i=!0){await n.addInteractor("externalGrab",async o=>{const{Grabber:t}=await e(()=>import("./Grabber-DgONdUW1.js"),__vite__mapDeps([0,1,2,3,4,5]));return new t(o)},i)}export{f as Grab,r as GrabLinks,a as loadExternalGrabInteraction}; diff --git a/dist/assets/index-D3yz9_Gs.js b/dist/assets/index-D3yz9_Gs.js new file mode 100644 index 0000000..cb21053 --- /dev/null +++ b/dist/assets/index-D3yz9_Gs.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/BaseMover-j1I4DL1Y.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as r}from"./index-CJxpASZZ.js";async function _(a,e=!0){await a.addMover("base",async()=>{const{BaseMover:o}=await r(()=>import("./BaseMover-j1I4DL1Y.js"),__vite__mapDeps([0,1,2]));return new o},e)}export{_ as loadBaseMover}; diff --git a/dist/assets/index-D4tBx9a3.js b/dist/assets/index-D4tBx9a3.js deleted file mode 100644 index b8a9359..0000000 --- a/dist/assets/index-D4tBx9a3.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/BaseMover-FW9ypsIU.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as r}from"./index-CYTvHIKC.js";async function _(a,e=!0){await a.addMover("base",async()=>{const{BaseMover:o}=await r(()=>import("./BaseMover-FW9ypsIU.js"),__vite__mapDeps([0,1,2]));return new o},e)}export{_ as loadBaseMover}; diff --git a/dist/assets/index-CjLrJtgB.js b/dist/assets/index-DAyO1b0R.js similarity index 75% rename from dist/assets/index-CjLrJtgB.js rename to dist/assets/index-DAyO1b0R.js index 71baf2b..ca4f6f1 100644 --- a/dist/assets/index-CjLrJtgB.js +++ b/dist/assets/index-DAyO1b0R.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Repulser-7umwphMB.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-b1hBXe_8.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] + __vite__mapDeps.viteFileDeps = ["assets/Repulser-CDRVeZKz.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-DnczzUUT.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{e as r,_ as o}from"./index-CYTvHIKC.js";class t{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.speed!==void 0&&(this.speed=e.speed),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed))}}class u extends t{constructor(){super(),this.selectors=[]}load(e){super.load(e),e&&e.selectors!==void 0&&(this.selectors=e.selectors)}}class c extends t{load(e){super.load(e),e&&(this.divs=r(e.divs,n=>{const i=new u;return i.load(n),i}))}}async function l(s,e=!0){await s.addInteractor("externalRepulse",async n=>{const{Repulser:i}=await o(()=>import("./Repulser-7umwphMB.js"),__vite__mapDeps([0,1,2,3,4]));return new i(s,n)},e)}export{c as Repulse,t as RepulseBase,u as RepulseDiv,l as loadExternalRepulseInteraction}; +import{e as r,_ as o}from"./index-CJxpASZZ.js";class t{constructor(){this.distance=200,this.duration=.4,this.factor=100,this.speed=1,this.maxSpeed=50,this.easing="ease-out-quad"}load(e){e&&(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.easing!==void 0&&(this.easing=e.easing),e.factor!==void 0&&(this.factor=e.factor),e.speed!==void 0&&(this.speed=e.speed),e.maxSpeed!==void 0&&(this.maxSpeed=e.maxSpeed))}}class u extends t{constructor(){super(),this.selectors=[]}load(e){super.load(e),e&&e.selectors!==void 0&&(this.selectors=e.selectors)}}class c extends t{load(e){super.load(e),e&&(this.divs=r(e.divs,n=>{const i=new u;return i.load(n),i}))}}async function l(s,e=!0){await s.addInteractor("externalRepulse",async n=>{const{Repulser:i}=await o(()=>import("./Repulser-CDRVeZKz.js"),__vite__mapDeps([0,1,2,3,4]));return new i(s,n)},e)}export{c as Repulse,t as RepulseBase,u as RepulseDiv,l as loadExternalRepulseInteraction}; diff --git a/dist/assets/index-p2mq898M.js b/dist/assets/index-DC0x-VFn.js similarity index 72% rename from dist/assets/index-p2mq898M.js rename to dist/assets/index-DC0x-VFn.js index 0e65d1a..2c5995c 100644 --- a/dist/assets/index-p2mq898M.js +++ b/dist/assets/index-DC0x-VFn.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Connector-Dhm4baxv.js","assets/CanvasUtils-DaiPNicA.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Connector-WyxHWlsd.js","assets/CanvasUtils-Drs4jJ1v.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-CYTvHIKC.js";class o{constructor(){this.opacity=.5}load(n){n&&n.opacity!==void 0&&(this.opacity=n.opacity)}}class c{constructor(){this.distance=80,this.links=new o,this.radius=60}load(n){n&&(n.distance!==void 0&&(this.distance=n.distance),this.links.load(n.links),n.radius!==void 0&&(this.radius=n.radius))}}async function a(i,n=!0){await i.addInteractor("externalConnect",async t=>{const{Connector:e}=await s(()=>import("./Connector-Dhm4baxv.js"),__vite__mapDeps([0,1,2,3,4]));return new e(t)},n)}export{c as Connect,o as ConnectLinks,a as loadExternalConnectInteraction}; +import{_ as s}from"./index-CJxpASZZ.js";class o{constructor(){this.opacity=.5}load(n){n&&n.opacity!==void 0&&(this.opacity=n.opacity)}}class c{constructor(){this.distance=80,this.links=new o,this.radius=60}load(n){n&&(n.distance!==void 0&&(this.distance=n.distance),this.links.load(n.links),n.radius!==void 0&&(this.radius=n.radius))}}async function a(i,n=!0){await i.addInteractor("externalConnect",async t=>{const{Connector:e}=await s(()=>import("./Connector-WyxHWlsd.js"),__vite__mapDeps([0,1,2,3,4]));return new e(t)},n)}export{c as Connect,o as ConnectLinks,a as loadExternalConnectInteraction}; diff --git a/dist/assets/index-DEgkCBlk.js b/dist/assets/index-DEgkCBlk.js new file mode 100644 index 0000000..f76cf79 --- /dev/null +++ b/dist/assets/index-DEgkCBlk.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/RotateUpdater-BLDUlKfi.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/ValueWithRandom-WRswW1do.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as o}from"./index-CJxpASZZ.js";async function i(t,a=!0){await t.addParticleUpdater("rotate",async e=>{const{RotateUpdater:r}=await o(()=>import("./RotateUpdater-BLDUlKfi.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{i as loadRotateUpdater}; diff --git a/dist/assets/index-DHeEEZMv.js b/dist/assets/index-DGt3Me6E.js similarity index 52% rename from dist/assets/index-DHeEEZMv.js rename to dist/assets/index-DGt3Me6E.js index 09bc8ca..6c0a96d 100644 --- a/dist/assets/index-DHeEEZMv.js +++ b/dist/assets/index-DGt3Me6E.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/OpacityUpdater-CS8PdoIF.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] + __vite__mapDeps.viteFileDeps = ["assets/OpacityUpdater-W7Ekjb0G.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-CYTvHIKC.js";async function p(t,a=!0){await t.addParticleUpdater("opacity",async r=>{const{OpacityUpdater:e}=await i(()=>import("./OpacityUpdater-CS8PdoIF.js"),__vite__mapDeps([0,1,2]));return new e(r)},a)}export{p as loadOpacityUpdater}; +import{_ as i}from"./index-CJxpASZZ.js";async function p(t,a=!0){await t.addParticleUpdater("opacity",async r=>{const{OpacityUpdater:e}=await i(()=>import("./OpacityUpdater-W7Ekjb0G.js"),__vite__mapDeps([0,1,2]));return new e(r)},a)}export{p as loadOpacityUpdater}; diff --git a/dist/assets/index-DJVL492U.js b/dist/assets/index-DJVL492U.js new file mode 100644 index 0000000..e0c8b33 --- /dev/null +++ b/dist/assets/index-DJVL492U.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/Attractor-BH5kyhIA.js","assets/ParticlesInteractorBase-vfDeBun3.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as c}from"./index-CJxpASZZ.js";async function i(t,r=!0){await t.addInteractor("particlesAttract",async a=>{const{Attractor:o}=await c(()=>import("./Attractor-BH5kyhIA.js"),__vite__mapDeps([0,1,2,3]));return new o(a)},r)}export{i as loadParticlesAttractInteraction}; diff --git a/dist/assets/index-B34GJMjC.js b/dist/assets/index-DJb5KwUd.js similarity index 53% rename from dist/assets/index-B34GJMjC.js rename to dist/assets/index-DJb5KwUd.js index 95baeb1..4516c84 100644 --- a/dist/assets/index-B34GJMjC.js +++ b/dist/assets/index-DJb5KwUd.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/OutOfCanvasUpdater-D-Ot1Um4.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] + __vite__mapDeps.viteFileDeps = ["assets/OutOfCanvasUpdater-ZABA4fch.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as o}from"./index-CYTvHIKC.js";async function i(t,a=!0){await t.addParticleUpdater("outModes",async e=>{const{OutOfCanvasUpdater:r}=await o(()=>import("./OutOfCanvasUpdater-D-Ot1Um4.js"),__vite__mapDeps([0,1,2]));return new r(e)},a)}export{i as loadOutModesUpdater}; +import{_ as o}from"./index-CJxpASZZ.js";async function i(t,a=!0){await t.addParticleUpdater("outModes",async e=>{const{OutOfCanvasUpdater:r}=await o(()=>import("./OutOfCanvasUpdater-ZABA4fch.js"),__vite__mapDeps([0,1,2]));return new r(e)},a)}export{i as loadOutModesUpdater}; diff --git a/dist/assets/index-BI_ou2fV.js b/dist/assets/index-DK7Jnqky.js similarity index 70% rename from dist/assets/index-BI_ou2fV.js rename to dist/assets/index-DK7Jnqky.js index 54717f8..1f8bf0f 100644 --- a/dist/assets/index-BI_ou2fV.js +++ b/dist/assets/index-DK7Jnqky.js @@ -1 +1 @@ -import{_ as t}from"./index-CYTvHIKC.js";async function _(a,e=!0){const{SquareDrawer:r}=await t(()=>import("./SquareDrawer-C3wQIQqh.js"),[]);await a.addShape(["edge","square"],new r,e)}export{_ as loadSquareShape}; +import{_ as t}from"./index-CJxpASZZ.js";async function _(a,e=!0){const{SquareDrawer:r}=await t(()=>import("./SquareDrawer-C3wQIQqh.js"),[]);await a.addShape(["edge","square"],new r,e)}export{_ as loadSquareShape}; diff --git a/dist/assets/index-DVMKyl2z.js b/dist/assets/index-DVMKyl2z.js deleted file mode 100644 index 3c1dd8c..0000000 --- a/dist/assets/index-DVMKyl2z.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/RotateUpdater-D9suAhld.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/ValueWithRandom-IhTq0bgn.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as o}from"./index-CYTvHIKC.js";async function i(t,a=!0){await t.addParticleUpdater("rotate",async e=>{const{RotateUpdater:r}=await o(()=>import("./RotateUpdater-D9suAhld.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{i as loadRotateUpdater}; diff --git a/dist/assets/index-DaLviKN2.js b/dist/assets/index-DaLviKN2.js deleted file mode 100644 index 1347f85..0000000 --- a/dist/assets/index-DaLviKN2.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/CircleDrawer-BmHdoPzR.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as i}from"./index-CYTvHIKC.js";async function o(a,e=!0){const{CircleDrawer:r}=await i(()=>import("./CircleDrawer-BmHdoPzR.js"),__vite__mapDeps([0,1,2]));await a.addShape("circle",new r,e)}export{o as loadCircleShape}; diff --git a/dist/assets/index-DgGg2DSW.js b/dist/assets/index-DgGg2DSW.js new file mode 100644 index 0000000..289e5fc --- /dev/null +++ b/dist/assets/index-DgGg2DSW.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/PolygonDrawer-cItkLXOK.js","assets/PolygonDrawerBase-Onl_Kjwb.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/TriangleDrawer-BnFSyWmV.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as n}from"./index-CJxpASZZ.js";async function e(a,o=!0){const{PolygonDrawer:t}=await n(()=>import("./PolygonDrawer-cItkLXOK.js"),__vite__mapDeps([0,1,2,3]));await a.addShape("polygon",new t,o)}async function i(a,o=!0){const{TriangleDrawer:t}=await n(()=>import("./TriangleDrawer-BnFSyWmV.js"),__vite__mapDeps([4,1,2,3]));await a.addShape("triangle",new t,o)}async function _(a,o=!0){await e(a,o),await i(a,o)}export{e as loadGenericPolygonShape,_ as loadPolygonShape,i as loadTriangleShape}; diff --git a/dist/assets/index-DdkCyka8.js b/dist/assets/index-Dguich7Z.js similarity index 70% rename from dist/assets/index-DdkCyka8.js rename to dist/assets/index-Dguich7Z.js index 7878c26..d21a1d6 100644 --- a/dist/assets/index-DdkCyka8.js +++ b/dist/assets/index-Dguich7Z.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Pusher-JboobTDU.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Pusher-Dp8AkZ5S.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{s,_ as n}from"./index-CYTvHIKC.js";class o{constructor(){this.default=!0,this.groups=[],this.quantity=4}load(t){if(!t)return;t.default!==void 0&&(this.default=t.default),t.groups!==void 0&&(this.groups=t.groups.map(u=>u)),this.groups.length||(this.default=!0);const e=t.quantity;e!==void 0&&(this.quantity=s(e))}}async function a(i,t=!0){await i.addInteractor("externalPush",async e=>{const{Pusher:u}=await n(()=>import("./Pusher-JboobTDU.js"),__vite__mapDeps([0,1,2,3]));return new u(e)},t)}export{o as Push,a as loadExternalPushInteraction}; +import{s,_ as n}from"./index-CJxpASZZ.js";class o{constructor(){this.default=!0,this.groups=[],this.quantity=4}load(t){if(!t)return;t.default!==void 0&&(this.default=t.default),t.groups!==void 0&&(this.groups=t.groups.map(u=>u)),this.groups.length||(this.default=!0);const e=t.quantity;e!==void 0&&(this.quantity=s(e))}}async function a(i,t=!0){await i.addInteractor("externalPush",async e=>{const{Pusher:u}=await n(()=>import("./Pusher-Dp8AkZ5S.js"),__vite__mapDeps([0,1,2,3]));return new u(e)},t)}export{o as Push,a as loadExternalPushInteraction}; diff --git a/dist/assets/index-DqAgQ421.js b/dist/assets/index-DqAgQ421.js new file mode 100644 index 0000000..077f42c --- /dev/null +++ b/dist/assets/index-DqAgQ421.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/index-D3yz9_Gs.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/index-CueRaInA.js","assets/index-12eRyUHC.js","assets/index-DGt3Me6E.js","assets/index-DJb5KwUd.js","assets/index-BQidWiOF.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as t}from"./index-CJxpASZZ.js";async function s(a,_=!0){const{loadBaseMover:o}=await t(()=>import("./index-D3yz9_Gs.js"),__vite__mapDeps([0,1,2])),{loadCircleShape:i}=await t(()=>import("./index-CueRaInA.js"),__vite__mapDeps([3,1,2])),{loadColorUpdater:r}=await t(()=>import("./index-12eRyUHC.js"),__vite__mapDeps([4,1,2])),{loadOpacityUpdater:d}=await t(()=>import("./index-DGt3Me6E.js"),__vite__mapDeps([5,1,2])),{loadOutModesUpdater:e}=await t(()=>import("./index-DJb5KwUd.js"),__vite__mapDeps([6,1,2])),{loadSizeUpdater:l}=await t(()=>import("./index-BQidWiOF.js"),__vite__mapDeps([7,1,2]));await o(a,!1),await i(a,!1),await r(a,!1),await d(a,!1),await e(a,!1),await l(a,!1),await a.refresh(_)}export{s as loadBasic}; diff --git a/dist/assets/index-DqyxdS8o.js b/dist/assets/index-DqyxdS8o.js deleted file mode 100644 index 6f89542..0000000 --- a/dist/assets/index-DqyxdS8o.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Attractor-CMg9kTHM.js","assets/ParticlesInteractorBase-vfDeBun3.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as c}from"./index-CYTvHIKC.js";async function i(t,r=!0){await t.addInteractor("particlesAttract",async a=>{const{Attractor:o}=await c(()=>import("./Attractor-CMg9kTHM.js"),__vite__mapDeps([0,1,2,3]));return new o(a)},r)}export{i as loadParticlesAttractInteraction}; diff --git a/dist/assets/index-CVKDif1s.js b/dist/assets/index-DrCKTKHk.js similarity index 55% rename from dist/assets/index-CVKDif1s.js rename to dist/assets/index-DrCKTKHk.js index 40221c9..d56df49 100644 --- a/dist/assets/index-CVKDif1s.js +++ b/dist/assets/index-DrCKTKHk.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Bouncer-CIopNQs6.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/Ranges-b1hBXe_8.js","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Bouncer-DeFVj88L.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/Ranges-DnczzUUT.js","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as o}from"./index-CYTvHIKC.js";class i{constructor(){this.distance=200}load(n){n&&n.distance!==void 0&&(this.distance=n.distance)}}async function a(t,n=!0){await t.addInteractor("externalBounce",async e=>{const{Bouncer:r}=await o(()=>import("./Bouncer-CIopNQs6.js"),__vite__mapDeps([0,1,2,3,4]));return new r(e)},n)}export{i as Bounce,a as loadExternalBounceInteraction}; +import{_ as o}from"./index-CJxpASZZ.js";class i{constructor(){this.distance=200}load(n){n&&n.distance!==void 0&&(this.distance=n.distance)}}async function a(t,n=!0){await t.addInteractor("externalBounce",async e=>{const{Bouncer:r}=await o(()=>import("./Bouncer-DeFVj88L.js"),__vite__mapDeps([0,1,2,3,4]));return new r(e)},n)}export{i as Bounce,a as loadExternalBounceInteraction}; diff --git a/dist/assets/index-DCYUMcqo.js b/dist/assets/index-Dsi4lupD.js similarity index 72% rename from dist/assets/index-DCYUMcqo.js rename to dist/assets/index-Dsi4lupD.js index 1a6d742..0dadc24 100644 --- a/dist/assets/index-DCYUMcqo.js +++ b/dist/assets/index-Dsi4lupD.js @@ -1 +1 @@ -import{a as i}from"./index-CYTvHIKC.js";async function s(){i("ease-in-quad",a=>a**2),i("ease-out-quad",a=>1-(1-a)**2),i("ease-in-out-quad",a=>a<.5?2*a**2:1-(-2*a+2)**2/2),await Promise.resolve()}export{s as loadEasingQuadPlugin}; +import{a as i}from"./index-CJxpASZZ.js";async function s(){i("ease-in-quad",a=>a**2),i("ease-out-quad",a=>1-(1-a)**2),i("ease-in-out-quad",a=>a<.5?2*a**2:1-(-2*a+2)**2/2),await Promise.resolve()}export{s as loadEasingQuadPlugin}; diff --git a/dist/assets/index-CRPZ43XM.js b/dist/assets/index-H63m7dot.js similarity index 67% rename from dist/assets/index-CRPZ43XM.js rename to dist/assets/index-H63m7dot.js index 5aec96b..2b51d1a 100644 --- a/dist/assets/index-CRPZ43XM.js +++ b/dist/assets/index-H63m7dot.js @@ -1 +1 @@ -import{_ as t}from"./index-CYTvHIKC.js";async function r(a,e=!0){const{LineDrawer:i}=await t(()=>import("./LineDrawer-1OQKWYNc.js"),[]);await a.addShape("line",new i,e)}export{r as loadLineShape}; +import{_ as t}from"./index-CJxpASZZ.js";async function r(a,e=!0){const{LineDrawer:i}=await t(()=>import("./LineDrawer-1OQKWYNc.js"),[]);await a.addShape("line",new i,e)}export{r as loadLineShape}; diff --git a/dist/assets/index-VsRBptYE.js b/dist/assets/index-VsRBptYE.js deleted file mode 100644 index fc6c4b9..0000000 --- a/dist/assets/index-VsRBptYE.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/StrokeColorUpdater-DQgo04RI.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as e}from"./index-CYTvHIKC.js";async function i(r,o=!0){await r.addParticleUpdater("strokeColor",async t=>{const{StrokeColorUpdater:a}=await e(()=>import("./StrokeColorUpdater-DQgo04RI.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadStrokeColorUpdater}; diff --git a/dist/assets/index-DFBCnyY0.js b/dist/assets/index-eJScRzjX.js similarity index 59% rename from dist/assets/index-DFBCnyY0.js rename to dist/assets/index-eJScRzjX.js index c463a3f..e517bee 100644 --- a/dist/assets/index-DFBCnyY0.js +++ b/dist/assets/index-eJScRzjX.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Slower-CTjdsgS2.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] + __vite__mapDeps.viteFileDeps = ["assets/Slower-DfyMD098.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-CYTvHIKC.js";class a{constructor(){this.factor=3,this.radius=200}load(r){r&&(r.factor!==void 0&&(this.factor=r.factor),r.radius!==void 0&&(this.radius=r.radius))}}async function s(t,r=!0){await t.addInteractor("externalSlow",async o=>{const{Slower:i}=await e(()=>import("./Slower-CTjdsgS2.js"),__vite__mapDeps([0,1,2,3]));return new i(o)},r)}export{a as Slow,s as loadExternalSlowInteraction}; +import{_ as e}from"./index-CJxpASZZ.js";class a{constructor(){this.factor=3,this.radius=200}load(r){r&&(r.factor!==void 0&&(this.factor=r.factor),r.radius!==void 0&&(this.radius=r.radius))}}async function s(t,r=!0){await t.addInteractor("externalSlow",async o=>{const{Slower:i}=await e(()=>import("./Slower-DfyMD098.js"),__vite__mapDeps([0,1,2,3]));return new i(o)},r)}export{a as Slow,s as loadExternalSlowInteraction}; diff --git a/dist/assets/index-k3Bo2bSt.js b/dist/assets/index-k3Bo2bSt.js deleted file mode 100644 index 5bf3acd..0000000 --- a/dist/assets/index-k3Bo2bSt.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/StarDrawer-Bnui4PB3.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as e}from"./index-CYTvHIKC.js";async function _(a,t=!0){const{StarDrawer:r}=await e(()=>import("./StarDrawer-Bnui4PB3.js"),__vite__mapDeps([0,1,2]));await a.addShape("star",new r,t)}export{_ as loadStarShape}; diff --git a/dist/assets/index-Cut2uYa8.js b/dist/assets/index-vwL2_hww.js similarity index 69% rename from dist/assets/index-Cut2uYa8.js rename to dist/assets/index-vwL2_hww.js index 1e2a678..17036ef 100644 --- a/dist/assets/index-Cut2uYa8.js +++ b/dist/assets/index-vwL2_hww.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Bubbler-BU6bwqkE.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-b1hBXe_8.js","assets/OptionsColor-JcjSYShv.js"] + __vite__mapDeps.viteFileDeps = ["assets/Bubbler-B950ANRL.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-DnczzUUT.js","assets/OptionsColor-HO1oIr3o.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{i as t,e as o,_ as u}from"./index-CYTvHIKC.js";import{O as c}from"./OptionsColor-JcjSYShv.js";class n{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(e){if(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.mix!==void 0&&(this.mix=e.mix),e.opacity!==void 0&&(this.opacity=e.opacity),e.color!==void 0){const s=t(this.color)?void 0:this.color;this.color=o(e.color,i=>c.create(s,i))}e.size!==void 0&&(this.size=e.size)}}}class l extends n{constructor(){super(),this.selectors=[]}load(e){super.load(e),e&&e.selectors!==void 0&&(this.selectors=e.selectors)}}class h extends n{load(e){super.load(e),e&&(this.divs=o(e.divs,s=>{const i=new l;return i.load(s),i}))}}async function p(r,e=!0){await r.addInteractor("externalBubble",async s=>{const{Bubbler:i}=await u(()=>import("./Bubbler-BU6bwqkE.js"),__vite__mapDeps([0,1,2,3,4,5]));return new i(s)},e)}export{h as Bubble,n as BubbleBase,l as BubbleDiv,p as loadExternalBubbleInteraction}; +import{i as t,e as o,_ as u}from"./index-CJxpASZZ.js";import{O as c}from"./OptionsColor-HO1oIr3o.js";class n{constructor(){this.distance=200,this.duration=.4,this.mix=!1}load(e){if(e){if(e.distance!==void 0&&(this.distance=e.distance),e.duration!==void 0&&(this.duration=e.duration),e.mix!==void 0&&(this.mix=e.mix),e.opacity!==void 0&&(this.opacity=e.opacity),e.color!==void 0){const s=t(this.color)?void 0:this.color;this.color=o(e.color,i=>c.create(s,i))}e.size!==void 0&&(this.size=e.size)}}}class l extends n{constructor(){super(),this.selectors=[]}load(e){super.load(e),e&&e.selectors!==void 0&&(this.selectors=e.selectors)}}class h extends n{load(e){super.load(e),e&&(this.divs=o(e.divs,s=>{const i=new l;return i.load(s),i}))}}async function p(r,e=!0){await r.addInteractor("externalBubble",async s=>{const{Bubbler:i}=await u(()=>import("./Bubbler-B950ANRL.js"),__vite__mapDeps([0,1,2,3,4,5]));return new i(s)},e)}export{h as Bubble,n as BubbleBase,l as BubbleDiv,p as loadExternalBubbleInteraction}; diff --git a/dist/assets/interaction-BLxfJpD6.js b/dist/assets/interaction-BLxfJpD6.js deleted file mode 100644 index e901881..0000000 --- a/dist/assets/interaction-BLxfJpD6.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Linker-B7CysCcg.js","assets/Ranges-b1hBXe_8.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css","assets/index-Bv-lflEY.js","assets/OptionsColor-JcjSYShv.js","assets/ParticlesInteractorBase-vfDeBun3.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as i}from"./index-CYTvHIKC.js";async function o(t,r=!0){await t.addInteractor("particlesLinks",async a=>{const{Linker:n}=await i(()=>import("./Linker-B7CysCcg.js"),__vite__mapDeps([0,1,2,3,4,5,6]));return new n(a)},r)}export{o as loadLinksInteraction}; diff --git a/dist/assets/interaction-C6Nr9_mg.js b/dist/assets/interaction-C6Nr9_mg.js new file mode 100644 index 0000000..921d3a4 --- /dev/null +++ b/dist/assets/interaction-C6Nr9_mg.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/Linker-BEERsT2p.js","assets/Ranges-DnczzUUT.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css","assets/index-BT7lNbQk.js","assets/OptionsColor-HO1oIr3o.js","assets/ParticlesInteractorBase-vfDeBun3.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as i}from"./index-CJxpASZZ.js";async function o(t,r=!0){await t.addInteractor("particlesLinks",async a=>{const{Linker:n}=await i(()=>import("./Linker-BEERsT2p.js"),__vite__mapDeps([0,1,2,3,4,5,6]));return new n(a)},r)}export{o as loadLinksInteraction}; diff --git a/dist/assets/plugin-CPR_LDBZ.js b/dist/assets/plugin-CPR_LDBZ.js new file mode 100644 index 0000000..6acbef3 --- /dev/null +++ b/dist/assets/plugin-CPR_LDBZ.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/LinksPlugin-B0bQwe4P.js","assets/index-CJxpASZZ.js","assets/index-B8hL3UqP.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as o}from"./index-CJxpASZZ.js";async function r(i,n=!0){const{LinksPlugin:t}=await o(()=>import("./LinksPlugin-B0bQwe4P.js"),__vite__mapDeps([0,1,2])),a=new t;await i.addPlugin(a,n)}export{r as loadLinksPlugin}; diff --git a/dist/assets/plugin-CQXvz-Ho.js b/dist/assets/plugin-CQXvz-Ho.js deleted file mode 100644 index 900f5a9..0000000 --- a/dist/assets/plugin-CQXvz-Ho.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LinksPlugin-C1FiSO-q.js","assets/index-CYTvHIKC.js","assets/index-B8hL3UqP.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as o}from"./index-CYTvHIKC.js";async function r(i,n=!0){const{LinksPlugin:t}=await o(()=>import("./LinksPlugin-C1FiSO-q.js"),__vite__mapDeps([0,1,2])),a=new t;await i.addPlugin(a,n)}export{r as loadLinksPlugin}; diff --git a/dist/index.html b/dist/index.html index ed27b76..82ef54a 100644 --- a/dist/index.html +++ b/dist/index.html @@ -9,7 +9,7 @@ - + diff --git a/src/main.tsx b/src/main.tsx index 6ab0ccd..0ce4b99 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -4,7 +4,7 @@ import "./index.css"; import { CssBaseline, ThemeProvider } from '@mui/material' import AppThemeController from './middleware/AppThemeController' import WebLandingPage from './integrals/WebLandingPage' -import { BrowserRouter, HashRouter, Route, Routes } from 'react-router-dom' +import { HashRouter, Route, Routes } from 'react-router-dom' import WebProjectsPage from './integrals/WebProjectsPage' import WebTierPage from './integrals/WebTierPage' import 'atropos/css'