burne-ui 1.6.2 → 1.6.4
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/components/composite/AlertDialog/AlertDialog.d.ts +1 -1
- package/dist/components/composite/AlertDialog/alertDialogAnimations.d.ts +1 -1
- package/dist/components/composite/AlertDialog/alertDialogParts.d.ts +2 -2
- package/dist/components/composite/AlertDialog/alertDialogStyles.d.ts +4 -1
- package/dist/components/composite/AlertDialog/alertDialogTypes.d.ts +11 -1
- package/dist/components/composite/AlertDialog/useAlertDialogRootState.d.ts +1 -1
- package/dist/components/composite/Form/Form.d.ts +1 -0
- package/dist/components/composite/Form/formParts.d.ts +17 -30
- package/dist/components/composite/Form/formTypes.d.ts +13 -5
- package/dist/components/composite/Form/index.d.ts +18 -8
- package/dist/components/core/Button/Button.d.ts +4 -2
- package/dist/components/core/Button/buttonTypes.d.ts +1 -0
- package/dist/components/core/Button/index.d.ts +1 -0
- package/dist/components/core/Calendar/Calendar.d.ts +2 -3
- package/dist/components/core/Calendar/calendarParts.d.ts +13 -1
- package/dist/components/core/Calendar/calendarStyles.d.ts +1 -0
- package/dist/components/core/Calendar/calendarTypes.d.ts +41 -4
- package/dist/components/core/Calendar/index.d.ts +13 -1
- package/dist/components/core/ColorPicker/ColorPicker.d.ts +3 -3
- package/dist/components/core/ColorPicker/colorPickerParts.d.ts +11 -1
- package/dist/components/core/ColorPicker/colorPickerTypes.d.ts +18 -16
- package/dist/components/core/ColorPicker/index.d.ts +11 -2
- package/dist/components/core/ComboBox/comboBoxParts.d.ts +8 -5
- package/dist/components/core/ComboBox/comboBoxTypes.d.ts +16 -0
- package/dist/components/core/ComboBox/index.d.ts +8 -2
- package/dist/components/core/Dialog/Dialog.d.ts +1 -1
- package/dist/components/core/Dialog/dialogAnimations.d.ts +1 -1
- package/dist/components/core/Dialog/dialogParts.d.ts +13 -26
- package/dist/components/core/Dialog/dialogStyles.d.ts +4 -1
- package/dist/components/core/Dialog/dialogTypes.d.ts +15 -4
- package/dist/components/core/Dialog/index.d.ts +12 -7
- package/dist/components/core/Dialog/useDialogRootState.d.ts +1 -1
- package/dist/components/core/Drawer/Drawer.d.ts +1 -1
- package/dist/components/core/Drawer/drawerAnimations.d.ts +1 -1
- package/dist/components/core/Drawer/drawerParts.d.ts +12 -22
- package/dist/components/core/Drawer/drawerStyles.d.ts +4 -1
- package/dist/components/core/Drawer/drawerTypes.d.ts +15 -4
- package/dist/components/core/Drawer/index.d.ts +11 -6
- package/dist/components/core/Drawer/useDrawerRootState.d.ts +1 -1
- package/dist/components/core/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/core/Dropdown/dropdownAnimations.d.ts +2 -1
- package/dist/components/core/Dropdown/dropdownParts.d.ts +10 -12
- package/dist/components/core/Dropdown/dropdownSubParts.d.ts +6 -6
- package/dist/components/core/Dropdown/dropdownTypes.d.ts +19 -3
- package/dist/components/core/Dropdown/index.d.ts +13 -5
- package/dist/components/core/Dropdown/useDropdownRootState.d.ts +1 -1
- package/dist/components/core/Field/fieldParts.d.ts +7 -2
- package/dist/components/core/Field/index.d.ts +7 -2
- package/dist/components/core/Link/Link.d.ts +1 -11
- package/dist/components/core/Link/linkAnchorBodyPart.d.ts +2 -1
- package/dist/components/core/Link/linkParts.d.ts +1 -1
- package/dist/components/core/Link/linkTypes.d.ts +15 -5
- package/dist/components/core/ListBox/listBoxParts.d.ts +1 -1
- package/dist/components/core/ListBox/listBoxTypes.d.ts +4 -1
- package/dist/components/core/Pagination/index.d.ts +3 -3
- package/dist/components/core/Pagination/paginationParts.d.ts +14 -18
- package/dist/components/core/Pagination/paginationTypes.d.ts +2 -3
- package/dist/components/core/Popover/Popover.d.ts +1 -1
- package/dist/components/core/Popover/index.d.ts +6 -5
- package/dist/components/core/Popover/popoverAnimations.d.ts +1 -1
- package/dist/components/core/Popover/popoverParts.d.ts +5 -16
- package/dist/components/core/Popover/popoverTypes.d.ts +9 -0
- package/dist/components/core/Popover/usePopoverRootState.d.ts +1 -1
- package/dist/components/core/Select/index.d.ts +8 -2
- package/dist/components/core/Select/selectParts.d.ts +7 -5
- package/dist/components/core/Select/selectTypes.d.ts +16 -0
- package/dist/components/core/Slider/index.d.ts +8 -3
- package/dist/components/core/Slider/sliderThumbParts.d.ts +21 -2
- package/dist/components/core/Slider/sliderTrackParts.d.ts +8 -9
- package/dist/components/core/Slider/sliderTypes.d.ts +8 -5
- package/dist/components/core/Slider/useSliderTrackState.d.ts +1406 -1
- package/dist/components/core/Switch/useSwitchRootState.d.ts +3 -3
- package/dist/components/core/Table/Table.d.ts +3 -3
- package/dist/components/core/Table/index.d.ts +4 -1
- package/dist/components/core/Table/tableAPI.d.ts +3 -0
- package/dist/components/core/Table/tableAnimations.d.ts +3 -1
- package/dist/components/core/Table/tableParts.d.ts +4 -1
- package/dist/components/core/Table/tableStyles.d.ts +4 -0
- package/dist/components/core/Table/tableTypes.d.ts +10 -0
- package/dist/components/core/TimeField/TimeField.d.ts +1 -1
- package/dist/components/core/TimeField/index.d.ts +1 -0
- package/dist/components/core/TimeField/timeFieldParts.d.ts +1 -0
- package/dist/components/core/TimeField/timeFieldStyles.d.ts +5 -1
- package/dist/components/core/TimeField/timeFieldTypes.d.ts +6 -0
- package/dist/components/core/Toast/index.d.ts +7 -7
- package/dist/components/core/Toast/toastParts.d.ts +6 -24
- package/dist/components/core/Toast/toastProvider.d.ts +1 -1
- package/dist/components/core/Toast/toastTypes.d.ts +2 -0
- package/dist/components/core/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/components/core/ToggleButton/index.d.ts +1 -1
- package/dist/components/core/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/core/Tooltip/index.d.ts +1 -0
- package/dist/components/core/Tooltip/tooltipParts.d.ts +1 -0
- package/dist/components/core/Tooltip/tooltipTypes.d.ts +6 -0
- package/dist/components/core/Tooltip/useTooltipRootState.d.ts +1 -1
- package/dist/components/core/utils/mergeAsChildProps.d.ts +21 -0
- package/dist/components/core/utils/portalContainer.d.ts +27 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12742 -11953
- package/dist/internal.cjs +1 -1
- package/dist/internal.js +1 -1
- package/dist/theme/themeConfig.d.ts +1 -0
- package/dist/themeRuntimeContext-Cn9YgR1F.cjs +50 -0
- package/dist/{themeRuntimeContext-DyytHHaS.js → themeRuntimeContext-rM9wHr74.js} +33 -23
- package/dist/ui.css +53 -0
- package/package.json +1 -1
- package/dist/themeRuntimeContext-DpKqCfd0.cjs +0 -50
package/dist/internal.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./themeRuntimeContext-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./themeRuntimeContext-Cn9YgR1F.cjs");exports.COLOR_CSS_VAR=e.COLOR_CSS_VAR;exports.CONTROL_SIZE_LAYOUT=e.CONTROL_SIZE_LAYOUT;exports.ConvergeRippleLayer=e.ConvergeRippleLayer;exports.DARK_COLORS=e.DARK_COLORS;exports.DEFAULT_FONT=e.DEFAULT_FONT;exports.DEFAULT_FONT_MONO=e.DEFAULT_FONT_MONO;exports.FIELD_SHELL_FOCUS_CLASS=e.FIELD_SHELL_FOCUS_CLASS;exports.FIELD_SHELL_TRANSITION_CLASS=e.FIELD_SHELL_TRANSITION_CLASS;exports.FONT_WEIGHT_CSS_VAR=e.FONT_WEIGHT_CSS_VAR;exports.FONT_WEIGHT_DEFAULTS=e.FONT_WEIGHT_DEFAULTS;exports.LIGHT_COLORS=e.LIGHT_COLORS;exports.MOTION_DEFAULTS=e.MOTION_DEFAULTS;exports.SCALE_DEFAULTS=e.SCALE_DEFAULTS;exports.SHADOW_LIFT_MOTION_CLASS=e.SHADOW_LIFT_MOTION_CLASS;exports.TEXT_SCALE_BASES=e.TEXT_SCALE_BASES;exports.activateThemeModePalette=e.activateThemeModePalette;exports.affixSlotClass=e.affixSlotClass;exports.affixToggleMinWClass=e.affixToggleMinWClass;exports.animateInteractiveHoverLift=e.animateInteractiveHoverLift;exports.animateInteractivePressSqueeze=e.animateInteractivePressSqueeze;exports.applyBurneThemeConfig=e.applyBurneThemeConfig;exports.applyCustomThemeTokens=e.applyCustomThemeTokens;exports.applyThemeMode=e.applyThemeMode;exports.applyThemeTokens=e.applyThemeTokens;exports.applyTokens=e.applyTokens;exports.buttonGroupOverlapBorderClasses=e.buttonGroupOverlapBorderClasses;exports.buttonGroupRoundingClasses=e.buttonGroupRoundingClasses;exports.buttonGroupSegmentSurfaceClasses=e.buttonGroupSegmentSurfaceClasses;exports.buttonGroupTextFrameClass=e.buttonGroupTextFrameClass;exports.buttonGroupTextSurfaceClasses=e.buttonGroupTextSurfaceClasses;exports.buttonRippleTone=e.buttonRippleTone;exports.buttonRootClass=e.buttonRootClass;exports.buttonSpinnerClass=e.buttonSpinnerClass;exports.clearCustomThemeTokens=e.clearCustomThemeTokens;exports.clearThemeInlineTokens=e.clearThemeInlineTokens;exports.controlShellClass=e.controlShellClass;exports.createConvergeRippleAtPointer=e.createConvergeRippleAtPointer;exports.createConvergeRippleFromPointer=e.createConvergeRippleFromPointer;exports.createDefaultBurneThemeConfig=e.createDefaultBurneThemeConfig;exports.createDefaultThemeState=e.createDefaultThemeState;exports.ensureModePalettes=e.ensureModePalettes;exports.ensureRippleEase=e.ensureRippleEase;exports.exportBurneThemeConfigSource=e.exportBurneThemeConfigSource;exports.exportBurneThemeCss=e.exportBurneThemeCss;exports.exportDefaultBurneThemeConfigSource=e.exportDefaultBurneThemeConfigSource;exports.exportThemeCss=e.exportThemeCss;exports.fieldShellHoverClass=e.fieldShellHoverClass;exports.firstLevelHoverShadow=e.firstLevelHoverShadow;exports.gsap=e.gsapWithCSS;exports.initElementShadow=e.initElementShadow;exports.killMotion=e.killMotion;exports.mergeThemeTokenOverrides=e.mergeThemeTokenOverrides;exports.patchThemeColor=e.patchThemeColor;exports.prefersReducedInteractiveHoverLift=e.prefersReducedInteractiveHoverLift;exports.readControlHeightPx=e.readControlHeightPx;exports.readShadowSize=e.readShadowSize;exports.resolveCustomThemeTokens=e.resolveCustomThemeTokens;exports.resolveTheme=e.resolveTheme;exports.resolveThemeTokenState=e.resolveThemeTokenState;exports.secondLevelShadow=e.secondLevelShadow;exports.shadowBase=e.shadowBase;exports.shadowLarge=e.shadowLarge;exports.shadowMid=e.shadowMid;exports.shadowNone=e.shadowNone;exports.shouldSkipInteractiveHoverLift=e.shouldSkipInteractiveHoverLift;exports.themeTokenStateToConfig=e.themeTokenStateToConfig;exports.useBurneThemeRuntime=e.useBurneThemeRuntime;exports.useBurneThemeRuntimeOptional=e.useBurneThemeRuntimeOptional;exports.useConvergeRipples=e.useConvergeRipples;exports.useFieldShellHoverLift=e.useFieldShellHoverLift;exports.useGSAP=e.useGSAP;exports.useInteractiveHoverLiftContainerHandlers=e.useInteractiveHoverLiftContainerHandlers;exports.usePersistentElShadow=e.usePersistentElShadow;exports.useSecondLevelShadow=e.useSecondLevelShadow;exports.useSecondLevelShadowContainer=e.useSecondLevelShadowContainer;
|
package/dist/internal.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as s, a as o, b as t, D as r, c as n, d as l, F as T, e as i, f as S, g as u, L as C, M as h, S as p, h as m, T as L, i as d, j as _, k as v, l as O, m as f, n as c, o as A, p as E, q as R, r as g, s as I, t as F, u as H, v as k, w as D, x as w, y as N, z as x, A as B, B as b, E as G, G as M, H as P, I as U, J as y, K as W, N as z, O as V, P as j, Q as q, R as K, U as X, V as Y, W as Z, X as J, Y as Q, Z as $, _ as ee, $ as ae, a0 as se, a1 as oe, a2 as te, a3 as re, a4 as ne, a5 as le, a6 as Te, a7 as ie, a8 as Se, a9 as ue, aa as Ce, ab as he, ac as pe, ad as me, ae as Le, af as de, ag as _e, ah as ve, ai as Oe, aj as fe, ak as ce } from "./themeRuntimeContext-
|
|
1
|
+
import { C as s, a as o, b as t, D as r, c as n, d as l, F as T, e as i, f as S, g as u, L as C, M as h, S as p, h as m, T as L, i as d, j as _, k as v, l as O, m as f, n as c, o as A, p as E, q as R, r as g, s as I, t as F, u as H, v as k, w as D, x as w, y as N, z as x, A as B, B as b, E as G, G as M, H as P, I as U, J as y, K as W, N as z, O as V, P as j, Q as q, R as K, U as X, V as Y, W as Z, X as J, Y as Q, Z as $, _ as ee, $ as ae, a0 as se, a1 as oe, a2 as te, a3 as re, a4 as ne, a5 as le, a6 as Te, a7 as ie, a8 as Se, a9 as ue, aa as Ce, ab as he, ac as pe, ad as me, ae as Le, af as de, ag as _e, ah as ve, ai as Oe, aj as fe, ak as ce } from "./themeRuntimeContext-rM9wHr74.js";
|
|
2
2
|
export {
|
|
3
3
|
s as COLOR_CSS_VAR,
|
|
4
4
|
o as CONTROL_SIZE_LAYOUT,
|
|
@@ -93,6 +93,7 @@ export declare function mergeThemeTokenOverrides(overrides: ThemeTokenOverrides
|
|
|
93
93
|
/**
|
|
94
94
|
* Apply a `BurneThemeConfig` to the document.
|
|
95
95
|
* Colors for the resolved mode come from `colors[mode]`.
|
|
96
|
+
* No-op during SSR (no `document`).
|
|
96
97
|
*/
|
|
97
98
|
export declare function applyBurneThemeConfig(config: BurneThemeConfig, root?: HTMLElement, resolvedTheme?: ThemeMode): void;
|
|
98
99
|
export declare function resolveTheme(theme?: BurneThemeMode | undefined): ThemeMode;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";const mr=require("react/jsx-runtime"),P=require("react");function Mo(n){var e,t,r="";if(typeof n=="string"||typeof n=="number")r+=n;else if(typeof n=="object")if(Array.isArray(n)){var o=n.length;for(e=0;e<o;e++)n[e]&&(t=Mo(n[e]))&&(r&&(r+=" "),r+=t)}else for(t in n)n[t]&&(r&&(r+=" "),r+=t);return r}function Fs(){for(var n,e,t=0,r="",o=arguments.length;t<o;t++)(n=arguments[t])&&(e=Mo(n))&&(r&&(r+=" "),r+=e);return r}const Is=(n,e)=>{const t=new Array(n.length+e.length);for(let r=0;r<n.length;r++)t[r]=n[r];for(let r=0;r<e.length;r++)t[n.length+r]=e[r];return t},Ms=(n,e)=>({classGroupId:n,validator:e}),zo=(n=new Map,e=null,t)=>({nextPart:n,validators:e,classGroupId:t}),yr="-",eo=[],zs="arbitrary..",Ns=n=>{const e=Gs(n),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=n;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return Bs(s);const a=s.split(yr),c=a[0]===""&&a.length>1?1:0;return No(a,c,e)},getConflictingClassGroupIds:(s,a)=>{if(a){const c=r[s],l=t[s];return c?l?Is(l,c):c:l||eo}return t[s]||eo}}},No=(n,e,t)=>{if(n.length-e===0)return t.classGroupId;const o=n[e],i=t.nextPart.get(o);if(i){const l=No(n,e+1,i);if(l)return l}const s=t.validators;if(s===null)return;const a=e===0?n.join(yr):n.slice(e).join(yr),c=s.length;for(let l=0;l<c;l++){const u=s[l];if(u.validator(a))return u.classGroupId}},Bs=n=>n.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=n.slice(1,-1),t=e.indexOf(":"),r=e.slice(0,t);return r?zs+r:void 0})(),Gs=n=>{const{theme:e,classGroups:t}=n;return Us(t,e)},Us=(n,e)=>{const t=zo();for(const r in n){const o=n[r];Tn(o,t,r,e)}return t},Tn=(n,e,t,r)=>{const o=n.length;for(let i=0;i<o;i++){const s=n[i];Hs(s,e,t,r)}},Hs=(n,e,t,r)=>{if(typeof n=="string"){Vs(n,e,t);return}if(typeof n=="function"){$s(n,e,t,r);return}Ws(n,e,t,r)},Vs=(n,e,t)=>{const r=n===""?e:Bo(e,n);r.classGroupId=t},$s=(n,e,t,r)=>{if(Xs(n)){Tn(n(r),e,t,r);return}e.validators===null&&(e.validators=[]),e.validators.push(Ms(t,n))},Ws=(n,e,t,r)=>{const o=Object.entries(n),i=o.length;for(let s=0;s<i;s++){const[a,c]=o[s];Tn(c,Bo(e,a),t,r)}},Bo=(n,e)=>{let t=n;const r=e.split(yr),o=r.length;for(let i=0;i<o;i++){const s=r[i];let a=t.nextPart.get(s);a||(a=zo(),t.nextPart.set(s,a)),t=a}return t},Xs=n=>"isThemeGetter"in n&&n.isThemeGetter===!0,qs=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,t=Object.create(null),r=Object.create(null);const o=(i,s)=>{t[i]=s,e++,e>n&&(e=0,r=t,t=Object.create(null))};return{get(i){let s=t[i];if(s!==void 0)return s;if((s=r[i])!==void 0)return o(i,s),s},set(i,s){i in t?t[i]=s:o(i,s)}}},nn="!",to=":",Ys=[],ro=(n,e,t,r,o)=>({modifiers:n,hasImportantModifier:e,baseClassName:t,maybePostfixModifierPosition:r,isExternal:o}),js=n=>{const{prefix:e,experimentalParseClassName:t}=n;let r=o=>{const i=[];let s=0,a=0,c=0,l;const u=o.length;for(let d=0;d<u;d++){const m=o[d];if(s===0&&a===0){if(m===to){i.push(o.slice(c,d)),c=d+1;continue}if(m==="/"){l=d;continue}}m==="["?s++:m==="]"?s--:m==="("?a++:m===")"&&a--}const f=i.length===0?o:o.slice(c);let p=f,h=!1;f.endsWith(nn)?(p=f.slice(0,-1),h=!0):f.startsWith(nn)&&(p=f.slice(1),h=!0);const g=l&&l>c?l-c:void 0;return ro(i,h,p,g)};if(e){const o=e+to,i=r;r=s=>s.startsWith(o)?i(s.slice(o.length)):ro(Ys,!1,s,void 0,!0)}if(t){const o=r;r=i=>t({className:i,parseClassName:o})}return r},Zs=n=>{const e=new Map;return n.orderSensitiveModifiers.forEach((t,r)=>{e.set(t,1e6+r)}),t=>{const r=[];let o=[];for(let i=0;i<t.length;i++){const s=t[i],a=s[0]==="[",c=e.has(s);a||c?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(s)):o.push(s)}return o.length>0&&(o.sort(),r.push(...o)),r}},Ks=n=>({cache:qs(n.cacheSize),parseClassName:js(n),sortModifiers:Zs(n),postfixLookupClassGroupIds:Qs(n),...Ns(n)}),Qs=n=>{const e=Object.create(null),t=n.postfixLookupClassGroups;if(t)for(let r=0;r<t.length;r++)e[t[r]]=!0;return e},Js=/\s+/,ea=(n,e)=>{const{parseClassName:t,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i,postfixLookupClassGroupIds:s}=e,a=[],c=n.trim().split(Js);let l="";for(let u=c.length-1;u>=0;u-=1){const f=c[u],{isExternal:p,modifiers:h,hasImportantModifier:g,baseClassName:d,maybePostfixModifierPosition:m}=t(f);if(p){l=f+(l.length>0?" "+l:l);continue}let b=!!m,_;if(b){const S=d.substring(0,m);_=r(S);const v=_&&s[_]?r(d):void 0;v&&v!==_&&(_=v,b=!1)}else _=r(d);if(!_){if(!b){l=f+(l.length>0?" "+l:l);continue}if(_=r(d),!_){l=f+(l.length>0?" "+l:l);continue}b=!1}const y=h.length===0?"":h.length===1?h[0]:i(h).join(":"),T=g?y+nn:y,x=T+_;if(a.indexOf(x)>-1)continue;a.push(x);const k=o(_,b);for(let S=0;S<k.length;++S){const v=k[S];a.push(T+v)}l=f+(l.length>0?" "+l:l)}return l},ta=(...n)=>{let e=0,t,r,o="";for(;e<n.length;)(t=n[e++])&&(r=Go(t))&&(o&&(o+=" "),o+=r);return o},Go=n=>{if(typeof n=="string")return n;let e,t="";for(let r=0;r<n.length;r++)n[r]&&(e=Go(n[r]))&&(t&&(t+=" "),t+=e);return t},no=(n,...e)=>{let t,r,o,i;const s=c=>{const l=e.reduce((u,f)=>f(u),n());return t=Ks(l),r=t.cache.get,o=t.cache.set,i=a,a(c)},a=c=>{const l=r(c);if(l)return l;const u=ea(c,t);return o(c,u),u};return i=s,(...c)=>i(ta(...c))},ra=[],te=n=>{const e=t=>t[n]||ra;return e.isThemeGetter=!0,e},Uo=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ho=/^\((?:(\w[\w-]*):)?(.+)\)$/i,na=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,oa=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ia=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,sa=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,aa=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,la=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,$e=n=>na.test(n),L=n=>!!n&&!Number.isNaN(Number(n)),Fe=n=>!!n&&Number.isInteger(Number(n)),Wr=n=>n.endsWith("%")&&L(n.slice(0,-1)),Be=n=>oa.test(n),Vo=()=>!0,ca=n=>ia.test(n)&&!sa.test(n),wn=()=>!1,ua=n=>aa.test(n),fa=n=>la.test(n),da=n=>!C(n)&&!E(n),ha=n=>n.startsWith("@container")&&(n[10]==="/"&&n[11]!==void 0||n[11]==="s"&&n[16]!==void 0&&n.startsWith("-size/",10)||n[11]==="n"&&n[18]!==void 0&&n.startsWith("-normal/",10)),pa=n=>et(n,Xo,wn),C=n=>Uo.test(n),rt=n=>et(n,qo,ca),oo=n=>et(n,Ta,L),ga=n=>et(n,jo,Vo),ma=n=>et(n,Yo,wn),io=n=>et(n,$o,wn),_a=n=>et(n,Wo,fa),sr=n=>et(n,Zo,ua),E=n=>Ho.test(n),Lt=n=>gt(n,qo),ba=n=>gt(n,Yo),so=n=>gt(n,$o),va=n=>gt(n,Xo),ya=n=>gt(n,Wo),ar=n=>gt(n,Zo,!0),xa=n=>gt(n,jo,!0),et=(n,e,t)=>{const r=Uo.exec(n);return r?r[1]?e(r[1]):t(r[2]):!1},gt=(n,e,t=!1)=>{const r=Ho.exec(n);return r?r[1]?e(r[1]):t:!1},$o=n=>n==="position"||n==="percentage",Wo=n=>n==="image"||n==="url",Xo=n=>n==="length"||n==="size"||n==="bg-size",qo=n=>n==="length",Ta=n=>n==="number",Yo=n=>n==="family-name",jo=n=>n==="number"||n==="weight",Zo=n=>n==="shadow",ao=()=>{const n=te("color"),e=te("font"),t=te("text"),r=te("font-weight"),o=te("tracking"),i=te("leading"),s=te("breakpoint"),a=te("container"),c=te("spacing"),l=te("radius"),u=te("shadow"),f=te("inset-shadow"),p=te("text-shadow"),h=te("drop-shadow"),g=te("blur"),d=te("perspective"),m=te("aspect"),b=te("ease"),_=te("animate"),y=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...T(),E,C],k=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],v=()=>[E,C,c],w=()=>[$e,"full","auto",...v()],O=()=>[Fe,"none","subgrid",E,C],N=()=>["auto",{span:["full",Fe,E,C]},Fe,E,C],R=()=>[Fe,"auto",E,C],z=()=>["auto","min","max","fr",E,C],B=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],F=()=>["start","end","center","stretch","center-safe","end-safe"],A=()=>["auto",...v()],M=()=>[$e,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...v()],Z=()=>[$e,"screen","full","dvw","lvw","svw","min","max","fit",...v()],ye=()=>[$e,"screen","full","lh","dvh","lvh","svh","min","max","fit",...v()],D=()=>[n,E,C],re=()=>[...T(),so,io,{position:[E,C]}],xe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ue=()=>["auto","cover","contain",va,pa,{size:[E,C]}],ne=()=>[Wr,Lt,rt],G=()=>["","none","full",l,E,C],ie=()=>["",L,Lt,rt],_t=()=>["solid","dashed","dotted","double"],rr=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],J=()=>[L,Wr,so,io],ae=()=>["","none",g,E,C],nr=()=>["none",L,E,C],or=()=>["none",L,E,C],$r=()=>[L,E,C],ir=()=>[$e,"full",...v()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Be],breakpoint:[Be],color:[Vo],container:[Be],"drop-shadow":[Be],ease:["in","out","in-out"],font:[da],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Be],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Be],shadow:[Be],spacing:["px",L],text:[Be],"text-shadow":[Be],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",$e,C,E,m]}],container:["container"],"container-type":[{"@container":["","normal","size",E,C]}],"container-named":[ha],columns:[{columns:[L,C,E,a]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[Fe,"auto",E,C]}],basis:[{basis:[$e,"full","auto",a,...v()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[L,$e,"auto","initial","none",C]}],grow:[{grow:["",L,E,C]}],shrink:[{shrink:["",L,E,C]}],order:[{order:[Fe,"first","last","none",E,C]}],"grid-cols":[{"grid-cols":O()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":O()}],"row-start-end":[{row:N()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":z()}],"auto-rows":[{"auto-rows":z()}],gap:[{gap:v()}],"gap-x":[{"gap-x":v()}],"gap-y":[{"gap-y":v()}],"justify-content":[{justify:[...B(),"normal"]}],"justify-items":[{"justify-items":[...F(),"normal"]}],"justify-self":[{"justify-self":["auto",...F()]}],"align-content":[{content:["normal",...B()]}],"align-items":[{items:[...F(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...F(),{baseline:["","last"]}]}],"place-content":[{"place-content":B()}],"place-items":[{"place-items":[...F(),"baseline"]}],"place-self":[{"place-self":["auto",...F()]}],p:[{p:v()}],px:[{px:v()}],py:[{py:v()}],ps:[{ps:v()}],pe:[{pe:v()}],pbs:[{pbs:v()}],pbe:[{pbe:v()}],pt:[{pt:v()}],pr:[{pr:v()}],pb:[{pb:v()}],pl:[{pl:v()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mbs:[{mbs:A()}],mbe:[{mbe:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":v()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":v()}],"space-y-reverse":["space-y-reverse"],size:[{size:M()}],"inline-size":[{inline:["auto",...Z()]}],"min-inline-size":[{"min-inline":["auto",...Z()]}],"max-inline-size":[{"max-inline":["none",...Z()]}],"block-size":[{block:["auto",...ye()]}],"min-block-size":[{"min-block":["auto",...ye()]}],"max-block-size":[{"max-block":["none",...ye()]}],w:[{w:[a,"screen",...M()]}],"min-w":[{"min-w":[a,"screen","none",...M()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...M()]}],h:[{h:["screen","lh",...M()]}],"min-h":[{"min-h":["screen","lh","none",...M()]}],"max-h":[{"max-h":["screen","lh",...M()]}],"font-size":[{text:["base",t,Lt,rt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,xa,ga]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Wr,C]}],"font-family":[{font:[ba,ma,e]}],"font-features":[{"font-features":[C]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,E,C]}],"line-clamp":[{"line-clamp":[L,"none",E,oo]}],leading:[{leading:[i,...v()]}],"list-image":[{"list-image":["none",E,C]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",E,C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._t(),"wavy"]}],"text-decoration-thickness":[{decoration:[L,"from-font","auto",E,rt]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[L,"auto",E,C]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"tab-size":[{tab:[Fe,E,C]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",E,C]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",E,C]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:re()}],"bg-repeat":[{bg:xe()}],"bg-size":[{bg:ue()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Fe,E,C],radial:["",E,C],conic:[Fe,E,C]},ya,_a]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:ne()}],"gradient-via-pos":[{via:ne()}],"gradient-to-pos":[{to:ne()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:G()}],"rounded-s":[{"rounded-s":G()}],"rounded-e":[{"rounded-e":G()}],"rounded-t":[{"rounded-t":G()}],"rounded-r":[{"rounded-r":G()}],"rounded-b":[{"rounded-b":G()}],"rounded-l":[{"rounded-l":G()}],"rounded-ss":[{"rounded-ss":G()}],"rounded-se":[{"rounded-se":G()}],"rounded-ee":[{"rounded-ee":G()}],"rounded-es":[{"rounded-es":G()}],"rounded-tl":[{"rounded-tl":G()}],"rounded-tr":[{"rounded-tr":G()}],"rounded-br":[{"rounded-br":G()}],"rounded-bl":[{"rounded-bl":G()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[..._t(),"hidden","none"]}],"divide-style":[{divide:[..._t(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[..._t(),"none","hidden"]}],"outline-offset":[{"outline-offset":[L,E,C]}],"outline-w":[{outline:["",L,Lt,rt]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",u,ar,sr]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",f,ar,sr]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[L,rt]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",p,ar,sr]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[L,E,C]}],"mix-blend":[{"mix-blend":[...rr(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":rr()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[L]}],"mask-image-linear-from-pos":[{"mask-linear-from":J()}],"mask-image-linear-to-pos":[{"mask-linear-to":J()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":J()}],"mask-image-t-to-pos":[{"mask-t-to":J()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":J()}],"mask-image-r-to-pos":[{"mask-r-to":J()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":J()}],"mask-image-b-to-pos":[{"mask-b-to":J()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":J()}],"mask-image-l-to-pos":[{"mask-l-to":J()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":J()}],"mask-image-x-to-pos":[{"mask-x-to":J()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":J()}],"mask-image-y-to-pos":[{"mask-y-to":J()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[E,C]}],"mask-image-radial-from-pos":[{"mask-radial-from":J()}],"mask-image-radial-to-pos":[{"mask-radial-to":J()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[L]}],"mask-image-conic-from-pos":[{"mask-conic-from":J()}],"mask-image-conic-to-pos":[{"mask-conic-to":J()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:re()}],"mask-repeat":[{mask:xe()}],"mask-size":[{mask:ue()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",E,C]}],filter:[{filter:["","none",E,C]}],blur:[{blur:ae()}],brightness:[{brightness:[L,E,C]}],contrast:[{contrast:[L,E,C]}],"drop-shadow":[{"drop-shadow":["","none",h,ar,sr]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",L,E,C]}],"hue-rotate":[{"hue-rotate":[L,E,C]}],invert:[{invert:["",L,E,C]}],saturate:[{saturate:[L,E,C]}],sepia:[{sepia:["",L,E,C]}],"backdrop-filter":[{"backdrop-filter":["","none",E,C]}],"backdrop-blur":[{"backdrop-blur":ae()}],"backdrop-brightness":[{"backdrop-brightness":[L,E,C]}],"backdrop-contrast":[{"backdrop-contrast":[L,E,C]}],"backdrop-grayscale":[{"backdrop-grayscale":["",L,E,C]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[L,E,C]}],"backdrop-invert":[{"backdrop-invert":["",L,E,C]}],"backdrop-opacity":[{"backdrop-opacity":[L,E,C]}],"backdrop-saturate":[{"backdrop-saturate":[L,E,C]}],"backdrop-sepia":[{"backdrop-sepia":["",L,E,C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":v()}],"border-spacing-x":[{"border-spacing-x":v()}],"border-spacing-y":[{"border-spacing-y":v()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",E,C]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[L,"initial",E,C]}],ease:[{ease:["linear","initial",b,E,C]}],delay:[{delay:[L,E,C]}],animate:[{animate:["none",_,E,C]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[d,E,C]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:nr()}],"rotate-x":[{"rotate-x":nr()}],"rotate-y":[{"rotate-y":nr()}],"rotate-z":[{"rotate-z":nr()}],scale:[{scale:or()}],"scale-x":[{"scale-x":or()}],"scale-y":[{"scale-y":or()}],"scale-z":[{"scale-z":or()}],"scale-3d":["scale-3d"],skew:[{skew:$r()}],"skew-x":[{"skew-x":$r()}],"skew-y":[{"skew-y":$r()}],transform:[{transform:[E,C,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ir()}],"translate-x":[{"translate-x":ir()}],"translate-y":[{"translate-y":ir()}],"translate-z":[{"translate-z":ir()}],"translate-none":["translate-none"],zoom:[{zoom:[Fe,E,C]}],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",E,C]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":D()}],"scrollbar-track-color":[{"scrollbar-track":D()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mbs":[{"scroll-mbs":v()}],"scroll-mbe":[{"scroll-mbe":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pbs":[{"scroll-pbs":v()}],"scroll-pbe":[{"scroll-pbe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",E,C]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[L,Lt,rt,oo]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},wa=(n,{cacheSize:e,prefix:t,experimentalParseClassName:r,extend:o={},override:i={}})=>(vt(n,"cacheSize",e),vt(n,"prefix",t),vt(n,"experimentalParseClassName",r),lr(n.theme,i.theme),lr(n.classGroups,i.classGroups),lr(n.conflictingClassGroups,i.conflictingClassGroups),lr(n.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),vt(n,"postfixLookupClassGroups",i.postfixLookupClassGroups),vt(n,"orderSensitiveModifiers",i.orderSensitiveModifiers),cr(n.theme,o.theme),cr(n.classGroups,o.classGroups),cr(n.conflictingClassGroups,o.conflictingClassGroups),cr(n.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),on(n,o,"postfixLookupClassGroups"),on(n,o,"orderSensitiveModifiers"),n),vt=(n,e,t)=>{t!==void 0&&(n[e]=t)},lr=(n,e)=>{if(e)for(const t in e)vt(n,t,e[t])},cr=(n,e)=>{if(e)for(const t in e)on(n,e,t)},on=(n,e,t)=>{const r=e[t];r!==void 0&&(n[t]=n[t]?n[t].concat(r):r)},Sa=(n,...e)=>typeof n=="function"?no(ao,n,...e):no(()=>wa(ao(),n),...e),ka=["none","base","mid","large"],Jt={base:"--shadow-base",mid:"--shadow-mid",large:"--shadow-large"};function Ca(n){return`var(--shadow-${n})`}const Ea={namespace:"burne",tailwindBridge:{"font-sans":"font-family-sans","font-mono":"font-family-mono","spacing-xsmall":"space-xsmall","spacing-small":"space-small","spacing-base":"space-base","spacing-plus":"space-plus","spacing-mid":"space-mid","spacing-large":"space-large","spacing-xlarge":"space-xlarge","radius-xsmall":"radius-value-xsmall","radius-small":"radius-value-small","radius-base":"radius-value-base","radius-mid":"radius-value-mid","radius-large":"radius-value-large","color-background":"color-background","color-foreground":"color-foreground","color-muted":"color-muted","color-surface":"color-surface","color-border":"color-border","border-token":"color-border","color-primary":"color-primary","color-primary-foreground":"color-primary-foreground","color-primary-hover":"color-primary-hover","color-default-hover":"color-default-hover","color-primary-tint":"color-primary-tint","color-primary-tint-strong":"color-primary-tint-strong","color-indicator":"color-indicator","color-indicator-foreground":"color-indicator-foreground","color-secondary":"color-secondary","color-secondary-foreground":"color-secondary-foreground","color-secondary-hover":"color-secondary-hover","color-tertiary":"color-tertiary","color-tertiary-foreground":"color-tertiary-foreground","color-tertiary-hover":"color-tertiary-hover","color-focus-ring":"color-focus-ring","color-converge-ripple-primary-fill":"color-converge-ripple-primary-fill","color-converge-ripple-neutral":"color-converge-ripple-neutral","color-converge-ripple-neutral-muted":"color-converge-ripple-neutral-muted","color-converge-ripple-danger":"color-converge-ripple-danger","color-converge-ripple-info":"color-converge-ripple-info","color-converge-ripple-success":"color-converge-ripple-success","color-converge-ripple-warning":"color-converge-ripple-warning","color-danger":"color-danger","color-danger-foreground":"color-danger-foreground","color-danger-fill-hover":"color-danger-fill-hover","color-success":"color-success","color-success-foreground":"color-success-foreground","color-success-fill-hover":"color-success-fill-hover","color-info":"color-info","color-info-foreground":"color-info-foreground","color-info-fill-hover":"color-info-fill-hover","color-warning":"color-warning","color-warning-foreground":"color-warning-foreground","color-warning-fill-hover":"color-warning-fill-hover","color-surface-tint-danger":"color-surface-tint-danger","color-surface-tint-success":"color-surface-tint-success","color-surface-tint-info":"color-surface-tint-info","color-surface-tint-warning":"color-surface-tint-warning","color-surface-tint-danger-hover":"color-surface-tint-danger-hover","color-surface-tint-success-hover":"color-surface-tint-success-hover","color-surface-tint-info-hover":"color-surface-tint-info-hover","color-surface-tint-warning-hover":"color-surface-tint-warning-hover","icon-xsmall":"icon-size-xsmall","icon-small":"icon-size-small","icon-base":"icon-size-base","icon-mid":"icon-size-mid","icon-large":"icon-size-large","icon-xlarge":"icon-size-xlarge","icon-2xlarge":"icon-size-2xlarge"}},Oa=["xsmall","small","base","plus","mid","large","xlarge"],Da=["xsmall","small","base","mid","large"],Pa=["small","mid","tools","accent-header","header-1","header-2","large"],Aa=Sa({extend:{theme:{spacing:[...Oa],radius:[...Da],text:[...Pa]}}});function U(...n){return Aa(Fs(n))}function Ko(n,e){return e==null||!(e instanceof Node)?!0:!n.contains(e)}function Ge(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Qo(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*!
|
|
2
|
+
* GSAP 3.15.0
|
|
3
|
+
* https://gsap.com
|
|
4
|
+
*
|
|
5
|
+
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
|
6
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
7
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
8
|
+
*/var Ce={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Ht={duration:.5,overwrite:!1,delay:0},Sn,se,$,Ae=1e8,V=1/Ae,sn=Math.PI*2,La=sn/4,Ra=0,Jo=Math.sqrt,Fa=Math.cos,Ia=Math.sin,oe=function(e){return typeof e=="string"},Y=function(e){return typeof e=="function"},He=function(e){return typeof e=="number"},kn=function(e){return typeof e>"u"},Ne=function(e){return typeof e=="object"},pe=function(e){return e!==!1},Cn=function(){return typeof window<"u"},ur=function(e){return Y(e)||oe(e)},ei=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},ce=Array.isArray,Ma=/random\([^)]+\)/g,za=/,\s*/g,lo=/(?:-?\.?\d|\.)+/gi,ti=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,yt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Xr=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ri=/[+-]=-?[.\d]+/,Na=/[^,'"\[\]\s]+/gi,Ba=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,X,Ie,an,En,Ee={},xr={},ni,oi=function(e){return(xr=kt(e,Ee))&&be},On=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Vt=function(e,t){return!t&&console.warn(e)},ii=function(e,t){return e&&(Ee[e]=t)&&xr&&(xr[e]=t)||Ee},$t=function(){return 0},Ga={suppressEvents:!0,isStart:!0,kill:!1},_r={suppressEvents:!0,kill:!1},Ua={suppressEvents:!0},Dn={},je=[],ln={},si,Te={},qr={},co=30,br=[],Pn="",An=function(e){var t=e[0],r,o;if(Ne(t)||Y(t)||(e=[e]),!(r=(t._gsap||{}).harness)){for(o=br.length;o--&&!br[o].targetTest(t););r=br[o]}for(o=e.length;o--;)e[o]&&(e[o]._gsap||(e[o]._gsap=new Oi(e[o],r)))||e.splice(o,1);return e},ct=function(e){return e._gsap||An(Le(e))[0]._gsap},ai=function(e,t,r){return(r=e[t])&&Y(r)?e[t]():kn(r)&&e.getAttribute&&e.getAttribute(t)||r},ge=function(e,t){return(e=e.split(",")).forEach(t)||e},K=function(e){return Math.round(e*1e5)/1e5||0},W=function(e){return Math.round(e*1e7)/1e7||0},Tt=function(e,t){var r=t.charAt(0),o=parseFloat(t.substr(2));return e=parseFloat(e),r==="+"?e+o:r==="-"?e-o:r==="*"?e*o:e/o},Ha=function(e,t){for(var r=t.length,o=0;e.indexOf(t[o])<0&&++o<r;);return o<r},Tr=function(){var e=je.length,t=je.slice(0),r,o;for(ln={},je.length=0,r=0;r<e;r++)o=t[r],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},Ln=function(e){return!!(e._initted||e._startAt||e.add)},li=function(e,t,r,o){je.length&&!se&&Tr(),e.render(t,r,!!(se&&t<0&&Ln(e))),je.length&&!se&&Tr()},ci=function(e){var t=parseFloat(e);return(t||t===0)&&(e+"").match(Na).length<2?t:oe(e)?e.trim():e},ui=function(e){return e},Oe=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},Va=function(e){return function(t,r){for(var o in r)o in t||o==="duration"&&e||o==="ease"||(t[o]=r[o])}},kt=function(e,t){for(var r in t)e[r]=t[r];return e},uo=function n(e,t){for(var r in t)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Ne(t[r])?n(e[r]||(e[r]={}),t[r]):t[r]);return e},wr=function(e,t){var r={},o;for(o in e)o in t||(r[o]=e[o]);return r},Nt=function(e){var t=e.parent||X,r=e.keyframes?Va(ce(e.keyframes)):Oe;if(pe(e.inherit))for(;t;)r(e,t.vars.defaults),t=t.parent||t._dp;return e},$a=function(e,t){for(var r=e.length,o=r===t.length;o&&r--&&e[r]===t[r];);return r<0},fi=function(e,t,r,o,i){var s=e[o],a;if(i)for(a=t[i];s&&s[i]>a;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=e[r],e[r]=t),t._next?t._next._prev=t:e[o]=t,t._prev=s,t.parent=t._dp=e,t},Lr=function(e,t,r,o){r===void 0&&(r="_first"),o===void 0&&(o="_last");var i=t._prev,s=t._next;i?i._next=s:e[r]===t&&(e[r]=s),s?s._prev=i:e[o]===t&&(e[o]=i),t._next=t._prev=t.parent=null},Ke=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},ut=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},Wa=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},cn=function(e,t,r,o){return e._startAt&&(se?e._startAt.revert(_r):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,o))},Xa=function n(e){return!e||e._ts&&n(e.parent)},fo=function(e){return e._repeat?Ct(e._tTime,e=e.duration()+e._rDelay)*e:0},Ct=function(e,t){var r=Math.floor(e=W(e/t));return e&&r===e?r-1:r},Sr=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Rr=function(e){return e._end=W(e._start+(e._tDur/Math.abs(e._ts||e._rts||V)||0))},Fr=function(e,t){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=W(r._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Rr(e),r._dirty||ut(r,e)),e},di=function(e,t){var r;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(r=Sr(e.rawTime(),t),(!t._dur||er(0,t.totalDuration(),r)-t._tTime>V)&&t.render(r,!0)),ut(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-V}},Me=function(e,t,r,o){return t.parent&&Ke(t),t._start=W((He(r)?r:r||e!==X?Pe(e,r,t):e._time)+t._delay),t._end=W(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),fi(e,t,"_first","_last",e._sort?"_start":0),un(t)||(e._recent=t),o||di(e,t),e._ts<0&&Fr(e,e._tTime),e},hi=function(e,t){return(Ee.ScrollTrigger||On("scrollTrigger",t))&&Ee.ScrollTrigger.create(t,e)},pi=function(e,t,r,o,i){if(Fn(e,t,i),!e._initted)return 1;if(!r&&e._pt&&!se&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&si!==we.frame)return je.push(e),e._lazy=[i,o],1},qa=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},un=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Ya=function(e,t,r,o){var i=e.ratio,s=t<0||!t&&(!e._start&&qa(e)&&!(!e._initted&&un(e))||(e._ts<0||e._dp._ts<0)&&!un(e))?0:1,a=e._rDelay,c=0,l,u,f;if(a&&e._repeat&&(c=er(0,e._tDur,t),u=Ct(c,a),e._yoyo&&u&1&&(s=1-s),u!==Ct(e._tTime,a)&&(i=1-s,e.vars.repeatRefresh&&e._initted&&e.invalidate())),s!==i||se||o||e._zTime===V||!t&&e._zTime){if(!e._initted&&pi(e,t,o,r,c))return;for(f=e._zTime,e._zTime=t||(r?V:0),r||(r=t&&!f),e.ratio=s,e._from&&(s=1-s),e._time=0,e._tTime=c,l=e._pt;l;)l.r(s,l.d),l=l._next;t<0&&cn(e,t,r,!0),e._onUpdate&&!r&&Se(e,"onUpdate"),c&&e._repeat&&!r&&e.parent&&Se(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===s&&(s&&Ke(e,1),!r&&!se&&(Se(e,s?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},ja=function(e,t,r){var o;if(r>t)for(o=e._first;o&&o._start<=r;){if(o.data==="isPause"&&o._start>t)return o;o=o._next}else for(o=e._last;o&&o._start>=r;){if(o.data==="isPause"&&o._start<t)return o;o=o._prev}},Et=function(e,t,r,o){var i=e._repeat,s=W(t)||0,a=e._tTime/e._tDur;return a&&!o&&(e._time*=s/e._dur),e._dur=s,e._tDur=i?i<0?1e10:W(s*(i+1)+e._rDelay*i):s,a>0&&!o&&Fr(e,e._tTime=e._tDur*a),e.parent&&Rr(e),r||ut(e.parent,e),e},ho=function(e){return e instanceof he?ut(e):Et(e,e._dur)},Za={_start:0,endTime:$t,totalDuration:$t},Pe=function n(e,t,r){var o=e.labels,i=e._recent||Za,s=e.duration()>=Ae?i.endTime(!1):e._dur,a,c,l;return oe(t)&&(isNaN(t)||t in o)?(c=t.charAt(0),l=t.substr(-1)==="%",a=t.indexOf("="),c==="<"||c===">"?(a>=0&&(t=t.replace(/=/,"")),(c==="<"?i._start:i.endTime(i._repeat>=0))+(parseFloat(t.substr(1))||0)*(l?(a<0?i:r).totalDuration()/100:1)):a<0?(t in o||(o[t]=s),o[t]):(c=parseFloat(t.charAt(a-1)+t.substr(a+1)),l&&r&&(c=c/100*(ce(r)?r[0]:r).totalDuration()),a>1?n(e,t.substr(0,a-1),r)+c:s+c)):t==null?s:+t},Bt=function(e,t,r){var o=He(t[1]),i=(o?2:1)+(e<2?0:1),s=t[i],a,c;if(o&&(s.duration=t[1]),s.parent=r,e){for(a=s,c=r;c&&!("immediateRender"in a);)a=c.vars.defaults||{},c=pe(c.vars.inherit)&&c.parent;s.immediateRender=pe(a.immediateRender),e<2?s.runBackwards=1:s.startAt=t[i-1]}return new ee(t[0],s,t[i+1])},tt=function(e,t){return e||e===0?t(e):t},er=function(e,t,r){return r<e?e:r>t?t:r},le=function(e,t){return!oe(e)||!(t=Ba.exec(e))?"":t[1]},Ka=function(e,t,r){return tt(r,function(o){return er(e,t,o)})},fn=[].slice,gi=function(e,t){return e&&Ne(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&Ne(e[0]))&&!e.nodeType&&e!==Ie},Qa=function(e,t,r){return r===void 0&&(r=[]),e.forEach(function(o){var i;return oe(o)&&!t||gi(o,1)?(i=r).push.apply(i,Le(o)):r.push(o)})||r},Le=function(e,t,r){return $&&!t&&$.selector?$.selector(e):oe(e)&&!r&&(an||!Ot())?fn.call((t||En).querySelectorAll(e),0):ce(e)?Qa(e,r):gi(e)?fn.call(e,0):e?[e]:[]},dn=function(e){return e=Le(e)[0]||Vt("Invalid scope")||{},function(t){var r=e.current||e.nativeElement||e;return Le(t,r.querySelectorAll?r:r===e?Vt("Invalid scope")||En.createElement("div"):e)}},mi=function(e){return e.sort(function(){return .5-Math.random()})},_i=function(e){if(Y(e))return e;var t=Ne(e)?e:{each:e},r=ft(t.ease),o=t.from||0,i=parseFloat(t.base)||0,s={},a=o>0&&o<1,c=isNaN(o)||a,l=t.axis,u=o,f=o;return oe(o)?u=f={center:.5,edges:.5,end:1}[o]||0:!a&&c&&(u=o[0],f=o[1]),function(p,h,g){var d=(g||t).length,m=s[d],b,_,y,T,x,k,S,v,w;if(!m){if(w=t.grid==="auto"?0:(t.grid||[1,Ae])[1],!w){for(S=-Ae;S<(S=g[w++].getBoundingClientRect().left)&&w<d;);w<d&&w--}for(m=s[d]=[],b=c?Math.min(w,d)*u-.5:o%w,_=w===Ae?0:c?d*f/w-.5:o/w|0,S=0,v=Ae,k=0;k<d;k++)y=k%w-b,T=_-(k/w|0),m[k]=x=l?Math.abs(l==="y"?T:y):Jo(y*y+T*T),x>S&&(S=x),x<v&&(v=x);o==="random"&&mi(m),m.max=S-v,m.min=v,m.v=d=(parseFloat(t.amount)||parseFloat(t.each)*(w>d?d-1:l?l==="y"?d/w:w:Math.max(w,d/w))||0)*(o==="edges"?-1:1),m.b=d<0?i-d:i,m.u=le(t.amount||t.each)||0,r=r&&d<0?fl(r):r}return d=(m[p]-m.min)/m.max||0,W(m.b+(r?r(d):d)*m.v)+m.u}},hn=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var o=W(Math.round(parseFloat(r)/e)*e*t);return(o-o%1)/t+(He(r)?0:le(r))}},bi=function(e,t){var r=ce(e),o,i;return!r&&Ne(e)&&(o=r=e.radius||Ae,e.values?(e=Le(e.values),(i=!He(e[0]))&&(o*=o)):e=hn(e.increment)),tt(t,r?Y(e)?function(s){return i=e(s),Math.abs(i-s)<=o?i:s}:function(s){for(var a=parseFloat(i?s.x:s),c=parseFloat(i?s.y:0),l=Ae,u=0,f=e.length,p,h;f--;)i?(p=e[f].x-a,h=e[f].y-c,p=p*p+h*h):p=Math.abs(e[f]-a),p<l&&(l=p,u=f);return u=!o||l<=o?e[u]:s,i||u===s||He(s)?u:u+le(s)}:hn(e))},vi=function(e,t,r,o){return tt(ce(e)?!t:r===!0?!!(r=0):!o,function(){return ce(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(o=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(t-e+r*.99))/r)*r*o)/o})},Ja=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return t.reduce(function(i,s){return s(i)},o)}},el=function(e,t){return function(r){return e(parseFloat(r))+(t||le(r))}},tl=function(e,t,r){return xi(e,t,0,1,r)},yi=function(e,t,r){return tt(r,function(o){return e[~~t(o)]})},rl=function n(e,t,r){var o=t-e;return ce(e)?yi(e,n(0,e.length),t):tt(r,function(i){return(o+(i-e)%o)%o+e})},nl=function n(e,t,r){var o=t-e,i=o*2;return ce(e)?yi(e,n(0,e.length-1),t):tt(r,function(s){return s=(i+(s-e)%i)%i||0,e+(s>o?i-s:s)})},Wt=function(e){return e.replace(Ma,function(t){var r=t.indexOf("[")+1,o=t.substring(r||7,r?t.indexOf("]"):t.length-1).split(za);return vi(r?o:+o[0],r?0:+o[1],+o[2]||1e-5)})},xi=function(e,t,r,o,i){var s=t-e,a=o-r;return tt(i,function(c){return r+((c-e)/s*a||0)})},ol=function n(e,t,r,o){var i=isNaN(e+t)?0:function(h){return(1-h)*e+h*t};if(!i){var s=oe(e),a={},c,l,u,f,p;if(r===!0&&(o=1)&&(r=null),s)e={p:e},t={p:t};else if(ce(e)&&!ce(t)){for(u=[],f=e.length,p=f-2,l=1;l<f;l++)u.push(n(e[l-1],e[l]));f--,i=function(g){g*=f;var d=Math.min(p,~~g);return u[d](g-d)},r=t}else o||(e=kt(ce(e)?[]:{},e));if(!u){for(c in t)Rn.call(a,e,c,"get",t[c]);i=function(g){return zn(g,a)||(s?e.p:e)}}}return tt(r,i)},po=function(e,t,r){var o=e.labels,i=Ae,s,a,c;for(s in o)a=o[s]-t,a<0==!!r&&a&&i>(a=Math.abs(a))&&(c=s,i=a);return c},Se=function(e,t,r){var o=e.vars,i=o[t],s=$,a=e._ctx,c,l,u;if(i)return c=o[t+"Params"],l=o.callbackScope||e,r&&je.length&&Tr(),a&&($=a),u=c?i.apply(l,c):i.call(l),$=s,u},It=function(e){return Ke(e),e.scrollTrigger&&e.scrollTrigger.kill(!!se),e.progress()<1&&Se(e,"onInterrupt"),e},xt,Ti=[],wi=function(e){if(e)if(e=!e.name&&e.default||e,Cn()||e.headless){var t=e.name,r=Y(e),o=t&&!r&&e.init?function(){this._props=[]}:e,i={init:$t,render:zn,add:Rn,kill:xl,modifier:yl,rawVars:0},s={targetTest:0,get:0,getSetter:Mn,aliases:{},register:0};if(Ot(),e!==o){if(Te[t])return;Oe(o,Oe(wr(e,i),s)),kt(o.prototype,kt(i,wr(e,s))),Te[o.prop=t]=o,e.targetTest&&(br.push(o),Dn[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ii(t,o),e.register&&e.register(be,o,me)}else Ti.push(e)},H=255,Mt={aqua:[0,H,H],lime:[0,H,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,H],navy:[0,0,128],white:[H,H,H],olive:[128,128,0],yellow:[H,H,0],orange:[H,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[H,0,0],pink:[H,192,203],cyan:[0,H,H],transparent:[H,H,H,0]},Yr=function(e,t,r){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(r-t)*e*6:e<.5?r:e*3<2?t+(r-t)*(2/3-e)*6:t)*H+.5|0},Si=function(e,t,r){var o=e?He(e)?[e>>16,e>>8&H,e&H]:0:Mt.black,i,s,a,c,l,u,f,p,h,g;if(!o){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Mt[e])o=Mt[e];else if(e.charAt(0)==="#"){if(e.length<6&&(i=e.charAt(1),s=e.charAt(2),a=e.charAt(3),e="#"+i+i+s+s+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return o=parseInt(e.substr(1,6),16),[o>>16,o>>8&H,o&H,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),o=[e>>16,e>>8&H,e&H]}else if(e.substr(0,3)==="hsl"){if(o=g=e.match(lo),!t)c=+o[0]%360/360,l=+o[1]/100,u=+o[2]/100,s=u<=.5?u*(l+1):u+l-u*l,i=u*2-s,o.length>3&&(o[3]*=1),o[0]=Yr(c+1/3,i,s),o[1]=Yr(c,i,s),o[2]=Yr(c-1/3,i,s);else if(~e.indexOf("="))return o=e.match(ti),r&&o.length<4&&(o[3]=1),o}else o=e.match(lo)||Mt.transparent;o=o.map(Number)}return t&&!g&&(i=o[0]/H,s=o[1]/H,a=o[2]/H,f=Math.max(i,s,a),p=Math.min(i,s,a),u=(f+p)/2,f===p?c=l=0:(h=f-p,l=u>.5?h/(2-f-p):h/(f+p),c=f===i?(s-a)/h+(s<a?6:0):f===s?(a-i)/h+2:(i-s)/h+4,c*=60),o[0]=~~(c+.5),o[1]=~~(l*100+.5),o[2]=~~(u*100+.5)),r&&o.length<4&&(o[3]=1),o},ki=function(e){var t=[],r=[],o=-1;return e.split(Ze).forEach(function(i){var s=i.match(yt)||[];t.push.apply(t,s),r.push(o+=s.length+1)}),t.c=r,t},go=function(e,t,r){var o="",i=(e+o).match(Ze),s=t?"hsla(":"rgba(",a=0,c,l,u,f;if(!i)return e;if(i=i.map(function(p){return(p=Si(p,t,1))&&s+(t?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),r&&(u=ki(e),c=r.c,c.join(o)!==u.c.join(o)))for(l=e.replace(Ze,"1").split(yt),f=l.length-1;a<f;a++)o+=l[a]+(~c.indexOf(a)?i.shift()||s+"0,0,0,0)":(u.length?u:i.length?i:r).shift());if(!l)for(l=e.split(Ze),f=l.length-1;a<f;a++)o+=l[a]+i[a];return o+l[f]},Ze=(function(){var n="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Mt)n+="|"+e+"\\b";return new RegExp(n+")","gi")})(),il=/hsl[a]?\(/,Ci=function(e){var t=e.join(" "),r;if(Ze.lastIndex=0,Ze.test(t))return r=il.test(t),e[1]=go(e[1],r),e[0]=go(e[0],r,ki(e[1])),!0},Xt,we=(function(){var n=Date.now,e=500,t=33,r=n(),o=r,i=1e3/240,s=i,a=[],c,l,u,f,p,h,g=function d(m){var b=n()-o,_=m===!0,y,T,x,k;if((b>e||b<0)&&(r+=b-t),o+=b,x=o-r,y=x-s,(y>0||_)&&(k=++f.frame,p=x-f.time*1e3,f.time=x=x/1e3,s+=y+(y>=i?4:i-y),T=1),_||(c=l(d)),T)for(h=0;h<a.length;h++)a[h](x,p,k,m)};return f={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return p/(1e3/(m||60))},wake:function(){ni&&(!an&&Cn()&&(Ie=an=window,En=Ie.document||{},Ee.gsap=be,(Ie.gsapVersions||(Ie.gsapVersions=[])).push(be.version),oi(xr||Ie.GreenSockGlobals||!Ie.gsap&&Ie||{}),Ti.forEach(wi)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,c&&f.sleep(),l=u||function(m){return setTimeout(m,s-f.time*1e3+1|0)},Xt=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),Xt=0,l=$t},lagSmoothing:function(m,b){e=m||1/0,t=Math.min(b||33,e)},fps:function(m){i=1e3/(m||240),s=f.time*1e3+i},add:function(m,b,_){var y=b?function(T,x,k,S){m(T,x,k,S),f.remove(y)}:m;return f.remove(m),a[_?"unshift":"push"](y),Ot(),y},remove:function(m,b){~(b=a.indexOf(m))&&a.splice(b,1)&&h>=b&&h--},_listeners:a},f})(),Ot=function(){return!Xt&&we.wake()},I={},sl=/^[\d.\-M][\d.\-,\s]/,al=/["']/g,ll=function(e){for(var t={},r=e.substr(1,e.length-3).split(":"),o=r[0],i=1,s=r.length,a,c,l;i<s;i++)c=r[i],a=i!==s-1?c.lastIndexOf(","):c.length,l=c.substr(0,a),t[o]=isNaN(l)?l.replace(al,"").trim():+l,o=c.substr(a+1).trim();return t},cl=function(e){var t=e.indexOf("(")+1,r=e.indexOf(")"),o=e.indexOf("(",t);return e.substring(t,~o&&o<r?e.indexOf(")",r+1):r)},ul=function(e){var t=(e+"").split("("),r=I[t[0]];return r&&t.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[ll(t[1])]:cl(e).split(",").map(ci)):I._CE&&sl.test(e)?I._CE("",e):r},fl=function(e){return function(t){return 1-e(1-t)}},ft=function(e,t){return e&&(Y(e)?e:I[e]||ul(e))||t},mt=function(e,t,r,o){r===void 0&&(r=function(c){return 1-t(1-c)}),o===void 0&&(o=function(c){return c<.5?t(c*2)/2:1-t((1-c)*2)/2});var i={easeIn:t,easeOut:r,easeInOut:o},s;return ge(e,function(a){I[a]=Ee[a]=i,I[s=a.toLowerCase()]=r;for(var c in i)I[s+(c==="easeIn"?".in":c==="easeOut"?".out":".inOut")]=I[a+"."+c]=i[c]}),i},Ei=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},jr=function n(e,t,r){var o=t>=1?t:1,i=(r||(e?.3:.45))/(t<1?t:1),s=i/sn*(Math.asin(1/o)||0),a=function(u){return u===1?1:o*Math.pow(2,-10*u)*Ia((u-s)*i)+1},c=e==="out"?a:e==="in"?function(l){return 1-a(1-l)}:Ei(a);return i=sn/i,c.config=function(l,u){return n(e,l,u)},c},Zr=function n(e,t){t===void 0&&(t=1.70158);var r=function(s){return s?--s*s*((t+1)*s+t)+1:0},o=e==="out"?r:e==="in"?function(i){return 1-r(1-i)}:Ei(r);return o.config=function(i){return n(e,i)},o};ge("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;mt(n+",Power"+(t-1),e?function(r){return Math.pow(r,t)}:function(r){return r},function(r){return 1-Math.pow(1-r,t)},function(r){return r<.5?Math.pow(r*2,t)/2:1-Math.pow((1-r)*2,t)/2})});I.Linear.easeNone=I.none=I.Linear.easeIn;mt("Elastic",jr("in"),jr("out"),jr());(function(n,e){var t=1/e,r=2*t,o=2.5*t,i=function(a){return a<t?n*a*a:a<r?n*Math.pow(a-1.5/e,2)+.75:a<o?n*(a-=2.25/e)*a+.9375:n*Math.pow(a-2.625/e,2)+.984375};mt("Bounce",function(s){return 1-i(1-s)},i)})(7.5625,2.75);mt("Expo",function(n){return Math.pow(2,10*(n-1))*n+n*n*n*n*n*n*(1-n)});mt("Circ",function(n){return-(Jo(1-n*n)-1)});mt("Sine",function(n){return n===1?1:-Fa(n*La)+1});mt("Back",Zr("in"),Zr("out"),Zr());I.SteppedEase=I.steps=Ee.SteppedEase={config:function(e,t){e===void 0&&(e=1);var r=1/e,o=e+(t?0:1),i=t?1:0,s=1-V;return function(a){return((o*er(0,s,a)|0)+i)*r}}};Ht.ease=I["quad.out"];ge("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(n){return Pn+=n+","+n+"Params,"});var Oi=function(e,t){this.id=Ra++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:ai,this.set=t?t.getSetter:Mn},qt=(function(){function n(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Et(this,+t.duration,1,1),this.data=t.data,$&&(this._ctx=$,$.data.push(this)),Xt||we.wake()}var e=n.prototype;return e.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},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Et(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,o){if(Ot(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(Fr(this,r),!i._dp||i.parent||di(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Me(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===V||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),li(this,r,o)),this},e.time=function(r,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+fo(this))%(this._dur+this._rDelay)||(r?this._dur:0),o):this._time},e.totalProgress=function(r,o){return arguments.length?this.totalTime(this.totalDuration()*r,o):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,o){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+fo(this),o):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,o){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*i,o):this._repeat?Ct(this._tTime,i)+1:1},e.timeScale=function(r,o){if(!arguments.length)return this._rts===-V?0:this._rts;if(this._rts===r)return this;var i=this.parent&&this._ts?Sr(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-V?0:this._rts,this.totalTime(er(-Math.abs(this._delay),this.totalDuration(),i),o!==!1),Rr(this),Wa(this)},e.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):(Ot(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==V&&(this._tTime-=V)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=W(r);var o=this.parent||this._dp;return o&&(o._sort||!this.parent)&&Me(o,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(pe(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var o=this.parent||this._dp;return o?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Sr(o.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=Ua);var o=se;return se=r,Ln(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),se=o,this},e.globalTime=function(r){for(var o=this,i=arguments.length?r:o.rawTime();o;)i=o._start+i/(Math.abs(o._ts)||1),o=o._dp;return!this.parent&&this._sat?this._sat.globalTime(r):i},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,ho(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var o=this._time;return this._rDelay=r,ho(this),o?this.time(o):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,o){return this.totalTime(Pe(this,r),pe(o))},e.restart=function(r,o){return this.play().totalTime(r?-this._delay:0,pe(o)),this._dur||(this._zTime=-V),this},e.play=function(r,o){return r!=null&&this.seek(r,o),this.reversed(!1).paused(!1)},e.reverse=function(r,o){return r!=null&&this.seek(r||this.totalDuration(),o),this.reversed(!0).paused(!1)},e.pause=function(r,o){return r!=null&&this.seek(r,o),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-V:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-V,this},e.isActive=function(){var r=this.parent||this._dp,o=this._start,i;return!!(!r||this._ts&&this._initted&&r.isActive()&&(i=r.rawTime(!0))>=o&&i<this.endTime(!0)-V)},e.eventCallback=function(r,o,i){var s=this.vars;return arguments.length>1?(o?(s[r]=o,i&&(s[r+"Params"]=i),r==="onUpdate"&&(this._onUpdate=o)):delete s[r],this):s[r]},e.then=function(r){var o=this,i=o._prom;return new Promise(function(s){var a=Y(r)?r:ui,c=function(){var u=o.then;o.then=null,i&&i(),Y(a)&&(a=a(o))&&(a.then||a===o)&&(o.then=u),s(a),o.then=u};o._initted&&o.totalProgress()===1&&o._ts>=0||!o._tTime&&o._ts<0?c():o._prom=c})},e.kill=function(){It(this)},n})();Oe(qt.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:-V,_prom:0,_ps:!1,_rts:1});var he=(function(n){Qo(e,n);function e(r,o){var i;return r===void 0&&(r={}),i=n.call(this,r)||this,i.labels={},i.smoothChildTiming=!!r.smoothChildTiming,i.autoRemoveChildren=!!r.autoRemoveChildren,i._sort=pe(r.sortChildren),X&&Me(r.parent||X,Ge(i),o),r.reversed&&i.reverse(),r.paused&&i.paused(!0),r.scrollTrigger&&hi(Ge(i),r.scrollTrigger),i}var t=e.prototype;return t.to=function(o,i,s){return Bt(0,arguments,this),this},t.from=function(o,i,s){return Bt(1,arguments,this),this},t.fromTo=function(o,i,s,a){return Bt(2,arguments,this),this},t.set=function(o,i,s){return i.duration=0,i.parent=this,Nt(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new ee(o,i,Pe(this,s),1),this},t.call=function(o,i,s){return Me(this,ee.delayedCall(0,o,i),s)},t.staggerTo=function(o,i,s,a,c,l,u){return s.duration=i,s.stagger=s.stagger||a,s.onComplete=l,s.onCompleteParams=u,s.parent=this,new ee(o,s,Pe(this,c)),this},t.staggerFrom=function(o,i,s,a,c,l,u){return s.runBackwards=1,Nt(s).immediateRender=pe(s.immediateRender),this.staggerTo(o,i,s,a,c,l,u)},t.staggerFromTo=function(o,i,s,a,c,l,u,f){return a.startAt=s,Nt(a).immediateRender=pe(a.immediateRender),this.staggerTo(o,i,a,c,l,u,f)},t.render=function(o,i,s){var a=this._time,c=this._dirty?this.totalDuration():this._tDur,l=this._dur,u=o<=0?0:W(o),f=this._zTime<0!=o<0&&(this._initted||!l),p,h,g,d,m,b,_,y,T,x,k,S;if(this!==X&&u>c&&o>=0&&(u=c),u!==this._tTime||s||f){if(a!==this._time&&l&&(u+=this._time-a,o+=this._time-a),p=u,T=this._start,y=this._ts,b=!y,f&&(l||(a=this._zTime),(o||!i)&&(this._zTime=o)),this._repeat){if(k=this._yoyo,m=l+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(m*100+o,i,s);if(p=W(u%m),u===c?(d=this._repeat,p=l):(x=W(u/m),d=~~x,d&&d===x&&(p=l,d--),p>l&&(p=l)),x=Ct(this._tTime,m),!a&&this._tTime&&x!==d&&this._tTime-x*m-this._dur<=0&&(x=d),k&&d&1&&(p=l-p,S=1),d!==x&&!this._lock){var v=k&&x&1,w=v===(k&&d&1);if(d<x&&(v=!v),a=v?0:u%l?l:u,this._lock=1,this.render(a||(S?0:W(d*m)),i,!l)._lock=0,this._tTime=u,!i&&this.parent&&Se(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,x=d),a&&a!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,c=this._tDur,w&&(this._lock=2,a=v?l:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!b)return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(_=ja(this,W(a),W(p)),_&&(u-=p-(p=_._start))),this._tTime=u,this._time=p,this._act=!!y,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,a=0),!a&&u&&l&&!i&&!x&&(Se(this,"onStart"),this._tTime!==u))return this;if(p>=a&&o>=0)for(h=this._first;h;){if(g=h._next,(h._act||p>=h._start)&&h._ts&&_!==h){if(h.parent!==this)return this.render(o,i,s);if(h.render(h._ts>0?(p-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(p-h._start)*h._ts,i,s),p!==this._time||!this._ts&&!b){_=0,g&&(u+=this._zTime=-V);break}}h=g}else{h=this._last;for(var O=o<0?o:p;h;){if(g=h._prev,(h._act||O<=h._end)&&h._ts&&_!==h){if(h.parent!==this)return this.render(o,i,s);if(h.render(h._ts>0?(O-h._start)*h._ts:(h._dirty?h.totalDuration():h._tDur)+(O-h._start)*h._ts,i,s||se&&Ln(h)),p!==this._time||!this._ts&&!b){_=0,g&&(u+=this._zTime=O?-V:V);break}}h=g}}if(_&&!i&&(this.pause(),_.render(p>=a?0:-V)._zTime=p>=a?1:-1,this._ts))return this._start=T,Rr(this),this.render(o,i,s);this._onUpdate&&!i&&Se(this,"onUpdate",!0),(u===c&&this._tTime>=this.totalDuration()||!u&&a)&&(T===this._start||Math.abs(y)!==Math.abs(this._ts))&&(this._lock||((o||!l)&&(u===c&&this._ts>0||!u&&this._ts<0)&&Ke(this,1),!i&&!(o<0&&!a)&&(u||a||!c)&&(Se(this,u===c&&o>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<c&&this.timeScale()>0)&&this._prom())))}return this},t.add=function(o,i){var s=this;if(He(i)||(i=Pe(this,i,o)),!(o instanceof qt)){if(ce(o))return o.forEach(function(a){return s.add(a,i)}),this;if(oe(o))return this.addLabel(o,i);if(Y(o))o=ee.delayedCall(0,o);else return this}return this!==o?Me(this,o,i):this},t.getChildren=function(o,i,s,a){o===void 0&&(o=!0),i===void 0&&(i=!0),s===void 0&&(s=!0),a===void 0&&(a=-Ae);for(var c=[],l=this._first;l;)l._start>=a&&(l instanceof ee?i&&c.push(l):(s&&c.push(l),o&&c.push.apply(c,l.getChildren(!0,i,s)))),l=l._next;return c},t.getById=function(o){for(var i=this.getChildren(1,1,1),s=i.length;s--;)if(i[s].vars.id===o)return i[s]},t.remove=function(o){return oe(o)?this.removeLabel(o):Y(o)?this.killTweensOf(o):(o.parent===this&&Lr(this,o),o===this._recent&&(this._recent=this._last),ut(this))},t.totalTime=function(o,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=W(we.time-(this._ts>0?o/this._ts:(this.totalDuration()-o)/-this._ts))),n.prototype.totalTime.call(this,o,i),this._forcing=0,this):this._tTime},t.addLabel=function(o,i){return this.labels[o]=Pe(this,i),this},t.removeLabel=function(o){return delete this.labels[o],this},t.addPause=function(o,i,s){var a=ee.delayedCall(0,i||$t,s);return a.data="isPause",this._hasPause=1,Me(this,a,Pe(this,o))},t.removePause=function(o){var i=this._first;for(o=Pe(this,o);i;)i._start===o&&i.data==="isPause"&&Ke(i),i=i._next},t.killTweensOf=function(o,i,s){for(var a=this.getTweensOf(o,s),c=a.length;c--;)Xe!==a[c]&&a[c].kill(o,i);return this},t.getTweensOf=function(o,i){for(var s=[],a=Le(o),c=this._first,l=He(i),u;c;)c instanceof ee?Ha(c._targets,a)&&(l?(!Xe||c._initted&&c._ts)&&c.globalTime(0)<=i&&c.globalTime(c.totalDuration())>i:!i||c.isActive())&&s.push(c):(u=c.getTweensOf(a,i)).length&&s.push.apply(s,u),c=c._next;return s},t.tweenTo=function(o,i){i=i||{};var s=this,a=Pe(s,o),c=i,l=c.startAt,u=c.onStart,f=c.onStartParams,p=c.immediateRender,h,g=ee.to(s,Oe({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:i.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale())||V,onStart:function(){if(s.pause(),!h){var m=i.duration||Math.abs((a-(l&&"time"in l?l.time:s._time))/s.timeScale());g._dur!==m&&Et(g,m,0,1).render(g._time,!0,!0),h=1}u&&u.apply(g,f||[])}},i));return p?g.render(0):g},t.tweenFromTo=function(o,i,s){return this.tweenTo(i,Oe({startAt:{time:Pe(this,o)}},s))},t.recent=function(){return this._recent},t.nextLabel=function(o){return o===void 0&&(o=this._time),po(this,Pe(this,o))},t.previousLabel=function(o){return o===void 0&&(o=this._time),po(this,Pe(this,o),1)},t.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+V)},t.shiftChildren=function(o,i,s){s===void 0&&(s=0);var a=this._first,c=this.labels,l;for(o=W(o);a;)a._start>=s&&(a._start+=o,a._end+=o),a=a._next;if(i)for(l in c)c[l]>=s&&(c[l]+=o);return ut(this)},t.invalidate=function(o){var i=this._first;for(this._lock=0;i;)i.invalidate(o),i=i._next;return n.prototype.invalidate.call(this,o)},t.clear=function(o){o===void 0&&(o=!0);for(var i=this._first,s;i;)s=i._next,this.remove(i),i=s;return this._dp&&(this._time=this._tTime=this._pTime=0),o&&(this.labels={}),ut(this)},t.totalDuration=function(o){var i=0,s=this,a=s._last,c=Ae,l,u,f;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-o:o));if(s._dirty){for(f=s.parent;a;)l=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>c&&s._sort&&a._ts&&!s._lock?(s._lock=1,Me(s,a,u-a._delay,1)._lock=0):c=u,u<0&&a._ts&&(i-=u,(!f&&!s._dp||f&&f.smoothChildTiming)&&(s._start+=W(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),c=0),a._end>i&&a._ts&&(i=a._end),a=l;Et(s,s===X&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(o){if(X._ts&&(li(X,Sr(o,X)),si=we.frame),we.frame>=co){co+=Ce.autoSleep||120;var i=X._first;if((!i||!i._ts)&&Ce.autoSleep&&we._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||we.sleep()}}},e})(qt);Oe(he.prototype,{_lock:0,_hasPause:0,_forcing:0});var dl=function(e,t,r,o,i,s,a){var c=new me(this._pt,e,t,0,1,Fi,null,i),l=0,u=0,f,p,h,g,d,m,b,_;for(c.b=r,c.e=o,r+="",o+="",(b=~o.indexOf("random("))&&(o=Wt(o)),s&&(_=[r,o],s(_,e,t),r=_[0],o=_[1]),p=r.match(Xr)||[];f=Xr.exec(o);)g=f[0],d=o.substring(l,f.index),h?h=(h+1)%5:d.substr(-5)==="rgba("&&(h=1),g!==p[u++]&&(m=parseFloat(p[u-1])||0,c._pt={_next:c._pt,p:d||u===1?d:",",s:m,c:g.charAt(1)==="="?Tt(m,g)-m:parseFloat(g)-m,m:h&&h<4?Math.round:0},l=Xr.lastIndex);return c.c=l<o.length?o.substring(l,o.length):"",c.fp=a,(ri.test(o)||b)&&(c.e=0),this._pt=c,c},Rn=function(e,t,r,o,i,s,a,c,l,u){Y(o)&&(o=o(i||0,e,s));var f=e[t],p=r!=="get"?r:Y(f)?l?e[t.indexOf("set")||!Y(e["get"+t.substr(3)])?t:"get"+t.substr(3)](l):e[t]():f,h=Y(f)?l?_l:Li:In,g;if(oe(o)&&(~o.indexOf("random(")&&(o=Wt(o)),o.charAt(1)==="="&&(g=Tt(p,o)+(le(p)||0),(g||g===0)&&(o=g))),!u||p!==o||pn)return!isNaN(p*o)&&o!==""?(g=new me(this._pt,e,t,+p||0,o-(p||0),typeof f=="boolean"?vl:Ri,0,h),l&&(g.fp=l),a&&g.modifier(a,this,e),this._pt=g):(!f&&!(t in e)&&On(t,o),dl.call(this,e,t,p,o,h,c||Ce.stringFilter,l))},hl=function(e,t,r,o,i){if(Y(e)&&(e=Gt(e,i,t,r,o)),!Ne(e)||e.style&&e.nodeType||ce(e)||ei(e))return oe(e)?Gt(e,i,t,r,o):e;var s={},a;for(a in e)s[a]=Gt(e[a],i,t,r,o);return s},Di=function(e,t,r,o,i,s){var a,c,l,u;if(Te[e]&&(a=new Te[e]).init(i,a.rawVars?t[e]:hl(t[e],o,i,s,r),r,o,s)!==!1&&(r._pt=c=new me(r._pt,i,e,0,1,a.render,a,0,a.priority),r!==xt))for(l=r._ptLookup[r._targets.indexOf(i)],u=a._props.length;u--;)l[a._props[u]]=c;return a},Xe,pn,Fn=function n(e,t,r){var o=e.vars,i=o.ease,s=o.startAt,a=o.immediateRender,c=o.lazy,l=o.onUpdate,u=o.runBackwards,f=o.yoyoEase,p=o.keyframes,h=o.autoRevert,g=e._dur,d=e._startAt,m=e._targets,b=e.parent,_=b&&b.data==="nested"?b.vars.targets:m,y=e._overwrite==="auto"&&!Sn,T=e.timeline,x=o.easeReverse||f,k,S,v,w,O,N,R,z,B,F,A,M,Z;if(T&&(!p||!i)&&(i="none"),e._ease=ft(i,Ht.ease),e._rEase=x&&(ft(x)||e._ease),e._from=!T&&!!o.runBackwards,e._from&&(e.ratio=1),!T||p&&!o.stagger){if(z=m[0]?ct(m[0]).harness:0,M=z&&o[z.prop],k=wr(o,Dn),d&&(d._zTime<0&&d.progress(1),t<0&&u&&a&&!h?d.render(-1,!0):d.revert(u&&g?_r:Ga),d._lazy=0),s){if(Ke(e._startAt=ee.set(m,Oe({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!d&&pe(c),startAt:null,delay:0,onUpdate:l&&function(){return Se(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,t<0&&(se||!a&&!h)&&e._startAt.revert(_r),a&&g&&t<=0&&r<=0){t&&(e._zTime=t);return}}else if(u&&g&&!d){if(t&&(a=!1),v=Oe({overwrite:!1,data:"isFromStart",lazy:a&&!d&&pe(c),immediateRender:a,stagger:0,parent:b},k),M&&(v[z.prop]=M),Ke(e._startAt=ee.set(m,v)),e._startAt._dp=0,e._startAt._sat=e,t<0&&(se?e._startAt.revert(_r):e._startAt.render(-1,!0)),e._zTime=t,!a)n(e._startAt,V,V);else if(!t)return}for(e._pt=e._ptCache=0,c=g&&pe(c)||c&&!g,S=0;S<m.length;S++){if(O=m[S],R=O._gsap||An(m)[S]._gsap,e._ptLookup[S]=F={},ln[R.id]&&je.length&&Tr(),A=_===m?S:_.indexOf(O),z&&(B=new z).init(O,M||k,e,A,_)!==!1&&(e._pt=w=new me(e._pt,O,B.name,0,1,B.render,B,0,B.priority),B._props.forEach(function(ye){F[ye]=w}),B.priority&&(N=1)),!z||M)for(v in k)Te[v]&&(B=Di(v,k,e,A,O,_))?B.priority&&(N=1):F[v]=w=Rn.call(e,O,v,"get",k[v],A,_,0,o.stringFilter);e._op&&e._op[S]&&e.kill(O,e._op[S]),y&&e._pt&&(Xe=e,X.killTweensOf(O,F,e.globalTime(t)),Z=!e.parent,Xe=0),e._pt&&c&&(ln[R.id]=1)}N&&Ii(e),e._onInit&&e._onInit(e)}e._onUpdate=l,e._initted=(!e._op||e._pt)&&!Z,p&&t<=0&&T.render(Ae,!0,!0)},pl=function(e,t,r,o,i,s,a,c){var l=(e._pt&&e._ptCache||(e._ptCache={}))[t],u,f,p,h;if(!l)for(l=e._ptCache[t]=[],p=e._ptLookup,h=e._targets.length;h--;){if(u=p[h][t],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return pn=1,e.vars[t]="+=0",Fn(e,a),pn=0,c?Vt(t+" not eligible for reset. Try splitting into individual properties"):1;l.push(u)}for(h=l.length;h--;)f=l[h],u=f._pt||f,u.s=(o||o===0)&&!i?o:u.s+(o||0)+s*u.c,u.c=r-u.s,f.e&&(f.e=K(r)+le(f.e)),f.b&&(f.b=u.s+le(f.b))},gl=function(e,t){var r=e[0]?ct(e[0]).harness:0,o=r&&r.aliases,i,s,a,c;if(!o)return t;i=kt({},t);for(s in o)if(s in i)for(c=o[s].split(","),a=c.length;a--;)i[c[a]]=i[s];return i},ml=function(e,t,r,o){var i=t.ease||o||"power1.inOut",s,a;if(ce(t))a=r[e]||(r[e]=[]),t.forEach(function(c,l){return a.push({t:l/(t.length-1)*100,v:c,e:i})});else for(s in t)a=r[s]||(r[s]=[]),s==="ease"||a.push({t:parseFloat(e),v:t[s],e:i})},Gt=function(e,t,r,o,i){return Y(e)?e.call(t,r,o,i):oe(e)&&~e.indexOf("random(")?Wt(e):e},Pi=Pn+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",Ai={};ge(Pi+",id,stagger,delay,duration,paused,scrollTrigger",function(n){return Ai[n]=1});var ee=(function(n){Qo(e,n);function e(r,o,i,s){var a;typeof o=="number"&&(i.duration=o,o=i,i=null),a=n.call(this,s?o:Nt(o))||this;var c=a.vars,l=c.duration,u=c.delay,f=c.immediateRender,p=c.stagger,h=c.overwrite,g=c.keyframes,d=c.defaults,m=c.scrollTrigger,b=o.parent||X,_=(ce(r)||ei(r)?He(r[0]):"length"in o)?[r]:Le(r),y,T,x,k,S,v,w,O;if(a._targets=_.length?An(_):Vt("GSAP target "+r+" not found. https://gsap.com",!Ce.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=h,g||p||ur(l)||ur(u)){o=a.vars;var N=o.easeReverse||o.yoyoEase;if(y=a.timeline=new he({data:"nested",defaults:d||{},targets:b&&b.data==="nested"?b.vars.targets:_}),y.kill(),y.parent=y._dp=Ge(a),y._start=0,p||ur(l)||ur(u)){if(k=_.length,w=p&&_i(p),Ne(p))for(S in p)~Pi.indexOf(S)&&(O||(O={}),O[S]=p[S]);for(T=0;T<k;T++)x=wr(o,Ai),x.stagger=0,N&&(x.easeReverse=N),O&&kt(x,O),v=_[T],x.duration=+Gt(l,Ge(a),T,v,_),x.delay=(+Gt(u,Ge(a),T,v,_)||0)-a._delay,!p&&k===1&&x.delay&&(a._delay=u=x.delay,a._start+=u,x.delay=0),y.to(v,x,w?w(T,v,_):0),y._ease=I.none;y.duration()?l=u=0:a.timeline=0}else if(g){Nt(Oe(y.vars.defaults,{ease:"none"})),y._ease=ft(g.ease||o.ease||"none");var R=0,z,B,F;if(ce(g))g.forEach(function(A){return y.to(_,A,">")}),y.duration();else{x={};for(S in g)S==="ease"||S==="easeEach"||ml(S,g[S],x,g.easeEach);for(S in x)for(z=x[S].sort(function(A,M){return A.t-M.t}),R=0,T=0;T<z.length;T++)B=z[T],F={ease:B.e,duration:(B.t-(T?z[T-1].t:0))/100*l},F[S]=B.v,y.to(_,F,R),R+=F.duration;y.duration()<l&&y.to({},{duration:l-y.duration()})}}l||a.duration(l=y.duration())}else a.timeline=0;return h===!0&&!Sn&&(Xe=Ge(a),X.killTweensOf(_),Xe=0),Me(b,Ge(a),i),o.reversed&&a.reverse(),o.paused&&a.paused(!0),(f||!l&&!g&&a._start===W(b._time)&&pe(f)&&Xa(Ge(a))&&b.data!=="nested")&&(a._tTime=-V,a.render(Math.max(0,-u)||0)),m&&hi(Ge(a),m),a}var t=e.prototype;return t.render=function(o,i,s){var a=this._time,c=this._tDur,l=this._dur,u=o<0,f=o>c-V&&!u?c:o<V?0:o,p,h,g,d,m,b,_,y;if(!l)Ya(this,o,i,s);else if(f!==this._tTime||!o||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(p=f,y=this.timeline,this._repeat){if(d=l+this._rDelay,this._repeat<-1&&u)return this.totalTime(d*100+o,i,s);if(p=W(f%d),f===c?(g=this._repeat,p=l):(m=W(f/d),g=~~m,g&&g===m?(p=l,g--):p>l&&(p=l)),b=this._yoyo&&g&1,b&&(p=l-p),m=Ct(this._tTime,d),p===a&&!s&&this._initted&&g===m)return this._tTime=f,this;g!==m&&this.vars.repeatRefresh&&!b&&!this._lock&&p!==d&&this._initted&&(this._lock=s=1,this.render(W(d*g),!0).invalidate()._lock=0)}if(!this._initted){if(pi(this,u?o:p,s,i,f))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&g!==m))return this;if(l!==this._dur)return this.render(o,i,s)}if(this._rEase){var T=p<a;if(T!==this._inv){var x=T?a:l-a;this._inv=T,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=a,this._invRecip=x?(T?-1:1)/x:0,this._invScale=T?-this.ratio:1-this.ratio,this._invEase=T?this._rEase:this._ease}this.ratio=_=this._invRatio+this._invScale*this._invEase((p-this._invTime)*this._invRecip)}else this.ratio=_=this._ease(p/l);if(this._from&&(this.ratio=_=1-_),this._tTime=f,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),!a&&f&&!i&&!m&&(Se(this,"onStart"),this._tTime!==f))return this;for(h=this._pt;h;)h.r(_,h.d),h=h._next;y&&y.render(o<0?o:y._dur*y._ease(p/this._dur),i,s)||this._startAt&&(this._zTime=o),this._onUpdate&&!i&&(u&&cn(this,o,i,s),Se(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!i&&this.parent&&Se(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&cn(this,o,!0,!0),(o||!l)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Ke(this,1),!i&&!(u&&!a)&&(f||a||b)&&(Se(this,f===c?"onComplete":"onReverseComplete",!0),this._prom&&!(f<c&&this.timeScale()>0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(o){return(!o||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(o),n.prototype.invalidate.call(this,o)},t.resetTo=function(o,i,s,a,c){Xt||we.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Fn(this,l),u=this._ease(l/this._dur),pl(this,o,i,s,a,u,l,c)?this.resetTo(o,i,s,a,1):(Fr(this,0),this.parent||fi(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(o,i){if(i===void 0&&(i="all"),!o&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?It(this):this.scrollTrigger&&this.scrollTrigger.kill(!!se),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(o,i,Xe&&Xe.vars.overwrite!==!0)._first||It(this),this.parent&&s!==this.timeline.totalDuration()&&Et(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,c=o?Le(o):a,l=this._ptLookup,u=this._pt,f,p,h,g,d,m,b;if((!i||i==="all")&&$a(a,c))return i==="all"&&(this._pt=0),It(this);for(f=this._op=this._op||[],i!=="all"&&(oe(i)&&(d={},ge(i,function(_){return d[_]=1}),i=d),i=gl(a,i)),b=a.length;b--;)if(~c.indexOf(a[b])){p=l[b],i==="all"?(f[b]=i,g=p,h={}):(h=f[b]=f[b]||{},g=i);for(d in g)m=p&&p[d],m&&((!("kill"in m.d)||m.d.kill(d)===!0)&&Lr(this,m,"_pt"),delete p[d]),h!=="all"&&(h[d]=1)}return this._initted&&!this._pt&&u&&It(this),this},e.to=function(o,i){return new e(o,i,arguments[2])},e.from=function(o,i){return Bt(1,arguments)},e.delayedCall=function(o,i,s,a){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:o,onComplete:i,onReverseComplete:i,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},e.fromTo=function(o,i,s){return Bt(2,arguments)},e.set=function(o,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(o,i)},e.killTweensOf=function(o,i,s){return X.killTweensOf(o,i,s)},e})(qt);Oe(ee.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ge("staggerTo,staggerFrom,staggerFromTo",function(n){ee[n]=function(){var e=new he,t=fn.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var In=function(e,t,r){return e[t]=r},Li=function(e,t,r){return e[t](r)},_l=function(e,t,r,o){return e[t](o.fp,r)},bl=function(e,t,r){return e.setAttribute(t,r)},Mn=function(e,t){return Y(e[t])?Li:kn(e[t])&&e.setAttribute?bl:In},Ri=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},vl=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Fi=function(e,t){var r=t._pt,o="";if(!e&&t.b)o=t.b;else if(e===1&&t.e)o=t.e;else{for(;r;)o=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+o,r=r._next;o+=t.c}t.set(t.t,t.p,o,t)},zn=function(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next},yl=function(e,t,r,o){for(var i=this._pt,s;i;)s=i._next,i.p===o&&i.modifier(e,t,r),i=s},xl=function(e){for(var t=this._pt,r,o;t;)o=t._next,t.p===e&&!t.op||t.op===e?Lr(this,t,"_pt"):t.dep||(r=1),t=o;return!r},Tl=function(e,t,r,o){o.mSet(e,t,o.m.call(o.tween,r,o.mt),o)},Ii=function(e){for(var t=e._pt,r,o,i,s;t;){for(r=t._next,o=i;o&&o.pr>t.pr;)o=o._next;(t._prev=o?o._prev:s)?t._prev._next=t:i=t,(t._next=o)?o._prev=t:s=t,t=r}e._pt=i},me=(function(){function n(t,r,o,i,s,a,c,l,u){this.t=r,this.s=i,this.c=s,this.p=o,this.r=a||Ri,this.d=c||this,this.set=l||In,this.pr=u||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(r,o,i){this.mSet=this.mSet||this.set,this.set=Tl,this.m=r,this.mt=i,this.tween=o},n})();ge(Pn+"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,easeReverse",function(n){return Dn[n]=1});Ee.TweenMax=Ee.TweenLite=ee;Ee.TimelineLite=Ee.TimelineMax=he;X=new he({sortChildren:!1,defaults:Ht,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ce.stringFilter=Ci;var dt=[],vr={},wl=[],mo=0,Sl=0,Kr=function(e){return(vr[e]||wl).map(function(t){return t()})},gn=function(){var e=Date.now(),t=[];e-mo>2&&(Kr("matchMediaInit"),dt.forEach(function(r){var o=r.queries,i=r.conditions,s,a,c,l;for(a in o)s=Ie.matchMedia(o[a]).matches,s&&(c=1),s!==i[a]&&(i[a]=s,l=1);l&&(r.revert(),c&&t.push(r))}),Kr("matchMediaRevert"),t.forEach(function(r){return r.onMatch(r,function(o){return r.add(null,o)})}),mo=e,Kr("matchMedia"))},Mi=(function(){function n(t,r){this.selector=r&&dn(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Sl++,t&&this.add(t)}var e=n.prototype;return e.add=function(r,o,i){Y(r)&&(i=o,o=r,r=Y);var s=this,a=function(){var l=$,u=s.selector,f;return l&&l!==s&&l.data.push(s),i&&(s.selector=dn(i)),$=s,f=o.apply(s,arguments),Y(f)&&s._r.push(f),$=l,s.selector=u,s.isReverted=!1,f};return s.last=a,r===Y?a(s,function(c){return s.add(null,c)}):r?s[r]=a:a},e.ignore=function(r){var o=$;$=null,r(this),$=o},e.getTweens=function(){var r=[];return this.data.forEach(function(o){return o instanceof n?r.push.apply(r,o.getTweens()):o instanceof ee&&!(o.parent&&o.parent.data==="nested")&&r.push(o)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,o){var i=this;if(r?(function(){for(var a=i.getTweens(),c=i.data.length,l;c--;)l=i.data[c],l.data==="isFlip"&&(l.revert(),l.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)}),c=i.data.length;c--;)l=i.data[c],l instanceof he?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof ee)&&l.revert&&l.revert(r);i._r.forEach(function(u){return u(r,i)}),i.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),o)for(var s=dt.length;s--;)dt[s].id===this.id&&dt.splice(s,1)},e.revert=function(r){this.kill(r||{})},n})(),kl=(function(){function n(t){this.contexts=[],this.scope=t,$&&$.data.push(this)}var e=n.prototype;return e.add=function(r,o,i){Ne(r)||(r={matches:r});var s=new Mi(0,i||this.scope),a=s.conditions={},c,l,u;$&&!s.selector&&(s.selector=$.selector),this.contexts.push(s),o=s.add("onMatch",o),s.queries=r;for(l in r)l==="all"?u=1:(c=Ie.matchMedia(r[l]),c&&(dt.indexOf(s)<0&&dt.push(s),(a[l]=c.matches)&&(u=1),c.addListener?c.addListener(gn):c.addEventListener("change",gn)));return u&&o(s,function(f){return s.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(o){return o.kill(r,!0)})},n})(),kr={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t.forEach(function(o){return wi(o)})},timeline:function(e){return new he(e)},getTweensOf:function(e,t){return X.getTweensOf(e,t)},getProperty:function(e,t,r,o){oe(e)&&(e=Le(e)[0]);var i=ct(e||{}).get,s=r?ui:ci;return r==="native"&&(r=""),e&&(t?s((Te[t]&&Te[t].get||i)(e,t,r,o)):function(a,c,l){return s((Te[a]&&Te[a].get||i)(e,a,c,l))})},quickSetter:function(e,t,r){if(e=Le(e),e.length>1){var o=e.map(function(u){return be.quickSetter(u,t,r)}),i=o.length;return function(u){for(var f=i;f--;)o[f](u)}}e=e[0]||{};var s=Te[t],a=ct(e),c=a.harness&&(a.harness.aliases||{})[t]||t,l=s?function(u){var f=new s;xt._pt=0,f.init(e,r?u+r:u,xt,0,[e]),f.render(1,f),xt._pt&&zn(1,xt)}:a.set(e,c);return s?l:function(u){return l(e,c,r?u+r:u,a,1)}},quickTo:function(e,t,r){var o,i=be.to(e,Oe((o={},o[t]="+=0.1",o.paused=!0,o.stagger=0,o),r||{})),s=function(c,l,u){return i.resetTo(t,c,l,u)};return s.tween=i,s},isTweening:function(e){return X.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=ft(e.ease,Ht.ease)),uo(Ht,e||{})},config:function(e){return uo(Ce,e||{})},registerEffect:function(e){var t=e.name,r=e.effect,o=e.plugins,i=e.defaults,s=e.extendTimeline;(o||"").split(",").forEach(function(a){return a&&!Te[a]&&!Ee[a]&&Vt(t+" effect requires "+a+" plugin.")}),qr[t]=function(a,c,l){return r(Le(a),Oe(c||{},i),l)},s&&(he.prototype[t]=function(a,c,l){return this.add(qr[t](a,Ne(c)?c:(l=c)&&{},this),l)})},registerEase:function(e,t){I[e]=ft(t)},parseEase:function(e,t){return arguments.length?ft(e,t):I},getById:function(e){return X.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var r=new he(e),o,i;for(r.smoothChildTiming=pe(e.smoothChildTiming),X.remove(r),r._dp=0,r._time=r._tTime=X._time,o=X._first;o;)i=o._next,(t||!(!o._dur&&o instanceof ee&&o.vars.onComplete===o._targets[0]))&&Me(r,o,o._start-o._delay),o=i;return Me(X,r,0),r},context:function(e,t){return e?new Mi(e,t):$},matchMedia:function(e){return new kl(e)},matchMediaRefresh:function(){return dt.forEach(function(e){var t=e.conditions,r,o;for(o in t)t[o]&&(t[o]=!1,r=1);r&&e.revert()})||gn()},addEventListener:function(e,t){var r=vr[e]||(vr[e]=[]);~r.indexOf(t)||r.push(t)},removeEventListener:function(e,t){var r=vr[e],o=r&&r.indexOf(t);o>=0&&r.splice(o,1)},utils:{wrap:rl,wrapYoyo:nl,distribute:_i,random:vi,snap:bi,normalize:tl,getUnit:le,clamp:Ka,splitColor:Si,toArray:Le,selector:dn,mapRange:xi,pipe:Ja,unitize:el,interpolate:ol,shuffle:mi},install:oi,effects:qr,ticker:we,updateRoot:he.updateRoot,plugins:Te,globalTimeline:X,core:{PropTween:me,globals:ii,Tween:ee,Timeline:he,Animation:qt,getCache:ct,_removeLinkedListItem:Lr,reverting:function(){return se},context:function(e){return e&&$&&($.data.push(e),e._ctx=$),$},suppressOverwrites:function(e){return Sn=e}}};ge("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return kr[n]=ee[n]});we.add(he.updateRoot);xt=kr.to({},{duration:0});var Cl=function(e,t){for(var r=e._pt;r&&r.p!==t&&r.op!==t&&r.fp!==t;)r=r._next;return r},El=function(e,t){var r=e._targets,o,i,s;for(o in t)for(i=r.length;i--;)s=e._ptLookup[i][o],s&&(s=s.d)&&(s._pt&&(s=Cl(s,o)),s&&s.modifier&&s.modifier(t[o],e,r[i],o))},Qr=function(e,t){return{name:e,headless:1,rawVars:1,init:function(o,i,s){s._onInit=function(a){var c,l;if(oe(i)&&(c={},ge(i,function(u){return c[u]=1}),i=c),t){c={};for(l in i)c[l]=t(i[l]);i=c}El(a,i)}}}},be=kr.registerPlugin({name:"attr",init:function(e,t,r,o,i){var s,a,c;this.tween=r;for(s in t)c=e.getAttribute(s)||"",a=this.add(e,"setAttribute",(c||0)+"",t[s],o,i,0,0,s),a.op=s,a.b=c,this._props.push(s)},render:function(e,t){for(var r=t._pt;r;)se?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,t){for(var r=t.length;r--;)this.add(e,r,e[r]||0,t[r],0,0,0,0,0,1)}},Qr("roundProps",hn),Qr("modifiers"),Qr("snap",bi))||kr;ee.version=he.version=be.version="3.15.0";ni=1;Cn()&&Ot();I.Power0;I.Power1;I.Power2;I.Power3;I.Power4;I.Linear;I.Quad;I.Cubic;I.Quart;I.Quint;I.Strong;I.Elastic;I.Back;I.SteppedEase;I.Bounce;I.Sine;I.Expo;I.Circ;/*!
|
|
9
|
+
* CSSPlugin 3.15.0
|
|
10
|
+
* https://gsap.com
|
|
11
|
+
*
|
|
12
|
+
* Copyright 2008-2026, GreenSock. All rights reserved.
|
|
13
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
14
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
15
|
+
*/var _o,qe,wt,Nn,lt,bo,Bn,Ol=function(){return typeof window<"u"},Ve={},st=180/Math.PI,St=Math.PI/180,bt=Math.atan2,vo=1e8,Gn=/([A-Z])/g,Dl=/(left|right|width|margin|padding|x)/i,Pl=/[\s,\(]\S/,ze={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},mn=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Al=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Ll=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Rl=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Fl=function(e,t){var r=t.s+t.c*e;t.set(t.t,t.p,~~(r+(r<0?-.5:.5))+t.u,t)},zi=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Ni=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},Il=function(e,t,r){return e.style[t]=r},Ml=function(e,t,r){return e.style.setProperty(t,r)},zl=function(e,t,r){return e._gsap[t]=r},Nl=function(e,t,r){return e._gsap.scaleX=e._gsap.scaleY=r},Bl=function(e,t,r,o,i){var s=e._gsap;s.scaleX=s.scaleY=r,s.renderTransform(i,s)},Gl=function(e,t,r,o,i){var s=e._gsap;s[t]=r,s.renderTransform(i,s)},q="transform",_e=q+"Origin",Ul=function n(e,t){var r=this,o=this.target,i=o.style,s=o._gsap;if(e in Ve&&i){if(this.tfm=this.tfm||{},e!=="transform")e=ze[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=Ue(o,a)}):this.tfm[e]=s.x?s[e]:Ue(o,e),e===_e&&(this.tfm.zOrigin=s.zOrigin);else return ze.transform.split(",").forEach(function(a){return n.call(r,a,t)});if(this.props.indexOf(q)>=0)return;s.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(_e,t,"")),e=q}(i||t)&&this.props.push(e,t,i[e])},Bi=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},Hl=function(){var e=this.props,t=this.target,r=t.style,o=t._gsap,i,s;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?r[e[i]]=e[i+2]:r.removeProperty(e[i].substr(0,2)==="--"?e[i]:e[i].replace(Gn,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)o[s]=this.tfm[s];o.svg&&(o.renderTransform(),t.setAttribute("data-svg-origin",this.svgo||"")),i=Bn(),(!i||!i.isStart)&&!r[q]&&(Bi(r),o.zOrigin&&r[_e]&&(r[_e]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},Gi=function(e,t){var r={target:e,props:[],revert:Hl,save:Ul};return e._gsap||be.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(o){return r.save(o)}),r},Ui,_n=function(e,t){var r=qe.createElementNS?qe.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):qe.createElement(e);return r&&r.style?r:qe.createElement(e)},ke=function n(e,t,r){var o=getComputedStyle(e);return o[t]||o.getPropertyValue(t.replace(Gn,"-$1").toLowerCase())||o.getPropertyValue(t)||!r&&n(e,Dt(t)||t,1)||""},yo="O,Moz,ms,Ms,Webkit".split(","),Dt=function(e,t,r){var o=t||lt,i=o.style,s=5;if(e in i&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);s--&&!(yo[s]+e in i););return s<0?null:(s===3?"ms":s>=0?yo[s]:"")+e},bn=function(){Ol()&&window.document&&(_o=window,qe=_o.document,wt=qe.documentElement,lt=_n("div")||{style:{}},_n("div"),q=Dt(q),_e=q+"Origin",lt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ui=!!Dt("perspective"),Bn=be.core.reverting,Nn=1)},xo=function(e){var t=e.ownerSVGElement,r=_n("svg",t&&t.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),o=e.cloneNode(!0),i;o.style.display="block",r.appendChild(o),wt.appendChild(r);try{i=o.getBBox()}catch{}return r.removeChild(o),wt.removeChild(r),i},To=function(e,t){for(var r=t.length;r--;)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])},Hi=function(e){var t,r;try{t=e.getBBox()}catch{t=xo(e),r=1}return t&&(t.width||t.height)||r||(t=xo(e)),t&&!t.width&&!t.x&&!t.y?{x:+To(e,["x","cx","x1"])||0,y:+To(e,["y","cy","y1"])||0,width:0,height:0}:t},Vi=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Hi(e))},Qe=function(e,t){if(t){var r=e.style,o;t in Ve&&t!==_e&&(t=q),r.removeProperty?(o=t.substr(0,2),(o==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),r.removeProperty(o==="--"?t:t.replace(Gn,"-$1").toLowerCase())):r.removeAttribute(t)}},Ye=function(e,t,r,o,i,s){var a=new me(e._pt,t,r,0,1,s?Ni:zi);return e._pt=a,a.b=o,a.e=i,e._props.push(r),a},wo={deg:1,rad:1,turn:1},Vl={grid:1,flex:1},Je=function n(e,t,r,o){var i=parseFloat(r)||0,s=(r+"").trim().substr((i+"").length)||"px",a=lt.style,c=Dl.test(t),l=e.tagName.toLowerCase()==="svg",u=(l?"client":"offset")+(c?"Width":"Height"),f=100,p=o==="px",h=o==="%",g,d,m,b;if(o===s||!i||wo[o]||wo[s])return i;if(s!=="px"&&!p&&(i=n(e,t,r,"px")),b=e.getCTM&&Vi(e),(h||s==="%")&&(Ve[t]||~t.indexOf("adius")))return g=b?e.getBBox()[c?"width":"height"]:e[u],K(h?i/g*f:i/100*g);if(a[c?"width":"height"]=f+(p?s:o),d=o!=="rem"&&~t.indexOf("adius")||o==="em"&&e.appendChild&&!l?e:e.parentNode,b&&(d=(e.ownerSVGElement||{}).parentNode),(!d||d===qe||!d.appendChild)&&(d=qe.body),m=d._gsap,m&&h&&m.width&&c&&m.time===we.time&&!m.uncache)return K(i/m.width*f);if(h&&(t==="height"||t==="width")){var _=e.style[t];e.style[t]=f+o,g=e[u],_?e.style[t]=_:Qe(e,t)}else(h||s==="%")&&!Vl[ke(d,"display")]&&(a.position=ke(e,"position")),d===e&&(a.position="static"),d.appendChild(lt),g=lt[u],d.removeChild(lt),a.position="absolute";return c&&h&&(m=ct(d),m.time=we.time,m.width=d[u]),K(p?g*i/f:g&&i?f/g*i:0)},Ue=function(e,t,r,o){var i;return Nn||bn(),t in ze&&t!=="transform"&&(t=ze[t],~t.indexOf(",")&&(t=t.split(",")[0])),Ve[t]&&t!=="transform"?(i=jt(e,o),i=t!=="transformOrigin"?i[t]:i.svg?i.origin:Er(ke(e,_e))+" "+i.zOrigin+"px"):(i=e.style[t],(!i||i==="auto"||o||~(i+"").indexOf("calc("))&&(i=Cr[t]&&Cr[t](e,t,r)||ke(e,t)||ai(e,t)||(t==="opacity"?1:0))),r&&!~(i+"").trim().indexOf(" ")?Je(e,t,i,r)+r:i},$l=function(e,t,r,o){if(!r||r==="none"){var i=Dt(t,e,1),s=i&&ke(e,i,1);s&&s!==r?(t=i,r=s):t==="borderColor"&&(r=ke(e,"borderTopColor"))}var a=new me(this._pt,e.style,t,0,1,Fi),c=0,l=0,u,f,p,h,g,d,m,b,_,y,T,x;if(a.b=r,a.e=o,r+="",o+="",o.substring(0,6)==="var(--"&&(o=ke(e,o.substring(4,o.indexOf(")")))),o==="auto"&&(d=e.style[t],e.style[t]=o,o=ke(e,t)||o,d?e.style[t]=d:Qe(e,t)),u=[r,o],Ci(u),r=u[0],o=u[1],p=r.match(yt)||[],x=o.match(yt)||[],x.length){for(;f=yt.exec(o);)m=f[0],_=o.substring(c,f.index),g?g=(g+1)%5:(_.substr(-5)==="rgba("||_.substr(-5)==="hsla(")&&(g=1),m!==(d=p[l++]||"")&&(h=parseFloat(d)||0,T=d.substr((h+"").length),m.charAt(1)==="="&&(m=Tt(h,m)+T),b=parseFloat(m),y=m.substr((b+"").length),c=yt.lastIndex-y.length,y||(y=y||Ce.units[t]||T,c===o.length&&(o+=y,a.e+=y)),T!==y&&(h=Je(e,t,d,y)||0),a._pt={_next:a._pt,p:_||l===1?_:",",s:h,c:b-h,m:g&&g<4||t==="zIndex"?Math.round:0});a.c=c<o.length?o.substring(c,o.length):""}else a.r=t==="display"&&o==="none"?Ni:zi;return ri.test(o)&&(a.e=0),this._pt=a,a},So={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Wl=function(e){var t=e.split(" "),r=t[0],o=t[1]||"50%";return(r==="top"||r==="bottom"||o==="left"||o==="right")&&(e=r,r=o,o=e),t[0]=So[r]||r,t[1]=So[o]||o,t.join(" ")},Xl=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var r=t.t,o=r.style,i=t.u,s=r._gsap,a,c,l;if(i==="all"||i===!0)o.cssText="",c=1;else for(i=i.split(","),l=i.length;--l>-1;)a=i[l],Ve[a]&&(c=1,a=a==="transformOrigin"?_e:q),Qe(r,a);c&&(Qe(r,q),s&&(s.svg&&r.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",jt(r,1),s.uncache=1,Bi(o)))}},Cr={clearProps:function(e,t,r,o,i){if(i.data!=="isFromStart"){var s=e._pt=new me(e._pt,t,r,0,0,Xl);return s.u=o,s.pr=-10,s.tween=i,e._props.push(r),1}}},Yt=[1,0,0,1,0,0],$i={},Wi=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},ko=function(e){var t=ke(e,q);return Wi(t)?Yt:t.substr(7).match(ti).map(K)},Un=function(e,t){var r=e._gsap||ct(e),o=e.style,i=ko(e),s,a,c,l;return r.svg&&e.getAttribute("transform")?(c=e.transform.baseVal.consolidate().matrix,i=[c.a,c.b,c.c,c.d,c.e,c.f],i.join(",")==="1,0,0,1,0,0"?Yt:i):(i===Yt&&!e.offsetParent&&e!==wt&&!r.svg&&(c=o.display,o.display="block",s=e.parentNode,(!s||!e.offsetParent&&!e.getBoundingClientRect().width)&&(l=1,a=e.nextElementSibling,wt.appendChild(e)),i=ko(e),c?o.display=c:Qe(e,"display"),l&&(a?s.insertBefore(e,a):s?s.appendChild(e):wt.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},vn=function(e,t,r,o,i,s){var a=e._gsap,c=i||Un(e,!0),l=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,p=a.yOffset||0,h=c[0],g=c[1],d=c[2],m=c[3],b=c[4],_=c[5],y=t.split(" "),T=parseFloat(y[0])||0,x=parseFloat(y[1])||0,k,S,v,w;r?c!==Yt&&(S=h*m-g*d)&&(v=T*(m/S)+x*(-d/S)+(d*_-m*b)/S,w=T*(-g/S)+x*(h/S)-(h*_-g*b)/S,T=v,x=w):(k=Hi(e),T=k.x+(~y[0].indexOf("%")?T/100*k.width:T),x=k.y+(~(y[1]||y[0]).indexOf("%")?x/100*k.height:x)),o||o!==!1&&a.smooth?(b=T-l,_=x-u,a.xOffset=f+(b*h+_*d)-b,a.yOffset=p+(b*g+_*m)-_):a.xOffset=a.yOffset=0,a.xOrigin=T,a.yOrigin=x,a.smooth=!!o,a.origin=t,a.originIsAbsolute=!!r,e.style[_e]="0px 0px",s&&(Ye(s,a,"xOrigin",l,T),Ye(s,a,"yOrigin",u,x),Ye(s,a,"xOffset",f,a.xOffset),Ye(s,a,"yOffset",p,a.yOffset)),e.setAttribute("data-svg-origin",T+" "+x)},jt=function(e,t){var r=e._gsap||new Oi(e);if("x"in r&&!t&&!r.uncache)return r;var o=e.style,i=r.scaleX<0,s="px",a="deg",c=getComputedStyle(e),l=ke(e,_e)||"0",u,f,p,h,g,d,m,b,_,y,T,x,k,S,v,w,O,N,R,z,B,F,A,M,Z,ye,D,re,xe,ue,ne,G;return u=f=p=d=m=b=_=y=T=0,h=g=1,r.svg=!!(e.getCTM&&Vi(e)),c.translate&&((c.translate!=="none"||c.scale!=="none"||c.rotate!=="none")&&(o[q]=(c.translate!=="none"?"translate3d("+(c.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(c.rotate!=="none"?"rotate("+c.rotate+") ":"")+(c.scale!=="none"?"scale("+c.scale.split(" ").join(",")+") ":"")+(c[q]!=="none"?c[q]:"")),o.scale=o.rotate=o.translate="none"),S=Un(e,r.svg),r.svg&&(r.uncache?(Z=e.getBBox(),l=r.xOrigin-Z.x+"px "+(r.yOrigin-Z.y)+"px",M=""):M=!t&&e.getAttribute("data-svg-origin"),vn(e,M||l,!!M||r.originIsAbsolute,r.smooth!==!1,S)),x=r.xOrigin||0,k=r.yOrigin||0,S!==Yt&&(N=S[0],R=S[1],z=S[2],B=S[3],u=F=S[4],f=A=S[5],S.length===6?(h=Math.sqrt(N*N+R*R),g=Math.sqrt(B*B+z*z),d=N||R?bt(R,N)*st:0,_=z||B?bt(z,B)*st+d:0,_&&(g*=Math.abs(Math.cos(_*St))),r.svg&&(u-=x-(x*N+k*z),f-=k-(x*R+k*B))):(G=S[6],ue=S[7],D=S[8],re=S[9],xe=S[10],ne=S[11],u=S[12],f=S[13],p=S[14],v=bt(G,xe),m=v*st,v&&(w=Math.cos(-v),O=Math.sin(-v),M=F*w+D*O,Z=A*w+re*O,ye=G*w+xe*O,D=F*-O+D*w,re=A*-O+re*w,xe=G*-O+xe*w,ne=ue*-O+ne*w,F=M,A=Z,G=ye),v=bt(-z,xe),b=v*st,v&&(w=Math.cos(-v),O=Math.sin(-v),M=N*w-D*O,Z=R*w-re*O,ye=z*w-xe*O,ne=B*O+ne*w,N=M,R=Z,z=ye),v=bt(R,N),d=v*st,v&&(w=Math.cos(v),O=Math.sin(v),M=N*w+R*O,Z=F*w+A*O,R=R*w-N*O,A=A*w-F*O,N=M,F=Z),m&&Math.abs(m)+Math.abs(d)>359.9&&(m=d=0,b=180-b),h=K(Math.sqrt(N*N+R*R+z*z)),g=K(Math.sqrt(A*A+G*G)),v=bt(F,A),_=Math.abs(v)>2e-4?v*st:0,T=ne?1/(ne<0?-ne:ne):0),r.svg&&(M=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Wi(ke(e,q)),M&&e.setAttribute("transform",M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(h*=-1,_+=d<=0?180:-180,d+=d<=0?180:-180):(g*=-1,_+=_<=0?180:-180)),t=t||r.uncache,r.x=u-((r.xPercent=u&&(!t&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+s,r.y=f-((r.yPercent=f&&(!t&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+s,r.z=p+s,r.scaleX=K(h),r.scaleY=K(g),r.rotation=K(d)+a,r.rotationX=K(m)+a,r.rotationY=K(b)+a,r.skewX=_+a,r.skewY=y+a,r.transformPerspective=T+s,(r.zOrigin=parseFloat(l.split(" ")[2])||!t&&r.zOrigin||0)&&(o[_e]=Er(l)),r.xOffset=r.yOffset=0,r.force3D=Ce.force3D,r.renderTransform=r.svg?Yl:Ui?Xi:ql,r.uncache=0,r},Er=function(e){return(e=e.split(" "))[0]+" "+e[1]},Jr=function(e,t,r){var o=le(t);return K(parseFloat(t)+parseFloat(Je(e,"x",r+"px",o)))+o},ql=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Xi(e,t)},nt="0deg",Rt="0px",ot=") ",Xi=function(e,t){var r=t||this,o=r.xPercent,i=r.yPercent,s=r.x,a=r.y,c=r.z,l=r.rotation,u=r.rotationY,f=r.rotationX,p=r.skewX,h=r.skewY,g=r.scaleX,d=r.scaleY,m=r.transformPerspective,b=r.force3D,_=r.target,y=r.zOrigin,T="",x=b==="auto"&&e&&e!==1||b===!0;if(y&&(f!==nt||u!==nt)){var k=parseFloat(u)*St,S=Math.sin(k),v=Math.cos(k),w;k=parseFloat(f)*St,w=Math.cos(k),s=Jr(_,s,S*w*-y),a=Jr(_,a,-Math.sin(k)*-y),c=Jr(_,c,v*w*-y+y)}m!==Rt&&(T+="perspective("+m+ot),(o||i)&&(T+="translate("+o+"%, "+i+"%) "),(x||s!==Rt||a!==Rt||c!==Rt)&&(T+=c!==Rt||x?"translate3d("+s+", "+a+", "+c+") ":"translate("+s+", "+a+ot),l!==nt&&(T+="rotate("+l+ot),u!==nt&&(T+="rotateY("+u+ot),f!==nt&&(T+="rotateX("+f+ot),(p!==nt||h!==nt)&&(T+="skew("+p+", "+h+ot),(g!==1||d!==1)&&(T+="scale("+g+", "+d+ot),_.style[q]=T||"translate(0, 0)"},Yl=function(e,t){var r=t||this,o=r.xPercent,i=r.yPercent,s=r.x,a=r.y,c=r.rotation,l=r.skewX,u=r.skewY,f=r.scaleX,p=r.scaleY,h=r.target,g=r.xOrigin,d=r.yOrigin,m=r.xOffset,b=r.yOffset,_=r.forceCSS,y=parseFloat(s),T=parseFloat(a),x,k,S,v,w;c=parseFloat(c),l=parseFloat(l),u=parseFloat(u),u&&(u=parseFloat(u),l+=u,c+=u),c||l?(c*=St,l*=St,x=Math.cos(c)*f,k=Math.sin(c)*f,S=Math.sin(c-l)*-p,v=Math.cos(c-l)*p,l&&(u*=St,w=Math.tan(l-u),w=Math.sqrt(1+w*w),S*=w,v*=w,u&&(w=Math.tan(u),w=Math.sqrt(1+w*w),x*=w,k*=w)),x=K(x),k=K(k),S=K(S),v=K(v)):(x=f,v=p,k=S=0),(y&&!~(s+"").indexOf("px")||T&&!~(a+"").indexOf("px"))&&(y=Je(h,"x",s,"px"),T=Je(h,"y",a,"px")),(g||d||m||b)&&(y=K(y+g-(g*x+d*S)+m),T=K(T+d-(g*k+d*v)+b)),(o||i)&&(w=h.getBBox(),y=K(y+o/100*w.width),T=K(T+i/100*w.height)),w="matrix("+x+","+k+","+S+","+v+","+y+","+T+")",h.setAttribute("transform",w),_&&(h.style[q]=w)},jl=function(e,t,r,o,i){var s=360,a=oe(i),c=parseFloat(i)*(a&&~i.indexOf("rad")?st:1),l=c-o,u=o+l+"deg",f,p;return a&&(f=i.split("_")[1],f==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),f==="cw"&&l<0?l=(l+s*vo)%s-~~(l/s)*s:f==="ccw"&&l>0&&(l=(l-s*vo)%s-~~(l/s)*s)),e._pt=p=new me(e._pt,t,r,o,l,Al),p.e=u,p.u="deg",e._props.push(r),p},Co=function(e,t){for(var r in t)e[r]=t[r];return e},Zl=function(e,t,r){var o=Co({},r._gsap),i="perspective,force3D,transformOrigin,svgOrigin",s=r.style,a,c,l,u,f,p,h,g;o.svg?(l=r.getAttribute("transform"),r.setAttribute("transform",""),s[q]=t,a=jt(r,1),Qe(r,q),r.setAttribute("transform",l)):(l=getComputedStyle(r)[q],s[q]=t,a=jt(r,1),s[q]=l);for(c in Ve)l=o[c],u=a[c],l!==u&&i.indexOf(c)<0&&(h=le(l),g=le(u),f=h!==g?Je(r,c,l,g):parseFloat(l),p=parseFloat(u),e._pt=new me(e._pt,a,c,f,p-f,mn),e._pt.u=g||0,e._props.push(c));Co(a,o)};ge("padding,margin,Width,Radius",function(n,e){var t="Top",r="Right",o="Bottom",i="Left",s=(e<3?[t,r,o,i]:[t+i,t+r,o+r,o+i]).map(function(a){return e<2?n+a:"border"+a+n});Cr[e>1?"border"+n:n]=function(a,c,l,u,f){var p,h;if(arguments.length<4)return p=s.map(function(g){return Ue(a,g,l)}),h=p.join(" "),h.split(p[0]).length===5?p[0]:h;p=(u+"").split(" "),h={},s.forEach(function(g,d){return h[g]=p[d]=p[d]||p[(d-1)/2|0]}),a.init(c,h,f)}});var qi={name:"css",register:bn,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,r,o,i){var s=this._props,a=e.style,c=r.vars.startAt,l,u,f,p,h,g,d,m,b,_,y,T,x,k,S,v,w;Nn||bn(),this.styles=this.styles||Gi(e),v=this.styles.props,this.tween=r;for(d in t)if(d!=="autoRound"&&(u=t[d],!(Te[d]&&Di(d,t,r,o,e,i)))){if(h=typeof u,g=Cr[d],h==="function"&&(u=u.call(r,o,e,i),h=typeof u),h==="string"&&~u.indexOf("random(")&&(u=Wt(u)),g)g(this,e,d,u,r)&&(S=1);else if(d.substr(0,2)==="--")l=(getComputedStyle(e).getPropertyValue(d)+"").trim(),u+="",Ze.lastIndex=0,Ze.test(l)||(m=le(l),b=le(u),b?m!==b&&(l=Je(e,d,l,b)+b):m&&(u+=m)),this.add(a,"setProperty",l,u,o,i,0,0,d),s.push(d),v.push(d,0,a[d]);else if(h!=="undefined"){if(c&&d in c?(l=typeof c[d]=="function"?c[d].call(r,o,e,i):c[d],oe(l)&&~l.indexOf("random(")&&(l=Wt(l)),le(l+"")||l==="auto"||(l+=Ce.units[d]||le(Ue(e,d))||""),(l+"").charAt(1)==="="&&(l=Ue(e,d))):l=Ue(e,d),p=parseFloat(l),_=h==="string"&&u.charAt(1)==="="&&u.substr(0,2),_&&(u=u.substr(2)),f=parseFloat(u),d in ze&&(d==="autoAlpha"&&(p===1&&Ue(e,"visibility")==="hidden"&&f&&(p=0),v.push("visibility",0,a.visibility),Ye(this,a,"visibility",p?"inherit":"hidden",f?"inherit":"hidden",!f)),d!=="scale"&&d!=="transform"&&(d=ze[d],~d.indexOf(",")&&(d=d.split(",")[0]))),y=d in Ve,y){if(this.styles.save(d),w=u,h==="string"&&u.substring(0,6)==="var(--"){if(u=ke(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var O=e.style.perspective;e.style.perspective=u,u=ke(e,"perspective"),O?e.style.perspective=O:Qe(e,"perspective")}f=parseFloat(u)}if(T||(x=e._gsap,x.renderTransform&&!t.parseTransform||jt(e,t.parseTransform),k=t.smoothOrigin!==!1&&x.smooth,T=this._pt=new me(this._pt,a,q,0,1,x.renderTransform,x,0,-1),T.dep=1),d==="scale")this._pt=new me(this._pt,x,"scaleY",x.scaleY,(_?Tt(x.scaleY,_+f):f)-x.scaleY||0,mn),this._pt.u=0,s.push("scaleY",d),d+="X";else if(d==="transformOrigin"){v.push(_e,0,a[_e]),u=Wl(u),x.svg?vn(e,u,0,k,0,this):(b=parseFloat(u.split(" ")[2])||0,b!==x.zOrigin&&Ye(this,x,"zOrigin",x.zOrigin,b),Ye(this,a,d,Er(l),Er(u)));continue}else if(d==="svgOrigin"){vn(e,u,1,k,0,this);continue}else if(d in $i){jl(this,x,d,p,_?Tt(p,_+u):u);continue}else if(d==="smoothOrigin"){Ye(this,x,"smooth",x.smooth,u);continue}else if(d==="force3D"){x[d]=u;continue}else if(d==="transform"){Zl(this,u,e);continue}}else d in a||(d=Dt(d)||d);if(y||(f||f===0)&&(p||p===0)&&!Pl.test(u)&&d in a)m=(l+"").substr((p+"").length),f||(f=0),b=le(u)||(d in Ce.units?Ce.units[d]:m),m!==b&&(p=Je(e,d,l,b)),this._pt=new me(this._pt,y?x:a,d,p,(_?Tt(p,_+f):f)-p,!y&&(b==="px"||d==="zIndex")&&t.autoRound!==!1?Fl:mn),this._pt.u=b||0,y&&w!==u?(this._pt.b=l,this._pt.e=w,this._pt.r=Rl):m!==b&&b!=="%"&&(this._pt.b=l,this._pt.r=Ll);else if(d in a)$l.call(this,e,d,l,_?_+u:u);else if(d in e)this.add(e,d,l||e[d],_?_+u:u,o,i);else if(d!=="parseTransform"){On(d,u);continue}y||(d in a?v.push(d,0,a[d]):typeof e[d]=="function"?v.push(d,2,e[d]()):v.push(d,1,l||e[d])),s.push(d)}}S&&Ii(this)},render:function(e,t){if(t.tween._time||!Bn())for(var r=t._pt;r;)r.r(e,r.d),r=r._next;else t.styles.revert()},get:Ue,aliases:ze,getSetter:function(e,t,r){var o=ze[t];return o&&o.indexOf(",")<0&&(t=o),t in Ve&&t!==_e&&(e._gsap.x||Ue(e,"x"))?r&&bo===r?t==="scale"?Nl:zl:(bo=r||{})&&(t==="scale"?Bl:Gl):e.style&&!kn(e.style[t])?Il:~t.indexOf("-")?Ml:Mn(e,t)},core:{_removeProperty:Qe,_getMatrix:Un}};be.utils.checkPrefix=Dt;be.core.getStyleSaver=Gi;(function(n,e,t,r){var o=ge(n+","+e+","+t,function(i){Ve[i]=1});ge(e,function(i){Ce.units[i]="deg",$i[i]=1}),ze[o[13]]=n+","+e,ge(r,function(i){var s=i.split(":");ze[s[1]]=o[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");ge("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){Ce.units[n]="px"});be.registerPlugin(qi);var fe=be.registerPlugin(qi)||be;fe.core.Tween;/*!
|
|
16
|
+
* paths 3.15.0
|
|
17
|
+
* https://gsap.com
|
|
18
|
+
*
|
|
19
|
+
* Copyright 2008-2026, GreenSock. All rights reserved.
|
|
20
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
21
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
22
|
+
*/var Kl=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,Ql=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,Jl=Math.PI/180,fr=Math.sin,dr=Math.cos,Ut=Math.abs,Ft=Math.sqrt,ec=function(e){return typeof e=="number"},Eo=1e5,We=function(e){return Math.round(e*Eo)/Eo||0},Oo=function(e){return e.closed=Math.abs(e[0]-e[e.length-2])<.001&&Math.abs(e[1]-e[e.length-1])<.001};function tc(n,e,t,r,o,i,s){for(var a=n.length,c,l,u,f,p;--a>-1;)for(c=n[a],l=c.length,u=0;u<l;u+=2)f=c[u],p=c[u+1],c[u]=f*e+p*r+i,c[u+1]=f*t+p*o+s;return n._dirty=1,n}function rc(n,e,t,r,o,i,s,a,c){if(!(n===a&&e===c)){t=Ut(t),r=Ut(r);var l=o%360*Jl,u=dr(l),f=fr(l),p=Math.PI,h=p*2,g=(n-a)/2,d=(e-c)/2,m=u*g+f*d,b=-f*g+u*d,_=m*m,y=b*b,T=_/(t*t)+y/(r*r);T>1&&(t=Ft(T)*t,r=Ft(T)*r);var x=t*t,k=r*r,S=(x*k-x*y-k*_)/(x*y+k*_);S<0&&(S=0);var v=(i===s?-1:1)*Ft(S),w=v*(t*b/r),O=v*-(r*m/t),N=(n+a)/2,R=(e+c)/2,z=N+(u*w-f*O),B=R+(f*w+u*O),F=(m-w)/t,A=(b-O)/r,M=(-m-w)/t,Z=(-b-O)/r,ye=F*F+A*A,D=(A<0?-1:1)*Math.acos(F/Ft(ye)),re=(F*Z-A*M<0?-1:1)*Math.acos((F*M+A*Z)/Ft(ye*(M*M+Z*Z)));isNaN(re)&&(re=p),!s&&re>0?re-=h:s&&re<0&&(re+=h),D%=h,re%=h;var xe=Math.ceil(Ut(re)/(h/4)),ue=[],ne=re/xe,G=4/3*fr(ne/2)/(1+dr(ne/2)),ie=u*t,_t=f*t,rr=f*-r,J=u*r,ae;for(ae=0;ae<xe;ae++)o=D+ae*ne,m=dr(o),b=fr(o),F=dr(o+=ne),A=fr(o),ue.push(m-G*b,b+G*m,F+G*A,A-G*F,F,A);for(ae=0;ae<ue.length;ae+=2)m=ue[ae],b=ue[ae+1],ue[ae]=m*ie+b*rr+z,ue[ae+1]=m*_t+b*J+B;return ue[ae-2]=a,ue[ae-1]=c,ue}}function nc(n){var e=(n+"").replace(Ql,function(w){var O=+w;return O<1e-4&&O>-1e-4?0:O}).match(Kl)||[],t=[],r=0,o=0,i=2/3,s=e.length,a=0,c="ERROR: malformed path: "+n,l,u,f,p,h,g,d,m,b,_,y,T,x,k,S,v=function(O,N,R,z){_=(R-O)/3,y=(z-N)/3,d.push(O+_,N+y,R-_,z-y,R,z)};if(!n||!isNaN(e[0])||isNaN(e[1]))return console.log(c),t;for(l=0;l<s;l++)if(x=h,isNaN(e[l])?(h=e[l].toUpperCase(),g=h!==e[l]):l--,f=+e[l+1],p=+e[l+2],g&&(f+=r,p+=o),l||(m=f,b=p),h==="M")d&&(d.length<8?t.length-=1:a+=d.length,Oo(d)),r=m=f,o=b=p,d=[f,p],t.push(d),l+=2,h="L";else if(h==="C")d||(d=[0,0]),g||(r=o=0),d.push(f,p,r+e[l+3]*1,o+e[l+4]*1,r+=e[l+5]*1,o+=e[l+6]*1),l+=6;else if(h==="S")_=r,y=o,(x==="C"||x==="S")&&(_+=r-d[d.length-4],y+=o-d[d.length-3]),g||(r=o=0),d.push(_,y,f,p,r+=e[l+3]*1,o+=e[l+4]*1),l+=4;else if(h==="Q")_=r+(f-r)*i,y=o+(p-o)*i,g||(r=o=0),r+=e[l+3]*1,o+=e[l+4]*1,d.push(_,y,r+(f-r)*i,o+(p-o)*i,r,o),l+=4;else if(h==="T")_=r-d[d.length-4],y=o-d[d.length-3],d.push(r+_,o+y,f+(r+_*1.5-f)*i,p+(o+y*1.5-p)*i,r=f,o=p),l+=2;else if(h==="H")v(r,o,r=f,o),l+=1;else if(h==="V")v(r,o,r,o=f+(g?o-r:0)),l+=1;else if(h==="L"||h==="Z")h==="Z"&&(f=m,p=b,d.closed=!0),(h==="L"||Ut(r-f)>.5||Ut(o-p)>.5)&&(v(r,o,f,p),h==="L"&&(l+=2)),r=f,o=p;else if(h==="A"){if(k=e[l+4],S=e[l+5],_=e[l+6],y=e[l+7],u=7,k.length>1&&(k.length<3?(y=_,_=S,u--):(y=S,_=k.substr(2),u-=2),S=k.charAt(1),k=k.charAt(0)),T=rc(r,o,+e[l+1],+e[l+2],+e[l+3],+k,+S,(g?r:0)+_*1,(g?o:0)+y*1),l+=u,T)for(u=0;u<T.length;u++)d.push(T[u]);r=d[d.length-2],o=d[d.length-1]}else console.log(c);return l=d.length,l<6?(t.pop(),l=0):Oo(d),t.totalPoints=a+l,t}function oc(n){ec(n[0])&&(n=[n]);var e="",t=n.length,r,o,i,s;for(o=0;o<t;o++){for(s=n[o],e+="M"+We(s[0])+","+We(s[1])+" C",r=s.length,i=2;i<r;i++)e+=We(s[i++])+","+We(s[i++])+" "+We(s[i++])+","+We(s[i++])+" "+We(s[i++])+","+We(s[i])+" ";s.closed&&(e+="z")}return e}/*!
|
|
23
|
+
* CustomEase 3.15.0
|
|
24
|
+
* https://gsap.com
|
|
25
|
+
*
|
|
26
|
+
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
|
27
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
28
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
29
|
+
*/var de,Yi,ji=function(){return de||typeof window<"u"&&(de=window.gsap)&&de.registerPlugin&&de},Do=function(){de=ji(),de?(de.registerEase("_CE",ht.create),Yi=1):console.warn("Please gsap.registerPlugin(CustomEase)")},ic=1e20,hr=function(e){return~~(e*1e3+(e<0?-.5:.5))/1e3},sc=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/gi,ac=/[cLlsSaAhHvVtTqQ]/g,lc=function(e){var t=e.length,r=ic,o;for(o=1;o<t;o+=6)+e[o]<r&&(r=+e[o]);return r},cc=function(e,t,r){!r&&r!==0&&(r=Math.max(+e[e.length-1],+e[1]));var o=+e[0]*-1,i=-r,s=e.length,a=1/(+e[s-2]+o),c=-t||(Math.abs(+e[s-1]-+e[1])<.01*(+e[s-2]-+e[0])?lc(e)+i:+e[s-1]+i),l;for(c?c=1/c:c=-a,l=0;l<s;l+=2)e[l]=(+e[l]+o)*a,e[l+1]=(+e[l+1]+i)*c},uc=function n(e,t,r,o,i,s,a,c,l,u,f){var p=(e+r)/2,h=(t+o)/2,g=(r+i)/2,d=(o+s)/2,m=(i+a)/2,b=(s+c)/2,_=(p+g)/2,y=(h+d)/2,T=(g+m)/2,x=(d+b)/2,k=(_+T)/2,S=(y+x)/2,v=a-e,w=c-t,O=Math.abs((r-a)*w-(o-c)*v),N=Math.abs((i-a)*w-(s-c)*v),R;return u||(u=[{x:e,y:t},{x:a,y:c}],f=1),u.splice(f||u.length-1,0,{x:k,y:S}),(O+N)*(O+N)>l*(v*v+w*w)&&(R=u.length,n(e,t,p,h,_,y,k,S,l,u,f),n(k,S,T,x,m,b,a,c,l,u,f+1+(u.length-R))),u},ht=(function(){function n(t,r,o){Yi||Do(),this.id=t,this.setData(r,o)}var e=n.prototype;return e.setData=function(r,o){o=o||{},r=r||"0,0,1,1";var i=r.match(sc),s=1,a=[],c=[],l=o.precision||1,u=l<=1,f,p,h,g,d,m,b,_,y;if(this.data=r,(ac.test(r)||~r.indexOf("M")&&r.indexOf("C")<0)&&(i=nc(r)[0]),f=i.length,f===4)i.unshift(0,0),i.push(1,1),f=8;else if((f-2)%6)throw"Invalid CustomEase";for((+i[0]!=0||+i[f-2]!=1)&&cc(i,o.height,o.originY),this.segment=i,g=2;g<f;g+=6)p={x:+i[g-2],y:+i[g-1]},h={x:+i[g+4],y:+i[g+5]},a.push(p,h),uc(p.x,p.y,+i[g],+i[g+1],+i[g+2],+i[g+3],h.x,h.y,1/(l*2e5),a,a.length-1);for(f=a.length,g=0;g<f;g++)b=a[g],_=a[g-1]||b,(b.x>_.x||_.y!==b.y&&_.x===b.x||b===_)&&b.x<=1?(_.cx=b.x-_.x,_.cy=b.y-_.y,_.n=b,_.nx=b.x,u&&g>1&&Math.abs(_.cy/_.cx-a[g-2].cy/a[g-2].cx)>2&&(u=0),_.cx<s&&(_.cx?s=_.cx:(_.cx=.001,g===f-1&&(_.x-=.001,s=Math.min(s,.001),u=0)))):(a.splice(g--,1),f--);if(f=1/s+1|0,d=1/f,m=0,b=a[0],u){for(g=0;g<f;g++)y=g*d,b.nx<y&&(b=a[++m]),p=b.y+(y-b.x)/b.cx*b.cy,c[g]={x:y,cx:d,y:p,cy:0,nx:9},g&&(c[g-1].cy=p-c[g-1].y);m=a[a.length-1],c[f-1].cy=m.y-p,c[f-1].cx=m.x-c[c.length-1].x}else{for(g=0;g<f;g++)b.nx<g*d&&(b=a[++m]),c[g]=b;m<a.length-1&&(c[g-1]=a[a.length-2])}return this.ease=function(T){var x=c[T*f|0]||c[f-1];return x.nx<T&&(x=x.n),x.y+(T-x.x)/x.cx*x.cy},this.ease.custom=this,this.id&&de&&de.registerEase(this.id,this.ease),this},e.getSVGData=function(r){return n.getSVGData(this,r)},n.create=function(r,o,i){return new n(r,o,i).ease},n.register=function(r){de=r,Do()},n.get=function(r){return de.parseEase(r)},n.getSVGData=function(r,o){o=o||{};var i=o.width||100,s=o.height||100,a=o.x||0,c=(o.y||0)+s,l=de.utils.toArray(o.path)[0],u,f,p,h,g,d,m,b,_,y;if(o.invert&&(s=-s,c=0),typeof r=="string"&&(r=de.parseEase(r)),r.custom&&(r=r.custom),r instanceof n)u=oc(tc([r.segment.slice(0)],i,0,0,-s,a,c));else{for(u=[a,c],m=Math.max(5,(o.precision||1)*200),h=1/m,m+=2,b=5/m,_=hr(a+h*i),y=hr(c+r(h)*-s),f=(y-c)/(_-a),p=2;p<m;p++)g=hr(a+p*h*i),d=hr(c+r(p*h)*-s),(Math.abs((d-y)/(g-_)-f)>b||p===m-1)&&(u.push(_,y),f=(d-y)/(g-_)),_=g,y=d;u="M"+u.join(",")}return l&&l.setAttribute("d",u),u},n})();ht.version="3.15.0";ht.headless=!0;ji()&&de.registerPlugin(ht);/*!
|
|
30
|
+
* @gsap/react 2.1.2
|
|
31
|
+
* https://gsap.com
|
|
32
|
+
*
|
|
33
|
+
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|
34
|
+
* Subject to the terms at https://gsap.com/standard-license or for
|
|
35
|
+
* Club GSAP members, the agreement issued with that membership.
|
|
36
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
37
|
+
*/let Po=typeof document<"u"?P.useLayoutEffect:P.useEffect,Ao=n=>n&&!Array.isArray(n)&&typeof n=="object",pr=[],fc={},Zi=fe;const Ir=(n,e=pr)=>{let t=fc;Ao(n)?(t=n,n=null,e="dependencies"in t?t.dependencies:pr):Ao(e)&&(t=e,e="dependencies"in t?t.dependencies:pr),n&&typeof n!="function"&&console.warn("First parameter must be a function or config object");const{scope:r,revertOnUpdate:o}=t,i=P.useRef(!1),s=P.useRef(Zi.context(()=>{},r)),a=P.useRef(l=>s.current.add(null,l)),c=e&&e.length&&!o;return c&&Po(()=>(i.current=!0,()=>s.current.revert()),pr),Po(()=>{if(n&&s.current.add(n,r),!c||!i.current)return()=>s.current.revert()},e),{context:s.current,contextSafe:a.current}};Ir.register=n=>{Zi=n};Ir.headless=!0;const dc={interactiveDuration:280,interactiveEase:"power2.out",hoverLiftEase:"sine.inOut",tooltipDuration:200,switchThumbDuration:340,switchThumbEase:"back.out(1.4)",selectionFillEase:"back.out(1.25)",selectionFillDuration:200,hoverLiftScale:1.025,badgeAnchorHoverLiftScale:1.052,pressSqueezeScale:[1,.98,1],rippleDefaultDuration:700,rippleDefaultOpacityFrom:.42,rippleExpandableDuration:700,rippleExpandableOpacityFrom:.34,rippleEaseCss:"cubic-bezier(0.25, 0.55, 0.35, 0.95)",feedbackExpandDuration:720,expandDuration:200,expandOpenEase:"sine.inOut",enableHoverLift:!0,enablePressSqueeze:!0,enableToggleButtonFill:!0,enableRipple:!0,enableExpandable:!0,enableToastStack:!0,enableAsyncButtonCrossfade:!0,enableContentFade:!0,enableFeedbackExpand:!0,progressFillDuration:600,progressFillEase:"power2.out",enableProgressFill:!0,loadingDotsDuration:900,loadingDotsEaseUp:"power2.out",loadingDotsEaseDown:"power2.in",enableLoadingDots:!0};let j={...dc},Ki=0;const yn=new Set;function hc(n){return yn.add(n),()=>{yn.delete(n)}}function pc(){return Ki}function Qi(n){j={...j,...n},Ki+=1;for(const e of yn)e()}function Re(){return j}function gc(){return{duration:j.interactiveDuration/1e3,ease:j.interactiveEase}}function mc(){return{duration:j.selectionFillDuration/1e3,ease:j.selectionFillEase}}function _c(){return{duration:j.tooltipDuration/1e3,ease:j.interactiveEase}}function bc(){return{duration:j.switchThumbDuration/1e3,ease:j.switchThumbEase}}function vc(){return{duration:j.expandDuration/1e3,ease:j.expandOpenEase}}function yc(){return{duration:j.tooltipDuration/1e3,ease:j.interactiveEase}}function xc(){return{duration:j.feedbackExpandDuration/1e3}}function Tc(){return{duration:j.progressFillDuration/1e3,ease:j.progressFillEase}}const wc=3;function Sc(){const n=j.loadingDotsDuration/1e3;return{cycleSec:n,staggerSec:n/wc,halfCycleSec:n/2,easeUp:j.loadingDotsEaseUp,easeDown:j.loadingDotsEaseDown,enabled:j.enableLoadingDots}}fe.registerPlugin(ht,Ir);const en="brn-ripple";let Lo="";function Ji(){const n=Re().rippleEaseCss;if(Lo!==n){const e=/cubic-bezier\(\s*([\d.]+),\s*([\d.]+),\s*([\d.]+),\s*([\d.]+)\s*\)/.exec(n);e?ht.create(en,`${e[1]},${e[2]},${e[3]},${e[4]}`):ht.create(en,"0.25,0.55,0.35,0.95"),Lo=n}return en}function De(...n){fe.killTweensOf(n)}function tr(n){return typeof window>"u"?"none":getComputedStyle(document.documentElement).getPropertyValue(n).trim()||"none"}const Zt=()=>tr("--shadow-none"),At=()=>tr(Jt.base),es=()=>tr(Jt.mid),kc=()=>tr(Jt.large);function Cc(n){return n==="none"?Zt():tr(Jt[n])}function Mr(n,e){n&&n.style.setProperty("--el-shadow",e)}function zr(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}const Ec="(max-width: 1024px), (hover: none), (pointer: coarse)";function Oc(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia(Ec).matches}function ve(){return zr()||Oc()||!Re().enableHoverLift}const Dc=2.4,Pc=.003,Ac=1.8,Lc=.002;function ts(n){const{width:e,height:t}=n.getBoundingClientRect(),r=Math.max(e,t,1),o=1-Re().pressSqueezeScale[1];return 1-Math.min(Math.max(Dc/r,Pc),o)}function Hn(n){return Vn(n)}function Rc(n){return ts(n)}function Vn(n){const{width:e,height:t}=n.getBoundingClientRect(),r=Math.max(e,t,1);return 1+Math.min(Math.max(Ac/r,Lc),Re().hoverLiftScale-1)}function Kt(n,e,t,r){if(ve()){e||(De(n),fe.set(n,{scale:1}),r&&n.style.setProperty("--el-shadow",r.idle??Zt()));return}De(n);const o=e?t!==void 0?t:Vn(n):1,i=Re();if(fe.to(n,{scale:o,duration:i.interactiveDuration/1e3,ease:i.hoverLiftEase,overwrite:"auto"}),r){const s=r.idle??Zt();n.style.setProperty("--el-shadow",e?r.hover:s)}}function Fc(n,e){var p;if(!Re().enablePressSqueeze)return(p=e==null?void 0:e.onReleaseStart)==null||p.call(e),Promise.resolve();De(n);const t=ts(n),r=Re(),o=r.interactiveDuration*1.15/1e3,i=o*.3,s=!ve(),a=!!(e!=null&&e.pointerInside&&s),c=a?(e==null?void 0:e.liftScale)!==void 0?e.liftScale:Vn(n):1,l=a?o:o*.5,u=a?r.hoverLiftEase:"sine.inOut",f=e==null?void 0:e.shadow;if(f){const h=f.idle??Zt();n.style.setProperty("--el-shadow",a?f.hover:h)}return new Promise(h=>{fe.timeline({onComplete:()=>{fe.set(n,{scale:c}),h()}}).to(n,{scale:t,duration:i,ease:"power1.out",overwrite:"auto"}).add(()=>{var g;(g=e==null?void 0:e.onReleaseStart)==null||g.call(e)}).to(n,{scale:c,duration:l,ease:u,overwrite:"auto"})})}function rs(n,e,t,r,o){return P.useEffect(()=>{const i=n.current;return()=>{i&&De(i)}},[n]),P.useMemo(()=>({onPointerOver:a=>{if(!e||a.defaultPrevented)return;const c=a.currentTarget;if(!(a.target instanceof Node)||!c.contains(a.target)||!Ko(c,a.relatedTarget)||ve())return;const l=n.current;l&&(t&&(t.current=!0),Kt(l,!0,r,o))},onPointerOut:a=>{const c=a.currentTarget,l=a.relatedTarget;if(l instanceof Node&&c.contains(l)||(t&&(t.current=!1),!e)||ve())return;const u=n.current;u&&Kt(u,!1,r,o)}}),[n,e,t,r,o])}const Ic="pointer-events-none absolute z-0 rounded-full",tn=.12;function Mc({id:n,x:e,y:t,size:r,durationMs:o,opacityFrom:i,background:s,direction:a,onDone:c}){const l=P.useRef(null),u=P.useRef(c);return u.current=c,P.useLayoutEffect(()=>{const f=l.current;if(!f)return;let p=!1;De(f);const h=a==="out"?tn:1,g=a==="out"?1:tn,d=fe.fromTo(f,{scale:h,autoAlpha:i},{scale:g,autoAlpha:0,duration:o/1e3,ease:Ji(),onComplete:()=>{p||u.current(n)}});return()=>{p=!0,d.kill(),De(f)}},[n,e,t,r,o,i,s,a]),mr.jsx("span",{ref:l,className:Ic,style:{left:e-r/2,top:t-r/2,width:r,height:r,background:s,transformOrigin:"center center",transform:`scale(${a==="out"?tn:1})`},"aria-hidden":!0})}function zc({ripples:n,tone:e,onDone:t,durationMs:r=Re().rippleDefaultDuration,opacityFrom:o=Re().rippleDefaultOpacityFrom,direction:i="in"}){return mr.jsx(mr.Fragment,{children:n.map(s=>mr.jsx(Mc,{...s,background:e,durationMs:r,opacityFrom:o,direction:i,onDone:t},s.id))})}function Nc(n,e,t,r){return Math.max(...[[0,0],[t,0],[0,r],[t,r]].map(([i,s])=>Math.hypot(i-n,s-e)))}function $n(n,e,t,r){const o=n.getBoundingClientRect(),i=e-o.left,s=t-o.top,a=Nc(i,s,o.width,o.height)*2;return{id:r,x:i,y:s,size:a}}function Bc(n,e){const t=n.currentTarget;return t?$n(t,n.clientX,n.clientY,e):null}function Gc(){const n=P.useRef(0),[e,t]=P.useState([]),r=P.useCallback(s=>{t(a=>a.filter(c=>c.id!==s))},[]),o=P.useCallback((s,a,c)=>{const l=++n.current,u=$n(s,a,c,l);t(f=>[...f,u])},[]),i=P.useCallback(s=>{const a=s.currentTarget;a&&o(a,s.clientX,s.clientY)},[o]);return{ripples:e,pushFromPointer:i,pushAtClientCoords:o,dismiss:r}}const Uc=["small","base","mid","strong","bold"],Nr={small:"--font-w-small",base:"--font-w-base",mid:"--font-w-mid",strong:"--font-w-strong",bold:"--font-w-bold"},ns={small:400,base:500,mid:600,strong:700,bold:800};function Hc(n){return`var(--font-w-${n})`}const Vc=["--border-width","--color-background","--color-surface","--color-border","--color-foreground","--color-muted","--color-primary","--color-primary-foreground","--color-primary-hover","--color-default-hover","--color-primary-tint","--color-primary-tint-strong","--color-indicator","--color-indicator-foreground","--color-secondary","--color-secondary-foreground","--color-secondary-hover","--color-tertiary","--color-tertiary-foreground","--color-tertiary-hover","--color-focus-ring","--color-converge-ripple-primary-fill","--color-converge-ripple-neutral","--color-converge-ripple-neutral-muted","--color-converge-ripple-danger","--color-converge-ripple-info","--color-converge-ripple-success","--color-converge-ripple-warning","--color-danger","--color-danger-fill-hover","--color-danger-foreground","--color-success","--color-success-foreground","--color-success-fill-hover","--color-info","--color-info-foreground","--color-info-fill-hover","--color-warning","--color-warning-foreground","--color-warning-fill-hover","--color-surface-tint-danger","--color-surface-tint-success","--color-surface-tint-info","--color-surface-tint-warning","--color-surface-tint-danger-hover","--color-surface-tint-success-hover","--color-surface-tint-info-hover","--color-surface-tint-warning-hover","--font-family-sans","--font-family-mono","--font-w-small","--font-w-base","--font-w-mid","--font-w-strong","--font-w-bold","--space","--space-xsmall","--space-small","--space-base","--space-plus","--space-mid","--space-large","--space-xlarge","--size","--size-scale-xsmall","--size-scale-small","--size-scale-base","--size-scale-plus","--size-scale-mid","--size-scale-large","--size-scale-xlarge","--selection-indicator-small","--selection-indicator-base","--selection-indicator-mid","--selection-indicator-large","--radius","--radius-value-xsmall","--radius-value-small","--radius-value-base","--radius-value-mid","--radius-value-large","--text-scale-tools","--text-scale-tools--line-height","--text-scale-xsmall","--text-scale-xsmall--line-height","--text-scale-small","--text-scale-small--line-height","--text-scale-base","--text-scale-base--line-height","--text-scale-mid","--text-scale-mid--line-height","--text-scale-large","--text-scale-large--line-height","--text-scale-xlarge","--text-scale-xlarge--line-height","--text-scale-2xlarge","--text-scale-2xlarge--line-height","--text-scale-3xlarge","--text-scale-3xlarge--line-height","--text-accent-header-size","--text-accent-header-line-height","--text-accent-header-weight","--text-header-1-size","--text-header-1-line-height","--text-header-1-weight","--text-header-2-size","--text-header-2-line-height","--text-header-2-weight","--text-large-size","--text-large-line-height","--text-large-weight","--text-base-size","--text-base-line-height","--text-base-weight","--text-small-size","--text-small-line-height","--text-small-weight","--text-mid-size","--text-mid-line-height","--text-mid-weight","--text-tools-size","--text-tools-line-height","--text-tools-weight","--max-component-small","--max-component-base","--max-component-mid","--max-component-large","--button-min-width-small","--button-min-width-base","--button-min-width-mid","--button-min-width-large","--control-height-small","--control-height-base","--control-height-mid","--control-height-large","--avatar-size-small","--avatar-size-base","--avatar-size-mid","--avatar-size-large","--icon-size-xsmall","--icon-size-small","--icon-size-base","--icon-size-mid","--icon-size-large","--icon-size-xlarge","--icon-size-2xlarge","--shadow-size","--shadow-none","--shadow-base","--shadow-mid","--shadow-large","--toast-scrim-size","--toast-scrim-density"];function Q(n){return`var(--color-${n})`}const xn="data-gloss-motion-init",Wn="will-change-transform origin-center",Ro={rest:{angle1:-75,angle2:-45,shineX:0,shineY:50},hover:{angle1:-80,angle2:-45,shineX:10,shineY:50},press:{angle1:-75,angle2:-15,shineX:15,shineY:15}},$c=120,Wc=.35;function Xc(n){const{width:e,height:t}=n.getBoundingClientRect(),r=Math.max(e,t,1);return Math.min(1,Math.max(Wc,$c/r))}function qc(n,e){const t=Ro.rest,r=Ro[e];if(e==="rest")return r;const o=Xc(n);return{angle1:t.angle1+(r.angle1-t.angle1)*o,angle2:t.angle2+(r.angle2-t.angle2)*o,shineX:t.shineX+(r.shineX-t.shineX)*o,shineY:t.shineY+(r.shineY-t.shineY)*o}}function it(n,e){const t=getComputedStyle(n).getPropertyValue(e).trim();return t||(typeof document>"u"?"":getComputedStyle(document.documentElement).getPropertyValue(e).trim())}function Yc(n,e){const t=qc(n,e);return{"--gloss-angle-1":`${t.angle1}deg`,"--gloss-angle-2":`${t.angle2}deg`,"--gloss-shine-x":t.shineX,"--gloss-shine-y":t.shineY}}function jc(n,e){const t=it(n,"--gloss-inset-top"),r=it(n,"--gloss-inset-bottom"),o=it(n,"--gloss-elevation"),i=it(n,"--gloss-elevation-hover")||o,s=it(n,"--gloss-inner-glow"),a=it(n,"--gloss-glow-hover"),c=it(n,"--gloss-press-inset"),l=`inset 0 0.425em 0.425em ${t}, inset 0 -0.225em 0.225em ${r}`,u=e==="hover"?`0 0.125em 0.3125em -0.1875em ${i}`:e==="press"?`0 0.04em 0.08em -0.0625em ${o}`:`0 0.0625em 0.125em -0.0625em ${o}`,f=e==="hover"?`inset 0 0 0.1em 0.25em ${a}`:`inset 0 0 0.05em 0.1em ${s}`,p=e==="press"?`inset 0 0.25em 0.06em 0 ${c}`:"inset 0 0.25em 0.06em 0 rgb(0 0 0 / 0)";return`${l}, ${u}, ${f}, ${p}`}function Pt(n,e){return{...Yc(n,e),boxShadow:jc(n,e)}}function Or(n){De(n),fe.set(n,{scale:1,...Pt(n,"rest")})}let rn=null;function os(n){if(ve()){Or(n);return}const e=n.matches(":hover")||n.matches(":focus-within");if(De(n),e){fe.set(n,{scale:Hn(n),...Pt(n,"hover")});return}Or(n)}function Zc(n){if(typeof document>"u")return;document.querySelectorAll(`[${xn}]`).forEach(os)}function Kc(){rn||typeof document>"u"||(rn=new MutationObserver(n=>{for(const e of n)if(e.type==="attributes"&&e.attributeName==="data-theme"){Zc();return}}),rn.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]}))}function Xn(n,e=!0){return t=>{n.current=t,t&&e&&(Kc(),t.hasAttribute(xn)||(t.setAttribute(xn,""),Or(t)))}}function Qc(n,e=!0){const t=P.useRef(null),r=P.useMemo(()=>Xn(t,e),[e]);return P.useCallback(o=>{r(o),t.current=o,typeof n=="function"?n(o):n&&(n.current=o)},[r,n])}function Qt(n,e,t){if(ve()){e||(De(n),fe.set(n,{scale:1,...Pt(n,"rest")}));return}De(n);const r=Re(),o=e?"hover":"rest",i=e?t!==void 0?t:Hn(n):1;fe.to(n,{scale:i,...Pt(n,o),duration:r.interactiveDuration/1e3,ease:r.hoverLiftEase,overwrite:"auto"})}function is(n,e=!1,t,r){if(zr())return Promise.resolve();const o=Re();if(!o.enablePressSqueeze)return r==null||r(),ve()||Qt(n,e,t),Promise.resolve();De(n);const i=Rc(n),s=o.interactiveDuration*1.15/1e3,a=s*.3,c=s*1,l=!ve(),u=e&&l,f=u?"hover":"rest",p=u?Hn(n):1;return new Promise(h=>{fe.timeline({onComplete:()=>h()}).to(n,{...Pt(n,"press"),scale:i,duration:a,ease:"power1.out",overwrite:"auto"}).add(()=>{r==null||r()}).to(n,{...Pt(n,f),scale:p,duration:c,ease:o.hoverLiftEase,overwrite:"auto"})})}function ss(n,e,t){const r=t==null?void 0:t.liftScale,o=t==null?void 0:t.pointerInsideRef;return P.useLayoutEffect(()=>{if(!e)return;const i=n.current;i&&Or(i)},[e,n]),P.useEffect(()=>{const i=n.current;return()=>{i&&De(i)}},[n]),P.useMemo(()=>({onPointerOver:a=>{if(!e||a.defaultPrevented)return;const c=a.currentTarget;if(!(a.target instanceof Node)||!c.contains(a.target)||!Ko(c,a.relatedTarget)||ve())return;const l=n.current;l&&(o&&(o.current=!0),Qt(l,!0,r))},onPointerOut:a=>{const c=a.currentTarget,l=a.relatedTarget;if(l instanceof Node&&c.contains(l)||(o&&(o.current=!1),!e||ve()))return;const u=n.current;u&&Qt(u,!1,r)}}),[e,r,o,n])}function Jc(n,e){const t=P.useRef(!1),r=P.useRef(!1),o=P.useRef(!1),i=P.useMemo(()=>Xn(n,e),[n,e]),s=P.useCallback(()=>{const h=n.current;if(!h||!e||ve())return;const g=t.current||r.current;Qt(h,g)},[e,n]),a=ss(n,e,{pointerInsideRef:t});P.useLayoutEffect(()=>{if(!e)return;const h=n.current;if(!h||typeof ResizeObserver>"u")return;const g=new ResizeObserver(()=>{os(h)});return g.observe(h),()=>g.disconnect()},[e,n]);const c=P.useCallback(h=>{a.onPointerOver(h),r.current&&s()},[a,s]),l=P.useCallback(h=>{a.onPointerOut(h),r.current&&s()},[a,s]),u=P.useCallback(()=>{e&&(r.current=!0,!(o.current||t.current)&&s())},[e,s]),f=P.useCallback(h=>{if(!e)return;const g=n.current;g&&h.relatedTarget instanceof Node&&g.contains(h.relatedTarget)||(r.current=!1,s())},[e,n,s]),p=P.useCallback(()=>{if(!e)return;const h=n.current;!h||zr()||(t.current=!0,o.current=!0,is(h,!0).finally(()=>{o.current=!1}))},[e,n]);return{bindShellRef:i,shellHoverMotionClass:e?Wn:"",onShellPointerEnter:c,onShellPointerLeave:l,onShellFocusIn:u,onShellFocusOut:f,onShellPointerDown:p}}const Br="animate-shadow will-change-transform origin-center";function eu(){return{hover:At()}}function qn(){return{idle:At(),hover:es()}}function tu(n,e,t=At,r){P.useLayoutEffect(()=>{e&&Mr(n.current,t())},[e,n,t,r])}function as(n,e,t){const r=P.useMemo(()=>qn(),[]),o=(t==null?void 0:t.resolveIdle)??At;P.useLayoutEffect(()=>{e&&Mr(n.current,o())},[e,n,o,t==null?void 0:t.idleSyncKey]);const i=P.useCallback(a=>{if(!e||a.defaultPrevented)return;const c=n.current;!c||ve()||Kt(c,!0,t==null?void 0:t.liftScale,r)},[e,t==null?void 0:t.liftScale,r,n]),s=P.useCallback(a=>{if(!e)return;const c=n.current;!c||ve()||Kt(c,!1,t==null?void 0:t.liftScale,r)},[e,t==null?void 0:t.liftScale,r,n]);return{motionClass:e?Br:"",shadow:r,onPointerEnter:i,onPointerLeave:s}}function ru(n,e,t){const r=P.useMemo(()=>qn(),[]),o=(t==null?void 0:t.resolveIdle)??At;P.useLayoutEffect(()=>{e&&Mr(n.current,o())},[e,n,o,t==null?void 0:t.idleSyncKey]);const i=rs(n,e,t==null?void 0:t.pointerInsideRef,t==null?void 0:t.liftScale,r);return{motionClass:e?Br:"",shadow:r,...i}}const pt={small:{minWButton:"min-w-button-small",padX:"px-base",padY:"py-xsmall",affixPadX:"px-base",affixText:"text-base",controlPad:"px-base py-xsmall text-base",controlText:"small",icon:"icon-small",chevronIcon:"icon-small",spinnerIcon:"icon-small",spinnerBorder:"border-2"},base:{minWButton:"min-w-button-base",padX:"px-plus",padY:"py-small",affixPadX:"px-plus",affixText:"text-base",controlPad:"px-plus py-small text-base",controlText:"base",icon:"icon-base",chevronIcon:"icon-base",spinnerIcon:"icon-base",spinnerBorder:"border-2"},mid:{minWButton:"min-w-button-mid",padX:"px-plus",padY:"py-base",affixPadX:"px-mid",affixText:"text-mid",controlPad:"px-mid py-base text-mid",controlText:"mid",icon:"icon-large",chevronIcon:"icon-large",spinnerIcon:"icon-large",spinnerBorder:"border-2"},large:{minWButton:"min-w-button-large",padX:"px-large",padY:"py-plus",affixPadX:"px-large",affixText:"text-mid",controlPad:"px-large py-plus text-mid",controlText:"mid",icon:"icon-large",chevronIcon:"icon-large",spinnerIcon:"icon-large",spinnerBorder:"border-[2.5px]"}},zt={danger:"text-danger",success:"text-success",info:"text-info",warning:"text-warning"},ls={danger:"bg-surface-tint-danger border-token",success:"bg-surface-tint-success border-token",info:"bg-surface-tint-info border-token",warning:"bg-surface-tint-warning border-token"},cs={danger:"bg-danger border border-transparent text-danger-foreground",success:"bg-success border border-transparent text-success-foreground",info:"bg-info border border-transparent text-info-foreground",warning:"bg-warning border border-transparent text-warning-foreground"},nu={danger:"text-danger-foreground",success:"text-success-foreground",info:"text-info-foreground",warning:"text-warning-foreground"},us={danger:"border-token-danger",success:"border-token-success",info:"border-token-info",warning:"border-token-warning"},fs="surface-color-transition motion-reduce:transition-none",ou="text-color-transition motion-reduce:transition-none",iu={default:{"focus-visible":"hover:bg-default-hover focus-visible:bg-default-hover","focus-within":"hover:bg-default-hover focus-within:bg-default-hover"},primary:{"focus-visible":"hover:bg-primary-hover focus-visible:bg-primary-hover","focus-within":"hover:bg-primary-hover focus-within:bg-primary-hover"},secondary:{"focus-visible":"hover:bg-secondary-hover focus-visible:bg-secondary-hover","focus-within":"hover:bg-secondary-hover focus-within:bg-secondary-hover"},danger:{"focus-visible":"hover:bg-surface-tint-danger focus-visible:bg-surface-tint-danger","focus-within":"hover:bg-surface-tint-danger focus-within:bg-surface-tint-danger"},warning:{"focus-visible":"hover:bg-surface-tint-warning focus-visible:bg-surface-tint-warning","focus-within":"hover:bg-surface-tint-warning focus-within:bg-surface-tint-warning"},info:{"focus-visible":"hover:bg-surface-tint-info focus-visible:bg-surface-tint-info","focus-within":"hover:bg-surface-tint-info focus-within:bg-surface-tint-info"},success:{"focus-visible":"hover:bg-surface-tint-success focus-visible:bg-surface-tint-success","focus-within":"hover:bg-surface-tint-success focus-within:bg-surface-tint-success"},"danger-tint-hover":{"focus-visible":"hover:bg-surface-tint-danger-hover focus-visible:bg-surface-tint-danger-hover","focus-within":"hover:bg-surface-tint-danger-hover focus-within:bg-surface-tint-danger-hover"},"warning-tint-hover":{"focus-visible":"hover:bg-surface-tint-warning-hover focus-visible:bg-surface-tint-warning-hover","focus-within":"hover:bg-surface-tint-warning-hover focus-within:bg-surface-tint-warning-hover"},"info-tint-hover":{"focus-visible":"hover:bg-surface-tint-info-hover focus-visible:bg-surface-tint-info-hover","focus-within":"hover:bg-surface-tint-info-hover focus-within:bg-surface-tint-info-hover"},"success-tint-hover":{"focus-visible":"hover:bg-surface-tint-success-hover focus-visible:bg-surface-tint-success-hover","focus-within":"hover:bg-surface-tint-success-hover focus-within:bg-surface-tint-success-hover"},"danger-fill":{"focus-visible":"hover:bg-danger-fill-hover focus-visible:bg-danger-fill-hover","focus-within":"hover:bg-danger-fill-hover focus-within:bg-danger-fill-hover"},"warning-fill":{"focus-visible":"hover:bg-warning-fill-hover focus-visible:bg-warning-fill-hover","focus-within":"hover:bg-warning-fill-hover focus-within:bg-warning-fill-hover"},"info-fill":{"focus-visible":"hover:bg-info-fill-hover focus-visible:bg-info-fill-hover","focus-within":"hover:bg-info-fill-hover focus-within:bg-info-fill-hover"},"success-fill":{"focus-visible":"hover:bg-success-fill-hover focus-visible:bg-success-fill-hover","focus-within":"hover:bg-success-fill-hover focus-within:bg-success-fill-hover"}};function ds(n="default",e="focus-visible"){return iu[n][e]}function hs(n="default"){return U(fs,ds(n,"focus-visible"))}const at={default:"bg-surface text-foreground border-token",primary:"bg-primary text-primary-foreground border border-transparent",outline:"bg-transparent border-token text-foreground",secondary:"bg-secondary text-secondary-foreground border border-token",ghost:"bg-transparent text-foreground border border-transparent",gloss:""},su=new Set(["default","primary","outline","secondary","ghost"]),ps={default:{root:at.default,loaderText:"text-foreground"},primary:{root:at.primary,loaderText:"text-primary-foreground"},outline:{root:at.outline,loaderText:"text-foreground"},secondary:{root:at.secondary,loaderText:"text-secondary-foreground"},ghost:{root:at.ghost,loaderText:"text-foreground"},gloss:{root:at.gloss,loaderText:"text-foreground"}},au={default:"",danger:"gloss-btn-danger",success:"gloss-btn-success",info:"gloss-btn-info",warning:"gloss-btn-warning"},lu={default:"focus-visible:outline-primary",danger:"focus-visible:outline-danger",success:"focus-visible:outline-success",info:"focus-visible:outline-info",warning:"focus-visible:outline-warning"},cu={default:Q("converge-ripple-neutral"),danger:Q("converge-ripple-danger"),success:Q("converge-ripple-success"),info:Q("converge-ripple-info"),warning:Q("converge-ripple-warning")},uu={danger:Q("converge-ripple-danger"),success:Q("converge-ripple-success"),info:Q("converge-ripple-info"),warning:Q("converge-ripple-warning")},fu={small:"[&_svg]:icon-small",base:"[&_svg]:icon-base",mid:"[&_svg]:icon-large",large:"[&_svg]:icon-large"},du={small:"small",base:"base",mid:"mid",large:"mid"},hu="relative overflow-hidden inline-flex items-center justify-center outline-none focus-ring disabled:pointer-events-none",pu="pointer-events-none absolute inset-0 z-0 overflow-hidden",gu="relative z-[1] grid w-full min-w-0 place-items-center",mu="origin-center will-change-transform",_u="col-start-1 row-start-1 inline-flex w-full min-w-0 items-center justify-center gap-xsmall",bu="inline-flex shrink-0 items-center justify-center",vu="min-w-0 shrink",Yn="col-start-1 row-start-1 flex items-center justify-center",yu="text-success",xu="text-danger",Tu="animate-spin motion-reduce:animate-none",wu="cursor-pointer",Su="opacity-50";function ku(n,e){const{root:t}=ps[n];return n==="outline"&&e!=="default"?"bg-transparent text-foreground":t}function Cu(n){return ps[n].loaderText}function Eu(n,e){if(e==="default")switch(n){case"default":return"default";case"primary":return"primary";case"outline":return"default";case"secondary":return"secondary";case"ghost":return"default";case"gloss":return"default"}switch(n){case"default":return`${e}-tint-hover`;case"primary":return`${e}-fill`;case"outline":case"ghost":return e;case"secondary":return"secondary";case"gloss":return"default"}}function Ou(n,e){if(e==="default")return"";switch(n){case"default":return U(ls[e],zt[e]);case"primary":return cs[e];case"outline":return U(us[e],zt[e]);case"secondary":return zt[e];case"ghost":return zt[e];case"gloss":return""}}function Du(n,e,t){return t?"":hs(Eu(n,e))}function Pu(n,e){return n==="primary"&&e!=="default"?nu[e]:Cu(n)}function Au(n,e){return n==="primary"?e==="default"?Q("converge-ripple-primary-fill"):uu[e]:cu[e]}const Lu={small:"h-control-small",base:"h-control-base",mid:"h-control-mid",large:"h-control-large"};function Ru(n,e=pt[n].minWButton){const t=pt[n];return U(e,t.padX,t.padY)}function Fu(n,e=!1){const t=pt[n];return U(Lu[n],e?"min-w-fit":t.minWButton,t.padX,t.padY)}function Iu(n){const e=pt[n];return U(e.spinnerIcon,e.spinnerBorder)}function Mu(){return"pointer-events-none absolute left-1/2 top-1/2 z-0 rounded-full will-change-[transform,opacity]"}function zu(){return"box-border inline-block rounded-full border-current border-t-transparent"}function Nu({groupSegment:n,slotClass:e,className:t}){return U(gu,n&&mu,e,t)}function Bu({slotClass:n,className:e,layoutClass:t}){return U(_u,n,t,e)}function Gu(n,e){return U(bu,fu[n],e)}function Uu(n,e){return U(vu,n,e)}function Hu(n,e){return U(Yn,n,e)}function Vu(n){return U(Yn,yu,n)}function $u(n){return U(Yn,xu,n)}function Wu(){return"shrink-0"}const Xu={default:Q("converge-ripple-neutral"),primary:Q("converge-ripple-primary-fill"),outline:Q("converge-ripple-neutral"),secondary:Q("converge-ripple-neutral"),ghost:Q("converge-ripple-neutral"),gloss:Q("converge-ripple-neutral")},qu={danger:Q("converge-ripple-danger"),success:Q("converge-ripple-success"),info:Q("converge-ripple-info"),warning:Q("converge-ripple-warning")};function Yu(n,e="default"){return e!=="default"?qu[e]:Xu[n]}function ju(n,e,t,r,o){return n?U("gloss-btn",Wn,au[e]):U(ku(t,e),Ou(t,e),!r&&Br,Du(t,e,o))}const Zu={small:"small",base:"base",mid:"mid",large:"mid"},Ku={small:"h-control-small",base:"h-control-base",mid:"h-control-mid",large:"h-control-large"};function gs(n){const{padX:e,padY:t}=pt[n];return U(Ku[n],e,t)}function jn(n){if(n==null)return"";const{orientation:e,position:t}=n;return t==="only"?"rounded-base":e==="horizontal"?t==="first"?"rounded-l-base rounded-r-none":t==="middle"?"rounded-none":"rounded-r-base rounded-l-none":t==="first"?"rounded-t-base rounded-b-none":t==="middle"?"rounded-none":"rounded-b-base rounded-t-none"}function Qu(n){const{orientation:e,position:t}=n;return t==="only"?"!rounded-base":e==="horizontal"?t==="first"?"!rounded-l-base !rounded-r-none":t==="middle"?"!rounded-none":"!rounded-r-base !rounded-l-none":t==="first"?"!rounded-t-base !rounded-b-none":t==="middle"?"!rounded-none":"!rounded-b-base !rounded-t-none"}function Ju(n){if(n==null||n.position==="only")return"";const{orientation:e,position:t}=n;return e==="horizontal"?t==="first"?"":"border-l-0":t==="first"?"":"border-t-0"}function ms(n){return n==null?"":U(jn(n),Qu(n),"!border-0 [border:0!important] !shadow-none [box-shadow:none!important]","z-0 focus-visible:z-[2]")}function _s(n){return U("relative inline-flex shrink-0 select-none items-center justify-center border-token bg-surface text-muted",jn(n),n!=null&&ms(n),"z-0")}function ef({orientation:n,segmented:e,variant:t,className:r}){return U("inline-flex text-left w-fit",!e&&U("relative rounded-base",t==="gloss"?"gloss-panel gloss-deep border-0 text-foreground":"after:pointer-events-none after:absolute after:inset-0 after:rounded-base after:border-token after:content-['']"),U(n==="horizontal"?"flex-row flex-nowrap items-stretch":"flex-col flex-nowrap items-stretch",e&&"gap-xsmall"),r)}function tf(n,e){return U("pointer-events-none shrink-0",n==="horizontal"?"my-[var(--border-width)] self-stretch border-r-token":"mx-[var(--border-width)] self-stretch border-b-token",e)}function rf({groupSegment:n,groupVariant:e,buttonSize:t,className:r}){return U(_s(n),e==="gloss"&&"bg-transparent text-foreground","inline-flex items-center",gs(t),r)}const nf="max-w-[12rem] truncate font-w-base whitespace-nowrap md:max-w-[18rem]",bs={default:"bg-surface",outline:"bg-transparent",secondary:"bg-secondary"};function of(n){return n==="secondary"?"secondary":"default"}function sf(n){return n==="gloss"?"gloss":n==="outline"?"outline":n==="secondary"?"secondary":"default"}function af({variant:n,statusTinted:e,statusTintClass:t}){return n==="gloss"?"gloss-control":e?U(t,"border-token"):n==="outline"?"bg-transparent border-token":U(bs[n],"border-token")}const lf={default:"default",danger:"danger-tint-hover",success:"success-tint-hover",info:"info-tint-hover",warning:"warning-tint-hover"};function cf(n,e="default",t="default"){if(!n)return"";const r=e!=="default"?lf[e]:of(t);return ds(r,"focus-within")}const uf="field-shell-transition motion-reduce:transition-none",ff="focus-within-ring";function df(n,e){const t=as(n,e);return{shellHoverMotionClass:t.motionClass,onShellPointerEnter:t.onPointerEnter,onShellPointerLeave:t.onPointerLeave}}function hf(n){const e=pt[n];return U("flex self-stretch shrink-0 items-center text-muted",e.affixPadX,e.affixText)}const pf={small:"min-w-control-small",base:"min-w-control-base",mid:"min-w-control-mid",large:"min-w-control-large"};function gf(n){return pf[n]}const mf={small:"--control-height-small",base:"--control-height-base",mid:"--control-height-mid",large:"--control-height-large"},_f={small:1.75,base:2.2,mid:2.5,large:3},Fo=new Map;function bf(n){if(typeof document>"u")return null;const e=Fo.get(n);if(e!=null)return e;try{const t=document.createElement("div");t.style.position="absolute",t.style.visibility="hidden",t.style.height=`var(${mf[n]})`,document.body.appendChild(t);const r=t.getBoundingClientRect().height;if(document.body.removeChild(t),r>0)return Fo.set(n,r),r}catch{}return null}function vf(n,e=16){return bf(n)??e*_f[n]}const yf={convergeRipplePrimaryFill:"color-mix(in oklab, var(--color-primary-foreground) 38%, transparent)",convergeRippleNeutral:"var(--color-primary-tint-strong)",convergeRippleNeutralMuted:"color-mix(in oklab, var(--color-primary) 14%, transparent)",convergeRippleDanger:"color-mix(in oklab, var(--color-danger-foreground) 38%, transparent)",convergeRippleSuccess:"color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",convergeRippleInfo:"color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",convergeRippleWarning:"color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"},xf={convergeRipplePrimaryFill:"color-mix(in oklab, var(--color-primary-foreground) 52%, var(--color-primary))",convergeRippleNeutral:"var(--color-primary-tint-strong)",convergeRippleNeutralMuted:"color-mix(in oklab, var(--color-primary) 14%, transparent)",convergeRippleDanger:"color-mix(in oklab, var(--color-danger-foreground) 38%, transparent)",convergeRippleSuccess:"color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",convergeRippleInfo:"color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",convergeRippleWarning:"color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"},vs={background:"#0c0d10",surface:"#171717",secondary:"color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",secondaryForeground:"var(--color-foreground)",tertiary:"color-mix(in oklab, var(--color-foreground) 24%, var(--color-surface))",tertiaryForeground:"var(--color-foreground)",border:"color-mix(in oklab, var(--color-foreground) 12%, transparent)",foreground:"#f4f5f7",muted:"#858994",primary:"#ebebef",primaryForeground:"#0c0c0e",primaryTint:"color-mix(in oklab, var(--color-primary) 20%, transparent)",primaryTintStrong:"color-mix(in oklab, var(--color-primary) 25%, transparent)",focusRing:"#ebebef",indicator:"#ebebef",indicatorForeground:"#0c0c0e",danger:"#e34848",success:"#22c55e",info:"#0ea5e9",warning:"#f59e0b",dangerForeground:"#fafafa",successForeground:"#fafafa",infoForeground:"#fafafa",warningForeground:"#0c0c0e",primaryHover:"color-mix(in oklab, var(--color-primary) 80%, var(--color-surface))",defaultHover:"color-mix(in oklab, var(--color-foreground) 8%, var(--color-surface))",secondaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-secondary))",tertiaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-tertiary))",surfaceTintDanger:"color-mix(in oklab, var(--color-danger) 30%, black)",surfaceTintDangerHover:"color-mix(in oklab, var(--color-danger) 40%, black)",dangerFillHover:"color-mix(in oklab, var(--color-danger) 90%, black)",surfaceTintSuccess:"color-mix(in oklab, var(--color-success) 30%, black)",surfaceTintSuccessHover:"color-mix(in oklab, var(--color-success) 40%, black)",successFillHover:"color-mix(in oklab, var(--color-success) 90%, black)",surfaceTintInfo:"color-mix(in oklab, var(--color-info) 30%, black)",surfaceTintInfoHover:"color-mix(in oklab, var(--color-info) 40%, black)",infoFillHover:"color-mix(in oklab, var(--color-info) 90%, black)",surfaceTintWarning:"color-mix(in oklab, var(--color-warning) 30%, black)",surfaceTintWarningHover:"color-mix(in oklab, var(--color-warning) 40%, black)",warningFillHover:"color-mix(in oklab, var(--color-warning) 90%, black)",...yf},ys={background:"#f5f5f5",surface:"#ffffff",secondary:"color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",secondaryForeground:"var(--color-foreground)",tertiary:"color-mix(in oklab, var(--color-foreground) 24%, var(--color-surface))",tertiaryForeground:"var(--color-foreground)",border:"color-mix(in oklab, var(--color-foreground) 12%, transparent)",foreground:"#18181b",muted:"#646467",primary:"#18181b",primaryForeground:"#fafafa",primaryTint:"color-mix(in oklab, var(--color-primary) 20%, transparent)",primaryTintStrong:"color-mix(in oklab, var(--color-primary) 25%, transparent)",focusRing:"#18181b",indicator:"#18181b",indicatorForeground:"#fafafa",danger:"#dc2626",success:"#22c55e",info:"#0ea5e9",warning:"#f59e0b",dangerForeground:"#ffffff",successForeground:"#ffffff",infoForeground:"#ffffff",warningForeground:"#0c0c0e",primaryHover:"color-mix(in oklab, var(--color-primary) 90%, var(--color-surface))",defaultHover:"color-mix(in oklab, var(--color-foreground) 8%, var(--color-surface))",secondaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-secondary))",tertiaryHover:"color-mix(in oklab, var(--color-foreground) 6%, var(--color-tertiary))",surfaceTintDanger:"color-mix(in oklab, var(--color-danger) 14%, white)",surfaceTintDangerHover:"color-mix(in oklab, var(--color-danger) 22%, white)",dangerFillHover:"color-mix(in oklab, var(--color-danger) 90%, black)",surfaceTintSuccess:"color-mix(in oklab, var(--color-success) 14%, white)",surfaceTintSuccessHover:"color-mix(in oklab, var(--color-success) 22%, white)",successFillHover:"color-mix(in oklab, var(--color-success) 90%, black)",surfaceTintInfo:"color-mix(in oklab, var(--color-info) 15%, white)",surfaceTintInfoHover:"color-mix(in oklab, var(--color-info) 22%, white)",infoFillHover:"color-mix(in oklab, var(--color-info) 90%, black)",surfaceTintWarning:"color-mix(in oklab, var(--color-warning) 14%, white)",surfaceTintWarningHover:"color-mix(in oklab, var(--color-warning) 22%, white)",warningFillHover:"color-mix(in oklab, var(--color-warning) 90%, black)",...xf},Gr={background:"--color-background",surface:"--color-surface",secondary:"--color-secondary",secondaryForeground:"--color-secondary-foreground",tertiary:"--color-tertiary",tertiaryForeground:"--color-tertiary-foreground",border:"--color-border",foreground:"--color-foreground",muted:"--color-muted",primary:"--color-primary",primaryForeground:"--color-primary-foreground",primaryTint:"--color-primary-tint",primaryTintStrong:"--color-primary-tint-strong",focusRing:"--color-focus-ring",indicator:"--color-indicator",indicatorForeground:"--color-indicator-foreground",danger:"--color-danger",success:"--color-success",info:"--color-info",warning:"--color-warning",dangerForeground:"--color-danger-foreground",successForeground:"--color-success-foreground",infoForeground:"--color-info-foreground",warningForeground:"--color-warning-foreground",primaryHover:"--color-primary-hover",defaultHover:"--color-default-hover",secondaryHover:"--color-secondary-hover",tertiaryHover:"--color-tertiary-hover",surfaceTintDanger:"--color-surface-tint-danger",surfaceTintDangerHover:"--color-surface-tint-danger-hover",dangerFillHover:"--color-danger-fill-hover",surfaceTintSuccess:"--color-surface-tint-success",surfaceTintSuccessHover:"--color-surface-tint-success-hover",successFillHover:"--color-success-fill-hover",surfaceTintInfo:"--color-surface-tint-info",surfaceTintInfoHover:"--color-surface-tint-info-hover",infoFillHover:"--color-info-fill-hover",surfaceTintWarning:"--color-surface-tint-warning",surfaceTintWarningHover:"--color-surface-tint-warning-hover",warningFillHover:"--color-warning-fill-hover",convergeRipplePrimaryFill:"--color-converge-ripple-primary-fill",convergeRippleNeutral:"--color-converge-ripple-neutral",convergeRippleNeutralMuted:"--color-converge-ripple-neutral-muted",convergeRippleDanger:"--color-converge-ripple-danger",convergeRippleSuccess:"--color-converge-ripple-success",convergeRippleInfo:"--color-converge-ripple-info",convergeRippleWarning:"--color-converge-ripple-warning"},xs={space:.5,size:1,radius:.5,borderWidth:1,textScale:1,shadowStrength:1,shadowSize:1,toastScrimSize:1,toastScrimDensity:1},Ts={interactiveDuration:280,interactiveEase:"power2.out",hoverLiftEase:"sine.inOut",tooltipDuration:200,switchThumbDuration:340,switchThumbEase:"back.out(1.4)",selectionFillDuration:200,selectionFillEase:"back.out(1.25)",hoverLiftScale:1.025,badgeAnchorHoverLiftScale:1.052,pressSqueezeMid:.98,rippleDefaultDuration:700,rippleDefaultOpacityFrom:.42,rippleExpandableDuration:700,rippleExpandableOpacityFrom:.34,rippleEaseCss:"cubic-bezier(0.25, 0.55, 0.35, 0.95)",feedbackExpandDuration:720,expandDuration:200,expandOpenEase:"sine.inOut",progressFillDuration:600,progressFillEase:"power2.out",loadingDotsDuration:900,loadingDotsEaseUp:"power2.out",loadingDotsEaseDown:"power2.in",enableHoverLift:!0,enablePressSqueeze:!0,enableToggleButtonFill:!0,enableRipple:!0,enableExpandable:!0,enableToastStack:!0,enableAsyncButtonCrossfade:!0,enableContentFade:!0,enableFeedbackExpand:!0,enableProgressFill:!0,enableLoadingDots:!0},ws='ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',Ss="ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",Dr={tools:{size:.6875,line:.875},xsmall:{size:.75,line:1},small:{size:.875,line:1.25},base:{size:1,line:1.5},mid:{size:1.125,line:1.75},large:{size:1.25,line:1.75},xlarge:{size:1.5,line:2},"2xlarge":{size:1.875,line:2.25},"3xlarge":{size:2.25,line:2.5}},Tf={dark:{base:.15,mid:.2,large:.24},light:{base:.08,mid:.12,large:.16}},wf={base:[[0,2,4,-2]],mid:[[0,4,10,-6]],large:[[0,8,20,-12]]};function Sf(n,e,t,r,o,i){const s=a=>a===0?"0":`${a*i}px`;return`${s(n)} ${s(e)} ${s(t)} ${s(r)} rgb(0 0 0 / ${o})`}function gr(n,e,t,r){const o=Tf[e][n]*t,[i,s,a,c]=wf[n][0];return Sf(i,s,a,c,o,r)}function kf(n,e,t,r){n.style.setProperty("--shadow-size",String(r)),n.style.setProperty("--shadow-none",gr("base",e,0,r)),n.style.setProperty("--shadow-base",gr("base",e,t,r)),n.style.setProperty("--shadow-mid",gr("mid",e,t,r)),n.style.setProperty("--shadow-large",gr("large",e,t,r))}function Cf(n,e){for(const t of Object.keys(Dr)){const{size:r,line:o}=Dr[t],i=r*e,s=o*e;n.style.setProperty(`--text-scale-${t}`,`${i}rem`),n.style.setProperty(`--text-scale-${t}--line-height`,`calc(${s}rem / ${i}rem)`)}}function Ef(n,e){for(const[t,r]of Object.entries(Nr))n.style.setProperty(r,String(e[t]))}function ks(){return{dark:{...vs},light:{...ys}}}function Ur(n){var r,o;if((r=n.modePalettes)!=null&&r.dark&&((o=n.modePalettes)!=null&&o.light))return n;const e=ks(),t={...n.colors};return{...n,modePalettes:{dark:n.theme==="dark"?t:e.dark,light:n.theme==="light"?t:e.light}}}function Of(n,e){const t=Ur(n),r=t.modePalettes[e];return{...t,theme:e,colors:{...r}}}function Df(n,e,t){const r=Ur(n),o={...r.colors,[e]:t};return{...r,colors:o,modePalettes:{...r.modePalettes,[r.theme]:o}}}function Hr(n="dark"){const e=ks(),t=e[n];return{theme:n,...xs,...Ts,fontFamily:ws,fontFamilyMono:Ss,fontWeights:{...ns},colors:{...t},modePalettes:e}}const Pf=["--space","--size","--radius","--border-width","--font-family-sans","--font-family-mono",...Object.values(Nr),"--shadow-size","--shadow-none","--shadow-base","--shadow-mid","--shadow-large","--toast-scrim-size","--toast-scrim-density",...Object.keys(Dr).flatMap(n=>[`--text-scale-${n}`,`--text-scale-${n}--line-height`]),...Object.values(Gr)];function Af(n){if(typeof document>"u")return;const e=n??document.documentElement;for(const t of Pf)e.style.removeProperty(t);delete e.dataset.theme}let Io="";function Lf(n){const e=JSON.stringify({interactiveDuration:n.interactiveDuration,interactiveEase:n.interactiveEase,hoverLiftEase:n.hoverLiftEase,tooltipDuration:n.tooltipDuration,switchThumbDuration:n.switchThumbDuration,switchThumbEase:n.switchThumbEase,selectionFillDuration:n.selectionFillDuration,selectionFillEase:n.selectionFillEase,hoverLiftScale:n.hoverLiftScale,badgeAnchorHoverLiftScale:n.badgeAnchorHoverLiftScale,pressSqueezeMid:n.pressSqueezeMid,rippleDefaultDuration:n.rippleDefaultDuration,rippleDefaultOpacityFrom:n.rippleDefaultOpacityFrom,rippleExpandableDuration:n.rippleExpandableDuration,rippleExpandableOpacityFrom:n.rippleExpandableOpacityFrom,rippleEaseCss:n.rippleEaseCss,feedbackExpandDuration:n.feedbackExpandDuration,expandDuration:n.expandDuration,expandOpenEase:n.expandOpenEase,progressFillDuration:n.progressFillDuration,progressFillEase:n.progressFillEase,loadingDotsDuration:n.loadingDotsDuration,loadingDotsEaseUp:n.loadingDotsEaseUp,loadingDotsEaseDown:n.loadingDotsEaseDown,enableHoverLift:n.enableHoverLift,enablePressSqueeze:n.enablePressSqueeze,enableToggleButtonFill:n.enableToggleButtonFill,enableRipple:n.enableRipple,enableExpandable:n.enableExpandable,enableToastStack:n.enableToastStack,enableAsyncButtonCrossfade:n.enableAsyncButtonCrossfade,enableContentFade:n.enableContentFade,enableFeedbackExpand:n.enableFeedbackExpand,enableProgressFill:n.enableProgressFill,enableLoadingDots:n.enableLoadingDots});e!==Io&&(Io=e,Qi({interactiveDuration:n.interactiveDuration,interactiveEase:n.interactiveEase,hoverLiftEase:n.hoverLiftEase,tooltipDuration:n.tooltipDuration,switchThumbDuration:n.switchThumbDuration,switchThumbEase:n.switchThumbEase,selectionFillDuration:n.selectionFillDuration,selectionFillEase:n.selectionFillEase,hoverLiftScale:n.hoverLiftScale,badgeAnchorHoverLiftScale:n.badgeAnchorHoverLiftScale,pressSqueezeScale:[1,n.pressSqueezeMid,1],rippleDefaultDuration:n.rippleDefaultDuration,rippleDefaultOpacityFrom:n.rippleDefaultOpacityFrom,rippleExpandableDuration:n.rippleExpandableDuration,rippleExpandableOpacityFrom:n.rippleExpandableOpacityFrom,rippleEaseCss:n.rippleEaseCss,feedbackExpandDuration:n.feedbackExpandDuration,expandDuration:n.expandDuration,expandOpenEase:n.expandOpenEase,progressFillDuration:n.progressFillDuration,progressFillEase:n.progressFillEase,loadingDotsDuration:n.loadingDotsDuration,loadingDotsEaseUp:n.loadingDotsEaseUp,loadingDotsEaseDown:n.loadingDotsEaseDown,enableHoverLift:n.enableHoverLift,enablePressSqueeze:n.enablePressSqueeze,enableToggleButtonFill:n.enableToggleButtonFill,enableRipple:n.enableRipple,enableExpandable:n.enableExpandable,enableToastStack:n.enableToastStack,enableAsyncButtonCrossfade:n.enableAsyncButtonCrossfade,enableContentFade:n.enableContentFade,enableFeedbackExpand:n.enableFeedbackExpand,enableProgressFill:n.enableProgressFill,enableLoadingDots:n.enableLoadingDots}))}function Cs(n,e){if(typeof document>"u")return;const t=e??document.documentElement;n.theme==="light"?t.dataset.theme="light":delete t.dataset.theme,t.style.setProperty("--space",`${n.space}rem`),t.style.setProperty("--size",`${n.size}rem`),t.style.setProperty("--radius",`${n.radius}rem`),t.style.setProperty("--border-width",n.borderWidth===0?"0px":`${n.borderWidth}px`),t.style.setProperty("--font-family-sans",n.fontFamily),t.style.setProperty("--font-family-mono",n.fontFamilyMono),Ef(t,n.fontWeights),Lf(n),Cf(t,n.textScale),kf(t,n.theme,n.shadowStrength,n.shadowSize),t.style.setProperty("--toast-scrim-size",String(n.toastScrimSize)),t.style.setProperty("--toast-scrim-density",String(n.toastScrimDensity));for(const[r,o]of Object.entries(Gr))t.style.setProperty(o,n.colors[r])}function Es(n){const e=[":root {",` --space: ${n.space}rem;`,` --size: ${n.size}rem;`,` --radius: ${n.radius}rem;`,` --border-width: ${n.borderWidth===0?"0px":`${n.borderWidth}px`};`,` --font-family-sans: ${n.fontFamily};`,` --font-family-mono: ${n.fontFamilyMono};`,...Object.entries(Nr).map(([t,r])=>` ${r}: ${n.fontWeights[t]};`),` --shadow-size: ${n.shadowSize};`,` --toast-scrim-size: ${n.toastScrimSize};`,` --toast-scrim-density: ${n.toastScrimDensity};`,` /* textScale: ${n.textScale} — set --text-scale-* manually or via applyThemeTokens */`,` /* shadowStrength: ${n.shadowStrength}, shadowSize: ${n.shadowSize} */`,` /* toastScrimSize: ${n.toastScrimSize}, toastScrimDensity: ${n.toastScrimDensity} */`];for(const[t,r]of Object.entries(Gr))e.push(` ${r}: ${n.colors[t]};`);return e.push("}"),n.theme==="light"&&(e.push("","/* Optional: light theme via data-attribute */"),e.push('/* <html data-theme="light"> */')),e.join(`
|
|
38
|
+
`)}function Zn(n,e){var a;const t=Hr(e),r=n.tokens??{},o=(a=n.colors)==null?void 0:a[e],i=o?{...t.colors,...o}:t.colors,s=r.shadowStrength??t.shadowStrength;return{...t,...As({space:r.space,size:r.size,radius:r.radius,borderWidth:r.borderWidth,textScale:r.textScale,fontFamily:r.fontFamily,fontFamilyMono:r.fontFamilyMono,shadowSize:r.shadowSize,toastScrimSize:r.toastScrimSize,toastScrimDensity:r.toastScrimDensity}),shadowStrength:s,fontWeights:r.fontWeights?{...t.fontWeights,...r.fontWeights}:t.fontWeights,colors:i,modePalettes:{...t.modePalettes,[e]:{...i}}}}function Os(n){const e=Ur(n),t={interactiveDuration:e.interactiveDuration,interactiveEase:e.interactiveEase,hoverLiftEase:e.hoverLiftEase,tooltipDuration:e.tooltipDuration,switchThumbDuration:e.switchThumbDuration,switchThumbEase:e.switchThumbEase,selectionFillDuration:e.selectionFillDuration,selectionFillEase:e.selectionFillEase,hoverLiftScale:e.hoverLiftScale,badgeAnchorHoverLiftScale:e.badgeAnchorHoverLiftScale,pressSqueezeScale:[1,e.pressSqueezeMid,1],rippleDefaultDuration:e.rippleDefaultDuration,rippleDefaultOpacityFrom:e.rippleDefaultOpacityFrom,rippleExpandableDuration:e.rippleExpandableDuration,rippleExpandableOpacityFrom:e.rippleExpandableOpacityFrom,rippleEaseCss:e.rippleEaseCss,feedbackExpandDuration:e.feedbackExpandDuration,expandDuration:e.expandDuration,expandOpenEase:e.expandOpenEase,progressFillDuration:e.progressFillDuration,progressFillEase:e.progressFillEase,loadingDotsDuration:e.loadingDotsDuration,loadingDotsEaseUp:e.loadingDotsEaseUp,loadingDotsEaseDown:e.loadingDotsEaseDown,enableHoverLift:e.enableHoverLift,enablePressSqueeze:e.enablePressSqueeze,enableToggleButtonFill:e.enableToggleButtonFill,enableRipple:e.enableRipple,enableExpandable:e.enableExpandable,enableToastStack:e.enableToastStack,enableAsyncButtonCrossfade:e.enableAsyncButtonCrossfade,enableContentFade:e.enableContentFade,enableFeedbackExpand:e.enableFeedbackExpand,enableProgressFill:e.enableProgressFill,enableLoadingDots:e.enableLoadingDots},r={space:e.space,size:e.size,radius:e.radius,borderWidth:e.borderWidth,textScale:e.textScale,fontFamily:e.fontFamily,fontFamilyMono:e.fontFamilyMono,fontWeights:{...e.fontWeights},shadowStrength:e.shadowStrength,shadowSize:e.shadowSize,toastScrimSize:e.toastScrimSize,toastScrimDensity:e.toastScrimDensity};return{theme:e.theme,tokens:r,colors:{dark:{...e.modePalettes.dark},light:{...e.modePalettes.light}},motion:t,toast:!0}}function Rf(n,e){var r;if(typeof n=="string"||typeof n=="number"||typeof n=="boolean")return{value:n};const t=((r=n.values)==null?void 0:r[e])??n.value;return t===void 0?null:{value:t,unit:n.unit}}function Kn(n,e){const t={};if(!n)return t;for(const[r,o]of Object.entries(n)){const i=Rf(o,e);i&&(t[r]=typeof i.value=="number"&&i.unit?`${i.value}${i.unit}`:String(i.value))}return t}const Pr=new WeakMap;function Ds(n,e,t){const r=Kn(n,t),o=new Set(Object.keys(r)),i=Pr.get(e)??new Map;i.forEach((s,a)=>{o.has(a)||(s.value?e.style.setProperty(a,s.value,s.priority):e.style.removeProperty(a),i.delete(a))});for(const[s,a]of Object.entries(r))i.has(s)||i.set(s,{value:e.style.getPropertyValue(s),priority:e.style.getPropertyPriority(s)}),e.style.setProperty(s,a);Pr.set(e,i)}function Ff(n){var t;if(typeof document>"u")return;const e=n??document.documentElement;(t=Pr.get(e))==null||t.forEach((r,o)=>{r.value?e.style.setProperty(o,r.value,r.priority):e.style.removeProperty(o)}),Pr.delete(e)}function Ps(n){return{...Os(Hr((n==null?void 0:n.theme)??"dark")),storageKey:(n==null?void 0:n.storageKey)===void 0?"burne-ui-theme":n.storageKey}}function If(n){const e=(n==null?void 0:n.exportName)??"burneTheme",t=Ar(Ps(),0);return["/**"," * Burne UI theme config (starter snapshot)."," *"," * - Edit `tokens` / `motion` (shared), `colors.light` / `colors.dark`,"," * and optional `customTokens` for project-specific CSS variables."," * - Or replace this file with docs site → Copy config."," *",' * import { BurneUIProvider } from "burne-ui";',` * import ${e} from "./burne-theme";`,` * <BurneUIProvider config={${e}}>{children}</BurneUIProvider>`," */",'import type { BurneThemeConfig } from "burne-ui";',"",`const ${e} = ${t} satisfies BurneThemeConfig;`,"",`export default ${e};`,""].join(`
|
|
39
|
+
`)}function Mf(n,e="dark"){const t=Hr(e);return n?{...t,...As({space:n.space,size:n.size,radius:n.radius,borderWidth:n.borderWidth,textScale:n.textScale,fontFamily:n.fontFamily,fontFamilyMono:n.fontFamilyMono,shadowStrength:n.shadowStrength,shadowSize:n.shadowSize,toastScrimSize:n.toastScrimSize,toastScrimDensity:n.toastScrimDensity}),fontWeights:n.fontWeights?{...t.fontWeights,...n.fontWeights}:t.fontWeights}:t}function As(n){const e={};for(const[t,r]of Object.entries(n))r!==void 0&&(e[t]=r);return e}function Ls(n,e,t=Vr(n.theme)){if(typeof document>"u")return;const r=e??document.documentElement,o=Zn(n,t);if(n.motion){const i=n.motion;i.interactiveDuration!==void 0&&(o.interactiveDuration=i.interactiveDuration),i.interactiveEase!==void 0&&(o.interactiveEase=i.interactiveEase),i.hoverLiftEase!==void 0&&(o.hoverLiftEase=i.hoverLiftEase),i.tooltipDuration!==void 0&&(o.tooltipDuration=i.tooltipDuration),i.switchThumbDuration!==void 0&&(o.switchThumbDuration=i.switchThumbDuration),i.switchThumbEase!==void 0&&(o.switchThumbEase=i.switchThumbEase),i.selectionFillDuration!==void 0&&(o.selectionFillDuration=i.selectionFillDuration),i.selectionFillEase!==void 0&&(o.selectionFillEase=i.selectionFillEase),i.hoverLiftScale!==void 0&&(o.hoverLiftScale=i.hoverLiftScale),i.badgeAnchorHoverLiftScale!==void 0&&(o.badgeAnchorHoverLiftScale=i.badgeAnchorHoverLiftScale),i.pressSqueezeScale!==void 0&&(o.pressSqueezeMid=i.pressSqueezeScale[1]),i.rippleDefaultDuration!==void 0&&(o.rippleDefaultDuration=i.rippleDefaultDuration),i.rippleDefaultOpacityFrom!==void 0&&(o.rippleDefaultOpacityFrom=i.rippleDefaultOpacityFrom),i.rippleExpandableDuration!==void 0&&(o.rippleExpandableDuration=i.rippleExpandableDuration),i.rippleExpandableOpacityFrom!==void 0&&(o.rippleExpandableOpacityFrom=i.rippleExpandableOpacityFrom),i.rippleEaseCss!==void 0&&(o.rippleEaseCss=i.rippleEaseCss),i.feedbackExpandDuration!==void 0&&(o.feedbackExpandDuration=i.feedbackExpandDuration),i.expandDuration!==void 0&&(o.expandDuration=i.expandDuration),i.expandOpenEase!==void 0&&(o.expandOpenEase=i.expandOpenEase),i.progressFillDuration!==void 0&&(o.progressFillDuration=i.progressFillDuration),i.progressFillEase!==void 0&&(o.progressFillEase=i.progressFillEase),i.loadingDotsDuration!==void 0&&(o.loadingDotsDuration=i.loadingDotsDuration),i.loadingDotsEaseUp!==void 0&&(o.loadingDotsEaseUp=i.loadingDotsEaseUp),i.loadingDotsEaseDown!==void 0&&(o.loadingDotsEaseDown=i.loadingDotsEaseDown),i.enableHoverLift!==void 0&&(o.enableHoverLift=i.enableHoverLift),i.enablePressSqueeze!==void 0&&(o.enablePressSqueeze=i.enablePressSqueeze),i.enableToggleButtonFill!==void 0&&(o.enableToggleButtonFill=i.enableToggleButtonFill),i.enableRipple!==void 0&&(o.enableRipple=i.enableRipple),i.enableExpandable!==void 0&&(o.enableExpandable=i.enableExpandable),i.enableToastStack!==void 0&&(o.enableToastStack=i.enableToastStack),i.enableAsyncButtonCrossfade!==void 0&&(o.enableAsyncButtonCrossfade=i.enableAsyncButtonCrossfade),i.enableContentFade!==void 0&&(o.enableContentFade=i.enableContentFade),i.enableFeedbackExpand!==void 0&&(o.enableFeedbackExpand=i.enableFeedbackExpand),i.enableProgressFill!==void 0&&(o.enableProgressFill=i.enableProgressFill),i.enableLoadingDots!==void 0&&(o.enableLoadingDots=i.enableLoadingDots)}Cs(o,r),Ds(n.customTokens,r,t)}function Vr(n="system"){return n==="light"||n==="dark"?n:typeof window<"u"&&window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark"}function zf(n,e,t="dark"){Ls({theme:t,tokens:n},e,t)}function Nf(n){const e=Vr(n.theme),t=Zn(n,e),r=Es(t),o=Kn(n.customTokens,e),i=Object.entries(o);if(i.length===0)return r;const s=i.map(([a,c])=>` ${a}: ${c};`).join(`
|
|
40
|
+
`);return r.replace(/\n}(\n|$)/,`
|
|
41
|
+
/* Custom project tokens */
|
|
42
|
+
${s}
|
|
43
|
+
}$1`)}function Ar(n,e){const t=" ".repeat(e),r=" ".repeat(e+1);if(n==null)return"undefined";if(typeof n=="boolean"||typeof n=="number")return String(n);if(typeof n=="string")return JSON.stringify(n);if(Array.isArray(n))return n.length===0?"[]":`[
|
|
44
|
+
${n.map(i=>`${r}${Ar(i,e+1)}`).join(`,
|
|
45
|
+
`)},
|
|
46
|
+
${t}]`;if(typeof n=="object"){const o=Object.entries(n).filter(([,s])=>s!==void 0);return o.length===0?"{}":`{
|
|
47
|
+
${o.map(([s,a])=>`${r}${Bf(s)}: ${Ar(a,e+1)}`).join(`,
|
|
48
|
+
`)},
|
|
49
|
+
${t}}`}return JSON.stringify(n)}function Bf(n){return/^[A-Za-z_$][\w$]*$/.test(n)?n:JSON.stringify(n)}function Gf(n,e){const t=(e==null?void 0:e.exportName)??"burneTheme",r=Ar(n,0);return["/**"," * Generated from the Burne UI theme playground."," * Save as `burne-theme.ts` and pass to BurneUIProvider:"," *",' * import { BurneUIProvider } from "burne-ui";',` * import ${t} from "./burne-theme";`," *",` * <BurneUIProvider config={${t}}>{children}</BurneUIProvider>`," *"," * `tokens` / `motion` are shared; `colors.light` / `colors.dark` hold palettes."," * Project-specific CSS variables and editor metadata live in `customTokens`."," */",'import type { BurneThemeConfig } from "burne-ui";',"",`const ${t} = ${r} satisfies BurneThemeConfig;`,"",`export default ${t};`,""].join(`
|
|
50
|
+
`)}const Qn=P.createContext(null),Uf="burne-ui-theme";function Hf(n){if(!n||typeof window>"u")return null;try{const e=window.localStorage.getItem(n);if(e==="light"||e==="dark"||e==="system")return e}catch{}return null}function Vf(n,e){if(!(!n||typeof window>"u"))try{window.localStorage.setItem(n,e)}catch{}}function Rs(n,e){if(typeof document>"u")return;const t=e??document.documentElement;n==="light"?t.dataset.theme="light":delete t.dataset.theme}function $f({children:n,theme:e,defaultTheme:t="dark",storageKey:r=Uf,root:o=null,onThemeChange:i}){const[s,a]=P.useState(()=>Hf(r)??t),[c,l]=P.useState(0),u=e??s,f=P.useMemo(()=>Vr(u),[u,c]),p=P.useCallback(g=>{e===void 0&&a(g),Vf(r,g),i==null||i(g)},[e,r,i]);P.useLayoutEffect(()=>{const g=o??(typeof document<"u"?document.documentElement:null);g&&Rs(f,g)},[f,o]),P.useEffect(()=>{if(u!=="system"||typeof window>"u")return;const g=window.matchMedia("(prefers-color-scheme: light)"),d=()=>{l(m=>m+1)};return g.addEventListener("change",d),()=>g.removeEventListener("change",d)},[u]);const h=P.useMemo(()=>({theme:u,resolvedTheme:f,setTheme:p}),[u,f,p]);return P.createElement(Qn.Provider,{value:h},n)}function Wf(){const n=P.useContext(Qn);if(!n)throw new Error("useBurneTheme must be used within ThemeProvider or BurneUIProvider.");return n}function Xf(){return P.useContext(Qn)}const Jn=P.createContext(null);function qf({children:n,value:e}){return P.createElement(Jn.Provider,{value:e},n)}function Yf(){const n=P.useContext(Jn);if(!n)throw new Error("useBurneThemeRuntime must be used within BurneUIProvider.");return n}function jf(){return P.useContext(Jn)}exports.BUTTON_BASE_INTERACTIVE_CLASS=hu;exports.BUTTON_CLIP_LAYER_CLASS=pu;exports.BUTTON_CURSOR_CLASS=wu;exports.BUTTON_DISABLED_OPACITY_CLASS=Su;exports.BUTTON_GROUP_TEXT_LABEL_CLASS=nf;exports.BUTTON_GROUP_TEXT_VARIANT=Zu;exports.BUTTON_SIZE_TEXT_VARIANT=du;exports.BUTTON_SPINNER_MOTION_CLASS=Tu;exports.BUTTON_STATUS_FOCUS_OUTLINE=lu;exports.BUTTON_VARIANT_HAS_HOVER_SHADOW=su;exports.BurneThemeRuntimeContextProvider=qf;exports.COLOR_CSS_VAR=Gr;exports.CONTROL_SIZE_LAYOUT=pt;exports.ConvergeRippleLayer=zc;exports.DARK_COLORS=vs;exports.DEFAULT_FONT=ws;exports.DEFAULT_FONT_MONO=Ss;exports.FIELD_SHELL_FOCUS_CLASS=ff;exports.FIELD_SHELL_TRANSITION_CLASS=uf;exports.FIELD_SHELL_VARIANT_BG_CLASS=bs;exports.FONT_WEIGHT_CSS_VAR=Nr;exports.FONT_WEIGHT_DEFAULTS=ns;exports.GLOSS_INTERACTIVE_MOTION_CLASS=Wn;exports.INTERACTIVE_VARIANT_ROOT=at;exports.LIGHT_COLORS=ys;exports.MOTION_DEFAULTS=Ts;exports.SCALE_DEFAULTS=xs;exports.SEMANTIC_STATUS_FILL=cs;exports.SEMANTIC_STATUS_OUTLINE_BORDER=us;exports.SEMANTIC_STATUS_SURFACE_TINT=ls;exports.SEMANTIC_STATUS_TEXT=zt;exports.SHADOW_CSS_VAR=Jt;exports.SHADOW_LIFT_MOTION_CLASS=Br;exports.SURFACE_COLOR_TRANSITION=fs;exports.TEXT_COLOR_TRANSITION=ou;exports.TEXT_SCALE_BASES=Dr;exports.ThemeProvider=$f;exports.activateThemeModePalette=Of;exports.affixSlotClass=hf;exports.affixToggleMinWClass=gf;exports.animateGlossInteractiveHoverLift=Qt;exports.animateGlossInteractivePressSqueeze=is;exports.animateInteractiveHoverLift=Kt;exports.animateInteractivePressSqueeze=Fc;exports.applyBurneThemeConfig=Ls;exports.applyCustomThemeTokens=Ds;exports.applyThemeMode=Rs;exports.applyThemeTokens=Cs;exports.applyTokens=zf;exports.burneFontWeightScale=Uc;exports.burneShadowScale=ka;exports.buttonContentClass=Nu;exports.buttonConvergeRippleColor=Au;exports.buttonErrorLayerClass=$u;exports.buttonFeedbackExpandRippleClass=Mu;exports.buttonGroupOverlapBorderClasses=Ju;exports.buttonGroupRootClass=ef;exports.buttonGroupRoundingClasses=jn;exports.buttonGroupSegmentSurfaceClasses=ms;exports.buttonGroupSeparatorClass=tf;exports.buttonGroupTextClass=rf;exports.buttonGroupTextFrameClass=gs;exports.buttonGroupTextSurfaceClasses=_s;exports.buttonIconClass=Gu;exports.buttonIconSvgClass=Wu;exports.buttonLabelClass=Bu;exports.buttonLoaderLayerClass=Hu;exports.buttonLoaderTextClass=Pu;exports.buttonRippleTone=Yu;exports.buttonRootClass=Fu;exports.buttonSpinnerClass=Iu;exports.buttonSpinnerInnerClass=zu;exports.buttonSuccessLayerClass=Vu;exports.buttonSurfaceMotionClass=ju;exports.buttonTextClass=Uu;exports.clearCustomThemeTokens=Ff;exports.clearThemeInlineTokens=Af;exports.cn=U;exports.colorToken=Q;exports.configureMotion=Qi;exports.controlShellClass=Ru;exports.createConvergeRippleAtPointer=$n;exports.createConvergeRippleFromPointer=Bc;exports.createDefaultBurneThemeConfig=Ps;exports.createDefaultThemeState=Hr;exports.createGlossInteractiveRefCallback=Xn;exports.designTokenNames=Vc;exports.ensureModePalettes=Ur;exports.ensureRippleEase=Ji;exports.exportBurneThemeConfigSource=Gf;exports.exportBurneThemeCss=Nf;exports.exportDefaultBurneThemeConfigSource=If;exports.exportThemeCss=Es;exports.fieldShellHoverClass=cf;exports.fieldShellVariantFromButtonGroup=sf;exports.firstLevelHoverShadow=eu;exports.fontWeightToken=Hc;exports.getMotionConfig=Re;exports.getMotionConfigRevision=pc;exports.gsapWithCSS=fe;exports.hoverVariant=hs;exports.initElementShadow=Mr;exports.killMotion=De;exports.mergeThemeTokenOverrides=Mf;exports.motionContentFade=yc;exports.motionExpand=vc;exports.motionFeedbackExpand=xc;exports.motionInteractive=gc;exports.motionLoadingDots=Sc;exports.motionProgressFill=Tc;exports.motionSelectionFill=mc;exports.motionSwitchThumb=bc;exports.motionTooltip=_c;exports.patchThemeColor=Df;exports.prefersReducedInteractiveHoverLift=zr;exports.readControlHeightPx=vf;exports.readShadowSize=Cc;exports.resolveCustomThemeTokens=Kn;exports.resolveFieldShellSurfaceClass=af;exports.resolveTheme=Vr;exports.resolveThemeTokenState=Zn;exports.secondLevelShadow=qn;exports.shadowBase=At;exports.shadowLarge=kc;exports.shadowMid=es;exports.shadowNone=Zt;exports.shadowToken=Ca;exports.shouldSkipInteractiveHoverLift=ve;exports.subscribeMotionConfig=hc;exports.themeTokenStateToConfig=Os;exports.tokensConfig=Ea;exports.useBurneTheme=Wf;exports.useBurneThemeOptional=Xf;exports.useBurneThemeRuntime=Yf;exports.useBurneThemeRuntimeOptional=jf;exports.useConvergeRipples=Gc;exports.useFieldShellHoverLift=df;exports.useGSAP=Ir;exports.useGlossFieldShellMotion=Jc;exports.useGlossInteractiveHandlers=ss;exports.useInteractiveHoverLiftContainerHandlers=rs;exports.useMergedGlossPanelRef=Qc;exports.usePersistentElShadow=tu;exports.useSecondLevelShadow=as;exports.useSecondLevelShadowContainer=ru;
|