@zenpatient-org/healthspan-marketing-ui 0.1.22 → 0.1.23

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.
Files changed (77) hide show
  1. package/README.md +11 -1
  2. package/dist/components/Button/Button.es.js +24 -6
  3. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js +1 -1
  4. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js +17 -15
  5. package/dist/components/FilterMenu/FilterMenu.d.ts +1 -1
  6. package/dist/components/FilterMenu/FilterMenu.es.js +17 -2
  7. package/dist/components/InfiniteScroll/InfiniteScroll.es.js +9 -1
  8. package/dist/components/Label/Label.es.js +9 -1
  9. package/dist/components/Pricing/Pricing.cjs.js +1 -0
  10. package/dist/components/Pricing/Pricing.d.ts +3 -0
  11. package/dist/components/Pricing/Pricing.es.js +41 -0
  12. package/dist/components/Pricing/components/BenefitItem/BenefitItem.cjs.js +1 -0
  13. package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +8 -0
  14. package/dist/components/Pricing/components/BenefitItem/BenefitItem.es.js +10 -0
  15. package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
  16. package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.es.js +7 -0
  17. package/dist/components/Pricing/components/BenefitItem/index.d.ts +1 -0
  18. package/dist/components/Pricing/components/index.d.ts +1 -0
  19. package/dist/components/Pricing/index.d.ts +2 -0
  20. package/dist/components/Pricing/pricing.module.css.cjs.js +1 -0
  21. package/dist/components/Pricing/pricing.module.css.es.js +25 -0
  22. package/dist/components/Pricing/types.d.ts +17 -0
  23. package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -1
  24. package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +24 -3
  25. package/dist/components/ProgressButton/ProgressButton.es.js +9 -1
  26. package/dist/components/StepsCarousel/StepsCarousel.es.js +47 -13
  27. package/dist/components/StudyGridCard/StudyGridCard.es.js +36 -6
  28. package/dist/components/Tabs/TabsWithFade.es.js +10 -1
  29. package/dist/components/Typography/Typography.es.js +8 -1
  30. package/dist/healthspan-marketing-ui.css +1 -1
  31. package/dist/modules/Benefits/Benefits.es.js +3 -26
  32. package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +3 -27
  33. package/dist/modules/Benefits/components/BenefitTag/BenefitTag.es.js +1 -10
  34. package/dist/modules/Compare/Compare.d.ts +3 -0
  35. package/dist/modules/Compare/index.d.ts +1 -0
  36. package/dist/modules/Compare/types.d.ts +9 -0
  37. package/dist/modules/Comparison/Comparison.es.js +20 -5
  38. package/dist/modules/FeaturedIn/FeaturedIn.es.js +14 -5
  39. package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +9 -1
  40. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +32 -17
  41. package/dist/modules/FollowTheScience/FollowTheScience.es.js +21 -2
  42. package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -1
  43. package/dist/modules/OptimalHealth/OptimalHealth.es.js +6 -6
  44. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -1
  45. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +53 -31
  46. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -1
  47. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +25 -5
  48. package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -1
  49. package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +17 -15
  50. package/dist/modules/OurProcess/OurProcess.cjs.js +1 -1
  51. package/dist/modules/OurProcess/OurProcess.d.ts +3 -2
  52. package/dist/modules/OurProcess/OurProcess.es.js +17 -8
  53. package/dist/modules/PairedProducts/PairedProducts.cjs.js +1 -1
  54. package/dist/modules/PairedProducts/PairedProducts.d.ts +2 -2
  55. package/dist/modules/PairedProducts/PairedProducts.es.js +1 -1
  56. package/dist/modules/TypesOfTests/TypesOfTests.cjs.js +1 -1
  57. package/dist/modules/TypesOfTests/TypesOfTests.es.js +86 -47
  58. package/dist/modules/TypesOfTests/types.d.ts +4 -0
  59. package/dist/modules/TypesOfTests/typesOfTests.module.css.cjs.js +1 -1
  60. package/dist/modules/TypesOfTests/typesOfTests.module.css.es.js +14 -12
  61. package/dist/modules/YourProtocol/YourProtocol.es.js +19 -2
  62. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +18 -5
  63. package/dist/node_modules/gsap/CSSPlugin.cjs.js +8 -0
  64. package/dist/node_modules/gsap/CSSPlugin.es.js +423 -0
  65. package/dist/node_modules/gsap/Observer.cjs.js +8 -0
  66. package/dist/node_modules/gsap/Observer.es.js +242 -0
  67. package/dist/node_modules/gsap/ScrollTrigger.cjs.js +8 -0
  68. package/dist/node_modules/gsap/ScrollTrigger.es.js +859 -0
  69. package/dist/node_modules/gsap/gsap-core.cjs.js +8 -0
  70. package/dist/node_modules/gsap/gsap-core.es.js +1651 -0
  71. package/dist/node_modules/gsap/index.cjs.js +1 -0
  72. package/dist/node_modules/gsap/index.es.js +13 -0
  73. package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.d.ts +1 -0
  74. package/dist/pageComponents/StillHaveQuestions/index.d.ts +1 -0
  75. package/package.json +39 -4
  76. package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +0 -1
  77. package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +0 -13
@@ -0,0 +1,1651 @@
1
+ function it(o) {
2
+ if (o === void 0)
3
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
+ return o;
5
+ }
6
+ function Oe(o, t) {
7
+ o.prototype = Object.create(t.prototype), o.prototype.constructor = o, o.__proto__ = t;
8
+ }
9
+ /*!
10
+ * GSAP 3.13.0
11
+ * https://gsap.com
12
+ *
13
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
14
+ * Subject to the terms at https://gsap.com/standard-license
15
+ * @author: Jack Doyle, jack@greensock.com
16
+ */
17
+ var yt = {
18
+ autoSleep: 120,
19
+ force3D: "auto",
20
+ nullTargetWarn: 1,
21
+ units: {
22
+ lineHeight: ""
23
+ }
24
+ }, Tt = {
25
+ duration: 0.5,
26
+ overwrite: !1,
27
+ delay: 0
28
+ }, ce, z, S, Y = 1e8, R = 1 / Y, re = Math.PI * 2, yr = re / 4, Tr = 0, Ee = Math.sqrt, vr = Math.cos, xr = Math.sin, L = function(t) {
29
+ return typeof t == "string";
30
+ }, A = function(t) {
31
+ return typeof t == "function";
32
+ }, nt = function(t) {
33
+ return typeof t == "number";
34
+ }, ze = function(t) {
35
+ return typeof t > "u";
36
+ }, j = function(t) {
37
+ return typeof t == "object";
38
+ }, U = function(t) {
39
+ return t !== !1;
40
+ }, de = function() {
41
+ return typeof window < "u";
42
+ }, It = function(t) {
43
+ return A(t) || L(t);
44
+ }, Fe = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
45
+ }, F = Array.isArray, ie = /(?:-?\.?\d|\.)+/gi, kr = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, Le = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Zt = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, br = /[+-]=-?[.\d]+/, Ie = /[^,'"\[\]\s]+/gi, wr = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, M, $, ne, pe, B = {}, Bt = {}, Ne, Ue = function(t) {
46
+ return (Bt = vt(t, B)) && dt;
47
+ }, qe = function(t, e) {
48
+ return console.warn("Invalid property", t, "set to", e, "Missing plugin? gsap.registerPlugin()");
49
+ }, At = function(t, e) {
50
+ return !e && console.warn(t);
51
+ }, Be = function(t, e) {
52
+ return t && (B[t] = e) && Bt && (Bt[t] = e) || B;
53
+ }, Ot = function() {
54
+ return 0;
55
+ }, Dr = {
56
+ suppressEvents: !0,
57
+ isStart: !0,
58
+ kill: !1
59
+ }, Nt = {
60
+ suppressEvents: !0,
61
+ kill: !1
62
+ }, Cr = {
63
+ suppressEvents: !0
64
+ }, ge = {}, ot = [], se = {}, Ve, Q = {}, $t = {}, De = 30, Ut = [], me = "", ye = function(t) {
65
+ var e = t[0], i, r;
66
+ if (j(e) || A(e) || (t = [t]), !(i = (e._gsap || {}).harness)) {
67
+ for (r = Ut.length; r-- && !Ut[r].targetTest(e); )
68
+ ;
69
+ i = Ut[r];
70
+ }
71
+ for (r = t.length; r--; )
72
+ t[r] && (t[r]._gsap || (t[r]._gsap = new Jr(t[r], i))) || t.splice(r, 1);
73
+ return t;
74
+ }, Pt = function(t) {
75
+ return t._gsap || ye(K(t))[0]._gsap;
76
+ }, Pr = function(t, e, i) {
77
+ return (i = t[e]) && A(i) ? t[e]() : ze(i) && t.getAttribute && t.getAttribute(e) || i;
78
+ }, st = function(t, e) {
79
+ return (t = t.split(",")).forEach(e) || t;
80
+ }, Rr = function(t) {
81
+ return Math.round(t * 1e5) / 1e5 || 0;
82
+ }, E = function(t) {
83
+ return Math.round(t * 1e7) / 1e7 || 0;
84
+ }, Ge = function(t, e) {
85
+ var i = e.charAt(0), r = parseFloat(e.substr(2));
86
+ return t = parseFloat(t), i === "+" ? t + r : i === "-" ? t - r : i === "*" ? t * r : t / r;
87
+ }, Sr = function(t, e) {
88
+ for (var i = e.length, r = 0; t.indexOf(e[r]) < 0 && ++r < i; )
89
+ ;
90
+ return r < i;
91
+ }, Vt = function() {
92
+ var t = ot.length, e = ot.slice(0), i, r;
93
+ for (se = {}, ot.length = 0, i = 0; i < t; i++)
94
+ r = e[i], r && r._lazy && (r.render(r._lazy[0], r._lazy[1], !0)._lazy = 0);
95
+ }, Te = function(t) {
96
+ return !!(t._initted || t._startAt || t.add);
97
+ }, We = function(t, e, i, r) {
98
+ ot.length && !z && Vt(), t.render(e, i, !!(z && e < 0 && Te(t))), ot.length && !z && Vt();
99
+ }, Qe = function(t) {
100
+ var e = parseFloat(t);
101
+ return (e || e === 0) && (t + "").match(Ie).length < 2 ? e : L(t) ? t.trim() : t;
102
+ }, Ye = function(t) {
103
+ return t;
104
+ }, V = function(t, e) {
105
+ for (var i in e)
106
+ i in t || (t[i] = e[i]);
107
+ return t;
108
+ }, Mr = function(t) {
109
+ return function(e, i) {
110
+ for (var r in i)
111
+ r in e || r === "duration" && t || r === "ease" || (e[r] = i[r]);
112
+ };
113
+ }, vt = function(t, e) {
114
+ for (var i in e)
115
+ t[i] = e[i];
116
+ return t;
117
+ }, Ce = function o(t, e) {
118
+ for (var i in e)
119
+ i !== "__proto__" && i !== "constructor" && i !== "prototype" && (t[i] = j(e[i]) ? o(t[i] || (t[i] = {}), e[i]) : e[i]);
120
+ return t;
121
+ }, Gt = function(t, e) {
122
+ var i = {}, r;
123
+ for (r in t)
124
+ r in e || (i[r] = t[r]);
125
+ return i;
126
+ }, Rt = function(t) {
127
+ var e = t.parent || M, i = t.keyframes ? Mr(F(t.keyframes)) : V;
128
+ if (U(t.inherit))
129
+ for (; e; )
130
+ i(t, e.vars.defaults), e = e.parent || e._dp;
131
+ return t;
132
+ }, Ar = function(t, e) {
133
+ for (var i = t.length, r = i === e.length; r && i-- && t[i] === e[i]; )
134
+ ;
135
+ return i < 0;
136
+ }, Ke = function(t, e, i, r, n) {
137
+ var s = t[r], a;
138
+ if (n)
139
+ for (a = e[n]; s && s[n] > a; )
140
+ s = s._prev;
141
+ return s ? (e._next = s._next, s._next = e) : (e._next = t[i], t[i] = e), e._next ? e._next._prev = e : t[r] = e, e._prev = s, e.parent = e._dp = t, e;
142
+ }, Yt = function(t, e, i, r) {
143
+ i === void 0 && (i = "_first"), r === void 0 && (r = "_last");
144
+ var n = e._prev, s = e._next;
145
+ n ? n._next = s : t[i] === e && (t[i] = s), s ? s._prev = n : t[r] === e && (t[r] = n), e._next = e._prev = e.parent = null;
146
+ }, ut = function(t, e) {
147
+ t.parent && (!e || t.parent.autoRemoveChildren) && t.parent.remove && t.parent.remove(t), t._act = 0;
148
+ }, ft = function(t, e) {
149
+ if (t && (!e || e._end > t._dur || e._start < 0))
150
+ for (var i = t; i; )
151
+ i._dirty = 1, i = i.parent;
152
+ return t;
153
+ }, Or = function(t) {
154
+ for (var e = t.parent; e && e.parent; )
155
+ e._dirty = 1, e.totalDuration(), e = e.parent;
156
+ return t;
157
+ }, ae = function(t, e, i, r) {
158
+ return t._startAt && (z ? t._startAt.revert(Nt) : t.vars.immediateRender && !t.vars.autoRevert || t._startAt.render(e, !0, r));
159
+ }, Er = function o(t) {
160
+ return !t || t._ts && o(t.parent);
161
+ }, Pe = function(t) {
162
+ return t._repeat ? xt(t._tTime, t = t.duration() + t._rDelay) * t : 0;
163
+ }, xt = function(t, e) {
164
+ var i = Math.floor(t = E(t / e));
165
+ return t && i === t ? i - 1 : i;
166
+ }, Wt = function(t, e) {
167
+ return (t - e._start) * e._ts + (e._ts >= 0 ? 0 : e._dirty ? e.totalDuration() : e._tDur);
168
+ }, Kt = function(t) {
169
+ return t._end = E(t._start + (t._tDur / Math.abs(t._ts || t._rts || R) || 0));
170
+ }, Xt = function(t, e) {
171
+ var i = t._dp;
172
+ return i && i.smoothChildTiming && t._ts && (t._start = E(i._time - (t._ts > 0 ? e / t._ts : ((t._dirty ? t.totalDuration() : t._tDur) - e) / -t._ts)), Kt(t), i._dirty || ft(i, t)), t;
173
+ }, Xe = function(t, e) {
174
+ var i;
175
+ if ((e._time || !e._dur && e._initted || e._start < t._time && (e._dur || !e.add)) && (i = Wt(t.rawTime(), e), (!e._dur || Ft(0, e.totalDuration(), i) - e._tTime > R) && e.render(i, !0)), ft(t, e)._dp && t._initted && t._time >= t._dur && t._ts) {
176
+ if (t._dur < t.duration())
177
+ for (i = t; i._dp; )
178
+ i.rawTime() >= 0 && i.totalTime(i._tTime), i = i._dp;
179
+ t._zTime = -R;
180
+ }
181
+ }, H = function(t, e, i, r) {
182
+ return e.parent && ut(e), e._start = E((nt(i) ? i : i || t !== M ? W(t, i, e) : t._time) + e._delay), e._end = E(e._start + (e.totalDuration() / Math.abs(e.timeScale()) || 0)), Ke(t, e, "_first", "_last", t._sort ? "_start" : 0), oe(e) || (t._recent = e), r || Xe(t, e), t._ts < 0 && Xt(t, t._tTime), t;
183
+ }, Ze = function(t, e) {
184
+ return (B.ScrollTrigger || qe("scrollTrigger", e)) && B.ScrollTrigger.create(e, t);
185
+ }, $e = function(t, e, i, r, n) {
186
+ if (ke(t, e, n), !t._initted)
187
+ return 1;
188
+ if (!i && t._pt && !z && (t._dur && t.vars.lazy !== !1 || !t._dur && t.vars.lazy) && Ve !== Z.frame)
189
+ return ot.push(t), t._lazy = [n, r], 1;
190
+ }, zr = function o(t) {
191
+ var e = t.parent;
192
+ return e && e._ts && e._initted && !e._lock && (e.rawTime() < 0 || o(e));
193
+ }, oe = function(t) {
194
+ var e = t.data;
195
+ return e === "isFromStart" || e === "isStart";
196
+ }, Fr = function(t, e, i, r) {
197
+ var n = t.ratio, s = e < 0 || !e && (!t._start && zr(t) && !(!t._initted && oe(t)) || (t._ts < 0 || t._dp._ts < 0) && !oe(t)) ? 0 : 1, a = t._rDelay, u = 0, _, h, f;
198
+ if (a && t._repeat && (u = Ft(0, t._tDur, e), h = xt(u, a), t._yoyo && h & 1 && (s = 1 - s), h !== xt(t._tTime, a) && (n = 1 - s, t.vars.repeatRefresh && t._initted && t.invalidate())), s !== n || z || r || t._zTime === R || !e && t._zTime) {
199
+ if (!t._initted && $e(t, e, r, i, u))
200
+ return;
201
+ for (f = t._zTime, t._zTime = e || (i ? R : 0), i || (i = e && !f), t.ratio = s, t._from && (s = 1 - s), t._time = 0, t._tTime = u, _ = t._pt; _; )
202
+ _.r(s, _.d), _ = _._next;
203
+ e < 0 && ae(t, e, i, !0), t._onUpdate && !i && q(t, "onUpdate"), u && t._repeat && !i && t.parent && q(t, "onRepeat"), (e >= t._tDur || e < 0) && t.ratio === s && (s && ut(t, 1), !i && !z && (q(t, s ? "onComplete" : "onReverseComplete", !0), t._prom && t._prom()));
204
+ } else t._zTime || (t._zTime = e);
205
+ }, Lr = function(t, e, i) {
206
+ var r;
207
+ if (i > e)
208
+ for (r = t._first; r && r._start <= i; ) {
209
+ if (r.data === "isPause" && r._start > e)
210
+ return r;
211
+ r = r._next;
212
+ }
213
+ else
214
+ for (r = t._last; r && r._start >= i; ) {
215
+ if (r.data === "isPause" && r._start < e)
216
+ return r;
217
+ r = r._prev;
218
+ }
219
+ }, kt = function(t, e, i, r) {
220
+ var n = t._repeat, s = E(e) || 0, a = t._tTime / t._tDur;
221
+ return a && !r && (t._time *= s / t._dur), t._dur = s, t._tDur = n ? n < 0 ? 1e10 : E(s * (n + 1) + t._rDelay * n) : s, a > 0 && !r && Xt(t, t._tTime = t._tDur * a), t.parent && Kt(t), i || ft(t.parent, t), t;
222
+ }, Re = function(t) {
223
+ return t instanceof I ? ft(t) : kt(t, t._dur);
224
+ }, Ir = {
225
+ _start: 0,
226
+ endTime: Ot,
227
+ totalDuration: Ot
228
+ }, W = function o(t, e, i) {
229
+ var r = t.labels, n = t._recent || Ir, s = t.duration() >= Y ? n.endTime(!1) : t._dur, a, u, _;
230
+ return L(e) && (isNaN(e) || e in r) ? (u = e.charAt(0), _ = e.substr(-1) === "%", a = e.indexOf("="), u === "<" || u === ">" ? (a >= 0 && (e = e.replace(/=/, "")), (u === "<" ? n._start : n.endTime(n._repeat >= 0)) + (parseFloat(e.substr(1)) || 0) * (_ ? (a < 0 ? n : i).totalDuration() / 100 : 1)) : a < 0 ? (e in r || (r[e] = s), r[e]) : (u = parseFloat(e.charAt(a - 1) + e.substr(a + 1)), _ && i && (u = u / 100 * (F(i) ? i[0] : i).totalDuration()), a > 1 ? o(t, e.substr(0, a - 1), i) + u : s + u)) : e == null ? s : +e;
231
+ }, St = function(t, e, i) {
232
+ var r = nt(e[1]), n = (r ? 2 : 1) + (t < 2 ? 0 : 1), s = e[n], a, u;
233
+ if (r && (s.duration = e[1]), s.parent = i, t) {
234
+ for (a = s, u = i; u && !("immediateRender" in a); )
235
+ a = u.vars.defaults || {}, u = U(u.vars.inherit) && u.parent;
236
+ s.immediateRender = U(a.immediateRender), t < 2 ? s.runBackwards = 1 : s.startAt = e[n - 1];
237
+ }
238
+ return new O(e[0], s, e[n + 1]);
239
+ }, ht = function(t, e) {
240
+ return t || t === 0 ? e(t) : e;
241
+ }, Ft = function(t, e, i) {
242
+ return i < t ? t : i > e ? e : i;
243
+ }, _t = function(t, e) {
244
+ return !L(t) || !(e = wr.exec(t)) ? "" : e[1];
245
+ }, Nr = function(t, e, i) {
246
+ return ht(i, function(r) {
247
+ return Ft(t, e, r);
248
+ });
249
+ }, ue = [].slice, He = function(t, e) {
250
+ return t && j(t) && "length" in t && (!e && !t.length || t.length - 1 in t && j(t[0])) && !t.nodeType && t !== $;
251
+ }, Ur = function(t, e, i) {
252
+ return i === void 0 && (i = []), t.forEach(function(r) {
253
+ var n;
254
+ return L(r) && !e || He(r, 1) ? (n = i).push.apply(n, K(r)) : i.push(r);
255
+ }) || i;
256
+ }, K = function(t, e, i) {
257
+ return S && !e && S.selector ? S.selector(t) : L(t) && !i && (ne || !bt()) ? ue.call((e || pe).querySelectorAll(t), 0) : F(t) ? Ur(t, i) : He(t) ? ue.call(t, 0) : t ? [t] : [];
258
+ }, _e = function(t) {
259
+ return t = K(t)[0] || At("Invalid scope") || {}, function(e) {
260
+ var i = t.current || t.nativeElement || t;
261
+ return K(e, i.querySelectorAll ? i : i === t ? At("Invalid scope") || pe.createElement("div") : t);
262
+ };
263
+ }, je = function(t) {
264
+ return t.sort(function() {
265
+ return 0.5 - Math.random();
266
+ });
267
+ }, Je = function(t) {
268
+ if (A(t))
269
+ return t;
270
+ var e = j(t) ? t : {
271
+ each: t
272
+ }, i = lt(e.ease), r = e.from || 0, n = parseFloat(e.base) || 0, s = {}, a = r > 0 && r < 1, u = isNaN(r) || a, _ = e.axis, h = r, f = r;
273
+ return L(r) ? h = f = {
274
+ center: 0.5,
275
+ edges: 0.5,
276
+ end: 1
277
+ }[r] || 0 : !a && u && (h = r[0], f = r[1]), function(l, c, g) {
278
+ var d = (g || e).length, p = s[d], m, T, v, k, y, x, D, C, b;
279
+ if (!p) {
280
+ if (b = e.grid === "auto" ? 0 : (e.grid || [1, Y])[1], !b) {
281
+ for (D = -Y; D < (D = g[b++].getBoundingClientRect().left) && b < d; )
282
+ ;
283
+ b < d && b--;
284
+ }
285
+ for (p = s[d] = [], m = u ? Math.min(b, d) * h - 0.5 : r % b, T = b === Y ? 0 : u ? d * f / b - 0.5 : r / b | 0, D = 0, C = Y, x = 0; x < d; x++)
286
+ v = x % b - m, k = T - (x / b | 0), p[x] = y = _ ? Math.abs(_ === "y" ? k : v) : Ee(v * v + k * k), y > D && (D = y), y < C && (C = y);
287
+ r === "random" && je(p), p.max = D - C, p.min = C, p.v = d = (parseFloat(e.amount) || parseFloat(e.each) * (b > d ? d - 1 : _ ? _ === "y" ? d / b : b : Math.max(b, d / b)) || 0) * (r === "edges" ? -1 : 1), p.b = d < 0 ? n - d : n, p.u = _t(e.amount || e.each) || 0, i = i && d < 0 ? ur(i) : i;
288
+ }
289
+ return d = (p[l] - p.min) / p.max || 0, E(p.b + (i ? i(d) : d) * p.v) + p.u;
290
+ };
291
+ }, he = function(t) {
292
+ var e = Math.pow(10, ((t + "").split(".")[1] || "").length);
293
+ return function(i) {
294
+ var r = E(Math.round(parseFloat(i) / t) * t * e);
295
+ return (r - r % 1) / e + (nt(i) ? 0 : _t(i));
296
+ };
297
+ }, tr = function(t, e) {
298
+ var i = F(t), r, n;
299
+ return !i && j(t) && (r = i = t.radius || Y, t.values ? (t = K(t.values), (n = !nt(t[0])) && (r *= r)) : t = he(t.increment)), ht(e, i ? A(t) ? function(s) {
300
+ return n = t(s), Math.abs(n - s) <= r ? n : s;
301
+ } : function(s) {
302
+ for (var a = parseFloat(n ? s.x : s), u = parseFloat(n ? s.y : 0), _ = Y, h = 0, f = t.length, l, c; f--; )
303
+ n ? (l = t[f].x - a, c = t[f].y - u, l = l * l + c * c) : l = Math.abs(t[f] - a), l < _ && (_ = l, h = f);
304
+ return h = !r || _ <= r ? t[h] : s, n || h === s || nt(s) ? h : h + _t(s);
305
+ } : he(t));
306
+ }, er = function(t, e, i, r) {
307
+ return ht(F(t) ? !e : i === !0 ? !!(i = 0) : !r, function() {
308
+ return F(t) ? t[~~(Math.random() * t.length)] : (i = i || 1e-5) && (r = i < 1 ? Math.pow(10, (i + "").length - 2) : 1) && Math.floor(Math.round((t - i / 2 + Math.random() * (e - t + i * 0.99)) / i) * i * r) / r;
309
+ });
310
+ }, qr = function() {
311
+ for (var t = arguments.length, e = new Array(t), i = 0; i < t; i++)
312
+ e[i] = arguments[i];
313
+ return function(r) {
314
+ return e.reduce(function(n, s) {
315
+ return s(n);
316
+ }, r);
317
+ };
318
+ }, Br = function(t, e) {
319
+ return function(i) {
320
+ return t(parseFloat(i)) + (e || _t(i));
321
+ };
322
+ }, Vr = function(t, e, i) {
323
+ return ir(t, e, 0, 1, i);
324
+ }, rr = function(t, e, i) {
325
+ return ht(i, function(r) {
326
+ return t[~~e(r)];
327
+ });
328
+ }, Gr = function o(t, e, i) {
329
+ var r = e - t;
330
+ return F(t) ? rr(t, o(0, t.length), e) : ht(i, function(n) {
331
+ return (r + (n - t) % r) % r + t;
332
+ });
333
+ }, Wr = function o(t, e, i) {
334
+ var r = e - t, n = r * 2;
335
+ return F(t) ? rr(t, o(0, t.length - 1), e) : ht(i, function(s) {
336
+ return s = (n + (s - t) % n) % n || 0, t + (s > r ? n - s : s);
337
+ });
338
+ }, ve = function(t) {
339
+ for (var e = 0, i = "", r, n, s, a; ~(r = t.indexOf("random(", e)); )
340
+ s = t.indexOf(")", r), a = t.charAt(r + 7) === "[", n = t.substr(r + 7, s - r - 7).match(a ? Ie : ie), i += t.substr(e, r - e) + er(a ? n : +n[0], a ? 0 : +n[1], +n[2] || 1e-5), e = s + 1;
341
+ return i + t.substr(e, t.length - e);
342
+ }, ir = function(t, e, i, r, n) {
343
+ var s = e - t, a = r - i;
344
+ return ht(n, function(u) {
345
+ return i + ((u - t) / s * a || 0);
346
+ });
347
+ }, Qr = function o(t, e, i, r) {
348
+ var n = isNaN(t + e) ? 0 : function(c) {
349
+ return (1 - c) * t + c * e;
350
+ };
351
+ if (!n) {
352
+ var s = L(t), a = {}, u, _, h, f, l;
353
+ if (i === !0 && (r = 1) && (i = null), s)
354
+ t = {
355
+ p: t
356
+ }, e = {
357
+ p: e
358
+ };
359
+ else if (F(t) && !F(e)) {
360
+ for (h = [], f = t.length, l = f - 2, _ = 1; _ < f; _++)
361
+ h.push(o(t[_ - 1], t[_]));
362
+ f--, n = function(g) {
363
+ g *= f;
364
+ var d = Math.min(l, ~~g);
365
+ return h[d](g - d);
366
+ }, i = e;
367
+ } else r || (t = vt(F(t) ? [] : {}, t));
368
+ if (!h) {
369
+ for (u in e)
370
+ xe.call(a, t, u, "get", e[u]);
371
+ n = function(g) {
372
+ return we(g, a) || (s ? t.p : t);
373
+ };
374
+ }
375
+ }
376
+ return ht(i, n);
377
+ }, Se = function(t, e, i) {
378
+ var r = t.labels, n = Y, s, a, u;
379
+ for (s in r)
380
+ a = r[s] - e, a < 0 == !!i && a && n > (a = Math.abs(a)) && (u = s, n = a);
381
+ return u;
382
+ }, q = function(t, e, i) {
383
+ var r = t.vars, n = r[e], s = S, a = t._ctx, u, _, h;
384
+ if (n)
385
+ return u = r[e + "Params"], _ = r.callbackScope || t, i && ot.length && Vt(), a && (S = a), h = u ? n.apply(_, u) : n.call(_), S = s, h;
386
+ }, Dt = function(t) {
387
+ return ut(t), t.scrollTrigger && t.scrollTrigger.kill(!!z), t.progress() < 1 && q(t, "onInterrupt"), t;
388
+ }, gt, nr = [], sr = function(t) {
389
+ if (t)
390
+ if (t = !t.name && t.default || t, de() || t.headless) {
391
+ var e = t.name, i = A(t), r = e && !i && t.init ? function() {
392
+ this._props = [];
393
+ } : t, n = {
394
+ init: Ot,
395
+ render: we,
396
+ add: xe,
397
+ kill: fi,
398
+ modifier: hi,
399
+ rawVars: 0
400
+ }, s = {
401
+ targetTest: 0,
402
+ get: 0,
403
+ getSetter: dr,
404
+ aliases: {},
405
+ register: 0
406
+ };
407
+ if (bt(), t !== r) {
408
+ if (Q[e])
409
+ return;
410
+ V(r, V(Gt(t, n), s)), vt(r.prototype, vt(n, Gt(t, s))), Q[r.prop = e] = r, t.targetTest && (Ut.push(r), ge[e] = 1), e = (e === "css" ? "CSS" : e.charAt(0).toUpperCase() + e.substr(1)) + "Plugin";
411
+ }
412
+ Be(e, r), t.register && t.register(dt, r, wt);
413
+ } else
414
+ nr.push(t);
415
+ }, P = 255, Ct = {
416
+ aqua: [0, P, P],
417
+ lime: [0, P, 0],
418
+ silver: [192, 192, 192],
419
+ black: [0, 0, 0],
420
+ maroon: [128, 0, 0],
421
+ teal: [0, 128, 128],
422
+ blue: [0, 0, P],
423
+ navy: [0, 0, 128],
424
+ white: [P, P, P],
425
+ olive: [128, 128, 0],
426
+ yellow: [P, P, 0],
427
+ orange: [P, 165, 0],
428
+ gray: [128, 128, 128],
429
+ purple: [128, 0, 128],
430
+ green: [0, 128, 0],
431
+ red: [P, 0, 0],
432
+ pink: [P, 192, 203],
433
+ cyan: [0, P, P],
434
+ transparent: [P, P, P, 0]
435
+ }, Ht = function(t, e, i) {
436
+ return t += t < 0 ? 1 : t > 1 ? -1 : 0, (t * 6 < 1 ? e + (i - e) * t * 6 : t < 0.5 ? i : t * 3 < 2 ? e + (i - e) * (2 / 3 - t) * 6 : e) * P + 0.5 | 0;
437
+ }, ar = function(t, e, i) {
438
+ var r = t ? nt(t) ? [t >> 16, t >> 8 & P, t & P] : 0 : Ct.black, n, s, a, u, _, h, f, l, c, g;
439
+ if (!r) {
440
+ if (t.substr(-1) === "," && (t = t.substr(0, t.length - 1)), Ct[t])
441
+ r = Ct[t];
442
+ else if (t.charAt(0) === "#") {
443
+ if (t.length < 6 && (n = t.charAt(1), s = t.charAt(2), a = t.charAt(3), t = "#" + n + n + s + s + a + a + (t.length === 5 ? t.charAt(4) + t.charAt(4) : "")), t.length === 9)
444
+ return r = parseInt(t.substr(1, 6), 16), [r >> 16, r >> 8 & P, r & P, parseInt(t.substr(7), 16) / 255];
445
+ t = parseInt(t.substr(1), 16), r = [t >> 16, t >> 8 & P, t & P];
446
+ } else if (t.substr(0, 3) === "hsl") {
447
+ if (r = g = t.match(ie), !e)
448
+ u = +r[0] % 360 / 360, _ = +r[1] / 100, h = +r[2] / 100, s = h <= 0.5 ? h * (_ + 1) : h + _ - h * _, n = h * 2 - s, r.length > 3 && (r[3] *= 1), r[0] = Ht(u + 1 / 3, n, s), r[1] = Ht(u, n, s), r[2] = Ht(u - 1 / 3, n, s);
449
+ else if (~t.indexOf("="))
450
+ return r = t.match(kr), i && r.length < 4 && (r[3] = 1), r;
451
+ } else
452
+ r = t.match(ie) || Ct.transparent;
453
+ r = r.map(Number);
454
+ }
455
+ return e && !g && (n = r[0] / P, s = r[1] / P, a = r[2] / P, f = Math.max(n, s, a), l = Math.min(n, s, a), h = (f + l) / 2, f === l ? u = _ = 0 : (c = f - l, _ = h > 0.5 ? c / (2 - f - l) : c / (f + l), u = f === n ? (s - a) / c + (s < a ? 6 : 0) : f === s ? (a - n) / c + 2 : (n - s) / c + 4, u *= 60), r[0] = ~~(u + 0.5), r[1] = ~~(_ * 100 + 0.5), r[2] = ~~(h * 100 + 0.5)), i && r.length < 4 && (r[3] = 1), r;
456
+ }, or = function(t) {
457
+ var e = [], i = [], r = -1;
458
+ return t.split(mt).forEach(function(n) {
459
+ var s = n.match(Le) || [];
460
+ e.push.apply(e, s), i.push(r += s.length + 1);
461
+ }), e.c = i, e;
462
+ }, Me = function(t, e, i) {
463
+ var r = "", n = (t + r).match(mt), s = e ? "hsla(" : "rgba(", a = 0, u, _, h, f;
464
+ if (!n)
465
+ return t;
466
+ if (n = n.map(function(l) {
467
+ return (l = ar(l, e, 1)) && s + (e ? l[0] + "," + l[1] + "%," + l[2] + "%," + l[3] : l.join(",")) + ")";
468
+ }), i && (h = or(t), u = i.c, u.join(r) !== h.c.join(r)))
469
+ for (_ = t.replace(mt, "1").split(Le), f = _.length - 1; a < f; a++)
470
+ r += _[a] + (~u.indexOf(a) ? n.shift() || s + "0,0,0,0)" : (h.length ? h : n.length ? n : i).shift());
471
+ if (!_)
472
+ for (_ = t.split(mt), f = _.length - 1; a < f; a++)
473
+ r += _[a] + n[a];
474
+ return r + _[f];
475
+ }, mt = function() {
476
+ var o = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b", t;
477
+ for (t in Ct)
478
+ o += "|" + t + "\\b";
479
+ return new RegExp(o + ")", "gi");
480
+ }(), Yr = /hsl[a]?\(/, Kr = function(t) {
481
+ var e = t.join(" "), i;
482
+ if (mt.lastIndex = 0, mt.test(e))
483
+ return i = Yr.test(e), t[1] = Me(t[1], i), t[0] = Me(t[0], i, or(t[1])), !0;
484
+ }, Et, Z = function() {
485
+ var o = Date.now, t = 500, e = 33, i = o(), r = i, n = 1e3 / 240, s = n, a = [], u, _, h, f, l, c, g = function d(p) {
486
+ var m = o() - r, T = p === !0, v, k, y, x;
487
+ if ((m > t || m < 0) && (i += m - e), r += m, y = r - i, v = y - s, (v > 0 || T) && (x = ++f.frame, l = y - f.time * 1e3, f.time = y = y / 1e3, s += v + (v >= n ? 4 : n - v), k = 1), T || (u = _(d)), k)
488
+ for (c = 0; c < a.length; c++)
489
+ a[c](y, l, x, p);
490
+ };
491
+ return f = {
492
+ time: 0,
493
+ frame: 0,
494
+ tick: function() {
495
+ g(!0);
496
+ },
497
+ deltaRatio: function(p) {
498
+ return l / (1e3 / (p || 60));
499
+ },
500
+ wake: function() {
501
+ Ne && (!ne && de() && ($ = ne = window, pe = $.document || {}, B.gsap = dt, ($.gsapVersions || ($.gsapVersions = [])).push(dt.version), Ue(Bt || $.GreenSockGlobals || !$.gsap && $ || {}), nr.forEach(sr)), h = typeof requestAnimationFrame < "u" && requestAnimationFrame, u && f.sleep(), _ = h || function(p) {
502
+ return setTimeout(p, s - f.time * 1e3 + 1 | 0);
503
+ }, Et = 1, g(2));
504
+ },
505
+ sleep: function() {
506
+ (h ? cancelAnimationFrame : clearTimeout)(u), Et = 0, _ = Ot;
507
+ },
508
+ lagSmoothing: function(p, m) {
509
+ t = p || 1 / 0, e = Math.min(m || 33, t);
510
+ },
511
+ fps: function(p) {
512
+ n = 1e3 / (p || 240), s = f.time * 1e3 + n;
513
+ },
514
+ add: function(p, m, T) {
515
+ var v = m ? function(k, y, x, D) {
516
+ p(k, y, x, D), f.remove(v);
517
+ } : p;
518
+ return f.remove(p), a[T ? "unshift" : "push"](v), bt(), v;
519
+ },
520
+ remove: function(p, m) {
521
+ ~(m = a.indexOf(p)) && a.splice(m, 1) && c >= m && c--;
522
+ },
523
+ _listeners: a
524
+ }, f;
525
+ }(), bt = function() {
526
+ return !Et && Z.wake();
527
+ }, w = {}, Xr = /^[\d.\-M][\d.\-,\s]/, Zr = /["']/g, $r = function(t) {
528
+ for (var e = {}, i = t.substr(1, t.length - 3).split(":"), r = i[0], n = 1, s = i.length, a, u, _; n < s; n++)
529
+ u = i[n], a = n !== s - 1 ? u.lastIndexOf(",") : u.length, _ = u.substr(0, a), e[r] = isNaN(_) ? _.replace(Zr, "").trim() : +_, r = u.substr(a + 1).trim();
530
+ return e;
531
+ }, Hr = function(t) {
532
+ var e = t.indexOf("(") + 1, i = t.indexOf(")"), r = t.indexOf("(", e);
533
+ return t.substring(e, ~r && r < i ? t.indexOf(")", i + 1) : i);
534
+ }, jr = function(t) {
535
+ var e = (t + "").split("("), i = w[e[0]];
536
+ return i && e.length > 1 && i.config ? i.config.apply(null, ~t.indexOf("{") ? [$r(e[1])] : Hr(t).split(",").map(Qe)) : w._CE && Xr.test(t) ? w._CE("", t) : i;
537
+ }, ur = function(t) {
538
+ return function(e) {
539
+ return 1 - t(1 - e);
540
+ };
541
+ }, _r = function o(t, e) {
542
+ for (var i = t._first, r; i; )
543
+ i instanceof I ? o(i, e) : i.vars.yoyoEase && (!i._yoyo || !i._repeat) && i._yoyo !== e && (i.timeline ? o(i.timeline, e) : (r = i._ease, i._ease = i._yEase, i._yEase = r, i._yoyo = e)), i = i._next;
544
+ }, lt = function(t, e) {
545
+ return t && (A(t) ? t : w[t] || jr(t)) || e;
546
+ }, pt = function(t, e, i, r) {
547
+ i === void 0 && (i = function(u) {
548
+ return 1 - e(1 - u);
549
+ }), r === void 0 && (r = function(u) {
550
+ return u < 0.5 ? e(u * 2) / 2 : 1 - e((1 - u) * 2) / 2;
551
+ });
552
+ var n = {
553
+ easeIn: e,
554
+ easeOut: i,
555
+ easeInOut: r
556
+ }, s;
557
+ return st(t, function(a) {
558
+ w[a] = B[a] = n, w[s = a.toLowerCase()] = i;
559
+ for (var u in n)
560
+ w[s + (u === "easeIn" ? ".in" : u === "easeOut" ? ".out" : ".inOut")] = w[a + "." + u] = n[u];
561
+ }), n;
562
+ }, hr = function(t) {
563
+ return function(e) {
564
+ return e < 0.5 ? (1 - t(1 - e * 2)) / 2 : 0.5 + t((e - 0.5) * 2) / 2;
565
+ };
566
+ }, jt = function o(t, e, i) {
567
+ var r = e >= 1 ? e : 1, n = (i || (t ? 0.3 : 0.45)) / (e < 1 ? e : 1), s = n / re * (Math.asin(1 / r) || 0), a = function(h) {
568
+ return h === 1 ? 1 : r * Math.pow(2, -10 * h) * xr((h - s) * n) + 1;
569
+ }, u = t === "out" ? a : t === "in" ? function(_) {
570
+ return 1 - a(1 - _);
571
+ } : hr(a);
572
+ return n = re / n, u.config = function(_, h) {
573
+ return o(t, _, h);
574
+ }, u;
575
+ }, Jt = function o(t, e) {
576
+ e === void 0 && (e = 1.70158);
577
+ var i = function(s) {
578
+ return s ? --s * s * ((e + 1) * s + e) + 1 : 0;
579
+ }, r = t === "out" ? i : t === "in" ? function(n) {
580
+ return 1 - i(1 - n);
581
+ } : hr(i);
582
+ return r.config = function(n) {
583
+ return o(t, n);
584
+ }, r;
585
+ };
586
+ st("Linear,Quad,Cubic,Quart,Quint,Strong", function(o, t) {
587
+ var e = t < 5 ? t + 1 : t;
588
+ pt(o + ",Power" + (e - 1), t ? function(i) {
589
+ return Math.pow(i, e);
590
+ } : function(i) {
591
+ return i;
592
+ }, function(i) {
593
+ return 1 - Math.pow(1 - i, e);
594
+ }, function(i) {
595
+ return i < 0.5 ? Math.pow(i * 2, e) / 2 : 1 - Math.pow((1 - i) * 2, e) / 2;
596
+ });
597
+ });
598
+ w.Linear.easeNone = w.none = w.Linear.easeIn;
599
+ pt("Elastic", jt("in"), jt("out"), jt());
600
+ (function(o, t) {
601
+ var e = 1 / t, i = 2 * e, r = 2.5 * e, n = function(a) {
602
+ return a < e ? o * a * a : a < i ? o * Math.pow(a - 1.5 / t, 2) + 0.75 : a < r ? o * (a -= 2.25 / t) * a + 0.9375 : o * Math.pow(a - 2.625 / t, 2) + 0.984375;
603
+ };
604
+ pt("Bounce", function(s) {
605
+ return 1 - n(1 - s);
606
+ }, n);
607
+ })(7.5625, 2.75);
608
+ pt("Expo", function(o) {
609
+ return Math.pow(2, 10 * (o - 1)) * o + o * o * o * o * o * o * (1 - o);
610
+ });
611
+ pt("Circ", function(o) {
612
+ return -(Ee(1 - o * o) - 1);
613
+ });
614
+ pt("Sine", function(o) {
615
+ return o === 1 ? 1 : -vr(o * yr) + 1;
616
+ });
617
+ pt("Back", Jt("in"), Jt("out"), Jt());
618
+ w.SteppedEase = w.steps = B.SteppedEase = {
619
+ config: function(t, e) {
620
+ t === void 0 && (t = 1);
621
+ var i = 1 / t, r = t + (e ? 0 : 1), n = e ? 1 : 0, s = 1 - R;
622
+ return function(a) {
623
+ return ((r * Ft(0, s, a) | 0) + n) * i;
624
+ };
625
+ }
626
+ };
627
+ Tt.ease = w["quad.out"];
628
+ st("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(o) {
629
+ return me += o + "," + o + "Params,";
630
+ });
631
+ var Jr = function(t, e) {
632
+ this.id = Tr++, t._gsap = this, this.target = t, this.harness = e, this.get = e ? e.get : Pr, this.set = e ? e.getSetter : dr;
633
+ }, zt = /* @__PURE__ */ function() {
634
+ function o(e) {
635
+ this.vars = e, this._delay = +e.delay || 0, (this._repeat = e.repeat === 1 / 0 ? -2 : e.repeat || 0) && (this._rDelay = e.repeatDelay || 0, this._yoyo = !!e.yoyo || !!e.yoyoEase), this._ts = 1, kt(this, +e.duration, 1, 1), this.data = e.data, S && (this._ctx = S, S.data.push(this)), Et || Z.wake();
636
+ }
637
+ var t = o.prototype;
638
+ return t.delay = function(i) {
639
+ return i || i === 0 ? (this.parent && this.parent.smoothChildTiming && this.startTime(this._start + i - this._delay), this._delay = i, this) : this._delay;
640
+ }, t.duration = function(i) {
641
+ return arguments.length ? this.totalDuration(this._repeat > 0 ? i + (i + this._rDelay) * this._repeat : i) : this.totalDuration() && this._dur;
642
+ }, t.totalDuration = function(i) {
643
+ return arguments.length ? (this._dirty = 0, kt(this, this._repeat < 0 ? i : (i - this._repeat * this._rDelay) / (this._repeat + 1))) : this._tDur;
644
+ }, t.totalTime = function(i, r) {
645
+ if (bt(), !arguments.length)
646
+ return this._tTime;
647
+ var n = this._dp;
648
+ if (n && n.smoothChildTiming && this._ts) {
649
+ for (Xt(this, i), !n._dp || n.parent || Xe(n, this); n && n.parent; )
650
+ n.parent._time !== n._start + (n._ts >= 0 ? n._tTime / n._ts : (n.totalDuration() - n._tTime) / -n._ts) && n.totalTime(n._tTime, !0), n = n.parent;
651
+ !this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && i < this._tDur || this._ts < 0 && i > 0 || !this._tDur && !i) && H(this._dp, this, this._start - this._delay);
652
+ }
653
+ return (this._tTime !== i || !this._dur && !r || this._initted && Math.abs(this._zTime) === R || !i && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = i), We(this, i, r)), this;
654
+ }, t.time = function(i, r) {
655
+ return arguments.length ? this.totalTime(Math.min(this.totalDuration(), i + Pe(this)) % (this._dur + this._rDelay) || (i ? this._dur : 0), r) : this._time;
656
+ }, t.totalProgress = function(i, r) {
657
+ return arguments.length ? this.totalTime(this.totalDuration() * i, r) : this.totalDuration() ? Math.min(1, this._tTime / this._tDur) : this.rawTime() >= 0 && this._initted ? 1 : 0;
658
+ }, t.progress = function(i, r) {
659
+ return arguments.length ? this.totalTime(this.duration() * (this._yoyo && !(this.iteration() & 1) ? 1 - i : i) + Pe(this), r) : this.duration() ? Math.min(1, this._time / this._dur) : this.rawTime() > 0 ? 1 : 0;
660
+ }, t.iteration = function(i, r) {
661
+ var n = this.duration() + this._rDelay;
662
+ return arguments.length ? this.totalTime(this._time + (i - 1) * n, r) : this._repeat ? xt(this._tTime, n) + 1 : 1;
663
+ }, t.timeScale = function(i, r) {
664
+ if (!arguments.length)
665
+ return this._rts === -R ? 0 : this._rts;
666
+ if (this._rts === i)
667
+ return this;
668
+ var n = this.parent && this._ts ? Wt(this.parent._time, this) : this._tTime;
669
+ return this._rts = +i || 0, this._ts = this._ps || i === -R ? 0 : this._rts, this.totalTime(Ft(-Math.abs(this._delay), this.totalDuration(), n), r !== !1), Kt(this), Or(this);
670
+ }, t.paused = function(i) {
671
+ return arguments.length ? (this._ps !== i && (this._ps = i, i ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (bt(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== R && (this._tTime -= R)))), this) : this._ps;
672
+ }, t.startTime = function(i) {
673
+ if (arguments.length) {
674
+ this._start = i;
675
+ var r = this.parent || this._dp;
676
+ return r && (r._sort || !this.parent) && H(r, this, i - this._delay), this;
677
+ }
678
+ return this._start;
679
+ }, t.endTime = function(i) {
680
+ return this._start + (U(i) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1);
681
+ }, t.rawTime = function(i) {
682
+ var r = this.parent || this._dp;
683
+ return r ? i && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? Wt(r.rawTime(i), this) : this._tTime : this._tTime;
684
+ }, t.revert = function(i) {
685
+ i === void 0 && (i = Cr);
686
+ var r = z;
687
+ return z = i, Te(this) && (this.timeline && this.timeline.revert(i), this.totalTime(-0.01, i.suppressEvents)), this.data !== "nested" && i.kill !== !1 && this.kill(), z = r, this;
688
+ }, t.globalTime = function(i) {
689
+ for (var r = this, n = arguments.length ? i : r.rawTime(); r; )
690
+ n = r._start + n / (Math.abs(r._ts) || 1), r = r._dp;
691
+ return !this.parent && this._sat ? this._sat.globalTime(i) : n;
692
+ }, t.repeat = function(i) {
693
+ return arguments.length ? (this._repeat = i === 1 / 0 ? -2 : i, Re(this)) : this._repeat === -2 ? 1 / 0 : this._repeat;
694
+ }, t.repeatDelay = function(i) {
695
+ if (arguments.length) {
696
+ var r = this._time;
697
+ return this._rDelay = i, Re(this), r ? this.time(r) : this;
698
+ }
699
+ return this._rDelay;
700
+ }, t.yoyo = function(i) {
701
+ return arguments.length ? (this._yoyo = i, this) : this._yoyo;
702
+ }, t.seek = function(i, r) {
703
+ return this.totalTime(W(this, i), U(r));
704
+ }, t.restart = function(i, r) {
705
+ return this.play().totalTime(i ? -this._delay : 0, U(r)), this._dur || (this._zTime = -R), this;
706
+ }, t.play = function(i, r) {
707
+ return i != null && this.seek(i, r), this.reversed(!1).paused(!1);
708
+ }, t.reverse = function(i, r) {
709
+ return i != null && this.seek(i || this.totalDuration(), r), this.reversed(!0).paused(!1);
710
+ }, t.pause = function(i, r) {
711
+ return i != null && this.seek(i, r), this.paused(!0);
712
+ }, t.resume = function() {
713
+ return this.paused(!1);
714
+ }, t.reversed = function(i) {
715
+ return arguments.length ? (!!i !== this.reversed() && this.timeScale(-this._rts || (i ? -R : 0)), this) : this._rts < 0;
716
+ }, t.invalidate = function() {
717
+ return this._initted = this._act = 0, this._zTime = -R, this;
718
+ }, t.isActive = function() {
719
+ var i = this.parent || this._dp, r = this._start, n;
720
+ return !!(!i || this._ts && this._initted && i.isActive() && (n = i.rawTime(!0)) >= r && n < this.endTime(!0) - R);
721
+ }, t.eventCallback = function(i, r, n) {
722
+ var s = this.vars;
723
+ return arguments.length > 1 ? (r ? (s[i] = r, n && (s[i + "Params"] = n), i === "onUpdate" && (this._onUpdate = r)) : delete s[i], this) : s[i];
724
+ }, t.then = function(i) {
725
+ var r = this;
726
+ return new Promise(function(n) {
727
+ var s = A(i) ? i : Ye, a = function() {
728
+ var _ = r.then;
729
+ r.then = null, A(s) && (s = s(r)) && (s.then || s === r) && (r.then = _), n(s), r.then = _;
730
+ };
731
+ r._initted && r.totalProgress() === 1 && r._ts >= 0 || !r._tTime && r._ts < 0 ? a() : r._prom = a;
732
+ });
733
+ }, t.kill = function() {
734
+ Dt(this);
735
+ }, o;
736
+ }();
737
+ V(zt.prototype, {
738
+ _time: 0,
739
+ _start: 0,
740
+ _end: 0,
741
+ _tTime: 0,
742
+ _tDur: 0,
743
+ _dirty: 0,
744
+ _repeat: 0,
745
+ _yoyo: !1,
746
+ parent: null,
747
+ _initted: !1,
748
+ _rDelay: 0,
749
+ _ts: 1,
750
+ _dp: 0,
751
+ ratio: 0,
752
+ _zTime: -R,
753
+ _prom: 0,
754
+ _ps: !1,
755
+ _rts: 1
756
+ });
757
+ var I = /* @__PURE__ */ function(o) {
758
+ Oe(t, o);
759
+ function t(i, r) {
760
+ var n;
761
+ return i === void 0 && (i = {}), n = o.call(this, i) || this, n.labels = {}, n.smoothChildTiming = !!i.smoothChildTiming, n.autoRemoveChildren = !!i.autoRemoveChildren, n._sort = U(i.sortChildren), M && H(i.parent || M, it(n), r), i.reversed && n.reverse(), i.paused && n.paused(!0), i.scrollTrigger && Ze(it(n), i.scrollTrigger), n;
762
+ }
763
+ var e = t.prototype;
764
+ return e.to = function(r, n, s) {
765
+ return St(0, arguments, this), this;
766
+ }, e.from = function(r, n, s) {
767
+ return St(1, arguments, this), this;
768
+ }, e.fromTo = function(r, n, s, a) {
769
+ return St(2, arguments, this), this;
770
+ }, e.set = function(r, n, s) {
771
+ return n.duration = 0, n.parent = this, Rt(n).repeatDelay || (n.repeat = 0), n.immediateRender = !!n.immediateRender, new O(r, n, W(this, s), 1), this;
772
+ }, e.call = function(r, n, s) {
773
+ return H(this, O.delayedCall(0, r, n), s);
774
+ }, e.staggerTo = function(r, n, s, a, u, _, h) {
775
+ return s.duration = n, s.stagger = s.stagger || a, s.onComplete = _, s.onCompleteParams = h, s.parent = this, new O(r, s, W(this, u)), this;
776
+ }, e.staggerFrom = function(r, n, s, a, u, _, h) {
777
+ return s.runBackwards = 1, Rt(s).immediateRender = U(s.immediateRender), this.staggerTo(r, n, s, a, u, _, h);
778
+ }, e.staggerFromTo = function(r, n, s, a, u, _, h, f) {
779
+ return a.startAt = s, Rt(a).immediateRender = U(a.immediateRender), this.staggerTo(r, n, a, u, _, h, f);
780
+ }, e.render = function(r, n, s) {
781
+ var a = this._time, u = this._dirty ? this.totalDuration() : this._tDur, _ = this._dur, h = r <= 0 ? 0 : E(r), f = this._zTime < 0 != r < 0 && (this._initted || !_), l, c, g, d, p, m, T, v, k, y, x, D;
782
+ if (this !== M && h > u && r >= 0 && (h = u), h !== this._tTime || s || f) {
783
+ if (a !== this._time && _ && (h += this._time - a, r += this._time - a), l = h, k = this._start, v = this._ts, m = !v, f && (_ || (a = this._zTime), (r || !n) && (this._zTime = r)), this._repeat) {
784
+ if (x = this._yoyo, p = _ + this._rDelay, this._repeat < -1 && r < 0)
785
+ return this.totalTime(p * 100 + r, n, s);
786
+ if (l = E(h % p), h === u ? (d = this._repeat, l = _) : (y = E(h / p), d = ~~y, d && d === y && (l = _, d--), l > _ && (l = _)), y = xt(this._tTime, p), !a && this._tTime && y !== d && this._tTime - y * p - this._dur <= 0 && (y = d), x && d & 1 && (l = _ - l, D = 1), d !== y && !this._lock) {
787
+ var C = x && y & 1, b = C === (x && d & 1);
788
+ if (d < y && (C = !C), a = C ? 0 : h % _ ? _ : h, this._lock = 1, this.render(a || (D ? 0 : E(d * p)), n, !_)._lock = 0, this._tTime = h, !n && this.parent && q(this, "onRepeat"), this.vars.repeatRefresh && !D && (this.invalidate()._lock = 1), a && a !== this._time || m !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
789
+ return this;
790
+ if (_ = this._dur, u = this._tDur, b && (this._lock = 2, a = C ? _ : -1e-4, this.render(a, !0), this.vars.repeatRefresh && !D && this.invalidate()), this._lock = 0, !this._ts && !m)
791
+ return this;
792
+ _r(this, D);
793
+ }
794
+ }
795
+ if (this._hasPause && !this._forcing && this._lock < 2 && (T = Lr(this, E(a), E(l)), T && (h -= l - (l = T._start))), this._tTime = h, this._time = l, this._act = !v, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = r, a = 0), !a && h && !n && !y && (q(this, "onStart"), this._tTime !== h))
796
+ return this;
797
+ if (l >= a && r >= 0)
798
+ for (c = this._first; c; ) {
799
+ if (g = c._next, (c._act || l >= c._start) && c._ts && T !== c) {
800
+ if (c.parent !== this)
801
+ return this.render(r, n, s);
802
+ if (c.render(c._ts > 0 ? (l - c._start) * c._ts : (c._dirty ? c.totalDuration() : c._tDur) + (l - c._start) * c._ts, n, s), l !== this._time || !this._ts && !m) {
803
+ T = 0, g && (h += this._zTime = -R);
804
+ break;
805
+ }
806
+ }
807
+ c = g;
808
+ }
809
+ else {
810
+ c = this._last;
811
+ for (var G = r < 0 ? r : l; c; ) {
812
+ if (g = c._prev, (c._act || G <= c._end) && c._ts && T !== c) {
813
+ if (c.parent !== this)
814
+ return this.render(r, n, s);
815
+ if (c.render(c._ts > 0 ? (G - c._start) * c._ts : (c._dirty ? c.totalDuration() : c._tDur) + (G - c._start) * c._ts, n, s || z && Te(c)), l !== this._time || !this._ts && !m) {
816
+ T = 0, g && (h += this._zTime = G ? -R : R);
817
+ break;
818
+ }
819
+ }
820
+ c = g;
821
+ }
822
+ }
823
+ if (T && !n && (this.pause(), T.render(l >= a ? 0 : -R)._zTime = l >= a ? 1 : -1, this._ts))
824
+ return this._start = k, Kt(this), this.render(r, n, s);
825
+ this._onUpdate && !n && q(this, "onUpdate", !0), (h === u && this._tTime >= this.totalDuration() || !h && a) && (k === this._start || Math.abs(v) !== Math.abs(this._ts)) && (this._lock || ((r || !_) && (h === u && this._ts > 0 || !h && this._ts < 0) && ut(this, 1), !n && !(r < 0 && !a) && (h || a || !u) && (q(this, h === u && r >= 0 ? "onComplete" : "onReverseComplete", !0), this._prom && !(h < u && this.timeScale() > 0) && this._prom())));
826
+ }
827
+ return this;
828
+ }, e.add = function(r, n) {
829
+ var s = this;
830
+ if (nt(n) || (n = W(this, n, r)), !(r instanceof zt)) {
831
+ if (F(r))
832
+ return r.forEach(function(a) {
833
+ return s.add(a, n);
834
+ }), this;
835
+ if (L(r))
836
+ return this.addLabel(r, n);
837
+ if (A(r))
838
+ r = O.delayedCall(0, r);
839
+ else
840
+ return this;
841
+ }
842
+ return this !== r ? H(this, r, n) : this;
843
+ }, e.getChildren = function(r, n, s, a) {
844
+ r === void 0 && (r = !0), n === void 0 && (n = !0), s === void 0 && (s = !0), a === void 0 && (a = -Y);
845
+ for (var u = [], _ = this._first; _; )
846
+ _._start >= a && (_ instanceof O ? n && u.push(_) : (s && u.push(_), r && u.push.apply(u, _.getChildren(!0, n, s)))), _ = _._next;
847
+ return u;
848
+ }, e.getById = function(r) {
849
+ for (var n = this.getChildren(1, 1, 1), s = n.length; s--; )
850
+ if (n[s].vars.id === r)
851
+ return n[s];
852
+ }, e.remove = function(r) {
853
+ return L(r) ? this.removeLabel(r) : A(r) ? this.killTweensOf(r) : (r.parent === this && Yt(this, r), r === this._recent && (this._recent = this._last), ft(this));
854
+ }, e.totalTime = function(r, n) {
855
+ return arguments.length ? (this._forcing = 1, !this._dp && this._ts && (this._start = E(Z.time - (this._ts > 0 ? r / this._ts : (this.totalDuration() - r) / -this._ts))), o.prototype.totalTime.call(this, r, n), this._forcing = 0, this) : this._tTime;
856
+ }, e.addLabel = function(r, n) {
857
+ return this.labels[r] = W(this, n), this;
858
+ }, e.removeLabel = function(r) {
859
+ return delete this.labels[r], this;
860
+ }, e.addPause = function(r, n, s) {
861
+ var a = O.delayedCall(0, n || Ot, s);
862
+ return a.data = "isPause", this._hasPause = 1, H(this, a, W(this, r));
863
+ }, e.removePause = function(r) {
864
+ var n = this._first;
865
+ for (r = W(this, r); n; )
866
+ n._start === r && n.data === "isPause" && ut(n), n = n._next;
867
+ }, e.killTweensOf = function(r, n, s) {
868
+ for (var a = this.getTweensOf(r, s), u = a.length; u--; )
869
+ at !== a[u] && a[u].kill(r, n);
870
+ return this;
871
+ }, e.getTweensOf = function(r, n) {
872
+ for (var s = [], a = K(r), u = this._first, _ = nt(n), h; u; )
873
+ u instanceof O ? Sr(u._targets, a) && (_ ? (!at || u._initted && u._ts) && u.globalTime(0) <= n && u.globalTime(u.totalDuration()) > n : !n || u.isActive()) && s.push(u) : (h = u.getTweensOf(a, n)).length && s.push.apply(s, h), u = u._next;
874
+ return s;
875
+ }, e.tweenTo = function(r, n) {
876
+ n = n || {};
877
+ var s = this, a = W(s, r), u = n, _ = u.startAt, h = u.onStart, f = u.onStartParams, l = u.immediateRender, c, g = O.to(s, V({
878
+ ease: n.ease || "none",
879
+ lazy: !1,
880
+ immediateRender: !1,
881
+ time: a,
882
+ overwrite: "auto",
883
+ duration: n.duration || Math.abs((a - (_ && "time" in _ ? _.time : s._time)) / s.timeScale()) || R,
884
+ onStart: function() {
885
+ if (s.pause(), !c) {
886
+ var p = n.duration || Math.abs((a - (_ && "time" in _ ? _.time : s._time)) / s.timeScale());
887
+ g._dur !== p && kt(g, p, 0, 1).render(g._time, !0, !0), c = 1;
888
+ }
889
+ h && h.apply(g, f || []);
890
+ }
891
+ }, n));
892
+ return l ? g.render(0) : g;
893
+ }, e.tweenFromTo = function(r, n, s) {
894
+ return this.tweenTo(n, V({
895
+ startAt: {
896
+ time: W(this, r)
897
+ }
898
+ }, s));
899
+ }, e.recent = function() {
900
+ return this._recent;
901
+ }, e.nextLabel = function(r) {
902
+ return r === void 0 && (r = this._time), Se(this, W(this, r));
903
+ }, e.previousLabel = function(r) {
904
+ return r === void 0 && (r = this._time), Se(this, W(this, r), 1);
905
+ }, e.currentLabel = function(r) {
906
+ return arguments.length ? this.seek(r, !0) : this.previousLabel(this._time + R);
907
+ }, e.shiftChildren = function(r, n, s) {
908
+ s === void 0 && (s = 0);
909
+ for (var a = this._first, u = this.labels, _; a; )
910
+ a._start >= s && (a._start += r, a._end += r), a = a._next;
911
+ if (n)
912
+ for (_ in u)
913
+ u[_] >= s && (u[_] += r);
914
+ return ft(this);
915
+ }, e.invalidate = function(r) {
916
+ var n = this._first;
917
+ for (this._lock = 0; n; )
918
+ n.invalidate(r), n = n._next;
919
+ return o.prototype.invalidate.call(this, r);
920
+ }, e.clear = function(r) {
921
+ r === void 0 && (r = !0);
922
+ for (var n = this._first, s; n; )
923
+ s = n._next, this.remove(n), n = s;
924
+ return this._dp && (this._time = this._tTime = this._pTime = 0), r && (this.labels = {}), ft(this);
925
+ }, e.totalDuration = function(r) {
926
+ var n = 0, s = this, a = s._last, u = Y, _, h, f;
927
+ if (arguments.length)
928
+ return s.timeScale((s._repeat < 0 ? s.duration() : s.totalDuration()) / (s.reversed() ? -r : r));
929
+ if (s._dirty) {
930
+ for (f = s.parent; a; )
931
+ _ = a._prev, a._dirty && a.totalDuration(), h = a._start, h > u && s._sort && a._ts && !s._lock ? (s._lock = 1, H(s, a, h - a._delay, 1)._lock = 0) : u = h, h < 0 && a._ts && (n -= h, (!f && !s._dp || f && f.smoothChildTiming) && (s._start += h / s._ts, s._time -= h, s._tTime -= h), s.shiftChildren(-h, !1, -1 / 0), u = 0), a._end > n && a._ts && (n = a._end), a = _;
932
+ kt(s, s === M && s._time > n ? s._time : n, 1, 1), s._dirty = 0;
933
+ }
934
+ return s._tDur;
935
+ }, t.updateRoot = function(r) {
936
+ if (M._ts && (We(M, Wt(r, M)), Ve = Z.frame), Z.frame >= De) {
937
+ De += yt.autoSleep || 120;
938
+ var n = M._first;
939
+ if ((!n || !n._ts) && yt.autoSleep && Z._listeners.length < 2) {
940
+ for (; n && !n._ts; )
941
+ n = n._next;
942
+ n || Z.sleep();
943
+ }
944
+ }
945
+ }, t;
946
+ }(zt);
947
+ V(I.prototype, {
948
+ _lock: 0,
949
+ _hasPause: 0,
950
+ _forcing: 0
951
+ });
952
+ var ti = function(t, e, i, r, n, s, a) {
953
+ var u = new wt(this._pt, t, e, 0, 1, _i, null, n), _ = 0, h = 0, f, l, c, g, d, p, m, T;
954
+ for (u.b = i, u.e = r, i += "", r += "", (m = ~r.indexOf("random(")) && (r = ve(r)), s && (T = [i, r], s(T, t, e), i = T[0], r = T[1]), l = i.match(Zt) || []; f = Zt.exec(r); )
955
+ g = f[0], d = r.substring(_, f.index), c ? c = (c + 1) % 5 : d.substr(-5) === "rgba(" && (c = 1), g !== l[h++] && (p = parseFloat(l[h - 1]) || 0, u._pt = {
956
+ _next: u._pt,
957
+ p: d || h === 1 ? d : ",",
958
+ //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.
959
+ s: p,
960
+ c: g.charAt(1) === "=" ? Ge(p, g) - p : parseFloat(g) - p,
961
+ m: c && c < 4 ? Math.round : 0
962
+ }, _ = Zt.lastIndex);
963
+ return u.c = _ < r.length ? r.substring(_, r.length) : "", u.fp = a, (br.test(r) || m) && (u.e = 0), this._pt = u, u;
964
+ }, xe = function(t, e, i, r, n, s, a, u, _, h) {
965
+ A(r) && (r = r(n || 0, t, s));
966
+ var f = t[e], l = i !== "get" ? i : A(f) ? _ ? t[e.indexOf("set") || !A(t["get" + e.substr(3)]) ? e : "get" + e.substr(3)](_) : t[e]() : f, c = A(f) ? _ ? ai : cr : be, g;
967
+ if (L(r) && (~r.indexOf("random(") && (r = ve(r)), r.charAt(1) === "=" && (g = Ge(l, r) + (_t(l) || 0), (g || g === 0) && (r = g))), !h || l !== r || fe)
968
+ return !isNaN(l * r) && r !== "" ? (g = new wt(this._pt, t, e, +l || 0, r - (l || 0), typeof f == "boolean" ? ui : pr, 0, c), _ && (g.fp = _), a && g.modifier(a, this, t), this._pt = g) : (!f && !(e in t) && qe(e, r), ti.call(this, t, e, l, r, c, u || yt.stringFilter, _));
969
+ }, ei = function(t, e, i, r, n) {
970
+ if (A(t) && (t = Mt(t, n, e, i, r)), !j(t) || t.style && t.nodeType || F(t) || Fe(t))
971
+ return L(t) ? Mt(t, n, e, i, r) : t;
972
+ var s = {}, a;
973
+ for (a in t)
974
+ s[a] = Mt(t[a], n, e, i, r);
975
+ return s;
976
+ }, ri = function(t, e, i, r, n, s) {
977
+ var a, u, _, h;
978
+ if (Q[t] && (a = new Q[t]()).init(n, a.rawVars ? e[t] : ei(e[t], r, n, s, i), i, r, s) !== !1 && (i._pt = u = new wt(i._pt, n, t, 0, 1, a.render, a, 0, a.priority), i !== gt))
979
+ for (_ = i._ptLookup[i._targets.indexOf(n)], h = a._props.length; h--; )
980
+ _[a._props[h]] = u;
981
+ return a;
982
+ }, at, fe, ke = function o(t, e, i) {
983
+ var r = t.vars, n = r.ease, s = r.startAt, a = r.immediateRender, u = r.lazy, _ = r.onUpdate, h = r.runBackwards, f = r.yoyoEase, l = r.keyframes, c = r.autoRevert, g = t._dur, d = t._startAt, p = t._targets, m = t.parent, T = m && m.data === "nested" ? m.vars.targets : p, v = t._overwrite === "auto" && !ce, k = t.timeline, y, x, D, C, b, G, J, X, N, tt, et, rt, Lt;
984
+ if (k && (!l || !n) && (n = "none"), t._ease = lt(n, Tt.ease), t._yEase = f ? ur(lt(f === !0 ? n : f, Tt.ease)) : 0, f && t._yoyo && !t._repeat && (f = t._yEase, t._yEase = t._ease, t._ease = f), t._from = !k && !!r.runBackwards, !k || l && !r.stagger) {
985
+ if (X = p[0] ? Pt(p[0]).harness : 0, rt = X && r[X.prop], y = Gt(r, ge), d && (d._zTime < 0 && d.progress(1), e < 0 && h && a && !c ? d.render(-1, !0) : d.revert(h && g ? Nt : Dr), d._lazy = 0), s) {
986
+ if (ut(t._startAt = O.set(p, V({
987
+ data: "isStart",
988
+ overwrite: !1,
989
+ parent: m,
990
+ immediateRender: !0,
991
+ lazy: !d && U(u),
992
+ startAt: null,
993
+ delay: 0,
994
+ onUpdate: _ && function() {
995
+ return q(t, "onUpdate");
996
+ },
997
+ stagger: 0
998
+ }, s))), t._startAt._dp = 0, t._startAt._sat = t, e < 0 && (z || !a && !c) && t._startAt.revert(Nt), a && g && e <= 0 && i <= 0) {
999
+ e && (t._zTime = e);
1000
+ return;
1001
+ }
1002
+ } else if (h && g && !d) {
1003
+ if (e && (a = !1), D = V({
1004
+ overwrite: !1,
1005
+ data: "isFromStart",
1006
+ //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.
1007
+ lazy: a && !d && U(u),
1008
+ immediateRender: a,
1009
+ //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)
1010
+ stagger: 0,
1011
+ parent: m
1012
+ //ensures that nested tweens that had a stagger are handled properly, like gsap.from(".class", {y: gsap.utils.wrap([-100,100]), stagger: 0.5})
1013
+ }, y), rt && (D[X.prop] = rt), ut(t._startAt = O.set(p, D)), t._startAt._dp = 0, t._startAt._sat = t, e < 0 && (z ? t._startAt.revert(Nt) : t._startAt.render(-1, !0)), t._zTime = e, !a)
1014
+ o(t._startAt, R, R);
1015
+ else if (!e)
1016
+ return;
1017
+ }
1018
+ for (t._pt = t._ptCache = 0, u = g && U(u) || u && !g, x = 0; x < p.length; x++) {
1019
+ if (b = p[x], J = b._gsap || ye(p)[x]._gsap, t._ptLookup[x] = tt = {}, se[J.id] && ot.length && Vt(), et = T === p ? x : T.indexOf(b), X && (N = new X()).init(b, rt || y, t, et, T) !== !1 && (t._pt = C = new wt(t._pt, b, N.name, 0, 1, N.render, N, 0, N.priority), N._props.forEach(function(mr) {
1020
+ tt[mr] = C;
1021
+ }), N.priority && (G = 1)), !X || rt)
1022
+ for (D in y)
1023
+ Q[D] && (N = ri(D, y, t, et, b, T)) ? N.priority && (G = 1) : tt[D] = C = xe.call(t, b, D, "get", y[D], et, T, 0, r.stringFilter);
1024
+ t._op && t._op[x] && t.kill(b, t._op[x]), v && t._pt && (at = t, M.killTweensOf(b, tt, t.globalTime(e)), Lt = !t.parent, at = 0), t._pt && u && (se[J.id] = 1);
1025
+ }
1026
+ G && ci(t), t._onInit && t._onInit(t);
1027
+ }
1028
+ t._onUpdate = _, t._initted = (!t._op || t._pt) && !Lt, l && e <= 0 && k.render(Y, !0, !0);
1029
+ }, ii = function(t, e, i, r, n, s, a, u) {
1030
+ var _ = (t._pt && t._ptCache || (t._ptCache = {}))[e], h, f, l, c;
1031
+ if (!_)
1032
+ for (_ = t._ptCache[e] = [], l = t._ptLookup, c = t._targets.length; c--; ) {
1033
+ if (h = l[c][e], h && h.d && h.d._pt)
1034
+ for (h = h.d._pt; h && h.p !== e && h.fp !== e; )
1035
+ h = h._next;
1036
+ if (!h)
1037
+ return fe = 1, t.vars[e] = "+=0", ke(t, a), fe = 0, u ? At(e + " not eligible for reset") : 1;
1038
+ _.push(h);
1039
+ }
1040
+ for (c = _.length; c--; )
1041
+ f = _[c], h = f._pt || f, h.s = (r || r === 0) && !n ? r : h.s + (r || 0) + s * h.c, h.c = i - h.s, f.e && (f.e = Rr(i) + _t(f.e)), f.b && (f.b = h.s + _t(f.b));
1042
+ }, ni = function(t, e) {
1043
+ var i = t[0] ? Pt(t[0]).harness : 0, r = i && i.aliases, n, s, a, u;
1044
+ if (!r)
1045
+ return e;
1046
+ n = vt({}, e);
1047
+ for (s in r)
1048
+ if (s in n)
1049
+ for (u = r[s].split(","), a = u.length; a--; )
1050
+ n[u[a]] = n[s];
1051
+ return n;
1052
+ }, si = function(t, e, i, r) {
1053
+ var n = e.ease || r || "power1.inOut", s, a;
1054
+ if (F(e))
1055
+ a = i[t] || (i[t] = []), e.forEach(function(u, _) {
1056
+ return a.push({
1057
+ t: _ / (e.length - 1) * 100,
1058
+ v: u,
1059
+ e: n
1060
+ });
1061
+ });
1062
+ else
1063
+ for (s in e)
1064
+ a = i[s] || (i[s] = []), s === "ease" || a.push({
1065
+ t: parseFloat(t),
1066
+ v: e[s],
1067
+ e: n
1068
+ });
1069
+ }, Mt = function(t, e, i, r, n) {
1070
+ return A(t) ? t.call(e, i, r, n) : L(t) && ~t.indexOf("random(") ? ve(t) : t;
1071
+ }, fr = me + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", lr = {};
1072
+ st(fr + ",id,stagger,delay,duration,paused,scrollTrigger", function(o) {
1073
+ return lr[o] = 1;
1074
+ });
1075
+ var O = /* @__PURE__ */ function(o) {
1076
+ Oe(t, o);
1077
+ function t(i, r, n, s) {
1078
+ var a;
1079
+ typeof r == "number" && (n.duration = r, r = n, n = null), a = o.call(this, s ? r : Rt(r)) || this;
1080
+ var u = a.vars, _ = u.duration, h = u.delay, f = u.immediateRender, l = u.stagger, c = u.overwrite, g = u.keyframes, d = u.defaults, p = u.scrollTrigger, m = u.yoyoEase, T = r.parent || M, v = (F(i) || Fe(i) ? nt(i[0]) : "length" in r) ? [i] : K(i), k, y, x, D, C, b, G, J;
1081
+ if (a._targets = v.length ? ye(v) : At("GSAP target " + i + " not found. https://gsap.com", !yt.nullTargetWarn) || [], a._ptLookup = [], a._overwrite = c, g || l || It(_) || It(h)) {
1082
+ if (r = a.vars, k = a.timeline = new I({
1083
+ data: "nested",
1084
+ defaults: d || {},
1085
+ targets: T && T.data === "nested" ? T.vars.targets : v
1086
+ }), k.kill(), k.parent = k._dp = it(a), k._start = 0, l || It(_) || It(h)) {
1087
+ if (D = v.length, G = l && Je(l), j(l))
1088
+ for (C in l)
1089
+ ~fr.indexOf(C) && (J || (J = {}), J[C] = l[C]);
1090
+ for (y = 0; y < D; y++)
1091
+ x = Gt(r, lr), x.stagger = 0, m && (x.yoyoEase = m), J && vt(x, J), b = v[y], x.duration = +Mt(_, it(a), y, b, v), x.delay = (+Mt(h, it(a), y, b, v) || 0) - a._delay, !l && D === 1 && x.delay && (a._delay = h = x.delay, a._start += h, x.delay = 0), k.to(b, x, G ? G(y, b, v) : 0), k._ease = w.none;
1092
+ k.duration() ? _ = h = 0 : a.timeline = 0;
1093
+ } else if (g) {
1094
+ Rt(V(k.vars.defaults, {
1095
+ ease: "none"
1096
+ })), k._ease = lt(g.ease || r.ease || "none");
1097
+ var X = 0, N, tt, et;
1098
+ if (F(g))
1099
+ g.forEach(function(rt) {
1100
+ return k.to(v, rt, ">");
1101
+ }), k.duration();
1102
+ else {
1103
+ x = {};
1104
+ for (C in g)
1105
+ C === "ease" || C === "easeEach" || si(C, g[C], x, g.easeEach);
1106
+ for (C in x)
1107
+ for (N = x[C].sort(function(rt, Lt) {
1108
+ return rt.t - Lt.t;
1109
+ }), X = 0, y = 0; y < N.length; y++)
1110
+ tt = N[y], et = {
1111
+ ease: tt.e,
1112
+ duration: (tt.t - (y ? N[y - 1].t : 0)) / 100 * _
1113
+ }, et[C] = tt.v, k.to(v, et, X), X += et.duration;
1114
+ k.duration() < _ && k.to({}, {
1115
+ duration: _ - k.duration()
1116
+ });
1117
+ }
1118
+ }
1119
+ _ || a.duration(_ = k.duration());
1120
+ } else
1121
+ a.timeline = 0;
1122
+ return c === !0 && !ce && (at = it(a), M.killTweensOf(v), at = 0), H(T, it(a), n), r.reversed && a.reverse(), r.paused && a.paused(!0), (f || !_ && !g && a._start === E(T._time) && U(f) && Er(it(a)) && T.data !== "nested") && (a._tTime = -R, a.render(Math.max(0, -h) || 0)), p && Ze(it(a), p), a;
1123
+ }
1124
+ var e = t.prototype;
1125
+ return e.render = function(r, n, s) {
1126
+ var a = this._time, u = this._tDur, _ = this._dur, h = r < 0, f = r > u - R && !h ? u : r < R ? 0 : r, l, c, g, d, p, m, T, v, k;
1127
+ if (!_)
1128
+ Fr(this, r, n, s);
1129
+ else if (f !== this._tTime || !r || s || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== h || this._lazy) {
1130
+ if (l = f, v = this.timeline, this._repeat) {
1131
+ if (d = _ + this._rDelay, this._repeat < -1 && h)
1132
+ return this.totalTime(d * 100 + r, n, s);
1133
+ if (l = E(f % d), f === u ? (g = this._repeat, l = _) : (p = E(f / d), g = ~~p, g && g === p ? (l = _, g--) : l > _ && (l = _)), m = this._yoyo && g & 1, m && (k = this._yEase, l = _ - l), p = xt(this._tTime, d), l === a && !s && this._initted && g === p)
1134
+ return this._tTime = f, this;
1135
+ g !== p && (v && this._yEase && _r(v, m), this.vars.repeatRefresh && !m && !this._lock && l !== d && this._initted && (this._lock = s = 1, this.render(E(d * g), !0).invalidate()._lock = 0));
1136
+ }
1137
+ if (!this._initted) {
1138
+ if ($e(this, h ? r : l, s, n, f))
1139
+ return this._tTime = 0, this;
1140
+ if (a !== this._time && !(s && this.vars.repeatRefresh && g !== p))
1141
+ return this;
1142
+ if (_ !== this._dur)
1143
+ return this.render(r, n, s);
1144
+ }
1145
+ if (this._tTime = f, this._time = l, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = T = (k || this._ease)(l / _), this._from && (this.ratio = T = 1 - T), !a && f && !n && !p && (q(this, "onStart"), this._tTime !== f))
1146
+ return this;
1147
+ for (c = this._pt; c; )
1148
+ c.r(T, c.d), c = c._next;
1149
+ v && v.render(r < 0 ? r : v._dur * v._ease(l / this._dur), n, s) || this._startAt && (this._zTime = r), this._onUpdate && !n && (h && ae(this, r, n, s), q(this, "onUpdate")), this._repeat && g !== p && this.vars.onRepeat && !n && this.parent && q(this, "onRepeat"), (f === this._tDur || !f) && this._tTime === f && (h && !this._onUpdate && ae(this, r, !0, !0), (r || !_) && (f === this._tDur && this._ts > 0 || !f && this._ts < 0) && ut(this, 1), !n && !(h && !a) && (f || a || m) && (q(this, f === u ? "onComplete" : "onReverseComplete", !0), this._prom && !(f < u && this.timeScale() > 0) && this._prom()));
1150
+ }
1151
+ return this;
1152
+ }, e.targets = function() {
1153
+ return this._targets;
1154
+ }, e.invalidate = function(r) {
1155
+ return (!r || !this.vars.runBackwards) && (this._startAt = 0), this._pt = this._op = this._onUpdate = this._lazy = this.ratio = 0, this._ptLookup = [], this.timeline && this.timeline.invalidate(r), o.prototype.invalidate.call(this, r);
1156
+ }, e.resetTo = function(r, n, s, a, u) {
1157
+ Et || Z.wake(), this._ts || this.play();
1158
+ var _ = Math.min(this._dur, (this._dp._time - this._start) * this._ts), h;
1159
+ return this._initted || ke(this, _), h = this._ease(_ / this._dur), ii(this, r, n, s, a, h, _, u) ? this.resetTo(r, n, s, a, 1) : (Xt(this, 0), this.parent || Ke(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
1160
+ }, e.kill = function(r, n) {
1161
+ if (n === void 0 && (n = "all"), !r && (!n || n === "all"))
1162
+ return this._lazy = this._pt = 0, this.parent ? Dt(this) : this.scrollTrigger && this.scrollTrigger.kill(!!z), this;
1163
+ if (this.timeline) {
1164
+ var s = this.timeline.totalDuration();
1165
+ return this.timeline.killTweensOf(r, n, at && at.vars.overwrite !== !0)._first || Dt(this), this.parent && s !== this.timeline.totalDuration() && kt(this, this._dur * this.timeline._tDur / s, 0, 1), this;
1166
+ }
1167
+ var a = this._targets, u = r ? K(r) : a, _ = this._ptLookup, h = this._pt, f, l, c, g, d, p, m;
1168
+ if ((!n || n === "all") && Ar(a, u))
1169
+ return n === "all" && (this._pt = 0), Dt(this);
1170
+ for (f = this._op = this._op || [], n !== "all" && (L(n) && (d = {}, st(n, function(T) {
1171
+ return d[T] = 1;
1172
+ }), n = d), n = ni(a, n)), m = a.length; m--; )
1173
+ if (~u.indexOf(a[m])) {
1174
+ l = _[m], n === "all" ? (f[m] = n, g = l, c = {}) : (c = f[m] = f[m] || {}, g = n);
1175
+ for (d in g)
1176
+ p = l && l[d], p && ((!("kill" in p.d) || p.d.kill(d) === !0) && Yt(this, p, "_pt"), delete l[d]), c !== "all" && (c[d] = 1);
1177
+ }
1178
+ return this._initted && !this._pt && h && Dt(this), this;
1179
+ }, t.to = function(r, n) {
1180
+ return new t(r, n, arguments[2]);
1181
+ }, t.from = function(r, n) {
1182
+ return St(1, arguments);
1183
+ }, t.delayedCall = function(r, n, s, a) {
1184
+ return new t(n, 0, {
1185
+ immediateRender: !1,
1186
+ lazy: !1,
1187
+ overwrite: !1,
1188
+ delay: r,
1189
+ onComplete: n,
1190
+ onReverseComplete: n,
1191
+ onCompleteParams: s,
1192
+ onReverseCompleteParams: s,
1193
+ callbackScope: a
1194
+ });
1195
+ }, t.fromTo = function(r, n, s) {
1196
+ return St(2, arguments);
1197
+ }, t.set = function(r, n) {
1198
+ return n.duration = 0, n.repeatDelay || (n.repeat = 0), new t(r, n);
1199
+ }, t.killTweensOf = function(r, n, s) {
1200
+ return M.killTweensOf(r, n, s);
1201
+ }, t;
1202
+ }(zt);
1203
+ V(O.prototype, {
1204
+ _targets: [],
1205
+ _lazy: 0,
1206
+ _startAt: 0,
1207
+ _op: 0,
1208
+ _onInit: 0
1209
+ });
1210
+ st("staggerTo,staggerFrom,staggerFromTo", function(o) {
1211
+ O[o] = function() {
1212
+ var t = new I(), e = ue.call(arguments, 0);
1213
+ return e.splice(o === "staggerFromTo" ? 5 : 4, 0, 0), t[o].apply(t, e);
1214
+ };
1215
+ });
1216
+ var be = function(t, e, i) {
1217
+ return t[e] = i;
1218
+ }, cr = function(t, e, i) {
1219
+ return t[e](i);
1220
+ }, ai = function(t, e, i, r) {
1221
+ return t[e](r.fp, i);
1222
+ }, oi = function(t, e, i) {
1223
+ return t.setAttribute(e, i);
1224
+ }, dr = function(t, e) {
1225
+ return A(t[e]) ? cr : ze(t[e]) && t.setAttribute ? oi : be;
1226
+ }, pr = function(t, e) {
1227
+ return e.set(e.t, e.p, Math.round((e.s + e.c * t) * 1e6) / 1e6, e);
1228
+ }, ui = function(t, e) {
1229
+ return e.set(e.t, e.p, !!(e.s + e.c * t), e);
1230
+ }, _i = function(t, e) {
1231
+ var i = e._pt, r = "";
1232
+ if (!t && e.b)
1233
+ r = e.b;
1234
+ else if (t === 1 && e.e)
1235
+ r = e.e;
1236
+ else {
1237
+ for (; i; )
1238
+ r = i.p + (i.m ? i.m(i.s + i.c * t) : Math.round((i.s + i.c * t) * 1e4) / 1e4) + r, i = i._next;
1239
+ r += e.c;
1240
+ }
1241
+ e.set(e.t, e.p, r, e);
1242
+ }, we = function(t, e) {
1243
+ for (var i = e._pt; i; )
1244
+ i.r(t, i.d), i = i._next;
1245
+ }, hi = function(t, e, i, r) {
1246
+ for (var n = this._pt, s; n; )
1247
+ s = n._next, n.p === r && n.modifier(t, e, i), n = s;
1248
+ }, fi = function(t) {
1249
+ for (var e = this._pt, i, r; e; )
1250
+ r = e._next, e.p === t && !e.op || e.op === t ? Yt(this, e, "_pt") : e.dep || (i = 1), e = r;
1251
+ return !i;
1252
+ }, li = function(t, e, i, r) {
1253
+ r.mSet(t, e, r.m.call(r.tween, i, r.mt), r);
1254
+ }, ci = function(t) {
1255
+ for (var e = t._pt, i, r, n, s; e; ) {
1256
+ for (i = e._next, r = n; r && r.pr > e.pr; )
1257
+ r = r._next;
1258
+ (e._prev = r ? r._prev : s) ? e._prev._next = e : n = e, (e._next = r) ? r._prev = e : s = e, e = i;
1259
+ }
1260
+ t._pt = n;
1261
+ }, wt = /* @__PURE__ */ function() {
1262
+ function o(e, i, r, n, s, a, u, _, h) {
1263
+ this.t = i, this.s = n, this.c = s, this.p = r, this.r = a || pr, this.d = u || this, this.set = _ || be, this.pr = h || 0, this._next = e, e && (e._prev = this);
1264
+ }
1265
+ var t = o.prototype;
1266
+ return t.modifier = function(i, r, n) {
1267
+ this.mSet = this.mSet || this.set, this.set = li, this.m = i, this.mt = n, this.tween = r;
1268
+ }, o;
1269
+ }();
1270
+ st(me + "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(o) {
1271
+ return ge[o] = 1;
1272
+ });
1273
+ B.TweenMax = B.TweenLite = O;
1274
+ B.TimelineLite = B.TimelineMax = I;
1275
+ M = new I({
1276
+ sortChildren: !1,
1277
+ defaults: Tt,
1278
+ autoRemoveChildren: !0,
1279
+ id: "root",
1280
+ smoothChildTiming: !0
1281
+ });
1282
+ yt.stringFilter = Kr;
1283
+ var ct = [], qt = {}, di = [], Ae = 0, pi = 0, te = function(t) {
1284
+ return (qt[t] || di).map(function(e) {
1285
+ return e();
1286
+ });
1287
+ }, le = function() {
1288
+ var t = Date.now(), e = [];
1289
+ t - Ae > 2 && (te("matchMediaInit"), ct.forEach(function(i) {
1290
+ var r = i.queries, n = i.conditions, s, a, u, _;
1291
+ for (a in r)
1292
+ s = $.matchMedia(r[a]).matches, s && (u = 1), s !== n[a] && (n[a] = s, _ = 1);
1293
+ _ && (i.revert(), u && e.push(i));
1294
+ }), te("matchMediaRevert"), e.forEach(function(i) {
1295
+ return i.onMatch(i, function(r) {
1296
+ return i.add(null, r);
1297
+ });
1298
+ }), Ae = t, te("matchMedia"));
1299
+ }, gr = /* @__PURE__ */ function() {
1300
+ function o(e, i) {
1301
+ this.selector = i && _e(i), this.data = [], this._r = [], this.isReverted = !1, this.id = pi++, e && this.add(e);
1302
+ }
1303
+ var t = o.prototype;
1304
+ return t.add = function(i, r, n) {
1305
+ A(i) && (n = r, r = i, i = A);
1306
+ var s = this, a = function() {
1307
+ var _ = S, h = s.selector, f;
1308
+ return _ && _ !== s && _.data.push(s), n && (s.selector = _e(n)), S = s, f = r.apply(s, arguments), A(f) && s._r.push(f), S = _, s.selector = h, s.isReverted = !1, f;
1309
+ };
1310
+ return s.last = a, i === A ? a(s, function(u) {
1311
+ return s.add(null, u);
1312
+ }) : i ? s[i] = a : a;
1313
+ }, t.ignore = function(i) {
1314
+ var r = S;
1315
+ S = null, i(this), S = r;
1316
+ }, t.getTweens = function() {
1317
+ var i = [];
1318
+ return this.data.forEach(function(r) {
1319
+ return r instanceof o ? i.push.apply(i, r.getTweens()) : r instanceof O && !(r.parent && r.parent.data === "nested") && i.push(r);
1320
+ }), i;
1321
+ }, t.clear = function() {
1322
+ this._r.length = this.data.length = 0;
1323
+ }, t.kill = function(i, r) {
1324
+ var n = this;
1325
+ if (i ? function() {
1326
+ for (var a = n.getTweens(), u = n.data.length, _; u--; )
1327
+ _ = n.data[u], _.data === "isFlip" && (_.revert(), _.getChildren(!0, !0, !1).forEach(function(h) {
1328
+ return a.splice(a.indexOf(h), 1);
1329
+ }));
1330
+ for (a.map(function(h) {
1331
+ return {
1332
+ g: h._dur || h._delay || h._sat && !h._sat.vars.immediateRender ? h.globalTime(0) : -1 / 0,
1333
+ t: h
1334
+ };
1335
+ }).sort(function(h, f) {
1336
+ return f.g - h.g || -1 / 0;
1337
+ }).forEach(function(h) {
1338
+ return h.t.revert(i);
1339
+ }), u = n.data.length; u--; )
1340
+ _ = n.data[u], _ instanceof I ? _.data !== "nested" && (_.scrollTrigger && _.scrollTrigger.revert(), _.kill()) : !(_ instanceof O) && _.revert && _.revert(i);
1341
+ n._r.forEach(function(h) {
1342
+ return h(i, n);
1343
+ }), n.isReverted = !0;
1344
+ }() : this.data.forEach(function(a) {
1345
+ return a.kill && a.kill();
1346
+ }), this.clear(), r)
1347
+ for (var s = ct.length; s--; )
1348
+ ct[s].id === this.id && ct.splice(s, 1);
1349
+ }, t.revert = function(i) {
1350
+ this.kill(i || {});
1351
+ }, o;
1352
+ }(), gi = /* @__PURE__ */ function() {
1353
+ function o(e) {
1354
+ this.contexts = [], this.scope = e, S && S.data.push(this);
1355
+ }
1356
+ var t = o.prototype;
1357
+ return t.add = function(i, r, n) {
1358
+ j(i) || (i = {
1359
+ matches: i
1360
+ });
1361
+ var s = new gr(0, n || this.scope), a = s.conditions = {}, u, _, h;
1362
+ S && !s.selector && (s.selector = S.selector), this.contexts.push(s), r = s.add("onMatch", r), s.queries = i;
1363
+ for (_ in i)
1364
+ _ === "all" ? h = 1 : (u = $.matchMedia(i[_]), u && (ct.indexOf(s) < 0 && ct.push(s), (a[_] = u.matches) && (h = 1), u.addListener ? u.addListener(le) : u.addEventListener("change", le)));
1365
+ return h && r(s, function(f) {
1366
+ return s.add(null, f);
1367
+ }), this;
1368
+ }, t.revert = function(i) {
1369
+ this.kill(i || {});
1370
+ }, t.kill = function(i) {
1371
+ this.contexts.forEach(function(r) {
1372
+ return r.kill(i, !0);
1373
+ });
1374
+ }, o;
1375
+ }(), Qt = {
1376
+ registerPlugin: function() {
1377
+ for (var t = arguments.length, e = new Array(t), i = 0; i < t; i++)
1378
+ e[i] = arguments[i];
1379
+ e.forEach(function(r) {
1380
+ return sr(r);
1381
+ });
1382
+ },
1383
+ timeline: function(t) {
1384
+ return new I(t);
1385
+ },
1386
+ getTweensOf: function(t, e) {
1387
+ return M.getTweensOf(t, e);
1388
+ },
1389
+ getProperty: function(t, e, i, r) {
1390
+ L(t) && (t = K(t)[0]);
1391
+ var n = Pt(t || {}).get, s = i ? Ye : Qe;
1392
+ return i === "native" && (i = ""), t && (e ? s((Q[e] && Q[e].get || n)(t, e, i, r)) : function(a, u, _) {
1393
+ return s((Q[a] && Q[a].get || n)(t, a, u, _));
1394
+ });
1395
+ },
1396
+ quickSetter: function(t, e, i) {
1397
+ if (t = K(t), t.length > 1) {
1398
+ var r = t.map(function(h) {
1399
+ return dt.quickSetter(h, e, i);
1400
+ }), n = r.length;
1401
+ return function(h) {
1402
+ for (var f = n; f--; )
1403
+ r[f](h);
1404
+ };
1405
+ }
1406
+ t = t[0] || {};
1407
+ var s = Q[e], a = Pt(t), u = a.harness && (a.harness.aliases || {})[e] || e, _ = s ? function(h) {
1408
+ var f = new s();
1409
+ gt._pt = 0, f.init(t, i ? h + i : h, gt, 0, [t]), f.render(1, f), gt._pt && we(1, gt);
1410
+ } : a.set(t, u);
1411
+ return s ? _ : function(h) {
1412
+ return _(t, u, i ? h + i : h, a, 1);
1413
+ };
1414
+ },
1415
+ quickTo: function(t, e, i) {
1416
+ var r, n = dt.to(t, V((r = {}, r[e] = "+=0.1", r.paused = !0, r.stagger = 0, r), i || {})), s = function(u, _, h) {
1417
+ return n.resetTo(e, u, _, h);
1418
+ };
1419
+ return s.tween = n, s;
1420
+ },
1421
+ isTweening: function(t) {
1422
+ return M.getTweensOf(t, !0).length > 0;
1423
+ },
1424
+ defaults: function(t) {
1425
+ return t && t.ease && (t.ease = lt(t.ease, Tt.ease)), Ce(Tt, t || {});
1426
+ },
1427
+ config: function(t) {
1428
+ return Ce(yt, t || {});
1429
+ },
1430
+ registerEffect: function(t) {
1431
+ var e = t.name, i = t.effect, r = t.plugins, n = t.defaults, s = t.extendTimeline;
1432
+ (r || "").split(",").forEach(function(a) {
1433
+ return a && !Q[a] && !B[a] && At(e + " effect requires " + a + " plugin.");
1434
+ }), $t[e] = function(a, u, _) {
1435
+ return i(K(a), V(u || {}, n), _);
1436
+ }, s && (I.prototype[e] = function(a, u, _) {
1437
+ return this.add($t[e](a, j(u) ? u : (_ = u) && {}, this), _);
1438
+ });
1439
+ },
1440
+ registerEase: function(t, e) {
1441
+ w[t] = lt(e);
1442
+ },
1443
+ parseEase: function(t, e) {
1444
+ return arguments.length ? lt(t, e) : w;
1445
+ },
1446
+ getById: function(t) {
1447
+ return M.getById(t);
1448
+ },
1449
+ exportRoot: function(t, e) {
1450
+ t === void 0 && (t = {});
1451
+ var i = new I(t), r, n;
1452
+ for (i.smoothChildTiming = U(t.smoothChildTiming), M.remove(i), i._dp = 0, i._time = i._tTime = M._time, r = M._first; r; )
1453
+ n = r._next, (e || !(!r._dur && r instanceof O && r.vars.onComplete === r._targets[0])) && H(i, r, r._start - r._delay), r = n;
1454
+ return H(M, i, 0), i;
1455
+ },
1456
+ context: function(t, e) {
1457
+ return t ? new gr(t, e) : S;
1458
+ },
1459
+ matchMedia: function(t) {
1460
+ return new gi(t);
1461
+ },
1462
+ matchMediaRefresh: function() {
1463
+ return ct.forEach(function(t) {
1464
+ var e = t.conditions, i, r;
1465
+ for (r in e)
1466
+ e[r] && (e[r] = !1, i = 1);
1467
+ i && t.revert();
1468
+ }) || le();
1469
+ },
1470
+ addEventListener: function(t, e) {
1471
+ var i = qt[t] || (qt[t] = []);
1472
+ ~i.indexOf(e) || i.push(e);
1473
+ },
1474
+ removeEventListener: function(t, e) {
1475
+ var i = qt[t], r = i && i.indexOf(e);
1476
+ r >= 0 && i.splice(r, 1);
1477
+ },
1478
+ utils: {
1479
+ wrap: Gr,
1480
+ wrapYoyo: Wr,
1481
+ distribute: Je,
1482
+ random: er,
1483
+ snap: tr,
1484
+ normalize: Vr,
1485
+ getUnit: _t,
1486
+ clamp: Nr,
1487
+ splitColor: ar,
1488
+ toArray: K,
1489
+ selector: _e,
1490
+ mapRange: ir,
1491
+ pipe: qr,
1492
+ unitize: Br,
1493
+ interpolate: Qr,
1494
+ shuffle: je
1495
+ },
1496
+ install: Ue,
1497
+ effects: $t,
1498
+ ticker: Z,
1499
+ updateRoot: I.updateRoot,
1500
+ plugins: Q,
1501
+ globalTimeline: M,
1502
+ core: {
1503
+ PropTween: wt,
1504
+ globals: Be,
1505
+ Tween: O,
1506
+ Timeline: I,
1507
+ Animation: zt,
1508
+ getCache: Pt,
1509
+ _removeLinkedListItem: Yt,
1510
+ reverting: function() {
1511
+ return z;
1512
+ },
1513
+ context: function(t) {
1514
+ return t && S && (S.data.push(t), t._ctx = S), S;
1515
+ },
1516
+ suppressOverwrites: function(t) {
1517
+ return ce = t;
1518
+ }
1519
+ }
1520
+ };
1521
+ st("to,from,fromTo,delayedCall,set,killTweensOf", function(o) {
1522
+ return Qt[o] = O[o];
1523
+ });
1524
+ Z.add(I.updateRoot);
1525
+ gt = Qt.to({}, {
1526
+ duration: 0
1527
+ });
1528
+ var mi = function(t, e) {
1529
+ for (var i = t._pt; i && i.p !== e && i.op !== e && i.fp !== e; )
1530
+ i = i._next;
1531
+ return i;
1532
+ }, yi = function(t, e) {
1533
+ var i = t._targets, r, n, s;
1534
+ for (r in e)
1535
+ for (n = i.length; n--; )
1536
+ s = t._ptLookup[n][r], s && (s = s.d) && (s._pt && (s = mi(s, r)), s && s.modifier && s.modifier(e[r], t, i[n], r));
1537
+ }, ee = function(t, e) {
1538
+ return {
1539
+ name: t,
1540
+ headless: 1,
1541
+ rawVars: 1,
1542
+ //don't pre-process function-based values or "random()" strings.
1543
+ init: function(r, n, s) {
1544
+ s._onInit = function(a) {
1545
+ var u, _;
1546
+ if (L(n) && (u = {}, st(n, function(h) {
1547
+ return u[h] = 1;
1548
+ }), n = u), e) {
1549
+ u = {};
1550
+ for (_ in n)
1551
+ u[_] = e(n[_]);
1552
+ n = u;
1553
+ }
1554
+ yi(a, n);
1555
+ };
1556
+ }
1557
+ };
1558
+ }, dt = Qt.registerPlugin({
1559
+ name: "attr",
1560
+ init: function(t, e, i, r, n) {
1561
+ var s, a, u;
1562
+ this.tween = i;
1563
+ for (s in e)
1564
+ u = t.getAttribute(s) || "", a = this.add(t, "setAttribute", (u || 0) + "", e[s], r, n, 0, 0, s), a.op = s, a.b = u, this._props.push(s);
1565
+ },
1566
+ render: function(t, e) {
1567
+ for (var i = e._pt; i; )
1568
+ z ? i.set(i.t, i.p, i.b, i) : i.r(t, i.d), i = i._next;
1569
+ }
1570
+ }, {
1571
+ name: "endArray",
1572
+ headless: 1,
1573
+ init: function(t, e) {
1574
+ for (var i = e.length; i--; )
1575
+ this.add(t, i, t[i] || 0, e[i], 0, 0, 0, 0, 0, 1);
1576
+ }
1577
+ }, ee("roundProps", he), ee("modifiers"), ee("snap", tr)) || Qt;
1578
+ O.version = I.version = dt.version = "3.13.0";
1579
+ Ne = 1;
1580
+ de() && bt();
1581
+ w.Power0;
1582
+ w.Power1;
1583
+ w.Power2;
1584
+ w.Power3;
1585
+ w.Power4;
1586
+ w.Linear;
1587
+ w.Quad;
1588
+ w.Cubic;
1589
+ w.Quart;
1590
+ w.Quint;
1591
+ w.Strong;
1592
+ w.Elastic;
1593
+ w.Back;
1594
+ w.SteppedEase;
1595
+ w.Bounce;
1596
+ w.Sine;
1597
+ w.Expo;
1598
+ w.Circ;
1599
+ export {
1600
+ zt as Animation,
1601
+ Jr as GSCache,
1602
+ wt as PropTween,
1603
+ I as Timeline,
1604
+ I as TimelineLite,
1605
+ I as TimelineMax,
1606
+ O as Tween,
1607
+ O as TweenLite,
1608
+ O as TweenMax,
1609
+ ri as _checkPlugin,
1610
+ mt as _colorExp,
1611
+ Kr as _colorStringFilter,
1612
+ yt as _config,
1613
+ st as _forEachName,
1614
+ Pt as _getCache,
1615
+ Pr as _getProperty,
1616
+ dr as _getSetter,
1617
+ L as _isString,
1618
+ ze as _isUndefined,
1619
+ qe as _missingPlugin,
1620
+ kr as _numExp,
1621
+ Le as _numWithUnitExp,
1622
+ Ge as _parseRelative,
1623
+ Q as _plugins,
1624
+ br as _relExp,
1625
+ Yt as _removeLinkedListItem,
1626
+ _i as _renderComplexString,
1627
+ ve as _replaceRandom,
1628
+ Rr as _round,
1629
+ he as _roundModifier,
1630
+ V as _setDefaults,
1631
+ ci as _sortPropTweensByPriority,
1632
+ Z as _ticker,
1633
+ Nr as clamp,
1634
+ dt as default,
1635
+ Je as distribute,
1636
+ _t as getUnit,
1637
+ dt as gsap,
1638
+ Qr as interpolate,
1639
+ ir as mapRange,
1640
+ Vr as normalize,
1641
+ qr as pipe,
1642
+ er as random,
1643
+ _e as selector,
1644
+ je as shuffle,
1645
+ tr as snap,
1646
+ ar as splitColor,
1647
+ K as toArray,
1648
+ Br as unitize,
1649
+ Gr as wrap,
1650
+ Wr as wrapYoyo
1651
+ };