@n3wth/ui 0.3.2 → 0.3.5

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/index.js CHANGED
@@ -3,7 +3,7 @@ var Qf = (n, e, t) => e in n ? Kf(n, e, { enumerable: !0, configurable: !0, writ
3
3
  var Ta = (n, e, t) => Qf(n, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { jsxs as le, Fragment as ro, jsx as L } from "react/jsx-runtime";
5
5
  import * as g from "react";
6
- import Jf, { forwardRef as R, isValidElement as ed, cloneElement as td, useMemo as ja, useState as zn, useCallback as Pn, useEffect as jt, Component as rd, useRef as Dr } from "react";
6
+ import Jf, { forwardRef as R, isValidElement as ed, cloneElement as td, useMemo as ja, useState as zn, useCallback as ln, useRef as ir, useEffect as mt, Component as rd } from "react";
7
7
  const R_ = {
8
8
  // Dark mode (default)
9
9
  dark: {
@@ -165,17 +165,17 @@ const R_ = {
165
165
  active: "1.05"
166
166
  }
167
167
  };
168
- function bu(n) {
168
+ function vu(n) {
169
169
  var e, t, r = "";
170
170
  if (typeof n == "string" || typeof n == "number") r += n;
171
171
  else if (typeof n == "object") if (Array.isArray(n)) {
172
172
  var o = n.length;
173
- for (e = 0; e < o; e++) n[e] && (t = bu(n[e])) && (r && (r += " "), r += t);
173
+ for (e = 0; e < o; e++) n[e] && (t = vu(n[e])) && (r && (r += " "), r += t);
174
174
  } else for (t in n) n[t] && (r && (r += " "), r += t);
175
175
  return r;
176
176
  }
177
177
  function nd() {
178
- for (var n, e, t = 0, r = "", o = arguments.length; t < o; t++) (n = arguments[t]) && (e = bu(n)) && (r && (r += " "), r += e);
178
+ for (var n, e, t = 0, r = "", o = arguments.length; t < o; t++) (n = arguments[t]) && (e = vu(n)) && (r && (r += " "), r += e);
179
179
  return r;
180
180
  }
181
181
  const na = "-", od = (n) => {
@@ -286,27 +286,27 @@ const na = "-", od = (n) => {
286
286
  experimentalParseClassName: t
287
287
  } = n, r = e.length === 1, o = e[0], i = e.length, s = (a) => {
288
288
  const l = [];
289
- let c = 0, u = 0, d;
289
+ let c = 0, u = 0, p;
290
290
  for (let _ = 0; _ < a.length; _++) {
291
- let w = a[_];
291
+ let v = a[_];
292
292
  if (c === 0) {
293
- if (w === o && (r || a.slice(_, _ + i) === e)) {
293
+ if (v === o && (r || a.slice(_, _ + i) === e)) {
294
294
  l.push(a.slice(u, _)), u = _ + i;
295
295
  continue;
296
296
  }
297
- if (w === "/") {
298
- d = _;
297
+ if (v === "/") {
298
+ p = _;
299
299
  continue;
300
300
  }
301
301
  }
302
- w === "[" ? c++ : w === "]" && c--;
302
+ v === "[" ? c++ : v === "]" && c--;
303
303
  }
304
- const h = l.length === 0 ? a : a.substring(u), f = h.startsWith(wu), m = f ? h.substring(1) : h, p = d && d > u ? d - u : void 0;
304
+ const h = l.length === 0 ? a : a.substring(u), f = h.startsWith(wu), m = f ? h.substring(1) : h, d = p && p > u ? p - u : void 0;
305
305
  return {
306
306
  modifiers: l,
307
307
  hasImportantModifier: f,
308
308
  baseClassName: m,
309
- maybePostfixModifierPosition: p
309
+ maybePostfixModifierPosition: d
310
310
  };
311
311
  };
312
312
  return t ? (a) => t({
@@ -335,30 +335,30 @@ const na = "-", od = (n) => {
335
335
  for (let l = s.length - 1; l >= 0; l -= 1) {
336
336
  const c = s[l], {
337
337
  modifiers: u,
338
- hasImportantModifier: d,
338
+ hasImportantModifier: p,
339
339
  baseClassName: h,
340
340
  maybePostfixModifierPosition: f
341
341
  } = t(c);
342
- let m = !!f, p = r(m ? h.substring(0, f) : h);
343
- if (!p) {
342
+ let m = !!f, d = r(m ? h.substring(0, f) : h);
343
+ if (!d) {
344
344
  if (!m) {
345
345
  a = c + (a.length > 0 ? " " + a : a);
346
346
  continue;
347
347
  }
348
- if (p = r(h), !p) {
348
+ if (d = r(h), !d) {
349
349
  a = c + (a.length > 0 ? " " + a : a);
350
350
  continue;
351
351
  }
352
352
  m = !1;
353
353
  }
354
- const _ = fd(u).join(":"), w = d ? _ + wu : _, x = w + p;
354
+ const _ = fd(u).join(":"), v = p ? _ + wu : _, x = v + d;
355
355
  if (i.includes(x))
356
356
  continue;
357
357
  i.push(x);
358
- const O = o(p, m);
359
- for (let y = 0; y < O.length; ++y) {
360
- const k = O[y];
361
- i.push(w + k);
358
+ const O = o(d, m);
359
+ for (let w = 0; w < O.length; ++w) {
360
+ const k = O[w];
361
+ i.push(v + k);
362
362
  }
363
363
  a = c + (a.length > 0 ? " " + a : a);
364
364
  }
@@ -381,7 +381,7 @@ const xu = (n) => {
381
381
  function md(n, ...e) {
382
382
  let t, r, o, i = s;
383
383
  function s(l) {
384
- const c = e.reduce((u, d) => d(u), n());
384
+ const c = e.reduce((u, p) => p(u), n());
385
385
  return t = dd(c), r = t.cache.get, o = t.cache.set, i = a, a(l);
386
386
  }
387
387
  function a(l) {
@@ -398,7 +398,7 @@ function md(n, ...e) {
398
398
  const pe = (n) => {
399
399
  const e = (t) => t[n] || [];
400
400
  return e.isThemeGetter = !0, e;
401
- }, Cu = /^\[(?:([a-z-]+):)?(.+)\]$/i, _d = /^\d+\/\d+$/, vd = /* @__PURE__ */ new Set(["px", "full", "screen"]), bd = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yd = /\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$/, wd = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, xd = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Cd = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, fr = (n) => Cn(n) || vd.has(n) || _d.test(n), Or = (n) => In(n, "length", Sd), Cn = (n) => !!n && !Number.isNaN(Number(n)), mi = (n) => In(n, "number", Cn), Hn = (n) => !!n && Number.isInteger(Number(n)), kd = (n) => n.endsWith("%") && Cn(n.slice(0, -1)), G = (n) => Cu.test(n), $r = (n) => bd.test(n), Od = /* @__PURE__ */ new Set(["length", "size", "percentage"]), $d = (n) => In(n, Od, ku), Ld = (n) => In(n, "position", ku), Ed = /* @__PURE__ */ new Set(["image", "url"]), Md = (n) => In(n, Ed, jd), Pd = (n) => In(n, "", Td), Yn = () => !0, In = (n, e, t) => {
401
+ }, Cu = /^\[(?:([a-z-]+):)?(.+)\]$/i, _d = /^\d+\/\d+$/, bd = /* @__PURE__ */ new Set(["px", "full", "screen"]), vd = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yd = /\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$/, wd = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, xd = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Cd = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, dr = (n) => kn(n) || bd.has(n) || _d.test(n), $r = (n) => In(n, "length", Sd), kn = (n) => !!n && !Number.isNaN(Number(n)), mi = (n) => In(n, "number", kn), Hn = (n) => !!n && Number.isInteger(Number(n)), kd = (n) => n.endsWith("%") && kn(n.slice(0, -1)), G = (n) => Cu.test(n), Lr = (n) => vd.test(n), Od = /* @__PURE__ */ new Set(["length", "size", "percentage"]), $d = (n) => In(n, Od, ku), Ld = (n) => In(n, "position", ku), Ed = /* @__PURE__ */ new Set(["image", "url"]), Md = (n) => In(n, Ed, jd), Pd = (n) => In(n, "", Td), Yn = () => !0, In = (n, e, t) => {
402
402
  const r = Cu.exec(n);
403
403
  return r ? r[1] ? typeof e == "string" ? r[1] === e : e.has(r[1]) : t(r[2]) : !1;
404
404
  }, Sd = (n) => (
@@ -407,17 +407,17 @@ const pe = (n) => {
407
407
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
408
408
  yd.test(n) && !wd.test(n)
409
409
  ), ku = () => !1, Td = (n) => xd.test(n), jd = (n) => Cd.test(n), Rd = () => {
410
- const n = pe("colors"), e = pe("spacing"), t = pe("blur"), r = pe("brightness"), o = pe("borderColor"), i = pe("borderRadius"), s = pe("borderSpacing"), a = pe("borderWidth"), l = pe("contrast"), c = pe("grayscale"), u = pe("hueRotate"), d = pe("invert"), h = pe("gap"), f = pe("gradientColorStops"), m = pe("gradientColorStopPositions"), p = pe("inset"), _ = pe("margin"), w = pe("opacity"), x = pe("padding"), O = pe("saturate"), y = pe("scale"), k = pe("sepia"), E = pe("skew"), C = pe("space"), S = pe("translate"), $ = () => ["auto", "contain", "none"], P = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", G, e], M = () => [G, e], U = () => ["", fr, Or], V = () => ["auto", Cn, G], Q = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Y = () => ["solid", "dashed", "dotted", "double", "none"], N = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], ie = () => ["", "0", G], v = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], te = () => [Cn, G];
410
+ const n = pe("colors"), e = pe("spacing"), t = pe("blur"), r = pe("brightness"), o = pe("borderColor"), i = pe("borderRadius"), s = pe("borderSpacing"), a = pe("borderWidth"), l = pe("contrast"), c = pe("grayscale"), u = pe("hueRotate"), p = pe("invert"), h = pe("gap"), f = pe("gradientColorStops"), m = pe("gradientColorStopPositions"), d = pe("inset"), _ = pe("margin"), v = pe("opacity"), x = pe("padding"), O = pe("saturate"), w = pe("scale"), k = pe("sepia"), E = pe("skew"), C = pe("space"), S = pe("translate"), $ = () => ["auto", "contain", "none"], P = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", G, e], M = () => [G, e], U = () => ["", dr, $r], V = () => ["auto", kn, G], Q = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Y = () => ["solid", "dashed", "dotted", "double", "none"], N = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], ie = () => ["", "0", G], b = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], te = () => [kn, G];
411
411
  return {
412
412
  cacheSize: 500,
413
413
  separator: ":",
414
414
  theme: {
415
415
  colors: [Yn],
416
- spacing: [fr, Or],
417
- blur: ["none", "", $r, G],
416
+ spacing: [dr, $r],
417
+ blur: ["none", "", Lr, G],
418
418
  brightness: te(),
419
419
  borderColor: [n],
420
- borderRadius: ["none", "", "full", $r, G],
420
+ borderRadius: ["none", "", "full", Lr, G],
421
421
  borderSpacing: M(),
422
422
  borderWidth: U(),
423
423
  contrast: te(),
@@ -426,7 +426,7 @@ const pe = (n) => {
426
426
  invert: ie(),
427
427
  gap: M(),
428
428
  gradientColorStops: [n],
429
- gradientColorStopPositions: [kd, Or],
429
+ gradientColorStopPositions: [kd, $r],
430
430
  inset: I(),
431
431
  margin: I(),
432
432
  opacity: te(),
@@ -457,21 +457,21 @@ const pe = (n) => {
457
457
  * @see https://tailwindcss.com/docs/columns
458
458
  */
459
459
  columns: [{
460
- columns: [$r]
460
+ columns: [Lr]
461
461
  }],
462
462
  /**
463
463
  * Break After
464
464
  * @see https://tailwindcss.com/docs/break-after
465
465
  */
466
466
  "break-after": [{
467
- "break-after": v()
467
+ "break-after": b()
468
468
  }],
469
469
  /**
470
470
  * Break Before
471
471
  * @see https://tailwindcss.com/docs/break-before
472
472
  */
473
473
  "break-before": [{
474
- "break-before": v()
474
+ "break-before": b()
475
475
  }],
476
476
  /**
477
477
  * Break Inside
@@ -584,63 +584,63 @@ const pe = (n) => {
584
584
  * @see https://tailwindcss.com/docs/top-right-bottom-left
585
585
  */
586
586
  inset: [{
587
- inset: [p]
587
+ inset: [d]
588
588
  }],
589
589
  /**
590
590
  * Right / Left
591
591
  * @see https://tailwindcss.com/docs/top-right-bottom-left
592
592
  */
593
593
  "inset-x": [{
594
- "inset-x": [p]
594
+ "inset-x": [d]
595
595
  }],
596
596
  /**
597
597
  * Top / Bottom
598
598
  * @see https://tailwindcss.com/docs/top-right-bottom-left
599
599
  */
600
600
  "inset-y": [{
601
- "inset-y": [p]
601
+ "inset-y": [d]
602
602
  }],
603
603
  /**
604
604
  * Start
605
605
  * @see https://tailwindcss.com/docs/top-right-bottom-left
606
606
  */
607
607
  start: [{
608
- start: [p]
608
+ start: [d]
609
609
  }],
610
610
  /**
611
611
  * End
612
612
  * @see https://tailwindcss.com/docs/top-right-bottom-left
613
613
  */
614
614
  end: [{
615
- end: [p]
615
+ end: [d]
616
616
  }],
617
617
  /**
618
618
  * Top
619
619
  * @see https://tailwindcss.com/docs/top-right-bottom-left
620
620
  */
621
621
  top: [{
622
- top: [p]
622
+ top: [d]
623
623
  }],
624
624
  /**
625
625
  * Right
626
626
  * @see https://tailwindcss.com/docs/top-right-bottom-left
627
627
  */
628
628
  right: [{
629
- right: [p]
629
+ right: [d]
630
630
  }],
631
631
  /**
632
632
  * Bottom
633
633
  * @see https://tailwindcss.com/docs/top-right-bottom-left
634
634
  */
635
635
  bottom: [{
636
- bottom: [p]
636
+ bottom: [d]
637
637
  }],
638
638
  /**
639
639
  * Left
640
640
  * @see https://tailwindcss.com/docs/top-right-bottom-left
641
641
  */
642
642
  left: [{
643
- left: [p]
643
+ left: [d]
644
644
  }],
645
645
  /**
646
646
  * Visibility
@@ -1041,8 +1041,8 @@ const pe = (n) => {
1041
1041
  */
1042
1042
  "max-w": [{
1043
1043
  "max-w": [G, e, "none", "full", "min", "max", "fit", "prose", {
1044
- screen: [$r]
1045
- }, $r]
1044
+ screen: [Lr]
1045
+ }, Lr]
1046
1046
  }],
1047
1047
  /**
1048
1048
  * Height
@@ -1078,7 +1078,7 @@ const pe = (n) => {
1078
1078
  * @see https://tailwindcss.com/docs/font-size
1079
1079
  */
1080
1080
  "font-size": [{
1081
- text: ["base", $r, Or]
1081
+ text: ["base", Lr, $r]
1082
1082
  }],
1083
1083
  /**
1084
1084
  * Font Smoothing
@@ -1146,14 +1146,14 @@ const pe = (n) => {
1146
1146
  * @see https://tailwindcss.com/docs/line-clamp
1147
1147
  */
1148
1148
  "line-clamp": [{
1149
- "line-clamp": ["none", Cn, mi]
1149
+ "line-clamp": ["none", kn, mi]
1150
1150
  }],
1151
1151
  /**
1152
1152
  * Line Height
1153
1153
  * @see https://tailwindcss.com/docs/line-height
1154
1154
  */
1155
1155
  leading: [{
1156
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", fr, G]
1156
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", dr, G]
1157
1157
  }],
1158
1158
  /**
1159
1159
  * List Style Image
@@ -1189,7 +1189,7 @@ const pe = (n) => {
1189
1189
  * @see https://tailwindcss.com/docs/placeholder-opacity
1190
1190
  */
1191
1191
  "placeholder-opacity": [{
1192
- "placeholder-opacity": [w]
1192
+ "placeholder-opacity": [v]
1193
1193
  }],
1194
1194
  /**
1195
1195
  * Text Alignment
@@ -1210,7 +1210,7 @@ const pe = (n) => {
1210
1210
  * @see https://tailwindcss.com/docs/text-opacity
1211
1211
  */
1212
1212
  "text-opacity": [{
1213
- "text-opacity": [w]
1213
+ "text-opacity": [v]
1214
1214
  }],
1215
1215
  /**
1216
1216
  * Text Decoration
@@ -1229,14 +1229,14 @@ const pe = (n) => {
1229
1229
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1230
1230
  */
1231
1231
  "text-decoration-thickness": [{
1232
- decoration: ["auto", "from-font", fr, Or]
1232
+ decoration: ["auto", "from-font", dr, $r]
1233
1233
  }],
1234
1234
  /**
1235
1235
  * Text Underline Offset
1236
1236
  * @see https://tailwindcss.com/docs/text-underline-offset
1237
1237
  */
1238
1238
  "underline-offset": [{
1239
- "underline-offset": ["auto", fr, G]
1239
+ "underline-offset": ["auto", dr, G]
1240
1240
  }],
1241
1241
  /**
1242
1242
  * Text Decoration Color
@@ -1325,7 +1325,7 @@ const pe = (n) => {
1325
1325
  * @see https://tailwindcss.com/docs/background-opacity
1326
1326
  */
1327
1327
  "bg-opacity": [{
1328
- "bg-opacity": [w]
1328
+ "bg-opacity": [v]
1329
1329
  }],
1330
1330
  /**
1331
1331
  * Background Origin
@@ -1589,7 +1589,7 @@ const pe = (n) => {
1589
1589
  * @see https://tailwindcss.com/docs/border-opacity
1590
1590
  */
1591
1591
  "border-opacity": [{
1592
- "border-opacity": [w]
1592
+ "border-opacity": [v]
1593
1593
  }],
1594
1594
  /**
1595
1595
  * Border Style
@@ -1627,7 +1627,7 @@ const pe = (n) => {
1627
1627
  * @see https://tailwindcss.com/docs/divide-opacity
1628
1628
  */
1629
1629
  "divide-opacity": [{
1630
- "divide-opacity": [w]
1630
+ "divide-opacity": [v]
1631
1631
  }],
1632
1632
  /**
1633
1633
  * Divide Style
@@ -1718,14 +1718,14 @@ const pe = (n) => {
1718
1718
  * @see https://tailwindcss.com/docs/outline-offset
1719
1719
  */
1720
1720
  "outline-offset": [{
1721
- "outline-offset": [fr, G]
1721
+ "outline-offset": [dr, G]
1722
1722
  }],
1723
1723
  /**
1724
1724
  * Outline Width
1725
1725
  * @see https://tailwindcss.com/docs/outline-width
1726
1726
  */
1727
1727
  "outline-w": [{
1728
- outline: [fr, Or]
1728
+ outline: [dr, $r]
1729
1729
  }],
1730
1730
  /**
1731
1731
  * Outline Color
@@ -1758,14 +1758,14 @@ const pe = (n) => {
1758
1758
  * @see https://tailwindcss.com/docs/ring-opacity
1759
1759
  */
1760
1760
  "ring-opacity": [{
1761
- "ring-opacity": [w]
1761
+ "ring-opacity": [v]
1762
1762
  }],
1763
1763
  /**
1764
1764
  * Ring Offset Width
1765
1765
  * @see https://tailwindcss.com/docs/ring-offset-width
1766
1766
  */
1767
1767
  "ring-offset-w": [{
1768
- "ring-offset": [fr, Or]
1768
+ "ring-offset": [dr, $r]
1769
1769
  }],
1770
1770
  /**
1771
1771
  * Ring Offset Color
@@ -1780,7 +1780,7 @@ const pe = (n) => {
1780
1780
  * @see https://tailwindcss.com/docs/box-shadow
1781
1781
  */
1782
1782
  shadow: [{
1783
- shadow: ["", "inner", "none", $r, Pd]
1783
+ shadow: ["", "inner", "none", Lr, Pd]
1784
1784
  }],
1785
1785
  /**
1786
1786
  * Box Shadow Color
@@ -1794,7 +1794,7 @@ const pe = (n) => {
1794
1794
  * @see https://tailwindcss.com/docs/opacity
1795
1795
  */
1796
1796
  opacity: [{
1797
- opacity: [w]
1797
+ opacity: [v]
1798
1798
  }],
1799
1799
  /**
1800
1800
  * Mix Blend Mode
@@ -1845,7 +1845,7 @@ const pe = (n) => {
1845
1845
  * @see https://tailwindcss.com/docs/drop-shadow
1846
1846
  */
1847
1847
  "drop-shadow": [{
1848
- "drop-shadow": ["", "none", $r, G]
1848
+ "drop-shadow": ["", "none", Lr, G]
1849
1849
  }],
1850
1850
  /**
1851
1851
  * Grayscale
@@ -1866,7 +1866,7 @@ const pe = (n) => {
1866
1866
  * @see https://tailwindcss.com/docs/invert
1867
1867
  */
1868
1868
  invert: [{
1869
- invert: [d]
1869
+ invert: [p]
1870
1870
  }],
1871
1871
  /**
1872
1872
  * Saturate
@@ -1930,14 +1930,14 @@ const pe = (n) => {
1930
1930
  * @see https://tailwindcss.com/docs/backdrop-invert
1931
1931
  */
1932
1932
  "backdrop-invert": [{
1933
- "backdrop-invert": [d]
1933
+ "backdrop-invert": [p]
1934
1934
  }],
1935
1935
  /**
1936
1936
  * Backdrop Opacity
1937
1937
  * @see https://tailwindcss.com/docs/backdrop-opacity
1938
1938
  */
1939
1939
  "backdrop-opacity": [{
1940
- "backdrop-opacity": [w]
1940
+ "backdrop-opacity": [v]
1941
1941
  }],
1942
1942
  /**
1943
1943
  * Backdrop Saturate
@@ -2045,21 +2045,21 @@ const pe = (n) => {
2045
2045
  * @see https://tailwindcss.com/docs/scale
2046
2046
  */
2047
2047
  scale: [{
2048
- scale: [y]
2048
+ scale: [w]
2049
2049
  }],
2050
2050
  /**
2051
2051
  * Scale X
2052
2052
  * @see https://tailwindcss.com/docs/scale
2053
2053
  */
2054
2054
  "scale-x": [{
2055
- "scale-x": [y]
2055
+ "scale-x": [w]
2056
2056
  }],
2057
2057
  /**
2058
2058
  * Scale Y
2059
2059
  * @see https://tailwindcss.com/docs/scale
2060
2060
  */
2061
2061
  "scale-y": [{
2062
- "scale-y": [y]
2062
+ "scale-y": [w]
2063
2063
  }],
2064
2064
  /**
2065
2065
  * Rotate
@@ -2360,7 +2360,7 @@ const pe = (n) => {
2360
2360
  * @see https://tailwindcss.com/docs/stroke-width
2361
2361
  */
2362
2362
  "stroke-w": [{
2363
- stroke: [fr, Or, mi]
2363
+ stroke: [dr, $r, mi]
2364
2364
  }],
2365
2365
  /**
2366
2366
  * Stroke
@@ -2452,19 +2452,20 @@ const Ou = R(
2452
2452
  asChild: l = !1,
2453
2453
  ...c
2454
2454
  }, u) => {
2455
- const d = [
2455
+ const p = [
2456
2456
  "inline-flex items-center justify-center gap-2",
2457
2457
  "font-medium",
2458
2458
  "border",
2459
2459
  "rounded-full",
2460
- "transition-all duration-200 ease-out",
2460
+ "transition-[transform,background-color,border-color,color,opacity] duration-200 ease-out",
2461
2461
  "focus-ring",
2462
2462
  "disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none"
2463
2463
  ], h = {
2464
2464
  primary: [
2465
2465
  "bg-[var(--color-white)] text-[var(--color-bg)]",
2466
2466
  "border-[var(--color-white)]",
2467
- "hover:scale-[1.02] active:scale-[0.96]"
2467
+ "hover:scale-[1.02] active:scale-[0.96]",
2468
+ "glow-white"
2468
2469
  ],
2469
2470
  secondary: [
2470
2471
  "bg-transparent text-[var(--color-white)]",
@@ -2489,13 +2490,13 @@ const Ou = R(
2489
2490
  sm: "px-3 py-1.5 text-xs",
2490
2491
  md: "px-4 py-2 text-sm",
2491
2492
  lg: "px-6 py-3 text-base"
2492
- }, m = H(d, h[n], f[e], s), p = ed(t) ? t : null, _ = /* @__PURE__ */ le(ro, { children: [
2493
+ }, m = H(p, h[n], f[e], s), d = ed(t) ? t : null, _ = /* @__PURE__ */ le(ro, { children: [
2493
2494
  r ? /* @__PURE__ */ L("span", { className: "w-4 h-4 border-2 border-current border-t-transparent rounded-full animate-spin" }) : o,
2494
- l && p ? p.props.children : t,
2495
+ l && d ? d.props.children : t,
2495
2496
  !r && i
2496
2497
  ] });
2497
- return l && p ? td(p, {
2498
- className: H(m, p.props.className),
2498
+ return l && d ? td(d, {
2499
+ className: H(m, d.props.className),
2499
2500
  ref: u,
2500
2501
  children: _
2501
2502
  }) : /* @__PURE__ */ L(
@@ -2523,7 +2524,8 @@ function Dd({
2523
2524
  "font-medium",
2524
2525
  "rounded-full",
2525
2526
  "whitespace-nowrap",
2526
- "transition-colors duration-200"
2527
+ "transition-colors duration-200",
2528
+ "backdrop-blur-sm"
2527
2529
  ], s = {
2528
2530
  default: [
2529
2531
  "bg-[var(--glass-bg)]",
@@ -2568,58 +2570,68 @@ const Nd = R(
2568
2570
  leftIcon: t,
2569
2571
  rightIcon: r,
2570
2572
  error: o = !1,
2571
- className: i,
2572
- ...s
2573
- }, a) => {
2574
- const l = [
2573
+ labelId: i,
2574
+ className: s,
2575
+ id: a,
2576
+ ...l
2577
+ }, c) => {
2578
+ const u = !!o, p = typeof o == "string" ? o : void 0, h = p && a ? `${a}-error` : void 0, f = [
2575
2579
  "relative inline-flex items-center w-full",
2576
2580
  "border rounded-xl",
2577
- "transition-all duration-200",
2578
- "focus-within:border-[var(--color-white)]"
2579
- ], c = {
2581
+ "transition-[border-color,background-color,box-shadow] duration-200",
2582
+ "focus-within:border-[var(--color-white)]",
2583
+ "focus-glow"
2584
+ ], m = {
2580
2585
  default: [
2581
2586
  "bg-transparent",
2582
- o ? "border-[var(--color-coral)]" : "border-[var(--glass-border)]",
2587
+ u ? "border-[var(--color-coral)]" : "border-[var(--glass-border)]",
2583
2588
  "hover:border-[var(--glass-highlight)]"
2584
2589
  ],
2585
2590
  glass: [
2586
2591
  "bg-[var(--glass-bg)]",
2587
2592
  "backdrop-blur-lg",
2588
- o ? "border-[var(--color-coral)]" : "border-[var(--glass-border)]",
2593
+ u ? "border-[var(--color-coral)]" : "border-[var(--glass-border)]",
2589
2594
  "hover:bg-[rgba(255,255,255,0.08)]"
2590
2595
  ]
2591
- }, u = {
2596
+ }, d = {
2592
2597
  sm: "h-8",
2593
2598
  md: "h-10",
2594
2599
  lg: "h-12"
2595
- }, d = {
2600
+ }, _ = {
2596
2601
  sm: "text-xs px-3",
2597
2602
  md: "text-sm px-4",
2598
2603
  lg: "text-base px-5"
2599
- }, h = {
2604
+ }, v = {
2600
2605
  sm: { left: "pl-8", right: "pr-8" },
2601
2606
  md: { left: "pl-10", right: "pr-10" },
2602
2607
  lg: { left: "pl-12", right: "pr-12" }
2603
2608
  };
2604
- return /* @__PURE__ */ le("div", { className: H(l, c[n], u[e], i), children: [
2605
- t && /* @__PURE__ */ L("span", { className: "absolute left-3 text-[var(--color-grey-400)] pointer-events-none", children: t }),
2606
- /* @__PURE__ */ L(
2607
- "input",
2608
- {
2609
- ref: a,
2610
- className: H(
2611
- "w-full h-full bg-transparent",
2612
- "text-[var(--color-white)]",
2613
- "placeholder:text-[var(--color-grey-600)]",
2614
- "outline-none",
2615
- d[e],
2616
- t && h[e].left,
2617
- r && h[e].right
2618
- ),
2619
- ...s
2620
- }
2621
- ),
2622
- r && /* @__PURE__ */ L("span", { className: "absolute right-3 text-[var(--color-grey-400)]", children: r })
2609
+ return /* @__PURE__ */ le("div", { className: "flex flex-col gap-1.5", children: [
2610
+ /* @__PURE__ */ le("div", { className: H(f, m[n], d[e], s), children: [
2611
+ t && /* @__PURE__ */ L("span", { className: "absolute left-3 text-[var(--color-grey-400)] pointer-events-none", "aria-hidden": "true", children: t }),
2612
+ /* @__PURE__ */ L(
2613
+ "input",
2614
+ {
2615
+ ref: c,
2616
+ id: a,
2617
+ className: H(
2618
+ "w-full h-full bg-transparent",
2619
+ "text-[var(--color-white)]",
2620
+ "placeholder:text-[var(--color-grey-600)]",
2621
+ "focus:outline-none focus-visible:outline-none",
2622
+ _[e],
2623
+ t && v[e].left,
2624
+ r && v[e].right
2625
+ ),
2626
+ "aria-invalid": u || void 0,
2627
+ "aria-describedby": h,
2628
+ "aria-labelledby": i,
2629
+ ...l
2630
+ }
2631
+ ),
2632
+ r && /* @__PURE__ */ L("span", { className: "absolute right-3 text-[var(--color-grey-400)]", "aria-hidden": "true", children: r })
2633
+ ] }),
2634
+ p && /* @__PURE__ */ L("span", { id: h, className: "text-xs text-[var(--color-coral)]", role: "alert", children: p })
2623
2635
  ] });
2624
2636
  }
2625
2637
  );
@@ -2634,23 +2646,23 @@ const Fd = (n, e) => {
2634
2646
  const t = g.useContext(A), r = _i(_i({}, t), n);
2635
2647
  return g.createElement("svg", _i({ width: "1.5em", height: "1.5em", viewBox: "0 0 24 24", strokeWidth: 1.5, fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M12 3L12 21M12 21L20.5 12.5M12 21L3.5 12.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
2636
2648
  }, Vd = R(Fd);
2637
- var Wd = Vd, Hd = Object.defineProperty, za = Object.getOwnPropertySymbols, Yd = Object.prototype.hasOwnProperty, Gd = Object.prototype.propertyIsEnumerable, Ia = (n, e, t) => e in n ? Hd(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, vi = (n, e) => {
2649
+ var Wd = Vd, Hd = Object.defineProperty, za = Object.getOwnPropertySymbols, Yd = Object.prototype.hasOwnProperty, Gd = Object.prototype.propertyIsEnumerable, Ia = (n, e, t) => e in n ? Hd(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, bi = (n, e) => {
2638
2650
  for (var t in e || (e = {})) Yd.call(e, t) && Ia(n, t, e[t]);
2639
2651
  if (za) for (var t of za(e)) Gd.call(e, t) && Ia(n, t, e[t]);
2640
2652
  return n;
2641
2653
  };
2642
2654
  const Xd = (n, e) => {
2643
- const t = g.useContext(A), r = vi(vi({}, t), n);
2644
- return g.createElement("svg", vi({ width: "1.5em", height: "1.5em", viewBox: "0 0 24 24", strokeWidth: 1.5, fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M21 12L3 12M3 12L11.5 3.5M3 12L11.5 20.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
2655
+ const t = g.useContext(A), r = bi(bi({}, t), n);
2656
+ return g.createElement("svg", bi({ width: "1.5em", height: "1.5em", viewBox: "0 0 24 24", strokeWidth: 1.5, fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M21 12L3 12M3 12L11.5 3.5M3 12L11.5 20.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
2645
2657
  }, Ud = R(Xd);
2646
- var qd = Ud, Zd = Object.defineProperty, Ba = Object.getOwnPropertySymbols, Kd = Object.prototype.hasOwnProperty, Qd = Object.prototype.propertyIsEnumerable, Fa = (n, e, t) => e in n ? Zd(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, bi = (n, e) => {
2658
+ var qd = Ud, Zd = Object.defineProperty, Ba = Object.getOwnPropertySymbols, Kd = Object.prototype.hasOwnProperty, Qd = Object.prototype.propertyIsEnumerable, Fa = (n, e, t) => e in n ? Zd(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, vi = (n, e) => {
2647
2659
  for (var t in e || (e = {})) Kd.call(e, t) && Fa(n, t, e[t]);
2648
2660
  if (Ba) for (var t of Ba(e)) Qd.call(e, t) && Fa(n, t, e[t]);
2649
2661
  return n;
2650
2662
  };
2651
2663
  const Jd = (n, e) => {
2652
- const t = g.useContext(A), r = bi(bi({}, t), n);
2653
- return g.createElement("svg", bi({ width: "1.5em", height: "1.5em", viewBox: "0 0 24 24", strokeWidth: 1.5, fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M3 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
2664
+ const t = g.useContext(A), r = vi(vi({}, t), n);
2665
+ return g.createElement("svg", vi({ width: "1.5em", height: "1.5em", viewBox: "0 0 24 24", strokeWidth: 1.5, fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M3 12L21 12M21 12L12.5 3.5M21 12L12.5 20.5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
2654
2666
  }, ep = R(Jd);
2655
2667
  var tp = ep, rp = Object.defineProperty, Va = Object.getOwnPropertySymbols, np = Object.prototype.hasOwnProperty, op = Object.prototype.propertyIsEnumerable, Wa = (n, e, t) => e in n ? rp(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, yi = (n, e) => {
2656
2668
  for (var t in e || (e = {})) np.call(e, t) && Wa(n, t, e[t]);
@@ -2678,8 +2690,8 @@ var pp = dp, hp = Object.defineProperty, Ga = Object.getOwnPropertySymbols, gp =
2678
2690
  const _p = (n, e) => {
2679
2691
  const t = g.useContext(A), r = xi(xi({}, t), n);
2680
2692
  return g.createElement("svg", xi({ width: "1.5em", height: "1.5em", strokeWidth: 1.5, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M18 8.4C18 6.70261 17.3679 5.07475 16.2426 3.87452C15.1174 2.67428 13.5913 2 12 2C10.4087 2 8.88258 2.67428 7.75736 3.87452C6.63214 5.07475 6 6.70261 6 8.4C6 15.8667 3 18 3 18H21C21 18 18 15.8667 18 8.4Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), g.createElement("path", { d: "M13.73 21C13.5542 21.3031 13.3019 21.5547 12.9982 21.7295C12.6946 21.9044 12.3504 21.9965 12 21.9965C11.6496 21.9965 11.3054 21.9044 11.0018 21.7295C10.6982 21.5547 10.4458 21.3031 10.27 21", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
2681
- }, vp = R(_p);
2682
- var bp = vp, yp = Object.defineProperty, Ua = Object.getOwnPropertySymbols, wp = Object.prototype.hasOwnProperty, xp = Object.prototype.propertyIsEnumerable, qa = (n, e, t) => e in n ? yp(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Ci = (n, e) => {
2693
+ }, bp = R(_p);
2694
+ var vp = bp, yp = Object.defineProperty, Ua = Object.getOwnPropertySymbols, wp = Object.prototype.hasOwnProperty, xp = Object.prototype.propertyIsEnumerable, qa = (n, e, t) => e in n ? yp(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Ci = (n, e) => {
2683
2695
  for (var t in e || (e = {})) wp.call(e, t) && qa(n, t, e[t]);
2684
2696
  if (Ua) for (var t of Ua(e)) xp.call(e, t) && qa(n, t, e[t]);
2685
2697
  return n;
@@ -2759,8 +2771,8 @@ var ph = dh, hh = Object.defineProperty, ul = Object.getOwnPropertySymbols, gh =
2759
2771
  const _h = (n, e) => {
2760
2772
  const t = g.useContext(A), r = Si(Si({}, t), n);
2761
2773
  return g.createElement("svg", Si({ width: "1.5em", height: "1.5em", viewBox: "0 0 24 24", strokeWidth: 1.5, fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M19.5 16L17.0248 12.6038", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), g.createElement("path", { d: "M12 17.5V14", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), g.createElement("path", { d: "M4.5 16L6.96895 12.6124", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), g.createElement("path", { d: "M3 8C6.6 16 17.4 16 21 8", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
2762
- }, vh = R(_h);
2763
- var bh = vh, yh = Object.defineProperty, dl = Object.getOwnPropertySymbols, wh = Object.prototype.hasOwnProperty, xh = Object.prototype.propertyIsEnumerable, pl = (n, e, t) => e in n ? yh(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Ti = (n, e) => {
2774
+ }, bh = R(_h);
2775
+ var vh = bh, yh = Object.defineProperty, dl = Object.getOwnPropertySymbols, wh = Object.prototype.hasOwnProperty, xh = Object.prototype.propertyIsEnumerable, pl = (n, e, t) => e in n ? yh(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Ti = (n, e) => {
2764
2776
  for (var t in e || (e = {})) wh.call(e, t) && pl(n, t, e[t]);
2765
2777
  if (dl) for (var t of dl(e)) xh.call(e, t) && pl(n, t, e[t]);
2766
2778
  return n;
@@ -2787,9 +2799,9 @@ const Ah = (n, e) => {
2787
2799
  const t = g.useContext(A), r = Ri(Ri({}, t), n);
2788
2800
  return g.createElement("svg", Ri({ width: "1.5em", height: "1.5em", strokeWidth: 1.5, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M2 11V4.6C2 4.26863 2.26863 4 2.6 4H8.77805C8.92127 4 9.05977 4.05124 9.16852 4.14445L12.3315 6.85555C12.4402 6.94876 12.5787 7 12.722 7H21.4C21.7314 7 22 7.26863 22 7.6V11M2 11V19.4C2 19.7314 2.26863 20 2.6 20H21.4C21.7314 20 22 19.7314 22 19.4V11M2 11H22", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
2789
2801
  }, Dh = R(Ah);
2790
- var Nh = Dh, zh = Object.defineProperty, vl = Object.getOwnPropertySymbols, Ih = Object.prototype.hasOwnProperty, Bh = Object.prototype.propertyIsEnumerable, bl = (n, e, t) => e in n ? zh(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Ai = (n, e) => {
2791
- for (var t in e || (e = {})) Ih.call(e, t) && bl(n, t, e[t]);
2792
- if (vl) for (var t of vl(e)) Bh.call(e, t) && bl(n, t, e[t]);
2802
+ var Nh = Dh, zh = Object.defineProperty, bl = Object.getOwnPropertySymbols, Ih = Object.prototype.hasOwnProperty, Bh = Object.prototype.propertyIsEnumerable, vl = (n, e, t) => e in n ? zh(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Ai = (n, e) => {
2803
+ for (var t in e || (e = {})) Ih.call(e, t) && vl(n, t, e[t]);
2804
+ if (bl) for (var t of bl(e)) Bh.call(e, t) && vl(n, t, e[t]);
2793
2805
  return n;
2794
2806
  };
2795
2807
  const Fh = (n, e) => {
@@ -2840,8 +2852,8 @@ var p1 = d1, h1 = Object.defineProperty, El = Object.getOwnPropertySymbols, g1 =
2840
2852
  const _1 = (n, e) => {
2841
2853
  const t = g.useContext(A), r = Bi(Bi({}, t), n);
2842
2854
  return g.createElement("svg", Bi({ width: "1.5em", height: "1.5em", strokeWidth: 1.5, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M14 11.9976C14 9.5059 11.683 7 8.85714 7C8.52241 7 7.41904 7.00001 7.14286 7.00001C4.30254 7.00001 2 9.23752 2 11.9976C2 14.376 3.70973 16.3664 6 16.8714C6.36756 16.9525 6.75006 16.9952 7.14286 16.9952", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), g.createElement("path", { d: "M10 11.9976C10 14.4893 12.317 16.9952 15.1429 16.9952C15.4776 16.9952 16.581 16.9952 16.8571 16.9952C19.6975 16.9952 22 14.7577 22 11.9976C22 9.6192 20.2903 7.62884 18 7.12383C17.6324 7.04278 17.2499 6.99999 16.8571 6.99999", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
2843
- }, v1 = R(_1);
2844
- var b1 = v1, y1 = Object.defineProperty, Pl = Object.getOwnPropertySymbols, w1 = Object.prototype.hasOwnProperty, x1 = Object.prototype.propertyIsEnumerable, Sl = (n, e, t) => e in n ? y1(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Fi = (n, e) => {
2855
+ }, b1 = R(_1);
2856
+ var v1 = b1, y1 = Object.defineProperty, Pl = Object.getOwnPropertySymbols, w1 = Object.prototype.hasOwnProperty, x1 = Object.prototype.propertyIsEnumerable, Sl = (n, e, t) => e in n ? y1(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Fi = (n, e) => {
2845
2857
  for (var t in e || (e = {})) w1.call(e, t) && Sl(n, t, e[t]);
2846
2858
  if (Pl) for (var t of Pl(e)) x1.call(e, t) && Sl(n, t, e[t]);
2847
2859
  return n;
@@ -2921,8 +2933,8 @@ var p0 = d0, h0 = Object.defineProperty, Gl = Object.getOwnPropertySymbols, g0 =
2921
2933
  const _0 = (n, e) => {
2922
2934
  const t = g.useContext(A), r = qi(qi({}, t), n);
2923
2935
  return g.createElement("svg", qi({ width: "1.5em", height: "1.5em", strokeWidth: 1.5, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M6 9L12 15L18 9", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
2924
- }, v0 = R(_0);
2925
- var b0 = v0, y0 = Object.defineProperty, Ul = Object.getOwnPropertySymbols, w0 = Object.prototype.hasOwnProperty, x0 = Object.prototype.propertyIsEnumerable, ql = (n, e, t) => e in n ? y0(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Zi = (n, e) => {
2936
+ }, b0 = R(_0);
2937
+ var v0 = b0, y0 = Object.defineProperty, Ul = Object.getOwnPropertySymbols, w0 = Object.prototype.hasOwnProperty, x0 = Object.prototype.propertyIsEnumerable, ql = (n, e, t) => e in n ? y0(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, Zi = (n, e) => {
2926
2938
  for (var t in e || (e = {})) w0.call(e, t) && ql(n, t, e[t]);
2927
2939
  if (Ul) for (var t of Ul(e)) x0.call(e, t) && ql(n, t, e[t]);
2928
2940
  return n;
@@ -3002,8 +3014,8 @@ var pg = dg, hg = Object.defineProperty, uc = Object.getOwnPropertySymbols, gg =
3002
3014
  const _g = (n, e) => {
3003
3015
  const t = g.useContext(A), r = os(os({}, t), n);
3004
3016
  return g.createElement("svg", os({ width: "1.5em", height: "1.5em", strokeWidth: 1.5, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), g.createElement("path", { d: "M19.6224 10.3954L18.5247 7.7448L20 6L18 4L16.2647 5.48295L13.5578 4.36974L12.9353 2H10.981L10.3491 4.40113L7.70441 5.51596L6 4L4 6L5.45337 7.78885L4.3725 10.4463L2 11V13L4.40111 13.6555L5.51575 16.2997L4 18L6 20L7.79116 18.5403L10.397 19.6123L11 22H13L13.6045 19.6132L16.2551 18.5155C16.6969 18.8313 18 20 18 20L20 18L18.5159 16.2494L19.6139 13.598L21.9999 12.9772L22 11L19.6224 10.3954Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
3005
- }, vg = R(_g);
3006
- var bg = vg, yg = Object.defineProperty, dc = Object.getOwnPropertySymbols, wg = Object.prototype.hasOwnProperty, xg = Object.prototype.propertyIsEnumerable, pc = (n, e, t) => e in n ? yg(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, is = (n, e) => {
3017
+ }, bg = R(_g);
3018
+ var vg = bg, yg = Object.defineProperty, dc = Object.getOwnPropertySymbols, wg = Object.prototype.hasOwnProperty, xg = Object.prototype.propertyIsEnumerable, pc = (n, e, t) => e in n ? yg(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, is = (n, e) => {
3007
3019
  for (var t in e || (e = {})) wg.call(e, t) && pc(n, t, e[t]);
3008
3020
  if (dc) for (var t of dc(e)) xg.call(e, t) && pc(n, t, e[t]);
3009
3021
  return n;
@@ -3030,9 +3042,9 @@ const Ag = (n, e) => {
3030
3042
  const t = g.useContext(A), r = as(as({}, t), n);
3031
3043
  return g.createElement("svg", as({ width: "1.5em", height: "1.5em", strokeWidth: 1.5, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M8.58737 8.23597L11.1849 3.00376C11.5183 2.33208 12.4817 2.33208 12.8151 3.00376L15.4126 8.23597L21.2215 9.08017C21.9668 9.18848 22.2638 10.0994 21.7243 10.6219L17.5217 14.6918L18.5135 20.4414C18.6409 21.1798 17.8614 21.7428 17.1945 21.3941L12 18.678L6.80547 21.3941C6.1386 21.7428 5.35909 21.1798 5.48645 20.4414L6.47825 14.6918L2.27575 10.6219C1.73617 10.0994 2.03322 9.18848 2.77852 9.08017L8.58737 8.23597Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }));
3032
3044
  }, Dg = R(Ag);
3033
- var Ng = Dg, zg = Object.defineProperty, vc = Object.getOwnPropertySymbols, Ig = Object.prototype.hasOwnProperty, Bg = Object.prototype.propertyIsEnumerable, bc = (n, e, t) => e in n ? zg(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, ls = (n, e) => {
3034
- for (var t in e || (e = {})) Ig.call(e, t) && bc(n, t, e[t]);
3035
- if (vc) for (var t of vc(e)) Bg.call(e, t) && bc(n, t, e[t]);
3045
+ var Ng = Dg, zg = Object.defineProperty, bc = Object.getOwnPropertySymbols, Ig = Object.prototype.hasOwnProperty, Bg = Object.prototype.propertyIsEnumerable, vc = (n, e, t) => e in n ? zg(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, ls = (n, e) => {
3046
+ for (var t in e || (e = {})) Ig.call(e, t) && vc(n, t, e[t]);
3047
+ if (bc) for (var t of bc(e)) Bg.call(e, t) && vc(n, t, e[t]);
3036
3048
  return n;
3037
3049
  };
3038
3050
  const Fg = (n, e) => {
@@ -3083,8 +3095,8 @@ var pm = dm, hm = Object.defineProperty, Ec = Object.getOwnPropertySymbols, gm =
3083
3095
  const _m = (n, e) => {
3084
3096
  const t = g.useContext(A), r = ps(ps({}, t), n);
3085
3097
  return g.createElement("svg", ps({ width: "1.5em", height: "1.5em", strokeWidth: 1.5, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", color: "currentColor", ref: e }, r), g.createElement("path", { d: "M14 20.4V14.6C14 14.2686 14.2686 14 14.6 14H20.4C20.7314 14 21 14.2686 21 14.6V20.4C21 20.7314 20.7314 21 20.4 21H14.6C14.2686 21 14 20.7314 14 20.4Z", stroke: "currentColor" }), g.createElement("path", { d: "M3 20.4V14.6C3 14.2686 3.26863 14 3.6 14H9.4C9.73137 14 10 14.2686 10 14.6V20.4C10 20.7314 9.73137 21 9.4 21H3.6C3.26863 21 3 20.7314 3 20.4Z", stroke: "currentColor" }), g.createElement("path", { d: "M14 9.4V3.6C14 3.26863 14.2686 3 14.6 3H20.4C20.7314 3 21 3.26863 21 3.6V9.4C21 9.73137 20.7314 10 20.4 10H14.6C14.2686 10 14 9.73137 14 9.4Z", stroke: "currentColor" }), g.createElement("path", { d: "M3 9.4V3.6C3 3.26863 3.26863 3 3.6 3H9.4C9.73137 3 10 3.26863 10 3.6V9.4C10 9.73137 9.73137 10 9.4 10H3.6C3.26863 10 3 9.73137 3 9.4Z", stroke: "currentColor" }));
3086
- }, vm = R(_m);
3087
- var bm = vm, ym = Object.defineProperty, Pc = Object.getOwnPropertySymbols, wm = Object.prototype.hasOwnProperty, xm = Object.prototype.propertyIsEnumerable, Sc = (n, e, t) => e in n ? ym(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, hs = (n, e) => {
3098
+ }, bm = R(_m);
3099
+ var vm = bm, ym = Object.defineProperty, Pc = Object.getOwnPropertySymbols, wm = Object.prototype.hasOwnProperty, xm = Object.prototype.propertyIsEnumerable, Sc = (n, e, t) => e in n ? ym(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, hs = (n, e) => {
3088
3100
  for (var t in e || (e = {})) wm.call(e, t) && Sc(n, t, e[t]);
3089
3101
  if (Pc) for (var t of Pc(e)) xm.call(e, t) && Sc(n, t, e[t]);
3090
3102
  return n;
@@ -3119,7 +3131,7 @@ const zm = {
3119
3131
  "arrow-down": Wd,
3120
3132
  "chevron-right": S0,
3121
3133
  "chevron-left": O0,
3122
- "chevron-down": b0,
3134
+ "chevron-down": v0,
3123
3135
  "chevron-up": N0,
3124
3136
  check: Np,
3125
3137
  x: Nm,
@@ -3135,31 +3147,31 @@ const zm = {
3135
3147
  sparkles: Sg,
3136
3148
  plus: tg,
3137
3149
  minus: t0,
3138
- settings: bg,
3150
+ settings: vg,
3139
3151
  user: pm,
3140
3152
  heart: t1,
3141
3153
  star: Ng,
3142
3154
  mail: W1,
3143
3155
  calendar: Op,
3144
3156
  clock: Wp,
3145
- bell: bp,
3157
+ bell: vp,
3146
3158
  home: a1,
3147
3159
  folder: Nh,
3148
3160
  file: q0,
3149
3161
  trash: tm,
3150
3162
  edit: ph,
3151
3163
  eye: Oh,
3152
- "eye-off": bh,
3164
+ "eye-off": vh,
3153
3165
  lock: N1,
3154
3166
  unlock: S1,
3155
- link: b1,
3167
+ link: v1,
3156
3168
  "external-link": W0,
3157
3169
  download: ah,
3158
3170
  upload: am,
3159
3171
  refresh: ag,
3160
3172
  filter: Sh,
3161
3173
  sort: Og,
3162
- grid: bm,
3174
+ grid: vm,
3163
3175
  list: O1,
3164
3176
  "more-horizontal": a0,
3165
3177
  "more-vertical": p0,
@@ -3287,6 +3299,7 @@ function F_({
3287
3299
  strokeLinecap: "round",
3288
3300
  strokeLinejoin: "round",
3289
3301
  className: H("transition-transform duration-300", t),
3302
+ "aria-hidden": "true",
3290
3303
  ...r,
3291
3304
  children: [
3292
3305
  /* @__PURE__ */ L(
@@ -3518,7 +3531,7 @@ function Y_({
3518
3531
  const i = [
3519
3532
  "rounded-2xl",
3520
3533
  "border",
3521
- "transition-all duration-300 ease-out"
3534
+ "transition-[background-color,border-color] duration-300 ease-out"
3522
3535
  ], s = {
3523
3536
  default: [
3524
3537
  "bg-transparent",
@@ -3534,7 +3547,8 @@ function Y_({
3534
3547
  "border-[var(--glass-border)]",
3535
3548
  "hover:border-[var(--glass-highlight)]",
3536
3549
  "hover:bg-[var(--glass-bg)]",
3537
- "cursor-pointer"
3550
+ "cursor-pointer",
3551
+ "gradient-border shine-sweep"
3538
3552
  ]
3539
3553
  }, a = {
3540
3554
  none: "",
@@ -3604,7 +3618,7 @@ const Jo = R(
3604
3618
  ({ variant: n = "default", isActive: e = !1, children: t, className: r, ...o }, i) => /* @__PURE__ */ L("a", { ref: i, className: H([
3605
3619
  "inline-flex items-center",
3606
3620
  "text-sm font-normal",
3607
- "transition-all duration-200 ease-out",
3621
+ "transition-[color,background-color,border-color,transform] duration-200 ease-out",
3608
3622
  "focus-ring"
3609
3623
  ], {
3610
3624
  default: [
@@ -3634,11 +3648,11 @@ function K_({
3634
3648
  className: o,
3635
3649
  ...i
3636
3650
  }) {
3637
- const [s, a] = zn(!1), l = Pn(async () => {
3651
+ const [s, a] = zn(!1), l = ln(async () => {
3638
3652
  try {
3639
3653
  await navigator.clipboard.writeText(n), a(!0), r == null || r(), setTimeout(() => a(!1), 2e3);
3640
- } catch (d) {
3641
- console.error("Failed to copy:", d);
3654
+ } catch (p) {
3655
+ console.error("Failed to copy:", p);
3642
3656
  }
3643
3657
  }, [n, r]);
3644
3658
  return /* @__PURE__ */ le("div", { className: H([
@@ -3647,7 +3661,7 @@ function K_({
3647
3661
  "rounded-xl",
3648
3662
  "border",
3649
3663
  "backdrop-blur-lg",
3650
- "transition-all duration-200"
3664
+ "transition-[background-color,border-color] duration-200"
3651
3665
  ], {
3652
3666
  default: [
3653
3667
  "bg-[rgba(255,255,255,0.03)]",
@@ -3662,22 +3676,25 @@ function K_({
3662
3676
  ]
3663
3677
  }[e], o), ...i, children: [
3664
3678
  /* @__PURE__ */ L("code", { className: "text-sm font-mono text-[var(--color-grey-300)] truncate", children: n }),
3665
- t && /* @__PURE__ */ L(
3666
- "button",
3667
- {
3668
- type: "button",
3669
- onClick: l,
3670
- className: H(
3671
- "flex-shrink-0",
3672
- "p-2 rounded-lg",
3673
- "transition-all duration-200",
3674
- "hover:scale-105 active:scale-92",
3675
- s ? "bg-[var(--color-sage)] text-[var(--color-bg)]" : "bg-[rgba(255,255,255,0.1)] text-[var(--color-grey-400)] hover:bg-[rgba(255,255,255,0.15)] hover:text-[var(--color-white)]"
3676
- ),
3677
- "aria-label": s ? "Copied!" : "Copy to clipboard",
3678
- children: /* @__PURE__ */ L($u, { name: s ? "check" : "copy", size: "sm" })
3679
- }
3680
- )
3679
+ t && /* @__PURE__ */ le(ro, { children: [
3680
+ /* @__PURE__ */ L(
3681
+ "button",
3682
+ {
3683
+ type: "button",
3684
+ onClick: l,
3685
+ className: H(
3686
+ "flex-shrink-0",
3687
+ "p-2 rounded-lg",
3688
+ "transition-[background-color,color,transform] duration-200",
3689
+ "hover:scale-105 active:scale-92",
3690
+ s ? "bg-[var(--color-sage)] text-[var(--color-bg)]" : "bg-[rgba(255,255,255,0.1)] text-[var(--color-grey-400)] hover:bg-[rgba(255,255,255,0.15)] hover:text-[var(--color-white)]"
3691
+ ),
3692
+ "aria-label": s ? "Copied!" : "Copy to clipboard",
3693
+ children: /* @__PURE__ */ L($u, { name: s ? "check" : "copy", size: "sm" })
3694
+ }
3695
+ ),
3696
+ /* @__PURE__ */ L("span", { className: "sr-only", role: "status", "aria-live": "polite", children: s ? "Copied to clipboard" : "" })
3697
+ ] })
3681
3698
  ] });
3682
3699
  }
3683
3700
  function Dc({
@@ -3728,19 +3745,36 @@ function Xm({
3728
3745
  width: r = "280px",
3729
3746
  position: o = "right",
3730
3747
  zIndex: i = 50,
3731
- className: s,
3732
- ...a
3748
+ ariaLabel: s = "Navigation menu",
3749
+ className: a,
3750
+ ...l
3733
3751
  }) {
3734
- jt(() => (n ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
3752
+ const c = ir(null), u = ir(null);
3753
+ mt(() => (n ? document.body.style.overflow = "hidden" : document.body.style.overflow = "", () => {
3735
3754
  document.body.style.overflow = "";
3736
- }), [n]), jt(() => {
3737
- const u = (d) => {
3755
+ }), [n]), mt(() => {
3756
+ const m = (d) => {
3738
3757
  d.key === "Escape" && n && e();
3739
3758
  };
3740
- return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u);
3741
- }, [n, e]);
3742
- const l = o === "right" ? n ? "translate-x-0" : "translate-x-full" : n ? "translate-x-0" : "-translate-x-full", c = o === "right" ? "right-0" : "left-0";
3743
- return /* @__PURE__ */ le(ro, { children: [
3759
+ return document.addEventListener("keydown", m), () => document.removeEventListener("keydown", m);
3760
+ }, [n, e]), mt(() => {
3761
+ var m;
3762
+ if (n) {
3763
+ u.current = document.activeElement;
3764
+ const d = (m = c.current) == null ? void 0 : m.querySelector(
3765
+ 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'
3766
+ );
3767
+ d == null || d.focus();
3768
+ } else u.current && (u.current.focus(), u.current = null);
3769
+ }, [n]);
3770
+ const p = ln((m) => {
3771
+ if (m.key !== "Tab" || !c.current) return;
3772
+ const d = c.current.querySelectorAll(
3773
+ 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'
3774
+ ), _ = d[0], v = d[d.length - 1];
3775
+ m.shiftKey && document.activeElement === _ ? (m.preventDefault(), v == null || v.focus()) : !m.shiftKey && document.activeElement === v && (m.preventDefault(), _ == null || _.focus());
3776
+ }, []), h = o === "right" ? n ? "translate-x-0" : "translate-x-full" : n ? "translate-x-0" : "-translate-x-full", f = o === "right" ? "right-0" : "left-0";
3777
+ return /* @__PURE__ */ le("div", { className: a, children: [
3744
3778
  /* @__PURE__ */ L(
3745
3779
  "div",
3746
3780
  {
@@ -3750,27 +3784,31 @@ function Xm({
3750
3784
  ),
3751
3785
  style: { zIndex: i },
3752
3786
  onClick: e,
3753
- "aria-hidden": !n
3787
+ "aria-hidden": "true"
3754
3788
  }
3755
3789
  ),
3756
3790
  /* @__PURE__ */ L(
3757
3791
  "div",
3758
3792
  {
3793
+ ref: c,
3794
+ role: "dialog",
3795
+ "aria-modal": n,
3796
+ "aria-label": s,
3797
+ "aria-hidden": !n,
3759
3798
  className: H(
3760
- "fixed top-0 h-full bg-[var(--color-bg,#0a0a0a)] border-[var(--glass-border,rgba(255,255,255,0.1))]",
3799
+ "mobile-menu-drawer",
3800
+ "fixed top-0 h-full",
3761
3801
  "transition-transform duration-300 ease-out",
3762
- l,
3763
- c,
3764
- o === "right" ? "border-l" : "border-r",
3765
- s
3802
+ h,
3803
+ f
3766
3804
  ),
3767
3805
  style: {
3768
3806
  width: r,
3769
3807
  maxWidth: "80vw",
3770
3808
  zIndex: i + 1
3771
3809
  },
3772
- "aria-hidden": !n,
3773
- ...a,
3810
+ onKeyDown: p,
3811
+ ...l,
3774
3812
  children: t
3775
3813
  }
3776
3814
  )
@@ -3894,7 +3932,7 @@ function J_({
3894
3932
  }
3895
3933
  );
3896
3934
  }
3897
- function ev({
3935
+ function eb({
3898
3936
  logo: n,
3899
3937
  logoHref: e = "/",
3900
3938
  items: t = [],
@@ -3905,9 +3943,9 @@ function ev({
3905
3943
  className: a,
3906
3944
  ...l
3907
3945
  }) {
3908
- const [c, u] = zn(!1), d = Pn(() => {
3946
+ const [c, u] = zn(!1), p = ln(() => {
3909
3947
  u((f) => !f);
3910
- }, []), h = Pn(() => {
3948
+ }, []), h = ln(() => {
3911
3949
  u(!1);
3912
3950
  }, []);
3913
3951
  return /* @__PURE__ */ le(ro, { children: [
@@ -3949,8 +3987,8 @@ function ev({
3949
3987
  /* @__PURE__ */ L(
3950
3988
  "button",
3951
3989
  {
3952
- onClick: d,
3953
- className: "md:hidden p-2 min-w-[44px] min-h-[44px] flex items-center justify-center rounded-lg transition-all duration-200 hover:opacity-70",
3990
+ onClick: p,
3991
+ className: "md:hidden p-2 min-w-[44px] min-h-[44px] flex items-center justify-center rounded-lg transition-opacity duration-200 hover:opacity-70",
3954
3992
  style: { color: "var(--color-grey-200)" },
3955
3993
  "aria-label": c ? "Close menu" : "Open menu",
3956
3994
  "aria-expanded": c,
@@ -3967,6 +4005,7 @@ function ev({
3967
4005
  strokeLinecap: "round",
3968
4006
  strokeLinejoin: "round",
3969
4007
  className: "transition-transform duration-300",
4008
+ "aria-hidden": "true",
3970
4009
  children: c ? /* @__PURE__ */ le(ro, { children: [
3971
4010
  /* @__PURE__ */ L("path", { d: "M18 6L6 18" }),
3972
4011
  /* @__PURE__ */ L("path", { d: "M6 6l12 12" })
@@ -4026,6 +4065,7 @@ function ev({
4026
4065
  strokeLinecap: "round",
4027
4066
  strokeLinejoin: "round",
4028
4067
  className: "ml-2 opacity-50",
4068
+ "aria-hidden": "true",
4029
4069
  children: [
4030
4070
  /* @__PURE__ */ L("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" }),
4031
4071
  /* @__PURE__ */ L("polyline", { points: "15 3 21 3 21 9" }),
@@ -4047,7 +4087,7 @@ function ev({
4047
4087
  )
4048
4088
  ] });
4049
4089
  }
4050
- function tv({
4090
+ function tb({
4051
4091
  logo: n,
4052
4092
  description: e,
4053
4093
  sections: t = [],
@@ -4101,7 +4141,7 @@ function tv({
4101
4141
  }
4102
4142
  );
4103
4143
  }
4104
- function rv({
4144
+ function rb({
4105
4145
  badge: n,
4106
4146
  title: e,
4107
4147
  description: t,
@@ -4173,15 +4213,15 @@ function rv({
4173
4213
  "animate-in"
4174
4214
  ),
4175
4215
  style: { animationDelay: "0.3s" },
4176
- children: r.map((d, h) => /* @__PURE__ */ L(
4216
+ children: r.map((p, h) => /* @__PURE__ */ L(
4177
4217
  Ou,
4178
4218
  {
4179
- variant: d.variant || (h === 0 ? "primary" : "secondary"),
4219
+ variant: p.variant || (h === 0 ? "primary" : "secondary"),
4180
4220
  size: "lg",
4181
4221
  asChild: !0,
4182
- children: /* @__PURE__ */ L("a", { href: d.href, children: d.label })
4222
+ children: /* @__PURE__ */ L("a", { href: p.href, children: p.label })
4183
4223
  },
4184
- d.href
4224
+ p.href
4185
4225
  ))
4186
4226
  }
4187
4227
  )
@@ -4191,7 +4231,7 @@ function rv({
4191
4231
  }
4192
4232
  );
4193
4233
  }
4194
- function nv({
4234
+ function nb({
4195
4235
  children: n,
4196
4236
  size: e = "md",
4197
4237
  spacing: t = "md",
@@ -4204,22 +4244,22 @@ function nv({
4204
4244
  md: "max-w-5xl",
4205
4245
  lg: "max-w-7xl",
4206
4246
  full: "max-w-none"
4207
- };
4247
+ }, a = {
4248
+ none: "py-0",
4249
+ sm: "py-12 md:py-16",
4250
+ md: "py-16 md:py-24",
4251
+ lg: "py-24 md:py-32"
4252
+ }, l = !!i.id;
4208
4253
  return /* @__PURE__ */ L(
4209
4254
  "section",
4210
4255
  {
4211
- className: H({
4212
- none: "py-0",
4213
- sm: "py-12 md:py-16",
4214
- md: "py-16 md:py-24",
4215
- lg: "py-24 md:py-32"
4216
- }[t], o),
4256
+ className: H(a[t], l && "scroll-mt-20", o),
4217
4257
  ...i,
4218
4258
  children: r ? /* @__PURE__ */ L("div", { className: H("mx-auto px-6 md:px-10", s[e]), children: n }) : n
4219
4259
  }
4220
4260
  );
4221
4261
  }
4222
- function ov({
4262
+ function ob({
4223
4263
  title: n,
4224
4264
  description: e,
4225
4265
  align: t = "left",
@@ -4241,7 +4281,7 @@ function ov({
4241
4281
  }
4242
4282
  );
4243
4283
  }
4244
- function iv(n = {}) {
4284
+ function ib(n = {}) {
4245
4285
  const {
4246
4286
  defaultTheme: e = "dark",
4247
4287
  storageKey: t = "n3wth-theme",
@@ -4250,17 +4290,17 @@ function iv(n = {}) {
4250
4290
  if (typeof window > "u") return e;
4251
4291
  const l = localStorage.getItem(t);
4252
4292
  return l === "dark" || l === "light" ? l : window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : e;
4253
- }), s = Pn(
4293
+ }), s = ln(
4254
4294
  (l) => {
4255
4295
  i(l), typeof window < "u" && (localStorage.setItem(t, l), document.documentElement.setAttribute(r, l));
4256
4296
  },
4257
4297
  [t, r]
4258
- ), a = Pn(() => {
4298
+ ), a = ln(() => {
4259
4299
  s(o === "dark" ? "light" : "dark");
4260
4300
  }, [o, s]);
4261
- return jt(() => {
4301
+ return mt(() => {
4262
4302
  document.documentElement.setAttribute(r, o);
4263
- }, [r, o]), jt(() => {
4303
+ }, [r, o]), mt(() => {
4264
4304
  const l = window.matchMedia("(prefers-color-scheme: light)"), c = (u) => {
4265
4305
  localStorage.getItem(t) || s(u.matches ? "light" : "dark");
4266
4306
  };
@@ -4273,20 +4313,20 @@ function iv(n = {}) {
4273
4313
  isLight: o === "light"
4274
4314
  };
4275
4315
  }
4276
- function sv({
4316
+ function sb({
4277
4317
  shortcuts: n,
4278
4318
  enabled: e = !0
4279
4319
  }) {
4280
- const t = Dr(n);
4320
+ const t = ir(n);
4281
4321
  t.current = n;
4282
- const r = Pn(
4322
+ const r = ln(
4283
4323
  (o) => {
4284
4324
  if (!e) return;
4285
4325
  const i = o.target;
4286
4326
  if (!(i.tagName === "INPUT" || i.tagName === "TEXTAREA" || i.isContentEditable))
4287
4327
  for (const s of t.current) {
4288
- const a = o.key.toLowerCase() === s.key.toLowerCase(), l = s.ctrl ? o.ctrlKey : !o.ctrlKey, c = s.meta ? o.metaKey : !o.metaKey, u = s.shift ? o.shiftKey : !o.shiftKey, d = s.alt ? o.altKey : !o.altKey;
4289
- if (a && l && c && u && d) {
4328
+ const a = o.key.toLowerCase() === s.key.toLowerCase(), l = s.ctrl ? o.ctrlKey : !o.ctrlKey, c = s.meta ? o.metaKey : !o.metaKey, u = s.shift ? o.shiftKey : !o.shiftKey, p = s.alt ? o.altKey : !o.altKey;
4329
+ if (a && l && c && u && p) {
4290
4330
  o.preventDefault(), s.handler();
4291
4331
  return;
4292
4332
  }
@@ -4294,18 +4334,18 @@ function sv({
4294
4334
  },
4295
4335
  [e]
4296
4336
  );
4297
- jt(() => (window.addEventListener("keydown", r), () => window.removeEventListener("keydown", r)), [r]);
4337
+ mt(() => (window.addEventListener("keydown", r), () => window.removeEventListener("keydown", r)), [r]);
4298
4338
  }
4299
- function av() {
4339
+ function ab() {
4300
4340
  return typeof navigator > "u" ? "ctrl" : navigator.platform.toLowerCase().includes("mac") ? "meta" : "ctrl";
4301
4341
  }
4302
- function lv(n) {
4342
+ function lb(n) {
4303
4343
  const e = [], t = typeof navigator < "u" && navigator.platform.toLowerCase().includes("mac");
4304
4344
  return n.ctrl && e.push(t ? "^" : "Ctrl"), n.meta && e.push(t ? "⌘" : "Win"), n.alt && e.push(t ? "⌥" : "Alt"), n.shift && e.push(t ? "⇧" : "Shift"), e.push(n.key.toUpperCase()), e.join(t ? "" : "+");
4305
4345
  }
4306
- function cv() {
4346
+ function cb() {
4307
4347
  const [n, e] = zn(!1);
4308
- return jt(() => {
4348
+ return mt(() => {
4309
4349
  const t = window.matchMedia("(prefers-reduced-motion: reduce)");
4310
4350
  e(t.matches);
4311
4351
  const r = (o) => {
@@ -4316,7 +4356,7 @@ function cv() {
4316
4356
  }
4317
4357
  function oa(n) {
4318
4358
  const [e, t] = zn(!1);
4319
- return jt(() => {
4359
+ return mt(() => {
4320
4360
  const r = window.matchMedia(n);
4321
4361
  t(r.matches);
4322
4362
  const o = (i) => {
@@ -4325,16 +4365,16 @@ function oa(n) {
4325
4365
  return r.addEventListener("change", o), () => r.removeEventListener("change", o);
4326
4366
  }, [n]), e;
4327
4367
  }
4328
- function uv() {
4368
+ function ub() {
4329
4369
  return oa("(max-width: 767px)");
4330
4370
  }
4331
- function fv() {
4371
+ function fb() {
4332
4372
  return oa("(min-width: 768px) and (max-width: 1023px)");
4333
4373
  }
4334
- function dv() {
4374
+ function db() {
4335
4375
  return oa("(min-width: 1024px)");
4336
4376
  }
4337
- function dr(n) {
4377
+ function pr(n) {
4338
4378
  if (n === void 0)
4339
4379
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4340
4380
  return n;
@@ -4350,7 +4390,7 @@ function Lu(n, e) {
4350
4390
  * Subject to the terms at https://gsap.com/standard-license
4351
4391
  * @author: Jack Doyle, jack@greensock.com
4352
4392
  */
4353
- var Tt = {
4393
+ var jt = {
4354
4394
  autoSleep: 120,
4355
4395
  force3D: "auto",
4356
4396
  nullTargetWarn: 1,
@@ -4365,28 +4405,28 @@ var Tt = {
4365
4405
  return typeof e == "string";
4366
4406
  }, Ce = function(e) {
4367
4407
  return typeof e == "function";
4368
- }, _r = function(e) {
4408
+ }, br = function(e) {
4369
4409
  return typeof e == "number";
4370
4410
  }, sa = function(e) {
4371
4411
  return typeof e > "u";
4372
- }, ir = function(e) {
4412
+ }, sr = function(e) {
4373
4413
  return typeof e == "object";
4374
- }, mt = function(e) {
4414
+ }, _t = function(e) {
4375
4415
  return e !== !1;
4376
4416
  }, aa = function() {
4377
4417
  return typeof window < "u";
4378
4418
  }, So = function(e) {
4379
4419
  return Ce(e) || Fe(e);
4380
4420
  }, Mu = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
4381
- }, rt = Array.isArray, Qm = /random\([^)]+\)/g, Jm = /,\s*/g, Nc = /(?:-?\.?\d|\.)+/gi, Pu = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, yn = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, _s = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, Su = /[+-]=-?[.\d]+/, e2 = /[^,'"\[\]\s]+/gi, t2 = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, ve, Jt, Rs, la, Rt = {}, ei = {}, Tu, ju = function(e) {
4382
- return (ei = Tn(e, Rt)) && yt;
4421
+ }, rt = Array.isArray, Qm = /random\([^)]+\)/g, Jm = /,\s*/g, Nc = /(?:-?\.?\d|\.)+/gi, Pu = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, wn = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, _s = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, Su = /[+-]=-?[.\d]+/, e2 = /[^,'"\[\]\s]+/gi, t2 = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, be, Jt, Rs, la, Rt = {}, ei = {}, Tu, ju = function(e) {
4422
+ return (ei = Tn(e, Rt)) && wt;
4383
4423
  }, ca = function(e, t) {
4384
4424
  return console.warn("Invalid property", e, "set to", t, "Missing plugin? gsap.registerPlugin()");
4385
4425
  }, _o = function(e, t) {
4386
4426
  return !t && console.warn(e);
4387
4427
  }, Ru = function(e, t) {
4388
4428
  return e && (Rt[e] = t) && ei && (ei[e] = t) || Rt;
4389
- }, vo = function() {
4429
+ }, bo = function() {
4390
4430
  return 0;
4391
4431
  }, r2 = {
4392
4432
  suppressEvents: !0,
@@ -4397,9 +4437,9 @@ var Tt = {
4397
4437
  kill: !1
4398
4438
  }, n2 = {
4399
4439
  suppressEvents: !0
4400
- }, ua = {}, jr = [], As = {}, Au, $t = {}, vs = {}, zc = 30, Yo = [], fa = "", da = function(e) {
4440
+ }, ua = {}, Rr = [], As = {}, Au, Lt = {}, bs = {}, zc = 30, Yo = [], fa = "", da = function(e) {
4401
4441
  var t = e[0], r, o;
4402
- if (ir(t) || Ce(t) || (e = [e]), !(r = (t._gsap || {}).harness)) {
4442
+ if (sr(t) || Ce(t) || (e = [e]), !(r = (t._gsap || {}).harness)) {
4403
4443
  for (o = Yo.length; o-- && !Yo[o].targetTest(t); )
4404
4444
  ;
4405
4445
  r = Yo[o];
@@ -4411,13 +4451,13 @@ var Tt = {
4411
4451
  return e._gsap || da(Ft(e))[0]._gsap;
4412
4452
  }, Du = function(e, t, r) {
4413
4453
  return (r = e[t]) && Ce(r) ? e[t]() : sa(r) && e.getAttribute && e.getAttribute(t) || r;
4414
- }, _t = function(e, t) {
4454
+ }, bt = function(e, t) {
4415
4455
  return (e = e.split(",")).forEach(t) || e;
4416
4456
  }, Le = function(e) {
4417
4457
  return Math.round(e * 1e5) / 1e5 || 0;
4418
4458
  }, _e = function(e) {
4419
4459
  return Math.round(e * 1e7) / 1e7 || 0;
4420
- }, kn = function(e, t) {
4460
+ }, On = function(e, t) {
4421
4461
  var r = t.charAt(0), o = parseFloat(t.substr(2));
4422
4462
  return e = parseFloat(e), r === "+" ? e + o : r === "-" ? e - o : r === "*" ? e * o : e / o;
4423
4463
  }, o2 = function(e, t) {
@@ -4425,13 +4465,13 @@ var Tt = {
4425
4465
  ;
4426
4466
  return o < r;
4427
4467
  }, ti = function() {
4428
- var e = jr.length, t = jr.slice(0), r, o;
4429
- for (As = {}, jr.length = 0, r = 0; r < e; r++)
4468
+ var e = Rr.length, t = Rr.slice(0), r, o;
4469
+ for (As = {}, Rr.length = 0, r = 0; r < e; r++)
4430
4470
  o = t[r], o && o._lazy && (o.render(o._lazy[0], o._lazy[1], !0)._lazy = 0);
4431
4471
  }, pa = function(e) {
4432
4472
  return !!(e._initted || e._startAt || e.add);
4433
4473
  }, Nu = function(e, t, r, o) {
4434
- jr.length && !Ge && ti(), e.render(t, r, !!(Ge && t < 0 && pa(e))), jr.length && !Ge && ti();
4474
+ Rr.length && !Ge && ti(), e.render(t, r, !!(Ge && t < 0 && pa(e))), Rr.length && !Ge && ti();
4435
4475
  }, zu = function(e) {
4436
4476
  var t = parseFloat(e);
4437
4477
  return (t || t === 0) && (e + "").match(e2).length < 2 ? t : Fe(e) ? e.trim() : e;
@@ -4452,7 +4492,7 @@ var Tt = {
4452
4492
  return e;
4453
4493
  }, Ic = function n(e, t) {
4454
4494
  for (var r in t)
4455
- r !== "__proto__" && r !== "constructor" && r !== "prototype" && (e[r] = ir(t[r]) ? n(e[r] || (e[r] = {}), t[r]) : t[r]);
4495
+ r !== "__proto__" && r !== "constructor" && r !== "prototype" && (e[r] = sr(t[r]) ? n(e[r] || (e[r] = {}), t[r]) : t[r]);
4456
4496
  return e;
4457
4497
  }, ri = function(e, t) {
4458
4498
  var r = {}, o;
@@ -4460,8 +4500,8 @@ var Tt = {
4460
4500
  o in t || (r[o] = e[o]);
4461
4501
  return r;
4462
4502
  }, no = function(e) {
4463
- var t = e.parent || ve, r = e.keyframes ? i2(rt(e.keyframes)) : At;
4464
- if (mt(e.inherit))
4503
+ var t = e.parent || be, r = e.keyframes ? i2(rt(e.keyframes)) : At;
4504
+ if (_t(e.inherit))
4465
4505
  for (; t; )
4466
4506
  r(e, t.vars.defaults), t = t.parent || t._dp;
4467
4507
  return e;
@@ -4515,14 +4555,14 @@ var Tt = {
4515
4555
  e._zTime = -fe;
4516
4556
  }
4517
4557
  }, tr = function(e, t, r, o) {
4518
- return t.parent && Nr(t), t._start = _e((_r(r) ? r : r || e !== ve ? Nt(e, r, t) : e._time) + t._delay), t._end = _e(t._start + (t.totalDuration() / Math.abs(t.timeScale()) || 0)), Bu(e, t, "_first", "_last", e._sort ? "_start" : 0), Ns(t) || (e._recent = t), o || Fu(e, t), e._ts < 0 && pi(e, e._tTime), e;
4558
+ return t.parent && Nr(t), t._start = _e((br(r) ? r : r || e !== be ? Nt(e, r, t) : e._time) + t._delay), t._end = _e(t._start + (t.totalDuration() / Math.abs(t.timeScale()) || 0)), Bu(e, t, "_first", "_last", e._sort ? "_start" : 0), Ns(t) || (e._recent = t), o || Fu(e, t), e._ts < 0 && pi(e, e._tTime), e;
4519
4559
  }, Vu = function(e, t) {
4520
4560
  return (Rt.ScrollTrigger || ca("scrollTrigger", t)) && Rt.ScrollTrigger.create(t, e);
4521
4561
  }, Wu = function(e, t, r, o, i) {
4522
4562
  if (ga(e, t, i), !e._initted)
4523
4563
  return 1;
4524
- if (!r && e._pt && !Ge && (e._dur && e.vars.lazy !== !1 || !e._dur && e.vars.lazy) && Au !== Et.frame)
4525
- return jr.push(e), e._lazy = [i, o], 1;
4564
+ if (!r && e._pt && !Ge && (e._dur && e.vars.lazy !== !1 || !e._dur && e.vars.lazy) && Au !== Mt.frame)
4565
+ return Rr.push(e), e._lazy = [i, o], 1;
4526
4566
  }, c2 = function n(e) {
4527
4567
  var t = e.parent;
4528
4568
  return t && t._ts && t._initted && !t._lock && (t.rawTime() < 0 || n(t));
@@ -4530,13 +4570,13 @@ var Tt = {
4530
4570
  var t = e.data;
4531
4571
  return t === "isFromStart" || t === "isStart";
4532
4572
  }, u2 = function(e, t, r, o) {
4533
- var i = e.ratio, s = t < 0 || !t && (!e._start && c2(e) && !(!e._initted && Ns(e)) || (e._ts < 0 || e._dp._ts < 0) && !Ns(e)) ? 0 : 1, a = e._rDelay, l = 0, c, u, d;
4573
+ var i = e.ratio, s = t < 0 || !t && (!e._start && c2(e) && !(!e._initted && Ns(e)) || (e._ts < 0 || e._dp._ts < 0) && !Ns(e)) ? 0 : 1, a = e._rDelay, l = 0, c, u, p;
4534
4574
  if (a && e._repeat && (l = $o(0, e._tDur, t), u = jn(l, a), e._yoyo && u & 1 && (s = 1 - s), u !== jn(e._tTime, a) && (i = 1 - s, e.vars.repeatRefresh && e._initted && e.invalidate())), s !== i || Ge || o || e._zTime === fe || !t && e._zTime) {
4535
4575
  if (!e._initted && Wu(e, t, o, r, l))
4536
4576
  return;
4537
- for (d = e._zTime, e._zTime = t || (r ? fe : 0), r || (r = t && !d), e.ratio = s, e._from && (s = 1 - s), e._time = 0, e._tTime = l, c = e._pt; c; )
4577
+ for (p = e._zTime, e._zTime = t || (r ? fe : 0), r || (r = t && !p), e.ratio = s, e._from && (s = 1 - s), e._time = 0, e._tTime = l, c = e._pt; c; )
4538
4578
  c.r(s, c.d), c = c._next;
4539
- t < 0 && Ds(e, t, r, !0), e._onUpdate && !r && Pt(e, "onUpdate"), l && e._repeat && !r && e.parent && Pt(e, "onRepeat"), (t >= e._tDur || t < 0) && e.ratio === s && (s && Nr(e, 1), !r && !Ge && (Pt(e, s ? "onComplete" : "onReverseComplete", !0), e._prom && e._prom()));
4579
+ t < 0 && Ds(e, t, r, !0), e._onUpdate && !r && St(e, "onUpdate"), l && e._repeat && !r && e.parent && St(e, "onRepeat"), (t >= e._tDur || t < 0) && e.ratio === s && (s && Nr(e, 1), !r && !Ge && (St(e, s ? "onComplete" : "onReverseComplete", !0), e._prom && e._prom()));
4540
4580
  } else e._zTime || (e._zTime = t);
4541
4581
  }, f2 = function(e, t, r) {
4542
4582
  var o;
@@ -4559,17 +4599,17 @@ var Tt = {
4559
4599
  return e instanceof dt ? tn(e) : Rn(e, e._dur);
4560
4600
  }, d2 = {
4561
4601
  _start: 0,
4562
- endTime: vo,
4563
- totalDuration: vo
4602
+ endTime: bo,
4603
+ totalDuration: bo
4564
4604
  }, Nt = function n(e, t, r) {
4565
4605
  var o = e.labels, i = e._recent || d2, s = e.duration() >= Bt ? i.endTime(!1) : e._dur, a, l, c;
4566
4606
  return Fe(t) && (isNaN(t) || t in o) ? (l = t.charAt(0), c = t.substr(-1) === "%", a = t.indexOf("="), l === "<" || l === ">" ? (a >= 0 && (t = t.replace(/=/, "")), (l === "<" ? i._start : i.endTime(i._repeat >= 0)) + (parseFloat(t.substr(1)) || 0) * (c ? (a < 0 ? i : r).totalDuration() / 100 : 1)) : a < 0 ? (t in o || (o[t] = s), o[t]) : (l = parseFloat(t.charAt(a - 1) + t.substr(a + 1)), c && r && (l = l / 100 * (rt(r) ? r[0] : r).totalDuration()), a > 1 ? n(e, t.substr(0, a - 1), r) + l : s + l)) : t == null ? s : +t;
4567
4607
  }, oo = function(e, t, r) {
4568
- var o = _r(t[1]), i = (o ? 2 : 1) + (e < 2 ? 0 : 1), s = t[i], a, l;
4608
+ var o = br(t[1]), i = (o ? 2 : 1) + (e < 2 ? 0 : 1), s = t[i], a, l;
4569
4609
  if (o && (s.duration = t[1]), s.parent = r, e) {
4570
4610
  for (a = s, l = r; l && !("immediateRender" in a); )
4571
- a = l.vars.defaults || {}, l = mt(l.vars.inherit) && l.parent;
4572
- s.immediateRender = mt(a.immediateRender), e < 2 ? s.runBackwards = 1 : s.startAt = t[i - 1];
4611
+ a = l.vars.defaults || {}, l = _t(l.vars.inherit) && l.parent;
4612
+ s.immediateRender = _t(a.immediateRender), e < 2 ? s.runBackwards = 1 : s.startAt = t[i - 1];
4573
4613
  }
4574
4614
  return new Te(t[0], s, t[i + 1]);
4575
4615
  }, Fr = function(e, t) {
@@ -4583,7 +4623,7 @@ var Tt = {
4583
4623
  return $o(e, t, o);
4584
4624
  });
4585
4625
  }, zs = [].slice, Hu = function(e, t) {
4586
- return e && ir(e) && "length" in e && (!t && !e.length || e.length - 1 in e && ir(e[0])) && !e.nodeType && e !== Jt;
4626
+ return e && sr(e) && "length" in e && (!t && !e.length || e.length - 1 in e && sr(e[0])) && !e.nodeType && e !== Jt;
4587
4627
  }, h2 = function(e, t, r) {
4588
4628
  return r === void 0 && (r = []), e.forEach(function(o) {
4589
4629
  var i;
@@ -4603,41 +4643,41 @@ var Tt = {
4603
4643
  }, Gu = function(e) {
4604
4644
  if (Ce(e))
4605
4645
  return e;
4606
- var t = ir(e) ? e : {
4646
+ var t = sr(e) ? e : {
4607
4647
  each: e
4608
- }, r = rn(t.ease), o = t.from || 0, i = parseFloat(t.base) || 0, s = {}, a = o > 0 && o < 1, l = isNaN(o) || a, c = t.axis, u = o, d = o;
4609
- return Fe(o) ? u = d = {
4648
+ }, r = rn(t.ease), o = t.from || 0, i = parseFloat(t.base) || 0, s = {}, a = o > 0 && o < 1, l = isNaN(o) || a, c = t.axis, u = o, p = o;
4649
+ return Fe(o) ? u = p = {
4610
4650
  center: 0.5,
4611
4651
  edges: 0.5,
4612
4652
  end: 1
4613
- }[o] || 0 : !a && l && (u = o[0], d = o[1]), function(h, f, m) {
4614
- var p = (m || t).length, _ = s[p], w, x, O, y, k, E, C, S, $;
4653
+ }[o] || 0 : !a && l && (u = o[0], p = o[1]), function(h, f, m) {
4654
+ var d = (m || t).length, _ = s[d], v, x, O, w, k, E, C, S, $;
4615
4655
  if (!_) {
4616
4656
  if ($ = t.grid === "auto" ? 0 : (t.grid || [1, Bt])[1], !$) {
4617
- for (C = -Bt; C < (C = m[$++].getBoundingClientRect().left) && $ < p; )
4657
+ for (C = -Bt; C < (C = m[$++].getBoundingClientRect().left) && $ < d; )
4618
4658
  ;
4619
- $ < p && $--;
4659
+ $ < d && $--;
4620
4660
  }
4621
- for (_ = s[p] = [], w = l ? Math.min($, p) * u - 0.5 : o % $, x = $ === Bt ? 0 : l ? p * d / $ - 0.5 : o / $ | 0, C = 0, S = Bt, E = 0; E < p; E++)
4622
- O = E % $ - w, y = x - (E / $ | 0), _[E] = k = c ? Math.abs(c === "y" ? y : O) : Eu(O * O + y * y), k > C && (C = k), k < S && (S = k);
4623
- o === "random" && Yu(_), _.max = C - S, _.min = S, _.v = p = (parseFloat(t.amount) || parseFloat(t.each) * ($ > p ? p - 1 : c ? c === "y" ? p / $ : $ : Math.max($, p / $)) || 0) * (o === "edges" ? -1 : 1), _.b = p < 0 ? i - p : i, _.u = et(t.amount || t.each) || 0, r = r && p < 0 ? rf(r) : r;
4661
+ for (_ = s[d] = [], v = l ? Math.min($, d) * u - 0.5 : o % $, x = $ === Bt ? 0 : l ? d * p / $ - 0.5 : o / $ | 0, C = 0, S = Bt, E = 0; E < d; E++)
4662
+ O = E % $ - v, w = x - (E / $ | 0), _[E] = k = c ? Math.abs(c === "y" ? w : O) : Eu(O * O + w * w), k > C && (C = k), k < S && (S = k);
4663
+ o === "random" && Yu(_), _.max = C - S, _.min = S, _.v = d = (parseFloat(t.amount) || parseFloat(t.each) * ($ > d ? d - 1 : c ? c === "y" ? d / $ : $ : Math.max($, d / $)) || 0) * (o === "edges" ? -1 : 1), _.b = d < 0 ? i - d : i, _.u = et(t.amount || t.each) || 0, r = r && d < 0 ? rf(r) : r;
4624
4664
  }
4625
- return p = (_[h] - _.min) / _.max || 0, _e(_.b + (r ? r(p) : p) * _.v) + _.u;
4665
+ return d = (_[h] - _.min) / _.max || 0, _e(_.b + (r ? r(d) : d) * _.v) + _.u;
4626
4666
  };
4627
4667
  }, Bs = function(e) {
4628
4668
  var t = Math.pow(10, ((e + "").split(".")[1] || "").length);
4629
4669
  return function(r) {
4630
4670
  var o = _e(Math.round(parseFloat(r) / e) * e * t);
4631
- return (o - o % 1) / t + (_r(r) ? 0 : et(r));
4671
+ return (o - o % 1) / t + (br(r) ? 0 : et(r));
4632
4672
  };
4633
4673
  }, Xu = function(e, t) {
4634
4674
  var r = rt(e), o, i;
4635
- return !r && ir(e) && (o = r = e.radius || Bt, e.values ? (e = Ft(e.values), (i = !_r(e[0])) && (o *= o)) : e = Bs(e.increment)), Fr(t, r ? Ce(e) ? function(s) {
4675
+ return !r && sr(e) && (o = r = e.radius || Bt, e.values ? (e = Ft(e.values), (i = !br(e[0])) && (o *= o)) : e = Bs(e.increment)), Fr(t, r ? Ce(e) ? function(s) {
4636
4676
  return i = e(s), Math.abs(i - s) <= o ? i : s;
4637
4677
  } : function(s) {
4638
- for (var a = parseFloat(i ? s.x : s), l = parseFloat(i ? s.y : 0), c = Bt, u = 0, d = e.length, h, f; d--; )
4639
- i ? (h = e[d].x - a, f = e[d].y - l, h = h * h + f * f) : h = Math.abs(e[d] - a), h < c && (c = h, u = d);
4640
- return u = !o || c <= o ? e[u] : s, i || u === s || _r(s) ? u : u + et(s);
4678
+ for (var a = parseFloat(i ? s.x : s), l = parseFloat(i ? s.y : 0), c = Bt, u = 0, p = e.length, h, f; p--; )
4679
+ i ? (h = e[p].x - a, f = e[p].y - l, h = h * h + f * f) : h = Math.abs(e[p] - a), h < c && (c = h, u = p);
4680
+ return u = !o || c <= o ? e[u] : s, i || u === s || br(s) ? u : u + et(s);
4641
4681
  } : Bs(e));
4642
4682
  }, Uu = function(e, t, r, o) {
4643
4683
  return Fr(rt(e) ? !t : r === !0 ? !!(r = 0) : !o, function() {
@@ -4661,17 +4701,17 @@ var Tt = {
4661
4701
  return Fr(r, function(o) {
4662
4702
  return e[~~t(o)];
4663
4703
  });
4664
- }, v2 = function n(e, t, r) {
4704
+ }, b2 = function n(e, t, r) {
4665
4705
  var o = t - e;
4666
4706
  return rt(e) ? qu(e, n(0, e.length), t) : Fr(r, function(i) {
4667
4707
  return (o + (i - e) % o) % o + e;
4668
4708
  });
4669
- }, b2 = function n(e, t, r) {
4709
+ }, v2 = function n(e, t, r) {
4670
4710
  var o = t - e, i = o * 2;
4671
4711
  return rt(e) ? qu(e, n(0, e.length - 1), t) : Fr(r, function(s) {
4672
4712
  return s = (i + (s - e) % i) % i || 0, e + (s > o ? i - s : s);
4673
4713
  });
4674
- }, bo = function(e) {
4714
+ }, vo = function(e) {
4675
4715
  return e.replace(Qm, function(t) {
4676
4716
  var r = t.indexOf("[") + 1, o = t.substring(r || 7, r ? t.indexOf("]") : t.length - 1).split(Jm);
4677
4717
  return Uu(r ? o : +o[0], r ? 0 : +o[1], +o[2] || 1e-5);
@@ -4686,7 +4726,7 @@ var Tt = {
4686
4726
  return (1 - f) * e + f * t;
4687
4727
  };
4688
4728
  if (!i) {
4689
- var s = Fe(e), a = {}, l, c, u, d, h;
4729
+ var s = Fe(e), a = {}, l, c, u, p, h;
4690
4730
  if (r === !0 && (o = 1) && (r = null), s)
4691
4731
  e = {
4692
4732
  p: e
@@ -4694,19 +4734,19 @@ var Tt = {
4694
4734
  p: t
4695
4735
  };
4696
4736
  else if (rt(e) && !rt(t)) {
4697
- for (u = [], d = e.length, h = d - 2, c = 1; c < d; c++)
4737
+ for (u = [], p = e.length, h = p - 2, c = 1; c < p; c++)
4698
4738
  u.push(n(e[c - 1], e[c]));
4699
- d--, i = function(m) {
4700
- m *= d;
4701
- var p = Math.min(h, ~~m);
4702
- return u[p](m - p);
4739
+ p--, i = function(m) {
4740
+ m *= p;
4741
+ var d = Math.min(h, ~~m);
4742
+ return u[d](m - d);
4703
4743
  }, r = t;
4704
4744
  } else o || (e = Tn(rt(e) ? [] : {}, e));
4705
4745
  if (!u) {
4706
4746
  for (l in t)
4707
4747
  ha.call(a, e, l, "get", t[l]);
4708
4748
  i = function(m) {
4709
- return va(m, a) || (s ? e.p : e);
4749
+ return ba(m, a) || (s ? e.p : e);
4710
4750
  };
4711
4751
  }
4712
4752
  }
@@ -4716,20 +4756,20 @@ var Tt = {
4716
4756
  for (s in o)
4717
4757
  a = o[s] - t, a < 0 == !!r && a && i > (a = Math.abs(a)) && (l = s, i = a);
4718
4758
  return l;
4719
- }, Pt = function(e, t, r) {
4759
+ }, St = function(e, t, r) {
4720
4760
  var o = e.vars, i = o[t], s = ge, a = e._ctx, l, c, u;
4721
4761
  if (i)
4722
- return l = o[t + "Params"], c = o.callbackScope || e, r && jr.length && ti(), a && (ge = a), u = l ? i.apply(c, l) : i.call(c), ge = s, u;
4762
+ return l = o[t + "Params"], c = o.callbackScope || e, r && Rr.length && ti(), a && (ge = a), u = l ? i.apply(c, l) : i.call(c), ge = s, u;
4723
4763
  }, qn = function(e) {
4724
- return Nr(e), e.scrollTrigger && e.scrollTrigger.kill(!!Ge), e.progress() < 1 && Pt(e, "onInterrupt"), e;
4725
- }, wn, Ku = [], Qu = function(e) {
4764
+ return Nr(e), e.scrollTrigger && e.scrollTrigger.kill(!!Ge), e.progress() < 1 && St(e, "onInterrupt"), e;
4765
+ }, xn, Ku = [], Qu = function(e) {
4726
4766
  if (e)
4727
4767
  if (e = !e.name && e.default || e, aa() || e.headless) {
4728
4768
  var t = e.name, r = Ce(e), o = t && !r && e.init ? function() {
4729
4769
  this._props = [];
4730
4770
  } : e, i = {
4731
- init: vo,
4732
- render: va,
4771
+ init: bo,
4772
+ render: ba,
4733
4773
  add: ha,
4734
4774
  kill: D2,
4735
4775
  modifier: A2,
@@ -4742,11 +4782,11 @@ var Tt = {
4742
4782
  register: 0
4743
4783
  };
4744
4784
  if (An(), e !== o) {
4745
- if ($t[t])
4785
+ if (Lt[t])
4746
4786
  return;
4747
- At(o, At(ri(e, i), s)), Tn(o.prototype, Tn(i, ri(e, s))), $t[o.prop = t] = o, e.targetTest && (Yo.push(o), ua[t] = 1), t = (t === "css" ? "CSS" : t.charAt(0).toUpperCase() + t.substr(1)) + "Plugin";
4787
+ At(o, At(ri(e, i), s)), Tn(o.prototype, Tn(i, ri(e, s))), Lt[o.prop = t] = o, e.targetTest && (Yo.push(o), ua[t] = 1), t = (t === "css" ? "CSS" : t.charAt(0).toUpperCase() + t.substr(1)) + "Plugin";
4748
4788
  }
4749
- Ru(t, o), e.register && e.register(yt, o, vt);
4789
+ Ru(t, o), e.register && e.register(wt, o, vt);
4750
4790
  } else
4751
4791
  Ku.push(e);
4752
4792
  }, ue = 255, Zn = {
@@ -4769,10 +4809,10 @@ var Tt = {
4769
4809
  pink: [ue, 192, 203],
4770
4810
  cyan: [0, ue, ue],
4771
4811
  transparent: [ue, ue, ue, 0]
4772
- }, bs = function(e, t, r) {
4812
+ }, vs = function(e, t, r) {
4773
4813
  return e += e < 0 ? 1 : e > 1 ? -1 : 0, (e * 6 < 1 ? t + (r - t) * e * 6 : e < 0.5 ? r : e * 3 < 2 ? t + (r - t) * (2 / 3 - e) * 6 : t) * ue + 0.5 | 0;
4774
4814
  }, Ju = function(e, t, r) {
4775
- var o = e ? _r(e) ? [e >> 16, e >> 8 & ue, e & ue] : 0 : Zn.black, i, s, a, l, c, u, d, h, f, m;
4815
+ var o = e ? br(e) ? [e >> 16, e >> 8 & ue, e & ue] : 0 : Zn.black, i, s, a, l, c, u, p, h, f, m;
4776
4816
  if (!o) {
4777
4817
  if (e.substr(-1) === "," && (e = e.substr(0, e.length - 1)), Zn[e])
4778
4818
  o = Zn[e];
@@ -4782,50 +4822,50 @@ var Tt = {
4782
4822
  e = parseInt(e.substr(1), 16), o = [e >> 16, e >> 8 & ue, e & ue];
4783
4823
  } else if (e.substr(0, 3) === "hsl") {
4784
4824
  if (o = m = e.match(Nc), !t)
4785
- l = +o[0] % 360 / 360, c = +o[1] / 100, u = +o[2] / 100, s = u <= 0.5 ? u * (c + 1) : u + c - u * c, i = u * 2 - s, o.length > 3 && (o[3] *= 1), o[0] = bs(l + 1 / 3, i, s), o[1] = bs(l, i, s), o[2] = bs(l - 1 / 3, i, s);
4825
+ l = +o[0] % 360 / 360, c = +o[1] / 100, u = +o[2] / 100, s = u <= 0.5 ? u * (c + 1) : u + c - u * c, i = u * 2 - s, o.length > 3 && (o[3] *= 1), o[0] = vs(l + 1 / 3, i, s), o[1] = vs(l, i, s), o[2] = vs(l - 1 / 3, i, s);
4786
4826
  else if (~e.indexOf("="))
4787
4827
  return o = e.match(Pu), r && o.length < 4 && (o[3] = 1), o;
4788
4828
  } else
4789
4829
  o = e.match(Nc) || Zn.transparent;
4790
4830
  o = o.map(Number);
4791
4831
  }
4792
- return t && !m && (i = o[0] / ue, s = o[1] / ue, a = o[2] / ue, d = Math.max(i, s, a), h = Math.min(i, s, a), u = (d + h) / 2, d === h ? l = c = 0 : (f = d - h, c = u > 0.5 ? f / (2 - d - h) : f / (d + h), l = d === i ? (s - a) / f + (s < a ? 6 : 0) : d === s ? (a - i) / f + 2 : (i - s) / f + 4, l *= 60), o[0] = ~~(l + 0.5), o[1] = ~~(c * 100 + 0.5), o[2] = ~~(u * 100 + 0.5)), r && o.length < 4 && (o[3] = 1), o;
4832
+ return t && !m && (i = o[0] / ue, s = o[1] / ue, a = o[2] / ue, p = Math.max(i, s, a), h = Math.min(i, s, a), u = (p + h) / 2, p === h ? l = c = 0 : (f = p - h, c = u > 0.5 ? f / (2 - p - h) : f / (p + h), l = p === i ? (s - a) / f + (s < a ? 6 : 0) : p === s ? (a - i) / f + 2 : (i - s) / f + 4, l *= 60), o[0] = ~~(l + 0.5), o[1] = ~~(c * 100 + 0.5), o[2] = ~~(u * 100 + 0.5)), r && o.length < 4 && (o[3] = 1), o;
4793
4833
  }, ef = function(e) {
4794
4834
  var t = [], r = [], o = -1;
4795
- return e.split(Rr).forEach(function(i) {
4796
- var s = i.match(yn) || [];
4835
+ return e.split(Ar).forEach(function(i) {
4836
+ var s = i.match(wn) || [];
4797
4837
  t.push.apply(t, s), r.push(o += s.length + 1);
4798
4838
  }), t.c = r, t;
4799
4839
  }, Wc = function(e, t, r) {
4800
- var o = "", i = (e + o).match(Rr), s = t ? "hsla(" : "rgba(", a = 0, l, c, u, d;
4840
+ var o = "", i = (e + o).match(Ar), s = t ? "hsla(" : "rgba(", a = 0, l, c, u, p;
4801
4841
  if (!i)
4802
4842
  return e;
4803
4843
  if (i = i.map(function(h) {
4804
4844
  return (h = Ju(h, t, 1)) && s + (t ? h[0] + "," + h[1] + "%," + h[2] + "%," + h[3] : h.join(",")) + ")";
4805
4845
  }), r && (u = ef(e), l = r.c, l.join(o) !== u.c.join(o)))
4806
- for (c = e.replace(Rr, "1").split(yn), d = c.length - 1; a < d; a++)
4846
+ for (c = e.replace(Ar, "1").split(wn), p = c.length - 1; a < p; a++)
4807
4847
  o += c[a] + (~l.indexOf(a) ? i.shift() || s + "0,0,0,0)" : (u.length ? u : i.length ? i : r).shift());
4808
4848
  if (!c)
4809
- for (c = e.split(Rr), d = c.length - 1; a < d; a++)
4849
+ for (c = e.split(Ar), p = c.length - 1; a < p; a++)
4810
4850
  o += c[a] + i[a];
4811
- return o + c[d];
4812
- }, Rr = (function() {
4851
+ return o + c[p];
4852
+ }, Ar = (function() {
4813
4853
  var n = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b", e;
4814
4854
  for (e in Zn)
4815
4855
  n += "|" + e + "\\b";
4816
4856
  return new RegExp(n + ")", "gi");
4817
4857
  })(), w2 = /hsl[a]?\(/, tf = function(e) {
4818
4858
  var t = e.join(" "), r;
4819
- if (Rr.lastIndex = 0, Rr.test(t))
4859
+ if (Ar.lastIndex = 0, Ar.test(t))
4820
4860
  return r = w2.test(t), e[1] = Wc(e[1], r), e[0] = Wc(e[0], r, ef(e[1])), !0;
4821
- }, yo, Et = (function() {
4822
- var n = Date.now, e = 500, t = 33, r = n(), o = r, i = 1e3 / 240, s = i, a = [], l, c, u, d, h, f, m = function p(_) {
4823
- var w = n() - o, x = _ === !0, O, y, k, E;
4824
- if ((w > e || w < 0) && (r += w - t), o += w, k = o - r, O = k - s, (O > 0 || x) && (E = ++d.frame, h = k - d.time * 1e3, d.time = k = k / 1e3, s += O + (O >= i ? 4 : i - O), y = 1), x || (l = c(p)), y)
4861
+ }, yo, Mt = (function() {
4862
+ var n = Date.now, e = 500, t = 33, r = n(), o = r, i = 1e3 / 240, s = i, a = [], l, c, u, p, h, f, m = function d(_) {
4863
+ var v = n() - o, x = _ === !0, O, w, k, E;
4864
+ if ((v > e || v < 0) && (r += v - t), o += v, k = o - r, O = k - s, (O > 0 || x) && (E = ++p.frame, h = k - p.time * 1e3, p.time = k = k / 1e3, s += O + (O >= i ? 4 : i - O), w = 1), x || (l = c(d)), w)
4825
4865
  for (f = 0; f < a.length; f++)
4826
4866
  a[f](k, h, E, _);
4827
4867
  };
4828
- return d = {
4868
+ return p = {
4829
4869
  time: 0,
4830
4870
  frame: 0,
4831
4871
  tick: function() {
@@ -4835,32 +4875,32 @@ var Tt = {
4835
4875
  return h / (1e3 / (_ || 60));
4836
4876
  },
4837
4877
  wake: function() {
4838
- Tu && (!Rs && aa() && (Jt = Rs = window, la = Jt.document || {}, Rt.gsap = yt, (Jt.gsapVersions || (Jt.gsapVersions = [])).push(yt.version), ju(ei || Jt.GreenSockGlobals || !Jt.gsap && Jt || {}), Ku.forEach(Qu)), u = typeof requestAnimationFrame < "u" && requestAnimationFrame, l && d.sleep(), c = u || function(_) {
4839
- return setTimeout(_, s - d.time * 1e3 + 1 | 0);
4878
+ Tu && (!Rs && aa() && (Jt = Rs = window, la = Jt.document || {}, Rt.gsap = wt, (Jt.gsapVersions || (Jt.gsapVersions = [])).push(wt.version), ju(ei || Jt.GreenSockGlobals || !Jt.gsap && Jt || {}), Ku.forEach(Qu)), u = typeof requestAnimationFrame < "u" && requestAnimationFrame, l && p.sleep(), c = u || function(_) {
4879
+ return setTimeout(_, s - p.time * 1e3 + 1 | 0);
4840
4880
  }, yo = 1, m(2));
4841
4881
  },
4842
4882
  sleep: function() {
4843
- (u ? cancelAnimationFrame : clearTimeout)(l), yo = 0, c = vo;
4883
+ (u ? cancelAnimationFrame : clearTimeout)(l), yo = 0, c = bo;
4844
4884
  },
4845
- lagSmoothing: function(_, w) {
4846
- e = _ || 1 / 0, t = Math.min(w || 33, e);
4885
+ lagSmoothing: function(_, v) {
4886
+ e = _ || 1 / 0, t = Math.min(v || 33, e);
4847
4887
  },
4848
4888
  fps: function(_) {
4849
- i = 1e3 / (_ || 240), s = d.time * 1e3 + i;
4889
+ i = 1e3 / (_ || 240), s = p.time * 1e3 + i;
4850
4890
  },
4851
- add: function(_, w, x) {
4852
- var O = w ? function(y, k, E, C) {
4853
- _(y, k, E, C), d.remove(O);
4891
+ add: function(_, v, x) {
4892
+ var O = v ? function(w, k, E, C) {
4893
+ _(w, k, E, C), p.remove(O);
4854
4894
  } : _;
4855
- return d.remove(_), a[x ? "unshift" : "push"](O), An(), O;
4895
+ return p.remove(_), a[x ? "unshift" : "push"](O), An(), O;
4856
4896
  },
4857
- remove: function(_, w) {
4858
- ~(w = a.indexOf(_)) && a.splice(w, 1) && f >= w && f--;
4897
+ remove: function(_, v) {
4898
+ ~(v = a.indexOf(_)) && a.splice(v, 1) && f >= v && f--;
4859
4899
  },
4860
4900
  _listeners: a
4861
- }, d;
4901
+ }, p;
4862
4902
  })(), An = function() {
4863
- return !yo && Et.wake();
4903
+ return !yo && Mt.wake();
4864
4904
  }, ne = {}, x2 = /^[\d.\-M][\d.\-,\s]/, C2 = /["']/g, k2 = function(e) {
4865
4905
  for (var t = {}, r = e.substr(1, e.length - 3).split(":"), o = r[0], i = 1, s = r.length, a, l, c; i < s; i++)
4866
4906
  l = r[i], a = i !== s - 1 ? l.lastIndexOf(",") : l.length, c = l.substr(0, a), t[o] = isNaN(c) ? c.replace(C2, "").trim() : +c, o = l.substr(a + 1).trim();
@@ -4880,7 +4920,7 @@ var Tt = {
4880
4920
  r instanceof dt ? n(r, t) : r.vars.yoyoEase && (!r._yoyo || !r._repeat) && r._yoyo !== t && (r.timeline ? n(r.timeline, t) : (o = r._ease, r._ease = r._yEase, r._yEase = o, r._yoyo = t)), r = r._next;
4881
4921
  }, rn = function(e, t) {
4882
4922
  return e && (Ce(e) ? e : ne[e] || $2(e)) || t;
4883
- }, fn = function(e, t, r, o) {
4923
+ }, dn = function(e, t, r, o) {
4884
4924
  r === void 0 && (r = function(l) {
4885
4925
  return 1 - t(1 - l);
4886
4926
  }), o === void 0 && (o = function(l) {
@@ -4891,7 +4931,7 @@ var Tt = {
4891
4931
  easeOut: r,
4892
4932
  easeInOut: o
4893
4933
  }, s;
4894
- return _t(e, function(a) {
4934
+ return bt(e, function(a) {
4895
4935
  ne[a] = Rt[a] = i, ne[s = a.toLowerCase()] = r;
4896
4936
  for (var l in i)
4897
4937
  ne[s + (l === "easeIn" ? ".in" : l === "easeOut" ? ".out" : ".inOut")] = ne[a + "." + l] = i[l];
@@ -4920,9 +4960,9 @@ var Tt = {
4920
4960
  return n(e, i);
4921
4961
  }, o;
4922
4962
  };
4923
- _t("Linear,Quad,Cubic,Quart,Quint,Strong", function(n, e) {
4963
+ bt("Linear,Quad,Cubic,Quart,Quint,Strong", function(n, e) {
4924
4964
  var t = e < 5 ? e + 1 : e;
4925
- fn(n + ",Power" + (t - 1), e ? function(r) {
4965
+ dn(n + ",Power" + (t - 1), e ? function(r) {
4926
4966
  return Math.pow(r, t);
4927
4967
  } : function(r) {
4928
4968
  return r;
@@ -4933,25 +4973,25 @@ _t("Linear,Quad,Cubic,Quart,Quint,Strong", function(n, e) {
4933
4973
  });
4934
4974
  });
4935
4975
  ne.Linear.easeNone = ne.none = ne.Linear.easeIn;
4936
- fn("Elastic", ys("in"), ys("out"), ys());
4976
+ dn("Elastic", ys("in"), ys("out"), ys());
4937
4977
  (function(n, e) {
4938
4978
  var t = 1 / e, r = 2 * t, o = 2.5 * t, i = function(a) {
4939
4979
  return a < t ? n * a * a : a < r ? n * Math.pow(a - 1.5 / e, 2) + 0.75 : a < o ? n * (a -= 2.25 / e) * a + 0.9375 : n * Math.pow(a - 2.625 / e, 2) + 0.984375;
4940
4980
  };
4941
- fn("Bounce", function(s) {
4981
+ dn("Bounce", function(s) {
4942
4982
  return 1 - i(1 - s);
4943
4983
  }, i);
4944
4984
  })(7.5625, 2.75);
4945
- fn("Expo", function(n) {
4985
+ dn("Expo", function(n) {
4946
4986
  return Math.pow(2, 10 * (n - 1)) * n + n * n * n * n * n * n * (1 - n);
4947
4987
  });
4948
- fn("Circ", function(n) {
4988
+ dn("Circ", function(n) {
4949
4989
  return -(Eu(1 - n * n) - 1);
4950
4990
  });
4951
- fn("Sine", function(n) {
4991
+ dn("Sine", function(n) {
4952
4992
  return n === 1 ? 1 : -Zm(n * Um) + 1;
4953
4993
  });
4954
- fn("Back", ws("in"), ws("out"), ws());
4994
+ dn("Back", ws("in"), ws("out"), ws());
4955
4995
  ne.SteppedEase = ne.steps = Rt.SteppedEase = {
4956
4996
  config: function(e, t) {
4957
4997
  e === void 0 && (e = 1);
@@ -4962,14 +5002,14 @@ ne.SteppedEase = ne.steps = Rt.SteppedEase = {
4962
5002
  }
4963
5003
  };
4964
5004
  Sn.ease = ne["quad.out"];
4965
- _t("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(n) {
5005
+ bt("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(n) {
4966
5006
  return fa += n + "," + n + "Params,";
4967
5007
  });
4968
5008
  var sf = function(e, t) {
4969
5009
  this.id = qm++, e._gsap = this, this.target = e, this.harness = t, this.get = t ? t.get : Du, this.set = t ? t.getSetter : _a;
4970
5010
  }, wo = /* @__PURE__ */ (function() {
4971
5011
  function n(t) {
4972
- 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, Rn(this, +t.duration, 1, 1), this.data = t.data, ge && (this._ctx = ge, ge.data.push(this)), yo || Et.wake();
5012
+ 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, Rn(this, +t.duration, 1, 1), this.data = t.data, ge && (this._ctx = ge, ge.data.push(this)), yo || Mt.wake();
4973
5013
  }
4974
5014
  var e = n.prototype;
4975
5015
  return e.delay = function(r) {
@@ -5014,7 +5054,7 @@ var sf = function(e, t) {
5014
5054
  }
5015
5055
  return this._start;
5016
5056
  }, e.endTime = function(r) {
5017
- return this._start + (mt(r) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1);
5057
+ return this._start + (_t(r) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1);
5018
5058
  }, e.rawTime = function(r) {
5019
5059
  var o = this.parent || this._dp;
5020
5060
  return o ? r && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? ni(o.rawTime(r), this) : this._tTime : this._tTime;
@@ -5037,9 +5077,9 @@ var sf = function(e, t) {
5037
5077
  }, e.yoyo = function(r) {
5038
5078
  return arguments.length ? (this._yoyo = r, this) : this._yoyo;
5039
5079
  }, e.seek = function(r, o) {
5040
- return this.totalTime(Nt(this, r), mt(o));
5080
+ return this.totalTime(Nt(this, r), _t(o));
5041
5081
  }, e.restart = function(r, o) {
5042
- return this.play().totalTime(r ? -this._delay : 0, mt(o)), this._dur || (this._zTime = -fe), this;
5082
+ return this.play().totalTime(r ? -this._delay : 0, _t(o)), this._dur || (this._zTime = -fe), this;
5043
5083
  }, e.play = function(r, o) {
5044
5084
  return r != null && this.seek(r, o), this.reversed(!1).paused(!1);
5045
5085
  }, e.reverse = function(r, o) {
@@ -5095,7 +5135,7 @@ var dt = /* @__PURE__ */ (function(n) {
5095
5135
  Lu(e, n);
5096
5136
  function e(r, o) {
5097
5137
  var i;
5098
- return r === void 0 && (r = {}), i = n.call(this, r) || this, i.labels = {}, i.smoothChildTiming = !!r.smoothChildTiming, i.autoRemoveChildren = !!r.autoRemoveChildren, i._sort = mt(r.sortChildren), ve && tr(r.parent || ve, dr(i), o), r.reversed && i.reverse(), r.paused && i.paused(!0), r.scrollTrigger && Vu(dr(i), r.scrollTrigger), i;
5138
+ return r === void 0 && (r = {}), i = n.call(this, r) || this, i.labels = {}, i.smoothChildTiming = !!r.smoothChildTiming, i.autoRemoveChildren = !!r.autoRemoveChildren, i._sort = _t(r.sortChildren), be && tr(r.parent || be, pr(i), o), r.reversed && i.reverse(), r.paused && i.paused(!0), r.scrollTrigger && Vu(pr(i), r.scrollTrigger), i;
5099
5139
  }
5100
5140
  var t = e.prototype;
5101
5141
  return t.to = function(o, i, s) {
@@ -5111,32 +5151,32 @@ var dt = /* @__PURE__ */ (function(n) {
5111
5151
  }, t.staggerTo = function(o, i, s, a, l, c, u) {
5112
5152
  return s.duration = i, s.stagger = s.stagger || a, s.onComplete = c, s.onCompleteParams = u, s.parent = this, new Te(o, s, Nt(this, l)), this;
5113
5153
  }, t.staggerFrom = function(o, i, s, a, l, c, u) {
5114
- return s.runBackwards = 1, no(s).immediateRender = mt(s.immediateRender), this.staggerTo(o, i, s, a, l, c, u);
5115
- }, t.staggerFromTo = function(o, i, s, a, l, c, u, d) {
5116
- return a.startAt = s, no(a).immediateRender = mt(a.immediateRender), this.staggerTo(o, i, a, l, c, u, d);
5154
+ return s.runBackwards = 1, no(s).immediateRender = _t(s.immediateRender), this.staggerTo(o, i, s, a, l, c, u);
5155
+ }, t.staggerFromTo = function(o, i, s, a, l, c, u, p) {
5156
+ return a.startAt = s, no(a).immediateRender = _t(a.immediateRender), this.staggerTo(o, i, a, l, c, u, p);
5117
5157
  }, t.render = function(o, i, s) {
5118
- var a = this._time, l = this._dirty ? this.totalDuration() : this._tDur, c = this._dur, u = o <= 0 ? 0 : _e(o), d = this._zTime < 0 != o < 0 && (this._initted || !c), h, f, m, p, _, w, x, O, y, k, E, C;
5119
- if (this !== ve && u > l && o >= 0 && (u = l), u !== this._tTime || s || d) {
5120
- if (a !== this._time && c && (u += this._time - a, o += this._time - a), h = u, y = this._start, O = this._ts, w = !O, d && (c || (a = this._zTime), (o || !i) && (this._zTime = o)), this._repeat) {
5158
+ var a = this._time, l = this._dirty ? this.totalDuration() : this._tDur, c = this._dur, u = o <= 0 ? 0 : _e(o), p = this._zTime < 0 != o < 0 && (this._initted || !c), h, f, m, d, _, v, x, O, w, k, E, C;
5159
+ if (this !== be && u > l && o >= 0 && (u = l), u !== this._tTime || s || p) {
5160
+ if (a !== this._time && c && (u += this._time - a, o += this._time - a), h = u, w = this._start, O = this._ts, v = !O, p && (c || (a = this._zTime), (o || !i) && (this._zTime = o)), this._repeat) {
5121
5161
  if (E = this._yoyo, _ = c + this._rDelay, this._repeat < -1 && o < 0)
5122
5162
  return this.totalTime(_ * 100 + o, i, s);
5123
- if (h = _e(u % _), u === l ? (p = this._repeat, h = c) : (k = _e(u / _), p = ~~k, p && p === k && (h = c, p--), h > c && (h = c)), k = jn(this._tTime, _), !a && this._tTime && k !== p && this._tTime - k * _ - this._dur <= 0 && (k = p), E && p & 1 && (h = c - h, C = 1), p !== k && !this._lock) {
5124
- var S = E && k & 1, $ = S === (E && p & 1);
5125
- if (p < k && (S = !S), a = S ? 0 : u % c ? c : u, this._lock = 1, this.render(a || (C ? 0 : _e(p * _)), i, !c)._lock = 0, this._tTime = u, !i && this.parent && Pt(this, "onRepeat"), this.vars.repeatRefresh && !C && (this.invalidate()._lock = 1, k = p), a && a !== this._time || w !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
5163
+ if (h = _e(u % _), u === l ? (d = this._repeat, h = c) : (k = _e(u / _), d = ~~k, d && d === k && (h = c, d--), h > c && (h = c)), k = jn(this._tTime, _), !a && this._tTime && k !== d && this._tTime - k * _ - this._dur <= 0 && (k = d), E && d & 1 && (h = c - h, C = 1), d !== k && !this._lock) {
5164
+ var S = E && k & 1, $ = S === (E && d & 1);
5165
+ if (d < k && (S = !S), a = S ? 0 : u % c ? c : u, this._lock = 1, this.render(a || (C ? 0 : _e(d * _)), i, !c)._lock = 0, this._tTime = u, !i && this.parent && St(this, "onRepeat"), this.vars.repeatRefresh && !C && (this.invalidate()._lock = 1, k = d), a && a !== this._time || v !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
5126
5166
  return this;
5127
- if (c = this._dur, l = this._tDur, $ && (this._lock = 2, a = S ? c : -1e-4, this.render(a, !0), this.vars.repeatRefresh && !C && this.invalidate()), this._lock = 0, !this._ts && !w)
5167
+ if (c = this._dur, l = this._tDur, $ && (this._lock = 2, a = S ? c : -1e-4, this.render(a, !0), this.vars.repeatRefresh && !C && this.invalidate()), this._lock = 0, !this._ts && !v)
5128
5168
  return this;
5129
5169
  nf(this, C);
5130
5170
  }
5131
5171
  }
5132
- if (this._hasPause && !this._forcing && this._lock < 2 && (x = f2(this, _e(a), _e(h)), x && (u -= h - (h = x._start))), this._tTime = u, this._time = h, this._act = !O, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = o, a = 0), !a && u && c && !i && !k && (Pt(this, "onStart"), this._tTime !== u))
5172
+ if (this._hasPause && !this._forcing && this._lock < 2 && (x = f2(this, _e(a), _e(h)), x && (u -= h - (h = x._start))), this._tTime = u, this._time = h, this._act = !O, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = o, a = 0), !a && u && c && !i && !k && (St(this, "onStart"), this._tTime !== u))
5133
5173
  return this;
5134
5174
  if (h >= a && o >= 0)
5135
5175
  for (f = this._first; f; ) {
5136
5176
  if (m = f._next, (f._act || h >= f._start) && f._ts && x !== f) {
5137
5177
  if (f.parent !== this)
5138
5178
  return this.render(o, i, s);
5139
- if (f.render(f._ts > 0 ? (h - f._start) * f._ts : (f._dirty ? f.totalDuration() : f._tDur) + (h - f._start) * f._ts, i, s), h !== this._time || !this._ts && !w) {
5179
+ if (f.render(f._ts > 0 ? (h - f._start) * f._ts : (f._dirty ? f.totalDuration() : f._tDur) + (h - f._start) * f._ts, i, s), h !== this._time || !this._ts && !v) {
5140
5180
  x = 0, m && (u += this._zTime = -fe);
5141
5181
  break;
5142
5182
  }
@@ -5149,7 +5189,7 @@ var dt = /* @__PURE__ */ (function(n) {
5149
5189
  if (m = f._prev, (f._act || P <= f._end) && f._ts && x !== f) {
5150
5190
  if (f.parent !== this)
5151
5191
  return this.render(o, i, s);
5152
- if (f.render(f._ts > 0 ? (P - f._start) * f._ts : (f._dirty ? f.totalDuration() : f._tDur) + (P - f._start) * f._ts, i, s || Ge && pa(f)), h !== this._time || !this._ts && !w) {
5192
+ if (f.render(f._ts > 0 ? (P - f._start) * f._ts : (f._dirty ? f.totalDuration() : f._tDur) + (P - f._start) * f._ts, i, s || Ge && pa(f)), h !== this._time || !this._ts && !v) {
5153
5193
  x = 0, m && (u += this._zTime = P ? -fe : fe);
5154
5194
  break;
5155
5195
  }
@@ -5158,13 +5198,13 @@ var dt = /* @__PURE__ */ (function(n) {
5158
5198
  }
5159
5199
  }
5160
5200
  if (x && !i && (this.pause(), x.render(h >= a ? 0 : -fe)._zTime = h >= a ? 1 : -1, this._ts))
5161
- return this._start = y, di(this), this.render(o, i, s);
5162
- this._onUpdate && !i && Pt(this, "onUpdate", !0), (u === l && this._tTime >= this.totalDuration() || !u && a) && (y === this._start || Math.abs(O) !== Math.abs(this._ts)) && (this._lock || ((o || !c) && (u === l && this._ts > 0 || !u && this._ts < 0) && Nr(this, 1), !i && !(o < 0 && !a) && (u || a || !l) && (Pt(this, u === l && o >= 0 ? "onComplete" : "onReverseComplete", !0), this._prom && !(u < l && this.timeScale() > 0) && this._prom())));
5201
+ return this._start = w, di(this), this.render(o, i, s);
5202
+ this._onUpdate && !i && St(this, "onUpdate", !0), (u === l && this._tTime >= this.totalDuration() || !u && a) && (w === this._start || Math.abs(O) !== Math.abs(this._ts)) && (this._lock || ((o || !c) && (u === l && this._ts > 0 || !u && this._ts < 0) && Nr(this, 1), !i && !(o < 0 && !a) && (u || a || !l) && (St(this, u === l && o >= 0 ? "onComplete" : "onReverseComplete", !0), this._prom && !(u < l && this.timeScale() > 0) && this._prom())));
5163
5203
  }
5164
5204
  return this;
5165
5205
  }, t.add = function(o, i) {
5166
5206
  var s = this;
5167
- if (_r(i) || (i = Nt(this, i, o)), !(o instanceof wo)) {
5207
+ if (br(i) || (i = Nt(this, i, o)), !(o instanceof wo)) {
5168
5208
  if (rt(o))
5169
5209
  return o.forEach(function(a) {
5170
5210
  return s.add(a, i);
@@ -5189,13 +5229,13 @@ var dt = /* @__PURE__ */ (function(n) {
5189
5229
  }, t.remove = function(o) {
5190
5230
  return Fe(o) ? this.removeLabel(o) : Ce(o) ? this.killTweensOf(o) : (o.parent === this && fi(this, o), o === this._recent && (this._recent = this._last), tn(this));
5191
5231
  }, t.totalTime = function(o, i) {
5192
- return arguments.length ? (this._forcing = 1, !this._dp && this._ts && (this._start = _e(Et.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;
5232
+ return arguments.length ? (this._forcing = 1, !this._dp && this._ts && (this._start = _e(Mt.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;
5193
5233
  }, t.addLabel = function(o, i) {
5194
5234
  return this.labels[o] = Nt(this, i), this;
5195
5235
  }, t.removeLabel = function(o) {
5196
5236
  return delete this.labels[o], this;
5197
5237
  }, t.addPause = function(o, i, s) {
5198
- var a = Te.delayedCall(0, i || vo, s);
5238
+ var a = Te.delayedCall(0, i || bo, s);
5199
5239
  return a.data = "isPause", this._hasPause = 1, tr(this, a, Nt(this, o));
5200
5240
  }, t.removePause = function(o) {
5201
5241
  var i = this._first;
@@ -5203,15 +5243,15 @@ var dt = /* @__PURE__ */ (function(n) {
5203
5243
  i._start === o && i.data === "isPause" && Nr(i), i = i._next;
5204
5244
  }, t.killTweensOf = function(o, i, s) {
5205
5245
  for (var a = this.getTweensOf(o, s), l = a.length; l--; )
5206
- Er !== a[l] && a[l].kill(o, i);
5246
+ Mr !== a[l] && a[l].kill(o, i);
5207
5247
  return this;
5208
5248
  }, t.getTweensOf = function(o, i) {
5209
- for (var s = [], a = Ft(o), l = this._first, c = _r(i), u; l; )
5210
- l instanceof Te ? o2(l._targets, a) && (c ? (!Er || l._initted && l._ts) && l.globalTime(0) <= i && l.globalTime(l.totalDuration()) > i : !i || l.isActive()) && s.push(l) : (u = l.getTweensOf(a, i)).length && s.push.apply(s, u), l = l._next;
5249
+ for (var s = [], a = Ft(o), l = this._first, c = br(i), u; l; )
5250
+ l instanceof Te ? o2(l._targets, a) && (c ? (!Mr || l._initted && l._ts) && l.globalTime(0) <= i && l.globalTime(l.totalDuration()) > i : !i || l.isActive()) && s.push(l) : (u = l.getTweensOf(a, i)).length && s.push.apply(s, u), l = l._next;
5211
5251
  return s;
5212
5252
  }, t.tweenTo = function(o, i) {
5213
5253
  i = i || {};
5214
- var s = this, a = Nt(s, o), l = i, c = l.startAt, u = l.onStart, d = l.onStartParams, h = l.immediateRender, f, m = Te.to(s, At({
5254
+ var s = this, a = Nt(s, o), l = i, c = l.startAt, u = l.onStart, p = l.onStartParams, h = l.immediateRender, f, m = Te.to(s, At({
5215
5255
  ease: i.ease || "none",
5216
5256
  lazy: !1,
5217
5257
  immediateRender: !1,
@@ -5223,7 +5263,7 @@ var dt = /* @__PURE__ */ (function(n) {
5223
5263
  var _ = i.duration || Math.abs((a - (c && "time" in c ? c.time : s._time)) / s.timeScale());
5224
5264
  m._dur !== _ && Rn(m, _, 0, 1).render(m._time, !0, !0), f = 1;
5225
5265
  }
5226
- u && u.apply(m, d || []);
5266
+ u && u.apply(m, p || []);
5227
5267
  }
5228
5268
  }, i));
5229
5269
  return h ? m.render(0) : m;
@@ -5261,23 +5301,23 @@ var dt = /* @__PURE__ */ (function(n) {
5261
5301
  s = i._next, this.remove(i), i = s;
5262
5302
  return this._dp && (this._time = this._tTime = this._pTime = 0), o && (this.labels = {}), tn(this);
5263
5303
  }, t.totalDuration = function(o) {
5264
- var i = 0, s = this, a = s._last, l = Bt, c, u, d;
5304
+ var i = 0, s = this, a = s._last, l = Bt, c, u, p;
5265
5305
  if (arguments.length)
5266
5306
  return s.timeScale((s._repeat < 0 ? s.duration() : s.totalDuration()) / (s.reversed() ? -o : o));
5267
5307
  if (s._dirty) {
5268
- for (d = s.parent; a; )
5269
- c = a._prev, a._dirty && a.totalDuration(), u = a._start, u > l && s._sort && a._ts && !s._lock ? (s._lock = 1, tr(s, a, u - a._delay, 1)._lock = 0) : l = u, u < 0 && a._ts && (i -= u, (!d && !s._dp || d && d.smoothChildTiming) && (s._start += _e(u / s._ts), s._time -= u, s._tTime -= u), s.shiftChildren(-u, !1, -1 / 0), l = 0), a._end > i && a._ts && (i = a._end), a = c;
5270
- Rn(s, s === ve && s._time > i ? s._time : i, 1, 1), s._dirty = 0;
5308
+ for (p = s.parent; a; )
5309
+ c = a._prev, a._dirty && a.totalDuration(), u = a._start, u > l && s._sort && a._ts && !s._lock ? (s._lock = 1, tr(s, a, u - a._delay, 1)._lock = 0) : l = u, u < 0 && a._ts && (i -= u, (!p && !s._dp || p && p.smoothChildTiming) && (s._start += _e(u / s._ts), s._time -= u, s._tTime -= u), s.shiftChildren(-u, !1, -1 / 0), l = 0), a._end > i && a._ts && (i = a._end), a = c;
5310
+ Rn(s, s === be && s._time > i ? s._time : i, 1, 1), s._dirty = 0;
5271
5311
  }
5272
5312
  return s._tDur;
5273
5313
  }, e.updateRoot = function(o) {
5274
- if (ve._ts && (Nu(ve, ni(o, ve)), Au = Et.frame), Et.frame >= zc) {
5275
- zc += Tt.autoSleep || 120;
5276
- var i = ve._first;
5277
- if ((!i || !i._ts) && Tt.autoSleep && Et._listeners.length < 2) {
5314
+ if (be._ts && (Nu(be, ni(o, be)), Au = Mt.frame), Mt.frame >= zc) {
5315
+ zc += jt.autoSleep || 120;
5316
+ var i = be._first;
5317
+ if ((!i || !i._ts) && jt.autoSleep && Mt._listeners.length < 2) {
5278
5318
  for (; i && !i._ts; )
5279
5319
  i = i._next;
5280
- i || Et.sleep();
5320
+ i || Mt.sleep();
5281
5321
  }
5282
5322
  }
5283
5323
  }, e;
@@ -5288,24 +5328,24 @@ At(dt.prototype, {
5288
5328
  _forcing: 0
5289
5329
  });
5290
5330
  var L2 = function(e, t, r, o, i, s, a) {
5291
- var l = new vt(this._pt, e, t, 0, 1, df, null, i), c = 0, u = 0, d, h, f, m, p, _, w, x;
5292
- for (l.b = r, l.e = o, r += "", o += "", (w = ~o.indexOf("random(")) && (o = bo(o)), s && (x = [r, o], s(x, e, t), r = x[0], o = x[1]), h = r.match(_s) || []; d = _s.exec(o); )
5293
- m = d[0], p = o.substring(c, d.index), f ? f = (f + 1) % 5 : p.substr(-5) === "rgba(" && (f = 1), m !== h[u++] && (_ = parseFloat(h[u - 1]) || 0, l._pt = {
5331
+ var l = new vt(this._pt, e, t, 0, 1, df, null, i), c = 0, u = 0, p, h, f, m, d, _, v, x;
5332
+ for (l.b = r, l.e = o, r += "", o += "", (v = ~o.indexOf("random(")) && (o = vo(o)), s && (x = [r, o], s(x, e, t), r = x[0], o = x[1]), h = r.match(_s) || []; p = _s.exec(o); )
5333
+ m = p[0], d = o.substring(c, p.index), f ? f = (f + 1) % 5 : d.substr(-5) === "rgba(" && (f = 1), m !== h[u++] && (_ = parseFloat(h[u - 1]) || 0, l._pt = {
5294
5334
  _next: l._pt,
5295
- p: p || u === 1 ? p : ",",
5335
+ p: d || u === 1 ? d : ",",
5296
5336
  //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.
5297
5337
  s: _,
5298
- c: m.charAt(1) === "=" ? kn(_, m) - _ : parseFloat(m) - _,
5338
+ c: m.charAt(1) === "=" ? On(_, m) - _ : parseFloat(m) - _,
5299
5339
  m: f && f < 4 ? Math.round : 0
5300
5340
  }, c = _s.lastIndex);
5301
- return l.c = c < o.length ? o.substring(c, o.length) : "", l.fp = a, (Su.test(o) || w) && (l.e = 0), this._pt = l, l;
5341
+ return l.c = c < o.length ? o.substring(c, o.length) : "", l.fp = a, (Su.test(o) || v) && (l.e = 0), this._pt = l, l;
5302
5342
  }, ha = function(e, t, r, o, i, s, a, l, c, u) {
5303
5343
  Ce(o) && (o = o(i || 0, e, s));
5304
- var d = e[t], h = r !== "get" ? r : Ce(d) ? c ? e[t.indexOf("set") || !Ce(e["get" + t.substr(3)]) ? t : "get" + t.substr(3)](c) : e[t]() : d, f = Ce(d) ? c ? T2 : uf : ma, m;
5305
- if (Fe(o) && (~o.indexOf("random(") && (o = bo(o)), o.charAt(1) === "=" && (m = kn(h, o) + (et(h) || 0), (m || m === 0) && (o = m))), !u || h !== o || Fs)
5306
- return !isNaN(h * o) && o !== "" ? (m = new vt(this._pt, e, t, +h || 0, o - (h || 0), typeof d == "boolean" ? R2 : ff, 0, f), c && (m.fp = c), a && m.modifier(a, this, e), this._pt = m) : (!d && !(t in e) && ca(t, o), L2.call(this, e, t, h, o, f, l || Tt.stringFilter, c));
5344
+ var p = e[t], h = r !== "get" ? r : Ce(p) ? c ? e[t.indexOf("set") || !Ce(e["get" + t.substr(3)]) ? t : "get" + t.substr(3)](c) : e[t]() : p, f = Ce(p) ? c ? T2 : uf : ma, m;
5345
+ if (Fe(o) && (~o.indexOf("random(") && (o = vo(o)), o.charAt(1) === "=" && (m = On(h, o) + (et(h) || 0), (m || m === 0) && (o = m))), !u || h !== o || Fs)
5346
+ return !isNaN(h * o) && o !== "" ? (m = new vt(this._pt, e, t, +h || 0, o - (h || 0), typeof p == "boolean" ? R2 : ff, 0, f), c && (m.fp = c), a && m.modifier(a, this, e), this._pt = m) : (!p && !(t in e) && ca(t, o), L2.call(this, e, t, h, o, f, l || jt.stringFilter, c));
5307
5347
  }, E2 = function(e, t, r, o, i) {
5308
- if (Ce(e) && (e = io(e, i, t, r, o)), !ir(e) || e.style && e.nodeType || rt(e) || Mu(e))
5348
+ if (Ce(e) && (e = io(e, i, t, r, o)), !sr(e) || e.style && e.nodeType || rt(e) || Mu(e))
5309
5349
  return Fe(e) ? io(e, i, t, r, o) : e;
5310
5350
  var s = {}, a;
5311
5351
  for (a in e)
@@ -5313,59 +5353,59 @@ var L2 = function(e, t, r, o, i, s, a) {
5313
5353
  return s;
5314
5354
  }, af = function(e, t, r, o, i, s) {
5315
5355
  var a, l, c, u;
5316
- if ($t[e] && (a = new $t[e]()).init(i, a.rawVars ? t[e] : E2(t[e], o, i, s, r), r, o, s) !== !1 && (r._pt = l = new vt(r._pt, i, e, 0, 1, a.render, a, 0, a.priority), r !== wn))
5356
+ if (Lt[e] && (a = new Lt[e]()).init(i, a.rawVars ? t[e] : E2(t[e], o, i, s, r), r, o, s) !== !1 && (r._pt = l = new vt(r._pt, i, e, 0, 1, a.render, a, 0, a.priority), r !== xn))
5317
5357
  for (c = r._ptLookup[r._targets.indexOf(i)], u = a._props.length; u--; )
5318
5358
  c[a._props[u]] = l;
5319
5359
  return a;
5320
- }, Er, Fs, ga = function n(e, t, r) {
5321
- var o = e.vars, i = o.ease, s = o.startAt, a = o.immediateRender, l = o.lazy, c = o.onUpdate, u = o.runBackwards, d = o.yoyoEase, h = o.keyframes, f = o.autoRevert, m = e._dur, p = e._startAt, _ = e._targets, w = e.parent, x = w && w.data === "nested" ? w.vars.targets : _, O = e._overwrite === "auto" && !ia, y = e.timeline, k, E, C, S, $, P, I, M, U, V, Q, Y, N;
5322
- if (y && (!h || !i) && (i = "none"), e._ease = rn(i, Sn.ease), e._yEase = d ? rf(rn(d === !0 ? i : d, Sn.ease)) : 0, d && e._yoyo && !e._repeat && (d = e._yEase, e._yEase = e._ease, e._ease = d), e._from = !y && !!o.runBackwards, !y || h && !o.stagger) {
5323
- if (M = _[0] ? en(_[0]).harness : 0, Y = M && o[M.prop], k = ri(o, ua), p && (p._zTime < 0 && p.progress(1), t < 0 && u && a && !f ? p.render(-1, !0) : p.revert(u && m ? Ho : r2), p._lazy = 0), s) {
5360
+ }, Mr, Fs, ga = function n(e, t, r) {
5361
+ var o = e.vars, i = o.ease, s = o.startAt, a = o.immediateRender, l = o.lazy, c = o.onUpdate, u = o.runBackwards, p = o.yoyoEase, h = o.keyframes, f = o.autoRevert, m = e._dur, d = e._startAt, _ = e._targets, v = e.parent, x = v && v.data === "nested" ? v.vars.targets : _, O = e._overwrite === "auto" && !ia, w = e.timeline, k, E, C, S, $, P, I, M, U, V, Q, Y, N;
5362
+ if (w && (!h || !i) && (i = "none"), e._ease = rn(i, Sn.ease), e._yEase = p ? rf(rn(p === !0 ? i : p, Sn.ease)) : 0, p && e._yoyo && !e._repeat && (p = e._yEase, e._yEase = e._ease, e._ease = p), e._from = !w && !!o.runBackwards, !w || h && !o.stagger) {
5363
+ if (M = _[0] ? en(_[0]).harness : 0, Y = M && o[M.prop], k = ri(o, ua), d && (d._zTime < 0 && d.progress(1), t < 0 && u && a && !f ? d.render(-1, !0) : d.revert(u && m ? Ho : r2), d._lazy = 0), s) {
5324
5364
  if (Nr(e._startAt = Te.set(_, At({
5325
5365
  data: "isStart",
5326
5366
  overwrite: !1,
5327
- parent: w,
5367
+ parent: v,
5328
5368
  immediateRender: !0,
5329
- lazy: !p && mt(l),
5369
+ lazy: !d && _t(l),
5330
5370
  startAt: null,
5331
5371
  delay: 0,
5332
5372
  onUpdate: c && function() {
5333
- return Pt(e, "onUpdate");
5373
+ return St(e, "onUpdate");
5334
5374
  },
5335
5375
  stagger: 0
5336
5376
  }, s))), e._startAt._dp = 0, e._startAt._sat = e, t < 0 && (Ge || !a && !f) && e._startAt.revert(Ho), a && m && t <= 0 && r <= 0) {
5337
5377
  t && (e._zTime = t);
5338
5378
  return;
5339
5379
  }
5340
- } else if (u && m && !p) {
5380
+ } else if (u && m && !d) {
5341
5381
  if (t && (a = !1), C = At({
5342
5382
  overwrite: !1,
5343
5383
  data: "isFromStart",
5344
5384
  //we tag the tween with as "isFromStart" so that if [inside a plugin] we need to only do something at the very END of a tween, we have a way of identifying this tween as merely the one that's setting the beginning values for a "from()" tween. For example, clearProps in CSSPlugin should only get applied at the very END of a tween and without this tag, from(...{height:100, clearProps:"height", delay:1}) would wipe the height at the beginning of the tween and after 1 second, it'd kick back in.
5345
- lazy: a && !p && mt(l),
5385
+ lazy: a && !d && _t(l),
5346
5386
  immediateRender: a,
5347
5387
  //zero-duration tweens render immediately by default, but if we're not specifically instructed to render this tween immediately, we should skip this and merely _init() to record the starting values (rendering them immediately would push them to completion which is wasteful in that case - we'd have to render(-1) immediately after)
5348
5388
  stagger: 0,
5349
- parent: w
5389
+ parent: v
5350
5390
  //ensures that nested tweens that had a stagger are handled properly, like gsap.from(".class", {y: gsap.utils.wrap([-100,100]), stagger: 0.5})
5351
5391
  }, k), Y && (C[M.prop] = Y), Nr(e._startAt = Te.set(_, C)), e._startAt._dp = 0, e._startAt._sat = e, t < 0 && (Ge ? e._startAt.revert(Ho) : e._startAt.render(-1, !0)), e._zTime = t, !a)
5352
5392
  n(e._startAt, fe, fe);
5353
5393
  else if (!t)
5354
5394
  return;
5355
5395
  }
5356
- for (e._pt = e._ptCache = 0, l = m && mt(l) || l && !m, E = 0; E < _.length; E++) {
5357
- if ($ = _[E], I = $._gsap || da(_)[E]._gsap, e._ptLookup[E] = V = {}, As[I.id] && jr.length && ti(), Q = x === _ ? E : x.indexOf($), M && (U = new M()).init($, Y || k, e, Q, x) !== !1 && (e._pt = S = new vt(e._pt, $, U.name, 0, 1, U.render, U, 0, U.priority), U._props.forEach(function(ee) {
5396
+ for (e._pt = e._ptCache = 0, l = m && _t(l) || l && !m, E = 0; E < _.length; E++) {
5397
+ if ($ = _[E], I = $._gsap || da(_)[E]._gsap, e._ptLookup[E] = V = {}, As[I.id] && Rr.length && ti(), Q = x === _ ? E : x.indexOf($), M && (U = new M()).init($, Y || k, e, Q, x) !== !1 && (e._pt = S = new vt(e._pt, $, U.name, 0, 1, U.render, U, 0, U.priority), U._props.forEach(function(ee) {
5358
5398
  V[ee] = S;
5359
5399
  }), U.priority && (P = 1)), !M || Y)
5360
5400
  for (C in k)
5361
- $t[C] && (U = af(C, k, e, Q, $, x)) ? U.priority && (P = 1) : V[C] = S = ha.call(e, $, C, "get", k[C], Q, x, 0, o.stringFilter);
5362
- e._op && e._op[E] && e.kill($, e._op[E]), O && e._pt && (Er = e, ve.killTweensOf($, V, e.globalTime(t)), N = !e.parent, Er = 0), e._pt && l && (As[I.id] = 1);
5401
+ Lt[C] && (U = af(C, k, e, Q, $, x)) ? U.priority && (P = 1) : V[C] = S = ha.call(e, $, C, "get", k[C], Q, x, 0, o.stringFilter);
5402
+ e._op && e._op[E] && e.kill($, e._op[E]), O && e._pt && (Mr = e, be.killTweensOf($, V, e.globalTime(t)), N = !e.parent, Mr = 0), e._pt && l && (As[I.id] = 1);
5363
5403
  }
5364
5404
  P && pf(e), e._onInit && e._onInit(e);
5365
5405
  }
5366
- e._onUpdate = c, e._initted = (!e._op || e._pt) && !N, h && t <= 0 && y.render(Bt, !0, !0);
5406
+ e._onUpdate = c, e._initted = (!e._op || e._pt) && !N, h && t <= 0 && w.render(Bt, !0, !0);
5367
5407
  }, M2 = function(e, t, r, o, i, s, a, l) {
5368
- var c = (e._pt && e._ptCache || (e._ptCache = {}))[t], u, d, h, f;
5408
+ var c = (e._pt && e._ptCache || (e._ptCache = {}))[t], u, p, h, f;
5369
5409
  if (!c)
5370
5410
  for (c = e._ptCache[t] = [], h = e._ptLookup, f = e._targets.length; f--; ) {
5371
5411
  if (u = h[f][t], u && u.d && u.d._pt)
@@ -5376,7 +5416,7 @@ var L2 = function(e, t, r, o, i, s, a) {
5376
5416
  c.push(u);
5377
5417
  }
5378
5418
  for (f = c.length; f--; )
5379
- d = c[f], u = d._pt || d, u.s = (o || o === 0) && !i ? o : u.s + (o || 0) + s * u.c, u.c = r - u.s, d.e && (d.e = Le(r) + et(d.e)), d.b && (d.b = u.s + et(d.b));
5419
+ p = c[f], u = p._pt || p, u.s = (o || o === 0) && !i ? o : u.s + (o || 0) + s * u.c, u.c = r - u.s, p.e && (p.e = Le(r) + et(p.e)), p.b && (p.b = u.s + et(p.b));
5380
5420
  }, P2 = function(e, t) {
5381
5421
  var r = e[0] ? en(e[0]).harness : 0, o = r && r.aliases, i, s, a, l;
5382
5422
  if (!o)
@@ -5405,9 +5445,9 @@ var L2 = function(e, t, r, o, i, s, a) {
5405
5445
  e: i
5406
5446
  });
5407
5447
  }, io = function(e, t, r, o, i) {
5408
- return Ce(e) ? e.call(t, r, o, i) : Fe(e) && ~e.indexOf("random(") ? bo(e) : e;
5448
+ return Ce(e) ? e.call(t, r, o, i) : Fe(e) && ~e.indexOf("random(") ? vo(e) : e;
5409
5449
  }, lf = fa + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", cf = {};
5410
- _t(lf + ",id,stagger,delay,duration,paused,scrollTrigger", function(n) {
5450
+ bt(lf + ",id,stagger,delay,duration,paused,scrollTrigger", function(n) {
5411
5451
  return cf[n] = 1;
5412
5452
  });
5413
5453
  var Te = /* @__PURE__ */ (function(n) {
@@ -5415,28 +5455,28 @@ var Te = /* @__PURE__ */ (function(n) {
5415
5455
  function e(r, o, i, s) {
5416
5456
  var a;
5417
5457
  typeof o == "number" && (i.duration = o, o = i, i = null), a = n.call(this, s ? o : no(o)) || this;
5418
- var l = a.vars, c = l.duration, u = l.delay, d = l.immediateRender, h = l.stagger, f = l.overwrite, m = l.keyframes, p = l.defaults, _ = l.scrollTrigger, w = l.yoyoEase, x = o.parent || ve, O = (rt(r) || Mu(r) ? _r(r[0]) : "length" in o) ? [r] : Ft(r), y, k, E, C, S, $, P, I;
5419
- if (a._targets = O.length ? da(O) : _o("GSAP target " + r + " not found. https://gsap.com", !Tt.nullTargetWarn) || [], a._ptLookup = [], a._overwrite = f, m || h || So(c) || So(u)) {
5420
- if (o = a.vars, y = a.timeline = new dt({
5458
+ var l = a.vars, c = l.duration, u = l.delay, p = l.immediateRender, h = l.stagger, f = l.overwrite, m = l.keyframes, d = l.defaults, _ = l.scrollTrigger, v = l.yoyoEase, x = o.parent || be, O = (rt(r) || Mu(r) ? br(r[0]) : "length" in o) ? [r] : Ft(r), w, k, E, C, S, $, P, I;
5459
+ if (a._targets = O.length ? da(O) : _o("GSAP target " + r + " not found. https://gsap.com", !jt.nullTargetWarn) || [], a._ptLookup = [], a._overwrite = f, m || h || So(c) || So(u)) {
5460
+ if (o = a.vars, w = a.timeline = new dt({
5421
5461
  data: "nested",
5422
- defaults: p || {},
5462
+ defaults: d || {},
5423
5463
  targets: x && x.data === "nested" ? x.vars.targets : O
5424
- }), y.kill(), y.parent = y._dp = dr(a), y._start = 0, h || So(c) || So(u)) {
5425
- if (C = O.length, P = h && Gu(h), ir(h))
5464
+ }), w.kill(), w.parent = w._dp = pr(a), w._start = 0, h || So(c) || So(u)) {
5465
+ if (C = O.length, P = h && Gu(h), sr(h))
5426
5466
  for (S in h)
5427
5467
  ~lf.indexOf(S) && (I || (I = {}), I[S] = h[S]);
5428
5468
  for (k = 0; k < C; k++)
5429
- E = ri(o, cf), E.stagger = 0, w && (E.yoyoEase = w), I && Tn(E, I), $ = O[k], E.duration = +io(c, dr(a), k, $, O), E.delay = (+io(u, dr(a), k, $, O) || 0) - a._delay, !h && C === 1 && E.delay && (a._delay = u = E.delay, a._start += u, E.delay = 0), y.to($, E, P ? P(k, $, O) : 0), y._ease = ne.none;
5430
- y.duration() ? c = u = 0 : a.timeline = 0;
5469
+ E = ri(o, cf), E.stagger = 0, v && (E.yoyoEase = v), I && Tn(E, I), $ = O[k], E.duration = +io(c, pr(a), k, $, O), E.delay = (+io(u, pr(a), k, $, O) || 0) - a._delay, !h && C === 1 && E.delay && (a._delay = u = E.delay, a._start += u, E.delay = 0), w.to($, E, P ? P(k, $, O) : 0), w._ease = ne.none;
5470
+ w.duration() ? c = u = 0 : a.timeline = 0;
5431
5471
  } else if (m) {
5432
- no(At(y.vars.defaults, {
5472
+ no(At(w.vars.defaults, {
5433
5473
  ease: "none"
5434
- })), y._ease = rn(m.ease || o.ease || "none");
5474
+ })), w._ease = rn(m.ease || o.ease || "none");
5435
5475
  var M = 0, U, V, Q;
5436
5476
  if (rt(m))
5437
5477
  m.forEach(function(Y) {
5438
- return y.to(O, Y, ">");
5439
- }), y.duration();
5478
+ return w.to(O, Y, ">");
5479
+ }), w.duration();
5440
5480
  else {
5441
5481
  E = {};
5442
5482
  for (S in m)
@@ -5448,43 +5488,43 @@ var Te = /* @__PURE__ */ (function(n) {
5448
5488
  V = U[k], Q = {
5449
5489
  ease: V.e,
5450
5490
  duration: (V.t - (k ? U[k - 1].t : 0)) / 100 * c
5451
- }, Q[S] = V.v, y.to(O, Q, M), M += Q.duration;
5452
- y.duration() < c && y.to({}, {
5453
- duration: c - y.duration()
5491
+ }, Q[S] = V.v, w.to(O, Q, M), M += Q.duration;
5492
+ w.duration() < c && w.to({}, {
5493
+ duration: c - w.duration()
5454
5494
  });
5455
5495
  }
5456
5496
  }
5457
- c || a.duration(c = y.duration());
5497
+ c || a.duration(c = w.duration());
5458
5498
  } else
5459
5499
  a.timeline = 0;
5460
- return f === !0 && !ia && (Er = dr(a), ve.killTweensOf(O), Er = 0), tr(x, dr(a), i), o.reversed && a.reverse(), o.paused && a.paused(!0), (d || !c && !m && a._start === _e(x._time) && mt(d) && l2(dr(a)) && x.data !== "nested") && (a._tTime = -fe, a.render(Math.max(0, -u) || 0)), _ && Vu(dr(a), _), a;
5500
+ return f === !0 && !ia && (Mr = pr(a), be.killTweensOf(O), Mr = 0), tr(x, pr(a), i), o.reversed && a.reverse(), o.paused && a.paused(!0), (p || !c && !m && a._start === _e(x._time) && _t(p) && l2(pr(a)) && x.data !== "nested") && (a._tTime = -fe, a.render(Math.max(0, -u) || 0)), _ && Vu(pr(a), _), a;
5461
5501
  }
5462
5502
  var t = e.prototype;
5463
5503
  return t.render = function(o, i, s) {
5464
- var a = this._time, l = this._tDur, c = this._dur, u = o < 0, d = o > l - fe && !u ? l : o < fe ? 0 : o, h, f, m, p, _, w, x, O, y;
5504
+ var a = this._time, l = this._tDur, c = this._dur, u = o < 0, p = o > l - fe && !u ? l : o < fe ? 0 : o, h, f, m, d, _, v, x, O, w;
5465
5505
  if (!c)
5466
5506
  u2(this, o, i, s);
5467
- else if (d !== this._tTime || !o || s || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== u || this._lazy) {
5468
- if (h = d, O = this.timeline, this._repeat) {
5469
- if (p = c + this._rDelay, this._repeat < -1 && u)
5470
- return this.totalTime(p * 100 + o, i, s);
5471
- if (h = _e(d % p), d === l ? (m = this._repeat, h = c) : (_ = _e(d / p), m = ~~_, m && m === _ ? (h = c, m--) : h > c && (h = c)), w = this._yoyo && m & 1, w && (y = this._yEase, h = c - h), _ = jn(this._tTime, p), h === a && !s && this._initted && m === _)
5472
- return this._tTime = d, this;
5473
- m !== _ && (O && this._yEase && nf(O, w), this.vars.repeatRefresh && !w && !this._lock && h !== p && this._initted && (this._lock = s = 1, this.render(_e(p * m), !0).invalidate()._lock = 0));
5507
+ else if (p !== this._tTime || !o || s || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== u || this._lazy) {
5508
+ if (h = p, O = this.timeline, this._repeat) {
5509
+ if (d = c + this._rDelay, this._repeat < -1 && u)
5510
+ return this.totalTime(d * 100 + o, i, s);
5511
+ if (h = _e(p % d), p === l ? (m = this._repeat, h = c) : (_ = _e(p / d), m = ~~_, m && m === _ ? (h = c, m--) : h > c && (h = c)), v = this._yoyo && m & 1, v && (w = this._yEase, h = c - h), _ = jn(this._tTime, d), h === a && !s && this._initted && m === _)
5512
+ return this._tTime = p, this;
5513
+ m !== _ && (O && this._yEase && nf(O, v), this.vars.repeatRefresh && !v && !this._lock && h !== d && this._initted && (this._lock = s = 1, this.render(_e(d * m), !0).invalidate()._lock = 0));
5474
5514
  }
5475
5515
  if (!this._initted) {
5476
- if (Wu(this, u ? o : h, s, i, d))
5516
+ if (Wu(this, u ? o : h, s, i, p))
5477
5517
  return this._tTime = 0, this;
5478
5518
  if (a !== this._time && !(s && this.vars.repeatRefresh && m !== _))
5479
5519
  return this;
5480
5520
  if (c !== this._dur)
5481
5521
  return this.render(o, i, s);
5482
5522
  }
5483
- if (this._tTime = d, this._time = h, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = x = (y || this._ease)(h / c), this._from && (this.ratio = x = 1 - x), !a && d && !i && !_ && (Pt(this, "onStart"), this._tTime !== d))
5523
+ if (this._tTime = p, this._time = h, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = x = (w || this._ease)(h / c), this._from && (this.ratio = x = 1 - x), !a && p && !i && !_ && (St(this, "onStart"), this._tTime !== p))
5484
5524
  return this;
5485
5525
  for (f = this._pt; f; )
5486
5526
  f.r(x, f.d), f = f._next;
5487
- O && O.render(o < 0 ? o : O._dur * O._ease(h / this._dur), i, s) || this._startAt && (this._zTime = o), this._onUpdate && !i && (u && Ds(this, o, i, s), Pt(this, "onUpdate")), this._repeat && m !== _ && this.vars.onRepeat && !i && this.parent && Pt(this, "onRepeat"), (d === this._tDur || !d) && this._tTime === d && (u && !this._onUpdate && Ds(this, o, !0, !0), (o || !c) && (d === this._tDur && this._ts > 0 || !d && this._ts < 0) && Nr(this, 1), !i && !(u && !a) && (d || a || w) && (Pt(this, d === l ? "onComplete" : "onReverseComplete", !0), this._prom && !(d < l && this.timeScale() > 0) && this._prom()));
5527
+ O && O.render(o < 0 ? o : O._dur * O._ease(h / this._dur), i, s) || this._startAt && (this._zTime = o), this._onUpdate && !i && (u && Ds(this, o, i, s), St(this, "onUpdate")), this._repeat && m !== _ && this.vars.onRepeat && !i && this.parent && St(this, "onRepeat"), (p === this._tDur || !p) && this._tTime === p && (u && !this._onUpdate && Ds(this, o, !0, !0), (o || !c) && (p === this._tDur && this._ts > 0 || !p && this._ts < 0) && Nr(this, 1), !i && !(u && !a) && (p || a || v) && (St(this, p === l ? "onComplete" : "onReverseComplete", !0), this._prom && !(p < l && this.timeScale() > 0) && this._prom()));
5488
5528
  }
5489
5529
  return this;
5490
5530
  }, t.targets = function() {
@@ -5492,7 +5532,7 @@ var Te = /* @__PURE__ */ (function(n) {
5492
5532
  }, t.invalidate = function(o) {
5493
5533
  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);
5494
5534
  }, t.resetTo = function(o, i, s, a, l) {
5495
- yo || Et.wake(), this._ts || this.play();
5535
+ yo || Mt.wake(), this._ts || this.play();
5496
5536
  var c = Math.min(this._dur, (this._dp._time - this._start) * this._ts), u;
5497
5537
  return this._initted || ga(this, c), u = this._ease(c / this._dur), M2(this, o, i, s, a, u, c, l) ? this.resetTo(o, i, s, a, 1) : (pi(this, 0), this.parent || Bu(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
5498
5538
  }, t.kill = function(o, i) {
@@ -5500,18 +5540,18 @@ var Te = /* @__PURE__ */ (function(n) {
5500
5540
  return this._lazy = this._pt = 0, this.parent ? qn(this) : this.scrollTrigger && this.scrollTrigger.kill(!!Ge), this;
5501
5541
  if (this.timeline) {
5502
5542
  var s = this.timeline.totalDuration();
5503
- return this.timeline.killTweensOf(o, i, Er && Er.vars.overwrite !== !0)._first || qn(this), this.parent && s !== this.timeline.totalDuration() && Rn(this, this._dur * this.timeline._tDur / s, 0, 1), this;
5543
+ return this.timeline.killTweensOf(o, i, Mr && Mr.vars.overwrite !== !0)._first || qn(this), this.parent && s !== this.timeline.totalDuration() && Rn(this, this._dur * this.timeline._tDur / s, 0, 1), this;
5504
5544
  }
5505
- var a = this._targets, l = o ? Ft(o) : a, c = this._ptLookup, u = this._pt, d, h, f, m, p, _, w;
5545
+ var a = this._targets, l = o ? Ft(o) : a, c = this._ptLookup, u = this._pt, p, h, f, m, d, _, v;
5506
5546
  if ((!i || i === "all") && s2(a, l))
5507
5547
  return i === "all" && (this._pt = 0), qn(this);
5508
- for (d = this._op = this._op || [], i !== "all" && (Fe(i) && (p = {}, _t(i, function(x) {
5509
- return p[x] = 1;
5510
- }), i = p), i = P2(a, i)), w = a.length; w--; )
5511
- if (~l.indexOf(a[w])) {
5512
- h = c[w], i === "all" ? (d[w] = i, m = h, f = {}) : (f = d[w] = d[w] || {}, m = i);
5513
- for (p in m)
5514
- _ = h && h[p], _ && ((!("kill" in _.d) || _.d.kill(p) === !0) && fi(this, _, "_pt"), delete h[p]), f !== "all" && (f[p] = 1);
5548
+ for (p = this._op = this._op || [], i !== "all" && (Fe(i) && (d = {}, bt(i, function(x) {
5549
+ return d[x] = 1;
5550
+ }), i = d), i = P2(a, i)), v = a.length; v--; )
5551
+ if (~l.indexOf(a[v])) {
5552
+ h = c[v], i === "all" ? (p[v] = i, m = h, f = {}) : (f = p[v] = p[v] || {}, m = i);
5553
+ for (d in m)
5554
+ _ = h && h[d], _ && ((!("kill" in _.d) || _.d.kill(d) === !0) && fi(this, _, "_pt"), delete h[d]), f !== "all" && (f[d] = 1);
5515
5555
  }
5516
5556
  return this._initted && !this._pt && u && qn(this), this;
5517
5557
  }, e.to = function(o, i) {
@@ -5535,7 +5575,7 @@ var Te = /* @__PURE__ */ (function(n) {
5535
5575
  }, e.set = function(o, i) {
5536
5576
  return i.duration = 0, i.repeatDelay || (i.repeat = 0), new e(o, i);
5537
5577
  }, e.killTweensOf = function(o, i, s) {
5538
- return ve.killTweensOf(o, i, s);
5578
+ return be.killTweensOf(o, i, s);
5539
5579
  }, e;
5540
5580
  })(wo);
5541
5581
  At(Te.prototype, {
@@ -5545,7 +5585,7 @@ At(Te.prototype, {
5545
5585
  _op: 0,
5546
5586
  _onInit: 0
5547
5587
  });
5548
- _t("staggerTo,staggerFrom,staggerFromTo", function(n) {
5588
+ bt("staggerTo,staggerFrom,staggerFromTo", function(n) {
5549
5589
  Te[n] = function() {
5550
5590
  var e = new dt(), t = zs.call(arguments, 0);
5551
5591
  return t.splice(n === "staggerFromTo" ? 5 : 4, 0, 0), e[n].apply(e, t);
@@ -5577,7 +5617,7 @@ var ma = function(e, t, r) {
5577
5617
  o += t.c;
5578
5618
  }
5579
5619
  t.set(t.t, t.p, o, t);
5580
- }, va = function(e, t) {
5620
+ }, ba = function(e, t) {
5581
5621
  for (var r = t._pt; r; )
5582
5622
  r.r(e, r.d), r = r._next;
5583
5623
  }, A2 = function(e, t, r, o) {
@@ -5605,19 +5645,19 @@ var ma = function(e, t, r) {
5605
5645
  this.mSet = this.mSet || this.set, this.set = N2, this.m = r, this.mt = i, this.tween = o;
5606
5646
  }, n;
5607
5647
  })();
5608
- _t(fa + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function(n) {
5648
+ bt(fa + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function(n) {
5609
5649
  return ua[n] = 1;
5610
5650
  });
5611
5651
  Rt.TweenMax = Rt.TweenLite = Te;
5612
5652
  Rt.TimelineLite = Rt.TimelineMax = dt;
5613
- ve = new dt({
5653
+ be = new dt({
5614
5654
  sortChildren: !1,
5615
5655
  defaults: Sn,
5616
5656
  autoRemoveChildren: !0,
5617
5657
  id: "root",
5618
5658
  smoothChildTiming: !0
5619
5659
  });
5620
- Tt.stringFilter = tf;
5660
+ jt.stringFilter = tf;
5621
5661
  var nn = [], Go = {}, z2 = [], Hc = 0, I2 = 0, xs = function(e) {
5622
5662
  return (Go[e] || z2).map(function(t) {
5623
5663
  return t();
@@ -5642,8 +5682,8 @@ var nn = [], Go = {}, z2 = [], Hc = 0, I2 = 0, xs = function(e) {
5642
5682
  return e.add = function(r, o, i) {
5643
5683
  Ce(r) && (i = o, o = r, r = Ce);
5644
5684
  var s = this, a = function() {
5645
- var c = ge, u = s.selector, d;
5646
- return c && c !== s && c.data.push(s), i && (s.selector = Is(i)), ge = s, d = o.apply(s, arguments), Ce(d) && s._r.push(d), ge = c, s.selector = u, s.isReverted = !1, d;
5685
+ var c = ge, u = s.selector, p;
5686
+ return c && c !== s && c.data.push(s), i && (s.selector = Is(i)), ge = s, p = o.apply(s, arguments), Ce(p) && s._r.push(p), ge = c, s.selector = u, s.isReverted = !1, p;
5647
5687
  };
5648
5688
  return s.last = a, r === Ce ? a(s, function(l) {
5649
5689
  return s.add(null, l);
@@ -5670,8 +5710,8 @@ var nn = [], Go = {}, z2 = [], Hc = 0, I2 = 0, xs = function(e) {
5670
5710
  g: u._dur || u._delay || u._sat && !u._sat.vars.immediateRender ? u.globalTime(0) : -1 / 0,
5671
5711
  t: u
5672
5712
  };
5673
- }).sort(function(u, d) {
5674
- return d.g - u.g || -1 / 0;
5713
+ }).sort(function(u, p) {
5714
+ return p.g - u.g || -1 / 0;
5675
5715
  }).forEach(function(u) {
5676
5716
  return u.t.revert(r);
5677
5717
  }), l = i.data.length; l--; )
@@ -5693,15 +5733,15 @@ var nn = [], Go = {}, z2 = [], Hc = 0, I2 = 0, xs = function(e) {
5693
5733
  }
5694
5734
  var e = n.prototype;
5695
5735
  return e.add = function(r, o, i) {
5696
- ir(r) || (r = {
5736
+ sr(r) || (r = {
5697
5737
  matches: r
5698
5738
  });
5699
5739
  var s = new hf(0, i || this.scope), a = s.conditions = {}, l, c, u;
5700
5740
  ge && !s.selector && (s.selector = ge.selector), this.contexts.push(s), o = s.add("onMatch", o), s.queries = r;
5701
5741
  for (c in r)
5702
5742
  c === "all" ? u = 1 : (l = Jt.matchMedia(r[c]), l && (nn.indexOf(s) < 0 && nn.push(s), (a[c] = l.matches) && (u = 1), l.addListener ? l.addListener(Vs) : l.addEventListener("change", Vs)));
5703
- return u && o(s, function(d) {
5704
- return s.add(null, d);
5743
+ return u && o(s, function(p) {
5744
+ return s.add(null, p);
5705
5745
  }), this;
5706
5746
  }, e.revert = function(r) {
5707
5747
  this.kill(r || {});
@@ -5722,57 +5762,57 @@ var nn = [], Go = {}, z2 = [], Hc = 0, I2 = 0, xs = function(e) {
5722
5762
  return new dt(e);
5723
5763
  },
5724
5764
  getTweensOf: function(e, t) {
5725
- return ve.getTweensOf(e, t);
5765
+ return be.getTweensOf(e, t);
5726
5766
  },
5727
5767
  getProperty: function(e, t, r, o) {
5728
5768
  Fe(e) && (e = Ft(e)[0]);
5729
5769
  var i = en(e || {}).get, s = r ? Iu : zu;
5730
- return r === "native" && (r = ""), e && (t ? s(($t[t] && $t[t].get || i)(e, t, r, o)) : function(a, l, c) {
5731
- return s(($t[a] && $t[a].get || i)(e, a, l, c));
5770
+ return r === "native" && (r = ""), e && (t ? s((Lt[t] && Lt[t].get || i)(e, t, r, o)) : function(a, l, c) {
5771
+ return s((Lt[a] && Lt[a].get || i)(e, a, l, c));
5732
5772
  });
5733
5773
  },
5734
5774
  quickSetter: function(e, t, r) {
5735
5775
  if (e = Ft(e), e.length > 1) {
5736
5776
  var o = e.map(function(u) {
5737
- return yt.quickSetter(u, t, r);
5777
+ return wt.quickSetter(u, t, r);
5738
5778
  }), i = o.length;
5739
5779
  return function(u) {
5740
- for (var d = i; d--; )
5741
- o[d](u);
5780
+ for (var p = i; p--; )
5781
+ o[p](u);
5742
5782
  };
5743
5783
  }
5744
5784
  e = e[0] || {};
5745
- var s = $t[t], a = en(e), l = a.harness && (a.harness.aliases || {})[t] || t, c = s ? function(u) {
5746
- var d = new s();
5747
- wn._pt = 0, d.init(e, r ? u + r : u, wn, 0, [e]), d.render(1, d), wn._pt && va(1, wn);
5785
+ var s = Lt[t], a = en(e), l = a.harness && (a.harness.aliases || {})[t] || t, c = s ? function(u) {
5786
+ var p = new s();
5787
+ xn._pt = 0, p.init(e, r ? u + r : u, xn, 0, [e]), p.render(1, p), xn._pt && ba(1, xn);
5748
5788
  } : a.set(e, l);
5749
5789
  return s ? c : function(u) {
5750
5790
  return c(e, l, r ? u + r : u, a, 1);
5751
5791
  };
5752
5792
  },
5753
5793
  quickTo: function(e, t, r) {
5754
- var o, i = yt.to(e, At((o = {}, o[t] = "+=0.1", o.paused = !0, o.stagger = 0, o), r || {})), s = function(l, c, u) {
5794
+ var o, i = wt.to(e, At((o = {}, o[t] = "+=0.1", o.paused = !0, o.stagger = 0, o), r || {})), s = function(l, c, u) {
5755
5795
  return i.resetTo(t, l, c, u);
5756
5796
  };
5757
5797
  return s.tween = i, s;
5758
5798
  },
5759
5799
  isTweening: function(e) {
5760
- return ve.getTweensOf(e, !0).length > 0;
5800
+ return be.getTweensOf(e, !0).length > 0;
5761
5801
  },
5762
5802
  defaults: function(e) {
5763
5803
  return e && e.ease && (e.ease = rn(e.ease, Sn.ease)), Ic(Sn, e || {});
5764
5804
  },
5765
5805
  config: function(e) {
5766
- return Ic(Tt, e || {});
5806
+ return Ic(jt, e || {});
5767
5807
  },
5768
5808
  registerEffect: function(e) {
5769
5809
  var t = e.name, r = e.effect, o = e.plugins, i = e.defaults, s = e.extendTimeline;
5770
5810
  (o || "").split(",").forEach(function(a) {
5771
- return a && !$t[a] && !Rt[a] && _o(t + " effect requires " + a + " plugin.");
5772
- }), vs[t] = function(a, l, c) {
5811
+ return a && !Lt[a] && !Rt[a] && _o(t + " effect requires " + a + " plugin.");
5812
+ }), bs[t] = function(a, l, c) {
5773
5813
  return r(Ft(a), At(l || {}, i), c);
5774
5814
  }, s && (dt.prototype[t] = function(a, l, c) {
5775
- return this.add(vs[t](a, ir(l) ? l : (c = l) && {}, this), c);
5815
+ return this.add(bs[t](a, sr(l) ? l : (c = l) && {}, this), c);
5776
5816
  });
5777
5817
  },
5778
5818
  registerEase: function(e, t) {
@@ -5782,14 +5822,14 @@ var nn = [], Go = {}, z2 = [], Hc = 0, I2 = 0, xs = function(e) {
5782
5822
  return arguments.length ? rn(e, t) : ne;
5783
5823
  },
5784
5824
  getById: function(e) {
5785
- return ve.getById(e);
5825
+ return be.getById(e);
5786
5826
  },
5787
5827
  exportRoot: function(e, t) {
5788
5828
  e === void 0 && (e = {});
5789
5829
  var r = new dt(e), o, i;
5790
- for (r.smoothChildTiming = mt(e.smoothChildTiming), ve.remove(r), r._dp = 0, r._time = r._tTime = ve._time, o = ve._first; o; )
5830
+ for (r.smoothChildTiming = _t(e.smoothChildTiming), be.remove(r), r._dp = 0, r._time = r._tTime = be._time, o = be._first; o; )
5791
5831
  i = o._next, (t || !(!o._dur && o instanceof Te && o.vars.onComplete === o._targets[0])) && tr(r, o, o._start - o._delay), o = i;
5792
- return tr(ve, r, 0), r;
5832
+ return tr(be, r, 0), r;
5793
5833
  },
5794
5834
  context: function(e, t) {
5795
5835
  return e ? new hf(e, t) : ge;
@@ -5814,8 +5854,8 @@ var nn = [], Go = {}, z2 = [], Hc = 0, I2 = 0, xs = function(e) {
5814
5854
  o >= 0 && r.splice(o, 1);
5815
5855
  },
5816
5856
  utils: {
5817
- wrap: v2,
5818
- wrapYoyo: b2,
5857
+ wrap: b2,
5858
+ wrapYoyo: v2,
5819
5859
  distribute: Gu,
5820
5860
  random: Uu,
5821
5861
  snap: Xu,
@@ -5832,11 +5872,11 @@ var nn = [], Go = {}, z2 = [], Hc = 0, I2 = 0, xs = function(e) {
5832
5872
  shuffle: Yu
5833
5873
  },
5834
5874
  install: ju,
5835
- effects: vs,
5836
- ticker: Et,
5875
+ effects: bs,
5876
+ ticker: Mt,
5837
5877
  updateRoot: dt.updateRoot,
5838
- plugins: $t,
5839
- globalTimeline: ve,
5878
+ plugins: Lt,
5879
+ globalTimeline: be,
5840
5880
  core: {
5841
5881
  PropTween: vt,
5842
5882
  globals: Ru,
@@ -5856,11 +5896,11 @@ var nn = [], Go = {}, z2 = [], Hc = 0, I2 = 0, xs = function(e) {
5856
5896
  }
5857
5897
  }
5858
5898
  };
5859
- _t("to,from,fromTo,delayedCall,set,killTweensOf", function(n) {
5899
+ bt("to,from,fromTo,delayedCall,set,killTweensOf", function(n) {
5860
5900
  return oi[n] = Te[n];
5861
5901
  });
5862
- Et.add(dt.updateRoot);
5863
- wn = oi.to({}, {
5902
+ Mt.add(dt.updateRoot);
5903
+ xn = oi.to({}, {
5864
5904
  duration: 0
5865
5905
  });
5866
5906
  var F2 = function(e, t) {
@@ -5881,7 +5921,7 @@ var F2 = function(e, t) {
5881
5921
  init: function(o, i, s) {
5882
5922
  s._onInit = function(a) {
5883
5923
  var l, c;
5884
- if (Fe(i) && (l = {}, _t(i, function(u) {
5924
+ if (Fe(i) && (l = {}, bt(i, function(u) {
5885
5925
  return l[u] = 1;
5886
5926
  }), i = l), t) {
5887
5927
  l = {};
@@ -5893,7 +5933,7 @@ var F2 = function(e, t) {
5893
5933
  };
5894
5934
  }
5895
5935
  };
5896
- }, yt = oi.registerPlugin({
5936
+ }, wt = oi.registerPlugin({
5897
5937
  name: "attr",
5898
5938
  init: function(e, t, r, o, i) {
5899
5939
  var s, a, l;
@@ -5913,7 +5953,7 @@ var F2 = function(e, t) {
5913
5953
  this.add(e, r, e[r] || 0, t[r], 0, 0, 0, 0, 0, 1);
5914
5954
  }
5915
5955
  }, Cs("roundProps", Bs), Cs("modifiers"), Cs("snap", Xu)) || oi;
5916
- Te.version = dt.version = yt.version = "3.14.2";
5956
+ Te.version = dt.version = wt.version = "3.14.2";
5917
5957
  Tu = 1;
5918
5958
  aa() && An();
5919
5959
  ne.Power0;
@@ -5942,9 +5982,9 @@ ne.Circ;
5942
5982
  * Subject to the terms at https://gsap.com/standard-license
5943
5983
  * @author: Jack Doyle, jack@greensock.com
5944
5984
  */
5945
- var Yc, Mr, On, ba, Qr, Gc, ya, W2 = function() {
5985
+ var Yc, Pr, $n, va, Qr, Gc, ya, W2 = function() {
5946
5986
  return typeof window < "u";
5947
- }, vr = {}, qr = 180 / Math.PI, $n = Math.PI / 180, gn = Math.atan2, Xc = 1e8, wa = /([A-Z])/g, H2 = /(left|right|width|margin|padding|x)/i, Y2 = /[\s,\(]\S/, rr = {
5987
+ }, vr = {}, qr = 180 / Math.PI, Ln = Math.PI / 180, mn = Math.atan2, Xc = 1e8, wa = /([A-Z])/g, H2 = /(left|right|width|margin|padding|x)/i, Y2 = /[\s,\(]\S/, rr = {
5948
5988
  autoAlpha: "opacity,visibility",
5949
5989
  scale: "scaleX,scaleY",
5950
5990
  alpha: "opacity"
@@ -5977,20 +6017,20 @@ var Yc, Mr, On, ba, Qr, Gc, ya, W2 = function() {
5977
6017
  }, t_ = function(e, t, r, o, i) {
5978
6018
  var s = e._gsap;
5979
6019
  s[t] = r, s.renderTransform(i, s);
5980
- }, be = "transform", bt = be + "Origin", r_ = function n(e, t) {
6020
+ }, ve = "transform", yt = ve + "Origin", r_ = function n(e, t) {
5981
6021
  var r = this, o = this.target, i = o.style, s = o._gsap;
5982
6022
  if (e in vr && i) {
5983
6023
  if (this.tfm = this.tfm || {}, e !== "transform")
5984
6024
  e = rr[e] || e, ~e.indexOf(",") ? e.split(",").forEach(function(a) {
5985
- return r.tfm[a] = pr(o, a);
5986
- }) : this.tfm[e] = s.x ? s[e] : pr(o, e), e === bt && (this.tfm.zOrigin = s.zOrigin);
6025
+ return r.tfm[a] = hr(o, a);
6026
+ }) : this.tfm[e] = s.x ? s[e] : hr(o, e), e === yt && (this.tfm.zOrigin = s.zOrigin);
5987
6027
  else
5988
6028
  return rr.transform.split(",").forEach(function(a) {
5989
6029
  return n.call(r, a, t);
5990
6030
  });
5991
- if (this.props.indexOf(be) >= 0)
6031
+ if (this.props.indexOf(ve) >= 0)
5992
6032
  return;
5993
- s.svg && (this.svgo = o.getAttribute("data-svg-origin"), this.props.push(bt, t, "")), e = be;
6033
+ s.svg && (this.svgo = o.getAttribute("data-svg-origin"), this.props.push(yt, t, "")), e = ve;
5994
6034
  }
5995
6035
  (i || t) && this.props.push(e, t, i[e]);
5996
6036
  }, _f = function(e) {
@@ -6002,22 +6042,22 @@ var Yc, Mr, On, ba, Qr, Gc, ya, W2 = function() {
6002
6042
  if (this.tfm) {
6003
6043
  for (s in this.tfm)
6004
6044
  o[s] = this.tfm[s];
6005
- o.svg && (o.renderTransform(), t.setAttribute("data-svg-origin", this.svgo || "")), i = ya(), (!i || !i.isStart) && !r[be] && (_f(r), o.zOrigin && r[bt] && (r[bt] += " " + o.zOrigin + "px", o.zOrigin = 0, o.renderTransform()), o.uncache = 1);
6045
+ o.svg && (o.renderTransform(), t.setAttribute("data-svg-origin", this.svgo || "")), i = ya(), (!i || !i.isStart) && !r[ve] && (_f(r), o.zOrigin && r[yt] && (r[yt] += " " + o.zOrigin + "px", o.zOrigin = 0, o.renderTransform()), o.uncache = 1);
6006
6046
  }
6007
- }, vf = function(e, t) {
6047
+ }, bf = function(e, t) {
6008
6048
  var r = {
6009
6049
  target: e,
6010
6050
  props: [],
6011
6051
  revert: n_,
6012
6052
  save: r_
6013
6053
  };
6014
- return e._gsap || yt.core.getCache(e), t && e.style && e.nodeType && t.split(",").forEach(function(o) {
6054
+ return e._gsap || wt.core.getCache(e), t && e.style && e.nodeType && t.split(",").forEach(function(o) {
6015
6055
  return r.save(o);
6016
6056
  }), r;
6017
- }, bf, Hs = function(e, t) {
6018
- var r = Mr.createElementNS ? Mr.createElementNS((t || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), e) : Mr.createElement(e);
6019
- return r && r.style ? r : Mr.createElement(e);
6020
- }, St = function n(e, t, r) {
6057
+ }, vf, Hs = function(e, t) {
6058
+ var r = Pr.createElementNS ? Pr.createElementNS((t || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), e) : Pr.createElement(e);
6059
+ return r && r.style ? r : Pr.createElement(e);
6060
+ }, Tt = function n(e, t, r) {
6021
6061
  var o = getComputedStyle(e);
6022
6062
  return o[t] || o.getPropertyValue(t.replace(wa, "-$1").toLowerCase()) || o.getPropertyValue(t) || !r && n(e, Dn(t) || t, 1) || "";
6023
6063
  }, Uc = "O,Moz,ms,Ms,Webkit".split(","), Dn = function(e, t, r) {
@@ -6028,17 +6068,17 @@ var Yc, Mr, On, ba, Qr, Gc, ya, W2 = function() {
6028
6068
  ;
6029
6069
  return s < 0 ? null : (s === 3 ? "ms" : s >= 0 ? Uc[s] : "") + e;
6030
6070
  }, Ys = function() {
6031
- W2() && window.document && (Yc = window, Mr = Yc.document, On = Mr.documentElement, Qr = Hs("div") || {
6071
+ W2() && window.document && (Yc = window, Pr = Yc.document, $n = Pr.documentElement, Qr = Hs("div") || {
6032
6072
  style: {}
6033
- }, Hs("div"), be = Dn(be), bt = be + "Origin", Qr.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", bf = !!Dn("perspective"), ya = yt.core.reverting, ba = 1);
6073
+ }, Hs("div"), ve = Dn(ve), yt = ve + "Origin", Qr.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", vf = !!Dn("perspective"), ya = wt.core.reverting, va = 1);
6034
6074
  }, qc = function(e) {
6035
6075
  var t = e.ownerSVGElement, r = Hs("svg", t && t.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), o = e.cloneNode(!0), i;
6036
- o.style.display = "block", r.appendChild(o), On.appendChild(r);
6076
+ o.style.display = "block", r.appendChild(o), $n.appendChild(r);
6037
6077
  try {
6038
6078
  i = o.getBBox();
6039
6079
  } catch {
6040
6080
  }
6041
- return r.removeChild(o), On.removeChild(r), i;
6081
+ return r.removeChild(o), $n.removeChild(r), i;
6042
6082
  }, Zc = function(e, t) {
6043
6083
  for (var r = t.length; r--; )
6044
6084
  if (e.hasAttribute(t[r]))
@@ -6061,9 +6101,9 @@ var Yc, Mr, On, ba, Qr, Gc, ya, W2 = function() {
6061
6101
  }, zr = function(e, t) {
6062
6102
  if (t) {
6063
6103
  var r = e.style, o;
6064
- t in vr && t !== bt && (t = be), r.removeProperty ? (o = t.substr(0, 2), (o === "ms" || t.substr(0, 6) === "webkit") && (t = "-" + t), r.removeProperty(o === "--" ? t : t.replace(wa, "-$1").toLowerCase())) : r.removeAttribute(t);
6104
+ t in vr && t !== yt && (t = ve), r.removeProperty ? (o = t.substr(0, 2), (o === "ms" || t.substr(0, 6) === "webkit") && (t = "-" + t), r.removeProperty(o === "--" ? t : t.replace(wa, "-$1").toLowerCase())) : r.removeAttribute(t);
6065
6105
  }
6066
- }, Pr = function(e, t, r, o, i, s) {
6106
+ }, Sr = function(e, t, r, o, i, s) {
6067
6107
  var a = new vt(e._pt, t, r, 0, 1, s ? mf : gf);
6068
6108
  return e._pt = a, a.b = o, a.e = i, e._props.push(r), a;
6069
6109
  }, Kc = {
@@ -6074,36 +6114,36 @@ var Yc, Mr, On, ba, Qr, Gc, ya, W2 = function() {
6074
6114
  grid: 1,
6075
6115
  flex: 1
6076
6116
  }, Ir = function n(e, t, r, o) {
6077
- var i = parseFloat(r) || 0, s = (r + "").trim().substr((i + "").length) || "px", a = Qr.style, l = H2.test(t), c = e.tagName.toLowerCase() === "svg", u = (c ? "client" : "offset") + (l ? "Width" : "Height"), d = 100, h = o === "px", f = o === "%", m, p, _, w;
6117
+ var i = parseFloat(r) || 0, s = (r + "").trim().substr((i + "").length) || "px", a = Qr.style, l = H2.test(t), c = e.tagName.toLowerCase() === "svg", u = (c ? "client" : "offset") + (l ? "Width" : "Height"), p = 100, h = o === "px", f = o === "%", m, d, _, v;
6078
6118
  if (o === s || !i || Kc[o] || Kc[s])
6079
6119
  return i;
6080
- if (s !== "px" && !h && (i = n(e, t, r, "px")), w = e.getCTM && wf(e), (f || s === "%") && (vr[t] || ~t.indexOf("adius")))
6081
- return m = w ? e.getBBox()[l ? "width" : "height"] : e[u], Le(f ? i / m * d : i / 100 * m);
6082
- if (a[l ? "width" : "height"] = d + (h ? s : o), p = o !== "rem" && ~t.indexOf("adius") || o === "em" && e.appendChild && !c ? e : e.parentNode, w && (p = (e.ownerSVGElement || {}).parentNode), (!p || p === Mr || !p.appendChild) && (p = Mr.body), _ = p._gsap, _ && f && _.width && l && _.time === Et.time && !_.uncache)
6083
- return Le(i / _.width * d);
6120
+ if (s !== "px" && !h && (i = n(e, t, r, "px")), v = e.getCTM && wf(e), (f || s === "%") && (vr[t] || ~t.indexOf("adius")))
6121
+ return m = v ? e.getBBox()[l ? "width" : "height"] : e[u], Le(f ? i / m * p : i / 100 * m);
6122
+ if (a[l ? "width" : "height"] = p + (h ? s : o), d = o !== "rem" && ~t.indexOf("adius") || o === "em" && e.appendChild && !c ? e : e.parentNode, v && (d = (e.ownerSVGElement || {}).parentNode), (!d || d === Pr || !d.appendChild) && (d = Pr.body), _ = d._gsap, _ && f && _.width && l && _.time === Mt.time && !_.uncache)
6123
+ return Le(i / _.width * p);
6084
6124
  if (f && (t === "height" || t === "width")) {
6085
6125
  var x = e.style[t];
6086
- e.style[t] = d + o, m = e[u], x ? e.style[t] = x : zr(e, t);
6126
+ e.style[t] = p + o, m = e[u], x ? e.style[t] = x : zr(e, t);
6087
6127
  } else
6088
- (f || s === "%") && !o_[St(p, "display")] && (a.position = St(e, "position")), p === e && (a.position = "static"), p.appendChild(Qr), m = Qr[u], p.removeChild(Qr), a.position = "absolute";
6089
- return l && f && (_ = en(p), _.time = Et.time, _.width = p[u]), Le(h ? m * i / d : m && i ? d / m * i : 0);
6090
- }, pr = function(e, t, r, o) {
6128
+ (f || s === "%") && !o_[Tt(d, "display")] && (a.position = Tt(e, "position")), d === e && (a.position = "static"), d.appendChild(Qr), m = Qr[u], d.removeChild(Qr), a.position = "absolute";
6129
+ return l && f && (_ = en(d), _.time = Mt.time, _.width = d[u]), Le(h ? m * i / p : m && i ? p / m * i : 0);
6130
+ }, hr = function(e, t, r, o) {
6091
6131
  var i;
6092
- return ba || Ys(), t in rr && t !== "transform" && (t = rr[t], ~t.indexOf(",") && (t = t.split(",")[0])), vr[t] && t !== "transform" ? (i = Co(e, o), i = t !== "transformOrigin" ? i[t] : i.svg ? i.origin : si(St(e, bt)) + " " + i.zOrigin + "px") : (i = e.style[t], (!i || i === "auto" || o || ~(i + "").indexOf("calc(")) && (i = ii[t] && ii[t](e, t, r) || St(e, t) || Du(e, t) || (t === "opacity" ? 1 : 0))), r && !~(i + "").trim().indexOf(" ") ? Ir(e, t, i, r) + r : i;
6132
+ return va || Ys(), t in rr && t !== "transform" && (t = rr[t], ~t.indexOf(",") && (t = t.split(",")[0])), vr[t] && t !== "transform" ? (i = Co(e, o), i = t !== "transformOrigin" ? i[t] : i.svg ? i.origin : si(Tt(e, yt)) + " " + i.zOrigin + "px") : (i = e.style[t], (!i || i === "auto" || o || ~(i + "").indexOf("calc(")) && (i = ii[t] && ii[t](e, t, r) || Tt(e, t) || Du(e, t) || (t === "opacity" ? 1 : 0))), r && !~(i + "").trim().indexOf(" ") ? Ir(e, t, i, r) + r : i;
6093
6133
  }, i_ = function(e, t, r, o) {
6094
6134
  if (!r || r === "none") {
6095
- var i = Dn(t, e, 1), s = i && St(e, i, 1);
6096
- s && s !== r ? (t = i, r = s) : t === "borderColor" && (r = St(e, "borderTopColor"));
6135
+ var i = Dn(t, e, 1), s = i && Tt(e, i, 1);
6136
+ s && s !== r ? (t = i, r = s) : t === "borderColor" && (r = Tt(e, "borderTopColor"));
6097
6137
  }
6098
- var a = new vt(this._pt, e.style, t, 0, 1, df), l = 0, c = 0, u, d, h, f, m, p, _, w, x, O, y, k;
6099
- if (a.b = r, a.e = o, r += "", o += "", o.substring(0, 6) === "var(--" && (o = St(e, o.substring(4, o.indexOf(")")))), o === "auto" && (p = e.style[t], e.style[t] = o, o = St(e, t) || o, p ? e.style[t] = p : zr(e, t)), u = [r, o], tf(u), r = u[0], o = u[1], h = r.match(yn) || [], k = o.match(yn) || [], k.length) {
6100
- for (; d = yn.exec(o); )
6101
- _ = d[0], x = o.substring(l, d.index), m ? m = (m + 1) % 5 : (x.substr(-5) === "rgba(" || x.substr(-5) === "hsla(") && (m = 1), _ !== (p = h[c++] || "") && (f = parseFloat(p) || 0, y = p.substr((f + "").length), _.charAt(1) === "=" && (_ = kn(f, _) + y), w = parseFloat(_), O = _.substr((w + "").length), l = yn.lastIndex - O.length, O || (O = O || Tt.units[t] || y, l === o.length && (o += O, a.e += O)), y !== O && (f = Ir(e, t, p, O) || 0), a._pt = {
6138
+ var a = new vt(this._pt, e.style, t, 0, 1, df), l = 0, c = 0, u, p, h, f, m, d, _, v, x, O, w, k;
6139
+ if (a.b = r, a.e = o, r += "", o += "", o.substring(0, 6) === "var(--" && (o = Tt(e, o.substring(4, o.indexOf(")")))), o === "auto" && (d = e.style[t], e.style[t] = o, o = Tt(e, t) || o, d ? e.style[t] = d : zr(e, t)), u = [r, o], tf(u), r = u[0], o = u[1], h = r.match(wn) || [], k = o.match(wn) || [], k.length) {
6140
+ for (; p = wn.exec(o); )
6141
+ _ = p[0], x = o.substring(l, p.index), m ? m = (m + 1) % 5 : (x.substr(-5) === "rgba(" || x.substr(-5) === "hsla(") && (m = 1), _ !== (d = h[c++] || "") && (f = parseFloat(d) || 0, w = d.substr((f + "").length), _.charAt(1) === "=" && (_ = On(f, _) + w), v = parseFloat(_), O = _.substr((v + "").length), l = wn.lastIndex - O.length, O || (O = O || jt.units[t] || w, l === o.length && (o += O, a.e += O)), w !== O && (f = Ir(e, t, d, O) || 0), a._pt = {
6102
6142
  _next: a._pt,
6103
6143
  p: x || c === 1 ? x : ",",
6104
6144
  //note: SVG spec allows omission of comma/space when a negative sign is wedged between two numbers, like 2.5-5.3 instead of 2.5,-5.3 but when tweening, the negative value may switch to positive, so we insert the comma just in case.
6105
6145
  s: f,
6106
- c: w - f,
6146
+ c: v - f,
6107
6147
  m: m && m < 4 || t === "zIndex" ? Math.round : 0
6108
6148
  });
6109
6149
  a.c = l < o.length ? o.substring(l, o.length) : "";
@@ -6126,8 +6166,8 @@ var Yc, Mr, On, ba, Qr, Gc, ya, W2 = function() {
6126
6166
  o.cssText = "", l = 1;
6127
6167
  else
6128
6168
  for (i = i.split(","), c = i.length; --c > -1; )
6129
- a = i[c], vr[a] && (l = 1, a = a === "transformOrigin" ? bt : be), zr(r, a);
6130
- l && (zr(r, be), s && (s.svg && r.removeAttribute("transform"), o.scale = o.rotate = o.translate = "none", Co(r, 1), s.uncache = 1, _f(o)));
6169
+ a = i[c], vr[a] && (l = 1, a = a === "transformOrigin" ? yt : ve), zr(r, a);
6170
+ l && (zr(r, ve), s && (s.svg && r.removeAttribute("transform"), o.scale = o.rotate = o.translate = "none", Co(r, 1), s.uncache = 1, _f(o)));
6131
6171
  }
6132
6172
  }, ii = {
6133
6173
  clearProps: function(e, t, r, o, i) {
@@ -6202,20 +6242,20 @@ var Yc, Mr, On, ba, Qr, Gc, ya, W2 = function() {
6202
6242
  }, xo = [1, 0, 0, 1, 0, 0], xf = {}, Cf = function(e) {
6203
6243
  return e === "matrix(1, 0, 0, 1, 0, 0)" || e === "none" || !e;
6204
6244
  }, Jc = function(e) {
6205
- var t = St(e, be);
6245
+ var t = Tt(e, ve);
6206
6246
  return Cf(t) ? xo : t.substr(7).match(Pu).map(Le);
6207
6247
  }, xa = function(e, t) {
6208
6248
  var r = e._gsap || en(e), o = e.style, i = Jc(e), s, a, l, c;
6209
- return r.svg && e.getAttribute("transform") ? (l = e.transform.baseVal.consolidate().matrix, i = [l.a, l.b, l.c, l.d, l.e, l.f], i.join(",") === "1,0,0,1,0,0" ? xo : i) : (i === xo && !e.offsetParent && e !== On && !r.svg && (l = o.display, o.display = "block", s = e.parentNode, (!s || !e.offsetParent && !e.getBoundingClientRect().width) && (c = 1, a = e.nextElementSibling, On.appendChild(e)), i = Jc(e), l ? o.display = l : zr(e, "display"), c && (a ? s.insertBefore(e, a) : s ? s.appendChild(e) : On.removeChild(e))), t && i.length > 6 ? [i[0], i[1], i[4], i[5], i[12], i[13]] : i);
6249
+ return r.svg && e.getAttribute("transform") ? (l = e.transform.baseVal.consolidate().matrix, i = [l.a, l.b, l.c, l.d, l.e, l.f], i.join(",") === "1,0,0,1,0,0" ? xo : i) : (i === xo && !e.offsetParent && e !== $n && !r.svg && (l = o.display, o.display = "block", s = e.parentNode, (!s || !e.offsetParent && !e.getBoundingClientRect().width) && (c = 1, a = e.nextElementSibling, $n.appendChild(e)), i = Jc(e), l ? o.display = l : zr(e, "display"), c && (a ? s.insertBefore(e, a) : s ? s.appendChild(e) : $n.removeChild(e))), t && i.length > 6 ? [i[0], i[1], i[4], i[5], i[12], i[13]] : i);
6210
6250
  }, Gs = function(e, t, r, o, i, s) {
6211
- var a = e._gsap, l = i || xa(e, !0), c = a.xOrigin || 0, u = a.yOrigin || 0, d = a.xOffset || 0, h = a.yOffset || 0, f = l[0], m = l[1], p = l[2], _ = l[3], w = l[4], x = l[5], O = t.split(" "), y = parseFloat(O[0]) || 0, k = parseFloat(O[1]) || 0, E, C, S, $;
6212
- r ? l !== xo && (C = f * _ - m * p) && (S = y * (_ / C) + k * (-p / C) + (p * x - _ * w) / C, $ = y * (-m / C) + k * (f / C) - (f * x - m * w) / C, y = S, k = $) : (E = yf(e), y = E.x + (~O[0].indexOf("%") ? y / 100 * E.width : y), k = E.y + (~(O[1] || O[0]).indexOf("%") ? k / 100 * E.height : k)), o || o !== !1 && a.smooth ? (w = y - c, x = k - u, a.xOffset = d + (w * f + x * p) - w, a.yOffset = h + (w * m + x * _) - x) : a.xOffset = a.yOffset = 0, a.xOrigin = y, a.yOrigin = k, a.smooth = !!o, a.origin = t, a.originIsAbsolute = !!r, e.style[bt] = "0px 0px", s && (Pr(s, a, "xOrigin", c, y), Pr(s, a, "yOrigin", u, k), Pr(s, a, "xOffset", d, a.xOffset), Pr(s, a, "yOffset", h, a.yOffset)), e.setAttribute("data-svg-origin", y + " " + k);
6251
+ var a = e._gsap, l = i || xa(e, !0), c = a.xOrigin || 0, u = a.yOrigin || 0, p = a.xOffset || 0, h = a.yOffset || 0, f = l[0], m = l[1], d = l[2], _ = l[3], v = l[4], x = l[5], O = t.split(" "), w = parseFloat(O[0]) || 0, k = parseFloat(O[1]) || 0, E, C, S, $;
6252
+ r ? l !== xo && (C = f * _ - m * d) && (S = w * (_ / C) + k * (-d / C) + (d * x - _ * v) / C, $ = w * (-m / C) + k * (f / C) - (f * x - m * v) / C, w = S, k = $) : (E = yf(e), w = E.x + (~O[0].indexOf("%") ? w / 100 * E.width : w), k = E.y + (~(O[1] || O[0]).indexOf("%") ? k / 100 * E.height : k)), o || o !== !1 && a.smooth ? (v = w - c, x = k - u, a.xOffset = p + (v * f + x * d) - v, a.yOffset = h + (v * m + x * _) - x) : a.xOffset = a.yOffset = 0, a.xOrigin = w, a.yOrigin = k, a.smooth = !!o, a.origin = t, a.originIsAbsolute = !!r, e.style[yt] = "0px 0px", s && (Sr(s, a, "xOrigin", c, w), Sr(s, a, "yOrigin", u, k), Sr(s, a, "xOffset", p, a.xOffset), Sr(s, a, "yOffset", h, a.yOffset)), e.setAttribute("data-svg-origin", w + " " + k);
6213
6253
  }, Co = function(e, t) {
6214
6254
  var r = e._gsap || new sf(e);
6215
6255
  if ("x" in r && !t && !r.uncache)
6216
6256
  return r;
6217
- var o = e.style, i = r.scaleX < 0, s = "px", a = "deg", l = getComputedStyle(e), c = St(e, bt) || "0", u, d, h, f, m, p, _, w, x, O, y, k, E, C, S, $, P, I, M, U, V, Q, Y, N, ee, ie, v, te, nt, Wt, ye, Ve;
6218
- return u = d = h = p = _ = w = x = O = y = 0, f = m = 1, r.svg = !!(e.getCTM && wf(e)), l.translate && ((l.translate !== "none" || l.scale !== "none" || l.rotate !== "none") && (o[be] = (l.translate !== "none" ? "translate3d(" + (l.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (l.rotate !== "none" ? "rotate(" + l.rotate + ") " : "") + (l.scale !== "none" ? "scale(" + l.scale.split(" ").join(",") + ") " : "") + (l[be] !== "none" ? l[be] : "")), o.scale = o.rotate = o.translate = "none"), C = xa(e, r.svg), r.svg && (r.uncache ? (ee = e.getBBox(), c = r.xOrigin - ee.x + "px " + (r.yOrigin - ee.y) + "px", N = "") : N = !t && e.getAttribute("data-svg-origin"), Gs(e, N || c, !!N || r.originIsAbsolute, r.smooth !== !1, C)), k = r.xOrigin || 0, E = r.yOrigin || 0, C !== xo && (I = C[0], M = C[1], U = C[2], V = C[3], u = Q = C[4], d = Y = C[5], C.length === 6 ? (f = Math.sqrt(I * I + M * M), m = Math.sqrt(V * V + U * U), p = I || M ? gn(M, I) * qr : 0, x = U || V ? gn(U, V) * qr + p : 0, x && (m *= Math.abs(Math.cos(x * $n))), r.svg && (u -= k - (k * I + E * U), d -= E - (k * M + E * V))) : (Ve = C[6], Wt = C[7], v = C[8], te = C[9], nt = C[10], ye = C[11], u = C[12], d = C[13], h = C[14], S = gn(Ve, nt), _ = S * qr, S && ($ = Math.cos(-S), P = Math.sin(-S), N = Q * $ + v * P, ee = Y * $ + te * P, ie = Ve * $ + nt * P, v = Q * -P + v * $, te = Y * -P + te * $, nt = Ve * -P + nt * $, ye = Wt * -P + ye * $, Q = N, Y = ee, Ve = ie), S = gn(-U, nt), w = S * qr, S && ($ = Math.cos(-S), P = Math.sin(-S), N = I * $ - v * P, ee = M * $ - te * P, ie = U * $ - nt * P, ye = V * P + ye * $, I = N, M = ee, U = ie), S = gn(M, I), p = S * qr, S && ($ = Math.cos(S), P = Math.sin(S), N = I * $ + M * P, ee = Q * $ + Y * P, M = M * $ - I * P, Y = Y * $ - Q * P, I = N, Q = ee), _ && Math.abs(_) + Math.abs(p) > 359.9 && (_ = p = 0, w = 180 - w), f = Le(Math.sqrt(I * I + M * M + U * U)), m = Le(Math.sqrt(Y * Y + Ve * Ve)), S = gn(Q, Y), x = Math.abs(S) > 2e-4 ? S * qr : 0, y = ye ? 1 / (ye < 0 ? -ye : ye) : 0), r.svg && (N = e.getAttribute("transform"), r.forceCSS = e.setAttribute("transform", "") || !Cf(St(e, be)), N && e.setAttribute("transform", N))), Math.abs(x) > 90 && Math.abs(x) < 270 && (i ? (f *= -1, x += p <= 0 ? 180 : -180, p += p <= 0 ? 180 : -180) : (m *= -1, x += x <= 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 = d - ((r.yPercent = d && (!t && r.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-d) ? -50 : 0))) ? e.offsetHeight * r.yPercent / 100 : 0) + s, r.z = h + s, r.scaleX = Le(f), r.scaleY = Le(m), r.rotation = Le(p) + a, r.rotationX = Le(_) + a, r.rotationY = Le(w) + a, r.skewX = x + a, r.skewY = O + a, r.transformPerspective = y + s, (r.zOrigin = parseFloat(c.split(" ")[2]) || !t && r.zOrigin || 0) && (o[bt] = si(c)), r.xOffset = r.yOffset = 0, r.force3D = Tt.force3D, r.renderTransform = r.svg ? c_ : bf ? kf : l_, r.uncache = 0, r;
6257
+ var o = e.style, i = r.scaleX < 0, s = "px", a = "deg", l = getComputedStyle(e), c = Tt(e, yt) || "0", u, p, h, f, m, d, _, v, x, O, w, k, E, C, S, $, P, I, M, U, V, Q, Y, N, ee, ie, b, te, nt, Wt, ye, Ve;
6258
+ return u = p = h = d = _ = v = x = O = w = 0, f = m = 1, r.svg = !!(e.getCTM && wf(e)), l.translate && ((l.translate !== "none" || l.scale !== "none" || l.rotate !== "none") && (o[ve] = (l.translate !== "none" ? "translate3d(" + (l.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (l.rotate !== "none" ? "rotate(" + l.rotate + ") " : "") + (l.scale !== "none" ? "scale(" + l.scale.split(" ").join(",") + ") " : "") + (l[ve] !== "none" ? l[ve] : "")), o.scale = o.rotate = o.translate = "none"), C = xa(e, r.svg), r.svg && (r.uncache ? (ee = e.getBBox(), c = r.xOrigin - ee.x + "px " + (r.yOrigin - ee.y) + "px", N = "") : N = !t && e.getAttribute("data-svg-origin"), Gs(e, N || c, !!N || r.originIsAbsolute, r.smooth !== !1, C)), k = r.xOrigin || 0, E = r.yOrigin || 0, C !== xo && (I = C[0], M = C[1], U = C[2], V = C[3], u = Q = C[4], p = Y = C[5], C.length === 6 ? (f = Math.sqrt(I * I + M * M), m = Math.sqrt(V * V + U * U), d = I || M ? mn(M, I) * qr : 0, x = U || V ? mn(U, V) * qr + d : 0, x && (m *= Math.abs(Math.cos(x * Ln))), r.svg && (u -= k - (k * I + E * U), p -= E - (k * M + E * V))) : (Ve = C[6], Wt = C[7], b = C[8], te = C[9], nt = C[10], ye = C[11], u = C[12], p = C[13], h = C[14], S = mn(Ve, nt), _ = S * qr, S && ($ = Math.cos(-S), P = Math.sin(-S), N = Q * $ + b * P, ee = Y * $ + te * P, ie = Ve * $ + nt * P, b = Q * -P + b * $, te = Y * -P + te * $, nt = Ve * -P + nt * $, ye = Wt * -P + ye * $, Q = N, Y = ee, Ve = ie), S = mn(-U, nt), v = S * qr, S && ($ = Math.cos(-S), P = Math.sin(-S), N = I * $ - b * P, ee = M * $ - te * P, ie = U * $ - nt * P, ye = V * P + ye * $, I = N, M = ee, U = ie), S = mn(M, I), d = S * qr, S && ($ = Math.cos(S), P = Math.sin(S), N = I * $ + M * P, ee = Q * $ + Y * P, M = M * $ - I * P, Y = Y * $ - Q * P, I = N, Q = ee), _ && Math.abs(_) + Math.abs(d) > 359.9 && (_ = d = 0, v = 180 - v), f = Le(Math.sqrt(I * I + M * M + U * U)), m = Le(Math.sqrt(Y * Y + Ve * Ve)), S = mn(Q, Y), x = Math.abs(S) > 2e-4 ? S * qr : 0, w = ye ? 1 / (ye < 0 ? -ye : ye) : 0), r.svg && (N = e.getAttribute("transform"), r.forceCSS = e.setAttribute("transform", "") || !Cf(Tt(e, ve)), N && e.setAttribute("transform", N))), Math.abs(x) > 90 && Math.abs(x) < 270 && (i ? (f *= -1, x += d <= 0 ? 180 : -180, d += d <= 0 ? 180 : -180) : (m *= -1, x += x <= 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 = p - ((r.yPercent = p && (!t && r.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-p) ? -50 : 0))) ? e.offsetHeight * r.yPercent / 100 : 0) + s, r.z = h + s, r.scaleX = Le(f), r.scaleY = Le(m), r.rotation = Le(d) + a, r.rotationX = Le(_) + a, r.rotationY = Le(v) + a, r.skewX = x + a, r.skewY = O + a, r.transformPerspective = w + s, (r.zOrigin = parseFloat(c.split(" ")[2]) || !t && r.zOrigin || 0) && (o[yt] = si(c)), r.xOffset = r.yOffset = 0, r.force3D = jt.force3D, r.renderTransform = r.svg ? c_ : vf ? kf : l_, r.uncache = 0, r;
6219
6259
  }, si = function(e) {
6220
6260
  return (e = e.split(" "))[0] + " " + e[1];
6221
6261
  }, ks = function(e, t, r) {
@@ -6224,42 +6264,42 @@ var Yc, Mr, On, ba, Qr, Gc, ya, W2 = function() {
6224
6264
  }, l_ = function(e, t) {
6225
6265
  t.z = "0px", t.rotationY = t.rotationX = "0deg", t.force3D = 0, kf(e, t);
6226
6266
  }, Xr = "0deg", Gn = "0px", Ur = ") ", kf = function(e, t) {
6227
- var r = t || this, o = r.xPercent, i = r.yPercent, s = r.x, a = r.y, l = r.z, c = r.rotation, u = r.rotationY, d = r.rotationX, h = r.skewX, f = r.skewY, m = r.scaleX, p = r.scaleY, _ = r.transformPerspective, w = r.force3D, x = r.target, O = r.zOrigin, y = "", k = w === "auto" && e && e !== 1 || w === !0;
6228
- if (O && (d !== Xr || u !== Xr)) {
6229
- var E = parseFloat(u) * $n, C = Math.sin(E), S = Math.cos(E), $;
6230
- E = parseFloat(d) * $n, $ = Math.cos(E), s = ks(x, s, C * $ * -O), a = ks(x, a, -Math.sin(E) * -O), l = ks(x, l, S * $ * -O + O);
6267
+ var r = t || this, o = r.xPercent, i = r.yPercent, s = r.x, a = r.y, l = r.z, c = r.rotation, u = r.rotationY, p = r.rotationX, h = r.skewX, f = r.skewY, m = r.scaleX, d = r.scaleY, _ = r.transformPerspective, v = r.force3D, x = r.target, O = r.zOrigin, w = "", k = v === "auto" && e && e !== 1 || v === !0;
6268
+ if (O && (p !== Xr || u !== Xr)) {
6269
+ var E = parseFloat(u) * Ln, C = Math.sin(E), S = Math.cos(E), $;
6270
+ E = parseFloat(p) * Ln, $ = Math.cos(E), s = ks(x, s, C * $ * -O), a = ks(x, a, -Math.sin(E) * -O), l = ks(x, l, S * $ * -O + O);
6231
6271
  }
6232
- _ !== Gn && (y += "perspective(" + _ + Ur), (o || i) && (y += "translate(" + o + "%, " + i + "%) "), (k || s !== Gn || a !== Gn || l !== Gn) && (y += l !== Gn || k ? "translate3d(" + s + ", " + a + ", " + l + ") " : "translate(" + s + ", " + a + Ur), c !== Xr && (y += "rotate(" + c + Ur), u !== Xr && (y += "rotateY(" + u + Ur), d !== Xr && (y += "rotateX(" + d + Ur), (h !== Xr || f !== Xr) && (y += "skew(" + h + ", " + f + Ur), (m !== 1 || p !== 1) && (y += "scale(" + m + ", " + p + Ur), x.style[be] = y || "translate(0, 0)";
6272
+ _ !== Gn && (w += "perspective(" + _ + Ur), (o || i) && (w += "translate(" + o + "%, " + i + "%) "), (k || s !== Gn || a !== Gn || l !== Gn) && (w += l !== Gn || k ? "translate3d(" + s + ", " + a + ", " + l + ") " : "translate(" + s + ", " + a + Ur), c !== Xr && (w += "rotate(" + c + Ur), u !== Xr && (w += "rotateY(" + u + Ur), p !== Xr && (w += "rotateX(" + p + Ur), (h !== Xr || f !== Xr) && (w += "skew(" + h + ", " + f + Ur), (m !== 1 || d !== 1) && (w += "scale(" + m + ", " + d + Ur), x.style[ve] = w || "translate(0, 0)";
6233
6273
  }, c_ = function(e, t) {
6234
- var r = t || this, o = r.xPercent, i = r.yPercent, s = r.x, a = r.y, l = r.rotation, c = r.skewX, u = r.skewY, d = r.scaleX, h = r.scaleY, f = r.target, m = r.xOrigin, p = r.yOrigin, _ = r.xOffset, w = r.yOffset, x = r.forceCSS, O = parseFloat(s), y = parseFloat(a), k, E, C, S, $;
6235
- l = parseFloat(l), c = parseFloat(c), u = parseFloat(u), u && (u = parseFloat(u), c += u, l += u), l || c ? (l *= $n, c *= $n, k = Math.cos(l) * d, E = Math.sin(l) * d, C = Math.sin(l - c) * -h, S = Math.cos(l - c) * h, c && (u *= $n, $ = Math.tan(c - u), $ = Math.sqrt(1 + $ * $), C *= $, S *= $, u && ($ = Math.tan(u), $ = Math.sqrt(1 + $ * $), k *= $, E *= $)), k = Le(k), E = Le(E), C = Le(C), S = Le(S)) : (k = d, S = h, E = C = 0), (O && !~(s + "").indexOf("px") || y && !~(a + "").indexOf("px")) && (O = Ir(f, "x", s, "px"), y = Ir(f, "y", a, "px")), (m || p || _ || w) && (O = Le(O + m - (m * k + p * C) + _), y = Le(y + p - (m * E + p * S) + w)), (o || i) && ($ = f.getBBox(), O = Le(O + o / 100 * $.width), y = Le(y + i / 100 * $.height)), $ = "matrix(" + k + "," + E + "," + C + "," + S + "," + O + "," + y + ")", f.setAttribute("transform", $), x && (f.style[be] = $);
6274
+ var r = t || this, o = r.xPercent, i = r.yPercent, s = r.x, a = r.y, l = r.rotation, c = r.skewX, u = r.skewY, p = r.scaleX, h = r.scaleY, f = r.target, m = r.xOrigin, d = r.yOrigin, _ = r.xOffset, v = r.yOffset, x = r.forceCSS, O = parseFloat(s), w = parseFloat(a), k, E, C, S, $;
6275
+ l = parseFloat(l), c = parseFloat(c), u = parseFloat(u), u && (u = parseFloat(u), c += u, l += u), l || c ? (l *= Ln, c *= Ln, k = Math.cos(l) * p, E = Math.sin(l) * p, C = Math.sin(l - c) * -h, S = Math.cos(l - c) * h, c && (u *= Ln, $ = Math.tan(c - u), $ = Math.sqrt(1 + $ * $), C *= $, S *= $, u && ($ = Math.tan(u), $ = Math.sqrt(1 + $ * $), k *= $, E *= $)), k = Le(k), E = Le(E), C = Le(C), S = Le(S)) : (k = p, S = h, E = C = 0), (O && !~(s + "").indexOf("px") || w && !~(a + "").indexOf("px")) && (O = Ir(f, "x", s, "px"), w = Ir(f, "y", a, "px")), (m || d || _ || v) && (O = Le(O + m - (m * k + d * C) + _), w = Le(w + d - (m * E + d * S) + v)), (o || i) && ($ = f.getBBox(), O = Le(O + o / 100 * $.width), w = Le(w + i / 100 * $.height)), $ = "matrix(" + k + "," + E + "," + C + "," + S + "," + O + "," + w + ")", f.setAttribute("transform", $), x && (f.style[ve] = $);
6236
6276
  }, u_ = function(e, t, r, o, i) {
6237
- var s = 360, a = Fe(i), l = parseFloat(i) * (a && ~i.indexOf("rad") ? qr : 1), c = l - o, u = o + c + "deg", d, h;
6238
- return a && (d = i.split("_")[1], d === "short" && (c %= s, c !== c % (s / 2) && (c += c < 0 ? s : -s)), d === "cw" && c < 0 ? c = (c + s * Xc) % s - ~~(c / s) * s : d === "ccw" && c > 0 && (c = (c - s * Xc) % s - ~~(c / s) * s)), e._pt = h = new vt(e._pt, t, r, o, c, G2), h.e = u, h.u = "deg", e._props.push(r), h;
6277
+ var s = 360, a = Fe(i), l = parseFloat(i) * (a && ~i.indexOf("rad") ? qr : 1), c = l - o, u = o + c + "deg", p, h;
6278
+ return a && (p = i.split("_")[1], p === "short" && (c %= s, c !== c % (s / 2) && (c += c < 0 ? s : -s)), p === "cw" && c < 0 ? c = (c + s * Xc) % s - ~~(c / s) * s : p === "ccw" && c > 0 && (c = (c - s * Xc) % s - ~~(c / s) * s)), e._pt = h = new vt(e._pt, t, r, o, c, G2), h.e = u, h.u = "deg", e._props.push(r), h;
6239
6279
  }, eu = function(e, t) {
6240
6280
  for (var r in t)
6241
6281
  e[r] = t[r];
6242
6282
  return e;
6243
6283
  }, f_ = function(e, t, r) {
6244
- var o = eu({}, r._gsap), i = "perspective,force3D,transformOrigin,svgOrigin", s = r.style, a, l, c, u, d, h, f, m;
6245
- o.svg ? (c = r.getAttribute("transform"), r.setAttribute("transform", ""), s[be] = t, a = Co(r, 1), zr(r, be), r.setAttribute("transform", c)) : (c = getComputedStyle(r)[be], s[be] = t, a = Co(r, 1), s[be] = c);
6284
+ var o = eu({}, r._gsap), i = "perspective,force3D,transformOrigin,svgOrigin", s = r.style, a, l, c, u, p, h, f, m;
6285
+ o.svg ? (c = r.getAttribute("transform"), r.setAttribute("transform", ""), s[ve] = t, a = Co(r, 1), zr(r, ve), r.setAttribute("transform", c)) : (c = getComputedStyle(r)[ve], s[ve] = t, a = Co(r, 1), s[ve] = c);
6246
6286
  for (l in vr)
6247
- c = o[l], u = a[l], c !== u && i.indexOf(l) < 0 && (f = et(c), m = et(u), d = f !== m ? Ir(r, l, c, m) : parseFloat(c), h = parseFloat(u), e._pt = new vt(e._pt, a, l, d, h - d, Ws), e._pt.u = m || 0, e._props.push(l));
6287
+ c = o[l], u = a[l], c !== u && i.indexOf(l) < 0 && (f = et(c), m = et(u), p = f !== m ? Ir(r, l, c, m) : parseFloat(c), h = parseFloat(u), e._pt = new vt(e._pt, a, l, p, h - p, Ws), e._pt.u = m || 0, e._props.push(l));
6248
6288
  eu(a, o);
6249
6289
  };
6250
- _t("padding,margin,Width,Radius", function(n, e) {
6290
+ bt("padding,margin,Width,Radius", function(n, e) {
6251
6291
  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) {
6252
6292
  return e < 2 ? n + a : "border" + a + n;
6253
6293
  });
6254
- ii[e > 1 ? "border" + n : n] = function(a, l, c, u, d) {
6294
+ ii[e > 1 ? "border" + n : n] = function(a, l, c, u, p) {
6255
6295
  var h, f;
6256
6296
  if (arguments.length < 4)
6257
6297
  return h = s.map(function(m) {
6258
- return pr(a, m, c);
6298
+ return hr(a, m, c);
6259
6299
  }), f = h.join(" "), f.split(h[0]).length === 5 ? h[0] : f;
6260
- h = (u + "").split(" "), f = {}, s.forEach(function(m, p) {
6261
- return f[m] = h[p] = h[p] || h[(p - 1) / 2 | 0];
6262
- }), a.init(l, f, d);
6300
+ h = (u + "").split(" "), f = {}, s.forEach(function(m, d) {
6301
+ return f[m] = h[d] = h[d] || h[(d - 1) / 2 | 0];
6302
+ }), a.init(l, f, p);
6263
6303
  };
6264
6304
  });
6265
6305
  var Of = {
@@ -6269,56 +6309,56 @@ var Of = {
6269
6309
  return e.style && e.nodeType;
6270
6310
  },
6271
6311
  init: function(e, t, r, o, i) {
6272
- var s = this._props, a = e.style, l = r.vars.startAt, c, u, d, h, f, m, p, _, w, x, O, y, k, E, C, S, $;
6273
- ba || Ys(), this.styles = this.styles || vf(e), S = this.styles.props, this.tween = r;
6274
- for (p in t)
6275
- if (p !== "autoRound" && (u = t[p], !($t[p] && af(p, t, r, o, e, i)))) {
6276
- if (f = typeof u, m = ii[p], f === "function" && (u = u.call(r, o, e, i), f = typeof u), f === "string" && ~u.indexOf("random(") && (u = bo(u)), m)
6277
- m(this, e, p, u, r) && (C = 1);
6278
- else if (p.substr(0, 2) === "--")
6279
- c = (getComputedStyle(e).getPropertyValue(p) + "").trim(), u += "", Rr.lastIndex = 0, Rr.test(c) || (_ = et(c), w = et(u), w ? _ !== w && (c = Ir(e, p, c, w) + w) : _ && (u += _)), this.add(a, "setProperty", c, u, o, i, 0, 0, p), s.push(p), S.push(p, 0, a[p]);
6312
+ var s = this._props, a = e.style, l = r.vars.startAt, c, u, p, h, f, m, d, _, v, x, O, w, k, E, C, S, $;
6313
+ va || Ys(), this.styles = this.styles || bf(e), S = this.styles.props, this.tween = r;
6314
+ for (d in t)
6315
+ if (d !== "autoRound" && (u = t[d], !(Lt[d] && af(d, t, r, o, e, i)))) {
6316
+ if (f = typeof u, m = ii[d], f === "function" && (u = u.call(r, o, e, i), f = typeof u), f === "string" && ~u.indexOf("random(") && (u = vo(u)), m)
6317
+ m(this, e, d, u, r) && (C = 1);
6318
+ else if (d.substr(0, 2) === "--")
6319
+ c = (getComputedStyle(e).getPropertyValue(d) + "").trim(), u += "", Ar.lastIndex = 0, Ar.test(c) || (_ = et(c), v = et(u), v ? _ !== v && (c = Ir(e, d, c, v) + v) : _ && (u += _)), this.add(a, "setProperty", c, u, o, i, 0, 0, d), s.push(d), S.push(d, 0, a[d]);
6280
6320
  else if (f !== "undefined") {
6281
- if (l && p in l ? (c = typeof l[p] == "function" ? l[p].call(r, o, e, i) : l[p], Fe(c) && ~c.indexOf("random(") && (c = bo(c)), et(c + "") || c === "auto" || (c += Tt.units[p] || et(pr(e, p)) || ""), (c + "").charAt(1) === "=" && (c = pr(e, p))) : c = pr(e, p), h = parseFloat(c), x = f === "string" && u.charAt(1) === "=" && u.substr(0, 2), x && (u = u.substr(2)), d = parseFloat(u), p in rr && (p === "autoAlpha" && (h === 1 && pr(e, "visibility") === "hidden" && d && (h = 0), S.push("visibility", 0, a.visibility), Pr(this, a, "visibility", h ? "inherit" : "hidden", d ? "inherit" : "hidden", !d)), p !== "scale" && p !== "transform" && (p = rr[p], ~p.indexOf(",") && (p = p.split(",")[0]))), O = p in vr, O) {
6282
- if (this.styles.save(p), $ = u, f === "string" && u.substring(0, 6) === "var(--") {
6283
- if (u = St(e, u.substring(4, u.indexOf(")"))), u.substring(0, 5) === "calc(") {
6321
+ if (l && d in l ? (c = typeof l[d] == "function" ? l[d].call(r, o, e, i) : l[d], Fe(c) && ~c.indexOf("random(") && (c = vo(c)), et(c + "") || c === "auto" || (c += jt.units[d] || et(hr(e, d)) || ""), (c + "").charAt(1) === "=" && (c = hr(e, d))) : c = hr(e, d), h = parseFloat(c), x = f === "string" && u.charAt(1) === "=" && u.substr(0, 2), x && (u = u.substr(2)), p = parseFloat(u), d in rr && (d === "autoAlpha" && (h === 1 && hr(e, "visibility") === "hidden" && p && (h = 0), S.push("visibility", 0, a.visibility), Sr(this, a, "visibility", h ? "inherit" : "hidden", p ? "inherit" : "hidden", !p)), d !== "scale" && d !== "transform" && (d = rr[d], ~d.indexOf(",") && (d = d.split(",")[0]))), O = d in vr, O) {
6322
+ if (this.styles.save(d), $ = u, f === "string" && u.substring(0, 6) === "var(--") {
6323
+ if (u = Tt(e, u.substring(4, u.indexOf(")"))), u.substring(0, 5) === "calc(") {
6284
6324
  var P = e.style.perspective;
6285
- e.style.perspective = u, u = St(e, "perspective"), P ? e.style.perspective = P : zr(e, "perspective");
6325
+ e.style.perspective = u, u = Tt(e, "perspective"), P ? e.style.perspective = P : zr(e, "perspective");
6286
6326
  }
6287
- d = parseFloat(u);
6327
+ p = parseFloat(u);
6288
6328
  }
6289
- if (y || (k = e._gsap, k.renderTransform && !t.parseTransform || Co(e, t.parseTransform), E = t.smoothOrigin !== !1 && k.smooth, y = this._pt = new vt(this._pt, a, be, 0, 1, k.renderTransform, k, 0, -1), y.dep = 1), p === "scale")
6290
- this._pt = new vt(this._pt, k, "scaleY", k.scaleY, (x ? kn(k.scaleY, x + d) : d) - k.scaleY || 0, Ws), this._pt.u = 0, s.push("scaleY", p), p += "X";
6291
- else if (p === "transformOrigin") {
6292
- S.push(bt, 0, a[bt]), u = s_(u), k.svg ? Gs(e, u, 0, E, 0, this) : (w = parseFloat(u.split(" ")[2]) || 0, w !== k.zOrigin && Pr(this, k, "zOrigin", k.zOrigin, w), Pr(this, a, p, si(c), si(u)));
6329
+ if (w || (k = e._gsap, k.renderTransform && !t.parseTransform || Co(e, t.parseTransform), E = t.smoothOrigin !== !1 && k.smooth, w = this._pt = new vt(this._pt, a, ve, 0, 1, k.renderTransform, k, 0, -1), w.dep = 1), d === "scale")
6330
+ this._pt = new vt(this._pt, k, "scaleY", k.scaleY, (x ? On(k.scaleY, x + p) : p) - k.scaleY || 0, Ws), this._pt.u = 0, s.push("scaleY", d), d += "X";
6331
+ else if (d === "transformOrigin") {
6332
+ S.push(yt, 0, a[yt]), u = s_(u), k.svg ? Gs(e, u, 0, E, 0, this) : (v = parseFloat(u.split(" ")[2]) || 0, v !== k.zOrigin && Sr(this, k, "zOrigin", k.zOrigin, v), Sr(this, a, d, si(c), si(u)));
6293
6333
  continue;
6294
- } else if (p === "svgOrigin") {
6334
+ } else if (d === "svgOrigin") {
6295
6335
  Gs(e, u, 1, E, 0, this);
6296
6336
  continue;
6297
- } else if (p in xf) {
6298
- u_(this, k, p, h, x ? kn(h, x + u) : u);
6337
+ } else if (d in xf) {
6338
+ u_(this, k, d, h, x ? On(h, x + u) : u);
6299
6339
  continue;
6300
- } else if (p === "smoothOrigin") {
6301
- Pr(this, k, "smooth", k.smooth, u);
6340
+ } else if (d === "smoothOrigin") {
6341
+ Sr(this, k, "smooth", k.smooth, u);
6302
6342
  continue;
6303
- } else if (p === "force3D") {
6304
- k[p] = u;
6343
+ } else if (d === "force3D") {
6344
+ k[d] = u;
6305
6345
  continue;
6306
- } else if (p === "transform") {
6346
+ } else if (d === "transform") {
6307
6347
  f_(this, u, e);
6308
6348
  continue;
6309
6349
  }
6310
- } else p in a || (p = Dn(p) || p);
6311
- if (O || (d || d === 0) && (h || h === 0) && !Y2.test(u) && p in a)
6312
- _ = (c + "").substr((h + "").length), d || (d = 0), w = et(u) || (p in Tt.units ? Tt.units[p] : _), _ !== w && (h = Ir(e, p, c, w)), this._pt = new vt(this._pt, O ? k : a, p, h, (x ? kn(h, x + d) : d) - h, !O && (w === "px" || p === "zIndex") && t.autoRound !== !1 ? q2 : Ws), this._pt.u = w || 0, O && $ !== u ? (this._pt.b = c, this._pt.e = $, this._pt.r = U2) : _ !== w && w !== "%" && (this._pt.b = c, this._pt.r = X2);
6313
- else if (p in a)
6314
- i_.call(this, e, p, c, x ? x + u : u);
6315
- else if (p in e)
6316
- this.add(e, p, c || e[p], x ? x + u : u, o, i);
6317
- else if (p !== "parseTransform") {
6318
- ca(p, u);
6350
+ } else d in a || (d = Dn(d) || d);
6351
+ if (O || (p || p === 0) && (h || h === 0) && !Y2.test(u) && d in a)
6352
+ _ = (c + "").substr((h + "").length), p || (p = 0), v = et(u) || (d in jt.units ? jt.units[d] : _), _ !== v && (h = Ir(e, d, c, v)), this._pt = new vt(this._pt, O ? k : a, d, h, (x ? On(h, x + p) : p) - h, !O && (v === "px" || d === "zIndex") && t.autoRound !== !1 ? q2 : Ws), this._pt.u = v || 0, O && $ !== u ? (this._pt.b = c, this._pt.e = $, this._pt.r = U2) : _ !== v && v !== "%" && (this._pt.b = c, this._pt.r = X2);
6353
+ else if (d in a)
6354
+ i_.call(this, e, d, c, x ? x + u : u);
6355
+ else if (d in e)
6356
+ this.add(e, d, c || e[d], x ? x + u : u, o, i);
6357
+ else if (d !== "parseTransform") {
6358
+ ca(d, u);
6319
6359
  continue;
6320
6360
  }
6321
- O || (p in a ? S.push(p, 0, a[p]) : typeof e[p] == "function" ? S.push(p, 2, e[p]()) : S.push(p, 1, c || e[p])), s.push(p);
6361
+ O || (d in a ? S.push(d, 0, a[d]) : typeof e[d] == "function" ? S.push(d, 2, e[d]()) : S.push(d, 1, c || e[d])), s.push(d);
6322
6362
  }
6323
6363
  }
6324
6364
  C && pf(this);
@@ -6330,35 +6370,35 @@ var Of = {
6330
6370
  else
6331
6371
  t.styles.revert();
6332
6372
  },
6333
- get: pr,
6373
+ get: hr,
6334
6374
  aliases: rr,
6335
6375
  getSetter: function(e, t, r) {
6336
6376
  var o = rr[t];
6337
- return o && o.indexOf(",") < 0 && (t = o), t in vr && t !== bt && (e._gsap.x || pr(e, "x")) ? r && Gc === r ? t === "scale" ? J2 : Q2 : (Gc = r || {}) && (t === "scale" ? e_ : t_) : e.style && !sa(e.style[t]) ? Z2 : ~t.indexOf("-") ? K2 : _a(e, t);
6377
+ return o && o.indexOf(",") < 0 && (t = o), t in vr && t !== yt && (e._gsap.x || hr(e, "x")) ? r && Gc === r ? t === "scale" ? J2 : Q2 : (Gc = r || {}) && (t === "scale" ? e_ : t_) : e.style && !sa(e.style[t]) ? Z2 : ~t.indexOf("-") ? K2 : _a(e, t);
6338
6378
  },
6339
6379
  core: {
6340
6380
  _removeProperty: zr,
6341
6381
  _getMatrix: xa
6342
6382
  }
6343
6383
  };
6344
- yt.utils.checkPrefix = Dn;
6345
- yt.core.getStyleSaver = vf;
6384
+ wt.utils.checkPrefix = Dn;
6385
+ wt.core.getStyleSaver = bf;
6346
6386
  (function(n, e, t, r) {
6347
- var o = _t(n + "," + e + "," + t, function(i) {
6387
+ var o = bt(n + "," + e + "," + t, function(i) {
6348
6388
  vr[i] = 1;
6349
6389
  });
6350
- _t(e, function(i) {
6351
- Tt.units[i] = "deg", xf[i] = 1;
6352
- }), rr[o[13]] = n + "," + e, _t(r, function(i) {
6390
+ bt(e, function(i) {
6391
+ jt.units[i] = "deg", xf[i] = 1;
6392
+ }), rr[o[13]] = n + "," + e, bt(r, function(i) {
6353
6393
  var s = i.split(":");
6354
6394
  rr[s[1]] = o[s[0]];
6355
6395
  });
6356
6396
  })("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");
6357
- _t("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(n) {
6358
- Tt.units[n] = "px";
6397
+ bt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(n) {
6398
+ jt.units[n] = "px";
6359
6399
  });
6360
- yt.registerPlugin(Of);
6361
- var De = yt.registerPlugin(Of) || yt;
6400
+ wt.registerPlugin(Of);
6401
+ var De = wt.registerPlugin(Of) || wt;
6362
6402
  De.core.Tween;
6363
6403
  function d_(n, e) {
6364
6404
  for (var t = 0; t < e.length; t++) {
@@ -6377,16 +6417,16 @@ function p_(n, e, t) {
6377
6417
  * Subject to the terms at https://gsap.com/standard-license
6378
6418
  * @author: Jack Doyle, jack@greensock.com
6379
6419
  */
6380
- var Ye, Xo, Mt, Sr, Tr, Ln, $f, Zr, so, Lf, gr, qt, Ef, Mf = function() {
6420
+ var Ye, Xo, Pt, Tr, jr, En, $f, Zr, so, Lf, mr, qt, Ef, Mf = function() {
6381
6421
  return Ye || typeof window < "u" && (Ye = window.gsap) && Ye.registerPlugin && Ye;
6382
- }, Pf = 1, xn = [], K = [], or = [], ao = Date.now, Xs = function(e, t) {
6422
+ }, Pf = 1, Cn = [], K = [], or = [], ao = Date.now, Xs = function(e, t) {
6383
6423
  return t;
6384
6424
  }, h_ = function() {
6385
6425
  var e = so.core, t = e.bridge || {}, r = e._scrollers, o = e._proxies;
6386
6426
  r.push.apply(r, K), o.push.apply(o, or), K = r, or = o, Xs = function(s, a) {
6387
6427
  return t[s](a);
6388
6428
  };
6389
- }, Ar = function(e, t) {
6429
+ }, Dr = function(e, t) {
6390
6430
  return ~or.indexOf(e) && or[or.indexOf(e) + 1][t];
6391
6431
  }, lo = function(e) {
6392
6432
  return !!~Lf.indexOf(e);
@@ -6398,13 +6438,13 @@ var Ye, Xo, Mt, Sr, Tr, Ln, $f, Zr, so, Lf, gr, qt, Ef, Mf = function() {
6398
6438
  }, at = function(e, t, r, o) {
6399
6439
  return e.removeEventListener(t, r, !!o);
6400
6440
  }, To = "scrollLeft", jo = "scrollTop", Us = function() {
6401
- return gr && gr.isPressed || K.cache++;
6441
+ return mr && mr.isPressed || K.cache++;
6402
6442
  }, ai = function(e, t) {
6403
6443
  var r = function o(i) {
6404
6444
  if (i || i === 0) {
6405
- Pf && (Mt.history.scrollRestoration = "manual");
6406
- var s = gr && gr.isPressed;
6407
- i = o.v = Math.round(i) || (gr && gr.iOS ? 1 : 0), e(i), o.cacheID = K.cache, s && Xs("ss", i);
6445
+ Pf && (Pt.history.scrollRestoration = "manual");
6446
+ var s = mr && mr.isPressed;
6447
+ i = o.v = Math.round(i) || (mr && mr.iOS ? 1 : 0), e(i), o.cacheID = K.cache, s && Xs("ss", i);
6408
6448
  } else (t || K.cache !== o.cacheID || Xs("ref")) && (o.cacheID = K.cache, o.v = e());
6409
6449
  return o.v + o.offset;
6410
6450
  };
@@ -6419,7 +6459,7 @@ var Ye, Xo, Mt, Sr, Tr, Ln, $f, Zr, so, Lf, gr, qt, Ef, Mf = function() {
6419
6459
  d2: "Width",
6420
6460
  a: "x",
6421
6461
  sc: ai(function(n) {
6422
- return arguments.length ? Mt.scrollTo(n, Ae.sc()) : Mt.pageXOffset || Sr[To] || Tr[To] || Ln[To] || 0;
6462
+ return arguments.length ? Pt.scrollTo(n, Ae.sc()) : Pt.pageXOffset || Tr[To] || jr[To] || En[To] || 0;
6423
6463
  })
6424
6464
  }, Ae = {
6425
6465
  s: jo,
@@ -6432,7 +6472,7 @@ var Ye, Xo, Mt, Sr, Tr, Ln, $f, Zr, so, Lf, gr, qt, Ef, Mf = function() {
6432
6472
  a: "y",
6433
6473
  op: pt,
6434
6474
  sc: ai(function(n) {
6435
- return arguments.length ? Mt.scrollTo(pt.sc(), n) : Mt.pageYOffset || Sr[jo] || Tr[jo] || Ln[jo] || 0;
6475
+ return arguments.length ? Pt.scrollTo(pt.sc(), n) : Pt.pageYOffset || Tr[jo] || jr[jo] || En[jo] || 0;
6436
6476
  })
6437
6477
  }, gt = function(e, t) {
6438
6478
  return (t && t._ctx && t._ctx.selector || Ye.utils.toArray)(e)[0] || (typeof e == "string" && Ye.config().nullTargetWarn !== !1 ? console.warn("Element not found:", e) : null);
@@ -6443,26 +6483,26 @@ var Ye, Xo, Mt, Sr, Tr, Ln, $f, Zr, so, Lf, gr, qt, Ef, Mf = function() {
6443
6483
  return !1;
6444
6484
  }, Br = function(e, t) {
6445
6485
  var r = t.s, o = t.sc;
6446
- lo(e) && (e = Sr.scrollingElement || Tr);
6486
+ lo(e) && (e = Tr.scrollingElement || jr);
6447
6487
  var i = K.indexOf(e), s = o === Ae.sc ? 1 : 2;
6448
6488
  !~i && (i = K.push(e) - 1), K[i + s] || lt(e, "scroll", Us);
6449
- var a = K[i + s], l = a || (K[i + s] = ai(Ar(e, r), !0) || (lo(e) ? o : ai(function(c) {
6489
+ var a = K[i + s], l = a || (K[i + s] = ai(Dr(e, r), !0) || (lo(e) ? o : ai(function(c) {
6450
6490
  return arguments.length ? e[r] = c : e[r];
6451
6491
  })));
6452
6492
  return l.target = e, a || (l.smooth = Ye.getProperty(e, "scrollBehavior") === "smooth"), l;
6453
6493
  }, qs = function(e, t, r) {
6454
- var o = e, i = e, s = ao(), a = s, l = t || 50, c = Math.max(500, l * 3), u = function(m, p) {
6494
+ var o = e, i = e, s = ao(), a = s, l = t || 50, c = Math.max(500, l * 3), u = function(m, d) {
6455
6495
  var _ = ao();
6456
- p || _ - s > l ? (i = o, o = m, a = s, s = _) : r ? o += m : o = i + (m - i) / (_ - a) * (s - a);
6457
- }, d = function() {
6496
+ d || _ - s > l ? (i = o, o = m, a = s, s = _) : r ? o += m : o = i + (m - i) / (_ - a) * (s - a);
6497
+ }, p = function() {
6458
6498
  i = o = r ? 0 : o, a = s = 0;
6459
6499
  }, h = function(m) {
6460
- var p = a, _ = i, w = ao();
6461
- return (m || m === 0) && m !== o && u(m), s === a || w - a > c ? 0 : (o + (r ? _ : -_)) / ((r ? w : s) - p) * 1e3;
6500
+ var d = a, _ = i, v = ao();
6501
+ return (m || m === 0) && m !== o && u(m), s === a || v - a > c ? 0 : (o + (r ? _ : -_)) / ((r ? v : s) - d) * 1e3;
6462
6502
  };
6463
6503
  return {
6464
6504
  update: u,
6465
- reset: d,
6505
+ reset: p,
6466
6506
  getVelocity: h
6467
6507
  };
6468
6508
  }, Xn = function(e, t) {
@@ -6473,8 +6513,8 @@ var Ye, Xo, Mt, Sr, Tr, Ln, $f, Zr, so, Lf, gr, qt, Ef, Mf = function() {
6473
6513
  }, Sf = function() {
6474
6514
  so = Ye.core.globals().ScrollTrigger, so && so.core && h_();
6475
6515
  }, Tf = function(e) {
6476
- return Ye = e || Mf(), !Xo && Ye && typeof document < "u" && document.body && (Mt = window, Sr = document, Tr = Sr.documentElement, Ln = Sr.body, Lf = [Mt, Sr, Tr, Ln], Ye.utils.clamp, Ef = Ye.core.context || function() {
6477
- }, Zr = "onpointerenter" in Ln ? "pointer" : "mouse", $f = Ee.isTouch = Mt.matchMedia && Mt.matchMedia("(hover: none), (pointer: coarse)").matches ? 1 : "ontouchstart" in Mt || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0 ? 2 : 0, qt = Ee.eventTypes = ("ontouchstart" in Tr ? "touchstart,touchmove,touchcancel,touchend" : "onpointerdown" in Tr ? "pointerdown,pointermove,pointercancel,pointerup" : "mousedown,mousemove,mouseup,mouseup").split(","), setTimeout(function() {
6516
+ return Ye = e || Mf(), !Xo && Ye && typeof document < "u" && document.body && (Pt = window, Tr = document, jr = Tr.documentElement, En = Tr.body, Lf = [Pt, Tr, jr, En], Ye.utils.clamp, Ef = Ye.core.context || function() {
6517
+ }, Zr = "onpointerenter" in En ? "pointer" : "mouse", $f = Ee.isTouch = Pt.matchMedia && Pt.matchMedia("(hover: none), (pointer: coarse)").matches ? 1 : "ontouchstart" in Pt || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0 ? 2 : 0, qt = Ee.eventTypes = ("ontouchstart" in jr ? "touchstart,touchmove,touchcancel,touchend" : "onpointerdown" in jr ? "pointerdown,pointermove,pointercancel,pointerup" : "mousedown,mousemove,mouseup,mouseup").split(","), setTimeout(function() {
6478
6518
  return Pf = 0;
6479
6519
  }, 500), Sf(), Xo = 1), Xo;
6480
6520
  };
@@ -6487,82 +6527,82 @@ var Ee = /* @__PURE__ */ (function() {
6487
6527
  var e = n.prototype;
6488
6528
  return e.init = function(r) {
6489
6529
  Xo || Tf(Ye) || console.warn("Please gsap.registerPlugin(Observer)"), so || Sf();
6490
- var o = r.tolerance, i = r.dragMinimum, s = r.type, a = r.target, l = r.lineHeight, c = r.debounce, u = r.preventDefault, d = r.onStop, h = r.onStopDelay, f = r.ignore, m = r.wheelSpeed, p = r.event, _ = r.onDragStart, w = r.onDragEnd, x = r.onDrag, O = r.onPress, y = r.onRelease, k = r.onRight, E = r.onLeft, C = r.onUp, S = r.onDown, $ = r.onChangeX, P = r.onChangeY, I = r.onChange, M = r.onToggleX, U = r.onToggleY, V = r.onHover, Q = r.onHoverEnd, Y = r.onMove, N = r.ignoreCheck, ee = r.isNormalizer, ie = r.onGestureStart, v = r.onGestureEnd, te = r.onWheel, nt = r.onEnable, Wt = r.onDisable, ye = r.onClick, Ve = r.scrollSpeed, Xe = r.capture, Me = r.allowClicks, ot = r.lockAxis, Ue = r.onLockAxis;
6491
- this.target = a = gt(a) || Tr, this.vars = r, f && (f = Ye.utils.toArray(f)), o = o || 1e-9, i = i || 0, m = m || 1, Ve = Ve || 1, s = s || "wheel,touch,pointer", c = c !== !1, l || (l = parseFloat(Mt.getComputedStyle(Ln).lineHeight) || 22);
6492
- var br, it, st, oe, ke, ht, wt, b = this, xt = 0, sr = 0, yr = r.passive || !u && r.passive !== !1, we = Br(a, pt), ar = Br(a, Ae), wr = we(), Vr = ar(), Ne = ~s.indexOf("touch") && !~s.indexOf("pointer") && qt[0] === "pointerdown", xr = lo(a), Oe = a.ownerDocument || Sr, Ht = [0, 0, 0], Dt = [0, 0, 0], lr = 0, Bn = function() {
6493
- return lr = ao();
6530
+ var o = r.tolerance, i = r.dragMinimum, s = r.type, a = r.target, l = r.lineHeight, c = r.debounce, u = r.preventDefault, p = r.onStop, h = r.onStopDelay, f = r.ignore, m = r.wheelSpeed, d = r.event, _ = r.onDragStart, v = r.onDragEnd, x = r.onDrag, O = r.onPress, w = r.onRelease, k = r.onRight, E = r.onLeft, C = r.onUp, S = r.onDown, $ = r.onChangeX, P = r.onChangeY, I = r.onChange, M = r.onToggleX, U = r.onToggleY, V = r.onHover, Q = r.onHoverEnd, Y = r.onMove, N = r.ignoreCheck, ee = r.isNormalizer, ie = r.onGestureStart, b = r.onGestureEnd, te = r.onWheel, nt = r.onEnable, Wt = r.onDisable, ye = r.onClick, Ve = r.scrollSpeed, Xe = r.capture, Me = r.allowClicks, ot = r.lockAxis, Ue = r.onLockAxis;
6531
+ this.target = a = gt(a) || jr, this.vars = r, f && (f = Ye.utils.toArray(f)), o = o || 1e-9, i = i || 0, m = m || 1, Ve = Ve || 1, s = s || "wheel,touch,pointer", c = c !== !1, l || (l = parseFloat(Pt.getComputedStyle(En).lineHeight) || 22);
6532
+ var yr, it, st, oe, ke, ht, xt, y = this, Ct = 0, ar = 0, wr = r.passive || !u && r.passive !== !1, we = Br(a, pt), lr = Br(a, Ae), xr = we(), Vr = lr(), Ne = ~s.indexOf("touch") && !~s.indexOf("pointer") && qt[0] === "pointerdown", Cr = lo(a), Oe = a.ownerDocument || Tr, Ht = [0, 0, 0], Dt = [0, 0, 0], cr = 0, Bn = function() {
6533
+ return cr = ao();
6494
6534
  }, Pe = function(z, se) {
6495
- return (b.event = z) && f && g_(z.target, f) || se && Ne && z.pointerType !== "touch" || N && N(z, se);
6535
+ return (y.event = z) && f && g_(z.target, f) || se && Ne && z.pointerType !== "touch" || N && N(z, se);
6496
6536
  }, Lo = function() {
6497
- b._vx.reset(), b._vy.reset(), it.pause(), d && d(b);
6498
- }, cr = function() {
6499
- var z = b.deltaX = tu(Ht), se = b.deltaY = tu(Dt), T = Math.abs(z) >= o, B = Math.abs(se) >= o;
6500
- I && (T || B) && I(b, z, se, Ht, Dt), T && (k && b.deltaX > 0 && k(b), E && b.deltaX < 0 && E(b), $ && $(b), M && b.deltaX < 0 != xt < 0 && M(b), xt = b.deltaX, Ht[0] = Ht[1] = Ht[2] = 0), B && (S && b.deltaY > 0 && S(b), C && b.deltaY < 0 && C(b), P && P(b), U && b.deltaY < 0 != sr < 0 && U(b), sr = b.deltaY, Dt[0] = Dt[1] = Dt[2] = 0), (oe || st) && (Y && Y(b), st && (_ && st === 1 && _(b), x && x(b), st = 0), oe = !1), ht && !(ht = !1) && Ue && Ue(b), ke && (te(b), ke = !1), br = 0;
6501
- }, dn = function(z, se, T) {
6502
- Ht[T] += z, Dt[T] += se, b._vx.update(z), b._vy.update(se), c ? br || (br = requestAnimationFrame(cr)) : cr();
6503
- }, pn = function(z, se) {
6504
- ot && !wt && (b.axis = wt = Math.abs(z) > Math.abs(se) ? "x" : "y", ht = !0), wt !== "y" && (Ht[2] += z, b._vx.update(z, !0)), wt !== "x" && (Dt[2] += se, b._vy.update(se, !0)), c ? br || (br = requestAnimationFrame(cr)) : cr();
6505
- }, Cr = function(z) {
6537
+ y._vx.reset(), y._vy.reset(), it.pause(), p && p(y);
6538
+ }, ur = function() {
6539
+ var z = y.deltaX = tu(Ht), se = y.deltaY = tu(Dt), T = Math.abs(z) >= o, B = Math.abs(se) >= o;
6540
+ I && (T || B) && I(y, z, se, Ht, Dt), T && (k && y.deltaX > 0 && k(y), E && y.deltaX < 0 && E(y), $ && $(y), M && y.deltaX < 0 != Ct < 0 && M(y), Ct = y.deltaX, Ht[0] = Ht[1] = Ht[2] = 0), B && (S && y.deltaY > 0 && S(y), C && y.deltaY < 0 && C(y), P && P(y), U && y.deltaY < 0 != ar < 0 && U(y), ar = y.deltaY, Dt[0] = Dt[1] = Dt[2] = 0), (oe || st) && (Y && Y(y), st && (_ && st === 1 && _(y), x && x(y), st = 0), oe = !1), ht && !(ht = !1) && Ue && Ue(y), ke && (te(y), ke = !1), yr = 0;
6541
+ }, pn = function(z, se, T) {
6542
+ Ht[T] += z, Dt[T] += se, y._vx.update(z), y._vy.update(se), c ? yr || (yr = requestAnimationFrame(ur)) : ur();
6543
+ }, hn = function(z, se) {
6544
+ ot && !xt && (y.axis = xt = Math.abs(z) > Math.abs(se) ? "x" : "y", ht = !0), xt !== "y" && (Ht[2] += z, y._vx.update(z, !0)), xt !== "x" && (Dt[2] += se, y._vy.update(se, !0)), c ? yr || (yr = requestAnimationFrame(ur)) : ur();
6545
+ }, kr = function(z) {
6506
6546
  if (!Pe(z, 1)) {
6507
6547
  z = Xn(z, u);
6508
- var se = z.clientX, T = z.clientY, B = se - b.x, D = T - b.y, F = b.isDragging;
6509
- b.x = se, b.y = T, (F || (B || D) && (Math.abs(b.startX - se) >= i || Math.abs(b.startY - T) >= i)) && (st || (st = F ? 2 : 1), F || (b.isDragging = !0), pn(B, D));
6548
+ var se = z.clientX, T = z.clientY, B = se - y.x, D = T - y.y, F = y.isDragging;
6549
+ y.x = se, y.y = T, (F || (B || D) && (Math.abs(y.startX - se) >= i || Math.abs(y.startY - T) >= i)) && (st || (st = F ? 2 : 1), F || (y.isDragging = !0), hn(B, D));
6510
6550
  }
6511
- }, Wr = b.onPress = function(W) {
6512
- Pe(W, 1) || W && W.button || (b.axis = wt = null, it.pause(), b.isPressed = !0, W = Xn(W), xt = sr = 0, b.startX = b.x = W.clientX, b.startY = b.y = W.clientY, b._vx.reset(), b._vy.reset(), lt(ee ? a : Oe, qt[1], Cr, yr, !0), b.deltaX = b.deltaY = 0, O && O(b));
6513
- }, J = b.onRelease = function(W) {
6551
+ }, Wr = y.onPress = function(W) {
6552
+ Pe(W, 1) || W && W.button || (y.axis = xt = null, it.pause(), y.isPressed = !0, W = Xn(W), Ct = ar = 0, y.startX = y.x = W.clientX, y.startY = y.y = W.clientY, y._vx.reset(), y._vy.reset(), lt(ee ? a : Oe, qt[1], kr, wr, !0), y.deltaX = y.deltaY = 0, O && O(y));
6553
+ }, J = y.onRelease = function(W) {
6514
6554
  if (!Pe(W, 1)) {
6515
- at(ee ? a : Oe, qt[1], Cr, !0);
6516
- var z = !isNaN(b.y - b.startY), se = b.isDragging, T = se && (Math.abs(b.x - b.startX) > 3 || Math.abs(b.y - b.startY) > 3), B = Xn(W);
6517
- !T && z && (b._vx.reset(), b._vy.reset(), u && Me && Ye.delayedCall(0.08, function() {
6518
- if (ao() - lr > 300 && !W.defaultPrevented) {
6555
+ at(ee ? a : Oe, qt[1], kr, !0);
6556
+ var z = !isNaN(y.y - y.startY), se = y.isDragging, T = se && (Math.abs(y.x - y.startX) > 3 || Math.abs(y.y - y.startY) > 3), B = Xn(W);
6557
+ !T && z && (y._vx.reset(), y._vy.reset(), u && Me && Ye.delayedCall(0.08, function() {
6558
+ if (ao() - cr > 300 && !W.defaultPrevented) {
6519
6559
  if (W.target.click)
6520
6560
  W.target.click();
6521
6561
  else if (Oe.createEvent) {
6522
6562
  var D = Oe.createEvent("MouseEvents");
6523
- D.initMouseEvent("click", !0, !0, Mt, 1, B.screenX, B.screenY, B.clientX, B.clientY, !1, !1, !1, !1, 0, null), W.target.dispatchEvent(D);
6563
+ D.initMouseEvent("click", !0, !0, Pt, 1, B.screenX, B.screenY, B.clientX, B.clientY, !1, !1, !1, !1, 0, null), W.target.dispatchEvent(D);
6524
6564
  }
6525
6565
  }
6526
- })), b.isDragging = b.isGesturing = b.isPressed = !1, d && se && !ee && it.restart(!0), st && cr(), w && se && w(b), y && y(b, T);
6566
+ })), y.isDragging = y.isGesturing = y.isPressed = !1, p && se && !ee && it.restart(!0), st && ur(), v && se && v(y), w && w(y, T);
6527
6567
  }
6528
6568
  }, Hr = function(z) {
6529
- return z.touches && z.touches.length > 1 && (b.isGesturing = !0) && ie(z, b.isDragging);
6569
+ return z.touches && z.touches.length > 1 && (y.isGesturing = !0) && ie(z, y.isDragging);
6530
6570
  }, Yt = function() {
6531
- return (b.isGesturing = !1) || v(b);
6571
+ return (y.isGesturing = !1) || b(y);
6532
6572
  }, Gt = function(z) {
6533
6573
  if (!Pe(z)) {
6534
- var se = we(), T = ar();
6535
- dn((se - wr) * Ve, (T - Vr) * Ve, 1), wr = se, Vr = T, d && it.restart(!0);
6574
+ var se = we(), T = lr();
6575
+ pn((se - xr) * Ve, (T - Vr) * Ve, 1), xr = se, Vr = T, p && it.restart(!0);
6536
6576
  }
6537
6577
  }, Xt = function(z) {
6538
6578
  if (!Pe(z)) {
6539
6579
  z = Xn(z, u), te && (ke = !0);
6540
- var se = (z.deltaMode === 1 ? l : z.deltaMode === 2 ? Mt.innerHeight : 1) * m;
6541
- dn(z.deltaX * se, z.deltaY * se, 0), d && !ee && it.restart(!0);
6580
+ var se = (z.deltaMode === 1 ? l : z.deltaMode === 2 ? Pt.innerHeight : 1) * m;
6581
+ pn(z.deltaX * se, z.deltaY * se, 0), p && !ee && it.restart(!0);
6542
6582
  }
6543
6583
  }, Yr = function(z) {
6544
6584
  if (!Pe(z)) {
6545
- var se = z.clientX, T = z.clientY, B = se - b.x, D = T - b.y;
6546
- b.x = se, b.y = T, oe = !0, d && it.restart(!0), (B || D) && pn(B, D);
6585
+ var se = z.clientX, T = z.clientY, B = se - y.x, D = T - y.y;
6586
+ y.x = se, y.y = T, oe = !0, p && it.restart(!0), (B || D) && hn(B, D);
6547
6587
  }
6548
- }, hn = function(z) {
6549
- b.event = z, V(b);
6550
- }, ur = function(z) {
6551
- b.event = z, Q(b);
6588
+ }, gn = function(z) {
6589
+ y.event = z, V(y);
6590
+ }, fr = function(z) {
6591
+ y.event = z, Q(y);
6552
6592
  }, Fn = function(z) {
6553
- return Pe(z) || Xn(z, u) && ye(b);
6593
+ return Pe(z) || Xn(z, u) && ye(y);
6554
6594
  };
6555
- it = b._dc = Ye.delayedCall(h || 0.25, Lo).pause(), b.deltaX = b.deltaY = 0, b._vx = qs(0, 50, !0), b._vy = qs(0, 50, !0), b.scrollX = we, b.scrollY = ar, b.isDragging = b.isGesturing = b.isPressed = !1, Ef(this), b.enable = function(W) {
6556
- return b.isEnabled || (lt(xr ? Oe : a, "scroll", Us), s.indexOf("scroll") >= 0 && lt(xr ? Oe : a, "scroll", Gt, yr, Xe), s.indexOf("wheel") >= 0 && lt(a, "wheel", Xt, yr, Xe), (s.indexOf("touch") >= 0 && $f || s.indexOf("pointer") >= 0) && (lt(a, qt[0], Wr, yr, Xe), lt(Oe, qt[2], J), lt(Oe, qt[3], J), Me && lt(a, "click", Bn, !0, !0), ye && lt(a, "click", Fn), ie && lt(Oe, "gesturestart", Hr), v && lt(Oe, "gestureend", Yt), V && lt(a, Zr + "enter", hn), Q && lt(a, Zr + "leave", ur), Y && lt(a, Zr + "move", Yr)), b.isEnabled = !0, b.isDragging = b.isGesturing = b.isPressed = oe = st = !1, b._vx.reset(), b._vy.reset(), wr = we(), Vr = ar(), W && W.type && Wr(W), nt && nt(b)), b;
6557
- }, b.disable = function() {
6558
- b.isEnabled && (xn.filter(function(W) {
6559
- return W !== b && lo(W.target);
6560
- }).length || at(xr ? Oe : a, "scroll", Us), b.isPressed && (b._vx.reset(), b._vy.reset(), at(ee ? a : Oe, qt[1], Cr, !0)), at(xr ? Oe : a, "scroll", Gt, Xe), at(a, "wheel", Xt, Xe), at(a, qt[0], Wr, Xe), at(Oe, qt[2], J), at(Oe, qt[3], J), at(a, "click", Bn, !0), at(a, "click", Fn), at(Oe, "gesturestart", Hr), at(Oe, "gestureend", Yt), at(a, Zr + "enter", hn), at(a, Zr + "leave", ur), at(a, Zr + "move", Yr), b.isEnabled = b.isPressed = b.isDragging = !1, Wt && Wt(b));
6561
- }, b.kill = b.revert = function() {
6562
- b.disable();
6563
- var W = xn.indexOf(b);
6564
- W >= 0 && xn.splice(W, 1), gr === b && (gr = 0);
6565
- }, xn.push(b), ee && lo(a) && (gr = b), b.enable(p);
6595
+ it = y._dc = Ye.delayedCall(h || 0.25, Lo).pause(), y.deltaX = y.deltaY = 0, y._vx = qs(0, 50, !0), y._vy = qs(0, 50, !0), y.scrollX = we, y.scrollY = lr, y.isDragging = y.isGesturing = y.isPressed = !1, Ef(this), y.enable = function(W) {
6596
+ return y.isEnabled || (lt(Cr ? Oe : a, "scroll", Us), s.indexOf("scroll") >= 0 && lt(Cr ? Oe : a, "scroll", Gt, wr, Xe), s.indexOf("wheel") >= 0 && lt(a, "wheel", Xt, wr, Xe), (s.indexOf("touch") >= 0 && $f || s.indexOf("pointer") >= 0) && (lt(a, qt[0], Wr, wr, Xe), lt(Oe, qt[2], J), lt(Oe, qt[3], J), Me && lt(a, "click", Bn, !0, !0), ye && lt(a, "click", Fn), ie && lt(Oe, "gesturestart", Hr), b && lt(Oe, "gestureend", Yt), V && lt(a, Zr + "enter", gn), Q && lt(a, Zr + "leave", fr), Y && lt(a, Zr + "move", Yr)), y.isEnabled = !0, y.isDragging = y.isGesturing = y.isPressed = oe = st = !1, y._vx.reset(), y._vy.reset(), xr = we(), Vr = lr(), W && W.type && Wr(W), nt && nt(y)), y;
6597
+ }, y.disable = function() {
6598
+ y.isEnabled && (Cn.filter(function(W) {
6599
+ return W !== y && lo(W.target);
6600
+ }).length || at(Cr ? Oe : a, "scroll", Us), y.isPressed && (y._vx.reset(), y._vy.reset(), at(ee ? a : Oe, qt[1], kr, !0)), at(Cr ? Oe : a, "scroll", Gt, Xe), at(a, "wheel", Xt, Xe), at(a, qt[0], Wr, Xe), at(Oe, qt[2], J), at(Oe, qt[3], J), at(a, "click", Bn, !0), at(a, "click", Fn), at(Oe, "gesturestart", Hr), at(Oe, "gestureend", Yt), at(a, Zr + "enter", gn), at(a, Zr + "leave", fr), at(a, Zr + "move", Yr), y.isEnabled = y.isPressed = y.isDragging = !1, Wt && Wt(y));
6601
+ }, y.kill = y.revert = function() {
6602
+ y.disable();
6603
+ var W = Cn.indexOf(y);
6604
+ W >= 0 && Cn.splice(W, 1), mr === y && (mr = 0);
6605
+ }, Cn.push(y), ee && lo(a) && (mr = y), y.enable(d);
6566
6606
  }, p_(n, [{
6567
6607
  key: "velocityX",
6568
6608
  get: function() {
@@ -6581,10 +6621,10 @@ Ee.create = function(n) {
6581
6621
  };
6582
6622
  Ee.register = Tf;
6583
6623
  Ee.getAll = function() {
6584
- return xn.slice();
6624
+ return Cn.slice();
6585
6625
  };
6586
6626
  Ee.getById = function(n) {
6587
- return xn.filter(function(e) {
6627
+ return Cn.filter(function(e) {
6588
6628
  return e.vars.id === n;
6589
6629
  })[0];
6590
6630
  };
@@ -6597,11 +6637,11 @@ Mf() && Ye.registerPlugin(Ee);
6597
6637
  * Subject to the terms at https://gsap.com/standard-license
6598
6638
  * @author: Jack Doyle, jack@greensock.com
6599
6639
  */
6600
- var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf, Os, Rf, ct, Ks, Af, Df, Lr, Qs, ka, En, Oa, uo, Js, $s, Ao = 1, Je = Date.now, Ls = Je(), Vt = 0, Qn = 0, ou = function(e, t, r) {
6601
- var o = Ot(e) && (e.substr(0, 6) === "clamp(" || e.indexOf("max") > -1);
6640
+ var j, vn, Z, de, Et, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, yn, jf, Os, Rf, ct, Ks, Af, Df, Er, Qs, ka, Mn, Oa, uo, Js, $s, Ao = 1, Je = Date.now, Ls = Je(), Vt = 0, Qn = 0, ou = function(e, t, r) {
6641
+ var o = $t(e) && (e.substr(0, 6) === "clamp(" || e.indexOf("max") > -1);
6602
6642
  return r["_" + t + "Clamp"] = o, o ? e.substr(6, e.length - 7) : e;
6603
6643
  }, iu = function(e, t) {
6604
- return t && (!Ot(e) || e.substr(0, 6) !== "clamp(") ? "clamp(" + e + ")" : e;
6644
+ return t && (!$t(e) || e.substr(0, 6) !== "clamp(") ? "clamp(" + e + ")" : e;
6605
6645
  }, m_ = function n() {
6606
6646
  return Qn && requestAnimationFrame(n);
6607
6647
  }, su = function() {
@@ -6616,34 +6656,34 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6616
6656
  return typeof window < "u";
6617
6657
  }, zf = function() {
6618
6658
  return j || Nf() && (j = window.gsap) && j.registerPlugin && j;
6619
- }, ln = function(e) {
6659
+ }, cn = function(e) {
6620
6660
  return !!~Ca.indexOf(e);
6621
6661
  }, If = function(e) {
6622
- return (e === "Height" ? Oa : Z["inner" + e]) || Lt["client" + e] || ae["client" + e];
6662
+ return (e === "Height" ? Oa : Z["inner" + e]) || Et["client" + e] || ae["client" + e];
6623
6663
  }, Bf = function(e) {
6624
- return Ar(e, "getBoundingClientRect") || (ln(e) ? function() {
6664
+ return Dr(e, "getBoundingClientRect") || (cn(e) ? function() {
6625
6665
  return Qo.width = Z.innerWidth, Qo.height = Oa, Qo;
6626
6666
  } : function() {
6627
- return hr(e);
6667
+ return gr(e);
6628
6668
  });
6629
6669
  }, __ = function(e, t, r) {
6630
6670
  var o = r.d, i = r.d2, s = r.a;
6631
- return (s = Ar(e, "getBoundingClientRect")) ? function() {
6671
+ return (s = Dr(e, "getBoundingClientRect")) ? function() {
6632
6672
  return s()[o];
6633
6673
  } : function() {
6634
6674
  return (t ? If(i) : e["client" + i]) || 0;
6635
6675
  };
6636
- }, v_ = function(e, t) {
6676
+ }, b_ = function(e, t) {
6637
6677
  return !t || ~or.indexOf(e) ? Bf(e) : function() {
6638
6678
  return Qo;
6639
6679
  };
6640
6680
  }, nr = function(e, t) {
6641
6681
  var r = t.s, o = t.d2, i = t.d, s = t.a;
6642
- return Math.max(0, (r = "scroll" + o) && (s = Ar(e, r)) ? s() - Bf(e)()[i] : ln(e) ? (Lt[r] || ae[r]) - If(o) : e[r] - e["offset" + o]);
6682
+ return Math.max(0, (r = "scroll" + o) && (s = Dr(e, r)) ? s() - Bf(e)()[i] : cn(e) ? (Et[r] || ae[r]) - If(o) : e[r] - e["offset" + o]);
6643
6683
  }, Do = function(e, t) {
6644
- for (var r = 0; r < bn.length; r += 3)
6645
- (!t || ~t.indexOf(bn[r + 1])) && e(bn[r], bn[r + 1], bn[r + 2]);
6646
- }, Ot = function(e) {
6684
+ for (var r = 0; r < yn.length; r += 3)
6685
+ (!t || ~t.indexOf(yn[r + 1])) && e(yn[r], yn[r + 1], yn[r + 2]);
6686
+ }, $t = function(e) {
6647
6687
  return typeof e == "string";
6648
6688
  }, tt = function(e) {
6649
6689
  return typeof e == "function";
@@ -6660,16 +6700,16 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6660
6700
  }) : t(e);
6661
6701
  r && r.totalTime && (e.callbackAnimation = r);
6662
6702
  }
6663
- }, mn = Math.abs, Ff = "left", Vf = "top", $a = "right", La = "bottom", on = "width", sn = "height", fo = "Right", po = "Left", ho = "Top", go = "Bottom", Se = "padding", zt = "margin", Nn = "Width", Ea = "Height", Re = "px", It = function(e) {
6703
+ }, _n = Math.abs, Ff = "left", Vf = "top", $a = "right", La = "bottom", on = "width", sn = "height", fo = "Right", po = "Left", ho = "Top", go = "Bottom", Se = "padding", zt = "margin", Nn = "Width", Ea = "Height", Re = "px", It = function(e) {
6664
6704
  return Z.getComputedStyle(e);
6665
- }, b_ = function(e) {
6705
+ }, v_ = function(e) {
6666
6706
  var t = It(e).position;
6667
6707
  e.style.position = t === "absolute" || t === "fixed" ? t : "relative";
6668
6708
  }, lu = function(e, t) {
6669
6709
  for (var r in t)
6670
6710
  r in e || (e[r] = t[r]);
6671
6711
  return e;
6672
- }, hr = function(e, t) {
6712
+ }, gr = function(e, t) {
6673
6713
  var r = t && It(e)[Zs] !== "matrix(1, 0, 0, 1, 0, 0)" && j.to(e, {
6674
6714
  x: 0,
6675
6715
  y: 0,
@@ -6752,36 +6792,36 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6752
6792
  bottom: 1,
6753
6793
  right: 1
6754
6794
  }, Uo = function(e, t) {
6755
- if (Ot(e)) {
6795
+ if ($t(e)) {
6756
6796
  var r = e.indexOf("="), o = ~r ? +(e.charAt(r - 1) + 1) * parseFloat(e.substr(r + 1)) : 0;
6757
6797
  ~r && (e.indexOf("%") > r && (o *= t / 100), e = e.substr(0, r - 1)), e = o + (e in ui ? ui[e] * t : ~e.indexOf("%") ? parseFloat(e) * t / 100 : parseFloat(e) || 0);
6758
6798
  }
6759
6799
  return e;
6760
6800
  }, Bo = function(e, t, r, o, i, s, a, l) {
6761
- var c = i.startColor, u = i.endColor, d = i.fontSize, h = i.indent, f = i.fontWeight, m = de.createElement("div"), p = ln(r) || Ar(r, "pinType") === "fixed", _ = e.indexOf("scroller") !== -1, w = p ? ae : r, x = e.indexOf("start") !== -1, O = x ? c : u, y = "border-color:" + O + ";font-size:" + d + ";color:" + O + ";font-weight:" + f + ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";
6762
- return y += "position:" + ((_ || l) && p ? "fixed;" : "absolute;"), (_ || l || !p) && (y += (o === Ae ? $a : La) + ":" + (s + parseFloat(h)) + "px;"), a && (y += "box-sizing:border-box;text-align:left;width:" + a.offsetWidth + "px;"), m._isStart = x, m.setAttribute("class", "gsap-marker-" + e + (t ? " marker-" + t : "")), m.style.cssText = y, m.innerText = t || t === 0 ? e + "-" + t : e, w.children[0] ? w.insertBefore(m, w.children[0]) : w.appendChild(m), m._offset = m["offset" + o.op.d2], qo(m, 0, o, x), m;
6801
+ var c = i.startColor, u = i.endColor, p = i.fontSize, h = i.indent, f = i.fontWeight, m = de.createElement("div"), d = cn(r) || Dr(r, "pinType") === "fixed", _ = e.indexOf("scroller") !== -1, v = d ? ae : r, x = e.indexOf("start") !== -1, O = x ? c : u, w = "border-color:" + O + ";font-size:" + p + ";color:" + O + ";font-weight:" + f + ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";
6802
+ return w += "position:" + ((_ || l) && d ? "fixed;" : "absolute;"), (_ || l || !d) && (w += (o === Ae ? $a : La) + ":" + (s + parseFloat(h)) + "px;"), a && (w += "box-sizing:border-box;text-align:left;width:" + a.offsetWidth + "px;"), m._isStart = x, m.setAttribute("class", "gsap-marker-" + e + (t ? " marker-" + t : "")), m.style.cssText = w, m.innerText = t || t === 0 ? e + "-" + t : e, v.children[0] ? v.insertBefore(m, v.children[0]) : v.appendChild(m), m._offset = m["offset" + o.op.d2], qo(m, 0, o, x), m;
6763
6803
  }, qo = function(e, t, r, o) {
6764
6804
  var i = {
6765
6805
  display: "block"
6766
6806
  }, s = r[o ? "os2" : "p2"], a = r[o ? "p2" : "os2"];
6767
6807
  e._isFlipped = o, i[r.a + "Percent"] = o ? -100 : 0, i[r.a] = o ? "1px" : 0, i["border" + s + Nn] = 1, i["border" + a + Nn] = 0, i[r.p] = t + "px", j.set(e, i);
6768
6808
  }, q = [], ea = {}, Oo, uu = function() {
6769
- return Je() - Vt > 34 && (Oo || (Oo = requestAnimationFrame(mr)));
6770
- }, _n = function() {
6771
- (!ct || !ct.isPressed || ct.startX > ae.clientWidth) && (K.cache++, ct ? Oo || (Oo = requestAnimationFrame(mr)) : mr(), Vt || un("scrollStart"), Vt = Je());
6809
+ return Je() - Vt > 34 && (Oo || (Oo = requestAnimationFrame(_r)));
6810
+ }, bn = function() {
6811
+ (!ct || !ct.isPressed || ct.startX > ae.clientWidth) && (K.cache++, ct ? Oo || (Oo = requestAnimationFrame(_r)) : _r(), Vt || fn("scrollStart"), Vt = Je());
6772
6812
  }, Ms = function() {
6773
6813
  Df = Z.innerWidth, Af = Z.innerHeight;
6774
6814
  }, to = function(e) {
6775
6815
  K.cache++, (e === !0 || !Qe && !Rf && !de.fullscreenElement && !de.webkitFullscreenElement && (!Ks || Df !== Z.innerWidth || Math.abs(Z.innerHeight - Af) > Z.innerHeight * 0.25)) && li.restart(!0);
6776
- }, cn = {}, x_ = [], Hf = function n() {
6816
+ }, un = {}, x_ = [], Hf = function n() {
6777
6817
  return Ie(X, "scrollEnd", n) || Jr(!0);
6778
- }, un = function(e) {
6779
- return cn[e] && cn[e].map(function(t) {
6818
+ }, fn = function(e) {
6819
+ return un[e] && un[e].map(function(t) {
6780
6820
  return t();
6781
6821
  }) || x_;
6782
- }, kt = [], Yf = function(e) {
6783
- for (var t = 0; t < kt.length; t += 5)
6784
- (!e || kt[t + 4] && kt[t + 4].query === e) && (kt[t].style.cssText = kt[t + 1], kt[t].getBBox && kt[t].setAttribute("transform", kt[t + 2] || ""), kt[t + 3].uncache = 1);
6822
+ }, Ot = [], Yf = function(e) {
6823
+ for (var t = 0; t < Ot.length; t += 5)
6824
+ (!e || Ot[t + 4] && Ot[t + 4].query === e) && (Ot[t].style.cssText = Ot[t + 1], Ot[t].getBBox && Ot[t].setAttribute("transform", Ot[t + 2] || ""), Ot[t + 3].uncache = 1);
6785
6825
  }, Gf = function() {
6786
6826
  return K.forEach(function(e) {
6787
6827
  return tt(e) && ++e.cacheID && (e.rec = e());
@@ -6790,11 +6830,11 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6790
6830
  var r;
6791
6831
  for (ut = 0; ut < q.length; ut++)
6792
6832
  r = q[ut], r && (!t || r._ctx === t) && (e ? r.kill(1) : r.revert(!0, !0));
6793
- uo = !0, t && Yf(t), t || un("revert");
6833
+ uo = !0, t && Yf(t), t || fn("revert");
6794
6834
  }, Xf = function(e, t) {
6795
6835
  K.cache++, (t || !ft) && K.forEach(function(r) {
6796
6836
  return tt(r) && r.cacheID++ && (r.rec = 0);
6797
- }), Ot(e) && (Z.history.scrollRestoration = ka = e);
6837
+ }), $t(e) && (Z.history.scrollRestoration = ka = e);
6798
6838
  }, ft, an = 0, fu, C_ = function() {
6799
6839
  if (fu !== an) {
6800
6840
  var e = fu = an;
@@ -6803,18 +6843,18 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6803
6843
  });
6804
6844
  }
6805
6845
  }, Uf = function() {
6806
- ae.appendChild(En), Oa = !ct && En.offsetHeight || Z.innerHeight, ae.removeChild(En);
6846
+ ae.appendChild(Mn), Oa = !ct && Mn.offsetHeight || Z.innerHeight, ae.removeChild(Mn);
6807
6847
  }, du = function(e) {
6808
6848
  return ko(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t) {
6809
6849
  return t.style.display = e ? "none" : "block";
6810
6850
  });
6811
6851
  }, Jr = function(e, t) {
6812
- if (Lt = de.documentElement, ae = de.body, Ca = [Z, de, Lt, ae], Vt && !e && !uo) {
6852
+ if (Et = de.documentElement, ae = de.body, Ca = [Z, de, Et, ae], Vt && !e && !uo) {
6813
6853
  Be(X, "scrollEnd", Hf);
6814
6854
  return;
6815
6855
  }
6816
6856
  Uf(), ft = X.isRefreshing = !0, uo || Gf();
6817
- var r = un("refreshInit");
6857
+ var r = fn("refreshInit");
6818
6858
  jf && X.sort(), t || Pa(), K.forEach(function(o) {
6819
6859
  tt(o) && (o.smooth && (o.target.style.scrollBehavior = "auto"), o(0));
6820
6860
  }), q.slice(0).forEach(function(o) {
@@ -6833,14 +6873,14 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6833
6873
  tt(o) && (o.smooth && requestAnimationFrame(function() {
6834
6874
  return o.target.style.scrollBehavior = "smooth";
6835
6875
  }), o.rec && o(o.rec));
6836
- }), Xf(ka, 1), li.pause(), an++, ft = 2, mr(2), q.forEach(function(o) {
6876
+ }), Xf(ka, 1), li.pause(), an++, ft = 2, _r(2), q.forEach(function(o) {
6837
6877
  return tt(o.vars.onRefresh) && o.vars.onRefresh(o);
6838
- }), ft = X.isRefreshing = !1, un("refresh");
6839
- }, ta = 0, Zo = 1, mo, mr = function(e) {
6878
+ }), ft = X.isRefreshing = !1, fn("refresh");
6879
+ }, ta = 0, Zo = 1, mo, _r = function(e) {
6840
6880
  if (e === 2 || !ft && !uo) {
6841
6881
  X.isUpdating = !0, mo && mo.update(0);
6842
6882
  var t = q.length, r = Je(), o = r - Ls >= 50, i = t && q[0].scroll();
6843
- if (Zo = ta > i ? -1 : 1, ft || (ta = i), o && (Vt && !hi && r - Vt > 200 && (Vt = 0, un("scrollEnd")), Kn = Ls, Ls = r), Zo < 0) {
6883
+ if (Zo = ta > i ? -1 : 1, ft || (ta = i), o && (Vt && !hi && r - Vt > 200 && (Vt = 0, fn("scrollEnd")), Kn = Ls, Ls = r), Zo < 0) {
6844
6884
  for (ut = t; ut-- > 0; )
6845
6885
  q[ut] && q[ut].update(0, o);
6846
6886
  Zo = 1;
@@ -6851,10 +6891,10 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6851
6891
  }
6852
6892
  Oo = 0;
6853
6893
  }, ra = [Ff, Vf, La, $a, zt + go, zt + fo, zt + ho, zt + po, "display", "flexShrink", "float", "zIndex", "gridColumnStart", "gridColumnEnd", "gridRowStart", "gridRowEnd", "gridArea", "justifySelf", "alignSelf", "placeSelf", "order"], Ko = ra.concat([on, sn, "boxSizing", "max" + Nn, "max" + Ea, "position", zt, Se, Se + ho, Se + fo, Se + go, Se + po]), k_ = function(e, t, r) {
6854
- Mn(r);
6894
+ Pn(r);
6855
6895
  var o = e._gsap;
6856
6896
  if (o.spacerIsNative)
6857
- Mn(o.spacerState);
6897
+ Pn(o.spacerState);
6858
6898
  else if (e._gsap.swappedIn) {
6859
6899
  var i = t.parentNode;
6860
6900
  i && (i.insertBefore(e, t), i.removeChild(t));
@@ -6864,9 +6904,9 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6864
6904
  if (!e._gsap.swappedIn) {
6865
6905
  for (var i = ra.length, s = t.style, a = e.style, l; i--; )
6866
6906
  l = ra[i], s[l] = r[l];
6867
- s.position = r.position === "absolute" ? "absolute" : "relative", r.display === "inline" && (s.display = "inline-block"), a[La] = a[$a] = "auto", s.flexBasis = r.flexBasis || "auto", s.overflow = "visible", s.boxSizing = "border-box", s[on] = ci(e, pt) + Re, s[sn] = ci(e, Ae) + Re, s[Se] = a[zt] = a[Vf] = a[Ff] = "0", Mn(o), a[on] = a["max" + Nn] = r[on], a[sn] = a["max" + Ea] = r[sn], a[Se] = r[Se], e.parentNode !== t && (e.parentNode.insertBefore(t, e), t.appendChild(e)), e._gsap.swappedIn = !0;
6907
+ s.position = r.position === "absolute" ? "absolute" : "relative", r.display === "inline" && (s.display = "inline-block"), a[La] = a[$a] = "auto", s.flexBasis = r.flexBasis || "auto", s.overflow = "visible", s.boxSizing = "border-box", s[on] = ci(e, pt) + Re, s[sn] = ci(e, Ae) + Re, s[Se] = a[zt] = a[Vf] = a[Ff] = "0", Pn(o), a[on] = a["max" + Nn] = r[on], a[sn] = a["max" + Ea] = r[sn], a[Se] = r[Se], e.parentNode !== t && (e.parentNode.insertBefore(t, e), t.appendChild(e)), e._gsap.swappedIn = !0;
6868
6908
  }
6869
- }, O_ = /([A-Z])/g, Mn = function(e) {
6909
+ }, O_ = /([A-Z])/g, Pn = function(e) {
6870
6910
  if (e) {
6871
6911
  var t = e.t.style, r = e.length, o = 0, i, s;
6872
6912
  for ((e.t._gsap || j.core.getCache(e.t)).uncache = 1; o < r; o += 2)
@@ -6883,21 +6923,21 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6883
6923
  }, Qo = {
6884
6924
  left: 0,
6885
6925
  top: 0
6886
- }, pu = function(e, t, r, o, i, s, a, l, c, u, d, h, f, m) {
6887
- tt(e) && (e = e(l)), Ot(e) && e.substr(0, 3) === "max" && (e = h + (e.charAt(4) === "=" ? Uo("0" + e.substr(3), r) : 0));
6888
- var p = f ? f.time() : 0, _, w, x;
6926
+ }, pu = function(e, t, r, o, i, s, a, l, c, u, p, h, f, m) {
6927
+ tt(e) && (e = e(l)), $t(e) && e.substr(0, 3) === "max" && (e = h + (e.charAt(4) === "=" ? Uo("0" + e.substr(3), r) : 0));
6928
+ var d = f ? f.time() : 0, _, v, x;
6889
6929
  if (f && f.seek(0), isNaN(e) || (e = +e), eo(e))
6890
6930
  f && (e = j.utils.mapRange(f.scrollTrigger.start, f.scrollTrigger.end, 0, h, e)), a && qo(a, r, o, !0);
6891
6931
  else {
6892
6932
  tt(t) && (t = t(l));
6893
- var O = (e || "0").split(" "), y, k, E, C;
6894
- x = gt(t, l) || ae, y = hr(x) || {}, (!y || !y.left && !y.top) && It(x).display === "none" && (C = x.style.display, x.style.display = "block", y = hr(x), C ? x.style.display = C : x.style.removeProperty("display")), k = Uo(O[0], y[o.d]), E = Uo(O[1] || "0", r), e = y[o.p] - c[o.p] - u + k + i - E, a && qo(a, E, o, r - E < 20 || a._isStart && E > 20), r -= r - E;
6933
+ var O = (e || "0").split(" "), w, k, E, C;
6934
+ x = gt(t, l) || ae, w = gr(x) || {}, (!w || !w.left && !w.top) && It(x).display === "none" && (C = x.style.display, x.style.display = "block", w = gr(x), C ? x.style.display = C : x.style.removeProperty("display")), k = Uo(O[0], w[o.d]), E = Uo(O[1] || "0", r), e = w[o.p] - c[o.p] - u + k + i - E, a && qo(a, E, o, r - E < 20 || a._isStart && E > 20), r -= r - E;
6895
6935
  }
6896
6936
  if (m && (l[m] = e || -1e-3, e < 0 && (e = 0)), s) {
6897
6937
  var S = e + r, $ = s._isStart;
6898
- _ = "scroll" + o.d2, qo(s, S, o, $ && S > 20 || !$ && (d ? Math.max(ae[_], Lt[_]) : s.parentNode[_]) <= S + 1), d && (c = hr(a), d && (s.style[o.op.p] = c[o.op.p] - o.op.m - s._offset + Re));
6938
+ _ = "scroll" + o.d2, qo(s, S, o, $ && S > 20 || !$ && (p ? Math.max(ae[_], Et[_]) : s.parentNode[_]) <= S + 1), p && (c = gr(a), p && (s.style[o.op.p] = c[o.op.p] - o.op.m - s._offset + Re));
6899
6939
  }
6900
- return f && x && (_ = hr(x), f.seek(h), w = hr(x), f._caScrollDist = _[o.p] - w[o.p], e = e / f._caScrollDist * h), f && f.seek(p), f ? e : Math.round(e);
6940
+ return f && x && (_ = gr(x), f.seek(h), v = gr(x), f._caScrollDist = _[o.p] - v[o.p], e = e / f._caScrollDist * h), f && f.seek(d), f ? e : Math.round(e);
6901
6941
  }, L_ = /(webkit|moz|length|cssText|inset)/i, hu = function(e, t, r, o) {
6902
6942
  if (e.parentNode !== t) {
6903
6943
  var i = e.style, s, a;
@@ -6920,16 +6960,16 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6920
6960
  var o = {};
6921
6961
  o[t.p] = "+=" + r, j.set(e, o);
6922
6962
  }, gu = function(e, t) {
6923
- var r = Br(e, t), o = "_scroll" + t.p2, i = function s(a, l, c, u, d) {
6963
+ var r = Br(e, t), o = "_scroll" + t.p2, i = function s(a, l, c, u, p) {
6924
6964
  var h = s.tween, f = l.onComplete, m = {};
6925
6965
  c = c || r();
6926
- var p = qf(r, c, function() {
6966
+ var d = qf(r, c, function() {
6927
6967
  h.kill(), s.tween = 0;
6928
6968
  });
6929
- return d = u && d || 0, u = u || a - c, h && h.kill(), l[o] = a, l.inherit = !1, l.modifiers = m, m[o] = function() {
6930
- return p(c + u * h.ratio + d * h.ratio * h.ratio);
6969
+ return p = u && p || 0, u = u || a - c, h && h.kill(), l[o] = a, l.inherit = !1, l.modifiers = m, m[o] = function() {
6970
+ return d(c + u * h.ratio + p * h.ratio * h.ratio);
6931
6971
  }, l.onUpdate = function() {
6932
- K.cache++, s.tween && mr();
6972
+ K.cache++, s.tween && _r();
6933
6973
  }, l.onComplete = function() {
6934
6974
  s.tween = 0, f && f.call(h);
6935
6975
  }, h = s.tween = j.to(e, l), h;
@@ -6947,16 +6987,16 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6947
6987
  this.update = this.refresh = this.kill = er;
6948
6988
  return;
6949
6989
  }
6950
- r = lu(Ot(r) || eo(r) || r.nodeType ? {
6990
+ r = lu($t(r) || eo(r) || r.nodeType ? {
6951
6991
  trigger: r
6952
6992
  } : r, Io);
6953
- var i = r, s = i.onUpdate, a = i.toggleClass, l = i.id, c = i.onToggle, u = i.onRefresh, d = i.scrub, h = i.trigger, f = i.pin, m = i.pinSpacing, p = i.invalidateOnRefresh, _ = i.anticipatePin, w = i.onScrubComplete, x = i.onSnapComplete, O = i.once, y = i.snap, k = i.pinReparent, E = i.pinSpacer, C = i.containerAnimation, S = i.fastScrollEnd, $ = i.preventOverlaps, P = r.horizontal || r.containerAnimation && r.horizontal !== !1 ? pt : Ae, I = !d && d !== 0, M = gt(r.scroller || Z), U = j.core.getCache(M), V = ln(M), Q = ("pinType" in r ? r.pinType : Ar(M, "pinType") || V && "fixed") === "fixed", Y = [r.onEnter, r.onLeave, r.onEnterBack, r.onLeaveBack], N = I && r.toggleActions.split(" "), ee = "markers" in r ? r.markers : Io.markers, ie = V ? 0 : parseFloat(It(M)["border" + P.p2 + Nn]) || 0, v = this, te = r.onRefreshInit && function() {
6954
- return r.onRefreshInit(v);
6955
- }, nt = __(M, V, P), Wt = v_(M, V), ye = 0, Ve = 0, Xe = 0, Me = Br(M, P), ot, Ue, br, it, st, oe, ke, ht, wt, b, xt, sr, yr, we, ar, wr, Vr, Ne, xr, Oe, Ht, Dt, lr, Bn, Pe, Lo, cr, dn, pn, Cr, Wr, J, Hr, Yt, Gt, Xt, Yr, hn, ur;
6956
- if (v._startClamp = v._endClamp = !1, v._dir = P, _ *= 45, v.scroller = M, v.scroll = C ? C.time.bind(C) : Me, it = Me(), v.vars = r, o = o || r.animation, "refreshPriority" in r && (jf = 1, r.refreshPriority === -9999 && (mo = v)), U.tweenScroll = U.tweenScroll || {
6993
+ var i = r, s = i.onUpdate, a = i.toggleClass, l = i.id, c = i.onToggle, u = i.onRefresh, p = i.scrub, h = i.trigger, f = i.pin, m = i.pinSpacing, d = i.invalidateOnRefresh, _ = i.anticipatePin, v = i.onScrubComplete, x = i.onSnapComplete, O = i.once, w = i.snap, k = i.pinReparent, E = i.pinSpacer, C = i.containerAnimation, S = i.fastScrollEnd, $ = i.preventOverlaps, P = r.horizontal || r.containerAnimation && r.horizontal !== !1 ? pt : Ae, I = !p && p !== 0, M = gt(r.scroller || Z), U = j.core.getCache(M), V = cn(M), Q = ("pinType" in r ? r.pinType : Dr(M, "pinType") || V && "fixed") === "fixed", Y = [r.onEnter, r.onLeave, r.onEnterBack, r.onLeaveBack], N = I && r.toggleActions.split(" "), ee = "markers" in r ? r.markers : Io.markers, ie = V ? 0 : parseFloat(It(M)["border" + P.p2 + Nn]) || 0, b = this, te = r.onRefreshInit && function() {
6994
+ return r.onRefreshInit(b);
6995
+ }, nt = __(M, V, P), Wt = b_(M, V), ye = 0, Ve = 0, Xe = 0, Me = Br(M, P), ot, Ue, yr, it, st, oe, ke, ht, xt, y, Ct, ar, wr, we, lr, xr, Vr, Ne, Cr, Oe, Ht, Dt, cr, Bn, Pe, Lo, ur, pn, hn, kr, Wr, J, Hr, Yt, Gt, Xt, Yr, gn, fr;
6996
+ if (b._startClamp = b._endClamp = !1, b._dir = P, _ *= 45, b.scroller = M, b.scroll = C ? C.time.bind(C) : Me, it = Me(), b.vars = r, o = o || r.animation, "refreshPriority" in r && (jf = 1, r.refreshPriority === -9999 && (mo = b)), U.tweenScroll = U.tweenScroll || {
6957
6997
  top: gu(M, Ae),
6958
6998
  left: gu(M, pt)
6959
- }, v.tweenTo = ot = U.tweenScroll[P.p], v.scrubDuration = function(T) {
6999
+ }, b.tweenTo = ot = U.tweenScroll[P.p], b.scrubDuration = function(T) {
6960
7000
  Hr = eo(T) && T, Hr ? J ? J.duration(T) : J = j.to(o, {
6961
7001
  ease: "expo",
6962
7002
  totalProgress: "+=0",
@@ -6964,191 +7004,191 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
6964
7004
  duration: Hr,
6965
7005
  paused: !0,
6966
7006
  onComplete: function() {
6967
- return w && w(v);
7007
+ return v && v(b);
6968
7008
  }
6969
7009
  }) : (J && J.progress(1).kill(), J = 0);
6970
- }, o && (o.vars.lazy = !1, o._initted && !v.isReverted || o.vars.immediateRender !== !1 && r.immediateRender !== !1 && o.duration() && o.render(0, !0, !0), v.animation = o.pause(), o.scrollTrigger = v, v.scrubDuration(d), Cr = 0, l || (l = o.vars.id)), y && ((!Kr(y) || y.push) && (y = {
6971
- snapTo: y
6972
- }), "scrollBehavior" in ae.style && j.set(V ? [ae, Lt] : M, {
7010
+ }, o && (o.vars.lazy = !1, o._initted && !b.isReverted || o.vars.immediateRender !== !1 && r.immediateRender !== !1 && o.duration() && o.render(0, !0, !0), b.animation = o.pause(), o.scrollTrigger = b, b.scrubDuration(p), kr = 0, l || (l = o.vars.id)), w && ((!Kr(w) || w.push) && (w = {
7011
+ snapTo: w
7012
+ }), "scrollBehavior" in ae.style && j.set(V ? [ae, Et] : M, {
6973
7013
  scrollBehavior: "auto"
6974
7014
  }), K.forEach(function(T) {
6975
- return tt(T) && T.target === (V ? de.scrollingElement || Lt : M) && (T.smooth = !1);
6976
- }), br = tt(y.snapTo) ? y.snapTo : y.snapTo === "labels" ? y_(o) : y.snapTo === "labelsDirectional" ? w_(o) : y.directional !== !1 ? function(T, B) {
6977
- return Ma(y.snapTo)(T, Je() - Ve < 500 ? 0 : B.direction);
6978
- } : j.utils.snap(y.snapTo), Yt = y.duration || {
7015
+ return tt(T) && T.target === (V ? de.scrollingElement || Et : M) && (T.smooth = !1);
7016
+ }), yr = tt(w.snapTo) ? w.snapTo : w.snapTo === "labels" ? y_(o) : w.snapTo === "labelsDirectional" ? w_(o) : w.directional !== !1 ? function(T, B) {
7017
+ return Ma(w.snapTo)(T, Je() - Ve < 500 ? 0 : B.direction);
7018
+ } : j.utils.snap(w.snapTo), Yt = w.duration || {
6979
7019
  min: 0.1,
6980
7020
  max: 2
6981
- }, Yt = Kr(Yt) ? co(Yt.min, Yt.max) : co(Yt, Yt), Gt = j.delayedCall(y.delay || Hr / 2 || 0.1, function() {
7021
+ }, Yt = Kr(Yt) ? co(Yt.min, Yt.max) : co(Yt, Yt), Gt = j.delayedCall(w.delay || Hr / 2 || 0.1, function() {
6982
7022
  var T = Me(), B = Je() - Ve < 500, D = ot.tween;
6983
- if ((B || Math.abs(v.getVelocity()) < 10) && !D && !hi && ye !== T) {
6984
- var F = (T - oe) / we, ze = o && !I ? o.totalProgress() : F, re = B ? 0 : (ze - Wr) / (Je() - Kn) * 1e3 || 0, $e = j.utils.clamp(-F, 1 - F, mn(re / 2) * re / 0.185), qe = F + (y.inertia === !1 ? 0 : $e), xe, he, ce = y, Ut = ce.onStart, me = ce.onInterrupt, Ct = ce.onComplete;
6985
- if (xe = br(qe, v), eo(xe) || (xe = qe), he = Math.max(0, Math.round(oe + xe * we)), T <= ke && T >= oe && he !== T) {
6986
- if (D && !D._initted && D.data <= mn(he - T))
7023
+ if ((B || Math.abs(b.getVelocity()) < 10) && !D && !hi && ye !== T) {
7024
+ var F = (T - oe) / we, ze = o && !I ? o.totalProgress() : F, re = B ? 0 : (ze - Wr) / (Je() - Kn) * 1e3 || 0, $e = j.utils.clamp(-F, 1 - F, _n(re / 2) * re / 0.185), qe = F + (w.inertia === !1 ? 0 : $e), xe, he, ce = w, Ut = ce.onStart, me = ce.onInterrupt, kt = ce.onComplete;
7025
+ if (xe = yr(qe, b), eo(xe) || (xe = qe), he = Math.max(0, Math.round(oe + xe * we)), T <= ke && T >= oe && he !== T) {
7026
+ if (D && !D._initted && D.data <= _n(he - T))
6987
7027
  return;
6988
- y.inertia === !1 && ($e = xe - F), ot(he, {
6989
- duration: Yt(mn(Math.max(mn(qe - ze), mn(xe - ze)) * 0.185 / re / 0.05 || 0)),
6990
- ease: y.ease || "power3",
6991
- data: mn(he - T),
7028
+ w.inertia === !1 && ($e = xe - F), ot(he, {
7029
+ duration: Yt(_n(Math.max(_n(qe - ze), _n(xe - ze)) * 0.185 / re / 0.05 || 0)),
7030
+ ease: w.ease || "power3",
7031
+ data: _n(he - T),
6992
7032
  // record the distance so that if another snap tween occurs (conflict) we can prioritize the closest snap.
6993
7033
  onInterrupt: function() {
6994
- return Gt.restart(!0) && me && me(v);
7034
+ return Gt.restart(!0) && me && me(b);
6995
7035
  },
6996
7036
  onComplete: function() {
6997
- v.update(), ye = Me(), o && !I && (J ? J.resetTo("totalProgress", xe, o._tTime / o._tDur) : o.progress(xe)), Cr = Wr = o && !I ? o.totalProgress() : v.progress, x && x(v), Ct && Ct(v);
7037
+ b.update(), ye = Me(), o && !I && (J ? J.resetTo("totalProgress", xe, o._tTime / o._tDur) : o.progress(xe)), kr = Wr = o && !I ? o.totalProgress() : b.progress, x && x(b), kt && kt(b);
6998
7038
  }
6999
- }, T, $e * we, he - T - $e * we), Ut && Ut(v, ot.tween);
7039
+ }, T, $e * we, he - T - $e * we), Ut && Ut(b, ot.tween);
7000
7040
  }
7001
- } else v.isActive && ye !== T && Gt.restart(!0);
7002
- }).pause()), l && (ea[l] = v), h = v.trigger = gt(h || f !== !0 && f), ur = h && h._gsap && h._gsap.stRevert, ur && (ur = ur(v)), f = f === !0 ? h : gt(f), Ot(a) && (a = {
7041
+ } else b.isActive && ye !== T && Gt.restart(!0);
7042
+ }).pause()), l && (ea[l] = b), h = b.trigger = gt(h || f !== !0 && f), fr = h && h._gsap && h._gsap.stRevert, fr && (fr = fr(b)), f = f === !0 ? h : gt(f), $t(a) && (a = {
7003
7043
  targets: h,
7004
7044
  className: a
7005
- }), f && (m === !1 || m === zt || (m = !m && f.parentNode && f.parentNode.style && It(f.parentNode).display === "flex" ? !1 : Se), v.pin = f, Ue = j.core.getCache(f), Ue.spacer ? ar = Ue.pinState : (E && (E = gt(E), E && !E.nodeType && (E = E.current || E.nativeElement), Ue.spacerIsNative = !!E, E && (Ue.spacerState = Fo(E))), Ue.spacer = Ne = E || de.createElement("div"), Ne.classList.add("pin-spacer"), l && Ne.classList.add("pin-spacer-" + l), Ue.pinState = ar = Fo(f)), r.force3D !== !1 && j.set(f, {
7045
+ }), f && (m === !1 || m === zt || (m = !m && f.parentNode && f.parentNode.style && It(f.parentNode).display === "flex" ? !1 : Se), b.pin = f, Ue = j.core.getCache(f), Ue.spacer ? lr = Ue.pinState : (E && (E = gt(E), E && !E.nodeType && (E = E.current || E.nativeElement), Ue.spacerIsNative = !!E, E && (Ue.spacerState = Fo(E))), Ue.spacer = Ne = E || de.createElement("div"), Ne.classList.add("pin-spacer"), l && Ne.classList.add("pin-spacer-" + l), Ue.pinState = lr = Fo(f)), r.force3D !== !1 && j.set(f, {
7006
7046
  force3D: !0
7007
- }), v.spacer = Ne = Ue.spacer, pn = It(f), Bn = pn[m + P.os2], Oe = j.getProperty(f), Ht = j.quickSetter(f, P.a, Re), Ps(f, Ne, pn), Vr = Fo(f)), ee) {
7008
- sr = Kr(ee) ? lu(ee, cu) : cu, b = Bo("scroller-start", l, M, P, sr, 0), xt = Bo("scroller-end", l, M, P, sr, 0, b), xr = b["offset" + P.op.d2];
7009
- var Fn = gt(Ar(M, "content") || M);
7010
- ht = this.markerStart = Bo("start", l, Fn, P, sr, xr, 0, C), wt = this.markerEnd = Bo("end", l, Fn, P, sr, xr, 0, C), C && (hn = j.quickSetter([ht, wt], P.a, Re)), !Q && !(or.length && Ar(M, "fixedMarkers") === !0) && (b_(V ? ae : M), j.set([b, xt], {
7047
+ }), b.spacer = Ne = Ue.spacer, hn = It(f), Bn = hn[m + P.os2], Oe = j.getProperty(f), Ht = j.quickSetter(f, P.a, Re), Ps(f, Ne, hn), Vr = Fo(f)), ee) {
7048
+ ar = Kr(ee) ? lu(ee, cu) : cu, y = Bo("scroller-start", l, M, P, ar, 0), Ct = Bo("scroller-end", l, M, P, ar, 0, y), Cr = y["offset" + P.op.d2];
7049
+ var Fn = gt(Dr(M, "content") || M);
7050
+ ht = this.markerStart = Bo("start", l, Fn, P, ar, Cr, 0, C), xt = this.markerEnd = Bo("end", l, Fn, P, ar, Cr, 0, C), C && (gn = j.quickSetter([ht, xt], P.a, Re)), !Q && !(or.length && Dr(M, "fixedMarkers") === !0) && (v_(V ? ae : M), j.set([y, Ct], {
7011
7051
  force3D: !0
7012
- }), Lo = j.quickSetter(b, P.a, Re), dn = j.quickSetter(xt, P.a, Re));
7052
+ }), Lo = j.quickSetter(y, P.a, Re), pn = j.quickSetter(Ct, P.a, Re));
7013
7053
  }
7014
7054
  if (C) {
7015
7055
  var W = C.vars.onUpdate, z = C.vars.onUpdateParams;
7016
7056
  C.eventCallback("onUpdate", function() {
7017
- v.update(0, 0, 1), W && W.apply(C, z || []);
7057
+ b.update(0, 0, 1), W && W.apply(C, z || []);
7018
7058
  });
7019
7059
  }
7020
- if (v.previous = function() {
7021
- return q[q.indexOf(v) - 1];
7022
- }, v.next = function() {
7023
- return q[q.indexOf(v) + 1];
7024
- }, v.revert = function(T, B) {
7060
+ if (b.previous = function() {
7061
+ return q[q.indexOf(b) - 1];
7062
+ }, b.next = function() {
7063
+ return q[q.indexOf(b) + 1];
7064
+ }, b.revert = function(T, B) {
7025
7065
  if (!B)
7026
- return v.kill(!0);
7027
- var D = T !== !1 || !v.enabled, F = Qe;
7028
- D !== v.isReverted && (D && (Xt = Math.max(Me(), v.scroll.rec || 0), Xe = v.progress, Yr = o && o.progress()), ht && [ht, wt, b, xt].forEach(function(ze) {
7066
+ return b.kill(!0);
7067
+ var D = T !== !1 || !b.enabled, F = Qe;
7068
+ D !== b.isReverted && (D && (Xt = Math.max(Me(), b.scroll.rec || 0), Xe = b.progress, Yr = o && o.progress()), ht && [ht, xt, y, Ct].forEach(function(ze) {
7029
7069
  return ze.style.display = D ? "none" : "block";
7030
- }), D && (Qe = v, v.update(D)), f && (!k || !v.isActive) && (D ? k_(f, Ne, ar) : Ps(f, Ne, It(f), Pe)), D || v.update(D), Qe = F, v.isReverted = D);
7031
- }, v.refresh = function(T, B, D, F) {
7032
- if (!((Qe || !v.enabled) && !B)) {
7070
+ }), D && (Qe = b, b.update(D)), f && (!k || !b.isActive) && (D ? k_(f, Ne, lr) : Ps(f, Ne, It(f), Pe)), D || b.update(D), Qe = F, b.isReverted = D);
7071
+ }, b.refresh = function(T, B, D, F) {
7072
+ if (!((Qe || !b.enabled) && !B)) {
7033
7073
  if (f && T && Vt) {
7034
7074
  Be(n, "scrollEnd", Hf);
7035
7075
  return;
7036
7076
  }
7037
- !ft && te && te(v), Qe = v, ot.tween && !D && (ot.tween.kill(), ot.tween = 0), J && J.pause(), p && o && (o.revert({
7077
+ !ft && te && te(b), Qe = b, ot.tween && !D && (ot.tween.kill(), ot.tween = 0), J && J.pause(), d && o && (o.revert({
7038
7078
  kill: !1
7039
- }).invalidate(), o.getChildren ? o.getChildren(!0, !0, !1).forEach(function(kr) {
7040
- return kr.vars.immediateRender && kr.render(0, !0, !0);
7041
- }) : o.vars.immediateRender && o.render(0, !0, !0)), v.isReverted || v.revert(!0, !0), v._subPinOffset = !1;
7042
- var ze = nt(), re = Wt(), $e = C ? C.duration() : nr(M, P), qe = we <= 0.01 || !we, xe = 0, he = F || 0, ce = Kr(D) ? D.end : r.end, Ut = r.endTrigger || h, me = Kr(D) ? D.start : r.start || (r.start === 0 || !h ? 0 : f ? "0 0" : "0 100%"), Ct = v.pinnedContainer = r.pinnedContainer && gt(r.pinnedContainer, v), Zt = h && Math.max(0, q.indexOf(v)) || 0, We = Zt, He, Ze, Gr, Eo, Ke, je, Kt, gi, Sa, Vn, Qt, Wn, Mo;
7043
- for (ee && Kr(D) && (Wn = j.getProperty(b, P.p), Mo = j.getProperty(xt, P.p)); We-- > 0; )
7044
- je = q[We], je.end || je.refresh(0, 1) || (Qe = v), Kt = je.pin, Kt && (Kt === h || Kt === f || Kt === Ct) && !je.isReverted && (Vn || (Vn = []), Vn.unshift(je), je.revert(!0, !0)), je !== q[We] && (Zt--, We--);
7045
- for (tt(me) && (me = me(v)), me = ou(me, "start", v), oe = pu(me, h, ze, P, Me(), ht, b, v, re, ie, Q, $e, C, v._startClamp && "_startClamp") || (f ? -1e-3 : 0), tt(ce) && (ce = ce(v)), Ot(ce) && !ce.indexOf("+=") && (~ce.indexOf(" ") ? ce = (Ot(me) ? me.split(" ")[0] : "") + ce : (xe = Uo(ce.substr(2), ze), ce = Ot(me) ? me : (C ? j.utils.mapRange(0, C.duration(), C.scrollTrigger.start, C.scrollTrigger.end, oe) : oe) + xe, Ut = h)), ce = ou(ce, "end", v), ke = Math.max(oe, pu(ce || (Ut ? "100% 0" : $e), Ut, ze, P, Me() + xe, wt, xt, v, re, ie, Q, $e, C, v._endClamp && "_endClamp")) || -1e-3, xe = 0, We = Zt; We--; )
7046
- je = q[We] || {}, Kt = je.pin, Kt && je.start - je._pinPush <= oe && !C && je.end > 0 && (He = je.end - (v._startClamp ? Math.max(0, je.start) : je.start), (Kt === h && je.start - je._pinPush < oe || Kt === Ct) && isNaN(me) && (xe += He * (1 - je.progress)), Kt === f && (he += He));
7047
- if (oe += xe, ke += xe, v._startClamp && (v._startClamp += xe), v._endClamp && !ft && (v._endClamp = ke || -1e-3, ke = Math.min(ke, nr(M, P))), we = ke - oe || (oe -= 0.01) && 1e-3, qe && (Xe = j.utils.clamp(0, 1, j.utils.normalize(oe, ke, Xt))), v._pinPush = he, ht && xe && (He = {}, He[P.a] = "+=" + xe, Ct && (He[P.p] = "-=" + Me()), j.set([ht, wt], He)), f && !(Js && v.end >= nr(M, P)))
7048
- He = It(f), Eo = P === Ae, Gr = Me(), Dt = parseFloat(Oe(P.a)) + he, !$e && ke > 1 && (Qt = (V ? de.scrollingElement || Lt : M).style, Qt = {
7079
+ }).invalidate(), o.getChildren ? o.getChildren(!0, !0, !1).forEach(function(Or) {
7080
+ return Or.vars.immediateRender && Or.render(0, !0, !0);
7081
+ }) : o.vars.immediateRender && o.render(0, !0, !0)), b.isReverted || b.revert(!0, !0), b._subPinOffset = !1;
7082
+ var ze = nt(), re = Wt(), $e = C ? C.duration() : nr(M, P), qe = we <= 0.01 || !we, xe = 0, he = F || 0, ce = Kr(D) ? D.end : r.end, Ut = r.endTrigger || h, me = Kr(D) ? D.start : r.start || (r.start === 0 || !h ? 0 : f ? "0 0" : "0 100%"), kt = b.pinnedContainer = r.pinnedContainer && gt(r.pinnedContainer, b), Zt = h && Math.max(0, q.indexOf(b)) || 0, We = Zt, He, Ze, Gr, Eo, Ke, je, Kt, gi, Sa, Vn, Qt, Wn, Mo;
7083
+ for (ee && Kr(D) && (Wn = j.getProperty(y, P.p), Mo = j.getProperty(Ct, P.p)); We-- > 0; )
7084
+ je = q[We], je.end || je.refresh(0, 1) || (Qe = b), Kt = je.pin, Kt && (Kt === h || Kt === f || Kt === kt) && !je.isReverted && (Vn || (Vn = []), Vn.unshift(je), je.revert(!0, !0)), je !== q[We] && (Zt--, We--);
7085
+ for (tt(me) && (me = me(b)), me = ou(me, "start", b), oe = pu(me, h, ze, P, Me(), ht, y, b, re, ie, Q, $e, C, b._startClamp && "_startClamp") || (f ? -1e-3 : 0), tt(ce) && (ce = ce(b)), $t(ce) && !ce.indexOf("+=") && (~ce.indexOf(" ") ? ce = ($t(me) ? me.split(" ")[0] : "") + ce : (xe = Uo(ce.substr(2), ze), ce = $t(me) ? me : (C ? j.utils.mapRange(0, C.duration(), C.scrollTrigger.start, C.scrollTrigger.end, oe) : oe) + xe, Ut = h)), ce = ou(ce, "end", b), ke = Math.max(oe, pu(ce || (Ut ? "100% 0" : $e), Ut, ze, P, Me() + xe, xt, Ct, b, re, ie, Q, $e, C, b._endClamp && "_endClamp")) || -1e-3, xe = 0, We = Zt; We--; )
7086
+ je = q[We] || {}, Kt = je.pin, Kt && je.start - je._pinPush <= oe && !C && je.end > 0 && (He = je.end - (b._startClamp ? Math.max(0, je.start) : je.start), (Kt === h && je.start - je._pinPush < oe || Kt === kt) && isNaN(me) && (xe += He * (1 - je.progress)), Kt === f && (he += He));
7087
+ if (oe += xe, ke += xe, b._startClamp && (b._startClamp += xe), b._endClamp && !ft && (b._endClamp = ke || -1e-3, ke = Math.min(ke, nr(M, P))), we = ke - oe || (oe -= 0.01) && 1e-3, qe && (Xe = j.utils.clamp(0, 1, j.utils.normalize(oe, ke, Xt))), b._pinPush = he, ht && xe && (He = {}, He[P.a] = "+=" + xe, kt && (He[P.p] = "-=" + Me()), j.set([ht, xt], He)), f && !(Js && b.end >= nr(M, P)))
7088
+ He = It(f), Eo = P === Ae, Gr = Me(), Dt = parseFloat(Oe(P.a)) + he, !$e && ke > 1 && (Qt = (V ? de.scrollingElement || Et : M).style, Qt = {
7049
7089
  style: Qt,
7050
7090
  value: Qt["overflow" + P.a.toUpperCase()]
7051
- }, V && It(ae)["overflow" + P.a.toUpperCase()] !== "scroll" && (Qt.style["overflow" + P.a.toUpperCase()] = "scroll")), Ps(f, Ne, He), Vr = Fo(f), Ze = hr(f, !0), gi = Q && Br(M, Eo ? pt : Ae)(), m ? (Pe = [m + P.os2, we + he + Re], Pe.t = Ne, We = m === Se ? ci(f, P) + we + he : 0, We && (Pe.push(P.d, We + Re), Ne.style.flexBasis !== "auto" && (Ne.style.flexBasis = We + Re)), Mn(Pe), Ct && q.forEach(function(kr) {
7052
- kr.pin === Ct && kr.vars.pinSpacing !== !1 && (kr._subPinOffset = !0);
7091
+ }, V && It(ae)["overflow" + P.a.toUpperCase()] !== "scroll" && (Qt.style["overflow" + P.a.toUpperCase()] = "scroll")), Ps(f, Ne, He), Vr = Fo(f), Ze = gr(f, !0), gi = Q && Br(M, Eo ? pt : Ae)(), m ? (Pe = [m + P.os2, we + he + Re], Pe.t = Ne, We = m === Se ? ci(f, P) + we + he : 0, We && (Pe.push(P.d, We + Re), Ne.style.flexBasis !== "auto" && (Ne.style.flexBasis = We + Re)), Pn(Pe), kt && q.forEach(function(Or) {
7092
+ Or.pin === kt && Or.vars.pinSpacing !== !1 && (Or._subPinOffset = !0);
7053
7093
  }), Q && Me(Xt)) : (We = ci(f, P), We && Ne.style.flexBasis !== "auto" && (Ne.style.flexBasis = We + Re)), Q && (Ke = {
7054
7094
  top: Ze.top + (Eo ? Gr - oe : gi) + Re,
7055
7095
  left: Ze.left + (Eo ? gi : Gr - oe) + Re,
7056
7096
  boxSizing: "border-box",
7057
7097
  position: "fixed"
7058
- }, Ke[on] = Ke["max" + Nn] = Math.ceil(Ze.width) + Re, Ke[sn] = Ke["max" + Ea] = Math.ceil(Ze.height) + Re, Ke[zt] = Ke[zt + ho] = Ke[zt + fo] = Ke[zt + go] = Ke[zt + po] = "0", Ke[Se] = He[Se], Ke[Se + ho] = He[Se + ho], Ke[Se + fo] = He[Se + fo], Ke[Se + go] = He[Se + go], Ke[Se + po] = He[Se + po], wr = $_(ar, Ke, k), ft && Me(0)), o ? (Sa = o._initted, Os(1), o.render(o.duration(), !0, !0), lr = Oe(P.a) - Dt + we + he, cr = Math.abs(we - lr) > 1, Q && cr && wr.splice(wr.length - 2, 2), o.render(0, !0, !0), Sa || o.invalidate(!0), o.parent || o.totalTime(o.totalTime()), Os(0)) : lr = we, Qt && (Qt.value ? Qt.style["overflow" + P.a.toUpperCase()] = Qt.value : Qt.style.removeProperty("overflow-" + P.a));
7098
+ }, Ke[on] = Ke["max" + Nn] = Math.ceil(Ze.width) + Re, Ke[sn] = Ke["max" + Ea] = Math.ceil(Ze.height) + Re, Ke[zt] = Ke[zt + ho] = Ke[zt + fo] = Ke[zt + go] = Ke[zt + po] = "0", Ke[Se] = He[Se], Ke[Se + ho] = He[Se + ho], Ke[Se + fo] = He[Se + fo], Ke[Se + go] = He[Se + go], Ke[Se + po] = He[Se + po], xr = $_(lr, Ke, k), ft && Me(0)), o ? (Sa = o._initted, Os(1), o.render(o.duration(), !0, !0), cr = Oe(P.a) - Dt + we + he, ur = Math.abs(we - cr) > 1, Q && ur && xr.splice(xr.length - 2, 2), o.render(0, !0, !0), Sa || o.invalidate(!0), o.parent || o.totalTime(o.totalTime()), Os(0)) : cr = we, Qt && (Qt.value ? Qt.style["overflow" + P.a.toUpperCase()] = Qt.value : Qt.style.removeProperty("overflow-" + P.a));
7059
7099
  else if (h && Me() && !C)
7060
7100
  for (Ze = h.parentNode; Ze && Ze !== ae; )
7061
7101
  Ze._pinOffset && (oe -= Ze._pinOffset, ke -= Ze._pinOffset), Ze = Ze.parentNode;
7062
- Vn && Vn.forEach(function(kr) {
7063
- return kr.revert(!1, !0);
7064
- }), v.start = oe, v.end = ke, it = st = ft ? Xt : Me(), !C && !ft && (it < Xt && Me(Xt), v.scroll.rec = 0), v.revert(!1, !0), Ve = Je(), Gt && (ye = -1, Gt.restart(!0)), Qe = 0, o && I && (o._initted || Yr) && o.progress() !== Yr && o.progress(Yr || 0, !0).render(o.time(), !0, !0), (qe || Xe !== v.progress || C || p || o && !o._initted) && (o && !I && (o._initted || Xe || o.vars.immediateRender !== !1) && o.totalProgress(C && oe < -1e-3 && !Xe ? j.utils.normalize(oe, ke, 0) : Xe, !0), v.progress = qe || (it - oe) / we === Xe ? 0 : Xe), f && m && (Ne._pinOffset = Math.round(v.progress * lr)), J && J.invalidate(), isNaN(Wn) || (Wn -= j.getProperty(b, P.p), Mo -= j.getProperty(xt, P.p), Vo(b, P, Wn), Vo(ht, P, Wn - (F || 0)), Vo(xt, P, Mo), Vo(wt, P, Mo - (F || 0))), qe && !ft && v.update(), u && !ft && !yr && (yr = !0, u(v), yr = !1);
7102
+ Vn && Vn.forEach(function(Or) {
7103
+ return Or.revert(!1, !0);
7104
+ }), b.start = oe, b.end = ke, it = st = ft ? Xt : Me(), !C && !ft && (it < Xt && Me(Xt), b.scroll.rec = 0), b.revert(!1, !0), Ve = Je(), Gt && (ye = -1, Gt.restart(!0)), Qe = 0, o && I && (o._initted || Yr) && o.progress() !== Yr && o.progress(Yr || 0, !0).render(o.time(), !0, !0), (qe || Xe !== b.progress || C || d || o && !o._initted) && (o && !I && (o._initted || Xe || o.vars.immediateRender !== !1) && o.totalProgress(C && oe < -1e-3 && !Xe ? j.utils.normalize(oe, ke, 0) : Xe, !0), b.progress = qe || (it - oe) / we === Xe ? 0 : Xe), f && m && (Ne._pinOffset = Math.round(b.progress * cr)), J && J.invalidate(), isNaN(Wn) || (Wn -= j.getProperty(y, P.p), Mo -= j.getProperty(Ct, P.p), Vo(y, P, Wn), Vo(ht, P, Wn - (F || 0)), Vo(Ct, P, Mo), Vo(xt, P, Mo - (F || 0))), qe && !ft && b.update(), u && !ft && !wr && (wr = !0, u(b), wr = !1);
7065
7105
  }
7066
- }, v.getVelocity = function() {
7106
+ }, b.getVelocity = function() {
7067
7107
  return (Me() - st) / (Je() - Kn) * 1e3 || 0;
7068
- }, v.endAnimation = function() {
7069
- Un(v.callbackAnimation), o && (J ? J.progress(1) : o.paused() ? I || Un(o, v.direction < 0, 1) : Un(o, o.reversed()));
7070
- }, v.labelToScroll = function(T) {
7071
- return o && o.labels && (oe || v.refresh() || oe) + o.labels[T] / o.duration() * we || 0;
7072
- }, v.getTrailing = function(T) {
7073
- var B = q.indexOf(v), D = v.direction > 0 ? q.slice(0, B).reverse() : q.slice(B + 1);
7074
- return (Ot(T) ? D.filter(function(F) {
7108
+ }, b.endAnimation = function() {
7109
+ Un(b.callbackAnimation), o && (J ? J.progress(1) : o.paused() ? I || Un(o, b.direction < 0, 1) : Un(o, o.reversed()));
7110
+ }, b.labelToScroll = function(T) {
7111
+ return o && o.labels && (oe || b.refresh() || oe) + o.labels[T] / o.duration() * we || 0;
7112
+ }, b.getTrailing = function(T) {
7113
+ var B = q.indexOf(b), D = b.direction > 0 ? q.slice(0, B).reverse() : q.slice(B + 1);
7114
+ return ($t(T) ? D.filter(function(F) {
7075
7115
  return F.vars.preventOverlaps === T;
7076
7116
  }) : D).filter(function(F) {
7077
- return v.direction > 0 ? F.end <= oe : F.start >= ke;
7117
+ return b.direction > 0 ? F.end <= oe : F.start >= ke;
7078
7118
  });
7079
- }, v.update = function(T, B, D) {
7119
+ }, b.update = function(T, B, D) {
7080
7120
  if (!(C && !D && !T)) {
7081
- var F = ft === !0 ? Xt : v.scroll(), ze = T ? 0 : (F - oe) / we, re = ze < 0 ? 0 : ze > 1 ? 1 : ze || 0, $e = v.progress, qe, xe, he, ce, Ut, me, Ct, Zt;
7082
- if (B && (st = it, it = C ? Me() : F, y && (Wr = Cr, Cr = o && !I ? o.totalProgress() : re)), _ && f && !Qe && !Ao && Vt && (!re && oe < F + (F - st) / (Je() - Kn) * _ ? re = 1e-4 : re === 1 && ke > F + (F - st) / (Je() - Kn) * _ && (re = 0.9999)), re !== $e && v.enabled) {
7083
- if (qe = v.isActive = !!re && re < 1, xe = !!$e && $e < 1, me = qe !== xe, Ut = me || !!re != !!$e, v.direction = re > $e ? 1 : -1, v.progress = re, Ut && !Qe && (he = re && !$e ? 0 : re === 1 ? 1 : $e === 1 ? 2 : 3, I && (ce = !me && N[he + 1] !== "none" && N[he + 1] || N[he], Zt = o && (ce === "complete" || ce === "reset" || ce in o))), $ && (me || Zt) && (Zt || d || !o) && (tt($) ? $(v) : v.getTrailing($).forEach(function(Gr) {
7121
+ var F = ft === !0 ? Xt : b.scroll(), ze = T ? 0 : (F - oe) / we, re = ze < 0 ? 0 : ze > 1 ? 1 : ze || 0, $e = b.progress, qe, xe, he, ce, Ut, me, kt, Zt;
7122
+ if (B && (st = it, it = C ? Me() : F, w && (Wr = kr, kr = o && !I ? o.totalProgress() : re)), _ && f && !Qe && !Ao && Vt && (!re && oe < F + (F - st) / (Je() - Kn) * _ ? re = 1e-4 : re === 1 && ke > F + (F - st) / (Je() - Kn) * _ && (re = 0.9999)), re !== $e && b.enabled) {
7123
+ if (qe = b.isActive = !!re && re < 1, xe = !!$e && $e < 1, me = qe !== xe, Ut = me || !!re != !!$e, b.direction = re > $e ? 1 : -1, b.progress = re, Ut && !Qe && (he = re && !$e ? 0 : re === 1 ? 1 : $e === 1 ? 2 : 3, I && (ce = !me && N[he + 1] !== "none" && N[he + 1] || N[he], Zt = o && (ce === "complete" || ce === "reset" || ce in o))), $ && (me || Zt) && (Zt || p || !o) && (tt($) ? $(b) : b.getTrailing($).forEach(function(Gr) {
7084
7124
  return Gr.endAnimation();
7085
7125
  })), I || (J && !Qe && !Ao ? (J._dp._time - J._start !== J._time && J.render(J._dp._time - J._start), J.resetTo ? J.resetTo("totalProgress", re, o._tTime / o._tDur) : (J.vars.totalProgress = re, J.invalidate().restart())) : o && o.totalProgress(re, !!(Qe && (Ve || T)))), f) {
7086
7126
  if (T && m && (Ne.style[m + P.os2] = Bn), !Q)
7087
- Ht(Jn(Dt + lr * re));
7127
+ Ht(Jn(Dt + cr * re));
7088
7128
  else if (Ut) {
7089
- if (Ct = !T && re > $e && ke + 1 > F && F + 1 >= nr(M, P), k)
7090
- if (!T && (qe || Ct)) {
7091
- var We = hr(f, !0), He = F - oe;
7129
+ if (kt = !T && re > $e && ke + 1 > F && F + 1 >= nr(M, P), k)
7130
+ if (!T && (qe || kt)) {
7131
+ var We = gr(f, !0), He = F - oe;
7092
7132
  hu(f, ae, We.top + (P === Ae ? He : 0) + Re, We.left + (P === Ae ? 0 : He) + Re);
7093
7133
  } else
7094
7134
  hu(f, Ne);
7095
- Mn(qe || Ct ? wr : Vr), cr && re < 1 && qe || Ht(Dt + (re === 1 && !Ct ? lr : 0));
7135
+ Pn(qe || kt ? xr : Vr), ur && re < 1 && qe || Ht(Dt + (re === 1 && !kt ? cr : 0));
7096
7136
  }
7097
7137
  }
7098
- y && !ot.tween && !Qe && !Ao && Gt.restart(!0), a && (me || O && re && (re < 1 || !$s)) && ko(a.targets).forEach(function(Gr) {
7138
+ w && !ot.tween && !Qe && !Ao && Gt.restart(!0), a && (me || O && re && (re < 1 || !$s)) && ko(a.targets).forEach(function(Gr) {
7099
7139
  return Gr.classList[qe || O ? "add" : "remove"](a.className);
7100
- }), s && !I && !T && s(v), Ut && !Qe ? (I && (Zt && (ce === "complete" ? o.pause().totalProgress(1) : ce === "reset" ? o.restart(!0).pause() : ce === "restart" ? o.restart(!0) : o[ce]()), s && s(v)), (me || !$s) && (c && me && Es(v, c), Y[he] && Es(v, Y[he]), O && (re === 1 ? v.kill(!1, 1) : Y[he] = 0), me || (he = re === 1 ? 1 : 3, Y[he] && Es(v, Y[he]))), S && !qe && Math.abs(v.getVelocity()) > (eo(S) ? S : 2500) && (Un(v.callbackAnimation), J ? J.progress(1) : Un(o, ce === "reverse" ? 1 : !re, 1))) : I && s && !Qe && s(v);
7140
+ }), s && !I && !T && s(b), Ut && !Qe ? (I && (Zt && (ce === "complete" ? o.pause().totalProgress(1) : ce === "reset" ? o.restart(!0).pause() : ce === "restart" ? o.restart(!0) : o[ce]()), s && s(b)), (me || !$s) && (c && me && Es(b, c), Y[he] && Es(b, Y[he]), O && (re === 1 ? b.kill(!1, 1) : Y[he] = 0), me || (he = re === 1 ? 1 : 3, Y[he] && Es(b, Y[he]))), S && !qe && Math.abs(b.getVelocity()) > (eo(S) ? S : 2500) && (Un(b.callbackAnimation), J ? J.progress(1) : Un(o, ce === "reverse" ? 1 : !re, 1))) : I && s && !Qe && s(b);
7101
7141
  }
7102
- if (dn) {
7142
+ if (pn) {
7103
7143
  var Ze = C ? F / C.duration() * (C._caScrollDist || 0) : F;
7104
- Lo(Ze + (b._isFlipped ? 1 : 0)), dn(Ze);
7144
+ Lo(Ze + (y._isFlipped ? 1 : 0)), pn(Ze);
7105
7145
  }
7106
- hn && hn(-F / C.duration() * (C._caScrollDist || 0));
7146
+ gn && gn(-F / C.duration() * (C._caScrollDist || 0));
7107
7147
  }
7108
- }, v.enable = function(T, B) {
7109
- v.enabled || (v.enabled = !0, Be(M, "resize", to), V || Be(M, "scroll", _n), te && Be(n, "refreshInit", te), T !== !1 && (v.progress = Xe = 0, it = st = ye = Me()), B !== !1 && v.refresh());
7110
- }, v.getTween = function(T) {
7148
+ }, b.enable = function(T, B) {
7149
+ b.enabled || (b.enabled = !0, Be(M, "resize", to), V || Be(M, "scroll", bn), te && Be(n, "refreshInit", te), T !== !1 && (b.progress = Xe = 0, it = st = ye = Me()), B !== !1 && b.refresh());
7150
+ }, b.getTween = function(T) {
7111
7151
  return T && ot ? ot.tween : J;
7112
- }, v.setPositions = function(T, B, D, F) {
7152
+ }, b.setPositions = function(T, B, D, F) {
7113
7153
  if (C) {
7114
7154
  var ze = C.scrollTrigger, re = C.duration(), $e = ze.end - ze.start;
7115
7155
  T = ze.start + $e * T / re, B = ze.start + $e * B / re;
7116
7156
  }
7117
- v.refresh(!1, !1, {
7118
- start: iu(T, D && !!v._startClamp),
7119
- end: iu(B, D && !!v._endClamp)
7120
- }, F), v.update();
7121
- }, v.adjustPinSpacing = function(T) {
7157
+ b.refresh(!1, !1, {
7158
+ start: iu(T, D && !!b._startClamp),
7159
+ end: iu(B, D && !!b._endClamp)
7160
+ }, F), b.update();
7161
+ }, b.adjustPinSpacing = function(T) {
7122
7162
  if (Pe && T) {
7123
7163
  var B = Pe.indexOf(P.d) + 1;
7124
- Pe[B] = parseFloat(Pe[B]) + T + Re, Pe[1] = parseFloat(Pe[1]) + T + Re, Mn(Pe);
7164
+ Pe[B] = parseFloat(Pe[B]) + T + Re, Pe[1] = parseFloat(Pe[1]) + T + Re, Pn(Pe);
7125
7165
  }
7126
- }, v.disable = function(T, B) {
7127
- if (T !== !1 && v.revert(!0, !0), v.enabled && (v.enabled = v.isActive = !1, B || J && J.pause(), Xt = 0, Ue && (Ue.uncache = 1), te && Ie(n, "refreshInit", te), Gt && (Gt.pause(), ot.tween && ot.tween.kill() && (ot.tween = 0)), !V)) {
7166
+ }, b.disable = function(T, B) {
7167
+ if (T !== !1 && b.revert(!0, !0), b.enabled && (b.enabled = b.isActive = !1, B || J && J.pause(), Xt = 0, Ue && (Ue.uncache = 1), te && Ie(n, "refreshInit", te), Gt && (Gt.pause(), ot.tween && ot.tween.kill() && (ot.tween = 0)), !V)) {
7128
7168
  for (var D = q.length; D--; )
7129
- if (q[D].scroller === M && q[D] !== v)
7169
+ if (q[D].scroller === M && q[D] !== b)
7130
7170
  return;
7131
- Ie(M, "resize", to), V || Ie(M, "scroll", _n);
7171
+ Ie(M, "resize", to), V || Ie(M, "scroll", bn);
7132
7172
  }
7133
- }, v.kill = function(T, B) {
7134
- v.disable(T, B), J && !B && J.kill(), l && delete ea[l];
7135
- var D = q.indexOf(v);
7173
+ }, b.kill = function(T, B) {
7174
+ b.disable(T, B), J && !B && J.kill(), l && delete ea[l];
7175
+ var D = q.indexOf(b);
7136
7176
  D >= 0 && q.splice(D, 1), D === ut && Zo > 0 && ut--, D = 0, q.forEach(function(F) {
7137
- return F.scroller === v.scroller && (D = 1);
7138
- }), D || ft || (v.scroll.rec = 0), o && (o.scrollTrigger = null, T && o.revert({
7177
+ return F.scroller === b.scroller && (D = 1);
7178
+ }), D || ft || (b.scroll.rec = 0), o && (o.scrollTrigger = null, T && o.revert({
7139
7179
  kill: !1
7140
- }), B || o.kill()), ht && [ht, wt, b, xt].forEach(function(F) {
7180
+ }), B || o.kill()), ht && [ht, xt, y, Ct].forEach(function(F) {
7141
7181
  return F.parentNode && F.parentNode.removeChild(F);
7142
- }), mo === v && (mo = 0), f && (Ue && (Ue.uncache = 1), D = 0, q.forEach(function(F) {
7182
+ }), mo === b && (mo = 0), f && (Ue && (Ue.uncache = 1), D = 0, q.forEach(function(F) {
7143
7183
  return F.pin === f && D++;
7144
- }), D || (Ue.spacer = 0)), r.onKill && r.onKill(v);
7145
- }, q.push(v), v.enable(!1, !1), ur && ur(v), o && o.add && !we) {
7146
- var se = v.update;
7147
- v.update = function() {
7148
- v.update = se, K.cache++, oe || ke || v.refresh();
7149
- }, j.delayedCall(0.01, v.update), we = 0.01, oe = ke = 0;
7184
+ }), D || (Ue.spacer = 0)), r.onKill && r.onKill(b);
7185
+ }, q.push(b), b.enable(!1, !1), fr && fr(b), o && o.add && !we) {
7186
+ var se = b.update;
7187
+ b.update = function() {
7188
+ b.update = se, K.cache++, oe || ke || b.refresh();
7189
+ }, j.delayedCall(0.01, b.update), we = 0.01, oe = ke = 0;
7150
7190
  } else
7151
- v.refresh();
7191
+ b.refresh();
7152
7192
  f && C_();
7153
7193
  }, n.register = function(r) {
7154
7194
  return vn || (j = r || zf(), Nf() && window.document && n.enable(), vn = Qn), vn;
@@ -7160,33 +7200,33 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
7160
7200
  }, n.disable = function(r, o) {
7161
7201
  Qn = 0, q.forEach(function(s) {
7162
7202
  return s[o ? "kill" : "disable"](r);
7163
- }), Ie(Z, "wheel", _n), Ie(de, "scroll", _n), clearInterval(Ro), Ie(de, "touchcancel", er), Ie(ae, "touchstart", er), No(Ie, de, "pointerdown,touchstart,mousedown", su), No(Ie, de, "pointerup,touchend,mouseup", au), li.kill(), Do(Ie);
7203
+ }), Ie(Z, "wheel", bn), Ie(de, "scroll", bn), clearInterval(Ro), Ie(de, "touchcancel", er), Ie(ae, "touchstart", er), No(Ie, de, "pointerdown,touchstart,mousedown", su), No(Ie, de, "pointerup,touchend,mouseup", au), li.kill(), Do(Ie);
7164
7204
  for (var i = 0; i < K.length; i += 3)
7165
7205
  zo(Ie, K[i], K[i + 1]), zo(Ie, K[i], K[i + 2]);
7166
7206
  }, n.enable = function() {
7167
- if (Z = window, de = document, Lt = de.documentElement, ae = de.body, j && (ko = j.utils.toArray, co = j.utils.clamp, Qs = j.core.context || er, Os = j.core.suppressOverwrites || er, ka = Z.history.scrollRestoration || "auto", ta = Z.pageYOffset || 0, j.core.globals("ScrollTrigger", n), ae)) {
7168
- Qn = 1, En = document.createElement("div"), En.style.height = "100vh", En.style.position = "absolute", Uf(), m_(), Ee.register(j), n.isTouch = Ee.isTouch, Lr = Ee.isTouch && /(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent), Ks = Ee.isTouch === 1, Be(Z, "wheel", _n), Ca = [Z, de, Lt, ae], j.matchMedia ? (n.matchMedia = function(c) {
7169
- var u = j.matchMedia(), d;
7170
- for (d in c)
7171
- u.add(d, c[d]);
7207
+ if (Z = window, de = document, Et = de.documentElement, ae = de.body, j && (ko = j.utils.toArray, co = j.utils.clamp, Qs = j.core.context || er, Os = j.core.suppressOverwrites || er, ka = Z.history.scrollRestoration || "auto", ta = Z.pageYOffset || 0, j.core.globals("ScrollTrigger", n), ae)) {
7208
+ Qn = 1, Mn = document.createElement("div"), Mn.style.height = "100vh", Mn.style.position = "absolute", Uf(), m_(), Ee.register(j), n.isTouch = Ee.isTouch, Er = Ee.isTouch && /(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent), Ks = Ee.isTouch === 1, Be(Z, "wheel", bn), Ca = [Z, de, Et, ae], j.matchMedia ? (n.matchMedia = function(c) {
7209
+ var u = j.matchMedia(), p;
7210
+ for (p in c)
7211
+ u.add(p, c[p]);
7172
7212
  return u;
7173
7213
  }, j.addEventListener("matchMediaInit", function() {
7174
7214
  Gf(), Pa();
7175
7215
  }), j.addEventListener("matchMediaRevert", function() {
7176
7216
  return Yf();
7177
7217
  }), j.addEventListener("matchMedia", function() {
7178
- Jr(0, 1), un("matchMedia");
7218
+ Jr(0, 1), fn("matchMedia");
7179
7219
  }), j.matchMedia().add("(orientation: portrait)", function() {
7180
7220
  return Ms(), Ms;
7181
- })) : console.warn("Requires GSAP 3.11.0 or later"), Ms(), Be(de, "scroll", _n);
7221
+ })) : console.warn("Requires GSAP 3.11.0 or later"), Ms(), Be(de, "scroll", bn);
7182
7222
  var r = ae.hasAttribute("style"), o = ae.style, i = o.borderTopStyle, s = j.core.Animation.prototype, a, l;
7183
7223
  for (s.revert || Object.defineProperty(s, "revert", {
7184
7224
  value: function() {
7185
7225
  return this.time(-0.01, !0);
7186
7226
  }
7187
- }), o.borderTopStyle = "solid", a = hr(ae), Ae.m = Math.round(a.top + Ae.sc()) || 0, pt.m = Math.round(a.left + pt.sc()) || 0, i ? o.borderTopStyle = i : o.removeProperty("border-top-style"), r || (ae.setAttribute("style", ""), ae.removeAttribute("style")), Ro = setInterval(uu, 250), j.delayedCall(0.5, function() {
7227
+ }), o.borderTopStyle = "solid", a = gr(ae), Ae.m = Math.round(a.top + Ae.sc()) || 0, pt.m = Math.round(a.left + pt.sc()) || 0, i ? o.borderTopStyle = i : o.removeProperty("border-top-style"), r || (ae.setAttribute("style", ""), ae.removeAttribute("style")), Ro = setInterval(uu, 250), j.delayedCall(0.5, function() {
7188
7228
  return Ao = 0;
7189
- }), Be(de, "touchcancel", er), Be(ae, "touchstart", er), No(Be, de, "pointerdown,touchstart,mousedown", su), No(Be, de, "pointerup,touchend,mouseup", au), Zs = j.utils.checkPrefix("transform"), Ko.push(Zs), vn = Je(), li = j.delayedCall(0.2, Jr).pause(), bn = [de, "visibilitychange", function() {
7229
+ }), Be(de, "touchcancel", er), Be(ae, "touchstart", er), No(Be, de, "pointerdown,touchstart,mousedown", su), No(Be, de, "pointerup,touchend,mouseup", au), Zs = j.utils.checkPrefix("transform"), Ko.push(Zs), vn = Je(), li = j.delayedCall(0.2, Jr).pause(), yn = [de, "visibilitychange", function() {
7190
7230
  var c = Z.innerWidth, u = Z.innerHeight;
7191
7231
  de.hidden ? (ru = c, nu = u) : (ru !== c || nu !== u) && to();
7192
7232
  }, de, "DOMContentLoaded", Jr, Z, "load", Jr, Z, "resize", to], Do(Be), q.forEach(function(c) {
@@ -7199,25 +7239,25 @@ var j, vn, Z, de, Lt, ae, Ca, li, ko, co, Kn, Ro, Qe, hi, Zs, ut, ru, nu, bn, jf
7199
7239
  var o = r.syncInterval;
7200
7240
  o && clearInterval(Ro) || (Ro = o) && setInterval(uu, o), "ignoreMobileResize" in r && (Ks = n.isTouch === 1 && r.ignoreMobileResize), "autoRefreshEvents" in r && (Do(Ie) || Do(Be, r.autoRefreshEvents || "none"), Rf = (r.autoRefreshEvents + "").indexOf("resize") === -1);
7201
7241
  }, n.scrollerProxy = function(r, o) {
7202
- var i = gt(r), s = K.indexOf(i), a = ln(i);
7203
- ~s && K.splice(s, a ? 6 : 2), o && (a ? or.unshift(Z, o, ae, o, Lt, o) : or.unshift(i, o));
7242
+ var i = gt(r), s = K.indexOf(i), a = cn(i);
7243
+ ~s && K.splice(s, a ? 6 : 2), o && (a ? or.unshift(Z, o, ae, o, Et, o) : or.unshift(i, o));
7204
7244
  }, n.clearMatchMedia = function(r) {
7205
7245
  q.forEach(function(o) {
7206
7246
  return o._ctx && o._ctx.query === r && o._ctx.kill(!0, !0);
7207
7247
  });
7208
7248
  }, n.isInViewport = function(r, o, i) {
7209
- var s = (Ot(r) ? gt(r) : r).getBoundingClientRect(), a = s[i ? on : sn] * o || 0;
7249
+ var s = ($t(r) ? gt(r) : r).getBoundingClientRect(), a = s[i ? on : sn] * o || 0;
7210
7250
  return i ? s.right - a > 0 && s.left + a < Z.innerWidth : s.bottom - a > 0 && s.top + a < Z.innerHeight;
7211
7251
  }, n.positionInViewport = function(r, o, i) {
7212
- Ot(r) && (r = gt(r));
7252
+ $t(r) && (r = gt(r));
7213
7253
  var s = r.getBoundingClientRect(), a = s[i ? on : sn], l = o == null ? a / 2 : o in ui ? ui[o] * a : ~o.indexOf("%") ? parseFloat(o) * a / 100 : parseFloat(o) || 0;
7214
7254
  return i ? (s.left + l) / Z.innerWidth : (s.top + l) / Z.innerHeight;
7215
7255
  }, n.killAll = function(r) {
7216
7256
  if (q.slice(0).forEach(function(i) {
7217
7257
  return i.vars.id !== "ScrollSmoother" && i.kill();
7218
7258
  }), r !== !0) {
7219
- var o = cn.killAll || [];
7220
- cn = {}, o.forEach(function(i) {
7259
+ var o = un.killAll || [];
7260
+ un = {}, o.forEach(function(i) {
7221
7261
  return i();
7222
7262
  });
7223
7263
  }
@@ -7227,10 +7267,10 @@ X.version = "3.14.2";
7227
7267
  X.saveStyles = function(n) {
7228
7268
  return n ? ko(n).forEach(function(e) {
7229
7269
  if (e && e.style) {
7230
- var t = kt.indexOf(e);
7231
- t >= 0 && kt.splice(t, 5), kt.push(e, e.style.cssText, e.getBBox && e.getAttribute("transform"), j.core.getCache(e), Qs());
7270
+ var t = Ot.indexOf(e);
7271
+ t >= 0 && Ot.splice(t, 5), Ot.push(e, e.style.cssText, e.getBBox && e.getAttribute("transform"), j.core.getCache(e), Qs());
7232
7272
  }
7233
- }) : kt;
7273
+ }) : Ot;
7234
7274
  };
7235
7275
  X.revert = function(n, e) {
7236
7276
  return Pa(!n, e);
@@ -7242,7 +7282,7 @@ X.refresh = function(n) {
7242
7282
  return n ? to(!0) : (vn || X.register()) && Jr(!0);
7243
7283
  };
7244
7284
  X.update = function(n) {
7245
- return ++K.cache && mr(n === !0 ? 2 : 0);
7285
+ return ++K.cache && _r(n === !0 ? 2 : 0);
7246
7286
  };
7247
7287
  X.clearScrollMemory = Xf;
7248
7288
  X.maxScroll = function(n, e) {
@@ -7264,20 +7304,20 @@ X.isScrolling = function() {
7264
7304
  };
7265
7305
  X.snapDirectional = Ma;
7266
7306
  X.addEventListener = function(n, e) {
7267
- var t = cn[n] || (cn[n] = []);
7307
+ var t = un[n] || (un[n] = []);
7268
7308
  ~t.indexOf(e) || t.push(e);
7269
7309
  };
7270
7310
  X.removeEventListener = function(n, e) {
7271
- var t = cn[n], r = t && t.indexOf(e);
7311
+ var t = un[n], r = t && t.indexOf(e);
7272
7312
  r >= 0 && t.splice(r, 1);
7273
7313
  };
7274
7314
  X.batch = function(n, e) {
7275
7315
  var t = [], r = {}, o = e.interval || 0.016, i = e.batchMax || 1e9, s = function(c, u) {
7276
- var d = [], h = [], f = j.delayedCall(o, function() {
7277
- u(d, h), d = [], h = [];
7316
+ var p = [], h = [], f = j.delayedCall(o, function() {
7317
+ u(p, h), p = [], h = [];
7278
7318
  }).pause();
7279
7319
  return function(m) {
7280
- d.length || f.restart(!0), d.push(m.trigger), h.push(m), i <= d.length && f.progress(1);
7320
+ p.length || f.restart(!0), p.push(m.trigger), h.push(m), i <= p.length && f.progress(1);
7281
7321
  };
7282
7322
  }, a;
7283
7323
  for (a in e)
@@ -7294,7 +7334,7 @@ X.batch = function(n, e) {
7294
7334
  var mu = function(e, t, r, o) {
7295
7335
  return t > o ? e(o) : t < 0 && e(0), r > o ? (o - t) / (r - t) : r < 0 ? t / (t - r) : 1;
7296
7336
  }, Ss = function n(e, t) {
7297
- t === !0 ? e.style.removeProperty("touch-action") : e.style.touchAction = t === !0 ? "auto" : t ? "pan-" + t + (Ee.isTouch ? " pinch-zoom" : "") : "none", e === Lt && n(ae, t);
7337
+ t === !0 ? e.style.removeProperty("touch-action") : e.style.touchAction = t === !0 ? "auto" : t ? "pan-" + t + (Ee.isTouch ? " pinch-zoom" : "") : "none", e === Et && n(ae, t);
7298
7338
  }, Wo = {
7299
7339
  auto: 1,
7300
7340
  scroll: 1
@@ -7303,7 +7343,7 @@ var mu = function(e, t, r, o) {
7303
7343
  if (!s._isScrollT || a - s._isScrollT > 2e3) {
7304
7344
  for (; i && i !== ae && (i.scrollHeight <= i.clientHeight && i.scrollWidth <= i.clientWidth || !(Wo[(l = It(i)).overflowY] || Wo[l.overflowX])); )
7305
7345
  i = i.parentNode;
7306
- s._isScroll = i && i !== r && !ln(i) && (Wo[(l = It(i)).overflowY] || Wo[l.overflowX]), s._isScrollT = a;
7346
+ s._isScroll = i && i !== r && !cn(i) && (Wo[(l = It(i)).overflowY] || Wo[l.overflowX]), s._isScrollT = a;
7307
7347
  }
7308
7348
  (s._isScroll || o === "x") && (t.stopPropagation(), t._gsapAllow = !0);
7309
7349
  }, Zf = function(e, t, r, o) {
@@ -7318,76 +7358,76 @@ var mu = function(e, t, r, o) {
7318
7358
  onDrag: o,
7319
7359
  onScroll: o,
7320
7360
  onEnable: function() {
7321
- return r && Be(de, Ee.eventTypes[0], vu, !1, !0);
7361
+ return r && Be(de, Ee.eventTypes[0], bu, !1, !0);
7322
7362
  },
7323
7363
  onDisable: function() {
7324
- return Ie(de, Ee.eventTypes[0], vu, !0);
7364
+ return Ie(de, Ee.eventTypes[0], bu, !0);
7325
7365
  }
7326
7366
  });
7327
- }, M_ = /(input|label|select|textarea)/i, _u, vu = function(e) {
7367
+ }, M_ = /(input|label|select|textarea)/i, _u, bu = function(e) {
7328
7368
  var t = M_.test(e.target.tagName);
7329
7369
  (t || _u) && (e._gsapAllow = !0, _u = t);
7330
7370
  }, P_ = function(e) {
7331
7371
  Kr(e) || (e = {}), e.preventDefault = e.isNormalizer = e.allowClicks = !0, e.type || (e.type = "wheel,touch"), e.debounce = !!e.debounce, e.id = e.id || "normalizer";
7332
- var t = e, r = t.normalizeScrollX, o = t.momentum, i = t.allowNestedScroll, s = t.onRelease, a, l, c = gt(e.target) || Lt, u = j.core.globals().ScrollSmoother, d = u && u.get(), h = Lr && (e.content && gt(e.content) || d && e.content !== !1 && !d.smooth() && d.content()), f = Br(c, Ae), m = Br(c, pt), p = 1, _ = (Ee.isTouch && Z.visualViewport ? Z.visualViewport.scale * Z.visualViewport.width : Z.outerWidth) / Z.innerWidth, w = 0, x = tt(o) ? function() {
7372
+ var t = e, r = t.normalizeScrollX, o = t.momentum, i = t.allowNestedScroll, s = t.onRelease, a, l, c = gt(e.target) || Et, u = j.core.globals().ScrollSmoother, p = u && u.get(), h = Er && (e.content && gt(e.content) || p && e.content !== !1 && !p.smooth() && p.content()), f = Br(c, Ae), m = Br(c, pt), d = 1, _ = (Ee.isTouch && Z.visualViewport ? Z.visualViewport.scale * Z.visualViewport.width : Z.outerWidth) / Z.innerWidth, v = 0, x = tt(o) ? function() {
7333
7373
  return o(a);
7334
7374
  } : function() {
7335
7375
  return o || 2.8;
7336
- }, O, y, k = Zf(c, e.type, !0, i), E = function() {
7337
- return y = !1;
7376
+ }, O, w, k = Zf(c, e.type, !0, i), E = function() {
7377
+ return w = !1;
7338
7378
  }, C = er, S = er, $ = function() {
7339
- l = nr(c, Ae), S = co(Lr ? 1 : 0, l), r && (C = co(0, nr(c, pt))), O = an;
7379
+ l = nr(c, Ae), S = co(Er ? 1 : 0, l), r && (C = co(0, nr(c, pt))), O = an;
7340
7380
  }, P = function() {
7341
7381
  h._gsap.y = Jn(parseFloat(h._gsap.y) + f.offset) + "px", h.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + parseFloat(h._gsap.y) + ", 0, 1)", f.offset = f.cacheID = 0;
7342
7382
  }, I = function() {
7343
- if (y) {
7383
+ if (w) {
7344
7384
  requestAnimationFrame(E);
7345
7385
  var ee = Jn(a.deltaY / 2), ie = S(f.v - ee);
7346
7386
  if (h && ie !== f.v + f.offset) {
7347
7387
  f.offset = ie - f.v;
7348
- var v = Jn((parseFloat(h && h._gsap.y) || 0) - f.offset);
7349
- h.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + v + ", 0, 1)", h._gsap.y = v + "px", f.cacheID = K.cache, mr();
7388
+ var b = Jn((parseFloat(h && h._gsap.y) || 0) - f.offset);
7389
+ h.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + b + ", 0, 1)", h._gsap.y = b + "px", f.cacheID = K.cache, _r();
7350
7390
  }
7351
7391
  return !0;
7352
7392
  }
7353
- f.offset && P(), y = !0;
7393
+ f.offset && P(), w = !0;
7354
7394
  }, M, U, V, Q, Y = function() {
7355
7395
  $(), M.isActive() && M.vars.scrollY > l && (f() > l ? M.progress(1) && f(l) : M.resetTo("scrollY", l));
7356
7396
  };
7357
7397
  return h && j.set(h, {
7358
7398
  y: "+=0"
7359
7399
  }), e.ignoreCheck = function(N) {
7360
- return Lr && N.type === "touchmove" && I() || p > 1.05 && N.type !== "touchstart" || a.isGesturing || N.touches && N.touches.length > 1;
7400
+ return Er && N.type === "touchmove" && I() || d > 1.05 && N.type !== "touchstart" || a.isGesturing || N.touches && N.touches.length > 1;
7361
7401
  }, e.onPress = function() {
7362
- y = !1;
7363
- var N = p;
7364
- p = Jn((Z.visualViewport && Z.visualViewport.scale || 1) / _), M.pause(), N !== p && Ss(c, p > 1.01 ? !0 : r ? !1 : "x"), U = m(), V = f(), $(), O = an;
7402
+ w = !1;
7403
+ var N = d;
7404
+ d = Jn((Z.visualViewport && Z.visualViewport.scale || 1) / _), M.pause(), N !== d && Ss(c, d > 1.01 ? !0 : r ? !1 : "x"), U = m(), V = f(), $(), O = an;
7365
7405
  }, e.onRelease = e.onGestureStart = function(N, ee) {
7366
7406
  if (f.offset && P(), !ee)
7367
7407
  Q.restart(!0);
7368
7408
  else {
7369
7409
  K.cache++;
7370
- var ie = x(), v, te;
7371
- r && (v = m(), te = v + ie * 0.05 * -N.velocityX / 0.227, ie *= mu(m, v, te, nr(c, pt)), M.vars.scrollX = C(te)), v = f(), te = v + ie * 0.05 * -N.velocityY / 0.227, ie *= mu(f, v, te, nr(c, Ae)), M.vars.scrollY = S(te), M.invalidate().duration(ie).play(0.01), (Lr && M.vars.scrollY >= l || v >= l - 1) && j.to({}, {
7410
+ var ie = x(), b, te;
7411
+ r && (b = m(), te = b + ie * 0.05 * -N.velocityX / 0.227, ie *= mu(m, b, te, nr(c, pt)), M.vars.scrollX = C(te)), b = f(), te = b + ie * 0.05 * -N.velocityY / 0.227, ie *= mu(f, b, te, nr(c, Ae)), M.vars.scrollY = S(te), M.invalidate().duration(ie).play(0.01), (Er && M.vars.scrollY >= l || b >= l - 1) && j.to({}, {
7372
7412
  onUpdate: Y,
7373
7413
  duration: ie
7374
7414
  });
7375
7415
  }
7376
7416
  s && s(N);
7377
7417
  }, e.onWheel = function() {
7378
- M._ts && M.pause(), Je() - w > 1e3 && (O = 0, w = Je());
7379
- }, e.onChange = function(N, ee, ie, v, te) {
7380
- if (an !== O && $(), ee && r && m(C(v[2] === ee ? U + (N.startX - N.x) : m() + ee - v[1])), ie) {
7418
+ M._ts && M.pause(), Je() - v > 1e3 && (O = 0, v = Je());
7419
+ }, e.onChange = function(N, ee, ie, b, te) {
7420
+ if (an !== O && $(), ee && r && m(C(b[2] === ee ? U + (N.startX - N.x) : m() + ee - b[1])), ie) {
7381
7421
  f.offset && P();
7382
7422
  var nt = te[2] === ie, Wt = nt ? V + N.startY - N.y : f() + ie - te[1], ye = S(Wt);
7383
7423
  nt && Wt !== ye && (V += ye - Wt), f(ye);
7384
7424
  }
7385
- (ie || ee) && mr();
7425
+ (ie || ee) && _r();
7386
7426
  }, e.onEnable = function() {
7387
7427
  Ss(c, r ? !1 : "x"), X.addEventListener("refresh", Y), Be(Z, "resize", Y), f.smooth && (f.target.style.scrollBehavior = "auto", f.smooth = m.smooth = !1), k.enable();
7388
7428
  }, e.onDisable = function() {
7389
7429
  Ss(c, !0), Ie(Z, "resize", Y), X.removeEventListener("refresh", Y), k.kill();
7390
- }, e.lockAxis = e.lockAxis !== !1, a = new Ee(e), a.iOS = Lr, Lr && !f() && f(1), Lr && j.ticker.add(er), Q = a._dc, M = j.to(a, {
7430
+ }, e.lockAxis = e.lockAxis !== !1, a = new Ee(e), a.iOS = Er, Er && !f() && f(1), Er && j.ticker.add(er), Q = a._dc, M = j.to(a, {
7391
7431
  ease: "power4",
7392
7432
  paused: !0,
7393
7433
  inherit: !1,
@@ -7398,7 +7438,7 @@ var mu = function(e, t, r, o) {
7398
7438
  return M.pause();
7399
7439
  })
7400
7440
  },
7401
- onUpdate: mr,
7441
+ onUpdate: _r,
7402
7442
  onComplete: Q.vars.onComplete
7403
7443
  }), a;
7404
7444
  };
@@ -7425,7 +7465,7 @@ X.normalizeScroll = function(n) {
7425
7465
  return;
7426
7466
  }
7427
7467
  var e = n instanceof Ee ? n : P_(n);
7428
- return ct && ct.target === e.target && ct.kill(), ln(e.target) && (ct = e), e;
7468
+ return ct && ct.target === e.target && ct.kill(), cn(e.target) && (ct = e), e;
7429
7469
  };
7430
7470
  X.core = {
7431
7471
  // smaller file size way to leverage in ScrollSmoother and Observer
@@ -7436,7 +7476,7 @@ X.core = {
7436
7476
  bridge: {
7437
7477
  // when normalizeScroll sets the scroll position (ss = setScroll)
7438
7478
  ss: function() {
7439
- Vt || un("scrollStart"), Vt = Je();
7479
+ Vt || fn("scrollStart"), Vt = Je();
7440
7480
  },
7441
7481
  // a way to get the _refreshing value in Observer
7442
7482
  ref: function() {
@@ -7446,7 +7486,7 @@ X.core = {
7446
7486
  };
7447
7487
  zf() && j.registerPlugin(X);
7448
7488
  De.registerPlugin(X);
7449
- function pv(n, e = {}) {
7489
+ function pb(n, e = {}) {
7450
7490
  const {
7451
7491
  duration: t = 1.5,
7452
7492
  delay: r = 0,
@@ -7454,24 +7494,24 @@ function pv(n, e = {}) {
7454
7494
  suffix: i = "",
7455
7495
  prefix: s = "",
7456
7496
  onComplete: a
7457
- } = e, [l, c] = zn(0), u = Dr(null), d = Dr(!1);
7458
- jt(() => {
7497
+ } = e, [l, c] = zn(0), u = ir(null), p = ir(!1);
7498
+ mt(() => {
7459
7499
  const f = u.current;
7460
- if (!f || d.current) return;
7500
+ if (!f || p.current) return;
7461
7501
  if (window.matchMedia(
7462
7502
  "(prefers-reduced-motion: reduce)"
7463
7503
  ).matches) {
7464
7504
  c(n), a == null || a();
7465
7505
  return;
7466
7506
  }
7467
- const p = { value: 0 }, _ = () => {
7468
- d.current || (d.current = !0, De.to(p, {
7507
+ const d = { value: 0 }, _ = () => {
7508
+ p.current || (p.current = !0, De.to(d, {
7469
7509
  value: n,
7470
7510
  duration: t,
7471
7511
  delay: r,
7472
7512
  ease: "power2.out",
7473
7513
  onUpdate: () => {
7474
- c(Math.round(p.value));
7514
+ c(Math.round(d.value));
7475
7515
  },
7476
7516
  onComplete: a
7477
7517
  }));
@@ -7482,8 +7522,8 @@ function pv(n, e = {}) {
7482
7522
  onEnter: _,
7483
7523
  once: !0
7484
7524
  }) : _(), () => {
7485
- X.getAll().forEach((w) => {
7486
- w.trigger === f && w.kill();
7525
+ X.getAll().forEach((v) => {
7526
+ v.trigger === f && v.kill();
7487
7527
  });
7488
7528
  };
7489
7529
  }, [n, t, r, o, a]);
@@ -7491,15 +7531,15 @@ function pv(n, e = {}) {
7491
7531
  return { ref: u, value: l, displayValue: h };
7492
7532
  }
7493
7533
  De.registerPlugin(X);
7494
- function hv(n = {}) {
7534
+ function hb(n = {}) {
7495
7535
  const {
7496
7536
  duration: e = 0.8,
7497
7537
  delay: t = 0,
7498
7538
  stagger: r = 0.1,
7499
7539
  direction: o = "up",
7500
7540
  distance: i = 40
7501
- } = n, s = Dr(null);
7502
- return jt(() => {
7541
+ } = n, s = ir(null);
7542
+ return mt(() => {
7503
7543
  const a = s.current;
7504
7544
  if (!a) return;
7505
7545
  const l = Array.from(a.children);
@@ -7544,14 +7584,14 @@ function hv(n = {}) {
7544
7584
  return () => h.revert();
7545
7585
  }, [e, t, r, o, i]), s;
7546
7586
  }
7547
- function gv(n = {}) {
7587
+ function gb(n = {}) {
7548
7588
  const {
7549
7589
  duration: e = 0.5,
7550
7590
  stagger: t = 0.08,
7551
7591
  delay: r = 0,
7552
7592
  direction: o = "up"
7553
- } = n, i = Dr(null);
7554
- return jt(() => {
7593
+ } = n, i = ir(null);
7594
+ return mt(() => {
7555
7595
  const s = i.current;
7556
7596
  if (!s) return;
7557
7597
  const a = s.querySelectorAll("[data-stagger-item]");
@@ -7586,15 +7626,15 @@ function gv(n = {}) {
7586
7626
  c.scale = 0.8, u.scale = 1, u.ease = "back.out(1.7)";
7587
7627
  break;
7588
7628
  }
7589
- const d = De.context(() => {
7629
+ const p = De.context(() => {
7590
7630
  De.fromTo(a, c, u);
7591
7631
  }, s);
7592
- return () => d.revert();
7632
+ return () => p.revert();
7593
7633
  }, [e, t, r, o]), i;
7594
7634
  }
7595
- function mv(n = {}) {
7596
- const { duration: e = 0.5, exitDuration: t = 0.25 } = n, r = Dr(null);
7597
- return jt(() => {
7635
+ function mb(n = {}) {
7636
+ const { duration: e = 0.5, exitDuration: t = 0.25 } = n, r = ir(null);
7637
+ return mt(() => {
7598
7638
  const o = r.current;
7599
7639
  if (!o) return;
7600
7640
  if (window.matchMedia(
@@ -7626,14 +7666,14 @@ function mv(n = {}) {
7626
7666
  }, [e, t]), r;
7627
7667
  }
7628
7668
  De.registerPlugin(X);
7629
- function _v(n = {}) {
7669
+ function _b(n = {}) {
7630
7670
  const {
7631
7671
  duration: e = 0.6,
7632
7672
  delay: t = 0,
7633
7673
  staggerAmount: r = 0.03,
7634
7674
  onScroll: o = !0
7635
- } = n, i = Dr(null);
7636
- return jt(() => {
7675
+ } = n, i = ir(null);
7676
+ return mt(() => {
7637
7677
  const s = i.current;
7638
7678
  if (!s) return;
7639
7679
  const a = s.textContent || "";
@@ -7645,7 +7685,7 @@ function _v(n = {}) {
7645
7685
  const f = document.createElement("span");
7646
7686
  f.textContent = h === " " ? " " : h, f.style.display = "inline-block", f.style.opacity = "0", s.appendChild(f);
7647
7687
  });
7648
- const u = Array.from(s.querySelectorAll("span")), d = De.context(() => {
7688
+ const u = Array.from(s.querySelectorAll("span")), p = De.context(() => {
7649
7689
  o ? De.fromTo(
7650
7690
  u,
7651
7691
  { opacity: 0, y: 12 },
@@ -7674,12 +7714,12 @@ function _v(n = {}) {
7674
7714
  }
7675
7715
  );
7676
7716
  }, s);
7677
- return () => d.revert();
7717
+ return () => p.revert();
7678
7718
  }, [e, t, r, o]), i;
7679
7719
  }
7680
- function vv(n = {}) {
7681
- const { hoverScale: e = 1.02, pressScale: t = 0.96, duration: r = 0.2 } = n, o = Dr(null);
7682
- return jt(() => {
7720
+ function bb(n = {}) {
7721
+ const { hoverScale: e = 1.02, pressScale: t = 0.96, duration: r = 0.2 } = n, o = ir(null);
7722
+ return mt(() => {
7683
7723
  const i = o.current;
7684
7724
  if (!i || window.matchMedia(
7685
7725
  "(prefers-reduced-motion: reduce)"
@@ -7729,39 +7769,39 @@ export {
7729
7769
  K_ as CommandBox,
7730
7770
  Q_ as ErrorBoundary,
7731
7771
  J_ as ErrorFallback,
7732
- tv as Footer,
7772
+ tb as Footer,
7733
7773
  F_ as HamburgerIcon,
7734
- rv as Hero,
7774
+ rb as Hero,
7735
7775
  $u as Icon,
7736
7776
  Nd as Input,
7737
7777
  Xm as MobileDrawer,
7738
- ev as Nav,
7778
+ eb as Nav,
7739
7779
  Jo as NavLink,
7740
7780
  I_ as NoiseOverlay,
7741
7781
  B_ as ScrollIndicator,
7742
- nv as Section,
7743
- ov as SectionHeader,
7782
+ nb as Section,
7783
+ ob as SectionHeader,
7744
7784
  Po as Skeleton,
7745
7785
  Dc as ThemeToggle,
7746
7786
  N_ as borderRadius,
7747
7787
  H as cn,
7748
7788
  R_ as colors,
7749
7789
  z_ as effects,
7750
- lv as formatShortcut,
7751
- av as getModifierKey,
7790
+ lb as formatShortcut,
7791
+ ab as getModifierKey,
7752
7792
  D_ as spacing,
7753
7793
  A_ as typography,
7754
- vv as useButtonPulse,
7755
- pv as useCountUp,
7756
- dv as useIsDesktop,
7757
- uv as useIsMobile,
7758
- fv as useIsTablet,
7759
- sv as useKeyboardShortcuts,
7794
+ bb as useButtonPulse,
7795
+ pb as useCountUp,
7796
+ db as useIsDesktop,
7797
+ ub as useIsMobile,
7798
+ fb as useIsTablet,
7799
+ sb as useKeyboardShortcuts,
7760
7800
  oa as useMediaQuery,
7761
- mv as usePageTransition,
7762
- cv as useReducedMotion,
7763
- hv as useScrollReveal,
7764
- gv as useStaggerList,
7765
- _v as useTextReveal,
7766
- iv as useTheme
7801
+ mb as usePageTransition,
7802
+ cb as useReducedMotion,
7803
+ hb as useScrollReveal,
7804
+ gb as useStaggerList,
7805
+ _b as useTextReveal,
7806
+ ib as useTheme
7767
7807
  };