From bc3f67bfca4d776150f954490f3c5222ea85dc22 Mon Sep 17 00:00:00 2001 From: Atheesh Thirumalairajan Date: Tue, 21 May 2024 16:14:52 -0700 Subject: [PATCH] Build for v1.0.4 Beta --- ...ctor-B-EDwRo6.js => Attractor-BqOwuwtf.js} | 2 +- ...ctor-DqeauPkb.js => Attractor-DxUU6b6N.js} | 2 +- ...over-5JNncDH0.js => BaseMover-B3RP__F0.js} | 2 +- ...ouncer-CRtShpnC.js => Bouncer-F0dgcZXc.js} | 2 +- ...ubbler-BqHAztIO.js => Bubbler-4R54pGgP.js} | 2 +- ...ls-DLb0ihTE.js => CanvasUtils-I3KmgLQw.js} | 2 +- ...r-Ylj880bE.js => CircleDrawer-cFgVdqph.js} | 2 +- ...lider-U-JFpJDL.js => Collider-Dgyfym88.js} | 2 +- ...r-YPLsp2rh.js => ColorUpdater-nH-z_zBu.js} | 2 +- ...ctor-CuzunOMN.js => Connector-Boj16n_V.js} | 2 +- ...iner-B0LxY2Sb.js => Container-eznMp877.js} | 2 +- ...er-4d4v1keZ.js => EmojiDrawer-4N8vyEdQ.js} | 2 +- ...rabber-BIk_VeT-.js => Grabber-DK8OFnz2.js} | 2 +- ...er-BQi_zEMx.js => ImageDrawer-CrJo5At-.js} | 2 +- ...er-BbqYNQ7j.js => LifeUpdater-DDPlX-Ay.js} | 2 +- ...e-Mitk-di_.js => LinkInstance-Be3kZ91d.js} | 2 +- ...{Linker-C2WNNW9e.js => Linker-36AXHINZ.js} | 2 +- ...in-4O1YTglq.js => LinksPlugin-Cv1oKC14.js} | 4 +- ...mGcBcjrD.js => OpacityUpdater-DqaiMAZV.js} | 2 +- ...r-OVKJ28UH.js => OptionsColor-C-UziNuF.js} | 2 +- ...90KJ.js => OutOfCanvasUpdater-CroEDF9K.js} | 2 +- ...-DbP71-Dw.js => ParallaxMover-kiKXd2js.js} | 2 +- ...-_nV7jt9u.js => PolygonDrawer-ByaFlmg8.js} | 2 +- ...QsBKz.js => PolygonDrawerBase-DXOhtJNg.js} | 2 +- ...{Pusher-ITBAFMqg.js => Pusher-BeHwgnuK.js} | 2 +- ...{Ranges-CQ5S5NMg.js => Ranges-BHKD8z4M.js} | 2 +- ...emover-oJCX4u5s.js => Remover-Bho_5VKd.js} | 2 +- ...ulser-DQliIJOE.js => Repulser-DS-RatGn.js} | 2 +- ...-Cpn_zm2b.js => RotateUpdater-CpPckXac.js} | 2 +- ...er-DDSadXPl.js => SizeUpdater-ICB4npPZ.js} | 2 +- ...{Slower-BZDDjvRC.js => Slower-CPdgrGzW.js} | 2 +- ...wer-D28JQ4Ag.js => StarDrawer-DU-QMwwX.js} | 2 +- ...Ym6-.js => StrokeColorUpdater-CuGHz6KW.js} | 2 +- ...el7xTcHI.js => TriangleDrawer-14zJ_zun.js} | 2 +- .../{Utils-DPjAzSSW.js => Utils-ChGKIB92.js} | 4 +- ...hdK59lj.js => ValueWithRandom-BS5hZeK4.js} | 2 +- .../{index-Dkj0Wdf1.js => index-8jeqNH9t.js} | 4 +- .../{index-65jCUE65.js => index-B3Av9A3s.js} | 4 +- dist/assets/index-BCSVHbC5.js | 7 --- dist/assets/index-BFjSyPw4.js | 7 +++ .../{index-DS2Dn7eU.js => index-BGzowP_0.js} | 4 +- dist/assets/index-BbGRzpx7.js | 7 +++ .../{index-Dp6b3-lj.js => index-BliiN8J0.js} | 4 +- dist/assets/index-Bon8qgvy.js | 7 +++ .../{index-DQoDqMfo.js => index-BpPb_bQk.js} | 2 +- dist/assets/index-Br_X9sYe.js | 7 +++ .../{index-sn-fetFR.js => index-BvNj9A4N.js} | 2 +- .../{index-CQjukbvg.js => index-C8Jm_qwz.js} | 4 +- .../{index-ClhtMT38.js => index-CAGs7XRz.js} | 2 +- .../{index--OSF4RVo.js => index-CWmn7Rai.js} | 4 +- dist/assets/index-CWu8q_gy.js | 7 +++ .../{index-BocUU9gu.js => index-CbX3WzLy.js} | 4 +- .../{index-ChurQQUY.js => index-Cl6O_6Ol.js} | 4 +- dist/assets/index-CwepfaoY.js | 7 +++ dist/assets/index-CxoJ4J6_.js | 7 --- .../{index-CJjzd8UR.js => index-D1d7-xdN.js} | 4 +- dist/assets/index-DFpH4DOf.js | 7 --- .../{index-B9Q37uKC.js => index-DIj8RvTQ.js} | 4 +- .../{index-jX6JuJNs.js => index-DLaWeCYy.js} | 4 +- .../{index-B5P_jBIU.js => index-DMPiHntv.js} | 4 +- .../{index-BYZjsxH_.js => index-DMko1hvE.js} | 56 +++++++++---------- .../{index-BZ-HfZvu.js => index-DPKrWQ8D.js} | 4 +- .../{index-DorUDsqG.js => index-DVA_PPEu.js} | 2 +- dist/assets/index-Dk24n9rj.js | 7 +++ dist/assets/index-Dk9eyEZ0.js | 7 --- .../{index-D_76-wTm.js => index-DoW1CnVv.js} | 4 +- dist/assets/index-DrhqM_ij.js | 7 --- .../{index-B1CIQCv6.js => index-DtPrTPBH.js} | 4 +- dist/assets/index-DvHlaMbZ.js | 7 --- .../{index-B9gNfIRR.js => index-_gkGm9us.js} | 4 +- .../{index-C_OX9D2n.js => index-eSyKsngP.js} | 4 +- .../{index-DNf1VSaX.js => index-f0Y5R12h.js} | 4 +- dist/assets/index-hmWZmbL_.js | 7 +++ dist/assets/index-r-y0t3WU.js | 7 --- dist/assets/index-rFCwFv-u.js | 7 --- .../{index--1AqfkFF.js => index-zlZQ--ql.js} | 4 +- dist/assets/interaction-CX4cSraS.js | 7 --- dist/assets/interaction-CuOUJMmx.js | 7 +++ dist/assets/plugin-Cr4VgqSi.js | 7 +++ dist/assets/plugin-Hic_5Nu0.js | 7 --- dist/index.html | 2 +- src/integrals/WebSponsorTiers.tsx | 2 +- src/main.tsx | 1 - 83 files changed, 180 insertions(+), 181 deletions(-) rename dist/assets/{Attractor-B-EDwRo6.js => Attractor-BqOwuwtf.js} (92%) rename dist/assets/{Attractor-DqeauPkb.js => Attractor-DxUU6b6N.js} (91%) rename dist/assets/{BaseMover-5JNncDH0.js => BaseMover-B3RP__F0.js} (96%) rename dist/assets/{Bouncer-CRtShpnC.js => Bouncer-F0dgcZXc.js} (93%) rename dist/assets/{Bubbler-BqHAztIO.js => Bubbler-4R54pGgP.js} (96%) rename dist/assets/{CanvasUtils-DLb0ihTE.js => CanvasUtils-I3KmgLQw.js} (97%) rename dist/assets/{CircleDrawer-Ylj880bE.js => CircleDrawer-cFgVdqph.js} (86%) rename dist/assets/{Collider-U-JFpJDL.js => Collider-Dgyfym88.js} (96%) rename dist/assets/{ColorUpdater-YPLsp2rh.js => ColorUpdater-nH-z_zBu.js} (88%) rename dist/assets/{Connector-CuzunOMN.js => Connector-Boj16n_V.js} (90%) rename dist/assets/{Container-B0LxY2Sb.js => Container-eznMp877.js} (99%) rename dist/assets/{EmojiDrawer-4d4v1keZ.js => EmojiDrawer-4N8vyEdQ.js} (91%) rename dist/assets/{Grabber-BIk_VeT-.js => Grabber-DK8OFnz2.js} (84%) rename dist/assets/{ImageDrawer-BQi_zEMx.js => ImageDrawer-CrJo5At-.js} (93%) rename dist/assets/{LifeUpdater-BbqYNQ7j.js => LifeUpdater-DDPlX-Ay.js} (92%) rename dist/assets/{LinkInstance-Mitk-di_.js => LinkInstance-Be3kZ91d.js} (98%) rename dist/assets/{Linker-C2WNNW9e.js => Linker-36AXHINZ.js} (89%) rename dist/assets/{LinksPlugin-4O1YTglq.js => LinksPlugin-Cv1oKC14.js} (50%) rename dist/assets/{OpacityUpdater-mGcBcjrD.js => OpacityUpdater-DqaiMAZV.js} (80%) rename dist/assets/{OptionsColor-OVKJ28UH.js => OptionsColor-C-UziNuF.js} (76%) rename dist/assets/{OutOfCanvasUpdater-Bpaq90KJ.js => OutOfCanvasUpdater-CroEDF9K.js} (98%) rename dist/assets/{ParallaxMover-DbP71-Dw.js => ParallaxMover-kiKXd2js.js} (88%) rename dist/assets/{PolygonDrawer-_nV7jt9u.js => PolygonDrawer-ByaFlmg8.js} (56%) rename dist/assets/{PolygonDrawerBase-DDnQsBKz.js => PolygonDrawerBase-DXOhtJNg.js} (88%) rename dist/assets/{Pusher-ITBAFMqg.js => Pusher-BeHwgnuK.js} (81%) rename dist/assets/{Ranges-CQ5S5NMg.js => Ranges-BHKD8z4M.js} (94%) rename dist/assets/{Remover-oJCX4u5s.js => Remover-Bho_5VKd.js} (78%) rename dist/assets/{Repulser-DQliIJOE.js => Repulser-DS-RatGn.js} (94%) rename dist/assets/{RotateUpdater-Cpn_zm2b.js => RotateUpdater-CpPckXac.js} (91%) rename dist/assets/{SizeUpdater-DDSadXPl.js => SizeUpdater-ICB4npPZ.js} (88%) rename dist/assets/{Slower-BZDDjvRC.js => Slower-CPdgrGzW.js} (87%) rename dist/assets/{StarDrawer-D28JQ4Ag.js => StarDrawer-DU-QMwwX.js} (87%) rename dist/assets/{StrokeColorUpdater-BxagYm6-.js => StrokeColorUpdater-CuGHz6KW.js} (83%) rename dist/assets/{TriangleDrawer-el7xTcHI.js => TriangleDrawer-14zJ_zun.js} (55%) rename dist/assets/{Utils-DPjAzSSW.js => Utils-ChGKIB92.js} (96%) rename dist/assets/{ValueWithRandom-DhdK59lj.js => ValueWithRandom-BS5hZeK4.js} (93%) rename dist/assets/{index-Dkj0Wdf1.js => index-8jeqNH9t.js} (70%) rename dist/assets/{index-65jCUE65.js => index-B3Av9A3s.js} (53%) delete mode 100644 dist/assets/index-BCSVHbC5.js create mode 100644 dist/assets/index-BFjSyPw4.js rename dist/assets/{index-DS2Dn7eU.js => index-BGzowP_0.js} (69%) create mode 100644 dist/assets/index-BbGRzpx7.js rename dist/assets/{index-Dp6b3-lj.js => index-BliiN8J0.js} (58%) create mode 100644 dist/assets/index-Bon8qgvy.js rename dist/assets/{index-DQoDqMfo.js => index-BpPb_bQk.js} (67%) create mode 100644 dist/assets/index-Br_X9sYe.js rename dist/assets/{index-sn-fetFR.js => index-BvNj9A4N.js} (87%) rename dist/assets/{index-CQjukbvg.js => index-C8Jm_qwz.js} (68%) rename dist/assets/{index-ClhtMT38.js => index-CAGs7XRz.js} (72%) rename dist/assets/{index--OSF4RVo.js => index-CWmn7Rai.js} (58%) create mode 100644 dist/assets/index-CWu8q_gy.js rename dist/assets/{index-BocUU9gu.js => index-CbX3WzLy.js} (75%) rename dist/assets/{index-ChurQQUY.js => index-Cl6O_6Ol.js} (51%) create mode 100644 dist/assets/index-CwepfaoY.js delete mode 100644 dist/assets/index-CxoJ4J6_.js rename dist/assets/{index-CJjzd8UR.js => index-D1d7-xdN.js} (75%) delete mode 100644 dist/assets/index-DFpH4DOf.js rename dist/assets/{index-B9Q37uKC.js => index-DIj8RvTQ.js} (72%) rename dist/assets/{index-jX6JuJNs.js => index-DLaWeCYy.js} (75%) rename dist/assets/{index-B5P_jBIU.js => index-DMPiHntv.js} (50%) rename dist/assets/{index-BYZjsxH_.js => index-DMko1hvE.js} (64%) rename dist/assets/{index-BZ-HfZvu.js => index-DPKrWQ8D.js} (88%) rename dist/assets/{index-DorUDsqG.js => index-DVA_PPEu.js} (70%) create mode 100644 dist/assets/index-Dk24n9rj.js delete mode 100644 dist/assets/index-Dk9eyEZ0.js rename dist/assets/{index-D_76-wTm.js => index-DoW1CnVv.js} (52%) delete mode 100644 dist/assets/index-DrhqM_ij.js rename dist/assets/{index-B1CIQCv6.js => index-DtPrTPBH.js} (54%) delete mode 100644 dist/assets/index-DvHlaMbZ.js rename dist/assets/{index-B9gNfIRR.js => index-_gkGm9us.js} (51%) rename dist/assets/{index-C_OX9D2n.js => index-eSyKsngP.js} (56%) rename dist/assets/{index-DNf1VSaX.js => index-f0Y5R12h.js} (55%) create mode 100644 dist/assets/index-hmWZmbL_.js delete mode 100644 dist/assets/index-r-y0t3WU.js delete mode 100644 dist/assets/index-rFCwFv-u.js rename dist/assets/{index--1AqfkFF.js => index-zlZQ--ql.js} (59%) delete mode 100644 dist/assets/interaction-CX4cSraS.js create mode 100644 dist/assets/interaction-CuOUJMmx.js create mode 100644 dist/assets/plugin-Cr4VgqSi.js delete mode 100644 dist/assets/plugin-Hic_5Nu0.js diff --git a/dist/assets/Attractor-B-EDwRo6.js b/dist/assets/Attractor-BqOwuwtf.js similarity index 92% rename from dist/assets/Attractor-B-EDwRo6.js rename to dist/assets/Attractor-BqOwuwtf.js index 800e307..2c4abb6 100644 --- a/dist/assets/Attractor-B-EDwRo6.js +++ b/dist/assets/Attractor-BqOwuwtf.js @@ -1 +1 @@ -import{C as v}from"./Ranges-CQ5S5NMg.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-BYZjsxH_.js";import{Attract as A}from"./index-BocUU9gu.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-BHKD8z4M.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-DMko1hvE.js";import{Attract as A}from"./index-CbX3WzLy.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-DqeauPkb.js b/dist/assets/Attractor-DxUU6b6N.js similarity index 91% rename from dist/assets/Attractor-DqeauPkb.js rename to dist/assets/Attractor-DxUU6b6N.js index abb7cf7..a269052 100644 --- a/dist/assets/Attractor-DqeauPkb.js +++ b/dist/assets/Attractor-DxUU6b6N.js @@ -1 +1 @@ -import{P as x}from"./ParticlesInteractorBase-vfDeBun3.js";import{H as f,W as p}from"./index-BYZjsxH_.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-DMko1hvE.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-5JNncDH0.js b/dist/assets/BaseMover-B3RP__F0.js similarity index 96% rename from dist/assets/BaseMover-5JNncDH0.js rename to dist/assets/BaseMover-B3RP__F0.js index d2bb3b0..15123ff 100644 --- a/dist/assets/BaseMover-5JNncDH0.js +++ b/dist/assets/BaseMover-B3RP__F0.js @@ -1 +1 @@ -import{W as w,J as F,L as z,K as P,H as m,a3 as T}from"./index-BYZjsxH_.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-DMko1hvE.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-CRtShpnC.js b/dist/assets/Bouncer-F0dgcZXc.js similarity index 93% rename from dist/assets/Bouncer-CRtShpnC.js rename to dist/assets/Bouncer-F0dgcZXc.js index 751673b..94b74f8 100644 --- a/dist/assets/Bouncer-CRtShpnC.js +++ b/dist/assets/Bouncer-F0dgcZXc.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-BYZjsxH_.js";import{C as d,R as b}from"./Ranges-CQ5S5NMg.js";import{Bounce as O}from"./index-DNf1VSaX.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-DMko1hvE.js";import{C as d,R as b}from"./Ranges-BHKD8z4M.js";import{Bounce as O}from"./index-f0Y5R12h.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-BqHAztIO.js b/dist/assets/Bubbler-4R54pGgP.js similarity index 96% rename from dist/assets/Bubbler-BqHAztIO.js rename to dist/assets/Bubbler-4R54pGgP.js index 32590f1..7d4ac2e 100644 --- a/dist/assets/Bubbler-BqHAztIO.js +++ b/dist/assets/Bubbler-4R54pGgP.js @@ -1 +1 @@ -import{Bubble as S}from"./index-DS2Dn7eU.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-BYZjsxH_.js";import{E as A}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as F,R as I}from"./Ranges-CQ5S5NMg.js";import"./OptionsColor-OVKJ28UH.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-BGzowP_0.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-DMko1hvE.js";import{E as A}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as F,R as I}from"./Ranges-BHKD8z4M.js";import"./OptionsColor-C-UziNuF.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-DLb0ihTE.js b/dist/assets/CanvasUtils-I3KmgLQw.js similarity index 97% rename from dist/assets/CanvasUtils-DLb0ihTE.js rename to dist/assets/CanvasUtils-I3KmgLQw.js index 6eb8c96..3a319f5 100644 --- a/dist/assets/CanvasUtils-DLb0ihTE.js +++ b/dist/assets/CanvasUtils-I3KmgLQw.js @@ -1 +1 @@ -import{n as P}from"./index-BYZjsxH_.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-DMko1hvE.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-Ylj880bE.js b/dist/assets/CircleDrawer-cFgVdqph.js similarity index 86% rename from dist/assets/CircleDrawer-Ylj880bE.js rename to dist/assets/CircleDrawer-cFgVdqph.js index 8e72867..f69acb1 100644 --- a/dist/assets/CircleDrawer-Ylj880bE.js +++ b/dist/assets/CircleDrawer-cFgVdqph.js @@ -1 +1 @@ -import{j as m,G as c}from"./index-BYZjsxH_.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-DMko1hvE.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-U-JFpJDL.js b/dist/assets/Collider-Dgyfym88.js similarity index 96% rename from dist/assets/Collider-U-JFpJDL.js rename to dist/assets/Collider-Dgyfym88.js index 8f10c53..8bffaa8 100644 --- a/dist/assets/Collider-U-JFpJDL.js +++ b/dist/assets/Collider-Dgyfym88.js @@ -1 +1 @@ -import{L as R,Z as m,$ as l,H as h,K as x}from"./index-BYZjsxH_.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-DMko1hvE.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-YPLsp2rh.js b/dist/assets/ColorUpdater-nH-z_zBu.js similarity index 88% rename from dist/assets/ColorUpdater-YPLsp2rh.js rename to dist/assets/ColorUpdater-nH-z_zBu.js index b6855f0..6fb6bac 100644 --- a/dist/assets/ColorUpdater-YPLsp2rh.js +++ b/dist/assets/ColorUpdater-nH-z_zBu.js @@ -1 +1 @@ -import{r as a,ac as t,ad as d}from"./index-BYZjsxH_.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-DMko1hvE.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-CuzunOMN.js b/dist/assets/Connector-Boj16n_V.js similarity index 90% rename from dist/assets/Connector-CuzunOMN.js rename to dist/assets/Connector-Boj16n_V.js index de69213..73c7452 100644 --- a/dist/assets/Connector-CuzunOMN.js +++ b/dist/assets/Connector-Boj16n_V.js @@ -1 +1 @@ -import{Connect as x}from"./index-B9Q37uKC.js";import{g as C}from"./CanvasUtils-DLb0ihTE.js";import{a5 as R,g as m,L as P,n as S,S as O}from"./index-BYZjsxH_.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-DMko1hvE.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-I3KmgLQw.js";import{O as R}from"./OptionsColor-C-UziNuF.js";import{A as lt,V as Z,R as Se,a as Te}from"./ValueWithRandom-BS5hZeK4.js";import{R as N,C as ct}from"./Ranges-BHKD8z4M.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-4d4v1keZ.js b/dist/assets/EmojiDrawer-4N8vyEdQ.js similarity index 91% rename from dist/assets/EmojiDrawer-4d4v1keZ.js rename to dist/assets/EmojiDrawer-4N8vyEdQ.js index 979b7f1..d0ebf18 100644 --- a/dist/assets/EmojiDrawer-4d4v1keZ.js +++ b/dist/assets/EmojiDrawer-4N8vyEdQ.js @@ -1 +1 @@ -import{v as u}from"./index-Dp6b3-lj.js";import{S as j,aa as h,e as D,Q as v,a3 as x}from"./index-BYZjsxH_.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-BliiN8J0.js";import{S as j,aa as h,e as D,Q as v,a3 as x}from"./index-DMko1hvE.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-BIk_VeT-.js b/dist/assets/Grabber-DK8OFnz2.js similarity index 84% rename from dist/assets/Grabber-BIk_VeT-.js rename to dist/assets/Grabber-DK8OFnz2.js index c5e6e3a..3aef3a8 100644 --- a/dist/assets/Grabber-BIk_VeT-.js +++ b/dist/assets/Grabber-DK8OFnz2.js @@ -1 +1 @@ -import{Grab as v}from"./index-CQjukbvg.js";import{g as y}from"./CanvasUtils-DLb0ihTE.js";import{n as k,t as L,K as O,a7 as h,a8 as C,S as w}from"./index-BYZjsxH_.js";import{E as D}from"./ExternalInteractorBase-CIi3zRdK.js";import"./OptionsColor-OVKJ28UH.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-C8Jm_qwz.js";import{g as y}from"./CanvasUtils-I3KmgLQw.js";import{n as k,t as L,K as O,a7 as h,a8 as C,S as w}from"./index-DMko1hvE.js";import{E as D}from"./ExternalInteractorBase-CIi3zRdK.js";import"./OptionsColor-C-UziNuF.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-BQi_zEMx.js b/dist/assets/ImageDrawer-CrJo5At-.js similarity index 93% rename from dist/assets/ImageDrawer-BQi_zEMx.js rename to dist/assets/ImageDrawer-CrJo5At-.js index 894ae79..6f36459 100644 --- a/dist/assets/ImageDrawer-BQi_zEMx.js +++ b/dist/assets/ImageDrawer-CrJo5At-.js @@ -1 +1 @@ -import{r as h}from"./index-BZ-HfZvu.js";import{drawGif as f}from"./Utils-DPjAzSSW.js";import{c as d}from"./index-BYZjsxH_.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-DPKrWQ8D.js";import{drawGif as f}from"./Utils-ChGKIB92.js";import{c as d}from"./index-DMko1hvE.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-BbqYNQ7j.js b/dist/assets/LifeUpdater-DDPlX-Ay.js similarity index 92% rename from dist/assets/LifeUpdater-BbqYNQ7j.js rename to dist/assets/LifeUpdater-DDPlX-Ay.js index 1ea906d..4743f3f 100644 --- a/dist/assets/LifeUpdater-BbqYNQ7j.js +++ b/dist/assets/LifeUpdater-DDPlX-Ay.js @@ -1 +1 @@ -import{V as w}from"./ValueWithRandom-DhdK59lj.js";import{s as a,I as l,H as f,q as d,J as c}from"./index-BYZjsxH_.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-BS5hZeK4.js";import{s as a,I as l,H as f,q as d,J as c}from"./index-DMko1hvE.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-Mitk-di_.js b/dist/assets/LinkInstance-Be3kZ91d.js similarity index 98% rename from dist/assets/LinkInstance-Mitk-di_.js rename to dist/assets/LinkInstance-Be3kZ91d.js index 68c52b7..1a9c975 100644 --- a/dist/assets/LinkInstance-Mitk-di_.js +++ b/dist/assets/LinkInstance-Be3kZ91d.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-BYZjsxH_.js";import{g as L}from"./CanvasUtils-DLb0ihTE.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-DMko1hvE.js";import{g as L}from"./CanvasUtils-I3KmgLQw.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-C2WNNW9e.js b/dist/assets/Linker-36AXHINZ.js similarity index 89% rename from dist/assets/Linker-C2WNNW9e.js rename to dist/assets/Linker-36AXHINZ.js index 4c95260..914d6d2 100644 --- a/dist/assets/Linker-C2WNNW9e.js +++ b/dist/assets/Linker-36AXHINZ.js @@ -1 +1 @@ -import{C as y,R as g}from"./Ranges-CQ5S5NMg.js";import{Links as b}from"./index-CJjzd8UR.js";import{P as z}from"./ParticlesInteractorBase-vfDeBun3.js";import{a7 as D,W as P}from"./index-BYZjsxH_.js";import"./OptionsColor-OVKJ28UH.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-BHKD8z4M.js";import{Links as b}from"./index-D1d7-xdN.js";import{P as z}from"./ParticlesInteractorBase-vfDeBun3.js";import{a7 as D,W as P}from"./index-DMko1hvE.js";import"./OptionsColor-C-UziNuF.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-4O1YTglq.js b/dist/assets/LinksPlugin-Cv1oKC14.js similarity index 50% rename from dist/assets/LinksPlugin-4O1YTglq.js rename to dist/assets/LinksPlugin-Cv1oKC14.js index bf92a34..b52e104 100644 --- a/dist/assets/LinksPlugin-4O1YTglq.js +++ b/dist/assets/LinksPlugin-Cv1oKC14.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LinkInstance-Mitk-di_.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/CanvasUtils-DLb0ihTE.js"] + __vite__mapDeps.viteFileDeps = ["assets/LinkInstance-Be3kZ91d.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/CanvasUtils-I3KmgLQw.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-BYZjsxH_.js";class s{constructor(){this.id="links"}async getPlugin(n){const{LinkInstance:t}=await i(()=>import("./LinkInstance-Mitk-di_.js"),__vite__mapDeps([0,1,2,3]));return new t(n)}loadOptions(){}needsPlugin(){return!0}}export{s as LinksPlugin}; +import{_ as i}from"./index-DMko1hvE.js";class s{constructor(){this.id="links"}async getPlugin(n){const{LinkInstance:t}=await i(()=>import("./LinkInstance-Be3kZ91d.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-mGcBcjrD.js b/dist/assets/OpacityUpdater-DqaiMAZV.js similarity index 80% rename from dist/assets/OpacityUpdater-mGcBcjrD.js rename to dist/assets/OpacityUpdater-DqaiMAZV.js index 98bec69..4f39e66 100644 --- a/dist/assets/OpacityUpdater-mGcBcjrD.js +++ b/dist/assets/OpacityUpdater-DqaiMAZV.js @@ -1 +1 @@ -import{R as a,H as e,ae as s,J as y,ab as p}from"./index-BYZjsxH_.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-DMko1hvE.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-OVKJ28UH.js b/dist/assets/OptionsColor-C-UziNuF.js similarity index 76% rename from dist/assets/OptionsColor-OVKJ28UH.js rename to dist/assets/OptionsColor-C-UziNuF.js index 53f5345..5bc5baf 100644 --- a/dist/assets/OptionsColor-OVKJ28UH.js +++ b/dist/assets/OptionsColor-C-UziNuF.js @@ -1 +1 @@ -import{d as l,i as o}from"./index-BYZjsxH_.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-DMko1hvE.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-Bpaq90KJ.js b/dist/assets/OutOfCanvasUpdater-CroEDF9K.js similarity index 98% rename from dist/assets/OutOfCanvasUpdater-Bpaq90KJ.js rename to dist/assets/OutOfCanvasUpdater-CroEDF9K.js index 86eff96..cdcb22f 100644 --- a/dist/assets/OutOfCanvasUpdater-Bpaq90KJ.js +++ b/dist/assets/OutOfCanvasUpdater-CroEDF9K.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-BYZjsxH_.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-DMko1hvE.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-DbP71-Dw.js b/dist/assets/ParallaxMover-kiKXd2js.js similarity index 88% rename from dist/assets/ParallaxMover-DbP71-Dw.js rename to dist/assets/ParallaxMover-kiKXd2js.js index 99decfd..1bf385d 100644 --- a/dist/assets/ParallaxMover-DbP71-Dw.js +++ b/dist/assets/ParallaxMover-kiKXd2js.js @@ -1 +1 @@ -import{T as x}from"./index-BYZjsxH_.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-DMko1hvE.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-_nV7jt9u.js b/dist/assets/PolygonDrawer-ByaFlmg8.js similarity index 56% rename from dist/assets/PolygonDrawer-_nV7jt9u.js rename to dist/assets/PolygonDrawer-ByaFlmg8.js index 6966fa7..e4f0c8f 100644 --- a/dist/assets/PolygonDrawer-_nV7jt9u.js +++ b/dist/assets/PolygonDrawer-ByaFlmg8.js @@ -1 +1 @@ -import{P as n}from"./PolygonDrawerBase-DDnQsBKz.js";import"./index-BYZjsxH_.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-DXOhtJNg.js";import"./index-DMko1hvE.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-DDnQsBKz.js b/dist/assets/PolygonDrawerBase-DXOhtJNg.js similarity index 88% rename from dist/assets/PolygonDrawerBase-DDnQsBKz.js rename to dist/assets/PolygonDrawerBase-DXOhtJNg.js index 98e9568..28fe7ab 100644 --- a/dist/assets/PolygonDrawerBase-DDnQsBKz.js +++ b/dist/assets/PolygonDrawerBase-DXOhtJNg.js @@ -1 +1 @@ -import{G as c,H as l}from"./index-BYZjsxH_.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-8jeqNH9t.js";import{H as p,a9 as c}from"./index-DMko1hvE.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-CQ5S5NMg.js b/dist/assets/Ranges-BHKD8z4M.js similarity index 94% rename from dist/assets/Ranges-CQ5S5NMg.js rename to dist/assets/Ranges-BHKD8z4M.js index 8661563..7f70a4a 100644 --- a/dist/assets/Ranges-CQ5S5NMg.js +++ b/dist/assets/Ranges-BHKD8z4M.js @@ -1 +1 @@ -import{K as y}from"./index-BYZjsxH_.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-DMko1hvE.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-oJCX4u5s.js b/dist/assets/Remover-Bho_5VKd.js similarity index 78% rename from dist/assets/Remover-oJCX4u5s.js rename to dist/assets/Remover-Bho_5VKd.js index 35a5fe4..a10a208 100644 --- a/dist/assets/Remover-oJCX4u5s.js +++ b/dist/assets/Remover-Bho_5VKd.js @@ -1 +1 @@ -import{Remove as i}from"./index--OSF4RVo.js";import{E as a}from"./ExternalInteractorBase-CIi3zRdK.js";import{H as m}from"./index-BYZjsxH_.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-CWmn7Rai.js";import{E as a}from"./ExternalInteractorBase-CIi3zRdK.js";import{H as m}from"./index-DMko1hvE.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-DQliIJOE.js b/dist/assets/Repulser-DS-RatGn.js similarity index 94% rename from dist/assets/Repulser-DQliIJOE.js rename to dist/assets/Repulser-DS-RatGn.js index bfce149..6688fec 100644 --- a/dist/assets/Repulser-DQliIJOE.js +++ b/dist/assets/Repulser-DS-RatGn.js @@ -1 +1 @@ -import{Repulse as T}from"./index-jX6JuJNs.js";import{E as _}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as M,R as D}from"./Ranges-CQ5S5NMg.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-BYZjsxH_.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-DLaWeCYy.js";import{E as _}from"./ExternalInteractorBase-CIi3zRdK.js";import{C as M,R as D}from"./Ranges-BHKD8z4M.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-DMko1hvE.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-Cpn_zm2b.js b/dist/assets/RotateUpdater-CpPckXac.js similarity index 91% rename from dist/assets/RotateUpdater-Cpn_zm2b.js rename to dist/assets/RotateUpdater-CpPckXac.js index 9b661bb..464010f 100644 --- a/dist/assets/RotateUpdater-Cpn_zm2b.js +++ b/dist/assets/RotateUpdater-CpPckXac.js @@ -1 +1 @@ -import{s as a,G as c,H as i,J as r,ab as u}from"./index-BYZjsxH_.js";import{V as f}from"./ValueWithRandom-DhdK59lj.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-DMko1hvE.js";import{V as f}from"./ValueWithRandom-BS5hZeK4.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-DDSadXPl.js b/dist/assets/SizeUpdater-ICB4npPZ.js similarity index 88% rename from dist/assets/SizeUpdater-DDSadXPl.js rename to dist/assets/SizeUpdater-ICB4npPZ.js index a60ac60..01cac7a 100644 --- a/dist/assets/SizeUpdater-DDSadXPl.js +++ b/dist/assets/SizeUpdater-ICB4npPZ.js @@ -1 +1 @@ -import{ae as t,J as a,ab as z}from"./index-BYZjsxH_.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-DMko1hvE.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-BZDDjvRC.js b/dist/assets/Slower-CPdgrGzW.js similarity index 87% rename from dist/assets/Slower-BZDDjvRC.js rename to dist/assets/Slower-CPdgrGzW.js index 1138404..ca707fe 100644 --- a/dist/assets/Slower-BZDDjvRC.js +++ b/dist/assets/Slower-CPdgrGzW.js @@ -1 +1 @@ -import{Slow as u}from"./index--1AqfkFF.js";import{E as d}from"./ExternalInteractorBase-CIi3zRdK.js";import{S as m,K as f}from"./index-BYZjsxH_.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-zlZQ--ql.js";import{E as d}from"./ExternalInteractorBase-CIi3zRdK.js";import{S as m,K as f}from"./index-DMko1hvE.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-D28JQ4Ag.js b/dist/assets/StarDrawer-DU-QMwwX.js similarity index 87% rename from dist/assets/StarDrawer-D28JQ4Ag.js rename to dist/assets/StarDrawer-DU-QMwwX.js index 7cd6457..90745c4 100644 --- a/dist/assets/StarDrawer-D28JQ4Ag.js +++ b/dist/assets/StarDrawer-DU-QMwwX.js @@ -1 +1 @@ -import{H as i}from"./index-BYZjsxH_.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-BYZjsxH_.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-BZ-HfZvu.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-DMko1hvE.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-DPKrWQ8D.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-DhdK59lj.js b/dist/assets/ValueWithRandom-BS5hZeK4.js similarity index 93% rename from dist/assets/ValueWithRandom-DhdK59lj.js rename to dist/assets/ValueWithRandom-BS5hZeK4.js index 704ae7f..806b818 100644 --- a/dist/assets/ValueWithRandom-DhdK59lj.js +++ b/dist/assets/ValueWithRandom-BS5hZeK4.js @@ -1 +1 @@ -import{s as n}from"./index-BYZjsxH_.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-DMko1hvE.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-Dkj0Wdf1.js b/dist/assets/index-8jeqNH9t.js similarity index 70% rename from dist/assets/index-Dkj0Wdf1.js rename to dist/assets/index-8jeqNH9t.js index 723a548..3d1591a 100644 --- a/dist/assets/index-Dkj0Wdf1.js +++ b/dist/assets/index-8jeqNH9t.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Pusher-ITBAFMqg.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Pusher-BeHwgnuK.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{s,_ as n}from"./index-BYZjsxH_.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-ITBAFMqg.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-DMko1hvE.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-BeHwgnuK.js"),__vite__mapDeps([0,1,2,3]));return new u(e)},t)}export{o as Push,a as loadExternalPushInteraction}; diff --git a/dist/assets/index-65jCUE65.js b/dist/assets/index-B3Av9A3s.js similarity index 53% rename from dist/assets/index-65jCUE65.js rename to dist/assets/index-B3Av9A3s.js index b459deb..8724461 100644 --- a/dist/assets/index-65jCUE65.js +++ b/dist/assets/index-B3Av9A3s.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/OutOfCanvasUpdater-Bpaq90KJ.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/OutOfCanvasUpdater-CroEDF9K.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as o}from"./index-BYZjsxH_.js";async function i(t,a=!0){await t.addParticleUpdater("outModes",async e=>{const{OutOfCanvasUpdater:r}=await o(()=>import("./OutOfCanvasUpdater-Bpaq90KJ.js"),__vite__mapDeps([0,1,2]));return new r(e)},a)}export{i as loadOutModesUpdater}; +import{_ as o}from"./index-DMko1hvE.js";async function i(t,a=!0){await t.addParticleUpdater("outModes",async e=>{const{OutOfCanvasUpdater:r}=await o(()=>import("./OutOfCanvasUpdater-CroEDF9K.js"),__vite__mapDeps([0,1,2]));return new r(e)},a)}export{i as loadOutModesUpdater}; diff --git a/dist/assets/index-BCSVHbC5.js b/dist/assets/index-BCSVHbC5.js deleted file mode 100644 index 8725995..0000000 --- a/dist/assets/index-BCSVHbC5.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/index-rFCwFv-u.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/index-DvHlaMbZ.js","assets/index-ChurQQUY.js","assets/index-D_76-wTm.js","assets/index-65jCUE65.js","assets/index-B9gNfIRR.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as t}from"./index-BYZjsxH_.js";async function s(a,_=!0){const{loadBaseMover:o}=await t(()=>import("./index-rFCwFv-u.js"),__vite__mapDeps([0,1,2])),{loadCircleShape:i}=await t(()=>import("./index-DvHlaMbZ.js"),__vite__mapDeps([3,1,2])),{loadColorUpdater:r}=await t(()=>import("./index-ChurQQUY.js"),__vite__mapDeps([4,1,2])),{loadOpacityUpdater:d}=await t(()=>import("./index-D_76-wTm.js"),__vite__mapDeps([5,1,2])),{loadOutModesUpdater:e}=await t(()=>import("./index-65jCUE65.js"),__vite__mapDeps([6,1,2])),{loadSizeUpdater:l}=await t(()=>import("./index-B9gNfIRR.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-BFjSyPw4.js b/dist/assets/index-BFjSyPw4.js new file mode 100644 index 0000000..98c7d27 --- /dev/null +++ b/dist/assets/index-BFjSyPw4.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/CircleDrawer-cFgVdqph.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as i}from"./index-DMko1hvE.js";async function o(a,e=!0){const{CircleDrawer:r}=await i(()=>import("./CircleDrawer-cFgVdqph.js"),__vite__mapDeps([0,1,2]));await a.addShape("circle",new r,e)}export{o as loadCircleShape}; diff --git a/dist/assets/index-DS2Dn7eU.js b/dist/assets/index-BGzowP_0.js similarity index 69% rename from dist/assets/index-DS2Dn7eU.js rename to dist/assets/index-BGzowP_0.js index ca026d7..a7a09a8 100644 --- a/dist/assets/index-DS2Dn7eU.js +++ b/dist/assets/index-BGzowP_0.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Bubbler-BqHAztIO.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-CQ5S5NMg.js","assets/OptionsColor-OVKJ28UH.js"] + __vite__mapDeps.viteFileDeps = ["assets/Bubbler-4R54pGgP.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-BHKD8z4M.js","assets/OptionsColor-C-UziNuF.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{i as t,e as o,_ as u}from"./index-BYZjsxH_.js";import{O as c}from"./OptionsColor-OVKJ28UH.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-BqHAztIO.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-DMko1hvE.js";import{O as c}from"./OptionsColor-C-UziNuF.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-4R54pGgP.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-BbGRzpx7.js b/dist/assets/index-BbGRzpx7.js new file mode 100644 index 0000000..01be9d2 --- /dev/null +++ b/dist/assets/index-BbGRzpx7.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/StrokeColorUpdater-CuGHz6KW.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as e}from"./index-DMko1hvE.js";async function i(r,o=!0){await r.addParticleUpdater("strokeColor",async t=>{const{StrokeColorUpdater:a}=await e(()=>import("./StrokeColorUpdater-CuGHz6KW.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadStrokeColorUpdater}; diff --git a/dist/assets/index-Dp6b3-lj.js b/dist/assets/index-BliiN8J0.js similarity index 58% rename from dist/assets/index-Dp6b3-lj.js rename to dist/assets/index-BliiN8J0.js index 0f57d50..e35c6a6 100644 --- a/dist/assets/index-Dp6b3-lj.js +++ b/dist/assets/index-BliiN8J0.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/EmojiDrawer-4d4v1keZ.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/EmojiDrawer-4N8vyEdQ.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as a}from"./index-BYZjsxH_.js";const i=["emoji"];async function r(e,o=!0){const{EmojiDrawer:t}=await a(()=>import("./EmojiDrawer-4d4v1keZ.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-DMko1hvE.js";const i=["emoji"];async function r(e,o=!0){const{EmojiDrawer:t}=await a(()=>import("./EmojiDrawer-4N8vyEdQ.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-Bon8qgvy.js b/dist/assets/index-Bon8qgvy.js new file mode 100644 index 0000000..3be1998 --- /dev/null +++ b/dist/assets/index-Bon8qgvy.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/PolygonDrawer-ByaFlmg8.js","assets/PolygonDrawerBase-DXOhtJNg.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/TriangleDrawer-14zJ_zun.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as n}from"./index-DMko1hvE.js";async function e(a,o=!0){const{PolygonDrawer:t}=await n(()=>import("./PolygonDrawer-ByaFlmg8.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-14zJ_zun.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-DQoDqMfo.js b/dist/assets/index-BpPb_bQk.js similarity index 67% rename from dist/assets/index-DQoDqMfo.js rename to dist/assets/index-BpPb_bQk.js index 86d923b..605ee81 100644 --- a/dist/assets/index-DQoDqMfo.js +++ b/dist/assets/index-BpPb_bQk.js @@ -1 +1 @@ -import{_ as t}from"./index-BYZjsxH_.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-DMko1hvE.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-Br_X9sYe.js b/dist/assets/index-Br_X9sYe.js new file mode 100644 index 0000000..8758e42 --- /dev/null +++ b/dist/assets/index-Br_X9sYe.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/Attractor-DxUU6b6N.js","assets/ParticlesInteractorBase-vfDeBun3.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as c}from"./index-DMko1hvE.js";async function i(t,r=!0){await t.addInteractor("particlesAttract",async a=>{const{Attractor:o}=await c(()=>import("./Attractor-DxUU6b6N.js"),__vite__mapDeps([0,1,2,3]));return new o(a)},r)}export{i as loadParticlesAttractInteraction}; diff --git a/dist/assets/index-sn-fetFR.js b/dist/assets/index-BvNj9A4N.js similarity index 87% rename from dist/assets/index-sn-fetFR.js rename to dist/assets/index-BvNj9A4N.js index c0518ae..c14e26c 100644 --- a/dist/assets/index-sn-fetFR.js +++ b/dist/assets/index-BvNj9A4N.js @@ -4,4 +4,4 @@ function __vite__mapDeps(indexes) { } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as n}from"./index-BYZjsxH_.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-DMko1hvE.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-CQjukbvg.js b/dist/assets/index-C8Jm_qwz.js similarity index 68% rename from dist/assets/index-CQjukbvg.js rename to dist/assets/index-C8Jm_qwz.js index e79c137..b697375 100644 --- a/dist/assets/index-CQjukbvg.js +++ b/dist/assets/index-C8Jm_qwz.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Grabber-BIk_VeT-.js","assets/CanvasUtils-DLb0ihTE.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/OptionsColor-OVKJ28UH.js"] + __vite__mapDeps.viteFileDeps = ["assets/Grabber-DK8OFnz2.js","assets/CanvasUtils-I3KmgLQw.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js","assets/OptionsColor-C-UziNuF.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-BYZjsxH_.js";import{O as s}from"./OptionsColor-OVKJ28UH.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-BIk_VeT-.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-DMko1hvE.js";import{O as s}from"./OptionsColor-C-UziNuF.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-DK8OFnz2.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-ClhtMT38.js b/dist/assets/index-CAGs7XRz.js similarity index 72% rename from dist/assets/index-ClhtMT38.js rename to dist/assets/index-CAGs7XRz.js index ea34396..02b2782 100644 --- a/dist/assets/index-ClhtMT38.js +++ b/dist/assets/index-CAGs7XRz.js @@ -1 +1 @@ -import{a as i}from"./index-BYZjsxH_.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-DMko1hvE.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--OSF4RVo.js b/dist/assets/index-CWmn7Rai.js similarity index 58% rename from dist/assets/index--OSF4RVo.js rename to dist/assets/index-CWmn7Rai.js index 015305c..1fb4968 100644 --- a/dist/assets/index--OSF4RVo.js +++ b/dist/assets/index-CWmn7Rai.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Remover-oJCX4u5s.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/Remover-Bho_5VKd.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{s as o,_ as r}from"./index-BYZjsxH_.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-oJCX4u5s.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-DMko1hvE.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-Bho_5VKd.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-CWu8q_gy.js b/dist/assets/index-CWu8q_gy.js new file mode 100644 index 0000000..09d65fb --- /dev/null +++ b/dist/assets/index-CWu8q_gy.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/BaseMover-B3RP__F0.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as r}from"./index-DMko1hvE.js";async function _(a,e=!0){await a.addMover("base",async()=>{const{BaseMover:o}=await r(()=>import("./BaseMover-B3RP__F0.js"),__vite__mapDeps([0,1,2]));return new o},e)}export{_ as loadBaseMover}; diff --git a/dist/assets/index-BocUU9gu.js b/dist/assets/index-CbX3WzLy.js similarity index 75% rename from dist/assets/index-BocUU9gu.js rename to dist/assets/index-CbX3WzLy.js index c3bb5e3..43557b3 100644 --- a/dist/assets/index-BocUU9gu.js +++ b/dist/assets/index-CbX3WzLy.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Attractor-B-EDwRo6.js","assets/Ranges-CQ5S5NMg.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Attractor-BqOwuwtf.js","assets/Ranges-BHKD8z4M.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-BYZjsxH_.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-B-EDwRo6.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-DMko1hvE.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-BqOwuwtf.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-ChurQQUY.js b/dist/assets/index-Cl6O_6Ol.js similarity index 51% rename from dist/assets/index-ChurQQUY.js rename to dist/assets/index-Cl6O_6Ol.js index 0548db0..884de5c 100644 --- a/dist/assets/index-ChurQQUY.js +++ b/dist/assets/index-Cl6O_6Ol.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/ColorUpdater-YPLsp2rh.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/ColorUpdater-nH-z_zBu.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-BYZjsxH_.js";async function i(r,o=!0){await r.addParticleUpdater("color",async t=>{const{ColorUpdater:a}=await e(()=>import("./ColorUpdater-YPLsp2rh.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadColorUpdater}; +import{_ as e}from"./index-DMko1hvE.js";async function i(r,o=!0){await r.addParticleUpdater("color",async t=>{const{ColorUpdater:a}=await e(()=>import("./ColorUpdater-nH-z_zBu.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadColorUpdater}; diff --git a/dist/assets/index-CwepfaoY.js b/dist/assets/index-CwepfaoY.js new file mode 100644 index 0000000..e59d161 --- /dev/null +++ b/dist/assets/index-CwepfaoY.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/StarDrawer-DU-QMwwX.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as e}from"./index-DMko1hvE.js";async function _(a,t=!0){const{StarDrawer:r}=await e(()=>import("./StarDrawer-DU-QMwwX.js"),__vite__mapDeps([0,1,2]));await a.addShape("star",new r,t)}export{_ as loadStarShape}; diff --git a/dist/assets/index-CxoJ4J6_.js b/dist/assets/index-CxoJ4J6_.js deleted file mode 100644 index 4076ea0..0000000 --- a/dist/assets/index-CxoJ4J6_.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/StrokeColorUpdater-BxagYm6-.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as e}from"./index-BYZjsxH_.js";async function i(r,o=!0){await r.addParticleUpdater("strokeColor",async t=>{const{StrokeColorUpdater:a}=await e(()=>import("./StrokeColorUpdater-BxagYm6-.js"),__vite__mapDeps([0,1,2]));return new a(t)},o)}export{i as loadStrokeColorUpdater}; diff --git a/dist/assets/index-CJjzd8UR.js b/dist/assets/index-D1d7-xdN.js similarity index 75% rename from dist/assets/index-CJjzd8UR.js rename to dist/assets/index-D1d7-xdN.js index e156b83..71539e2 100644 --- a/dist/assets/index-CJjzd8UR.js +++ b/dist/assets/index-D1d7-xdN.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/interaction-CX4cSraS.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/plugin-Hic_5Nu0.js"] + __vite__mapDeps.viteFileDeps = ["assets/interaction-CuOUJMmx.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/plugin-Cr4VgqSi.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-BYZjsxH_.js";import{O as n}from"./OptionsColor-OVKJ28UH.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-CX4cSraS.js"),__vite__mapDeps([0,1,2])),{loadLinksPlugin:r}=await s(()=>import("./plugin-Hic_5Nu0.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-DMko1hvE.js";import{O as n}from"./OptionsColor-C-UziNuF.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-CuOUJMmx.js"),__vite__mapDeps([0,1,2])),{loadLinksPlugin:r}=await s(()=>import("./plugin-Cr4VgqSi.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-DFpH4DOf.js b/dist/assets/index-DFpH4DOf.js deleted file mode 100644 index 8b986cb..0000000 --- a/dist/assets/index-DFpH4DOf.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Attractor-DqeauPkb.js","assets/ParticlesInteractorBase-vfDeBun3.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as c}from"./index-BYZjsxH_.js";async function i(t,r=!0){await t.addInteractor("particlesAttract",async a=>{const{Attractor:o}=await c(()=>import("./Attractor-DqeauPkb.js"),__vite__mapDeps([0,1,2,3]));return new o(a)},r)}export{i as loadParticlesAttractInteraction}; diff --git a/dist/assets/index-B9Q37uKC.js b/dist/assets/index-DIj8RvTQ.js similarity index 72% rename from dist/assets/index-B9Q37uKC.js rename to dist/assets/index-DIj8RvTQ.js index 9691851..c80c63d 100644 --- a/dist/assets/index-B9Q37uKC.js +++ b/dist/assets/index-DIj8RvTQ.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Connector-CuzunOMN.js","assets/CanvasUtils-DLb0ihTE.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Connector-Boj16n_V.js","assets/CanvasUtils-I3KmgLQw.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as s}from"./index-BYZjsxH_.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-CuzunOMN.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-DMko1hvE.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-Boj16n_V.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-jX6JuJNs.js b/dist/assets/index-DLaWeCYy.js similarity index 75% rename from dist/assets/index-jX6JuJNs.js rename to dist/assets/index-DLaWeCYy.js index 3d3ed80..6b4527e 100644 --- a/dist/assets/index-jX6JuJNs.js +++ b/dist/assets/index-DLaWeCYy.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Repulser-DQliIJOE.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-CQ5S5NMg.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/Repulser-DS-RatGn.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/Ranges-BHKD8z4M.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{e as r,_ as o}from"./index-BYZjsxH_.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-DQliIJOE.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-DMko1hvE.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-DS-RatGn.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-B5P_jBIU.js b/dist/assets/index-DMPiHntv.js similarity index 50% rename from dist/assets/index-B5P_jBIU.js rename to dist/assets/index-DMPiHntv.js index bd1d7cf..b521d13 100644 --- a/dist/assets/index-B5P_jBIU.js +++ b/dist/assets/index-DMPiHntv.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/ParallaxMover-DbP71-Dw.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/ParallaxMover-kiKXd2js.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as t}from"./index-BYZjsxH_.js";async function l(a,r=!0){await a.addMover("parallax",async()=>{const{ParallaxMover:o}=await t(()=>import("./ParallaxMover-DbP71-Dw.js"),__vite__mapDeps([0,1,2]));return new o},r)}export{l as loadParallaxMover}; +import{_ as t}from"./index-DMko1hvE.js";async function l(a,r=!0){await a.addMover("parallax",async()=>{const{ParallaxMover:o}=await t(()=>import("./ParallaxMover-kiKXd2js.js"),__vite__mapDeps([0,1,2]));return new o},r)}export{l as loadParallaxMover}; diff --git a/dist/assets/index-BYZjsxH_.js b/dist/assets/index-DMko1hvE.js similarity index 64% rename from dist/assets/index-BYZjsxH_.js rename to dist/assets/index-DMko1hvE.js index a93e8c1..c423b97 100644 --- a/dist/assets/index-BYZjsxH_.js +++ b/dist/assets/index-DMko1hvE.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Container-B0LxY2Sb.js","assets/CanvasUtils-DLb0ihTE.js","assets/OptionsColor-OVKJ28UH.js","assets/ValueWithRandom-DhdK59lj.js","assets/Ranges-CQ5S5NMg.js","assets/index-DS2Dn7eU.js","assets/index-CQjukbvg.js","assets/index-CJjzd8UR.js"] + __vite__mapDeps.viteFileDeps = ["assets/Container-eznMp877.js","assets/CanvasUtils-I3KmgLQw.js","assets/OptionsColor-C-UziNuF.js","assets/ValueWithRandom-BS5hZeK4.js","assets/Ranges-BHKD8z4M.js","assets/index-BGzowP_0.js","assets/index-C8Jm_qwz.js","assets/index-D1d7-xdN.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -var _p=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(_p(e,t,"read from private field"),n?n.call(e):t.get(e)),Y=(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)},H=(e,t,n,r)=>(_p(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Iu=(e,t,n,r)=>({set _(i){H(e,t,i,n)},get _(){return _(e,t,r)}}),le=(e,t,n)=>(_p(e,t,"access private method"),n);function XM(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 s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var de=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function QS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Rr(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 YS={exports:{}},Kd={},XS={exports:{}},oe={};/** +var _p=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(_p(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)},H=(e,t,n,r)=>(_p(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var Iu=(e,t,n,r)=>({set _(i){H(e,t,i,n)},get _(){return _(e,t,r)}}),le=(e,t,n)=>(_p(e,t,"access private method"),n);function ZM(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 s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();var fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function XS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Rr(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 ZS={exports:{}},Kd={},JS={exports:{}},oe={};/** * @license React * react.production.min.js * @@ -12,7 +12,7 @@ var _p=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(_p(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var au=Symbol.for("react.element"),ZM=Symbol.for("react.portal"),JM=Symbol.for("react.fragment"),e_=Symbol.for("react.strict_mode"),t_=Symbol.for("react.profiler"),n_=Symbol.for("react.provider"),r_=Symbol.for("react.context"),i_=Symbol.for("react.forward_ref"),s_=Symbol.for("react.suspense"),o_=Symbol.for("react.memo"),a_=Symbol.for("react.lazy"),Qy=Symbol.iterator;function l_(e){return e===null||typeof e!="object"?null:(e=Qy&&e[Qy]||e["@@iterator"],typeof e=="function"?e:null)}var ZS={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},JS=Object.assign,eE={};function qo(e,t,n){this.props=e,this.context=t,this.refs=eE,this.updater=n||ZS}qo.prototype.isReactComponent={};qo.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")};qo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function tE(){}tE.prototype=qo.prototype;function ov(e,t,n){this.props=e,this.context=t,this.refs=eE,this.updater=n||ZS}var av=ov.prototype=new tE;av.constructor=ov;JS(av,qo.prototype);av.isPureReactComponent=!0;var Yy=Array.isArray,nE=Object.prototype.hasOwnProperty,lv={current:null},rE={key:!0,ref:!0,__self:!0,__source:!0};function iE(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)nE.call(t,r)&&!rE.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)=>(_p(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var p_=b,h_=Symbol.for("react.element"),m_=Symbol.for("react.fragment"),g_=Object.prototype.hasOwnProperty,v_=p_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,y_={key:!0,ref:!0,__self:!0,__source:!0};function sE(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)g_.call(t,r)&&!y_.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:h_,type:e,key:s,ref:o,props:i,_owner:v_.current}}Kd.Fragment=m_;Kd.jsx=sE;Kd.jsxs=sE;YS.exports=Kd;var E=YS.exports,em={},oE={exports:{}},Jt={},aE={exports:{}},lE={};/** + */var h_=b,m_=Symbol.for("react.element"),g_=Symbol.for("react.fragment"),v_=Object.prototype.hasOwnProperty,y_=h_.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,x_={key:!0,ref:!0,__self:!0,__source:!0};function aE(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)v_.call(t,r)&&!x_.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:m_,type:e,key:s,ref:o,props:i,_owner:y_.current}}Kd.Fragment=g_;Kd.jsx=aE;Kd.jsxs=aE;ZS.exports=Kd;var E=ZS.exports,tm={},lE={exports:{}},Jt={},uE={exports:{}},cE={};/** * @license React * scheduler.production.min.js * @@ -28,7 +28,7 @@ var _p=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(_p(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(O,L){var B=O.length;O.push(L);e:for(;0>>1,ne=O[K];if(0>>1;Ki(ct,B))iei(U,ct)?(O[K]=U,O[ie]=B,K=ie):(O[K]=ct,O[me]=B,K=me);else if(iei(U,B))O[K]=U,O[ie]=B,K=ie;else break e}}return L}function i(O,L){var B=O.sortIndex-L.sortIndex;return B!==0?B:O.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(O){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=O)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function w(O){if(m=!1,v(O),!h)if(n(l)!==null)h=!0,N(S);else{var L=n(u);L!==null&&q(w,L.startTime-O)}}function S(O,L){h=!1,m&&(m=!1,g(C),C=-1),p=!0;var B=f;try{for(v(L),d=n(l);d!==null&&(!(d.expirationTime>L)||O&&!R());){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 Ye=!0;else{var me=n(u);me!==null&&q(w,me.startTime-L),Ye=!1}return Ye}finally{d=null,f=B,p=!1}}var P=!1,T=null,C=-1,M=5,k=-1;function R(){return!(e.unstable_now()-kO||125K?(O.sortIndex=B,t(u,O),n(l)===null&&O===n(u)&&(m?(g(C),C=-1):m=!0,q(w,B-K))):(O.sortIndex=ne,t(l,O),h||p||(h=!0,N(S))),O},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(O){var L=f;return function(){var B=f;f=L;try{return O.apply(this,arguments)}finally{f=B}}}})(lE);aE.exports=lE;var x_=aE.exports;/** + */(function(e){function t(O,L){var B=O.length;O.push(L);e:for(;0>>1,ne=O[K];if(0>>1;Ki(ct,B))iei(U,ct)?(O[K]=U,O[ie]=B,K=ie):(O[K]=ct,O[ge]=B,K=ge);else if(iei(U,B))O[K]=U,O[ie]=B,K=ie;else break e}}return L}function i(O,L){var B=O.sortIndex-L.sortIndex;return B!==0?B:O.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(O){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=O)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function w(O){if(m=!1,v(O),!h)if(n(l)!==null)h=!0,N(S);else{var L=n(u);L!==null&&q(w,L.startTime-O)}}function S(O,L){h=!1,m&&(m=!1,g(C),C=-1),p=!0;var B=f;try{for(v(L),d=n(l);d!==null&&(!(d.expirationTime>L)||O&&!R());){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 Ye=!0;else{var ge=n(u);ge!==null&&q(w,ge.startTime-L),Ye=!1}return Ye}finally{d=null,f=B,p=!1}}var P=!1,T=null,C=-1,M=5,k=-1;function R(){return!(e.unstable_now()-kO||125K?(O.sortIndex=B,t(u,O),n(l)===null&&O===n(u)&&(m?(g(C),C=-1):m=!0,q(w,B-K))):(O.sortIndex=ne,t(l,O),h||p||(h=!0,N(S))),O},e.unstable_shouldYield=R,e.unstable_wrapCallback=function(O){var L=f;return function(){var B=f;f=L;try{return O.apply(this,arguments)}finally{f=B}}}})(cE);uE.exports=cE;var w_=uE.exports;/** * @license React * react-dom.production.min.js * @@ -36,14 +36,14 @@ var _p=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var _=(e,t,n)=>(_p(e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var uE=b,Xt=x_;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"),tm=Object.prototype.hasOwnProperty,w_=/^[: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]*$/,Zy={},Jy={};function b_(e){return tm.call(Jy,e)?!0:tm.call(Zy,e)?!1:w_.test(e)?Jy[e]=!0:(Zy[e]=!0,!1)}function S_(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 E_(e,t,n,r){if(t===null||typeof t>"u"||S_(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 $t(e,t,n,r,i,s,o){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=s,this.removeEmptyString=o}var gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){gt[e]=new $t(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];gt[t]=new $t(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){gt[e]=new $t(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){gt[e]=new $t(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){gt[e]=new $t(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){gt[e]=new $t(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){gt[e]=new $t(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){gt[e]=new $t(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){gt[e]=new $t(e,5,!1,e.toLowerCase(),null,!1,!1)});var cv=/[\-:]([a-z])/g;function dv(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(cv,dv);gt[t]=new $t(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(cv,dv);gt[t]=new $t(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(cv,dv);gt[t]=new $t(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){gt[e]=new $t(e,1,!1,e.toLowerCase(),null,!1,!1)});gt.xlinkHref=new $t("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){gt[e]=new $t(e,1,!1,e.toLowerCase(),null,!0,!0)});function fv(e,t,n,r){var i=gt.hasOwnProperty(t)?gt[t]:null;(i!==null?i.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nm=Object.prototype.hasOwnProperty,b_=/^[: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]*$/,e1={},t1={};function S_(e){return nm.call(t1,e)?!0:nm.call(e1,e)?!1:b_.test(e)?t1[e]=!0:(e1[e]=!0,!1)}function E_(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 P_(e,t,n,r){if(t===null||typeof t>"u"||E_(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 $t(e,t,n,r,i,s,o){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=s,this.removeEmptyString=o}var gt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){gt[e]=new $t(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];gt[t]=new $t(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){gt[e]=new $t(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){gt[e]=new $t(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){gt[e]=new $t(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){gt[e]=new $t(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){gt[e]=new $t(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){gt[e]=new $t(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){gt[e]=new $t(e,5,!1,e.toLowerCase(),null,!1,!1)});var d0=/[\-:]([a-z])/g;function f0(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(d0,f0);gt[t]=new $t(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(d0,f0);gt[t]=new $t(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(d0,f0);gt[t]=new $t(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){gt[e]=new $t(e,1,!1,e.toLowerCase(),null,!1,!1)});gt.xlinkHref=new $t("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){gt[e]=new $t(e,1,!1,e.toLowerCase(),null,!0,!0)});function p0(e,t,n,r){var i=gt.hasOwnProperty(t)?gt[t]:null;(i!==null?i.type!==0:r||!(2a||i[o]!==s[a]){var l=` -`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Ap=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ka(e):""}function P_(e){switch(e.tag){case 5:return ka(e.type);case 16:return ka("Lazy");case 13:return ka("Suspense");case 19:return ka("SuspenseList");case 0:case 2:case 15:return e=Ip(e.type,!1),e;case 11:return e=Ip(e.type.render,!1),e;case 1:return e=Ip(e.type,!0),e;default:return""}}function sm(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 Vs:return"Fragment";case zs:return"Portal";case nm:return"Profiler";case pv:return"StrictMode";case rm:return"Suspense";case im:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fE:return(e.displayName||"Context")+".Consumer";case dE:return(e._context.displayName||"Context")+".Provider";case hv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case mv:return t=e.displayName||null,t!==null?t:sm(e.type)||"Memo";case qr:t=e._payload,e=e._init;try{return sm(e(t))}catch{}}return null}function C_(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 sm(t);case 8:return t===pv?"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 ki(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function hE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function T_(e){var t=hE(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ju(e){e._valueTracker||(e._valueTracker=T_(e))}function mE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=hE(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vc(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 om(e,t){var n=t.checked;return Le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function t1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ki(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 gE(e,t){t=t.checked,t!=null&&fv(e,"checked",t,!1)}function am(e,t){gE(e,t);var n=ki(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")?lm(e,t.type,n):t.hasOwnProperty("defaultValue")&&lm(e,t.type,ki(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function n1(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 lm(e,t,n){(t!=="number"||Vc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ma=Array.isArray;function so(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Du.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function al(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Da={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},k_=["Webkit","ms","Moz","O"];Object.keys(Da).forEach(function(e){k_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Da[t]=Da[e]})});function wE(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Da.hasOwnProperty(e)&&Da[e]?(""+t).trim():t+"px"}function bE(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=wE(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var M_=Le({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 dm(e,t){if(t){if(M_[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 fm(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 pm=null;function gv(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hm=null,oo=null,ao=null;function s1(e){if(e=cu(e)){if(typeof hm!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Jd(t),hm(e.stateNode,e.type,t))}}function SE(e){oo?ao?ao.push(e):ao=[e]:oo=e}function EE(){if(oo){var e=oo,t=ao;if(ao=oo=null,s1(e),t)for(e=0;e>>=0,e===0?32:31-(N_(e)/z_|0)|0}var Fu=64,Nu=4194304;function _a(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 Hc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=_a(a):(s&=o,s!==0&&(r=_a(s)))}else o=n&~i,o!==0?r=_a(o):s!==0&&(r=_a(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&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 lu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Dn(t),e[t]=n}function W_(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=Na),h1=" ",m1=!1;function UE(e,t){switch(e){case"keyup":return yO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function WE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Bs=!1;function wO(e,t){switch(e){case"compositionend":return WE(t);case"keypress":return t.which!==32?null:(m1=!0,h1);case"textInput":return e=t.data,e===h1&&m1?null:e;default:return null}}function bO(e,t){if(Bs)return e==="compositionend"||!Pv&&UE(e,t)?(e=VE(),hc=bv=si=null,Bs=!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=x1(n)}}function KE(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?KE(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function QE(){for(var e=window,t=Vc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vc(e.document)}return t}function Cv(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 OO(e){var t=QE(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&KE(n.ownerDocument.documentElement,n)){if(r!==null&&Cv(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,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=w1(n,s);var o=w1(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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,Us=null,wm=null,Va=null,bm=!1;function b1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bm||Us==null||Us!==Vc(r)||(r=Us,"selectionStart"in r&&Cv(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}),Va&&pl(Va,r)||(Va=r,r=Kc(wm,"onSelect"),0Gs||(e.current=km[Gs],km[Gs]=null,Gs--)}function Ce(e,t){Gs++,km[Gs]=e.current,e.current=t}var Mi={},Mt=Ii(Mi),Nt=Ii(!1),ms=Mi;function Io(e,t){var n=e.type.contextTypes;if(!n)return Mi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function zt(e){return e=e.childContextTypes,e!=null}function Yc(){Me(Nt),Me(Mt)}function M1(e,t,n){if(Mt.current!==Mi)throw Error(F(168));Ce(Mt,t),Ce(Nt,n)}function iP(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,C_(e)||"Unknown",i));return Le({},n,r)}function Xc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mi,ms=Mt.current,Ce(Mt,e),Ce(Nt,Nt.current),!0}function _1(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=iP(e,t,ms),r.__reactInternalMemoizedMergedChildContext=e,Me(Nt),Me(Mt),Ce(Mt,e)):Me(Nt),Ce(Nt,n)}var fr=null,ef=!1,qp=!1;function sP(e){fr===null?fr=[e]:fr.push(e)}function BO(e){ef=!0,sP(e)}function $i(){if(!qp&&fr!==null){qp=!0;var e=0,t=xe;try{var n=fr;for(xe=1;e>=o,i-=o,pr=1<<32-Dn(t)+i|n<C?(M=T,T=null):M=T.sibling;var k=f(g,T,v[C],w);if(k===null){T===null&&(T=M);break}e&&T&&k.alternate===null&&t(g,T),y=s(k,y,C),P===null?S=k:P.sibling=k,P=k,T=M}if(C===v.length)return n(g,T),Re&&Bi(g,C),S;if(T===null){for(;CC?(M=T,T=null):M=T.sibling;var R=f(g,T,k.value,w);if(R===null){T===null&&(T=M);break}e&&T&&R.alternate===null&&t(g,T),y=s(R,y,C),P===null?S=R:P.sibling=R,P=R,T=M}if(k.done)return n(g,T),Re&&Bi(g,C),S;if(T===null){for(;!k.done;C++,k=v.next())k=d(g,k.value,w),k!==null&&(y=s(k,y,C),P===null?S=k:P.sibling=k,P=k);return Re&&Bi(g,C),S}for(T=r(g,T);!k.done;C++,k=v.next())k=p(T,g,C,k.value,w),k!==null&&(e&&k.alternate!==null&&T.delete(k.key===null?C:k.key),y=s(k,y,C),P===null?S=k:P.sibling=k,P=k);return e&&T.forEach(function(I){return t(g,I)}),Re&&Bi(g,C),S}function x(g,y,v,w){if(typeof v=="object"&&v!==null&&v.type===Vs&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Lu:e:{for(var S=v.key,P=y;P!==null;){if(P.key===S){if(S=v.type,S===Vs){if(P.tag===7){n(g,P.sibling),y=i(P,v.props.children),y.return=g,g=y;break e}}else if(P.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===qr&&j1(S)===P.type){n(g,P.sibling),y=i(P,v.props),y.ref=ha(g,P,v),y.return=g,g=y;break e}n(g,P);break}else t(g,P);P=P.sibling}v.type===Vs?(y=ds(v.props.children,g.mode,w,v.key),y.return=g,g=y):(w=Sc(v.type,v.key,v.props,null,g.mode,w),w.ref=ha(g,y,v),w.return=g,g=w)}return o(g);case zs:e:{for(P=v.key;y!==null;){if(y.key===P)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=th(v,g.mode,w),y.return=g,g=y}return o(g);case qr:return P=v._init,x(g,y,P(v._payload),w)}if(Ma(v))return h(g,y,v,w);if(ua(v))return m(g,y,v,w);Gu(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=eh(v,g.mode,w),y.return=g,g=y),o(g)):n(g,y)}return x}var Lo=pP(!0),hP=pP(!1),du={},er=Ii(du),vl=Ii(du),yl=Ii(du);function Xi(e){if(e===du)throw Error(F(174));return e}function $v(e,t){switch(Ce(yl,t),Ce(vl,e),Ce(er,du),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:cm(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=cm(t,e)}Me(er),Ce(er,t)}function jo(){Me(er),Me(vl),Me(yl)}function mP(e){Xi(yl.current);var t=Xi(er.current),n=cm(t,e.type);t!==n&&(Ce(vl,e),Ce(er,n))}function Lv(e){vl.current===e&&(Me(er),Me(vl))}var Ae=Ii(0);function rd(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 Kp=[];function jv(){for(var e=0;en?n:4,e(!0);var r=Qp.transition;Qp.transition={};try{e(!1),t()}finally{xe=n,Qp.transition=r}}function RP(){return En().memoizedState}function GO(e,t,n){var r=yi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},AP(e))IP(t,n);else if(n=uP(e,t,n,r),n!==null){var i=At();Fn(n,e,r,i),$P(n,t,r)}}function qO(e,t,n){var r=yi(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(AP(e))IP(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,Nn(a,o)){var l=t.interleaved;l===null?(i.next=i,Av(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=uP(e,t,i,r),n!==null&&(i=At(),Fn(n,e,r,i),$P(n,t,r))}}function AP(e){var t=e.alternate;return e===$e||t!==null&&t===$e}function IP(e,t){Ba=id=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function $P(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,yv(e,n)}}var sd={readContext:Sn,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useInsertionEffect:bt,useLayoutEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useMutableSource:bt,useSyncExternalStore:bt,useId:bt,unstable_isNewReconciler:!1},KO={readContext:Sn,useCallback:function(e,t){return Bn().memoizedState=[e,t===void 0?null:t],e},useContext:Sn,useEffect:F1,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,yc(4194308,4,TP.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yc(4194308,4,e,t)},useInsertionEffect:function(e,t){return yc(4,2,e,t)},useMemo:function(e,t){var n=Bn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bn();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=GO.bind(null,$e,e),[r.memoizedState,e]},useRef:function(e){var t=Bn();return e={current:e},t.memoizedState=e},useState:D1,useDebugValue:Vv,useDeferredValue:function(e){return Bn().memoizedState=e},useTransition:function(){var e=D1(!1),t=e[0];return e=HO.bind(null,e[1]),Bn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$e,i=Bn();if(Re){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ot===null)throw Error(F(349));vs&30||yP(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,F1(wP.bind(null,r,s,e),[e]),r.flags|=2048,bl(9,xP.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Bn(),t=ot.identifierPrefix;if(Re){var n=hr,r=pr;n=(r&~(1<<32-Dn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=xl++,0")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{Ap=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ma(e):""}function C_(e){switch(e.tag){case 5:return Ma(e.type);case 16:return Ma("Lazy");case 13:return Ma("Suspense");case 19:return Ma("SuspenseList");case 0:case 2:case 15:return e=Ip(e.type,!1),e;case 11:return e=Ip(e.type.render,!1),e;case 1:return e=Ip(e.type,!0),e;default:return""}}function om(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 Bs:return"Fragment";case Vs:return"Portal";case rm:return"Profiler";case h0:return"StrictMode";case im:return"Suspense";case sm:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hE:return(e.displayName||"Context")+".Consumer";case pE:return(e._context.displayName||"Context")+".Provider";case m0:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case g0:return t=e.displayName||null,t!==null?t:om(e.type)||"Memo";case qr:t=e._payload,e=e._init;try{return om(e(t))}catch{}}return null}function T_(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 om(t);case 8:return t===h0?"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 ki(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gE(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function k_(e){var t=gE(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,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ju(e){e._valueTracker||(e._valueTracker=k_(e))}function vE(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gE(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Vc(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 am(e,t){var n=t.checked;return Le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function r1(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ki(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 yE(e,t){t=t.checked,t!=null&&p0(e,"checked",t,!1)}function lm(e,t){yE(e,t);var n=ki(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")?um(e,t.type,n):t.hasOwnProperty("defaultValue")&&um(e,t.type,ki(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function i1(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 um(e,t,n){(t!=="number"||Vc(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _a=Array.isArray;function oo(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=Du.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function al(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Da={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},M_=["Webkit","ms","Moz","O"];Object.keys(Da).forEach(function(e){M_.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Da[t]=Da[e]})});function SE(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Da.hasOwnProperty(e)&&Da[e]?(""+t).trim():t+"px"}function EE(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=SE(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var __=Le({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 fm(e,t){if(t){if(__[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 pm(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 hm=null;function v0(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mm=null,ao=null,lo=null;function a1(e){if(e=cu(e)){if(typeof mm!="function")throw Error(F(280));var t=e.stateNode;t&&(t=Jd(t),mm(e.stateNode,e.type,t))}}function PE(e){ao?lo?lo.push(e):lo=[e]:ao=e}function CE(){if(ao){var e=ao,t=lo;if(lo=ao=null,a1(e),t)for(e=0;e>>=0,e===0?32:31-(z_(e)/V_|0)|0}var Fu=64,Nu=4194304;function Oa(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 Hc(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=Oa(a):(s&=o,s!==0&&(r=Oa(s)))}else o=n&~i,o!==0?r=Oa(o):s!==0&&(r=Oa(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&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 lu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Dn(t),e[t]=n}function H_(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=Na),g1=" ",v1=!1;function HE(e,t){switch(e){case"keyup":return xO.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function GE(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Us=!1;function bO(e,t){switch(e){case"compositionend":return GE(t);case"keypress":return t.which!==32?null:(v1=!0,g1);case"textInput":return e=t.data,e===g1&&v1?null:e;default:return null}}function SO(e,t){if(Us)return e==="compositionend"||!C0&&HE(e,t)?(e=UE(),hc=S0=si=null,Us=!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=b1(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=Vc();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Vc(e.document)}return t}function T0(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 RO(e){var t=XE(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&YE(n.ownerDocument.documentElement,n)){if(r!==null&&T0(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,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=S1(n,s);var o=S1(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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,Ws=null,bm=null,Va=null,Sm=!1;function E1(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sm||Ws==null||Ws!==Vc(r)||(r=Ws,"selectionStart"in r&&T0(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}),Va&&pl(Va,r)||(Va=r,r=Kc(bm,"onSelect"),0qs||(e.current=Mm[qs],Mm[qs]=null,qs--)}function Ce(e,t){qs++,Mm[qs]=e.current,e.current=t}var Mi={},Mt=Ii(Mi),Nt=Ii(!1),ms=Mi;function $o(e,t){var n=e.type.contextTypes;if(!n)return Mi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function zt(e){return e=e.childContextTypes,e!=null}function Yc(){Me(Nt),Me(Mt)}function O1(e,t,n){if(Mt.current!==Mi)throw Error(F(168));Ce(Mt,t),Ce(Nt,n)}function oP(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,T_(e)||"Unknown",i));return Le({},n,r)}function Xc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mi,ms=Mt.current,Ce(Mt,e),Ce(Nt,Nt.current),!0}function R1(e,t,n){var r=e.stateNode;if(!r)throw Error(F(169));n?(e=oP(e,t,ms),r.__reactInternalMemoizedMergedChildContext=e,Me(Nt),Me(Mt),Ce(Mt,e)):Me(Nt),Ce(Nt,n)}var fr=null,ef=!1,qp=!1;function aP(e){fr===null?fr=[e]:fr.push(e)}function UO(e){ef=!0,aP(e)}function $i(){if(!qp&&fr!==null){qp=!0;var e=0,t=we;try{var n=fr;for(we=1;e>=o,i-=o,pr=1<<32-Dn(t)+i|n<C?(M=T,T=null):M=T.sibling;var k=f(g,T,v[C],w);if(k===null){T===null&&(T=M);break}e&&T&&k.alternate===null&&t(g,T),y=s(k,y,C),P===null?S=k:P.sibling=k,P=k,T=M}if(C===v.length)return n(g,T),Re&&Bi(g,C),S;if(T===null){for(;CC?(M=T,T=null):M=T.sibling;var R=f(g,T,k.value,w);if(R===null){T===null&&(T=M);break}e&&T&&R.alternate===null&&t(g,T),y=s(R,y,C),P===null?S=R:P.sibling=R,P=R,T=M}if(k.done)return n(g,T),Re&&Bi(g,C),S;if(T===null){for(;!k.done;C++,k=v.next())k=d(g,k.value,w),k!==null&&(y=s(k,y,C),P===null?S=k:P.sibling=k,P=k);return Re&&Bi(g,C),S}for(T=r(g,T);!k.done;C++,k=v.next())k=p(T,g,C,k.value,w),k!==null&&(e&&k.alternate!==null&&T.delete(k.key===null?C:k.key),y=s(k,y,C),P===null?S=k:P.sibling=k,P=k);return e&&T.forEach(function(I){return t(g,I)}),Re&&Bi(g,C),S}function x(g,y,v,w){if(typeof v=="object"&&v!==null&&v.type===Bs&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Lu:e:{for(var S=v.key,P=y;P!==null;){if(P.key===S){if(S=v.type,S===Bs){if(P.tag===7){n(g,P.sibling),y=i(P,v.props.children),y.return=g,g=y;break e}}else if(P.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===qr&&F1(S)===P.type){n(g,P.sibling),y=i(P,v.props),y.ref=ma(g,P,v),y.return=g,g=y;break e}n(g,P);break}else t(g,P);P=P.sibling}v.type===Bs?(y=ds(v.props.children,g.mode,w,v.key),y.return=g,g=y):(w=Sc(v.type,v.key,v.props,null,g.mode,w),w.ref=ma(g,y,v),w.return=g,g=w)}return o(g);case Vs:e:{for(P=v.key;y!==null;){if(y.key===P)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=th(v,g.mode,w),y.return=g,g=y}return o(g);case qr:return P=v._init,x(g,y,P(v._payload),w)}if(_a(v))return h(g,y,v,w);if(ca(v))return m(g,y,v,w);Gu(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=eh(v,g.mode,w),y.return=g,g=y),o(g)):n(g,y)}return x}var jo=mP(!0),gP=mP(!1),du={},er=Ii(du),vl=Ii(du),yl=Ii(du);function Xi(e){if(e===du)throw Error(F(174));return e}function L0(e,t){switch(Ce(yl,t),Ce(vl,e),Ce(er,du),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:dm(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=dm(t,e)}Me(er),Ce(er,t)}function Do(){Me(er),Me(vl),Me(yl)}function vP(e){Xi(yl.current);var t=Xi(er.current),n=dm(t,e.type);t!==n&&(Ce(vl,e),Ce(er,n))}function j0(e){vl.current===e&&(Me(er),Me(vl))}var Ae=Ii(0);function rd(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 Kp=[];function D0(){for(var e=0;en?n:4,e(!0);var r=Qp.transition;Qp.transition={};try{e(!1),t()}finally{we=n,Qp.transition=r}}function IP(){return En().memoizedState}function qO(e,t,n){var r=yi(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$P(e))LP(t,n);else if(n=dP(e,t,n,r),n!==null){var i=At();Fn(n,e,r,i),jP(n,t,r)}}function KO(e,t,n){var r=yi(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($P(e))LP(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,Nn(a,o)){var l=t.interleaved;l===null?(i.next=i,I0(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=dP(e,t,i,r),n!==null&&(i=At(),Fn(n,e,r,i),jP(n,t,r))}}function $P(e){var t=e.alternate;return e===$e||t!==null&&t===$e}function LP(e,t){Ba=id=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function jP(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,x0(e,n)}}var sd={readContext:Sn,useCallback:bt,useContext:bt,useEffect:bt,useImperativeHandle:bt,useInsertionEffect:bt,useLayoutEffect:bt,useMemo:bt,useReducer:bt,useRef:bt,useState:bt,useDebugValue:bt,useDeferredValue:bt,useTransition:bt,useMutableSource:bt,useSyncExternalStore:bt,useId:bt,unstable_isNewReconciler:!1},QO={readContext:Sn,useCallback:function(e,t){return Bn().memoizedState=[e,t===void 0?null:t],e},useContext:Sn,useEffect:z1,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,yc(4194308,4,MP.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yc(4194308,4,e,t)},useInsertionEffect:function(e,t){return yc(4,2,e,t)},useMemo:function(e,t){var n=Bn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bn();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=qO.bind(null,$e,e),[r.memoizedState,e]},useRef:function(e){var t=Bn();return e={current:e},t.memoizedState=e},useState:N1,useDebugValue:B0,useDeferredValue:function(e){return Bn().memoizedState=e},useTransition:function(){var e=N1(!1),t=e[0];return e=GO.bind(null,e[1]),Bn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=$e,i=Bn();if(Re){if(n===void 0)throw Error(F(407));n=n()}else{if(n=t(),ot===null)throw Error(F(349));vs&30||wP(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,z1(SP.bind(null,r,s,e),[e]),r.flags|=2048,bl(9,bP.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Bn(),t=ot.identifierPrefix;if(Re){var n=hr,r=pr;n=(r&~(1<<32-Dn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=xl++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Xn]=t,e[gl]=r,UP(e,t,!1,!1),t.stateNode=e;e:{switch(o=fm(n,r),n){case"dialog":ke("cancel",e),ke("close",e),i=r;break;case"iframe":case"object":case"embed":ke("load",e),i=r;break;case"video":case"audio":for(i=0;iFo&&(t.flags|=128,r=!0,ma(s,!1),t.lanes=4194304)}else{if(!r)if(e=rd(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ma(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!Re)return St(t),null}else 2*Ue()-s.renderingStartTime>Fo&&n!==1073741824&&(t.flags|=128,r=!0,ma(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ue(),t.sibling=null,n=Ae.current,Ce(Ae,r?n&1|2:n&1),t):(St(t),null);case 22:case 23:return qv(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Wt&1073741824&&(St(t),t.subtreeFlags&6&&(t.flags|=8192)):St(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function nR(e,t){switch(kv(t),t.tag){case 1:return zt(t.type)&&Yc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jo(),Me(Nt),Me(Mt),jv(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Lv(t),null;case 13:if(Me(Ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));$o()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me(Ae),null;case 4:return jo(),null;case 10:return Rv(t.type._context),null;case 22:case 23:return qv(),null;case 24:return null;default:return null}}var Ku=!1,Tt=!1,rR=typeof WeakSet=="function"?WeakSet:Set,G=null;function Ys(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ve(e,t,r)}else n.current=null}function Nm(e,t,n){try{n()}catch(r){Ve(e,t,r)}}var q1=!1;function iR(e,t){if(Sm=Gc,e=QE(),Cv(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=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=o+i),d!==s||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===i&&(a=o),f===s&&++c===r&&(l=o),(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(Em={focusedElem:e,selectionRange:n},Gc=!1,G=t;G!==null;)if(t=G,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,G=e;else for(;G!==null;){t=G;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:Rn(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){Ve(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,G=e;break}G=t.return}return h=q1,q1=!1,h}function Ua(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 s=i.destroy;i.destroy=void 0,s!==void 0&&Nm(t,n,s)}i=i.next}while(i!==r)}}function rf(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 zm(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[Xn],delete t[gl],delete t[Tm],delete t[zO],delete t[VO])),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 qP(e){return e.tag===5||e.tag===3||e.tag===4}function K1(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qP(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 Vm(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=Qc));else if(r!==4&&(e=e.child,e!==null))for(Vm(e,t,n),e=e.sibling;e!==null;)Vm(e,t,n),e=e.sibling}function Bm(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(Bm(e,t,n),e=e.sibling;e!==null;)Bm(e,t,n),e=e.sibling}var dt=null,In=!1;function Lr(e,t,n){for(n=n.child;n!==null;)KP(e,t,n),n=n.sibling}function KP(e,t,n){if(Jn&&typeof Jn.onCommitFiberUnmount=="function")try{Jn.onCommitFiberUnmount(Qd,n)}catch{}switch(n.tag){case 5:Tt||Ys(n,t);case 6:var r=dt,i=In;dt=null,Lr(e,t,n),dt=r,In=i,dt!==null&&(In?(e=dt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):dt.removeChild(n.stateNode));break;case 18:dt!==null&&(In?(e=dt,n=n.stateNode,e.nodeType===8?Gp(e.parentNode,n):e.nodeType===1&&Gp(e,n),dl(e)):Gp(dt,n.stateNode));break;case 4:r=dt,i=In,dt=n.stateNode.containerInfo,In=!0,Lr(e,t,n),dt=r,In=i;break;case 0:case 11:case 14:case 15:if(!Tt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Nm(n,t,o),i=i.next}while(i!==r)}Lr(e,t,n);break;case 1:if(!Tt&&(Ys(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ve(n,t,a)}Lr(e,t,n);break;case 21:Lr(e,t,n);break;case 22:n.mode&1?(Tt=(r=Tt)||n.memoizedState!==null,Lr(e,t,n),Tt=r):Lr(e,t,n);break;default:Lr(e,t,n)}}function Q1(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new rR),t.forEach(function(r){var i=pR.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=o),r&=~s}if(r=i,r=Ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*oR(r/1960))-r,10e?16:e,oi===null)var r=!1;else{if(e=oi,oi=null,ld=0,pe&6)throw Error(F(331));var i=pe;for(pe|=4,G=e.current;G!==null;){var s=G,o=s.child;if(G.flags&16){var a=s.deletions;if(a!==null){for(var l=0;lUe()-Hv?cs(e,0):Wv|=n),Vt(e,t)}function nC(e,t){t===0&&(e.mode&1?(t=Nu,Nu<<=1,!(Nu&130023424)&&(Nu=4194304)):t=1);var n=At();e=kr(e,t),e!==null&&(lu(e,t,n),Vt(e,n))}function fR(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),nC(e,n)}function pR(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),nC(e,n)}var rC;rC=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Nt.current)Ft=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ft=!1,eR(e,t,n);Ft=!!(e.flags&131072)}else Ft=!1,Re&&t.flags&1048576&&oP(t,Jc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;xc(e,t),e=t.pendingProps;var i=Io(t,Mt.current);uo(t,n),i=Fv(null,t,r,e,i,n);var s=Nv();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,zt(r)?(s=!0,Xc(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Iv(t),i.updater=tf,t.stateNode=i,i._reactInternals=t,Am(t,r,e,n),t=Lm(null,t,r,!0,s,n)):(t.tag=0,Re&&s&&Tv(t),Rt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(xc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=mR(r),e=Rn(r,e),i){case 0:t=$m(null,t,r,e,n);break e;case 1:t=W1(null,t,r,e,n);break e;case 11:t=B1(null,t,r,e,n);break e;case 14:t=U1(null,t,r,Rn(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:Rn(r,i),$m(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),W1(e,t,r,i,n);case 3:e:{if(zP(t),e===null)throw Error(F(387));r=t.pendingProps,s=t.memoizedState,i=s.element,cP(e,t),nd(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Do(Error(F(423)),t),t=H1(e,t,r,n,i);break e}else if(r!==i){i=Do(Error(F(424)),t),t=H1(e,t,r,n,i);break e}else for(qt=mi(t.stateNode.containerInfo.firstChild),Qt=t,Re=!0,$n=null,n=hP(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if($o(),r===i){t=Mr(e,t,n);break e}Rt(e,t,r,n)}t=t.child}return t;case 5:return mP(t),e===null&&_m(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Pm(r,i)?o=null:s!==null&&Pm(r,s)&&(t.flags|=32),NP(e,t),Rt(e,t,o,n),t.child;case 6:return e===null&&_m(t),null;case 13:return VP(e,t,n);case 4:return $v(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Lo(t,null,r,n):Rt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),B1(e,t,r,i,n);case 7:return Rt(e,t,t.pendingProps,n),t.child;case 8:return Rt(e,t,t.pendingProps.children,n),t.child;case 12:return Rt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,Ce(ed,r._currentValue),r._currentValue=o,s!==null)if(Nn(s.value,o)){if(s.children===i.children&&!Nt.current){t=Mr(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=yr(-1,n&-n),l.tag=2;var u=s.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}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Om(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(F(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Om(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Rt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,uo(t,n),i=Sn(i),r=r(i),t.flags|=1,Rt(e,t,r,n),t.child;case 14:return r=t.type,i=Rn(r,t.pendingProps),i=Rn(r.type,i),U1(e,t,r,i,n);case 15:return DP(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),xc(e,t),t.tag=1,zt(r)?(e=!0,Xc(t)):e=!1,uo(t,n),fP(t,r,i),Am(t,r,i,n),Lm(null,t,r,!0,e,n);case 19:return BP(e,t,n);case 22:return FP(e,t,n)}throw Error(F(156,t.tag))};function iC(e,t){return OE(e,t)}function hR(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 yn(e,t,n,r){return new hR(e,t,n,r)}function Qv(e){return e=e.prototype,!(!e||!e.isReactComponent)}function mR(e){if(typeof e=="function")return Qv(e)?1:0;if(e!=null){if(e=e.$$typeof,e===hv)return 11;if(e===mv)return 14}return 2}function xi(e,t){var n=e.alternate;return n===null?(n=yn(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 Sc(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Qv(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Vs:return ds(n.children,i,s,t);case pv:o=8,i|=8;break;case nm:return e=yn(12,n,t,i|2),e.elementType=nm,e.lanes=s,e;case rm:return e=yn(13,n,t,i),e.elementType=rm,e.lanes=s,e;case im:return e=yn(19,n,t,i),e.elementType=im,e.lanes=s,e;case pE:return of(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case dE:o=10;break e;case fE:o=9;break e;case hv:o=11;break e;case mv:o=14;break e;case qr:o=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=yn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function ds(e,t,n,r){return e=yn(7,e,r,t),e.lanes=n,e}function of(e,t,n,r){return e=yn(22,e,r,t),e.elementType=pE,e.lanes=n,e.stateNode={isHidden:!1},e}function eh(e,t,n){return e=yn(6,e,null,t),e.lanes=n,e}function th(e,t,n){return t=yn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function gR(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=Lp(0),this.expirationTimes=Lp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lp(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Yv(e,t,n,r,i,s,o,a,l){return e=new gR(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=yn(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Iv(s),e}function vR(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(lC)}catch(e){console.error(e)}}lC(),oE.exports=Jt;var df=oE.exports;const Xu=QS(df);var rx=df;em.createRoot=rx.createRoot,em.hydrateRoot=rx.hydrateRoot;/** +`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Zp(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function $m(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var ZO=typeof WeakMap=="function"?WeakMap:Map;function DP(e,t,n){n=yr(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ad||(ad=!0,Wm=r),$m(e,t)},n}function FP(e,t,n){n=yr(-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(){$m(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){$m(e,t),typeof r!="function"&&(vi===null?vi=new Set([this]):vi.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function V1(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ZO;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=fR.bind(null,e,t,n),t.then(e,e))}function B1(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 U1(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=yr(-1,1),t.tag=2,gi(n,t,1))),n.lanes|=1),e)}var JO=Ar.ReactCurrentOwner,Ft=!1;function Rt(e,t,n,r){t.child=e===null?gP(t,null,n,r):jo(t,e.child,n,r)}function W1(e,t,n,r,i){n=n.render;var s=t.ref;return co(t,i),r=N0(e,t,n,r,s,i),n=z0(),e!==null&&!Ft?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Mr(e,t,i)):(Re&&n&&k0(t),t.flags|=1,Rt(e,t,r,i),t.child)}function H1(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Y0(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,NP(e,t,s,r,i)):(e=Sc(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:pl,n(o,r)&&e.ref===t.ref)return Mr(e,t,i)}return t.flags|=1,e=xi(s,r),e.ref=t.ref,e.return=t,t.child=e}function NP(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(pl(s,r)&&e.ref===t.ref)if(Ft=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(Ft=!0);else return t.lanes=e.lanes,Mr(e,t,i)}return Lm(e,t,n,r,i)}function zP(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ce(Zs,Wt),Wt|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ce(Zs,Wt),Wt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,Ce(Zs,Wt),Wt|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,Ce(Zs,Wt),Wt|=r;return Rt(e,t,i,n),t.child}function VP(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Lm(e,t,n,r,i){var s=zt(n)?ms:Mt.current;return s=$o(t,s),co(t,i),n=N0(e,t,n,r,s,i),r=z0(),e!==null&&!Ft?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Mr(e,t,i)):(Re&&r&&k0(t),t.flags|=1,Rt(e,t,n,i),t.child)}function G1(e,t,n,r,i){if(zt(n)){var s=!0;Xc(t)}else s=!1;if(co(t,i),t.stateNode===null)xc(e,t),hP(t,n,r),Im(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=Sn(u):(u=zt(n)?ms:Mt.current,u=$o(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&D1(t,o,r,u),Kr=!1;var f=t.memoizedState;o.state=f,nd(t,r,o,i),l=t.memoizedState,a!==r||f!==l||Nt.current||Kr?(typeof c=="function"&&(Am(t,n,c,r),l=t.memoizedState),(a=Kr||j1(t,n,a,r,f,l,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,fP(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Rn(t.type,a),o.props=u,d=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=Sn(l):(l=zt(n)?ms:Mt.current,l=$o(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==d||f!==l)&&D1(t,o,r,l),Kr=!1,f=t.memoizedState,o.state=f,nd(t,r,o,i);var h=t.memoizedState;a!==d||f!==h||Nt.current||Kr?(typeof p=="function"&&(Am(t,n,p,r),h=t.memoizedState),(u=Kr||j1(t,n,u,r,f,h,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,h,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,h,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return jm(e,t,n,r,s,i)}function jm(e,t,n,r,i,s){VP(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&R1(t,n,!1),Mr(e,t,s);r=t.stateNode,JO.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=jo(t,e.child,null,s),t.child=jo(t,null,a,s)):Rt(e,t,a,s),t.memoizedState=r.state,i&&R1(t,n,!0),t.child}function BP(e){var t=e.stateNode;t.pendingContext?O1(e,t.pendingContext,t.pendingContext!==t.context):t.context&&O1(e,t.context,!1),L0(e,t.containerInfo)}function q1(e,t,n,r,i){return Lo(),_0(i),t.flags|=256,Rt(e,t,n,r),t.child}var Dm={dehydrated:null,treeContext:null,retryLane:0};function Fm(e){return{baseLanes:e,cachePool:null,transitions:null}}function UP(e,t,n){var r=t.pendingProps,i=Ae.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Ce(Ae,i&1),e===null)return Om(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):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=of(o,r,0,null),e=ds(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fm(n),t.memoizedState=Dm,e):U0(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return eR(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=xi(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=xi(a,s):(s=ds(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?Fm(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Dm,r}return s=e.child,e=s.sibling,r=xi(s,{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 U0(e,t){return t=of({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function qu(e,t,n,r){return r!==null&&_0(r),jo(t,e.child,null,n),e=U0(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function eR(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=Zp(Error(F(422))),qu(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=of({mode:"visible",children:r.children},i,0,null),s=ds(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&jo(t,e.child,null,o),t.child.memoizedState=Fm(o),t.memoizedState=Dm,s);if(!(t.mode&1))return qu(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(F(419)),r=Zp(s,r,void 0),qu(e,t,o,r)}if(a=(o&e.childLanes)!==0,Ft||a){if(r=ot,r!==null){switch(o&-o){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|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,kr(e,i),Fn(r,e,i,-1))}return Q0(),r=Zp(Error(F(421))),qu(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=pR.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,qt=mi(i.nextSibling),Qt=t,Re=!0,$n=null,e!==null&&(pn[hn++]=pr,pn[hn++]=hr,pn[hn++]=gs,pr=e.id,hr=e.overflow,gs=t),t=U0(t,r.children),t.flags|=4096,t)}function K1(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Rm(e.return,t,n)}function Jp(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function WP(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Rt(e,t,r.children,n),r=Ae.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&&K1(e,n,t);else if(e.tag===19)K1(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(Ce(Ae,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&&rd(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Jp(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&rd(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Jp(t,!0,n,null,s);break;case"together":Jp(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function xc(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Mr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ys|=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=xi(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=xi(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function tR(e,t,n){switch(t.tag){case 3:BP(t),Lo();break;case 5:vP(t);break;case 1:zt(t.type)&&Xc(t);break;case 4:L0(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Ce(ed,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Ce(Ae,Ae.current&1),t.flags|=128,null):n&t.child.childLanes?UP(e,t,n):(Ce(Ae,Ae.current&1),e=Mr(e,t,n),e!==null?e.sibling:null);Ce(Ae,Ae.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return WP(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Ce(Ae,Ae.current),r)break;return null;case 22:case 23:return t.lanes=0,zP(e,t,n)}return Mr(e,t,n)}var HP,Nm,GP,qP;HP=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}};Nm=function(){};GP=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Xi(er.current);var s=null;switch(n){case"input":i=am(e,i),r=am(e,r),s=[];break;case"select":i=Le({},i,{value:void 0}),r=Le({},r,{value:void 0}),s=[];break;case"textarea":i=cm(e,i),r=cm(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Qc)}fm(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ol.hasOwnProperty(u)?s||(s=[]):(s=s||[]).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(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ol.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ke("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};qP=function(e,t,n,r){n!==r&&(t.flags|=4)};function ga(e,t){if(!Re)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 St(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 nR(e,t,n){var r=t.pendingProps;switch(M0(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return St(t),null;case 1:return zt(t.type)&&Yc(),St(t),null;case 3:return r=t.stateNode,Do(),Me(Nt),Me(Mt),D0(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Hu(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,$n!==null&&(qm($n),$n=null))),Nm(e,t),St(t),null;case 5:j0(t);var i=Xi(yl.current);if(n=t.type,e!==null&&t.stateNode!=null)GP(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 St(t),null}if(e=Xi(er.current),Hu(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Xn]=t,r[gl]=s,e=(t.mode&1)!==0,n){case"dialog":ke("cancel",r),ke("close",r);break;case"iframe":case"object":case"embed":ke("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Xn]=t,e[gl]=r,HP(e,t,!1,!1),t.stateNode=e;e:{switch(o=pm(n,r),n){case"dialog":ke("cancel",e),ke("close",e),i=r;break;case"iframe":case"object":case"embed":ke("load",e),i=r;break;case"video":case"audio":for(i=0;iNo&&(t.flags|=128,r=!0,ga(s,!1),t.lanes=4194304)}else{if(!r)if(e=rd(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ga(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!Re)return St(t),null}else 2*Ue()-s.renderingStartTime>No&&n!==1073741824&&(t.flags|=128,r=!0,ga(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=Ue(),t.sibling=null,n=Ae.current,Ce(Ae,r?n&1|2:n&1),t):(St(t),null);case 22:case 23:return K0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Wt&1073741824&&(St(t),t.subtreeFlags&6&&(t.flags|=8192)):St(t),null;case 24:return null;case 25:return null}throw Error(F(156,t.tag))}function rR(e,t){switch(M0(t),t.tag){case 1:return zt(t.type)&&Yc(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Do(),Me(Nt),Me(Mt),D0(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return j0(t),null;case 13:if(Me(Ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(F(340));Lo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me(Ae),null;case 4:return Do(),null;case 10:return A0(t.type._context),null;case 22:case 23:return K0(),null;case 24:return null;default:return null}}var Ku=!1,Tt=!1,iR=typeof WeakSet=="function"?WeakSet:Set,G=null;function Xs(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ve(e,t,r)}else n.current=null}function zm(e,t,n){try{n()}catch(r){Ve(e,t,r)}}var Q1=!1;function sR(e,t){if(Em=Gc,e=XE(),T0(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,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=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=o+i),d!==s||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===i&&(a=o),f===s&&++c===r&&(l=o),(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(Pm={focusedElem:e,selectionRange:n},Gc=!1,G=t;G!==null;)if(t=G,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,G=e;else for(;G!==null;){t=G;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:Rn(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){Ve(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,G=e;break}G=t.return}return h=Q1,Q1=!1,h}function Ua(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 s=i.destroy;i.destroy=void 0,s!==void 0&&zm(t,n,s)}i=i.next}while(i!==r)}}function rf(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 Vm(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 KP(e){var t=e.alternate;t!==null&&(e.alternate=null,KP(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xn],delete t[gl],delete t[km],delete t[VO],delete t[BO])),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 QP(e){return e.tag===5||e.tag===3||e.tag===4}function Y1(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||QP(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 Bm(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=Qc));else if(r!==4&&(e=e.child,e!==null))for(Bm(e,t,n),e=e.sibling;e!==null;)Bm(e,t,n),e=e.sibling}function Um(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(Um(e,t,n),e=e.sibling;e!==null;)Um(e,t,n),e=e.sibling}var dt=null,In=!1;function Lr(e,t,n){for(n=n.child;n!==null;)YP(e,t,n),n=n.sibling}function YP(e,t,n){if(Jn&&typeof Jn.onCommitFiberUnmount=="function")try{Jn.onCommitFiberUnmount(Qd,n)}catch{}switch(n.tag){case 5:Tt||Xs(n,t);case 6:var r=dt,i=In;dt=null,Lr(e,t,n),dt=r,In=i,dt!==null&&(In?(e=dt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):dt.removeChild(n.stateNode));break;case 18:dt!==null&&(In?(e=dt,n=n.stateNode,e.nodeType===8?Gp(e.parentNode,n):e.nodeType===1&&Gp(e,n),dl(e)):Gp(dt,n.stateNode));break;case 4:r=dt,i=In,dt=n.stateNode.containerInfo,In=!0,Lr(e,t,n),dt=r,In=i;break;case 0:case 11:case 14:case 15:if(!Tt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&zm(n,t,o),i=i.next}while(i!==r)}Lr(e,t,n);break;case 1:if(!Tt&&(Xs(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){Ve(n,t,a)}Lr(e,t,n);break;case 21:Lr(e,t,n);break;case 22:n.mode&1?(Tt=(r=Tt)||n.memoizedState!==null,Lr(e,t,n),Tt=r):Lr(e,t,n);break;default:Lr(e,t,n)}}function X1(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new iR),t.forEach(function(r){var i=hR.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=o),r&=~s}if(r=i,r=Ue()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*aR(r/1960))-r,10e?16:e,oi===null)var r=!1;else{if(e=oi,oi=null,ld=0,he&6)throw Error(F(331));var i=he;for(he|=4,G=e.current;G!==null;){var s=G,o=s.child;if(G.flags&16){var a=s.deletions;if(a!==null){for(var l=0;lUe()-G0?cs(e,0):H0|=n),Vt(e,t)}function iC(e,t){t===0&&(e.mode&1?(t=Nu,Nu<<=1,!(Nu&130023424)&&(Nu=4194304)):t=1);var n=At();e=kr(e,t),e!==null&&(lu(e,t,n),Vt(e,n))}function pR(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),iC(e,n)}function hR(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),iC(e,n)}var sC;sC=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Nt.current)Ft=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ft=!1,tR(e,t,n);Ft=!!(e.flags&131072)}else Ft=!1,Re&&t.flags&1048576&&lP(t,Jc,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;xc(e,t),e=t.pendingProps;var i=$o(t,Mt.current);co(t,n),i=N0(null,t,r,e,i,n);var s=z0();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,zt(r)?(s=!0,Xc(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,$0(t),i.updater=tf,t.stateNode=i,i._reactInternals=t,Im(t,r,e,n),t=jm(null,t,r,!0,s,n)):(t.tag=0,Re&&s&&k0(t),Rt(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(xc(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=gR(r),e=Rn(r,e),i){case 0:t=Lm(null,t,r,e,n);break e;case 1:t=G1(null,t,r,e,n);break e;case 11:t=W1(null,t,r,e,n);break e;case 14:t=H1(null,t,r,Rn(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:Rn(r,i),Lm(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),G1(e,t,r,i,n);case 3:e:{if(BP(t),e===null)throw Error(F(387));r=t.pendingProps,s=t.memoizedState,i=s.element,fP(e,t),nd(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Fo(Error(F(423)),t),t=q1(e,t,r,n,i);break e}else if(r!==i){i=Fo(Error(F(424)),t),t=q1(e,t,r,n,i);break e}else for(qt=mi(t.stateNode.containerInfo.firstChild),Qt=t,Re=!0,$n=null,n=gP(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Lo(),r===i){t=Mr(e,t,n);break e}Rt(e,t,r,n)}t=t.child}return t;case 5:return vP(t),e===null&&Om(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Cm(r,i)?o=null:s!==null&&Cm(r,s)&&(t.flags|=32),VP(e,t),Rt(e,t,o,n),t.child;case 6:return e===null&&Om(t),null;case 13:return UP(e,t,n);case 4:return L0(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=jo(t,null,r,n):Rt(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),W1(e,t,r,i,n);case 7:return Rt(e,t,t.pendingProps,n),t.child;case 8:return Rt(e,t,t.pendingProps.children,n),t.child;case 12:return Rt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,Ce(ed,r._currentValue),r._currentValue=o,s!==null)if(Nn(s.value,o)){if(s.children===i.children&&!Nt.current){t=Mr(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=yr(-1,n&-n),l.tag=2;var u=s.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}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Rm(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(F(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Rm(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Rt(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,co(t,n),i=Sn(i),r=r(i),t.flags|=1,Rt(e,t,r,n),t.child;case 14:return r=t.type,i=Rn(r,t.pendingProps),i=Rn(r.type,i),H1(e,t,r,i,n);case 15:return NP(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Rn(r,i),xc(e,t),t.tag=1,zt(r)?(e=!0,Xc(t)):e=!1,co(t,n),hP(t,r,i),Im(t,r,i,n),jm(null,t,r,!0,e,n);case 19:return WP(e,t,n);case 22:return zP(e,t,n)}throw Error(F(156,t.tag))};function oC(e,t){return AE(e,t)}function mR(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 yn(e,t,n,r){return new mR(e,t,n,r)}function Y0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gR(e){if(typeof e=="function")return Y0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===m0)return 11;if(e===g0)return 14}return 2}function xi(e,t){var n=e.alternate;return n===null?(n=yn(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 Sc(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Y0(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Bs:return ds(n.children,i,s,t);case h0:o=8,i|=8;break;case rm:return e=yn(12,n,t,i|2),e.elementType=rm,e.lanes=s,e;case im:return e=yn(13,n,t,i),e.elementType=im,e.lanes=s,e;case sm:return e=yn(19,n,t,i),e.elementType=sm,e.lanes=s,e;case mE:return of(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pE:o=10;break e;case hE:o=9;break e;case m0:o=11;break e;case g0:o=14;break e;case qr:o=16,r=null;break e}throw Error(F(130,e==null?e:typeof e,""))}return t=yn(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function ds(e,t,n,r){return e=yn(7,e,r,t),e.lanes=n,e}function of(e,t,n,r){return e=yn(22,e,r,t),e.elementType=mE,e.lanes=n,e.stateNode={isHidden:!1},e}function eh(e,t,n){return e=yn(6,e,null,t),e.lanes=n,e}function th(e,t,n){return t=yn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function vR(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=Lp(0),this.expirationTimes=Lp(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lp(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function X0(e,t,n,r,i,s,o,a,l){return e=new vR(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=yn(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},$0(s),e}function yR(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cC)}catch(e){console.error(e)}}cC(),lE.exports=Jt;var df=lE.exports;const Xu=XS(df);var sx=df;tm.createRoot=sx.createRoot,tm.hydrateRoot=sx.hydrateRoot;/** * @remix-run/router v1.15.3 * * Copyright (c) Remix Software Inc. @@ -52,7 +52,7 @@ Error generating stack: `+s.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function El(){return El=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function uC(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ER(){return Math.random().toString(36).substr(2,8)}function sx(e,t){return{usr:e.state,key:e.key,idx:t}}function qm(e,t,n,r){return n===void 0&&(n=null),El({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Yo(t):t,{state:n,key:t&&t.key||r||ER()})}function cC(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 Yo(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 PR(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=ai.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(El({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=ai.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=ai.Push;let y=qm(m.location,x,g);n&&n(y,x),u=c()+1;let v=sx(y,u),w=m.createHref(y);try{o.pushState(v,"",w)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(w)}s&&l&&l({action:a,location:m.location,delta:1})}function p(x,g){a=ai.Replace;let y=qm(m.location,x,g);n&&n(y,x),u=c();let v=sx(y,u),w=m.createHref(y);o.replaceState(v,"",w),s&&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:cC(x);return y=y.replace(/ $/,"%20"),Je(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,o)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(ix,d),l=x,()=>{i.removeEventListener(ix,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 o.go(x)}};return m}var ox;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ox||(ox={}));function CR(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Yo(t):t,i=pC(r.pathname||"/",n);if(i==null)return null;let s=dC(e);TR(s);let o=null;for(let a=0;o==null&&a{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(Je(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=fs([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(Je(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),dC(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:IR(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of fC(s.path))i(s,o,l)}),t}function fC(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=fC(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function TR(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:$R(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const kR=/^:[\w-]+$/,MR=3,_R=2,OR=1,RR=10,AR=-2,ax=e=>e==="*";function IR(e,t){let n=e.split("/"),r=n.length;return n.some(ax)&&(r+=AR),t&&(r+=_R),n.filter(i=>!ax(i)).reduce((i,s)=>i+(kR.test(s)?MR:s===""?OR:RR),r)}function $R(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 LR(e,t){let{routesMeta:n}=e,r={},i="/",s=[];for(let o=0;o{let{paramName:f,isOptional:p}=c;if(f==="*"){let m=a[d]||"";o=s.slice(0,s.length-m.length).replace(/(.)\/+$/,"$1")}const h=a[d];return p&&!h?u[f]=void 0:u[f]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function DR(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),uC(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,(o,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 FR(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return uC(!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 pC(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 NR(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Yo(e):e;return{pathname:n?n.startsWith("/")?n:zR(n,t):t,search:HR(r),hash:GR(i)}}function zR(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 nh(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 VR(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function BR(e,t){let n=VR(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function UR(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Yo(e):(i=El({},e),Je(!i.pathname||!i.pathname.includes("?"),nh("?","pathname","search",i)),Je(!i.pathname||!i.pathname.includes("#"),nh("#","pathname","hash",i)),Je(!i.search||!i.search.includes("#"),nh("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=NR(i,a),u=o&&o!=="/"&&o.endsWith("/"),c=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const fs=e=>e.join("/").replace(/\/\/+/g,"/"),WR=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),HR=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,GR=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function qR(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const hC=["post","put","patch","delete"];new Set(hC);const KR=["get",...hC];new Set(KR);/** + */function El(){return El=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function dC(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function PR(){return Math.random().toString(36).substr(2,8)}function ax(e,t){return{usr:e.state,key:e.key,idx:t}}function Km(e,t,n,r){return n===void 0&&(n=null),El({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Xo(t):t,{state:n,key:t&&t.key||r||PR()})}function fC(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 Xo(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 CR(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=ai.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(El({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=ai.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=ai.Push;let y=Km(m.location,x,g);n&&n(y,x),u=c()+1;let v=ax(y,u),w=m.createHref(y);try{o.pushState(v,"",w)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;i.location.assign(w)}s&&l&&l({action:a,location:m.location,delta:1})}function p(x,g){a=ai.Replace;let y=Km(m.location,x,g);n&&n(y,x),u=c();let v=ax(y,u),w=m.createHref(y);o.replaceState(v,"",w),s&&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:fC(x);return y=y.replace(/ $/,"%20"),Je(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,o)},listen(x){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(ox,d),l=x,()=>{i.removeEventListener(ox,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 o.go(x)}};return m}var lx;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(lx||(lx={}));function TR(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?Xo(t):t,i=mC(r.pathname||"/",n);if(i==null)return null;let s=pC(e);kR(s);let o=null;for(let a=0;o==null&&a{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(Je(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=fs([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(Je(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),pC(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:$R(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of hC(s.path))i(s,o,l)}),t}function hC(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=hC(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function kR(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:LR(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const MR=/^:[\w-]+$/,_R=3,OR=2,RR=1,AR=10,IR=-2,ux=e=>e==="*";function $R(e,t){let n=e.split("/"),r=n.length;return n.some(ux)&&(r+=IR),t&&(r+=OR),n.filter(i=>!ux(i)).reduce((i,s)=>i+(MR.test(s)?_R:s===""?RR:AR),r)}function LR(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 jR(e,t){let{routesMeta:n}=e,r={},i="/",s=[];for(let o=0;o{let{paramName:f,isOptional:p}=c;if(f==="*"){let m=a[d]||"";o=s.slice(0,s.length-m.length).replace(/(.)\/+$/,"$1")}const h=a[d];return p&&!h?u[f]=void 0:u[f]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function FR(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),dC(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,(o,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 NR(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return dC(!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 mC(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 zR(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Xo(e):e;return{pathname:n?n.startsWith("/")?n:VR(n,t):t,search:GR(r),hash:qR(i)}}function VR(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 nh(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 BR(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function UR(e,t){let n=BR(e);return t?n.map((r,i)=>i===e.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function WR(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Xo(e):(i=El({},e),Je(!i.pathname||!i.pathname.includes("?"),nh("?","pathname","search",i)),Je(!i.pathname||!i.pathname.includes("#"),nh("#","pathname","hash",i)),Je(!i.search||!i.search.includes("#"),nh("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=zR(i,a),u=o&&o!=="/"&&o.endsWith("/"),c=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const fs=e=>e.join("/").replace(/\/\/+/g,"/"),HR=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),GR=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,qR=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function KR(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const gC=["post","put","patch","delete"];new Set(gC);const QR=["get",...gC];new Set(QR);/** * React Router v6.22.3 * * Copyright (c) Remix Software Inc. @@ -61,7 +61,7 @@ Error generating stack: `+s.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Pl(){return Pl=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=UR(u,JSON.parse(o),s,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:fs([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,o,s,e])}const XR=b.createContext(null);function ZR(e){let t=b.useContext(Li).outlet;return t&&b.createElement(XR.Provider,{value:e},t)}function JR(){let{matches:e}=b.useContext(Li),t=e[e.length-1];return t?t.params:{}}function e5(e,t){return t5(e,t)}function t5(e,t,n,r){hf()||Je(!1);let{navigator:i}=b.useContext(ff),{matches:s}=b.useContext(Li),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=gC(),c;if(t){var d;let x=typeof t=="string"?Yo(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||Je(!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=CR(e,{pathname:p}),m=o5(h&&h.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:fs([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:fs([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),s,n,r);return t&&m?b.createElement(pf.Provider,{value:{location:Pl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:ai.Pop}},m):m}function n5(){let e=c5(),t=qR(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 r5=b.createElement(n5,null);class i5 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(Li.Provider,{value:this.props.routeContext},b.createElement(mC.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function s5(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(e0);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Li.Provider,{value:t},r)}function o5(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if((s=n)!=null&&s.errors)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id]));c>=0||Je(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.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||r5,l&&(u<0&&f===0?(f5("route-fallback",!1),h=!0,x=null):u===f&&(h=!0,x=d.route.hydrateFallbackElement||null)));let g=t.concat(o.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(s5,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(i5,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var xC=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(xC||{}),dd=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}(dd||{});function a5(e){let t=b.useContext(e0);return t||Je(!1),t}function l5(e){let t=b.useContext(QR);return t||Je(!1),t}function u5(e){let t=b.useContext(Li);return t||Je(!1),t}function wC(e){let t=u5(),n=t.matches[t.matches.length-1];return n.route.id||Je(!1),n.route.id}function c5(){var e;let t=b.useContext(mC),n=l5(dd.UseRouteError),r=wC(dd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function d5(){let{router:e}=a5(xC.UseNavigateStable),t=wC(dd.UseNavigateStable),n=b.useRef(!1);return vC(()=>{n.current=!0}),b.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Pl({fromRouteId:t},s)))},[e,t])}const lx={};function f5(e,t,n){!t&&!lx[e]&&(lx[e]=!0)}function p5(e){return ZR(e.context)}function Ra(e){Je(!1)}function h5(e){let{basename:t="/",children:n=null,location:r,navigationType:i=ai.Pop,navigator:s,static:o=!1,future:a}=e;hf()&&Je(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:s,static:o,future:Pl({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=Yo(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:h="default"}=r,m=b.useMemo(()=>{let x=pC(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(ff.Provider,{value:u},b.createElement(pf.Provider,{children:n,value:m}))}function m5(e){let{children:t,location:n}=e;return e5(Km(t),n)}new Promise(()=>{});function Km(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let s=[...t,i];if(r.type===b.Fragment){n.push.apply(n,Km(r.props.children,s));return}r.type!==Ra&&Je(!1),!r.props.index||!r.props.children||Je(!1);let o={id:r.props.id||s.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&&(o.children=Km(r.props.children,s)),n.push(o)}),n}/** + */function Pl(){return Pl=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=WR(u,JSON.parse(o),s,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:fs([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,o,s,e])}const ZR=b.createContext(null);function JR(e){let t=b.useContext(Li).outlet;return t&&b.createElement(ZR.Provider,{value:e},t)}function e5(){let{matches:e}=b.useContext(Li),t=e[e.length-1];return t?t.params:{}}function t5(e,t){return n5(e,t)}function n5(e,t,n,r){hf()||Je(!1);let{navigator:i}=b.useContext(ff),{matches:s}=b.useContext(Li),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=yC(),c;if(t){var d;let x=typeof t=="string"?Xo(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||Je(!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=TR(e,{pathname:p}),m=a5(h&&h.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:fs([l,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:fs([l,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),s,n,r);return t&&m?b.createElement(pf.Provider,{value:{location:Pl({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:ai.Pop}},m):m}function r5(){let e=d5(),t=KR(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 i5=b.createElement(r5,null);class s5 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(Li.Provider,{value:this.props.routeContext},b.createElement(vC.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function o5(e){let{routeContext:t,match:n,children:r}=e,i=b.useContext(tv);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Li.Provider,{value:t},r)}function a5(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if((s=n)!=null&&s.errors)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id]));c>=0||Je(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.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||i5,l&&(u<0&&f===0?(p5("route-fallback",!1),h=!0,x=null):u===f&&(h=!0,x=d.route.hydrateFallbackElement||null)));let g=t.concat(o.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(o5,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?b.createElement(s5,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:y(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):y()},null)}var wC=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(wC||{}),dd=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}(dd||{});function l5(e){let t=b.useContext(tv);return t||Je(!1),t}function u5(e){let t=b.useContext(YR);return t||Je(!1),t}function c5(e){let t=b.useContext(Li);return t||Je(!1),t}function bC(e){let t=c5(),n=t.matches[t.matches.length-1];return n.route.id||Je(!1),n.route.id}function d5(){var e;let t=b.useContext(vC),n=u5(dd.UseRouteError),r=bC(dd.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function f5(){let{router:e}=l5(wC.UseNavigateStable),t=bC(dd.UseNavigateStable),n=b.useRef(!1);return xC(()=>{n.current=!0}),b.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Pl({fromRouteId:t},s)))},[e,t])}const cx={};function p5(e,t,n){!t&&!cx[e]&&(cx[e]=!0)}function h5(e){return JR(e.context)}function Ns(e){Je(!1)}function m5(e){let{basename:t="/",children:n=null,location:r,navigationType:i=ai.Pop,navigator:s,static:o=!1,future:a}=e;hf()&&Je(!1);let l=t.replace(/^\/*/,"/"),u=b.useMemo(()=>({basename:l,navigator:s,static:o,future:Pl({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=Xo(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:h="default"}=r,m=b.useMemo(()=>{let x=mC(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(ff.Provider,{value:u},b.createElement(pf.Provider,{children:n,value:m}))}function g5(e){let{children:t,location:n}=e;return t5(Qm(t),n)}new Promise(()=>{});function Qm(e,t){t===void 0&&(t=[]);let n=[];return b.Children.forEach(e,(r,i)=>{if(!b.isValidElement(r))return;let s=[...t,i];if(r.type===b.Fragment){n.push.apply(n,Qm(r.props.children,s));return}r.type!==Ns&&Je(!1),!r.props.index||!r.props.children||Je(!1);let o={id:r.props.id||s.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&&(o.children=Qm(r.props.children,s)),n.push(o)}),n}/** * React Router DOM v6.22.3 * * Copyright (c) Remix Software Inc. @@ -70,7 +70,7 @@ Error generating stack: `+s.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */const g5="6";try{window.__reactRouterVersion=g5}catch{}const v5="startTransition",ux=zc[v5];function y5(e){let{basename:t,children:n,future:r,window:i}=e,s=b.useRef();s.current==null&&(s.current=SR({window:i,v5Compat:!0}));let o=s.current,[a,l]=b.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=b.useCallback(d=>{u&&ux?ux(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>o.listen(c),[o,c]),b.createElement(h5,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}var cx;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(cx||(cx={}));var dx;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(dx||(dx={}));function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=bC(e[n])}),t}function tr(e,t,n={clone:!0}){const r=n.clone?A({},e):e;return Zr(e)&&Zr(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Zr(t[i])&&i in e&&Zr(e[i])?r[i]=tr(e[i],t[i],n):n.clone?r[i]=Zr(t[i])?bC(t[i]):t[i]:r[i]=t[i])}),r}const x5=Object.freeze(Object.defineProperty({__proto__:null,default:tr,isPlainObject:Zr},Symbol.toStringTag,{value:"Module"}));function Cl(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n{u&&dx?dx(()=>l(d)):l(d)},[l,u]);return b.useLayoutEffect(()=>o.listen(c),[o,c]),b.createElement(m5,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}var fx;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(fx||(fx={}));var px;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(px||(px={}));function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=SC(e[n])}),t}function tr(e,t,n={clone:!0}){const r=n.clone?A({},e):e;return Zr(e)&&Zr(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(Zr(t[i])&&i in e&&Zr(e[i])?r[i]=tr(e[i],t[i],n):n.clone?r[i]=Zr(t[i])?SC(t[i]):t[i]:r[i]=t[i])}),r}const w5=Object.freeze(Object.defineProperty({__proto__:null,default:tr,isPlainObject:Zr},Symbol.toStringTag,{value:"Module"}));function Cl(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 TC(e,t=166){let n;function r(...i){const s=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function k5(e,t){return()=>null}function M5(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 xr(e){return e&&e.ownerDocument||document}function Xo(e){return xr(e).defaultView||window}function _5(e,t){return()=>null}function fd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Tl=typeof window<"u"?b.useLayoutEffect:b.useEffect;let hx=0;function O5(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(hx+=1,n(`mui-${hx}`))},[t]),r}const mx=zc.useId;function R5(e){if(mx!==void 0){const t=mx();return e??t}return O5(e)}function A5(e,t,n,r,i){return null}function I5({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=b.useRef(e!==void 0),[s,o]=b.useState(t),a=i?e:s,l=b.useCallback(u=>{i||o(u)},[]);return[a,l]}function Zi(e){const t=b.useRef(e);return Tl(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function Pn(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{fd(n,t)})},e)}const gx={};function $5(e,t){const n=b.useRef(gx);return n.current===gx&&(n.current=e(t)),n}const L5=[];function j5(e){b.useEffect(e,L5)}class Cf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Cf}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function D5(){const e=$5(Cf.create).current;return j5(e.disposeEffect),e}let Tf=!0,Ym=!1;const F5=new Cf,N5={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 z5(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&N5[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function V5(e){e.metaKey||e.altKey||e.ctrlKey||(Tf=!0)}function rh(){Tf=!1}function B5(){this.visibilityState==="hidden"&&Ym&&(Tf=!0)}function U5(e){e.addEventListener("keydown",V5,!0),e.addEventListener("mousedown",rh,!0),e.addEventListener("pointerdown",rh,!0),e.addEventListener("touchstart",rh,!0),e.addEventListener("visibilitychange",B5,!0)}function W5(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Tf||z5(t)}function r0(){const e=b.useCallback(i=>{i!=null&&U5(i.ownerDocument)},[]),t=b.useRef(!1);function n(){return t.current?(Ym=!0,F5.start(100,()=>{Ym=!1}),t.current=!1,!0):!1}function r(i){return W5(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function H5(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function kC(e,t){const n=A({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=A({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},s=t[r];n[r]={},!s||!Object.keys(s)?n[r]=i:!i||!Object.keys(i)?n[r]=s:(n[r]=A({},s),Object.keys(i).forEach(o=>{n[r][o]=kC(i[o],s[o])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function vt(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((s,o)=>{if(o){const a=t(o);a!==""&&s.push(a),n&&n[o]&&s.push(n[o])}return s},[]).join(" ")}),r}const vx=e=>e,G5=()=>{let e=vx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=vx}}},q5=G5(),i0=q5,K5={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 at(e,t,n="Mui"){const r=K5[t];return r?`${n}-${r}`:`${i0.generate(e)}-${t}`}function et(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=at(e,i,n)}),r}function Q5(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const Y5=Object.freeze(Object.defineProperty({__proto__:null,default:Q5},Symbol.toStringTag,{value:"Module"}));function se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}function MC(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)=>A({},n,{[r.key]:r.val}),{})};function OC(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=se(e,X5),s=Z5(t),o=Object.keys(s);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=o.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[o[h]]=="number"?t[o[h]]:p)-r/100}${n})`}function c(f){return o.indexOf(f)+1`@media (min-width:${s0[e]}px)`};function _r(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||yx;return t.reduce((o,a,l)=>(o[s.up(s.keys[l])]=n(t[l]),o),{})}if(typeof t=="object"){const s=r.breakpoints||yx;return Object.keys(t).reduce((o,a)=>{if(Object.keys(s.values||s0).indexOf(a)!==-1){const l=s.up(a);o[l]=n(t[a],a)}else{const l=a;o[l]=t[l]}return o},{})}return n(t)}function tA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const s=e.up(i);return r[s]={},r},{}))||{}}function nA(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function No(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,s)=>i&&i[s]?i[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function pd(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=No(e,n)||r,t&&(i=t(i,r,e)),i}function He(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,s=o=>{if(o[t]==null)return null;const a=o[t],l=o.theme,u=No(l,r)||{};return _r(o,a,d=>{let f=pd(u,i,d);return d===f&&typeof d=="string"&&(f=pd(u,i,`${t}${d==="default"?"":Q(d)}`,d)),n===!1?f:{[n]:f}})};return s.propTypes={},s.filterProps=[t],s}function rA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const iA={m:"margin",p:"padding"},sA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},xx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},oA=rA(e=>{if(e.length>2)if(xx[e])e=xx[e];else return[e];const[t,n]=e.split(""),r=iA[t],i=sA[n]||"";return Array.isArray(i)?i.map(s=>r+s):[r+i]}),o0=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],a0=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...o0,...a0];function fu(e,t,n,r){var i;const s=(i=No(e,t,!1))!=null?i:n;return typeof s=="number"?o=>typeof o=="string"?o:s*o:Array.isArray(s)?o=>typeof o=="string"?o:s[o]:typeof s=="function"?s:()=>{}}function RC(e){return fu(e,"spacing",8)}function pu(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 aA(e,t){return n=>e.reduce((r,i)=>(r[i]=pu(t,n),r),{})}function lA(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=oA(n),s=aA(i,r),o=e[n];return _r(e,o,s)}function AC(e,t){const n=RC(e.theme);return Object.keys(e).map(r=>lA(e,t,r,n)).reduce(Ga,{})}function Fe(e){return AC(e,o0)}Fe.propTypes={};Fe.filterProps=o0;function Ne(e){return AC(e,a0)}Ne.propTypes={};Ne.filterProps=a0;function uA(e=8){if(e.mui)return e;const t=RC({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(s=>{const o=t(s);return typeof o=="number"?`${o}px`:o}).join(" ");return n.mui=!0,n}function kf(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(s=>{r[s]=i}),r),{}),n=r=>Object.keys(r).reduce((i,s)=>t[s]?Ga(i,t[s](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function mn(e){return typeof e!="number"?e:`${e}px solid`}function kn(e,t){return He({prop:e,themeKey:"borders",transform:t})}const cA=kn("border",mn),dA=kn("borderTop",mn),fA=kn("borderRight",mn),pA=kn("borderBottom",mn),hA=kn("borderLeft",mn),mA=kn("borderColor"),gA=kn("borderTopColor"),vA=kn("borderRightColor"),yA=kn("borderBottomColor"),xA=kn("borderLeftColor"),wA=kn("outline",mn),bA=kn("outlineColor"),Mf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=fu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:pu(t,r)});return _r(e,e.borderRadius,n)}return null};Mf.propTypes={};Mf.filterProps=["borderRadius"];kf(cA,dA,fA,pA,hA,mA,gA,vA,yA,xA,Mf,wA,bA);const _f=e=>{if(e.gap!==void 0&&e.gap!==null){const t=fu(e.theme,"spacing",8),n=r=>({gap:pu(t,r)});return _r(e,e.gap,n)}return null};_f.propTypes={};_f.filterProps=["gap"];const Of=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=fu(e.theme,"spacing",8),n=r=>({columnGap:pu(t,r)});return _r(e,e.columnGap,n)}return null};Of.propTypes={};Of.filterProps=["columnGap"];const Rf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=fu(e.theme,"spacing",8),n=r=>({rowGap:pu(t,r)});return _r(e,e.rowGap,n)}return null};Rf.propTypes={};Rf.filterProps=["rowGap"];const SA=He({prop:"gridColumn"}),EA=He({prop:"gridRow"}),PA=He({prop:"gridAutoFlow"}),CA=He({prop:"gridAutoColumns"}),TA=He({prop:"gridAutoRows"}),kA=He({prop:"gridTemplateColumns"}),MA=He({prop:"gridTemplateRows"}),_A=He({prop:"gridTemplateAreas"}),OA=He({prop:"gridArea"});kf(_f,Of,Rf,SA,EA,PA,CA,TA,kA,MA,_A,OA);function fo(e,t){return t==="grey"?t:e}const RA=He({prop:"color",themeKey:"palette",transform:fo}),AA=He({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:fo}),IA=He({prop:"backgroundColor",themeKey:"palette",transform:fo});kf(RA,AA,IA);function Gt(e){return e<=1&&e!==0?`${e*100}%`:e}const $A=He({prop:"width",transform:Gt}),l0=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i;const s=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||s0[n];return s?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:Gt(n)}};return _r(e,e.maxWidth,t)}return null};l0.filterProps=["maxWidth"];const LA=He({prop:"minWidth",transform:Gt}),jA=He({prop:"height",transform:Gt}),DA=He({prop:"maxHeight",transform:Gt}),FA=He({prop:"minHeight",transform:Gt});He({prop:"size",cssProperty:"width",transform:Gt});He({prop:"size",cssProperty:"height",transform:Gt});const NA=He({prop:"boxSizing"});kf($A,l0,LA,jA,DA,FA,NA);const zA={border:{themeKey:"borders",transform:mn},borderTop:{themeKey:"borders",transform:mn},borderRight:{themeKey:"borders",transform:mn},borderBottom:{themeKey:"borders",transform:mn},borderLeft:{themeKey:"borders",transform:mn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:mn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Mf},color:{themeKey:"palette",transform:fo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:fo},backgroundColor:{themeKey:"palette",transform:fo},p:{style:Ne},pt:{style:Ne},pr:{style:Ne},pb:{style:Ne},pl:{style:Ne},px:{style:Ne},py:{style:Ne},padding:{style:Ne},paddingTop:{style:Ne},paddingRight:{style:Ne},paddingBottom:{style:Ne},paddingLeft:{style:Ne},paddingX:{style:Ne},paddingY:{style:Ne},paddingInline:{style:Ne},paddingInlineStart:{style:Ne},paddingInlineEnd:{style:Ne},paddingBlock:{style:Ne},paddingBlockStart:{style:Ne},paddingBlockEnd:{style:Ne},m:{style:Fe},mt:{style:Fe},mr:{style:Fe},mb:{style:Fe},ml:{style:Fe},mx:{style:Fe},my:{style:Fe},margin:{style:Fe},marginTop:{style:Fe},marginRight:{style:Fe},marginBottom:{style:Fe},marginLeft:{style:Fe},marginX:{style:Fe},marginY:{style:Fe},marginInline:{style:Fe},marginInlineStart:{style:Fe},marginInlineEnd:{style:Fe},marginBlock:{style:Fe},marginBlockStart:{style:Fe},marginBlockEnd:{style:Fe},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:_f},rowGap:{style:Rf},columnGap:{style:Of},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Gt},maxWidth:{style:l0},minWidth:{transform:Gt},height:{transform:Gt},maxHeight:{transform:Gt},minHeight:{transform:Gt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},hu=zA;function VA(...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 BA(e,t){return typeof e=="function"?e(t):e}function IC(){function e(n,r,i,s){const o={[n]:r,theme:i},a=s[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=No(i,u)||{};return d?d(o):_r(o,r,h=>{let m=pd(f,c,h);return h===m&&typeof h=="string"&&(m=pd(f,c,`${n}${h==="default"?"":Q(h)}`,h)),l===!1?m:{[l]:m}})}function t(n){var r;const{sx:i,theme:s={}}=n||{};if(!i)return null;const o=(r=s.unstable_sxConfig)!=null?r:hu;function a(l){let u=l;if(typeof l=="function")u=l(s);else if(typeof l!="object")return l;if(!u)return null;const c=tA(s.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(p=>{const h=BA(u[p],s);if(h!=null)if(typeof h=="object")if(o[p])f=Ga(f,e(p,h,s,o));else{const m=_r({theme:s},h,x=>({[p]:x}));VA(m,h)?f[p]=t({sx:h,theme:s}):f=Ga(f,m)}else f=Ga(f,e(p,h,s,o))}),nA(d,f)}return Array.isArray(i)?i.map(a):a(i)}return t}const mu=IC();mu.filterProps=["sx"];function $C(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 UA=["breakpoints","palette","spacing","shape"];function u0(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:s={}}=e,o=se(e,UA),a=OC(n),l=uA(i);let u=tr({breakpoints:a,direction:"ltr",components:{},palette:A({mode:"light"},r),spacing:l,shape:A({},eA,s)},o);return u.applyStyles=$C,u=t.reduce((c,d)=>tr(c,d),u),u.unstable_sxConfig=A({},hu,o==null?void 0:o.unstable_sxConfig),u.unstable_sx=function(d){return mu({sx:d,theme:this})},u}const WA=Object.freeze(Object.defineProperty({__proto__:null,default:u0,private_createBreakpoints:OC,unstable_applyStyles:$C},Symbol.toStringTag,{value:"Module"}));function LC(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var HA=/^((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)-.*))$/,GA=LC(function(e){return HA.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function qA(e){if(e.sheet)return e.sheet;for(var t=0;t0?ft(Zo,--Bt):0,zo--,qe===10&&(zo=1,If--),qe}function Yt(){return qe=Bt2||Ml(qe)>3?"":" "}function oI(e,t){for(;--t&&Yt()&&!(qe<48||qe>102||qe>57&&qe<65||qe>70&&qe<97););return gu(e,Ec()+(t<6&&nr()==32&&Yt()==32))}function Zm(e){for(;Yt();)switch(qe){case e:return Bt;case 34:case 39:e!==34&&e!==39&&Zm(qe);break;case 40:e===41&&Zm(e);break;case 92:Yt();break}return Bt}function aI(e,t){for(;Yt()&&e+qe!==57;)if(e+qe===84&&nr()===47)break;return"/*"+gu(t,Bt-1)+"*"+Af(e===47?e:Yt())}function lI(e){for(;!Ml(nr());)Yt();return gu(e,Bt)}function uI(e){return VC(Cc("",null,null,null,[""],e=zC(e),0,[0],e))}function Cc(e,t,n,r,i,s,o,a,l){for(var u=0,c=0,d=o,f=0,p=0,h=0,m=1,x=1,g=1,y=0,v="",w=i,S=s,P=r,T=v;x;)switch(h=y,y=Yt()){case 40:if(h!=108&&ft(T,d-1)==58){Xm(T+=ve(Pc(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:T+=Pc(y);break;case 9:case 10:case 13:case 32:T+=sI(h);break;case 92:T+=oI(Ec()-1,7);continue;case 47:switch(nr()){case 42:case 47:Zu(cI(aI(Yt(),Ec()),t,n),l);break;default:T+="/"}break;case 123*m:a[u++]=Qn(T)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+c:g==-1&&(T=ve(T,/\f/g,"")),p>0&&Qn(T)-d&&Zu(p>32?bx(T+";",r,n,d-1):bx(ve(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(Zu(P=wx(T,t,n,u,c,i,a,v,w=[],S=[],d),s),y===123)if(c===0)Cc(T,t,P,P,w,s,d,a,S);else switch(f===99&&ft(T,3)===110?100:f){case 100:case 108:case 109:case 115:Cc(e,P,P,r&&Zu(wx(e,P,P,0,0,i,a,v,i,w=[],d),S),i,S,d,a,r?w:S);break;default:Cc(T,P,P,P,[""],S,0,a,S)}}u=c=p=0,m=g=1,v=T="",d=o;break;case 58:d=1+Qn(T),p=h;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&iI()==125)continue}switch(T+=Af(y),y*m){case 38:g=c>0?1:(T+="\f",-1);break;case 44:a[u++]=(Qn(T)-1)*g,g=1;break;case 64:nr()===45&&(T+=Pc(Yt())),f=nr(),c=d=Qn(v=T+=lI(Ec())),y++;break;case 45:h===45&&Qn(T)==2&&(m=0)}}return s}function wx(e,t,n,r,i,s,o,a,l,u,c){for(var d=i-1,f=i===0?s:[""],p=f0(f),h=0,m=0,x=0;h0?f[g]+" "+y:ve(y,/&\f/g,f[g])))&&(l[x++]=v);return $f(e,t,n,i===0?c0:a,l,u,c)}function cI(e,t,n){return $f(e,t,n,jC,Af(rI()),kl(e,2,-2),0)}function bx(e,t,n,r){return $f(e,t,n,d0,kl(e,0,r),kl(e,r+1,-1),r)}function po(e,t){for(var n="",r=f0(e),i=0;i6)switch(ft(e,t+1)){case 109:if(ft(e,t+4)!==45)break;case 102:return ve(e,/(.+:)(.+)-([^]+)/,"$1"+ge+"$2-$3$1"+hd+(ft(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xm(e,"stretch")?BC(ve(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ft(e,t+1)!==115)break;case 6444:switch(ft(e,Qn(e)-3-(~Xm(e,"!important")&&10))){case 107:return ve(e,":",":"+ge)+e;case 101:return ve(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ge+(ft(e,14)===45?"inline-":"")+"box$3$1"+ge+"$2$3$1"+Et+"$2box$3")+e}break;case 5936:switch(ft(e,t+11)){case 114:return ge+e+Et+ve(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ge+e+Et+ve(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ge+e+Et+ve(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ge+e+Et+e+e}return e}var xI=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case d0:t.return=BC(t.value,t.length);break;case DC:return po([va(t,{value:ve(t.value,"@","@"+ge)})],i);case c0:if(t.length)return nI(t.props,function(s){switch(tI(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return po([va(t,{props:[ve(s,/:(read-\w+)/,":"+hd+"$1")]})],i);case"::placeholder":return po([va(t,{props:[ve(s,/:(plac\w+)/,":"+ge+"input-$1")]}),va(t,{props:[ve(s,/:(plac\w+)/,":"+hd+"$1")]}),va(t,{props:[ve(s,/:(plac\w+)/,Et+"input-$1")]})],i)}return""})}},wI=[xI],UC=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||wI,s={},o,a=[];o=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 kC(e,t=166){let n;function r(...i){const s=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function M5(e,t){return()=>null}function _5(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 xr(e){return e&&e.ownerDocument||document}function Zo(e){return xr(e).defaultView||window}function O5(e,t){return()=>null}function fd(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Tl=typeof window<"u"?b.useLayoutEffect:b.useEffect;let gx=0;function R5(e){const[t,n]=b.useState(e),r=e||t;return b.useEffect(()=>{t==null&&(gx+=1,n(`mui-${gx}`))},[t]),r}const vx=zc.useId;function A5(e){if(vx!==void 0){const t=vx();return e??t}return R5(e)}function I5(e,t,n,r,i){return null}function $5({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=b.useRef(e!==void 0),[s,o]=b.useState(t),a=i?e:s,l=b.useCallback(u=>{i||o(u)},[]);return[a,l]}function Zi(e){const t=b.useRef(e);return Tl(()=>{t.current=e}),b.useRef((...n)=>(0,t.current)(...n)).current}function Pn(...e){return b.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{fd(n,t)})},e)}const yx={};function L5(e,t){const n=b.useRef(yx);return n.current===yx&&(n.current=e(t)),n}const j5=[];function D5(e){b.useEffect(e,j5)}class Cf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Cf}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function F5(){const e=L5(Cf.create).current;return D5(e.disposeEffect),e}let Tf=!0,Xm=!1;const N5=new Cf,z5={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 V5(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&z5[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function B5(e){e.metaKey||e.altKey||e.ctrlKey||(Tf=!0)}function rh(){Tf=!1}function U5(){this.visibilityState==="hidden"&&Xm&&(Tf=!0)}function W5(e){e.addEventListener("keydown",B5,!0),e.addEventListener("mousedown",rh,!0),e.addEventListener("pointerdown",rh,!0),e.addEventListener("touchstart",rh,!0),e.addEventListener("visibilitychange",U5,!0)}function H5(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Tf||V5(t)}function sv(){const e=b.useCallback(i=>{i!=null&&W5(i.ownerDocument)},[]),t=b.useRef(!1);function n(){return t.current?(Xm=!0,N5.start(100,()=>{Xm=!1}),t.current=!1,!0):!1}function r(i){return H5(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function G5(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function MC(e,t){const n=A({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=A({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},s=t[r];n[r]={},!s||!Object.keys(s)?n[r]=i:!i||!Object.keys(i)?n[r]=s:(n[r]=A({},s),Object.keys(i).forEach(o=>{n[r][o]=MC(i[o],s[o])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function vt(e,t,n=void 0){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((s,o)=>{if(o){const a=t(o);a!==""&&s.push(a),n&&n[o]&&s.push(n[o])}return s},[]).join(" ")}),r}const xx=e=>e,q5=()=>{let e=xx;return{configure(t){e=t},generate(t){return e(t)},reset(){e=xx}}},K5=q5(),ov=K5,Q5={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 at(e,t,n="Mui"){const r=Q5[t];return r?`${n}-${r}`:`${ov.generate(e)}-${t}`}function et(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=at(e,i,n)}),r}function Y5(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const X5=Object.freeze(Object.defineProperty({__proto__:null,default:Y5},Symbol.toStringTag,{value:"Module"}));function se(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}function _C(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)=>A({},n,{[r.key]:r.val}),{})};function RC(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=se(e,Z5),s=J5(t),o=Object.keys(s);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=o.indexOf(p);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(h!==-1&&typeof t[o[h]]=="number"?t[o[h]]:p)-r/100}${n})`}function c(f){return o.indexOf(f)+1`@media (min-width:${av[e]}px)`};function _r(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||wx;return t.reduce((o,a,l)=>(o[s.up(s.keys[l])]=n(t[l]),o),{})}if(typeof t=="object"){const s=r.breakpoints||wx;return Object.keys(t).reduce((o,a)=>{if(Object.keys(s.values||av).indexOf(a)!==-1){const l=s.up(a);o[l]=n(t[a],a)}else{const l=a;o[l]=t[l]}return o},{})}return n(t)}function nA(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const s=e.up(i);return r[s]={},r},{}))||{}}function rA(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function zo(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,s)=>i&&i[s]?i[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function pd(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=zo(e,n)||r,t&&(i=t(i,r,e)),i}function He(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,s=o=>{if(o[t]==null)return null;const a=o[t],l=o.theme,u=zo(l,r)||{};return _r(o,a,d=>{let f=pd(u,i,d);return d===f&&typeof d=="string"&&(f=pd(u,i,`${t}${d==="default"?"":Q(d)}`,d)),n===!1?f:{[n]:f}})};return s.propTypes={},s.filterProps=[t],s}function iA(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const sA={m:"margin",p:"padding"},oA={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},bx={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},aA=iA(e=>{if(e.length>2)if(bx[e])e=bx[e];else return[e];const[t,n]=e.split(""),r=sA[t],i=oA[n]||"";return Array.isArray(i)?i.map(s=>r+s):[r+i]}),lv=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],uv=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...lv,...uv];function fu(e,t,n,r){var i;const s=(i=zo(e,t,!1))!=null?i:n;return typeof s=="number"?o=>typeof o=="string"?o:s*o:Array.isArray(s)?o=>typeof o=="string"?o:s[o]:typeof s=="function"?s:()=>{}}function AC(e){return fu(e,"spacing",8)}function pu(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 lA(e,t){return n=>e.reduce((r,i)=>(r[i]=pu(t,n),r),{})}function uA(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=aA(n),s=lA(i,r),o=e[n];return _r(e,o,s)}function IC(e,t){const n=AC(e.theme);return Object.keys(e).map(r=>uA(e,t,r,n)).reduce(Ga,{})}function Fe(e){return IC(e,lv)}Fe.propTypes={};Fe.filterProps=lv;function Ne(e){return IC(e,uv)}Ne.propTypes={};Ne.filterProps=uv;function cA(e=8){if(e.mui)return e;const t=AC({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(s=>{const o=t(s);return typeof o=="number"?`${o}px`:o}).join(" ");return n.mui=!0,n}function kf(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(s=>{r[s]=i}),r),{}),n=r=>Object.keys(r).reduce((i,s)=>t[s]?Ga(i,t[s](r)):i,{});return n.propTypes={},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function mn(e){return typeof e!="number"?e:`${e}px solid`}function kn(e,t){return He({prop:e,themeKey:"borders",transform:t})}const dA=kn("border",mn),fA=kn("borderTop",mn),pA=kn("borderRight",mn),hA=kn("borderBottom",mn),mA=kn("borderLeft",mn),gA=kn("borderColor"),vA=kn("borderTopColor"),yA=kn("borderRightColor"),xA=kn("borderBottomColor"),wA=kn("borderLeftColor"),bA=kn("outline",mn),SA=kn("outlineColor"),Mf=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=fu(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:pu(t,r)});return _r(e,e.borderRadius,n)}return null};Mf.propTypes={};Mf.filterProps=["borderRadius"];kf(dA,fA,pA,hA,mA,gA,vA,yA,xA,wA,Mf,bA,SA);const _f=e=>{if(e.gap!==void 0&&e.gap!==null){const t=fu(e.theme,"spacing",8),n=r=>({gap:pu(t,r)});return _r(e,e.gap,n)}return null};_f.propTypes={};_f.filterProps=["gap"];const Of=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=fu(e.theme,"spacing",8),n=r=>({columnGap:pu(t,r)});return _r(e,e.columnGap,n)}return null};Of.propTypes={};Of.filterProps=["columnGap"];const Rf=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=fu(e.theme,"spacing",8),n=r=>({rowGap:pu(t,r)});return _r(e,e.rowGap,n)}return null};Rf.propTypes={};Rf.filterProps=["rowGap"];const EA=He({prop:"gridColumn"}),PA=He({prop:"gridRow"}),CA=He({prop:"gridAutoFlow"}),TA=He({prop:"gridAutoColumns"}),kA=He({prop:"gridAutoRows"}),MA=He({prop:"gridTemplateColumns"}),_A=He({prop:"gridTemplateRows"}),OA=He({prop:"gridTemplateAreas"}),RA=He({prop:"gridArea"});kf(_f,Of,Rf,EA,PA,CA,TA,kA,MA,_A,OA,RA);function po(e,t){return t==="grey"?t:e}const AA=He({prop:"color",themeKey:"palette",transform:po}),IA=He({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:po}),$A=He({prop:"backgroundColor",themeKey:"palette",transform:po});kf(AA,IA,$A);function Gt(e){return e<=1&&e!==0?`${e*100}%`:e}const LA=He({prop:"width",transform:Gt}),cv=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i;const s=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||av[n];return s?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:Gt(n)}};return _r(e,e.maxWidth,t)}return null};cv.filterProps=["maxWidth"];const jA=He({prop:"minWidth",transform:Gt}),DA=He({prop:"height",transform:Gt}),FA=He({prop:"maxHeight",transform:Gt}),NA=He({prop:"minHeight",transform:Gt});He({prop:"size",cssProperty:"width",transform:Gt});He({prop:"size",cssProperty:"height",transform:Gt});const zA=He({prop:"boxSizing"});kf(LA,cv,jA,DA,FA,NA,zA);const VA={border:{themeKey:"borders",transform:mn},borderTop:{themeKey:"borders",transform:mn},borderRight:{themeKey:"borders",transform:mn},borderBottom:{themeKey:"borders",transform:mn},borderLeft:{themeKey:"borders",transform:mn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:mn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Mf},color:{themeKey:"palette",transform:po},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:po},backgroundColor:{themeKey:"palette",transform:po},p:{style:Ne},pt:{style:Ne},pr:{style:Ne},pb:{style:Ne},pl:{style:Ne},px:{style:Ne},py:{style:Ne},padding:{style:Ne},paddingTop:{style:Ne},paddingRight:{style:Ne},paddingBottom:{style:Ne},paddingLeft:{style:Ne},paddingX:{style:Ne},paddingY:{style:Ne},paddingInline:{style:Ne},paddingInlineStart:{style:Ne},paddingInlineEnd:{style:Ne},paddingBlock:{style:Ne},paddingBlockStart:{style:Ne},paddingBlockEnd:{style:Ne},m:{style:Fe},mt:{style:Fe},mr:{style:Fe},mb:{style:Fe},ml:{style:Fe},mx:{style:Fe},my:{style:Fe},margin:{style:Fe},marginTop:{style:Fe},marginRight:{style:Fe},marginBottom:{style:Fe},marginLeft:{style:Fe},marginX:{style:Fe},marginY:{style:Fe},marginInline:{style:Fe},marginInlineStart:{style:Fe},marginInlineEnd:{style:Fe},marginBlock:{style:Fe},marginBlockStart:{style:Fe},marginBlockEnd:{style:Fe},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:_f},rowGap:{style:Rf},columnGap:{style:Of},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Gt},maxWidth:{style:cv},minWidth:{transform:Gt},height:{transform:Gt},maxHeight:{transform:Gt},minHeight:{transform:Gt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},hu=VA;function BA(...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 UA(e,t){return typeof e=="function"?e(t):e}function $C(){function e(n,r,i,s){const o={[n]:r,theme:i},a=s[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=zo(i,u)||{};return d?d(o):_r(o,r,h=>{let m=pd(f,c,h);return h===m&&typeof h=="string"&&(m=pd(f,c,`${n}${h==="default"?"":Q(h)}`,h)),l===!1?m:{[l]:m}})}function t(n){var r;const{sx:i,theme:s={}}=n||{};if(!i)return null;const o=(r=s.unstable_sxConfig)!=null?r:hu;function a(l){let u=l;if(typeof l=="function")u=l(s);else if(typeof l!="object")return l;if(!u)return null;const c=nA(s.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(p=>{const h=UA(u[p],s);if(h!=null)if(typeof h=="object")if(o[p])f=Ga(f,e(p,h,s,o));else{const m=_r({theme:s},h,x=>({[p]:x}));BA(m,h)?f[p]=t({sx:h,theme:s}):f=Ga(f,m)}else f=Ga(f,e(p,h,s,o))}),rA(d,f)}return Array.isArray(i)?i.map(a):a(i)}return t}const mu=$C();mu.filterProps=["sx"];function LC(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 WA=["breakpoints","palette","spacing","shape"];function dv(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:s={}}=e,o=se(e,WA),a=RC(n),l=cA(i);let u=tr({breakpoints:a,direction:"ltr",components:{},palette:A({mode:"light"},r),spacing:l,shape:A({},tA,s)},o);return u.applyStyles=LC,u=t.reduce((c,d)=>tr(c,d),u),u.unstable_sxConfig=A({},hu,o==null?void 0:o.unstable_sxConfig),u.unstable_sx=function(d){return mu({sx:d,theme:this})},u}const HA=Object.freeze(Object.defineProperty({__proto__:null,default:dv,private_createBreakpoints:RC,unstable_applyStyles:LC},Symbol.toStringTag,{value:"Module"}));function jC(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var GA=/^((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)-.*))$/,qA=jC(function(e){return GA.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function KA(e){if(e.sheet)return e.sheet;for(var t=0;t0?ft(Jo,--Bt):0,Vo--,qe===10&&(Vo=1,If--),qe}function Yt(){return qe=Bt2||Ml(qe)>3?"":" "}function aI(e,t){for(;--t&&Yt()&&!(qe<48||qe>102||qe>57&&qe<65||qe>70&&qe<97););return gu(e,Ec()+(t<6&&nr()==32&&Yt()==32))}function Jm(e){for(;Yt();)switch(qe){case e:return Bt;case 34:case 39:e!==34&&e!==39&&Jm(qe);break;case 40:e===41&&Jm(e);break;case 92:Yt();break}return Bt}function lI(e,t){for(;Yt()&&e+qe!==57;)if(e+qe===84&&nr()===47)break;return"/*"+gu(t,Bt-1)+"*"+Af(e===47?e:Yt())}function uI(e){for(;!Ml(nr());)Yt();return gu(e,Bt)}function cI(e){return BC(Cc("",null,null,null,[""],e=VC(e),0,[0],e))}function Cc(e,t,n,r,i,s,o,a,l){for(var u=0,c=0,d=o,f=0,p=0,h=0,m=1,x=1,g=1,y=0,v="",w=i,S=s,P=r,T=v;x;)switch(h=y,y=Yt()){case 40:if(h!=108&&ft(T,d-1)==58){Zm(T+=ye(Pc(y),"&","&\f"),"&\f")!=-1&&(g=-1);break}case 34:case 39:case 91:T+=Pc(y);break;case 9:case 10:case 13:case 32:T+=oI(h);break;case 92:T+=aI(Ec()-1,7);continue;case 47:switch(nr()){case 42:case 47:Zu(dI(lI(Yt(),Ec()),t,n),l);break;default:T+="/"}break;case 123*m:a[u++]=Qn(T)*g;case 125*m:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+c:g==-1&&(T=ye(T,/\f/g,"")),p>0&&Qn(T)-d&&Zu(p>32?Ex(T+";",r,n,d-1):Ex(ye(T," ","")+";",r,n,d-2),l);break;case 59:T+=";";default:if(Zu(P=Sx(T,t,n,u,c,i,a,v,w=[],S=[],d),s),y===123)if(c===0)Cc(T,t,P,P,w,s,d,a,S);else switch(f===99&&ft(T,3)===110?100:f){case 100:case 108:case 109:case 115:Cc(e,P,P,r&&Zu(Sx(e,P,P,0,0,i,a,v,i,w=[],d),S),i,S,d,a,r?w:S);break;default:Cc(T,P,P,P,[""],S,0,a,S)}}u=c=p=0,m=g=1,v=T="",d=o;break;case 58:d=1+Qn(T),p=h;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&sI()==125)continue}switch(T+=Af(y),y*m){case 38:g=c>0?1:(T+="\f",-1);break;case 44:a[u++]=(Qn(T)-1)*g,g=1;break;case 64:nr()===45&&(T+=Pc(Yt())),f=nr(),c=d=Qn(v=T+=uI(Ec())),y++;break;case 45:h===45&&Qn(T)==2&&(m=0)}}return s}function Sx(e,t,n,r,i,s,o,a,l,u,c){for(var d=i-1,f=i===0?s:[""],p=hv(f),h=0,m=0,x=0;h0?f[g]+" "+y:ye(y,/&\f/g,f[g])))&&(l[x++]=v);return $f(e,t,n,i===0?fv:a,l,u,c)}function dI(e,t,n){return $f(e,t,n,DC,Af(iI()),kl(e,2,-2),0)}function Ex(e,t,n,r){return $f(e,t,n,pv,kl(e,0,r),kl(e,r+1,-1),r)}function ho(e,t){for(var n="",r=hv(e),i=0;i6)switch(ft(e,t+1)){case 109:if(ft(e,t+4)!==45)break;case 102:return ye(e,/(.+:)(.+)-([^]+)/,"$1"+ve+"$2-$3$1"+hd+(ft(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zm(e,"stretch")?UC(ye(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ft(e,t+1)!==115)break;case 6444:switch(ft(e,Qn(e)-3-(~Zm(e,"!important")&&10))){case 107:return ye(e,":",":"+ve)+e;case 101:return ye(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ve+(ft(e,14)===45?"inline-":"")+"box$3$1"+ve+"$2$3$1"+Et+"$2box$3")+e}break;case 5936:switch(ft(e,t+11)){case 114:return ve+e+Et+ye(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ve+e+Et+ye(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ve+e+Et+ye(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ve+e+Et+e+e}return e}var wI=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case pv:t.return=UC(t.value,t.length);break;case FC:return ho([ya(t,{value:ye(t.value,"@","@"+ve)})],i);case fv:if(t.length)return rI(t.props,function(s){switch(nI(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ho([ya(t,{props:[ye(s,/:(read-\w+)/,":"+hd+"$1")]})],i);case"::placeholder":return ho([ya(t,{props:[ye(s,/:(plac\w+)/,":"+ve+"input-$1")]}),ya(t,{props:[ye(s,/:(plac\w+)/,":"+hd+"$1")]}),ya(t,{props:[ye(s,/:(plac\w+)/,Et+"input-$1")]})],i)}return""})}},bI=[wI],WC=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||bI,s={},o,a=[];o=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 AI={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},II=/[A-Z]|^ms/g,$I=/_EMO_([^_]+?)_([^]*?)_EMO_/g,YC=function(t){return t.charCodeAt(1)===45},Ex=function(t){return t!=null&&typeof t!="boolean"},ih=LC(function(e){return YC(e)?e:e.replace(II,"-$&").toLowerCase()}),Px=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace($I,function(r,i,s){return Yn={name:i,styles:s,next:Yn},i})}return AI[t]!==1&&!YC(t)&&typeof n=="number"&&n!==0?n+"px":n};function _l(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 Yn={name:n.name,styles:n.styles,next:Yn},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Yn={name:r.name,styles:r.styles,next:Yn},r=r.next;var i=n.styles+";";return i}return LI(e,t,n)}case"function":{if(e!==void 0){var s=Yn,o=n(e);return Yn=s,_l(e,t,o)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function LI(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?zI:VI},_x=function(t,n,r){var i;if(n){var s=n.shouldForwardProp;i=t.__emotion_forwardProp&&s?function(o){return t.__emotion_forwardProp(o)&&s(o)}:s}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},BI=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return KC(n,r,i),DI(function(){return QC(n,r,i)}),null},UI=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,s,o;n!==void 0&&(s=n.label,o=n.target);var a=_x(t,n,r),l=a||Mx(i),u=!l("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&d.push("label:"+s+";"),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(GI(i)?n:i):t;return E.jsx(NI,{styles:r})}function nT(e,t){return Jm(e,t)}const qI=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},KI=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:tT,StyledEngineProvider:HI,ThemeContext:vu,css:Hf,default:nT,internal_processStyles:qI,keyframes:Jo},Symbol.toStringTag,{value:"Module"}));function QI(e){return Object.keys(e).length===0}function v0(e=null){const t=b.useContext(vu);return!t||QI(t)?e:t}const YI=u0();function Gf(e=YI){return v0(e)}function XI({props:e,name:t,defaultTheme:n,themeId:r}){let i=Gf(n);return r&&(i=i[r]||i),_C({theme:i,name:t,props:e})}const ZI=["sx"],JI=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:hu;return Object.keys(e).forEach(s=>{i[s]?r.systemProps[s]=e[s]:r.otherProps[s]=e[s]}),r};function y0(e){const{sx:t}=e,n=se(e,ZI),{systemProps:r,otherProps:i}=JI(n);let s;return Array.isArray(t)?s=[r,...t]:typeof t=="function"?s=(...o)=>{const a=t(...o);return Zr(a)?A({},r,a):r}:s=A({},r,t),A({},i,{sx:s})}const e3=Object.freeze(Object.defineProperty({__proto__:null,default:mu,extendSxProp:y0,unstable_createStyleFunctionSx:IC,unstable_defaultSxConfig:hu},Symbol.toStringTag,{value:"Module"}));function t3(e,t){return A({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ge={},rT={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})(rT);var x0=rT.exports;const n3=Rr(w5),r3=Rr(Y5);var iT=x0;Object.defineProperty(Ge,"__esModule",{value:!0});var Pt=Ge.alpha=lT;Ge.blend=h3;Ge.colorChannel=void 0;var tg=Ge.darken=b0;Ge.decomposeColor=Cn;Ge.emphasize=uT;var i3=Ge.getContrastRatio=u3;Ge.getLuminance=md;Ge.hexToRgb=sT;Ge.hslToRgb=aT;var ng=Ge.lighten=S0;Ge.private_safeAlpha=c3;Ge.private_safeColorChannel=void 0;Ge.private_safeDarken=d3;Ge.private_safeEmphasize=p3;Ge.private_safeLighten=f3;Ge.recomposeColor=ea;Ge.rgbToHex=l3;var Ox=iT(n3),s3=iT(r3);function w0(e,t=0,n=1){return(0,s3.default)(e,t,n)}function sT(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 o3(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Cn(e){if(e.type)return e;if(e.charAt(0)==="#")return Cn(sT(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Ox.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,Ox.default)(10,i))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:i}}const oT=e=>{const t=Cn(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Ge.colorChannel=oT;const a3=(e,t)=>{try{return oT(e)}catch{return e}};Ge.private_safeColorChannel=a3;function ea(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,s)=>s<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 l3(e){if(e.indexOf("#")===0)return e;const{values:t}=Cn(e);return`#${t.map((n,r)=>o3(r===3?Math.round(255*n):n)).join("")}`}function aT(e){e=Cn(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),o=(u,c=(u+n/30)%12)=>i-s*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),ea({type:a,values:l})}function md(e){e=Cn(e);let t=e.type==="hsl"||e.type==="hsla"?Cn(aT(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 u3(e,t){const n=md(e),r=md(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function lT(e,t){return e=Cn(e),t=w0(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ea(e)}function c3(e,t,n){try{return lT(e,t)}catch{return e}}function b0(e,t){if(e=Cn(e),t=w0(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 ea(e)}function d3(e,t,n){try{return b0(e,t)}catch{return e}}function S0(e,t){if(e=Cn(e),t=w0(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 ea(e)}function f3(e,t,n){try{return S0(e,t)}catch{return e}}function uT(e,t=.15){return md(e)>.5?b0(e,t):S0(e,t)}function p3(e,t,n){try{return uT(e,t)}catch{return e}}function h3(e,t,n,r=1){const i=(l,u)=>Math.round((l**(1/r)*(1-n)+u**(1/r)*n)**r),s=Cn(e),o=Cn(t),a=[i(s.values[0],o.values[0]),i(s.values[1],o.values[1]),i(s.values[2],o.values[2])];return ea({type:"rgb",values:a})}const m3={black:"#000",white:"#fff"},Ol=m3,g3={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"},v3=g3,y3={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"},Rs=y3,x3={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"},As=x3,w3={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"},ya=w3,b3={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"},Is=b3,S3={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"},$s=S3,E3={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"},Ls=E3,P3=["mode","contrastThreshold","tonalOffset"],Rx={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:Ol.white,default:Ol.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}},oh={text:{primary:Ol.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:Ol.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 Ax(e,t,n,r){const i=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ng(e.main,i):t==="dark"&&(e.dark=tg(e.main,s)))}function C3(e="light"){return e==="dark"?{main:Is[200],light:Is[50],dark:Is[400]}:{main:Is[700],light:Is[400],dark:Is[800]}}function T3(e="light"){return e==="dark"?{main:Rs[200],light:Rs[50],dark:Rs[400]}:{main:Rs[500],light:Rs[300],dark:Rs[700]}}function k3(e="light"){return e==="dark"?{main:As[500],light:As[300],dark:As[700]}:{main:As[700],light:As[400],dark:As[800]}}function M3(e="light"){return e==="dark"?{main:$s[400],light:$s[300],dark:$s[700]}:{main:$s[700],light:$s[500],dark:$s[900]}}function _3(e="light"){return e==="dark"?{main:Ls[400],light:Ls[300],dark:Ls[700]}:{main:Ls[800],light:Ls[500],dark:Ls[900]}}function O3(e="light"){return e==="dark"?{main:ya[400],light:ya[300],dark:ya[700]}:{main:"#ed6c02",light:ya[500],dark:ya[900]}}function R3(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=se(e,P3),s=e.primary||C3(t),o=e.secondary||T3(t),a=e.error||k3(t),l=e.info||M3(t),u=e.success||_3(t),c=e.warning||O3(t);function d(m){return i3(m,oh.text.primary)>=n?oh.text.primary:Rx.text.primary}const f=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:v=700})=>{if(m=A({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(Cl(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(Cl(12,x?` (${x})`:"",JSON.stringify(m.main)));return Ax(m,"light",y,r),Ax(m,"dark",v,r),m.contrastText||(m.contrastText=d(m.main)),m},p={dark:oh,light:Rx};return tr(A({common:A({},Ol),mode:t,primary:f({color:s,name:"primary"}),secondary:f({color:o,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:v3,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),i)}const A3=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function I3(e){return Math.round(e*1e5)/1e5}const Ix={textTransform:"uppercase"},$x='"Roboto", "Helvetica", "Arial", sans-serif';function $3(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=$x,fontSize:i=14,fontWeightLight:s=300,fontWeightRegular:o=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=se(n,A3),p=i/14,h=d||(g=>`${g/u*p}rem`),m=(g,y,v,w,S)=>A({fontFamily:r,fontWeight:g,fontSize:h(y),lineHeight:v},r===$x?{letterSpacing:`${I3(w/y)}em`}:{},S,c),x={h1:m(s,96,1.167,-1.5),h2:m(s,60,1.2,-.5),h3:m(o,48,1.167,0),h4:m(o,34,1.235,.25),h5:m(o,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(o,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(o,16,1.5,.15),body2:m(o,14,1.43,.15),button:m(a,14,1.75,.4,Ix),caption:m(o,12,1.66,.4),overline:m(o,12,2.66,1,Ix),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return tr(A({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:s,fontWeightRegular:o,fontWeightMedium:a,fontWeightBold:l},x),f,{clone:!1})}const L3=.2,j3=.14,D3=.12;function Oe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${L3})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${j3})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${D3})`].join(",")}const F3=["none",Oe(0,2,1,-1,0,1,1,0,0,1,3,0),Oe(0,3,1,-2,0,2,2,0,0,1,5,0),Oe(0,3,3,-2,0,3,4,0,0,1,8,0),Oe(0,2,4,-1,0,4,5,0,0,1,10,0),Oe(0,3,5,-1,0,5,8,0,0,1,14,0),Oe(0,3,5,-1,0,6,10,0,0,1,18,0),Oe(0,4,5,-2,0,7,10,1,0,2,16,1),Oe(0,5,5,-3,0,8,10,1,0,3,14,2),Oe(0,5,6,-3,0,9,12,1,0,3,16,2),Oe(0,6,6,-3,0,10,14,1,0,4,18,3),Oe(0,6,7,-4,0,11,15,1,0,4,20,3),Oe(0,7,8,-4,0,12,17,2,0,5,22,4),Oe(0,7,8,-4,0,13,19,2,0,5,24,4),Oe(0,7,9,-4,0,14,21,2,0,5,26,4),Oe(0,8,9,-5,0,15,22,2,0,6,28,5),Oe(0,8,10,-5,0,16,24,2,0,6,30,5),Oe(0,8,11,-5,0,17,26,2,0,6,32,5),Oe(0,9,11,-5,0,18,28,2,0,7,34,6),Oe(0,9,12,-6,0,19,29,2,0,7,36,6),Oe(0,10,13,-6,0,20,31,3,0,8,38,7),Oe(0,10,13,-6,0,21,33,3,0,8,40,7),Oe(0,10,14,-6,0,22,35,3,0,8,42,7),Oe(0,11,14,-7,0,23,36,3,0,9,44,8),Oe(0,11,15,-7,0,24,38,3,0,9,46,8)],N3=["duration","easing","delay"],z3={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)"},V3={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Lx(e){return`${Math.round(e)}ms`}function B3(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function U3(e){const t=A({},z3,e.easing),n=A({},V3,e.duration);return A({getAutoHeightDuration:B3,create:(i=["all"],s={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:l=0}=s;return se(s,N3),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof o=="string"?o:Lx(o)} ${a} ${typeof l=="string"?l:Lx(l)}`).join(",")}},e,{easing:t,duration:n})}const W3={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},H3=W3,G3=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function E0(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:s={}}=e,o=se(e,G3);if(e.vars)throw new Error(Cl(18));const a=R3(r),l=u0(e);let u=tr(l,{mixins:t3(l.breakpoints,n),palette:a,shadows:F3.slice(),typography:$3(a,s),transitions:U3(i),zIndex:A({},H3)});return u=tr(u,o),u=t.reduce((c,d)=>tr(c,d),u),u.unstable_sxConfig=A({},hu,o==null?void 0:o.unstable_sxConfig),u.unstable_sx=function(d){return mu({sx:d,theme:this})},u}const q3=E0(),qf=q3,ws="$$material";function ut({props:e,name:t}){return XI({props:e,name:t,defaultTheme:qf,themeId:ws})}var yu={},ah={exports:{}},jx;function K3(){return jx||(jx=1,function(e){function t(n,r){if(n==null)return{};var i={},s=Object.keys(n),o,a;for(a=0;a=0)&&(i[o]=n[o]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ah)),ah.exports}const Q3=Rr(KI),Y3=Rr(x5),X3=Rr(T5),Z3=Rr(C5),J3=Rr(WA),e4=Rr(e3);var ta=x0;Object.defineProperty(yu,"__esModule",{value:!0});var t4=yu.default=h4;yu.shouldForwardProp=Tc;yu.systemDefaultTheme=void 0;var cn=ta(eT()),rg=ta(K3()),Dx=l4(Q3),n4=Y3;ta(X3);ta(Z3);var r4=ta(J3),i4=ta(e4);const s4=["ownerState"],o4=["variants"],a4=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function cT(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(cT=function(r){return r?n:t})(e)}function l4(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=cT(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(r,s,o):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function u4(e){return Object.keys(e).length===0}function c4(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Tc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const d4=yu.systemDefaultTheme=(0,r4.default)(),f4=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ju({defaultTheme:e,theme:t,themeId:n}){return u4(t)?e:t[n]||t}function p4(e){return e?(t,n)=>n[e]:null}function kc(e,t){let{ownerState:n}=t,r=(0,rg.default)(t,s4);const i=typeof e=="function"?e((0,cn.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(s=>kc(s,(0,cn.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:s=[]}=i;let a=(0,rg.default)(i,o4);return s.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props((0,cn.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,cn.default)({ownerState:n},r,n)):l.style))}),a}return i}function h4(e={}){const{themeId:t,defaultTheme:n=d4,rootShouldForwardProp:r=Tc,slotShouldForwardProp:i=Tc}=e,s=o=>(0,i4.default)((0,cn.default)({},o,{theme:Ju((0,cn.default)({},o,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(o,a={})=>{(0,Dx.internal_processStyles)(o,S=>S.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=p4(f4(u))}=a,p=(0,rg.default)(a,a4),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,m=d||!1;let x,g=Tc;u==="Root"||u==="root"?g=r:u?g=i:c4(o)&&(g=void 0);const y=(0,Dx.default)(o,(0,cn.default)({shouldForwardProp:g,label:x},p)),v=S=>typeof S=="function"&&S.__emotion_real!==S||(0,n4.isPlainObject)(S)?P=>kc(S,(0,cn.default)({},P,{theme:Ju({theme:P.theme,defaultTheme:n,themeId:t})})):S,w=(S,...P)=>{let T=v(S);const C=P?P.map(v):[];l&&f&&C.push(R=>{const I=Ju((0,cn.default)({},R,{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(([V,N])=>{D[V]=kc(N,(0,cn.default)({},R,{theme:I}))}),f(R,D)}),l&&!h&&C.push(R=>{var I;const $=Ju((0,cn.default)({},R,{defaultTheme:n,themeId:t})),D=$==null||(I=$.components)==null||(I=I[l])==null?void 0:I.variants;return kc({variants:D},(0,cn.default)({},R,{theme:$}))}),m||C.push(s);const M=C.length-P.length;if(Array.isArray(S)&&M>0){const R=new Array(M).fill("");T=[...S,...R],T.raw=[...S.raw,...R]}const k=y(T,...C);return o.muiName&&(k.muiName=o.muiName),k};return y.withConfig&&(w.withConfig=y.withConfig),w}}function m4(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const g4=e=>m4(e)&&e!=="classes",dT=g4,ye=t4({themeId:ws,defaultTheme:qf,rootShouldForwardProp:dT});function v4(e){return at("MuiSvgIcon",e)}et("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const y4=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],x4=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${Q(t)}`,`fontSize${Q(n)}`]};return vt(i,v4,r)},w4=ye("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Q(n.color)}`],t[`fontSize${Q(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,s,o,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:((s=e.typography)==null||(o=s.pxToRem)==null?void 0:o.call(s,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]}}),ig=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiSvgIcon"}),{children:i,className:s,color:o="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=se(r,y4),h=b.isValidElement(i)&&i.type==="svg",m=A({},r,{color:o,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h}),x={};c||(x.viewBox=f);const g=x4(m);return E.jsxs(w4,A({as:a,className:re(g.root,s),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?E.jsx("title",{children:d}):null]}))});ig.muiName="SvgIcon";function nn(e,t){function n(r,i){return E.jsx(ig,A({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=ig.muiName,b.memo(b.forwardRef(n))}const b4={configure:e=>{i0.configure(e)}},S4=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Q,createChainedFunction:Qm,createSvgIcon:nn,debounce:TC,deprecatedPropType:k5,isMuiElement:M5,ownerDocument:xr,ownerWindow:Xo,requirePropFactory:_5,setRef:fd,unstable_ClassNameGenerator:b4,unstable_useEnhancedEffect:Tl,unstable_useId:R5,unsupportedProp:A5,useControlled:I5,useEventCallback:Zi,useForkRef:Pn,useIsFocusVisible:r0},Symbol.toStringTag,{value:"Module"})),fT=nn(E.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"),E4=nn(E.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"),P4=nn(E.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"),C4=nn(E.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"),T4=nn(E.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");function k4({styles:e,themeId:t,defaultTheme:n={}}){const r=Gf(n),i=typeof e=="function"?e(t&&r[t]||r):e;return E.jsx(tT,{styles:i})}const M4=["className","component"];function _4(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,s=nT("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(mu);return b.forwardRef(function(l,u){const c=Gf(n),d=y0(l),{className:f,component:p="div"}=d,h=se(d,M4);return E.jsx(s,A({as:p,ref:u,className:re(f,i?i(r):r),theme:t&&c[t]||c},h))})}function O4(e,t,n,r,i){const[s,o]=b.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return Tl(()=>{let a=!0;if(!n)return;const l=n(e),u=()=>{a&&o(l.matches)};return u(),l.addListener(u),()=>{a=!1,l.removeListener(u)}},[e,n]),s}const pT=b.useSyncExternalStore;function R4(e,t,n,r,i){const s=b.useCallback(()=>t,[t]),o=b.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return s},[s,e,r,i,n]),[a,l]=b.useMemo(()=>{if(n===null)return[s,()=>()=>{}];const c=n(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[s,n,e]);return pT(l,a,o)}function A4(e,t={}){const n=v0(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:s=r?window.matchMedia:null,ssrMatchMedia:o=null,noSsr:a=!1}=_C({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(pT!==void 0?R4:O4)(l,i,s,o,a)}const I4=b.createContext(null),hT=I4;function mT(){return b.useContext(hT)}const $4=typeof Symbol=="function"&&Symbol.for,L4=$4?Symbol.for("mui.nested"):"__THEME_NESTED__";function j4(e,t){return typeof t=="function"?t(e):A({},e,t)}function D4(e){const{children:t,theme:n}=e,r=mT(),i=b.useMemo(()=>{const s=r===null?n:j4(r,n);return s!=null&&(s[L4]=r!==null),s},[n,r]);return E.jsx(hT.Provider,{value:i,children:t})}const F4=["value"],gT=b.createContext();function N4(e){let{value:t}=e,n=se(e,F4);return E.jsx(gT.Provider,A({value:t??!0},n))}const z4=()=>{const e=b.useContext(gT);return e??!1},Fx={};function Nx(e,t,n,r=!1){return b.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const s=n(i),o=e?A({},t,{[e]:s}):s;return r?()=>o:o}return e?A({},t,{[e]:n}):A({},t,n)},[e,t,n,r])}function V4(e){const{children:t,theme:n,themeId:r}=e,i=v0(Fx),s=mT()||Fx,o=Nx(r,i,n),a=Nx(r,s,n,!0),l=o.direction==="rtl";return E.jsx(D4,{theme:a,children:E.jsx(vu.Provider,{value:o,children:E.jsx(N4,{value:l,children:t})})})}function P0(){const e=Gf(qf);return e[ws]||e}const B4=["theme"];function U4(e){let{theme:t}=e,n=se(e,B4);const r=t[ws];return E.jsx(V4,A({},n,{themeId:r?ws:void 0,theme:r||t}))}const zx=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function vT(e){return ut}function sg(e,t){return sg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},sg(e,t)}function yT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,sg(e,t)}const Vx={disabled:!1},gd=W.createContext(null);var W4=function(t){return t.scrollTop},Aa="unmounted",Wi="exited",Hi="entering",Ns="entered",og="exiting",Ir=function(e){yT(t,e);function t(r,i){var s;s=e.call(this,r,i)||this;var o=i,a=o&&!o.isMounting?r.enter:r.appear,l;return s.appearStatus=null,r.in?a?(l=Wi,s.appearStatus=Hi):l=Ns:r.unmountOnExit||r.mountOnEnter?l=Aa:l=Wi,s.state={status:l},s.nextCallback=null,s}t.getDerivedStateFromProps=function(i,s){var o=i.in;return o&&s.status===Aa?{status:Wi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var s=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==Hi&&o!==Ns&&(s=Hi):(o===Hi||o===Ns)&&(s=og)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,s,o,a;return s=o=a=i,i!=null&&typeof i!="number"&&(s=i.exit,o=i.enter,a=i.appear!==void 0?i.appear:o),{exit:s,enter:o,appear:a}},n.updateStatus=function(i,s){if(i===void 0&&(i=!1),s!==null)if(this.cancelNextCallback(),s===Hi){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Xu.findDOMNode(this);o&&W4(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Wi&&this.setState({status:Aa})},n.performEnter=function(i){var s=this,o=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[Xu.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!o||Vx.disabled){this.safeSetState({status:Ns},function(){s.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Hi},function(){s.props.onEntering(u,c),s.onTransitionEnd(f,function(){s.safeSetState({status:Ns},function(){s.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,s=this.props.exit,o=this.getTimeouts(),a=this.props.nodeRef?void 0:Xu.findDOMNode(this);if(!s||Vx.disabled){this.safeSetState({status:Wi},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:og},function(){i.props.onExiting(a),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Wi},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,s){s=this.setNextCallback(s),this.setState(i,s)},n.setNextCallback=function(i){var s=this,o=!0;return this.nextCallback=function(a){o&&(o=!1,s.nextCallback=null,i(a))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},n.onTransitionEnd=function(i,s){this.setNextCallback(s);var o=this.props.nodeRef?this.props.nodeRef.current:Xu.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!o||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,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===Aa)return null;var s=this.props,o=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var a=se(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return W.createElement(gd.Provider,{value:null},typeof o=="function"?o(i,a):W.cloneElement(W.Children.only(o),a))},t}(W.Component);Ir.contextType=gd;Ir.propTypes={};function js(){}Ir.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:js,onEntering:js,onEntered:js,onExit:js,onExiting:js,onExited:js};Ir.UNMOUNTED=Aa;Ir.EXITED=Wi;Ir.ENTERING=Hi;Ir.ENTERED=Ns;Ir.EXITING=og;const xT=Ir;function H4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C0(e,t){var n=function(s){return t&&b.isValidElement(s)?t(s):s},r=Object.create(null);return e&&b.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function G4(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 s in e)s in t?i.length&&(r[s]=i,i=[]):i.push(s);var o,a={};for(var l in t){if(r[l])for(o=0;oe.scrollTop;function vd(e,t){var n,r;const{timeout:i,easing:s,style:o={}}=e;return{duration:(n=o.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=o.transitionTimingFunction)!=null?r:typeof s=="object"?s[t.mode]:s,delay:o.transitionDelay}}function Z4(e){return at("MuiPaper",e)}et("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 J4=["className","component","elevation","square","variant"],e$=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return vt(s,Z4,i)},t$=ye("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 A({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"&&A({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Pt("#fff",zx(t.elevation))}, ${Pt("#fff",zx(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),n$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiPaper"}),{className:i,component:s="div",elevation:o=1,square:a=!1,variant:l="elevation"}=r,u=se(r,J4),c=A({},r,{component:s,elevation:o,square:a,variant:l}),d=e$(c);return E.jsx(t$,A({as:s,ownerState:c,className:re(d.root,i),ref:n},u))}),Rl=n$;function r$(e){return typeof e=="string"}function bT(e,t,n){return e===void 0||r$(e)?t:A({},t,{ownerState:A({},t.ownerState,n)})}function ST(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 ET(e,t,n){return typeof e=="function"?e(t,n):e}function Bx(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 PT(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:s}=e;if(!t){const p=re(n==null?void 0:n.className,s,i==null?void 0:i.className,r==null?void 0:r.className),h=A({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=A({},n,i,r);return p.length>0&&(m.className=p),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:void 0}}const o=ST(A({},i,r)),a=Bx(r),l=Bx(i),u=t(o),c=re(u==null?void 0:u.className,n==null?void 0:n.className,s,i==null?void 0:i.className,r==null?void 0:r.className),d=A({},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=A({},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 i$=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Ux(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:s=!1}=e,o=se(e,i$),a=s?{}:ET(r,i),{props:l,internalRef:u}=PT(A({},o,{externalSlotProps:a})),c=Pn(u,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return bT(n,A({},l,{ref:c}),i)}const s$=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],o$=["component","slots","slotProps"],a$=["component"];function ag(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:s,getSlotOwnerState:o,internalForwardedProps:a}=t,l=se(t,s$),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=s,f=se(s,o$),p=c[e]||r,h=ET(d[e],i),m=PT(A({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:x},internalRef:g}=m,y=se(m.props,a$),v=Pn(g,h==null?void 0:h.ref,t.ref),w=o?o(y):{},S=A({},i,w),P=e==="root"?x||u:x,T=bT(p,A({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,y,P&&{as:P},{ref:v}),S);return Object.keys(w).forEach(C=>{delete T[C]}),[p,T]}function l$(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:s,rippleSize:o,in:a,onExited:l,timeout:u}=e,[c,d]=b.useState(!1),f=re(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+s,left:-(o/2)+i},h=re(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]),E.jsx("span",{className:f,style:p,children:E.jsx("span",{className:h})})}const fn=et("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),u$=["center","classes","className"];let Kf=e=>e,Wx,Hx,Gx,qx;const lg=550,c$=80,d$=Jo(Wx||(Wx=Kf` + */var lt=typeof Symbol=="function"&&Symbol.for,mv=lt?Symbol.for("react.element"):60103,gv=lt?Symbol.for("react.portal"):60106,Lf=lt?Symbol.for("react.fragment"):60107,jf=lt?Symbol.for("react.strict_mode"):60108,Df=lt?Symbol.for("react.profiler"):60114,Ff=lt?Symbol.for("react.provider"):60109,Nf=lt?Symbol.for("react.context"):60110,vv=lt?Symbol.for("react.async_mode"):60111,zf=lt?Symbol.for("react.concurrent_mode"):60111,Vf=lt?Symbol.for("react.forward_ref"):60112,Bf=lt?Symbol.for("react.suspense"):60113,SI=lt?Symbol.for("react.suspense_list"):60120,Uf=lt?Symbol.for("react.memo"):60115,Wf=lt?Symbol.for("react.lazy"):60116,EI=lt?Symbol.for("react.block"):60121,PI=lt?Symbol.for("react.fundamental"):60117,CI=lt?Symbol.for("react.responder"):60118,TI=lt?Symbol.for("react.scope"):60119;function tn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case mv:switch(e=e.type,e){case vv:case zf:case Lf:case Df:case jf:case Bf:return e;default:switch(e=e&&e.$$typeof,e){case Nf:case Vf:case Wf:case Uf:case Ff:return e;default:return t}}case gv:return t}}}function GC(e){return tn(e)===zf}Se.AsyncMode=vv;Se.ConcurrentMode=zf;Se.ContextConsumer=Nf;Se.ContextProvider=Ff;Se.Element=mv;Se.ForwardRef=Vf;Se.Fragment=Lf;Se.Lazy=Wf;Se.Memo=Uf;Se.Portal=gv;Se.Profiler=Df;Se.StrictMode=jf;Se.Suspense=Bf;Se.isAsyncMode=function(e){return GC(e)||tn(e)===vv};Se.isConcurrentMode=GC;Se.isContextConsumer=function(e){return tn(e)===Nf};Se.isContextProvider=function(e){return tn(e)===Ff};Se.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===mv};Se.isForwardRef=function(e){return tn(e)===Vf};Se.isFragment=function(e){return tn(e)===Lf};Se.isLazy=function(e){return tn(e)===Wf};Se.isMemo=function(e){return tn(e)===Uf};Se.isPortal=function(e){return tn(e)===gv};Se.isProfiler=function(e){return tn(e)===Df};Se.isStrictMode=function(e){return tn(e)===jf};Se.isSuspense=function(e){return tn(e)===Bf};Se.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Lf||e===zf||e===Df||e===jf||e===Bf||e===SI||typeof e=="object"&&e!==null&&(e.$$typeof===Wf||e.$$typeof===Uf||e.$$typeof===Ff||e.$$typeof===Nf||e.$$typeof===Vf||e.$$typeof===PI||e.$$typeof===CI||e.$$typeof===TI||e.$$typeof===EI)};Se.typeOf=tn;HC.exports=Se;var kI=HC.exports,qC=kI,MI={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},_I={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},KC={};KC[qC.ForwardRef]=MI;KC[qC.Memo]=_I;var OI=!0;function RI(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var QC=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||OI===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},YC=function(t,n,r){QC(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+i:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function AI(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 II={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},$I=/[A-Z]|^ms/g,LI=/_EMO_([^_]+?)_([^]*?)_EMO_/g,XC=function(t){return t.charCodeAt(1)===45},Cx=function(t){return t!=null&&typeof t!="boolean"},ih=jC(function(e){return XC(e)?e:e.replace($I,"-$&").toLowerCase()}),Tx=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(LI,function(r,i,s){return Yn={name:i,styles:s,next:Yn},i})}return II[t]!==1&&!XC(t)&&typeof n=="number"&&n!==0?n+"px":n};function _l(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 Yn={name:n.name,styles:n.styles,next:Yn},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Yn={name:r.name,styles:r.styles,next:Yn},r=r.next;var i=n.styles+";";return i}return jI(e,t,n)}case"function":{if(e!==void 0){var s=Yn,o=n(e);return Yn=s,_l(e,t,o)}break}}if(t==null)return n;var a=t[n];return a!==void 0?a:n}function jI(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?VI:BI},Rx=function(t,n,r){var i;if(n){var s=n.shouldForwardProp;i=t.__emotion_forwardProp&&s?function(o){return t.__emotion_forwardProp(o)&&s(o)}:s}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},UI=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return QC(n,r,i),FI(function(){return YC(n,r,i)}),null},WI=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,s,o;n!==void 0&&(s=n.label,o=n.target);var a=Rx(t,n,r),l=a||Ox(i),u=!l("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&d.push("label:"+s+";"),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(qI(i)?n:i):t;return E.jsx(zI,{styles:r})}function rT(e,t){return eg(e,t)}const KI=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},QI=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:nT,StyledEngineProvider:GI,ThemeContext:vu,css:Hf,default:rT,internal_processStyles:KI,keyframes:ea},Symbol.toStringTag,{value:"Module"}));function YI(e){return Object.keys(e).length===0}function xv(e=null){const t=b.useContext(vu);return!t||YI(t)?e:t}const XI=dv();function Gf(e=XI){return xv(e)}function ZI({props:e,name:t,defaultTheme:n,themeId:r}){let i=Gf(n);return r&&(i=i[r]||i),OC({theme:i,name:t,props:e})}const JI=["sx"],e3=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:hu;return Object.keys(e).forEach(s=>{i[s]?r.systemProps[s]=e[s]:r.otherProps[s]=e[s]}),r};function wv(e){const{sx:t}=e,n=se(e,JI),{systemProps:r,otherProps:i}=e3(n);let s;return Array.isArray(t)?s=[r,...t]:typeof t=="function"?s=(...o)=>{const a=t(...o);return Zr(a)?A({},r,a):r}:s=A({},r,t),A({},i,{sx:s})}const t3=Object.freeze(Object.defineProperty({__proto__:null,default:mu,extendSxProp:wv,unstable_createStyleFunctionSx:$C,unstable_defaultSxConfig:hu},Symbol.toStringTag,{value:"Module"}));function n3(e,t){return A({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Ge={},iT={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})(iT);var bv=iT.exports;const r3=Rr(b5),i3=Rr(X5);var sT=bv;Object.defineProperty(Ge,"__esModule",{value:!0});var Pt=Ge.alpha=uT;Ge.blend=m3;Ge.colorChannel=void 0;var ng=Ge.darken=Ev;Ge.decomposeColor=Cn;Ge.emphasize=cT;var s3=Ge.getContrastRatio=c3;Ge.getLuminance=md;Ge.hexToRgb=oT;Ge.hslToRgb=lT;var rg=Ge.lighten=Pv;Ge.private_safeAlpha=d3;Ge.private_safeColorChannel=void 0;Ge.private_safeDarken=f3;Ge.private_safeEmphasize=h3;Ge.private_safeLighten=p3;Ge.recomposeColor=ta;Ge.rgbToHex=u3;var Ax=sT(r3),o3=sT(i3);function Sv(e,t=0,n=1){return(0,o3.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 a3(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function Cn(e){if(e.type)return e;if(e.charAt(0)==="#")return Cn(oT(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error((0,Ax.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,Ax.default)(10,i))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:i}}const aT=e=>{const t=Cn(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};Ge.colorChannel=aT;const l3=(e,t)=>{try{return aT(e)}catch{return e}};Ge.private_safeColorChannel=l3;function ta(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,s)=>s<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 u3(e){if(e.indexOf("#")===0)return e;const{values:t}=Cn(e);return`#${t.map((n,r)=>a3(r===3?Math.round(255*n):n)).join("")}`}function lT(e){e=Cn(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,s=r*Math.min(i,1-i),o=(u,c=(u+n/30)%12)=>i-s*Math.max(Math.min(c-3,9-c,1),-1);let a="rgb";const l=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type==="hsla"&&(a+="a",l.push(t[3])),ta({type:a,values:l})}function md(e){e=Cn(e);let t=e.type==="hsl"||e.type==="hsla"?Cn(lT(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 c3(e,t){const n=md(e),r=md(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function uT(e,t){return e=Cn(e),t=Sv(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ta(e)}function d3(e,t,n){try{return uT(e,t)}catch{return e}}function Ev(e,t){if(e=Cn(e),t=Sv(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 ta(e)}function f3(e,t,n){try{return Ev(e,t)}catch{return e}}function Pv(e,t){if(e=Cn(e),t=Sv(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 ta(e)}function p3(e,t,n){try{return Pv(e,t)}catch{return e}}function cT(e,t=.15){return md(e)>.5?Ev(e,t):Pv(e,t)}function h3(e,t,n){try{return cT(e,t)}catch{return e}}function m3(e,t,n,r=1){const i=(l,u)=>Math.round((l**(1/r)*(1-n)+u**(1/r)*n)**r),s=Cn(e),o=Cn(t),a=[i(s.values[0],o.values[0]),i(s.values[1],o.values[1]),i(s.values[2],o.values[2])];return ta({type:"rgb",values:a})}const g3={black:"#000",white:"#fff"},Ol=g3,v3={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"},y3=v3,x3={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"},Rs=x3,w3={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"},As=w3,b3={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"},xa=b3,S3={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"},Is=S3,E3={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"},$s=E3,P3={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"},Ls=P3,C3=["mode","contrastThreshold","tonalOffset"],Ix={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:Ol.white,default:Ol.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}},oh={text:{primary:Ol.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:Ol.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 $x(e,t,n,r){const i=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=rg(e.main,i):t==="dark"&&(e.dark=ng(e.main,s)))}function T3(e="light"){return e==="dark"?{main:Is[200],light:Is[50],dark:Is[400]}:{main:Is[700],light:Is[400],dark:Is[800]}}function k3(e="light"){return e==="dark"?{main:Rs[200],light:Rs[50],dark:Rs[400]}:{main:Rs[500],light:Rs[300],dark:Rs[700]}}function M3(e="light"){return e==="dark"?{main:As[500],light:As[300],dark:As[700]}:{main:As[700],light:As[400],dark:As[800]}}function _3(e="light"){return e==="dark"?{main:$s[400],light:$s[300],dark:$s[700]}:{main:$s[700],light:$s[500],dark:$s[900]}}function O3(e="light"){return e==="dark"?{main:Ls[400],light:Ls[300],dark:Ls[700]}:{main:Ls[800],light:Ls[500],dark:Ls[900]}}function R3(e="light"){return e==="dark"?{main:xa[400],light:xa[300],dark:xa[700]}:{main:"#ed6c02",light:xa[500],dark:xa[900]}}function A3(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=se(e,C3),s=e.primary||T3(t),o=e.secondary||k3(t),a=e.error||M3(t),l=e.info||_3(t),u=e.success||O3(t),c=e.warning||R3(t);function d(m){return s3(m,oh.text.primary)>=n?oh.text.primary:Ix.text.primary}const f=({color:m,name:x,mainShade:g=500,lightShade:y=300,darkShade:v=700})=>{if(m=A({},m),!m.main&&m[g]&&(m.main=m[g]),!m.hasOwnProperty("main"))throw new Error(Cl(11,x?` (${x})`:"",g));if(typeof m.main!="string")throw new Error(Cl(12,x?` (${x})`:"",JSON.stringify(m.main)));return $x(m,"light",y,r),$x(m,"dark",v,r),m.contrastText||(m.contrastText=d(m.main)),m},p={dark:oh,light:Ix};return tr(A({common:A({},Ol),mode:t,primary:f({color:s,name:"primary"}),secondary:f({color:o,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:y3,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},p[t]),i)}const I3=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function $3(e){return Math.round(e*1e5)/1e5}const Lx={textTransform:"uppercase"},jx='"Roboto", "Helvetica", "Arial", sans-serif';function L3(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=jx,fontSize:i=14,fontWeightLight:s=300,fontWeightRegular:o=400,fontWeightMedium:a=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=se(n,I3),p=i/14,h=d||(g=>`${g/u*p}rem`),m=(g,y,v,w,S)=>A({fontFamily:r,fontWeight:g,fontSize:h(y),lineHeight:v},r===jx?{letterSpacing:`${$3(w/y)}em`}:{},S,c),x={h1:m(s,96,1.167,-1.5),h2:m(s,60,1.2,-.5),h3:m(o,48,1.167,0),h4:m(o,34,1.235,.25),h5:m(o,24,1.334,0),h6:m(a,20,1.6,.15),subtitle1:m(o,16,1.75,.15),subtitle2:m(a,14,1.57,.1),body1:m(o,16,1.5,.15),body2:m(o,14,1.43,.15),button:m(a,14,1.75,.4,Lx),caption:m(o,12,1.66,.4),overline:m(o,12,2.66,1,Lx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return tr(A({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:i,fontWeightLight:s,fontWeightRegular:o,fontWeightMedium:a,fontWeightBold:l},x),f,{clone:!1})}const j3=.2,D3=.14,F3=.12;function Oe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${j3})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${D3})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${F3})`].join(",")}const N3=["none",Oe(0,2,1,-1,0,1,1,0,0,1,3,0),Oe(0,3,1,-2,0,2,2,0,0,1,5,0),Oe(0,3,3,-2,0,3,4,0,0,1,8,0),Oe(0,2,4,-1,0,4,5,0,0,1,10,0),Oe(0,3,5,-1,0,5,8,0,0,1,14,0),Oe(0,3,5,-1,0,6,10,0,0,1,18,0),Oe(0,4,5,-2,0,7,10,1,0,2,16,1),Oe(0,5,5,-3,0,8,10,1,0,3,14,2),Oe(0,5,6,-3,0,9,12,1,0,3,16,2),Oe(0,6,6,-3,0,10,14,1,0,4,18,3),Oe(0,6,7,-4,0,11,15,1,0,4,20,3),Oe(0,7,8,-4,0,12,17,2,0,5,22,4),Oe(0,7,8,-4,0,13,19,2,0,5,24,4),Oe(0,7,9,-4,0,14,21,2,0,5,26,4),Oe(0,8,9,-5,0,15,22,2,0,6,28,5),Oe(0,8,10,-5,0,16,24,2,0,6,30,5),Oe(0,8,11,-5,0,17,26,2,0,6,32,5),Oe(0,9,11,-5,0,18,28,2,0,7,34,6),Oe(0,9,12,-6,0,19,29,2,0,7,36,6),Oe(0,10,13,-6,0,20,31,3,0,8,38,7),Oe(0,10,13,-6,0,21,33,3,0,8,40,7),Oe(0,10,14,-6,0,22,35,3,0,8,42,7),Oe(0,11,14,-7,0,23,36,3,0,9,44,8),Oe(0,11,15,-7,0,24,38,3,0,9,46,8)],z3=["duration","easing","delay"],V3={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)"},B3={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Dx(e){return`${Math.round(e)}ms`}function U3(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function W3(e){const t=A({},V3,e.easing),n=A({},B3,e.duration);return A({getAutoHeightDuration:U3,create:(i=["all"],s={})=>{const{duration:o=n.standard,easing:a=t.easeInOut,delay:l=0}=s;return se(s,z3),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof o=="string"?o:Dx(o)} ${a} ${typeof l=="string"?l:Dx(l)}`).join(",")}},e,{easing:t,duration:n})}const H3={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},G3=H3,q3=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Cv(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:s={}}=e,o=se(e,q3);if(e.vars)throw new Error(Cl(18));const a=A3(r),l=dv(e);let u=tr(l,{mixins:n3(l.breakpoints,n),palette:a,shadows:N3.slice(),typography:L3(a,s),transitions:W3(i),zIndex:A({},G3)});return u=tr(u,o),u=t.reduce((c,d)=>tr(c,d),u),u.unstable_sxConfig=A({},hu,o==null?void 0:o.unstable_sxConfig),u.unstable_sx=function(d){return mu({sx:d,theme:this})},u}const K3=Cv(),qf=K3,ws="$$material";function ut({props:e,name:t}){return ZI({props:e,name:t,defaultTheme:qf,themeId:ws})}var yu={},ah={exports:{}},Fx;function Q3(){return Fx||(Fx=1,function(e){function t(n,r){if(n==null)return{};var i={},s=Object.keys(n),o,a;for(a=0;a=0)&&(i[o]=n[o]);return i}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(ah)),ah.exports}const Y3=Rr(QI),X3=Rr(w5),Z3=Rr(k5),J3=Rr(T5),e4=Rr(HA),t4=Rr(t3);var na=bv;Object.defineProperty(yu,"__esModule",{value:!0});var n4=yu.default=m4;yu.shouldForwardProp=Tc;yu.systemDefaultTheme=void 0;var cn=na(tT()),ig=na(Q3()),Nx=u4(Y3),r4=X3;na(Z3);na(J3);var i4=na(e4),s4=na(t4);const o4=["ownerState"],a4=["variants"],l4=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function dT(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(dT=function(r){return r?n:t})(e)}function u4(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=dT(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var o=i?Object.getOwnPropertyDescriptor(e,s):null;o&&(o.get||o.set)?Object.defineProperty(r,s,o):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function c4(e){return Object.keys(e).length===0}function d4(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Tc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const f4=yu.systemDefaultTheme=(0,i4.default)(),p4=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ju({defaultTheme:e,theme:t,themeId:n}){return c4(t)?e:t[n]||t}function h4(e){return e?(t,n)=>n[e]:null}function kc(e,t){let{ownerState:n}=t,r=(0,ig.default)(t,o4);const i=typeof e=="function"?e((0,cn.default)({ownerState:n},r)):e;if(Array.isArray(i))return i.flatMap(s=>kc(s,(0,cn.default)({ownerState:n},r)));if(i&&typeof i=="object"&&Array.isArray(i.variants)){const{variants:s=[]}=i;let a=(0,ig.default)(i,a4);return s.forEach(l=>{let u=!0;typeof l.props=="function"?u=l.props((0,cn.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,cn.default)({ownerState:n},r,n)):l.style))}),a}return i}function m4(e={}){const{themeId:t,defaultTheme:n=f4,rootShouldForwardProp:r=Tc,slotShouldForwardProp:i=Tc}=e,s=o=>(0,s4.default)((0,cn.default)({},o,{theme:Ju((0,cn.default)({},o,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(o,a={})=>{(0,Nx.internal_processStyles)(o,S=>S.filter(P=>!(P!=null&&P.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f=h4(p4(u))}=a,p=(0,ig.default)(a,l4),h=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,m=d||!1;let x,g=Tc;u==="Root"||u==="root"?g=r:u?g=i:d4(o)&&(g=void 0);const y=(0,Nx.default)(o,(0,cn.default)({shouldForwardProp:g,label:x},p)),v=S=>typeof S=="function"&&S.__emotion_real!==S||(0,r4.isPlainObject)(S)?P=>kc(S,(0,cn.default)({},P,{theme:Ju({theme:P.theme,defaultTheme:n,themeId:t})})):S,w=(S,...P)=>{let T=v(S);const C=P?P.map(v):[];l&&f&&C.push(R=>{const I=Ju((0,cn.default)({},R,{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(([V,N])=>{D[V]=kc(N,(0,cn.default)({},R,{theme:I}))}),f(R,D)}),l&&!h&&C.push(R=>{var I;const $=Ju((0,cn.default)({},R,{defaultTheme:n,themeId:t})),D=$==null||(I=$.components)==null||(I=I[l])==null?void 0:I.variants;return kc({variants:D},(0,cn.default)({},R,{theme:$}))}),m||C.push(s);const M=C.length-P.length;if(Array.isArray(S)&&M>0){const R=new Array(M).fill("");T=[...S,...R],T.raw=[...S.raw,...R]}const k=y(T,...C);return o.muiName&&(k.muiName=o.muiName),k};return y.withConfig&&(w.withConfig=y.withConfig),w}}function g4(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const v4=e=>g4(e)&&e!=="classes",fT=v4,xe=n4({themeId:ws,defaultTheme:qf,rootShouldForwardProp:fT});function y4(e){return at("MuiSvgIcon",e)}et("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const x4=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],w4=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${Q(t)}`,`fontSize${Q(n)}`]};return vt(i,y4,r)},b4=xe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Q(n.color)}`],t[`fontSize${Q(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,s,o,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:((s=e.typography)==null||(o=s.pxToRem)==null?void 0:o.call(s,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]}}),sg=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiSvgIcon"}),{children:i,className:s,color:o="inherit",component:a="svg",fontSize:l="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,p=se(r,x4),h=b.isValidElement(i)&&i.type==="svg",m=A({},r,{color:o,component:a,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:h}),x={};c||(x.viewBox=f);const g=w4(m);return E.jsxs(b4,A({as:a,className:re(g.root,s),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?E.jsx("title",{children:d}):null]}))});sg.muiName="SvgIcon";function nn(e,t){function n(r,i){return E.jsx(sg,A({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return n.muiName=sg.muiName,b.memo(b.forwardRef(n))}const S4={configure:e=>{ov.configure(e)}},E4=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Q,createChainedFunction:Ym,createSvgIcon:nn,debounce:kC,deprecatedPropType:M5,isMuiElement:_5,ownerDocument:xr,ownerWindow:Zo,requirePropFactory:O5,setRef:fd,unstable_ClassNameGenerator:S4,unstable_useEnhancedEffect:Tl,unstable_useId:A5,unsupportedProp:I5,useControlled:$5,useEventCallback:Zi,useForkRef:Pn,useIsFocusVisible:sv},Symbol.toStringTag,{value:"Module"})),pT=nn(E.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"),P4=nn(E.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"),C4=nn(E.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"),T4=nn(E.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"),k4=nn(E.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");function M4({styles:e,themeId:t,defaultTheme:n={}}){const r=Gf(n),i=typeof e=="function"?e(t&&r[t]||r):e;return E.jsx(nT,{styles:i})}const _4=["className","component"];function O4(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:i}=e,s=rT("div",{shouldForwardProp:a=>a!=="theme"&&a!=="sx"&&a!=="as"})(mu);return b.forwardRef(function(l,u){const c=Gf(n),d=wv(l),{className:f,component:p="div"}=d,h=se(d,_4);return E.jsx(s,A({as:p,ref:u,className:re(f,i?i(r):r),theme:t&&c[t]||c},h))})}function R4(e,t,n,r,i){const[s,o]=b.useState(()=>i&&n?n(e).matches:r?r(e).matches:t);return Tl(()=>{let a=!0;if(!n)return;const l=n(e),u=()=>{a&&o(l.matches)};return u(),l.addListener(u),()=>{a=!1,l.removeListener(u)}},[e,n]),s}const hT=b.useSyncExternalStore;function A4(e,t,n,r,i){const s=b.useCallback(()=>t,[t]),o=b.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(r!==null){const{matches:c}=r(e);return()=>c}return s},[s,e,r,i,n]),[a,l]=b.useMemo(()=>{if(n===null)return[s,()=>()=>{}];const c=n(e);return[()=>c.matches,d=>(c.addListener(d),()=>{c.removeListener(d)})]},[s,n,e]);return hT(l,a,o)}function I4(e,t={}){const n=xv(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:i=!1,matchMedia:s=r?window.matchMedia:null,ssrMatchMedia:o=null,noSsr:a=!1}=OC({name:"MuiUseMediaQuery",props:t,theme:n});let l=typeof e=="function"?e(n):e;return l=l.replace(/^@media( ?)/m,""),(hT!==void 0?A4:R4)(l,i,s,o,a)}const $4=b.createContext(null),mT=$4;function gT(){return b.useContext(mT)}const L4=typeof Symbol=="function"&&Symbol.for,j4=L4?Symbol.for("mui.nested"):"__THEME_NESTED__";function D4(e,t){return typeof t=="function"?t(e):A({},e,t)}function F4(e){const{children:t,theme:n}=e,r=gT(),i=b.useMemo(()=>{const s=r===null?n:D4(r,n);return s!=null&&(s[j4]=r!==null),s},[n,r]);return E.jsx(mT.Provider,{value:i,children:t})}const N4=["value"],vT=b.createContext();function z4(e){let{value:t}=e,n=se(e,N4);return E.jsx(vT.Provider,A({value:t??!0},n))}const V4=()=>{const e=b.useContext(vT);return e??!1},zx={};function Vx(e,t,n,r=!1){return b.useMemo(()=>{const i=e&&t[e]||t;if(typeof n=="function"){const s=n(i),o=e?A({},t,{[e]:s}):s;return r?()=>o:o}return e?A({},t,{[e]:n}):A({},t,n)},[e,t,n,r])}function B4(e){const{children:t,theme:n,themeId:r}=e,i=xv(zx),s=gT()||zx,o=Vx(r,i,n),a=Vx(r,s,n,!0),l=o.direction==="rtl";return E.jsx(F4,{theme:a,children:E.jsx(vu.Provider,{value:o,children:E.jsx(z4,{value:l,children:t})})})}function Tv(){const e=Gf(qf);return e[ws]||e}const U4=["theme"];function W4(e){let{theme:t}=e,n=se(e,U4);const r=t[ws];return E.jsx(B4,A({},n,{themeId:r?ws:void 0,theme:r||t}))}const Bx=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function yT(e){return ut}function og(e,t){return og=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},og(e,t)}function xT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,og(e,t)}const Ux={disabled:!1},gd=W.createContext(null);var H4=function(t){return t.scrollTop},Aa="unmounted",Wi="exited",Hi="entering",zs="entered",ag="exiting",Ir=function(e){xT(t,e);function t(r,i){var s;s=e.call(this,r,i)||this;var o=i,a=o&&!o.isMounting?r.enter:r.appear,l;return s.appearStatus=null,r.in?a?(l=Wi,s.appearStatus=Hi):l=zs:r.unmountOnExit||r.mountOnEnter?l=Aa:l=Wi,s.state={status:l},s.nextCallback=null,s}t.getDerivedStateFromProps=function(i,s){var o=i.in;return o&&s.status===Aa?{status:Wi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var s=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==Hi&&o!==zs&&(s=Hi):(o===Hi||o===zs)&&(s=ag)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,s,o,a;return s=o=a=i,i!=null&&typeof i!="number"&&(s=i.exit,o=i.enter,a=i.appear!==void 0?i.appear:o),{exit:s,enter:o,appear:a}},n.updateStatus=function(i,s){if(i===void 0&&(i=!1),s!==null)if(this.cancelNextCallback(),s===Hi){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Xu.findDOMNode(this);o&&H4(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Wi&&this.setState({status:Aa})},n.performEnter=function(i){var s=this,o=this.props.enter,a=this.context?this.context.isMounting:i,l=this.props.nodeRef?[a]:[Xu.findDOMNode(this),a],u=l[0],c=l[1],d=this.getTimeouts(),f=a?d.appear:d.enter;if(!i&&!o||Ux.disabled){this.safeSetState({status:zs},function(){s.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Hi},function(){s.props.onEntering(u,c),s.onTransitionEnd(f,function(){s.safeSetState({status:zs},function(){s.props.onEntered(u,c)})})})},n.performExit=function(){var i=this,s=this.props.exit,o=this.getTimeouts(),a=this.props.nodeRef?void 0:Xu.findDOMNode(this);if(!s||Ux.disabled){this.safeSetState({status:Wi},function(){i.props.onExited(a)});return}this.props.onExit(a),this.safeSetState({status:ag},function(){i.props.onExiting(a),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Wi},function(){i.props.onExited(a)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,s){s=this.setNextCallback(s),this.setState(i,s)},n.setNextCallback=function(i){var s=this,o=!0;return this.nextCallback=function(a){o&&(o=!1,s.nextCallback=null,i(a))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},n.onTransitionEnd=function(i,s){this.setNextCallback(s);var o=this.props.nodeRef?this.props.nodeRef.current:Xu.findDOMNode(this),a=i==null&&!this.props.addEndListener;if(!o||a){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,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===Aa)return null;var s=this.props,o=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var a=se(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return W.createElement(gd.Provider,{value:null},typeof o=="function"?o(i,a):W.cloneElement(W.Children.only(o),a))},t}(W.Component);Ir.contextType=gd;Ir.propTypes={};function js(){}Ir.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:js,onEntering:js,onEntered:js,onExit:js,onExiting:js,onExited:js};Ir.UNMOUNTED=Aa;Ir.EXITED=Wi;Ir.ENTERING=Hi;Ir.ENTERED=zs;Ir.EXITING=ag;const wT=Ir;function G4(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kv(e,t){var n=function(s){return t&&b.isValidElement(s)?t(s):s},r=Object.create(null);return e&&b.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function q4(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 s in e)s in t?i.length&&(r[s]=i,i=[]):i.push(s);var o,a={};for(var l in t){if(r[l])for(o=0;oe.scrollTop;function vd(e,t){var n,r;const{timeout:i,easing:s,style:o={}}=e;return{duration:(n=o.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=o.transitionTimingFunction)!=null?r:typeof s=="object"?s[t.mode]:s,delay:o.transitionDelay}}function J4(e){return at("MuiPaper",e)}et("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 e$=["className","component","elevation","square","variant"],t$=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,s={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return vt(s,J4,i)},n$=xe("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 A({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"&&A({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Pt("#fff",Bx(t.elevation))}, ${Pt("#fff",Bx(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),r$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiPaper"}),{className:i,component:s="div",elevation:o=1,square:a=!1,variant:l="elevation"}=r,u=se(r,e$),c=A({},r,{component:s,elevation:o,square:a,variant:l}),d=t$(c);return E.jsx(n$,A({as:s,ownerState:c,className:re(d.root,i),ref:n},u))}),Rl=r$;function i$(e){return typeof e=="string"}function ST(e,t,n){return e===void 0||i$(e)?t:A({},t,{ownerState:A({},t.ownerState,n)})}function ET(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 PT(e,t,n){return typeof e=="function"?e(t,n):e}function Wx(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 CT(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:s}=e;if(!t){const p=re(n==null?void 0:n.className,s,i==null?void 0:i.className,r==null?void 0:r.className),h=A({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=A({},n,i,r);return p.length>0&&(m.className=p),Object.keys(h).length>0&&(m.style=h),{props:m,internalRef:void 0}}const o=ET(A({},i,r)),a=Wx(r),l=Wx(i),u=t(o),c=re(u==null?void 0:u.className,n==null?void 0:n.className,s,i==null?void 0:i.className,r==null?void 0:r.className),d=A({},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=A({},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 s$=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Hx(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:s=!1}=e,o=se(e,s$),a=s?{}:PT(r,i),{props:l,internalRef:u}=CT(A({},o,{externalSlotProps:a})),c=Pn(u,a==null?void 0:a.ref,(t=e.additionalProps)==null?void 0:t.ref);return ST(n,A({},l,{ref:c}),i)}const o$=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],a$=["component","slots","slotProps"],l$=["component"];function lg(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:s,getSlotOwnerState:o,internalForwardedProps:a}=t,l=se(t,o$),{component:u,slots:c={[e]:void 0},slotProps:d={[e]:void 0}}=s,f=se(s,a$),p=c[e]||r,h=PT(d[e],i),m=CT(A({className:n},l,{externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h})),{props:{component:x},internalRef:g}=m,y=se(m.props,l$),v=Pn(g,h==null?void 0:h.ref,t.ref),w=o?o(y):{},S=A({},i,w),P=e==="root"?x||u:x,T=ST(p,A({},e==="root"&&!u&&!c[e]&&a,e!=="root"&&!c[e]&&a,y,P&&{as:P},{ref:v}),S);return Object.keys(w).forEach(C=>{delete T[C]}),[p,T]}function u$(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:s,rippleSize:o,in:a,onExited:l,timeout:u}=e,[c,d]=b.useState(!1),f=re(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),p={width:o,height:o,top:-(o/2)+s,left:-(o/2)+i},h=re(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]),E.jsx("span",{className:f,style:p,children:E.jsx("span",{className:h})})}const fn=et("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),c$=["center","classes","className"];let Kf=e=>e,Gx,qx,Kx,Qx;const ug=550,d$=80,f$=ea(Gx||(Gx=Kf` 0% { transform: scale(0); opacity: 0.1; @@ -95,7 +95,7 @@ Error generating stack: `+s.message+` transform: scale(1); opacity: 0.3; } -`)),f$=Jo(Hx||(Hx=Kf` +`)),p$=ea(qx||(qx=Kf` 0% { opacity: 1; } @@ -103,7 +103,7 @@ Error generating stack: `+s.message+` 100% { opacity: 0; } -`)),p$=Jo(Gx||(Gx=Kf` +`)),h$=ea(Kx||(Kx=Kf` 0% { transform: scale(1); } @@ -115,7 +115,7 @@ Error generating stack: `+s.message+` 100% { transform: scale(1); } -`)),h$=ye("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),m$=ye(l$,{name:"MuiTouchRipple",slot:"Ripple"})(qx||(qx=Kf` +`)),m$=xe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),g$=xe(u$,{name:"MuiTouchRipple",slot:"Ripple"})(Qx||(Qx=Kf` opacity: 0; position: absolute; @@ -158,7 +158,7 @@ Error generating stack: `+s.message+` animation-iteration-count: infinite; animation-delay: 200ms; } -`),fn.rippleVisible,d$,lg,({theme:e})=>e.transitions.easing.easeInOut,fn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,fn.child,fn.childLeaving,f$,lg,({theme:e})=>e.transitions.easing.easeInOut,fn.childPulsate,p$,({theme:e})=>e.transitions.easing.easeInOut),g$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:s={},className:o}=r,a=se(r,u$),[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=D5(),h=b.useRef(null),m=b.useRef(null),x=b.useCallback(w=>{const{pulsate:S,rippleX:P,rippleY:T,rippleSize:C,cb:M}=w;u(k=>[...k,E.jsx(m$,{classes:{ripple:re(s.ripple,fn.ripple),rippleVisible:re(s.rippleVisible,fn.rippleVisible),ripplePulsate:re(s.ripplePulsate,fn.ripplePulsate),child:re(s.child,fn.child),childLeaving:re(s.childLeaving,fn.childLeaving),childPulsate:re(s.childPulsate,fn.childPulsate)},timeout:lg,pulsate:S,rippleX:P,rippleY:T,rippleSize:C},c.current)]),c.current+=1,d.current=M},[s]),g=b.useCallback((w={},S={},P=()=>{})=>{const{pulsate:T=!1,center:C=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,R=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,$,D;if(C||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)I=Math.round(R.width/2),$=Math.round(R.height/2);else{const{clientX:V,clientY:N}=w.touches&&w.touches.length>0?w.touches[0]:w;I=Math.round(V-R.left),$=Math.round(N-R.top)}if(C)D=Math.sqrt((2*R.width**2+R.height**2)/3),D%2===0&&(D+=1);else{const V=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(V**2+N**2)}w!=null&&w.touches?h.current===null&&(h.current=()=>{x({pulsate:T,rippleX:I,rippleY:$,rippleSize:D,cb:P})},p.start(c$,()=>{h.current&&(h.current(),h.current=null)})):x({pulsate:T,rippleX:I,rippleY:$,rippleSize:D,cb:P})},[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(P=>P.length>0?P.slice(1):P),d.current=S},[p]);return b.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:v}),[y,g,v]),E.jsx(h$,A({className:re(fn.root,s.root,o),ref:m},a,{children:E.jsx(X4,{component:null,exit:!0,children:l})}))}),v$=g$;function y$(e){return at("MuiButtonBase",e)}const x$=et("MuiButtonBase",["root","disabled","focusVisible"]),w$=["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"],b$=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,o=vt({root:["root",t&&"disabled",n&&"focusVisible"]},y$,i);return n&&r&&(o.root+=` ${r}`),o},S$=ye("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"},[`&.${x$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),E$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:s=!1,children:o,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:P,onMouseLeave:T,onMouseUp:C,onTouchEnd:M,onTouchMove:k,onTouchStart:R,tabIndex:I=0,TouchRippleProps:$,touchRippleRef:D,type:V}=r,N=se(r,w$),q=b.useRef(null),O=b.useRef(null),L=Pn(O,D),{isFocusVisibleRef:B,onFocus:K,onBlur:ne,ref:Ye}=r0(),[me,ct]=b.useState(!1);u&&me&&ct(!1),b.useImperativeHandle(i,()=>({focusVisible:()=>{ct(!0),q.current.focus()}}),[]);const[ie,U]=b.useState(!1);b.useEffect(()=>{U(!0)},[]);const ae=ie&&!c&&!u;b.useEffect(()=>{me&&f&&!c&&ie&&O.current.pulsate()},[c,f,me,ie]);function fe(ee,Ru,Mp=d){return Zi(Au=>(Ru&&Ru(Au),!Mp&&O.current&&O.current[ee](Au),!0))}const _e=fe("start",P),je=fe("stop",x),tt=fe("stop",g),yt=fe("stop",C),sn=fe("stop",ee=>{me&&ee.preventDefault(),T&&T(ee)}),Di=fe("start",R),xt=fe("stop",M),wt=fe("stop",k),Mn=fe("stop",ee=>{ne(ee),B.current===!1&&ct(!1),h&&h(ee)},!1),Ms=Zi(ee=>{q.current||(q.current=ee.currentTarget),K(ee),B.current===!0&&(ct(!0),v&&v(ee)),y&&y(ee)}),Fi=()=>{const ee=q.current;return l&&l!=="button"&&!(ee.tagName==="A"&&ee.href)},Ni=b.useRef(!1),Cp=Zi(ee=>{f&&!Ni.current&&me&&O.current&&ee.key===" "&&(Ni.current=!0,O.current.stop(ee,()=>{O.current.start(ee)})),ee.target===ee.currentTarget&&Fi()&&ee.key===" "&&ee.preventDefault(),w&&w(ee),ee.target===ee.currentTarget&&Fi()&&ee.key==="Enter"&&!u&&(ee.preventDefault(),m&&m(ee))}),_s=Zi(ee=>{f&&ee.key===" "&&O.current&&me&&!ee.defaultPrevented&&(Ni.current=!1,O.current.stop(ee,()=>{O.current.pulsate(ee)})),S&&S(ee),m&&ee.target===ee.currentTarget&&Fi()&&ee.key===" "&&!ee.defaultPrevented&&m(ee)});let zi=l;zi==="button"&&(N.href||N.to)&&(zi=p);const $r={};zi==="button"?($r.type=V===void 0?"button":V,$r.disabled=u):(!N.href&&!N.to&&($r.role="button"),u&&($r["aria-disabled"]=u));const Tp=Pn(n,Ye,q),Ou=A({},r,{centerRipple:s,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:I,focusVisible:me}),kp=b$(Ou);return E.jsxs(S$,A({as:zi,className:re(kp.root,a),ownerState:Ou,onBlur:Mn,onClick:m,onContextMenu:je,onFocus:Ms,onKeyDown:Cp,onKeyUp:_s,onMouseDown:_e,onMouseLeave:sn,onMouseUp:yt,onDragLeave:tt,onTouchEnd:xt,onTouchMove:wt,onTouchStart:Di,ref:Tp,tabIndex:u?-1:I,type:V},$r,N,{children:[o,ae?E.jsx(v$,A({ref:L,center:s},$)):null]}))}),ug=E$;function P$(e){return at("MuiAlert",e)}const C$=et("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Kx=C$;function T$(e){return at("MuiIconButton",e)}const k$=et("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),M$=["edge","children","className","color","disabled","disableFocusRipple","size"],_$=e=>{const{classes:t,disabled:n,color:r,edge:i,size:s}=e,o={root:["root",n&&"disabled",r!=="default"&&`color${Q(r)}`,i&&`edge${Q(i)}`,`size${Q(s)}`]};return vt(o,T$,t)},O$=ye(ug,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Q(n.color)}`],n.edge&&t[`edge${Q(n.edge)}`],t[`size${Q(n.size)}`]]}})(({theme:e,ownerState:t})=>A({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})`:Pt(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 A({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&A({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":A({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(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)},{[`&.${k$.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),R$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiIconButton"}),{edge:i=!1,children:s,className:o,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,d=se(r,M$),f=A({},r,{edge:i,color:a,disabled:l,disableFocusRipple:u,size:c}),p=_$(f);return E.jsx(O$,A({className:re(p.root,o),centerRipple:!0,focusRipple:!u,disabled:l,ref:n},d,{ownerState:f,children:s}))}),yd=R$,A$=nn(E.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"),I$=nn(E.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),$$=nn(E.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"),L$=nn(E.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"),j$=nn(E.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"),D$=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],F$=vT(),N$=e=>{const{variant:t,color:n,severity:r,classes:i}=e,s={root:["root",`color${Q(n||r)}`,`${t}${Q(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return vt(s,P$,i)},z$=ye(Rl,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Q(n.color||n.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?tg:ng,n=e.palette.mode==="light"?ng:tg;return A({},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),[`& .${Kx.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}`,[`& .${Kx.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:A({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)})}))]})}),V$=ye("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),B$=ye("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Qx=ye("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Yx={success:E.jsx(A$,{fontSize:"inherit"}),warning:E.jsx(I$,{fontSize:"inherit"}),error:E.jsx($$,{fontSize:"inherit"}),info:E.jsx(L$,{fontSize:"inherit"})},U$=b.forwardRef(function(t,n){const r=F$({props:t,name:"MuiAlert"}),{action:i,children:s,className:o,closeText:a="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:f=Yx,onClose:p,role:h="alert",severity:m="success",slotProps:x={},slots:g={},variant:y="standard"}=r,v=se(r,D$),w=A({},r,{color:l,severity:m,variant:y,colorSeverity:l||m}),S=N$(w),P={slots:A({closeButton:u.CloseButton,closeIcon:u.CloseIcon},g),slotProps:A({},c,x)},[T,C]=ag("closeButton",{elementType:yd,externalForwardedProps:P,ownerState:w}),[M,k]=ag("closeIcon",{elementType:j$,externalForwardedProps:P,ownerState:w});return E.jsxs(z$,A({role:h,elevation:0,ownerState:w,className:re(S.root,o),ref:n},v,{children:[d!==!1?E.jsx(V$,{ownerState:w,className:S.icon,children:d||f[m]||Yx[m]}):null,E.jsx(B$,{ownerState:w,className:S.message,children:s}),i!=null?E.jsx(Qx,{ownerState:w,className:S.action,children:i}):null,i==null&&p?E.jsx(Qx,{ownerState:w,className:S.action,children:E.jsx(T,A({size:"small","aria-label":a,title:a,color:"inherit",onClick:p},C,{children:E.jsx(M,A({fontSize:"small"},k))}))}):null]}))}),W$=U$;function H$(e){return at("MuiTypography",e)}et("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const G$=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],q$=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:s,classes:o}=e,a={root:["root",s,e.align!=="inherit"&&`align${Q(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return vt(a,H$,o)},K$=ye("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${Q(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>A({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})),Xx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Q$={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Y$=e=>Q$[e]||e,X$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiTypography"}),i=Y$(r.color),s=y0(A({},r,{color:i})),{align:o="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=Xx}=s,h=se(s,G$),m=A({},s,{align:o,color:i,className:a,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:p}),x=l||(d?"p":p[f]||Xx[f])||"span",g=q$(m);return E.jsx(K$,A({as:x,ref:n,ownerState:m,className:re(g.root,a)},h))}),Se=X$,Z$=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function J$(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 eL(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 tL(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||eL(e))}function nL(e){const t=[],n=[];return Array.from(e.querySelectorAll(Z$)).forEach((r,i)=>{const s=J$(r);s===-1||!tL(r)||(s===0?t.push(r):n.push({documentOrder:i,tabIndex:s,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 rL(){return!0}function iL(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:s=nL,isEnabled:o=rL,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=Pn(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=xr(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=xr(h.current),w=T=>{x.current=T,!(r||!o()||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()||!o()||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 C=[];if((v.activeElement===u.current||v.activeElement===c.current)&&(C=s(h.current)),C.length>0){var M,k;const R=!!((M=x.current)!=null&&M.shiftKey&&((k=x.current)==null?void 0:k.key)==="Tab"),I=C[0],$=C[C.length-1];typeof I!="string"&&typeof $!="string"&&(R?$.focus():I.focus())}else T.focus()};v.addEventListener("focusin",S),v.addEventListener("keydown",w,!0);const P=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&S()},50);return()=>{clearInterval(P),v.removeEventListener("focusin",S),v.removeEventListener("keydown",w,!0)}},[n,r,i,o,a,s]);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 E.jsxs(b.Fragment,{children:[E.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:m,onFocus:g}),E.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}function sL(e){return typeof e=="function"?e():e}const oL=b.forwardRef(function(t,n){const{children:r,container:i,disablePortal:s=!1}=t,[o,a]=b.useState(null),l=Pn(b.isValidElement(r)?r.ref:null,n);if(Tl(()=>{s||a(sL(i)||document.body)},[i,s]),Tl(()=>{if(o&&!s)return fd(n,o),()=>{fd(n,null)}},[n,o,s]),s){if(b.isValidElement(r)){const u={ref:l};return b.cloneElement(r,u)}return E.jsx(b.Fragment,{children:r})}return E.jsx(b.Fragment,{children:o&&df.createPortal(r,o)})});function aL(e){const t=xr(e);return t.body===e?Xo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function qa(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Zx(e){return parseInt(Xo(e).getComputedStyle(e).paddingRight,10)||0}function lL(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 Jx(e,t,n,r,i){const s=[t,n,...r];[].forEach.call(e.children,o=>{const a=s.indexOf(o)===-1,l=!lL(o);a&&l&&qa(o,i)})}function lh(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function uL(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(aL(r)){const o=H5(xr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Zx(r)+o}px`;const a=xr(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Zx(l)+o}px`})}let s;if(r.parentNode instanceof DocumentFragment)s=xr(r).body;else{const o=r.parentElement,a=Xo(r);s=(o==null?void 0:o.nodeName)==="HTML"&&a.getComputedStyle(o).overflowY==="scroll"?o:r}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:o,property:a})=>{s?o.style.setProperty(a,s):o.style.removeProperty(a)})}}function cL(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class dL{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&&qa(t.modalRef,!1);const i=cL(n);Jx(n,t.mount,t.modalRef,i,!0);const s=lh(this.containers,o=>o.container===n);return s!==-1?(this.containers[s].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=lh(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=uL(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=lh(this.containers,o=>o.modals.indexOf(t)!==-1),s=this.containers[i];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(r,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&qa(t.modalRef,n),Jx(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(i,1);else{const o=s.modals[s.modals.length-1];o.modalRef&&qa(o.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function fL(e){return typeof e=="function"?e():e}function pL(e){return e?e.props.hasOwnProperty("in"):!1}const hL=new dL;function mL(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=hL,closeAfterTransition:s=!1,onTransitionEnter:o,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,f=b.useRef({}),p=b.useRef(null),h=b.useRef(null),m=Pn(h,d),[x,g]=b.useState(!c),y=pL(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const w=()=>xr(p.current),S=()=>(f.current.modalRef=h.current,f.current.mount=p.current,f.current),P=()=>{i.mount(S(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},T=Zi(()=>{const N=fL(t)||w().body;i.add(S(),N),h.current&&P()}),C=b.useCallback(()=>i.isTopModal(S()),[i]),M=Zi(N=>{p.current=N,N&&(c&&C()?P():h.current&&qa(h.current,v))}),k=b.useCallback(()=>{i.remove(S(),v)},[v,i]);b.useEffect(()=>()=>{k()},[k]),b.useEffect(()=>{c?T():(!y||!s)&&k()},[c,k,y,s,T]);const R=N=>q=>{var O;(O=N.onKeyDown)==null||O.call(N,q),!(q.key!=="Escape"||q.which===229||!C())&&(n||(q.stopPropagation(),u&&u(q,"escapeKeyDown")))},I=N=>q=>{var O;(O=N.onClick)==null||O.call(N,q),q.target===q.currentTarget&&u&&u(q,"backdropClick")};return{getRootProps:(N={})=>{const q=ST(e);delete q.onTransitionEnter,delete q.onTransitionExited;const O=A({},q,N);return A({role:"presentation"},O,{onKeyDown:R(O),ref:m})},getBackdropProps:(N={})=>{const q=N;return A({"aria-hidden":!0},q,{onClick:I(q),open:c})},getTransitionProps:()=>{const N=()=>{g(!1),o&&o()},q=()=>{g(!0),a&&a(),s&&k()};return{onEnter:Qm(N,l==null?void 0:l.props.onEnter),onExited:Qm(q,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:M,isTopModal:C,exited:x,hasTransition:y}}const gL=nn(E.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 vL(e){return at("MuiChip",e)}const yL=et("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"]),he=yL,xL=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],wL=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:s,onDelete:o,clickable:a,variant:l}=e,u={root:["root",l,n&&"disabled",`size${Q(r)}`,`color${Q(i)}`,a&&"clickable",a&&`clickableColor${Q(i)}`,o&&"deletable",o&&`deletableColor${Q(i)}`,`${l}${Q(i)}`],label:["label",`label${Q(r)}`],avatar:["avatar",`avatar${Q(r)}`,`avatarColor${Q(i)}`],icon:["icon",`icon${Q(r)}`,`iconColor${Q(s)}`],deleteIcon:["deleteIcon",`deleteIcon${Q(r)}`,`deleteIconColor${Q(i)}`,`deleteIcon${Q(l)}Color${Q(i)}`]};return vt(u,vL,t)},bL=ye("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:s,onDelete:o,size:a,variant:l}=n;return[{[`& .${he.avatar}`]:t.avatar},{[`& .${he.avatar}`]:t[`avatar${Q(a)}`]},{[`& .${he.avatar}`]:t[`avatarColor${Q(r)}`]},{[`& .${he.icon}`]:t.icon},{[`& .${he.icon}`]:t[`icon${Q(a)}`]},{[`& .${he.icon}`]:t[`iconColor${Q(i)}`]},{[`& .${he.deleteIcon}`]:t.deleteIcon},{[`& .${he.deleteIcon}`]:t[`deleteIcon${Q(a)}`]},{[`& .${he.deleteIcon}`]:t[`deleteIconColor${Q(r)}`]},{[`& .${he.deleteIcon}`]:t[`deleteIcon${Q(l)}Color${Q(r)}`]},t.root,t[`size${Q(a)}`],t[`color${Q(r)}`],s&&t.clickable,s&&r!=="default"&&t[`clickableColor${Q(r)})`],o&&t.deletable,o&&r!=="default"&&t[`deletableColor${Q(r)}`],t[l],t[`${l}${Q(r)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return A({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",[`&.${he.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${he.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${he.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${he.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${he.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${he.icon}`]:A({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&A({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${he.deleteIcon}`]:A({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Pt(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)`:Pt(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)`:Pt(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&&{[`&.${he.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${he.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>A({},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}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${he.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(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, &.${he.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>A({},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]}`,[`&.${he.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${he.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${he.avatar}`]:{marginLeft:4},[`& .${he.avatarSmall}`]:{marginLeft:2},[`& .${he.icon}`]:{marginLeft:4},[`& .${he.iconSmall}`]:{marginLeft:2},[`& .${he.deleteIcon}`]:{marginRight:5},[`& .${he.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)`:Pt(e.palette[t.color].main,.7)}`,[`&.${he.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${he.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Pt(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${he.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Pt(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),SL=ye("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Q(r)}`]]}})(({ownerState:e})=>A({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 ew(e){return e.key==="Backspace"||e.key==="Delete"}const EL=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiChip"}),{avatar:i,className:s,clickable:o,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,xL),P=b.useRef(null),T=Pn(P,n),C=L=>{L.stopPropagation(),h&&h(L)},M=L=>{L.currentTarget===L.target&&ew(L)&&L.preventDefault(),m&&m(L)},k=L=>{L.currentTarget===L.target&&(h&&ew(L)?h(L):L.key==="Escape"&&P.current&&P.current.blur()),x&&x(L)},R=o!==!1&&p?!0:o,I=R||h?ug:l||"div",$=A({},r,{component:I,disabled:c,size:g,color:a,iconColor:b.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:R,variant:y}),D=wL($),V=I===ug?A({component:l||"div",focusVisibleClassName:D.focusVisible},h&&{disableRipple:!0}):{};let N=null;h&&(N=u&&b.isValidElement(u)?b.cloneElement(u,{className:re(u.props.className,D.deleteIcon),onClick:C}):E.jsx(gL,{className:re(D.deleteIcon),onClick:C}));let q=null;i&&b.isValidElement(i)&&(q=b.cloneElement(i,{className:re(D.avatar,i.props.className)}));let O=null;return d&&b.isValidElement(d)&&(O=b.cloneElement(d,{className:re(D.icon,d.props.className)})),E.jsxs(bL,A({as:I,className:re(D.root,s),disabled:R&&c?!0:void 0,onClick:p,onKeyDown:M,onKeyUp:k,ref:T,tabIndex:w&&c?-1:v,ownerState:$},V,S,{children:[q||O,E.jsx(SL,{className:re(D.label),ownerState:$,children:f}),N]}))}),PL=EL;function CL(e){return E.jsx(k4,A({},e,{defaultTheme:qf,themeId:ws}))}const TL=nn(E.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 kL(e){return at("MuiAvatar",e)}et("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const ML=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],_L=vT(),OL=e=>{const{classes:t,variant:n,colorDefault:r}=e;return vt({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},kL,t)},RL=ye("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:A({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:A({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),AL=ye("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),IL=ye(TL,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function $L({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,s]=b.useState(!1);return b.useEffect(()=>{if(!n&&!r)return;s(!1);let o=!0;const a=new Image;return a.onload=()=>{o&&s("loaded")},a.onerror=()=>{o&&s("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{o=!1}},[e,t,n,r]),i}const LL=b.forwardRef(function(t,n){const r=_L({props:t,name:"MuiAvatar"}),{alt:i,children:s,className:o,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:d,src:f,srcSet:p,variant:h="circular"}=r,m=se(r,ML);let x=null;const g=$L(A({},c,{src:f,srcSet:p})),y=f||p,v=y&&g!=="error",w=A({},r,{colorDefault:!v,component:a,variant:h}),S=OL(w),[P,T]=ag("img",{className:S.img,elementType:AL,externalForwardedProps:{slots:l,slotProps:{img:A({},c,u.img)}},additionalProps:{alt:i,src:f,srcSet:p,sizes:d},ownerState:w});return v?x=E.jsx(P,A({},T)):s||s===0?x=s:y&&i?x=i[0]:x=E.jsx(IL,{ownerState:w,className:S.fallback}),E.jsx(RL,A({as:a,ownerState:w,className:re(S.root,o),ref:n},m,{children:x}))}),xd=LL,jL=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],DL={entering:{opacity:1},entered:{opacity:1}},FL=b.forwardRef(function(t,n){const r=P0(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:o=!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=xT}=t,v=se(t,jL),w=b.useRef(null),S=Pn(w,a.ref,n),P=D=>V=>{if(D){const N=w.current;V===void 0?D(N):D(N,V)}},T=P(f),C=P((D,V)=>{wT(D);const N=vd({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,V)}),M=P(d),k=P(m),R=P(D=>{const V=vd({style:x,timeout:g,easing:l},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",V),D.style.transition=r.transitions.create("opacity",V),p&&p(D)}),I=P(h),$=D=>{s&&s(w.current,D)};return E.jsx(y,A({appear:o,in:u,nodeRef:w,onEnter:C,onEntered:M,onEntering:T,onExit:R,onExited:I,onExiting:k,addEndListener:$,timeout:g},v,{children:(D,V)=>b.cloneElement(a,A({style:A({opacity:0,visibility:D==="exited"&&!u?"hidden":void 0},DL[D],x,a.props.style),ref:S},V))}))}),NL=FL;function zL(e){return at("MuiBackdrop",e)}et("MuiBackdrop",["root","invisible"]);const VL=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],BL=e=>{const{classes:t,invisible:n}=e;return vt({root:["root",n&&"invisible"]},zL,t)},UL=ye("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>A({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"})),WL=b.forwardRef(function(t,n){var r,i,s;const o=ut({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=NL,transitionDuration:g}=o,y=se(o,VL),v=A({},o,{component:u,invisible:f}),w=BL(v),S=(r=h.root)!=null?r:d.root;return E.jsx(x,A({in:p,timeout:g},y,{children:E.jsx(UL,A({"aria-hidden":!0},S,{as:(i=(s=m.root)!=null?s:c.Root)!=null?i:u,className:re(w.root,l,S==null?void 0:S.className),ownerState:A({},v,S==null?void 0:S.ownerState),classes:w,ref:n,children:a}))}))}),HL=WL,GL=et("MuiBox",["root"]),qL=GL,KL=E0(),QL=_4({themeId:ws,defaultTheme:KL,defaultClassName:qL.root,generateClassName:i0.generate}),X=QL;function YL(e){return at("MuiCard",e)}et("MuiCard",["root"]);const XL=["className","raised"],ZL=e=>{const{classes:t}=e;return vt({root:["root"]},YL,t)},JL=ye(Rl,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),ej=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiCard"}),{className:i,raised:s=!1}=r,o=se(r,XL),a=A({},r,{raised:s}),l=ZL(a);return E.jsx(JL,A({className:re(l.root,i),elevation:s?8:void 0,ref:n,ownerState:a},o))}),tj=ej;function nj(e){return at("MuiCardMedia",e)}et("MuiCardMedia",["root","media","img"]);const rj=["children","className","component","image","src","style"],ij=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return vt({root:["root",n&&"media",r&&"img"]},nj,t)},sj=ye("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})=>A({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),oj=["video","audio","picture","iframe","img"],aj=["picture","img"],lj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiCardMedia"}),{children:i,className:s,component:o="div",image:a,src:l,style:u}=r,c=se(r,rj),d=oj.indexOf(o)!==-1,f=!d&&a?A({backgroundImage:`url("${a}")`},u):u,p=A({},r,{component:o,isMediaComponent:d,isImageComponent:aj.indexOf(o)!==-1}),h=ij(p);return E.jsx(sj,A({className:re(h.root,s),as:o,role:!d&&a?"img":void 0,ref:n,style:f,ownerState:p,src:d?a||l:void 0},c,{children:i}))}),uj=lj;function cj(e){return at("MuiCircularProgress",e)}et("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const dj=["className","color","disableShrink","size","style","thickness","value","variant"];let Qf=e=>e,tw,nw,rw,iw;const jr=44,fj=Jo(tw||(tw=Qf` +`),fn.rippleVisible,f$,ug,({theme:e})=>e.transitions.easing.easeInOut,fn.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,fn.child,fn.childLeaving,p$,ug,({theme:e})=>e.transitions.easing.easeInOut,fn.childPulsate,h$,({theme:e})=>e.transitions.easing.easeInOut),v$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:s={},className:o}=r,a=se(r,c$),[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=F5(),h=b.useRef(null),m=b.useRef(null),x=b.useCallback(w=>{const{pulsate:S,rippleX:P,rippleY:T,rippleSize:C,cb:M}=w;u(k=>[...k,E.jsx(g$,{classes:{ripple:re(s.ripple,fn.ripple),rippleVisible:re(s.rippleVisible,fn.rippleVisible),ripplePulsate:re(s.ripplePulsate,fn.ripplePulsate),child:re(s.child,fn.child),childLeaving:re(s.childLeaving,fn.childLeaving),childPulsate:re(s.childPulsate,fn.childPulsate)},timeout:ug,pulsate:S,rippleX:P,rippleY:T,rippleSize:C},c.current)]),c.current+=1,d.current=M},[s]),g=b.useCallback((w={},S={},P=()=>{})=>{const{pulsate:T=!1,center:C=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,R=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let I,$,D;if(C||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)I=Math.round(R.width/2),$=Math.round(R.height/2);else{const{clientX:V,clientY:N}=w.touches&&w.touches.length>0?w.touches[0]:w;I=Math.round(V-R.left),$=Math.round(N-R.top)}if(C)D=Math.sqrt((2*R.width**2+R.height**2)/3),D%2===0&&(D+=1);else{const V=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(V**2+N**2)}w!=null&&w.touches?h.current===null&&(h.current=()=>{x({pulsate:T,rippleX:I,rippleY:$,rippleSize:D,cb:P})},p.start(d$,()=>{h.current&&(h.current(),h.current=null)})):x({pulsate:T,rippleX:I,rippleY:$,rippleSize:D,cb:P})},[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(P=>P.length>0?P.slice(1):P),d.current=S},[p]);return b.useImperativeHandle(n,()=>({pulsate:y,start:g,stop:v}),[y,g,v]),E.jsx(m$,A({className:re(fn.root,s.root,o),ref:m},a,{children:E.jsx(Z4,{component:null,exit:!0,children:l})}))}),y$=v$;function x$(e){return at("MuiButtonBase",e)}const w$=et("MuiButtonBase",["root","disabled","focusVisible"]),b$=["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"],S$=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,o=vt({root:["root",t&&"disabled",n&&"focusVisible"]},x$,i);return n&&r&&(o.root+=` ${r}`),o},E$=xe("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"},[`&.${w$.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),P$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:s=!1,children:o,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:P,onMouseLeave:T,onMouseUp:C,onTouchEnd:M,onTouchMove:k,onTouchStart:R,tabIndex:I=0,TouchRippleProps:$,touchRippleRef:D,type:V}=r,N=se(r,b$),q=b.useRef(null),O=b.useRef(null),L=Pn(O,D),{isFocusVisibleRef:B,onFocus:K,onBlur:ne,ref:Ye}=sv(),[ge,ct]=b.useState(!1);u&&ge&&ct(!1),b.useImperativeHandle(i,()=>({focusVisible:()=>{ct(!0),q.current.focus()}}),[]);const[ie,U]=b.useState(!1);b.useEffect(()=>{U(!0)},[]);const ae=ie&&!c&&!u;b.useEffect(()=>{ge&&f&&!c&&ie&&O.current.pulsate()},[c,f,ge,ie]);function pe(ee,Ru,Mp=d){return Zi(Au=>(Ru&&Ru(Au),!Mp&&O.current&&O.current[ee](Au),!0))}const _e=pe("start",P),je=pe("stop",x),tt=pe("stop",g),yt=pe("stop",C),sn=pe("stop",ee=>{ge&&ee.preventDefault(),T&&T(ee)}),Di=pe("start",R),xt=pe("stop",M),wt=pe("stop",k),Mn=pe("stop",ee=>{ne(ee),B.current===!1&&ct(!1),h&&h(ee)},!1),Ms=Zi(ee=>{q.current||(q.current=ee.currentTarget),K(ee),B.current===!0&&(ct(!0),v&&v(ee)),y&&y(ee)}),Fi=()=>{const ee=q.current;return l&&l!=="button"&&!(ee.tagName==="A"&&ee.href)},Ni=b.useRef(!1),Cp=Zi(ee=>{f&&!Ni.current&&ge&&O.current&&ee.key===" "&&(Ni.current=!0,O.current.stop(ee,()=>{O.current.start(ee)})),ee.target===ee.currentTarget&&Fi()&&ee.key===" "&&ee.preventDefault(),w&&w(ee),ee.target===ee.currentTarget&&Fi()&&ee.key==="Enter"&&!u&&(ee.preventDefault(),m&&m(ee))}),_s=Zi(ee=>{f&&ee.key===" "&&O.current&&ge&&!ee.defaultPrevented&&(Ni.current=!1,O.current.stop(ee,()=>{O.current.pulsate(ee)})),S&&S(ee),m&&ee.target===ee.currentTarget&&Fi()&&ee.key===" "&&!ee.defaultPrevented&&m(ee)});let zi=l;zi==="button"&&(N.href||N.to)&&(zi=p);const $r={};zi==="button"?($r.type=V===void 0?"button":V,$r.disabled=u):(!N.href&&!N.to&&($r.role="button"),u&&($r["aria-disabled"]=u));const Tp=Pn(n,Ye,q),Ou=A({},r,{centerRipple:s,component:l,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:I,focusVisible:ge}),kp=S$(Ou);return E.jsxs(E$,A({as:zi,className:re(kp.root,a),ownerState:Ou,onBlur:Mn,onClick:m,onContextMenu:je,onFocus:Ms,onKeyDown:Cp,onKeyUp:_s,onMouseDown:_e,onMouseLeave:sn,onMouseUp:yt,onDragLeave:tt,onTouchEnd:xt,onTouchMove:wt,onTouchStart:Di,ref:Tp,tabIndex:u?-1:I,type:V},$r,N,{children:[o,ae?E.jsx(y$,A({ref:L,center:s},$)):null]}))}),cg=P$;function C$(e){return at("MuiAlert",e)}const T$=et("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]),Yx=T$;function k$(e){return at("MuiIconButton",e)}const M$=et("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),_$=["edge","children","className","color","disabled","disableFocusRipple","size"],O$=e=>{const{classes:t,disabled:n,color:r,edge:i,size:s}=e,o={root:["root",n&&"disabled",r!=="default"&&`color${Q(r)}`,i&&`edge${Q(i)}`,`size${Q(s)}`]};return vt(o,k$,t)},R$=xe(cg,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Q(n.color)}`],n.edge&&t[`edge${Q(n.edge)}`],t[`size${Q(n.size)}`]]}})(({theme:e,ownerState:t})=>A({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})`:Pt(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 A({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&A({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":A({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(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)},{[`&.${M$.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),A$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiIconButton"}),{edge:i=!1,children:s,className:o,color:a="default",disabled:l=!1,disableFocusRipple:u=!1,size:c="medium"}=r,d=se(r,_$),f=A({},r,{edge:i,color:a,disabled:l,disableFocusRipple:u,size:c}),p=O$(f);return E.jsx(R$,A({className:re(p.root,o),centerRipple:!0,focusRipple:!u,disabled:l,ref:n},d,{ownerState:f,children:s}))}),yd=A$,I$=nn(E.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"),$$=nn(E.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),L$=nn(E.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"),j$=nn(E.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"),D$=nn(E.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"),F$=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],N$=yT(),z$=e=>{const{variant:t,color:n,severity:r,classes:i}=e,s={root:["root",`color${Q(n||r)}`,`${t}${Q(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return vt(s,C$,i)},V$=xe(Rl,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Q(n.color||n.severity)}`]]}})(({theme:e})=>{const t=e.palette.mode==="light"?ng:rg,n=e.palette.mode==="light"?rg:ng;return A({},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),[`& .${Yx.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}`,[`& .${Yx.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:A({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)})}))]})}),B$=xe("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),U$=xe("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),Xx=xe("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),Zx={success:E.jsx(I$,{fontSize:"inherit"}),warning:E.jsx($$,{fontSize:"inherit"}),error:E.jsx(L$,{fontSize:"inherit"}),info:E.jsx(j$,{fontSize:"inherit"})},W$=b.forwardRef(function(t,n){const r=N$({props:t,name:"MuiAlert"}),{action:i,children:s,className:o,closeText:a="Close",color:l,components:u={},componentsProps:c={},icon:d,iconMapping:f=Zx,onClose:p,role:h="alert",severity:m="success",slotProps:x={},slots:g={},variant:y="standard"}=r,v=se(r,F$),w=A({},r,{color:l,severity:m,variant:y,colorSeverity:l||m}),S=z$(w),P={slots:A({closeButton:u.CloseButton,closeIcon:u.CloseIcon},g),slotProps:A({},c,x)},[T,C]=lg("closeButton",{elementType:yd,externalForwardedProps:P,ownerState:w}),[M,k]=lg("closeIcon",{elementType:D$,externalForwardedProps:P,ownerState:w});return E.jsxs(V$,A({role:h,elevation:0,ownerState:w,className:re(S.root,o),ref:n},v,{children:[d!==!1?E.jsx(B$,{ownerState:w,className:S.icon,children:d||f[m]||Zx[m]}):null,E.jsx(U$,{ownerState:w,className:S.message,children:s}),i!=null?E.jsx(Xx,{ownerState:w,className:S.action,children:i}):null,i==null&&p?E.jsx(Xx,{ownerState:w,className:S.action,children:E.jsx(T,A({size:"small","aria-label":a,title:a,color:"inherit",onClick:p},C,{children:E.jsx(M,A({fontSize:"small"},k))}))}):null]}))}),H$=W$;function G$(e){return at("MuiTypography",e)}et("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const q$=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],K$=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:s,classes:o}=e,a={root:["root",s,e.align!=="inherit"&&`align${Q(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return vt(a,G$,o)},Q$=xe("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${Q(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>A({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})),Jx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Y$={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},X$=e=>Y$[e]||e,Z$=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiTypography"}),i=X$(r.color),s=wv(A({},r,{color:i})),{align:o="inherit",className:a,component:l,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:p=Jx}=s,h=se(s,q$),m=A({},s,{align:o,color:i,className:a,component:l,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:p}),x=l||(d?"p":p[f]||Jx[f])||"span",g=K$(m);return E.jsx(Q$,A({as:x,ref:n,ownerState:m,className:re(g.root,a)},h))}),ce=Z$,J$=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function eL(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 tL(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 nL(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||tL(e))}function rL(e){const t=[],n=[];return Array.from(e.querySelectorAll(J$)).forEach((r,i)=>{const s=eL(r);s===-1||!nL(r)||(s===0?t.push(r):n.push({documentOrder:i,tabIndex:s,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 iL(){return!0}function sL(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:s=rL,isEnabled:o=iL,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=Pn(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=xr(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=xr(h.current),w=T=>{x.current=T,!(r||!o()||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()||!o()||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 C=[];if((v.activeElement===u.current||v.activeElement===c.current)&&(C=s(h.current)),C.length>0){var M,k;const R=!!((M=x.current)!=null&&M.shiftKey&&((k=x.current)==null?void 0:k.key)==="Tab"),I=C[0],$=C[C.length-1];typeof I!="string"&&typeof $!="string"&&(R?$.focus():I.focus())}else T.focus()};v.addEventListener("focusin",S),v.addEventListener("keydown",w,!0);const P=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&S()},50);return()=>{clearInterval(P),v.removeEventListener("focusin",S),v.removeEventListener("keydown",w,!0)}},[n,r,i,o,a,s]);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 E.jsxs(b.Fragment,{children:[E.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),b.cloneElement(t,{ref:m,onFocus:g}),E.jsx("div",{tabIndex:a?0:-1,onFocus:y,ref:c,"data-testid":"sentinelEnd"})]})}function oL(e){return typeof e=="function"?e():e}const aL=b.forwardRef(function(t,n){const{children:r,container:i,disablePortal:s=!1}=t,[o,a]=b.useState(null),l=Pn(b.isValidElement(r)?r.ref:null,n);if(Tl(()=>{s||a(oL(i)||document.body)},[i,s]),Tl(()=>{if(o&&!s)return fd(n,o),()=>{fd(n,null)}},[n,o,s]),s){if(b.isValidElement(r)){const u={ref:l};return b.cloneElement(r,u)}return E.jsx(b.Fragment,{children:r})}return E.jsx(b.Fragment,{children:o&&df.createPortal(r,o)})});function lL(e){const t=xr(e);return t.body===e?Zo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function qa(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ew(e){return parseInt(Zo(e).getComputedStyle(e).paddingRight,10)||0}function uL(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 tw(e,t,n,r,i){const s=[t,n,...r];[].forEach.call(e.children,o=>{const a=s.indexOf(o)===-1,l=!uL(o);a&&l&&qa(o,i)})}function lh(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function cL(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(lL(r)){const o=G5(xr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ew(r)+o}px`;const a=xr(r).querySelectorAll(".mui-fixed");[].forEach.call(a,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${ew(l)+o}px`})}let s;if(r.parentNode instanceof DocumentFragment)s=xr(r).body;else{const o=r.parentElement,a=Zo(r);s=(o==null?void 0:o.nodeName)==="HTML"&&a.getComputedStyle(o).overflowY==="scroll"?o:r}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:o,property:a})=>{s?o.style.setProperty(a,s):o.style.removeProperty(a)})}}function dL(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class fL{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&&qa(t.modalRef,!1);const i=dL(n);tw(n,t.mount,t.modalRef,i,!0);const s=lh(this.containers,o=>o.container===n);return s!==-1?(this.containers[s].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=lh(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=cL(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=lh(this.containers,o=>o.modals.indexOf(t)!==-1),s=this.containers[i];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(r,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&qa(t.modalRef,n),tw(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(i,1);else{const o=s.modals[s.modals.length-1];o.modalRef&&qa(o.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function pL(e){return typeof e=="function"?e():e}function hL(e){return e?e.props.hasOwnProperty("in"):!1}const mL=new fL;function gL(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=mL,closeAfterTransition:s=!1,onTransitionEnter:o,onTransitionExited:a,children:l,onClose:u,open:c,rootRef:d}=e,f=b.useRef({}),p=b.useRef(null),h=b.useRef(null),m=Pn(h,d),[x,g]=b.useState(!c),y=hL(l);let v=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(v=!1);const w=()=>xr(p.current),S=()=>(f.current.modalRef=h.current,f.current.mount=p.current,f.current),P=()=>{i.mount(S(),{disableScrollLock:r}),h.current&&(h.current.scrollTop=0)},T=Zi(()=>{const N=pL(t)||w().body;i.add(S(),N),h.current&&P()}),C=b.useCallback(()=>i.isTopModal(S()),[i]),M=Zi(N=>{p.current=N,N&&(c&&C()?P():h.current&&qa(h.current,v))}),k=b.useCallback(()=>{i.remove(S(),v)},[v,i]);b.useEffect(()=>()=>{k()},[k]),b.useEffect(()=>{c?T():(!y||!s)&&k()},[c,k,y,s,T]);const R=N=>q=>{var O;(O=N.onKeyDown)==null||O.call(N,q),!(q.key!=="Escape"||q.which===229||!C())&&(n||(q.stopPropagation(),u&&u(q,"escapeKeyDown")))},I=N=>q=>{var O;(O=N.onClick)==null||O.call(N,q),q.target===q.currentTarget&&u&&u(q,"backdropClick")};return{getRootProps:(N={})=>{const q=ET(e);delete q.onTransitionEnter,delete q.onTransitionExited;const O=A({},q,N);return A({role:"presentation"},O,{onKeyDown:R(O),ref:m})},getBackdropProps:(N={})=>{const q=N;return A({"aria-hidden":!0},q,{onClick:I(q),open:c})},getTransitionProps:()=>{const N=()=>{g(!1),o&&o()},q=()=>{g(!0),a&&a(),s&&k()};return{onEnter:Ym(N,l==null?void 0:l.props.onEnter),onExited:Ym(q,l==null?void 0:l.props.onExited)}},rootRef:m,portalRef:M,isTopModal:C,exited:x,hasTransition:y}}const vL=nn(E.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 yL(e){return at("MuiChip",e)}const xL=et("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"]),me=xL,wL=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],bL=e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:s,onDelete:o,clickable:a,variant:l}=e,u={root:["root",l,n&&"disabled",`size${Q(r)}`,`color${Q(i)}`,a&&"clickable",a&&`clickableColor${Q(i)}`,o&&"deletable",o&&`deletableColor${Q(i)}`,`${l}${Q(i)}`],label:["label",`label${Q(r)}`],avatar:["avatar",`avatar${Q(r)}`,`avatarColor${Q(i)}`],icon:["icon",`icon${Q(r)}`,`iconColor${Q(s)}`],deleteIcon:["deleteIcon",`deleteIcon${Q(r)}`,`deleteIconColor${Q(i)}`,`deleteIcon${Q(l)}Color${Q(i)}`]};return vt(u,yL,t)},SL=xe("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:s,onDelete:o,size:a,variant:l}=n;return[{[`& .${me.avatar}`]:t.avatar},{[`& .${me.avatar}`]:t[`avatar${Q(a)}`]},{[`& .${me.avatar}`]:t[`avatarColor${Q(r)}`]},{[`& .${me.icon}`]:t.icon},{[`& .${me.icon}`]:t[`icon${Q(a)}`]},{[`& .${me.icon}`]:t[`iconColor${Q(i)}`]},{[`& .${me.deleteIcon}`]:t.deleteIcon},{[`& .${me.deleteIcon}`]:t[`deleteIcon${Q(a)}`]},{[`& .${me.deleteIcon}`]:t[`deleteIconColor${Q(r)}`]},{[`& .${me.deleteIcon}`]:t[`deleteIcon${Q(l)}Color${Q(r)}`]},t.root,t[`size${Q(a)}`],t[`color${Q(r)}`],s&&t.clickable,s&&r!=="default"&&t[`clickableColor${Q(r)})`],o&&t.deletable,o&&r!=="default"&&t[`deletableColor${Q(r)}`],t[l],t[`${l}${Q(r)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return A({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",[`&.${me.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${me.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${me.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${me.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${me.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${me.icon}`]:A({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&A({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${me.deleteIcon}`]:A({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Pt(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)`:Pt(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)`:Pt(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&&{[`&.${me.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${me.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>A({},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}))`:Pt(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${me.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Pt(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, &.${me.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>A({},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]}`,[`&.${me.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${me.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${me.avatar}`]:{marginLeft:4},[`& .${me.avatarSmall}`]:{marginLeft:2},[`& .${me.icon}`]:{marginLeft:4},[`& .${me.iconSmall}`]:{marginLeft:2},[`& .${me.deleteIcon}`]:{marginRight:5},[`& .${me.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)`:Pt(e.palette[t.color].main,.7)}`,[`&.${me.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Pt(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${me.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Pt(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${me.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Pt(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),EL=xe("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Q(r)}`]]}})(({ownerState:e})=>A({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 nw(e){return e.key==="Backspace"||e.key==="Delete"}const PL=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiChip"}),{avatar:i,className:s,clickable:o,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,wL),P=b.useRef(null),T=Pn(P,n),C=L=>{L.stopPropagation(),h&&h(L)},M=L=>{L.currentTarget===L.target&&nw(L)&&L.preventDefault(),m&&m(L)},k=L=>{L.currentTarget===L.target&&(h&&nw(L)?h(L):L.key==="Escape"&&P.current&&P.current.blur()),x&&x(L)},R=o!==!1&&p?!0:o,I=R||h?cg:l||"div",$=A({},r,{component:I,disabled:c,size:g,color:a,iconColor:b.isValidElement(d)&&d.props.color||a,onDelete:!!h,clickable:R,variant:y}),D=bL($),V=I===cg?A({component:l||"div",focusVisibleClassName:D.focusVisible},h&&{disableRipple:!0}):{};let N=null;h&&(N=u&&b.isValidElement(u)?b.cloneElement(u,{className:re(u.props.className,D.deleteIcon),onClick:C}):E.jsx(vL,{className:re(D.deleteIcon),onClick:C}));let q=null;i&&b.isValidElement(i)&&(q=b.cloneElement(i,{className:re(D.avatar,i.props.className)}));let O=null;return d&&b.isValidElement(d)&&(O=b.cloneElement(d,{className:re(D.icon,d.props.className)})),E.jsxs(SL,A({as:I,className:re(D.root,s),disabled:R&&c?!0:void 0,onClick:p,onKeyDown:M,onKeyUp:k,ref:T,tabIndex:w&&c?-1:v,ownerState:$},V,S,{children:[q||O,E.jsx(EL,{className:re(D.label),ownerState:$,children:f}),N]}))}),CL=PL;function TL(e){return E.jsx(M4,A({},e,{defaultTheme:qf,themeId:ws}))}const kL=nn(E.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 ML(e){return at("MuiAvatar",e)}et("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const _L=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],OL=yT(),RL=e=>{const{classes:t,variant:n,colorDefault:r}=e;return vt({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},ML,t)},AL=xe("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:A({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:A({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),IL=xe("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),$L=xe(kL,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function LL({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,s]=b.useState(!1);return b.useEffect(()=>{if(!n&&!r)return;s(!1);let o=!0;const a=new Image;return a.onload=()=>{o&&s("loaded")},a.onerror=()=>{o&&s("error")},a.crossOrigin=e,a.referrerPolicy=t,a.src=n,r&&(a.srcset=r),()=>{o=!1}},[e,t,n,r]),i}const jL=b.forwardRef(function(t,n){const r=OL({props:t,name:"MuiAvatar"}),{alt:i,children:s,className:o,component:a="div",slots:l={},slotProps:u={},imgProps:c,sizes:d,src:f,srcSet:p,variant:h="circular"}=r,m=se(r,_L);let x=null;const g=LL(A({},c,{src:f,srcSet:p})),y=f||p,v=y&&g!=="error",w=A({},r,{colorDefault:!v,component:a,variant:h}),S=RL(w),[P,T]=lg("img",{className:S.img,elementType:IL,externalForwardedProps:{slots:l,slotProps:{img:A({},c,u.img)}},additionalProps:{alt:i,src:f,srcSet:p,sizes:d},ownerState:w});return v?x=E.jsx(P,A({},T)):s||s===0?x=s:y&&i?x=i[0]:x=E.jsx($L,{ownerState:w,className:S.fallback}),E.jsx(AL,A({as:a,ownerState:w,className:re(S.root,o),ref:n},m,{children:x}))}),xd=jL,DL=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],FL={entering:{opacity:1},entered:{opacity:1}},NL=b.forwardRef(function(t,n){const r=Tv(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:o=!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=wT}=t,v=se(t,DL),w=b.useRef(null),S=Pn(w,a.ref,n),P=D=>V=>{if(D){const N=w.current;V===void 0?D(N):D(N,V)}},T=P(f),C=P((D,V)=>{bT(D);const N=vd({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,V)}),M=P(d),k=P(m),R=P(D=>{const V=vd({style:x,timeout:g,easing:l},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",V),D.style.transition=r.transitions.create("opacity",V),p&&p(D)}),I=P(h),$=D=>{s&&s(w.current,D)};return E.jsx(y,A({appear:o,in:u,nodeRef:w,onEnter:C,onEntered:M,onEntering:T,onExit:R,onExited:I,onExiting:k,addEndListener:$,timeout:g},v,{children:(D,V)=>b.cloneElement(a,A({style:A({opacity:0,visibility:D==="exited"&&!u?"hidden":void 0},FL[D],x,a.props.style),ref:S},V))}))}),zL=NL;function VL(e){return at("MuiBackdrop",e)}et("MuiBackdrop",["root","invisible"]);const BL=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],UL=e=>{const{classes:t,invisible:n}=e;return vt({root:["root",n&&"invisible"]},VL,t)},WL=xe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>A({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"})),HL=b.forwardRef(function(t,n){var r,i,s;const o=ut({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=zL,transitionDuration:g}=o,y=se(o,BL),v=A({},o,{component:u,invisible:f}),w=UL(v),S=(r=h.root)!=null?r:d.root;return E.jsx(x,A({in:p,timeout:g},y,{children:E.jsx(WL,A({"aria-hidden":!0},S,{as:(i=(s=m.root)!=null?s:c.Root)!=null?i:u,className:re(w.root,l,S==null?void 0:S.className),ownerState:A({},v,S==null?void 0:S.ownerState),classes:w,ref:n,children:a}))}))}),GL=HL,qL=et("MuiBox",["root"]),KL=qL,QL=Cv(),YL=O4({themeId:ws,defaultTheme:QL,defaultClassName:KL.root,generateClassName:ov.generate}),Y=YL;function XL(e){return at("MuiCard",e)}et("MuiCard",["root"]);const ZL=["className","raised"],JL=e=>{const{classes:t}=e;return vt({root:["root"]},XL,t)},ej=xe(Rl,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),tj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiCard"}),{className:i,raised:s=!1}=r,o=se(r,ZL),a=A({},r,{raised:s}),l=JL(a);return E.jsx(ej,A({className:re(l.root,i),elevation:s?8:void 0,ref:n,ownerState:a},o))}),nj=tj;function rj(e){return at("MuiCardMedia",e)}et("MuiCardMedia",["root","media","img"]);const ij=["children","className","component","image","src","style"],sj=e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e;return vt({root:["root",n&&"media",r&&"img"]},rj,t)},oj=xe("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})=>A({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"})),aj=["video","audio","picture","iframe","img"],lj=["picture","img"],uj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiCardMedia"}),{children:i,className:s,component:o="div",image:a,src:l,style:u}=r,c=se(r,ij),d=aj.indexOf(o)!==-1,f=!d&&a?A({backgroundImage:`url("${a}")`},u):u,p=A({},r,{component:o,isMediaComponent:d,isImageComponent:lj.indexOf(o)!==-1}),h=sj(p);return E.jsx(oj,A({className:re(h.root,s),as:o,role:!d&&a?"img":void 0,ref:n,style:f,ownerState:p,src:d?a||l:void 0},c,{children:i}))}),cj=uj;function dj(e){return at("MuiCircularProgress",e)}et("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const fj=["className","color","disableShrink","size","style","thickness","value","variant"];let Qf=e=>e,rw,iw,sw,ow;const jr=44,pj=ea(rw||(rw=Qf` 0% { transform: rotate(0deg); } @@ -166,7 +166,7 @@ Error generating stack: `+s.message+` 100% { transform: rotate(360deg); } -`)),pj=Jo(nw||(nw=Qf` +`)),hj=ea(iw||(iw=Qf` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -181,11 +181,11 @@ Error generating stack: `+s.message+` stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } -`)),hj=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,s={root:["root",n,`color${Q(r)}`],svg:["svg"],circle:["circle",`circle${Q(n)}`,i&&"circleDisableShrink"]};return vt(s,cj,t)},mj=ye("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Q(n.color)}`]]}})(({ownerState:e,theme:t})=>A({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"&&Hf(rw||(rw=Qf` +`)),mj=e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,s={root:["root",n,`color${Q(r)}`],svg:["svg"],circle:["circle",`circle${Q(n)}`,i&&"circleDisableShrink"]};return vt(s,dj,t)},gj=xe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Q(n.color)}`]]}})(({ownerState:e,theme:t})=>A({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"&&Hf(sw||(sw=Qf` animation: ${0} 1.4s linear infinite; - `),fj)),gj=ye("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),vj=ye("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Q(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>A({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&&Hf(iw||(iw=Qf` + `),pj)),vj=xe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),yj=xe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Q(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>A({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&&Hf(ow||(ow=Qf` animation: ${0} 1.4s ease-in-out infinite; - `),pj)),yj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiCircularProgress"}),{className:i,color:s="primary",disableShrink:o=!1,size:a=40,style:l,thickness:u=3.6,value:c=0,variant:d="indeterminate"}=r,f=se(r,dj),p=A({},r,{color:s,disableShrink:o,size:a,thickness:u,value:c,variant:d}),h=hj(p),m={},x={},g={};if(d==="determinate"){const y=2*Math.PI*((jr-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 E.jsx(mj,A({className:re(h.root,i),style:A({width:a,height:a},x,l),ownerState:p,ref:n,role:"progressbar"},g,f,{children:E.jsx(gj,{className:h.svg,ownerState:p,viewBox:`${jr/2} ${jr/2} ${jr} ${jr}`,children:E.jsx(vj,{className:h.circle,style:m,ownerState:p,cx:jr,cy:jr,r:(jr-u)/2,fill:"none",strokeWidth:u})})}))}),xj=yj,wj=(e,t)=>A({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),bj=e=>A({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}}),Sj=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([o,a])=>{var l;r[e.getColorSchemeSelector(o).replace(/\s*&/,"")]={colorScheme:(l=a.palette)==null?void 0:l.mode}});let i=A({html:wj(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:A({margin:0},bj(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const s=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return s&&(i=[i,s]),i};function Ej(e){const t=ut({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return E.jsxs(b.Fragment,{children:[E.jsx(CL,{styles:i=>Sj(i,r)}),n]})}function Pj(e){return at("MuiModal",e)}et("MuiModal",["root","hidden","backdrop"]);const Cj=["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"],Tj=e=>{const{open:t,exited:n,classes:r}=e;return vt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Pj,r)},kj=ye("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})=>A({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Mj=ye(HL,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),_j=b.forwardRef(function(t,n){var r,i,s,o,a,l;const u=ut({name:"MuiModal",props:t}),{BackdropComponent:c=Mj,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:P=!1,disableRestoreFocus:T=!1,disableScrollLock:C=!1,hideBackdrop:M=!1,keepMounted:k=!1,onBackdropClick:R,open:I,slotProps:$,slots:D}=u,V=se(u,Cj),N=A({},u,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:w,disableEscapeKeyDown:S,disablePortal:P,disableRestoreFocus:T,disableScrollLock:C,hideBackdrop:M,keepMounted:k}),{getRootProps:q,getBackdropProps:O,getTransitionProps:L,portalRef:B,isTopModal:K,exited:ne,hasTransition:Ye}=mL(A({},N,{rootRef:n})),me=A({},N,{exited:ne}),ct=Tj(me),ie={};if(h.props.tabIndex===void 0&&(ie.tabIndex="-1"),Ye){const{onEnter:yt,onExited:sn}=L();ie.onEnter=yt,ie.onExited=sn}const U=(r=(i=D==null?void 0:D.root)!=null?i:g.Root)!=null?r:kj,ae=(s=(o=D==null?void 0:D.backdrop)!=null?o:g.Backdrop)!=null?s:c,fe=(a=$==null?void 0:$.root)!=null?a:y.root,_e=(l=$==null?void 0:$.backdrop)!=null?l:y.backdrop,je=Ux({elementType:U,externalSlotProps:fe,externalForwardedProps:V,getSlotProps:q,additionalProps:{ref:n,as:x},ownerState:me,className:re(f,fe==null?void 0:fe.className,ct==null?void 0:ct.root,!me.open&&me.exited&&(ct==null?void 0:ct.hidden))}),tt=Ux({elementType:ae,externalSlotProps:_e,additionalProps:d,getSlotProps:yt=>O(A({},yt,{onClick:sn=>{R&&R(sn),yt!=null&&yt.onClick&&yt.onClick(sn)}})),className:re(_e==null?void 0:_e.className,d==null?void 0:d.className,ct==null?void 0:ct.backdrop),ownerState:me});return!k&&!I&&(!Ye||ne)?null:E.jsx(oL,{ref:B,container:m,disablePortal:P,children:E.jsxs(U,A({},je,{children:[!M&&c?E.jsx(ae,A({},tt)):null,E.jsx(iL,{disableEnforceFocus:w,disableAutoFocus:v,disableRestoreFocus:T,isEnabled:K,open:I,children:b.cloneElement(h,ie)})]}))})}),Oj=_j;function Rj(e){return at("MuiDivider",e)}et("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Aj=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Ij=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:s,orientation:o,textAlign:a,variant:l}=e;return vt({root:["root",t&&"absolute",l,s&&"light",o==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&o==="vertical"&&"withChildrenVertical",a==="right"&&o!=="vertical"&&"textAlignRight",a==="left"&&o!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",o==="vertical"&&"wrapperVertical"]},Rj,r)},$j=ye("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})=>A({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)`:Pt(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})=>A({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>A({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>A({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>A({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),Lj=ye("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>A({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)`})),CT=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiDivider"}),{absolute:i=!1,children:s,className:o,component:a=s?"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,Aj),m=A({},r,{absolute:i,component:a,flexItem:l,light:u,orientation:c,role:d,textAlign:f,variant:p}),x=Ij(m);return E.jsx($j,A({as:a,className:re(x.root,o),role:d,ref:n,ownerState:m},h,{children:s?E.jsx(Lj,{className:x.wrapper,ownerState:m,children:s}):null}))});CT.muiSkipListHighlight=!0;const k0=CT,jj=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Dj(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),s=Xo(t);let o;if(t.fakeTransform)o=t.fakeTransform;else{const u=s.getComputedStyle(t);o=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let a=0,l=0;if(o&&o!=="none"&&typeof o=="string"){const u=o.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(${s.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(${s.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function Fj(e){return typeof e=="function"?e():e}function ec(e,t,n){const r=Fj(n),i=Dj(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const Nj=b.forwardRef(function(t,n){const r=P0(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,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=s,TransitionComponent:S=xT}=t,P=se(t,jj),T=b.useRef(null),C=Pn(l.ref,T,n),M=O=>L=>{O&&(L===void 0?O(T.current):O(T.current,L))},k=M((O,L)=>{ec(c,O,u),wT(O),p&&p(O,L)}),R=M((O,L)=>{const B=vd({timeout:w,style:v,easing:d},{mode:"enter"});O.style.webkitTransition=r.transitions.create("-webkit-transform",A({},B)),O.style.transition=r.transitions.create("transform",A({},B)),O.style.webkitTransform="none",O.style.transform="none",m&&m(O,L)}),I=M(h),$=M(y),D=M(O=>{const L=vd({timeout:w,style:v,easing:d},{mode:"exit"});O.style.webkitTransition=r.transitions.create("-webkit-transform",L),O.style.transition=r.transitions.create("transform",L),ec(c,O,u),x&&x(O)}),V=M(O=>{O.style.webkitTransition="",O.style.transition="",g&&g(O)}),N=O=>{o&&o(T.current,O)},q=b.useCallback(()=>{T.current&&ec(c,T.current,u)},[c,u]);return b.useEffect(()=>{if(f||c==="down"||c==="right")return;const O=TC(()=>{T.current&&ec(c,T.current,u)}),L=Xo(T.current);return L.addEventListener("resize",O),()=>{O.clear(),L.removeEventListener("resize",O)}},[c,f,u]),b.useEffect(()=>{f||q()},[f,q]),E.jsx(S,A({nodeRef:T,onEnter:k,onEntered:I,onEntering:R,onExit:D,onExited:V,onExiting:$,addEndListener:N,appear:a,in:f,timeout:w},P,{children:(O,L)=>b.cloneElement(l,A({ref:C,style:A({visibility:O==="exited"&&!f?"hidden":void 0},v,l.props.style)},L))}))}),zj=Nj;function Vj(e){return at("MuiDrawer",e)}et("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Bj=["BackdropProps"],Uj=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],TT=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},Wj=e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Q(n)}`,r!=="temporary"&&`paperAnchorDocked${Q(n)}`]};return vt(i,Vj,t)},Hj=ye(Oj,{name:"MuiDrawer",slot:"Root",overridesResolver:TT})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),sw=ye("div",{shouldForwardProp:dT,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:TT})({flex:"0 0 auto"}),Gj=ye(Rl,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Q(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${Q(n.anchor)}`]]}})(({theme:e,ownerState:t})=>A({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}`})),kT={left:"right",right:"left",top:"down",bottom:"up"};function qj(e){return["left","right"].indexOf(e)!==-1}function Kj({direction:e},t){return e==="rtl"&&qj(t)?kT[t]:t}const Qj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiDrawer"}),i=P0(),s=z4(),o={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=zj,transitionDuration:v=o,variant:w="temporary"}=r,S=se(r.ModalProps,Bj),P=se(r,Uj),T=b.useRef(!1);b.useEffect(()=>{T.current=!0},[]);const C=Kj({direction:s?"rtl":"ltr"},a),k=A({},r,{anchor:a,elevation:d,open:m,variant:w},P),R=Wj(k),I=E.jsx(Gj,A({elevation:w==="temporary"?d:0,square:!0},x,{className:re(R.paper,x.className),ownerState:k,children:u}));if(w==="permanent")return E.jsx(sw,A({className:re(R.root,R.docked,c),ownerState:k,ref:n},P,{children:I}));const $=E.jsx(y,A({in:m,direction:kT[C],timeout:v,appear:T.current},g,{children:I}));return w==="persistent"?E.jsx(sw,A({className:re(R.root,R.docked,c),ownerState:k,ref:n},P,{children:$})):E.jsx(Hj,A({BackdropProps:A({},l,p,{transitionDuration:v}),className:re(R.root,R.modal,c),open:m,ownerState:k,onClose:h,hideBackdrop:f,ref:n},P,S,{children:$}))}),Yj=Qj;function Xj(e){return at("MuiLink",e)}const Zj=et("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),Jj=Zj,MT={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},eD=e=>MT[e]||e,tD=({theme:e,ownerState:t})=>{const n=eD(t.color),r=No(e,`palette.${n}`,!1)||t.color,i=No(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:Pt(r,.4)},nD=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],rD=e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,s={root:["root",`underline${Q(i)}`,n==="button"&&"button",r&&"focusVisible"]};return vt(s,Xj,t)},iD=ye(Se,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Q(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>A({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&A({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:tD({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"},[`&.${Jj.focusVisible}`]:{outline:"auto"}})),sD=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiLink"}),{className:i,color:s="primary",component:o="a",onBlur:a,onFocus:l,TypographyClasses:u,underline:c="always",variant:d="inherit",sx:f}=r,p=se(r,nD),{isFocusVisibleRef:h,onBlur:m,onFocus:x,ref:g}=r0(),[y,v]=b.useState(!1),w=Pn(n,g),S=M=>{m(M),h.current===!1&&v(!1),a&&a(M)},P=M=>{x(M),h.current===!0&&v(!0),l&&l(M)},T=A({},r,{color:s,component:o,focusVisible:y,underline:c,variant:d}),C=rD(T);return E.jsx(iD,A({color:s,className:re(C.root,i),classes:u,component:o,onBlur:S,onFocus:P,ref:w,ownerState:T,variant:d,sx:[...Object.keys(MT).includes(s)?[]:[{color:s}],...Array.isArray(f)?f:[f]]},p))}),Al=sD;function oD(e){return at("MuiToolbar",e)}et("MuiToolbar",["root","gutters","regular","dense"]);const aD=["className","component","disableGutters","variant"],lD=e=>{const{classes:t,disableGutters:n,variant:r}=e;return vt({root:["root",!n&&"gutters",r]},oD,t)},uD=ye("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})=>A({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),cD=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiToolbar"}),{className:i,component:s="div",disableGutters:o=!1,variant:a="regular"}=r,l=se(r,aD),u=A({},r,{component:s,disableGutters:o,variant:a}),c=lD(u);return E.jsx(uD,A({as:s,className:re(c.root,i),ref:n,ownerState:u},l))}),dD=cD;function _T(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)},[]),E.jsxs(X,{sx:{background:"#16F4D0",color:"#000000",fontWeight:600,display:t?"flex":"none",justifyContent:"center",alignItems:"center",height:"30px"},children:[E.jsx(X,{sx:{flexGrow:1,display:"flex",justifyContent:"center"},children:e.events.map(i=>E.jsx(Al,{underline:"hover",href:i.href,color:"inherit",children:i.title},`${i.title}::${i.href}`))}),E.jsx(yd,{"data-testid":"events-close-button",onClick:r,sx:{color:"inherit",width:"25px",height:"25px",marginRight:"5px"},children:E.jsx(fT,{sx:{color:"inherit"}})})]})}var M0={},uh={};const fD=Rr(S4);var ow;function pD(){return ow||(ow=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=fD}(uh)),uh}var hD=x0;Object.defineProperty(M0,"__esModule",{value:!0});var OT=M0.default=void 0,mD=hD(pD()),gD=E;OT=M0.default=(0,mD.default)((0,gD.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");function wd(e){const[t,n]=W.useState(!1),r=yC();return E.jsx(X,{sx:{...e.sx,width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:E.jsxs(dD,{sx:{background:e.translucent?"rgba(67,86,127, 0.5)":"transparent",backdropFilter:e.translucent?"blur(20px)":"unset",margin:"5px 0px",borderRadius:"41px",paddingLeft:"40px !important",paddingRight:"40px !important",boxShadow:e.translucent?3:0,width:e.fullWidth?"100%":"90%",height:"80px",userSelect:"none"},children:[E.jsxs(X,{onClick:()=>{r("/")},sx:{height:"65%",display:"flex",flexGrow:1,alignItems:"center",cursor:"pointer"},children:[E.jsx("img",{alt:"adc-logo",src:"/logo256.png",style:{maxHeight:"100%",margin:"10px 0px 10px 0px"}}),E.jsx(Se,{sx:{fontSize:"1.3rem",fontWeight:"bold",marginLeft:"15px"},children:"App Dev Club"})]}),E.jsx(X,{sx:{display:{xs:"none",md:"flex"}},children:e.links.map(i=>E.jsx(Al,{href:i.anchor,underline:"hover",sx:{fontSize:"1rem",fontWeight:600,marginLeft:"15px",marginRight:"10px",color:"inherit",":hover":{cursor:"pointer"}},children:i.title},`${i.title}::${i.anchor}`))}),E.jsx(yd,{onClick:()=>{n(!0)},sx:{color:"inherit",display:{xs:"flex",md:"none"}},children:E.jsx(OT,{sx:{fontSize:"1.8rem"}})}),E.jsxs(Yj,{anchor:"right",open:t,onClose:()=>{n(!1)},PaperProps:{sx:{width:"180px",bgcolor:"background.default",padding:"25px",backgroundImage:"unset"}},children:[E.jsx(yd,{onClick:()=>{n(!1)},sx:{alignSelf:"end",maxWidth:"40px",marginBottom:"10px"},children:E.jsx(fT,{})}),e.links.map((i,s)=>E.jsx(Al,{underline:"hover",color:"inherit",sx:{fontSize:"1.3rem",marginTop:"7px",marginBottom:"7px"},children:i.title},s))]})]})})}var RT={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},aw=W.createContext&&W.createContext(RT),vD=["attr","size","title"];function yD(e,t){if(e==null)return{};var n=xD(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function xD(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}function bd(){return bd=Object.assign?Object.assign.bind():function(e){for(var t=1;tW.createElement(t.tag,Sd({key:n},t.attr),AT(t.child)))}function ED(e){return t=>W.createElement(PD,bd({attr:Sd({},e.attr)},t),AT(e.child))}function PD(e){var t=n=>{var{attr:r,size:i,title:s}=e,o=yD(e,vD),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),W.createElement("svg",bd({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,o,{className:l,style:Sd(Sd({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),s&&W.createElement("title",null,s),e.children)};return aw!==void 0?W.createElement(aw.Consumer,null,n=>t(n)):t(RT)}function CD(e){return ED({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 IT(e){const n=new Date().getFullYear();return E.jsxs(X,{sx:{...e.sx,display:"flex",width:"100%",height:"75px",padding:"30px",alignItems:"center",justifyContent:"center"},children:[E.jsxs(Se,{style:{fontSize:"18px",flexGrow:1},children:["© ",n," App Dev Club"]}),E.jsx("img",{src:"../logo256.png",style:{maxHeight:"50px"}}),E.jsxs(X,{sx:{display:"flex",gap:"10px",flexGrow:1,justifyContent:"end"},children:[E.jsx(C4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(T4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(P4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(E4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(CD,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}})]})]})}const uw=[{title:"About",anchor:"#about"},{title:"Projects",anchor:"#projects"},{title:"Our Team",anchor:"#team"},{title:"Sponsors",anchor:"#sponsors"},{title:"Highlights",anchor:"#highlights"},{title:"Contact Us",anchor:"#contact"}];function TD(){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)}},[]),E.jsxs(E.Fragment,{children:[n.length<1?E.jsx(E.Fragment,{}):E.jsx(_T,{events:n}),E.jsx(wd,{links:uw,fullWidth:!0,sx:{backgroundColor:"transparent"}}),E.jsx(wd,{links:uw,translucent:!0,sx:{zIndex:2,marginTop:"25px",position:"fixed",top:`${e}px`,left:"0px"}}),E.jsx(p5,{}),E.jsx(X,{sx:{position:"relative"},children:E.jsx(IT,{})})]})}const kD=E0({palette:{mode:"dark",text:{primary:"#FFFFFF"},background:{default:"#14213D"}},typography:{fontFamily:"Inter, sans-serif"}}),$T={baseTheme:kD};function cg(){return cg=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"&&typeof ae>"u"){var _e=fe?p:f;U=_e.left+_e.width/2,ae=_e.top+_e.height/2}var je=0,tt=0,yt=f,sn=yt.top,Di=yt.left,xt=yt.width,wt=yt.height,Mn;if(fe){var _s=p,zi=_s.top,$r=_s.left,Tp=_s.width,Ou=_s.height,kp=Di-$r,ee=sn-zi,Ru=xt/2+kp,Mp=wt/2+ee,Au=U-$r,Ky=ae-zi;tt=l.rotateYMax*(Au-Ru)/(Tp-xt/2)*-1,je=l.rotateXMax*(Ky-Mp)/(Ou-wt/2),Mn=U-Di+"px "+(ae-sn)+"px"}else{var Ms=xt/2,Fi=wt/2,Ni=U-Di,Cp=ae-sn;tt=l.rotateYMax*(Ni-Ms)/(xt/2)*-1,je=l.rotateXMax*(Cp-Fi)/(wt/2)}je=Math.min(Math.max(-je,-l.rotateXMax),l.rotateXMax),l.rotateXInvert&&(je=-je),tt=Math.min(Math.max(-tt,-l.rotateYMax),l.rotateYMax),l.rotateYInvert&&(tt=-tt);var aa=je/l.rotateXMax*100,la=tt/l.rotateYMax*100,KM=(fe?la/100*l.stretchX:0)*(l.rotateYInvert?-1:1),QM=(fe?aa/100*l.stretchY:0)*(l.rotateXInvert?-1:1),YM=fe?Math.max(Math.abs(aa),Math.abs(la))/100*l.stretchZ:0;C(u,"translate3d("+KM+"%, "+-QM+"%, "+-YM+"px) rotateX("+je+"deg) rotateY("+tt+"deg)"),Mn&&l.commonOrigin&&k(u,Mn),m&&(P(m,l.duration+"ms"),T(m,"ease-out"),C(m,"translate3d("+-la*.25+"%, "+aa*.25+"%, 0)"),M(m,Math.max(Math.abs(aa),Math.abs(la))/100)),V({rotateXPercentage:aa,rotateYPercentage:la,duration:l.duration+"ms",easeOut:!0}),typeof l.onRotate=="function"&&l.onRotate(je,tt)},q=function(){v.push(function(){return n.classList.add("atropos-active")}),P(u,l.duration+"ms"),T(u,"ease-out"),C(c,"translate3d(0,0, "+l.activeOffset+"px)"),P(c,l.duration+"ms"),T(c,"ease-out"),h&&(P(h,l.duration+"ms"),T(h,"ease-out")),a.isActive=!0},O=function(U){if(x=void 0,!(U.type==="pointerdown"&&U.pointerType==="mouse")&&!(U.type==="pointerenter"&&U.pointerType!=="mouse")){if(U.type==="pointerdown"&&U.preventDefault(),g=U.clientX,y=U.clientY,l.alwaysActive){f=void 0,p=void 0;return}q(),typeof l.onEnter=="function"&&l.onEnter()}},L=function(U){x===!1&&U.cancelable&&U.preventDefault()},B=function(U){if(!(!l.rotate||!a.isActive)){if(U.pointerType!=="mouse"){if(!l.rotateTouch)return;U.preventDefault()}var ae=U.clientX,fe=U.clientY,_e=ae-g,je=fe-y;if(typeof l.rotateTouch=="string"&&(_e!==0||je!==0)&&typeof x>"u"){if(_e*_e+je*je>=25){var tt=Math.atan2(Math.abs(je),Math.abs(_e))*180/Math.PI;x=l.rotateTouch==="scroll-y"?tt>45:90-tt>45}x===!1&&(n.classList.add("atropos-rotate-touch"),U.cancelable&&U.preventDefault())}U.pointerType!=="mouse"&&x||N(ae,fe)}},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")}),P(c,l.duration+"ms"),T(c,""),C(c,"translate3d(0,0, 0px)"),h&&(P(h,l.duration+"ms"),T(h,"")),m&&(P(m,l.duration+"ms"),T(m,""),C(m,"translate3d(0, 0, 0)"),M(m,0)),P(u,l.duration+"ms"),T(u,""),C(u,"translate3d(0,0,0) rotateX(0deg) rotateY(0deg)"),V({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 ae=U.target;!r.contains(ae)&&ae!==r&&a.isActive&&K()},Ye=function(){typeof n=="string"&&(n=Dr(document,n)),n&&(n.__atropos__||(typeof r<"u"?typeof r=="string"&&(r=Dr(document,r)):r=n,o=s?n.parentNode.host:n,Object.assign(a,{el:n}),u=Dr(n,".atropos-rotate"),c=Dr(n,".atropos-scale"),d=Dr(n,".atropos-inner"),n.__atropos__=a))},me=function(){Ye(),!(!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")),Dr(o,"[data-atropos-opacity]")&&V({opacityOnly:!0}),R(document,"click",ne),R(r,"pointerdown",O),R(r,"pointerenter",O),R(r,"pointermove",B),R(r,"touchmove",L),R(r,"pointerleave",K),R(r,"pointerup",K),R(r,"lostpointercapture",K),l.alwaysActive&&(q(),N()))},ct=function(){a.destroyed=!0,cancelAnimationFrame(w),I(document,"click",ne),I(r,"pointerdown",O),I(r,"pointerenter",O),I(r,"pointermove",B),I(r,"touchmove",L),I(r,"pointerleave",K),I(r,"pointerup",K),I(r,"lostpointercapture",K),delete n.__atropos__};return a.destroy=ct,me(),a}var AD=["component","children","rootChildren","scaleChildren","rotateChildren","className","scaleClassName","rotateClassName","innerClassName"];function Ed(){return Ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var LT=["eventsEl","alwaysActive","activeOffset","shadowOffset","shadowScale","duration","rotate","rotateTouch","rotateXMax","rotateYMax","rotateXInvert","rotateYInvert","stretchX","stretchY","stretchZ","commonOrigin","shadow","highlight","onEnter","onLeave","onRotate"],$D=function(t){var n={};return Object.keys(t).forEach(function(r){LT.includes(r)||(n[r]=t[r])}),n},LD=function(t){var n={};return Object.keys(t).forEach(function(r){LT.includes(r)&&(n[r]=t[r])}),n};function jD(e){var t=e.component,n=t===void 0?"div":t,r=e.children,i=e.rootChildren,s=e.scaleChildren,o=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=ID(e,AD),x=b.useRef(null),g=b.useRef(null),y=n,v=function(){for(var T=arguments.length,C=new Array(T),M=0;M"u")&&W.createElement("span",{className:"atropos-highlight"})),o,(e.shadow||typeof e.shadow>"u")&&W.createElement("span",{className:"atropos-shadow"})),s),i)}function DD(e){let t=0,n;for(n=0;n>n*8&255;r+=`00${i.toString(16)}`.slice(-2)}return r}function jT(e){return{sx:{bgcolor:DD(e)},children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`}}var DT={};function FD(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(DT,"__esModule",{value:!0});var De=b;function ND(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Fr=ND(De);FD(`.rfm-marquee-container { + `),hj)),xj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiCircularProgress"}),{className:i,color:s="primary",disableShrink:o=!1,size:a=40,style:l,thickness:u=3.6,value:c=0,variant:d="indeterminate"}=r,f=se(r,fj),p=A({},r,{color:s,disableShrink:o,size:a,thickness:u,value:c,variant:d}),h=mj(p),m={},x={},g={};if(d==="determinate"){const y=2*Math.PI*((jr-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 E.jsx(gj,A({className:re(h.root,i),style:A({width:a,height:a},x,l),ownerState:p,ref:n,role:"progressbar"},g,f,{children:E.jsx(vj,{className:h.svg,ownerState:p,viewBox:`${jr/2} ${jr/2} ${jr} ${jr}`,children:E.jsx(yj,{className:h.circle,style:m,ownerState:p,cx:jr,cy:jr,r:(jr-u)/2,fill:"none",strokeWidth:u})})}))}),wj=xj,bj=(e,t)=>A({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Sj=e=>A({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}}),Ej=(e,t=!1)=>{var n;const r={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([o,a])=>{var l;r[e.getColorSchemeSelector(o).replace(/\s*&/,"")]={colorScheme:(l=a.palette)==null?void 0:l.mode}});let i=A({html:bj(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:A({margin:0},Sj(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},r);const s=(n=e.components)==null||(n=n.MuiCssBaseline)==null?void 0:n.styleOverrides;return s&&(i=[i,s]),i};function Pj(e){const t=ut({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return E.jsxs(b.Fragment,{children:[E.jsx(TL,{styles:i=>Ej(i,r)}),n]})}function Cj(e){return at("MuiModal",e)}et("MuiModal",["root","hidden","backdrop"]);const Tj=["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"],kj=e=>{const{open:t,exited:n,classes:r}=e;return vt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Cj,r)},Mj=xe("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})=>A({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),_j=xe(GL,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Oj=b.forwardRef(function(t,n){var r,i,s,o,a,l;const u=ut({name:"MuiModal",props:t}),{BackdropComponent:c=_j,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:P=!1,disableRestoreFocus:T=!1,disableScrollLock:C=!1,hideBackdrop:M=!1,keepMounted:k=!1,onBackdropClick:R,open:I,slotProps:$,slots:D}=u,V=se(u,Tj),N=A({},u,{closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:w,disableEscapeKeyDown:S,disablePortal:P,disableRestoreFocus:T,disableScrollLock:C,hideBackdrop:M,keepMounted:k}),{getRootProps:q,getBackdropProps:O,getTransitionProps:L,portalRef:B,isTopModal:K,exited:ne,hasTransition:Ye}=gL(A({},N,{rootRef:n})),ge=A({},N,{exited:ne}),ct=kj(ge),ie={};if(h.props.tabIndex===void 0&&(ie.tabIndex="-1"),Ye){const{onEnter:yt,onExited:sn}=L();ie.onEnter=yt,ie.onExited=sn}const U=(r=(i=D==null?void 0:D.root)!=null?i:g.Root)!=null?r:Mj,ae=(s=(o=D==null?void 0:D.backdrop)!=null?o:g.Backdrop)!=null?s:c,pe=(a=$==null?void 0:$.root)!=null?a:y.root,_e=(l=$==null?void 0:$.backdrop)!=null?l:y.backdrop,je=Hx({elementType:U,externalSlotProps:pe,externalForwardedProps:V,getSlotProps:q,additionalProps:{ref:n,as:x},ownerState:ge,className:re(f,pe==null?void 0:pe.className,ct==null?void 0:ct.root,!ge.open&&ge.exited&&(ct==null?void 0:ct.hidden))}),tt=Hx({elementType:ae,externalSlotProps:_e,additionalProps:d,getSlotProps:yt=>O(A({},yt,{onClick:sn=>{R&&R(sn),yt!=null&&yt.onClick&&yt.onClick(sn)}})),className:re(_e==null?void 0:_e.className,d==null?void 0:d.className,ct==null?void 0:ct.backdrop),ownerState:ge});return!k&&!I&&(!Ye||ne)?null:E.jsx(aL,{ref:B,container:m,disablePortal:P,children:E.jsxs(U,A({},je,{children:[!M&&c?E.jsx(ae,A({},tt)):null,E.jsx(sL,{disableEnforceFocus:w,disableAutoFocus:v,disableRestoreFocus:T,isEnabled:K,open:I,children:b.cloneElement(h,ie)})]}))})}),Rj=Oj;function Aj(e){return at("MuiDivider",e)}et("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);const Ij=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],$j=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:s,orientation:o,textAlign:a,variant:l}=e;return vt({root:["root",t&&"absolute",l,s&&"light",o==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&o==="vertical"&&"withChildrenVertical",a==="right"&&o!=="vertical"&&"textAlignRight",a==="left"&&o!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",o==="vertical"&&"wrapperVertical"]},Aj,r)},Lj=xe("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})=>A({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)`:Pt(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})=>A({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>A({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>A({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>A({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),jj=xe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>A({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)`})),TT=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiDivider"}),{absolute:i=!1,children:s,className:o,component:a=s?"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,Ij),m=A({},r,{absolute:i,component:a,flexItem:l,light:u,orientation:c,role:d,textAlign:f,variant:p}),x=$j(m);return E.jsx(Lj,A({as:a,className:re(x.root,o),role:d,ref:n,ownerState:m},h,{children:s?E.jsx(jj,{className:x.wrapper,ownerState:m,children:s}):null}))});TT.muiSkipListHighlight=!0;const _v=TT,Dj=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Fj(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),s=Zo(t);let o;if(t.fakeTransform)o=t.fakeTransform;else{const u=s.getComputedStyle(t);o=u.getPropertyValue("-webkit-transform")||u.getPropertyValue("transform")}let a=0,l=0;if(o&&o!=="none"&&typeof o=="string"){const u=o.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(${s.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(${s.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}function Nj(e){return typeof e=="function"?e():e}function ec(e,t,n){const r=Nj(n),i=Fj(e,t,r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const zj=b.forwardRef(function(t,n){const r=Tv(),i={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,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=s,TransitionComponent:S=wT}=t,P=se(t,Dj),T=b.useRef(null),C=Pn(l.ref,T,n),M=O=>L=>{O&&(L===void 0?O(T.current):O(T.current,L))},k=M((O,L)=>{ec(c,O,u),bT(O),p&&p(O,L)}),R=M((O,L)=>{const B=vd({timeout:w,style:v,easing:d},{mode:"enter"});O.style.webkitTransition=r.transitions.create("-webkit-transform",A({},B)),O.style.transition=r.transitions.create("transform",A({},B)),O.style.webkitTransform="none",O.style.transform="none",m&&m(O,L)}),I=M(h),$=M(y),D=M(O=>{const L=vd({timeout:w,style:v,easing:d},{mode:"exit"});O.style.webkitTransition=r.transitions.create("-webkit-transform",L),O.style.transition=r.transitions.create("transform",L),ec(c,O,u),x&&x(O)}),V=M(O=>{O.style.webkitTransition="",O.style.transition="",g&&g(O)}),N=O=>{o&&o(T.current,O)},q=b.useCallback(()=>{T.current&&ec(c,T.current,u)},[c,u]);return b.useEffect(()=>{if(f||c==="down"||c==="right")return;const O=kC(()=>{T.current&&ec(c,T.current,u)}),L=Zo(T.current);return L.addEventListener("resize",O),()=>{O.clear(),L.removeEventListener("resize",O)}},[c,f,u]),b.useEffect(()=>{f||q()},[f,q]),E.jsx(S,A({nodeRef:T,onEnter:k,onEntered:I,onEntering:R,onExit:D,onExited:V,onExiting:$,addEndListener:N,appear:a,in:f,timeout:w},P,{children:(O,L)=>b.cloneElement(l,A({ref:C,style:A({visibility:O==="exited"&&!f?"hidden":void 0},v,l.props.style)},L))}))}),Vj=zj;function Bj(e){return at("MuiDrawer",e)}et("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const Uj=["BackdropProps"],Wj=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],kT=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},Hj=e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Q(n)}`,r!=="temporary"&&`paperAnchorDocked${Q(n)}`]};return vt(i,Bj,t)},Gj=xe(Rj,{name:"MuiDrawer",slot:"Root",overridesResolver:kT})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),aw=xe("div",{shouldForwardProp:fT,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:kT})({flex:"0 0 auto"}),qj=xe(Rl,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Q(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${Q(n.anchor)}`]]}})(({theme:e,ownerState:t})=>A({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}`})),MT={left:"right",right:"left",top:"down",bottom:"up"};function Kj(e){return["left","right"].indexOf(e)!==-1}function Qj({direction:e},t){return e==="rtl"&&Kj(t)?MT[t]:t}const Yj=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiDrawer"}),i=Tv(),s=V4(),o={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=Vj,transitionDuration:v=o,variant:w="temporary"}=r,S=se(r.ModalProps,Uj),P=se(r,Wj),T=b.useRef(!1);b.useEffect(()=>{T.current=!0},[]);const C=Qj({direction:s?"rtl":"ltr"},a),k=A({},r,{anchor:a,elevation:d,open:m,variant:w},P),R=Hj(k),I=E.jsx(qj,A({elevation:w==="temporary"?d:0,square:!0},x,{className:re(R.paper,x.className),ownerState:k,children:u}));if(w==="permanent")return E.jsx(aw,A({className:re(R.root,R.docked,c),ownerState:k,ref:n},P,{children:I}));const $=E.jsx(y,A({in:m,direction:MT[C],timeout:v,appear:T.current},g,{children:I}));return w==="persistent"?E.jsx(aw,A({className:re(R.root,R.docked,c),ownerState:k,ref:n},P,{children:$})):E.jsx(Gj,A({BackdropProps:A({},l,p,{transitionDuration:v}),className:re(R.root,R.modal,c),open:m,ownerState:k,onClose:h,hideBackdrop:f,ref:n},P,S,{children:$}))}),Xj=Yj;function Zj(e){return at("MuiLink",e)}const Jj=et("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),eD=Jj,_T={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},tD=e=>_T[e]||e,nD=({theme:e,ownerState:t})=>{const n=tD(t.color),r=zo(e,`palette.${n}`,!1)||t.color,i=zo(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:Pt(r,.4)},rD=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],iD=e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,s={root:["root",`underline${Q(i)}`,n==="button"&&"button",r&&"focusVisible"]};return vt(s,Zj,t)},sD=xe(ce,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Q(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>A({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&A({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:nD({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"},[`&.${eD.focusVisible}`]:{outline:"auto"}})),oD=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiLink"}),{className:i,color:s="primary",component:o="a",onBlur:a,onFocus:l,TypographyClasses:u,underline:c="always",variant:d="inherit",sx:f}=r,p=se(r,rD),{isFocusVisibleRef:h,onBlur:m,onFocus:x,ref:g}=sv(),[y,v]=b.useState(!1),w=Pn(n,g),S=M=>{m(M),h.current===!1&&v(!1),a&&a(M)},P=M=>{x(M),h.current===!0&&v(!0),l&&l(M)},T=A({},r,{color:s,component:o,focusVisible:y,underline:c,variant:d}),C=iD(T);return E.jsx(sD,A({color:s,className:re(C.root,i),classes:u,component:o,onBlur:S,onFocus:P,ref:w,ownerState:T,variant:d,sx:[...Object.keys(_T).includes(s)?[]:[{color:s}],...Array.isArray(f)?f:[f]]},p))}),Al=oD;function aD(e){return at("MuiToolbar",e)}et("MuiToolbar",["root","gutters","regular","dense"]);const lD=["className","component","disableGutters","variant"],uD=e=>{const{classes:t,disableGutters:n,variant:r}=e;return vt({root:["root",!n&&"gutters",r]},aD,t)},cD=xe("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})=>A({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),dD=b.forwardRef(function(t,n){const r=ut({props:t,name:"MuiToolbar"}),{className:i,component:s="div",disableGutters:o=!1,variant:a="regular"}=r,l=se(r,lD),u=A({},r,{component:s,disableGutters:o,variant:a}),c=uD(u);return E.jsx(cD,A({as:s,className:re(c.root,i),ref:n,ownerState:u},l))}),fD=dD;function OT(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)},[]),E.jsxs(Y,{sx:{background:"#16F4D0",color:"#000000",fontWeight:600,display:t?"flex":"none",justifyContent:"center",alignItems:"center",height:"30px"},children:[E.jsx(Y,{sx:{flexGrow:1,display:"flex",justifyContent:"center"},children:e.events.map(i=>E.jsx(Al,{underline:"hover",href:i.href,color:"inherit",children:i.title},`${i.title}::${i.href}`))}),E.jsx(yd,{"data-testid":"events-close-button",onClick:r,sx:{color:"inherit",width:"25px",height:"25px",marginRight:"5px"},children:E.jsx(pT,{sx:{color:"inherit"}})})]})}var Ov={},uh={};const pD=Rr(E4);var lw;function hD(){return lw||(lw=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=pD}(uh)),uh}var mD=bv;Object.defineProperty(Ov,"__esModule",{value:!0});var RT=Ov.default=void 0,gD=mD(hD()),vD=E;RT=Ov.default=(0,gD.default)((0,vD.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu");function wd(e){const[t,n]=W.useState(!1),r=nv();return E.jsx(Y,{sx:{...e.sx,width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:E.jsxs(fD,{sx:{background:e.translucent?"rgba(67,86,127, 0.5)":"transparent",backdropFilter:e.translucent?"blur(20px)":"unset",margin:"5px 0px",borderRadius:"41px",paddingLeft:"40px !important",paddingRight:"40px !important",boxShadow:e.translucent?3:0,width:e.fullWidth?"100%":"90%",height:"80px",userSelect:"none"},children:[E.jsxs(Y,{onClick:()=>{r("/")},sx:{height:"65%",display:"flex",flexGrow:1,alignItems:"center",cursor:"pointer"},children:[E.jsx("img",{alt:"adc-logo",src:"/logo256.png",style:{maxHeight:"100%",margin:"10px 0px 10px 0px"}}),E.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:"bold",marginLeft:"15px"},children:"App Dev Club"})]}),E.jsx(Y,{sx:{display:{xs:"none",md:"flex"}},children:e.links.map(i=>E.jsx(Al,{href:i.anchor,underline:"hover",sx:{fontSize:"1rem",fontWeight:600,marginLeft:"15px",marginRight:"10px",color:"inherit",":hover":{cursor:"pointer"}},children:i.title},`${i.title}::${i.anchor}`))}),E.jsx(yd,{onClick:()=>{n(!0)},sx:{color:"inherit",display:{xs:"flex",md:"none"}},children:E.jsx(RT,{sx:{fontSize:"1.8rem"}})}),E.jsxs(Xj,{anchor:"right",open:t,onClose:()=>{n(!1)},PaperProps:{sx:{width:"180px",bgcolor:"background.default",padding:"25px",backgroundImage:"unset"}},children:[E.jsx(yd,{onClick:()=>{n(!1)},sx:{alignSelf:"end",maxWidth:"40px",marginBottom:"10px"},children:E.jsx(pT,{})}),e.links.map((i,s)=>E.jsx(Al,{underline:"hover",color:"inherit",sx:{fontSize:"1.3rem",marginTop:"7px",marginBottom:"7px"},children:i.title},s))]})]})})}var AT={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},uw=W.createContext&&W.createContext(AT),yD=["attr","size","title"];function xD(e,t){if(e==null)return{};var n=wD(e,t),r,i;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function wD(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s=0)&&(n[i]=e[i]);return n}function bd(){return bd=Object.assign?Object.assign.bind():function(e){for(var t=1;tW.createElement(t.tag,Sd({key:n},t.attr),IT(t.child)))}function PD(e){return t=>W.createElement(CD,bd({attr:Sd({},e.attr)},t),IT(e.child))}function CD(e){var t=n=>{var{attr:r,size:i,title:s}=e,o=xD(e,yD),a=i||n.size||"1em",l;return n.className&&(l=n.className),e.className&&(l=(l?l+" ":"")+e.className),W.createElement("svg",bd({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,o,{className:l,style:Sd(Sd({color:e.color||n.color},n.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),s&&W.createElement("title",null,s),e.children)};return uw!==void 0?W.createElement(uw.Consumer,null,n=>t(n)):t(AT)}function TD(e){return PD({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 $T(e){const n=new Date().getFullYear();return E.jsxs(Y,{sx:{...e.sx,display:"flex",width:"100%",height:"75px",padding:"30px",alignItems:"center",justifyContent:"center"},children:[E.jsxs(ce,{style:{fontSize:"18px",flexGrow:1},children:["© ",n," App Dev Club"]}),E.jsx("img",{src:"../logo256.png",style:{maxHeight:"50px"}}),E.jsxs(Y,{sx:{display:"flex",gap:"10px",flexGrow:1,justifyContent:"end"},children:[E.jsx(T4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(k4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(C4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(P4,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}}),E.jsx(TD,{style:{cursor:"pointer",verticalAlign:"text-bottom",fontSize:"22px"}})]})]})}const dw=[{title:"About",anchor:"#about"},{title:"Projects",anchor:"#projects"},{title:"Our Team",anchor:"#team"},{title:"Sponsors",anchor:"#sponsors"},{title:"Highlights",anchor:"#highlights"},{title:"Contact Us",anchor:"#contact"}];function kD(){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)}},[]),E.jsxs(E.Fragment,{children:[n.length<1?E.jsx(E.Fragment,{}):E.jsx(OT,{events:n}),E.jsx(wd,{links:dw,fullWidth:!0,sx:{backgroundColor:"transparent"}}),E.jsx(wd,{links:dw,translucent:!0,sx:{zIndex:2,marginTop:"25px",position:"fixed",top:`${e}px`,left:"0px"}}),E.jsx(h5,{}),E.jsx(Y,{sx:{position:"relative"},children:E.jsx($T,{})})]})}const MD=Cv({palette:{mode:"dark",text:{primary:"#FFFFFF"},background:{default:"#14213D"}},typography:{fontFamily:"Inter, sans-serif"}}),LT={baseTheme:MD};function dg(){return dg=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"&&typeof ae>"u"){var _e=pe?p:f;U=_e.left+_e.width/2,ae=_e.top+_e.height/2}var je=0,tt=0,yt=f,sn=yt.top,Di=yt.left,xt=yt.width,wt=yt.height,Mn;if(pe){var _s=p,zi=_s.top,$r=_s.left,Tp=_s.width,Ou=_s.height,kp=Di-$r,ee=sn-zi,Ru=xt/2+kp,Mp=wt/2+ee,Au=U-$r,Yy=ae-zi;tt=l.rotateYMax*(Au-Ru)/(Tp-xt/2)*-1,je=l.rotateXMax*(Yy-Mp)/(Ou-wt/2),Mn=U-Di+"px "+(ae-sn)+"px"}else{var Ms=xt/2,Fi=wt/2,Ni=U-Di,Cp=ae-sn;tt=l.rotateYMax*(Ni-Ms)/(xt/2)*-1,je=l.rotateXMax*(Cp-Fi)/(wt/2)}je=Math.min(Math.max(-je,-l.rotateXMax),l.rotateXMax),l.rotateXInvert&&(je=-je),tt=Math.min(Math.max(-tt,-l.rotateYMax),l.rotateYMax),l.rotateYInvert&&(tt=-tt);var la=je/l.rotateXMax*100,ua=tt/l.rotateYMax*100,QM=(pe?ua/100*l.stretchX:0)*(l.rotateYInvert?-1:1),YM=(pe?la/100*l.stretchY:0)*(l.rotateXInvert?-1:1),XM=pe?Math.max(Math.abs(la),Math.abs(ua))/100*l.stretchZ:0;C(u,"translate3d("+QM+"%, "+-YM+"%, "+-XM+"px) rotateX("+je+"deg) rotateY("+tt+"deg)"),Mn&&l.commonOrigin&&k(u,Mn),m&&(P(m,l.duration+"ms"),T(m,"ease-out"),C(m,"translate3d("+-ua*.25+"%, "+la*.25+"%, 0)"),M(m,Math.max(Math.abs(la),Math.abs(ua))/100)),V({rotateXPercentage:la,rotateYPercentage:ua,duration:l.duration+"ms",easeOut:!0}),typeof l.onRotate=="function"&&l.onRotate(je,tt)},q=function(){v.push(function(){return n.classList.add("atropos-active")}),P(u,l.duration+"ms"),T(u,"ease-out"),C(c,"translate3d(0,0, "+l.activeOffset+"px)"),P(c,l.duration+"ms"),T(c,"ease-out"),h&&(P(h,l.duration+"ms"),T(h,"ease-out")),a.isActive=!0},O=function(U){if(x=void 0,!(U.type==="pointerdown"&&U.pointerType==="mouse")&&!(U.type==="pointerenter"&&U.pointerType!=="mouse")){if(U.type==="pointerdown"&&U.preventDefault(),g=U.clientX,y=U.clientY,l.alwaysActive){f=void 0,p=void 0;return}q(),typeof l.onEnter=="function"&&l.onEnter()}},L=function(U){x===!1&&U.cancelable&&U.preventDefault()},B=function(U){if(!(!l.rotate||!a.isActive)){if(U.pointerType!=="mouse"){if(!l.rotateTouch)return;U.preventDefault()}var ae=U.clientX,pe=U.clientY,_e=ae-g,je=pe-y;if(typeof l.rotateTouch=="string"&&(_e!==0||je!==0)&&typeof x>"u"){if(_e*_e+je*je>=25){var tt=Math.atan2(Math.abs(je),Math.abs(_e))*180/Math.PI;x=l.rotateTouch==="scroll-y"?tt>45:90-tt>45}x===!1&&(n.classList.add("atropos-rotate-touch"),U.cancelable&&U.preventDefault())}U.pointerType!=="mouse"&&x||N(ae,pe)}},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")}),P(c,l.duration+"ms"),T(c,""),C(c,"translate3d(0,0, 0px)"),h&&(P(h,l.duration+"ms"),T(h,"")),m&&(P(m,l.duration+"ms"),T(m,""),C(m,"translate3d(0, 0, 0)"),M(m,0)),P(u,l.duration+"ms"),T(u,""),C(u,"translate3d(0,0,0) rotateX(0deg) rotateY(0deg)"),V({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 ae=U.target;!r.contains(ae)&&ae!==r&&a.isActive&&K()},Ye=function(){typeof n=="string"&&(n=Dr(document,n)),n&&(n.__atropos__||(typeof r<"u"?typeof r=="string"&&(r=Dr(document,r)):r=n,o=s?n.parentNode.host:n,Object.assign(a,{el:n}),u=Dr(n,".atropos-rotate"),c=Dr(n,".atropos-scale"),d=Dr(n,".atropos-inner"),n.__atropos__=a))},ge=function(){Ye(),!(!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")),Dr(o,"[data-atropos-opacity]")&&V({opacityOnly:!0}),R(document,"click",ne),R(r,"pointerdown",O),R(r,"pointerenter",O),R(r,"pointermove",B),R(r,"touchmove",L),R(r,"pointerleave",K),R(r,"pointerup",K),R(r,"lostpointercapture",K),l.alwaysActive&&(q(),N()))},ct=function(){a.destroyed=!0,cancelAnimationFrame(w),I(document,"click",ne),I(r,"pointerdown",O),I(r,"pointerenter",O),I(r,"pointermove",B),I(r,"touchmove",L),I(r,"pointerleave",K),I(r,"pointerup",K),I(r,"lostpointercapture",K),delete n.__atropos__};return a.destroy=ct,ge(),a}var ID=["component","children","rootChildren","scaleChildren","rotateChildren","className","scaleClassName","rotateClassName","innerClassName"];function Ed(){return Ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[i]=e[i]);return n}var jT=["eventsEl","alwaysActive","activeOffset","shadowOffset","shadowScale","duration","rotate","rotateTouch","rotateXMax","rotateYMax","rotateXInvert","rotateYInvert","stretchX","stretchY","stretchZ","commonOrigin","shadow","highlight","onEnter","onLeave","onRotate"],LD=function(t){var n={};return Object.keys(t).forEach(function(r){jT.includes(r)||(n[r]=t[r])}),n},jD=function(t){var n={};return Object.keys(t).forEach(function(r){jT.includes(r)&&(n[r]=t[r])}),n};function DD(e){var t=e.component,n=t===void 0?"div":t,r=e.children,i=e.rootChildren,s=e.scaleChildren,o=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=$D(e,ID),x=b.useRef(null),g=b.useRef(null),y=n,v=function(){for(var T=arguments.length,C=new Array(T),M=0;M"u")&&W.createElement("span",{className:"atropos-highlight"})),o,(e.shadow||typeof e.shadow>"u")&&W.createElement("span",{className:"atropos-shadow"})),s),i)}function FD(e){let t=0,n;for(n=0;n>n*8&255;r+=`00${i.toString(16)}`.slice(-2)}return r}function DT(e){return{sx:{bgcolor:FD(e)},children:`${e.split(" ")[0][0]}${e.split(" ")[1][0]}`}}var FT={};function ND(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(FT,"__esModule",{value:!0});var De=b;function zD(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Fr=zD(De);ND(`.rfm-marquee-container { overflow-x: hidden; display: flex; flex-direction: row; @@ -256,9 +256,9 @@ Error generating stack: `+s.message+` .rfm-child { transform: var(--transform); -}`);const zD=De.forwardRef(function({style:t={},className:n="",autoFill:r=!1,play:i=!0,pauseOnHover:s=!1,pauseOnClick:o=!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]=De.useState(0),[S,P]=De.useState(0),[T,C]=De.useState(1),[M,k]=De.useState(!1),R=De.useRef(null),I=y||R,$=De.useRef(null),D=De.useCallback(()=>{if($.current&&I.current){const K=I.current.getBoundingClientRect(),ne=$.current.getBoundingClientRect();let Ye=K.width,me=ne.width;(a==="up"||a==="down")&&(Ye=K.height,me=ne.height),C(r&&Ye&&me&&me{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]),De.useEffect(()=>{D()},[D,g]),De.useEffect(()=>{k(!0)},[]),De.useEffect(()=>{typeof x=="function"&&x()},[]);const V=De.useMemo(()=>r?S*T/l:SObject.assign(Object.assign({},t),{"--pause-on-hover":!i||s?"paused":"running","--pause-on-click":!i||s&&!o||o?"paused":"running","--width":a==="up"||a==="down"?"100vh":"100%","--transform":a==="up"?"rotate(-90deg)":a==="down"?"rotate(90deg)":"none"}),[t,i,s,o,a]),q=De.useMemo(()=>({"--gradient-color":f,"--gradient-width":typeof p=="number"?`${p}px`:p}),[f,p]),O=De.useMemo(()=>({"--play":i?"running":"paused","--direction":a==="left"?"normal":"reverse","--duration":`${V}s`,"--delay":`${u}s`,"--iteration-count":c?`${c}`:"infinite","--min-width":r?"auto":"100%"}),[i,a,V,u,c,r]),L=De.useMemo(()=>({"--transform":a==="up"?"rotate(90deg)":a==="down"?"rotate(-90deg)":"none"}),[a]),B=De.useCallback(K=>[...Array(Number.isFinite(K)&&K>=0?K:0)].map((ne,Ye)=>Fr.default.createElement(De.Fragment,{key:Ye},De.Children.map(g,me=>Fr.default.createElement("div",{style:L,className:"rfm-child"},me)))),[L,g]);return M?Fr.default.createElement("div",{ref:I,style:N,className:"rfm-marquee-container "+n},d&&Fr.default.createElement("div",{style:q,className:"rfm-overlay"}),Fr.default.createElement("div",{className:"rfm-marquee",style:O,onAnimationIteration:m,onAnimationEnd:h},Fr.default.createElement("div",{className:"rfm-initial-child-container",ref:$},De.Children.map(g,K=>Fr.default.createElement("div",{style:L,className:"rfm-child"},K))),B(T-1)),Fr.default.createElement("div",{className:"rfm-marquee",style:O},B(T))):null});var VD=DT.default=zD;function cw(e){const t=yC(),n=r=>t(`/project/${r._id}`);return e.mobileView?E.jsxs(Rl,{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:[E.jsxs(X,{sx:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",width:"100%"},children:[E.jsx(Se,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),E.jsx(Se,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),E.jsx(Se,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description})]}),E.jsx(dw,{autoScroll:!0,members:e.project.members})]}):E.jsx(jD,{highlight:!1,onClick:()=>{n(e.project)},style:{minWidth:"800px",height:"60vh",cursor:"pointer"},children:E.jsx(Rl,{sx:{...e==null?void 0:e.sx,borderRadius:"35px",padding:"30px",display:"flex",gap:"15px",color:"#000000",bgcolor:"#ffffff",width:"100%",height:"100%"},children:E.jsxs(X,{sx:{display:"flex",flexDirection:"column",flexGrow:1},children:[E.jsx(Se,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),E.jsx(Se,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),E.jsx(Se,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description}),E.jsx(dw,{members:e.project.members})]})})})}function dw(e){function t(){return E.jsx(E.Fragment,{children:e.members.map((n,r)=>E.jsx(PL,{label:`${n.memberInfo.firstName} ${n.memberInfo.lastName}`,variant:"outlined",sx:{color:"black",margin:"5px"},avatar:n.memberInfo.profileUrl?E.jsx(xd,{src:n.memberInfo.profileUrl}):E.jsx(xd,{...jT(`${n.memberInfo.firstName} ${n.memberInfo.lastName}`)})},r))})}return e.autoScroll?E.jsx(VD,{children:E.jsx(t,{})}):E.jsx(X,{sx:{marginTop:"10px",display:"flex",flexWrap:"wrap"},children:E.jsx(t,{})})}function fw(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function _0(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:fw(t[n])&&fw(e[n])&&Object.keys(t[n]).length>0&&_0(e[n],t[n])})}const FT={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 wr(){const e=typeof document<"u"?document:{};return _0(e,FT),e}const BD={document:FT,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 rn(){const e=typeof window<"u"?window:{};return _0(e,BD),e}function UD(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function WD(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function dg(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Pd(){return Date.now()}function HD(e){const t=rn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function GD(e,t){t===void 0&&(t="x");const n=rn();let r,i,s;const o=HD(e);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix(i==="none"?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function tc(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function qD(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Ht(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(s)<0);for(let s=0,o=i.length;ss?"next":"prev",c=(f,p)=>u==="next"&&f>=p||u==="prev"&&f<=p,d=()=>{a=new Date().getTime(),o===null&&(o=a);const f=Math.max(Math.min((a-o)/l,1),0),p=.5-Math.cos(f*Math.PI)/2;let h=s+p*(n-s);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 O0(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function mr(e,t){return t===void 0&&(t=""),[...e.children].filter(n=>n.matches(t))}function Cd(e){try{console.warn(e);return}catch{}}function Td(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:UD(t)),n}function KD(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 QD(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 li(e,t){return rn().getComputedStyle(e,null).getPropertyValue(t)}function pw(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function YD(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 hw(e,t,n){const r=rn();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 ch;function XD(){const e=rn(),t=wr();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function zT(){return ch||(ch=XD()),ch}let dh;function ZD(e){let{userAgent:t}=e===void 0?{}:e;const n=zT(),r=rn(),i=r.navigator.platform,s=t||r.navigator.userAgent,o={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const d=s.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&s.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=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),u&&!p&&(o.os="android",o.android=!0),(c||f||d)&&(o.os="ios",o.ios=!0),o}function VT(e){return e===void 0&&(e={}),dh||(dh=ZD(e)),dh}let fh;function JD(){const e=rn(),t=VT();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),s=r(),o=s||i&&t.ios;return{isSafari:n||s,needPerspectiveFix:n,need3dFix:o,isWebView:i}}function e6(){return fh||(fh=JD()),fh}function t6(e){let{swiper:t,on:n,emit:r}=e;const i=rn();let s=null,o=null;const a=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},l=()=>{!t||t.destroyed||!t.initialized||(s=new ResizeObserver(d=>{o=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()})}),s.observe(t.el))},u=()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=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 n6(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=[],o=rn(),a=function(c,d){d===void 0&&(d={});const f=o.MutationObserver||o.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])};o.requestAnimationFrame?o.requestAnimationFrame(m):o.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}),s.push(p)},l=()=>{if(t.params.observer){if(t.params.observeParents){const c=YD(t.hostEl);for(let d=0;d{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var r6={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(s=>{r.eventsListeners[s]||(r.eventsListeners[s]=[]),r.eventsListeners[s][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 s=arguments.length,o=new Array(s),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,s)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[r].splice(s,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,s=new Array(i),o=0;o{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 i6(){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(li(r,"padding-left")||0,10)-parseInt(li(r,"padding-right")||0,10),n=n-parseInt(li(r,"padding-top")||0,10)-parseInt(li(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 s6(){const e=this;function t(k,R){return parseFloat(k.getPropertyValue(e.getDirectionLabel(R))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:s,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=mr(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,P=0;if(typeof s>"u")return;typeof v=="string"&&v.indexOf("%")>=0?v=parseFloat(v.replace("%",""))/100*s:typeof v=="string"&&(v=parseFloat(v)),e.virtualSize=-v,c.forEach(k=>{o?k.style.marginLeft="":k.style.marginRight="",k.style.marginBottom="",k.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(nc(r,"--swiper-centered-offset-before",""),nc(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 C;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-s)}if(l&&n.loop){const k=h[0]+v;if(n.slidesPerGroup>1){const R=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(R=>{R.style[k]=`${v}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let k=0;h.forEach(I=>{k+=I+(v||0)}),k-=v;const R=k-s;f=f.map(I=>I<=0?-m:I>R?R+x:I)}if(n.centerInsufficientSlides){let k=0;if(h.forEach(R=>{k+=R+(v||0)}),k-=v,k{f[$]=I-R}),p.forEach((I,$)=>{p[$]=I+R})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){nc(r,"--swiper-centered-offset-before",`${-f[0]}px`),nc(r,"--swiper-centered-offset-after",`${e.size/2-h[h.length-1]/2}px`);const k=-e.snapGrid[0],R=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(I=>I+k),e.slidesGrid=e.slidesGrid.map(I=>I+R)}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`,R=e.el.classList.contains(k);d<=n.maxBackfaceHiddenSlides?R||e.el.classList.add(k):R&&e.el.classList.remove(k)}}function o6(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i=0,s;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const o=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(s=0;st.slides.length&&!r)break;n.push(o(a))}else n.push(o(t.activeIndex));for(s=0;si?a:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function a6(){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 o=-e;i&&(o=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 u6(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:s,isEnd:o,progressLoop:a}=t;const l=s,u=o;if(r===0)i=0,s=!0,o=!0;else{i=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;s=c||i<=0,o=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:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(l&&!s||u&&!o)&&t.emit("fromEdge"),t.emit("progress",i)}const ph=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function c6(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,a=d=>mr(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];let l,u,c;if(s)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 o?(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&&(o||(c=QD(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=KD(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(d=>{ph(d,d===l,n.slideActiveClass),ph(d,d===c,n.slideNextClass),ph(d,d===u,n.slidePrevClass)}),e.emitSlidesClasses()}const Mc=(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()}},hh=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},fg=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 o=i,a=[o-t];a.push(...Array.from({length:t}).map((l,u)=>o+r+u)),e.slides.forEach((l,u)=>{a.includes(l.column)&&hh(e,u)});return}const s=i+r-1;if(e.params.rewind||e.params.loop)for(let o=i-t;o<=s+t;o+=1){const a=(o%n+n)%n;(as)&&hh(e,a)}else for(let o=Math.max(i-t,0);o<=Math.min(s+t,n-1);o+=1)o!==i&&(o>s||o=t[s]&&r=t[s]&&r=t[s]&&(i=s);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function f6(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,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=d6(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===s&&!t.params.loop){u!==a&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===s&&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:o,realIndex:f,previousIndex:s,activeIndex:l}),t.initialized&&fg(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function p6(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 s=!1,o;if(i){for(let a=0;al?c=l:r&&eo?a="next":s"u"&&(t=s.params.speed);const m=Math.min(s.params.slidesPerGroupSkip,o);let x=m+Math.floor((o-m)/s.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&&(o=v)}if(s.initialized&&o!==d&&(!s.allowSlideNext&&(f?g>s.translate&&g>s.minTranslate():gs.translate&&g>s.maxTranslate()&&(d||0)!==o))return!1;o!==(c||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(g);let y;if(o>d?y="next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[v?"scrollLeft":"scrollTop"]=w})):p[v?"scrollLeft":"scrollTop"]=w,S&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return NT({swiper:s,targetPosition:w,side:v?"left":"top"}),!0;p.scrollTo({[v?"left":"top"]:w,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(g),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,r),s.transitionStart(n,y),t===0?s.transitionEnd(n,y):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(w){!s||s.destroyed||w.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,y))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function T6(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 s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let a;if(s){const f=o*i.params.grid.rows;a=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=i.getSlideIndexByData(o);const l=s?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 o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,t,n,r)}),i}function k6(e,t,n){t===void 0&&(t=!0);const r=this,{enabled:i,params:s,animating:o}=r;if(!i||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let a=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function M6(e,t,n){t===void 0&&(t=!0);const r=this,{params:i,snapGrid:s,slidesGrid:o,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=s.map(g=>f(g));let m=s[h.indexOf(p)-1];if(typeof m>"u"&&i.cssMode){let g;s.forEach((y,v)=>{p>=y&&(g=v)}),typeof g<"u"&&(m=s[g>0?g-1:g])}let x=0;if(typeof m<"u"&&(x=o.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 _6(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 O6(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 s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/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&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];l-u<=(c-u)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)}function R6(){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,s;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(mr(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),dg(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(mr(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),dg(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var A6={slideTo:C6,slideToLoop:T6,slideNext:k6,slidePrev:M6,slideReset:_6,slideToClosest:O6,slideToClickedSlide:R6};function I6(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{mr(r,`.${n.slideClass}, swiper-slide`).forEach((d,f)=>{d.setAttribute("data-swiper-slide-index",f)})},s=t.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(s?n.grid.rows:1),a=t.slides.length%o!==0,l=s&&t.slides.length%n.grid.rows!==0,u=c=>{for(let d=0;d1;u.length"u"?s=l.getSlideIndex(u.filter($=>$.classList.contains(p.slideActiveClass))[0]):S=s;const P=r==="next"||!r,T=r==="prev"||!r;let C=0,M=0;const k=y?Math.ceil(u.length/p.grid.rows):u.length,I=(y?u[s].column:s)+(h&&typeof i>"u"?-m/2+.5:0);if(I=0;N-=1)u[N].column===V&&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;${V.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}),P&&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&&P)&&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],V=l.slidesGrid[S+C]-$;a?l.setTranslate(l.translate-V):(l.slideTo(S+Math.ceil(C),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-V,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-V))}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&&P)if(typeof t>"u"){const $=l.slidesGrid[S],V=l.slidesGrid[S-M]-$;a?l.setTranslate(l.translate-V):(l.slideTo(S-M,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-V,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-V))}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&&!o){const $={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,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 L6(){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 s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[s]=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 j6={loopCreate:I6,loopFix:$6,loopDestroy:L6};function D6(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 F6(){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 N6={setGrabCursor:D6,unsetGrabCursor:F6};function z6(e,t){t===void 0&&(t=this);function n(r){if(!r||r===wr()||r===rn())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 mw(e,t,n){const r=rn(),{params:i}=e,s=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return s&&(n<=o||n>=r.innerWidth-o)?s==="prevent"?(t.preventDefault(),!0):!1:!0}function V6(e){const t=this,n=wr();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"){mw(t,r,r.targetTouches[0].pageX);return}const{params:s,touches:o,enabled:a}=t;if(!a||!s.simulateTouch&&r.pointerType==="mouse"||t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=r.target;if(s.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=!!s.noSwipingClass&&s.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(f?z6(d,l):l.closest(d))){t.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const p=o.currentX,h=o.currentY;if(!mw(t,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=h,i.touchStartTime=Pd(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.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&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||x)&&!l.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function B6(e){const t=wr(),n=this,r=n.touchEventsData,{params:i,touches:s,rtlTranslate:o,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(P=>P.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){s.startX=c,s.startY=d;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=Pd());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(ds.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(cs.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),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=d;const f=s.currentX-s.startX,p=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(f**2+p**2)"u"){let P;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:f*f+p*p>=25&&(P=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?P>i.touchAngle:90-P>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.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()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(h=Math.abs(h)*(o?1:-1),m=Math.abs(m)*(o?1:-1)),s.diff=h,h*=i.touchRatio,o&&(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 P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(P)}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(s,{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,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.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 U6(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:o,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}o.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=Pd(),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=Pd(),dg(()=>{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(o.followFinger?p=l?t.translate:-t.translate:p=-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.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;o.rewind&&(t.isBeginning?y=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const v=(p-u[m])/x,w=mo.longSwipesMs){if(!o.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(v>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?g:m+w):t.slideTo(m)),t.swipeDirection==="prev"&&(v>1-o.longSwipesRatio?t.slideTo(m+w):y!==null&&v<0&&Math.abs(v)>o.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!o.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 gw(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&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&&!o?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&&s!==e.snapGrid&&e.checkOverflow()}function W6(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function H6(){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 s=e.maxTranslate()-e.minTranslate();s===0?i=0:i=(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function G6(e){const t=this;Mc(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function q6(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const UT=(e,t)=>{const n=wr(),{params:r,el:i,wrapperEl:s,device:o}=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&&s[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",gw,!0):e[u]("observerUpdate",gw,!0),i[l]("load",e.onLoad,{capture:!0})};function K6(){const e=this,{params:t}=e;e.onTouchStart=V6.bind(e),e.onTouchMove=B6.bind(e),e.onTouchEnd=U6.bind(e),e.onDocumentTouchStart=q6.bind(e),t.cssMode&&(e.onScroll=H6.bind(e)),e.onClick=W6.bind(e),e.onLoad=G6.bind(e),UT(e,"on")}function Q6(){UT(this,"off")}var Y6={attachEvents:K6,detachEvents:Q6};const vw=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function X6(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const o=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in s?s[o]:void 0)||e.originalParams,u=vw(e,r),c=vw(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(),Ht(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=o,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 Z6(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=rn(),s=t==="window"?i.innerHeight:n.clientHeight,o=Object.keys(e).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:s*l,point:a}}return{value:a,point:a}});o.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 tF(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:s}=e,o=eF(["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:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),i.classList.add(...t),e.emitContainerClasses()}function nF(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var rF={addClasses:tF,removeClasses:nF};function iF(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,s=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>s}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 sF={checkOverflow:iF},pg={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 oF(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){Ht(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 s)){Ht(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),Ht(t,r)}}const mh={eventsEmitter:r6,update:h6,translate:w6,transition:P6,slide:A6,loop:j6,grabCursor:N6,events:Y6,breakpoints:J6,checkOverflow:sF,classes:rF},gh={};let R0=class lr{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),s=0;s1){const c=[];return o.querySelectorAll(n.el).forEach(d=>{const f=Ht({},n,{el:d});c.push(new lr(f))}),c}const a=this;a.__swiper__=!0,a.support=zT(),a.device=VT({userAgent:n.userAgent}),a.browser=e6(),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:oF(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=Ht({},pg,l);return a.params=Ht({},u,gh,n),a.originalParams=Ht({},a.params),a.passedParams=Ht({},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=mr(n,`.${r.slideClass}, swiper-slide`),s=pw(i[0]);return pw(t)-s}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=mr(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(),o=(r.maxTranslate()-i)*t+i;r.translateTo(o,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:s,slidesGrid:o,slidesSizesGrid:a,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=s[u]?Math.ceil(s[u].swiperSlideSize):0,f;for(let p=u+1;pl&&(f=!0));for(let p=u-1;p>=0;p-=1)s[p]&&!f&&(d+=s[p].swiperSlideSize,c+=1,d>l&&(f=!0))}else if(t==="current")for(let d=u+1;d=0;d-=1)o[u]-o[d]{o.complete&&Mc(t,o)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const o=t.rtlTranslate?t.translate*-1:t.translate,a=Math.min(Math.max(o,t.maxTranslate()),t.minTranslate());t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}let s;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 o=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;s=t.slideTo(o.length-1,0,!1,!0)}else s=t.slideTo(t.activeIndex,0,!1,!0);s||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(s=>{t==="vertical"?s.style.width="":s.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 o=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):mr(r,i())[0];return!o&&n.params.createElements&&(o=Td("div",n.params.wrapperClass),r.append(o),mr(r,`.${n.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||li(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||li(r,"direction")==="rtl"),wrongRTL:li(o,"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(s=>{s.complete?Mc(n,s):s.addEventListener("load",o=>{Mc(n,o.target)})}),fg(n),n.initialized=!0,fg(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:s,wrapperEl:o,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(),s.removeAttribute("style"),o.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,WD(r)),r.destroyed=!0),null}static extendDefaults(t){Ht(gh,t)}static get extendedDefaults(){return gh}static get defaults(){return pg}static installModule(t){lr.prototype.__modules__||(lr.prototype.__modules__=[]);const n=lr.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>lr.installModule(n)),lr):(lr.installModule(t),lr)}};Object.keys(mh).forEach(e=>{Object.keys(mh[e]).forEach(t=>{R0.prototype[t]=mh[e][t]})});R0.use([t6,n6]);const WT=["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 bs(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function ho(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]:bs(t[r])&&bs(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:ho(e[r],t[r]):e[r]=t[r]})}function HT(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function GT(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function qT(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function KT(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 aF(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function lF(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:s,prevEl:o,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,P,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||o)&&(r.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(w=!0);const C=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?P=!0:T=!0),u.forEach(M=>{if(bs(c[M])&&bs(r[M]))Object.assign(c[M],r[M]),(M==="navigation"||M==="pagination"||M==="scrollbar")&&"enabled"in r[M]&&!r[M].enabled&&C(M);else{const k=r[M];(k===!0||k===!1)&&(M==="navigation"||M==="pagination"||M==="scrollbar")?k===!1&&C(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&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=t.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),t.el.appendChild(s)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=t.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),t.el.appendChild(o))),s&&(c.navigation.nextEl=s),o&&(c.navigation.prevEl=o),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(),(P||T)&&t.loopCreate(),t.update()}function uF(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};ho(n,pg),n._emitClasses=!0,n.init=!1;const s={},o=WT.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(o.indexOf(l)>=0?bs(e[l])?(n[l]={},i[l]={},ho(n[l],e[l]),ho(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]:s[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:i,rest:s,events:r}}function cF(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:s,scrollbarEl:o,swiper:a}=e;HT(t)&&r&&i&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),GT(t)&&s&&(a.params.pagination.el=s,a.originalParams.pagination.el=s),qT(t)&&o&&(a.params.scrollbar.el=o,a.originalParams.scrollbar.el=o),a.init(n)}function dF(e,t,n,r,i){const s=[];if(!t)return s;const o=l=>{s.indexOf(l)<0&&s.push(l)};if(n&&r){const l=r.map(i),u=n.map(i);l.join("")!==u.join("")&&o("children"),r.length!==n.length&&o("children")}return WT.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(bs(e[l])&&bs(t[l])){const u=Object.keys(e[l]),c=Object.keys(t[l]);u.length!==c.length?o(l):(u.forEach(d=>{e[l][d]!==t[l][d]&&o(l)}),c.forEach(d=>{e[l][d]!==t[l][d]&&o(l)}))}else e[l]!==t[l]&&o(l)}),s}const fF=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 kd(){return kd=Object.assign?Object.assign.bind():function(e){for(var t=1;t{QT(n)?t.push(n):n.props&&n.props.children&&YT(n.props.children).forEach(r=>t.push(r))}),t}function pF(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return W.Children.toArray(e).forEach(r=>{if(QT(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=YT(r.props.children);i.length>0?i.forEach(s=>t.push(s)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function hF(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:s,to:o}=n,a=e.params.loop?-t.length:0,l=e.params.loop?t.length*2:t.length,u=[];for(let c=a;c=s&&c<=o&&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 Ka(e,t){return typeof window>"u"?b.useEffect(e,t):b.useLayoutEffect(e,t)}const yw=b.createContext(null),mF=b.createContext(null),XT=b.forwardRef(function(e,t){let{className:n,tag:r="div",wrapperTag:i="div",children:s,onSwiper:o,...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),P=b.useRef(null),T=b.useRef(null),{params:C,passedParams:M,rest:k,events:R}=uF(a),{slides:I,slots:$}=pF(s),D=()=>{h(!p)};Object.assign(C.on,{_containerClasses(L,B){c(B)}});const V=()=>{Object.assign(C.on,R),l=!0;const L={...C};if(delete L.wrapperClass,g.current=new R0(L),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=I;const B={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};ho(g.current.params.virtual,B),ho(g.current.originalParams.virtual,B)}};x.current||V(),g.current&&g.current.on("_beforeBreakpoint",D);const N=()=>{l||!R||!g.current||Object.keys(R).forEach(L=>{g.current.on(L,R[L])})},q=()=>{!R||!g.current||Object.keys(R).forEach(L=>{g.current.off(L,R[L])})};b.useEffect(()=>()=>{g.current&&g.current.off("_beforeBreakpoint",D)}),b.useEffect(()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)}),Ka(()=>{if(t&&(t.current=x.current),!!x.current)return g.current.destroyed&&V(),cF({el:x.current,nextEl:w.current,prevEl:S.current,paginationEl:P.current,scrollbarEl:T.current,swiper:g.current},C),o&&!g.current.destroyed&&o(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}},[]),Ka(()=>{N();const L=dF(M,y.current,I,v.current,B=>B.key);return y.current=M,v.current=I,L.length&&g.current&&!g.current.destroyed&&lF({swiper:g.current,slides:I,passedParams:M,changedParams:L,nextEl:w.current,prevEl:S.current,scrollbarEl:T.current,paginationEl:P.current}),()=>{q()}}),Ka(()=>{fF(g.current)},[d]);function O(){return C.virtual?hF(g.current,I,d):I.map((L,B)=>W.cloneElement(L,{swiper:g.current,swiperSlideIndex:B}))}return W.createElement(r,kd({ref:x,className:KT(`${u}${n?` ${n}`:""}`)},k),W.createElement(mF.Provider,{value:g.current},$["container-start"],W.createElement(i,{className:aF(C.wrapperClass)},$["wrapper-start"],O(),$["wrapper-end"]),HT(C)&&W.createElement(W.Fragment,null,W.createElement("div",{ref:S,className:"swiper-button-prev"}),W.createElement("div",{ref:w,className:"swiper-button-next"})),qT(C)&&W.createElement("div",{ref:T,className:"swiper-scrollbar"}),GT(C)&&W.createElement("div",{ref:P,className:"swiper-pagination"}),$["container-end"]))});XT.displayName="Swiper";const ZT=b.forwardRef(function(e,t){let{tag:n="div",children:r,className:i="",swiper:s,zoom:o,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,P){S===d.current&&p(P)}Ka(()=>{if(typeof u<"u"&&(d.current.swiperSlideIndex=u),t&&(t.current=d.current),!(!d.current||!s)){if(s.destroyed){f!=="swiper-slide"&&p("swiper-slide");return}return s.on("_slideClass",x),()=>{s&&s.off("_slideClass",x)}}}),Ka(()=>{s&&d.current&&!s.destroyed&&p(s.getSlideClasses(d.current))},[s]);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,kd({ref:d,className:KT(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":l,onLoad:v},c),o&&W.createElement(yw.Provider,{value:g},W.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof o=="number"?o:void 0},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"}))),!o&&W.createElement(yw.Provider,{value:g},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"})))});ZT.displayName="SwiperSlide";function gF(e){let{swiper:t,extendParams:n,on:r,emit:i,params:s}=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 o,a,l=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,d=new Date().getTime(),f,p,h,m,x,g,y;function v(O){!t||t.destroyed||!t.wrapperEl||O.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",v),!y&&k())}const w=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?f=!0:f&&(u=c,f=!1);const O=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=O,i("autoplayTimeLeft",O,O/l),a=requestAnimationFrame(()=>{w()})},S=()=>{let O;return t.virtual&&t.params.virtual.enabled?O=t.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:O=t.slides[t.activeIndex],O?parseInt(O.getAttribute("data-swiper-autoplay"),10):void 0},P=O=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(a),w();let L=typeof O>"u"?t.params.autoplay.delay:O;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const B=S();!Number.isNaN(B)&&B>0&&typeof O>"u"&&(L=B,l=B,u=B),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(()=>{P()})))};return L>0?(clearTimeout(o),o=setTimeout(()=>{ne()},L)):requestAnimationFrame(()=>{ne()}),L},T=()=>{d=new Date().getTime(),t.autoplay.running=!0,P(),i("autoplayStart")},C=()=>{t.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(a),i("autoplayStop")},M=(O,L)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(o),O||(g=!0);const B=()=>{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,B();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-d),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),B())},k=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(d=new Date().getTime(),g?(g=!1,P(c)):P(),t.autoplay.paused=!1,i("autoplayResume"))},R=()=>{if(t.destroyed||!t.autoplay.running)return;const O=wr();O.visibilityState==="hidden"&&(g=!0,M(!0)),O.visibilityState==="visible"&&k()},I=O=>{O.pointerType==="mouse"&&(g=!0,y=!0,!(t.animating||t.autoplay.paused)&&M(!0))},$=O=>{O.pointerType==="mouse"&&(y=!1,t.autoplay.paused&&k())},D=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",I),t.el.addEventListener("pointerleave",$))},V=()=>{t.el.removeEventListener("pointerenter",I),t.el.removeEventListener("pointerleave",$)},N=()=>{wr().addEventListener("visibilitychange",R)},q=()=>{wr().removeEventListener("visibilitychange",R)};r("init",()=>{t.params.autoplay.enabled&&(D(),N(),T())}),r("destroy",()=>{V(),q(),t.autoplay.running&&C()}),r("_freeModeStaticRelease",()=>{(h||g)&&k()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?C():M(!0,!0)}),r("beforeTransitionStart",(O,L,B)=>{t.destroyed||!t.autoplay.running||(B||!t.params.autoplay.disableOnInteraction?M(!0,!0):C())}),r("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){C();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(o),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:C,pause:M,resume:k})}function vF(e){const{effect:t,swiper:n,on:r,setTranslate:i,setTransition:s,overwriteParams:o,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=o?o():{};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&&s(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 yF(e,t){const n=O0(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function xw(e,t,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=O0(t);let s=i.querySelector(`.${r.split(" ").join(".")}`);return s||(s=Td("div",r.split(" ")),i.append(s)),s}function xF(e){let{swiper:t,extendParams:n,on:r}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),vF({effect:"coverflow",swiper:t,on:r,setTranslate:()=>{const{width:o,height:a,slides:l,slidesSizesGrid:u}=t,c=t.params.coverflowEffect,d=t.isHorizontal(),f=t.translate,p=d?-f+o/2:-f+a/2,h=d?c.rotate:-c.rotate,m=c.depth;for(let x=0,g=l.length;x0?P:0),q&&(q.style.opacity=-P>0?-P:0)}}},setTransition:o=>{t.slides.map(l=>O0(l)).forEach(l=>{l.style.transitionDuration=`${o}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${o}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function JT(e,t){return function(){return e.apply(t,arguments)}}const{toString:wF}=Object.prototype,{getPrototypeOf:A0}=Object,Yf=(e=>t=>{const n=wF.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),or=e=>(e=e.toLowerCase(),t=>Yf(t)===e),Xf=e=>t=>typeof t===e,{isArray:na}=Array,Il=Xf("undefined");function bF(e){return e!==null&&!Il(e)&&e.constructor!==null&&!Il(e.constructor)&&bn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const e2=or("ArrayBuffer");function SF(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e2(e.buffer),t}const EF=Xf("string"),bn=Xf("function"),t2=Xf("number"),Zf=e=>e!==null&&typeof e=="object",PF=e=>e===!0||e===!1,_c=e=>{if(Yf(e)!=="object")return!1;const t=A0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},CF=or("Date"),TF=or("File"),kF=or("Blob"),MF=or("FileList"),_F=e=>Zf(e)&&bn(e.pipe),OF=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||bn(e.append)&&((t=Yf(e))==="formdata"||t==="object"&&bn(e.toString)&&e.toString()==="[object FormData]"))},RF=or("URLSearchParams"),AF=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),na(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const r2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,i2=e=>!Il(e)&&e!==r2;function hg(){const{caseless:e}=i2(this)&&this||{},t={},n=(r,i)=>{const s=e&&n2(t,i)||i;_c(t[s])&&_c(r)?t[s]=hg(t[s],r):_c(r)?t[s]=hg({},r):na(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r(xu(t,(i,s)=>{n&&bn(i)?e[s]=JT(i,n):e[s]=i},{allOwnKeys:r}),e),$F=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),LF=(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)},jF=(e,t,n,r)=>{let i,s,o;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!r||r(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&A0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},DF=(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},FF=e=>{if(!e)return null;if(na(e))return e;let t=e.length;if(!t2(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},NF=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&A0(Uint8Array)),zF=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},VF=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},BF=or("HTMLFormElement"),UF=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ww=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),WF=or("RegExp"),s2=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};xu(n,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(r[s]=o||i)}),Object.defineProperties(e,r)},HF=e=>{s2(e,(t,n)=>{if(bn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(bn(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+"'")})}})},GF=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return na(e)?r(e):r(String(e).split(t)),n},qF=()=>{},KF=(e,t)=>(e=+e,Number.isFinite(e)?e:t),vh="abcdefghijklmnopqrstuvwxyz",bw="0123456789",o2={DIGIT:bw,ALPHA:vh,ALPHA_DIGIT:vh+vh.toUpperCase()+bw},QF=(e=16,t=o2.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function YF(e){return!!(e&&bn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const XF=e=>{const t=new Array(10),n=(r,i)=>{if(Zf(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=na(r)?[]:{};return xu(r,(o,a)=>{const l=n(o,i+1);!Il(l)&&(s[a]=l)}),t[i]=void 0,s}}return r};return n(e,0)},ZF=or("AsyncFunction"),JF=e=>e&&(Zf(e)||bn(e))&&bn(e.then)&&bn(e.catch),j={isArray:na,isArrayBuffer:e2,isBuffer:bF,isFormData:OF,isArrayBufferView:SF,isString:EF,isNumber:t2,isBoolean:PF,isObject:Zf,isPlainObject:_c,isUndefined:Il,isDate:CF,isFile:TF,isBlob:kF,isRegExp:WF,isFunction:bn,isStream:_F,isURLSearchParams:RF,isTypedArray:NF,isFileList:MF,forEach:xu,merge:hg,extend:IF,trim:AF,stripBOM:$F,inherits:LF,toFlatObject:jF,kindOf:Yf,kindOfTest:or,endsWith:DF,toArray:FF,forEachEntry:zF,matchAll:VF,isHTMLForm:BF,hasOwnProperty:ww,hasOwnProp:ww,reduceDescriptors:s2,freezeMethods:HF,toObjectSet:GF,toCamelCase:UF,noop:qF,toFiniteNumber:KF,findKey:n2,global:r2,isContextDefined:i2,ALPHABET:o2,generateString:QF,isSpecCompliantForm:YF,toJSONObject:XF,isAsyncFn:ZF,isThenable:JF};function ce(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(ce,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 a2=ce.prototype,l2={};["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=>{l2[e]={value:e}});Object.defineProperties(ce,l2);Object.defineProperty(a2,"isAxiosError",{value:!0});ce.from=(e,t,n,r,i,s)=>{const o=Object.create(a2);return j.toFlatObject(e,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),ce.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const eN=null;function mg(e){return j.isPlainObject(e)||j.isArray(e)}function u2(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function Sw(e,t,n){return e?e.concat(t).map(function(i,s){return i=u2(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function tN(e){return j.isArray(e)&&!e.some(mg)}const nN=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function Jf(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,s=n.dots,o=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 ce("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)&&tN(h)||(j.isFileList(h)||j.endsWith(m,"[]"))&&(g=j.toArray(h)))return m=u2(m),g.forEach(function(v,w){!(j.isUndefined(v)||v===null)&&t.append(o===!0?Sw([m],w,s):o===null?m:m+"[]",u(v))}),!1}return mg(h)?!0:(t.append(Sw(x,m,s),u(h)),!1)}const d=[],f=Object.assign(nN,{defaultVisitor:c,convertValue:u,isVisitable:mg});function p(h,m){if(!j.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),j.forEach(h,function(g,y){(!(j.isUndefined(g)||g===null)&&i.call(t,g,j.isString(y)?y.trim():y,m,f))===!0&&p(g,m?m.concat(y):[y])}),d.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Ew(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function I0(e,t){this._pairs=[],e&&Jf(e,this,t)}const c2=I0.prototype;c2.append=function(t,n){this._pairs.push([t,n])};c2.toString=function(t){const n=t?function(r){return t.call(this,r,Ew)}:Ew;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function rN(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function d2(e,t,n){if(!t)return e;const r=n&&n.encode||rN,i=n&&n.serialize;let s;if(i?s=i(t,n):s=j.isURLSearchParams(t)?t.toString():new I0(t,n).toString(r),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Pw{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const f2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},iN=typeof URLSearchParams<"u"?URLSearchParams:I0,sN=typeof FormData<"u"?FormData:null,oN=typeof Blob<"u"?Blob:null,aN={isBrowser:!0,classes:{URLSearchParams:iN,FormData:sN,Blob:oN},protocols:["http","https","file","blob","url","data"]},p2=typeof window<"u"&&typeof document<"u",lN=(e=>p2&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),uN=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",cN=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:p2,hasStandardBrowserEnv:lN,hasStandardBrowserWebWorkerEnv:uN},Symbol.toStringTag,{value:"Module"})),Zn={...cN,...aN};function dN(e,t){return Jf(e,new Zn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Zn.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function fN(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function pN(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r=n.length;return o=!o&&j.isArray(i)?i.length:o,l?(j.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!a):((!i[o]||!j.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],s)&&j.isArray(i[o])&&(i[o]=pN(i[o])),!a)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(fN(r),i,n,0)}),n}return null}function hN(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 $0={transitional:f2,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=j.isObject(t);if(s&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return i?JSON.stringify(h2(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(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return dN(t,this.formSerializer).toString();if((a=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Jf(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),hN(t)):t}],transformResponse:[function(t){const n=this.transitional||$0.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&j.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?ce.from(a,ce.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:Zn.classes.FormData,Blob:Zn.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=>{$0.headers[e]={}});const L0=$0,mN=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"]),gN=e=>{const t={};let n,r,i;return e&&e.split(` -`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&mN[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Cw=Symbol("internals");function xa(e){return e&&String(e).trim().toLowerCase()}function Oc(e){return e===!1||e==null?e:j.isArray(e)?e.map(Oc):String(e)}function vN(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 yN=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function yh(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 xN(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function wN(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,o){return this[r].call(this,t,i,s,o)},configurable:!0})})}class ep{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(a,l,u){const c=xa(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]=Oc(a))}const o=(a,l)=>j.forEach(a,(u,c)=>s(u,c,l));return j.isPlainObject(t)||t instanceof this.constructor?o(t,n):j.isString(t)&&(t=t.trim())&&!yN(t)?o(gN(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=xa(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return vN(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=xa(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||yh(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(o){if(o=xa(o),o){const a=j.findKey(r,o);a&&(!n||yh(r,r[a],a,n))&&(delete r[a],i=!0)}}return j.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||yh(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return j.forEach(this,(i,s)=>{const o=j.findKey(r,s);if(o){n[o]=Oc(i),delete n[s];return}const a=t?xN(s):String(s).trim();a!==s&&delete n[s],n[a]=Oc(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[Cw]=this[Cw]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=xa(o);r[a]||(wN(i,o),r[a]=!0)}return j.isArray(t)?t.forEach(s):s(t),this}}ep.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(ep.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(ep);const br=ep;function xh(e,t){const n=this||L0,r=t||n,i=br.from(r.headers);let s=r.data;return j.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function m2(e){return!!(e&&e.__CANCEL__)}function wu(e,t,n){ce.call(this,e??"canceled",ce.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(wu,ce,{__CANCEL__:!0});function bN(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ce("Request failed with status code "+n.status,[ce.ERR_BAD_REQUEST,ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const SN=Zn.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const o=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),j.isString(r)&&o.push("path="+r),j.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.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 EN(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function PN(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function g2(e,t){return e&&!EN(t)?PN(e,t):t}const CN=Zn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(s){let o=s;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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(o){const a=j.isString(o)?i(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function TN(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function kN(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];o||(o=u),n[i]=l,r[i]=u;let d=s,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),u-o{const s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-n,l=r(a),u=s<=o;n=s;const c={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&u?(o-s)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const MN=typeof XMLHttpRequest<"u",_N=MN&&function(e){return new Promise(function(n,r){let i=e.data;const s=br.from(e.headers).normalize();let{responseType:o,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(Zn.hasStandardBrowserEnv||Zn.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((c=s.getContentType())!==!1){const[m,...x]=c?c.split(";").map(g=>g.trim()).filter(Boolean):[];s.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)):"";s.set("Authorization","Basic "+btoa(m+":"+x))}const f=g2(e.baseURL,e.url);d.open(e.method.toUpperCase(),d2(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=br.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),g={data:!o||o==="text"||o==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};bN(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 ce("Request aborted",ce.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new ce("Network Error",ce.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||f2;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),r(new ce(x,g.clarifyTimeoutError?ce.ETIMEDOUT:ce.ECONNABORTED,e,d)),d=null},Zn.hasStandardBrowserEnv&&(a&&j.isFunction(a)&&(a=a(e)),a||a!==!1&&CN(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&SN.read(e.xsrfCookieName);m&&s.set(e.xsrfHeaderName,m)}i===void 0&&s.setContentType(null),"setRequestHeader"in d&&j.forEach(s.toJSON(),function(x,g){d.setRequestHeader(g,x)}),j.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),o&&o!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Tw(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Tw(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(r(!m||m.type?new wu(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=TN(f);if(h&&Zn.protocols.indexOf(h)===-1){r(new ce("Unsupported protocol "+h+":",ce.ERR_BAD_REQUEST,e));return}d.send(i||null)})},gg={http:eN,xhr:_N};j.forEach(gg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const kw=e=>`- ${e}`,ON=e=>j.isFunction(e)||e===null||e===!1,v2={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since : -`+s.map(kw).join(` -`):" "+kw(s[0]):"as no adapter specified";throw new ce("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:gg};function wh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new wu(null,e)}function Mw(e){return wh(e),e.headers=br.from(e.headers),e.data=xh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),v2.getAdapter(e.adapter||L0.adapter)(e).then(function(r){return wh(e),r.data=xh.call(e,e.transformResponse,r),r.headers=br.from(r.headers),r},function(r){return m2(r)||(wh(e),r&&r.response&&(r.response.data=xh.call(e,e.transformResponse,r.response),r.response.headers=br.from(r.response.headers))),Promise.reject(r)})}const _w=e=>e instanceof br?{...e}:e;function Vo(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 s(u,c){if(!j.isUndefined(c))return r(void 0,c)}function o(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:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c)=>i(_w(u),_w(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=l[c]||i,f=d(e[c],t[c],c);j.isUndefined(f)&&d!==a||(n[c]=f)}),n}const y2="1.6.8",j0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{j0[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ow={};j0.transitional=function(t,n,r){function i(s,o){return"[Axios v"+y2+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,a)=>{if(t===!1)throw new ce(i(o," has been removed"+(n?" in "+n:"")),ce.ERR_DEPRECATED);return n&&!Ow[o]&&(Ow[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,o,a):!0}};function RN(e,t,n){if(typeof e!="object")throw new ce("options must be an object",ce.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const a=e[s],l=a===void 0||o(a,s,e);if(l!==!0)throw new ce("option "+s+" must be "+l,ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ce("Unknown option "+s,ce.ERR_BAD_OPTION)}}const vg={assertOptions:RN,validators:j0},Nr=vg.validators;class Md{constructor(t){this.defaults=t,this.interceptors={request:new Pw,response:new Pw}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i;Error.captureStackTrace?Error.captureStackTrace(i={}):i=new Error;const s=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+s):r.stack=s}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Vo(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&vg.assertOptions(r,{silentJSONParsing:Nr.transitional(Nr.boolean),forcedJSONParsing:Nr.transitional(Nr.boolean),clarifyTimeoutError:Nr.transitional(Nr.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:vg.assertOptions(i,{encode:Nr.function,serialize:Nr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=s&&j.merge(s.common,s[n.method]);s&&j.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=br.concat(o,s);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,d=0,f;if(!l){const h=[Mw.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,c=Promise.resolve(n);d{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{r.subscribe(a),s=a}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},t(function(s,o,a){r.reason||(r.reason=new wu(s,o,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 D0(function(i){t=i}),cancel:t}}}const AN=D0;function IN(e){return function(n){return e.apply(null,n)}}function $N(e){return j.isObject(e)&&e.isAxiosError===!0}const yg={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(yg).forEach(([e,t])=>{yg[t]=e});const LN=yg;function x2(e){const t=new Rc(e),n=JT(Rc.prototype.request,t);return j.extend(n,Rc.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return x2(Vo(e,i))},n}const Qe=x2(L0);Qe.Axios=Rc;Qe.CanceledError=wu;Qe.CancelToken=AN;Qe.isCancel=m2;Qe.VERSION=y2;Qe.toFormData=Jf;Qe.AxiosError=ce;Qe.Cancel=Qe.CanceledError;Qe.all=function(t){return Promise.all(t)};Qe.spread=IN;Qe.isAxiosError=$N;Qe.mergeConfig=Vo;Qe.AxiosHeaders=br;Qe.formToJSON=e=>h2(j.isHTMLForm(e)?new FormData(e):e);Qe.getAdapter=v2.getAdapter;Qe.HttpStatusCode=LN;Qe.default=Qe;const bu=Qe.create({baseURL:"https://webv2-backend.appdevclub.com"});function jN(e){let t=`${e.firstName}-${e.lastName}`;return t=t.toLowerCase().replace(" ","-"),`${bu.getUri()}/team-images/${t}.jpeg`}function DN(e){let t="";return t=e.leadership.join(", "),t}function FN(e){const[t,n]=W.useState([]);return W.useEffect(()=>{bu.get("members/leaders/").then(r=>{n(()=>r.data)})},[]),E.jsxs(X,{...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:[E.jsx(Se,{sx:{fontSize:"3rem",fontWeight:"bold",marginBottom:"30px"},children:"Our Team"}),t.length<1?E.jsx(E.Fragment,{}):E.jsx(XT,{modules:[xF,gF],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=>E.jsx(ZT,{children:E.jsxs(X,{sx:{position:"relative",overflow:"hidden",width:"100%"},children:[E.jsx("img",{src:jN(r),alt:"member_image"}),E.jsxs(X,{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:[E.jsx(Se,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:`${r.firstName} ${r.lastName}`}),E.jsx(Se,{sx:{fontSize:"1rem"},children:DN(r)})]})]})}))})]})}var NN=Object.defineProperty,zN=(e,t)=>{for(var n in t)NN(e,n,{get:t[n],enumerable:!0})},zn={};zN(zn,{assign:()=>UN,colors:()=>wi,createStringInterpolator:()=>W0,skipAnimation:()=>T2,to:()=>C2,willAdvance:()=>H0});var F0=Eu(),J=e=>Su(e,F0),N0=Eu();J.write=e=>Su(e,N0);var tp=Eu();J.onStart=e=>Su(e,tp);var z0=Eu();J.onFrame=e=>Su(e,z0);var V0=Eu();J.onFinish=e=>Su(e,V0);var mo=[];J.setTimeout=(e,t)=>{const n=J.now()+t,r=()=>{const s=mo.findIndex(o=>o.cancel==r);~s&&mo.splice(s,1),ci-=~s?1:0},i={time:n,handler:e,cancel:r};return mo.splice(w2(n),0,i),ci+=1,b2(),i};var w2=e=>~(~mo.findIndex(t=>t.time>e)||~mo.length);J.cancel=e=>{tp.delete(e),z0.delete(e),V0.delete(e),F0.delete(e),N0.delete(e)};J.sync=e=>{xg=!0,J.batchedUpdates(e),xg=!1};J.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,J.onStart(n)}return r.handler=e,r.cancel=()=>{tp.delete(n),t=null},r};var B0=typeof window<"u"?window.requestAnimationFrame:()=>{};J.use=e=>B0=e;J.now=typeof performance<"u"?()=>performance.now():Date.now;J.batchedUpdates=e=>e();J.catch=console.error;J.frameLoop="always";J.advance=()=>{J.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):E2()};var ui=-1,ci=0,xg=!1;function Su(e,t){xg?(t.delete(e),e(0)):(t.add(e),b2())}function b2(){ui<0&&(ui=0,J.frameLoop!=="demand"&&B0(S2))}function VN(){ui=-1}function S2(){~ui&&(B0(S2),J.batchedUpdates(E2))}function E2(){const e=ui;ui=J.now();const t=w2(ui);if(t&&(P2(mo.splice(0,t),n=>n.handler()),ci-=t),!ci){VN();return}tp.flush(),F0.flush(e?Math.min(64,ui-e):16.667),z0.flush(),N0.flush(),V0.flush()}function Eu(){let e=new Set,t=e;return{add(n){ci+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return ci-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,ci-=t.size,P2(t,r=>r(n)&&e.add(r)),ci+=e.size,t=e)}}}function P2(e,t){e.forEach(n=>{try{t(n)}catch(r){J.catch(r)}})}function wg(){}var BN=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),z={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 dr(e,t){if(z.arr(e)){if(!z.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function ir(e,t,n){if(z.arr(e)){for(let r=0;rz.und(e)?[]:z.arr(e)?e:[e];function Qa(e,t){if(e.size){const n=Array.from(e);e.clear(),ue(n,t)}}var Ia=(e,...t)=>Qa(e,n=>n(...t)),U0=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),W0,C2,wi=null,T2=!1,H0=wg,UN=e=>{e.to&&(C2=e.to),e.now&&(J.now=e.now),e.colors!==void 0&&(wi=e.colors),e.skipAnimation!=null&&(T2=e.skipAnimation),e.createStringInterpolator&&(W0=e.createStringInterpolator),e.requestAnimationFrame&&J.use(e.requestAnimationFrame),e.batchedUpdates&&(J.batchedUpdates=e.batchedUpdates),e.willAdvance&&(H0=e.willAdvance),e.frameLoop&&(J.frameLoop=e.frameLoop)},Ya=new Set,vn=[],bh=[],_d=0,np={get idle(){return!Ya.size&&!vn.length},start(e){_d>e.priority?(Ya.add(e),J.onStart(WN)):(k2(e),J(bg))},advance:bg,sort(e){if(_d)J.onFrame(()=>np.sort(e));else{const t=vn.indexOf(e);~t&&(vn.splice(t,1),M2(e))}},clear(){vn=[],Ya.clear()}};function WN(){Ya.forEach(k2),Ya.clear(),J(bg)}function k2(e){vn.includes(e)||M2(e)}function M2(e){vn.splice(HN(vn,t=>t.priority>e.priority),0,e)}function bg(e){const t=bh;for(let n=0;n0}function HN(e,t){const n=e.findIndex(t);return n<0?e.length:n}var GN=(e,t,n)=>Math.min(Math.max(n,e),t),qN={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},jn="[-+]?\\d*\\.?\\d+",Od=jn+"%";function rp(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var KN=new RegExp("rgb"+rp(jn,jn,jn)),QN=new RegExp("rgba"+rp(jn,jn,jn,jn)),YN=new RegExp("hsl"+rp(jn,Od,Od)),XN=new RegExp("hsla"+rp(jn,Od,Od,jn)),ZN=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,JN=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ez=/^#([0-9a-fA-F]{6})$/,tz=/^#([0-9a-fA-F]{8})$/;function nz(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ez.exec(e))?parseInt(t[1]+"ff",16)>>>0:wi&&wi[e]!==void 0?wi[e]:(t=KN.exec(e))?(Ds(t[1])<<24|Ds(t[2])<<16|Ds(t[3])<<8|255)>>>0:(t=QN.exec(e))?(Ds(t[1])<<24|Ds(t[2])<<16|Ds(t[3])<<8|Iw(t[4]))>>>0:(t=ZN.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=tz.exec(e))?parseInt(t[1],16)>>>0:(t=JN.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=YN.exec(e))?(Rw(Aw(t[1]),rc(t[2]),rc(t[3]))|255)>>>0:(t=XN.exec(e))?(Rw(Aw(t[1]),rc(t[2]),rc(t[3]))|Iw(t[4]))>>>0:null}function Sh(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 Rw(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,s=Sh(i,r,e+1/3),o=Sh(i,r,e),a=Sh(i,r,e-1/3);return Math.round(s*255)<<24|Math.round(o*255)<<16|Math.round(a*255)<<8}function Ds(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Aw(e){return(parseFloat(e)%360+360)%360/360}function Iw(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function rc(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function $w(e){let t=nz(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,s=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${s})`}var $l=(e,t,n)=>{if(z.fun(e))return e;if(z.arr(e))return $l({range:e,output:t,extrapolate:n});if(z.str(e.output[0]))return W0(e);const r=e,i=r.output,s=r.range||[0,1],o=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(u=>u);return u=>{const c=iz(u,s);return rz(u,s[c],s[c+1],i[c],i[c+1],l,o,a,r.map)}};function rz(e,t,n,r,i,s,o,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=s(u),r===-1/0?u=-u:i===1/0?u=u+r:u=u*(i-r)+r,u)}function iz(e,t){for(var n=1;n=e);++n);return n-1}var sz=(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 GN(0,1,i/e)},Rd=1.70158,ic=Rd*1.525,Lw=Rd+1,jw=2*Math.PI/3,Dw=2*Math.PI/4.5,sc=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,oz={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=>Lw*e*e*e-Rd*e*e,easeOutBack:e=>1+Lw*Math.pow(e-1,3)+Rd*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((ic+1)*2*e-ic)/2:(Math.pow(2*e-2,2)*((ic+1)*(e*2-2)+ic)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*jw),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*jw)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Dw))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Dw)/2+1,easeInBounce:e=>1-sc(1-e),easeOutBounce:sc,easeInOutBounce:e=>e<.5?(1-sc(1-2*e))/2:(1+sc(2*e-1))/2,steps:sz},Ll=Symbol.for("FluidValue.get"),Bo=Symbol.for("FluidValue.observers"),gn=e=>!!(e&&e[Ll]),jt=e=>e&&e[Ll]?e[Ll]():e,Fw=e=>e[Bo]||null;function az(e,t){e.eventObserved?e.eventObserved(t):e(t)}function jl(e,t){const n=e[Bo];n&&n.forEach(r=>{az(r,t)})}var _2=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");lz(this,e)}},lz=(e,t)=>O2(e,Ll,t);function ra(e,t){if(e[Ll]){let n=e[Bo];n||O2(e,Bo,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Dl(e,t){const n=e[Bo];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Bo]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var O2=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Ac=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,uz=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Nw=new RegExp(`(${Ac.source})(%|[a-z]+)`,"i"),cz=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ip=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,R2=e=>{const[t,n]=dz(e);if(!t||U0())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&&ip.test(n))return R2(n);if(n)return n}return e},dz=e=>{const t=ip.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Eh,fz=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,A2=e=>{Eh||(Eh=wi?new RegExp(`(${Object.keys(wi).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(s=>jt(s).replace(ip,R2).replace(uz,$w).replace(Eh,$w)),n=t.map(s=>s.match(Ac).map(Number)),i=n[0].map((s,o)=>n.map(a=>{if(!(o in a))throw Error('The arity of each "output" value must be equal');return a[o]})).map(s=>$l({...e,output:s}));return s=>{var l;const o=!Nw.test(t[0])&&((l=t.find(u=>Nw.test(u)))==null?void 0:l.replace(Ac,""));let a=0;return t[0].replace(Ac,()=>`${i[a++](s)}${o||""}`).replace(cz,fz)}},G0="react-spring: ",I2=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${G0}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},pz=I2(console.warn);function hz(){pz(`${G0}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var mz=I2(console.warn);function gz(){mz(`${G0}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 sp(e){return z.str(e)&&(e[0]=="#"||/\d/.test(e)||!U0()&&ip.test(e)||e in(wi||{}))}var q0=U0()?b.useEffect:b.useLayoutEffect,vz=()=>{const e=b.useRef(!1);return q0(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function $2(){const e=b.useState()[1],t=vz();return()=>{t.current&&e(Math.random())}}function yz(e,t){const[n]=b.useState(()=>({inputs:t,result:e()})),r=b.useRef(),i=r.current;let s=i;return s?t&&s.inputs&&xz(t,s.inputs)||(s={inputs:t,result:e()}):s=n,b.useEffect(()=>{r.current=s,i==n&&(n.inputs=n.result=void 0)},[s]),s.result}function xz(e,t){if(e.length!==t.length)return!1;for(let n=0;nb.useEffect(e,wz),wz=[];function zw(e){const t=b.useRef();return b.useEffect(()=>{t.current=e}),t.current}var Fl=Symbol.for("Animated:node"),bz=e=>!!e&&e[Fl]===e,Un=e=>e&&e[Fl],K0=(e,t)=>BN(e,Fl,t),op=e=>e&&e[Fl]&&e[Fl].getPayload(),j2=class{constructor(){K0(this,this)}getPayload(){return this.payload||[]}},Pu=class extends j2{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,z.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Pu(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return z.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,z.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Nl=class extends Pu{constructor(e){super(0),this._string=null,this._toString=$l({output:[e,e]})}static create(e){return new Nl(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(z.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=$l({output:[this.getValue(),e]})),this._value=0,super.reset()}},Ad={dependencies:null},ap=class extends j2{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return ir(this.source,(n,r)=>{bz(n)?t[r]=n.getValue(e):gn(n)?t[r]=jt(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&ue(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return ir(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Ad.dependencies&&gn(e)&&Ad.dependencies.add(e);const t=op(e);t&&ue(t,n=>this.add(n))}},D2=class extends ap{constructor(e){super(e)}static create(e){return new D2(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(Sz)),!0)}};function Sz(e){return(sp(e)?Nl:Pu).create(e)}function Sg(e){const t=Un(e);return t?t.constructor:z.arr(e)?D2:sp(e)?Nl:Pu}var Vw=(e,t)=>{const n=!z.fun(e)||e.prototype&&e.prototype.isReactComponent;return b.forwardRef((r,i)=>{const s=b.useRef(null),o=n&&b.useCallback(h=>{s.current=Cz(i,h)},[i]),[a,l]=Pz(r,t),u=$2(),c=()=>{const h=s.current;if(n&&!h)return;(h?t.applyAnimatedValues(h,a.getValue(!0)):!1)===!1&&u()},d=new Ez(c,l),f=b.useRef();q0(()=>(f.current=d,ue(l,h=>ra(h,d)),()=>{f.current&&(ue(f.current.deps,h=>Dl(h,f.current)),J.cancel(f.current.update))})),b.useEffect(c,[]),L2(()=>()=>{const h=f.current;ue(h.deps,m=>Dl(m,h))});const p=t.getComponentProps(a.getValue());return b.createElement(e,{...p,ref:o})})},Ez=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&J.write(this.update)}};function Pz(e,t){const n=new Set;return Ad.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new ap(e),Ad.dependencies=null,[e,n]}function Cz(e,t){return e&&(z.fun(e)?e(t):e.current=t),t}var Bw=Symbol.for("AnimatedComponent"),Tz=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new ap(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},s=o=>{const a=Uw(o)||"Anonymous";return z.str(o)?o=s[o]||(s[o]=Vw(o,i)):o=o[Bw]||(o[Bw]=Vw(o,i)),o.displayName=`Animated(${a})`,o};return ir(e,(o,a)=>{z.arr(e)&&(a=Uw(o)),s[a]=s(o)}),{animated:s}},Uw=e=>z.str(e)?e:e&&z.str(e.displayName)?e.displayName:z.fun(e)&&e.name||null;function Ki(e,...t){return z.fun(e)?e(...t):e}var Xa=(e,t)=>e===!0||!!(t&&e&&(z.fun(e)?e(t):Kt(e).includes(t))),F2=(e,t)=>z.obj(e)?t&&e[t]:e,N2=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,kz=e=>e,Q0=(e,t=kz)=>{let n=Mz;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const s=t(e[i],i);z.und(s)||(r[i]=s)}return r},Mz=["config","onProps","onStart","onChange","onPause","onResume","onRest"],_z={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 Oz(e){const t={};let n=0;if(ir(e,(r,i)=>{_z[i]||(t[i]=r,n++)}),n)return t}function z2(e){const t=Oz(e);if(t){const n={to:t};return ir(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function zl(e){return e=jt(e),z.arr(e)?e.map(zl):sp(e)?zn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Rz(e){for(const t in e)return!0;return!1}function Eg(e){return z.fun(e)||z.arr(e)&&z.obj(e[0])}function Az(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function Iz(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var $z={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}},Pg={...$z.default,mass:1,damping:1,easing:oz.linear,clamp:!1},Lz=class{constructor(){this.velocity=0,Object.assign(this,Pg)}};function jz(e,t,n){n&&(n={...n},Ww(n,t),t={...n,...t}),Ww(e,t),Object.assign(e,t);for(const o in Pg)e[o]==null&&(e[o]=Pg[o]);let{frequency:r,damping:i}=e;const{mass:s}=e;return z.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*s,e.friction=4*Math.PI*i*s/r),e}function Ww(e,t){if(!z.und(t.decay))e.duration=void 0;else{const n=!z.und(t.tension)||!z.und(t.friction);(n||!z.und(t.frequency)||!z.und(t.damping)||!z.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var Hw=[],Dz=class{constructor(){this.changed=!1,this.values=Hw,this.toValues=null,this.fromValues=Hw,this.config=new Lz,this.immediate=!1}};function V2(e,{key:t,props:n,defaultProps:r,state:i,actions:s}){return new Promise((o,a)=>{let l,u,c=Xa(n.cancel??(r==null?void 0:r.cancel),t);if(c)p();else{z.und(n.pause)||(i.paused=Xa(n.pause,t));let h=r==null?void 0:r.pause;h!==!0&&(h=i.paused||Xa(h,t)),l=Ki(n.delay||0,t),h?(i.resumeQueue.add(f),s.pause()):(s.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(u),u.cancel(),l=u.time-J.now()}function f(){l>0&&!zn.skipAnimation?(i.delayed=!0,u=J.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{s.start({...n,callId:e,cancel:c},o)}catch(h){a(h)}}})}var Y0=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?go(e.get()):t.every(n=>n.noop)?B2(e.get()):Ln(e.get(),t.every(n=>n.finished)),B2=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ln=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),go=e=>({value:e,cancelled:!0,finished:!1});function U2(e,t,n,r){const{callId:i,parentId:s,onRest:o}=t,{asyncTo:a,promise:l}=n;return!s&&e===a&&!t.reset?l:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const u=Q0(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)&&go(r)||i!==n.asyncId&&Ln(r,!1);if(g)throw x.result=g,d(x),x},h=(x,g)=>{const y=new Gw,v=new qw;return(async()=>{if(zn.skipAnimation)throw Vl(n),v.result=Ln(r,!1),d(v),v;p(y);const w=z.obj(x)?{...x}:{...g,to:x};w.parentId=i,ir(u,(P,T)=>{z.und(w[T])&&(w[T]=P)});const S=await r.start(w);return p(y),n.paused&&await new Promise(P=>{n.resumeQueue.add(P)}),S})()};let m;if(zn.skipAnimation)return Vl(n),Ln(r,!1);try{let x;z.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=Ln(r.get(),!0,!1)}catch(x){if(x instanceof Gw)m=x.result;else if(x instanceof qw)m=x.result;else throw x}finally{i==n.asyncId&&(n.asyncId=s,n.asyncTo=s?a:void 0,n.promise=s?l:void 0)}return z.fun(o)&&J.batchedUpdates(()=>{o(m,r,r.item)}),m})()}function Vl(e,t){Qa(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Gw=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.")}},qw=class extends Error{constructor(){super("SkipAnimationSignal")}},Cg=e=>e instanceof X0,Fz=1,X0=class extends _2{constructor(){super(...arguments),this.id=Fz++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Un(this);return e&&e.getValue()}to(...e){return zn.to(this,e)}interpolate(...e){return hz(),zn.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){jl(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||np.sort(this),jl(this,{type:"priority",parent:this,priority:e})}},Ss=Symbol.for("SpringPhase"),W2=1,Tg=2,kg=4,Ph=e=>(e[Ss]&W2)>0,zr=e=>(e[Ss]&Tg)>0,wa=e=>(e[Ss]&kg)>0,Kw=(e,t)=>t?e[Ss]|=Tg|W2:e[Ss]&=~Tg,Qw=(e,t)=>t?e[Ss]|=kg:e[Ss]&=~kg,Nz=class extends X0{constructor(e,t){if(super(),this.animation=new Dz,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,!z.und(e)||!z.und(t)){const n=z.obj(e)?{...e}:{...t,from:e};z.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(zr(this)||this._state.asyncTo)||wa(this)}get goal(){return jt(this.animation.to)}get velocity(){const e=Un(this);return e instanceof Pu?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return Ph(this)}get isAnimating(){return zr(this)}get isPaused(){return wa(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:s}=r,o=op(r.to);!o&&gn(r.to)&&(i=Kt(jt(r.to))),r.values.forEach((u,c)=>{if(u.done)return;const d=u.constructor==Nl?1:o?o[c].lastPosition:i[c];let f=r.immediate,p=d;if(!f){if(p=u.lastPosition,s.tension<=0){u.done=!0;return}let h=u.elapsedTime+=e;const m=r.fromValues[c],x=u.v0!=null?u.v0:u.v0=z.arr(s.velocity)?s.velocity[c]:s.velocity;let g;const y=s.precision||(m==d?.005:Math.min(1,Math.abs(d-m)*.001));if(z.und(s.duration))if(s.decay){const v=s.decay===!0?.998:s.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=s.restVelocity||y/10,w=s.clamp?0:s.bounce,S=!z.und(w),P=m==d?u.v0>0:mv,!(!T&&(f=Math.abs(d-p)<=y,f)));++R){S&&(C=p==d||p>d==P,C&&(g=-g*w,p=d));const I=-s.tension*1e-6*(p-d),$=-s.friction*.001*g,D=(I+$)/s.mass;g=g+D*M,p=p+g*M}}else{let v=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,u.durationProgress>0&&(u.elapsedTime=s.duration*u.durationProgress,h=u.elapsedTime+=e)),v=(s.progress||0)+h/this._memoizedDuration,v=v>1?1:v<0?0:v,u.durationProgress=v),p=m+s.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)}o&&!o[c].done&&(f=!1),f?u.done=!0:t=!1,u.setValue(p,s.round)&&(n=!0)});const a=Un(this),l=a.getValue();if(t){const u=jt(r.to);(l!==u||n)&&!s.decay?(a.setValue(u),this._onChange(u)):n&&s.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(e){return J.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(zr(this)){const{to:e,config:t}=this.animation;J.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 z.und(e)?(n=this.queue||[],this.queue=[]):n=[z.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>Y0(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Vl(this._state,e&&this._lastCallId),J.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=z.obj(n)?n[t]:n,(n==null||Eg(n))&&(n=void 0),r=z.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return Ph(this)||(e.reverse&&([n,r]=[r,n]),r=jt(r),z.und(r)?Un(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,Q0(e,(o,a)=>/^on/.test(a)?F2(o,n):o)),Xw(this,e,"onProps"),Sa(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 s=this._state;return V2(++this._lastCallId,{key:n,props:e,defaultProps:r,state:s,actions:{pause:()=>{wa(this)||(Qw(this,!0),Ia(s.pauseQueue),Sa(this,"onPause",Ln(this,ba(this,this.animation.to)),this))},resume:()=>{wa(this)&&(Qw(this,!1),zr(this)&&this._resume(),Ia(s.resumeQueue),Sa(this,"onResume",Ln(this,ba(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(e.loop&&o.finished&&!(t&&o.noop)){const a=H2(e);if(a)return this._update(a,!0)}return o})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(go(this));const r=!z.und(e.to),i=!z.und(e.from);if(r||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(go(this));const{key:s,defaultProps:o,animation:a}=this,{to:l,from:u}=a;let{to:c=l,from:d=u}=e;i&&!r&&(!t.default||z.und(c))&&(c=d),t.reverse&&([c,d]=[d,c]);const f=!dr(d,u);f&&(a.from=d),d=jt(d);const p=!dr(c,l);p&&this._focus(c);const h=Eg(t.to),{config:m}=a,{decay:x,velocity:g}=m;(r||i)&&(m.velocity=0),t.config&&!h&&jz(m,Ki(t.config,s),t.config!==o.config?Ki(o.config,s):void 0);let y=Un(this);if(!y||z.und(c))return n(Ln(this,!0));const v=z.und(t.reset)?i&&!t.default:!z.und(d)&&Xa(t.reset,s),w=v?d:this.get(),S=zl(c),P=z.num(S)||z.arr(S)||sp(S),T=!h&&(!P||Xa(o.immediate||t.immediate,s));if(p){const R=Sg(c);if(R!==y.constructor)if(T)y=this._set(S);else throw Error(`Cannot animate between ${y.constructor.name} and ${R.name}, as the "to" prop suggests`)}const C=y.constructor;let M=gn(c),k=!1;if(!M){const R=v||!Ph(this)&&f;(p||R)&&(k=dr(zl(w),S),M=!k),(!dr(a.immediate,T)&&!T||!dr(m.decay,x)||!dr(m.velocity,g))&&(M=!0)}if(k&&zr(this)&&(a.changed&&!v?M=!0:M||this._stop(l)),!h&&((M||gn(l))&&(a.values=y.getPayload(),a.toValues=gn(c)?null:C==Nl?[1]:Kt(S)),a.immediate!=T&&(a.immediate=T,!T&&!v&&this._set(l)),M)){const{onRest:R}=a;ue(Vz,$=>Xw(this,t,$));const I=Ln(this,ba(this,l));Ia(this._pendingCalls,I),this._pendingCalls.add(n),a.changed&&J.batchedUpdates(()=>{var $;a.changed=!v,R==null||R(I,this),v?Ki(o.onRest,I):($=a.onStart)==null||$.call(a,I,this)})}v&&this._set(w),h?n(U2(t.to,t,this._state,this)):M?this._start():zr(this)&&!p?this._pendingCalls.add(n):n(B2(w))}_focus(e){const t=this.animation;e!==t.to&&(Fw(this)&&this._detach(),t.to=e,Fw(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;gn(t)&&(ra(t,this),Cg(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;gn(e)&&Dl(e,this)}_set(e,t=!0){const n=jt(e);if(!z.und(n)){const r=Un(this);if(!r||!dr(n,r.getValue())){const i=Sg(n);!r||r.constructor!=i?K0(this,i.create(n)):r.setValue(n),r&&J.batchedUpdates(()=>{this._onChange(n,t)})}}return Un(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Sa(this,"onStart",Ln(this,ba(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ki(this.animation.onChange,e,this)),Ki(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Un(this).reset(jt(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),zr(this)||(Kw(this,!0),wa(this)||this._resume())}_resume(){zn.skipAnimation?this.finish():np.start(this)}_stop(e,t){if(zr(this)){Kw(this,!1);const n=this.animation;ue(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),jl(this,{type:"idle",parent:this});const r=t?go(this.get()):Ln(this.get(),ba(this,e??n.to));Ia(this._pendingCalls,r),n.changed&&(n.changed=!1,Sa(this,"onRest",r,this))}}};function ba(e,t){const n=zl(t),r=zl(e.get());return dr(r,n)}function H2(e,t=e.loop,n=e.to){const r=Ki(t);if(r){const i=r!==!0&&z2(r),s=(i||e).reverse,o=!i||i.reset;return Bl({...e,loop:t,default:!1,pause:void 0,to:!s||Eg(n)?n:void 0,from:o?e.from:void 0,reset:o,...i})}}function Bl(e){const{to:t,from:n}=e=z2(e),r=new Set;return z.obj(t)&&Yw(t,r),z.obj(n)&&Yw(n,r),e.keys=r.size?Array.from(r):null,e}function zz(e){const t=Bl(e);return z.und(t.default)&&(t.default=Q0(t)),t}function Yw(e,t){ir(e,(n,r)=>n!=null&&t.add(r))}var Vz=["onStart","onRest","onChange","onPause","onResume"];function Xw(e,t,n){e.animation[n]=t[n]!==N2(t,n)?F2(t[n],e.key):void 0}function Sa(e,t,...n){var r,i,s,o;(i=(r=e.animation)[t])==null||i.call(r,...n),(o=(s=e.defaultProps)[t])==null||o.call(s,...n)}var Bz=["onStart","onChange","onRest"],Uz=1,Wz=class{constructor(e,t){this.id=Uz++,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];z.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Bl(e)),this}start(e){let{queue:t}=this;return e?t=Kt(e).map(Bl):this.queue=[],this._flush?this._flush(this,t):(Y2(this,t),Mg(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;ue(Kt(t),r=>n[r].stop(!!e))}else Vl(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(z.und(e))this.start({pause:!0});else{const t=this.springs;ue(Kt(e),n=>t[n].pause())}return this}resume(e){if(z.und(e))this.start({pause:!1});else{const t=this.springs;ue(Kt(e),n=>t[n].resume())}return this}each(e){ir(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,Qa(e,([a,l])=>{l.value=this.get(),a(l,this,this._item)}));const s=!r&&this._started,o=i||s&&n.size?this.get():null;i&&t.size&&Qa(t,([a,l])=>{l.value=o,a(l,this,this._item)}),s&&(this._started=!1,Qa(n,([a,l])=>{l.value=o,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;J.onFrame(this._onFrame)}};function Mg(e,t){return Promise.all(t.map(n=>G2(e,n))).then(n=>Y0(e,n))}async function G2(e,t,n){const{keys:r,to:i,from:s,loop:o,onRest:a,onResolve:l}=t,u=z.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),s===!1&&(t.from=null);const c=z.arr(i)||z.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):ue(Bz,m=>{const x=t[m];if(z.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,Ia(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||N2(t,"cancel")===!0;(c||p&&d.asyncId)&&f.push(V2(++e._lastAsyncId,{props:t,state:d,actions:{pause:wg,resume:wg,start(m,x){p?(Vl(d,e._lastAsyncId),x(go(e))):(m.onRest=a,x(U2(c,m,d,e)))}}})),d.paused&&await new Promise(m=>{d.resumeQueue.add(m)});const h=Y0(e,await Promise.all(f));if(o&&h.finished&&!(n&&h.noop)){const m=H2(t,o,i);if(m)return Y2(e,[m]),G2(e,m,!0)}return l&&J.batchedUpdates(()=>l(h,e,e.item)),h}function Zw(e,t){const n={...e.springs};return t&&ue(Kt(t),r=>{z.und(r.keys)&&(r=Bl(r)),z.obj(r.to)||(r={...r,to:void 0}),Q2(n,r,i=>K2(i))}),q2(e,n),n}function q2(e,t){ir(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,ra(n,e))})}function K2(e,t){const n=new Nz;return n.key=e,t&&ra(n,t),n}function Q2(e,t,n){t.keys&&ue(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function Y2(e,t){ue(t,n=>{Q2(e.springs,n,r=>K2(r,e))})}var lp=({children:e,...t})=>{const n=b.useContext(Id),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=yz(()=>({pause:r,immediate:i}),[r,i]);const{Provider:s}=Id;return b.createElement(s,{value:t},e)},Id=Hz(lp,{});lp.Provider=Id.Provider;lp.Consumer=Id.Consumer;function Hz(e,t){return Object.assign(e,b.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var Gz=()=>{const e=[],t=function(r){gz();const i=[];return ue(e,(s,o)=>{if(z.und(r))i.push(s.start());else{const a=n(r,s,o);a&&i.push(s.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 ue(e,r=>r.pause(...arguments)),this},t.resume=function(){return ue(e,r=>r.resume(...arguments)),this},t.set=function(r){ue(e,(i,s)=>{const o=z.fun(r)?r(s,i):r;o&&i.set(o)})},t.start=function(r){const i=[];return ue(e,(s,o)=>{if(z.und(r))i.push(s.start());else{const a=this._getProps(r,s,o);a&&i.push(s.start(a))}}),i},t.stop=function(){return ue(e,r=>r.stop(...arguments)),this},t.update=function(r){return ue(e,(i,s)=>i.update(this._getProps(r,i,s))),this};const n=function(r,i,s){return z.fun(r)?r(s,i):r};return t._getProps=n,t};function qz(e,t,n){const r=z.fun(t)&&t;r&&!n&&(n=[]);const i=b.useMemo(()=>r||arguments.length==3?Gz():void 0,[]),s=b.useRef(0),o=$2(),a=b.useMemo(()=>({ctrls:[],queue:[],flush(g,y){const v=Zw(g,y);return s.current>0&&!a.queue.length&&!Object.keys(v).some(S=>!g.springs[S])?Mg(g,y):new Promise(S=>{q2(g,v),a.queue.push(()=>{S(Mg(g,y))}),o()})}}),[]),l=b.useRef([...a.ctrls]),u=[],c=zw(e)||0;b.useMemo(()=>{ue(l.current.slice(e,c),g=>{Az(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;vZw(g,u[y])),p=b.useContext(lp),h=zw(p),m=p!==h&&Rz(p);q0(()=>{s.current++,a.ctrls=l.current;const{queue:g}=a;g.length&&(a.queue=[],ue(g,y=>y())),ue(l.current,(y,v)=>{i==null||i.add(y),m&&y.start({default:p});const w=u[v];w&&(Iz(y,w.ref),y.ref?y.queue.push(w):y.start(w))})}),L2(()=>()=>{ue(a.ctrls,g=>g.stop(!0))});const x=f.map(g=>({...g}));return i?[x,i]:x}function Kz(e,t){const n=z.fun(e),[[r],i]=qz(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}var Qz=class extends X0{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=$l(...t);const n=this._get(),r=Sg(n);K0(this,r.create(n))}advance(e){const t=this._get(),n=this.get();dr(t,n)||(Un(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Jw(this._active)&&Ch(this)}_get(){const e=z.arr(this.source)?this.source.map(jt):Kt(jt(this.source));return this.calc(...e)}_start(){this.idle&&!Jw(this._active)&&(this.idle=!1,ue(op(this),e=>{e.done=!1}),zn.skipAnimation?(J.batchedUpdates(()=>this.advance()),Ch(this)):np.start(this))}_attach(){let e=1;ue(Kt(this.source),t=>{gn(t)&&ra(t,this),Cg(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){ue(Kt(this.source),e=>{gn(e)&&Dl(e,this)}),this._active.clear(),Ch(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=Kt(this.source).reduce((t,n)=>Math.max(t,(Cg(n)?n.priority:0)+1),0))}};function Yz(e){return e.idle!==!1}function Jw(e){return!e.size||Array.from(e).every(Yz)}function Ch(e){e.idle||(e.idle=!0,ue(op(e),t=>{t.done=!0}),jl(e,{type:"idle",parent:e}))}zn.assign({createStringInterpolator:A2,to:(e,t)=>new Qz(e,t)});var X2=/^--/;function Xz(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!X2.test(e)&&!(Za.hasOwnProperty(e)&&Za[e])?t+"px":(""+t).trim()}var eb={};function Zz(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:s,scrollLeft:o,viewBox:a,...l}=t,u=Object.values(l),c=Object.keys(l).map(d=>n||e.hasAttribute(d)?d:eb[d]||(eb[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=Xz(d,r[d]);X2.test(d)?e.style.setProperty(d,f):e.style[d]=f}c.forEach((d,f)=>{e.setAttribute(d,u[f])}),s!==void 0&&(e.scrollTop=s),o!==void 0&&(e.scrollLeft=o),a!==void 0&&e.setAttribute("viewBox",a)}var Za={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},Jz=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),e8=["Webkit","Ms","Moz","O"];Za=Object.keys(Za).reduce((e,t)=>(e8.forEach(n=>e[Jz(n,t)]=e[t]),e),Za);var t8=/^(matrix|translate|scale|rotate|skew)/,n8=/^(translate)/,r8=/^(rotate|skew)/,Th=(e,t)=>z.num(e)&&e!==0?e+t:e,Ic=(e,t)=>z.arr(e)?e.every(n=>Ic(n,t)):z.num(e)?e===t:parseFloat(e)===t,i8=class extends ap{constructor({x:e,y:t,z:n,...r}){const i=[],s=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),s.push(o=>[`translate3d(${o.map(a=>Th(a,"px")).join(",")})`,Ic(o,0)])),ir(r,(o,a)=>{if(a==="transform")i.push([o||""]),s.push(l=>[l,l===""]);else if(t8.test(a)){if(delete r[a],z.und(o))return;const l=n8.test(a)?"px":r8.test(a)?"deg":"";i.push(Kt(o)),s.push(a==="rotate3d"?([u,c,d,f])=>[`rotate3d(${u},${c},${d},${Th(f,l)})`,Ic(f,0)]:u=>[`${a}(${u.map(c=>Th(c,l)).join(",")})`,Ic(u,a.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new s8(i,s)),super(r)}},s8=class extends _2{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 ue(this.inputs,(n,r)=>{const i=jt(n[0]),[s,o]=this.transforms[r](z.arr(i)?i:n.map(jt));e+=" "+s,t=t&&o}),t?"none":e}observerAdded(e){e==1&&ue(this.inputs,t=>ue(t,n=>gn(n)&&ra(n,this)))}observerRemoved(e){e==0&&ue(this.inputs,t=>ue(t,n=>gn(n)&&Dl(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),jl(this,e)}},o8=["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"];zn.assign({batchedUpdates:df.unstable_batchedUpdates,createStringInterpolator:A2,colors:qN});var a8=Tz(o8,{applyAnimatedValues:Zz,createAnimatedStyle:e=>new i8(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),l8=a8.animated;const u8=l8(Se);function kh({end:e,title:t,prefix:n,start:r,minWidth:i,alignSelf:s}){const{number:o}=Kz({from:{number:r||0},number:e,config:{mass:1,tension:20,friction:10}});return E.jsx(X,{sx:{display:"flex",justifyContent:"center",flexDirection:"column",flex:1,minWidth:i},children:E.jsxs(X,{sx:{display:"flex",flex:1,alignItems:"center",flexDirection:"column"},children:[E.jsx(X,{sx:{display:"flex",flex:1,alignItems:"flex-start",alignSelf:s||"center"},children:E.jsxs(X,{sx:{flexDirection:"row",alignItems:"center",alignSelf:"center",justifyContent:"center",display:"flex",flex:1},children:[E.jsx(Se,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:n}),E.jsx(u8,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:o.to(a=>Math.floor(a).toLocaleString("en-US"))}),E.jsx(Se,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:"+"})]})}),E.jsx(Se,{sx:{fontSize:"calc(15px + 0.5vw)",alignSelf:s||"center"},children:t})]})})}var Cu=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(){}},Uo=typeof window>"u"||"Deno"in globalThis;function dn(){}function c8(e,t){return typeof e=="function"?e(t):e}function _g(e){return typeof e=="number"&&e>=0&&e!==1/0}function Z2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function tb(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==Z0(o,t.options))return!1}else if(!Wl(t.queryKey,o))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||s&&!s(t))}function nb(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ul(t.options.mutationKey)!==Ul(s))return!1}else if(!Wl(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Z0(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ul)(e)}function Ul(e){return JSON.stringify(e,(t,n)=>Rg(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Wl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Wl(e[n],t[n])):!1}function J2(e,t){if(e===t)return e;const n=rb(e)&&rb(t);if(n||Rg(e)&&Rg(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{};let l=0;for(let u=0;u{setTimeout(t,e)})}function Ag(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?J2(e,t):t}function f8(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function p8(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var J0=Symbol(),ns,Jr,yo,zS,h8=(zS=class extends Cu{constructor(){super();Y(this,ns,void 0);Y(this,Jr,void 0);Y(this,yo,void 0);H(this,yo,t=>{if(!Uo&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,Jr)||this.setEventListener(_(this,yo))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,Jr))==null||t.call(this),H(this,Jr,void 0))}setEventListener(t){var n;H(this,yo,t),(n=_(this,Jr))==null||n.call(this),H(this,Jr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,ns)!==t&&(H(this,ns,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,ns)=="boolean"?_(this,ns):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ns=new WeakMap,Jr=new WeakMap,yo=new WeakMap,zS),ey=new h8,xo,ei,wo,VS,m8=(VS=class extends Cu{constructor(){super();Y(this,xo,!0);Y(this,ei,void 0);Y(this,wo,void 0);H(this,wo,t=>{if(!Uo&&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,ei)||this.setEventListener(_(this,wo))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ei))==null||t.call(this),H(this,ei,void 0))}setEventListener(t){var n;H(this,wo,t),(n=_(this,ei))==null||n.call(this),H(this,ei,t(this.setOnline.bind(this)))}setOnline(t){_(this,xo)!==t&&(H(this,xo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,xo)}},xo=new WeakMap,ei=new WeakMap,wo=new WeakMap,VS),$d=new m8;function g8(e){return Math.min(1e3*2**e,3e4)}function ty(e){return(e??"online")==="online"?$d.isOnline():!0}var ek=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Mh(e){return e instanceof ek}function tk(e){let t=!1,n=0,r=!1,i,s,o;const a=new Promise((x,g)=>{s=x,o=g}),l=x=>{var g;r||(p(new ek(x)),(g=e.abort)==null||g.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>!ey.isFocused()||e.networkMode!=="always"&&!$d.isOnline(),f=x=>{var g;r||(r=!0,(g=e.onSuccess)==null||g.call(e,x),i==null||i(),s(x))},p=x=>{var g;r||(r=!0,(g=e.onError)==null||g.call(e,x),i==null||i(),o(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 P;if(r)return;const y=e.retry??(Uo?0:3),v=e.retryDelay??g8,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 ty(e.networkMode)?m():h().then(m),{promise:a,cancel:l,continue:()=>(i==null?void 0:i())?a:Promise.resolve(),cancelRetry:u,continueRetry:c}}function v8(){let e=[],t=0,n=f=>{f()},r=f=>{f()},i=f=>setTimeout(f,0);const s=f=>{i=f},o=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:o,batchCalls:l,schedule:a,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{r=f},setScheduler:s}}var pt=v8(),rs,BS,nk=(BS=class{constructor(){Y(this,rs,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),_g(this.gcTime)&&H(this,rs,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Uo?1/0:5*60*1e3))}clearGcTimeout(){_(this,rs)&&(clearTimeout(_(this,rs)),H(this,rs,void 0))}},rs=new WeakMap,BS),bo,So,ln,_t,nt,Ql,is,An,ur,US,y8=(US=class extends nk{constructor(t){super();Y(this,An);Y(this,bo,void 0);Y(this,So,void 0);Y(this,ln,void 0);Y(this,_t,void 0);Y(this,nt,void 0);Y(this,Ql,void 0);Y(this,is,void 0);H(this,is,!1),H(this,Ql,t.defaultOptions),this.setOptions(t.options),H(this,nt,[]),H(this,ln,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,bo,t.state||x8(this.options)),this.state=_(this,bo),this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={..._(this,Ql),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!_(this,nt).length&&this.state.fetchStatus==="idle"&&_(this,ln).remove(this)}setData(t,n){const r=Ag(this.state.data,t,this.options);return le(this,An,ur).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){le(this,An,ur).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=_(this,_t))==null?void 0:r.promise;return(i=_(this,_t))==null||i.cancel(t),n?n.then(dn).catch(dn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,bo))}isActive(){return _(this,nt).some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?_(this,nt).some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Z2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=_(this,nt).find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,_t))==null||n.continue()}onOnline(){var n;const t=_(this,nt).find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,_t))==null||n.continue()}addObserver(t){_(this,nt).includes(t)||(_(this,nt).push(t),this.clearGcTimeout(),_(this,ln).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){_(this,nt).includes(t)&&(H(this,nt,_(this,nt).filter(n=>n!==t)),_(this,nt).length||(_(this,_t)&&(_(this,is)?_(this,_t).cancel({revert:!0}):_(this,_t).cancelRetry()),this.scheduleGc()),_(this,ln).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return _(this,nt).length}invalidate(){this.state.isInvalidated||le(this,An,ur).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,_t))return _(this,_t).continueRetry(),_(this,_t).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=_(this,nt).find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i={queryKey:this.queryKey,meta:this.meta},s=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(H(this,is,!0),r.signal)})};s(i);const o=()=>!this.options.queryFn||this.options.queryFn===J0?Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`)):(H(this,is,!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:o};s(a),(u=this.options.behavior)==null||u.onFetch(a,this),H(this,So,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&le(this,An,ur).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var p,h,m,x;Mh(f)&&f.silent||le(this,An,ur).call(this,{type:"error",error:f}),Mh(f)||((h=(p=_(this,ln).config).onError)==null||h.call(p,f,this),(x=(m=_(this,ln).config).onSettled)==null||x.call(m,this.state.data,f,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return H(this,_t,tk({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,ln).config).onSuccess)==null||h.call(p,f,this),(x=(m=_(this,ln).config).onSettled)==null||x.call(m,f,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(f,p)=>{le(this,An,ur).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{le(this,An,ur).call(this,{type:"pause"})},onContinue:()=>{le(this,An,ur).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode})),_(this,_t).promise}},bo=new WeakMap,So=new WeakMap,ln=new WeakMap,_t=new WeakMap,nt=new WeakMap,Ql=new WeakMap,is=new WeakMap,An=new WeakSet,ur=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,...rk(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 Mh(i)&&i.revert&&_(this,So)?{..._(this,So),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),pt.batch(()=>{_(this,nt).forEach(r=>{r.onQueryUpdate()}),_(this,ln).notify({query:this,type:"updated",action:t})})},US);function rk(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ty(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function x8(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 Hn,WS,w8=(WS=class extends Cu{constructor(t={}){super();Y(this,Hn,void 0);this.config=t,H(this,Hn,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??Z0(i,n);let o=this.get(s);return o||(o=new y8({cache:this,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){_(this,Hn).has(t.queryHash)||(_(this,Hn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,Hn).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,Hn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){pt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Hn).get(t)}getAll(){return[..._(this,Hn).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){pt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){pt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){pt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Hn=new WeakMap,WS),Gn,Yl,Ut,Eo,qn,Wr,HS,b8=(HS=class extends nk{constructor(t){super();Y(this,qn);Y(this,Gn,void 0);Y(this,Yl,void 0);Y(this,Ut,void 0);Y(this,Eo,void 0);this.mutationId=t.mutationId,H(this,Yl,t.defaultOptions),H(this,Ut,t.mutationCache),H(this,Gn,[]),this.state=t.state||S8(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={..._(this,Yl),...t},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Gn).includes(t)||(_(this,Gn).push(t),this.clearGcTimeout(),_(this,Ut).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Gn,_(this,Gn).filter(n=>n!==t)),this.scheduleGc(),_(this,Ut).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Gn).length||(this.state.status==="pending"?this.scheduleGc():_(this,Ut).remove(this))}continue(){var t;return((t=_(this,Eo))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,o,a,l,u,c,d,f,p,h,m,x,g,y,v,w,S,P,T;const n=()=>(H(this,Eo,tk({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(C,M)=>{le(this,qn,Wr).call(this,{type:"failed",failureCount:C,error:M})},onPause:()=>{le(this,qn,Wr).call(this,{type:"pause"})},onContinue:()=>{le(this,qn,Wr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),_(this,Eo).promise),r=this.state.status==="pending";try{if(!r){le(this,qn,Wr).call(this,{type:"pending",variables:t}),await((s=(i=_(this,Ut).config).onMutate)==null?void 0:s.call(i,t,this));const M=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));M!==this.state.context&&le(this,qn,Wr).call(this,{type:"pending",context:M,variables:t})}const C=await n();return await((u=(l=_(this,Ut).config).onSuccess)==null?void 0:u.call(l,C,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,C,t,this.state.context)),await((p=(f=_(this,Ut).config).onSettled)==null?void 0:p.call(f,C,null,this.state.variables,this.state.context,this)),await((m=(h=this.options).onSettled)==null?void 0:m.call(h,C,null,t,this.state.context)),le(this,qn,Wr).call(this,{type:"success",data:C}),C}catch(C){try{throw await((g=(x=_(this,Ut).config).onError)==null?void 0:g.call(x,C,t,this.state.context,this)),await((v=(y=this.options).onError)==null?void 0:v.call(y,C,t,this.state.context)),await((S=(w=_(this,Ut).config).onSettled)==null?void 0:S.call(w,void 0,C,this.state.variables,this.state.context,this)),await((T=(P=this.options).onSettled)==null?void 0:T.call(P,void 0,C,t,this.state.context)),C}finally{le(this,qn,Wr).call(this,{type:"error",error:C})}}}},Gn=new WeakMap,Yl=new WeakMap,Ut=new WeakMap,Eo=new WeakMap,qn=new WeakSet,Wr=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:!ty(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),pt.batch(()=>{_(this,Gn).forEach(r=>{r.onMutationUpdate(t)}),_(this,Ut).notify({mutation:this,type:"updated",action:t})})},HS);function S8(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var un,Xl,ss,GS,E8=(GS=class extends Cu{constructor(t={}){super();Y(this,un,void 0);Y(this,Xl,void 0);Y(this,ss,void 0);this.config=t,H(this,un,[]),H(this,Xl,0)}build(t,n,r){const i=new b8({mutationCache:this,mutationId:++Iu(this,Xl)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){_(this,un).push(t),this.notify({type:"added",mutation:t})}remove(t){H(this,un,_(this,un).filter(n=>n!==t)),this.notify({type:"removed",mutation:t})}clear(){pt.batch(()=>{_(this,un).forEach(t=>{this.remove(t)})})}getAll(){return _(this,un)}find(t){const n={exact:!0,...t};return _(this,un).find(r=>nb(n,r))}findAll(t={}){return _(this,un).filter(n=>nb(t,n))}notify(t){pt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){return H(this,ss,(_(this,ss)??Promise.resolve()).then(()=>{const t=_(this,un).filter(n=>n.state.isPaused);return pt.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(dn)),Promise.resolve()))}).then(()=>{H(this,ss,void 0)})),_(this,ss)}},un=new WeakMap,Xl=new WeakMap,ss=new WeakMap,GS);function P8(e){return{onFetch:(t,n)=>{const r=async()=>{var h,m,x,g,y;const i=t.options,s=(x=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:x.direction,o=((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!==J0?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 P={queryKey:t.queryKey,pageParam:w,direction:S?"backward":"forward",meta:t.options.meta};c(P);const T=await d(P),{maxPages:C}=t.options,M=S?p8:f8;return{pages:M(v.pages,T,C),pageParams:M(v.pageParams,w,C)}};let p;if(s&&o.length){const v=s==="backward",w=v?C8:sb,S={pages:o,pageParams:a},P=w(i,S);p=await f(S,P,v)}else{p=await f(l,a[0]??i.initialPageParam);const v=e??o.length;for(let w=1;w{var i,s;return(s=(i=t.options).persister)==null?void 0:s.call(i,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function sb(e,{pages:t,pageParams:n}){const r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function C8(e,{pages:t,pageParams:n}){var r;return(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n)}var ze,ti,ni,Po,Co,ri,To,ko,qS,T8=(qS=class{constructor(e={}){Y(this,ze,void 0);Y(this,ti,void 0);Y(this,ni,void 0);Y(this,Po,void 0);Y(this,Co,void 0);Y(this,ri,void 0);Y(this,To,void 0);Y(this,ko,void 0);H(this,ze,e.queryCache||new w8),H(this,ti,e.mutationCache||new E8),H(this,ni,e.defaultOptions||{}),H(this,Po,new Map),H(this,Co,new Map),H(this,ri,0)}mount(){Iu(this,ri)._++,_(this,ri)===1&&(H(this,To,ey.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,ze).onFocus())})),H(this,ko,$d.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,ze).onOnline())})))}unmount(){var e,t;Iu(this,ri)._--,_(this,ri)===0&&((e=_(this,To))==null||e.call(this),H(this,To,void 0),(t=_(this,ko))==null||t.call(this),H(this,ko,void 0))}isFetching(e){return _(this,ze).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,ti).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,ze).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,ze).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(n.staleTime)&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return _(this,ze).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,ze).get(r.queryHash),s=i==null?void 0:i.state.data,o=c8(t,s);if(o!==void 0)return _(this,ze).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return pt.batch(()=>_(this,ze).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,ze).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,ze);pt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,ze),r={type:"active",...e};return pt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=pt.batch(()=>_(this,ze).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(dn).catch(dn)}invalidateQueries(e={},t={}){return pt.batch(()=>{if(_(this,ze).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=pt.batch(()=>_(this,ze).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(dn)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(dn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,ze).build(this,t);return n.isStaleByTime(t.staleTime)?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(dn).catch(dn)}fetchInfiniteQuery(e){return e.behavior=P8(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(dn).catch(dn)}resumePausedMutations(){return $d.isOnline()?_(this,ti).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,ze)}getMutationCache(){return _(this,ti)}getDefaultOptions(){return _(this,ni)}setDefaultOptions(e){H(this,ni,e)}setQueryDefaults(e,t){_(this,Po).set(Ul(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Po).values()];let n={};return t.forEach(r=>{Wl(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){_(this,Co).set(Ul(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Co).values()];let n={};return t.forEach(r=>{Wl(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,ni).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Z0(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===J0&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,ni).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,ze).clear(),_(this,ti).clear()}},ze=new WeakMap,ti=new WeakMap,ni=new WeakMap,Po=new WeakMap,Co=new WeakMap,ri=new WeakMap,To=new WeakMap,ko=new WeakMap,qS),Lt,Pe,Zl,Ot,os,Mo,Kn,Jl,_o,Oo,as,ls,ii,Ro,us,$a,eu,Ig,tu,$g,nu,Lg,ru,jg,iu,Dg,su,Fg,ou,Ng,qd,ik,KS,k8=(KS=class extends Cu{constructor(t,n){super();Y(this,us);Y(this,eu);Y(this,tu);Y(this,nu);Y(this,ru);Y(this,iu);Y(this,su);Y(this,ou);Y(this,qd);Y(this,Lt,void 0);Y(this,Pe,void 0);Y(this,Zl,void 0);Y(this,Ot,void 0);Y(this,os,void 0);Y(this,Mo,void 0);Y(this,Kn,void 0);Y(this,Jl,void 0);Y(this,_o,void 0);Y(this,Oo,void 0);Y(this,as,void 0);Y(this,ls,void 0);Y(this,ii,void 0);Y(this,Ro,new Set);this.options=n,H(this,Lt,t),H(this,Kn,null),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,Pe).addObserver(this),ob(_(this,Pe),this.options)?le(this,us,$a).call(this):this.updateResult(),le(this,ru,jg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return zg(_(this,Pe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return zg(_(this,Pe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,le(this,iu,Dg).call(this),le(this,su,Fg).call(this),_(this,Pe).removeObserver(this)}setOptions(t,n){const r=this.options,i=_(this,Pe);if(this.options=_(this,Lt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");le(this,ou,Ng).call(this),_(this,Pe).setOptions(this.options),r._defaulted&&!Og(this.options,r)&&_(this,Lt).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Pe),observer:this});const s=this.hasListeners();s&&ab(_(this,Pe),i,this.options,r)&&le(this,us,$a).call(this),this.updateResult(n),s&&(_(this,Pe)!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&le(this,eu,Ig).call(this);const o=le(this,tu,$g).call(this);s&&(_(this,Pe)!==i||this.options.enabled!==r.enabled||o!==_(this,ii))&&le(this,nu,Lg).call(this,o)}getOptimisticResult(t){const n=_(this,Lt).getQueryCache().build(_(this,Lt),t),r=this.createResult(n,t);return _8(this,r)&&(H(this,Ot,r),H(this,Mo,this.options),H(this,os,_(this,Pe).state)),r}getCurrentResult(){return _(this,Ot)}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,Ro).add(t)}getCurrentQuery(){return _(this,Pe)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=_(this,Lt).defaultQueryOptions(t),r=_(this,Lt).getQueryCache().build(_(this,Lt),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){return le(this,us,$a).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,Ot)))}createResult(t,n){var T;const r=_(this,Pe),i=this.options,s=_(this,Ot),o=_(this,os),a=_(this,Mo),u=t!==r?t.state:_(this,Zl),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const C=this.hasListeners(),M=!C&&ob(t,n),k=C&&ab(t,r,n,i);(M||k)&&(d={...d,...rk(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(s&&d.data===(o==null?void 0:o.data)&&n.select===_(this,Jl))p=_(this,_o);else try{H(this,Jl,n.select),p=n.select(d.data),p=Ag(s==null?void 0:s.data,p,n),H(this,_o,p),H(this,Kn,null)}catch(C){H(this,Kn,C)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&x==="pending"){let C;if(s!=null&&s.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))C=s.data;else if(C=typeof n.placeholderData=="function"?n.placeholderData((T=_(this,Oo))==null?void 0:T.state.data,_(this,Oo)):n.placeholderData,n.select&&C!==void 0)try{C=n.select(C),H(this,Kn,null)}catch(M){H(this,Kn,M)}C!==void 0&&(x="success",p=Ag(s==null?void 0:s.data,C,n),f=!0)}_(this,Kn)&&(h=_(this,Kn),p=_(this,_o),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:ny(t,n),refetch:this.refetch}}updateResult(t){const n=_(this,Ot),r=this.createResult(_(this,Pe),this.options);if(H(this,os,_(this,Pe).state),H(this,Mo,this.options),_(this,os).data!==void 0&&H(this,Oo,_(this,Pe)),Og(r,n))return;H(this,Ot,r);const i={},s=()=>{if(!n)return!0;const{notifyOnChangeProps:o}=this.options,a=typeof o=="function"?o():o;if(a==="all"||!a&&!_(this,Ro).size)return!0;const l=new Set(a??_(this,Ro));return this.options.throwOnError&&l.add("error"),Object.keys(_(this,Ot)).some(u=>{const c=u;return _(this,Ot)[c]!==n[c]&&l.has(c)})};(t==null?void 0:t.listeners)!==!1&&s()&&(i.listeners=!0),le(this,qd,ik).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&le(this,ru,jg).call(this)}},Lt=new WeakMap,Pe=new WeakMap,Zl=new WeakMap,Ot=new WeakMap,os=new WeakMap,Mo=new WeakMap,Kn=new WeakMap,Jl=new WeakMap,_o=new WeakMap,Oo=new WeakMap,as=new WeakMap,ls=new WeakMap,ii=new WeakMap,Ro=new WeakMap,us=new WeakSet,$a=function(t){le(this,ou,Ng).call(this);let n=_(this,Pe).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(dn)),n},eu=new WeakSet,Ig=function(){if(le(this,iu,Dg).call(this),Uo||_(this,Ot).isStale||!_g(this.options.staleTime))return;const n=Z2(_(this,Ot).dataUpdatedAt,this.options.staleTime)+1;H(this,as,setTimeout(()=>{_(this,Ot).isStale||this.updateResult()},n))},tu=new WeakSet,$g=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Pe)):this.options.refetchInterval)??!1},nu=new WeakSet,Lg=function(t){le(this,su,Fg).call(this),H(this,ii,t),!(Uo||this.options.enabled===!1||!_g(_(this,ii))||_(this,ii)===0)&&H(this,ls,setInterval(()=>{(this.options.refetchIntervalInBackground||ey.isFocused())&&le(this,us,$a).call(this)},_(this,ii)))},ru=new WeakSet,jg=function(){le(this,eu,Ig).call(this),le(this,nu,Lg).call(this,le(this,tu,$g).call(this))},iu=new WeakSet,Dg=function(){_(this,as)&&(clearTimeout(_(this,as)),H(this,as,void 0))},su=new WeakSet,Fg=function(){_(this,ls)&&(clearInterval(_(this,ls)),H(this,ls,void 0))},ou=new WeakSet,Ng=function(){const t=_(this,Lt).getQueryCache().build(_(this,Lt),this.options);if(t===_(this,Pe))return;const n=_(this,Pe);H(this,Pe,t),H(this,Zl,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},qd=new WeakSet,ik=function(t){pt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(_(this,Ot))}),_(this,Lt).getQueryCache().notify({query:_(this,Pe),type:"observerResultsUpdated"})})},KS);function M8(e,t){return t.enabled!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function ob(e,t){return M8(e,t)||e.state.data!==void 0&&zg(e,t,t.refetchOnMount)}function zg(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&ny(e,t)}return!1}function ab(e,t,n,r){return(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&ny(e,n)}function ny(e,t){return t.enabled!==!1&&e.isStaleByTime(t.staleTime)}function _8(e,t){return!Og(e.getCurrentResult(),t)}var sk=b.createContext(void 0),O8=e=>{const t=b.useContext(sk);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},R8=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(sk.Provider,{value:e,children:t})),ok=b.createContext(!1),A8=()=>b.useContext(ok);ok.Provider;function I8(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var $8=b.createContext(I8()),L8=()=>b.useContext($8);function j8(e,t){return typeof e=="function"?e(...t):!!e}var D8=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},F8=e=>{b.useEffect(()=>{e.clearReset()},[e])},N8=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&j8(n,[e.error,r]),z8=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},V8=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,B8=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function U8(e,t,n){const r=O8(n),i=A8(),s=L8(),o=r.defaultQueryOptions(e);o._optimisticResults=i?"isRestoring":"optimistic",z8(o),D8(o,s),F8(s);const[a]=b.useState(()=>new t(r,o)),l=a.getOptimisticResult(o);if(b.useSyncExternalStore(b.useCallback(u=>{const c=i?()=>{}:a.subscribe(pt.batchCalls(u));return a.updateResult(),c},[a,i]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),b.useEffect(()=>{a.setOptions(o,{listeners:!1})},[o,a]),V8(o,l))throw B8(o,a,s);if(N8({result:l,errorResetBoundary:s,throwOnError:o.throwOnError,query:r.getQueryCache().get(o.queryHash)}))throw l.error;return o.notifyOnChangeProps?l:a.trackResult(l)}function ak(e,t){return U8(e,k8,t)}async function W8(){try{return(await bu.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 H8(e){try{return(await bu.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 lk={getAll:W8,getById:H8};var La={},uk={},up={},Zs=de&&de.__assign||function(){return Zs=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 lb(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 lb(w,v)}).join(" ")}),h};up.batch=G8;var bi={},Cs={},ry={},Vg=de&&de.__assign||function(){return Vg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u")){if(t==="height")return ub&&cb?window.screen.height-80:window.innerHeight;if(t==="width")return ub&&cb?window.screen.width:window.innerWidth}}});iy.default=K8;var cp={};Object.defineProperty(cp,"__esModule",{value:!0});cp.SimpleInterpolation=void 0;var Q8=function(e,t,n){return e*(1-n)+t*n};cp.SimpleInterpolation=Q8;(function(e){var t=de&&de.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0}),e.computeStyle=e.SimpleInterpolation=e.environment=void 0;var n=t(ry);e.computeStyle=n.default;var r=t(iy);e.environment=r.default;var i=cp;Object.defineProperty(e,"SimpleInterpolation",{enumerable:!0,get:function(){return i.SimpleInterpolation}})})(Cs);Object.defineProperty(bi,"__esModule",{value:!0});bi.FadeOut=bi.FadeIn=bi.Fade=void 0;var Ld=Cs,Y8=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(e,t,n)}}},out:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(t,e,n)}}}}};bi.Fade=Y8;var X8=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(e,t,n)}}}}};bi.FadeIn=X8;var Z8=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{out:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(e,t,n)}}}}};bi.FadeOut=Z8;var Si={};Object.defineProperty(Si,"__esModule",{value:!0});Si.MoveOut=Si.MoveIn=Si.Move=void 0;var di=Cs,J8=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,di.SimpleInterpolation)(e,0,i),"px, ").concat((0,di.SimpleInterpolation)(t,0,i),"px)")}}},out:{style:{transform:function(i){return"translate(".concat((0,di.SimpleInterpolation)(0,n||e,i),"px, ").concat((0,di.SimpleInterpolation)(0,r||t,i),"px)")}}}}};Si.Move=J8;var e9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=100),{in:{style:{transform:function(n){return"translate(".concat((0,di.SimpleInterpolation)(e,0,n),"px, ").concat((0,di.SimpleInterpolation)(t,0,n),"px)")}}}}};Si.MoveIn=e9;var t9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=-100),{out:{style:{transform:function(n){return"translate(".concat((0,di.SimpleInterpolation)(0,e,n),"px, ").concat((0,di.SimpleInterpolation)(0,t,n),"px)")}}}}};Si.MoveOut=t9;var Ei={};Object.defineProperty(Ei,"__esModule",{value:!0});Ei.StickyOut=Ei.StickyIn=Ei.Sticky=void 0;var xn=Cs,n9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}}}};Ei.Sticky=n9;var r9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"absolute"}}}};Ei.StickyIn=r9;var i9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:"".concat(e*xn.environment.width/100,"px"),top:"".concat(t*xn.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"absolute"}},out:{style:{left:"".concat(e*xn.environment.width/100,"px"),top:"".concat(t*xn.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"fixed"}}}};Ei.StickyOut=i9;var Pi={};Object.defineProperty(Pi,"__esModule",{value:!0});Pi.ZoomOut=Pi.ZoomIn=Pi.Zoom=void 0;var jd=Cs,s9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(e,t,n),")")}}},out:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(t,e,n),")")}}}}};Pi.Zoom=s9;var o9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(e,t,n),")")}}}}};Pi.ZoomIn=o9;var a9=function(e,t){return e===void 0&&(e=1),t===void 0&&(t=10),{out:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(e,t,n),")")}}}}};Pi.ZoomOut=a9;(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=up;Object.defineProperty(e,"batch",{enumerable:!0,get:function(){return t.batch}});var n=bi;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=Si;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=Ei;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 s=Pi;Object.defineProperty(e,"Zoom",{enumerable:!0,get:function(){return s.Zoom}}),Object.defineProperty(e,"ZoomIn",{enumerable:!0,get:function(){return s.ZoomIn}}),Object.defineProperty(e,"ZoomOut",{enumerable:!0,get:function(){return s.ZoomOut}})})(uk);var sy={},dp={},fp={},_i={},oy={};Object.defineProperty(oy,"__esModule",{value:!0});var l9={currentY:0,viewportHeight:0,totalPage:0,totalHeight:0,totalProgress:0,realPage:0,currentPage:0,currentProgress:0};oy.default=l9;var ay={};Object.defineProperty(ay,"__esModule",{value:!0});var u9={page:0};ay.default=u9;var ck=de&&de.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_i,"__esModule",{value:!0});_i.initialScrollPage=_i.initialScrollData=void 0;var c9=ck(oy);_i.initialScrollData=c9.default;var d9=ck(ay);_i.initialScrollPage=d9.default;Object.defineProperty(fp,"__esModule",{value:!0});fp.ScrollDataContext=void 0;var f9=b,p9=_i;fp.ScrollDataContext=(0,f9.createContext)(p9.initialScrollData);var pp={};Object.defineProperty(pp,"__esModule",{value:!0});pp.ScrollPageContext=void 0;var h9=b,m9=_i;pp.ScrollPageContext=(0,h9.createContext)(m9.initialScrollPage);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollPageContext=e.ScrollDataContext=void 0;var t=fp;Object.defineProperty(e,"ScrollDataContext",{enumerable:!0,get:function(){return t.ScrollDataContext}});var n=pp;Object.defineProperty(e,"ScrollPageContext",{enumerable:!0,get:function(){return n.ScrollPageContext}})})(dp);var Js=de&&de.__assign||function(){return Js=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=A9(l),l in hb)return;hb[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!r)for(let p=s.length-1;p>=0;p--){const h=s[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":R9,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(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},Lh="generated",jH="pointerdown",DH="pointerup",FH="pointerleave",NH="pointerout",zH="pointermove",VH="touchstart",BH="touchend",UH="touchmove",WH="touchcancel",HH="resize",GH="visibilitychange",cy="tsParticles - Error",eo=100,mb=.5,dk=1e3;function qH(e){return typeof e=="boolean"}function Hl(e){return typeof e=="string"}function ia(e){return typeof e=="number"}function oc(e){return typeof e=="object"&&e!==null}function Ts(e){return Array.isArray(e)}const Wn={x:0,y:0,z:0},gb=2,I9=1;class On{constructor(t,n,r){if(this._updateFromAngle=(i,s)=>{this.x=Math.cos(i)*s,this.y=Math.sin(i)*s},!ia(t)&&t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:Wn.z}else if(t!==void 0&&n!==void 0)this.x=t,this.y=n,this.z=r??Wn.z;else throw new Error(`${cy} Vector3d not initialized correctly`)}static get origin(){return On.create(Wn.x,Wn.y,Wn.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 On.create(t.x,t.y,t.z)}static create(t,n,r){return new On(t,n,r)}add(t){return On.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 On.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return On.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**gb+this.y**gb}mult(t){return On.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(I9/t)}rotate(t){return On.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),Wn.z)}setTo(t){this.x=t.x,this.y=t.y;const n=t;this.z=n.z?n.z:Wn.z}sub(t){return On.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 ps extends On{constructor(t,n){super(t,n,Wn.z)}static get origin(){return ps.create(Wn.x,Wn.y)}static clone(t){return ps.create(t.x,t.y)}static create(t,n){return new ps(t,n)}}let $9=Math.random;const Bg=new Map,L9=2,j9=Math.PI*L9;function KH(e,t){Bg.get(e)||Bg.set(e,t)}function QH(e){return Bg.get(e)??(t=>t)}function sr(){return dy($9(),0,1-Number.EPSILON)}function dy(e,t,n){return Math.min(Math.max(e,t),n)}function jh(e,t,n,r){return Math.floor((e*n+t*r)/(n+r))}function vo(e){const t=mp(e),n=0;let r=hp(e);return t===r&&(r=n),sr()*(t-r)+r}function st(e){return ia(e)?e:vo(e)}function hp(e){return ia(e)?e:e.min}function mp(e){return ia(e)?e:e.max}function el(e,t){if(e===t||t===void 0&&ia(e))return e;const n=hp(e),r=mp(e);return t!==void 0?{min:Math.min(n,t),max:Math.max(r,t)}:el(n,r)}function fk(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 YH(e,t){return fk(e,t).distance}function D9(e){return e*Math.PI/180}function XH(e,t,n){if(ia(e))return D9(e);const r=0,i=.5,s=.25,o=i+s;switch(e){case"top":return-Math.PI*i;case"top-right":return-Math.PI*s;case"right":return r;case"bottom-right":return Math.PI*s;case"bottom":return Math.PI*i;case"bottom-left":return Math.PI*o;case"left":return Math.PI;case"top-left":return-Math.PI*o;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 sr()*j9}}function ZH(e){const t=ps.origin;return t.length=1,t.angle=e,t}function vb(e,t,n,r){return ps.create(e.x*(n-r)/(n+r)+t.x*2*r/(n+r),e.y)}function JH(e){var t,n;return{x:((t=e.position)==null?void 0:t.x)??sr()*e.size.width,y:((n=e.position)==null?void 0:n.y)??sr()*e.size.height}}function pk(e){return e?e.endsWith("%")?parseFloat(e)/eo:parseFloat(e):1}const F9={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function N9(){return F9}function yb(e){const t={bounced:!1},{pSide:n,pOtherSide:r,rectSide:i,rectOtherSide:s,velocity:o,factor:a}=e,l=.5,u=0;return r.mins.max||r.maxs.max||(n.max>=i.min&&n.max<=(i.max+i.min)*l&&o>u||n.min<=i.max&&n.min>(i.max+i.min)*l&&oe.matches(r));return Ts(n)?n.some(r=>r):n}function gp(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function V9(){return!gp()&&typeof matchMedia<"u"}function eG(e){if(V9())return matchMedia(e)}function tG(e){if(!(gp()||typeof IntersectionObserver>"u"))return new IntersectionObserver(e)}function nG(e){if(!(gp()||typeof MutationObserver>"u"))return new MutationObserver(e)}function hk(e,t){return e===t||Ts(t)&&t.indexOf(e)>-1}async function rG(e,t){try{await document.fonts.load(`${t??"400"} 36px '${e??"Verdana"}'`)}catch{}}function B9(e){return Math.floor(sr()*e.length)}function fy(e,t,n=!0){return e[t!==void 0&&n?t%e.length:B9(e)]}function iG(e,t,n,r,i){return U9(mk(e,r??0),t,n,i)}function U9(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 mk(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function xb(e,...t){for(const n of t){if(n==null)continue;if(!oc(n)){e=n;continue}const r=Array.isArray(n);r&&(oc(e)||!e||!Array.isArray(e))?e=[]:!r&&(oc(e)||!e||Array.isArray(e))&&(e={});for(const i in n){if(i==="__proto__")continue;const s=n,o=s[i],a=e;a[i]=oc(o)&&Array.isArray(o)?o.map(l=>xb(a[i],l)):xb(a[i],o)}}return e}function sG(e,t){return!!vk(t,n=>n.enable&&hk(e,n.mode))}function oG(e,t,n){Gl(t,r=>{const i=r.mode;r.enable&&hk(e,i)&&W9(r,n)})}function W9(e,t){const n=e.selectors;Gl(n,r=>{t(r,e)})}function aG(e,t){if(!(!t||!e))return vk(e,n=>z9(t,n.selectors))}function lG(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:ps.create(st(e.options.bounce.horizontal.value),st(e.options.bounce.vertical.value))}}function uG(e,t){const{x:n,y:r}=e.velocity.sub(t.velocity),[i,s]=[e.position,t.position],{dx:o,dy:a}=fk(s,i);if(n*o+r*a<0)return;const u=-Math.atan2(a,o),c=e.mass,d=t.mass,f=e.velocity.rotate(u),p=t.velocity.rotate(u),h=vb(f,p,c,d),m=vb(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 cG(e,t){const n=e.getPosition(),r=e.getRadius(),i=mk(n,r),s=e.options.bounce,o=yb({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:st(s.horizontal.value)});o.bounced&&(o.velocity!==void 0&&(e.velocity.x=o.velocity),o.position!==void 0&&(e.position.x=o.position));const a=yb({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:st(s.vertical.value)});a.bounced&&(a.velocity!==void 0&&(e.velocity.y=a.velocity),a.position!==void 0&&(e.position.y=a.position))}function Gl(e,t){return Ts(e)?e.map((r,i)=>t(r,i)):t(e,0)}function gk(e,t,n){return Ts(e)?fy(e,t,n):e}function vk(e,t){return Ts(e)?e.find((r,i)=>t(r,i)):t(e,0)?e:void 0}function dG(e,t){const n=e.value,r=e.animation,i={delayTime:st(r.delay)*dk,enable:r.enable,value:st(e.value)*t,max:mp(n)*t,min:hp(n)*t,loops:0,maxLoops:st(r.count),time:0},s=1;if(r.enable){switch(i.decay=s-st(r.decay),r.mode){case"increase":i.status="increasing";break;case"decrease":i.status="decreasing";break;case"random":i.status=sr()>=mb?"increasing":"decreasing";break}const o=r.mode==="auto";switch(r.startValue){case"min":i.value=i.min,o&&(i.status="increasing");break;case"max":i.value=i.max,o&&(i.status="decreasing");break;case"random":default:i.value=vo(i),o&&(i.status=sr()>=mb?"increasing":"decreasing");break}}return i.initialValue=i.value,i}function H9(e,t){if(!(e.mode==="percent")){const{mode:i,...s}=e;return s}return"x"in e?{x:e.x/eo*t.width,y:e.y/eo*t.height}:{width:e.width/eo*t.width,height:e.height/eo*t.height}}function fG(e,t){return H9(e,t)}function G9(e,t,n,r,i){switch(t){case"max":n>=i&&e.destroy();break;case"min":n<=r&&e.destroy();break}}function pG(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),G9(e,r,t.value,d,f),e.destroyed||(t.value=dy(t.value,d,f))}}class q9{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,s=r.indexOf(n);if(s<0)return;const a=1;i===a?this._listeners.delete(t):r.splice(s,a)}}async function Dh(e,t,n,r=!1){let i=t.get(e);return(!i||r)&&(i=await Promise.all([...n.values()].map(s=>s(e))),t.set(e,i)),i}async function K9(e){const t=gk(e.url,e.index);if(!t)return e.fallback;const n=await fetch(t);return n.ok?await n.json():(N9().error(`${cy} ${n.status} while retrieving config file`),e.fallback)}class Q9{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new q9,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){Gl(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){Gl(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 Dh(t,this.interactors,this._initializers.interactors,n)}async getMovers(t,n=!1){return await Dh(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 Dh(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(sr()*1e4)}`,{index:i,url:s}=t,o=s?await K9({fallback:t.options,url:s,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=gk(o,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[Lh]="false";else{const x=a.getElementsByTagName("canvas");x.length?(f=x[0],f.dataset[Lh]="false"):(f=document.createElement("canvas"),f.dataset[Lh]="true",a.appendChild(f))}f.style.width||(f.style.width="100%"),f.style.height||(f.style.height="100%");const{Container:p}=await Ee(()=>import("./Container-B0LxY2Sb.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 s;const i=this.updaters.get(t);if(i)for(const o of i)(s=o.loadOptions)==null||s.call(o,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(`${cy} can only set click handlers after calling tsParticles.load()`);for(const r of n)r.addClickHandler(t)}}const Fd="random",$c="mid",vp=new Map;function wb(e){vp.set(e.key,e)}function Y9(e){for(const[,l]of vp)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),s=16;return i?{a:i[4]!==void 0?parseInt(i[4],s)/255:1,b:parseInt(i[3],s),g:parseInt(i[2],s),r:parseInt(i[1],s)}:void 0}function Nd(e,t,n=!0){if(!e)return;const r=Hl(e)?{value:e}:e;if(Hl(r.value))return yk(r.value,t,n);if(Ts(r.value))return Nd({value:fy(r.value,t,n)});for(const[,i]of vp){const s=i.handleRangeColor(r);if(s)return s}}function yk(e,t,n=!0){if(!e)return;const r=Hl(e)?{value:e}:e;if(Hl(r.value))return r.value===Fd?xk():Z9(r.value);if(Ts(r.value))return yk({value:fy(r.value,t,n)});for(const[,i]of vp){const s=i.handleColor(r);if(s)return s}}function hG(e,t,n=!0){const r=Nd(e,t,n);return r?X9(r):void 0}function X9(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 Z9(e){return Y9(e)}function Wo(e){const o=(e.h%360+360)%360,a=Math.max(0,Math.min(100,e.s)),l=Math.max(0,Math.min(100,e.l)),u=o/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,R)=>{if(R<0&&R++,R>1&&R--,R*6<1)return M+(k-M)*6*R;if(R*m<1)return k;if(R*p<1*m){const V=m/p;return M+(k-M)*(V-R)*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?vo(e.offset):0,d=(e.velocity??0)*r.factor+c*3.6,f=e.decay??1,p=mp(t),h=hp(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=dy(e.value,h,p)}function bG(e,t){if(!e)return;const{h:n,s:r,l:i}=e,s={h:{min:0,max:360},s:{min:0,max:100},l:{min:0,max:100}};n&&Nh(n,s.h,!1,t),r&&Nh(r,s.s,!0,t),i&&Nh(i,s.l,!0,t)}class tV{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 Wo(r)}handleRangeColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.l!==void 0)return Wo({h:st(r.h),l:st(r.l),s:st(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,s=1,o=10;return r?J9({a:r.length>i?pk(r[5]):s,h:parseInt(r[1],o),l:parseInt(r[3],o),s:parseInt(r[2],o)}):void 0}}class nV{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:st(r.r),g:st(r.g),b:st(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?pk(r[5]):1,b:parseInt(r[3],i),g:parseInt(r[2],i),r:parseInt(r[1],i)}:void 0}}function rV(){const e=new nV,t=new tV;wb(e),wb(t);const n=new Q9;return n.init(),n}const py=rV();gp()||(window.tsParticles=py);const iV=e=>{const t=e.id??"tsparticles";return b.useEffect(()=>{let n;return py.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]),E.jsx("div",{id:t,className:e.className})};async function sV(e){await e(py)}async function oV(e,t=!0){const{loadParallaxMover:n}=await Ee(()=>import("./index-B5P_jBIU.js"),[]),{loadExternalAttractInteraction:r}=await Ee(()=>import("./index-BocUU9gu.js"),[]),{loadExternalBounceInteraction:i}=await Ee(()=>import("./index-DNf1VSaX.js"),[]),{loadExternalBubbleInteraction:s}=await Ee(()=>import("./index-DS2Dn7eU.js"),__vite__mapDeps([5,2])),{loadExternalConnectInteraction:o}=await Ee(()=>import("./index-B9Q37uKC.js"),[]),{loadExternalGrabInteraction:a}=await Ee(()=>import("./index-CQjukbvg.js"),__vite__mapDeps([6,2])),{loadExternalPauseInteraction:l}=await Ee(()=>import("./index-sn-fetFR.js"),[]),{loadExternalPushInteraction:u}=await Ee(()=>import("./index-Dkj0Wdf1.js"),[]),{loadExternalRemoveInteraction:c}=await Ee(()=>import("./index--OSF4RVo.js"),[]),{loadExternalRepulseInteraction:d}=await Ee(()=>import("./index-jX6JuJNs.js"),[]),{loadExternalSlowInteraction:f}=await Ee(()=>import("./index--1AqfkFF.js"),[]),{loadParticlesAttractInteraction:p}=await Ee(()=>import("./index-DFpH4DOf.js"),[]),{loadParticlesCollisionsInteraction:h}=await Ee(()=>import("./index-C_OX9D2n.js"),[]),{loadParticlesLinksInteraction:m}=await Ee(()=>import("./index-CJjzd8UR.js"),__vite__mapDeps([7,2])),{loadEasingQuadPlugin:x}=await Ee(()=>import("./index-ClhtMT38.js"),[]),{loadEmojiShape:g}=await Ee(()=>import("./index-Dp6b3-lj.js").then(R=>R.i),[]),{loadImageShape:y}=await Ee(()=>import("./index-BZ-HfZvu.js").then(R=>R.i),[]),{loadLineShape:v}=await Ee(()=>import("./index-DQoDqMfo.js"),[]),{loadPolygonShape:w}=await Ee(()=>import("./index-r-y0t3WU.js"),[]),{loadSquareShape:S}=await Ee(()=>import("./index-DorUDsqG.js"),[]),{loadStarShape:P}=await Ee(()=>import("./index-DrhqM_ij.js"),[]),{loadLifeUpdater:T}=await Ee(()=>import("./index-B1CIQCv6.js"),[]),{loadRotateUpdater:C}=await Ee(()=>import("./index-Dk9eyEZ0.js"),[]),{loadStrokeColorUpdater:M}=await Ee(()=>import("./index-CxoJ4J6_.js"),[]),{loadBasic:k}=await Ee(()=>import("./index-BCSVHbC5.js"),[]);await n(e,!1),await r(e,!1),await i(e,!1),await s(e,!1),await o(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 P(e,!1),await T(e,!1),await C(e,!1),await M(e,!1),await k(e,t)}const hy="-";function aV(e){const t=uV(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function i(o){const a=o.split(hy);return a[0]===""&&a.length!==1&&a.shift(),wk(a,t)||lV(o)}function s(o,a){const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}return{getClassGroupId:i,getConflictingClassGroupIds:s}}function wk(e,t){var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?wk(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(hy);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId}const bb=/^\[(.+)\]$/;function lV(e){if(bb.test(e)){const t=bb.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function uV(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return dV(Object.entries(e.classGroups),n).forEach(([s,o])=>{Ug(o,r,s,t)}),r}function Ug(e,t,n,r){e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Sb(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(cV(i)){Ug(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{Ug(o,Sb(t,s),n,r)})})}function Sb(e,t){let n=e;return t.split(hy).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function cV(e){return e.isThemeGetter}function dV(e,t){return t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e}function fV(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function i(s,o){n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)}return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}}const bk="!";function pV(e){const t=e.separator,n=t.length===1,r=t[0],i=t.length;return function(o){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 hV(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 mV(e){return{cache:fV(e.cacheSize),splitModifiers:pV(e),...aV(e)}}const gV=/\s+/;function vV(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=new Set;return e.trim().split(gV).map(o=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(o);let d=r(c?u.substring(0,c):u),f=!!c;if(!d){if(!c)return{isTailwindClass:!1,originalClassName:o};if(d=r(u),!d)return{isTailwindClass:!1,originalClassName:o};f=!1}const p=hV(a).join(":");return{isTailwindClass:!0,modifierId:l?p+bk:p,classGroupId:d,originalClassName:o,hasPostfixModifier:f}}).reverse().filter(o=>{if(!o.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=o,c=a+l;return s.has(c)?!1:(s.add(c),i(l,u).forEach(d=>s.add(a+d)),!0)}).reverse().map(o=>o.originalClassName).join(" ")}function yV(){let e=0,t,n,r="";for(;ed(c),e());return n=mV(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=vV(l,n);return i(l,c),c}return function(){return s(yV.apply(null,arguments))}}function Te(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Ek=/^\[(?:([a-z-]+):)?(.+)\]$/i,wV=/^\d+\/\d+$/,bV=new Set(["px","full","screen"]),SV=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,EV=/\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$/,PV=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,CV=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,TV=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function ar(e){return es(e)||bV.has(e)||wV.test(e)}function Br(e){return sa(e,"length",$V)}function es(e){return!!e&&!Number.isNaN(Number(e))}function ac(e){return sa(e,"number",es)}function Ea(e){return!!e&&Number.isInteger(Number(e))}function kV(e){return e.endsWith("%")&&es(e.slice(0,-1))}function te(e){return Ek.test(e)}function Ur(e){return SV.test(e)}const MV=new Set(["length","size","percentage"]);function _V(e){return sa(e,MV,Pk)}function OV(e){return sa(e,"position",Pk)}const RV=new Set(["image","url"]);function AV(e){return sa(e,RV,jV)}function IV(e){return sa(e,"",LV)}function Pa(){return!0}function sa(e,t,n){const r=Ek.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function $V(e){return EV.test(e)&&!PV.test(e)}function Pk(){return!1}function LV(e){return CV.test(e)}function jV(e){return TV.test(e)}function DV(){const e=Te("colors"),t=Te("spacing"),n=Te("blur"),r=Te("brightness"),i=Te("borderColor"),s=Te("borderRadius"),o=Te("borderSpacing"),a=Te("borderWidth"),l=Te("contrast"),u=Te("grayscale"),c=Te("hueRotate"),d=Te("invert"),f=Te("gap"),p=Te("gradientColorStops"),h=Te("gradientColorStopPositions"),m=Te("inset"),x=Te("margin"),g=Te("opacity"),y=Te("padding"),v=Te("saturate"),w=Te("scale"),S=Te("sepia"),P=Te("skew"),T=Te("space"),C=Te("translate"),M=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",te,t],I=()=>[te,t],$=()=>["",ar,Br],D=()=>["auto",es,te],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],N=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",te],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[es,ac],ne=()=>[es,te];return{cacheSize:500,separator:":",theme:{colors:[Pa],spacing:[ar,Br],blur:["none","",Ur,te],brightness:K(),borderColor:[e],borderRadius:["none","","full",Ur,te],borderSpacing:I(),borderWidth:$(),contrast:K(),grayscale:L(),hueRotate:ne(),invert:L(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[kV,Br],inset:R(),margin:R(),opacity:K(),padding:I(),saturate:K(),scale:K(),sepia:L(),skew:ne(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",te]}],container:["container"],columns:[{columns:[Ur]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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:[...V(),te]}],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",Ea,te]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",te]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",Ea,te]}],"grid-cols":[{"grid-cols":[Pa]}],"col-start-end":[{col:["auto",{span:["full",Ea,te]},te]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Pa]}],"row-start-end":[{row:["auto",{span:[Ea,te]},te]}],"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",te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",te]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",te,t]}],"min-w":[{"min-w":[te,t,"min","max","fit"]}],"max-w":[{"max-w":[te,t,"none","full","min","max","fit","prose",{screen:[Ur]},Ur]}],h:[{h:[te,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[te,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ur,Br]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ac]}],"font-family":[{font:[Pa]}],"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",te]}],"line-clamp":[{"line-clamp":["none",es,ac]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ar,te]}],"list-image":[{"list-image":["none",te]}],"list-style-type":[{list:["none","disc","decimal",te]}],"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",ar,Br]}],"underline-offset":[{"underline-offset":["auto",ar,te]}],"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",te]}],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",te]}],"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:[...V(),OV]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",_V]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},AV]}],"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:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"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":[ar,te]}],"outline-w":[{outline:[ar,Br]}],"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":[ar,Br]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ur,IV]}],"shadow-color":[{shadow:[Pa]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ur,te]}],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":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",te]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",te]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Ea,te]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",te]}],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",te]}],"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",te]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ar,Br,ac]}],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 FV=xV(DV);function Eb(...e){return FV(re(e))}const Ck=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),yp=b.createContext({}),my=b.createContext(null),gy=typeof document<"u",vy=gy?b.useLayoutEffect:b.useEffect,Tk=b.createContext({strict:!1}),yy=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),NV="framerAppearId",kk="data-"+yy(NV),zV={skipAnimations:!1,useManualTiming:!1};class Pb{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 VV(e){let t=new Pb,n=new Pb,r=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(l,u=!1,c=!1)=>{const d=c&&i,f=d?t:n;return u&&o.add(l),f.add(l)&&d&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),o.delete(l)},process:l=>{if(i){s=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(d[f]=VV(()=>n=!0),d),{}),o=d=>{s[d].process(i)},a=()=>{const d=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(d-i.timestamp,BV),1),i.timestamp=d,i.isProcessing=!0,lc.forEach(o),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:lc.reduce((d,f)=>{const p=s[f];return d[f]=(h,m=!1,x=!1)=>(n||l(),p.schedule(h,m,x)),d},{}),cancel:d=>lc.forEach(f=>s[f].cancel(d)),state:i,steps:s}}const{schedule:xy,cancel:SG}=Mk(queueMicrotask,!1);function UV(e,t,n,r){const{visualElement:i}=b.useContext(yp),s=b.useContext(Tk),o=b.useContext(my),a=b.useContext(Ck).reducedMotion,l=b.useRef();r=r||s.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;b.useInsertionEffect(()=>{u&&u.update(n,o)});const c=b.useRef(!!(n[kk]&&!window.HandoffComplete));return vy(()=>{u&&(xy.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 to(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function WV(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):to(n)&&(n.current=r))},[t])}function ql(e){return typeof e=="string"||Array.isArray(e)}function xp(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const wy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],by=["initial",...wy];function wp(e){return xp(e.animate)||by.some(t=>ql(e[t]))}function _k(e){return!!(wp(e)||e.variants)}function HV(e,t){if(wp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ql(n)?n:void 0,animate:ql(r)?r:void 0}}return e.inherit!==!1?t:{}}function GV(e){const{initial:t,animate:n}=HV(e,b.useContext(yp));return b.useMemo(()=>({initial:t,animate:n}),[Cb(t),Cb(n)])}function Cb(e){return Array.isArray(e)?e.join(" "):e}const Tb={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"]},Kl={};for(const e in Tb)Kl[e]={isEnabled:t=>Tb[e].some(n=>!!t[n])};function qV(e){for(const t in e)Kl[t]={...Kl[t],...e[t]}}const Ok=b.createContext({}),Rk=b.createContext({}),KV=Symbol.for("motionComponentSymbol");function QV({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&qV(e);function s(a,l){let u;const c={...b.useContext(Ck),...a,layoutId:YV(a)},{isStatic:d}=c,f=GV(a),p=r(a,d);if(!d&&gy){f.visualElement=UV(i,p,c,t);const h=b.useContext(Rk),m=b.useContext(Tk).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,m,e,h))}return E.jsxs(yp.Provider,{value:f,children:[u&&f.visualElement?E.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,WV(p,f.visualElement,l),p,d,f.visualElement)]})}const o=b.forwardRef(s);return o[KV]=i,o}function YV({layoutId:e}){const t=b.useContext(Ok).id;return t&&e!==void 0?t+"-"+e:e}function XV(e){function t(r,i={}){return QV(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 ZV=["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 Sy(e){return typeof e!="string"||e.includes("-")?!1:!!(ZV.indexOf(e)>-1||/[A-Z]/u.test(e))}const zd={};function JV(e){Object.assign(zd,e)}const Tu=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ks=new Set(Tu);function Ak(e,{layout:t,layoutId:n}){return ks.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!zd[e]||e==="opacity")}const kt=e=>!!(e&&e.getVelocity),e7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},t7=Tu.length;function n7(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let s="";for(let o=0;ot=>typeof t=="string"&&t.startsWith(e),$k=Ik("--"),r7=Ik("var(--"),Ey=e=>r7(e)?i7.test(e.split("/*")[0].trim()):!1,i7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,s7=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Oi=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},tl={...oa,transform:e=>Oi(0,1,e)},uc={...oa,default:1},nl=e=>Math.round(e*1e5)/1e5,Py=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,o7=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,a7=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ku(e){return typeof e=="string"}const Mu=e=>({test:t=>ku(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Hr=Mu("deg"),rr=Mu("%"),Z=Mu("px"),l7=Mu("vh"),u7=Mu("vw"),kb={...rr,parse:e=>rr.parse(e)/100,transform:e=>rr.transform(e*100)},Mb={...oa,transform:Math.round},Lk={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:Hr,rotateX:Hr,rotateY:Hr,rotateZ:Hr,scale:uc,scaleX:uc,scaleY:uc,scaleZ:uc,skew:Hr,skewX:Hr,skewY:Hr,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:tl,originX:kb,originY:kb,originZ:Z,zIndex:Mb,backgroundPositionX:Z,backgroundPositionY:Z,fillOpacity:tl,strokeOpacity:tl,numOctaves:Mb};function Cy(e,t,n,r){const{style:i,vars:s,transform:o,transformOrigin:a}=e;let l=!1,u=!1,c=!0;for(const d in t){const f=t[d];if($k(d)){s[d]=f;continue}const p=Lk[d],h=s7(f,p);if(ks.has(d)){if(l=!0,o[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=n7(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 Ty=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function jk(e,t,n){for(const r in t)!kt(t[r])&&!Ak(r,n)&&(e[r]=t[r])}function c7({transformTemplate:e},t,n){return b.useMemo(()=>{const r=Ty();return Cy(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function d7(e,t,n){const r=e.style||{},i={};return jk(i,r,e),Object.assign(i,c7(e,t,n)),i}function f7(e,t,n){const r={},i=d7(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 p7=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 Vd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||p7.has(e)}let Dk=e=>!Vd(e);function h7(e){e&&(Dk=t=>t.startsWith("on")?!Vd(t):e(t))}try{h7(require("@emotion/is-prop-valid").default)}catch{}function m7(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Dk(i)||n===!0&&Vd(i)||!t&&!Vd(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function _b(e,t,n){return typeof e=="string"?e:Z.transform(t+n*e)}function g7(e,t,n){const r=_b(t,e.x,e.width),i=_b(n,e.y,e.height);return`${r} ${i}`}const v7={offset:"stroke-dashoffset",array:"stroke-dasharray"},y7={offset:"strokeDashoffset",array:"strokeDasharray"};function x7(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?v7:y7;e[s.offset]=Z.transform(-r);const o=Z.transform(t),a=Z.transform(n);e[s.array]=`${o} ${a}`}function ky(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},c,d,f){if(Cy(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||s!==void 0||h.transform)&&(h.transformOrigin=g7(m,i!==void 0?i:.5,s!==void 0?s:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),o!==void 0&&x7(p,o,a,l,!1)}const Fk=()=>({...Ty(),attrs:{}}),My=e=>typeof e=="string"&&e.toLowerCase()==="svg";function w7(e,t,n,r){const i=b.useMemo(()=>{const s=Fk();return ky(s,t,{enableHardwareAcceleration:!1},My(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};jk(s,e.style,e),i.style={...s,...i.style}}return i}function b7(e=!1){return(n,r,i,{latestValues:s},o)=>{const l=(Sy(n)?w7:f7)(r,s,o,n),u=m7(r,typeof n=="string",e),c=n!==b.Fragment?{...u,...l,ref:i}:{},{children:d}=r,f=b.useMemo(()=>kt(d)?d.get():d,[d]);return b.createElement(n,{...c,children:f})}}function Nk(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const zk=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 Vk(e,t,n,r){Nk(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(zk.has(i)?i:yy(i),t.attrs[i])}function _y(e,t,n){var r;const{style:i}=e,s={};for(const o in i)(kt(i[o])||t.style&&kt(t.style[o])||Ak(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(s[o]=i[o]);return s}function Bk(e,t,n){const r=_y(e,t,n);for(const i in e)if(kt(e[i])||kt(t[i])){const s=Tu.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function Oy(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 Ry(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Wg=e=>Array.isArray(e),S7=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),E7=e=>Wg(e)?e[e.length-1]||0:e;function Lc(e){const t=kt(e)?e.get():e;return S7(t)?t.toValue():t}function P7({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,s){const o={latestValues:C7(r,i,s,e),renderState:t()};return n&&(o.mount=a=>n(r,a,o)),o}const Uk=e=>(t,n)=>{const r=b.useContext(yp),i=b.useContext(my),s=()=>P7(e,t,r,i);return n?s():Ry(s)};function C7(e,t,n,r){const i={},s=r(e,{});for(const f in s)i[f]=Lc(s[f]);let{initial:o,animate:a}=e;const l=wp(e),u=_k(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?a:o;return d&&typeof d!="boolean"&&!xp(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{const h=Oy(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 mt=e=>e,{schedule:We,cancel:Or,state:rt,steps:zh}=Mk(typeof requestAnimationFrame<"u"?requestAnimationFrame:mt,!0),T7={useVisualState:Uk({scrapeMotionValuesFromProps:Bk,createRenderState:Fk,onMount:(e,t,{renderState:n,latestValues:r})=>{We.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),We.render(()=>{ky(n,r,{enableHardwareAcceleration:!1},My(t.tagName),e.transformTemplate),Vk(t,n)})}})},k7={useVisualState:Uk({scrapeMotionValuesFromProps:_y,createRenderState:Ty})};function M7(e,{forwardMotionProps:t=!1},n,r){return{...Sy(e)?T7:k7,preloadedFeatures:n,useRender:b7(t),createVisualElement:r,Component:e}}function gr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Wk=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function bp(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const _7=e=>t=>Wk(t)&&e(t,bp(t));function Sr(e,t,n,r){return gr(e,t,_7(n),r)}const O7=(e,t)=>n=>t(e(n)),Er=(...e)=>e.reduce(O7);function Hk(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Ob=Hk("dragHorizontal"),Rb=Hk("dragVertical");function Gk(e){let t=!1;if(e==="y")t=Rb();else if(e==="x")t=Ob();else{const n=Ob(),r=Rb();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function qk(){const e=Gk(!0);return e?(e(),!1):!0}class ji{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Ab(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(s,o)=>{if(s.pointerType==="touch"||qk())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&l(s,o)};return Sr(e.current,n,i,{passive:!e.getProps()[r]})}class R7 extends ji{mount(){this.unmount=Er(Ab(this.node,!0),Ab(this.node,!1))}unmount(){}}class A7 extends ji{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=Er(gr(this.node.current,"focus",()=>this.onFocus()),gr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Kk=(e,t)=>t?e===t?!0:Kk(e,t.parentElement):!1;function Vh(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,bp(n))}class I7 extends ji{constructor(){super(...arguments),this.removeStartListeners=mt,this.removeEndListeners=mt,this.removeAccessibleListeners=mt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=Sr(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!Kk(this.node.current,a.target)?c&&c(a,l):u&&u(a,l)},{passive:!(r.onTap||r.onPointerUp)}),o=Sr(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Er(s,o),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const o=a=>{a.key!=="Enter"||!this.checkPressEnd()||Vh("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&c(l,u)})};this.removeEndListeners(),this.removeEndListeners=gr(this.node.current,"keyup",o),Vh("down",(a,l)=>{this.startPress(a,l)})},n=gr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Vh("cancel",(s,o)=>this.cancelPress(s,o))},i=gr(this.node.current,"blur",r);this.removeAccessibleListeners=Er(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),!qk()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(t,n)}mount(){const t=this.node.getProps(),n=Sr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=gr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Er(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Hg=new WeakMap,Bh=new WeakMap,$7=e=>{const t=Hg.get(e.target);t&&t(e)},L7=e=>{e.forEach($7)};function j7({root:e,...t}){const n=e||document;Bh.has(n)||Bh.set(n,{});const r=Bh.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(L7,{root:e,...t})),r[i]}function D7(e,t,n){const r=j7(t);return Hg.set(e,n),r.observe(e),()=>{Hg.delete(e),r.unobserve(e)}}const F7={some:0,all:1};class N7 extends ji{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:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:F7[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!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 D7(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(z7(t,n))&&this.startObserver()}unmount(){}}function z7({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const V7={inView:{Feature:N7},tap:{Feature:I7},focus:{Feature:A7},hover:{Feature:R7}};function Qk(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 U7(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Sp(e,t,n){const r=e.getProps();return Oy(r,t,n!==void 0?n:r.custom,B7(e),U7(e))}const Ci=e=>e*1e3,Pr=e=>e/1e3,W7={type:"spring",stiffness:500,damping:25,restSpeed:10},H7=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),G7={type:"keyframes",duration:.8},q7={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},K7=(e,{keyframes:t})=>t.length>2?G7:ks.has(e)?e.startsWith("scale")?H7(t[1]):W7:q7;function Q7({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function Ay(e,t){return e[t]||e.default||e}const Y7=e=>e!==null;function Ep(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(Y7),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}let jc;function X7(){jc=void 0}const Ti={now:()=>(jc===void 0&&Ti.set(rt.isProcessing||zV.useManualTiming?rt.timestamp:performance.now()),jc),set:e=>{jc=e,queueMicrotask(X7)}},Yk=e=>/^0[^.\s]+$/u.test(e);function Z7(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Yk(e):!0}let J7=mt,Iy=mt;const Xk=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),eB=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function tB(e){const t=eB.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function Zk(e,t,n=1){const[r,i]=tB(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return Xk(o)?parseFloat(o):o}return Ey(i)?Zk(i,t,n+1):i}const nB=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ib=e=>e===oa||e===Z,$b=(e,t)=>parseFloat(e.split(", ")[t]),Lb=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return $b(i[1],t);{const s=r.match(/^matrix\((.+)\)$/u);return s?$b(s[1],e):0}},rB=new Set(["x","y","z"]),iB=Tu.filter(e=>!rB.has(e));function sB(e){const t=[];return iB.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Ho={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:Lb(4,13),y:Lb(5,14)};Ho.translateX=Ho.x;Ho.translateY=Ho.y;const Jk=e=>t=>t.test(e),oB={test:e=>e==="auto",parse:e=>e},eM=[oa,Z,rr,Hr,u7,l7,oB],jb=e=>eM.find(Jk(e)),hs=new Set;let Gg=!1,qg=!1;function tM(){if(qg){const e=Array.from(hs).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=sB(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(([s,o])=>{var a;(a=r.getValue(s))===null||a===void 0||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}qg=!1,Gg=!1,hs.forEach(e=>e.complete()),hs.clear()}function nM(){hs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(qg=!0)})}function aB(){nM(),tM()}class $y{constructor(t,n,r,i,s,o=!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=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(hs.add(this),Gg||(Gg=!0,We.read(nM),We.resolveKeyframes(tM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let s=0;sn=>!!(ku(n)&&a7.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),rM=(e,t,n)=>r=>{if(!ku(r))return r;const[i,s,o,a]=r.match(Py);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},lB=e=>Oi(0,255,e),Uh={...oa,transform:e=>Math.round(lB(e))},ts={test:Ly("rgb","red"),parse:rM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Uh.transform(e)+", "+Uh.transform(t)+", "+Uh.transform(n)+", "+nl(tl.transform(r))+")"};function uB(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 Kg={test:Ly("#"),parse:uB,transform:ts.transform},no={test:Ly("hsl","hue"),parse:rM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+rr.transform(nl(t))+", "+rr.transform(nl(n))+", "+nl(tl.transform(r))+")"},Ct={test:e=>ts.test(e)||Kg.test(e)||no.test(e),parse:e=>ts.test(e)?ts.parse(e):no.test(e)?no.parse(e):Kg.parse(e),transform:e=>ku(e)?e:e.hasOwnProperty("red")?ts.transform(e):no.transform(e)};function cB(e){var t,n;return isNaN(e)&&ku(e)&&(((t=e.match(Py))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(o7))===null||n===void 0?void 0:n.length)||0)>0}const iM="number",sM="color",dB="var",fB="var(",Db="${}",pB=/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 Bd(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(pB,l=>(Ct.test(l)?(r.color.push(s),i.push(sM),n.push(Ct.parse(l))):l.startsWith(fB)?(r.var.push(s),i.push(dB),n.push(l)):(r.number.push(s),i.push(iM),n.push(parseFloat(l))),++s,Db)).split(Db);return{values:n,split:a,indexes:r,types:i}}function oM(e){return Bd(e).values}function aM(e){const{split:t,types:n}=Bd(e),r=t.length;return i=>{let s="";for(let o=0;otypeof e=="number"?0:e;function mB(e){const t=oM(e);return aM(e)(t.map(hB))}const Ri={test:cB,parse:oM,createTransformer:aM,getAnimatableNone:mB},gB=new Set(["brightness","contrast","saturate","opacity"]);function vB(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Py)||[];if(!r)return e;const i=n.replace(r,"");let s=gB.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const yB=/\b([a-z-]*)\(.*?\)/gu,Qg={...Ri,getAnimatableNone:e=>{const t=e.match(yB);return t?t.map(vB).join(" "):e}},xB={...Lk,color:Ct,backgroundColor:Ct,outlineColor:Ct,fill:Ct,stroke:Ct,borderColor:Ct,borderTopColor:Ct,borderRightColor:Ct,borderBottomColor:Ct,borderLeftColor:Ct,filter:Qg,WebkitFilter:Qg},jy=e=>xB[e];function lM(e,t){let n=jy(e);return n!==Qg&&(n=Ri),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function wB(e,t,n){let r=0,i;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function bB(e){let t;return()=>(t===void 0&&(t=e()),t)}const Fb=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ri.test(e)||e==="0")&&!e.startsWith("url("));function SB(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n{this.resolveFinishedPromise=t})}}function Dy(e,t){return t?e*(1e3/t):0}const PB=5;function dM(e,t,n){const r=Math.max(t-PB,0);return Dy(n-e(r),t-r)}const Wh=.001,CB=.01,TB=10,kB=.05,MB=1;function _B({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s,o=1-t;o=Oi(kB,MB,o),e=Oi(CB,TB,Pr(e)),o<1?(i=u=>{const c=u*o,d=c*e,f=c-n,p=Yg(u,o),h=Math.exp(-d);return Wh-f/p*h},s=u=>{const d=u*o*e,f=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=Yg(Math.pow(u,2),o);return(-i(u)+Wh>0?-1:1)*((f-p)*h)/m}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Wh+c*d},s=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=RB(i,s,a);if(e=Ci(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const OB=12;function RB(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function $B(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Nb(e,IB)&&Nb(e,AB)){const n=_B(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function fM({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],s=e[e.length-1],o={done:!1,value:i},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=$B({...r,velocity:-Pr(r.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(a*u)),m=s-i,x=Pr(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=Yg(x,h);y=w=>{const S=Math.exp(-h*x*w);return s-S*((p+h*x*m)/v*Math.sin(v*w)+m*Math.cos(v*w))}}else if(h===1)y=v=>s-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),P=Math.min(v*w,300);return s-S*((p+h*x*m)*Math.sinh(P)+v*m*Math.cosh(P))/v}}return{calculatedDuration:f&&c||null,next:v=>{const w=y(v);if(f)o.done=v>=c;else{let S=p;v!==0&&(h<1?S=dM(y,v,w):S=0);const P=Math.abs(S)<=n,T=Math.abs(s-w)<=t;o.done=P&&T}return o.value=o.done?s:w,o}}}function zb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=C=>a!==void 0&&Cl,h=C=>a===void 0?l:l===void 0||Math.abs(a-C)-m*Math.exp(-C/r),v=C=>g+y(C),w=C=>{const M=y(C),k=v(C);f.done=Math.abs(M)<=u,f.value=f.done?g:k};let S,P;const T=C=>{p(f.value)&&(S=C,P=fM({keyframes:[f.value,h(f.value)],velocity:dM(v,C,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:C=>{let M=!1;return!P&&S===void 0&&(M=!0,w(C),T(C)),S!==void 0&&C>=S?P.next(C-S):(!M&&w(C),f)}}}const pM=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,LB=1e-7,jB=12;function DB(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=pM(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>LB&&++aDB(s,0,1,e,n);return s=>s===0||s===1?s:pM(i(s),t,r)}const FB=_u(.42,0,1,1),NB=_u(0,0,.58,1),hM=_u(.42,0,.58,1),zB=e=>Array.isArray(e)&&typeof e[0]!="number",mM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,gM=e=>t=>1-e(1-t),Fy=e=>1-Math.sin(Math.acos(e)),vM=gM(Fy),VB=mM(Fy),yM=_u(.33,1.53,.69,.99),Ny=gM(yM),BB=mM(Ny),UB=e=>(e*=2)<1?.5*Ny(e):.5*(2-Math.pow(2,-10*(e-1))),WB={linear:mt,easeIn:FB,easeInOut:hM,easeOut:NB,circIn:Fy,circInOut:VB,circOut:vM,backIn:Ny,backInOut:BB,backOut:yM,anticipate:UB},Vb=e=>{if(Array.isArray(e)){Iy(e.length===4);const[t,n,r,i]=e;return _u(t,n,r,i)}else if(typeof e=="string")return WB[e];return e},Go=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Ie=(e,t,n)=>e+(t-e)*n;function Hh(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 HB({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Hh(l,a,e+1/3),s=Hh(l,a,e),o=Hh(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}const Gh=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},GB=[Kg,ts,no],qB=e=>GB.find(t=>t.test(e));function Bb(e){const t=qB(e);let n=t.parse(e);return t===no&&(n=HB(n)),n}const Ub=(e,t)=>{const n=Bb(e),r=Bb(t),i={...n};return s=>(i.red=Gh(n.red,r.red,s),i.green=Gh(n.green,r.green,s),i.blue=Gh(n.blue,r.blue,s),i.alpha=Ie(n.alpha,r.alpha,s),ts.transform(i))};function Xg(e,t){return n=>n>0?t:e}function KB(e,t){return n=>Ie(e,t,n)}function zy(e){return typeof e=="number"?KB:typeof e=="string"?Ey(e)?Xg:Ct.test(e)?Ub:XB:Array.isArray(e)?xM:typeof e=="object"?Ct.test(e)?Ub:QB:Xg}function xM(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>zy(s)(s,t[o]));return s=>{for(let o=0;o{for(const s in r)n[s]=r[s](i);return n}}function YB(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let s=0;s{const n=Ri.createTransformer(t),r=Bd(e),i=Bd(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?Er(xM(YB(r,i),i.values),n):Xg(e,t)};function wM(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Ie(e,t,n):zy(e)(e,t)}function ZB(e,t,n){const r=[],i=n||wM,s=e.length-1;for(let o=0;ot[0];if(s===2&&e[0]===e[1])return()=>t[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=ZB(t,r,i),a=o.length,l=u=>{let c=0;if(a>1)for(;cl(Oi(e[0],e[s-1],u)):l}function JB(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Go(0,t,r);e.push(Ie(n,1,i))}}function SM(e){const t=[0];return JB(t,e.length-1),t}function eU(e,t){return e.map(n=>n*t)}function tU(e,t){return e.map(()=>t||hM).splice(0,e.length-1)}function Ud({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=zB(r)?r.map(Vb):Vb(r),s={done:!1,value:t[0]},o=eU(n&&n.length===t.length?n:SM(t),e),a=bM(o,t,{ease:Array.isArray(i)?i:tU(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const Wb=2e4;function nU(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Wb?1/0:t}const rU=e=>{const t=({timestamp:n})=>e(n);return{start:()=>We.update(t,!0),stop:()=>Or(t),now:()=>rt.isProcessing?rt.timestamp:Ti.now()}},iU={decay:zb,inertia:zb,tween:Ud,keyframes:Ud,spring:fM},sU=e=>e/100;class Vy extends cM{constructor({KeyframeResolver:t=$y,...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:s}=this.options,o=(a,l)=>this.onKeyframesResolved(a,l);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(s,o,r,i):this.resolver=new t(s,o,r,i),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,a=iU[n]||Ud;let l,u;a!==Ud&&typeof t[0]!="number"&&(l=Er(sU,wM(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});s==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=nU(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:C}=this.options;return{done:!0,value:C[C.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return s.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=s;if(p){const C=Math.min(this.currentTime,c)/d;let M=Math.floor(C),k=C%1;!k&&C>=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=o)),v=Oi(0,1,k)*d}const S=y?{done:!1,value:l[0]}:w.next(v);a&&(S.value=a(S.value));let{done:P}=S;!y&&u!==null&&(P=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&P);return T&&i!==void 0&&(S.value=Ep(l,this.options,i)),x&&x(S.value),T&&this.finish(),S}get duration(){const{resolved:t}=this;return t?Pr(t.calculatedDuration):0}get time(){return Pr(this.currentTime)}set time(t){t=Ci(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=Pr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=rU,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 EM=e=>Array.isArray(e)&&typeof e[0]=="number";function PM(e){return!!(!e||typeof e=="string"&&e in By||EM(e)||Array.isArray(e)&&e.every(PM))}const ja=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,By={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ja([0,.65,.55,1]),circOut:ja([.55,0,1,.45]),backIn:ja([.31,.01,.66,-.59]),backOut:ja([.33,1.53,.69,.99])};function oU(e){return CM(e)||By.easeOut}function CM(e){if(e)return EM(e)?ja(e):Array.isArray(e)?e.map(oU):By[e]}function aU(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=CM(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const lU=bB(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),uU=new Set(["opacity","clipPath","filter","transform"]),Wd=10,cU=2e4;function dU(e){return e.type==="spring"||e.name==="backgroundColor"||!PM(e.ease)}function fU(e,t){const n=new Vy({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let s=0;for(;!r.done&&sthis.onKeyframesResolved(s,o),n,r),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:s,ease:o,type:a,motionValue:l,name:u}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(dU(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...h}=this.options,m=fU(t,h);t=m.keyframes,t.length===1&&(t[1]=t[0]),i=m.duration,s=m.times,o=m.ease,a="keyframes"}const c=aU(l.owner.current,u,t,{...this.options,duration:i,times:s,ease:o});return c.startTime=Ti.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;l.set(Ep(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:s,type:a,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Pr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Pr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Ci(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 mt;const{animation:r}=n;r.timeline=t,r.onfinish=null}return mt}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:s,ease:o,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 Vy({...d,keyframes:r,duration:i,type:s,ease:o,times:a,isGenerator:!0}),p=Ci(this.time);l.setWithVelocity(f.sample(p-Wd).value,f.sample(p).value,Wd)}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:s,damping:o,type:a}=t;return lU()&&r&&uU.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&s!=="mirror"&&o!==0&&a!=="inertia"}}const Uy=(e,t,n,r={},i,s)=>o=>{const a=Ay(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Ci(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:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};Q7(a)||(c={...c,...K7(e,c)}),c.duration&&(c.duration=Ci(c.duration)),c.repeatDelay&&(c.repeatDelay=Ci(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&&!s&&t.get()!==void 0){const f=Ep(c.keyframes,a);if(f!==void 0){We.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!s&&Hb.supports(c)?new Hb(c):new Vy(c)};function Hd(e){return!!(kt(e)&&e.add)}function Wy(e,t){e.indexOf(t)===-1&&e.push(t)}function Hy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Gy{constructor(){this.subscriptions=[]}add(t){return Wy(this.subscriptions,t),()=>Hy(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 s=0;s!isNaN(parseFloat(e));class hU{constructor(t,n={}){this.version="11.1.7",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const s=Ti.now();this.updatedAt!==s&&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=pU(this.current),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ti.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 Gy);const r=this.events[t].add(n);return t==="change"?()=>{r(),We.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=Ti.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Gb)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Gb);return Dy(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 vr(e,t){return new hU(e,t)}function mU(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,vr(n))}function qy(e,t){const n=Sp(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=E7(s[o]);mU(e,o,a)}}function gU({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function TM(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t;const u=e.getValue("willChange");r&&(o=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in l){const p=e.getValue(f,(s=e.latestValues[f])!==null&&s!==void 0?s:null),h=l[f];if(h===void 0||d&&gU(d,f))continue;const m={delay:n,elapsed:0,...Ay(o||{},f)};let x=!1;if(window.HandoffAppearAnimations){const v=e.getProps()[kk];if(v){const w=window.HandoffAppearAnimations(v,f);w!==null&&(m.elapsed=w,x=!0)}}p.start(Uy(f,p,h,e.shouldReduceMotion&&ks.has(f)?{type:!1}:m,e,x));const g=p.animation;g&&(Hd(u)&&(u.add(f),g.then(()=>u.remove(f))),c.push(g))}return a&&Promise.all(c).then(()=>{We.update(()=>{a&&qy(e,a)})}),c}function Zg(e,t,n={}){var r;const i=Sp(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);const o=i?()=>Promise.all(TM(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return vU(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,c]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function vU(e,t,n=0,r=0,i=1,s){const o=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(yU).forEach((u,c)=>{u.notify("AnimationStart",t),o.push(Zg(u,t,{...s,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function yU(e,t){return e.sortNodePosition(t)}function kM(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Zg(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Zg(e,t,n);else{const i=typeof t=="function"?Sp(e,t,n.custom):t;r=Promise.all(TM(e,i,n))}return r.then(()=>{We.postRender(()=>{e.notify("AnimationComplete",t)})})}const xU=[...wy].reverse(),wU=wy.length;function bU(e){return t=>Promise.all(t.map(({animation:n,options:r})=>kM(e,n,r)))}function SU(e){let t=bU(e);const n=PU();let r=!0;const i=l=>(u,c)=>{var d;const f=Sp(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 s(l){t=l(e)}function o(l){const u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let p={},h=1/0;for(let x=0;xh&&w,M=!1;const k=Array.isArray(v)?v:[v];let R=k.reduce(i(g),{});S===!1&&(R={});const{prevResolvedValues:I={}}=y,$={...I,...R},D=V=>{C=!0,f.has(V)&&(M=!0,f.delete(V)),y.needsAnimating[V]=!0;const N=e.getValue(V);N&&(N.liveStyle=!1)};for(const V in $){const N=R[V],q=I[V];if(p.hasOwnProperty(V))continue;let O=!1;Wg(N)&&Wg(q)?O=!Qk(N,q):O=N!==q,O?N!=null?D(V):f.add(V):N!==void 0&&f.has(V)?D(V):y.protectedKeys[V]=!0}y.prevProp=v,y.prevResolvedValues=R,y.isActive&&(p={...p,...R}),r&&e.blockInitialAnimation&&(C=!1),C&&(!P||M)&&d.push(...k.map(V=>({animation:V,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=o(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n}}function EU(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Qk(t,e):!1}function Vi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function PU(){return{animate:Vi(!0),whileInView:Vi(),whileHover:Vi(),whileTap:Vi(),whileDrag:Vi(),whileFocus:Vi(),exit:Vi()}}class CU extends ji{constructor(t){super(t),t.animationState||(t.animationState=SU(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),xp(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 TU=0;class kU extends ji{constructor(){super(...arguments),this.id=TU++}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 MU={animation:{Feature:CU},exit:{Feature:kU}},qb=(e,t)=>Math.abs(e-t);function _U(e,t){const n=qb(e.x,t.x),r=qb(e.y,t.y);return Math.sqrt(n**2+r**2)}class MM{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:s=!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=Kh(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=_U(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:h}=d,{timestamp:m}=rt;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=qh(f,this.transformPagePoint),We.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=Kh(d.type==="pointercancel"?this.lastMoveEventInfo:qh(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,x),h&&h(d,x)},!Wk(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=bp(t),a=qh(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=rt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Kh(a,this.history)),this.removeListeners=Er(Sr(this.contextWindow,"pointermove",this.handlePointerMove),Sr(this.contextWindow,"pointerup",this.handlePointerUp),Sr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Or(this.updatePoint)}}function qh(e,t){return t?{point:t(e.point)}:e}function Kb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Kh({point:e},t){return{point:e,delta:Kb(e,_M(t)),offset:Kb(e,OU(t)),velocity:RU(t,.1)}}function OU(e){return e[0]}function _M(e){return e[e.length-1]}function RU(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=_M(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ci(t)));)n--;if(!r)return{x:0,y:0};const s=Pr(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Zt(e){return e.max-e.min}function Jg(e,t=0,n=.01){return Math.abs(e-t)<=n}function Qb(e,t,n,r=.5){e.origin=r,e.originPoint=Ie(t.min,t.max,e.origin),e.scale=Zt(n)/Zt(t),(Jg(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ie(n.min,n.max,e.origin)-e.originPoint,(Jg(e.translate)||isNaN(e.translate))&&(e.translate=0)}function rl(e,t,n,r){Qb(e.x,t.x,n.x,r?r.originX:void 0),Qb(e.y,t.y,n.y,r?r.originY:void 0)}function Yb(e,t,n){e.min=n.min+t.min,e.max=e.min+Zt(t)}function AU(e,t,n){Yb(e.x,t.x,n.x),Yb(e.y,t.y,n.y)}function Xb(e,t,n){e.min=t.min-n.min,e.max=e.min+Zt(t)}function il(e,t,n){Xb(e.x,t.x,n.x),Xb(e.y,t.y,n.y)}function IU(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?Ie(n,e,r.max):Math.min(e,n)),e}function Zb(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 $U(e,{top:t,left:n,bottom:r,right:i}){return{x:Zb(e.x,n,i),y:Zb(e.y,t,r)}}function Jb(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Go(t.min,t.max-r,e.min):r>i&&(n=Go(e.min,e.max-i,t.min)),Oi(0,1,n)}function DU(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 ev=.35;function FU(e=ev){return e===!1?e=0:e===!0&&(e=ev),{x:eS(e,"left","right"),y:eS(e,"top","bottom")}}function eS(e,t,n){return{min:tS(e,t),max:tS(e,n)}}function tS(e,t){return typeof e=="number"?e:e[t]||0}const nS=()=>({translate:0,scale:1,origin:0,originPoint:0}),ro=()=>({x:nS(),y:nS()}),rS=()=>({min:0,max:0}),Be=()=>({x:rS(),y:rS()});function an(e){return[e("x"),e("y")]}function OM({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function NU({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function zU(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 Qh(e){return e===void 0||e===1}function tv({scale:e,scaleX:t,scaleY:n}){return!Qh(e)||!Qh(t)||!Qh(n)}function Gi(e){return tv(e)||RM(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function RM(e){return iS(e.x)||iS(e.y)}function iS(e){return e&&e!=="0%"}function Gd(e,t,n){const r=e-n,i=t*r;return n+i}function sS(e,t,n,r,i){return i!==void 0&&(e=Gd(e,i,r)),Gd(e,n,r)+t}function nv(e,t=0,n=1,r,i){e.min=sS(e.min,t,n,r,i),e.max=sS(e.max,t,n,r,i)}function AM(e,{x:t,y:n}){nv(e.x,t.translate,t.scale,t.originPoint),nv(e.y,n.translate,n.scale,n.originPoint)}function VU(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function Qr(e,t){e.min=e.min+t,e.max=e.max+t}function aS(e,t,[n,r,i]){const s=t[i]!==void 0?t[i]:.5,o=Ie(e.min,e.max,s);nv(e,t[n],t[r],o,t.scale)}const BU=["x","scaleX","originX"],UU=["y","scaleY","originY"];function io(e,t){aS(e.x,t,BU),aS(e.y,t,UU)}function IM(e,t){return OM(zU(e.getBoundingClientRect(),t))}function WU(e,t,n){const r=IM(e,n),{scroll:i}=t;return i&&(Qr(r.x,i.offset.x),Qr(r.y,i.offset.y)),r}const $M=({current:e})=>e?e.ownerDocument.defaultView:null,HU=new WeakMap;class GU{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=Be(),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(bp(c,"page").point)},s=(c,d)=>{const{drag:f,dragPropagation:p,onDragStart:h}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Gk(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),an(x=>{let g=this.getAxisMotionValue(x).get()||0;if(rr.test(g)){const{projection:y}=this.visualElement;if(y&&y.layout){const v=y.layout.layoutBox[x];v&&(g=Zt(v)*(parseFloat(g)/100))}}this.originPoint[x]=g}),h&&h(c,d);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},o=(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=qU(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=()=>an(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 MM(t,{onSessionStart:i,onStart:s,onMove:o,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:s}=this.getProps();s&&s(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||!cc(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=IU(o,this.constraints[t],this.elastic[t])),s.set(o)}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,s=this.constraints;n&&to(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=$U(i.layoutBox,n):this.constraints=!1,this.elastic=FU(r),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&an(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=DU(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!to(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=WU(r,i.root,this.visualElement.getTransformPagePoint());let o=LU(i.layout.layoutBox,s);if(n){const a=n(NU(o));this.hasMutatedConstraints=!!a,a&&(o=OM(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=an(c=>{if(!cc(c,n,this.currentDirection))return;let d=l&&l[c]||{};o&&(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,...s,...d};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Uy(t,r,0,n,this.visualElement))}stopAnimation(){an(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){an(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){an(n=>{const{drag:r}=this.getProps();if(!cc(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];s.set(t[n]-Ie(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!to(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};an(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=jU({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),an(o=>{if(!cc(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(Ie(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;HU.set(this.visualElement,this);const t=this.visualElement.current,n=Sr(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();to(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const o=gr(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(an(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=ev,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function cc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function qU(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class KU extends ji{constructor(t){super(t),this.removeGroupControls=mt,this.removeListeners=mt,this.controls=new GU(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||mt}unmount(){this.removeGroupControls(),this.removeListeners()}}const lS=e=>(t,n)=>{e&&e(t,n)};class QU extends ji{constructor(){super(...arguments),this.removePointerDownListener=mt}onPointerDown(t){this.session=new MM(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:lS(t),onStart:lS(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&i(s,o)}}}mount(){this.removePointerDownListener=Sr(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 YU(){const e=b.useContext(my);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 Dc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function uS(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ca={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;const n=uS(e,t.target.x),r=uS(e,t.target.y);return`${n}% ${r}%`}},XU={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ri.parse(e);if(i.length>5)return r;const s=Ri.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=Ie(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}};class ZU extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;JV(JU),s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Dc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,o=r.projection;return o&&(o.isPresent=s,i||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||We.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),xy.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 LM(e){const[t,n]=YU(),r=b.useContext(Ok);return E.jsx(ZU,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(Rk),isPresent:t,safeToRemove:n})}const JU={borderRadius:{...Ca,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ca,borderTopRightRadius:Ca,borderBottomLeftRadius:Ca,borderBottomRightRadius:Ca,boxShadow:XU},jM=["TopLeft","TopRight","BottomLeft","BottomRight"],eW=jM.length,cS=e=>typeof e=="string"?parseFloat(e):e,dS=e=>typeof e=="number"||Z.test(e);function tW(e,t,n,r,i,s){i?(e.opacity=Ie(0,n.opacity!==void 0?n.opacity:1,nW(r)),e.opacityExit=Ie(t.opacity!==void 0?t.opacity:1,0,rW(r))):s&&(e.opacity=Ie(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;ort?1:n(Go(e,t,r))}function pS(e,t){e.min=t.min,e.max=t.max}function on(e,t){pS(e.x,t.x),pS(e.y,t.y)}function hS(e,t,n,r,i){return e-=t,e=Gd(e,1/n,r),i!==void 0&&(e=Gd(e,1/i,r)),e}function iW(e,t=0,n=1,r=.5,i,s=e,o=e){if(rr.test(t)&&(t=parseFloat(t),t=Ie(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=Ie(s.min,s.max,r);e===s&&(a-=t),e.min=hS(e.min,t,n,a,i),e.max=hS(e.max,t,n,a,i)}function mS(e,t,[n,r,i],s,o){iW(e,t[n],t[r],t[i],t.scale,s,o)}const sW=["x","scaleX","originX"],oW=["y","scaleY","originY"];function gS(e,t,n,r){mS(e.x,t,sW,n?n.x:void 0,r?r.x:void 0),mS(e.y,t,oW,n?n.y:void 0,r?r.y:void 0)}function vS(e){return e.translate===0&&e.scale===1}function FM(e){return vS(e.x)&&vS(e.y)}function aW(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 NM(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 yS(e){return Zt(e.x)/Zt(e.y)}class lW{constructor(){this.members=[]}add(t){Wy(this.members,t),t.scheduleRender()}remove(t){if(Hy(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 s=this.members[i];if(s.isPresent!==!1){r=s;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 xS(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}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 uW=(e,t)=>e.depth-t.depth;class cW{constructor(){this.children=[],this.isDirty=!1}add(t){Wy(this.children,t),this.isDirty=!0}remove(t){Hy(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(uW),this.isDirty=!1,this.children.forEach(t)}}function dW(e,t){const n=Ti.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(Or(r),e(s-t))};return We.read(r,!0),()=>Or(r)}function fW(e){window.MotionDebug&&window.MotionDebug.record(e)}function pW(e){return e instanceof SVGElement&&e.tagName!=="svg"}function hW(e,t,n){const r=kt(e)?e:vr(e);return r.start(Uy("",r,t,n)),r.animation}const Yh=["","X","Y","Z"],mW={visibility:"hidden"},wS=1e3;let gW=0;const qi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Xh(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function zM({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=gW++,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,qi.totalNodes=qi.resolvedTargetDeltas=qi.recalculatedProjection=0,this.nodes.forEach(xW),this.nodes.forEach(PW),this.nodes.forEach(CW),this.nodes.forEach(wW),fW(qi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,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(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=dW(f,250),Dc.hasAnimatedSinceResize&&(Dc.hasAnimatedSinceResize=!1,this.nodes.forEach(SS))})}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()||OW,{onLayoutAnimationStart:x,onLayoutAnimationComplete:g}=c.getProps(),y=!this.targetLayout||!NM(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={...Ay(m,"layout"),onPlay:x,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else f||SS(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Or(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(TW),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!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(bW),this.sharedNodes.forEach(kW)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,We.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){We.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;ES(d.x,o.x,S),ES(d.y,o.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(il(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),MW(this.relativeTarget,this.relativeTargetOrigin,f,S),v&&aW(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Be()),on(v,this.relativeTarget)),m&&(this.animationValues=c,tW(c,u,this.latestValues,S,y,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Or(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=We.update(()=>{Dc.hasAnimatedSinceResize=!0,this.currentAnimation=hW(0,wS,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.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 o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&VM(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Be();const d=Zt(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+d;const f=Zt(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}on(a,l),io(a,c),rl(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new lW),this.sharedNodes.get(o).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 o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Xh("z",o,u,this.animationValues);for(let c=0;c{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(bS),this.root.sharedNodes.clear()}}}function vW(e){e.updateLayout()}function yW(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:s}=e.options,o=n.source!==e.layout.source;s==="size"?an(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=Zt(f);f.min=r[d].min,f.max=f.min+p}):VM(s,n.layoutBox,r)&&an(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=Zt(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=ro();rl(a,r,n.layoutBox);const l=ro();o?rl(l,e.applyTransform(i,!0),n.measuredBox):rl(l,r,n.layoutBox);const u=!FM(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=Be();il(h,n.layoutBox,f.layoutBox);const m=Be();il(m,r,p.layoutBox),NM(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 xW(e){qi.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 wW(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function bW(e){e.clearSnapshot()}function bS(e){e.clearMeasurements()}function SW(e){e.isLayoutDirty=!1}function EW(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function SS(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function PW(e){e.resolveTargetDelta()}function CW(e){e.calcProjection()}function TW(e){e.resetSkewAndRotation()}function kW(e){e.removeLeadSnapshot()}function ES(e,t,n){e.translate=Ie(t.translate,0,n),e.scale=Ie(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function PS(e,t,n,r){e.min=Ie(t.min,n.min,r),e.max=Ie(t.max,n.max,r)}function MW(e,t,n,r){PS(e.x,t.x,n.x,r),PS(e.y,t.y,n.y,r)}function _W(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const OW={duration:.45,ease:[.4,0,.1,1]},CS=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),TS=CS("applewebkit/")&&!CS("chrome/")?Math.round:mt;function kS(e){e.min=TS(e.min),e.max=TS(e.max)}function RW(e){kS(e.x),kS(e.y)}function VM(e,t,n){return e==="position"||e==="preserve-aspect"&&!Jg(yS(t),yS(n),.2)}const AW=zM({attachResizeListener:(e,t)=>gr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Zh={current:void 0},BM=zM({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Zh.current){const e=new AW({});e.mount(window),e.setOptions({layoutScroll:!0}),Zh.current=e}return Zh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),IW={pan:{Feature:QU},drag:{Feature:KU,ProjectionNode:BM,MeasureLayout:LM}},rv={current:null},UM={current:!1};function $W(){if(UM.current=!0,!!gy)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rv.current=e.matches;e.addListener(t),t()}else rv.current=!1}function LW(e,t,n){const{willChange:r}=t;for(const i in t){const s=t[i],o=n[i];if(kt(s))e.addValue(i,s),Hd(r)&&r.add(i);else if(kt(o))e.addValue(i,vr(s,{owner:e})),Hd(r)&&r.remove(i);else if(o!==s)if(e.hasValue(i)){const a=e.getValue(i);a.liveStyle===!0?a.jump(s):a.hasAnimated||a.set(s)}else{const a=e.getStaticValue(i);e.addValue(i,vr(a!==void 0?a:s,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const MS=new WeakMap,jW=[...eM,Ct,Ri],DW=e=>jW.find(Jk(e)),WM=Object.keys(Kl),FW=WM.length,_S=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],NW=by.length;function HM(e){if(e)return e.options.allowProjection!==!1?e.projection:HM(e.parent)}class zW{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},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=$y,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=()=>We.render(this.render,!1,!0);const{latestValues:l,renderState:u}=o;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=!!s,this.isControllingVariants=wp(n),this.isVariantNode=_k(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&&kt(p)&&(p.set(l[f],!1),Hd(c)&&c.add(f))}}mount(t){this.current=t,MS.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)),UM.current||$W(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:rv.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var t;MS.delete(this.current),this.projection&&this.projection.unmount(),Or(this.notifyUpdate),Or(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=ks.has(t),i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&We.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),s(),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,s){let o,a;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:s,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):Be()}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;r<_S.length;r++){const i=_S[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=LW(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const 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=vr(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"&&(Xk(i)||Yk(i))?i=parseFloat(i):!DW(i)&&Ri.test(n)&&(i=lM(t,n)),this.setBaseTarget(t,kt(i)?i.get():i)),kt(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 o=Oy(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[t])}if(r&&i!==void 0)return i;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!kt(s)?s:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Gy),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class GM extends zW{constructor(){super(...arguments),this.KeyframeResolver=uM}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 VW(e){return window.getComputedStyle(e)}class BW extends GM{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(ks.has(n)){const r=jy(n);return r&&r.default||0}else{const r=VW(t),i=($k(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return IM(t,n)}build(t,n,r,i){Cy(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return _y(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;kt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){Nk(t,n,r,i)}}class UW extends GM{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ks.has(n)){const r=jy(n);return r&&r.default||0}return n=zk.has(n)?n:yy(n),t.getAttribute(n)}measureInstanceViewportBox(){return Be()}scrapeMotionValuesFromProps(t,n,r){return Bk(t,n,r)}build(t,n,r,i){ky(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){Vk(t,n,r,i)}mount(t){this.isSVGTag=My(t.tagName),super.mount(t)}}const WW=(e,t)=>Sy(e)?new UW(t,{enableHardwareAcceleration:!1}):new BW(t,{allowProjection:e!==b.Fragment,enableHardwareAcceleration:!0}),HW={layout:{ProjectionNode:BM,MeasureLayout:LM}},GW={...MU,...V7,...IW,...HW},qW=XV((e,t)=>M7(e,t,GW,WW));function KW(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(Iy(!!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 Fc=new WeakMap;let Gr;function QW(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 YW({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Fc.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return QW(e,n)}})})}function XW(e){e.forEach(YW)}function ZW(){typeof ResizeObserver>"u"||(Gr=new ResizeObserver(XW))}function JW(e,t){Gr||ZW();const n=KW(e);return n.forEach(r=>{let i=Fc.get(r);i||(i=new Set,Fc.set(r,i)),i.add(t),Gr==null||Gr.observe(r)}),()=>{n.forEach(r=>{const i=Fc.get(r);i==null||i.delete(t),i!=null&&i.size||Gr==null||Gr.unobserve(r)})}}const Nc=new Set;let sl;function eH(){sl=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Nc.forEach(n=>n(t))},window.addEventListener("resize",sl)}function tH(e){return Nc.add(e),sl||eH(),()=>{Nc.delete(e),!Nc.size&&sl&&(sl=void 0)}}function nH(e,t){return typeof e=="function"?tH(e):JW(e,t)}const rH=50,OS=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),iH=()=>({time:0,x:OS(),y:OS()}),sH={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function RS(e,t,n,r){const i=n[t],{length:s,position:o}=sH[t],a=i.current,l=n.time;i.current=e[`scroll${o}`],i.scrollLength=e[`scroll${s}`]-e[`client${s}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=Go(0,i.scrollLength,i.current);const u=r-l;i.velocity=u>rH?0:Dy(i.current-a,u)}function oH(e,t,n){RS(e,"x",t,n),RS(e,"y",t,n),t.time=n}function aH(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 s=r.getBoundingClientRect();n.x+=i.left-s.left,n.y+=i.top-s.top}else if(r instanceof SVGGraphicsElement){const{x:i,y:s}=r.getBBox();n.x+=i,n.y+=s;let o=null,a=r.parentNode;for(;!o;)a.tagName==="svg"&&(o=a),a=r.parentNode;r=o}else break;return n}const lH={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},iv={start:0,center:.5,end:1};function AS(e,t,n=0){let r=0;if(e in iv&&(e=iv[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 uH=[0,0];function cH(e,t,n,r){let i=Array.isArray(e)?e:uH,s=0,o=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,iv[e]?e:"0"]),s=AS(i[0],n,r),o=AS(i[1],t),s-o}const dH={x:0,y:0};function fH(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function pH(e,t,n){const{offset:r=lH.All}=n,{target:i=e,axis:s="y"}=n,o=s==="y"?"height":"width",a=i!==e?aH(i,e):dH,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:fH(i),u={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let c=!t[s].interpolate;const d=r.length;for(let f=0;fhH(e,r.target,n),update:i=>{oH(e,n,i),(r.offset||r.target)&&pH(e,n,r)},notify:()=>t(n)}}const Ta=new WeakMap,IS=new WeakMap,Jh=new WeakMap,$S=e=>e===document.documentElement?window:e;function gH(e,{container:t=document.documentElement,...n}={}){let r=Jh.get(t);r||(r=new Set,Jh.set(t,r));const i=iH(),s=mH(t,e,i,n);if(r.add(s),!Ta.has(t)){const a=()=>{for(const f of r)f.measure()},l=()=>{for(const f of r)f.update(rt.timestamp)},u=()=>{for(const f of r)f.notify()},c=()=>{We.read(a,!1,!0),We.read(l,!1,!0),We.update(u,!1,!0)};Ta.set(t,c);const d=$S(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&IS.set(t,nH(t,c)),d.addEventListener("scroll",c,{passive:!0})}const o=Ta.get(t);return We.read(o,!1,!0),()=>{var a;Or(o);const l=Jh.get(t);if(!l||(l.delete(s),l.size))return;const u=Ta.get(t);Ta.delete(t),u&&($S(t).removeEventListener("scroll",u),(a=IS.get(t))===null||a===void 0||a(),window.removeEventListener("resize",u))}}function LS(e,t){J7(!!(!t||t.current))}const vH=()=>({scrollX:vr(0),scrollY:vr(0),scrollXProgress:vr(0),scrollYProgress:vr(0)});function Pp({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=Ry(vH);return(n?vy:b.useEffect)(()=>(LS("target",t),LS("container",e),gH(({x:o,y:a})=>{i.scrollX.set(o.current),i.scrollXProgress.set(o.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 yH(e){e.values.forEach(t=>t.stop())}function sv(e,t){[...t].reverse().forEach(r=>{const i=e.getVariant(r);i&&qy(e,i),e.variantChildren&&e.variantChildren.forEach(s=>{sv(s,t)})})}function xH(e,t){if(Array.isArray(t))return sv(e,t);if(typeof t=="string")return sv(e,[t]);qy(e,t)}function wH(){const e=new Set,t={subscribe(n){return e.add(n),()=>void e.delete(n)},start(n,r){const i=[];return e.forEach(s=>{i.push(kM(s,n,{transitionOverride:r}))}),Promise.all(i)},set(n){return e.forEach(r=>{xH(r,n)})},stop(){e.forEach(n=>{yH(n)})},mount(){return()=>{t.stop()}}};return t}function bH(){const e=Ry(wH);return vy(e.mount,[]),e}const SH=bH,jS=e=>{const{id:t,className:n,background:r,minSize:i,maxSize:s,speed:o,particleColor:a,particleDensity:l}=e,[u,c]=b.useState(!1);b.useEffect(()=>{sV(async p=>{await oV(p)}).then(()=>{c(!0)})},[]);const d=SH(),f=async p=>{p&&(console.log(p),d.start({opacity:1,transition:{duration:1}}))};return E.jsx(qW.div,{animate:d,className:Eb("opacity-0",n),children:u&&E.jsx(iV,{id:t||"tsparticles",className:Eb("h-full w-full"),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:o||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:s||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 DS(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 s=i.toLowerCase().replaceAll("-","").replaceAll(" ","-");return`${bu.getUri()}/sponsor-logos/${s}.png`}return E.jsx(X,{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:E.jsxs(X,{sx:{display:"flex",flexDirection:"column",height:"100%",gap:"15px"},children:[E.jsx("img",{style:{height:"48px",width:"max-content",mixBlendMode:"luminosity"},src:"/logo256.png"}),E.jsx(X,{sx:{marginTop:"10px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"30px",maxWidth:"100%"},children:e.project.members.map(i=>E.jsx("img",{style:{maxHeight:"50px",width:"max-content",maxWidth:"100%"},src:r(i)}))}),E.jsx(X,{sx:{flexGrow:1}}),E.jsx(Se,{sx:{lineHeight:.7,fontSize:"2.8rem",fontWeight:"bold",color:"black",textAlign:"end"},children:e.project.tier})]})})}function qM(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,s]=W.useState(0),{scrollYProgress:o}=Pp({target:t,offset:["start start","end end"]});return W.useEffect(()=>{o.on("change",a=>{a<.9&&(r(Math.abs(1-a*.08)),s(Math.abs(200*a)))})},[]),E.jsxs(X,{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:[E.jsx(Se,{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 EH(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,s]=W.useState([]),{scrollYProgress:o}=Pp({target:t,offset:["start start","end end"]});return W.useEffect(()=>{o.on("change",a=>{a<.9&&r(Math.abs(1-a*.08))}),s(()=>[{tier:"Gold",members:["Amazon Project Kuiper","Fischell Institute","Children's National","Praxis Engineering"]},{tier:"Silver",members:["MCERSI","SECU"]},{tier:"Bronze",members:["NSA"]}])},[]),E.jsxs(X,{sx:{width:"100%",height:"100%",display:"flex",position:"relative",justifyContent:"center",padding:{xs:"15px",md:"0px 100px 0px 50px"}},children:[E.jsxs(X,{sx:{display:{xs:"none",md:"flex"},flexDirection:"column",width:"100%",height:"max-content",position:"sticky",top:"45vh",left:"0px",textAlign:"center"},children:[E.jsx(Se,{sx:{fontSize:"2.5rem",fontWeight:"bold"},children:"Our Sponsors"}),E.jsx(Al,{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?E.jsxs(X,{sx:{display:"flex",flexDirection:"column"},children:[E.jsx(qM,{title:"Our Sponsors",stickyPosition:"40vh",children:i.map(a=>E.jsx(DS,{project:a}))}),E.jsx(Al,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold",textAlign:"center"},children:"Want to be a part of something amazing? Sponsor us today!"})]}):E.jsx(X,{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)=>E.jsx(DS,{project:a,sx:{top:`calc(22vh + ${l*40}px)`,transform:`scale(${1+l*.03})`}}))})]})}const FS=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}=Pp({target:n,offset:["start start","end end"]});return W.useEffect(()=>{i.on("change",s=>{r.current&&(r.current.scrollLeft=(r.current.scrollWidth-r.current.clientWidth)*s)})},[]),E.jsx(X,{ref:t,children:e.mobileView?E.jsx(qM,{title:"Projects",sx:{padding:"20px"},children:e.data.map(s=>E.jsx(cw,{mobileView:!0,project:s},s._id))}):E.jsx(X,{ref:n,sx:{height:`${e.data.length*600}px`},children:E.jsx(X,{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(s=>E.jsx(cw,{mobileView:!1,project:s},s._id))})})})}),NS=[{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 PH(){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-2:return"linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);";default:return"black"}}const t=A4($T.baseTheme.breakpoints.down("md")),[n,r]=W.useState(-120),[i]=W.useState([{title:"General Body Meeting, 3/25 8pm @ Iribe"}]),[s,o]=W.useState({start:0,end:0}),[a,l]=W.useState(!1);W.useEffect(()=>{a&&setTimeout(()=>{o(w=>(l(!1),w.start=w.end,w))},200)},[a]);function u(w){o(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}=Pp({target:c,offset:["start start","end end"]});W.useEffect(()=>{m.on("change",w=>{var I,$,D,V,N,q,O;r(Math.min(-120*(1-30*w),0));const S=(((I=c.current)==null?void 0:I.offsetHeight)??0)*w,P=((($=f==null?void 0:f.current)==null?void 0:$.offsetTop)??0)-100,T=P+(((D=f==null?void 0:f.current)==null?void 0:D.offsetHeight)??0)+50,C=(((V=p==null?void 0:p.current)==null?void 0:V.offsetTop)??0)-50,M=C+(((N=p==null?void 0:p.current)==null?void 0:N.offsetHeight)??0)+100,k=(((q=h==null?void 0:h.current)==null?void 0:q.offsetTop)??0)-100,R=k+(((O=h==null?void 0:h.current)==null?void 0:O.offsetHeight)??0)+100;S>P&&SC&&Sk&&S{let w=await lk.getAll();return w=w.concat(w).concat(w),w}});return E.jsxs(E.Fragment,{children:[E.jsxs(X,{ref:c,id:"maindiv-001",sx:{position:"relative"},children:[i.length<1?E.jsx(E.Fragment,{}):E.jsx(_T,{events:i}),E.jsx(wd,{links:NS,fullWidth:!0}),E.jsx(X,{id:"paddingdiv-001",sx:{height:"50px"}}),E.jsx(La.ScrollContainer,{style:{position:x,scrollBehavior:"smooth",overflow:"visible",width:"100%",height:"100%"},children:E.jsx(La.ScrollPage,{style:{width:"100%",overflow:"visible",flexDirection:"column",display:"flex",alignItems:"center",justifyContent:"flex-start"},children:E.jsxs(La.Animator,{style:{width:"100%",overflow:"visible"},animation:La.batch(TH(1,-.5,0),CH(3,1,0),kH(0,-400,0)),children:[E.jsx("div",{id:"stars1"}),E.jsx("div",{id:"stars2"}),E.jsx("div",{id:"stars3"}),E.jsxs(Se,{sx:{flexGrow:1,fontSize:"4vw",fontWeight:"bold",textAlign:"center"},children:["Empower Code. Inspire Design.",E.jsx("br",{}),"Drive Innovation."]}),E.jsxs(X,{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:[E.jsx(kh,{end:5e5,title:"Dollars Saved",prefix:"$",minWidth:336,alignSelf:{xs:"center",md:"flex-start"}}),E.jsx(kh,{end:150,title:"Members",minWidth:81}),E.jsx(kh,{end:5e4,title:"Lines of Code",minWidth:267,alignSelf:{xs:"center",md:"flex-end"}})]})]})})}),E.jsx(X,{id:"paddingdiv-002",sx:{height:"100vh"}}),t?E.jsx(X,{ref:f,sx:{padding:"10px"},id:"subdiv-002",children:E.jsx(FS,{sx:{},mobileView:!0,data:g,isLoading:y,error:v})}):E.jsx(X,{ref:f,id:"subdiv-002",children:E.jsx(FS,{sx:{height:"300vh"},data:g,isLoading:y,error:v})}),t&&!t?E.jsx(E.Fragment,{}):E.jsxs(X,{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:[E.jsx(jS,{id:"members_sparkles",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"}),E.jsx(X,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:E.jsx(FN,{id:"member-carousel"})}),E.jsx(jS,{id:"members_sparkles2",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"})]}),E.jsx(X,{id:"paddingdiv-003",sx:{height:"150px"}}),E.jsx(X,{id:"sponsors",ref:h,children:E.jsx(EH,{mobileView:t})}),E.jsx(X,{id:"paddingdiv-004",sx:{height:"300px"}}),E.jsx(IT,{}),E.jsx(wd,{links:NS,translucent:!0,sx:{marginTop:"25px",zIndex:2,position:"fixed",top:`${n}px`,left:"0px"}})]}),E.jsx(X,{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(s.start),transition:"opacity 0.4s",animation:"plasma 6s ease infinite",backgroundBlendMode:s.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(s.end),animation:"plasma 6s ease infinite",transition:"opacity 0.4s",opacity:a?1:.5,zIndex:0}}})]})}const CH=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`scale(${t*(1-r)+e*r})`)}}}),TH=(e,t,n)=>({out:{style:{opacity:r=>(r=Math.max(r-n,0),e*(1-r)+t*r)}}}),kH=(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 MH(){const{projectId:e}=JR(),{data:t,isFetching:n,error:r}=ak({queryKey:["project"],queryFn:async()=>await lk.getById(e)});return b.useEffect(()=>{window.scrollTo(0,0)},[]),n?E.jsx(X,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:E.jsx(xj,{})}):r?E.jsx(X,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:E.jsx(W$,{variant:"filled",severity:"error",children:"Unable to retrieve project data..."})}):E.jsxs(X,{sx:{display:"flex",flexDirection:"column",gap:"2rem",justifyContent:"center",padding:"15vh 0",alignItems:"center",minHeight:"100vh"},children:[E.jsx(_H,{name:t.name,organization:t.organization}),E.jsx(OH,{description:t.description}),E.jsx(RH,{demo:t.demo}),E.jsx(AH,{members:t.members})]})}function _H(e){return E.jsxs(X,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[E.jsx(Se,{variant:"h2",sx:{fontWeight:"bold"},children:e.name}),E.jsxs(Se,{variant:"h4",sx:{fontStyle:"italic"},children:["In collaboration with ",e.organization]})]})}function OH(e){return E.jsxs(X,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[E.jsx(Se,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Overview"}),E.jsx(k0,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),E.jsx(Se,{children:e.description})]})}function RH(e){return E.jsxs(X,{children:[E.jsx(Se,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Demo"}),E.jsx(k0,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),E.jsx(tj,{sx:{marginTop:"15px",borderRadius:"5px",width:"clamp(25rem, 50vw, 60rem)",backgroundColor:"white",color:"black"},children:E.jsx(uj,{component:"iframe",image:e.demo,sx:{width:"inherit",aspectRatio:"16/9",border:"none"}})})]})}function AH(e){return E.jsxs(X,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[E.jsx(Se,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Members"}),E.jsx(k0,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),E.jsx(X,{sx:{marginTop:"15px",display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",gap:"10px"},children:e.members.map((t,n)=>E.jsxs(X,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",backgroundColor:"white",borderRadius:"5px",color:"black",minWidth:"15%",padding:"1rem"},children:[t.memberInfo.profileUrl?E.jsx(xd,{src:t.memberInfo.profileUrl,sx:{width:"50px",height:"50px"}},n):b.createElement(xd,{...jT(`${t.memberInfo.firstName} ${t.memberInfo.lastName}`),sx:{width:"50px",height:"50px"},key:n}),E.jsx(Se,{variant:"subtitle1",sx:{fontWeight:"bold",marginTop:"5px"},children:`${t.memberInfo.firstName} ${t.memberInfo.lastName}`}),E.jsx(Se,{variant:"subtitle2",sx:{opacity:"0.75"},children:t.role})]}))})]})}function IH(){return E.jsx("h1",{children:"WebTierPage"})}const $H=new T8;em.createRoot(document.getElementById("root")).render(E.jsx(y5,{children:E.jsx(R8,{client:$H,children:E.jsxs(U4,{theme:$T.baseTheme,children:[E.jsx(Ej,{}),E.jsxs(m5,{children:[E.jsx(Ra,{path:"/",element:E.jsx(PH,{})}),E.jsxs(Ra,{path:"/",element:E.jsx(TD,{}),children:[E.jsx(Ra,{path:"/project/:projectId",element:E.jsx(MH,{})}),E.jsx(Ra,{path:"tier/:tier",element:E.jsx(IH,{})})]})]})]})})}));export{lG as $,GH as A,HH as B,FH as C,NH as D,JH as E,ZH as F,D9 as G,st as H,vo as I,sr as J,YH as K,dy as L,fG as M,XH as N,ps as O,xG as P,gk as Q,dG as R,hk as S,gp as T,tG as U,On as V,fk as W,QH as X,oG as Y,uG as Z,Ee as _,KH as a,cG as a0,mk as a1,sG as a2,mp as a3,X9 as a4,eV as a5,aG as a6,yG as a7,vG as a8,fy as a9,rG as aa,pG as ab,wG as ac,bG as ad,eo as ae,iG as af,N9 as b,cy as c,Hl as d,Gl as e,xb as f,gG as g,ia as h,Ts as i,oc as j,qH as k,eG as l,Nd as m,mG as n,nG as o,Lh as p,dk as q,hG as r,el as s,zH as t,VH as u,UH as v,BH as w,DH as x,jH as y,WH as z}; +}`);const VD=De.forwardRef(function({style:t={},className:n="",autoFill:r=!1,play:i=!0,pauseOnHover:s=!1,pauseOnClick:o=!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]=De.useState(0),[S,P]=De.useState(0),[T,C]=De.useState(1),[M,k]=De.useState(!1),R=De.useRef(null),I=y||R,$=De.useRef(null),D=De.useCallback(()=>{if($.current&&I.current){const K=I.current.getBoundingClientRect(),ne=$.current.getBoundingClientRect();let Ye=K.width,ge=ne.width;(a==="up"||a==="down")&&(Ye=K.height,ge=ne.height),C(r&&Ye&&ge&&ge{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]),De.useEffect(()=>{D()},[D,g]),De.useEffect(()=>{k(!0)},[]),De.useEffect(()=>{typeof x=="function"&&x()},[]);const V=De.useMemo(()=>r?S*T/l:SObject.assign(Object.assign({},t),{"--pause-on-hover":!i||s?"paused":"running","--pause-on-click":!i||s&&!o||o?"paused":"running","--width":a==="up"||a==="down"?"100vh":"100%","--transform":a==="up"?"rotate(-90deg)":a==="down"?"rotate(90deg)":"none"}),[t,i,s,o,a]),q=De.useMemo(()=>({"--gradient-color":f,"--gradient-width":typeof p=="number"?`${p}px`:p}),[f,p]),O=De.useMemo(()=>({"--play":i?"running":"paused","--direction":a==="left"?"normal":"reverse","--duration":`${V}s`,"--delay":`${u}s`,"--iteration-count":c?`${c}`:"infinite","--min-width":r?"auto":"100%"}),[i,a,V,u,c,r]),L=De.useMemo(()=>({"--transform":a==="up"?"rotate(90deg)":a==="down"?"rotate(-90deg)":"none"}),[a]),B=De.useCallback(K=>[...Array(Number.isFinite(K)&&K>=0?K:0)].map((ne,Ye)=>Fr.default.createElement(De.Fragment,{key:Ye},De.Children.map(g,ge=>Fr.default.createElement("div",{style:L,className:"rfm-child"},ge)))),[L,g]);return M?Fr.default.createElement("div",{ref:I,style:N,className:"rfm-marquee-container "+n},d&&Fr.default.createElement("div",{style:q,className:"rfm-overlay"}),Fr.default.createElement("div",{className:"rfm-marquee",style:O,onAnimationIteration:m,onAnimationEnd:h},Fr.default.createElement("div",{className:"rfm-initial-child-container",ref:$},De.Children.map(g,K=>Fr.default.createElement("div",{style:L,className:"rfm-child"},K))),B(T-1)),Fr.default.createElement("div",{className:"rfm-marquee",style:O},B(T))):null});var BD=FT.default=VD;function fw(e){const t=nv(),n=r=>t(`/project/${r._id}`);return e.mobileView?E.jsxs(Rl,{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:[E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",flexGrow:1,overflow:"hidden",width:"100%"},children:[E.jsx(ce,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),E.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),E.jsx(ce,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description})]}),E.jsx(pw,{autoScroll:!0,members:e.project.members})]}):E.jsx(DD,{highlight:!1,onClick:()=>{n(e.project)},style:{minWidth:"800px",height:"60vh",cursor:"pointer"},children:E.jsx(Rl,{sx:{...e==null?void 0:e.sx,borderRadius:"35px",padding:"30px",display:"flex",gap:"15px",color:"#000000",bgcolor:"#ffffff",width:"100%",height:"100%"},children:E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",flexGrow:1},children:[E.jsx(ce,{sx:{fontSize:"1.5rem",fontWeight:700},children:e.project.name}),E.jsx(ce,{sx:{fontSize:"1.3rem",fontWeight:500},children:e.project.organization}),E.jsx(ce,{sx:{marginTop:"10px"},variant:"body1",children:e.project.description}),E.jsx(pw,{members:e.project.members})]})})})}function pw(e){function t(){return E.jsx(E.Fragment,{children:e.members.map((n,r)=>E.jsx(CL,{label:`${n.memberInfo.firstName} ${n.memberInfo.lastName}`,variant:"outlined",sx:{color:"black",margin:"5px"},avatar:n.memberInfo.profileUrl?E.jsx(xd,{src:n.memberInfo.profileUrl}):E.jsx(xd,{...DT(`${n.memberInfo.firstName} ${n.memberInfo.lastName}`)})},r))})}return e.autoScroll?E.jsx(BD,{children:E.jsx(t,{})}):E.jsx(Y,{sx:{marginTop:"10px",display:"flex",flexWrap:"wrap"},children:E.jsx(t,{})})}function hw(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Rv(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]>"u"?e[n]=t[n]:hw(t[n])&&hw(e[n])&&Object.keys(t[n]).length>0&&Rv(e[n],t[n])})}const NT={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 wr(){const e=typeof document<"u"?document:{};return Rv(e,NT),e}const UD={document:NT,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 rn(){const e=typeof window<"u"?window:{};return Rv(e,UD),e}function WD(e){return e===void 0&&(e=""),e.trim().split(" ").filter(t=>!!t.trim())}function HD(e){const t=e;Object.keys(t).forEach(n=>{try{t[n]=null}catch{}try{delete t[n]}catch{}})}function fg(e,t){return t===void 0&&(t=0),setTimeout(e,t)}function Pd(){return Date.now()}function GD(e){const t=rn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function qD(e,t){t===void 0&&(t="x");const n=rn();let r,i,s;const o=GD(e);return n.WebKitCSSMatrix?(i=o.transform||o.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(a=>a.replace(",",".")).join(", ")),s=new n.WebKitCSSMatrix(i==="none"?"":i)):(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=s.toString().split(",")),t==="x"&&(n.WebKitCSSMatrix?i=s.m41:r.length===16?i=parseFloat(r[12]):i=parseFloat(r[4])),t==="y"&&(n.WebKitCSSMatrix?i=s.m42:r.length===16?i=parseFloat(r[13]):i=parseFloat(r[5])),i||0}function tc(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function KD(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Ht(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(s)<0);for(let s=0,o=i.length;ss?"next":"prev",c=(f,p)=>u==="next"&&f>=p||u==="prev"&&f<=p,d=()=>{a=new Date().getTime(),o===null&&(o=a);const f=Math.max(Math.min((a-o)/l,1),0),p=.5-Math.cos(f*Math.PI)/2;let h=s+p*(n-s);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 Av(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function mr(e,t){return t===void 0&&(t=""),[...e.children].filter(n=>n.matches(t))}function Cd(e){try{console.warn(e);return}catch{}}function Td(e,t){t===void 0&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:WD(t)),n}function QD(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 YD(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 li(e,t){return rn().getComputedStyle(e,null).getPropertyValue(t)}function mw(e){let t=e,n;if(t){for(n=0;(t=t.previousSibling)!==null;)t.nodeType===1&&(n+=1);return n}}function XD(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 gw(e,t,n){const r=rn();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 ch;function ZD(){const e=rn(),t=wr();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}function VT(){return ch||(ch=ZD()),ch}let dh;function JD(e){let{userAgent:t}=e===void 0?{}:e;const n=VT(),r=rn(),i=r.navigator.platform,s=t||r.navigator.userAgent,o={ios:!1,android:!1},a=r.screen.width,l=r.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const d=s.match(/(iPod)(.*OS\s([\d_]+))?/),f=!c&&s.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=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),u&&!p&&(o.os="android",o.android=!0),(c||f||d)&&(o.os="ios",o.ios=!0),o}function BT(e){return e===void 0&&(e={}),dh||(dh=JD(e)),dh}let fh;function e6(){const e=rn(),t=BT();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),s=r(),o=s||i&&t.ios;return{isSafari:n||s,needPerspectiveFix:n,need3dFix:o,isWebView:i}}function t6(){return fh||(fh=e6()),fh}function n6(e){let{swiper:t,on:n,emit:r}=e;const i=rn();let s=null,o=null;const a=()=>{!t||t.destroyed||!t.initialized||(r("beforeResize"),r("resize"))},l=()=>{!t||t.destroyed||!t.initialized||(s=new ResizeObserver(d=>{o=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()})}),s.observe(t.el))},u=()=>{o&&i.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=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 r6(e){let{swiper:t,extendParams:n,on:r,emit:i}=e;const s=[],o=rn(),a=function(c,d){d===void 0&&(d={});const f=o.MutationObserver||o.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])};o.requestAnimationFrame?o.requestAnimationFrame(m):o.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}),s.push(p)},l=()=>{if(t.params.observer){if(t.params.observeParents){const c=XD(t.hostEl);for(let d=0;d{s.forEach(c=>{c.disconnect()}),s.splice(0,s.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(s=>{r.eventsListeners[s]||(r.eventsListeners[s]=[]),r.eventsListeners[s][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 s=arguments.length,o=new Array(s),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,s)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[r].splice(s,1)})}),n},emit(){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsListeners)return e;let t,n,r;for(var i=arguments.length,s=new Array(i),o=0;o{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 s6(){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(li(r,"padding-left")||0,10)-parseInt(li(r,"padding-right")||0,10),n=n-parseInt(li(r,"padding-top")||0,10)-parseInt(li(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 o6(){const e=this;function t(k,R){return parseFloat(k.getPropertyValue(e.getDirectionLabel(R))||0)}const n=e.params,{wrapperEl:r,slidesEl:i,size:s,rtlTranslate:o,wrongRTL:a}=e,l=e.virtual&&n.virtual.enabled,u=l?e.virtual.slides.length:e.slides.length,c=mr(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,P=0;if(typeof s>"u")return;typeof v=="string"&&v.indexOf("%")>=0?v=parseFloat(v.replace("%",""))/100*s:typeof v=="string"&&(v=parseFloat(v)),e.virtualSize=-v,c.forEach(k=>{o?k.style.marginLeft="":k.style.marginRight="",k.style.marginBottom="",k.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(nc(r,"--swiper-centered-offset-before",""),nc(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 C;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-s)}if(l&&n.loop){const k=h[0]+v;if(n.slidesPerGroup>1){const R=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(R=>{R.style[k]=`${v}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let k=0;h.forEach(I=>{k+=I+(v||0)}),k-=v;const R=k-s;f=f.map(I=>I<=0?-m:I>R?R+x:I)}if(n.centerInsufficientSlides){let k=0;if(h.forEach(R=>{k+=R+(v||0)}),k-=v,k{f[$]=I-R}),p.forEach((I,$)=>{p[$]=I+R})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){nc(r,"--swiper-centered-offset-before",`${-f[0]}px`),nc(r,"--swiper-centered-offset-after",`${e.size/2-h[h.length-1]/2}px`);const k=-e.snapGrid[0],R=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(I=>I+k),e.slidesGrid=e.slidesGrid.map(I=>I+R)}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`,R=e.el.classList.contains(k);d<=n.maxBackfaceHiddenSlides?R||e.el.classList.add(k):R&&e.el.classList.remove(k)}}function a6(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i=0,s;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const o=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(s=0;st.slides.length&&!r)break;n.push(o(a))}else n.push(o(t.activeIndex));for(s=0;si?a:i}(i||i===0)&&(t.wrapperEl.style.height=`${i}px`)}function l6(){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 o=-e;i&&(o=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 c6(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:s,isEnd:o,progressLoop:a}=t;const l=s,u=o;if(r===0)i=0,s=!0,o=!0;else{i=(e-t.minTranslate())/r;const c=Math.abs(e-t.minTranslate())<1,d=Math.abs(e-t.maxTranslate())<1;s=c||i<=0,o=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:s,isEnd:o}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!u&&t.emit("reachEnd toEdge"),(l&&!s||u&&!o)&&t.emit("fromEdge"),t.emit("progress",i)}const ph=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};function d6(){const e=this,{slides:t,params:n,slidesEl:r,activeIndex:i}=e,s=e.virtual&&n.virtual.enabled,o=e.grid&&n.grid&&n.grid.rows>1,a=d=>mr(r,`.${n.slideClass}${d}, swiper-slide${d}`)[0];let l,u,c;if(s)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 o?(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&&(o||(c=YD(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!c&&(c=t[0]),u=QD(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=t[t.length-1]))),t.forEach(d=>{ph(d,d===l,n.slideActiveClass),ph(d,d===c,n.slideNextClass),ph(d,d===u,n.slidePrevClass)}),e.emitSlidesClasses()}const Mc=(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()}},hh=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},pg=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 o=i,a=[o-t];a.push(...Array.from({length:t}).map((l,u)=>o+r+u)),e.slides.forEach((l,u)=>{a.includes(l.column)&&hh(e,u)});return}const s=i+r-1;if(e.params.rewind||e.params.loop)for(let o=i-t;o<=s+t;o+=1){const a=(o%n+n)%n;(as)&&hh(e,a)}else for(let o=Math.max(i-t,0);o<=Math.min(s+t,n-1);o+=1)o!==i&&(o>s||o=t[s]&&r=t[s]&&r=t[s]&&(i=s);return n.normalizeSlideIndex&&(i<0||typeof i>"u")&&(i=0),i}function p6(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:r,params:i,activeIndex:s,realIndex:o,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=f6(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===s&&!t.params.loop){u!==a&&(t.snapIndex=u,t.emit("snapIndexChange"));return}if(l===s&&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:o,realIndex:f,previousIndex:s,activeIndex:l}),t.initialized&&pg(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(o!==f&&t.emit("realIndexChange"),t.emit("slideChange"))}function h6(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 s=!1,o;if(i){for(let a=0;al?c=l:r&&eo?a="next":s"u"&&(t=s.params.speed);const m=Math.min(s.params.slidesPerGroupSkip,o);let x=m+Math.floor((o-m)/s.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&&(o=v)}if(s.initialized&&o!==d&&(!s.allowSlideNext&&(f?g>s.translate&&g>s.minTranslate():gs.translate&&g>s.maxTranslate()&&(d||0)!==o))return!1;o!==(c||0)&&n&&s.emit("beforeSlideChangeStart"),s.updateProgress(g);let y;if(o>d?y="next":o0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[v?"scrollLeft":"scrollTop"]=w})):p[v?"scrollLeft":"scrollTop"]=w,S&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1})}else{if(!s.support.smoothScroll)return zT({swiper:s,targetPosition:w,side:v?"left":"top"}),!0;p.scrollTo({[v?"left":"top"]:w,behavior:"smooth"})}return!0}return s.setTransition(t),s.setTranslate(g),s.updateActiveIndex(o),s.updateSlidesClasses(),s.emit("beforeTransitionStart",t,r),s.transitionStart(n,y),t===0?s.transitionEnd(n,y):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(w){!s||s.destroyed||w.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(n,y))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function k6(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 s=i.grid&&i.params.grid&&i.params.grid.rows>1;let o=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)o=o+i.virtual.slidesBefore;else{let a;if(s){const f=o*i.params.grid.rows;a=i.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===f)[0].column}else a=i.getSlideIndexByData(o);const l=s?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 o=i.getSlideIndexByData(o)}return requestAnimationFrame(()=>{i.slideTo(o,t,n,r)}),i}function M6(e,t,n){t===void 0&&(t=!0);const r=this,{enabled:i,params:s,animating:o}=r;if(!i||r.destroyed)return r;typeof e>"u"&&(e=r.params.speed);let a=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)}function _6(e,t,n){t===void 0&&(t=!0);const r=this,{params:i,snapGrid:s,slidesGrid:o,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=s.map(g=>f(g));let m=s[h.indexOf(p)-1];if(typeof m>"u"&&i.cssMode){let g;s.forEach((y,v)=>{p>=y&&(g=v)}),typeof g<"u"&&(m=s[g>0?g-1:g])}let x=0;if(typeof m<"u"&&(x=o.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 O6(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 R6(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 s=i.activeIndex;const o=Math.min(i.params.slidesPerGroupSkip,s),a=o+Math.floor((s-o)/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&&(s+=i.params.slidesPerGroup)}else{const u=i.snapGrid[a-1],c=i.snapGrid[a];l-u<=(c-u)*r&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,e,t,n)}function A6(){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,s;const o=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;s=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?ie.slides.length-e.loopedSlides+r/2?(e.loopFix(),i=e.getSlideIndex(mr(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),fg(()=>{e.slideTo(i)})):e.slideTo(i):i>e.slides.length-r?(e.loopFix(),i=e.getSlideIndex(mr(n,`${o}[data-swiper-slide-index="${s}"]`)[0]),fg(()=>{e.slideTo(i)})):e.slideTo(i)}else e.slideTo(i)}var I6={slideTo:T6,slideToLoop:k6,slideNext:M6,slidePrev:_6,slideReset:O6,slideToClosest:R6,slideToClickedSlide:A6};function $6(e){const t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{mr(r,`.${n.slideClass}, swiper-slide`).forEach((d,f)=>{d.setAttribute("data-swiper-slide-index",f)})},s=t.grid&&n.grid&&n.grid.rows>1,o=n.slidesPerGroup*(s?n.grid.rows:1),a=t.slides.length%o!==0,l=s&&t.slides.length%n.grid.rows!==0,u=c=>{for(let d=0;d1;u.length"u"?s=l.getSlideIndex(u.filter($=>$.classList.contains(p.slideActiveClass))[0]):S=s;const P=r==="next"||!r,T=r==="prev"||!r;let C=0,M=0;const k=y?Math.ceil(u.length/p.grid.rows):u.length,I=(y?u[s].column:s)+(h&&typeof i>"u"?-m/2+.5:0);if(I=0;N-=1)u[N].column===V&&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;${V.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}),P&&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&&P)&&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],V=l.slidesGrid[S+C]-$;a?l.setTranslate(l.translate-V):(l.slideTo(S+Math.ceil(C),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-V,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-V))}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&&P)if(typeof t>"u"){const $=l.slidesGrid[S],V=l.slidesGrid[S-M]-$;a?l.setTranslate(l.translate-V):(l.slideTo(S-M,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-V,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-V))}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&&!o){const $={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,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 j6(){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 s=typeof i.swiperSlideIndex>"u"?i.getAttribute("data-swiper-slide-index")*1:i.swiperSlideIndex;r[s]=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 D6={loopCreate:$6,loopFix:L6,loopDestroy:j6};function F6(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 N6(){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 z6={setGrabCursor:F6,unsetGrabCursor:N6};function V6(e,t){t===void 0&&(t=this);function n(r){if(!r||r===wr()||r===rn())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 vw(e,t,n){const r=rn(),{params:i}=e,s=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return s&&(n<=o||n>=r.innerWidth-o)?s==="prevent"?(t.preventDefault(),!0):!1:!0}function B6(e){const t=this,n=wr();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"){vw(t,r,r.targetTouches[0].pageX);return}const{params:s,touches:o,enabled:a}=t;if(!a||!s.simulateTouch&&r.pointerType==="mouse"||t.animating&&s.preventInteractionOnTransition)return;!t.animating&&s.cssMode&&s.loop&&t.loopFix();let l=r.target;if(s.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=!!s.noSwipingClass&&s.noSwipingClass!=="",c=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&c&&(l=c[0]);const d=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,f=!!(r.target&&r.target.shadowRoot);if(s.noSwiping&&(f?V6(d,l):l.closest(d))){t.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;o.currentX=r.pageX,o.currentY=r.pageY;const p=o.currentX,h=o.currentY;if(!vw(t,r,p))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=p,o.startY=h,i.touchStartTime=Pd(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.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&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||x)&&!l.isContentEditable&&r.preventDefault(),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.animating&&!s.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",r)}function U6(e){const t=wr(),n=this,r=n.touchEventsData,{params:i,touches:s,rtlTranslate:o,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(P=>P.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){s.startX=c,s.startY=d;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(s,{startX:c,startY:d,currentX:c,currentY:d}),r.touchStartTime=Pd());return}if(i.touchReleaseOnEdges&&!i.loop){if(n.isVertical()){if(ds.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else if(cs.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),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=d;const f=s.currentX-s.startX,p=s.currentY-s.startY;if(n.params.threshold&&Math.sqrt(f**2+p**2)"u"){let P;n.isHorizontal()&&s.currentY===s.startY||n.isVertical()&&s.currentX===s.startX?r.isScrolling=!1:f*f+p*p>=25&&(P=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,r.isScrolling=n.isHorizontal()?P>i.touchAngle:90-P>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.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()?s.currentX-s.previousX:s.currentY-s.previousY;i.oneWayMovement&&(h=Math.abs(h)*(o?1:-1),m=Math.abs(m)*(o?1:-1)),s.diff=h,h*=i.touchRatio,o&&(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 P=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});n.wrapperEl.dispatchEvent(P)}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(s,{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,s.startX=s.currentX,s.startY=s.currentY,r.currentTranslate=r.startTranslate,s.diff=n.isHorizontal()?s.currentX-s.startX:s.currentY-s.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 W6(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:o,touches:a,rtlTranslate:l,slidesGrid:u,enabled:c}=t;if(!c||!o.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&o.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}o.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const d=Pd(),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=Pd(),fg(()=>{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(o.followFinger?p=l?t.translate:-t.translate:p=-n.currentTranslate,o.cssMode)return;if(o.freeMode&&o.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;o.rewind&&(t.isBeginning?y=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const v=(p-u[m])/x,w=mo.longSwipesMs){if(!o.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(v>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?g:m+w):t.slideTo(m)),t.swipeDirection==="prev"&&(v>1-o.longSwipesRatio?t.slideTo(m+w):y!==null&&v<0&&Math.abs(v)>o.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!o.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 yw(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=o&&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&&!o?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&&s!==e.snapGrid&&e.checkOverflow()}function H6(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function G6(){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 s=e.maxTranslate()-e.minTranslate();s===0?i=0:i=(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function q6(e){const t=this;Mc(t,e.target),!(t.params.cssMode||t.params.slidesPerView!=="auto"&&!t.params.autoHeight)&&t.update()}function K6(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const WT=(e,t)=>{const n=wr(),{params:r,el:i,wrapperEl:s,device:o}=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&&s[l]("scroll",e.onScroll),r.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",yw,!0):e[u]("observerUpdate",yw,!0),i[l]("load",e.onLoad,{capture:!0})};function Q6(){const e=this,{params:t}=e;e.onTouchStart=B6.bind(e),e.onTouchMove=U6.bind(e),e.onTouchEnd=W6.bind(e),e.onDocumentTouchStart=K6.bind(e),t.cssMode&&(e.onScroll=G6.bind(e)),e.onClick=H6.bind(e),e.onLoad=q6.bind(e),WT(e,"on")}function Y6(){WT(this,"off")}var X6={attachEvents:Q6,detachEvents:Y6};const xw=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function Z6(){const e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const o=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in s?s[o]:void 0)||e.originalParams,u=xw(e,r),c=xw(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(),Ht(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=o,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 J6(e,t,n){if(t===void 0&&(t="window"),!e||t==="container"&&!n)return;let r=!1;const i=rn(),s=t==="window"?i.innerHeight:n.clientHeight,o=Object.keys(e).map(a=>{if(typeof a=="string"&&a.indexOf("@")===0){const l=parseFloat(a.substr(1));return{value:s*l,point:a}}return{value:a,point:a}});o.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 nF(){const e=this,{classNames:t,params:n,rtl:r,el:i,device:s}=e,o=tF(["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:s.android},{ios:s.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...o),i.classList.add(...t),e.emitContainerClasses()}function rF(){const e=this,{el:t,classNames:n}=e;t.classList.remove(...n),e.emitContainerClasses()}var iF={addClasses:nF,removeClasses:rF};function sF(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const i=e.slides.length-1,s=e.slidesGrid[i]+e.slidesSizesGrid[i]+r*2;e.isLocked=e.size>s}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 oF={checkOverflow:sF},hg={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 aF(e,t){return function(r){r===void 0&&(r={});const i=Object.keys(r)[0],s=r[i];if(typeof s!="object"||s===null){Ht(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 s)){Ht(t,r);return}typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),Ht(t,r)}}const mh={eventsEmitter:i6,update:m6,translate:b6,transition:C6,slide:I6,loop:D6,grabCursor:z6,events:X6,breakpoints:eF,checkOverflow:oF,classes:iF},gh={};let Iv=class lr{constructor(){let t,n;for(var r=arguments.length,i=new Array(r),s=0;s1){const c=[];return o.querySelectorAll(n.el).forEach(d=>{const f=Ht({},n,{el:d});c.push(new lr(f))}),c}const a=this;a.__swiper__=!0,a.support=VT(),a.device=BT({userAgent:n.userAgent}),a.browser=t6(),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:aF(n,l),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const u=Ht({},hg,l);return a.params=Ht({},u,gh,n),a.originalParams=Ht({},a.params),a.passedParams=Ht({},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=mr(n,`.${r.slideClass}, swiper-slide`),s=mw(i[0]);return mw(t)-s}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=mr(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(),o=(r.maxTranslate()-i)*t+i;r.translateTo(o,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:s,slidesGrid:o,slidesSizesGrid:a,size:l,activeIndex:u}=r;let c=1;if(typeof i.slidesPerView=="number")return i.slidesPerView;if(i.centeredSlides){let d=s[u]?Math.ceil(s[u].swiperSlideSize):0,f;for(let p=u+1;pl&&(f=!0));for(let p=u-1;p>=0;p-=1)s[p]&&!f&&(d+=s[p].swiperSlideSize,c+=1,d>l&&(f=!0))}else if(t==="current")for(let d=u+1;d=0;d-=1)o[u]-o[d]{o.complete&&Mc(t,o)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses();function i(){const o=t.rtlTranslate?t.translate*-1:t.translate,a=Math.min(Math.max(o,t.maxTranslate()),t.minTranslate());t.setTranslate(a),t.updateActiveIndex(),t.updateSlidesClasses()}let s;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 o=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;s=t.slideTo(o.length-1,0,!1,!0)}else s=t.slideTo(t.activeIndex,0,!1,!0);s||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(s=>{t==="vertical"?s.style.width="":s.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 o=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(i()):mr(r,i())[0];return!o&&n.params.createElements&&(o=Td("div",n.params.wrapperClass),r.append(o),mr(r,`.${n.params.slideClass}`).forEach(a=>{o.append(a)})),Object.assign(n,{el:r,wrapperEl:o,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:o,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||li(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||li(r,"direction")==="rtl"),wrongRTL:li(o,"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(s=>{s.complete?Mc(n,s):s.addEventListener("load",o=>{Mc(n,o.target)})}),pg(n),n.initialized=!0,pg(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:s,wrapperEl:o,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(),s.removeAttribute("style"),o.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,HD(r)),r.destroyed=!0),null}static extendDefaults(t){Ht(gh,t)}static get extendedDefaults(){return gh}static get defaults(){return hg}static installModule(t){lr.prototype.__modules__||(lr.prototype.__modules__=[]);const n=lr.prototype.__modules__;typeof t=="function"&&n.indexOf(t)<0&&n.push(t)}static use(t){return Array.isArray(t)?(t.forEach(n=>lr.installModule(n)),lr):(lr.installModule(t),lr)}};Object.keys(mh).forEach(e=>{Object.keys(mh[e]).forEach(t=>{Iv.prototype[t]=mh[e][t]})});Iv.use([n6,r6]);const HT=["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 bs(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function mo(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]:bs(t[r])&&bs(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:mo(e[r],t[r]):e[r]=t[r]})}function GT(e){return e===void 0&&(e={}),e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function qT(e){return e===void 0&&(e={}),e.pagination&&typeof e.pagination.el>"u"}function KT(e){return e===void 0&&(e={}),e.scrollbar&&typeof e.scrollbar.el>"u"}function QT(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 lF(e){return e===void 0&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function uF(e){let{swiper:t,slides:n,passedParams:r,changedParams:i,nextEl:s,prevEl:o,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,P,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||o)&&(r.navigation.nextEl||s)&&(c.navigation||c.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(w=!0);const C=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?P=!0:T=!0),u.forEach(M=>{if(bs(c[M])&&bs(r[M]))Object.assign(c[M],r[M]),(M==="navigation"||M==="pagination"||M==="scrollbar")&&"enabled"in r[M]&&!r[M].enabled&&C(M);else{const k=r[M];(k===!0||k===!1)&&(M==="navigation"||M==="pagination"||M==="scrollbar")?k===!1&&C(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&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=t.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),t.el.appendChild(s)),(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-prev"),o.innerHTML=t.hostEl.constructor.prevButtonSvg,o.part.add("button-prev"),t.el.appendChild(o))),s&&(c.navigation.nextEl=s),o&&(c.navigation.prevEl=o),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(),(P||T)&&t.loopCreate(),t.update()}function cF(e,t){e===void 0&&(e={}),t===void 0&&(t=!0);const n={on:{}},r={},i={};mo(n,hg),n._emitClasses=!0,n.init=!1;const s={},o=HT.map(l=>l.replace(/_/,"")),a=Object.assign({},e);return Object.keys(a).forEach(l=>{typeof e[l]>"u"||(o.indexOf(l)>=0?bs(e[l])?(n[l]={},i[l]={},mo(n[l],e[l]),mo(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]:s[l]=e[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:i,rest:s,events:r}}function dF(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:s,scrollbarEl:o,swiper:a}=e;GT(t)&&r&&i&&(a.params.navigation.nextEl=r,a.originalParams.navigation.nextEl=r,a.params.navigation.prevEl=i,a.originalParams.navigation.prevEl=i),qT(t)&&s&&(a.params.pagination.el=s,a.originalParams.pagination.el=s),KT(t)&&o&&(a.params.scrollbar.el=o,a.originalParams.scrollbar.el=o),a.init(n)}function fF(e,t,n,r,i){const s=[];if(!t)return s;const o=l=>{s.indexOf(l)<0&&s.push(l)};if(n&&r){const l=r.map(i),u=n.map(i);l.join("")!==u.join("")&&o("children"),r.length!==n.length&&o("children")}return HT.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in e&&l in t)if(bs(e[l])&&bs(t[l])){const u=Object.keys(e[l]),c=Object.keys(t[l]);u.length!==c.length?o(l):(u.forEach(d=>{e[l][d]!==t[l][d]&&o(l)}),c.forEach(d=>{e[l][d]!==t[l][d]&&o(l)}))}else e[l]!==t[l]&&o(l)}),s}const pF=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 kd(){return kd=Object.assign?Object.assign.bind():function(e){for(var t=1;t{YT(n)?t.push(n):n.props&&n.props.children&&XT(n.props.children).forEach(r=>t.push(r))}),t}function hF(e){const t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return W.Children.toArray(e).forEach(r=>{if(YT(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=XT(r.props.children);i.length>0?i.forEach(s=>t.push(s)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:t,slots:n}}function mF(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:s,to:o}=n,a=e.params.loop?-t.length:0,l=e.params.loop?t.length*2:t.length,u=[];for(let c=a;c=s&&c<=o&&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 Ka(e,t){return typeof window>"u"?b.useEffect(e,t):b.useLayoutEffect(e,t)}const ww=b.createContext(null),gF=b.createContext(null),ZT=b.forwardRef(function(e,t){let{className:n,tag:r="div",wrapperTag:i="div",children:s,onSwiper:o,...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),P=b.useRef(null),T=b.useRef(null),{params:C,passedParams:M,rest:k,events:R}=cF(a),{slides:I,slots:$}=hF(s),D=()=>{h(!p)};Object.assign(C.on,{_containerClasses(L,B){c(B)}});const V=()=>{Object.assign(C.on,R),l=!0;const L={...C};if(delete L.wrapperClass,g.current=new Iv(L),g.current.virtual&&g.current.params.virtual.enabled){g.current.virtual.slides=I;const B={cache:!1,slides:I,renderExternal:f,renderExternalUpdate:!1};mo(g.current.params.virtual,B),mo(g.current.originalParams.virtual,B)}};x.current||V(),g.current&&g.current.on("_beforeBreakpoint",D);const N=()=>{l||!R||!g.current||Object.keys(R).forEach(L=>{g.current.on(L,R[L])})},q=()=>{!R||!g.current||Object.keys(R).forEach(L=>{g.current.off(L,R[L])})};b.useEffect(()=>()=>{g.current&&g.current.off("_beforeBreakpoint",D)}),b.useEffect(()=>{!m.current&&g.current&&(g.current.emitSlidesClasses(),m.current=!0)}),Ka(()=>{if(t&&(t.current=x.current),!!x.current)return g.current.destroyed&&V(),dF({el:x.current,nextEl:w.current,prevEl:S.current,paginationEl:P.current,scrollbarEl:T.current,swiper:g.current},C),o&&!g.current.destroyed&&o(g.current),()=>{g.current&&!g.current.destroyed&&g.current.destroy(!0,!1)}},[]),Ka(()=>{N();const L=fF(M,y.current,I,v.current,B=>B.key);return y.current=M,v.current=I,L.length&&g.current&&!g.current.destroyed&&uF({swiper:g.current,slides:I,passedParams:M,changedParams:L,nextEl:w.current,prevEl:S.current,scrollbarEl:T.current,paginationEl:P.current}),()=>{q()}}),Ka(()=>{pF(g.current)},[d]);function O(){return C.virtual?mF(g.current,I,d):I.map((L,B)=>W.cloneElement(L,{swiper:g.current,swiperSlideIndex:B}))}return W.createElement(r,kd({ref:x,className:QT(`${u}${n?` ${n}`:""}`)},k),W.createElement(gF.Provider,{value:g.current},$["container-start"],W.createElement(i,{className:lF(C.wrapperClass)},$["wrapper-start"],O(),$["wrapper-end"]),GT(C)&&W.createElement(W.Fragment,null,W.createElement("div",{ref:S,className:"swiper-button-prev"}),W.createElement("div",{ref:w,className:"swiper-button-next"})),KT(C)&&W.createElement("div",{ref:T,className:"swiper-scrollbar"}),qT(C)&&W.createElement("div",{ref:P,className:"swiper-pagination"}),$["container-end"]))});ZT.displayName="Swiper";const JT=b.forwardRef(function(e,t){let{tag:n="div",children:r,className:i="",swiper:s,zoom:o,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,P){S===d.current&&p(P)}Ka(()=>{if(typeof u<"u"&&(d.current.swiperSlideIndex=u),t&&(t.current=d.current),!(!d.current||!s)){if(s.destroyed){f!=="swiper-slide"&&p("swiper-slide");return}return s.on("_slideClass",x),()=>{s&&s.off("_slideClass",x)}}}),Ka(()=>{s&&d.current&&!s.destroyed&&p(s.getSlideClasses(d.current))},[s]);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,kd({ref:d,className:QT(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":l,onLoad:v},c),o&&W.createElement(ww.Provider,{value:g},W.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof o=="number"?o:void 0},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"}))),!o&&W.createElement(ww.Provider,{value:g},y(),a&&!h&&W.createElement("div",{className:"swiper-lazy-preloader"})))});JT.displayName="SwiperSlide";function vF(e){let{swiper:t,extendParams:n,on:r,emit:i,params:s}=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 o,a,l=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,d=new Date().getTime(),f,p,h,m,x,g,y;function v(O){!t||t.destroyed||!t.wrapperEl||O.target===t.wrapperEl&&(t.wrapperEl.removeEventListener("transitionend",v),!y&&k())}const w=()=>{if(t.destroyed||!t.autoplay.running)return;t.autoplay.paused?f=!0:f&&(u=c,f=!1);const O=t.autoplay.paused?c:d+u-new Date().getTime();t.autoplay.timeLeft=O,i("autoplayTimeLeft",O,O/l),a=requestAnimationFrame(()=>{w()})},S=()=>{let O;return t.virtual&&t.params.virtual.enabled?O=t.slides.filter(B=>B.classList.contains("swiper-slide-active"))[0]:O=t.slides[t.activeIndex],O?parseInt(O.getAttribute("data-swiper-autoplay"),10):void 0},P=O=>{if(t.destroyed||!t.autoplay.running)return;cancelAnimationFrame(a),w();let L=typeof O>"u"?t.params.autoplay.delay:O;l=t.params.autoplay.delay,u=t.params.autoplay.delay;const B=S();!Number.isNaN(B)&&B>0&&typeof O>"u"&&(L=B,l=B,u=B),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(()=>{P()})))};return L>0?(clearTimeout(o),o=setTimeout(()=>{ne()},L)):requestAnimationFrame(()=>{ne()}),L},T=()=>{d=new Date().getTime(),t.autoplay.running=!0,P(),i("autoplayStart")},C=()=>{t.autoplay.running=!1,clearTimeout(o),cancelAnimationFrame(a),i("autoplayStop")},M=(O,L)=>{if(t.destroyed||!t.autoplay.running)return;clearTimeout(o),O||(g=!0);const B=()=>{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,B();return}c=(c||t.params.autoplay.delay)-(new Date().getTime()-d),!(t.isEnd&&c<0&&!t.params.loop)&&(c<0&&(c=0),B())},k=()=>{t.isEnd&&c<0&&!t.params.loop||t.destroyed||!t.autoplay.running||(d=new Date().getTime(),g?(g=!1,P(c)):P(),t.autoplay.paused=!1,i("autoplayResume"))},R=()=>{if(t.destroyed||!t.autoplay.running)return;const O=wr();O.visibilityState==="hidden"&&(g=!0,M(!0)),O.visibilityState==="visible"&&k()},I=O=>{O.pointerType==="mouse"&&(g=!0,y=!0,!(t.animating||t.autoplay.paused)&&M(!0))},$=O=>{O.pointerType==="mouse"&&(y=!1,t.autoplay.paused&&k())},D=()=>{t.params.autoplay.pauseOnMouseEnter&&(t.el.addEventListener("pointerenter",I),t.el.addEventListener("pointerleave",$))},V=()=>{t.el.removeEventListener("pointerenter",I),t.el.removeEventListener("pointerleave",$)},N=()=>{wr().addEventListener("visibilitychange",R)},q=()=>{wr().removeEventListener("visibilitychange",R)};r("init",()=>{t.params.autoplay.enabled&&(D(),N(),T())}),r("destroy",()=>{V(),q(),t.autoplay.running&&C()}),r("_freeModeStaticRelease",()=>{(h||g)&&k()}),r("_freeModeNoMomentumRelease",()=>{t.params.autoplay.disableOnInteraction?C():M(!0,!0)}),r("beforeTransitionStart",(O,L,B)=>{t.destroyed||!t.autoplay.running||(B||!t.params.autoplay.disableOnInteraction?M(!0,!0):C())}),r("sliderFirstMove",()=>{if(!(t.destroyed||!t.autoplay.running)){if(t.params.autoplay.disableOnInteraction){C();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(o),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:C,pause:M,resume:k})}function yF(e){const{effect:t,swiper:n,on:r,setTranslate:i,setTransition:s,overwriteParams:o,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=o?o():{};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&&s(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 xF(e,t){const n=Av(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function bw(e,t,n){const r=`swiper-slide-shadow${n?`-${n}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=Av(t);let s=i.querySelector(`.${r.split(" ").join(".")}`);return s||(s=Td("div",r.split(" ")),i.append(s)),s}function wF(e){let{swiper:t,extendParams:n,on:r}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),yF({effect:"coverflow",swiper:t,on:r,setTranslate:()=>{const{width:o,height:a,slides:l,slidesSizesGrid:u}=t,c=t.params.coverflowEffect,d=t.isHorizontal(),f=t.translate,p=d?-f+o/2:-f+a/2,h=d?c.rotate:-c.rotate,m=c.depth;for(let x=0,g=l.length;x0?P:0),q&&(q.style.opacity=-P>0?-P:0)}}},setTransition:o=>{t.slides.map(l=>Av(l)).forEach(l=>{l.style.transitionDuration=`${o}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${o}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function e2(e,t){return function(){return e.apply(t,arguments)}}const{toString:bF}=Object.prototype,{getPrototypeOf:$v}=Object,Yf=(e=>t=>{const n=bF.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),or=e=>(e=e.toLowerCase(),t=>Yf(t)===e),Xf=e=>t=>typeof t===e,{isArray:ra}=Array,Il=Xf("undefined");function SF(e){return e!==null&&!Il(e)&&e.constructor!==null&&!Il(e.constructor)&&bn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const t2=or("ArrayBuffer");function EF(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&t2(e.buffer),t}const PF=Xf("string"),bn=Xf("function"),n2=Xf("number"),Zf=e=>e!==null&&typeof e=="object",CF=e=>e===!0||e===!1,_c=e=>{if(Yf(e)!=="object")return!1;const t=$v(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},TF=or("Date"),kF=or("File"),MF=or("Blob"),_F=or("FileList"),OF=e=>Zf(e)&&bn(e.pipe),RF=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||bn(e.append)&&((t=Yf(e))==="formdata"||t==="object"&&bn(e.toString)&&e.toString()==="[object FormData]"))},AF=or("URLSearchParams"),IF=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xu(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),ra(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const i2=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,s2=e=>!Il(e)&&e!==i2;function mg(){const{caseless:e}=s2(this)&&this||{},t={},n=(r,i)=>{const s=e&&r2(t,i)||i;_c(t[s])&&_c(r)?t[s]=mg(t[s],r):_c(r)?t[s]=mg({},r):ra(r)?t[s]=r.slice():t[s]=r};for(let r=0,i=arguments.length;r(xu(t,(i,s)=>{n&&bn(i)?e[s]=e2(i,n):e[s]=i},{allOwnKeys:r}),e),LF=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jF=(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)},DF=(e,t,n,r)=>{let i,s,o;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)o=i[s],(!r||r(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&$v(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},FF=(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},NF=e=>{if(!e)return null;if(ra(e))return e;let t=e.length;if(!n2(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},zF=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$v(Uint8Array)),VF=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},BF=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},UF=or("HTMLFormElement"),WF=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Sw=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),HF=or("RegExp"),o2=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};xu(n,(i,s)=>{let o;(o=t(i,s,e))!==!1&&(r[s]=o||i)}),Object.defineProperties(e,r)},GF=e=>{o2(e,(t,n)=>{if(bn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(bn(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+"'")})}})},qF=(e,t)=>{const n={},r=i=>{i.forEach(s=>{n[s]=!0})};return ra(e)?r(e):r(String(e).split(t)),n},KF=()=>{},QF=(e,t)=>(e=+e,Number.isFinite(e)?e:t),vh="abcdefghijklmnopqrstuvwxyz",Ew="0123456789",a2={DIGIT:Ew,ALPHA:vh,ALPHA_DIGIT:vh+vh.toUpperCase()+Ew},YF=(e=16,t=a2.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function XF(e){return!!(e&&bn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ZF=e=>{const t=new Array(10),n=(r,i)=>{if(Zf(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const s=ra(r)?[]:{};return xu(r,(o,a)=>{const l=n(o,i+1);!Il(l)&&(s[a]=l)}),t[i]=void 0,s}}return r};return n(e,0)},JF=or("AsyncFunction"),eN=e=>e&&(Zf(e)||bn(e))&&bn(e.then)&&bn(e.catch),j={isArray:ra,isArrayBuffer:t2,isBuffer:SF,isFormData:RF,isArrayBufferView:EF,isString:PF,isNumber:n2,isBoolean:CF,isObject:Zf,isPlainObject:_c,isUndefined:Il,isDate:TF,isFile:kF,isBlob:MF,isRegExp:HF,isFunction:bn,isStream:OF,isURLSearchParams:AF,isTypedArray:zF,isFileList:_F,forEach:xu,merge:mg,extend:$F,trim:IF,stripBOM:LF,inherits:jF,toFlatObject:DF,kindOf:Yf,kindOfTest:or,endsWith:FF,toArray:NF,forEachEntry:VF,matchAll:BF,isHTMLForm:UF,hasOwnProperty:Sw,hasOwnProp:Sw,reduceDescriptors:o2,freezeMethods:GF,toObjectSet:qF,toCamelCase:WF,noop:KF,toFiniteNumber:QF,findKey:r2,global:i2,isContextDefined:s2,ALPHABET:a2,generateString:YF,isSpecCompliantForm:XF,toJSONObject:ZF,isAsyncFn:JF,isThenable:eN};function de(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(de,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const l2=de.prototype,u2={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{u2[e]={value:e}});Object.defineProperties(de,u2);Object.defineProperty(l2,"isAxiosError",{value:!0});de.from=(e,t,n,r,i,s)=>{const o=Object.create(l2);return j.toFlatObject(e,o,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),de.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,s&&Object.assign(o,s),o};const tN=null;function gg(e){return j.isPlainObject(e)||j.isArray(e)}function c2(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function Pw(e,t,n){return e?e.concat(t).map(function(i,s){return i=c2(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function nN(e){return j.isArray(e)&&!e.some(gg)}const rN=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function Jf(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,s=n.dots,o=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 de("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)&&nN(h)||(j.isFileList(h)||j.endsWith(m,"[]"))&&(g=j.toArray(h)))return m=c2(m),g.forEach(function(v,w){!(j.isUndefined(v)||v===null)&&t.append(o===!0?Pw([m],w,s):o===null?m:m+"[]",u(v))}),!1}return gg(h)?!0:(t.append(Pw(x,m,s),u(h)),!1)}const d=[],f=Object.assign(rN,{defaultVisitor:c,convertValue:u,isVisitable:gg});function p(h,m){if(!j.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(h),j.forEach(h,function(g,y){(!(j.isUndefined(g)||g===null)&&i.call(t,g,j.isString(y)?y.trim():y,m,f))===!0&&p(g,m?m.concat(y):[y])}),d.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Cw(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Lv(e,t){this._pairs=[],e&&Jf(e,this,t)}const d2=Lv.prototype;d2.append=function(t,n){this._pairs.push([t,n])};d2.toString=function(t){const n=t?function(r){return t.call(this,r,Cw)}:Cw;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function iN(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function f2(e,t,n){if(!t)return e;const r=n&&n.encode||iN,i=n&&n.serialize;let s;if(i?s=i(t,n):s=j.isURLSearchParams(t)?t.toString():new Lv(t,n).toString(r),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Tw{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const p2={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},sN=typeof URLSearchParams<"u"?URLSearchParams:Lv,oN=typeof FormData<"u"?FormData:null,aN=typeof Blob<"u"?Blob:null,lN={isBrowser:!0,classes:{URLSearchParams:sN,FormData:oN,Blob:aN},protocols:["http","https","file","blob","url","data"]},h2=typeof window<"u"&&typeof document<"u",uN=(e=>h2&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),cN=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",dN=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:h2,hasStandardBrowserEnv:uN,hasStandardBrowserWebWorkerEnv:cN},Symbol.toStringTag,{value:"Module"})),Zn={...dN,...lN};function fN(e,t){return Jf(e,new Zn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,s){return Zn.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function pN(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function hN(e){const t={},n=Object.keys(e);let r;const i=n.length;let s;for(r=0;r=n.length;return o=!o&&j.isArray(i)?i.length:o,l?(j.hasOwnProp(i,o)?i[o]=[i[o],r]:i[o]=r,!a):((!i[o]||!j.isObject(i[o]))&&(i[o]=[]),t(n,r,i[o],s)&&j.isArray(i[o])&&(i[o]=hN(i[o])),!a)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,i)=>{t(pN(r),i,n,0)}),n}return null}function mN(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 jv={transitional:p2,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,s=j.isObject(t);if(s&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return i?JSON.stringify(m2(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return fN(t,this.formSerializer).toString();if((a=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Jf(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),mN(t)):t}],transformResponse:[function(t){const n=this.transitional||jv.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&j.isString(t)&&(r&&!this.responseType||i)){const o=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?de.from(a,de.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:Zn.classes.FormData,Blob:Zn.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=>{jv.headers[e]={}});const Dv=jv,gN=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"]),vN=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||t[n]&&gN[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},kw=Symbol("internals");function wa(e){return e&&String(e).trim().toLowerCase()}function Oc(e){return e===!1||e==null?e:j.isArray(e)?e.map(Oc):String(e)}function yN(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 xN=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function yh(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 wN(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function bN(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,s,o){return this[r].call(this,t,i,s,o)},configurable:!0})})}class ep{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function s(a,l,u){const c=wa(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]=Oc(a))}const o=(a,l)=>j.forEach(a,(u,c)=>s(u,c,l));return j.isPlainObject(t)||t instanceof this.constructor?o(t,n):j.isString(t)&&(t=t.trim())&&!xN(t)?o(vN(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=wa(t),t){const r=j.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return yN(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=wa(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||yh(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function s(o){if(o=wa(o),o){const a=j.findKey(r,o);a&&(!n||yh(r,r[a],a,n))&&(delete r[a],i=!0)}}return j.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const s=n[r];(!t||yh(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,r={};return j.forEach(this,(i,s)=>{const o=j.findKey(r,s);if(o){n[o]=Oc(i),delete n[s];return}const a=t?wN(s):String(s).trim();a!==s&&delete n[s],n[a]=Oc(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[kw]=this[kw]={accessors:{}}).accessors,i=this.prototype;function s(o){const a=wa(o);r[a]||(bN(i,o),r[a]=!0)}return j.isArray(t)?t.forEach(s):s(t),this}}ep.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(ep.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});j.freezeMethods(ep);const br=ep;function xh(e,t){const n=this||Dv,r=t||n,i=br.from(r.headers);let s=r.data;return j.forEach(e,function(a){s=a.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function g2(e){return!!(e&&e.__CANCEL__)}function wu(e,t,n){de.call(this,e??"canceled",de.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(wu,de,{__CANCEL__:!0});function SN(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new de("Request failed with status code "+n.status,[de.ERR_BAD_REQUEST,de.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const EN=Zn.hasStandardBrowserEnv?{write(e,t,n,r,i,s){const o=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),j.isString(r)&&o.push("path="+r),j.isString(i)&&o.push("domain="+i),s===!0&&o.push("secure"),document.cookie=o.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 PN(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function CN(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function v2(e,t){return e&&!PN(t)?CN(e,t):t}const TN=Zn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(s){let o=s;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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(o){const a=j.isString(o)?i(o):o;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function kN(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function MN(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,s=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[s];o||(o=u),n[i]=l,r[i]=u;let d=s,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),u-o{const s=i.loaded,o=i.lengthComputable?i.total:void 0,a=s-n,l=r(a),u=s<=o;n=s;const c={loaded:s,total:o,progress:o?s/o:void 0,bytes:a,rate:l||void 0,estimated:l&&o&&u?(o-s)/l:void 0,event:i};c[t?"download":"upload"]=!0,e(c)}}const _N=typeof XMLHttpRequest<"u",ON=_N&&function(e){return new Promise(function(n,r){let i=e.data;const s=br.from(e.headers).normalize();let{responseType:o,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(Zn.hasStandardBrowserEnv||Zn.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((c=s.getContentType())!==!1){const[m,...x]=c?c.split(";").map(g=>g.trim()).filter(Boolean):[];s.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)):"";s.set("Authorization","Basic "+btoa(m+":"+x))}const f=v2(e.baseURL,e.url);d.open(e.method.toUpperCase(),f2(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const m=br.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),g={data:!o||o==="text"||o==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:m,config:e,request:d};SN(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 de("Request aborted",de.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new de("Network Error",de.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const g=e.transitional||p2;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),r(new de(x,g.clarifyTimeoutError?de.ETIMEDOUT:de.ECONNABORTED,e,d)),d=null},Zn.hasStandardBrowserEnv&&(a&&j.isFunction(a)&&(a=a(e)),a||a!==!1&&TN(f))){const m=e.xsrfHeaderName&&e.xsrfCookieName&&EN.read(e.xsrfCookieName);m&&s.set(e.xsrfHeaderName,m)}i===void 0&&s.setContentType(null),"setRequestHeader"in d&&j.forEach(s.toJSON(),function(x,g){d.setRequestHeader(g,x)}),j.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),o&&o!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Mw(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Mw(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=m=>{d&&(r(!m||m.type?new wu(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=kN(f);if(h&&Zn.protocols.indexOf(h)===-1){r(new de("Unsupported protocol "+h+":",de.ERR_BAD_REQUEST,e));return}d.send(i||null)})},vg={http:tN,xhr:ON};j.forEach(vg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const _w=e=>`- ${e}`,RN=e=>j.isFunction(e)||e===null||e===!1,y2={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let s=0;s`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?s.length>1?`since : +`+s.map(_w).join(` +`):" "+_w(s[0]):"as no adapter specified";throw new de("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:vg};function wh(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new wu(null,e)}function Ow(e){return wh(e),e.headers=br.from(e.headers),e.data=xh.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),y2.getAdapter(e.adapter||Dv.adapter)(e).then(function(r){return wh(e),r.data=xh.call(e,e.transformResponse,r),r.headers=br.from(r.headers),r},function(r){return g2(r)||(wh(e),r&&r.response&&(r.response.data=xh.call(e,e.transformResponse,r.response),r.response.headers=br.from(r.response.headers))),Promise.reject(r)})}const Rw=e=>e instanceof br?{...e}:e;function Bo(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 s(u,c){if(!j.isUndefined(c))return r(void 0,c)}function o(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:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,c)=>i(Rw(u),Rw(c),!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=l[c]||i,f=d(e[c],t[c],c);j.isUndefined(f)&&d!==a||(n[c]=f)}),n}const x2="1.6.8",Fv={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fv[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Aw={};Fv.transitional=function(t,n,r){function i(s,o){return"[Axios v"+x2+"] Transitional option '"+s+"'"+o+(r?". "+r:"")}return(s,o,a)=>{if(t===!1)throw new de(i(o," has been removed"+(n?" in "+n:"")),de.ERR_DEPRECATED);return n&&!Aw[o]&&(Aw[o]=!0,console.warn(i(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,o,a):!0}};function AN(e,t,n){if(typeof e!="object")throw new de("options must be an object",de.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const s=r[i],o=t[s];if(o){const a=e[s],l=a===void 0||o(a,s,e);if(l!==!0)throw new de("option "+s+" must be "+l,de.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new de("Unknown option "+s,de.ERR_BAD_OPTION)}}const yg={assertOptions:AN,validators:Fv},Nr=yg.validators;class Md{constructor(t){this.defaults=t,this.interceptors={request:new Tw,response:new Tw}}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 s=i.stack?i.stack.replace(/^.+\n/,""):"";r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+s):r.stack=s}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Bo(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:s}=n;r!==void 0&&yg.assertOptions(r,{silentJSONParsing:Nr.transitional(Nr.boolean),forcedJSONParsing:Nr.transitional(Nr.boolean),clarifyTimeoutError:Nr.transitional(Nr.boolean)},!1),i!=null&&(j.isFunction(i)?n.paramsSerializer={serialize:i}:yg.assertOptions(i,{encode:Nr.function,serialize:Nr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=s&&j.merge(s.common,s[n.method]);s&&j.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=br.concat(o,s);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=[Ow.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 s=r._listeners.length;for(;s-- >0;)r._listeners[s](i);r._listeners=null}),this.promise.then=i=>{let s;const o=new Promise(a=>{r.subscribe(a),s=a}).then(i);return o.cancel=function(){r.unsubscribe(s)},o},t(function(s,o,a){r.reason||(r.reason=new wu(s,o,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 Nv(function(i){t=i}),cancel:t}}}const IN=Nv;function $N(e){return function(n){return e.apply(null,n)}}function LN(e){return j.isObject(e)&&e.isAxiosError===!0}const xg={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(xg).forEach(([e,t])=>{xg[t]=e});const jN=xg;function w2(e){const t=new Rc(e),n=e2(Rc.prototype.request,t);return j.extend(n,Rc.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return w2(Bo(e,i))},n}const Qe=w2(Dv);Qe.Axios=Rc;Qe.CanceledError=wu;Qe.CancelToken=IN;Qe.isCancel=g2;Qe.VERSION=x2;Qe.toFormData=Jf;Qe.AxiosError=de;Qe.Cancel=Qe.CanceledError;Qe.all=function(t){return Promise.all(t)};Qe.spread=$N;Qe.isAxiosError=LN;Qe.mergeConfig=Bo;Qe.AxiosHeaders=br;Qe.formToJSON=e=>m2(j.isHTMLForm(e)?new FormData(e):e);Qe.getAdapter=y2.getAdapter;Qe.HttpStatusCode=jN;Qe.default=Qe;const bu=Qe.create({baseURL:"https://webv2-backend.appdevclub.com"});function DN(e){let t=`${e.firstName}-${e.lastName}`;return t=t.toLowerCase().replace(" ","-"),`${bu.getUri()}/team-images/${t}.jpeg`}function FN(e){let t="";return t=e.leadership.join(", "),t}function NN(e){const[t,n]=W.useState([]);return W.useEffect(()=>{bu.get("members/leaders/").then(r=>{n(()=>r.data)})},[]),E.jsxs(Y,{...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:[E.jsx(ce,{sx:{fontSize:"3rem",fontWeight:"bold",marginBottom:"30px"},children:"Our Team"}),t.length<1?E.jsx(E.Fragment,{}):E.jsx(ZT,{modules:[wF,vF],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=>E.jsx(JT,{children:E.jsxs(Y,{sx:{position:"relative",overflow:"hidden",width:"100%"},children:[E.jsx("img",{src:DN(r),alt:"member_image"}),E.jsxs(Y,{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:[E.jsx(ce,{sx:{fontSize:"1.2rem",fontWeight:"bold"},children:`${r.firstName} ${r.lastName}`}),E.jsx(ce,{sx:{fontSize:"1rem"},children:FN(r)})]})]})}))})]})}var zN=Object.defineProperty,VN=(e,t)=>{for(var n in t)zN(e,n,{get:t[n],enumerable:!0})},zn={};VN(zn,{assign:()=>WN,colors:()=>wi,createStringInterpolator:()=>Gv,skipAnimation:()=>k2,to:()=>T2,willAdvance:()=>qv});var zv=Eu(),J=e=>Su(e,zv),Vv=Eu();J.write=e=>Su(e,Vv);var tp=Eu();J.onStart=e=>Su(e,tp);var Bv=Eu();J.onFrame=e=>Su(e,Bv);var Uv=Eu();J.onFinish=e=>Su(e,Uv);var go=[];J.setTimeout=(e,t)=>{const n=J.now()+t,r=()=>{const s=go.findIndex(o=>o.cancel==r);~s&&go.splice(s,1),ci-=~s?1:0},i={time:n,handler:e,cancel:r};return go.splice(b2(n),0,i),ci+=1,S2(),i};var b2=e=>~(~go.findIndex(t=>t.time>e)||~go.length);J.cancel=e=>{tp.delete(e),Bv.delete(e),Uv.delete(e),zv.delete(e),Vv.delete(e)};J.sync=e=>{wg=!0,J.batchedUpdates(e),wg=!1};J.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,J.onStart(n)}return r.handler=e,r.cancel=()=>{tp.delete(n),t=null},r};var Wv=typeof window<"u"?window.requestAnimationFrame:()=>{};J.use=e=>Wv=e;J.now=typeof performance<"u"?()=>performance.now():Date.now;J.batchedUpdates=e=>e();J.catch=console.error;J.frameLoop="always";J.advance=()=>{J.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):P2()};var ui=-1,ci=0,wg=!1;function Su(e,t){wg?(t.delete(e),e(0)):(t.add(e),S2())}function S2(){ui<0&&(ui=0,J.frameLoop!=="demand"&&Wv(E2))}function BN(){ui=-1}function E2(){~ui&&(Wv(E2),J.batchedUpdates(P2))}function P2(){const e=ui;ui=J.now();const t=b2(ui);if(t&&(C2(go.splice(0,t),n=>n.handler()),ci-=t),!ci){BN();return}tp.flush(),zv.flush(e?Math.min(64,ui-e):16.667),Bv.flush(),Vv.flush(),Uv.flush()}function Eu(){let e=new Set,t=e;return{add(n){ci+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return ci-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,ci-=t.size,C2(t,r=>r(n)&&e.add(r)),ci+=e.size,t=e)}}}function C2(e,t){e.forEach(n=>{try{t(n)}catch(r){J.catch(r)}})}function bg(){}var UN=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),z={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 dr(e,t){if(z.arr(e)){if(!z.arr(t)||e.length!==t.length)return!1;for(let n=0;ne.forEach(t);function ir(e,t,n){if(z.arr(e)){for(let r=0;rz.und(e)?[]:z.arr(e)?e:[e];function Qa(e,t){if(e.size){const n=Array.from(e);e.clear(),ue(n,t)}}var Ia=(e,...t)=>Qa(e,n=>n(...t)),Hv=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Gv,T2,wi=null,k2=!1,qv=bg,WN=e=>{e.to&&(T2=e.to),e.now&&(J.now=e.now),e.colors!==void 0&&(wi=e.colors),e.skipAnimation!=null&&(k2=e.skipAnimation),e.createStringInterpolator&&(Gv=e.createStringInterpolator),e.requestAnimationFrame&&J.use(e.requestAnimationFrame),e.batchedUpdates&&(J.batchedUpdates=e.batchedUpdates),e.willAdvance&&(qv=e.willAdvance),e.frameLoop&&(J.frameLoop=e.frameLoop)},Ya=new Set,vn=[],bh=[],_d=0,np={get idle(){return!Ya.size&&!vn.length},start(e){_d>e.priority?(Ya.add(e),J.onStart(HN)):(M2(e),J(Sg))},advance:Sg,sort(e){if(_d)J.onFrame(()=>np.sort(e));else{const t=vn.indexOf(e);~t&&(vn.splice(t,1),_2(e))}},clear(){vn=[],Ya.clear()}};function HN(){Ya.forEach(M2),Ya.clear(),J(Sg)}function M2(e){vn.includes(e)||_2(e)}function _2(e){vn.splice(GN(vn,t=>t.priority>e.priority),0,e)}function Sg(e){const t=bh;for(let n=0;n0}function GN(e,t){const n=e.findIndex(t);return n<0?e.length:n}var qN=(e,t,n)=>Math.min(Math.max(n,e),t),KN={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},jn="[-+]?\\d*\\.?\\d+",Od=jn+"%";function rp(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var QN=new RegExp("rgb"+rp(jn,jn,jn)),YN=new RegExp("rgba"+rp(jn,jn,jn,jn)),XN=new RegExp("hsl"+rp(jn,Od,Od)),ZN=new RegExp("hsla"+rp(jn,Od,Od,jn)),JN=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ez=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,tz=/^#([0-9a-fA-F]{6})$/,nz=/^#([0-9a-fA-F]{8})$/;function rz(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=tz.exec(e))?parseInt(t[1]+"ff",16)>>>0:wi&&wi[e]!==void 0?wi[e]:(t=QN.exec(e))?(Ds(t[1])<<24|Ds(t[2])<<16|Ds(t[3])<<8|255)>>>0:(t=YN.exec(e))?(Ds(t[1])<<24|Ds(t[2])<<16|Ds(t[3])<<8|Lw(t[4]))>>>0:(t=JN.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=nz.exec(e))?parseInt(t[1],16)>>>0:(t=ez.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=XN.exec(e))?(Iw($w(t[1]),rc(t[2]),rc(t[3]))|255)>>>0:(t=ZN.exec(e))?(Iw($w(t[1]),rc(t[2]),rc(t[3]))|Lw(t[4]))>>>0:null}function Sh(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 Iw(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,s=Sh(i,r,e+1/3),o=Sh(i,r,e),a=Sh(i,r,e-1/3);return Math.round(s*255)<<24|Math.round(o*255)<<16|Math.round(a*255)<<8}function Ds(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function $w(e){return(parseFloat(e)%360+360)%360/360}function Lw(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function rc(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function jw(e){let t=rz(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,s=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${s})`}var $l=(e,t,n)=>{if(z.fun(e))return e;if(z.arr(e))return $l({range:e,output:t,extrapolate:n});if(z.str(e.output[0]))return Gv(e);const r=e,i=r.output,s=r.range||[0,1],o=r.extrapolateLeft||r.extrapolate||"extend",a=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(u=>u);return u=>{const c=sz(u,s);return iz(u,s[c],s[c+1],i[c],i[c+1],l,o,a,r.map)}};function iz(e,t,n,r,i,s,o,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=s(u),r===-1/0?u=-u:i===1/0?u=u+r:u=u*(i-r)+r,u)}function sz(e,t){for(var n=1;n=e);++n);return n-1}var oz=(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 qN(0,1,i/e)},Rd=1.70158,ic=Rd*1.525,Dw=Rd+1,Fw=2*Math.PI/3,Nw=2*Math.PI/4.5,sc=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,az={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=>Dw*e*e*e-Rd*e*e,easeOutBack:e=>1+Dw*Math.pow(e-1,3)+Rd*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((ic+1)*2*e-ic)/2:(Math.pow(2*e-2,2)*((ic+1)*(e*2-2)+ic)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*Fw),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*Fw)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Nw))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Nw)/2+1,easeInBounce:e=>1-sc(1-e),easeOutBounce:sc,easeInOutBounce:e=>e<.5?(1-sc(1-2*e))/2:(1+sc(2*e-1))/2,steps:oz},Ll=Symbol.for("FluidValue.get"),Uo=Symbol.for("FluidValue.observers"),gn=e=>!!(e&&e[Ll]),jt=e=>e&&e[Ll]?e[Ll]():e,zw=e=>e[Uo]||null;function lz(e,t){e.eventObserved?e.eventObserved(t):e(t)}function jl(e,t){const n=e[Uo];n&&n.forEach(r=>{lz(r,t)})}var O2=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");uz(this,e)}},uz=(e,t)=>R2(e,Ll,t);function ia(e,t){if(e[Ll]){let n=e[Uo];n||R2(e,Uo,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Dl(e,t){const n=e[Uo];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Uo]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var R2=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Ac=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,cz=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Vw=new RegExp(`(${Ac.source})(%|[a-z]+)`,"i"),dz=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ip=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,A2=e=>{const[t,n]=fz(e);if(!t||Hv())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&&ip.test(n))return A2(n);if(n)return n}return e},fz=e=>{const t=ip.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Eh,pz=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,I2=e=>{Eh||(Eh=wi?new RegExp(`(${Object.keys(wi).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(s=>jt(s).replace(ip,A2).replace(cz,jw).replace(Eh,jw)),n=t.map(s=>s.match(Ac).map(Number)),i=n[0].map((s,o)=>n.map(a=>{if(!(o in a))throw Error('The arity of each "output" value must be equal');return a[o]})).map(s=>$l({...e,output:s}));return s=>{var l;const o=!Vw.test(t[0])&&((l=t.find(u=>Vw.test(u)))==null?void 0:l.replace(Ac,""));let a=0;return t[0].replace(Ac,()=>`${i[a++](s)}${o||""}`).replace(dz,pz)}},Kv="react-spring: ",$2=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${Kv}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},hz=$2(console.warn);function mz(){hz(`${Kv}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var gz=$2(console.warn);function vz(){gz(`${Kv}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 sp(e){return z.str(e)&&(e[0]=="#"||/\d/.test(e)||!Hv()&&ip.test(e)||e in(wi||{}))}var Qv=Hv()?b.useEffect:b.useLayoutEffect,yz=()=>{const e=b.useRef(!1);return Qv(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function L2(){const e=b.useState()[1],t=yz();return()=>{t.current&&e(Math.random())}}function xz(e,t){const[n]=b.useState(()=>({inputs:t,result:e()})),r=b.useRef(),i=r.current;let s=i;return s?t&&s.inputs&&wz(t,s.inputs)||(s={inputs:t,result:e()}):s=n,b.useEffect(()=>{r.current=s,i==n&&(n.inputs=n.result=void 0)},[s]),s.result}function wz(e,t){if(e.length!==t.length)return!1;for(let n=0;nb.useEffect(e,bz),bz=[];function Bw(e){const t=b.useRef();return b.useEffect(()=>{t.current=e}),t.current}var Fl=Symbol.for("Animated:node"),Sz=e=>!!e&&e[Fl]===e,Un=e=>e&&e[Fl],Yv=(e,t)=>UN(e,Fl,t),op=e=>e&&e[Fl]&&e[Fl].getPayload(),D2=class{constructor(){Yv(this,this)}getPayload(){return this.payload||[]}},Pu=class extends D2{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,z.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Pu(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return z.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,z.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},Nl=class extends Pu{constructor(e){super(0),this._string=null,this._toString=$l({output:[e,e]})}static create(e){return new Nl(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(z.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=$l({output:[this.getValue(),e]})),this._value=0,super.reset()}},Ad={dependencies:null},ap=class extends D2{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return ir(this.source,(n,r)=>{Sz(n)?t[r]=n.getValue(e):gn(n)?t[r]=jt(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&ue(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return ir(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Ad.dependencies&&gn(e)&&Ad.dependencies.add(e);const t=op(e);t&&ue(t,n=>this.add(n))}},F2=class extends ap{constructor(e){super(e)}static create(e){return new F2(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(Ez)),!0)}};function Ez(e){return(sp(e)?Nl:Pu).create(e)}function Eg(e){const t=Un(e);return t?t.constructor:z.arr(e)?F2:sp(e)?Nl:Pu}var Uw=(e,t)=>{const n=!z.fun(e)||e.prototype&&e.prototype.isReactComponent;return b.forwardRef((r,i)=>{const s=b.useRef(null),o=n&&b.useCallback(h=>{s.current=Tz(i,h)},[i]),[a,l]=Cz(r,t),u=L2(),c=()=>{const h=s.current;if(n&&!h)return;(h?t.applyAnimatedValues(h,a.getValue(!0)):!1)===!1&&u()},d=new Pz(c,l),f=b.useRef();Qv(()=>(f.current=d,ue(l,h=>ia(h,d)),()=>{f.current&&(ue(f.current.deps,h=>Dl(h,f.current)),J.cancel(f.current.update))})),b.useEffect(c,[]),j2(()=>()=>{const h=f.current;ue(h.deps,m=>Dl(m,h))});const p=t.getComponentProps(a.getValue());return b.createElement(e,{...p,ref:o})})},Pz=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&J.write(this.update)}};function Cz(e,t){const n=new Set;return Ad.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new ap(e),Ad.dependencies=null,[e,n]}function Tz(e,t){return e&&(z.fun(e)?e(t):e.current=t),t}var Ww=Symbol.for("AnimatedComponent"),kz=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new ap(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},s=o=>{const a=Hw(o)||"Anonymous";return z.str(o)?o=s[o]||(s[o]=Uw(o,i)):o=o[Ww]||(o[Ww]=Uw(o,i)),o.displayName=`Animated(${a})`,o};return ir(e,(o,a)=>{z.arr(e)&&(a=Hw(o)),s[a]=s(o)}),{animated:s}},Hw=e=>z.str(e)?e:e&&z.str(e.displayName)?e.displayName:z.fun(e)&&e.name||null;function Ki(e,...t){return z.fun(e)?e(...t):e}var Xa=(e,t)=>e===!0||!!(t&&e&&(z.fun(e)?e(t):Kt(e).includes(t))),N2=(e,t)=>z.obj(e)?t&&e[t]:e,z2=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,Mz=e=>e,Xv=(e,t=Mz)=>{let n=_z;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const s=t(e[i],i);z.und(s)||(r[i]=s)}return r},_z=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Oz={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 Rz(e){const t={};let n=0;if(ir(e,(r,i)=>{Oz[i]||(t[i]=r,n++)}),n)return t}function V2(e){const t=Rz(e);if(t){const n={to:t};return ir(e,(r,i)=>i in t||(n[i]=r)),n}return{...e}}function zl(e){return e=jt(e),z.arr(e)?e.map(zl):sp(e)?zn.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Az(e){for(const t in e)return!0;return!1}function Pg(e){return z.fun(e)||z.arr(e)&&z.obj(e[0])}function Iz(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function $z(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var Lz={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}},Cg={...Lz.default,mass:1,damping:1,easing:az.linear,clamp:!1},jz=class{constructor(){this.velocity=0,Object.assign(this,Cg)}};function Dz(e,t,n){n&&(n={...n},Gw(n,t),t={...n,...t}),Gw(e,t),Object.assign(e,t);for(const o in Cg)e[o]==null&&(e[o]=Cg[o]);let{frequency:r,damping:i}=e;const{mass:s}=e;return z.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*s,e.friction=4*Math.PI*i*s/r),e}function Gw(e,t){if(!z.und(t.decay))e.duration=void 0;else{const n=!z.und(t.tension)||!z.und(t.friction);(n||!z.und(t.frequency)||!z.und(t.damping)||!z.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var qw=[],Fz=class{constructor(){this.changed=!1,this.values=qw,this.toValues=null,this.fromValues=qw,this.config=new jz,this.immediate=!1}};function B2(e,{key:t,props:n,defaultProps:r,state:i,actions:s}){return new Promise((o,a)=>{let l,u,c=Xa(n.cancel??(r==null?void 0:r.cancel),t);if(c)p();else{z.und(n.pause)||(i.paused=Xa(n.pause,t));let h=r==null?void 0:r.pause;h!==!0&&(h=i.paused||Xa(h,t)),l=Ki(n.delay||0,t),h?(i.resumeQueue.add(f),s.pause()):(s.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(u),u.cancel(),l=u.time-J.now()}function f(){l>0&&!zn.skipAnimation?(i.delayed=!0,u=J.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{s.start({...n,callId:e,cancel:c},o)}catch(h){a(h)}}})}var Zv=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?vo(e.get()):t.every(n=>n.noop)?U2(e.get()):Ln(e.get(),t.every(n=>n.finished)),U2=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ln=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),vo=e=>({value:e,cancelled:!0,finished:!1});function W2(e,t,n,r){const{callId:i,parentId:s,onRest:o}=t,{asyncTo:a,promise:l}=n;return!s&&e===a&&!t.reset?l:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const u=Xv(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)&&vo(r)||i!==n.asyncId&&Ln(r,!1);if(g)throw x.result=g,d(x),x},h=(x,g)=>{const y=new Kw,v=new Qw;return(async()=>{if(zn.skipAnimation)throw Vl(n),v.result=Ln(r,!1),d(v),v;p(y);const w=z.obj(x)?{...x}:{...g,to:x};w.parentId=i,ir(u,(P,T)=>{z.und(w[T])&&(w[T]=P)});const S=await r.start(w);return p(y),n.paused&&await new Promise(P=>{n.resumeQueue.add(P)}),S})()};let m;if(zn.skipAnimation)return Vl(n),Ln(r,!1);try{let x;z.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=Ln(r.get(),!0,!1)}catch(x){if(x instanceof Kw)m=x.result;else if(x instanceof Qw)m=x.result;else throw x}finally{i==n.asyncId&&(n.asyncId=s,n.asyncTo=s?a:void 0,n.promise=s?l:void 0)}return z.fun(o)&&J.batchedUpdates(()=>{o(m,r,r.item)}),m})()}function Vl(e,t){Qa(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Kw=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.")}},Qw=class extends Error{constructor(){super("SkipAnimationSignal")}},Tg=e=>e instanceof Jv,Nz=1,Jv=class extends O2{constructor(){super(...arguments),this.id=Nz++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Un(this);return e&&e.getValue()}to(...e){return zn.to(this,e)}interpolate(...e){return mz(),zn.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){jl(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||np.sort(this),jl(this,{type:"priority",parent:this,priority:e})}},Ss=Symbol.for("SpringPhase"),H2=1,kg=2,Mg=4,Ph=e=>(e[Ss]&H2)>0,zr=e=>(e[Ss]&kg)>0,ba=e=>(e[Ss]&Mg)>0,Yw=(e,t)=>t?e[Ss]|=kg|H2:e[Ss]&=~kg,Xw=(e,t)=>t?e[Ss]|=Mg:e[Ss]&=~Mg,zz=class extends Jv{constructor(e,t){if(super(),this.animation=new Fz,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,!z.und(e)||!z.und(t)){const n=z.obj(e)?{...e}:{...t,from:e};z.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(zr(this)||this._state.asyncTo)||ba(this)}get goal(){return jt(this.animation.to)}get velocity(){const e=Un(this);return e instanceof Pu?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return Ph(this)}get isAnimating(){return zr(this)}get isPaused(){return ba(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:i}=r;const{config:s}=r,o=op(r.to);!o&&gn(r.to)&&(i=Kt(jt(r.to))),r.values.forEach((u,c)=>{if(u.done)return;const d=u.constructor==Nl?1:o?o[c].lastPosition:i[c];let f=r.immediate,p=d;if(!f){if(p=u.lastPosition,s.tension<=0){u.done=!0;return}let h=u.elapsedTime+=e;const m=r.fromValues[c],x=u.v0!=null?u.v0:u.v0=z.arr(s.velocity)?s.velocity[c]:s.velocity;let g;const y=s.precision||(m==d?.005:Math.min(1,Math.abs(d-m)*.001));if(z.und(s.duration))if(s.decay){const v=s.decay===!0?.998:s.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=s.restVelocity||y/10,w=s.clamp?0:s.bounce,S=!z.und(w),P=m==d?u.v0>0:mv,!(!T&&(f=Math.abs(d-p)<=y,f)));++R){S&&(C=p==d||p>d==P,C&&(g=-g*w,p=d));const I=-s.tension*1e-6*(p-d),$=-s.friction*.001*g,D=(I+$)/s.mass;g=g+D*M,p=p+g*M}}else{let v=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,u.durationProgress>0&&(u.elapsedTime=s.duration*u.durationProgress,h=u.elapsedTime+=e)),v=(s.progress||0)+h/this._memoizedDuration,v=v>1?1:v<0?0:v,u.durationProgress=v),p=m+s.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)}o&&!o[c].done&&(f=!1),f?u.done=!0:t=!1,u.setValue(p,s.round)&&(n=!0)});const a=Un(this),l=a.getValue();if(t){const u=jt(r.to);(l!==u||n)&&!s.decay?(a.setValue(u),this._onChange(u)):n&&s.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(e){return J.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(zr(this)){const{to:e,config:t}=this.animation;J.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 z.und(e)?(n=this.queue||[],this.queue=[]):n=[z.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>Zv(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Vl(this._state,e&&this._lastCallId),J.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=z.obj(n)?n[t]:n,(n==null||Pg(n))&&(n=void 0),r=z.obj(r)?r[t]:r,r==null&&(r=void 0);const i={to:n,from:r};return Ph(this)||(e.reverse&&([n,r]=[r,n]),r=jt(r),z.und(r)?Un(this)||this._set(n):this._set(r)),i}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,Xv(e,(o,a)=>/^on/.test(a)?N2(o,n):o)),Jw(this,e,"onProps"),Ea(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 s=this._state;return B2(++this._lastCallId,{key:n,props:e,defaultProps:r,state:s,actions:{pause:()=>{ba(this)||(Xw(this,!0),Ia(s.pauseQueue),Ea(this,"onPause",Ln(this,Sa(this,this.animation.to)),this))},resume:()=>{ba(this)&&(Xw(this,!1),zr(this)&&this._resume(),Ia(s.resumeQueue),Ea(this,"onResume",Ln(this,Sa(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(e.loop&&o.finished&&!(t&&o.noop)){const a=G2(e);if(a)return this._update(a,!0)}return o})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(vo(this));const r=!z.und(e.to),i=!z.und(e.from);if(r||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(vo(this));const{key:s,defaultProps:o,animation:a}=this,{to:l,from:u}=a;let{to:c=l,from:d=u}=e;i&&!r&&(!t.default||z.und(c))&&(c=d),t.reverse&&([c,d]=[d,c]);const f=!dr(d,u);f&&(a.from=d),d=jt(d);const p=!dr(c,l);p&&this._focus(c);const h=Pg(t.to),{config:m}=a,{decay:x,velocity:g}=m;(r||i)&&(m.velocity=0),t.config&&!h&&Dz(m,Ki(t.config,s),t.config!==o.config?Ki(o.config,s):void 0);let y=Un(this);if(!y||z.und(c))return n(Ln(this,!0));const v=z.und(t.reset)?i&&!t.default:!z.und(d)&&Xa(t.reset,s),w=v?d:this.get(),S=zl(c),P=z.num(S)||z.arr(S)||sp(S),T=!h&&(!P||Xa(o.immediate||t.immediate,s));if(p){const R=Eg(c);if(R!==y.constructor)if(T)y=this._set(S);else throw Error(`Cannot animate between ${y.constructor.name} and ${R.name}, as the "to" prop suggests`)}const C=y.constructor;let M=gn(c),k=!1;if(!M){const R=v||!Ph(this)&&f;(p||R)&&(k=dr(zl(w),S),M=!k),(!dr(a.immediate,T)&&!T||!dr(m.decay,x)||!dr(m.velocity,g))&&(M=!0)}if(k&&zr(this)&&(a.changed&&!v?M=!0:M||this._stop(l)),!h&&((M||gn(l))&&(a.values=y.getPayload(),a.toValues=gn(c)?null:C==Nl?[1]:Kt(S)),a.immediate!=T&&(a.immediate=T,!T&&!v&&this._set(l)),M)){const{onRest:R}=a;ue(Bz,$=>Jw(this,t,$));const I=Ln(this,Sa(this,l));Ia(this._pendingCalls,I),this._pendingCalls.add(n),a.changed&&J.batchedUpdates(()=>{var $;a.changed=!v,R==null||R(I,this),v?Ki(o.onRest,I):($=a.onStart)==null||$.call(a,I,this)})}v&&this._set(w),h?n(W2(t.to,t,this._state,this)):M?this._start():zr(this)&&!p?this._pendingCalls.add(n):n(U2(w))}_focus(e){const t=this.animation;e!==t.to&&(zw(this)&&this._detach(),t.to=e,zw(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;gn(t)&&(ia(t,this),Tg(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;gn(e)&&Dl(e,this)}_set(e,t=!0){const n=jt(e);if(!z.und(n)){const r=Un(this);if(!r||!dr(n,r.getValue())){const i=Eg(n);!r||r.constructor!=i?Yv(this,i.create(n)):r.setValue(n),r&&J.batchedUpdates(()=>{this._onChange(n,t)})}}return Un(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,Ea(this,"onStart",Ln(this,Sa(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),Ki(this.animation.onChange,e,this)),Ki(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Un(this).reset(jt(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),zr(this)||(Yw(this,!0),ba(this)||this._resume())}_resume(){zn.skipAnimation?this.finish():np.start(this)}_stop(e,t){if(zr(this)){Yw(this,!1);const n=this.animation;ue(n.values,i=>{i.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),jl(this,{type:"idle",parent:this});const r=t?vo(this.get()):Ln(this.get(),Sa(this,e??n.to));Ia(this._pendingCalls,r),n.changed&&(n.changed=!1,Ea(this,"onRest",r,this))}}};function Sa(e,t){const n=zl(t),r=zl(e.get());return dr(r,n)}function G2(e,t=e.loop,n=e.to){const r=Ki(t);if(r){const i=r!==!0&&V2(r),s=(i||e).reverse,o=!i||i.reset;return Bl({...e,loop:t,default:!1,pause:void 0,to:!s||Pg(n)?n:void 0,from:o?e.from:void 0,reset:o,...i})}}function Bl(e){const{to:t,from:n}=e=V2(e),r=new Set;return z.obj(t)&&Zw(t,r),z.obj(n)&&Zw(n,r),e.keys=r.size?Array.from(r):null,e}function Vz(e){const t=Bl(e);return z.und(t.default)&&(t.default=Xv(t)),t}function Zw(e,t){ir(e,(n,r)=>n!=null&&t.add(r))}var Bz=["onStart","onRest","onChange","onPause","onResume"];function Jw(e,t,n){e.animation[n]=t[n]!==z2(t,n)?N2(t[n],e.key):void 0}function Ea(e,t,...n){var r,i,s,o;(i=(r=e.animation)[t])==null||i.call(r,...n),(o=(s=e.defaultProps)[t])==null||o.call(s,...n)}var Uz=["onStart","onChange","onRest"],Wz=1,Hz=class{constructor(e,t){this.id=Wz++,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];z.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(Bl(e)),this}start(e){let{queue:t}=this;return e?t=Kt(e).map(Bl):this.queue=[],this._flush?this._flush(this,t):(X2(this,t),_g(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;ue(Kt(t),r=>n[r].stop(!!e))}else Vl(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(z.und(e))this.start({pause:!0});else{const t=this.springs;ue(Kt(e),n=>t[n].pause())}return this}resume(e){if(z.und(e))this.start({pause:!1});else{const t=this.springs;ue(Kt(e),n=>t[n].resume())}return this}each(e){ir(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,Qa(e,([a,l])=>{l.value=this.get(),a(l,this,this._item)}));const s=!r&&this._started,o=i||s&&n.size?this.get():null;i&&t.size&&Qa(t,([a,l])=>{l.value=o,a(l,this,this._item)}),s&&(this._started=!1,Qa(n,([a,l])=>{l.value=o,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;J.onFrame(this._onFrame)}};function _g(e,t){return Promise.all(t.map(n=>q2(e,n))).then(n=>Zv(e,n))}async function q2(e,t,n){const{keys:r,to:i,from:s,loop:o,onRest:a,onResolve:l}=t,u=z.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),s===!1&&(t.from=null);const c=z.arr(i)||z.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):ue(Uz,m=>{const x=t[m];if(z.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,Ia(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||z2(t,"cancel")===!0;(c||p&&d.asyncId)&&f.push(B2(++e._lastAsyncId,{props:t,state:d,actions:{pause:bg,resume:bg,start(m,x){p?(Vl(d,e._lastAsyncId),x(vo(e))):(m.onRest=a,x(W2(c,m,d,e)))}}})),d.paused&&await new Promise(m=>{d.resumeQueue.add(m)});const h=Zv(e,await Promise.all(f));if(o&&h.finished&&!(n&&h.noop)){const m=G2(t,o,i);if(m)return X2(e,[m]),q2(e,m,!0)}return l&&J.batchedUpdates(()=>l(h,e,e.item)),h}function eb(e,t){const n={...e.springs};return t&&ue(Kt(t),r=>{z.und(r.keys)&&(r=Bl(r)),z.obj(r.to)||(r={...r,to:void 0}),Y2(n,r,i=>Q2(i))}),K2(e,n),n}function K2(e,t){ir(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,ia(n,e))})}function Q2(e,t){const n=new zz;return n.key=e,t&&ia(n,t),n}function Y2(e,t,n){t.keys&&ue(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function X2(e,t){ue(t,n=>{Y2(e.springs,n,r=>Q2(r,e))})}var lp=({children:e,...t})=>{const n=b.useContext(Id),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=xz(()=>({pause:r,immediate:i}),[r,i]);const{Provider:s}=Id;return b.createElement(s,{value:t},e)},Id=Gz(lp,{});lp.Provider=Id.Provider;lp.Consumer=Id.Consumer;function Gz(e,t){return Object.assign(e,b.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var qz=()=>{const e=[],t=function(r){vz();const i=[];return ue(e,(s,o)=>{if(z.und(r))i.push(s.start());else{const a=n(r,s,o);a&&i.push(s.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 ue(e,r=>r.pause(...arguments)),this},t.resume=function(){return ue(e,r=>r.resume(...arguments)),this},t.set=function(r){ue(e,(i,s)=>{const o=z.fun(r)?r(s,i):r;o&&i.set(o)})},t.start=function(r){const i=[];return ue(e,(s,o)=>{if(z.und(r))i.push(s.start());else{const a=this._getProps(r,s,o);a&&i.push(s.start(a))}}),i},t.stop=function(){return ue(e,r=>r.stop(...arguments)),this},t.update=function(r){return ue(e,(i,s)=>i.update(this._getProps(r,i,s))),this};const n=function(r,i,s){return z.fun(r)?r(s,i):r};return t._getProps=n,t};function Kz(e,t,n){const r=z.fun(t)&&t;r&&!n&&(n=[]);const i=b.useMemo(()=>r||arguments.length==3?qz():void 0,[]),s=b.useRef(0),o=L2(),a=b.useMemo(()=>({ctrls:[],queue:[],flush(g,y){const v=eb(g,y);return s.current>0&&!a.queue.length&&!Object.keys(v).some(S=>!g.springs[S])?_g(g,y):new Promise(S=>{K2(g,v),a.queue.push(()=>{S(_g(g,y))}),o()})}}),[]),l=b.useRef([...a.ctrls]),u=[],c=Bw(e)||0;b.useMemo(()=>{ue(l.current.slice(e,c),g=>{Iz(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;veb(g,u[y])),p=b.useContext(lp),h=Bw(p),m=p!==h&&Az(p);Qv(()=>{s.current++,a.ctrls=l.current;const{queue:g}=a;g.length&&(a.queue=[],ue(g,y=>y())),ue(l.current,(y,v)=>{i==null||i.add(y),m&&y.start({default:p});const w=u[v];w&&($z(y,w.ref),y.ref?y.queue.push(w):y.start(w))})}),j2(()=>()=>{ue(a.ctrls,g=>g.stop(!0))});const x=f.map(g=>({...g}));return i?[x,i]:x}function Qz(e,t){const n=z.fun(e),[[r],i]=Kz(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}var Yz=class extends Jv{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=$l(...t);const n=this._get(),r=Eg(n);Yv(this,r.create(n))}advance(e){const t=this._get(),n=this.get();dr(t,n)||(Un(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&tb(this._active)&&Ch(this)}_get(){const e=z.arr(this.source)?this.source.map(jt):Kt(jt(this.source));return this.calc(...e)}_start(){this.idle&&!tb(this._active)&&(this.idle=!1,ue(op(this),e=>{e.done=!1}),zn.skipAnimation?(J.batchedUpdates(()=>this.advance()),Ch(this)):np.start(this))}_attach(){let e=1;ue(Kt(this.source),t=>{gn(t)&&ia(t,this),Tg(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){ue(Kt(this.source),e=>{gn(e)&&Dl(e,this)}),this._active.clear(),Ch(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=Kt(this.source).reduce((t,n)=>Math.max(t,(Tg(n)?n.priority:0)+1),0))}};function Xz(e){return e.idle!==!1}function tb(e){return!e.size||Array.from(e).every(Xz)}function Ch(e){e.idle||(e.idle=!0,ue(op(e),t=>{t.done=!0}),jl(e,{type:"idle",parent:e}))}zn.assign({createStringInterpolator:I2,to:(e,t)=>new Yz(e,t)});var Z2=/^--/;function Zz(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!Z2.test(e)&&!(Za.hasOwnProperty(e)&&Za[e])?t+"px":(""+t).trim()}var nb={};function Jz(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:s,scrollLeft:o,viewBox:a,...l}=t,u=Object.values(l),c=Object.keys(l).map(d=>n||e.hasAttribute(d)?d:nb[d]||(nb[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=Zz(d,r[d]);Z2.test(d)?e.style.setProperty(d,f):e.style[d]=f}c.forEach((d,f)=>{e.setAttribute(d,u[f])}),s!==void 0&&(e.scrollTop=s),o!==void 0&&(e.scrollLeft=o),a!==void 0&&e.setAttribute("viewBox",a)}var Za={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},e8=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),t8=["Webkit","Ms","Moz","O"];Za=Object.keys(Za).reduce((e,t)=>(t8.forEach(n=>e[e8(n,t)]=e[t]),e),Za);var n8=/^(matrix|translate|scale|rotate|skew)/,r8=/^(translate)/,i8=/^(rotate|skew)/,Th=(e,t)=>z.num(e)&&e!==0?e+t:e,Ic=(e,t)=>z.arr(e)?e.every(n=>Ic(n,t)):z.num(e)?e===t:parseFloat(e)===t,s8=class extends ap{constructor({x:e,y:t,z:n,...r}){const i=[],s=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),s.push(o=>[`translate3d(${o.map(a=>Th(a,"px")).join(",")})`,Ic(o,0)])),ir(r,(o,a)=>{if(a==="transform")i.push([o||""]),s.push(l=>[l,l===""]);else if(n8.test(a)){if(delete r[a],z.und(o))return;const l=r8.test(a)?"px":i8.test(a)?"deg":"";i.push(Kt(o)),s.push(a==="rotate3d"?([u,c,d,f])=>[`rotate3d(${u},${c},${d},${Th(f,l)})`,Ic(f,0)]:u=>[`${a}(${u.map(c=>Th(c,l)).join(",")})`,Ic(u,a.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new o8(i,s)),super(r)}},o8=class extends O2{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 ue(this.inputs,(n,r)=>{const i=jt(n[0]),[s,o]=this.transforms[r](z.arr(i)?i:n.map(jt));e+=" "+s,t=t&&o}),t?"none":e}observerAdded(e){e==1&&ue(this.inputs,t=>ue(t,n=>gn(n)&&ia(n,this)))}observerRemoved(e){e==0&&ue(this.inputs,t=>ue(t,n=>gn(n)&&Dl(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),jl(this,e)}},a8=["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"];zn.assign({batchedUpdates:df.unstable_batchedUpdates,createStringInterpolator:I2,colors:KN});var l8=kz(a8,{applyAnimatedValues:Jz,createAnimatedStyle:e=>new s8(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),u8=l8.animated;const c8=u8(ce);function kh({end:e,title:t,prefix:n,start:r,minWidth:i,alignSelf:s}){const{number:o}=Qz({from:{number:r||0},number:e,config:{mass:1,tension:20,friction:10}});return E.jsx(Y,{sx:{display:"flex",justifyContent:"center",flexDirection:"column",flex:1,minWidth:i},children:E.jsxs(Y,{sx:{display:"flex",flex:1,alignItems:"center",flexDirection:"column"},children:[E.jsx(Y,{sx:{display:"flex",flex:1,alignItems:"flex-start",alignSelf:s||"center"},children:E.jsxs(Y,{sx:{flexDirection:"row",alignItems:"center",alignSelf:"center",justifyContent:"center",display:"flex",flex:1},children:[E.jsx(ce,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:n}),E.jsx(c8,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:o.to(a=>Math.floor(a).toLocaleString("en-US"))}),E.jsx(ce,{sx:{fontSize:"calc(40px + 2vw)",fontWeight:"bold"},children:"+"})]})}),E.jsx(ce,{sx:{fontSize:"calc(15px + 0.5vw)",alignSelf:s||"center"},children:t})]})})}var Cu=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(){}},Wo=typeof window>"u"||"Deno"in globalThis;function dn(){}function d8(e,t){return typeof e=="function"?e(t):e}function Og(e){return typeof e=="number"&&e>=0&&e!==1/0}function J2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function rb(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==ey(o,t.options))return!1}else if(!Wl(t.queryKey,o))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||s&&!s(t))}function ib(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Ul(t.options.mutationKey)!==Ul(s))return!1}else if(!Wl(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ey(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ul)(e)}function Ul(e){return JSON.stringify(e,(t,n)=>Ag(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Wl(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Wl(e[n],t[n])):!1}function ek(e,t){if(e===t)return e;const n=sb(e)&&sb(t);if(n||Ag(e)&&Ag(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{};let l=0;for(let u=0;u{setTimeout(t,e)})}function Ig(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?ek(e,t):t}function p8(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function h8(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var ty=Symbol(),ns,Jr,xo,BS,m8=(BS=class extends Cu{constructor(){super();X(this,ns,void 0);X(this,Jr,void 0);X(this,xo,void 0);H(this,xo,t=>{if(!Wo&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,Jr)||this.setEventListener(_(this,xo))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,Jr))==null||t.call(this),H(this,Jr,void 0))}setEventListener(t){var n;H(this,xo,t),(n=_(this,Jr))==null||n.call(this),H(this,Jr,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,ns)!==t&&(H(this,ns,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,ns)=="boolean"?_(this,ns):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ns=new WeakMap,Jr=new WeakMap,xo=new WeakMap,BS),ny=new m8,wo,ei,bo,US,g8=(US=class extends Cu{constructor(){super();X(this,wo,!0);X(this,ei,void 0);X(this,bo,void 0);H(this,bo,t=>{if(!Wo&&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,ei)||this.setEventListener(_(this,bo))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ei))==null||t.call(this),H(this,ei,void 0))}setEventListener(t){var n;H(this,bo,t),(n=_(this,ei))==null||n.call(this),H(this,ei,t(this.setOnline.bind(this)))}setOnline(t){_(this,wo)!==t&&(H(this,wo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,wo)}},wo=new WeakMap,ei=new WeakMap,bo=new WeakMap,US),$d=new g8;function v8(e){return Math.min(1e3*2**e,3e4)}function ry(e){return(e??"online")==="online"?$d.isOnline():!0}var tk=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Mh(e){return e instanceof tk}function nk(e){let t=!1,n=0,r=!1,i,s,o;const a=new Promise((x,g)=>{s=x,o=g}),l=x=>{var g;r||(p(new tk(x)),(g=e.abort)==null||g.call(e))},u=()=>{t=!0},c=()=>{t=!1},d=()=>!ny.isFocused()||e.networkMode!=="always"&&!$d.isOnline(),f=x=>{var g;r||(r=!0,(g=e.onSuccess)==null||g.call(e,x),i==null||i(),s(x))},p=x=>{var g;r||(r=!0,(g=e.onError)==null||g.call(e,x),i==null||i(),o(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 P;if(r)return;const y=e.retry??(Wo?0:3),v=e.retryDelay??v8,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 ry(e.networkMode)?m():h().then(m),{promise:a,cancel:l,continue:()=>(i==null?void 0:i())?a:Promise.resolve(),cancelRetry:u,continueRetry:c}}function y8(){let e=[],t=0,n=f=>{f()},r=f=>{f()},i=f=>setTimeout(f,0);const s=f=>{i=f},o=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:o,batchCalls:l,schedule:a,setNotifyFunction:f=>{n=f},setBatchNotifyFunction:f=>{r=f},setScheduler:s}}var pt=y8(),rs,WS,rk=(WS=class{constructor(){X(this,rs,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Og(this.gcTime)&&H(this,rs,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Wo?1/0:5*60*1e3))}clearGcTimeout(){_(this,rs)&&(clearTimeout(_(this,rs)),H(this,rs,void 0))}},rs=new WeakMap,WS),So,Eo,ln,_t,nt,Ql,is,An,ur,HS,x8=(HS=class extends rk{constructor(t){super();X(this,An);X(this,So,void 0);X(this,Eo,void 0);X(this,ln,void 0);X(this,_t,void 0);X(this,nt,void 0);X(this,Ql,void 0);X(this,is,void 0);H(this,is,!1),H(this,Ql,t.defaultOptions),this.setOptions(t.options),H(this,nt,[]),H(this,ln,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,So,t.state||w8(this.options)),this.state=_(this,So),this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options={..._(this,Ql),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!_(this,nt).length&&this.state.fetchStatus==="idle"&&_(this,ln).remove(this)}setData(t,n){const r=Ig(this.state.data,t,this.options);return le(this,An,ur).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){le(this,An,ur).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=_(this,_t))==null?void 0:r.promise;return(i=_(this,_t))==null||i.cancel(t),n?n.then(dn).catch(dn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,So))}isActive(){return _(this,nt).some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?_(this,nt).some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!J2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=_(this,nt).find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,_t))==null||n.continue()}onOnline(){var n;const t=_(this,nt).find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,_t))==null||n.continue()}addObserver(t){_(this,nt).includes(t)||(_(this,nt).push(t),this.clearGcTimeout(),_(this,ln).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){_(this,nt).includes(t)&&(H(this,nt,_(this,nt).filter(n=>n!==t)),_(this,nt).length||(_(this,_t)&&(_(this,is)?_(this,_t).cancel({revert:!0}):_(this,_t).cancelRetry()),this.scheduleGc()),_(this,ln).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return _(this,nt).length}invalidate(){this.state.isInvalidated||le(this,An,ur).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,_t))return _(this,_t).continueRetry(),_(this,_t).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=_(this,nt).find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i={queryKey:this.queryKey,meta:this.meta},s=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(H(this,is,!0),r.signal)})};s(i);const o=()=>!this.options.queryFn||this.options.queryFn===ty?Promise.reject(new Error(`Missing queryFn: '${this.options.queryHash}'`)):(H(this,is,!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:o};s(a),(u=this.options.behavior)==null||u.onFetch(a,this),H(this,Eo,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&le(this,An,ur).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var p,h,m,x;Mh(f)&&f.silent||le(this,An,ur).call(this,{type:"error",error:f}),Mh(f)||((h=(p=_(this,ln).config).onError)==null||h.call(p,f,this),(x=(m=_(this,ln).config).onSettled)==null||x.call(m,this.state.data,f,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return H(this,_t,nk({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,ln).config).onSuccess)==null||h.call(p,f,this),(x=(m=_(this,ln).config).onSettled)==null||x.call(m,f,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:l,onFail:(f,p)=>{le(this,An,ur).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{le(this,An,ur).call(this,{type:"pause"})},onContinue:()=>{le(this,An,ur).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode})),_(this,_t).promise}},So=new WeakMap,Eo=new WeakMap,ln=new WeakMap,_t=new WeakMap,nt=new WeakMap,Ql=new WeakMap,is=new WeakMap,An=new WeakSet,ur=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,...ik(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 Mh(i)&&i.revert&&_(this,Eo)?{..._(this,Eo),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),pt.batch(()=>{_(this,nt).forEach(r=>{r.onQueryUpdate()}),_(this,ln).notify({query:this,type:"updated",action:t})})},HS);function ik(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ry(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function w8(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 Hn,GS,b8=(GS=class extends Cu{constructor(t={}){super();X(this,Hn,void 0);this.config=t,H(this,Hn,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??ey(i,n);let o=this.get(s);return o||(o=new x8({cache:this,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){_(this,Hn).has(t.queryHash)||(_(this,Hn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,Hn).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,Hn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){pt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Hn).get(t)}getAll(){return[..._(this,Hn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>rb(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>rb(t,r)):n}notify(t){pt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){pt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){pt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Hn=new WeakMap,GS),Gn,Yl,Ut,Po,qn,Wr,qS,S8=(qS=class extends rk{constructor(t){super();X(this,qn);X(this,Gn,void 0);X(this,Yl,void 0);X(this,Ut,void 0);X(this,Po,void 0);this.mutationId=t.mutationId,H(this,Yl,t.defaultOptions),H(this,Ut,t.mutationCache),H(this,Gn,[]),this.state=t.state||E8(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options={..._(this,Yl),...t},this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Gn).includes(t)||(_(this,Gn).push(t),this.clearGcTimeout(),_(this,Ut).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Gn,_(this,Gn).filter(n=>n!==t)),this.scheduleGc(),_(this,Ut).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Gn).length||(this.state.status==="pending"?this.scheduleGc():_(this,Ut).remove(this))}continue(){var t;return((t=_(this,Po))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,o,a,l,u,c,d,f,p,h,m,x,g,y,v,w,S,P,T;const n=()=>(H(this,Po,nk({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(C,M)=>{le(this,qn,Wr).call(this,{type:"failed",failureCount:C,error:M})},onPause:()=>{le(this,qn,Wr).call(this,{type:"pause"})},onContinue:()=>{le(this,qn,Wr).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),_(this,Po).promise),r=this.state.status==="pending";try{if(!r){le(this,qn,Wr).call(this,{type:"pending",variables:t}),await((s=(i=_(this,Ut).config).onMutate)==null?void 0:s.call(i,t,this));const M=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));M!==this.state.context&&le(this,qn,Wr).call(this,{type:"pending",context:M,variables:t})}const C=await n();return await((u=(l=_(this,Ut).config).onSuccess)==null?void 0:u.call(l,C,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,C,t,this.state.context)),await((p=(f=_(this,Ut).config).onSettled)==null?void 0:p.call(f,C,null,this.state.variables,this.state.context,this)),await((m=(h=this.options).onSettled)==null?void 0:m.call(h,C,null,t,this.state.context)),le(this,qn,Wr).call(this,{type:"success",data:C}),C}catch(C){try{throw await((g=(x=_(this,Ut).config).onError)==null?void 0:g.call(x,C,t,this.state.context,this)),await((v=(y=this.options).onError)==null?void 0:v.call(y,C,t,this.state.context)),await((S=(w=_(this,Ut).config).onSettled)==null?void 0:S.call(w,void 0,C,this.state.variables,this.state.context,this)),await((T=(P=this.options).onSettled)==null?void 0:T.call(P,void 0,C,t,this.state.context)),C}finally{le(this,qn,Wr).call(this,{type:"error",error:C})}}}},Gn=new WeakMap,Yl=new WeakMap,Ut=new WeakMap,Po=new WeakMap,qn=new WeakSet,Wr=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:!ry(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),pt.batch(()=>{_(this,Gn).forEach(r=>{r.onMutationUpdate(t)}),_(this,Ut).notify({mutation:this,type:"updated",action:t})})},qS);function E8(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var un,Xl,ss,KS,P8=(KS=class extends Cu{constructor(t={}){super();X(this,un,void 0);X(this,Xl,void 0);X(this,ss,void 0);this.config=t,H(this,un,[]),H(this,Xl,0)}build(t,n,r){const i=new S8({mutationCache:this,mutationId:++Iu(this,Xl)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){_(this,un).push(t),this.notify({type:"added",mutation:t})}remove(t){H(this,un,_(this,un).filter(n=>n!==t)),this.notify({type:"removed",mutation:t})}clear(){pt.batch(()=>{_(this,un).forEach(t=>{this.remove(t)})})}getAll(){return _(this,un)}find(t){const n={exact:!0,...t};return _(this,un).find(r=>ib(n,r))}findAll(t={}){return _(this,un).filter(n=>ib(t,n))}notify(t){pt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){return H(this,ss,(_(this,ss)??Promise.resolve()).then(()=>{const t=_(this,un).filter(n=>n.state.isPaused);return pt.batch(()=>t.reduce((n,r)=>n.then(()=>r.continue().catch(dn)),Promise.resolve()))}).then(()=>{H(this,ss,void 0)})),_(this,ss)}},un=new WeakMap,Xl=new WeakMap,ss=new WeakMap,KS);function C8(e){return{onFetch:(t,n)=>{const r=async()=>{var h,m,x,g,y;const i=t.options,s=(x=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:x.direction,o=((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!==ty?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 P={queryKey:t.queryKey,pageParam:w,direction:S?"backward":"forward",meta:t.options.meta};c(P);const T=await d(P),{maxPages:C}=t.options,M=S?h8:p8;return{pages:M(v.pages,T,C),pageParams:M(v.pageParams,w,C)}};let p;if(s&&o.length){const v=s==="backward",w=v?T8:ab,S={pages:o,pageParams:a},P=w(i,S);p=await f(S,P,v)}else{p=await f(l,a[0]??i.initialPageParam);const v=e??o.length;for(let w=1;w{var i,s;return(s=(i=t.options).persister)==null?void 0:s.call(i,r,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=r}}}function ab(e,{pages:t,pageParams:n}){const r=t.length-1;return e.getNextPageParam(t[r],t,n[r],n)}function T8(e,{pages:t,pageParams:n}){var r;return(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n)}var ze,ti,ni,Co,To,ri,ko,Mo,QS,k8=(QS=class{constructor(e={}){X(this,ze,void 0);X(this,ti,void 0);X(this,ni,void 0);X(this,Co,void 0);X(this,To,void 0);X(this,ri,void 0);X(this,ko,void 0);X(this,Mo,void 0);H(this,ze,e.queryCache||new b8),H(this,ti,e.mutationCache||new P8),H(this,ni,e.defaultOptions||{}),H(this,Co,new Map),H(this,To,new Map),H(this,ri,0)}mount(){Iu(this,ri)._++,_(this,ri)===1&&(H(this,ko,ny.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,ze).onFocus())})),H(this,Mo,$d.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,ze).onOnline())})))}unmount(){var e,t;Iu(this,ri)._--,_(this,ri)===0&&((e=_(this,ko))==null||e.call(this),H(this,ko,void 0),(t=_(this,Mo))==null||t.call(this),H(this,Mo,void 0))}isFetching(e){return _(this,ze).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,ti).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,ze).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,ze).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(n.staleTime)&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return _(this,ze).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,ze).get(r.queryHash),s=i==null?void 0:i.state.data,o=d8(t,s);if(o!==void 0)return _(this,ze).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return pt.batch(()=>_(this,ze).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,ze).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,ze);pt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,ze),r={type:"active",...e};return pt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=pt.batch(()=>_(this,ze).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(dn).catch(dn)}invalidateQueries(e={},t={}){return pt.batch(()=>{if(_(this,ze).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=pt.batch(()=>_(this,ze).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(dn)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(dn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,ze).build(this,t);return n.isStaleByTime(t.staleTime)?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(dn).catch(dn)}fetchInfiniteQuery(e){return e.behavior=C8(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(dn).catch(dn)}resumePausedMutations(){return $d.isOnline()?_(this,ti).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,ze)}getMutationCache(){return _(this,ti)}getDefaultOptions(){return _(this,ni)}setDefaultOptions(e){H(this,ni,e)}setQueryDefaults(e,t){_(this,Co).set(Ul(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Co).values()];let n={};return t.forEach(r=>{Wl(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){_(this,To).set(Ul(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,To).values()];let n={};return t.forEach(r=>{Wl(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,ni).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ey(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===ty&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,ni).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,ze).clear(),_(this,ti).clear()}},ze=new WeakMap,ti=new WeakMap,ni=new WeakMap,Co=new WeakMap,To=new WeakMap,ri=new WeakMap,ko=new WeakMap,Mo=new WeakMap,QS),Lt,Pe,Zl,Ot,os,_o,Kn,Jl,Oo,Ro,as,ls,ii,Ao,us,$a,eu,$g,tu,Lg,nu,jg,ru,Dg,iu,Fg,su,Ng,ou,zg,qd,sk,YS,M8=(YS=class extends Cu{constructor(t,n){super();X(this,us);X(this,eu);X(this,tu);X(this,nu);X(this,ru);X(this,iu);X(this,su);X(this,ou);X(this,qd);X(this,Lt,void 0);X(this,Pe,void 0);X(this,Zl,void 0);X(this,Ot,void 0);X(this,os,void 0);X(this,_o,void 0);X(this,Kn,void 0);X(this,Jl,void 0);X(this,Oo,void 0);X(this,Ro,void 0);X(this,as,void 0);X(this,ls,void 0);X(this,ii,void 0);X(this,Ao,new Set);this.options=n,H(this,Lt,t),H(this,Kn,null),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,Pe).addObserver(this),lb(_(this,Pe),this.options)?le(this,us,$a).call(this):this.updateResult(),le(this,ru,Dg).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Vg(_(this,Pe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Vg(_(this,Pe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,le(this,iu,Fg).call(this),le(this,su,Ng).call(this),_(this,Pe).removeObserver(this)}setOptions(t,n){const r=this.options,i=_(this,Pe);if(this.options=_(this,Lt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");le(this,ou,zg).call(this),_(this,Pe).setOptions(this.options),r._defaulted&&!Rg(this.options,r)&&_(this,Lt).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Pe),observer:this});const s=this.hasListeners();s&&ub(_(this,Pe),i,this.options,r)&&le(this,us,$a).call(this),this.updateResult(n),s&&(_(this,Pe)!==i||this.options.enabled!==r.enabled||this.options.staleTime!==r.staleTime)&&le(this,eu,$g).call(this);const o=le(this,tu,Lg).call(this);s&&(_(this,Pe)!==i||this.options.enabled!==r.enabled||o!==_(this,ii))&&le(this,nu,jg).call(this,o)}getOptimisticResult(t){const n=_(this,Lt).getQueryCache().build(_(this,Lt),t),r=this.createResult(n,t);return O8(this,r)&&(H(this,Ot,r),H(this,_o,this.options),H(this,os,_(this,Pe).state)),r}getCurrentResult(){return _(this,Ot)}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,Ao).add(t)}getCurrentQuery(){return _(this,Pe)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=_(this,Lt).defaultQueryOptions(t),r=_(this,Lt).getQueryCache().build(_(this,Lt),n);return r.isFetchingOptimistic=!0,r.fetch().then(()=>this.createResult(r,n))}fetch(t){return le(this,us,$a).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,Ot)))}createResult(t,n){var T;const r=_(this,Pe),i=this.options,s=_(this,Ot),o=_(this,os),a=_(this,_o),u=t!==r?t.state:_(this,Zl),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const C=this.hasListeners(),M=!C&&lb(t,n),k=C&&ub(t,r,n,i);(M||k)&&(d={...d,...ik(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(s&&d.data===(o==null?void 0:o.data)&&n.select===_(this,Jl))p=_(this,Oo);else try{H(this,Jl,n.select),p=n.select(d.data),p=Ig(s==null?void 0:s.data,p,n),H(this,Oo,p),H(this,Kn,null)}catch(C){H(this,Kn,C)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&x==="pending"){let C;if(s!=null&&s.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))C=s.data;else if(C=typeof n.placeholderData=="function"?n.placeholderData((T=_(this,Ro))==null?void 0:T.state.data,_(this,Ro)):n.placeholderData,n.select&&C!==void 0)try{C=n.select(C),H(this,Kn,null)}catch(M){H(this,Kn,M)}C!==void 0&&(x="success",p=Ig(s==null?void 0:s.data,C,n),f=!0)}_(this,Kn)&&(h=_(this,Kn),p=_(this,Oo),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:iy(t,n),refetch:this.refetch}}updateResult(t){const n=_(this,Ot),r=this.createResult(_(this,Pe),this.options);if(H(this,os,_(this,Pe).state),H(this,_o,this.options),_(this,os).data!==void 0&&H(this,Ro,_(this,Pe)),Rg(r,n))return;H(this,Ot,r);const i={},s=()=>{if(!n)return!0;const{notifyOnChangeProps:o}=this.options,a=typeof o=="function"?o():o;if(a==="all"||!a&&!_(this,Ao).size)return!0;const l=new Set(a??_(this,Ao));return this.options.throwOnError&&l.add("error"),Object.keys(_(this,Ot)).some(u=>{const c=u;return _(this,Ot)[c]!==n[c]&&l.has(c)})};(t==null?void 0:t.listeners)!==!1&&s()&&(i.listeners=!0),le(this,qd,sk).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&le(this,ru,Dg).call(this)}},Lt=new WeakMap,Pe=new WeakMap,Zl=new WeakMap,Ot=new WeakMap,os=new WeakMap,_o=new WeakMap,Kn=new WeakMap,Jl=new WeakMap,Oo=new WeakMap,Ro=new WeakMap,as=new WeakMap,ls=new WeakMap,ii=new WeakMap,Ao=new WeakMap,us=new WeakSet,$a=function(t){le(this,ou,zg).call(this);let n=_(this,Pe).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(dn)),n},eu=new WeakSet,$g=function(){if(le(this,iu,Fg).call(this),Wo||_(this,Ot).isStale||!Og(this.options.staleTime))return;const n=J2(_(this,Ot).dataUpdatedAt,this.options.staleTime)+1;H(this,as,setTimeout(()=>{_(this,Ot).isStale||this.updateResult()},n))},tu=new WeakSet,Lg=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Pe)):this.options.refetchInterval)??!1},nu=new WeakSet,jg=function(t){le(this,su,Ng).call(this),H(this,ii,t),!(Wo||this.options.enabled===!1||!Og(_(this,ii))||_(this,ii)===0)&&H(this,ls,setInterval(()=>{(this.options.refetchIntervalInBackground||ny.isFocused())&&le(this,us,$a).call(this)},_(this,ii)))},ru=new WeakSet,Dg=function(){le(this,eu,$g).call(this),le(this,nu,jg).call(this,le(this,tu,Lg).call(this))},iu=new WeakSet,Fg=function(){_(this,as)&&(clearTimeout(_(this,as)),H(this,as,void 0))},su=new WeakSet,Ng=function(){_(this,ls)&&(clearInterval(_(this,ls)),H(this,ls,void 0))},ou=new WeakSet,zg=function(){const t=_(this,Lt).getQueryCache().build(_(this,Lt),this.options);if(t===_(this,Pe))return;const n=_(this,Pe);H(this,Pe,t),H(this,Zl,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},qd=new WeakSet,sk=function(t){pt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(_(this,Ot))}),_(this,Lt).getQueryCache().notify({query:_(this,Pe),type:"observerResultsUpdated"})})},YS);function _8(e,t){return t.enabled!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function lb(e,t){return _8(e,t)||e.state.data!==void 0&&Vg(e,t,t.refetchOnMount)}function Vg(e,t,n){if(t.enabled!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&iy(e,t)}return!1}function ub(e,t,n,r){return(e!==t||r.enabled===!1)&&(!n.suspense||e.state.status!=="error")&&iy(e,n)}function iy(e,t){return t.enabled!==!1&&e.isStaleByTime(t.staleTime)}function O8(e,t){return!Rg(e.getCurrentResult(),t)}var ok=b.createContext(void 0),R8=e=>{const t=b.useContext(ok);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},A8=({client:e,children:t})=>(b.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),E.jsx(ok.Provider,{value:e,children:t})),ak=b.createContext(!1),I8=()=>b.useContext(ak);ak.Provider;function $8(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var L8=b.createContext($8()),j8=()=>b.useContext(L8);function D8(e,t){return typeof e=="function"?e(...t):!!e}var F8=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},N8=e=>{b.useEffect(()=>{e.clearReset()},[e])},z8=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&D8(n,[e.error,r]),V8=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},B8=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,U8=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function W8(e,t,n){const r=R8(n),i=I8(),s=j8(),o=r.defaultQueryOptions(e);o._optimisticResults=i?"isRestoring":"optimistic",V8(o),F8(o,s),N8(s);const[a]=b.useState(()=>new t(r,o)),l=a.getOptimisticResult(o);if(b.useSyncExternalStore(b.useCallback(u=>{const c=i?()=>{}:a.subscribe(pt.batchCalls(u));return a.updateResult(),c},[a,i]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),b.useEffect(()=>{a.setOptions(o,{listeners:!1})},[o,a]),B8(o,l))throw U8(o,a,s);if(z8({result:l,errorResetBoundary:s,throwOnError:o.throwOnError,query:r.getQueryCache().get(o.queryHash)}))throw l.error;return o.notifyOnChangeProps?l:a.trackResult(l)}function lk(e,t){return W8(e,M8,t)}async function H8(){try{return(await bu.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 G8(e){try{return(await bu.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:H8,getById:G8};var La={},ck={},up={},Js=fe&&fe.__assign||function(){return Js=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 cb(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 cb(w,v)}).join(" ")}),h};up.batch=q8;var bi={},Cs={},sy={},Bg=fe&&fe.__assign||function(){return Bg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u")){if(t==="height")return db&&fb?window.screen.height-80:window.innerHeight;if(t==="width")return db&&fb?window.screen.width:window.innerWidth}}});oy.default=Q8;var cp={};Object.defineProperty(cp,"__esModule",{value:!0});cp.SimpleInterpolation=void 0;var Y8=function(e,t,n){return e*(1-n)+t*n};cp.SimpleInterpolation=Y8;(function(e){var t=fe&&fe.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0}),e.computeStyle=e.SimpleInterpolation=e.environment=void 0;var n=t(sy);e.computeStyle=n.default;var r=t(oy);e.environment=r.default;var i=cp;Object.defineProperty(e,"SimpleInterpolation",{enumerable:!0,get:function(){return i.SimpleInterpolation}})})(Cs);Object.defineProperty(bi,"__esModule",{value:!0});bi.FadeOut=bi.FadeIn=bi.Fade=void 0;var Ld=Cs,X8=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(e,t,n)}}},out:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(t,e,n)}}}}};bi.Fade=X8;var Z8=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{in:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(e,t,n)}}}}};bi.FadeIn=Z8;var J8=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=1),{out:{style:{opacity:function(n){return(0,Ld.SimpleInterpolation)(e,t,n)}}}}};bi.FadeOut=J8;var Si={};Object.defineProperty(Si,"__esModule",{value:!0});Si.MoveOut=Si.MoveIn=Si.Move=void 0;var di=Cs,e9=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,di.SimpleInterpolation)(e,0,i),"px, ").concat((0,di.SimpleInterpolation)(t,0,i),"px)")}}},out:{style:{transform:function(i){return"translate(".concat((0,di.SimpleInterpolation)(0,n||e,i),"px, ").concat((0,di.SimpleInterpolation)(0,r||t,i),"px)")}}}}};Si.Move=e9;var t9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=100),{in:{style:{transform:function(n){return"translate(".concat((0,di.SimpleInterpolation)(e,0,n),"px, ").concat((0,di.SimpleInterpolation)(t,0,n),"px)")}}}}};Si.MoveIn=t9;var n9=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=-100),{out:{style:{transform:function(n){return"translate(".concat((0,di.SimpleInterpolation)(0,e,n),"px, ").concat((0,di.SimpleInterpolation)(0,t,n),"px)")}}}}};Si.MoveOut=n9;var Ei={};Object.defineProperty(Ei,"__esModule",{value:!0});Ei.StickyOut=Ei.StickyIn=Ei.Sticky=void 0;var xn=Cs,r9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}}}};Ei.Sticky=r9;var i9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"fixed"}},out:{style:{left:function(){return"".concat(e*xn.environment.width/100,"px")},top:function(){return"".concat(t*xn.environment.height/100,"px")},transform:"translate(-50%, -50%)",position:"absolute"}}}};Ei.StickyIn=i9;var s9=function(e,t){return e===void 0&&(e=50),t===void 0&&(t=50),{in:{style:{left:"".concat(e*xn.environment.width/100,"px"),top:"".concat(t*xn.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"absolute"}},out:{style:{left:"".concat(e*xn.environment.width/100,"px"),top:"".concat(t*xn.environment.height/100,"px"),transform:"translate(-50%, -50%)",position:"fixed"}}}};Ei.StickyOut=s9;var Pi={};Object.defineProperty(Pi,"__esModule",{value:!0});Pi.ZoomOut=Pi.ZoomIn=Pi.Zoom=void 0;var jd=Cs,o9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(e,t,n),")")}}},out:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(t,e,n),")")}}}}};Pi.Zoom=o9;var a9=function(e,t){return e===void 0&&(e=10),t===void 0&&(t=1),{in:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(e,t,n),")")}}}}};Pi.ZoomIn=a9;var l9=function(e,t){return e===void 0&&(e=1),t===void 0&&(t=10),{out:{style:{transform:function(n){return"scale(".concat((0,jd.SimpleInterpolation)(e,t,n),")")}}}}};Pi.ZoomOut=l9;(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=up;Object.defineProperty(e,"batch",{enumerable:!0,get:function(){return t.batch}});var n=bi;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=Si;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=Ei;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 s=Pi;Object.defineProperty(e,"Zoom",{enumerable:!0,get:function(){return s.Zoom}}),Object.defineProperty(e,"ZoomIn",{enumerable:!0,get:function(){return s.ZoomIn}}),Object.defineProperty(e,"ZoomOut",{enumerable:!0,get:function(){return s.ZoomOut}})})(ck);var ay={},dp={},fp={},_i={},ly={};Object.defineProperty(ly,"__esModule",{value:!0});var u9={currentY:0,viewportHeight:0,totalPage:0,totalHeight:0,totalProgress:0,realPage:0,currentPage:0,currentProgress:0};ly.default=u9;var uy={};Object.defineProperty(uy,"__esModule",{value:!0});var c9={page:0};uy.default=c9;var dk=fe&&fe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_i,"__esModule",{value:!0});_i.initialScrollPage=_i.initialScrollData=void 0;var d9=dk(ly);_i.initialScrollData=d9.default;var f9=dk(uy);_i.initialScrollPage=f9.default;Object.defineProperty(fp,"__esModule",{value:!0});fp.ScrollDataContext=void 0;var p9=b,h9=_i;fp.ScrollDataContext=(0,p9.createContext)(h9.initialScrollData);var pp={};Object.defineProperty(pp,"__esModule",{value:!0});pp.ScrollPageContext=void 0;var m9=b,g9=_i;pp.ScrollPageContext=(0,m9.createContext)(g9.initialScrollPage);(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollPageContext=e.ScrollDataContext=void 0;var t=fp;Object.defineProperty(e,"ScrollDataContext",{enumerable:!0,get:function(){return t.ScrollDataContext}});var n=pp;Object.defineProperty(e,"ScrollPageContext",{enumerable:!0,get:function(){return n.ScrollPageContext}})})(dp);var eo=fe&&fe.__assign||function(){return eo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),a=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.all(n.map(l=>{if(l=I9(l),l in gb)return;gb[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(!!r)for(let p=s.length-1;p>=0;p--){const h=s[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":A9,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(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},Lh="generated",VH="pointerdown",BH="pointerup",UH="pointerleave",WH="pointerout",HH="pointermove",GH="touchstart",qH="touchend",KH="touchmove",QH="touchcancel",YH="resize",XH="visibilitychange",fy="tsParticles - Error",to=100,vb=.5,fk=1e3;function ZH(e){return typeof e=="boolean"}function Hl(e){return typeof e=="string"}function sa(e){return typeof e=="number"}function oc(e){return typeof e=="object"&&e!==null}function Ts(e){return Array.isArray(e)}const Wn={x:0,y:0,z:0},yb=2,$9=1;class On{constructor(t,n,r){if(this._updateFromAngle=(i,s)=>{this.x=Math.cos(i)*s,this.y=Math.sin(i)*s},!sa(t)&&t){this.x=t.x,this.y=t.y;const i=t;this.z=i.z?i.z:Wn.z}else if(t!==void 0&&n!==void 0)this.x=t,this.y=n,this.z=r??Wn.z;else throw new Error(`${fy} Vector3d not initialized correctly`)}static get origin(){return On.create(Wn.x,Wn.y,Wn.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 On.create(t.x,t.y,t.z)}static create(t,n,r){return new On(t,n,r)}add(t){return On.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 On.clone(this)}distanceTo(t){return this.sub(t).length}distanceToSq(t){return this.sub(t).getLengthSq()}div(t){return On.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**yb+this.y**yb}mult(t){return On.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($9/t)}rotate(t){return On.create(this.x*Math.cos(t)-this.y*Math.sin(t),this.x*Math.sin(t)+this.y*Math.cos(t),Wn.z)}setTo(t){this.x=t.x,this.y=t.y;const n=t;this.z=n.z?n.z:Wn.z}sub(t){return On.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 ps extends On{constructor(t,n){super(t,n,Wn.z)}static get origin(){return ps.create(Wn.x,Wn.y)}static clone(t){return ps.create(t.x,t.y)}static create(t,n){return new ps(t,n)}}let L9=Math.random;const Ug=new Map,j9=2,D9=Math.PI*j9;function JH(e,t){Ug.get(e)||Ug.set(e,t)}function eG(e){return Ug.get(e)??(t=>t)}function sr(){return py(L9(),0,1-Number.EPSILON)}function py(e,t,n){return Math.min(Math.max(e,t),n)}function jh(e,t,n,r){return Math.floor((e*n+t*r)/(n+r))}function yo(e){const t=mp(e),n=0;let r=hp(e);return t===r&&(r=n),sr()*(t-r)+r}function st(e){return sa(e)?e:yo(e)}function hp(e){return sa(e)?e:e.min}function mp(e){return sa(e)?e:e.max}function el(e,t){if(e===t||t===void 0&&sa(e))return e;const n=hp(e),r=mp(e);return t!==void 0?{min:Math.min(n,t),max:Math.max(r,t)}:el(n,r)}function pk(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 tG(e,t){return pk(e,t).distance}function F9(e){return e*Math.PI/180}function nG(e,t,n){if(sa(e))return F9(e);const r=0,i=.5,s=.25,o=i+s;switch(e){case"top":return-Math.PI*i;case"top-right":return-Math.PI*s;case"right":return r;case"bottom-right":return Math.PI*s;case"bottom":return Math.PI*i;case"bottom-left":return Math.PI*o;case"left":return Math.PI;case"top-left":return-Math.PI*o;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 sr()*D9}}function rG(e){const t=ps.origin;return t.length=1,t.angle=e,t}function xb(e,t,n,r){return ps.create(e.x*(n-r)/(n+r)+t.x*2*r/(n+r),e.y)}function iG(e){var t,n;return{x:((t=e.position)==null?void 0:t.x)??sr()*e.size.width,y:((n=e.position)==null?void 0:n.y)??sr()*e.size.height}}function hk(e){return e?e.endsWith("%")?parseFloat(e)/to:parseFloat(e):1}const N9={debug:console.debug,error:console.error,info:console.info,log:console.log,verbose:console.log,warning:console.warn};function z9(){return N9}function wb(e){const t={bounced:!1},{pSide:n,pOtherSide:r,rectSide:i,rectOtherSide:s,velocity:o,factor:a}=e,l=.5,u=0;return r.mins.max||r.maxs.max||(n.max>=i.min&&n.max<=(i.max+i.min)*l&&o>u||n.min<=i.max&&n.min>(i.max+i.min)*l&&oe.matches(r));return Ts(n)?n.some(r=>r):n}function gp(){return typeof window>"u"||!window||typeof window.document>"u"||!window.document}function B9(){return!gp()&&typeof matchMedia<"u"}function sG(e){if(B9())return matchMedia(e)}function oG(e){if(!(gp()||typeof IntersectionObserver>"u"))return new IntersectionObserver(e)}function aG(e){if(!(gp()||typeof MutationObserver>"u"))return new MutationObserver(e)}function mk(e,t){return e===t||Ts(t)&&t.indexOf(e)>-1}async function lG(e,t){try{await document.fonts.load(`${t??"400"} 36px '${e??"Verdana"}'`)}catch{}}function U9(e){return Math.floor(sr()*e.length)}function hy(e,t,n=!0){return e[t!==void 0&&n?t%e.length:U9(e)]}function uG(e,t,n,r,i){return W9(gk(e,r??0),t,n,i)}function W9(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 gk(e,t){return{bottom:e.y+t,left:e.x-t,right:e.x+t,top:e.y-t}}function bb(e,...t){for(const n of t){if(n==null)continue;if(!oc(n)){e=n;continue}const r=Array.isArray(n);r&&(oc(e)||!e||!Array.isArray(e))?e=[]:!r&&(oc(e)||!e||Array.isArray(e))&&(e={});for(const i in n){if(i==="__proto__")continue;const s=n,o=s[i],a=e;a[i]=oc(o)&&Array.isArray(o)?o.map(l=>bb(a[i],l)):bb(a[i],o)}}return e}function cG(e,t){return!!yk(t,n=>n.enable&&mk(e,n.mode))}function dG(e,t,n){Gl(t,r=>{const i=r.mode;r.enable&&mk(e,i)&&H9(r,n)})}function H9(e,t){const n=e.selectors;Gl(n,r=>{t(r,e)})}function fG(e,t){if(!(!t||!e))return yk(e,n=>V9(t,n.selectors))}function pG(e){return{position:e.getPosition(),radius:e.getRadius(),mass:e.getMass(),velocity:e.velocity,factor:ps.create(st(e.options.bounce.horizontal.value),st(e.options.bounce.vertical.value))}}function hG(e,t){const{x:n,y:r}=e.velocity.sub(t.velocity),[i,s]=[e.position,t.position],{dx:o,dy:a}=pk(s,i);if(n*o+r*a<0)return;const u=-Math.atan2(a,o),c=e.mass,d=t.mass,f=e.velocity.rotate(u),p=t.velocity.rotate(u),h=xb(f,p,c,d),m=xb(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 mG(e,t){const n=e.getPosition(),r=e.getRadius(),i=gk(n,r),s=e.options.bounce,o=wb({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:st(s.horizontal.value)});o.bounced&&(o.velocity!==void 0&&(e.velocity.x=o.velocity),o.position!==void 0&&(e.position.x=o.position));const a=wb({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:st(s.vertical.value)});a.bounced&&(a.velocity!==void 0&&(e.velocity.y=a.velocity),a.position!==void 0&&(e.position.y=a.position))}function Gl(e,t){return Ts(e)?e.map((r,i)=>t(r,i)):t(e,0)}function vk(e,t,n){return Ts(e)?hy(e,t,n):e}function yk(e,t){return Ts(e)?e.find((r,i)=>t(r,i)):t(e,0)?e:void 0}function gG(e,t){const n=e.value,r=e.animation,i={delayTime:st(r.delay)*fk,enable:r.enable,value:st(e.value)*t,max:mp(n)*t,min:hp(n)*t,loops:0,maxLoops:st(r.count),time:0},s=1;if(r.enable){switch(i.decay=s-st(r.decay),r.mode){case"increase":i.status="increasing";break;case"decrease":i.status="decreasing";break;case"random":i.status=sr()>=vb?"increasing":"decreasing";break}const o=r.mode==="auto";switch(r.startValue){case"min":i.value=i.min,o&&(i.status="increasing");break;case"max":i.value=i.max,o&&(i.status="decreasing");break;case"random":default:i.value=yo(i),o&&(i.status=sr()>=vb?"increasing":"decreasing");break}}return i.initialValue=i.value,i}function G9(e,t){if(!(e.mode==="percent")){const{mode:i,...s}=e;return s}return"x"in e?{x:e.x/to*t.width,y:e.y/to*t.height}:{width:e.width/to*t.width,height:e.height/to*t.height}}function vG(e,t){return G9(e,t)}function q9(e,t,n,r,i){switch(t){case"max":n>=i&&e.destroy();break;case"min":n<=r&&e.destroy();break}}function yG(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),q9(e,r,t.value,d,f),e.destroyed||(t.value=py(t.value,d,f))}}class K9{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,s=r.indexOf(n);if(s<0)return;const a=1;i===a?this._listeners.delete(t):r.splice(s,a)}}async function Dh(e,t,n,r=!1){let i=t.get(e);return(!i||r)&&(i=await Promise.all([...n.values()].map(s=>s(e))),t.set(e,i)),i}async function Q9(e){const t=vk(e.url,e.index);if(!t)return e.fallback;const n=await fetch(t);return n.ok?await n.json():(z9().error(`${fy} ${n.status} while retrieving config file`),e.fallback)}class Y9{constructor(){this._configs=new Map,this._domArray=[],this._eventDispatcher=new K9,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){Gl(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){Gl(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 Dh(t,this.interactors,this._initializers.interactors,n)}async getMovers(t,n=!1){return await Dh(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 Dh(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(sr()*1e4)}`,{index:i,url:s}=t,o=s?await Q9({fallback:t.options,url:s,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=vk(o,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[Lh]="false";else{const x=a.getElementsByTagName("canvas");x.length?(f=x[0],f.dataset[Lh]="false"):(f=document.createElement("canvas"),f.dataset[Lh]="true",a.appendChild(f))}f.style.width||(f.style.width="100%"),f.style.height||(f.style.height="100%");const{Container:p}=await Ee(()=>import("./Container-eznMp877.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 s;const i=this.updaters.get(t);if(i)for(const o of i)(s=o.loadOptions)==null||s.call(o,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(`${fy} can only set click handlers after calling tsParticles.load()`);for(const r of n)r.addClickHandler(t)}}const Fd="random",$c="mid",vp=new Map;function Sb(e){vp.set(e.key,e)}function X9(e){for(const[,l]of vp)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),s=16;return i?{a:i[4]!==void 0?parseInt(i[4],s)/255:1,b:parseInt(i[3],s),g:parseInt(i[2],s),r:parseInt(i[1],s)}:void 0}function Nd(e,t,n=!0){if(!e)return;const r=Hl(e)?{value:e}:e;if(Hl(r.value))return xk(r.value,t,n);if(Ts(r.value))return Nd({value:hy(r.value,t,n)});for(const[,i]of vp){const s=i.handleRangeColor(r);if(s)return s}}function xk(e,t,n=!0){if(!e)return;const r=Hl(e)?{value:e}:e;if(Hl(r.value))return r.value===Fd?wk():J9(r.value);if(Ts(r.value))return xk({value:hy(r.value,t,n)});for(const[,i]of vp){const s=i.handleColor(r);if(s)return s}}function xG(e,t,n=!0){const r=Nd(e,t,n);return r?Z9(r):void 0}function Z9(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 J9(e){return X9(e)}function Ho(e){const o=(e.h%360+360)%360,a=Math.max(0,Math.min(100,e.s)),l=Math.max(0,Math.min(100,e.l)),u=o/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,R)=>{if(R<0&&R++,R>1&&R--,R*6<1)return M+(k-M)*6*R;if(R*m<1)return k;if(R*p<1*m){const V=m/p;return M+(k-M)*(V-R)*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?yo(e.offset):0,d=(e.velocity??0)*r.factor+c*3.6,f=e.decay??1,p=mp(t),h=hp(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=py(e.value,h,p)}function TG(e,t){if(!e)return;const{h:n,s:r,l:i}=e,s={h:{min:0,max:360},s:{min:0,max:100},l:{min:0,max:100}};n&&Nh(n,s.h,!1,t),r&&Nh(r,s.s,!0,t),i&&Nh(i,s.l,!0,t)}class nV{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 Ho(r)}handleRangeColor(t){const n=t.value,r=n.hsl??t.value;if(r.h!==void 0&&r.l!==void 0)return Ho({h:st(r.h),l:st(r.l),s:st(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,s=1,o=10;return r?eV({a:r.length>i?hk(r[5]):s,h:parseInt(r[1],o),l:parseInt(r[3],o),s:parseInt(r[2],o)}):void 0}}class rV{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:st(r.r),g:st(r.g),b:st(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?hk(r[5]):1,b:parseInt(r[3],i),g:parseInt(r[2],i),r:parseInt(r[1],i)}:void 0}}function iV(){const e=new rV,t=new nV;Sb(e),Sb(t);const n=new Y9;return n.init(),n}const my=iV();gp()||(window.tsParticles=my);const sV=e=>{const t=e.id??"tsparticles";return b.useEffect(()=>{let n;return my.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]),E.jsx("div",{id:t,className:e.className})};async function oV(e){await e(my)}async function aV(e,t=!0){const{loadParallaxMover:n}=await Ee(()=>import("./index-DMPiHntv.js"),[]),{loadExternalAttractInteraction:r}=await Ee(()=>import("./index-CbX3WzLy.js"),[]),{loadExternalBounceInteraction:i}=await Ee(()=>import("./index-f0Y5R12h.js"),[]),{loadExternalBubbleInteraction:s}=await Ee(()=>import("./index-BGzowP_0.js"),__vite__mapDeps([5,2])),{loadExternalConnectInteraction:o}=await Ee(()=>import("./index-DIj8RvTQ.js"),[]),{loadExternalGrabInteraction:a}=await Ee(()=>import("./index-C8Jm_qwz.js"),__vite__mapDeps([6,2])),{loadExternalPauseInteraction:l}=await Ee(()=>import("./index-BvNj9A4N.js"),[]),{loadExternalPushInteraction:u}=await Ee(()=>import("./index-8jeqNH9t.js"),[]),{loadExternalRemoveInteraction:c}=await Ee(()=>import("./index-CWmn7Rai.js"),[]),{loadExternalRepulseInteraction:d}=await Ee(()=>import("./index-DLaWeCYy.js"),[]),{loadExternalSlowInteraction:f}=await Ee(()=>import("./index-zlZQ--ql.js"),[]),{loadParticlesAttractInteraction:p}=await Ee(()=>import("./index-Br_X9sYe.js"),[]),{loadParticlesCollisionsInteraction:h}=await Ee(()=>import("./index-eSyKsngP.js"),[]),{loadParticlesLinksInteraction:m}=await Ee(()=>import("./index-D1d7-xdN.js"),__vite__mapDeps([7,2])),{loadEasingQuadPlugin:x}=await Ee(()=>import("./index-CAGs7XRz.js"),[]),{loadEmojiShape:g}=await Ee(()=>import("./index-BliiN8J0.js").then(R=>R.i),[]),{loadImageShape:y}=await Ee(()=>import("./index-DPKrWQ8D.js").then(R=>R.i),[]),{loadLineShape:v}=await Ee(()=>import("./index-BpPb_bQk.js"),[]),{loadPolygonShape:w}=await Ee(()=>import("./index-Bon8qgvy.js"),[]),{loadSquareShape:S}=await Ee(()=>import("./index-DVA_PPEu.js"),[]),{loadStarShape:P}=await Ee(()=>import("./index-CwepfaoY.js"),[]),{loadLifeUpdater:T}=await Ee(()=>import("./index-DtPrTPBH.js"),[]),{loadRotateUpdater:C}=await Ee(()=>import("./index-hmWZmbL_.js"),[]),{loadStrokeColorUpdater:M}=await Ee(()=>import("./index-BbGRzpx7.js"),[]),{loadBasic:k}=await Ee(()=>import("./index-Dk24n9rj.js"),[]);await n(e,!1),await r(e,!1),await i(e,!1),await s(e,!1),await o(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 P(e,!1),await T(e,!1),await C(e,!1),await M(e,!1),await k(e,t)}const gy="-";function lV(e){const t=cV(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;function i(o){const a=o.split(gy);return a[0]===""&&a.length!==1&&a.shift(),bk(a,t)||uV(o)}function s(o,a){const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}return{getClassGroupId:i,getConflictingClassGroupIds:s}}function bk(e,t){var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?bk(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(gy);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId}const Eb=/^\[(.+)\]$/;function uV(e){if(Eb.test(e)){const t=Eb.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}}function cV(e){const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return fV(Object.entries(e.classGroups),n).forEach(([s,o])=>{Wg(o,r,s,t)}),r}function Wg(e,t,n,r){e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Pb(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(dV(i)){Wg(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{Wg(o,Pb(t,s),n,r)})})}function Pb(e,t){let n=e;return t.split(gy).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n}function dV(e){return e.isThemeGetter}function fV(e,t){return t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e}function pV(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;function i(s,o){n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)}return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}}const Sk="!";function hV(e){const t=e.separator,n=t.length===1,r=t[0],i=t.length;return function(o){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 mV(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 gV(e){return{cache:pV(e.cacheSize),splitModifiers:hV(e),...lV(e)}}const vV=/\s+/;function yV(e,t){const{splitModifiers:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,s=new Set;return e.trim().split(vV).map(o=>{const{modifiers:a,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:c}=n(o);let d=r(c?u.substring(0,c):u),f=!!c;if(!d){if(!c)return{isTailwindClass:!1,originalClassName:o};if(d=r(u),!d)return{isTailwindClass:!1,originalClassName:o};f=!1}const p=mV(a).join(":");return{isTailwindClass:!0,modifierId:l?p+Sk:p,classGroupId:d,originalClassName:o,hasPostfixModifier:f}}).reverse().filter(o=>{if(!o.isTailwindClass)return!0;const{modifierId:a,classGroupId:l,hasPostfixModifier:u}=o,c=a+l;return s.has(c)?!1:(s.add(c),i(l,u).forEach(d=>s.add(a+d)),!0)}).reverse().map(o=>o.originalClassName).join(" ")}function xV(){let e=0,t,n,r="";for(;ed(c),e());return n=gV(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=yV(l,n);return i(l,c),c}return function(){return s(xV.apply(null,arguments))}}function Te(e){const t=n=>n[e]||[];return t.isThemeGetter=!0,t}const Pk=/^\[(?:([a-z-]+):)?(.+)\]$/i,bV=/^\d+\/\d+$/,SV=new Set(["px","full","screen"]),EV=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,PV=/\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$/,CV=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,TV=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kV=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function ar(e){return es(e)||SV.has(e)||bV.test(e)}function Br(e){return oa(e,"length",LV)}function es(e){return!!e&&!Number.isNaN(Number(e))}function ac(e){return oa(e,"number",es)}function Pa(e){return!!e&&Number.isInteger(Number(e))}function MV(e){return e.endsWith("%")&&es(e.slice(0,-1))}function te(e){return Pk.test(e)}function Ur(e){return EV.test(e)}const _V=new Set(["length","size","percentage"]);function OV(e){return oa(e,_V,Ck)}function RV(e){return oa(e,"position",Ck)}const AV=new Set(["image","url"]);function IV(e){return oa(e,AV,DV)}function $V(e){return oa(e,"",jV)}function Ca(){return!0}function oa(e,t,n){const r=Pk.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1}function LV(e){return PV.test(e)&&!CV.test(e)}function Ck(){return!1}function jV(e){return TV.test(e)}function DV(e){return kV.test(e)}function FV(){const e=Te("colors"),t=Te("spacing"),n=Te("blur"),r=Te("brightness"),i=Te("borderColor"),s=Te("borderRadius"),o=Te("borderSpacing"),a=Te("borderWidth"),l=Te("contrast"),u=Te("grayscale"),c=Te("hueRotate"),d=Te("invert"),f=Te("gap"),p=Te("gradientColorStops"),h=Te("gradientColorStopPositions"),m=Te("inset"),x=Te("margin"),g=Te("opacity"),y=Te("padding"),v=Te("saturate"),w=Te("scale"),S=Te("sepia"),P=Te("skew"),T=Te("space"),C=Te("translate"),M=()=>["auto","contain","none"],k=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto",te,t],I=()=>[te,t],$=()=>["",ar,Br],D=()=>["auto",es,te],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],N=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",te],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[es,ac],ne=()=>[es,te];return{cacheSize:500,separator:":",theme:{colors:[Ca],spacing:[ar,Br],blur:["none","",Ur,te],brightness:K(),borderColor:[e],borderRadius:["none","","full",Ur,te],borderSpacing:I(),borderWidth:$(),contrast:K(),grayscale:L(),hueRotate:ne(),invert:L(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[MV,Br],inset:R(),margin:R(),opacity:K(),padding:I(),saturate:K(),scale:K(),sepia:L(),skew:ne(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",te]}],container:["container"],columns:[{columns:[Ur]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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:[...V(),te]}],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",Pa,te]}],basis:[{basis:R()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",te]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",Pa,te]}],"grid-cols":[{"grid-cols":[Ca]}],"col-start-end":[{col:["auto",{span:["full",Pa,te]},te]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Ca]}],"row-start-end":[{row:["auto",{span:[Pa,te]},te]}],"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",te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",te]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",te,t]}],"min-w":[{"min-w":[te,t,"min","max","fit"]}],"max-w":[{"max-w":[te,t,"none","full","min","max","fit","prose",{screen:[Ur]},Ur]}],h:[{h:[te,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[te,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[te,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ur,Br]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ac]}],"font-family":[{font:[Ca]}],"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",te]}],"line-clamp":[{"line-clamp":["none",es,ac]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",ar,te]}],"list-image":[{"list-image":["none",te]}],"list-style-type":[{list:["none","disc","decimal",te]}],"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",ar,Br]}],"underline-offset":[{"underline-offset":["auto",ar,te]}],"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",te]}],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",te]}],"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:[...V(),RV]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",OV]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},IV]}],"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:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"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":[ar,te]}],"outline-w":[{outline:[ar,Br]}],"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":[ar,Br]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ur,$V]}],"shadow-color":[{shadow:[Ca]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Ur,te]}],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":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",te]}],duration:[{duration:ne()}],ease:[{ease:["linear","in","out","in-out",te]}],delay:[{delay:ne()}],animate:[{animate:["none","spin","ping","pulse","bounce",te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[Pa,te]}],"translate-x":[{"translate-x":[C]}],"translate-y":[{"translate-y":[C]}],"skew-x":[{"skew-x":[P]}],"skew-y":[{"skew-y":[P]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",te]}],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",te]}],"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",te]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[ar,Br,ac]}],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 NV=wV(FV);function Cb(...e){return NV(re(e))}const Tk=b.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),yp=b.createContext({}),vy=b.createContext(null),yy=typeof document<"u",xy=yy?b.useLayoutEffect:b.useEffect,kk=b.createContext({strict:!1}),wy=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),zV="framerAppearId",Mk="data-"+wy(zV),VV={skipAnimations:!1,useManualTiming:!1};class Tb{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 BV(e){let t=new Tb,n=new Tb,r=0,i=!1,s=!1;const o=new WeakSet,a={schedule:(l,u=!1,c=!1)=>{const d=c&&i,f=d?t:n;return u&&o.add(l),f.add(l)&&d&&i&&(r=t.order.length),l},cancel:l=>{n.remove(l),o.delete(l)},process:l=>{if(i){s=!0;return}if(i=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let u=0;u(d[f]=BV(()=>n=!0),d),{}),o=d=>{s[d].process(i)},a=()=>{const d=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(d-i.timestamp,UV),1),i.timestamp=d,i.isProcessing=!0,lc.forEach(o),i.isProcessing=!1,n&&t&&(r=!1,e(a))},l=()=>{n=!0,r=!0,i.isProcessing||e(a)};return{schedule:lc.reduce((d,f)=>{const p=s[f];return d[f]=(h,m=!1,x=!1)=>(n||l(),p.schedule(h,m,x)),d},{}),cancel:d=>lc.forEach(f=>s[f].cancel(d)),state:i,steps:s}}const{schedule:by,cancel:kG}=_k(queueMicrotask,!1);function WV(e,t,n,r){const{visualElement:i}=b.useContext(yp),s=b.useContext(kk),o=b.useContext(vy),a=b.useContext(Tk).reducedMotion,l=b.useRef();r=r||s.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:o,blockInitialAnimation:o?o.initial===!1:!1,reducedMotionConfig:a}));const u=l.current;b.useInsertionEffect(()=>{u&&u.update(n,o)});const c=b.useRef(!!(n[Mk]&&!window.HandoffComplete));return xy(()=>{u&&(by.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 no(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function HV(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):no(n)&&(n.current=r))},[t])}function ql(e){return typeof e=="string"||Array.isArray(e)}function xp(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Sy=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ey=["initial",...Sy];function wp(e){return xp(e.animate)||Ey.some(t=>ql(e[t]))}function Ok(e){return!!(wp(e)||e.variants)}function GV(e,t){if(wp(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ql(n)?n:void 0,animate:ql(r)?r:void 0}}return e.inherit!==!1?t:{}}function qV(e){const{initial:t,animate:n}=GV(e,b.useContext(yp));return b.useMemo(()=>({initial:t,animate:n}),[kb(t),kb(n)])}function kb(e){return Array.isArray(e)?e.join(" "):e}const Mb={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"]},Kl={};for(const e in Mb)Kl[e]={isEnabled:t=>Mb[e].some(n=>!!t[n])};function KV(e){for(const t in e)Kl[t]={...Kl[t],...e[t]}}const Rk=b.createContext({}),Ak=b.createContext({}),QV=Symbol.for("motionComponentSymbol");function YV({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&KV(e);function s(a,l){let u;const c={...b.useContext(Tk),...a,layoutId:XV(a)},{isStatic:d}=c,f=qV(a),p=r(a,d);if(!d&&yy){f.visualElement=WV(i,p,c,t);const h=b.useContext(Ak),m=b.useContext(kk).strict;f.visualElement&&(u=f.visualElement.loadFeatures(c,m,e,h))}return E.jsxs(yp.Provider,{value:f,children:[u&&f.visualElement?E.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,HV(p,f.visualElement,l),p,d,f.visualElement)]})}const o=b.forwardRef(s);return o[QV]=i,o}function XV({layoutId:e}){const t=b.useContext(Rk).id;return t&&e!==void 0?t+"-"+e:e}function ZV(e){function t(r,i={}){return YV(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 JV=["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 Py(e){return typeof e!="string"||e.includes("-")?!1:!!(JV.indexOf(e)>-1||/[A-Z]/u.test(e))}const zd={};function e7(e){Object.assign(zd,e)}const Tu=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ks=new Set(Tu);function Ik(e,{layout:t,layoutId:n}){return ks.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!zd[e]||e==="opacity")}const kt=e=>!!(e&&e.getVelocity),t7={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},n7=Tu.length;function r7(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let s="";for(let o=0;ot=>typeof t=="string"&&t.startsWith(e),Lk=$k("--"),i7=$k("var(--"),Cy=e=>i7(e)?s7.test(e.split("/*")[0].trim()):!1,s7=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,o7=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Oi=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},tl={...aa,transform:e=>Oi(0,1,e)},uc={...aa,default:1},nl=e=>Math.round(e*1e5)/1e5,Ty=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,a7=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,l7=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ku(e){return typeof e=="string"}const Mu=e=>({test:t=>ku(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Hr=Mu("deg"),rr=Mu("%"),Z=Mu("px"),u7=Mu("vh"),c7=Mu("vw"),_b={...rr,parse:e=>rr.parse(e)/100,transform:e=>rr.transform(e*100)},Ob={...aa,transform:Math.round},jk={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:Hr,rotateX:Hr,rotateY:Hr,rotateZ:Hr,scale:uc,scaleX:uc,scaleY:uc,scaleZ:uc,skew:Hr,skewX:Hr,skewY:Hr,distance:Z,translateX:Z,translateY:Z,translateZ:Z,x:Z,y:Z,z:Z,perspective:Z,transformPerspective:Z,opacity:tl,originX:_b,originY:_b,originZ:Z,zIndex:Ob,backgroundPositionX:Z,backgroundPositionY:Z,fillOpacity:tl,strokeOpacity:tl,numOctaves:Ob};function ky(e,t,n,r){const{style:i,vars:s,transform:o,transformOrigin:a}=e;let l=!1,u=!1,c=!0;for(const d in t){const f=t[d];if(Lk(d)){s[d]=f;continue}const p=jk[d],h=o7(f,p);if(ks.has(d)){if(l=!0,o[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=r7(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 My=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Dk(e,t,n){for(const r in t)!kt(t[r])&&!Ik(r,n)&&(e[r]=t[r])}function d7({transformTemplate:e},t,n){return b.useMemo(()=>{const r=My();return ky(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function f7(e,t,n){const r=e.style||{},i={};return Dk(i,r,e),Object.assign(i,d7(e,t,n)),i}function p7(e,t,n){const r={},i=f7(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 h7=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 Vd(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||h7.has(e)}let Fk=e=>!Vd(e);function m7(e){e&&(Fk=t=>t.startsWith("on")?!Vd(t):e(t))}try{m7(require("@emotion/is-prop-valid").default)}catch{}function g7(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(Fk(i)||n===!0&&Vd(i)||!t&&!Vd(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}function Rb(e,t,n){return typeof e=="string"?e:Z.transform(t+n*e)}function v7(e,t,n){const r=Rb(t,e.x,e.width),i=Rb(n,e.y,e.height);return`${r} ${i}`}const y7={offset:"stroke-dashoffset",array:"stroke-dasharray"},x7={offset:"strokeDashoffset",array:"strokeDasharray"};function w7(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?y7:x7;e[s.offset]=Z.transform(-r);const o=Z.transform(t),a=Z.transform(n);e[s.array]=`${o} ${a}`}function _y(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},c,d,f){if(ky(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||s!==void 0||h.transform)&&(h.transformOrigin=v7(m,i!==void 0?i:.5,s!==void 0?s:.5)),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),o!==void 0&&w7(p,o,a,l,!1)}const Nk=()=>({...My(),attrs:{}}),Oy=e=>typeof e=="string"&&e.toLowerCase()==="svg";function b7(e,t,n,r){const i=b.useMemo(()=>{const s=Nk();return _y(s,t,{enableHardwareAcceleration:!1},Oy(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};Dk(s,e.style,e),i.style={...s,...i.style}}return i}function S7(e=!1){return(n,r,i,{latestValues:s},o)=>{const l=(Py(n)?b7:p7)(r,s,o,n),u=g7(r,typeof n=="string",e),c=n!==b.Fragment?{...u,...l,ref:i}:{},{children:d}=r,f=b.useMemo(()=>kt(d)?d.get():d,[d]);return b.createElement(n,{...c,children:f})}}function zk(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const Vk=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 Bk(e,t,n,r){zk(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(Vk.has(i)?i:wy(i),t.attrs[i])}function Ry(e,t,n){var r;const{style:i}=e,s={};for(const o in i)(kt(i[o])||t.style&&kt(t.style[o])||Ik(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(s[o]=i[o]);return s}function Uk(e,t,n){const r=Ry(e,t,n);for(const i in e)if(kt(e[i])||kt(t[i])){const s=Tu.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}function Ay(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 Iy(e){const t=b.useRef(null);return t.current===null&&(t.current=e()),t.current}const Hg=e=>Array.isArray(e),E7=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),P7=e=>Hg(e)?e[e.length-1]||0:e;function Lc(e){const t=kt(e)?e.get():e;return E7(t)?t.toValue():t}function C7({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,s){const o={latestValues:T7(r,i,s,e),renderState:t()};return n&&(o.mount=a=>n(r,a,o)),o}const Wk=e=>(t,n)=>{const r=b.useContext(yp),i=b.useContext(vy),s=()=>C7(e,t,r,i);return n?s():Iy(s)};function T7(e,t,n,r){const i={},s=r(e,{});for(const f in s)i[f]=Lc(s[f]);let{initial:o,animate:a}=e;const l=wp(e),u=Ok(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?a:o;return d&&typeof d!="boolean"&&!xp(d)&&(Array.isArray(d)?d:[d]).forEach(p=>{const h=Ay(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 mt=e=>e,{schedule:We,cancel:Or,state:rt,steps:zh}=_k(typeof requestAnimationFrame<"u"?requestAnimationFrame:mt,!0),k7={useVisualState:Wk({scrapeMotionValuesFromProps:Uk,createRenderState:Nk,onMount:(e,t,{renderState:n,latestValues:r})=>{We.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),We.render(()=>{_y(n,r,{enableHardwareAcceleration:!1},Oy(t.tagName),e.transformTemplate),Bk(t,n)})}})},M7={useVisualState:Wk({scrapeMotionValuesFromProps:Ry,createRenderState:My})};function _7(e,{forwardMotionProps:t=!1},n,r){return{...Py(e)?k7:M7,preloadedFeatures:n,useRender:S7(t),createVisualElement:r,Component:e}}function gr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Hk=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function bp(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const O7=e=>t=>Hk(t)&&e(t,bp(t));function Sr(e,t,n,r){return gr(e,t,O7(n),r)}const R7=(e,t)=>n=>t(e(n)),Er=(...e)=>e.reduce(R7);function Gk(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const Ab=Gk("dragHorizontal"),Ib=Gk("dragVertical");function qk(e){let t=!1;if(e==="y")t=Ib();else if(e==="x")t=Ab();else{const n=Ab(),r=Ib();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function Kk(){const e=qk(!0);return e?(e(),!1):!0}class ji{constructor(t){this.isMounted=!1,this.node=t}update(){}}function $b(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd",i=(s,o)=>{if(s.pointerType==="touch"||Kk())return;const a=e.getProps();e.animationState&&a.whileHover&&e.animationState.setActive("whileHover",t);const l=a[r];l&&l(s,o)};return Sr(e.current,n,i,{passive:!e.getProps()[r]})}class A7 extends ji{mount(){this.unmount=Er($b(this.node,!0),$b(this.node,!1))}unmount(){}}class I7 extends ji{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=Er(gr(this.node.current,"focus",()=>this.onFocus()),gr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Qk=(e,t)=>t?e===t?!0:Qk(e,t.parentElement):!1;function Vh(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,bp(n))}class $7 extends ji{constructor(){super(...arguments),this.removeStartListeners=mt,this.removeEndListeners=mt,this.removeAccessibleListeners=mt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=Sr(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:d}=this.node.getProps();!d&&!Qk(this.node.current,a.target)?c&&c(a,l):u&&u(a,l)},{passive:!(r.onTap||r.onPointerUp)}),o=Sr(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Er(s,o),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const o=a=>{a.key!=="Enter"||!this.checkPressEnd()||Vh("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&c(l,u)})};this.removeEndListeners(),this.removeEndListeners=gr(this.node.current,"keyup",o),Vh("down",(a,l)=>{this.startPress(a,l)})},n=gr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Vh("cancel",(s,o)=>this.cancelPress(s,o))},i=gr(this.node.current,"blur",r);this.removeAccessibleListeners=Er(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),!Kk()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&r(t,n)}mount(){const t=this.node.getProps(),n=Sr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=gr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Er(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Gg=new WeakMap,Bh=new WeakMap,L7=e=>{const t=Gg.get(e.target);t&&t(e)},j7=e=>{e.forEach(L7)};function D7({root:e,...t}){const n=e||document;Bh.has(n)||Bh.set(n,{});const r=Bh.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(j7,{root:e,...t})),r[i]}function F7(e,t,n){const r=D7(t);return Gg.set(e,n),r.observe(e),()=>{Gg.delete(e),r.unobserve(e)}}const N7={some:0,all:1};class z7 extends ji{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:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:N7[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!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 F7(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(V7(t,n))&&this.startObserver()}unmount(){}}function V7({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const B7={inView:{Feature:z7},tap:{Feature:$7},focus:{Feature:I7},hover:{Feature:A7}};function Yk(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 W7(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Sp(e,t,n){const r=e.getProps();return Ay(r,t,n!==void 0?n:r.custom,U7(e),W7(e))}const Ci=e=>e*1e3,Pr=e=>e/1e3,H7={type:"spring",stiffness:500,damping:25,restSpeed:10},G7=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),q7={type:"keyframes",duration:.8},K7={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Q7=(e,{keyframes:t})=>t.length>2?q7:ks.has(e)?e.startsWith("scale")?G7(t[1]):H7:K7;function Y7({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function $y(e,t){return e[t]||e.default||e}const X7=e=>e!==null;function Ep(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(X7),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}let jc;function Z7(){jc=void 0}const Ti={now:()=>(jc===void 0&&Ti.set(rt.isProcessing||VV.useManualTiming?rt.timestamp:performance.now()),jc),set:e=>{jc=e,queueMicrotask(Z7)}},Xk=e=>/^0[^.\s]+$/u.test(e);function J7(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Xk(e):!0}let eB=mt,Ly=mt;const Zk=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),tB=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function nB(e){const t=tB.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}function Jk(e,t,n=1){const[r,i]=nB(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return Zk(o)?parseFloat(o):o}return Cy(i)?Jk(i,t,n+1):i}const rB=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Lb=e=>e===aa||e===Z,jb=(e,t)=>parseFloat(e.split(", ")[t]),Db=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/u);if(i)return jb(i[1],t);{const s=r.match(/^matrix\((.+)\)$/u);return s?jb(s[1],e):0}},iB=new Set(["x","y","z"]),sB=Tu.filter(e=>!iB.has(e));function oB(e){const t=[];return sB.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Go={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:Db(4,13),y:Db(5,14)};Go.translateX=Go.x;Go.translateY=Go.y;const eM=e=>t=>t.test(e),aB={test:e=>e==="auto",parse:e=>e},tM=[aa,Z,rr,Hr,c7,u7,aB],Fb=e=>tM.find(eM(e)),hs=new Set;let qg=!1,Kg=!1;function nM(){if(Kg){const e=Array.from(hs).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=oB(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(([s,o])=>{var a;(a=r.getValue(s))===null||a===void 0||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Kg=!1,qg=!1,hs.forEach(e=>e.complete()),hs.clear()}function rM(){hs.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Kg=!0)})}function lB(){rM(),nM()}class jy{constructor(t,n,r,i,s,o=!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=s,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(hs.add(this),qg||(qg=!0,We.read(rM),We.resolveKeyframes(nM))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;for(let s=0;sn=>!!(ku(n)&&l7.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),iM=(e,t,n)=>r=>{if(!ku(r))return r;const[i,s,o,a]=r.match(Ty);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},uB=e=>Oi(0,255,e),Uh={...aa,transform:e=>Math.round(uB(e))},ts={test:Dy("rgb","red"),parse:iM("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Uh.transform(e)+", "+Uh.transform(t)+", "+Uh.transform(n)+", "+nl(tl.transform(r))+")"};function cB(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 Qg={test:Dy("#"),parse:cB,transform:ts.transform},ro={test:Dy("hsl","hue"),parse:iM("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+rr.transform(nl(t))+", "+rr.transform(nl(n))+", "+nl(tl.transform(r))+")"},Ct={test:e=>ts.test(e)||Qg.test(e)||ro.test(e),parse:e=>ts.test(e)?ts.parse(e):ro.test(e)?ro.parse(e):Qg.parse(e),transform:e=>ku(e)?e:e.hasOwnProperty("red")?ts.transform(e):ro.transform(e)};function dB(e){var t,n;return isNaN(e)&&ku(e)&&(((t=e.match(Ty))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(a7))===null||n===void 0?void 0:n.length)||0)>0}const sM="number",oM="color",fB="var",pB="var(",Nb="${}",hB=/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 Bd(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(hB,l=>(Ct.test(l)?(r.color.push(s),i.push(oM),n.push(Ct.parse(l))):l.startsWith(pB)?(r.var.push(s),i.push(fB),n.push(l)):(r.number.push(s),i.push(sM),n.push(parseFloat(l))),++s,Nb)).split(Nb);return{values:n,split:a,indexes:r,types:i}}function aM(e){return Bd(e).values}function lM(e){const{split:t,types:n}=Bd(e),r=t.length;return i=>{let s="";for(let o=0;otypeof e=="number"?0:e;function gB(e){const t=aM(e);return lM(e)(t.map(mB))}const Ri={test:dB,parse:aM,createTransformer:lM,getAnimatableNone:gB},vB=new Set(["brightness","contrast","saturate","opacity"]);function yB(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Ty)||[];if(!r)return e;const i=n.replace(r,"");let s=vB.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const xB=/\b([a-z-]*)\(.*?\)/gu,Yg={...Ri,getAnimatableNone:e=>{const t=e.match(xB);return t?t.map(yB).join(" "):e}},wB={...jk,color:Ct,backgroundColor:Ct,outlineColor:Ct,fill:Ct,stroke:Ct,borderColor:Ct,borderTopColor:Ct,borderRightColor:Ct,borderBottomColor:Ct,borderLeftColor:Ct,filter:Yg,WebkitFilter:Yg},Fy=e=>wB[e];function uM(e,t){let n=Fy(e);return n!==Yg&&(n=Ri),n.getAnimatableNone?n.getAnimatableNone(t):void 0}function bB(e,t,n){let r=0,i;for(;r{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function SB(e){let t;return()=>(t===void 0&&(t=e()),t)}const zb=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ri.test(e)||e==="0")&&!e.startsWith("url("));function EB(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n{this.resolveFinishedPromise=t})}}function Ny(e,t){return t?e*(1e3/t):0}const CB=5;function fM(e,t,n){const r=Math.max(t-CB,0);return Ny(n-e(r),t-r)}const Wh=.001,TB=.01,kB=10,MB=.05,_B=1;function OB({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,s,o=1-t;o=Oi(MB,_B,o),e=Oi(TB,kB,Pr(e)),o<1?(i=u=>{const c=u*o,d=c*e,f=c-n,p=Xg(u,o),h=Math.exp(-d);return Wh-f/p*h},s=u=>{const d=u*o*e,f=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,h=Math.exp(-d),m=Xg(Math.pow(u,2),o);return(-i(u)+Wh>0?-1:1)*((f-p)*h)/m}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Wh+c*d},s=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=AB(i,s,a);if(e=Ci(e),isNaN(l))return{stiffness:100,damping:10,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const RB=12;function AB(e,t,n){let r=n;for(let i=1;ie[n]!==void 0)}function LB(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Vb(e,$B)&&Vb(e,IB)){const n=OB(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function pM({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],s=e[e.length-1],o={done:!1,value:i},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:f}=LB({...r,velocity:-Pr(r.velocity||0)}),p=d||0,h=l/(2*Math.sqrt(a*u)),m=s-i,x=Pr(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=Xg(x,h);y=w=>{const S=Math.exp(-h*x*w);return s-S*((p+h*x*m)/v*Math.sin(v*w)+m*Math.cos(v*w))}}else if(h===1)y=v=>s-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),P=Math.min(v*w,300);return s-S*((p+h*x*m)*Math.sinh(P)+v*m*Math.cosh(P))/v}}return{calculatedDuration:f&&c||null,next:v=>{const w=y(v);if(f)o.done=v>=c;else{let S=p;v!==0&&(h<1?S=fM(y,v,w):S=0);const P=Math.abs(S)<=n,T=Math.abs(s-w)<=t;o.done=P&&T}return o.value=o.done?s:w,o}}}function Bb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=C=>a!==void 0&&Cl,h=C=>a===void 0?l:l===void 0||Math.abs(a-C)-m*Math.exp(-C/r),v=C=>g+y(C),w=C=>{const M=y(C),k=v(C);f.done=Math.abs(M)<=u,f.value=f.done?g:k};let S,P;const T=C=>{p(f.value)&&(S=C,P=pM({keyframes:[f.value,h(f.value)],velocity:fM(v,C,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return T(0),{calculatedDuration:null,next:C=>{let M=!1;return!P&&S===void 0&&(M=!0,w(C),T(C)),S!==void 0&&C>=S?P.next(C-S):(!M&&w(C),f)}}}const hM=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,jB=1e-7,DB=12;function FB(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=hM(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>jB&&++aFB(s,0,1,e,n);return s=>s===0||s===1?s:hM(i(s),t,r)}const NB=_u(.42,0,1,1),zB=_u(0,0,.58,1),mM=_u(.42,0,.58,1),VB=e=>Array.isArray(e)&&typeof e[0]!="number",gM=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,vM=e=>t=>1-e(1-t),zy=e=>1-Math.sin(Math.acos(e)),yM=vM(zy),BB=gM(zy),xM=_u(.33,1.53,.69,.99),Vy=vM(xM),UB=gM(Vy),WB=e=>(e*=2)<1?.5*Vy(e):.5*(2-Math.pow(2,-10*(e-1))),HB={linear:mt,easeIn:NB,easeInOut:mM,easeOut:zB,circIn:zy,circInOut:BB,circOut:yM,backIn:Vy,backInOut:UB,backOut:xM,anticipate:WB},Ub=e=>{if(Array.isArray(e)){Ly(e.length===4);const[t,n,r,i]=e;return _u(t,n,r,i)}else if(typeof e=="string")return HB[e];return e},qo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Ie=(e,t,n)=>e+(t-e)*n;function Hh(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 GB({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Hh(l,a,e+1/3),s=Hh(l,a,e),o=Hh(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}const Gh=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},qB=[Qg,ts,ro],KB=e=>qB.find(t=>t.test(e));function Wb(e){const t=KB(e);let n=t.parse(e);return t===ro&&(n=GB(n)),n}const Hb=(e,t)=>{const n=Wb(e),r=Wb(t),i={...n};return s=>(i.red=Gh(n.red,r.red,s),i.green=Gh(n.green,r.green,s),i.blue=Gh(n.blue,r.blue,s),i.alpha=Ie(n.alpha,r.alpha,s),ts.transform(i))};function Zg(e,t){return n=>n>0?t:e}function QB(e,t){return n=>Ie(e,t,n)}function By(e){return typeof e=="number"?QB:typeof e=="string"?Cy(e)?Zg:Ct.test(e)?Hb:ZB:Array.isArray(e)?wM:typeof e=="object"?Ct.test(e)?Hb:YB:Zg}function wM(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>By(s)(s,t[o]));return s=>{for(let o=0;o{for(const s in r)n[s]=r[s](i);return n}}function XB(e,t){var n;const r=[],i={color:0,var:0,number:0};for(let s=0;s{const n=Ri.createTransformer(t),r=Bd(e),i=Bd(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?Er(wM(XB(r,i),i.values),n):Zg(e,t)};function bM(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Ie(e,t,n):By(e)(e,t)}function JB(e,t,n){const r=[],i=n||bM,s=e.length-1;for(let o=0;ot[0];if(s===2&&e[0]===e[1])return()=>t[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const o=JB(t,r,i),a=o.length,l=u=>{let c=0;if(a>1)for(;cl(Oi(e[0],e[s-1],u)):l}function eU(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=qo(0,t,r);e.push(Ie(n,1,i))}}function EM(e){const t=[0];return eU(t,e.length-1),t}function tU(e,t){return e.map(n=>n*t)}function nU(e,t){return e.map(()=>t||mM).splice(0,e.length-1)}function Ud({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=VB(r)?r.map(Ub):Ub(r),s={done:!1,value:t[0]},o=tU(n&&n.length===t.length?n:EM(t),e),a=SM(o,t,{ease:Array.isArray(i)?i:nU(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const Gb=2e4;function rU(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Gb?1/0:t}const iU=e=>{const t=({timestamp:n})=>e(n);return{start:()=>We.update(t,!0),stop:()=>Or(t),now:()=>rt.isProcessing?rt.timestamp:Ti.now()}},sU={decay:Bb,inertia:Bb,tween:Ud,keyframes:Ud,spring:pM},oU=e=>e/100;class Uy extends dM{constructor({KeyframeResolver:t=jy,...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:s}=this.options,o=(a,l)=>this.onKeyframesResolved(a,l);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(s,o,r,i):this.resolver=new t(s,o,r,i),this.resolver.scheduleResolve()}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=this.options,a=sU[n]||Ud;let l,u;a!==Ud&&typeof t[0]!="number"&&(l=Er(oU,bM(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});s==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=rU(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:C}=this.options;return{done:!0,value:C[C.length-1]}}const{finalKeyframe:i,generator:s,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return s.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=s;if(p){const C=Math.min(this.currentTime,c)/d;let M=Math.floor(C),k=C%1;!k&&C>=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=o)),v=Oi(0,1,k)*d}const S=y?{done:!1,value:l[0]}:w.next(v);a&&(S.value=a(S.value));let{done:P}=S;!y&&u!==null&&(P=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const T=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&P);return T&&i!==void 0&&(S.value=Ep(l,this.options,i)),x&&x(S.value),T&&this.finish(),S}get duration(){const{resolved:t}=this;return t?Pr(t.calculatedDuration):0}get time(){return Pr(this.currentTime)}set time(t){t=Ci(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=Pr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=iU,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 PM=e=>Array.isArray(e)&&typeof e[0]=="number";function CM(e){return!!(!e||typeof e=="string"&&e in Wy||PM(e)||Array.isArray(e)&&e.every(CM))}const ja=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Wy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ja([0,.65,.55,1]),circOut:ja([.55,0,1,.45]),backIn:ja([.31,.01,.66,-.59]),backOut:ja([.33,1.53,.69,.99])};function aU(e){return TM(e)||Wy.easeOut}function TM(e){if(e)return PM(e)?ja(e):Array.isArray(e)?e.map(aU):Wy[e]}function lU(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=TM(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"})}const uU=SB(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),cU=new Set(["opacity","clipPath","filter","transform"]),Wd=10,dU=2e4;function fU(e){return e.type==="spring"||e.name==="backgroundColor"||!CM(e.ease)}function pU(e,t){const n=new Uy({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const i=[];let s=0;for(;!r.done&&sthis.onKeyframesResolved(s,o),n,r),this.resolver.scheduleResolve()}initPlayback(t,n){var r;let{duration:i=300,times:s,ease:o,type:a,motionValue:l,name:u}=this.options;if(!(!((r=l.owner)===null||r===void 0)&&r.current))return!1;if(fU(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,...h}=this.options,m=pU(t,h);t=m.keyframes,t.length===1&&(t[1]=t[0]),i=m.duration,s=m.times,o=m.ease,a="keyframes"}const c=lU(l.owner.current,u,t,{...this.options,duration:i,times:s,ease:o});return c.startTime=Ti.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;l.set(Ep(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:i,times:s,type:a,ease:o,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return Pr(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return Pr(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=Ci(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 mt;const{animation:r}=n;r.timeline=t,r.onfinish=null}return mt}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:s,ease:o,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 Uy({...d,keyframes:r,duration:i,type:s,ease:o,times:a,isGenerator:!0}),p=Ci(this.time);l.setWithVelocity(f.sample(p-Wd).value,f.sample(p).value,Wd)}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:s,damping:o,type:a}=t;return uU()&&r&&cU.has(r)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&s!=="mirror"&&o!==0&&a!=="inertia"}}const Hy=(e,t,n,r={},i,s)=>o=>{const a=$y(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-Ci(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:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};Y7(a)||(c={...c,...Q7(e,c)}),c.duration&&(c.duration=Ci(c.duration)),c.repeatDelay&&(c.repeatDelay=Ci(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&&!s&&t.get()!==void 0){const f=Ep(c.keyframes,a);if(f!==void 0){We.update(()=>{c.onUpdate(f),c.onComplete()});return}}return!s&&qb.supports(c)?new qb(c):new Uy(c)};function Hd(e){return!!(kt(e)&&e.add)}function Gy(e,t){e.indexOf(t)===-1&&e.push(t)}function qy(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Ky{constructor(){this.subscriptions=[]}add(t){return Gy(this.subscriptions,t),()=>qy(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 s=0;s!isNaN(parseFloat(e));class mU{constructor(t,n={}){this.version="11.1.7",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,i=!0)=>{const s=Ti.now();this.updatedAt!==s&&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=hU(this.current),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Ti.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 Ky);const r=this.events[t].add(n);return t==="change"?()=>{r(),We.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=Ti.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Kb)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Kb);return Ny(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 vr(e,t){return new mU(e,t)}function gU(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,vr(n))}function Qy(e,t){const n=Sp(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=P7(s[o]);gU(e,o,a)}}function vU({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function kM(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t;const u=e.getValue("willChange");r&&(o=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in l){const p=e.getValue(f,(s=e.latestValues[f])!==null&&s!==void 0?s:null),h=l[f];if(h===void 0||d&&vU(d,f))continue;const m={delay:n,elapsed:0,...$y(o||{},f)};let x=!1;if(window.HandoffAppearAnimations){const v=e.getProps()[Mk];if(v){const w=window.HandoffAppearAnimations(v,f);w!==null&&(m.elapsed=w,x=!0)}}p.start(Hy(f,p,h,e.shouldReduceMotion&&ks.has(f)?{type:!1}:m,e,x));const g=p.animation;g&&(Hd(u)&&(u.add(f),g.then(()=>u.remove(f))),c.push(g))}return a&&Promise.all(c).then(()=>{We.update(()=>{a&&Qy(e,a)})}),c}function Jg(e,t,n={}){var r;const i=Sp(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:s=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);const o=i?()=>Promise.all(kM(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=s;return yU(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=s;if(l){const[u,c]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function yU(e,t,n=0,r=0,i=1,s){const o=[],a=(e.variantChildren.size-1)*r,l=i===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(xU).forEach((u,c)=>{u.notify("AnimationStart",t),o.push(Jg(u,t,{...s,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(o)}function xU(e,t){return e.sortNodePosition(t)}function MM(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Jg(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Jg(e,t,n);else{const i=typeof t=="function"?Sp(e,t,n.custom):t;r=Promise.all(kM(e,i,n))}return r.then(()=>{We.postRender(()=>{e.notify("AnimationComplete",t)})})}const wU=[...Sy].reverse(),bU=Sy.length;function SU(e){return t=>Promise.all(t.map(({animation:n,options:r})=>MM(e,n,r)))}function EU(e){let t=SU(e);const n=CU();let r=!0;const i=l=>(u,c)=>{var d;const f=Sp(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 s(l){t=l(e)}function o(l){const u=e.getProps(),c=e.getVariantContext(!0)||{},d=[],f=new Set;let p={},h=1/0;for(let x=0;xh&&w,M=!1;const k=Array.isArray(v)?v:[v];let R=k.reduce(i(g),{});S===!1&&(R={});const{prevResolvedValues:I={}}=y,$={...I,...R},D=V=>{C=!0,f.has(V)&&(M=!0,f.delete(V)),y.needsAnimating[V]=!0;const N=e.getValue(V);N&&(N.liveStyle=!1)};for(const V in $){const N=R[V],q=I[V];if(p.hasOwnProperty(V))continue;let O=!1;Hg(N)&&Hg(q)?O=!Yk(N,q):O=N!==q,O?N!=null?D(V):f.add(V):N!==void 0&&f.has(V)?D(V):y.protectedKeys[V]=!0}y.prevProp=v,y.prevResolvedValues=R,y.isActive&&(p={...p,...R}),r&&e.blockInitialAnimation&&(C=!1),C&&(!P||M)&&d.push(...k.map(V=>({animation:V,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=o(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n}}function PU(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Yk(t,e):!1}function Vi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function CU(){return{animate:Vi(!0),whileInView:Vi(),whileHover:Vi(),whileTap:Vi(),whileDrag:Vi(),whileFocus:Vi(),exit:Vi()}}class TU extends ji{constructor(t){super(t),t.animationState||(t.animationState=EU(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),xp(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 kU=0;class MU extends ji{constructor(){super(...arguments),this.id=kU++}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 _U={animation:{Feature:TU},exit:{Feature:MU}},Qb=(e,t)=>Math.abs(e-t);function OU(e,t){const n=Qb(e.x,t.x),r=Qb(e.y,t.y);return Math.sqrt(n**2+r**2)}class _M{constructor(t,n,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:s=!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=Kh(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=OU(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:h}=d,{timestamp:m}=rt;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=qh(f,this.transformPagePoint),We.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=Kh(d.type==="pointercancel"?this.lastMoveEventInfo:qh(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,x),h&&h(d,x)},!Hk(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=i||window;const o=bp(t),a=qh(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=rt;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Kh(a,this.history)),this.removeListeners=Er(Sr(this.contextWindow,"pointermove",this.handlePointerMove),Sr(this.contextWindow,"pointerup",this.handlePointerUp),Sr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Or(this.updatePoint)}}function qh(e,t){return t?{point:t(e.point)}:e}function Yb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Kh({point:e},t){return{point:e,delta:Yb(e,OM(t)),offset:Yb(e,RU(t)),velocity:AU(t,.1)}}function RU(e){return e[0]}function OM(e){return e[e.length-1]}function AU(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=OM(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ci(t)));)n--;if(!r)return{x:0,y:0};const s=Pr(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Zt(e){return e.max-e.min}function e0(e,t=0,n=.01){return Math.abs(e-t)<=n}function Xb(e,t,n,r=.5){e.origin=r,e.originPoint=Ie(t.min,t.max,e.origin),e.scale=Zt(n)/Zt(t),(e0(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Ie(n.min,n.max,e.origin)-e.originPoint,(e0(e.translate)||isNaN(e.translate))&&(e.translate=0)}function rl(e,t,n,r){Xb(e.x,t.x,n.x,r?r.originX:void 0),Xb(e.y,t.y,n.y,r?r.originY:void 0)}function Zb(e,t,n){e.min=n.min+t.min,e.max=e.min+Zt(t)}function IU(e,t,n){Zb(e.x,t.x,n.x),Zb(e.y,t.y,n.y)}function Jb(e,t,n){e.min=t.min-n.min,e.max=e.min+Zt(t)}function il(e,t,n){Jb(e.x,t.x,n.x),Jb(e.y,t.y,n.y)}function $U(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?Ie(n,e,r.max):Math.min(e,n)),e}function eS(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 LU(e,{top:t,left:n,bottom:r,right:i}){return{x:eS(e.x,n,i),y:eS(e.y,t,r)}}function tS(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=qo(t.min,t.max-r,e.min):r>i&&(n=qo(e.min,e.max-i,t.min)),Oi(0,1,n)}function FU(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 t0=.35;function NU(e=t0){return e===!1?e=0:e===!0&&(e=t0),{x:nS(e,"left","right"),y:nS(e,"top","bottom")}}function nS(e,t,n){return{min:rS(e,t),max:rS(e,n)}}function rS(e,t){return typeof e=="number"?e:e[t]||0}const iS=()=>({translate:0,scale:1,origin:0,originPoint:0}),io=()=>({x:iS(),y:iS()}),sS=()=>({min:0,max:0}),Be=()=>({x:sS(),y:sS()});function an(e){return[e("x"),e("y")]}function RM({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function zU({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function VU(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 Qh(e){return e===void 0||e===1}function n0({scale:e,scaleX:t,scaleY:n}){return!Qh(e)||!Qh(t)||!Qh(n)}function Gi(e){return n0(e)||AM(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function AM(e){return oS(e.x)||oS(e.y)}function oS(e){return e&&e!=="0%"}function Gd(e,t,n){const r=e-n,i=t*r;return n+i}function aS(e,t,n,r,i){return i!==void 0&&(e=Gd(e,i,r)),Gd(e,n,r)+t}function r0(e,t=0,n=1,r,i){e.min=aS(e.min,t,n,r,i),e.max=aS(e.max,t,n,r,i)}function IM(e,{x:t,y:n}){r0(e.x,t.translate,t.scale,t.originPoint),r0(e.y,n.translate,n.scale,n.originPoint)}function BU(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a1.0000000000001||e<.999999999999?e:1}function Qr(e,t){e.min=e.min+t,e.max=e.max+t}function uS(e,t,[n,r,i]){const s=t[i]!==void 0?t[i]:.5,o=Ie(e.min,e.max,s);r0(e,t[n],t[r],o,t.scale)}const UU=["x","scaleX","originX"],WU=["y","scaleY","originY"];function so(e,t){uS(e.x,t,UU),uS(e.y,t,WU)}function $M(e,t){return RM(VU(e.getBoundingClientRect(),t))}function HU(e,t,n){const r=$M(e,n),{scroll:i}=t;return i&&(Qr(r.x,i.offset.x),Qr(r.y,i.offset.y)),r}const LM=({current:e})=>e?e.ownerDocument.defaultView:null,GU=new WeakMap;class qU{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=Be(),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(bp(c,"page").point)},s=(c,d)=>{const{drag:f,dragPropagation:p,onDragStart:h}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=qk(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),an(x=>{let g=this.getAxisMotionValue(x).get()||0;if(rr.test(g)){const{projection:y}=this.visualElement;if(y&&y.layout){const v=y.layout.layoutBox[x];v&&(g=Zt(v)*(parseFloat(g)/100))}}this.originPoint[x]=g}),h&&h(c,d);const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},o=(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=KU(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=()=>an(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 _M(t,{onSessionStart:i,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:LM(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:s}=this.getProps();s&&s(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||!cc(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=$U(o,this.constraints[t],this.elastic[t])),s.set(o)}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,s=this.constraints;n&&no(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=LU(i.layoutBox,n):this.constraints=!1,this.elastic=NU(r),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&an(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=FU(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!no(t))return!1;const r=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=HU(r,i.root,this.visualElement.getTransformPagePoint());let o=jU(i.layout.layoutBox,s);if(n){const a=n(zU(o));this.hasMutatedConstraints=!!a,a&&(o=RM(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=an(c=>{if(!cc(c,n,this.currentDirection))return;let d=l&&l[c]||{};o&&(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,...s,...d};return this.startAxisValueAnimation(c,h)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Hy(t,r,0,n,this.visualElement))}stopAnimation(){an(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){an(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){an(n=>{const{drag:r}=this.getProps();if(!cc(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];s.set(t[n]-Ie(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!no(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};an(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=DU({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),an(o=>{if(!cc(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(Ie(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;GU.set(this.visualElement,this);const t=this.visualElement.current,n=Sr(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();no(l)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),r();const o=gr(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(an(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),s(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=t0,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function cc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function KU(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class QU extends ji{constructor(t){super(t),this.removeGroupControls=mt,this.removeListeners=mt,this.controls=new qU(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||mt}unmount(){this.removeGroupControls(),this.removeListeners()}}const cS=e=>(t,n)=>{e&&e(t,n)};class YU extends ji{constructor(){super(...arguments),this.removePointerDownListener=mt}onPointerDown(t){this.session=new _M(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:LM(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:cS(t),onStart:cS(n),onMove:r,onEnd:(s,o)=>{delete this.session,i&&i(s,o)}}}mount(){this.removePointerDownListener=Sr(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 XU(){const e=b.useContext(vy);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 Dc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function dS(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ta={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Z.test(e))e=parseFloat(e);else return e;const n=dS(e,t.target.x),r=dS(e,t.target.y);return`${n}% ${r}%`}},ZU={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Ri.parse(e);if(i.length>5)return r;const s=Ri.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=Ie(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}};class JU extends b.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;e7(eW),s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),Dc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,o=r.projection;return o&&(o.isPresent=s,i||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||We.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),by.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 jM(e){const[t,n]=XU(),r=b.useContext(Rk);return E.jsx(JU,{...e,layoutGroup:r,switchLayoutGroup:b.useContext(Ak),isPresent:t,safeToRemove:n})}const eW={borderRadius:{...Ta,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ta,borderTopRightRadius:Ta,borderBottomLeftRadius:Ta,borderBottomRightRadius:Ta,boxShadow:ZU},DM=["TopLeft","TopRight","BottomLeft","BottomRight"],tW=DM.length,fS=e=>typeof e=="string"?parseFloat(e):e,pS=e=>typeof e=="number"||Z.test(e);function nW(e,t,n,r,i,s){i?(e.opacity=Ie(0,n.opacity!==void 0?n.opacity:1,rW(r)),e.opacityExit=Ie(t.opacity!==void 0?t.opacity:1,0,iW(r))):s&&(e.opacity=Ie(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;ort?1:n(qo(e,t,r))}function mS(e,t){e.min=t.min,e.max=t.max}function on(e,t){mS(e.x,t.x),mS(e.y,t.y)}function gS(e,t,n,r,i){return e-=t,e=Gd(e,1/n,r),i!==void 0&&(e=Gd(e,1/i,r)),e}function sW(e,t=0,n=1,r=.5,i,s=e,o=e){if(rr.test(t)&&(t=parseFloat(t),t=Ie(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=Ie(s.min,s.max,r);e===s&&(a-=t),e.min=gS(e.min,t,n,a,i),e.max=gS(e.max,t,n,a,i)}function vS(e,t,[n,r,i],s,o){sW(e,t[n],t[r],t[i],t.scale,s,o)}const oW=["x","scaleX","originX"],aW=["y","scaleY","originY"];function yS(e,t,n,r){vS(e.x,t,oW,n?n.x:void 0,r?r.x:void 0),vS(e.y,t,aW,n?n.y:void 0,r?r.y:void 0)}function xS(e){return e.translate===0&&e.scale===1}function NM(e){return xS(e.x)&&xS(e.y)}function lW(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 zM(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 wS(e){return Zt(e.x)/Zt(e.y)}class uW{constructor(){this.members=[]}add(t){Gy(this.members,t),t.scheduleRender()}remove(t){if(qy(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 s=this.members[i];if(s.isPresent!==!1){r=s;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 bS(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}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 cW=(e,t)=>e.depth-t.depth;class dW{constructor(){this.children=[],this.isDirty=!1}add(t){Gy(this.children,t),this.isDirty=!0}remove(t){qy(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(cW),this.isDirty=!1,this.children.forEach(t)}}function fW(e,t){const n=Ti.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(Or(r),e(s-t))};return We.read(r,!0),()=>Or(r)}function pW(e){window.MotionDebug&&window.MotionDebug.record(e)}function hW(e){return e instanceof SVGElement&&e.tagName!=="svg"}function mW(e,t,n){const r=kt(e)?e:vr(e);return r.start(Hy("",r,t,n)),r.animation}const Yh=["","X","Y","Z"],gW={visibility:"hidden"},SS=1e3;let vW=0;const qi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Xh(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function VM({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=vW++,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,qi.totalNodes=qi.resolvedTargetDeltas=qi.recalculatedProjection=0,this.nodes.forEach(wW),this.nodes.forEach(CW),this.nodes.forEach(TW),this.nodes.forEach(bW),pW(qi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,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(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=fW(f,250),Dc.hasAnimatedSinceResize&&(Dc.hasAnimatedSinceResize=!1,this.nodes.forEach(PS))})}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()||RW,{onLayoutAnimationStart:x,onLayoutAnimationComplete:g}=c.getProps(),y=!this.targetLayout||!zM(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={...$y(m,"layout"),onPlay:x,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w)}else f||PS(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Or(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(kW),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!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(SW),this.sharedNodes.forEach(MW)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,We.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){We.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;CS(d.x,o.x,S),CS(d.y,o.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(il(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),_W(this.relativeTarget,this.relativeTargetOrigin,f,S),v&&lW(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=Be()),on(v,this.relativeTarget)),m&&(this.animationValues=c,nW(c,u,this.latestValues,S,y,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Or(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=We.update(()=>{Dc.hasAnimatedSinceResize=!0,this.currentAnimation=mW(0,SS,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(SS),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&BM(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Be();const d=Zt(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+d;const f=Zt(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}on(a,l),so(a,c),rl(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new uW),this.sharedNodes.get(o).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 o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Xh("z",o,u,this.animationValues);for(let c=0;c{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(ES),this.root.sharedNodes.clear()}}}function yW(e){e.updateLayout()}function xW(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:s}=e.options,o=n.source!==e.layout.source;s==="size"?an(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=Zt(f);f.min=r[d].min,f.max=f.min+p}):BM(s,n.layoutBox,r)&&an(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=Zt(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=io();rl(a,r,n.layoutBox);const l=io();o?rl(l,e.applyTransform(i,!0),n.measuredBox):rl(l,r,n.layoutBox);const u=!NM(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=Be();il(h,n.layoutBox,f.layoutBox);const m=Be();il(m,r,p.layoutBox),zM(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 wW(e){qi.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 bW(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function SW(e){e.clearSnapshot()}function ES(e){e.clearMeasurements()}function EW(e){e.isLayoutDirty=!1}function PW(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function PS(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function CW(e){e.resolveTargetDelta()}function TW(e){e.calcProjection()}function kW(e){e.resetSkewAndRotation()}function MW(e){e.removeLeadSnapshot()}function CS(e,t,n){e.translate=Ie(t.translate,0,n),e.scale=Ie(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function TS(e,t,n,r){e.min=Ie(t.min,n.min,r),e.max=Ie(t.max,n.max,r)}function _W(e,t,n,r){TS(e.x,t.x,n.x,r),TS(e.y,t.y,n.y,r)}function OW(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const RW={duration:.45,ease:[.4,0,.1,1]},kS=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),MS=kS("applewebkit/")&&!kS("chrome/")?Math.round:mt;function _S(e){e.min=MS(e.min),e.max=MS(e.max)}function AW(e){_S(e.x),_S(e.y)}function BM(e,t,n){return e==="position"||e==="preserve-aspect"&&!e0(wS(t),wS(n),.2)}const IW=VM({attachResizeListener:(e,t)=>gr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Zh={current:void 0},UM=VM({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Zh.current){const e=new IW({});e.mount(window),e.setOptions({layoutScroll:!0}),Zh.current=e}return Zh.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),$W={pan:{Feature:YU},drag:{Feature:QU,ProjectionNode:UM,MeasureLayout:jM}},i0={current:null},WM={current:!1};function LW(){if(WM.current=!0,!!yy)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>i0.current=e.matches;e.addListener(t),t()}else i0.current=!1}function jW(e,t,n){const{willChange:r}=t;for(const i in t){const s=t[i],o=n[i];if(kt(s))e.addValue(i,s),Hd(r)&&r.add(i);else if(kt(o))e.addValue(i,vr(s,{owner:e})),Hd(r)&&r.remove(i);else if(o!==s)if(e.hasValue(i)){const a=e.getValue(i);a.liveStyle===!0?a.jump(s):a.hasAnimated||a.set(s)}else{const a=e.getStaticValue(i);e.addValue(i,vr(a!==void 0?a:s,{owner:e}))}}for(const i in n)t[i]===void 0&&e.removeValue(i);return t}const OS=new WeakMap,DW=[...tM,Ct,Ri],FW=e=>DW.find(eM(e)),HM=Object.keys(Kl),NW=HM.length,RS=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],zW=Ey.length;function GM(e){if(e)return e.options.allowProjection!==!1?e.projection:GM(e.parent)}class VW{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:s,visualState:o},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=jy,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=()=>We.render(this.render,!1,!0);const{latestValues:l,renderState:u}=o;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=!!s,this.isControllingVariants=wp(n),this.isVariantNode=Ok(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&&kt(p)&&(p.set(l[f],!1),Hd(c)&&c.add(f))}}mount(t){this.current=t,OS.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)),WM.current||LW(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:i0.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){var t;OS.delete(this.current),this.projection&&this.projection.unmount(),Or(this.notifyUpdate),Or(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=ks.has(t),i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&We.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{i(),s(),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,s){let o,a;for(let l=0;lthis.scheduleRender(),animationType:typeof u=="string"?u:"both",initialPromotionConfig:s,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):Be()}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=vr(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"&&(Zk(i)||Xk(i))?i=parseFloat(i):!FW(i)&&Ri.test(n)&&(i=uM(t,n)),this.setBaseTarget(t,kt(i)?i.get():i)),kt(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 o=Ay(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[t])}if(r&&i!==void 0)return i;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!kt(s)?s:this.initialValues[t]!==void 0&&i===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Ky),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class qM extends VW{constructor(){super(...arguments),this.KeyframeResolver=cM}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 BW(e){return window.getComputedStyle(e)}class UW extends qM{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(ks.has(n)){const r=Fy(n);return r&&r.default||0}else{const r=BW(t),i=(Lk(n)?r.getPropertyValue(n):r[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return $M(t,n)}build(t,n,r,i){ky(t,n,r,i.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Ry(t,n,r)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;kt(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,i){zk(t,n,r,i)}}class WW extends qM{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ks.has(n)){const r=Fy(n);return r&&r.default||0}return n=Vk.has(n)?n:wy(n),t.getAttribute(n)}measureInstanceViewportBox(){return Be()}scrapeMotionValuesFromProps(t,n,r){return Uk(t,n,r)}build(t,n,r,i){_y(t,n,r,this.isSVGTag,i.transformTemplate)}renderInstance(t,n,r,i){Bk(t,n,r,i)}mount(t){this.isSVGTag=Oy(t.tagName),super.mount(t)}}const HW=(e,t)=>Py(e)?new WW(t,{enableHardwareAcceleration:!1}):new UW(t,{allowProjection:e!==b.Fragment,enableHardwareAcceleration:!0}),GW={layout:{ProjectionNode:UM,MeasureLayout:jM}},qW={..._U,...B7,...$W,...GW},KW=ZV((e,t)=>_7(e,t,qW,HW));function QW(e,t,n){var r;if(typeof e=="string"){let i=document;t&&(Ly(!!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 Fc=new WeakMap;let Gr;function YW(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 XW({target:e,contentRect:t,borderBoxSize:n}){var r;(r=Fc.get(e))===null||r===void 0||r.forEach(i=>{i({target:e,contentSize:t,get size(){return YW(e,n)}})})}function ZW(e){e.forEach(XW)}function JW(){typeof ResizeObserver>"u"||(Gr=new ResizeObserver(ZW))}function eH(e,t){Gr||JW();const n=QW(e);return n.forEach(r=>{let i=Fc.get(r);i||(i=new Set,Fc.set(r,i)),i.add(t),Gr==null||Gr.observe(r)}),()=>{n.forEach(r=>{const i=Fc.get(r);i==null||i.delete(t),i!=null&&i.size||Gr==null||Gr.unobserve(r)})}}const Nc=new Set;let sl;function tH(){sl=()=>{const e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};Nc.forEach(n=>n(t))},window.addEventListener("resize",sl)}function nH(e){return Nc.add(e),sl||tH(),()=>{Nc.delete(e),!Nc.size&&sl&&(sl=void 0)}}function rH(e,t){return typeof e=="function"?nH(e):eH(e,t)}const iH=50,AS=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),sH=()=>({time:0,x:AS(),y:AS()}),oH={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function IS(e,t,n,r){const i=n[t],{length:s,position:o}=oH[t],a=i.current,l=n.time;i.current=e[`scroll${o}`],i.scrollLength=e[`scroll${s}`]-e[`client${s}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=qo(0,i.scrollLength,i.current);const u=r-l;i.velocity=u>iH?0:Ny(i.current-a,u)}function aH(e,t,n){IS(e,"x",t,n),IS(e,"y",t,n),t.time=n}function lH(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 s=r.getBoundingClientRect();n.x+=i.left-s.left,n.y+=i.top-s.top}else if(r instanceof SVGGraphicsElement){const{x:i,y:s}=r.getBBox();n.x+=i,n.y+=s;let o=null,a=r.parentNode;for(;!o;)a.tagName==="svg"&&(o=a),a=r.parentNode;r=o}else break;return n}const uH={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},s0={start:0,center:.5,end:1};function $S(e,t,n=0){let r=0;if(e in s0&&(e=s0[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 cH=[0,0];function dH(e,t,n,r){let i=Array.isArray(e)?e:cH,s=0,o=0;return typeof e=="number"?i=[e,e]:typeof e=="string"&&(e=e.trim(),e.includes(" ")?i=e.split(" "):i=[e,s0[e]?e:"0"]),s=$S(i[0],n,r),o=$S(i[1],t),s-o}const fH={x:0,y:0};function pH(e){return"getBBox"in e&&e.tagName!=="svg"?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function hH(e,t,n){const{offset:r=uH.All}=n,{target:i=e,axis:s="y"}=n,o=s==="y"?"height":"width",a=i!==e?lH(i,e):fH,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:pH(i),u={width:e.clientWidth,height:e.clientHeight};t[s].offset.length=0;let c=!t[s].interpolate;const d=r.length;for(let f=0;fmH(e,r.target,n),update:i=>{aH(e,n,i),(r.offset||r.target)&&hH(e,n,r)},notify:()=>t(n)}}const ka=new WeakMap,LS=new WeakMap,Jh=new WeakMap,jS=e=>e===document.documentElement?window:e;function vH(e,{container:t=document.documentElement,...n}={}){let r=Jh.get(t);r||(r=new Set,Jh.set(t,r));const i=sH(),s=gH(t,e,i,n);if(r.add(s),!ka.has(t)){const a=()=>{for(const f of r)f.measure()},l=()=>{for(const f of r)f.update(rt.timestamp)},u=()=>{for(const f of r)f.notify()},c=()=>{We.read(a,!1,!0),We.read(l,!1,!0),We.update(u,!1,!0)};ka.set(t,c);const d=jS(t);window.addEventListener("resize",c,{passive:!0}),t!==document.documentElement&&LS.set(t,rH(t,c)),d.addEventListener("scroll",c,{passive:!0})}const o=ka.get(t);return We.read(o,!1,!0),()=>{var a;Or(o);const l=Jh.get(t);if(!l||(l.delete(s),l.size))return;const u=ka.get(t);ka.delete(t),u&&(jS(t).removeEventListener("scroll",u),(a=LS.get(t))===null||a===void 0||a(),window.removeEventListener("resize",u))}}function DS(e,t){eB(!!(!t||t.current))}const yH=()=>({scrollX:vr(0),scrollY:vr(0),scrollXProgress:vr(0),scrollYProgress:vr(0)});function Pp({container:e,target:t,layoutEffect:n=!0,...r}={}){const i=Iy(yH);return(n?xy:b.useEffect)(()=>(DS("target",t),DS("container",e),vH(({x:o,y:a})=>{i.scrollX.set(o.current),i.scrollXProgress.set(o.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 xH(e){e.values.forEach(t=>t.stop())}function o0(e,t){[...t].reverse().forEach(r=>{const i=e.getVariant(r);i&&Qy(e,i),e.variantChildren&&e.variantChildren.forEach(s=>{o0(s,t)})})}function wH(e,t){if(Array.isArray(t))return o0(e,t);if(typeof t=="string")return o0(e,[t]);Qy(e,t)}function bH(){const e=new Set,t={subscribe(n){return e.add(n),()=>void e.delete(n)},start(n,r){const i=[];return e.forEach(s=>{i.push(MM(s,n,{transitionOverride:r}))}),Promise.all(i)},set(n){return e.forEach(r=>{wH(r,n)})},stop(){e.forEach(n=>{xH(n)})},mount(){return()=>{t.stop()}}};return t}function SH(){const e=Iy(bH);return xy(e.mount,[]),e}const EH=SH,FS=e=>{const{id:t,className:n,background:r,minSize:i,maxSize:s,speed:o,particleColor:a,particleDensity:l}=e,[u,c]=b.useState(!1);b.useEffect(()=>{oV(async p=>{await aV(p)}).then(()=>{c(!0)})},[]);const d=EH(),f=async p=>{p&&(console.log(p),d.start({opacity:1,transition:{duration:1}}))};return E.jsx(KW.div,{animate:d,className:Cb("opacity-0",n),children:u&&E.jsx(sV,{id:t||"tsparticles",className:Cb("h-full w-full"),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:o||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:s||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 NS(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 s=i.toLowerCase().replaceAll("-","").replaceAll(" ","-");return`${bu.getUri()}/sponsor-logos/${s}.png`}return E.jsx(Y,{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:E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",height:"100%",gap:"15px"},children:[E.jsx("img",{style:{height:"48px",width:"max-content",mixBlendMode:"luminosity"},src:"/logo256.png"}),E.jsx(Y,{sx:{marginTop:"10px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"30px",maxWidth:"100%"},children:e.project.members.map(i=>E.jsx("img",{style:{maxHeight:"50px",width:"max-content",maxWidth:"100%"},src:r(i)}))}),E.jsx(Y,{sx:{flexGrow:1}}),E.jsx(ce,{sx:{lineHeight:.7,fontSize:"2.8rem",fontWeight:"bold",color:"black",textAlign:"end"},children:e.project.tier})]})})}function KM(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,s]=W.useState(0),{scrollYProgress:o}=Pp({target:t,offset:["start start","end end"]});return W.useEffect(()=>{o.on("change",a=>{a<.9&&(r(Math.abs(1-a*.08)),s(Math.abs(200*a)))})},[]),E.jsxs(Y,{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:[E.jsx(ce,{sx:{position:"sticky",top:`calc(${e.stickyPosition?"33vh":"130px"} - ${i}px)`,fontSize:"2.3rem",fontWeight:"bold",lineHeight:e.stickyPosition?.4:"unset"},children:e.title}),e.children.map((a,l)=>W.cloneElement(a,{sx:{position:"sticky",top:`calc(${e.stickyPosition??"25vh"} + ${l*40}px - ${i}px)`,transform:`scale(${1+l*.03})`}}))]})}function PH(e){const t=W.useRef(null),[n,r]=W.useState(1),[i,s]=W.useState([]),{scrollYProgress:o}=Pp({target:t,offset:["start start","end end"]});return W.useEffect(()=>{o.on("change",a=>{a<.9&&r(Math.abs(1-a*.08))}),s(()=>[{tier:"Gold",members:["Amazon Project Kuiper","Fischell Institute","Children's National","Praxis Engineering"]},{tier:"Silver",members:["MCERSI","SECU"]},{tier:"Bronze",members:["NSA"]}])},[]),E.jsxs(Y,{sx:{width:"100%",height:"100%",display:"flex",position:"relative",justifyContent:"center",padding:{xs:"15px",md:"0px 100px 0px 50px"}},children:[E.jsxs(Y,{sx:{display:{xs:"none",md:"flex"},flexDirection:"column",width:"100%",height:"max-content",position:"sticky",top:"45vh",left:"0px",textAlign:"center"},children:[E.jsx(ce,{sx:{fontSize:"2.5rem",fontWeight:"bold"},children:"Our Sponsors"}),E.jsx(Al,{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?E.jsxs(Y,{sx:{display:"flex",flexDirection:"column"},children:[E.jsx(KM,{title:"Our Sponsors",stickyPosition:"40vh",children:i.map(a=>E.jsx(NS,{project:a}))}),E.jsx(Al,{href:"/sponsor-us",color:"text.primary",sx:{fontWeight:"bold",textAlign:"center"},children:"Want to be a part of something amazing? Sponsor us today!"})]}):E.jsx(Y,{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)=>E.jsx(NS,{project:a,sx:{top:`calc(22vh + ${l*40}px)`,transform:`scale(${1+l*.03})`}}))})]})}const zS=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}=Pp({target:n,offset:["start start","end end"]});return W.useEffect(()=>{i.on("change",s=>{r.current&&(r.current.scrollLeft=(r.current.scrollWidth-r.current.clientWidth)*s)})},[]),E.jsx(Y,{ref:t,children:e.mobileView?E.jsx(KM,{title:"Projects",sx:{padding:"20px"},children:e.data.map(s=>E.jsx(fw,{mobileView:!0,project:s},s._id))}):E.jsx(Y,{ref:n,sx:{height:`${e.data.length*600}px`},children:E.jsx(Y,{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(s=>E.jsx(fw,{mobileView:!1,project:s},s._id))})})})}),VS=[{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 CH(){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-2:return"linear-gradient(to right, #667db6, #0082c8, #0082c8, #667db6);";default:return"black"}}const t=I4(LT.baseTheme.breakpoints.down("md")),[n,r]=W.useState(-120),[i]=W.useState([{title:"General Body Meeting, 3/25 8pm @ Iribe"}]),[s,o]=W.useState({start:0,end:0}),[a,l]=W.useState(!1);W.useEffect(()=>{a&&setTimeout(()=>{o(w=>(l(!1),w.start=w.end,w))},200)},[a]);function u(w){o(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}=Pp({target:c,offset:["start start","end end"]});W.useEffect(()=>{m.on("change",w=>{var I,$,D,V,N,q,O;r(Math.min(-120*(1-30*w),0));const S=(((I=c.current)==null?void 0:I.offsetHeight)??0)*w,P=((($=f==null?void 0:f.current)==null?void 0:$.offsetTop)??0)-100,T=P+(((D=f==null?void 0:f.current)==null?void 0:D.offsetHeight)??0)+50,C=(((V=p==null?void 0:p.current)==null?void 0:V.offsetTop)??0)-50,M=C+(((N=p==null?void 0:p.current)==null?void 0:N.offsetHeight)??0)+100,k=(((q=h==null?void 0:h.current)==null?void 0:q.offsetTop)??0)-100,R=k+(((O=h==null?void 0:h.current)==null?void 0:O.offsetHeight)??0)+100;S>P&&SC&&Sk&&Sawait uk.getAll()});return E.jsxs(E.Fragment,{children:[E.jsxs(Y,{ref:c,id:"maindiv-001",sx:{position:"relative"},children:[i.length<1?E.jsx(E.Fragment,{}):E.jsx(OT,{events:i}),E.jsx(wd,{links:VS,fullWidth:!0}),E.jsx(Y,{id:"paddingdiv-001",sx:{height:"50px"}}),E.jsx(La.ScrollContainer,{style:{position:x,scrollBehavior:"smooth",overflow:"visible",width:"100%",height:"100%"},children:E.jsx(La.ScrollPage,{style:{width:"100%",overflow:"visible",flexDirection:"column",display:"flex",alignItems:"center",justifyContent:"flex-start"},children:E.jsxs(La.Animator,{style:{width:"100%",overflow:"visible"},animation:La.batch(kH(1,-.5,0),TH(3,1,0),MH(0,-400,0)),children:[E.jsx("div",{id:"stars1"}),E.jsx("div",{id:"stars2"}),E.jsx("div",{id:"stars3"}),E.jsxs(ce,{sx:{flexGrow:1,fontSize:"4vw",fontWeight:"bold",textAlign:"center"},children:["Empower Code. Inspire Design.",E.jsx("br",{}),"Drive Innovation."]}),E.jsxs(Y,{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:[E.jsx(kh,{end:5e5,title:"Dollars Saved",prefix:"$",minWidth:336,alignSelf:{xs:"center",md:"flex-start"}}),E.jsx(kh,{end:150,title:"Members",minWidth:81}),E.jsx(kh,{end:5e4,title:"Lines of Code",minWidth:267,alignSelf:{xs:"center",md:"flex-end"}})]})]})})}),E.jsx(Y,{id:"paddingdiv-002",sx:{height:"100vh"}}),t?E.jsx(Y,{ref:f,sx:{padding:"10px"},id:"subdiv-002",children:E.jsx(zS,{sx:{},mobileView:!0,data:g,isLoading:y,error:v})}):E.jsx(Y,{ref:f,id:"subdiv-002",children:E.jsx(zS,{sx:{height:"300vh"},data:g,isLoading:y,error:v})}),t&&!t?E.jsx(E.Fragment,{}):E.jsxs(Y,{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:[E.jsx(FS,{id:"members_sparkles",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"}),E.jsx(Y,{sx:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:E.jsx(NN,{id:"member-carousel"})}),E.jsx(FS,{id:"members_sparkles2",background:"transparent",minSize:.6,maxSize:1.4,particleDensity:50,particleColor:"#FFFFFF"})]}),E.jsx(Y,{id:"paddingdiv-003",sx:{height:"150px"}}),E.jsx(Y,{id:"sponsors",ref:h,children:E.jsx(PH,{mobileView:t})}),E.jsx(Y,{id:"paddingdiv-004",sx:{height:"300px"}}),E.jsx($T,{}),E.jsx(wd,{links:VS,translucent:!0,sx:{marginTop:"25px",zIndex:2,position:"fixed",top:`${n}px`,left:"0px"}})]}),E.jsx(Y,{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(s.start),transition:"opacity 0.4s",animation:"plasma 6s ease infinite",backgroundBlendMode:s.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(s.end),animation:"plasma 6s ease infinite",transition:"opacity 0.4s",opacity:a?1:.5,zIndex:0}}})]})}const TH=(e,t,n)=>({out:{style:{transform:r=>(r=Math.max(r-n,0),`scale(${t*(1-r)+e*r})`)}}}),kH=(e,t,n)=>({out:{style:{opacity:r=>(r=Math.max(r-n,0),e*(1-r)+t*r)}}}),MH=(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 _H(){const{projectId:e}=e5(),{data:t,isFetching:n,error:r}=lk({queryKey:["project"],queryFn:async()=>await uk.getById(e)});return b.useEffect(()=>{window.scrollTo(0,0)},[]),n?E.jsx(Y,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:E.jsx(wj,{})}):r?E.jsx(Y,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100vw",minHeight:"100vh"},children:E.jsx(H$,{variant:"filled",severity:"error",children:"Unable to retrieve project data..."})}):E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",gap:"2rem",justifyContent:"center",padding:"15vh 0",alignItems:"center",minHeight:"100vh"},children:[E.jsx(OH,{name:t.name,organization:t.organization}),E.jsx(RH,{description:t.description}),E.jsx(AH,{demo:t.demo}),E.jsx(IH,{members:t.members})]})}function OH(e){return E.jsxs(Y,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[E.jsx(ce,{variant:"h2",sx:{fontWeight:"bold"},children:e.name}),E.jsxs(ce,{variant:"h4",sx:{fontStyle:"italic"},children:["In collaboration with ",e.organization]})]})}function RH(e){return E.jsxs(Y,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[E.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Overview"}),E.jsx(_v,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),E.jsx(ce,{children:e.description})]})}function AH(e){return E.jsxs(Y,{children:[E.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Demo"}),E.jsx(_v,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),E.jsx(nj,{sx:{marginTop:"15px",borderRadius:"5px",width:"clamp(25rem, 50vw, 60rem)",backgroundColor:"white",color:"black"},children:E.jsx(cj,{component:"iframe",image:e.demo,sx:{width:"inherit",aspectRatio:"16/9",border:"none"}})})]})}function IH(e){return E.jsxs(Y,{sx:{width:"clamp(25rem, 50vw, 60rem)"},children:[E.jsx(ce,{variant:"h5",sx:{fontWeight:"bold"},children:"Project Members"}),E.jsx(_v,{sx:{margin:"0.5rem 0",backgroundColor:"white"}}),E.jsx(Y,{sx:{marginTop:"15px",display:"flex",justifyContent:"center",alignItems:"center",flexWrap:"wrap",gap:"10px"},children:e.members.map((t,n)=>E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",backgroundColor:"white",borderRadius:"5px",color:"black",minWidth:"15%",padding:"1rem"},children:[t.memberInfo.profileUrl?E.jsx(xd,{src:t.memberInfo.profileUrl,sx:{width:"50px",height:"50px"}},n):b.createElement(xd,{...DT(`${t.memberInfo.firstName} ${t.memberInfo.lastName}`),sx:{width:"50px",height:"50px"},key:n}),E.jsx(ce,{variant:"subtitle1",sx:{fontWeight:"bold",marginTop:"5px"},children:`${t.memberInfo.firstName} ${t.memberInfo.lastName}`}),E.jsx(ce,{variant:"subtitle2",sx:{opacity:"0.75"},children:t.role})]}))})]})}function $H(){return E.jsx("h1",{children:"WebTierPage"})}function em(e){return E.jsxs(Y,{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:[E.jsx(LH,{tier:e.tier,backgroundColor:e.backgroundColor,price:e.price}),E.jsx(DH,{backgroundColor:e.backgroundColor,benefits:e.benefits,prereq:e.prereq})]})}function LH(e){return E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"60%"},children:[E.jsx(ce,{variant:"h4",sx:{textShadow:"-2px 2px 3px gray"},children:e.tier}),E.jsxs(ce,{variant:"h2",sx:{textShadow:"-2px 2px 3px gray"},children:["$",e.price,"+"]}),E.jsx(ce,{variant:"h6",gutterBottom:!0,sx:{textShadow:"-2px 2px 3px gray"},children:"per year"}),E.jsx(jH,{tier:e.tier,backgroundColor:e.backgroundColor})]})}function jH(e){const t=nv();return E.jsx(Y,{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:E.jsxs(ce,{children:["Select ",e.tier," Tier →"]})})}function DH(e){return E.jsxs(Y,{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&&E.jsx(ce,{gutterBottom:!0,children:`< Everything included in ${e.prereq}, plus...`}),e.benefits.map((t,n)=>E.jsx(ce,{children:`> ${t}`},n))]})}function FH(){return E.jsxs(Y,{sx:{display:"flex",flexDirection:"column",width:"100%",justifyContent:"center",alignItems:"center",gap:"35px",marginBottom:"100px"},children:[E.jsx(ce,{sx:{textAlign:"center"},variant:"h3",children:"Sponsorship Tiers"}),E.jsxs(Y,{sx:{marginTop:"40px",width:{xs:"100%",md:"75%"},display:"flex",flexDirection:"row",gap:"100px",height:"100vh",flexWrap:"wrap"},children:[E.jsx(em,{tier:"Gold",backgroundColor:"gold",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),E.jsx(em,{tier:"Silver",backgroundColor:"silver",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}}),E.jsx(em,{tier:"Bronze",backgroundColor:"#CD7F32",price:500,benefits:["Apple","ball","cat"],sx:{height:"100%",flexGrow:1}})]})]})}const NH=new k8;tm.createRoot(document.getElementById("root")).render(E.jsx(x5,{children:E.jsx(A8,{client:NH,children:E.jsxs(W4,{theme:LT.baseTheme,children:[E.jsx(Pj,{}),E.jsxs(g5,{children:[E.jsx(Ns,{path:"/",element:E.jsx(CH,{})}),E.jsxs(Ns,{path:"/",element:E.jsx(kD,{}),children:[E.jsx(Ns,{path:"/project/:projectId",element:E.jsx(_H,{})}),E.jsx(Ns,{path:"tier/:tier",element:E.jsx($H,{})}),E.jsx(Ns,{path:"/sponsor-us",element:E.jsx(FH,{})})]})]})]})})}));export{pG as $,XH as A,YH as B,UH as C,WH as D,iG as E,rG as F,F9 as G,st as H,yo as I,sr as J,tG as K,py as L,vG as M,nG as N,ps as O,PG as P,vk as Q,gG as R,mk as S,gp as T,oG as U,On as V,pk as W,eG as X,dG as Y,hG as Z,Ee as _,JH as a,mG as a0,gk as a1,cG as a2,mp as a3,Z9 as a4,tV as a5,fG as a6,EG as a7,SG as a8,hy as a9,lG as aa,yG as ab,CG as ac,TG as ad,to as ae,uG as af,z9 as b,fy as c,Hl as d,Gl as e,bb as f,bG as g,sa as h,Ts as i,oc as j,ZH as k,sG as l,Nd as m,wG as n,aG as o,Lh as p,fk as q,xG as r,el as s,HH as t,GH as u,KH as v,qH as w,BH as x,VH as y,QH as z}; diff --git a/dist/assets/index-BZ-HfZvu.js b/dist/assets/index-DPKrWQ8D.js similarity index 88% rename from dist/assets/index-BZ-HfZvu.js rename to dist/assets/index-DPKrWQ8D.js index 6b47a11..90fd13d 100644 --- a/dist/assets/index-BZ-HfZvu.js +++ b/dist/assets/index-DPKrWQ8D.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Utils-DPjAzSSW.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/ImageDrawer-BQi_zEMx.js"] + __vite__mapDeps.viteFileDeps = ["assets/Utils-ChGKIB92.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/ImageDrawer-CrJo5At-.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{g as h,b as m,c as i,_ as u}from"./index-BYZjsxH_.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-DPjAzSSW.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-BQi_zEMx.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-DMko1hvE.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-ChGKIB92.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-CrJo5At-.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-DorUDsqG.js b/dist/assets/index-DVA_PPEu.js similarity index 70% rename from dist/assets/index-DorUDsqG.js rename to dist/assets/index-DVA_PPEu.js index 093095d..232d2a2 100644 --- a/dist/assets/index-DorUDsqG.js +++ b/dist/assets/index-DVA_PPEu.js @@ -1 +1 @@ -import{_ as t}from"./index-BYZjsxH_.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-DMko1hvE.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-Dk24n9rj.js b/dist/assets/index-Dk24n9rj.js new file mode 100644 index 0000000..f6640de --- /dev/null +++ b/dist/assets/index-Dk24n9rj.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/index-CWu8q_gy.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/index-BFjSyPw4.js","assets/index-Cl6O_6Ol.js","assets/index-DoW1CnVv.js","assets/index-B3Av9A3s.js","assets/index-_gkGm9us.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as t}from"./index-DMko1hvE.js";async function s(a,_=!0){const{loadBaseMover:o}=await t(()=>import("./index-CWu8q_gy.js"),__vite__mapDeps([0,1,2])),{loadCircleShape:i}=await t(()=>import("./index-BFjSyPw4.js"),__vite__mapDeps([3,1,2])),{loadColorUpdater:r}=await t(()=>import("./index-Cl6O_6Ol.js"),__vite__mapDeps([4,1,2])),{loadOpacityUpdater:d}=await t(()=>import("./index-DoW1CnVv.js"),__vite__mapDeps([5,1,2])),{loadOutModesUpdater:e}=await t(()=>import("./index-B3Av9A3s.js"),__vite__mapDeps([6,1,2])),{loadSizeUpdater:l}=await t(()=>import("./index-_gkGm9us.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-Dk9eyEZ0.js b/dist/assets/index-Dk9eyEZ0.js deleted file mode 100644 index 886a081..0000000 --- a/dist/assets/index-Dk9eyEZ0.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/RotateUpdater-Cpn_zm2b.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/ValueWithRandom-DhdK59lj.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as o}from"./index-BYZjsxH_.js";async function i(t,a=!0){await t.addParticleUpdater("rotate",async e=>{const{RotateUpdater:r}=await o(()=>import("./RotateUpdater-Cpn_zm2b.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{i as loadRotateUpdater}; diff --git a/dist/assets/index-D_76-wTm.js b/dist/assets/index-DoW1CnVv.js similarity index 52% rename from dist/assets/index-D_76-wTm.js rename to dist/assets/index-DoW1CnVv.js index 99a8229..929f640 100644 --- a/dist/assets/index-D_76-wTm.js +++ b/dist/assets/index-DoW1CnVv.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/OpacityUpdater-mGcBcjrD.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/OpacityUpdater-DqaiMAZV.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-BYZjsxH_.js";async function p(t,a=!0){await t.addParticleUpdater("opacity",async r=>{const{OpacityUpdater:e}=await i(()=>import("./OpacityUpdater-mGcBcjrD.js"),__vite__mapDeps([0,1,2]));return new e(r)},a)}export{p as loadOpacityUpdater}; +import{_ as i}from"./index-DMko1hvE.js";async function p(t,a=!0){await t.addParticleUpdater("opacity",async r=>{const{OpacityUpdater:e}=await i(()=>import("./OpacityUpdater-DqaiMAZV.js"),__vite__mapDeps([0,1,2]));return new e(r)},a)}export{p as loadOpacityUpdater}; diff --git a/dist/assets/index-DrhqM_ij.js b/dist/assets/index-DrhqM_ij.js deleted file mode 100644 index e58b235..0000000 --- a/dist/assets/index-DrhqM_ij.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/StarDrawer-D28JQ4Ag.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as e}from"./index-BYZjsxH_.js";async function _(a,t=!0){const{StarDrawer:r}=await e(()=>import("./StarDrawer-D28JQ4Ag.js"),__vite__mapDeps([0,1,2]));await a.addShape("star",new r,t)}export{_ as loadStarShape}; diff --git a/dist/assets/index-B1CIQCv6.js b/dist/assets/index-DtPrTPBH.js similarity index 54% rename from dist/assets/index-B1CIQCv6.js rename to dist/assets/index-DtPrTPBH.js index 2cd830a..6aecdbf 100644 --- a/dist/assets/index-B1CIQCv6.js +++ b/dist/assets/index-DtPrTPBH.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LifeUpdater-BbqYNQ7j.js","assets/ValueWithRandom-DhdK59lj.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/LifeUpdater-DDPlX-Ay.js","assets/ValueWithRandom-BS5hZeK4.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as i}from"./index-BYZjsxH_.js";async function d(t,a=!0){await t.addParticleUpdater("life",async e=>{const{LifeUpdater:r}=await i(()=>import("./LifeUpdater-BbqYNQ7j.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{d as loadLifeUpdater}; +import{_ as i}from"./index-DMko1hvE.js";async function d(t,a=!0){await t.addParticleUpdater("life",async e=>{const{LifeUpdater:r}=await i(()=>import("./LifeUpdater-DDPlX-Ay.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{d as loadLifeUpdater}; diff --git a/dist/assets/index-DvHlaMbZ.js b/dist/assets/index-DvHlaMbZ.js deleted file mode 100644 index fa1193d..0000000 --- a/dist/assets/index-DvHlaMbZ.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/CircleDrawer-Ylj880bE.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as i}from"./index-BYZjsxH_.js";async function o(a,e=!0){const{CircleDrawer:r}=await i(()=>import("./CircleDrawer-Ylj880bE.js"),__vite__mapDeps([0,1,2]));await a.addShape("circle",new r,e)}export{o as loadCircleShape}; diff --git a/dist/assets/index-B9gNfIRR.js b/dist/assets/index-_gkGm9us.js similarity index 51% rename from dist/assets/index-B9gNfIRR.js rename to dist/assets/index-_gkGm9us.js index 98ab51f..f5a5cb8 100644 --- a/dist/assets/index-B9gNfIRR.js +++ b/dist/assets/index-_gkGm9us.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/SizeUpdater-DDSadXPl.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/SizeUpdater-ICB4npPZ.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as r}from"./index-BYZjsxH_.js";async function o(t,a=!0){await t.addParticleUpdater("size",async()=>{const{SizeUpdater:e}=await r(()=>import("./SizeUpdater-DDSadXPl.js"),__vite__mapDeps([0,1,2]));return new e},a)}export{o as loadSizeUpdater}; +import{_ as r}from"./index-DMko1hvE.js";async function o(t,a=!0){await t.addParticleUpdater("size",async()=>{const{SizeUpdater:e}=await r(()=>import("./SizeUpdater-ICB4npPZ.js"),__vite__mapDeps([0,1,2]));return new e},a)}export{o as loadSizeUpdater}; diff --git a/dist/assets/index-C_OX9D2n.js b/dist/assets/index-eSyKsngP.js similarity index 56% rename from dist/assets/index-C_OX9D2n.js rename to dist/assets/index-eSyKsngP.js index b182c77..9950c10 100644 --- a/dist/assets/index-C_OX9D2n.js +++ b/dist/assets/index-eSyKsngP.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Collider-U-JFpJDL.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/ParticlesInteractorBase-vfDeBun3.js"] + __vite__mapDeps.viteFileDeps = ["assets/Collider-Dgyfym88.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/ParticlesInteractorBase-vfDeBun3.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as a}from"./index-BYZjsxH_.js";async function n(t,o=!0){await t.addInteractor("particlesCollisions",async i=>{const{Collider:r}=await a(()=>import("./Collider-U-JFpJDL.js"),__vite__mapDeps([0,1,2,3]));return new r(i)},o)}export{n as loadParticlesCollisionsInteraction}; +import{_ as a}from"./index-DMko1hvE.js";async function n(t,o=!0){await t.addInteractor("particlesCollisions",async i=>{const{Collider:r}=await a(()=>import("./Collider-Dgyfym88.js"),__vite__mapDeps([0,1,2,3]));return new r(i)},o)}export{n as loadParticlesCollisionsInteraction}; diff --git a/dist/assets/index-DNf1VSaX.js b/dist/assets/index-f0Y5R12h.js similarity index 55% rename from dist/assets/index-DNf1VSaX.js rename to dist/assets/index-f0Y5R12h.js index d1b1ef7..b2cd0fa 100644 --- a/dist/assets/index-DNf1VSaX.js +++ b/dist/assets/index-f0Y5R12h.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Bouncer-CRtShpnC.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/Ranges-CQ5S5NMg.js","assets/ExternalInteractorBase-CIi3zRdK.js"] + __vite__mapDeps.viteFileDeps = ["assets/Bouncer-F0dgcZXc.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/Ranges-BHKD8z4M.js","assets/ExternalInteractorBase-CIi3zRdK.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as o}from"./index-BYZjsxH_.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-CRtShpnC.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-DMko1hvE.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-F0dgcZXc.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-hmWZmbL_.js b/dist/assets/index-hmWZmbL_.js new file mode 100644 index 0000000..c733fe0 --- /dev/null +++ b/dist/assets/index-hmWZmbL_.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/RotateUpdater-CpPckXac.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/ValueWithRandom-BS5hZeK4.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as o}from"./index-DMko1hvE.js";async function i(t,a=!0){await t.addParticleUpdater("rotate",async e=>{const{RotateUpdater:r}=await o(()=>import("./RotateUpdater-CpPckXac.js"),__vite__mapDeps([0,1,2,3]));return new r(e)},a)}export{i as loadRotateUpdater}; diff --git a/dist/assets/index-r-y0t3WU.js b/dist/assets/index-r-y0t3WU.js deleted file mode 100644 index e024ab4..0000000 --- a/dist/assets/index-r-y0t3WU.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/PolygonDrawer-_nV7jt9u.js","assets/PolygonDrawerBase-DDnQsBKz.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/TriangleDrawer-el7xTcHI.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as n}from"./index-BYZjsxH_.js";async function e(a,o=!0){const{PolygonDrawer:t}=await n(()=>import("./PolygonDrawer-_nV7jt9u.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-el7xTcHI.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-rFCwFv-u.js b/dist/assets/index-rFCwFv-u.js deleted file mode 100644 index f7eba0c..0000000 --- a/dist/assets/index-rFCwFv-u.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/BaseMover-5JNncDH0.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as r}from"./index-BYZjsxH_.js";async function _(a,e=!0){await a.addMover("base",async()=>{const{BaseMover:o}=await r(()=>import("./BaseMover-5JNncDH0.js"),__vite__mapDeps([0,1,2]));return new o},e)}export{_ as loadBaseMover}; diff --git a/dist/assets/index--1AqfkFF.js b/dist/assets/index-zlZQ--ql.js similarity index 59% rename from dist/assets/index--1AqfkFF.js rename to dist/assets/index-zlZQ--ql.js index 74532bb..839ab47 100644 --- a/dist/assets/index--1AqfkFF.js +++ b/dist/assets/index-zlZQ--ql.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Slower-BZDDjvRC.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] + __vite__mapDeps.viteFileDeps = ["assets/Slower-CPdgrGzW.js","assets/ExternalInteractorBase-CIi3zRdK.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{_ as e}from"./index-BYZjsxH_.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-BZDDjvRC.js"),__vite__mapDeps([0,1,2,3]));return new i(o)},r)}export{a as Slow,s as loadExternalSlowInteraction}; +import{_ as e}from"./index-DMko1hvE.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-CPdgrGzW.js"),__vite__mapDeps([0,1,2,3]));return new i(o)},r)}export{a as Slow,s as loadExternalSlowInteraction}; diff --git a/dist/assets/interaction-CX4cSraS.js b/dist/assets/interaction-CX4cSraS.js deleted file mode 100644 index b236d30..0000000 --- a/dist/assets/interaction-CX4cSraS.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/Linker-C2WNNW9e.js","assets/Ranges-CQ5S5NMg.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css","assets/index-CJjzd8UR.js","assets/OptionsColor-OVKJ28UH.js","assets/ParticlesInteractorBase-vfDeBun3.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as i}from"./index-BYZjsxH_.js";async function o(t,r=!0){await t.addInteractor("particlesLinks",async a=>{const{Linker:n}=await i(()=>import("./Linker-C2WNNW9e.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-CuOUJMmx.js b/dist/assets/interaction-CuOUJMmx.js new file mode 100644 index 0000000..c5c1158 --- /dev/null +++ b/dist/assets/interaction-CuOUJMmx.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/Linker-36AXHINZ.js","assets/Ranges-BHKD8z4M.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css","assets/index-D1d7-xdN.js","assets/OptionsColor-C-UziNuF.js","assets/ParticlesInteractorBase-vfDeBun3.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as i}from"./index-DMko1hvE.js";async function o(t,r=!0){await t.addInteractor("particlesLinks",async a=>{const{Linker:n}=await i(()=>import("./Linker-36AXHINZ.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-Cr4VgqSi.js b/dist/assets/plugin-Cr4VgqSi.js new file mode 100644 index 0000000..60c19fe --- /dev/null +++ b/dist/assets/plugin-Cr4VgqSi.js @@ -0,0 +1,7 @@ +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["assets/LinksPlugin-Cv1oKC14.js","assets/index-DMko1hvE.js","assets/index-B3sGiwrl.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} +import{_ as o}from"./index-DMko1hvE.js";async function r(i,n=!0){const{LinksPlugin:t}=await o(()=>import("./LinksPlugin-Cv1oKC14.js"),__vite__mapDeps([0,1,2])),a=new t;await i.addPlugin(a,n)}export{r as loadLinksPlugin}; diff --git a/dist/assets/plugin-Hic_5Nu0.js b/dist/assets/plugin-Hic_5Nu0.js deleted file mode 100644 index fdc4512..0000000 --- a/dist/assets/plugin-Hic_5Nu0.js +++ /dev/null @@ -1,7 +0,0 @@ -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/LinksPlugin-4O1YTglq.js","assets/index-BYZjsxH_.js","assets/index-B3sGiwrl.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} -import{_ as o}from"./index-BYZjsxH_.js";async function r(i,n=!0){const{LinksPlugin:t}=await o(()=>import("./LinksPlugin-4O1YTglq.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 e33d109..efb5d85 100644 --- a/dist/index.html +++ b/dist/index.html @@ -9,7 +9,7 @@ - + diff --git a/src/integrals/WebSponsorTiers.tsx b/src/integrals/WebSponsorTiers.tsx index ea1d879..57ec2ab 100644 --- a/src/integrals/WebSponsorTiers.tsx +++ b/src/integrals/WebSponsorTiers.tsx @@ -1,7 +1,7 @@ import { Box, Typography } from "@mui/material"; import SponsorshipCard from "../components/SponsorshipCard"; -export default function WebSponsorTiers(props?: {}) { +export default function WebSponsorTiers() { return (