From 5057249e40634f8d0c14b41b9d2deef563cb328a Mon Sep 17 00:00:00 2001 From: Atheesh Thirumalairajan Date: Mon, 26 Aug 2024 09:04:46 -0400 Subject: [PATCH] Updated Sponsors, Other Minor Changes --- ...ctor-DMijuL2O.js => Attractor-BNHadJBI.js} | 2 +- ...ctor-BQWdUJKt.js => Attractor-BQC_AqDE.js} | 2 +- ...over-6TYKUNPj.js => BaseMover-CH8WG9lO.js} | 2 +- ...ouncer-BPdOzLgQ.js => Bouncer-BKB9aPQ0.js} | 2 +- ...ubbler-0fO5rjZJ.js => Bubbler-bv8h3Dnz.js} | 2 +- ...ls-BkykU090.js => CanvasUtils-C-woXdFO.js} | 2 +- ...r-DtAP35VP.js => CircleDrawer-5EdCHABW.js} | 2 +- ...lider-D8bCS2_2.js => Collider-DblxNzAL.js} | 2 +- ...r-CTQ68h-8.js => ColorUpdater-DVUp5O_Y.js} | 2 +- ...ctor-D-D69tm9.js => Connector-B9UcsQHP.js} | 2 +- ...iner-C8BcwPyr.js => Container-CSM4TIlF.js} | 2 +- ...er-DLXZNlm_.js => EmojiDrawer-DpMnozeC.js} | 2 +- ...rabber-Cl8G2rZG.js => Grabber-BTJuV6nu.js} | 2 +- ...er-ClFxOo-5.js => ImageDrawer-BriG9t2g.js} | 2 +- ...er-CbP3Ouv8.js => LifeUpdater-F4kQqcgs.js} | 2 +- ...e-C0zQgvwP.js => LinkInstance-DG0FhWMi.js} | 2 +- ...{Linker-bU19XI5W.js => Linker-CfICNnve.js} | 2 +- ...in-BOHSVDjZ.js => LinksPlugin-BJb7b-gL.js} | 4 +- ...Bd4fJmZY.js => OpacityUpdater-C115UZ7q.js} | 2 +- ...r-G2vqGez_.js => OptionsColor-m5ffwtIr.js} | 2 +- ...F4fs.js => OutOfCanvasUpdater-DbCmTxCW.js} | 2 +- ...-pezvtswf.js => ParallaxMover-Dvt3FLf8.js} | 2 +- ...-sFwBeHQQ.js => PolygonDrawer-CyYjMp2M.js} | 2 +- ...PpbZb.js => PolygonDrawerBase-DUMGKCUr.js} | 2 +- ...{Pusher-C1YOHoCs.js => Pusher-s8vG-OpF.js} | 2 +- ...{Ranges-CkEJtC_k.js => Ranges-CPO2JO5l.js} | 2 +- ...emover-hm9s48y5.js => Remover-jk7D4zvU.js} | 2 +- ...ulser-Dl_T3IJt.js => Repulser-CWyCpN1m.js} | 2 +- ...-B0Y7UBd9.js => RotateUpdater-iXu3NCOH.js} | 2 +- ...er-BiB5a4zu.js => SizeUpdater-BSXFlskZ.js} | 2 +- ...{Slower-JxFOG-5y.js => Slower-SeM3jA4j.js} | 2 +- ...wer-BelnQozQ.js => StarDrawer-CbDru9BO.js} | 2 +- ...Yumd.js => StrokeColorUpdater-DIvlnd-h.js} | 2 +- ...Cfxd6HYp.js => TriangleDrawer-DhWgM3P8.js} | 2 +- .../{Utils-UVIN1EzV.js => Utils-CieD_cfk.js} | 4 +- ...AlR6CGl.js => ValueWithRandom-DlZawfMJ.js} | 2 +- .../{index-BsFSM-q6.js => index--IvfJ7-F.js} | 4 +- .../{index-Dv44nJXP.js => index-7EFgDSO9.js} | 4 +- .../{index-DsuVti3P.js => index-B1vYCfKr.js} | 4 +- dist/assets/index-B4cJ1jhV.js | 7 --- dist/assets/index-B4qC9MZm.js | 7 --- .../{index-CNiY_PRz.js => index-BBn4N7ef.js} | 4 +- .../{index-Bb3Kps3J.js => index-BUBcFElu.js} | 4 +- .../{index-Dut7on6R.js => index-BWwxh7mf.js} | 4 +- dist/assets/index-BXrRsvdG.js | 7 --- dist/assets/index-BtWH6V1w.js | 7 --- .../{index-DeefX4sy.js => index-BwUF06Ed.js} | 44 +++++++++---------- .../{index-C_XRMVjZ.js => index-Bwnoau7V.js} | 4 +- dist/assets/index-ByxQcTbZ.js | 7 +++ .../{index-OYbieXLS.js => index-C-UK7H5c.js} | 2 +- dist/assets/index-C0CI5bSb.js | 7 +++ dist/assets/index-CGTZzgrB.js | 7 +++ .../{index-CEYiOXgF.js => index-CTvd80ox.js} | 4 +- dist/assets/index-CalNawg9.js | 7 +++ .../{index-Ca5_6Kj3.js => index-Cd4MVogK.js} | 4 +- .../{index-HcVZSsHe.js => index-Ch4MXAho.js} | 2 +- dist/assets/index-CmnmrZU_.js | 7 --- dist/assets/index-CxC_i4ya.js | 7 +++ .../{index-Ci2bwGMD.js => index-D3e9F_9q.js} | 4 +- .../{index-Bml9rERt.js => index-D6B1e1Zy.js} | 4 +- .../{index-DtnNCIpx.js => index-D8EjN0pf.js} | 4 +- dist/assets/index-DGL4yKst.js | 7 --- dist/assets/index-DGlsrxh6.js | 7 +++ .../{index-DyfdzQD9.js => index-DMLax3zf.js} | 4 +- .../{index-5NTHuaLh.js => index-DO0dmp2y.js} | 2 +- .../{index-CFdEKaBg.js => index-DQ6E6v-6.js} | 2 +- dist/assets/index-DVOmIdei.js | 7 +++ .../{index-B3H0uQBb.js => index-DYGcHpAi.js} | 4 +- .../{index-Bx6SXFWD.js => index-Dkhs4WmD.js} | 4 +- .../{index-BzL9OwK7.js => index-Dwi8Fk5n.js} | 4 +- dist/assets/index-DzMZnnX_.js | 7 --- dist/assets/index-NpCqrZ7B.js | 7 --- .../{index-grQr41kk.js => index-VJf_0UH1.js} | 4 +- .../{index-CvqkUHi4.js => index-iKJPD0Jr.js} | 4 +- dist/assets/index-lL13x-rJ.js | 7 +++ .../{index-DIhuUhmd.js => index-qKmc1qke.js} | 4 +- dist/assets/interaction-B19tXMqs.js | 7 --- dist/assets/interaction-VkP3Jlw2.js | 7 +++ dist/assets/plugin-CvSWoWHs.js | 7 +++ dist/assets/plugin-DNCWfGN0.js | 7 --- dist/index.html | 2 +- src/App.tsx | 2 +- .../SponsorCardsStack/SponsorCardsStack.tsx | 20 ++++----- 83 files changed, 183 insertions(+), 185 deletions(-) rename dist/assets/{Attractor-DMijuL2O.js => Attractor-BNHadJBI.js} (92%) rename dist/assets/{Attractor-BQWdUJKt.js => Attractor-BQC_AqDE.js} (91%) rename dist/assets/{BaseMover-6TYKUNPj.js => BaseMover-CH8WG9lO.js} (96%) rename dist/assets/{Bouncer-BPdOzLgQ.js => Bouncer-BKB9aPQ0.js} (93%) rename dist/assets/{Bubbler-0fO5rjZJ.js => Bubbler-bv8h3Dnz.js} (96%) rename dist/assets/{CanvasUtils-BkykU090.js => CanvasUtils-C-woXdFO.js} (97%) rename dist/assets/{CircleDrawer-DtAP35VP.js => CircleDrawer-5EdCHABW.js} (86%) rename dist/assets/{Collider-D8bCS2_2.js => Collider-DblxNzAL.js} (96%) rename dist/assets/{ColorUpdater-CTQ68h-8.js => ColorUpdater-DVUp5O_Y.js} (88%) rename dist/assets/{Connector-D-D69tm9.js => Connector-B9UcsQHP.js} (90%) rename dist/assets/{Container-C8BcwPyr.js => Container-CSM4TIlF.js} (99%) rename dist/assets/{EmojiDrawer-DLXZNlm_.js => EmojiDrawer-DpMnozeC.js} (91%) rename dist/assets/{Grabber-Cl8G2rZG.js => Grabber-BTJuV6nu.js} (84%) rename dist/assets/{ImageDrawer-ClFxOo-5.js => ImageDrawer-BriG9t2g.js} (93%) rename dist/assets/{LifeUpdater-CbP3Ouv8.js => LifeUpdater-F4kQqcgs.js} (92%) rename dist/assets/{LinkInstance-C0zQgvwP.js => LinkInstance-DG0FhWMi.js} (98%) rename dist/assets/{Linker-bU19XI5W.js => Linker-CfICNnve.js} (89%) rename dist/assets/{LinksPlugin-BOHSVDjZ.js => LinksPlugin-BJb7b-gL.js} (50%) rename dist/assets/{OpacityUpdater-Bd4fJmZY.js => OpacityUpdater-C115UZ7q.js} (80%) rename dist/assets/{OptionsColor-G2vqGez_.js => OptionsColor-m5ffwtIr.js} (76%) rename dist/assets/{OutOfCanvasUpdater-DHt2F4fs.js => OutOfCanvasUpdater-DbCmTxCW.js} (98%) rename dist/assets/{ParallaxMover-pezvtswf.js => ParallaxMover-Dvt3FLf8.js} (88%) rename dist/assets/{PolygonDrawer-sFwBeHQQ.js => PolygonDrawer-CyYjMp2M.js} (56%) rename dist/assets/{PolygonDrawerBase-DwzPpbZb.js => PolygonDrawerBase-DUMGKCUr.js} (88%) rename dist/assets/{Pusher-C1YOHoCs.js => Pusher-s8vG-OpF.js} (81%) rename dist/assets/{Ranges-CkEJtC_k.js => Ranges-CPO2JO5l.js} (94%) rename dist/assets/{Remover-hm9s48y5.js => Remover-jk7D4zvU.js} (78%) rename dist/assets/{Repulser-Dl_T3IJt.js => Repulser-CWyCpN1m.js} (94%) rename dist/assets/{RotateUpdater-B0Y7UBd9.js => RotateUpdater-iXu3NCOH.js} (91%) rename dist/assets/{SizeUpdater-BiB5a4zu.js => SizeUpdater-BSXFlskZ.js} (88%) rename dist/assets/{Slower-JxFOG-5y.js => Slower-SeM3jA4j.js} (87%) rename dist/assets/{StarDrawer-BelnQozQ.js => StarDrawer-CbDru9BO.js} (87%) rename dist/assets/{StrokeColorUpdater-B83BYumd.js => StrokeColorUpdater-DIvlnd-h.js} (83%) rename dist/assets/{TriangleDrawer-Cfxd6HYp.js => TriangleDrawer-DhWgM3P8.js} (55%) rename dist/assets/{Utils-UVIN1EzV.js => Utils-CieD_cfk.js} (96%) rename dist/assets/{ValueWithRandom-CAlR6CGl.js => ValueWithRandom-DlZawfMJ.js} (93%) rename dist/assets/{index-BsFSM-q6.js => index--IvfJ7-F.js} (58%) rename dist/assets/{index-Dv44nJXP.js => index-7EFgDSO9.js} (68%) rename dist/assets/{index-DsuVti3P.js => index-B1vYCfKr.js} (56%) delete mode 100644 dist/assets/index-B4cJ1jhV.js delete mode 100644 dist/assets/index-B4qC9MZm.js rename dist/assets/{index-CNiY_PRz.js => index-BBn4N7ef.js} (59%) rename dist/assets/{index-Bb3Kps3J.js => index-BUBcFElu.js} (75%) rename dist/assets/{index-Dut7on6R.js => index-BWwxh7mf.js} (50%) delete mode 100644 dist/assets/index-BXrRsvdG.js delete mode 100644 dist/assets/index-BtWH6V1w.js rename dist/assets/{index-DeefX4sy.js => index-BwUF06Ed.js} (89%) rename dist/assets/{index-C_XRMVjZ.js => index-Bwnoau7V.js} (65%) create mode 100644 dist/assets/index-ByxQcTbZ.js rename dist/assets/{index-OYbieXLS.js => index-C-UK7H5c.js} (72%) create mode 100644 dist/assets/index-C0CI5bSb.js create mode 100644 dist/assets/index-CGTZzgrB.js rename dist/assets/{index-CEYiOXgF.js => index-CTvd80ox.js} (51%) create mode 100644 dist/assets/index-CalNawg9.js rename dist/assets/{index-Ca5_6Kj3.js => index-Cd4MVogK.js} (88%) rename dist/assets/{index-HcVZSsHe.js => index-Ch4MXAho.js} (70%) delete mode 100644 dist/assets/index-CmnmrZU_.js create mode 100644 dist/assets/index-CxC_i4ya.js rename dist/assets/{index-Ci2bwGMD.js => index-D3e9F_9q.js} (75%) rename dist/assets/{index-Bml9rERt.js => index-D6B1e1Zy.js} (52%) rename dist/assets/{index-DtnNCIpx.js => index-D8EjN0pf.js} (54%) delete mode 100644 dist/assets/index-DGL4yKst.js create mode 100644 dist/assets/index-DGlsrxh6.js rename dist/assets/{index-DyfdzQD9.js => index-DMLax3zf.js} (72%) rename dist/assets/{index-5NTHuaLh.js => index-DO0dmp2y.js} (67%) rename dist/assets/{index-CFdEKaBg.js => index-DQ6E6v-6.js} (87%) create mode 100644 dist/assets/index-DVOmIdei.js rename dist/assets/{index-B3H0uQBb.js => index-DYGcHpAi.js} (58%) rename dist/assets/{index-Bx6SXFWD.js => index-Dkhs4WmD.js} (55%) rename dist/assets/{index-BzL9OwK7.js => index-Dwi8Fk5n.js} (69%) delete mode 100644 dist/assets/index-DzMZnnX_.js delete mode 100644 dist/assets/index-NpCqrZ7B.js rename dist/assets/{index-grQr41kk.js => index-VJf_0UH1.js} (75%) rename dist/assets/{index-CvqkUHi4.js => index-iKJPD0Jr.js} (51%) create mode 100644 dist/assets/index-lL13x-rJ.js rename dist/assets/{index-DIhuUhmd.js => index-qKmc1qke.js} (70%) delete mode 100644 dist/assets/interaction-B19tXMqs.js create mode 100644 dist/assets/interaction-VkP3Jlw2.js create mode 100644 dist/assets/plugin-CvSWoWHs.js delete mode 100644 dist/assets/plugin-DNCWfGN0.js diff --git a/dist/assets/Attractor-DMijuL2O.js b/dist/assets/Attractor-BNHadJBI.js similarity index 92% rename from dist/assets/Attractor-DMijuL2O.js rename to dist/assets/Attractor-BNHadJBI.js index 01a9b41..47abeee 100644 --- a/dist/assets/Attractor-DMijuL2O.js +++ b/dist/assets/Attractor-BNHadJBI.js @@ -1 +1 @@ -import{C as v}from"./Ranges-CkEJtC_k.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-DeefX4sy.js";import{Attract as A}from"./index-Bb3Kps3J.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-CPO2JO5l.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-BwUF06Ed.js";import{Attract as A}from"./index-BUBcFElu.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/Attractor-BQWdUJKt.js b/dist/assets/Attractor-BQC_AqDE.js similarity index 91% rename from dist/assets/Attractor-BQWdUJKt.js rename to dist/assets/Attractor-BQC_AqDE.js index d11761e..7e4876c 100644 --- a/dist/assets/Attractor-BQWdUJKt.js +++ b/dist/assets/Attractor-BQC_AqDE.js @@ -1 +1 @@ -import{P as x}from"./ParticlesInteractorBase-vfDeBun3.js";import{H as f,W as p}from"./index-DeefX4sy.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-BwUF06Ed.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/BaseMover-6TYKUNPj.js b/dist/assets/BaseMover-CH8WG9lO.js similarity index 96% rename from dist/assets/BaseMover-6TYKUNPj.js rename to dist/assets/BaseMover-CH8WG9lO.js index 86a739c..45ffa49 100644 --- a/dist/assets/BaseMover-6TYKUNPj.js +++ b/dist/assets/BaseMover-CH8WG9lO.js @@ -1 +1 @@ -import{W as w,J as F,L as z,K as P,H as m,a3 as T}from"./index-DeefX4sy.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-BwUF06Ed.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-BPdOzLgQ.js b/dist/assets/Bouncer-BKB9aPQ0.js similarity index 93% rename from dist/assets/Bouncer-BPdOzLgQ.js rename to dist/assets/Bouncer-BKB9aPQ0.js index 6cdd1fc..33aacd6 100644 --- a/dist/assets/Bouncer-BPdOzLgQ.js +++ b/dist/assets/Bouncer-BKB9aPQ0.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-DeefX4sy.js";import{C as d,R as b}from"./Ranges-CkEJtC_k.js";import{Bounce as O}from"./index-Bx6SXFWD.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-BwUF06Ed.js";import{C as d,R as b}from"./Ranges-CPO2JO5l.js";import{Bounce as O}from"./index-Dkhs4WmD.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-0fO5rjZJ.js b/dist/assets/Bubbler-bv8h3Dnz.js similarity index 96% rename from dist/assets/Bubbler-0fO5rjZJ.js rename to dist/assets/Bubbler-bv8h3Dnz.js index 079e600..7cd9ec5 100644 --- a/dist/assets/Bubbler-0fO5rjZJ.js +++ b/dist/assets/Bubbler-bv8h3Dnz.js @@ -1 +1 @@ -import{Bubble as S}from"./index-BzL9OwK7.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-DeefX4sy.js";import{E as A}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as F,R as I}from"./Ranges-CkEJtC_k.js";import"./OptionsColor-G2vqGez_.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-Dwi8Fk5n.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-BwUF06Ed.js";import{E as A}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as F,R as I}from"./Ranges-CPO2JO5l.js";import"./OptionsColor-m5ffwtIr.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-BkykU090.js b/dist/assets/CanvasUtils-C-woXdFO.js similarity index 97% rename from dist/assets/CanvasUtils-BkykU090.js rename to dist/assets/CanvasUtils-C-woXdFO.js index 8128105..6a5177e 100644 --- a/dist/assets/CanvasUtils-BkykU090.js +++ b/dist/assets/CanvasUtils-C-woXdFO.js @@ -1 +1 @@ -import{n as P}from"./index-DeefX4sy.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-BwUF06Ed.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-DtAP35VP.js b/dist/assets/CircleDrawer-5EdCHABW.js similarity index 86% rename from dist/assets/CircleDrawer-DtAP35VP.js rename to dist/assets/CircleDrawer-5EdCHABW.js index af996af..123746c 100644 --- a/dist/assets/CircleDrawer-DtAP35VP.js +++ b/dist/assets/CircleDrawer-5EdCHABW.js @@ -1 +1 @@ -import{j as m,G as c}from"./index-DeefX4sy.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-BwUF06Ed.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-D8bCS2_2.js b/dist/assets/Collider-DblxNzAL.js similarity index 96% rename from dist/assets/Collider-D8bCS2_2.js rename to dist/assets/Collider-DblxNzAL.js index db0c028..8feee71 100644 --- a/dist/assets/Collider-D8bCS2_2.js +++ b/dist/assets/Collider-DblxNzAL.js @@ -1 +1 @@ -import{L as R,Z as m,$ as l,H as h,K as x}from"./index-DeefX4sy.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-BwUF06Ed.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-CTQ68h-8.js b/dist/assets/ColorUpdater-DVUp5O_Y.js similarity index 88% rename from dist/assets/ColorUpdater-CTQ68h-8.js rename to dist/assets/ColorUpdater-DVUp5O_Y.js index b1f61b6..a66dfc3 100644 --- a/dist/assets/ColorUpdater-CTQ68h-8.js +++ b/dist/assets/ColorUpdater-DVUp5O_Y.js @@ -1 +1 @@ -import{r as a,ac as t,ad as d}from"./index-DeefX4sy.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-BwUF06Ed.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-D-D69tm9.js b/dist/assets/Connector-B9UcsQHP.js similarity index 90% rename from dist/assets/Connector-D-D69tm9.js rename to dist/assets/Connector-B9UcsQHP.js index 67dc52c..573a2db 100644 --- a/dist/assets/Connector-D-D69tm9.js +++ b/dist/assets/Connector-B9UcsQHP.js @@ -1 +1 @@ -import{Connect as x}from"./index-DyfdzQD9.js";import{g as C}from"./CanvasUtils-BkykU090.js";import{a5 as R,g as m,L as P,n as S,S as O}from"./index-DeefX4sy.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-BwUF06Ed.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-C-woXdFO.js";import{O as R}from"./OptionsColor-m5ffwtIr.js";import{A as lt,V as Z,R as Se,a as Te}from"./ValueWithRandom-DlZawfMJ.js";import{R as N,C as ct}from"./Ranges-CPO2JO5l.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-DLXZNlm_.js b/dist/assets/EmojiDrawer-DpMnozeC.js similarity index 91% rename from dist/assets/EmojiDrawer-DLXZNlm_.js rename to dist/assets/EmojiDrawer-DpMnozeC.js index ef3e916..a0c40b8 100644 --- a/dist/assets/EmojiDrawer-DLXZNlm_.js +++ b/dist/assets/EmojiDrawer-DpMnozeC.js @@ -1 +1 @@ -import{v as u}from"./index-B3H0uQBb.js";import{S as j,aa as h,e as D,Q as v,a3 as x}from"./index-DeefX4sy.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-DYGcHpAi.js";import{S as j,aa as h,e as D,Q as v,a3 as x}from"./index-BwUF06Ed.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-Cl8G2rZG.js b/dist/assets/Grabber-BTJuV6nu.js similarity index 84% rename from dist/assets/Grabber-Cl8G2rZG.js rename to dist/assets/Grabber-BTJuV6nu.js index dc48df2..b3168f7 100644 --- a/dist/assets/Grabber-Cl8G2rZG.js +++ b/dist/assets/Grabber-BTJuV6nu.js @@ -1 +1 @@ -import{Grab as v}from"./index-Dv44nJXP.js";import{g as y}from"./CanvasUtils-BkykU090.js";import{n as k,t as L,K as O,a7 as h,a8 as C,S as w}from"./index-DeefX4sy.js";import{E as D}from"./ExternalInteractorBase-CIi3zRdK.js";import"./OptionsColor-G2vqGez_.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-7EFgDSO9.js";import{g as y}from"./CanvasUtils-C-woXdFO.js";import{n as k,t as L,K as O,a7 as h,a8 as C,S as w}from"./index-BwUF06Ed.js";import{E as D}from"./ExternalInteractorBase-CIi3zRdK.js";import"./OptionsColor-m5ffwtIr.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-ClFxOo-5.js b/dist/assets/ImageDrawer-BriG9t2g.js similarity index 93% rename from dist/assets/ImageDrawer-ClFxOo-5.js rename to dist/assets/ImageDrawer-BriG9t2g.js index 07fd8b4..091851c 100644 --- a/dist/assets/ImageDrawer-ClFxOo-5.js +++ b/dist/assets/ImageDrawer-BriG9t2g.js @@ -1 +1 @@ -import{r as h}from"./index-Ca5_6Kj3.js";import{drawGif as f}from"./Utils-UVIN1EzV.js";import{c as d}from"./index-DeefX4sy.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-Cd4MVogK.js";import{drawGif as f}from"./Utils-CieD_cfk.js";import{c as d}from"./index-BwUF06Ed.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-CbP3Ouv8.js b/dist/assets/LifeUpdater-F4kQqcgs.js similarity index 92% rename from dist/assets/LifeUpdater-CbP3Ouv8.js rename to dist/assets/LifeUpdater-F4kQqcgs.js index 979c6e4..951fbf7 100644 --- a/dist/assets/LifeUpdater-CbP3Ouv8.js +++ b/dist/assets/LifeUpdater-F4kQqcgs.js @@ -1 +1 @@ -import{V as w}from"./ValueWithRandom-CAlR6CGl.js";import{s as a,I as l,H as f,q as d,J as c}from"./index-DeefX4sy.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-DlZawfMJ.js";import{s as a,I as l,H as f,q as d,J as c}from"./index-BwUF06Ed.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-C0zQgvwP.js b/dist/assets/LinkInstance-DG0FhWMi.js similarity index 98% rename from dist/assets/LinkInstance-C0zQgvwP.js rename to dist/assets/LinkInstance-DG0FhWMi.js index 20bde09..c8a2652 100644 --- a/dist/assets/LinkInstance-C0zQgvwP.js +++ b/dist/assets/LinkInstance-DG0FhWMi.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-DeefX4sy.js";import{g as L}from"./CanvasUtils-BkykU090.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-BwUF06Ed.js";import{g as L}from"./CanvasUtils-C-woXdFO.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-bU19XI5W.js b/dist/assets/Linker-CfICNnve.js similarity index 89% rename from dist/assets/Linker-bU19XI5W.js rename to dist/assets/Linker-CfICNnve.js index a044bb1..459bad0 100644 --- a/dist/assets/Linker-bU19XI5W.js +++ b/dist/assets/Linker-CfICNnve.js @@ -1 +1 @@ -import{C as y,R as g}from"./Ranges-CkEJtC_k.js";import{Links as b}from"./index-Ci2bwGMD.js";import{P as z}from"./ParticlesInteractorBase-vfDeBun3.js";import{a7 as D,W as P}from"./index-DeefX4sy.js";import"./OptionsColor-G2vqGez_.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-CPO2JO5l.js";import{Links as b}from"./index-D3e9F_9q.js";import{P as z}from"./ParticlesInteractorBase-vfDeBun3.js";import{a7 as D,W as P}from"./index-BwUF06Ed.js";import"./OptionsColor-m5ffwtIr.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-BOHSVDjZ.js b/dist/assets/LinksPlugin-BJb7b-gL.js similarity index 50% rename from dist/assets/LinksPlugin-BOHSVDjZ.js rename to dist/assets/LinksPlugin-BJb7b-gL.js index 9629a63..c85ec63 100644 --- a/dist/assets/LinksPlugin-BOHSVDjZ.js +++ b/dist/assets/LinksPlugin-BJb7b-gL.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LinkInstance-C0zQgvwP.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/CanvasUtils-BkykU090.js"] + __vite__mapDeps.viteFileDeps = ["assets/LinkInstance-DG0FhWMi.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/CanvasUtils-C-woXdFO.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-DeefX4sy.js";class s{constructor(){this.id="links"}async getPlugin(n){const{LinkInstance:t}=await i(()=>import("./LinkInstance-C0zQgvwP.js"),__vite__mapDeps([0,1,2,3]));return new t(n)}loadOptions(){}needsPlugin(){return!0}}export{s as LinksPlugin}; +import{_ as i}from"./index-BwUF06Ed.js";class s{constructor(){this.id="links"}async getPlugin(n){const{LinkInstance:t}=await i(()=>import("./LinkInstance-DG0FhWMi.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-Bd4fJmZY.js b/dist/assets/OpacityUpdater-C115UZ7q.js similarity index 80% rename from dist/assets/OpacityUpdater-Bd4fJmZY.js rename to dist/assets/OpacityUpdater-C115UZ7q.js index 69ddae3..7ddfa2d 100644 --- a/dist/assets/OpacityUpdater-Bd4fJmZY.js +++ b/dist/assets/OpacityUpdater-C115UZ7q.js @@ -1 +1 @@ -import{R as a,H as e,ae as s,J as y,ab as p}from"./index-DeefX4sy.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-BwUF06Ed.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-G2vqGez_.js b/dist/assets/OptionsColor-m5ffwtIr.js similarity index 76% rename from dist/assets/OptionsColor-G2vqGez_.js rename to dist/assets/OptionsColor-m5ffwtIr.js index bb14285..d3b8f8f 100644 --- a/dist/assets/OptionsColor-G2vqGez_.js +++ b/dist/assets/OptionsColor-m5ffwtIr.js @@ -1 +1 @@ -import{d as l,i as o}from"./index-DeefX4sy.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-BwUF06Ed.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-DHt2F4fs.js b/dist/assets/OutOfCanvasUpdater-DbCmTxCW.js similarity index 98% rename from dist/assets/OutOfCanvasUpdater-DHt2F4fs.js rename to dist/assets/OutOfCanvasUpdater-DbCmTxCW.js index 0c448ec..442f5a1 100644 --- a/dist/assets/OutOfCanvasUpdater-DHt2F4fs.js +++ b/dist/assets/OutOfCanvasUpdater-DbCmTxCW.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-DeefX4sy.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-BwUF06Ed.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-pezvtswf.js b/dist/assets/ParallaxMover-Dvt3FLf8.js similarity index 88% rename from dist/assets/ParallaxMover-pezvtswf.js rename to dist/assets/ParallaxMover-Dvt3FLf8.js index 19cc839..3c492d9 100644 --- a/dist/assets/ParallaxMover-pezvtswf.js +++ b/dist/assets/ParallaxMover-Dvt3FLf8.js @@ -1 +1 @@ -import{T as x}from"./index-DeefX4sy.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-BwUF06Ed.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-sFwBeHQQ.js b/dist/assets/PolygonDrawer-CyYjMp2M.js similarity index 56% rename from dist/assets/PolygonDrawer-sFwBeHQQ.js rename to dist/assets/PolygonDrawer-CyYjMp2M.js index f8a96f5..519385a 100644 --- a/dist/assets/PolygonDrawer-sFwBeHQQ.js +++ b/dist/assets/PolygonDrawer-CyYjMp2M.js @@ -1 +1 @@ -import{P as n}from"./PolygonDrawerBase-DwzPpbZb.js";import"./index-DeefX4sy.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-DUMGKCUr.js";import"./index-BwUF06Ed.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-DwzPpbZb.js b/dist/assets/PolygonDrawerBase-DUMGKCUr.js similarity index 88% rename from dist/assets/PolygonDrawerBase-DwzPpbZb.js rename to dist/assets/PolygonDrawerBase-DUMGKCUr.js index 1e392ab..9c75aec 100644 --- a/dist/assets/PolygonDrawerBase-DwzPpbZb.js +++ b/dist/assets/PolygonDrawerBase-DUMGKCUr.js @@ -1 +1 @@ -import{G as c,H as l}from"./index-DeefX4sy.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-qKmc1qke.js";import{H as p,a9 as c}from"./index-BwUF06Ed.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-CkEJtC_k.js b/dist/assets/Ranges-CPO2JO5l.js similarity index 94% rename from dist/assets/Ranges-CkEJtC_k.js rename to dist/assets/Ranges-CPO2JO5l.js index f4db257..fe92916 100644 --- a/dist/assets/Ranges-CkEJtC_k.js +++ b/dist/assets/Ranges-CPO2JO5l.js @@ -1 +1 @@ -import{K as y}from"./index-DeefX4sy.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-BwUF06Ed.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-hm9s48y5.js b/dist/assets/Remover-jk7D4zvU.js similarity index 78% rename from dist/assets/Remover-hm9s48y5.js rename to dist/assets/Remover-jk7D4zvU.js index 7f365a8..872d04c 100644 --- a/dist/assets/Remover-hm9s48y5.js +++ b/dist/assets/Remover-jk7D4zvU.js @@ -1 +1 @@ -import{Remove as i}from"./index-BsFSM-q6.js";import{E as a}from"./ExternalInteractorBase-CIi3zRdK.js";import{H as m}from"./index-DeefX4sy.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--IvfJ7-F.js";import{E as a}from"./ExternalInteractorBase-CIi3zRdK.js";import{H as m}from"./index-BwUF06Ed.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-Dl_T3IJt.js b/dist/assets/Repulser-CWyCpN1m.js similarity index 94% rename from dist/assets/Repulser-Dl_T3IJt.js rename to dist/assets/Repulser-CWyCpN1m.js index 6cfd782..6414186 100644 --- a/dist/assets/Repulser-Dl_T3IJt.js +++ b/dist/assets/Repulser-CWyCpN1m.js @@ -1 +1 @@ -import{Repulse as T}from"./index-grQr41kk.js";import{E as _}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as M,R as D}from"./Ranges-CkEJtC_k.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-DeefX4sy.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-VJf_0UH1.js";import{E as _}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as M,R as D}from"./Ranges-CPO2JO5l.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-BwUF06Ed.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-B0Y7UBd9.js b/dist/assets/RotateUpdater-iXu3NCOH.js similarity index 91% rename from dist/assets/RotateUpdater-B0Y7UBd9.js rename to dist/assets/RotateUpdater-iXu3NCOH.js index 2023d60..95735f8 100644 --- a/dist/assets/RotateUpdater-B0Y7UBd9.js +++ b/dist/assets/RotateUpdater-iXu3NCOH.js @@ -1 +1 @@ -import{s as a,G as c,H as i,J as r,ab as u}from"./index-DeefX4sy.js";import{V as f}from"./ValueWithRandom-CAlR6CGl.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-BwUF06Ed.js";import{V as f}from"./ValueWithRandom-DlZawfMJ.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-BiB5a4zu.js b/dist/assets/SizeUpdater-BSXFlskZ.js similarity index 88% rename from dist/assets/SizeUpdater-BiB5a4zu.js rename to dist/assets/SizeUpdater-BSXFlskZ.js index dc434d3..c3613a7 100644 --- a/dist/assets/SizeUpdater-BiB5a4zu.js +++ b/dist/assets/SizeUpdater-BSXFlskZ.js @@ -1 +1 @@ -import{ae as t,J as a,ab as z}from"./index-DeefX4sy.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-BwUF06Ed.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-JxFOG-5y.js b/dist/assets/Slower-SeM3jA4j.js similarity index 87% rename from dist/assets/Slower-JxFOG-5y.js rename to dist/assets/Slower-SeM3jA4j.js index 5bcd3b1..862aaa6 100644 --- a/dist/assets/Slower-JxFOG-5y.js +++ b/dist/assets/Slower-SeM3jA4j.js @@ -1 +1 @@ -import{Slow as u}from"./index-CNiY_PRz.js";import{E as d}from"./ExternalInteractorBase-CIi3zRdK.js";import{S as m,K as f}from"./index-DeefX4sy.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-BBn4N7ef.js";import{E as d}from"./ExternalInteractorBase-CIi3zRdK.js";import{S as m,K as f}from"./index-BwUF06Ed.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-BelnQozQ.js b/dist/assets/StarDrawer-CbDru9BO.js similarity index 87% rename from dist/assets/StarDrawer-BelnQozQ.js rename to dist/assets/StarDrawer-CbDru9BO.js index eb569c8..3084c94 100644 --- a/dist/assets/StarDrawer-BelnQozQ.js +++ b/dist/assets/StarDrawer-CbDru9BO.js @@ -1 +1 @@ -import{H as i}from"./index-DeefX4sy.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-DeefX4sy.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-Ca5_6Kj3.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-BwUF06Ed.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-Cd4MVogK.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-CAlR6CGl.js b/dist/assets/ValueWithRandom-DlZawfMJ.js similarity index 93% rename from dist/assets/ValueWithRandom-CAlR6CGl.js rename to dist/assets/ValueWithRandom-DlZawfMJ.js index ec660af..b363b5b 100644 --- a/dist/assets/ValueWithRandom-CAlR6CGl.js +++ b/dist/assets/ValueWithRandom-DlZawfMJ.js @@ -1 +1 @@ -import{s as n}from"./index-DeefX4sy.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-BwUF06Ed.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-BsFSM-q6.js b/dist/assets/index--IvfJ7-F.js similarity index 58% rename from dist/assets/index-BsFSM-q6.js rename to dist/assets/index--IvfJ7-F.js index dc53886..c8df2b0 100644 --- a/dist/assets/index-BsFSM-q6.js +++ b/dist/assets/index--IvfJ7-F.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Remover-hm9s48y5.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] + __vite__mapDeps.viteFileDeps = ["assets/Remover-jk7D4zvU.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{s as o,_ as r}from"./index-DeefX4sy.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-hm9s48y5.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-BwUF06Ed.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-jk7D4zvU.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-Dv44nJXP.js b/dist/assets/index-7EFgDSO9.js similarity index 68% rename from dist/assets/index-Dv44nJXP.js rename to dist/assets/index-7EFgDSO9.js index 6d665bc..e57d4a8 100644 --- a/dist/assets/index-Dv44nJXP.js +++ b/dist/assets/index-7EFgDSO9.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Grabber-Cl8G2rZG.js","assets/CanvasUtils-BkykU090.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/OptionsColor-G2vqGez_.js"] + __vite__mapDeps.viteFileDeps = ["assets/Grabber-BTJuV6nu.js","assets/CanvasUtils-C-woXdFO.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/OptionsColor-m5ffwtIr.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-DeefX4sy.js";import{O as s}from"./OptionsColor-G2vqGez_.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-Cl8G2rZG.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-BwUF06Ed.js";import{O as s}from"./OptionsColor-m5ffwtIr.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-BTJuV6nu.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-DsuVti3P.js b/dist/assets/index-B1vYCfKr.js similarity index 56% rename from dist/assets/index-DsuVti3P.js rename to dist/assets/index-B1vYCfKr.js index 156c7c7..52fbb40 100644 --- a/dist/assets/index-DsuVti3P.js +++ b/dist/assets/index-B1vYCfKr.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Collider-D8bCS2_2.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/ParticlesInteractorBase-vfDeBun3.js"] + __vite__mapDeps.viteFileDeps = ["assets/Collider-DblxNzAL.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/ParticlesInteractorBase-vfDeBun3.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as a}from"./index-DeefX4sy.js";async function n(t,o=!0){await t.addInteractor("particlesCollisions",async i=>{const{Collider:r}=await a(()=>import("./Collider-D8bCS2_2.js"),__vite__mapDeps([0,1,2,3]));return new r(i)},o)}export{n as loadParticlesCollisionsInteraction}; +import{_ as a}from"./index-BwUF06Ed.js";async function n(t,o=!0){await t.addInteractor("particlesCollisions",async i=>{const{Collider:r}=await a(()=>import("./Collider-DblxNzAL.js"),__vite__mapDeps([0,1,2,3]));return new r(i)},o)}export{n as loadParticlesCollisionsInteraction}; diff --git a/dist/assets/index-B4cJ1jhV.js b/dist/assets/index-B4cJ1jhV.js deleted file mode 100644 index 8fbd217..0000000 --- a/dist/assets/index-B4cJ1jhV.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/RotateUpdater-B0Y7UBd9.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/ValueWithRandom-CAlR6CGl.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as o}from"./index-DeefX4sy.js";async function i(t,a=!0){await t.addParticleUpdater("rotate",async e=>{const{RotateUpdater:r}=await o(()=>import("./RotateUpdater-B0Y7UBd9.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{i as loadRotateUpdater}; diff --git a/dist/assets/index-B4qC9MZm.js b/dist/assets/index-B4qC9MZm.js deleted file mode 100644 index 05c5eb0..0000000 --- a/dist/assets/index-B4qC9MZm.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/StrokeColorUpdater-B83BYumd.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as e}from"./index-DeefX4sy.js";async function i(r,o=!0){await r.addParticleUpdater("strokeColor",async t=>{const{StrokeColorUpdater:a}=await e(()=>import("./StrokeColorUpdater-B83BYumd.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadStrokeColorUpdater}; diff --git a/dist/assets/index-CNiY_PRz.js b/dist/assets/index-BBn4N7ef.js similarity index 59% rename from dist/assets/index-CNiY_PRz.js rename to dist/assets/index-BBn4N7ef.js index 1b40037..634ce06 100644 --- a/dist/assets/index-CNiY_PRz.js +++ b/dist/assets/index-BBn4N7ef.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Slower-JxFOG-5y.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] + __vite__mapDeps.viteFileDeps = ["assets/Slower-SeM3jA4j.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-DeefX4sy.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-JxFOG-5y.js"),__vite__mapDeps([0,1,2,3]));return new i(o)},r)}export{a as Slow,s as loadExternalSlowInteraction}; +import{_ as e}from"./index-BwUF06Ed.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-SeM3jA4j.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-Bb3Kps3J.js b/dist/assets/index-BUBcFElu.js similarity index 75% rename from dist/assets/index-Bb3Kps3J.js rename to dist/assets/index-BUBcFElu.js index efe8818..567b2ba 100644 --- a/dist/assets/index-Bb3Kps3J.js +++ b/dist/assets/index-BUBcFElu.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Attractor-DMijuL2O.js","assets/Ranges-CkEJtC_k.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Attractor-BNHadJBI.js","assets/Ranges-CPO2JO5l.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-DeefX4sy.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-DMijuL2O.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-BwUF06Ed.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-BNHadJBI.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-Dut7on6R.js b/dist/assets/index-BWwxh7mf.js similarity index 50% rename from dist/assets/index-Dut7on6R.js rename to dist/assets/index-BWwxh7mf.js index 7db41c5..3a7daaa 100644 --- a/dist/assets/index-Dut7on6R.js +++ b/dist/assets/index-BWwxh7mf.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/ParallaxMover-pezvtswf.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] + __vite__mapDeps.viteFileDeps = ["assets/ParallaxMover-Dvt3FLf8.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as t}from"./index-DeefX4sy.js";async function l(a,r=!0){await a.addMover("parallax",async()=>{const{ParallaxMover:o}=await t(()=>import("./ParallaxMover-pezvtswf.js"),__vite__mapDeps([0,1,2]));return new o},r)}export{l as loadParallaxMover}; +import{_ as t}from"./index-BwUF06Ed.js";async function l(a,r=!0){await a.addMover("parallax",async()=>{const{ParallaxMover:o}=await t(()=>import("./ParallaxMover-Dvt3FLf8.js"),__vite__mapDeps([0,1,2]));return new o},r)}export{l as loadParallaxMover}; diff --git a/dist/assets/index-BXrRsvdG.js b/dist/assets/index-BXrRsvdG.js deleted file mode 100644 index 70f8180..0000000 --- a/dist/assets/index-BXrRsvdG.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/PolygonDrawer-sFwBeHQQ.js","assets/PolygonDrawerBase-DwzPpbZb.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/TriangleDrawer-Cfxd6HYp.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as n}from"./index-DeefX4sy.js";async function e(a,o=!0){const{PolygonDrawer:t}=await n(()=>import("./PolygonDrawer-sFwBeHQQ.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-Cfxd6HYp.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-BtWH6V1w.js b/dist/assets/index-BtWH6V1w.js deleted file mode 100644 index 1311ac6..0000000 --- a/dist/assets/index-BtWH6V1w.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/index-DGL4yKst.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/index-CmnmrZU_.js","assets/index-CvqkUHi4.js","assets/index-Bml9rERt.js","assets/index-C_XRMVjZ.js","assets/index-CEYiOXgF.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as t}from"./index-DeefX4sy.js";async function s(a,_=!0){const{loadBaseMover:o}=await t(()=>import("./index-DGL4yKst.js"),__vite__mapDeps([0,1,2])),{loadCircleShape:i}=await t(()=>import("./index-CmnmrZU_.js"),__vite__mapDeps([3,1,2])),{loadColorUpdater:r}=await t(()=>import("./index-CvqkUHi4.js"),__vite__mapDeps([4,1,2])),{loadOpacityUpdater:d}=await t(()=>import("./index-Bml9rERt.js"),__vite__mapDeps([5,1,2])),{loadOutModesUpdater:e}=await t(()=>import("./index-C_XRMVjZ.js"),__vite__mapDeps([6,1,2])),{loadSizeUpdater:l}=await t(()=>import("./index-CEYiOXgF.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-DeefX4sy.js b/dist/assets/index-BwUF06Ed.js similarity index 89% rename from dist/assets/index-DeefX4sy.js rename to dist/assets/index-BwUF06Ed.js index 70aac98..35d37c3 100644 --- a/dist/assets/index-DeefX4sy.js +++ b/dist/assets/index-BwUF06Ed.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Container-C8BcwPyr.js","assets/CanvasUtils-BkykU090.js","assets/OptionsColor-G2vqGez_.js","assets/ValueWithRandom-CAlR6CGl.js","assets/Ranges-CkEJtC_k.js","assets/index-BzL9OwK7.js","assets/index-Dv44nJXP.js","assets/index-Ci2bwGMD.js"] + __vite__mapDeps.viteFileDeps = ["assets/Container-CSM4TIlF.js","assets/CanvasUtils-C-woXdFO.js","assets/OptionsColor-m5ffwtIr.js","assets/ValueWithRandom-DlZawfMJ.js","assets/Ranges-CPO2JO5l.js","assets/index-Dwi8Fk5n.js","assets/index-7EFgDSO9.js","assets/index-D3e9F_9q.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -var Bp=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(Bp(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)=>(Bp(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Wu=(e,t,n,r)=>({set _(i){G(e,t,i,n)},get _(){return _(e,t,r)}}),pe=(e,t,n)=>(Bp(e,t,"access private method"),n);function A_(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 xC(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 wC={exports:{}},cf={},bC={exports:{}},fe={};/** +var Bp=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var O=(e,t,n)=>(Bp(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)=>(Bp(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Wu=(e,t,n,r)=>({set _(i){G(e,t,i,n)},get _(){return O(e,t,r)}}),pe=(e,t,n)=>(Bp(e,t,"access private method"),n);function AO(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 xC(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 wC={exports:{}},cf={},bC={exports:{}},fe={};/** * @license React * react.production.min.js * @@ -12,7 +12,7 @@ var Bp=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(Bp(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var yu=Symbol.for("react.element"),I_=Symbol.for("react.portal"),L_=Symbol.for("react.fragment"),$_=Symbol.for("react.strict_mode"),j_=Symbol.for("react.profiler"),D_=Symbol.for("react.provider"),F_=Symbol.for("react.context"),N_=Symbol.for("react.forward_ref"),z_=Symbol.for("react.suspense"),V_=Symbol.for("react.memo"),B_=Symbol.for("react.lazy"),g1=Symbol.iterator;function U_(e){return e===null||typeof e!="object"?null:(e=g1&&e[g1]||e["@@iterator"],typeof e=="function"?e:null)}var SC={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},CC=Object.assign,EC={};function sa(e,t,n){this.props=e,this.context=t,this.refs=EC,this.updater=n||SC}sa.prototype.isReactComponent={};sa.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")};sa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function PC(){}PC.prototype=sa.prototype;function Pv(e,t,n){this.props=e,this.context=t,this.refs=EC,this.updater=n||SC}var Tv=Pv.prototype=new PC;Tv.constructor=Pv;CC(Tv,sa.prototype);Tv.isPureReactComponent=!0;var v1=Array.isArray,TC=Object.prototype.hasOwnProperty,kv={current:null},kC={key:!0,ref:!0,__self:!0,__source:!0};function MC(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)TC.call(t,r)&&!kC.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)=>(Bp(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var K_=b,Q_=Symbol.for("react.element"),Y_=Symbol.for("react.fragment"),X_=Object.prototype.hasOwnProperty,Z_=K_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,J_={key:!0,ref:!0,__self:!0,__source:!0};function _C(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)X_.call(t,r)&&!J_.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:Q_,type:e,key:o,ref:s,props:i,_owner:Z_.current}}cf.Fragment=Y_;cf.jsx=_C;cf.jsxs=_C;wC.exports=cf;var C=wC.exports,hm={},OC={exports:{}},an={},RC={exports:{}},AC={};/** + */var KO=b,QO=Symbol.for("react.element"),YO=Symbol.for("react.fragment"),XO=Object.prototype.hasOwnProperty,ZO=KO.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,JO={key:!0,ref:!0,__self:!0,__source:!0};function OC(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)XO.call(t,r)&&!JO.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:QO,type:e,key:o,ref:s,props:i,_owner:ZO.current}}cf.Fragment=YO;cf.jsx=OC;cf.jsxs=OC;wC.exports=cf;var C=wC.exports,hm={},_C={exports:{}},an={},RC={exports:{}},AC={};/** * @license React * scheduler.production.min.js * @@ -28,7 +28,7 @@ var Bp=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(Bp(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(R,L){var z=R.length;R.push(L);e:for(;0>>1,ne=R[K];if(0>>1;Ki(Ge,z))Ji(U,Ge)?(R[K]=U,R[J]=z,K=J):(R[K]=Ge,R[de]=z,K=de);else if(Ji(U,z))R[K]=U,R[J]=z,K=J;else break e}}return L}function i(R,L){var z=R.sortIndex-L.sortIndex;return z!==0?z:R.id-L.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(R){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=R)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function w(R){if(m=!1,v(R),!h)if(n(l)!==null)h=!0,N(S);else{var L=n(u);L!==null&&H(w,L.startTime-R)}}function S(R,L){h=!1,m&&(m=!1,g(P),P=-1),p=!0;var z=f;try{for(v(L),d=n(l);d!==null&&(!(d.expirationTime>L)||R&&!A());){var K=d.callback;if(typeof K=="function"){d.callback=null,f=d.priorityLevel;var ne=K(d.expirationTime<=L);L=e.unstable_now(),typeof ne=="function"?d.callback=ne:d===n(l)&&r(l),v(L)}else r(l);d=n(l)}if(d!==null)var He=!0;else{var de=n(u);de!==null&&H(w,de.startTime-L),He=!1}return He}finally{d=null,f=z,p=!1}}var E=!1,T=null,P=-1,M=5,k=-1;function A(){return!(e.unstable_now()-kR||125K?(R.sortIndex=z,t(u,R),n(l)===null&&R===n(u)&&(m?(g(P),P=-1):m=!0,H(w,z-K))):(R.sortIndex=ne,t(l,R),h||p||(h=!0,N(S))),R},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(R){var L=f;return function(){var z=f;f=L;try{return R.apply(this,arguments)}finally{f=z}}}})(AC);RC.exports=AC;var eO=RC.exports;/** + */(function(e){function t(R,L){var z=R.length;R.push(L);e:for(;0>>1,ne=R[K];if(0>>1;Ki(Ge,z))Ji(U,Ge)?(R[K]=U,R[J]=z,K=J):(R[K]=Ge,R[de]=z,K=de);else if(Ji(U,z))R[K]=U,R[J]=z,K=J;else break e}}return L}function i(R,L){var z=R.sortIndex-L.sortIndex;return z!==0?z:R.id-L.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(R){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=R)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function w(R){if(m=!1,v(R),!h)if(n(l)!==null)h=!0,N(S);else{var L=n(u);L!==null&&H(w,L.startTime-R)}}function S(R,L){h=!1,m&&(m=!1,g(P),P=-1),p=!0;var z=f;try{for(v(L),d=n(l);d!==null&&(!(d.expirationTime>L)||R&&!A());){var K=d.callback;if(typeof K=="function"){d.callback=null,f=d.priorityLevel;var ne=K(d.expirationTime<=L);L=e.unstable_now(),typeof ne=="function"?d.callback=ne:d===n(l)&&r(l),v(L)}else r(l);d=n(l)}if(d!==null)var He=!0;else{var de=n(u);de!==null&&H(w,de.startTime-L),He=!1}return He}finally{d=null,f=z,p=!1}}var E=!1,T=null,P=-1,M=5,k=-1;function A(){return!(e.unstable_now()-kR||125K?(R.sortIndex=z,t(u,R),n(l)===null&&R===n(u)&&(m?(g(P),P=-1):m=!0,H(w,z-K))):(R.sortIndex=ne,t(l,R),h||p||(h=!0,N(S))),R},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(R){var L=f;return function(){var z=f;f=L;try{return R.apply(this,arguments)}finally{f=z}}}})(AC);RC.exports=AC;var e_=RC.exports;/** * @license React * react-dom.production.min.js * @@ -36,14 +36,14 @@ var Bp=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(Bp(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var IC=b,on=eO;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"),mm=Object.prototype.hasOwnProperty,tO=/^[: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]*$/,x1={},w1={};function nO(e){return mm.call(w1,e)?!0:mm.call(x1,e)?!1:tO.test(e)?w1[e]=!0:(x1[e]=!0,!1)}function rO(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 iO(e,t,n,r){if(t===null||typeof t>"u"||rO(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 _v=/[\-:]([a-z])/g;function Ov(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(_v,Ov);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(_v,Ov);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(_v,Ov);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 Rv(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"),mm=Object.prototype.hasOwnProperty,t_=/^[: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]*$/,x1={},w1={};function n_(e){return mm.call(w1,e)?!0:mm.call(x1,e)?!1:t_.test(e)?w1[e]=!0:(x1[e]=!0,!1)}function r_(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 i_(e,t,n,r){if(t===null||typeof t>"u"||r_(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 Ov=/[\-:]([a-z])/g;function _v(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(Ov,_v);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(Ov,_v);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(Ov,_v);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 Rv(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{Hp=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?za(e):""}function oO(e){switch(e.tag){case 5:return za(e.type);case 16:return za("Lazy");case 13:return za("Suspense");case 19:return za("SuspenseList");case 0:case 2:case 15:return e=Gp(e.type,!1),e;case 11:return e=Gp(e.type.render,!1),e;case 1:return e=Gp(e.type,!0),e;default:return""}}function xm(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 Zo:return"Fragment";case Xo:return"Portal";case gm:return"Profiler";case Av:return"StrictMode";case vm:return"Suspense";case ym:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case jC:return(e.displayName||"Context")+".Consumer";case $C:return(e._context.displayName||"Context")+".Provider";case Iv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lv:return t=e.displayName||null,t!==null?t:xm(e.type)||"Memo";case ni:t=e._payload,e=e._init;try{return xm(e(t))}catch{}}return null}function sO(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 xm(t);case 8:return t===Av?"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 Di(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function FC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function aO(e){var t=FC(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 qu(e){e._valueTracker||(e._valueTracker=aO(e))}function NC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=FC(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ed(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 wm(e,t){var n=t.checked;return Fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function S1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Di(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 zC(e,t){t=t.checked,t!=null&&Rv(e,"checked",t,!1)}function bm(e,t){zC(e,t);var n=Di(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")?Sm(e,t.type,n):t.hasOwnProperty("defaultValue")&&Sm(e,t.type,Di(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 Sm(e,t,n){(t!=="number"||ed(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Va=Array.isArray;function gs(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ku.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function wl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qa={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},lO=["Webkit","ms","Moz","O"];Object.keys(Qa).forEach(function(e){lO.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qa[t]=Qa[e]})});function WC(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qa.hasOwnProperty(e)&&Qa[e]?(""+t).trim():t+"px"}function HC(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=WC(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var uO=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 Pm(e,t){if(t){if(uO[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 Tm(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 km=null;function $v(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mm=null,vs=null,ys=null;function T1(e){if(e=bu(e)){if(typeof Mm!="function")throw Error(F(280));var t=e.stateNode;t&&(t=mf(t),Mm(e.stateNode,e.type,t))}}function GC(e){vs?ys?ys.push(e):ys=[e]:vs=e}function qC(){if(vs){var e=vs,t=ys;if(ys=vs=null,T1(e),t)for(e=0;e>>=0,e===0?32:31-(wO(e)/bO|0)|0}var Qu=64,Yu=4194304;function Ba(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 id(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=Ba(a):(o&=s,o!==0&&(r=Ba(o)))}else s=n&~i,s!==0?r=Ba(s):o!==0&&(r=Ba(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 xu(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 PO(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=Xa),$1=" ",j1=!1;function pE(e,t){switch(e){case"keyup":return JO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jo=!1;function tR(e,t){switch(e){case"compositionend":return hE(t);case"keypress":return t.which!==32?null:(j1=!0,$1);case"textInput":return e=t.data,e===$1&&j1?null:e;default:return null}}function nR(e,t){if(Jo)return e==="compositionend"||!Uv&&pE(e,t)?(e=dE(),Tc=zv=hi=null,Jo=!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=z1(n)}}function yE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xE(){for(var e=window,t=ed();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ed(e.document)}return t}function Wv(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 dR(e){var t=xE(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&yE(n.ownerDocument.documentElement,n)){if(r!==null&&Wv(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=V1(n,o);var s=V1(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,es=null,Lm=null,Ja=null,$m=!1;function B1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$m||es==null||es!==ed(r)||(r=es,"selectionStart"in r&&Wv(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}),Ja&&Tl(Ja,r)||(Ja=r,r=ad(Lm,"onSelect"),0rs||(e.current=Vm[rs],Vm[rs]=null,rs--)}function Me(e,t){rs++,Vm[rs]=e.current,e.current=t}var Fi={},Rt=Hi(Fi),Bt=Hi(!1),To=Fi;function Ws(e,t){var n=e.type.contextTypes;if(!n)return Fi;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 ud(){Ae(Bt),Ae(Rt)}function Q1(e,t,n){if(Rt.current!==Fi)throw Error(F(168));Me(Rt,t),Me(Bt,n)}function ME(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,sO(e)||"Unknown",i));return Fe({},n,r)}function cd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fi,To=Rt.current,Me(Rt,e),Me(Bt,Bt.current),!0}function Y1(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=ME(e,t,To),r.__reactInternalMemoizedMergedChildContext=e,Ae(Bt),Ae(Rt),Me(Rt,e)):Ae(Bt),Me(Bt,n)}var xr=null,gf=!1,sh=!1;function _E(e){xr===null?xr=[e]:xr.push(e)}function CR(e){gf=!0,_E(e)}function Gi(){if(!sh&&xr!==null){sh=!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?(M=T,T=null):M=T.sibling;var k=f(g,T,v[P],w);if(k===null){T===null&&(T=M);break}e&&T&&k.alternate===null&&t(g,T),y=o(k,y,P),E===null?S=k:E.sibling=k,E=k,T=M}if(P===v.length)return n(g,T),Le&&Ji(g,P),S;if(T===null){for(;PP?(M=T,T=null):M=T.sibling;var A=f(g,T,k.value,w);if(A===null){T===null&&(T=M);break}e&&T&&A.alternate===null&&t(g,T),y=o(A,y,P),E===null?S=A:E.sibling=A,E=A,T=M}if(k.done)return n(g,T),Le&&Ji(g,P),S;if(T===null){for(;!k.done;P++,k=v.next())k=d(g,k.value,w),k!==null&&(y=o(k,y,P),E===null?S=k:E.sibling=k,E=k);return Le&&Ji(g,P),S}for(T=r(g,T);!k.done;P++,k=v.next())k=p(T,g,P,k.value,w),k!==null&&(e&&k.alternate!==null&&T.delete(k.key===null?P:k.key),y=o(k,y,P),E===null?S=k:E.sibling=k,E=k);return e&&T.forEach(function(I){return t(g,I)}),Le&&Ji(g,P),S}function x(g,y,v,w){if(typeof v=="object"&&v!==null&&v.type===Zo&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Gu:e:{for(var S=v.key,E=y;E!==null;){if(E.key===S){if(S=v.type,S===Zo){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===S||typeof S=="object"&&S!==null&&S.$$typeof===ni&&rx(S)===E.type){n(g,E.sibling),y=i(E,v.props),y.ref=ka(g,E,v),y.return=g,g=y;break e}n(g,E);break}else t(g,E);E=E.sibling}v.type===Zo?(y=Co(v.props.children,g.mode,w,v.key),y.return=g,g=y):(w=Lc(v.type,v.key,v.props,null,g.mode,w),w.ref=ka(g,y,v),w.return=g,g=w)}return s(g);case Xo: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=hh(v,g.mode,w),y.return=g,g=y}return s(g);case ni:return E=v._init,x(g,y,E(v._payload),w)}if(Va(v))return h(g,y,v,w);if(Sa(v))return m(g,y,v,w);rc(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=ph(v,g.mode,w),y.return=g,g=y),s(g)):n(g,y)}return x}var Gs=DE(!0),FE=DE(!1),Su={},ar=Hi(Su),Ol=Hi(Su),Rl=Hi(Su);function lo(e){if(e===Su)throw Error(F(174));return e}function Jv(e,t){switch(Me(Rl,t),Me(Ol,e),Me(ar,Su),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Em(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Em(t,e)}Ae(ar),Me(ar,t)}function qs(){Ae(ar),Ae(Ol),Ae(Rl)}function NE(e){lo(Rl.current);var t=lo(ar.current),n=Em(t,e.type);t!==n&&(Me(Ol,e),Me(ar,n))}function e0(e){Ol.current===e&&(Ae(ar),Ae(Ol))}var $e=Hi(0);function gd(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 ah=[];function t0(){for(var e=0;en?n:4,e(!0);var r=lh.transition;lh.transition={};try{e(!1),t()}finally{Se=n,lh.transition=r}}function tP(){return Mn().memoizedState}function kR(e,t,n){var r=ki(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},nP(e))rP(t,n);else if(n=IE(e,t,n,r),n!==null){var i=$t();Wn(n,e,r,i),iP(n,t,r)}}function MR(e,t,n){var r=ki(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(nP(e))rP(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,Xv(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=IE(e,t,i,r),n!==null&&(i=$t(),Wn(n,e,r,i),iP(n,t,r))}}function nP(e){var t=e.alternate;return e===De||t!==null&&t===De}function rP(e,t){el=vd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function iP(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Dv(e,n)}}var yd={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},_R={readContext:kn,useCallback:function(e,t){return Qn().memoizedState=[e,t===void 0?null:t],e},useContext:kn,useEffect:ox,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Oc(4194308,4,YE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Oc(4194308,4,e,t)},useInsertionEffect:function(e,t){return Oc(4,2,e,t)},useMemo:function(e,t){var n=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=kR.bind(null,De,e),[r.memoizedState,e]},useRef:function(e){var t=Qn();return e={current:e},t.memoizedState=e},useState:ix,useDebugValue:s0,useDeferredValue:function(e){return Qn().memoizedState=e},useTransition:function(){var e=ix(!1),t=e[0];return e=TR.bind(null,e[1]),Qn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=De,i=Qn();if(Le){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ht===null)throw Error(F(349));Mo&30||BE(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ox(WE.bind(null,r,o,e),[e]),r.flags|=2048,Ll(9,UE.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Qn(),t=ht.identifierPrefix;if(Le){var n=br,r=wr;n=(r&~(1<<32-Un(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Al++,0")&&(l=l.replace("",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Hp=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?za(e):""}function o_(e){switch(e.tag){case 5:return za(e.type);case 16:return za("Lazy");case 13:return za("Suspense");case 19:return za("SuspenseList");case 0:case 2:case 15:return e=Gp(e.type,!1),e;case 11:return e=Gp(e.type.render,!1),e;case 1:return e=Gp(e.type,!0),e;default:return""}}function xm(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 Zo:return"Fragment";case Xo:return"Portal";case gm:return"Profiler";case Av:return"StrictMode";case vm:return"Suspense";case ym:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case jC:return(e.displayName||"Context")+".Consumer";case $C:return(e._context.displayName||"Context")+".Provider";case Iv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Lv:return t=e.displayName||null,t!==null?t:xm(e.type)||"Memo";case ni:t=e._payload,e=e._init;try{return xm(e(t))}catch{}}return null}function s_(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 xm(t);case 8:return t===Av?"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 Di(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function FC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function a_(e){var t=FC(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 qu(e){e._valueTracker||(e._valueTracker=a_(e))}function NC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=FC(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ed(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 wm(e,t){var n=t.checked;return Fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function S1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Di(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 zC(e,t){t=t.checked,t!=null&&Rv(e,"checked",t,!1)}function bm(e,t){zC(e,t);var n=Di(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")?Sm(e,t.type,n):t.hasOwnProperty("defaultValue")&&Sm(e,t.type,Di(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 Sm(e,t,n){(t!=="number"||ed(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Va=Array.isArray;function gs(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Ku.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function wl(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Qa={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},l_=["Webkit","ms","Moz","O"];Object.keys(Qa).forEach(function(e){l_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Qa[t]=Qa[e]})});function WC(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Qa.hasOwnProperty(e)&&Qa[e]?(""+t).trim():t+"px"}function HC(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=WC(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var u_=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 Pm(e,t){if(t){if(u_[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 Tm(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 km=null;function $v(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Mm=null,vs=null,ys=null;function T1(e){if(e=bu(e)){if(typeof Mm!="function")throw Error(F(280));var t=e.stateNode;t&&(t=mf(t),Mm(e.stateNode,e.type,t))}}function GC(e){vs?ys?ys.push(e):ys=[e]:vs=e}function qC(){if(vs){var e=vs,t=ys;if(ys=vs=null,T1(e),t)for(e=0;e>>=0,e===0?32:31-(w_(e)/b_|0)|0}var Qu=64,Yu=4194304;function Ba(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 id(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=Ba(a):(o&=s,o!==0&&(r=Ba(o)))}else s=n&~i,s!==0?r=Ba(s):o!==0&&(r=Ba(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 xu(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 P_(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=Xa),$1=" ",j1=!1;function pE(e,t){switch(e){case"keyup":return J_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jo=!1;function tR(e,t){switch(e){case"compositionend":return hE(t);case"keypress":return t.which!==32?null:(j1=!0,$1);case"textInput":return e=t.data,e===$1&&j1?null:e;default:return null}}function nR(e,t){if(Jo)return e==="compositionend"||!Uv&&pE(e,t)?(e=dE(),Tc=zv=hi=null,Jo=!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=z1(n)}}function yE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?yE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xE(){for(var e=window,t=ed();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ed(e.document)}return t}function Wv(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 dR(e){var t=xE(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&yE(n.ownerDocument.documentElement,n)){if(r!==null&&Wv(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=V1(n,o);var s=V1(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,es=null,Lm=null,Ja=null,$m=!1;function B1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;$m||es==null||es!==ed(r)||(r=es,"selectionStart"in r&&Wv(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}),Ja&&Tl(Ja,r)||(Ja=r,r=ad(Lm,"onSelect"),0rs||(e.current=Vm[rs],Vm[rs]=null,rs--)}function Me(e,t){rs++,Vm[rs]=e.current,e.current=t}var Fi={},Rt=Hi(Fi),Bt=Hi(!1),To=Fi;function Ws(e,t){var n=e.type.contextTypes;if(!n)return Fi;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 ud(){Ae(Bt),Ae(Rt)}function Q1(e,t,n){if(Rt.current!==Fi)throw Error(F(168));Me(Rt,t),Me(Bt,n)}function ME(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,s_(e)||"Unknown",i));return Fe({},n,r)}function cd(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fi,To=Rt.current,Me(Rt,e),Me(Bt,Bt.current),!0}function Y1(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=ME(e,t,To),r.__reactInternalMemoizedMergedChildContext=e,Ae(Bt),Ae(Rt),Me(Rt,e)):Ae(Bt),Me(Bt,n)}var xr=null,gf=!1,sh=!1;function OE(e){xr===null?xr=[e]:xr.push(e)}function CR(e){gf=!0,OE(e)}function Gi(){if(!sh&&xr!==null){sh=!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?(M=T,T=null):M=T.sibling;var k=f(g,T,v[P],w);if(k===null){T===null&&(T=M);break}e&&T&&k.alternate===null&&t(g,T),y=o(k,y,P),E===null?S=k:E.sibling=k,E=k,T=M}if(P===v.length)return n(g,T),Le&&Ji(g,P),S;if(T===null){for(;PP?(M=T,T=null):M=T.sibling;var A=f(g,T,k.value,w);if(A===null){T===null&&(T=M);break}e&&T&&A.alternate===null&&t(g,T),y=o(A,y,P),E===null?S=A:E.sibling=A,E=A,T=M}if(k.done)return n(g,T),Le&&Ji(g,P),S;if(T===null){for(;!k.done;P++,k=v.next())k=d(g,k.value,w),k!==null&&(y=o(k,y,P),E===null?S=k:E.sibling=k,E=k);return Le&&Ji(g,P),S}for(T=r(g,T);!k.done;P++,k=v.next())k=p(T,g,P,k.value,w),k!==null&&(e&&k.alternate!==null&&T.delete(k.key===null?P:k.key),y=o(k,y,P),E===null?S=k:E.sibling=k,E=k);return e&&T.forEach(function(I){return t(g,I)}),Le&&Ji(g,P),S}function x(g,y,v,w){if(typeof v=="object"&&v!==null&&v.type===Zo&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Gu:e:{for(var S=v.key,E=y;E!==null;){if(E.key===S){if(S=v.type,S===Zo){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===S||typeof S=="object"&&S!==null&&S.$$typeof===ni&&rx(S)===E.type){n(g,E.sibling),y=i(E,v.props),y.ref=ka(g,E,v),y.return=g,g=y;break e}n(g,E);break}else t(g,E);E=E.sibling}v.type===Zo?(y=Co(v.props.children,g.mode,w,v.key),y.return=g,g=y):(w=Lc(v.type,v.key,v.props,null,g.mode,w),w.ref=ka(g,y,v),w.return=g,g=w)}return s(g);case Xo: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=hh(v,g.mode,w),y.return=g,g=y}return s(g);case ni:return E=v._init,x(g,y,E(v._payload),w)}if(Va(v))return h(g,y,v,w);if(Sa(v))return m(g,y,v,w);rc(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=ph(v,g.mode,w),y.return=g,g=y),s(g)):n(g,y)}return x}var Gs=DE(!0),FE=DE(!1),Su={},ar=Hi(Su),_l=Hi(Su),Rl=Hi(Su);function lo(e){if(e===Su)throw Error(F(174));return e}function Jv(e,t){switch(Me(Rl,t),Me(_l,e),Me(ar,Su),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Em(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Em(t,e)}Ae(ar),Me(ar,t)}function qs(){Ae(ar),Ae(_l),Ae(Rl)}function NE(e){lo(Rl.current);var t=lo(ar.current),n=Em(t,e.type);t!==n&&(Me(_l,e),Me(ar,n))}function e0(e){_l.current===e&&(Ae(ar),Ae(_l))}var $e=Hi(0);function gd(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 ah=[];function t0(){for(var e=0;en?n:4,e(!0);var r=lh.transition;lh.transition={};try{e(!1),t()}finally{Se=n,lh.transition=r}}function tP(){return Mn().memoizedState}function kR(e,t,n){var r=ki(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},nP(e))rP(t,n);else if(n=IE(e,t,n,r),n!==null){var i=$t();Wn(n,e,r,i),iP(n,t,r)}}function MR(e,t,n){var r=ki(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(nP(e))rP(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,Xv(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=IE(e,t,i,r),n!==null&&(i=$t(),Wn(n,e,r,i),iP(n,t,r))}}function nP(e){var t=e.alternate;return e===De||t!==null&&t===De}function rP(e,t){el=vd=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function iP(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Dv(e,n)}}var yd={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},OR={readContext:kn,useCallback:function(e,t){return Qn().memoizedState=[e,t===void 0?null:t],e},useContext:kn,useEffect:ox,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,_c(4194308,4,YE.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _c(4194308,4,e,t)},useInsertionEffect:function(e,t){return _c(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=kR.bind(null,De,e),[r.memoizedState,e]},useRef:function(e){var t=Qn();return e={current:e},t.memoizedState=e},useState:ix,useDebugValue:s0,useDeferredValue:function(e){return Qn().memoizedState=e},useTransition:function(){var e=ix(!1),t=e[0];return e=TR.bind(null,e[1]),Qn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=De,i=Qn();if(Le){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ht===null)throw Error(F(349));Mo&30||BE(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,ox(WE.bind(null,r,o,e),[e]),r.flags|=2048,Ll(9,UE.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Qn(),t=ht.identifierPrefix;if(Le){var n=br,r=wr;n=(r&~(1<<32-Un(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Al++,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[_l]=r,pP(e,t,!1,!1),t.stateNode=e;e:{switch(s=Tm(n,r),n){case"dialog":Re("cancel",e),Re("close",e),i=r;break;case"iframe":case"object":case"embed":Re("load",e),i=r;break;case"video":case"audio":for(i=0;iQs&&(t.flags|=128,r=!0,Ma(o,!1),t.lanes=4194304)}else{if(!r)if(e=gd(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ma(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Le)return Pt(t),null}else 2*Ke()-o.renderingStartTime>Qs&&n!==1073741824&&(t.flags|=128,r=!0,Ma(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=Ke(),t.sibling=null,n=$e.current,Me($e,r?n&1|2:n&1),t):(Pt(t),null);case 22:case 23:return f0(),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 DR(e,t){switch(Gv(t),t.tag){case 1:return Ut(t.type)&&ud(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qs(),Ae(Bt),Ae(Rt),t0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return e0(t),null;case 13:if(Ae($e),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Hs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ae($e),null;case 4:return qs(),null;case 10:return Yv(t.type._context),null;case 22:case 23:return f0(),null;case 24:return null;default:return null}}var oc=!1,_t=!1,FR=typeof WeakSet=="function"?WeakSet:Set,q=null;function as(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 Jm(e,t,n){try{n()}catch(r){Ue(e,t,r)}}var hx=!1;function NR(e,t){if(jm=od,e=xE(),Wv(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(Dm={focusedElem:e,selectionRange:n},od=!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=hx,hx=!1,h}function tl(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&&Jm(t,n,o)}i=i.next}while(i!==r)}}function xf(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 eg(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 gP(e){var t=e.alternate;t!==null&&(e.alternate=null,gP(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ir],delete t[_l],delete t[zm],delete t[bR],delete t[SR])),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 vP(e){return e.tag===5||e.tag===3||e.tag===4}function mx(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vP(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 tg(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=ld));else if(r!==4&&(e=e.child,e!==null))for(tg(e,t,n),e=e.sibling;e!==null;)tg(e,t,n),e=e.sibling}function ng(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(ng(e,t,n),e=e.sibling;e!==null;)ng(e,t,n),e=e.sibling}var vt=null,Nn=!1;function Ur(e,t,n){for(n=n.child;n!==null;)yP(e,t,n),n=n.sibling}function yP(e,t,n){if(sr&&typeof sr.onCommitFiberUnmount=="function")try{sr.onCommitFiberUnmount(df,n)}catch{}switch(n.tag){case 5:_t||as(n,t);case 6:var r=vt,i=Nn;vt=null,Ur(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?oh(e.parentNode,n):e.nodeType===1&&oh(e,n),El(e)):oh(vt,n.stateNode));break;case 4:r=vt,i=Nn,vt=n.stateNode.containerInfo,Nn=!0,Ur(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)&&Jm(n,t,s),i=i.next}while(i!==r)}Ur(e,t,n);break;case 1:if(!_t&&(as(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)}Ur(e,t,n);break;case 21:Ur(e,t,n);break;case 22:n.mode&1?(_t=(r=_t)||n.memoizedState!==null,Ur(e,t,n),_t=r):Ur(e,t,n);break;default:Ur(e,t,n)}}function gx(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new FR),t.forEach(function(r){var i=KR.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function $n(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*VR(r/1960))-r,10e?16:e,mi===null)var r=!1;else{if(e=mi,mi=null,bd=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;lKe()-c0?So(e,0):u0|=n),Wt(e,t)}function TP(e,t){t===0&&(e.mode&1?(t=Yu,Yu<<=1,!(Yu&130023424)&&(Yu=4194304)):t=1);var n=$t();e=Lr(e,t),e!==null&&(xu(e,t,n),Wt(e,n))}function qR(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),TP(e,n)}function KR(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),TP(e,n)}var kP;kP=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,$R(e,t,n);Vt=!!(e.flags&131072)}else Vt=!1,Le&&t.flags&1048576&&OE(t,fd,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Rc(e,t),e=t.pendingProps;var i=Ws(t,Rt.current);ws(t,n),i=r0(null,t,r,e,i,n);var o=i0();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,cd(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Zv(t),i.updater=vf,t.stateNode=i,i._reactInternals=t,Gm(t,r,e,n),t=Qm(null,t,r,!0,o,n)):(t.tag=0,Le&&o&&Hv(t),Lt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Rc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=YR(r),e=Dn(r,e),i){case 0:t=Km(null,t,r,e,n);break e;case 1:t=dx(null,t,r,e,n);break e;case 11:t=ux(null,t,r,e,n);break e;case 14:t=cx(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),Km(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),dx(e,t,r,i,n);case 3:e:{if(cP(t),e===null)throw Error(F(387));r=t.pendingProps,o=t.memoizedState,i=o.element,LE(e,t),md(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=Ks(Error(F(423)),t),t=fx(e,t,r,n,i);break e}else if(r!==i){i=Ks(Error(F(424)),t),t=fx(e,t,r,n,i);break e}else for(en=Ei(t.stateNode.containerInfo.firstChild),nn=t,Le=!0,zn=null,n=FE(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hs(),r===i){t=$r(e,t,n);break e}Lt(e,t,r,n)}t=t.child}return t;case 5:return NE(t),e===null&&Um(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Fm(r,i)?s=null:o!==null&&Fm(r,o)&&(t.flags|=32),uP(e,t),Lt(e,t,s,n),t.child;case 6:return e===null&&Um(t),null;case 13:return dP(e,t,n);case 4:return Jv(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Gs(t,null,r,n):Lt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),ux(e,t,r,i,n);case 7:return Lt(e,t,t.pendingProps,n),t.child;case 8:return Lt(e,t,t.pendingProps.children,n),t.child;case 12:return Lt(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(pd,r._currentValue),r._currentValue=s,o!==null)if(Hn(o.value,s)){if(o.children===i.children&&!Bt.current){t=$r(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),Wm(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),Wm(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}Lt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ws(t,n),i=kn(i),r=r(i),t.flags|=1,Lt(e,t,r,n),t.child;case 14:return r=t.type,i=Dn(r,t.pendingProps),i=Dn(r.type,i),cx(e,t,r,i,n);case 15:return aP(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),Rc(e,t),t.tag=1,Ut(r)?(e=!0,cd(t)):e=!1,ws(t,n),jE(t,r,i),Gm(t,r,i,n),Qm(null,t,r,!0,e,n);case 19:return fP(e,t,n);case 22:return lP(e,t,n)}throw Error(F(156,t.tag))};function MP(e,t){return eE(e,t)}function QR(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 QR(e,t,n,r)}function h0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function YR(e){if(typeof e=="function")return h0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Iv)return 11;if(e===Lv)return 14}return 2}function Mi(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 Lc(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")h0(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Zo:return Co(n.children,i,o,t);case Av:s=8,i|=8;break;case gm:return e=Cn(12,n,t,i|2),e.elementType=gm,e.lanes=o,e;case vm:return e=Cn(13,n,t,i),e.elementType=vm,e.lanes=o,e;case ym:return e=Cn(19,n,t,i),e.elementType=ym,e.lanes=o,e;case DC:return bf(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $C:s=10;break e;case jC:s=9;break e;case Iv:s=11;break e;case Lv:s=14;break e;case ni: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 Co(e,t,n,r){return e=Cn(7,e,r,t),e.lanes=n,e}function bf(e,t,n,r){return e=Cn(22,e,r,t),e.elementType=DC,e.lanes=n,e.stateNode={isHidden:!1},e}function ph(e,t,n){return e=Cn(6,e,null,t),e.lanes=n,e}function hh(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 XR(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=Kp(0),this.expirationTimes=Kp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kp(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function m0(e,t,n,r,i,o,s,a,l){return e=new XR(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},Zv(o),e}function ZR(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(AP)}catch(e){console.error(e)}}AP(),OC.exports=an;var Tf=OC.exports;const lc=xC(Tf);var Ex=Tf;hm.createRoot=Ex.createRoot,hm.hydrateRoot=Ex.hydrateRoot;/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function dh(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function qm(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var AR=typeof WeakMap=="function"?WeakMap:Map;function oP(e,t,n){n=Pr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){wd||(wd=!0,rg=r),qm(e,t)},n}function sP(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(){qm(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){qm(e,t),typeof r!="function"&&(Ti===null?Ti=new Set([this]):Ti.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function sx(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new AR;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=GR.bind(null,e,t,n),t.then(e,e))}function ax(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 lx(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,Pi(n,t,1))),n.lanes|=1),e)}var IR=Nr.ReactCurrentOwner,Vt=!1;function Lt(e,t,n,r){t.child=e===null?FE(t,null,n,r):Gs(t,e.child,n,r)}function ux(e,t,n,r,i){n=n.render;var o=t.ref;return ws(t,i),r=r0(e,t,n,r,o,i),n=i0(),e!==null&&!Vt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$r(e,t,i)):(Le&&n&&Hv(t),t.flags|=1,Lt(e,t,r,i),t.child)}function cx(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!h0(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,aP(e,t,o,r,i)):(e=Lc(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:Tl,n(s,r)&&e.ref===t.ref)return $r(e,t,i)}return t.flags|=1,e=Mi(o,r),e.ref=t.ref,e.return=t,t.child=e}function aP(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Tl(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,$r(e,t,i)}return Km(e,t,n,r,i)}function lP(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(ls,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(ls,Xt),Xt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Me(ls,Xt),Xt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Me(ls,Xt),Xt|=r;return Lt(e,t,i,n),t.child}function uP(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Km(e,t,n,r,i){var o=Ut(n)?To:Rt.current;return o=Ws(t,o),ws(t,i),n=r0(e,t,n,r,o,i),r=i0(),e!==null&&!Vt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,$r(e,t,i)):(Le&&r&&Hv(t),t.flags|=1,Lt(e,t,n,i),t.child)}function dx(e,t,n,r,i){if(Ut(n)){var o=!0;cd(t)}else o=!1;if(ws(t,i),t.stateNode===null)Rc(e,t),jE(t,n,r),Gm(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)?To:Rt.current,u=Ws(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)&&nx(t,s,r,u),ri=!1;var f=t.memoizedState;s.state=f,md(t,r,s,i),l=t.memoizedState,a!==r||f!==l||Bt.current||ri?(typeof c=="function"&&(Hm(t,n,c,r),l=t.memoizedState),(a=ri||tx(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,LE(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)?To:Rt.current,l=Ws(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)&&nx(t,s,r,l),ri=!1,f=t.memoizedState,s.state=f,md(t,r,s,i);var h=t.memoizedState;a!==d||f!==h||Bt.current||ri?(typeof p=="function"&&(Hm(t,n,p,r),h=t.memoizedState),(u=ri||tx(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 Qm(e,t,n,r,o,i)}function Qm(e,t,n,r,i,o){uP(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return i&&Y1(t,n,!1),$r(e,t,o);r=t.stateNode,IR.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Gs(t,e.child,null,o),t.child=Gs(t,null,a,o)):Lt(e,t,a,o),t.memoizedState=r.state,i&&Y1(t,n,!0),t.child}function cP(e){var t=e.stateNode;t.pendingContext?Q1(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Q1(e,t.context,!1),Jv(e,t.containerInfo)}function fx(e,t,n,r,i){return Hs(),qv(i),t.flags|=256,Lt(e,t,n,r),t.child}var Ym={dehydrated:null,treeContext:null,retryLane:0};function Xm(e){return{baseLanes:e,cachePool:null,transitions:null}}function dP(e,t,n){var r=t.pendingProps,i=$e.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($e,i&1),e===null)return Um(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=bf(s,r,0,null),e=Co(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Xm(n),t.memoizedState=Ym,e):a0(t,s));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return LR(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=Mi(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=Mi(a,o):(o=Co(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?Xm(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},o.memoizedState=s,o.childLanes=e.childLanes&~n,t.memoizedState=Ym,r}return o=e.child,e=o.sibling,r=Mi(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 a0(e,t){return t=bf({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ic(e,t,n,r){return r!==null&&qv(r),Gs(t,e.child,null,n),e=a0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function LR(e,t,n,r,i,o,s){if(n)return t.flags&256?(t.flags&=-257,r=dh(Error(F(422))),ic(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=bf({mode:"visible",children:r.children},i,0,null),o=Co(o,i,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Gs(t,e.child,null,s),t.child.memoizedState=Xm(s),t.memoizedState=Ym,o);if(!(t.mode&1))return ic(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=dh(o,r,void 0),ic(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,Lr(e,i),Wn(r,e,i,-1))}return p0(),r=dh(Error(F(421))),ic(e,t,s,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=qR.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,en=Ei(i.nextSibling),nn=t,Le=!0,zn=null,e!==null&&(yn[xn++]=wr,yn[xn++]=br,yn[xn++]=ko,wr=e.id,br=e.overflow,ko=t),t=a0(t,r.children),t.flags|=4096,t)}function px(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Wm(e.return,t,n)}function fh(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 fP(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Lt(e,t,r.children,n),r=$e.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&&px(e,n,t);else if(e.tag===19)px(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($e,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&&gd(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),fh(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&&gd(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}fh(t,!0,n,null,o);break;case"together":fh(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Rc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $r(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Oo|=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=Mi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Mi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function $R(e,t,n){switch(t.tag){case 3:cP(t),Hs();break;case 5:NE(t);break;case 1:Ut(t.type)&&cd(t);break;case 4:Jv(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Me(pd,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Me($e,$e.current&1),t.flags|=128,null):n&t.child.childLanes?dP(e,t,n):(Me($e,$e.current&1),e=$r(e,t,n),e!==null?e.sibling:null);Me($e,$e.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return fP(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Me($e,$e.current),r)break;return null;case 22:case 23:return t.lanes=0,lP(e,t,n)}return $r(e,t,n)}var pP,Zm,hP,mP;pP=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}};Zm=function(){};hP=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,lo(ar.current);var o=null;switch(n){case"input":i=wm(e,i),r=wm(e,r),o=[];break;case"select":i=Fe({},i,{value:void 0}),r=Fe({},r,{value:void 0}),o=[];break;case"textarea":i=Cm(e,i),r=Cm(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ld)}Pm(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"&&(xl.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"&&(xl.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Re("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)}};mP=function(e,t,n,r){n!==r&&(t.flags|=4)};function Ma(e,t){if(!Le)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 jR(e,t,n){var r=t.pendingProps;switch(Gv(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)&&ud(),Pt(t),null;case 3:return r=t.stateNode,qs(),Ae(Bt),Ae(Rt),t0(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(nc(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,zn!==null&&(sg(zn),zn=null))),Zm(e,t),Pt(t),null;case 5:e0(t);var i=lo(Rl.current);if(n=t.type,e!==null&&t.stateNode!=null)hP(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=lo(ar.current),nc(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[ir]=t,r[Ol]=o,e=(t.mode&1)!==0,n){case"dialog":Re("cancel",r),Re("close",r);break;case"iframe":case"object":case"embed":Re("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[Ol]=r,pP(e,t,!1,!1),t.stateNode=e;e:{switch(s=Tm(n,r),n){case"dialog":Re("cancel",e),Re("close",e),i=r;break;case"iframe":case"object":case"embed":Re("load",e),i=r;break;case"video":case"audio":for(i=0;iQs&&(t.flags|=128,r=!0,Ma(o,!1),t.lanes=4194304)}else{if(!r)if(e=gd(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Ma(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Le)return Pt(t),null}else 2*Ke()-o.renderingStartTime>Qs&&n!==1073741824&&(t.flags|=128,r=!0,Ma(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=Ke(),t.sibling=null,n=$e.current,Me($e,r?n&1|2:n&1),t):(Pt(t),null);case 22:case 23:return f0(),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 DR(e,t){switch(Gv(t),t.tag){case 1:return Ut(t.type)&&ud(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qs(),Ae(Bt),Ae(Rt),t0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return e0(t),null;case 13:if(Ae($e),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Hs()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ae($e),null;case 4:return qs(),null;case 10:return Yv(t.type._context),null;case 22:case 23:return f0(),null;case 24:return null;default:return null}}var oc=!1,Ot=!1,FR=typeof WeakSet=="function"?WeakSet:Set,q=null;function as(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 Jm(e,t,n){try{n()}catch(r){Ue(e,t,r)}}var hx=!1;function NR(e,t){if(jm=od,e=xE(),Wv(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(Dm={focusedElem:e,selectionRange:n},od=!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=hx,hx=!1,h}function tl(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&&Jm(t,n,o)}i=i.next}while(i!==r)}}function xf(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 eg(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 gP(e){var t=e.alternate;t!==null&&(e.alternate=null,gP(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ir],delete t[Ol],delete t[zm],delete t[bR],delete t[SR])),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 vP(e){return e.tag===5||e.tag===3||e.tag===4}function mx(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||vP(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 tg(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=ld));else if(r!==4&&(e=e.child,e!==null))for(tg(e,t,n),e=e.sibling;e!==null;)tg(e,t,n),e=e.sibling}function ng(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(ng(e,t,n),e=e.sibling;e!==null;)ng(e,t,n),e=e.sibling}var vt=null,Nn=!1;function Ur(e,t,n){for(n=n.child;n!==null;)yP(e,t,n),n=n.sibling}function yP(e,t,n){if(sr&&typeof sr.onCommitFiberUnmount=="function")try{sr.onCommitFiberUnmount(df,n)}catch{}switch(n.tag){case 5:Ot||as(n,t);case 6:var r=vt,i=Nn;vt=null,Ur(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?oh(e.parentNode,n):e.nodeType===1&&oh(e,n),El(e)):oh(vt,n.stateNode));break;case 4:r=vt,i=Nn,vt=n.stateNode.containerInfo,Nn=!0,Ur(e,t,n),vt=r,Nn=i;break;case 0:case 11:case 14:case 15:if(!Ot&&(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)&&Jm(n,t,s),i=i.next}while(i!==r)}Ur(e,t,n);break;case 1:if(!Ot&&(as(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)}Ur(e,t,n);break;case 21:Ur(e,t,n);break;case 22:n.mode&1?(Ot=(r=Ot)||n.memoizedState!==null,Ur(e,t,n),Ot=r):Ur(e,t,n);break;default:Ur(e,t,n)}}function gx(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new FR),t.forEach(function(r){var i=KR.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function $n(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~o}if(r=i,r=Ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*VR(r/1960))-r,10e?16:e,mi===null)var r=!1;else{if(e=mi,mi=null,bd=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;lKe()-c0?So(e,0):u0|=n),Wt(e,t)}function TP(e,t){t===0&&(e.mode&1?(t=Yu,Yu<<=1,!(Yu&130023424)&&(Yu=4194304)):t=1);var n=$t();e=Lr(e,t),e!==null&&(xu(e,t,n),Wt(e,n))}function qR(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),TP(e,n)}function KR(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),TP(e,n)}var kP;kP=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,$R(e,t,n);Vt=!!(e.flags&131072)}else Vt=!1,Le&&t.flags&1048576&&_E(t,fd,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Rc(e,t),e=t.pendingProps;var i=Ws(t,Rt.current);ws(t,n),i=r0(null,t,r,e,i,n);var o=i0();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,cd(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Zv(t),i.updater=vf,t.stateNode=i,i._reactInternals=t,Gm(t,r,e,n),t=Qm(null,t,r,!0,o,n)):(t.tag=0,Le&&o&&Hv(t),Lt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Rc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=YR(r),e=Dn(r,e),i){case 0:t=Km(null,t,r,e,n);break e;case 1:t=dx(null,t,r,e,n);break e;case 11:t=ux(null,t,r,e,n);break e;case 14:t=cx(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),Km(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),dx(e,t,r,i,n);case 3:e:{if(cP(t),e===null)throw Error(F(387));r=t.pendingProps,o=t.memoizedState,i=o.element,LE(e,t),md(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=Ks(Error(F(423)),t),t=fx(e,t,r,n,i);break e}else if(r!==i){i=Ks(Error(F(424)),t),t=fx(e,t,r,n,i);break e}else for(en=Ei(t.stateNode.containerInfo.firstChild),nn=t,Le=!0,zn=null,n=FE(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Hs(),r===i){t=$r(e,t,n);break e}Lt(e,t,r,n)}t=t.child}return t;case 5:return NE(t),e===null&&Um(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,s=i.children,Fm(r,i)?s=null:o!==null&&Fm(r,o)&&(t.flags|=32),uP(e,t),Lt(e,t,s,n),t.child;case 6:return e===null&&Um(t),null;case 13:return dP(e,t,n);case 4:return Jv(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Gs(t,null,r,n):Lt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),ux(e,t,r,i,n);case 7:return Lt(e,t,t.pendingProps,n),t.child;case 8:return Lt(e,t,t.pendingProps.children,n),t.child;case 12:return Lt(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(pd,r._currentValue),r._currentValue=s,o!==null)if(Hn(o.value,s)){if(o.children===i.children&&!Bt.current){t=$r(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),Wm(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),Wm(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}Lt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ws(t,n),i=kn(i),r=r(i),t.flags|=1,Lt(e,t,r,n),t.child;case 14:return r=t.type,i=Dn(r,t.pendingProps),i=Dn(r.type,i),cx(e,t,r,i,n);case 15:return aP(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Dn(r,i),Rc(e,t),t.tag=1,Ut(r)?(e=!0,cd(t)):e=!1,ws(t,n),jE(t,r,i),Gm(t,r,i,n),Qm(null,t,r,!0,e,n);case 19:return fP(e,t,n);case 22:return lP(e,t,n)}throw Error(F(156,t.tag))};function MP(e,t){return eE(e,t)}function QR(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 QR(e,t,n,r)}function h0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function YR(e){if(typeof e=="function")return h0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Iv)return 11;if(e===Lv)return 14}return 2}function Mi(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 Lc(e,t,n,r,i,o){var s=2;if(r=e,typeof e=="function")h0(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Zo:return Co(n.children,i,o,t);case Av:s=8,i|=8;break;case gm:return e=Cn(12,n,t,i|2),e.elementType=gm,e.lanes=o,e;case vm:return e=Cn(13,n,t,i),e.elementType=vm,e.lanes=o,e;case ym:return e=Cn(19,n,t,i),e.elementType=ym,e.lanes=o,e;case DC:return bf(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $C:s=10;break e;case jC:s=9;break e;case Iv:s=11;break e;case Lv:s=14;break e;case ni: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 Co(e,t,n,r){return e=Cn(7,e,r,t),e.lanes=n,e}function bf(e,t,n,r){return e=Cn(22,e,r,t),e.elementType=DC,e.lanes=n,e.stateNode={isHidden:!1},e}function ph(e,t,n){return e=Cn(6,e,null,t),e.lanes=n,e}function hh(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 XR(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=Kp(0),this.expirationTimes=Kp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kp(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function m0(e,t,n,r,i,o,s,a,l){return e=new XR(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},Zv(o),e}function ZR(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(AP)}catch(e){console.error(e)}}AP(),_C.exports=an;var Tf=_C.exports;const lc=xC(Tf);var Ex=Tf;hm.createRoot=Ex.createRoot,hm.hydrateRoot=Ex.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 jl(){return jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function x0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function i5(){return Math.random().toString(36).substr(2,8)}function Tx(e,t){return{usr:e.state,key:e.key,idx:t}}function ag(e,t,n,r){return n===void 0&&(n=null),jl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?jo(t):t,{state:n,key:t&&t.key||r||i5()})}function Ed(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 jo(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 o5(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=gi.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(jl({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=gi.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=gi.Push;let y=ag(m.location,x,g);n&&n(y,x),u=c()+1;let v=Tx(y,u),w=m.createHref(y);try{s.pushState(v,"",w)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(w)}o&&l&&l({action:a,location:m.location,delta:1})}function p(x,g){a=gi.Replace;let y=ag(m.location,x,g);n&&n(y,x),u=c();let v=Tx(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:Ed(x);return y=y.replace(/ $/,"%20"),We(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 kx;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(kx||(kx={}));function s5(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?jo(t):t,i=Ys(r.pathname||"/",n);if(i==null)return null;let o=IP(e);a5(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("/")&&(We(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=_i([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(We(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),IP(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:h5(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 LP(o.path))i(o,s,l)}),t}function LP(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=LP(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 a5(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:m5(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const l5=/^:[\w-]+$/,u5=3,c5=2,d5=1,f5=10,p5=-2,Mx=e=>e==="*";function h5(e,t){let n=e.split("/"),r=n.length;return n.some(Mx)&&(r+=p5),t&&(r+=c5),n.filter(i=>!Mx(i)).reduce((i,o)=>i+(l5.test(o)?u5:o===""?d5:f5),r)}function m5(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 g5(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 v5(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),x0(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 y5(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return x0(!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 Ys(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 x5(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?jo(e):e;return{pathname:n?n.startsWith("/")?n:w5(n,t):t,search:C5(r),hash:E5(i)}}function w5(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 mh(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 b5(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function $P(e,t){let n=b5(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function jP(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=jo(e):(i=jl({},e),We(!i.pathname||!i.pathname.includes("?"),mh("?","pathname","search",i)),We(!i.pathname||!i.pathname.includes("#"),mh("#","pathname","hash",i)),We(!i.search||!i.search.includes("#"),mh("#","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=x5(i,a),u=s&&s!=="/"&&s.endsWith("/"),c=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const _i=e=>e.join("/").replace(/\/\/+/g,"/"),S5=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),C5=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,E5=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function P5(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const DP=["post","put","patch","delete"];new Set(DP);const T5=["get",...DP];new Set(T5);/** + */function jl(){return jl=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function x0(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function i5(){return Math.random().toString(36).substr(2,8)}function Tx(e,t){return{usr:e.state,key:e.key,idx:t}}function ag(e,t,n,r){return n===void 0&&(n=null),jl({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?jo(t):t,{state:n,key:t&&t.key||r||i5()})}function Ed(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 jo(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 o5(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,s=i.history,a=gi.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(jl({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=gi.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=gi.Push;let y=ag(m.location,x,g);n&&n(y,x),u=c()+1;let v=Tx(y,u),w=m.createHref(y);try{s.pushState(v,"",w)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(w)}o&&l&&l({action:a,location:m.location,delta:1})}function p(x,g){a=gi.Replace;let y=ag(m.location,x,g);n&&n(y,x),u=c();let v=Tx(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:Ed(x);return y=y.replace(/ $/,"%20"),We(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 kx;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(kx||(kx={}));function s5(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?jo(t):t,i=Ys(r.pathname||"/",n);if(i==null)return null;let o=IP(e);a5(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("/")&&(We(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=Oi([r,l.relativePath]),c=n.concat(l);o.children&&o.children.length>0&&(We(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),IP(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:h5(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 LP(o.path))i(o,s,l)}),t}function LP(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=LP(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 a5(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:m5(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const l5=/^:[\w-]+$/,u5=3,c5=2,d5=1,f5=10,p5=-2,Mx=e=>e==="*";function h5(e,t){let n=e.split("/"),r=n.length;return n.some(Mx)&&(r+=p5),t&&(r+=c5),n.filter(i=>!Mx(i)).reduce((i,o)=>i+(l5.test(o)?u5:o===""?d5:f5),r)}function m5(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 g5(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 v5(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),x0(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 y5(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return x0(!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 Ys(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 x5(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?jo(e):e;return{pathname:n?n.startsWith("/")?n:w5(n,t):t,search:C5(r),hash:E5(i)}}function w5(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 mh(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 b5(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function $P(e,t){let n=b5(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function jP(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=jo(e):(i=jl({},e),We(!i.pathname||!i.pathname.includes("?"),mh("?","pathname","search",i)),We(!i.pathname||!i.pathname.includes("#"),mh("#","pathname","hash",i)),We(!i.search||!i.search.includes("#"),mh("#","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=x5(i,a),u=s&&s!=="/"&&s.endsWith("/"),c=(o||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const Oi=e=>e.join("/").replace(/\/\/+/g,"/"),S5=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),C5=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,E5=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function P5(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const DP=["post","put","patch","delete"];new Set(DP);const T5=["get",...DP];new Set(T5);/** * 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 Dl(){return Dl=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=jP(u,JSON.parse(s),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:_i([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,o,e])}const _5=b.createContext(null);function O5(e){let t=b.useContext(zr).outlet;return t&&b.createElement(_5.Provider,{value:e},t)}function R5(){let{matches:e}=b.useContext(zr),t=e[e.length-1];return t?t.params:{}}function Of(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(qi),{matches:i}=b.useContext(zr),{pathname:o}=Eu(),s=JSON.stringify($P(i,r.v7_relativeSplatPath));return b.useMemo(()=>jP(e,JSON.parse(s),o,n==="path"),[e,s,o,n])}function A5(e,t){return I5(e,t)}function I5(e,t,n,r){Cu()||We(!1);let{navigator:i}=b.useContext(qi),{matches:o}=b.useContext(zr),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=Eu(),c;if(t){var d;let x=typeof t=="string"?jo(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||We(!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=s5(e,{pathname:p}),m=F5(h&&h.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:_i([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:_i([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&m?b.createElement(Mf.Provider,{value:{location:Dl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:gi.Pop}},m):m}function L5(){let e=B5(),t=P5(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 $5=b.createElement(L5,null);class j5 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(zr.Provider,{value:this.props.routeContext},b.createElement(NP.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function D5(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(kf);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(zr.Provider,{value:t},r)}function F5(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||We(!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||$5,l&&(u<0&&f===0?(W5("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(D5,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(j5,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var VP=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(VP||{}),Pd=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}(Pd||{});function N5(e){let t=b.useContext(kf);return t||We(!1),t}function z5(e){let t=b.useContext(FP);return t||We(!1),t}function V5(e){let t=b.useContext(zr);return t||We(!1),t}function BP(e){let t=V5(),n=t.matches[t.matches.length-1];return n.route.id||We(!1),n.route.id}function B5(){var e;let t=b.useContext(NP),n=z5(Pd.UseRouteError),r=BP(Pd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function U5(){let{router:e}=N5(VP.UseNavigateStable),t=BP(Pd.UseNavigateStable),n=b.useRef(!1);return zP(()=>{n.current=!0}),b.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Dl({fromRouteId:t},o)))},[e,t])}const _x={};function W5(e,t,n){!t&&!_x[e]&&(_x[e]=!0)}function H5(e){return O5(e.context)}function Qo(e){We(!1)}function G5(e){let{basename:t="/",children:n=null,location:r,navigationType:i=gi.Pop,navigator:o,static:s=!1,future:a}=e;Cu()&&We(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:o,static:s,future:Dl({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=jo(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:h="default"}=r,m=b.useMemo(()=>{let x=Ys(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(qi.Provider,{value:u},b.createElement(Mf.Provider,{children:n,value:m}))}function q5(e){let{children:t,location:n}=e;return A5(ug(t),n)}new Promise(()=>{});function ug(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,ug(r.props.children,o));return}r.type!==Qo&&We(!1),!r.props.index||!r.props.children||We(!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=ug(r.props.children,o)),n.push(s)}),n}/** + */function Dl(){return Dl=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=jP(u,JSON.parse(s),o,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Oi([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,o,e])}const O5=b.createContext(null);function _5(e){let t=b.useContext(zr).outlet;return t&&b.createElement(O5.Provider,{value:e},t)}function R5(){let{matches:e}=b.useContext(zr),t=e[e.length-1];return t?t.params:{}}function _f(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=b.useContext(qi),{matches:i}=b.useContext(zr),{pathname:o}=Eu(),s=JSON.stringify($P(i,r.v7_relativeSplatPath));return b.useMemo(()=>jP(e,JSON.parse(s),o,n==="path"),[e,s,o,n])}function A5(e,t){return I5(e,t)}function I5(e,t,n,r){Cu()||We(!1);let{navigator:i}=b.useContext(qi),{matches:o}=b.useContext(zr),s=o[o.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=Eu(),c;if(t){var d;let x=typeof t=="string"?jo(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||We(!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=s5(e,{pathname:p}),m=F5(h&&h.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:Oi([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:Oi([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&m?b.createElement(Mf.Provider,{value:{location:Dl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:gi.Pop}},m):m}function L5(){let e=B5(),t=P5(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 $5=b.createElement(L5,null);class j5 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(zr.Provider,{value:this.props.routeContext},b.createElement(NP.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function D5(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(kf);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(zr.Provider,{value:t},r)}function F5(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||We(!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||$5,l&&(u<0&&f===0?(W5("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(D5,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(j5,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var VP=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(VP||{}),Pd=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}(Pd||{});function N5(e){let t=b.useContext(kf);return t||We(!1),t}function z5(e){let t=b.useContext(FP);return t||We(!1),t}function V5(e){let t=b.useContext(zr);return t||We(!1),t}function BP(e){let t=V5(),n=t.matches[t.matches.length-1];return n.route.id||We(!1),n.route.id}function B5(){var e;let t=b.useContext(NP),n=z5(Pd.UseRouteError),r=BP(Pd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function U5(){let{router:e}=N5(VP.UseNavigateStable),t=BP(Pd.UseNavigateStable),n=b.useRef(!1);return zP(()=>{n.current=!0}),b.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Dl({fromRouteId:t},o)))},[e,t])}const Ox={};function W5(e,t,n){!t&&!Ox[e]&&(Ox[e]=!0)}function H5(e){return _5(e.context)}function Qo(e){We(!1)}function G5(e){let{basename:t="/",children:n=null,location:r,navigationType:i=gi.Pop,navigator:o,static:s=!1,future:a}=e;Cu()&&We(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:o,static:s,future:Dl({v7_relativeSplatPath:!1},a)}),[l,a,o,s]);typeof r=="string"&&(r=jo(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:h="default"}=r,m=b.useMemo(()=>{let x=Ys(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(qi.Provider,{value:u},b.createElement(Mf.Provider,{children:n,value:m}))}function q5(e){let{children:t,location:n}=e;return A5(ug(t),n)}new Promise(()=>{});function ug(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,ug(r.props.children,o));return}r.type!==Qo&&We(!1),!r.props.index||!r.props.children||We(!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=ug(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 - */function Td(){return Td=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}function K5(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Q5(e,t){return e.button===0&&(!t||t==="_self")&&!K5(e)}const Y5=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],X5=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],Z5="6";try{window.__reactRouterVersion=Z5}catch{}const J5=b.createContext({isTransitioning:!1}),eA="startTransition",Ox=Jc[eA];function tA(e){let{basename:t,children:n,future:r,window:i}=e,o=b.useRef();o.current==null&&(o.current=r5({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&&Ox?Ox(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>s.listen(c),[s,c]),b.createElement(G5,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const nA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",rA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,WP=b.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:a,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=t,f=UP(t,Y5),{basename:p}=b.useContext(qi),h,m=!1;if(typeof u=="string"&&rA.test(u)&&(h=u,nA))try{let v=new URL(window.location.href),w=u.startsWith("//")?new URL(v.protocol+u):new URL(u),S=Ys(w.pathname,p);w.origin===v.origin&&S!=null?u=S+w.search+w.hash:m=!0}catch{}let x=k5(u,{relative:i}),g=oA(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:i,unstable_viewTransition:d});function y(v){r&&r(v),v.defaultPrevented||g(v)}return b.createElement("a",Td({},f,{href:h||x,onClick:m||o?r:y,ref:n,target:l}))}),HP=b.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:s=!1,style:a,to:l,unstable_viewTransition:u,children:c}=t,d=UP(t,X5),f=Of(l,{relative:d.relative}),p=Eu(),h=b.useContext(FP),{navigator:m,basename:x}=b.useContext(qi),g=h!=null&&sA(f)&&u===!0,y=m.encodeLocation?m.encodeLocation(f).pathname:f.pathname,v=p.pathname,w=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;i||(v=v.toLowerCase(),w=w?w.toLowerCase():null,y=y.toLowerCase()),w&&x&&(w=Ys(w,x)||w);const S=y!=="/"&&y.endsWith("/")?y.length-1:y.length;let E=v===y||!s&&v.startsWith(y)&&v.charAt(S)==="/",T=w!=null&&(w===y||!s&&w.startsWith(y)&&w.charAt(y.length)==="/"),P={isActive:E,isPending:T,isTransitioning:g},M=E?r:void 0,k;typeof o=="function"?k=o(P):k=[o,E?"active":null,T?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let A=typeof a=="function"?a(P):a;return b.createElement(WP,Td({},d,{"aria-current":M,className:k,ref:n,style:A,to:l,unstable_viewTransition:u}),typeof c=="function"?c(P):c)});var cg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(cg||(cg={}));var Rx;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Rx||(Rx={}));function iA(e){let t=b.useContext(kf);return t||We(!1),t}function oA(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=_f(),u=Eu(),c=Of(e,{relative:s});return b.useCallback(d=>{if(Q5(d,n)){d.preventDefault();let f=r!==void 0?r:Ed(u)===Ed(c);l(e,{replace:f,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:a})}},[u,l,c,r,i,n,e,o,s,a])}function sA(e,t){t===void 0&&(t={});let n=b.useContext(J5);n==null&&We(!1);let{basename:r}=iA(cg.useViewTransitionState),i=Of(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=Ys(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Ys(n.nextLocation.pathname,r)||n.nextLocation.pathname;return lg(i.pathname,s)!=null||lg(i.pathname,o)!=null}function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=GP(e[n])}),t}function lr(e,t,n={clone:!0}){const r=n.clone?O({},e):e;return ai(e)&&ai(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(ai(t[i])&&i in e&&ai(e[i])?r[i]=lr(e[i],t[i],n):n.clone?r[i]=ai(t[i])?GP(t[i]):t[i]:r[i]=t[i])}),r}const aA=Object.freeze(Object.defineProperty({__proto__:null,default:lr,isPlainObject:ai},Symbol.toStringTag,{value:"Module"}));function Xs(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n=0)&&(n[i]=e[i]);return n}function K5(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Q5(e,t){return e.button===0&&(!t||t==="_self")&&!K5(e)}const Y5=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],X5=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],Z5="6";try{window.__reactRouterVersion=Z5}catch{}const J5=b.createContext({isTransitioning:!1}),eA="startTransition",_x=Jc[eA];function tA(e){let{basename:t,children:n,future:r,window:i}=e,o=b.useRef();o.current==null&&(o.current=r5({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&&_x?_x(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>s.listen(c),[s,c]),b.createElement(G5,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const nA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",rA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,WP=b.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:s,state:a,target:l,to:u,preventScrollReset:c,unstable_viewTransition:d}=t,f=UP(t,Y5),{basename:p}=b.useContext(qi),h,m=!1;if(typeof u=="string"&&rA.test(u)&&(h=u,nA))try{let v=new URL(window.location.href),w=u.startsWith("//")?new URL(v.protocol+u):new URL(u),S=Ys(w.pathname,p);w.origin===v.origin&&S!=null?u=S+w.search+w.hash:m=!0}catch{}let x=k5(u,{relative:i}),g=oA(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:i,unstable_viewTransition:d});function y(v){r&&r(v),v.defaultPrevented||g(v)}return b.createElement("a",Td({},f,{href:h||x,onClick:m||o?r:y,ref:n,target:l}))}),HP=b.forwardRef(function(t,n){let{"aria-current":r="page",caseSensitive:i=!1,className:o="",end:s=!1,style:a,to:l,unstable_viewTransition:u,children:c}=t,d=UP(t,X5),f=_f(l,{relative:d.relative}),p=Eu(),h=b.useContext(FP),{navigator:m,basename:x}=b.useContext(qi),g=h!=null&&sA(f)&&u===!0,y=m.encodeLocation?m.encodeLocation(f).pathname:f.pathname,v=p.pathname,w=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;i||(v=v.toLowerCase(),w=w?w.toLowerCase():null,y=y.toLowerCase()),w&&x&&(w=Ys(w,x)||w);const S=y!=="/"&&y.endsWith("/")?y.length-1:y.length;let E=v===y||!s&&v.startsWith(y)&&v.charAt(S)==="/",T=w!=null&&(w===y||!s&&w.startsWith(y)&&w.charAt(y.length)==="/"),P={isActive:E,isPending:T,isTransitioning:g},M=E?r:void 0,k;typeof o=="function"?k=o(P):k=[o,E?"active":null,T?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let A=typeof a=="function"?a(P):a;return b.createElement(WP,Td({},d,{"aria-current":M,className:k,ref:n,style:A,to:l,unstable_viewTransition:u}),typeof c=="function"?c(P):c)});var cg;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(cg||(cg={}));var Rx;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Rx||(Rx={}));function iA(e){let t=b.useContext(kf);return t||We(!1),t}function oA(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:a}=t===void 0?{}:t,l=Of(),u=Eu(),c=_f(e,{relative:s});return b.useCallback(d=>{if(Q5(d,n)){d.preventDefault();let f=r!==void 0?r:Ed(u)===Ed(c);l(e,{replace:f,state:i,preventScrollReset:o,relative:s,unstable_viewTransition:a})}},[u,l,c,r,i,n,e,o,s,a])}function sA(e,t){t===void 0&&(t={});let n=b.useContext(J5);n==null&&We(!1);let{basename:r}=iA(cg.useViewTransitionState),i=_f(e,{relative:t.relative});if(!n.isTransitioning)return!1;let o=Ys(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=Ys(n.nextLocation.pathname,r)||n.nextLocation.pathname;return lg(i.pathname,s)!=null||lg(i.pathname,o)!=null}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=GP(e[n])}),t}function lr(e,t,n={clone:!0}){const r=n.clone?_({},e):e;return ai(e)&&ai(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(ai(t[i])&&i in e&&ai(e[i])?r[i]=lr(e[i],t[i],n):n.clone?r[i]=ai(t[i])?GP(t[i]):t[i]:r[i]=t[i])}),r}const aA=Object.freeze(Object.defineProperty({__proto__:null,default:lr,isPlainObject:ai},Symbol.toStringTag,{value:"Module"}));function Xs(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 S0(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 mA(e,t){return()=>null}function gA(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 Ni(e){return Tr(e).defaultView||window}function vA(e,t){return()=>null}function kd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const zi=typeof window<"u"?b.useLayoutEffect:b.useEffect;let Lx=0;function yA(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(Lx+=1,n(`mui-${Lx}`))},[t]),r}const $x=Jc.useId;function xA(e){if($x!==void 0){const t=$x();return e??t}return yA(e)}function wA(e,t,n,r,i){return null}function bA({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 uo(e){const t=b.useRef(e);return zi(()=>{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=>{kd(n,t)})},e)}const jx={};function SA(e,t){const n=b.useRef(jx);return n.current===jx&&(n.current=e(t)),n}const CA=[];function EA(e){b.useEffect(e,CA)}class Vf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Vf}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function PA(){const e=SA(Vf.create).current;return EA(e.disposeEffect),e}let Bf=!0,fg=!1;const TA=new Vf,kA={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 MA(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&kA[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function _A(e){e.metaKey||e.altKey||e.ctrlKey||(Bf=!0)}function gh(){Bf=!1}function OA(){this.visibilityState==="hidden"&&fg&&(Bf=!0)}function RA(e){e.addEventListener("keydown",_A,!0),e.addEventListener("mousedown",gh,!0),e.addEventListener("pointerdown",gh,!0),e.addEventListener("touchstart",gh,!0),e.addEventListener("visibilitychange",OA,!0)}function AA(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Bf||MA(t)}function C0(){const e=b.useCallback(i=>{i!=null&&RA(i.ownerDocument)},[]),t=b.useRef(!1);function n(){return t.current?(fg=!0,TA.start(100,()=>{fg=!1}),t.current=!1,!0):!1}function r(i){return AA(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function IA(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function XP(e,t){const n=O({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=O({},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]=O({},o),Object.keys(i).forEach(s=>{n[r][s]=XP(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 Dx=e=>e,LA=()=>{let e=Dx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Dx}}},$A=LA(),E0=$A,jA={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 rt(e,t,n="Mui"){const r=jA[t];return r?`${n}-${r}`:`${E0.generate(e)}-${t}`}function Ye(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=rt(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 ZP(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)=>O({},n,{[r.key]:r.val}),{})};function eT(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=se(e,NA),o=zA(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:${P0[e]}px)`};function jr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||Fx;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=r.breakpoints||Fx;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||P0).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 UA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function WA(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Zs(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 Md(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Zs(e,n)||r,t&&(i=t(i,r,e)),i}function Xe(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=Zs(l,r)||{};return jr(s,a,d=>{let f=Md(u,i,d);return d===f&&typeof d=="string"&&(f=Md(u,i,`${t}${d==="default"?"":Y(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[t],o}function HA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const GA={m:"margin",p:"padding"},qA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Nx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},KA=HA(e=>{if(e.length>2)if(Nx[e])e=Nx[e];else return[e];const[t,n]=e.split(""),r=GA[t],i=qA[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),T0=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],k0=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...T0,...k0];function Pu(e,t,n,r){var i;const o=(i=Zs(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 tT(e){return Pu(e,"spacing",8)}function Tu(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 QA(e,t){return n=>e.reduce((r,i)=>(r[i]=Tu(t,n),r),{})}function YA(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=KA(n),o=QA(i,r),s=e[n];return jr(e,s,o)}function nT(e,t){const n=tT(e.theme);return Object.keys(e).map(r=>YA(e,t,r,n)).reduce(il,{})}function ze(e){return nT(e,T0)}ze.propTypes={};ze.filterProps=T0;function Ve(e){return nT(e,k0)}Ve.propTypes={};Ve.filterProps=k0;function XA(e=8){if(e.mui)return e;const t=tT({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 Uf(...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]?il(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 Rn(e,t){return Xe({prop:e,themeKey:"borders",transform:t})}const ZA=Rn("border",wn),JA=Rn("borderTop",wn),eI=Rn("borderRight",wn),tI=Rn("borderBottom",wn),nI=Rn("borderLeft",wn),rI=Rn("borderColor"),iI=Rn("borderTopColor"),oI=Rn("borderRightColor"),sI=Rn("borderBottomColor"),aI=Rn("borderLeftColor"),lI=Rn("outline",wn),uI=Rn("outlineColor"),Wf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Pu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Tu(t,r)});return jr(e,e.borderRadius,n)}return null};Wf.propTypes={};Wf.filterProps=["borderRadius"];Uf(ZA,JA,eI,tI,nI,rI,iI,oI,sI,aI,Wf,lI,uI);const Hf=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Pu(e.theme,"spacing",8),n=r=>({gap:Tu(t,r)});return jr(e,e.gap,n)}return null};Hf.propTypes={};Hf.filterProps=["gap"];const Gf=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Pu(e.theme,"spacing",8),n=r=>({columnGap:Tu(t,r)});return jr(e,e.columnGap,n)}return null};Gf.propTypes={};Gf.filterProps=["columnGap"];const qf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Pu(e.theme,"spacing",8),n=r=>({rowGap:Tu(t,r)});return jr(e,e.rowGap,n)}return null};qf.propTypes={};qf.filterProps=["rowGap"];const cI=Xe({prop:"gridColumn"}),dI=Xe({prop:"gridRow"}),fI=Xe({prop:"gridAutoFlow"}),pI=Xe({prop:"gridAutoColumns"}),hI=Xe({prop:"gridAutoRows"}),mI=Xe({prop:"gridTemplateColumns"}),gI=Xe({prop:"gridTemplateRows"}),vI=Xe({prop:"gridTemplateAreas"}),yI=Xe({prop:"gridArea"});Uf(Hf,Gf,qf,cI,dI,fI,pI,hI,mI,gI,vI,yI);function Ss(e,t){return t==="grey"?t:e}const xI=Xe({prop:"color",themeKey:"palette",transform:Ss}),wI=Xe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ss}),bI=Xe({prop:"backgroundColor",themeKey:"palette",transform:Ss});Uf(xI,wI,bI);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}const SI=Xe({prop:"width",transform:Jt}),M0=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])||P0[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};M0.filterProps=["maxWidth"];const CI=Xe({prop:"minWidth",transform:Jt}),EI=Xe({prop:"height",transform:Jt}),PI=Xe({prop:"maxHeight",transform:Jt}),TI=Xe({prop:"minHeight",transform:Jt});Xe({prop:"size",cssProperty:"width",transform:Jt});Xe({prop:"size",cssProperty:"height",transform:Jt});const kI=Xe({prop:"boxSizing"});Uf(SI,M0,CI,EI,PI,TI,kI);const MI={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:Wf},color:{themeKey:"palette",transform:Ss},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ss},backgroundColor:{themeKey:"palette",transform:Ss},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:Hf},rowGap:{style:qf},columnGap:{style:Gf},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:M0},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"}},ku=MI;function _I(...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 OI(e,t){return typeof e=="function"?e(t):e}function rT(){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=Zs(i,u)||{};return d?d(s):jr(s,r,h=>{let m=Md(f,c,h);return h===m&&typeof h=="string"&&(m=Md(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:ku;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=UA(o.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(p=>{const h=OI(u[p],o);if(h!=null)if(typeof h=="object")if(s[p])f=il(f,e(p,h,o,s));else{const m=jr({theme:o},h,x=>({[p]:x}));_I(m,h)?f[p]=t({sx:h,theme:o}):f=il(f,m)}else f=il(f,e(p,h,o,s))}),WA(d,f)}return Array.isArray(i)?i.map(a):a(i)}return t}const Mu=rT();Mu.filterProps=["sx"];function iT(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 RI=["breakpoints","palette","spacing","shape"];function _0(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=se(e,RI),a=eT(n),l=XA(i);let u=lr({breakpoints:a,direction:"ltr",components:{},palette:O({mode:"light"},r),spacing:l,shape:O({},BA,o)},s);return u.applyStyles=iT,u=t.reduce((c,d)=>lr(c,d),u),u.unstable_sxConfig=O({},ku,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Mu({sx:d,theme:this})},u}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:_0,private_createBreakpoints:eT,unstable_applyStyles:iT},Symbol.toStringTag,{value:"Module"}));function oT(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var II=/^((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=oT(function(e){return II.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function $I(e){if(e.sheet)return e.sheet;for(var t=0;t0?yt(ua,--Gt):0,Js--,et===10&&(Js=1,Qf--),et}function rn(){return et=Gt2||Nl(et)>3?"":" "}function KI(e,t){for(;--t&&rn()&&!(et<48||et>102||et>57&&et<65||et>70&&et<97););return _u(e,$c()+(t<6&&ur()==32&&rn()==32))}function hg(e){for(;rn();)switch(et){case e:return Gt;case 34:case 39:e!==34&&e!==39&&hg(et);break;case 40:e===41&&hg(e);break;case 92:rn();break}return Gt}function QI(e,t){for(;rn()&&e+et!==57;)if(e+et===84&&ur()===47)break;return"/*"+_u(t,Gt-1)+"*"+Kf(e===47?e:rn())}function YI(e){for(;!Nl(ur());)rn();return _u(e,Gt)}function XI(e){return dT(Dc("",null,null,null,[""],e=cT(e),0,[0],e))}function Dc(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,S=o,E=r,T=v;x;)switch(h=y,y=rn()){case 40:if(h!=108&&yt(T,d-1)==58){pg(T+=be(jc(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:T+=jc(y);break;case 9:case 10:case 13:case 32:T+=qI(h);break;case 92:T+=KI($c()-1,7);continue;case 47:switch(ur()){case 42:case 47:uc(ZI(QI(rn(),$c()),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&&uc(p>32?Vx(T+";",r,n,d-1):Vx(be(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(uc(E=zx(T,t,n,u,c,i,a,v,w=[],S=[],d),o),y===123)if(c===0)Dc(T,t,E,E,w,o,d,a,S);else switch(f===99&&yt(T,3)===110?100:f){case 100:case 108:case 109:case 115:Dc(e,E,E,r&&uc(zx(e,E,E,0,0,i,a,v,i,w=[],d),S),i,S,d,a,r?w:S);break;default:Dc(T,E,E,E,[""],S,0,a,S)}}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&&GI()==125)continue}switch(T+=Kf(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+=jc(rn())),f=ur(),c=d=nr(v=T+=YI($c())),y++;break;case 45:h===45&&nr(T)==2&&(m=0)}}return o}function zx(e,t,n,r,i,o,s,a,l,u,c){for(var d=i-1,f=i===0?o:[""],p=A0(f),h=0,m=0,x=0;h0?f[g]+" "+y:be(y,/&\f/g,f[g])))&&(l[x++]=v);return Yf(e,t,n,i===0?O0:a,l,u,c)}function ZI(e,t,n){return Yf(e,t,n,sT,Kf(HI()),Fl(e,2,-2),0)}function Vx(e,t,n,r){return Yf(e,t,n,R0,Fl(e,0,r),Fl(e,r+1,-1),r)}function Cs(e,t){for(var n="",r=A0(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"+_d+(yt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~pg(e,"stretch")?fT(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-(~pg(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 a3=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case R0:t.return=fT(t.value,t.length);break;case aT:return Cs([Oa(t,{value:be(t.value,"@","@"+we)})],i);case O0:if(t.length)return WI(t.props,function(o){switch(UI(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Cs([Oa(t,{props:[be(o,/:(read-\w+)/,":"+_d+"$1")]})],i);case"::placeholder":return Cs([Oa(t,{props:[be(o,/:(plac\w+)/,":"+we+"input-$1")]}),Oa(t,{props:[be(o,/:(plac\w+)/,":"+_d+"$1")]}),Oa(t,{props:[be(o,/:(plac\w+)/,Tt+"input-$1")]})],i)}return""})}},l3=[a3],pT=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||l3,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 S0(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 mA(e,t){return()=>null}function gA(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 Ni(e){return Tr(e).defaultView||window}function vA(e,t){return()=>null}function kd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const zi=typeof window<"u"?b.useLayoutEffect:b.useEffect;let Lx=0;function yA(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(Lx+=1,n(`mui-${Lx}`))},[t]),r}const $x=Jc.useId;function xA(e){if($x!==void 0){const t=$x();return e??t}return yA(e)}function wA(e,t,n,r,i){return null}function bA({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 uo(e){const t=b.useRef(e);return zi(()=>{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=>{kd(n,t)})},e)}const jx={};function SA(e,t){const n=b.useRef(jx);return n.current===jx&&(n.current=e(t)),n}const CA=[];function EA(e){b.useEffect(e,CA)}class Vf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Vf}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function PA(){const e=SA(Vf.create).current;return EA(e.disposeEffect),e}let Bf=!0,fg=!1;const TA=new Vf,kA={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 MA(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&kA[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function OA(e){e.metaKey||e.altKey||e.ctrlKey||(Bf=!0)}function gh(){Bf=!1}function _A(){this.visibilityState==="hidden"&&fg&&(Bf=!0)}function RA(e){e.addEventListener("keydown",OA,!0),e.addEventListener("mousedown",gh,!0),e.addEventListener("pointerdown",gh,!0),e.addEventListener("touchstart",gh,!0),e.addEventListener("visibilitychange",_A,!0)}function AA(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Bf||MA(t)}function C0(){const e=b.useCallback(i=>{i!=null&&RA(i.ownerDocument)},[]),t=b.useRef(!1);function n(){return t.current?(fg=!0,TA.start(100,()=>{fg=!1}),t.current=!1,!0):!1}function r(i){return AA(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function IA(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function XP(e,t){const n=_({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[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]=_({},o),Object.keys(i).forEach(s=>{n[r][s]=XP(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 Dx=e=>e,LA=()=>{let e=Dx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Dx}}},$A=LA(),E0=$A,jA={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 rt(e,t,n="Mui"){const r=jA[t];return r?`${n}-${r}`:`${E0.generate(e)}-${t}`}function Ye(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=rt(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 ZP(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)=>_({},n,{[r.key]:r.val}),{})};function eT(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=se(e,NA),o=zA(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:${P0[e]}px)`};function jr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||Fx;return t.reduce((s,a,l)=>(s[o.up(o.keys[l])]=n(t[l]),s),{})}if(typeof t=="object"){const o=r.breakpoints||Fx;return Object.keys(t).reduce((s,a)=>{if(Object.keys(o.values||P0).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 UA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const o=e.up(i);return r[o]={},r},{}))||{}}function WA(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Zs(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 Md(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Zs(e,n)||r,t&&(i=t(i,r,e)),i}function Xe(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=Zs(l,r)||{};return jr(s,a,d=>{let f=Md(u,i,d);return d===f&&typeof d=="string"&&(f=Md(u,i,`${t}${d==="default"?"":Y(d)}`,d)),n===!1?f:{[n]:f}})};return o.propTypes={},o.filterProps=[t],o}function HA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const GA={m:"margin",p:"padding"},qA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Nx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},KA=HA(e=>{if(e.length>2)if(Nx[e])e=Nx[e];else return[e];const[t,n]=e.split(""),r=GA[t],i=qA[n]||"";return Array.isArray(i)?i.map(o=>r+o):[r+i]}),T0=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],k0=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...T0,...k0];function Pu(e,t,n,r){var i;const o=(i=Zs(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 tT(e){return Pu(e,"spacing",8)}function Tu(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 QA(e,t){return n=>e.reduce((r,i)=>(r[i]=Tu(t,n),r),{})}function YA(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=KA(n),o=QA(i,r),s=e[n];return jr(e,s,o)}function nT(e,t){const n=tT(e.theme);return Object.keys(e).map(r=>YA(e,t,r,n)).reduce(il,{})}function ze(e){return nT(e,T0)}ze.propTypes={};ze.filterProps=T0;function Ve(e){return nT(e,k0)}Ve.propTypes={};Ve.filterProps=k0;function XA(e=8){if(e.mui)return e;const t=tT({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 Uf(...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]?il(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 Rn(e,t){return Xe({prop:e,themeKey:"borders",transform:t})}const ZA=Rn("border",wn),JA=Rn("borderTop",wn),eI=Rn("borderRight",wn),tI=Rn("borderBottom",wn),nI=Rn("borderLeft",wn),rI=Rn("borderColor"),iI=Rn("borderTopColor"),oI=Rn("borderRightColor"),sI=Rn("borderBottomColor"),aI=Rn("borderLeftColor"),lI=Rn("outline",wn),uI=Rn("outlineColor"),Wf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Pu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Tu(t,r)});return jr(e,e.borderRadius,n)}return null};Wf.propTypes={};Wf.filterProps=["borderRadius"];Uf(ZA,JA,eI,tI,nI,rI,iI,oI,sI,aI,Wf,lI,uI);const Hf=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Pu(e.theme,"spacing",8),n=r=>({gap:Tu(t,r)});return jr(e,e.gap,n)}return null};Hf.propTypes={};Hf.filterProps=["gap"];const Gf=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Pu(e.theme,"spacing",8),n=r=>({columnGap:Tu(t,r)});return jr(e,e.columnGap,n)}return null};Gf.propTypes={};Gf.filterProps=["columnGap"];const qf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Pu(e.theme,"spacing",8),n=r=>({rowGap:Tu(t,r)});return jr(e,e.rowGap,n)}return null};qf.propTypes={};qf.filterProps=["rowGap"];const cI=Xe({prop:"gridColumn"}),dI=Xe({prop:"gridRow"}),fI=Xe({prop:"gridAutoFlow"}),pI=Xe({prop:"gridAutoColumns"}),hI=Xe({prop:"gridAutoRows"}),mI=Xe({prop:"gridTemplateColumns"}),gI=Xe({prop:"gridTemplateRows"}),vI=Xe({prop:"gridTemplateAreas"}),yI=Xe({prop:"gridArea"});Uf(Hf,Gf,qf,cI,dI,fI,pI,hI,mI,gI,vI,yI);function Ss(e,t){return t==="grey"?t:e}const xI=Xe({prop:"color",themeKey:"palette",transform:Ss}),wI=Xe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ss}),bI=Xe({prop:"backgroundColor",themeKey:"palette",transform:Ss});Uf(xI,wI,bI);function Jt(e){return e<=1&&e!==0?`${e*100}%`:e}const SI=Xe({prop:"width",transform:Jt}),M0=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])||P0[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};M0.filterProps=["maxWidth"];const CI=Xe({prop:"minWidth",transform:Jt}),EI=Xe({prop:"height",transform:Jt}),PI=Xe({prop:"maxHeight",transform:Jt}),TI=Xe({prop:"minHeight",transform:Jt});Xe({prop:"size",cssProperty:"width",transform:Jt});Xe({prop:"size",cssProperty:"height",transform:Jt});const kI=Xe({prop:"boxSizing"});Uf(SI,M0,CI,EI,PI,TI,kI);const MI={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:Wf},color:{themeKey:"palette",transform:Ss},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ss},backgroundColor:{themeKey:"palette",transform:Ss},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:Hf},rowGap:{style:qf},columnGap:{style:Gf},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:M0},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"}},ku=MI;function OI(...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 _I(e,t){return typeof e=="function"?e(t):e}function rT(){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=Zs(i,u)||{};return d?d(s):jr(s,r,h=>{let m=Md(f,c,h);return h===m&&typeof h=="string"&&(m=Md(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:ku;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=UA(o.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(p=>{const h=_I(u[p],o);if(h!=null)if(typeof h=="object")if(s[p])f=il(f,e(p,h,o,s));else{const m=jr({theme:o},h,x=>({[p]:x}));OI(m,h)?f[p]=t({sx:h,theme:o}):f=il(f,m)}else f=il(f,e(p,h,o,s))}),WA(d,f)}return Array.isArray(i)?i.map(a):a(i)}return t}const Mu=rT();Mu.filterProps=["sx"];function iT(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 RI=["breakpoints","palette","spacing","shape"];function O0(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:o={}}=e,s=se(e,RI),a=eT(n),l=XA(i);let u=lr({breakpoints:a,direction:"ltr",components:{},palette:_({mode:"light"},r),spacing:l,shape:_({},BA,o)},s);return u.applyStyles=iT,u=t.reduce((c,d)=>lr(c,d),u),u.unstable_sxConfig=_({},ku,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Mu({sx:d,theme:this})},u}const AI=Object.freeze(Object.defineProperty({__proto__:null,default:O0,private_createBreakpoints:eT,unstable_applyStyles:iT},Symbol.toStringTag,{value:"Module"}));function oT(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var II=/^((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=oT(function(e){return II.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function $I(e){if(e.sheet)return e.sheet;for(var t=0;t0?yt(ua,--Gt):0,Js--,et===10&&(Js=1,Qf--),et}function rn(){return et=Gt2||Nl(et)>3?"":" "}function KI(e,t){for(;--t&&rn()&&!(et<48||et>102||et>57&&et<65||et>70&&et<97););return Ou(e,$c()+(t<6&&ur()==32&&rn()==32))}function hg(e){for(;rn();)switch(et){case e:return Gt;case 34:case 39:e!==34&&e!==39&&hg(et);break;case 40:e===41&&hg(e);break;case 92:rn();break}return Gt}function QI(e,t){for(;rn()&&e+et!==57;)if(e+et===84&&ur()===47)break;return"/*"+Ou(t,Gt-1)+"*"+Kf(e===47?e:rn())}function YI(e){for(;!Nl(ur());)rn();return Ou(e,Gt)}function XI(e){return dT(Dc("",null,null,null,[""],e=cT(e),0,[0],e))}function Dc(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,S=o,E=r,T=v;x;)switch(h=y,y=rn()){case 40:if(h!=108&&yt(T,d-1)==58){pg(T+=be(jc(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:T+=jc(y);break;case 9:case 10:case 13:case 32:T+=qI(h);break;case 92:T+=KI($c()-1,7);continue;case 47:switch(ur()){case 42:case 47:uc(ZI(QI(rn(),$c()),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&&uc(p>32?Vx(T+";",r,n,d-1):Vx(be(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(uc(E=zx(T,t,n,u,c,i,a,v,w=[],S=[],d),o),y===123)if(c===0)Dc(T,t,E,E,w,o,d,a,S);else switch(f===99&&yt(T,3)===110?100:f){case 100:case 108:case 109:case 115:Dc(e,E,E,r&&uc(zx(e,E,E,0,0,i,a,v,i,w=[],d),S),i,S,d,a,r?w:S);break;default:Dc(T,E,E,E,[""],S,0,a,S)}}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&&GI()==125)continue}switch(T+=Kf(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+=jc(rn())),f=ur(),c=d=nr(v=T+=YI($c())),y++;break;case 45:h===45&&nr(T)==2&&(m=0)}}return o}function zx(e,t,n,r,i,o,s,a,l,u,c){for(var d=i-1,f=i===0?o:[""],p=A0(f),h=0,m=0,x=0;h0?f[g]+" "+y:be(y,/&\f/g,f[g])))&&(l[x++]=v);return Yf(e,t,n,i===0?_0:a,l,u,c)}function ZI(e,t,n){return Yf(e,t,n,sT,Kf(HI()),Fl(e,2,-2),0)}function Vx(e,t,n,r){return Yf(e,t,n,R0,Fl(e,0,r),Fl(e,r+1,-1),r)}function Cs(e,t){for(var n="",r=A0(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"+Od+(yt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~pg(e,"stretch")?fT(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-(~pg(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 a3=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case R0:t.return=fT(t.value,t.length);break;case aT:return Cs([_a(t,{value:be(t.value,"@","@"+we)})],i);case _0:if(t.length)return WI(t.props,function(o){switch(UI(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Cs([_a(t,{props:[be(o,/:(read-\w+)/,":"+Od+"$1")]})],i);case"::placeholder":return Cs([_a(t,{props:[be(o,/:(plac\w+)/,":"+we+"input-$1")]}),_a(t,{props:[be(o,/:(plac\w+)/,":"+Od+"$1")]}),_a(t,{props:[be(o,/:(plac\w+)/,Tt+"input-$1")]})],i)}return""})}},l3=[a3],pT=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||l3,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 w3={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},b3=/[A-Z]|^ms/g,S3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wT=function(t){return t.charCodeAt(1)===45},Ux=function(t){return t!=null&&typeof t!="boolean"},vh=oT(function(e){return wT(e)?e:e.replace(b3,"-$&").toLowerCase()}),Wx=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(S3,function(r,i,o){return rr={name:i,styles:o,next:rr},i})}return w3[t]!==1&&!wT(t)&&typeof n=="number"&&n!==0?n+"px":n};function zl(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 C3(e,t,n)}case"function":{if(e!==void 0){var o=rr,s=n(e);return rr=o,zl(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function C3(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?M3:_3},Qx=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},O3=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return yT(n,r,i),P3(function(){return xT(n,r,i)}),null},R3=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=Qx(t,n,r),l=a||Kx(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 C.jsx(k3,{styles:r})}function TT(e,t){return mg(e,t)}const $3=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},j3=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:PT,StyledEngineProvider:I3,ThemeContext:Ou,css:ap,default:TT,internal_processStyles:$3,keyframes:ca},Symbol.toStringTag,{value:"Module"}));function D3(e){return Object.keys(e).length===0}function D0(e=null){const t=b.useContext(Ou);return!t||D3(t)?e:t}const F3=_0();function lp(e=F3){return D0(e)}function N3({props:e,name:t,defaultTheme:n,themeId:r}){let i=lp(n);return r&&(i=i[r]||i),JP({theme:i,name:t,props:e})}const z3=["sx"],V3=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:ku;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function F0(e){const{sx:t}=e,n=se(e,z3),{systemProps:r,otherProps:i}=V3(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const a=t(...s);return ai(a)?O({},r,a):r}:o=O({},r,t),O({},i,{sx:o})}const B3=Object.freeze(Object.defineProperty({__proto__:null,default:Mu,extendSxProp:F0,unstable_createStyleFunctionSx:rT,unstable_defaultSxConfig:ku},Symbol.toStringTag,{value:"Module"}));function U3(e,t){return O({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ze={},kT={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})(kT);var N0=kT.exports;const W3=Fr(lA),H3=Fr(FA);var MT=N0;Object.defineProperty(Ze,"__esModule",{value:!0});var kt=Ze.alpha=AT;Ze.blend=n4;Ze.colorChannel=void 0;var vg=Ze.darken=V0;Ze.decomposeColor=_n;Ze.emphasize=IT;var G3=Ze.getContrastRatio=X3;Ze.getLuminance=Od;Ze.hexToRgb=_T;Ze.hslToRgb=RT;var yg=Ze.lighten=B0;Ze.private_safeAlpha=Z3;Ze.private_safeColorChannel=void 0;Ze.private_safeDarken=J3;Ze.private_safeEmphasize=t4;Ze.private_safeLighten=e4;Ze.recomposeColor=da;Ze.rgbToHex=Y3;var Yx=MT(W3),q3=MT(H3);function z0(e,t=0,n=1){return(0,q3.default)(e,t,n)}function _T(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 K3(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(_T(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Yx.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,Yx.default)(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const OT=e=>{const t=_n(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Ze.colorChannel=OT;const Q3=(e,t)=>{try{return OT(e)}catch{return e}};Ze.private_safeColorChannel=Q3;function da(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 Y3(e){if(e.indexOf("#")===0)return e;const{values:t}=_n(e);return`#${t.map((n,r)=>K3(r===3?Math.round(255*n):n)).join("")}`}function RT(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])),da({type:a,values:l})}function Od(e){e=_n(e);let t=e.type==="hsl"||e.type==="hsla"?_n(RT(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 X3(e,t){const n=Od(e),r=Od(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function AT(e,t){return e=_n(e),t=z0(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,da(e)}function Z3(e,t,n){try{return AT(e,t)}catch{return e}}function V0(e,t){if(e=_n(e),t=z0(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 da(e)}function J3(e,t,n){try{return V0(e,t)}catch{return e}}function B0(e,t){if(e=_n(e),t=z0(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 da(e)}function e4(e,t,n){try{return B0(e,t)}catch{return e}}function IT(e,t=.15){return Od(e)>.5?V0(e,t):B0(e,t)}function t4(e,t,n){try{return IT(e,t)}catch{return e}}function n4(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 da({type:"rgb",values:a})}const r4={black:"#000",white:"#fff"},Vl=r4,i4={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"},o4=i4,s4={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"},Vo=s4,a4={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"},Bo=a4,l4={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"},Ra=l4,u4={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"},Uo=u4,c4={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"},Wo=c4,d4={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"},Ho=d4,f4=["mode","contrastThreshold","tonalOffset"],Xx={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:Vl.white,default:Vl.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}},xh={text:{primary:Vl.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:Vl.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=yg(e.main,i):t==="dark"&&(e.dark=vg(e.main,o)))}function p4(e="light"){return e==="dark"?{main:Uo[200],light:Uo[50],dark:Uo[400]}:{main:Uo[700],light:Uo[400],dark:Uo[800]}}function h4(e="light"){return e==="dark"?{main:Vo[200],light:Vo[50],dark:Vo[400]}:{main:Vo[500],light:Vo[300],dark:Vo[700]}}function m4(e="light"){return e==="dark"?{main:Bo[500],light:Bo[300],dark:Bo[700]}:{main:Bo[700],light:Bo[400],dark:Bo[800]}}function g4(e="light"){return e==="dark"?{main:Wo[400],light:Wo[300],dark:Wo[700]}:{main:Wo[700],light:Wo[500],dark:Wo[900]}}function v4(e="light"){return e==="dark"?{main:Ho[400],light:Ho[300],dark:Ho[700]}:{main:Ho[800],light:Ho[500],dark:Ho[900]}}function y4(e="light"){return e==="dark"?{main:Ra[400],light:Ra[300],dark:Ra[700]}:{main:"#ed6c02",light:Ra[500],dark:Ra[900]}}function x4(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=se(e,f4),o=e.primary||p4(t),s=e.secondary||h4(t),a=e.error||m4(t),l=e.info||g4(t),u=e.success||v4(t),c=e.warning||y4(t);function d(m){return G3(m,xh.text.primary)>=n?xh.text.primary:Xx.text.primary}const f=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:v=700})=>{if(m=O({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(Xs(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(Xs(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:xh,light:Xx};return lr(O({common:O({},Vl),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:o4,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),i)}const w4=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function b4(e){return Math.round(e*1e5)/1e5}const Jx={textTransform:"uppercase"},ew='"Roboto", "Helvetica", "Arial", sans-serif';function S4(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=ew,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,w4),p=i/14,h=d||(g=>`${g/u*p}rem`),m=(g,y,v,w,S)=>O({fontFamily:r,fontWeight:g,fontSize:h(y),lineHeight:v},r===ew?{letterSpacing:`${b4(w/y)}em`}:{},S,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,Jx),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Jx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return lr(O({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},x),f,{clone:!1})}const C4=.2,E4=.14,P4=.12;function Ie(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${C4})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${E4})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${P4})`].join(",")}const T4=["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)],k4=["duration","easing","delay"],M4={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)"},_4={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function tw(e){return`${Math.round(e)}ms`}function O4(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function R4(e){const t=O({},M4,e.easing),n=O({},_4,e.duration);return O({getAutoHeightDuration:O4,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=o;return se(o,k4),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof s=="string"?s:tw(s)} ${a} ${typeof l=="string"?l:tw(l)}`).join(",")}},e,{easing:t,duration:n})}const A4={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},I4=A4,L4=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function U0(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=se(e,L4);if(e.vars)throw new Error(Xs(18));const a=x4(r),l=_0(e);let u=lr(l,{mixins:U3(l.breakpoints,n),palette:a,shadows:T4.slice(),typography:S4(a,o),transitions:R4(i),zIndex:O({},I4)});return u=lr(u,s),u=t.reduce((c,d)=>lr(c,d),u),u.unstable_sxConfig=O({},ku,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Mu({sx:d,theme:this})},u}const $4=U0(),up=$4,Ro="$$material";function it({props:e,name:t}){return N3({props:e,name:t,defaultTheme:up,themeId:Ro})}var Ru={},wh={exports:{}},nw;function j4(){return nw||(nw=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}(wh)),wh.exports}const D4=Fr(j3),F4=Fr(aA),N4=Fr(hA),z4=Fr(pA),V4=Fr(AI),B4=Fr(B3);var fa=N0;Object.defineProperty(Ru,"__esModule",{value:!0});var U4=Ru.default=nL;Ru.shouldForwardProp=Fc;Ru.systemDefaultTheme=void 0;var mn=fa(ET()),xg=fa(j4()),rw=Y4(D4),W4=F4;fa(N4);fa(z4);var H4=fa(V4),G4=fa(B4);const q4=["ownerState"],K4=["variants"],Q4=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function LT(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(LT=function(r){return r?n:t})(e)}function Y4(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=LT(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 X4(e){return Object.keys(e).length===0}function Z4(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Fc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const J4=Ru.systemDefaultTheme=(0,H4.default)(),eL=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function cc({defaultTheme:e,theme:t,themeId:n}){return X4(t)?e:t[n]||t}function tL(e){return e?(t,n)=>n[e]:null}function Nc(e,t){let{ownerState:n}=t,r=(0,xg.default)(t,q4);const i=typeof e=="function"?e((0,mn.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(o=>Nc(o,(0,mn.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let a=(0,xg.default)(i,K4);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 nL(e={}){const{themeId:t,defaultTheme:n=J4,rootShouldForwardProp:r=Fc,slotShouldForwardProp:i=Fc}=e,o=s=>(0,G4.default)((0,mn.default)({},s,{theme:cc((0,mn.default)({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,a={})=>{(0,rw.internal_processStyles)(s,S=>S.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=tL(eL(u))}=a,p=(0,xg.default)(a,Q4),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,m=d||!1;let x,g=Fc;u==="Root"||u==="root"?g=r:u?g=i:Z4(s)&&(g=void 0);const y=(0,rw.default)(s,(0,mn.default)({shouldForwardProp:g,label:x},p)),v=S=>typeof S=="function"&&S.__emotion_real!==S||(0,W4.isPlainObject)(S)?E=>Nc(S,(0,mn.default)({},E,{theme:cc({theme:E.theme,defaultTheme:n,themeId:t})})):S,w=(S,...E)=>{let T=v(S);const P=E?E.map(v):[];l&&f&&P.push(A=>{const I=cc((0,mn.default)({},A,{defaultTheme:n,themeId:t}));if(!I.components||!I.components[l]||!I.components[l].styleOverrides)return null;const $=I.components[l].styleOverrides,D={};return Object.entries($).forEach(([B,N])=>{D[B]=Nc(N,(0,mn.default)({},A,{theme:I}))}),f(A,D)}),l&&!h&&P.push(A=>{var I;const $=cc((0,mn.default)({},A,{defaultTheme:n,themeId:t})),D=$==null||(I=$.components)==null||(I=I[l])==null?void 0:I.variants;return Nc({variants:D},(0,mn.default)({},A,{theme:$}))}),m||P.push(o);const M=P.length-E.length;if(Array.isArray(S)&&M>0){const A=new Array(M).fill("");T=[...S,...A],T.raw=[...S.raw,...A]}const k=y(T,...P);return s.muiName&&(k.muiName=s.muiName),k};return y.withConfig&&(w.withConfig=y.withConfig),w}}function rL(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Au=e=>rL(e)&&e!=="classes",le=U4({themeId:Ro,defaultTheme:up,rootShouldForwardProp:Au});function iL(e){return rt("MuiSvgIcon",e)}Ye("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const oL=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],sL=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${Y(t)}`,`fontSize${Y(n)}`]};return at(i,iL,r)},aL=le("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]}}),wg=b.forwardRef(function(t,n){const r=it({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,oL),h=b.isValidElement(i)&&i.type==="svg",m=O({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h}),x={};c||(x.viewBox=f);const g=sL(m);return C.jsxs(aL,O({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?C.jsx("title",{children:d}):null]}))});wg.muiName="SvgIcon";function qt(e,t){function n(r,i){return C.jsx(wg,O({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=wg.muiName,b.memo(b.forwardRef(n))}const lL={configure:e=>{E0.configure(e)}},uL=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Y,createChainedFunction:dg,createSvgIcon:qt,debounce:S0,deprecatedPropType:mA,isMuiElement:gA,ownerDocument:Tr,ownerWindow:Ni,requirePropFactory:vA,setRef:kd,unstable_ClassNameGenerator:lL,unstable_useEnhancedEffect:zi,unstable_useId:xA,unsupportedProp:wA,useControlled:bA,useEventCallback:uo,useForkRef:Ht,useIsFocusVisible:C0},Symbol.toStringTag,{value:"Module"})),$T=qt(C.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"),cL=qt(C.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"),dL=qt(C.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"),fL=qt(C.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"),pL=qt(C.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"),hL=qt(C.jsx("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send");function mL({styles:e,themeId:t,defaultTheme:n={}}){const r=lp(n),i=typeof e=="function"?e(t&&r[t]||r):e;return C.jsx(PT,{styles:i})}const gL=["className","component"];function vL(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,o=TT("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(Mu);return b.forwardRef(function(l,u){const c=lp(n),d=F0(l),{className:f,component:p="div"}=d,h=se(d,gL);return C.jsx(o,O({as:p,ref:u,className:oe(f,i?i(r):r),theme:t&&c[t]||c},h))})}function yL(e,t,n,r,i){const[o,s]=b.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return zi(()=>{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 jT=b.useSyncExternalStore;function xL(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 jT(l,a,s)}function wL(e,t={}){const n=D0(),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,""),(jT!==void 0?xL:yL)(l,i,o,s,a)}const bL=b.createContext(null),DT=bL;function FT(){return b.useContext(DT)}const SL=typeof Symbol=="function"&&Symbol.for,CL=SL?Symbol.for("mui.nested"):"__THEME_NESTED__";function EL(e,t){return typeof t=="function"?t(e):O({},e,t)}function PL(e){const{children:t,theme:n}=e,r=FT(),i=b.useMemo(()=>{const o=r===null?n:EL(r,n);return o!=null&&(o[CL]=r!==null),o},[n,r]);return C.jsx(DT.Provider,{value:i,children:t})}const TL=["value"],NT=b.createContext();function kL(e){let{value:t}=e,n=se(e,TL);return C.jsx(NT.Provider,O({value:t??!0},n))}const ML=()=>{const e=b.useContext(NT);return e??!1},iw={};function ow(e,t,n,r=!1){return b.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const o=n(i),s=e?O({},t,{[e]:o}):o;return r?()=>s:s}return e?O({},t,{[e]:n}):O({},t,n)},[e,t,n,r])}function _L(e){const{children:t,theme:n,themeId:r}=e,i=D0(iw),o=FT()||iw,s=ow(r,i,n),a=ow(r,o,n,!0),l=s.direction==="rtl";return C.jsx(PL,{theme:a,children:C.jsx(Ou.Provider,{value:s,children:C.jsx(kL,{value:l,children:t})})})}function W0(){const e=lp(up);return e[Ro]||e}const OL=["theme"];function RL(e){let{theme:t}=e,n=se(e,OL);const r=t[Ro];return C.jsx(_L,O({},n,{themeId:r?Ro:void 0,theme:r||t}))}const sw=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function zT(e){return it}function bg(e,t){return bg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},bg(e,t)}function VT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,bg(e,t)}const aw={disabled:!1},Rd=W.createContext(null);var AL=function(t){return t.scrollTop},Wa="unmounted",to="exited",no="entering",Yo="entered",Sg="exiting",Vr=function(e){VT(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=to,o.appearStatus=no):l=Yo:r.unmountOnExit||r.mountOnEnter?l=Wa:l=to,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Wa?{status:to}: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!==no&&s!==Yo&&(o=no):(s===no||s===Yo)&&(o=Sg)}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===no){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:lc.findDOMNode(this);s&&AL(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===to&&this.setState({status:Wa})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[lc.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||aw.disabled){this.safeSetState({status:Yo},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:no},function(){o.props.onEntering(u,c),o.onTransitionEnd(f,function(){o.safeSetState({status:Yo},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:lc.findDOMNode(this);if(!o||aw.disabled){this.safeSetState({status:to},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Sg},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:to},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:lc.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===Wa)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(Rd.Provider,{value:null},typeof s=="function"?s(i,a):W.cloneElement(W.Children.only(s),a))},t}(W.Component);Vr.contextType=Rd;Vr.propTypes={};function Go(){}Vr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Go,onEntering:Go,onEntered:Go,onExit:Go,onExiting:Go,onExited:Go};Vr.UNMOUNTED=Wa;Vr.EXITED=to;Vr.ENTERING=no;Vr.ENTERED=Yo;Vr.EXITING=Sg;const BT=Vr;function IL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H0(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 LL(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 Ad(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 zL(e){return rt("MuiPaper",e)}Ye("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 VL=["className","component","elevation","square","variant"],BL=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return at(o,zL,i)},UL=le("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 O({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"&&O({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${kt("#fff",sw(t.elevation))}, ${kt("#fff",sw(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),WL=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,u=se(r,VL),c=O({},r,{component:o,elevation:s,square:a,variant:l}),d=BL(c);return C.jsx(UL,O({as:o,ownerState:c,className:oe(d.root,i),ref:n},u))}),Bl=WL;function Cg(e){return typeof e=="string"}function WT(e,t,n){return e===void 0||Cg(e)?t:O({},t,{ownerState:O({},t.ownerState,n)})}function HT(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 GT(e,t,n){return typeof e=="function"?e(t,n):e}function lw(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 qT(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=O({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=O({},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=HT(O({},i,r)),a=lw(r),l=lw(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=O({},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=O({},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 HL=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function uw(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=se(e,HL),a=o?{}:GT(r,i),{props:l,internalRef:u}=qT(O({},s,{externalSlotProps:a})),c=Ht(u,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return WT(n,O({},l,{ref:c}),i)}const GL=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],qL=["component","slots","slotProps"],KL=["component"];function Eg(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,getSlotOwnerState:s,internalForwardedProps:a}=t,l=se(t,GL),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=o,f=se(o,qL),p=c[e]||r,h=GT(d[e],i),m=qT(O({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:x},internalRef:g}=m,y=se(m.props,KL),v=Ht(g,h==null?void 0:h.ref,t.ref),w=s?s(y):{},S=O({},i,w),E=e==="root"?x||u:x,T=WT(p,O({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,y,E&&{as:E},{ref:v}),S);return Object.keys(w).forEach(P=>{delete T[P]}),[p,T]}function QL(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]),C.jsx("span",{className:f,style:p,children:C.jsx("span",{className:h})})}const vn=Ye("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),YL=["center","classes","className"];let cp=e=>e,cw,dw,fw,pw;const Pg=550,XL=80,ZL=ca(cw||(cw=cp` + */var mt=typeof Symbol=="function"&&Symbol.for,I0=mt?Symbol.for("react.element"):60103,L0=mt?Symbol.for("react.portal"):60106,Xf=mt?Symbol.for("react.fragment"):60107,Zf=mt?Symbol.for("react.strict_mode"):60108,Jf=mt?Symbol.for("react.profiler"):60114,ep=mt?Symbol.for("react.provider"):60109,tp=mt?Symbol.for("react.context"):60110,$0=mt?Symbol.for("react.async_mode"):60111,np=mt?Symbol.for("react.concurrent_mode"):60111,rp=mt?Symbol.for("react.forward_ref"):60112,ip=mt?Symbol.for("react.suspense"):60113,u3=mt?Symbol.for("react.suspense_list"):60120,op=mt?Symbol.for("react.memo"):60115,sp=mt?Symbol.for("react.lazy"):60116,c3=mt?Symbol.for("react.block"):60121,d3=mt?Symbol.for("react.fundamental"):60117,f3=mt?Symbol.for("react.responder"):60118,p3=mt?Symbol.for("react.scope"):60119;function un(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case I0:switch(e=e.type,e){case $0:case np:case Xf:case Jf:case Zf:case ip:return e;default:switch(e=e&&e.$$typeof,e){case tp:case rp:case sp:case op:case ep:return e;default:return t}}case L0:return t}}}function mT(e){return un(e)===np}Ee.AsyncMode=$0;Ee.ConcurrentMode=np;Ee.ContextConsumer=tp;Ee.ContextProvider=ep;Ee.Element=I0;Ee.ForwardRef=rp;Ee.Fragment=Xf;Ee.Lazy=sp;Ee.Memo=op;Ee.Portal=L0;Ee.Profiler=Jf;Ee.StrictMode=Zf;Ee.Suspense=ip;Ee.isAsyncMode=function(e){return mT(e)||un(e)===$0};Ee.isConcurrentMode=mT;Ee.isContextConsumer=function(e){return un(e)===tp};Ee.isContextProvider=function(e){return un(e)===ep};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===I0};Ee.isForwardRef=function(e){return un(e)===rp};Ee.isFragment=function(e){return un(e)===Xf};Ee.isLazy=function(e){return un(e)===sp};Ee.isMemo=function(e){return un(e)===op};Ee.isPortal=function(e){return un(e)===L0};Ee.isProfiler=function(e){return un(e)===Jf};Ee.isStrictMode=function(e){return un(e)===Zf};Ee.isSuspense=function(e){return un(e)===ip};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Xf||e===np||e===Jf||e===Zf||e===ip||e===u3||typeof e=="object"&&e!==null&&(e.$$typeof===sp||e.$$typeof===op||e.$$typeof===ep||e.$$typeof===tp||e.$$typeof===rp||e.$$typeof===d3||e.$$typeof===f3||e.$$typeof===p3||e.$$typeof===c3)};Ee.typeOf=un;hT.exports=Ee;var h3=hT.exports,gT=h3,m3={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},g3={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},vT={};vT[gT.ForwardRef]=m3;vT[gT.Memo]=g3;var v3=!0;function y3(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var yT=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||v3===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},xT=function(t,n,r){yT(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 x3(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 w3={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},b3=/[A-Z]|^ms/g,S3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wT=function(t){return t.charCodeAt(1)===45},Ux=function(t){return t!=null&&typeof t!="boolean"},vh=oT(function(e){return wT(e)?e:e.replace(b3,"-$&").toLowerCase()}),Wx=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(S3,function(r,i,o){return rr={name:i,styles:o,next:rr},i})}return w3[t]!==1&&!wT(t)&&typeof n=="number"&&n!==0?n+"px":n};function zl(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 C3(e,t,n)}case"function":{if(e!==void 0){var o=rr,s=n(e);return rr=o,zl(e,t,s)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function C3(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?M3:O3},Qx=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},_3=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return yT(n,r,i),P3(function(){return xT(n,r,i)}),null},R3=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=Qx(t,n,r),l=a||Kx(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 C.jsx(k3,{styles:r})}function TT(e,t){return mg(e,t)}const $3=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},j3=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:PT,StyledEngineProvider:I3,ThemeContext:_u,css:ap,default:TT,internal_processStyles:$3,keyframes:ca},Symbol.toStringTag,{value:"Module"}));function D3(e){return Object.keys(e).length===0}function D0(e=null){const t=b.useContext(_u);return!t||D3(t)?e:t}const F3=O0();function lp(e=F3){return D0(e)}function N3({props:e,name:t,defaultTheme:n,themeId:r}){let i=lp(n);return r&&(i=i[r]||i),JP({theme:i,name:t,props:e})}const z3=["sx"],V3=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:ku;return Object.keys(e).forEach(o=>{i[o]?r.systemProps[o]=e[o]:r.otherProps[o]=e[o]}),r};function F0(e){const{sx:t}=e,n=se(e,z3),{systemProps:r,otherProps:i}=V3(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...s)=>{const a=t(...s);return ai(a)?_({},r,a):r}:o=_({},r,t),_({},i,{sx:o})}const B3=Object.freeze(Object.defineProperty({__proto__:null,default:Mu,extendSxProp:F0,unstable_createStyleFunctionSx:rT,unstable_defaultSxConfig:ku},Symbol.toStringTag,{value:"Module"}));function U3(e,t){return _({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ze={},kT={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})(kT);var N0=kT.exports;const W3=Fr(lA),H3=Fr(FA);var MT=N0;Object.defineProperty(Ze,"__esModule",{value:!0});var kt=Ze.alpha=AT;Ze.blend=n4;Ze.colorChannel=void 0;var vg=Ze.darken=V0;Ze.decomposeColor=On;Ze.emphasize=IT;var G3=Ze.getContrastRatio=X3;Ze.getLuminance=_d;Ze.hexToRgb=OT;Ze.hslToRgb=RT;var yg=Ze.lighten=B0;Ze.private_safeAlpha=Z3;Ze.private_safeColorChannel=void 0;Ze.private_safeDarken=J3;Ze.private_safeEmphasize=t4;Ze.private_safeLighten=e4;Ze.recomposeColor=da;Ze.rgbToHex=Y3;var Yx=MT(W3),q3=MT(H3);function z0(e,t=0,n=1){return(0,q3.default)(e,t,n)}function OT(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 K3(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function On(e){if(e.type)return e;if(e.charAt(0)==="#")return On(OT(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Yx.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,Yx.default)(10,i))}else r=r.split(",");return r=r.map(o=>parseFloat(o)),{type:n,values:r,colorSpace:i}}const _T=e=>{const t=On(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Ze.colorChannel=_T;const Q3=(e,t)=>{try{return _T(e)}catch{return e}};Ze.private_safeColorChannel=Q3;function da(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 Y3(e){if(e.indexOf("#")===0)return e;const{values:t}=On(e);return`#${t.map((n,r)=>K3(r===3?Math.round(255*n):n)).join("")}`}function RT(e){e=On(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])),da({type:a,values:l})}function _d(e){e=On(e);let t=e.type==="hsl"||e.type==="hsla"?On(RT(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 X3(e,t){const n=_d(e),r=_d(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function AT(e,t){return e=On(e),t=z0(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,da(e)}function Z3(e,t,n){try{return AT(e,t)}catch{return e}}function V0(e,t){if(e=On(e),t=z0(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 da(e)}function J3(e,t,n){try{return V0(e,t)}catch{return e}}function B0(e,t){if(e=On(e),t=z0(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 da(e)}function e4(e,t,n){try{return B0(e,t)}catch{return e}}function IT(e,t=.15){return _d(e)>.5?V0(e,t):B0(e,t)}function t4(e,t,n){try{return IT(e,t)}catch{return e}}function n4(e,t,n,r=1){const i=(l,u)=>Math.round((l**(1/r)*(1-n)+u**(1/r)*n)**r),o=On(e),s=On(t),a=[i(o.values[0],s.values[0]),i(o.values[1],s.values[1]),i(o.values[2],s.values[2])];return da({type:"rgb",values:a})}const r4={black:"#000",white:"#fff"},Vl=r4,i4={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"},o4=i4,s4={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"},Vo=s4,a4={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"},Bo=a4,l4={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"},Ra=l4,u4={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"},Uo=u4,c4={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"},Wo=c4,d4={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"},Ho=d4,f4=["mode","contrastThreshold","tonalOffset"],Xx={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:Vl.white,default:Vl.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}},xh={text:{primary:Vl.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:Vl.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=yg(e.main,i):t==="dark"&&(e.dark=vg(e.main,o)))}function p4(e="light"){return e==="dark"?{main:Uo[200],light:Uo[50],dark:Uo[400]}:{main:Uo[700],light:Uo[400],dark:Uo[800]}}function h4(e="light"){return e==="dark"?{main:Vo[200],light:Vo[50],dark:Vo[400]}:{main:Vo[500],light:Vo[300],dark:Vo[700]}}function m4(e="light"){return e==="dark"?{main:Bo[500],light:Bo[300],dark:Bo[700]}:{main:Bo[700],light:Bo[400],dark:Bo[800]}}function g4(e="light"){return e==="dark"?{main:Wo[400],light:Wo[300],dark:Wo[700]}:{main:Wo[700],light:Wo[500],dark:Wo[900]}}function v4(e="light"){return e==="dark"?{main:Ho[400],light:Ho[300],dark:Ho[700]}:{main:Ho[800],light:Ho[500],dark:Ho[900]}}function y4(e="light"){return e==="dark"?{main:Ra[400],light:Ra[300],dark:Ra[700]}:{main:"#ed6c02",light:Ra[500],dark:Ra[900]}}function x4(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=se(e,f4),o=e.primary||p4(t),s=e.secondary||h4(t),a=e.error||m4(t),l=e.info||g4(t),u=e.success||v4(t),c=e.warning||y4(t);function d(m){return G3(m,xh.text.primary)>=n?xh.text.primary:Xx.text.primary}const f=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:v=700})=>{if(m=_({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(Xs(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(Xs(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:xh,light:Xx};return lr(_({common:_({},Vl),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:o4,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),i)}const w4=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function b4(e){return Math.round(e*1e5)/1e5}const Jx={textTransform:"uppercase"},ew='"Roboto", "Helvetica", "Arial", sans-serif';function S4(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=ew,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,w4),p=i/14,h=d||(g=>`${g/u*p}rem`),m=(g,y,v,w,S)=>_({fontFamily:r,fontWeight:g,fontSize:h(y),lineHeight:v},r===ew?{letterSpacing:`${b4(w/y)}em`}:{},S,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,Jx),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,Jx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return lr(_({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:o,fontWeightRegular:s,fontWeightMedium:a,fontWeightBold:l},x),f,{clone:!1})}const C4=.2,E4=.14,P4=.12;function Ie(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${C4})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${E4})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${P4})`].join(",")}const T4=["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)],k4=["duration","easing","delay"],M4={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)"},O4={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function tw(e){return`${Math.round(e)}ms`}function _4(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function R4(e){const t=_({},M4,e.easing),n=_({},O4,e.duration);return _({getAutoHeightDuration:_4,create:(i=["all"],o={})=>{const{duration:s=n.standard,easing:a=t.easeInOut,delay:l=0}=o;return se(o,k4),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof s=="string"?s:tw(s)} ${a} ${typeof l=="string"?l:tw(l)}`).join(",")}},e,{easing:t,duration:n})}const A4={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},I4=A4,L4=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function U0(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:o={}}=e,s=se(e,L4);if(e.vars)throw new Error(Xs(18));const a=x4(r),l=O0(e);let u=lr(l,{mixins:U3(l.breakpoints,n),palette:a,shadows:T4.slice(),typography:S4(a,o),transitions:R4(i),zIndex:_({},I4)});return u=lr(u,s),u=t.reduce((c,d)=>lr(c,d),u),u.unstable_sxConfig=_({},ku,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Mu({sx:d,theme:this})},u}const $4=U0(),up=$4,Ro="$$material";function it({props:e,name:t}){return N3({props:e,name:t,defaultTheme:up,themeId:Ro})}var Ru={},wh={exports:{}},nw;function j4(){return nw||(nw=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}(wh)),wh.exports}const D4=Fr(j3),F4=Fr(aA),N4=Fr(hA),z4=Fr(pA),V4=Fr(AI),B4=Fr(B3);var fa=N0;Object.defineProperty(Ru,"__esModule",{value:!0});var U4=Ru.default=nL;Ru.shouldForwardProp=Fc;Ru.systemDefaultTheme=void 0;var mn=fa(ET()),xg=fa(j4()),rw=Y4(D4),W4=F4;fa(N4);fa(z4);var H4=fa(V4),G4=fa(B4);const q4=["ownerState"],K4=["variants"],Q4=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function LT(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(LT=function(r){return r?n:t})(e)}function Y4(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=LT(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 X4(e){return Object.keys(e).length===0}function Z4(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Fc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const J4=Ru.systemDefaultTheme=(0,H4.default)(),eL=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function cc({defaultTheme:e,theme:t,themeId:n}){return X4(t)?e:t[n]||t}function tL(e){return e?(t,n)=>n[e]:null}function Nc(e,t){let{ownerState:n}=t,r=(0,xg.default)(t,q4);const i=typeof e=="function"?e((0,mn.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(o=>Nc(o,(0,mn.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:o=[]}=i;let a=(0,xg.default)(i,K4);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 nL(e={}){const{themeId:t,defaultTheme:n=J4,rootShouldForwardProp:r=Fc,slotShouldForwardProp:i=Fc}=e,o=s=>(0,G4.default)((0,mn.default)({},s,{theme:cc((0,mn.default)({},s,{defaultTheme:n,themeId:t}))}));return o.__mui_systemSx=!0,(s,a={})=>{(0,rw.internal_processStyles)(s,S=>S.filter(E=>!(E!=null&&E.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=tL(eL(u))}=a,p=(0,xg.default)(a,Q4),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,m=d||!1;let x,g=Fc;u==="Root"||u==="root"?g=r:u?g=i:Z4(s)&&(g=void 0);const y=(0,rw.default)(s,(0,mn.default)({shouldForwardProp:g,label:x},p)),v=S=>typeof S=="function"&&S.__emotion_real!==S||(0,W4.isPlainObject)(S)?E=>Nc(S,(0,mn.default)({},E,{theme:cc({theme:E.theme,defaultTheme:n,themeId:t})})):S,w=(S,...E)=>{let T=v(S);const P=E?E.map(v):[];l&&f&&P.push(A=>{const I=cc((0,mn.default)({},A,{defaultTheme:n,themeId:t}));if(!I.components||!I.components[l]||!I.components[l].styleOverrides)return null;const $=I.components[l].styleOverrides,D={};return Object.entries($).forEach(([B,N])=>{D[B]=Nc(N,(0,mn.default)({},A,{theme:I}))}),f(A,D)}),l&&!h&&P.push(A=>{var I;const $=cc((0,mn.default)({},A,{defaultTheme:n,themeId:t})),D=$==null||(I=$.components)==null||(I=I[l])==null?void 0:I.variants;return Nc({variants:D},(0,mn.default)({},A,{theme:$}))}),m||P.push(o);const M=P.length-E.length;if(Array.isArray(S)&&M>0){const A=new Array(M).fill("");T=[...S,...A],T.raw=[...S.raw,...A]}const k=y(T,...P);return s.muiName&&(k.muiName=s.muiName),k};return y.withConfig&&(w.withConfig=y.withConfig),w}}function rL(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Au=e=>rL(e)&&e!=="classes",le=U4({themeId:Ro,defaultTheme:up,rootShouldForwardProp:Au});function iL(e){return rt("MuiSvgIcon",e)}Ye("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const oL=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],sL=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${Y(t)}`,`fontSize${Y(n)}`]};return at(i,iL,r)},aL=le("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]}}),wg=b.forwardRef(function(t,n){const r=it({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,oL),h=b.isValidElement(i)&&i.type==="svg",m=_({},r,{color:s,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h}),x={};c||(x.viewBox=f);const g=sL(m);return C.jsxs(aL,_({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?C.jsx("title",{children:d}):null]}))});wg.muiName="SvgIcon";function qt(e,t){function n(r,i){return C.jsx(wg,_({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=wg.muiName,b.memo(b.forwardRef(n))}const lL={configure:e=>{E0.configure(e)}},uL=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Y,createChainedFunction:dg,createSvgIcon:qt,debounce:S0,deprecatedPropType:mA,isMuiElement:gA,ownerDocument:Tr,ownerWindow:Ni,requirePropFactory:vA,setRef:kd,unstable_ClassNameGenerator:lL,unstable_useEnhancedEffect:zi,unstable_useId:xA,unsupportedProp:wA,useControlled:bA,useEventCallback:uo,useForkRef:Ht,useIsFocusVisible:C0},Symbol.toStringTag,{value:"Module"})),$T=qt(C.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"),cL=qt(C.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"),dL=qt(C.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"),fL=qt(C.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"),pL=qt(C.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"),hL=qt(C.jsx("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send");function mL({styles:e,themeId:t,defaultTheme:n={}}){const r=lp(n),i=typeof e=="function"?e(t&&r[t]||r):e;return C.jsx(PT,{styles:i})}const gL=["className","component"];function vL(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,o=TT("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(Mu);return b.forwardRef(function(l,u){const c=lp(n),d=F0(l),{className:f,component:p="div"}=d,h=se(d,gL);return C.jsx(o,_({as:p,ref:u,className:oe(f,i?i(r):r),theme:t&&c[t]||c},h))})}function yL(e,t,n,r,i){const[o,s]=b.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return zi(()=>{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 jT=b.useSyncExternalStore;function xL(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 jT(l,a,s)}function wL(e,t={}){const n=D0(),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,""),(jT!==void 0?xL:yL)(l,i,o,s,a)}const bL=b.createContext(null),DT=bL;function FT(){return b.useContext(DT)}const SL=typeof Symbol=="function"&&Symbol.for,CL=SL?Symbol.for("mui.nested"):"__THEME_NESTED__";function EL(e,t){return typeof t=="function"?t(e):_({},e,t)}function PL(e){const{children:t,theme:n}=e,r=FT(),i=b.useMemo(()=>{const o=r===null?n:EL(r,n);return o!=null&&(o[CL]=r!==null),o},[n,r]);return C.jsx(DT.Provider,{value:i,children:t})}const TL=["value"],NT=b.createContext();function kL(e){let{value:t}=e,n=se(e,TL);return C.jsx(NT.Provider,_({value:t??!0},n))}const ML=()=>{const e=b.useContext(NT);return e??!1},iw={};function ow(e,t,n,r=!1){return b.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const o=n(i),s=e?_({},t,{[e]:o}):o;return r?()=>s:s}return e?_({},t,{[e]:n}):_({},t,n)},[e,t,n,r])}function OL(e){const{children:t,theme:n,themeId:r}=e,i=D0(iw),o=FT()||iw,s=ow(r,i,n),a=ow(r,o,n,!0),l=s.direction==="rtl";return C.jsx(PL,{theme:a,children:C.jsx(_u.Provider,{value:s,children:C.jsx(kL,{value:l,children:t})})})}function W0(){const e=lp(up);return e[Ro]||e}const _L=["theme"];function RL(e){let{theme:t}=e,n=se(e,_L);const r=t[Ro];return C.jsx(OL,_({},n,{themeId:r?Ro:void 0,theme:r||t}))}const sw=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function zT(e){return it}function bg(e,t){return bg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},bg(e,t)}function VT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,bg(e,t)}const aw={disabled:!1},Rd=W.createContext(null);var AL=function(t){return t.scrollTop},Wa="unmounted",to="exited",no="entering",Yo="entered",Sg="exiting",Vr=function(e){VT(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=to,o.appearStatus=no):l=Yo:r.unmountOnExit||r.mountOnEnter?l=Wa:l=to,o.state={status:l},o.nextCallback=null,o}t.getDerivedStateFromProps=function(i,o){var s=i.in;return s&&o.status===Wa?{status:to}: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!==no&&s!==Yo&&(o=no):(s===no||s===Yo)&&(o=Sg)}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===no){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:lc.findDOMNode(this);s&&AL(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===to&&this.setState({status:Wa})},n.performEnter=function(i){var o=this,s=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[lc.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!s||aw.disabled){this.safeSetState({status:Yo},function(){o.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:no},function(){o.props.onEntering(u,c),o.onTransitionEnd(f,function(){o.safeSetState({status:Yo},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:lc.findDOMNode(this);if(!o||aw.disabled){this.safeSetState({status:to},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:Sg},function(){i.props.onExiting(a),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:to},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:lc.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===Wa)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(Rd.Provider,{value:null},typeof s=="function"?s(i,a):W.cloneElement(W.Children.only(s),a))},t}(W.Component);Vr.contextType=Rd;Vr.propTypes={};function Go(){}Vr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Go,onEntering:Go,onEntered:Go,onExit:Go,onExiting:Go,onExited:Go};Vr.UNMOUNTED=Wa;Vr.EXITED=to;Vr.ENTERING=no;Vr.ENTERED=Yo;Vr.EXITING=Sg;const BT=Vr;function IL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H0(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 LL(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 Ad(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 zL(e){return rt("MuiPaper",e)}Ye("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 VL=["className","component","elevation","square","variant"],BL=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,o={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return at(o,zL,i)},UL=le("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 _({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"&&_({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${kt("#fff",sw(t.elevation))}, ${kt("#fff",sw(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),WL=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiPaper"}),{className:i,component:o="div",elevation:s=1,square:a=!1,variant:l="elevation"}=r,u=se(r,VL),c=_({},r,{component:o,elevation:s,square:a,variant:l}),d=BL(c);return C.jsx(UL,_({as:o,ownerState:c,className:oe(d.root,i),ref:n},u))}),Bl=WL;function Cg(e){return typeof e=="string"}function WT(e,t,n){return e===void 0||Cg(e)?t:_({},t,{ownerState:_({},t.ownerState,n)})}function HT(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 GT(e,t,n){return typeof e=="function"?e(t,n):e}function lw(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 qT(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=_({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=_({},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=HT(_({},i,r)),a=lw(r),l=lw(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=_({},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=_({},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 HL=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function uw(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,s=se(e,HL),a=o?{}:GT(r,i),{props:l,internalRef:u}=qT(_({},s,{externalSlotProps:a})),c=Ht(u,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return WT(n,_({},l,{ref:c}),i)}const GL=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],qL=["component","slots","slotProps"],KL=["component"];function Eg(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,getSlotOwnerState:s,internalForwardedProps:a}=t,l=se(t,GL),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=o,f=se(o,qL),p=c[e]||r,h=GT(d[e],i),m=qT(_({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:x},internalRef:g}=m,y=se(m.props,KL),v=Ht(g,h==null?void 0:h.ref,t.ref),w=s?s(y):{},S=_({},i,w),E=e==="root"?x||u:x,T=WT(p,_({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,y,E&&{as:E},{ref:v}),S);return Object.keys(w).forEach(P=>{delete T[P]}),[p,T]}function QL(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]),C.jsx("span",{className:f,style:p,children:C.jsx("span",{className:h})})}const vn=Ye("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),YL=["center","classes","className"];let cp=e=>e,cw,dw,fw,pw;const Pg=550,XL=80,ZL=ca(cw||(cw=cp` 0% { transform: scale(0); opacity: 0.1; @@ -158,8 +158,8 @@ Error generating stack: `+o.message+` animation-iteration-count: infinite; animation-delay: 200ms; } -`),vn.rippleVisible,ZL,Pg,({theme:e})=>e.transitions.easing.easeInOut,vn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,vn.child,vn.childLeaving,JL,Pg,({theme:e})=>e.transitions.easing.easeInOut,vn.childPulsate,e$,({theme:e})=>e.transitions.easing.easeInOut),r$=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=se(r,YL),[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=PA(),h=b.useRef(null),m=b.useRef(null),x=b.useCallback(w=>{const{pulsate:S,rippleX:E,rippleY:T,rippleSize:P,cb:M}=w;u(k=>[...k,C.jsx(n$,{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:Pg,pulsate:S,rippleX:E,rippleY:T,rippleSize:P},c.current)]),c.current+=1,d.current=M},[o]),g=b.useCallback((w={},S={},E=()=>{})=>{const{pulsate:T=!1,center:P=i||S.pulsate,fakeElement:M=!1}=S;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 k=M?null:m.current,A=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,$,D;if(P||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)I=Math.round(A.width/2),$=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),$=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((k?k.clientWidth:0)-I),I)*2+2,N=Math.max(Math.abs((k?k.clientHeight:0)-$),$)*2+2;D=Math.sqrt(B**2+N**2)}w!=null&&w.touches?h.current===null&&(h.current=()=>{x({pulsate:T,rippleX:I,rippleY:$,rippleSize:D,cb:E})},p.start(XL,()=>{h.current&&(h.current(),h.current=null)})):x({pulsate:T,rippleX:I,rippleY:$,rippleSize:D,cb:E})},[i,x,p]),y=b.useCallback(()=>{g({},{pulsate:!0})},[g]),v=b.useCallback((w,S)=>{if(p.clear(),(w==null?void 0:w.type)==="touchend"&&h.current){h.current(),h.current=null,p.start(0,()=>{v(w,S)});return}h.current=null,u(E=>E.length>0?E.slice(1):E),d.current=S},[p]);return b.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:v}),[y,g,v]),C.jsx(t$,O({className:oe(vn.root,o.root,s),ref:m},a,{children:C.jsx(NL,{component:null,exit:!0,children:l})}))}),i$=r$;function o$(e){return rt("MuiButtonBase",e)}const s$=Ye("MuiButtonBase",["root","disabled","focusVisible"]),a$=["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"],l$=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=at({root:["root",t&&"disabled",n&&"focusVisible"]},o$,i);return n&&r&&(s.root+=` ${r}`),s},u$=le("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"},[`&.${s$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),c$=b.forwardRef(function(t,n){const r=it({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:S,onMouseDown:E,onMouseLeave:T,onMouseUp:P,onTouchEnd:M,onTouchMove:k,onTouchStart:A,tabIndex:I=0,TouchRippleProps:$,touchRippleRef:D,type:B}=r,N=se(r,a$),H=b.useRef(null),R=b.useRef(null),L=Ht(R,D),{isFocusVisibleRef:z,onFocus:K,onBlur:ne,ref:He}=C0(),[de,Ge]=b.useState(!1);u&&de&&Ge(!1),b.useImperativeHandle(i,()=>({focusVisible:()=>{Ge(!0),H.current.focus()}}),[]);const[J,U]=b.useState(!1);b.useEffect(()=>{U(!0)},[]);const ue=J&&!c&&!u;b.useEffect(()=>{de&&f&&!c&&J&&R.current.pulsate()},[c,f,de,J]);function ce(ee,Xi,Vp=d){return uo(Uu=>(Xi&&Xi(Uu),!Vp&&R.current&&R.current[ee](Uu),!0))}const Pe=ce("start",E),re=ce("stop",x),xe=ce("stop",g),Je=ce("stop",P),Ct=ce("stop",ee=>{de&&ee.preventDefault(),T&&T(ee)}),Kt=ce("start",A),lt=ce("stop",M),ut=ce("stop",k),Qt=ce("stop",ee=>{ne(ee),z.current===!1&&Ge(!1),h&&h(ee)},!1),Br=uo(ee=>{H.current||(H.current=ee.currentTarget),K(ee),z.current===!0&&(Ge(!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),xa=uo(ee=>{f&&!gt.current&&de&&R.current&&ee.key===" "&&(gt.current=!0,R.current.stop(ee,()=>{R.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=uo(ee=>{f&&ee.key===" "&&R.current&&de&&!ee.defaultPrevented&&(gt.current=!1,R.current.stop(ee,()=>{R.current.pulsate(ee)})),S&&S(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 Ln={};qn==="button"?(Ln.type=B===void 0?"button":B,Ln.disabled=u):(!N.href&&!N.to&&(Ln.role="button"),u&&(Ln["aria-disabled"]=u));const Qi=Ht(n,He,H),Yi=O({},r,{centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:I,focusVisible:de}),_e=l$(Yi);return C.jsxs(u$,O({as:qn,className:oe(_e.root,a),ownerState:Yi,onBlur:Qt,onClick:m,onContextMenu:re,onFocus:Br,onKeyDown:xa,onKeyUp:In,onMouseDown:Pe,onMouseLeave:Ct,onMouseUp:Je,onDragLeave:xe,onTouchEnd:lt,onTouchMove:ut,onTouchStart:Kt,ref:Qi,tabIndex:u?-1:I,type:B},Ln,N,{children:[s,ue?C.jsx(i$,O({ref:L,center:o},$)):null]}))}),Tg=c$;function d$(e){return rt("MuiAlert",e)}const f$=Ye("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),hw=f$;function p$(e){return rt("MuiIconButton",e)}const h$=Ye("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),m$=["edge","children","className","color","disabled","disableFocusRipple","size"],g$=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,p$,t)},v$=le(Tg,{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})=>O({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 O({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&O({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":O({},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)},{[`&.${h$.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),y$=b.forwardRef(function(t,n){const r=it({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,m$),f=O({},r,{edge:i,color:a,disabled:l,disableFocusRipple:u,size:c}),p=g$(f);return C.jsx(v$,O({className:oe(p.root,s),centerRipple:!0,focusRipple:!u,disabled:l,ref:n},d,{ownerState:f,children:o}))}),Ul=y$,x$=qt(C.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"),w$=qt(C.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),b$=qt(C.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"),S$=qt(C.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"),C$=qt(C.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"),E$=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],P$=zT(),T$=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,d$,i)},k$=le(Bl,{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"?vg:yg,n=e.palette.mode==="light"?yg:vg;return O({},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),[`& .${hw.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}`,[`& .${hw.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:O({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)})}))]})}),M$=le("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),_$=le("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),mw=le("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),gw={success:C.jsx(x$,{fontSize:"inherit"}),warning:C.jsx(w$,{fontSize:"inherit"}),error:C.jsx(b$,{fontSize:"inherit"}),info:C.jsx(S$,{fontSize:"inherit"})},O$=b.forwardRef(function(t,n){const r=P$({props:t,name:"MuiAlert"}),{action:i,children:o,className:s,closeText:a="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:f=gw,onClose:p,role:h="alert",severity:m="success",slotProps:x={},slots:g={},variant:y="standard"}=r,v=se(r,E$),w=O({},r,{color:l,severity:m,variant:y,colorSeverity:l||m}),S=T$(w),E={slots:O({closeButton:u.CloseButton,closeIcon:u.CloseIcon},g),slotProps:O({},c,x)},[T,P]=Eg("closeButton",{elementType:Ul,externalForwardedProps:E,ownerState:w}),[M,k]=Eg("closeIcon",{elementType:C$,externalForwardedProps:E,ownerState:w});return C.jsxs(k$,O({role:h,elevation:0,ownerState:w,className:oe(S.root,s),ref:n},v,{children:[d!==!1?C.jsx(M$,{ownerState:w,className:S.icon,children:d||f[m]||gw[m]}):null,C.jsx(_$,{ownerState:w,className:S.message,children:o}),i!=null?C.jsx(mw,{ownerState:w,className:S.action,children:i}):null,i==null&&p?C.jsx(mw,{ownerState:w,className:S.action,children:C.jsx(T,O({size:"small","aria-label":a,title:a,color:"inherit",onClick:p},P,{children:C.jsx(M,O({fontSize:"small"},k))}))}):null]}))}),R$=O$;function A$(e){return rt("MuiTypography",e)}Ye("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const I$=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],L$=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,A$,s)},$$=le("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})=>O({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})),vw={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},j$={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},D$=e=>j$[e]||e,F$=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiTypography"}),i=D$(r.color),o=F0(O({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=vw}=o,h=se(o,I$),m=O({},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]||vw[f])||"span",g=L$(m);return C.jsx($$,O({as:x,ref:n,ownerState:m,className:oe(g.root,a)},h))}),ae=F$,N$=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function z$(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 V$(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 B$(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||V$(e))}function U$(e){const t=[],n=[];return Array.from(e.querySelectorAll(N$)).forEach((r,i)=>{const o=z$(r);o===-1||!B$(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 W$(){return!0}function H$(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=U$,isEnabled:s=W$,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())},S=()=>{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 M,k;const A=!!((M=x.current)!=null&&M.shiftKey&&((k=x.current)==null?void 0:k.key)==="Tab"),I=P[0],$=P[P.length-1];typeof I!="string"&&typeof $!="string"&&(A?$.focus():I.focus())}else T.focus()};v.addEventListener("focusin",S),v.addEventListener("keydown",w,!0);const E=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&S()},50);return()=>{clearInterval(E),v.removeEventListener("focusin",S),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 C.jsxs(b.Fragment,{children:[C.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:m,onFocus:g}),C.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}function G$(e){return typeof e=="function"?e():e}const q$=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(zi(()=>{o||a(G$(i)||document.body)},[i,o]),zi(()=>{if(s&&!o)return kd(n,s),()=>{kd(n,null)}},[n,s,o]),o){if(b.isValidElement(r)){const u={ref:l};return b.cloneElement(r,u)}return C.jsx(b.Fragment,{children:r})}return C.jsx(b.Fragment,{children:s&&Tf.createPortal(r,s)})});function K$(e){const t=Tr(e);return t.body===e?Ni(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ol(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function yw(e){return parseInt(Ni(e).getComputedStyle(e).paddingRight,10)||0}function Q$(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 xw(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,s=>{const a=o.indexOf(s)===-1,l=!Q$(s);a&&l&&ol(s,i)})}function bh(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function Y$(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(K$(r)){const s=IA(Tr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${yw(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=`${yw(l)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Tr(r).body;else{const s=r.parentElement,a=Ni(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 X$(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Z${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&&ol(t.modalRef,!1);const i=X$(n);xw(n,t.mount,t.modalRef,i,!0);const o=bh(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=bh(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=Y$(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=bh(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&&ol(t.modalRef,n),xw(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&&ol(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function J$(e){return typeof e=="function"?e():e}function ej(e){return e?e.props.hasOwnProperty("in"):!1}const tj=new Z$;function nj(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=tj,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=ej(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const w=()=>Tr(p.current),S=()=>(f.current.modalRef=h.current,f.current.mount=p.current,f.current),E=()=>{i.mount(S(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},T=uo(()=>{const N=J$(t)||w().body;i.add(S(),N),h.current&&E()}),P=b.useCallback(()=>i.isTopModal(S()),[i]),M=uo(N=>{p.current=N,N&&(c&&P()?E():h.current&&ol(h.current,v))}),k=b.useCallback(()=>{i.remove(S(),v)},[v,i]);b.useEffect(()=>()=>{k()},[k]),b.useEffect(()=>{c?T():(!y||!o)&&k()},[c,k,y,o,T]);const A=N=>H=>{var R;(R=N.onKeyDown)==null||R.call(N,H),!(H.key!=="Escape"||H.which===229||!P())&&(n||(H.stopPropagation(),u&&u(H,"escapeKeyDown")))},I=N=>H=>{var R;(R=N.onClick)==null||R.call(N,H),H.target===H.currentTarget&&u&&u(H,"backdropClick")};return{getRootProps:(N={})=>{const H=HT(e);delete H.onTransitionEnter,delete H.onTransitionExited;const R=O({},H,N);return O({role:"presentation"},R,{onKeyDown:A(R),ref:m})},getBackdropProps:(N={})=>{const H=N;return O({"aria-hidden":!0},H,{onClick:I(H),open:c})},getTransitionProps:()=>{const N=()=>{g(!1),s&&s()},H=()=>{g(!0),a&&a(),o&&k()};return{onEnter:dg(N,l==null?void 0:l.props.onEnter),onExited:dg(H,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:M,isTopModal:P,exited:x,hasTransition:y}}const rj=["onChange","maxRows","minRows","style","value"];function dc(e){return parseInt(e,10)||0}const ij={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function oj(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const sj=b.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:a}=t,l=se(t,rj),{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=Ni(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,S=dc(y.paddingBottom)+dc(y.paddingTop),E=dc(y.borderBottomWidth)+dc(y.borderTopWidth),T=v.scrollHeight;v.value="x";const P=v.scrollHeight;let M=T;o&&(M=Math.max(Number(o)*P,M)),i&&(M=Math.min(Number(i)*P,M)),M=Math.max(M,P);const k=M+(w==="border-box"?S+E:0),A=Math.abs(M-T)<=1;return{outerHeightStyle:k,overflowing:A}},[i,o,t.placeholder]),h=b.useCallback(()=>{const x=p();if(oj(x))return;const g=c.current;g.style.height=`${x.outerHeightStyle}px`,g.style.overflow=x.overflowing?"hidden":""},[p]);zi(()=>{const x=()=>{h()};let g;const y=S0(x),v=c.current,w=Ni(v);w.addEventListener("resize",y);let S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(x),S.observe(v)),()=>{y.clear(),cancelAnimationFrame(g),w.removeEventListener("resize",y),S&&S.disconnect()}},[p,h]),zi(()=>{h()});const m=x=>{u||h(),r&&r(x)};return C.jsxs(b.Fragment,{children:[C.jsx("textarea",O({value:a,onChange:m,ref:d,rows:o,style:s},l)),C.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:O({},ij.shadow,s,{paddingTop:0,paddingBottom:0})})]})}),aj=qt(C.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 lj(e){return rt("MuiChip",e)}const uj=Ye("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=uj,cj=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],dj=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,lj,t)},fj=le("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 O({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}`]:O({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&O({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${ye.deleteIcon}`]:O({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})=>O({},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})=>O({},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}}})),pj=le("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Y(r)}`]]}})(({ownerState:e})=>O({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 ww(e){return e.key==="Backspace"||e.key==="Delete"}const hj=b.forwardRef(function(t,n){const r=it({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,S=se(r,cj),E=b.useRef(null),T=Ht(E,n),P=L=>{L.stopPropagation(),h&&h(L)},M=L=>{L.currentTarget===L.target&&ww(L)&&L.preventDefault(),m&&m(L)},k=L=>{L.currentTarget===L.target&&(h&&ww(L)?h(L):L.key==="Escape"&&E.current&&E.current.blur()),x&&x(L)},A=s!==!1&&p?!0:s,I=A||h?Tg:l||"div",$=O({},r,{component:I,disabled:c,size:g,color:a,iconColor:b.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:A,variant:y}),D=dj($),B=I===Tg?O({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}):C.jsx(aj,{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 R=null;return d&&b.isValidElement(d)&&(R=b.cloneElement(d,{className:oe(D.icon,d.props.className)})),C.jsxs(fj,O({as:I,className:oe(D.root,o),disabled:A&&c?!0:void 0,onClick:p,onKeyDown:M,onKeyUp:k,ref:T,tabIndex:w&&c?-1:v,ownerState:$},B,S,{children:[H||R,C.jsx(pj,{className:oe(D.label),ownerState:$,children:f}),N]}))}),mj=hj;function KT({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 gj=b.createContext(void 0),QT=gj;function YT(){return b.useContext(QT)}function XT(e){return C.jsx(mL,O({},e,{defaultTheme:up,themeId:Ro}))}function bw(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function vj(e,t=!1){return e&&(bw(e.value)&&e.value!==""||t&&bw(e.defaultValue)&&e.defaultValue!=="")}function yj(e){return rt("MuiInputBase",e)}const xj=Ye("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Id=xj,wj=["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"],ZT=(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]},bj=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,yj,t)},e2=le("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ZT})(({theme:e,ownerState:t})=>O({},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",[`&.${Id.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&O({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),t2=le("input",{name:"MuiInputBase",slot:"Input",overridesResolver:JT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=O({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 O({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] + .${Id.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},[`&.${Id.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"})}),Sj=C.jsx(XT,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Cj=b.forwardRef(function(t,n){var r;const i=it({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:S,multiline:E=!1,name:T,onBlur:P,onChange:M,onClick:k,onFocus:A,onKeyDown:I,onKeyUp:$,placeholder:D,readOnly:B,renderSuffix:N,rows:H,slotProps:R={},slots:L={},startAdornment:z,type:K="text",value:ne}=i,He=se(i,wj),de=y.value!=null?y.value:ne,{current:Ge}=b.useRef(de!=null),J=b.useRef(),U=b.useCallback(_e=>{},[]),ue=Ht(J,v,y.ref,U),[ce,Pe]=b.useState(!1),re=YT(),xe=KT({props:i,muiFormControl:re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});xe.focused=re?re.focused:ce,b.useEffect(()=>{!re&&f&&ce&&(Pe(!1),P&&P())},[re,f,ce,P]);const Je=re&&re.onFilled,Ct=re&&re.onEmpty,Kt=b.useCallback(_e=>{vj(_e)?Je&&Je():Ct&&Ct()},[Je,Ct]);zi(()=>{Ge&&Kt({value:de})},[de,Kt,Ge]);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(!Ge){const Xi=_e.target||J.current;if(Xi==null)throw new Error(Xs(1));Kt({value:Xi.value})}y.onChange&&y.onChange(_e,...ee),M&&M(_e,...ee)};b.useEffect(()=>{Kt(J.current)},[]);const Br=_e=>{J.current&&_e.currentTarget===_e.target&&J.current.focus(),k&&k(_e)};let An=g,gt=y;E&&An==="input"&&(H?gt=O({type:void 0,minRows:H,maxRows:H},gt):gt=O({type:void 0,maxRows:w,minRows:S},gt),An=sj);const xa=_e=>{Kt(_e.animationName==="mui-auto-fill-cancel"?J.current:{value:"x"})};b.useEffect(()=>{re&&re.setAdornedStart(!!z)},[re,z]);const In=O({},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=bj(In),Ln=L.root||u.Root||e2,Qi=R.root||c.root||{},Yi=L.input||u.Input||t2;return gt=O({},gt,(r=R.input)!=null?r:c.input),C.jsxs(b.Fragment,{children:[!p&&Sj,C.jsxs(Ln,O({},Qi,!Cg(Ln)&&{ownerState:O({},In,Qi.ownerState)},{ref:n,onClick:Br},He,{className:oe(qn.root,Qi.className,l,B&&"MuiInputBase-readOnly"),children:[z,C.jsx(QT.Provider,{value:null,children:C.jsx(Yi,O({ownerState:In,"aria-invalid":xe.error,"aria-describedby":o,autoComplete:s,autoFocus:a,defaultValue:d,disabled:xe.disabled,id:x,onAnimationStart:xa,name:T,placeholder:D,readOnly:B,required:xe.required,rows:H,value:de,onKeyDown:I,onKeyUp:$,type:K},gt,!Cg(Yi)&&{as:An,ownerState:O({},In,gt.ownerState)},{ref:ue,className:oe(qn.input,gt.className,B&&"MuiInputBase-readOnly"),onBlur:ut,onChange:Qt,onFocus:lt}))}),h,N?N(O({},xe,{startAdornment:z})):null]}))]})}),Ej=Cj;function Pj(e){return rt("MuiOutlinedInput",e)}const Tj=O({},Id,Ye("MuiOutlinedInput",["root","notchedOutline","input"])),Wr=Tj,kj=qt(C.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 Mj(e){return rt("MuiAvatar",e)}Ye("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const _j=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],Oj=zT(),Rj=e=>{const{classes:t,variant:n,colorDefault:r}=e;return at({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},Mj,t)},Aj=le("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:O({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:O({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),Ij=le("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Lj=le(kj,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function $j({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 jj=b.forwardRef(function(t,n){const r=Oj({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,_j);let x=null;const g=$j(O({},c,{src:f,srcSet:p})),y=f||p,v=y&&g!=="error",w=O({},r,{colorDefault:!v,component:a,variant:h}),S=Rj(w),[E,T]=Eg("img",{className:S.img,elementType:Ij,externalForwardedProps:{slots:l,slotProps:{img:O({},c,u.img)}},additionalProps:{alt:i,src:f,srcSet:p,sizes:d},ownerState:w});return v?x=C.jsx(E,O({},T)):o||o===0?x=o:y&&i?x=i[0]:x=C.jsx(Lj,{ownerState:w,className:S.fallback}),C.jsx(Aj,O({as:a,ownerState:w,className:oe(S.root,s),ref:n},m,{children:x}))}),Ld=jj,Dj=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Fj={entering:{opacity:1},entered:{opacity:1}},Nj=b.forwardRef(function(t,n){const r=W0(),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=BT}=t,v=se(t,Dj),w=b.useRef(null),S=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)=>{UT(D);const N=Ad({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)}),M=E(d),k=E(m),A=E(D=>{const B=Ad({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),$=D=>{o&&o(w.current,D)};return C.jsx(y,O({appear:s,in:u,nodeRef:w,onEnter:P,onEntered:M,onEntering:T,onExit:A,onExited:I,onExiting:k,addEndListener:$,timeout:g},v,{children:(D,B)=>b.cloneElement(a,O({style:O({opacity:0,visibility:D==="exited"&&!u?"hidden":void 0},Fj[D],x,a.props.style),ref:S},B))}))}),zj=Nj;function Vj(e){return rt("MuiBackdrop",e)}Ye("MuiBackdrop",["root","invisible"]);const Bj=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Uj=e=>{const{classes:t,invisible:n}=e;return at({root:["root",n&&"invisible"]},Vj,t)},Wj=le("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>O({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"})),Hj=b.forwardRef(function(t,n){var r,i,o;const s=it({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=zj,transitionDuration:g}=s,y=se(s,Bj),v=O({},s,{component:u,invisible:f}),w=Uj(v),S=(r=h.root)!=null?r:d.root;return C.jsx(x,O({in:p,timeout:g},y,{children:C.jsx(Wj,O({"aria-hidden":!0},S,{as:(i=(o=m.root)!=null?o:c.Root)!=null?i:u,className:oe(w.root,l,S==null?void 0:S.className),ownerState:O({},v,S==null?void 0:S.ownerState),classes:w,ref:n,children:a}))}))}),Gj=Hj,qj=Ye("MuiBox",["root"]),Kj=qj,Qj=U0(),Yj=vL({themeId:Ro,defaultTheme:Qj,defaultClassName:Kj.root,generateClassName:E0.generate}),Q=Yj;function Xj(e){return rt("MuiCard",e)}Ye("MuiCard",["root"]);const Zj=["className","raised"],Jj=e=>{const{classes:t}=e;return at({root:["root"]},Xj,t)},eD=le(Bl,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),tD=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiCard"}),{className:i,raised:o=!1}=r,s=se(r,Zj),a=O({},r,{raised:o}),l=Jj(a);return C.jsx(eD,O({className:oe(l.root,i),elevation:o?8:void 0,ref:n,ownerState:a},s))}),nD=tD;function rD(e){return rt("MuiCardMedia",e)}Ye("MuiCardMedia",["root","media","img"]);const iD=["children","className","component","image","src","style"],oD=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return at({root:["root",n&&"media",r&&"img"]},rD,t)},sD=le("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})=>O({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),aD=["video","audio","picture","iframe","img"],lD=["picture","img"],uD=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiCardMedia"}),{children:i,className:o,component:s="div",image:a,src:l,style:u}=r,c=se(r,iD),d=aD.indexOf(s)!==-1,f=!d&&a?O({backgroundImage:`url("${a}")`},u):u,p=O({},r,{component:s,isMediaComponent:d,isImageComponent:lD.indexOf(s)!==-1}),h=oD(p);return C.jsx(sD,O({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}))}),cD=uD;function dD(e){return rt("MuiCircularProgress",e)}Ye("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const fD=["className","color","disableShrink","size","style","thickness","value","variant"];let dp=e=>e,Sw,Cw,Ew,Pw;const Hr=44,pD=ca(Sw||(Sw=dp` +`),vn.rippleVisible,ZL,Pg,({theme:e})=>e.transitions.easing.easeInOut,vn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,vn.child,vn.childLeaving,JL,Pg,({theme:e})=>e.transitions.easing.easeInOut,vn.childPulsate,e$,({theme:e})=>e.transitions.easing.easeInOut),r$=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:o={},className:s}=r,a=se(r,YL),[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=PA(),h=b.useRef(null),m=b.useRef(null),x=b.useCallback(w=>{const{pulsate:S,rippleX:E,rippleY:T,rippleSize:P,cb:M}=w;u(k=>[...k,C.jsx(n$,{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:Pg,pulsate:S,rippleX:E,rippleY:T,rippleSize:P},c.current)]),c.current+=1,d.current=M},[o]),g=b.useCallback((w={},S={},E=()=>{})=>{const{pulsate:T=!1,center:P=i||S.pulsate,fakeElement:M=!1}=S;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 k=M?null:m.current,A=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,$,D;if(P||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)I=Math.round(A.width/2),$=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),$=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((k?k.clientWidth:0)-I),I)*2+2,N=Math.max(Math.abs((k?k.clientHeight:0)-$),$)*2+2;D=Math.sqrt(B**2+N**2)}w!=null&&w.touches?h.current===null&&(h.current=()=>{x({pulsate:T,rippleX:I,rippleY:$,rippleSize:D,cb:E})},p.start(XL,()=>{h.current&&(h.current(),h.current=null)})):x({pulsate:T,rippleX:I,rippleY:$,rippleSize:D,cb:E})},[i,x,p]),y=b.useCallback(()=>{g({},{pulsate:!0})},[g]),v=b.useCallback((w,S)=>{if(p.clear(),(w==null?void 0:w.type)==="touchend"&&h.current){h.current(),h.current=null,p.start(0,()=>{v(w,S)});return}h.current=null,u(E=>E.length>0?E.slice(1):E),d.current=S},[p]);return b.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:v}),[y,g,v]),C.jsx(t$,_({className:oe(vn.root,o.root,s),ref:m},a,{children:C.jsx(NL,{component:null,exit:!0,children:l})}))}),i$=r$;function o$(e){return rt("MuiButtonBase",e)}const s$=Ye("MuiButtonBase",["root","disabled","focusVisible"]),a$=["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"],l$=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=at({root:["root",t&&"disabled",n&&"focusVisible"]},o$,i);return n&&r&&(s.root+=` ${r}`),s},u$=le("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"},[`&.${s$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),c$=b.forwardRef(function(t,n){const r=it({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:S,onMouseDown:E,onMouseLeave:T,onMouseUp:P,onTouchEnd:M,onTouchMove:k,onTouchStart:A,tabIndex:I=0,TouchRippleProps:$,touchRippleRef:D,type:B}=r,N=se(r,a$),H=b.useRef(null),R=b.useRef(null),L=Ht(R,D),{isFocusVisibleRef:z,onFocus:K,onBlur:ne,ref:He}=C0(),[de,Ge]=b.useState(!1);u&&de&&Ge(!1),b.useImperativeHandle(i,()=>({focusVisible:()=>{Ge(!0),H.current.focus()}}),[]);const[J,U]=b.useState(!1);b.useEffect(()=>{U(!0)},[]);const ue=J&&!c&&!u;b.useEffect(()=>{de&&f&&!c&&J&&R.current.pulsate()},[c,f,de,J]);function ce(ee,Xi,Vp=d){return uo(Uu=>(Xi&&Xi(Uu),!Vp&&R.current&&R.current[ee](Uu),!0))}const Pe=ce("start",E),re=ce("stop",x),xe=ce("stop",g),Je=ce("stop",P),Ct=ce("stop",ee=>{de&&ee.preventDefault(),T&&T(ee)}),Kt=ce("start",A),lt=ce("stop",M),ut=ce("stop",k),Qt=ce("stop",ee=>{ne(ee),z.current===!1&&Ge(!1),h&&h(ee)},!1),Br=uo(ee=>{H.current||(H.current=ee.currentTarget),K(ee),z.current===!0&&(Ge(!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),xa=uo(ee=>{f&&!gt.current&&de&&R.current&&ee.key===" "&&(gt.current=!0,R.current.stop(ee,()=>{R.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=uo(ee=>{f&&ee.key===" "&&R.current&&de&&!ee.defaultPrevented&&(gt.current=!1,R.current.stop(ee,()=>{R.current.pulsate(ee)})),S&&S(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 Ln={};qn==="button"?(Ln.type=B===void 0?"button":B,Ln.disabled=u):(!N.href&&!N.to&&(Ln.role="button"),u&&(Ln["aria-disabled"]=u));const Qi=Ht(n,He,H),Yi=_({},r,{centerRipple:o,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:I,focusVisible:de}),Oe=l$(Yi);return C.jsxs(u$,_({as:qn,className:oe(Oe.root,a),ownerState:Yi,onBlur:Qt,onClick:m,onContextMenu:re,onFocus:Br,onKeyDown:xa,onKeyUp:In,onMouseDown:Pe,onMouseLeave:Ct,onMouseUp:Je,onDragLeave:xe,onTouchEnd:lt,onTouchMove:ut,onTouchStart:Kt,ref:Qi,tabIndex:u?-1:I,type:B},Ln,N,{children:[s,ue?C.jsx(i$,_({ref:L,center:o},$)):null]}))}),Tg=c$;function d$(e){return rt("MuiAlert",e)}const f$=Ye("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),hw=f$;function p$(e){return rt("MuiIconButton",e)}const h$=Ye("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),m$=["edge","children","className","color","disabled","disableFocusRipple","size"],g$=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,p$,t)},v$=le(Tg,{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})=>_({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 _({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&_({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":_({},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)},{[`&.${h$.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),y$=b.forwardRef(function(t,n){const r=it({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,m$),f=_({},r,{edge:i,color:a,disabled:l,disableFocusRipple:u,size:c}),p=g$(f);return C.jsx(v$,_({className:oe(p.root,s),centerRipple:!0,focusRipple:!u,disabled:l,ref:n},d,{ownerState:f,children:o}))}),Ul=y$,x$=qt(C.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"),w$=qt(C.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),b$=qt(C.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"),S$=qt(C.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"),C$=qt(C.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"),E$=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],P$=zT(),T$=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,d$,i)},k$=le(Bl,{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"?vg:yg,n=e.palette.mode==="light"?yg:vg;return _({},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),[`& .${hw.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}`,[`& .${hw.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:_({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)})}))]})}),M$=le("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),O$=le("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),mw=le("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),gw={success:C.jsx(x$,{fontSize:"inherit"}),warning:C.jsx(w$,{fontSize:"inherit"}),error:C.jsx(b$,{fontSize:"inherit"}),info:C.jsx(S$,{fontSize:"inherit"})},_$=b.forwardRef(function(t,n){const r=P$({props:t,name:"MuiAlert"}),{action:i,children:o,className:s,closeText:a="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:f=gw,onClose:p,role:h="alert",severity:m="success",slotProps:x={},slots:g={},variant:y="standard"}=r,v=se(r,E$),w=_({},r,{color:l,severity:m,variant:y,colorSeverity:l||m}),S=T$(w),E={slots:_({closeButton:u.CloseButton,closeIcon:u.CloseIcon},g),slotProps:_({},c,x)},[T,P]=Eg("closeButton",{elementType:Ul,externalForwardedProps:E,ownerState:w}),[M,k]=Eg("closeIcon",{elementType:C$,externalForwardedProps:E,ownerState:w});return C.jsxs(k$,_({role:h,elevation:0,ownerState:w,className:oe(S.root,s),ref:n},v,{children:[d!==!1?C.jsx(M$,{ownerState:w,className:S.icon,children:d||f[m]||gw[m]}):null,C.jsx(O$,{ownerState:w,className:S.message,children:o}),i!=null?C.jsx(mw,{ownerState:w,className:S.action,children:i}):null,i==null&&p?C.jsx(mw,{ownerState:w,className:S.action,children:C.jsx(T,_({size:"small","aria-label":a,title:a,color:"inherit",onClick:p},P,{children:C.jsx(M,_({fontSize:"small"},k))}))}):null]}))}),R$=_$;function A$(e){return rt("MuiTypography",e)}Ye("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const I$=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],L$=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,A$,s)},$$=le("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})=>_({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})),vw={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},j$={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},D$=e=>j$[e]||e,F$=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiTypography"}),i=D$(r.color),o=F0(_({},r,{color:i})),{align:s="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=vw}=o,h=se(o,I$),m=_({},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]||vw[f])||"span",g=L$(m);return C.jsx($$,_({as:x,ref:n,ownerState:m,className:oe(g.root,a)},h))}),ae=F$,N$=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function z$(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 V$(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 B$(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||V$(e))}function U$(e){const t=[],n=[];return Array.from(e.querySelectorAll(N$)).forEach((r,i)=>{const o=z$(r);o===-1||!B$(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 W$(){return!0}function H$(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:o=U$,isEnabled:s=W$,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())},S=()=>{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 M,k;const A=!!((M=x.current)!=null&&M.shiftKey&&((k=x.current)==null?void 0:k.key)==="Tab"),I=P[0],$=P[P.length-1];typeof I!="string"&&typeof $!="string"&&(A?$.focus():I.focus())}else T.focus()};v.addEventListener("focusin",S),v.addEventListener("keydown",w,!0);const E=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&S()},50);return()=>{clearInterval(E),v.removeEventListener("focusin",S),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 C.jsxs(b.Fragment,{children:[C.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:m,onFocus:g}),C.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}function G$(e){return typeof e=="function"?e():e}const q$=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(zi(()=>{o||a(G$(i)||document.body)},[i,o]),zi(()=>{if(s&&!o)return kd(n,s),()=>{kd(n,null)}},[n,s,o]),o){if(b.isValidElement(r)){const u={ref:l};return b.cloneElement(r,u)}return C.jsx(b.Fragment,{children:r})}return C.jsx(b.Fragment,{children:s&&Tf.createPortal(r,s)})});function K$(e){const t=Tr(e);return t.body===e?Ni(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ol(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function yw(e){return parseInt(Ni(e).getComputedStyle(e).paddingRight,10)||0}function Q$(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 xw(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,s=>{const a=o.indexOf(s)===-1,l=!Q$(s);a&&l&&ol(s,i)})}function bh(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function Y$(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(K$(r)){const s=IA(Tr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${yw(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=`${yw(l)+s}px`})}let o;if(r.parentNode instanceof DocumentFragment)o=Tr(r).body;else{const s=r.parentElement,a=Ni(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 X$(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Z${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&&ol(t.modalRef,!1);const i=X$(n);xw(n,t.mount,t.modalRef,i,!0);const o=bh(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=bh(this.containers,o=>o.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=Y$(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=bh(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&&ol(t.modalRef,n),xw(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&&ol(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function J$(e){return typeof e=="function"?e():e}function ej(e){return e?e.props.hasOwnProperty("in"):!1}const tj=new Z$;function nj(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=tj,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=ej(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const w=()=>Tr(p.current),S=()=>(f.current.modalRef=h.current,f.current.mount=p.current,f.current),E=()=>{i.mount(S(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},T=uo(()=>{const N=J$(t)||w().body;i.add(S(),N),h.current&&E()}),P=b.useCallback(()=>i.isTopModal(S()),[i]),M=uo(N=>{p.current=N,N&&(c&&P()?E():h.current&&ol(h.current,v))}),k=b.useCallback(()=>{i.remove(S(),v)},[v,i]);b.useEffect(()=>()=>{k()},[k]),b.useEffect(()=>{c?T():(!y||!o)&&k()},[c,k,y,o,T]);const A=N=>H=>{var R;(R=N.onKeyDown)==null||R.call(N,H),!(H.key!=="Escape"||H.which===229||!P())&&(n||(H.stopPropagation(),u&&u(H,"escapeKeyDown")))},I=N=>H=>{var R;(R=N.onClick)==null||R.call(N,H),H.target===H.currentTarget&&u&&u(H,"backdropClick")};return{getRootProps:(N={})=>{const H=HT(e);delete H.onTransitionEnter,delete H.onTransitionExited;const R=_({},H,N);return _({role:"presentation"},R,{onKeyDown:A(R),ref:m})},getBackdropProps:(N={})=>{const H=N;return _({"aria-hidden":!0},H,{onClick:I(H),open:c})},getTransitionProps:()=>{const N=()=>{g(!1),s&&s()},H=()=>{g(!0),a&&a(),o&&k()};return{onEnter:dg(N,l==null?void 0:l.props.onEnter),onExited:dg(H,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:M,isTopModal:P,exited:x,hasTransition:y}}const rj=["onChange","maxRows","minRows","style","value"];function dc(e){return parseInt(e,10)||0}const ij={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function oj(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const sj=b.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:o=1,style:s,value:a}=t,l=se(t,rj),{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=Ni(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,S=dc(y.paddingBottom)+dc(y.paddingTop),E=dc(y.borderBottomWidth)+dc(y.borderTopWidth),T=v.scrollHeight;v.value="x";const P=v.scrollHeight;let M=T;o&&(M=Math.max(Number(o)*P,M)),i&&(M=Math.min(Number(i)*P,M)),M=Math.max(M,P);const k=M+(w==="border-box"?S+E:0),A=Math.abs(M-T)<=1;return{outerHeightStyle:k,overflowing:A}},[i,o,t.placeholder]),h=b.useCallback(()=>{const x=p();if(oj(x))return;const g=c.current;g.style.height=`${x.outerHeightStyle}px`,g.style.overflow=x.overflowing?"hidden":""},[p]);zi(()=>{const x=()=>{h()};let g;const y=S0(x),v=c.current,w=Ni(v);w.addEventListener("resize",y);let S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(x),S.observe(v)),()=>{y.clear(),cancelAnimationFrame(g),w.removeEventListener("resize",y),S&&S.disconnect()}},[p,h]),zi(()=>{h()});const m=x=>{u||h(),r&&r(x)};return C.jsxs(b.Fragment,{children:[C.jsx("textarea",_({value:a,onChange:m,ref:d,rows:o,style:s},l)),C.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:_({},ij.shadow,s,{paddingTop:0,paddingBottom:0})})]})}),aj=qt(C.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 lj(e){return rt("MuiChip",e)}const uj=Ye("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=uj,cj=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],dj=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,lj,t)},fj=le("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 _({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}`]:_({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&_({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${ye.deleteIcon}`]:_({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})=>_({},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})=>_({},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}}})),pj=le("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Y(r)}`]]}})(({ownerState:e})=>_({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 ww(e){return e.key==="Backspace"||e.key==="Delete"}const hj=b.forwardRef(function(t,n){const r=it({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,S=se(r,cj),E=b.useRef(null),T=Ht(E,n),P=L=>{L.stopPropagation(),h&&h(L)},M=L=>{L.currentTarget===L.target&&ww(L)&&L.preventDefault(),m&&m(L)},k=L=>{L.currentTarget===L.target&&(h&&ww(L)?h(L):L.key==="Escape"&&E.current&&E.current.blur()),x&&x(L)},A=s!==!1&&p?!0:s,I=A||h?Tg:l||"div",$=_({},r,{component:I,disabled:c,size:g,color:a,iconColor:b.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:A,variant:y}),D=dj($),B=I===Tg?_({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}):C.jsx(aj,{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 R=null;return d&&b.isValidElement(d)&&(R=b.cloneElement(d,{className:oe(D.icon,d.props.className)})),C.jsxs(fj,_({as:I,className:oe(D.root,o),disabled:A&&c?!0:void 0,onClick:p,onKeyDown:M,onKeyUp:k,ref:T,tabIndex:w&&c?-1:v,ownerState:$},B,S,{children:[H||R,C.jsx(pj,{className:oe(D.label),ownerState:$,children:f}),N]}))}),mj=hj;function KT({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 gj=b.createContext(void 0),QT=gj;function YT(){return b.useContext(QT)}function XT(e){return C.jsx(mL,_({},e,{defaultTheme:up,themeId:Ro}))}function bw(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function vj(e,t=!1){return e&&(bw(e.value)&&e.value!==""||t&&bw(e.defaultValue)&&e.defaultValue!=="")}function yj(e){return rt("MuiInputBase",e)}const xj=Ye("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Id=xj,wj=["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"],ZT=(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]},bj=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,yj,t)},e2=le("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ZT})(({theme:e,ownerState:t})=>_({},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",[`&.${Id.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&_({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),t2=le("input",{name:"MuiInputBase",slot:"Input",overridesResolver:JT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",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 _({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] + .${Id.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},[`&.${Id.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"})}),Sj=C.jsx(XT,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Cj=b.forwardRef(function(t,n){var r;const i=it({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:S,multiline:E=!1,name:T,onBlur:P,onChange:M,onClick:k,onFocus:A,onKeyDown:I,onKeyUp:$,placeholder:D,readOnly:B,renderSuffix:N,rows:H,slotProps:R={},slots:L={},startAdornment:z,type:K="text",value:ne}=i,He=se(i,wj),de=y.value!=null?y.value:ne,{current:Ge}=b.useRef(de!=null),J=b.useRef(),U=b.useCallback(Oe=>{},[]),ue=Ht(J,v,y.ref,U),[ce,Pe]=b.useState(!1),re=YT(),xe=KT({props:i,muiFormControl:re,states:["color","disabled","error","hiddenLabel","size","required","filled"]});xe.focused=re?re.focused:ce,b.useEffect(()=>{!re&&f&&ce&&(Pe(!1),P&&P())},[re,f,ce,P]);const Je=re&&re.onFilled,Ct=re&&re.onEmpty,Kt=b.useCallback(Oe=>{vj(Oe)?Je&&Je():Ct&&Ct()},[Je,Ct]);zi(()=>{Ge&&Kt({value:de})},[de,Kt,Ge]);const lt=Oe=>{if(xe.disabled){Oe.stopPropagation();return}A&&A(Oe),y.onFocus&&y.onFocus(Oe),re&&re.onFocus?re.onFocus(Oe):Pe(!0)},ut=Oe=>{P&&P(Oe),y.onBlur&&y.onBlur(Oe),re&&re.onBlur?re.onBlur(Oe):Pe(!1)},Qt=(Oe,...ee)=>{if(!Ge){const Xi=Oe.target||J.current;if(Xi==null)throw new Error(Xs(1));Kt({value:Xi.value})}y.onChange&&y.onChange(Oe,...ee),M&&M(Oe,...ee)};b.useEffect(()=>{Kt(J.current)},[]);const Br=Oe=>{J.current&&Oe.currentTarget===Oe.target&&J.current.focus(),k&&k(Oe)};let An=g,gt=y;E&&An==="input"&&(H?gt=_({type:void 0,minRows:H,maxRows:H},gt):gt=_({type:void 0,maxRows:w,minRows:S},gt),An=sj);const xa=Oe=>{Kt(Oe.animationName==="mui-auto-fill-cancel"?J.current:{value:"x"})};b.useEffect(()=>{re&&re.setAdornedStart(!!z)},[re,z]);const In=_({},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=bj(In),Ln=L.root||u.Root||e2,Qi=R.root||c.root||{},Yi=L.input||u.Input||t2;return gt=_({},gt,(r=R.input)!=null?r:c.input),C.jsxs(b.Fragment,{children:[!p&&Sj,C.jsxs(Ln,_({},Qi,!Cg(Ln)&&{ownerState:_({},In,Qi.ownerState)},{ref:n,onClick:Br},He,{className:oe(qn.root,Qi.className,l,B&&"MuiInputBase-readOnly"),children:[z,C.jsx(QT.Provider,{value:null,children:C.jsx(Yi,_({ownerState:In,"aria-invalid":xe.error,"aria-describedby":o,autoComplete:s,autoFocus:a,defaultValue:d,disabled:xe.disabled,id:x,onAnimationStart:xa,name:T,placeholder:D,readOnly:B,required:xe.required,rows:H,value:de,onKeyDown:I,onKeyUp:$,type:K},gt,!Cg(Yi)&&{as:An,ownerState:_({},In,gt.ownerState)},{ref:ue,className:oe(qn.input,gt.className,B&&"MuiInputBase-readOnly"),onBlur:ut,onChange:Qt,onFocus:lt}))}),h,N?N(_({},xe,{startAdornment:z})):null]}))]})}),Ej=Cj;function Pj(e){return rt("MuiOutlinedInput",e)}const Tj=_({},Id,Ye("MuiOutlinedInput",["root","notchedOutline","input"])),Wr=Tj,kj=qt(C.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 Mj(e){return rt("MuiAvatar",e)}Ye("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Oj=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],_j=zT(),Rj=e=>{const{classes:t,variant:n,colorDefault:r}=e;return at({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},Mj,t)},Aj=le("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:_({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:_({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),Ij=le("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Lj=le(kj,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function $j({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 jj=b.forwardRef(function(t,n){const r=_j({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,Oj);let x=null;const g=$j(_({},c,{src:f,srcSet:p})),y=f||p,v=y&&g!=="error",w=_({},r,{colorDefault:!v,component:a,variant:h}),S=Rj(w),[E,T]=Eg("img",{className:S.img,elementType:Ij,externalForwardedProps:{slots:l,slotProps:{img:_({},c,u.img)}},additionalProps:{alt:i,src:f,srcSet:p,sizes:d},ownerState:w});return v?x=C.jsx(E,_({},T)):o||o===0?x=o:y&&i?x=i[0]:x=C.jsx(Lj,{ownerState:w,className:S.fallback}),C.jsx(Aj,_({as:a,ownerState:w,className:oe(S.root,s),ref:n},m,{children:x}))}),Ld=jj,Dj=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Fj={entering:{opacity:1},entered:{opacity:1}},Nj=b.forwardRef(function(t,n){const r=W0(),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=BT}=t,v=se(t,Dj),w=b.useRef(null),S=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)=>{UT(D);const N=Ad({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)}),M=E(d),k=E(m),A=E(D=>{const B=Ad({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),$=D=>{o&&o(w.current,D)};return C.jsx(y,_({appear:s,in:u,nodeRef:w,onEnter:P,onEntered:M,onEntering:T,onExit:A,onExited:I,onExiting:k,addEndListener:$,timeout:g},v,{children:(D,B)=>b.cloneElement(a,_({style:_({opacity:0,visibility:D==="exited"&&!u?"hidden":void 0},Fj[D],x,a.props.style),ref:S},B))}))}),zj=Nj;function Vj(e){return rt("MuiBackdrop",e)}Ye("MuiBackdrop",["root","invisible"]);const Bj=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Uj=e=>{const{classes:t,invisible:n}=e;return at({root:["root",n&&"invisible"]},Vj,t)},Wj=le("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>_({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"})),Hj=b.forwardRef(function(t,n){var r,i,o;const s=it({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=zj,transitionDuration:g}=s,y=se(s,Bj),v=_({},s,{component:u,invisible:f}),w=Uj(v),S=(r=h.root)!=null?r:d.root;return C.jsx(x,_({in:p,timeout:g},y,{children:C.jsx(Wj,_({"aria-hidden":!0},S,{as:(i=(o=m.root)!=null?o:c.Root)!=null?i:u,className:oe(w.root,l,S==null?void 0:S.className),ownerState:_({},v,S==null?void 0:S.ownerState),classes:w,ref:n,children:a}))}))}),Gj=Hj,qj=Ye("MuiBox",["root"]),Kj=qj,Qj=U0(),Yj=vL({themeId:Ro,defaultTheme:Qj,defaultClassName:Kj.root,generateClassName:E0.generate}),Q=Yj;function Xj(e){return rt("MuiCard",e)}Ye("MuiCard",["root"]);const Zj=["className","raised"],Jj=e=>{const{classes:t}=e;return at({root:["root"]},Xj,t)},eD=le(Bl,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),tD=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiCard"}),{className:i,raised:o=!1}=r,s=se(r,Zj),a=_({},r,{raised:o}),l=Jj(a);return C.jsx(eD,_({className:oe(l.root,i),elevation:o?8:void 0,ref:n,ownerState:a},s))}),nD=tD;function rD(e){return rt("MuiCardMedia",e)}Ye("MuiCardMedia",["root","media","img"]);const iD=["children","className","component","image","src","style"],oD=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return at({root:["root",n&&"media",r&&"img"]},rD,t)},sD=le("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})=>_({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),aD=["video","audio","picture","iframe","img"],lD=["picture","img"],uD=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiCardMedia"}),{children:i,className:o,component:s="div",image:a,src:l,style:u}=r,c=se(r,iD),d=aD.indexOf(s)!==-1,f=!d&&a?_({backgroundImage:`url("${a}")`},u):u,p=_({},r,{component:s,isMediaComponent:d,isImageComponent:lD.indexOf(s)!==-1}),h=oD(p);return C.jsx(sD,_({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}))}),cD=uD;function dD(e){return rt("MuiCircularProgress",e)}Ye("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const fD=["className","color","disableShrink","size","style","thickness","value","variant"];let dp=e=>e,Sw,Cw,Ew,Pw;const Hr=44,pD=ca(Sw||(Sw=dp` 0% { transform: rotate(0deg); } @@ -182,11 +182,11 @@ Error generating stack: `+o.message+` stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } -`)),mD=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,dD,t)},gD=le("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})=>O({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"&&ap(Ew||(Ew=dp` +`)),mD=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,dD,t)},gD=le("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})=>_({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"&&ap(Ew||(Ew=dp` animation: ${0} 1.4s linear infinite; - `),pD)),vD=le("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),yD=le("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})=>O({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&&ap(Pw||(Pw=dp` + `),pD)),vD=le("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),yD=le("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})=>_({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&&ap(Pw||(Pw=dp` animation: ${0} 1.4s ease-in-out infinite; - `),hD)),xD=b.forwardRef(function(t,n){const r=it({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,fD),p=O({},r,{color:o,disableShrink:s,size:a,thickness:u,value:c,variant:d}),h=mD(p),m={},x={},g={};if(d==="determinate"){const y=2*Math.PI*((Hr-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 C.jsx(gD,O({className:oe(h.root,i),style:O({width:a,height:a},x,l),ownerState:p,ref:n,role:"progressbar"},g,f,{children:C.jsx(vD,{className:h.svg,ownerState:p,viewBox:`${Hr/2} ${Hr/2} ${Hr} ${Hr}`,children:C.jsx(yD,{className:h.circle,style:m,ownerState:p,cx:Hr,cy:Hr,r:(Hr-u)/2,fill:"none",strokeWidth:u})})}))}),wD=xD,bD=(e,t)=>O({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),SD=e=>O({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}}),CD=(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=O({html:bD(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:O({margin:0},SD(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 ED(e){const t=it({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return C.jsxs(b.Fragment,{children:[C.jsx(XT,{styles:i=>CD(i,r)}),n]})}function PD(e){return rt("MuiModal",e)}Ye("MuiModal",["root","hidden","backdrop"]);const TD=["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"],kD=e=>{const{open:t,exited:n,classes:r}=e;return at({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},PD,r)},MD=le("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})=>O({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),_D=le(Gj,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),OD=b.forwardRef(function(t,n){var r,i,o,s,a,l;const u=it({name:"MuiModal",props:t}),{BackdropComponent:c=_D,BackdropProps:d,className:f,closeAfterTransition:p=!1,children:h,container:m,component:x,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:S=!1,disablePortal:E=!1,disableRestoreFocus:T=!1,disableScrollLock:P=!1,hideBackdrop:M=!1,keepMounted:k=!1,onBackdropClick:A,open:I,slotProps:$,slots:D}=u,B=se(u,TD),N=O({},u,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:w,disableEscapeKeyDown:S,disablePortal:E,disableRestoreFocus:T,disableScrollLock:P,hideBackdrop:M,keepMounted:k}),{getRootProps:H,getBackdropProps:R,getTransitionProps:L,portalRef:z,isTopModal:K,exited:ne,hasTransition:He}=nj(O({},N,{rootRef:n})),de=O({},N,{exited:ne}),Ge=kD(de),J={};if(h.props.tabIndex===void 0&&(J.tabIndex="-1"),He){const{onEnter:Je,onExited:Ct}=L();J.onEnter=Je,J.onExited=Ct}const U=(r=(i=D==null?void 0:D.root)!=null?i:g.Root)!=null?r:MD,ue=(o=(s=D==null?void 0:D.backdrop)!=null?s:g.Backdrop)!=null?o:c,ce=(a=$==null?void 0:$.root)!=null?a:y.root,Pe=(l=$==null?void 0:$.backdrop)!=null?l:y.backdrop,re=uw({elementType:U,externalSlotProps:ce,externalForwardedProps:B,getSlotProps:H,additionalProps:{ref:n,as:x},ownerState:de,className:oe(f,ce==null?void 0:ce.className,Ge==null?void 0:Ge.root,!de.open&&de.exited&&(Ge==null?void 0:Ge.hidden))}),xe=uw({elementType:ue,externalSlotProps:Pe,additionalProps:d,getSlotProps:Je=>R(O({},Je,{onClick:Ct=>{A&&A(Ct),Je!=null&&Je.onClick&&Je.onClick(Ct)}})),className:oe(Pe==null?void 0:Pe.className,d==null?void 0:d.className,Ge==null?void 0:Ge.backdrop),ownerState:de});return!k&&!I&&(!He||ne)?null:C.jsx(q$,{ref:z,container:m,disablePortal:E,children:C.jsxs(U,O({},re,{children:[!M&&c?C.jsx(ue,O({},xe)):null,C.jsx(H$,{disableEnforceFocus:w,disableAutoFocus:v,disableRestoreFocus:T,isEnabled:K,open:I,children:b.cloneElement(h,J)})]}))})}),RD=OD;function AD(e){return rt("MuiDivider",e)}Ye("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const ID=["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"]},AD,r)},$D=le("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})=>O({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})=>O({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>O({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>O({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>O({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),jD=le("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>O({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)`})),n2=b.forwardRef(function(t,n){const r=it({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,ID),m=O({},r,{absolute:i,component:a,flexItem:l,light:u,orientation:c,role:d,textAlign:f,variant:p}),x=LD(m);return C.jsx($D,O({as:a,className:oe(x.root,s),role:d,ref:n,ownerState:m},h,{children:o?C.jsx(jD,{className:x.wrapper,ownerState:m,children:o}):null}))});n2.muiSkipListHighlight=!0;const q0=n2,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=Ni(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 ND(e){return typeof e=="function"?e():e}function fc(e,t,n){const r=ND(n),i=FD(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const zD=b.forwardRef(function(t,n){const r=W0(),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:S=BT}=t,E=se(t,DD),T=b.useRef(null),P=Ht(l.ref,T,n),M=R=>L=>{R&&(L===void 0?R(T.current):R(T.current,L))},k=M((R,L)=>{fc(c,R,u),UT(R),p&&p(R,L)}),A=M((R,L)=>{const z=Ad({timeout:w,style:v,easing:d},{mode:"enter"});R.style.webkitTransition=r.transitions.create("-webkit-transform",O({},z)),R.style.transition=r.transitions.create("transform",O({},z)),R.style.webkitTransform="none",R.style.transform="none",m&&m(R,L)}),I=M(h),$=M(y),D=M(R=>{const L=Ad({timeout:w,style:v,easing:d},{mode:"exit"});R.style.webkitTransition=r.transitions.create("-webkit-transform",L),R.style.transition=r.transitions.create("transform",L),fc(c,R,u),x&&x(R)}),B=M(R=>{R.style.webkitTransition="",R.style.transition="",g&&g(R)}),N=R=>{s&&s(T.current,R)},H=b.useCallback(()=>{T.current&&fc(c,T.current,u)},[c,u]);return b.useEffect(()=>{if(f||c==="down"||c==="right")return;const R=S0(()=>{T.current&&fc(c,T.current,u)}),L=Ni(T.current);return L.addEventListener("resize",R),()=>{R.clear(),L.removeEventListener("resize",R)}},[c,f,u]),b.useEffect(()=>{f||H()},[f,H]),C.jsx(S,O({nodeRef:T,onEnter:k,onEntered:I,onEntering:A,onExit:D,onExited:B,onExiting:$,addEndListener:N,appear:a,in:f,timeout:w},E,{children:(R,L)=>b.cloneElement(l,O({ref:P,style:O({visibility:R==="exited"&&!f?"hidden":void 0},v,l.props.style)},L))}))}),VD=zD;function BD(e){return rt("MuiDrawer",e)}Ye("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const UD=["BackdropProps"],WD=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],r2=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},HD=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,BD,t)},GD=le(RD,{name:"MuiDrawer",slot:"Root",overridesResolver:r2})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),Tw=le("div",{shouldForwardProp:Au,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:r2})({flex:"0 0 auto"}),qD=le(Bl,{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})=>O({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}`})),i2={left:"right",right:"left",top:"down",bottom:"up"};function KD(e){return["left","right"].indexOf(e)!==-1}function QD({direction:e},t){return e==="rtl"&&KD(t)?i2[t]:t}const YD=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiDrawer"}),i=W0(),o=ML(),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=VD,transitionDuration:v=s,variant:w="temporary"}=r,S=se(r.ModalProps,UD),E=se(r,WD),T=b.useRef(!1);b.useEffect(()=>{T.current=!0},[]);const P=QD({direction:o?"rtl":"ltr"},a),k=O({},r,{anchor:a,elevation:d,open:m,variant:w},E),A=HD(k),I=C.jsx(qD,O({elevation:w==="temporary"?d:0,square:!0},x,{className:oe(A.paper,x.className),ownerState:k,children:u}));if(w==="permanent")return C.jsx(Tw,O({className:oe(A.root,A.docked,c),ownerState:k,ref:n},E,{children:I}));const $=C.jsx(y,O({in:m,direction:i2[P],timeout:v,appear:T.current},g,{children:I}));return w==="persistent"?C.jsx(Tw,O({className:oe(A.root,A.docked,c),ownerState:k,ref:n},E,{children:$})):C.jsx(GD,O({BackdropProps:O({},l,p,{transitionDuration:v}),className:oe(A.root,A.modal,c),open:m,ownerState:k,onClose:h,hideBackdrop:f,ref:n},E,S,{children:$}))}),XD=YD;function ZD(e){return rt("MuiLink",e)}const JD=Ye("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),eF=JD,o2={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},tF=e=>o2[e]||e,nF=({theme:e,ownerState:t})=>{const n=tF(t.color),r=Zs(e,`palette.${n}`,!1)||t.color,i=Zs(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:kt(r,.4)},rF=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],iF=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,ZD,t)},oF=le(ae,{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})=>O({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&O({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:nF({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"},[`&.${eF.focusVisible}`]:{outline:"auto"}})),sF=b.forwardRef(function(t,n){const r=it({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,rF),{isFocusVisibleRef:h,onBlur:m,onFocus:x,ref:g}=C0(),[y,v]=b.useState(!1),w=Ht(n,g),S=M=>{m(M),h.current===!1&&v(!1),a&&a(M)},E=M=>{x(M),h.current===!0&&v(!0),l&&l(M)},T=O({},r,{color:o,component:s,focusVisible:y,underline:c,variant:d}),P=iF(T);return C.jsx(oF,O({color:o,className:oe(P.root,i),classes:u,component:s,onBlur:S,onFocus:E,ref:w,ownerState:T,variant:d,sx:[...Object.keys(o2).includes(o)?[]:[{color:o}],...Array.isArray(f)?f:[f]]},p))}),kg=sF;var kw;const aF=["children","classes","className","label","notched"],lF=le("fieldset",{shouldForwardProp:Au})({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%"}),uF=le("legend",{shouldForwardProp:Au})(({ownerState:e,theme:t})=>O({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&&O({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 cF(e){const{className:t,label:n,notched:r}=e,i=se(e,aF),o=n!=null&&n!=="",s=O({},e,{notched:r,withLabel:o});return C.jsx(lF,O({"aria-hidden":!0,className:t,ownerState:s},i,{children:C.jsx(uF,{ownerState:s,children:o?C.jsx("span",{children:n}):kw||(kw=C.jsx("span",{className:"notranslate",children:"​"}))})}))}const dF=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],fF=e=>{const{classes:t}=e,r=at({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Pj,t);return O({},t,r)},pF=le(e2,{shouldForwardProp:e=>Au(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:ZT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return O({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Wr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Wr.focused} .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Wr.error} .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Wr.disabled} .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&O({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),hF=le(cF,{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}}),mF=le(t2,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:JT})(({theme:e,ownerState:t})=>O({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})),s2=b.forwardRef(function(t,n){var r,i,o,s,a;const l=it({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,dF),y=fF(l),v=YT(),w=KT({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S=O({},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:pF,T=(o=(s=m.input)!=null?s:u.Input)!=null?o:mF;return C.jsx(Ej,O({slots:{root:E,input:T},renderSuffix:P=>C.jsx(hF,{ownerState:S,className:y.notchedOutline,label:f!=null&&f!==""&&w.required?a||(a=C.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:O({},y,{notchedOutline:null})}))});s2.muiName="Input";const gF=s2;function vF(e){return rt("MuiToolbar",e)}Ye("MuiToolbar",["root","gutters","regular","dense"]);const yF=["className","component","disableGutters","variant"],xF=e=>{const{classes:t,disableGutters:n,variant:r}=e;return at({root:["root",!n&&"gutters",r]},vF,t)},wF=le("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})=>O({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),bF=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:a="regular"}=r,l=se(r,yF),u=O({},r,{component:o,disableGutters:s,variant:a}),c=xF(u);return C.jsx(wF,O({as:o,className:oe(c.root,i),ref:n,ownerState:u},l))}),SF=bF;function a2(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)},[]),C.jsxs(Q,{sx:{background:"#16F4D0",color:"#000000",fontWeight:600,display:t?"flex":"none",justifyContent:"center",alignItems:"center",height:"30px"},children:[C.jsx(Q,{sx:{flexGrow:1,display:"flex",justifyContent:"center"},children:e.events.map(i=>C.jsx(kg,{underline:"hover",href:i.href,color:"inherit",children:i.title},`${i.title}::${i.href}`))}),C.jsx(Ul,{"data-testid":"events-close-button",onClick:r,sx:{color:"inherit",width:"25px",height:"25px",marginRight:"5px"},children:C.jsx($T,{sx:{color:"inherit"}})})]})}var K0={},Sh={};const CF=Fr(uL);var Mw;function EF(){return Mw||(Mw=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=CF}(Sh)),Sh}var PF=N0;Object.defineProperty(K0,"__esModule",{value:!0});var l2=K0.default=void 0,TF=PF(EF()),kF=C;l2=K0.default=(0,TF.default)((0,kF.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");/*! ***************************************************************************** + `),hD)),xD=b.forwardRef(function(t,n){const r=it({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,fD),p=_({},r,{color:o,disableShrink:s,size:a,thickness:u,value:c,variant:d}),h=mD(p),m={},x={},g={};if(d==="determinate"){const y=2*Math.PI*((Hr-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 C.jsx(gD,_({className:oe(h.root,i),style:_({width:a,height:a},x,l),ownerState:p,ref:n,role:"progressbar"},g,f,{children:C.jsx(vD,{className:h.svg,ownerState:p,viewBox:`${Hr/2} ${Hr/2} ${Hr} ${Hr}`,children:C.jsx(yD,{className:h.circle,style:m,ownerState:p,cx:Hr,cy:Hr,r:(Hr-u)/2,fill:"none",strokeWidth:u})})}))}),wD=xD,bD=(e,t)=>_({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),SD=e=>_({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}}),CD=(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=_({html:bD(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:_({margin:0},SD(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 ED(e){const t=it({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return C.jsxs(b.Fragment,{children:[C.jsx(XT,{styles:i=>CD(i,r)}),n]})}function PD(e){return rt("MuiModal",e)}Ye("MuiModal",["root","hidden","backdrop"]);const TD=["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"],kD=e=>{const{open:t,exited:n,classes:r}=e;return at({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},PD,r)},MD=le("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})=>_({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),OD=le(Gj,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),_D=b.forwardRef(function(t,n){var r,i,o,s,a,l;const u=it({name:"MuiModal",props:t}),{BackdropComponent:c=OD,BackdropProps:d,className:f,closeAfterTransition:p=!1,children:h,container:m,component:x,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:S=!1,disablePortal:E=!1,disableRestoreFocus:T=!1,disableScrollLock:P=!1,hideBackdrop:M=!1,keepMounted:k=!1,onBackdropClick:A,open:I,slotProps:$,slots:D}=u,B=se(u,TD),N=_({},u,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:w,disableEscapeKeyDown:S,disablePortal:E,disableRestoreFocus:T,disableScrollLock:P,hideBackdrop:M,keepMounted:k}),{getRootProps:H,getBackdropProps:R,getTransitionProps:L,portalRef:z,isTopModal:K,exited:ne,hasTransition:He}=nj(_({},N,{rootRef:n})),de=_({},N,{exited:ne}),Ge=kD(de),J={};if(h.props.tabIndex===void 0&&(J.tabIndex="-1"),He){const{onEnter:Je,onExited:Ct}=L();J.onEnter=Je,J.onExited=Ct}const U=(r=(i=D==null?void 0:D.root)!=null?i:g.Root)!=null?r:MD,ue=(o=(s=D==null?void 0:D.backdrop)!=null?s:g.Backdrop)!=null?o:c,ce=(a=$==null?void 0:$.root)!=null?a:y.root,Pe=(l=$==null?void 0:$.backdrop)!=null?l:y.backdrop,re=uw({elementType:U,externalSlotProps:ce,externalForwardedProps:B,getSlotProps:H,additionalProps:{ref:n,as:x},ownerState:de,className:oe(f,ce==null?void 0:ce.className,Ge==null?void 0:Ge.root,!de.open&&de.exited&&(Ge==null?void 0:Ge.hidden))}),xe=uw({elementType:ue,externalSlotProps:Pe,additionalProps:d,getSlotProps:Je=>R(_({},Je,{onClick:Ct=>{A&&A(Ct),Je!=null&&Je.onClick&&Je.onClick(Ct)}})),className:oe(Pe==null?void 0:Pe.className,d==null?void 0:d.className,Ge==null?void 0:Ge.backdrop),ownerState:de});return!k&&!I&&(!He||ne)?null:C.jsx(q$,{ref:z,container:m,disablePortal:E,children:C.jsxs(U,_({},re,{children:[!M&&c?C.jsx(ue,_({},xe)):null,C.jsx(H$,{disableEnforceFocus:w,disableAutoFocus:v,disableRestoreFocus:T,isEnabled:K,open:I,children:b.cloneElement(h,J)})]}))})}),RD=_D;function AD(e){return rt("MuiDivider",e)}Ye("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const ID=["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"]},AD,r)},$D=le("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})=>_({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})=>_({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>_({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>_({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>_({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),jD=le("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>_({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)`})),n2=b.forwardRef(function(t,n){const r=it({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,ID),m=_({},r,{absolute:i,component:a,flexItem:l,light:u,orientation:c,role:d,textAlign:f,variant:p}),x=LD(m);return C.jsx($D,_({as:a,className:oe(x.root,s),role:d,ref:n,ownerState:m},h,{children:o?C.jsx(jD,{className:x.wrapper,ownerState:m,children:o}):null}))});n2.muiSkipListHighlight=!0;const q0=n2,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=Ni(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 ND(e){return typeof e=="function"?e():e}function fc(e,t,n){const r=ND(n),i=FD(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const zD=b.forwardRef(function(t,n){const r=W0(),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:S=BT}=t,E=se(t,DD),T=b.useRef(null),P=Ht(l.ref,T,n),M=R=>L=>{R&&(L===void 0?R(T.current):R(T.current,L))},k=M((R,L)=>{fc(c,R,u),UT(R),p&&p(R,L)}),A=M((R,L)=>{const z=Ad({timeout:w,style:v,easing:d},{mode:"enter"});R.style.webkitTransition=r.transitions.create("-webkit-transform",_({},z)),R.style.transition=r.transitions.create("transform",_({},z)),R.style.webkitTransform="none",R.style.transform="none",m&&m(R,L)}),I=M(h),$=M(y),D=M(R=>{const L=Ad({timeout:w,style:v,easing:d},{mode:"exit"});R.style.webkitTransition=r.transitions.create("-webkit-transform",L),R.style.transition=r.transitions.create("transform",L),fc(c,R,u),x&&x(R)}),B=M(R=>{R.style.webkitTransition="",R.style.transition="",g&&g(R)}),N=R=>{s&&s(T.current,R)},H=b.useCallback(()=>{T.current&&fc(c,T.current,u)},[c,u]);return b.useEffect(()=>{if(f||c==="down"||c==="right")return;const R=S0(()=>{T.current&&fc(c,T.current,u)}),L=Ni(T.current);return L.addEventListener("resize",R),()=>{R.clear(),L.removeEventListener("resize",R)}},[c,f,u]),b.useEffect(()=>{f||H()},[f,H]),C.jsx(S,_({nodeRef:T,onEnter:k,onEntered:I,onEntering:A,onExit:D,onExited:B,onExiting:$,addEndListener:N,appear:a,in:f,timeout:w},E,{children:(R,L)=>b.cloneElement(l,_({ref:P,style:_({visibility:R==="exited"&&!f?"hidden":void 0},v,l.props.style)},L))}))}),VD=zD;function BD(e){return rt("MuiDrawer",e)}Ye("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const UD=["BackdropProps"],WD=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],r2=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},HD=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,BD,t)},GD=le(RD,{name:"MuiDrawer",slot:"Root",overridesResolver:r2})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),Tw=le("div",{shouldForwardProp:Au,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:r2})({flex:"0 0 auto"}),qD=le(Bl,{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})=>_({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}`})),i2={left:"right",right:"left",top:"down",bottom:"up"};function KD(e){return["left","right"].indexOf(e)!==-1}function QD({direction:e},t){return e==="rtl"&&KD(t)?i2[t]:t}const YD=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiDrawer"}),i=W0(),o=ML(),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=VD,transitionDuration:v=s,variant:w="temporary"}=r,S=se(r.ModalProps,UD),E=se(r,WD),T=b.useRef(!1);b.useEffect(()=>{T.current=!0},[]);const P=QD({direction:o?"rtl":"ltr"},a),k=_({},r,{anchor:a,elevation:d,open:m,variant:w},E),A=HD(k),I=C.jsx(qD,_({elevation:w==="temporary"?d:0,square:!0},x,{className:oe(A.paper,x.className),ownerState:k,children:u}));if(w==="permanent")return C.jsx(Tw,_({className:oe(A.root,A.docked,c),ownerState:k,ref:n},E,{children:I}));const $=C.jsx(y,_({in:m,direction:i2[P],timeout:v,appear:T.current},g,{children:I}));return w==="persistent"?C.jsx(Tw,_({className:oe(A.root,A.docked,c),ownerState:k,ref:n},E,{children:$})):C.jsx(GD,_({BackdropProps:_({},l,p,{transitionDuration:v}),className:oe(A.root,A.modal,c),open:m,ownerState:k,onClose:h,hideBackdrop:f,ref:n},E,S,{children:$}))}),XD=YD;function ZD(e){return rt("MuiLink",e)}const JD=Ye("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),eF=JD,o2={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},tF=e=>o2[e]||e,nF=({theme:e,ownerState:t})=>{const n=tF(t.color),r=Zs(e,`palette.${n}`,!1)||t.color,i=Zs(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:kt(r,.4)},rF=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],iF=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,ZD,t)},oF=le(ae,{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})=>_({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&_({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:nF({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"},[`&.${eF.focusVisible}`]:{outline:"auto"}})),sF=b.forwardRef(function(t,n){const r=it({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,rF),{isFocusVisibleRef:h,onBlur:m,onFocus:x,ref:g}=C0(),[y,v]=b.useState(!1),w=Ht(n,g),S=M=>{m(M),h.current===!1&&v(!1),a&&a(M)},E=M=>{x(M),h.current===!0&&v(!0),l&&l(M)},T=_({},r,{color:o,component:s,focusVisible:y,underline:c,variant:d}),P=iF(T);return C.jsx(oF,_({color:o,className:oe(P.root,i),classes:u,component:s,onBlur:S,onFocus:E,ref:w,ownerState:T,variant:d,sx:[...Object.keys(o2).includes(o)?[]:[{color:o}],...Array.isArray(f)?f:[f]]},p))}),kg=sF;var kw;const aF=["children","classes","className","label","notched"],lF=le("fieldset",{shouldForwardProp:Au})({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%"}),uF=le("legend",{shouldForwardProp:Au})(({ownerState:e,theme:t})=>_({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&&_({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 cF(e){const{className:t,label:n,notched:r}=e,i=se(e,aF),o=n!=null&&n!=="",s=_({},e,{notched:r,withLabel:o});return C.jsx(lF,_({"aria-hidden":!0,className:t,ownerState:s},i,{children:C.jsx(uF,{ownerState:s,children:o?C.jsx("span",{children:n}):kw||(kw=C.jsx("span",{className:"notranslate",children:"​"}))})}))}const dF=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],fF=e=>{const{classes:t}=e,r=at({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Pj,t);return _({},t,r)},pF=le(e2,{shouldForwardProp:e=>Au(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:ZT})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return _({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Wr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${Wr.focused} .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${Wr.error} .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Wr.disabled} .${Wr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&_({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),hF=le(cF,{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}}),mF=le(t2,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:JT})(({theme:e,ownerState:t})=>_({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})),s2=b.forwardRef(function(t,n){var r,i,o,s,a;const l=it({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,dF),y=fF(l),v=YT(),w=KT({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),S=_({},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:pF,T=(o=(s=m.input)!=null?s:u.Input)!=null?o:mF;return C.jsx(Ej,_({slots:{root:E,input:T},renderSuffix:P=>C.jsx(hF,{ownerState:S,className:y.notchedOutline,label:f!=null&&f!==""&&w.required?a||(a=C.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:_({},y,{notchedOutline:null})}))});s2.muiName="Input";const gF=s2;function vF(e){return rt("MuiToolbar",e)}Ye("MuiToolbar",["root","gutters","regular","dense"]);const yF=["className","component","disableGutters","variant"],xF=e=>{const{classes:t,disableGutters:n,variant:r}=e;return at({root:["root",!n&&"gutters",r]},vF,t)},wF=le("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})=>_({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),bF=b.forwardRef(function(t,n){const r=it({props:t,name:"MuiToolbar"}),{className:i,component:o="div",disableGutters:s=!1,variant:a="regular"}=r,l=se(r,yF),u=_({},r,{component:o,disableGutters:s,variant:a}),c=xF(u);return C.jsx(wF,_({as:o,className:oe(c.root,i),ref:n,ownerState:u},l))}),SF=bF;function a2(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)},[]),C.jsxs(Q,{sx:{background:"#16F4D0",color:"#000000",fontWeight:600,display:t?"flex":"none",justifyContent:"center",alignItems:"center",height:"30px"},children:[C.jsx(Q,{sx:{flexGrow:1,display:"flex",justifyContent:"center"},children:e.events.map(i=>C.jsx(kg,{underline:"hover",href:i.href,color:"inherit",children:i.title},`${i.title}::${i.href}`))}),C.jsx(Ul,{"data-testid":"events-close-button",onClick:r,sx:{color:"inherit",width:"25px",height:"25px",marginRight:"5px"},children:C.jsx($T,{sx:{color:"inherit"}})})]})}var K0={},Sh={};const CF=Fr(uL);var Mw;function EF(){return Mw||(Mw=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=CF}(Sh)),Sh}var PF=N0;Object.defineProperty(K0,"__esModule",{value:!0});var l2=K0.default=void 0,TF=PF(EF()),kF=C;l2=K0.default=(0,TF.default)((0,kF.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any @@ -199,7 +199,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -***************************************************************************** */var Mg=function(){return Mg=Object.assign||function(t){for(var n,r=1,i=arguments.length;r{r("/")},sx:{height:"65%",display:"flex",flexGrow:1,alignItems:"center",cursor:"pointer"},children:[C.jsx("img",{alt:"adc-logo",src:"/logo256.png",style:{maxHeight:"100%",margin:"10px 0px 10px 0px"}}),C.jsx(ae,{sx:{fontSize:"1.3rem",fontWeight:"bold",marginLeft:"15px"},children:"App Dev Club"})]}),C.jsx(Q,{sx:{display:{xs:"none",md:"flex"}},children:e.links.map(i=>C.jsx(Rw,{smooth:!0,to:i.anchor,className:"webv2-nhashlink",children:i.title}))}),C.jsx(Ul,{onClick:()=>{n(!0)},sx:{color:"inherit",display:{xs:"flex",md:"none"}},children:C.jsx(l2,{sx:{fontSize:"1.8rem"}})}),C.jsxs(XD,{anchor:"right",open:t,onClose:()=>{n(!1)},PaperProps:{sx:{width:"180px",bgcolor:"background.default",padding:"25px",backgroundImage:"unset"}},children:[C.jsx(Ul,{onClick:()=>{n(!1)},sx:{alignSelf:"end",maxWidth:"40px",marginBottom:"10px"},children:C.jsx($T,{})}),e.links.map(i=>C.jsx(Rw,{smooth:!0,to:i.anchor,onClick:()=>{n(!1)},className:"webv2-nhashlink-mobile",children:i.title}))]})]})})}var d2={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Aw=W.createContext&&W.createContext(d2),OF=["attr","size","title"];function RF(e,t){if(e==null)return{};var n=AF(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 AF(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 jd(){return jd=Object.assign?Object.assign.bind():function(e){for(var t=1;tW.createElement(t.tag,Dd({key:n},t.attr),f2(t.child)))}function jF(e){return t=>W.createElement(DF,jd({attr:Dd({},e.attr)},t),f2(e.child))}function DF(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=RF(e,OF),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),W.createElement("svg",jd({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:Dd(Dd({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 Aw!==void 0?W.createElement(Aw.Consumer,null,n=>t(n)):t(d2)}function FF(e){return jF({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 p2(e){let t=[{icon:C.jsx(fL,{}),redirect:"https://www.instagram.com/appdev_umd/"},{icon:C.jsx(pL,{}),redirect:"https://www.linkedin.com/company/app-development-club/"},{icon:C.jsx(dL,{}),redirect:"https://github.com/appdevumd"},{icon:C.jsx(cL,{}),redirect:"mailto:umdappdev@gmail.com"},{icon:C.jsx(FF,{}),redirect:"https://discord.com/invite/scSeVbTT7G"}];return C.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 h2(e){const n=new Date().getFullYear();return C.jsxs(Q,{sx:{...e.sx,display:"flex",width:"100%",height:"75px",padding:"30px",alignItems:"center",justifyContent:"center"},children:[C.jsxs(ae,{style:{fontSize:"18px",flexGrow:1},children:["© ",n," App Dev Club"]}),C.jsx("img",{src:"../logo256.png",style:{maxHeight:"50px"}}),C.jsx(p2,{sx:{justifyContent:"end"}})]})}const Lw=[{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 NF(){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)}},[]),C.jsxs(C.Fragment,{children:[n.length<1?C.jsx(C.Fragment,{}):C.jsx(a2,{events:n}),C.jsx($d,{links:Lw,fullWidth:!0,sx:{backgroundColor:"transparent"}}),C.jsx($d,{links:Lw,translucent:!0,sx:{zIndex:2,marginTop:"25px",position:"fixed",top:`${e}px`,left:"0px"}}),C.jsx(H5,{}),C.jsx(Q,{sx:{position:"relative"},children:C.jsx(h2,{})})]})}const zF=U0({palette:{mode:"dark",text:{primary:"#FFFFFF"},background:{default:"#14213D"}},typography:{fontFamily:"Inter, sans-serif"}}),m2={baseTheme:zF};function _g(){return _g=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"&&typeof ue>"u"){var Pe=ce?p:f;U=Pe.left+Pe.width/2,ue=Pe.top+Pe.height/2}var re=0,xe=0,Je=f,Ct=Je.top,Kt=Je.left,lt=Je.width,ut=Je.height,Qt;if(ce){var In=p,qn=In.top,Ln=In.left,Qi=In.width,Yi=In.height,_e=Kt-Ln,ee=Ct-qn,Xi=lt/2+_e,Vp=ut/2+ee,Uu=U-Ln,m1=ue-qn;xe=l.rotateYMax*(Uu-Xi)/(Qi-lt/2)*-1,re=l.rotateXMax*(m1-Vp)/(Yi-ut/2),Qt=U-Kt+"px "+(ue-Ct)+"px"}else{var Br=lt/2,An=ut/2,gt=U-Kt,xa=ue-Ct;xe=l.rotateYMax*(gt-Br)/(lt/2)*-1,re=l.rotateXMax*(xa-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 wa=re/l.rotateXMax*100,ba=xe/l.rotateYMax*100,__=(ce?ba/100*l.stretchX:0)*(l.rotateYInvert?-1:1),O_=(ce?wa/100*l.stretchY:0)*(l.rotateXInvert?-1:1),R_=ce?Math.max(Math.abs(wa),Math.abs(ba))/100*l.stretchZ:0;P(u,"translate3d("+__+"%, "+-O_+"%, "+-R_+"px) rotateX("+re+"deg) rotateY("+xe+"deg)"),Qt&&l.commonOrigin&&k(u,Qt),m&&(E(m,l.duration+"ms"),T(m,"ease-out"),P(m,"translate3d("+-ba*.25+"%, "+wa*.25+"%, 0)"),M(m,Math.max(Math.abs(wa),Math.abs(ba))/100)),B({rotateXPercentage:wa,rotateYPercentage:ba,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},R=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()}},L=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 ue=U.clientX,ce=U.clientY,Pe=ue-g,re=ce-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(ue,ce)}},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)"),M(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 ue=U.target;!r.contains(ue)&&ue!==r&&a.isActive&&K()},He=function(){typeof n=="string"&&(n=Gr(document,n)),n&&(n.__atropos__||(typeof r<"u"?typeof r=="string"&&(r=Gr(document,r)):r=n,s=o?n.parentNode.host:n,Object.assign(a,{el:n}),u=Gr(n,".atropos-rotate"),c=Gr(n,".atropos-scale"),d=Gr(n,".atropos-inner"),n.__atropos__=a))},de=function(){He(),!(!n||!r)&&(l.shadow&&$(),l.highlight&&D(),l.rotateTouch&&(typeof l.rotateTouch=="string"?n.classList.add("atropos-rotate-touch-"+l.rotateTouch):n.classList.add("atropos-rotate-touch")),Gr(s,"[data-atropos-opacity]")&&B({opacityOnly:!0}),A(document,"click",ne),A(r,"pointerdown",R),A(r,"pointerenter",R),A(r,"pointermove",z),A(r,"touchmove",L),A(r,"pointerleave",K),A(r,"pointerup",K),A(r,"lostpointercapture",K),l.alwaysActive&&(H(),N()))},Ge=function(){a.destroyed=!0,cancelAnimationFrame(w),I(document,"click",ne),I(r,"pointerdown",R),I(r,"pointerenter",R),I(r,"pointermove",z),I(r,"touchmove",L),I(r,"pointerleave",K),I(r,"pointerup",K),I(r,"lostpointercapture",K),delete n.__atropos__};return a.destroy=Ge,de(),a}var HF=["component","children","rootChildren","scaleChildren","rotateChildren","className","scaleClassName","rotateClassName","innerClassName"];function Fd(){return Fd=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var g2=["eventsEl","alwaysActive","activeOffset","shadowOffset","shadowScale","duration","rotate","rotateTouch","rotateXMax","rotateYMax","rotateXInvert","rotateYInvert","stretchX","stretchY","stretchZ","commonOrigin","shadow","highlight","onEnter","onLeave","onRotate"],qF=function(t){var n={};return Object.keys(t).forEach(function(r){g2.includes(r)||(n[r]=t[r])}),n},KF=function(t){var n={};return Object.keys(t).forEach(function(r){g2.includes(r)&&(n[r]=t[r])}),n};function QF(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=GF(e,HF),x=b.useRef(null),g=b.useRef(null),y=n,v=function(){for(var T=arguments.length,P=new Array(T),M=0;M"u")&&W.createElement("span",{className:"atropos-highlight"})),s,(e.shadow||typeof e.shadow>"u")&&W.createElement("span",{className:"atropos-shadow"})),o),i)}function YF(e){let t=0,n;for(n=0;n>n*8&255;r+=`00${i.toString(16)}`.slice(-2)}return r}function v2(e){return{sx:{bgcolor:YF(e)},children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`}}var y2={};function XF(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(y2,"__esModule",{value:!0});var Ne=b;function ZF(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var qr=ZF(Ne);XF(`.rfm-marquee-container { +***************************************************************************** */var Mg=function(){return Mg=Object.assign||function(t){for(var n,r=1,i=arguments.length;r{r("/")},sx:{height:"65%",display:"flex",flexGrow:1,alignItems:"center",cursor:"pointer"},children:[C.jsx("img",{alt:"adc-logo",src:"/logo256.png",style:{maxHeight:"100%",margin:"10px 0px 10px 0px"}}),C.jsx(ae,{sx:{fontSize:"1.3rem",fontWeight:"bold",marginLeft:"15px"},children:"App Dev Club"})]}),C.jsx(Q,{sx:{display:{xs:"none",md:"flex"}},children:e.links.map(i=>C.jsx(Rw,{smooth:!0,to:i.anchor,className:"webv2-nhashlink",children:i.title}))}),C.jsx(Ul,{onClick:()=>{n(!0)},sx:{color:"inherit",display:{xs:"flex",md:"none"}},children:C.jsx(l2,{sx:{fontSize:"1.8rem"}})}),C.jsxs(XD,{anchor:"right",open:t,onClose:()=>{n(!1)},PaperProps:{sx:{width:"180px",bgcolor:"background.default",padding:"25px",backgroundImage:"unset"}},children:[C.jsx(Ul,{onClick:()=>{n(!1)},sx:{alignSelf:"end",maxWidth:"40px",marginBottom:"10px"},children:C.jsx($T,{})}),e.links.map(i=>C.jsx(Rw,{smooth:!0,to:i.anchor,onClick:()=>{n(!1)},className:"webv2-nhashlink-mobile",children:i.title}))]})]})})}var d2={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Aw=W.createContext&&W.createContext(d2),_F=["attr","size","title"];function RF(e,t){if(e==null)return{};var n=AF(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 AF(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 jd(){return jd=Object.assign?Object.assign.bind():function(e){for(var t=1;tW.createElement(t.tag,Dd({key:n},t.attr),f2(t.child)))}function jF(e){return t=>W.createElement(DF,jd({attr:Dd({},e.attr)},t),f2(e.child))}function DF(e){var t=n=>{var{attr:r,size:i,title:o}=e,s=RF(e,_F),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),W.createElement("svg",jd({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,s,{className:l,style:Dd(Dd({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 Aw!==void 0?W.createElement(Aw.Consumer,null,n=>t(n)):t(d2)}function FF(e){return jF({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 p2(e){let t=[{icon:C.jsx(fL,{}),redirect:"https://www.instagram.com/appdev_umd/"},{icon:C.jsx(pL,{}),redirect:"https://www.linkedin.com/company/app-development-club/"},{icon:C.jsx(dL,{}),redirect:"https://github.com/appdevumd"},{icon:C.jsx(cL,{}),redirect:"mailto:umdappdev@gmail.com"},{icon:C.jsx(FF,{}),redirect:"https://discord.com/invite/scSeVbTT7G"}];return C.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 h2(e){const n=new Date().getFullYear();return C.jsxs(Q,{sx:{...e.sx,display:"flex",width:"100%",height:"75px",padding:"30px",alignItems:"center",justifyContent:"center"},children:[C.jsxs(ae,{style:{fontSize:"18px",flexGrow:1},children:["© ",n," App Dev Club"]}),C.jsx("img",{src:"../logo256.png",style:{maxHeight:"50px"}}),C.jsx(p2,{sx:{justifyContent:"end"}})]})}const Lw=[{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 NF(){const[e,t]=W.useState(-120),[n]=W.useState([]);return W.useEffect(()=>{function r(){const i=window.scrollY;t(Math.min(i-120,0))}return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)}},[]),C.jsxs(C.Fragment,{children:[n.length<1?C.jsx(C.Fragment,{}):C.jsx(a2,{events:n}),C.jsx($d,{links:Lw,fullWidth:!0,sx:{backgroundColor:"transparent"}}),C.jsx($d,{links:Lw,translucent:!0,sx:{zIndex:2,marginTop:"25px",position:"fixed",top:`${e}px`,left:"0px"}}),C.jsx(H5,{}),C.jsx(Q,{sx:{position:"relative"},children:C.jsx(h2,{})})]})}const zF=U0({palette:{mode:"dark",text:{primary:"#FFFFFF"},background:{default:"#14213D"}},typography:{fontFamily:"Inter, sans-serif"}}),m2={baseTheme:zF};function Og(){return Og=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"&&typeof ue>"u"){var Pe=ce?p:f;U=Pe.left+Pe.width/2,ue=Pe.top+Pe.height/2}var re=0,xe=0,Je=f,Ct=Je.top,Kt=Je.left,lt=Je.width,ut=Je.height,Qt;if(ce){var In=p,qn=In.top,Ln=In.left,Qi=In.width,Yi=In.height,Oe=Kt-Ln,ee=Ct-qn,Xi=lt/2+Oe,Vp=ut/2+ee,Uu=U-Ln,m1=ue-qn;xe=l.rotateYMax*(Uu-Xi)/(Qi-lt/2)*-1,re=l.rotateXMax*(m1-Vp)/(Yi-ut/2),Qt=U-Kt+"px "+(ue-Ct)+"px"}else{var Br=lt/2,An=ut/2,gt=U-Kt,xa=ue-Ct;xe=l.rotateYMax*(gt-Br)/(lt/2)*-1,re=l.rotateXMax*(xa-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 wa=re/l.rotateXMax*100,ba=xe/l.rotateYMax*100,OO=(ce?ba/100*l.stretchX:0)*(l.rotateYInvert?-1:1),_O=(ce?wa/100*l.stretchY:0)*(l.rotateXInvert?-1:1),RO=ce?Math.max(Math.abs(wa),Math.abs(ba))/100*l.stretchZ:0;P(u,"translate3d("+OO+"%, "+-_O+"%, "+-RO+"px) rotateX("+re+"deg) rotateY("+xe+"deg)"),Qt&&l.commonOrigin&&k(u,Qt),m&&(E(m,l.duration+"ms"),T(m,"ease-out"),P(m,"translate3d("+-ba*.25+"%, "+wa*.25+"%, 0)"),M(m,Math.max(Math.abs(wa),Math.abs(ba))/100)),B({rotateXPercentage:wa,rotateYPercentage:ba,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},R=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()}},L=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 ue=U.clientX,ce=U.clientY,Pe=ue-g,re=ce-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(ue,ce)}},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)"),M(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 ue=U.target;!r.contains(ue)&&ue!==r&&a.isActive&&K()},He=function(){typeof n=="string"&&(n=Gr(document,n)),n&&(n.__atropos__||(typeof r<"u"?typeof r=="string"&&(r=Gr(document,r)):r=n,s=o?n.parentNode.host:n,Object.assign(a,{el:n}),u=Gr(n,".atropos-rotate"),c=Gr(n,".atropos-scale"),d=Gr(n,".atropos-inner"),n.__atropos__=a))},de=function(){He(),!(!n||!r)&&(l.shadow&&$(),l.highlight&&D(),l.rotateTouch&&(typeof l.rotateTouch=="string"?n.classList.add("atropos-rotate-touch-"+l.rotateTouch):n.classList.add("atropos-rotate-touch")),Gr(s,"[data-atropos-opacity]")&&B({opacityOnly:!0}),A(document,"click",ne),A(r,"pointerdown",R),A(r,"pointerenter",R),A(r,"pointermove",z),A(r,"touchmove",L),A(r,"pointerleave",K),A(r,"pointerup",K),A(r,"lostpointercapture",K),l.alwaysActive&&(H(),N()))},Ge=function(){a.destroyed=!0,cancelAnimationFrame(w),I(document,"click",ne),I(r,"pointerdown",R),I(r,"pointerenter",R),I(r,"pointermove",z),I(r,"touchmove",L),I(r,"pointerleave",K),I(r,"pointerup",K),I(r,"lostpointercapture",K),delete n.__atropos__};return a.destroy=Ge,de(),a}var HF=["component","children","rootChildren","scaleChildren","rotateChildren","className","scaleClassName","rotateClassName","innerClassName"];function Fd(){return Fd=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var g2=["eventsEl","alwaysActive","activeOffset","shadowOffset","shadowScale","duration","rotate","rotateTouch","rotateXMax","rotateYMax","rotateXInvert","rotateYInvert","stretchX","stretchY","stretchZ","commonOrigin","shadow","highlight","onEnter","onLeave","onRotate"],qF=function(t){var n={};return Object.keys(t).forEach(function(r){g2.includes(r)||(n[r]=t[r])}),n},KF=function(t){var n={};return Object.keys(t).forEach(function(r){g2.includes(r)&&(n[r]=t[r])}),n};function QF(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=GF(e,HF),x=b.useRef(null),g=b.useRef(null),y=n,v=function(){for(var T=arguments.length,P=new Array(T),M=0;M"u")&&W.createElement("span",{className:"atropos-highlight"})),s,(e.shadow||typeof e.shadow>"u")&&W.createElement("span",{className:"atropos-shadow"})),o),i)}function YF(e){let t=0,n;for(n=0;n>n*8&255;r+=`00${i.toString(16)}`.slice(-2)}return r}function v2(e){return{sx:{bgcolor:YF(e)},children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`}}var y2={};function XF(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(y2,"__esModule",{value:!0});var Ne=b;function ZF(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var qr=ZF(Ne);XF(`.rfm-marquee-container { overflow-x: hidden; display: flex; flex-direction: row; @@ -270,9 +270,9 @@ PERFORMANCE OF THIS SOFTWARE. .rfm-child { transform: var(--transform); -}`);const JF=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),[S,E]=Ne.useState(0),[T,P]=Ne.useState(1),[M,k]=Ne.useState(!1),A=Ne.useRef(null),I=y||A,$=Ne.useRef(null),D=Ne.useCallback(()=>{if($.current&&I.current){const K=I.current.getBoundingClientRect(),ne=$.current.getBoundingClientRect();let He=K.width,de=ne.width;(a==="up"||a==="down")&&(He=K.height,de=ne.height),P(r&&He&&de&&de{if(M&&(D(),$.current&&I.current)){const K=new ResizeObserver(()=>D());return K.observe(I.current),K.observe($.current),()=>{K&&K.disconnect()}}},[D,I,M]),Ne.useEffect(()=>{D()},[D,g]),Ne.useEffect(()=>{k(!0)},[]),Ne.useEffect(()=>{typeof x=="function"&&x()},[]);const B=Ne.useMemo(()=>r?S*T/l:SObject.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]),R=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]),L=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,He)=>qr.default.createElement(Ne.Fragment,{key:He},Ne.Children.map(g,de=>qr.default.createElement("div",{style:L,className:"rfm-child"},de)))),[L,g]);return M?qr.default.createElement("div",{ref:I,style:N,className:"rfm-marquee-container "+n},d&&qr.default.createElement("div",{style:H,className:"rfm-overlay"}),qr.default.createElement("div",{className:"rfm-marquee",style:R,onAnimationIteration:m,onAnimationEnd:h},qr.default.createElement("div",{className:"rfm-initial-child-container",ref:$},Ne.Children.map(g,K=>qr.default.createElement("div",{style:L,className:"rfm-child"},K))),z(T-1)),qr.default.createElement("div",{className:"rfm-marquee",style:R},z(T))):null});var eN=y2.default=JF;function x2(e,t){return function(){return e.apply(t,arguments)}}const{toString:tN}=Object.prototype,{getPrototypeOf:Y0}=Object,fp=(e=>t=>{const n=tN.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pr=e=>(e=e.toLowerCase(),t=>fp(t)===e),pp=e=>t=>typeof t===e,{isArray:pa}=Array,Wl=pp("undefined");function nN(e){return e!==null&&!Wl(e)&&e.constructor!==null&&!Wl(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const w2=pr("ArrayBuffer");function rN(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&w2(e.buffer),t}const iN=pp("string"),Tn=pp("function"),b2=pp("number"),hp=e=>e!==null&&typeof e=="object",oN=e=>e===!0||e===!1,Vc=e=>{if(fp(e)!=="object")return!1;const t=Y0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sN=pr("Date"),aN=pr("File"),lN=pr("Blob"),uN=pr("FileList"),cN=e=>hp(e)&&Tn(e.pipe),dN=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tn(e.append)&&((t=fp(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},fN=pr("URLSearchParams"),pN=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Iu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),pa(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const C2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,E2=e=>!Wl(e)&&e!==C2;function Og(){const{caseless:e}=E2(this)&&this||{},t={},n=(r,i)=>{const o=e&&S2(t,i)||i;Vc(t[o])&&Vc(r)?t[o]=Og(t[o],r):Vc(r)?t[o]=Og({},r):pa(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Iu(t,(i,o)=>{n&&Tn(i)?e[o]=x2(i,n):e[o]=i},{allOwnKeys:r}),e),mN=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gN=(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)},vN=(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&&Y0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},yN=(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},xN=e=>{if(!e)return null;if(pa(e))return e;let t=e.length;if(!b2(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},wN=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Y0(Uint8Array)),bN=(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])}},SN=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},CN=pr("HTMLFormElement"),EN=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),$w=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),PN=pr("RegExp"),P2=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Iu(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},TN=e=>{P2(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+"'")})}})},kN=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return pa(e)?r(e):r(String(e).split(t)),n},MN=()=>{},_N=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Ch="abcdefghijklmnopqrstuvwxyz",jw="0123456789",T2={DIGIT:jw,ALPHA:Ch,ALPHA_DIGIT:Ch+Ch.toUpperCase()+jw},ON=(e=16,t=T2.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function RN(e){return!!(e&&Tn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const AN=e=>{const t=new Array(10),n=(r,i)=>{if(hp(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=pa(r)?[]:{};return Iu(r,(s,a)=>{const l=n(s,i+1);!Wl(l)&&(o[a]=l)}),t[i]=void 0,o}}return r};return n(e,0)},IN=pr("AsyncFunction"),LN=e=>e&&(hp(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),j={isArray:pa,isArrayBuffer:w2,isBuffer:nN,isFormData:dN,isArrayBufferView:rN,isString:iN,isNumber:b2,isBoolean:oN,isObject:hp,isPlainObject:Vc,isUndefined:Wl,isDate:sN,isFile:aN,isBlob:lN,isRegExp:PN,isFunction:Tn,isStream:cN,isURLSearchParams:fN,isTypedArray:wN,isFileList:uN,forEach:Iu,merge:Og,extend:hN,trim:pN,stripBOM:mN,inherits:gN,toFlatObject:vN,kindOf:fp,kindOfTest:pr,endsWith:yN,toArray:xN,forEachEntry:bN,matchAll:SN,isHTMLForm:CN,hasOwnProperty:$w,hasOwnProp:$w,reduceDescriptors:P2,freezeMethods:TN,toObjectSet:kN,toCamelCase:EN,noop:MN,toFiniteNumber:_N,findKey:S2,global:C2,isContextDefined:E2,ALPHABET:T2,generateString:ON,isSpecCompliantForm:RN,toJSONObject:AN,isAsyncFn:IN,isThenable:LN};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 k2=me.prototype,M2={};["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=>{M2[e]={value:e}});Object.defineProperties(me,M2);Object.defineProperty(k2,"isAxiosError",{value:!0});me.from=(e,t,n,r,i,o)=>{const s=Object.create(k2);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 $N=null;function Rg(e){return j.isPlainObject(e)||j.isArray(e)}function _2(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function Dw(e,t,n){return e?e.concat(t).map(function(i,o){return i=_2(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function jN(e){return j.isArray(e)&&!e.some(Rg)}const DN=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function mp(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)&&jN(h)||(j.isFileList(h)||j.endsWith(m,"[]"))&&(g=j.toArray(h)))return m=_2(m),g.forEach(function(v,w){!(j.isUndefined(v)||v===null)&&t.append(s===!0?Dw([m],w,o):s===null?m:m+"[]",u(v))}),!1}return Rg(h)?!0:(t.append(Dw(x,m,o),u(h)),!1)}const d=[],f=Object.assign(DN,{defaultVisitor:c,convertValue:u,isVisitable:Rg});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 Fw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function X0(e,t){this._pairs=[],e&&mp(e,this,t)}const O2=X0.prototype;O2.append=function(t,n){this._pairs.push([t,n])};O2.toString=function(t){const n=t?function(r){return t.call(this,r,Fw)}:Fw;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function FN(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function R2(e,t,n){if(!t)return e;const r=n&&n.encode||FN,i=n&&n.serialize;let o;if(i?o=i(t,n):o=j.isURLSearchParams(t)?t.toString():new X0(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Nw{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 A2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},NN=typeof URLSearchParams<"u"?URLSearchParams:X0,zN=typeof FormData<"u"?FormData:null,VN=typeof Blob<"u"?Blob:null,BN={isBrowser:!0,classes:{URLSearchParams:NN,FormData:zN,Blob:VN},protocols:["http","https","file","blob","url","data"]},I2=typeof window<"u"&&typeof document<"u",UN=(e=>I2&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),WN=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",HN=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:I2,hasStandardBrowserEnv:UN,hasStandardBrowserWebWorkerEnv:WN},Symbol.toStringTag,{value:"Module"})),or={...HN,...BN};function GN(e,t){return mp(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 qN(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function KN(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]=KN(i[s])),!a)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(qN(r),i,n,0)}),n}return null}function QN(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 Z0={transitional:A2,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(L2(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 GN(t,this.formSerializer).toString();if((a=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return mp(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),QN(t)):t}],transformResponse:[function(t){const n=this.transitional||Z0.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=>{Z0.headers[e]={}});const J0=Z0,YN=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"]),XN=e=>{const t={};let n,r,i;return e&&e.split(` +}`);const JF=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),[S,E]=Ne.useState(0),[T,P]=Ne.useState(1),[M,k]=Ne.useState(!1),A=Ne.useRef(null),I=y||A,$=Ne.useRef(null),D=Ne.useCallback(()=>{if($.current&&I.current){const K=I.current.getBoundingClientRect(),ne=$.current.getBoundingClientRect();let He=K.width,de=ne.width;(a==="up"||a==="down")&&(He=K.height,de=ne.height),P(r&&He&&de&&de{if(M&&(D(),$.current&&I.current)){const K=new ResizeObserver(()=>D());return K.observe(I.current),K.observe($.current),()=>{K&&K.disconnect()}}},[D,I,M]),Ne.useEffect(()=>{D()},[D,g]),Ne.useEffect(()=>{k(!0)},[]),Ne.useEffect(()=>{typeof x=="function"&&x()},[]);const B=Ne.useMemo(()=>r?S*T/l:SObject.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]),R=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]),L=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,He)=>qr.default.createElement(Ne.Fragment,{key:He},Ne.Children.map(g,de=>qr.default.createElement("div",{style:L,className:"rfm-child"},de)))),[L,g]);return M?qr.default.createElement("div",{ref:I,style:N,className:"rfm-marquee-container "+n},d&&qr.default.createElement("div",{style:H,className:"rfm-overlay"}),qr.default.createElement("div",{className:"rfm-marquee",style:R,onAnimationIteration:m,onAnimationEnd:h},qr.default.createElement("div",{className:"rfm-initial-child-container",ref:$},Ne.Children.map(g,K=>qr.default.createElement("div",{style:L,className:"rfm-child"},K))),z(T-1)),qr.default.createElement("div",{className:"rfm-marquee",style:R},z(T))):null});var eN=y2.default=JF;function x2(e,t){return function(){return e.apply(t,arguments)}}const{toString:tN}=Object.prototype,{getPrototypeOf:Y0}=Object,fp=(e=>t=>{const n=tN.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),pr=e=>(e=e.toLowerCase(),t=>fp(t)===e),pp=e=>t=>typeof t===e,{isArray:pa}=Array,Wl=pp("undefined");function nN(e){return e!==null&&!Wl(e)&&e.constructor!==null&&!Wl(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const w2=pr("ArrayBuffer");function rN(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&w2(e.buffer),t}const iN=pp("string"),Tn=pp("function"),b2=pp("number"),hp=e=>e!==null&&typeof e=="object",oN=e=>e===!0||e===!1,Vc=e=>{if(fp(e)!=="object")return!1;const t=Y0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sN=pr("Date"),aN=pr("File"),lN=pr("Blob"),uN=pr("FileList"),cN=e=>hp(e)&&Tn(e.pipe),dN=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tn(e.append)&&((t=fp(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},fN=pr("URLSearchParams"),pN=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Iu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),pa(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const C2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,E2=e=>!Wl(e)&&e!==C2;function _g(){const{caseless:e}=E2(this)&&this||{},t={},n=(r,i)=>{const o=e&&S2(t,i)||i;Vc(t[o])&&Vc(r)?t[o]=_g(t[o],r):Vc(r)?t[o]=_g({},r):pa(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Iu(t,(i,o)=>{n&&Tn(i)?e[o]=x2(i,n):e[o]=i},{allOwnKeys:r}),e),mN=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),gN=(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)},vN=(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&&Y0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},yN=(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},xN=e=>{if(!e)return null;if(pa(e))return e;let t=e.length;if(!b2(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},wN=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Y0(Uint8Array)),bN=(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])}},SN=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},CN=pr("HTMLFormElement"),EN=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),$w=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),PN=pr("RegExp"),P2=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Iu(n,(i,o)=>{let s;(s=t(i,o,e))!==!1&&(r[o]=s||i)}),Object.defineProperties(e,r)},TN=e=>{P2(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+"'")})}})},kN=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return pa(e)?r(e):r(String(e).split(t)),n},MN=()=>{},ON=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Ch="abcdefghijklmnopqrstuvwxyz",jw="0123456789",T2={DIGIT:jw,ALPHA:Ch,ALPHA_DIGIT:Ch+Ch.toUpperCase()+jw},_N=(e=16,t=T2.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function RN(e){return!!(e&&Tn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const AN=e=>{const t=new Array(10),n=(r,i)=>{if(hp(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=pa(r)?[]:{};return Iu(r,(s,a)=>{const l=n(s,i+1);!Wl(l)&&(o[a]=l)}),t[i]=void 0,o}}return r};return n(e,0)},IN=pr("AsyncFunction"),LN=e=>e&&(hp(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),j={isArray:pa,isArrayBuffer:w2,isBuffer:nN,isFormData:dN,isArrayBufferView:rN,isString:iN,isNumber:b2,isBoolean:oN,isObject:hp,isPlainObject:Vc,isUndefined:Wl,isDate:sN,isFile:aN,isBlob:lN,isRegExp:PN,isFunction:Tn,isStream:cN,isURLSearchParams:fN,isTypedArray:wN,isFileList:uN,forEach:Iu,merge:_g,extend:hN,trim:pN,stripBOM:mN,inherits:gN,toFlatObject:vN,kindOf:fp,kindOfTest:pr,endsWith:yN,toArray:xN,forEachEntry:bN,matchAll:SN,isHTMLForm:CN,hasOwnProperty:$w,hasOwnProp:$w,reduceDescriptors:P2,freezeMethods:TN,toObjectSet:kN,toCamelCase:EN,noop:MN,toFiniteNumber:ON,findKey:S2,global:C2,isContextDefined:E2,ALPHABET:T2,generateString:_N,isSpecCompliantForm:RN,toJSONObject:AN,isAsyncFn:IN,isThenable:LN};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 k2=me.prototype,M2={};["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=>{M2[e]={value:e}});Object.defineProperties(me,M2);Object.defineProperty(k2,"isAxiosError",{value:!0});me.from=(e,t,n,r,i,o)=>{const s=Object.create(k2);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 $N=null;function Rg(e){return j.isPlainObject(e)||j.isArray(e)}function O2(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function Dw(e,t,n){return e?e.concat(t).map(function(i,o){return i=O2(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function jN(e){return j.isArray(e)&&!e.some(Rg)}const DN=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function mp(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)&&jN(h)||(j.isFileList(h)||j.endsWith(m,"[]"))&&(g=j.toArray(h)))return m=O2(m),g.forEach(function(v,w){!(j.isUndefined(v)||v===null)&&t.append(s===!0?Dw([m],w,o):s===null?m:m+"[]",u(v))}),!1}return Rg(h)?!0:(t.append(Dw(x,m,o),u(h)),!1)}const d=[],f=Object.assign(DN,{defaultVisitor:c,convertValue:u,isVisitable:Rg});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 Fw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function X0(e,t){this._pairs=[],e&&mp(e,this,t)}const _2=X0.prototype;_2.append=function(t,n){this._pairs.push([t,n])};_2.toString=function(t){const n=t?function(r){return t.call(this,r,Fw)}:Fw;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function FN(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function R2(e,t,n){if(!t)return e;const r=n&&n.encode||FN,i=n&&n.serialize;let o;if(i?o=i(t,n):o=j.isURLSearchParams(t)?t.toString():new X0(t,n).toString(r),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Nw{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 A2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},NN=typeof URLSearchParams<"u"?URLSearchParams:X0,zN=typeof FormData<"u"?FormData:null,VN=typeof Blob<"u"?Blob:null,BN={isBrowser:!0,classes:{URLSearchParams:NN,FormData:zN,Blob:VN},protocols:["http","https","file","blob","url","data"]},I2=typeof window<"u"&&typeof document<"u",UN=(e=>I2&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),WN=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",HN=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:I2,hasStandardBrowserEnv:UN,hasStandardBrowserWebWorkerEnv:WN},Symbol.toStringTag,{value:"Module"})),or={...HN,...BN};function GN(e,t){return mp(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 qN(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function KN(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]=KN(i[s])),!a)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(qN(r),i,n,0)}),n}return null}function QN(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 Z0={transitional:A2,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(L2(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 GN(t,this.formSerializer).toString();if((a=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return mp(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),QN(t)):t}],transformResponse:[function(t){const n=this.transitional||Z0.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=>{Z0.headers[e]={}});const J0=Z0,YN=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"]),XN=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]&&YN[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},zw=Symbol("internals");function Aa(e){return e&&String(e).trim().toLowerCase()}function Bc(e){return e===!1||e==null?e:j.isArray(e)?e.map(Bc):String(e)}function ZN(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 JN=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Eh(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 e6(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function t6(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 gp{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(a,l,u){const c=Aa(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]=Bc(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())&&!JN(t)?s(XN(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=Aa(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return ZN(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=Aa(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Eh(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(s){if(s=Aa(s),s){const a=j.findKey(r,s);a&&(!n||Eh(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||Eh(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]=Bc(i),delete n[o];return}const a=t?e6(o):String(o).trim();a!==o&&delete n[o],n[a]=Bc(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[zw]=this[zw]={accessors:{}}).accessors,i=this.prototype;function o(s){const a=Aa(s);r[a]||(t6(i,s),r[a]=!0)}return j.isArray(t)?t.forEach(o):o(t),this}}gp.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(gp.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(gp);const kr=gp;function Ph(e,t){const n=this||J0,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 $2(e){return!!(e&&e.__CANCEL__)}function Lu(e,t,n){me.call(this,e??"canceled",me.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(Lu,me,{__CANCEL__:!0});function n6(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 r6=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 i6(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function o6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function j2(e,t){return e&&!i6(t)?o6(e,t):t}const s6=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 a6(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function l6(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 u6=typeof XMLHttpRequest<"u",c6=u6&&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=j2(e.baseURL,e.url);d.open(e.method.toUpperCase(),R2(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};n6(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||A2;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&&s6(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&r6.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",Vw(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Vw(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(r(!m||m.type?new Lu(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=a6(f);if(h&&or.protocols.indexOf(h)===-1){r(new me("Unsupported protocol "+h+":",me.ERR_BAD_REQUEST,e));return}d.send(i||null)})},Ag={http:$N,xhr:c6};j.forEach(Ag,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Bw=e=>`- ${e}`,d6=e=>j.isFunction(e)||e===null||e===!1,D2={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(Bw).join(` `):" "+Bw(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:Ag};function Th(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Lu(null,e)}function Uw(e){return Th(e),e.headers=kr.from(e.headers),e.data=Ph.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),D2.getAdapter(e.adapter||J0.adapter)(e).then(function(r){return Th(e),r.data=Ph.call(e,e.transformResponse,r),r.headers=kr.from(r.headers),r},function(r){return $2(r)||(Th(e),r&&r.response&&(r.response.data=Ph.call(e,e.transformResponse,r.response),r.response.headers=kr.from(r.response.headers))),Promise.reject(r)})}const Ww=e=>e instanceof kr?{...e}:e;function ea(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(Ww(u),Ww(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 F2="1.6.8",ey={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ey[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Hw={};ey.transitional=function(t,n,r){function i(o,s){return"[Axios v"+F2+"] 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&&!Hw[s]&&(Hw[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 Ig={assertOptions:f6,validators:ey},Kr=Ig.validators;class Nd{constructor(t){this.defaults=t,this.interceptors={request:new Nw,response:new Nw}}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=ea(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Ig.assertOptions(r,{silentJSONParsing:Kr.transitional(Kr.boolean),forcedJSONParsing:Kr.transitional(Kr.boolean),clarifyTimeoutError:Kr.transitional(Kr.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:Ig.assertOptions(i,{encode:Kr.function,serialize:Kr.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=[Uw.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 Lu(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 ty(function(i){t=i}),cancel:t}}}const p6=ty;function h6(e){return function(n){return e.apply(null,n)}}function m6(e){return j.isObject(e)&&e.isAxiosError===!0}const Lg={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(Lg).forEach(([e,t])=>{Lg[t]=e});const g6=Lg;function N2(e){const t=new Uc(e),n=x2(Uc.prototype.request,t);return j.extend(n,Uc.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return N2(ea(e,i))},n}const nt=N2(J0);nt.Axios=Uc;nt.CanceledError=Lu;nt.CancelToken=p6;nt.isCancel=$2;nt.VERSION=F2;nt.toFormData=mp;nt.AxiosError=me;nt.Cancel=nt.CanceledError;nt.all=function(t){return Promise.all(t)};nt.spread=h6;nt.isAxiosError=m6;nt.mergeConfig=ea;nt.AxiosHeaders=kr;nt.formToJSON=e=>L2(j.isHTMLForm(e)?new FormData(e):e);nt.getAdapter=D2.getAdapter;nt.HttpStatusCode=g6;nt.default=nt;const ha=nt.create({baseURL:"https://webv2-backend.appdevclub.com"});function v6(e){let t=e.toLowerCase().replaceAll("-","").replaceAll(" ","-");return`${ha.getUri()}/sponsor-logos/${t}.png`}function Gw(e){const t=_f(),n=r=>t(`/project/${r._id}`);return e.mobileView?C.jsxs(Bl,{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:[C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",width:"100%"},children:[C.jsx(ae,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),C.jsx(ae,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),C.jsx(ae,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description})]}),C.jsx(qw,{autoScroll:!0,members:e.project.members})]}):C.jsx(QF,{highlight:!1,onClick:()=>{n(e.project)},style:{minWidth:"800px",height:"60vh",cursor:"pointer"},children:C.jsx(Bl,{sx:{...e==null?void 0:e.sx,borderRadius:"35px",padding:"30px",display:"flex",gap:"15px",color:"#000000",bgcolor:"#ffffff",width:"100%",height:"100%"},children:C.jsxs(Q,{sx:{display:"flex",flexDirection:"column"},children:[C.jsxs(Q,{sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},children:[C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",flexGrow:1},children:[C.jsx(ae,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),C.jsx(ae,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization})]}),C.jsx("img",{style:{maxHeight:"36px"},src:v6(e.project.organization)})]}),C.jsx(ae,{sx:{marginTop:"15px"},variant:"body1",children:e.project.description}),C.jsx(qw,{members:e.project.members})]})})})}function qw(e){function t(){return C.jsx(C.Fragment,{children:e.members.map((n,r)=>C.jsx(mj,{label:`${n.memberInfo.firstName} ${n.memberInfo.lastName}`,variant:"outlined",sx:{color:"black",margin:"5px"},avatar:n.memberInfo.profileUrl?C.jsx(Ld,{src:n.memberInfo.profileUrl}):C.jsx(Ld,{...v2(`${n.memberInfo.firstName} ${n.memberInfo.lastName}`)})},r))})}return e.autoScroll?C.jsx(eN,{children:C.jsx(t,{})}):C.jsx(Q,{sx:{marginTop:"10px",display:"flex",flexWrap:"wrap"},children:C.jsx(t,{})})}function Kw(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function ny(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:Kw(t[n])&&Kw(e[n])&&Object.keys(t[n]).length>0&&ny(e[n],t[n])})}const z2={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 ny(e,z2),e}const y6={document:z2,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 ny(e,y6),e}function x6(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function w6(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function $g(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function zd(){return Date.now()}function b6(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 S6(e,t){t===void 0&&(t="x");const n=cn();let r,i,o;const s=b6(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 pc(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function C6(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 ry(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 Vd(e){try{console.warn(e);return}catch{}}function Bd(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:x6(t)),n}function E6(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 P6(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 vi(e,t){return cn().getComputedStyle(e,null).getPropertyValue(t)}function Qw(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function T6(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 Yw(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 kh;function k6(){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 B2(){return kh||(kh=k6()),kh}let Mh;function M6(e){let{userAgent:t}=e===void 0?{}:e;const n=B2(),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 U2(e){return e===void 0&&(e={}),Mh||(Mh=M6(e)),Mh}let _h;function _6(){const e=cn(),t=U2();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 O6(){return _h||(_h=_6()),_h}function R6(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 A6(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=T6(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 I6={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 L6(){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(vi(r,"padding-left")||0,10)-parseInt(vi(r,"padding-right")||0,10),n=n-parseInt(vi(r,"padding-top")||0,10)-parseInt(vi(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 $6(){const e=this;function t(k,A){return parseFloat(k.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,S=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(k=>{s?k.style.marginLeft="":k.style.marginRight="",k.style.marginBottom="",k.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(hc(r,"--swiper-centered-offset-before",""),hc(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 M=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(k=>typeof n.breakpoints[k].slidesPerView<"u").length>0;for(let k=0;k1&&f.push(e.virtualSize-o)}if(l&&n.loop){const k=h[0]+v;if(n.slidesPerGroup>1){const A=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),I=k*n.slidesPerGroup;for(let $=0;$!n.cssMode||n.loop?!0:I!==c.length-1).forEach(A=>{A.style[k]=`${v}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let k=0;h.forEach(I=>{k+=I+(v||0)}),k-=v;const A=k-o;f=f.map(I=>I<=0?-m:I>A?A+x:I)}if(n.centerInsufficientSlides){let k=0;if(h.forEach(A=>{k+=A+(v||0)}),k-=v,k{f[$]=I-A}),p.forEach((I,$)=>{p[$]=I+A})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){hc(r,"--swiper-centered-offset-before",`${-f[0]}px`),hc(r,"--swiper-centered-offset-after",`${e.size/2-h[h.length-1]/2}px`);const k=-e.snapGrid[0],A=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(I=>I+k),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 k=`${n.containerModifierClass}backface-hidden`,A=e.el.classList.contains(k);d<=n.maxBackfaceHiddenSlides?A||e.el.classList.add(k):A&&e.el.classList.remove(k)}}function j6(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 D6(){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 N6(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 Oh=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function z6(){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=P6(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=E6(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(d=>{Oh(d,d===l,n.slideActiveClass),Oh(d,d===c,n.slideNextClass),Oh(d,d===u,n.slidePrevClass)}),e.emitSlidesClasses()}const Wc=(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()}},Rh=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},jg=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)&&Rh(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)&&Rh(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 B6(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=V6(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&&jg(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function U6(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=S&&w=S&&w=S&&(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,S&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return V2({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 nz(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 rz(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 iz(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 oz(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 sz(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 az(){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]),$g(()=>{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]),$g(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var lz={slideTo:tz,slideToLoop:nz,slideNext:rz,slidePrev:iz,slideReset:oz,slideToClosest:sz,slideToClickedSlide:az};function uz(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($=>$.classList.contains(p.slideActiveClass))[0]):S=o;const E=r==="next"||!r,T=r==="prev"||!r;let P=0,M=0;const k=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(k-D-1)}}else if(I+m>k-g){M=Math.max(I-(k-g*2),x);for(let $=0;${B.column===D&&w.push(N)}):w.push(D)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),T&&v.forEach($=>{u[$].swiperLoopMoveDOM=!0,f.prepend(u[$]),u[$].swiperLoopMoveDOM=!1}),E&&w.forEach($=>{u[$].swiperLoopMoveDOM=!0,f.append(u[$]),u[$].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():y&&(v.length>0&&T||w.length>0&&E)&&l.slides.forEach(($,D)=>{l.grid.updateSlide(D,$,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),n){if(v.length>0&&T){if(typeof t>"u"){const $=l.slidesGrid[S],B=l.slidesGrid[S+P]-$;a?l.setTranslate(l.translate-B):(l.slideTo(S+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 $=y?v.length/p.grid.rows:v.length;l.slideTo(l.activeIndex+$,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&E)if(typeof t>"u"){const $=l.slidesGrid[S],B=l.slidesGrid[S-M]-$;a?l.setTranslate(l.translate-B):(l.slideTo(S-M,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-B,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-B))}else{const $=y?w.length/p.grid.rows:w.length;l.slideTo(l.activeIndex-$,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!s){const $={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({...$,slideTo:D.params.slidesPerView===p.slidesPerView?n:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...$,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?n:!1})}l.emit("loopFix")}function dz(){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 fz={loopCreate:uz,loopFix:cz,loopDestroy:dz};function pz(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 hz(){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 mz={setGrabCursor:pz,unsetGrabCursor:hz};function gz(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 Xw(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 vz(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"){Xw(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?gz(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(!Xw(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=zd(),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 yz(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=zd());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,S=i.resistanceRatio;if(i.touchReleaseOnEdges&&(S=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)**S))):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 xz(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(S=>S.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=zd(),f=d-n.touchStartTime;if(t.allowClick){const S=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(S&&S[0]||r.target,S),t.emit("tap click",r),f<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=zd(),$g(()=>{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 S=0;S=u[S]&&p=u[S])&&(m=S,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 Zw(){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 wz(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function bz(){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 Sz(e){const t=this;Wc(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function Cz(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const H2=(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",Zw,!0):e[u]("observerUpdate",Zw,!0),i[l]("load",e.onLoad,{capture:!0})};function Ez(){const e=this,{params:t}=e;e.onTouchStart=vz.bind(e),e.onTouchMove=yz.bind(e),e.onTouchEnd=xz.bind(e),e.onDocumentTouchStart=Cz.bind(e),t.cssMode&&(e.onScroll=bz.bind(e)),e.onClick=wz.bind(e),e.onLoad=Sz.bind(e),H2(e,"on")}function Pz(){H2(this,"off")}var Tz={attachEvents:Ez,detachEvents:Pz};const Jw=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function kz(){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=Jw(e,r),c=Jw(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,S=l[v]&&l[v].enabled;w&&!S&&e[v].disable(),!w&&S&&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 Mz(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=Oz(["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 Az(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var Iz={addClasses:Rz,removeClasses:Az};function Lz(){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 $z={checkOverflow:Lz},Dg={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 jz(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 Ah={eventsEmitter:I6,update:W6,translate:Y6,transition:ez,slide:lz,loop:fz,grabCursor:mz,events:Tz,breakpoints:_z,checkOverflow:$z,classes:Iz},Ih={};let iy=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=B2(),a.device=U2({userAgent:n.userAgent}),a.browser=O6(),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:jz(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({},Dg,l);return a.params=Zt({},u,Ih,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=Qw(i[0]);return Qw(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&&Wc(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=Bd("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"||vi(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||vi(r,"direction")==="rtl"),wrongRTL:vi(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?Wc(n,o):o.addEventListener("load",s=>{Wc(n,s.target)})}),jg(n),n.initialized=!0,jg(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,w6(r)),r.destroyed=!0),null}static extendDefaults(t){Zt(Ih,t)}static get extendedDefaults(){return Ih}static get defaults(){return Dg}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(Ah).forEach(e=>{Object.keys(Ah[e]).forEach(t=>{iy.prototype[t]=Ah[e][t]})});iy.use([R6,A6]);const G2=["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 Ao(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Ps(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]:Ao(t[r])&&Ao(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:Ps(e[r],t[r]):e[r]=t[r]})}function q2(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function K2(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function Q2(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function Y2(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 Dz(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function Fz(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:o,prevEl:s,scrollbarEl:a,paginationEl:l}=e;const u=i.filter(M=>M!=="children"&&M!=="direction"&&M!=="wrapperClass"),{params:c,pagination:d,navigation:f,scrollbar:p,virtual:h,thumbs:m}=t;let x,g,y,v,w,S,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=M=>{t[M]&&(t[M].destroy(),M==="navigation"?(t.isElement&&(t[M].prevEl.remove(),t[M].nextEl.remove()),c[M].prevEl=void 0,c[M].nextEl=void 0,t[M].prevEl=void 0,t[M].nextEl=void 0):(t.isElement&&t[M].el.remove(),c[M].el=void 0,t[M].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!r.loop?S=!0:!c.loop&&r.loop?E=!0:T=!0),u.forEach(M=>{if(Ao(c[M])&&Ao(r[M]))Object.assign(c[M],r[M]),(M==="navigation"||M==="pagination"||M==="scrollbar")&&"enabled"in r[M]&&!r[M].enabled&&P(M);else{const k=r[M];(k===!0||k===!1)&&(M==="navigation"||M==="pagination"||M==="scrollbar")?k===!1&&P(M):c[M]=r[M]}}),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),(S||T)&&t.loopDestroy(),(E||T)&&t.loopCreate(),t.update()}function Nz(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};Ps(n,Dg),n._emitClasses=!0,n.init=!1;const o={},s=G2.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(s.indexOf(l)>=0?Ao(e[l])?(n[l]={},i[l]={},Ps(n[l],e[l]),Ps(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 zz(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:a}=e;q2(t)&&r&&i&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),K2(t)&&o&&(a.params.pagination.el=o,a.originalParams.pagination.el=o),Q2(t)&&s&&(a.params.scrollbar.el=s,a.originalParams.scrollbar.el=s),a.init(n)}function Vz(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 G2.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(Ao(e[l])&&Ao(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 Bz=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 Ud(){return Ud=Object.assign?Object.assign.bind():function(e){for(var t=1;t{X2(n)?t.push(n):n.props&&n.props.children&&Z2(n.props.children).forEach(r=>t.push(r))}),t}function Uz(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return W.Children.toArray(e).forEach(r=>{if(X2(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=Z2(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 Wz(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 al(e,t){return typeof window>"u"?b.useEffect(e,t):b.useLayoutEffect(e,t)}const eb=b.createContext(null),Hz=b.createContext(null),J2=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),S=b.useRef(null),E=b.useRef(null),T=b.useRef(null),{params:P,passedParams:M,rest:k,events:A}=Nz(a),{slides:I,slots:$}=Uz(o),D=()=>{h(!p)};Object.assign(P.on,{_containerClasses(L,z){c(z)}});const B=()=>{Object.assign(P.on,A),l=!0;const L={...P};if(delete L.wrapperClass,g.current=new iy(L),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=I;const z={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};Ps(g.current.params.virtual,z),Ps(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(L=>{g.current.on(L,A[L])})},H=()=>{!A||!g.current||Object.keys(A).forEach(L=>{g.current.off(L,A[L])})};b.useEffect(()=>()=>{g.current&&g.current.off("_beforeBreakpoint",D)}),b.useEffect(()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)}),al(()=>{if(t&&(t.current=x.current),!!x.current)return g.current.destroyed&&B(),zz({el:x.current,nextEl:w.current,prevEl:S.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)}},[]),al(()=>{N();const L=Vz(M,y.current,I,v.current,z=>z.key);return y.current=M,v.current=I,L.length&&g.current&&!g.current.destroyed&&Fz({swiper:g.current,slides:I,passedParams:M,changedParams:L,nextEl:w.current,prevEl:S.current,scrollbarEl:T.current,paginationEl:E.current}),()=>{H()}}),al(()=>{Bz(g.current)},[d]);function R(){return P.virtual?Wz(g.current,I,d):I.map((L,z)=>W.cloneElement(L,{swiper:g.current,swiperSlideIndex:z}))}return W.createElement(r,Ud({ref:x,className:Y2(`${u}${n?` ${n}`:""}`)},k),W.createElement(Hz.Provider,{value:g.current},$["container-start"],W.createElement(i,{className:Dz(P.wrapperClass)},$["wrapper-start"],R(),$["wrapper-end"]),q2(P)&&W.createElement(W.Fragment,null,W.createElement("div",{ref:S,className:"swiper-button-prev"}),W.createElement("div",{ref:w,className:"swiper-button-next"})),Q2(P)&&W.createElement("div",{ref:T,className:"swiper-scrollbar"}),K2(P)&&W.createElement("div",{ref:E,className:"swiper-pagination"}),$["container-end"]))});J2.displayName="Swiper";const ek=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,S,E){S===d.current&&p(E)}al(()=>{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)}}}),al(()=>{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,Ud({ref:d,className:Y2(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":l,onLoad:v},c),s&&W.createElement(eb.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(eb.Provider,{value:g},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"})))});ek.displayName="SwiperSlide";function Gz(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(R){!t||t.destroyed||!t.wrapperEl||R.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",v),!y&&k())}const w=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?f=!0:f&&(u=c,f=!1);const R=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=R,i("autoplayTimeLeft",R,R/l),a=requestAnimationFrame(()=>{w()})},S=()=>{let R;return t.virtual&&t.params.virtual.enabled?R=t.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:R=t.slides[t.activeIndex],R?parseInt(R.getAttribute("data-swiper-autoplay"),10):void 0},E=R=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(a),w();let L=typeof R>"u"?t.params.autoplay.delay:R;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const z=S();!Number.isNaN(z)&&z>0&&typeof R>"u"&&(L=z,l=z,u=z),c=L;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 L>0?(clearTimeout(s),s=setTimeout(()=>{ne()},L)):requestAnimationFrame(()=>{ne()}),L},T=()=>{d=new Date().getTime(),t.autoplay.running=!0,E(),i("autoplayStart")},P=()=>{t.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),i("autoplayStop")},M=(R,L)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(s),R||(g=!0);const z=()=>{i("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",v):k()};if(t.autoplay.paused=!0,L){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())},k=()=>{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 R=Mr();R.visibilityState==="hidden"&&(g=!0,M(!0)),R.visibilityState==="visible"&&k()},I=R=>{R.pointerType==="mouse"&&(g=!0,y=!0,!(t.animating||t.autoplay.paused)&&M(!0))},$=R=>{R.pointerType==="mouse"&&(y=!1,t.autoplay.paused&&k())},D=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",I),t.el.addEventListener("pointerleave",$))},B=()=>{t.el.removeEventListener("pointerenter",I),t.el.removeEventListener("pointerleave",$)},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)&&k()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?P():M(!0,!0)}),r("beforeTransitionStart",(R,L,z)=>{t.destroyed||!t.autoplay.running||(z||!t.params.autoplay.disableOnInteraction?M(!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,M(!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&&k(),h=!1,p=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(x=!0)}),Object.assign(t.autoplay,{start:T,stop:P,pause:M,resume:k})}function qz(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 Kz(e,t){const n=ry(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function tb(e,t,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=ry(t);let o=i.querySelector(`.${r.split(" ").join(".")}`);return o||(o=Bd("div",r.split(" ")),i.append(o)),o}function Qz(e){let{swiper:t,extendParams:n,on:r}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),qz({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=>ry(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 Yz(e){let t=`${e.firstName}-${e.lastName}`;return t=t.toLowerCase().replace(" ","-"),`${ha.getUri()}/team-images/${t}.jpeg`}function Xz(e){let t="";return t=e.leadership.join(", "),t}function Zz(e){const[t,n]=W.useState([]);return W.useEffect(()=>{ha.get("members/leaders/").then(r=>{n(()=>r.data)})},[]),C.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:[C.jsx(ae,{sx:{fontSize:"3rem",fontWeight:"bold",marginBottom:"30px"},children:"Our Team"}),t.length<1?C.jsx(C.Fragment,{}):C.jsx(J2,{modules:[Qz,Gz],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=>C.jsx(ek,{children:C.jsxs(Q,{sx:{position:"relative",overflow:"hidden",width:"100%"},children:[C.jsx("img",{src:Yz(r),alt:"member_image"}),C.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:[C.jsx(ae,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:`${r.firstName} ${r.lastName}`}),C.jsx(ae,{sx:{fontSize:"1rem"},children:Xz(r)})]})]})}))})]})}var Jz=Object.defineProperty,e8=(e,t)=>{for(var n in t)Jz(e,n,{get:t[n],enumerable:!0})},Gn={};e8(Gn,{assign:()=>r8,colors:()=>Oi,createStringInterpolator:()=>dy,skipAnimation:()=>ak,to:()=>sk,willAdvance:()=>fy});var oy=ju(),te=e=>$u(e,oy),sy=ju();te.write=e=>$u(e,sy);var vp=ju();te.onStart=e=>$u(e,vp);var ay=ju();te.onFrame=e=>$u(e,ay);var ly=ju();te.onFinish=e=>$u(e,ly);var Ts=[];te.setTimeout=(e,t)=>{const n=te.now()+t,r=()=>{const o=Ts.findIndex(s=>s.cancel==r);~o&&Ts.splice(o,1),xi-=~o?1:0},i={time:n,handler:e,cancel:r};return Ts.splice(tk(n),0,i),xi+=1,nk(),i};var tk=e=>~(~Ts.findIndex(t=>t.time>e)||~Ts.length);te.cancel=e=>{vp.delete(e),ay.delete(e),ly.delete(e),oy.delete(e),sy.delete(e)};te.sync=e=>{Fg=!0,te.batchedUpdates(e),Fg=!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=()=>{vp.delete(n),t=null},r};var uy=typeof window<"u"?window.requestAnimationFrame:()=>{};te.use=e=>uy=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"):ik()};var yi=-1,xi=0,Fg=!1;function $u(e,t){Fg?(t.delete(e),e(0)):(t.add(e),nk())}function nk(){yi<0&&(yi=0,te.frameLoop!=="demand"&&uy(rk))}function t8(){yi=-1}function rk(){~yi&&(uy(rk),te.batchedUpdates(ik))}function ik(){const e=yi;yi=te.now();const t=tk(yi);if(t&&(ok(Ts.splice(0,t),n=>n.handler()),xi-=t),!xi){t8();return}vp.flush(),oy.flush(e?Math.min(64,yi-e):16.667),ay.flush(),sy.flush(),ly.flush()}function ju(){let e=new Set,t=e;return{add(n){xi+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return xi-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,xi-=t.size,ok(t,r=>r(n)&&e.add(r)),xi+=e.size,t=e)}}}function ok(e,t){e.forEach(n=>{try{t(n)}catch(r){te.catch(r)}})}function Ng(){}var n8=(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 ll(e,t){if(e.size){const n=Array.from(e);e.clear(),he(n,t)}}var Ha=(e,...t)=>ll(e,n=>n(...t)),cy=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),dy,sk,Oi=null,ak=!1,fy=Ng,r8=e=>{e.to&&(sk=e.to),e.now&&(te.now=e.now),e.colors!==void 0&&(Oi=e.colors),e.skipAnimation!=null&&(ak=e.skipAnimation),e.createStringInterpolator&&(dy=e.createStringInterpolator),e.requestAnimationFrame&&te.use(e.requestAnimationFrame),e.batchedUpdates&&(te.batchedUpdates=e.batchedUpdates),e.willAdvance&&(fy=e.willAdvance),e.frameLoop&&(te.frameLoop=e.frameLoop)},ul=new Set,Sn=[],Lh=[],Wd=0,yp={get idle(){return!ul.size&&!Sn.length},start(e){Wd>e.priority?(ul.add(e),te.onStart(i8)):(lk(e),te(zg))},advance:zg,sort(e){if(Wd)te.onFrame(()=>yp.sort(e));else{const t=Sn.indexOf(e);~t&&(Sn.splice(t,1),uk(e))}},clear(){Sn=[],ul.clear()}};function i8(){ul.forEach(lk),ul.clear(),te(zg)}function lk(e){Sn.includes(e)||uk(e)}function uk(e){Sn.splice(o8(Sn,t=>t.priority>e.priority),0,e)}function zg(e){const t=Lh;for(let n=0;n0}function o8(e,t){const n=e.findIndex(t);return n<0?e.length:n}var s8=(e,t,n)=>Math.min(Math.max(n,e),t),a8={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+",Hd=Bn+"%";function xp(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var l8=new RegExp("rgb"+xp(Bn,Bn,Bn)),u8=new RegExp("rgba"+xp(Bn,Bn,Bn,Bn)),c8=new RegExp("hsl"+xp(Bn,Hd,Hd)),d8=new RegExp("hsla"+xp(Bn,Hd,Hd,Bn)),f8=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,p8=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,h8=/^#([0-9a-fA-F]{6})$/,m8=/^#([0-9a-fA-F]{8})$/;function g8(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=h8.exec(e))?parseInt(t[1]+"ff",16)>>>0:Oi&&Oi[e]!==void 0?Oi[e]:(t=l8.exec(e))?(qo(t[1])<<24|qo(t[2])<<16|qo(t[3])<<8|255)>>>0:(t=u8.exec(e))?(qo(t[1])<<24|qo(t[2])<<16|qo(t[3])<<8|ib(t[4]))>>>0:(t=f8.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=m8.exec(e))?parseInt(t[1],16)>>>0:(t=p8.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=c8.exec(e))?(nb(rb(t[1]),mc(t[2]),mc(t[3]))|255)>>>0:(t=d8.exec(e))?(nb(rb(t[1]),mc(t[2]),mc(t[3]))|ib(t[4]))>>>0:null}function $h(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 nb(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=$h(i,r,e+1/3),s=$h(i,r,e),a=$h(i,r,e-1/3);return Math.round(o*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function qo(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function rb(e){return(parseFloat(e)%360+360)%360/360}function ib(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function mc(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function ob(e){let t=g8(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 Hl=(e,t,n)=>{if(V.fun(e))return e;if(V.arr(e))return Hl({range:e,output:t,extrapolate:n});if(V.str(e.output[0]))return dy(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=y8(u,o);return v8(u,o[c],o[c+1],i[c],i[c+1],l,s,a,r.map)}};function v8(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 y8(e,t){for(var n=1;n=e);++n);return n-1}var x8=(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 s8(0,1,i/e)},Gd=1.70158,gc=Gd*1.525,sb=Gd+1,ab=2*Math.PI/3,lb=2*Math.PI/4.5,vc=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,w8={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=>sb*e*e*e-Gd*e*e,easeOutBack:e=>1+sb*Math.pow(e-1,3)+Gd*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((gc+1)*2*e-gc)/2:(Math.pow(2*e-2,2)*((gc+1)*(e*2-2)+gc)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*ab),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*ab)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*lb))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*lb)/2+1,easeInBounce:e=>1-vc(1-e),easeOutBounce:vc,easeInOutBounce:e=>e<.5?(1-vc(1-2*e))/2:(1+vc(2*e-1))/2,steps:x8},Gl=Symbol.for("FluidValue.get"),ta=Symbol.for("FluidValue.observers"),bn=e=>!!(e&&e[Gl]),Nt=e=>e&&e[Gl]?e[Gl]():e,ub=e=>e[ta]||null;function b8(e,t){e.eventObserved?e.eventObserved(t):e(t)}function ql(e,t){const n=e[ta];n&&n.forEach(r=>{b8(r,t)})}var ck=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");S8(this,e)}},S8=(e,t)=>dk(e,Gl,t);function ma(e,t){if(e[Gl]){let n=e[ta];n||dk(e,ta,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Kl(e,t){const n=e[ta];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[ta]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var dk=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Hc=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,C8=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,cb=new RegExp(`(${Hc.source})(%|[a-z]+)`,"i"),E8=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,wp=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,fk=e=>{const[t,n]=P8(e);if(!t||cy())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&&wp.test(n))return fk(n);if(n)return n}return e},P8=e=>{const t=wp.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},jh,T8=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,pk=e=>{jh||(jh=Oi?new RegExp(`(${Object.keys(Oi).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(o=>Nt(o).replace(wp,fk).replace(C8,ob).replace(jh,ob)),n=t.map(o=>o.match(Hc).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=>Hl({...e,output:o}));return o=>{var l;const s=!cb.test(t[0])&&((l=t.find(u=>cb.test(u)))==null?void 0:l.replace(Hc,""));let a=0;return t[0].replace(Hc,()=>`${i[a++](o)}${s||""}`).replace(E8,T8)}},py="react-spring: ",hk=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${py}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},k8=hk(console.warn);function M8(){k8(`${py}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var _8=hk(console.warn);function O8(){_8(`${py}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 bp(e){return V.str(e)&&(e[0]=="#"||/\d/.test(e)||!cy()&&wp.test(e)||e in(Oi||{}))}var hy=cy()?b.useEffect:b.useLayoutEffect,R8=()=>{const e=b.useRef(!1);return hy(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function mk(){const e=b.useState()[1],t=R8();return()=>{t.current&&e(Math.random())}}function A8(e,t){const[n]=b.useState(()=>({inputs:t,result:e()})),r=b.useRef(),i=r.current;let o=i;return o?t&&o.inputs&&I8(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 I8(e,t){if(e.length!==t.length)return!1;for(let n=0;nb.useEffect(e,L8),L8=[];function db(e){const t=b.useRef();return b.useEffect(()=>{t.current=e}),t.current}var Ql=Symbol.for("Animated:node"),$8=e=>!!e&&e[Ql]===e,Yn=e=>e&&e[Ql],my=(e,t)=>n8(e,Ql,t),Sp=e=>e&&e[Ql]&&e[Ql].getPayload(),vk=class{constructor(){my(this,this)}getPayload(){return this.payload||[]}},Du=class extends vk{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 Du(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)}},Yl=class extends Du{constructor(e){super(0),this._string=null,this._toString=Hl({output:[e,e]})}static create(e){return new Yl(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=Hl({output:[this.getValue(),e]})),this._value=0,super.reset()}},qd={dependencies:null},Cp=class extends vk{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return dr(this.source,(n,r)=>{$8(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){qd.dependencies&&bn(e)&&qd.dependencies.add(e);const t=Sp(e);t&&he(t,n=>this.add(n))}},yk=class extends Cp{constructor(e){super(e)}static create(e){return new yk(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(j8)),!0)}};function j8(e){return(bp(e)?Yl:Du).create(e)}function Vg(e){const t=Yn(e);return t?t.constructor:V.arr(e)?yk:bp(e)?Yl:Du}var fb=(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=N8(i,h)},[i]),[a,l]=F8(r,t),u=mk(),c=()=>{const h=o.current;if(n&&!h)return;(h?t.applyAnimatedValues(h,a.getValue(!0)):!1)===!1&&u()},d=new D8(c,l),f=b.useRef();hy(()=>(f.current=d,he(l,h=>ma(h,d)),()=>{f.current&&(he(f.current.deps,h=>Kl(h,f.current)),te.cancel(f.current.update))})),b.useEffect(c,[]),gk(()=>()=>{const h=f.current;he(h.deps,m=>Kl(m,h))});const p=t.getComponentProps(a.getValue());return b.createElement(e,{...p,ref:s})})},D8=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&te.write(this.update)}};function F8(e,t){const n=new Set;return qd.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new Cp(e),qd.dependencies=null,[e,n]}function N8(e,t){return e&&(V.fun(e)?e(t):e.current=t),t}var pb=Symbol.for("AnimatedComponent"),z8=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new Cp(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=s=>{const a=hb(s)||"Anonymous";return V.str(s)?s=o[s]||(o[s]=fb(s,i)):s=s[pb]||(s[pb]=fb(s,i)),s.displayName=`Animated(${a})`,s};return dr(e,(s,a)=>{V.arr(e)&&(a=hb(s)),o[a]=o(s)}),{animated:o}},hb=e=>V.str(e)?e:e&&V.str(e.displayName)?e.displayName:V.fun(e)&&e.name||null;function oo(e,...t){return V.fun(e)?e(...t):e}var cl=(e,t)=>e===!0||!!(t&&e&&(V.fun(e)?e(t):tn(e).includes(t))),xk=(e,t)=>V.obj(e)?t&&e[t]:e,wk=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,V8=e=>e,gy=(e,t=V8)=>{let n=B8;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},B8=["config","onProps","onStart","onChange","onPause","onResume","onRest"],U8={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 W8(e){const t={};let n=0;if(dr(e,(r,i)=>{U8[i]||(t[i]=r,n++)}),n)return t}function bk(e){const t=W8(e);if(t){const n={to:t};return dr(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function Xl(e){return e=Nt(e),V.arr(e)?e.map(Xl):bp(e)?Gn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function H8(e){for(const t in e)return!0;return!1}function Bg(e){return V.fun(e)||V.arr(e)&&V.obj(e[0])}function G8(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function q8(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var K8={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}},Ug={...K8.default,mass:1,damping:1,easing:w8.linear,clamp:!1},Q8=class{constructor(){this.velocity=0,Object.assign(this,Ug)}};function Y8(e,t,n){n&&(n={...n},mb(n,t),t={...n,...t}),mb(e,t),Object.assign(e,t);for(const s in Ug)e[s]==null&&(e[s]=Ug[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 mb(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 gb=[],X8=class{constructor(){this.changed=!1,this.values=gb,this.toValues=null,this.fromValues=gb,this.config=new Q8,this.immediate=!1}};function Sk(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((s,a)=>{let l,u,c=cl(n.cancel??(r==null?void 0:r.cancel),t);if(c)p();else{V.und(n.pause)||(i.paused=cl(n.pause,t));let h=r==null?void 0:r.pause;h!==!0&&(h=i.paused||cl(h,t)),l=oo(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 vy=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?ks(e.get()):t.every(n=>n.noop)?Ck(e.get()):Vn(e.get(),t.every(n=>n.finished)),Ck=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Vn=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),ks=e=>({value:e,cancelled:!0,finished:!1});function Ek(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=gy(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)&&ks(r)||i!==n.asyncId&&Vn(r,!1);if(g)throw x.result=g,d(x),x},h=(x,g)=>{const y=new vb,v=new yb;return(async()=>{if(Gn.skipAnimation)throw Zl(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 S=await r.start(w);return p(y),n.paused&&await new Promise(E=>{n.resumeQueue.add(E)}),S})()};let m;if(Gn.skipAnimation)return Zl(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 vb)m=x.result;else if(x instanceof yb)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 Zl(e,t){ll(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var vb=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.")}},yb=class extends Error{constructor(){super("SkipAnimationSignal")}},Wg=e=>e instanceof yy,Z8=1,yy=class extends ck{constructor(){super(...arguments),this.id=Z8++,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 M8(),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){ql(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||yp.sort(this),ql(this,{type:"priority",parent:this,priority:e})}},Io=Symbol.for("SpringPhase"),Pk=1,Hg=2,Gg=4,Dh=e=>(e[Io]&Pk)>0,Qr=e=>(e[Io]&Hg)>0,Ia=e=>(e[Io]&Gg)>0,xb=(e,t)=>t?e[Io]|=Hg|Pk:e[Io]&=~Hg,wb=(e,t)=>t?e[Io]|=Gg:e[Io]&=~Gg,J8=class extends yy{constructor(e,t){if(super(),this.animation=new X8,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!(Qr(this)||this._state.asyncTo)||Ia(this)}get goal(){return Nt(this.animation.to)}get velocity(){const e=Yn(this);return e instanceof Du?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return Dh(this)}get isAnimating(){return Qr(this)}get isPaused(){return Ia(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=Sp(r.to);!s&&bn(r.to)&&(i=tn(Nt(r.to))),r.values.forEach((u,c)=>{if(u.done)return;const d=u.constructor==Yl?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,S=!V.und(w),E=m==d?u.v0>0:mv,!(!T&&(f=Math.abs(d-p)<=y,f)));++A){S&&(P=p==d||p>d==E,P&&(g=-g*w,p=d));const I=-o.tension*1e-6*(p-d),$=-o.friction*.001*g,D=(I+$)/o.mass;g=g+D*M,p=p+g*M}}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(Qr(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=>vy(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Zl(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||Bg(n))&&(n=void 0),r=V.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return Dh(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,gy(e,(s,a)=>/^on/.test(a)?xk(s,n):s)),Sb(this,e,"onProps"),$a(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 Sk(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Ia(this)||(wb(this,!0),Ha(o.pauseQueue),$a(this,"onPause",Vn(this,La(this,this.animation.to)),this))},resume:()=>{Ia(this)&&(wb(this,!1),Qr(this)&&this._resume(),Ha(o.resumeQueue),$a(this,"onResume",Vn(this,La(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(s=>{if(e.loop&&s.finished&&!(t&&s.noop)){const a=Tk(e);if(a)return this._update(a,!0)}return s})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(ks(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(ks(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=Bg(t.to),{config:m}=a,{decay:x,velocity:g}=m;(r||i)&&(m.velocity=0),t.config&&!h&&Y8(m,oo(t.config,o),t.config!==s.config?oo(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)&&cl(t.reset,o),w=v?d:this.get(),S=Xl(c),E=V.num(S)||V.arr(S)||bp(S),T=!h&&(!E||cl(s.immediate||t.immediate,o));if(p){const A=Vg(c);if(A!==y.constructor)if(T)y=this._set(S);else throw Error(`Cannot animate between ${y.constructor.name} and ${A.name}, as the "to" prop suggests`)}const P=y.constructor;let M=bn(c),k=!1;if(!M){const A=v||!Dh(this)&&f;(p||A)&&(k=yr(Xl(w),S),M=!k),(!yr(a.immediate,T)&&!T||!yr(m.decay,x)||!yr(m.velocity,g))&&(M=!0)}if(k&&Qr(this)&&(a.changed&&!v?M=!0:M||this._stop(l)),!h&&((M||bn(l))&&(a.values=y.getPayload(),a.toValues=bn(c)?null:P==Yl?[1]:tn(S)),a.immediate!=T&&(a.immediate=T,!T&&!v&&this._set(l)),M)){const{onRest:A}=a;he(t9,$=>Sb(this,t,$));const I=Vn(this,La(this,l));Ha(this._pendingCalls,I),this._pendingCalls.add(n),a.changed&&te.batchedUpdates(()=>{var $;a.changed=!v,A==null||A(I,this),v?oo(s.onRest,I):($=a.onStart)==null||$.call(a,I,this)})}v&&this._set(w),h?n(Ek(t.to,t,this._state,this)):M?this._start():Qr(this)&&!p?this._pendingCalls.add(n):n(Ck(w))}_focus(e){const t=this.animation;e!==t.to&&(ub(this)&&this._detach(),t.to=e,ub(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;bn(t)&&(ma(t,this),Wg(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;bn(e)&&Kl(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=Vg(n);!r||r.constructor!=i?my(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,$a(this,"onStart",Vn(this,La(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),oo(this.animation.onChange,e,this)),oo(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)),Qr(this)||(xb(this,!0),Ia(this)||this._resume())}_resume(){Gn.skipAnimation?this.finish():yp.start(this)}_stop(e,t){if(Qr(this)){xb(this,!1);const n=this.animation;he(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),ql(this,{type:"idle",parent:this});const r=t?ks(this.get()):Vn(this.get(),La(this,e??n.to));Ha(this._pendingCalls,r),n.changed&&(n.changed=!1,$a(this,"onRest",r,this))}}};function La(e,t){const n=Xl(t),r=Xl(e.get());return yr(r,n)}function Tk(e,t=e.loop,n=e.to){const r=oo(t);if(r){const i=r!==!0&&bk(r),o=(i||e).reverse,s=!i||i.reset;return Jl({...e,loop:t,default:!1,pause:void 0,to:!o||Bg(n)?n:void 0,from:s?e.from:void 0,reset:s,...i})}}function Jl(e){const{to:t,from:n}=e=bk(e),r=new Set;return V.obj(t)&&bb(t,r),V.obj(n)&&bb(n,r),e.keys=r.size?Array.from(r):null,e}function e9(e){const t=Jl(e);return V.und(t.default)&&(t.default=gy(t)),t}function bb(e,t){dr(e,(n,r)=>n!=null&&t.add(r))}var t9=["onStart","onRest","onChange","onPause","onResume"];function Sb(e,t,n){e.animation[n]=t[n]!==wk(t,n)?xk(t[n],e.key):void 0}function $a(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 n9=["onStart","onChange","onRest"],r9=1,i9=class{constructor(e,t){this.id=r9++,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(Jl(e)),this}start(e){let{queue:t}=this;return e?t=tn(e).map(Jl):this.queue=[],this._flush?this._flush(this,t):(Rk(this,t),qg(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;he(tn(t),r=>n[r].stop(!!e))}else Zl(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,ll(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&&ll(t,([a,l])=>{l.value=s,a(l,this,this._item)}),o&&(this._started=!1,ll(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 qg(e,t){return Promise.all(t.map(n=>kk(e,n))).then(n=>vy(e,n))}async function kk(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(n9,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,Ha(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||wk(t,"cancel")===!0;(c||p&&d.asyncId)&&f.push(Sk(++e._lastAsyncId,{props:t,state:d,actions:{pause:Ng,resume:Ng,start(m,x){p?(Zl(d,e._lastAsyncId),x(ks(e))):(m.onRest=a,x(Ek(c,m,d,e)))}}})),d.paused&&await new Promise(m=>{d.resumeQueue.add(m)});const h=vy(e,await Promise.all(f));if(s&&h.finished&&!(n&&h.noop)){const m=Tk(t,s,i);if(m)return Rk(e,[m]),kk(e,m,!0)}return l&&te.batchedUpdates(()=>l(h,e,e.item)),h}function Cb(e,t){const n={...e.springs};return t&&he(tn(t),r=>{V.und(r.keys)&&(r=Jl(r)),V.obj(r.to)||(r={...r,to:void 0}),Ok(n,r,i=>_k(i))}),Mk(e,n),n}function Mk(e,t){dr(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,ma(n,e))})}function _k(e,t){const n=new J8;return n.key=e,t&&ma(n,t),n}function Ok(e,t,n){t.keys&&he(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function Rk(e,t){he(t,n=>{Ok(e.springs,n,r=>_k(r,e))})}var Ep=({children:e,...t})=>{const n=b.useContext(Kd),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=A8(()=>({pause:r,immediate:i}),[r,i]);const{Provider:o}=Kd;return b.createElement(o,{value:t},e)},Kd=o9(Ep,{});Ep.Provider=Kd.Provider;Ep.Consumer=Kd.Consumer;function o9(e,t){return Object.assign(e,b.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var s9=()=>{const e=[],t=function(r){O8();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 a9(e,t,n){const r=V.fun(t)&&t;r&&!n&&(n=[]);const i=b.useMemo(()=>r||arguments.length==3?s9():void 0,[]),o=b.useRef(0),s=mk(),a=b.useMemo(()=>({ctrls:[],queue:[],flush(g,y){const v=Cb(g,y);return o.current>0&&!a.queue.length&&!Object.keys(v).some(S=>!g.springs[S])?qg(g,y):new Promise(S=>{Mk(g,v),a.queue.push(()=>{S(qg(g,y))}),s()})}}),[]),l=b.useRef([...a.ctrls]),u=[],c=db(e)||0;b.useMemo(()=>{he(l.current.slice(e,c),g=>{G8(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;vCb(g,u[y])),p=b.useContext(Ep),h=db(p),m=p!==h&&H8(p);hy(()=>{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&&(q8(y,w.ref),y.ref?y.queue.push(w):y.start(w))})}),gk(()=>()=>{he(a.ctrls,g=>g.stop(!0))});const x=f.map(g=>({...g}));return i?[x,i]:x}function l9(e,t){const n=V.fun(e),[[r],i]=a9(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}var u9=class extends yy{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Hl(...t);const n=this._get(),r=Vg(n);my(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&&Eb(this._active)&&Fh(this)}_get(){const e=V.arr(this.source)?this.source.map(Nt):tn(Nt(this.source));return this.calc(...e)}_start(){this.idle&&!Eb(this._active)&&(this.idle=!1,he(Sp(this),e=>{e.done=!1}),Gn.skipAnimation?(te.batchedUpdates(()=>this.advance()),Fh(this)):yp.start(this))}_attach(){let e=1;he(tn(this.source),t=>{bn(t)&&ma(t,this),Wg(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)&&Kl(e,this)}),this._active.clear(),Fh(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,(Wg(n)?n.priority:0)+1),0))}};function c9(e){return e.idle!==!1}function Eb(e){return!e.size||Array.from(e).every(c9)}function Fh(e){e.idle||(e.idle=!0,he(Sp(e),t=>{t.done=!0}),ql(e,{type:"idle",parent:e}))}Gn.assign({createStringInterpolator:pk,to:(e,t)=>new u9(e,t)});var Ak=/^--/;function d9(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!Ak.test(e)&&!(dl.hasOwnProperty(e)&&dl[e])?t+"px":(""+t).trim()}var Pb={};function f9(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:Pb[d]||(Pb[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=d9(d,r[d]);Ak.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 dl={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},p9=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),h9=["Webkit","Ms","Moz","O"];dl=Object.keys(dl).reduce((e,t)=>(h9.forEach(n=>e[p9(n,t)]=e[t]),e),dl);var m9=/^(matrix|translate|scale|rotate|skew)/,g9=/^(translate)/,v9=/^(rotate|skew)/,Nh=(e,t)=>V.num(e)&&e!==0?e+t:e,Gc=(e,t)=>V.arr(e)?e.every(n=>Gc(n,t)):V.num(e)?e===t:parseFloat(e)===t,y9=class extends Cp{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=>Nh(a,"px")).join(",")})`,Gc(s,0)])),dr(r,(s,a)=>{if(a==="transform")i.push([s||""]),o.push(l=>[l,l===""]);else if(m9.test(a)){if(delete r[a],V.und(s))return;const l=g9.test(a)?"px":v9.test(a)?"deg":"";i.push(tn(s)),o.push(a==="rotate3d"?([u,c,d,f])=>[`rotate3d(${u},${c},${d},${Nh(f,l)})`,Gc(f,0)]:u=>[`${a}(${u.map(c=>Nh(c,l)).join(",")})`,Gc(u,a.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new x9(i,o)),super(r)}},x9=class extends ck{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)&&ma(n,this)))}observerRemoved(e){e==0&&he(this.inputs,t=>he(t,n=>bn(n)&&Kl(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),ql(this,e)}},w9=["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:Tf.unstable_batchedUpdates,createStringInterpolator:pk,colors:a8});var b9=z8(w9,{applyAnimatedValues:f9,createAnimatedStyle:e=>new y9(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),S9=b9.animated;const C9=S9(ae);function zh({end:e,title:t,prefix:n,start:r,minWidth:i,alignSelf:o}){const{number:s}=l9({from:{number:r||0},number:e,config:{mass:1,tension:20,friction:10}});return C.jsx(Q,{sx:{display:"flex",justifyContent:"center",flexDirection:"column",flex:1,minWidth:i},children:C.jsxs(Q,{sx:{display:"flex",flex:1,alignItems:"center",flexDirection:"column"},children:[C.jsx(Q,{sx:{display:"flex",flex:1,alignItems:"flex-start",alignSelf:o||"center"},children:C.jsxs(Q,{sx:{flexDirection:"row",alignItems:"center",alignSelf:"center",justifyContent:"center",display:"flex",flex:1},children:[C.jsx(ae,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:n}),C.jsx(C9,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:s.to(a=>Math.floor(a).toLocaleString("en-US"))}),C.jsx(ae,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:"+"})]})}),C.jsx(ae,{sx:{fontSize:"calc(15px + 0.5vw)",alignSelf:o||"center"},children:t})]})})}var Fu=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(){}},na=typeof window>"u"||"Deno"in globalThis;function gn(){}function E9(e,t){return typeof e=="function"?e(t):e}function Kg(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ik(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Tb(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==xy(s,t.options))return!1}else if(!tu(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 kb(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(eu(t.options.mutationKey)!==eu(o))return!1}else if(!tu(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function xy(e,t){return((t==null?void 0:t.queryKeyHashFn)||eu)(e)}function eu(e){return JSON.stringify(e,(t,n)=>Yg(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function tu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!tu(e[n],t[n])):!1}function Lk(e,t){if(e===t)return e;const n=Mb(e)&&Mb(t);if(n||Yg(e)&&Yg(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 Xg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Lk(e,t):t}function T9(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function k9(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var wy=Symbol(),ho,li,_s,cC,M9=(cC=class extends Fu{constructor(){super();X(this,ho,void 0);X(this,li,void 0);X(this,_s,void 0);G(this,_s,t=>{if(!na&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}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(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,ho)!==t&&(G(this,ho,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,ho)=="boolean"?_(this,ho):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ho=new WeakMap,li=new WeakMap,_s=new WeakMap,cC),by=new M9,Os,ui,Rs,dC,_9=(dC=class extends Fu{constructor(){super();X(this,Os,!0);X(this,ui,void 0);X(this,Rs,void 0);G(this,Rs,t=>{if(!na&&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,ui)||this.setEventListener(_(this,Rs))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ui))==null||t.call(this),G(this,ui,void 0))}setEventListener(t){var n;G(this,Rs,t),(n=_(this,ui))==null||n.call(this),G(this,ui,t(this.setOnline.bind(this)))}setOnline(t){_(this,Os)!==t&&(G(this,Os,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,Os)}},Os=new WeakMap,ui=new WeakMap,Rs=new WeakMap,dC),Qd=new _9;function O9(e){return Math.min(1e3*2**e,3e4)}function Sy(e){return(e??"online")==="online"?Qd.isOnline():!0}var $k=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Vh(e){return e instanceof $k}function jk(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 $k(x)),(g=e.abort)==null||g.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>!by.isFocused()||e.networkMode!=="always"&&!Qd.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??(na?0:3),v=e.retryDelay??O9,w=typeof v=="function"?v(n,g):v,S=y===!0||typeof y=="number"&&n{if(d())return h()}).then(()=>{t?p(g):m()})})};return Sy(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(),mo,fC,Dk=(fC=class{constructor(){X(this,mo,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Kg(this.gcTime)&&G(this,mo,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(na?1/0:5*60*1e3))}clearGcTimeout(){_(this,mo)&&(clearTimeout(_(this,mo)),G(this,mo,void 0))}},mo=new WeakMap,fC),As,Is,pn,At,ct,su,go,Fn,gr,pC,A9=(pC=class extends Dk{constructor(t){super();X(this,Fn);X(this,As,void 0);X(this,Is,void 0);X(this,pn,void 0);X(this,At,void 0);X(this,ct,void 0);X(this,su,void 0);X(this,go,void 0);G(this,go,!1),G(this,su,t.defaultOptions),this.setOptions(t.options),G(this,ct,[]),G(this,pn,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,As,t.state||I9(this.options)),this.state=_(this,As),this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={..._(this,su),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!_(this,ct).length&&this.state.fetchStatus==="idle"&&_(this,pn).remove(this)}setData(t,n){const r=Xg(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,As))}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||!Ik(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,go)?_(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,go,!0),r.signal)})};o(i);const s=()=>!this.options.queryFn||this.options.queryFn===wy?Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`)):(G(this,go,!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,Is,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;Vh(f)&&f.silent||pe(this,Fn,gr).call(this,{type:"error",error:f}),Vh(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,jk({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}},As=new WeakMap,Is=new WeakMap,pn=new WeakMap,At=new WeakMap,ct=new WeakMap,su=new WeakMap,go=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,...Fk(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 Vh(i)&&i.revert&&_(this,Is)?{..._(this,Is),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})})},pC);function Fk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Sy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function I9(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,hC,L9=(hC=class extends Fu{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??xy(i,n);let s=this.get(o);return s||(s=new A9({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=>Tb(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Tb(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,hC),Jn,au,Yt,Ls,er,Jr,mC,$9=(mC=class extends Dk{constructor(t){super();X(this,er);X(this,Jn,void 0);X(this,au,void 0);X(this,Yt,void 0);X(this,Ls,void 0);this.mutationId=t.mutationId,G(this,au,t.defaultOptions),G(this,Yt,t.mutationCache),G(this,Jn,[]),this.state=t.state||j9(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={..._(this,au),...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,Ls))==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,S,E,T;const n=()=>(G(this,Ls,jk({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,M)=>{pe(this,er,Jr).call(this,{type:"failed",failureCount:P,error:M})},onPause:()=>{pe(this,er,Jr).call(this,{type:"pause"})},onContinue:()=>{pe(this,er,Jr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),_(this,Ls).promise),r=this.state.status==="pending";try{if(!r){pe(this,er,Jr).call(this,{type:"pending",variables:t}),await((o=(i=_(this,Yt).config).onMutate)==null?void 0:o.call(i,t,this));const M=await((a=(s=this.options).onMutate)==null?void 0:a.call(s,t));M!==this.state.context&&pe(this,er,Jr).call(this,{type:"pending",context:M,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,Jr).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((S=(w=_(this,Yt).config).onSettled)==null?void 0:S.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,Jr).call(this,{type:"error",error:P})}}}},Jn=new WeakMap,au=new WeakMap,Yt=new WeakMap,Ls=new WeakMap,er=new WeakSet,Jr=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:!Sy(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})})},mC);function j9(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,lu,vo,gC,D9=(gC=class extends Fu{constructor(t={}){super();X(this,hn,void 0);X(this,lu,void 0);X(this,vo,void 0);this.config=t,G(this,hn,[]),G(this,lu,0)}build(t,n,r){const i=new $9({mutationCache:this,mutationId:++Wu(this,lu)._,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=>kb(n,r))}findAll(t={}){return _(this,hn).filter(n=>kb(t,n))}notify(t){xt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){return G(this,vo,(_(this,vo)??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,vo,void 0)})),_(this,vo)}},hn=new WeakMap,lu=new WeakMap,vo=new WeakMap,gC);function F9(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!==wy?t.options.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${t.options.queryHash}'`)),f=async(v,w,S)=>{if(u)return Promise.reject();if(w==null&&v.pages.length)return Promise.resolve(v);const E={queryKey:t.queryKey,pageParam:w,direction:S?"backward":"forward",meta:t.options.meta};c(E);const T=await d(E),{maxPages:P}=t.options,M=S?k9:T9;return{pages:M(v.pages,T,P),pageParams:M(v.pageParams,w,P)}};let p;if(o&&s.length){const v=o==="backward",w=v?N9:Ob,S={pages:s,pageParams:a},E=w(i,S);p=await f(S,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 Ob(e,{pages:t,pageParams:n}){const r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function N9(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,ci,di,$s,js,fi,Ds,Fs,vC,z9=(vC=class{constructor(e={}){X(this,Be,void 0);X(this,ci,void 0);X(this,di,void 0);X(this,$s,void 0);X(this,js,void 0);X(this,fi,void 0);X(this,Ds,void 0);X(this,Fs,void 0);G(this,Be,e.queryCache||new L9),G(this,ci,e.mutationCache||new D9),G(this,di,e.defaultOptions||{}),G(this,$s,new Map),G(this,js,new Map),G(this,fi,0)}mount(){Wu(this,fi)._++,_(this,fi)===1&&(G(this,Ds,by.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,Be).onFocus())})),G(this,Fs,Qd.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,Be).onOnline())})))}unmount(){var e,t;Wu(this,fi)._--,_(this,fi)===0&&((e=_(this,Ds))==null||e.call(this),G(this,Ds,void 0),(t=_(this,Fs))==null||t.call(this),G(this,Fs,void 0))}isFetching(e){return _(this,Be).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,ci).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=E9(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=F9(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(gn).catch(gn)}resumePausedMutations(){return Qd.isOnline()?_(this,ci).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,Be)}getMutationCache(){return _(this,ci)}getDefaultOptions(){return _(this,di)}setDefaultOptions(e){G(this,di,e)}setQueryDefaults(e,t){_(this,$s).set(eu(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,$s).values()];let n={};return t.forEach(r=>{tu(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){_(this,js).set(eu(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,js).values()];let n={};return t.forEach(r=>{tu(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,di).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=xy(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===wy&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,di).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,Be).clear(),_(this,ci).clear()}},Be=new WeakMap,ci=new WeakMap,di=new WeakMap,$s=new WeakMap,js=new WeakMap,fi=new WeakMap,Ds=new WeakMap,Fs=new WeakMap,vC),Ft,ke,uu,It,yo,Ns,tr,cu,zs,Vs,xo,wo,pi,Bs,bo,Ga,du,Zg,fu,Jg,pu,ev,hu,tv,mu,nv,gu,rv,vu,iv,uf,Nk,yC,V9=(yC=class extends Fu{constructor(t,n){super();X(this,bo);X(this,du);X(this,fu);X(this,pu);X(this,hu);X(this,mu);X(this,gu);X(this,vu);X(this,uf);X(this,Ft,void 0);X(this,ke,void 0);X(this,uu,void 0);X(this,It,void 0);X(this,yo,void 0);X(this,Ns,void 0);X(this,tr,void 0);X(this,cu,void 0);X(this,zs,void 0);X(this,Vs,void 0);X(this,xo,void 0);X(this,wo,void 0);X(this,pi,void 0);X(this,Bs,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),Rb(_(this,ke),this.options)?pe(this,bo,Ga).call(this):this.updateResult(),pe(this,hu,tv).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ov(_(this,ke),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ov(_(this,ke),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,pe(this,mu,nv).call(this),pe(this,gu,rv).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,vu,iv).call(this),_(this,ke).setOptions(this.options),r._defaulted&&!Qg(this.options,r)&&_(this,Ft).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,ke),observer:this});const o=this.hasListeners();o&&Ab(_(this,ke),i,this.options,r)&&pe(this,bo,Ga).call(this),this.updateResult(n),o&&(_(this,ke)!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&pe(this,du,Zg).call(this);const s=pe(this,fu,Jg).call(this);o&&(_(this,ke)!==i||this.options.enabled!==r.enabled||s!==_(this,pi))&&pe(this,pu,ev).call(this,s)}getOptimisticResult(t){const n=_(this,Ft).getQueryCache().build(_(this,Ft),t),r=this.createResult(n,t);return U9(this,r)&&(G(this,It,r),G(this,Ns,this.options),G(this,yo,_(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,Bs).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,bo,Ga).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,yo),a=_(this,Ns),u=t!==r?t.state:_(this,uu),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const P=this.hasListeners(),M=!P&&Rb(t,n),k=P&&Ab(t,r,n,i);(M||k)&&(d={...d,...Fk(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,cu))p=_(this,zs);else try{G(this,cu,n.select),p=n.select(d.data),p=Xg(o==null?void 0:o.data,p,n),G(this,zs,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,Vs))==null?void 0:T.state.data,_(this,Vs)):n.placeholderData,n.select&&P!==void 0)try{P=n.select(P),G(this,tr,null)}catch(M){G(this,tr,M)}P!==void 0&&(x="success",p=Xg(o==null?void 0:o.data,P,n),f=!0)}_(this,tr)&&(h=_(this,tr),p=_(this,zs),m=Date.now(),x="error");const g=d.fetchStatus==="fetching",y=x==="pending",v=x==="error",w=y&&g,S=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&&!S,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:v&&S,isStale:Cy(t,n),refetch:this.refetch}}updateResult(t){const n=_(this,It),r=this.createResult(_(this,ke),this.options);if(G(this,yo,_(this,ke).state),G(this,Ns,this.options),_(this,yo).data!==void 0&&G(this,Vs,_(this,ke)),Qg(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,Bs).size)return!0;const l=new Set(a??_(this,Bs));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,uf,Nk).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&pe(this,hu,tv).call(this)}},Ft=new WeakMap,ke=new WeakMap,uu=new WeakMap,It=new WeakMap,yo=new WeakMap,Ns=new WeakMap,tr=new WeakMap,cu=new WeakMap,zs=new WeakMap,Vs=new WeakMap,xo=new WeakMap,wo=new WeakMap,pi=new WeakMap,Bs=new WeakMap,bo=new WeakSet,Ga=function(t){pe(this,vu,iv).call(this);let n=_(this,ke).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(gn)),n},du=new WeakSet,Zg=function(){if(pe(this,mu,nv).call(this),na||_(this,It).isStale||!Kg(this.options.staleTime))return;const n=Ik(_(this,It).dataUpdatedAt,this.options.staleTime)+1;G(this,xo,setTimeout(()=>{_(this,It).isStale||this.updateResult()},n))},fu=new WeakSet,Jg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,ke)):this.options.refetchInterval)??!1},pu=new WeakSet,ev=function(t){pe(this,gu,rv).call(this),G(this,pi,t),!(na||this.options.enabled===!1||!Kg(_(this,pi))||_(this,pi)===0)&&G(this,wo,setInterval(()=>{(this.options.refetchIntervalInBackground||by.isFocused())&&pe(this,bo,Ga).call(this)},_(this,pi)))},hu=new WeakSet,tv=function(){pe(this,du,Zg).call(this),pe(this,pu,ev).call(this,pe(this,fu,Jg).call(this))},mu=new WeakSet,nv=function(){_(this,xo)&&(clearTimeout(_(this,xo)),G(this,xo,void 0))},gu=new WeakSet,rv=function(){_(this,wo)&&(clearInterval(_(this,wo)),G(this,wo,void 0))},vu=new WeakSet,iv=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,uu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},uf=new WeakSet,Nk=function(t){xt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(_(this,It))}),_(this,Ft).getQueryCache().notify({query:_(this,ke),type:"observerResultsUpdated"})})},yC);function B9(e,t){return t.enabled!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Rb(e,t){return B9(e,t)||e.state.data!==void 0&&ov(e,t,t.refetchOnMount)}function ov(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 Ab(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 U9(e,t){return!Qg(e.getCurrentResult(),t)}var zk=b.createContext(void 0),W9=e=>{const t=b.useContext(zk);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},H9=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),C.jsx(zk.Provider,{value:e,children:t})),Vk=b.createContext(!1),G9=()=>b.useContext(Vk);Vk.Provider;function q9(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var K9=b.createContext(q9()),Q9=()=>b.useContext(K9);function Y9(e,t){return typeof e=="function"?e(...t):!!e}var X9=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},Z9=e=>{b.useEffect(()=>{e.clearReset()},[e])},J9=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&Y9(n,[e.error,r]),eV=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},tV=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,nV=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function rV(e,t,n){const r=W9(n),i=G9(),o=Q9(),s=r.defaultQueryOptions(e);s._optimisticResults=i?"isRestoring":"optimistic",eV(s),X9(s,o),Z9(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]),tV(s,l))throw nV(s,a,o);if(J9({result:l,errorResetBoundary:o,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash)}))throw l.error;return s.notifyOnChangeProps?l:a.trackResult(l)}function Bk(e,t){return rV(e,V9,t)}async function iV(){try{return(await ha.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 oV(e){try{return(await ha.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 Uk={getAll:iV,getById:oV};var qa={},Wk={},Pp={},us=ge&&ge.__assign||function(){return us=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 Ib(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 Ib(w,v)}).join(" ")}),h};Pp.batch=sV;var Ri={},Do={},Ey={},sv=ge&&ge.__assign||function(){return sv=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u")){if(t==="height")return Lb&&$b?window.screen.height-80:window.innerHeight;if(t==="width")return Lb&&$b?window.screen.width:window.innerWidth}}});Py.default=lV;var Tp={};Object.defineProperty(Tp,"__esModule",{value:!0});Tp.SimpleInterpolation=void 0;var uV=function(e,t,n){return e*(1-n)+t*n};Tp.SimpleInterpolation=uV;(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(Ey);e.computeStyle=n.default;var r=t(Py);e.environment=r.default;var i=Tp;Object.defineProperty(e,"SimpleInterpolation",{enumerable:!0,get:function(){return i.SimpleInterpolation}})})(Do);Object.defineProperty(Ri,"__esModule",{value:!0});Ri.FadeOut=Ri.FadeIn=Ri.Fade=void 0;var Yd=Do,cV=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Yd.SimpleInterpolation)(e,t,n)}}},out:{style:{opacity:function(n){return(0,Yd.SimpleInterpolation)(t,e,n)}}}}};Ri.Fade=cV;var dV=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Yd.SimpleInterpolation)(e,t,n)}}}}};Ri.FadeIn=dV;var fV=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{out:{style:{opacity:function(n){return(0,Yd.SimpleInterpolation)(e,t,n)}}}}};Ri.FadeOut=fV;var Ai={};Object.defineProperty(Ai,"__esModule",{value:!0});Ai.MoveOut=Ai.MoveIn=Ai.Move=void 0;var wi=Do,pV=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,wi.SimpleInterpolation)(e,0,i),"px, ").concat((0,wi.SimpleInterpolation)(t,0,i),"px)")}}},out:{style:{transform:function(i){return"translate(".concat((0,wi.SimpleInterpolation)(0,n||e,i),"px, ").concat((0,wi.SimpleInterpolation)(0,r||t,i),"px)")}}}}};Ai.Move=pV;var hV=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=100),{in:{style:{transform:function(n){return"translate(".concat((0,wi.SimpleInterpolation)(e,0,n),"px, ").concat((0,wi.SimpleInterpolation)(t,0,n),"px)")}}}}};Ai.MoveIn=hV;var mV=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=-100),{out:{style:{transform:function(n){return"translate(".concat((0,wi.SimpleInterpolation)(0,e,n),"px, ").concat((0,wi.SimpleInterpolation)(0,t,n),"px)")}}}}};Ai.MoveOut=mV;var Ii={};Object.defineProperty(Ii,"__esModule",{value:!0});Ii.StickyOut=Ii.StickyIn=Ii.Sticky=void 0;var En=Do,gV=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"}}}};Ii.Sticky=gV;var vV=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"}}}};Ii.StickyIn=vV;var yV=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"}}}};Ii.StickyOut=yV;var Li={};Object.defineProperty(Li,"__esModule",{value:!0});Li.ZoomOut=Li.ZoomIn=Li.Zoom=void 0;var Xd=Do,xV=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,Xd.SimpleInterpolation)(e,t,n),")")}}},out:{style:{transform:function(n){return"scale(".concat((0,Xd.SimpleInterpolation)(t,e,n),")")}}}}};Li.Zoom=xV;var wV=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,Xd.SimpleInterpolation)(e,t,n),")")}}}}};Li.ZoomIn=wV;var bV=function(e,t){return e===void 0&&(e=1),t===void 0&&(t=10),{out:{style:{transform:function(n){return"scale(".concat((0,Xd.SimpleInterpolation)(e,t,n),")")}}}}};Li.ZoomOut=bV;(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=Pp;Object.defineProperty(e,"batch",{enumerable:!0,get:function(){return t.batch}});var n=Ri;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=Ai;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=Ii;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=Li;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}})})(Wk);var Ty={},kp={},Mp={},Vi={},ky={};Object.defineProperty(ky,"__esModule",{value:!0});var SV={currentY:0,viewportHeight:0,totalPage:0,totalHeight:0,totalProgress:0,realPage:0,currentPage:0,currentProgress:0};ky.default=SV;var My={};Object.defineProperty(My,"__esModule",{value:!0});var CV={page:0};My.default=CV;var Hk=ge&&ge.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Vi,"__esModule",{value:!0});Vi.initialScrollPage=Vi.initialScrollData=void 0;var EV=Hk(ky);Vi.initialScrollData=EV.default;var PV=Hk(My);Vi.initialScrollPage=PV.default;Object.defineProperty(Mp,"__esModule",{value:!0});Mp.ScrollDataContext=void 0;var TV=b,kV=Vi;Mp.ScrollDataContext=(0,TV.createContext)(kV.initialScrollData);var _p={};Object.defineProperty(_p,"__esModule",{value:!0});_p.ScrollPageContext=void 0;var MV=b,_V=Vi;_p.ScrollPageContext=(0,MV.createContext)(_V.initialScrollPage);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollPageContext=e.ScrollDataContext=void 0;var t=Mp;Object.defineProperty(e,"ScrollDataContext",{enumerable:!0,get:function(){return t.ScrollDataContext}});var n=_p;Object.defineProperty(e,"ScrollPageContext",{enumerable:!0,get:function(){return n.ScrollPageContext}})})(kp);var cs=ge&&ge.__assign||function(){return cs=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=GV(l),l in Nb)return;Nb[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":HV,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})},Kh="generated",nq="pointerdown",rq="pointerup",iq="pointerleave",oq="pointerout",sq="pointermove",aq="touchstart",lq="touchend",uq="touchmove",cq="touchcancel",dq="resize",fq="visibilitychange",Ry="tsParticles - Error",ds=100,zb=.5,Gk=1e3;function pq(e){return typeof e=="boolean"}function nu(e){return typeof e=="string"}function ga(e){return typeof e=="number"}function yc(e){return typeof e=="object"&&e!==null}function Fo(e){return Array.isArray(e)}const Xn={x:0,y:0,z:0},Vb=2,qV=1;class jn{constructor(t,n,r){if(this._updateFromAngle=(i,o)=>{this.x=Math.cos(i)*o,this.y=Math.sin(i)*o},!ga(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(`${Ry} 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**Vb+this.y**Vb}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(qV/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 Eo extends jn{constructor(t,n){super(t,n,Xn.z)}static get origin(){return Eo.create(Xn.x,Xn.y)}static clone(t){return Eo.create(t.x,t.y)}static create(t,n){return new Eo(t,n)}}let KV=Math.random;const av=new Map,QV=2,YV=Math.PI*QV;function hq(e,t){av.get(e)||av.set(e,t)}function mq(e){return av.get(e)??(t=>t)}function fr(){return Ay(KV(),0,1-Number.EPSILON)}function Ay(e,t,n){return Math.min(Math.max(e,t),n)}function Qh(e,t,n,r){return Math.floor((e*n+t*r)/(n+r))}function Ms(e){const t=Rp(e),n=0;let r=Op(e);return t===r&&(r=n),fr()*(t-r)+r}function pt(e){return ga(e)?e:Ms(e)}function Op(e){return ga(e)?e:e.min}function Rp(e){return ga(e)?e:e.max}function pl(e,t){if(e===t||t===void 0&&ga(e))return e;const n=Op(e),r=Rp(e);return t!==void 0?{min:Math.min(n,t),max:Math.max(r,t)}:pl(n,r)}function qk(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 gq(e,t){return qk(e,t).distance}function XV(e){return e*Math.PI/180}function vq(e,t,n){if(ga(e))return XV(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()*YV}}function yq(e){const t=Eo.origin;return t.length=1,t.angle=e,t}function Bb(e,t,n,r){return Eo.create(e.x*(n-r)/(n+r)+t.x*2*r/(n+r),e.y)}function xq(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 Kk(e){return e?e.endsWith("%")?parseFloat(e)/ds:parseFloat(e):1}const ZV={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function JV(){return ZV}function Ub(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 Fo(n)?n.some(r=>r):n}function Ap(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function t7(){return!Ap()&&typeof matchMedia<"u"}function wq(e){if(t7())return matchMedia(e)}function bq(e){if(!(Ap()||typeof IntersectionObserver>"u"))return new IntersectionObserver(e)}function Sq(e){if(!(Ap()||typeof MutationObserver>"u"))return new MutationObserver(e)}function Qk(e,t){return e===t||Fo(t)&&t.indexOf(e)>-1}async function Cq(e,t){try{await document.fonts.load(`${t??"400"} 36px '${e??"Verdana"}'`)}catch{}}function n7(e){return Math.floor(fr()*e.length)}function Iy(e,t,n=!0){return e[t!==void 0&&n?t%e.length:n7(e)]}function Eq(e,t,n,r,i){return r7(Yk(e,r??0),t,n,i)}function r7(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 Yk(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function Wb(e,...t){for(const n of t){if(n==null)continue;if(!yc(n)){e=n;continue}const r=Array.isArray(n);r&&(yc(e)||!e||!Array.isArray(e))?e=[]:!r&&(yc(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]=yc(s)&&Array.isArray(s)?s.map(l=>Wb(a[i],l)):Wb(a[i],s)}}return e}function Pq(e,t){return!!Zk(t,n=>n.enable&&Qk(e,n.mode))}function Tq(e,t,n){ru(t,r=>{const i=r.mode;r.enable&&Qk(e,i)&&i7(r,n)})}function i7(e,t){const n=e.selectors;ru(n,r=>{t(r,e)})}function kq(e,t){if(!(!t||!e))return Zk(e,n=>e7(t,n.selectors))}function Mq(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:Eo.create(pt(e.options.bounce.horizontal.value),pt(e.options.bounce.vertical.value))}}function _q(e,t){const{x:n,y:r}=e.velocity.sub(t.velocity),[i,o]=[e.position,t.position],{dx:s,dy:a}=qk(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=Bb(f,p,c,d),m=Bb(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 Oq(e,t){const n=e.getPosition(),r=e.getRadius(),i=Yk(n,r),o=e.options.bounce,s=Ub({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=Ub({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 ru(e,t){return Fo(e)?e.map((r,i)=>t(r,i)):t(e,0)}function Xk(e,t,n){return Fo(e)?Iy(e,t,n):e}function Zk(e,t){return Fo(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)*Gk,enable:r.enable,value:pt(e.value)*t,max:Rp(n)*t,min:Op(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()>=zb?"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=Ms(i),s&&(i.status=fr()>=zb?"increasing":"decreasing");break}}return i.initialValue=i.value,i}function o7(e,t){if(!(e.mode==="percent")){const{mode:i,...o}=e;return o}return"x"in e?{x:e.x/ds*t.width,y:e.y/ds*t.height}:{width:e.width/ds*t.width,height:e.height/ds*t.height}}function Aq(e,t){return o7(e,t)}function s7(e,t,n,r,i){switch(t){case"max":n>=i&&e.destroy();break;case"min":n<=r&&e.destroy();break}}function Iq(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),s7(e,r,t.value,d,f),e.destroyed||(t.value=Ay(t.value,d,f))}}class a7{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 Yh(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 l7(e){const t=Xk(e.url,e.index);if(!t)return e.fallback;const n=await fetch(t);return n.ok?await n.json():(JV().error(`${Ry} ${n.status} while retrieving config file`),e.fallback)}class u7{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new a7,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){ru(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){ru(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 Yh(t,this.interactors,this._initializers.interactors,n)}async getMovers(t,n=!1){return await Yh(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 Yh(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 l7({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=Xk(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[Kh]="false";else{const x=a.getElementsByTagName("canvas");x.length?(f=x[0],f.dataset[Kh]="false"):(f=document.createElement("canvas"),f.dataset[Kh]="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-C8BcwPyr.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(`${Ry} can only set click handlers after calling tsParticles.load()`);for(const r of n)r.addClickHandler(t)}}const Jd="random",qc="mid",Ip=new Map;function Hb(e){Ip.set(e.key,e)}function c7(e){for(const[,l]of Ip)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 ef(e,t,n=!0){if(!e)return;const r=nu(e)?{value:e}:e;if(nu(r.value))return Jk(r.value,t,n);if(Fo(r.value))return ef({value:Iy(r.value,t,n)});for(const[,i]of Ip){const o=i.handleRangeColor(r);if(o)return o}}function Jk(e,t,n=!0){if(!e)return;const r=nu(e)?{value:e}:e;if(nu(r.value))return r.value===Jd?eM():f7(r.value);if(Fo(r.value))return Jk({value:Iy(r.value,t,n)});for(const[,i]of Ip){const o=i.handleColor(r);if(o)return o}}function Lq(e,t,n=!0){const r=ef(e,t,n);return r?d7(r):void 0}function d7(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 f7(e){return c7(e)}function ra(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 M=Math.round(d*f);return{r:M,g:M,b:M}}const h=.5,m=2,x=(M,k,A)=>{if(A<0&&A++,A>1&&A--,A*6<1)return M+(k-M)*6*A;if(A*m<1)return k;if(A*p<1*m){const B=m/p;return M+(k-M)*(B-A)*6}return M},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?Ms(e.offset):0,d=(e.velocity??0)*r.factor+c*3.6,f=e.decay??1,p=Rp(t),h=Op(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=Ay(e.value,h,p)}function Vq(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&&Zh(n,o.h,!1,t),r&&Zh(r,o.s,!0,t),i&&Zh(i,o.l,!0,t)}class m7{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 ra(r)}handleRangeColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.l!==void 0)return ra({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?p7({a:r.length>i?Kk(r[5]):o,h:parseInt(r[1],s),l:parseInt(r[3],s),s:parseInt(r[2],s)}):void 0}}class g7{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?Kk(r[5]):1,b:parseInt(r[3],i),g:parseInt(r[2],i),r:parseInt(r[1],i)}:void 0}}function v7(){const e=new g7,t=new m7;Hb(e),Hb(t);const n=new u7;return n.init(),n}const Ly=v7();Ap()||(window.tsParticles=Ly);const y7=e=>{const t=e.id??"tsparticles";return b.useEffect(()=>{let n;return Ly.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]),C.jsx("div",{id:t,className:e.className})};async function x7(e){await e(Ly)}async function w7(e,t=!0){const{loadParallaxMover:n}=await Te(()=>import("./index-Dut7on6R.js"),[]),{loadExternalAttractInteraction:r}=await Te(()=>import("./index-Bb3Kps3J.js"),[]),{loadExternalBounceInteraction:i}=await Te(()=>import("./index-Bx6SXFWD.js"),[]),{loadExternalBubbleInteraction:o}=await Te(()=>import("./index-BzL9OwK7.js"),__vite__mapDeps([5,2])),{loadExternalConnectInteraction:s}=await Te(()=>import("./index-DyfdzQD9.js"),[]),{loadExternalGrabInteraction:a}=await Te(()=>import("./index-Dv44nJXP.js"),__vite__mapDeps([6,2])),{loadExternalPauseInteraction:l}=await Te(()=>import("./index-CFdEKaBg.js"),[]),{loadExternalPushInteraction:u}=await Te(()=>import("./index-DIhuUhmd.js"),[]),{loadExternalRemoveInteraction:c}=await Te(()=>import("./index-BsFSM-q6.js"),[]),{loadExternalRepulseInteraction:d}=await Te(()=>import("./index-grQr41kk.js"),[]),{loadExternalSlowInteraction:f}=await Te(()=>import("./index-CNiY_PRz.js"),[]),{loadParticlesAttractInteraction:p}=await Te(()=>import("./index-NpCqrZ7B.js"),[]),{loadParticlesCollisionsInteraction:h}=await Te(()=>import("./index-DsuVti3P.js"),[]),{loadParticlesLinksInteraction:m}=await Te(()=>import("./index-Ci2bwGMD.js"),__vite__mapDeps([7,2])),{loadEasingQuadPlugin:x}=await Te(()=>import("./index-OYbieXLS.js"),[]),{loadEmojiShape:g}=await Te(()=>import("./index-B3H0uQBb.js").then(A=>A.i),[]),{loadImageShape:y}=await Te(()=>import("./index-Ca5_6Kj3.js").then(A=>A.i),[]),{loadLineShape:v}=await Te(()=>import("./index-5NTHuaLh.js"),[]),{loadPolygonShape:w}=await Te(()=>import("./index-BXrRsvdG.js"),[]),{loadSquareShape:S}=await Te(()=>import("./index-HcVZSsHe.js"),[]),{loadStarShape:E}=await Te(()=>import("./index-DzMZnnX_.js"),[]),{loadLifeUpdater:T}=await Te(()=>import("./index-DtnNCIpx.js"),[]),{loadRotateUpdater:P}=await Te(()=>import("./index-B4cJ1jhV.js"),[]),{loadStrokeColorUpdater:M}=await Te(()=>import("./index-B4qC9MZm.js"),[]),{loadBasic:k}=await Te(()=>import("./index-BtWH6V1w.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 S(e,!1),await E(e,!1),await T(e,!1),await P(e,!1),await M(e,!1),await k(e,t)}const $y="-";function b7(e){const t=C7(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function i(s){const a=s.split($y);return a[0]===""&&a.length!==1&&a.shift(),tM(a,t)||S7(s)}function o(s,a){const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}return{getClassGroupId:i,getConflictingClassGroupIds:o}}function tM(e,t){var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?tM(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join($y);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId}const Gb=/^\[(.+)\]$/;function S7(e){if(Gb.test(e)){const t=Gb.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function C7(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return P7(Object.entries(e.classGroups),n).forEach(([o,s])=>{lv(s,r,o,t)}),r}function lv(e,t,n,r){e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:qb(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(E7(i)){lv(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{lv(s,qb(t,o),n,r)})})}function qb(e,t){let n=e;return t.split($y).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function E7(e){return e.isThemeGetter}function P7(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 T7(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 nM="!";function k7(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 M7(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 _7(e){return{cache:T7(e.cacheSize),splitModifiers:k7(e),...b7(e)}}const O7=/\s+/;function R7(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=new Set;return e.trim().split(O7).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=M7(a).join(":");return{isTailwindClass:!0,modifierId:l?p+nM: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 A7(){let e=0,t,n,r="";for(;ed(c),e());return n=_7(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(A7.apply(null,arguments))}}function Oe(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const iM=/^\[(?:([a-z-]+):)?(.+)\]$/i,L7=/^\d+\/\d+$/,$7=new Set(["px","full","screen"]),j7=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,D7=/\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$/,F7=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,N7=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,z7=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function hr(e){return fo(e)||$7.has(e)||L7.test(e)}function Xr(e){return va(e,"length",K7)}function fo(e){return!!e&&!Number.isNaN(Number(e))}function xc(e){return va(e,"number",fo)}function ja(e){return!!e&&Number.isInteger(Number(e))}function V7(e){return e.endsWith("%")&&fo(e.slice(0,-1))}function ie(e){return iM.test(e)}function Zr(e){return j7.test(e)}const B7=new Set(["length","size","percentage"]);function U7(e){return va(e,B7,oM)}function W7(e){return va(e,"position",oM)}const H7=new Set(["image","url"]);function G7(e){return va(e,H7,Y7)}function q7(e){return va(e,"",Q7)}function Da(){return!0}function va(e,t,n){const r=iM.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function K7(e){return D7.test(e)&&!F7.test(e)}function oM(){return!1}function Q7(e){return N7.test(e)}function Y7(e){return z7.test(e)}function X7(){const e=Oe("colors"),t=Oe("spacing"),n=Oe("blur"),r=Oe("brightness"),i=Oe("borderColor"),o=Oe("borderRadius"),s=Oe("borderSpacing"),a=Oe("borderWidth"),l=Oe("contrast"),u=Oe("grayscale"),c=Oe("hueRotate"),d=Oe("invert"),f=Oe("gap"),p=Oe("gradientColorStops"),h=Oe("gradientColorStopPositions"),m=Oe("inset"),x=Oe("margin"),g=Oe("opacity"),y=Oe("padding"),v=Oe("saturate"),w=Oe("scale"),S=Oe("sepia"),E=Oe("skew"),T=Oe("space"),P=Oe("translate"),M=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",ie,t],I=()=>[ie,t],$=()=>["",hr,Xr],D=()=>["auto",fo,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"],R=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",ie],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[fo,xc],ne=()=>[fo,ie];return{cacheSize:500,separator:":",theme:{colors:[Da],spacing:[hr,Xr],blur:["none","",Zr,ie],brightness:K(),borderColor:[e],borderRadius:["none","","full",Zr,ie],borderSpacing:I(),borderWidth:$(),contrast:K(),grayscale:L(),hueRotate:ne(),invert:L(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[V7,Xr],inset:A(),margin:A(),opacity:K(),padding:I(),saturate:K(),scale:K(),sepia:L(),skew:ne(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",ie]}],container:["container"],columns:[{columns:[Zr]}],"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:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],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",ja,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:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",ja,ie]}],"grid-cols":[{"grid-cols":[Da]}],"col-start-end":[{col:["auto",{span:["full",ja,ie]},ie]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Da]}],"row-start-end":[{row:["auto",{span:[ja,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",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"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:[Zr]},Zr]}],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",Zr,Xr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xc]}],"font-family":[{font:[Da]}],"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",fo,xc]}],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,Xr]}],"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(),W7]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",U7]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},G7]}],"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,Xr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[hr,Xr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Zr,q7]}],"shadow-color":[{shadow:[Da]}],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",Zr,ie]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[S]}],"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":[S]}],"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:[ja,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,Xr,xc]}],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 Z7=I7(X7);function J7(...e){return Z7(oe(e))}const sM=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Lp=b.createContext({}),jy=b.createContext(null),Dy=typeof document<"u",Fy=Dy?b.useLayoutEffect:b.useEffect,aM=b.createContext({strict:!1}),Ny=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),eB="framerAppearId",lM="data-"+Ny(eB),tB={skipAnimations:!1,useManualTiming:!1};class Kb{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 nB(e){let t=new Kb,n=new Kb,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]=nB(()=>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,rB),1),i.timestamp=d,i.isProcessing=!0,wc.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:wc.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=>wc.forEach(f=>o[f].cancel(d)),state:i,steps:o}}const{schedule:zy,cancel:Bq}=uM(queueMicrotask,!1);function iB(e,t,n,r){const{visualElement:i}=b.useContext(Lp),o=b.useContext(aM),s=b.useContext(jy),a=b.useContext(sM).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[lM]&&!window.HandoffComplete));return Fy(()=>{u&&(zy.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 fs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function oB(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):fs(n)&&(n.current=r))},[t])}function iu(e){return typeof e=="string"||Array.isArray(e)}function $p(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Vy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],By=["initial",...Vy];function jp(e){return $p(e.animate)||By.some(t=>iu(e[t]))}function cM(e){return!!(jp(e)||e.variants)}function sB(e,t){if(jp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||iu(n)?n:void 0,animate:iu(r)?r:void 0}}return e.inherit!==!1?t:{}}function aB(e){const{initial:t,animate:n}=sB(e,b.useContext(Lp));return b.useMemo(()=>({initial:t,animate:n}),[Qb(t),Qb(n)])}function Qb(e){return Array.isArray(e)?e.join(" "):e}const Yb={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"]},ou={};for(const e in Yb)ou[e]={isEnabled:t=>Yb[e].some(n=>!!t[n])};function lB(e){for(const t in e)ou[t]={...ou[t],...e[t]}}const dM=b.createContext({}),fM=b.createContext({}),uB=Symbol.for("motionComponentSymbol");function cB({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&lB(e);function o(a,l){let u;const c={...b.useContext(sM),...a,layoutId:dB(a)},{isStatic:d}=c,f=aB(a),p=r(a,d);if(!d&&Dy){f.visualElement=iB(i,p,c,t);const h=b.useContext(fM),m=b.useContext(aM).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,m,e,h))}return C.jsxs(Lp.Provider,{value:f,children:[u&&f.visualElement?C.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,oB(p,f.visualElement,l),p,d,f.visualElement)]})}const s=b.forwardRef(o);return s[uB]=i,s}function dB({layoutId:e}){const t=b.useContext(dM).id;return t&&e!==void 0?t+"-"+e:e}function fB(e){function t(r,i={}){return cB(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 pB=["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 Uy(e){return typeof e!="string"||e.includes("-")?!1:!!(pB.indexOf(e)>-1||/[A-Z]/u.test(e))}const tf={};function hB(e){Object.assign(tf,e)}const Nu=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],No=new Set(Nu);function pM(e,{layout:t,layoutId:n}){return No.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!tf[e]||e==="opacity")}const Ot=e=>!!(e&&e.getVelocity),mB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},gB=Nu.length;function vB(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),mM=hM("--"),yB=hM("var(--"),Wy=e=>yB(e)?xB.test(e.split("/*")[0].trim()):!1,xB=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,wB=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Bi=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},hl={...ya,transform:e=>Bi(0,1,e)},bc={...ya,default:1},ml=e=>Math.round(e*1e5)/1e5,Hy=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,bB=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,SB=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function zu(e){return typeof e=="string"}const Vu=e=>({test:t=>zu(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ei=Vu("deg"),cr=Vu("%"),Z=Vu("px"),CB=Vu("vh"),EB=Vu("vw"),Xb={...cr,parse:e=>cr.parse(e)/100,transform:e=>cr.transform(e*100)},Zb={...ya,transform:Math.round},gM={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:ei,rotateX:ei,rotateY:ei,rotateZ:ei,scale:bc,scaleX:bc,scaleY:bc,scaleZ:bc,skew:ei,skewX:ei,skewY:ei,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:hl,originX:Xb,originY:Xb,originZ:Z,zIndex:Zb,backgroundPositionX:Z,backgroundPositionY:Z,fillOpacity:hl,strokeOpacity:hl,numOctaves:Zb};function Gy(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(mM(d)){o[d]=f;continue}const p=gM[d],h=wB(f,p);if(No.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=vB(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 qy=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function vM(e,t,n){for(const r in t)!Ot(t[r])&&!pM(r,n)&&(e[r]=t[r])}function PB({transformTemplate:e},t,n){return b.useMemo(()=>{const r=qy();return Gy(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function TB(e,t,n){const r=e.style||{},i={};return vM(i,r,e),Object.assign(i,PB(e,t,n)),i}function kB(e,t,n){const r={},i=TB(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 MB=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 nf(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||MB.has(e)}let yM=e=>!nf(e);function _B(e){e&&(yM=t=>t.startsWith("on")?!nf(t):e(t))}try{_B(require("@emotion/is-prop-valid").default)}catch{}function OB(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(yM(i)||n===!0&&nf(i)||!t&&!nf(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Jb(e,t,n){return typeof e=="string"?e:Z.transform(t+n*e)}function RB(e,t,n){const r=Jb(t,e.x,e.width),i=Jb(n,e.y,e.height);return`${r} ${i}`}const AB={offset:"stroke-dashoffset",array:"stroke-dasharray"},IB={offset:"strokeDashoffset",array:"strokeDasharray"};function LB(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?AB:IB;e[o.offset]=Z.transform(-r);const s=Z.transform(t),a=Z.transform(n);e[o.array]=`${s} ${a}`}function Ky(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d,f){if(Gy(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&&LB(p,s,a,l,!1)}const xM=()=>({...qy(),attrs:{}}),Qy=e=>typeof e=="string"&&e.toLowerCase()==="svg";function $B(e,t,n,r){const i=b.useMemo(()=>{const o=xM();return Ky(o,t,{enableHardwareAcceleration:!1},Qy(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};vM(o,e.style,e),i.style={...o,...i.style}}return i}function jB(e=!1){return(n,r,i,{latestValues:o},s)=>{const l=(Uy(n)?$B:kB)(r,o,s,n),u=OB(r,typeof n=="string",e),c=n!==b.Fragment?{...u,...l,ref:i}:{},{children:d}=r,f=b.useMemo(()=>Ot(d)?d.get():d,[d]);return b.createElement(n,{...c,children:f})}}function wM(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 bM=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 SM(e,t,n,r){wM(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(bM.has(i)?i:Ny(i),t.attrs[i])}function Yy(e,t,n){var r;const{style:i}=e,o={};for(const s in i)(Ot(i[s])||t.style&&Ot(t.style[s])||pM(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 CM(e,t,n){const r=Yy(e,t,n);for(const i in e)if(Ot(e[i])||Ot(t[i])){const o=Nu.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function Xy(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 uv=e=>Array.isArray(e),DB=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),FB=e=>uv(e)?e[e.length-1]||0:e;function Kc(e){const t=Ot(e)?e.get():e;return DB(t)?t.toValue():t}function NB({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:zB(r,i,o,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}const EM=e=>(t,n)=>{const r=b.useContext(Lp),i=b.useContext(jy),o=()=>NB(e,t,r,i);return n?o():Zy(o)};function zB(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=Kc(o[f]);let{initial:s,animate:a}=e;const l=jp(e),u=cM(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"&&!$p(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{const h=Xy(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:Qe,cancel:Dr,state:dt,steps:Jh}=uM(typeof requestAnimationFrame<"u"?requestAnimationFrame:bt,!0),VB={useVisualState:EM({scrapeMotionValuesFromProps:CM,createRenderState:xM,onMount:(e,t,{renderState:n,latestValues:r})=>{Qe.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Qe.render(()=>{Ky(n,r,{enableHardwareAcceleration:!1},Qy(t.tagName),e.transformTemplate),SM(t,n)})}})},BB={useVisualState:EM({scrapeMotionValuesFromProps:Yy,createRenderState:qy})};function UB(e,{forwardMotionProps:t=!1},n,r){return{...Uy(e)?VB:BB,preloadedFeatures:n,useRender:jB(t),createVisualElement:r,Component:e}}function Cr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const PM=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Dp(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const WB=e=>t=>PM(t)&&e(t,Dp(t));function _r(e,t,n,r){return Cr(e,t,WB(n),r)}const HB=(e,t)=>n=>t(e(n)),Or=(...e)=>e.reduce(HB);function TM(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const eS=TM("dragHorizontal"),tS=TM("dragVertical");function kM(e){let t=!1;if(e==="y")t=tS();else if(e==="x")t=eS();else{const n=eS(),r=tS();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function MM(){const e=kM(!0);return e?(e(),!1):!0}class Ki{constructor(t){this.isMounted=!1,this.node=t}update(){}}function nS(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||MM())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 GB extends Ki{mount(){this.unmount=Or(nS(this.node,!0),nS(this.node,!1))}unmount(){}}class qB extends Ki{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=Or(Cr(this.node.current,"focus",()=>this.onFocus()),Cr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const _M=(e,t)=>t?e===t?!0:_M(e,t.parentElement):!1;function em(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Dp(n))}class KB extends Ki{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&&!_M(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=Or(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()||em("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&c(l,u)})};this.removeEndListeners(),this.removeEndListeners=Cr(this.node.current,"keyup",s),em("down",(a,l)=>{this.startPress(a,l)})},n=Cr(this.node.current,"keydown",t),r=()=>{this.isPressing&&em("cancel",(o,s)=>this.cancelPress(o,s))},i=Cr(this.node.current,"blur",r);this.removeAccessibleListeners=Or(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),!MM()}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=Or(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const cv=new WeakMap,tm=new WeakMap,QB=e=>{const t=cv.get(e.target);t&&t(e)},YB=e=>{e.forEach(QB)};function XB({root:e,...t}){const n=e||document;tm.has(n)||tm.set(n,{});const r=tm.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(YB,{root:e,...t})),r[i]}function ZB(e,t,n){const r=XB(t);return cv.set(e,n),r.observe(e),()=>{cv.delete(e),r.unobserve(e)}}const JB={some:0,all:1};class eU extends Ki{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:JB[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 ZB(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(tU(t,n))&&this.startObserver()}unmount(){}}function tU({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const nU={inView:{Feature:eU},tap:{Feature:KB},focus:{Feature:qB},hover:{Feature:GB}};function OM(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 iU(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Fp(e,t,n){const r=e.getProps();return Xy(r,t,n!==void 0?n:r.custom,rU(e),iU(e))}const $i=e=>e*1e3,Rr=e=>e/1e3,oU={type:"spring",stiffness:500,damping:25,restSpeed:10},sU=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),aU={type:"keyframes",duration:.8},lU={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},uU=(e,{keyframes:t})=>t.length>2?aU:No.has(e)?e.startsWith("scale")?sU(t[1]):oU:lU;function cU({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 Jy(e,t){return e[t]||e.default||e}const dU=e=>e!==null;function Np(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(dU),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}let Qc;function fU(){Qc=void 0}const ji={now:()=>(Qc===void 0&&ji.set(dt.isProcessing||tB.useManualTiming?dt.timestamp:performance.now()),Qc),set:e=>{Qc=e,queueMicrotask(fU)}},RM=e=>/^0[^.\s]+$/u.test(e);function pU(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||RM(e):!0}let hU=bt,e1=bt;const AM=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),mU=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gU(e){const t=mU.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function IM(e,t,n=1){const[r,i]=gU(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return AM(s)?parseFloat(s):s}return Wy(i)?IM(i,t,n+1):i}const vU=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),rS=e=>e===ya||e===Z,iS=(e,t)=>parseFloat(e.split(", ")[t]),oS=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return iS(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?iS(o[1],e):0}},yU=new Set(["x","y","z"]),xU=Nu.filter(e=>!yU.has(e));function wU(e){const t=[];return xU.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ia={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:oS(4,13),y:oS(5,14)};ia.translateX=ia.x;ia.translateY=ia.y;const LM=e=>t=>t.test(e),bU={test:e=>e==="auto",parse:e=>e},$M=[ya,Z,cr,ei,EB,CB,bU],sS=e=>$M.find(LM(e)),Po=new Set;let dv=!1,fv=!1;function jM(){if(fv){const e=Array.from(Po).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=wU(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)})}fv=!1,dv=!1,Po.forEach(e=>e.complete()),Po.clear()}function DM(){Po.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(fv=!0)})}function SU(){DM(),jM()}class t1{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?(Po.add(this),dv||(dv=!0,Qe.read(DM),Qe.resolveKeyframes(jM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;on=>!!(zu(n)&&SB.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),FM=(e,t,n)=>r=>{if(!zu(r))return r;const[i,o,s,a]=r.match(Hy);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},CU=e=>Bi(0,255,e),nm={...ya,transform:e=>Math.round(CU(e))},po={test:n1("rgb","red"),parse:FM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+nm.transform(e)+", "+nm.transform(t)+", "+nm.transform(n)+", "+ml(hl.transform(r))+")"};function EU(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 pv={test:n1("#"),parse:EU,transform:po.transform},ps={test:n1("hsl","hue"),parse:FM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+cr.transform(ml(t))+", "+cr.transform(ml(n))+", "+ml(hl.transform(r))+")"},Mt={test:e=>po.test(e)||pv.test(e)||ps.test(e),parse:e=>po.test(e)?po.parse(e):ps.test(e)?ps.parse(e):pv.parse(e),transform:e=>zu(e)?e:e.hasOwnProperty("red")?po.transform(e):ps.transform(e)};function PU(e){var t,n;return isNaN(e)&&zu(e)&&(((t=e.match(Hy))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(bB))===null||n===void 0?void 0:n.length)||0)>0}const NM="number",zM="color",TU="var",kU="var(",aS="${}",MU=/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 rf(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(MU,l=>(Mt.test(l)?(r.color.push(o),i.push(zM),n.push(Mt.parse(l))):l.startsWith(kU)?(r.var.push(o),i.push(TU),n.push(l)):(r.number.push(o),i.push(NM),n.push(parseFloat(l))),++o,aS)).split(aS);return{values:n,split:a,indexes:r,types:i}}function VM(e){return rf(e).values}function BM(e){const{split:t,types:n}=rf(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function OU(e){const t=VM(e);return BM(e)(t.map(_U))}const Ui={test:PU,parse:VM,createTransformer:BM,getAnimatableNone:OU},RU=new Set(["brightness","contrast","saturate","opacity"]);function AU(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Hy)||[];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 IU=/\b([a-z-]*)\(.*?\)/gu,hv={...Ui,getAnimatableNone:e=>{const t=e.match(IU);return t?t.map(AU).join(" "):e}},LU={...gM,color:Mt,backgroundColor:Mt,outlineColor:Mt,fill:Mt,stroke:Mt,borderColor:Mt,borderTopColor:Mt,borderRightColor:Mt,borderBottomColor:Mt,borderLeftColor:Mt,filter:hv,WebkitFilter:hv},r1=e=>LU[e];function UM(e,t){let n=r1(e);return n!==hv&&(n=Ui),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function $U(e,t,n){let r=0,i;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function jU(e){let t;return()=>(t===void 0&&(t=e()),t)}const lS=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ui.test(e)||e==="0")&&!e.startsWith("url("));function DU(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n{this.resolveFinishedPromise=t})}}function i1(e,t){return t?e*(1e3/t):0}const NU=5;function GM(e,t,n){const r=Math.max(t-NU,0);return i1(n-e(r),t-r)}const rm=.001,zU=.01,VU=10,BU=.05,UU=1;function WU({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o,s=1-t;s=Bi(BU,UU,s),e=Bi(zU,VU,Rr(e)),s<1?(i=u=>{const c=u*s,d=c*e,f=c-n,p=mv(u,s),h=Math.exp(-d);return rm-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=mv(Math.pow(u,2),s);return(-i(u)+rm>0?-1:1)*((f-p)*h)/m}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-rm+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=GU(i,o,a);if(e=$i(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 HU=12;function GU(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function QU(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!uS(e,KU)&&uS(e,qU)){const n=WU(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function qM({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}=QU({...r,velocity:-Rr(r.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(a*u)),m=o-i,x=Rr(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=mv(x,h);y=w=>{const S=Math.exp(-h*x*w);return o-S*((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 S=Math.exp(-h*x*w),E=Math.min(v*w,300);return o-S*((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 S=p;v!==0&&(h<1?S=GM(y,v,w):S=0);const E=Math.abs(S)<=n,T=Math.abs(o-w)<=t;s.done=E&&T}return s.value=s.done?o:w,s}}}function cS({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 M=y(P),k=v(P);f.done=Math.abs(M)<=u,f.value=f.done?g:k};let S,E;const T=P=>{p(f.value)&&(S=P,E=qM({keyframes:[f.value,h(f.value)],velocity:GM(v,P,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let M=!1;return!E&&S===void 0&&(M=!0,w(P),T(P)),S!==void 0&&P>=S?E.next(P-S):(!M&&w(P),f)}}}const KM=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,YU=1e-7,XU=12;function ZU(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=KM(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>YU&&++aZU(o,0,1,e,n);return o=>o===0||o===1?o:KM(i(o),t,r)}const JU=Bu(.42,0,1,1),eW=Bu(0,0,.58,1),QM=Bu(.42,0,.58,1),tW=e=>Array.isArray(e)&&typeof e[0]!="number",YM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,XM=e=>t=>1-e(1-t),o1=e=>1-Math.sin(Math.acos(e)),ZM=XM(o1),nW=YM(o1),JM=Bu(.33,1.53,.69,.99),s1=XM(JM),rW=YM(s1),iW=e=>(e*=2)<1?.5*s1(e):.5*(2-Math.pow(2,-10*(e-1))),oW={linear:bt,easeIn:JU,easeInOut:QM,easeOut:eW,circIn:o1,circInOut:nW,circOut:ZM,backIn:s1,backInOut:rW,backOut:JM,anticipate:iW},dS=e=>{if(Array.isArray(e)){e1(e.length===4);const[t,n,r,i]=e;return Bu(t,n,r,i)}else if(typeof e=="string")return oW[e];return e},oa=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},je=(e,t,n)=>e+(t-e)*n;function im(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 sW({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=im(l,a,e+1/3),o=im(l,a,e),s=im(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const om=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},aW=[pv,po,ps],lW=e=>aW.find(t=>t.test(e));function fS(e){const t=lW(e);let n=t.parse(e);return t===ps&&(n=sW(n)),n}const pS=(e,t)=>{const n=fS(e),r=fS(t),i={...n};return o=>(i.red=om(n.red,r.red,o),i.green=om(n.green,r.green,o),i.blue=om(n.blue,r.blue,o),i.alpha=je(n.alpha,r.alpha,o),po.transform(i))};function gv(e,t){return n=>n>0?t:e}function uW(e,t){return n=>je(e,t,n)}function a1(e){return typeof e=="number"?uW:typeof e=="string"?Wy(e)?gv:Mt.test(e)?pS:fW:Array.isArray(e)?e_:typeof e=="object"?Mt.test(e)?pS:cW:gv}function e_(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>a1(o)(o,t[s]));return o=>{for(let s=0;s{for(const o in r)n[o]=r[o](i);return n}}function dW(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o{const n=Ui.createTransformer(t),r=rf(e),i=rf(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?Or(e_(dW(r,i),i.values),n):gv(e,t)};function t_(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?je(e,t,n):a1(e)(e,t)}function pW(e,t,n){const r=[],i=n||t_,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=pW(t,r,i),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(Bi(e[0],e[o-1],u)):l}function hW(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=oa(0,t,r);e.push(je(n,1,i))}}function r_(e){const t=[0];return hW(t,e.length-1),t}function mW(e,t){return e.map(n=>n*t)}function gW(e,t){return e.map(()=>t||QM).splice(0,e.length-1)}function of({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=tW(r)?r.map(dS):dS(r),o={done:!1,value:t[0]},s=mW(n&&n.length===t.length?n:r_(t),e),a=n_(s,t,{ease:Array.isArray(i)?i:gW(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const hS=2e4;function vW(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=hS?1/0:t}const yW=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Qe.update(t,!0),stop:()=>Dr(t),now:()=>dt.isProcessing?dt.timestamp:ji.now()}},xW={decay:cS,inertia:cS,tween:of,keyframes:of,spring:qM},wW=e=>e/100;class l1 extends HM{constructor({KeyframeResolver:t=t1,...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=xW[n]||of;let l,u;a!==of&&typeof t[0]!="number"&&(l=Or(wW,t_(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=vW(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 M=Math.floor(P),k=P%1;!k&&P>=1&&(k=1),k===1&&M--,M=Math.min(M,p+1),!!(M%2)&&(h==="reverse"?(k=1-k,m&&(k-=m/d)):h==="mirror"&&(w=s)),v=Bi(0,1,k)*d}const S=y?{done:!1,value:l[0]}:w.next(v);a&&(S.value=a(S.value));let{done:E}=S;!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&&(S.value=Np(l,this.options,i)),x&&x(S.value),T&&this.finish(),S}get duration(){const{resolved:t}=this;return t?Rr(t.calculatedDuration):0}get time(){return Rr(this.currentTime)}set time(t){t=$i(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=Rr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=yW,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 i_=e=>Array.isArray(e)&&typeof e[0]=="number";function o_(e){return!!(!e||typeof e=="string"&&e in u1||i_(e)||Array.isArray(e)&&e.every(o_))}const Ka=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,u1={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ka([0,.65,.55,1]),circOut:Ka([.55,0,1,.45]),backIn:Ka([.31,.01,.66,-.59]),backOut:Ka([.33,1.53,.69,.99])};function bW(e){return s_(e)||u1.easeOut}function s_(e){if(e)return i_(e)?Ka(e):Array.isArray(e)?e.map(bW):u1[e]}function SW(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=s_(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 CW=jU(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),EW=new Set(["opacity","clipPath","filter","transform"]),sf=10,PW=2e4;function TW(e){return e.type==="spring"||e.name==="backgroundColor"||!o_(e.ease)}function kW(e,t){const n=new l1({...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(TW(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...h}=this.options,m=kW(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=SW(l.owner.current,u,t,{...this.options,duration:i,times:o,ease:s});return c.startTime=ji.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;l.set(Np(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 Rr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Rr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=$i(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 l1({...d,keyframes:r,duration:i,type:o,ease:s,times:a,isGenerator:!0}),p=$i(this.time);l.setWithVelocity(f.sample(p-sf).value,f.sample(p).value,sf)}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 CW()&&r&&EW.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&o!=="mirror"&&s!==0&&a!=="inertia"}}const c1=(e,t,n,r={},i,o)=>s=>{const a=Jy(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-$i(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};cU(a)||(c={...c,...uU(e,c)}),c.duration&&(c.duration=$i(c.duration)),c.repeatDelay&&(c.repeatDelay=$i(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=Np(c.keyframes,a);if(f!==void 0){Qe.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!o&&mS.supports(c)?new mS(c):new l1(c)};function af(e){return!!(Ot(e)&&e.add)}function d1(e,t){e.indexOf(t)===-1&&e.push(t)}function f1(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class p1{constructor(){this.subscriptions=[]}add(t){return d1(this.subscriptions,t),()=>f1(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 _W{constructor(t,n={}){this.version="11.1.7",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=ji.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=MW(this.current),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=ji.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 p1);const r=this.events[t].add(n);return t==="change"?()=>{r(),Qe.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=ji.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>gS)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,gS);return i1(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 _W(e,t)}function OW(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Er(n))}function h1(e,t){const n=Fp(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=FB(o[s]);OW(e,s,a)}}function RW({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function a_(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,...Jy(s||{},f)};let x=!1;if(window.HandoffAppearAnimations){const v=e.getProps()[lM];if(v){const w=window.HandoffAppearAnimations(v,f);w!==null&&(m.elapsed=w,x=!0)}}p.start(c1(f,p,h,e.shouldReduceMotion&&No.has(f)?{type:!1}:m,e,x));const g=p.animation;g&&(af(u)&&(u.add(f),g.then(()=>u.remove(f))),c.push(g))}return a&&Promise.all(c).then(()=>{Qe.update(()=>{a&&h1(e,a)})}),c}function vv(e,t,n={}){var r;const i=Fp(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(a_(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=o;return AW(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 AW(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(IW).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(vv(u,t,{...o,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function IW(e,t){return e.sortNodePosition(t)}function l_(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>vv(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=vv(e,t,n);else{const i=typeof t=="function"?Fp(e,t,n.custom):t;r=Promise.all(a_(e,i,n))}return r.then(()=>{Qe.postRender(()=>{e.notify("AnimationComplete",t)})})}const LW=[...Vy].reverse(),$W=Vy.length;function jW(e){return t=>Promise.all(t.map(({animation:n,options:r})=>l_(e,n,r)))}function DW(e){let t=jW(e);const n=NW();let r=!0;const i=l=>(u,c)=>{var d;const f=Fp(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;x<$W;x++){const g=LW[x],y=n[g],v=u[g]!==void 0?u[g]:c[g],w=iu(v),S=g===l?y.isActive:null;S===!1&&(h=x);let E=v===c[g]&&v!==u[g]&&w;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),y.protectedKeys={...p},!y.isActive&&S===null||!v&&!y.prevProp||$p(v)||typeof v=="boolean")continue;let P=FW(y.prevProp,v)||g===l&&y.isActive&&!E&&w||x>h&&w,M=!1;const k=Array.isArray(v)?v:[v];let A=k.reduce(i(g),{});S===!1&&(A={});const{prevResolvedValues:I={}}=y,$={...I,...A},D=B=>{P=!0,f.has(B)&&(M=!0,f.delete(B)),y.needsAnimating[B]=!0;const N=e.getValue(B);N&&(N.liveStyle=!1)};for(const B in $){const N=A[B],H=I[B];if(p.hasOwnProperty(B))continue;let R=!1;uv(N)&&uv(H)?R=!OM(N,H):R=N!==H,R?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||M)&&d.push(...k.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 FW(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!OM(t,e):!1}function Zi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function NW(){return{animate:Zi(!0),whileInView:Zi(),whileHover:Zi(),whileTap:Zi(),whileDrag:Zi(),whileFocus:Zi(),exit:Zi()}}class zW extends Ki{constructor(t){super(t),t.animationState||(t.animationState=DW(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),$p(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 VW=0;class BW extends Ki{constructor(){super(...arguments),this.id=VW++}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 UW={animation:{Feature:zW},exit:{Feature:BW}},vS=(e,t)=>Math.abs(e-t);function WW(e,t){const n=vS(e.x,t.x),r=vS(e.y,t.y);return Math.sqrt(n**2+r**2)}class u_{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=am(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=WW(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=sm(f,this.transformPagePoint),Qe.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=am(d.type==="pointercancel"?this.lastMoveEventInfo:sm(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,x),h&&h(d,x)},!PM(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=Dp(t),a=sm(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=dt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,am(a,this.history)),this.removeListeners=Or(_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 sm(e,t){return t?{point:t(e.point)}:e}function yS(e,t){return{x:e.x-t.x,y:e.y-t.y}}function am({point:e},t){return{point:e,delta:yS(e,c_(t)),offset:yS(e,HW(t)),velocity:GW(t,.1)}}function HW(e){return e[0]}function c_(e){return e[e.length-1]}function GW(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=c_(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>$i(t)));)n--;if(!r)return{x:0,y:0};const o=Rr(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 yv(e,t=0,n=.01){return Math.abs(e-t)<=n}function xS(e,t,n,r=.5){e.origin=r,e.originPoint=je(t.min,t.max,e.origin),e.scale=sn(n)/sn(t),(yv(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=je(n.min,n.max,e.origin)-e.originPoint,(yv(e.translate)||isNaN(e.translate))&&(e.translate=0)}function gl(e,t,n,r){xS(e.x,t.x,n.x,r?r.originX:void 0),xS(e.y,t.y,n.y,r?r.originY:void 0)}function wS(e,t,n){e.min=n.min+t.min,e.max=e.min+sn(t)}function qW(e,t,n){wS(e.x,t.x,n.x),wS(e.y,t.y,n.y)}function bS(e,t,n){e.min=t.min-n.min,e.max=e.min+sn(t)}function vl(e,t,n){bS(e.x,t.x,n.x),bS(e.y,t.y,n.y)}function KW(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?je(n,e,r.max):Math.min(e,n)),e}function SS(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 QW(e,{top:t,left:n,bottom:r,right:i}){return{x:SS(e.x,n,i),y:SS(e.y,t,r)}}function CS(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=oa(t.min,t.max-r,e.min):r>i&&(n=oa(e.min,e.max-i,t.min)),Bi(0,1,n)}function ZW(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 xv=.35;function JW(e=xv){return e===!1?e=0:e===!0&&(e=xv),{x:ES(e,"left","right"),y:ES(e,"top","bottom")}}function ES(e,t,n){return{min:PS(e,t),max:PS(e,n)}}function PS(e,t){return typeof e=="number"?e:e[t]||0}const TS=()=>({translate:0,scale:1,origin:0,originPoint:0}),hs=()=>({x:TS(),y:TS()}),kS=()=>({min:0,max:0}),qe=()=>({x:kS(),y:kS()});function fn(e){return[e("x"),e("y")]}function d_({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function eH({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function tH(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 lm(e){return e===void 0||e===1}function wv({scale:e,scaleX:t,scaleY:n}){return!lm(e)||!lm(t)||!lm(n)}function ro(e){return wv(e)||f_(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function f_(e){return MS(e.x)||MS(e.y)}function MS(e){return e&&e!=="0%"}function lf(e,t,n){const r=e-n,i=t*r;return n+i}function _S(e,t,n,r,i){return i!==void 0&&(e=lf(e,i,r)),lf(e,n,r)+t}function bv(e,t=0,n=1,r,i){e.min=_S(e.min,t,n,r,i),e.max=_S(e.max,t,n,r,i)}function p_(e,{x:t,y:n}){bv(e.x,t.translate,t.scale,t.originPoint),bv(e.y,n.translate,n.scale,n.originPoint)}function nH(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 ii(e,t){e.min=e.min+t,e.max=e.max+t}function RS(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=je(e.min,e.max,o);bv(e,t[n],t[r],s,t.scale)}const rH=["x","scaleX","originX"],iH=["y","scaleY","originY"];function ms(e,t){RS(e.x,t,rH),RS(e.y,t,iH)}function h_(e,t){return d_(tH(e.getBoundingClientRect(),t))}function oH(e,t,n){const r=h_(e,n),{scroll:i}=t;return i&&(ii(r.x,i.offset.x),ii(r.y,i.offset.y)),r}const m_=({current:e})=>e?e.ownerDocument.defaultView:null,sH=new WeakMap;class aH{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=qe(),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(Dp(c,"page").point)},o=(c,d)=>{const{drag:f,dragPropagation:p,onDragStart:h}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=kM(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=lH(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 u_(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:m_(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||!Sc(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=KW(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&&fs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=QW(i.layoutBox,n):this.constraints=!1,this.elastic=JW(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&fn(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=ZW(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!fs(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=oH(r,i.root,this.visualElement.getTransformPagePoint());let s=YW(i.layout.layoutBox,o);if(n){const a=n(eH(s));this.hasMutatedConstraints=!!a,a&&(s=d_(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(!Sc(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(c1(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(!Sc(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(!fs(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]=XW({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(!Sc(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;sH.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();fs(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=xv,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function Sc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function lH(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class uH extends Ki{constructor(t){super(t),this.removeGroupControls=bt,this.removeListeners=bt,this.controls=new aH(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 AS=e=>(t,n)=>{e&&e(t,n)};class cH extends Ki{constructor(){super(...arguments),this.removePointerDownListener=bt}onPointerDown(t){this.session=new u_(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:m_(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:AS(t),onStart:AS(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 dH(){const e=b.useContext(jy);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 Yc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function IS(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Fa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;const n=IS(e,t.target.x),r=IS(e,t.target.y);return`${n}% ${r}%`}},fH={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ui.parse(e);if(i.length>5)return r;const o=Ui.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 pH extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;hB(hH),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()})),Yc.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()||Qe.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),zy.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 g_(e){const[t,n]=dH(),r=b.useContext(dM);return C.jsx(pH,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(fM),isPresent:t,safeToRemove:n})}const hH={borderRadius:{...Fa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Fa,borderTopRightRadius:Fa,borderBottomLeftRadius:Fa,borderBottomRightRadius:Fa,boxShadow:fH},v_=["TopLeft","TopRight","BottomLeft","BottomRight"],mH=v_.length,LS=e=>typeof e=="string"?parseFloat(e):e,$S=e=>typeof e=="number"||Z.test(e);function gH(e,t,n,r,i,o){i?(e.opacity=je(0,n.opacity!==void 0?n.opacity:1,vH(r)),e.opacityExit=je(t.opacity!==void 0?t.opacity:1,0,yH(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(oa(e,t,r))}function DS(e,t){e.min=t.min,e.max=t.max}function dn(e,t){DS(e.x,t.x),DS(e.y,t.y)}function FS(e,t,n,r,i){return e-=t,e=lf(e,1/n,r),i!==void 0&&(e=lf(e,1/i,r)),e}function xH(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=FS(e.min,t,n,a,i),e.max=FS(e.max,t,n,a,i)}function NS(e,t,[n,r,i],o,s){xH(e,t[n],t[r],t[i],t.scale,o,s)}const wH=["x","scaleX","originX"],bH=["y","scaleY","originY"];function zS(e,t,n,r){NS(e.x,t,wH,n?n.x:void 0,r?r.x:void 0),NS(e.y,t,bH,n?n.y:void 0,r?r.y:void 0)}function VS(e){return e.translate===0&&e.scale===1}function x_(e){return VS(e.x)&&VS(e.y)}function SH(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 w_(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 BS(e){return sn(e.x)/sn(e.y)}class CH{constructor(){this.members=[]}add(t){d1(this.members,t),t.scheduleRender()}remove(t){if(f1(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 US(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 EH=(e,t)=>e.depth-t.depth;class PH{constructor(){this.children=[],this.isDirty=!1}add(t){d1(this.children,t),this.isDirty=!0}remove(t){f1(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(EH),this.isDirty=!1,this.children.forEach(t)}}function TH(e,t){const n=ji.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Dr(r),e(o-t))};return Qe.read(r,!0),()=>Dr(r)}function kH(e){window.MotionDebug&&window.MotionDebug.record(e)}function MH(e){return e instanceof SVGElement&&e.tagName!=="svg"}function _H(e,t,n){const r=Ot(e)?e:Er(e);return r.start(c1("",r,t,n)),r.animation}const um=["","X","Y","Z"],OH={visibility:"hidden"},WS=1e3;let RH=0;const io={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function cm(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function b_({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,io.totalNodes=io.resolvedTargetDeltas=io.recalculatedProjection=0,this.nodes.forEach(LH),this.nodes.forEach(NH),this.nodes.forEach(zH),this.nodes.forEach($H),kH(io)},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=TH(f,250),Yc.hasAnimatedSinceResize&&(Yc.hasAnimatedSinceResize=!1,this.nodes.forEach(GS))})}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()||HH,{onLayoutAnimationStart:x,onLayoutAnimationComplete:g}=c.getProps(),y=!this.targetLayout||!w_(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={...Jy(m,"layout"),onPlay:x,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else f||GS(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(VH),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(jH),this.sharedNodes.forEach(BH)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Qe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Qe.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 S=w/1e3;qS(d.x,s.x,S),qS(d.y,s.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vl(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),UH(this.relativeTarget,this.relativeTargetOrigin,f,S),v&&SH(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=qe()),dn(v,this.relativeTarget)),m&&(this.animationValues=c,gH(c,u,this.latestValues,S,y,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},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=Qe.update(()=>{Yc.hasAnimatedSinceResize=!0,this.currentAnimation=_H(0,WS,{...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(WS),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&&S_(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||qe();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),ms(a,c),gl(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new CH),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&&cm("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(HS),this.root.sharedNodes.clear()}}}function AH(e){e.updateLayout()}function IH(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}):S_(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=hs();gl(a,r,n.layoutBox);const l=hs();s?gl(l,e.applyTransform(i,!0),n.measuredBox):gl(l,r,n.layoutBox);const u=!x_(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=qe();vl(h,n.layoutBox,f.layoutBox);const m=qe();vl(m,r,p.layoutBox),w_(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 LH(e){io.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 $H(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function jH(e){e.clearSnapshot()}function HS(e){e.clearMeasurements()}function DH(e){e.isLayoutDirty=!1}function FH(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function GS(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function NH(e){e.resolveTargetDelta()}function zH(e){e.calcProjection()}function VH(e){e.resetSkewAndRotation()}function BH(e){e.removeLeadSnapshot()}function qS(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 KS(e,t,n,r){e.min=je(t.min,n.min,r),e.max=je(t.max,n.max,r)}function UH(e,t,n,r){KS(e.x,t.x,n.x,r),KS(e.y,t.y,n.y,r)}function WH(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const HH={duration:.45,ease:[.4,0,.1,1]},QS=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),YS=QS("applewebkit/")&&!QS("chrome/")?Math.round:bt;function XS(e){e.min=YS(e.min),e.max=YS(e.max)}function GH(e){XS(e.x),XS(e.y)}function S_(e,t,n){return e==="position"||e==="preserve-aspect"&&!yv(BS(t),BS(n),.2)}const qH=b_({attachResizeListener:(e,t)=>Cr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),dm={current:void 0},C_=b_({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!dm.current){const e=new qH({});e.mount(window),e.setOptions({layoutScroll:!0}),dm.current=e}return dm.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),KH={pan:{Feature:cH},drag:{Feature:uH,ProjectionNode:C_,MeasureLayout:g_}},Sv={current:null},E_={current:!1};function QH(){if(E_.current=!0,!!Dy)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Sv.current=e.matches;e.addListener(t),t()}else Sv.current=!1}function YH(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(Ot(o))e.addValue(i,o),af(r)&&r.add(i);else if(Ot(s))e.addValue(i,Er(o,{owner:e})),af(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 ZS=new WeakMap,XH=[...$M,Mt,Ui],ZH=e=>XH.find(LM(e)),P_=Object.keys(ou),JH=P_.length,JS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eG=By.length;function T_(e){if(e)return e.options.allowProjection!==!1?e.projection:T_(e.parent)}class tG{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=t1,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=()=>Qe.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=jp(n),this.isVariantNode=cM(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&&Ot(p)&&(p.set(l[f],!1),af(c)&&c.add(f))}}mount(t){this.current=t,ZS.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)),E_.current||QH(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Sv.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var t;ZS.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=No.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Qe.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):qe()}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"&&(AM(i)||RM(i))?i=parseFloat(i):!ZH(i)&&Ui.test(n)&&(i=UM(t,n)),this.setBaseTarget(t,Ot(i)?i.get():i)),Ot(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=Xy(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&&!Ot(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 p1),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class k_ extends tG{constructor(){super(...arguments),this.KeyframeResolver=WM}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 nG(e){return window.getComputedStyle(e)}class rG extends k_{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(No.has(n)){const r=r1(n);return r&&r.default||0}else{const r=nG(t),i=(mM(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return h_(t,n)}build(t,n,r,i){Gy(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Yy(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ot(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){wM(t,n,r,i)}}class iG extends k_{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(No.has(n)){const r=r1(n);return r&&r.default||0}return n=bM.has(n)?n:Ny(n),t.getAttribute(n)}measureInstanceViewportBox(){return qe()}scrapeMotionValuesFromProps(t,n,r){return CM(t,n,r)}build(t,n,r,i){Ky(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){SM(t,n,r,i)}mount(t){this.isSVGTag=Qy(t.tagName),super.mount(t)}}const oG=(e,t)=>Uy(e)?new iG(t,{enableHardwareAcceleration:!1}):new rG(t,{allowProjection:e!==b.Fragment,enableHardwareAcceleration:!0}),sG={layout:{ProjectionNode:C_,MeasureLayout:g_}},aG={...UW,...nU,...KH,...sG},lG=fB((e,t)=>UB(e,t,aG,oG));function uG(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(e1(!!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 Xc=new WeakMap;let ti;function cG(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 dG({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Xc.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return cG(e,n)}})})}function fG(e){e.forEach(dG)}function pG(){typeof ResizeObserver>"u"||(ti=new ResizeObserver(fG))}function hG(e,t){ti||pG();const n=uG(e);return n.forEach(r=>{let i=Xc.get(r);i||(i=new Set,Xc.set(r,i)),i.add(t),ti==null||ti.observe(r)}),()=>{n.forEach(r=>{const i=Xc.get(r);i==null||i.delete(t),i!=null&&i.size||ti==null||ti.unobserve(r)})}}const Zc=new Set;let yl;function mG(){yl=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Zc.forEach(n=>n(t))},window.addEventListener("resize",yl)}function gG(e){return Zc.add(e),yl||mG(),()=>{Zc.delete(e),!Zc.size&&yl&&(yl=void 0)}}function vG(e,t){return typeof e=="function"?gG(e):hG(e,t)}const yG=50,eC=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),xG=()=>({time:0,x:eC(),y:eC()}),wG={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function tC(e,t,n,r){const i=n[t],{length:o,position:s}=wG[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=oa(0,i.scrollLength,i.current);const u=r-l;i.velocity=u>yG?0:i1(i.current-a,u)}function bG(e,t,n){tC(e,"x",t,n),tC(e,"y",t,n),t.time=n}function SG(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 CG={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Cv={start:0,center:.5,end:1};function nC(e,t,n=0){let r=0;if(e in Cv&&(e=Cv[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 EG=[0,0];function PG(e,t,n,r){let i=Array.isArray(e)?e:EG,o=0,s=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,Cv[e]?e:"0"]),o=nC(i[0],n,r),s=nC(i[1],t),o-s}const TG={x:0,y:0};function kG(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function MG(e,t,n){const{offset:r=CG.All}=n,{target:i=e,axis:o="y"}=n,s=o==="y"?"height":"width",a=i!==e?SG(i,e):TG,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:kG(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;f_G(e,r.target,n),update:i=>{bG(e,n,i),(r.offset||r.target)&&MG(e,n,r)},notify:()=>t(n)}}const Na=new WeakMap,rC=new WeakMap,fm=new WeakMap,iC=e=>e===document.documentElement?window:e;function RG(e,{container:t=document.documentElement,...n}={}){let r=fm.get(t);r||(r=new Set,fm.set(t,r));const i=xG(),o=OG(t,e,i,n);if(r.add(o),!Na.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=()=>{Qe.read(a,!1,!0),Qe.read(l,!1,!0),Qe.update(u,!1,!0)};Na.set(t,c);const d=iC(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&rC.set(t,vG(t,c)),d.addEventListener("scroll",c,{passive:!0})}const s=Na.get(t);return Qe.read(s,!1,!0),()=>{var a;Dr(s);const l=fm.get(t);if(!l||(l.delete(o),l.size))return;const u=Na.get(t);Na.delete(t),u&&(iC(t).removeEventListener("scroll",u),(a=rC.get(t))===null||a===void 0||a(),window.removeEventListener("resize",u))}}function oC(e,t){hU(!!(!t||t.current))}const AG=()=>({scrollX:Er(0),scrollY:Er(0),scrollXProgress:Er(0),scrollYProgress:Er(0)});function zp({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=Zy(AG);return(n?Fy:b.useEffect)(()=>(oC("target",t),oC("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 IG(e){e.values.forEach(t=>t.stop())}function Ev(e,t){[...t].reverse().forEach(r=>{const i=e.getVariant(r);i&&h1(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{Ev(o,t)})})}function LG(e,t){if(Array.isArray(t))return Ev(e,t);if(typeof t=="string")return Ev(e,[t]);h1(e,t)}function $G(){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(l_(o,n,{transitionOverride:r}))}),Promise.all(i)},set(n){return e.forEach(r=>{LG(r,n)})},stop(){e.forEach(n=>{IG(n)})},mount(){return()=>{t.stop()}}};return t}function jG(){const e=Zy($G);return Fy(e.mount,[]),e}const DG=jG,sC=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(()=>{x7(async p=>{await w7(p)}).then(()=>{c(!0)})},[]);const d=DG(),f=async p=>{p&&(console.log(p),d.start({opacity:1,transition:{duration:1}}))};return C.jsx(lG.div,{style:{...e.sx},animate:d,className:J7("opacity-0",n),children:u&&C.jsx(y7,{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 aC(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`${ha.getUri()}/sponsor-logos/${o}.png`}return C.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:C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",height:"100%",gap:"15px"},children:[C.jsx("img",{style:{maxWidth:"48px",mixBlendMode:"luminosity"},src:"/logo256.png"}),C.jsx(Q,{sx:{marginTop:"10px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"30px",maxWidth:"100%"},children:e.project.members.map(i=>C.jsx("img",{style:{maxHeight:"50px",maxWidth:"100%"},src:r(i)}))}),C.jsx(Q,{sx:{flexGrow:1}}),C.jsx(ae,{sx:{lineHeight:.7,fontSize:"2.8rem",fontWeight:"bold",color:"black",textAlign:"end"},children:e.project.tier})]})})}function M_(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,o]=W.useState(0),{scrollYProgress:s}=zp({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)))})},[]),C.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:[C.jsx(ae,{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 FG(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,o]=W.useState([]),{scrollYProgress:s}=zp({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"]}])},[]),C.jsxs(Q,{sx:{width:"100%",height:"100%",display:"flex",position:"relative",justifyContent:"center",padding:{xs:"15px",md:"0px 100px 0px 50px"}},children:[C.jsxs(Q,{sx:{display:{xs:"none",md:"flex"},flexDirection:"column",width:"100%",height:"max-content",position:"sticky",top:"45vh",left:"0px",textAlign:"center"},children:[C.jsx(ae,{sx:{fontSize:"2.5rem",fontWeight:"bold"},children:"Our Sponsors"}),C.jsx(kg,{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?C.jsxs(Q,{sx:{display:"flex",flexDirection:"column"},children:[C.jsx(M_,{title:"Our Sponsors",stickyPosition:"40vh",children:i.map(a=>C.jsx(aC,{project:a}))}),C.jsx(kg,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold",textAlign:"center"},children:"Want to be a part of something amazing? Sponsor us today!"})]}):C.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)=>C.jsx(aC,{project:a,sx:{top:`calc(22vh + ${l*40}px)`,transform:`scale(${1+l*.03})`}}))})]})}function NG(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 C.jsxs(Q,{id:e==null?void 0:e.id,sx:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[C.jsx(ae,{id:"contact-us",sx:{fontSize:"3rem",fontWeight:"bold",textAlign:"center"},children:"Stay Connected!"}),C.jsx(ae,{sx:{textAlign:"center"},children:"We hold a lot of events thoughout the year, Keep in touch with us!"}),C.jsx(p2,{sx:{marginTop:"25px"},fontSize:"2rem"}),C.jsx(gF,{sx:{minWidth:{xs:"90%",md:"60%",lg:"40%"},marginTop:"40px"},placeholder:"Drop us an Email!",value:t,onChange:i=>{n(i.target.value)},endAdornment:C.jsx(Ul,{onClick:r,children:C.jsx(hL,{})})})]})}const lC=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}=zp({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)})},[]),C.jsx(Q,{ref:t,children:e.mobileView?C.jsx(M_,{title:"Projects",sx:{padding:"20px"},children:e.data.map(o=>C.jsx(Gw,{mobileView:!0,project:o},o._id))}):C.jsx(Q,{ref:n,sx:{height:`${e.data.length*600}px`},children:C.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=>C.jsx(Gw,{mobileView:!1,project:o},o._id))})})})}),uC=[{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 zG(){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=wL(m2.baseTheme.breakpoints.down("md")),[n,r]=W.useState(-120),[i]=W.useState([]),[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(S=>(S.end!=w&&(l(!0),S.start=S.end,S.end=w,console.warn(`Gradient Transition: ${S.start} -> ${S.end}`)),S))}const c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(null),h=b.useRef(null),{scrollYProgress:m}=zp({target:c,offset:["start start","end end"]});W.useEffect(()=>{m.on("change",w=>{var $,D,B,N,H,R,L;r(Math.min(-120*(1-30*w),0));const S=((($=c.current)==null?void 0:$.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,M=P+(((H=p==null?void 0:p.current)==null?void 0:H.offsetHeight)??0)+100,k=(((R=h==null?void 0:h.current)==null?void 0:R.offsetTop)??0)-100,A=k+(((L=h==null?void 0:h.current)==null?void 0:L.offsetHeight)??0)+400,I=A;S>E&&SP&&Sk&&SI?u(4):u(0)})},[]);const[x]=W.useState("fixed"),{data:g,isLoading:y,error:v}=Bk({queryKey:["projects"],queryFn:async()=>await Uk.getAll()});return C.jsxs(C.Fragment,{children:[C.jsxs(Q,{ref:c,id:"maindiv-001",sx:{position:"relative"},children:[i.length<1?C.jsx(C.Fragment,{}):C.jsx(a2,{events:i}),C.jsx($d,{links:uC,fullWidth:!0}),C.jsx(Q,{id:"paddingdiv-001",sx:{height:"50px"}}),C.jsx(qa.ScrollContainer,{style:{position:x,scrollBehavior:"smooth",overflow:"visible",width:"100%",height:"100%"},children:C.jsx(qa.ScrollPage,{style:{width:"100%",overflow:"visible",flexDirection:"column",display:"flex",alignItems:"center",justifyContent:"flex-start"},children:C.jsxs(qa.Animator,{style:{width:"100%",overflow:"visible"},animation:qa.batch(BG(1,-.5,0),VG(3,1,0),UG(0,-400,0)),children:[C.jsx("div",{id:"stars1"}),C.jsx("div",{id:"stars2"}),C.jsx("div",{id:"stars3"}),C.jsxs(ae,{sx:{flexGrow:1,fontSize:"4vw",fontWeight:"bold",textAlign:"center"},children:["Empower Code. Inspire Design.",C.jsx("br",{}),"Drive Innovation."]}),C.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:[C.jsx(zh,{end:5e5,title:"Dollars Saved",prefix:"$",minWidth:336,alignSelf:{xs:"center",md:"flex-start"}}),C.jsx(zh,{end:170,title:"Members",minWidth:81}),C.jsx(zh,{end:5e4,title:"Lines of Code",minWidth:267,alignSelf:{xs:"center",md:"flex-end"}})]})]})})}),C.jsx(Q,{id:"paddingdiv-002",sx:{height:"100vh"}}),t?C.jsx(Q,{ref:f,sx:{padding:"10px"},id:"subdiv-002",children:C.jsx(lC,{sx:{},mobileView:!0,data:g,isLoading:y,error:v})}):C.jsx(Q,{ref:f,id:"subdiv-002",children:C.jsx(lC,{sx:{height:"300vh"},data:g,isLoading:y,error:v})}),t&&!t?C.jsx(C.Fragment,{}):C.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:[C.jsx(sC,{id:"members_sparkles",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"}),C.jsx(Q,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:C.jsx(Zz,{id:"member-carousel"})}),C.jsx(sC,{id:"members_sparkles2",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"})]}),C.jsx(Q,{id:"paddingdiv-003",sx:{height:"150px"}}),C.jsx(Q,{id:"sponsors",ref:h,children:C.jsx(FG,{mobileView:t})}),C.jsx(Q,{id:"paddingdiv-006",sx:{height:"200px"}}),C.jsx(NG,{id:"contact"}),C.jsx(Q,{id:"paddingdiv-006",sx:{height:"200px"}}),C.jsx(h2,{}),C.jsx($d,{links:uC,translucent:!0,sx:{marginTop:"25px",zIndex:5,position:"fixed",top:`${n}px`,left:"0px"}})]}),C.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 VG=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`scale(${t*(1-r)+e*r})`)}}}),BG=(e,t,n)=>({out:{style:{opacity:r=>(r=Math.max(r-n,0),e*(1-r)+t*r)}}}),UG=(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 WG(){const{projectId:e}=R5(),{data:t,isFetching:n,error:r}=Bk({queryKey:["project"],queryFn:async()=>await Uk.getById(e)});return b.useEffect(()=>{window.scrollTo(0,0)},[]),n?C.jsx(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:C.jsx(wD,{})}):r?C.jsx(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:C.jsx(R$,{variant:"filled",severity:"error",children:"Unable to retrieve project data..."})}):C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",gap:"20px",justifyContent:"center",alignItems:"center",minHeight:"100vh"},children:[C.jsx(HG,{name:t.name,organization:t.organization}),C.jsx(GG,{description:t.description}),C.jsx(qG,{demo:t.demo}),C.jsx(KG,{members:t.members})]})}function HG(e){return C.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[C.jsx(ae,{variant:"h2",sx:{fontWeight:"bold"},children:e.name}),C.jsxs(ae,{variant:"h4",sx:{fontStyle:"italic"},children:["In collaboration with ",e.organization]})]})}function GG(e){return C.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[C.jsx(ae,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Overview"}),C.jsx(q0,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),C.jsx(ae,{children:e.description})]})}function qG(e){return C.jsxs(Q,{children:[C.jsx(ae,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Demo"}),C.jsx(q0,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),C.jsx(nD,{sx:{marginTop:"15px",borderRadius:"5px",width:"clamp(25rem, 50vw, 60rem)",backgroundColor:"white",color:"black"},children:e.demo?C.jsx(cD,{component:"iframe",image:e.demo,sx:{width:"inherit",aspectRatio:"16/9",border:"none"}}):C.jsx(ae,{sx:{padding:"15px"},children:"To see a demo of this product, please contact us at umdappdev@gmail.com"})})]})}function KG(e){return C.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[C.jsx(ae,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Members"}),C.jsx(q0,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),C.jsx(Q,{sx:{marginTop:"15px",display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",gap:"10px"},children:e.members.map((t,n)=>C.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?C.jsx(Ld,{src:t.memberInfo.profileUrl,sx:{width:"50px",height:"50px"}},n):b.createElement(Ld,{...v2(`${t.memberInfo.firstName} ${t.memberInfo.lastName}`),sx:{width:"50px",height:"50px"},key:n}),C.jsx(ae,{variant:"subtitle1",sx:{fontWeight:"bold",marginTop:"5px"},children:`${t.memberInfo.firstName} ${t.memberInfo.lastName}`}),C.jsx(ae,{variant:"subtitle2",sx:{opacity:"0.75"},children:t.role})]}))})]})}function QG(){return C.jsx("h1",{children:"WebTierPage"})}function pm(e){return C.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:[C.jsx(YG,{tier:e.tier,backgroundColor:e.backgroundColor,price:e.price}),C.jsx(ZG,{backgroundColor:e.backgroundColor,benefits:e.benefits,prereq:e.prereq})]})}function YG(e){return C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"60%"},children:[C.jsx(ae,{variant:"h4",sx:{textShadow:"-2px 2px 3px gray"},children:e.tier}),C.jsxs(ae,{variant:"h2",sx:{textShadow:"-2px 2px 3px gray"},children:["$",e.price,"+"]}),C.jsx(ae,{variant:"h6",gutterBottom:!0,sx:{textShadow:"-2px 2px 3px gray"},children:"per year"}),C.jsx(XG,{tier:e.tier,backgroundColor:e.backgroundColor})]})}function XG(e){const t=_f();return C.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:C.jsxs(ae,{children:["Select ",e.tier," Tier →"]})})}function ZG(e){return C.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&&C.jsx(ae,{gutterBottom:!0,children:`< Everything included in ${e.prereq}, plus...`}),e.benefits.map((t,n)=>C.jsx(ae,{children:`> ${t}`},n))]})}function JG(){return C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",width:"100%",justifyContent:"center",alignItems:"center",gap:"35px",marginBottom:"100px"},children:[C.jsx(ae,{sx:{textAlign:"center"},variant:"h3",children:"Sponsorship Tiers"}),C.jsxs(Q,{sx:{marginTop:"40px",width:{xs:"100%",md:"75%"},display:"flex",flexDirection:"row",gap:"100px",height:"100vh",flexWrap:"wrap"},children:[C.jsx(pm,{tier:"Gold",backgroundColor:"gold",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),C.jsx(pm,{tier:"Silver",backgroundColor:"silver",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),C.jsx(pm,{tier:"Bronze",backgroundColor:"#CD7F32",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}})]})]})}const eq=new z9;hm.createRoot(document.getElementById("root")).render(C.jsx(tA,{children:C.jsx(H9,{client:eq,children:C.jsxs(RL,{theme:m2.baseTheme,children:[C.jsx(ED,{}),C.jsxs(q5,{children:[C.jsx(Qo,{path:"/",element:C.jsx(zG,{})}),C.jsxs(Qo,{path:"/",element:C.jsx(NF,{}),children:[C.jsx(Qo,{path:"/project/:projectId",element:C.jsx(WG,{})}),C.jsx(Qo,{path:"tier/:tier",element:C.jsx(QG,{})}),C.jsx(Qo,{path:"/sponsor-us",element:C.jsx(JG,{})})]})]})]})})}));export{Mq as $,fq as A,dq as B,iq as C,oq as D,xq as E,yq as F,XV as G,pt as H,Ms as I,fr as J,gq as K,Ay as L,Aq as M,vq as N,Eo as O,Nq as P,Xk as Q,Rq as R,Qk as S,Ap as T,bq as U,jn as V,qk as W,mq as X,Tq as Y,_q as Z,Te as _,hq as a,Oq as a0,Yk as a1,Pq as a2,Rp as a3,d7 as a4,h7 as a5,kq as a6,Fq as a7,Dq as a8,Iy as a9,Cq as aa,Iq as ab,zq as ac,Vq as ad,ds as ae,Eq as af,JV as b,Ry as c,nu as d,ru as e,Wb as f,jq as g,ga as h,Fo as i,yc as j,pq as k,wq as l,ef as m,$q as n,Sq as o,Kh as p,Gk as q,Lq as r,pl as s,sq as t,aq as u,uq as v,lq as w,rq as x,nq as y,cq as z}; +`+o):r.stack=o}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ea(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Ig.assertOptions(r,{silentJSONParsing:Kr.transitional(Kr.boolean),forcedJSONParsing:Kr.transitional(Kr.boolean),clarifyTimeoutError:Kr.transitional(Kr.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:Ig.assertOptions(i,{encode:Kr.function,serialize:Kr.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=[Uw.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 Lu(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 ty(function(i){t=i}),cancel:t}}}const p6=ty;function h6(e){return function(n){return e.apply(null,n)}}function m6(e){return j.isObject(e)&&e.isAxiosError===!0}const Lg={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(Lg).forEach(([e,t])=>{Lg[t]=e});const g6=Lg;function N2(e){const t=new Uc(e),n=x2(Uc.prototype.request,t);return j.extend(n,Uc.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return N2(ea(e,i))},n}const nt=N2(J0);nt.Axios=Uc;nt.CanceledError=Lu;nt.CancelToken=p6;nt.isCancel=$2;nt.VERSION=F2;nt.toFormData=mp;nt.AxiosError=me;nt.Cancel=nt.CanceledError;nt.all=function(t){return Promise.all(t)};nt.spread=h6;nt.isAxiosError=m6;nt.mergeConfig=ea;nt.AxiosHeaders=kr;nt.formToJSON=e=>L2(j.isHTMLForm(e)?new FormData(e):e);nt.getAdapter=D2.getAdapter;nt.HttpStatusCode=g6;nt.default=nt;const ha=nt.create({baseURL:"https://webv2-backend.appdevclub.com"});function v6(e){let t=e.toLowerCase().replaceAll("-","").replaceAll(" ","-");return`${ha.getUri()}/sponsor-logos/${t}.png`}function Gw(e){const t=Of(),n=r=>t(`/project/${r._id}`);return e.mobileView?C.jsxs(Bl,{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:[C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",width:"100%"},children:[C.jsx(ae,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),C.jsx(ae,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),C.jsx(ae,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description})]}),C.jsx(qw,{autoScroll:!0,members:e.project.members})]}):C.jsx(QF,{highlight:!1,onClick:()=>{n(e.project)},style:{minWidth:"800px",height:"60vh",cursor:"pointer"},children:C.jsx(Bl,{sx:{...e==null?void 0:e.sx,borderRadius:"35px",padding:"30px",display:"flex",gap:"15px",color:"#000000",bgcolor:"#ffffff",width:"100%",height:"100%"},children:C.jsxs(Q,{sx:{display:"flex",flexDirection:"column"},children:[C.jsxs(Q,{sx:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},children:[C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",flexGrow:1},children:[C.jsx(ae,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),C.jsx(ae,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization})]}),C.jsx("img",{style:{maxHeight:"36px"},src:v6(e.project.organization)})]}),C.jsx(ae,{sx:{marginTop:"15px"},variant:"body1",children:e.project.description}),C.jsx(qw,{members:e.project.members})]})})})}function qw(e){function t(){return C.jsx(C.Fragment,{children:e.members.map((n,r)=>C.jsx(mj,{label:`${n.memberInfo.firstName} ${n.memberInfo.lastName}`,variant:"outlined",sx:{color:"black",margin:"5px"},avatar:n.memberInfo.profileUrl?C.jsx(Ld,{src:n.memberInfo.profileUrl}):C.jsx(Ld,{...v2(`${n.memberInfo.firstName} ${n.memberInfo.lastName}`)})},r))})}return e.autoScroll?C.jsx(eN,{children:C.jsx(t,{})}):C.jsx(Q,{sx:{marginTop:"10px",display:"flex",flexWrap:"wrap"},children:C.jsx(t,{})})}function Kw(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function ny(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:Kw(t[n])&&Kw(e[n])&&Object.keys(t[n]).length>0&&ny(e[n],t[n])})}const z2={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 ny(e,z2),e}const y6={document:z2,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 ny(e,y6),e}function x6(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function w6(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function $g(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function zd(){return Date.now()}function b6(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 S6(e,t){t===void 0&&(t="x");const n=cn();let r,i,o;const s=b6(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 pc(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function C6(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 ry(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 Vd(e){try{console.warn(e);return}catch{}}function Bd(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:x6(t)),n}function E6(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 P6(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 vi(e,t){return cn().getComputedStyle(e,null).getPropertyValue(t)}function Qw(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function T6(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 Yw(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 kh;function k6(){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 B2(){return kh||(kh=k6()),kh}let Mh;function M6(e){let{userAgent:t}=e===void 0?{}:e;const n=B2(),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 U2(e){return e===void 0&&(e={}),Mh||(Mh=M6(e)),Mh}let Oh;function O6(){const e=cn(),t=U2();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 _6(){return Oh||(Oh=O6()),Oh}function R6(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 A6(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=T6(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 I6={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 L6(){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(vi(r,"padding-left")||0,10)-parseInt(vi(r,"padding-right")||0,10),n=n-parseInt(vi(r,"padding-top")||0,10)-parseInt(vi(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 $6(){const e=this;function t(k,A){return parseFloat(k.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,S=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(k=>{s?k.style.marginLeft="":k.style.marginRight="",k.style.marginBottom="",k.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(hc(r,"--swiper-centered-offset-before",""),hc(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 M=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(k=>typeof n.breakpoints[k].slidesPerView<"u").length>0;for(let k=0;k1&&f.push(e.virtualSize-o)}if(l&&n.loop){const k=h[0]+v;if(n.slidesPerGroup>1){const A=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),I=k*n.slidesPerGroup;for(let $=0;$!n.cssMode||n.loop?!0:I!==c.length-1).forEach(A=>{A.style[k]=`${v}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let k=0;h.forEach(I=>{k+=I+(v||0)}),k-=v;const A=k-o;f=f.map(I=>I<=0?-m:I>A?A+x:I)}if(n.centerInsufficientSlides){let k=0;if(h.forEach(A=>{k+=A+(v||0)}),k-=v,k{f[$]=I-A}),p.forEach((I,$)=>{p[$]=I+A})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){hc(r,"--swiper-centered-offset-before",`${-f[0]}px`),hc(r,"--swiper-centered-offset-after",`${e.size/2-h[h.length-1]/2}px`);const k=-e.snapGrid[0],A=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(I=>I+k),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 k=`${n.containerModifierClass}backface-hidden`,A=e.el.classList.contains(k);d<=n.maxBackfaceHiddenSlides?A||e.el.classList.add(k):A&&e.el.classList.remove(k)}}function j6(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 D6(){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 N6(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 _h=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function z6(){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=P6(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=E6(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(d=>{_h(d,d===l,n.slideActiveClass),_h(d,d===c,n.slideNextClass),_h(d,d===u,n.slidePrevClass)}),e.emitSlidesClasses()}const Wc=(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()}},Rh=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},jg=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)&&Rh(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)&&Rh(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 B6(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=V6(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&&jg(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function U6(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=S&&w=S&&w=S&&(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,S&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return V2({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 nz(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 rz(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 iz(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 oz(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 sz(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 az(){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]),$g(()=>{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]),$g(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var lz={slideTo:tz,slideToLoop:nz,slideNext:rz,slidePrev:iz,slideReset:oz,slideToClosest:sz,slideToClickedSlide:az};function uz(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($=>$.classList.contains(p.slideActiveClass))[0]):S=o;const E=r==="next"||!r,T=r==="prev"||!r;let P=0,M=0;const k=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(k-D-1)}}else if(I+m>k-g){M=Math.max(I-(k-g*2),x);for(let $=0;${B.column===D&&w.push(N)}):w.push(D)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),T&&v.forEach($=>{u[$].swiperLoopMoveDOM=!0,f.prepend(u[$]),u[$].swiperLoopMoveDOM=!1}),E&&w.forEach($=>{u[$].swiperLoopMoveDOM=!0,f.append(u[$]),u[$].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():y&&(v.length>0&&T||w.length>0&&E)&&l.slides.forEach(($,D)=>{l.grid.updateSlide(D,$,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),n){if(v.length>0&&T){if(typeof t>"u"){const $=l.slidesGrid[S],B=l.slidesGrid[S+P]-$;a?l.setTranslate(l.translate-B):(l.slideTo(S+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 $=y?v.length/p.grid.rows:v.length;l.slideTo(l.activeIndex+$,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(w.length>0&&E)if(typeof t>"u"){const $=l.slidesGrid[S],B=l.slidesGrid[S-M]-$;a?l.setTranslate(l.translate-B):(l.slideTo(S-M,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-B,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-B))}else{const $=y?w.length/p.grid.rows:w.length;l.slideTo(l.activeIndex-$,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!s){const $={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({...$,slideTo:D.params.slidesPerView===p.slidesPerView?n:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...$,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?n:!1})}l.emit("loopFix")}function dz(){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 fz={loopCreate:uz,loopFix:cz,loopDestroy:dz};function pz(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 hz(){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 mz={setGrabCursor:pz,unsetGrabCursor:hz};function gz(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 Xw(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 vz(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"){Xw(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?gz(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(!Xw(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=zd(),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 yz(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=zd());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,S=i.resistanceRatio;if(i.touchReleaseOnEdges&&(S=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)**S))):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 xz(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(S=>S.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=zd(),f=d-n.touchStartTime;if(t.allowClick){const S=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(S&&S[0]||r.target,S),t.emit("tap click",r),f<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=zd(),$g(()=>{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 S=0;S=u[S]&&p=u[S])&&(m=S,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 Zw(){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 wz(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function bz(){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 Sz(e){const t=this;Wc(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function Cz(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const H2=(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",Zw,!0):e[u]("observerUpdate",Zw,!0),i[l]("load",e.onLoad,{capture:!0})};function Ez(){const e=this,{params:t}=e;e.onTouchStart=vz.bind(e),e.onTouchMove=yz.bind(e),e.onTouchEnd=xz.bind(e),e.onDocumentTouchStart=Cz.bind(e),t.cssMode&&(e.onScroll=bz.bind(e)),e.onClick=wz.bind(e),e.onLoad=Sz.bind(e),H2(e,"on")}function Pz(){H2(this,"off")}var Tz={attachEvents:Ez,detachEvents:Pz};const Jw=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function kz(){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=Jw(e,r),c=Jw(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,S=l[v]&&l[v].enabled;w&&!S&&e[v].disable(),!w&&S&&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 Mz(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=_z(["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 Az(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var Iz={addClasses:Rz,removeClasses:Az};function Lz(){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 $z={checkOverflow:Lz},Dg={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 jz(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 Ah={eventsEmitter:I6,update:W6,translate:Y6,transition:ez,slide:lz,loop:fz,grabCursor:mz,events:Tz,breakpoints:Oz,checkOverflow:$z,classes:Iz},Ih={};let iy=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=B2(),a.device=U2({userAgent:n.userAgent}),a.browser=_6(),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:jz(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({},Dg,l);return a.params=Zt({},u,Ih,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=Qw(i[0]);return Qw(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&&Wc(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=Bd("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"||vi(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||vi(r,"direction")==="rtl"),wrongRTL:vi(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?Wc(n,o):o.addEventListener("load",s=>{Wc(n,s.target)})}),jg(n),n.initialized=!0,jg(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,w6(r)),r.destroyed=!0),null}static extendDefaults(t){Zt(Ih,t)}static get extendedDefaults(){return Ih}static get defaults(){return Dg}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(Ah).forEach(e=>{Object.keys(Ah[e]).forEach(t=>{iy.prototype[t]=Ah[e][t]})});iy.use([R6,A6]);const G2=["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 Ao(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function Ps(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]:Ao(t[r])&&Ao(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:Ps(e[r],t[r]):e[r]=t[r]})}function q2(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function K2(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function Q2(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function Y2(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 Dz(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function Fz(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:o,prevEl:s,scrollbarEl:a,paginationEl:l}=e;const u=i.filter(M=>M!=="children"&&M!=="direction"&&M!=="wrapperClass"),{params:c,pagination:d,navigation:f,scrollbar:p,virtual:h,thumbs:m}=t;let x,g,y,v,w,S,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=M=>{t[M]&&(t[M].destroy(),M==="navigation"?(t.isElement&&(t[M].prevEl.remove(),t[M].nextEl.remove()),c[M].prevEl=void 0,c[M].nextEl=void 0,t[M].prevEl=void 0,t[M].nextEl=void 0):(t.isElement&&t[M].el.remove(),c[M].el=void 0,t[M].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!r.loop?S=!0:!c.loop&&r.loop?E=!0:T=!0),u.forEach(M=>{if(Ao(c[M])&&Ao(r[M]))Object.assign(c[M],r[M]),(M==="navigation"||M==="pagination"||M==="scrollbar")&&"enabled"in r[M]&&!r[M].enabled&&P(M);else{const k=r[M];(k===!0||k===!1)&&(M==="navigation"||M==="pagination"||M==="scrollbar")?k===!1&&P(M):c[M]=r[M]}}),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),(S||T)&&t.loopDestroy(),(E||T)&&t.loopCreate(),t.update()}function Nz(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};Ps(n,Dg),n._emitClasses=!0,n.init=!1;const o={},s=G2.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(s.indexOf(l)>=0?Ao(e[l])?(n[l]={},i[l]={},Ps(n[l],e[l]),Ps(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 zz(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:a}=e;q2(t)&&r&&i&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),K2(t)&&o&&(a.params.pagination.el=o,a.originalParams.pagination.el=o),Q2(t)&&s&&(a.params.scrollbar.el=s,a.originalParams.scrollbar.el=s),a.init(n)}function Vz(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 G2.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(Ao(e[l])&&Ao(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 Bz=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 Ud(){return Ud=Object.assign?Object.assign.bind():function(e){for(var t=1;t{X2(n)?t.push(n):n.props&&n.props.children&&Z2(n.props.children).forEach(r=>t.push(r))}),t}function Uz(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return W.Children.toArray(e).forEach(r=>{if(X2(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=Z2(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 Wz(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 al(e,t){return typeof window>"u"?b.useEffect(e,t):b.useLayoutEffect(e,t)}const eb=b.createContext(null),Hz=b.createContext(null),J2=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),S=b.useRef(null),E=b.useRef(null),T=b.useRef(null),{params:P,passedParams:M,rest:k,events:A}=Nz(a),{slides:I,slots:$}=Uz(o),D=()=>{h(!p)};Object.assign(P.on,{_containerClasses(L,z){c(z)}});const B=()=>{Object.assign(P.on,A),l=!0;const L={...P};if(delete L.wrapperClass,g.current=new iy(L),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=I;const z={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};Ps(g.current.params.virtual,z),Ps(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(L=>{g.current.on(L,A[L])})},H=()=>{!A||!g.current||Object.keys(A).forEach(L=>{g.current.off(L,A[L])})};b.useEffect(()=>()=>{g.current&&g.current.off("_beforeBreakpoint",D)}),b.useEffect(()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)}),al(()=>{if(t&&(t.current=x.current),!!x.current)return g.current.destroyed&&B(),zz({el:x.current,nextEl:w.current,prevEl:S.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)}},[]),al(()=>{N();const L=Vz(M,y.current,I,v.current,z=>z.key);return y.current=M,v.current=I,L.length&&g.current&&!g.current.destroyed&&Fz({swiper:g.current,slides:I,passedParams:M,changedParams:L,nextEl:w.current,prevEl:S.current,scrollbarEl:T.current,paginationEl:E.current}),()=>{H()}}),al(()=>{Bz(g.current)},[d]);function R(){return P.virtual?Wz(g.current,I,d):I.map((L,z)=>W.cloneElement(L,{swiper:g.current,swiperSlideIndex:z}))}return W.createElement(r,Ud({ref:x,className:Y2(`${u}${n?` ${n}`:""}`)},k),W.createElement(Hz.Provider,{value:g.current},$["container-start"],W.createElement(i,{className:Dz(P.wrapperClass)},$["wrapper-start"],R(),$["wrapper-end"]),q2(P)&&W.createElement(W.Fragment,null,W.createElement("div",{ref:S,className:"swiper-button-prev"}),W.createElement("div",{ref:w,className:"swiper-button-next"})),Q2(P)&&W.createElement("div",{ref:T,className:"swiper-scrollbar"}),K2(P)&&W.createElement("div",{ref:E,className:"swiper-pagination"}),$["container-end"]))});J2.displayName="Swiper";const ek=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,S,E){S===d.current&&p(E)}al(()=>{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)}}}),al(()=>{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,Ud({ref:d,className:Y2(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":l,onLoad:v},c),s&&W.createElement(eb.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(eb.Provider,{value:g},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"})))});ek.displayName="SwiperSlide";function Gz(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(R){!t||t.destroyed||!t.wrapperEl||R.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",v),!y&&k())}const w=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?f=!0:f&&(u=c,f=!1);const R=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=R,i("autoplayTimeLeft",R,R/l),a=requestAnimationFrame(()=>{w()})},S=()=>{let R;return t.virtual&&t.params.virtual.enabled?R=t.slides.filter(z=>z.classList.contains("swiper-slide-active"))[0]:R=t.slides[t.activeIndex],R?parseInt(R.getAttribute("data-swiper-autoplay"),10):void 0},E=R=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(a),w();let L=typeof R>"u"?t.params.autoplay.delay:R;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const z=S();!Number.isNaN(z)&&z>0&&typeof R>"u"&&(L=z,l=z,u=z),c=L;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 L>0?(clearTimeout(s),s=setTimeout(()=>{ne()},L)):requestAnimationFrame(()=>{ne()}),L},T=()=>{d=new Date().getTime(),t.autoplay.running=!0,E(),i("autoplayStart")},P=()=>{t.autoplay.running=!1,clearTimeout(s),cancelAnimationFrame(a),i("autoplayStop")},M=(R,L)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(s),R||(g=!0);const z=()=>{i("autoplayPause"),t.params.autoplay.waitForTransition?t.wrapperEl.addEventListener("transitionend",v):k()};if(t.autoplay.paused=!0,L){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())},k=()=>{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 R=Mr();R.visibilityState==="hidden"&&(g=!0,M(!0)),R.visibilityState==="visible"&&k()},I=R=>{R.pointerType==="mouse"&&(g=!0,y=!0,!(t.animating||t.autoplay.paused)&&M(!0))},$=R=>{R.pointerType==="mouse"&&(y=!1,t.autoplay.paused&&k())},D=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",I),t.el.addEventListener("pointerleave",$))},B=()=>{t.el.removeEventListener("pointerenter",I),t.el.removeEventListener("pointerleave",$)},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)&&k()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?P():M(!0,!0)}),r("beforeTransitionStart",(R,L,z)=>{t.destroyed||!t.autoplay.running||(z||!t.params.autoplay.disableOnInteraction?M(!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,M(!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&&k(),h=!1,p=!1}}),r("slideChange",()=>{t.destroyed||!t.autoplay.running||(x=!0)}),Object.assign(t.autoplay,{start:T,stop:P,pause:M,resume:k})}function qz(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 Kz(e,t){const n=ry(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function tb(e,t,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=ry(t);let o=i.querySelector(`.${r.split(" ").join(".")}`);return o||(o=Bd("div",r.split(" ")),i.append(o)),o}function Qz(e){let{swiper:t,extendParams:n,on:r}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),qz({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=>ry(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 Yz(e){let t=`${e.firstName}-${e.lastName}`;return t=t.toLowerCase().replace(" ","-"),`${ha.getUri()}/team-images/${t}.jpeg`}function Xz(e){let t="";return t=e.leadership.join(", "),t}function Zz(e){const[t,n]=W.useState([]);return W.useEffect(()=>{ha.get("members/leaders/").then(r=>{n(()=>r.data)})},[]),C.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:[C.jsx(ae,{sx:{fontSize:"3rem",fontWeight:"bold",marginBottom:"30px"},children:"Our Team"}),t.length<1?C.jsx(C.Fragment,{}):C.jsx(J2,{modules:[Qz,Gz],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=>C.jsx(ek,{children:C.jsxs(Q,{sx:{position:"relative",overflow:"hidden",width:"100%"},children:[C.jsx("img",{src:Yz(r),alt:"member_image"}),C.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:[C.jsx(ae,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:`${r.firstName} ${r.lastName}`}),C.jsx(ae,{sx:{fontSize:"1rem"},children:Xz(r)})]})]})}))})]})}var Jz=Object.defineProperty,e8=(e,t)=>{for(var n in t)Jz(e,n,{get:t[n],enumerable:!0})},Gn={};e8(Gn,{assign:()=>r8,colors:()=>_i,createStringInterpolator:()=>dy,skipAnimation:()=>ak,to:()=>sk,willAdvance:()=>fy});var oy=ju(),te=e=>$u(e,oy),sy=ju();te.write=e=>$u(e,sy);var vp=ju();te.onStart=e=>$u(e,vp);var ay=ju();te.onFrame=e=>$u(e,ay);var ly=ju();te.onFinish=e=>$u(e,ly);var Ts=[];te.setTimeout=(e,t)=>{const n=te.now()+t,r=()=>{const o=Ts.findIndex(s=>s.cancel==r);~o&&Ts.splice(o,1),xi-=~o?1:0},i={time:n,handler:e,cancel:r};return Ts.splice(tk(n),0,i),xi+=1,nk(),i};var tk=e=>~(~Ts.findIndex(t=>t.time>e)||~Ts.length);te.cancel=e=>{vp.delete(e),ay.delete(e),ly.delete(e),oy.delete(e),sy.delete(e)};te.sync=e=>{Fg=!0,te.batchedUpdates(e),Fg=!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=()=>{vp.delete(n),t=null},r};var uy=typeof window<"u"?window.requestAnimationFrame:()=>{};te.use=e=>uy=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"):ik()};var yi=-1,xi=0,Fg=!1;function $u(e,t){Fg?(t.delete(e),e(0)):(t.add(e),nk())}function nk(){yi<0&&(yi=0,te.frameLoop!=="demand"&&uy(rk))}function t8(){yi=-1}function rk(){~yi&&(uy(rk),te.batchedUpdates(ik))}function ik(){const e=yi;yi=te.now();const t=tk(yi);if(t&&(ok(Ts.splice(0,t),n=>n.handler()),xi-=t),!xi){t8();return}vp.flush(),oy.flush(e?Math.min(64,yi-e):16.667),ay.flush(),sy.flush(),ly.flush()}function ju(){let e=new Set,t=e;return{add(n){xi+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return xi-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,xi-=t.size,ok(t,r=>r(n)&&e.add(r)),xi+=e.size,t=e)}}}function ok(e,t){e.forEach(n=>{try{t(n)}catch(r){te.catch(r)}})}function Ng(){}var n8=(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 ll(e,t){if(e.size){const n=Array.from(e);e.clear(),he(n,t)}}var Ha=(e,...t)=>ll(e,n=>n(...t)),cy=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),dy,sk,_i=null,ak=!1,fy=Ng,r8=e=>{e.to&&(sk=e.to),e.now&&(te.now=e.now),e.colors!==void 0&&(_i=e.colors),e.skipAnimation!=null&&(ak=e.skipAnimation),e.createStringInterpolator&&(dy=e.createStringInterpolator),e.requestAnimationFrame&&te.use(e.requestAnimationFrame),e.batchedUpdates&&(te.batchedUpdates=e.batchedUpdates),e.willAdvance&&(fy=e.willAdvance),e.frameLoop&&(te.frameLoop=e.frameLoop)},ul=new Set,Sn=[],Lh=[],Wd=0,yp={get idle(){return!ul.size&&!Sn.length},start(e){Wd>e.priority?(ul.add(e),te.onStart(i8)):(lk(e),te(zg))},advance:zg,sort(e){if(Wd)te.onFrame(()=>yp.sort(e));else{const t=Sn.indexOf(e);~t&&(Sn.splice(t,1),uk(e))}},clear(){Sn=[],ul.clear()}};function i8(){ul.forEach(lk),ul.clear(),te(zg)}function lk(e){Sn.includes(e)||uk(e)}function uk(e){Sn.splice(o8(Sn,t=>t.priority>e.priority),0,e)}function zg(e){const t=Lh;for(let n=0;n0}function o8(e,t){const n=e.findIndex(t);return n<0?e.length:n}var s8=(e,t,n)=>Math.min(Math.max(n,e),t),a8={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+",Hd=Bn+"%";function xp(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var l8=new RegExp("rgb"+xp(Bn,Bn,Bn)),u8=new RegExp("rgba"+xp(Bn,Bn,Bn,Bn)),c8=new RegExp("hsl"+xp(Bn,Hd,Hd)),d8=new RegExp("hsla"+xp(Bn,Hd,Hd,Bn)),f8=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,p8=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,h8=/^#([0-9a-fA-F]{6})$/,m8=/^#([0-9a-fA-F]{8})$/;function g8(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=h8.exec(e))?parseInt(t[1]+"ff",16)>>>0:_i&&_i[e]!==void 0?_i[e]:(t=l8.exec(e))?(qo(t[1])<<24|qo(t[2])<<16|qo(t[3])<<8|255)>>>0:(t=u8.exec(e))?(qo(t[1])<<24|qo(t[2])<<16|qo(t[3])<<8|ib(t[4]))>>>0:(t=f8.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=m8.exec(e))?parseInt(t[1],16)>>>0:(t=p8.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=c8.exec(e))?(nb(rb(t[1]),mc(t[2]),mc(t[3]))|255)>>>0:(t=d8.exec(e))?(nb(rb(t[1]),mc(t[2]),mc(t[3]))|ib(t[4]))>>>0:null}function $h(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 nb(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=$h(i,r,e+1/3),s=$h(i,r,e),a=$h(i,r,e-1/3);return Math.round(o*255)<<24|Math.round(s*255)<<16|Math.round(a*255)<<8}function qo(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function rb(e){return(parseFloat(e)%360+360)%360/360}function ib(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function mc(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function ob(e){let t=g8(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 Hl=(e,t,n)=>{if(V.fun(e))return e;if(V.arr(e))return Hl({range:e,output:t,extrapolate:n});if(V.str(e.output[0]))return dy(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=y8(u,o);return v8(u,o[c],o[c+1],i[c],i[c+1],l,s,a,r.map)}};function v8(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 y8(e,t){for(var n=1;n=e);++n);return n-1}var x8=(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 s8(0,1,i/e)},Gd=1.70158,gc=Gd*1.525,sb=Gd+1,ab=2*Math.PI/3,lb=2*Math.PI/4.5,vc=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,w8={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=>sb*e*e*e-Gd*e*e,easeOutBack:e=>1+sb*Math.pow(e-1,3)+Gd*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((gc+1)*2*e-gc)/2:(Math.pow(2*e-2,2)*((gc+1)*(e*2-2)+gc)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*ab),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*ab)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*lb))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*lb)/2+1,easeInBounce:e=>1-vc(1-e),easeOutBounce:vc,easeInOutBounce:e=>e<.5?(1-vc(1-2*e))/2:(1+vc(2*e-1))/2,steps:x8},Gl=Symbol.for("FluidValue.get"),ta=Symbol.for("FluidValue.observers"),bn=e=>!!(e&&e[Gl]),Nt=e=>e&&e[Gl]?e[Gl]():e,ub=e=>e[ta]||null;function b8(e,t){e.eventObserved?e.eventObserved(t):e(t)}function ql(e,t){const n=e[ta];n&&n.forEach(r=>{b8(r,t)})}var ck=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");S8(this,e)}},S8=(e,t)=>dk(e,Gl,t);function ma(e,t){if(e[Gl]){let n=e[ta];n||dk(e,ta,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Kl(e,t){const n=e[ta];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[ta]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var dk=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Hc=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,C8=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,cb=new RegExp(`(${Hc.source})(%|[a-z]+)`,"i"),E8=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,wp=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,fk=e=>{const[t,n]=P8(e);if(!t||cy())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&&wp.test(n))return fk(n);if(n)return n}return e},P8=e=>{const t=wp.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},jh,T8=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,pk=e=>{jh||(jh=_i?new RegExp(`(${Object.keys(_i).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(o=>Nt(o).replace(wp,fk).replace(C8,ob).replace(jh,ob)),n=t.map(o=>o.match(Hc).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=>Hl({...e,output:o}));return o=>{var l;const s=!cb.test(t[0])&&((l=t.find(u=>cb.test(u)))==null?void 0:l.replace(Hc,""));let a=0;return t[0].replace(Hc,()=>`${i[a++](o)}${s||""}`).replace(E8,T8)}},py="react-spring: ",hk=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${py}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},k8=hk(console.warn);function M8(){k8(`${py}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var O8=hk(console.warn);function _8(){O8(`${py}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 bp(e){return V.str(e)&&(e[0]=="#"||/\d/.test(e)||!cy()&&wp.test(e)||e in(_i||{}))}var hy=cy()?b.useEffect:b.useLayoutEffect,R8=()=>{const e=b.useRef(!1);return hy(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function mk(){const e=b.useState()[1],t=R8();return()=>{t.current&&e(Math.random())}}function A8(e,t){const[n]=b.useState(()=>({inputs:t,result:e()})),r=b.useRef(),i=r.current;let o=i;return o?t&&o.inputs&&I8(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 I8(e,t){if(e.length!==t.length)return!1;for(let n=0;nb.useEffect(e,L8),L8=[];function db(e){const t=b.useRef();return b.useEffect(()=>{t.current=e}),t.current}var Ql=Symbol.for("Animated:node"),$8=e=>!!e&&e[Ql]===e,Yn=e=>e&&e[Ql],my=(e,t)=>n8(e,Ql,t),Sp=e=>e&&e[Ql]&&e[Ql].getPayload(),vk=class{constructor(){my(this,this)}getPayload(){return this.payload||[]}},Du=class extends vk{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 Du(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)}},Yl=class extends Du{constructor(e){super(0),this._string=null,this._toString=Hl({output:[e,e]})}static create(e){return new Yl(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=Hl({output:[this.getValue(),e]})),this._value=0,super.reset()}},qd={dependencies:null},Cp=class extends vk{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return dr(this.source,(n,r)=>{$8(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){qd.dependencies&&bn(e)&&qd.dependencies.add(e);const t=Sp(e);t&&he(t,n=>this.add(n))}},yk=class extends Cp{constructor(e){super(e)}static create(e){return new yk(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(j8)),!0)}};function j8(e){return(bp(e)?Yl:Du).create(e)}function Vg(e){const t=Yn(e);return t?t.constructor:V.arr(e)?yk:bp(e)?Yl:Du}var fb=(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=N8(i,h)},[i]),[a,l]=F8(r,t),u=mk(),c=()=>{const h=o.current;if(n&&!h)return;(h?t.applyAnimatedValues(h,a.getValue(!0)):!1)===!1&&u()},d=new D8(c,l),f=b.useRef();hy(()=>(f.current=d,he(l,h=>ma(h,d)),()=>{f.current&&(he(f.current.deps,h=>Kl(h,f.current)),te.cancel(f.current.update))})),b.useEffect(c,[]),gk(()=>()=>{const h=f.current;he(h.deps,m=>Kl(m,h))});const p=t.getComponentProps(a.getValue());return b.createElement(e,{...p,ref:s})})},D8=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&te.write(this.update)}};function F8(e,t){const n=new Set;return qd.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new Cp(e),qd.dependencies=null,[e,n]}function N8(e,t){return e&&(V.fun(e)?e(t):e.current=t),t}var pb=Symbol.for("AnimatedComponent"),z8=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new Cp(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},o=s=>{const a=hb(s)||"Anonymous";return V.str(s)?s=o[s]||(o[s]=fb(s,i)):s=s[pb]||(s[pb]=fb(s,i)),s.displayName=`Animated(${a})`,s};return dr(e,(s,a)=>{V.arr(e)&&(a=hb(s)),o[a]=o(s)}),{animated:o}},hb=e=>V.str(e)?e:e&&V.str(e.displayName)?e.displayName:V.fun(e)&&e.name||null;function oo(e,...t){return V.fun(e)?e(...t):e}var cl=(e,t)=>e===!0||!!(t&&e&&(V.fun(e)?e(t):tn(e).includes(t))),xk=(e,t)=>V.obj(e)?t&&e[t]:e,wk=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,V8=e=>e,gy=(e,t=V8)=>{let n=B8;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},B8=["config","onProps","onStart","onChange","onPause","onResume","onRest"],U8={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 W8(e){const t={};let n=0;if(dr(e,(r,i)=>{U8[i]||(t[i]=r,n++)}),n)return t}function bk(e){const t=W8(e);if(t){const n={to:t};return dr(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function Xl(e){return e=Nt(e),V.arr(e)?e.map(Xl):bp(e)?Gn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function H8(e){for(const t in e)return!0;return!1}function Bg(e){return V.fun(e)||V.arr(e)&&V.obj(e[0])}function G8(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function q8(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var K8={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}},Ug={...K8.default,mass:1,damping:1,easing:w8.linear,clamp:!1},Q8=class{constructor(){this.velocity=0,Object.assign(this,Ug)}};function Y8(e,t,n){n&&(n={...n},mb(n,t),t={...n,...t}),mb(e,t),Object.assign(e,t);for(const s in Ug)e[s]==null&&(e[s]=Ug[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 mb(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 gb=[],X8=class{constructor(){this.changed=!1,this.values=gb,this.toValues=null,this.fromValues=gb,this.config=new Q8,this.immediate=!1}};function Sk(e,{key:t,props:n,defaultProps:r,state:i,actions:o}){return new Promise((s,a)=>{let l,u,c=cl(n.cancel??(r==null?void 0:r.cancel),t);if(c)p();else{V.und(n.pause)||(i.paused=cl(n.pause,t));let h=r==null?void 0:r.pause;h!==!0&&(h=i.paused||cl(h,t)),l=oo(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 vy=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?ks(e.get()):t.every(n=>n.noop)?Ck(e.get()):Vn(e.get(),t.every(n=>n.finished)),Ck=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Vn=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),ks=e=>({value:e,cancelled:!0,finished:!1});function Ek(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=gy(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)&&ks(r)||i!==n.asyncId&&Vn(r,!1);if(g)throw x.result=g,d(x),x},h=(x,g)=>{const y=new vb,v=new yb;return(async()=>{if(Gn.skipAnimation)throw Zl(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 S=await r.start(w);return p(y),n.paused&&await new Promise(E=>{n.resumeQueue.add(E)}),S})()};let m;if(Gn.skipAnimation)return Zl(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 vb)m=x.result;else if(x instanceof yb)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 Zl(e,t){ll(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var vb=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.")}},yb=class extends Error{constructor(){super("SkipAnimationSignal")}},Wg=e=>e instanceof yy,Z8=1,yy=class extends ck{constructor(){super(...arguments),this.id=Z8++,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 M8(),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){ql(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||yp.sort(this),ql(this,{type:"priority",parent:this,priority:e})}},Io=Symbol.for("SpringPhase"),Pk=1,Hg=2,Gg=4,Dh=e=>(e[Io]&Pk)>0,Qr=e=>(e[Io]&Hg)>0,Ia=e=>(e[Io]&Gg)>0,xb=(e,t)=>t?e[Io]|=Hg|Pk:e[Io]&=~Hg,wb=(e,t)=>t?e[Io]|=Gg:e[Io]&=~Gg,J8=class extends yy{constructor(e,t){if(super(),this.animation=new X8,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!(Qr(this)||this._state.asyncTo)||Ia(this)}get goal(){return Nt(this.animation.to)}get velocity(){const e=Yn(this);return e instanceof Du?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return Dh(this)}get isAnimating(){return Qr(this)}get isPaused(){return Ia(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=Sp(r.to);!s&&bn(r.to)&&(i=tn(Nt(r.to))),r.values.forEach((u,c)=>{if(u.done)return;const d=u.constructor==Yl?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,S=!V.und(w),E=m==d?u.v0>0:mv,!(!T&&(f=Math.abs(d-p)<=y,f)));++A){S&&(P=p==d||p>d==E,P&&(g=-g*w,p=d));const I=-o.tension*1e-6*(p-d),$=-o.friction*.001*g,D=(I+$)/o.mass;g=g+D*M,p=p+g*M}}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(Qr(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=>vy(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Zl(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||Bg(n))&&(n=void 0),r=V.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return Dh(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,gy(e,(s,a)=>/^on/.test(a)?xk(s,n):s)),Sb(this,e,"onProps"),$a(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 Sk(++this._lastCallId,{key:n,props:e,defaultProps:r,state:o,actions:{pause:()=>{Ia(this)||(wb(this,!0),Ha(o.pauseQueue),$a(this,"onPause",Vn(this,La(this,this.animation.to)),this))},resume:()=>{Ia(this)&&(wb(this,!1),Qr(this)&&this._resume(),Ha(o.resumeQueue),$a(this,"onResume",Vn(this,La(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(s=>{if(e.loop&&s.finished&&!(t&&s.noop)){const a=Tk(e);if(a)return this._update(a,!0)}return s})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(ks(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(ks(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=Bg(t.to),{config:m}=a,{decay:x,velocity:g}=m;(r||i)&&(m.velocity=0),t.config&&!h&&Y8(m,oo(t.config,o),t.config!==s.config?oo(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)&&cl(t.reset,o),w=v?d:this.get(),S=Xl(c),E=V.num(S)||V.arr(S)||bp(S),T=!h&&(!E||cl(s.immediate||t.immediate,o));if(p){const A=Vg(c);if(A!==y.constructor)if(T)y=this._set(S);else throw Error(`Cannot animate between ${y.constructor.name} and ${A.name}, as the "to" prop suggests`)}const P=y.constructor;let M=bn(c),k=!1;if(!M){const A=v||!Dh(this)&&f;(p||A)&&(k=yr(Xl(w),S),M=!k),(!yr(a.immediate,T)&&!T||!yr(m.decay,x)||!yr(m.velocity,g))&&(M=!0)}if(k&&Qr(this)&&(a.changed&&!v?M=!0:M||this._stop(l)),!h&&((M||bn(l))&&(a.values=y.getPayload(),a.toValues=bn(c)?null:P==Yl?[1]:tn(S)),a.immediate!=T&&(a.immediate=T,!T&&!v&&this._set(l)),M)){const{onRest:A}=a;he(t9,$=>Sb(this,t,$));const I=Vn(this,La(this,l));Ha(this._pendingCalls,I),this._pendingCalls.add(n),a.changed&&te.batchedUpdates(()=>{var $;a.changed=!v,A==null||A(I,this),v?oo(s.onRest,I):($=a.onStart)==null||$.call(a,I,this)})}v&&this._set(w),h?n(Ek(t.to,t,this._state,this)):M?this._start():Qr(this)&&!p?this._pendingCalls.add(n):n(Ck(w))}_focus(e){const t=this.animation;e!==t.to&&(ub(this)&&this._detach(),t.to=e,ub(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;bn(t)&&(ma(t,this),Wg(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;bn(e)&&Kl(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=Vg(n);!r||r.constructor!=i?my(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,$a(this,"onStart",Vn(this,La(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),oo(this.animation.onChange,e,this)),oo(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)),Qr(this)||(xb(this,!0),Ia(this)||this._resume())}_resume(){Gn.skipAnimation?this.finish():yp.start(this)}_stop(e,t){if(Qr(this)){xb(this,!1);const n=this.animation;he(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),ql(this,{type:"idle",parent:this});const r=t?ks(this.get()):Vn(this.get(),La(this,e??n.to));Ha(this._pendingCalls,r),n.changed&&(n.changed=!1,$a(this,"onRest",r,this))}}};function La(e,t){const n=Xl(t),r=Xl(e.get());return yr(r,n)}function Tk(e,t=e.loop,n=e.to){const r=oo(t);if(r){const i=r!==!0&&bk(r),o=(i||e).reverse,s=!i||i.reset;return Jl({...e,loop:t,default:!1,pause:void 0,to:!o||Bg(n)?n:void 0,from:s?e.from:void 0,reset:s,...i})}}function Jl(e){const{to:t,from:n}=e=bk(e),r=new Set;return V.obj(t)&&bb(t,r),V.obj(n)&&bb(n,r),e.keys=r.size?Array.from(r):null,e}function e9(e){const t=Jl(e);return V.und(t.default)&&(t.default=gy(t)),t}function bb(e,t){dr(e,(n,r)=>n!=null&&t.add(r))}var t9=["onStart","onRest","onChange","onPause","onResume"];function Sb(e,t,n){e.animation[n]=t[n]!==wk(t,n)?xk(t[n],e.key):void 0}function $a(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 n9=["onStart","onChange","onRest"],r9=1,i9=class{constructor(e,t){this.id=r9++,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(Jl(e)),this}start(e){let{queue:t}=this;return e?t=tn(e).map(Jl):this.queue=[],this._flush?this._flush(this,t):(Rk(this,t),qg(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;he(tn(t),r=>n[r].stop(!!e))}else Zl(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,ll(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&&ll(t,([a,l])=>{l.value=s,a(l,this,this._item)}),o&&(this._started=!1,ll(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 qg(e,t){return Promise.all(t.map(n=>kk(e,n))).then(n=>vy(e,n))}async function kk(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(n9,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,Ha(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||wk(t,"cancel")===!0;(c||p&&d.asyncId)&&f.push(Sk(++e._lastAsyncId,{props:t,state:d,actions:{pause:Ng,resume:Ng,start(m,x){p?(Zl(d,e._lastAsyncId),x(ks(e))):(m.onRest=a,x(Ek(c,m,d,e)))}}})),d.paused&&await new Promise(m=>{d.resumeQueue.add(m)});const h=vy(e,await Promise.all(f));if(s&&h.finished&&!(n&&h.noop)){const m=Tk(t,s,i);if(m)return Rk(e,[m]),kk(e,m,!0)}return l&&te.batchedUpdates(()=>l(h,e,e.item)),h}function Cb(e,t){const n={...e.springs};return t&&he(tn(t),r=>{V.und(r.keys)&&(r=Jl(r)),V.obj(r.to)||(r={...r,to:void 0}),_k(n,r,i=>Ok(i))}),Mk(e,n),n}function Mk(e,t){dr(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,ma(n,e))})}function Ok(e,t){const n=new J8;return n.key=e,t&&ma(n,t),n}function _k(e,t,n){t.keys&&he(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function Rk(e,t){he(t,n=>{_k(e.springs,n,r=>Ok(r,e))})}var Ep=({children:e,...t})=>{const n=b.useContext(Kd),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=A8(()=>({pause:r,immediate:i}),[r,i]);const{Provider:o}=Kd;return b.createElement(o,{value:t},e)},Kd=o9(Ep,{});Ep.Provider=Kd.Provider;Ep.Consumer=Kd.Consumer;function o9(e,t){return Object.assign(e,b.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var s9=()=>{const e=[],t=function(r){_8();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 a9(e,t,n){const r=V.fun(t)&&t;r&&!n&&(n=[]);const i=b.useMemo(()=>r||arguments.length==3?s9():void 0,[]),o=b.useRef(0),s=mk(),a=b.useMemo(()=>({ctrls:[],queue:[],flush(g,y){const v=Cb(g,y);return o.current>0&&!a.queue.length&&!Object.keys(v).some(S=>!g.springs[S])?qg(g,y):new Promise(S=>{Mk(g,v),a.queue.push(()=>{S(qg(g,y))}),s()})}}),[]),l=b.useRef([...a.ctrls]),u=[],c=db(e)||0;b.useMemo(()=>{he(l.current.slice(e,c),g=>{G8(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;vCb(g,u[y])),p=b.useContext(Ep),h=db(p),m=p!==h&&H8(p);hy(()=>{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&&(q8(y,w.ref),y.ref?y.queue.push(w):y.start(w))})}),gk(()=>()=>{he(a.ctrls,g=>g.stop(!0))});const x=f.map(g=>({...g}));return i?[x,i]:x}function l9(e,t){const n=V.fun(e),[[r],i]=a9(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}var u9=class extends yy{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=Hl(...t);const n=this._get(),r=Vg(n);my(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&&Eb(this._active)&&Fh(this)}_get(){const e=V.arr(this.source)?this.source.map(Nt):tn(Nt(this.source));return this.calc(...e)}_start(){this.idle&&!Eb(this._active)&&(this.idle=!1,he(Sp(this),e=>{e.done=!1}),Gn.skipAnimation?(te.batchedUpdates(()=>this.advance()),Fh(this)):yp.start(this))}_attach(){let e=1;he(tn(this.source),t=>{bn(t)&&ma(t,this),Wg(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)&&Kl(e,this)}),this._active.clear(),Fh(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,(Wg(n)?n.priority:0)+1),0))}};function c9(e){return e.idle!==!1}function Eb(e){return!e.size||Array.from(e).every(c9)}function Fh(e){e.idle||(e.idle=!0,he(Sp(e),t=>{t.done=!0}),ql(e,{type:"idle",parent:e}))}Gn.assign({createStringInterpolator:pk,to:(e,t)=>new u9(e,t)});var Ak=/^--/;function d9(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!Ak.test(e)&&!(dl.hasOwnProperty(e)&&dl[e])?t+"px":(""+t).trim()}var Pb={};function f9(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:Pb[d]||(Pb[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=d9(d,r[d]);Ak.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 dl={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},p9=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),h9=["Webkit","Ms","Moz","O"];dl=Object.keys(dl).reduce((e,t)=>(h9.forEach(n=>e[p9(n,t)]=e[t]),e),dl);var m9=/^(matrix|translate|scale|rotate|skew)/,g9=/^(translate)/,v9=/^(rotate|skew)/,Nh=(e,t)=>V.num(e)&&e!==0?e+t:e,Gc=(e,t)=>V.arr(e)?e.every(n=>Gc(n,t)):V.num(e)?e===t:parseFloat(e)===t,y9=class extends Cp{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=>Nh(a,"px")).join(",")})`,Gc(s,0)])),dr(r,(s,a)=>{if(a==="transform")i.push([s||""]),o.push(l=>[l,l===""]);else if(m9.test(a)){if(delete r[a],V.und(s))return;const l=g9.test(a)?"px":v9.test(a)?"deg":"";i.push(tn(s)),o.push(a==="rotate3d"?([u,c,d,f])=>[`rotate3d(${u},${c},${d},${Nh(f,l)})`,Gc(f,0)]:u=>[`${a}(${u.map(c=>Nh(c,l)).join(",")})`,Gc(u,a.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new x9(i,o)),super(r)}},x9=class extends ck{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)&&ma(n,this)))}observerRemoved(e){e==0&&he(this.inputs,t=>he(t,n=>bn(n)&&Kl(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),ql(this,e)}},w9=["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:Tf.unstable_batchedUpdates,createStringInterpolator:pk,colors:a8});var b9=z8(w9,{applyAnimatedValues:f9,createAnimatedStyle:e=>new y9(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),S9=b9.animated;const C9=S9(ae);function zh({end:e,title:t,prefix:n,start:r,minWidth:i,alignSelf:o}){const{number:s}=l9({from:{number:r||0},number:e,config:{mass:1,tension:20,friction:10}});return C.jsx(Q,{sx:{display:"flex",justifyContent:"center",flexDirection:"column",flex:1,minWidth:i},children:C.jsxs(Q,{sx:{display:"flex",flex:1,alignItems:"center",flexDirection:"column"},children:[C.jsx(Q,{sx:{display:"flex",flex:1,alignItems:"flex-start",alignSelf:o||"center"},children:C.jsxs(Q,{sx:{flexDirection:"row",alignItems:"center",alignSelf:"center",justifyContent:"center",display:"flex",flex:1},children:[C.jsx(ae,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:n}),C.jsx(C9,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:s.to(a=>Math.floor(a).toLocaleString("en-US"))}),C.jsx(ae,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:"+"})]})}),C.jsx(ae,{sx:{fontSize:"calc(15px + 0.5vw)",alignSelf:o||"center"},children:t})]})})}var Fu=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(){}},na=typeof window>"u"||"Deno"in globalThis;function gn(){}function E9(e,t){return typeof e=="function"?e(t):e}function Kg(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ik(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Tb(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==xy(s,t.options))return!1}else if(!tu(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 kb(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(eu(t.options.mutationKey)!==eu(o))return!1}else if(!tu(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function xy(e,t){return((t==null?void 0:t.queryKeyHashFn)||eu)(e)}function eu(e){return JSON.stringify(e,(t,n)=>Yg(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function tu(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!tu(e[n],t[n])):!1}function Lk(e,t){if(e===t)return e;const n=Mb(e)&&Mb(t);if(n||Yg(e)&&Yg(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 Xg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Lk(e,t):t}function T9(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function k9(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var wy=Symbol(),ho,li,Os,cC,M9=(cC=class extends Fu{constructor(){super();X(this,ho,void 0);X(this,li,void 0);X(this,Os,void 0);G(this,Os,t=>{if(!na&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){O(this,li)||this.setEventListener(O(this,Os))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,li))==null||t.call(this),G(this,li,void 0))}setEventListener(t){var n;G(this,Os,t),(n=O(this,li))==null||n.call(this),G(this,li,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){O(this,ho)!==t&&(G(this,ho,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof O(this,ho)=="boolean"?O(this,ho):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ho=new WeakMap,li=new WeakMap,Os=new WeakMap,cC),by=new M9,_s,ui,Rs,dC,O9=(dC=class extends Fu{constructor(){super();X(this,_s,!0);X(this,ui,void 0);X(this,Rs,void 0);G(this,Rs,t=>{if(!na&&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(){O(this,ui)||this.setEventListener(O(this,Rs))}onUnsubscribe(){var t;this.hasListeners()||((t=O(this,ui))==null||t.call(this),G(this,ui,void 0))}setEventListener(t){var n;G(this,Rs,t),(n=O(this,ui))==null||n.call(this),G(this,ui,t(this.setOnline.bind(this)))}setOnline(t){O(this,_s)!==t&&(G(this,_s,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return O(this,_s)}},_s=new WeakMap,ui=new WeakMap,Rs=new WeakMap,dC),Qd=new O9;function _9(e){return Math.min(1e3*2**e,3e4)}function Sy(e){return(e??"online")==="online"?Qd.isOnline():!0}var $k=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Vh(e){return e instanceof $k}function jk(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 $k(x)),(g=e.abort)==null||g.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>!by.isFocused()||e.networkMode!=="always"&&!Qd.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??(na?0:3),v=e.retryDelay??_9,w=typeof v=="function"?v(n,g):v,S=y===!0||typeof y=="number"&&n{if(d())return h()}).then(()=>{t?p(g):m()})})};return Sy(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(),mo,fC,Dk=(fC=class{constructor(){X(this,mo,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Kg(this.gcTime)&&G(this,mo,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(na?1/0:5*60*1e3))}clearGcTimeout(){O(this,mo)&&(clearTimeout(O(this,mo)),G(this,mo,void 0))}},mo=new WeakMap,fC),As,Is,pn,At,ct,su,go,Fn,gr,pC,A9=(pC=class extends Dk{constructor(t){super();X(this,Fn);X(this,As,void 0);X(this,Is,void 0);X(this,pn,void 0);X(this,At,void 0);X(this,ct,void 0);X(this,su,void 0);X(this,go,void 0);G(this,go,!1),G(this,su,t.defaultOptions),this.setOptions(t.options),G(this,ct,[]),G(this,pn,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,G(this,As,t.state||I9(this.options)),this.state=O(this,As),this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={...O(this,su),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!O(this,ct).length&&this.state.fetchStatus==="idle"&&O(this,pn).remove(this)}setData(t,n){const r=Xg(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=O(this,At))==null?void 0:r.promise;return(i=O(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(O(this,As))}isActive(){return O(this,ct).some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?O(this,ct).some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Ik(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=O(this,ct).find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=O(this,At))==null||n.continue()}onOnline(){var n;const t=O(this,ct).find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=O(this,At))==null||n.continue()}addObserver(t){O(this,ct).includes(t)||(O(this,ct).push(t),this.clearGcTimeout(),O(this,pn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){O(this,ct).includes(t)&&(G(this,ct,O(this,ct).filter(n=>n!==t)),O(this,ct).length||(O(this,At)&&(O(this,go)?O(this,At).cancel({revert:!0}):O(this,At).cancelRetry()),this.scheduleGc()),O(this,pn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return O(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(O(this,At))return O(this,At).continueRetry(),O(this,At).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=O(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,go,!0),r.signal)})};o(i);const s=()=>!this.options.queryFn||this.options.queryFn===wy?Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`)):(G(this,go,!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,Is,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;Vh(f)&&f.silent||pe(this,Fn,gr).call(this,{type:"error",error:f}),Vh(f)||((h=(p=O(this,pn).config).onError)==null||h.call(p,f,this),(x=(m=O(this,pn).config).onSettled)==null||x.call(m,this.state.data,f,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return G(this,At,jk({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=O(this,pn).config).onSuccess)==null||h.call(p,f,this),(x=(m=O(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})),O(this,At).promise}},As=new WeakMap,Is=new WeakMap,pn=new WeakMap,At=new WeakMap,ct=new WeakMap,su=new WeakMap,go=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,...Fk(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 Vh(i)&&i.revert&&O(this,Is)?{...O(this,Is),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(()=>{O(this,ct).forEach(r=>{r.onQueryUpdate()}),O(this,pn).notify({query:this,type:"updated",action:t})})},pC);function Fk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Sy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function I9(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,hC,L9=(hC=class extends Fu{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??xy(i,n);let s=this.get(o);return s||(s=new A9({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){O(this,Zn).has(t.queryHash)||(O(this,Zn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=O(this,Zn).get(t.queryHash);n&&(t.destroy(),n===t&&O(this,Zn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){xt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return O(this,Zn).get(t)}getAll(){return[...O(this,Zn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Tb(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Tb(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,hC),Jn,au,Yt,Ls,er,Jr,mC,$9=(mC=class extends Dk{constructor(t){super();X(this,er);X(this,Jn,void 0);X(this,au,void 0);X(this,Yt,void 0);X(this,Ls,void 0);this.mutationId=t.mutationId,G(this,au,t.defaultOptions),G(this,Yt,t.mutationCache),G(this,Jn,[]),this.state=t.state||j9(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={...O(this,au),...t},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){O(this,Jn).includes(t)||(O(this,Jn).push(t),this.clearGcTimeout(),O(this,Yt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){G(this,Jn,O(this,Jn).filter(n=>n!==t)),this.scheduleGc(),O(this,Yt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){O(this,Jn).length||(this.state.status==="pending"?this.scheduleGc():O(this,Yt).remove(this))}continue(){var t;return((t=O(this,Ls))==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,S,E,T;const n=()=>(G(this,Ls,jk({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(P,M)=>{pe(this,er,Jr).call(this,{type:"failed",failureCount:P,error:M})},onPause:()=>{pe(this,er,Jr).call(this,{type:"pause"})},onContinue:()=>{pe(this,er,Jr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),O(this,Ls).promise),r=this.state.status==="pending";try{if(!r){pe(this,er,Jr).call(this,{type:"pending",variables:t}),await((o=(i=O(this,Yt).config).onMutate)==null?void 0:o.call(i,t,this));const M=await((a=(s=this.options).onMutate)==null?void 0:a.call(s,t));M!==this.state.context&&pe(this,er,Jr).call(this,{type:"pending",context:M,variables:t})}const P=await n();return await((u=(l=O(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=O(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,Jr).call(this,{type:"success",data:P}),P}catch(P){try{throw await((g=(x=O(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((S=(w=O(this,Yt).config).onSettled)==null?void 0:S.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,Jr).call(this,{type:"error",error:P})}}}},Jn=new WeakMap,au=new WeakMap,Yt=new WeakMap,Ls=new WeakMap,er=new WeakSet,Jr=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:!Sy(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(()=>{O(this,Jn).forEach(r=>{r.onMutationUpdate(t)}),O(this,Yt).notify({mutation:this,type:"updated",action:t})})},mC);function j9(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,lu,vo,gC,D9=(gC=class extends Fu{constructor(t={}){super();X(this,hn,void 0);X(this,lu,void 0);X(this,vo,void 0);this.config=t,G(this,hn,[]),G(this,lu,0)}build(t,n,r){const i=new $9({mutationCache:this,mutationId:++Wu(this,lu)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){O(this,hn).push(t),this.notify({type:"added",mutation:t})}remove(t){G(this,hn,O(this,hn).filter(n=>n!==t)),this.notify({type:"removed",mutation:t})}clear(){xt.batch(()=>{O(this,hn).forEach(t=>{this.remove(t)})})}getAll(){return O(this,hn)}find(t){const n={exact:!0,...t};return O(this,hn).find(r=>kb(n,r))}findAll(t={}){return O(this,hn).filter(n=>kb(t,n))}notify(t){xt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){return G(this,vo,(O(this,vo)??Promise.resolve()).then(()=>{const t=O(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,vo,void 0)})),O(this,vo)}},hn=new WeakMap,lu=new WeakMap,vo=new WeakMap,gC);function F9(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!==wy?t.options.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${t.options.queryHash}'`)),f=async(v,w,S)=>{if(u)return Promise.reject();if(w==null&&v.pages.length)return Promise.resolve(v);const E={queryKey:t.queryKey,pageParam:w,direction:S?"backward":"forward",meta:t.options.meta};c(E);const T=await d(E),{maxPages:P}=t.options,M=S?k9:T9;return{pages:M(v.pages,T,P),pageParams:M(v.pageParams,w,P)}};let p;if(o&&s.length){const v=o==="backward",w=v?N9:_b,S={pages:s,pageParams:a},E=w(i,S);p=await f(S,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 _b(e,{pages:t,pageParams:n}){const r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function N9(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,ci,di,$s,js,fi,Ds,Fs,vC,z9=(vC=class{constructor(e={}){X(this,Be,void 0);X(this,ci,void 0);X(this,di,void 0);X(this,$s,void 0);X(this,js,void 0);X(this,fi,void 0);X(this,Ds,void 0);X(this,Fs,void 0);G(this,Be,e.queryCache||new L9),G(this,ci,e.mutationCache||new D9),G(this,di,e.defaultOptions||{}),G(this,$s,new Map),G(this,js,new Map),G(this,fi,0)}mount(){Wu(this,fi)._++,O(this,fi)===1&&(G(this,Ds,by.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,Be).onFocus())})),G(this,Fs,Qd.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,Be).onOnline())})))}unmount(){var e,t;Wu(this,fi)._--,O(this,fi)===0&&((e=O(this,Ds))==null||e.call(this),G(this,Ds,void 0),(t=O(this,Fs))==null||t.call(this),G(this,Fs,void 0))}isFetching(e){return O(this,Be).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return O(this,ci).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=O(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=O(this,Be).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(n.staleTime)&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return O(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=O(this,Be).get(r.queryHash),o=i==null?void 0:i.state.data,s=E9(t,o);if(s!==void 0)return O(this,Be).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return xt.batch(()=>O(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=O(this,Be).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=O(this,Be);xt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=O(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(()=>O(this,Be).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(gn).catch(gn)}invalidateQueries(e={},t={}){return xt.batch(()=>{if(O(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(()=>O(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=O(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=F9(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(gn).catch(gn)}resumePausedMutations(){return Qd.isOnline()?O(this,ci).resumePausedMutations():Promise.resolve()}getQueryCache(){return O(this,Be)}getMutationCache(){return O(this,ci)}getDefaultOptions(){return O(this,di)}setDefaultOptions(e){G(this,di,e)}setQueryDefaults(e,t){O(this,$s).set(eu(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...O(this,$s).values()];let n={};return t.forEach(r=>{tu(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){O(this,js).set(eu(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...O(this,js).values()];let n={};return t.forEach(r=>{tu(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...O(this,di).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=xy(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===wy&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...O(this,di).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){O(this,Be).clear(),O(this,ci).clear()}},Be=new WeakMap,ci=new WeakMap,di=new WeakMap,$s=new WeakMap,js=new WeakMap,fi=new WeakMap,Ds=new WeakMap,Fs=new WeakMap,vC),Ft,ke,uu,It,yo,Ns,tr,cu,zs,Vs,xo,wo,pi,Bs,bo,Ga,du,Zg,fu,Jg,pu,ev,hu,tv,mu,nv,gu,rv,vu,iv,uf,Nk,yC,V9=(yC=class extends Fu{constructor(t,n){super();X(this,bo);X(this,du);X(this,fu);X(this,pu);X(this,hu);X(this,mu);X(this,gu);X(this,vu);X(this,uf);X(this,Ft,void 0);X(this,ke,void 0);X(this,uu,void 0);X(this,It,void 0);X(this,yo,void 0);X(this,Ns,void 0);X(this,tr,void 0);X(this,cu,void 0);X(this,zs,void 0);X(this,Vs,void 0);X(this,xo,void 0);X(this,wo,void 0);X(this,pi,void 0);X(this,Bs,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&&(O(this,ke).addObserver(this),Rb(O(this,ke),this.options)?pe(this,bo,Ga).call(this):this.updateResult(),pe(this,hu,tv).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return ov(O(this,ke),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return ov(O(this,ke),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,pe(this,mu,nv).call(this),pe(this,gu,rv).call(this),O(this,ke).removeObserver(this)}setOptions(t,n){const r=this.options,i=O(this,ke);if(this.options=O(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,vu,iv).call(this),O(this,ke).setOptions(this.options),r._defaulted&&!Qg(this.options,r)&&O(this,Ft).getQueryCache().notify({type:"observerOptionsUpdated",query:O(this,ke),observer:this});const o=this.hasListeners();o&&Ab(O(this,ke),i,this.options,r)&&pe(this,bo,Ga).call(this),this.updateResult(n),o&&(O(this,ke)!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&pe(this,du,Zg).call(this);const s=pe(this,fu,Jg).call(this);o&&(O(this,ke)!==i||this.options.enabled!==r.enabled||s!==O(this,pi))&&pe(this,pu,ev).call(this,s)}getOptimisticResult(t){const n=O(this,Ft).getQueryCache().build(O(this,Ft),t),r=this.createResult(n,t);return U9(this,r)&&(G(this,It,r),G(this,Ns,this.options),G(this,yo,O(this,ke).state)),r}getCurrentResult(){return O(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){O(this,Bs).add(t)}getCurrentQuery(){return O(this,ke)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=O(this,Ft).defaultQueryOptions(t),r=O(this,Ft).getQueryCache().build(O(this,Ft),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){return pe(this,bo,Ga).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),O(this,It)))}createResult(t,n){var T;const r=O(this,ke),i=this.options,o=O(this,It),s=O(this,yo),a=O(this,Ns),u=t!==r?t.state:O(this,uu),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const P=this.hasListeners(),M=!P&&Rb(t,n),k=P&&Ab(t,r,n,i);(M||k)&&(d={...d,...Fk(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===O(this,cu))p=O(this,zs);else try{G(this,cu,n.select),p=n.select(d.data),p=Xg(o==null?void 0:o.data,p,n),G(this,zs,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=O(this,Vs))==null?void 0:T.state.data,O(this,Vs)):n.placeholderData,n.select&&P!==void 0)try{P=n.select(P),G(this,tr,null)}catch(M){G(this,tr,M)}P!==void 0&&(x="success",p=Xg(o==null?void 0:o.data,P,n),f=!0)}O(this,tr)&&(h=O(this,tr),p=O(this,zs),m=Date.now(),x="error");const g=d.fetchStatus==="fetching",y=x==="pending",v=x==="error",w=y&&g,S=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&&!S,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:v&&S,isStale:Cy(t,n),refetch:this.refetch}}updateResult(t){const n=O(this,It),r=this.createResult(O(this,ke),this.options);if(G(this,yo,O(this,ke).state),G(this,Ns,this.options),O(this,yo).data!==void 0&&G(this,Vs,O(this,ke)),Qg(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&&!O(this,Bs).size)return!0;const l=new Set(a??O(this,Bs));return this.options.throwOnError&&l.add("error"),Object.keys(O(this,It)).some(u=>{const c=u;return O(this,It)[c]!==n[c]&&l.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),pe(this,uf,Nk).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&pe(this,hu,tv).call(this)}},Ft=new WeakMap,ke=new WeakMap,uu=new WeakMap,It=new WeakMap,yo=new WeakMap,Ns=new WeakMap,tr=new WeakMap,cu=new WeakMap,zs=new WeakMap,Vs=new WeakMap,xo=new WeakMap,wo=new WeakMap,pi=new WeakMap,Bs=new WeakMap,bo=new WeakSet,Ga=function(t){pe(this,vu,iv).call(this);let n=O(this,ke).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(gn)),n},du=new WeakSet,Zg=function(){if(pe(this,mu,nv).call(this),na||O(this,It).isStale||!Kg(this.options.staleTime))return;const n=Ik(O(this,It).dataUpdatedAt,this.options.staleTime)+1;G(this,xo,setTimeout(()=>{O(this,It).isStale||this.updateResult()},n))},fu=new WeakSet,Jg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(O(this,ke)):this.options.refetchInterval)??!1},pu=new WeakSet,ev=function(t){pe(this,gu,rv).call(this),G(this,pi,t),!(na||this.options.enabled===!1||!Kg(O(this,pi))||O(this,pi)===0)&&G(this,wo,setInterval(()=>{(this.options.refetchIntervalInBackground||by.isFocused())&&pe(this,bo,Ga).call(this)},O(this,pi)))},hu=new WeakSet,tv=function(){pe(this,du,Zg).call(this),pe(this,pu,ev).call(this,pe(this,fu,Jg).call(this))},mu=new WeakSet,nv=function(){O(this,xo)&&(clearTimeout(O(this,xo)),G(this,xo,void 0))},gu=new WeakSet,rv=function(){O(this,wo)&&(clearInterval(O(this,wo)),G(this,wo,void 0))},vu=new WeakSet,iv=function(){const t=O(this,Ft).getQueryCache().build(O(this,Ft),this.options);if(t===O(this,ke))return;const n=O(this,ke);G(this,ke,t),G(this,uu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},uf=new WeakSet,Nk=function(t){xt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(O(this,It))}),O(this,Ft).getQueryCache().notify({query:O(this,ke),type:"observerResultsUpdated"})})},yC);function B9(e,t){return t.enabled!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Rb(e,t){return B9(e,t)||e.state.data!==void 0&&ov(e,t,t.refetchOnMount)}function ov(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 Ab(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 U9(e,t){return!Qg(e.getCurrentResult(),t)}var zk=b.createContext(void 0),W9=e=>{const t=b.useContext(zk);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},H9=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),C.jsx(zk.Provider,{value:e,children:t})),Vk=b.createContext(!1),G9=()=>b.useContext(Vk);Vk.Provider;function q9(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var K9=b.createContext(q9()),Q9=()=>b.useContext(K9);function Y9(e,t){return typeof e=="function"?e(...t):!!e}var X9=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},Z9=e=>{b.useEffect(()=>{e.clearReset()},[e])},J9=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&Y9(n,[e.error,r]),eV=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},tV=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,nV=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function rV(e,t,n){const r=W9(n),i=G9(),o=Q9(),s=r.defaultQueryOptions(e);s._optimisticResults=i?"isRestoring":"optimistic",eV(s),X9(s,o),Z9(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]),tV(s,l))throw nV(s,a,o);if(J9({result:l,errorResetBoundary:o,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash)}))throw l.error;return s.notifyOnChangeProps?l:a.trackResult(l)}function Bk(e,t){return rV(e,V9,t)}async function iV(){try{return(await ha.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 oV(e){try{return(await ha.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 Uk={getAll:iV,getById:oV};var qa={},Wk={},Pp={},us=ge&&ge.__assign||function(){return us=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 Ib(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 Ib(w,v)}).join(" ")}),h};Pp.batch=sV;var Ri={},Do={},Ey={},sv=ge&&ge.__assign||function(){return sv=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u")){if(t==="height")return Lb&&$b?window.screen.height-80:window.innerHeight;if(t==="width")return Lb&&$b?window.screen.width:window.innerWidth}}});Py.default=lV;var Tp={};Object.defineProperty(Tp,"__esModule",{value:!0});Tp.SimpleInterpolation=void 0;var uV=function(e,t,n){return e*(1-n)+t*n};Tp.SimpleInterpolation=uV;(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(Ey);e.computeStyle=n.default;var r=t(Py);e.environment=r.default;var i=Tp;Object.defineProperty(e,"SimpleInterpolation",{enumerable:!0,get:function(){return i.SimpleInterpolation}})})(Do);Object.defineProperty(Ri,"__esModule",{value:!0});Ri.FadeOut=Ri.FadeIn=Ri.Fade=void 0;var Yd=Do,cV=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Yd.SimpleInterpolation)(e,t,n)}}},out:{style:{opacity:function(n){return(0,Yd.SimpleInterpolation)(t,e,n)}}}}};Ri.Fade=cV;var dV=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Yd.SimpleInterpolation)(e,t,n)}}}}};Ri.FadeIn=dV;var fV=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{out:{style:{opacity:function(n){return(0,Yd.SimpleInterpolation)(e,t,n)}}}}};Ri.FadeOut=fV;var Ai={};Object.defineProperty(Ai,"__esModule",{value:!0});Ai.MoveOut=Ai.MoveIn=Ai.Move=void 0;var wi=Do,pV=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,wi.SimpleInterpolation)(e,0,i),"px, ").concat((0,wi.SimpleInterpolation)(t,0,i),"px)")}}},out:{style:{transform:function(i){return"translate(".concat((0,wi.SimpleInterpolation)(0,n||e,i),"px, ").concat((0,wi.SimpleInterpolation)(0,r||t,i),"px)")}}}}};Ai.Move=pV;var hV=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=100),{in:{style:{transform:function(n){return"translate(".concat((0,wi.SimpleInterpolation)(e,0,n),"px, ").concat((0,wi.SimpleInterpolation)(t,0,n),"px)")}}}}};Ai.MoveIn=hV;var mV=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=-100),{out:{style:{transform:function(n){return"translate(".concat((0,wi.SimpleInterpolation)(0,e,n),"px, ").concat((0,wi.SimpleInterpolation)(0,t,n),"px)")}}}}};Ai.MoveOut=mV;var Ii={};Object.defineProperty(Ii,"__esModule",{value:!0});Ii.StickyOut=Ii.StickyIn=Ii.Sticky=void 0;var En=Do,gV=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"}}}};Ii.Sticky=gV;var vV=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"}}}};Ii.StickyIn=vV;var yV=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"}}}};Ii.StickyOut=yV;var Li={};Object.defineProperty(Li,"__esModule",{value:!0});Li.ZoomOut=Li.ZoomIn=Li.Zoom=void 0;var Xd=Do,xV=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,Xd.SimpleInterpolation)(e,t,n),")")}}},out:{style:{transform:function(n){return"scale(".concat((0,Xd.SimpleInterpolation)(t,e,n),")")}}}}};Li.Zoom=xV;var wV=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,Xd.SimpleInterpolation)(e,t,n),")")}}}}};Li.ZoomIn=wV;var bV=function(e,t){return e===void 0&&(e=1),t===void 0&&(t=10),{out:{style:{transform:function(n){return"scale(".concat((0,Xd.SimpleInterpolation)(e,t,n),")")}}}}};Li.ZoomOut=bV;(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=Pp;Object.defineProperty(e,"batch",{enumerable:!0,get:function(){return t.batch}});var n=Ri;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=Ai;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=Ii;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=Li;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}})})(Wk);var Ty={},kp={},Mp={},Vi={},ky={};Object.defineProperty(ky,"__esModule",{value:!0});var SV={currentY:0,viewportHeight:0,totalPage:0,totalHeight:0,totalProgress:0,realPage:0,currentPage:0,currentProgress:0};ky.default=SV;var My={};Object.defineProperty(My,"__esModule",{value:!0});var CV={page:0};My.default=CV;var Hk=ge&&ge.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Vi,"__esModule",{value:!0});Vi.initialScrollPage=Vi.initialScrollData=void 0;var EV=Hk(ky);Vi.initialScrollData=EV.default;var PV=Hk(My);Vi.initialScrollPage=PV.default;Object.defineProperty(Mp,"__esModule",{value:!0});Mp.ScrollDataContext=void 0;var TV=b,kV=Vi;Mp.ScrollDataContext=(0,TV.createContext)(kV.initialScrollData);var Op={};Object.defineProperty(Op,"__esModule",{value:!0});Op.ScrollPageContext=void 0;var MV=b,OV=Vi;Op.ScrollPageContext=(0,MV.createContext)(OV.initialScrollPage);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollPageContext=e.ScrollDataContext=void 0;var t=Mp;Object.defineProperty(e,"ScrollDataContext",{enumerable:!0,get:function(){return t.ScrollDataContext}});var n=Op;Object.defineProperty(e,"ScrollPageContext",{enumerable:!0,get:function(){return n.ScrollPageContext}})})(kp);var cs=ge&&ge.__assign||function(){return cs=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=GV(l),l in Nb)return;Nb[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":HV,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})},Kh="generated",nq="pointerdown",rq="pointerup",iq="pointerleave",oq="pointerout",sq="pointermove",aq="touchstart",lq="touchend",uq="touchmove",cq="touchcancel",dq="resize",fq="visibilitychange",Ry="tsParticles - Error",ds=100,zb=.5,Gk=1e3;function pq(e){return typeof e=="boolean"}function nu(e){return typeof e=="string"}function ga(e){return typeof e=="number"}function yc(e){return typeof e=="object"&&e!==null}function Fo(e){return Array.isArray(e)}const Xn={x:0,y:0,z:0},Vb=2,qV=1;class jn{constructor(t,n,r){if(this._updateFromAngle=(i,o)=>{this.x=Math.cos(i)*o,this.y=Math.sin(i)*o},!ga(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(`${Ry} 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**Vb+this.y**Vb}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(qV/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 Eo extends jn{constructor(t,n){super(t,n,Xn.z)}static get origin(){return Eo.create(Xn.x,Xn.y)}static clone(t){return Eo.create(t.x,t.y)}static create(t,n){return new Eo(t,n)}}let KV=Math.random;const av=new Map,QV=2,YV=Math.PI*QV;function hq(e,t){av.get(e)||av.set(e,t)}function mq(e){return av.get(e)??(t=>t)}function fr(){return Ay(KV(),0,1-Number.EPSILON)}function Ay(e,t,n){return Math.min(Math.max(e,t),n)}function Qh(e,t,n,r){return Math.floor((e*n+t*r)/(n+r))}function Ms(e){const t=Rp(e),n=0;let r=_p(e);return t===r&&(r=n),fr()*(t-r)+r}function pt(e){return ga(e)?e:Ms(e)}function _p(e){return ga(e)?e:e.min}function Rp(e){return ga(e)?e:e.max}function pl(e,t){if(e===t||t===void 0&&ga(e))return e;const n=_p(e),r=Rp(e);return t!==void 0?{min:Math.min(n,t),max:Math.max(r,t)}:pl(n,r)}function qk(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 gq(e,t){return qk(e,t).distance}function XV(e){return e*Math.PI/180}function vq(e,t,n){if(ga(e))return XV(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()*YV}}function yq(e){const t=Eo.origin;return t.length=1,t.angle=e,t}function Bb(e,t,n,r){return Eo.create(e.x*(n-r)/(n+r)+t.x*2*r/(n+r),e.y)}function xq(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 Kk(e){return e?e.endsWith("%")?parseFloat(e)/ds:parseFloat(e):1}const ZV={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function JV(){return ZV}function Ub(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 Fo(n)?n.some(r=>r):n}function Ap(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function t7(){return!Ap()&&typeof matchMedia<"u"}function wq(e){if(t7())return matchMedia(e)}function bq(e){if(!(Ap()||typeof IntersectionObserver>"u"))return new IntersectionObserver(e)}function Sq(e){if(!(Ap()||typeof MutationObserver>"u"))return new MutationObserver(e)}function Qk(e,t){return e===t||Fo(t)&&t.indexOf(e)>-1}async function Cq(e,t){try{await document.fonts.load(`${t??"400"} 36px '${e??"Verdana"}'`)}catch{}}function n7(e){return Math.floor(fr()*e.length)}function Iy(e,t,n=!0){return e[t!==void 0&&n?t%e.length:n7(e)]}function Eq(e,t,n,r,i){return r7(Yk(e,r??0),t,n,i)}function r7(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 Yk(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function Wb(e,...t){for(const n of t){if(n==null)continue;if(!yc(n)){e=n;continue}const r=Array.isArray(n);r&&(yc(e)||!e||!Array.isArray(e))?e=[]:!r&&(yc(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]=yc(s)&&Array.isArray(s)?s.map(l=>Wb(a[i],l)):Wb(a[i],s)}}return e}function Pq(e,t){return!!Zk(t,n=>n.enable&&Qk(e,n.mode))}function Tq(e,t,n){ru(t,r=>{const i=r.mode;r.enable&&Qk(e,i)&&i7(r,n)})}function i7(e,t){const n=e.selectors;ru(n,r=>{t(r,e)})}function kq(e,t){if(!(!t||!e))return Zk(e,n=>e7(t,n.selectors))}function Mq(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:Eo.create(pt(e.options.bounce.horizontal.value),pt(e.options.bounce.vertical.value))}}function Oq(e,t){const{x:n,y:r}=e.velocity.sub(t.velocity),[i,o]=[e.position,t.position],{dx:s,dy:a}=qk(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=Bb(f,p,c,d),m=Bb(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 _q(e,t){const n=e.getPosition(),r=e.getRadius(),i=Yk(n,r),o=e.options.bounce,s=Ub({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=Ub({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 ru(e,t){return Fo(e)?e.map((r,i)=>t(r,i)):t(e,0)}function Xk(e,t,n){return Fo(e)?Iy(e,t,n):e}function Zk(e,t){return Fo(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)*Gk,enable:r.enable,value:pt(e.value)*t,max:Rp(n)*t,min:_p(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()>=zb?"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=Ms(i),s&&(i.status=fr()>=zb?"increasing":"decreasing");break}}return i.initialValue=i.value,i}function o7(e,t){if(!(e.mode==="percent")){const{mode:i,...o}=e;return o}return"x"in e?{x:e.x/ds*t.width,y:e.y/ds*t.height}:{width:e.width/ds*t.width,height:e.height/ds*t.height}}function Aq(e,t){return o7(e,t)}function s7(e,t,n,r,i){switch(t){case"max":n>=i&&e.destroy();break;case"min":n<=r&&e.destroy();break}}function Iq(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),s7(e,r,t.value,d,f),e.destroyed||(t.value=Ay(t.value,d,f))}}class a7{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 Yh(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 l7(e){const t=Xk(e.url,e.index);if(!t)return e.fallback;const n=await fetch(t);return n.ok?await n.json():(JV().error(`${Ry} ${n.status} while retrieving config file`),e.fallback)}class u7{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new a7,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){ru(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){ru(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 Yh(t,this.interactors,this._initializers.interactors,n)}async getMovers(t,n=!1){return await Yh(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 Yh(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 l7({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=Xk(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[Kh]="false";else{const x=a.getElementsByTagName("canvas");x.length?(f=x[0],f.dataset[Kh]="false"):(f=document.createElement("canvas"),f.dataset[Kh]="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-CSM4TIlF.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(`${Ry} can only set click handlers after calling tsParticles.load()`);for(const r of n)r.addClickHandler(t)}}const Jd="random",qc="mid",Ip=new Map;function Hb(e){Ip.set(e.key,e)}function c7(e){for(const[,l]of Ip)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 ef(e,t,n=!0){if(!e)return;const r=nu(e)?{value:e}:e;if(nu(r.value))return Jk(r.value,t,n);if(Fo(r.value))return ef({value:Iy(r.value,t,n)});for(const[,i]of Ip){const o=i.handleRangeColor(r);if(o)return o}}function Jk(e,t,n=!0){if(!e)return;const r=nu(e)?{value:e}:e;if(nu(r.value))return r.value===Jd?eM():f7(r.value);if(Fo(r.value))return Jk({value:Iy(r.value,t,n)});for(const[,i]of Ip){const o=i.handleColor(r);if(o)return o}}function Lq(e,t,n=!0){const r=ef(e,t,n);return r?d7(r):void 0}function d7(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 f7(e){return c7(e)}function ra(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 M=Math.round(d*f);return{r:M,g:M,b:M}}const h=.5,m=2,x=(M,k,A)=>{if(A<0&&A++,A>1&&A--,A*6<1)return M+(k-M)*6*A;if(A*m<1)return k;if(A*p<1*m){const B=m/p;return M+(k-M)*(B-A)*6}return M},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?Ms(e.offset):0,d=(e.velocity??0)*r.factor+c*3.6,f=e.decay??1,p=Rp(t),h=_p(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=Ay(e.value,h,p)}function Vq(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&&Zh(n,o.h,!1,t),r&&Zh(r,o.s,!0,t),i&&Zh(i,o.l,!0,t)}class m7{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 ra(r)}handleRangeColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.l!==void 0)return ra({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?p7({a:r.length>i?Kk(r[5]):o,h:parseInt(r[1],s),l:parseInt(r[3],s),s:parseInt(r[2],s)}):void 0}}class g7{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?Kk(r[5]):1,b:parseInt(r[3],i),g:parseInt(r[2],i),r:parseInt(r[1],i)}:void 0}}function v7(){const e=new g7,t=new m7;Hb(e),Hb(t);const n=new u7;return n.init(),n}const Ly=v7();Ap()||(window.tsParticles=Ly);const y7=e=>{const t=e.id??"tsparticles";return b.useEffect(()=>{let n;return Ly.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]),C.jsx("div",{id:t,className:e.className})};async function x7(e){await e(Ly)}async function w7(e,t=!0){const{loadParallaxMover:n}=await Te(()=>import("./index-BWwxh7mf.js"),[]),{loadExternalAttractInteraction:r}=await Te(()=>import("./index-BUBcFElu.js"),[]),{loadExternalBounceInteraction:i}=await Te(()=>import("./index-Dkhs4WmD.js"),[]),{loadExternalBubbleInteraction:o}=await Te(()=>import("./index-Dwi8Fk5n.js"),__vite__mapDeps([5,2])),{loadExternalConnectInteraction:s}=await Te(()=>import("./index-DMLax3zf.js"),[]),{loadExternalGrabInteraction:a}=await Te(()=>import("./index-7EFgDSO9.js"),__vite__mapDeps([6,2])),{loadExternalPauseInteraction:l}=await Te(()=>import("./index-DQ6E6v-6.js"),[]),{loadExternalPushInteraction:u}=await Te(()=>import("./index-qKmc1qke.js"),[]),{loadExternalRemoveInteraction:c}=await Te(()=>import("./index--IvfJ7-F.js"),[]),{loadExternalRepulseInteraction:d}=await Te(()=>import("./index-VJf_0UH1.js"),[]),{loadExternalSlowInteraction:f}=await Te(()=>import("./index-BBn4N7ef.js"),[]),{loadParticlesAttractInteraction:p}=await Te(()=>import("./index-C0CI5bSb.js"),[]),{loadParticlesCollisionsInteraction:h}=await Te(()=>import("./index-B1vYCfKr.js"),[]),{loadParticlesLinksInteraction:m}=await Te(()=>import("./index-D3e9F_9q.js"),__vite__mapDeps([7,2])),{loadEasingQuadPlugin:x}=await Te(()=>import("./index-C-UK7H5c.js"),[]),{loadEmojiShape:g}=await Te(()=>import("./index-DYGcHpAi.js").then(A=>A.i),[]),{loadImageShape:y}=await Te(()=>import("./index-Cd4MVogK.js").then(A=>A.i),[]),{loadLineShape:v}=await Te(()=>import("./index-DO0dmp2y.js"),[]),{loadPolygonShape:w}=await Te(()=>import("./index-lL13x-rJ.js"),[]),{loadSquareShape:S}=await Te(()=>import("./index-Ch4MXAho.js"),[]),{loadStarShape:E}=await Te(()=>import("./index-CalNawg9.js"),[]),{loadLifeUpdater:T}=await Te(()=>import("./index-D8EjN0pf.js"),[]),{loadRotateUpdater:P}=await Te(()=>import("./index-CGTZzgrB.js"),[]),{loadStrokeColorUpdater:M}=await Te(()=>import("./index-DVOmIdei.js"),[]),{loadBasic:k}=await Te(()=>import("./index-CxC_i4ya.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 S(e,!1),await E(e,!1),await T(e,!1),await P(e,!1),await M(e,!1),await k(e,t)}const $y="-";function b7(e){const t=C7(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function i(s){const a=s.split($y);return a[0]===""&&a.length!==1&&a.shift(),tM(a,t)||S7(s)}function o(s,a){const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}return{getClassGroupId:i,getConflictingClassGroupIds:o}}function tM(e,t){var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?tM(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join($y);return(s=t.validators.find(({validator:a})=>a(o)))==null?void 0:s.classGroupId}const Gb=/^\[(.+)\]$/;function S7(e){if(Gb.test(e)){const t=Gb.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function C7(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return P7(Object.entries(e.classGroups),n).forEach(([o,s])=>{lv(s,r,o,t)}),r}function lv(e,t,n,r){e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:qb(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(E7(i)){lv(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,s])=>{lv(s,qb(t,o),n,r)})})}function qb(e,t){let n=e;return t.split($y).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function E7(e){return e.isThemeGetter}function P7(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 T7(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 nM="!";function k7(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 M7(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 O7(e){return{cache:T7(e.cacheSize),splitModifiers:k7(e),...b7(e)}}const _7=/\s+/;function R7(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=new Set;return e.trim().split(_7).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=M7(a).join(":");return{isTailwindClass:!0,modifierId:l?p+nM: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 A7(){let e=0,t,n,r="";for(;ed(c),e());return n=O7(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(A7.apply(null,arguments))}}function _e(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const iM=/^\[(?:([a-z-]+):)?(.+)\]$/i,L7=/^\d+\/\d+$/,$7=new Set(["px","full","screen"]),j7=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,D7=/\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$/,F7=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,N7=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,z7=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function hr(e){return fo(e)||$7.has(e)||L7.test(e)}function Xr(e){return va(e,"length",K7)}function fo(e){return!!e&&!Number.isNaN(Number(e))}function xc(e){return va(e,"number",fo)}function ja(e){return!!e&&Number.isInteger(Number(e))}function V7(e){return e.endsWith("%")&&fo(e.slice(0,-1))}function ie(e){return iM.test(e)}function Zr(e){return j7.test(e)}const B7=new Set(["length","size","percentage"]);function U7(e){return va(e,B7,oM)}function W7(e){return va(e,"position",oM)}const H7=new Set(["image","url"]);function G7(e){return va(e,H7,Y7)}function q7(e){return va(e,"",Q7)}function Da(){return!0}function va(e,t,n){const r=iM.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function K7(e){return D7.test(e)&&!F7.test(e)}function oM(){return!1}function Q7(e){return N7.test(e)}function Y7(e){return z7.test(e)}function X7(){const e=_e("colors"),t=_e("spacing"),n=_e("blur"),r=_e("brightness"),i=_e("borderColor"),o=_e("borderRadius"),s=_e("borderSpacing"),a=_e("borderWidth"),l=_e("contrast"),u=_e("grayscale"),c=_e("hueRotate"),d=_e("invert"),f=_e("gap"),p=_e("gradientColorStops"),h=_e("gradientColorStopPositions"),m=_e("inset"),x=_e("margin"),g=_e("opacity"),y=_e("padding"),v=_e("saturate"),w=_e("scale"),S=_e("sepia"),E=_e("skew"),T=_e("space"),P=_e("translate"),M=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto",ie,t],I=()=>[ie,t],$=()=>["",hr,Xr],D=()=>["auto",fo,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"],R=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",ie],z=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[fo,xc],ne=()=>[fo,ie];return{cacheSize:500,separator:":",theme:{colors:[Da],spacing:[hr,Xr],blur:["none","",Zr,ie],brightness:K(),borderColor:[e],borderRadius:["none","","full",Zr,ie],borderSpacing:I(),borderWidth:$(),contrast:K(),grayscale:L(),hueRotate:ne(),invert:L(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[V7,Xr],inset:A(),margin:A(),opacity:K(),padding:I(),saturate:K(),scale:K(),sepia:L(),skew:ne(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",ie]}],container:["container"],columns:[{columns:[Zr]}],"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:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],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",ja,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:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",ja,ie]}],"grid-cols":[{"grid-cols":[Da]}],"col-start-end":[{col:["auto",{span:["full",ja,ie]},ie]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Da]}],"row-start-end":[{row:["auto",{span:[ja,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",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"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:[Zr]},Zr]}],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",Zr,Xr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xc]}],"font-family":[{font:[Da]}],"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",fo,xc]}],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,Xr]}],"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(),W7]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",U7]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},G7]}],"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,Xr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[hr,Xr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Zr,q7]}],"shadow-color":[{shadow:[Da]}],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",Zr,ie]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[S]}],"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":[S]}],"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:[ja,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,Xr,xc]}],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 Z7=I7(X7);function J7(...e){return Z7(oe(e))}const sM=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Lp=b.createContext({}),jy=b.createContext(null),Dy=typeof document<"u",Fy=Dy?b.useLayoutEffect:b.useEffect,aM=b.createContext({strict:!1}),Ny=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),eB="framerAppearId",lM="data-"+Ny(eB),tB={skipAnimations:!1,useManualTiming:!1};class Kb{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 nB(e){let t=new Kb,n=new Kb,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]=nB(()=>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,rB),1),i.timestamp=d,i.isProcessing=!0,wc.forEach(s),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:wc.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=>wc.forEach(f=>o[f].cancel(d)),state:i,steps:o}}const{schedule:zy,cancel:Bq}=uM(queueMicrotask,!1);function iB(e,t,n,r){const{visualElement:i}=b.useContext(Lp),o=b.useContext(aM),s=b.useContext(jy),a=b.useContext(sM).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[lM]&&!window.HandoffComplete));return Fy(()=>{u&&(zy.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 fs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function oB(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):fs(n)&&(n.current=r))},[t])}function iu(e){return typeof e=="string"||Array.isArray(e)}function $p(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Vy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],By=["initial",...Vy];function jp(e){return $p(e.animate)||By.some(t=>iu(e[t]))}function cM(e){return!!(jp(e)||e.variants)}function sB(e,t){if(jp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||iu(n)?n:void 0,animate:iu(r)?r:void 0}}return e.inherit!==!1?t:{}}function aB(e){const{initial:t,animate:n}=sB(e,b.useContext(Lp));return b.useMemo(()=>({initial:t,animate:n}),[Qb(t),Qb(n)])}function Qb(e){return Array.isArray(e)?e.join(" "):e}const Yb={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"]},ou={};for(const e in Yb)ou[e]={isEnabled:t=>Yb[e].some(n=>!!t[n])};function lB(e){for(const t in e)ou[t]={...ou[t],...e[t]}}const dM=b.createContext({}),fM=b.createContext({}),uB=Symbol.for("motionComponentSymbol");function cB({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&lB(e);function o(a,l){let u;const c={...b.useContext(sM),...a,layoutId:dB(a)},{isStatic:d}=c,f=aB(a),p=r(a,d);if(!d&&Dy){f.visualElement=iB(i,p,c,t);const h=b.useContext(fM),m=b.useContext(aM).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,m,e,h))}return C.jsxs(Lp.Provider,{value:f,children:[u&&f.visualElement?C.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,oB(p,f.visualElement,l),p,d,f.visualElement)]})}const s=b.forwardRef(o);return s[uB]=i,s}function dB({layoutId:e}){const t=b.useContext(dM).id;return t&&e!==void 0?t+"-"+e:e}function fB(e){function t(r,i={}){return cB(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 pB=["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 Uy(e){return typeof e!="string"||e.includes("-")?!1:!!(pB.indexOf(e)>-1||/[A-Z]/u.test(e))}const tf={};function hB(e){Object.assign(tf,e)}const Nu=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],No=new Set(Nu);function pM(e,{layout:t,layoutId:n}){return No.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!tf[e]||e==="opacity")}const _t=e=>!!(e&&e.getVelocity),mB={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},gB=Nu.length;function vB(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let s=0;st=>typeof t=="string"&&t.startsWith(e),mM=hM("--"),yB=hM("var(--"),Wy=e=>yB(e)?xB.test(e.split("/*")[0].trim()):!1,xB=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,wB=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Bi=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},hl={...ya,transform:e=>Bi(0,1,e)},bc={...ya,default:1},ml=e=>Math.round(e*1e5)/1e5,Hy=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,bB=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,SB=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function zu(e){return typeof e=="string"}const Vu=e=>({test:t=>zu(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ei=Vu("deg"),cr=Vu("%"),Z=Vu("px"),CB=Vu("vh"),EB=Vu("vw"),Xb={...cr,parse:e=>cr.parse(e)/100,transform:e=>cr.transform(e*100)},Zb={...ya,transform:Math.round},gM={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:ei,rotateX:ei,rotateY:ei,rotateZ:ei,scale:bc,scaleX:bc,scaleY:bc,scaleZ:bc,skew:ei,skewX:ei,skewY:ei,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:hl,originX:Xb,originY:Xb,originZ:Z,zIndex:Zb,backgroundPositionX:Z,backgroundPositionY:Z,fillOpacity:hl,strokeOpacity:hl,numOctaves:Zb};function Gy(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(mM(d)){o[d]=f;continue}const p=gM[d],h=wB(f,p);if(No.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=vB(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 qy=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function vM(e,t,n){for(const r in t)!_t(t[r])&&!pM(r,n)&&(e[r]=t[r])}function PB({transformTemplate:e},t,n){return b.useMemo(()=>{const r=qy();return Gy(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function TB(e,t,n){const r=e.style||{},i={};return vM(i,r,e),Object.assign(i,PB(e,t,n)),i}function kB(e,t,n){const r={},i=TB(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 MB=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 nf(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||MB.has(e)}let yM=e=>!nf(e);function OB(e){e&&(yM=t=>t.startsWith("on")?!nf(t):e(t))}try{OB(require("@emotion/is-prop-valid").default)}catch{}function _B(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(yM(i)||n===!0&&nf(i)||!t&&!nf(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Jb(e,t,n){return typeof e=="string"?e:Z.transform(t+n*e)}function RB(e,t,n){const r=Jb(t,e.x,e.width),i=Jb(n,e.y,e.height);return`${r} ${i}`}const AB={offset:"stroke-dashoffset",array:"stroke-dasharray"},IB={offset:"strokeDashoffset",array:"strokeDasharray"};function LB(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?AB:IB;e[o.offset]=Z.transform(-r);const s=Z.transform(t),a=Z.transform(n);e[o.array]=`${s} ${a}`}function Ky(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d,f){if(Gy(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&&LB(p,s,a,l,!1)}const xM=()=>({...qy(),attrs:{}}),Qy=e=>typeof e=="string"&&e.toLowerCase()==="svg";function $B(e,t,n,r){const i=b.useMemo(()=>{const o=xM();return Ky(o,t,{enableHardwareAcceleration:!1},Qy(r),e.transformTemplate),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};vM(o,e.style,e),i.style={...o,...i.style}}return i}function jB(e=!1){return(n,r,i,{latestValues:o},s)=>{const l=(Uy(n)?$B:kB)(r,o,s,n),u=_B(r,typeof n=="string",e),c=n!==b.Fragment?{...u,...l,ref:i}:{},{children:d}=r,f=b.useMemo(()=>_t(d)?d.get():d,[d]);return b.createElement(n,{...c,children:f})}}function wM(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 bM=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 SM(e,t,n,r){wM(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(bM.has(i)?i:Ny(i),t.attrs[i])}function Yy(e,t,n){var r;const{style:i}=e,o={};for(const s in i)(_t(i[s])||t.style&&_t(t.style[s])||pM(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 CM(e,t,n){const r=Yy(e,t,n);for(const i in e)if(_t(e[i])||_t(t[i])){const o=Nu.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[o]=e[i]}return r}function Xy(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 uv=e=>Array.isArray(e),DB=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),FB=e=>uv(e)?e[e.length-1]||0:e;function Kc(e){const t=_t(e)?e.get():e;return DB(t)?t.toValue():t}function NB({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:zB(r,i,o,e),renderState:t()};return n&&(s.mount=a=>n(r,a,s)),s}const EM=e=>(t,n)=>{const r=b.useContext(Lp),i=b.useContext(jy),o=()=>NB(e,t,r,i);return n?o():Zy(o)};function zB(e,t,n,r){const i={},o=r(e,{});for(const f in o)i[f]=Kc(o[f]);let{initial:s,animate:a}=e;const l=jp(e),u=cM(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"&&!$p(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{const h=Xy(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:Qe,cancel:Dr,state:dt,steps:Jh}=uM(typeof requestAnimationFrame<"u"?requestAnimationFrame:bt,!0),VB={useVisualState:EM({scrapeMotionValuesFromProps:CM,createRenderState:xM,onMount:(e,t,{renderState:n,latestValues:r})=>{Qe.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),Qe.render(()=>{Ky(n,r,{enableHardwareAcceleration:!1},Qy(t.tagName),e.transformTemplate),SM(t,n)})}})},BB={useVisualState:EM({scrapeMotionValuesFromProps:Yy,createRenderState:qy})};function UB(e,{forwardMotionProps:t=!1},n,r){return{...Uy(e)?VB:BB,preloadedFeatures:n,useRender:jB(t),createVisualElement:r,Component:e}}function Cr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const PM=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Dp(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const WB=e=>t=>PM(t)&&e(t,Dp(t));function Or(e,t,n,r){return Cr(e,t,WB(n),r)}const HB=(e,t)=>n=>t(e(n)),_r=(...e)=>e.reduce(HB);function TM(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const eS=TM("dragHorizontal"),tS=TM("dragVertical");function kM(e){let t=!1;if(e==="y")t=tS();else if(e==="x")t=eS();else{const n=eS(),r=tS();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function MM(){const e=kM(!0);return e?(e(),!1):!0}class Ki{constructor(t){this.isMounted=!1,this.node=t}update(){}}function nS(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(o,s)=>{if(o.pointerType==="touch"||MM())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&l(o,s)};return Or(e.current,n,i,{passive:!e.getProps()[r]})}class GB extends Ki{mount(){this.unmount=_r(nS(this.node,!0),nS(this.node,!1))}unmount(){}}class qB extends Ki{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=_r(Cr(this.node.current,"focus",()=>this.onFocus()),Cr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const OM=(e,t)=>t?e===t?!0:OM(e,t.parentElement):!1;function em(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Dp(n))}class KB extends Ki{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=Or(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!OM(this.node.current,a.target)?c&&c(a,l):u&&u(a,l)},{passive:!(r.onTap||r.onPointerUp)}),s=Or(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=_r(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()||em("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&c(l,u)})};this.removeEndListeners(),this.removeEndListeners=Cr(this.node.current,"keyup",s),em("down",(a,l)=>{this.startPress(a,l)})},n=Cr(this.node.current,"keydown",t),r=()=>{this.isPressing&&em("cancel",(o,s)=>this.cancelPress(o,s))},i=Cr(this.node.current,"blur",r);this.removeAccessibleListeners=_r(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),!MM()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(t,n)}mount(){const t=this.node.getProps(),n=Or(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Cr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=_r(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const cv=new WeakMap,tm=new WeakMap,QB=e=>{const t=cv.get(e.target);t&&t(e)},YB=e=>{e.forEach(QB)};function XB({root:e,...t}){const n=e||document;tm.has(n)||tm.set(n,{});const r=tm.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(YB,{root:e,...t})),r[i]}function ZB(e,t,n){const r=XB(t);return cv.set(e,n),r.observe(e),()=>{cv.delete(e),r.unobserve(e)}}const JB={some:0,all:1};class eU extends Ki{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:JB[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 ZB(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(tU(t,n))&&this.startObserver()}unmount(){}}function tU({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const nU={inView:{Feature:eU},tap:{Feature:KB},focus:{Feature:qB},hover:{Feature:GB}};function _M(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 iU(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Fp(e,t,n){const r=e.getProps();return Xy(r,t,n!==void 0?n:r.custom,rU(e),iU(e))}const $i=e=>e*1e3,Rr=e=>e/1e3,oU={type:"spring",stiffness:500,damping:25,restSpeed:10},sU=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),aU={type:"keyframes",duration:.8},lU={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},uU=(e,{keyframes:t})=>t.length>2?aU:No.has(e)?e.startsWith("scale")?sU(t[1]):oU:lU;function cU({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 Jy(e,t){return e[t]||e.default||e}const dU=e=>e!==null;function Np(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(dU),o=t&&n!=="loop"&&t%2===1?0:i.length-1;return!o||r===void 0?i[o]:r}let Qc;function fU(){Qc=void 0}const ji={now:()=>(Qc===void 0&&ji.set(dt.isProcessing||tB.useManualTiming?dt.timestamp:performance.now()),Qc),set:e=>{Qc=e,queueMicrotask(fU)}},RM=e=>/^0[^.\s]+$/u.test(e);function pU(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||RM(e):!0}let hU=bt,e1=bt;const AM=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),mU=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function gU(e){const t=mU.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function IM(e,t,n=1){const[r,i]=gU(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);if(o){const s=o.trim();return AM(s)?parseFloat(s):s}return Wy(i)?IM(i,t,n+1):i}const vU=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),rS=e=>e===ya||e===Z,iS=(e,t)=>parseFloat(e.split(", ")[t]),oS=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return iS(i[1],t);{const o=r.match(/^matrix\((.+)\)$/u);return o?iS(o[1],e):0}},yU=new Set(["x","y","z"]),xU=Nu.filter(e=>!yU.has(e));function wU(e){const t=[];return xU.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const ia={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:oS(4,13),y:oS(5,14)};ia.translateX=ia.x;ia.translateY=ia.y;const LM=e=>t=>t.test(e),bU={test:e=>e==="auto",parse:e=>e},$M=[ya,Z,cr,ei,EB,CB,bU],sS=e=>$M.find(LM(e)),Po=new Set;let dv=!1,fv=!1;function jM(){if(fv){const e=Array.from(Po).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=wU(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)})}fv=!1,dv=!1,Po.forEach(e=>e.complete()),Po.clear()}function DM(){Po.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(fv=!0)})}function SU(){DM(),jM()}class t1{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?(Po.add(this),dv||(dv=!0,Qe.read(DM),Qe.resolveKeyframes(jM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let o=0;on=>!!(zu(n)&&SB.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),FM=(e,t,n)=>r=>{if(!zu(r))return r;const[i,o,s,a]=r.match(Hy);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},CU=e=>Bi(0,255,e),nm={...ya,transform:e=>Math.round(CU(e))},po={test:n1("rgb","red"),parse:FM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+nm.transform(e)+", "+nm.transform(t)+", "+nm.transform(n)+", "+ml(hl.transform(r))+")"};function EU(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 pv={test:n1("#"),parse:EU,transform:po.transform},ps={test:n1("hsl","hue"),parse:FM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+cr.transform(ml(t))+", "+cr.transform(ml(n))+", "+ml(hl.transform(r))+")"},Mt={test:e=>po.test(e)||pv.test(e)||ps.test(e),parse:e=>po.test(e)?po.parse(e):ps.test(e)?ps.parse(e):pv.parse(e),transform:e=>zu(e)?e:e.hasOwnProperty("red")?po.transform(e):ps.transform(e)};function PU(e){var t,n;return isNaN(e)&&zu(e)&&(((t=e.match(Hy))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(bB))===null||n===void 0?void 0:n.length)||0)>0}const NM="number",zM="color",TU="var",kU="var(",aS="${}",MU=/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 rf(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let o=0;const a=t.replace(MU,l=>(Mt.test(l)?(r.color.push(o),i.push(zM),n.push(Mt.parse(l))):l.startsWith(kU)?(r.var.push(o),i.push(TU),n.push(l)):(r.number.push(o),i.push(NM),n.push(parseFloat(l))),++o,aS)).split(aS);return{values:n,split:a,indexes:r,types:i}}function VM(e){return rf(e).values}function BM(e){const{split:t,types:n}=rf(e),r=t.length;return i=>{let o="";for(let s=0;stypeof e=="number"?0:e;function _U(e){const t=VM(e);return BM(e)(t.map(OU))}const Ui={test:PU,parse:VM,createTransformer:BM,getAnimatableNone:_U},RU=new Set(["brightness","contrast","saturate","opacity"]);function AU(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Hy)||[];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 IU=/\b([a-z-]*)\(.*?\)/gu,hv={...Ui,getAnimatableNone:e=>{const t=e.match(IU);return t?t.map(AU).join(" "):e}},LU={...gM,color:Mt,backgroundColor:Mt,outlineColor:Mt,fill:Mt,stroke:Mt,borderColor:Mt,borderTopColor:Mt,borderRightColor:Mt,borderBottomColor:Mt,borderLeftColor:Mt,filter:hv,WebkitFilter:hv},r1=e=>LU[e];function UM(e,t){let n=r1(e);return n!==hv&&(n=Ui),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function $U(e,t,n){let r=0,i;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function jU(e){let t;return()=>(t===void 0&&(t=e()),t)}const lS=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ui.test(e)||e==="0")&&!e.startsWith("url("));function DU(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n{this.resolveFinishedPromise=t})}}function i1(e,t){return t?e*(1e3/t):0}const NU=5;function GM(e,t,n){const r=Math.max(t-NU,0);return i1(n-e(r),t-r)}const rm=.001,zU=.01,VU=10,BU=.05,UU=1;function WU({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o,s=1-t;s=Bi(BU,UU,s),e=Bi(zU,VU,Rr(e)),s<1?(i=u=>{const c=u*s,d=c*e,f=c-n,p=mv(u,s),h=Math.exp(-d);return rm-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=mv(Math.pow(u,2),s);return(-i(u)+rm>0?-1:1)*((f-p)*h)/m}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-rm+c*d},o=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=GU(i,o,a);if(e=$i(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 HU=12;function GU(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function QU(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!uS(e,KU)&&uS(e,qU)){const n=WU(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function qM({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}=QU({...r,velocity:-Rr(r.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(a*u)),m=o-i,x=Rr(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=mv(x,h);y=w=>{const S=Math.exp(-h*x*w);return o-S*((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 S=Math.exp(-h*x*w),E=Math.min(v*w,300);return o-S*((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 S=p;v!==0&&(h<1?S=GM(y,v,w):S=0);const E=Math.abs(S)<=n,T=Math.abs(o-w)<=t;s.done=E&&T}return s.value=s.done?o:w,s}}}function cS({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 M=y(P),k=v(P);f.done=Math.abs(M)<=u,f.value=f.done?g:k};let S,E;const T=P=>{p(f.value)&&(S=P,E=qM({keyframes:[f.value,h(f.value)],velocity:GM(v,P,f.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:P=>{let M=!1;return!E&&S===void 0&&(M=!0,w(P),T(P)),S!==void 0&&P>=S?E.next(P-S):(!M&&w(P),f)}}}const KM=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,YU=1e-7,XU=12;function ZU(e,t,n,r,i){let o,s,a=0;do s=t+(n-t)/2,o=KM(s,r,i)-e,o>0?n=s:t=s;while(Math.abs(o)>YU&&++aZU(o,0,1,e,n);return o=>o===0||o===1?o:KM(i(o),t,r)}const JU=Bu(.42,0,1,1),eW=Bu(0,0,.58,1),QM=Bu(.42,0,.58,1),tW=e=>Array.isArray(e)&&typeof e[0]!="number",YM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,XM=e=>t=>1-e(1-t),o1=e=>1-Math.sin(Math.acos(e)),ZM=XM(o1),nW=YM(o1),JM=Bu(.33,1.53,.69,.99),s1=XM(JM),rW=YM(s1),iW=e=>(e*=2)<1?.5*s1(e):.5*(2-Math.pow(2,-10*(e-1))),oW={linear:bt,easeIn:JU,easeInOut:QM,easeOut:eW,circIn:o1,circInOut:nW,circOut:ZM,backIn:s1,backInOut:rW,backOut:JM,anticipate:iW},dS=e=>{if(Array.isArray(e)){e1(e.length===4);const[t,n,r,i]=e;return Bu(t,n,r,i)}else if(typeof e=="string")return oW[e];return e},oa=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},je=(e,t,n)=>e+(t-e)*n;function im(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 sW({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=im(l,a,e+1/3),o=im(l,a,e),s=im(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(s*255),alpha:r}}const om=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},aW=[pv,po,ps],lW=e=>aW.find(t=>t.test(e));function fS(e){const t=lW(e);let n=t.parse(e);return t===ps&&(n=sW(n)),n}const pS=(e,t)=>{const n=fS(e),r=fS(t),i={...n};return o=>(i.red=om(n.red,r.red,o),i.green=om(n.green,r.green,o),i.blue=om(n.blue,r.blue,o),i.alpha=je(n.alpha,r.alpha,o),po.transform(i))};function gv(e,t){return n=>n>0?t:e}function uW(e,t){return n=>je(e,t,n)}function a1(e){return typeof e=="number"?uW:typeof e=="string"?Wy(e)?gv:Mt.test(e)?pS:fW:Array.isArray(e)?eO:typeof e=="object"?Mt.test(e)?pS:cW:gv}function eO(e,t){const n=[...e],r=n.length,i=e.map((o,s)=>a1(o)(o,t[s]));return o=>{for(let s=0;s{for(const o in r)n[o]=r[o](i);return n}}function dW(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let o=0;o{const n=Ui.createTransformer(t),r=rf(e),i=rf(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?_r(eO(dW(r,i),i.values),n):gv(e,t)};function tO(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?je(e,t,n):a1(e)(e,t)}function pW(e,t,n){const r=[],i=n||tO,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=pW(t,r,i),a=s.length,l=u=>{let c=0;if(a>1)for(;cl(Bi(e[0],e[o-1],u)):l}function hW(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=oa(0,t,r);e.push(je(n,1,i))}}function rO(e){const t=[0];return hW(t,e.length-1),t}function mW(e,t){return e.map(n=>n*t)}function gW(e,t){return e.map(()=>t||QM).splice(0,e.length-1)}function of({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=tW(r)?r.map(dS):dS(r),o={done:!1,value:t[0]},s=mW(n&&n.length===t.length?n:rO(t),e),a=nO(s,t,{ease:Array.isArray(i)?i:gW(t,i)});return{calculatedDuration:e,next:l=>(o.value=a(l),o.done=l>=e,o)}}const hS=2e4;function vW(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=hS?1/0:t}const yW=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Qe.update(t,!0),stop:()=>Dr(t),now:()=>dt.isProcessing?dt.timestamp:ji.now()}},xW={decay:cS,inertia:cS,tween:of,keyframes:of,spring:qM},wW=e=>e/100;class l1 extends HM{constructor({KeyframeResolver:t=t1,...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=xW[n]||of;let l,u;a!==of&&typeof t[0]!="number"&&(l=_r(wW,tO(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=vW(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 M=Math.floor(P),k=P%1;!k&&P>=1&&(k=1),k===1&&M--,M=Math.min(M,p+1),!!(M%2)&&(h==="reverse"?(k=1-k,m&&(k-=m/d)):h==="mirror"&&(w=s)),v=Bi(0,1,k)*d}const S=y?{done:!1,value:l[0]}:w.next(v);a&&(S.value=a(S.value));let{done:E}=S;!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&&(S.value=Np(l,this.options,i)),x&&x(S.value),T&&this.finish(),S}get duration(){const{resolved:t}=this;return t?Rr(t.calculatedDuration):0}get time(){return Rr(this.currentTime)}set time(t){t=$i(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=Rr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=yW,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 iO=e=>Array.isArray(e)&&typeof e[0]=="number";function oO(e){return!!(!e||typeof e=="string"&&e in u1||iO(e)||Array.isArray(e)&&e.every(oO))}const Ka=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,u1={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ka([0,.65,.55,1]),circOut:Ka([.55,0,1,.45]),backIn:Ka([.31,.01,.66,-.59]),backOut:Ka([.33,1.53,.69,.99])};function bW(e){return sO(e)||u1.easeOut}function sO(e){if(e)return iO(e)?Ka(e):Array.isArray(e)?e.map(bW):u1[e]}function SW(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=sO(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 CW=jU(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),EW=new Set(["opacity","clipPath","filter","transform"]),sf=10,PW=2e4;function TW(e){return e.type==="spring"||e.name==="backgroundColor"||!oO(e.ease)}function kW(e,t){const n=new l1({...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(TW(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...h}=this.options,m=kW(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=SW(l.owner.current,u,t,{...this.options,duration:i,times:o,ease:s});return c.startTime=ji.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;l.set(Np(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 Rr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Rr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=$i(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 l1({...d,keyframes:r,duration:i,type:o,ease:s,times:a,isGenerator:!0}),p=$i(this.time);l.setWithVelocity(f.sample(p-sf).value,f.sample(p).value,sf)}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 CW()&&r&&EW.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&o!=="mirror"&&s!==0&&a!=="inertia"}}const c1=(e,t,n,r={},i,o)=>s=>{const a=Jy(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-$i(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};cU(a)||(c={...c,...uU(e,c)}),c.duration&&(c.duration=$i(c.duration)),c.repeatDelay&&(c.repeatDelay=$i(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=Np(c.keyframes,a);if(f!==void 0){Qe.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!o&&mS.supports(c)?new mS(c):new l1(c)};function af(e){return!!(_t(e)&&e.add)}function d1(e,t){e.indexOf(t)===-1&&e.push(t)}function f1(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class p1{constructor(){this.subscriptions=[]}add(t){return d1(this.subscriptions,t),()=>f1(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 OW{constructor(t,n={}){this.version="11.1.7",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const o=ji.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=MW(this.current),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=ji.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 p1);const r=this.events[t].add(n);return t==="change"?()=>{r(),Qe.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=ji.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>gS)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,gS);return i1(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 OW(e,t)}function _W(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Er(n))}function h1(e,t){const n=Fp(e,t);let{transitionEnd:r={},transition:i={},...o}=n||{};o={...o,...r};for(const s in o){const a=FB(o[s]);_W(e,s,a)}}function RW({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function aO(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,...Jy(s||{},f)};let x=!1;if(window.HandoffAppearAnimations){const v=e.getProps()[lM];if(v){const w=window.HandoffAppearAnimations(v,f);w!==null&&(m.elapsed=w,x=!0)}}p.start(c1(f,p,h,e.shouldReduceMotion&&No.has(f)?{type:!1}:m,e,x));const g=p.animation;g&&(af(u)&&(u.add(f),g.then(()=>u.remove(f))),c.push(g))}return a&&Promise.all(c).then(()=>{Qe.update(()=>{a&&h1(e,a)})}),c}function vv(e,t,n={}){var r;const i=Fp(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(aO(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=o;return AW(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 AW(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(IW).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(vv(u,t,{...o,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function IW(e,t){return e.sortNodePosition(t)}function lO(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(o=>vv(e,o,n));r=Promise.all(i)}else if(typeof t=="string")r=vv(e,t,n);else{const i=typeof t=="function"?Fp(e,t,n.custom):t;r=Promise.all(aO(e,i,n))}return r.then(()=>{Qe.postRender(()=>{e.notify("AnimationComplete",t)})})}const LW=[...Vy].reverse(),$W=Vy.length;function jW(e){return t=>Promise.all(t.map(({animation:n,options:r})=>lO(e,n,r)))}function DW(e){let t=jW(e);const n=NW();let r=!0;const i=l=>(u,c)=>{var d;const f=Fp(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;x<$W;x++){const g=LW[x],y=n[g],v=u[g]!==void 0?u[g]:c[g],w=iu(v),S=g===l?y.isActive:null;S===!1&&(h=x);let E=v===c[g]&&v!==u[g]&&w;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),y.protectedKeys={...p},!y.isActive&&S===null||!v&&!y.prevProp||$p(v)||typeof v=="boolean")continue;let P=FW(y.prevProp,v)||g===l&&y.isActive&&!E&&w||x>h&&w,M=!1;const k=Array.isArray(v)?v:[v];let A=k.reduce(i(g),{});S===!1&&(A={});const{prevResolvedValues:I={}}=y,$={...I,...A},D=B=>{P=!0,f.has(B)&&(M=!0,f.delete(B)),y.needsAnimating[B]=!0;const N=e.getValue(B);N&&(N.liveStyle=!1)};for(const B in $){const N=A[B],H=I[B];if(p.hasOwnProperty(B))continue;let R=!1;uv(N)&&uv(H)?R=!_M(N,H):R=N!==H,R?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||M)&&d.push(...k.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 FW(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!_M(t,e):!1}function Zi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function NW(){return{animate:Zi(!0),whileInView:Zi(),whileHover:Zi(),whileTap:Zi(),whileDrag:Zi(),whileFocus:Zi(),exit:Zi()}}class zW extends Ki{constructor(t){super(t),t.animationState||(t.animationState=DW(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),$p(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 VW=0;class BW extends Ki{constructor(){super(...arguments),this.id=VW++}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 UW={animation:{Feature:zW},exit:{Feature:BW}},vS=(e,t)=>Math.abs(e-t);function WW(e,t){const n=vS(e.x,t.x),r=vS(e.y,t.y);return Math.sqrt(n**2+r**2)}class uO{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=am(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=WW(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=sm(f,this.transformPagePoint),Qe.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=am(d.type==="pointercancel"?this.lastMoveEventInfo:sm(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,x),h&&h(d,x)},!PM(t))return;this.dragSnapToOrigin=o,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const s=Dp(t),a=sm(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=dt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,am(a,this.history)),this.removeListeners=_r(Or(this.contextWindow,"pointermove",this.handlePointerMove),Or(this.contextWindow,"pointerup",this.handlePointerUp),Or(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Dr(this.updatePoint)}}function sm(e,t){return t?{point:t(e.point)}:e}function yS(e,t){return{x:e.x-t.x,y:e.y-t.y}}function am({point:e},t){return{point:e,delta:yS(e,cO(t)),offset:yS(e,HW(t)),velocity:GW(t,.1)}}function HW(e){return e[0]}function cO(e){return e[e.length-1]}function GW(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=cO(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>$i(t)));)n--;if(!r)return{x:0,y:0};const o=Rr(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 yv(e,t=0,n=.01){return Math.abs(e-t)<=n}function xS(e,t,n,r=.5){e.origin=r,e.originPoint=je(t.min,t.max,e.origin),e.scale=sn(n)/sn(t),(yv(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=je(n.min,n.max,e.origin)-e.originPoint,(yv(e.translate)||isNaN(e.translate))&&(e.translate=0)}function gl(e,t,n,r){xS(e.x,t.x,n.x,r?r.originX:void 0),xS(e.y,t.y,n.y,r?r.originY:void 0)}function wS(e,t,n){e.min=n.min+t.min,e.max=e.min+sn(t)}function qW(e,t,n){wS(e.x,t.x,n.x),wS(e.y,t.y,n.y)}function bS(e,t,n){e.min=t.min-n.min,e.max=e.min+sn(t)}function vl(e,t,n){bS(e.x,t.x,n.x),bS(e.y,t.y,n.y)}function KW(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?je(n,e,r.max):Math.min(e,n)),e}function SS(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 QW(e,{top:t,left:n,bottom:r,right:i}){return{x:SS(e.x,n,i),y:SS(e.y,t,r)}}function CS(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=oa(t.min,t.max-r,e.min):r>i&&(n=oa(e.min,e.max-i,t.min)),Bi(0,1,n)}function ZW(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 xv=.35;function JW(e=xv){return e===!1?e=0:e===!0&&(e=xv),{x:ES(e,"left","right"),y:ES(e,"top","bottom")}}function ES(e,t,n){return{min:PS(e,t),max:PS(e,n)}}function PS(e,t){return typeof e=="number"?e:e[t]||0}const TS=()=>({translate:0,scale:1,origin:0,originPoint:0}),hs=()=>({x:TS(),y:TS()}),kS=()=>({min:0,max:0}),qe=()=>({x:kS(),y:kS()});function fn(e){return[e("x"),e("y")]}function dO({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function eH({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function tH(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 lm(e){return e===void 0||e===1}function wv({scale:e,scaleX:t,scaleY:n}){return!lm(e)||!lm(t)||!lm(n)}function ro(e){return wv(e)||fO(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function fO(e){return MS(e.x)||MS(e.y)}function MS(e){return e&&e!=="0%"}function lf(e,t,n){const r=e-n,i=t*r;return n+i}function OS(e,t,n,r,i){return i!==void 0&&(e=lf(e,i,r)),lf(e,n,r)+t}function bv(e,t=0,n=1,r,i){e.min=OS(e.min,t,n,r,i),e.max=OS(e.max,t,n,r,i)}function pO(e,{x:t,y:n}){bv(e.x,t.translate,t.scale,t.originPoint),bv(e.y,n.translate,n.scale,n.originPoint)}function nH(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 ii(e,t){e.min=e.min+t,e.max=e.max+t}function RS(e,t,[n,r,i]){const o=t[i]!==void 0?t[i]:.5,s=je(e.min,e.max,o);bv(e,t[n],t[r],s,t.scale)}const rH=["x","scaleX","originX"],iH=["y","scaleY","originY"];function ms(e,t){RS(e.x,t,rH),RS(e.y,t,iH)}function hO(e,t){return dO(tH(e.getBoundingClientRect(),t))}function oH(e,t,n){const r=hO(e,n),{scroll:i}=t;return i&&(ii(r.x,i.offset.x),ii(r.y,i.offset.y)),r}const mO=({current:e})=>e?e.ownerDocument.defaultView:null,sH=new WeakMap;class aH{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=qe(),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(Dp(c,"page").point)},o=(c,d)=>{const{drag:f,dragPropagation:p,onDragStart:h}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=kM(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=lH(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 uO(t,{onSessionStart:i,onStart:o,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:mO(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||!Sc(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=KW(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&&fs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=QW(i.layoutBox,n):this.constraints=!1,this.elastic=JW(r),o!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&fn(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=ZW(i.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!fs(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=oH(r,i.root,this.visualElement.getTransformPagePoint());let s=YW(i.layout.layoutBox,o);if(n){const a=n(eH(s));this.hasMutatedConstraints=!!a,a&&(s=dO(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(!Sc(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(c1(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(!Sc(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(!fs(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]=XW({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(!Sc(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;sH.set(this.visualElement,this);const t=this.visualElement.current,n=Or(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();fs(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=xv,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:o,dragElastic:s,dragMomentum:a}}}function Sc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function lH(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class uH extends Ki{constructor(t){super(t),this.removeGroupControls=bt,this.removeListeners=bt,this.controls=new aH(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 AS=e=>(t,n)=>{e&&e(t,n)};class cH extends Ki{constructor(){super(...arguments),this.removePointerDownListener=bt}onPointerDown(t){this.session=new uO(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:mO(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:AS(t),onStart:AS(n),onMove:r,onEnd:(o,s)=>{delete this.session,i&&i(o,s)}}}mount(){this.removePointerDownListener=Or(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 dH(){const e=b.useContext(jy);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 Yc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function IS(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Fa={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;const n=IS(e,t.target.x),r=IS(e,t.target.y);return`${n}% ${r}%`}},fH={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ui.parse(e);if(i.length>5)return r;const o=Ui.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 pH extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:o}=t;hB(hH),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()})),Yc.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()||Qe.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),zy.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 gO(e){const[t,n]=dH(),r=b.useContext(dM);return C.jsx(pH,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(fM),isPresent:t,safeToRemove:n})}const hH={borderRadius:{...Fa,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Fa,borderTopRightRadius:Fa,borderBottomLeftRadius:Fa,borderBottomRightRadius:Fa,boxShadow:fH},vO=["TopLeft","TopRight","BottomLeft","BottomRight"],mH=vO.length,LS=e=>typeof e=="string"?parseFloat(e):e,$S=e=>typeof e=="number"||Z.test(e);function gH(e,t,n,r,i,o){i?(e.opacity=je(0,n.opacity!==void 0?n.opacity:1,vH(r)),e.opacityExit=je(t.opacity!==void 0?t.opacity:1,0,yH(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(oa(e,t,r))}function DS(e,t){e.min=t.min,e.max=t.max}function dn(e,t){DS(e.x,t.x),DS(e.y,t.y)}function FS(e,t,n,r,i){return e-=t,e=lf(e,1/n,r),i!==void 0&&(e=lf(e,1/i,r)),e}function xH(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=FS(e.min,t,n,a,i),e.max=FS(e.max,t,n,a,i)}function NS(e,t,[n,r,i],o,s){xH(e,t[n],t[r],t[i],t.scale,o,s)}const wH=["x","scaleX","originX"],bH=["y","scaleY","originY"];function zS(e,t,n,r){NS(e.x,t,wH,n?n.x:void 0,r?r.x:void 0),NS(e.y,t,bH,n?n.y:void 0,r?r.y:void 0)}function VS(e){return e.translate===0&&e.scale===1}function xO(e){return VS(e.x)&&VS(e.y)}function SH(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 wO(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 BS(e){return sn(e.x)/sn(e.y)}class CH{constructor(){this.members=[]}add(t){d1(this.members,t),t.scheduleRender()}remove(t){if(f1(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 US(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 EH=(e,t)=>e.depth-t.depth;class PH{constructor(){this.children=[],this.isDirty=!1}add(t){d1(this.children,t),this.isDirty=!0}remove(t){f1(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(EH),this.isDirty=!1,this.children.forEach(t)}}function TH(e,t){const n=ji.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Dr(r),e(o-t))};return Qe.read(r,!0),()=>Dr(r)}function kH(e){window.MotionDebug&&window.MotionDebug.record(e)}function MH(e){return e instanceof SVGElement&&e.tagName!=="svg"}function OH(e,t,n){const r=_t(e)?e:Er(e);return r.start(c1("",r,t,n)),r.animation}const um=["","X","Y","Z"],_H={visibility:"hidden"},WS=1e3;let RH=0;const io={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function cm(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function bO({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,io.totalNodes=io.resolvedTargetDeltas=io.recalculatedProjection=0,this.nodes.forEach(LH),this.nodes.forEach(NH),this.nodes.forEach(zH),this.nodes.forEach($H),kH(io)},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=TH(f,250),Yc.hasAnimatedSinceResize&&(Yc.hasAnimatedSinceResize=!1,this.nodes.forEach(GS))})}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()||HH,{onLayoutAnimationStart:x,onLayoutAnimationComplete:g}=c.getProps(),y=!this.targetLayout||!wO(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={...Jy(m,"layout"),onPlay:x,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else f||GS(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(VH),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(jH),this.sharedNodes.forEach(BH)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Qe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Qe.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 S=w/1e3;qS(d.x,s.x,S),qS(d.y,s.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vl(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),UH(this.relativeTarget,this.relativeTargetOrigin,f,S),v&&SH(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=qe()),dn(v,this.relativeTarget)),m&&(this.animationValues=c,gH(c,u,this.latestValues,S,y,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},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=Qe.update(()=>{Yc.hasAnimatedSinceResize=!0,this.currentAnimation=OH(0,WS,{...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(WS),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&&SO(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||qe();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),ms(a,c),gl(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new CH),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&&cm("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(HS),this.root.sharedNodes.clear()}}}function AH(e){e.updateLayout()}function IH(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}):SO(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=hs();gl(a,r,n.layoutBox);const l=hs();s?gl(l,e.applyTransform(i,!0),n.measuredBox):gl(l,r,n.layoutBox);const u=!xO(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=qe();vl(h,n.layoutBox,f.layoutBox);const m=qe();vl(m,r,p.layoutBox),wO(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 LH(e){io.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 $H(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function jH(e){e.clearSnapshot()}function HS(e){e.clearMeasurements()}function DH(e){e.isLayoutDirty=!1}function FH(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function GS(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function NH(e){e.resolveTargetDelta()}function zH(e){e.calcProjection()}function VH(e){e.resetSkewAndRotation()}function BH(e){e.removeLeadSnapshot()}function qS(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 KS(e,t,n,r){e.min=je(t.min,n.min,r),e.max=je(t.max,n.max,r)}function UH(e,t,n,r){KS(e.x,t.x,n.x,r),KS(e.y,t.y,n.y,r)}function WH(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const HH={duration:.45,ease:[.4,0,.1,1]},QS=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),YS=QS("applewebkit/")&&!QS("chrome/")?Math.round:bt;function XS(e){e.min=YS(e.min),e.max=YS(e.max)}function GH(e){XS(e.x),XS(e.y)}function SO(e,t,n){return e==="position"||e==="preserve-aspect"&&!yv(BS(t),BS(n),.2)}const qH=bO({attachResizeListener:(e,t)=>Cr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),dm={current:void 0},CO=bO({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!dm.current){const e=new qH({});e.mount(window),e.setOptions({layoutScroll:!0}),dm.current=e}return dm.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),KH={pan:{Feature:cH},drag:{Feature:uH,ProjectionNode:CO,MeasureLayout:gO}},Sv={current:null},EO={current:!1};function QH(){if(EO.current=!0,!!Dy)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Sv.current=e.matches;e.addListener(t),t()}else Sv.current=!1}function YH(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(_t(o))e.addValue(i,o),af(r)&&r.add(i);else if(_t(s))e.addValue(i,Er(o,{owner:e})),af(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 ZS=new WeakMap,XH=[...$M,Mt,Ui],ZH=e=>XH.find(LM(e)),PO=Object.keys(ou),JH=PO.length,JS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eG=By.length;function TO(e){if(e)return e.options.allowProjection!==!1?e.projection:TO(e.parent)}class tG{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=t1,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=()=>Qe.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=jp(n),this.isVariantNode=cM(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&&_t(p)&&(p.set(l[f],!1),af(c)&&c.add(f))}}mount(t){this.current=t,ZS.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)),EO.current||QH(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Sv.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var t;ZS.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=No.has(t),i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&Qe.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):qe()}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"&&(AM(i)||RM(i))?i=parseFloat(i):!ZH(i)&&Ui.test(n)&&(i=UM(t,n)),this.setBaseTarget(t,_t(i)?i.get():i)),_t(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=Xy(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&&!_t(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 p1),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class kO extends tG{constructor(){super(...arguments),this.KeyframeResolver=WM}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 nG(e){return window.getComputedStyle(e)}class rG extends kO{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(No.has(n)){const r=r1(n);return r&&r.default||0}else{const r=nG(t),i=(mM(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return hO(t,n)}build(t,n,r,i){Gy(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Yy(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;_t(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){wM(t,n,r,i)}}class iG extends kO{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(No.has(n)){const r=r1(n);return r&&r.default||0}return n=bM.has(n)?n:Ny(n),t.getAttribute(n)}measureInstanceViewportBox(){return qe()}scrapeMotionValuesFromProps(t,n,r){return CM(t,n,r)}build(t,n,r,i){Ky(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){SM(t,n,r,i)}mount(t){this.isSVGTag=Qy(t.tagName),super.mount(t)}}const oG=(e,t)=>Uy(e)?new iG(t,{enableHardwareAcceleration:!1}):new rG(t,{allowProjection:e!==b.Fragment,enableHardwareAcceleration:!0}),sG={layout:{ProjectionNode:CO,MeasureLayout:gO}},aG={...UW,...nU,...KH,...sG},lG=fB((e,t)=>UB(e,t,aG,oG));function uG(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(e1(!!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 Xc=new WeakMap;let ti;function cG(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 dG({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Xc.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return cG(e,n)}})})}function fG(e){e.forEach(dG)}function pG(){typeof ResizeObserver>"u"||(ti=new ResizeObserver(fG))}function hG(e,t){ti||pG();const n=uG(e);return n.forEach(r=>{let i=Xc.get(r);i||(i=new Set,Xc.set(r,i)),i.add(t),ti==null||ti.observe(r)}),()=>{n.forEach(r=>{const i=Xc.get(r);i==null||i.delete(t),i!=null&&i.size||ti==null||ti.unobserve(r)})}}const Zc=new Set;let yl;function mG(){yl=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Zc.forEach(n=>n(t))},window.addEventListener("resize",yl)}function gG(e){return Zc.add(e),yl||mG(),()=>{Zc.delete(e),!Zc.size&&yl&&(yl=void 0)}}function vG(e,t){return typeof e=="function"?gG(e):hG(e,t)}const yG=50,eC=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),xG=()=>({time:0,x:eC(),y:eC()}),wG={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function tC(e,t,n,r){const i=n[t],{length:o,position:s}=wG[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=oa(0,i.scrollLength,i.current);const u=r-l;i.velocity=u>yG?0:i1(i.current-a,u)}function bG(e,t,n){tC(e,"x",t,n),tC(e,"y",t,n),t.time=n}function SG(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 CG={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Cv={start:0,center:.5,end:1};function nC(e,t,n=0){let r=0;if(e in Cv&&(e=Cv[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 EG=[0,0];function PG(e,t,n,r){let i=Array.isArray(e)?e:EG,o=0,s=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,Cv[e]?e:"0"]),o=nC(i[0],n,r),s=nC(i[1],t),o-s}const TG={x:0,y:0};function kG(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function MG(e,t,n){const{offset:r=CG.All}=n,{target:i=e,axis:o="y"}=n,s=o==="y"?"height":"width",a=i!==e?SG(i,e):TG,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:kG(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;fOG(e,r.target,n),update:i=>{bG(e,n,i),(r.offset||r.target)&&MG(e,n,r)},notify:()=>t(n)}}const Na=new WeakMap,rC=new WeakMap,fm=new WeakMap,iC=e=>e===document.documentElement?window:e;function RG(e,{container:t=document.documentElement,...n}={}){let r=fm.get(t);r||(r=new Set,fm.set(t,r));const i=xG(),o=_G(t,e,i,n);if(r.add(o),!Na.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=()=>{Qe.read(a,!1,!0),Qe.read(l,!1,!0),Qe.update(u,!1,!0)};Na.set(t,c);const d=iC(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&rC.set(t,vG(t,c)),d.addEventListener("scroll",c,{passive:!0})}const s=Na.get(t);return Qe.read(s,!1,!0),()=>{var a;Dr(s);const l=fm.get(t);if(!l||(l.delete(o),l.size))return;const u=Na.get(t);Na.delete(t),u&&(iC(t).removeEventListener("scroll",u),(a=rC.get(t))===null||a===void 0||a(),window.removeEventListener("resize",u))}}function oC(e,t){hU(!!(!t||t.current))}const AG=()=>({scrollX:Er(0),scrollY:Er(0),scrollXProgress:Er(0),scrollYProgress:Er(0)});function zp({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=Zy(AG);return(n?Fy:b.useEffect)(()=>(oC("target",t),oC("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 IG(e){e.values.forEach(t=>t.stop())}function Ev(e,t){[...t].reverse().forEach(r=>{const i=e.getVariant(r);i&&h1(e,i),e.variantChildren&&e.variantChildren.forEach(o=>{Ev(o,t)})})}function LG(e,t){if(Array.isArray(t))return Ev(e,t);if(typeof t=="string")return Ev(e,[t]);h1(e,t)}function $G(){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(lO(o,n,{transitionOverride:r}))}),Promise.all(i)},set(n){return e.forEach(r=>{LG(r,n)})},stop(){e.forEach(n=>{IG(n)})},mount(){return()=>{t.stop()}}};return t}function jG(){const e=Zy($G);return Fy(e.mount,[]),e}const DG=jG,sC=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(()=>{x7(async p=>{await w7(p)}).then(()=>{c(!0)})},[]);const d=DG(),f=async p=>{p&&(console.log(p),d.start({opacity:1,transition:{duration:1}}))};return C.jsx(lG.div,{style:{...e.sx},animate:d,className:J7("opacity-0",n),children:u&&C.jsx(y7,{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 aC(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`${ha.getUri()}/sponsor-logos/${o}.png`}return C.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:C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",height:"100%",gap:"15px"},children:[C.jsx("img",{style:{maxWidth:"48px",mixBlendMode:"luminosity"},src:"/logo256.png"}),C.jsx(Q,{sx:{marginTop:"10px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"30px",maxWidth:"100%"},children:e.project.members.map(i=>C.jsx("img",{style:{maxHeight:"50px",maxWidth:"100%"},src:r(i)}))}),C.jsx(Q,{sx:{flexGrow:1}}),C.jsx(ae,{sx:{lineHeight:.7,fontSize:"2.8rem",fontWeight:"bold",color:"black",textAlign:"end"},children:e.project.tier})]})})}function MO(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,o]=W.useState(0),{scrollYProgress:s}=zp({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)))})},[]),C.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:[C.jsx(ae,{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 FG(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,o]=W.useState([]),{scrollYProgress:s}=zp({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:["IONQ","Amazon Project Kuiper","Fischell Institute","US News","MITRE"]},{tier:"Silver",members:["Lockheed Martin","Booz Allen Hamilton","Children's National Hospital","SECU","Accenture"]},{tier:"Bronze",members:["NSA","General Dynamics IT"]}])},[]),C.jsxs(Q,{sx:{width:"100%",height:"100%",display:"flex",position:"relative",justifyContent:"center",padding:{xs:"15px",md:"0px 100px 0px 50px"}},children:[C.jsxs(Q,{sx:{display:{xs:"none",md:"flex"},flexDirection:"column",width:"100%",height:"max-content",position:"sticky",top:"45vh",left:"0px",textAlign:"center"},children:[C.jsx(ae,{sx:{fontSize:"2.5rem",fontWeight:"bold"},children:"Our Sponsors"}),C.jsx(kg,{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?C.jsxs(Q,{sx:{display:"flex",flexDirection:"column"},children:[C.jsx(MO,{title:"Our Sponsors",stickyPosition:"40vh",children:i.map(a=>C.jsx(aC,{project:a}))}),C.jsx(kg,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold",textAlign:"center"},children:"Want to be a part of something amazing? Sponsor us today!"})]}):C.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)=>C.jsx(aC,{project:a,sx:{top:`calc(22vh + ${l*40}px)`,transform:`scale(${1+l*.03})`}}))})]})}function NG(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 C.jsxs(Q,{id:e==null?void 0:e.id,sx:{width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[C.jsx(ae,{id:"contact-us",sx:{fontSize:"3rem",fontWeight:"bold",textAlign:"center"},children:"Stay Connected!"}),C.jsx(ae,{sx:{textAlign:"center"},children:"We hold a lot of events thoughout the year, Keep in touch with us!"}),C.jsx(p2,{sx:{marginTop:"25px"},fontSize:"2rem"}),C.jsx(gF,{sx:{minWidth:{xs:"90%",md:"60%",lg:"40%"},marginTop:"40px"},placeholder:"Drop us an Email!",value:t,onChange:i=>{n(i.target.value)},endAdornment:C.jsx(Ul,{onClick:r,children:C.jsx(hL,{})})})]})}const lC=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}=zp({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)})},[]),C.jsx(Q,{ref:t,children:e.mobileView?C.jsx(MO,{title:"Projects",sx:{padding:"20px"},children:e.data.map(o=>C.jsx(Gw,{mobileView:!0,project:o},o._id))}):C.jsx(Q,{ref:n,sx:{height:`${e.data.length*600}px`},children:C.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=>C.jsx(Gw,{mobileView:!1,project:o},o._id))})})})}),uC=[{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 zG(){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=wL(m2.baseTheme.breakpoints.down("md")),[n,r]=W.useState(-120),[i]=W.useState([]),[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(S=>(S.end!=w&&(l(!0),S.start=S.end,S.end=w,console.warn(`Gradient Transition: ${S.start} -> ${S.end}`)),S))}const c=b.useRef(null),d=b.useRef(null),f=b.useRef(null),p=b.useRef(null),h=b.useRef(null),{scrollYProgress:m}=zp({target:c,offset:["start start","end end"]});W.useEffect(()=>{m.on("change",w=>{var $,D,B,N,H,R,L;r(Math.min(-120*(1-30*w),0));const S=((($=c.current)==null?void 0:$.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,M=P+(((H=p==null?void 0:p.current)==null?void 0:H.offsetHeight)??0)+100,k=(((R=h==null?void 0:h.current)==null?void 0:R.offsetTop)??0)-100,A=k+(((L=h==null?void 0:h.current)==null?void 0:L.offsetHeight)??0)+400,I=A;S>E&&SP&&Sk&&SI?u(4):u(0)})},[]);const[x]=W.useState("fixed"),{data:g,isLoading:y,error:v}=Bk({queryKey:["projects"],queryFn:async()=>await Uk.getAll()});return C.jsxs(C.Fragment,{children:[C.jsxs(Q,{ref:c,id:"maindiv-001",sx:{position:"relative"},children:[i.length<1?C.jsx(C.Fragment,{}):C.jsx(a2,{events:i}),C.jsx($d,{links:uC,fullWidth:!0}),C.jsx(Q,{id:"paddingdiv-001",sx:{height:"50px"}}),C.jsx(qa.ScrollContainer,{style:{position:x,scrollBehavior:"smooth",overflow:"visible",width:"100%",height:"100%"},children:C.jsx(qa.ScrollPage,{style:{width:"100%",overflow:"visible",flexDirection:"column",display:"flex",alignItems:"center",justifyContent:"flex-start"},children:C.jsxs(qa.Animator,{style:{width:"100%",overflow:"visible"},animation:qa.batch(BG(1,-.5,0),VG(3,1,0),UG(0,-400,0)),children:[C.jsx("div",{id:"stars1"}),C.jsx("div",{id:"stars2"}),C.jsx("div",{id:"stars3"}),C.jsxs(ae,{sx:{flexGrow:1,fontSize:"4vw",fontWeight:"bold",textAlign:"center"},children:["Empower Code. Inspire Design.",C.jsx("br",{}),"Drive Innovation."]}),C.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:[C.jsx(zh,{end:5e5,title:"Dollars Saved",prefix:"$",minWidth:336,alignSelf:{xs:"center",md:"flex-start"}}),C.jsx(zh,{end:170,title:"Members",minWidth:81}),C.jsx(zh,{end:5e4,title:"Lines of Code",minWidth:267,alignSelf:{xs:"center",md:"flex-end"}})]})]})})}),C.jsx(Q,{id:"paddingdiv-002",sx:{height:"100vh"}}),t?C.jsx(Q,{ref:f,sx:{padding:"10px"},id:"subdiv-002",children:C.jsx(lC,{sx:{},mobileView:!0,data:g,isLoading:y,error:v})}):C.jsx(Q,{ref:f,id:"subdiv-002",children:C.jsx(lC,{sx:{height:"300vh"},data:g,isLoading:y,error:v})}),t&&!t?C.jsx(C.Fragment,{}):C.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:[C.jsx(sC,{id:"members_sparkles",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"}),C.jsx(Q,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:C.jsx(Zz,{id:"member-carousel"})}),C.jsx(sC,{id:"members_sparkles2",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"})]}),C.jsx(Q,{id:"paddingdiv-003",sx:{height:"150px"}}),C.jsx(Q,{id:"sponsors",ref:h,children:C.jsx(FG,{mobileView:t})}),C.jsx(Q,{id:"paddingdiv-006",sx:{height:"200px"}}),C.jsx(NG,{id:"contact"}),C.jsx(Q,{id:"paddingdiv-006",sx:{height:"200px"}}),C.jsx(h2,{}),C.jsx($d,{links:uC,translucent:!0,sx:{marginTop:"25px",zIndex:5,position:"fixed",top:`${n}px`,left:"0px"}})]}),C.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 VG=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`scale(${t*(1-r)+e*r})`)}}}),BG=(e,t,n)=>({out:{style:{opacity:r=>(r=Math.max(r-n,0),e*(1-r)+t*r)}}}),UG=(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 WG(){const{projectId:e}=R5(),{data:t,isFetching:n,error:r}=Bk({queryKey:["project"],queryFn:async()=>await Uk.getById(e)});return b.useEffect(()=>{window.scrollTo(0,0)},[]),n?C.jsx(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:C.jsx(wD,{})}):r?C.jsx(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:C.jsx(R$,{variant:"filled",severity:"error",children:"Unable to retrieve project data..."})}):C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",gap:"20px",justifyContent:"center",alignItems:"center",minHeight:"100vh"},children:[C.jsx(HG,{name:t.name,organization:t.organization}),C.jsx(GG,{description:t.description}),C.jsx(qG,{demo:t.demo}),C.jsx(KG,{members:t.members})]})}function HG(e){return C.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[C.jsx(ae,{variant:"h2",sx:{fontWeight:"bold"},children:e.name}),C.jsxs(ae,{variant:"h4",sx:{fontStyle:"italic"},children:["In collaboration with ",e.organization]})]})}function GG(e){return C.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[C.jsx(ae,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Overview"}),C.jsx(q0,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),C.jsx(ae,{children:e.description})]})}function qG(e){return C.jsxs(Q,{children:[C.jsx(ae,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Demo"}),C.jsx(q0,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),C.jsx(nD,{sx:{marginTop:"15px",borderRadius:"5px",width:"clamp(25rem, 50vw, 60rem)",backgroundColor:"white",color:"black"},children:e.demo?C.jsx(cD,{component:"iframe",image:e.demo,sx:{width:"inherit",aspectRatio:"16/9",border:"none"}}):C.jsx(ae,{sx:{padding:"15px"},children:"To see a demo of this product, please contact us at umdappdev@gmail.com"})})]})}function KG(e){return C.jsxs(Q,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[C.jsx(ae,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Members"}),C.jsx(q0,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),C.jsx(Q,{sx:{marginTop:"15px",display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",gap:"10px"},children:e.members.map((t,n)=>C.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?C.jsx(Ld,{src:t.memberInfo.profileUrl,sx:{width:"50px",height:"50px"}},n):b.createElement(Ld,{...v2(`${t.memberInfo.firstName} ${t.memberInfo.lastName}`),sx:{width:"50px",height:"50px"},key:n}),C.jsx(ae,{variant:"subtitle1",sx:{fontWeight:"bold",marginTop:"5px"},children:`${t.memberInfo.firstName} ${t.memberInfo.lastName}`}),C.jsx(ae,{variant:"subtitle2",sx:{opacity:"0.75"},children:t.role})]}))})]})}function QG(){return C.jsx("h1",{children:"WebTierPage"})}function pm(e){return C.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:[C.jsx(YG,{tier:e.tier,backgroundColor:e.backgroundColor,price:e.price}),C.jsx(ZG,{backgroundColor:e.backgroundColor,benefits:e.benefits,prereq:e.prereq})]})}function YG(e){return C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"60%"},children:[C.jsx(ae,{variant:"h4",sx:{textShadow:"-2px 2px 3px gray"},children:e.tier}),C.jsxs(ae,{variant:"h2",sx:{textShadow:"-2px 2px 3px gray"},children:["$",e.price,"+"]}),C.jsx(ae,{variant:"h6",gutterBottom:!0,sx:{textShadow:"-2px 2px 3px gray"},children:"per year"}),C.jsx(XG,{tier:e.tier,backgroundColor:e.backgroundColor})]})}function XG(e){const t=Of();return C.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:C.jsxs(ae,{children:["Select ",e.tier," Tier →"]})})}function ZG(e){return C.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&&C.jsx(ae,{gutterBottom:!0,children:`< Everything included in ${e.prereq}, plus...`}),e.benefits.map((t,n)=>C.jsx(ae,{children:`> ${t}`},n))]})}function JG(){return C.jsxs(Q,{sx:{display:"flex",flexDirection:"column",width:"100%",justifyContent:"center",alignItems:"center",gap:"35px",marginBottom:"100px"},children:[C.jsx(ae,{sx:{textAlign:"center"},variant:"h3",children:"Sponsorship Tiers"}),C.jsxs(Q,{sx:{marginTop:"40px",width:{xs:"100%",md:"75%"},display:"flex",flexDirection:"row",gap:"100px",height:"100vh",flexWrap:"wrap"},children:[C.jsx(pm,{tier:"Gold",backgroundColor:"gold",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),C.jsx(pm,{tier:"Silver",backgroundColor:"silver",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),C.jsx(pm,{tier:"Bronze",backgroundColor:"#CD7F32",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}})]})]})}const eq=new z9;hm.createRoot(document.getElementById("root")).render(C.jsx(tA,{children:C.jsx(H9,{client:eq,children:C.jsxs(RL,{theme:m2.baseTheme,children:[C.jsx(ED,{}),C.jsxs(q5,{children:[C.jsx(Qo,{path:"/",element:C.jsx(zG,{})}),C.jsxs(Qo,{path:"/",element:C.jsx(NF,{}),children:[C.jsx(Qo,{path:"/project/:projectId",element:C.jsx(WG,{})}),C.jsx(Qo,{path:"tier/:tier",element:C.jsx(QG,{})}),C.jsx(Qo,{path:"/sponsor-us",element:C.jsx(JG,{})})]})]})]})})}));export{Mq as $,fq as A,dq as B,iq as C,oq as D,xq as E,yq as F,XV as G,pt as H,Ms as I,fr as J,gq as K,Ay as L,Aq as M,vq as N,Eo as O,Nq as P,Xk as Q,Rq as R,Qk as S,Ap as T,bq as U,jn as V,qk as W,mq as X,Tq as Y,Oq as Z,Te as _,hq as a,_q as a0,Yk as a1,Pq as a2,Rp as a3,d7 as a4,h7 as a5,kq as a6,Fq as a7,Dq as a8,Iy as a9,Cq as aa,Iq as ab,zq as ac,Vq as ad,ds as ae,Eq as af,JV as b,Ry as c,nu as d,ru as e,Wb as f,jq as g,ga as h,Fo as i,yc as j,pq as k,wq as l,ef as m,$q as n,Sq as o,Kh as p,Gk as q,Lq as r,pl as s,sq as t,aq as u,uq as v,lq as w,rq as x,nq as y,cq as z}; diff --git a/dist/assets/index-C_XRMVjZ.js b/dist/assets/index-Bwnoau7V.js similarity index 65% rename from dist/assets/index-C_XRMVjZ.js rename to dist/assets/index-Bwnoau7V.js index 813ad91..caedb71 100644 --- a/dist/assets/index-C_XRMVjZ.js +++ b/dist/assets/index-Bwnoau7V.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/OutOfCanvasUpdater-DHt2F4fs.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] + __vite__mapDeps.viteFileDeps = ["assets/OutOfCanvasUpdater-DbCmTxCW.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as o}from"./index-DeefX4sy.js";async function i(t,a=!0){await t.addParticleUpdater("outModes",async e=>{const{OutOfCanvasUpdater:r}=await o(()=>import("./OutOfCanvasUpdater-DHt2F4fs.js"),__vite__mapDeps([0,1,2]));return new r(e)},a)}export{i as loadOutModesUpdater}; +import{_ as o}from"./index-BwUF06Ed.js";async function i(t,a=!0){await t.addParticleUpdater("outModes",async e=>{const{OutOfCanvasUpdater:r}=await o(()=>import("./OutOfCanvasUpdater-DbCmTxCW.js"),__vite__mapDeps([0,1,2]));return new r(e)},a)}export{i as loadOutModesUpdater}; diff --git a/dist/assets/index-ByxQcTbZ.js b/dist/assets/index-ByxQcTbZ.js new file mode 100644 index 0000000..5fa79a6 --- /dev/null +++ b/dist/assets/index-ByxQcTbZ.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/BaseMover-CH8WG9lO.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as r}from"./index-BwUF06Ed.js";async function _(a,e=!0){await a.addMover("base",async()=>{const{BaseMover:o}=await r(()=>import("./BaseMover-CH8WG9lO.js"),__vite__mapDeps([0,1,2]));return new o},e)}export{_ as loadBaseMover}; diff --git a/dist/assets/index-OYbieXLS.js b/dist/assets/index-C-UK7H5c.js similarity index 72% rename from dist/assets/index-OYbieXLS.js rename to dist/assets/index-C-UK7H5c.js index 434fc1b..bea915a 100644 --- a/dist/assets/index-OYbieXLS.js +++ b/dist/assets/index-C-UK7H5c.js @@ -1 +1 @@ -import{a as i}from"./index-DeefX4sy.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-BwUF06Ed.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-C0CI5bSb.js b/dist/assets/index-C0CI5bSb.js new file mode 100644 index 0000000..fd12062 --- /dev/null +++ b/dist/assets/index-C0CI5bSb.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/Attractor-BQC_AqDE.js","assets/ParticlesInteractorBase-vfDeBun3.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as c}from"./index-BwUF06Ed.js";async function i(t,r=!0){await t.addInteractor("particlesAttract",async a=>{const{Attractor:o}=await c(()=>import("./Attractor-BQC_AqDE.js"),__vite__mapDeps([0,1,2,3]));return new o(a)},r)}export{i as loadParticlesAttractInteraction}; diff --git a/dist/assets/index-CGTZzgrB.js b/dist/assets/index-CGTZzgrB.js new file mode 100644 index 0000000..61bf3cd --- /dev/null +++ b/dist/assets/index-CGTZzgrB.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/RotateUpdater-iXu3NCOH.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/ValueWithRandom-DlZawfMJ.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as o}from"./index-BwUF06Ed.js";async function i(t,a=!0){await t.addParticleUpdater("rotate",async e=>{const{RotateUpdater:r}=await o(()=>import("./RotateUpdater-iXu3NCOH.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{i as loadRotateUpdater}; diff --git a/dist/assets/index-CEYiOXgF.js b/dist/assets/index-CTvd80ox.js similarity index 51% rename from dist/assets/index-CEYiOXgF.js rename to dist/assets/index-CTvd80ox.js index bfb6d4a..a146003 100644 --- a/dist/assets/index-CEYiOXgF.js +++ b/dist/assets/index-CTvd80ox.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/SizeUpdater-BiB5a4zu.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] + __vite__mapDeps.viteFileDeps = ["assets/SizeUpdater-BSXFlskZ.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as r}from"./index-DeefX4sy.js";async function o(t,a=!0){await t.addParticleUpdater("size",async()=>{const{SizeUpdater:e}=await r(()=>import("./SizeUpdater-BiB5a4zu.js"),__vite__mapDeps([0,1,2]));return new e},a)}export{o as loadSizeUpdater}; +import{_ as r}from"./index-BwUF06Ed.js";async function o(t,a=!0){await t.addParticleUpdater("size",async()=>{const{SizeUpdater:e}=await r(()=>import("./SizeUpdater-BSXFlskZ.js"),__vite__mapDeps([0,1,2]));return new e},a)}export{o as loadSizeUpdater}; diff --git a/dist/assets/index-CalNawg9.js b/dist/assets/index-CalNawg9.js new file mode 100644 index 0000000..373eedd --- /dev/null +++ b/dist/assets/index-CalNawg9.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/StarDrawer-CbDru9BO.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as e}from"./index-BwUF06Ed.js";async function _(a,t=!0){const{StarDrawer:r}=await e(()=>import("./StarDrawer-CbDru9BO.js"),__vite__mapDeps([0,1,2]));await a.addShape("star",new r,t)}export{_ as loadStarShape}; diff --git a/dist/assets/index-Ca5_6Kj3.js b/dist/assets/index-Cd4MVogK.js similarity index 88% rename from dist/assets/index-Ca5_6Kj3.js rename to dist/assets/index-Cd4MVogK.js index b0d11bf..15c66cd 100644 --- a/dist/assets/index-Ca5_6Kj3.js +++ b/dist/assets/index-Cd4MVogK.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Utils-UVIN1EzV.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/ImageDrawer-ClFxOo-5.js"] + __vite__mapDeps.viteFileDeps = ["assets/Utils-CieD_cfk.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/ImageDrawer-BriG9t2g.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{g as h,b as m,c as i,_ as u}from"./index-DeefX4sy.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-UVIN1EzV.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-ClFxOo-5.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-BwUF06Ed.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-CieD_cfk.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-BriG9t2g.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-HcVZSsHe.js b/dist/assets/index-Ch4MXAho.js similarity index 70% rename from dist/assets/index-HcVZSsHe.js rename to dist/assets/index-Ch4MXAho.js index a9eb19a..db35015 100644 --- a/dist/assets/index-HcVZSsHe.js +++ b/dist/assets/index-Ch4MXAho.js @@ -1 +1 @@ -import{_ as t}from"./index-DeefX4sy.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-BwUF06Ed.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-CmnmrZU_.js b/dist/assets/index-CmnmrZU_.js deleted file mode 100644 index de859d9..0000000 --- a/dist/assets/index-CmnmrZU_.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/CircleDrawer-DtAP35VP.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as i}from"./index-DeefX4sy.js";async function o(a,e=!0){const{CircleDrawer:r}=await i(()=>import("./CircleDrawer-DtAP35VP.js"),__vite__mapDeps([0,1,2]));await a.addShape("circle",new r,e)}export{o as loadCircleShape}; diff --git a/dist/assets/index-CxC_i4ya.js b/dist/assets/index-CxC_i4ya.js new file mode 100644 index 0000000..a7e0719 --- /dev/null +++ b/dist/assets/index-CxC_i4ya.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/index-ByxQcTbZ.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/index-DGlsrxh6.js","assets/index-iKJPD0Jr.js","assets/index-D6B1e1Zy.js","assets/index-Bwnoau7V.js","assets/index-CTvd80ox.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as t}from"./index-BwUF06Ed.js";async function s(a,_=!0){const{loadBaseMover:o}=await t(()=>import("./index-ByxQcTbZ.js"),__vite__mapDeps([0,1,2])),{loadCircleShape:i}=await t(()=>import("./index-DGlsrxh6.js"),__vite__mapDeps([3,1,2])),{loadColorUpdater:r}=await t(()=>import("./index-iKJPD0Jr.js"),__vite__mapDeps([4,1,2])),{loadOpacityUpdater:d}=await t(()=>import("./index-D6B1e1Zy.js"),__vite__mapDeps([5,1,2])),{loadOutModesUpdater:e}=await t(()=>import("./index-Bwnoau7V.js"),__vite__mapDeps([6,1,2])),{loadSizeUpdater:l}=await t(()=>import("./index-CTvd80ox.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-Ci2bwGMD.js b/dist/assets/index-D3e9F_9q.js similarity index 75% rename from dist/assets/index-Ci2bwGMD.js rename to dist/assets/index-D3e9F_9q.js index d36655d..33a7a89 100644 --- a/dist/assets/index-Ci2bwGMD.js +++ b/dist/assets/index-D3e9F_9q.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/interaction-B19tXMqs.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/plugin-DNCWfGN0.js"] + __vite__mapDeps.viteFileDeps = ["assets/interaction-VkP3Jlw2.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/plugin-CvSWoWHs.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-DeefX4sy.js";import{O as n}from"./OptionsColor-G2vqGez_.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-B19tXMqs.js"),__vite__mapDeps([0,1,2])),{loadLinksPlugin:r}=await s(()=>import("./plugin-DNCWfGN0.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-BwUF06Ed.js";import{O as n}from"./OptionsColor-m5ffwtIr.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-VkP3Jlw2.js"),__vite__mapDeps([0,1,2])),{loadLinksPlugin:r}=await s(()=>import("./plugin-CvSWoWHs.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-Bml9rERt.js b/dist/assets/index-D6B1e1Zy.js similarity index 52% rename from dist/assets/index-Bml9rERt.js rename to dist/assets/index-D6B1e1Zy.js index ba8762e..d111397 100644 --- a/dist/assets/index-Bml9rERt.js +++ b/dist/assets/index-D6B1e1Zy.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/OpacityUpdater-Bd4fJmZY.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] + __vite__mapDeps.viteFileDeps = ["assets/OpacityUpdater-C115UZ7q.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-DeefX4sy.js";async function p(t,a=!0){await t.addParticleUpdater("opacity",async r=>{const{OpacityUpdater:e}=await i(()=>import("./OpacityUpdater-Bd4fJmZY.js"),__vite__mapDeps([0,1,2]));return new e(r)},a)}export{p as loadOpacityUpdater}; +import{_ as i}from"./index-BwUF06Ed.js";async function p(t,a=!0){await t.addParticleUpdater("opacity",async r=>{const{OpacityUpdater:e}=await i(()=>import("./OpacityUpdater-C115UZ7q.js"),__vite__mapDeps([0,1,2]));return new e(r)},a)}export{p as loadOpacityUpdater}; diff --git a/dist/assets/index-DtnNCIpx.js b/dist/assets/index-D8EjN0pf.js similarity index 54% rename from dist/assets/index-DtnNCIpx.js rename to dist/assets/index-D8EjN0pf.js index f115bcd..155b553 100644 --- a/dist/assets/index-DtnNCIpx.js +++ b/dist/assets/index-D8EjN0pf.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LifeUpdater-CbP3Ouv8.js","assets/ValueWithRandom-CAlR6CGl.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] + __vite__mapDeps.viteFileDeps = ["assets/LifeUpdater-F4kQqcgs.js","assets/ValueWithRandom-DlZawfMJ.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-DeefX4sy.js";async function d(t,a=!0){await t.addParticleUpdater("life",async e=>{const{LifeUpdater:r}=await i(()=>import("./LifeUpdater-CbP3Ouv8.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{d as loadLifeUpdater}; +import{_ as i}from"./index-BwUF06Ed.js";async function d(t,a=!0){await t.addParticleUpdater("life",async e=>{const{LifeUpdater:r}=await i(()=>import("./LifeUpdater-F4kQqcgs.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{d as loadLifeUpdater}; diff --git a/dist/assets/index-DGL4yKst.js b/dist/assets/index-DGL4yKst.js deleted file mode 100644 index 2ee0010..0000000 --- a/dist/assets/index-DGL4yKst.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/BaseMover-6TYKUNPj.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as r}from"./index-DeefX4sy.js";async function _(a,e=!0){await a.addMover("base",async()=>{const{BaseMover:o}=await r(()=>import("./BaseMover-6TYKUNPj.js"),__vite__mapDeps([0,1,2]));return new o},e)}export{_ as loadBaseMover}; diff --git a/dist/assets/index-DGlsrxh6.js b/dist/assets/index-DGlsrxh6.js new file mode 100644 index 0000000..e00d7ec --- /dev/null +++ b/dist/assets/index-DGlsrxh6.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/CircleDrawer-5EdCHABW.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as i}from"./index-BwUF06Ed.js";async function o(a,e=!0){const{CircleDrawer:r}=await i(()=>import("./CircleDrawer-5EdCHABW.js"),__vite__mapDeps([0,1,2]));await a.addShape("circle",new r,e)}export{o as loadCircleShape}; diff --git a/dist/assets/index-DyfdzQD9.js b/dist/assets/index-DMLax3zf.js similarity index 72% rename from dist/assets/index-DyfdzQD9.js rename to dist/assets/index-DMLax3zf.js index d49dd97..1bad366 100644 --- a/dist/assets/index-DyfdzQD9.js +++ b/dist/assets/index-DMLax3zf.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Connector-D-D69tm9.js","assets/CanvasUtils-BkykU090.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Connector-B9UcsQHP.js","assets/CanvasUtils-C-woXdFO.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-DeefX4sy.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-D-D69tm9.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-BwUF06Ed.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-B9UcsQHP.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-5NTHuaLh.js b/dist/assets/index-DO0dmp2y.js similarity index 67% rename from dist/assets/index-5NTHuaLh.js rename to dist/assets/index-DO0dmp2y.js index 49d693b..db7782c 100644 --- a/dist/assets/index-5NTHuaLh.js +++ b/dist/assets/index-DO0dmp2y.js @@ -1 +1 @@ -import{_ as t}from"./index-DeefX4sy.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-BwUF06Ed.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-CFdEKaBg.js b/dist/assets/index-DQ6E6v-6.js similarity index 87% rename from dist/assets/index-CFdEKaBg.js rename to dist/assets/index-DQ6E6v-6.js index e117df5..95c7ae2 100644 --- a/dist/assets/index-CFdEKaBg.js +++ b/dist/assets/index-DQ6E6v-6.js @@ -4,4 +4,4 @@ function __vite__mapDeps(indexes) { } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as n}from"./index-DeefX4sy.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-BwUF06Ed.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-DVOmIdei.js b/dist/assets/index-DVOmIdei.js new file mode 100644 index 0000000..fb9866d --- /dev/null +++ b/dist/assets/index-DVOmIdei.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/StrokeColorUpdater-DIvlnd-h.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as e}from"./index-BwUF06Ed.js";async function i(r,o=!0){await r.addParticleUpdater("strokeColor",async t=>{const{StrokeColorUpdater:a}=await e(()=>import("./StrokeColorUpdater-DIvlnd-h.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadStrokeColorUpdater}; diff --git a/dist/assets/index-B3H0uQBb.js b/dist/assets/index-DYGcHpAi.js similarity index 58% rename from dist/assets/index-B3H0uQBb.js rename to dist/assets/index-DYGcHpAi.js index 6dc12eb..9c15b31 100644 --- a/dist/assets/index-B3H0uQBb.js +++ b/dist/assets/index-DYGcHpAi.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/EmojiDrawer-DLXZNlm_.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] + __vite__mapDeps.viteFileDeps = ["assets/EmojiDrawer-DpMnozeC.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as a}from"./index-DeefX4sy.js";const i=["emoji"];async function r(e,o=!0){const{EmojiDrawer:t}=await a(()=>import("./EmojiDrawer-DLXZNlm_.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-BwUF06Ed.js";const i=["emoji"];async function r(e,o=!0){const{EmojiDrawer:t}=await a(()=>import("./EmojiDrawer-DpMnozeC.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-Bx6SXFWD.js b/dist/assets/index-Dkhs4WmD.js similarity index 55% rename from dist/assets/index-Bx6SXFWD.js rename to dist/assets/index-Dkhs4WmD.js index 8f4dc0e..c64547f 100644 --- a/dist/assets/index-Bx6SXFWD.js +++ b/dist/assets/index-Dkhs4WmD.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Bouncer-BPdOzLgQ.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/Ranges-CkEJtC_k.js","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Bouncer-BKB9aPQ0.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/Ranges-CPO2JO5l.js","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as o}from"./index-DeefX4sy.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-BPdOzLgQ.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-BwUF06Ed.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-BKB9aPQ0.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-BzL9OwK7.js b/dist/assets/index-Dwi8Fk5n.js similarity index 69% rename from dist/assets/index-BzL9OwK7.js rename to dist/assets/index-Dwi8Fk5n.js index 9fc9d86..afb5634 100644 --- a/dist/assets/index-BzL9OwK7.js +++ b/dist/assets/index-Dwi8Fk5n.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Bubbler-0fO5rjZJ.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-CkEJtC_k.js","assets/OptionsColor-G2vqGez_.js"] + __vite__mapDeps.viteFileDeps = ["assets/Bubbler-bv8h3Dnz.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-CPO2JO5l.js","assets/OptionsColor-m5ffwtIr.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{i as t,e as o,_ as u}from"./index-DeefX4sy.js";import{O as c}from"./OptionsColor-G2vqGez_.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-0fO5rjZJ.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-BwUF06Ed.js";import{O as c}from"./OptionsColor-m5ffwtIr.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-bv8h3Dnz.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/index-DzMZnnX_.js b/dist/assets/index-DzMZnnX_.js deleted file mode 100644 index 472949d..0000000 --- a/dist/assets/index-DzMZnnX_.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/StarDrawer-BelnQozQ.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as e}from"./index-DeefX4sy.js";async function _(a,t=!0){const{StarDrawer:r}=await e(()=>import("./StarDrawer-BelnQozQ.js"),__vite__mapDeps([0,1,2]));await a.addShape("star",new r,t)}export{_ as loadStarShape}; diff --git a/dist/assets/index-NpCqrZ7B.js b/dist/assets/index-NpCqrZ7B.js deleted file mode 100644 index 94c7a67..0000000 --- a/dist/assets/index-NpCqrZ7B.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Attractor-BQWdUJKt.js","assets/ParticlesInteractorBase-vfDeBun3.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as c}from"./index-DeefX4sy.js";async function i(t,r=!0){await t.addInteractor("particlesAttract",async a=>{const{Attractor:o}=await c(()=>import("./Attractor-BQWdUJKt.js"),__vite__mapDeps([0,1,2,3]));return new o(a)},r)}export{i as loadParticlesAttractInteraction}; diff --git a/dist/assets/index-grQr41kk.js b/dist/assets/index-VJf_0UH1.js similarity index 75% rename from dist/assets/index-grQr41kk.js rename to dist/assets/index-VJf_0UH1.js index abdb4ee..43b7213 100644 --- a/dist/assets/index-grQr41kk.js +++ b/dist/assets/index-VJf_0UH1.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Repulser-Dl_T3IJt.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-CkEJtC_k.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] + __vite__mapDeps.viteFileDeps = ["assets/Repulser-CWyCpN1m.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-CPO2JO5l.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{e as r,_ as o}from"./index-DeefX4sy.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-Dl_T3IJt.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-BwUF06Ed.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-CWyCpN1m.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-CvqkUHi4.js b/dist/assets/index-iKJPD0Jr.js similarity index 51% rename from dist/assets/index-CvqkUHi4.js rename to dist/assets/index-iKJPD0Jr.js index 6f018f6..8797ad5 100644 --- a/dist/assets/index-CvqkUHi4.js +++ b/dist/assets/index-iKJPD0Jr.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/ColorUpdater-CTQ68h-8.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] + __vite__mapDeps.viteFileDeps = ["assets/ColorUpdater-DVUp5O_Y.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-DeefX4sy.js";async function i(r,o=!0){await r.addParticleUpdater("color",async t=>{const{ColorUpdater:a}=await e(()=>import("./ColorUpdater-CTQ68h-8.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadColorUpdater}; +import{_ as e}from"./index-BwUF06Ed.js";async function i(r,o=!0){await r.addParticleUpdater("color",async t=>{const{ColorUpdater:a}=await e(()=>import("./ColorUpdater-DVUp5O_Y.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadColorUpdater}; diff --git a/dist/assets/index-lL13x-rJ.js b/dist/assets/index-lL13x-rJ.js new file mode 100644 index 0000000..7bcf180 --- /dev/null +++ b/dist/assets/index-lL13x-rJ.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/PolygonDrawer-CyYjMp2M.js","assets/PolygonDrawerBase-DUMGKCUr.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/TriangleDrawer-DhWgM3P8.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as n}from"./index-BwUF06Ed.js";async function e(a,o=!0){const{PolygonDrawer:t}=await n(()=>import("./PolygonDrawer-CyYjMp2M.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-DhWgM3P8.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-DIhuUhmd.js b/dist/assets/index-qKmc1qke.js similarity index 70% rename from dist/assets/index-DIhuUhmd.js rename to dist/assets/index-qKmc1qke.js index b85f5b0..245e67b 100644 --- a/dist/assets/index-DIhuUhmd.js +++ b/dist/assets/index-qKmc1qke.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Pusher-C1YOHoCs.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Pusher-s8vG-OpF.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{s,_ as n}from"./index-DeefX4sy.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-C1YOHoCs.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-BwUF06Ed.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-s8vG-OpF.js"),__vite__mapDeps([0,1,2,3]));return new u(e)},t)}export{o as Push,a as loadExternalPushInteraction}; diff --git a/dist/assets/interaction-B19tXMqs.js b/dist/assets/interaction-B19tXMqs.js deleted file mode 100644 index 0b462b5..0000000 --- a/dist/assets/interaction-B19tXMqs.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Linker-bU19XI5W.js","assets/Ranges-CkEJtC_k.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css","assets/index-Ci2bwGMD.js","assets/OptionsColor-G2vqGez_.js","assets/ParticlesInteractorBase-vfDeBun3.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as i}from"./index-DeefX4sy.js";async function o(t,r=!0){await t.addInteractor("particlesLinks",async a=>{const{Linker:n}=await i(()=>import("./Linker-bU19XI5W.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-VkP3Jlw2.js b/dist/assets/interaction-VkP3Jlw2.js new file mode 100644 index 0000000..0dbd71a --- /dev/null +++ b/dist/assets/interaction-VkP3Jlw2.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/Linker-CfICNnve.js","assets/Ranges-CPO2JO5l.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css","assets/index-D3e9F_9q.js","assets/OptionsColor-m5ffwtIr.js","assets/ParticlesInteractorBase-vfDeBun3.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as i}from"./index-BwUF06Ed.js";async function o(t,r=!0){await t.addInteractor("particlesLinks",async a=>{const{Linker:n}=await i(()=>import("./Linker-CfICNnve.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-CvSWoWHs.js b/dist/assets/plugin-CvSWoWHs.js new file mode 100644 index 0000000..2e57102 --- /dev/null +++ b/dist/assets/plugin-CvSWoWHs.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/LinksPlugin-BJb7b-gL.js","assets/index-BwUF06Ed.js","assets/index-Cy_GvPgK.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as o}from"./index-BwUF06Ed.js";async function r(i,n=!0){const{LinksPlugin:t}=await o(()=>import("./LinksPlugin-BJb7b-gL.js"),__vite__mapDeps([0,1,2])),a=new t;await i.addPlugin(a,n)}export{r as loadLinksPlugin}; diff --git a/dist/assets/plugin-DNCWfGN0.js b/dist/assets/plugin-DNCWfGN0.js deleted file mode 100644 index 23cbfa0..0000000 --- a/dist/assets/plugin-DNCWfGN0.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LinksPlugin-BOHSVDjZ.js","assets/index-DeefX4sy.js","assets/index-Cy_GvPgK.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as o}from"./index-DeefX4sy.js";async function r(i,n=!0){const{LinksPlugin:t}=await o(()=>import("./LinksPlugin-BOHSVDjZ.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 102689e..2359bde 100644 --- a/dist/index.html +++ b/dist/index.html @@ -9,7 +9,7 @@ - + diff --git a/src/App.tsx b/src/App.tsx index 85266e7..ee01e9d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -20,7 +20,7 @@ function App() { /* AppBar and Events State */ const [translucentAppBarTop, setTranslucentAppBarTop] = React.useState(-120); const [liveEvents,] = React.useState([ - { title: "General Body Meeting, 3/25 8pm @ Iribe" }, + // { title: "General Body Meeting, 3/25 8pm @ Iribe" }, ]); React.useEffect(() => { diff --git a/src/components/SponsorCardsStack/SponsorCardsStack.tsx b/src/components/SponsorCardsStack/SponsorCardsStack.tsx index 4afea90..7e34fae 100644 --- a/src/components/SponsorCardsStack/SponsorCardsStack.tsx +++ b/src/components/SponsorCardsStack/SponsorCardsStack.tsx @@ -24,28 +24,26 @@ export default function SponsorCardsStack(props?: { sx?: SxProps, mobileView?: b setSponsorData(() => ([{ tier: "Gold", members: [ + 'IONQ', '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' + 'Lockheed Martin', + 'Booz Allen Hamilton', + 'Children\'s National Hospital', + 'SECU', + 'Accenture', ], }, { tier: "Bronze", members: [ - 'NSA' + 'NSA', + 'General Dynamics IT', ], }])); }, []); @@ -74,7 +72,7 @@ export default function SponsorCardsStack(props?: { sx?: SxProps, mobileView?: b > Our Sponsors - + Want to be a part of something amazing? Sponsor us today!