@courtneyring/components-library 0.1.0 → 1.0.0

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 (46) hide show
  1. package/README.md +60 -27
  2. package/dist/ScrollTrigger-DDbij8gI.js +3102 -0
  3. package/dist/animations/FadeIn.js +26 -0
  4. package/dist/assets/Background.css +1 -0
  5. package/dist/assets/Banner.css +1 -0
  6. package/dist/assets/BorderedBackground.css +1 -0
  7. package/dist/assets/Button.css +1 -0
  8. package/dist/assets/Container.css +1 -0
  9. package/dist/assets/Fifty.css +1 -0
  10. package/dist/assets/Footer.css +1 -0
  11. package/dist/assets/ImageTextBlock.css +1 -0
  12. package/dist/assets/List.css +1 -0
  13. package/dist/assets/Note.css +1 -0
  14. package/dist/assets/OverlayHero.css +1 -0
  15. package/dist/assets/PageContainer.css +1 -0
  16. package/dist/assets/Timeline.css +1 -0
  17. package/dist/assets/icons/checkmark.svg +3 -0
  18. package/dist/components/Background/Background.js +54 -0
  19. package/dist/components/Banner/Banner.js +13 -0
  20. package/dist/components/BorderedBackground/BorderedBackground.js +44 -0
  21. package/dist/components/Button/Button.js +29 -13
  22. package/dist/components/Container/Container.js +9 -0
  23. package/dist/components/Fifty/Fifty.js +33 -0
  24. package/dist/components/Fifty/Fifty.stories.js +32 -0
  25. package/dist/components/Footer/Footer.js +13 -0
  26. package/dist/components/Icon/Icon.js +13 -0
  27. package/dist/components/ImageTextBlock/ImageTextBlock.js +27 -0
  28. package/dist/components/List/List.js +20 -0
  29. package/dist/components/Note/Note.js +21 -0
  30. package/dist/components/OverlayHero/OverlayHero.js +24 -0
  31. package/dist/components/PageContainer/PageContainer.js +25 -0
  32. package/dist/components/Timeline/Timeline.js +53 -0
  33. package/dist/hooks/useFadeIn.js +27 -0
  34. package/dist/hooks/useRepeatable.js +32 -0
  35. package/dist/hooks/useResize.js +19 -0
  36. package/dist/hooks/useResponsive.js +15 -0
  37. package/dist/index-BIlioXmW.js +47 -0
  38. package/dist/index-BlCqcUwj.js +29 -0
  39. package/dist/main.js +24 -0
  40. package/dist/utils/breakpoints.js +8 -0
  41. package/dist/utils/gsapSetup.js +7 -0
  42. package/dist/utils/parse.js +12 -0
  43. package/package.json +37 -25
  44. package/dist/components/Button/Button.d.ts +0 -12
  45. package/dist/exports.d.ts +0 -1
  46. package/dist/exports.js +0 -18
@@ -0,0 +1,3102 @@
1
+ function tr(a) {
2
+ if (a === void 0)
3
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
+ return a;
5
+ }
6
+ function Xo(a, e) {
7
+ a.prototype = Object.create(e.prototype), a.prototype.constructor = a, a.__proto__ = e;
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 bt = {
18
+ autoSleep: 120,
19
+ force3D: "auto",
20
+ nullTargetWarn: 1,
21
+ units: {
22
+ lineHeight: ""
23
+ }
24
+ }, di = {
25
+ duration: 0.5,
26
+ overwrite: !1,
27
+ delay: 0
28
+ }, Rs, Ie, ae, Mt = 1e8, re = 1 / Mt, as = Math.PI * 2, fu = as / 4, cu = 0, Vo = Math.sqrt, hu = Math.cos, _u = Math.sin, Re = function(e) {
29
+ return typeof e == "string";
30
+ }, de = function(e) {
31
+ return typeof e == "function";
32
+ }, or = function(e) {
33
+ return typeof e == "number";
34
+ }, As = function(e) {
35
+ return typeof e > "u";
36
+ }, Kt = function(e) {
37
+ return typeof e == "object";
38
+ }, at = function(e) {
39
+ return e !== !1;
40
+ }, zs = function() {
41
+ return typeof window < "u";
42
+ }, an = function(e) {
43
+ return de(e) || Re(e);
44
+ }, Uo = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
45
+ }, He = Array.isArray, us = /(?:-?\.?\d|\.)+/gi, Wo = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, si = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Gn = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, $o = /[+-]=-?[.\d]+/, Go = /[^,'"\[\]\s]+/gi, du = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, le, Ut, ls, Fs, wt = {}, Mn = {}, Ho, qo = function(e) {
46
+ return (Mn = pi(e, wt)) && ct;
47
+ }, Ls = function(e, r) {
48
+ return console.warn("Invalid property", e, "set to", r, "Missing plugin? gsap.registerPlugin()");
49
+ }, Hi = function(e, r) {
50
+ return !r && console.warn(e);
51
+ }, Ko = function(e, r) {
52
+ return e && (wt[e] = r) && Mn && (Mn[e] = r) || wt;
53
+ }, qi = function() {
54
+ return 0;
55
+ }, pu = {
56
+ suppressEvents: !0,
57
+ isStart: !0,
58
+ kill: !1
59
+ }, xn = {
60
+ suppressEvents: !0,
61
+ kill: !1
62
+ }, gu = {
63
+ suppressEvents: !0
64
+ }, Is = {}, xr = [], fs = {}, Qo, mt = {}, Hn = {}, so = 30, Tn = [], Ns = "", Ys = function(e) {
65
+ var r = e[0], t, i;
66
+ if (Kt(r) || de(r) || (e = [e]), !(t = (r._gsap || {}).harness)) {
67
+ for (i = Tn.length; i-- && !Tn[i].targetTest(r); )
68
+ ;
69
+ t = Tn[i];
70
+ }
71
+ for (i = e.length; i--; )
72
+ e[i] && (e[i]._gsap || (e[i]._gsap = new xa(e[i], t))) || e.splice(i, 1);
73
+ return e;
74
+ }, Yr = function(e) {
75
+ return e._gsap || Ys(Dt(e))[0]._gsap;
76
+ }, Zo = function(e, r, t) {
77
+ return (t = e[r]) && de(t) ? e[r]() : As(t) && e.getAttribute && e.getAttribute(r) || t;
78
+ }, ut = function(e, r) {
79
+ return (e = e.split(",")).forEach(r) || e;
80
+ }, ye = function(e) {
81
+ return Math.round(e * 1e5) / 1e5 || 0;
82
+ }, Se = function(e) {
83
+ return Math.round(e * 1e7) / 1e7 || 0;
84
+ }, ui = function(e, r) {
85
+ var t = r.charAt(0), i = parseFloat(r.substr(2));
86
+ return e = parseFloat(e), t === "+" ? e + i : t === "-" ? e - i : t === "*" ? e * i : e / i;
87
+ }, mu = function(e, r) {
88
+ for (var t = r.length, i = 0; e.indexOf(r[i]) < 0 && ++i < t; )
89
+ ;
90
+ return i < t;
91
+ }, Dn = function() {
92
+ var e = xr.length, r = xr.slice(0), t, i;
93
+ for (fs = {}, xr.length = 0, t = 0; t < e; t++)
94
+ i = r[t], i && i._lazy && (i.render(i._lazy[0], i._lazy[1], !0)._lazy = 0);
95
+ }, Bs = function(e) {
96
+ return !!(e._initted || e._startAt || e.add);
97
+ }, Jo = function(e, r, t, i) {
98
+ xr.length && !Ie && Dn(), e.render(r, t, !!(Ie && r < 0 && Bs(e))), xr.length && !Ie && Dn();
99
+ }, jo = function(e) {
100
+ var r = parseFloat(e);
101
+ return (r || r === 0) && (e + "").match(Go).length < 2 ? r : Re(e) ? e.trim() : e;
102
+ }, ea = function(e) {
103
+ return e;
104
+ }, St = function(e, r) {
105
+ for (var t in r)
106
+ t in e || (e[t] = r[t]);
107
+ return e;
108
+ }, yu = function(e) {
109
+ return function(r, t) {
110
+ for (var i in t)
111
+ i in r || i === "duration" && e || i === "ease" || (r[i] = t[i]);
112
+ };
113
+ }, pi = function(e, r) {
114
+ for (var t in r)
115
+ e[t] = r[t];
116
+ return e;
117
+ }, oo = function a(e, r) {
118
+ for (var t in r)
119
+ t !== "__proto__" && t !== "constructor" && t !== "prototype" && (e[t] = Kt(r[t]) ? a(e[t] || (e[t] = {}), r[t]) : r[t]);
120
+ return e;
121
+ }, En = function(e, r) {
122
+ var t = {}, i;
123
+ for (i in e)
124
+ i in r || (t[i] = e[i]);
125
+ return t;
126
+ }, Fi = function(e) {
127
+ var r = e.parent || le, t = e.keyframes ? yu(He(e.keyframes)) : St;
128
+ if (at(e.inherit))
129
+ for (; r; )
130
+ t(e, r.vars.defaults), r = r.parent || r._dp;
131
+ return e;
132
+ }, vu = function(e, r) {
133
+ for (var t = e.length, i = t === r.length; i && t-- && e[t] === r[t]; )
134
+ ;
135
+ return t < 0;
136
+ }, ta = function(e, r, t, i, n) {
137
+ var s = e[i], o;
138
+ if (n)
139
+ for (o = r[n]; s && s[n] > o; )
140
+ s = s._prev;
141
+ return s ? (r._next = s._next, s._next = r) : (r._next = e[t], e[t] = r), r._next ? r._next._prev = r : e[i] = r, r._prev = s, r.parent = r._dp = e, r;
142
+ }, Xn = function(e, r, t, i) {
143
+ t === void 0 && (t = "_first"), i === void 0 && (i = "_last");
144
+ var n = r._prev, s = r._next;
145
+ n ? n._next = s : e[t] === r && (e[t] = s), s ? s._prev = n : e[i] === r && (e[i] = n), r._next = r._prev = r.parent = null;
146
+ }, wr = function(e, r) {
147
+ e.parent && (!r || e.parent.autoRemoveChildren) && e.parent.remove && e.parent.remove(e), e._act = 0;
148
+ }, Br = function(e, r) {
149
+ if (e && (!r || r._end > e._dur || r._start < 0))
150
+ for (var t = e; t; )
151
+ t._dirty = 1, t = t.parent;
152
+ return e;
153
+ }, xu = function(e) {
154
+ for (var r = e.parent; r && r.parent; )
155
+ r._dirty = 1, r.totalDuration(), r = r.parent;
156
+ return e;
157
+ }, cs = function(e, r, t, i) {
158
+ return e._startAt && (Ie ? e._startAt.revert(xn) : e.vars.immediateRender && !e.vars.autoRevert || e._startAt.render(r, !0, i));
159
+ }, Tu = function a(e) {
160
+ return !e || e._ts && a(e.parent);
161
+ }, ao = function(e) {
162
+ return e._repeat ? gi(e._tTime, e = e.duration() + e._rDelay) * e : 0;
163
+ }, gi = function(e, r) {
164
+ var t = Math.floor(e = Se(e / r));
165
+ return e && t === e ? t - 1 : t;
166
+ }, Rn = function(e, r) {
167
+ return (e - r._start) * r._ts + (r._ts >= 0 ? 0 : r._dirty ? r.totalDuration() : r._tDur);
168
+ }, Vn = function(e) {
169
+ return e._end = Se(e._start + (e._tDur / Math.abs(e._ts || e._rts || re) || 0));
170
+ }, Un = function(e, r) {
171
+ var t = e._dp;
172
+ return t && t.smoothChildTiming && e._ts && (e._start = Se(t._time - (e._ts > 0 ? r / e._ts : ((e._dirty ? e.totalDuration() : e._tDur) - r) / -e._ts)), Vn(e), t._dirty || Br(t, e)), e;
173
+ }, ra = function(e, r) {
174
+ var t;
175
+ if ((r._time || !r._dur && r._initted || r._start < e._time && (r._dur || !r.add)) && (t = Rn(e.rawTime(), r), (!r._dur || rn(0, r.totalDuration(), t) - r._tTime > re) && r.render(t, !0)), Br(e, r)._dp && e._initted && e._time >= e._dur && e._ts) {
176
+ if (e._dur < e.duration())
177
+ for (t = e; t._dp; )
178
+ t.rawTime() >= 0 && t.totalTime(t._tTime), t = t._dp;
179
+ e._zTime = -re;
180
+ }
181
+ }, $t = function(e, r, t, i) {
182
+ return r.parent && wr(r), r._start = Se((or(t) ? t : t || e !== le ? kt(e, t, r) : e._time) + r._delay), r._end = Se(r._start + (r.totalDuration() / Math.abs(r.timeScale()) || 0)), ta(e, r, "_first", "_last", e._sort ? "_start" : 0), hs(r) || (e._recent = r), i || ra(e, r), e._ts < 0 && Un(e, e._tTime), e;
183
+ }, ia = function(e, r) {
184
+ return (wt.ScrollTrigger || Ls("scrollTrigger", r)) && wt.ScrollTrigger.create(r, e);
185
+ }, na = function(e, r, t, i, n) {
186
+ if (Vs(e, r, n), !e._initted)
187
+ return 1;
188
+ if (!t && e._pt && !Ie && (e._dur && e.vars.lazy !== !1 || !e._dur && e.vars.lazy) && Qo !== vt.frame)
189
+ return xr.push(e), e._lazy = [n, i], 1;
190
+ }, bu = function a(e) {
191
+ var r = e.parent;
192
+ return r && r._ts && r._initted && !r._lock && (r.rawTime() < 0 || a(r));
193
+ }, hs = function(e) {
194
+ var r = e.data;
195
+ return r === "isFromStart" || r === "isStart";
196
+ }, wu = function(e, r, t, i) {
197
+ var n = e.ratio, s = r < 0 || !r && (!e._start && bu(e) && !(!e._initted && hs(e)) || (e._ts < 0 || e._dp._ts < 0) && !hs(e)) ? 0 : 1, o = e._rDelay, u = 0, l, f, _;
198
+ if (o && e._repeat && (u = rn(0, e._tDur, r), f = gi(u, o), e._yoyo && f & 1 && (s = 1 - s), f !== gi(e._tTime, o) && (n = 1 - s, e.vars.repeatRefresh && e._initted && e.invalidate())), s !== n || Ie || i || e._zTime === re || !r && e._zTime) {
199
+ if (!e._initted && na(e, r, i, t, u))
200
+ return;
201
+ for (_ = e._zTime, e._zTime = r || (t ? re : 0), t || (t = r && !_), e.ratio = s, e._from && (s = 1 - s), e._time = 0, e._tTime = u, l = e._pt; l; )
202
+ l.r(s, l.d), l = l._next;
203
+ r < 0 && cs(e, r, t, !0), e._onUpdate && !t && Tt(e, "onUpdate"), u && e._repeat && !t && e.parent && Tt(e, "onRepeat"), (r >= e._tDur || r < 0) && e.ratio === s && (s && wr(e, 1), !t && !Ie && (Tt(e, s ? "onComplete" : "onReverseComplete", !0), e._prom && e._prom()));
204
+ } else e._zTime || (e._zTime = r);
205
+ }, Su = function(e, r, t) {
206
+ var i;
207
+ if (t > r)
208
+ for (i = e._first; i && i._start <= t; ) {
209
+ if (i.data === "isPause" && i._start > r)
210
+ return i;
211
+ i = i._next;
212
+ }
213
+ else
214
+ for (i = e._last; i && i._start >= t; ) {
215
+ if (i.data === "isPause" && i._start < r)
216
+ return i;
217
+ i = i._prev;
218
+ }
219
+ }, mi = function(e, r, t, i) {
220
+ var n = e._repeat, s = Se(r) || 0, o = e._tTime / e._tDur;
221
+ return o && !i && (e._time *= s / e._dur), e._dur = s, e._tDur = n ? n < 0 ? 1e10 : Se(s * (n + 1) + e._rDelay * n) : s, o > 0 && !i && Un(e, e._tTime = e._tDur * o), e.parent && Vn(e), t || Br(e.parent, e), e;
222
+ }, uo = function(e) {
223
+ return e instanceof rt ? Br(e) : mi(e, e._dur);
224
+ }, Cu = {
225
+ _start: 0,
226
+ endTime: qi,
227
+ totalDuration: qi
228
+ }, kt = function a(e, r, t) {
229
+ var i = e.labels, n = e._recent || Cu, s = e.duration() >= Mt ? n.endTime(!1) : e._dur, o, u, l;
230
+ return Re(r) && (isNaN(r) || r in i) ? (u = r.charAt(0), l = r.substr(-1) === "%", o = r.indexOf("="), u === "<" || u === ">" ? (o >= 0 && (r = r.replace(/=/, "")), (u === "<" ? n._start : n.endTime(n._repeat >= 0)) + (parseFloat(r.substr(1)) || 0) * (l ? (o < 0 ? n : t).totalDuration() / 100 : 1)) : o < 0 ? (r in i || (i[r] = s), i[r]) : (u = parseFloat(r.charAt(o - 1) + r.substr(o + 1)), l && t && (u = u / 100 * (He(t) ? t[0] : t).totalDuration()), o > 1 ? a(e, r.substr(0, o - 1), t) + u : s + u)) : r == null ? s : +r;
231
+ }, Li = function(e, r, t) {
232
+ var i = or(r[1]), n = (i ? 2 : 1) + (e < 2 ? 0 : 1), s = r[n], o, u;
233
+ if (i && (s.duration = r[1]), s.parent = t, e) {
234
+ for (o = s, u = t; u && !("immediateRender" in o); )
235
+ o = u.vars.defaults || {}, u = at(u.vars.inherit) && u.parent;
236
+ s.immediateRender = at(o.immediateRender), e < 2 ? s.runBackwards = 1 : s.startAt = r[n - 1];
237
+ }
238
+ return new we(r[0], s, r[n + 1]);
239
+ }, kr = function(e, r) {
240
+ return e || e === 0 ? r(e) : r;
241
+ }, rn = function(e, r, t) {
242
+ return t < e ? e : t > r ? r : t;
243
+ }, $e = function(e, r) {
244
+ return !Re(e) || !(r = du.exec(e)) ? "" : r[1];
245
+ }, ku = function(e, r, t) {
246
+ return kr(t, function(i) {
247
+ return rn(e, r, i);
248
+ });
249
+ }, _s = [].slice, sa = function(e, r) {
250
+ return e && Kt(e) && "length" in e && (!r && !e.length || e.length - 1 in e && Kt(e[0])) && !e.nodeType && e !== Ut;
251
+ }, Pu = function(e, r, t) {
252
+ return t === void 0 && (t = []), e.forEach(function(i) {
253
+ var n;
254
+ return Re(i) && !r || sa(i, 1) ? (n = t).push.apply(n, Dt(i)) : t.push(i);
255
+ }) || t;
256
+ }, Dt = function(e, r, t) {
257
+ return ae && !r && ae.selector ? ae.selector(e) : Re(e) && !t && (ls || !yi()) ? _s.call((r || Fs).querySelectorAll(e), 0) : He(e) ? Pu(e, t) : sa(e) ? _s.call(e, 0) : e ? [e] : [];
258
+ }, ds = function(e) {
259
+ return e = Dt(e)[0] || Hi("Invalid scope") || {}, function(r) {
260
+ var t = e.current || e.nativeElement || e;
261
+ return Dt(r, t.querySelectorAll ? t : t === e ? Hi("Invalid scope") || Fs.createElement("div") : e);
262
+ };
263
+ }, oa = function(e) {
264
+ return e.sort(function() {
265
+ return 0.5 - Math.random();
266
+ });
267
+ }, aa = function(e) {
268
+ if (de(e))
269
+ return e;
270
+ var r = Kt(e) ? e : {
271
+ each: e
272
+ }, t = Xr(r.ease), i = r.from || 0, n = parseFloat(r.base) || 0, s = {}, o = i > 0 && i < 1, u = isNaN(i) || o, l = r.axis, f = i, _ = i;
273
+ return Re(i) ? f = _ = {
274
+ center: 0.5,
275
+ edges: 0.5,
276
+ end: 1
277
+ }[i] || 0 : !o && u && (f = i[0], _ = i[1]), function(d, c, p) {
278
+ var h = (p || r).length, m = s[h], b, T, S, v, w, k, x, O, C;
279
+ if (!m) {
280
+ if (C = r.grid === "auto" ? 0 : (r.grid || [1, Mt])[1], !C) {
281
+ for (x = -Mt; x < (x = p[C++].getBoundingClientRect().left) && C < h; )
282
+ ;
283
+ C < h && C--;
284
+ }
285
+ for (m = s[h] = [], b = u ? Math.min(C, h) * f - 0.5 : i % C, T = C === Mt ? 0 : u ? h * _ / C - 0.5 : i / C | 0, x = 0, O = Mt, k = 0; k < h; k++)
286
+ S = k % C - b, v = T - (k / C | 0), m[k] = w = l ? Math.abs(l === "y" ? v : S) : Vo(S * S + v * v), w > x && (x = w), w < O && (O = w);
287
+ i === "random" && oa(m), m.max = x - O, m.min = O, m.v = h = (parseFloat(r.amount) || parseFloat(r.each) * (C > h ? h - 1 : l ? l === "y" ? h / C : C : Math.max(C, h / C)) || 0) * (i === "edges" ? -1 : 1), m.b = h < 0 ? n - h : n, m.u = $e(r.amount || r.each) || 0, t = t && h < 0 ? ma(t) : t;
288
+ }
289
+ return h = (m[d] - m.min) / m.max || 0, Se(m.b + (t ? t(h) : h) * m.v) + m.u;
290
+ };
291
+ }, ps = function(e) {
292
+ var r = Math.pow(10, ((e + "").split(".")[1] || "").length);
293
+ return function(t) {
294
+ var i = Se(Math.round(parseFloat(t) / e) * e * r);
295
+ return (i - i % 1) / r + (or(t) ? 0 : $e(t));
296
+ };
297
+ }, ua = function(e, r) {
298
+ var t = He(e), i, n;
299
+ return !t && Kt(e) && (i = t = e.radius || Mt, e.values ? (e = Dt(e.values), (n = !or(e[0])) && (i *= i)) : e = ps(e.increment)), kr(r, t ? de(e) ? function(s) {
300
+ return n = e(s), Math.abs(n - s) <= i ? n : s;
301
+ } : function(s) {
302
+ for (var o = parseFloat(n ? s.x : s), u = parseFloat(n ? s.y : 0), l = Mt, f = 0, _ = e.length, d, c; _--; )
303
+ n ? (d = e[_].x - o, c = e[_].y - u, d = d * d + c * c) : d = Math.abs(e[_] - o), d < l && (l = d, f = _);
304
+ return f = !i || l <= i ? e[f] : s, n || f === s || or(s) ? f : f + $e(s);
305
+ } : ps(e));
306
+ }, la = function(e, r, t, i) {
307
+ return kr(He(e) ? !r : t === !0 ? !!(t = 0) : !i, function() {
308
+ return He(e) ? e[~~(Math.random() * e.length)] : (t = t || 1e-5) && (i = t < 1 ? Math.pow(10, (t + "").length - 2) : 1) && Math.floor(Math.round((e - t / 2 + Math.random() * (r - e + t * 0.99)) / t) * t * i) / i;
309
+ });
310
+ }, Ou = function() {
311
+ for (var e = arguments.length, r = new Array(e), t = 0; t < e; t++)
312
+ r[t] = arguments[t];
313
+ return function(i) {
314
+ return r.reduce(function(n, s) {
315
+ return s(n);
316
+ }, i);
317
+ };
318
+ }, Mu = function(e, r) {
319
+ return function(t) {
320
+ return e(parseFloat(t)) + (r || $e(t));
321
+ };
322
+ }, Du = function(e, r, t) {
323
+ return ca(e, r, 0, 1, t);
324
+ }, fa = function(e, r, t) {
325
+ return kr(t, function(i) {
326
+ return e[~~r(i)];
327
+ });
328
+ }, Eu = function a(e, r, t) {
329
+ var i = r - e;
330
+ return He(e) ? fa(e, a(0, e.length), r) : kr(t, function(n) {
331
+ return (i + (n - e) % i) % i + e;
332
+ });
333
+ }, Ru = function a(e, r, t) {
334
+ var i = r - e, n = i * 2;
335
+ return He(e) ? fa(e, a(0, e.length - 1), r) : kr(t, function(s) {
336
+ return s = (n + (s - e) % n) % n || 0, e + (s > i ? n - s : s);
337
+ });
338
+ }, Ki = function(e) {
339
+ for (var r = 0, t = "", i, n, s, o; ~(i = e.indexOf("random(", r)); )
340
+ s = e.indexOf(")", i), o = e.charAt(i + 7) === "[", n = e.substr(i + 7, s - i - 7).match(o ? Go : us), t += e.substr(r, i - r) + la(o ? n : +n[0], o ? 0 : +n[1], +n[2] || 1e-5), r = s + 1;
341
+ return t + e.substr(r, e.length - r);
342
+ }, ca = function(e, r, t, i, n) {
343
+ var s = r - e, o = i - t;
344
+ return kr(n, function(u) {
345
+ return t + ((u - e) / s * o || 0);
346
+ });
347
+ }, Au = function a(e, r, t, i) {
348
+ var n = isNaN(e + r) ? 0 : function(c) {
349
+ return (1 - c) * e + c * r;
350
+ };
351
+ if (!n) {
352
+ var s = Re(e), o = {}, u, l, f, _, d;
353
+ if (t === !0 && (i = 1) && (t = null), s)
354
+ e = {
355
+ p: e
356
+ }, r = {
357
+ p: r
358
+ };
359
+ else if (He(e) && !He(r)) {
360
+ for (f = [], _ = e.length, d = _ - 2, l = 1; l < _; l++)
361
+ f.push(a(e[l - 1], e[l]));
362
+ _--, n = function(p) {
363
+ p *= _;
364
+ var h = Math.min(d, ~~p);
365
+ return f[h](p - h);
366
+ }, t = r;
367
+ } else i || (e = pi(He(e) ? [] : {}, e));
368
+ if (!f) {
369
+ for (u in r)
370
+ Xs.call(o, e, u, "get", r[u]);
371
+ n = function(p) {
372
+ return $s(p, o) || (s ? e.p : e);
373
+ };
374
+ }
375
+ }
376
+ return kr(t, n);
377
+ }, lo = function(e, r, t) {
378
+ var i = e.labels, n = Mt, s, o, u;
379
+ for (s in i)
380
+ o = i[s] - r, o < 0 == !!t && o && n > (o = Math.abs(o)) && (u = s, n = o);
381
+ return u;
382
+ }, Tt = function(e, r, t) {
383
+ var i = e.vars, n = i[r], s = ae, o = e._ctx, u, l, f;
384
+ if (n)
385
+ return u = i[r + "Params"], l = i.callbackScope || e, t && xr.length && Dn(), o && (ae = o), f = u ? n.apply(l, u) : n.call(l), ae = s, f;
386
+ }, Oi = function(e) {
387
+ return wr(e), e.scrollTrigger && e.scrollTrigger.kill(!!Ie), e.progress() < 1 && Tt(e, "onInterrupt"), e;
388
+ }, oi, ha = [], _a = function(e) {
389
+ if (e)
390
+ if (e = !e.name && e.default || e, zs() || e.headless) {
391
+ var r = e.name, t = de(e), i = r && !t && e.init ? function() {
392
+ this._props = [];
393
+ } : e, n = {
394
+ init: qi,
395
+ render: $s,
396
+ add: Xs,
397
+ kill: Ku,
398
+ modifier: qu,
399
+ rawVars: 0
400
+ }, s = {
401
+ targetTest: 0,
402
+ get: 0,
403
+ getSetter: Ws,
404
+ aliases: {},
405
+ register: 0
406
+ };
407
+ if (yi(), e !== i) {
408
+ if (mt[r])
409
+ return;
410
+ St(i, St(En(e, n), s)), pi(i.prototype, pi(n, En(e, s))), mt[i.prop = r] = i, e.targetTest && (Tn.push(i), Is[r] = 1), r = (r === "css" ? "CSS" : r.charAt(0).toUpperCase() + r.substr(1)) + "Plugin";
411
+ }
412
+ Ko(r, i), e.register && e.register(ct, i, lt);
413
+ } else
414
+ ha.push(e);
415
+ }, te = 255, Mi = {
416
+ aqua: [0, te, te],
417
+ lime: [0, te, 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, te],
423
+ navy: [0, 0, 128],
424
+ white: [te, te, te],
425
+ olive: [128, 128, 0],
426
+ yellow: [te, te, 0],
427
+ orange: [te, 165, 0],
428
+ gray: [128, 128, 128],
429
+ purple: [128, 0, 128],
430
+ green: [0, 128, 0],
431
+ red: [te, 0, 0],
432
+ pink: [te, 192, 203],
433
+ cyan: [0, te, te],
434
+ transparent: [te, te, te, 0]
435
+ }, qn = function(e, r, t) {
436
+ return e += e < 0 ? 1 : e > 1 ? -1 : 0, (e * 6 < 1 ? r + (t - r) * e * 6 : e < 0.5 ? t : e * 3 < 2 ? r + (t - r) * (2 / 3 - e) * 6 : r) * te + 0.5 | 0;
437
+ }, da = function(e, r, t) {
438
+ var i = e ? or(e) ? [e >> 16, e >> 8 & te, e & te] : 0 : Mi.black, n, s, o, u, l, f, _, d, c, p;
439
+ if (!i) {
440
+ if (e.substr(-1) === "," && (e = e.substr(0, e.length - 1)), Mi[e])
441
+ i = Mi[e];
442
+ else if (e.charAt(0) === "#") {
443
+ if (e.length < 6 && (n = e.charAt(1), s = e.charAt(2), o = e.charAt(3), e = "#" + n + n + s + s + o + o + (e.length === 5 ? e.charAt(4) + e.charAt(4) : "")), e.length === 9)
444
+ return i = parseInt(e.substr(1, 6), 16), [i >> 16, i >> 8 & te, i & te, parseInt(e.substr(7), 16) / 255];
445
+ e = parseInt(e.substr(1), 16), i = [e >> 16, e >> 8 & te, e & te];
446
+ } else if (e.substr(0, 3) === "hsl") {
447
+ if (i = p = e.match(us), !r)
448
+ u = +i[0] % 360 / 360, l = +i[1] / 100, f = +i[2] / 100, s = f <= 0.5 ? f * (l + 1) : f + l - f * l, n = f * 2 - s, i.length > 3 && (i[3] *= 1), i[0] = qn(u + 1 / 3, n, s), i[1] = qn(u, n, s), i[2] = qn(u - 1 / 3, n, s);
449
+ else if (~e.indexOf("="))
450
+ return i = e.match(Wo), t && i.length < 4 && (i[3] = 1), i;
451
+ } else
452
+ i = e.match(us) || Mi.transparent;
453
+ i = i.map(Number);
454
+ }
455
+ return r && !p && (n = i[0] / te, s = i[1] / te, o = i[2] / te, _ = Math.max(n, s, o), d = Math.min(n, s, o), f = (_ + d) / 2, _ === d ? u = l = 0 : (c = _ - d, l = f > 0.5 ? c / (2 - _ - d) : c / (_ + d), u = _ === n ? (s - o) / c + (s < o ? 6 : 0) : _ === s ? (o - n) / c + 2 : (n - s) / c + 4, u *= 60), i[0] = ~~(u + 0.5), i[1] = ~~(l * 100 + 0.5), i[2] = ~~(f * 100 + 0.5)), t && i.length < 4 && (i[3] = 1), i;
456
+ }, pa = function(e) {
457
+ var r = [], t = [], i = -1;
458
+ return e.split(Tr).forEach(function(n) {
459
+ var s = n.match(si) || [];
460
+ r.push.apply(r, s), t.push(i += s.length + 1);
461
+ }), r.c = t, r;
462
+ }, fo = function(e, r, t) {
463
+ var i = "", n = (e + i).match(Tr), s = r ? "hsla(" : "rgba(", o = 0, u, l, f, _;
464
+ if (!n)
465
+ return e;
466
+ if (n = n.map(function(d) {
467
+ return (d = da(d, r, 1)) && s + (r ? d[0] + "," + d[1] + "%," + d[2] + "%," + d[3] : d.join(",")) + ")";
468
+ }), t && (f = pa(e), u = t.c, u.join(i) !== f.c.join(i)))
469
+ for (l = e.replace(Tr, "1").split(si), _ = l.length - 1; o < _; o++)
470
+ i += l[o] + (~u.indexOf(o) ? n.shift() || s + "0,0,0,0)" : (f.length ? f : n.length ? n : t).shift());
471
+ if (!l)
472
+ for (l = e.split(Tr), _ = l.length - 1; o < _; o++)
473
+ i += l[o] + n[o];
474
+ return i + l[_];
475
+ }, Tr = (function() {
476
+ var a = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b", e;
477
+ for (e in Mi)
478
+ a += "|" + e + "\\b";
479
+ return new RegExp(a + ")", "gi");
480
+ })(), zu = /hsl[a]?\(/, ga = function(e) {
481
+ var r = e.join(" "), t;
482
+ if (Tr.lastIndex = 0, Tr.test(r))
483
+ return t = zu.test(r), e[1] = fo(e[1], t), e[0] = fo(e[0], t, pa(e[1])), !0;
484
+ }, Qi, vt = (function() {
485
+ var a = Date.now, e = 500, r = 33, t = a(), i = t, n = 1e3 / 240, s = n, o = [], u, l, f, _, d, c, p = function h(m) {
486
+ var b = a() - i, T = m === !0, S, v, w, k;
487
+ if ((b > e || b < 0) && (t += b - r), i += b, w = i - t, S = w - s, (S > 0 || T) && (k = ++_.frame, d = w - _.time * 1e3, _.time = w = w / 1e3, s += S + (S >= n ? 4 : n - S), v = 1), T || (u = l(h)), v)
488
+ for (c = 0; c < o.length; c++)
489
+ o[c](w, d, k, m);
490
+ };
491
+ return _ = {
492
+ time: 0,
493
+ frame: 0,
494
+ tick: function() {
495
+ p(!0);
496
+ },
497
+ deltaRatio: function(m) {
498
+ return d / (1e3 / (m || 60));
499
+ },
500
+ wake: function() {
501
+ Ho && (!ls && zs() && (Ut = ls = window, Fs = Ut.document || {}, wt.gsap = ct, (Ut.gsapVersions || (Ut.gsapVersions = [])).push(ct.version), qo(Mn || Ut.GreenSockGlobals || !Ut.gsap && Ut || {}), ha.forEach(_a)), f = typeof requestAnimationFrame < "u" && requestAnimationFrame, u && _.sleep(), l = f || function(m) {
502
+ return setTimeout(m, s - _.time * 1e3 + 1 | 0);
503
+ }, Qi = 1, p(2));
504
+ },
505
+ sleep: function() {
506
+ (f ? cancelAnimationFrame : clearTimeout)(u), Qi = 0, l = qi;
507
+ },
508
+ lagSmoothing: function(m, b) {
509
+ e = m || 1 / 0, r = Math.min(b || 33, e);
510
+ },
511
+ fps: function(m) {
512
+ n = 1e3 / (m || 240), s = _.time * 1e3 + n;
513
+ },
514
+ add: function(m, b, T) {
515
+ var S = b ? function(v, w, k, x) {
516
+ m(v, w, k, x), _.remove(S);
517
+ } : m;
518
+ return _.remove(m), o[T ? "unshift" : "push"](S), yi(), S;
519
+ },
520
+ remove: function(m, b) {
521
+ ~(b = o.indexOf(m)) && o.splice(b, 1) && c >= b && c--;
522
+ },
523
+ _listeners: o
524
+ }, _;
525
+ })(), yi = function() {
526
+ return !Qi && vt.wake();
527
+ }, q = {}, Fu = /^[\d.\-M][\d.\-,\s]/, Lu = /["']/g, Iu = function(e) {
528
+ for (var r = {}, t = e.substr(1, e.length - 3).split(":"), i = t[0], n = 1, s = t.length, o, u, l; n < s; n++)
529
+ u = t[n], o = n !== s - 1 ? u.lastIndexOf(",") : u.length, l = u.substr(0, o), r[i] = isNaN(l) ? l.replace(Lu, "").trim() : +l, i = u.substr(o + 1).trim();
530
+ return r;
531
+ }, Nu = function(e) {
532
+ var r = e.indexOf("(") + 1, t = e.indexOf(")"), i = e.indexOf("(", r);
533
+ return e.substring(r, ~i && i < t ? e.indexOf(")", t + 1) : t);
534
+ }, Yu = function(e) {
535
+ var r = (e + "").split("("), t = q[r[0]];
536
+ return t && r.length > 1 && t.config ? t.config.apply(null, ~e.indexOf("{") ? [Iu(r[1])] : Nu(e).split(",").map(jo)) : q._CE && Fu.test(e) ? q._CE("", e) : t;
537
+ }, ma = function(e) {
538
+ return function(r) {
539
+ return 1 - e(1 - r);
540
+ };
541
+ }, ya = function a(e, r) {
542
+ for (var t = e._first, i; t; )
543
+ t instanceof rt ? a(t, r) : t.vars.yoyoEase && (!t._yoyo || !t._repeat) && t._yoyo !== r && (t.timeline ? a(t.timeline, r) : (i = t._ease, t._ease = t._yEase, t._yEase = i, t._yoyo = r)), t = t._next;
544
+ }, Xr = function(e, r) {
545
+ return e && (de(e) ? e : q[e] || Yu(e)) || r;
546
+ }, Qr = function(e, r, t, i) {
547
+ t === void 0 && (t = function(u) {
548
+ return 1 - r(1 - u);
549
+ }), i === void 0 && (i = function(u) {
550
+ return u < 0.5 ? r(u * 2) / 2 : 1 - r((1 - u) * 2) / 2;
551
+ });
552
+ var n = {
553
+ easeIn: r,
554
+ easeOut: t,
555
+ easeInOut: i
556
+ }, s;
557
+ return ut(e, function(o) {
558
+ q[o] = wt[o] = n, q[s = o.toLowerCase()] = t;
559
+ for (var u in n)
560
+ q[s + (u === "easeIn" ? ".in" : u === "easeOut" ? ".out" : ".inOut")] = q[o + "." + u] = n[u];
561
+ }), n;
562
+ }, va = function(e) {
563
+ return function(r) {
564
+ return r < 0.5 ? (1 - e(1 - r * 2)) / 2 : 0.5 + e((r - 0.5) * 2) / 2;
565
+ };
566
+ }, Kn = function a(e, r, t) {
567
+ var i = r >= 1 ? r : 1, n = (t || (e ? 0.3 : 0.45)) / (r < 1 ? r : 1), s = n / as * (Math.asin(1 / i) || 0), o = function(f) {
568
+ return f === 1 ? 1 : i * Math.pow(2, -10 * f) * _u((f - s) * n) + 1;
569
+ }, u = e === "out" ? o : e === "in" ? function(l) {
570
+ return 1 - o(1 - l);
571
+ } : va(o);
572
+ return n = as / n, u.config = function(l, f) {
573
+ return a(e, l, f);
574
+ }, u;
575
+ }, Qn = function a(e, r) {
576
+ r === void 0 && (r = 1.70158);
577
+ var t = function(s) {
578
+ return s ? --s * s * ((r + 1) * s + r) + 1 : 0;
579
+ }, i = e === "out" ? t : e === "in" ? function(n) {
580
+ return 1 - t(1 - n);
581
+ } : va(t);
582
+ return i.config = function(n) {
583
+ return a(e, n);
584
+ }, i;
585
+ };
586
+ ut("Linear,Quad,Cubic,Quart,Quint,Strong", function(a, e) {
587
+ var r = e < 5 ? e + 1 : e;
588
+ Qr(a + ",Power" + (r - 1), e ? function(t) {
589
+ return Math.pow(t, r);
590
+ } : function(t) {
591
+ return t;
592
+ }, function(t) {
593
+ return 1 - Math.pow(1 - t, r);
594
+ }, function(t) {
595
+ return t < 0.5 ? Math.pow(t * 2, r) / 2 : 1 - Math.pow((1 - t) * 2, r) / 2;
596
+ });
597
+ });
598
+ q.Linear.easeNone = q.none = q.Linear.easeIn;
599
+ Qr("Elastic", Kn("in"), Kn("out"), Kn());
600
+ (function(a, e) {
601
+ var r = 1 / e, t = 2 * r, i = 2.5 * r, n = function(o) {
602
+ return o < r ? a * o * o : o < t ? a * Math.pow(o - 1.5 / e, 2) + 0.75 : o < i ? a * (o -= 2.25 / e) * o + 0.9375 : a * Math.pow(o - 2.625 / e, 2) + 0.984375;
603
+ };
604
+ Qr("Bounce", function(s) {
605
+ return 1 - n(1 - s);
606
+ }, n);
607
+ })(7.5625, 2.75);
608
+ Qr("Expo", function(a) {
609
+ return Math.pow(2, 10 * (a - 1)) * a + a * a * a * a * a * a * (1 - a);
610
+ });
611
+ Qr("Circ", function(a) {
612
+ return -(Vo(1 - a * a) - 1);
613
+ });
614
+ Qr("Sine", function(a) {
615
+ return a === 1 ? 1 : -hu(a * fu) + 1;
616
+ });
617
+ Qr("Back", Qn("in"), Qn("out"), Qn());
618
+ q.SteppedEase = q.steps = wt.SteppedEase = {
619
+ config: function(e, r) {
620
+ e === void 0 && (e = 1);
621
+ var t = 1 / e, i = e + (r ? 0 : 1), n = r ? 1 : 0, s = 1 - re;
622
+ return function(o) {
623
+ return ((i * rn(0, s, o) | 0) + n) * t;
624
+ };
625
+ }
626
+ };
627
+ di.ease = q["quad.out"];
628
+ ut("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(a) {
629
+ return Ns += a + "," + a + "Params,";
630
+ });
631
+ var xa = function(e, r) {
632
+ this.id = cu++, e._gsap = this, this.target = e, this.harness = r, this.get = r ? r.get : Zo, this.set = r ? r.getSetter : Ws;
633
+ }, Zi = /* @__PURE__ */ (function() {
634
+ function a(r) {
635
+ this.vars = r, this._delay = +r.delay || 0, (this._repeat = r.repeat === 1 / 0 ? -2 : r.repeat || 0) && (this._rDelay = r.repeatDelay || 0, this._yoyo = !!r.yoyo || !!r.yoyoEase), this._ts = 1, mi(this, +r.duration, 1, 1), this.data = r.data, ae && (this._ctx = ae, ae.data.push(this)), Qi || vt.wake();
636
+ }
637
+ var e = a.prototype;
638
+ return e.delay = function(t) {
639
+ return t || t === 0 ? (this.parent && this.parent.smoothChildTiming && this.startTime(this._start + t - this._delay), this._delay = t, this) : this._delay;
640
+ }, e.duration = function(t) {
641
+ return arguments.length ? this.totalDuration(this._repeat > 0 ? t + (t + this._rDelay) * this._repeat : t) : this.totalDuration() && this._dur;
642
+ }, e.totalDuration = function(t) {
643
+ return arguments.length ? (this._dirty = 0, mi(this, this._repeat < 0 ? t : (t - this._repeat * this._rDelay) / (this._repeat + 1))) : this._tDur;
644
+ }, e.totalTime = function(t, i) {
645
+ if (yi(), !arguments.length)
646
+ return this._tTime;
647
+ var n = this._dp;
648
+ if (n && n.smoothChildTiming && this._ts) {
649
+ for (Un(this, t), !n._dp || n.parent || ra(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 && t < this._tDur || this._ts < 0 && t > 0 || !this._tDur && !t) && $t(this._dp, this, this._start - this._delay);
652
+ }
653
+ return (this._tTime !== t || !this._dur && !i || this._initted && Math.abs(this._zTime) === re || !t && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = t), Jo(this, t, i)), this;
654
+ }, e.time = function(t, i) {
655
+ return arguments.length ? this.totalTime(Math.min(this.totalDuration(), t + ao(this)) % (this._dur + this._rDelay) || (t ? this._dur : 0), i) : this._time;
656
+ }, e.totalProgress = function(t, i) {
657
+ return arguments.length ? this.totalTime(this.totalDuration() * t, i) : this.totalDuration() ? Math.min(1, this._tTime / this._tDur) : this.rawTime() >= 0 && this._initted ? 1 : 0;
658
+ }, e.progress = function(t, i) {
659
+ return arguments.length ? this.totalTime(this.duration() * (this._yoyo && !(this.iteration() & 1) ? 1 - t : t) + ao(this), i) : this.duration() ? Math.min(1, this._time / this._dur) : this.rawTime() > 0 ? 1 : 0;
660
+ }, e.iteration = function(t, i) {
661
+ var n = this.duration() + this._rDelay;
662
+ return arguments.length ? this.totalTime(this._time + (t - 1) * n, i) : this._repeat ? gi(this._tTime, n) + 1 : 1;
663
+ }, e.timeScale = function(t, i) {
664
+ if (!arguments.length)
665
+ return this._rts === -re ? 0 : this._rts;
666
+ if (this._rts === t)
667
+ return this;
668
+ var n = this.parent && this._ts ? Rn(this.parent._time, this) : this._tTime;
669
+ return this._rts = +t || 0, this._ts = this._ps || t === -re ? 0 : this._rts, this.totalTime(rn(-Math.abs(this._delay), this.totalDuration(), n), i !== !1), Vn(this), xu(this);
670
+ }, e.paused = function(t) {
671
+ return arguments.length ? (this._ps !== t && (this._ps = t, t ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (yi(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== re && (this._tTime -= re)))), this) : this._ps;
672
+ }, e.startTime = function(t) {
673
+ if (arguments.length) {
674
+ this._start = t;
675
+ var i = this.parent || this._dp;
676
+ return i && (i._sort || !this.parent) && $t(i, this, t - this._delay), this;
677
+ }
678
+ return this._start;
679
+ }, e.endTime = function(t) {
680
+ return this._start + (at(t) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1);
681
+ }, e.rawTime = function(t) {
682
+ var i = this.parent || this._dp;
683
+ return i ? t && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? Rn(i.rawTime(t), this) : this._tTime : this._tTime;
684
+ }, e.revert = function(t) {
685
+ t === void 0 && (t = gu);
686
+ var i = Ie;
687
+ return Ie = t, Bs(this) && (this.timeline && this.timeline.revert(t), this.totalTime(-0.01, t.suppressEvents)), this.data !== "nested" && t.kill !== !1 && this.kill(), Ie = i, this;
688
+ }, e.globalTime = function(t) {
689
+ for (var i = this, n = arguments.length ? t : i.rawTime(); i; )
690
+ n = i._start + n / (Math.abs(i._ts) || 1), i = i._dp;
691
+ return !this.parent && this._sat ? this._sat.globalTime(t) : n;
692
+ }, e.repeat = function(t) {
693
+ return arguments.length ? (this._repeat = t === 1 / 0 ? -2 : t, uo(this)) : this._repeat === -2 ? 1 / 0 : this._repeat;
694
+ }, e.repeatDelay = function(t) {
695
+ if (arguments.length) {
696
+ var i = this._time;
697
+ return this._rDelay = t, uo(this), i ? this.time(i) : this;
698
+ }
699
+ return this._rDelay;
700
+ }, e.yoyo = function(t) {
701
+ return arguments.length ? (this._yoyo = t, this) : this._yoyo;
702
+ }, e.seek = function(t, i) {
703
+ return this.totalTime(kt(this, t), at(i));
704
+ }, e.restart = function(t, i) {
705
+ return this.play().totalTime(t ? -this._delay : 0, at(i)), this._dur || (this._zTime = -re), this;
706
+ }, e.play = function(t, i) {
707
+ return t != null && this.seek(t, i), this.reversed(!1).paused(!1);
708
+ }, e.reverse = function(t, i) {
709
+ return t != null && this.seek(t || this.totalDuration(), i), this.reversed(!0).paused(!1);
710
+ }, e.pause = function(t, i) {
711
+ return t != null && this.seek(t, i), this.paused(!0);
712
+ }, e.resume = function() {
713
+ return this.paused(!1);
714
+ }, e.reversed = function(t) {
715
+ return arguments.length ? (!!t !== this.reversed() && this.timeScale(-this._rts || (t ? -re : 0)), this) : this._rts < 0;
716
+ }, e.invalidate = function() {
717
+ return this._initted = this._act = 0, this._zTime = -re, this;
718
+ }, e.isActive = function() {
719
+ var t = this.parent || this._dp, i = this._start, n;
720
+ return !!(!t || this._ts && this._initted && t.isActive() && (n = t.rawTime(!0)) >= i && n < this.endTime(!0) - re);
721
+ }, e.eventCallback = function(t, i, n) {
722
+ var s = this.vars;
723
+ return arguments.length > 1 ? (i ? (s[t] = i, n && (s[t + "Params"] = n), t === "onUpdate" && (this._onUpdate = i)) : delete s[t], this) : s[t];
724
+ }, e.then = function(t) {
725
+ var i = this;
726
+ return new Promise(function(n) {
727
+ var s = de(t) ? t : ea, o = function() {
728
+ var l = i.then;
729
+ i.then = null, de(s) && (s = s(i)) && (s.then || s === i) && (i.then = l), n(s), i.then = l;
730
+ };
731
+ i._initted && i.totalProgress() === 1 && i._ts >= 0 || !i._tTime && i._ts < 0 ? o() : i._prom = o;
732
+ });
733
+ }, e.kill = function() {
734
+ Oi(this);
735
+ }, a;
736
+ })();
737
+ St(Zi.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: -re,
753
+ _prom: 0,
754
+ _ps: !1,
755
+ _rts: 1
756
+ });
757
+ var rt = /* @__PURE__ */ (function(a) {
758
+ Xo(e, a);
759
+ function e(t, i) {
760
+ var n;
761
+ return t === void 0 && (t = {}), n = a.call(this, t) || this, n.labels = {}, n.smoothChildTiming = !!t.smoothChildTiming, n.autoRemoveChildren = !!t.autoRemoveChildren, n._sort = at(t.sortChildren), le && $t(t.parent || le, tr(n), i), t.reversed && n.reverse(), t.paused && n.paused(!0), t.scrollTrigger && ia(tr(n), t.scrollTrigger), n;
762
+ }
763
+ var r = e.prototype;
764
+ return r.to = function(i, n, s) {
765
+ return Li(0, arguments, this), this;
766
+ }, r.from = function(i, n, s) {
767
+ return Li(1, arguments, this), this;
768
+ }, r.fromTo = function(i, n, s, o) {
769
+ return Li(2, arguments, this), this;
770
+ }, r.set = function(i, n, s) {
771
+ return n.duration = 0, n.parent = this, Fi(n).repeatDelay || (n.repeat = 0), n.immediateRender = !!n.immediateRender, new we(i, n, kt(this, s), 1), this;
772
+ }, r.call = function(i, n, s) {
773
+ return $t(this, we.delayedCall(0, i, n), s);
774
+ }, r.staggerTo = function(i, n, s, o, u, l, f) {
775
+ return s.duration = n, s.stagger = s.stagger || o, s.onComplete = l, s.onCompleteParams = f, s.parent = this, new we(i, s, kt(this, u)), this;
776
+ }, r.staggerFrom = function(i, n, s, o, u, l, f) {
777
+ return s.runBackwards = 1, Fi(s).immediateRender = at(s.immediateRender), this.staggerTo(i, n, s, o, u, l, f);
778
+ }, r.staggerFromTo = function(i, n, s, o, u, l, f, _) {
779
+ return o.startAt = s, Fi(o).immediateRender = at(o.immediateRender), this.staggerTo(i, n, o, u, l, f, _);
780
+ }, r.render = function(i, n, s) {
781
+ var o = this._time, u = this._dirty ? this.totalDuration() : this._tDur, l = this._dur, f = i <= 0 ? 0 : Se(i), _ = this._zTime < 0 != i < 0 && (this._initted || !l), d, c, p, h, m, b, T, S, v, w, k, x;
782
+ if (this !== le && f > u && i >= 0 && (f = u), f !== this._tTime || s || _) {
783
+ if (o !== this._time && l && (f += this._time - o, i += this._time - o), d = f, v = this._start, S = this._ts, b = !S, _ && (l || (o = this._zTime), (i || !n) && (this._zTime = i)), this._repeat) {
784
+ if (k = this._yoyo, m = l + this._rDelay, this._repeat < -1 && i < 0)
785
+ return this.totalTime(m * 100 + i, n, s);
786
+ if (d = Se(f % m), f === u ? (h = this._repeat, d = l) : (w = Se(f / m), h = ~~w, h && h === w && (d = l, h--), d > l && (d = l)), w = gi(this._tTime, m), !o && this._tTime && w !== h && this._tTime - w * m - this._dur <= 0 && (w = h), k && h & 1 && (d = l - d, x = 1), h !== w && !this._lock) {
787
+ var O = k && w & 1, C = O === (k && h & 1);
788
+ if (h < w && (O = !O), o = O ? 0 : f % l ? l : f, this._lock = 1, this.render(o || (x ? 0 : Se(h * m)), n, !l)._lock = 0, this._tTime = f, !n && this.parent && Tt(this, "onRepeat"), this.vars.repeatRefresh && !x && (this.invalidate()._lock = 1), o && o !== this._time || b !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
789
+ return this;
790
+ if (l = this._dur, u = this._tDur, C && (this._lock = 2, o = O ? l : -1e-4, this.render(o, !0), this.vars.repeatRefresh && !x && this.invalidate()), this._lock = 0, !this._ts && !b)
791
+ return this;
792
+ ya(this, x);
793
+ }
794
+ }
795
+ if (this._hasPause && !this._forcing && this._lock < 2 && (T = Su(this, Se(o), Se(d)), T && (f -= d - (d = T._start))), this._tTime = f, this._time = d, this._act = !S, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = i, o = 0), !o && f && !n && !w && (Tt(this, "onStart"), this._tTime !== f))
796
+ return this;
797
+ if (d >= o && i >= 0)
798
+ for (c = this._first; c; ) {
799
+ if (p = c._next, (c._act || d >= c._start) && c._ts && T !== c) {
800
+ if (c.parent !== this)
801
+ return this.render(i, n, s);
802
+ if (c.render(c._ts > 0 ? (d - c._start) * c._ts : (c._dirty ? c.totalDuration() : c._tDur) + (d - c._start) * c._ts, n, s), d !== this._time || !this._ts && !b) {
803
+ T = 0, p && (f += this._zTime = -re);
804
+ break;
805
+ }
806
+ }
807
+ c = p;
808
+ }
809
+ else {
810
+ c = this._last;
811
+ for (var P = i < 0 ? i : d; c; ) {
812
+ if (p = c._prev, (c._act || P <= c._end) && c._ts && T !== c) {
813
+ if (c.parent !== this)
814
+ return this.render(i, n, s);
815
+ if (c.render(c._ts > 0 ? (P - c._start) * c._ts : (c._dirty ? c.totalDuration() : c._tDur) + (P - c._start) * c._ts, n, s || Ie && Bs(c)), d !== this._time || !this._ts && !b) {
816
+ T = 0, p && (f += this._zTime = P ? -re : re);
817
+ break;
818
+ }
819
+ }
820
+ c = p;
821
+ }
822
+ }
823
+ if (T && !n && (this.pause(), T.render(d >= o ? 0 : -re)._zTime = d >= o ? 1 : -1, this._ts))
824
+ return this._start = v, Vn(this), this.render(i, n, s);
825
+ this._onUpdate && !n && Tt(this, "onUpdate", !0), (f === u && this._tTime >= this.totalDuration() || !f && o) && (v === this._start || Math.abs(S) !== Math.abs(this._ts)) && (this._lock || ((i || !l) && (f === u && this._ts > 0 || !f && this._ts < 0) && wr(this, 1), !n && !(i < 0 && !o) && (f || o || !u) && (Tt(this, f === u && i >= 0 ? "onComplete" : "onReverseComplete", !0), this._prom && !(f < u && this.timeScale() > 0) && this._prom())));
826
+ }
827
+ return this;
828
+ }, r.add = function(i, n) {
829
+ var s = this;
830
+ if (or(n) || (n = kt(this, n, i)), !(i instanceof Zi)) {
831
+ if (He(i))
832
+ return i.forEach(function(o) {
833
+ return s.add(o, n);
834
+ }), this;
835
+ if (Re(i))
836
+ return this.addLabel(i, n);
837
+ if (de(i))
838
+ i = we.delayedCall(0, i);
839
+ else
840
+ return this;
841
+ }
842
+ return this !== i ? $t(this, i, n) : this;
843
+ }, r.getChildren = function(i, n, s, o) {
844
+ i === void 0 && (i = !0), n === void 0 && (n = !0), s === void 0 && (s = !0), o === void 0 && (o = -Mt);
845
+ for (var u = [], l = this._first; l; )
846
+ l._start >= o && (l instanceof we ? n && u.push(l) : (s && u.push(l), i && u.push.apply(u, l.getChildren(!0, n, s)))), l = l._next;
847
+ return u;
848
+ }, r.getById = function(i) {
849
+ for (var n = this.getChildren(1, 1, 1), s = n.length; s--; )
850
+ if (n[s].vars.id === i)
851
+ return n[s];
852
+ }, r.remove = function(i) {
853
+ return Re(i) ? this.removeLabel(i) : de(i) ? this.killTweensOf(i) : (i.parent === this && Xn(this, i), i === this._recent && (this._recent = this._last), Br(this));
854
+ }, r.totalTime = function(i, n) {
855
+ return arguments.length ? (this._forcing = 1, !this._dp && this._ts && (this._start = Se(vt.time - (this._ts > 0 ? i / this._ts : (this.totalDuration() - i) / -this._ts))), a.prototype.totalTime.call(this, i, n), this._forcing = 0, this) : this._tTime;
856
+ }, r.addLabel = function(i, n) {
857
+ return this.labels[i] = kt(this, n), this;
858
+ }, r.removeLabel = function(i) {
859
+ return delete this.labels[i], this;
860
+ }, r.addPause = function(i, n, s) {
861
+ var o = we.delayedCall(0, n || qi, s);
862
+ return o.data = "isPause", this._hasPause = 1, $t(this, o, kt(this, i));
863
+ }, r.removePause = function(i) {
864
+ var n = this._first;
865
+ for (i = kt(this, i); n; )
866
+ n._start === i && n.data === "isPause" && wr(n), n = n._next;
867
+ }, r.killTweensOf = function(i, n, s) {
868
+ for (var o = this.getTweensOf(i, s), u = o.length; u--; )
869
+ pr !== o[u] && o[u].kill(i, n);
870
+ return this;
871
+ }, r.getTweensOf = function(i, n) {
872
+ for (var s = [], o = Dt(i), u = this._first, l = or(n), f; u; )
873
+ u instanceof we ? mu(u._targets, o) && (l ? (!pr || u._initted && u._ts) && u.globalTime(0) <= n && u.globalTime(u.totalDuration()) > n : !n || u.isActive()) && s.push(u) : (f = u.getTweensOf(o, n)).length && s.push.apply(s, f), u = u._next;
874
+ return s;
875
+ }, r.tweenTo = function(i, n) {
876
+ n = n || {};
877
+ var s = this, o = kt(s, i), u = n, l = u.startAt, f = u.onStart, _ = u.onStartParams, d = u.immediateRender, c, p = we.to(s, St({
878
+ ease: n.ease || "none",
879
+ lazy: !1,
880
+ immediateRender: !1,
881
+ time: o,
882
+ overwrite: "auto",
883
+ duration: n.duration || Math.abs((o - (l && "time" in l ? l.time : s._time)) / s.timeScale()) || re,
884
+ onStart: function() {
885
+ if (s.pause(), !c) {
886
+ var m = n.duration || Math.abs((o - (l && "time" in l ? l.time : s._time)) / s.timeScale());
887
+ p._dur !== m && mi(p, m, 0, 1).render(p._time, !0, !0), c = 1;
888
+ }
889
+ f && f.apply(p, _ || []);
890
+ }
891
+ }, n));
892
+ return d ? p.render(0) : p;
893
+ }, r.tweenFromTo = function(i, n, s) {
894
+ return this.tweenTo(n, St({
895
+ startAt: {
896
+ time: kt(this, i)
897
+ }
898
+ }, s));
899
+ }, r.recent = function() {
900
+ return this._recent;
901
+ }, r.nextLabel = function(i) {
902
+ return i === void 0 && (i = this._time), lo(this, kt(this, i));
903
+ }, r.previousLabel = function(i) {
904
+ return i === void 0 && (i = this._time), lo(this, kt(this, i), 1);
905
+ }, r.currentLabel = function(i) {
906
+ return arguments.length ? this.seek(i, !0) : this.previousLabel(this._time + re);
907
+ }, r.shiftChildren = function(i, n, s) {
908
+ s === void 0 && (s = 0);
909
+ for (var o = this._first, u = this.labels, l; o; )
910
+ o._start >= s && (o._start += i, o._end += i), o = o._next;
911
+ if (n)
912
+ for (l in u)
913
+ u[l] >= s && (u[l] += i);
914
+ return Br(this);
915
+ }, r.invalidate = function(i) {
916
+ var n = this._first;
917
+ for (this._lock = 0; n; )
918
+ n.invalidate(i), n = n._next;
919
+ return a.prototype.invalidate.call(this, i);
920
+ }, r.clear = function(i) {
921
+ i === void 0 && (i = !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), i && (this.labels = {}), Br(this);
925
+ }, r.totalDuration = function(i) {
926
+ var n = 0, s = this, o = s._last, u = Mt, l, f, _;
927
+ if (arguments.length)
928
+ return s.timeScale((s._repeat < 0 ? s.duration() : s.totalDuration()) / (s.reversed() ? -i : i));
929
+ if (s._dirty) {
930
+ for (_ = s.parent; o; )
931
+ l = o._prev, o._dirty && o.totalDuration(), f = o._start, f > u && s._sort && o._ts && !s._lock ? (s._lock = 1, $t(s, o, f - o._delay, 1)._lock = 0) : u = f, f < 0 && o._ts && (n -= f, (!_ && !s._dp || _ && _.smoothChildTiming) && (s._start += f / s._ts, s._time -= f, s._tTime -= f), s.shiftChildren(-f, !1, -1 / 0), u = 0), o._end > n && o._ts && (n = o._end), o = l;
932
+ mi(s, s === le && s._time > n ? s._time : n, 1, 1), s._dirty = 0;
933
+ }
934
+ return s._tDur;
935
+ }, e.updateRoot = function(i) {
936
+ if (le._ts && (Jo(le, Rn(i, le)), Qo = vt.frame), vt.frame >= so) {
937
+ so += bt.autoSleep || 120;
938
+ var n = le._first;
939
+ if ((!n || !n._ts) && bt.autoSleep && vt._listeners.length < 2) {
940
+ for (; n && !n._ts; )
941
+ n = n._next;
942
+ n || vt.sleep();
943
+ }
944
+ }
945
+ }, e;
946
+ })(Zi);
947
+ St(rt.prototype, {
948
+ _lock: 0,
949
+ _hasPause: 0,
950
+ _forcing: 0
951
+ });
952
+ var Bu = function(e, r, t, i, n, s, o) {
953
+ var u = new lt(this._pt, e, r, 0, 1, ka, null, n), l = 0, f = 0, _, d, c, p, h, m, b, T;
954
+ for (u.b = t, u.e = i, t += "", i += "", (b = ~i.indexOf("random(")) && (i = Ki(i)), s && (T = [t, i], s(T, e, r), t = T[0], i = T[1]), d = t.match(Gn) || []; _ = Gn.exec(i); )
955
+ p = _[0], h = i.substring(l, _.index), c ? c = (c + 1) % 5 : h.substr(-5) === "rgba(" && (c = 1), p !== d[f++] && (m = parseFloat(d[f - 1]) || 0, u._pt = {
956
+ _next: u._pt,
957
+ p: h || f === 1 ? h : ",",
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: m,
960
+ c: p.charAt(1) === "=" ? ui(m, p) - m : parseFloat(p) - m,
961
+ m: c && c < 4 ? Math.round : 0
962
+ }, l = Gn.lastIndex);
963
+ return u.c = l < i.length ? i.substring(l, i.length) : "", u.fp = o, ($o.test(i) || b) && (u.e = 0), this._pt = u, u;
964
+ }, Xs = function(e, r, t, i, n, s, o, u, l, f) {
965
+ de(i) && (i = i(n || 0, e, s));
966
+ var _ = e[r], d = t !== "get" ? t : de(_) ? l ? e[r.indexOf("set") || !de(e["get" + r.substr(3)]) ? r : "get" + r.substr(3)](l) : e[r]() : _, c = de(_) ? l ? $u : Sa : Us, p;
967
+ if (Re(i) && (~i.indexOf("random(") && (i = Ki(i)), i.charAt(1) === "=" && (p = ui(d, i) + ($e(d) || 0), (p || p === 0) && (i = p))), !f || d !== i || gs)
968
+ return !isNaN(d * i) && i !== "" ? (p = new lt(this._pt, e, r, +d || 0, i - (d || 0), typeof _ == "boolean" ? Hu : Ca, 0, c), l && (p.fp = l), o && p.modifier(o, this, e), this._pt = p) : (!_ && !(r in e) && Ls(r, i), Bu.call(this, e, r, d, i, c, u || bt.stringFilter, l));
969
+ }, Xu = function(e, r, t, i, n) {
970
+ if (de(e) && (e = Ii(e, n, r, t, i)), !Kt(e) || e.style && e.nodeType || He(e) || Uo(e))
971
+ return Re(e) ? Ii(e, n, r, t, i) : e;
972
+ var s = {}, o;
973
+ for (o in e)
974
+ s[o] = Ii(e[o], n, r, t, i);
975
+ return s;
976
+ }, Ta = function(e, r, t, i, n, s) {
977
+ var o, u, l, f;
978
+ if (mt[e] && (o = new mt[e]()).init(n, o.rawVars ? r[e] : Xu(r[e], i, n, s, t), t, i, s) !== !1 && (t._pt = u = new lt(t._pt, n, e, 0, 1, o.render, o, 0, o.priority), t !== oi))
979
+ for (l = t._ptLookup[t._targets.indexOf(n)], f = o._props.length; f--; )
980
+ l[o._props[f]] = u;
981
+ return o;
982
+ }, pr, gs, Vs = function a(e, r, t) {
983
+ var i = e.vars, n = i.ease, s = i.startAt, o = i.immediateRender, u = i.lazy, l = i.onUpdate, f = i.runBackwards, _ = i.yoyoEase, d = i.keyframes, c = i.autoRevert, p = e._dur, h = e._startAt, m = e._targets, b = e.parent, T = b && b.data === "nested" ? b.vars.targets : m, S = e._overwrite === "auto" && !Rs, v = e.timeline, w, k, x, O, C, P, F, M, W, V, K, $, z;
984
+ if (v && (!d || !n) && (n = "none"), e._ease = Xr(n, di.ease), e._yEase = _ ? ma(Xr(_ === !0 ? n : _, di.ease)) : 0, _ && e._yoyo && !e._repeat && (_ = e._yEase, e._yEase = e._ease, e._ease = _), e._from = !v && !!i.runBackwards, !v || d && !i.stagger) {
985
+ if (M = m[0] ? Yr(m[0]).harness : 0, $ = M && i[M.prop], w = En(i, Is), h && (h._zTime < 0 && h.progress(1), r < 0 && f && o && !c ? h.render(-1, !0) : h.revert(f && p ? xn : pu), h._lazy = 0), s) {
986
+ if (wr(e._startAt = we.set(m, St({
987
+ data: "isStart",
988
+ overwrite: !1,
989
+ parent: b,
990
+ immediateRender: !0,
991
+ lazy: !h && at(u),
992
+ startAt: null,
993
+ delay: 0,
994
+ onUpdate: l && function() {
995
+ return Tt(e, "onUpdate");
996
+ },
997
+ stagger: 0
998
+ }, s))), e._startAt._dp = 0, e._startAt._sat = e, r < 0 && (Ie || !o && !c) && e._startAt.revert(xn), o && p && r <= 0 && t <= 0) {
999
+ r && (e._zTime = r);
1000
+ return;
1001
+ }
1002
+ } else if (f && p && !h) {
1003
+ if (r && (o = !1), x = St({
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: o && !h && at(u),
1008
+ immediateRender: o,
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: b
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
+ }, w), $ && (x[M.prop] = $), wr(e._startAt = we.set(m, x)), e._startAt._dp = 0, e._startAt._sat = e, r < 0 && (Ie ? e._startAt.revert(xn) : e._startAt.render(-1, !0)), e._zTime = r, !o)
1014
+ a(e._startAt, re, re);
1015
+ else if (!r)
1016
+ return;
1017
+ }
1018
+ for (e._pt = e._ptCache = 0, u = p && at(u) || u && !p, k = 0; k < m.length; k++) {
1019
+ if (C = m[k], F = C._gsap || Ys(m)[k]._gsap, e._ptLookup[k] = V = {}, fs[F.id] && xr.length && Dn(), K = T === m ? k : T.indexOf(C), M && (W = new M()).init(C, $ || w, e, K, T) !== !1 && (e._pt = O = new lt(e._pt, C, W.name, 0, 1, W.render, W, 0, W.priority), W._props.forEach(function(Z) {
1020
+ V[Z] = O;
1021
+ }), W.priority && (P = 1)), !M || $)
1022
+ for (x in w)
1023
+ mt[x] && (W = Ta(x, w, e, K, C, T)) ? W.priority && (P = 1) : V[x] = O = Xs.call(e, C, x, "get", w[x], K, T, 0, i.stringFilter);
1024
+ e._op && e._op[k] && e.kill(C, e._op[k]), S && e._pt && (pr = e, le.killTweensOf(C, V, e.globalTime(r)), z = !e.parent, pr = 0), e._pt && u && (fs[F.id] = 1);
1025
+ }
1026
+ P && Pa(e), e._onInit && e._onInit(e);
1027
+ }
1028
+ e._onUpdate = l, e._initted = (!e._op || e._pt) && !z, d && r <= 0 && v.render(Mt, !0, !0);
1029
+ }, Vu = function(e, r, t, i, n, s, o, u) {
1030
+ var l = (e._pt && e._ptCache || (e._ptCache = {}))[r], f, _, d, c;
1031
+ if (!l)
1032
+ for (l = e._ptCache[r] = [], d = e._ptLookup, c = e._targets.length; c--; ) {
1033
+ if (f = d[c][r], f && f.d && f.d._pt)
1034
+ for (f = f.d._pt; f && f.p !== r && f.fp !== r; )
1035
+ f = f._next;
1036
+ if (!f)
1037
+ return gs = 1, e.vars[r] = "+=0", Vs(e, o), gs = 0, u ? Hi(r + " not eligible for reset") : 1;
1038
+ l.push(f);
1039
+ }
1040
+ for (c = l.length; c--; )
1041
+ _ = l[c], f = _._pt || _, f.s = (i || i === 0) && !n ? i : f.s + (i || 0) + s * f.c, f.c = t - f.s, _.e && (_.e = ye(t) + $e(_.e)), _.b && (_.b = f.s + $e(_.b));
1042
+ }, Uu = function(e, r) {
1043
+ var t = e[0] ? Yr(e[0]).harness : 0, i = t && t.aliases, n, s, o, u;
1044
+ if (!i)
1045
+ return r;
1046
+ n = pi({}, r);
1047
+ for (s in i)
1048
+ if (s in n)
1049
+ for (u = i[s].split(","), o = u.length; o--; )
1050
+ n[u[o]] = n[s];
1051
+ return n;
1052
+ }, Wu = function(e, r, t, i) {
1053
+ var n = r.ease || i || "power1.inOut", s, o;
1054
+ if (He(r))
1055
+ o = t[e] || (t[e] = []), r.forEach(function(u, l) {
1056
+ return o.push({
1057
+ t: l / (r.length - 1) * 100,
1058
+ v: u,
1059
+ e: n
1060
+ });
1061
+ });
1062
+ else
1063
+ for (s in r)
1064
+ o = t[s] || (t[s] = []), s === "ease" || o.push({
1065
+ t: parseFloat(e),
1066
+ v: r[s],
1067
+ e: n
1068
+ });
1069
+ }, Ii = function(e, r, t, i, n) {
1070
+ return de(e) ? e.call(r, t, i, n) : Re(e) && ~e.indexOf("random(") ? Ki(e) : e;
1071
+ }, ba = Ns + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", wa = {};
1072
+ ut(ba + ",id,stagger,delay,duration,paused,scrollTrigger", function(a) {
1073
+ return wa[a] = 1;
1074
+ });
1075
+ var we = /* @__PURE__ */ (function(a) {
1076
+ Xo(e, a);
1077
+ function e(t, i, n, s) {
1078
+ var o;
1079
+ typeof i == "number" && (n.duration = i, i = n, n = null), o = a.call(this, s ? i : Fi(i)) || this;
1080
+ var u = o.vars, l = u.duration, f = u.delay, _ = u.immediateRender, d = u.stagger, c = u.overwrite, p = u.keyframes, h = u.defaults, m = u.scrollTrigger, b = u.yoyoEase, T = i.parent || le, S = (He(t) || Uo(t) ? or(t[0]) : "length" in i) ? [t] : Dt(t), v, w, k, x, O, C, P, F;
1081
+ if (o._targets = S.length ? Ys(S) : Hi("GSAP target " + t + " not found. https://gsap.com", !bt.nullTargetWarn) || [], o._ptLookup = [], o._overwrite = c, p || d || an(l) || an(f)) {
1082
+ if (i = o.vars, v = o.timeline = new rt({
1083
+ data: "nested",
1084
+ defaults: h || {},
1085
+ targets: T && T.data === "nested" ? T.vars.targets : S
1086
+ }), v.kill(), v.parent = v._dp = tr(o), v._start = 0, d || an(l) || an(f)) {
1087
+ if (x = S.length, P = d && aa(d), Kt(d))
1088
+ for (O in d)
1089
+ ~ba.indexOf(O) && (F || (F = {}), F[O] = d[O]);
1090
+ for (w = 0; w < x; w++)
1091
+ k = En(i, wa), k.stagger = 0, b && (k.yoyoEase = b), F && pi(k, F), C = S[w], k.duration = +Ii(l, tr(o), w, C, S), k.delay = (+Ii(f, tr(o), w, C, S) || 0) - o._delay, !d && x === 1 && k.delay && (o._delay = f = k.delay, o._start += f, k.delay = 0), v.to(C, k, P ? P(w, C, S) : 0), v._ease = q.none;
1092
+ v.duration() ? l = f = 0 : o.timeline = 0;
1093
+ } else if (p) {
1094
+ Fi(St(v.vars.defaults, {
1095
+ ease: "none"
1096
+ })), v._ease = Xr(p.ease || i.ease || "none");
1097
+ var M = 0, W, V, K;
1098
+ if (He(p))
1099
+ p.forEach(function($) {
1100
+ return v.to(S, $, ">");
1101
+ }), v.duration();
1102
+ else {
1103
+ k = {};
1104
+ for (O in p)
1105
+ O === "ease" || O === "easeEach" || Wu(O, p[O], k, p.easeEach);
1106
+ for (O in k)
1107
+ for (W = k[O].sort(function($, z) {
1108
+ return $.t - z.t;
1109
+ }), M = 0, w = 0; w < W.length; w++)
1110
+ V = W[w], K = {
1111
+ ease: V.e,
1112
+ duration: (V.t - (w ? W[w - 1].t : 0)) / 100 * l
1113
+ }, K[O] = V.v, v.to(S, K, M), M += K.duration;
1114
+ v.duration() < l && v.to({}, {
1115
+ duration: l - v.duration()
1116
+ });
1117
+ }
1118
+ }
1119
+ l || o.duration(l = v.duration());
1120
+ } else
1121
+ o.timeline = 0;
1122
+ return c === !0 && !Rs && (pr = tr(o), le.killTweensOf(S), pr = 0), $t(T, tr(o), n), i.reversed && o.reverse(), i.paused && o.paused(!0), (_ || !l && !p && o._start === Se(T._time) && at(_) && Tu(tr(o)) && T.data !== "nested") && (o._tTime = -re, o.render(Math.max(0, -f) || 0)), m && ia(tr(o), m), o;
1123
+ }
1124
+ var r = e.prototype;
1125
+ return r.render = function(i, n, s) {
1126
+ var o = this._time, u = this._tDur, l = this._dur, f = i < 0, _ = i > u - re && !f ? u : i < re ? 0 : i, d, c, p, h, m, b, T, S, v;
1127
+ if (!l)
1128
+ wu(this, i, n, s);
1129
+ else if (_ !== this._tTime || !i || s || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== f || this._lazy) {
1130
+ if (d = _, S = this.timeline, this._repeat) {
1131
+ if (h = l + this._rDelay, this._repeat < -1 && f)
1132
+ return this.totalTime(h * 100 + i, n, s);
1133
+ if (d = Se(_ % h), _ === u ? (p = this._repeat, d = l) : (m = Se(_ / h), p = ~~m, p && p === m ? (d = l, p--) : d > l && (d = l)), b = this._yoyo && p & 1, b && (v = this._yEase, d = l - d), m = gi(this._tTime, h), d === o && !s && this._initted && p === m)
1134
+ return this._tTime = _, this;
1135
+ p !== m && (S && this._yEase && ya(S, b), this.vars.repeatRefresh && !b && !this._lock && d !== h && this._initted && (this._lock = s = 1, this.render(Se(h * p), !0).invalidate()._lock = 0));
1136
+ }
1137
+ if (!this._initted) {
1138
+ if (na(this, f ? i : d, s, n, _))
1139
+ return this._tTime = 0, this;
1140
+ if (o !== this._time && !(s && this.vars.repeatRefresh && p !== m))
1141
+ return this;
1142
+ if (l !== this._dur)
1143
+ return this.render(i, n, s);
1144
+ }
1145
+ if (this._tTime = _, this._time = d, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = T = (v || this._ease)(d / l), this._from && (this.ratio = T = 1 - T), !o && _ && !n && !m && (Tt(this, "onStart"), this._tTime !== _))
1146
+ return this;
1147
+ for (c = this._pt; c; )
1148
+ c.r(T, c.d), c = c._next;
1149
+ S && S.render(i < 0 ? i : S._dur * S._ease(d / this._dur), n, s) || this._startAt && (this._zTime = i), this._onUpdate && !n && (f && cs(this, i, n, s), Tt(this, "onUpdate")), this._repeat && p !== m && this.vars.onRepeat && !n && this.parent && Tt(this, "onRepeat"), (_ === this._tDur || !_) && this._tTime === _ && (f && !this._onUpdate && cs(this, i, !0, !0), (i || !l) && (_ === this._tDur && this._ts > 0 || !_ && this._ts < 0) && wr(this, 1), !n && !(f && !o) && (_ || o || b) && (Tt(this, _ === u ? "onComplete" : "onReverseComplete", !0), this._prom && !(_ < u && this.timeScale() > 0) && this._prom()));
1150
+ }
1151
+ return this;
1152
+ }, r.targets = function() {
1153
+ return this._targets;
1154
+ }, r.invalidate = function(i) {
1155
+ return (!i || !this.vars.runBackwards) && (this._startAt = 0), this._pt = this._op = this._onUpdate = this._lazy = this.ratio = 0, this._ptLookup = [], this.timeline && this.timeline.invalidate(i), a.prototype.invalidate.call(this, i);
1156
+ }, r.resetTo = function(i, n, s, o, u) {
1157
+ Qi || vt.wake(), this._ts || this.play();
1158
+ var l = Math.min(this._dur, (this._dp._time - this._start) * this._ts), f;
1159
+ return this._initted || Vs(this, l), f = this._ease(l / this._dur), Vu(this, i, n, s, o, f, l, u) ? this.resetTo(i, n, s, o, 1) : (Un(this, 0), this.parent || ta(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
1160
+ }, r.kill = function(i, n) {
1161
+ if (n === void 0 && (n = "all"), !i && (!n || n === "all"))
1162
+ return this._lazy = this._pt = 0, this.parent ? Oi(this) : this.scrollTrigger && this.scrollTrigger.kill(!!Ie), this;
1163
+ if (this.timeline) {
1164
+ var s = this.timeline.totalDuration();
1165
+ return this.timeline.killTweensOf(i, n, pr && pr.vars.overwrite !== !0)._first || Oi(this), this.parent && s !== this.timeline.totalDuration() && mi(this, this._dur * this.timeline._tDur / s, 0, 1), this;
1166
+ }
1167
+ var o = this._targets, u = i ? Dt(i) : o, l = this._ptLookup, f = this._pt, _, d, c, p, h, m, b;
1168
+ if ((!n || n === "all") && vu(o, u))
1169
+ return n === "all" && (this._pt = 0), Oi(this);
1170
+ for (_ = this._op = this._op || [], n !== "all" && (Re(n) && (h = {}, ut(n, function(T) {
1171
+ return h[T] = 1;
1172
+ }), n = h), n = Uu(o, n)), b = o.length; b--; )
1173
+ if (~u.indexOf(o[b])) {
1174
+ d = l[b], n === "all" ? (_[b] = n, p = d, c = {}) : (c = _[b] = _[b] || {}, p = n);
1175
+ for (h in p)
1176
+ m = d && d[h], m && ((!("kill" in m.d) || m.d.kill(h) === !0) && Xn(this, m, "_pt"), delete d[h]), c !== "all" && (c[h] = 1);
1177
+ }
1178
+ return this._initted && !this._pt && f && Oi(this), this;
1179
+ }, e.to = function(i, n) {
1180
+ return new e(i, n, arguments[2]);
1181
+ }, e.from = function(i, n) {
1182
+ return Li(1, arguments);
1183
+ }, e.delayedCall = function(i, n, s, o) {
1184
+ return new e(n, 0, {
1185
+ immediateRender: !1,
1186
+ lazy: !1,
1187
+ overwrite: !1,
1188
+ delay: i,
1189
+ onComplete: n,
1190
+ onReverseComplete: n,
1191
+ onCompleteParams: s,
1192
+ onReverseCompleteParams: s,
1193
+ callbackScope: o
1194
+ });
1195
+ }, e.fromTo = function(i, n, s) {
1196
+ return Li(2, arguments);
1197
+ }, e.set = function(i, n) {
1198
+ return n.duration = 0, n.repeatDelay || (n.repeat = 0), new e(i, n);
1199
+ }, e.killTweensOf = function(i, n, s) {
1200
+ return le.killTweensOf(i, n, s);
1201
+ }, e;
1202
+ })(Zi);
1203
+ St(we.prototype, {
1204
+ _targets: [],
1205
+ _lazy: 0,
1206
+ _startAt: 0,
1207
+ _op: 0,
1208
+ _onInit: 0
1209
+ });
1210
+ ut("staggerTo,staggerFrom,staggerFromTo", function(a) {
1211
+ we[a] = function() {
1212
+ var e = new rt(), r = _s.call(arguments, 0);
1213
+ return r.splice(a === "staggerFromTo" ? 5 : 4, 0, 0), e[a].apply(e, r);
1214
+ };
1215
+ });
1216
+ var Us = function(e, r, t) {
1217
+ return e[r] = t;
1218
+ }, Sa = function(e, r, t) {
1219
+ return e[r](t);
1220
+ }, $u = function(e, r, t, i) {
1221
+ return e[r](i.fp, t);
1222
+ }, Gu = function(e, r, t) {
1223
+ return e.setAttribute(r, t);
1224
+ }, Ws = function(e, r) {
1225
+ return de(e[r]) ? Sa : As(e[r]) && e.setAttribute ? Gu : Us;
1226
+ }, Ca = function(e, r) {
1227
+ return r.set(r.t, r.p, Math.round((r.s + r.c * e) * 1e6) / 1e6, r);
1228
+ }, Hu = function(e, r) {
1229
+ return r.set(r.t, r.p, !!(r.s + r.c * e), r);
1230
+ }, ka = function(e, r) {
1231
+ var t = r._pt, i = "";
1232
+ if (!e && r.b)
1233
+ i = r.b;
1234
+ else if (e === 1 && r.e)
1235
+ i = r.e;
1236
+ else {
1237
+ for (; t; )
1238
+ i = t.p + (t.m ? t.m(t.s + t.c * e) : Math.round((t.s + t.c * e) * 1e4) / 1e4) + i, t = t._next;
1239
+ i += r.c;
1240
+ }
1241
+ r.set(r.t, r.p, i, r);
1242
+ }, $s = function(e, r) {
1243
+ for (var t = r._pt; t; )
1244
+ t.r(e, t.d), t = t._next;
1245
+ }, qu = function(e, r, t, i) {
1246
+ for (var n = this._pt, s; n; )
1247
+ s = n._next, n.p === i && n.modifier(e, r, t), n = s;
1248
+ }, Ku = function(e) {
1249
+ for (var r = this._pt, t, i; r; )
1250
+ i = r._next, r.p === e && !r.op || r.op === e ? Xn(this, r, "_pt") : r.dep || (t = 1), r = i;
1251
+ return !t;
1252
+ }, Qu = function(e, r, t, i) {
1253
+ i.mSet(e, r, i.m.call(i.tween, t, i.mt), i);
1254
+ }, Pa = function(e) {
1255
+ for (var r = e._pt, t, i, n, s; r; ) {
1256
+ for (t = r._next, i = n; i && i.pr > r.pr; )
1257
+ i = i._next;
1258
+ (r._prev = i ? i._prev : s) ? r._prev._next = r : n = r, (r._next = i) ? i._prev = r : s = r, r = t;
1259
+ }
1260
+ e._pt = n;
1261
+ }, lt = /* @__PURE__ */ (function() {
1262
+ function a(r, t, i, n, s, o, u, l, f) {
1263
+ this.t = t, this.s = n, this.c = s, this.p = i, this.r = o || Ca, this.d = u || this, this.set = l || Us, this.pr = f || 0, this._next = r, r && (r._prev = this);
1264
+ }
1265
+ var e = a.prototype;
1266
+ return e.modifier = function(t, i, n) {
1267
+ this.mSet = this.mSet || this.set, this.set = Qu, this.m = t, this.mt = n, this.tween = i;
1268
+ }, a;
1269
+ })();
1270
+ ut(Ns + "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(a) {
1271
+ return Is[a] = 1;
1272
+ });
1273
+ wt.TweenMax = wt.TweenLite = we;
1274
+ wt.TimelineLite = wt.TimelineMax = rt;
1275
+ le = new rt({
1276
+ sortChildren: !1,
1277
+ defaults: di,
1278
+ autoRemoveChildren: !0,
1279
+ id: "root",
1280
+ smoothChildTiming: !0
1281
+ });
1282
+ bt.stringFilter = ga;
1283
+ var Vr = [], bn = {}, Zu = [], co = 0, Ju = 0, Zn = function(e) {
1284
+ return (bn[e] || Zu).map(function(r) {
1285
+ return r();
1286
+ });
1287
+ }, ms = function() {
1288
+ var e = Date.now(), r = [];
1289
+ e - co > 2 && (Zn("matchMediaInit"), Vr.forEach(function(t) {
1290
+ var i = t.queries, n = t.conditions, s, o, u, l;
1291
+ for (o in i)
1292
+ s = Ut.matchMedia(i[o]).matches, s && (u = 1), s !== n[o] && (n[o] = s, l = 1);
1293
+ l && (t.revert(), u && r.push(t));
1294
+ }), Zn("matchMediaRevert"), r.forEach(function(t) {
1295
+ return t.onMatch(t, function(i) {
1296
+ return t.add(null, i);
1297
+ });
1298
+ }), co = e, Zn("matchMedia"));
1299
+ }, Oa = /* @__PURE__ */ (function() {
1300
+ function a(r, t) {
1301
+ this.selector = t && ds(t), this.data = [], this._r = [], this.isReverted = !1, this.id = Ju++, r && this.add(r);
1302
+ }
1303
+ var e = a.prototype;
1304
+ return e.add = function(t, i, n) {
1305
+ de(t) && (n = i, i = t, t = de);
1306
+ var s = this, o = function() {
1307
+ var l = ae, f = s.selector, _;
1308
+ return l && l !== s && l.data.push(s), n && (s.selector = ds(n)), ae = s, _ = i.apply(s, arguments), de(_) && s._r.push(_), ae = l, s.selector = f, s.isReverted = !1, _;
1309
+ };
1310
+ return s.last = o, t === de ? o(s, function(u) {
1311
+ return s.add(null, u);
1312
+ }) : t ? s[t] = o : o;
1313
+ }, e.ignore = function(t) {
1314
+ var i = ae;
1315
+ ae = null, t(this), ae = i;
1316
+ }, e.getTweens = function() {
1317
+ var t = [];
1318
+ return this.data.forEach(function(i) {
1319
+ return i instanceof a ? t.push.apply(t, i.getTweens()) : i instanceof we && !(i.parent && i.parent.data === "nested") && t.push(i);
1320
+ }), t;
1321
+ }, e.clear = function() {
1322
+ this._r.length = this.data.length = 0;
1323
+ }, e.kill = function(t, i) {
1324
+ var n = this;
1325
+ if (t ? (function() {
1326
+ for (var o = n.getTweens(), u = n.data.length, l; u--; )
1327
+ l = n.data[u], l.data === "isFlip" && (l.revert(), l.getChildren(!0, !0, !1).forEach(function(f) {
1328
+ return o.splice(o.indexOf(f), 1);
1329
+ }));
1330
+ for (o.map(function(f) {
1331
+ return {
1332
+ g: f._dur || f._delay || f._sat && !f._sat.vars.immediateRender ? f.globalTime(0) : -1 / 0,
1333
+ t: f
1334
+ };
1335
+ }).sort(function(f, _) {
1336
+ return _.g - f.g || -1 / 0;
1337
+ }).forEach(function(f) {
1338
+ return f.t.revert(t);
1339
+ }), u = n.data.length; u--; )
1340
+ l = n.data[u], l instanceof rt ? l.data !== "nested" && (l.scrollTrigger && l.scrollTrigger.revert(), l.kill()) : !(l instanceof we) && l.revert && l.revert(t);
1341
+ n._r.forEach(function(f) {
1342
+ return f(t, n);
1343
+ }), n.isReverted = !0;
1344
+ })() : this.data.forEach(function(o) {
1345
+ return o.kill && o.kill();
1346
+ }), this.clear(), i)
1347
+ for (var s = Vr.length; s--; )
1348
+ Vr[s].id === this.id && Vr.splice(s, 1);
1349
+ }, e.revert = function(t) {
1350
+ this.kill(t || {});
1351
+ }, a;
1352
+ })(), ju = /* @__PURE__ */ (function() {
1353
+ function a(r) {
1354
+ this.contexts = [], this.scope = r, ae && ae.data.push(this);
1355
+ }
1356
+ var e = a.prototype;
1357
+ return e.add = function(t, i, n) {
1358
+ Kt(t) || (t = {
1359
+ matches: t
1360
+ });
1361
+ var s = new Oa(0, n || this.scope), o = s.conditions = {}, u, l, f;
1362
+ ae && !s.selector && (s.selector = ae.selector), this.contexts.push(s), i = s.add("onMatch", i), s.queries = t;
1363
+ for (l in t)
1364
+ l === "all" ? f = 1 : (u = Ut.matchMedia(t[l]), u && (Vr.indexOf(s) < 0 && Vr.push(s), (o[l] = u.matches) && (f = 1), u.addListener ? u.addListener(ms) : u.addEventListener("change", ms)));
1365
+ return f && i(s, function(_) {
1366
+ return s.add(null, _);
1367
+ }), this;
1368
+ }, e.revert = function(t) {
1369
+ this.kill(t || {});
1370
+ }, e.kill = function(t) {
1371
+ this.contexts.forEach(function(i) {
1372
+ return i.kill(t, !0);
1373
+ });
1374
+ }, a;
1375
+ })(), An = {
1376
+ registerPlugin: function() {
1377
+ for (var e = arguments.length, r = new Array(e), t = 0; t < e; t++)
1378
+ r[t] = arguments[t];
1379
+ r.forEach(function(i) {
1380
+ return _a(i);
1381
+ });
1382
+ },
1383
+ timeline: function(e) {
1384
+ return new rt(e);
1385
+ },
1386
+ getTweensOf: function(e, r) {
1387
+ return le.getTweensOf(e, r);
1388
+ },
1389
+ getProperty: function(e, r, t, i) {
1390
+ Re(e) && (e = Dt(e)[0]);
1391
+ var n = Yr(e || {}).get, s = t ? ea : jo;
1392
+ return t === "native" && (t = ""), e && (r ? s((mt[r] && mt[r].get || n)(e, r, t, i)) : function(o, u, l) {
1393
+ return s((mt[o] && mt[o].get || n)(e, o, u, l));
1394
+ });
1395
+ },
1396
+ quickSetter: function(e, r, t) {
1397
+ if (e = Dt(e), e.length > 1) {
1398
+ var i = e.map(function(f) {
1399
+ return ct.quickSetter(f, r, t);
1400
+ }), n = i.length;
1401
+ return function(f) {
1402
+ for (var _ = n; _--; )
1403
+ i[_](f);
1404
+ };
1405
+ }
1406
+ e = e[0] || {};
1407
+ var s = mt[r], o = Yr(e), u = o.harness && (o.harness.aliases || {})[r] || r, l = s ? function(f) {
1408
+ var _ = new s();
1409
+ oi._pt = 0, _.init(e, t ? f + t : f, oi, 0, [e]), _.render(1, _), oi._pt && $s(1, oi);
1410
+ } : o.set(e, u);
1411
+ return s ? l : function(f) {
1412
+ return l(e, u, t ? f + t : f, o, 1);
1413
+ };
1414
+ },
1415
+ quickTo: function(e, r, t) {
1416
+ var i, n = ct.to(e, St((i = {}, i[r] = "+=0.1", i.paused = !0, i.stagger = 0, i), t || {})), s = function(u, l, f) {
1417
+ return n.resetTo(r, u, l, f);
1418
+ };
1419
+ return s.tween = n, s;
1420
+ },
1421
+ isTweening: function(e) {
1422
+ return le.getTweensOf(e, !0).length > 0;
1423
+ },
1424
+ defaults: function(e) {
1425
+ return e && e.ease && (e.ease = Xr(e.ease, di.ease)), oo(di, e || {});
1426
+ },
1427
+ config: function(e) {
1428
+ return oo(bt, e || {});
1429
+ },
1430
+ registerEffect: function(e) {
1431
+ var r = e.name, t = e.effect, i = e.plugins, n = e.defaults, s = e.extendTimeline;
1432
+ (i || "").split(",").forEach(function(o) {
1433
+ return o && !mt[o] && !wt[o] && Hi(r + " effect requires " + o + " plugin.");
1434
+ }), Hn[r] = function(o, u, l) {
1435
+ return t(Dt(o), St(u || {}, n), l);
1436
+ }, s && (rt.prototype[r] = function(o, u, l) {
1437
+ return this.add(Hn[r](o, Kt(u) ? u : (l = u) && {}, this), l);
1438
+ });
1439
+ },
1440
+ registerEase: function(e, r) {
1441
+ q[e] = Xr(r);
1442
+ },
1443
+ parseEase: function(e, r) {
1444
+ return arguments.length ? Xr(e, r) : q;
1445
+ },
1446
+ getById: function(e) {
1447
+ return le.getById(e);
1448
+ },
1449
+ exportRoot: function(e, r) {
1450
+ e === void 0 && (e = {});
1451
+ var t = new rt(e), i, n;
1452
+ for (t.smoothChildTiming = at(e.smoothChildTiming), le.remove(t), t._dp = 0, t._time = t._tTime = le._time, i = le._first; i; )
1453
+ n = i._next, (r || !(!i._dur && i instanceof we && i.vars.onComplete === i._targets[0])) && $t(t, i, i._start - i._delay), i = n;
1454
+ return $t(le, t, 0), t;
1455
+ },
1456
+ context: function(e, r) {
1457
+ return e ? new Oa(e, r) : ae;
1458
+ },
1459
+ matchMedia: function(e) {
1460
+ return new ju(e);
1461
+ },
1462
+ matchMediaRefresh: function() {
1463
+ return Vr.forEach(function(e) {
1464
+ var r = e.conditions, t, i;
1465
+ for (i in r)
1466
+ r[i] && (r[i] = !1, t = 1);
1467
+ t && e.revert();
1468
+ }) || ms();
1469
+ },
1470
+ addEventListener: function(e, r) {
1471
+ var t = bn[e] || (bn[e] = []);
1472
+ ~t.indexOf(r) || t.push(r);
1473
+ },
1474
+ removeEventListener: function(e, r) {
1475
+ var t = bn[e], i = t && t.indexOf(r);
1476
+ i >= 0 && t.splice(i, 1);
1477
+ },
1478
+ utils: {
1479
+ wrap: Eu,
1480
+ wrapYoyo: Ru,
1481
+ distribute: aa,
1482
+ random: la,
1483
+ snap: ua,
1484
+ normalize: Du,
1485
+ getUnit: $e,
1486
+ clamp: ku,
1487
+ splitColor: da,
1488
+ toArray: Dt,
1489
+ selector: ds,
1490
+ mapRange: ca,
1491
+ pipe: Ou,
1492
+ unitize: Mu,
1493
+ interpolate: Au,
1494
+ shuffle: oa
1495
+ },
1496
+ install: qo,
1497
+ effects: Hn,
1498
+ ticker: vt,
1499
+ updateRoot: rt.updateRoot,
1500
+ plugins: mt,
1501
+ globalTimeline: le,
1502
+ core: {
1503
+ PropTween: lt,
1504
+ globals: Ko,
1505
+ Tween: we,
1506
+ Timeline: rt,
1507
+ Animation: Zi,
1508
+ getCache: Yr,
1509
+ _removeLinkedListItem: Xn,
1510
+ reverting: function() {
1511
+ return Ie;
1512
+ },
1513
+ context: function(e) {
1514
+ return e && ae && (ae.data.push(e), e._ctx = ae), ae;
1515
+ },
1516
+ suppressOverwrites: function(e) {
1517
+ return Rs = e;
1518
+ }
1519
+ }
1520
+ };
1521
+ ut("to,from,fromTo,delayedCall,set,killTweensOf", function(a) {
1522
+ return An[a] = we[a];
1523
+ });
1524
+ vt.add(rt.updateRoot);
1525
+ oi = An.to({}, {
1526
+ duration: 0
1527
+ });
1528
+ var el = function(e, r) {
1529
+ for (var t = e._pt; t && t.p !== r && t.op !== r && t.fp !== r; )
1530
+ t = t._next;
1531
+ return t;
1532
+ }, tl = function(e, r) {
1533
+ var t = e._targets, i, n, s;
1534
+ for (i in r)
1535
+ for (n = t.length; n--; )
1536
+ s = e._ptLookup[n][i], s && (s = s.d) && (s._pt && (s = el(s, i)), s && s.modifier && s.modifier(r[i], e, t[n], i));
1537
+ }, Jn = function(e, r) {
1538
+ return {
1539
+ name: e,
1540
+ headless: 1,
1541
+ rawVars: 1,
1542
+ //don't pre-process function-based values or "random()" strings.
1543
+ init: function(i, n, s) {
1544
+ s._onInit = function(o) {
1545
+ var u, l;
1546
+ if (Re(n) && (u = {}, ut(n, function(f) {
1547
+ return u[f] = 1;
1548
+ }), n = u), r) {
1549
+ u = {};
1550
+ for (l in n)
1551
+ u[l] = r(n[l]);
1552
+ n = u;
1553
+ }
1554
+ tl(o, n);
1555
+ };
1556
+ }
1557
+ };
1558
+ }, ct = An.registerPlugin({
1559
+ name: "attr",
1560
+ init: function(e, r, t, i, n) {
1561
+ var s, o, u;
1562
+ this.tween = t;
1563
+ for (s in r)
1564
+ u = e.getAttribute(s) || "", o = this.add(e, "setAttribute", (u || 0) + "", r[s], i, n, 0, 0, s), o.op = s, o.b = u, this._props.push(s);
1565
+ },
1566
+ render: function(e, r) {
1567
+ for (var t = r._pt; t; )
1568
+ Ie ? t.set(t.t, t.p, t.b, t) : t.r(e, t.d), t = t._next;
1569
+ }
1570
+ }, {
1571
+ name: "endArray",
1572
+ headless: 1,
1573
+ init: function(e, r) {
1574
+ for (var t = r.length; t--; )
1575
+ this.add(e, t, e[t] || 0, r[t], 0, 0, 0, 0, 0, 1);
1576
+ }
1577
+ }, Jn("roundProps", ps), Jn("modifiers"), Jn("snap", ua)) || An;
1578
+ we.version = rt.version = ct.version = "3.13.0";
1579
+ Ho = 1;
1580
+ zs() && yi();
1581
+ q.Power0;
1582
+ q.Power1;
1583
+ q.Power2;
1584
+ q.Power3;
1585
+ q.Power4;
1586
+ q.Linear;
1587
+ q.Quad;
1588
+ q.Cubic;
1589
+ q.Quart;
1590
+ q.Quint;
1591
+ q.Strong;
1592
+ q.Elastic;
1593
+ q.Back;
1594
+ q.SteppedEase;
1595
+ q.Bounce;
1596
+ q.Sine;
1597
+ q.Expo;
1598
+ q.Circ;
1599
+ /*!
1600
+ * CSSPlugin 3.13.0
1601
+ * https://gsap.com
1602
+ *
1603
+ * Copyright 2008-2025, GreenSock. All rights reserved.
1604
+ * Subject to the terms at https://gsap.com/standard-license
1605
+ * @author: Jack Doyle, jack@greensock.com
1606
+ */
1607
+ var ho, gr, li, Gs, Ir, _o, Hs, rl = function() {
1608
+ return typeof window < "u";
1609
+ }, ar = {}, zr = 180 / Math.PI, fi = Math.PI / 180, ei = Math.atan2, po = 1e8, qs = /([A-Z])/g, il = /(left|right|width|margin|padding|x)/i, nl = /[\s,\(]\S/, Gt = {
1610
+ autoAlpha: "opacity,visibility",
1611
+ scale: "scaleX,scaleY",
1612
+ alpha: "opacity"
1613
+ }, ys = function(e, r) {
1614
+ return r.set(r.t, r.p, Math.round((r.s + r.c * e) * 1e4) / 1e4 + r.u, r);
1615
+ }, sl = function(e, r) {
1616
+ return r.set(r.t, r.p, e === 1 ? r.e : Math.round((r.s + r.c * e) * 1e4) / 1e4 + r.u, r);
1617
+ }, ol = function(e, r) {
1618
+ return r.set(r.t, r.p, e ? Math.round((r.s + r.c * e) * 1e4) / 1e4 + r.u : r.b, r);
1619
+ }, al = function(e, r) {
1620
+ var t = r.s + r.c * e;
1621
+ r.set(r.t, r.p, ~~(t + (t < 0 ? -0.5 : 0.5)) + r.u, r);
1622
+ }, Ma = function(e, r) {
1623
+ return r.set(r.t, r.p, e ? r.e : r.b, r);
1624
+ }, Da = function(e, r) {
1625
+ return r.set(r.t, r.p, e !== 1 ? r.b : r.e, r);
1626
+ }, ul = function(e, r, t) {
1627
+ return e.style[r] = t;
1628
+ }, ll = function(e, r, t) {
1629
+ return e.style.setProperty(r, t);
1630
+ }, fl = function(e, r, t) {
1631
+ return e._gsap[r] = t;
1632
+ }, cl = function(e, r, t) {
1633
+ return e._gsap.scaleX = e._gsap.scaleY = t;
1634
+ }, hl = function(e, r, t, i, n) {
1635
+ var s = e._gsap;
1636
+ s.scaleX = s.scaleY = t, s.renderTransform(n, s);
1637
+ }, _l = function(e, r, t, i, n) {
1638
+ var s = e._gsap;
1639
+ s[r] = t, s.renderTransform(n, s);
1640
+ }, fe = "transform", ft = fe + "Origin", dl = function a(e, r) {
1641
+ var t = this, i = this.target, n = i.style, s = i._gsap;
1642
+ if (e in ar && n) {
1643
+ if (this.tfm = this.tfm || {}, e !== "transform")
1644
+ e = Gt[e] || e, ~e.indexOf(",") ? e.split(",").forEach(function(o) {
1645
+ return t.tfm[o] = rr(i, o);
1646
+ }) : this.tfm[e] = s.x ? s[e] : rr(i, e), e === ft && (this.tfm.zOrigin = s.zOrigin);
1647
+ else
1648
+ return Gt.transform.split(",").forEach(function(o) {
1649
+ return a.call(t, o, r);
1650
+ });
1651
+ if (this.props.indexOf(fe) >= 0)
1652
+ return;
1653
+ s.svg && (this.svgo = i.getAttribute("data-svg-origin"), this.props.push(ft, r, "")), e = fe;
1654
+ }
1655
+ (n || r) && this.props.push(e, r, n[e]);
1656
+ }, Ea = function(e) {
1657
+ e.translate && (e.removeProperty("translate"), e.removeProperty("scale"), e.removeProperty("rotate"));
1658
+ }, pl = function() {
1659
+ var e = this.props, r = this.target, t = r.style, i = r._gsap, n, s;
1660
+ for (n = 0; n < e.length; n += 3)
1661
+ e[n + 1] ? e[n + 1] === 2 ? r[e[n]](e[n + 2]) : r[e[n]] = e[n + 2] : e[n + 2] ? t[e[n]] = e[n + 2] : t.removeProperty(e[n].substr(0, 2) === "--" ? e[n] : e[n].replace(qs, "-$1").toLowerCase());
1662
+ if (this.tfm) {
1663
+ for (s in this.tfm)
1664
+ i[s] = this.tfm[s];
1665
+ i.svg && (i.renderTransform(), r.setAttribute("data-svg-origin", this.svgo || "")), n = Hs(), (!n || !n.isStart) && !t[fe] && (Ea(t), i.zOrigin && t[ft] && (t[ft] += " " + i.zOrigin + "px", i.zOrigin = 0, i.renderTransform()), i.uncache = 1);
1666
+ }
1667
+ }, Ra = function(e, r) {
1668
+ var t = {
1669
+ target: e,
1670
+ props: [],
1671
+ revert: pl,
1672
+ save: dl
1673
+ };
1674
+ return e._gsap || ct.core.getCache(e), r && e.style && e.nodeType && r.split(",").forEach(function(i) {
1675
+ return t.save(i);
1676
+ }), t;
1677
+ }, Aa, vs = function(e, r) {
1678
+ var t = gr.createElementNS ? gr.createElementNS((r || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), e) : gr.createElement(e);
1679
+ return t && t.style ? t : gr.createElement(e);
1680
+ }, Et = function a(e, r, t) {
1681
+ var i = getComputedStyle(e);
1682
+ return i[r] || i.getPropertyValue(r.replace(qs, "-$1").toLowerCase()) || i.getPropertyValue(r) || !t && a(e, vi(r) || r, 1) || "";
1683
+ }, go = "O,Moz,ms,Ms,Webkit".split(","), vi = function(e, r, t) {
1684
+ var i = r || Ir, n = i.style, s = 5;
1685
+ if (e in n && !t)
1686
+ return e;
1687
+ for (e = e.charAt(0).toUpperCase() + e.substr(1); s-- && !(go[s] + e in n); )
1688
+ ;
1689
+ return s < 0 ? null : (s === 3 ? "ms" : s >= 0 ? go[s] : "") + e;
1690
+ }, xs = function() {
1691
+ rl() && window.document && (ho = window, gr = ho.document, li = gr.documentElement, Ir = vs("div") || {
1692
+ style: {}
1693
+ }, vs("div"), fe = vi(fe), ft = fe + "Origin", Ir.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", Aa = !!vi("perspective"), Hs = ct.core.reverting, Gs = 1);
1694
+ }, mo = function(e) {
1695
+ var r = e.ownerSVGElement, t = vs("svg", r && r.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), i = e.cloneNode(!0), n;
1696
+ i.style.display = "block", t.appendChild(i), li.appendChild(t);
1697
+ try {
1698
+ n = i.getBBox();
1699
+ } catch {
1700
+ }
1701
+ return t.removeChild(i), li.removeChild(t), n;
1702
+ }, yo = function(e, r) {
1703
+ for (var t = r.length; t--; )
1704
+ if (e.hasAttribute(r[t]))
1705
+ return e.getAttribute(r[t]);
1706
+ }, za = function(e) {
1707
+ var r, t;
1708
+ try {
1709
+ r = e.getBBox();
1710
+ } catch {
1711
+ r = mo(e), t = 1;
1712
+ }
1713
+ return r && (r.width || r.height) || t || (r = mo(e)), r && !r.width && !r.x && !r.y ? {
1714
+ x: +yo(e, ["x", "cx", "x1"]) || 0,
1715
+ y: +yo(e, ["y", "cy", "y1"]) || 0,
1716
+ width: 0,
1717
+ height: 0
1718
+ } : r;
1719
+ }, Fa = function(e) {
1720
+ return !!(e.getCTM && (!e.parentNode || e.ownerSVGElement) && za(e));
1721
+ }, Gr = function(e, r) {
1722
+ if (r) {
1723
+ var t = e.style, i;
1724
+ r in ar && r !== ft && (r = fe), t.removeProperty ? (i = r.substr(0, 2), (i === "ms" || r.substr(0, 6) === "webkit") && (r = "-" + r), t.removeProperty(i === "--" ? r : r.replace(qs, "-$1").toLowerCase())) : t.removeAttribute(r);
1725
+ }
1726
+ }, mr = function(e, r, t, i, n, s) {
1727
+ var o = new lt(e._pt, r, t, 0, 1, s ? Da : Ma);
1728
+ return e._pt = o, o.b = i, o.e = n, e._props.push(t), o;
1729
+ }, vo = {
1730
+ deg: 1,
1731
+ rad: 1,
1732
+ turn: 1
1733
+ }, gl = {
1734
+ grid: 1,
1735
+ flex: 1
1736
+ }, Sr = function a(e, r, t, i) {
1737
+ var n = parseFloat(t) || 0, s = (t + "").trim().substr((n + "").length) || "px", o = Ir.style, u = il.test(r), l = e.tagName.toLowerCase() === "svg", f = (l ? "client" : "offset") + (u ? "Width" : "Height"), _ = 100, d = i === "px", c = i === "%", p, h, m, b;
1738
+ if (i === s || !n || vo[i] || vo[s])
1739
+ return n;
1740
+ if (s !== "px" && !d && (n = a(e, r, t, "px")), b = e.getCTM && Fa(e), (c || s === "%") && (ar[r] || ~r.indexOf("adius")))
1741
+ return p = b ? e.getBBox()[u ? "width" : "height"] : e[f], ye(c ? n / p * _ : n / 100 * p);
1742
+ if (o[u ? "width" : "height"] = _ + (d ? s : i), h = i !== "rem" && ~r.indexOf("adius") || i === "em" && e.appendChild && !l ? e : e.parentNode, b && (h = (e.ownerSVGElement || {}).parentNode), (!h || h === gr || !h.appendChild) && (h = gr.body), m = h._gsap, m && c && m.width && u && m.time === vt.time && !m.uncache)
1743
+ return ye(n / m.width * _);
1744
+ if (c && (r === "height" || r === "width")) {
1745
+ var T = e.style[r];
1746
+ e.style[r] = _ + i, p = e[f], T ? e.style[r] = T : Gr(e, r);
1747
+ } else
1748
+ (c || s === "%") && !gl[Et(h, "display")] && (o.position = Et(e, "position")), h === e && (o.position = "static"), h.appendChild(Ir), p = Ir[f], h.removeChild(Ir), o.position = "absolute";
1749
+ return u && c && (m = Yr(h), m.time = vt.time, m.width = h[f]), ye(d ? p * n / _ : p && n ? _ / p * n : 0);
1750
+ }, rr = function(e, r, t, i) {
1751
+ var n;
1752
+ return Gs || xs(), r in Gt && r !== "transform" && (r = Gt[r], ~r.indexOf(",") && (r = r.split(",")[0])), ar[r] && r !== "transform" ? (n = ji(e, i), n = r !== "transformOrigin" ? n[r] : n.svg ? n.origin : Fn(Et(e, ft)) + " " + n.zOrigin + "px") : (n = e.style[r], (!n || n === "auto" || i || ~(n + "").indexOf("calc(")) && (n = zn[r] && zn[r](e, r, t) || Et(e, r) || Zo(e, r) || (r === "opacity" ? 1 : 0))), t && !~(n + "").trim().indexOf(" ") ? Sr(e, r, n, t) + t : n;
1753
+ }, ml = function(e, r, t, i) {
1754
+ if (!t || t === "none") {
1755
+ var n = vi(r, e, 1), s = n && Et(e, n, 1);
1756
+ s && s !== t ? (r = n, t = s) : r === "borderColor" && (t = Et(e, "borderTopColor"));
1757
+ }
1758
+ var o = new lt(this._pt, e.style, r, 0, 1, ka), u = 0, l = 0, f, _, d, c, p, h, m, b, T, S, v, w;
1759
+ if (o.b = t, o.e = i, t += "", i += "", i.substring(0, 6) === "var(--" && (i = Et(e, i.substring(4, i.indexOf(")")))), i === "auto" && (h = e.style[r], e.style[r] = i, i = Et(e, r) || i, h ? e.style[r] = h : Gr(e, r)), f = [t, i], ga(f), t = f[0], i = f[1], d = t.match(si) || [], w = i.match(si) || [], w.length) {
1760
+ for (; _ = si.exec(i); )
1761
+ m = _[0], T = i.substring(u, _.index), p ? p = (p + 1) % 5 : (T.substr(-5) === "rgba(" || T.substr(-5) === "hsla(") && (p = 1), m !== (h = d[l++] || "") && (c = parseFloat(h) || 0, v = h.substr((c + "").length), m.charAt(1) === "=" && (m = ui(c, m) + v), b = parseFloat(m), S = m.substr((b + "").length), u = si.lastIndex - S.length, S || (S = S || bt.units[r] || v, u === i.length && (i += S, o.e += S)), v !== S && (c = Sr(e, r, h, S) || 0), o._pt = {
1762
+ _next: o._pt,
1763
+ p: T || l === 1 ? T : ",",
1764
+ //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.
1765
+ s: c,
1766
+ c: b - c,
1767
+ m: p && p < 4 || r === "zIndex" ? Math.round : 0
1768
+ });
1769
+ o.c = u < i.length ? i.substring(u, i.length) : "";
1770
+ } else
1771
+ o.r = r === "display" && i === "none" ? Da : Ma;
1772
+ return $o.test(i) && (o.e = 0), this._pt = o, o;
1773
+ }, xo = {
1774
+ top: "0%",
1775
+ bottom: "100%",
1776
+ left: "0%",
1777
+ right: "100%",
1778
+ center: "50%"
1779
+ }, yl = function(e) {
1780
+ var r = e.split(" "), t = r[0], i = r[1] || "50%";
1781
+ return (t === "top" || t === "bottom" || i === "left" || i === "right") && (e = t, t = i, i = e), r[0] = xo[t] || t, r[1] = xo[i] || i, r.join(" ");
1782
+ }, vl = function(e, r) {
1783
+ if (r.tween && r.tween._time === r.tween._dur) {
1784
+ var t = r.t, i = t.style, n = r.u, s = t._gsap, o, u, l;
1785
+ if (n === "all" || n === !0)
1786
+ i.cssText = "", u = 1;
1787
+ else
1788
+ for (n = n.split(","), l = n.length; --l > -1; )
1789
+ o = n[l], ar[o] && (u = 1, o = o === "transformOrigin" ? ft : fe), Gr(t, o);
1790
+ u && (Gr(t, fe), s && (s.svg && t.removeAttribute("transform"), i.scale = i.rotate = i.translate = "none", ji(t, 1), s.uncache = 1, Ea(i)));
1791
+ }
1792
+ }, zn = {
1793
+ clearProps: function(e, r, t, i, n) {
1794
+ if (n.data !== "isFromStart") {
1795
+ var s = e._pt = new lt(e._pt, r, t, 0, 0, vl);
1796
+ return s.u = i, s.pr = -10, s.tween = n, e._props.push(t), 1;
1797
+ }
1798
+ }
1799
+ /* className feature (about 0.4kb gzipped).
1800
+ , className(plugin, target, property, endValue, tween) {
1801
+ let _renderClassName = (ratio, data) => {
1802
+ data.css.render(ratio, data.css);
1803
+ if (!ratio || ratio === 1) {
1804
+ let inline = data.rmv,
1805
+ target = data.t,
1806
+ p;
1807
+ target.setAttribute("class", ratio ? data.e : data.b);
1808
+ for (p in inline) {
1809
+ _removeProperty(target, p);
1810
+ }
1811
+ }
1812
+ },
1813
+ _getAllStyles = (target) => {
1814
+ let styles = {},
1815
+ computed = getComputedStyle(target),
1816
+ p;
1817
+ for (p in computed) {
1818
+ if (isNaN(p) && p !== "cssText" && p !== "length") {
1819
+ styles[p] = computed[p];
1820
+ }
1821
+ }
1822
+ _setDefaults(styles, _parseTransform(target, 1));
1823
+ return styles;
1824
+ },
1825
+ startClassList = target.getAttribute("class"),
1826
+ style = target.style,
1827
+ cssText = style.cssText,
1828
+ cache = target._gsap,
1829
+ classPT = cache.classPT,
1830
+ inlineToRemoveAtEnd = {},
1831
+ data = {t:target, plugin:plugin, rmv:inlineToRemoveAtEnd, b:startClassList, e:(endValue.charAt(1) !== "=") ? endValue : startClassList.replace(new RegExp("(?:\\s|^)" + endValue.substr(2) + "(?![\\w-])"), "") + ((endValue.charAt(0) === "+") ? " " + endValue.substr(2) : "")},
1832
+ changingVars = {},
1833
+ startVars = _getAllStyles(target),
1834
+ transformRelated = /(transform|perspective)/i,
1835
+ endVars, p;
1836
+ if (classPT) {
1837
+ classPT.r(1, classPT.d);
1838
+ _removeLinkedListItem(classPT.d.plugin, classPT, "_pt");
1839
+ }
1840
+ target.setAttribute("class", data.e);
1841
+ endVars = _getAllStyles(target, true);
1842
+ target.setAttribute("class", startClassList);
1843
+ for (p in endVars) {
1844
+ if (endVars[p] !== startVars[p] && !transformRelated.test(p)) {
1845
+ changingVars[p] = endVars[p];
1846
+ if (!style[p] && style[p] !== "0") {
1847
+ inlineToRemoveAtEnd[p] = 1;
1848
+ }
1849
+ }
1850
+ }
1851
+ cache.classPT = plugin._pt = new PropTween(plugin._pt, target, "className", 0, 0, _renderClassName, data, 0, -11);
1852
+ if (style.cssText !== cssText) { //only apply if things change. Otherwise, in cases like a background-image that's pulled dynamically, it could cause a refresh. See https://gsap.com/forums/topic/20368-possible-gsap-bug-switching-classnames-in-chrome/.
1853
+ style.cssText = cssText; //we recorded cssText before we swapped classes and ran _getAllStyles() because in cases when a className tween is overwritten, we remove all the related tweening properties from that class change (otherwise class-specific stuff can't override properties we've directly set on the target's style object due to specificity).
1854
+ }
1855
+ _parseTransform(target, true); //to clear the caching of transforms
1856
+ data.css = new gsap.plugins.css();
1857
+ data.css.init(target, changingVars, tween);
1858
+ plugin._props.push(...data.css._props);
1859
+ return 1;
1860
+ }
1861
+ */
1862
+ }, Ji = [1, 0, 0, 1, 0, 0], La = {}, Ia = function(e) {
1863
+ return e === "matrix(1, 0, 0, 1, 0, 0)" || e === "none" || !e;
1864
+ }, To = function(e) {
1865
+ var r = Et(e, fe);
1866
+ return Ia(r) ? Ji : r.substr(7).match(Wo).map(ye);
1867
+ }, Ks = function(e, r) {
1868
+ var t = e._gsap || Yr(e), i = e.style, n = To(e), s, o, u, l;
1869
+ return t.svg && e.getAttribute("transform") ? (u = e.transform.baseVal.consolidate().matrix, n = [u.a, u.b, u.c, u.d, u.e, u.f], n.join(",") === "1,0,0,1,0,0" ? Ji : n) : (n === Ji && !e.offsetParent && e !== li && !t.svg && (u = i.display, i.display = "block", s = e.parentNode, (!s || !e.offsetParent && !e.getBoundingClientRect().width) && (l = 1, o = e.nextElementSibling, li.appendChild(e)), n = To(e), u ? i.display = u : Gr(e, "display"), l && (o ? s.insertBefore(e, o) : s ? s.appendChild(e) : li.removeChild(e))), r && n.length > 6 ? [n[0], n[1], n[4], n[5], n[12], n[13]] : n);
1870
+ }, Ts = function(e, r, t, i, n, s) {
1871
+ var o = e._gsap, u = n || Ks(e, !0), l = o.xOrigin || 0, f = o.yOrigin || 0, _ = o.xOffset || 0, d = o.yOffset || 0, c = u[0], p = u[1], h = u[2], m = u[3], b = u[4], T = u[5], S = r.split(" "), v = parseFloat(S[0]) || 0, w = parseFloat(S[1]) || 0, k, x, O, C;
1872
+ t ? u !== Ji && (x = c * m - p * h) && (O = v * (m / x) + w * (-h / x) + (h * T - m * b) / x, C = v * (-p / x) + w * (c / x) - (c * T - p * b) / x, v = O, w = C) : (k = za(e), v = k.x + (~S[0].indexOf("%") ? v / 100 * k.width : v), w = k.y + (~(S[1] || S[0]).indexOf("%") ? w / 100 * k.height : w)), i || i !== !1 && o.smooth ? (b = v - l, T = w - f, o.xOffset = _ + (b * c + T * h) - b, o.yOffset = d + (b * p + T * m) - T) : o.xOffset = o.yOffset = 0, o.xOrigin = v, o.yOrigin = w, o.smooth = !!i, o.origin = r, o.originIsAbsolute = !!t, e.style[ft] = "0px 0px", s && (mr(s, o, "xOrigin", l, v), mr(s, o, "yOrigin", f, w), mr(s, o, "xOffset", _, o.xOffset), mr(s, o, "yOffset", d, o.yOffset)), e.setAttribute("data-svg-origin", v + " " + w);
1873
+ }, ji = function(e, r) {
1874
+ var t = e._gsap || new xa(e);
1875
+ if ("x" in t && !r && !t.uncache)
1876
+ return t;
1877
+ var i = e.style, n = t.scaleX < 0, s = "px", o = "deg", u = getComputedStyle(e), l = Et(e, ft) || "0", f, _, d, c, p, h, m, b, T, S, v, w, k, x, O, C, P, F, M, W, V, K, $, z, Z, ne, g, se, qe, At, ce, Ae;
1878
+ return f = _ = d = h = m = b = T = S = v = 0, c = p = 1, t.svg = !!(e.getCTM && Fa(e)), u.translate && ((u.translate !== "none" || u.scale !== "none" || u.rotate !== "none") && (i[fe] = (u.translate !== "none" ? "translate3d(" + (u.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (u.rotate !== "none" ? "rotate(" + u.rotate + ") " : "") + (u.scale !== "none" ? "scale(" + u.scale.split(" ").join(",") + ") " : "") + (u[fe] !== "none" ? u[fe] : "")), i.scale = i.rotate = i.translate = "none"), x = Ks(e, t.svg), t.svg && (t.uncache ? (Z = e.getBBox(), l = t.xOrigin - Z.x + "px " + (t.yOrigin - Z.y) + "px", z = "") : z = !r && e.getAttribute("data-svg-origin"), Ts(e, z || l, !!z || t.originIsAbsolute, t.smooth !== !1, x)), w = t.xOrigin || 0, k = t.yOrigin || 0, x !== Ji && (F = x[0], M = x[1], W = x[2], V = x[3], f = K = x[4], _ = $ = x[5], x.length === 6 ? (c = Math.sqrt(F * F + M * M), p = Math.sqrt(V * V + W * W), h = F || M ? ei(M, F) * zr : 0, T = W || V ? ei(W, V) * zr + h : 0, T && (p *= Math.abs(Math.cos(T * fi))), t.svg && (f -= w - (w * F + k * W), _ -= k - (w * M + k * V))) : (Ae = x[6], At = x[7], g = x[8], se = x[9], qe = x[10], ce = x[11], f = x[12], _ = x[13], d = x[14], O = ei(Ae, qe), m = O * zr, O && (C = Math.cos(-O), P = Math.sin(-O), z = K * C + g * P, Z = $ * C + se * P, ne = Ae * C + qe * P, g = K * -P + g * C, se = $ * -P + se * C, qe = Ae * -P + qe * C, ce = At * -P + ce * C, K = z, $ = Z, Ae = ne), O = ei(-W, qe), b = O * zr, O && (C = Math.cos(-O), P = Math.sin(-O), z = F * C - g * P, Z = M * C - se * P, ne = W * C - qe * P, ce = V * P + ce * C, F = z, M = Z, W = ne), O = ei(M, F), h = O * zr, O && (C = Math.cos(O), P = Math.sin(O), z = F * C + M * P, Z = K * C + $ * P, M = M * C - F * P, $ = $ * C - K * P, F = z, K = Z), m && Math.abs(m) + Math.abs(h) > 359.9 && (m = h = 0, b = 180 - b), c = ye(Math.sqrt(F * F + M * M + W * W)), p = ye(Math.sqrt($ * $ + Ae * Ae)), O = ei(K, $), T = Math.abs(O) > 2e-4 ? O * zr : 0, v = ce ? 1 / (ce < 0 ? -ce : ce) : 0), t.svg && (z = e.getAttribute("transform"), t.forceCSS = e.setAttribute("transform", "") || !Ia(Et(e, fe)), z && e.setAttribute("transform", z))), Math.abs(T) > 90 && Math.abs(T) < 270 && (n ? (c *= -1, T += h <= 0 ? 180 : -180, h += h <= 0 ? 180 : -180) : (p *= -1, T += T <= 0 ? 180 : -180)), r = r || t.uncache, t.x = f - ((t.xPercent = f && (!r && t.xPercent || (Math.round(e.offsetWidth / 2) === Math.round(-f) ? -50 : 0))) ? e.offsetWidth * t.xPercent / 100 : 0) + s, t.y = _ - ((t.yPercent = _ && (!r && t.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-_) ? -50 : 0))) ? e.offsetHeight * t.yPercent / 100 : 0) + s, t.z = d + s, t.scaleX = ye(c), t.scaleY = ye(p), t.rotation = ye(h) + o, t.rotationX = ye(m) + o, t.rotationY = ye(b) + o, t.skewX = T + o, t.skewY = S + o, t.transformPerspective = v + s, (t.zOrigin = parseFloat(l.split(" ")[2]) || !r && t.zOrigin || 0) && (i[ft] = Fn(l)), t.xOffset = t.yOffset = 0, t.force3D = bt.force3D, t.renderTransform = t.svg ? Tl : Aa ? Na : xl, t.uncache = 0, t;
1879
+ }, Fn = function(e) {
1880
+ return (e = e.split(" "))[0] + " " + e[1];
1881
+ }, jn = function(e, r, t) {
1882
+ var i = $e(r);
1883
+ return ye(parseFloat(r) + parseFloat(Sr(e, "x", t + "px", i))) + i;
1884
+ }, xl = function(e, r) {
1885
+ r.z = "0px", r.rotationY = r.rotationX = "0deg", r.force3D = 0, Na(e, r);
1886
+ }, Rr = "0deg", Ci = "0px", Ar = ") ", Na = function(e, r) {
1887
+ var t = r || this, i = t.xPercent, n = t.yPercent, s = t.x, o = t.y, u = t.z, l = t.rotation, f = t.rotationY, _ = t.rotationX, d = t.skewX, c = t.skewY, p = t.scaleX, h = t.scaleY, m = t.transformPerspective, b = t.force3D, T = t.target, S = t.zOrigin, v = "", w = b === "auto" && e && e !== 1 || b === !0;
1888
+ if (S && (_ !== Rr || f !== Rr)) {
1889
+ var k = parseFloat(f) * fi, x = Math.sin(k), O = Math.cos(k), C;
1890
+ k = parseFloat(_) * fi, C = Math.cos(k), s = jn(T, s, x * C * -S), o = jn(T, o, -Math.sin(k) * -S), u = jn(T, u, O * C * -S + S);
1891
+ }
1892
+ m !== Ci && (v += "perspective(" + m + Ar), (i || n) && (v += "translate(" + i + "%, " + n + "%) "), (w || s !== Ci || o !== Ci || u !== Ci) && (v += u !== Ci || w ? "translate3d(" + s + ", " + o + ", " + u + ") " : "translate(" + s + ", " + o + Ar), l !== Rr && (v += "rotate(" + l + Ar), f !== Rr && (v += "rotateY(" + f + Ar), _ !== Rr && (v += "rotateX(" + _ + Ar), (d !== Rr || c !== Rr) && (v += "skew(" + d + ", " + c + Ar), (p !== 1 || h !== 1) && (v += "scale(" + p + ", " + h + Ar), T.style[fe] = v || "translate(0, 0)";
1893
+ }, Tl = function(e, r) {
1894
+ var t = r || this, i = t.xPercent, n = t.yPercent, s = t.x, o = t.y, u = t.rotation, l = t.skewX, f = t.skewY, _ = t.scaleX, d = t.scaleY, c = t.target, p = t.xOrigin, h = t.yOrigin, m = t.xOffset, b = t.yOffset, T = t.forceCSS, S = parseFloat(s), v = parseFloat(o), w, k, x, O, C;
1895
+ u = parseFloat(u), l = parseFloat(l), f = parseFloat(f), f && (f = parseFloat(f), l += f, u += f), u || l ? (u *= fi, l *= fi, w = Math.cos(u) * _, k = Math.sin(u) * _, x = Math.sin(u - l) * -d, O = Math.cos(u - l) * d, l && (f *= fi, C = Math.tan(l - f), C = Math.sqrt(1 + C * C), x *= C, O *= C, f && (C = Math.tan(f), C = Math.sqrt(1 + C * C), w *= C, k *= C)), w = ye(w), k = ye(k), x = ye(x), O = ye(O)) : (w = _, O = d, k = x = 0), (S && !~(s + "").indexOf("px") || v && !~(o + "").indexOf("px")) && (S = Sr(c, "x", s, "px"), v = Sr(c, "y", o, "px")), (p || h || m || b) && (S = ye(S + p - (p * w + h * x) + m), v = ye(v + h - (p * k + h * O) + b)), (i || n) && (C = c.getBBox(), S = ye(S + i / 100 * C.width), v = ye(v + n / 100 * C.height)), C = "matrix(" + w + "," + k + "," + x + "," + O + "," + S + "," + v + ")", c.setAttribute("transform", C), T && (c.style[fe] = C);
1896
+ }, bl = function(e, r, t, i, n) {
1897
+ var s = 360, o = Re(n), u = parseFloat(n) * (o && ~n.indexOf("rad") ? zr : 1), l = u - i, f = i + l + "deg", _, d;
1898
+ return o && (_ = n.split("_")[1], _ === "short" && (l %= s, l !== l % (s / 2) && (l += l < 0 ? s : -s)), _ === "cw" && l < 0 ? l = (l + s * po) % s - ~~(l / s) * s : _ === "ccw" && l > 0 && (l = (l - s * po) % s - ~~(l / s) * s)), e._pt = d = new lt(e._pt, r, t, i, l, sl), d.e = f, d.u = "deg", e._props.push(t), d;
1899
+ }, bo = function(e, r) {
1900
+ for (var t in r)
1901
+ e[t] = r[t];
1902
+ return e;
1903
+ }, wl = function(e, r, t) {
1904
+ var i = bo({}, t._gsap), n = "perspective,force3D,transformOrigin,svgOrigin", s = t.style, o, u, l, f, _, d, c, p;
1905
+ i.svg ? (l = t.getAttribute("transform"), t.setAttribute("transform", ""), s[fe] = r, o = ji(t, 1), Gr(t, fe), t.setAttribute("transform", l)) : (l = getComputedStyle(t)[fe], s[fe] = r, o = ji(t, 1), s[fe] = l);
1906
+ for (u in ar)
1907
+ l = i[u], f = o[u], l !== f && n.indexOf(u) < 0 && (c = $e(l), p = $e(f), _ = c !== p ? Sr(t, u, l, p) : parseFloat(l), d = parseFloat(f), e._pt = new lt(e._pt, o, u, _, d - _, ys), e._pt.u = p || 0, e._props.push(u));
1908
+ bo(o, i);
1909
+ };
1910
+ ut("padding,margin,Width,Radius", function(a, e) {
1911
+ var r = "Top", t = "Right", i = "Bottom", n = "Left", s = (e < 3 ? [r, t, i, n] : [r + n, r + t, i + t, i + n]).map(function(o) {
1912
+ return e < 2 ? a + o : "border" + o + a;
1913
+ });
1914
+ zn[e > 1 ? "border" + a : a] = function(o, u, l, f, _) {
1915
+ var d, c;
1916
+ if (arguments.length < 4)
1917
+ return d = s.map(function(p) {
1918
+ return rr(o, p, l);
1919
+ }), c = d.join(" "), c.split(d[0]).length === 5 ? d[0] : c;
1920
+ d = (f + "").split(" "), c = {}, s.forEach(function(p, h) {
1921
+ return c[p] = d[h] = d[h] || d[(h - 1) / 2 | 0];
1922
+ }), o.init(u, c, _);
1923
+ };
1924
+ });
1925
+ var Ya = {
1926
+ name: "css",
1927
+ register: xs,
1928
+ targetTest: function(e) {
1929
+ return e.style && e.nodeType;
1930
+ },
1931
+ init: function(e, r, t, i, n) {
1932
+ var s = this._props, o = e.style, u = t.vars.startAt, l, f, _, d, c, p, h, m, b, T, S, v, w, k, x, O;
1933
+ Gs || xs(), this.styles = this.styles || Ra(e), O = this.styles.props, this.tween = t;
1934
+ for (h in r)
1935
+ if (h !== "autoRound" && (f = r[h], !(mt[h] && Ta(h, r, t, i, e, n)))) {
1936
+ if (c = typeof f, p = zn[h], c === "function" && (f = f.call(t, i, e, n), c = typeof f), c === "string" && ~f.indexOf("random(") && (f = Ki(f)), p)
1937
+ p(this, e, h, f, t) && (x = 1);
1938
+ else if (h.substr(0, 2) === "--")
1939
+ l = (getComputedStyle(e).getPropertyValue(h) + "").trim(), f += "", Tr.lastIndex = 0, Tr.test(l) || (m = $e(l), b = $e(f)), b ? m !== b && (l = Sr(e, h, l, b) + b) : m && (f += m), this.add(o, "setProperty", l, f, i, n, 0, 0, h), s.push(h), O.push(h, 0, o[h]);
1940
+ else if (c !== "undefined") {
1941
+ if (u && h in u ? (l = typeof u[h] == "function" ? u[h].call(t, i, e, n) : u[h], Re(l) && ~l.indexOf("random(") && (l = Ki(l)), $e(l + "") || l === "auto" || (l += bt.units[h] || $e(rr(e, h)) || ""), (l + "").charAt(1) === "=" && (l = rr(e, h))) : l = rr(e, h), d = parseFloat(l), T = c === "string" && f.charAt(1) === "=" && f.substr(0, 2), T && (f = f.substr(2)), _ = parseFloat(f), h in Gt && (h === "autoAlpha" && (d === 1 && rr(e, "visibility") === "hidden" && _ && (d = 0), O.push("visibility", 0, o.visibility), mr(this, o, "visibility", d ? "inherit" : "hidden", _ ? "inherit" : "hidden", !_)), h !== "scale" && h !== "transform" && (h = Gt[h], ~h.indexOf(",") && (h = h.split(",")[0]))), S = h in ar, S) {
1942
+ if (this.styles.save(h), c === "string" && f.substring(0, 6) === "var(--" && (f = Et(e, f.substring(4, f.indexOf(")"))), _ = parseFloat(f)), v || (w = e._gsap, w.renderTransform && !r.parseTransform || ji(e, r.parseTransform), k = r.smoothOrigin !== !1 && w.smooth, v = this._pt = new lt(this._pt, o, fe, 0, 1, w.renderTransform, w, 0, -1), v.dep = 1), h === "scale")
1943
+ this._pt = new lt(this._pt, w, "scaleY", w.scaleY, (T ? ui(w.scaleY, T + _) : _) - w.scaleY || 0, ys), this._pt.u = 0, s.push("scaleY", h), h += "X";
1944
+ else if (h === "transformOrigin") {
1945
+ O.push(ft, 0, o[ft]), f = yl(f), w.svg ? Ts(e, f, 0, k, 0, this) : (b = parseFloat(f.split(" ")[2]) || 0, b !== w.zOrigin && mr(this, w, "zOrigin", w.zOrigin, b), mr(this, o, h, Fn(l), Fn(f)));
1946
+ continue;
1947
+ } else if (h === "svgOrigin") {
1948
+ Ts(e, f, 1, k, 0, this);
1949
+ continue;
1950
+ } else if (h in La) {
1951
+ bl(this, w, h, d, T ? ui(d, T + f) : f);
1952
+ continue;
1953
+ } else if (h === "smoothOrigin") {
1954
+ mr(this, w, "smooth", w.smooth, f);
1955
+ continue;
1956
+ } else if (h === "force3D") {
1957
+ w[h] = f;
1958
+ continue;
1959
+ } else if (h === "transform") {
1960
+ wl(this, f, e);
1961
+ continue;
1962
+ }
1963
+ } else h in o || (h = vi(h) || h);
1964
+ if (S || (_ || _ === 0) && (d || d === 0) && !nl.test(f) && h in o)
1965
+ m = (l + "").substr((d + "").length), _ || (_ = 0), b = $e(f) || (h in bt.units ? bt.units[h] : m), m !== b && (d = Sr(e, h, l, b)), this._pt = new lt(this._pt, S ? w : o, h, d, (T ? ui(d, T + _) : _) - d, !S && (b === "px" || h === "zIndex") && r.autoRound !== !1 ? al : ys), this._pt.u = b || 0, m !== b && b !== "%" && (this._pt.b = l, this._pt.r = ol);
1966
+ else if (h in o)
1967
+ ml.call(this, e, h, l, T ? T + f : f);
1968
+ else if (h in e)
1969
+ this.add(e, h, l || e[h], T ? T + f : f, i, n);
1970
+ else if (h !== "parseTransform") {
1971
+ Ls(h, f);
1972
+ continue;
1973
+ }
1974
+ S || (h in o ? O.push(h, 0, o[h]) : typeof e[h] == "function" ? O.push(h, 2, e[h]()) : O.push(h, 1, l || e[h])), s.push(h);
1975
+ }
1976
+ }
1977
+ x && Pa(this);
1978
+ },
1979
+ render: function(e, r) {
1980
+ if (r.tween._time || !Hs())
1981
+ for (var t = r._pt; t; )
1982
+ t.r(e, t.d), t = t._next;
1983
+ else
1984
+ r.styles.revert();
1985
+ },
1986
+ get: rr,
1987
+ aliases: Gt,
1988
+ getSetter: function(e, r, t) {
1989
+ var i = Gt[r];
1990
+ return i && i.indexOf(",") < 0 && (r = i), r in ar && r !== ft && (e._gsap.x || rr(e, "x")) ? t && _o === t ? r === "scale" ? cl : fl : (_o = t || {}) && (r === "scale" ? hl : _l) : e.style && !As(e.style[r]) ? ul : ~r.indexOf("-") ? ll : Ws(e, r);
1991
+ },
1992
+ core: {
1993
+ _removeProperty: Gr,
1994
+ _getMatrix: Ks
1995
+ }
1996
+ };
1997
+ ct.utils.checkPrefix = vi;
1998
+ ct.core.getStyleSaver = Ra;
1999
+ (function(a, e, r, t) {
2000
+ var i = ut(a + "," + e + "," + r, function(n) {
2001
+ ar[n] = 1;
2002
+ });
2003
+ ut(e, function(n) {
2004
+ bt.units[n] = "deg", La[n] = 1;
2005
+ }), Gt[i[13]] = a + "," + e, ut(t, function(n) {
2006
+ var s = n.split(":");
2007
+ Gt[s[1]] = i[s[0]];
2008
+ });
2009
+ })("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");
2010
+ ut("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(a) {
2011
+ bt.units[a] = "px";
2012
+ });
2013
+ ct.registerPlugin(Ya);
2014
+ var Sl = ct.registerPlugin(Ya) || ct;
2015
+ Sl.core.Tween;
2016
+ function Cl(a, e) {
2017
+ for (var r = 0; r < e.length; r++) {
2018
+ var t = e[r];
2019
+ t.enumerable = t.enumerable || !1, t.configurable = !0, "value" in t && (t.writable = !0), Object.defineProperty(a, t.key, t);
2020
+ }
2021
+ }
2022
+ function kl(a, e, r) {
2023
+ return e && Cl(a.prototype, e), a;
2024
+ }
2025
+ /*!
2026
+ * Observer 3.13.0
2027
+ * https://gsap.com
2028
+ *
2029
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
2030
+ * Subject to the terms at https://gsap.com/standard-license
2031
+ * @author: Jack Doyle, jack@greensock.com
2032
+ */
2033
+ var Le, wn, xt, yr, vr, ci, Ba, Fr, Ni, Xa, nr, Yt, Va, Ua = function() {
2034
+ return Le || typeof window < "u" && (Le = window.gsap) && Le.registerPlugin && Le;
2035
+ }, Wa = 1, ai = [], X = [], qt = [], Yi = Date.now, bs = function(e, r) {
2036
+ return r;
2037
+ }, Pl = function() {
2038
+ var e = Ni.core, r = e.bridge || {}, t = e._scrollers, i = e._proxies;
2039
+ t.push.apply(t, X), i.push.apply(i, qt), X = t, qt = i, bs = function(s, o) {
2040
+ return r[s](o);
2041
+ };
2042
+ }, br = function(e, r) {
2043
+ return ~qt.indexOf(e) && qt[qt.indexOf(e) + 1][r];
2044
+ }, Bi = function(e) {
2045
+ return !!~Xa.indexOf(e);
2046
+ }, Je = function(e, r, t, i, n) {
2047
+ return e.addEventListener(r, t, {
2048
+ passive: i !== !1,
2049
+ capture: !!n
2050
+ });
2051
+ }, Ze = function(e, r, t, i) {
2052
+ return e.removeEventListener(r, t, !!i);
2053
+ }, un = "scrollLeft", ln = "scrollTop", ws = function() {
2054
+ return nr && nr.isPressed || X.cache++;
2055
+ }, Ln = function(e, r) {
2056
+ var t = function i(n) {
2057
+ if (n || n === 0) {
2058
+ Wa && (xt.history.scrollRestoration = "manual");
2059
+ var s = nr && nr.isPressed;
2060
+ n = i.v = Math.round(n) || (nr && nr.iOS ? 1 : 0), e(n), i.cacheID = X.cache, s && bs("ss", n);
2061
+ } else (r || X.cache !== i.cacheID || bs("ref")) && (i.cacheID = X.cache, i.v = e());
2062
+ return i.v + i.offset;
2063
+ };
2064
+ return t.offset = 0, e && t;
2065
+ }, it = {
2066
+ s: un,
2067
+ p: "left",
2068
+ p2: "Left",
2069
+ os: "right",
2070
+ os2: "Right",
2071
+ d: "width",
2072
+ d2: "Width",
2073
+ a: "x",
2074
+ sc: Ln(function(a) {
2075
+ return arguments.length ? xt.scrollTo(a, Pe.sc()) : xt.pageXOffset || yr[un] || vr[un] || ci[un] || 0;
2076
+ })
2077
+ }, Pe = {
2078
+ s: ln,
2079
+ p: "top",
2080
+ p2: "Top",
2081
+ os: "bottom",
2082
+ os2: "Bottom",
2083
+ d: "height",
2084
+ d2: "Height",
2085
+ a: "y",
2086
+ op: it,
2087
+ sc: Ln(function(a) {
2088
+ return arguments.length ? xt.scrollTo(it.sc(), a) : xt.pageYOffset || yr[ln] || vr[ln] || ci[ln] || 0;
2089
+ })
2090
+ }, ot = function(e, r) {
2091
+ return (r && r._ctx && r._ctx.selector || Le.utils.toArray)(e)[0] || (typeof e == "string" && Le.config().nullTargetWarn !== !1 ? console.warn("Element not found:", e) : null);
2092
+ }, Ol = function(e, r) {
2093
+ for (var t = r.length; t--; )
2094
+ if (r[t] === e || r[t].contains(e))
2095
+ return !0;
2096
+ return !1;
2097
+ }, Cr = function(e, r) {
2098
+ var t = r.s, i = r.sc;
2099
+ Bi(e) && (e = yr.scrollingElement || vr);
2100
+ var n = X.indexOf(e), s = i === Pe.sc ? 1 : 2;
2101
+ !~n && (n = X.push(e) - 1), X[n + s] || Je(e, "scroll", ws);
2102
+ var o = X[n + s], u = o || (X[n + s] = Ln(br(e, t), !0) || (Bi(e) ? i : Ln(function(l) {
2103
+ return arguments.length ? e[t] = l : e[t];
2104
+ })));
2105
+ return u.target = e, o || (u.smooth = Le.getProperty(e, "scrollBehavior") === "smooth"), u;
2106
+ }, Ss = function(e, r, t) {
2107
+ var i = e, n = e, s = Yi(), o = s, u = r || 50, l = Math.max(500, u * 3), f = function(p, h) {
2108
+ var m = Yi();
2109
+ h || m - s > u ? (n = i, i = p, o = s, s = m) : t ? i += p : i = n + (p - n) / (m - o) * (s - o);
2110
+ }, _ = function() {
2111
+ n = i = t ? 0 : i, o = s = 0;
2112
+ }, d = function(p) {
2113
+ var h = o, m = n, b = Yi();
2114
+ return (p || p === 0) && p !== i && f(p), s === o || b - o > l ? 0 : (i + (t ? m : -m)) / ((t ? b : s) - h) * 1e3;
2115
+ };
2116
+ return {
2117
+ update: f,
2118
+ reset: _,
2119
+ getVelocity: d
2120
+ };
2121
+ }, ki = function(e, r) {
2122
+ return r && !e._gsapAllow && e.preventDefault(), e.changedTouches ? e.changedTouches[0] : e;
2123
+ }, wo = function(e) {
2124
+ var r = Math.max.apply(Math, e), t = Math.min.apply(Math, e);
2125
+ return Math.abs(r) >= Math.abs(t) ? r : t;
2126
+ }, $a = function() {
2127
+ Ni = Le.core.globals().ScrollTrigger, Ni && Ni.core && Pl();
2128
+ }, Ga = function(e) {
2129
+ return Le = e || Ua(), !wn && Le && typeof document < "u" && document.body && (xt = window, yr = document, vr = yr.documentElement, ci = yr.body, Xa = [xt, yr, vr, ci], Le.utils.clamp, Va = Le.core.context || function() {
2130
+ }, Fr = "onpointerenter" in ci ? "pointer" : "mouse", Ba = ve.isTouch = xt.matchMedia && xt.matchMedia("(hover: none), (pointer: coarse)").matches ? 1 : "ontouchstart" in xt || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0 ? 2 : 0, Yt = ve.eventTypes = ("ontouchstart" in vr ? "touchstart,touchmove,touchcancel,touchend" : "onpointerdown" in vr ? "pointerdown,pointermove,pointercancel,pointerup" : "mousedown,mousemove,mouseup,mouseup").split(","), setTimeout(function() {
2131
+ return Wa = 0;
2132
+ }, 500), $a(), wn = 1), wn;
2133
+ };
2134
+ it.op = Pe;
2135
+ X.cache = 0;
2136
+ var ve = /* @__PURE__ */ (function() {
2137
+ function a(r) {
2138
+ this.init(r);
2139
+ }
2140
+ var e = a.prototype;
2141
+ return e.init = function(t) {
2142
+ wn || Ga(Le) || console.warn("Please gsap.registerPlugin(Observer)"), Ni || $a();
2143
+ var i = t.tolerance, n = t.dragMinimum, s = t.type, o = t.target, u = t.lineHeight, l = t.debounce, f = t.preventDefault, _ = t.onStop, d = t.onStopDelay, c = t.ignore, p = t.wheelSpeed, h = t.event, m = t.onDragStart, b = t.onDragEnd, T = t.onDrag, S = t.onPress, v = t.onRelease, w = t.onRight, k = t.onLeft, x = t.onUp, O = t.onDown, C = t.onChangeX, P = t.onChangeY, F = t.onChange, M = t.onToggleX, W = t.onToggleY, V = t.onHover, K = t.onHoverEnd, $ = t.onMove, z = t.ignoreCheck, Z = t.isNormalizer, ne = t.onGestureStart, g = t.onGestureEnd, se = t.onWheel, qe = t.onEnable, At = t.onDisable, ce = t.onClick, Ae = t.scrollSpeed, Ne = t.capture, xe = t.allowClicks, Ke = t.lockAxis, Ye = t.onLockAxis;
2144
+ this.target = o = ot(o) || vr, this.vars = t, c && (c = Le.utils.toArray(c)), i = i || 1e-9, n = n || 0, p = p || 1, Ae = Ae || 1, s = s || "wheel,touch,pointer", l = l !== !1, u || (u = parseFloat(xt.getComputedStyle(ci).lineHeight) || 22);
2145
+ var ur, Qe, nt, Q, pe, st, ht, y = this, _t = 0, Qt = 0, lr = t.passive || !f && t.passive !== !1, he = Cr(o, it), Zt = Cr(o, Pe), fr = he(), Pr = Zt(), Oe = ~s.indexOf("touch") && !~s.indexOf("pointer") && Yt[0] === "pointerdown", cr = Bi(o), ge = o.ownerDocument || yr, zt = [0, 0, 0], Ct = [0, 0, 0], Jt = 0, Ti = function() {
2146
+ return Jt = Yi();
2147
+ }, Te = function(A, J) {
2148
+ return (y.event = A) && c && Ol(A.target, c) || J && Oe && A.pointerType !== "touch" || z && z(A, J);
2149
+ }, nn = function() {
2150
+ y._vx.reset(), y._vy.reset(), Qe.pause(), _ && _(y);
2151
+ }, jt = function() {
2152
+ var A = y.deltaX = wo(zt), J = y.deltaY = wo(Ct), D = Math.abs(A) >= i, L = Math.abs(J) >= i;
2153
+ F && (D || L) && F(y, A, J, zt, Ct), D && (w && y.deltaX > 0 && w(y), k && y.deltaX < 0 && k(y), C && C(y), M && y.deltaX < 0 != _t < 0 && M(y), _t = y.deltaX, zt[0] = zt[1] = zt[2] = 0), L && (O && y.deltaY > 0 && O(y), x && y.deltaY < 0 && x(y), P && P(y), W && y.deltaY < 0 != Qt < 0 && W(y), Qt = y.deltaY, Ct[0] = Ct[1] = Ct[2] = 0), (Q || nt) && ($ && $(y), nt && (m && nt === 1 && m(y), T && T(y), nt = 0), Q = !1), st && !(st = !1) && Ye && Ye(y), pe && (se(y), pe = !1), ur = 0;
2154
+ }, Zr = function(A, J, D) {
2155
+ zt[D] += A, Ct[D] += J, y._vx.update(A), y._vy.update(J), l ? ur || (ur = requestAnimationFrame(jt)) : jt();
2156
+ }, Jr = function(A, J) {
2157
+ Ke && !ht && (y.axis = ht = Math.abs(A) > Math.abs(J) ? "x" : "y", st = !0), ht !== "y" && (zt[2] += A, y._vx.update(A, !0)), ht !== "x" && (Ct[2] += J, y._vy.update(J, !0)), l ? ur || (ur = requestAnimationFrame(jt)) : jt();
2158
+ }, hr = function(A) {
2159
+ if (!Te(A, 1)) {
2160
+ A = ki(A, f);
2161
+ var J = A.clientX, D = A.clientY, L = J - y.x, R = D - y.y, I = y.isDragging;
2162
+ y.x = J, y.y = D, (I || (L || R) && (Math.abs(y.startX - J) >= n || Math.abs(y.startY - D) >= n)) && (nt = I ? 2 : 1, I || (y.isDragging = !0), Jr(L, R));
2163
+ }
2164
+ }, Or = y.onPress = function(N) {
2165
+ Te(N, 1) || N && N.button || (y.axis = ht = null, Qe.pause(), y.isPressed = !0, N = ki(N), _t = Qt = 0, y.startX = y.x = N.clientX, y.startY = y.y = N.clientY, y._vx.reset(), y._vy.reset(), Je(Z ? o : ge, Yt[1], hr, lr, !0), y.deltaX = y.deltaY = 0, S && S(y));
2166
+ }, U = y.onRelease = function(N) {
2167
+ if (!Te(N, 1)) {
2168
+ Ze(Z ? o : ge, Yt[1], hr, !0);
2169
+ var A = !isNaN(y.y - y.startY), J = y.isDragging, D = J && (Math.abs(y.x - y.startX) > 3 || Math.abs(y.y - y.startY) > 3), L = ki(N);
2170
+ !D && A && (y._vx.reset(), y._vy.reset(), f && xe && Le.delayedCall(0.08, function() {
2171
+ if (Yi() - Jt > 300 && !N.defaultPrevented) {
2172
+ if (N.target.click)
2173
+ N.target.click();
2174
+ else if (ge.createEvent) {
2175
+ var R = ge.createEvent("MouseEvents");
2176
+ R.initMouseEvent("click", !0, !0, xt, 1, L.screenX, L.screenY, L.clientX, L.clientY, !1, !1, !1, !1, 0, null), N.target.dispatchEvent(R);
2177
+ }
2178
+ }
2179
+ })), y.isDragging = y.isGesturing = y.isPressed = !1, _ && J && !Z && Qe.restart(!0), nt && jt(), b && J && b(y), v && v(y, D);
2180
+ }
2181
+ }, Mr = function(A) {
2182
+ return A.touches && A.touches.length > 1 && (y.isGesturing = !0) && ne(A, y.isDragging);
2183
+ }, Ft = function() {
2184
+ return (y.isGesturing = !1) || g(y);
2185
+ }, Lt = function(A) {
2186
+ if (!Te(A)) {
2187
+ var J = he(), D = Zt();
2188
+ Zr((J - fr) * Ae, (D - Pr) * Ae, 1), fr = J, Pr = D, _ && Qe.restart(!0);
2189
+ }
2190
+ }, It = function(A) {
2191
+ if (!Te(A)) {
2192
+ A = ki(A, f), se && (pe = !0);
2193
+ var J = (A.deltaMode === 1 ? u : A.deltaMode === 2 ? xt.innerHeight : 1) * p;
2194
+ Zr(A.deltaX * J, A.deltaY * J, 0), _ && !Z && Qe.restart(!0);
2195
+ }
2196
+ }, Dr = function(A) {
2197
+ if (!Te(A)) {
2198
+ var J = A.clientX, D = A.clientY, L = J - y.x, R = D - y.y;
2199
+ y.x = J, y.y = D, Q = !0, _ && Qe.restart(!0), (L || R) && Jr(L, R);
2200
+ }
2201
+ }, jr = function(A) {
2202
+ y.event = A, V(y);
2203
+ }, er = function(A) {
2204
+ y.event = A, K(y);
2205
+ }, bi = function(A) {
2206
+ return Te(A) || ki(A, f) && ce(y);
2207
+ };
2208
+ Qe = y._dc = Le.delayedCall(d || 0.25, nn).pause(), y.deltaX = y.deltaY = 0, y._vx = Ss(0, 50, !0), y._vy = Ss(0, 50, !0), y.scrollX = he, y.scrollY = Zt, y.isDragging = y.isGesturing = y.isPressed = !1, Va(this), y.enable = function(N) {
2209
+ return y.isEnabled || (Je(cr ? ge : o, "scroll", ws), s.indexOf("scroll") >= 0 && Je(cr ? ge : o, "scroll", Lt, lr, Ne), s.indexOf("wheel") >= 0 && Je(o, "wheel", It, lr, Ne), (s.indexOf("touch") >= 0 && Ba || s.indexOf("pointer") >= 0) && (Je(o, Yt[0], Or, lr, Ne), Je(ge, Yt[2], U), Je(ge, Yt[3], U), xe && Je(o, "click", Ti, !0, !0), ce && Je(o, "click", bi), ne && Je(ge, "gesturestart", Mr), g && Je(ge, "gestureend", Ft), V && Je(o, Fr + "enter", jr), K && Je(o, Fr + "leave", er), $ && Je(o, Fr + "move", Dr)), y.isEnabled = !0, y.isDragging = y.isGesturing = y.isPressed = Q = nt = !1, y._vx.reset(), y._vy.reset(), fr = he(), Pr = Zt(), N && N.type && Or(N), qe && qe(y)), y;
2210
+ }, y.disable = function() {
2211
+ y.isEnabled && (ai.filter(function(N) {
2212
+ return N !== y && Bi(N.target);
2213
+ }).length || Ze(cr ? ge : o, "scroll", ws), y.isPressed && (y._vx.reset(), y._vy.reset(), Ze(Z ? o : ge, Yt[1], hr, !0)), Ze(cr ? ge : o, "scroll", Lt, Ne), Ze(o, "wheel", It, Ne), Ze(o, Yt[0], Or, Ne), Ze(ge, Yt[2], U), Ze(ge, Yt[3], U), Ze(o, "click", Ti, !0), Ze(o, "click", bi), Ze(ge, "gesturestart", Mr), Ze(ge, "gestureend", Ft), Ze(o, Fr + "enter", jr), Ze(o, Fr + "leave", er), Ze(o, Fr + "move", Dr), y.isEnabled = y.isPressed = y.isDragging = !1, At && At(y));
2214
+ }, y.kill = y.revert = function() {
2215
+ y.disable();
2216
+ var N = ai.indexOf(y);
2217
+ N >= 0 && ai.splice(N, 1), nr === y && (nr = 0);
2218
+ }, ai.push(y), Z && Bi(o) && (nr = y), y.enable(h);
2219
+ }, kl(a, [{
2220
+ key: "velocityX",
2221
+ get: function() {
2222
+ return this._vx.getVelocity();
2223
+ }
2224
+ }, {
2225
+ key: "velocityY",
2226
+ get: function() {
2227
+ return this._vy.getVelocity();
2228
+ }
2229
+ }]), a;
2230
+ })();
2231
+ ve.version = "3.13.0";
2232
+ ve.create = function(a) {
2233
+ return new ve(a);
2234
+ };
2235
+ ve.register = Ga;
2236
+ ve.getAll = function() {
2237
+ return ai.slice();
2238
+ };
2239
+ ve.getById = function(a) {
2240
+ return ai.filter(function(e) {
2241
+ return e.vars.id === a;
2242
+ })[0];
2243
+ };
2244
+ Ua() && Le.registerPlugin(ve);
2245
+ /*!
2246
+ * ScrollTrigger 3.13.0
2247
+ * https://gsap.com
2248
+ *
2249
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
2250
+ * Subject to the terms at https://gsap.com/standard-license
2251
+ * @author: Jack Doyle, jack@greensock.com
2252
+ */
2253
+ var E, ii, B, ie, yt, j, Qs, In, en, Xi, Di, fn, Ue, Wn, Cs, et, So, Co, ni, Ha, es, qa, je, ks, Ka, Qa, dr, Ps, Zs, hi, Js, Nn, Os, ts, cn = 1, We = Date.now, rs = We(), Rt = 0, Ei = 0, ko = function(e, r, t) {
2254
+ var i = gt(e) && (e.substr(0, 6) === "clamp(" || e.indexOf("max") > -1);
2255
+ return t["_" + r + "Clamp"] = i, i ? e.substr(6, e.length - 7) : e;
2256
+ }, Po = function(e, r) {
2257
+ return r && (!gt(e) || e.substr(0, 6) !== "clamp(") ? "clamp(" + e + ")" : e;
2258
+ }, Ml = function a() {
2259
+ return Ei && requestAnimationFrame(a);
2260
+ }, Oo = function() {
2261
+ return Wn = 1;
2262
+ }, Mo = function() {
2263
+ return Wn = 0;
2264
+ }, Wt = function(e) {
2265
+ return e;
2266
+ }, Ri = function(e) {
2267
+ return Math.round(e * 1e5) / 1e5 || 0;
2268
+ }, Za = function() {
2269
+ return typeof window < "u";
2270
+ }, Ja = function() {
2271
+ return E || Za() && (E = window.gsap) && E.registerPlugin && E;
2272
+ }, Hr = function(e) {
2273
+ return !!~Qs.indexOf(e);
2274
+ }, ja = function(e) {
2275
+ return (e === "Height" ? Js : B["inner" + e]) || yt["client" + e] || j["client" + e];
2276
+ }, eu = function(e) {
2277
+ return br(e, "getBoundingClientRect") || (Hr(e) ? function() {
2278
+ return On.width = B.innerWidth, On.height = Js, On;
2279
+ } : function() {
2280
+ return ir(e);
2281
+ });
2282
+ }, Dl = function(e, r, t) {
2283
+ var i = t.d, n = t.d2, s = t.a;
2284
+ return (s = br(e, "getBoundingClientRect")) ? function() {
2285
+ return s()[i];
2286
+ } : function() {
2287
+ return (r ? ja(n) : e["client" + n]) || 0;
2288
+ };
2289
+ }, El = function(e, r) {
2290
+ return !r || ~qt.indexOf(e) ? eu(e) : function() {
2291
+ return On;
2292
+ };
2293
+ }, Ht = function(e, r) {
2294
+ var t = r.s, i = r.d2, n = r.d, s = r.a;
2295
+ return Math.max(0, (t = "scroll" + i) && (s = br(e, t)) ? s() - eu(e)()[n] : Hr(e) ? (yt[t] || j[t]) - ja(i) : e[t] - e["offset" + i]);
2296
+ }, hn = function(e, r) {
2297
+ for (var t = 0; t < ni.length; t += 3)
2298
+ (!r || ~r.indexOf(ni[t + 1])) && e(ni[t], ni[t + 1], ni[t + 2]);
2299
+ }, gt = function(e) {
2300
+ return typeof e == "string";
2301
+ }, Ge = function(e) {
2302
+ return typeof e == "function";
2303
+ }, Ai = function(e) {
2304
+ return typeof e == "number";
2305
+ }, Lr = function(e) {
2306
+ return typeof e == "object";
2307
+ }, Pi = function(e, r, t) {
2308
+ return e && e.progress(r ? 0 : 1) && t && e.pause();
2309
+ }, is = function(e, r) {
2310
+ if (e.enabled) {
2311
+ var t = e._ctx ? e._ctx.add(function() {
2312
+ return r(e);
2313
+ }) : r(e);
2314
+ t && t.totalTime && (e.callbackAnimation = t);
2315
+ }
2316
+ }, ti = Math.abs, tu = "left", ru = "top", js = "right", eo = "bottom", Ur = "width", Wr = "height", Vi = "Right", Ui = "Left", Wi = "Top", $i = "Bottom", be = "padding", Pt = "margin", xi = "Width", to = "Height", ke = "px", Ot = function(e) {
2317
+ return B.getComputedStyle(e);
2318
+ }, Rl = function(e) {
2319
+ var r = Ot(e).position;
2320
+ e.style.position = r === "absolute" || r === "fixed" ? r : "relative";
2321
+ }, Do = function(e, r) {
2322
+ for (var t in r)
2323
+ t in e || (e[t] = r[t]);
2324
+ return e;
2325
+ }, ir = function(e, r) {
2326
+ var t = r && Ot(e)[Cs] !== "matrix(1, 0, 0, 1, 0, 0)" && E.to(e, {
2327
+ x: 0,
2328
+ y: 0,
2329
+ xPercent: 0,
2330
+ yPercent: 0,
2331
+ rotation: 0,
2332
+ rotationX: 0,
2333
+ rotationY: 0,
2334
+ scale: 1,
2335
+ skewX: 0,
2336
+ skewY: 0
2337
+ }).progress(1), i = e.getBoundingClientRect();
2338
+ return t && t.progress(0).kill(), i;
2339
+ }, Yn = function(e, r) {
2340
+ var t = r.d2;
2341
+ return e["offset" + t] || e["client" + t] || 0;
2342
+ }, iu = function(e) {
2343
+ var r = [], t = e.labels, i = e.duration(), n;
2344
+ for (n in t)
2345
+ r.push(t[n] / i);
2346
+ return r;
2347
+ }, Al = function(e) {
2348
+ return function(r) {
2349
+ return E.utils.snap(iu(e), r);
2350
+ };
2351
+ }, ro = function(e) {
2352
+ var r = E.utils.snap(e), t = Array.isArray(e) && e.slice(0).sort(function(i, n) {
2353
+ return i - n;
2354
+ });
2355
+ return t ? function(i, n, s) {
2356
+ s === void 0 && (s = 1e-3);
2357
+ var o;
2358
+ if (!n)
2359
+ return r(i);
2360
+ if (n > 0) {
2361
+ for (i -= s, o = 0; o < t.length; o++)
2362
+ if (t[o] >= i)
2363
+ return t[o];
2364
+ return t[o - 1];
2365
+ } else
2366
+ for (o = t.length, i += s; o--; )
2367
+ if (t[o] <= i)
2368
+ return t[o];
2369
+ return t[0];
2370
+ } : function(i, n, s) {
2371
+ s === void 0 && (s = 1e-3);
2372
+ var o = r(i);
2373
+ return !n || Math.abs(o - i) < s || o - i < 0 == n < 0 ? o : r(n < 0 ? i - e : i + e);
2374
+ };
2375
+ }, zl = function(e) {
2376
+ return function(r, t) {
2377
+ return ro(iu(e))(r, t.direction);
2378
+ };
2379
+ }, _n = function(e, r, t, i) {
2380
+ return t.split(",").forEach(function(n) {
2381
+ return e(r, n, i);
2382
+ });
2383
+ }, Ee = function(e, r, t, i, n) {
2384
+ return e.addEventListener(r, t, {
2385
+ passive: !i,
2386
+ capture: !!n
2387
+ });
2388
+ }, De = function(e, r, t, i) {
2389
+ return e.removeEventListener(r, t, !!i);
2390
+ }, dn = function(e, r, t) {
2391
+ t = t && t.wheelHandler, t && (e(r, "wheel", t), e(r, "touchmove", t));
2392
+ }, Eo = {
2393
+ startColor: "green",
2394
+ endColor: "red",
2395
+ indent: 0,
2396
+ fontSize: "16px",
2397
+ fontWeight: "normal"
2398
+ }, pn = {
2399
+ toggleActions: "play",
2400
+ anticipatePin: 0
2401
+ }, Bn = {
2402
+ top: 0,
2403
+ left: 0,
2404
+ center: 0.5,
2405
+ bottom: 1,
2406
+ right: 1
2407
+ }, Sn = function(e, r) {
2408
+ if (gt(e)) {
2409
+ var t = e.indexOf("="), i = ~t ? +(e.charAt(t - 1) + 1) * parseFloat(e.substr(t + 1)) : 0;
2410
+ ~t && (e.indexOf("%") > t && (i *= r / 100), e = e.substr(0, t - 1)), e = i + (e in Bn ? Bn[e] * r : ~e.indexOf("%") ? parseFloat(e) * r / 100 : parseFloat(e) || 0);
2411
+ }
2412
+ return e;
2413
+ }, gn = function(e, r, t, i, n, s, o, u) {
2414
+ var l = n.startColor, f = n.endColor, _ = n.fontSize, d = n.indent, c = n.fontWeight, p = ie.createElement("div"), h = Hr(t) || br(t, "pinType") === "fixed", m = e.indexOf("scroller") !== -1, b = h ? j : t, T = e.indexOf("start") !== -1, S = T ? l : f, v = "border-color:" + S + ";font-size:" + _ + ";color:" + S + ";font-weight:" + c + ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";
2415
+ return v += "position:" + ((m || u) && h ? "fixed;" : "absolute;"), (m || u || !h) && (v += (i === Pe ? js : eo) + ":" + (s + parseFloat(d)) + "px;"), o && (v += "box-sizing:border-box;text-align:left;width:" + o.offsetWidth + "px;"), p._isStart = T, p.setAttribute("class", "gsap-marker-" + e + (r ? " marker-" + r : "")), p.style.cssText = v, p.innerText = r || r === 0 ? e + "-" + r : e, b.children[0] ? b.insertBefore(p, b.children[0]) : b.appendChild(p), p._offset = p["offset" + i.op.d2], Cn(p, 0, i, T), p;
2416
+ }, Cn = function(e, r, t, i) {
2417
+ var n = {
2418
+ display: "block"
2419
+ }, s = t[i ? "os2" : "p2"], o = t[i ? "p2" : "os2"];
2420
+ e._isFlipped = i, n[t.a + "Percent"] = i ? -100 : 0, n[t.a] = i ? "1px" : 0, n["border" + s + xi] = 1, n["border" + o + xi] = 0, n[t.p] = r + "px", E.set(e, n);
2421
+ }, Y = [], Ms = {}, tn, Ro = function() {
2422
+ return We() - Rt > 34 && (tn || (tn = requestAnimationFrame(sr)));
2423
+ }, ri = function() {
2424
+ (!je || !je.isPressed || je.startX > j.clientWidth) && (X.cache++, je ? tn || (tn = requestAnimationFrame(sr)) : sr(), Rt || Kr("scrollStart"), Rt = We());
2425
+ }, ns = function() {
2426
+ Qa = B.innerWidth, Ka = B.innerHeight;
2427
+ }, zi = function(e) {
2428
+ X.cache++, (e === !0 || !Ue && !qa && !ie.fullscreenElement && !ie.webkitFullscreenElement && (!ks || Qa !== B.innerWidth || Math.abs(B.innerHeight - Ka) > B.innerHeight * 0.25)) && In.restart(!0);
2429
+ }, qr = {}, Fl = [], nu = function a() {
2430
+ return De(G, "scrollEnd", a) || Nr(!0);
2431
+ }, Kr = function(e) {
2432
+ return qr[e] && qr[e].map(function(r) {
2433
+ return r();
2434
+ }) || Fl;
2435
+ }, pt = [], su = function(e) {
2436
+ for (var r = 0; r < pt.length; r += 5)
2437
+ (!e || pt[r + 4] && pt[r + 4].query === e) && (pt[r].style.cssText = pt[r + 1], pt[r].getBBox && pt[r].setAttribute("transform", pt[r + 2] || ""), pt[r + 3].uncache = 1);
2438
+ }, io = function(e, r) {
2439
+ var t;
2440
+ for (et = 0; et < Y.length; et++)
2441
+ t = Y[et], t && (!r || t._ctx === r) && (e ? t.kill(1) : t.revert(!0, !0));
2442
+ Nn = !0, r && su(r), r || Kr("revert");
2443
+ }, ou = function(e, r) {
2444
+ X.cache++, (r || !tt) && X.forEach(function(t) {
2445
+ return Ge(t) && t.cacheID++ && (t.rec = 0);
2446
+ }), gt(e) && (B.history.scrollRestoration = Zs = e);
2447
+ }, tt, $r = 0, Ao, Ll = function() {
2448
+ if (Ao !== $r) {
2449
+ var e = Ao = $r;
2450
+ requestAnimationFrame(function() {
2451
+ return e === $r && Nr(!0);
2452
+ });
2453
+ }
2454
+ }, au = function() {
2455
+ j.appendChild(hi), Js = !je && hi.offsetHeight || B.innerHeight, j.removeChild(hi);
2456
+ }, zo = function(e) {
2457
+ return en(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(r) {
2458
+ return r.style.display = e ? "none" : "block";
2459
+ });
2460
+ }, Nr = function(e, r) {
2461
+ if (yt = ie.documentElement, j = ie.body, Qs = [B, ie, yt, j], Rt && !e && !Nn) {
2462
+ Ee(G, "scrollEnd", nu);
2463
+ return;
2464
+ }
2465
+ au(), tt = G.isRefreshing = !0, X.forEach(function(i) {
2466
+ return Ge(i) && ++i.cacheID && (i.rec = i());
2467
+ });
2468
+ var t = Kr("refreshInit");
2469
+ Ha && G.sort(), r || io(), X.forEach(function(i) {
2470
+ Ge(i) && (i.smooth && (i.target.style.scrollBehavior = "auto"), i(0));
2471
+ }), Y.slice(0).forEach(function(i) {
2472
+ return i.refresh();
2473
+ }), Nn = !1, Y.forEach(function(i) {
2474
+ if (i._subPinOffset && i.pin) {
2475
+ var n = i.vars.horizontal ? "offsetWidth" : "offsetHeight", s = i.pin[n];
2476
+ i.revert(!0, 1), i.adjustPinSpacing(i.pin[n] - s), i.refresh();
2477
+ }
2478
+ }), Os = 1, zo(!0), Y.forEach(function(i) {
2479
+ var n = Ht(i.scroller, i._dir), s = i.vars.end === "max" || i._endClamp && i.end > n, o = i._startClamp && i.start >= n;
2480
+ (s || o) && i.setPositions(o ? n - 1 : i.start, s ? Math.max(o ? n : i.start + 1, n) : i.end, !0);
2481
+ }), zo(!1), Os = 0, t.forEach(function(i) {
2482
+ return i && i.render && i.render(-1);
2483
+ }), X.forEach(function(i) {
2484
+ Ge(i) && (i.smooth && requestAnimationFrame(function() {
2485
+ return i.target.style.scrollBehavior = "smooth";
2486
+ }), i.rec && i(i.rec));
2487
+ }), ou(Zs, 1), In.pause(), $r++, tt = 2, sr(2), Y.forEach(function(i) {
2488
+ return Ge(i.vars.onRefresh) && i.vars.onRefresh(i);
2489
+ }), tt = G.isRefreshing = !1, Kr("refresh");
2490
+ }, Ds = 0, kn = 1, Gi, sr = function(e) {
2491
+ if (e === 2 || !tt && !Nn) {
2492
+ G.isUpdating = !0, Gi && Gi.update(0);
2493
+ var r = Y.length, t = We(), i = t - rs >= 50, n = r && Y[0].scroll();
2494
+ if (kn = Ds > n ? -1 : 1, tt || (Ds = n), i && (Rt && !Wn && t - Rt > 200 && (Rt = 0, Kr("scrollEnd")), Di = rs, rs = t), kn < 0) {
2495
+ for (et = r; et-- > 0; )
2496
+ Y[et] && Y[et].update(0, i);
2497
+ kn = 1;
2498
+ } else
2499
+ for (et = 0; et < r; et++)
2500
+ Y[et] && Y[et].update(0, i);
2501
+ G.isUpdating = !1;
2502
+ }
2503
+ tn = 0;
2504
+ }, Es = [tu, ru, eo, js, Pt + $i, Pt + Vi, Pt + Wi, Pt + Ui, "display", "flexShrink", "float", "zIndex", "gridColumnStart", "gridColumnEnd", "gridRowStart", "gridRowEnd", "gridArea", "justifySelf", "alignSelf", "placeSelf", "order"], Pn = Es.concat([Ur, Wr, "boxSizing", "max" + xi, "max" + to, "position", Pt, be, be + Wi, be + Vi, be + $i, be + Ui]), Il = function(e, r, t) {
2505
+ _i(t);
2506
+ var i = e._gsap;
2507
+ if (i.spacerIsNative)
2508
+ _i(i.spacerState);
2509
+ else if (e._gsap.swappedIn) {
2510
+ var n = r.parentNode;
2511
+ n && (n.insertBefore(e, r), n.removeChild(r));
2512
+ }
2513
+ e._gsap.swappedIn = !1;
2514
+ }, ss = function(e, r, t, i) {
2515
+ if (!e._gsap.swappedIn) {
2516
+ for (var n = Es.length, s = r.style, o = e.style, u; n--; )
2517
+ u = Es[n], s[u] = t[u];
2518
+ s.position = t.position === "absolute" ? "absolute" : "relative", t.display === "inline" && (s.display = "inline-block"), o[eo] = o[js] = "auto", s.flexBasis = t.flexBasis || "auto", s.overflow = "visible", s.boxSizing = "border-box", s[Ur] = Yn(e, it) + ke, s[Wr] = Yn(e, Pe) + ke, s[be] = o[Pt] = o[ru] = o[tu] = "0", _i(i), o[Ur] = o["max" + xi] = t[Ur], o[Wr] = o["max" + to] = t[Wr], o[be] = t[be], e.parentNode !== r && (e.parentNode.insertBefore(r, e), r.appendChild(e)), e._gsap.swappedIn = !0;
2519
+ }
2520
+ }, Nl = /([A-Z])/g, _i = function(e) {
2521
+ if (e) {
2522
+ var r = e.t.style, t = e.length, i = 0, n, s;
2523
+ for ((e.t._gsap || E.core.getCache(e.t)).uncache = 1; i < t; i += 2)
2524
+ s = e[i + 1], n = e[i], s ? r[n] = s : r[n] && r.removeProperty(n.replace(Nl, "-$1").toLowerCase());
2525
+ }
2526
+ }, mn = function(e) {
2527
+ for (var r = Pn.length, t = e.style, i = [], n = 0; n < r; n++)
2528
+ i.push(Pn[n], t[Pn[n]]);
2529
+ return i.t = e, i;
2530
+ }, Yl = function(e, r, t) {
2531
+ for (var i = [], n = e.length, s = t ? 8 : 0, o; s < n; s += 2)
2532
+ o = e[s], i.push(o, o in r ? r[o] : e[s + 1]);
2533
+ return i.t = e.t, i;
2534
+ }, On = {
2535
+ left: 0,
2536
+ top: 0
2537
+ }, Fo = function(e, r, t, i, n, s, o, u, l, f, _, d, c, p) {
2538
+ Ge(e) && (e = e(u)), gt(e) && e.substr(0, 3) === "max" && (e = d + (e.charAt(4) === "=" ? Sn("0" + e.substr(3), t) : 0));
2539
+ var h = c ? c.time() : 0, m, b, T;
2540
+ if (c && c.seek(0), isNaN(e) || (e = +e), Ai(e))
2541
+ c && (e = E.utils.mapRange(c.scrollTrigger.start, c.scrollTrigger.end, 0, d, e)), o && Cn(o, t, i, !0);
2542
+ else {
2543
+ Ge(r) && (r = r(u));
2544
+ var S = (e || "0").split(" "), v, w, k, x;
2545
+ T = ot(r, u) || j, v = ir(T) || {}, (!v || !v.left && !v.top) && Ot(T).display === "none" && (x = T.style.display, T.style.display = "block", v = ir(T), x ? T.style.display = x : T.style.removeProperty("display")), w = Sn(S[0], v[i.d]), k = Sn(S[1] || "0", t), e = v[i.p] - l[i.p] - f + w + n - k, o && Cn(o, k, i, t - k < 20 || o._isStart && k > 20), t -= t - k;
2546
+ }
2547
+ if (p && (u[p] = e || -1e-3, e < 0 && (e = 0)), s) {
2548
+ var O = e + t, C = s._isStart;
2549
+ m = "scroll" + i.d2, Cn(s, O, i, C && O > 20 || !C && (_ ? Math.max(j[m], yt[m]) : s.parentNode[m]) <= O + 1), _ && (l = ir(o), _ && (s.style[i.op.p] = l[i.op.p] - i.op.m - s._offset + ke));
2550
+ }
2551
+ return c && T && (m = ir(T), c.seek(d), b = ir(T), c._caScrollDist = m[i.p] - b[i.p], e = e / c._caScrollDist * d), c && c.seek(h), c ? e : Math.round(e);
2552
+ }, Bl = /(webkit|moz|length|cssText|inset)/i, Lo = function(e, r, t, i) {
2553
+ if (e.parentNode !== r) {
2554
+ var n = e.style, s, o;
2555
+ if (r === j) {
2556
+ e._stOrig = n.cssText, o = Ot(e);
2557
+ for (s in o)
2558
+ !+s && !Bl.test(s) && o[s] && typeof n[s] == "string" && s !== "0" && (n[s] = o[s]);
2559
+ n.top = t, n.left = i;
2560
+ } else
2561
+ n.cssText = e._stOrig;
2562
+ E.core.getCache(e).uncache = 1, r.appendChild(e);
2563
+ }
2564
+ }, uu = function(e, r, t) {
2565
+ var i = r, n = i;
2566
+ return function(s) {
2567
+ var o = Math.round(e());
2568
+ return o !== i && o !== n && Math.abs(o - i) > 3 && Math.abs(o - n) > 3 && (s = o, t && t()), n = i, i = Math.round(s), i;
2569
+ };
2570
+ }, yn = function(e, r, t) {
2571
+ var i = {};
2572
+ i[r.p] = "+=" + t, E.set(e, i);
2573
+ }, Io = function(e, r) {
2574
+ var t = Cr(e, r), i = "_scroll" + r.p2, n = function s(o, u, l, f, _) {
2575
+ var d = s.tween, c = u.onComplete, p = {};
2576
+ l = l || t();
2577
+ var h = uu(t, l, function() {
2578
+ d.kill(), s.tween = 0;
2579
+ });
2580
+ return _ = f && _ || 0, f = f || o - l, d && d.kill(), u[i] = o, u.inherit = !1, u.modifiers = p, p[i] = function() {
2581
+ return h(l + f * d.ratio + _ * d.ratio * d.ratio);
2582
+ }, u.onUpdate = function() {
2583
+ X.cache++, s.tween && sr();
2584
+ }, u.onComplete = function() {
2585
+ s.tween = 0, c && c.call(d);
2586
+ }, d = s.tween = E.to(e, u), d;
2587
+ };
2588
+ return e[i] = t, t.wheelHandler = function() {
2589
+ return n.tween && n.tween.kill() && (n.tween = 0);
2590
+ }, Ee(e, "wheel", t.wheelHandler), G.isTouch && Ee(e, "touchmove", t.wheelHandler), n;
2591
+ }, G = /* @__PURE__ */ (function() {
2592
+ function a(r, t) {
2593
+ ii || a.register(E) || console.warn("Please gsap.registerPlugin(ScrollTrigger)"), Ps(this), this.init(r, t);
2594
+ }
2595
+ var e = a.prototype;
2596
+ return e.init = function(t, i) {
2597
+ if (this.progress = this.start = 0, this.vars && this.kill(!0, !0), !Ei) {
2598
+ this.update = this.refresh = this.kill = Wt;
2599
+ return;
2600
+ }
2601
+ t = Do(gt(t) || Ai(t) || t.nodeType ? {
2602
+ trigger: t
2603
+ } : t, pn);
2604
+ var n = t, s = n.onUpdate, o = n.toggleClass, u = n.id, l = n.onToggle, f = n.onRefresh, _ = n.scrub, d = n.trigger, c = n.pin, p = n.pinSpacing, h = n.invalidateOnRefresh, m = n.anticipatePin, b = n.onScrubComplete, T = n.onSnapComplete, S = n.once, v = n.snap, w = n.pinReparent, k = n.pinSpacer, x = n.containerAnimation, O = n.fastScrollEnd, C = n.preventOverlaps, P = t.horizontal || t.containerAnimation && t.horizontal !== !1 ? it : Pe, F = !_ && _ !== 0, M = ot(t.scroller || B), W = E.core.getCache(M), V = Hr(M), K = ("pinType" in t ? t.pinType : br(M, "pinType") || V && "fixed") === "fixed", $ = [t.onEnter, t.onLeave, t.onEnterBack, t.onLeaveBack], z = F && t.toggleActions.split(" "), Z = "markers" in t ? t.markers : pn.markers, ne = V ? 0 : parseFloat(Ot(M)["border" + P.p2 + xi]) || 0, g = this, se = t.onRefreshInit && function() {
2605
+ return t.onRefreshInit(g);
2606
+ }, qe = Dl(M, V, P), At = El(M, V), ce = 0, Ae = 0, Ne = 0, xe = Cr(M, P), Ke, Ye, ur, Qe, nt, Q, pe, st, ht, y, _t, Qt, lr, he, Zt, fr, Pr, Oe, cr, ge, zt, Ct, Jt, Ti, Te, nn, jt, Zr, Jr, hr, Or, U, Mr, Ft, Lt, It, Dr, jr, er;
2607
+ if (g._startClamp = g._endClamp = !1, g._dir = P, m *= 45, g.scroller = M, g.scroll = x ? x.time.bind(x) : xe, Qe = xe(), g.vars = t, i = i || t.animation, "refreshPriority" in t && (Ha = 1, t.refreshPriority === -9999 && (Gi = g)), W.tweenScroll = W.tweenScroll || {
2608
+ top: Io(M, Pe),
2609
+ left: Io(M, it)
2610
+ }, g.tweenTo = Ke = W.tweenScroll[P.p], g.scrubDuration = function(D) {
2611
+ Mr = Ai(D) && D, Mr ? U ? U.duration(D) : U = E.to(i, {
2612
+ ease: "expo",
2613
+ totalProgress: "+=0",
2614
+ inherit: !1,
2615
+ duration: Mr,
2616
+ paused: !0,
2617
+ onComplete: function() {
2618
+ return b && b(g);
2619
+ }
2620
+ }) : (U && U.progress(1).kill(), U = 0);
2621
+ }, i && (i.vars.lazy = !1, i._initted && !g.isReverted || i.vars.immediateRender !== !1 && t.immediateRender !== !1 && i.duration() && i.render(0, !0, !0), g.animation = i.pause(), i.scrollTrigger = g, g.scrubDuration(_), hr = 0, u || (u = i.vars.id)), v && ((!Lr(v) || v.push) && (v = {
2622
+ snapTo: v
2623
+ }), "scrollBehavior" in j.style && E.set(V ? [j, yt] : M, {
2624
+ scrollBehavior: "auto"
2625
+ }), X.forEach(function(D) {
2626
+ return Ge(D) && D.target === (V ? ie.scrollingElement || yt : M) && (D.smooth = !1);
2627
+ }), ur = Ge(v.snapTo) ? v.snapTo : v.snapTo === "labels" ? Al(i) : v.snapTo === "labelsDirectional" ? zl(i) : v.directional !== !1 ? function(D, L) {
2628
+ return ro(v.snapTo)(D, We() - Ae < 500 ? 0 : L.direction);
2629
+ } : E.utils.snap(v.snapTo), Ft = v.duration || {
2630
+ min: 0.1,
2631
+ max: 2
2632
+ }, Ft = Lr(Ft) ? Xi(Ft.min, Ft.max) : Xi(Ft, Ft), Lt = E.delayedCall(v.delay || Mr / 2 || 0.1, function() {
2633
+ var D = xe(), L = We() - Ae < 500, R = Ke.tween;
2634
+ if ((L || Math.abs(g.getVelocity()) < 10) && !R && !Wn && ce !== D) {
2635
+ var I = (D - Q) / he, Me = i && !F ? i.totalProgress() : I, H = L ? 0 : (Me - Or) / (We() - Di) * 1e3 || 0, me = E.utils.clamp(-I, 1 - I, ti(H / 2) * H / 0.185), Be = I + (v.inertia === !1 ? 0 : me), _e, oe, ee = v, Nt = ee.onStart, ue = ee.onInterrupt, dt = ee.onComplete;
2636
+ if (_e = ur(Be, g), Ai(_e) || (_e = Be), oe = Math.max(0, Math.round(Q + _e * he)), D <= pe && D >= Q && oe !== D) {
2637
+ if (R && !R._initted && R.data <= ti(oe - D))
2638
+ return;
2639
+ v.inertia === !1 && (me = _e - I), Ke(oe, {
2640
+ duration: Ft(ti(Math.max(ti(Be - Me), ti(_e - Me)) * 0.185 / H / 0.05 || 0)),
2641
+ ease: v.ease || "power3",
2642
+ data: ti(oe - D),
2643
+ // record the distance so that if another snap tween occurs (conflict) we can prioritize the closest snap.
2644
+ onInterrupt: function() {
2645
+ return Lt.restart(!0) && ue && ue(g);
2646
+ },
2647
+ onComplete: function() {
2648
+ g.update(), ce = xe(), i && !F && (U ? U.resetTo("totalProgress", _e, i._tTime / i._tDur) : i.progress(_e)), hr = Or = i && !F ? i.totalProgress() : g.progress, T && T(g), dt && dt(g);
2649
+ }
2650
+ }, D, me * he, oe - D - me * he), Nt && Nt(g, Ke.tween);
2651
+ }
2652
+ } else g.isActive && ce !== D && Lt.restart(!0);
2653
+ }).pause()), u && (Ms[u] = g), d = g.trigger = ot(d || c !== !0 && c), er = d && d._gsap && d._gsap.stRevert, er && (er = er(g)), c = c === !0 ? d : ot(c), gt(o) && (o = {
2654
+ targets: d,
2655
+ className: o
2656
+ }), c && (p === !1 || p === Pt || (p = !p && c.parentNode && c.parentNode.style && Ot(c.parentNode).display === "flex" ? !1 : be), g.pin = c, Ye = E.core.getCache(c), Ye.spacer ? Zt = Ye.pinState : (k && (k = ot(k), k && !k.nodeType && (k = k.current || k.nativeElement), Ye.spacerIsNative = !!k, k && (Ye.spacerState = mn(k))), Ye.spacer = Oe = k || ie.createElement("div"), Oe.classList.add("pin-spacer"), u && Oe.classList.add("pin-spacer-" + u), Ye.pinState = Zt = mn(c)), t.force3D !== !1 && E.set(c, {
2657
+ force3D: !0
2658
+ }), g.spacer = Oe = Ye.spacer, Jr = Ot(c), Ti = Jr[p + P.os2], ge = E.getProperty(c), zt = E.quickSetter(c, P.a, ke), ss(c, Oe, Jr), Pr = mn(c)), Z) {
2659
+ Qt = Lr(Z) ? Do(Z, Eo) : Eo, y = gn("scroller-start", u, M, P, Qt, 0), _t = gn("scroller-end", u, M, P, Qt, 0, y), cr = y["offset" + P.op.d2];
2660
+ var bi = ot(br(M, "content") || M);
2661
+ st = this.markerStart = gn("start", u, bi, P, Qt, cr, 0, x), ht = this.markerEnd = gn("end", u, bi, P, Qt, cr, 0, x), x && (jr = E.quickSetter([st, ht], P.a, ke)), !K && !(qt.length && br(M, "fixedMarkers") === !0) && (Rl(V ? j : M), E.set([y, _t], {
2662
+ force3D: !0
2663
+ }), nn = E.quickSetter(y, P.a, ke), Zr = E.quickSetter(_t, P.a, ke));
2664
+ }
2665
+ if (x) {
2666
+ var N = x.vars.onUpdate, A = x.vars.onUpdateParams;
2667
+ x.eventCallback("onUpdate", function() {
2668
+ g.update(0, 0, 1), N && N.apply(x, A || []);
2669
+ });
2670
+ }
2671
+ if (g.previous = function() {
2672
+ return Y[Y.indexOf(g) - 1];
2673
+ }, g.next = function() {
2674
+ return Y[Y.indexOf(g) + 1];
2675
+ }, g.revert = function(D, L) {
2676
+ if (!L)
2677
+ return g.kill(!0);
2678
+ var R = D !== !1 || !g.enabled, I = Ue;
2679
+ R !== g.isReverted && (R && (It = Math.max(xe(), g.scroll.rec || 0), Ne = g.progress, Dr = i && i.progress()), st && [st, ht, y, _t].forEach(function(Me) {
2680
+ return Me.style.display = R ? "none" : "block";
2681
+ }), R && (Ue = g, g.update(R)), c && (!w || !g.isActive) && (R ? Il(c, Oe, Zt) : ss(c, Oe, Ot(c), Te)), R || g.update(R), Ue = I, g.isReverted = R);
2682
+ }, g.refresh = function(D, L, R, I) {
2683
+ if (!((Ue || !g.enabled) && !L)) {
2684
+ if (c && D && Rt) {
2685
+ Ee(a, "scrollEnd", nu);
2686
+ return;
2687
+ }
2688
+ !tt && se && se(g), Ue = g, Ke.tween && !R && (Ke.tween.kill(), Ke.tween = 0), U && U.pause(), h && i && (i.revert({
2689
+ kill: !1
2690
+ }).invalidate(), i.getChildren && i.getChildren(!0, !0, !1).forEach(function(_r) {
2691
+ return _r.vars.immediateRender && _r.render(0, !0, !0);
2692
+ })), g.isReverted || g.revert(!0, !0), g._subPinOffset = !1;
2693
+ var Me = qe(), H = At(), me = x ? x.duration() : Ht(M, P), Be = he <= 0.01 || !he, _e = 0, oe = I || 0, ee = Lr(R) ? R.end : t.end, Nt = t.endTrigger || d, ue = Lr(R) ? R.start : t.start || (t.start === 0 || !d ? 0 : c ? "0 0" : "0 100%"), dt = g.pinnedContainer = t.pinnedContainer && ot(t.pinnedContainer, g), Bt = d && Math.max(0, Y.indexOf(g)) || 0, ze = Bt, Fe, Xe, Er, sn, Ve, Ce, Xt, $n, no, wi, Vt, Si, on;
2694
+ for (Z && Lr(R) && (Si = E.getProperty(y, P.p), on = E.getProperty(_t, P.p)); ze-- > 0; )
2695
+ Ce = Y[ze], Ce.end || Ce.refresh(0, 1) || (Ue = g), Xt = Ce.pin, Xt && (Xt === d || Xt === c || Xt === dt) && !Ce.isReverted && (wi || (wi = []), wi.unshift(Ce), Ce.revert(!0, !0)), Ce !== Y[ze] && (Bt--, ze--);
2696
+ for (Ge(ue) && (ue = ue(g)), ue = ko(ue, "start", g), Q = Fo(ue, d, Me, P, xe(), st, y, g, H, ne, K, me, x, g._startClamp && "_startClamp") || (c ? -1e-3 : 0), Ge(ee) && (ee = ee(g)), gt(ee) && !ee.indexOf("+=") && (~ee.indexOf(" ") ? ee = (gt(ue) ? ue.split(" ")[0] : "") + ee : (_e = Sn(ee.substr(2), Me), ee = gt(ue) ? ue : (x ? E.utils.mapRange(0, x.duration(), x.scrollTrigger.start, x.scrollTrigger.end, Q) : Q) + _e, Nt = d)), ee = ko(ee, "end", g), pe = Math.max(Q, Fo(ee || (Nt ? "100% 0" : me), Nt, Me, P, xe() + _e, ht, _t, g, H, ne, K, me, x, g._endClamp && "_endClamp")) || -1e-3, _e = 0, ze = Bt; ze--; )
2697
+ Ce = Y[ze], Xt = Ce.pin, Xt && Ce.start - Ce._pinPush <= Q && !x && Ce.end > 0 && (Fe = Ce.end - (g._startClamp ? Math.max(0, Ce.start) : Ce.start), (Xt === d && Ce.start - Ce._pinPush < Q || Xt === dt) && isNaN(ue) && (_e += Fe * (1 - Ce.progress)), Xt === c && (oe += Fe));
2698
+ if (Q += _e, pe += _e, g._startClamp && (g._startClamp += _e), g._endClamp && !tt && (g._endClamp = pe || -1e-3, pe = Math.min(pe, Ht(M, P))), he = pe - Q || (Q -= 0.01) && 1e-3, Be && (Ne = E.utils.clamp(0, 1, E.utils.normalize(Q, pe, It))), g._pinPush = oe, st && _e && (Fe = {}, Fe[P.a] = "+=" + _e, dt && (Fe[P.p] = "-=" + xe()), E.set([st, ht], Fe)), c && !(Os && g.end >= Ht(M, P)))
2699
+ Fe = Ot(c), sn = P === Pe, Er = xe(), Ct = parseFloat(ge(P.a)) + oe, !me && pe > 1 && (Vt = (V ? ie.scrollingElement || yt : M).style, Vt = {
2700
+ style: Vt,
2701
+ value: Vt["overflow" + P.a.toUpperCase()]
2702
+ }, V && Ot(j)["overflow" + P.a.toUpperCase()] !== "scroll" && (Vt.style["overflow" + P.a.toUpperCase()] = "scroll")), ss(c, Oe, Fe), Pr = mn(c), Xe = ir(c, !0), $n = K && Cr(M, sn ? it : Pe)(), p ? (Te = [p + P.os2, he + oe + ke], Te.t = Oe, ze = p === be ? Yn(c, P) + he + oe : 0, ze && (Te.push(P.d, ze + ke), Oe.style.flexBasis !== "auto" && (Oe.style.flexBasis = ze + ke)), _i(Te), dt && Y.forEach(function(_r) {
2703
+ _r.pin === dt && _r.vars.pinSpacing !== !1 && (_r._subPinOffset = !0);
2704
+ }), K && xe(It)) : (ze = Yn(c, P), ze && Oe.style.flexBasis !== "auto" && (Oe.style.flexBasis = ze + ke)), K && (Ve = {
2705
+ top: Xe.top + (sn ? Er - Q : $n) + ke,
2706
+ left: Xe.left + (sn ? $n : Er - Q) + ke,
2707
+ boxSizing: "border-box",
2708
+ position: "fixed"
2709
+ }, Ve[Ur] = Ve["max" + xi] = Math.ceil(Xe.width) + ke, Ve[Wr] = Ve["max" + to] = Math.ceil(Xe.height) + ke, Ve[Pt] = Ve[Pt + Wi] = Ve[Pt + Vi] = Ve[Pt + $i] = Ve[Pt + Ui] = "0", Ve[be] = Fe[be], Ve[be + Wi] = Fe[be + Wi], Ve[be + Vi] = Fe[be + Vi], Ve[be + $i] = Fe[be + $i], Ve[be + Ui] = Fe[be + Ui], fr = Yl(Zt, Ve, w), tt && xe(0)), i ? (no = i._initted, es(1), i.render(i.duration(), !0, !0), Jt = ge(P.a) - Ct + he + oe, jt = Math.abs(he - Jt) > 1, K && jt && fr.splice(fr.length - 2, 2), i.render(0, !0, !0), no || i.invalidate(!0), i.parent || i.totalTime(i.totalTime()), es(0)) : Jt = he, Vt && (Vt.value ? Vt.style["overflow" + P.a.toUpperCase()] = Vt.value : Vt.style.removeProperty("overflow-" + P.a));
2710
+ else if (d && xe() && !x)
2711
+ for (Xe = d.parentNode; Xe && Xe !== j; )
2712
+ Xe._pinOffset && (Q -= Xe._pinOffset, pe -= Xe._pinOffset), Xe = Xe.parentNode;
2713
+ wi && wi.forEach(function(_r) {
2714
+ return _r.revert(!1, !0);
2715
+ }), g.start = Q, g.end = pe, Qe = nt = tt ? It : xe(), !x && !tt && (Qe < It && xe(It), g.scroll.rec = 0), g.revert(!1, !0), Ae = We(), Lt && (ce = -1, Lt.restart(!0)), Ue = 0, i && F && (i._initted || Dr) && i.progress() !== Dr && i.progress(Dr || 0, !0).render(i.time(), !0, !0), (Be || Ne !== g.progress || x || h || i && !i._initted) && (i && !F && (i._initted || Ne || i.vars.immediateRender !== !1) && i.totalProgress(x && Q < -1e-3 && !Ne ? E.utils.normalize(Q, pe, 0) : Ne, !0), g.progress = Be || (Qe - Q) / he === Ne ? 0 : Ne), c && p && (Oe._pinOffset = Math.round(g.progress * Jt)), U && U.invalidate(), isNaN(Si) || (Si -= E.getProperty(y, P.p), on -= E.getProperty(_t, P.p), yn(y, P, Si), yn(st, P, Si - (I || 0)), yn(_t, P, on), yn(ht, P, on - (I || 0))), Be && !tt && g.update(), f && !tt && !lr && (lr = !0, f(g), lr = !1);
2716
+ }
2717
+ }, g.getVelocity = function() {
2718
+ return (xe() - nt) / (We() - Di) * 1e3 || 0;
2719
+ }, g.endAnimation = function() {
2720
+ Pi(g.callbackAnimation), i && (U ? U.progress(1) : i.paused() ? F || Pi(i, g.direction < 0, 1) : Pi(i, i.reversed()));
2721
+ }, g.labelToScroll = function(D) {
2722
+ return i && i.labels && (Q || g.refresh() || Q) + i.labels[D] / i.duration() * he || 0;
2723
+ }, g.getTrailing = function(D) {
2724
+ var L = Y.indexOf(g), R = g.direction > 0 ? Y.slice(0, L).reverse() : Y.slice(L + 1);
2725
+ return (gt(D) ? R.filter(function(I) {
2726
+ return I.vars.preventOverlaps === D;
2727
+ }) : R).filter(function(I) {
2728
+ return g.direction > 0 ? I.end <= Q : I.start >= pe;
2729
+ });
2730
+ }, g.update = function(D, L, R) {
2731
+ if (!(x && !R && !D)) {
2732
+ var I = tt === !0 ? It : g.scroll(), Me = D ? 0 : (I - Q) / he, H = Me < 0 ? 0 : Me > 1 ? 1 : Me || 0, me = g.progress, Be, _e, oe, ee, Nt, ue, dt, Bt;
2733
+ if (L && (nt = Qe, Qe = x ? xe() : I, v && (Or = hr, hr = i && !F ? i.totalProgress() : H)), m && c && !Ue && !cn && Rt && (!H && Q < I + (I - nt) / (We() - Di) * m ? H = 1e-4 : H === 1 && pe > I + (I - nt) / (We() - Di) * m && (H = 0.9999)), H !== me && g.enabled) {
2734
+ if (Be = g.isActive = !!H && H < 1, _e = !!me && me < 1, ue = Be !== _e, Nt = ue || !!H != !!me, g.direction = H > me ? 1 : -1, g.progress = H, Nt && !Ue && (oe = H && !me ? 0 : H === 1 ? 1 : me === 1 ? 2 : 3, F && (ee = !ue && z[oe + 1] !== "none" && z[oe + 1] || z[oe], Bt = i && (ee === "complete" || ee === "reset" || ee in i))), C && (ue || Bt) && (Bt || _ || !i) && (Ge(C) ? C(g) : g.getTrailing(C).forEach(function(Er) {
2735
+ return Er.endAnimation();
2736
+ })), F || (U && !Ue && !cn ? (U._dp._time - U._start !== U._time && U.render(U._dp._time - U._start), U.resetTo ? U.resetTo("totalProgress", H, i._tTime / i._tDur) : (U.vars.totalProgress = H, U.invalidate().restart())) : i && i.totalProgress(H, !!(Ue && (Ae || D)))), c) {
2737
+ if (D && p && (Oe.style[p + P.os2] = Ti), !K)
2738
+ zt(Ri(Ct + Jt * H));
2739
+ else if (Nt) {
2740
+ if (dt = !D && H > me && pe + 1 > I && I + 1 >= Ht(M, P), w)
2741
+ if (!D && (Be || dt)) {
2742
+ var ze = ir(c, !0), Fe = I - Q;
2743
+ Lo(c, j, ze.top + (P === Pe ? Fe : 0) + ke, ze.left + (P === Pe ? 0 : Fe) + ke);
2744
+ } else
2745
+ Lo(c, Oe);
2746
+ _i(Be || dt ? fr : Pr), jt && H < 1 && Be || zt(Ct + (H === 1 && !dt ? Jt : 0));
2747
+ }
2748
+ }
2749
+ v && !Ke.tween && !Ue && !cn && Lt.restart(!0), o && (ue || S && H && (H < 1 || !ts)) && en(o.targets).forEach(function(Er) {
2750
+ return Er.classList[Be || S ? "add" : "remove"](o.className);
2751
+ }), s && !F && !D && s(g), Nt && !Ue ? (F && (Bt && (ee === "complete" ? i.pause().totalProgress(1) : ee === "reset" ? i.restart(!0).pause() : ee === "restart" ? i.restart(!0) : i[ee]()), s && s(g)), (ue || !ts) && (l && ue && is(g, l), $[oe] && is(g, $[oe]), S && (H === 1 ? g.kill(!1, 1) : $[oe] = 0), ue || (oe = H === 1 ? 1 : 3, $[oe] && is(g, $[oe]))), O && !Be && Math.abs(g.getVelocity()) > (Ai(O) ? O : 2500) && (Pi(g.callbackAnimation), U ? U.progress(1) : Pi(i, ee === "reverse" ? 1 : !H, 1))) : F && s && !Ue && s(g);
2752
+ }
2753
+ if (Zr) {
2754
+ var Xe = x ? I / x.duration() * (x._caScrollDist || 0) : I;
2755
+ nn(Xe + (y._isFlipped ? 1 : 0)), Zr(Xe);
2756
+ }
2757
+ jr && jr(-I / x.duration() * (x._caScrollDist || 0));
2758
+ }
2759
+ }, g.enable = function(D, L) {
2760
+ g.enabled || (g.enabled = !0, Ee(M, "resize", zi), V || Ee(M, "scroll", ri), se && Ee(a, "refreshInit", se), D !== !1 && (g.progress = Ne = 0, Qe = nt = ce = xe()), L !== !1 && g.refresh());
2761
+ }, g.getTween = function(D) {
2762
+ return D && Ke ? Ke.tween : U;
2763
+ }, g.setPositions = function(D, L, R, I) {
2764
+ if (x) {
2765
+ var Me = x.scrollTrigger, H = x.duration(), me = Me.end - Me.start;
2766
+ D = Me.start + me * D / H, L = Me.start + me * L / H;
2767
+ }
2768
+ g.refresh(!1, !1, {
2769
+ start: Po(D, R && !!g._startClamp),
2770
+ end: Po(L, R && !!g._endClamp)
2771
+ }, I), g.update();
2772
+ }, g.adjustPinSpacing = function(D) {
2773
+ if (Te && D) {
2774
+ var L = Te.indexOf(P.d) + 1;
2775
+ Te[L] = parseFloat(Te[L]) + D + ke, Te[1] = parseFloat(Te[1]) + D + ke, _i(Te);
2776
+ }
2777
+ }, g.disable = function(D, L) {
2778
+ if (g.enabled && (D !== !1 && g.revert(!0, !0), g.enabled = g.isActive = !1, L || U && U.pause(), It = 0, Ye && (Ye.uncache = 1), se && De(a, "refreshInit", se), Lt && (Lt.pause(), Ke.tween && Ke.tween.kill() && (Ke.tween = 0)), !V)) {
2779
+ for (var R = Y.length; R--; )
2780
+ if (Y[R].scroller === M && Y[R] !== g)
2781
+ return;
2782
+ De(M, "resize", zi), V || De(M, "scroll", ri);
2783
+ }
2784
+ }, g.kill = function(D, L) {
2785
+ g.disable(D, L), U && !L && U.kill(), u && delete Ms[u];
2786
+ var R = Y.indexOf(g);
2787
+ R >= 0 && Y.splice(R, 1), R === et && kn > 0 && et--, R = 0, Y.forEach(function(I) {
2788
+ return I.scroller === g.scroller && (R = 1);
2789
+ }), R || tt || (g.scroll.rec = 0), i && (i.scrollTrigger = null, D && i.revert({
2790
+ kill: !1
2791
+ }), L || i.kill()), st && [st, ht, y, _t].forEach(function(I) {
2792
+ return I.parentNode && I.parentNode.removeChild(I);
2793
+ }), Gi === g && (Gi = 0), c && (Ye && (Ye.uncache = 1), R = 0, Y.forEach(function(I) {
2794
+ return I.pin === c && R++;
2795
+ }), R || (Ye.spacer = 0)), t.onKill && t.onKill(g);
2796
+ }, Y.push(g), g.enable(!1, !1), er && er(g), i && i.add && !he) {
2797
+ var J = g.update;
2798
+ g.update = function() {
2799
+ g.update = J, X.cache++, Q || pe || g.refresh();
2800
+ }, E.delayedCall(0.01, g.update), he = 0.01, Q = pe = 0;
2801
+ } else
2802
+ g.refresh();
2803
+ c && Ll();
2804
+ }, a.register = function(t) {
2805
+ return ii || (E = t || Ja(), Za() && window.document && a.enable(), ii = Ei), ii;
2806
+ }, a.defaults = function(t) {
2807
+ if (t)
2808
+ for (var i in t)
2809
+ pn[i] = t[i];
2810
+ return pn;
2811
+ }, a.disable = function(t, i) {
2812
+ Ei = 0, Y.forEach(function(s) {
2813
+ return s[i ? "kill" : "disable"](t);
2814
+ }), De(B, "wheel", ri), De(ie, "scroll", ri), clearInterval(fn), De(ie, "touchcancel", Wt), De(j, "touchstart", Wt), _n(De, ie, "pointerdown,touchstart,mousedown", Oo), _n(De, ie, "pointerup,touchend,mouseup", Mo), In.kill(), hn(De);
2815
+ for (var n = 0; n < X.length; n += 3)
2816
+ dn(De, X[n], X[n + 1]), dn(De, X[n], X[n + 2]);
2817
+ }, a.enable = function() {
2818
+ if (B = window, ie = document, yt = ie.documentElement, j = ie.body, E && (en = E.utils.toArray, Xi = E.utils.clamp, Ps = E.core.context || Wt, es = E.core.suppressOverwrites || Wt, Zs = B.history.scrollRestoration || "auto", Ds = B.pageYOffset || 0, E.core.globals("ScrollTrigger", a), j)) {
2819
+ Ei = 1, hi = document.createElement("div"), hi.style.height = "100vh", hi.style.position = "absolute", au(), Ml(), ve.register(E), a.isTouch = ve.isTouch, dr = ve.isTouch && /(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent), ks = ve.isTouch === 1, Ee(B, "wheel", ri), Qs = [B, ie, yt, j], E.matchMedia ? (a.matchMedia = function(l) {
2820
+ var f = E.matchMedia(), _;
2821
+ for (_ in l)
2822
+ f.add(_, l[_]);
2823
+ return f;
2824
+ }, E.addEventListener("matchMediaInit", function() {
2825
+ return io();
2826
+ }), E.addEventListener("matchMediaRevert", function() {
2827
+ return su();
2828
+ }), E.addEventListener("matchMedia", function() {
2829
+ Nr(0, 1), Kr("matchMedia");
2830
+ }), E.matchMedia().add("(orientation: portrait)", function() {
2831
+ return ns(), ns;
2832
+ })) : console.warn("Requires GSAP 3.11.0 or later"), ns(), Ee(ie, "scroll", ri);
2833
+ var t = j.hasAttribute("style"), i = j.style, n = i.borderTopStyle, s = E.core.Animation.prototype, o, u;
2834
+ for (s.revert || Object.defineProperty(s, "revert", {
2835
+ value: function() {
2836
+ return this.time(-0.01, !0);
2837
+ }
2838
+ }), i.borderTopStyle = "solid", o = ir(j), Pe.m = Math.round(o.top + Pe.sc()) || 0, it.m = Math.round(o.left + it.sc()) || 0, n ? i.borderTopStyle = n : i.removeProperty("border-top-style"), t || (j.setAttribute("style", ""), j.removeAttribute("style")), fn = setInterval(Ro, 250), E.delayedCall(0.5, function() {
2839
+ return cn = 0;
2840
+ }), Ee(ie, "touchcancel", Wt), Ee(j, "touchstart", Wt), _n(Ee, ie, "pointerdown,touchstart,mousedown", Oo), _n(Ee, ie, "pointerup,touchend,mouseup", Mo), Cs = E.utils.checkPrefix("transform"), Pn.push(Cs), ii = We(), In = E.delayedCall(0.2, Nr).pause(), ni = [ie, "visibilitychange", function() {
2841
+ var l = B.innerWidth, f = B.innerHeight;
2842
+ ie.hidden ? (So = l, Co = f) : (So !== l || Co !== f) && zi();
2843
+ }, ie, "DOMContentLoaded", Nr, B, "load", Nr, B, "resize", zi], hn(Ee), Y.forEach(function(l) {
2844
+ return l.enable(0, 1);
2845
+ }), u = 0; u < X.length; u += 3)
2846
+ dn(De, X[u], X[u + 1]), dn(De, X[u], X[u + 2]);
2847
+ }
2848
+ }, a.config = function(t) {
2849
+ "limitCallbacks" in t && (ts = !!t.limitCallbacks);
2850
+ var i = t.syncInterval;
2851
+ i && clearInterval(fn) || (fn = i) && setInterval(Ro, i), "ignoreMobileResize" in t && (ks = a.isTouch === 1 && t.ignoreMobileResize), "autoRefreshEvents" in t && (hn(De) || hn(Ee, t.autoRefreshEvents || "none"), qa = (t.autoRefreshEvents + "").indexOf("resize") === -1);
2852
+ }, a.scrollerProxy = function(t, i) {
2853
+ var n = ot(t), s = X.indexOf(n), o = Hr(n);
2854
+ ~s && X.splice(s, o ? 6 : 2), i && (o ? qt.unshift(B, i, j, i, yt, i) : qt.unshift(n, i));
2855
+ }, a.clearMatchMedia = function(t) {
2856
+ Y.forEach(function(i) {
2857
+ return i._ctx && i._ctx.query === t && i._ctx.kill(!0, !0);
2858
+ });
2859
+ }, a.isInViewport = function(t, i, n) {
2860
+ var s = (gt(t) ? ot(t) : t).getBoundingClientRect(), o = s[n ? Ur : Wr] * i || 0;
2861
+ return n ? s.right - o > 0 && s.left + o < B.innerWidth : s.bottom - o > 0 && s.top + o < B.innerHeight;
2862
+ }, a.positionInViewport = function(t, i, n) {
2863
+ gt(t) && (t = ot(t));
2864
+ var s = t.getBoundingClientRect(), o = s[n ? Ur : Wr], u = i == null ? o / 2 : i in Bn ? Bn[i] * o : ~i.indexOf("%") ? parseFloat(i) * o / 100 : parseFloat(i) || 0;
2865
+ return n ? (s.left + u) / B.innerWidth : (s.top + u) / B.innerHeight;
2866
+ }, a.killAll = function(t) {
2867
+ if (Y.slice(0).forEach(function(n) {
2868
+ return n.vars.id !== "ScrollSmoother" && n.kill();
2869
+ }), t !== !0) {
2870
+ var i = qr.killAll || [];
2871
+ qr = {}, i.forEach(function(n) {
2872
+ return n();
2873
+ });
2874
+ }
2875
+ }, a;
2876
+ })();
2877
+ G.version = "3.13.0";
2878
+ G.saveStyles = function(a) {
2879
+ return a ? en(a).forEach(function(e) {
2880
+ if (e && e.style) {
2881
+ var r = pt.indexOf(e);
2882
+ r >= 0 && pt.splice(r, 5), pt.push(e, e.style.cssText, e.getBBox && e.getAttribute("transform"), E.core.getCache(e), Ps());
2883
+ }
2884
+ }) : pt;
2885
+ };
2886
+ G.revert = function(a, e) {
2887
+ return io(!a, e);
2888
+ };
2889
+ G.create = function(a, e) {
2890
+ return new G(a, e);
2891
+ };
2892
+ G.refresh = function(a) {
2893
+ return a ? zi(!0) : (ii || G.register()) && Nr(!0);
2894
+ };
2895
+ G.update = function(a) {
2896
+ return ++X.cache && sr(a === !0 ? 2 : 0);
2897
+ };
2898
+ G.clearScrollMemory = ou;
2899
+ G.maxScroll = function(a, e) {
2900
+ return Ht(a, e ? it : Pe);
2901
+ };
2902
+ G.getScrollFunc = function(a, e) {
2903
+ return Cr(ot(a), e ? it : Pe);
2904
+ };
2905
+ G.getById = function(a) {
2906
+ return Ms[a];
2907
+ };
2908
+ G.getAll = function() {
2909
+ return Y.filter(function(a) {
2910
+ return a.vars.id !== "ScrollSmoother";
2911
+ });
2912
+ };
2913
+ G.isScrolling = function() {
2914
+ return !!Rt;
2915
+ };
2916
+ G.snapDirectional = ro;
2917
+ G.addEventListener = function(a, e) {
2918
+ var r = qr[a] || (qr[a] = []);
2919
+ ~r.indexOf(e) || r.push(e);
2920
+ };
2921
+ G.removeEventListener = function(a, e) {
2922
+ var r = qr[a], t = r && r.indexOf(e);
2923
+ t >= 0 && r.splice(t, 1);
2924
+ };
2925
+ G.batch = function(a, e) {
2926
+ var r = [], t = {}, i = e.interval || 0.016, n = e.batchMax || 1e9, s = function(l, f) {
2927
+ var _ = [], d = [], c = E.delayedCall(i, function() {
2928
+ f(_, d), _ = [], d = [];
2929
+ }).pause();
2930
+ return function(p) {
2931
+ _.length || c.restart(!0), _.push(p.trigger), d.push(p), n <= _.length && c.progress(1);
2932
+ };
2933
+ }, o;
2934
+ for (o in e)
2935
+ t[o] = o.substr(0, 2) === "on" && Ge(e[o]) && o !== "onRefreshInit" ? s(o, e[o]) : e[o];
2936
+ return Ge(n) && (n = n(), Ee(G, "refresh", function() {
2937
+ return n = e.batchMax();
2938
+ })), en(a).forEach(function(u) {
2939
+ var l = {};
2940
+ for (o in t)
2941
+ l[o] = t[o];
2942
+ l.trigger = u, r.push(G.create(l));
2943
+ }), r;
2944
+ };
2945
+ var No = function(e, r, t, i) {
2946
+ return r > i ? e(i) : r < 0 && e(0), t > i ? (i - r) / (t - r) : t < 0 ? r / (r - t) : 1;
2947
+ }, os = function a(e, r) {
2948
+ r === !0 ? e.style.removeProperty("touch-action") : e.style.touchAction = r === !0 ? "auto" : r ? "pan-" + r + (ve.isTouch ? " pinch-zoom" : "") : "none", e === yt && a(j, r);
2949
+ }, vn = {
2950
+ auto: 1,
2951
+ scroll: 1
2952
+ }, Xl = function(e) {
2953
+ var r = e.event, t = e.target, i = e.axis, n = (r.changedTouches ? r.changedTouches[0] : r).target, s = n._gsap || E.core.getCache(n), o = We(), u;
2954
+ if (!s._isScrollT || o - s._isScrollT > 2e3) {
2955
+ for (; n && n !== j && (n.scrollHeight <= n.clientHeight && n.scrollWidth <= n.clientWidth || !(vn[(u = Ot(n)).overflowY] || vn[u.overflowX])); )
2956
+ n = n.parentNode;
2957
+ s._isScroll = n && n !== t && !Hr(n) && (vn[(u = Ot(n)).overflowY] || vn[u.overflowX]), s._isScrollT = o;
2958
+ }
2959
+ (s._isScroll || i === "x") && (r.stopPropagation(), r._gsapAllow = !0);
2960
+ }, lu = function(e, r, t, i) {
2961
+ return ve.create({
2962
+ target: e,
2963
+ capture: !0,
2964
+ debounce: !1,
2965
+ lockAxis: !0,
2966
+ type: r,
2967
+ onWheel: i = i && Xl,
2968
+ onPress: i,
2969
+ onDrag: i,
2970
+ onScroll: i,
2971
+ onEnable: function() {
2972
+ return t && Ee(ie, ve.eventTypes[0], Bo, !1, !0);
2973
+ },
2974
+ onDisable: function() {
2975
+ return De(ie, ve.eventTypes[0], Bo, !0);
2976
+ }
2977
+ });
2978
+ }, Vl = /(input|label|select|textarea)/i, Yo, Bo = function(e) {
2979
+ var r = Vl.test(e.target.tagName);
2980
+ (r || Yo) && (e._gsapAllow = !0, Yo = r);
2981
+ }, Ul = function(e) {
2982
+ Lr(e) || (e = {}), e.preventDefault = e.isNormalizer = e.allowClicks = !0, e.type || (e.type = "wheel,touch"), e.debounce = !!e.debounce, e.id = e.id || "normalizer";
2983
+ var r = e, t = r.normalizeScrollX, i = r.momentum, n = r.allowNestedScroll, s = r.onRelease, o, u, l = ot(e.target) || yt, f = E.core.globals().ScrollSmoother, _ = f && f.get(), d = dr && (e.content && ot(e.content) || _ && e.content !== !1 && !_.smooth() && _.content()), c = Cr(l, Pe), p = Cr(l, it), h = 1, m = (ve.isTouch && B.visualViewport ? B.visualViewport.scale * B.visualViewport.width : B.outerWidth) / B.innerWidth, b = 0, T = Ge(i) ? function() {
2984
+ return i(o);
2985
+ } : function() {
2986
+ return i || 2.8;
2987
+ }, S, v, w = lu(l, e.type, !0, n), k = function() {
2988
+ return v = !1;
2989
+ }, x = Wt, O = Wt, C = function() {
2990
+ u = Ht(l, Pe), O = Xi(dr ? 1 : 0, u), t && (x = Xi(0, Ht(l, it))), S = $r;
2991
+ }, P = function() {
2992
+ d._gsap.y = Ri(parseFloat(d._gsap.y) + c.offset) + "px", d.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + parseFloat(d._gsap.y) + ", 0, 1)", c.offset = c.cacheID = 0;
2993
+ }, F = function() {
2994
+ if (v) {
2995
+ requestAnimationFrame(k);
2996
+ var Z = Ri(o.deltaY / 2), ne = O(c.v - Z);
2997
+ if (d && ne !== c.v + c.offset) {
2998
+ c.offset = ne - c.v;
2999
+ var g = Ri((parseFloat(d && d._gsap.y) || 0) - c.offset);
3000
+ d.style.transform = "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, " + g + ", 0, 1)", d._gsap.y = g + "px", c.cacheID = X.cache, sr();
3001
+ }
3002
+ return !0;
3003
+ }
3004
+ c.offset && P(), v = !0;
3005
+ }, M, W, V, K, $ = function() {
3006
+ C(), M.isActive() && M.vars.scrollY > u && (c() > u ? M.progress(1) && c(u) : M.resetTo("scrollY", u));
3007
+ };
3008
+ return d && E.set(d, {
3009
+ y: "+=0"
3010
+ }), e.ignoreCheck = function(z) {
3011
+ return dr && z.type === "touchmove" && F() || h > 1.05 && z.type !== "touchstart" || o.isGesturing || z.touches && z.touches.length > 1;
3012
+ }, e.onPress = function() {
3013
+ v = !1;
3014
+ var z = h;
3015
+ h = Ri((B.visualViewport && B.visualViewport.scale || 1) / m), M.pause(), z !== h && os(l, h > 1.01 ? !0 : t ? !1 : "x"), W = p(), V = c(), C(), S = $r;
3016
+ }, e.onRelease = e.onGestureStart = function(z, Z) {
3017
+ if (c.offset && P(), !Z)
3018
+ K.restart(!0);
3019
+ else {
3020
+ X.cache++;
3021
+ var ne = T(), g, se;
3022
+ t && (g = p(), se = g + ne * 0.05 * -z.velocityX / 0.227, ne *= No(p, g, se, Ht(l, it)), M.vars.scrollX = x(se)), g = c(), se = g + ne * 0.05 * -z.velocityY / 0.227, ne *= No(c, g, se, Ht(l, Pe)), M.vars.scrollY = O(se), M.invalidate().duration(ne).play(0.01), (dr && M.vars.scrollY >= u || g >= u - 1) && E.to({}, {
3023
+ onUpdate: $,
3024
+ duration: ne
3025
+ });
3026
+ }
3027
+ s && s(z);
3028
+ }, e.onWheel = function() {
3029
+ M._ts && M.pause(), We() - b > 1e3 && (S = 0, b = We());
3030
+ }, e.onChange = function(z, Z, ne, g, se) {
3031
+ if ($r !== S && C(), Z && t && p(x(g[2] === Z ? W + (z.startX - z.x) : p() + Z - g[1])), ne) {
3032
+ c.offset && P();
3033
+ var qe = se[2] === ne, At = qe ? V + z.startY - z.y : c() + ne - se[1], ce = O(At);
3034
+ qe && At !== ce && (V += ce - At), c(ce);
3035
+ }
3036
+ (ne || Z) && sr();
3037
+ }, e.onEnable = function() {
3038
+ os(l, t ? !1 : "x"), G.addEventListener("refresh", $), Ee(B, "resize", $), c.smooth && (c.target.style.scrollBehavior = "auto", c.smooth = p.smooth = !1), w.enable();
3039
+ }, e.onDisable = function() {
3040
+ os(l, !0), De(B, "resize", $), G.removeEventListener("refresh", $), w.kill();
3041
+ }, e.lockAxis = e.lockAxis !== !1, o = new ve(e), o.iOS = dr, dr && !c() && c(1), dr && E.ticker.add(Wt), K = o._dc, M = E.to(o, {
3042
+ ease: "power4",
3043
+ paused: !0,
3044
+ inherit: !1,
3045
+ scrollX: t ? "+=0.1" : "+=0",
3046
+ scrollY: "+=0.1",
3047
+ modifiers: {
3048
+ scrollY: uu(c, c(), function() {
3049
+ return M.pause();
3050
+ })
3051
+ },
3052
+ onUpdate: sr,
3053
+ onComplete: K.vars.onComplete
3054
+ }), o;
3055
+ };
3056
+ G.sort = function(a) {
3057
+ if (Ge(a))
3058
+ return Y.sort(a);
3059
+ var e = B.pageYOffset || 0;
3060
+ return G.getAll().forEach(function(r) {
3061
+ return r._sortY = r.trigger ? e + r.trigger.getBoundingClientRect().top : r.start + B.innerHeight;
3062
+ }), Y.sort(a || function(r, t) {
3063
+ return (r.vars.refreshPriority || 0) * -1e6 + (r.vars.containerAnimation ? 1e6 : r._sortY) - ((t.vars.containerAnimation ? 1e6 : t._sortY) + (t.vars.refreshPriority || 0) * -1e6);
3064
+ });
3065
+ };
3066
+ G.observe = function(a) {
3067
+ return new ve(a);
3068
+ };
3069
+ G.normalizeScroll = function(a) {
3070
+ if (typeof a > "u")
3071
+ return je;
3072
+ if (a === !0 && je)
3073
+ return je.enable();
3074
+ if (a === !1) {
3075
+ je && je.kill(), je = a;
3076
+ return;
3077
+ }
3078
+ var e = a instanceof ve ? a : Ul(a);
3079
+ return je && je.target === e.target && je.kill(), Hr(e.target) && (je = e), e;
3080
+ };
3081
+ G.core = {
3082
+ // smaller file size way to leverage in ScrollSmoother and Observer
3083
+ _getVelocityProp: Ss,
3084
+ _inputObserver: lu,
3085
+ _scrollers: X,
3086
+ _proxies: qt,
3087
+ bridge: {
3088
+ // when normalizeScroll sets the scroll position (ss = setScroll)
3089
+ ss: function() {
3090
+ Rt || Kr("scrollStart"), Rt = We();
3091
+ },
3092
+ // a way to get the _refreshing value in Observer
3093
+ ref: function() {
3094
+ return Ue;
3095
+ }
3096
+ }
3097
+ };
3098
+ Ja() && E.registerPlugin(G);
3099
+ export {
3100
+ G as S,
3101
+ Sl as g
3102
+ };