@stfrigerio/sito-template 0.1.36 → 0.1.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__tests__/setup.d.ts +2 -0
- package/dist/__tests__/setup.d.ts.map +1 -0
- package/dist/components/atoms/AllAtoms.stories.d.ts +1 -1
- package/dist/components/atoms/AllAtoms.stories.d.ts.map +1 -1
- package/dist/components/atoms/Button/Button.stories.d.ts +2 -14
- package/dist/components/atoms/Button/Button.stories.d.ts.map +1 -1
- package/dist/components/atoms/Card/Card.stories.d.ts +4 -23
- package/dist/components/atoms/Card/Card.stories.d.ts.map +1 -1
- package/dist/components/atoms/Checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/components/atoms/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/dist/components/atoms/DateInput/DateInput.d.ts +1 -1
- package/dist/components/atoms/DateInput/DateInput.d.ts.map +1 -1
- package/dist/components/atoms/DateInput/DateInput.stories.d.ts +1 -1
- package/dist/components/atoms/DateInput/DateInput.stories.d.ts.map +1 -1
- package/dist/components/atoms/DecryptedText/DecryptedText.d.ts +50 -0
- package/dist/components/atoms/DecryptedText/DecryptedText.d.ts.map +1 -0
- package/dist/components/atoms/DecryptedText/index.d.ts +3 -0
- package/dist/components/atoms/DecryptedText/index.d.ts.map +1 -0
- package/dist/components/atoms/LoadingSpinner/LoadingSpinner.d.ts.map +1 -1
- package/dist/components/atoms/LoadingSpinner/LoadingSpinner.stories.d.ts +1 -1
- package/dist/components/atoms/LoadingSpinner/LoadingSpinner.stories.d.ts.map +1 -1
- package/dist/components/atoms/NumberStepper/NumberStepper.d.ts.map +1 -1
- package/dist/components/atoms/NumberStepper/NumberStepper.stories.d.ts +1 -1
- package/dist/components/atoms/NumberStepper/NumberStepper.stories.d.ts.map +1 -1
- package/dist/components/atoms/SearchableDropdown/SearchableDropdown.stories.d.ts +1 -1
- package/dist/components/atoms/SearchableDropdown/SearchableDropdown.stories.d.ts.map +1 -1
- package/dist/components/atoms/SelectInput/SelectInput.d.ts +4 -2
- package/dist/components/atoms/SelectInput/SelectInput.d.ts.map +1 -1
- package/dist/components/atoms/Slider/Slider.stories.d.ts +2 -10
- package/dist/components/atoms/Slider/Slider.stories.d.ts.map +1 -1
- package/dist/components/atoms/SoundDemo/SoundDemo.d.ts +11 -0
- package/dist/components/atoms/SoundDemo/SoundDemo.d.ts.map +1 -0
- package/dist/components/atoms/SoundDemo/SoundDemo.stories.d.ts +1 -1
- package/dist/components/atoms/SoundDemo/SoundDemo.stories.d.ts.map +1 -1
- package/dist/components/atoms/TextArea/TextArea.d.ts.map +1 -1
- package/dist/components/atoms/TextArea/TextArea.stories.d.ts +1 -1
- package/dist/components/atoms/TextArea/TextArea.stories.d.ts.map +1 -1
- package/dist/components/atoms/TextInput/TextInput.d.ts +1 -1
- package/dist/components/atoms/TextInput/TextInput.d.ts.map +1 -1
- package/dist/components/atoms/TextInput/TextInput.stories.d.ts +1 -4
- package/dist/components/atoms/TextInput/TextInput.stories.d.ts.map +1 -1
- package/dist/components/atoms/Toggle/Toggle.d.ts +5 -4
- package/dist/components/atoms/Toggle/Toggle.d.ts.map +1 -1
- package/dist/components/atoms/Toggle/Toggle.stories.d.ts +1 -1
- package/dist/components/atoms/Toggle/Toggle.stories.d.ts.map +1 -1
- package/dist/components/atoms/ToggleButton/ToggleButton.stories.d.ts +1 -1
- package/dist/components/atoms/ToggleButton/ToggleButton.stories.d.ts.map +1 -1
- package/dist/components/atoms/index.d.ts +2 -0
- package/dist/components/atoms/index.d.ts.map +1 -1
- package/dist/components/molecules/ArrayInput/ArrayInput.d.ts +3 -3
- package/dist/components/molecules/ArrayInput/ArrayInput.d.ts.map +1 -1
- package/dist/components/molecules/ArrayInput/ArrayInput.stories.d.ts +1 -1
- package/dist/components/molecules/ArrayInput/ArrayInput.stories.d.ts.map +1 -1
- package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts +28 -0
- package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/molecules/Breadcrumb/index.d.ts +3 -0
- package/dist/components/molecules/Breadcrumb/index.d.ts.map +1 -0
- package/dist/components/molecules/EditFAB/EditFAB.stories.d.ts +1 -1
- package/dist/components/molecules/EditFAB/EditFAB.stories.d.ts.map +1 -1
- package/dist/components/molecules/LiquidButton/LiquidButton.d.ts +33 -0
- package/dist/components/molecules/LiquidButton/LiquidButton.d.ts.map +1 -0
- package/dist/components/molecules/LiquidButton/index.d.ts +3 -0
- package/dist/components/molecules/LiquidButton/index.d.ts.map +1 -0
- package/dist/components/molecules/SearchBar/SearchBar.stories.d.ts +1 -1
- package/dist/components/molecules/SearchBar/SearchBar.stories.d.ts.map +1 -1
- package/dist/components/molecules/Tabs/Tabs.d.ts +1 -1
- package/dist/components/molecules/Tabs/Tabs.d.ts.map +1 -1
- package/dist/components/molecules/Tabs/Tabs.stories.d.ts +1 -1
- package/dist/components/molecules/Tabs/Tabs.stories.d.ts.map +1 -1
- package/dist/components/molecules/ThemeSwitcher/ThemeSwitcher.d.ts +4 -3
- package/dist/components/molecules/ThemeSwitcher/ThemeSwitcher.d.ts.map +1 -1
- package/dist/components/molecules/ThemeSwitcher/ThemeSwitcher.stories.d.ts +1 -1
- package/dist/components/molecules/ThemeSwitcher/ThemeSwitcher.stories.d.ts.map +1 -1
- package/dist/components/molecules/TimeInput/TimeInput.stories.d.ts +1 -1
- package/dist/components/molecules/TimeInput/TimeInput.stories.d.ts.map +1 -1
- package/dist/components/molecules/Toast/Toast.d.ts +16 -0
- package/dist/components/molecules/Toast/Toast.d.ts.map +1 -0
- package/dist/components/molecules/Toast/index.d.ts +3 -0
- package/dist/components/molecules/Toast/index.d.ts.map +1 -0
- package/dist/components/molecules/index.d.ts +6 -0
- package/dist/components/molecules/index.d.ts.map +1 -1
- package/dist/components/organisms/Calendar/Calendar.d.ts +1 -1
- package/dist/components/organisms/Calendar/Calendar.d.ts.map +1 -1
- package/dist/components/organisms/Calendar/Calendar.stories.d.ts +1 -1
- package/dist/components/organisms/Calendar/Calendar.stories.d.ts.map +1 -1
- package/dist/components/organisms/ConfirmationModal/ConfirmationModal.d.ts +30 -0
- package/dist/components/organisms/ConfirmationModal/ConfirmationModal.d.ts.map +1 -0
- package/dist/components/organisms/ConfirmationModal/index.d.ts +3 -0
- package/dist/components/organisms/ConfirmationModal/index.d.ts.map +1 -0
- package/dist/components/organisms/ImageSlideshow/ImageSlideshow.d.ts +1 -1
- package/dist/components/organisms/ImageSlideshow/ImageSlideshow.d.ts.map +1 -1
- package/dist/components/organisms/ImageSlideshow/ImageSlideshow.stories.d.ts +1 -6
- package/dist/components/organisms/ImageSlideshow/ImageSlideshow.stories.d.ts.map +1 -1
- package/dist/components/organisms/Navbar/Navbar.d.ts +3 -2
- package/dist/components/organisms/Navbar/Navbar.d.ts.map +1 -1
- package/dist/components/organisms/Navbar/Navbar.stories.d.ts +1 -1
- package/dist/components/organisms/Navbar/Navbar.stories.d.ts.map +1 -1
- package/dist/components/organisms/Table/Table.d.ts +6 -6
- package/dist/components/organisms/Table/Table.d.ts.map +1 -1
- package/dist/components/organisms/Table/Table.stories.d.ts +26 -14
- package/dist/components/organisms/Table/Table.stories.d.ts.map +1 -1
- package/dist/components/organisms/ThemeProvider/ThemeProvider.d.ts +3 -1
- package/dist/components/organisms/ThemeProvider/ThemeProvider.d.ts.map +1 -1
- package/dist/components/organisms/charts/BooleansHeatmap/BooleansHeatmap.d.ts.map +1 -1
- package/dist/components/organisms/charts/BooleansHeatmap/BooleansHeatmap.stories.d.ts +1 -1
- package/dist/components/organisms/charts/BooleansHeatmap/BooleansHeatmap.stories.d.ts.map +1 -1
- package/dist/components/organisms/charts/MoodChart/MoodChart.stories.d.ts +1 -1
- package/dist/components/organisms/charts/MoodChart/MoodChart.stories.d.ts.map +1 -1
- package/dist/components/organisms/charts/PieChart/PieChart.d.ts.map +1 -1
- package/dist/components/organisms/charts/PieChart/PieChart.stories.d.ts +1 -1
- package/dist/components/organisms/charts/PieChart/PieChart.stories.d.ts.map +1 -1
- package/dist/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.d.ts +2 -0
- package/dist/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.d.ts.map +1 -1
- package/dist/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.stories.d.ts +1 -1
- package/dist/components/organisms/charts/QuantifiableHabitsChart/QuantifiableHabitsChart.stories.d.ts.map +1 -1
- package/dist/components/organisms/charts/SleepChart/SleepChart.stories.d.ts +1 -1
- package/dist/components/organisms/charts/SleepChart/SleepChart.stories.d.ts.map +1 -1
- package/dist/components/organisms/charts/SunburstChart/SunburstChart.d.ts.map +1 -1
- package/dist/components/organisms/charts/SunburstChart/SunburstChart.stories.d.ts +1 -1
- package/dist/components/organisms/charts/SunburstChart/SunburstChart.stories.d.ts.map +1 -1
- package/dist/components/organisms/index.d.ts +3 -1
- package/dist/components/organisms/index.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +716 -473
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +734 -485
- package/dist/index.js.map +1 -1
- package/dist/stories/utils.d.ts +2 -2
- package/dist/stories/utils.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/dist/themes/default.css +47 -0
- package/dist/themes/dmood.css +46 -0
- package/dist/themes/globals.css +110 -0
- package/dist/themes/lossito.css +52 -0
- package/dist/tokens/tokens.css +79 -0
- package/dist/utils/formUtils.d.ts +0 -5
- package/dist/utils/formUtils.d.ts.map +1 -1
- package/package.json +32 -10
- package/storybook-static/addon-visual-tests-assets/visual-test-illustration.mp4 +0 -0
- package/storybook-static/assets/AllAtoms.stories-DBoQZmq-.js +109 -0
- package/storybook-static/assets/AnimationPlayer-UXJjBKtF.css +1 -0
- package/storybook-static/assets/AnimationPlayer.stories-yXQ8fqUT.js +379 -0
- package/storybook-static/assets/ArrayInput-CkUpk1TR.css +1 -0
- package/storybook-static/assets/ArrayInput.stories-CRqKExgm.js +221 -0
- package/storybook-static/assets/BooleansHeatmap-BV4VTyo6.css +1 -0
- package/storybook-static/assets/BooleansHeatmap.stories-2u4SThph.js +123 -0
- package/storybook-static/assets/Button-O-w2-ag3.css +1 -0
- package/storybook-static/assets/Button-VfdDKp2T.js +37 -0
- package/storybook-static/assets/Button.stories-BeeBKHoX.js +117 -0
- package/storybook-static/assets/Calendar-BTQfDDfP.css +1 -0
- package/storybook-static/assets/Calendar.stories-CKOG4XAn.js +545 -0
- package/storybook-static/assets/Card-Bc7TyfBx.css +1 -0
- package/storybook-static/assets/Card-D-kcaQHV.js +49 -0
- package/storybook-static/assets/Card.stories-CpcboxKs.js +130 -0
- package/storybook-static/assets/Checkbox-BHwlDfRP.js +33 -0
- package/storybook-static/assets/Checkbox-DMUHtq9s.css +1 -0
- package/storybook-static/assets/Checkbox.stories-DxTQrFgm.js +83 -0
- package/storybook-static/assets/Color-AVL7NMMY-BzNNgCT5.js +1 -0
- package/storybook-static/assets/DateInput-C4-Rlnpy.css +1 -0
- package/storybook-static/assets/DateInput-Cu3PZYc0.js +33 -0
- package/storybook-static/assets/DateInput.stories-BGB5zJBm.js +119 -0
- package/storybook-static/assets/DocsRenderer-PQXLIZUC-q9kcQxfH.js +1243 -0
- package/storybook-static/assets/EditFAB-CntUhqRB.css +1 -0
- package/storybook-static/assets/EditFAB.stories-CmfJxWns.js +408 -0
- package/storybook-static/assets/MoodChart-2hr_Y2GI.css +1 -0
- package/storybook-static/assets/MoodChart.stories-V-wKOSu-.js +40 -0
- package/storybook-static/assets/Navbar-B8vEvGnB.css +1 -0
- package/storybook-static/assets/Navbar.stories-Dkf77idX.js +235 -0
- package/storybook-static/assets/NumberStepper-BVHPJutJ.css +1 -0
- package/storybook-static/assets/NumberStepper-BZGlrWCN.js +30 -0
- package/storybook-static/assets/NumberStepper.stories-NZw7r4Oh.js +127 -0
- package/storybook-static/assets/PieChart-OfDGlJ4g.css +1 -0
- package/storybook-static/assets/PieChart.stories-BkfNODjW.js +199 -0
- package/storybook-static/assets/QuantifiableHabitsChart-BEfzqND4.css +1 -0
- package/storybook-static/assets/QuantifiableHabitsChart.stories-Df6rcrdD.js +105 -0
- package/storybook-static/assets/SearchBar-CYhuHFt7.css +1 -0
- package/storybook-static/assets/SearchBar.stories-DmHIaDZB.js +154 -0
- package/storybook-static/assets/SearchableDropdown-ByAXm1md.js +38 -0
- package/storybook-static/assets/SearchableDropdown-CLYLzeoj.css +1 -0
- package/storybook-static/assets/SearchableDropdown.stories-ByZj6lJu.js +282 -0
- package/storybook-static/assets/SelectInput-BTPptV1H.css +1 -0
- package/storybook-static/assets/SelectInput-D-AwfWVz.js +31 -0
- package/storybook-static/assets/SelectInput.stories-MyE-GqOw.js +112 -0
- package/storybook-static/assets/SleepChart-yGsG5RlQ.css +1 -0
- package/storybook-static/assets/SleepChart.stories-Dsz1U6F9.js +58 -0
- package/storybook-static/assets/SunburstChart-ChXvU9py.css +1 -0
- package/storybook-static/assets/SunburstChart.stories-CphfyDsR.js +285 -0
- package/storybook-static/assets/Tabs-BfJ7skOE.css +1 -0
- package/storybook-static/assets/Tabs.stories-c24Ffu3K.js +49 -0
- package/storybook-static/assets/TextArea-B2UrQsuf.css +1 -0
- package/storybook-static/assets/TextArea-B_sATPlw.js +28 -0
- package/storybook-static/assets/TextArea.stories-CCqRRpwq.js +145 -0
- package/storybook-static/assets/TextInput-BjVJQEYN.css +1 -0
- package/storybook-static/assets/TextInput-ZGg8LTL_.js +28 -0
- package/storybook-static/assets/TextInput.stories-CtvOb60q.js +203 -0
- package/storybook-static/assets/ThemeSwitcher-XCVQ6hhy.css +1 -0
- package/storybook-static/assets/ThemeSwitcher.stories-BvkX1SDm.js +62 -0
- package/storybook-static/assets/TimeInput-C3enPYoV.css +1 -0
- package/storybook-static/assets/TimeInput.stories-BchhRfKo.js +50 -0
- package/storybook-static/assets/Toggle-BQ2KHBDr.js +39 -0
- package/storybook-static/assets/Toggle-DhKq5lh5.css +1 -0
- package/storybook-static/assets/Toggle.stories-BUSZc6m3.js +194 -0
- package/storybook-static/assets/ToggleButton-Dl6hvkJv.js +32 -0
- package/storybook-static/assets/ToggleButton-gfPoPxTQ.css +1 -0
- package/storybook-static/assets/ToggleButton.stories-BKN4zU3N.js +143 -0
- package/storybook-static/assets/arc-DgcIQOLP.js +1 -0
- package/storybook-static/assets/array-BKyUJesY.js +1 -0
- package/storybook-static/assets/defaultLocale-DJ2q5QjE.js +1 -0
- package/storybook-static/assets/iframe-BOc1hSA-.css +1 -0
- package/storybook-static/assets/iframe-BUaP2gIF.js +1087 -0
- package/storybook-static/assets/index-5bdJXrkD.js +1 -0
- package/storybook-static/assets/index-CBmvvqzc.js +1 -0
- package/storybook-static/assets/index-CZs7_DA6.js +9 -0
- package/storybook-static/assets/linear-4t_RuQok.js +1 -0
- package/storybook-static/assets/monotone-BYG7Mesf.js +1 -0
- package/storybook-static/assets/path-CbwjOpE9.js +1 -0
- package/storybook-static/assets/preload-helper-C1FmrZbK.js +1 -0
- package/storybook-static/assets/proxy-9Y4F2rF8.js +1 -0
- package/storybook-static/assets/react-18-D4c-_GAk.js +24 -0
- package/storybook-static/assets/transform-NloTqvdv.js +1 -0
- package/storybook-static/favicon-wrapper.svg +46 -0
- package/storybook-static/favicon.svg +1 -0
- package/storybook-static/iframe.html +726 -0
- package/storybook-static/index.html +164 -0
- package/storybook-static/index.json +1 -0
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-4/manager-bundle.js +356 -0
- package/storybook-static/sb-addons/chromatic-com-storybook-4/manager-bundle.js.LEGAL.txt +40 -0
- package/storybook-static/sb-addons/docs-2/manager-bundle.js +151 -0
- package/storybook-static/sb-addons/links-3/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/onboarding-1/manager-bundle.js +127 -0
- package/storybook-static/sb-addons/storybook-5/manager-bundle.js +3 -0
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +971 -0
- package/storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +797 -0
- package/storybook-static/sb-manager/globals-runtime.js +69653 -0
- package/storybook-static/sb-manager/globals.js +34 -0
- package/storybook-static/sb-manager/runtime.js +13181 -0
- package/storybook-static/vite-inject-mocker-entry.js +18 -0
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
import{r as dt,j as P}from"./iframe-BUaP2gIF.js";import"./preload-helper-C1FmrZbK.js";function xt(l){if(l===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return l}function tn(l,t){l.prototype=Object.create(t.prototype),l.prototype.constructor=l,l.__proto__=t}/*!
|
|
2
|
+
* GSAP 3.13.0
|
|
3
|
+
* https://gsap.com
|
|
4
|
+
*
|
|
5
|
+
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
|
6
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
7
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
8
|
+
*/var st={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Jt={duration:.5,overwrite:!1,delay:0},vr,U,E,ct=1e8,N=1/ct,ar=Math.PI*2,ds=ar/4,_s=0,en=Math.sqrt,ps=Math.cos,ms=Math.sin,$=function(t){return typeof t=="string"},B=function(t){return typeof t=="function"},vt=function(t){return typeof t=="number"},wr=function(t){return typeof t>"u"},mt=function(t){return typeof t=="object"},Q=function(t){return t!==!1},Tr=function(){return typeof window<"u"},ve=function(t){return B(t)||$(t)},rn=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},G=Array.isArray,or=/(?:-?\.?\d|\.)+/gi,nn=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Gt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ze=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,sn=/[+-]=-?[.\d]+/,an=/[^,'"\[\]\s]+/gi,gs=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,F,ft,lr,Sr,at={},Xe={},on,ln=function(t){return(Xe=te(t,at))&&et},Cr=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},fe=function(t,e){return!e&&console.warn(t)},cn=function(t,e){return t&&(at[t]=e)&&Xe&&(Xe[t]=e)||at},de=function(){return 0},ys={suppressEvents:!0,isStart:!0,kill:!1},Be={suppressEvents:!0,kill:!1},xs={suppressEvents:!0},Mr={},At=[],cr={},un,rt={},Je={},Yr=30,Ye=[],Pr="",kr=function(t){var e=t[0],r,i;if(mt(e)||B(e)||(t=[t]),!(r=(e._gsap||{}).harness)){for(i=Ye.length;i--&&!Ye[i].targetTest(e););r=Ye[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new In(t[i],r)))||t.splice(i,1);return t},Bt=function(t){return t._gsap||kr(ut(t))[0]._gsap},hn=function(t,e,r){return(r=t[e])&&B(r)?t[e]():wr(r)&&t.getAttribute&&t.getAttribute(e)||r},Z=function(t,e){return(t=t.split(",")).forEach(e)||t},X=function(t){return Math.round(t*1e5)/1e5||0},j=function(t){return Math.round(t*1e7)/1e7||0},Kt=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),r==="+"?t+i:r==="-"?t-i:r==="*"?t*i:t/i},bs=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r},We=function(){var t=At.length,e=At.slice(0),r,i;for(cr={},At.length=0,r=0;r<t;r++)i=e[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Ar=function(t){return!!(t._initted||t._startAt||t.add)},fn=function(t,e,r,i){At.length&&!U&&We(),t.render(e,r,!!(U&&e<0&&Ar(t))),At.length&&!U&&We()},dn=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(an).length<2?e:$(t)?t.trim():t},_n=function(t){return t},ot=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},vs=function(t){return function(e,r){for(var i in r)i in e||i==="duration"&&t||i==="ease"||(e[i]=r[i])}},te=function(t,e){for(var r in e)t[r]=e[r];return t},Vr=function l(t,e){for(var r in e)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(t[r]=mt(e[r])?l(t[r]||(t[r]={}),e[r]):e[r]);return t},je=function(t,e){var r={},i;for(i in t)i in e||(r[i]=t[i]);return r},ce=function(t){var e=t.parent||F,r=t.keyframes?vs(G(t.keyframes)):ot;if(Q(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t},ws=function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0},pn=function(t,e,r,i,n){var s=t[i],a;if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e},He=function(t,e,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},Dt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Yt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},Ts=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},ur=function(t,e,r,i){return t._startAt&&(U?t._startAt.revert(Be):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},Ss=function l(t){return!t||t._ts&&l(t.parent)},Xr=function(t){return t._repeat?ee(t._tTime,t=t.duration()+t._rDelay)*t:0},ee=function(t,e){var r=Math.floor(t=j(t/e));return t&&r===t?r-1:r},$e=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Ke=function(t){return t._end=j(t._start+(t._tDur/Math.abs(t._ts||t._rts||N)||0))},Qe=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=j(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ke(t),r._dirty||Yt(r,t)),t},mn=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=$e(t.rawTime(),e),(!e._dur||xe(0,e.totalDuration(),r)-e._tTime>N)&&e.render(r,!0)),Yt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-N}},_t=function(t,e,r,i){return e.parent&&Dt(e),e._start=j((vt(r)?r:r||t!==F?lt(t,r,e):t._time)+e._delay),e._end=j(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),pn(t,e,"_first","_last",t._sort?"_start":0),hr(e)||(t._recent=e),i||mn(t,e),t._ts<0&&Qe(t,t._tTime),t},gn=function(t,e){return(at.ScrollTrigger||Cr("scrollTrigger",e))&&at.ScrollTrigger.create(e,t)},yn=function(t,e,r,i,n){if(Dr(t,e,n),!t._initted)return 1;if(!r&&t._pt&&!U&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&un!==it.frame)return At.push(t),t._lazy=[n,i],1},Cs=function l(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||l(e))},hr=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},Ms=function(t,e,r,i){var n=t.ratio,s=e<0||!e&&(!t._start&&Cs(t)&&!(!t._initted&&hr(t))||(t._ts<0||t._dp._ts<0)&&!hr(t))?0:1,a=t._rDelay,o=0,c,u,f;if(a&&t._repeat&&(o=xe(0,t._tDur,e),u=ee(o,a),t._yoyo&&u&1&&(s=1-s),u!==ee(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||U||i||t._zTime===N||!e&&t._zTime){if(!t._initted&&yn(t,e,i,r,o))return;for(f=t._zTime,t._zTime=e||(r?N:0),r||(r=e&&!f),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=o,c=t._pt;c;)c.r(s,c.d),c=c._next;e<0&&ur(t,e,r,!0),t._onUpdate&&!r&&nt(t,"onUpdate"),o&&t._repeat&&!r&&t.parent&&nt(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&Dt(t,1),!r&&!U&&(nt(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},Ps=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<e)return i;i=i._prev}},re=function(t,e,r,i){var n=t._repeat,s=j(e)||0,a=t._tTime/t._tDur;return a&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:j(s*(n+1)+t._rDelay*n):s,a>0&&!i&&Qe(t,t._tTime=t._tDur*a),t.parent&&Ke(t),r||Yt(t.parent,t),t},Wr=function(t){return t instanceof K?Yt(t):re(t,t._dur)},ks={_start:0,endTime:de,totalDuration:de},lt=function l(t,e,r){var i=t.labels,n=t._recent||ks,s=t.duration()>=ct?n.endTime(!1):t._dur,a,o,c;return $(e)&&(isNaN(e)||e in i)?(o=e.charAt(0),c=e.substr(-1)==="%",a=e.indexOf("="),o==="<"||o===">"?(a>=0&&(e=e.replace(/=/,"")),(o==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(c?(a<0?n:r).totalDuration()/100:1)):a<0?(e in i||(i[e]=s),i[e]):(o=parseFloat(e.charAt(a-1)+e.substr(a+1)),c&&r&&(o=o/100*(G(r)?r[0]:r).totalDuration()),a>1?l(t,e.substr(0,a-1),r)+o:s+o)):e==null?s:+e},ue=function(t,e,r){var i=vt(e[1]),n=(i?2:1)+(t<2?0:1),s=e[n],a,o;if(i&&(s.duration=e[1]),s.parent=r,t){for(a=s,o=r;o&&!("immediateRender"in a);)a=o.vars.defaults||{},o=Q(o.vars.inherit)&&o.parent;s.immediateRender=Q(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new W(e[0],s,e[n+1])},Rt=function(t,e){return t||t===0?e(t):e},xe=function(t,e,r){return r<t?t:r>e?e:r},q=function(t,e){return!$(t)||!(e=gs.exec(t))?"":e[1]},As=function(t,e,r){return Rt(r,function(i){return xe(t,e,i)})},fr=[].slice,xn=function(t,e){return t&&mt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&mt(t[0]))&&!t.nodeType&&t!==ft},Os=function(t,e,r){return r===void 0&&(r=[]),t.forEach(function(i){var n;return $(i)&&!e||xn(i,1)?(n=r).push.apply(n,ut(i)):r.push(i)})||r},ut=function(t,e,r){return E&&!e&&E.selector?E.selector(t):$(t)&&!r&&(lr||!ie())?fr.call((e||Sr).querySelectorAll(t),0):G(t)?Os(t,r):xn(t)?fr.call(t,0):t?[t]:[]},dr=function(t){return t=ut(t)[0]||fe("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return ut(e,r.querySelectorAll?r:r===t?fe("Invalid scope")||Sr.createElement("div"):t)}},bn=function(t){return t.sort(function(){return .5-Math.random()})},vn=function(t){if(B(t))return t;var e=mt(t)?t:{each:t},r=Vt(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},a=i>0&&i<1,o=isNaN(i)||a,c=e.axis,u=i,f=i;return $(i)?u=f={center:.5,edges:.5,end:1}[i]||0:!a&&o&&(u=i[0],f=i[1]),function(d,_,g){var h=(g||e).length,p=s[h],y,m,b,w,x,S,T,C,v;if(!p){if(v=e.grid==="auto"?0:(e.grid||[1,ct])[1],!v){for(T=-ct;T<(T=g[v++].getBoundingClientRect().left)&&v<h;);v<h&&v--}for(p=s[h]=[],y=o?Math.min(v,h)*u-.5:i%v,m=v===ct?0:o?h*f/v-.5:i/v|0,T=0,C=ct,S=0;S<h;S++)b=S%v-y,w=m-(S/v|0),p[S]=x=c?Math.abs(c==="y"?w:b):en(b*b+w*w),x>T&&(T=x),x<C&&(C=x);i==="random"&&bn(p),p.max=T-C,p.min=C,p.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(v>h?h-1:c?c==="y"?h/v:v:Math.max(v,h/v))||0)*(i==="edges"?-1:1),p.b=h<0?n-h:n,p.u=q(e.amount||e.each)||0,r=r&&h<0?Dn(r):r}return h=(p[d]-p.min)/p.max||0,j(p.b+(r?r(h):h)*p.v)+p.u}},_r=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=j(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(vt(r)?0:q(r))}},wn=function(t,e){var r=G(t),i,n;return!r&&mt(t)&&(i=r=t.radius||ct,t.values?(t=ut(t.values),(n=!vt(t[0]))&&(i*=i)):t=_r(t.increment)),Rt(e,r?B(t)?function(s){return n=t(s),Math.abs(n-s)<=i?n:s}:function(s){for(var a=parseFloat(n?s.x:s),o=parseFloat(n?s.y:0),c=ct,u=0,f=t.length,d,_;f--;)n?(d=t[f].x-a,_=t[f].y-o,d=d*d+_*_):d=Math.abs(t[f]-a),d<c&&(c=d,u=f);return u=!i||c<=i?t[u]:s,n||u===s||vt(s)?u:u+q(s)}:_r(t))},Tn=function(t,e,r,i){return Rt(G(t)?!e:r===!0?!!(r=0):!i,function(){return G(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+r*.99))/r)*r*i)/i})},Ds=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(i){return e.reduce(function(n,s){return s(n)},i)}},zs=function(t,e){return function(r){return t(parseFloat(r))+(e||q(r))}},Rs=function(t,e,r){return Cn(t,e,0,1,r)},Sn=function(t,e,r){return Rt(r,function(i){return t[~~e(i)]})},Is=function l(t,e,r){var i=e-t;return G(t)?Sn(t,l(0,t.length),e):Rt(r,function(n){return(i+(n-t)%i)%i+t})},Ns=function l(t,e,r){var i=e-t,n=i*2;return G(t)?Sn(t,l(0,t.length-1),e):Rt(r,function(s){return s=(n+(s-t)%n)%n||0,t+(s>i?n-s:s)})},_e=function(t){for(var e=0,r="",i,n,s,a;~(i=t.indexOf("random(",e));)s=t.indexOf(")",i),a=t.charAt(i+7)==="[",n=t.substr(i+7,s-i-7).match(a?an:or),r+=t.substr(e,i-e)+Tn(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),e=s+1;return r+t.substr(e,t.length-e)},Cn=function(t,e,r,i,n){var s=e-t,a=i-r;return Rt(n,function(o){return r+((o-t)/s*a||0)})},Es=function l(t,e,r,i){var n=isNaN(t+e)?0:function(_){return(1-_)*t+_*e};if(!n){var s=$(t),a={},o,c,u,f,d;if(r===!0&&(i=1)&&(r=null),s)t={p:t},e={p:e};else if(G(t)&&!G(e)){for(u=[],f=t.length,d=f-2,c=1;c<f;c++)u.push(l(t[c-1],t[c]));f--,n=function(g){g*=f;var h=Math.min(d,~~g);return u[h](g-h)},r=e}else i||(t=te(G(t)?[]:{},t));if(!u){for(o in e)Or.call(a,t,o,"get",e[o]);n=function(g){return Ir(g,a)||(s?t.p:t)}}}return Rt(r,n)},jr=function(t,e,r){var i=t.labels,n=ct,s,a,o;for(s in i)a=i[s]-e,a<0==!!r&&a&&n>(a=Math.abs(a))&&(o=s,n=a);return o},nt=function(t,e,r){var i=t.vars,n=i[e],s=E,a=t._ctx,o,c,u;if(n)return o=i[e+"Params"],c=i.callbackScope||t,r&&At.length&&We(),a&&(E=a),u=o?n.apply(c,o):n.call(c),E=s,u},oe=function(t){return Dt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!U),t.progress()<1&&nt(t,"onInterrupt"),t},Ht,Mn=[],Pn=function(t){if(t)if(t=!t.name&&t.default||t,Tr()||t.headless){var e=t.name,r=B(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:de,render:Ir,add:Or,kill:Zs,modifier:Qs,rawVars:0},s={targetTest:0,get:0,getSetter:Rr,aliases:{},register:0};if(ie(),t!==i){if(rt[e])return;ot(i,ot(je(t,n),s)),te(i.prototype,te(n,je(t,s))),rt[i.prop=e]=i,t.targetTest&&(Ye.push(i),Mr[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}cn(e,i),t.register&&t.register(et,i,J)}else Mn.push(t)},I=255,le={aqua:[0,I,I],lime:[0,I,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,I],navy:[0,0,128],white:[I,I,I],olive:[128,128,0],yellow:[I,I,0],orange:[I,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[I,0,0],pink:[I,192,203],cyan:[0,I,I],transparent:[I,I,I,0]},tr=function(t,e,r){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(r-e)*t*6:t<.5?r:t*3<2?e+(r-e)*(2/3-t)*6:e)*I+.5|0},kn=function(t,e,r){var i=t?vt(t)?[t>>16,t>>8&I,t&I]:0:le.black,n,s,a,o,c,u,f,d,_,g;if(!i){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),le[t])i=le[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+n+n+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return i=parseInt(t.substr(1,6),16),[i>>16,i>>8&I,i&I,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),i=[t>>16,t>>8&I,t&I]}else if(t.substr(0,3)==="hsl"){if(i=g=t.match(or),!e)o=+i[0]%360/360,c=+i[1]/100,u=+i[2]/100,s=u<=.5?u*(c+1):u+c-u*c,n=u*2-s,i.length>3&&(i[3]*=1),i[0]=tr(o+1/3,n,s),i[1]=tr(o,n,s),i[2]=tr(o-1/3,n,s);else if(~t.indexOf("="))return i=t.match(nn),r&&i.length<4&&(i[3]=1),i}else i=t.match(or)||le.transparent;i=i.map(Number)}return e&&!g&&(n=i[0]/I,s=i[1]/I,a=i[2]/I,f=Math.max(n,s,a),d=Math.min(n,s,a),u=(f+d)/2,f===d?o=c=0:(_=f-d,c=u>.5?_/(2-f-d):_/(f+d),o=f===n?(s-a)/_+(s<a?6:0):f===s?(a-n)/_+2:(n-s)/_+4,o*=60),i[0]=~~(o+.5),i[1]=~~(c*100+.5),i[2]=~~(u*100+.5)),r&&i.length<4&&(i[3]=1),i},An=function(t){var e=[],r=[],i=-1;return t.split(Ot).forEach(function(n){var s=n.match(Gt)||[];e.push.apply(e,s),r.push(i+=s.length+1)}),e.c=r,e},$r=function(t,e,r){var i="",n=(t+i).match(Ot),s=e?"hsla(":"rgba(",a=0,o,c,u,f;if(!n)return t;if(n=n.map(function(d){return(d=kn(d,e,1))&&s+(e?d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:d.join(","))+")"}),r&&(u=An(t),o=r.c,o.join(i)!==u.c.join(i)))for(c=t.replace(Ot,"1").split(Gt),f=c.length-1;a<f;a++)i+=c[a]+(~o.indexOf(a)?n.shift()||s+"0,0,0,0)":(u.length?u:n.length?n:r).shift());if(!c)for(c=t.split(Ot),f=c.length-1;a<f;a++)i+=c[a]+n[a];return i+c[f]},Ot=function(){var l="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in le)l+="|"+t+"\\b";return new RegExp(l+")","gi")}(),Fs=/hsl[a]?\(/,On=function(t){var e=t.join(" "),r;if(Ot.lastIndex=0,Ot.test(e))return r=Fs.test(e),t[1]=$r(t[1],r),t[0]=$r(t[0],r,An(t[1])),!0},pe,it=function(){var l=Date.now,t=500,e=33,r=l(),i=r,n=1e3/240,s=n,a=[],o,c,u,f,d,_,g=function h(p){var y=l()-i,m=p===!0,b,w,x,S;if((y>t||y<0)&&(r+=y-e),i+=y,x=i-r,b=x-s,(b>0||m)&&(S=++f.frame,d=x-f.time*1e3,f.time=x=x/1e3,s+=b+(b>=n?4:n-b),w=1),m||(o=c(h)),w)for(_=0;_<a.length;_++)a[_](x,d,S,p)};return f={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(p){return d/(1e3/(p||60))},wake:function(){on&&(!lr&&Tr()&&(ft=lr=window,Sr=ft.document||{},at.gsap=et,(ft.gsapVersions||(ft.gsapVersions=[])).push(et.version),ln(Xe||ft.GreenSockGlobals||!ft.gsap&&ft||{}),Mn.forEach(Pn)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,o&&f.sleep(),c=u||function(p){return setTimeout(p,s-f.time*1e3+1|0)},pe=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(o),pe=0,c=de},lagSmoothing:function(p,y){t=p||1/0,e=Math.min(y||33,t)},fps:function(p){n=1e3/(p||240),s=f.time*1e3+n},add:function(p,y,m){var b=y?function(w,x,S,T){p(w,x,S,T),f.remove(b)}:p;return f.remove(p),a[m?"unshift":"push"](b),ie(),b},remove:function(p,y){~(y=a.indexOf(p))&&a.splice(y,1)&&_>=y&&_--},_listeners:a},f}(),ie=function(){return!pe&&it.wake()},k={},Ls=/^[\d.\-M][\d.\-,\s]/,Bs=/["']/g,Ys=function(t){for(var e={},r=t.substr(1,t.length-3).split(":"),i=r[0],n=1,s=r.length,a,o,c;n<s;n++)o=r[n],a=n!==s-1?o.lastIndexOf(","):o.length,c=o.substr(0,a),e[i]=isNaN(c)?c.replace(Bs,"").trim():+c,i=o.substr(a+1).trim();return e},Vs=function(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",e);return t.substring(e,~i&&i<r?t.indexOf(")",r+1):r)},Xs=function(t){var e=(t+"").split("("),r=k[e[0]];return r&&e.length>1&&r.config?r.config.apply(null,~t.indexOf("{")?[Ys(e[1])]:Vs(t).split(",").map(dn)):k._CE&&Ls.test(t)?k._CE("",t):r},Dn=function(t){return function(e){return 1-t(1-e)}},zn=function l(t,e){for(var r=t._first,i;r;)r instanceof K?l(r,e):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==e&&(r.timeline?l(r.timeline,e):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=e)),r=r._next},Vt=function(t,e){return t&&(B(t)?t:k[t]||Xs(t))||e},jt=function(t,e,r,i){r===void 0&&(r=function(o){return 1-e(1-o)}),i===void 0&&(i=function(o){return o<.5?e(o*2)/2:1-e((1-o)*2)/2});var n={easeIn:e,easeOut:r,easeInOut:i},s;return Z(t,function(a){k[a]=at[a]=n,k[s=a.toLowerCase()]=r;for(var o in n)k[s+(o==="easeIn"?".in":o==="easeOut"?".out":".inOut")]=k[a+"."+o]=n[o]}),n},Rn=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},er=function l(t,e,r){var i=e>=1?e:1,n=(r||(t?.3:.45))/(e<1?e:1),s=n/ar*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*ms((u-s)*n)+1},o=t==="out"?a:t==="in"?function(c){return 1-a(1-c)}:Rn(a);return n=ar/n,o.config=function(c,u){return l(t,c,u)},o},rr=function l(t,e){e===void 0&&(e=1.70158);var r=function(s){return s?--s*s*((e+1)*s+e)+1:0},i=t==="out"?r:t==="in"?function(n){return 1-r(1-n)}:Rn(r);return i.config=function(n){return l(t,n)},i};Z("Linear,Quad,Cubic,Quart,Quint,Strong",function(l,t){var e=t<5?t+1:t;jt(l+",Power"+(e-1),t?function(r){return Math.pow(r,e)}:function(r){return r},function(r){return 1-Math.pow(1-r,e)},function(r){return r<.5?Math.pow(r*2,e)/2:1-Math.pow((1-r)*2,e)/2})});k.Linear.easeNone=k.none=k.Linear.easeIn;jt("Elastic",er("in"),er("out"),er());(function(l,t){var e=1/t,r=2*e,i=2.5*e,n=function(a){return a<e?l*a*a:a<r?l*Math.pow(a-1.5/t,2)+.75:a<i?l*(a-=2.25/t)*a+.9375:l*Math.pow(a-2.625/t,2)+.984375};jt("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);jt("Expo",function(l){return Math.pow(2,10*(l-1))*l+l*l*l*l*l*l*(1-l)});jt("Circ",function(l){return-(en(1-l*l)-1)});jt("Sine",function(l){return l===1?1:-ps(l*ds)+1});jt("Back",rr("in"),rr("out"),rr());k.SteppedEase=k.steps=at.SteppedEase={config:function(t,e){t===void 0&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0,s=1-N;return function(a){return((i*xe(0,s,a)|0)+n)*r}}};Jt.ease=k["quad.out"];Z("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(l){return Pr+=l+","+l+"Params,"});var In=function(t,e){this.id=_s++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:hn,this.set=e?e.getSetter:Rr},me=function(){function l(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,re(this,+e.duration,1,1),this.data=e.data,E&&(this._ctx=E,E.data.push(this)),pe||it.wake()}var t=l.prototype;return t.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},t.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},t.totalDuration=function(r){return arguments.length?(this._dirty=0,re(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(r,i){if(ie(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Qe(this,r),!n._dp||n.parent||mn(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&_t(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===N||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),fn(this,r,i)),this},t.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Xr(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},t.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Xr(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(r,i){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*n,i):this._repeat?ee(this._tTime,n)+1:1},t.timeScale=function(r,i){if(!arguments.length)return this._rts===-N?0:this._rts;if(this._rts===r)return this;var n=this.parent&&this._ts?$e(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-N?0:this._rts,this.totalTime(xe(-Math.abs(this._delay),this.totalDuration(),n),i!==!1),Ke(this),Ts(this)},t.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ie(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==N&&(this._tTime-=N)))),this):this._ps},t.startTime=function(r){if(arguments.length){this._start=r;var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&_t(i,this,r-this._delay),this}return this._start},t.endTime=function(r){return this._start+(Q(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?$e(i.rawTime(r),this):this._tTime:this._tTime},t.revert=function(r){r===void 0&&(r=xs);var i=U;return U=r,Ar(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),U=i,this},t.globalTime=function(r){for(var i=this,n=arguments.length?r:i.rawTime();i;)n=i._start+n/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):n},t.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,Wr(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,Wr(this),i?this.time(i):this}return this._rDelay},t.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},t.seek=function(r,i){return this.totalTime(lt(this,r),Q(i))},t.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,Q(i)),this._dur||(this._zTime=-N),this},t.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},t.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},t.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-N:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-N,this},t.isActive=function(){var r=this.parent||this._dp,i=this._start,n;return!!(!r||this._ts&&this._initted&&r.isActive()&&(n=r.rawTime(!0))>=i&&n<this.endTime(!0)-N)},t.eventCallback=function(r,i,n){var s=this.vars;return arguments.length>1?(i?(s[r]=i,n&&(s[r+"Params"]=n),r==="onUpdate"&&(this._onUpdate=i)):delete s[r],this):s[r]},t.then=function(r){var i=this;return new Promise(function(n){var s=B(r)?r:_n,a=function(){var c=i.then;i.then=null,B(s)&&(s=s(i))&&(s.then||s===i)&&(i.then=c),n(s),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?a():i._prom=a})},t.kill=function(){oe(this)},l}();ot(me.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:-N,_prom:0,_ps:!1,_rts:1});var K=function(l){tn(t,l);function t(r,i){var n;return r===void 0&&(r={}),n=l.call(this,r)||this,n.labels={},n.smoothChildTiming=!!r.smoothChildTiming,n.autoRemoveChildren=!!r.autoRemoveChildren,n._sort=Q(r.sortChildren),F&&_t(r.parent||F,xt(n),i),r.reversed&&n.reverse(),r.paused&&n.paused(!0),r.scrollTrigger&&gn(xt(n),r.scrollTrigger),n}var e=t.prototype;return e.to=function(i,n,s){return ue(0,arguments,this),this},e.from=function(i,n,s){return ue(1,arguments,this),this},e.fromTo=function(i,n,s,a){return ue(2,arguments,this),this},e.set=function(i,n,s){return n.duration=0,n.parent=this,ce(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new W(i,n,lt(this,s),1),this},e.call=function(i,n,s){return _t(this,W.delayedCall(0,i,n),s)},e.staggerTo=function(i,n,s,a,o,c,u){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=c,s.onCompleteParams=u,s.parent=this,new W(i,s,lt(this,o)),this},e.staggerFrom=function(i,n,s,a,o,c,u){return s.runBackwards=1,ce(s).immediateRender=Q(s.immediateRender),this.staggerTo(i,n,s,a,o,c,u)},e.staggerFromTo=function(i,n,s,a,o,c,u,f){return a.startAt=s,ce(a).immediateRender=Q(a.immediateRender),this.staggerTo(i,n,a,o,c,u,f)},e.render=function(i,n,s){var a=this._time,o=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=i<=0?0:j(i),f=this._zTime<0!=i<0&&(this._initted||!c),d,_,g,h,p,y,m,b,w,x,S,T;if(this!==F&&u>o&&i>=0&&(u=o),u!==this._tTime||s||f){if(a!==this._time&&c&&(u+=this._time-a,i+=this._time-a),d=u,w=this._start,b=this._ts,y=!b,f&&(c||(a=this._zTime),(i||!n)&&(this._zTime=i)),this._repeat){if(S=this._yoyo,p=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(p*100+i,n,s);if(d=j(u%p),u===o?(h=this._repeat,d=c):(x=j(u/p),h=~~x,h&&h===x&&(d=c,h--),d>c&&(d=c)),x=ee(this._tTime,p),!a&&this._tTime&&x!==h&&this._tTime-x*p-this._dur<=0&&(x=h),S&&h&1&&(d=c-d,T=1),h!==x&&!this._lock){var C=S&&x&1,v=C===(S&&h&1);if(h<x&&(C=!C),a=C?0:u%c?c:u,this._lock=1,this.render(a||(T?0:j(h*p)),n,!c)._lock=0,this._tTime=u,!n&&this.parent&&nt(this,"onRepeat"),this.vars.repeatRefresh&&!T&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,o=this._tDur,v&&(this._lock=2,a=C?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!T&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;zn(this,T)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=Ps(this,j(a),j(d)),m&&(u-=d-(d=m._start))),this._tTime=u,this._time=d,this._act=!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&u&&!n&&!x&&(nt(this,"onStart"),this._tTime!==u))return this;if(d>=a&&i>=0)for(_=this._first;_;){if(g=_._next,(_._act||d>=_._start)&&_._ts&&m!==_){if(_.parent!==this)return this.render(i,n,s);if(_.render(_._ts>0?(d-_._start)*_._ts:(_._dirty?_.totalDuration():_._tDur)+(d-_._start)*_._ts,n,s),d!==this._time||!this._ts&&!y){m=0,g&&(u+=this._zTime=-N);break}}_=g}else{_=this._last;for(var M=i<0?i:d;_;){if(g=_._prev,(_._act||M<=_._end)&&_._ts&&m!==_){if(_.parent!==this)return this.render(i,n,s);if(_.render(_._ts>0?(M-_._start)*_._ts:(_._dirty?_.totalDuration():_._tDur)+(M-_._start)*_._ts,n,s||U&&Ar(_)),d!==this._time||!this._ts&&!y){m=0,g&&(u+=this._zTime=M?-N:N);break}}_=g}}if(m&&!n&&(this.pause(),m.render(d>=a?0:-N)._zTime=d>=a?1:-1,this._ts))return this._start=w,Ke(this),this.render(i,n,s);this._onUpdate&&!n&&nt(this,"onUpdate",!0),(u===o&&this._tTime>=this.totalDuration()||!u&&a)&&(w===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(u===o&&this._ts>0||!u&&this._ts<0)&&Dt(this,1),!n&&!(i<0&&!a)&&(u||a||!o)&&(nt(this,u===o&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<o&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(i,n){var s=this;if(vt(n)||(n=lt(this,n,i)),!(i instanceof me)){if(G(i))return i.forEach(function(a){return s.add(a,n)}),this;if($(i))return this.addLabel(i,n);if(B(i))i=W.delayedCall(0,i);else return this}return this!==i?_t(this,i,n):this},e.getChildren=function(i,n,s,a){i===void 0&&(i=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-ct);for(var o=[],c=this._first;c;)c._start>=a&&(c instanceof W?n&&o.push(c):(s&&o.push(c),i&&o.push.apply(o,c.getChildren(!0,n,s)))),c=c._next;return o},e.getById=function(i){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===i)return n[s]},e.remove=function(i){return $(i)?this.removeLabel(i):B(i)?this.killTweensOf(i):(i.parent===this&&He(this,i),i===this._recent&&(this._recent=this._last),Yt(this))},e.totalTime=function(i,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=j(it.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),l.prototype.totalTime.call(this,i,n),this._forcing=0,this):this._tTime},e.addLabel=function(i,n){return this.labels[i]=lt(this,n),this},e.removeLabel=function(i){return delete this.labels[i],this},e.addPause=function(i,n,s){var a=W.delayedCall(0,n||de,s);return a.data="isPause",this._hasPause=1,_t(this,a,lt(this,i))},e.removePause=function(i){var n=this._first;for(i=lt(this,i);n;)n._start===i&&n.data==="isPause"&&Dt(n),n=n._next},e.killTweensOf=function(i,n,s){for(var a=this.getTweensOf(i,s),o=a.length;o--;)Mt!==a[o]&&a[o].kill(i,n);return this},e.getTweensOf=function(i,n){for(var s=[],a=ut(i),o=this._first,c=vt(n),u;o;)o instanceof W?bs(o._targets,a)&&(c?(!Mt||o._initted&&o._ts)&&o.globalTime(0)<=n&&o.globalTime(o.totalDuration())>n:!n||o.isActive())&&s.push(o):(u=o.getTweensOf(a,n)).length&&s.push.apply(s,u),o=o._next;return s},e.tweenTo=function(i,n){n=n||{};var s=this,a=lt(s,i),o=n,c=o.startAt,u=o.onStart,f=o.onStartParams,d=o.immediateRender,_,g=W.to(s,ot({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale())||N,onStart:function(){if(s.pause(),!_){var p=n.duration||Math.abs((a-(c&&"time"in c?c.time:s._time))/s.timeScale());g._dur!==p&&re(g,p,0,1).render(g._time,!0,!0),_=1}u&&u.apply(g,f||[])}},n));return d?g.render(0):g},e.tweenFromTo=function(i,n,s){return this.tweenTo(n,ot({startAt:{time:lt(this,i)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(i){return i===void 0&&(i=this._time),jr(this,lt(this,i))},e.previousLabel=function(i){return i===void 0&&(i=this._time),jr(this,lt(this,i),1)},e.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+N)},e.shiftChildren=function(i,n,s){s===void 0&&(s=0);for(var a=this._first,o=this.labels,c;a;)a._start>=s&&(a._start+=i,a._end+=i),a=a._next;if(n)for(c in o)o[c]>=s&&(o[c]+=i);return Yt(this)},e.invalidate=function(i){var n=this._first;for(this._lock=0;n;)n.invalidate(i),n=n._next;return l.prototype.invalidate.call(this,i)},e.clear=function(i){i===void 0&&(i=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Yt(this)},e.totalDuration=function(i){var n=0,s=this,a=s._last,o=ct,c,u,f;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-i:i));if(s._dirty){for(f=s.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>o&&s._sort&&a._ts&&!s._lock?(s._lock=1,_t(s,a,u-a._delay,1)._lock=0):o=u,u<0&&a._ts&&(n-=u,(!f&&!s._dp||f&&f.smoothChildTiming)&&(s._start+=u/s._ts,s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),o=0),a._end>n&&a._ts&&(n=a._end),a=c;re(s,s===F&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(i){if(F._ts&&(fn(F,$e(i,F)),un=it.frame),it.frame>=Yr){Yr+=st.autoSleep||120;var n=F._first;if((!n||!n._ts)&&st.autoSleep&&it._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||it.sleep()}}},t}(me);ot(K.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ws=function(t,e,r,i,n,s,a){var o=new J(this._pt,t,e,0,1,Yn,null,n),c=0,u=0,f,d,_,g,h,p,y,m;for(o.b=r,o.e=i,r+="",i+="",(y=~i.indexOf("random("))&&(i=_e(i)),s&&(m=[r,i],s(m,t,e),r=m[0],i=m[1]),d=r.match(Ze)||[];f=Ze.exec(i);)g=f[0],h=i.substring(c,f.index),_?_=(_+1)%5:h.substr(-5)==="rgba("&&(_=1),g!==d[u++]&&(p=parseFloat(d[u-1])||0,o._pt={_next:o._pt,p:h||u===1?h:",",s:p,c:g.charAt(1)==="="?Kt(p,g)-p:parseFloat(g)-p,m:_&&_<4?Math.round:0},c=Ze.lastIndex);return o.c=c<i.length?i.substring(c,i.length):"",o.fp=a,(sn.test(i)||y)&&(o.e=0),this._pt=o,o},Or=function(t,e,r,i,n,s,a,o,c,u){B(i)&&(i=i(n||0,t,s));var f=t[e],d=r!=="get"?r:B(f)?c?t[e.indexOf("set")||!B(t["get"+e.substr(3)])?e:"get"+e.substr(3)](c):t[e]():f,_=B(f)?c?Gs:Ln:zr,g;if($(i)&&(~i.indexOf("random(")&&(i=_e(i)),i.charAt(1)==="="&&(g=Kt(d,i)+(q(d)||0),(g||g===0)&&(i=g))),!u||d!==i||pr)return!isNaN(d*i)&&i!==""?(g=new J(this._pt,t,e,+d||0,i-(d||0),typeof f=="boolean"?Ks:Bn,0,_),c&&(g.fp=c),a&&g.modifier(a,this,t),this._pt=g):(!f&&!(e in t)&&Cr(e,i),Ws.call(this,t,e,d,i,_,o||st.stringFilter,c))},js=function(t,e,r,i,n){if(B(t)&&(t=he(t,n,e,r,i)),!mt(t)||t.style&&t.nodeType||G(t)||rn(t))return $(t)?he(t,n,e,r,i):t;var s={},a;for(a in t)s[a]=he(t[a],n,e,r,i);return s},Nn=function(t,e,r,i,n,s){var a,o,c,u;if(rt[t]&&(a=new rt[t]).init(n,a.rawVars?e[t]:js(e[t],i,n,s,r),r,i,s)!==!1&&(r._pt=o=new J(r._pt,n,t,0,1,a.render,a,0,a.priority),r!==Ht))for(c=r._ptLookup[r._targets.indexOf(n)],u=a._props.length;u--;)c[a._props[u]]=o;return a},Mt,pr,Dr=function l(t,e,r){var i=t.vars,n=i.ease,s=i.startAt,a=i.immediateRender,o=i.lazy,c=i.onUpdate,u=i.runBackwards,f=i.yoyoEase,d=i.keyframes,_=i.autoRevert,g=t._dur,h=t._startAt,p=t._targets,y=t.parent,m=y&&y.data==="nested"?y.vars.targets:p,b=t._overwrite==="auto"&&!vr,w=t.timeline,x,S,T,C,v,M,D,A,O,Y,z,R,V;if(w&&(!d||!n)&&(n="none"),t._ease=Vt(n,Jt.ease),t._yEase=f?Dn(Vt(f===!0?n:f,Jt.ease)):0,f&&t._yoyo&&!t._repeat&&(f=t._yEase,t._yEase=t._ease,t._ease=f),t._from=!w&&!!i.runBackwards,!w||d&&!i.stagger){if(A=p[0]?Bt(p[0]).harness:0,R=A&&i[A.prop],x=je(i,Mr),h&&(h._zTime<0&&h.progress(1),e<0&&u&&a&&!_?h.render(-1,!0):h.revert(u&&g?Be:ys),h._lazy=0),s){if(Dt(t._startAt=W.set(p,ot({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!h&&Q(o),startAt:null,delay:0,onUpdate:c&&function(){return nt(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(U||!a&&!_)&&t._startAt.revert(Be),a&&g&&e<=0&&r<=0){e&&(t._zTime=e);return}}else if(u&&g&&!h){if(e&&(a=!1),T=ot({overwrite:!1,data:"isFromStart",lazy:a&&!h&&Q(o),immediateRender:a,stagger:0,parent:y},x),R&&(T[A.prop]=R),Dt(t._startAt=W.set(p,T)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(U?t._startAt.revert(Be):t._startAt.render(-1,!0)),t._zTime=e,!a)l(t._startAt,N,N);else if(!e)return}for(t._pt=t._ptCache=0,o=g&&Q(o)||o&&!g,S=0;S<p.length;S++){if(v=p[S],D=v._gsap||kr(p)[S]._gsap,t._ptLookup[S]=Y={},cr[D.id]&&At.length&&We(),z=m===p?S:m.indexOf(v),A&&(O=new A).init(v,R||x,t,z,m)!==!1&&(t._pt=C=new J(t._pt,v,O.name,0,1,O.render,O,0,O.priority),O._props.forEach(function(H){Y[H]=C}),O.priority&&(M=1)),!A||R)for(T in x)rt[T]&&(O=Nn(T,x,t,z,v,m))?O.priority&&(M=1):Y[T]=C=Or.call(t,v,T,"get",x[T],z,m,0,i.stringFilter);t._op&&t._op[S]&&t.kill(v,t._op[S]),b&&t._pt&&(Mt=t,F.killTweensOf(v,Y,t.globalTime(e)),V=!t.parent,Mt=0),t._pt&&o&&(cr[D.id]=1)}M&&Vn(t),t._onInit&&t._onInit(t)}t._onUpdate=c,t._initted=(!t._op||t._pt)&&!V,d&&e<=0&&w.render(ct,!0,!0)},$s=function(t,e,r,i,n,s,a,o){var c=(t._pt&&t._ptCache||(t._ptCache={}))[e],u,f,d,_;if(!c)for(c=t._ptCache[e]=[],d=t._ptLookup,_=t._targets.length;_--;){if(u=d[_][e],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return pr=1,t.vars[e]="+=0",Dr(t,a),pr=0,o?fe(e+" not eligible for reset"):1;c.push(u)}for(_=c.length;_--;)f=c[_],u=f._pt||f,u.s=(i||i===0)&&!n?i:u.s+(i||0)+s*u.c,u.c=r-u.s,f.e&&(f.e=X(r)+q(f.e)),f.b&&(f.b=u.s+q(f.b))},Us=function(t,e){var r=t[0]?Bt(t[0]).harness:0,i=r&&r.aliases,n,s,a,o;if(!i)return e;n=te({},e);for(s in i)if(s in n)for(o=i[s].split(","),a=o.length;a--;)n[o[a]]=n[s];return n},qs=function(t,e,r,i){var n=e.ease||i||"power1.inOut",s,a;if(G(e))a=r[t]||(r[t]=[]),e.forEach(function(o,c){return a.push({t:c/(e.length-1)*100,v:o,e:n})});else for(s in e)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:n})},he=function(t,e,r,i,n){return B(t)?t.call(e,r,i,n):$(t)&&~t.indexOf("random(")?_e(t):t},En=Pr+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Fn={};Z(En+",id,stagger,delay,duration,paused,scrollTrigger",function(l){return Fn[l]=1});var W=function(l){tn(t,l);function t(r,i,n,s){var a;typeof i=="number"&&(n.duration=i,i=n,n=null),a=l.call(this,s?i:ce(i))||this;var o=a.vars,c=o.duration,u=o.delay,f=o.immediateRender,d=o.stagger,_=o.overwrite,g=o.keyframes,h=o.defaults,p=o.scrollTrigger,y=o.yoyoEase,m=i.parent||F,b=(G(r)||rn(r)?vt(r[0]):"length"in i)?[r]:ut(r),w,x,S,T,C,v,M,D;if(a._targets=b.length?kr(b):fe("GSAP target "+r+" not found. https://gsap.com",!st.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=_,g||d||ve(c)||ve(u)){if(i=a.vars,w=a.timeline=new K({data:"nested",defaults:h||{},targets:m&&m.data==="nested"?m.vars.targets:b}),w.kill(),w.parent=w._dp=xt(a),w._start=0,d||ve(c)||ve(u)){if(T=b.length,M=d&&vn(d),mt(d))for(C in d)~En.indexOf(C)&&(D||(D={}),D[C]=d[C]);for(x=0;x<T;x++)S=je(i,Fn),S.stagger=0,y&&(S.yoyoEase=y),D&&te(S,D),v=b[x],S.duration=+he(c,xt(a),x,v,b),S.delay=(+he(u,xt(a),x,v,b)||0)-a._delay,!d&&T===1&&S.delay&&(a._delay=u=S.delay,a._start+=u,S.delay=0),w.to(v,S,M?M(x,v,b):0),w._ease=k.none;w.duration()?c=u=0:a.timeline=0}else if(g){ce(ot(w.vars.defaults,{ease:"none"})),w._ease=Vt(g.ease||i.ease||"none");var A=0,O,Y,z;if(G(g))g.forEach(function(R){return w.to(b,R,">")}),w.duration();else{S={};for(C in g)C==="ease"||C==="easeEach"||qs(C,g[C],S,g.easeEach);for(C in S)for(O=S[C].sort(function(R,V){return R.t-V.t}),A=0,x=0;x<O.length;x++)Y=O[x],z={ease:Y.e,duration:(Y.t-(x?O[x-1].t:0))/100*c},z[C]=Y.v,w.to(b,z,A),A+=z.duration;w.duration()<c&&w.to({},{duration:c-w.duration()})}}c||a.duration(c=w.duration())}else a.timeline=0;return _===!0&&!vr&&(Mt=xt(a),F.killTweensOf(b),Mt=0),_t(m,xt(a),n),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(f||!c&&!g&&a._start===j(m._time)&&Q(f)&&Ss(xt(a))&&m.data!=="nested")&&(a._tTime=-N,a.render(Math.max(0,-u)||0)),p&&gn(xt(a),p),a}var e=t.prototype;return e.render=function(i,n,s){var a=this._time,o=this._tDur,c=this._dur,u=i<0,f=i>o-N&&!u?o:i<N?0:i,d,_,g,h,p,y,m,b,w;if(!c)Ms(this,i,n,s);else if(f!==this._tTime||!i||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(d=f,b=this.timeline,this._repeat){if(h=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+i,n,s);if(d=j(f%h),f===o?(g=this._repeat,d=c):(p=j(f/h),g=~~p,g&&g===p?(d=c,g--):d>c&&(d=c)),y=this._yoyo&&g&1,y&&(w=this._yEase,d=c-d),p=ee(this._tTime,h),d===a&&!s&&this._initted&&g===p)return this._tTime=f,this;g!==p&&(b&&this._yEase&&zn(b,y),this.vars.repeatRefresh&&!y&&!this._lock&&d!==h&&this._initted&&(this._lock=s=1,this.render(j(h*g),!0).invalidate()._lock=0))}if(!this._initted){if(yn(this,u?i:d,s,n,f))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&g!==p))return this;if(c!==this._dur)return this.render(i,n,s)}if(this._tTime=f,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=m=(w||this._ease)(d/c),this._from&&(this.ratio=m=1-m),!a&&f&&!n&&!p&&(nt(this,"onStart"),this._tTime!==f))return this;for(_=this._pt;_;)_.r(m,_.d),_=_._next;b&&b.render(i<0?i:b._dur*b._ease(d/this._dur),n,s)||this._startAt&&(this._zTime=i),this._onUpdate&&!n&&(u&&ur(this,i,n,s),nt(this,"onUpdate")),this._repeat&&g!==p&&this.vars.onRepeat&&!n&&this.parent&&nt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&ur(this,i,!0,!0),(i||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Dt(this,1),!n&&!(u&&!a)&&(f||a||y)&&(nt(this,f===o?"onComplete":"onReverseComplete",!0),this._prom&&!(f<o&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),l.prototype.invalidate.call(this,i)},e.resetTo=function(i,n,s,a,o){pe||it.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Dr(this,c),u=this._ease(c/this._dur),$s(this,i,n,s,a,u,c,o)?this.resetTo(i,n,s,a,1):(Qe(this,0),this.parent||pn(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(i,n){if(n===void 0&&(n="all"),!i&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?oe(this):this.scrollTrigger&&this.scrollTrigger.kill(!!U),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(i,n,Mt&&Mt.vars.overwrite!==!0)._first||oe(this),this.parent&&s!==this.timeline.totalDuration()&&re(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,o=i?ut(i):a,c=this._ptLookup,u=this._pt,f,d,_,g,h,p,y;if((!n||n==="all")&&ws(a,o))return n==="all"&&(this._pt=0),oe(this);for(f=this._op=this._op||[],n!=="all"&&($(n)&&(h={},Z(n,function(m){return h[m]=1}),n=h),n=Us(a,n)),y=a.length;y--;)if(~o.indexOf(a[y])){d=c[y],n==="all"?(f[y]=n,g=d,_={}):(_=f[y]=f[y]||{},g=n);for(h in g)p=d&&d[h],p&&((!("kill"in p.d)||p.d.kill(h)===!0)&&He(this,p,"_pt"),delete d[h]),_!=="all"&&(_[h]=1)}return this._initted&&!this._pt&&u&&oe(this),this},t.to=function(i,n){return new t(i,n,arguments[2])},t.from=function(i,n){return ue(1,arguments)},t.delayedCall=function(i,n,s,a){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(i,n,s){return ue(2,arguments)},t.set=function(i,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(i,n)},t.killTweensOf=function(i,n,s){return F.killTweensOf(i,n,s)},t}(me);ot(W.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});Z("staggerTo,staggerFrom,staggerFromTo",function(l){W[l]=function(){var t=new K,e=fr.call(arguments,0);return e.splice(l==="staggerFromTo"?5:4,0,0),t[l].apply(t,e)}});var zr=function(t,e,r){return t[e]=r},Ln=function(t,e,r){return t[e](r)},Gs=function(t,e,r,i){return t[e](i.fp,r)},Hs=function(t,e,r){return t.setAttribute(e,r)},Rr=function(t,e){return B(t[e])?Ln:wr(t[e])&&t.setAttribute?Hs:zr},Bn=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},Ks=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Yn=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(t===1&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round((r.s+r.c*t)*1e4)/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},Ir=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},Qs=function(t,e,r,i){for(var n=this._pt,s;n;)s=n._next,n.p===i&&n.modifier(t,e,r),n=s},Zs=function(t){for(var e=this._pt,r,i;e;)i=e._next,e.p===t&&!e.op||e.op===t?He(this,e,"_pt"):e.dep||(r=1),e=i;return!r},Js=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Vn=function(t){for(var e=t._pt,r,i,n,s;e;){for(r=e._next,i=n;i&&i.pr>e.pr;)i=i._next;(e._prev=i?i._prev:s)?e._prev._next=e:n=e,(e._next=i)?i._prev=e:s=e,e=r}t._pt=n},J=function(){function l(e,r,i,n,s,a,o,c,u){this.t=r,this.s=n,this.c=s,this.p=i,this.r=a||Bn,this.d=o||this,this.set=c||zr,this.pr=u||0,this._next=e,e&&(e._prev=this)}var t=l.prototype;return t.modifier=function(r,i,n){this.mSet=this.mSet||this.set,this.set=Js,this.m=r,this.mt=n,this.tween=i},l}();Z(Pr+"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(l){return Mr[l]=1});at.TweenMax=at.TweenLite=W;at.TimelineLite=at.TimelineMax=K;F=new K({sortChildren:!1,defaults:Jt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});st.stringFilter=On;var Xt=[],Ve={},ta=[],Ur=0,ea=0,ir=function(t){return(Ve[t]||ta).map(function(e){return e()})},mr=function(){var t=Date.now(),e=[];t-Ur>2&&(ir("matchMediaInit"),Xt.forEach(function(r){var i=r.queries,n=r.conditions,s,a,o,c;for(a in i)s=ft.matchMedia(i[a]).matches,s&&(o=1),s!==n[a]&&(n[a]=s,c=1);c&&(r.revert(),o&&e.push(r))}),ir("matchMediaRevert"),e.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),Ur=t,ir("matchMedia"))},Xn=function(){function l(e,r){this.selector=r&&dr(r),this.data=[],this._r=[],this.isReverted=!1,this.id=ea++,e&&this.add(e)}var t=l.prototype;return t.add=function(r,i,n){B(r)&&(n=i,i=r,r=B);var s=this,a=function(){var c=E,u=s.selector,f;return c&&c!==s&&c.data.push(s),n&&(s.selector=dr(n)),E=s,f=i.apply(s,arguments),B(f)&&s._r.push(f),E=c,s.selector=u,s.isReverted=!1,f};return s.last=a,r===B?a(s,function(o){return s.add(null,o)}):r?s[r]=a:a},t.ignore=function(r){var i=E;E=null,r(this),E=i},t.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof l?r.push.apply(r,i.getTweens()):i instanceof W&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(r,i){var n=this;if(r?function(){for(var a=n.getTweens(),o=n.data.length,c;o--;)c=n.data[o],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),o=n.data.length;o--;)c=n.data[o],c instanceof K?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof W)&&c.revert&&c.revert(r);n._r.forEach(function(u){return u(r,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var s=Xt.length;s--;)Xt[s].id===this.id&&Xt.splice(s,1)},t.revert=function(r){this.kill(r||{})},l}(),ra=function(){function l(e){this.contexts=[],this.scope=e,E&&E.data.push(this)}var t=l.prototype;return t.add=function(r,i,n){mt(r)||(r={matches:r});var s=new Xn(0,n||this.scope),a=s.conditions={},o,c,u;E&&!s.selector&&(s.selector=E.selector),this.contexts.push(s),i=s.add("onMatch",i),s.queries=r;for(c in r)c==="all"?u=1:(o=ft.matchMedia(r[c]),o&&(Xt.indexOf(s)<0&&Xt.push(s),(a[c]=o.matches)&&(u=1),o.addListener?o.addListener(mr):o.addEventListener("change",mr)));return u&&i(s,function(f){return s.add(null,f)}),this},t.revert=function(r){this.kill(r||{})},t.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},l}(),Ue={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(i){return Pn(i)})},timeline:function(t){return new K(t)},getTweensOf:function(t,e){return F.getTweensOf(t,e)},getProperty:function(t,e,r,i){$(t)&&(t=ut(t)[0]);var n=Bt(t||{}).get,s=r?_n:dn;return r==="native"&&(r=""),t&&(e?s((rt[e]&&rt[e].get||n)(t,e,r,i)):function(a,o,c){return s((rt[a]&&rt[a].get||n)(t,a,o,c))})},quickSetter:function(t,e,r){if(t=ut(t),t.length>1){var i=t.map(function(u){return et.quickSetter(u,e,r)}),n=i.length;return function(u){for(var f=n;f--;)i[f](u)}}t=t[0]||{};var s=rt[e],a=Bt(t),o=a.harness&&(a.harness.aliases||{})[e]||e,c=s?function(u){var f=new s;Ht._pt=0,f.init(t,r?u+r:u,Ht,0,[t]),f.render(1,f),Ht._pt&&Ir(1,Ht)}:a.set(t,o);return s?c:function(u){return c(t,o,r?u+r:u,a,1)}},quickTo:function(t,e,r){var i,n=et.to(t,ot((i={},i[e]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),s=function(o,c,u){return n.resetTo(e,o,c,u)};return s.tween=n,s},isTweening:function(t){return F.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Vt(t.ease,Jt.ease)),Vr(Jt,t||{})},config:function(t){return Vr(st,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!rt[a]&&!at[a]&&fe(e+" effect requires "+a+" plugin.")}),Je[e]=function(a,o,c){return r(ut(a),ot(o||{},n),c)},s&&(K.prototype[e]=function(a,o,c){return this.add(Je[e](a,mt(o)?o:(c=o)&&{},this),c)})},registerEase:function(t,e){k[t]=Vt(e)},parseEase:function(t,e){return arguments.length?Vt(t,e):k},getById:function(t){return F.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var r=new K(t),i,n;for(r.smoothChildTiming=Q(t.smoothChildTiming),F.remove(r),r._dp=0,r._time=r._tTime=F._time,i=F._first;i;)n=i._next,(e||!(!i._dur&&i instanceof W&&i.vars.onComplete===i._targets[0]))&&_t(r,i,i._start-i._delay),i=n;return _t(F,r,0),r},context:function(t,e){return t?new Xn(t,e):E},matchMedia:function(t){return new ra(t)},matchMediaRefresh:function(){return Xt.forEach(function(t){var e=t.conditions,r,i;for(i in e)e[i]&&(e[i]=!1,r=1);r&&t.revert()})||mr()},addEventListener:function(t,e){var r=Ve[t]||(Ve[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Ve[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:Is,wrapYoyo:Ns,distribute:vn,random:Tn,snap:wn,normalize:Rs,getUnit:q,clamp:As,splitColor:kn,toArray:ut,selector:dr,mapRange:Cn,pipe:Ds,unitize:zs,interpolate:Es,shuffle:bn},install:ln,effects:Je,ticker:it,updateRoot:K.updateRoot,plugins:rt,globalTimeline:F,core:{PropTween:J,globals:cn,Tween:W,Timeline:K,Animation:me,getCache:Bt,_removeLinkedListItem:He,reverting:function(){return U},context:function(t){return t&&E&&(E.data.push(t),t._ctx=E),E},suppressOverwrites:function(t){return vr=t}}};Z("to,from,fromTo,delayedCall,set,killTweensOf",function(l){return Ue[l]=W[l]});it.add(K.updateRoot);Ht=Ue.to({},{duration:0});var ia=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},na=function(t,e){var r=t._targets,i,n,s;for(i in e)for(n=r.length;n--;)s=t._ptLookup[n][i],s&&(s=s.d)&&(s._pt&&(s=ia(s,i)),s&&s.modifier&&s.modifier(e[i],t,r[n],i))},nr=function(t,e){return{name:t,headless:1,rawVars:1,init:function(i,n,s){s._onInit=function(a){var o,c;if($(n)&&(o={},Z(n,function(u){return o[u]=1}),n=o),e){o={};for(c in n)o[c]=e(n[c]);n=o}na(a,n)}}}},et=Ue.registerPlugin({name:"attr",init:function(t,e,r,i,n){var s,a,o;this.tween=r;for(s in e)o=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(o||0)+"",e[s],i,n,0,0,s),a.op=s,a.b=o,this._props.push(s)},render:function(t,e){for(var r=e._pt;r;)U?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",headless:1,init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},nr("roundProps",_r),nr("modifiers"),nr("snap",wn))||Ue;W.version=K.version=et.version="3.13.0";on=1;Tr()&&ie();k.Power0;k.Power1;k.Power2;k.Power3;k.Power4;k.Linear;k.Quad;k.Cubic;k.Quart;k.Quint;k.Strong;k.Elastic;k.Back;k.SteppedEase;k.Bounce;k.Sine;k.Expo;k.Circ;/*!
|
|
9
|
+
* CSSPlugin 3.13.0
|
|
10
|
+
* https://gsap.com
|
|
11
|
+
*
|
|
12
|
+
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|
13
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
14
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
15
|
+
*/var qr,Pt,Qt,Nr,Lt,Gr,Er,sa=function(){return typeof window<"u"},wt={},Ft=180/Math.PI,Zt=Math.PI/180,qt=Math.atan2,Hr=1e8,Fr=/([A-Z])/g,aa=/(left|right|width|margin|padding|x)/i,oa=/[\s,\(]\S/,pt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},gr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},la=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},ca=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},ua=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},Wn=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},jn=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},ha=function(t,e,r){return t.style[e]=r},fa=function(t,e,r){return t.style.setProperty(e,r)},da=function(t,e,r){return t._gsap[e]=r},_a=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},pa=function(t,e,r,i,n){var s=t._gsap;s.scaleX=s.scaleY=r,s.renderTransform(n,s)},ma=function(t,e,r,i,n){var s=t._gsap;s[e]=r,s.renderTransform(n,s)},L="transform",tt=L+"Origin",ga=function l(t,e){var r=this,i=this.target,n=i.style,s=i._gsap;if(t in wt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=pt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return r.tfm[a]=bt(i,a)}):this.tfm[t]=s.x?s[t]:bt(i,t),t===tt&&(this.tfm.zOrigin=s.zOrigin);else return pt.transform.split(",").forEach(function(a){return l.call(r,a,e)});if(this.props.indexOf(L)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(tt,e,"")),t=L}(n||e)&&this.props.push(t,e,n[t])},$n=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},ya=function(){var t=this.props,e=this.target,r=e.style,i=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?t[n+1]===2?e[t[n]](t[n+2]):e[t[n]]=t[n+2]:t[n+2]?r[t[n]]=t[n+2]:r.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(Fr,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)i[s]=this.tfm[s];i.svg&&(i.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=Er(),(!n||!n.isStart)&&!r[L]&&($n(r),i.zOrigin&&r[tt]&&(r[tt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Un=function(t,e){var r={target:t,props:[],revert:ya,save:ga};return t._gsap||et.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(i){return r.save(i)}),r},qn,yr=function(t,e){var r=Pt.createElementNS?Pt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Pt.createElement(t);return r&&r.style?r:Pt.createElement(t)},ht=function l(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(Fr,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&l(t,ne(e)||e,1)||""},Kr="O,Moz,ms,Ms,Webkit".split(","),ne=function(t,e,r){var i=e||Lt,n=i.style,s=5;if(t in n&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Kr[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Kr[s]:"")+t},xr=function(){sa()&&window.document&&(qr=window,Pt=qr.document,Qt=Pt.documentElement,Lt=yr("div")||{style:{}},yr("div"),L=ne(L),tt=L+"Origin",Lt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",qn=!!ne("perspective"),Er=et.core.reverting,Nr=1)},Qr=function(t){var e=t.ownerSVGElement,r=yr("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=t.cloneNode(!0),n;i.style.display="block",r.appendChild(i),Qt.appendChild(r);try{n=i.getBBox()}catch{}return r.removeChild(i),Qt.removeChild(r),n},Zr=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Gn=function(t){var e,r;try{e=t.getBBox()}catch{e=Qr(t),r=1}return e&&(e.width||e.height)||r||(e=Qr(t)),e&&!e.width&&!e.x&&!e.y?{x:+Zr(t,["x","cx","x1"])||0,y:+Zr(t,["y","cy","y1"])||0,width:0,height:0}:e},Hn=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Gn(t))},Wt=function(t,e){if(e){var r=t.style,i;e in wt&&e!==tt&&(e=L),r.removeProperty?(i=e.substr(0,2),(i==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),r.removeProperty(i==="--"?e:e.replace(Fr,"-$1").toLowerCase())):r.removeAttribute(e)}},kt=function(t,e,r,i,n,s){var a=new J(t._pt,e,r,0,1,s?jn:Wn);return t._pt=a,a.b=i,a.e=n,t._props.push(r),a},Jr={deg:1,rad:1,turn:1},xa={grid:1,flex:1},zt=function l(t,e,r,i){var n=parseFloat(r)||0,s=(r+"").trim().substr((n+"").length)||"px",a=Lt.style,o=aa.test(e),c=t.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(o?"Width":"Height"),f=100,d=i==="px",_=i==="%",g,h,p,y;if(i===s||!n||Jr[i]||Jr[s])return n;if(s!=="px"&&!d&&(n=l(t,e,r,"px")),y=t.getCTM&&Hn(t),(_||s==="%")&&(wt[e]||~e.indexOf("adius")))return g=y?t.getBBox()[o?"width":"height"]:t[u],X(_?n/g*f:n/100*g);if(a[o?"width":"height"]=f+(d?s:i),h=i!=="rem"&&~e.indexOf("adius")||i==="em"&&t.appendChild&&!c?t:t.parentNode,y&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Pt||!h.appendChild)&&(h=Pt.body),p=h._gsap,p&&_&&p.width&&o&&p.time===it.time&&!p.uncache)return X(n/p.width*f);if(_&&(e==="height"||e==="width")){var m=t.style[e];t.style[e]=f+i,g=t[u],m?t.style[e]=m:Wt(t,e)}else(_||s==="%")&&!xa[ht(h,"display")]&&(a.position=ht(t,"position")),h===t&&(a.position="static"),h.appendChild(Lt),g=Lt[u],h.removeChild(Lt),a.position="absolute";return o&&_&&(p=Bt(h),p.time=it.time,p.width=h[u]),X(d?g*n/f:g&&n?f/g*n:0)},bt=function(t,e,r,i){var n;return Nr||xr(),e in pt&&e!=="transform"&&(e=pt[e],~e.indexOf(",")&&(e=e.split(",")[0])),wt[e]&&e!=="transform"?(n=ye(t,i),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Ge(ht(t,tt))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||i||~(n+"").indexOf("calc("))&&(n=qe[e]&&qe[e](t,e,r)||ht(t,e)||hn(t,e)||(e==="opacity"?1:0))),r&&!~(n+"").trim().indexOf(" ")?zt(t,e,n,r)+r:n},ba=function(t,e,r,i){if(!r||r==="none"){var n=ne(e,t,1),s=n&&ht(t,n,1);s&&s!==r?(e=n,r=s):e==="borderColor"&&(r=ht(t,"borderTopColor"))}var a=new J(this._pt,t.style,e,0,1,Yn),o=0,c=0,u,f,d,_,g,h,p,y,m,b,w,x;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=ht(t,i.substring(4,i.indexOf(")")))),i==="auto"&&(h=t.style[e],t.style[e]=i,i=ht(t,e)||i,h?t.style[e]=h:Wt(t,e)),u=[r,i],On(u),r=u[0],i=u[1],d=r.match(Gt)||[],x=i.match(Gt)||[],x.length){for(;f=Gt.exec(i);)p=f[0],m=i.substring(o,f.index),g?g=(g+1)%5:(m.substr(-5)==="rgba("||m.substr(-5)==="hsla(")&&(g=1),p!==(h=d[c++]||"")&&(_=parseFloat(h)||0,w=h.substr((_+"").length),p.charAt(1)==="="&&(p=Kt(_,p)+w),y=parseFloat(p),b=p.substr((y+"").length),o=Gt.lastIndex-b.length,b||(b=b||st.units[e]||w,o===i.length&&(i+=b,a.e+=b)),w!==b&&(_=zt(t,e,h,b)||0),a._pt={_next:a._pt,p:m||c===1?m:",",s:_,c:y-_,m:g&&g<4||e==="zIndex"?Math.round:0});a.c=o<i.length?i.substring(o,i.length):""}else a.r=e==="display"&&i==="none"?jn:Wn;return sn.test(i)&&(a.e=0),this._pt=a,a},ti={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},va=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(t=r,r=i,i=t),e[0]=ti[r]||r,e[1]=ti[i]||i,e.join(" ")},wa=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r=e.t,i=r.style,n=e.u,s=r._gsap,a,o,c;if(n==="all"||n===!0)i.cssText="",o=1;else for(n=n.split(","),c=n.length;--c>-1;)a=n[c],wt[a]&&(o=1,a=a==="transformOrigin"?tt:L),Wt(r,a);o&&(Wt(r,L),s&&(s.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",ye(r,1),s.uncache=1,$n(i)))}},qe={clearProps:function(t,e,r,i,n){if(n.data!=="isFromStart"){var s=t._pt=new J(t._pt,e,r,0,0,wa);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},ge=[1,0,0,1,0,0],Kn={},Qn=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},ei=function(t){var e=ht(t,L);return Qn(e)?ge:e.substr(7).match(nn).map(X)},Lr=function(t,e){var r=t._gsap||Bt(t),i=t.style,n=ei(t),s,a,o,c;return r.svg&&t.getAttribute("transform")?(o=t.transform.baseVal.consolidate().matrix,n=[o.a,o.b,o.c,o.d,o.e,o.f],n.join(",")==="1,0,0,1,0,0"?ge:n):(n===ge&&!t.offsetParent&&t!==Qt&&!r.svg&&(o=i.display,i.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(c=1,a=t.nextElementSibling,Qt.appendChild(t)),n=ei(t),o?i.display=o:Wt(t,"display"),c&&(a?s.insertBefore(t,a):s?s.appendChild(t):Qt.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},br=function(t,e,r,i,n,s){var a=t._gsap,o=n||Lr(t,!0),c=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,d=a.yOffset||0,_=o[0],g=o[1],h=o[2],p=o[3],y=o[4],m=o[5],b=e.split(" "),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0,S,T,C,v;r?o!==ge&&(T=_*p-g*h)&&(C=w*(p/T)+x*(-h/T)+(h*m-p*y)/T,v=w*(-g/T)+x*(_/T)-(_*m-g*y)/T,w=C,x=v):(S=Gn(t),w=S.x+(~b[0].indexOf("%")?w/100*S.width:w),x=S.y+(~(b[1]||b[0]).indexOf("%")?x/100*S.height:x)),i||i!==!1&&a.smooth?(y=w-c,m=x-u,a.xOffset=f+(y*_+m*h)-y,a.yOffset=d+(y*g+m*p)-m):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=x,a.smooth=!!i,a.origin=e,a.originIsAbsolute=!!r,t.style[tt]="0px 0px",s&&(kt(s,a,"xOrigin",c,w),kt(s,a,"yOrigin",u,x),kt(s,a,"xOffset",f,a.xOffset),kt(s,a,"yOffset",d,a.yOffset)),t.setAttribute("data-svg-origin",w+" "+x)},ye=function(t,e){var r=t._gsap||new In(t);if("x"in r&&!e&&!r.uncache)return r;var i=t.style,n=r.scaleX<0,s="px",a="deg",o=getComputedStyle(t),c=ht(t,tt)||"0",u,f,d,_,g,h,p,y,m,b,w,x,S,T,C,v,M,D,A,O,Y,z,R,V,H,Tt,St,Ct,gt,be,yt,It;return u=f=d=h=p=y=m=b=w=0,_=g=1,r.svg=!!(t.getCTM&&Hn(t)),o.translate&&((o.translate!=="none"||o.scale!=="none"||o.rotate!=="none")&&(i[L]=(o.translate!=="none"?"translate3d("+(o.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(o.rotate!=="none"?"rotate("+o.rotate+") ":"")+(o.scale!=="none"?"scale("+o.scale.split(" ").join(",")+") ":"")+(o[L]!=="none"?o[L]:"")),i.scale=i.rotate=i.translate="none"),T=Lr(t,r.svg),r.svg&&(r.uncache?(H=t.getBBox(),c=r.xOrigin-H.x+"px "+(r.yOrigin-H.y)+"px",V=""):V=!e&&t.getAttribute("data-svg-origin"),br(t,V||c,!!V||r.originIsAbsolute,r.smooth!==!1,T)),x=r.xOrigin||0,S=r.yOrigin||0,T!==ge&&(D=T[0],A=T[1],O=T[2],Y=T[3],u=z=T[4],f=R=T[5],T.length===6?(_=Math.sqrt(D*D+A*A),g=Math.sqrt(Y*Y+O*O),h=D||A?qt(A,D)*Ft:0,m=O||Y?qt(O,Y)*Ft+h:0,m&&(g*=Math.abs(Math.cos(m*Zt))),r.svg&&(u-=x-(x*D+S*O),f-=S-(x*A+S*Y))):(It=T[6],be=T[7],St=T[8],Ct=T[9],gt=T[10],yt=T[11],u=T[12],f=T[13],d=T[14],C=qt(It,gt),p=C*Ft,C&&(v=Math.cos(-C),M=Math.sin(-C),V=z*v+St*M,H=R*v+Ct*M,Tt=It*v+gt*M,St=z*-M+St*v,Ct=R*-M+Ct*v,gt=It*-M+gt*v,yt=be*-M+yt*v,z=V,R=H,It=Tt),C=qt(-O,gt),y=C*Ft,C&&(v=Math.cos(-C),M=Math.sin(-C),V=D*v-St*M,H=A*v-Ct*M,Tt=O*v-gt*M,yt=Y*M+yt*v,D=V,A=H,O=Tt),C=qt(A,D),h=C*Ft,C&&(v=Math.cos(C),M=Math.sin(C),V=D*v+A*M,H=z*v+R*M,A=A*v-D*M,R=R*v-z*M,D=V,z=H),p&&Math.abs(p)+Math.abs(h)>359.9&&(p=h=0,y=180-y),_=X(Math.sqrt(D*D+A*A+O*O)),g=X(Math.sqrt(R*R+It*It)),C=qt(z,R),m=Math.abs(C)>2e-4?C*Ft:0,w=yt?1/(yt<0?-yt:yt):0),r.svg&&(V=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Qn(ht(t,L)),V&&t.setAttribute("transform",V))),Math.abs(m)>90&&Math.abs(m)<270&&(n?(_*=-1,m+=h<=0?180:-180,h+=h<=0?180:-180):(g*=-1,m+=m<=0?180:-180)),e=e||r.uncache,r.x=u-((r.xPercent=u&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-u)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+s,r.y=f-((r.yPercent=f&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-f)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+s,r.z=d+s,r.scaleX=X(_),r.scaleY=X(g),r.rotation=X(h)+a,r.rotationX=X(p)+a,r.rotationY=X(y)+a,r.skewX=m+a,r.skewY=b+a,r.transformPerspective=w+s,(r.zOrigin=parseFloat(c.split(" ")[2])||!e&&r.zOrigin||0)&&(i[tt]=Ge(c)),r.xOffset=r.yOffset=0,r.force3D=st.force3D,r.renderTransform=r.svg?Sa:qn?Zn:Ta,r.uncache=0,r},Ge=function(t){return(t=t.split(" "))[0]+" "+t[1]},sr=function(t,e,r){var i=q(e);return X(parseFloat(e)+parseFloat(zt(t,"x",r+"px",i)))+i},Ta=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Zn(t,e)},Nt="0deg",ae="0px",Et=") ",Zn=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,a=r.y,o=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,d=r.skewX,_=r.skewY,g=r.scaleX,h=r.scaleY,p=r.transformPerspective,y=r.force3D,m=r.target,b=r.zOrigin,w="",x=y==="auto"&&t&&t!==1||y===!0;if(b&&(f!==Nt||u!==Nt)){var S=parseFloat(u)*Zt,T=Math.sin(S),C=Math.cos(S),v;S=parseFloat(f)*Zt,v=Math.cos(S),s=sr(m,s,T*v*-b),a=sr(m,a,-Math.sin(S)*-b),o=sr(m,o,C*v*-b+b)}p!==ae&&(w+="perspective("+p+Et),(i||n)&&(w+="translate("+i+"%, "+n+"%) "),(x||s!==ae||a!==ae||o!==ae)&&(w+=o!==ae||x?"translate3d("+s+", "+a+", "+o+") ":"translate("+s+", "+a+Et),c!==Nt&&(w+="rotate("+c+Et),u!==Nt&&(w+="rotateY("+u+Et),f!==Nt&&(w+="rotateX("+f+Et),(d!==Nt||_!==Nt)&&(w+="skew("+d+", "+_+Et),(g!==1||h!==1)&&(w+="scale("+g+", "+h+Et),m.style[L]=w||"translate(0, 0)"},Sa=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,a=r.y,o=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,d=r.scaleY,_=r.target,g=r.xOrigin,h=r.yOrigin,p=r.xOffset,y=r.yOffset,m=r.forceCSS,b=parseFloat(s),w=parseFloat(a),x,S,T,C,v;o=parseFloat(o),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,o+=u),o||c?(o*=Zt,c*=Zt,x=Math.cos(o)*f,S=Math.sin(o)*f,T=Math.sin(o-c)*-d,C=Math.cos(o-c)*d,c&&(u*=Zt,v=Math.tan(c-u),v=Math.sqrt(1+v*v),T*=v,C*=v,u&&(v=Math.tan(u),v=Math.sqrt(1+v*v),x*=v,S*=v)),x=X(x),S=X(S),T=X(T),C=X(C)):(x=f,C=d,S=T=0),(b&&!~(s+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(b=zt(_,"x",s,"px"),w=zt(_,"y",a,"px")),(g||h||p||y)&&(b=X(b+g-(g*x+h*T)+p),w=X(w+h-(g*S+h*C)+y)),(i||n)&&(v=_.getBBox(),b=X(b+i/100*v.width),w=X(w+n/100*v.height)),v="matrix("+x+","+S+","+T+","+C+","+b+","+w+")",_.setAttribute("transform",v),m&&(_.style[L]=v)},Ca=function(t,e,r,i,n){var s=360,a=$(n),o=parseFloat(n)*(a&&~n.indexOf("rad")?Ft:1),c=o-i,u=i+c+"deg",f,d;return a&&(f=n.split("_")[1],f==="short"&&(c%=s,c!==c%(s/2)&&(c+=c<0?s:-s)),f==="cw"&&c<0?c=(c+s*Hr)%s-~~(c/s)*s:f==="ccw"&&c>0&&(c=(c-s*Hr)%s-~~(c/s)*s)),t._pt=d=new J(t._pt,e,r,i,c,la),d.e=u,d.u="deg",t._props.push(r),d},ri=function(t,e){for(var r in e)t[r]=e[r];return t},Ma=function(t,e,r){var i=ri({},r._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,o,c,u,f,d,_,g;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),s[L]=e,a=ye(r,1),Wt(r,L),r.setAttribute("transform",c)):(c=getComputedStyle(r)[L],s[L]=e,a=ye(r,1),s[L]=c);for(o in wt)c=i[o],u=a[o],c!==u&&n.indexOf(o)<0&&(_=q(c),g=q(u),f=_!==g?zt(r,o,c,g):parseFloat(c),d=parseFloat(u),t._pt=new J(t._pt,a,o,f,d-f,gr),t._pt.u=g||0,t._props.push(o));ri(a,i)};Z("padding,margin,Width,Radius",function(l,t){var e="Top",r="Right",i="Bottom",n="Left",s=(t<3?[e,r,i,n]:[e+n,e+r,i+r,i+n]).map(function(a){return t<2?l+a:"border"+a+l});qe[t>1?"border"+l:l]=function(a,o,c,u,f){var d,_;if(arguments.length<4)return d=s.map(function(g){return bt(a,g,c)}),_=d.join(" "),_.split(d[0]).length===5?d[0]:_;d=(u+"").split(" "),_={},s.forEach(function(g,h){return _[g]=d[h]=d[h]||d[(h-1)/2|0]}),a.init(o,_,f)}});var Jn={name:"css",register:xr,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s=this._props,a=t.style,o=r.vars.startAt,c,u,f,d,_,g,h,p,y,m,b,w,x,S,T,C;Nr||xr(),this.styles=this.styles||Un(t),C=this.styles.props,this.tween=r;for(h in e)if(h!=="autoRound"&&(u=e[h],!(rt[h]&&Nn(h,e,r,i,t,n)))){if(_=typeof u,g=qe[h],_==="function"&&(u=u.call(r,i,t,n),_=typeof u),_==="string"&&~u.indexOf("random(")&&(u=_e(u)),g)g(this,t,h,u,r)&&(T=1);else if(h.substr(0,2)==="--")c=(getComputedStyle(t).getPropertyValue(h)+"").trim(),u+="",Ot.lastIndex=0,Ot.test(c)||(p=q(c),y=q(u)),y?p!==y&&(c=zt(t,h,c,y)+y):p&&(u+=p),this.add(a,"setProperty",c,u,i,n,0,0,h),s.push(h),C.push(h,0,a[h]);else if(_!=="undefined"){if(o&&h in o?(c=typeof o[h]=="function"?o[h].call(r,i,t,n):o[h],$(c)&&~c.indexOf("random(")&&(c=_e(c)),q(c+"")||c==="auto"||(c+=st.units[h]||q(bt(t,h))||""),(c+"").charAt(1)==="="&&(c=bt(t,h))):c=bt(t,h),d=parseFloat(c),m=_==="string"&&u.charAt(1)==="="&&u.substr(0,2),m&&(u=u.substr(2)),f=parseFloat(u),h in pt&&(h==="autoAlpha"&&(d===1&&bt(t,"visibility")==="hidden"&&f&&(d=0),C.push("visibility",0,a.visibility),kt(this,a,"visibility",d?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=pt[h],~h.indexOf(",")&&(h=h.split(",")[0]))),b=h in wt,b){if(this.styles.save(h),_==="string"&&u.substring(0,6)==="var(--"&&(u=ht(t,u.substring(4,u.indexOf(")"))),f=parseFloat(u)),w||(x=t._gsap,x.renderTransform&&!e.parseTransform||ye(t,e.parseTransform),S=e.smoothOrigin!==!1&&x.smooth,w=this._pt=new J(this._pt,a,L,0,1,x.renderTransform,x,0,-1),w.dep=1),h==="scale")this._pt=new J(this._pt,x,"scaleY",x.scaleY,(m?Kt(x.scaleY,m+f):f)-x.scaleY||0,gr),this._pt.u=0,s.push("scaleY",h),h+="X";else if(h==="transformOrigin"){C.push(tt,0,a[tt]),u=va(u),x.svg?br(t,u,0,S,0,this):(y=parseFloat(u.split(" ")[2])||0,y!==x.zOrigin&&kt(this,x,"zOrigin",x.zOrigin,y),kt(this,a,h,Ge(c),Ge(u)));continue}else if(h==="svgOrigin"){br(t,u,1,S,0,this);continue}else if(h in Kn){Ca(this,x,h,d,m?Kt(d,m+u):u);continue}else if(h==="smoothOrigin"){kt(this,x,"smooth",x.smooth,u);continue}else if(h==="force3D"){x[h]=u;continue}else if(h==="transform"){Ma(this,u,t);continue}}else h in a||(h=ne(h)||h);if(b||(f||f===0)&&(d||d===0)&&!oa.test(u)&&h in a)p=(c+"").substr((d+"").length),f||(f=0),y=q(u)||(h in st.units?st.units[h]:p),p!==y&&(d=zt(t,h,c,y)),this._pt=new J(this._pt,b?x:a,h,d,(m?Kt(d,m+f):f)-d,!b&&(y==="px"||h==="zIndex")&&e.autoRound!==!1?ua:gr),this._pt.u=y||0,p!==y&&y!=="%"&&(this._pt.b=c,this._pt.r=ca);else if(h in a)ba.call(this,t,h,c,m?m+u:u);else if(h in t)this.add(t,h,c||t[h],m?m+u:u,i,n);else if(h!=="parseTransform"){Cr(h,u);continue}b||(h in a?C.push(h,0,a[h]):typeof t[h]=="function"?C.push(h,2,t[h]()):C.push(h,1,c||t[h])),s.push(h)}}T&&Vn(this)},render:function(t,e){if(e.tween._time||!Er())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:bt,aliases:pt,getSetter:function(t,e,r){var i=pt[e];return i&&i.indexOf(",")<0&&(e=i),e in wt&&e!==tt&&(t._gsap.x||bt(t,"x"))?r&&Gr===r?e==="scale"?_a:da:(Gr=r||{})&&(e==="scale"?pa:ma):t.style&&!wr(t.style[e])?ha:~e.indexOf("-")?fa:Rr(t,e)},core:{_removeProperty:Wt,_getMatrix:Lr}};et.utils.checkPrefix=ne;et.core.getStyleSaver=Un;(function(l,t,e,r){var i=Z(l+","+t+","+e,function(n){wt[n]=1});Z(t,function(n){st.units[n]="deg",Kn[n]=1}),pt[i[13]]=l+","+t,Z(r,function(n){var s=n.split(":");pt[s[1]]=i[s[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");Z("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(l){st.units[l]="px"});et.registerPlugin(Jn);var Br=et.registerPlugin(Jn)||et;Br.core.Tween;class Pa{constructor(t,e,r="original"){this.particles=[],this.branches=[],this.time=0,this.windStrength=0,this.windDirection=0,this.fallingParticles=[],this.canvas=t,this.ctx=e,this.variant=r}getTreeConfig(){switch(this.variant){case"original":return{trunkColor:{h:20,s:50,l:10},leafColors:[{h:120,s:70,l:35},{h:100,s:60,l:30},{h:110,s:65,l:28},{h:95,s:75,l:32}],leafSize:{min:3,max:5},leafDensity:15,maxDepth:7,spread:.4,backgroundColor:"rgba(0, 0, 0, 0.02)"};case"cherry":return{trunkColor:{h:20,s:40,l:8},leafColors:[{h:350,s:70,l:50},{h:340,s:65,l:45},{h:0,s:60,l:55},{h:330,s:70,l:40}],leafSize:{min:3,max:6},leafDensity:20,maxDepth:8,spread:.5,backgroundColor:"rgba(100, 0, 20, 0.02)"};case"autumn":return{trunkColor:{h:25,s:55,l:12},leafColors:[{h:25,s:80,l:45},{h:10,s:75,l:40},{h:40,s:70,l:50},{h:5,s:85,l:35},{h:50,s:65,l:45}],leafSize:{min:4,max:7},leafDensity:12,maxDepth:7,spread:.6,backgroundColor:"rgba(80, 40, 0, 0.02)"};case"mystical":return{trunkColor:{h:280,s:30,l:12},leafColors:[{h:280,s:60,l:45},{h:200,s:70,l:50},{h:320,s:65,l:55},{h:240,s:55,l:45},{h:180,s:50,l:55}],leafSize:{min:3,max:5},leafDensity:25,maxDepth:9,spread:.4,backgroundColor:"rgba(50, 0, 100, 0.02)"};case"winter":return{trunkColor:{h:200,s:20,l:15},leafColors:[{h:200,s:50,l:60},{h:190,s:45,l:65},{h:210,s:40,l:55},{h:180,s:35,l:70}],leafSize:{min:3,max:4},leafDensity:10,maxDepth:6,spread:.3,backgroundColor:"rgba(0, 50, 100, 0.02)"};default:return{trunkColor:{h:20,s:50,l:10},leafColors:[{h:110,s:70,l:30},{h:90,s:65,l:35},{h:130,s:60,l:28},{h:100,s:75,l:40}],leafSize:{min:3,max:5},leafDensity:15,maxDepth:7,spread:.4,backgroundColor:"rgba(0, 50, 0, 0.02)"}}}generateBranch(t,e,r,i,n,s,a,o=20){const c=this.getTreeConfig();if(n>s)return;const u=t+Math.cos(r)*i,f=e+Math.sin(r)*i,d={startX:t,startY:e,endX:u,endY:f,angle:r,depth:n,thickness:o,particles:[]},_=Math.floor(i/4);for(let g=0;g<_;g++){const h=g/_,p=t+(u-t)*h,y=e+(f-e)*h,m=(Math.random()-.5)*o,b=(Math.random()-.5)*o,{h:w,s:x,l:S}=c.trunkColor,T=S+n*2;d.particles.push({x:p+m*2,y:y+b*2,vx:0,vy:0,targetX:p+m,targetY:y+b,size:Math.max(1,o/4*(1-h*.3)),color:`hsl(${w}, ${x}%, ${T}%)`,alpha:0,life:0,maxLife:100,branch:a,depth:n,angle:r,isLeaf:!1,wind:0})}if(this.branches.push(d),d.particles.forEach(g=>this.particles.push(g)),n<s){const g=n<2?2+Math.floor(Math.random()*2):2;for(let h=0;h<g;h++){const p=Math.PI/4*c.spread*(.5+Math.random()*.5),y=r+(h===0?-p:p)+(Math.random()-.5)*.3,m=i*(.6+Math.random()*.2),b=o*.7;this.generateBranch(u,f,y,m,n+1,s,this.branches.length,b)}n>=s-3&&this.createLeaves(u,f,n)}}createLeaves(t,e,r){const i=this.getTreeConfig(),n=i.leafDensity,s=30+(i.maxDepth-r)*8;for(let a=0;a<n;a++){const o=Math.random()*Math.PI*2,c=Math.random()*s,u=t+Math.cos(o)*c,f=e+Math.sin(o)*c,d=i.leafColors[Math.floor(Math.random()*i.leafColors.length)],{h:_,s:g,l:h}=d;this.particles.push({x:t,y:e,vx:0,vy:0,targetX:u,targetY:f,size:i.leafSize.min+Math.random()*(i.leafSize.max-i.leafSize.min),color:`hsl(${_}, ${g}%, ${h}%)`,alpha:0,life:0,maxLife:100,branch:-1,depth:r,angle:o,isLeaf:!0,wind:Math.random(),rotation:0,falling:!1,fallSpeed:0})}}createSpecialEffects(){this.variant==="cherry"&&setInterval(()=>{if(Math.random()<.3&&this.fallingParticles.length<20){const t=this.particles.filter(e=>e.isLeaf&&!e.falling);if(t.length>0){const e=t[Math.floor(Math.random()*t.length)],r={...e,x:e.targetX,y:e.targetY,falling:!0,fallSpeed:.5+Math.random()*1,rotation:0,alpha:.8};this.fallingParticles.push(r)}}},500),this.variant==="autumn"&&setInterval(()=>{if(Math.random()<.4&&this.fallingParticles.length<30){const t=this.particles.filter(e=>e.isLeaf&&!e.falling);if(t.length>0){const e=t[Math.floor(Math.random()*t.length)],r={...e,x:e.targetX,y:e.targetY,falling:!0,fallSpeed:.3+Math.random()*.7,rotation:0,alpha:.9};this.fallingParticles.push(r)}}},300),this.variant==="winter"&&setInterval(()=>{this.fallingParticles.length<50&&this.fallingParticles.push({x:Math.random()*this.canvas.width,y:-10,vx:0,vy:0,targetX:0,targetY:0,size:Math.random()*2+1,color:"hsl(0, 0%, 100%)",alpha:.6+Math.random()*.3,life:0,maxLife:100,branch:-1,depth:0,angle:0,isLeaf:!1,wind:Math.random(),falling:!0,fallSpeed:.2+Math.random()*.3,rotation:0})},100)}init(){const t=this.getTreeConfig();this.particles=[],this.branches=[],this.fallingParticles=[];const e=this.canvas.width/2,r=this.canvas.height-50,i=this.canvas.height*.25;this.generateBranch(e,r,-Math.PI/2,i,0,t.maxDepth,0,30),this.variant==="forest"&&(this.generateBranch(e-150,r,-Math.PI/2+.1,i*.8,0,t.maxDepth-1,0,25),this.generateBranch(e+180,r,-Math.PI/2-.1,i*.9,0,t.maxDepth-1,0,22)),this.particles.forEach((n,s)=>{this.variant==="cherry"||this.variant==="mystical"?(n.x=e+(Math.random()-.5)*100,n.y=r+(Math.random()-.5)*100):(n.x=e+(Math.random()-.5)*this.canvas.width,n.y=this.canvas.height+Math.random()*100),Br.to(n,{x:n.targetX,y:n.targetY,alpha:n.isLeaf?.6:.9,duration:2+Math.random()*2,delay:s*5e-4+n.depth*.1,ease:this.variant==="mystical"?"power4.inOut":"power2.inOut"})}),this.createSpecialEffects()}update(){this.time+=.01,this.variant==="mystical"?this.windStrength=Math.sin(this.time*.3)*.8+Math.sin(this.time*1.7)*.4:this.variant==="winter"?this.windStrength=Math.sin(this.time*.2)*.3:this.windStrength=Math.sin(this.time*.5)*.5+Math.sin(this.time*1.3)*.3,this.windDirection=Math.sin(this.time*.3)*.2,this.particles.forEach((t,e)=>{if(!(t.alpha<=0)){if(t.isLeaf){t.wind+=.02;const r=Math.sin(t.wind+e*.1)*this.windStrength*3,i=Math.cos(t.wind*.7+e*.1)*this.windStrength;t.x=t.targetX+r,t.y=t.targetY+i,this.variant==="mystical"&&(t.alpha=.6+Math.sin(this.time*2+e*.1)*.3)}else if(t.depth>3){const r=Math.sin(this.time+t.depth+e*.01)*this.windStrength*(8-t.depth)*.3,i=Math.cos(this.time*.8+t.depth)*this.windStrength*.2;t.x=t.targetX+r,t.y=t.targetY+i}}}),this.fallingParticles=this.fallingParticles.filter(t=>(t.y+=t.fallSpeed,t.x+=Math.sin(t.wind)*2,t.wind+=.05,t.rotation+=.05,t.y>this.canvas.height+50?!1:(t.y>this.canvas.height-100&&(t.alpha*=.98),t.alpha>.01)))}render(){this.ctx.fillStyle="rgba(245, 245, 220, 0.1)",this.ctx.fillRect(0,0,this.canvas.width,this.canvas.height),this.ctx.globalCompositeOperation="source-over",[...this.particles].sort((e,r)=>e.depth-r.depth).forEach(e=>{if(e.alpha<=0)return;this.ctx.save();const r=this.ctx.createRadialGradient(e.x,e.y,0,e.x,e.y,e.size);e.isLeaf?this.variant==="cherry"?(r.addColorStop(0,e.color.replace("hsl","hsla").replace(")",`, ${e.alpha})`)),r.addColorStop(.3,e.color.replace("hsl","hsla").replace(")",`, ${e.alpha*.6})`)),r.addColorStop(1,"transparent")):this.variant==="mystical"?(r.addColorStop(0,e.color.replace("hsl","hsla").replace(")",`, ${e.alpha})`)),r.addColorStop(.5,e.color.replace("hsl","hsla").replace(")",`, ${e.alpha*.5})`)),r.addColorStop(1,e.color.replace("hsl","hsla").replace(")",`, ${e.alpha*.1})`))):(r.addColorStop(0,e.color.replace("hsl","hsla").replace(")",`, ${e.alpha})`)),r.addColorStop(.5,e.color.replace("hsl","hsla").replace(")",`, ${e.alpha*.5})`)),r.addColorStop(1,"transparent")):(r.addColorStop(0,e.color.replace("hsl","hsla").replace(")",`, ${e.alpha})`)),r.addColorStop(.7,e.color.replace("hsl","hsla").replace(")",`, ${e.alpha*.6})`)),r.addColorStop(1,"transparent")),this.ctx.fillStyle=r,this.ctx.beginPath(),this.ctx.arc(e.x,e.y,e.size,0,Math.PI*2),this.ctx.fill(),this.ctx.restore()}),this.fallingParticles.forEach(e=>{if(this.ctx.save(),this.ctx.translate(e.x,e.y),this.ctx.rotate(e.rotation),this.variant==="cherry")this.ctx.fillStyle=e.color.replace("hsl","hsla").replace(")",`, ${e.alpha})`),this.ctx.beginPath(),this.ctx.ellipse(0,0,e.size*2,e.size*3,0,0,Math.PI*2),this.ctx.fill();else if(this.variant==="autumn")this.ctx.fillStyle=e.color.replace("hsl","hsla").replace(")",`, ${e.alpha})`),this.ctx.beginPath(),this.ctx.ellipse(0,0,e.size*3,e.size*4,Math.PI/4,0,Math.PI*2),this.ctx.fill();else{const r=this.ctx.createRadialGradient(0,0,0,0,0,e.size*2);r.addColorStop(0,e.color.replace("hsl","hsla").replace(")",`, ${e.alpha})`)),r.addColorStop(1,"transparent"),this.ctx.fillStyle=r,this.ctx.beginPath(),this.ctx.arc(0,0,e.size*2,0,Math.PI*2),this.ctx.fill()}this.ctx.restore()}),this.ctx.globalCompositeOperation="source-over"}}const $t=({variant:l="original"})=>{const t=dt.useRef(null),e=dt.useRef(null),r=dt.useRef();return dt.useEffect(()=>{if(!t.current)return;const i=t.current,n=i.getContext("2d");if(!n)return;i.width=window.innerWidth,i.height=window.innerHeight;const s=new Pa(i,n,l);e.current=s,s.init();const a=()=>{s.update(),s.render(),r.current=requestAnimationFrame(a)};a();const o=()=>{i.width=window.innerWidth,i.height=window.innerHeight,s.init()};return window.addEventListener("resize",o),()=>{r.current&&cancelAnimationFrame(r.current),window.removeEventListener("resize",o),Br.killTweensOf("*")}},[l]),P.jsx("div",{className:"particle-tree-container",children:P.jsx("canvas",{ref:t,className:"particle-tree-canvas"})})};$t.__docgenInfo={description:"",methods:[],displayName:"ParticleTree",props:{variant:{required:!1,tsType:{name:"union",raw:"'original' | 'forest' | 'cherry' | 'autumn' | 'mystical' | 'winter'",elements:[{name:"literal",value:"'original'"},{name:"literal",value:"'forest'"},{name:"literal",value:"'cherry'"},{name:"literal",value:"'autumn'"},{name:"literal",value:"'mystical'"},{name:"literal",value:"'winter'"}]},description:"",defaultValue:{value:"'original'",computed:!1}}}};const ts=()=>P.jsx($t,{variant:"original"}),es=()=>P.jsx($t,{variant:"forest"}),rs=()=>P.jsx($t,{variant:"cherry"}),is=()=>P.jsx($t,{variant:"autumn"}),ns=()=>P.jsx($t,{variant:"mystical"}),ss=()=>P.jsx($t,{variant:"winter"});ts.__docgenInfo={description:"",methods:[],displayName:"OriginalTree"};es.__docgenInfo={description:"",methods:[],displayName:"ForestTree"};rs.__docgenInfo={description:"",methods:[],displayName:"CherryTree"};is.__docgenInfo={description:"",methods:[],displayName:"AutumnTree"};ns.__docgenInfo={description:"",methods:[],displayName:"MysticalTree"};ss.__docgenInfo={description:"",methods:[],displayName:"WinterTree"};const Ut=({variant:l="classic",className:t=""})=>{const e=dt.useRef(null),r=dt.useRef(),i=dt.useRef([]),n=dt.useRef({x:0,y:0}),s=dt.useRef(0),a=o=>{switch(o){case"neon":return{backgroundColor:"#000000",backboneColors:["#00ffff","#ff00ff"],baseColors:["#00ff00","#ffff00","#ff00ff","#00ffff"],glowEffect:!0,rotationSpeed:.02,particleCount:200,bondOpacity:.8};case"organic":return{backgroundColor:"#1a1a2e",backboneColors:["#16a085","#27ae60"],baseColors:["#e74c3c","#3498db","#f39c12","#9b59b6"],glowEffect:!1,rotationSpeed:.01,particleCount:180,bondOpacity:.4};case"data":return{backgroundColor:"#0a0a0a",backboneColors:["#00ff41","#00ff41"],baseColors:["#00ff41","#008f11","#00ff41","#008f11"],glowEffect:!0,rotationSpeed:.03,particleCount:250,bondOpacity:.6};case"rainbow":return{backgroundColor:"#111111",backboneColors:["#ff0000","#00ff00","#0000ff"],baseColors:["#ff00ff","#ffff00","#00ffff","#ff8800"],glowEffect:!0,rotationSpeed:.015,particleCount:220,bondOpacity:.7};case"mutation":return{backgroundColor:"#0d0d0d",backboneColors:["#ff3333","#ff6666"],baseColors:["#ff0000","#990000","#ff9999","#660000"],glowEffect:!0,rotationSpeed:.025,particleCount:200,bondOpacity:.5};case"classic":default:return{backgroundColor:"#f0f0f0",backboneColors:["#2c3e50","#34495e"],baseColors:["#e74c3c","#3498db","#2ecc71","#f39c12"],glowEffect:!1,rotationSpeed:.015,particleCount:160,bondOpacity:.3}}};return dt.useEffect(()=>{const o=e.current;if(!o)return;const c=o.getContext("2d");if(!c)return;const u=a(l),f=[],d=()=>{o.width=o.offsetWidth,o.height=o.offsetHeight,g()},_=p=>{const y=o.getBoundingClientRect();n.current={x:p.clientX-y.left,y:p.clientY-y.top}},g=()=>{f.length=0;const p=o.width/2,y=o.height/2,m=o.height*.7,b=Math.min(o.width,o.height)*.15,w=3,x=u.particleCount/2,S=10;for(let T=0;T<x;T++){const C=T/x,v=(C-.5)*m,M=C*Math.PI*2*w,D=M+Math.PI,A={x:p+Math.cos(M)*b,y:y+v,z:Math.sin(M),baseX:p+Math.cos(M)*b,baseY:y+v,angle:M,radius:b,color:u.backboneColors[0],size:4,type:"backbone",opacity:1,pulsePhase:Math.random()*Math.PI*2},O={x:p+Math.cos(D)*b,y:y+v,z:Math.sin(D),baseX:p+Math.cos(D)*b,baseY:y+v,angle:D,radius:b,color:u.backboneColors[1]||u.backboneColors[0],size:4,type:"backbone",opacity:1,pulsePhase:Math.random()*Math.PI*2};if(f.push(A,O),T%S===0){const Y=u.baseColors[Math.floor(Math.random()*u.baseColors.length)],z={x:A.x,y:A.y,z:A.z,baseX:A.x,baseY:A.y,angle:M,radius:b*.5,color:Y,size:6,type:"base",opacity:1,pulsePhase:Math.random()*Math.PI*2},R={x:O.x,y:O.y,z:O.z,baseX:O.x,baseY:O.y,angle:D,radius:b*.5,color:u.baseColors[(u.baseColors.indexOf(Y)+2)%u.baseColors.length],size:6,type:"base",opacity:1,pulsePhase:Math.random()*Math.PI*2};z.pair=R,R.pair=z,f.push(z,R);const V=5;for(let H=1;H<V;H++){const Tt=H/V,St=z.x+(R.x-z.x)*Tt,Ct=z.y+(R.y-z.y)*Tt,gt=z.z+(R.z-z.z)*Tt,be={x:St,y:Ct,z:gt,baseX:St,baseY:Ct,angle:0,radius:0,color:Y,size:2,type:"bond",opacity:u.bondOpacity,pulsePhase:Math.random()*Math.PI*2};f.push(be)}}}i.current=f},h=()=>{c.fillStyle=u.backgroundColor,c.fillRect(0,0,o.width,o.height),s.current+=.016;const p=o.width/2;o.height/2,[...i.current].sort((m,b)=>m.z-b.z).forEach(m=>{m.type!=="bond"&&(m.angle+=u.rotationSpeed,m.x=p+Math.cos(m.angle)*m.radius,m.z=Math.sin(m.angle)),m.type==="base"&&m.pair&&(m.pair.x-m.x,m.pair.y-m.y,m.size=6+Math.sin(s.current*2+m.pulsePhase)*1);const b=n.current.x-m.x,w=n.current.y-m.y,x=Math.sqrt(b*b+w*w);if(x<100){const v=(100-x)/100;m.x+=b*v*.01,m.y+=w*v*.01}const S=(m.z+1)/2,T=m.size*(.7+S*.3),C=m.opacity*(.5+S*.5);if(c.globalAlpha=C,u.glowEffect){const v=c.createRadialGradient(m.x,m.y,0,m.x,m.y,T*2);v.addColorStop(0,m.color),v.addColorStop(.5,m.color+"80"),v.addColorStop(1,"transparent"),c.fillStyle=v,c.fillRect(m.x-T*2,m.y-T*2,T*4,T*4)}if(c.fillStyle=m.color,c.beginPath(),c.arc(m.x,m.y,T,0,Math.PI*2),c.fill(),m.type==="backbone"){const v=i.current.indexOf(m)+2;if(v<i.current.length){const M=i.current[v];M&&M.type==="backbone"&&Math.abs(M.angle-m.angle)<.5&&(c.strokeStyle=m.color+"40",c.lineWidth=2,c.beginPath(),c.moveTo(m.x,m.y),c.lineTo(M.x,M.y),c.stroke())}}}),c.globalAlpha=1,r.current=requestAnimationFrame(h)};return d(),window.addEventListener("resize",d),o.addEventListener("mousemove",_),h(),()=>{window.removeEventListener("resize",d),o.removeEventListener("mousemove",_),r.current&&cancelAnimationFrame(r.current)}},[l]),P.jsx("div",{className:`dna-helix-container ${t}`,children:P.jsx("canvas",{ref:e,className:"dna-helix-canvas"})})};Ut.__docgenInfo={description:"",methods:[],displayName:"DNAHelix",props:{variant:{required:!1,tsType:{name:"union",raw:"'classic' | 'neon' | 'organic' | 'data' | 'rainbow' | 'mutation'",elements:[{name:"literal",value:"'classic'"},{name:"literal",value:"'neon'"},{name:"literal",value:"'organic'"},{name:"literal",value:"'data'"},{name:"literal",value:"'rainbow'"},{name:"literal",value:"'mutation'"}]},description:"",defaultValue:{value:"'classic'",computed:!1}},className:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:"''",computed:!1}}}};const as=()=>P.jsx(Ut,{variant:"classic"}),os=()=>P.jsx(Ut,{variant:"neon"}),ls=()=>P.jsx(Ut,{variant:"organic"}),cs=()=>P.jsx(Ut,{variant:"data"}),us=()=>P.jsx(Ut,{variant:"rainbow"}),hs=()=>P.jsx(Ut,{variant:"mutation"});as.__docgenInfo={description:"",methods:[],displayName:"ClassicDNA"};os.__docgenInfo={description:"",methods:[],displayName:"NeonDNA"};ls.__docgenInfo={description:"",methods:[],displayName:"OrganicDNA"};cs.__docgenInfo={description:"",methods:[],displayName:"DataDNA"};us.__docgenInfo={description:"",methods:[],displayName:"RainbowDNA"};hs.__docgenInfo={description:"",methods:[],displayName:"MutationDNA"};const se=[{id:"original",name:"Original Tree",category:"nature",component:ts},{id:"forest",name:"Forest",category:"nature",component:es},{id:"cherry",name:"Cherry Blossom",category:"seasonal",component:rs},{id:"autumn",name:"Autumn",category:"seasonal",component:is},{id:"mystical",name:"Mystical",category:"fantasy",component:ns},{id:"winter",name:"Winter",category:"seasonal",component:ss},{id:"classic-dna",name:"Classic DNA",category:"organisms",component:as},{id:"neon-dna",name:"Neon DNA",category:"organisms",component:os},{id:"organic-dna",name:"Organic DNA",category:"organisms",component:ls},{id:"data-dna",name:"Data DNA",category:"organisms",component:cs},{id:"rainbow-dna",name:"Rainbow DNA",category:"organisms",component:us},{id:"mutation-dna",name:"Mutation DNA",category:"organisms",component:hs}],ka=l=>se.find(t=>t.id===l),fs=({animationId:l="oak",className:t=""})=>{const e=ka(l);if(!e)return console.warn(`Animation with id "${l}" not found`),null;const r=e.component;return P.jsx("div",{className:t,style:{position:"fixed",top:0,left:0,width:"100%",height:"100vh",zIndex:-1,display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden"},children:P.jsx(r,{})})};fs.__docgenInfo={description:"",methods:[],displayName:"AnimationPlayer",props:{animationId:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:"'oak'",computed:!1}},className:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:"''",computed:!1}}}};const Da={title:"Organisms/Animations/AnimationPlayer",component:fs,parameters:{layout:"fullscreen",docs:{description:{component:"Beautiful particle animations including trees and DNA helixes with multiple thematic variants."}}},tags:["autodocs"],argTypes:{animationId:{control:"select",options:se.map(l=>l.id),description:"The ID of the animation to display",table:{type:{summary:"string"},defaultValue:{summary:"original"}}},className:{control:"text",description:"Additional CSS classes to apply"}}},we={args:{animationId:"original"}},Te={args:{animationId:"original"},parameters:{docs:{description:{story:"A vibrant green tree with natural swaying animation."}}}},Se={args:{animationId:"forest"},parameters:{docs:{description:{story:"Multiple trees creating a forest atmosphere."}}}},Ce={args:{animationId:"cherry"},parameters:{docs:{description:{story:"Beautiful cherry blossom tree with falling pink petals."}}}},Me={args:{animationId:"autumn"},parameters:{docs:{description:{story:"Autumn tree with warm colors and falling leaves."}}}},Pe={args:{animationId:"winter"},parameters:{docs:{description:{story:"Winter tree with ice blue colors and falling snow."}}}},ke={args:{animationId:"mystical"},parameters:{docs:{description:{story:"A magical tree with purple and cyan glowing particles."}}}},Ae={args:{animationId:"classic-dna"},parameters:{docs:{description:{story:"Classic double helix DNA structure with traditional colors."}}}},Oe={args:{animationId:"neon-dna"},parameters:{docs:{description:{story:"Glowing neon DNA helix with cyberpunk aesthetics."}}}},De={args:{animationId:"organic-dna"},parameters:{docs:{description:{story:"Natural organic DNA with earthy colors."}}}},ze={args:{animationId:"data-dna"},parameters:{docs:{description:{story:"Matrix-style digital DNA visualization."}}}},Re={args:{animationId:"rainbow-dna"},parameters:{docs:{description:{story:"Colorful rainbow DNA with vibrant effects."}}}},Ie={args:{animationId:"mutation-dna"},parameters:{docs:{description:{story:"Mutating DNA helix with dynamic red tones."}}}},Ne={render:()=>P.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(400px, 1fr))",gap:"20px",padding:"20px",background:"linear-gradient(to bottom, #e8f5e9, #c8e6c9)"},children:se.filter(l=>l.category==="nature").map(l=>P.jsxs("div",{style:{position:"relative",height:"500px",background:"white",borderRadius:"12px",overflow:"hidden",boxShadow:"0 4px 20px rgba(0,0,0,0.1)"},children:[P.jsx("div",{style:{position:"absolute",top:"15px",left:"15px",zIndex:10,background:"rgba(76, 175, 80, 0.9)",color:"white",padding:"8px 16px",borderRadius:"20px",fontSize:"14px",fontWeight:"bold"},children:l.name}),P.jsx(l.component,{})]},l.id))}),parameters:{docs:{description:{story:"All nature-themed tree animations."}}}},Ee={render:()=>P.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(400px, 1fr))",gap:"20px",padding:"20px",background:"linear-gradient(135deg, #667eea, #764ba2)"},children:se.filter(l=>l.category==="organisms").map(l=>P.jsxs("div",{style:{position:"relative",height:"500px",background:"white",borderRadius:"12px",overflow:"hidden",boxShadow:"0 4px 20px rgba(0,0,0,0.1)"},children:[P.jsx("div",{style:{position:"absolute",top:"15px",left:"15px",zIndex:10,background:"linear-gradient(135deg, #667eea, #764ba2)",color:"white",padding:"8px 16px",borderRadius:"20px",fontSize:"14px",fontWeight:"bold"},children:l.name}),P.jsx(l.component,{})]},l.id))}),parameters:{docs:{description:{story:"All organism-themed DNA animations."}}}},Fe={render:()=>P.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(400px, 1fr))",gap:"20px",padding:"20px",background:"linear-gradient(135deg, #ffeaa7, #fab1a0)"},children:se.filter(l=>l.category==="seasonal").map(l=>P.jsxs("div",{style:{position:"relative",height:"500px",background:"white",borderRadius:"12px",overflow:"hidden",boxShadow:"0 4px 20px rgba(0,0,0,0.1)"},children:[P.jsx("div",{style:{position:"absolute",top:"15px",left:"15px",zIndex:10,background:"linear-gradient(135deg, #ff6b6b, #feca57)",color:"white",padding:"8px 16px",borderRadius:"20px",fontSize:"14px",fontWeight:"bold"},children:l.name}),P.jsx(l.component,{})]},l.id))}),parameters:{docs:{description:{story:"Seasonal variations of the particle tree."}}}},Le={render:()=>P.jsxs("div",{style:{padding:"40px 20px",background:"linear-gradient(180deg, #f5f5dc 0%, #e8e8d0 100%)",minHeight:"100vh"},children:[P.jsx("h1",{style:{textAlign:"center",color:"#2c3e50",marginBottom:"40px",fontSize:"2.5rem",fontWeight:"300",letterSpacing:"2px"},children:"Animation Gallery"}),["nature","seasonal","fantasy","organisms"].map(l=>{const t=se.filter(n=>n.category===l);if(t.length===0)return null;const e={nature:{bg:"#4caf50",text:"Nature"},seasonal:{bg:"#ff9800",text:"Seasonal"},fantasy:{bg:"#9c27b0",text:"Fantasy"},organisms:{bg:"#2196f3",text:"Organisms"}},{bg:r,text:i}=e[l];return P.jsxs("div",{style:{marginBottom:"60px"},children:[P.jsx("h2",{style:{color:"#34495e",textTransform:"uppercase",marginBottom:"30px",fontSize:"1.5rem",fontWeight:"400",letterSpacing:"3px",textAlign:"center"},children:i}),P.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(380px, 1fr))",gap:"30px",maxWidth:"1400px",margin:"0 auto"},children:t.map(n=>P.jsxs("div",{style:{position:"relative",height:"480px",background:"white",borderRadius:"16px",overflow:"hidden",boxShadow:"0 10px 40px rgba(0,0,0,0.1)",transition:"transform 0.3s ease, box-shadow 0.3s ease",cursor:"pointer"},onMouseEnter:s=>{s.currentTarget.style.transform="translateY(-5px)",s.currentTarget.style.boxShadow="0 15px 50px rgba(0,0,0,0.15)"},onMouseLeave:s=>{s.currentTarget.style.transform="translateY(0)",s.currentTarget.style.boxShadow="0 10px 40px rgba(0,0,0,0.1)"},children:[P.jsx("div",{style:{position:"absolute",top:"20px",left:"20px",zIndex:10,background:r,color:"white",padding:"10px 20px",borderRadius:"25px",fontSize:"14px",fontWeight:"600",letterSpacing:"0.5px",boxShadow:"0 4px 15px rgba(0,0,0,0.2)"},children:n.name}),P.jsx(n.component,{})]},n.id))})]},l)})]}),parameters:{docs:{description:{story:"Complete gallery showcasing all particle tree animations organized by category."}}}};var ii,ni,si;we.parameters={...we.parameters,docs:{...(ii=we.parameters)==null?void 0:ii.docs,source:{originalSource:`{
|
|
16
|
+
args: {
|
|
17
|
+
animationId: 'original'
|
|
18
|
+
}
|
|
19
|
+
}`,...(si=(ni=we.parameters)==null?void 0:ni.docs)==null?void 0:si.source}}};var ai,oi,li;Te.parameters={...Te.parameters,docs:{...(ai=Te.parameters)==null?void 0:ai.docs,source:{originalSource:`{
|
|
20
|
+
args: {
|
|
21
|
+
animationId: 'original'
|
|
22
|
+
},
|
|
23
|
+
parameters: {
|
|
24
|
+
docs: {
|
|
25
|
+
description: {
|
|
26
|
+
story: 'A vibrant green tree with natural swaying animation.'
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}`,...(li=(oi=Te.parameters)==null?void 0:oi.docs)==null?void 0:li.source}}};var ci,ui,hi;Se.parameters={...Se.parameters,docs:{...(ci=Se.parameters)==null?void 0:ci.docs,source:{originalSource:`{
|
|
31
|
+
args: {
|
|
32
|
+
animationId: 'forest'
|
|
33
|
+
},
|
|
34
|
+
parameters: {
|
|
35
|
+
docs: {
|
|
36
|
+
description: {
|
|
37
|
+
story: 'Multiple trees creating a forest atmosphere.'
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}`,...(hi=(ui=Se.parameters)==null?void 0:ui.docs)==null?void 0:hi.source}}};var fi,di,_i;Ce.parameters={...Ce.parameters,docs:{...(fi=Ce.parameters)==null?void 0:fi.docs,source:{originalSource:`{
|
|
42
|
+
args: {
|
|
43
|
+
animationId: 'cherry'
|
|
44
|
+
},
|
|
45
|
+
parameters: {
|
|
46
|
+
docs: {
|
|
47
|
+
description: {
|
|
48
|
+
story: 'Beautiful cherry blossom tree with falling pink petals.'
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}`,...(_i=(di=Ce.parameters)==null?void 0:di.docs)==null?void 0:_i.source}}};var pi,mi,gi;Me.parameters={...Me.parameters,docs:{...(pi=Me.parameters)==null?void 0:pi.docs,source:{originalSource:`{
|
|
53
|
+
args: {
|
|
54
|
+
animationId: 'autumn'
|
|
55
|
+
},
|
|
56
|
+
parameters: {
|
|
57
|
+
docs: {
|
|
58
|
+
description: {
|
|
59
|
+
story: 'Autumn tree with warm colors and falling leaves.'
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}`,...(gi=(mi=Me.parameters)==null?void 0:mi.docs)==null?void 0:gi.source}}};var yi,xi,bi;Pe.parameters={...Pe.parameters,docs:{...(yi=Pe.parameters)==null?void 0:yi.docs,source:{originalSource:`{
|
|
64
|
+
args: {
|
|
65
|
+
animationId: 'winter'
|
|
66
|
+
},
|
|
67
|
+
parameters: {
|
|
68
|
+
docs: {
|
|
69
|
+
description: {
|
|
70
|
+
story: 'Winter tree with ice blue colors and falling snow.'
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}`,...(bi=(xi=Pe.parameters)==null?void 0:xi.docs)==null?void 0:bi.source}}};var vi,wi,Ti;ke.parameters={...ke.parameters,docs:{...(vi=ke.parameters)==null?void 0:vi.docs,source:{originalSource:`{
|
|
75
|
+
args: {
|
|
76
|
+
animationId: 'mystical'
|
|
77
|
+
},
|
|
78
|
+
parameters: {
|
|
79
|
+
docs: {
|
|
80
|
+
description: {
|
|
81
|
+
story: 'A magical tree with purple and cyan glowing particles.'
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}`,...(Ti=(wi=ke.parameters)==null?void 0:wi.docs)==null?void 0:Ti.source}}};var Si,Ci,Mi;Ae.parameters={...Ae.parameters,docs:{...(Si=Ae.parameters)==null?void 0:Si.docs,source:{originalSource:`{
|
|
86
|
+
args: {
|
|
87
|
+
animationId: 'classic-dna'
|
|
88
|
+
},
|
|
89
|
+
parameters: {
|
|
90
|
+
docs: {
|
|
91
|
+
description: {
|
|
92
|
+
story: 'Classic double helix DNA structure with traditional colors.'
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}`,...(Mi=(Ci=Ae.parameters)==null?void 0:Ci.docs)==null?void 0:Mi.source}}};var Pi,ki,Ai;Oe.parameters={...Oe.parameters,docs:{...(Pi=Oe.parameters)==null?void 0:Pi.docs,source:{originalSource:`{
|
|
97
|
+
args: {
|
|
98
|
+
animationId: 'neon-dna'
|
|
99
|
+
},
|
|
100
|
+
parameters: {
|
|
101
|
+
docs: {
|
|
102
|
+
description: {
|
|
103
|
+
story: 'Glowing neon DNA helix with cyberpunk aesthetics.'
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}`,...(Ai=(ki=Oe.parameters)==null?void 0:ki.docs)==null?void 0:Ai.source}}};var Oi,Di,zi;De.parameters={...De.parameters,docs:{...(Oi=De.parameters)==null?void 0:Oi.docs,source:{originalSource:`{
|
|
108
|
+
args: {
|
|
109
|
+
animationId: 'organic-dna'
|
|
110
|
+
},
|
|
111
|
+
parameters: {
|
|
112
|
+
docs: {
|
|
113
|
+
description: {
|
|
114
|
+
story: 'Natural organic DNA with earthy colors.'
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}`,...(zi=(Di=De.parameters)==null?void 0:Di.docs)==null?void 0:zi.source}}};var Ri,Ii,Ni;ze.parameters={...ze.parameters,docs:{...(Ri=ze.parameters)==null?void 0:Ri.docs,source:{originalSource:`{
|
|
119
|
+
args: {
|
|
120
|
+
animationId: 'data-dna'
|
|
121
|
+
},
|
|
122
|
+
parameters: {
|
|
123
|
+
docs: {
|
|
124
|
+
description: {
|
|
125
|
+
story: 'Matrix-style digital DNA visualization.'
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}`,...(Ni=(Ii=ze.parameters)==null?void 0:Ii.docs)==null?void 0:Ni.source}}};var Ei,Fi,Li;Re.parameters={...Re.parameters,docs:{...(Ei=Re.parameters)==null?void 0:Ei.docs,source:{originalSource:`{
|
|
130
|
+
args: {
|
|
131
|
+
animationId: 'rainbow-dna'
|
|
132
|
+
},
|
|
133
|
+
parameters: {
|
|
134
|
+
docs: {
|
|
135
|
+
description: {
|
|
136
|
+
story: 'Colorful rainbow DNA with vibrant effects.'
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}`,...(Li=(Fi=Re.parameters)==null?void 0:Fi.docs)==null?void 0:Li.source}}};var Bi,Yi,Vi;Ie.parameters={...Ie.parameters,docs:{...(Bi=Ie.parameters)==null?void 0:Bi.docs,source:{originalSource:`{
|
|
141
|
+
args: {
|
|
142
|
+
animationId: 'mutation-dna'
|
|
143
|
+
},
|
|
144
|
+
parameters: {
|
|
145
|
+
docs: {
|
|
146
|
+
description: {
|
|
147
|
+
story: 'Mutating DNA helix with dynamic red tones.'
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}`,...(Vi=(Yi=Ie.parameters)==null?void 0:Yi.docs)==null?void 0:Vi.source}}};var Xi,Wi,ji;Ne.parameters={...Ne.parameters,docs:{...(Xi=Ne.parameters)==null?void 0:Xi.docs,source:{originalSource:`{
|
|
152
|
+
render: () => <div style={{
|
|
153
|
+
display: 'grid',
|
|
154
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(400px, 1fr))',
|
|
155
|
+
gap: '20px',
|
|
156
|
+
padding: '20px',
|
|
157
|
+
background: 'linear-gradient(to bottom, #e8f5e9, #c8e6c9)'
|
|
158
|
+
}}>
|
|
159
|
+
{animations.filter(a => a.category === 'nature').map(animation => <div key={animation.id} style={{
|
|
160
|
+
position: 'relative',
|
|
161
|
+
height: '500px',
|
|
162
|
+
background: 'white',
|
|
163
|
+
borderRadius: '12px',
|
|
164
|
+
overflow: 'hidden',
|
|
165
|
+
boxShadow: '0 4px 20px rgba(0,0,0,0.1)'
|
|
166
|
+
}}>
|
|
167
|
+
<div style={{
|
|
168
|
+
position: 'absolute',
|
|
169
|
+
top: '15px',
|
|
170
|
+
left: '15px',
|
|
171
|
+
zIndex: 10,
|
|
172
|
+
background: 'rgba(76, 175, 80, 0.9)',
|
|
173
|
+
color: 'white',
|
|
174
|
+
padding: '8px 16px',
|
|
175
|
+
borderRadius: '20px',
|
|
176
|
+
fontSize: '14px',
|
|
177
|
+
fontWeight: 'bold'
|
|
178
|
+
}}>
|
|
179
|
+
{animation.name}
|
|
180
|
+
</div>
|
|
181
|
+
<animation.component />
|
|
182
|
+
</div>)}
|
|
183
|
+
</div>,
|
|
184
|
+
parameters: {
|
|
185
|
+
docs: {
|
|
186
|
+
description: {
|
|
187
|
+
story: 'All nature-themed tree animations.'
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}`,...(ji=(Wi=Ne.parameters)==null?void 0:Wi.docs)==null?void 0:ji.source}}};var $i,Ui,qi;Ee.parameters={...Ee.parameters,docs:{...($i=Ee.parameters)==null?void 0:$i.docs,source:{originalSource:`{
|
|
192
|
+
render: () => <div style={{
|
|
193
|
+
display: 'grid',
|
|
194
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(400px, 1fr))',
|
|
195
|
+
gap: '20px',
|
|
196
|
+
padding: '20px',
|
|
197
|
+
background: 'linear-gradient(135deg, #667eea, #764ba2)'
|
|
198
|
+
}}>
|
|
199
|
+
{animations.filter(a => a.category === 'organisms').map(animation => <div key={animation.id} style={{
|
|
200
|
+
position: 'relative',
|
|
201
|
+
height: '500px',
|
|
202
|
+
background: 'white',
|
|
203
|
+
borderRadius: '12px',
|
|
204
|
+
overflow: 'hidden',
|
|
205
|
+
boxShadow: '0 4px 20px rgba(0,0,0,0.1)'
|
|
206
|
+
}}>
|
|
207
|
+
<div style={{
|
|
208
|
+
position: 'absolute',
|
|
209
|
+
top: '15px',
|
|
210
|
+
left: '15px',
|
|
211
|
+
zIndex: 10,
|
|
212
|
+
background: 'linear-gradient(135deg, #667eea, #764ba2)',
|
|
213
|
+
color: 'white',
|
|
214
|
+
padding: '8px 16px',
|
|
215
|
+
borderRadius: '20px',
|
|
216
|
+
fontSize: '14px',
|
|
217
|
+
fontWeight: 'bold'
|
|
218
|
+
}}>
|
|
219
|
+
{animation.name}
|
|
220
|
+
</div>
|
|
221
|
+
<animation.component />
|
|
222
|
+
</div>)}
|
|
223
|
+
</div>,
|
|
224
|
+
parameters: {
|
|
225
|
+
docs: {
|
|
226
|
+
description: {
|
|
227
|
+
story: 'All organism-themed DNA animations.'
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}`,...(qi=(Ui=Ee.parameters)==null?void 0:Ui.docs)==null?void 0:qi.source}}};var Gi,Hi,Ki;Fe.parameters={...Fe.parameters,docs:{...(Gi=Fe.parameters)==null?void 0:Gi.docs,source:{originalSource:`{
|
|
232
|
+
render: () => <div style={{
|
|
233
|
+
display: 'grid',
|
|
234
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(400px, 1fr))',
|
|
235
|
+
gap: '20px',
|
|
236
|
+
padding: '20px',
|
|
237
|
+
background: 'linear-gradient(135deg, #ffeaa7, #fab1a0)'
|
|
238
|
+
}}>
|
|
239
|
+
{animations.filter(a => a.category === 'seasonal').map(animation => <div key={animation.id} style={{
|
|
240
|
+
position: 'relative',
|
|
241
|
+
height: '500px',
|
|
242
|
+
background: 'white',
|
|
243
|
+
borderRadius: '12px',
|
|
244
|
+
overflow: 'hidden',
|
|
245
|
+
boxShadow: '0 4px 20px rgba(0,0,0,0.1)'
|
|
246
|
+
}}>
|
|
247
|
+
<div style={{
|
|
248
|
+
position: 'absolute',
|
|
249
|
+
top: '15px',
|
|
250
|
+
left: '15px',
|
|
251
|
+
zIndex: 10,
|
|
252
|
+
background: 'linear-gradient(135deg, #ff6b6b, #feca57)',
|
|
253
|
+
color: 'white',
|
|
254
|
+
padding: '8px 16px',
|
|
255
|
+
borderRadius: '20px',
|
|
256
|
+
fontSize: '14px',
|
|
257
|
+
fontWeight: 'bold'
|
|
258
|
+
}}>
|
|
259
|
+
{animation.name}
|
|
260
|
+
</div>
|
|
261
|
+
<animation.component />
|
|
262
|
+
</div>)}
|
|
263
|
+
</div>,
|
|
264
|
+
parameters: {
|
|
265
|
+
docs: {
|
|
266
|
+
description: {
|
|
267
|
+
story: 'Seasonal variations of the particle tree.'
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}`,...(Ki=(Hi=Fe.parameters)==null?void 0:Hi.docs)==null?void 0:Ki.source}}};var Qi,Zi,Ji;Le.parameters={...Le.parameters,docs:{...(Qi=Le.parameters)==null?void 0:Qi.docs,source:{originalSource:`{
|
|
272
|
+
render: () => <div style={{
|
|
273
|
+
padding: '40px 20px',
|
|
274
|
+
background: 'linear-gradient(180deg, #f5f5dc 0%, #e8e8d0 100%)',
|
|
275
|
+
minHeight: '100vh'
|
|
276
|
+
}}>
|
|
277
|
+
<h1 style={{
|
|
278
|
+
textAlign: 'center',
|
|
279
|
+
color: '#2c3e50',
|
|
280
|
+
marginBottom: '40px',
|
|
281
|
+
fontSize: '2.5rem',
|
|
282
|
+
fontWeight: '300',
|
|
283
|
+
letterSpacing: '2px'
|
|
284
|
+
}}>
|
|
285
|
+
Animation Gallery
|
|
286
|
+
</h1>
|
|
287
|
+
|
|
288
|
+
{['nature', 'seasonal', 'fantasy', 'organisms'].map(category => {
|
|
289
|
+
const categoryAnimations = animations.filter(a => a.category === category);
|
|
290
|
+
if (categoryAnimations.length === 0) return null;
|
|
291
|
+
const categoryColors = {
|
|
292
|
+
nature: {
|
|
293
|
+
bg: '#4caf50',
|
|
294
|
+
text: 'Nature'
|
|
295
|
+
},
|
|
296
|
+
seasonal: {
|
|
297
|
+
bg: '#ff9800',
|
|
298
|
+
text: 'Seasonal'
|
|
299
|
+
},
|
|
300
|
+
fantasy: {
|
|
301
|
+
bg: '#9c27b0',
|
|
302
|
+
text: 'Fantasy'
|
|
303
|
+
},
|
|
304
|
+
organisms: {
|
|
305
|
+
bg: '#2196f3',
|
|
306
|
+
text: 'Organisms'
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
const {
|
|
310
|
+
bg,
|
|
311
|
+
text
|
|
312
|
+
} = categoryColors[category as keyof typeof categoryColors];
|
|
313
|
+
return <div key={category} style={{
|
|
314
|
+
marginBottom: '60px'
|
|
315
|
+
}}>
|
|
316
|
+
<h2 style={{
|
|
317
|
+
color: '#34495e',
|
|
318
|
+
textTransform: 'uppercase',
|
|
319
|
+
marginBottom: '30px',
|
|
320
|
+
fontSize: '1.5rem',
|
|
321
|
+
fontWeight: '400',
|
|
322
|
+
letterSpacing: '3px',
|
|
323
|
+
textAlign: 'center'
|
|
324
|
+
}}>
|
|
325
|
+
{text}
|
|
326
|
+
</h2>
|
|
327
|
+
<div style={{
|
|
328
|
+
display: 'grid',
|
|
329
|
+
gridTemplateColumns: 'repeat(auto-fill, minmax(380px, 1fr))',
|
|
330
|
+
gap: '30px',
|
|
331
|
+
maxWidth: '1400px',
|
|
332
|
+
margin: '0 auto'
|
|
333
|
+
}}>
|
|
334
|
+
{categoryAnimations.map(animation => <div key={animation.id} style={{
|
|
335
|
+
position: 'relative',
|
|
336
|
+
height: '480px',
|
|
337
|
+
background: 'white',
|
|
338
|
+
borderRadius: '16px',
|
|
339
|
+
overflow: 'hidden',
|
|
340
|
+
boxShadow: '0 10px 40px rgba(0,0,0,0.1)',
|
|
341
|
+
transition: 'transform 0.3s ease, box-shadow 0.3s ease',
|
|
342
|
+
cursor: 'pointer'
|
|
343
|
+
}} onMouseEnter={e => {
|
|
344
|
+
e.currentTarget.style.transform = 'translateY(-5px)';
|
|
345
|
+
e.currentTarget.style.boxShadow = '0 15px 50px rgba(0,0,0,0.15)';
|
|
346
|
+
}} onMouseLeave={e => {
|
|
347
|
+
e.currentTarget.style.transform = 'translateY(0)';
|
|
348
|
+
e.currentTarget.style.boxShadow = '0 10px 40px rgba(0,0,0,0.1)';
|
|
349
|
+
}}>
|
|
350
|
+
<div style={{
|
|
351
|
+
position: 'absolute',
|
|
352
|
+
top: '20px',
|
|
353
|
+
left: '20px',
|
|
354
|
+
zIndex: 10,
|
|
355
|
+
background: bg,
|
|
356
|
+
color: 'white',
|
|
357
|
+
padding: '10px 20px',
|
|
358
|
+
borderRadius: '25px',
|
|
359
|
+
fontSize: '14px',
|
|
360
|
+
fontWeight: '600',
|
|
361
|
+
letterSpacing: '0.5px',
|
|
362
|
+
boxShadow: '0 4px 15px rgba(0,0,0,0.2)'
|
|
363
|
+
}}>
|
|
364
|
+
{animation.name}
|
|
365
|
+
</div>
|
|
366
|
+
<animation.component />
|
|
367
|
+
</div>)}
|
|
368
|
+
</div>
|
|
369
|
+
</div>;
|
|
370
|
+
})}
|
|
371
|
+
</div>,
|
|
372
|
+
parameters: {
|
|
373
|
+
docs: {
|
|
374
|
+
description: {
|
|
375
|
+
story: 'Complete gallery showcasing all particle tree animations organized by category.'
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
}`,...(Ji=(Zi=Le.parameters)==null?void 0:Zi.docs)==null?void 0:Ji.source}}};const za=["Default","OriginalTree","ForestScene","CherryBlossom","AutumnTree","WinterTree","MysticalTree","ClassicDNA","NeonDNA","OrganicDNA","DataDNA","RainbowDNA","MutationDNA","NatureCollection","OrganismsCollection","SeasonalCollection","CompleteGallery"];export{Me as AutumnTree,Ce as CherryBlossom,Ae as ClassicDNA,Le as CompleteGallery,ze as DataDNA,we as Default,Se as ForestScene,Ie as MutationDNA,ke as MysticalTree,Ne as NatureCollection,Oe as NeonDNA,De as OrganicDNA,Ee as OrganismsCollection,Te as OriginalTree,Re as RainbowDNA,Fe as SeasonalCollection,Pe as WinterTree,za as __namedExportsOrder,Da as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._arrayInput_6qbs9_1{margin-bottom:var(--spacing-lg)}._arrayInputLabel_6qbs9_5{display:block;margin-bottom:var(--spacing-md);font-weight:var(--font-weight-semibold);color:var(--color-text);font-size:var(--font-size-lg);letter-spacing:var(--letter-spacing-wide)}._arrayInputItem_6qbs9_14{display:flex;flex-direction:row;gap:var(--spacing-sm);margin-bottom:var(--spacing-md);align-items:flex-start;padding:var(--spacing-md);background:linear-gradient(135deg,var(--color-background-secondary),var(--color-background));border:1px solid var(--color-border);border-radius:var(--radius-lg);width:100%;min-width:0}._arrayInputItem_6qbs9_14:hover{box-shadow:var(--shadow-sm);border-color:var(--color-border-hover);transition:box-shadow .15s ease,border-color .15s ease}._inputWrapper_6qbs9_38{flex:1 1 auto;min-width:0;display:flex}._input_6qbs9_38{width:100%;padding:var(--spacing-sm) var(--spacing-md);border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-background);color:var(--color-text);font-size:var(--font-size-base)}._input_6qbs9_38:hover{border-color:var(--color-border-hover);transition:border-color .15s ease}._input_6qbs9_38:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px #7c3aed1a}._input_6qbs9_38::placeholder{color:var(--color-text-secondary);opacity:.6}._complexItem_6qbs9_71{flex-direction:column;align-items:stretch;gap:var(--spacing-md)}._fieldsWrapper_6qbs9_77{display:flex;gap:var(--spacing-md);flex:1;flex-wrap:wrap}._fieldsWrapper_6qbs9_77>*{flex:1;min-width:200px}._arrayInputItem_6qbs9_14 button{flex-shrink:0;white-space:nowrap}._removeButton_6qbs9_96{color:#ef4444!important;align-self:center;height:fit-content}._removeButton_6qbs9_96:hover{background-color:#ef44441a!important}._complexItem_6qbs9_71 ._removeButton_6qbs9_96{align-self:center}._addButton_6qbs9_112{width:100%}@media (max-width: 768px){._fieldsWrapper_6qbs9_77{flex-direction:column}._fieldsWrapper_6qbs9_77>*{min-width:100%}._complexItem_6qbs9_71 button{align-self:stretch}}[data-theme=dark] ._arrayInputItem_6qbs9_14{background:linear-gradient(135deg,var(--color-background-tertiary),var(--color-background-secondary))}[data-theme=dark] ._input_6qbs9_38{background:var(--color-background);border-color:var(--color-border)}[data-theme=dark] ._input_6qbs9_38:focus{box-shadow:0 0 0 3px #a78bfa1a}
|