From 367d8b21e930e8b21374223e09751d6275e61e34 Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 10 Dec 2025 21:59:14 +0100 Subject: [PATCH] first scroll effect with gsap scrollsmoother --- .../custom/mathallo/assets/dist/main.css | 2 +- .../custom/mathallo/assets/dist/main.js | 47 ++++++++++++++++--- .../themes/custom/mathallo/assets/js/main.js | 33 ++++++++++--- .../js/vuejs/{Etape.vue => Content.vue} | 2 +- .../custom/mathallo/assets/scss/main.scss | 22 +++++---- .../themes/custom/mathallo/package-lock.json | 10 ++-- web_main/themes/custom/mathallo/package.json | 1 + .../custom/mathallo/templates/page.html.twig | 1 - 8 files changed, 92 insertions(+), 26 deletions(-) rename web_main/themes/custom/mathallo/assets/js/vuejs/{Etape.vue => Content.vue} (64%) diff --git a/web_main/themes/custom/mathallo/assets/dist/main.css b/web_main/themes/custom/mathallo/assets/dist/main.css index d916d62..ad20aee 100644 --- a/web_main/themes/custom/mathallo/assets/dist/main.css +++ b/web_main/themes/custom/mathallo/assets/dist/main.css @@ -1 +1 @@ -@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.svg#FredokaSemiExpanded-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.svg#FredokaSemiExpanded-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.svg#Fredoka-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.svg#FredokaCondensed-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.svg#Fredoka-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.svg#FredokaSemiCondensed-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.svg#Fredoka-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.svg#FredokaSemiExpanded-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.svg#FredokaExpanded-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.svg#FredokaSemiExpanded-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.svg#Fredoka-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.svg#FredokaExpanded-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.svg#FredokaCondensed-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.svg#FredokaExpanded-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.svg#FredokaSemiCondensed-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.svg#FredokaCondensed-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.svg#FredokaExpanded-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.svg#FredokaCondensed-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.svg#FredokaSemiCondensed-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.svg#FredokaExpanded-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.svg#FredokaSemiExpanded-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.svg#FredokaSemiCondensed-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.svg#FredokaCondensed-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.svg#Fredoka-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.svg#FredokaSemiCondensed-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.svg#SchibstedGrotesk-BlackItalic) format("svg");font-weight:900;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.svg#SchibstedGrotesk-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.svg#SchibstedGrotesk-ExtraBold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.svg#SchibstedGrotesk-BoldItalic) format("svg");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.svg#SchibstedGrotesk-Black) format("svg");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.svg#SchibstedGrotesk-ExtraBoldItalic) format("svg");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.svg#SchibstedGrotesk-SemiBoldItalic) format("svg");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.svg#SchibstedGrotesk-Italic) format("svg");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.svg#SchibstedGrotesk-MediumItalic) format("svg");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.svg#SchibstedGrotesk-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.svg#SchibstedGrotesk-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.svg#SchibstedGrotesk-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}body{font-family:Schibsted Grotesk;font-weight:400;font-style:normal;color:#0b1e52}a,a:visited{text-decoration:none;color:inherit}body{margin:0;background-image:url(/themes/custom/mathallo/assets/img/grid_0.svg);background-repeat:repeat;background-position:center}div.layout-container{display:flex;flex-direction:column;height:100vh;overflow:hidden}div.layout-container header[role=banner]{padding:.5em;flex:0 1 content;z-index:100}div.layout-container main[role=main]{flex:1 1 auto;overflow-y:scroll}div.layout-container footer[role=contentinfo]{flex:0 1 content;z-index:100}header[role=banner]{background-color:#fff;box-shadow:0 -5px 15px #000}header[role=banner] .header-middle{display:flex;justify-content:space-between;align-items:baseline;padding:.2em 2em}header[role=banner] #block-mathallo-formulairederecherche form{display:flex;align-items:baseline}header[role=banner] #block-mathallo-identitedusite a{color:#1642bc;text-decoration:none;font-family:Fredoka;font-size:2em;text-transform:uppercase;font-weight:500}header[role=banner] .header-right #block-mathallo-navigationprincipale ul{display:flex;list-style:none}header[role=banner] .header-right #block-mathallo-navigationprincipale ul li:not(:first-child){margin-left:1em}main[role=main]>div.layout-content{padding:5em 0}main[role=main]>div.layout-content article{background-color:#fff;padding:2em;box-shadow:0 0 10px #00000040;max-width:50em;margin:5em auto 0}main[role=main]>div.layout-content article h2{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;margin:0}footer[role=contentinfo]{background-color:#fff;box-shadow:0 5px 15px #000;padding:.2em 2em}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul{display:flex;list-style:none;padding:0}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul li:not(:first-child){margin-left:1em}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul a{color:#0b1e52} +@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Regular.svg#FredokaSemiExpanded-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Bold.svg#FredokaSemiExpanded-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Bold.svg#Fredoka-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-SemiBold.svg#FredokaCondensed-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Regular.svg#Fredoka-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Bold.svg#FredokaSemiCondensed-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-SemiBold.svg#Fredoka-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Light.svg#FredokaSemiExpanded-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Light.svg#FredokaExpanded-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-SemiBold.svg#FredokaSemiExpanded-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Medium.svg#Fredoka-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Regular.svg#FredokaExpanded-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Bold.svg#FredokaCondensed-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Medium.svg#FredokaExpanded-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Regular.svg#FredokaSemiCondensed-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Regular.svg#FredokaCondensed-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-SemiBold.svg#FredokaExpanded-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Light.svg#FredokaCondensed-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Light.svg#FredokaSemiCondensed-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Expanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaExpanded-Bold.svg#FredokaExpanded-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiExpanded;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiExpanded-Medium.svg#FredokaSemiExpanded-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-Medium.svg#FredokaSemiCondensed-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka Condensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaCondensed-Medium.svg#FredokaCondensed-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Fredoka;src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/Fredoka-Light.svg#Fredoka-Light) format("svg");font-weight:300;font-style:normal;font-display:swap}@font-face{font-family:Fredoka SemiCondensed;src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/fredoka/FredokaSemiCondensed-SemiBold.svg#FredokaSemiCondensed-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BlackItalic.svg#SchibstedGrotesk-BlackItalic) format("svg");font-weight:900;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Bold.svg#SchibstedGrotesk-Bold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBold.svg#SchibstedGrotesk-ExtraBold) format("svg");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-BoldItalic.svg#SchibstedGrotesk-BoldItalic) format("svg");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Black.svg#SchibstedGrotesk-Black) format("svg");font-weight:900;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-ExtraBoldItalic.svg#SchibstedGrotesk-ExtraBoldItalic) format("svg");font-weight:700;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBoldItalic.svg#SchibstedGrotesk-SemiBoldItalic) format("svg");font-weight:600;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Italic.svg#SchibstedGrotesk-Italic) format("svg");font-weight:400;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-MediumItalic.svg#SchibstedGrotesk-MediumItalic) format("svg");font-weight:500;font-style:italic;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Medium.svg#SchibstedGrotesk-Medium) format("svg");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-SemiBold.svg#SchibstedGrotesk-SemiBold) format("svg");font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Schibsted Grotesk;src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.eot);src:url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.eot?#iefix) format("embedded-opentype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.woff2) format("woff2"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.woff) format("woff"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.ttf) format("truetype"),url(/themes/custom/mathallo/assets/fonts/Schibsted_Grotesk/SchibstedGrotesk-Regular.svg#SchibstedGrotesk-Regular) format("svg");font-weight:400;font-style:normal;font-display:swap}body{font-family:Schibsted Grotesk;font-weight:400;font-style:normal;color:#0b1e52}a,a:visited{text-decoration:none;color:inherit}body{margin:0;background-image:url(/themes/custom/mathallo/assets/img/grid_0.svg);background-repeat:repeat;background-position:center}div.layout-container header[role=banner]{padding:.5em;z-index:100;position:fixed;top:0;width:100vw}div.layout-container main[role=main]{overflow-y:scroll}div.layout-container footer[role=contentinfo]{z-index:100;position:fixed;bottom:0;width:100vw}header[role=banner]{background-color:#fff;box-shadow:0 -5px 15px #000}header[role=banner] .header-middle{display:flex;justify-content:space-between;align-items:baseline;padding:.2em 2em}header[role=banner] #block-mathallo-formulairederecherche form{display:flex;align-items:baseline}header[role=banner] #block-mathallo-identitedusite a{color:#1642bc;text-decoration:none;font-family:Fredoka;font-size:2em;text-transform:uppercase;font-weight:500}header[role=banner] .header-right #block-mathallo-navigationprincipale ul{display:flex;list-style:none}header[role=banner] .header-right #block-mathallo-navigationprincipale ul li:not(:first-child){margin-left:1em}main[role=main] div.layout-content{padding:5em 0}main[role=main] div.layout-content article{background-color:#fff;padding:2em;box-shadow:0 0 10px #00000040;max-width:50em;margin:5em auto 0}main[role=main] div.layout-content article h2{font-family:Fredoka;font-size:3em;font-weight:400;color:#0b1e52;margin:0}footer[role=contentinfo]{background-color:#fff;box-shadow:0 5px 15px #000;padding:.2em 2em}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul{display:flex;list-style:none;padding:0}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul li:not(:first-child){margin-left:1em}footer[role=contentinfo] #block-mathallo-navigationprincipale-2 ul a{color:#0b1e52} diff --git a/web_main/themes/custom/mathallo/assets/dist/main.js b/web_main/themes/custom/mathallo/assets/dist/main.js index 51ad34e..8b3b767 100644 --- a/web_main/themes/custom/mathallo/assets/dist/main.js +++ b/web_main/themes/custom/mathallo/assets/dist/main.js @@ -1,6 +1,41 @@ -function Te(e,t){return function(){return e.apply(t,arguments)}}const{toString:ve}=Object.prototype,{getPrototypeOf:oe}=Object,J=(e=>t=>{const n=ve.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),A=e=>(e=e.toLowerCase(),t=>J(t)===e),V=e=>t=>typeof t===e,{isArray:L}=Array,k=V("undefined");function Ge(e){return e!==null&&!k(e)&&e.constructor!==null&&!k(e.constructor)&&O(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ae=A("ArrayBuffer");function Xe(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ae(e.buffer),t}const Qe=V("string"),O=V("function"),xe=V("number"),W=e=>e!==null&&typeof e=="object",Ze=e=>e===!0||e===!1,H=e=>{if(J(e)!=="object")return!1;const t=oe(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ye=A("Date"),et=A("File"),tt=A("Blob"),nt=A("FileList"),rt=e=>W(e)&&O(e.pipe),st=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||O(e.append)&&((t=J(e))==="formdata"||t==="object"&&O(e.toString)&&e.toString()==="[object FormData]"))},ot=A("URLSearchParams"),[it,at,ct,ut]=["ReadableStream","Request","Response","Headers"].map(A),lt=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function j(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),L(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Pe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ne=e=>!k(e)&&e!==Pe;function Z(){const{caseless:e}=Ne(this)&&this||{},t={},n=(r,s)=>{const o=e&&Ce(t,s)||s;H(t[o])&&H(r)?t[o]=Z(t[o],r):H(r)?t[o]=Z({},r):L(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r(j(t,(s,o)=>{n&&O(s)?e[o]=Te(s,n):e[o]=s},{allOwnKeys:r}),e),dt=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),pt=(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)},ht=(e,t,n,r)=>{let s,o,i;const c={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!c[i]&&(t[i]=e[i],c[i]=!0);e=n!==!1&&oe(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},mt=(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},yt=e=>{if(!e)return null;if(L(e))return e;let t=e.length;if(!xe(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},wt=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&oe(Uint8Array)),bt=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Et=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Rt=A("HTMLFormElement"),St=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),fe=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),gt=A("RegExp"),Fe=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};j(n,(s,o)=>{let i;(i=t(s,o,e))!==!1&&(r[o]=i||s)}),Object.defineProperties(e,r)},Ot=e=>{Fe(e,(t,n)=>{if(O(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(O(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+"'")})}})},Tt=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return L(e)?r(e):r(String(e).split(t)),n},At=()=>{},xt=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,v="abcdefghijklmnopqrstuvwxyz",de="0123456789",_e={DIGIT:de,ALPHA:v,ALPHA_DIGIT:v+v.toUpperCase()+de},Ct=(e=16,t=_e.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Pt(e){return!!(e&&O(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Nt=e=>{const t=new Array(10),n=(r,s)=>{if(W(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=L(r)?[]:{};return j(r,(i,c)=>{const f=n(i,s+1);!k(f)&&(o[c]=f)}),t[s]=void 0,o}}return r};return n(e,0)},Ft=A("AsyncFunction"),_t=e=>e&&(W(e)||O(e))&&O(e.then)&&O(e.catch),a={isArray:L,isArrayBuffer:Ae,isBuffer:Ge,isFormData:st,isArrayBufferView:Xe,isString:Qe,isNumber:xe,isBoolean:Ze,isObject:W,isPlainObject:H,isReadableStream:it,isRequest:at,isResponse:ct,isHeaders:ut,isUndefined:k,isDate:Ye,isFile:et,isBlob:tt,isRegExp:gt,isFunction:O,isStream:rt,isURLSearchParams:ot,isTypedArray:wt,isFileList:nt,forEach:j,merge:Z,extend:ft,trim:lt,stripBOM:dt,inherits:pt,toFlatObject:ht,kindOf:J,kindOfTest:A,endsWith:mt,toArray:yt,forEachEntry:bt,matchAll:Et,isHTMLForm:Rt,hasOwnProperty:fe,hasOwnProp:fe,reduceDescriptors:Fe,freezeMethods:Ot,toObjectSet:Tt,toCamelCase:St,noop:At,toFiniteNumber:xt,findKey:Ce,global:Pe,isContextDefined:Ne,ALPHABET:_e,generateString:Ct,isSpecCompliantForm:Pt,toJSONObject:Nt,isAsyncFn:Ft,isThenable:_t};function h(e,t,n,r,s){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),s&&(this.response=s)}a.inherits(h,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:a.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Le=h.prototype,Be={};["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=>{Be[e]={value:e}});Object.defineProperties(h,Be);Object.defineProperty(Le,"isAxiosError",{value:!0});h.from=(e,t,n,r,s,o)=>{const i=Object.create(Le);return a.toFlatObject(e,i,function(f){return f!==Error.prototype},c=>c!=="isAxiosError"),h.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const Lt=null;function Y(e){return a.isPlainObject(e)||a.isArray(e)}function De(e){return a.endsWith(e,"[]")?e.slice(0,-2):e}function pe(e,t,n){return e?e.concat(t).map(function(s,o){return s=De(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Bt(e){return a.isArray(e)&&!e.some(Y)}const Dt=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function $(e,t,n){if(!a.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=a.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,R){return!a.isUndefined(R[m])});const r=n.metaTokens,s=n.visitor||u,o=n.dots,i=n.indexes,f=(n.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(t);if(!a.isFunction(s))throw new TypeError("visitor must be a function");function l(d){if(d===null)return"";if(a.isDate(d))return d.toISOString();if(!f&&a.isBlob(d))throw new h("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(d)||a.isTypedArray(d)?f&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function u(d,m,R){let S=d;if(d&&!R&&typeof d=="object"){if(a.endsWith(m,"{}"))m=r?m:m.slice(0,-2),d=JSON.stringify(d);else if(a.isArray(d)&&Bt(d)||(a.isFileList(d)||a.endsWith(m,"[]"))&&(S=a.toArray(d)))return m=De(m),S.forEach(function(w,D){!(a.isUndefined(w)||w===null)&&t.append(i===!0?pe([m],D,o):i===null?m:m+"[]",l(w))}),!1}return Y(d)?!0:(t.append(pe(R,m,o),l(d)),!1)}const p=[],b=Object.assign(Dt,{defaultVisitor:u,convertValue:l,isVisitable:Y});function y(d,m){if(!a.isUndefined(d)){if(p.indexOf(d)!==-1)throw Error("Circular reference detected in "+m.join("."));p.push(d),a.forEach(d,function(S,x){(!(a.isUndefined(S)||S===null)&&s.call(t,S,a.isString(x)?x.trim():x,m,b))===!0&&y(S,m?m.concat(x):[x])}),p.pop()}}if(!a.isObject(e))throw new TypeError("data must be an object");return y(e),t}function he(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function ie(e,t){this._pairs=[],e&&$(e,this,t)}const Ue=ie.prototype;Ue.append=function(t,n){this._pairs.push([t,n])};Ue.toString=function(t){const n=t?function(r){return t.call(this,r,he)}:he;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Ut(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ke(e,t,n){if(!t)return e;const r=n&&n.encode||Ut,s=n&&n.serialize;let o;if(s?o=s(t,n):o=a.isURLSearchParams(t)?t.toString():new ie(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class me{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){a.forEach(this.handlers,function(r){r!==null&&t(r)})}}const je={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},kt=typeof URLSearchParams<"u"?URLSearchParams:ie,jt=typeof FormData<"u"?FormData:null,qt=typeof Blob<"u"?Blob:null,Ht={isBrowser:!0,classes:{URLSearchParams:kt,FormData:jt,Blob:qt},protocols:["http","https","file","blob","url","data"]},ae=typeof window<"u"&&typeof document<"u",It=(e=>ae&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Mt=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zt=ae&&window.location.href||"http://localhost",Jt=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ae,hasStandardBrowserEnv:It,hasStandardBrowserWebWorkerEnv:Mt,origin:zt},Symbol.toStringTag,{value:"Module"})),T={...Jt,...Ht};function Vt(e,t){return $(e,new T.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return T.isNode&&a.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Wt(e){return a.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function $t(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return i=!i&&a.isArray(s)?s.length:i,f?(a.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!c):((!s[i]||!a.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&a.isArray(s[i])&&(s[i]=$t(s[i])),!c)}if(a.isFormData(e)&&a.isFunction(e.entries)){const n={};return a.forEachEntry(e,(r,s)=>{t(Wt(r),s,n,0)}),n}return null}function Kt(e,t,n){if(a.isString(e))try{return(t||JSON.parse)(e),a.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const q={transitional:je,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=a.isObject(t);if(o&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return s?JSON.stringify(qe(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t)||a.isReadableStream(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Vt(t,this.formSerializer).toString();if((c=a.isFileList(t))||r.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return $(c?{"files[]":t}:t,f&&new f,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Kt(t)):t}],transformResponse:[function(t){const n=this.transitional||q.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(a.isResponse(t)||a.isReadableStream(t))return t;if(t&&a.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(c){if(i)throw c.name==="SyntaxError"?h.from(c,h.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:T.classes.FormData,Blob:T.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],e=>{q.headers[e]={}});const vt=a.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"]),Gt=e=>{const t={};let n,r,s;return e&&e.split(` -`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&vt[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},ye=Symbol("internals");function U(e){return e&&String(e).trim().toLowerCase()}function I(e){return e===!1||e==null?e:a.isArray(e)?e.map(I):String(e)}function Xt(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 Qt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function G(e,t,n,r,s){if(a.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!a.isString(t)){if(a.isString(r))return t.indexOf(r)!==-1;if(a.isRegExp(r))return r.test(t)}}function Zt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Yt(e,t){const n=a.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class g{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(c,f,l){const u=U(f);if(!u)throw new Error("header name must be a non-empty string");const p=a.findKey(s,u);(!p||s[p]===void 0||l===!0||l===void 0&&s[p]!==!1)&&(s[p||f]=I(c))}const i=(c,f)=>a.forEach(c,(l,u)=>o(l,u,f));if(a.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(a.isString(t)&&(t=t.trim())&&!Qt(t))i(Gt(t),n);else if(a.isHeaders(t))for(const[c,f]of t.entries())o(f,c,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=U(t),t){const r=a.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Xt(s);if(a.isFunction(n))return n.call(this,s,r);if(a.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=U(t),t){const r=a.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||G(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=U(i),i){const c=a.findKey(r,i);c&&(!n||G(r,r[c],c,n))&&(delete r[c],s=!0)}}return a.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||G(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return a.forEach(this,(s,o)=>{const i=a.findKey(r,o);if(i){n[i]=I(s),delete n[o];return}const c=t?Zt(o):String(o).trim();c!==o&&delete n[o],n[c]=I(s),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return a.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&a.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(s=>r.set(s)),r}static accessor(t){const r=(this[ye]=this[ye]={accessors:{}}).accessors,s=this.prototype;function o(i){const c=U(i);r[c]||(Yt(s,i),r[c]=!0)}return a.isArray(t)?t.forEach(o):o(t),this}}g.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(g.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});a.freezeMethods(g);function X(e,t){const n=this||q,r=t||n,s=g.from(r.headers);let o=r.data;return a.forEach(e,function(c){o=c.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function He(e){return!!(e&&e.__CANCEL__)}function B(e,t,n){h.call(this,e??"canceled",h.ERR_CANCELED,t,n),this.name="CanceledError"}a.inherits(B,h,{__CANCEL__:!0});function Ie(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new h("Request failed with status code "+n.status,[h.ERR_BAD_REQUEST,h.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function en(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function tn(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(f){const l=Date.now(),u=r[o];i||(i=l),n[s]=f,r[s]=l;let p=o,b=0;for(;p!==s;)b+=n[p++],p=p%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),l-ir)return s&&(clearTimeout(s),s=null),n=c,e.apply(null,arguments);s||(s=setTimeout(()=>(s=null,n=Date.now(),e.apply(null,arguments)),r-(c-n)))}}const M=(e,t,n=3)=>{let r=0;const s=tn(50,250);return nn(o=>{const i=o.loaded,c=o.lengthComputable?o.total:void 0,f=i-r,l=s(f),u=i<=c;r=i;const p={loaded:i,total:c,progress:c?i/c:void 0,bytes:f,rate:l||void 0,estimated:l&&c&&u?(c-i)/l:void 0,event:o,lengthComputable:c!=null};p[t?"download":"upload"]=!0,e(p)},n)},rn=T.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{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=s(window.location.href),function(i){const c=a.isString(i)?s(i):i;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}(),sn=T.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const i=[e+"="+encodeURIComponent(t)];a.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),a.isString(r)&&i.push("path="+r),a.isString(s)&&i.push("domain="+s),o===!0&&i.push("secure"),document.cookie=i.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 on(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function an(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Me(e,t){return e&&!on(t)?an(e,t):t}const we=e=>e instanceof g?{...e}:e;function F(e,t){t=t||{};const n={};function r(l,u,p){return a.isPlainObject(l)&&a.isPlainObject(u)?a.merge.call({caseless:p},l,u):a.isPlainObject(u)?a.merge({},u):a.isArray(u)?u.slice():u}function s(l,u,p){if(a.isUndefined(u)){if(!a.isUndefined(l))return r(void 0,l,p)}else return r(l,u,p)}function o(l,u){if(!a.isUndefined(u))return r(void 0,u)}function i(l,u){if(a.isUndefined(u)){if(!a.isUndefined(l))return r(void 0,l)}else return r(void 0,u)}function c(l,u,p){if(p in t)return r(l,u);if(p in e)return r(void 0,l)}const f={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:c,headers:(l,u)=>s(we(l),we(u),!0)};return a.forEach(Object.keys(Object.assign({},e,t)),function(u){const p=f[u]||s,b=p(e[u],t[u],u);a.isUndefined(b)&&p!==c||(n[u]=b)}),n}const ze=e=>{const t=F({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:o,headers:i,auth:c}=t;t.headers=i=g.from(i),t.url=ke(Me(t.baseURL,t.url),e.params,e.paramsSerializer),c&&i.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let f;if(a.isFormData(n)){if(T.hasStandardBrowserEnv||T.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((f=i.getContentType())!==!1){const[l,...u]=f?f.split(";").map(p=>p.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...u].join("; "))}}if(T.hasStandardBrowserEnv&&(r&&a.isFunction(r)&&(r=r(t)),r||r!==!1&&rn(t.url))){const l=s&&o&&sn.read(o);l&&i.set(s,l)}return t},cn=typeof XMLHttpRequest<"u",un=cn&&function(e){return new Promise(function(n,r){const s=ze(e);let o=s.data;const i=g.from(s.headers).normalize();let{responseType:c}=s,f;function l(){s.cancelToken&&s.cancelToken.unsubscribe(f),s.signal&&s.signal.removeEventListener("abort",f)}let u=new XMLHttpRequest;u.open(s.method.toUpperCase(),s.url,!0),u.timeout=s.timeout;function p(){if(!u)return;const y=g.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),m={data:!c||c==="text"||c==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:y,config:e,request:u};Ie(function(S){n(S),l()},function(S){r(S),l()},m),u=null}"onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(p)},u.onabort=function(){u&&(r(new h("Request aborted",h.ECONNABORTED,s,u)),u=null)},u.onerror=function(){r(new h("Network Error",h.ERR_NETWORK,s,u)),u=null},u.ontimeout=function(){let d=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const m=s.transitional||je;s.timeoutErrorMessage&&(d=s.timeoutErrorMessage),r(new h(d,m.clarifyTimeoutError?h.ETIMEDOUT:h.ECONNABORTED,s,u)),u=null},o===void 0&&i.setContentType(null),"setRequestHeader"in u&&a.forEach(i.toJSON(),function(d,m){u.setRequestHeader(m,d)}),a.isUndefined(s.withCredentials)||(u.withCredentials=!!s.withCredentials),c&&c!=="json"&&(u.responseType=s.responseType),typeof s.onDownloadProgress=="function"&&u.addEventListener("progress",M(s.onDownloadProgress,!0)),typeof s.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",M(s.onUploadProgress)),(s.cancelToken||s.signal)&&(f=y=>{u&&(r(!y||y.type?new B(null,e,u):y),u.abort(),u=null)},s.cancelToken&&s.cancelToken.subscribe(f),s.signal&&(s.signal.aborted?f():s.signal.addEventListener("abort",f)));const b=en(s.url);if(b&&T.protocols.indexOf(b)===-1){r(new h("Unsupported protocol "+b+":",h.ERR_BAD_REQUEST,e));return}u.send(o||null)})},ln=(e,t)=>{let n=new AbortController,r;const s=function(f){if(!r){r=!0,i();const l=f instanceof Error?f:this.reason;n.abort(l instanceof h?l:new B(l instanceof Error?l.message:l))}};let o=t&&setTimeout(()=>{s(new h(`timeout ${t} of ms exceeded`,h.ETIMEDOUT))},t);const i=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(f=>{f&&(f.removeEventListener?f.removeEventListener("abort",s):f.unsubscribe(s))}),e=null)};e.forEach(f=>f&&f.addEventListener&&f.addEventListener("abort",s));const{signal:c}=n;return c.unsubscribe=i,[c,()=>{o&&clearTimeout(o),o=null}]},fn=function*(e,t){let n=e.byteLength;if(!t||n{const o=dn(e,t,s);let i=0;return new ReadableStream({type:"bytes",async pull(c){const{done:f,value:l}=await o.next();if(f){c.close(),r();return}let u=l.byteLength;n&&n(i+=u),c.enqueue(new Uint8Array(l))},cancel(c){return r(c),o.return()}},{highWaterMark:2})},Ee=(e,t)=>{const n=e!=null;return r=>setTimeout(()=>t({lengthComputable:n,total:e,loaded:r}))},K=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Je=K&&typeof ReadableStream=="function",ee=K&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),pn=Je&&(()=>{let e=!1;const t=new Request(T.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})(),Re=64*1024,te=Je&&!!(()=>{try{return a.isReadableStream(new Response("").body)}catch{}})(),z={stream:te&&(e=>e.body)};K&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!z[t]&&(z[t]=a.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new h(`Response type '${t}' is not supported`,h.ERR_NOT_SUPPORT,r)})})})(new Response);const hn=async e=>{if(e==null)return 0;if(a.isBlob(e))return e.size;if(a.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(a.isArrayBufferView(e))return e.byteLength;if(a.isURLSearchParams(e)&&(e=e+""),a.isString(e))return(await ee(e)).byteLength},mn=async(e,t)=>{const n=a.toFiniteNumber(e.getContentLength());return n??hn(t)},yn=K&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:o,timeout:i,onDownloadProgress:c,onUploadProgress:f,responseType:l,headers:u,withCredentials:p="same-origin",fetchOptions:b}=ze(e);l=l?(l+"").toLowerCase():"text";let[y,d]=s||o||i?ln([s,o],i):[],m,R;const S=()=>{!m&&setTimeout(()=>{y&&y.unsubscribe()}),m=!0};let x;try{if(f&&pn&&n!=="get"&&n!=="head"&&(x=await mn(u,r))!==0){let C=new Request(t,{method:"POST",body:r,duplex:"half"}),_;a.isFormData(r)&&(_=C.headers.get("content-type"))&&u.setContentType(_),C.body&&(r=be(C.body,Re,Ee(x,M(f)),null,ee))}a.isString(p)||(p=p?"cors":"omit"),R=new Request(t,{...b,signal:y,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",withCredentials:p});let w=await fetch(R);const D=te&&(l==="stream"||l==="response");if(te&&(c||D)){const C={};["status","statusText","headers"].forEach(le=>{C[le]=w[le]});const _=a.toFiniteNumber(w.headers.get("content-length"));w=new Response(be(w.body,Re,c&&Ee(_,M(c,!0)),D&&S,ee),C)}l=l||"text";let Ke=await z[a.findKey(z,l)||"text"](w,e);return!D&&S(),d&&d(),await new Promise((C,_)=>{Ie(C,_,{data:Ke,headers:g.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:R})})}catch(w){throw S(),w&&w.name==="TypeError"&&/fetch/i.test(w.message)?Object.assign(new h("Network Error",h.ERR_NETWORK,e,R),{cause:w.cause||w}):h.from(w,w&&w.code,e,R)}}),ne={http:Lt,xhr:un,fetch:yn};a.forEach(ne,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Se=e=>`- ${e}`,wn=e=>a.isFunction(e)||e===null||e===!1,Ve={getAdapter:e=>{e=a.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o`adapter ${c} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since : -`+o.map(Se).join(` -`):" "+Se(o[0]):"as no adapter specified";throw new h("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ne};function Q(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new B(null,e)}function ge(e){return Q(e),e.headers=g.from(e.headers),e.data=X.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ve.getAdapter(e.adapter||q.adapter)(e).then(function(r){return Q(e),r.data=X.call(e,e.transformResponse,r),r.headers=g.from(r.headers),r},function(r){return He(r)||(Q(e),r&&r.response&&(r.response.data=X.call(e,e.transformResponse,r.response),r.response.headers=g.from(r.response.headers))),Promise.reject(r)})}const We="1.7.2",ce={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ce[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Oe={};ce.transitional=function(t,n,r){function s(o,i){return"[Axios v"+We+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,c)=>{if(t===!1)throw new h(s(i," has been removed"+(n?" in "+n:"")),h.ERR_DEPRECATED);return n&&!Oe[i]&&(Oe[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,c):!0}};function bn(e,t,n){if(typeof e!="object")throw new h("options must be an object",h.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const c=e[o],f=c===void 0||i(c,o,e);if(f!==!0)throw new h("option "+o+" must be "+f,h.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new h("Unknown option "+o,h.ERR_BAD_OPTION)}}const re={assertOptions:bn,validators:ce},P=re.validators;class N{constructor(t){this.defaults=t,this.interceptors={request:new me,response:new me}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=F(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&re.assertOptions(r,{silentJSONParsing:P.transitional(P.boolean),forcedJSONParsing:P.transitional(P.boolean),clarifyTimeoutError:P.transitional(P.boolean)},!1),s!=null&&(a.isFunction(s)?n.paramsSerializer={serialize:s}:re.assertOptions(s,{encode:P.function,serialize:P.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&a.merge(o.common,o[n.method]);o&&a.forEach(["delete","get","head","post","put","patch","common"],d=>{delete o[d]}),n.headers=g.concat(i,o);const c=[];let f=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(f=f&&m.synchronous,c.unshift(m.fulfilled,m.rejected))});const l=[];this.interceptors.response.forEach(function(m){l.push(m.fulfilled,m.rejected)});let u,p=0,b;if(!f){const d=[ge.bind(this),void 0];for(d.unshift.apply(d,c),d.push.apply(d,l),b=d.length,u=Promise.resolve(n);p{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(c=>{r.subscribe(c),o=c}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,c){r.reason||(r.reason=new B(o,i,c),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 ue(function(s){t=s}),cancel:t}}}function En(e){return function(n){return e.apply(null,n)}}function Rn(e){return a.isObject(e)&&e.isAxiosError===!0}const se={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(se).forEach(([e,t])=>{se[t]=e});function $e(e){const t=new N(e),n=Te(N.prototype.request,t);return a.extend(n,N.prototype,t,{allOwnKeys:!0}),a.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return $e(F(e,s))},n}const E=$e(q);E.Axios=N;E.CanceledError=B;E.CancelToken=ue;E.isCancel=He;E.VERSION=We;E.toFormData=$;E.AxiosError=h;E.Cancel=E.CanceledError;E.all=function(t){return Promise.all(t)};E.spread=En;E.isAxiosError=Rn;E.mergeConfig=F;E.AxiosHeaders=g;E.formToJSON=e=>qe(a.isHTMLForm(e)?new FormData(e):e);E.getAdapter=Ve.getAdapter;E.HttpStatusCode=se;E.default=E;const Sn=E.create({baseURL:`${window.location.origin}`,withCredentials:!0,headers:{"Content-Type":"application/json"}});Sn.interceptors.response.use(e=>Promise.resolve(e),e=>{const{status:t}=e.response;return console.warn("error in rest-axios",t),Promise.reject(e)});(function(e,t){(function(){t.path.isFront,console.log("drupalSettings",t);function r(){console.log("MathalloTheme init()"),s()}function s(){console.log("initVues")}r()})()})(Drupal,drupalSettings); +function iu(i,e){return function(){return i.apply(e,arguments)}}const{toString:Zl}=Object.prototype,{getPrototypeOf:Co}=Object,ws=(i=>e=>{const r=Zl.call(e);return i[r]||(i[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),hr=i=>(i=i.toLowerCase(),e=>ws(e)===i),bs=i=>e=>typeof e===i,{isArray:Yn}=Array,wi=bs("undefined");function ef(i){return i!==null&&!wi(i)&&i.constructor!==null&&!wi(i.constructor)&&nr(i.constructor.isBuffer)&&i.constructor.isBuffer(i)}const su=hr("ArrayBuffer");function tf(i){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(i):e=i&&i.buffer&&su(i.buffer),e}const rf=bs("string"),nr=bs("function"),ou=bs("number"),xs=i=>i!==null&&typeof i=="object",nf=i=>i===!0||i===!1,Gi=i=>{if(ws(i)!=="object")return!1;const e=Co(i);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in i)&&!(Symbol.iterator in i)},sf=hr("Date"),of=hr("File"),af=hr("Blob"),uf=hr("FileList"),lf=i=>xs(i)&&nr(i.pipe),ff=i=>{let e;return i&&(typeof FormData=="function"&&i instanceof FormData||nr(i.append)&&((e=ws(i))==="formdata"||e==="object"&&nr(i.toString)&&i.toString()==="[object FormData]"))},cf=hr("URLSearchParams"),[hf,df,pf,_f]=["ReadableStream","Request","Response","Headers"].map(hr),gf=i=>i.trim?i.trim():i.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Oi(i,e,{allOwnKeys:r=!1}={}){if(i===null||typeof i>"u")return;let t,n;if(typeof i!="object"&&(i=[i]),Yn(i))for(t=0,n=i.length;t0;)if(n=r[t],e===n.toLowerCase())return n;return null}const uu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,lu=i=>!wi(i)&&i!==uu;function js(){const{caseless:i}=lu(this)&&this||{},e={},r=(t,n)=>{const s=i&&au(e,n)||n;Gi(e[s])&&Gi(t)?e[s]=js(e[s],t):Gi(t)?e[s]=js({},t):Yn(t)?e[s]=t.slice():e[s]=t};for(let t=0,n=arguments.length;t(Oi(e,(n,s)=>{r&&nr(n)?i[s]=iu(n,r):i[s]=n},{allOwnKeys:t}),i),yf=i=>(i.charCodeAt(0)===65279&&(i=i.slice(1)),i),wf=(i,e,r,t)=>{i.prototype=Object.create(e.prototype,t),i.prototype.constructor=i,Object.defineProperty(i,"super",{value:e.prototype}),r&&Object.assign(i.prototype,r)},bf=(i,e,r,t)=>{let n,s,o;const a={};if(e=e||{},i==null)return e;do{for(n=Object.getOwnPropertyNames(i),s=n.length;s-- >0;)o=n[s],(!t||t(o,i,e))&&!a[o]&&(e[o]=i[o],a[o]=!0);i=r!==!1&&Co(i)}while(i&&(!r||r(i,e))&&i!==Object.prototype);return e},xf=(i,e,r)=>{i=String(i),(r===void 0||r>i.length)&&(r=i.length),r-=e.length;const t=i.indexOf(e,r);return t!==-1&&t===r},vf=i=>{if(!i)return null;if(Yn(i))return i;let e=i.length;if(!ou(e))return null;const r=new Array(e);for(;e-- >0;)r[e]=i[e];return r},Tf=(i=>e=>i&&e instanceof i)(typeof Uint8Array<"u"&&Co(Uint8Array)),Sf=(i,e)=>{const t=(i&&i[Symbol.iterator]).call(i);let n;for(;(n=t.next())&&!n.done;){const s=n.value;e.call(i,s[0],s[1])}},Ef=(i,e)=>{let r;const t=[];for(;(r=i.exec(e))!==null;)t.push(r);return t},Cf=hr("HTMLFormElement"),Pf=i=>i.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,t,n){return t.toUpperCase()+n}),ia=(({hasOwnProperty:i})=>(e,r)=>i.call(e,r))(Object.prototype),Rf=hr("RegExp"),fu=(i,e)=>{const r=Object.getOwnPropertyDescriptors(i),t={};Oi(r,(n,s)=>{let o;(o=e(n,s,i))!==!1&&(t[s]=o||n)}),Object.defineProperties(i,t)},Of=i=>{fu(i,(e,r)=>{if(nr(i)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const t=i[r];if(nr(t)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},kf=(i,e)=>{const r={},t=n=>{n.forEach(s=>{r[s]=!0})};return Yn(i)?t(i):t(String(i).split(e)),r},Af=()=>{},Df=(i,e)=>i!=null&&Number.isFinite(i=+i)?i:e,Os="abcdefghijklmnopqrstuvwxyz",sa="0123456789",cu={DIGIT:sa,ALPHA:Os,ALPHA_DIGIT:Os+Os.toUpperCase()+sa},Mf=(i=16,e=cu.ALPHA_DIGIT)=>{let r="";const{length:t}=e;for(;i--;)r+=e[Math.random()*t|0];return r};function Ff(i){return!!(i&&nr(i.append)&&i[Symbol.toStringTag]==="FormData"&&i[Symbol.iterator])}const Nf=i=>{const e=new Array(10),r=(t,n)=>{if(xs(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const s=Yn(t)?[]:{};return Oi(t,(o,a)=>{const u=r(o,n+1);!wi(u)&&(s[a]=u)}),e[n]=void 0,s}}return t};return r(i,0)},Lf=hr("AsyncFunction"),zf=i=>i&&(xs(i)||nr(i))&&nr(i.then)&&nr(i.catch),x={isArray:Yn,isArrayBuffer:su,isBuffer:ef,isFormData:ff,isArrayBufferView:tf,isString:rf,isNumber:ou,isBoolean:nf,isObject:xs,isPlainObject:Gi,isReadableStream:hf,isRequest:df,isResponse:pf,isHeaders:_f,isUndefined:wi,isDate:sf,isFile:of,isBlob:af,isRegExp:Rf,isFunction:nr,isStream:lf,isURLSearchParams:cf,isTypedArray:Tf,isFileList:uf,forEach:Oi,merge:js,extend:mf,trim:gf,stripBOM:yf,inherits:wf,toFlatObject:bf,kindOf:ws,kindOfTest:hr,endsWith:xf,toArray:vf,forEachEntry:Sf,matchAll:Ef,isHTMLForm:Cf,hasOwnProperty:ia,hasOwnProp:ia,reduceDescriptors:fu,freezeMethods:Of,toObjectSet:kf,toCamelCase:Pf,noop:Af,toFiniteNumber:Df,findKey:au,global:uu,isContextDefined:lu,ALPHABET:cu,generateString:Mf,isSpecCompliantForm:Ff,toJSONObject:Nf,isAsyncFn:Lf,isThenable:zf};function J(i,e,r,t,n){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=i,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),t&&(this.request=t),n&&(this.response=n)}x.inherits(J,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:x.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const hu=J.prototype,du={};["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(i=>{du[i]={value:i}});Object.defineProperties(J,du);Object.defineProperty(hu,"isAxiosError",{value:!0});J.from=(i,e,r,t,n,s)=>{const o=Object.create(hu);return x.toFlatObject(i,o,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),J.call(o,i.message,e,r,t,n),o.cause=i,o.name=i.name,s&&Object.assign(o,s),o};const Bf=null;function Gs(i){return x.isPlainObject(i)||x.isArray(i)}function pu(i){return x.endsWith(i,"[]")?i.slice(0,-2):i}function oa(i,e,r){return i?i.concat(e).map(function(n,s){return n=pu(n),!r&&s?"["+n+"]":n}).join(r?".":""):e}function If(i){return x.isArray(i)&&!i.some(Gs)}const Uf=x.toFlatObject(x,{},null,function(e){return/^is[A-Z]/.test(e)});function vs(i,e,r){if(!x.isObject(i))throw new TypeError("target must be an object");e=e||new FormData,r=x.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,g){return!x.isUndefined(g[h])});const t=r.metaTokens,n=r.visitor||l,s=r.dots,o=r.indexes,u=(r.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(e);if(!x.isFunction(n))throw new TypeError("visitor must be a function");function f(_){if(_===null)return"";if(x.isDate(_))return _.toISOString();if(!u&&x.isBlob(_))throw new J("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(_)||x.isTypedArray(_)?u&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function l(_,h,g){let v=_;if(_&&!g&&typeof _=="object"){if(x.endsWith(h,"{}"))h=t?h:h.slice(0,-2),_=JSON.stringify(_);else if(x.isArray(_)&&If(_)||(x.isFileList(_)||x.endsWith(h,"[]"))&&(v=x.toArray(_)))return h=pu(h),v.forEach(function(E,w){!(x.isUndefined(E)||E===null)&&e.append(o===!0?oa([h],w,s):o===null?h:h+"[]",f(E))}),!1}return Gs(_)?!0:(e.append(oa(g,h,s),f(_)),!1)}const c=[],p=Object.assign(Uf,{defaultVisitor:l,convertValue:f,isVisitable:Gs});function d(_,h){if(!x.isUndefined(_)){if(c.indexOf(_)!==-1)throw Error("Circular reference detected in "+h.join("."));c.push(_),x.forEach(_,function(v,S){(!(x.isUndefined(v)||v===null)&&n.call(e,v,x.isString(S)?S.trim():S,h,p))===!0&&d(v,h?h.concat(S):[S])}),c.pop()}}if(!x.isObject(i))throw new TypeError("data must be an object");return d(i),e}function aa(i){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(i).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function Po(i,e){this._pairs=[],i&&vs(i,this,e)}const _u=Po.prototype;_u.append=function(e,r){this._pairs.push([e,r])};_u.toString=function(e){const r=e?function(t){return e.call(this,t,aa)}:aa;return this._pairs.map(function(n){return r(n[0])+"="+r(n[1])},"").join("&")};function Hf(i){return encodeURIComponent(i).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function gu(i,e,r){if(!e)return i;const t=r&&r.encode||Hf,n=r&&r.serialize;let s;if(n?s=n(e,r):s=x.isURLSearchParams(e)?e.toString():new Po(e,r).toString(t),s){const o=i.indexOf("#");o!==-1&&(i=i.slice(0,o)),i+=(i.indexOf("?")===-1?"?":"&")+s}return i}class ua{constructor(){this.handlers=[]}use(e,r,t){return this.handlers.push({fulfilled:e,rejected:r,synchronous:t?t.synchronous:!1,runWhen:t?t.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){x.forEach(this.handlers,function(t){t!==null&&e(t)})}}const mu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qf=typeof URLSearchParams<"u"?URLSearchParams:Po,Vf=typeof FormData<"u"?FormData:null,Yf=typeof Blob<"u"?Blob:null,$f={isBrowser:!0,classes:{URLSearchParams:qf,FormData:Vf,Blob:Yf},protocols:["http","https","file","blob","url","data"]},Ro=typeof window<"u"&&typeof document<"u",Xf=(i=>Ro&&["ReactNative","NativeScript","NS"].indexOf(i)<0)(typeof navigator<"u"&&navigator.product),Wf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",jf=Ro&&window.location.href||"http://localhost",Gf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ro,hasStandardBrowserEnv:Xf,hasStandardBrowserWebWorkerEnv:Wf,origin:jf},Symbol.toStringTag,{value:"Module"})),cr={...Gf,...$f};function Kf(i,e){return vs(i,new cr.classes.URLSearchParams,Object.assign({visitor:function(r,t,n,s){return cr.isNode&&x.isBuffer(r)?(this.append(t,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function Jf(i){return x.matchAll(/\w+|\[(\w*)]/g,i).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Qf(i){const e={},r=Object.keys(i);let t;const n=r.length;let s;for(t=0;t=r.length;return o=!o&&x.isArray(n)?n.length:o,u?(x.hasOwnProp(n,o)?n[o]=[n[o],t]:n[o]=t,!a):((!n[o]||!x.isObject(n[o]))&&(n[o]=[]),e(r,t,n[o],s)&&x.isArray(n[o])&&(n[o]=Qf(n[o])),!a)}if(x.isFormData(i)&&x.isFunction(i.entries)){const r={};return x.forEachEntry(i,(t,n)=>{e(Jf(t),n,r,0)}),r}return null}function Zf(i,e,r){if(x.isString(i))try{return(e||JSON.parse)(i),x.trim(i)}catch(t){if(t.name!=="SyntaxError")throw t}return(r||JSON.stringify)(i)}const ki={transitional:mu,adapter:["xhr","http","fetch"],transformRequest:[function(e,r){const t=r.getContentType()||"",n=t.indexOf("application/json")>-1,s=x.isObject(e);if(s&&x.isHTMLForm(e)&&(e=new FormData(e)),x.isFormData(e))return n?JSON.stringify(yu(e)):e;if(x.isArrayBuffer(e)||x.isBuffer(e)||x.isStream(e)||x.isFile(e)||x.isBlob(e)||x.isReadableStream(e))return e;if(x.isArrayBufferView(e))return e.buffer;if(x.isURLSearchParams(e))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(s){if(t.indexOf("application/x-www-form-urlencoded")>-1)return Kf(e,this.formSerializer).toString();if((a=x.isFileList(e))||t.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return vs(a?{"files[]":e}:e,u&&new u,this.formSerializer)}}return s||n?(r.setContentType("application/json",!1),Zf(e)):e}],transformResponse:[function(e){const r=this.transitional||ki.transitional,t=r&&r.forcedJSONParsing,n=this.responseType==="json";if(x.isResponse(e)||x.isReadableStream(e))return e;if(e&&x.isString(e)&&(t&&!this.responseType||n)){const o=!(r&&r.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?J.from(a,J.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:cr.classes.FormData,Blob:cr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],i=>{ki.headers[i]={}});const ec=x.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"]),tc=i=>{const e={};let r,t,n;return i&&i.split(` +`).forEach(function(o){n=o.indexOf(":"),r=o.substring(0,n).trim().toLowerCase(),t=o.substring(n+1).trim(),!(!r||e[r]&&ec[r])&&(r==="set-cookie"?e[r]?e[r].push(t):e[r]=[t]:e[r]=e[r]?e[r]+", "+t:t)}),e},la=Symbol("internals");function jn(i){return i&&String(i).trim().toLowerCase()}function Ki(i){return i===!1||i==null?i:x.isArray(i)?i.map(Ki):String(i)}function rc(i){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let t;for(;t=r.exec(i);)e[t[1]]=t[2];return e}const nc=i=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(i.trim());function ks(i,e,r,t,n){if(x.isFunction(t))return t.call(this,e,r);if(n&&(e=r),!!x.isString(e)){if(x.isString(t))return e.indexOf(t)!==-1;if(x.isRegExp(t))return t.test(e)}}function ic(i){return i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,r,t)=>r.toUpperCase()+t)}function sc(i,e){const r=x.toCamelCase(" "+e);["get","set","has"].forEach(t=>{Object.defineProperty(i,t+r,{value:function(n,s,o){return this[t].call(this,e,n,s,o)},configurable:!0})})}class At{constructor(e){e&&this.set(e)}set(e,r,t){const n=this;function s(a,u,f){const l=jn(u);if(!l)throw new Error("header name must be a non-empty string");const c=x.findKey(n,l);(!c||n[c]===void 0||f===!0||f===void 0&&n[c]!==!1)&&(n[c||u]=Ki(a))}const o=(a,u)=>x.forEach(a,(f,l)=>s(f,l,u));if(x.isPlainObject(e)||e instanceof this.constructor)o(e,r);else if(x.isString(e)&&(e=e.trim())&&!nc(e))o(tc(e),r);else if(x.isHeaders(e))for(const[a,u]of e.entries())s(u,a,t);else e!=null&&s(r,e,t);return this}get(e,r){if(e=jn(e),e){const t=x.findKey(this,e);if(t){const n=this[t];if(!r)return n;if(r===!0)return rc(n);if(x.isFunction(r))return r.call(this,n,t);if(x.isRegExp(r))return r.exec(n);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,r){if(e=jn(e),e){const t=x.findKey(this,e);return!!(t&&this[t]!==void 0&&(!r||ks(this,this[t],t,r)))}return!1}delete(e,r){const t=this;let n=!1;function s(o){if(o=jn(o),o){const a=x.findKey(t,o);a&&(!r||ks(t,t[a],a,r))&&(delete t[a],n=!0)}}return x.isArray(e)?e.forEach(s):s(e),n}clear(e){const r=Object.keys(this);let t=r.length,n=!1;for(;t--;){const s=r[t];(!e||ks(this,this[s],s,e,!0))&&(delete this[s],n=!0)}return n}normalize(e){const r=this,t={};return x.forEach(this,(n,s)=>{const o=x.findKey(t,s);if(o){r[o]=Ki(n),delete r[s];return}const a=e?ic(s):String(s).trim();a!==s&&delete r[s],r[a]=Ki(n),t[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const r=Object.create(null);return x.forEach(this,(t,n)=>{t!=null&&t!==!1&&(r[n]=e&&x.isArray(t)?t.join(", "):t)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,r])=>e+": "+r).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const t=new this(e);return r.forEach(n=>t.set(n)),t}static accessor(e){const t=(this[la]=this[la]={accessors:{}}).accessors,n=this.prototype;function s(o){const a=jn(o);t[a]||(sc(n,o),t[a]=!0)}return x.isArray(e)?e.forEach(s):s(e),this}}At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(At.prototype,({value:i},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>i,set(t){this[r]=t}}});x.freezeMethods(At);function As(i,e){const r=this||ki,t=e||r,n=At.from(t.headers);let s=t.data;return x.forEach(i,function(a){s=a.call(r,s,n.normalize(),e?e.status:void 0)}),n.normalize(),s}function wu(i){return!!(i&&i.__CANCEL__)}function $n(i,e,r){J.call(this,i??"canceled",J.ERR_CANCELED,e,r),this.name="CanceledError"}x.inherits($n,J,{__CANCEL__:!0});function bu(i,e,r){const t=r.config.validateStatus;!r.status||!t||t(r.status)?i(r):e(new J("Request failed with status code "+r.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function oc(i){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(i);return e&&e[1]||""}function ac(i,e){i=i||10;const r=new Array(i),t=new Array(i);let n=0,s=0,o;return e=e!==void 0?e:1e3,function(u){const f=Date.now(),l=t[s];o||(o=f),r[n]=u,t[n]=f;let c=s,p=0;for(;c!==n;)p+=r[c++],c=c%i;if(n=(n+1)%i,n===s&&(s=(s+1)%i),f-ot)return n&&(clearTimeout(n),n=null),r=a,i.apply(null,arguments);n||(n=setTimeout(()=>(n=null,r=Date.now(),i.apply(null,arguments)),t-(a-r)))}}const os=(i,e,r=3)=>{let t=0;const n=ac(50,250);return uc(s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,u=o-t,f=n(u),l=o<=a;t=o;const c={loaded:o,total:a,progress:a?o/a:void 0,bytes:u,rate:f||void 0,estimated:f&&a&&l?(a-o)/f:void 0,event:s,lengthComputable:a!=null};c[e?"download":"upload"]=!0,i(c)},r)},lc=cr.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let t;function n(s){let o=s;return e&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return t=n(window.location.href),function(o){const a=x.isString(o)?n(o):o;return a.protocol===t.protocol&&a.host===t.host}}():function(){return function(){return!0}}(),fc=cr.hasStandardBrowserEnv?{write(i,e,r,t,n,s){const o=[i+"="+encodeURIComponent(e)];x.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),x.isString(t)&&o.push("path="+t),x.isString(n)&&o.push("domain="+n),s===!0&&o.push("secure"),document.cookie=o.join("; ")},read(i){const e=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(i){this.write(i,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function cc(i){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(i)}function hc(i,e){return e?i.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):i}function xu(i,e){return i&&!cc(e)?hc(i,e):e}const fa=i=>i instanceof At?{...i}:i;function mn(i,e){e=e||{};const r={};function t(f,l,c){return x.isPlainObject(f)&&x.isPlainObject(l)?x.merge.call({caseless:c},f,l):x.isPlainObject(l)?x.merge({},l):x.isArray(l)?l.slice():l}function n(f,l,c){if(x.isUndefined(l)){if(!x.isUndefined(f))return t(void 0,f,c)}else return t(f,l,c)}function s(f,l){if(!x.isUndefined(l))return t(void 0,l)}function o(f,l){if(x.isUndefined(l)){if(!x.isUndefined(f))return t(void 0,f)}else return t(void 0,l)}function a(f,l,c){if(c in e)return t(f,l);if(c in i)return t(void 0,f)}const u={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:(f,l)=>n(fa(f),fa(l),!0)};return x.forEach(Object.keys(Object.assign({},i,e)),function(l){const c=u[l]||n,p=c(i[l],e[l],l);x.isUndefined(p)&&c!==a||(r[l]=p)}),r}const vu=i=>{const e=mn({},i);let{data:r,withXSRFToken:t,xsrfHeaderName:n,xsrfCookieName:s,headers:o,auth:a}=e;e.headers=o=At.from(o),e.url=gu(xu(e.baseURL,e.url),i.params,i.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let u;if(x.isFormData(r)){if(cr.hasStandardBrowserEnv||cr.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((u=o.getContentType())!==!1){const[f,...l]=u?u.split(";").map(c=>c.trim()).filter(Boolean):[];o.setContentType([f||"multipart/form-data",...l].join("; "))}}if(cr.hasStandardBrowserEnv&&(t&&x.isFunction(t)&&(t=t(e)),t||t!==!1&&lc(e.url))){const f=n&&s&&fc.read(s);f&&o.set(n,f)}return e},dc=typeof XMLHttpRequest<"u",pc=dc&&function(i){return new Promise(function(r,t){const n=vu(i);let s=n.data;const o=At.from(n.headers).normalize();let{responseType:a}=n,u;function f(){n.cancelToken&&n.cancelToken.unsubscribe(u),n.signal&&n.signal.removeEventListener("abort",u)}let l=new XMLHttpRequest;l.open(n.method.toUpperCase(),n.url,!0),l.timeout=n.timeout;function c(){if(!l)return;const d=At.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),h={data:!a||a==="text"||a==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:d,config:i,request:l};bu(function(v){r(v),f()},function(v){t(v),f()},h),l=null}"onloadend"in l?l.onloadend=c:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(c)},l.onabort=function(){l&&(t(new J("Request aborted",J.ECONNABORTED,n,l)),l=null)},l.onerror=function(){t(new J("Network Error",J.ERR_NETWORK,n,l)),l=null},l.ontimeout=function(){let _=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const h=n.transitional||mu;n.timeoutErrorMessage&&(_=n.timeoutErrorMessage),t(new J(_,h.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,n,l)),l=null},s===void 0&&o.setContentType(null),"setRequestHeader"in l&&x.forEach(o.toJSON(),function(_,h){l.setRequestHeader(h,_)}),x.isUndefined(n.withCredentials)||(l.withCredentials=!!n.withCredentials),a&&a!=="json"&&(l.responseType=n.responseType),typeof n.onDownloadProgress=="function"&&l.addEventListener("progress",os(n.onDownloadProgress,!0)),typeof n.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",os(n.onUploadProgress)),(n.cancelToken||n.signal)&&(u=d=>{l&&(t(!d||d.type?new $n(null,i,l):d),l.abort(),l=null)},n.cancelToken&&n.cancelToken.subscribe(u),n.signal&&(n.signal.aborted?u():n.signal.addEventListener("abort",u)));const p=oc(n.url);if(p&&cr.protocols.indexOf(p)===-1){t(new J("Unsupported protocol "+p+":",J.ERR_BAD_REQUEST,i));return}l.send(s||null)})},_c=(i,e)=>{let r=new AbortController,t;const n=function(u){if(!t){t=!0,o();const f=u instanceof Error?u:this.reason;r.abort(f instanceof J?f:new $n(f instanceof Error?f.message:f))}};let s=e&&setTimeout(()=>{n(new J(`timeout ${e} of ms exceeded`,J.ETIMEDOUT))},e);const o=()=>{i&&(s&&clearTimeout(s),s=null,i.forEach(u=>{u&&(u.removeEventListener?u.removeEventListener("abort",n):u.unsubscribe(n))}),i=null)};i.forEach(u=>u&&u.addEventListener&&u.addEventListener("abort",n));const{signal:a}=r;return a.unsubscribe=o,[a,()=>{s&&clearTimeout(s),s=null}]},gc=function*(i,e){let r=i.byteLength;if(!e||r{const s=mc(i,e,n);let o=0;return new ReadableStream({type:"bytes",async pull(a){const{done:u,value:f}=await s.next();if(u){a.close(),t();return}let l=f.byteLength;r&&r(o+=l),a.enqueue(new Uint8Array(f))},cancel(a){return t(a),s.return()}},{highWaterMark:2})},ha=(i,e)=>{const r=i!=null;return t=>setTimeout(()=>e({lengthComputable:r,total:i,loaded:t}))},Ts=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Tu=Ts&&typeof ReadableStream=="function",Ks=Ts&&(typeof TextEncoder=="function"?(i=>e=>i.encode(e))(new TextEncoder):async i=>new Uint8Array(await new Response(i).arrayBuffer())),yc=Tu&&(()=>{let i=!1;const e=new Request(cr.origin,{body:new ReadableStream,method:"POST",get duplex(){return i=!0,"half"}}).headers.has("Content-Type");return i&&!e})(),da=64*1024,Js=Tu&&!!(()=>{try{return x.isReadableStream(new Response("").body)}catch{}})(),as={stream:Js&&(i=>i.body)};Ts&&(i=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!as[e]&&(as[e]=x.isFunction(i[e])?r=>r[e]():(r,t)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,t)})})})(new Response);const wc=async i=>{if(i==null)return 0;if(x.isBlob(i))return i.size;if(x.isSpecCompliantForm(i))return(await new Request(i).arrayBuffer()).byteLength;if(x.isArrayBufferView(i))return i.byteLength;if(x.isURLSearchParams(i)&&(i=i+""),x.isString(i))return(await Ks(i)).byteLength},bc=async(i,e)=>{const r=x.toFiniteNumber(i.getContentLength());return r??wc(e)},xc=Ts&&(async i=>{let{url:e,method:r,data:t,signal:n,cancelToken:s,timeout:o,onDownloadProgress:a,onUploadProgress:u,responseType:f,headers:l,withCredentials:c="same-origin",fetchOptions:p}=vu(i);f=f?(f+"").toLowerCase():"text";let[d,_]=n||s||o?_c([n,s],o):[],h,g;const v=()=>{!h&&setTimeout(()=>{d&&d.unsubscribe()}),h=!0};let S;try{if(u&&yc&&r!=="get"&&r!=="head"&&(S=await bc(l,t))!==0){let P=new Request(e,{method:"POST",body:t,duplex:"half"}),T;x.isFormData(t)&&(T=P.headers.get("content-type"))&&l.setContentType(T),P.body&&(t=ca(P.body,da,ha(S,os(u)),null,Ks))}x.isString(c)||(c=c?"cors":"omit"),g=new Request(e,{...p,signal:d,method:r.toUpperCase(),headers:l.normalize().toJSON(),body:t,duplex:"half",withCredentials:c});let E=await fetch(g);const w=Js&&(f==="stream"||f==="response");if(Js&&(a||w)){const P={};["status","statusText","headers"].forEach(A=>{P[A]=E[A]});const T=x.toFiniteNumber(E.headers.get("content-length"));E=new Response(ca(E.body,da,a&&ha(T,os(a,!0)),w&&v,Ks),P)}f=f||"text";let C=await as[x.findKey(as,f)||"text"](E,i);return!w&&v(),_&&_(),await new Promise((P,T)=>{bu(P,T,{data:C,headers:At.from(E.headers),status:E.status,statusText:E.statusText,config:i,request:g})})}catch(E){throw v(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new J("Network Error",J.ERR_NETWORK,i,g),{cause:E.cause||E}):J.from(E,E&&E.code,i,g)}}),Qs={http:Bf,xhr:pc,fetch:xc};x.forEach(Qs,(i,e)=>{if(i){try{Object.defineProperty(i,"name",{value:e})}catch{}Object.defineProperty(i,"adapterName",{value:e})}});const pa=i=>`- ${i}`,vc=i=>x.isFunction(i)||i===null||i===!1,Su={getAdapter:i=>{i=x.isArray(i)?i:[i];const{length:e}=i;let r,t;const n={};for(let s=0;s`adapter ${a} `+(u===!1?"is not supported by the environment":"is not available in the build"));let o=e?s.length>1?`since : +`+s.map(pa).join(` +`):" "+pa(s[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return t},adapters:Qs};function Ds(i){if(i.cancelToken&&i.cancelToken.throwIfRequested(),i.signal&&i.signal.aborted)throw new $n(null,i)}function _a(i){return Ds(i),i.headers=At.from(i.headers),i.data=As.call(i,i.transformRequest),["post","put","patch"].indexOf(i.method)!==-1&&i.headers.setContentType("application/x-www-form-urlencoded",!1),Su.getAdapter(i.adapter||ki.adapter)(i).then(function(t){return Ds(i),t.data=As.call(i,i.transformResponse,t),t.headers=At.from(t.headers),t},function(t){return wu(t)||(Ds(i),t&&t.response&&(t.response.data=As.call(i,i.transformResponse,t.response),t.response.headers=At.from(t.response.headers))),Promise.reject(t)})}const Eu="1.7.2",Oo={};["object","boolean","number","function","string","symbol"].forEach((i,e)=>{Oo[i]=function(t){return typeof t===i||"a"+(e<1?"n ":" ")+i}});const ga={};Oo.transitional=function(e,r,t){function n(s,o){return"[Axios v"+Eu+"] Transitional option '"+s+"'"+o+(t?". "+t:"")}return(s,o,a)=>{if(e===!1)throw new J(n(o," has been removed"+(r?" in "+r:"")),J.ERR_DEPRECATED);return r&&!ga[o]&&(ga[o]=!0,console.warn(n(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(s,o,a):!0}};function Tc(i,e,r){if(typeof i!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const t=Object.keys(i);let n=t.length;for(;n-- >0;){const s=t[n],o=e[s];if(o){const a=i[s],u=a===void 0||o(a,s,i);if(u!==!0)throw new J("option "+s+" must be "+u,J.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new J("Unknown option "+s,J.ERR_BAD_OPTION)}}const Zs={assertOptions:Tc,validators:Oo},Lr=Zs.validators;class ln{constructor(e){this.defaults=e,this.interceptors={request:new ua,response:new ua}}async request(e,r){try{return await this._request(e,r)}catch(t){if(t instanceof Error){let n;Error.captureStackTrace?Error.captureStackTrace(n={}):n=new Error;const s=n.stack?n.stack.replace(/^.+\n/,""):"";try{t.stack?s&&!String(t.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(t.stack+=` +`+s):t.stack=s}catch{}}throw t}}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=mn(this.defaults,r);const{transitional:t,paramsSerializer:n,headers:s}=r;t!==void 0&&Zs.assertOptions(t,{silentJSONParsing:Lr.transitional(Lr.boolean),forcedJSONParsing:Lr.transitional(Lr.boolean),clarifyTimeoutError:Lr.transitional(Lr.boolean)},!1),n!=null&&(x.isFunction(n)?r.paramsSerializer={serialize:n}:Zs.assertOptions(n,{encode:Lr.function,serialize:Lr.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=s&&x.merge(s.common,s[r.method]);s&&x.forEach(["delete","get","head","post","put","patch","common"],_=>{delete s[_]}),r.headers=At.concat(o,s);const a=[];let u=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(r)===!1||(u=u&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const f=[];this.interceptors.response.forEach(function(h){f.push(h.fulfilled,h.rejected)});let l,c=0,p;if(!u){const _=[_a.bind(this),void 0];for(_.unshift.apply(_,a),_.push.apply(_,f),p=_.length,l=Promise.resolve(r);c{if(!t._listeners)return;let s=t._listeners.length;for(;s-- >0;)t._listeners[s](n);t._listeners=null}),this.promise.then=n=>{let s;const o=new Promise(a=>{t.subscribe(a),s=a}).then(n);return o.cancel=function(){t.unsubscribe(s)},o},e(function(s,o,a){t.reason||(t.reason=new $n(s,o,a),r(t.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new ko(function(n){e=n}),cancel:e}}}function Sc(i){return function(r){return i.apply(null,r)}}function Ec(i){return x.isObject(i)&&i.isAxiosError===!0}const eo={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(eo).forEach(([i,e])=>{eo[e]=i});function Cu(i){const e=new ln(i),r=iu(ln.prototype.request,e);return x.extend(r,ln.prototype,e,{allOwnKeys:!0}),x.extend(r,e,null,{allOwnKeys:!0}),r.create=function(n){return Cu(mn(i,n))},r}const Ye=Cu(ki);Ye.Axios=ln;Ye.CanceledError=$n;Ye.CancelToken=ko;Ye.isCancel=wu;Ye.VERSION=Eu;Ye.toFormData=vs;Ye.AxiosError=J;Ye.Cancel=Ye.CanceledError;Ye.all=function(e){return Promise.all(e)};Ye.spread=Sc;Ye.isAxiosError=Ec;Ye.mergeConfig=mn;Ye.AxiosHeaders=At;Ye.formToJSON=i=>yu(x.isHTMLForm(i)?new FormData(i):i);Ye.getAdapter=Su.getAdapter;Ye.HttpStatusCode=eo;Ye.default=Ye;const Cc=Ye.create({baseURL:`${window.location.origin}`,withCredentials:!0,headers:{"Content-Type":"application/json"}});Cc.interceptors.response.use(i=>Promise.resolve(i),i=>{const{status:e}=i.response;return console.warn("error in rest-axios",e),Promise.reject(i)});function Pr(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function Pu(i,e){i.prototype=Object.create(e.prototype),i.prototype.constructor=i,i.__proto__=e}/*! + * GSAP 3.14.1 + * https://gsap.com + * + * @license Copyright 2008-2025, GreenSock. All rights reserved. + * Subject to the terms at https://gsap.com/standard-license + * @author: Jack Doyle, jack@greensock.com +*/var jt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},zn={duration:.5,overwrite:!1,delay:0},Ao,lt,Ce,tr=1e8,xe=1/tr,to=Math.PI*2,Pc=to/4,Rc=0,Ru=Math.sqrt,Oc=Math.cos,kc=Math.sin,it=function(e){return typeof e=="string"},Ne=function(e){return typeof e=="function"},Dr=function(e){return typeof e=="number"},Do=function(e){return typeof e>"u"},Sr=function(e){return typeof e=="object"},Dt=function(e){return e!==!1},Mo=function(){return typeof window<"u"},Fi=function(e){return Ne(e)||it(e)},Ou=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},wt=Array.isArray,Ac=/random\([^)]+\)/g,Dc=/,\s*/g,ma=/(?:-?\.?\d|\.)+/gi,ku=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Rn=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ms=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Au=/[+-]=-?[.\d]+/,Mc=/[^,'"\[\]\s]+/gi,Fc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Ae,mr,ro,Fo,Gt={},us={},Du,Mu=function(e){return(us=Bn(e,Gt))&&Lt},No=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},bi=function(e,r){return!r&&console.warn(e)},Fu=function(e,r){return e&&(Gt[e]=r)&&us&&(us[e]=r)||Gt},xi=function(){return 0},Nc={suppressEvents:!0,isStart:!0,kill:!1},Ji={suppressEvents:!0,kill:!1},Lc={suppressEvents:!0},Lo={},$r=[],no={},Nu,qt={},Fs={},ya=30,Qi=[],zo="",Bo=function(e){var r=e[0],t,n;if(Sr(r)||Ne(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(n=Qi.length;n--&&!Qi[n].targetTest(r););t=Qi[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new sl(e[n],t)))||e.splice(n,1);return e},fn=function(e){return e._gsap||Bo(rr(e))[0]._gsap},Lu=function(e,r,t){return(t=e[r])&&Ne(t)?e[r]():Do(t)&&e.getAttribute&&e.getAttribute(r)||t},Mt=function(e,r){return(e=e.split(",")).forEach(r)||e},Be=function(e){return Math.round(e*1e5)/1e5||0},ke=function(e){return Math.round(e*1e7)/1e7||0},An=function(e,r){var t=r.charAt(0),n=parseFloat(r.substr(2));return e=parseFloat(e),t==="+"?e+n:t==="-"?e-n:t==="*"?e*n:e/n},zc=function(e,r){for(var t=r.length,n=0;e.indexOf(r[n])<0&&++na;)o=o._prev;return o?(r._next=o._next,o._next=r):(r._next=e[t],e[t]=r),r._next?r._next._prev=r:e[n]=r,r._prev=o,r.parent=r._dp=e,r},Ss=function(e,r,t,n){t===void 0&&(t="_first"),n===void 0&&(n="_last");var s=r._prev,o=r._next;s?s._next=o:e[t]===r&&(e[t]=o),o?o._prev=s:e[n]===r&&(e[n]=s),r._next=r._prev=r.parent=null},jr=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},cn=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var t=e;t;)t._dirty=1,t=t.parent;return e},Uc=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},io=function(e,r,t,n){return e._startAt&&(lt?e._startAt.revert(Ji):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,n))},Hc=function i(e){return!e||e._ts&&i(e.parent)},ba=function(e){return e._repeat?In(e._tTime,e=e.duration()+e._rDelay)*e:0},In=function(e,r){var t=Math.floor(e=ke(e/r));return e&&t===e?t-1:t},cs=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},Es=function(e){return e._end=ke(e._start+(e._tDur/Math.abs(e._ts||e._rts||xe)||0))},Cs=function(e,r){var t=e._dp;return t&&t.smoothChildTiming&&e._ts&&(e._start=ke(t._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),Es(e),t._dirty||cn(t,e)),e},Hu=function(e,r){var t;if((r._time||!r._dur&&r._initted||r._startxe)&&r.render(t,!0)),cn(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&t.totalTime(t._tTime),t=t._dp;e._zTime=-xe}},br=function(e,r,t,n){return r.parent&&jr(r),r._start=ke((Dr(t)?t:t||e!==Ae?Qt(e,t,r):e._time)+r._delay),r._end=ke(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),Uu(e,r,"_first","_last",e._sort?"_start":0),so(r)||(e._recent=r),n||Hu(e,r),e._ts<0&&Cs(e,e._tTime),e},qu=function(e,r){return(Gt.ScrollTrigger||No("scrollTrigger",r))&&Gt.ScrollTrigger.create(r,e)},Vu=function(e,r,t,n,s){if(Ho(e,r,s),!e._initted)return 1;if(!t&&e._pt&&!lt&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Nu!==Yt.frame)return $r.push(e),e._lazy=[s,n],1},qc=function i(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||i(r))},so=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},Vc=function(e,r,t,n){var s=e.ratio,o=r<0||!r&&(!e._start&&qc(e)&&!(!e._initted&&so(e))||(e._ts<0||e._dp._ts<0)&&!so(e))?0:1,a=e._rDelay,u=0,f,l,c;if(a&&e._repeat&&(u=Ai(0,e._tDur,r),l=In(u,a),e._yoyo&&l&1&&(o=1-o),l!==In(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||lt||n||e._zTime===xe||!r&&e._zTime){if(!e._initted&&Vu(e,r,n,t,u))return;for(c=e._zTime,e._zTime=r||(t?xe:0),t||(t=r&&!c),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=u,f=e._pt;f;)f.r(o,f.d),f=f._next;r<0&&io(e,r,t,!0),e._onUpdate&&!t&&Xt(e,"onUpdate"),u&&e._repeat&&!t&&e.parent&&Xt(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===o&&(o&&jr(e,1),!t&&!lt&&(Xt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},Yc=function(e,r,t){var n;if(t>r)for(n=e._first;n&&n._start<=t;){if(n.data==="isPause"&&n._start>r)return n;n=n._next}else for(n=e._last;n&&n._start>=t;){if(n.data==="isPause"&&n._start0&&!n&&Cs(e,e._tTime=e._tDur*a),e.parent&&Es(e),t||cn(e.parent,e),e},xa=function(e){return e instanceof Pt?cn(e):Un(e,e._dur)},$c={_start:0,endTime:xi,totalDuration:xi},Qt=function i(e,r,t){var n=e.labels,s=e._recent||$c,o=e.duration()>=tr?s.endTime(!1):e._dur,a,u,f;return it(r)&&(isNaN(r)||r in n)?(u=r.charAt(0),f=r.substr(-1)==="%",a=r.indexOf("="),u==="<"||u===">"?(a>=0&&(r=r.replace(/=/,"")),(u==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(r.substr(1))||0)*(f?(a<0?s:t).totalDuration()/100:1)):a<0?(r in n||(n[r]=o),n[r]):(u=parseFloat(r.charAt(a-1)+r.substr(a+1)),f&&t&&(u=u/100*(wt(t)?t[0]:t).totalDuration()),a>1?i(e,r.substr(0,a-1),t)+u:o+u)):r==null?o:+r},ai=function(e,r,t){var n=Dr(r[1]),s=(n?2:1)+(e<2?0:1),o=r[s],a,u;if(n&&(o.duration=r[1]),o.parent=t,e){for(a=o,u=t;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=Dt(u.vars.inherit)&&u.parent;o.immediateRender=Dt(a.immediateRender),e<2?o.runBackwards=1:o.startAt=r[s-1]}return new Ve(r[0],o,r[s+1])},Qr=function(e,r){return e||e===0?r(e):r},Ai=function(e,r,t){return tr?r:t},mt=function(e,r){return!it(e)||!(r=Fc.exec(e))?"":r[1]},Xc=function(e,r,t){return Qr(t,function(n){return Ai(e,r,n)})},oo=[].slice,Yu=function(e,r){return e&&Sr(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&Sr(e[0]))&&!e.nodeType&&e!==mr},Wc=function(e,r,t){return t===void 0&&(t=[]),e.forEach(function(n){var s;return it(n)&&!r||Yu(n,1)?(s=t).push.apply(s,rr(n)):t.push(n)})||t},rr=function(e,r,t){return Ce&&!r&&Ce.selector?Ce.selector(e):it(e)&&!t&&(ro||!Hn())?oo.call((r||Fo).querySelectorAll(e),0):wt(e)?Wc(e,t):Yu(e)?oo.call(e,0):e?[e]:[]},ao=function(e){return e=rr(e)[0]||bi("Invalid scope")||{},function(r){var t=e.current||e.nativeElement||e;return rr(r,t.querySelectorAll?t:t===e?bi("Invalid scope")||Fo.createElement("div"):e)}},$u=function(e){return e.sort(function(){return .5-Math.random()})},Xu=function(e){if(Ne(e))return e;var r=Sr(e)?e:{each:e},t=hn(r.ease),n=r.from||0,s=parseFloat(r.base)||0,o={},a=n>0&&n<1,u=isNaN(n)||a,f=r.axis,l=n,c=n;return it(n)?l=c={center:.5,edges:.5,end:1}[n]||0:!a&&u&&(l=n[0],c=n[1]),function(p,d,_){var h=(_||r).length,g=o[h],v,S,E,w,C,P,T,A,R;if(!g){if(R=r.grid==="auto"?0:(r.grid||[1,tr])[1],!R){for(T=-tr;T<(T=_[R++].getBoundingClientRect().left)&&RT&&(T=C),Ch?h-1:f?f==="y"?h/R:R:Math.max(R,h/R))||0)*(n==="edges"?-1:1),g.b=h<0?s-h:s,g.u=mt(r.amount||r.each)||0,t=t&&h<0?rl(t):t}return h=(g[p]-g.min)/g.max||0,ke(g.b+(t?t(h):h)*g.v)+g.u}},uo=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(t){var n=ke(Math.round(parseFloat(t)/e)*e*r);return(n-n%1)/r+(Dr(t)?0:mt(t))}},Wu=function(e,r){var t=wt(e),n,s;return!t&&Sr(e)&&(n=t=e.radius||tr,e.values?(e=rr(e.values),(s=!Dr(e[0]))&&(n*=n)):e=uo(e.increment)),Qr(r,t?Ne(e)?function(o){return s=e(o),Math.abs(s-o)<=n?s:o}:function(o){for(var a=parseFloat(s?o.x:o),u=parseFloat(s?o.y:0),f=tr,l=0,c=e.length,p,d;c--;)s?(p=e[c].x-a,d=e[c].y-u,p=p*p+d*d):p=Math.abs(e[c]-a),pn?s-o:o)})},vi=function(e){return e.replace(Ac,function(r){var t=r.indexOf("[")+1,n=r.substring(t||7,t?r.indexOf("]"):r.length-1).split(Dc);return ju(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},Ku=function(e,r,t,n,s){var o=r-e,a=n-t;return Qr(s,function(u){return t+((u-e)/o*a||0)})},Zc=function i(e,r,t,n){var s=isNaN(e+r)?0:function(d){return(1-d)*e+d*r};if(!s){var o=it(e),a={},u,f,l,c,p;if(t===!0&&(n=1)&&(t=null),o)e={p:e},r={p:r};else if(wt(e)&&!wt(r)){for(l=[],c=e.length,p=c-2,f=1;f(a=Math.abs(a))&&(u=o,s=a);return u},Xt=function(e,r,t){var n=e.vars,s=n[r],o=Ce,a=e._ctx,u,f,l;if(s)return u=n[r+"Params"],f=n.callbackScope||e,t&&$r.length&&ls(),a&&(Ce=a),l=u?s.apply(f,u):s.call(f),Ce=o,l},Qn=function(e){return jr(e),e.scrollTrigger&&e.scrollTrigger.kill(!!lt),e.progress()<1&&Xt(e,"onInterrupt"),e},On,Ju=[],Qu=function(e){if(e)if(e=!e.name&&e.default||e,Mo()||e.headless){var r=e.name,t=Ne(e),n=r&&!t&&e.init?function(){this._props=[]}:e,s={init:xi,render:Yo,add:Uo,kill:_h,modifier:ph,rawVars:0},o={targetTest:0,get:0,getSetter:Vo,aliases:{},register:0};if(Hn(),e!==n){if(qt[r])return;Kt(n,Kt(fs(e,s),o)),Bn(n.prototype,Bn(s,fs(e,o))),qt[n.prop=r]=n,e.targetTest&&(Qi.push(n),Lo[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}Fu(r,n),e.register&&e.register(Lt,n,Ft)}else Ju.push(e)},be=255,Zn={aqua:[0,be,be],lime:[0,be,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,be],navy:[0,0,128],white:[be,be,be],olive:[128,128,0],yellow:[be,be,0],orange:[be,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[be,0,0],pink:[be,192,203],cyan:[0,be,be],transparent:[be,be,be,0]},Ns=function(e,r,t){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(t-r)*e*6:e<.5?t:e*3<2?r+(t-r)*(2/3-e)*6:r)*be+.5|0},Zu=function(e,r,t){var n=e?Dr(e)?[e>>16,e>>8&be,e&be]:0:Zn.black,s,o,a,u,f,l,c,p,d,_;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Zn[e])n=Zn[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&be,n&be,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&be,e&be]}else if(e.substr(0,3)==="hsl"){if(n=_=e.match(ma),!r)u=+n[0]%360/360,f=+n[1]/100,l=+n[2]/100,o=l<=.5?l*(f+1):l+f-l*f,s=l*2-o,n.length>3&&(n[3]*=1),n[0]=Ns(u+1/3,s,o),n[1]=Ns(u,s,o),n[2]=Ns(u-1/3,s,o);else if(~e.indexOf("="))return n=e.match(ku),t&&n.length<4&&(n[3]=1),n}else n=e.match(ma)||Zn.transparent;n=n.map(Number)}return r&&!_&&(s=n[0]/be,o=n[1]/be,a=n[2]/be,c=Math.max(s,o,a),p=Math.min(s,o,a),l=(c+p)/2,c===p?u=f=0:(d=c-p,f=l>.5?d/(2-c-p):d/(c+p),u=c===s?(o-a)/d+(oe||v<0)&&(t+=v-r),n+=v,C=n-t,E=C-o,(E>0||S)&&(P=++c.frame,p=C-c.time*1e3,c.time=C=C/1e3,o+=E+(E>=s?4:s-E),w=1),S||(u=f(h)),w)for(d=0;d=v&&d--},_listeners:a},c}(),Hn=function(){return!Ti&&Yt.wake()},fe={},th=/^[\d.\-M][\d.\-,\s]/,rh=/["']/g,nh=function(e){for(var r={},t=e.substr(1,e.length-3).split(":"),n=t[0],s=1,o=t.length,a,u,f;s1&&t.config?t.config.apply(null,~e.indexOf("{")?[nh(r[1])]:ih(e).split(",").map(Bu)):fe._CE&&th.test(e)?fe._CE("",e):t},rl=function(e){return function(r){return 1-e(1-r)}},nl=function i(e,r){for(var t=e._first,n;t;)t instanceof Pt?i(t,r):t.vars.yoyoEase&&(!t._yoyo||!t._repeat)&&t._yoyo!==r&&(t.timeline?i(t.timeline,r):(n=t._ease,t._ease=t._yEase,t._yEase=n,t._yoyo=r)),t=t._next},hn=function(e,r){return e&&(Ne(e)?e:fe[e]||sh(e))||r},vn=function(e,r,t,n){t===void 0&&(t=function(u){return 1-r(1-u)}),n===void 0&&(n=function(u){return u<.5?r(u*2)/2:1-r((1-u)*2)/2});var s={easeIn:r,easeOut:t,easeInOut:n},o;return Mt(e,function(a){fe[a]=Gt[a]=s,fe[o=a.toLowerCase()]=t;for(var u in s)fe[o+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=fe[a+"."+u]=s[u]}),s},il=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},Ls=function i(e,r,t){var n=r>=1?r:1,s=(t||(e?.3:.45))/(r<1?r:1),o=s/to*(Math.asin(1/n)||0),a=function(l){return l===1?1:n*Math.pow(2,-10*l)*kc((l-o)*s)+1},u=e==="out"?a:e==="in"?function(f){return 1-a(1-f)}:il(a);return s=to/s,u.config=function(f,l){return i(e,f,l)},u},zs=function i(e,r){r===void 0&&(r=1.70158);var t=function(o){return o?--o*o*((r+1)*o+r)+1:0},n=e==="out"?t:e==="in"?function(s){return 1-t(1-s)}:il(t);return n.config=function(s){return i(e,s)},n};Mt("Linear,Quad,Cubic,Quart,Quint,Strong",function(i,e){var r=e<5?e+1:e;vn(i+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(t*2,r)/2:1-Math.pow((1-t)*2,r)/2})});fe.Linear.easeNone=fe.none=fe.Linear.easeIn;vn("Elastic",Ls("in"),Ls("out"),Ls());(function(i,e){var r=1/e,t=2*r,n=2.5*r,s=function(a){return a0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Un(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,n){if(Hn(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Cs(this,t),!s._dp||s.parent||Hu(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&br(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===xe||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),zu(this,t,n)),this},e.time=function(t,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+ba(this))%(this._dur+this._rDelay)||(t?this._dur:0),n):this._time},e.totalProgress=function(t,n){return arguments.length?this.totalTime(this.totalDuration()*t,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-t:t)+ba(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*s,n):this._repeat?In(this._tTime,s)+1:1},e.timeScale=function(t,n){if(!arguments.length)return this._rts===-xe?0:this._rts;if(this._rts===t)return this;var s=this.parent&&this._ts?cs(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-xe?0:this._rts,this.totalTime(Ai(-Math.abs(this._delay),this.totalDuration(),s),n!==!1),Es(this),Uc(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Hn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==xe&&(this._tTime-=xe)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=ke(t);var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&br(n,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(Dt(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var n=this.parent||this._dp;return n?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?cs(n.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){t===void 0&&(t=Lc);var n=lt;return lt=t,Io(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),this.data!=="nested"&&t.kill!==!1&&this.kill(),lt=n,this},e.globalTime=function(t){for(var n=this,s=arguments.length?t:n.rawTime();n;)s=n._start+s/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(t):s},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,xa(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var n=this._time;return this._rDelay=t,xa(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,n){return this.totalTime(Qt(this,t),Dt(n))},e.restart=function(t,n){return this.play().totalTime(t?-this._delay:0,Dt(n)),this._dur||(this._zTime=-xe),this},e.play=function(t,n){return t!=null&&this.seek(t,n),this.reversed(!1).paused(!1)},e.reverse=function(t,n){return t!=null&&this.seek(t||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(t,n){return t!=null&&this.seek(t,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-xe:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-xe,this},e.isActive=function(){var t=this.parent||this._dp,n=this._start,s;return!!(!t||this._ts&&this._initted&&t.isActive()&&(s=t.rawTime(!0))>=n&&s1?(n?(o[t]=n,s&&(o[t+"Params"]=s),t==="onUpdate"&&(this._onUpdate=n)):delete o[t],this):o[t]},e.then=function(t){var n=this,s=n._prom;return new Promise(function(o){var a=Ne(t)?t:Iu,u=function(){var l=n.then;n.then=null,s&&s(),Ne(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=l),o(a),n.then=l};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?u():n._prom=u})},e.kill=function(){Qn(this)},i}();Kt(Si.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-xe,_prom:0,_ps:!1,_rts:1});var Pt=function(i){Pu(e,i);function e(t,n){var s;return t===void 0&&(t={}),s=i.call(this,t)||this,s.labels={},s.smoothChildTiming=!!t.smoothChildTiming,s.autoRemoveChildren=!!t.autoRemoveChildren,s._sort=Dt(t.sortChildren),Ae&&br(t.parent||Ae,Pr(s),n),t.reversed&&s.reverse(),t.paused&&s.paused(!0),t.scrollTrigger&&qu(Pr(s),t.scrollTrigger),s}var r=e.prototype;return r.to=function(n,s,o){return ai(0,arguments,this),this},r.from=function(n,s,o){return ai(1,arguments,this),this},r.fromTo=function(n,s,o,a){return ai(2,arguments,this),this},r.set=function(n,s,o){return s.duration=0,s.parent=this,oi(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Ve(n,s,Qt(this,o),1),this},r.call=function(n,s,o){return br(this,Ve.delayedCall(0,n,s),o)},r.staggerTo=function(n,s,o,a,u,f,l){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=f,o.onCompleteParams=l,o.parent=this,new Ve(n,o,Qt(this,u)),this},r.staggerFrom=function(n,s,o,a,u,f,l){return o.runBackwards=1,oi(o).immediateRender=Dt(o.immediateRender),this.staggerTo(n,s,o,a,u,f,l)},r.staggerFromTo=function(n,s,o,a,u,f,l,c){return a.startAt=o,oi(a).immediateRender=Dt(a.immediateRender),this.staggerTo(n,s,a,u,f,l,c)},r.render=function(n,s,o){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,f=this._dur,l=n<=0?0:ke(n),c=this._zTime<0!=n<0&&(this._initted||!f),p,d,_,h,g,v,S,E,w,C,P,T;if(this!==Ae&&l>u&&n>=0&&(l=u),l!==this._tTime||o||c){if(a!==this._time&&f&&(l+=this._time-a,n+=this._time-a),p=l,w=this._start,E=this._ts,v=!E,c&&(f||(a=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(P=this._yoyo,g=f+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(g*100+n,s,o);if(p=ke(l%g),l===u?(h=this._repeat,p=f):(C=ke(l/g),h=~~C,h&&h===C&&(p=f,h--),p>f&&(p=f)),C=In(this._tTime,g),!a&&this._tTime&&C!==h&&this._tTime-C*g-this._dur<=0&&(C=h),P&&h&1&&(p=f-p,T=1),h!==C&&!this._lock){var A=P&&C&1,R=A===(P&&h&1);if(h=a&&n>=0)for(d=this._first;d;){if(_=d._next,(d._act||p>=d._start)&&d._ts&&S!==d){if(d.parent!==this)return this.render(n,s,o);if(d.render(d._ts>0?(p-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(p-d._start)*d._ts,s,o),p!==this._time||!this._ts&&!v){S=0,_&&(l+=this._zTime=-xe);break}}d=_}else{d=this._last;for(var O=n<0?n:p;d;){if(_=d._prev,(d._act||O<=d._end)&&d._ts&&S!==d){if(d.parent!==this)return this.render(n,s,o);if(d.render(d._ts>0?(O-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(O-d._start)*d._ts,s,o||lt&&Io(d)),p!==this._time||!this._ts&&!v){S=0,_&&(l+=this._zTime=O?-xe:xe);break}}d=_}}if(S&&!s&&(this.pause(),S.render(p>=a?0:-xe)._zTime=p>=a?1:-1,this._ts))return this._start=w,Es(this),this.render(n,s,o);this._onUpdate&&!s&&Xt(this,"onUpdate",!0),(l===u&&this._tTime>=this.totalDuration()||!l&&a)&&(w===this._start||Math.abs(E)!==Math.abs(this._ts))&&(this._lock||((n||!f)&&(l===u&&this._ts>0||!l&&this._ts<0)&&jr(this,1),!s&&!(n<0&&!a)&&(l||a||!u)&&(Xt(this,l===u&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(l0)&&this._prom())))}return this},r.add=function(n,s){var o=this;if(Dr(s)||(s=Qt(this,s,n)),!(n instanceof Si)){if(wt(n))return n.forEach(function(a){return o.add(a,s)}),this;if(it(n))return this.addLabel(n,s);if(Ne(n))n=Ve.delayedCall(0,n);else return this}return this!==n?br(this,n,s):this},r.getChildren=function(n,s,o,a){n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-tr);for(var u=[],f=this._first;f;)f._start>=a&&(f instanceof Ve?s&&u.push(f):(o&&u.push(f),n&&u.push.apply(u,f.getChildren(!0,s,o)))),f=f._next;return u},r.getById=function(n){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===n)return s[o]},r.remove=function(n){return it(n)?this.removeLabel(n):Ne(n)?this.killTweensOf(n):(n.parent===this&&Ss(this,n),n===this._recent&&(this._recent=this._last),cn(this))},r.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ke(Yt.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),i.prototype.totalTime.call(this,n,s),this._forcing=0,this):this._tTime},r.addLabel=function(n,s){return this.labels[n]=Qt(this,s),this},r.removeLabel=function(n){return delete this.labels[n],this},r.addPause=function(n,s,o){var a=Ve.delayedCall(0,s||xi,o);return a.data="isPause",this._hasPause=1,br(this,a,Qt(this,n))},r.removePause=function(n){var s=this._first;for(n=Qt(this,n);s;)s._start===n&&s.data==="isPause"&&jr(s),s=s._next},r.killTweensOf=function(n,s,o){for(var a=this.getTweensOf(n,o),u=a.length;u--;)Ur!==a[u]&&a[u].kill(n,s);return this},r.getTweensOf=function(n,s){for(var o=[],a=rr(n),u=this._first,f=Dr(s),l;u;)u instanceof Ve?zc(u._targets,a)&&(f?(!Ur||u._initted&&u._ts)&&u.globalTime(0)<=s&&u.globalTime(u.totalDuration())>s:!s||u.isActive())&&o.push(u):(l=u.getTweensOf(a,s)).length&&o.push.apply(o,l),u=u._next;return o},r.tweenTo=function(n,s){s=s||{};var o=this,a=Qt(o,n),u=s,f=u.startAt,l=u.onStart,c=u.onStartParams,p=u.immediateRender,d,_=Ve.to(o,Kt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(f&&"time"in f?f.time:o._time))/o.timeScale())||xe,onStart:function(){if(o.pause(),!d){var g=s.duration||Math.abs((a-(f&&"time"in f?f.time:o._time))/o.timeScale());_._dur!==g&&Un(_,g,0,1).render(_._time,!0,!0),d=1}l&&l.apply(_,c||[])}},s));return p?_.render(0):_},r.tweenFromTo=function(n,s,o){return this.tweenTo(s,Kt({startAt:{time:Qt(this,n)}},o))},r.recent=function(){return this._recent},r.nextLabel=function(n){return n===void 0&&(n=this._time),va(this,Qt(this,n))},r.previousLabel=function(n){return n===void 0&&(n=this._time),va(this,Qt(this,n),1)},r.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+xe)},r.shiftChildren=function(n,s,o){o===void 0&&(o=0);var a=this._first,u=this.labels,f;for(n=ke(n);a;)a._start>=o&&(a._start+=n,a._end+=n),a=a._next;if(s)for(f in u)u[f]>=o&&(u[f]+=n);return cn(this)},r.invalidate=function(n){var s=this._first;for(this._lock=0;s;)s.invalidate(n),s=s._next;return i.prototype.invalidate.call(this,n)},r.clear=function(n){n===void 0&&(n=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),cn(this)},r.totalDuration=function(n){var s=0,o=this,a=o._last,u=tr,f,l,c;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-n:n));if(o._dirty){for(c=o.parent;a;)f=a._prev,a._dirty&&a.totalDuration(),l=a._start,l>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,br(o,a,l-a._delay,1)._lock=0):u=l,l<0&&a._ts&&(s-=l,(!c&&!o._dp||c&&c.smoothChildTiming)&&(o._start+=ke(l/o._ts),o._time-=l,o._tTime-=l),o.shiftChildren(-l,!1,-1/0),u=0),a._end>s&&a._ts&&(s=a._end),a=f;Un(o,o===Ae&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(n){if(Ae._ts&&(zu(Ae,cs(n,Ae)),Nu=Yt.frame),Yt.frame>=ya){ya+=jt.autoSleep||120;var s=Ae._first;if((!s||!s._ts)&&jt.autoSleep&&Yt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||Yt.sleep()}}},e}(Si);Kt(Pt.prototype,{_lock:0,_hasPause:0,_forcing:0});var oh=function(e,r,t,n,s,o,a){var u=new Ft(this._pt,e,r,0,1,cl,null,s),f=0,l=0,c,p,d,_,h,g,v,S;for(u.b=t,u.e=n,t+="",n+="",(v=~n.indexOf("random("))&&(n=vi(n)),o&&(S=[t,n],o(S,e,r),t=S[0],n=S[1]),p=t.match(Ms)||[];c=Ms.exec(n);)_=c[0],h=n.substring(f,c.index),d?d=(d+1)%5:h.substr(-5)==="rgba("&&(d=1),_!==p[l++]&&(g=parseFloat(p[l-1])||0,u._pt={_next:u._pt,p:h||l===1?h:",",s:g,c:_.charAt(1)==="="?An(g,_)-g:parseFloat(_)-g,m:d&&d<4?Math.round:0},f=Ms.lastIndex);return u.c=f")}),w.duration();else{P={};for(A in _)A==="ease"||A==="easeEach"||fh(A,_[A],P,_.easeEach);for(A in P)for(V=P[A].sort(function(K,I){return K.t-I.t}),M=0,C=0;Cu-xe&&!l?u:nf&&(p=f)),v=this._yoyo&&_&1,v&&(w=this._yEase,p=f-p),g=In(this._tTime,h),p===a&&!o&&this._initted&&_===g)return this._tTime=c,this;_!==g&&(E&&this._yEase&&nl(E,v),this.vars.repeatRefresh&&!v&&!this._lock&&p!==h&&this._initted&&(this._lock=o=1,this.render(ke(h*_),!0).invalidate()._lock=0))}if(!this._initted){if(Vu(this,l?n:p,o,s,c))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&_!==g))return this;if(f!==this._dur)return this.render(n,s,o)}if(this._tTime=c,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=S=(w||this._ease)(p/f),this._from&&(this.ratio=S=1-S),!a&&c&&!s&&!g&&(Xt(this,"onStart"),this._tTime!==c))return this;for(d=this._pt;d;)d.r(S,d.d),d=d._next;E&&E.render(n<0?n:E._dur*E._ease(p/this._dur),s,o)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(l&&io(this,n,s,o),Xt(this,"onUpdate")),this._repeat&&_!==g&&this.vars.onRepeat&&!s&&this.parent&&Xt(this,"onRepeat"),(c===this._tDur||!c)&&this._tTime===c&&(l&&!this._onUpdate&&io(this,n,!0,!0),(n||!f)&&(c===this._tDur&&this._ts>0||!c&&this._ts<0)&&jr(this,1),!s&&!(l&&!a)&&(c||a||v)&&(Xt(this,c===u?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),i.prototype.invalidate.call(this,n)},r.resetTo=function(n,s,o,a,u){Ti||Yt.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),l;return this._initted||Ho(this,f),l=this._ease(f/this._dur),uh(this,n,s,o,a,l,f,u)?this.resetTo(n,s,o,a,1):(Cs(this,0),this.parent||Uu(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(n,s){if(s===void 0&&(s="all"),!n&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Qn(this):this.scrollTrigger&&this.scrollTrigger.kill(!!lt),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,Ur&&Ur.vars.overwrite!==!0)._first||Qn(this),this.parent&&o!==this.timeline.totalDuration()&&Un(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,u=n?rr(n):a,f=this._ptLookup,l=this._pt,c,p,d,_,h,g,v;if((!s||s==="all")&&Ic(a,u))return s==="all"&&(this._pt=0),Qn(this);for(c=this._op=this._op||[],s!=="all"&&(it(s)&&(h={},Mt(s,function(S){return h[S]=1}),s=h),s=lh(a,s)),v=a.length;v--;)if(~u.indexOf(a[v])){p=f[v],s==="all"?(c[v]=s,_=p,d={}):(d=c[v]=c[v]||{},_=s);for(h in _)g=p&&p[h],g&&((!("kill"in g.d)||g.d.kill(h)===!0)&&Ss(this,g,"_pt"),delete p[h]),d!=="all"&&(d[h]=1)}return this._initted&&!this._pt&&l&&Qn(this),this},e.to=function(n,s){return new e(n,s,arguments[2])},e.from=function(n,s){return ai(1,arguments)},e.delayedCall=function(n,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(n,s,o){return ai(2,arguments)},e.set=function(n,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(n,s)},e.killTweensOf=function(n,s,o){return Ae.killTweensOf(n,s,o)},e}(Si);Kt(Ve.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Mt("staggerTo,staggerFrom,staggerFromTo",function(i){Ve[i]=function(){var e=new Pt,r=oo.call(arguments,0);return r.splice(i==="staggerFromTo"?5:4,0,0),e[i].apply(e,r)}});var qo=function(e,r,t){return e[r]=t},ll=function(e,r,t){return e[r](t)},ch=function(e,r,t,n){return e[r](n.fp,t)},hh=function(e,r,t){return e.setAttribute(r,t)},Vo=function(e,r){return Ne(e[r])?ll:Do(e[r])&&e.setAttribute?hh:qo},fl=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},dh=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},cl=function(e,r){var t=r._pt,n="";if(!e&&r.b)n=r.b;else if(e===1&&r.e)n=r.e;else{for(;t;)n=t.p+(t.m?t.m(t.s+t.c*e):Math.round((t.s+t.c*e)*1e4)/1e4)+n,t=t._next;n+=r.c}r.set(r.t,r.p,n,r)},Yo=function(e,r){for(var t=r._pt;t;)t.r(e,t.d),t=t._next},ph=function(e,r,t,n){for(var s=this._pt,o;s;)o=s._next,s.p===n&&s.modifier(e,r,t),s=o},_h=function(e){for(var r=this._pt,t,n;r;)n=r._next,r.p===e&&!r.op||r.op===e?Ss(this,r,"_pt"):r.dep||(t=1),r=n;return!t},gh=function(e,r,t,n){n.mSet(e,r,n.m.call(n.tween,t,n.mt),n)},hl=function(e){for(var r=e._pt,t,n,s,o;r;){for(t=r._next,n=s;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:o)?r._prev._next=r:s=r,(r._next=n)?n._prev=r:o=r,r=t}e._pt=s},Ft=function(){function i(r,t,n,s,o,a,u,f,l){this.t=t,this.s=s,this.c=o,this.p=n,this.r=a||fl,this.d=u||this,this.set=f||qo,this.pr=l||0,this._next=r,r&&(r._prev=this)}var e=i.prototype;return e.modifier=function(t,n,s){this.mSet=this.mSet||this.set,this.set=gh,this.m=t,this.mt=s,this.tween=n},i}();Mt(zo+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(i){return Lo[i]=1});Gt.TweenMax=Gt.TweenLite=Ve;Gt.TimelineLite=Gt.TimelineMax=Pt;Ae=new Pt({sortChildren:!1,defaults:zn,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});jt.stringFilter=tl;var dn=[],Zi={},mh=[],Sa=0,yh=0,Bs=function(e){return(Zi[e]||mh).map(function(r){return r()})},fo=function(){var e=Date.now(),r=[];e-Sa>2&&(Bs("matchMediaInit"),dn.forEach(function(t){var n=t.queries,s=t.conditions,o,a,u,f;for(a in n)o=mr.matchMedia(n[a]).matches,o&&(u=1),o!==s[a]&&(s[a]=o,f=1);f&&(t.revert(),u&&r.push(t))}),Bs("matchMediaRevert"),r.forEach(function(t){return t.onMatch(t,function(n){return t.add(null,n)})}),Sa=e,Bs("matchMedia"))},dl=function(){function i(r,t){this.selector=t&&ao(t),this.data=[],this._r=[],this.isReverted=!1,this.id=yh++,r&&this.add(r)}var e=i.prototype;return e.add=function(t,n,s){Ne(t)&&(s=n,n=t,t=Ne);var o=this,a=function(){var f=Ce,l=o.selector,c;return f&&f!==o&&f.data.push(o),s&&(o.selector=ao(s)),Ce=o,c=n.apply(o,arguments),Ne(c)&&o._r.push(c),Ce=f,o.selector=l,o.isReverted=!1,c};return o.last=a,t===Ne?a(o,function(u){return o.add(null,u)}):t?o[t]=a:a},e.ignore=function(t){var n=Ce;Ce=null,t(this),Ce=n},e.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof i?t.push.apply(t,n.getTweens()):n instanceof Ve&&!(n.parent&&n.parent.data==="nested")&&t.push(n)}),t},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,n){var s=this;if(t?function(){for(var a=s.getTweens(),u=s.data.length,f;u--;)f=s.data[u],f.data==="isFlip"&&(f.revert(),f.getChildren(!0,!0,!1).forEach(function(l){return a.splice(a.indexOf(l),1)}));for(a.map(function(l){return{g:l._dur||l._delay||l._sat&&!l._sat.vars.immediateRender?l.globalTime(0):-1/0,t:l}}).sort(function(l,c){return c.g-l.g||-1/0}).forEach(function(l){return l.t.revert(t)}),u=s.data.length;u--;)f=s.data[u],f instanceof Pt?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof Ve)&&f.revert&&f.revert(t);s._r.forEach(function(l){return l(t,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),n)for(var o=dn.length;o--;)dn[o].id===this.id&&dn.splice(o,1)},e.revert=function(t){this.kill(t||{})},i}(),wh=function(){function i(r){this.contexts=[],this.scope=r,Ce&&Ce.data.push(this)}var e=i.prototype;return e.add=function(t,n,s){Sr(t)||(t={matches:t});var o=new dl(0,s||this.scope),a=o.conditions={},u,f,l;Ce&&!o.selector&&(o.selector=Ce.selector),this.contexts.push(o),n=o.add("onMatch",n),o.queries=t;for(f in t)f==="all"?l=1:(u=mr.matchMedia(t[f]),u&&(dn.indexOf(o)<0&&dn.push(o),(a[f]=u.matches)&&(l=1),u.addListener?u.addListener(fo):u.addEventListener("change",fo)));return l&&n(o,function(c){return o.add(null,c)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(n){return n.kill(t,!0)})},i}(),hs={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),t=0;t1){var n=e.map(function(l){return Lt.quickSetter(l,r,t)}),s=n.length;return function(l){for(var c=s;c--;)n[c](l)}}e=e[0]||{};var o=qt[r],a=fn(e),u=a.harness&&(a.harness.aliases||{})[r]||r,f=o?function(l){var c=new o;On._pt=0,c.init(e,t?l+t:l,On,0,[e]),c.render(1,c),On._pt&&Yo(1,On)}:a.set(e,u);return o?f:function(l){return f(e,u,t?l+t:l,a,1)}},quickTo:function(e,r,t){var n,s=Lt.to(e,Kt((n={},n[r]="+=0.1",n.paused=!0,n.stagger=0,n),t||{})),o=function(u,f,l){return s.resetTo(r,u,f,l)};return o.tween=s,o},isTweening:function(e){return Ae.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=hn(e.ease,zn.ease)),wa(zn,e||{})},config:function(e){return wa(jt,e||{})},registerEffect:function(e){var r=e.name,t=e.effect,n=e.plugins,s=e.defaults,o=e.extendTimeline;(n||"").split(",").forEach(function(a){return a&&!qt[a]&&!Gt[a]&&bi(r+" effect requires "+a+" plugin.")}),Fs[r]=function(a,u,f){return t(rr(a),Kt(u||{},s),f)},o&&(Pt.prototype[r]=function(a,u,f){return this.add(Fs[r](a,Sr(u)?u:(f=u)&&{},this),f)})},registerEase:function(e,r){fe[e]=hn(r)},parseEase:function(e,r){return arguments.length?hn(e,r):fe},getById:function(e){return Ae.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var t=new Pt(e),n,s;for(t.smoothChildTiming=Dt(e.smoothChildTiming),Ae.remove(t),t._dp=0,t._time=t._tTime=Ae._time,n=Ae._first;n;)s=n._next,(r||!(!n._dur&&n instanceof Ve&&n.vars.onComplete===n._targets[0]))&&br(t,n,n._start-n._delay),n=s;return br(Ae,t,0),t},context:function(e,r){return e?new dl(e,r):Ce},matchMedia:function(e){return new wh(e)},matchMediaRefresh:function(){return dn.forEach(function(e){var r=e.conditions,t,n;for(n in r)r[n]&&(r[n]=!1,t=1);t&&e.revert()})||fo()},addEventListener:function(e,r){var t=Zi[e]||(Zi[e]=[]);~t.indexOf(r)||t.push(r)},removeEventListener:function(e,r){var t=Zi[e],n=t&&t.indexOf(r);n>=0&&t.splice(n,1)},utils:{wrap:Jc,wrapYoyo:Qc,distribute:Xu,random:ju,snap:Wu,normalize:Kc,getUnit:mt,clamp:Xc,splitColor:Zu,toArray:rr,selector:ao,mapRange:Ku,pipe:jc,unitize:Gc,interpolate:Zc,shuffle:$u},install:Mu,effects:Fs,ticker:Yt,updateRoot:Pt.updateRoot,plugins:qt,globalTimeline:Ae,core:{PropTween:Ft,globals:Fu,Tween:Ve,Timeline:Pt,Animation:Si,getCache:fn,_removeLinkedListItem:Ss,reverting:function(){return lt},context:function(e){return e&&Ce&&(Ce.data.push(e),e._ctx=Ce),Ce},suppressOverwrites:function(e){return Ao=e}}};Mt("to,from,fromTo,delayedCall,set,killTweensOf",function(i){return hs[i]=Ve[i]});Yt.add(Pt.updateRoot);On=hs.to({},{duration:0});var bh=function(e,r){for(var t=e._pt;t&&t.p!==r&&t.op!==r&&t.fp!==r;)t=t._next;return t},xh=function(e,r){var t=e._targets,n,s,o;for(n in r)for(s=t.length;s--;)o=e._ptLookup[s][n],o&&(o=o.d)&&(o._pt&&(o=bh(o,n)),o&&o.modifier&&o.modifier(r[n],e,t[s],n))},Is=function(e,r){return{name:e,headless:1,rawVars:1,init:function(n,s,o){o._onInit=function(a){var u,f;if(it(s)&&(u={},Mt(s,function(l){return u[l]=1}),s=u),r){u={};for(f in s)u[f]=r(s[f]);s=u}xh(a,s)}}}},Lt=hs.registerPlugin({name:"attr",init:function(e,r,t,n,s){var o,a,u;this.tween=t;for(o in r)u=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(u||0)+"",r[o],n,s,0,0,o),a.op=o,a.b=u,this._props.push(o)},render:function(e,r){for(var t=r._pt;t;)lt?t.set(t.t,t.p,t.b,t):t.r(e,t.d),t=t._next}},{name:"endArray",headless:1,init:function(e,r){for(var t=r.length;t--;)this.add(e,t,e[t]||0,r[t],0,0,0,0,0,1)}},Is("roundProps",uo),Is("modifiers"),Is("snap",Wu))||hs;Ve.version=Pt.version=Lt.version="3.14.1";Du=1;Mo()&&Hn();fe.Power0;fe.Power1;fe.Power2;fe.Power3;fe.Power4;fe.Linear;fe.Quad;fe.Cubic;fe.Quart;fe.Quint;fe.Strong;fe.Elastic;fe.Back;fe.SteppedEase;fe.Bounce;fe.Sine;fe.Expo;fe.Circ;/*! + * CSSPlugin 3.14.1 + * https://gsap.com + * + * Copyright 2008-2025, GreenSock. All rights reserved. + * Subject to the terms at https://gsap.com/standard-license + * @author: Jack Doyle, jack@greensock.com +*/var Ea,Hr,Dn,$o,an,Ca,Xo,vh=function(){return typeof window<"u"},Mr={},rn=180/Math.PI,Mn=Math.PI/180,Tn=Math.atan2,Pa=1e8,Wo=/([A-Z])/g,Th=/(left|right|width|margin|padding|x)/i,Sh=/[\s,\(]\S/,xr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},co=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Eh=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},Ch=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Ph=function(e,r){return r.set(r.t,r.p,e===1?r.e:e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},Rh=function(e,r){var t=r.s+r.c*e;r.set(r.t,r.p,~~(t+(t<0?-.5:.5))+r.u,r)},pl=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},_l=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},Oh=function(e,r,t){return e.style[r]=t},kh=function(e,r,t){return e.style.setProperty(r,t)},Ah=function(e,r,t){return e._gsap[r]=t},Dh=function(e,r,t){return e._gsap.scaleX=e._gsap.scaleY=t},Mh=function(e,r,t,n,s){var o=e._gsap;o.scaleX=o.scaleY=t,o.renderTransform(s,o)},Fh=function(e,r,t,n,s){var o=e._gsap;o[r]=t,o.renderTransform(s,o)},De="transform",Nt=De+"Origin",Nh=function i(e,r){var t=this,n=this.target,s=n.style,o=n._gsap;if(e in Mr&&s){if(this.tfm=this.tfm||{},e!=="transform")e=xr[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return t.tfm[a]=Rr(n,a)}):this.tfm[e]=o.x?o[e]:Rr(n,e),e===Nt&&(this.tfm.zOrigin=o.zOrigin);else return xr.transform.split(",").forEach(function(a){return i.call(t,a,r)});if(this.props.indexOf(De)>=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(Nt,r,"")),e=De}(s||r)&&this.props.push(e,r,s[e])},gl=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Lh=function(){var e=this.props,r=this.target,t=r.style,n=r._gsap,s,o;for(s=0;s=0?Ra[o]:"")+e},po=function(){vh()&&window.document&&(Ea=window,Hr=Ea.document,Dn=Hr.documentElement,an=ho("div")||{style:{}},ho("div"),De=qn(De),Nt=De+"Origin",an.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",yl=!!qn("perspective"),Xo=Lt.core.reverting,$o=1)},Oa=function(e){var r=e.ownerSVGElement,t=ho("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=e.cloneNode(!0),s;n.style.display="block",t.appendChild(n),Dn.appendChild(t);try{s=n.getBBox()}catch{}return t.removeChild(n),Dn.removeChild(t),s},ka=function(e,r){for(var t=r.length;t--;)if(e.hasAttribute(r[t]))return e.getAttribute(r[t])},wl=function(e){var r,t;try{r=e.getBBox()}catch{r=Oa(e),t=1}return r&&(r.width||r.height)||t||(r=Oa(e)),r&&!r.width&&!r.x&&!r.y?{x:+ka(e,["x","cx","x1"])||0,y:+ka(e,["y","cy","y1"])||0,width:0,height:0}:r},bl=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&wl(e))},Gr=function(e,r){if(r){var t=e.style,n;r in Mr&&r!==Nt&&(r=De),t.removeProperty?(n=r.substr(0,2),(n==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),t.removeProperty(n==="--"?r:r.replace(Wo,"-$1").toLowerCase())):t.removeAttribute(r)}},qr=function(e,r,t,n,s,o){var a=new Ft(e._pt,r,t,0,1,o?_l:pl);return e._pt=a,a.b=n,a.e=s,e._props.push(t),a},Aa={deg:1,rad:1,turn:1},zh={grid:1,flex:1},Kr=function i(e,r,t,n){var s=parseFloat(t)||0,o=(t+"").trim().substr((s+"").length)||"px",a=an.style,u=Th.test(r),f=e.tagName.toLowerCase()==="svg",l=(f?"client":"offset")+(u?"Width":"Height"),c=100,p=n==="px",d=n==="%",_,h,g,v;if(n===o||!s||Aa[n]||Aa[o])return s;if(o!=="px"&&!p&&(s=i(e,r,t,"px")),v=e.getCTM&&bl(e),(d||o==="%")&&(Mr[r]||~r.indexOf("adius")))return _=v?e.getBBox()[u?"width":"height"]:e[l],Be(d?s/_*c:s/100*_);if(a[u?"width":"height"]=c+(p?o:n),h=n!=="rem"&&~r.indexOf("adius")||n==="em"&&e.appendChild&&!f?e:e.parentNode,v&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Hr||!h.appendChild)&&(h=Hr.body),g=h._gsap,g&&d&&g.width&&u&&g.time===Yt.time&&!g.uncache)return Be(s/g.width*c);if(d&&(r==="height"||r==="width")){var S=e.style[r];e.style[r]=c+n,_=e[l],S?e.style[r]=S:Gr(e,r)}else(d||o==="%")&&!zh[Wt(h,"display")]&&(a.position=Wt(e,"position")),h===e&&(a.position="static"),h.appendChild(an),_=an[l],h.removeChild(an),a.position="absolute";return u&&d&&(g=fn(h),g.time=Yt.time,g.width=h[l]),Be(p?_*s/c:_&&s?c/_*s:0)},Rr=function(e,r,t,n){var s;return $o||po(),r in xr&&r!=="transform"&&(r=xr[r],~r.indexOf(",")&&(r=r.split(",")[0])),Mr[r]&&r!=="transform"?(s=Ci(e,n),s=r!=="transformOrigin"?s[r]:s.svg?s.origin:ps(Wt(e,Nt))+" "+s.zOrigin+"px"):(s=e.style[r],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=ds[r]&&ds[r](e,r,t)||Wt(e,r)||Lu(e,r)||(r==="opacity"?1:0))),t&&!~(s+"").trim().indexOf(" ")?Kr(e,r,s,t)+t:s},Bh=function(e,r,t,n){if(!t||t==="none"){var s=qn(r,e,1),o=s&&Wt(e,s,1);o&&o!==t?(r=s,t=o):r==="borderColor"&&(t=Wt(e,"borderTopColor"))}var a=new Ft(this._pt,e.style,r,0,1,cl),u=0,f=0,l,c,p,d,_,h,g,v,S,E,w,C;if(a.b=t,a.e=n,t+="",n+="",n.substring(0,6)==="var(--"&&(n=Wt(e,n.substring(4,n.indexOf(")")))),n==="auto"&&(h=e.style[r],e.style[r]=n,n=Wt(e,r)||n,h?e.style[r]=h:Gr(e,r)),l=[t,n],tl(l),t=l[0],n=l[1],p=t.match(Rn)||[],C=n.match(Rn)||[],C.length){for(;c=Rn.exec(n);)g=c[0],S=n.substring(u,c.index),_?_=(_+1)%5:(S.substr(-5)==="rgba("||S.substr(-5)==="hsla(")&&(_=1),g!==(h=p[f++]||"")&&(d=parseFloat(h)||0,w=h.substr((d+"").length),g.charAt(1)==="="&&(g=An(d,g)+w),v=parseFloat(g),E=g.substr((v+"").length),u=Rn.lastIndex-E.length,E||(E=E||jt.units[r]||w,u===n.length&&(n+=E,a.e+=E)),w!==E&&(d=Kr(e,r,h,E)||0),a._pt={_next:a._pt,p:S||f===1?S:",",s:d,c:v-d,m:_&&_<4||r==="zIndex"?Math.round:0});a.c=u-1;)a=s[f],Mr[a]&&(u=1,a=a==="transformOrigin"?Nt:De),Gr(t,a);u&&(Gr(t,De),o&&(o.svg&&t.removeAttribute("transform"),n.scale=n.rotate=n.translate="none",Ci(t,1),o.uncache=1,gl(n)))}},ds={clearProps:function(e,r,t,n,s){if(s.data!=="isFromStart"){var o=e._pt=new Ft(e._pt,r,t,0,0,Uh);return o.u=n,o.pr=-10,o.tween=s,e._props.push(t),1}}},Ei=[1,0,0,1,0,0],xl={},vl=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ma=function(e){var r=Wt(e,De);return vl(r)?Ei:r.substr(7).match(ku).map(Be)},jo=function(e,r){var t=e._gsap||fn(e),n=e.style,s=Ma(e),o,a,u,f;return t.svg&&e.getAttribute("transform")?(u=e.transform.baseVal.consolidate().matrix,s=[u.a,u.b,u.c,u.d,u.e,u.f],s.join(",")==="1,0,0,1,0,0"?Ei:s):(s===Ei&&!e.offsetParent&&e!==Dn&&!t.svg&&(u=n.display,n.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(f=1,a=e.nextElementSibling,Dn.appendChild(e)),s=Ma(e),u?n.display=u:Gr(e,"display"),f&&(a?o.insertBefore(e,a):o?o.appendChild(e):Dn.removeChild(e))),r&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},_o=function(e,r,t,n,s,o){var a=e._gsap,u=s||jo(e,!0),f=a.xOrigin||0,l=a.yOrigin||0,c=a.xOffset||0,p=a.yOffset||0,d=u[0],_=u[1],h=u[2],g=u[3],v=u[4],S=u[5],E=r.split(" "),w=parseFloat(E[0])||0,C=parseFloat(E[1])||0,P,T,A,R;t?u!==Ei&&(T=d*g-_*h)&&(A=w*(g/T)+C*(-h/T)+(h*S-g*v)/T,R=w*(-_/T)+C*(d/T)-(d*S-_*v)/T,w=A,C=R):(P=wl(e),w=P.x+(~E[0].indexOf("%")?w/100*P.width:w),C=P.y+(~(E[1]||E[0]).indexOf("%")?C/100*P.height:C)),n||n!==!1&&a.smooth?(v=w-f,S=C-l,a.xOffset=c+(v*d+S*h)-v,a.yOffset=p+(v*_+S*g)-S):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=C,a.smooth=!!n,a.origin=r,a.originIsAbsolute=!!t,e.style[Nt]="0px 0px",o&&(qr(o,a,"xOrigin",f,w),qr(o,a,"yOrigin",l,C),qr(o,a,"xOffset",c,a.xOffset),qr(o,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",w+" "+C)},Ci=function(e,r){var t=e._gsap||new sl(e);if("x"in t&&!r&&!t.uncache)return t;var n=e.style,s=t.scaleX<0,o="px",a="deg",u=getComputedStyle(e),f=Wt(e,Nt)||"0",l,c,p,d,_,h,g,v,S,E,w,C,P,T,A,R,O,q,M,V,B,te,K,I,ae,ce,m,pe,Ue,ft,ye,Me;return l=c=p=h=g=v=S=E=w=0,d=_=1,t.svg=!!(e.getCTM&&bl(e)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(n[De]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[De]!=="none"?u[De]:"")),n.scale=n.rotate=n.translate="none"),T=jo(e,t.svg),t.svg&&(t.uncache?(ae=e.getBBox(),f=t.xOrigin-ae.x+"px "+(t.yOrigin-ae.y)+"px",I=""):I=!r&&e.getAttribute("data-svg-origin"),_o(e,I||f,!!I||t.originIsAbsolute,t.smooth!==!1,T)),C=t.xOrigin||0,P=t.yOrigin||0,T!==Ei&&(q=T[0],M=T[1],V=T[2],B=T[3],l=te=T[4],c=K=T[5],T.length===6?(d=Math.sqrt(q*q+M*M),_=Math.sqrt(B*B+V*V),h=q||M?Tn(M,q)*rn:0,S=V||B?Tn(V,B)*rn+h:0,S&&(_*=Math.abs(Math.cos(S*Mn))),t.svg&&(l-=C-(C*q+P*V),c-=P-(C*M+P*B))):(Me=T[6],ft=T[7],m=T[8],pe=T[9],Ue=T[10],ye=T[11],l=T[12],c=T[13],p=T[14],A=Tn(Me,Ue),g=A*rn,A&&(R=Math.cos(-A),O=Math.sin(-A),I=te*R+m*O,ae=K*R+pe*O,ce=Me*R+Ue*O,m=te*-O+m*R,pe=K*-O+pe*R,Ue=Me*-O+Ue*R,ye=ft*-O+ye*R,te=I,K=ae,Me=ce),A=Tn(-V,Ue),v=A*rn,A&&(R=Math.cos(-A),O=Math.sin(-A),I=q*R-m*O,ae=M*R-pe*O,ce=V*R-Ue*O,ye=B*O+ye*R,q=I,M=ae,V=ce),A=Tn(M,q),h=A*rn,A&&(R=Math.cos(A),O=Math.sin(A),I=q*R+M*O,ae=te*R+K*O,M=M*R-q*O,K=K*R-te*O,q=I,te=ae),g&&Math.abs(g)+Math.abs(h)>359.9&&(g=h=0,v=180-v),d=Be(Math.sqrt(q*q+M*M+V*V)),_=Be(Math.sqrt(K*K+Me*Me)),A=Tn(te,K),S=Math.abs(A)>2e-4?A*rn:0,w=ye?1/(ye<0?-ye:ye):0),t.svg&&(I=e.getAttribute("transform"),t.forceCSS=e.setAttribute("transform","")||!vl(Wt(e,De)),I&&e.setAttribute("transform",I))),Math.abs(S)>90&&Math.abs(S)<270&&(s?(d*=-1,S+=h<=0?180:-180,h+=h<=0?180:-180):(_*=-1,S+=S<=0?180:-180)),r=r||t.uncache,t.x=l-((t.xPercent=l&&(!r&&t.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*t.xPercent/100:0)+o,t.y=c-((t.yPercent=c&&(!r&&t.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-c)?-50:0)))?e.offsetHeight*t.yPercent/100:0)+o,t.z=p+o,t.scaleX=Be(d),t.scaleY=Be(_),t.rotation=Be(h)+a,t.rotationX=Be(g)+a,t.rotationY=Be(v)+a,t.skewX=S+a,t.skewY=E+a,t.transformPerspective=w+o,(t.zOrigin=parseFloat(f.split(" ")[2])||!r&&t.zOrigin||0)&&(n[Nt]=ps(f)),t.xOffset=t.yOffset=0,t.force3D=jt.force3D,t.renderTransform=t.svg?qh:yl?Tl:Hh,t.uncache=0,t},ps=function(e){return(e=e.split(" "))[0]+" "+e[1]},Us=function(e,r,t){var n=mt(r);return Be(parseFloat(r)+parseFloat(Kr(e,"x",t+"px",n)))+n},Hh=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,Tl(e,r)},en="0deg",Gn="0px",tn=") ",Tl=function(e,r){var t=r||this,n=t.xPercent,s=t.yPercent,o=t.x,a=t.y,u=t.z,f=t.rotation,l=t.rotationY,c=t.rotationX,p=t.skewX,d=t.skewY,_=t.scaleX,h=t.scaleY,g=t.transformPerspective,v=t.force3D,S=t.target,E=t.zOrigin,w="",C=v==="auto"&&e&&e!==1||v===!0;if(E&&(c!==en||l!==en)){var P=parseFloat(l)*Mn,T=Math.sin(P),A=Math.cos(P),R;P=parseFloat(c)*Mn,R=Math.cos(P),o=Us(S,o,T*R*-E),a=Us(S,a,-Math.sin(P)*-E),u=Us(S,u,A*R*-E+E)}g!==Gn&&(w+="perspective("+g+tn),(n||s)&&(w+="translate("+n+"%, "+s+"%) "),(C||o!==Gn||a!==Gn||u!==Gn)&&(w+=u!==Gn||C?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+tn),f!==en&&(w+="rotate("+f+tn),l!==en&&(w+="rotateY("+l+tn),c!==en&&(w+="rotateX("+c+tn),(p!==en||d!==en)&&(w+="skew("+p+", "+d+tn),(_!==1||h!==1)&&(w+="scale("+_+", "+h+tn),S.style[De]=w||"translate(0, 0)"},qh=function(e,r){var t=r||this,n=t.xPercent,s=t.yPercent,o=t.x,a=t.y,u=t.rotation,f=t.skewX,l=t.skewY,c=t.scaleX,p=t.scaleY,d=t.target,_=t.xOrigin,h=t.yOrigin,g=t.xOffset,v=t.yOffset,S=t.forceCSS,E=parseFloat(o),w=parseFloat(a),C,P,T,A,R;u=parseFloat(u),f=parseFloat(f),l=parseFloat(l),l&&(l=parseFloat(l),f+=l,u+=l),u||f?(u*=Mn,f*=Mn,C=Math.cos(u)*c,P=Math.sin(u)*c,T=Math.sin(u-f)*-p,A=Math.cos(u-f)*p,f&&(l*=Mn,R=Math.tan(f-l),R=Math.sqrt(1+R*R),T*=R,A*=R,l&&(R=Math.tan(l),R=Math.sqrt(1+R*R),C*=R,P*=R)),C=Be(C),P=Be(P),T=Be(T),A=Be(A)):(C=c,A=p,P=T=0),(E&&!~(o+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(E=Kr(d,"x",o,"px"),w=Kr(d,"y",a,"px")),(_||h||g||v)&&(E=Be(E+_-(_*C+h*T)+g),w=Be(w+h-(_*P+h*A)+v)),(n||s)&&(R=d.getBBox(),E=Be(E+n/100*R.width),w=Be(w+s/100*R.height)),R="matrix("+C+","+P+","+T+","+A+","+E+","+w+")",d.setAttribute("transform",R),S&&(d.style[De]=R)},Vh=function(e,r,t,n,s){var o=360,a=it(s),u=parseFloat(s)*(a&&~s.indexOf("rad")?rn:1),f=u-n,l=n+f+"deg",c,p;return a&&(c=s.split("_")[1],c==="short"&&(f%=o,f!==f%(o/2)&&(f+=f<0?o:-o)),c==="cw"&&f<0?f=(f+o*Pa)%o-~~(f/o)*o:c==="ccw"&&f>0&&(f=(f-o*Pa)%o-~~(f/o)*o)),e._pt=p=new Ft(e._pt,r,t,n,f,Eh),p.e=l,p.u="deg",e._props.push(t),p},Fa=function(e,r){for(var t in r)e[t]=r[t];return e},Yh=function(e,r,t){var n=Fa({},t._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=t.style,a,u,f,l,c,p,d,_;n.svg?(f=t.getAttribute("transform"),t.setAttribute("transform",""),o[De]=r,a=Ci(t,1),Gr(t,De),t.setAttribute("transform",f)):(f=getComputedStyle(t)[De],o[De]=r,a=Ci(t,1),o[De]=f);for(u in Mr)f=n[u],l=a[u],f!==l&&s.indexOf(u)<0&&(d=mt(f),_=mt(l),c=d!==_?Kr(t,u,f,_):parseFloat(f),p=parseFloat(l),e._pt=new Ft(e._pt,a,u,c,p-c,co),e._pt.u=_||0,e._props.push(u));Fa(a,n)};Mt("padding,margin,Width,Radius",function(i,e){var r="Top",t="Right",n="Bottom",s="Left",o=(e<3?[r,t,n,s]:[r+s,r+t,n+t,n+s]).map(function(a){return e<2?i+a:"border"+a+i});ds[e>1?"border"+i:i]=function(a,u,f,l,c){var p,d;if(arguments.length<4)return p=o.map(function(_){return Rr(a,_,f)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(l+"").split(" "),d={},o.forEach(function(_,h){return d[_]=p[h]=p[h]||p[(h-1)/2|0]}),a.init(u,d,c)}});var Sl={name:"css",register:po,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,t,n,s){var o=this._props,a=e.style,u=t.vars.startAt,f,l,c,p,d,_,h,g,v,S,E,w,C,P,T,A,R;$o||po(),this.styles=this.styles||ml(e),A=this.styles.props,this.tween=t;for(h in r)if(h!=="autoRound"&&(l=r[h],!(qt[h]&&ol(h,r,t,n,e,s)))){if(d=typeof l,_=ds[h],d==="function"&&(l=l.call(t,n,e,s),d=typeof l),d==="string"&&~l.indexOf("random(")&&(l=vi(l)),_)_(this,e,h,l,t)&&(T=1);else if(h.substr(0,2)==="--")f=(getComputedStyle(e).getPropertyValue(h)+"").trim(),l+="",Xr.lastIndex=0,Xr.test(f)||(g=mt(f),v=mt(l),v?g!==v&&(f=Kr(e,h,f,v)+v):g&&(l+=g)),this.add(a,"setProperty",f,l,n,s,0,0,h),o.push(h),A.push(h,0,a[h]);else if(d!=="undefined"){if(u&&h in u?(f=typeof u[h]=="function"?u[h].call(t,n,e,s):u[h],it(f)&&~f.indexOf("random(")&&(f=vi(f)),mt(f+"")||f==="auto"||(f+=jt.units[h]||mt(Rr(e,h))||""),(f+"").charAt(1)==="="&&(f=Rr(e,h))):f=Rr(e,h),p=parseFloat(f),S=d==="string"&&l.charAt(1)==="="&&l.substr(0,2),S&&(l=l.substr(2)),c=parseFloat(l),h in xr&&(h==="autoAlpha"&&(p===1&&Rr(e,"visibility")==="hidden"&&c&&(p=0),A.push("visibility",0,a.visibility),qr(this,a,"visibility",p?"inherit":"hidden",c?"inherit":"hidden",!c)),h!=="scale"&&h!=="transform"&&(h=xr[h],~h.indexOf(",")&&(h=h.split(",")[0]))),E=h in Mr,E){if(this.styles.save(h),R=l,d==="string"&&l.substring(0,6)==="var(--"){if(l=Wt(e,l.substring(4,l.indexOf(")"))),l.substring(0,5)==="calc("){var O=e.style.perspective;e.style.perspective=l,l=Wt(e,"perspective"),O?e.style.perspective=O:Gr(e,"perspective")}c=parseFloat(l)}if(w||(C=e._gsap,C.renderTransform&&!r.parseTransform||Ci(e,r.parseTransform),P=r.smoothOrigin!==!1&&C.smooth,w=this._pt=new Ft(this._pt,a,De,0,1,C.renderTransform,C,0,-1),w.dep=1),h==="scale")this._pt=new Ft(this._pt,C,"scaleY",C.scaleY,(S?An(C.scaleY,S+c):c)-C.scaleY||0,co),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){A.push(Nt,0,a[Nt]),l=Ih(l),C.svg?_o(e,l,0,P,0,this):(v=parseFloat(l.split(" ")[2])||0,v!==C.zOrigin&&qr(this,C,"zOrigin",C.zOrigin,v),qr(this,a,h,ps(f),ps(l)));continue}else if(h==="svgOrigin"){_o(e,l,1,P,0,this);continue}else if(h in xl){Vh(this,C,h,p,S?An(p,S+l):l);continue}else if(h==="smoothOrigin"){qr(this,C,"smooth",C.smooth,l);continue}else if(h==="force3D"){C[h]=l;continue}else if(h==="transform"){Yh(this,l,e);continue}}else h in a||(h=qn(h)||h);if(E||(c||c===0)&&(p||p===0)&&!Sh.test(l)&&h in a)g=(f+"").substr((p+"").length),c||(c=0),v=mt(l)||(h in jt.units?jt.units[h]:g),g!==v&&(p=Kr(e,h,f,v)),this._pt=new Ft(this._pt,E?C:a,h,p,(S?An(p,S+c):c)-p,!E&&(v==="px"||h==="zIndex")&&r.autoRound!==!1?Rh:co),this._pt.u=v||0,E&&R!==l?(this._pt.b=f,this._pt.e=R,this._pt.r=Ph):g!==v&&v!=="%"&&(this._pt.b=f,this._pt.r=Ch);else if(h in a)Bh.call(this,e,h,f,S?S+l:l);else if(h in e)this.add(e,h,f||e[h],S?S+l:l,n,s);else if(h!=="parseTransform"){No(h,l);continue}E||(h in a?A.push(h,0,a[h]):typeof e[h]=="function"?A.push(h,2,e[h]()):A.push(h,1,f||e[h])),o.push(h)}}T&&hl(this)},render:function(e,r){if(r.tween._time||!Xo())for(var t=r._pt;t;)t.r(e,t.d),t=t._next;else r.styles.revert()},get:Rr,aliases:xr,getSetter:function(e,r,t){var n=xr[r];return n&&n.indexOf(",")<0&&(r=n),r in Mr&&r!==Nt&&(e._gsap.x||Rr(e,"x"))?t&&Ca===t?r==="scale"?Dh:Ah:(Ca=t||{})&&(r==="scale"?Mh:Fh):e.style&&!Do(e.style[r])?Oh:~r.indexOf("-")?kh:Vo(e,r)},core:{_removeProperty:Gr,_getMatrix:jo}};Lt.utils.checkPrefix=qn;Lt.core.getStyleSaver=ml;(function(i,e,r,t){var n=Mt(i+","+e+","+r,function(s){Mr[s]=1});Mt(e,function(s){jt.units[s]="deg",xl[s]=1}),xr[n[13]]=i+","+e,Mt(t,function(s){var o=s.split(":");xr[o[1]]=n[o[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Mt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(i){jt.units[i]="px"});Lt.registerPlugin(Sl);var El=Lt.registerPlugin(Sl)||Lt;El.core.Tween;function $h(i,e){for(var r=0;ru?(s=n,n=_,a=o,o=g):t?n+=_:n=s+(_-s)/(g-a)*(o-a)},c=function(){s=n=t?0:n,a=o=0},p=function(_){var h=a,g=s,v=fi();return(_||_===0)&&_!==n&&l(_),o===a||v-a>f?0:(n+(t?g:-g))/((t?v:o)-h)*1e3};return{update:l,reset:c,getVelocity:p}},Kn=function(e,r){return r&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Na=function(e){var r=Math.max.apply(Math,e),t=Math.min.apply(Math,e);return Math.abs(r)>=Math.abs(t)?r:t},Al=function(){li=ut.core.globals().ScrollTrigger,li&&li.core&&Wh()},Dl=function(e){return ut=e||Ol(),!es&&ut&&typeof document<"u"&&document.body&&($t=window,Vr=document,Yr=Vr.documentElement,Fn=Vr.body,Pl=[$t,Vr,Yr,Fn],ut.utils.clamp,Rl=ut.core.context||function(){},nn="onpointerenter"in Fn?"pointer":"mouse",Cl=Ie.isTouch=$t.matchMedia&&$t.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in $t||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,fr=Ie.eventTypes=("ontouchstart"in Yr?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Yr?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return kl=0},500),Al(),es=1),es};Rt.op=Ke;ie.cache=0;var Ie=function(){function i(r){this.init(r)}var e=i.prototype;return e.init=function(t){es||Dl(ut)||console.warn("Please gsap.registerPlugin(Observer)"),li||Al();var n=t.tolerance,s=t.dragMinimum,o=t.type,a=t.target,u=t.lineHeight,f=t.debounce,l=t.preventDefault,c=t.onStop,p=t.onStopDelay,d=t.ignore,_=t.wheelSpeed,h=t.event,g=t.onDragStart,v=t.onDragEnd,S=t.onDrag,E=t.onPress,w=t.onRelease,C=t.onRight,P=t.onLeft,T=t.onUp,A=t.onDown,R=t.onChangeX,O=t.onChangeY,q=t.onChange,M=t.onToggleX,V=t.onToggleY,B=t.onHover,te=t.onHoverEnd,K=t.onMove,I=t.ignoreCheck,ae=t.isNormalizer,ce=t.onGestureStart,m=t.onGestureEnd,pe=t.onWheel,Ue=t.onEnable,ft=t.onDisable,ye=t.onClick,Me=t.scrollSpeed,$e=t.capture,Pe=t.allowClicks,Je=t.lockAxis,Qe=t.onLockAxis;this.target=a=kt(a)||Yr,this.vars=t,d&&(d=ut.utils.toArray(d)),n=n||1e-9,s=s||0,_=_||1,Me=Me||1,o=o||"wheel,touch,pointer",f=f!==!1,u||(u=parseFloat($t.getComputedStyle(Fn).lineHeight)||22);var sr,Ze,Xe,ue,Re,st,bt,b=this,ct=0,D=0,y=t.passive||!l&&t.passive!==!1,k=Jr(a,Rt),z=Jr(a,Ke),Y=k(),W=z(),re=~o.indexOf("touch")&&!~o.indexOf("pointer")&&fr[0]==="pointerdown",Le=ci(a),Q=a.ownerDocument||Vr,ve=[0,0,0],he=[0,0,0],se=0,We=function(){return se=fi()},L=function(H,de){return(b.event=H)&&d&&jh(H.target,d)||de&&re&&H.pointerType!=="touch"||I&&I(H,de)},Fr=function(){b._vx.reset(),b._vy.reset(),Ze.pause(),c&&c(b)},Ot=function(){var H=b.deltaX=Na(ve),de=b.deltaY=Na(he),F=Math.abs(H)>=n,j=Math.abs(de)>=n;q&&(F||j)&&q(b,H,de,ve,he),F&&(C&&b.deltaX>0&&C(b),P&&b.deltaX<0&&P(b),R&&R(b),M&&b.deltaX<0!=ct<0&&M(b),ct=b.deltaX,ve[0]=ve[1]=ve[2]=0),j&&(A&&b.deltaY>0&&A(b),T&&b.deltaY<0&&T(b),O&&O(b),V&&b.deltaY<0!=D<0&&V(b),D=b.deltaY,he[0]=he[1]=he[2]=0),(ue||Xe)&&(K&&K(b),Xe&&(g&&Xe===1&&g(b),S&&S(b),Xe=0),ue=!1),st&&!(st=!1)&&Qe&&Qe(b),Re&&(pe(b),Re=!1),sr=0},zt=function(H,de,F){ve[F]+=H,he[F]+=de,b._vx.update(H),b._vy.update(de),f?sr||(sr=requestAnimationFrame(Ot)):Ot()},Er=function(H,de){Je&&!bt&&(b.axis=bt=Math.abs(H)>Math.abs(de)?"x":"y",st=!0),bt!=="y"&&(ve[2]+=H,b._vx.update(H,!0)),bt!=="x"&&(he[2]+=de,b._vy.update(de,!0)),f?sr||(sr=requestAnimationFrame(Ot)):Ot()},Jt=function(H){if(!L(H,1)){H=Kn(H,l);var de=H.clientX,F=H.clientY,j=de-b.x,U=F-b.y,G=b.isDragging;b.x=de,b.y=F,(G||(j||U)&&(Math.abs(b.startX-de)>=s||Math.abs(b.startY-F)>=s))&&(Xe||(Xe=G?2:1),G||(b.isDragging=!0),Er(j,U))}},or=b.onPress=function($){L($,1)||$&&$.button||(b.axis=bt=null,Ze.pause(),b.isPressed=!0,$=Kn($),ct=D=0,b.startX=b.x=$.clientX,b.startY=b.y=$.clientY,b._vx.reset(),b._vy.reset(),vt(ae?a:Q,fr[1],Jt,y,!0),b.deltaX=b.deltaY=0,E&&E(b))},X=b.onRelease=function($){if(!L($,1)){xt(ae?a:Q,fr[1],Jt,!0);var H=!isNaN(b.y-b.startY),de=b.isDragging,F=de&&(Math.abs(b.x-b.startX)>3||Math.abs(b.y-b.startY)>3),j=Kn($);!F&&H&&(b._vx.reset(),b._vy.reset(),l&&Pe&&ut.delayedCall(.08,function(){if(fi()-se>300&&!$.defaultPrevented){if($.target.click)$.target.click();else if(Q.createEvent){var U=Q.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,$t,1,j.screenX,j.screenY,j.clientX,j.clientY,!1,!1,!1,!1,0,null),$.target.dispatchEvent(U)}}})),b.isDragging=b.isGesturing=b.isPressed=!1,c&&de&&!ae&&Ze.restart(!0),Xe&&Ot(),v&&de&&v(b),w&&w(b,F)}},dr=function(H){return H.touches&&H.touches.length>1&&(b.isGesturing=!0)&&ce(H,b.isDragging)},et=function(){return(b.isGesturing=!1)||m(b)},_e=function(H){if(!L(H)){var de=k(),F=z();zt((de-Y)*Me,(F-W)*Me,1),Y=de,W=F,c&&Ze.restart(!0)}},Se=function(H){if(!L(H)){H=Kn(H,l),pe&&(Re=!0);var de=(H.deltaMode===1?u:H.deltaMode===2?$t.innerHeight:1)*_;zt(H.deltaX*de,H.deltaY*de,0),c&&!ae&&Ze.restart(!0)}},Bt=function(H){if(!L(H)){var de=H.clientX,F=H.clientY,j=de-b.x,U=F-b.y;b.x=de,b.y=F,ue=!0,c&&Ze.restart(!0),(j||U)&&Er(j,U)}},ar=function(H){b.event=H,B(b)},He=function(H){b.event=H,te(b)},ur=function(H){return L(H)||Kn(H,l)&&ye(b)};Ze=b._dc=ut.delayedCall(p||.25,Fr).pause(),b.deltaX=b.deltaY=0,b._vx=yo(0,50,!0),b._vy=yo(0,50,!0),b.scrollX=k,b.scrollY=z,b.isDragging=b.isGesturing=b.isPressed=!1,Rl(this),b.enable=function($){return b.isEnabled||(vt(Le?Q:a,"scroll",mo),o.indexOf("scroll")>=0&&vt(Le?Q:a,"scroll",_e,y,$e),o.indexOf("wheel")>=0&&vt(a,"wheel",Se,y,$e),(o.indexOf("touch")>=0&&Cl||o.indexOf("pointer")>=0)&&(vt(a,fr[0],or,y,$e),vt(Q,fr[2],X),vt(Q,fr[3],X),Pe&&vt(a,"click",We,!0,!0),ye&&vt(a,"click",ur),ce&&vt(Q,"gesturestart",dr),m&&vt(Q,"gestureend",et),B&&vt(a,nn+"enter",ar),te&&vt(a,nn+"leave",He),K&&vt(a,nn+"move",Bt)),b.isEnabled=!0,b.isDragging=b.isGesturing=b.isPressed=ue=Xe=!1,b._vx.reset(),b._vy.reset(),Y=k(),W=z(),$&&$.type&&or($),Ue&&Ue(b)),b},b.disable=function(){b.isEnabled&&(kn.filter(function($){return $!==b&&ci($.target)}).length||xt(Le?Q:a,"scroll",mo),b.isPressed&&(b._vx.reset(),b._vy.reset(),xt(ae?a:Q,fr[1],Jt,!0)),xt(Le?Q:a,"scroll",_e,$e),xt(a,"wheel",Se,$e),xt(a,fr[0],or,$e),xt(Q,fr[2],X),xt(Q,fr[3],X),xt(a,"click",We,!0),xt(a,"click",ur),xt(Q,"gesturestart",dr),xt(Q,"gestureend",et),xt(a,nn+"enter",ar),xt(a,nn+"leave",He),xt(a,nn+"move",Bt),b.isEnabled=b.isPressed=b.isDragging=!1,ft&&ft(b))},b.kill=b.revert=function(){b.disable();var $=kn.indexOf(b);$>=0&&kn.splice($,1),kr===b&&(kr=0)},kn.push(b),ae&&ci(a)&&(kr=b),b.enable(h)},Xh(i,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),i}();Ie.version="3.14.1";Ie.create=function(i){return new Ie(i)};Ie.register=Dl;Ie.getAll=function(){return kn.slice()};Ie.getById=function(i){return kn.filter(function(e){return e.vars.id===i})[0]};Ol()&&ut.registerPlugin(Ie);/*! + * ScrollTrigger 3.14.1 + * https://gsap.com + * + * @license Copyright 2008-2025, GreenSock. All rights reserved. + * Subject to the terms at https://gsap.com/standard-license + * @author: Jack Doyle, jack@greensock.com +*/var N,Cn,ne,Te,Vt,me,Go,gs,Pi,hi,ei,zi,_t,Ps,wo,Et,La,za,Pn,Ml,Hs,Fl,St,bo,Nl,Ll,Br,xo,Ko,Nn,Jo,di,vo,qs,Bi=1,gt=Date.now,Vs=gt(),ir=0,ti=0,Ba=function(e,r,t){var n=Ht(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return t["_"+r+"Clamp"]=n,n?e.substr(6,e.length-7):e},Ia=function(e,r){return r&&(!Ht(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Gh=function i(){return ti&&requestAnimationFrame(i)},Ua=function(){return Ps=1},Ha=function(){return Ps=0},yr=function(e){return e},ri=function(e){return Math.round(e*1e5)/1e5||0},zl=function(){return typeof window<"u"},Bl=function(){return N||zl()&&(N=window.gsap)&&N.registerPlugin&&N},yn=function(e){return!!~Go.indexOf(e)},Il=function(e){return(e==="Height"?Jo:ne["inner"+e])||Vt["client"+e]||me["client"+e]},Ul=function(e){return Wr(e,"getBoundingClientRect")||(yn(e)?function(){return ss.width=ne.innerWidth,ss.height=Jo,ss}:function(){return Or(e)})},Kh=function(e,r,t){var n=t.d,s=t.d2,o=t.a;return(o=Wr(e,"getBoundingClientRect"))?function(){return o()[n]}:function(){return(r?Il(s):e["client"+s])||0}},Jh=function(e,r){return!r||~Tr.indexOf(e)?Ul(e):function(){return ss}},vr=function(e,r){var t=r.s,n=r.d2,s=r.d,o=r.a;return Math.max(0,(t="scroll"+n)&&(o=Wr(e,t))?o()-Ul(e)()[s]:yn(e)?(Vt[t]||me[t])-Il(n):e[t]-e["offset"+n])},Ii=function(e,r){for(var t=0;t0){for(n-=o,a=0;a=n)return t[a];return t[a-1]}else for(a=t.length,n+=o;a--;)if(t[a]<=n)return t[a];return t[0]}:function(n,s,o){o===void 0&&(o=.001);var a=r(n);return!s||Math.abs(a-n)t&&(n*=r/100),e=e.substr(0,t-1)),e=n+(e in ys?ys[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0)}return e},Vi=function(e,r,t,n,s,o,a,u){var f=s.startColor,l=s.endColor,c=s.fontSize,p=s.indent,d=s.fontWeight,_=Te.createElement("div"),h=yn(t)||Wr(t,"pinType")==="fixed",g=e.indexOf("scroller")!==-1,v=h?me:t,S=e.indexOf("start")!==-1,E=S?f:l,w="border-color:"+E+";font-size:"+c+";color:"+E+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return w+="position:"+((g||u)&&h?"fixed;":"absolute;"),(g||u||!h)&&(w+=(n===Ke?Qo:Zo)+":"+(o+parseFloat(p))+"px;"),a&&(w+="box-sizing:border-box;text-align:left;width:"+a.offsetWidth+"px;"),_._isStart=S,_.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),_.style.cssText=w,_.innerText=r||r===0?e+"-"+r:e,v.children[0]?v.insertBefore(_,v.children[0]):v.appendChild(_),_._offset=_["offset"+n.op.d2],rs(_,0,n,S),_},rs=function(e,r,t,n){var s={display:"block"},o=t[n?"os2":"p2"],a=t[n?"p2":"os2"];e._isFlipped=n,s[t.a+"Percent"]=n?-100:0,s[t.a]=n?"1px":0,s["border"+o+Vn]=1,s["border"+a+Vn]=0,s[t.p]=r+"px",N.set(e,s)},ee=[],To={},Ri,Ya=function(){return gt()-ir>34&&(Ri||(Ri=requestAnimationFrame(Ar)))},En=function(){(!St||!St.isPressed||St.startX>me.clientWidth)&&(ie.cache++,St?Ri||(Ri=requestAnimationFrame(Ar)):Ar(),ir||bn("scrollStart"),ir=gt())},$s=function(){Ll=ne.innerWidth,Nl=ne.innerHeight},ii=function(e){ie.cache++,(e===!0||!_t&&!Fl&&!Te.fullscreenElement&&!Te.webkitFullscreenElement&&(!bo||Ll!==ne.innerWidth||Math.abs(ne.innerHeight-Nl)>ne.innerHeight*.25))&&gs.restart(!0)},wn={},td=[],Yl=function i(){return rt(oe,"scrollEnd",i)||un(!0)},bn=function(e){return wn[e]&&wn[e].map(function(r){return r()})||td},Ut=[],$l=function(e){for(var r=0;rs,a=n._startClamp&&n.start>=s;(o||a)&&n.setPositions(a?s-1:n.start,o?Math.max(a?s:n.start+1,s):n.end,!0)}),Xa(!1),vo=0,t.forEach(function(n){return n&&n.render&&n.render(-1)}),ie.forEach(function(n){yt(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),Wl(Ko,1),gs.pause(),gn++,Ct=2,Ar(2),ee.forEach(function(n){return yt(n.vars.onRefresh)&&n.vars.onRefresh(n)}),Ct=oe.isRefreshing=!1,bn("refresh")},So=0,ns=1,yi,Ar=function(e){if(e===2||!Ct&&!di){oe.isUpdating=!0,yi&&yi.update(0);var r=ee.length,t=gt(),n=t-Vs>=50,s=r&&ee[0].scroll();if(ns=So>s?-1:1,Ct||(So=s),n&&(ir&&!Ps&&t-ir>200&&(ir=0,bn("scrollEnd")),ei=Vs,Vs=t),ns<0){for(Et=r;Et-- >0;)ee[Et]&&ee[Et].update(0,n);ns=1}else for(Et=0;Et20),t-=t-P}if(_&&(u[_]=e||-.001,e<0&&(e=0)),o){var A=e+t,R=o._isStart;g="scroll"+n.d2,rs(o,A,n,R&&A>20||!R&&(c?Math.max(me[g],Vt[g]):o.parentNode[g])<=A+1),c&&(f=Or(a),c&&(o.style[n.op.p]=f[n.op.p]-n.op.m-o._offset+Ge))}return d&&S&&(g=Or(S),d.seek(p),v=Or(S),d._caScrollDist=g[n.p]-v[n.p],e=e/d._caScrollDist*p),d&&d.seek(h),d?e:Math.round(e)},od=/(webkit|moz|length|cssText|inset)/i,ja=function(e,r,t,n){if(e.parentNode!==r){var s=e.style,o,a;if(r===me){e._stOrig=s.cssText,a=er(e);for(o in a)!+o&&!od.test(o)&&a[o]&&typeof s[o]=="string"&&o!=="0"&&(s[o]=a[o]);s.top=t,s.left=n}else s.cssText=e._stOrig;N.core.getCache(e).uncache=1,r.appendChild(e)}},Gl=function(e,r,t){var n=r,s=n;return function(o){var a=Math.round(e());return a!==n&&a!==s&&Math.abs(a-n)>3&&Math.abs(a-s)>3&&(o=a,t&&t()),s=n,n=Math.round(o),n}},$i=function(e,r,t){var n={};n[r.p]="+="+t,N.set(e,n)},Ga=function(e,r){var t=Jr(e,r),n="_scroll"+r.p2,s=function o(a,u,f,l,c){var p=o.tween,d=u.onComplete,_={};f=f||t();var h=Gl(t,f,function(){p.kill(),o.tween=0});return c=l&&c||0,l=l||a-f,p&&p.kill(),u[n]=a,u.inherit=!1,u.modifiers=_,_[n]=function(){return h(f+l*p.ratio+c*p.ratio*p.ratio)},u.onUpdate=function(){ie.cache++,o.tween&&Ar()},u.onComplete=function(){o.tween=0,d&&d.call(p)},p=o.tween=N.to(e,u),p};return e[n]=t,t.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},nt(e,"wheel",t.wheelHandler),oe.isTouch&&nt(e,"touchmove",t.wheelHandler),s},oe=function(){function i(r,t){Cn||i.register(N)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),xo(this),this.init(r,t)}var e=i.prototype;return e.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!ti){this.update=this.refresh=this.kill=yr;return}t=qa(Ht(t)||ni(t)||t.nodeType?{trigger:t}:t,qi);var s=t,o=s.onUpdate,a=s.toggleClass,u=s.id,f=s.onToggle,l=s.onRefresh,c=s.scrub,p=s.trigger,d=s.pin,_=s.pinSpacing,h=s.invalidateOnRefresh,g=s.anticipatePin,v=s.onScrubComplete,S=s.onSnapComplete,E=s.once,w=s.snap,C=s.pinReparent,P=s.pinSpacer,T=s.containerAnimation,A=s.fastScrollEnd,R=s.preventOverlaps,O=t.horizontal||t.containerAnimation&&t.horizontal!==!1?Rt:Ke,q=!c&&c!==0,M=kt(t.scroller||ne),V=N.core.getCache(M),B=yn(M),te=("pinType"in t?t.pinType:Wr(M,"pinType")||B&&"fixed")==="fixed",K=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],I=q&&t.toggleActions.split(" "),ae="markers"in t?t.markers:qi.markers,ce=B?0:parseFloat(er(M)["border"+O.p2+Vn])||0,m=this,pe=t.onRefreshInit&&function(){return t.onRefreshInit(m)},Ue=Kh(M,B,O),ft=Jh(M,B),ye=0,Me=0,$e=0,Pe=Jr(M,O),Je,Qe,sr,Ze,Xe,ue,Re,st,bt,b,ct,D,y,k,z,Y,W,re,Le,Q,ve,he,se,We,L,Fr,Ot,zt,Er,Jt,or,X,dr,et,_e,Se,Bt,ar,He;if(m._startClamp=m._endClamp=!1,m._dir=O,g*=45,m.scroller=M,m.scroll=T?T.time.bind(T):Pe,Ze=Pe(),m.vars=t,n=n||t.animation,"refreshPriority"in t&&(Ml=1,t.refreshPriority===-9999&&(yi=m)),V.tweenScroll=V.tweenScroll||{top:Ga(M,Ke),left:Ga(M,Rt)},m.tweenTo=Je=V.tweenScroll[O.p],m.scrubDuration=function(F){dr=ni(F)&&F,dr?X?X.duration(F):X=N.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:dr,paused:!0,onComplete:function(){return v&&v(m)}}):(X&&X.progress(1).kill(),X=0)},n&&(n.vars.lazy=!1,n._initted&&!m.isReverted||n.vars.immediateRender!==!1&&t.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),m.animation=n.pause(),n.scrollTrigger=m,m.scrubDuration(c),Jt=0,u||(u=n.vars.id)),w&&((!sn(w)||w.push)&&(w={snapTo:w}),"scrollBehavior"in me.style&&N.set(B?[me,Vt]:M,{scrollBehavior:"auto"}),ie.forEach(function(F){return yt(F)&&F.target===(B?Te.scrollingElement||Vt:M)&&(F.smooth=!1)}),sr=yt(w.snapTo)?w.snapTo:w.snapTo==="labels"?Zh(n):w.snapTo==="labelsDirectional"?ed(n):w.directional!==!1?function(F,j){return ta(w.snapTo)(F,gt()-Me<500?0:j.direction)}:N.utils.snap(w.snapTo),et=w.duration||{min:.1,max:2},et=sn(et)?hi(et.min,et.max):hi(et,et),_e=N.delayedCall(w.delay||dr/2||.1,function(){var F=Pe(),j=gt()-Me<500,U=Je.tween;if((j||Math.abs(m.getVelocity())<10)&&!U&&!Ps&&ye!==F){var G=(F-ue)/k,tt=n&&!q?n.totalProgress():G,le=j?0:(tt-or)/(gt()-ei)*1e3||0,ze=N.utils.clamp(-G,1-G,Sn(le/2)*le/.185),ht=G+(w.inertia===!1?0:ze),Fe,Ee,we=w,lr=we.onStart,Oe=we.onInterrupt,It=we.onComplete;if(Fe=sr(ht,m),ni(Fe)||(Fe=ht),Ee=Math.max(0,Math.round(ue+Fe*k)),F<=Re&&F>=ue&&Ee!==F){if(U&&!U._initted&&U.data<=Sn(Ee-F))return;w.inertia===!1&&(ze=Fe-G),Je(Ee,{duration:et(Sn(Math.max(Sn(ht-tt),Sn(Fe-tt))*.185/le/.05||0)),ease:w.ease||"power3",data:Sn(Ee-F),onInterrupt:function(){return _e.restart(!0)&&Oe&&Oe(m)},onComplete:function(){m.update(),ye=Pe(),n&&!q&&(X?X.resetTo("totalProgress",Fe,n._tTime/n._tDur):n.progress(Fe)),Jt=or=n&&!q?n.totalProgress():m.progress,S&&S(m),It&&It(m)}},F,ze*k,Ee-F-ze*k),lr&&lr(m,Je.tween)}}else m.isActive&&ye!==F&&_e.restart(!0)}).pause()),u&&(To[u]=m),p=m.trigger=kt(p||d!==!0&&d),He=p&&p._gsap&&p._gsap.stRevert,He&&(He=He(m)),d=d===!0?p:kt(d),Ht(a)&&(a={targets:p,className:a}),d&&(_===!1||_===Zt||(_=!_&&d.parentNode&&d.parentNode.style&&er(d.parentNode).display==="flex"?!1:qe),m.pin=d,Qe=N.core.getCache(d),Qe.spacer?z=Qe.pinState:(P&&(P=kt(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),Qe.spacerIsNative=!!P,P&&(Qe.spacerState=Yi(P))),Qe.spacer=re=P||Te.createElement("div"),re.classList.add("pin-spacer"),u&&re.classList.add("pin-spacer-"+u),Qe.pinState=z=Yi(d)),t.force3D!==!1&&N.set(d,{force3D:!0}),m.spacer=re=Qe.spacer,Er=er(d),We=Er[_+O.os2],Q=N.getProperty(d),ve=N.quickSetter(d,O.a,Ge),Xs(d,re,Er),W=Yi(d)),ae){D=sn(ae)?qa(ae,Va):Va,b=Vi("scroller-start",u,M,O,D,0),ct=Vi("scroller-end",u,M,O,D,0,b),Le=b["offset"+O.op.d2];var ur=kt(Wr(M,"content")||M);st=this.markerStart=Vi("start",u,ur,O,D,Le,0,T),bt=this.markerEnd=Vi("end",u,ur,O,D,Le,0,T),T&&(ar=N.quickSetter([st,bt],O.a,Ge)),!te&&!(Tr.length&&Wr(M,"fixedMarkers")===!0)&&(Qh(B?me:M),N.set([b,ct],{force3D:!0}),Fr=N.quickSetter(b,O.a,Ge),zt=N.quickSetter(ct,O.a,Ge))}if(T){var $=T.vars.onUpdate,H=T.vars.onUpdateParams;T.eventCallback("onUpdate",function(){m.update(0,0,1),$&&$.apply(T,H||[])})}if(m.previous=function(){return ee[ee.indexOf(m)-1]},m.next=function(){return ee[ee.indexOf(m)+1]},m.revert=function(F,j){if(!j)return m.kill(!0);var U=F!==!1||!m.enabled,G=_t;U!==m.isReverted&&(U&&(Se=Math.max(Pe(),m.scroll.rec||0),$e=m.progress,Bt=n&&n.progress()),st&&[st,bt,b,ct].forEach(function(tt){return tt.style.display=U?"none":"block"}),U&&(_t=m,m.update(U)),d&&(!C||!m.isActive)&&(U?nd(d,re,z):Xs(d,re,er(d),L)),U||m.update(U),_t=G,m.isReverted=U)},m.refresh=function(F,j,U,G){if(!((_t||!m.enabled)&&!j)){if(d&&F&&ir){nt(i,"scrollEnd",Yl);return}!Ct&&pe&&pe(m),_t=m,Je.tween&&!U&&(Je.tween.kill(),Je.tween=0),X&&X.pause(),h&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(Nr){return Nr.vars.immediateRender&&Nr.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),m.isReverted||m.revert(!0,!0),m._subPinOffset=!1;var tt=Ue(),le=ft(),ze=T?T.duration():vr(M,O),ht=k<=.01||!k,Fe=0,Ee=G||0,we=sn(U)?U.end:t.end,lr=t.endTrigger||p,Oe=sn(U)?U.start:t.start||(t.start===0||!p?0:d?"0 0":"0 100%"),It=m.pinnedContainer=t.pinnedContainer&&kt(t.pinnedContainer,m),pr=p&&Math.max(0,ee.indexOf(m))||0,ot=pr,at,dt,Zr,Di,pt,je,_r,Rs,na,Xn,gr,Wn,Mi;for(ae&&sn(U)&&(Wn=N.getProperty(b,O.p),Mi=N.getProperty(ct,O.p));ot-- >0;)je=ee[ot],je.end||je.refresh(0,1)||(_t=m),_r=je.pin,_r&&(_r===p||_r===d||_r===It)&&!je.isReverted&&(Xn||(Xn=[]),Xn.unshift(je),je.revert(!0,!0)),je!==ee[ot]&&(pr--,ot--);for(yt(Oe)&&(Oe=Oe(m)),Oe=Ba(Oe,"start",m),ue=Wa(Oe,p,tt,O,Pe(),st,b,m,le,ce,te,ze,T,m._startClamp&&"_startClamp")||(d?-.001:0),yt(we)&&(we=we(m)),Ht(we)&&!we.indexOf("+=")&&(~we.indexOf(" ")?we=(Ht(Oe)?Oe.split(" ")[0]:"")+we:(Fe=ts(we.substr(2),tt),we=Ht(Oe)?Oe:(T?N.utils.mapRange(0,T.duration(),T.scrollTrigger.start,T.scrollTrigger.end,ue):ue)+Fe,lr=p)),we=Ba(we,"end",m),Re=Math.max(ue,Wa(we||(lr?"100% 0":ze),lr,tt,O,Pe()+Fe,bt,ct,m,le,ce,te,ze,T,m._endClamp&&"_endClamp"))||-.001,Fe=0,ot=pr;ot--;)je=ee[ot]||{},_r=je.pin,_r&&je.start-je._pinPush<=ue&&!T&&je.end>0&&(at=je.end-(m._startClamp?Math.max(0,je.start):je.start),(_r===p&&je.start-je._pinPush=vr(M,O)))at=er(d),Di=O===Ke,Zr=Pe(),he=parseFloat(Q(O.a))+Ee,!ze&&Re>1&&(gr=(B?Te.scrollingElement||Vt:M).style,gr={style:gr,value:gr["overflow"+O.a.toUpperCase()]},B&&er(me)["overflow"+O.a.toUpperCase()]!=="scroll"&&(gr.style["overflow"+O.a.toUpperCase()]="scroll")),Xs(d,re,at),W=Yi(d),dt=Or(d,!0),Rs=te&&Jr(M,Di?Rt:Ke)(),_?(L=[_+O.os2,k+Ee+Ge],L.t=re,ot=_===qe?ms(d,O)+k+Ee:0,ot&&(L.push(O.d,ot+Ge),re.style.flexBasis!=="auto"&&(re.style.flexBasis=ot+Ge)),Ln(L),It&&ee.forEach(function(Nr){Nr.pin===It&&Nr.vars.pinSpacing!==!1&&(Nr._subPinOffset=!0)}),te&&Pe(Se)):(ot=ms(d,O),ot&&re.style.flexBasis!=="auto"&&(re.style.flexBasis=ot+Ge)),te&&(pt={top:dt.top+(Di?Zr-ue:Rs)+Ge,left:dt.left+(Di?Rs:Zr-ue)+Ge,boxSizing:"border-box",position:"fixed"},pt[pn]=pt["max"+Vn]=Math.ceil(dt.width)+Ge,pt[_n]=pt["max"+ea]=Math.ceil(dt.height)+Ge,pt[Zt]=pt[Zt+gi]=pt[Zt+pi]=pt[Zt+mi]=pt[Zt+_i]="0",pt[qe]=at[qe],pt[qe+gi]=at[qe+gi],pt[qe+pi]=at[qe+pi],pt[qe+mi]=at[qe+mi],pt[qe+_i]=at[qe+_i],Y=sd(z,pt,C),Ct&&Pe(0)),n?(na=n._initted,Hs(1),n.render(n.duration(),!0,!0),se=Q(O.a)-he+k+Ee,Ot=Math.abs(k-se)>1,te&&Ot&&Y.splice(Y.length-2,2),n.render(0,!0,!0),na||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),Hs(0)):se=k,gr&&(gr.value?gr.style["overflow"+O.a.toUpperCase()]=gr.value:gr.style.removeProperty("overflow-"+O.a));else if(p&&Pe()&&!T)for(dt=p.parentNode;dt&&dt!==me;)dt._pinOffset&&(ue-=dt._pinOffset,Re-=dt._pinOffset),dt=dt.parentNode;Xn&&Xn.forEach(function(Nr){return Nr.revert(!1,!0)}),m.start=ue,m.end=Re,Ze=Xe=Ct?Se:Pe(),!T&&!Ct&&(Ze0?ee.slice(0,j).reverse():ee.slice(j+1);return(Ht(F)?U.filter(function(G){return G.vars.preventOverlaps===F}):U).filter(function(G){return m.direction>0?G.end<=ue:G.start>=Re})},m.update=function(F,j,U){if(!(T&&!U&&!F)){var G=Ct===!0?Se:m.scroll(),tt=F?0:(G-ue)/k,le=tt<0?0:tt>1?1:tt||0,ze=m.progress,ht,Fe,Ee,we,lr,Oe,It,pr;if(j&&(Xe=Ze,Ze=T?Pe():G,w&&(or=Jt,Jt=n&&!q?n.totalProgress():le)),g&&d&&!_t&&!Bi&&ir&&(!le&&ueG+(G-Xe)/(gt()-ei)*g&&(le=.9999)),le!==ze&&m.enabled){if(ht=m.isActive=!!le&&le<1,Fe=!!ze&&ze<1,Oe=ht!==Fe,lr=Oe||!!le!=!!ze,m.direction=le>ze?1:-1,m.progress=le,lr&&!_t&&(Ee=le&&!ze?0:le===1?1:ze===1?2:3,q&&(we=!Oe&&I[Ee+1]!=="none"&&I[Ee+1]||I[Ee],pr=n&&(we==="complete"||we==="reset"||we in n))),R&&(Oe||pr)&&(pr||c||!n)&&(yt(R)?R(m):m.getTrailing(R).forEach(function(Zr){return Zr.endAnimation()})),q||(X&&!_t&&!Bi?(X._dp._time-X._start!==X._time&&X.render(X._dp._time-X._start),X.resetTo?X.resetTo("totalProgress",le,n._tTime/n._tDur):(X.vars.totalProgress=le,X.invalidate().restart())):n&&n.totalProgress(le,!!(_t&&(Me||F)))),d){if(F&&_&&(re.style[_+O.os2]=We),!te)ve(ri(he+se*le));else if(lr){if(It=!F&&le>ze&&Re+1>G&&G+1>=vr(M,O),C)if(!F&&(ht||It)){var ot=Or(d,!0),at=G-ue;ja(d,me,ot.top+(O===Ke?at:0)+Ge,ot.left+(O===Ke?0:at)+Ge)}else ja(d,re);Ln(ht||It?Y:W),Ot&&le<1&&ht||ve(he+(le===1&&!It?se:0))}}w&&!Je.tween&&!_t&&!Bi&&_e.restart(!0),a&&(Oe||E&&le&&(le<1||!qs))&&Pi(a.targets).forEach(function(Zr){return Zr.classList[ht||E?"add":"remove"](a.className)}),o&&!q&&!F&&o(m),lr&&!_t?(q&&(pr&&(we==="complete"?n.pause().totalProgress(1):we==="reset"?n.restart(!0).pause():we==="restart"?n.restart(!0):n[we]()),o&&o(m)),(Oe||!qs)&&(f&&Oe&&Ys(m,f),K[Ee]&&Ys(m,K[Ee]),E&&(le===1?m.kill(!1,1):K[Ee]=0),Oe||(Ee=le===1?1:3,K[Ee]&&Ys(m,K[Ee]))),A&&!ht&&Math.abs(m.getVelocity())>(ni(A)?A:2500)&&(Jn(m.callbackAnimation),X?X.progress(1):Jn(n,we==="reverse"?1:!le,1))):q&&o&&!_t&&o(m)}if(zt){var dt=T?G/T.duration()*(T._caScrollDist||0):G;Fr(dt+(b._isFlipped?1:0)),zt(dt)}ar&&ar(-G/T.duration()*(T._caScrollDist||0))}},m.enable=function(F,j){m.enabled||(m.enabled=!0,nt(M,"resize",ii),B||nt(M,"scroll",En),pe&&nt(i,"refreshInit",pe),F!==!1&&(m.progress=$e=0,Ze=Xe=ye=Pe()),j!==!1&&m.refresh())},m.getTween=function(F){return F&&Je?Je.tween:X},m.setPositions=function(F,j,U,G){if(T){var tt=T.scrollTrigger,le=T.duration(),ze=tt.end-tt.start;F=tt.start+ze*F/le,j=tt.start+ze*j/le}m.refresh(!1,!1,{start:Ia(F,U&&!!m._startClamp),end:Ia(j,U&&!!m._endClamp)},G),m.update()},m.adjustPinSpacing=function(F){if(L&&F){var j=L.indexOf(O.d)+1;L[j]=parseFloat(L[j])+F+Ge,L[1]=parseFloat(L[1])+F+Ge,Ln(L)}},m.disable=function(F,j){if(F!==!1&&m.revert(!0,!0),m.enabled&&(m.enabled=m.isActive=!1,j||X&&X.pause(),Se=0,Qe&&(Qe.uncache=1),pe&&rt(i,"refreshInit",pe),_e&&(_e.pause(),Je.tween&&Je.tween.kill()&&(Je.tween=0)),!B)){for(var U=ee.length;U--;)if(ee[U].scroller===M&&ee[U]!==m)return;rt(M,"resize",ii),B||rt(M,"scroll",En)}},m.kill=function(F,j){m.disable(F,j),X&&!j&&X.kill(),u&&delete To[u];var U=ee.indexOf(m);U>=0&&ee.splice(U,1),U===Et&&ns>0&&Et--,U=0,ee.forEach(function(G){return G.scroller===m.scroller&&(U=1)}),U||Ct||(m.scroll.rec=0),n&&(n.scrollTrigger=null,F&&n.revert({kill:!1}),j||n.kill()),st&&[st,bt,b,ct].forEach(function(G){return G.parentNode&&G.parentNode.removeChild(G)}),yi===m&&(yi=0),d&&(Qe&&(Qe.uncache=1),U=0,ee.forEach(function(G){return G.pin===d&&U++}),U||(Qe.spacer=0)),t.onKill&&t.onKill(m)},ee.push(m),m.enable(!1,!1),He&&He(m),n&&n.add&&!k){var de=m.update;m.update=function(){m.update=de,ie.cache++,ue||Re||m.refresh()},N.delayedCall(.01,m.update),k=.01,ue=Re=0}else m.refresh();d&&rd()},i.register=function(t){return Cn||(N=t||Bl(),zl()&&window.document&&i.enable(),Cn=ti),Cn},i.defaults=function(t){if(t)for(var n in t)qi[n]=t[n];return qi},i.disable=function(t,n){ti=0,ee.forEach(function(o){return o[n?"kill":"disable"](t)}),rt(ne,"wheel",En),rt(Te,"scroll",En),clearInterval(zi),rt(Te,"touchcancel",yr),rt(me,"touchstart",yr),Ui(rt,Te,"pointerdown,touchstart,mousedown",Ua),Ui(rt,Te,"pointerup,touchend,mouseup",Ha),gs.kill(),Ii(rt);for(var s=0;s0&&o.left+a0&&o.top+a=0&&Ut.splice(r,5),Ut.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),N.core.getCache(e),xo())}}):Ut};oe.revert=function(i,e){return ra(!i,e)};oe.create=function(i,e){return new oe(i,e)};oe.refresh=function(i){return i?ii(!0):(Cn||oe.register())&&un(!0)};oe.update=function(i){return++ie.cache&&Ar(i===!0?2:0)};oe.clearScrollMemory=Wl;oe.maxScroll=function(i,e){return vr(i,e?Rt:Ke)};oe.getScrollFunc=function(i,e){return Jr(kt(i),e?Rt:Ke)};oe.getById=function(i){return To[i]};oe.getAll=function(){return ee.filter(function(i){return i.vars.id!=="ScrollSmoother"})};oe.isScrolling=function(){return!!ir};oe.snapDirectional=ta;oe.addEventListener=function(i,e){var r=wn[i]||(wn[i]=[]);~r.indexOf(e)||r.push(e)};oe.removeEventListener=function(i,e){var r=wn[i],t=r&&r.indexOf(e);t>=0&&r.splice(t,1)};oe.batch=function(i,e){var r=[],t={},n=e.interval||.016,s=e.batchMax||1e9,o=function(f,l){var c=[],p=[],d=N.delayedCall(n,function(){l(c,p),c=[],p=[]}).pause();return function(_){c.length||d.restart(!0),c.push(_.trigger),p.push(_),s<=c.length&&d.progress(1)}},a;for(a in e)t[a]=a.substr(0,2)==="on"&&yt(e[a])&&a!=="onRefreshInit"?o(a,e[a]):e[a];return yt(s)&&(s=s(),nt(oe,"refresh",function(){return s=e.batchMax()})),Pi(i).forEach(function(u){var f={};for(a in t)f[a]=t[a];f.trigger=u,r.push(oe.create(f))}),r};var Ka=function(e,r,t,n){return r>n?e(n):r<0&&e(0),t>n?(n-r)/(t-r):t<0?r/(r-t):1},Ws=function i(e,r){r===!0?e.style.removeProperty("touch-action"):e.style.touchAction=r===!0?"auto":r?"pan-"+r+(Ie.isTouch?" pinch-zoom":""):"none",e===Vt&&i(me,r)},Xi={auto:1,scroll:1},ad=function(e){var r=e.event,t=e.target,n=e.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||N.core.getCache(s),a=gt(),u;if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==me&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(Xi[(u=er(s)).overflowY]||Xi[u.overflowX]));)s=s.parentNode;o._isScroll=s&&s!==t&&!yn(s)&&(Xi[(u=er(s)).overflowY]||Xi[u.overflowX]),o._isScrollT=a}(o._isScroll||n==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},Kl=function(e,r,t,n){return Ie.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:n=n&&ad,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return t&&nt(Te,Ie.eventTypes[0],Qa,!1,!0)},onDisable:function(){return rt(Te,Ie.eventTypes[0],Qa,!0)}})},ud=/(input|label|select|textarea)/i,Ja,Qa=function(e){var r=ud.test(e.target.tagName);(r||Ja)&&(e._gsapAllow=!0,Ja=r)},ld=function(e){sn(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var r=e,t=r.normalizeScrollX,n=r.momentum,s=r.allowNestedScroll,o=r.onRelease,a,u,f=kt(e.target)||Vt,l=N.core.globals().ScrollSmoother,c=l&&l.get(),p=Br&&(e.content&&kt(e.content)||c&&e.content!==!1&&!c.smooth()&&c.content()),d=Jr(f,Ke),_=Jr(f,Rt),h=1,g=(Ie.isTouch&&ne.visualViewport?ne.visualViewport.scale*ne.visualViewport.width:ne.outerWidth)/ne.innerWidth,v=0,S=yt(n)?function(){return n(a)}:function(){return n||2.8},E,w,C=Kl(f,e.type,!0,s),P=function(){return w=!1},T=yr,A=yr,R=function(){u=vr(f,Ke),A=hi(Br?1:0,u),t&&(T=hi(0,vr(f,Rt))),E=gn},O=function(){p._gsap.y=ri(parseFloat(p._gsap.y)+d.offset)+"px",p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(p._gsap.y)+", 0, 1)",d.offset=d.cacheID=0},q=function(){if(w){requestAnimationFrame(P);var ae=ri(a.deltaY/2),ce=A(d.v-ae);if(p&&ce!==d.v+d.offset){d.offset=ce-d.v;var m=ri((parseFloat(p&&p._gsap.y)||0)-d.offset);p.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+m+", 0, 1)",p._gsap.y=m+"px",d.cacheID=ie.cache,Ar()}return!0}d.offset&&O(),w=!0},M,V,B,te,K=function(){R(),M.isActive()&&M.vars.scrollY>u&&(d()>u?M.progress(1)&&d(u):M.resetTo("scrollY",u))};return p&&N.set(p,{y:"+=0"}),e.ignoreCheck=function(I){return Br&&I.type==="touchmove"&&q()||h>1.05&&I.type!=="touchstart"||a.isGesturing||I.touches&&I.touches.length>1},e.onPress=function(){w=!1;var I=h;h=ri((ne.visualViewport&&ne.visualViewport.scale||1)/g),M.pause(),I!==h&&Ws(f,h>1.01?!0:t?!1:"x"),V=_(),B=d(),R(),E=gn},e.onRelease=e.onGestureStart=function(I,ae){if(d.offset&&O(),!ae)te.restart(!0);else{ie.cache++;var ce=S(),m,pe;t&&(m=_(),pe=m+ce*.05*-I.velocityX/.227,ce*=Ka(_,m,pe,vr(f,Rt)),M.vars.scrollX=T(pe)),m=d(),pe=m+ce*.05*-I.velocityY/.227,ce*=Ka(d,m,pe,vr(f,Ke)),M.vars.scrollY=A(pe),M.invalidate().duration(ce).play(.01),(Br&&M.vars.scrollY>=u||m>=u-1)&&N.to({},{onUpdate:K,duration:ce})}o&&o(I)},e.onWheel=function(){M._ts&&M.pause(),gt()-v>1e3&&(E=0,v=gt())},e.onChange=function(I,ae,ce,m,pe){if(gn!==E&&R(),ae&&t&&_(T(m[2]===ae?V+(I.startX-I.x):_()+ae-m[1])),ce){d.offset&&O();var Ue=pe[2]===ce,ft=Ue?B+I.startY-I.y:d()+ce-pe[1],ye=A(ft);Ue&&ft!==ye&&(B+=ye-ft),d(ye)}(ce||ae)&&Ar()},e.onEnable=function(){Ws(f,t?!1:"x"),oe.addEventListener("refresh",K),nt(ne,"resize",K),d.smooth&&(d.target.style.scrollBehavior="auto",d.smooth=_.smooth=!1),C.enable()},e.onDisable=function(){Ws(f,!0),rt(ne,"resize",K),oe.removeEventListener("refresh",K),C.kill()},e.lockAxis=e.lockAxis!==!1,a=new Ie(e),a.iOS=Br,Br&&!d()&&d(1),Br&&N.ticker.add(yr),te=a._dc,M=N.to(a,{ease:"power4",paused:!0,inherit:!1,scrollX:t?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Gl(d,d(),function(){return M.pause()})},onUpdate:Ar,onComplete:te.vars.onComplete}),a};oe.sort=function(i){if(yt(i))return ee.sort(i);var e=ne.pageYOffset||0;return oe.getAll().forEach(function(r){return r._sortY=r.trigger?e+r.trigger.getBoundingClientRect().top:r.start+ne.innerHeight}),ee.sort(i||function(r,t){return(r.vars.refreshPriority||0)*-1e6+(r.vars.containerAnimation?1e6:r._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})};oe.observe=function(i){return new Ie(i)};oe.normalizeScroll=function(i){if(typeof i>"u")return St;if(i===!0&&St)return St.enable();if(i===!1){St&&St.kill(),St=i;return}var e=i instanceof Ie?i:ld(i);return St&&St.target===e.target&&St.kill(),yn(e.target)&&(St=e),e};oe.core={_getVelocityProp:yo,_inputObserver:Kl,_scrollers:ie,_proxies:Tr,bridge:{ss:function(){ir||bn("scrollStart"),ir=gt()},ref:function(){return _t}}};Bl()&&N.registerPlugin(oe);function fd(i,e){for(var r=0;rMath.abs(a)?o:a)/(1-r),f=-u*r,l,c;return u>0&&(l=s.height/(Tt.innerHeight+s.height),c=l===.5?s.height*2:Math.min(s.height,Math.abs(-u*l/(2*l-1)))*2*(r||1),f+=r?-c*r:-c/2,u+=c),{change:u,offset:f}},pd=function(e){var r=Ir.querySelector(".ScrollSmoother-wrapper");return r||(r=Ir.createElement("div"),r.classList.add("ScrollSmoother-wrapper"),e.parentNode.insertBefore(r,e),r.appendChild(e)),r},xn=function(){function i(e){var r=this;Wi||i.register(ge)||console.warn("Please gsap.registerPlugin(ScrollSmoother)"),e=this.vars=e||{},wr&&wr.kill(),wr=this,ru(this);var t=e,n=t.smoothTouch,s=t.onUpdate,o=t.onStop,a=t.smooth,u=t.onFocusIn,f=t.normalizeScroll,l=t.wholePixels,c,p,d,_,h,g,v,S,E,w,C,P,T,A,R=this,O=e.effectsPrefix||"",q=Z.getScrollFunc(Tt),M=Z.isTouch===1?n===!0?.8:parseFloat(n)||0:a===0||a===!1?0:parseFloat(a)||.8,V=M&&+e.speed||1,B=0,te=0,K=1,I=eu(0),ae=function(){return I.update(-B)},ce={y:0},m=function(){return c.style.overflow="visible"},pe,Ue=function(y){y.update();var k=y.getTween();k&&(k.pause(),k._time=k._dur,k._tTime=k._tDur),pe=!1,y.animation.progress(y.progress,!0)},ft=function(y,k){(y!==B&&!w||k)&&(l&&(y=Math.round(y)),M&&(c.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+y+", 0, 1)",c._gsap.y=y+"px"),te=y-B,B=y,Z.isUpdating||i.isRefreshing||Z.update())},ye=function(y){return arguments.length?(y<0&&(y=0),ce.y=-y,pe=!0,w?B=-y:ft(-y),Z.isRefreshing?_.update():q(y/V),this):-B},Me=typeof ResizeObserver<"u"&&e.autoResize!==!1&&new ResizeObserver(function(){if(!Z.isRefreshing){var D=zr(p)*V;D<-B&&ye(D),nu.restart(!0)}}),$e,Pe=function(y){p.scrollTop=0,!(y.target.contains&&y.target.contains(p)||u&&u(r,y)===!1)&&(Z.isInViewport(y.target)||y.target===$e||r.scrollTo(y.target,!1,"center center"),$e=y.target)},Je=function(y,k){if(y0?Q+(se-he):Je(se,y),L.setPositions(Q,ve,!0,(L._startClamp?Math.max(0,Q):Q)-he),L.markerStart&&W.push(ge.quickSetter([L.markerStart,L.markerEnd],"y","px")),L.pin&&L.end>0&&!z)){if(re=L.end-L.start,Le=y._startClamp&&L.start<0,Le){if(y.start>0){y.setPositions(0,y.end+(y._startNative-y.start),!0),D(y,k);return}re+=L.start,Y.offset=-L.start}Y.push({start:L.start,nativeStart:he,end:L.end,distance:re,trig:L}),y.setPositions(y.start,y.end+(Le?-L.start:re),!0)}},sr=function(y,k){h.forEach(function(z){return Qe(z,y,k)})},Ze=function(){si=Ir.documentElement,Cr=Ir.body,m(),requestAnimationFrame(m),h&&(Z.getAll().forEach(function(y){y._startNative=y.start,y._endNative=y.end}),h.forEach(function(y){var k=y._startClamp||y.start,z=y.autoSpeed?Math.min(zr(),y.end):k+Math.abs((y.end-k)/y.ratio),Y=z-y.end;if(k-=Y/2,z-=Y/2,k>z){var W=k;k=z,z=W}y._startClamp&&k<0?(z=y.ratio<0?zr():y.end/y.ratio,Y=z-y.end,k=0):(y.ratio<0||y._endClamp&&z>=zr())&&(z=zr(),k=y.ratio<0||y.ratio>1?0:z-(z-y.start)/y.ratio,Y=(z-k)*y.ratio-(y.end-y.start)),y.offset=Y||1e-4,y.pins.length=y.pins.offset=0,y.setPositions(k,z,!0)}),sr(Z.sort())),I.reset()},Xe=function(){return Z.addEventListener("refresh",Ze)},ue=function(){return h&&h.forEach(function(y){return y.vars.onRefresh(y)})},Re=function(){return h&&h.forEach(function(y){return y.vars.onRefreshInit(y)}),ue},st=function(y,k,z,Y){return function(){var W=typeof k=="function"?k(z,Y):k;W||W===0||(W=Y.getAttribute("data-"+O+y)||(y==="speed"?1:0)),Y.setAttribute("data-"+O+y,W);var re=(W+"").substr(0,6)==="clamp(";return{clamp:re,value:re?W.substr(6,W.length-7):W}}},bt=function(y,k,z,Y,W){W=(typeof W=="function"?W(Y,y):W)||0;var re=st("speed",k,Y,y),Le=st("lag",z,Y,y),Q=ge.getProperty(y,"y"),ve=y._gsap,he,se,We,L,Fr,Ot,zt=[],Er=function(){k=re(),z=parseFloat(Le().value),he=parseFloat(k.value)||1,We=k.value==="auto",Fr=We||se&&se._startClamp&&se.start<=0||zt.offset?0:se&&se._endClamp&&se.end===zr()?1:.5,L&&L.kill(),L=z&&ge.to(y,{ease:ji,overwrite:!1,y:"+=0",duration:z}),se&&(se.ratio=he,se.autoSpeed=We)},Jt=function(){ve.y=Q+"px",ve.renderTransform(1),Er()},or=[],X=0,dr=function(_e){if(We){Jt();var Se=dd(y,Za(0,1,-_e.start/(_e.end-_e.start)));X=Se.change,Ot=Se.offset}else Ot=zt.offset||0,X=(_e.end-_e.start-Ot)*(1-he);zt.forEach(function(Bt){return X-=Bt.distance*(1-he)}),_e.offset=X||.001,_e.vars.onUpdate(_e),L&&L.progress(1)};return Er(),(he!==1||We||L)&&(se=Z.create({trigger:We?y.parentNode:y,start:function(){return k.clamp?"clamp(top bottom+="+W+")":"top bottom+="+W},end:function(){return k.value<0?"max":k.clamp?"clamp(bottom top-="+W+")":"bottom top-="+W},scroller:p,scrub:!0,refreshPriority:-999,onRefreshInit:Jt,onRefresh:dr,onKill:function(_e){var Se=h.indexOf(_e);Se>=0&&h.splice(Se,1),Jt()},onUpdate:function(_e){var Se=Q+X*(_e.progress-Fr),Bt=zt.length,ar=0,He,ur,$;if(_e.offset){if(Bt){for(ur=-B,$=_e.end;Bt--;){if(He=zt[Bt],He.trig.isActive||ur>=He.start&&ur<=He.end){L&&(He.trig.progress+=He.trig.direction<0?.001:-.001,He.trig.update(0,0,1),L.resetTo("y",parseFloat(ve.y),-te,!0),K&&L.progress(1));return}ur>He.end&&(ar+=He.distance),$-=He.distance}Se=Q+ar+X*((ge.utils.clamp(_e.start,_e.end,ur)-_e.start-ar)/($-_e.start)-Fr)}or.length&&!We&&or.forEach(function(H){return H(Se-ar)}),Se=hd(Se+Ot),L?(L.resetTo("y",Se,-te,!0),K&&L.progress(1)):(ve.y=Se+"px",ve.renderTransform(1))}}}),dr(se),ge.core.getCache(se.trigger).stRevert=Re,se.startY=Q,se.pins=zt,se.markers=or,se.ratio=he,se.autoSpeed=We,y.style.willChange="transform"),se};Xe(),Z.addEventListener("killAll",Xe),ge.delayedCall(.5,function(){return K=0}),this.scrollTop=ye,this.scrollTo=function(D,y,k){var z=ge.utils.clamp(0,zr(),isNaN(D)?r.offset(D,k,!!y&&!w):+D);y?w?ge.to(r,{duration:M,scrollTop:z,overwrite:"auto",ease:ji}):q(z):ye(z)},this.offset=function(D,y,k){D=on(D)[0];var z=D.style.cssText,Y=Z.create({trigger:D,start:y||"top top"}),W;return h&&(K?Z.refresh():sr([Y],!0)),W=Y.start/(k?V:1),Y.kill(!1),D.style.cssText=z,ge.core.getCache(D).uncache=1,W};function b(){return d=c.clientHeight,c.style.overflow="visible",Cr.style.height=Tt.innerHeight+(d-Tt.innerHeight)/V+"px",d-Tt.innerHeight}this.content=function(D){if(arguments.length){var y=on(D||"#smooth-content")[0]||console.warn("ScrollSmoother needs a valid content element.")||Cr.children[0];return y!==c&&(c=y,E=c.getAttribute("style")||"",Me&&Me.observe(c),ge.set(c,{overflow:"visible",width:"100%",boxSizing:"border-box",y:"+=0"}),M||ge.set(c,{clearProps:"transform"})),this}return c},this.wrapper=function(D){return arguments.length?(p=on(D||"#smooth-wrapper")[0]||pd(c),S=p.getAttribute("style")||"",b(),ge.set(p,M?{overflow:"hidden",position:"fixed",height:"100%",width:"100%",top:0,left:0,right:0,bottom:0}:{overflow:"visible",position:"relative",width:"100%",height:"auto",top:"auto",bottom:"auto",left:"auto",right:"auto"}),this):p},this.effects=function(D,y){var k;if(h||(h=[]),!D)return h.slice(0);D=on(D),D.forEach(function(he){for(var se=h.length;se--;)h[se].trigger===he&&h[se].kill()}),y=y||{};var z=y,Y=z.speed,W=z.lag,re=z.effectsPadding,Le=[],Q,ve;for(Q=0;Qz._dp._time,P=B,ce.y=0,M&&(Z.isTouch===1&&(p.style.position="absolute"),p.scrollTop=0,Z.isTouch===1&&(p.style.position="fixed"))}},onRefresh:function(y){y.animation.invalidate(),ce.y=0,y.setPositions(y.start,b()/V),T||Ue(y),ce.y=-q()*V,ft(ce.y),K||(T&&(pe=!1),y.animation.progress(ge.utils.clamp(0,1,P/V/-y.end))),T&&(y.progress-=.001,y.update()),i.isRefreshing=!1},id:"ScrollSmoother",scroller:Tt,invalidateOnRefresh:!0,start:0,refreshPriority:-9999,end:function(){return b()/V},onScrubComplete:function(){I.reset(),o&&o(r)},scrub:M||!0}),this.smooth=function(D){return arguments.length&&(M=D||0,V=M&&+e.speed||1,_.scrubDuration(D)),_.getTween()?_.getTween().duration():0},_.getTween()&&(_.getTween().vars.ease=e.ease||ji),this.scrollTrigger=_,e.effects&&this.effects(e.effects===!0?"[data-"+O+"speed], [data-"+O+"lag]":e.effects,{effectsPadding:e.effectsPadding,refresh:!1}),e.sections&&this.sections(e.sections===!0?"[data-section]":e.sections),ct.forEach(function(D){D.vars.scroller=p,D.revert(!1,!0),D.init(D.vars,D.animation)}),this.paused=function(D,y){return arguments.length?(!!w!==D&&(D?(_.getTween()&&_.getTween().pause(),q(-B/V),I.reset(),C=Z.normalizeScroll(),C&&C.disable(),w=Z.observe({preventDefault:!0,type:"wheel,touch,scroll",debounce:!1,allowClicks:!0,onChangeY:function(){return ye(-B)}}),w.nested=tu(si,"wheel,touch,scroll",!0,y!==!1)):(w.nested.kill(),w.kill(),w=0,C&&C.enable(),_.progress=(-B/V-_.start)/(_.end-_.start),Ue(_))),this):!!w},this.kill=this.revert=function(){r.paused(!1),Ue(_),_.kill();for(var D=(h||[]).concat(g||[]),y=D.length;y--;)D[y].kill();Z.scrollerProxy(p),Z.removeEventListener("killAll",Xe),Z.removeEventListener("refresh",Ze),p.style.cssText=S,c.style.cssText=E;var k=Z.defaults({});k&&k.scroller===p&&Z.defaults({scroller:Tt}),r.normalizer&&Z.normalizeScroll(!1),clearInterval(v),wr=null,Me&&Me.disconnect(),Cr.style.removeProperty("height"),Tt.removeEventListener("focusin",Pe)},this.refresh=function(D,y){return _.refresh(D,y)},f&&(this.normalizer=Z.normalizeScroll(f===!0?{debounce:!0,content:!M&&c}:f)),Z.config(e),"scrollBehavior"in Tt.getComputedStyle(Cr)&&ge.set([Cr,si],{scrollBehavior:"auto"}),Tt.addEventListener("focusin",Pe),v=setInterval(ae,250),Ir.readyState==="loading"||requestAnimationFrame(function(){return Z.refresh()})}return i.register=function(r){return Wi||(ge=r||Ql(),Jl()&&window.document&&(Tt=window,Ir=document,si=Ir.documentElement,Cr=Ir.body),ge&&(on=ge.utils.toArray,Za=ge.utils.clamp,ji=ge.parseEase("expo"),ru=ge.core.context||function(){},Z=ge.core.globals().ScrollTrigger,ge.core.globals("ScrollSmoother",i),Cr&&Z&&(nu=ge.delayedCall(.2,function(){return Z.isRefreshing||wr&&wr.refresh()}).pause(),eu=Z.core._getVelocityProp,tu=Z.core._inputObserver,i.refresh=Z.refresh,Wi=1))),Wi},cd(i,[{key:"progress",get:function(){return this.scrollTrigger?this.scrollTrigger.animation._time/100:0}}]),i}();xn.version="3.14.1";xn.create=function(i){return wr&&i&&wr.content()===on(i.content)[0]?wr:new xn(i)};xn.get=function(){return wr};Ql()&&ge.registerPlugin(xn);El.registerPlugin(oe,xn);(function(i,e){(function(){e.path.isFront,console.log("drupalSettings",e);function t(){console.log("MathalloTheme init()"),n(),s()}function n(){xn.create({smooth:1,effects:!0,smoothTouch:.1,wrapper:'main[role="main"]',content:'main[role="main"]>.layout-content'})}function s(){console.log("initVues")}t()})()})(Drupal,drupalSettings); diff --git a/web_main/themes/custom/mathallo/assets/js/main.js b/web_main/themes/custom/mathallo/assets/js/main.js index 71c4ecd..76ffabd 100644 --- a/web_main/themes/custom/mathallo/assets/js/main.js +++ b/web_main/themes/custom/mathallo/assets/js/main.js @@ -1,10 +1,16 @@ import { createApp } from 'vue' import '../scss/main.scss' -import Etape from './vuejs/Etape.vue' +import Content from './vuejs/Content.vue' import REST from './api/rest-axios' +// import LocomotiveScroll from 'locomotive-scroll'; +// const scroll = new LocomotiveScroll(); +import { gsap } from "gsap"; +import { ScrollTrigger } from "gsap/ScrollTrigger"; +import { ScrollSmoother } from "gsap/ScrollSmoother"; +gsap.registerPlugin(ScrollTrigger, ScrollSmoother); // /** // * @file @@ -36,22 +42,37 @@ import REST from './api/rest-axios' // |___|_||_|_|\__| function init () { console.log('MathalloTheme init()') + initBgAnime() initVues() } + function initBgAnime(){ + // gsap.to('body', { + // scrollTrigger: 'main[role="main"]', // start animation when ".box" enters the viewport + // backgroundPositionY: 10 + // }); + ScrollSmoother.create({ + smooth: 1, // how long (in seconds) it takes to "catch up" to the native scroll position + effects: true, // looks for data-speed and data-lag attributes on elements + smoothTouch: 0.1, // much shorter smoothing time on touch devices (default is NO smoothing on touch devices) + wrapper: 'main[role="main"]', + content: 'main[role="main"]>.layout-content' + }); + } + function initVues(){ console.log('initVues'); - // initVueEtapeModale(); + // initVueContent(); } - // function initVueEtapeModale(){ - // createApp(Etape).mount('#etape-modale'); + function initVueContent(){ + createApp(Content).mount('main[role="main"]'); - // processEtapeLinks(); - // } + // processEtapeLinks(); + } // function onClickEtapeLink(e){ diff --git a/web_main/themes/custom/mathallo/assets/js/vuejs/Etape.vue b/web_main/themes/custom/mathallo/assets/js/vuejs/Content.vue similarity index 64% rename from web_main/themes/custom/mathallo/assets/js/vuejs/Etape.vue rename to web_main/themes/custom/mathallo/assets/js/vuejs/Content.vue index bb1de47..e5b552e 100644 --- a/web_main/themes/custom/mathallo/assets/js/vuejs/Etape.vue +++ b/web_main/themes/custom/mathallo/assets/js/vuejs/Content.vue @@ -1,6 +1,6 @@ diff --git a/web_main/themes/custom/mathallo/assets/scss/main.scss b/web_main/themes/custom/mathallo/assets/scss/main.scss index 3da0de9..f68b20d 100644 --- a/web_main/themes/custom/mathallo/assets/scss/main.scss +++ b/web_main/themes/custom/mathallo/assets/scss/main.scss @@ -14,22 +14,28 @@ body{ } div.layout-container{ - display: flex; - flex-direction: column; - height: 100vh; - overflow: hidden; + // display: flex; + // flex-direction: column; + // height: 100vh; + // overflow: hidden; header[role="banner"]{ padding: 0.5em; - flex: 0 1 content; + // flex: 0 1 content; z-index: 100; + position: fixed; + top:0; + width: 100vw; } main[role="main"]{ - flex: 1 1 auto; + // flex: 1 1 auto; overflow-y: scroll; } footer[role="contentinfo"]{ - flex: 0 1 content; + // flex: 0 1 content; z-index: 100; + position: fixed; + bottom: 0; + width: 100vw; } } @@ -80,7 +86,7 @@ header[role="banner"]{ } // end of header[role="banner"]{ main[role="main"]{ - >div.layout-content{ + div.layout-content{ padding:5em 0; article{ background-color: #fff; diff --git a/web_main/themes/custom/mathallo/package-lock.json b/web_main/themes/custom/mathallo/package-lock.json index 30eafbb..5ef6995 100644 --- a/web_main/themes/custom/mathallo/package-lock.json +++ b/web_main/themes/custom/mathallo/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.0", "dependencies": { "axios": "^1.7.2", + "gsap": "^3.14.1", "vue": "^3.4.29" }, "devDependencies": { @@ -1012,6 +1013,12 @@ "node": ">= 6" } }, + "node_modules/gsap": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/gsap/-/gsap-3.14.1.tgz", + "integrity": "sha512-nOFRJpVu+U0IPgKzfC5MEdZrJ1iVidGaOuxK0+Un+7vMOHa5rw/SKOaMaRRyHZiJKaeAEALTBwnj6R3gifyGBw==", + "license": "Standard 'no charge' license: https://gsap.com/standard-license." + }, "node_modules/immutable": { "version": "4.3.6", "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.6.tgz", @@ -1231,7 +1238,6 @@ "integrity": "sha512-4UHg6prsrycW20fqLGPShtEvo/WyHRVRHwOP4DzkUrObWoWI05QBSfzU71TVB7PFaL104TwNaHpjlWXAZbQiNQ==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "chokidar": ">=3.0.0 <4.0.0", "immutable": "^4.0.0", @@ -1272,7 +1278,6 @@ "integrity": "sha512-NPQdeCU0Dv2z5fu+ULotpuq5yfCS1BzKUIPhNbP3YBfAMGJXbt2nS+sbTFu+qchaqWTD+H3JK++nRwr6XIcp6A==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "esbuild": "^0.21.3", "postcss": "^8.4.39", @@ -1328,7 +1333,6 @@ "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.31.tgz", "integrity": "sha512-njqRrOy7W3YLAlVqSKpBebtZpDVg21FPoaq1I7f/+qqBThK9ChAIjkRWgeP6Eat+8C+iia4P3OYqpATP21BCoQ==", "license": "MIT", - "peer": true, "dependencies": { "@vue/compiler-dom": "3.4.31", "@vue/compiler-sfc": "3.4.31", diff --git a/web_main/themes/custom/mathallo/package.json b/web_main/themes/custom/mathallo/package.json index 28efa19..8fc7ff3 100644 --- a/web_main/themes/custom/mathallo/package.json +++ b/web_main/themes/custom/mathallo/package.json @@ -10,6 +10,7 @@ }, "dependencies": { "axios": "^1.7.2", + "gsap": "^3.14.1", "vue": "^3.4.29" }, "devDependencies": { diff --git a/web_main/themes/custom/mathallo/templates/page.html.twig b/web_main/themes/custom/mathallo/templates/page.html.twig index 2188c38..9ece0bd 100644 --- a/web_main/themes/custom/mathallo/templates/page.html.twig +++ b/web_main/themes/custom/mathallo/templates/page.html.twig @@ -85,7 +85,6 @@ {% endif %} -
{% if page.footer %}