lumina-slides 8.1.0 → 8.2.1

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.
@@ -1,8 +1,29 @@
1
- var on = Object.defineProperty;
2
- var ln = (o, t, e) => t in o ? on(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
- var ze = (o, t, e) => ln(o, typeof t != "symbol" ? t + "" : t, e);
4
- import { reactive as un, readonly as fn, inject as Ye, computed as mt, onMounted as nr, onUnmounted as sr, defineComponent as Kt, ref as ar, createElementBlock as B, openBlock as z, createElementVNode as P, createCommentVNode as gt, createVNode as Fi, normalizeStyle as or, Transition as Li, withCtx as Gt, toDisplayString as I, unref as kt, createBlock as ue, resolveDynamicComponent as hn, normalizeClass as U, nextTick as cn, renderSlot as Ni, Fragment as qe, renderList as Xe, createTextVNode as dn, createApp as _n } from "vue";
5
- const Oe = Symbol("LuminaStore"), pn = {
1
+ var cn = Object.defineProperty;
2
+ var hn = (o, t, e) => t in o ? cn(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
+ var ze = (o, t, e) => hn(o, typeof t != "symbol" ? t + "" : t, e);
4
+ import { reactive as dn, readonly as _n, inject as qe, computed as dt, onMounted as ar, onUnmounted as or, defineComponent as Lt, ref as lr, createElementBlock as B, openBlock as A, createElementVNode as O, createCommentVNode as gt, createVNode as Li, normalizeStyle as ur, Transition as $i, withCtx as Ht, withModifiers as pn, toDisplayString as I, unref as kt, createBlock as Kt, resolveDynamicComponent as fr, normalizeClass as U, nextTick as mn, renderSlot as Ni, Fragment as Xe, renderList as je, createTextVNode as gn, createApp as yn } from "vue";
5
+ const Bi = {
6
+ // Icons
7
+ "i:s": "star",
8
+ "i:u": "users",
9
+ "i:c": "check",
10
+ "i:a": "arrow-right",
11
+ // Colors (Tailwind standard approximation)
12
+ "c:p": "#6366f1",
13
+ // Primary (Indigo)
14
+ "c:s": "#10b981",
15
+ // Success (Emerald)
16
+ "c:d": "#ef4444",
17
+ // Danger (Red)
18
+ // Variants
19
+ "v:g": "gradient",
20
+ "v:o": "outlined",
21
+ "v:s": "soft"
22
+ };
23
+ function vn(o) {
24
+ return o in Bi ? Bi[o] : o;
25
+ }
26
+ const Ce = Symbol("LuminaStore"), xn = {
6
27
  loop: !1,
7
28
  navigation: !0,
8
29
  keyboard: !0,
@@ -28,60 +49,89 @@ const Oe = Symbol("LuminaStore"), pn = {
28
49
  ease: "power3.out"
29
50
  }
30
51
  };
31
- function mn(o = {}) {
32
- const t = un({
52
+ function ie(o) {
53
+ if (typeof o == "string") return vn(o);
54
+ if (Array.isArray(o)) return o.map(ie);
55
+ if (o && typeof o == "object") {
56
+ const t = {};
57
+ for (const e in o)
58
+ t[e] = ie(o[e]);
59
+ return t;
60
+ }
61
+ return o;
62
+ }
63
+ function cr(o, t) {
64
+ if (typeof o != "object" || o === null || typeof t != "object" || t === null) return t;
65
+ if (Array.isArray(t))
66
+ return t.map(ie);
67
+ const e = { ...o };
68
+ for (const i in t)
69
+ t[i] === Object(t[i]) ? i in o ? e[i] = cr(o[i], t[i]) : Object.assign(e, { [i]: ie(t[i]) }) : Object.assign(e, { [i]: ie(t[i]) });
70
+ return e;
71
+ }
72
+ function bn(o = {}) {
73
+ const t = dn({
33
74
  deck: null,
34
75
  currentIndex: 0,
35
- options: { ...pn, ...o },
36
- isReady: !1
76
+ options: { ...xn, ...o },
77
+ isReady: !1,
78
+ actionHistory: []
37
79
  }), e = () => !t.deck || t.deck.slides.length === 0 ? null : t.deck.slides[t.currentIndex] || null, i = () => t.deck ? t.options.loop ? !0 : t.currentIndex < t.deck.slides.length - 1 : !1, r = () => t.deck ? t.options.loop ? !0 : t.currentIndex > 0 : !1, n = () => !t.deck || t.deck.slides.length <= 1 ? 0 : t.currentIndex / (t.deck.slides.length - 1);
38
- function s(h) {
39
- t.options = { ...t.options, ...h }, h.theme && (h.theme, t.options.theme = h.theme), h.ui && (t.options.ui = { ...t.options.ui, ...h.ui }), h.keys && (t.options.keys = { ...t.options.keys, ...h.keys }), h.animation && (t.options.animation = { ...t.options.animation, ...h.animation });
80
+ function s(d) {
81
+ t.options = { ...t.options, ...d }, d.theme && (d.theme, t.options.theme = d.theme), d.ui && (t.options.ui = { ...t.options.ui, ...d.ui }), d.keys && (t.options.keys = { ...t.options.keys, ...d.keys }), d.animation && (t.options.animation = { ...t.options.animation, ...d.animation });
40
82
  }
41
- function a(h) {
42
- if (!h || !Array.isArray(h.slides)) {
83
+ function a(d) {
84
+ if (!d || !Array.isArray(d.slides)) {
43
85
  console.error("[LuminaStore] Invalid deck format");
44
86
  return;
45
87
  }
46
- t.deck = h, t.currentIndex = 0, t.isReady = !0;
88
+ t.deck = ie(d), t.currentIndex = 0, t.isReady = !0, t.actionHistory = [];
89
+ }
90
+ function l(d) {
91
+ t.deck && (t.deck = cr(t.deck, d));
47
92
  }
48
- function l() {
49
- var d;
93
+ function u(d) {
94
+ t.actionHistory.push(d), t.actionHistory.length > 50 && t.actionHistory.shift();
95
+ }
96
+ function f() {
97
+ var p;
50
98
  if (!i()) return;
51
- const h = ((d = t.deck) == null ? void 0 : d.slides.length) || 0;
52
- t.options.loop ? t.currentIndex = (t.currentIndex + 1) % h : t.currentIndex++;
99
+ const d = ((p = t.deck) == null ? void 0 : p.slides.length) || 0;
100
+ t.options.loop ? t.currentIndex = (t.currentIndex + 1) % d : t.currentIndex++;
53
101
  }
54
- function u() {
55
- var d;
102
+ function h() {
103
+ var p;
56
104
  if (!r()) return;
57
- const h = ((d = t.deck) == null ? void 0 : d.slides.length) || 0;
58
- t.options.loop ? t.currentIndex = (t.currentIndex - 1 + h) % h : t.currentIndex--;
105
+ const d = ((p = t.deck) == null ? void 0 : p.slides.length) || 0;
106
+ t.options.loop ? t.currentIndex = (t.currentIndex - 1 + d) % d : t.currentIndex--;
59
107
  }
60
- function f(h) {
61
- t.deck && h >= 0 && h < t.deck.slides.length && (t.currentIndex = h);
108
+ function _(d) {
109
+ t.deck && d >= 0 && d < t.deck.slides.length && (t.currentIndex = d);
62
110
  }
63
111
  return {
64
- state: fn(t),
112
+ state: _n(t),
65
113
  currentSlide: e,
66
114
  hasNext: i,
67
115
  hasPrev: r,
68
116
  progress: n,
69
117
  setOptions: s,
70
118
  loadDeck: a,
71
- next: l,
72
- prev: u,
73
- goto: f
119
+ patchDeck: l,
120
+ recordAction: u,
121
+ next: f,
122
+ prev: h,
123
+ goto: _
74
124
  };
75
125
  }
76
- function gn() {
77
- const o = Ye(Oe);
126
+ function wn() {
127
+ const o = qe(Ce);
78
128
  if (!o)
79
129
  throw new Error("Lumina: Component must be used within a Lumina instance.");
80
130
  return {
81
131
  // State
82
- slide: mt(() => o.currentSlide()),
83
- index: mt(() => o.state.currentIndex),
84
- total: mt(() => {
132
+ slide: dt(() => o.currentSlide()),
133
+ index: dt(() => o.state.currentIndex),
134
+ total: dt(() => {
85
135
  var t;
86
136
  return ((t = o.state.deck) == null ? void 0 : t.slides.length) || 0;
87
137
  }),
@@ -92,8 +142,8 @@ function gn() {
92
142
  options: o.state.options
93
143
  };
94
144
  }
95
- function yn() {
96
- const o = Ye(Oe);
145
+ function Tn() {
146
+ const o = qe(Ce);
97
147
  if (!o) return;
98
148
  let t = 0;
99
149
  const e = 300, i = (r) => {
@@ -105,13 +155,13 @@ function yn() {
105
155
  const a = ((u = n.keys) == null ? void 0 : u.next) || [], l = ((f = n.keys) == null ? void 0 : f.prev) || [];
106
156
  a.includes(r.key) ? (o.next(), t = s) : l.includes(r.key) && (o.prev(), t = s);
107
157
  };
108
- nr(() => {
158
+ ar(() => {
109
159
  window.addEventListener("keydown", i);
110
- }), sr(() => {
160
+ }), or(() => {
111
161
  window.removeEventListener("keydown", i);
112
162
  });
113
163
  }
114
- class vn {
164
+ class kn {
115
165
  constructor() {
116
166
  ze(this, "handlers", /* @__PURE__ */ new Map());
117
167
  }
@@ -136,13 +186,13 @@ class vn {
136
186
  this.handlers.clear();
137
187
  }
138
188
  }
139
- const _e = new vn();
189
+ const Zt = new kn();
140
190
  function St(o) {
141
191
  if (o === void 0)
142
192
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
143
193
  return o;
144
194
  }
145
- function lr(o, t) {
195
+ function hr(o, t) {
146
196
  o.prototype = Object.create(t.prototype), o.prototype.constructor = o, o.__proto__ = t;
147
197
  }
148
198
  /*!
@@ -160,100 +210,100 @@ var ut = {
160
210
  units: {
161
211
  lineHeight: ""
162
212
  }
163
- }, re = {
213
+ }, ae = {
164
214
  duration: 0.5,
165
215
  overwrite: !1,
166
216
  delay: 0
167
- }, gi, H, F, dt = 1e8, E = 1 / dt, ri = Math.PI * 2, xn = ri / 4, bn = 0, ur = Math.sqrt, wn = Math.cos, Tn = Math.sin, G = function(t) {
217
+ }, yi, K, F, _t = 1e8, E = 1 / _t, ni = Math.PI * 2, Sn = ni / 4, On = 0, dr = Math.sqrt, Pn = Math.cos, Cn = Math.sin, G = function(t) {
168
218
  return typeof t == "string";
169
219
  }, V = function(t) {
170
220
  return typeof t == "function";
171
- }, Ot = function(t) {
221
+ }, Pt = function(t) {
172
222
  return typeof t == "number";
173
- }, yi = function(t) {
223
+ }, vi = function(t) {
174
224
  return typeof t > "u";
175
225
  }, wt = function(t) {
176
226
  return typeof t == "object";
177
227
  }, tt = function(t) {
178
228
  return t !== !1;
179
- }, vi = function() {
229
+ }, xi = function() {
180
230
  return typeof window < "u";
181
- }, Ae = function(t) {
231
+ }, Ee = function(t) {
182
232
  return V(t) || G(t);
183
- }, fr = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
184
- }, Z = Array.isArray, kn = /random\([^)]+\)/g, Sn = /,\s*/g, $i = /(?:-?\.?\d|\.)+/gi, hr = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, Zt = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Ke = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, cr = /[+-]=-?[.\d]+/, Pn = /[^,'"\[\]\s]+/gi, On = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, N, vt, ni, xi, ft = {}, Fe = {}, dr, _r = function(t) {
185
- return (Fe = ne(t, ft)) && nt;
186
- }, bi = function(t, e) {
233
+ }, _r = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
234
+ }, Q = Array.isArray, Mn = /random\([^)]+\)/g, Dn = /,\s*/g, Vi = /(?:-?\.?\d|\.)+/gi, pr = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, te = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Ke = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, mr = /[+-]=-?[.\d]+/, An = /[^,'"\[\]\s]+/gi, zn = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, $, vt, si, bi, ft = {}, Le = {}, gr, yr = function(t) {
235
+ return (Le = oe(t, ft)) && nt;
236
+ }, wi = function(t, e) {
187
237
  return console.warn("Invalid property", t, "set to", e, "Missing plugin? gsap.registerPlugin()");
188
- }, xe = function(t, e) {
238
+ }, be = function(t, e) {
189
239
  return !e && console.warn(t);
190
- }, pr = function(t, e) {
191
- return t && (ft[t] = e) && Fe && (Fe[t] = e) || ft;
192
- }, be = function() {
240
+ }, vr = function(t, e) {
241
+ return t && (ft[t] = e) && Le && (Le[t] = e) || ft;
242
+ }, we = function() {
193
243
  return 0;
194
- }, Cn = {
244
+ }, En = {
195
245
  suppressEvents: !0,
196
246
  isStart: !0,
197
247
  kill: !1
198
- }, Ee = {
248
+ }, Re = {
199
249
  suppressEvents: !0,
200
250
  kill: !1
201
- }, Mn = {
251
+ }, Rn = {
202
252
  suppressEvents: !0
203
- }, wi = {}, At = [], si = {}, mr, st = {}, He = {}, Bi = 30, Re = [], Ti = "", ki = function(t) {
253
+ }, Ti = {}, zt = [], ai = {}, xr, st = {}, Je = {}, Ui = 30, Ie = [], ki = "", Si = function(t) {
204
254
  var e = t[0], i, r;
205
255
  if (wt(e) || V(e) || (t = [t]), !(i = (e._gsap || {}).harness)) {
206
- for (r = Re.length; r-- && !Re[r].targetTest(e); )
256
+ for (r = Ie.length; r-- && !Ie[r].targetTest(e); )
207
257
  ;
208
- i = Re[r];
258
+ i = Ie[r];
209
259
  }
210
260
  for (r = t.length; r--; )
211
- t[r] && (t[r]._gsap || (t[r]._gsap = new Br(t[r], i))) || t.splice(r, 1);
261
+ t[r] && (t[r]._gsap || (t[r]._gsap = new qr(t[r], i))) || t.splice(r, 1);
212
262
  return t;
213
- }, qt = function(t) {
214
- return t._gsap || ki(_t(t))[0]._gsap;
215
- }, gr = function(t, e, i) {
216
- return (i = t[e]) && V(i) ? t[e]() : yi(i) && t.getAttribute && t.getAttribute(e) || i;
263
+ }, Xt = function(t) {
264
+ return t._gsap || Si(pt(t))[0]._gsap;
265
+ }, br = function(t, e, i) {
266
+ return (i = t[e]) && V(i) ? t[e]() : vi(i) && t.getAttribute && t.getAttribute(e) || i;
217
267
  }, et = function(t, e) {
218
268
  return (t = t.split(",")).forEach(e) || t;
219
269
  }, Y = function(t) {
220
270
  return Math.round(t * 1e5) / 1e5 || 0;
221
271
  }, L = function(t) {
222
272
  return Math.round(t * 1e7) / 1e7 || 0;
223
- }, te = function(t, e) {
273
+ }, re = function(t, e) {
224
274
  var i = e.charAt(0), r = parseFloat(e.substr(2));
225
275
  return t = parseFloat(t), i === "+" ? t + r : i === "-" ? t - r : i === "*" ? t * r : t / r;
226
- }, Dn = function(t, e) {
276
+ }, In = function(t, e) {
227
277
  for (var i = e.length, r = 0; t.indexOf(e[r]) < 0 && ++r < i; )
228
278
  ;
229
279
  return r < i;
230
- }, Le = function() {
231
- var t = At.length, e = At.slice(0), i, r;
232
- for (si = {}, At.length = 0, i = 0; i < t; i++)
280
+ }, $e = function() {
281
+ var t = zt.length, e = zt.slice(0), i, r;
282
+ for (ai = {}, zt.length = 0, i = 0; i < t; i++)
233
283
  r = e[i], r && r._lazy && (r.render(r._lazy[0], r._lazy[1], !0)._lazy = 0);
234
- }, Si = function(t) {
284
+ }, Oi = function(t) {
235
285
  return !!(t._initted || t._startAt || t.add);
236
- }, yr = function(t, e, i, r) {
237
- At.length && !H && Le(), t.render(e, i, !!(H && e < 0 && Si(t))), At.length && !H && Le();
238
- }, vr = function(t) {
286
+ }, wr = function(t, e, i, r) {
287
+ zt.length && !K && $e(), t.render(e, i, !!(K && e < 0 && Oi(t))), zt.length && !K && $e();
288
+ }, Tr = function(t) {
239
289
  var e = parseFloat(t);
240
- return (e || e === 0) && (t + "").match(Pn).length < 2 ? e : G(t) ? t.trim() : t;
241
- }, xr = function(t) {
290
+ return (e || e === 0) && (t + "").match(An).length < 2 ? e : G(t) ? t.trim() : t;
291
+ }, kr = function(t) {
242
292
  return t;
243
- }, ht = function(t, e) {
293
+ }, ct = function(t, e) {
244
294
  for (var i in e)
245
295
  i in t || (t[i] = e[i]);
246
296
  return t;
247
- }, zn = function(t) {
297
+ }, Fn = function(t) {
248
298
  return function(e, i) {
249
299
  for (var r in i)
250
300
  r in e || r === "duration" && t || r === "ease" || (e[r] = i[r]);
251
301
  };
252
- }, ne = function(t, e) {
302
+ }, oe = function(t, e) {
253
303
  for (var i in e)
254
304
  t[i] = e[i];
255
305
  return t;
256
- }, Vi = function o(t, e) {
306
+ }, Yi = function o(t, e) {
257
307
  for (var i in e)
258
308
  i !== "__proto__" && i !== "constructor" && i !== "prototype" && (t[i] = wt(e[i]) ? o(t[i] || (t[i] = {}), e[i]) : e[i]);
259
309
  return t;
@@ -262,86 +312,86 @@ var ut = {
262
312
  for (r in t)
263
313
  r in e || (i[r] = t[r]);
264
314
  return i;
265
- }, ge = function(t) {
266
- var e = t.parent || N, i = t.keyframes ? zn(Z(t.keyframes)) : ht;
315
+ }, ye = function(t) {
316
+ var e = t.parent || $, i = t.keyframes ? Fn(Q(t.keyframes)) : ct;
267
317
  if (tt(t.inherit))
268
318
  for (; e; )
269
319
  i(t, e.vars.defaults), e = e.parent || e._dp;
270
320
  return t;
271
- }, An = function(t, e) {
321
+ }, Ln = function(t, e) {
272
322
  for (var i = t.length, r = i === e.length; r && i-- && t[i] === e[i]; )
273
323
  ;
274
324
  return i < 0;
275
- }, br = function(t, e, i, r, n) {
325
+ }, Sr = function(t, e, i, r, n) {
276
326
  var s = t[r], a;
277
327
  if (n)
278
328
  for (a = e[n]; s && s[n] > a; )
279
329
  s = s._prev;
280
330
  return s ? (e._next = s._next, s._next = e) : (e._next = t[i], t[i] = e), e._next ? e._next._prev = e : t[r] = e, e._prev = s, e.parent = e._dp = t, e;
281
- }, je = function(t, e, i, r) {
331
+ }, We = function(t, e, i, r) {
282
332
  i === void 0 && (i = "_first"), r === void 0 && (r = "_last");
283
333
  var n = e._prev, s = e._next;
284
334
  n ? n._next = s : t[i] === e && (t[i] = s), s ? s._prev = n : t[r] === e && (t[r] = n), e._next = e._prev = e.parent = null;
285
335
  }, Rt = function(t, e) {
286
336
  t.parent && (!e || t.parent.autoRemoveChildren) && t.parent.remove && t.parent.remove(t), t._act = 0;
287
- }, Xt = function(t, e) {
337
+ }, jt = function(t, e) {
288
338
  if (t && (!e || e._end > t._dur || e._start < 0))
289
339
  for (var i = t; i; )
290
340
  i._dirty = 1, i = i.parent;
291
341
  return t;
292
- }, En = function(t) {
342
+ }, $n = function(t) {
293
343
  for (var e = t.parent; e && e.parent; )
294
344
  e._dirty = 1, e.totalDuration(), e = e.parent;
295
345
  return t;
296
- }, ai = function(t, e, i, r) {
297
- return t._startAt && (H ? t._startAt.revert(Ee) : t.vars.immediateRender && !t.vars.autoRevert || t._startAt.render(e, !0, r));
298
- }, Rn = function o(t) {
346
+ }, oi = function(t, e, i, r) {
347
+ return t._startAt && (K ? t._startAt.revert(Re) : t.vars.immediateRender && !t.vars.autoRevert || t._startAt.render(e, !0, r));
348
+ }, Nn = function o(t) {
299
349
  return !t || t._ts && o(t.parent);
300
- }, Ui = function(t) {
301
- return t._repeat ? se(t._tTime, t = t.duration() + t._rDelay) * t : 0;
302
- }, se = function(t, e) {
350
+ }, qi = function(t) {
351
+ return t._repeat ? le(t._tTime, t = t.duration() + t._rDelay) * t : 0;
352
+ }, le = function(t, e) {
303
353
  var i = Math.floor(t = L(t / e));
304
354
  return t && i === t ? i - 1 : i;
305
- }, $e = function(t, e) {
355
+ }, Be = function(t, e) {
306
356
  return (t - e._start) * e._ts + (e._ts >= 0 ? 0 : e._dirty ? e.totalDuration() : e._tDur);
307
- }, We = function(t) {
357
+ }, Ge = function(t) {
308
358
  return t._end = L(t._start + (t._tDur / Math.abs(t._ts || t._rts || E) || 0));
309
- }, Ge = function(t, e) {
359
+ }, He = function(t, e) {
310
360
  var i = t._dp;
311
- return i && i.smoothChildTiming && t._ts && (t._start = L(i._time - (t._ts > 0 ? e / t._ts : ((t._dirty ? t.totalDuration() : t._tDur) - e) / -t._ts)), We(t), i._dirty || Xt(i, t)), t;
312
- }, wr = function(t, e) {
361
+ return i && i.smoothChildTiming && t._ts && (t._start = L(i._time - (t._ts > 0 ? e / t._ts : ((t._dirty ? t.totalDuration() : t._tDur) - e) / -t._ts)), Ge(t), i._dirty || jt(i, t)), t;
362
+ }, Or = function(t, e) {
313
363
  var i;
314
- if ((e._time || !e._dur && e._initted || e._start < t._time && (e._dur || !e.add)) && (i = $e(t.rawTime(), e), (!e._dur || Ce(0, e.totalDuration(), i) - e._tTime > E) && e.render(i, !0)), Xt(t, e)._dp && t._initted && t._time >= t._dur && t._ts) {
364
+ if ((e._time || !e._dur && e._initted || e._start < t._time && (e._dur || !e.add)) && (i = Be(t.rawTime(), e), (!e._dur || Me(0, e.totalDuration(), i) - e._tTime > E) && e.render(i, !0)), jt(t, e)._dp && t._initted && t._time >= t._dur && t._ts) {
315
365
  if (t._dur < t.duration())
316
366
  for (i = t; i._dp; )
317
367
  i.rawTime() >= 0 && i.totalTime(i._tTime), i = i._dp;
318
368
  t._zTime = -E;
319
369
  }
320
370
  }, xt = function(t, e, i, r) {
321
- return e.parent && Rt(e), e._start = L((Ot(i) ? i : i || t !== N ? ct(t, i, e) : t._time) + e._delay), e._end = L(e._start + (e.totalDuration() / Math.abs(e.timeScale()) || 0)), br(t, e, "_first", "_last", t._sort ? "_start" : 0), oi(e) || (t._recent = e), r || wr(t, e), t._ts < 0 && Ge(t, t._tTime), t;
322
- }, Tr = function(t, e) {
323
- return (ft.ScrollTrigger || bi("scrollTrigger", e)) && ft.ScrollTrigger.create(e, t);
324
- }, kr = function(t, e, i, r, n) {
325
- if (Oi(t, e, n), !t._initted)
371
+ return e.parent && Rt(e), e._start = L((Pt(i) ? i : i || t !== $ ? ht(t, i, e) : t._time) + e._delay), e._end = L(e._start + (e.totalDuration() / Math.abs(e.timeScale()) || 0)), Sr(t, e, "_first", "_last", t._sort ? "_start" : 0), li(e) || (t._recent = e), r || Or(t, e), t._ts < 0 && He(t, t._tTime), t;
372
+ }, Pr = function(t, e) {
373
+ return (ft.ScrollTrigger || wi("scrollTrigger", e)) && ft.ScrollTrigger.create(e, t);
374
+ }, Cr = function(t, e, i, r, n) {
375
+ if (Ci(t, e, n), !t._initted)
326
376
  return 1;
327
- if (!i && t._pt && !H && (t._dur && t.vars.lazy !== !1 || !t._dur && t.vars.lazy) && mr !== at.frame)
328
- return At.push(t), t._lazy = [n, r], 1;
329
- }, In = function o(t) {
377
+ if (!i && t._pt && !K && (t._dur && t.vars.lazy !== !1 || !t._dur && t.vars.lazy) && xr !== at.frame)
378
+ return zt.push(t), t._lazy = [n, r], 1;
379
+ }, Bn = function o(t) {
330
380
  var e = t.parent;
331
381
  return e && e._ts && e._initted && !e._lock && (e.rawTime() < 0 || o(e));
332
- }, oi = function(t) {
382
+ }, li = function(t) {
333
383
  var e = t.data;
334
384
  return e === "isFromStart" || e === "isStart";
335
- }, Fn = function(t, e, i, r) {
336
- var n = t.ratio, s = e < 0 || !e && (!t._start && In(t) && !(!t._initted && oi(t)) || (t._ts < 0 || t._dp._ts < 0) && !oi(t)) ? 0 : 1, a = t._rDelay, l = 0, u, f, h;
337
- if (a && t._repeat && (l = Ce(0, t._tDur, e), f = se(l, a), t._yoyo && f & 1 && (s = 1 - s), f !== se(t._tTime, a) && (n = 1 - s, t.vars.repeatRefresh && t._initted && t.invalidate())), s !== n || H || r || t._zTime === E || !e && t._zTime) {
338
- if (!t._initted && kr(t, e, r, i, l))
385
+ }, Vn = function(t, e, i, r) {
386
+ var n = t.ratio, s = e < 0 || !e && (!t._start && Bn(t) && !(!t._initted && li(t)) || (t._ts < 0 || t._dp._ts < 0) && !li(t)) ? 0 : 1, a = t._rDelay, l = 0, u, f, h;
387
+ if (a && t._repeat && (l = Me(0, t._tDur, e), f = le(l, a), t._yoyo && f & 1 && (s = 1 - s), f !== le(t._tTime, a) && (n = 1 - s, t.vars.repeatRefresh && t._initted && t.invalidate())), s !== n || K || r || t._zTime === E || !e && t._zTime) {
388
+ if (!t._initted && Cr(t, e, r, i, l))
339
389
  return;
340
390
  for (h = t._zTime, t._zTime = e || (i ? E : 0), i || (i = e && !h), t.ratio = s, t._from && (s = 1 - s), t._time = 0, t._tTime = l, u = t._pt; u; )
341
391
  u.r(s, u.d), u = u._next;
342
- e < 0 && ai(t, e, i, !0), t._onUpdate && !i && ot(t, "onUpdate"), l && t._repeat && !i && t.parent && ot(t, "onRepeat"), (e >= t._tDur || e < 0) && t.ratio === s && (s && Rt(t, 1), !i && !H && (ot(t, s ? "onComplete" : "onReverseComplete", !0), t._prom && t._prom()));
392
+ e < 0 && oi(t, e, i, !0), t._onUpdate && !i && ot(t, "onUpdate"), l && t._repeat && !i && t.parent && ot(t, "onRepeat"), (e >= t._tDur || e < 0) && t.ratio === s && (s && Rt(t, 1), !i && !K && (ot(t, s ? "onComplete" : "onReverseComplete", !0), t._prom && t._prom()));
343
393
  } else t._zTime || (t._zTime = e);
344
- }, Ln = function(t, e, i) {
394
+ }, Un = function(t, e, i) {
345
395
  var r;
346
396
  if (i > e)
347
397
  for (r = t._first; r && r._start <= i; ) {
@@ -355,98 +405,98 @@ var ut = {
355
405
  return r;
356
406
  r = r._prev;
357
407
  }
358
- }, ae = function(t, e, i, r) {
408
+ }, ue = function(t, e, i, r) {
359
409
  var n = t._repeat, s = L(e) || 0, a = t._tTime / t._tDur;
360
- return a && !r && (t._time *= s / t._dur), t._dur = s, t._tDur = n ? n < 0 ? 1e10 : L(s * (n + 1) + t._rDelay * n) : s, a > 0 && !r && Ge(t, t._tTime = t._tDur * a), t.parent && We(t), i || Xt(t.parent, t), t;
361
- }, Yi = function(t) {
362
- return t instanceof J ? Xt(t) : ae(t, t._dur);
363
- }, Nn = {
410
+ return a && !r && (t._time *= s / t._dur), t._dur = s, t._tDur = n ? n < 0 ? 1e10 : L(s * (n + 1) + t._rDelay * n) : s, a > 0 && !r && He(t, t._tTime = t._tDur * a), t.parent && Ge(t), i || jt(t.parent, t), t;
411
+ }, Xi = function(t) {
412
+ return t instanceof Z ? jt(t) : ue(t, t._dur);
413
+ }, Yn = {
364
414
  _start: 0,
365
- endTime: be,
366
- totalDuration: be
367
- }, ct = function o(t, e, i) {
368
- var r = t.labels, n = t._recent || Nn, s = t.duration() >= dt ? n.endTime(!1) : t._dur, a, l, u;
369
- return G(e) && (isNaN(e) || e in r) ? (l = e.charAt(0), u = e.substr(-1) === "%", a = e.indexOf("="), l === "<" || l === ">" ? (a >= 0 && (e = e.replace(/=/, "")), (l === "<" ? n._start : n.endTime(n._repeat >= 0)) + (parseFloat(e.substr(1)) || 0) * (u ? (a < 0 ? n : i).totalDuration() / 100 : 1)) : a < 0 ? (e in r || (r[e] = s), r[e]) : (l = parseFloat(e.charAt(a - 1) + e.substr(a + 1)), u && i && (l = l / 100 * (Z(i) ? i[0] : i).totalDuration()), a > 1 ? o(t, e.substr(0, a - 1), i) + l : s + l)) : e == null ? s : +e;
370
- }, ye = function(t, e, i) {
371
- var r = Ot(e[1]), n = (r ? 2 : 1) + (t < 2 ? 0 : 1), s = e[n], a, l;
415
+ endTime: we,
416
+ totalDuration: we
417
+ }, ht = function o(t, e, i) {
418
+ var r = t.labels, n = t._recent || Yn, s = t.duration() >= _t ? n.endTime(!1) : t._dur, a, l, u;
419
+ return G(e) && (isNaN(e) || e in r) ? (l = e.charAt(0), u = e.substr(-1) === "%", a = e.indexOf("="), l === "<" || l === ">" ? (a >= 0 && (e = e.replace(/=/, "")), (l === "<" ? n._start : n.endTime(n._repeat >= 0)) + (parseFloat(e.substr(1)) || 0) * (u ? (a < 0 ? n : i).totalDuration() / 100 : 1)) : a < 0 ? (e in r || (r[e] = s), r[e]) : (l = parseFloat(e.charAt(a - 1) + e.substr(a + 1)), u && i && (l = l / 100 * (Q(i) ? i[0] : i).totalDuration()), a > 1 ? o(t, e.substr(0, a - 1), i) + l : s + l)) : e == null ? s : +e;
420
+ }, ve = function(t, e, i) {
421
+ var r = Pt(e[1]), n = (r ? 2 : 1) + (t < 2 ? 0 : 1), s = e[n], a, l;
372
422
  if (r && (s.duration = e[1]), s.parent = i, t) {
373
423
  for (a = s, l = i; l && !("immediateRender" in a); )
374
424
  a = l.vars.defaults || {}, l = tt(l.vars.inherit) && l.parent;
375
425
  s.immediateRender = tt(a.immediateRender), t < 2 ? s.runBackwards = 1 : s.startAt = e[n - 1];
376
426
  }
377
427
  return new X(e[0], s, e[n + 1]);
378
- }, Lt = function(t, e) {
428
+ }, $t = function(t, e) {
379
429
  return t || t === 0 ? e(t) : e;
380
- }, Ce = function(t, e, i) {
430
+ }, Me = function(t, e, i) {
381
431
  return i < t ? t : i > e ? e : i;
382
- }, Q = function(t, e) {
383
- return !G(t) || !(e = On.exec(t)) ? "" : e[1];
384
- }, $n = function(t, e, i) {
385
- return Lt(i, function(r) {
386
- return Ce(t, e, r);
432
+ }, J = function(t, e) {
433
+ return !G(t) || !(e = zn.exec(t)) ? "" : e[1];
434
+ }, qn = function(t, e, i) {
435
+ return $t(i, function(r) {
436
+ return Me(t, e, r);
387
437
  });
388
- }, li = [].slice, Sr = function(t, e) {
438
+ }, ui = [].slice, Mr = function(t, e) {
389
439
  return t && wt(t) && "length" in t && (!e && !t.length || t.length - 1 in t && wt(t[0])) && !t.nodeType && t !== vt;
390
- }, Bn = function(t, e, i) {
440
+ }, Xn = function(t, e, i) {
391
441
  return i === void 0 && (i = []), t.forEach(function(r) {
392
442
  var n;
393
- return G(r) && !e || Sr(r, 1) ? (n = i).push.apply(n, _t(r)) : i.push(r);
443
+ return G(r) && !e || Mr(r, 1) ? (n = i).push.apply(n, pt(r)) : i.push(r);
394
444
  }) || i;
395
- }, _t = function(t, e, i) {
396
- return F && !e && F.selector ? F.selector(t) : G(t) && !i && (ni || !oe()) ? li.call((e || xi).querySelectorAll(t), 0) : Z(t) ? Bn(t, i) : Sr(t) ? li.call(t, 0) : t ? [t] : [];
397
- }, ui = function(t) {
398
- return t = _t(t)[0] || xe("Invalid scope") || {}, function(e) {
445
+ }, pt = function(t, e, i) {
446
+ return F && !e && F.selector ? F.selector(t) : G(t) && !i && (si || !fe()) ? ui.call((e || bi).querySelectorAll(t), 0) : Q(t) ? Xn(t, i) : Mr(t) ? ui.call(t, 0) : t ? [t] : [];
447
+ }, fi = function(t) {
448
+ return t = pt(t)[0] || be("Invalid scope") || {}, function(e) {
399
449
  var i = t.current || t.nativeElement || t;
400
- return _t(e, i.querySelectorAll ? i : i === t ? xe("Invalid scope") || xi.createElement("div") : t);
450
+ return pt(e, i.querySelectorAll ? i : i === t ? be("Invalid scope") || bi.createElement("div") : t);
401
451
  };
402
- }, Pr = function(t) {
452
+ }, Dr = function(t) {
403
453
  return t.sort(function() {
404
454
  return 0.5 - Math.random();
405
455
  });
406
- }, Or = function(t) {
456
+ }, Ar = function(t) {
407
457
  if (V(t))
408
458
  return t;
409
459
  var e = wt(t) ? t : {
410
460
  each: t
411
- }, i = jt(e.ease), r = e.from || 0, n = parseFloat(e.base) || 0, s = {}, a = r > 0 && r < 1, l = isNaN(r) || a, u = e.axis, f = r, h = r;
461
+ }, i = Wt(e.ease), r = e.from || 0, n = parseFloat(e.base) || 0, s = {}, a = r > 0 && r < 1, l = isNaN(r) || a, u = e.axis, f = r, h = r;
412
462
  return G(r) ? f = h = {
413
463
  center: 0.5,
414
464
  edges: 0.5,
415
465
  end: 1
416
- }[r] || 0 : !a && l && (f = r[0], h = r[1]), function(d, _, m) {
417
- var c = (m || e).length, p = s[c], y, v, w, x, g, T, k, S, b;
418
- if (!p) {
419
- if (b = e.grid === "auto" ? 0 : (e.grid || [1, dt])[1], !b) {
420
- for (k = -dt; k < (k = m[b++].getBoundingClientRect().left) && b < c; )
466
+ }[r] || 0 : !a && l && (f = r[0], h = r[1]), function(_, d, p) {
467
+ var c = (p || e).length, g = s[c], y, v, w, x, m, T, k, S, b;
468
+ if (!g) {
469
+ if (b = e.grid === "auto" ? 0 : (e.grid || [1, _t])[1], !b) {
470
+ for (k = -_t; k < (k = p[b++].getBoundingClientRect().left) && b < c; )
421
471
  ;
422
472
  b < c && b--;
423
473
  }
424
- for (p = s[c] = [], y = l ? Math.min(b, c) * f - 0.5 : r % b, v = b === dt ? 0 : l ? c * h / b - 0.5 : r / b | 0, k = 0, S = dt, T = 0; T < c; T++)
425
- w = T % b - y, x = v - (T / b | 0), p[T] = g = u ? Math.abs(u === "y" ? x : w) : ur(w * w + x * x), g > k && (k = g), g < S && (S = g);
426
- r === "random" && Pr(p), p.max = k - S, p.min = S, p.v = c = (parseFloat(e.amount) || parseFloat(e.each) * (b > c ? c - 1 : u ? u === "y" ? c / b : b : Math.max(b, c / b)) || 0) * (r === "edges" ? -1 : 1), p.b = c < 0 ? n - c : n, p.u = Q(e.amount || e.each) || 0, i = i && c < 0 ? Lr(i) : i;
474
+ for (g = s[c] = [], y = l ? Math.min(b, c) * f - 0.5 : r % b, v = b === _t ? 0 : l ? c * h / b - 0.5 : r / b | 0, k = 0, S = _t, T = 0; T < c; T++)
475
+ w = T % b - y, x = v - (T / b | 0), g[T] = m = u ? Math.abs(u === "y" ? x : w) : dr(w * w + x * x), m > k && (k = m), m < S && (S = m);
476
+ r === "random" && Dr(g), g.max = k - S, g.min = S, g.v = c = (parseFloat(e.amount) || parseFloat(e.each) * (b > c ? c - 1 : u ? u === "y" ? c / b : b : Math.max(b, c / b)) || 0) * (r === "edges" ? -1 : 1), g.b = c < 0 ? n - c : n, g.u = J(e.amount || e.each) || 0, i = i && c < 0 ? Vr(i) : i;
427
477
  }
428
- return c = (p[d] - p.min) / p.max || 0, L(p.b + (i ? i(c) : c) * p.v) + p.u;
478
+ return c = (g[_] - g.min) / g.max || 0, L(g.b + (i ? i(c) : c) * g.v) + g.u;
429
479
  };
430
- }, fi = function(t) {
480
+ }, ci = function(t) {
431
481
  var e = Math.pow(10, ((t + "").split(".")[1] || "").length);
432
482
  return function(i) {
433
483
  var r = L(Math.round(parseFloat(i) / t) * t * e);
434
- return (r - r % 1) / e + (Ot(i) ? 0 : Q(i));
484
+ return (r - r % 1) / e + (Pt(i) ? 0 : J(i));
435
485
  };
436
- }, Cr = function(t, e) {
437
- var i = Z(t), r, n;
438
- return !i && wt(t) && (r = i = t.radius || dt, t.values ? (t = _t(t.values), (n = !Ot(t[0])) && (r *= r)) : t = fi(t.increment)), Lt(e, i ? V(t) ? function(s) {
486
+ }, zr = function(t, e) {
487
+ var i = Q(t), r, n;
488
+ return !i && wt(t) && (r = i = t.radius || _t, t.values ? (t = pt(t.values), (n = !Pt(t[0])) && (r *= r)) : t = ci(t.increment)), $t(e, i ? V(t) ? function(s) {
439
489
  return n = t(s), Math.abs(n - s) <= r ? n : s;
440
490
  } : function(s) {
441
- for (var a = parseFloat(n ? s.x : s), l = parseFloat(n ? s.y : 0), u = dt, f = 0, h = t.length, d, _; h--; )
442
- n ? (d = t[h].x - a, _ = t[h].y - l, d = d * d + _ * _) : d = Math.abs(t[h] - a), d < u && (u = d, f = h);
443
- return f = !r || u <= r ? t[f] : s, n || f === s || Ot(s) ? f : f + Q(s);
444
- } : fi(t));
445
- }, Mr = function(t, e, i, r) {
446
- return Lt(Z(t) ? !e : i === !0 ? !!(i = 0) : !r, function() {
447
- return Z(t) ? t[~~(Math.random() * t.length)] : (i = i || 1e-5) && (r = i < 1 ? Math.pow(10, (i + "").length - 2) : 1) && Math.floor(Math.round((t - i / 2 + Math.random() * (e - t + i * 0.99)) / i) * i * r) / r;
491
+ for (var a = parseFloat(n ? s.x : s), l = parseFloat(n ? s.y : 0), u = _t, f = 0, h = t.length, _, d; h--; )
492
+ n ? (_ = t[h].x - a, d = t[h].y - l, _ = _ * _ + d * d) : _ = Math.abs(t[h] - a), _ < u && (u = _, f = h);
493
+ return f = !r || u <= r ? t[f] : s, n || f === s || Pt(s) ? f : f + J(s);
494
+ } : ci(t));
495
+ }, Er = function(t, e, i, r) {
496
+ return $t(Q(t) ? !e : i === !0 ? !!(i = 0) : !r, function() {
497
+ return Q(t) ? t[~~(Math.random() * t.length)] : (i = i || 1e-5) && (r = i < 1 ? Math.pow(10, (i + "").length - 2) : 1) && Math.floor(Math.round((t - i / 2 + Math.random() * (e - t + i * 0.99)) / i) * i * r) / r;
448
498
  });
449
- }, Vn = function() {
499
+ }, jn = function() {
450
500
  for (var t = arguments.length, e = new Array(t), i = 0; i < t; i++)
451
501
  e[i] = arguments[i];
452
502
  return function(r) {
@@ -454,159 +504,159 @@ var ut = {
454
504
  return s(n);
455
505
  }, r);
456
506
  };
457
- }, Un = function(t, e) {
507
+ }, Wn = function(t, e) {
458
508
  return function(i) {
459
- return t(parseFloat(i)) + (e || Q(i));
509
+ return t(parseFloat(i)) + (e || J(i));
460
510
  };
461
- }, Yn = function(t, e, i) {
462
- return zr(t, e, 0, 1, i);
463
- }, Dr = function(t, e, i) {
464
- return Lt(i, function(r) {
511
+ }, Gn = function(t, e, i) {
512
+ return Ir(t, e, 0, 1, i);
513
+ }, Rr = function(t, e, i) {
514
+ return $t(i, function(r) {
465
515
  return t[~~e(r)];
466
516
  });
467
- }, qn = function o(t, e, i) {
517
+ }, Hn = function o(t, e, i) {
468
518
  var r = e - t;
469
- return Z(t) ? Dr(t, o(0, t.length), e) : Lt(i, function(n) {
519
+ return Q(t) ? Rr(t, o(0, t.length), e) : $t(i, function(n) {
470
520
  return (r + (n - t) % r) % r + t;
471
521
  });
472
- }, Xn = function o(t, e, i) {
522
+ }, Kn = function o(t, e, i) {
473
523
  var r = e - t, n = r * 2;
474
- return Z(t) ? Dr(t, o(0, t.length - 1), e) : Lt(i, function(s) {
524
+ return Q(t) ? Rr(t, o(0, t.length - 1), e) : $t(i, function(s) {
475
525
  return s = (n + (s - t) % n) % n || 0, t + (s > r ? n - s : s);
476
526
  });
477
- }, we = function(t) {
478
- return t.replace(kn, function(e) {
479
- var i = e.indexOf("[") + 1, r = e.substring(i || 7, i ? e.indexOf("]") : e.length - 1).split(Sn);
480
- return Mr(i ? r : +r[0], i ? 0 : +r[1], +r[2] || 1e-5);
527
+ }, Te = function(t) {
528
+ return t.replace(Mn, function(e) {
529
+ var i = e.indexOf("[") + 1, r = e.substring(i || 7, i ? e.indexOf("]") : e.length - 1).split(Dn);
530
+ return Er(i ? r : +r[0], i ? 0 : +r[1], +r[2] || 1e-5);
481
531
  });
482
- }, zr = function(t, e, i, r, n) {
532
+ }, Ir = function(t, e, i, r, n) {
483
533
  var s = e - t, a = r - i;
484
- return Lt(n, function(l) {
534
+ return $t(n, function(l) {
485
535
  return i + ((l - t) / s * a || 0);
486
536
  });
487
- }, jn = function o(t, e, i, r) {
488
- var n = isNaN(t + e) ? 0 : function(_) {
489
- return (1 - _) * t + _ * e;
537
+ }, Jn = function o(t, e, i, r) {
538
+ var n = isNaN(t + e) ? 0 : function(d) {
539
+ return (1 - d) * t + d * e;
490
540
  };
491
541
  if (!n) {
492
- var s = G(t), a = {}, l, u, f, h, d;
542
+ var s = G(t), a = {}, l, u, f, h, _;
493
543
  if (i === !0 && (r = 1) && (i = null), s)
494
544
  t = {
495
545
  p: t
496
546
  }, e = {
497
547
  p: e
498
548
  };
499
- else if (Z(t) && !Z(e)) {
500
- for (f = [], h = t.length, d = h - 2, u = 1; u < h; u++)
549
+ else if (Q(t) && !Q(e)) {
550
+ for (f = [], h = t.length, _ = h - 2, u = 1; u < h; u++)
501
551
  f.push(o(t[u - 1], t[u]));
502
- h--, n = function(m) {
503
- m *= h;
504
- var c = Math.min(d, ~~m);
505
- return f[c](m - c);
552
+ h--, n = function(p) {
553
+ p *= h;
554
+ var c = Math.min(_, ~~p);
555
+ return f[c](p - c);
506
556
  }, i = e;
507
- } else r || (t = ne(Z(t) ? [] : {}, t));
557
+ } else r || (t = oe(Q(t) ? [] : {}, t));
508
558
  if (!f) {
509
559
  for (l in e)
510
560
  Pi.call(a, t, l, "get", e[l]);
511
- n = function(m) {
512
- return Di(m, a) || (s ? t.p : t);
561
+ n = function(p) {
562
+ return Ai(p, a) || (s ? t.p : t);
513
563
  };
514
564
  }
515
565
  }
516
- return Lt(i, n);
517
- }, qi = function(t, e, i) {
518
- var r = t.labels, n = dt, s, a, l;
566
+ return $t(i, n);
567
+ }, ji = function(t, e, i) {
568
+ var r = t.labels, n = _t, s, a, l;
519
569
  for (s in r)
520
570
  a = r[s] - e, a < 0 == !!i && a && n > (a = Math.abs(a)) && (l = s, n = a);
521
571
  return l;
522
572
  }, ot = function(t, e, i) {
523
573
  var r = t.vars, n = r[e], s = F, a = t._ctx, l, u, f;
524
574
  if (n)
525
- return l = r[e + "Params"], u = r.callbackScope || t, i && At.length && Le(), a && (F = a), f = l ? n.apply(u, l) : n.call(u), F = s, f;
526
- }, pe = function(t) {
527
- return Rt(t), t.scrollTrigger && t.scrollTrigger.kill(!!H), t.progress() < 1 && ot(t, "onInterrupt"), t;
528
- }, Jt, Ar = [], Er = function(t) {
575
+ return l = r[e + "Params"], u = r.callbackScope || t, i && zt.length && $e(), a && (F = a), f = l ? n.apply(u, l) : n.call(u), F = s, f;
576
+ }, me = function(t) {
577
+ return Rt(t), t.scrollTrigger && t.scrollTrigger.kill(!!K), t.progress() < 1 && ot(t, "onInterrupt"), t;
578
+ }, ee, Fr = [], Lr = function(t) {
529
579
  if (t)
530
- if (t = !t.name && t.default || t, vi() || t.headless) {
580
+ if (t = !t.name && t.default || t, xi() || t.headless) {
531
581
  var e = t.name, i = V(t), r = e && !i && t.init ? function() {
532
582
  this._props = [];
533
583
  } : t, n = {
534
- init: be,
535
- render: Di,
584
+ init: we,
585
+ render: Ai,
536
586
  add: Pi,
537
- kill: ls,
538
- modifier: os,
587
+ kill: ds,
588
+ modifier: hs,
539
589
  rawVars: 0
540
590
  }, s = {
541
591
  targetTest: 0,
542
592
  get: 0,
543
- getSetter: Mi,
593
+ getSetter: Di,
544
594
  aliases: {},
545
595
  register: 0
546
596
  };
547
- if (oe(), t !== r) {
597
+ if (fe(), t !== r) {
548
598
  if (st[e])
549
599
  return;
550
- ht(r, ht(Ne(t, n), s)), ne(r.prototype, ne(n, Ne(t, s))), st[r.prop = e] = r, t.targetTest && (Re.push(r), wi[e] = 1), e = (e === "css" ? "CSS" : e.charAt(0).toUpperCase() + e.substr(1)) + "Plugin";
600
+ ct(r, ct(Ne(t, n), s)), oe(r.prototype, oe(n, Ne(t, s))), st[r.prop = e] = r, t.targetTest && (Ie.push(r), Ti[e] = 1), e = (e === "css" ? "CSS" : e.charAt(0).toUpperCase() + e.substr(1)) + "Plugin";
551
601
  }
552
- pr(e, r), t.register && t.register(nt, r, it);
602
+ vr(e, r), t.register && t.register(nt, r, it);
553
603
  } else
554
- Ar.push(t);
555
- }, A = 255, me = {
556
- aqua: [0, A, A],
557
- lime: [0, A, 0],
604
+ Fr.push(t);
605
+ }, z = 255, ge = {
606
+ aqua: [0, z, z],
607
+ lime: [0, z, 0],
558
608
  silver: [192, 192, 192],
559
609
  black: [0, 0, 0],
560
610
  maroon: [128, 0, 0],
561
611
  teal: [0, 128, 128],
562
- blue: [0, 0, A],
612
+ blue: [0, 0, z],
563
613
  navy: [0, 0, 128],
564
- white: [A, A, A],
614
+ white: [z, z, z],
565
615
  olive: [128, 128, 0],
566
- yellow: [A, A, 0],
567
- orange: [A, 165, 0],
616
+ yellow: [z, z, 0],
617
+ orange: [z, 165, 0],
568
618
  gray: [128, 128, 128],
569
619
  purple: [128, 0, 128],
570
620
  green: [0, 128, 0],
571
- red: [A, 0, 0],
572
- pink: [A, 192, 203],
573
- cyan: [0, A, A],
574
- transparent: [A, A, A, 0]
621
+ red: [z, 0, 0],
622
+ pink: [z, 192, 203],
623
+ cyan: [0, z, z],
624
+ transparent: [z, z, z, 0]
575
625
  }, Qe = function(t, e, i) {
576
- return t += t < 0 ? 1 : t > 1 ? -1 : 0, (t * 6 < 1 ? e + (i - e) * t * 6 : t < 0.5 ? i : t * 3 < 2 ? e + (i - e) * (2 / 3 - t) * 6 : e) * A + 0.5 | 0;
577
- }, Rr = function(t, e, i) {
578
- var r = t ? Ot(t) ? [t >> 16, t >> 8 & A, t & A] : 0 : me.black, n, s, a, l, u, f, h, d, _, m;
626
+ return t += t < 0 ? 1 : t > 1 ? -1 : 0, (t * 6 < 1 ? e + (i - e) * t * 6 : t < 0.5 ? i : t * 3 < 2 ? e + (i - e) * (2 / 3 - t) * 6 : e) * z + 0.5 | 0;
627
+ }, $r = function(t, e, i) {
628
+ var r = t ? Pt(t) ? [t >> 16, t >> 8 & z, t & z] : 0 : ge.black, n, s, a, l, u, f, h, _, d, p;
579
629
  if (!r) {
580
- if (t.substr(-1) === "," && (t = t.substr(0, t.length - 1)), me[t])
581
- r = me[t];
630
+ if (t.substr(-1) === "," && (t = t.substr(0, t.length - 1)), ge[t])
631
+ r = ge[t];
582
632
  else if (t.charAt(0) === "#") {
583
633
  if (t.length < 6 && (n = t.charAt(1), s = t.charAt(2), a = t.charAt(3), t = "#" + n + n + s + s + a + a + (t.length === 5 ? t.charAt(4) + t.charAt(4) : "")), t.length === 9)
584
- return r = parseInt(t.substr(1, 6), 16), [r >> 16, r >> 8 & A, r & A, parseInt(t.substr(7), 16) / 255];
585
- t = parseInt(t.substr(1), 16), r = [t >> 16, t >> 8 & A, t & A];
634
+ return r = parseInt(t.substr(1, 6), 16), [r >> 16, r >> 8 & z, r & z, parseInt(t.substr(7), 16) / 255];
635
+ t = parseInt(t.substr(1), 16), r = [t >> 16, t >> 8 & z, t & z];
586
636
  } else if (t.substr(0, 3) === "hsl") {
587
- if (r = m = t.match($i), !e)
637
+ if (r = p = t.match(Vi), !e)
588
638
  l = +r[0] % 360 / 360, u = +r[1] / 100, f = +r[2] / 100, s = f <= 0.5 ? f * (u + 1) : f + u - f * u, n = f * 2 - s, r.length > 3 && (r[3] *= 1), r[0] = Qe(l + 1 / 3, n, s), r[1] = Qe(l, n, s), r[2] = Qe(l - 1 / 3, n, s);
589
639
  else if (~t.indexOf("="))
590
- return r = t.match(hr), i && r.length < 4 && (r[3] = 1), r;
640
+ return r = t.match(pr), i && r.length < 4 && (r[3] = 1), r;
591
641
  } else
592
- r = t.match($i) || me.transparent;
642
+ r = t.match(Vi) || ge.transparent;
593
643
  r = r.map(Number);
594
644
  }
595
- return e && !m && (n = r[0] / A, s = r[1] / A, a = r[2] / A, h = Math.max(n, s, a), d = Math.min(n, s, a), f = (h + d) / 2, h === d ? l = u = 0 : (_ = h - d, u = f > 0.5 ? _ / (2 - h - d) : _ / (h + d), l = h === n ? (s - a) / _ + (s < a ? 6 : 0) : h === s ? (a - n) / _ + 2 : (n - s) / _ + 4, l *= 60), r[0] = ~~(l + 0.5), r[1] = ~~(u * 100 + 0.5), r[2] = ~~(f * 100 + 0.5)), i && r.length < 4 && (r[3] = 1), r;
596
- }, Ir = function(t) {
645
+ return e && !p && (n = r[0] / z, s = r[1] / z, a = r[2] / z, h = Math.max(n, s, a), _ = Math.min(n, s, a), f = (h + _) / 2, h === _ ? l = u = 0 : (d = h - _, u = f > 0.5 ? d / (2 - h - _) : d / (h + _), l = h === n ? (s - a) / d + (s < a ? 6 : 0) : h === s ? (a - n) / d + 2 : (n - s) / d + 4, l *= 60), r[0] = ~~(l + 0.5), r[1] = ~~(u * 100 + 0.5), r[2] = ~~(f * 100 + 0.5)), i && r.length < 4 && (r[3] = 1), r;
646
+ }, Nr = function(t) {
597
647
  var e = [], i = [], r = -1;
598
648
  return t.split(Et).forEach(function(n) {
599
- var s = n.match(Zt) || [];
649
+ var s = n.match(te) || [];
600
650
  e.push.apply(e, s), i.push(r += s.length + 1);
601
651
  }), e.c = i, e;
602
- }, Xi = function(t, e, i) {
652
+ }, Wi = function(t, e, i) {
603
653
  var r = "", n = (t + r).match(Et), s = e ? "hsla(" : "rgba(", a = 0, l, u, f, h;
604
654
  if (!n)
605
655
  return t;
606
- if (n = n.map(function(d) {
607
- return (d = Rr(d, e, 1)) && s + (e ? d[0] + "," + d[1] + "%," + d[2] + "%," + d[3] : d.join(",")) + ")";
608
- }), i && (f = Ir(t), l = i.c, l.join(r) !== f.c.join(r)))
609
- for (u = t.replace(Et, "1").split(Zt), h = u.length - 1; a < h; a++)
656
+ if (n = n.map(function(_) {
657
+ return (_ = $r(_, e, 1)) && s + (e ? _[0] + "," + _[1] + "%," + _[2] + "%," + _[3] : _.join(",")) + ")";
658
+ }), i && (f = Nr(t), l = i.c, l.join(r) !== f.c.join(r)))
659
+ for (u = t.replace(Et, "1").split(te), h = u.length - 1; a < h; a++)
610
660
  r += u[a] + (~l.indexOf(a) ? n.shift() || s + "0,0,0,0)" : (f.length ? f : n.length ? n : i).shift());
611
661
  if (!u)
612
662
  for (u = t.split(Et), h = u.length - 1; a < h; a++)
@@ -614,76 +664,76 @@ var ut = {
614
664
  return r + u[h];
615
665
  }, Et = function() {
616
666
  var o = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b", t;
617
- for (t in me)
667
+ for (t in ge)
618
668
  o += "|" + t + "\\b";
619
669
  return new RegExp(o + ")", "gi");
620
- }(), Wn = /hsl[a]?\(/, Fr = function(t) {
670
+ }(), Qn = /hsl[a]?\(/, Br = function(t) {
621
671
  var e = t.join(" "), i;
622
672
  if (Et.lastIndex = 0, Et.test(e))
623
- return i = Wn.test(e), t[1] = Xi(t[1], i), t[0] = Xi(t[0], i, Ir(t[1])), !0;
624
- }, Te, at = function() {
625
- var o = Date.now, t = 500, e = 33, i = o(), r = i, n = 1e3 / 240, s = n, a = [], l, u, f, h, d, _, m = function c(p) {
626
- var y = o() - r, v = p === !0, w, x, g, T;
627
- if ((y > t || y < 0) && (i += y - e), r += y, g = r - i, w = g - s, (w > 0 || v) && (T = ++h.frame, d = g - h.time * 1e3, h.time = g = g / 1e3, s += w + (w >= n ? 4 : n - w), x = 1), v || (l = u(c)), x)
628
- for (_ = 0; _ < a.length; _++)
629
- a[_](g, d, T, p);
673
+ return i = Qn.test(e), t[1] = Wi(t[1], i), t[0] = Wi(t[0], i, Nr(t[1])), !0;
674
+ }, ke, at = function() {
675
+ var o = Date.now, t = 500, e = 33, i = o(), r = i, n = 1e3 / 240, s = n, a = [], l, u, f, h, _, d, p = function c(g) {
676
+ var y = o() - r, v = g === !0, w, x, m, T;
677
+ if ((y > t || y < 0) && (i += y - e), r += y, m = r - i, w = m - s, (w > 0 || v) && (T = ++h.frame, _ = m - h.time * 1e3, h.time = m = m / 1e3, s += w + (w >= n ? 4 : n - w), x = 1), v || (l = u(c)), x)
678
+ for (d = 0; d < a.length; d++)
679
+ a[d](m, _, T, g);
630
680
  };
631
681
  return h = {
632
682
  time: 0,
633
683
  frame: 0,
634
684
  tick: function() {
635
- m(!0);
685
+ p(!0);
636
686
  },
637
- deltaRatio: function(p) {
638
- return d / (1e3 / (p || 60));
687
+ deltaRatio: function(g) {
688
+ return _ / (1e3 / (g || 60));
639
689
  },
640
690
  wake: function() {
641
- dr && (!ni && vi() && (vt = ni = window, xi = vt.document || {}, ft.gsap = nt, (vt.gsapVersions || (vt.gsapVersions = [])).push(nt.version), _r(Fe || vt.GreenSockGlobals || !vt.gsap && vt || {}), Ar.forEach(Er)), f = typeof requestAnimationFrame < "u" && requestAnimationFrame, l && h.sleep(), u = f || function(p) {
642
- return setTimeout(p, s - h.time * 1e3 + 1 | 0);
643
- }, Te = 1, m(2));
691
+ gr && (!si && xi() && (vt = si = window, bi = vt.document || {}, ft.gsap = nt, (vt.gsapVersions || (vt.gsapVersions = [])).push(nt.version), yr(Le || vt.GreenSockGlobals || !vt.gsap && vt || {}), Fr.forEach(Lr)), f = typeof requestAnimationFrame < "u" && requestAnimationFrame, l && h.sleep(), u = f || function(g) {
692
+ return setTimeout(g, s - h.time * 1e3 + 1 | 0);
693
+ }, ke = 1, p(2));
644
694
  },
645
695
  sleep: function() {
646
- (f ? cancelAnimationFrame : clearTimeout)(l), Te = 0, u = be;
696
+ (f ? cancelAnimationFrame : clearTimeout)(l), ke = 0, u = we;
647
697
  },
648
- lagSmoothing: function(p, y) {
649
- t = p || 1 / 0, e = Math.min(y || 33, t);
698
+ lagSmoothing: function(g, y) {
699
+ t = g || 1 / 0, e = Math.min(y || 33, t);
650
700
  },
651
- fps: function(p) {
652
- n = 1e3 / (p || 240), s = h.time * 1e3 + n;
701
+ fps: function(g) {
702
+ n = 1e3 / (g || 240), s = h.time * 1e3 + n;
653
703
  },
654
- add: function(p, y, v) {
655
- var w = y ? function(x, g, T, k) {
656
- p(x, g, T, k), h.remove(w);
657
- } : p;
658
- return h.remove(p), a[v ? "unshift" : "push"](w), oe(), w;
704
+ add: function(g, y, v) {
705
+ var w = y ? function(x, m, T, k) {
706
+ g(x, m, T, k), h.remove(w);
707
+ } : g;
708
+ return h.remove(g), a[v ? "unshift" : "push"](w), fe(), w;
659
709
  },
660
- remove: function(p, y) {
661
- ~(y = a.indexOf(p)) && a.splice(y, 1) && _ >= y && _--;
710
+ remove: function(g, y) {
711
+ ~(y = a.indexOf(g)) && a.splice(y, 1) && d >= y && d--;
662
712
  },
663
713
  _listeners: a
664
714
  }, h;
665
- }(), oe = function() {
666
- return !Te && at.wake();
667
- }, C = {}, Gn = /^[\d.\-M][\d.\-,\s]/, Kn = /["']/g, Hn = function(t) {
715
+ }(), fe = function() {
716
+ return !ke && at.wake();
717
+ }, C = {}, Zn = /^[\d.\-M][\d.\-,\s]/, ts = /["']/g, es = function(t) {
668
718
  for (var e = {}, i = t.substr(1, t.length - 3).split(":"), r = i[0], n = 1, s = i.length, a, l, u; n < s; n++)
669
- l = i[n], a = n !== s - 1 ? l.lastIndexOf(",") : l.length, u = l.substr(0, a), e[r] = isNaN(u) ? u.replace(Kn, "").trim() : +u, r = l.substr(a + 1).trim();
719
+ l = i[n], a = n !== s - 1 ? l.lastIndexOf(",") : l.length, u = l.substr(0, a), e[r] = isNaN(u) ? u.replace(ts, "").trim() : +u, r = l.substr(a + 1).trim();
670
720
  return e;
671
- }, Qn = function(t) {
721
+ }, is = function(t) {
672
722
  var e = t.indexOf("(") + 1, i = t.indexOf(")"), r = t.indexOf("(", e);
673
723
  return t.substring(e, ~r && r < i ? t.indexOf(")", i + 1) : i);
674
- }, Zn = function(t) {
724
+ }, rs = function(t) {
675
725
  var e = (t + "").split("("), i = C[e[0]];
676
- return i && e.length > 1 && i.config ? i.config.apply(null, ~t.indexOf("{") ? [Hn(e[1])] : Qn(t).split(",").map(vr)) : C._CE && Gn.test(t) ? C._CE("", t) : i;
677
- }, Lr = function(t) {
726
+ return i && e.length > 1 && i.config ? i.config.apply(null, ~t.indexOf("{") ? [es(e[1])] : is(t).split(",").map(Tr)) : C._CE && Zn.test(t) ? C._CE("", t) : i;
727
+ }, Vr = function(t) {
678
728
  return function(e) {
679
729
  return 1 - t(1 - e);
680
730
  };
681
- }, Nr = function o(t, e) {
731
+ }, Ur = function o(t, e) {
682
732
  for (var i = t._first, r; i; )
683
- i instanceof J ? o(i, e) : i.vars.yoyoEase && (!i._yoyo || !i._repeat) && i._yoyo !== e && (i.timeline ? o(i.timeline, e) : (r = i._ease, i._ease = i._yEase, i._yEase = r, i._yoyo = e)), i = i._next;
684
- }, jt = function(t, e) {
685
- return t && (V(t) ? t : C[t] || Zn(t)) || e;
686
- }, Ht = function(t, e, i, r) {
733
+ i instanceof Z ? o(i, e) : i.vars.yoyoEase && (!i._yoyo || !i._repeat) && i._yoyo !== e && (i.timeline ? o(i.timeline, e) : (r = i._ease, i._ease = i._yEase, i._yEase = r, i._yoyo = e)), i = i._next;
734
+ }, Wt = function(t, e) {
735
+ return t && (V(t) ? t : C[t] || rs(t)) || e;
736
+ }, Jt = function(t, e, i, r) {
687
737
  i === void 0 && (i = function(l) {
688
738
  return 1 - e(1 - l);
689
739
  }), r === void 0 && (r = function(l) {
@@ -699,33 +749,33 @@ var ut = {
699
749
  for (var l in n)
700
750
  C[s + (l === "easeIn" ? ".in" : l === "easeOut" ? ".out" : ".inOut")] = C[a + "." + l] = n[l];
701
751
  }), n;
702
- }, $r = function(t) {
752
+ }, Yr = function(t) {
703
753
  return function(e) {
704
754
  return e < 0.5 ? (1 - t(1 - e * 2)) / 2 : 0.5 + t((e - 0.5) * 2) / 2;
705
755
  };
706
756
  }, Ze = function o(t, e, i) {
707
- var r = e >= 1 ? e : 1, n = (i || (t ? 0.3 : 0.45)) / (e < 1 ? e : 1), s = n / ri * (Math.asin(1 / r) || 0), a = function(f) {
708
- return f === 1 ? 1 : r * Math.pow(2, -10 * f) * Tn((f - s) * n) + 1;
757
+ var r = e >= 1 ? e : 1, n = (i || (t ? 0.3 : 0.45)) / (e < 1 ? e : 1), s = n / ni * (Math.asin(1 / r) || 0), a = function(f) {
758
+ return f === 1 ? 1 : r * Math.pow(2, -10 * f) * Cn((f - s) * n) + 1;
709
759
  }, l = t === "out" ? a : t === "in" ? function(u) {
710
760
  return 1 - a(1 - u);
711
- } : $r(a);
712
- return n = ri / n, l.config = function(u, f) {
761
+ } : Yr(a);
762
+ return n = ni / n, l.config = function(u, f) {
713
763
  return o(t, u, f);
714
764
  }, l;
715
- }, Je = function o(t, e) {
765
+ }, ti = function o(t, e) {
716
766
  e === void 0 && (e = 1.70158);
717
767
  var i = function(s) {
718
768
  return s ? --s * s * ((e + 1) * s + e) + 1 : 0;
719
769
  }, r = t === "out" ? i : t === "in" ? function(n) {
720
770
  return 1 - i(1 - n);
721
- } : $r(i);
771
+ } : Yr(i);
722
772
  return r.config = function(n) {
723
773
  return o(t, n);
724
774
  }, r;
725
775
  };
726
776
  et("Linear,Quad,Cubic,Quart,Quint,Strong", function(o, t) {
727
777
  var e = t < 5 ? t + 1 : t;
728
- Ht(o + ",Power" + (e - 1), t ? function(i) {
778
+ Jt(o + ",Power" + (e - 1), t ? function(i) {
729
779
  return Math.pow(i, e);
730
780
  } : function(i) {
731
781
  return i;
@@ -736,43 +786,43 @@ et("Linear,Quad,Cubic,Quart,Quint,Strong", function(o, t) {
736
786
  });
737
787
  });
738
788
  C.Linear.easeNone = C.none = C.Linear.easeIn;
739
- Ht("Elastic", Ze("in"), Ze("out"), Ze());
789
+ Jt("Elastic", Ze("in"), Ze("out"), Ze());
740
790
  (function(o, t) {
741
791
  var e = 1 / t, i = 2 * e, r = 2.5 * e, n = function(a) {
742
792
  return a < e ? o * a * a : a < i ? o * Math.pow(a - 1.5 / t, 2) + 0.75 : a < r ? o * (a -= 2.25 / t) * a + 0.9375 : o * Math.pow(a - 2.625 / t, 2) + 0.984375;
743
793
  };
744
- Ht("Bounce", function(s) {
794
+ Jt("Bounce", function(s) {
745
795
  return 1 - n(1 - s);
746
796
  }, n);
747
797
  })(7.5625, 2.75);
748
- Ht("Expo", function(o) {
798
+ Jt("Expo", function(o) {
749
799
  return Math.pow(2, 10 * (o - 1)) * o + o * o * o * o * o * o * (1 - o);
750
800
  });
751
- Ht("Circ", function(o) {
752
- return -(ur(1 - o * o) - 1);
801
+ Jt("Circ", function(o) {
802
+ return -(dr(1 - o * o) - 1);
753
803
  });
754
- Ht("Sine", function(o) {
755
- return o === 1 ? 1 : -wn(o * xn) + 1;
804
+ Jt("Sine", function(o) {
805
+ return o === 1 ? 1 : -Pn(o * Sn) + 1;
756
806
  });
757
- Ht("Back", Je("in"), Je("out"), Je());
807
+ Jt("Back", ti("in"), ti("out"), ti());
758
808
  C.SteppedEase = C.steps = ft.SteppedEase = {
759
809
  config: function(t, e) {
760
810
  t === void 0 && (t = 1);
761
811
  var i = 1 / t, r = t + (e ? 0 : 1), n = e ? 1 : 0, s = 1 - E;
762
812
  return function(a) {
763
- return ((r * Ce(0, s, a) | 0) + n) * i;
813
+ return ((r * Me(0, s, a) | 0) + n) * i;
764
814
  };
765
815
  }
766
816
  };
767
- re.ease = C["quad.out"];
817
+ ae.ease = C["quad.out"];
768
818
  et("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(o) {
769
- return Ti += o + "," + o + "Params,";
819
+ return ki += o + "," + o + "Params,";
770
820
  });
771
- var Br = function(t, e) {
772
- this.id = bn++, t._gsap = this, this.target = t, this.harness = e, this.get = e ? e.get : gr, this.set = e ? e.getSetter : Mi;
773
- }, ke = /* @__PURE__ */ function() {
821
+ var qr = function(t, e) {
822
+ this.id = On++, t._gsap = this, this.target = t, this.harness = e, this.get = e ? e.get : br, this.set = e ? e.getSetter : Di;
823
+ }, Se = /* @__PURE__ */ function() {
774
824
  function o(e) {
775
- this.vars = e, this._delay = +e.delay || 0, (this._repeat = e.repeat === 1 / 0 ? -2 : e.repeat || 0) && (this._rDelay = e.repeatDelay || 0, this._yoyo = !!e.yoyo || !!e.yoyoEase), this._ts = 1, ae(this, +e.duration, 1, 1), this.data = e.data, F && (this._ctx = F, F.data.push(this)), Te || at.wake();
825
+ this.vars = e, this._delay = +e.delay || 0, (this._repeat = e.repeat === 1 / 0 ? -2 : e.repeat || 0) && (this._rDelay = e.repeatDelay || 0, this._yoyo = !!e.yoyo || !!e.yoyoEase), this._ts = 1, ue(this, +e.duration, 1, 1), this.data = e.data, F && (this._ctx = F, F.data.push(this)), ke || at.wake();
776
826
  }
777
827
  var t = o.prototype;
778
828
  return t.delay = function(i) {
@@ -780,35 +830,35 @@ var Br = function(t, e) {
780
830
  }, t.duration = function(i) {
781
831
  return arguments.length ? this.totalDuration(this._repeat > 0 ? i + (i + this._rDelay) * this._repeat : i) : this.totalDuration() && this._dur;
782
832
  }, t.totalDuration = function(i) {
783
- return arguments.length ? (this._dirty = 0, ae(this, this._repeat < 0 ? i : (i - this._repeat * this._rDelay) / (this._repeat + 1))) : this._tDur;
833
+ return arguments.length ? (this._dirty = 0, ue(this, this._repeat < 0 ? i : (i - this._repeat * this._rDelay) / (this._repeat + 1))) : this._tDur;
784
834
  }, t.totalTime = function(i, r) {
785
- if (oe(), !arguments.length)
835
+ if (fe(), !arguments.length)
786
836
  return this._tTime;
787
837
  var n = this._dp;
788
838
  if (n && n.smoothChildTiming && this._ts) {
789
- for (Ge(this, i), !n._dp || n.parent || wr(n, this); n && n.parent; )
839
+ for (He(this, i), !n._dp || n.parent || Or(n, this); n && n.parent; )
790
840
  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;
791
841
  !this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && i < this._tDur || this._ts < 0 && i > 0 || !this._tDur && !i) && xt(this._dp, this, this._start - this._delay);
792
842
  }
793
- return (this._tTime !== i || !this._dur && !r || this._initted && Math.abs(this._zTime) === E || !this._initted && this._dur && i || !i && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = i), yr(this, i, r)), this;
843
+ return (this._tTime !== i || !this._dur && !r || this._initted && Math.abs(this._zTime) === E || !this._initted && this._dur && i || !i && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = i), wr(this, i, r)), this;
794
844
  }, t.time = function(i, r) {
795
- return arguments.length ? this.totalTime(Math.min(this.totalDuration(), i + Ui(this)) % (this._dur + this._rDelay) || (i ? this._dur : 0), r) : this._time;
845
+ return arguments.length ? this.totalTime(Math.min(this.totalDuration(), i + qi(this)) % (this._dur + this._rDelay) || (i ? this._dur : 0), r) : this._time;
796
846
  }, t.totalProgress = function(i, r) {
797
847
  return arguments.length ? this.totalTime(this.totalDuration() * i, r) : this.totalDuration() ? Math.min(1, this._tTime / this._tDur) : this.rawTime() >= 0 && this._initted ? 1 : 0;
798
848
  }, t.progress = function(i, r) {
799
- return arguments.length ? this.totalTime(this.duration() * (this._yoyo && !(this.iteration() & 1) ? 1 - i : i) + Ui(this), r) : this.duration() ? Math.min(1, this._time / this._dur) : this.rawTime() > 0 ? 1 : 0;
849
+ return arguments.length ? this.totalTime(this.duration() * (this._yoyo && !(this.iteration() & 1) ? 1 - i : i) + qi(this), r) : this.duration() ? Math.min(1, this._time / this._dur) : this.rawTime() > 0 ? 1 : 0;
800
850
  }, t.iteration = function(i, r) {
801
851
  var n = this.duration() + this._rDelay;
802
- return arguments.length ? this.totalTime(this._time + (i - 1) * n, r) : this._repeat ? se(this._tTime, n) + 1 : 1;
852
+ return arguments.length ? this.totalTime(this._time + (i - 1) * n, r) : this._repeat ? le(this._tTime, n) + 1 : 1;
803
853
  }, t.timeScale = function(i, r) {
804
854
  if (!arguments.length)
805
855
  return this._rts === -E ? 0 : this._rts;
806
856
  if (this._rts === i)
807
857
  return this;
808
- var n = this.parent && this._ts ? $e(this.parent._time, this) : this._tTime;
809
- return this._rts = +i || 0, this._ts = this._ps || i === -E ? 0 : this._rts, this.totalTime(Ce(-Math.abs(this._delay), this.totalDuration(), n), r !== !1), We(this), En(this);
858
+ var n = this.parent && this._ts ? Be(this.parent._time, this) : this._tTime;
859
+ return this._rts = +i || 0, this._ts = this._ps || i === -E ? 0 : this._rts, this.totalTime(Me(-Math.abs(this._delay), this.totalDuration(), n), r !== !1), Ge(this), $n(this);
810
860
  }, t.paused = function(i) {
811
- return arguments.length ? (this._ps !== i && (this._ps = i, i ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (oe(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== E && (this._tTime -= E)))), this) : this._ps;
861
+ return arguments.length ? (this._ps !== i && (this._ps = i, i ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (fe(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== E && (this._tTime -= E)))), this) : this._ps;
812
862
  }, t.startTime = function(i) {
813
863
  if (arguments.length) {
814
864
  this._start = L(i);
@@ -820,27 +870,27 @@ var Br = function(t, e) {
820
870
  return this._start + (tt(i) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1);
821
871
  }, t.rawTime = function(i) {
822
872
  var r = this.parent || this._dp;
823
- return r ? i && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? $e(r.rawTime(i), this) : this._tTime : this._tTime;
873
+ return r ? i && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? Be(r.rawTime(i), this) : this._tTime : this._tTime;
824
874
  }, t.revert = function(i) {
825
- i === void 0 && (i = Mn);
826
- var r = H;
827
- return H = i, Si(this) && (this.timeline && this.timeline.revert(i), this.totalTime(-0.01, i.suppressEvents)), this.data !== "nested" && i.kill !== !1 && this.kill(), H = r, this;
875
+ i === void 0 && (i = Rn);
876
+ var r = K;
877
+ return K = i, Oi(this) && (this.timeline && this.timeline.revert(i), this.totalTime(-0.01, i.suppressEvents)), this.data !== "nested" && i.kill !== !1 && this.kill(), K = r, this;
828
878
  }, t.globalTime = function(i) {
829
879
  for (var r = this, n = arguments.length ? i : r.rawTime(); r; )
830
880
  n = r._start + n / (Math.abs(r._ts) || 1), r = r._dp;
831
881
  return !this.parent && this._sat ? this._sat.globalTime(i) : n;
832
882
  }, t.repeat = function(i) {
833
- return arguments.length ? (this._repeat = i === 1 / 0 ? -2 : i, Yi(this)) : this._repeat === -2 ? 1 / 0 : this._repeat;
883
+ return arguments.length ? (this._repeat = i === 1 / 0 ? -2 : i, Xi(this)) : this._repeat === -2 ? 1 / 0 : this._repeat;
834
884
  }, t.repeatDelay = function(i) {
835
885
  if (arguments.length) {
836
886
  var r = this._time;
837
- return this._rDelay = i, Yi(this), r ? this.time(r) : this;
887
+ return this._rDelay = i, Xi(this), r ? this.time(r) : this;
838
888
  }
839
889
  return this._rDelay;
840
890
  }, t.yoyo = function(i) {
841
891
  return arguments.length ? (this._yoyo = i, this) : this._yoyo;
842
892
  }, t.seek = function(i, r) {
843
- return this.totalTime(ct(this, i), tt(r));
893
+ return this.totalTime(ht(this, i), tt(r));
844
894
  }, t.restart = function(i, r) {
845
895
  return this.play().totalTime(i ? -this._delay : 0, tt(r)), this._dur || (this._zTime = -E), this;
846
896
  }, t.play = function(i, r) {
@@ -864,17 +914,17 @@ var Br = function(t, e) {
864
914
  }, t.then = function(i) {
865
915
  var r = this, n = r._prom;
866
916
  return new Promise(function(s) {
867
- var a = V(i) ? i : xr, l = function() {
917
+ var a = V(i) ? i : kr, l = function() {
868
918
  var f = r.then;
869
919
  r.then = null, n && n(), V(a) && (a = a(r)) && (a.then || a === r) && (r.then = f), s(a), r.then = f;
870
920
  };
871
921
  r._initted && r.totalProgress() === 1 && r._ts >= 0 || !r._tTime && r._ts < 0 ? l() : r._prom = l;
872
922
  });
873
923
  }, t.kill = function() {
874
- pe(this);
924
+ me(this);
875
925
  }, o;
876
926
  }();
877
- ht(ke.prototype, {
927
+ ct(Se.prototype, {
878
928
  _time: 0,
879
929
  _start: 0,
880
930
  _end: 0,
@@ -894,81 +944,81 @@ ht(ke.prototype, {
894
944
  _ps: !1,
895
945
  _rts: 1
896
946
  });
897
- var J = /* @__PURE__ */ function(o) {
898
- lr(t, o);
947
+ var Z = /* @__PURE__ */ function(o) {
948
+ hr(t, o);
899
949
  function t(i, r) {
900
950
  var n;
901
- return i === void 0 && (i = {}), n = o.call(this, i) || this, n.labels = {}, n.smoothChildTiming = !!i.smoothChildTiming, n.autoRemoveChildren = !!i.autoRemoveChildren, n._sort = tt(i.sortChildren), N && xt(i.parent || N, St(n), r), i.reversed && n.reverse(), i.paused && n.paused(!0), i.scrollTrigger && Tr(St(n), i.scrollTrigger), n;
951
+ return i === void 0 && (i = {}), n = o.call(this, i) || this, n.labels = {}, n.smoothChildTiming = !!i.smoothChildTiming, n.autoRemoveChildren = !!i.autoRemoveChildren, n._sort = tt(i.sortChildren), $ && xt(i.parent || $, St(n), r), i.reversed && n.reverse(), i.paused && n.paused(!0), i.scrollTrigger && Pr(St(n), i.scrollTrigger), n;
902
952
  }
903
953
  var e = t.prototype;
904
954
  return e.to = function(r, n, s) {
905
- return ye(0, arguments, this), this;
955
+ return ve(0, arguments, this), this;
906
956
  }, e.from = function(r, n, s) {
907
- return ye(1, arguments, this), this;
957
+ return ve(1, arguments, this), this;
908
958
  }, e.fromTo = function(r, n, s, a) {
909
- return ye(2, arguments, this), this;
959
+ return ve(2, arguments, this), this;
910
960
  }, e.set = function(r, n, s) {
911
- return n.duration = 0, n.parent = this, ge(n).repeatDelay || (n.repeat = 0), n.immediateRender = !!n.immediateRender, new X(r, n, ct(this, s), 1), this;
961
+ return n.duration = 0, n.parent = this, ye(n).repeatDelay || (n.repeat = 0), n.immediateRender = !!n.immediateRender, new X(r, n, ht(this, s), 1), this;
912
962
  }, e.call = function(r, n, s) {
913
963
  return xt(this, X.delayedCall(0, r, n), s);
914
964
  }, e.staggerTo = function(r, n, s, a, l, u, f) {
915
- return s.duration = n, s.stagger = s.stagger || a, s.onComplete = u, s.onCompleteParams = f, s.parent = this, new X(r, s, ct(this, l)), this;
965
+ return s.duration = n, s.stagger = s.stagger || a, s.onComplete = u, s.onCompleteParams = f, s.parent = this, new X(r, s, ht(this, l)), this;
916
966
  }, e.staggerFrom = function(r, n, s, a, l, u, f) {
917
- return s.runBackwards = 1, ge(s).immediateRender = tt(s.immediateRender), this.staggerTo(r, n, s, a, l, u, f);
967
+ return s.runBackwards = 1, ye(s).immediateRender = tt(s.immediateRender), this.staggerTo(r, n, s, a, l, u, f);
918
968
  }, e.staggerFromTo = function(r, n, s, a, l, u, f, h) {
919
- return a.startAt = s, ge(a).immediateRender = tt(a.immediateRender), this.staggerTo(r, n, a, l, u, f, h);
969
+ return a.startAt = s, ye(a).immediateRender = tt(a.immediateRender), this.staggerTo(r, n, a, l, u, f, h);
920
970
  }, e.render = function(r, n, s) {
921
- var a = this._time, l = this._dirty ? this.totalDuration() : this._tDur, u = this._dur, f = r <= 0 ? 0 : L(r), h = this._zTime < 0 != r < 0 && (this._initted || !u), d, _, m, c, p, y, v, w, x, g, T, k;
922
- if (this !== N && f > l && r >= 0 && (f = l), f !== this._tTime || s || h) {
923
- if (a !== this._time && u && (f += this._time - a, r += this._time - a), d = f, x = this._start, w = this._ts, y = !w, h && (u || (a = this._zTime), (r || !n) && (this._zTime = r)), this._repeat) {
924
- if (T = this._yoyo, p = u + this._rDelay, this._repeat < -1 && r < 0)
925
- return this.totalTime(p * 100 + r, n, s);
926
- if (d = L(f % p), f === l ? (c = this._repeat, d = u) : (g = L(f / p), c = ~~g, c && c === g && (d = u, c--), d > u && (d = u)), g = se(this._tTime, p), !a && this._tTime && g !== c && this._tTime - g * p - this._dur <= 0 && (g = c), T && c & 1 && (d = u - d, k = 1), c !== g && !this._lock) {
927
- var S = T && g & 1, b = S === (T && c & 1);
928
- if (c < g && (S = !S), a = S ? 0 : f % u ? u : f, this._lock = 1, this.render(a || (k ? 0 : L(c * p)), n, !u)._lock = 0, this._tTime = f, !n && this.parent && ot(this, "onRepeat"), this.vars.repeatRefresh && !k && (this.invalidate()._lock = 1, g = c), a && a !== this._time || y !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
971
+ var a = this._time, l = this._dirty ? this.totalDuration() : this._tDur, u = this._dur, f = r <= 0 ? 0 : L(r), h = this._zTime < 0 != r < 0 && (this._initted || !u), _, d, p, c, g, y, v, w, x, m, T, k;
972
+ if (this !== $ && f > l && r >= 0 && (f = l), f !== this._tTime || s || h) {
973
+ if (a !== this._time && u && (f += this._time - a, r += this._time - a), _ = f, x = this._start, w = this._ts, y = !w, h && (u || (a = this._zTime), (r || !n) && (this._zTime = r)), this._repeat) {
974
+ if (T = this._yoyo, g = u + this._rDelay, this._repeat < -1 && r < 0)
975
+ return this.totalTime(g * 100 + r, n, s);
976
+ if (_ = L(f % g), f === l ? (c = this._repeat, _ = u) : (m = L(f / g), c = ~~m, c && c === m && (_ = u, c--), _ > u && (_ = u)), m = le(this._tTime, g), !a && this._tTime && m !== c && this._tTime - m * g - this._dur <= 0 && (m = c), T && c & 1 && (_ = u - _, k = 1), c !== m && !this._lock) {
977
+ var S = T && m & 1, b = S === (T && c & 1);
978
+ if (c < m && (S = !S), a = S ? 0 : f % u ? u : f, this._lock = 1, this.render(a || (k ? 0 : L(c * g)), n, !u)._lock = 0, this._tTime = f, !n && this.parent && ot(this, "onRepeat"), this.vars.repeatRefresh && !k && (this.invalidate()._lock = 1, m = c), a && a !== this._time || y !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
929
979
  return this;
930
980
  if (u = this._dur, l = this._tDur, b && (this._lock = 2, a = S ? u : -1e-4, this.render(a, !0), this.vars.repeatRefresh && !k && this.invalidate()), this._lock = 0, !this._ts && !y)
931
981
  return this;
932
- Nr(this, k);
982
+ Ur(this, k);
933
983
  }
934
984
  }
935
- if (this._hasPause && !this._forcing && this._lock < 2 && (v = Ln(this, L(a), L(d)), v && (f -= d - (d = v._start))), this._tTime = f, this._time = d, this._act = !w, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = r, a = 0), !a && f && u && !n && !g && (ot(this, "onStart"), this._tTime !== f))
985
+ if (this._hasPause && !this._forcing && this._lock < 2 && (v = Un(this, L(a), L(_)), v && (f -= _ - (_ = v._start))), this._tTime = f, this._time = _, this._act = !w, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = r, a = 0), !a && f && u && !n && !m && (ot(this, "onStart"), this._tTime !== f))
936
986
  return this;
937
- if (d >= a && r >= 0)
938
- for (_ = this._first; _; ) {
939
- if (m = _._next, (_._act || d >= _._start) && _._ts && v !== _) {
940
- if (_.parent !== this)
987
+ if (_ >= a && r >= 0)
988
+ for (d = this._first; d; ) {
989
+ if (p = d._next, (d._act || _ >= d._start) && d._ts && v !== d) {
990
+ if (d.parent !== this)
941
991
  return this.render(r, n, s);
942
- if (_.render(_._ts > 0 ? (d - _._start) * _._ts : (_._dirty ? _.totalDuration() : _._tDur) + (d - _._start) * _._ts, n, s), d !== this._time || !this._ts && !y) {
943
- v = 0, m && (f += this._zTime = -E);
992
+ if (d.render(d._ts > 0 ? (_ - d._start) * d._ts : (d._dirty ? d.totalDuration() : d._tDur) + (_ - d._start) * d._ts, n, s), _ !== this._time || !this._ts && !y) {
993
+ v = 0, p && (f += this._zTime = -E);
944
994
  break;
945
995
  }
946
996
  }
947
- _ = m;
997
+ d = p;
948
998
  }
949
999
  else {
950
- _ = this._last;
951
- for (var O = r < 0 ? r : d; _; ) {
952
- if (m = _._prev, (_._act || O <= _._end) && _._ts && v !== _) {
953
- if (_.parent !== this)
1000
+ d = this._last;
1001
+ for (var P = r < 0 ? r : _; d; ) {
1002
+ if (p = d._prev, (d._act || P <= d._end) && d._ts && v !== d) {
1003
+ if (d.parent !== this)
954
1004
  return this.render(r, n, s);
955
- if (_.render(_._ts > 0 ? (O - _._start) * _._ts : (_._dirty ? _.totalDuration() : _._tDur) + (O - _._start) * _._ts, n, s || H && Si(_)), d !== this._time || !this._ts && !y) {
956
- v = 0, m && (f += this._zTime = O ? -E : E);
1005
+ if (d.render(d._ts > 0 ? (P - d._start) * d._ts : (d._dirty ? d.totalDuration() : d._tDur) + (P - d._start) * d._ts, n, s || K && Oi(d)), _ !== this._time || !this._ts && !y) {
1006
+ v = 0, p && (f += this._zTime = P ? -E : E);
957
1007
  break;
958
1008
  }
959
1009
  }
960
- _ = m;
1010
+ d = p;
961
1011
  }
962
1012
  }
963
- if (v && !n && (this.pause(), v.render(d >= a ? 0 : -E)._zTime = d >= a ? 1 : -1, this._ts))
964
- return this._start = x, We(this), this.render(r, n, s);
1013
+ if (v && !n && (this.pause(), v.render(_ >= a ? 0 : -E)._zTime = _ >= a ? 1 : -1, this._ts))
1014
+ return this._start = x, Ge(this), this.render(r, n, s);
965
1015
  this._onUpdate && !n && ot(this, "onUpdate", !0), (f === l && this._tTime >= this.totalDuration() || !f && a) && (x === this._start || Math.abs(w) !== Math.abs(this._ts)) && (this._lock || ((r || !u) && (f === l && this._ts > 0 || !f && this._ts < 0) && Rt(this, 1), !n && !(r < 0 && !a) && (f || a || !l) && (ot(this, f === l && r >= 0 ? "onComplete" : "onReverseComplete", !0), this._prom && !(f < l && this.timeScale() > 0) && this._prom())));
966
1016
  }
967
1017
  return this;
968
1018
  }, e.add = function(r, n) {
969
1019
  var s = this;
970
- if (Ot(n) || (n = ct(this, n, r)), !(r instanceof ke)) {
971
- if (Z(r))
1020
+ if (Pt(n) || (n = ht(this, n, r)), !(r instanceof Se)) {
1021
+ if (Q(r))
972
1022
  return r.forEach(function(a) {
973
1023
  return s.add(a, n);
974
1024
  }), this;
@@ -981,7 +1031,7 @@ var J = /* @__PURE__ */ function(o) {
981
1031
  }
982
1032
  return this !== r ? xt(this, r, n) : this;
983
1033
  }, e.getChildren = function(r, n, s, a) {
984
- r === void 0 && (r = !0), n === void 0 && (n = !0), s === void 0 && (s = !0), a === void 0 && (a = -dt);
1034
+ r === void 0 && (r = !0), n === void 0 && (n = !0), s === void 0 && (s = !0), a === void 0 && (a = -_t);
985
1035
  for (var l = [], u = this._first; u; )
986
1036
  u._start >= a && (u instanceof X ? n && l.push(u) : (s && l.push(u), r && l.push.apply(l, u.getChildren(!0, n, s)))), u = u._next;
987
1037
  return l;
@@ -990,31 +1040,31 @@ var J = /* @__PURE__ */ function(o) {
990
1040
  if (n[s].vars.id === r)
991
1041
  return n[s];
992
1042
  }, e.remove = function(r) {
993
- return G(r) ? this.removeLabel(r) : V(r) ? this.killTweensOf(r) : (r.parent === this && je(this, r), r === this._recent && (this._recent = this._last), Xt(this));
1043
+ return G(r) ? this.removeLabel(r) : V(r) ? this.killTweensOf(r) : (r.parent === this && We(this, r), r === this._recent && (this._recent = this._last), jt(this));
994
1044
  }, e.totalTime = function(r, n) {
995
1045
  return arguments.length ? (this._forcing = 1, !this._dp && this._ts && (this._start = L(at.time - (this._ts > 0 ? r / this._ts : (this.totalDuration() - r) / -this._ts))), o.prototype.totalTime.call(this, r, n), this._forcing = 0, this) : this._tTime;
996
1046
  }, e.addLabel = function(r, n) {
997
- return this.labels[r] = ct(this, n), this;
1047
+ return this.labels[r] = ht(this, n), this;
998
1048
  }, e.removeLabel = function(r) {
999
1049
  return delete this.labels[r], this;
1000
1050
  }, e.addPause = function(r, n, s) {
1001
- var a = X.delayedCall(0, n || be, s);
1002
- return a.data = "isPause", this._hasPause = 1, xt(this, a, ct(this, r));
1051
+ var a = X.delayedCall(0, n || we, s);
1052
+ return a.data = "isPause", this._hasPause = 1, xt(this, a, ht(this, r));
1003
1053
  }, e.removePause = function(r) {
1004
1054
  var n = this._first;
1005
- for (r = ct(this, r); n; )
1055
+ for (r = ht(this, r); n; )
1006
1056
  n._start === r && n.data === "isPause" && Rt(n), n = n._next;
1007
1057
  }, e.killTweensOf = function(r, n, s) {
1008
1058
  for (var a = this.getTweensOf(r, s), l = a.length; l--; )
1009
1059
  Mt !== a[l] && a[l].kill(r, n);
1010
1060
  return this;
1011
1061
  }, e.getTweensOf = function(r, n) {
1012
- for (var s = [], a = _t(r), l = this._first, u = Ot(n), f; l; )
1013
- l instanceof X ? Dn(l._targets, a) && (u ? (!Mt || l._initted && l._ts) && l.globalTime(0) <= n && l.globalTime(l.totalDuration()) > n : !n || l.isActive()) && s.push(l) : (f = l.getTweensOf(a, n)).length && s.push.apply(s, f), l = l._next;
1062
+ for (var s = [], a = pt(r), l = this._first, u = Pt(n), f; l; )
1063
+ l instanceof X ? In(l._targets, a) && (u ? (!Mt || l._initted && l._ts) && l.globalTime(0) <= n && l.globalTime(l.totalDuration()) > n : !n || l.isActive()) && s.push(l) : (f = l.getTweensOf(a, n)).length && s.push.apply(s, f), l = l._next;
1014
1064
  return s;
1015
1065
  }, e.tweenTo = function(r, n) {
1016
1066
  n = n || {};
1017
- var s = this, a = ct(s, r), l = n, u = l.startAt, f = l.onStart, h = l.onStartParams, d = l.immediateRender, _, m = X.to(s, ht({
1067
+ var s = this, a = ht(s, r), l = n, u = l.startAt, f = l.onStart, h = l.onStartParams, _ = l.immediateRender, d, p = X.to(s, ct({
1018
1068
  ease: n.ease || "none",
1019
1069
  lazy: !1,
1020
1070
  immediateRender: !1,
@@ -1022,26 +1072,26 @@ var J = /* @__PURE__ */ function(o) {
1022
1072
  overwrite: "auto",
1023
1073
  duration: n.duration || Math.abs((a - (u && "time" in u ? u.time : s._time)) / s.timeScale()) || E,
1024
1074
  onStart: function() {
1025
- if (s.pause(), !_) {
1026
- var p = n.duration || Math.abs((a - (u && "time" in u ? u.time : s._time)) / s.timeScale());
1027
- m._dur !== p && ae(m, p, 0, 1).render(m._time, !0, !0), _ = 1;
1075
+ if (s.pause(), !d) {
1076
+ var g = n.duration || Math.abs((a - (u && "time" in u ? u.time : s._time)) / s.timeScale());
1077
+ p._dur !== g && ue(p, g, 0, 1).render(p._time, !0, !0), d = 1;
1028
1078
  }
1029
- f && f.apply(m, h || []);
1079
+ f && f.apply(p, h || []);
1030
1080
  }
1031
1081
  }, n));
1032
- return d ? m.render(0) : m;
1082
+ return _ ? p.render(0) : p;
1033
1083
  }, e.tweenFromTo = function(r, n, s) {
1034
- return this.tweenTo(n, ht({
1084
+ return this.tweenTo(n, ct({
1035
1085
  startAt: {
1036
- time: ct(this, r)
1086
+ time: ht(this, r)
1037
1087
  }
1038
1088
  }, s));
1039
1089
  }, e.recent = function() {
1040
1090
  return this._recent;
1041
1091
  }, e.nextLabel = function(r) {
1042
- return r === void 0 && (r = this._time), qi(this, ct(this, r));
1092
+ return r === void 0 && (r = this._time), ji(this, ht(this, r));
1043
1093
  }, e.previousLabel = function(r) {
1044
- return r === void 0 && (r = this._time), qi(this, ct(this, r), 1);
1094
+ return r === void 0 && (r = this._time), ji(this, ht(this, r), 1);
1045
1095
  }, e.currentLabel = function(r) {
1046
1096
  return arguments.length ? this.seek(r, !0) : this.previousLabel(this._time + E);
1047
1097
  }, e.shiftChildren = function(r, n, s) {
@@ -1052,7 +1102,7 @@ var J = /* @__PURE__ */ function(o) {
1052
1102
  if (n)
1053
1103
  for (u in l)
1054
1104
  l[u] >= s && (l[u] += r);
1055
- return Xt(this);
1105
+ return jt(this);
1056
1106
  }, e.invalidate = function(r) {
1057
1107
  var n = this._first;
1058
1108
  for (this._lock = 0; n; )
@@ -1062,21 +1112,21 @@ var J = /* @__PURE__ */ function(o) {
1062
1112
  r === void 0 && (r = !0);
1063
1113
  for (var n = this._first, s; n; )
1064
1114
  s = n._next, this.remove(n), n = s;
1065
- return this._dp && (this._time = this._tTime = this._pTime = 0), r && (this.labels = {}), Xt(this);
1115
+ return this._dp && (this._time = this._tTime = this._pTime = 0), r && (this.labels = {}), jt(this);
1066
1116
  }, e.totalDuration = function(r) {
1067
- var n = 0, s = this, a = s._last, l = dt, u, f, h;
1117
+ var n = 0, s = this, a = s._last, l = _t, u, f, h;
1068
1118
  if (arguments.length)
1069
1119
  return s.timeScale((s._repeat < 0 ? s.duration() : s.totalDuration()) / (s.reversed() ? -r : r));
1070
1120
  if (s._dirty) {
1071
1121
  for (h = s.parent; a; )
1072
1122
  u = a._prev, a._dirty && a.totalDuration(), f = a._start, f > l && s._sort && a._ts && !s._lock ? (s._lock = 1, xt(s, a, f - a._delay, 1)._lock = 0) : l = f, f < 0 && a._ts && (n -= f, (!h && !s._dp || h && h.smoothChildTiming) && (s._start += L(f / s._ts), s._time -= f, s._tTime -= f), s.shiftChildren(-f, !1, -1 / 0), l = 0), a._end > n && a._ts && (n = a._end), a = u;
1073
- ae(s, s === N && s._time > n ? s._time : n, 1, 1), s._dirty = 0;
1123
+ ue(s, s === $ && s._time > n ? s._time : n, 1, 1), s._dirty = 0;
1074
1124
  }
1075
1125
  return s._tDur;
1076
1126
  }, t.updateRoot = function(r) {
1077
- if (N._ts && (yr(N, $e(r, N)), mr = at.frame), at.frame >= Bi) {
1078
- Bi += ut.autoSleep || 120;
1079
- var n = N._first;
1127
+ if ($._ts && (wr($, Be(r, $)), xr = at.frame), at.frame >= Ui) {
1128
+ Ui += ut.autoSleep || 120;
1129
+ var n = $._first;
1080
1130
  if ((!n || !n._ts) && ut.autoSleep && at._listeners.length < 2) {
1081
1131
  for (; n && !n._ts; )
1082
1132
  n = n._next;
@@ -1084,47 +1134,47 @@ var J = /* @__PURE__ */ function(o) {
1084
1134
  }
1085
1135
  }
1086
1136
  }, t;
1087
- }(ke);
1088
- ht(J.prototype, {
1137
+ }(Se);
1138
+ ct(Z.prototype, {
1089
1139
  _lock: 0,
1090
1140
  _hasPause: 0,
1091
1141
  _forcing: 0
1092
1142
  });
1093
- var Jn = function(t, e, i, r, n, s, a) {
1094
- var l = new it(this._pt, t, e, 0, 1, jr, null, n), u = 0, f = 0, h, d, _, m, c, p, y, v;
1095
- for (l.b = i, l.e = r, i += "", r += "", (y = ~r.indexOf("random(")) && (r = we(r)), s && (v = [i, r], s(v, t, e), i = v[0], r = v[1]), d = i.match(Ke) || []; h = Ke.exec(r); )
1096
- m = h[0], c = r.substring(u, h.index), _ ? _ = (_ + 1) % 5 : c.substr(-5) === "rgba(" && (_ = 1), m !== d[f++] && (p = parseFloat(d[f - 1]) || 0, l._pt = {
1143
+ var ns = function(t, e, i, r, n, s, a) {
1144
+ var l = new it(this._pt, t, e, 0, 1, Kr, null, n), u = 0, f = 0, h, _, d, p, c, g, y, v;
1145
+ for (l.b = i, l.e = r, i += "", r += "", (y = ~r.indexOf("random(")) && (r = Te(r)), s && (v = [i, r], s(v, t, e), i = v[0], r = v[1]), _ = i.match(Ke) || []; h = Ke.exec(r); )
1146
+ p = h[0], c = r.substring(u, h.index), d ? d = (d + 1) % 5 : c.substr(-5) === "rgba(" && (d = 1), p !== _[f++] && (g = parseFloat(_[f - 1]) || 0, l._pt = {
1097
1147
  _next: l._pt,
1098
1148
  p: c || f === 1 ? c : ",",
1099
1149
  //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.
1100
- s: p,
1101
- c: m.charAt(1) === "=" ? te(p, m) - p : parseFloat(m) - p,
1102
- m: _ && _ < 4 ? Math.round : 0
1150
+ s: g,
1151
+ c: p.charAt(1) === "=" ? re(g, p) - g : parseFloat(p) - g,
1152
+ m: d && d < 4 ? Math.round : 0
1103
1153
  }, u = Ke.lastIndex);
1104
- return l.c = u < r.length ? r.substring(u, r.length) : "", l.fp = a, (cr.test(r) || y) && (l.e = 0), this._pt = l, l;
1154
+ return l.c = u < r.length ? r.substring(u, r.length) : "", l.fp = a, (mr.test(r) || y) && (l.e = 0), this._pt = l, l;
1105
1155
  }, Pi = function(t, e, i, r, n, s, a, l, u, f) {
1106
1156
  V(r) && (r = r(n || 0, t, s));
1107
- var h = t[e], d = i !== "get" ? i : V(h) ? u ? t[e.indexOf("set") || !V(t["get" + e.substr(3)]) ? e : "get" + e.substr(3)](u) : t[e]() : h, _ = V(h) ? u ? ns : qr : Ci, m;
1108
- if (G(r) && (~r.indexOf("random(") && (r = we(r)), r.charAt(1) === "=" && (m = te(d, r) + (Q(d) || 0), (m || m === 0) && (r = m))), !f || d !== r || hi)
1109
- return !isNaN(d * r) && r !== "" ? (m = new it(this._pt, t, e, +d || 0, r - (d || 0), typeof h == "boolean" ? as : Xr, 0, _), u && (m.fp = u), a && m.modifier(a, this, t), this._pt = m) : (!h && !(e in t) && bi(e, r), Jn.call(this, t, e, d, r, _, l || ut.stringFilter, u));
1110
- }, ts = function(t, e, i, r, n) {
1111
- if (V(t) && (t = ve(t, n, e, i, r)), !wt(t) || t.style && t.nodeType || Z(t) || fr(t))
1112
- return G(t) ? ve(t, n, e, i, r) : t;
1157
+ var h = t[e], _ = i !== "get" ? i : V(h) ? u ? t[e.indexOf("set") || !V(t["get" + e.substr(3)]) ? e : "get" + e.substr(3)](u) : t[e]() : h, d = V(h) ? u ? us : Gr : Mi, p;
1158
+ if (G(r) && (~r.indexOf("random(") && (r = Te(r)), r.charAt(1) === "=" && (p = re(_, r) + (J(_) || 0), (p || p === 0) && (r = p))), !f || _ !== r || hi)
1159
+ return !isNaN(_ * r) && r !== "" ? (p = new it(this._pt, t, e, +_ || 0, r - (_ || 0), typeof h == "boolean" ? cs : Hr, 0, d), u && (p.fp = u), a && p.modifier(a, this, t), this._pt = p) : (!h && !(e in t) && wi(e, r), ns.call(this, t, e, _, r, d, l || ut.stringFilter, u));
1160
+ }, ss = function(t, e, i, r, n) {
1161
+ if (V(t) && (t = xe(t, n, e, i, r)), !wt(t) || t.style && t.nodeType || Q(t) || _r(t))
1162
+ return G(t) ? xe(t, n, e, i, r) : t;
1113
1163
  var s = {}, a;
1114
1164
  for (a in t)
1115
- s[a] = ve(t[a], n, e, i, r);
1165
+ s[a] = xe(t[a], n, e, i, r);
1116
1166
  return s;
1117
- }, Vr = function(t, e, i, r, n, s) {
1167
+ }, Xr = function(t, e, i, r, n, s) {
1118
1168
  var a, l, u, f;
1119
- if (st[t] && (a = new st[t]()).init(n, a.rawVars ? e[t] : ts(e[t], r, n, s, i), i, r, s) !== !1 && (i._pt = l = new it(i._pt, n, t, 0, 1, a.render, a, 0, a.priority), i !== Jt))
1169
+ if (st[t] && (a = new st[t]()).init(n, a.rawVars ? e[t] : ss(e[t], r, n, s, i), i, r, s) !== !1 && (i._pt = l = new it(i._pt, n, t, 0, 1, a.render, a, 0, a.priority), i !== ee))
1120
1170
  for (u = i._ptLookup[i._targets.indexOf(n)], f = a._props.length; f--; )
1121
1171
  u[a._props[f]] = l;
1122
1172
  return a;
1123
- }, Mt, hi, Oi = function o(t, e, i) {
1124
- var r = t.vars, n = r.ease, s = r.startAt, a = r.immediateRender, l = r.lazy, u = r.onUpdate, f = r.runBackwards, h = r.yoyoEase, d = r.keyframes, _ = r.autoRevert, m = t._dur, c = t._startAt, p = t._targets, y = t.parent, v = y && y.data === "nested" ? y.vars.targets : p, w = t._overwrite === "auto" && !gi, x = t.timeline, g, T, k, S, b, O, M, D, R, K, j, q, W;
1125
- if (x && (!d || !n) && (n = "none"), t._ease = jt(n, re.ease), t._yEase = h ? Lr(jt(h === !0 ? n : h, re.ease)) : 0, h && t._yoyo && !t._repeat && (h = t._yEase, t._yEase = t._ease, t._ease = h), t._from = !x && !!r.runBackwards, !x || d && !r.stagger) {
1126
- if (D = p[0] ? qt(p[0]).harness : 0, q = D && r[D.prop], g = Ne(r, wi), c && (c._zTime < 0 && c.progress(1), e < 0 && f && a && !_ ? c.render(-1, !0) : c.revert(f && m ? Ee : Cn), c._lazy = 0), s) {
1127
- if (Rt(t._startAt = X.set(p, ht({
1173
+ }, Mt, hi, Ci = function o(t, e, i) {
1174
+ var r = t.vars, n = r.ease, s = r.startAt, a = r.immediateRender, l = r.lazy, u = r.onUpdate, f = r.runBackwards, h = r.yoyoEase, _ = r.keyframes, d = r.autoRevert, p = t._dur, c = t._startAt, g = t._targets, y = t.parent, v = y && y.data === "nested" ? y.vars.targets : g, w = t._overwrite === "auto" && !yi, x = t.timeline, m, T, k, S, b, P, M, D, R, H, j, q, W;
1175
+ if (x && (!_ || !n) && (n = "none"), t._ease = Wt(n, ae.ease), t._yEase = h ? Vr(Wt(h === !0 ? n : h, ae.ease)) : 0, h && t._yoyo && !t._repeat && (h = t._yEase, t._yEase = t._ease, t._ease = h), t._from = !x && !!r.runBackwards, !x || _ && !r.stagger) {
1176
+ if (D = g[0] ? Xt(g[0]).harness : 0, q = D && r[D.prop], m = Ne(r, Ti), c && (c._zTime < 0 && c.progress(1), e < 0 && f && a && !d ? c.render(-1, !0) : c.revert(f && p ? Re : En), c._lazy = 0), s) {
1177
+ if (Rt(t._startAt = X.set(g, ct({
1128
1178
  data: "isStart",
1129
1179
  overwrite: !1,
1130
1180
  parent: y,
@@ -1136,12 +1186,12 @@ var Jn = function(t, e, i, r, n, s, a) {
1136
1186
  return ot(t, "onUpdate");
1137
1187
  },
1138
1188
  stagger: 0
1139
- }, s))), t._startAt._dp = 0, t._startAt._sat = t, e < 0 && (H || !a && !_) && t._startAt.revert(Ee), a && m && e <= 0 && i <= 0) {
1189
+ }, s))), t._startAt._dp = 0, t._startAt._sat = t, e < 0 && (K || !a && !d) && t._startAt.revert(Re), a && p && e <= 0 && i <= 0) {
1140
1190
  e && (t._zTime = e);
1141
1191
  return;
1142
1192
  }
1143
- } else if (f && m && !c) {
1144
- if (e && (a = !1), k = ht({
1193
+ } else if (f && p && !c) {
1194
+ if (e && (a = !1), k = ct({
1145
1195
  overwrite: !1,
1146
1196
  data: "isFromStart",
1147
1197
  //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.
@@ -1151,48 +1201,48 @@ var Jn = function(t, e, i, r, n, s, a) {
1151
1201
  stagger: 0,
1152
1202
  parent: y
1153
1203
  //ensures that nested tweens that had a stagger are handled properly, like gsap.from(".class", {y: gsap.utils.wrap([-100,100]), stagger: 0.5})
1154
- }, g), q && (k[D.prop] = q), Rt(t._startAt = X.set(p, k)), t._startAt._dp = 0, t._startAt._sat = t, e < 0 && (H ? t._startAt.revert(Ee) : t._startAt.render(-1, !0)), t._zTime = e, !a)
1204
+ }, m), q && (k[D.prop] = q), Rt(t._startAt = X.set(g, k)), t._startAt._dp = 0, t._startAt._sat = t, e < 0 && (K ? t._startAt.revert(Re) : t._startAt.render(-1, !0)), t._zTime = e, !a)
1155
1205
  o(t._startAt, E, E);
1156
1206
  else if (!e)
1157
1207
  return;
1158
1208
  }
1159
- for (t._pt = t._ptCache = 0, l = m && tt(l) || l && !m, T = 0; T < p.length; T++) {
1160
- if (b = p[T], M = b._gsap || ki(p)[T]._gsap, t._ptLookup[T] = K = {}, si[M.id] && At.length && Le(), j = v === p ? T : v.indexOf(b), D && (R = new D()).init(b, q || g, t, j, v) !== !1 && (t._pt = S = new it(t._pt, b, R.name, 0, 1, R.render, R, 0, R.priority), R._props.forEach(function(pt) {
1161
- K[pt] = S;
1162
- }), R.priority && (O = 1)), !D || q)
1163
- for (k in g)
1164
- st[k] && (R = Vr(k, g, t, j, b, v)) ? R.priority && (O = 1) : K[k] = S = Pi.call(t, b, k, "get", g[k], j, v, 0, r.stringFilter);
1165
- t._op && t._op[T] && t.kill(b, t._op[T]), w && t._pt && (Mt = t, N.killTweensOf(b, K, t.globalTime(e)), W = !t.parent, Mt = 0), t._pt && l && (si[M.id] = 1);
1209
+ for (t._pt = t._ptCache = 0, l = p && tt(l) || l && !p, T = 0; T < g.length; T++) {
1210
+ if (b = g[T], M = b._gsap || Si(g)[T]._gsap, t._ptLookup[T] = H = {}, ai[M.id] && zt.length && $e(), j = v === g ? T : v.indexOf(b), D && (R = new D()).init(b, q || m, t, j, v) !== !1 && (t._pt = S = new it(t._pt, b, R.name, 0, 1, R.render, R, 0, R.priority), R._props.forEach(function(mt) {
1211
+ H[mt] = S;
1212
+ }), R.priority && (P = 1)), !D || q)
1213
+ for (k in m)
1214
+ st[k] && (R = Xr(k, m, t, j, b, v)) ? R.priority && (P = 1) : H[k] = S = Pi.call(t, b, k, "get", m[k], j, v, 0, r.stringFilter);
1215
+ t._op && t._op[T] && t.kill(b, t._op[T]), w && t._pt && (Mt = t, $.killTweensOf(b, H, t.globalTime(e)), W = !t.parent, Mt = 0), t._pt && l && (ai[M.id] = 1);
1166
1216
  }
1167
- O && Wr(t), t._onInit && t._onInit(t);
1217
+ P && Jr(t), t._onInit && t._onInit(t);
1168
1218
  }
1169
- t._onUpdate = u, t._initted = (!t._op || t._pt) && !W, d && e <= 0 && x.render(dt, !0, !0);
1170
- }, es = function(t, e, i, r, n, s, a, l) {
1171
- var u = (t._pt && t._ptCache || (t._ptCache = {}))[e], f, h, d, _;
1219
+ t._onUpdate = u, t._initted = (!t._op || t._pt) && !W, _ && e <= 0 && x.render(_t, !0, !0);
1220
+ }, as = function(t, e, i, r, n, s, a, l) {
1221
+ var u = (t._pt && t._ptCache || (t._ptCache = {}))[e], f, h, _, d;
1172
1222
  if (!u)
1173
- for (u = t._ptCache[e] = [], d = t._ptLookup, _ = t._targets.length; _--; ) {
1174
- if (f = d[_][e], f && f.d && f.d._pt)
1223
+ for (u = t._ptCache[e] = [], _ = t._ptLookup, d = t._targets.length; d--; ) {
1224
+ if (f = _[d][e], f && f.d && f.d._pt)
1175
1225
  for (f = f.d._pt; f && f.p !== e && f.fp !== e; )
1176
1226
  f = f._next;
1177
1227
  if (!f)
1178
- return hi = 1, t.vars[e] = "+=0", Oi(t, a), hi = 0, l ? xe(e + " not eligible for reset") : 1;
1228
+ return hi = 1, t.vars[e] = "+=0", Ci(t, a), hi = 0, l ? be(e + " not eligible for reset") : 1;
1179
1229
  u.push(f);
1180
1230
  }
1181
- for (_ = u.length; _--; )
1182
- h = u[_], f = h._pt || h, f.s = (r || r === 0) && !n ? r : f.s + (r || 0) + s * f.c, f.c = i - f.s, h.e && (h.e = Y(i) + Q(h.e)), h.b && (h.b = f.s + Q(h.b));
1183
- }, is = function(t, e) {
1184
- var i = t[0] ? qt(t[0]).harness : 0, r = i && i.aliases, n, s, a, l;
1231
+ for (d = u.length; d--; )
1232
+ h = u[d], f = h._pt || h, f.s = (r || r === 0) && !n ? r : f.s + (r || 0) + s * f.c, f.c = i - f.s, h.e && (h.e = Y(i) + J(h.e)), h.b && (h.b = f.s + J(h.b));
1233
+ }, os = function(t, e) {
1234
+ var i = t[0] ? Xt(t[0]).harness : 0, r = i && i.aliases, n, s, a, l;
1185
1235
  if (!r)
1186
1236
  return e;
1187
- n = ne({}, e);
1237
+ n = oe({}, e);
1188
1238
  for (s in r)
1189
1239
  if (s in n)
1190
1240
  for (l = r[s].split(","), a = l.length; a--; )
1191
1241
  n[l[a]] = n[s];
1192
1242
  return n;
1193
- }, rs = function(t, e, i, r) {
1243
+ }, ls = function(t, e, i, r) {
1194
1244
  var n = e.ease || r || "power1.inOut", s, a;
1195
- if (Z(e))
1245
+ if (Q(e))
1196
1246
  a = i[t] || (i[t] = []), e.forEach(function(l, u) {
1197
1247
  return a.push({
1198
1248
  t: u / (e.length - 1) * 100,
@@ -1207,51 +1257,51 @@ var Jn = function(t, e, i, r, n, s, a) {
1207
1257
  v: e[s],
1208
1258
  e: n
1209
1259
  });
1210
- }, ve = function(t, e, i, r, n) {
1211
- return V(t) ? t.call(e, i, r, n) : G(t) && ~t.indexOf("random(") ? we(t) : t;
1212
- }, Ur = Ti + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", Yr = {};
1213
- et(Ur + ",id,stagger,delay,duration,paused,scrollTrigger", function(o) {
1214
- return Yr[o] = 1;
1260
+ }, xe = function(t, e, i, r, n) {
1261
+ return V(t) ? t.call(e, i, r, n) : G(t) && ~t.indexOf("random(") ? Te(t) : t;
1262
+ }, jr = ki + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", Wr = {};
1263
+ et(jr + ",id,stagger,delay,duration,paused,scrollTrigger", function(o) {
1264
+ return Wr[o] = 1;
1215
1265
  });
1216
1266
  var X = /* @__PURE__ */ function(o) {
1217
- lr(t, o);
1267
+ hr(t, o);
1218
1268
  function t(i, r, n, s) {
1219
1269
  var a;
1220
- typeof r == "number" && (n.duration = r, r = n, n = null), a = o.call(this, s ? r : ge(r)) || this;
1221
- var l = a.vars, u = l.duration, f = l.delay, h = l.immediateRender, d = l.stagger, _ = l.overwrite, m = l.keyframes, c = l.defaults, p = l.scrollTrigger, y = l.yoyoEase, v = r.parent || N, w = (Z(i) || fr(i) ? Ot(i[0]) : "length" in r) ? [i] : _t(i), x, g, T, k, S, b, O, M;
1222
- if (a._targets = w.length ? ki(w) : xe("GSAP target " + i + " not found. https://gsap.com", !ut.nullTargetWarn) || [], a._ptLookup = [], a._overwrite = _, m || d || Ae(u) || Ae(f)) {
1223
- if (r = a.vars, x = a.timeline = new J({
1270
+ typeof r == "number" && (n.duration = r, r = n, n = null), a = o.call(this, s ? r : ye(r)) || this;
1271
+ var l = a.vars, u = l.duration, f = l.delay, h = l.immediateRender, _ = l.stagger, d = l.overwrite, p = l.keyframes, c = l.defaults, g = l.scrollTrigger, y = l.yoyoEase, v = r.parent || $, w = (Q(i) || _r(i) ? Pt(i[0]) : "length" in r) ? [i] : pt(i), x, m, T, k, S, b, P, M;
1272
+ if (a._targets = w.length ? Si(w) : be("GSAP target " + i + " not found. https://gsap.com", !ut.nullTargetWarn) || [], a._ptLookup = [], a._overwrite = d, p || _ || Ee(u) || Ee(f)) {
1273
+ if (r = a.vars, x = a.timeline = new Z({
1224
1274
  data: "nested",
1225
1275
  defaults: c || {},
1226
1276
  targets: v && v.data === "nested" ? v.vars.targets : w
1227
- }), x.kill(), x.parent = x._dp = St(a), x._start = 0, d || Ae(u) || Ae(f)) {
1228
- if (k = w.length, O = d && Or(d), wt(d))
1229
- for (S in d)
1230
- ~Ur.indexOf(S) && (M || (M = {}), M[S] = d[S]);
1231
- for (g = 0; g < k; g++)
1232
- T = Ne(r, Yr), T.stagger = 0, y && (T.yoyoEase = y), M && ne(T, M), b = w[g], T.duration = +ve(u, St(a), g, b, w), T.delay = (+ve(f, St(a), g, b, w) || 0) - a._delay, !d && k === 1 && T.delay && (a._delay = f = T.delay, a._start += f, T.delay = 0), x.to(b, T, O ? O(g, b, w) : 0), x._ease = C.none;
1277
+ }), x.kill(), x.parent = x._dp = St(a), x._start = 0, _ || Ee(u) || Ee(f)) {
1278
+ if (k = w.length, P = _ && Ar(_), wt(_))
1279
+ for (S in _)
1280
+ ~jr.indexOf(S) && (M || (M = {}), M[S] = _[S]);
1281
+ for (m = 0; m < k; m++)
1282
+ T = Ne(r, Wr), T.stagger = 0, y && (T.yoyoEase = y), M && oe(T, M), b = w[m], T.duration = +xe(u, St(a), m, b, w), T.delay = (+xe(f, St(a), m, b, w) || 0) - a._delay, !_ && k === 1 && T.delay && (a._delay = f = T.delay, a._start += f, T.delay = 0), x.to(b, T, P ? P(m, b, w) : 0), x._ease = C.none;
1233
1283
  x.duration() ? u = f = 0 : a.timeline = 0;
1234
- } else if (m) {
1235
- ge(ht(x.vars.defaults, {
1284
+ } else if (p) {
1285
+ ye(ct(x.vars.defaults, {
1236
1286
  ease: "none"
1237
- })), x._ease = jt(m.ease || r.ease || "none");
1238
- var D = 0, R, K, j;
1239
- if (Z(m))
1240
- m.forEach(function(q) {
1287
+ })), x._ease = Wt(p.ease || r.ease || "none");
1288
+ var D = 0, R, H, j;
1289
+ if (Q(p))
1290
+ p.forEach(function(q) {
1241
1291
  return x.to(w, q, ">");
1242
1292
  }), x.duration();
1243
1293
  else {
1244
1294
  T = {};
1245
- for (S in m)
1246
- S === "ease" || S === "easeEach" || rs(S, m[S], T, m.easeEach);
1295
+ for (S in p)
1296
+ S === "ease" || S === "easeEach" || ls(S, p[S], T, p.easeEach);
1247
1297
  for (S in T)
1248
1298
  for (R = T[S].sort(function(q, W) {
1249
1299
  return q.t - W.t;
1250
- }), D = 0, g = 0; g < R.length; g++)
1251
- K = R[g], j = {
1252
- ease: K.e,
1253
- duration: (K.t - (g ? R[g - 1].t : 0)) / 100 * u
1254
- }, j[S] = K.v, x.to(w, j, D), D += j.duration;
1300
+ }), D = 0, m = 0; m < R.length; m++)
1301
+ H = R[m], j = {
1302
+ ease: H.e,
1303
+ duration: (H.t - (m ? R[m - 1].t : 0)) / 100 * u
1304
+ }, j[S] = H.v, x.to(w, j, D), D += j.duration;
1255
1305
  x.duration() < u && x.to({}, {
1256
1306
  duration: u - x.duration()
1257
1307
  });
@@ -1260,34 +1310,34 @@ var X = /* @__PURE__ */ function(o) {
1260
1310
  u || a.duration(u = x.duration());
1261
1311
  } else
1262
1312
  a.timeline = 0;
1263
- return _ === !0 && !gi && (Mt = St(a), N.killTweensOf(w), Mt = 0), xt(v, St(a), n), r.reversed && a.reverse(), r.paused && a.paused(!0), (h || !u && !m && a._start === L(v._time) && tt(h) && Rn(St(a)) && v.data !== "nested") && (a._tTime = -E, a.render(Math.max(0, -f) || 0)), p && Tr(St(a), p), a;
1313
+ return d === !0 && !yi && (Mt = St(a), $.killTweensOf(w), Mt = 0), xt(v, St(a), n), r.reversed && a.reverse(), r.paused && a.paused(!0), (h || !u && !p && a._start === L(v._time) && tt(h) && Nn(St(a)) && v.data !== "nested") && (a._tTime = -E, a.render(Math.max(0, -f) || 0)), g && Pr(St(a), g), a;
1264
1314
  }
1265
1315
  var e = t.prototype;
1266
1316
  return e.render = function(r, n, s) {
1267
- var a = this._time, l = this._tDur, u = this._dur, f = r < 0, h = r > l - E && !f ? l : r < E ? 0 : r, d, _, m, c, p, y, v, w, x;
1317
+ var a = this._time, l = this._tDur, u = this._dur, f = r < 0, h = r > l - E && !f ? l : r < E ? 0 : r, _, d, p, c, g, y, v, w, x;
1268
1318
  if (!u)
1269
- Fn(this, r, n, s);
1319
+ Vn(this, r, n, s);
1270
1320
  else if (h !== this._tTime || !r || s || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== f || this._lazy) {
1271
- if (d = h, w = this.timeline, this._repeat) {
1321
+ if (_ = h, w = this.timeline, this._repeat) {
1272
1322
  if (c = u + this._rDelay, this._repeat < -1 && f)
1273
1323
  return this.totalTime(c * 100 + r, n, s);
1274
- if (d = L(h % c), h === l ? (m = this._repeat, d = u) : (p = L(h / c), m = ~~p, m && m === p ? (d = u, m--) : d > u && (d = u)), y = this._yoyo && m & 1, y && (x = this._yEase, d = u - d), p = se(this._tTime, c), d === a && !s && this._initted && m === p)
1324
+ if (_ = L(h % c), h === l ? (p = this._repeat, _ = u) : (g = L(h / c), p = ~~g, p && p === g ? (_ = u, p--) : _ > u && (_ = u)), y = this._yoyo && p & 1, y && (x = this._yEase, _ = u - _), g = le(this._tTime, c), _ === a && !s && this._initted && p === g)
1275
1325
  return this._tTime = h, this;
1276
- m !== p && (w && this._yEase && Nr(w, y), this.vars.repeatRefresh && !y && !this._lock && d !== c && this._initted && (this._lock = s = 1, this.render(L(c * m), !0).invalidate()._lock = 0));
1326
+ p !== g && (w && this._yEase && Ur(w, y), this.vars.repeatRefresh && !y && !this._lock && _ !== c && this._initted && (this._lock = s = 1, this.render(L(c * p), !0).invalidate()._lock = 0));
1277
1327
  }
1278
1328
  if (!this._initted) {
1279
- if (kr(this, f ? r : d, s, n, h))
1329
+ if (Cr(this, f ? r : _, s, n, h))
1280
1330
  return this._tTime = 0, this;
1281
- if (a !== this._time && !(s && this.vars.repeatRefresh && m !== p))
1331
+ if (a !== this._time && !(s && this.vars.repeatRefresh && p !== g))
1282
1332
  return this;
1283
1333
  if (u !== this._dur)
1284
1334
  return this.render(r, n, s);
1285
1335
  }
1286
- if (this._tTime = h, this._time = d, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = v = (x || this._ease)(d / u), this._from && (this.ratio = v = 1 - v), !a && h && !n && !p && (ot(this, "onStart"), this._tTime !== h))
1336
+ if (this._tTime = h, this._time = _, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = v = (x || this._ease)(_ / u), this._from && (this.ratio = v = 1 - v), !a && h && !n && !g && (ot(this, "onStart"), this._tTime !== h))
1287
1337
  return this;
1288
- for (_ = this._pt; _; )
1289
- _.r(v, _.d), _ = _._next;
1290
- w && w.render(r < 0 ? r : w._dur * w._ease(d / this._dur), n, s) || this._startAt && (this._zTime = r), this._onUpdate && !n && (f && ai(this, r, n, s), ot(this, "onUpdate")), this._repeat && m !== p && this.vars.onRepeat && !n && this.parent && ot(this, "onRepeat"), (h === this._tDur || !h) && this._tTime === h && (f && !this._onUpdate && ai(this, r, !0, !0), (r || !u) && (h === this._tDur && this._ts > 0 || !h && this._ts < 0) && Rt(this, 1), !n && !(f && !a) && (h || a || y) && (ot(this, h === l ? "onComplete" : "onReverseComplete", !0), this._prom && !(h < l && this.timeScale() > 0) && this._prom()));
1338
+ for (d = this._pt; d; )
1339
+ d.r(v, d.d), d = d._next;
1340
+ w && w.render(r < 0 ? r : w._dur * w._ease(_ / this._dur), n, s) || this._startAt && (this._zTime = r), this._onUpdate && !n && (f && oi(this, r, n, s), ot(this, "onUpdate")), this._repeat && p !== g && this.vars.onRepeat && !n && this.parent && ot(this, "onRepeat"), (h === this._tDur || !h) && this._tTime === h && (f && !this._onUpdate && oi(this, r, !0, !0), (r || !u) && (h === this._tDur && this._ts > 0 || !h && this._ts < 0) && Rt(this, 1), !n && !(f && !a) && (h || a || y) && (ot(this, h === l ? "onComplete" : "onReverseComplete", !0), this._prom && !(h < l && this.timeScale() > 0) && this._prom()));
1291
1341
  }
1292
1342
  return this;
1293
1343
  }, e.targets = function() {
@@ -1295,32 +1345,32 @@ var X = /* @__PURE__ */ function(o) {
1295
1345
  }, e.invalidate = function(r) {
1296
1346
  return (!r || !this.vars.runBackwards) && (this._startAt = 0), this._pt = this._op = this._onUpdate = this._lazy = this.ratio = 0, this._ptLookup = [], this.timeline && this.timeline.invalidate(r), o.prototype.invalidate.call(this, r);
1297
1347
  }, e.resetTo = function(r, n, s, a, l) {
1298
- Te || at.wake(), this._ts || this.play();
1348
+ ke || at.wake(), this._ts || this.play();
1299
1349
  var u = Math.min(this._dur, (this._dp._time - this._start) * this._ts), f;
1300
- return this._initted || Oi(this, u), f = this._ease(u / this._dur), es(this, r, n, s, a, f, u, l) ? this.resetTo(r, n, s, a, 1) : (Ge(this, 0), this.parent || br(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
1350
+ return this._initted || Ci(this, u), f = this._ease(u / this._dur), as(this, r, n, s, a, f, u, l) ? this.resetTo(r, n, s, a, 1) : (He(this, 0), this.parent || Sr(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
1301
1351
  }, e.kill = function(r, n) {
1302
1352
  if (n === void 0 && (n = "all"), !r && (!n || n === "all"))
1303
- return this._lazy = this._pt = 0, this.parent ? pe(this) : this.scrollTrigger && this.scrollTrigger.kill(!!H), this;
1353
+ return this._lazy = this._pt = 0, this.parent ? me(this) : this.scrollTrigger && this.scrollTrigger.kill(!!K), this;
1304
1354
  if (this.timeline) {
1305
1355
  var s = this.timeline.totalDuration();
1306
- return this.timeline.killTweensOf(r, n, Mt && Mt.vars.overwrite !== !0)._first || pe(this), this.parent && s !== this.timeline.totalDuration() && ae(this, this._dur * this.timeline._tDur / s, 0, 1), this;
1356
+ return this.timeline.killTweensOf(r, n, Mt && Mt.vars.overwrite !== !0)._first || me(this), this.parent && s !== this.timeline.totalDuration() && ue(this, this._dur * this.timeline._tDur / s, 0, 1), this;
1307
1357
  }
1308
- var a = this._targets, l = r ? _t(r) : a, u = this._ptLookup, f = this._pt, h, d, _, m, c, p, y;
1309
- if ((!n || n === "all") && An(a, l))
1310
- return n === "all" && (this._pt = 0), pe(this);
1358
+ var a = this._targets, l = r ? pt(r) : a, u = this._ptLookup, f = this._pt, h, _, d, p, c, g, y;
1359
+ if ((!n || n === "all") && Ln(a, l))
1360
+ return n === "all" && (this._pt = 0), me(this);
1311
1361
  for (h = this._op = this._op || [], n !== "all" && (G(n) && (c = {}, et(n, function(v) {
1312
1362
  return c[v] = 1;
1313
- }), n = c), n = is(a, n)), y = a.length; y--; )
1363
+ }), n = c), n = os(a, n)), y = a.length; y--; )
1314
1364
  if (~l.indexOf(a[y])) {
1315
- d = u[y], n === "all" ? (h[y] = n, m = d, _ = {}) : (_ = h[y] = h[y] || {}, m = n);
1316
- for (c in m)
1317
- p = d && d[c], p && ((!("kill" in p.d) || p.d.kill(c) === !0) && je(this, p, "_pt"), delete d[c]), _ !== "all" && (_[c] = 1);
1365
+ _ = u[y], n === "all" ? (h[y] = n, p = _, d = {}) : (d = h[y] = h[y] || {}, p = n);
1366
+ for (c in p)
1367
+ g = _ && _[c], g && ((!("kill" in g.d) || g.d.kill(c) === !0) && We(this, g, "_pt"), delete _[c]), d !== "all" && (d[c] = 1);
1318
1368
  }
1319
- return this._initted && !this._pt && f && pe(this), this;
1369
+ return this._initted && !this._pt && f && me(this), this;
1320
1370
  }, t.to = function(r, n) {
1321
1371
  return new t(r, n, arguments[2]);
1322
1372
  }, t.from = function(r, n) {
1323
- return ye(1, arguments);
1373
+ return ve(1, arguments);
1324
1374
  }, t.delayedCall = function(r, n, s, a) {
1325
1375
  return new t(n, 0, {
1326
1376
  immediateRender: !1,
@@ -1334,14 +1384,14 @@ var X = /* @__PURE__ */ function(o) {
1334
1384
  callbackScope: a
1335
1385
  });
1336
1386
  }, t.fromTo = function(r, n, s) {
1337
- return ye(2, arguments);
1387
+ return ve(2, arguments);
1338
1388
  }, t.set = function(r, n) {
1339
1389
  return n.duration = 0, n.repeatDelay || (n.repeat = 0), new t(r, n);
1340
1390
  }, t.killTweensOf = function(r, n, s) {
1341
- return N.killTweensOf(r, n, s);
1391
+ return $.killTweensOf(r, n, s);
1342
1392
  }, t;
1343
- }(ke);
1344
- ht(X.prototype, {
1393
+ }(Se);
1394
+ ct(X.prototype, {
1345
1395
  _targets: [],
1346
1396
  _lazy: 0,
1347
1397
  _startAt: 0,
@@ -1350,25 +1400,25 @@ ht(X.prototype, {
1350
1400
  });
1351
1401
  et("staggerTo,staggerFrom,staggerFromTo", function(o) {
1352
1402
  X[o] = function() {
1353
- var t = new J(), e = li.call(arguments, 0);
1403
+ var t = new Z(), e = ui.call(arguments, 0);
1354
1404
  return e.splice(o === "staggerFromTo" ? 5 : 4, 0, 0), t[o].apply(t, e);
1355
1405
  };
1356
1406
  });
1357
- var Ci = function(t, e, i) {
1407
+ var Mi = function(t, e, i) {
1358
1408
  return t[e] = i;
1359
- }, qr = function(t, e, i) {
1409
+ }, Gr = function(t, e, i) {
1360
1410
  return t[e](i);
1361
- }, ns = function(t, e, i, r) {
1411
+ }, us = function(t, e, i, r) {
1362
1412
  return t[e](r.fp, i);
1363
- }, ss = function(t, e, i) {
1413
+ }, fs = function(t, e, i) {
1364
1414
  return t.setAttribute(e, i);
1365
- }, Mi = function(t, e) {
1366
- return V(t[e]) ? qr : yi(t[e]) && t.setAttribute ? ss : Ci;
1367
- }, Xr = function(t, e) {
1415
+ }, Di = function(t, e) {
1416
+ return V(t[e]) ? Gr : vi(t[e]) && t.setAttribute ? fs : Mi;
1417
+ }, Hr = function(t, e) {
1368
1418
  return e.set(e.t, e.p, Math.round((e.s + e.c * t) * 1e6) / 1e6, e);
1369
- }, as = function(t, e) {
1419
+ }, cs = function(t, e) {
1370
1420
  return e.set(e.t, e.p, !!(e.s + e.c * t), e);
1371
- }, jr = function(t, e) {
1421
+ }, Kr = function(t, e) {
1372
1422
  var i = e._pt, r = "";
1373
1423
  if (!t && e.b)
1374
1424
  r = e.b;
@@ -1380,19 +1430,19 @@ var Ci = function(t, e, i) {
1380
1430
  r += e.c;
1381
1431
  }
1382
1432
  e.set(e.t, e.p, r, e);
1383
- }, Di = function(t, e) {
1433
+ }, Ai = function(t, e) {
1384
1434
  for (var i = e._pt; i; )
1385
1435
  i.r(t, i.d), i = i._next;
1386
- }, os = function(t, e, i, r) {
1436
+ }, hs = function(t, e, i, r) {
1387
1437
  for (var n = this._pt, s; n; )
1388
1438
  s = n._next, n.p === r && n.modifier(t, e, i), n = s;
1389
- }, ls = function(t) {
1439
+ }, ds = function(t) {
1390
1440
  for (var e = this._pt, i, r; e; )
1391
- r = e._next, e.p === t && !e.op || e.op === t ? je(this, e, "_pt") : e.dep || (i = 1), e = r;
1441
+ r = e._next, e.p === t && !e.op || e.op === t ? We(this, e, "_pt") : e.dep || (i = 1), e = r;
1392
1442
  return !i;
1393
- }, us = function(t, e, i, r) {
1443
+ }, _s = function(t, e, i, r) {
1394
1444
  r.mSet(t, e, r.m.call(r.tween, i, r.mt), r);
1395
- }, Wr = function(t) {
1445
+ }, Jr = function(t) {
1396
1446
  for (var e = t._pt, i, r, n, s; e; ) {
1397
1447
  for (i = e._next, r = n; r && r.pr > e.pr; )
1398
1448
  r = r._next;
@@ -1401,52 +1451,52 @@ var Ci = function(t, e, i) {
1401
1451
  t._pt = n;
1402
1452
  }, it = /* @__PURE__ */ function() {
1403
1453
  function o(e, i, r, n, s, a, l, u, f) {
1404
- this.t = i, this.s = n, this.c = s, this.p = r, this.r = a || Xr, this.d = l || this, this.set = u || Ci, this.pr = f || 0, this._next = e, e && (e._prev = this);
1454
+ this.t = i, this.s = n, this.c = s, this.p = r, this.r = a || Hr, this.d = l || this, this.set = u || Mi, this.pr = f || 0, this._next = e, e && (e._prev = this);
1405
1455
  }
1406
1456
  var t = o.prototype;
1407
1457
  return t.modifier = function(i, r, n) {
1408
- this.mSet = this.mSet || this.set, this.set = us, this.m = i, this.mt = n, this.tween = r;
1458
+ this.mSet = this.mSet || this.set, this.set = _s, this.m = i, this.mt = n, this.tween = r;
1409
1459
  }, o;
1410
1460
  }();
1411
- et(Ti + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function(o) {
1412
- return wi[o] = 1;
1461
+ et(ki + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function(o) {
1462
+ return Ti[o] = 1;
1413
1463
  });
1414
1464
  ft.TweenMax = ft.TweenLite = X;
1415
- ft.TimelineLite = ft.TimelineMax = J;
1416
- N = new J({
1465
+ ft.TimelineLite = ft.TimelineMax = Z;
1466
+ $ = new Z({
1417
1467
  sortChildren: !1,
1418
- defaults: re,
1468
+ defaults: ae,
1419
1469
  autoRemoveChildren: !0,
1420
1470
  id: "root",
1421
1471
  smoothChildTiming: !0
1422
1472
  });
1423
- ut.stringFilter = Fr;
1424
- var Wt = [], Ie = {}, fs = [], ji = 0, hs = 0, ti = function(t) {
1425
- return (Ie[t] || fs).map(function(e) {
1473
+ ut.stringFilter = Br;
1474
+ var Gt = [], Fe = {}, ps = [], Gi = 0, ms = 0, ei = function(t) {
1475
+ return (Fe[t] || ps).map(function(e) {
1426
1476
  return e();
1427
1477
  });
1428
- }, ci = function() {
1478
+ }, di = function() {
1429
1479
  var t = Date.now(), e = [];
1430
- t - ji > 2 && (ti("matchMediaInit"), Wt.forEach(function(i) {
1480
+ t - Gi > 2 && (ei("matchMediaInit"), Gt.forEach(function(i) {
1431
1481
  var r = i.queries, n = i.conditions, s, a, l, u;
1432
1482
  for (a in r)
1433
1483
  s = vt.matchMedia(r[a]).matches, s && (l = 1), s !== n[a] && (n[a] = s, u = 1);
1434
1484
  u && (i.revert(), l && e.push(i));
1435
- }), ti("matchMediaRevert"), e.forEach(function(i) {
1485
+ }), ei("matchMediaRevert"), e.forEach(function(i) {
1436
1486
  return i.onMatch(i, function(r) {
1437
1487
  return i.add(null, r);
1438
1488
  });
1439
- }), ji = t, ti("matchMedia"));
1440
- }, Gr = /* @__PURE__ */ function() {
1489
+ }), Gi = t, ei("matchMedia"));
1490
+ }, Qr = /* @__PURE__ */ function() {
1441
1491
  function o(e, i) {
1442
- this.selector = i && ui(i), this.data = [], this._r = [], this.isReverted = !1, this.id = hs++, e && this.add(e);
1492
+ this.selector = i && fi(i), this.data = [], this._r = [], this.isReverted = !1, this.id = ms++, e && this.add(e);
1443
1493
  }
1444
1494
  var t = o.prototype;
1445
1495
  return t.add = function(i, r, n) {
1446
1496
  V(i) && (n = r, r = i, i = V);
1447
1497
  var s = this, a = function() {
1448
1498
  var u = F, f = s.selector, h;
1449
- return u && u !== s && u.data.push(s), n && (s.selector = ui(n)), F = s, h = r.apply(s, arguments), V(h) && s._r.push(h), F = u, s.selector = f, s.isReverted = !1, h;
1499
+ return u && u !== s && u.data.push(s), n && (s.selector = fi(n)), F = s, h = r.apply(s, arguments), V(h) && s._r.push(h), F = u, s.selector = f, s.isReverted = !1, h;
1450
1500
  };
1451
1501
  return s.last = a, i === V ? a(s, function(l) {
1452
1502
  return s.add(null, l);
@@ -1478,19 +1528,19 @@ var Wt = [], Ie = {}, fs = [], ji = 0, hs = 0, ti = function(t) {
1478
1528
  }).forEach(function(f) {
1479
1529
  return f.t.revert(i);
1480
1530
  }), l = n.data.length; l--; )
1481
- u = n.data[l], u instanceof J ? u.data !== "nested" && (u.scrollTrigger && u.scrollTrigger.revert(), u.kill()) : !(u instanceof X) && u.revert && u.revert(i);
1531
+ u = n.data[l], u instanceof Z ? u.data !== "nested" && (u.scrollTrigger && u.scrollTrigger.revert(), u.kill()) : !(u instanceof X) && u.revert && u.revert(i);
1482
1532
  n._r.forEach(function(f) {
1483
1533
  return f(i, n);
1484
1534
  }), n.isReverted = !0;
1485
1535
  }() : this.data.forEach(function(a) {
1486
1536
  return a.kill && a.kill();
1487
1537
  }), this.clear(), r)
1488
- for (var s = Wt.length; s--; )
1489
- Wt[s].id === this.id && Wt.splice(s, 1);
1538
+ for (var s = Gt.length; s--; )
1539
+ Gt[s].id === this.id && Gt.splice(s, 1);
1490
1540
  }, t.revert = function(i) {
1491
1541
  this.kill(i || {});
1492
1542
  }, o;
1493
- }(), cs = /* @__PURE__ */ function() {
1543
+ }(), gs = /* @__PURE__ */ function() {
1494
1544
  function o(e) {
1495
1545
  this.contexts = [], this.scope = e, F && F.data.push(this);
1496
1546
  }
@@ -1499,10 +1549,10 @@ var Wt = [], Ie = {}, fs = [], ji = 0, hs = 0, ti = function(t) {
1499
1549
  wt(i) || (i = {
1500
1550
  matches: i
1501
1551
  });
1502
- var s = new Gr(0, n || this.scope), a = s.conditions = {}, l, u, f;
1552
+ var s = new Qr(0, n || this.scope), a = s.conditions = {}, l, u, f;
1503
1553
  F && !s.selector && (s.selector = F.selector), this.contexts.push(s), r = s.add("onMatch", r), s.queries = i;
1504
1554
  for (u in i)
1505
- u === "all" ? f = 1 : (l = vt.matchMedia(i[u]), l && (Wt.indexOf(s) < 0 && Wt.push(s), (a[u] = l.matches) && (f = 1), l.addListener ? l.addListener(ci) : l.addEventListener("change", ci)));
1555
+ u === "all" ? f = 1 : (l = vt.matchMedia(i[u]), l && (Gt.indexOf(s) < 0 && Gt.push(s), (a[u] = l.matches) && (f = 1), l.addListener ? l.addListener(di) : l.addEventListener("change", di)));
1506
1556
  return f && r(s, function(h) {
1507
1557
  return s.add(null, h);
1508
1558
  }), this;
@@ -1513,29 +1563,29 @@ var Wt = [], Ie = {}, fs = [], ji = 0, hs = 0, ti = function(t) {
1513
1563
  return r.kill(i, !0);
1514
1564
  });
1515
1565
  }, o;
1516
- }(), Be = {
1566
+ }(), Ve = {
1517
1567
  registerPlugin: function() {
1518
1568
  for (var t = arguments.length, e = new Array(t), i = 0; i < t; i++)
1519
1569
  e[i] = arguments[i];
1520
1570
  e.forEach(function(r) {
1521
- return Er(r);
1571
+ return Lr(r);
1522
1572
  });
1523
1573
  },
1524
1574
  timeline: function(t) {
1525
- return new J(t);
1575
+ return new Z(t);
1526
1576
  },
1527
1577
  getTweensOf: function(t, e) {
1528
- return N.getTweensOf(t, e);
1578
+ return $.getTweensOf(t, e);
1529
1579
  },
1530
1580
  getProperty: function(t, e, i, r) {
1531
- G(t) && (t = _t(t)[0]);
1532
- var n = qt(t || {}).get, s = i ? xr : vr;
1581
+ G(t) && (t = pt(t)[0]);
1582
+ var n = Xt(t || {}).get, s = i ? kr : Tr;
1533
1583
  return i === "native" && (i = ""), t && (e ? s((st[e] && st[e].get || n)(t, e, i, r)) : function(a, l, u) {
1534
1584
  return s((st[a] && st[a].get || n)(t, a, l, u));
1535
1585
  });
1536
1586
  },
1537
1587
  quickSetter: function(t, e, i) {
1538
- if (t = _t(t), t.length > 1) {
1588
+ if (t = pt(t), t.length > 1) {
1539
1589
  var r = t.map(function(f) {
1540
1590
  return nt.quickSetter(f, e, i);
1541
1591
  }), n = r.length;
@@ -1545,137 +1595,137 @@ var Wt = [], Ie = {}, fs = [], ji = 0, hs = 0, ti = function(t) {
1545
1595
  };
1546
1596
  }
1547
1597
  t = t[0] || {};
1548
- var s = st[e], a = qt(t), l = a.harness && (a.harness.aliases || {})[e] || e, u = s ? function(f) {
1598
+ var s = st[e], a = Xt(t), l = a.harness && (a.harness.aliases || {})[e] || e, u = s ? function(f) {
1549
1599
  var h = new s();
1550
- Jt._pt = 0, h.init(t, i ? f + i : f, Jt, 0, [t]), h.render(1, h), Jt._pt && Di(1, Jt);
1600
+ ee._pt = 0, h.init(t, i ? f + i : f, ee, 0, [t]), h.render(1, h), ee._pt && Ai(1, ee);
1551
1601
  } : a.set(t, l);
1552
1602
  return s ? u : function(f) {
1553
1603
  return u(t, l, i ? f + i : f, a, 1);
1554
1604
  };
1555
1605
  },
1556
1606
  quickTo: function(t, e, i) {
1557
- var r, n = nt.to(t, ht((r = {}, r[e] = "+=0.1", r.paused = !0, r.stagger = 0, r), i || {})), s = function(l, u, f) {
1607
+ var r, n = nt.to(t, ct((r = {}, r[e] = "+=0.1", r.paused = !0, r.stagger = 0, r), i || {})), s = function(l, u, f) {
1558
1608
  return n.resetTo(e, l, u, f);
1559
1609
  };
1560
1610
  return s.tween = n, s;
1561
1611
  },
1562
1612
  isTweening: function(t) {
1563
- return N.getTweensOf(t, !0).length > 0;
1613
+ return $.getTweensOf(t, !0).length > 0;
1564
1614
  },
1565
1615
  defaults: function(t) {
1566
- return t && t.ease && (t.ease = jt(t.ease, re.ease)), Vi(re, t || {});
1616
+ return t && t.ease && (t.ease = Wt(t.ease, ae.ease)), Yi(ae, t || {});
1567
1617
  },
1568
1618
  config: function(t) {
1569
- return Vi(ut, t || {});
1619
+ return Yi(ut, t || {});
1570
1620
  },
1571
1621
  registerEffect: function(t) {
1572
1622
  var e = t.name, i = t.effect, r = t.plugins, n = t.defaults, s = t.extendTimeline;
1573
1623
  (r || "").split(",").forEach(function(a) {
1574
- return a && !st[a] && !ft[a] && xe(e + " effect requires " + a + " plugin.");
1575
- }), He[e] = function(a, l, u) {
1576
- return i(_t(a), ht(l || {}, n), u);
1577
- }, s && (J.prototype[e] = function(a, l, u) {
1578
- return this.add(He[e](a, wt(l) ? l : (u = l) && {}, this), u);
1624
+ return a && !st[a] && !ft[a] && be(e + " effect requires " + a + " plugin.");
1625
+ }), Je[e] = function(a, l, u) {
1626
+ return i(pt(a), ct(l || {}, n), u);
1627
+ }, s && (Z.prototype[e] = function(a, l, u) {
1628
+ return this.add(Je[e](a, wt(l) ? l : (u = l) && {}, this), u);
1579
1629
  });
1580
1630
  },
1581
1631
  registerEase: function(t, e) {
1582
- C[t] = jt(e);
1632
+ C[t] = Wt(e);
1583
1633
  },
1584
1634
  parseEase: function(t, e) {
1585
- return arguments.length ? jt(t, e) : C;
1635
+ return arguments.length ? Wt(t, e) : C;
1586
1636
  },
1587
1637
  getById: function(t) {
1588
- return N.getById(t);
1638
+ return $.getById(t);
1589
1639
  },
1590
1640
  exportRoot: function(t, e) {
1591
1641
  t === void 0 && (t = {});
1592
- var i = new J(t), r, n;
1593
- for (i.smoothChildTiming = tt(t.smoothChildTiming), N.remove(i), i._dp = 0, i._time = i._tTime = N._time, r = N._first; r; )
1642
+ var i = new Z(t), r, n;
1643
+ for (i.smoothChildTiming = tt(t.smoothChildTiming), $.remove(i), i._dp = 0, i._time = i._tTime = $._time, r = $._first; r; )
1594
1644
  n = r._next, (e || !(!r._dur && r instanceof X && r.vars.onComplete === r._targets[0])) && xt(i, r, r._start - r._delay), r = n;
1595
- return xt(N, i, 0), i;
1645
+ return xt($, i, 0), i;
1596
1646
  },
1597
1647
  context: function(t, e) {
1598
- return t ? new Gr(t, e) : F;
1648
+ return t ? new Qr(t, e) : F;
1599
1649
  },
1600
1650
  matchMedia: function(t) {
1601
- return new cs(t);
1651
+ return new gs(t);
1602
1652
  },
1603
1653
  matchMediaRefresh: function() {
1604
- return Wt.forEach(function(t) {
1654
+ return Gt.forEach(function(t) {
1605
1655
  var e = t.conditions, i, r;
1606
1656
  for (r in e)
1607
1657
  e[r] && (e[r] = !1, i = 1);
1608
1658
  i && t.revert();
1609
- }) || ci();
1659
+ }) || di();
1610
1660
  },
1611
1661
  addEventListener: function(t, e) {
1612
- var i = Ie[t] || (Ie[t] = []);
1662
+ var i = Fe[t] || (Fe[t] = []);
1613
1663
  ~i.indexOf(e) || i.push(e);
1614
1664
  },
1615
1665
  removeEventListener: function(t, e) {
1616
- var i = Ie[t], r = i && i.indexOf(e);
1666
+ var i = Fe[t], r = i && i.indexOf(e);
1617
1667
  r >= 0 && i.splice(r, 1);
1618
1668
  },
1619
1669
  utils: {
1620
- wrap: qn,
1621
- wrapYoyo: Xn,
1622
- distribute: Or,
1623
- random: Mr,
1624
- snap: Cr,
1625
- normalize: Yn,
1626
- getUnit: Q,
1627
- clamp: $n,
1628
- splitColor: Rr,
1629
- toArray: _t,
1630
- selector: ui,
1631
- mapRange: zr,
1632
- pipe: Vn,
1633
- unitize: Un,
1634
- interpolate: jn,
1635
- shuffle: Pr
1670
+ wrap: Hn,
1671
+ wrapYoyo: Kn,
1672
+ distribute: Ar,
1673
+ random: Er,
1674
+ snap: zr,
1675
+ normalize: Gn,
1676
+ getUnit: J,
1677
+ clamp: qn,
1678
+ splitColor: $r,
1679
+ toArray: pt,
1680
+ selector: fi,
1681
+ mapRange: Ir,
1682
+ pipe: jn,
1683
+ unitize: Wn,
1684
+ interpolate: Jn,
1685
+ shuffle: Dr
1636
1686
  },
1637
- install: _r,
1638
- effects: He,
1687
+ install: yr,
1688
+ effects: Je,
1639
1689
  ticker: at,
1640
- updateRoot: J.updateRoot,
1690
+ updateRoot: Z.updateRoot,
1641
1691
  plugins: st,
1642
- globalTimeline: N,
1692
+ globalTimeline: $,
1643
1693
  core: {
1644
1694
  PropTween: it,
1645
- globals: pr,
1695
+ globals: vr,
1646
1696
  Tween: X,
1647
- Timeline: J,
1648
- Animation: ke,
1649
- getCache: qt,
1650
- _removeLinkedListItem: je,
1697
+ Timeline: Z,
1698
+ Animation: Se,
1699
+ getCache: Xt,
1700
+ _removeLinkedListItem: We,
1651
1701
  reverting: function() {
1652
- return H;
1702
+ return K;
1653
1703
  },
1654
1704
  context: function(t) {
1655
1705
  return t && F && (F.data.push(t), t._ctx = F), F;
1656
1706
  },
1657
1707
  suppressOverwrites: function(t) {
1658
- return gi = t;
1708
+ return yi = t;
1659
1709
  }
1660
1710
  }
1661
1711
  };
1662
1712
  et("to,from,fromTo,delayedCall,set,killTweensOf", function(o) {
1663
- return Be[o] = X[o];
1713
+ return Ve[o] = X[o];
1664
1714
  });
1665
- at.add(J.updateRoot);
1666
- Jt = Be.to({}, {
1715
+ at.add(Z.updateRoot);
1716
+ ee = Ve.to({}, {
1667
1717
  duration: 0
1668
1718
  });
1669
- var ds = function(t, e) {
1719
+ var ys = function(t, e) {
1670
1720
  for (var i = t._pt; i && i.p !== e && i.op !== e && i.fp !== e; )
1671
1721
  i = i._next;
1672
1722
  return i;
1673
- }, _s = function(t, e) {
1723
+ }, vs = function(t, e) {
1674
1724
  var i = t._targets, r, n, s;
1675
1725
  for (r in e)
1676
1726
  for (n = i.length; n--; )
1677
- s = t._ptLookup[n][r], s && (s = s.d) && (s._pt && (s = ds(s, r)), s && s.modifier && s.modifier(e[r], t, i[n], r));
1678
- }, ei = function(t, e) {
1727
+ s = t._ptLookup[n][r], s && (s = s.d) && (s._pt && (s = ys(s, r)), s && s.modifier && s.modifier(e[r], t, i[n], r));
1728
+ }, ii = function(t, e) {
1679
1729
  return {
1680
1730
  name: t,
1681
1731
  headless: 1,
@@ -1692,11 +1742,11 @@ var ds = function(t, e) {
1692
1742
  l[u] = e(n[u]);
1693
1743
  n = l;
1694
1744
  }
1695
- _s(a, n);
1745
+ vs(a, n);
1696
1746
  };
1697
1747
  }
1698
1748
  };
1699
- }, nt = Be.registerPlugin({
1749
+ }, nt = Ve.registerPlugin({
1700
1750
  name: "attr",
1701
1751
  init: function(t, e, i, r, n) {
1702
1752
  var s, a, l;
@@ -1706,7 +1756,7 @@ var ds = function(t, e) {
1706
1756
  },
1707
1757
  render: function(t, e) {
1708
1758
  for (var i = e._pt; i; )
1709
- H ? i.set(i.t, i.p, i.b, i) : i.r(t, i.d), i = i._next;
1759
+ K ? i.set(i.t, i.p, i.b, i) : i.r(t, i.d), i = i._next;
1710
1760
  }
1711
1761
  }, {
1712
1762
  name: "endArray",
@@ -1715,10 +1765,10 @@ var ds = function(t, e) {
1715
1765
  for (var i = e.length; i--; )
1716
1766
  this.add(t, i, t[i] || 0, e[i], 0, 0, 0, 0, 0, 1);
1717
1767
  }
1718
- }, ei("roundProps", fi), ei("modifiers"), ei("snap", Cr)) || Be;
1719
- X.version = J.version = nt.version = "3.14.2";
1720
- dr = 1;
1721
- vi() && oe();
1768
+ }, ii("roundProps", ci), ii("modifiers"), ii("snap", zr)) || Ve;
1769
+ X.version = Z.version = nt.version = "3.14.2";
1770
+ gr = 1;
1771
+ xi() && fe();
1722
1772
  C.Power0;
1723
1773
  C.Power1;
1724
1774
  C.Power2;
@@ -1745,197 +1795,197 @@ C.Circ;
1745
1795
  * Subject to the terms at https://gsap.com/standard-license
1746
1796
  * @author: Jack Doyle, jack@greensock.com
1747
1797
  */
1748
- var Wi, Dt, ee, zi, Yt, Gi, Ai, ps = function() {
1798
+ var Hi, Dt, ne, zi, qt, Ki, Ei, xs = function() {
1749
1799
  return typeof window < "u";
1750
- }, Ct = {}, Ut = 180 / Math.PI, ie = Math.PI / 180, Qt = Math.atan2, Ki = 1e8, Ei = /([A-Z])/g, ms = /(left|right|width|margin|padding|x)/i, gs = /[\s,\(]\S/, bt = {
1800
+ }, Ct = {}, Yt = 180 / Math.PI, se = Math.PI / 180, Qt = Math.atan2, Ji = 1e8, Ri = /([A-Z])/g, bs = /(left|right|width|margin|padding|x)/i, ws = /[\s,\(]\S/, bt = {
1751
1801
  autoAlpha: "opacity,visibility",
1752
1802
  scale: "scaleX,scaleY",
1753
1803
  alpha: "opacity"
1754
- }, di = function(t, e) {
1804
+ }, _i = function(t, e) {
1755
1805
  return e.set(e.t, e.p, Math.round((e.s + e.c * t) * 1e4) / 1e4 + e.u, e);
1756
- }, ys = function(t, e) {
1806
+ }, Ts = function(t, e) {
1757
1807
  return e.set(e.t, e.p, t === 1 ? e.e : Math.round((e.s + e.c * t) * 1e4) / 1e4 + e.u, e);
1758
- }, vs = function(t, e) {
1808
+ }, ks = function(t, e) {
1759
1809
  return e.set(e.t, e.p, t ? Math.round((e.s + e.c * t) * 1e4) / 1e4 + e.u : e.b, e);
1760
- }, xs = function(t, e) {
1810
+ }, Ss = function(t, e) {
1761
1811
  return e.set(e.t, e.p, t === 1 ? e.e : t ? Math.round((e.s + e.c * t) * 1e4) / 1e4 + e.u : e.b, e);
1762
- }, bs = function(t, e) {
1812
+ }, Os = function(t, e) {
1763
1813
  var i = e.s + e.c * t;
1764
1814
  e.set(e.t, e.p, ~~(i + (i < 0 ? -0.5 : 0.5)) + e.u, e);
1765
- }, Kr = function(t, e) {
1815
+ }, Zr = function(t, e) {
1766
1816
  return e.set(e.t, e.p, t ? e.e : e.b, e);
1767
- }, Hr = function(t, e) {
1817
+ }, tn = function(t, e) {
1768
1818
  return e.set(e.t, e.p, t !== 1 ? e.b : e.e, e);
1769
- }, ws = function(t, e, i) {
1819
+ }, Ps = function(t, e, i) {
1770
1820
  return t.style[e] = i;
1771
- }, Ts = function(t, e, i) {
1821
+ }, Cs = function(t, e, i) {
1772
1822
  return t.style.setProperty(e, i);
1773
- }, ks = function(t, e, i) {
1823
+ }, Ms = function(t, e, i) {
1774
1824
  return t._gsap[e] = i;
1775
- }, Ss = function(t, e, i) {
1825
+ }, Ds = function(t, e, i) {
1776
1826
  return t._gsap.scaleX = t._gsap.scaleY = i;
1777
- }, Ps = function(t, e, i, r, n) {
1827
+ }, As = function(t, e, i, r, n) {
1778
1828
  var s = t._gsap;
1779
1829
  s.scaleX = s.scaleY = i, s.renderTransform(n, s);
1780
- }, Os = function(t, e, i, r, n) {
1830
+ }, zs = function(t, e, i, r, n) {
1781
1831
  var s = t._gsap;
1782
1832
  s[e] = i, s.renderTransform(n, s);
1783
- }, $ = "transform", rt = $ + "Origin", Cs = function o(t, e) {
1833
+ }, N = "transform", rt = N + "Origin", Es = function o(t, e) {
1784
1834
  var i = this, r = this.target, n = r.style, s = r._gsap;
1785
1835
  if (t in Ct && n) {
1786
1836
  if (this.tfm = this.tfm || {}, t !== "transform")
1787
1837
  t = bt[t] || t, ~t.indexOf(",") ? t.split(",").forEach(function(a) {
1788
- return i.tfm[a] = Pt(r, a);
1789
- }) : this.tfm[t] = s.x ? s[t] : Pt(r, t), t === rt && (this.tfm.zOrigin = s.zOrigin);
1838
+ return i.tfm[a] = Ot(r, a);
1839
+ }) : this.tfm[t] = s.x ? s[t] : Ot(r, t), t === rt && (this.tfm.zOrigin = s.zOrigin);
1790
1840
  else
1791
1841
  return bt.transform.split(",").forEach(function(a) {
1792
1842
  return o.call(i, a, e);
1793
1843
  });
1794
- if (this.props.indexOf($) >= 0)
1844
+ if (this.props.indexOf(N) >= 0)
1795
1845
  return;
1796
- s.svg && (this.svgo = r.getAttribute("data-svg-origin"), this.props.push(rt, e, "")), t = $;
1846
+ s.svg && (this.svgo = r.getAttribute("data-svg-origin"), this.props.push(rt, e, "")), t = N;
1797
1847
  }
1798
1848
  (n || e) && this.props.push(t, e, n[t]);
1799
- }, Qr = function(t) {
1849
+ }, en = function(t) {
1800
1850
  t.translate && (t.removeProperty("translate"), t.removeProperty("scale"), t.removeProperty("rotate"));
1801
- }, Ms = function() {
1851
+ }, Rs = function() {
1802
1852
  var t = this.props, e = this.target, i = e.style, r = e._gsap, n, s;
1803
1853
  for (n = 0; n < t.length; n += 3)
1804
- t[n + 1] ? t[n + 1] === 2 ? e[t[n]](t[n + 2]) : e[t[n]] = t[n + 2] : t[n + 2] ? i[t[n]] = t[n + 2] : i.removeProperty(t[n].substr(0, 2) === "--" ? t[n] : t[n].replace(Ei, "-$1").toLowerCase());
1854
+ t[n + 1] ? t[n + 1] === 2 ? e[t[n]](t[n + 2]) : e[t[n]] = t[n + 2] : t[n + 2] ? i[t[n]] = t[n + 2] : i.removeProperty(t[n].substr(0, 2) === "--" ? t[n] : t[n].replace(Ri, "-$1").toLowerCase());
1805
1855
  if (this.tfm) {
1806
1856
  for (s in this.tfm)
1807
1857
  r[s] = this.tfm[s];
1808
- r.svg && (r.renderTransform(), e.setAttribute("data-svg-origin", this.svgo || "")), n = Ai(), (!n || !n.isStart) && !i[$] && (Qr(i), r.zOrigin && i[rt] && (i[rt] += " " + r.zOrigin + "px", r.zOrigin = 0, r.renderTransform()), r.uncache = 1);
1858
+ r.svg && (r.renderTransform(), e.setAttribute("data-svg-origin", this.svgo || "")), n = Ei(), (!n || !n.isStart) && !i[N] && (en(i), r.zOrigin && i[rt] && (i[rt] += " " + r.zOrigin + "px", r.zOrigin = 0, r.renderTransform()), r.uncache = 1);
1809
1859
  }
1810
- }, Zr = function(t, e) {
1860
+ }, rn = function(t, e) {
1811
1861
  var i = {
1812
1862
  target: t,
1813
1863
  props: [],
1814
- revert: Ms,
1815
- save: Cs
1864
+ revert: Rs,
1865
+ save: Es
1816
1866
  };
1817
1867
  return t._gsap || nt.core.getCache(t), e && t.style && t.nodeType && e.split(",").forEach(function(r) {
1818
1868
  return i.save(r);
1819
1869
  }), i;
1820
- }, Jr, _i = function(t, e) {
1870
+ }, nn, pi = function(t, e) {
1821
1871
  var i = Dt.createElementNS ? Dt.createElementNS((e || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), t) : Dt.createElement(t);
1822
1872
  return i && i.style ? i : Dt.createElement(t);
1823
1873
  }, lt = function o(t, e, i) {
1824
1874
  var r = getComputedStyle(t);
1825
- return r[e] || r.getPropertyValue(e.replace(Ei, "-$1").toLowerCase()) || r.getPropertyValue(e) || !i && o(t, le(e) || e, 1) || "";
1826
- }, Hi = "O,Moz,ms,Ms,Webkit".split(","), le = function(t, e, i) {
1827
- var r = e || Yt, n = r.style, s = 5;
1875
+ return r[e] || r.getPropertyValue(e.replace(Ri, "-$1").toLowerCase()) || r.getPropertyValue(e) || !i && o(t, ce(e) || e, 1) || "";
1876
+ }, Qi = "O,Moz,ms,Ms,Webkit".split(","), ce = function(t, e, i) {
1877
+ var r = e || qt, n = r.style, s = 5;
1828
1878
  if (t in n && !i)
1829
1879
  return t;
1830
- for (t = t.charAt(0).toUpperCase() + t.substr(1); s-- && !(Hi[s] + t in n); )
1880
+ for (t = t.charAt(0).toUpperCase() + t.substr(1); s-- && !(Qi[s] + t in n); )
1831
1881
  ;
1832
- return s < 0 ? null : (s === 3 ? "ms" : s >= 0 ? Hi[s] : "") + t;
1833
- }, pi = function() {
1834
- ps() && window.document && (Wi = window, Dt = Wi.document, ee = Dt.documentElement, Yt = _i("div") || {
1882
+ return s < 0 ? null : (s === 3 ? "ms" : s >= 0 ? Qi[s] : "") + t;
1883
+ }, mi = function() {
1884
+ xs() && window.document && (Hi = window, Dt = Hi.document, ne = Dt.documentElement, qt = pi("div") || {
1835
1885
  style: {}
1836
- }, _i("div"), $ = le($), rt = $ + "Origin", Yt.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", Jr = !!le("perspective"), Ai = nt.core.reverting, zi = 1);
1837
- }, Qi = function(t) {
1838
- var e = t.ownerSVGElement, i = _i("svg", e && e.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), r = t.cloneNode(!0), n;
1839
- r.style.display = "block", i.appendChild(r), ee.appendChild(i);
1886
+ }, pi("div"), N = ce(N), rt = N + "Origin", qt.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", nn = !!ce("perspective"), Ei = nt.core.reverting, zi = 1);
1887
+ }, Zi = function(t) {
1888
+ var e = t.ownerSVGElement, i = pi("svg", e && e.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), r = t.cloneNode(!0), n;
1889
+ r.style.display = "block", i.appendChild(r), ne.appendChild(i);
1840
1890
  try {
1841
1891
  n = r.getBBox();
1842
1892
  } catch {
1843
1893
  }
1844
- return i.removeChild(r), ee.removeChild(i), n;
1845
- }, Zi = function(t, e) {
1894
+ return i.removeChild(r), ne.removeChild(i), n;
1895
+ }, tr = function(t, e) {
1846
1896
  for (var i = e.length; i--; )
1847
1897
  if (t.hasAttribute(e[i]))
1848
1898
  return t.getAttribute(e[i]);
1849
- }, tn = function(t) {
1899
+ }, sn = function(t) {
1850
1900
  var e, i;
1851
1901
  try {
1852
1902
  e = t.getBBox();
1853
1903
  } catch {
1854
- e = Qi(t), i = 1;
1904
+ e = Zi(t), i = 1;
1855
1905
  }
1856
- return e && (e.width || e.height) || i || (e = Qi(t)), e && !e.width && !e.x && !e.y ? {
1857
- x: +Zi(t, ["x", "cx", "x1"]) || 0,
1858
- y: +Zi(t, ["y", "cy", "y1"]) || 0,
1906
+ return e && (e.width || e.height) || i || (e = Zi(t)), e && !e.width && !e.x && !e.y ? {
1907
+ x: +tr(t, ["x", "cx", "x1"]) || 0,
1908
+ y: +tr(t, ["y", "cy", "y1"]) || 0,
1859
1909
  width: 0,
1860
1910
  height: 0
1861
1911
  } : e;
1862
- }, en = function(t) {
1863
- return !!(t.getCTM && (!t.parentNode || t.ownerSVGElement) && tn(t));
1912
+ }, an = function(t) {
1913
+ return !!(t.getCTM && (!t.parentNode || t.ownerSVGElement) && sn(t));
1864
1914
  }, It = function(t, e) {
1865
1915
  if (e) {
1866
1916
  var i = t.style, r;
1867
- e in Ct && e !== rt && (e = $), i.removeProperty ? (r = e.substr(0, 2), (r === "ms" || e.substr(0, 6) === "webkit") && (e = "-" + e), i.removeProperty(r === "--" ? e : e.replace(Ei, "-$1").toLowerCase())) : i.removeAttribute(e);
1917
+ e in Ct && e !== rt && (e = N), i.removeProperty ? (r = e.substr(0, 2), (r === "ms" || e.substr(0, 6) === "webkit") && (e = "-" + e), i.removeProperty(r === "--" ? e : e.replace(Ri, "-$1").toLowerCase())) : i.removeAttribute(e);
1868
1918
  }
1869
- }, zt = function(t, e, i, r, n, s) {
1870
- var a = new it(t._pt, e, i, 0, 1, s ? Hr : Kr);
1919
+ }, At = function(t, e, i, r, n, s) {
1920
+ var a = new it(t._pt, e, i, 0, 1, s ? tn : Zr);
1871
1921
  return t._pt = a, a.b = r, a.e = n, t._props.push(i), a;
1872
- }, Ji = {
1922
+ }, er = {
1873
1923
  deg: 1,
1874
1924
  rad: 1,
1875
1925
  turn: 1
1876
- }, Ds = {
1926
+ }, Is = {
1877
1927
  grid: 1,
1878
1928
  flex: 1
1879
1929
  }, Ft = function o(t, e, i, r) {
1880
- var n = parseFloat(i) || 0, s = (i + "").trim().substr((n + "").length) || "px", a = Yt.style, l = ms.test(e), u = t.tagName.toLowerCase() === "svg", f = (u ? "client" : "offset") + (l ? "Width" : "Height"), h = 100, d = r === "px", _ = r === "%", m, c, p, y;
1881
- if (r === s || !n || Ji[r] || Ji[s])
1930
+ var n = parseFloat(i) || 0, s = (i + "").trim().substr((n + "").length) || "px", a = qt.style, l = bs.test(e), u = t.tagName.toLowerCase() === "svg", f = (u ? "client" : "offset") + (l ? "Width" : "Height"), h = 100, _ = r === "px", d = r === "%", p, c, g, y;
1931
+ if (r === s || !n || er[r] || er[s])
1882
1932
  return n;
1883
- if (s !== "px" && !d && (n = o(t, e, i, "px")), y = t.getCTM && en(t), (_ || s === "%") && (Ct[e] || ~e.indexOf("adius")))
1884
- return m = y ? t.getBBox()[l ? "width" : "height"] : t[f], Y(_ ? n / m * h : n / 100 * m);
1885
- if (a[l ? "width" : "height"] = h + (d ? s : r), c = r !== "rem" && ~e.indexOf("adius") || r === "em" && t.appendChild && !u ? t : t.parentNode, y && (c = (t.ownerSVGElement || {}).parentNode), (!c || c === Dt || !c.appendChild) && (c = Dt.body), p = c._gsap, p && _ && p.width && l && p.time === at.time && !p.uncache)
1886
- return Y(n / p.width * h);
1887
- if (_ && (e === "height" || e === "width")) {
1933
+ if (s !== "px" && !_ && (n = o(t, e, i, "px")), y = t.getCTM && an(t), (d || s === "%") && (Ct[e] || ~e.indexOf("adius")))
1934
+ return p = y ? t.getBBox()[l ? "width" : "height"] : t[f], Y(d ? n / p * h : n / 100 * p);
1935
+ if (a[l ? "width" : "height"] = h + (_ ? s : r), c = r !== "rem" && ~e.indexOf("adius") || r === "em" && t.appendChild && !u ? t : t.parentNode, y && (c = (t.ownerSVGElement || {}).parentNode), (!c || c === Dt || !c.appendChild) && (c = Dt.body), g = c._gsap, g && d && g.width && l && g.time === at.time && !g.uncache)
1936
+ return Y(n / g.width * h);
1937
+ if (d && (e === "height" || e === "width")) {
1888
1938
  var v = t.style[e];
1889
- t.style[e] = h + r, m = t[f], v ? t.style[e] = v : It(t, e);
1939
+ t.style[e] = h + r, p = t[f], v ? t.style[e] = v : It(t, e);
1890
1940
  } else
1891
- (_ || s === "%") && !Ds[lt(c, "display")] && (a.position = lt(t, "position")), c === t && (a.position = "static"), c.appendChild(Yt), m = Yt[f], c.removeChild(Yt), a.position = "absolute";
1892
- return l && _ && (p = qt(c), p.time = at.time, p.width = c[f]), Y(d ? m * n / h : m && n ? h / m * n : 0);
1893
- }, Pt = function(t, e, i, r) {
1941
+ (d || s === "%") && !Is[lt(c, "display")] && (a.position = lt(t, "position")), c === t && (a.position = "static"), c.appendChild(qt), p = qt[f], c.removeChild(qt), a.position = "absolute";
1942
+ return l && d && (g = Xt(c), g.time = at.time, g.width = c[f]), Y(_ ? p * n / h : p && n ? h / p * n : 0);
1943
+ }, Ot = function(t, e, i, r) {
1894
1944
  var n;
1895
- return zi || pi(), e in bt && e !== "transform" && (e = bt[e], ~e.indexOf(",") && (e = e.split(",")[0])), Ct[e] && e !== "transform" ? (n = Pe(t, r), n = e !== "transformOrigin" ? n[e] : n.svg ? n.origin : Ue(lt(t, rt)) + " " + n.zOrigin + "px") : (n = t.style[e], (!n || n === "auto" || r || ~(n + "").indexOf("calc(")) && (n = Ve[e] && Ve[e](t, e, i) || lt(t, e) || gr(t, e) || (e === "opacity" ? 1 : 0))), i && !~(n + "").trim().indexOf(" ") ? Ft(t, e, n, i) + i : n;
1896
- }, zs = function(t, e, i, r) {
1945
+ return zi || mi(), e in bt && e !== "transform" && (e = bt[e], ~e.indexOf(",") && (e = e.split(",")[0])), Ct[e] && e !== "transform" ? (n = Pe(t, r), n = e !== "transformOrigin" ? n[e] : n.svg ? n.origin : Ye(lt(t, rt)) + " " + n.zOrigin + "px") : (n = t.style[e], (!n || n === "auto" || r || ~(n + "").indexOf("calc(")) && (n = Ue[e] && Ue[e](t, e, i) || lt(t, e) || br(t, e) || (e === "opacity" ? 1 : 0))), i && !~(n + "").trim().indexOf(" ") ? Ft(t, e, n, i) + i : n;
1946
+ }, Fs = function(t, e, i, r) {
1897
1947
  if (!i || i === "none") {
1898
- var n = le(e, t, 1), s = n && lt(t, n, 1);
1948
+ var n = ce(e, t, 1), s = n && lt(t, n, 1);
1899
1949
  s && s !== i ? (e = n, i = s) : e === "borderColor" && (i = lt(t, "borderTopColor"));
1900
1950
  }
1901
- var a = new it(this._pt, t.style, e, 0, 1, jr), l = 0, u = 0, f, h, d, _, m, c, p, y, v, w, x, g;
1902
- if (a.b = i, a.e = r, i += "", r += "", r.substring(0, 6) === "var(--" && (r = lt(t, r.substring(4, r.indexOf(")")))), r === "auto" && (c = t.style[e], t.style[e] = r, r = lt(t, e) || r, c ? t.style[e] = c : It(t, e)), f = [i, r], Fr(f), i = f[0], r = f[1], d = i.match(Zt) || [], g = r.match(Zt) || [], g.length) {
1903
- for (; h = Zt.exec(r); )
1904
- p = h[0], v = r.substring(l, h.index), m ? m = (m + 1) % 5 : (v.substr(-5) === "rgba(" || v.substr(-5) === "hsla(") && (m = 1), p !== (c = d[u++] || "") && (_ = parseFloat(c) || 0, x = c.substr((_ + "").length), p.charAt(1) === "=" && (p = te(_, p) + x), y = parseFloat(p), w = p.substr((y + "").length), l = Zt.lastIndex - w.length, w || (w = w || ut.units[e] || x, l === r.length && (r += w, a.e += w)), x !== w && (_ = Ft(t, e, c, w) || 0), a._pt = {
1951
+ var a = new it(this._pt, t.style, e, 0, 1, Kr), l = 0, u = 0, f, h, _, d, p, c, g, y, v, w, x, m;
1952
+ if (a.b = i, a.e = r, i += "", r += "", r.substring(0, 6) === "var(--" && (r = lt(t, r.substring(4, r.indexOf(")")))), r === "auto" && (c = t.style[e], t.style[e] = r, r = lt(t, e) || r, c ? t.style[e] = c : It(t, e)), f = [i, r], Br(f), i = f[0], r = f[1], _ = i.match(te) || [], m = r.match(te) || [], m.length) {
1953
+ for (; h = te.exec(r); )
1954
+ g = h[0], v = r.substring(l, h.index), p ? p = (p + 1) % 5 : (v.substr(-5) === "rgba(" || v.substr(-5) === "hsla(") && (p = 1), g !== (c = _[u++] || "") && (d = parseFloat(c) || 0, x = c.substr((d + "").length), g.charAt(1) === "=" && (g = re(d, g) + x), y = parseFloat(g), w = g.substr((y + "").length), l = te.lastIndex - w.length, w || (w = w || ut.units[e] || x, l === r.length && (r += w, a.e += w)), x !== w && (d = Ft(t, e, c, w) || 0), a._pt = {
1905
1955
  _next: a._pt,
1906
1956
  p: v || u === 1 ? v : ",",
1907
1957
  //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.
1908
- s: _,
1909
- c: y - _,
1910
- m: m && m < 4 || e === "zIndex" ? Math.round : 0
1958
+ s: d,
1959
+ c: y - d,
1960
+ m: p && p < 4 || e === "zIndex" ? Math.round : 0
1911
1961
  });
1912
1962
  a.c = l < r.length ? r.substring(l, r.length) : "";
1913
1963
  } else
1914
- a.r = e === "display" && r === "none" ? Hr : Kr;
1915
- return cr.test(r) && (a.e = 0), this._pt = a, a;
1916
- }, tr = {
1964
+ a.r = e === "display" && r === "none" ? tn : Zr;
1965
+ return mr.test(r) && (a.e = 0), this._pt = a, a;
1966
+ }, ir = {
1917
1967
  top: "0%",
1918
1968
  bottom: "100%",
1919
1969
  left: "0%",
1920
1970
  right: "100%",
1921
1971
  center: "50%"
1922
- }, As = function(t) {
1972
+ }, Ls = function(t) {
1923
1973
  var e = t.split(" "), i = e[0], r = e[1] || "50%";
1924
- return (i === "top" || i === "bottom" || r === "left" || r === "right") && (t = i, i = r, r = t), e[0] = tr[i] || i, e[1] = tr[r] || r, e.join(" ");
1925
- }, Es = function(t, e) {
1974
+ return (i === "top" || i === "bottom" || r === "left" || r === "right") && (t = i, i = r, r = t), e[0] = ir[i] || i, e[1] = ir[r] || r, e.join(" ");
1975
+ }, $s = function(t, e) {
1926
1976
  if (e.tween && e.tween._time === e.tween._dur) {
1927
1977
  var i = e.t, r = i.style, n = e.u, s = i._gsap, a, l, u;
1928
1978
  if (n === "all" || n === !0)
1929
1979
  r.cssText = "", l = 1;
1930
1980
  else
1931
1981
  for (n = n.split(","), u = n.length; --u > -1; )
1932
- a = n[u], Ct[a] && (l = 1, a = a === "transformOrigin" ? rt : $), It(i, a);
1933
- l && (It(i, $), s && (s.svg && i.removeAttribute("transform"), r.scale = r.rotate = r.translate = "none", Pe(i, 1), s.uncache = 1, Qr(r)));
1982
+ a = n[u], Ct[a] && (l = 1, a = a === "transformOrigin" ? rt : N), It(i, a);
1983
+ l && (It(i, N), s && (s.svg && i.removeAttribute("transform"), r.scale = r.rotate = r.translate = "none", Pe(i, 1), s.uncache = 1, en(r)));
1934
1984
  }
1935
- }, Ve = {
1985
+ }, Ue = {
1936
1986
  clearProps: function(t, e, i, r, n) {
1937
1987
  if (n.data !== "isFromStart") {
1938
- var s = t._pt = new it(t._pt, e, i, 0, 0, Es);
1988
+ var s = t._pt = new it(t._pt, e, i, 0, 0, $s);
1939
1989
  return s.u = r, s.pr = -10, s.tween = n, t._props.push(i), 1;
1940
1990
  }
1941
1991
  }
@@ -2002,156 +2052,156 @@ var Wi, Dt, ee, zi, Yt, Gi, Ai, ps = function() {
2002
2052
  return 1;
2003
2053
  }
2004
2054
  */
2005
- }, Se = [1, 0, 0, 1, 0, 0], rn = {}, nn = function(t) {
2055
+ }, Oe = [1, 0, 0, 1, 0, 0], on = {}, ln = function(t) {
2006
2056
  return t === "matrix(1, 0, 0, 1, 0, 0)" || t === "none" || !t;
2007
- }, er = function(t) {
2008
- var e = lt(t, $);
2009
- return nn(e) ? Se : e.substr(7).match(hr).map(Y);
2010
- }, Ri = function(t, e) {
2011
- var i = t._gsap || qt(t), r = t.style, n = er(t), s, a, l, u;
2012
- return i.svg && t.getAttribute("transform") ? (l = t.transform.baseVal.consolidate().matrix, n = [l.a, l.b, l.c, l.d, l.e, l.f], n.join(",") === "1,0,0,1,0,0" ? Se : n) : (n === Se && !t.offsetParent && t !== ee && !i.svg && (l = r.display, r.display = "block", s = t.parentNode, (!s || !t.offsetParent && !t.getBoundingClientRect().width) && (u = 1, a = t.nextElementSibling, ee.appendChild(t)), n = er(t), l ? r.display = l : It(t, "display"), u && (a ? s.insertBefore(t, a) : s ? s.appendChild(t) : ee.removeChild(t))), e && n.length > 6 ? [n[0], n[1], n[4], n[5], n[12], n[13]] : n);
2013
- }, mi = function(t, e, i, r, n, s) {
2014
- var a = t._gsap, l = n || Ri(t, !0), u = a.xOrigin || 0, f = a.yOrigin || 0, h = a.xOffset || 0, d = a.yOffset || 0, _ = l[0], m = l[1], c = l[2], p = l[3], y = l[4], v = l[5], w = e.split(" "), x = parseFloat(w[0]) || 0, g = parseFloat(w[1]) || 0, T, k, S, b;
2015
- i ? l !== Se && (k = _ * p - m * c) && (S = x * (p / k) + g * (-c / k) + (c * v - p * y) / k, b = x * (-m / k) + g * (_ / k) - (_ * v - m * y) / k, x = S, g = b) : (T = tn(t), x = T.x + (~w[0].indexOf("%") ? x / 100 * T.width : x), g = T.y + (~(w[1] || w[0]).indexOf("%") ? g / 100 * T.height : g)), r || r !== !1 && a.smooth ? (y = x - u, v = g - f, a.xOffset = h + (y * _ + v * c) - y, a.yOffset = d + (y * m + v * p) - v) : a.xOffset = a.yOffset = 0, a.xOrigin = x, a.yOrigin = g, a.smooth = !!r, a.origin = e, a.originIsAbsolute = !!i, t.style[rt] = "0px 0px", s && (zt(s, a, "xOrigin", u, x), zt(s, a, "yOrigin", f, g), zt(s, a, "xOffset", h, a.xOffset), zt(s, a, "yOffset", d, a.yOffset)), t.setAttribute("data-svg-origin", x + " " + g);
2057
+ }, rr = function(t) {
2058
+ var e = lt(t, N);
2059
+ return ln(e) ? Oe : e.substr(7).match(pr).map(Y);
2060
+ }, Ii = function(t, e) {
2061
+ var i = t._gsap || Xt(t), r = t.style, n = rr(t), s, a, l, u;
2062
+ return i.svg && t.getAttribute("transform") ? (l = t.transform.baseVal.consolidate().matrix, n = [l.a, l.b, l.c, l.d, l.e, l.f], n.join(",") === "1,0,0,1,0,0" ? Oe : n) : (n === Oe && !t.offsetParent && t !== ne && !i.svg && (l = r.display, r.display = "block", s = t.parentNode, (!s || !t.offsetParent && !t.getBoundingClientRect().width) && (u = 1, a = t.nextElementSibling, ne.appendChild(t)), n = rr(t), l ? r.display = l : It(t, "display"), u && (a ? s.insertBefore(t, a) : s ? s.appendChild(t) : ne.removeChild(t))), e && n.length > 6 ? [n[0], n[1], n[4], n[5], n[12], n[13]] : n);
2063
+ }, gi = function(t, e, i, r, n, s) {
2064
+ var a = t._gsap, l = n || Ii(t, !0), u = a.xOrigin || 0, f = a.yOrigin || 0, h = a.xOffset || 0, _ = a.yOffset || 0, d = l[0], p = l[1], c = l[2], g = l[3], y = l[4], v = l[5], w = e.split(" "), x = parseFloat(w[0]) || 0, m = parseFloat(w[1]) || 0, T, k, S, b;
2065
+ i ? l !== Oe && (k = d * g - p * c) && (S = x * (g / k) + m * (-c / k) + (c * v - g * y) / k, b = x * (-p / k) + m * (d / k) - (d * v - p * y) / k, x = S, m = b) : (T = sn(t), x = T.x + (~w[0].indexOf("%") ? x / 100 * T.width : x), m = T.y + (~(w[1] || w[0]).indexOf("%") ? m / 100 * T.height : m)), r || r !== !1 && a.smooth ? (y = x - u, v = m - f, a.xOffset = h + (y * d + v * c) - y, a.yOffset = _ + (y * p + v * g) - v) : a.xOffset = a.yOffset = 0, a.xOrigin = x, a.yOrigin = m, a.smooth = !!r, a.origin = e, a.originIsAbsolute = !!i, t.style[rt] = "0px 0px", s && (At(s, a, "xOrigin", u, x), At(s, a, "yOrigin", f, m), At(s, a, "xOffset", h, a.xOffset), At(s, a, "yOffset", _, a.yOffset)), t.setAttribute("data-svg-origin", x + " " + m);
2016
2066
  }, Pe = function(t, e) {
2017
- var i = t._gsap || new Br(t);
2067
+ var i = t._gsap || new qr(t);
2018
2068
  if ("x" in i && !e && !i.uncache)
2019
2069
  return i;
2020
- var r = t.style, n = i.scaleX < 0, s = "px", a = "deg", l = getComputedStyle(t), u = lt(t, rt) || "0", f, h, d, _, m, c, p, y, v, w, x, g, T, k, S, b, O, M, D, R, K, j, q, W, pt, De, fe, he, Nt, Ii, Tt, $t;
2021
- return f = h = d = c = p = y = v = w = x = 0, _ = m = 1, i.svg = !!(t.getCTM && en(t)), l.translate && ((l.translate !== "none" || l.scale !== "none" || l.rotate !== "none") && (r[$] = (l.translate !== "none" ? "translate3d(" + (l.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (l.rotate !== "none" ? "rotate(" + l.rotate + ") " : "") + (l.scale !== "none" ? "scale(" + l.scale.split(" ").join(",") + ") " : "") + (l[$] !== "none" ? l[$] : "")), r.scale = r.rotate = r.translate = "none"), k = Ri(t, i.svg), i.svg && (i.uncache ? (pt = t.getBBox(), u = i.xOrigin - pt.x + "px " + (i.yOrigin - pt.y) + "px", W = "") : W = !e && t.getAttribute("data-svg-origin"), mi(t, W || u, !!W || i.originIsAbsolute, i.smooth !== !1, k)), g = i.xOrigin || 0, T = i.yOrigin || 0, k !== Se && (M = k[0], D = k[1], R = k[2], K = k[3], f = j = k[4], h = q = k[5], k.length === 6 ? (_ = Math.sqrt(M * M + D * D), m = Math.sqrt(K * K + R * R), c = M || D ? Qt(D, M) * Ut : 0, v = R || K ? Qt(R, K) * Ut + c : 0, v && (m *= Math.abs(Math.cos(v * ie))), i.svg && (f -= g - (g * M + T * R), h -= T - (g * D + T * K))) : ($t = k[6], Ii = k[7], fe = k[8], he = k[9], Nt = k[10], Tt = k[11], f = k[12], h = k[13], d = k[14], S = Qt($t, Nt), p = S * Ut, S && (b = Math.cos(-S), O = Math.sin(-S), W = j * b + fe * O, pt = q * b + he * O, De = $t * b + Nt * O, fe = j * -O + fe * b, he = q * -O + he * b, Nt = $t * -O + Nt * b, Tt = Ii * -O + Tt * b, j = W, q = pt, $t = De), S = Qt(-R, Nt), y = S * Ut, S && (b = Math.cos(-S), O = Math.sin(-S), W = M * b - fe * O, pt = D * b - he * O, De = R * b - Nt * O, Tt = K * O + Tt * b, M = W, D = pt, R = De), S = Qt(D, M), c = S * Ut, S && (b = Math.cos(S), O = Math.sin(S), W = M * b + D * O, pt = j * b + q * O, D = D * b - M * O, q = q * b - j * O, M = W, j = pt), p && Math.abs(p) + Math.abs(c) > 359.9 && (p = c = 0, y = 180 - y), _ = Y(Math.sqrt(M * M + D * D + R * R)), m = Y(Math.sqrt(q * q + $t * $t)), S = Qt(j, q), v = Math.abs(S) > 2e-4 ? S * Ut : 0, x = Tt ? 1 / (Tt < 0 ? -Tt : Tt) : 0), i.svg && (W = t.getAttribute("transform"), i.forceCSS = t.setAttribute("transform", "") || !nn(lt(t, $)), W && t.setAttribute("transform", W))), Math.abs(v) > 90 && Math.abs(v) < 270 && (n ? (_ *= -1, v += c <= 0 ? 180 : -180, c += c <= 0 ? 180 : -180) : (m *= -1, v += v <= 0 ? 180 : -180)), e = e || i.uncache, i.x = f - ((i.xPercent = f && (!e && i.xPercent || (Math.round(t.offsetWidth / 2) === Math.round(-f) ? -50 : 0))) ? t.offsetWidth * i.xPercent / 100 : 0) + s, i.y = h - ((i.yPercent = h && (!e && i.yPercent || (Math.round(t.offsetHeight / 2) === Math.round(-h) ? -50 : 0))) ? t.offsetHeight * i.yPercent / 100 : 0) + s, i.z = d + s, i.scaleX = Y(_), i.scaleY = Y(m), i.rotation = Y(c) + a, i.rotationX = Y(p) + a, i.rotationY = Y(y) + a, i.skewX = v + a, i.skewY = w + a, i.transformPerspective = x + s, (i.zOrigin = parseFloat(u.split(" ")[2]) || !e && i.zOrigin || 0) && (r[rt] = Ue(u)), i.xOffset = i.yOffset = 0, i.force3D = ut.force3D, i.renderTransform = i.svg ? Is : Jr ? sn : Rs, i.uncache = 0, i;
2022
- }, Ue = function(t) {
2070
+ var r = t.style, n = i.scaleX < 0, s = "px", a = "deg", l = getComputedStyle(t), u = lt(t, rt) || "0", f, h, _, d, p, c, g, y, v, w, x, m, T, k, S, b, P, M, D, R, H, j, q, W, mt, Ae, he, de, Nt, Fi, Tt, Bt;
2071
+ return f = h = _ = c = g = y = v = w = x = 0, d = p = 1, i.svg = !!(t.getCTM && an(t)), l.translate && ((l.translate !== "none" || l.scale !== "none" || l.rotate !== "none") && (r[N] = (l.translate !== "none" ? "translate3d(" + (l.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (l.rotate !== "none" ? "rotate(" + l.rotate + ") " : "") + (l.scale !== "none" ? "scale(" + l.scale.split(" ").join(",") + ") " : "") + (l[N] !== "none" ? l[N] : "")), r.scale = r.rotate = r.translate = "none"), k = Ii(t, i.svg), i.svg && (i.uncache ? (mt = t.getBBox(), u = i.xOrigin - mt.x + "px " + (i.yOrigin - mt.y) + "px", W = "") : W = !e && t.getAttribute("data-svg-origin"), gi(t, W || u, !!W || i.originIsAbsolute, i.smooth !== !1, k)), m = i.xOrigin || 0, T = i.yOrigin || 0, k !== Oe && (M = k[0], D = k[1], R = k[2], H = k[3], f = j = k[4], h = q = k[5], k.length === 6 ? (d = Math.sqrt(M * M + D * D), p = Math.sqrt(H * H + R * R), c = M || D ? Qt(D, M) * Yt : 0, v = R || H ? Qt(R, H) * Yt + c : 0, v && (p *= Math.abs(Math.cos(v * se))), i.svg && (f -= m - (m * M + T * R), h -= T - (m * D + T * H))) : (Bt = k[6], Fi = k[7], he = k[8], de = k[9], Nt = k[10], Tt = k[11], f = k[12], h = k[13], _ = k[14], S = Qt(Bt, Nt), g = S * Yt, S && (b = Math.cos(-S), P = Math.sin(-S), W = j * b + he * P, mt = q * b + de * P, Ae = Bt * b + Nt * P, he = j * -P + he * b, de = q * -P + de * b, Nt = Bt * -P + Nt * b, Tt = Fi * -P + Tt * b, j = W, q = mt, Bt = Ae), S = Qt(-R, Nt), y = S * Yt, S && (b = Math.cos(-S), P = Math.sin(-S), W = M * b - he * P, mt = D * b - de * P, Ae = R * b - Nt * P, Tt = H * P + Tt * b, M = W, D = mt, R = Ae), S = Qt(D, M), c = S * Yt, S && (b = Math.cos(S), P = Math.sin(S), W = M * b + D * P, mt = j * b + q * P, D = D * b - M * P, q = q * b - j * P, M = W, j = mt), g && Math.abs(g) + Math.abs(c) > 359.9 && (g = c = 0, y = 180 - y), d = Y(Math.sqrt(M * M + D * D + R * R)), p = Y(Math.sqrt(q * q + Bt * Bt)), S = Qt(j, q), v = Math.abs(S) > 2e-4 ? S * Yt : 0, x = Tt ? 1 / (Tt < 0 ? -Tt : Tt) : 0), i.svg && (W = t.getAttribute("transform"), i.forceCSS = t.setAttribute("transform", "") || !ln(lt(t, N)), W && t.setAttribute("transform", W))), Math.abs(v) > 90 && Math.abs(v) < 270 && (n ? (d *= -1, v += c <= 0 ? 180 : -180, c += c <= 0 ? 180 : -180) : (p *= -1, v += v <= 0 ? 180 : -180)), e = e || i.uncache, i.x = f - ((i.xPercent = f && (!e && i.xPercent || (Math.round(t.offsetWidth / 2) === Math.round(-f) ? -50 : 0))) ? t.offsetWidth * i.xPercent / 100 : 0) + s, i.y = h - ((i.yPercent = h && (!e && i.yPercent || (Math.round(t.offsetHeight / 2) === Math.round(-h) ? -50 : 0))) ? t.offsetHeight * i.yPercent / 100 : 0) + s, i.z = _ + s, i.scaleX = Y(d), i.scaleY = Y(p), i.rotation = Y(c) + a, i.rotationX = Y(g) + a, i.rotationY = Y(y) + a, i.skewX = v + a, i.skewY = w + a, i.transformPerspective = x + s, (i.zOrigin = parseFloat(u.split(" ")[2]) || !e && i.zOrigin || 0) && (r[rt] = Ye(u)), i.xOffset = i.yOffset = 0, i.force3D = ut.force3D, i.renderTransform = i.svg ? Bs : nn ? un : Ns, i.uncache = 0, i;
2072
+ }, Ye = function(t) {
2023
2073
  return (t = t.split(" "))[0] + " " + t[1];
2024
- }, ii = function(t, e, i) {
2025
- var r = Q(e);
2074
+ }, ri = function(t, e, i) {
2075
+ var r = J(e);
2026
2076
  return Y(parseFloat(e) + parseFloat(Ft(t, "x", i + "px", r))) + r;
2027
- }, Rs = function(t, e) {
2028
- e.z = "0px", e.rotationY = e.rotationX = "0deg", e.force3D = 0, sn(t, e);
2029
- }, Bt = "0deg", ce = "0px", Vt = ") ", sn = function(t, e) {
2030
- var i = e || this, r = i.xPercent, n = i.yPercent, s = i.x, a = i.y, l = i.z, u = i.rotation, f = i.rotationY, h = i.rotationX, d = i.skewX, _ = i.skewY, m = i.scaleX, c = i.scaleY, p = i.transformPerspective, y = i.force3D, v = i.target, w = i.zOrigin, x = "", g = y === "auto" && t && t !== 1 || y === !0;
2031
- if (w && (h !== Bt || f !== Bt)) {
2032
- var T = parseFloat(f) * ie, k = Math.sin(T), S = Math.cos(T), b;
2033
- T = parseFloat(h) * ie, b = Math.cos(T), s = ii(v, s, k * b * -w), a = ii(v, a, -Math.sin(T) * -w), l = ii(v, l, S * b * -w + w);
2034
- }
2035
- p !== ce && (x += "perspective(" + p + Vt), (r || n) && (x += "translate(" + r + "%, " + n + "%) "), (g || s !== ce || a !== ce || l !== ce) && (x += l !== ce || g ? "translate3d(" + s + ", " + a + ", " + l + ") " : "translate(" + s + ", " + a + Vt), u !== Bt && (x += "rotate(" + u + Vt), f !== Bt && (x += "rotateY(" + f + Vt), h !== Bt && (x += "rotateX(" + h + Vt), (d !== Bt || _ !== Bt) && (x += "skew(" + d + ", " + _ + Vt), (m !== 1 || c !== 1) && (x += "scale(" + m + ", " + c + Vt), v.style[$] = x || "translate(0, 0)";
2036
- }, Is = function(t, e) {
2037
- var i = e || this, r = i.xPercent, n = i.yPercent, s = i.x, a = i.y, l = i.rotation, u = i.skewX, f = i.skewY, h = i.scaleX, d = i.scaleY, _ = i.target, m = i.xOrigin, c = i.yOrigin, p = i.xOffset, y = i.yOffset, v = i.forceCSS, w = parseFloat(s), x = parseFloat(a), g, T, k, S, b;
2038
- l = parseFloat(l), u = parseFloat(u), f = parseFloat(f), f && (f = parseFloat(f), u += f, l += f), l || u ? (l *= ie, u *= ie, g = Math.cos(l) * h, T = Math.sin(l) * h, k = Math.sin(l - u) * -d, S = Math.cos(l - u) * d, u && (f *= ie, b = Math.tan(u - f), b = Math.sqrt(1 + b * b), k *= b, S *= b, f && (b = Math.tan(f), b = Math.sqrt(1 + b * b), g *= b, T *= b)), g = Y(g), T = Y(T), k = Y(k), S = Y(S)) : (g = h, S = d, T = k = 0), (w && !~(s + "").indexOf("px") || x && !~(a + "").indexOf("px")) && (w = Ft(_, "x", s, "px"), x = Ft(_, "y", a, "px")), (m || c || p || y) && (w = Y(w + m - (m * g + c * k) + p), x = Y(x + c - (m * T + c * S) + y)), (r || n) && (b = _.getBBox(), w = Y(w + r / 100 * b.width), x = Y(x + n / 100 * b.height)), b = "matrix(" + g + "," + T + "," + k + "," + S + "," + w + "," + x + ")", _.setAttribute("transform", b), v && (_.style[$] = b);
2039
- }, Fs = function(t, e, i, r, n) {
2040
- var s = 360, a = G(n), l = parseFloat(n) * (a && ~n.indexOf("rad") ? Ut : 1), u = l - r, f = r + u + "deg", h, d;
2041
- return a && (h = n.split("_")[1], h === "short" && (u %= s, u !== u % (s / 2) && (u += u < 0 ? s : -s)), h === "cw" && u < 0 ? u = (u + s * Ki) % s - ~~(u / s) * s : h === "ccw" && u > 0 && (u = (u - s * Ki) % s - ~~(u / s) * s)), t._pt = d = new it(t._pt, e, i, r, u, ys), d.e = f, d.u = "deg", t._props.push(i), d;
2042
- }, ir = function(t, e) {
2077
+ }, Ns = function(t, e) {
2078
+ e.z = "0px", e.rotationY = e.rotationX = "0deg", e.force3D = 0, un(t, e);
2079
+ }, Vt = "0deg", _e = "0px", Ut = ") ", un = function(t, e) {
2080
+ var i = e || this, r = i.xPercent, n = i.yPercent, s = i.x, a = i.y, l = i.z, u = i.rotation, f = i.rotationY, h = i.rotationX, _ = i.skewX, d = i.skewY, p = i.scaleX, c = i.scaleY, g = i.transformPerspective, y = i.force3D, v = i.target, w = i.zOrigin, x = "", m = y === "auto" && t && t !== 1 || y === !0;
2081
+ if (w && (h !== Vt || f !== Vt)) {
2082
+ var T = parseFloat(f) * se, k = Math.sin(T), S = Math.cos(T), b;
2083
+ T = parseFloat(h) * se, b = Math.cos(T), s = ri(v, s, k * b * -w), a = ri(v, a, -Math.sin(T) * -w), l = ri(v, l, S * b * -w + w);
2084
+ }
2085
+ g !== _e && (x += "perspective(" + g + Ut), (r || n) && (x += "translate(" + r + "%, " + n + "%) "), (m || s !== _e || a !== _e || l !== _e) && (x += l !== _e || m ? "translate3d(" + s + ", " + a + ", " + l + ") " : "translate(" + s + ", " + a + Ut), u !== Vt && (x += "rotate(" + u + Ut), f !== Vt && (x += "rotateY(" + f + Ut), h !== Vt && (x += "rotateX(" + h + Ut), (_ !== Vt || d !== Vt) && (x += "skew(" + _ + ", " + d + Ut), (p !== 1 || c !== 1) && (x += "scale(" + p + ", " + c + Ut), v.style[N] = x || "translate(0, 0)";
2086
+ }, Bs = function(t, e) {
2087
+ var i = e || this, r = i.xPercent, n = i.yPercent, s = i.x, a = i.y, l = i.rotation, u = i.skewX, f = i.skewY, h = i.scaleX, _ = i.scaleY, d = i.target, p = i.xOrigin, c = i.yOrigin, g = i.xOffset, y = i.yOffset, v = i.forceCSS, w = parseFloat(s), x = parseFloat(a), m, T, k, S, b;
2088
+ l = parseFloat(l), u = parseFloat(u), f = parseFloat(f), f && (f = parseFloat(f), u += f, l += f), l || u ? (l *= se, u *= se, m = Math.cos(l) * h, T = Math.sin(l) * h, k = Math.sin(l - u) * -_, S = Math.cos(l - u) * _, u && (f *= se, b = Math.tan(u - f), b = Math.sqrt(1 + b * b), k *= b, S *= b, f && (b = Math.tan(f), b = Math.sqrt(1 + b * b), m *= b, T *= b)), m = Y(m), T = Y(T), k = Y(k), S = Y(S)) : (m = h, S = _, T = k = 0), (w && !~(s + "").indexOf("px") || x && !~(a + "").indexOf("px")) && (w = Ft(d, "x", s, "px"), x = Ft(d, "y", a, "px")), (p || c || g || y) && (w = Y(w + p - (p * m + c * k) + g), x = Y(x + c - (p * T + c * S) + y)), (r || n) && (b = d.getBBox(), w = Y(w + r / 100 * b.width), x = Y(x + n / 100 * b.height)), b = "matrix(" + m + "," + T + "," + k + "," + S + "," + w + "," + x + ")", d.setAttribute("transform", b), v && (d.style[N] = b);
2089
+ }, Vs = function(t, e, i, r, n) {
2090
+ var s = 360, a = G(n), l = parseFloat(n) * (a && ~n.indexOf("rad") ? Yt : 1), u = l - r, f = r + u + "deg", h, _;
2091
+ return a && (h = n.split("_")[1], h === "short" && (u %= s, u !== u % (s / 2) && (u += u < 0 ? s : -s)), h === "cw" && u < 0 ? u = (u + s * Ji) % s - ~~(u / s) * s : h === "ccw" && u > 0 && (u = (u - s * Ji) % s - ~~(u / s) * s)), t._pt = _ = new it(t._pt, e, i, r, u, Ts), _.e = f, _.u = "deg", t._props.push(i), _;
2092
+ }, nr = function(t, e) {
2043
2093
  for (var i in e)
2044
2094
  t[i] = e[i];
2045
2095
  return t;
2046
- }, Ls = function(t, e, i) {
2047
- var r = ir({}, i._gsap), n = "perspective,force3D,transformOrigin,svgOrigin", s = i.style, a, l, u, f, h, d, _, m;
2048
- r.svg ? (u = i.getAttribute("transform"), i.setAttribute("transform", ""), s[$] = e, a = Pe(i, 1), It(i, $), i.setAttribute("transform", u)) : (u = getComputedStyle(i)[$], s[$] = e, a = Pe(i, 1), s[$] = u);
2096
+ }, Us = function(t, e, i) {
2097
+ var r = nr({}, i._gsap), n = "perspective,force3D,transformOrigin,svgOrigin", s = i.style, a, l, u, f, h, _, d, p;
2098
+ r.svg ? (u = i.getAttribute("transform"), i.setAttribute("transform", ""), s[N] = e, a = Pe(i, 1), It(i, N), i.setAttribute("transform", u)) : (u = getComputedStyle(i)[N], s[N] = e, a = Pe(i, 1), s[N] = u);
2049
2099
  for (l in Ct)
2050
- u = r[l], f = a[l], u !== f && n.indexOf(l) < 0 && (_ = Q(u), m = Q(f), h = _ !== m ? Ft(i, l, u, m) : parseFloat(u), d = parseFloat(f), t._pt = new it(t._pt, a, l, h, d - h, di), t._pt.u = m || 0, t._props.push(l));
2051
- ir(a, r);
2100
+ u = r[l], f = a[l], u !== f && n.indexOf(l) < 0 && (d = J(u), p = J(f), h = d !== p ? Ft(i, l, u, p) : parseFloat(u), _ = parseFloat(f), t._pt = new it(t._pt, a, l, h, _ - h, _i), t._pt.u = p || 0, t._props.push(l));
2101
+ nr(a, r);
2052
2102
  };
2053
2103
  et("padding,margin,Width,Radius", function(o, t) {
2054
2104
  var e = "Top", i = "Right", r = "Bottom", n = "Left", s = (t < 3 ? [e, i, r, n] : [e + n, e + i, r + i, r + n]).map(function(a) {
2055
2105
  return t < 2 ? o + a : "border" + a + o;
2056
2106
  });
2057
- Ve[t > 1 ? "border" + o : o] = function(a, l, u, f, h) {
2058
- var d, _;
2107
+ Ue[t > 1 ? "border" + o : o] = function(a, l, u, f, h) {
2108
+ var _, d;
2059
2109
  if (arguments.length < 4)
2060
- return d = s.map(function(m) {
2061
- return Pt(a, m, u);
2062
- }), _ = d.join(" "), _.split(d[0]).length === 5 ? d[0] : _;
2063
- d = (f + "").split(" "), _ = {}, s.forEach(function(m, c) {
2064
- return _[m] = d[c] = d[c] || d[(c - 1) / 2 | 0];
2065
- }), a.init(l, _, h);
2110
+ return _ = s.map(function(p) {
2111
+ return Ot(a, p, u);
2112
+ }), d = _.join(" "), d.split(_[0]).length === 5 ? _[0] : d;
2113
+ _ = (f + "").split(" "), d = {}, s.forEach(function(p, c) {
2114
+ return d[p] = _[c] = _[c] || _[(c - 1) / 2 | 0];
2115
+ }), a.init(l, d, h);
2066
2116
  };
2067
2117
  });
2068
- var an = {
2118
+ var fn = {
2069
2119
  name: "css",
2070
- register: pi,
2120
+ register: mi,
2071
2121
  targetTest: function(t) {
2072
2122
  return t.style && t.nodeType;
2073
2123
  },
2074
2124
  init: function(t, e, i, r, n) {
2075
- var s = this._props, a = t.style, l = i.vars.startAt, u, f, h, d, _, m, c, p, y, v, w, x, g, T, k, S, b;
2076
- zi || pi(), this.styles = this.styles || Zr(t), S = this.styles.props, this.tween = i;
2125
+ var s = this._props, a = t.style, l = i.vars.startAt, u, f, h, _, d, p, c, g, y, v, w, x, m, T, k, S, b;
2126
+ zi || mi(), this.styles = this.styles || rn(t), S = this.styles.props, this.tween = i;
2077
2127
  for (c in e)
2078
- if (c !== "autoRound" && (f = e[c], !(st[c] && Vr(c, e, i, r, t, n)))) {
2079
- if (_ = typeof f, m = Ve[c], _ === "function" && (f = f.call(i, r, t, n), _ = typeof f), _ === "string" && ~f.indexOf("random(") && (f = we(f)), m)
2080
- m(this, t, c, f, i) && (k = 1);
2128
+ if (c !== "autoRound" && (f = e[c], !(st[c] && Xr(c, e, i, r, t, n)))) {
2129
+ if (d = typeof f, p = Ue[c], d === "function" && (f = f.call(i, r, t, n), d = typeof f), d === "string" && ~f.indexOf("random(") && (f = Te(f)), p)
2130
+ p(this, t, c, f, i) && (k = 1);
2081
2131
  else if (c.substr(0, 2) === "--")
2082
- u = (getComputedStyle(t).getPropertyValue(c) + "").trim(), f += "", Et.lastIndex = 0, Et.test(u) || (p = Q(u), y = Q(f), y ? p !== y && (u = Ft(t, c, u, y) + y) : p && (f += p)), this.add(a, "setProperty", u, f, r, n, 0, 0, c), s.push(c), S.push(c, 0, a[c]);
2083
- else if (_ !== "undefined") {
2084
- if (l && c in l ? (u = typeof l[c] == "function" ? l[c].call(i, r, t, n) : l[c], G(u) && ~u.indexOf("random(") && (u = we(u)), Q(u + "") || u === "auto" || (u += ut.units[c] || Q(Pt(t, c)) || ""), (u + "").charAt(1) === "=" && (u = Pt(t, c))) : u = Pt(t, c), d = parseFloat(u), v = _ === "string" && f.charAt(1) === "=" && f.substr(0, 2), v && (f = f.substr(2)), h = parseFloat(f), c in bt && (c === "autoAlpha" && (d === 1 && Pt(t, "visibility") === "hidden" && h && (d = 0), S.push("visibility", 0, a.visibility), zt(this, a, "visibility", d ? "inherit" : "hidden", h ? "inherit" : "hidden", !h)), c !== "scale" && c !== "transform" && (c = bt[c], ~c.indexOf(",") && (c = c.split(",")[0]))), w = c in Ct, w) {
2085
- if (this.styles.save(c), b = f, _ === "string" && f.substring(0, 6) === "var(--") {
2132
+ u = (getComputedStyle(t).getPropertyValue(c) + "").trim(), f += "", Et.lastIndex = 0, Et.test(u) || (g = J(u), y = J(f), y ? g !== y && (u = Ft(t, c, u, y) + y) : g && (f += g)), this.add(a, "setProperty", u, f, r, n, 0, 0, c), s.push(c), S.push(c, 0, a[c]);
2133
+ else if (d !== "undefined") {
2134
+ if (l && c in l ? (u = typeof l[c] == "function" ? l[c].call(i, r, t, n) : l[c], G(u) && ~u.indexOf("random(") && (u = Te(u)), J(u + "") || u === "auto" || (u += ut.units[c] || J(Ot(t, c)) || ""), (u + "").charAt(1) === "=" && (u = Ot(t, c))) : u = Ot(t, c), _ = parseFloat(u), v = d === "string" && f.charAt(1) === "=" && f.substr(0, 2), v && (f = f.substr(2)), h = parseFloat(f), c in bt && (c === "autoAlpha" && (_ === 1 && Ot(t, "visibility") === "hidden" && h && (_ = 0), S.push("visibility", 0, a.visibility), At(this, a, "visibility", _ ? "inherit" : "hidden", h ? "inherit" : "hidden", !h)), c !== "scale" && c !== "transform" && (c = bt[c], ~c.indexOf(",") && (c = c.split(",")[0]))), w = c in Ct, w) {
2135
+ if (this.styles.save(c), b = f, d === "string" && f.substring(0, 6) === "var(--") {
2086
2136
  if (f = lt(t, f.substring(4, f.indexOf(")"))), f.substring(0, 5) === "calc(") {
2087
- var O = t.style.perspective;
2088
- t.style.perspective = f, f = lt(t, "perspective"), O ? t.style.perspective = O : It(t, "perspective");
2137
+ var P = t.style.perspective;
2138
+ t.style.perspective = f, f = lt(t, "perspective"), P ? t.style.perspective = P : It(t, "perspective");
2089
2139
  }
2090
2140
  h = parseFloat(f);
2091
2141
  }
2092
- if (x || (g = t._gsap, g.renderTransform && !e.parseTransform || Pe(t, e.parseTransform), T = e.smoothOrigin !== !1 && g.smooth, x = this._pt = new it(this._pt, a, $, 0, 1, g.renderTransform, g, 0, -1), x.dep = 1), c === "scale")
2093
- this._pt = new it(this._pt, g, "scaleY", g.scaleY, (v ? te(g.scaleY, v + h) : h) - g.scaleY || 0, di), this._pt.u = 0, s.push("scaleY", c), c += "X";
2142
+ if (x || (m = t._gsap, m.renderTransform && !e.parseTransform || Pe(t, e.parseTransform), T = e.smoothOrigin !== !1 && m.smooth, x = this._pt = new it(this._pt, a, N, 0, 1, m.renderTransform, m, 0, -1), x.dep = 1), c === "scale")
2143
+ this._pt = new it(this._pt, m, "scaleY", m.scaleY, (v ? re(m.scaleY, v + h) : h) - m.scaleY || 0, _i), this._pt.u = 0, s.push("scaleY", c), c += "X";
2094
2144
  else if (c === "transformOrigin") {
2095
- S.push(rt, 0, a[rt]), f = As(f), g.svg ? mi(t, f, 0, T, 0, this) : (y = parseFloat(f.split(" ")[2]) || 0, y !== g.zOrigin && zt(this, g, "zOrigin", g.zOrigin, y), zt(this, a, c, Ue(u), Ue(f)));
2145
+ S.push(rt, 0, a[rt]), f = Ls(f), m.svg ? gi(t, f, 0, T, 0, this) : (y = parseFloat(f.split(" ")[2]) || 0, y !== m.zOrigin && At(this, m, "zOrigin", m.zOrigin, y), At(this, a, c, Ye(u), Ye(f)));
2096
2146
  continue;
2097
2147
  } else if (c === "svgOrigin") {
2098
- mi(t, f, 1, T, 0, this);
2148
+ gi(t, f, 1, T, 0, this);
2099
2149
  continue;
2100
- } else if (c in rn) {
2101
- Fs(this, g, c, d, v ? te(d, v + f) : f);
2150
+ } else if (c in on) {
2151
+ Vs(this, m, c, _, v ? re(_, v + f) : f);
2102
2152
  continue;
2103
2153
  } else if (c === "smoothOrigin") {
2104
- zt(this, g, "smooth", g.smooth, f);
2154
+ At(this, m, "smooth", m.smooth, f);
2105
2155
  continue;
2106
2156
  } else if (c === "force3D") {
2107
- g[c] = f;
2157
+ m[c] = f;
2108
2158
  continue;
2109
2159
  } else if (c === "transform") {
2110
- Ls(this, f, t);
2160
+ Us(this, f, t);
2111
2161
  continue;
2112
2162
  }
2113
- } else c in a || (c = le(c) || c);
2114
- if (w || (h || h === 0) && (d || d === 0) && !gs.test(f) && c in a)
2115
- p = (u + "").substr((d + "").length), h || (h = 0), y = Q(f) || (c in ut.units ? ut.units[c] : p), p !== y && (d = Ft(t, c, u, y)), this._pt = new it(this._pt, w ? g : a, c, d, (v ? te(d, v + h) : h) - d, !w && (y === "px" || c === "zIndex") && e.autoRound !== !1 ? bs : di), this._pt.u = y || 0, w && b !== f ? (this._pt.b = u, this._pt.e = b, this._pt.r = xs) : p !== y && y !== "%" && (this._pt.b = u, this._pt.r = vs);
2163
+ } else c in a || (c = ce(c) || c);
2164
+ if (w || (h || h === 0) && (_ || _ === 0) && !ws.test(f) && c in a)
2165
+ g = (u + "").substr((_ + "").length), h || (h = 0), y = J(f) || (c in ut.units ? ut.units[c] : g), g !== y && (_ = Ft(t, c, u, y)), this._pt = new it(this._pt, w ? m : a, c, _, (v ? re(_, v + h) : h) - _, !w && (y === "px" || c === "zIndex") && e.autoRound !== !1 ? Os : _i), this._pt.u = y || 0, w && b !== f ? (this._pt.b = u, this._pt.e = b, this._pt.r = Ss) : g !== y && y !== "%" && (this._pt.b = u, this._pt.r = ks);
2116
2166
  else if (c in a)
2117
- zs.call(this, t, c, u, v ? v + f : f);
2167
+ Fs.call(this, t, c, u, v ? v + f : f);
2118
2168
  else if (c in t)
2119
2169
  this.add(t, c, u || t[c], v ? v + f : f, r, n);
2120
2170
  else if (c !== "parseTransform") {
2121
- bi(c, f);
2171
+ wi(c, f);
2122
2172
  continue;
2123
2173
  }
2124
2174
  w || (c in a ? S.push(c, 0, a[c]) : typeof t[c] == "function" ? S.push(c, 2, t[c]()) : S.push(c, 1, u || t[c])), s.push(c);
2125
2175
  }
2126
2176
  }
2127
- k && Wr(this);
2177
+ k && Jr(this);
2128
2178
  },
2129
2179
  render: function(t, e) {
2130
- if (e.tween._time || !Ai())
2180
+ if (e.tween._time || !Ei())
2131
2181
  for (var i = e._pt; i; )
2132
2182
  i.r(t, i.d), i = i._next;
2133
2183
  else
2134
2184
  e.styles.revert();
2135
2185
  },
2136
- get: Pt,
2186
+ get: Ot,
2137
2187
  aliases: bt,
2138
2188
  getSetter: function(t, e, i) {
2139
2189
  var r = bt[e];
2140
- return r && r.indexOf(",") < 0 && (e = r), e in Ct && e !== rt && (t._gsap.x || Pt(t, "x")) ? i && Gi === i ? e === "scale" ? Ss : ks : (Gi = i || {}) && (e === "scale" ? Ps : Os) : t.style && !yi(t.style[e]) ? ws : ~e.indexOf("-") ? Ts : Mi(t, e);
2190
+ return r && r.indexOf(",") < 0 && (e = r), e in Ct && e !== rt && (t._gsap.x || Ot(t, "x")) ? i && Ki === i ? e === "scale" ? Ds : Ms : (Ki = i || {}) && (e === "scale" ? As : zs) : t.style && !vi(t.style[e]) ? Ps : ~e.indexOf("-") ? Cs : Di(t, e);
2141
2191
  },
2142
2192
  core: {
2143
2193
  _removeProperty: It,
2144
- _getMatrix: Ri
2194
+ _getMatrix: Ii
2145
2195
  }
2146
2196
  };
2147
- nt.utils.checkPrefix = le;
2148
- nt.core.getStyleSaver = Zr;
2197
+ nt.utils.checkPrefix = ce;
2198
+ nt.core.getStyleSaver = rn;
2149
2199
  (function(o, t, e, i) {
2150
2200
  var r = et(o + "," + t + "," + e, function(n) {
2151
2201
  Ct[n] = 1;
2152
2202
  });
2153
2203
  et(t, function(n) {
2154
- ut.units[n] = "deg", rn[n] = 1;
2204
+ ut.units[n] = "deg", on[n] = 1;
2155
2205
  }), bt[r[13]] = o + "," + t, et(i, function(n) {
2156
2206
  var s = n.split(":");
2157
2207
  bt[s[1]] = r[s[0]];
@@ -2160,60 +2210,57 @@ nt.core.getStyleSaver = Zr;
2160
2210
  et("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(o) {
2161
2211
  ut.units[o] = "px";
2162
2212
  });
2163
- nt.registerPlugin(an);
2164
- var yt = nt.registerPlugin(an) || nt;
2213
+ nt.registerPlugin(fn);
2214
+ var yt = nt.registerPlugin(fn) || nt;
2165
2215
  yt.core.Tween;
2166
- const Ns = { class: "h-full w-full relative flex flex-col bg-[#030303] text-white overflow-hidden" }, $s = { class: "absolute inset-0 z-0 overflow-hidden pointer-events-none" }, Bs = {
2216
+ const Ys = { class: "h-full w-full relative flex flex-col bg-[#030303] text-white overflow-hidden" }, qs = { class: "absolute inset-0 z-0 overflow-hidden pointer-events-none" }, Xs = {
2167
2217
  key: 0,
2168
2218
  class: "absolute top-0 right-0 p-6 z-50 flex gap-4 pointer-events-auto"
2169
- }, Vs = {
2170
- key: 0,
2171
- class: "absolute right-0 top-0 h-full w-full md:w-[450px] bg-[#0a0a0a]/95 backdrop-blur-2xl border-l border-white/10 z-[100] p-6 shadow-2xl overflow-auto text-left"
2172
- }, Us = { class: "text-[10px] font-mono text-green-400 whitespace-pre-wrap" }, Ys = { class: "flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth" }, qs = {
2219
+ }, js = { class: "relative h-full w-full md:w-[450px] bg-[#0a0a0a]/95 border-l border-white/10 shadow-2xl overflow-auto text-left flex flex-col transform transition-transform duration-300" }, Ws = { class: "p-6 pb-2 border-b border-white/5 flex items-center justify-between shrink-0" }, Gs = { class: "p-6" }, Hs = { class: "text-[10px] font-mono text-green-400 whitespace-pre-wrap" }, Ks = { class: "flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth" }, Js = {
2173
2220
  key: 1,
2174
2221
  class: "absolute bottom-0 left-0 w-full z-40 px-8 py-6 bg-gradient-to-t from-black via-black/80 to-transparent flex justify-between items-end pointer-events-none"
2175
- }, Xs = {
2222
+ }, Qs = {
2176
2223
  key: 0,
2177
2224
  class: "pointer-events-auto text-left"
2178
- }, js = { class: "text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1" }, Ws = { class: "flex items-center gap-2 text-white/50 text-sm font-mono" }, Gs = {
2225
+ }, Zs = { class: "text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1" }, ta = { class: "flex items-center gap-2 text-white/50 text-sm font-mono" }, ea = {
2179
2226
  key: 0,
2180
2227
  class: "h-px w-8 bg-white/20"
2181
- }, Ks = {
2228
+ }, ia = {
2182
2229
  key: 1,
2183
2230
  class: "flex-1"
2184
- }, Hs = {
2231
+ }, ra = {
2185
2232
  key: 2,
2186
2233
  class: "pointer-events-auto flex gap-3"
2187
- }, Qs = ["disabled"], Zs = ["disabled"], Js = /* @__PURE__ */ Kt({
2234
+ }, na = ["disabled"], sa = ["disabled"], aa = /* @__PURE__ */ Lt({
2188
2235
  __name: "LuminaDeck",
2189
2236
  setup(o) {
2190
- const { slide: t, index: e, total: i, next: r, prev: n, options: s } = gn(), a = Ye(Oe), l = mt(() => a.hasNext()), u = mt(() => a.hasPrev()), f = mt(() => {
2191
- var x, g;
2192
- return (g = (x = a.state.deck) == null ? void 0 : x.meta) == null ? void 0 : g.title;
2193
- }), h = mt(() => a.state.options.ui), d = mt(() => a.state.options.navigation);
2194
- yn();
2195
- const _ = ar({ showJson: !1 }), m = mt(() => s.debug), c = mt(() => !t.value || !t.value.type ? null : `layout-${t.value.type}`), p = mt(() => {
2196
- var x, g, T, k, S, b, O, M;
2237
+ const { slide: t, index: e, total: i, next: r, prev: n, options: s } = wn(), a = qe(Ce), l = dt(() => a.hasNext()), u = dt(() => a.hasPrev()), f = dt(() => {
2238
+ var x, m;
2239
+ return (m = (x = a.state.deck) == null ? void 0 : x.meta) == null ? void 0 : m.title;
2240
+ }), h = dt(() => a.state.options.ui), _ = dt(() => a.state.options.navigation);
2241
+ Tn();
2242
+ const d = lr({ showJson: !1 }), p = dt(() => s.debug), c = dt(() => !t.value || !t.value.type ? null : `layout-${t.value.type}`), g = dt(() => {
2243
+ var x, m, T, k, S, b, P, M;
2197
2244
  return {
2198
- backgroundColor: ((g = (x = t.value) == null ? void 0 : x.meta) == null ? void 0 : g.orbColor) || "#3b82f6",
2245
+ backgroundColor: ((m = (x = t.value) == null ? void 0 : x.meta) == null ? void 0 : m.orbColor) || "#3b82f6",
2199
2246
  width: "60vw",
2200
2247
  height: "60vw",
2201
2248
  top: ((S = (k = (T = t.value) == null ? void 0 : T.meta) == null ? void 0 : k.orbPos) == null ? void 0 : S.top) || "-20%",
2202
- left: ((M = (O = (b = t.value) == null ? void 0 : b.meta) == null ? void 0 : O.orbPos) == null ? void 0 : M.left) || "-10%"
2249
+ left: ((M = (P = (b = t.value) == null ? void 0 : b.meta) == null ? void 0 : P.orbPos) == null ? void 0 : M.left) || "-10%"
2203
2250
  };
2204
2251
  }), y = (x) => {
2205
- _e.emit("action", x);
2206
- }, v = (x, g) => {
2252
+ Zt.emit("action", x);
2253
+ }, v = (x, m) => {
2207
2254
  const T = x;
2208
- T.style.opacity = "1", g();
2209
- }, w = (x, g) => {
2210
- var O, M, D;
2255
+ T.style.opacity = "1", m();
2256
+ }, w = (x, m) => {
2257
+ var P, M, D;
2211
2258
  const { options: T } = a.state;
2212
- if (((O = T.animation) == null ? void 0 : O.enabled) === !1) {
2213
- g();
2259
+ if (((P = T.animation) == null ? void 0 : P.enabled) === !1) {
2260
+ m();
2214
2261
  return;
2215
2262
  }
2216
- const k = ((M = T.animation) == null ? void 0 : M.durationOut) || 0.5, S = ((D = T.animation) == null ? void 0 : D.type) || "cascade", b = yt.timeline({ onComplete: g });
2263
+ const k = ((M = T.animation) == null ? void 0 : M.durationOut) || 0.5, S = ((D = T.animation) == null ? void 0 : D.type) || "cascade", b = yt.timeline({ onComplete: m });
2217
2264
  S === "fade" ? b.to(x, { opacity: 0, duration: k }) : S === "zoom" ? b.to(x, { opacity: 0, scale: 1.1, duration: k }) : b.to(x, {
2218
2265
  opacity: 0,
2219
2266
  y: -20,
@@ -2222,45 +2269,66 @@ const Ns = { class: "h-full w-full relative flex flex-col bg-[#030303] text-whit
2222
2269
  ease: "power2.in"
2223
2270
  });
2224
2271
  };
2225
- return (x, g) => {
2272
+ return (x, m) => {
2226
2273
  var T, k, S, b;
2227
- return z(), B("div", Ns, [
2228
- P("div", $s, [
2229
- P("div", {
2274
+ return A(), B("div", Ys, [
2275
+ O("div", qs, [
2276
+ O("div", {
2230
2277
  class: "ambient-orb",
2231
- style: or(p.value)
2278
+ style: ur(g.value)
2232
2279
  }, null, 4),
2233
- g[3] || (g[3] = P("div", {
2280
+ m[6] || (m[6] = O("div", {
2234
2281
  class: "absolute inset-0 opacity-[0.04]",
2235
2282
  style: { "background-image": "url('https://grainy-gradients.vercel.app/noise.svg')" }
2236
2283
  }, null, -1))
2237
2284
  ]),
2238
- m.value ? (z(), B("div", Bs, [
2239
- P("button", {
2240
- onClick: g[0] || (g[0] = (O) => _.value.showJson = !_.value.showJson),
2285
+ p.value ? (A(), B("div", Xs, [
2286
+ O("button", {
2287
+ onClick: m[0] || (m[0] = (P) => d.value.showJson = !d.value.showJson),
2241
2288
  class: "w-8 h-8 rounded-full glass-panel flex items-center justify-center text-gray-400 hover:text-white transition",
2242
2289
  title: "JSON"
2243
- }, [...g[4] || (g[4] = [
2244
- P("i", { class: "fa-solid fa-code text-xs" }, null, -1)
2290
+ }, [...m[7] || (m[7] = [
2291
+ O("i", { class: "fa-solid fa-code text-xs" }, null, -1)
2245
2292
  ])])
2246
2293
  ])) : gt("", !0),
2247
- Fi(Li, { name: "slide-fade" }, {
2248
- default: Gt(() => [
2249
- _.value.showJson ? (z(), B("div", Vs, [
2250
- P("pre", Us, I(JSON.stringify(kt(t), null, 2)), 1)
2294
+ Li($i, { name: "fade" }, {
2295
+ default: Ht(() => [
2296
+ d.value.showJson ? (A(), B("div", {
2297
+ key: 0,
2298
+ class: "fixed inset-0 z-[100] flex justify-end",
2299
+ onClick: m[3] || (m[3] = pn((P) => d.value.showJson = !1, ["self"]))
2300
+ }, [
2301
+ O("div", {
2302
+ class: "absolute inset-0 bg-black/20 backdrop-blur-sm transition-opacity",
2303
+ onClick: m[1] || (m[1] = (P) => d.value.showJson = !1)
2304
+ }),
2305
+ O("div", js, [
2306
+ O("div", Ws, [
2307
+ m[9] || (m[9] = O("span", { class: "text-xs font-bold text-gray-400 uppercase tracking-widest" }, "Slide Data", -1)),
2308
+ O("button", {
2309
+ onClick: m[2] || (m[2] = (P) => d.value.showJson = !1),
2310
+ class: "w-8 h-8 rounded-full bg-white/5 hover:bg-white/10 flex items-center justify-center text-white/50 hover:text-white transition"
2311
+ }, [...m[8] || (m[8] = [
2312
+ O("i", { class: "fa-solid fa-xmark" }, null, -1)
2313
+ ])])
2314
+ ]),
2315
+ O("div", Gs, [
2316
+ O("pre", Hs, I(JSON.stringify(kt(t), null, 2)), 1)
2317
+ ])
2318
+ ])
2251
2319
  ])) : gt("", !0)
2252
2320
  ]),
2253
2321
  _: 1
2254
2322
  }),
2255
- P("main", Ys, [
2256
- Fi(Li, {
2323
+ O("main", Ks, [
2324
+ Li($i, {
2257
2325
  css: !1,
2258
2326
  onLeave: w,
2259
2327
  onEnter: v,
2260
2328
  mode: "out-in"
2261
2329
  }, {
2262
- default: Gt(() => [
2263
- c.value ? (z(), ue(hn(c.value), {
2330
+ default: Ht(() => [
2331
+ c.value ? (A(), Kt(fr(c.value), {
2264
2332
  key: kt(e),
2265
2333
  data: kt(t),
2266
2334
  onAction: y,
@@ -2270,40 +2338,40 @@ const Ns = { class: "h-full w-full relative flex flex-col bg-[#030303] text-whit
2270
2338
  _: 1
2271
2339
  })
2272
2340
  ]),
2273
- (T = h.value) != null && T.visible ? (z(), B("div", qs, [
2274
- (k = h.value) != null && k.showSlideCount ? (z(), B("div", Xs, [
2275
- P("h2", js, I(f.value), 1),
2276
- P("div", Ws, [
2277
- P("span", null, I((kt(e) + 1).toString().padStart(2, "0")), 1),
2278
- (S = h.value) != null && S.showProgressBar ? (z(), B("div", Gs)) : gt("", !0),
2279
- P("span", null, I(kt(i).toString().padStart(2, "0")), 1)
2341
+ (T = h.value) != null && T.visible ? (A(), B("div", Js, [
2342
+ (k = h.value) != null && k.showSlideCount ? (A(), B("div", Qs, [
2343
+ O("h2", Zs, I(f.value), 1),
2344
+ O("div", ta, [
2345
+ O("span", null, I((kt(e) + 1).toString().padStart(2, "0")), 1),
2346
+ (S = h.value) != null && S.showProgressBar ? (A(), B("div", ea)) : gt("", !0),
2347
+ O("span", null, I(kt(i).toString().padStart(2, "0")), 1)
2280
2348
  ])
2281
- ])) : (z(), B("div", Ks)),
2282
- (b = h.value) != null && b.showControls ? (z(), B("div", Hs, [
2283
- P("button", {
2284
- onClick: g[1] || (g[1] = //@ts-ignore
2285
- (...O) => kt(n) && kt(n)(...O)),
2286
- class: U(["w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95", !u.value || !d.value ? "opacity-30 cursor-not-allowed" : ""]),
2287
- disabled: !u.value || !d.value
2288
- }, [...g[5] || (g[5] = [
2289
- P("i", { class: "fa-solid fa-arrow-left" }, null, -1)
2290
- ])], 10, Qs),
2291
- P("button", {
2292
- onClick: g[2] || (g[2] = //@ts-ignore
2293
- (...O) => kt(r) && kt(r)(...O)),
2294
- class: U(["w-12 h-12 rounded-full bg-white text-black hover:scale-105 flex items-center justify-center transition shadow-lg active:scale-95", !l.value || !d.value ? "opacity-30 cursor-not-allowed" : ""]),
2295
- disabled: !l.value || !d.value
2296
- }, [...g[6] || (g[6] = [
2297
- P("i", { class: "fa-solid fa-arrow-right" }, null, -1)
2298
- ])], 10, Zs)
2349
+ ])) : (A(), B("div", ia)),
2350
+ (b = h.value) != null && b.showControls ? (A(), B("div", ra, [
2351
+ O("button", {
2352
+ onClick: m[4] || (m[4] = //@ts-ignore
2353
+ (...P) => kt(n) && kt(n)(...P)),
2354
+ class: U(["w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95", !u.value || !_.value ? "opacity-30 cursor-not-allowed" : ""]),
2355
+ disabled: !u.value || !_.value
2356
+ }, [...m[10] || (m[10] = [
2357
+ O("i", { class: "fa-solid fa-arrow-left" }, null, -1)
2358
+ ])], 10, na),
2359
+ O("button", {
2360
+ onClick: m[5] || (m[5] = //@ts-ignore
2361
+ (...P) => kt(r) && kt(r)(...P)),
2362
+ class: U(["w-12 h-12 rounded-full bg-white text-black hover:scale-105 flex items-center justify-center transition shadow-lg active:scale-95", !l.value || !_.value ? "opacity-30 cursor-not-allowed" : ""]),
2363
+ disabled: !l.value || !_.value
2364
+ }, [...m[11] || (m[11] = [
2365
+ O("i", { class: "fa-solid fa-arrow-right" }, null, -1)
2366
+ ])], 10, sa)
2299
2367
  ])) : gt("", !0)
2300
2368
  ])) : gt("", !0)
2301
2369
  ]);
2302
2370
  };
2303
2371
  }
2304
2372
  });
2305
- function ta(o, t) {
2306
- const e = Ye(Oe);
2373
+ function oa(o, t) {
2374
+ const e = qe(Ce);
2307
2375
  let i = null;
2308
2376
  const r = () => {
2309
2377
  if (!o.value || !e) return;
@@ -2319,42 +2387,42 @@ function ta(o, t) {
2319
2387
  return;
2320
2388
  }
2321
2389
  i = yt.context(() => {
2322
- const f = o.value, h = s === "fade", d = s === "slide", _ = s === "zoom", m = h ? 0 : d ? 80 : 40, c = _ ? 0.8 : s === "cascade" ? 0.95 : 1;
2323
- yt.set(".reveal-up", { y: m, opacity: 0 }), yt.set(".reveal-zoom", { scale: c, opacity: 0 }), yt.set(".reveal-content > *", { y: h ? 0 : 30, opacity: 0 }), yt.set(".reveal-card", { y: h ? 0 : 50, opacity: 0, scale: c }), yt.set(".reveal-img", { scale: 1.1, opacity: 0 });
2324
- const p = yt.timeline({
2390
+ const f = o.value, h = s === "fade", _ = s === "slide", d = s === "zoom", p = h ? 0 : _ ? 80 : 40, c = d ? 0.8 : s === "cascade" ? 0.95 : 1;
2391
+ yt.set(".reveal-up", { y: p, opacity: 0 }), yt.set(".reveal-zoom", { scale: c, opacity: 0 }), yt.set(".reveal-content > *", { y: h ? 0 : 30, opacity: 0 }), yt.set(".reveal-card", { y: h ? 0 : 50, opacity: 0, scale: c }), yt.set(".reveal-img", { scale: 1.1, opacity: 0 });
2392
+ const g = yt.timeline({
2325
2393
  defaults: {
2326
2394
  ease: u || "power3.out",
2327
2395
  duration: a || 0.8
2328
2396
  },
2329
2397
  onComplete: t
2330
2398
  });
2331
- f.querySelector(".reveal-img") && p.to(".reveal-img", {
2399
+ f.querySelector(".reveal-img") && g.to(".reveal-img", {
2332
2400
  scale: 1,
2333
2401
  opacity: 1,
2334
2402
  duration: (a || 1) * 1.2,
2335
2403
  ease: "expo.out"
2336
2404
  }, 0);
2337
2405
  const y = a || 0.8, v = l || 0.1;
2338
- f.querySelectorAll(".reveal-card").length && p.to(".reveal-card", {
2406
+ f.querySelectorAll(".reveal-card").length && g.to(".reveal-card", {
2339
2407
  y: 0,
2340
2408
  opacity: 1,
2341
2409
  scale: 1,
2342
2410
  duration: y,
2343
2411
  stagger: v,
2344
- ease: d ? "expo.out" : "back.out(1.2)"
2412
+ ease: _ ? "expo.out" : "back.out(1.2)"
2345
2413
  }, 0.2);
2346
2414
  const w = f.querySelectorAll(".reveal-content > *");
2347
- w.length && p.to(w, {
2415
+ w.length && g.to(w, {
2348
2416
  y: 0,
2349
2417
  opacity: 1,
2350
2418
  duration: y,
2351
2419
  stagger: v / 2
2352
- }, 0.3), f.querySelectorAll(".reveal-up").length && p.to(".reveal-up", {
2420
+ }, 0.3), f.querySelectorAll(".reveal-up").length && g.to(".reveal-up", {
2353
2421
  y: 0,
2354
2422
  opacity: 1,
2355
2423
  duration: y,
2356
2424
  stagger: v
2357
- }, 0.2), f.querySelector(".reveal-zoom") && p.to(".reveal-zoom", {
2425
+ }, 0.2), f.querySelector(".reveal-zoom") && g.to(".reveal-zoom", {
2358
2426
  scale: 1,
2359
2427
  opacity: 1,
2360
2428
  duration: y * 1.2,
@@ -2362,117 +2430,117 @@ function ta(o, t) {
2362
2430
  }, 0.1);
2363
2431
  }, o);
2364
2432
  };
2365
- return nr(() => {
2366
- cn(() => {
2433
+ return ar(() => {
2434
+ mn(() => {
2367
2435
  r();
2368
2436
  });
2369
- }), sr(() => {
2437
+ }), or(() => {
2370
2438
  i == null || i.revert();
2371
2439
  }), { animateIn: r };
2372
2440
  }
2373
- const ea = { class: "absolute inset-0 z-0 pointer-events-none" }, ia = { class: "relative z-10 w-full h-full" }, Me = /* @__PURE__ */ Kt({
2441
+ const la = { class: "absolute inset-0 z-0 pointer-events-none" }, ua = { class: "relative z-10 w-full h-full" }, De = /* @__PURE__ */ Lt({
2374
2442
  __name: "BaseSlide",
2375
2443
  props: {
2376
2444
  data: {},
2377
2445
  customClass: {}
2378
2446
  },
2379
2447
  setup(o) {
2380
- const t = ar(null);
2381
- return ta(t), (e, i) => (z(), B("div", {
2448
+ const t = lr(null);
2449
+ return oa(t), (e, i) => (A(), B("div", {
2382
2450
  ref_key: "container",
2383
2451
  ref: t,
2384
2452
  class: U(["w-full min-h-full relative text-white", o.customClass])
2385
2453
  }, [
2386
- P("div", ea, [
2454
+ O("div", la, [
2387
2455
  Ni(e.$slots, "background")
2388
2456
  ]),
2389
- P("div", ia, [
2457
+ O("div", ua, [
2390
2458
  Ni(e.$slots, "default")
2391
2459
  ])
2392
2460
  ], 2));
2393
2461
  }
2394
- }), ra = { class: "reveal-zoom max-w-5xl z-10" }, na = {
2462
+ }), fa = { class: "reveal-zoom max-w-5xl z-10" }, ca = {
2395
2463
  key: 0,
2396
2464
  class: "inline-block px-4 py-1 rounded-full border border-white/10 bg-white/5 text-sm font-medium tracking-widest uppercase mb-10 text-[var(--lumina-primary)]",
2397
2465
  style: { color: "var(--lumina-colors-primary, #3b82f6)" }
2398
- }, sa = {
2466
+ }, ha = {
2399
2467
  key: 1,
2400
2468
  class: "text-xl md:text-3xl font-light max-w-3xl mx-auto leading-normal",
2401
2469
  style: { color: "var(--lumina-colors-muted, #9ca3af)" }
2402
- }, aa = /* @__PURE__ */ Kt({
2470
+ }, da = /* @__PURE__ */ Lt({
2403
2471
  __name: "LayoutStatement",
2404
2472
  props: {
2405
2473
  data: {}
2406
2474
  },
2407
2475
  setup(o) {
2408
- return (t, e) => (z(), ue(Me, { data: o.data }, {
2409
- default: Gt(() => [
2410
- P("div", {
2411
- class: U(["flex flex-col justify-center items-center text-center p-8 relative", o.data.sizing === "container" ? "min-h-full" : "min-h-screen"])
2476
+ return (t, e) => (A(), Kt(De, { data: o.data }, {
2477
+ default: Ht(() => [
2478
+ O("div", {
2479
+ class: U(["flex flex-col justify-center items-center text-center p-8 relative", o.data.sizing === "container" ? "h-full" : "min-h-screen"])
2412
2480
  }, [
2413
- P("div", ra, [
2414
- o.data.tag ? (z(), B("span", na, I(o.data.tag), 1)) : gt("", !0),
2415
- P("h1", {
2481
+ O("div", fa, [
2482
+ o.data.tag ? (A(), B("span", ca, I(o.data.tag), 1)) : gt("", !0),
2483
+ O("h1", {
2416
2484
  class: "font-heading font-bold leading-[0.9] tracking-tight mb-8 text-transparent bg-clip-text bg-gradient-to-b from-white to-gray-500",
2417
- style: or(o.data.sizing === "container" ? "font-size: 3.5rem;" : "font-size: clamp(3rem, 10vw, 8rem);")
2485
+ style: ur(o.data.sizing === "container" ? "font-size: 3.5rem;" : "font-size: clamp(3rem, 10vw, 8rem);")
2418
2486
  }, I(o.data.title), 5),
2419
- o.data.subtitle ? (z(), B("p", sa, I(o.data.subtitle), 1)) : gt("", !0)
2487
+ o.data.subtitle ? (A(), B("p", ha, I(o.data.subtitle), 1)) : gt("", !0)
2420
2488
  ])
2421
2489
  ], 2)
2422
2490
  ]),
2423
2491
  _: 1
2424
2492
  }, 8, ["data"]));
2425
2493
  }
2426
- }), oa = ["src"], la = { class: "reveal-content max-w-xl" }, ua = {
2494
+ }), _a = ["src"], pa = { class: "reveal-content max-w-xl" }, ma = {
2427
2495
  class: "text-xs font-bold uppercase tracking-[0.2em] mb-6 block",
2428
2496
  style: { color: "var(--lumina-colors-primary, #3b82f6)" }
2429
- }, fa = { class: "text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white" }, ha = {
2497
+ }, ga = { class: "text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white" }, ya = {
2430
2498
  class: "space-y-6 text-lg leading-relaxed font-light mb-10",
2431
2499
  style: { color: "var(--lumina-colors-muted, #9ca3af)" }
2432
- }, ca = {
2500
+ }, va = {
2433
2501
  key: 0,
2434
2502
  class: "pt-6 border-t border-white/10"
2435
- }, da = /* @__PURE__ */ Kt({
2503
+ }, xa = /* @__PURE__ */ Lt({
2436
2504
  __name: "LayoutHalf",
2437
2505
  props: {
2438
2506
  data: {}
2439
2507
  },
2440
2508
  emits: ["action"],
2441
2509
  setup(o) {
2442
- return (t, e) => (z(), ue(Me, {
2510
+ return (t, e) => (A(), Kt(De, {
2443
2511
  data: o.data,
2444
2512
  customClass: "bg-[var(--lumina-bg)]"
2445
2513
  }, {
2446
- default: Gt(() => [
2447
- P("div", {
2514
+ default: Ht(() => [
2515
+ O("div", {
2448
2516
  class: U(["w-full flex flex-col lg:block relative", o.data.sizing === "container" ? "min-h-full" : "min-h-screen"])
2449
2517
  }, [
2450
- P("div", {
2451
- class: U(["relative h-[40vh] lg:h-full lg:w-1/2 lg:fixed lg:top-0 overflow-hidden z-0", o.data.imageSide === "right" ? "lg:right-0 order-1" : "lg:left-0 order-1"])
2518
+ O("div", {
2519
+ class: U(["relative h-[40vh] lg:h-full lg:w-1/2 overflow-hidden z-0", o.data.sizing === "container" ? "lg:absolute lg:top-0" : "lg:fixed lg:top-0", o.data.imageSide === "right" ? "lg:right-0 order-1" : "lg:left-0 order-1"])
2452
2520
  }, [
2453
- e[1] || (e[1] = P("div", { class: "absolute inset-0 bg-black/20 z-10" }, null, -1)),
2454
- P("img", {
2521
+ e[1] || (e[1] = O("div", { class: "absolute inset-0 bg-black/20 z-10" }, null, -1)),
2522
+ O("img", {
2455
2523
  src: o.data.image,
2456
2524
  class: "w-full h-full object-cover reveal-img scale-110 origin-center",
2457
2525
  alt: "Slide Image"
2458
- }, null, 8, oa)
2526
+ }, null, 8, _a)
2459
2527
  ], 2),
2460
- P("div", {
2528
+ O("div", {
2461
2529
  class: U(["relative z-10 w-full lg:w-1/2 min-h-[60vh] flex flex-col justify-center p-8 lg:p-24 order-2 bg-[#050505]", o.data.imageSide === "right" ? "lg:mr-[50%]" : "lg:ml-[50%]", o.data.sizing === "container" ? "lg:min-h-full" : "lg:min-h-screen"])
2462
2530
  }, [
2463
- P("div", la, [
2464
- P("span", ua, I(o.data.tag), 1),
2465
- P("h1", fa, I(o.data.title), 1),
2466
- P("div", ha, [
2467
- (z(!0), B(qe, null, Xe(o.data.paragraphs, (i, r) => (z(), B("p", { key: r }, I(i), 1))), 128))
2531
+ O("div", pa, [
2532
+ O("span", ma, I(o.data.tag), 1),
2533
+ O("h1", ga, I(o.data.title), 1),
2534
+ O("div", ya, [
2535
+ (A(!0), B(Xe, null, je(o.data.paragraphs, (i, r) => (A(), B("p", { key: r }, I(i), 1))), 128))
2468
2536
  ]),
2469
- o.data.cta ? (z(), B("div", ca, [
2470
- P("button", {
2537
+ o.data.cta ? (A(), B("div", va, [
2538
+ O("button", {
2471
2539
  onClick: e[0] || (e[0] = (i) => t.$emit("action", { type: "cta", label: o.data.cta })),
2472
2540
  class: "px-8 py-4 bg-white text-black font-bold rounded-lg hover:bg-gray-200 transition flex items-center gap-3"
2473
2541
  }, [
2474
- dn(I(o.data.cta) + " ", 1),
2475
- e[2] || (e[2] = P("i", { class: "fa-solid fa-arrow-right" }, null, -1))
2542
+ gn(I(o.data.cta) + " ", 1),
2543
+ e[2] || (e[2] = O("i", { class: "fa-solid fa-arrow-right" }, null, -1))
2476
2544
  ])
2477
2545
  ])) : gt("", !0)
2478
2546
  ])
@@ -2482,45 +2550,45 @@ const ea = { class: "absolute inset-0 z-0 pointer-events-none" }, ia = { class:
2482
2550
  _: 1
2483
2551
  }, 8, ["data"]));
2484
2552
  }
2485
- }), _a = { class: "mb-16 reveal-up text-center lg:text-left max-w-4xl" }, pa = /* @__PURE__ */ Kt({
2553
+ }), ba = { class: "mb-16 reveal-up text-center lg:text-left max-w-4xl" }, wa = /* @__PURE__ */ Lt({
2486
2554
  __name: "LayoutFeatures",
2487
2555
  props: {
2488
2556
  data: {}
2489
2557
  },
2490
2558
  setup(o) {
2491
- return (t, e) => (z(), ue(Me, { data: o.data }, {
2492
- default: Gt(() => [
2493
- P("div", {
2559
+ return (t, e) => (A(), Kt(De, { data: o.data }, {
2560
+ default: Ht(() => [
2561
+ O("div", {
2494
2562
  class: U(["w-full flex flex-col justify-center p-8 lg:p-24", o.data.sizing === "container" ? "min-h-full" : "min-h-screen"])
2495
2563
  }, [
2496
- P("div", _a, [
2497
- P("h2", {
2564
+ O("div", ba, [
2565
+ O("h2", {
2498
2566
  class: U(["font-heading font-bold mb-4", o.data.sizing === "container" ? "text-3xl" : "text-5xl"])
2499
2567
  }, I(o.data.title), 3),
2500
- P("p", {
2568
+ O("p", {
2501
2569
  class: U([o.data.sizing === "container" ? "text-sm" : "text-xl"]),
2502
2570
  style: { color: "var(--lumina-colors-muted, #9ca3af)" }
2503
2571
  }, I(o.data.description), 3)
2504
2572
  ]),
2505
- P("div", {
2573
+ O("div", {
2506
2574
  class: U(["grid w-full", o.data.sizing === "container" ? "grid-cols-1 gap-3" : "grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"])
2507
2575
  }, [
2508
- (z(!0), B(qe, null, Xe(o.data.features, (i, r) => (z(), B("div", {
2576
+ (A(!0), B(Xe, null, je(o.data.features, (i, r) => (A(), B("div", {
2509
2577
  key: r,
2510
2578
  class: U(["glass-panel rounded-3xl hover:bg-white/5 transition duration-500 reveal-card group border-t border-white/5 hover:border-blue-500/50", o.data.sizing === "container" ? "p-6" : "p-8"])
2511
2579
  }, [
2512
- P("div", {
2580
+ O("div", {
2513
2581
  class: U(["rounded-xl bg-white/5 flex items-center justify-center text-xl mb-6 group-hover:scale-110 transition duration-300", o.data.sizing === "container" ? "w-10 h-10 mb-4" : "w-12 h-12 mb-6"]),
2514
2582
  style: { color: "var(--lumina-colors-primary, #3b82f6)" }
2515
2583
  }, [
2516
- P("i", {
2517
- class: U(["fa-solid", i.icon])
2584
+ O("i", {
2585
+ class: U(["fa-solid", i.icon.startsWith("fa-") ? i.icon : `fa-${i.icon}`])
2518
2586
  }, null, 2)
2519
2587
  ], 2),
2520
- P("h3", {
2588
+ O("h3", {
2521
2589
  class: U(["font-bold mb-3 text-white", o.data.sizing === "container" ? "text-lg" : "text-2xl"])
2522
2590
  }, I(i.title), 3),
2523
- P("p", {
2591
+ O("p", {
2524
2592
  class: U(["leading-relaxed", [o.data.sizing === "container" ? "text-sm" : ""]]),
2525
2593
  style: { color: "var(--lumina-colors-muted, #9ca3af)" }
2526
2594
  }, I(i.desc), 3)
@@ -2531,42 +2599,42 @@ const ea = { class: "absolute inset-0 z-0 pointer-events-none" }, ia = { class:
2531
2599
  _: 1
2532
2600
  }, 8, ["data"]));
2533
2601
  }
2534
- }), ma = { class: "text-center mb-16 reveal-up" }, ga = { class: "text-5xl font-heading font-bold mb-4" }, ya = {
2602
+ }), Ta = { class: "text-center mb-16 reveal-up" }, ka = { class: "text-5xl font-heading font-bold mb-4" }, Sa = {
2535
2603
  key: 0,
2536
2604
  class: "text-xl opacity-60"
2537
- }, va = { class: "relative max-w-4xl mx-auto w-full" }, xa = { class: "space-y-12" }, ba = { class: "text-sm font-bold tracking-widest uppercase text-blue-400 mb-1" }, wa = { class: "text-2xl font-bold" }, Ta = { class: "text-lg opacity-60 leading-relaxed" }, ka = /* @__PURE__ */ Kt({
2605
+ }, Oa = { class: "relative max-w-4xl mx-auto w-full" }, Pa = { class: "space-y-12" }, Ca = { class: "text-sm font-bold tracking-widest uppercase text-blue-400 mb-1" }, Ma = { class: "text-2xl font-bold" }, Da = { class: "text-lg opacity-60 leading-relaxed" }, Aa = /* @__PURE__ */ Lt({
2538
2606
  __name: "LayoutTimeline",
2539
2607
  props: {
2540
2608
  data: {}
2541
2609
  },
2542
2610
  setup(o) {
2543
- return (t, e) => (z(), ue(Me, { data: o.data }, {
2544
- default: Gt(() => [
2545
- P("div", {
2611
+ return (t, e) => (A(), Kt(De, { data: o.data }, {
2612
+ default: Ht(() => [
2613
+ O("div", {
2546
2614
  class: U(["w-full flex flex-col justify-center p-8 lg:p-24", o.data.sizing === "container" ? "min-h-full py-12 lg:py-16" : "min-h-screen"])
2547
2615
  }, [
2548
- P("div", ma, [
2549
- P("h2", ga, I(o.data.title), 1),
2550
- o.data.subtitle ? (z(), B("p", ya, I(o.data.subtitle), 1)) : gt("", !0)
2616
+ O("div", Ta, [
2617
+ O("h2", ka, I(o.data.title), 1),
2618
+ o.data.subtitle ? (A(), B("p", Sa, I(o.data.subtitle), 1)) : gt("", !0)
2551
2619
  ]),
2552
- P("div", va, [
2553
- e[1] || (e[1] = P("div", { class: "absolute left-4 md:left-1/2 top-0 bottom-0 w-0.5 bg-white/20 -translate-x-1/2 reveal-zoom origin-top" }, null, -1)),
2554
- P("div", xa, [
2555
- (z(!0), B(qe, null, Xe(o.data.timeline, (i, r) => (z(), B("div", {
2620
+ O("div", Oa, [
2621
+ e[1] || (e[1] = O("div", { class: "absolute left-4 md:left-1/2 top-0 bottom-0 w-0.5 bg-white/20 -translate-x-1/2 reveal-zoom origin-top" }, null, -1)),
2622
+ O("div", Pa, [
2623
+ (A(!0), B(Xe, null, je(o.data.timeline, (i, r) => (A(), B("div", {
2556
2624
  key: r,
2557
2625
  class: U(["relative flex flex-col md:flex-row gap-8 md:gap-0 items-start md:items-center reveal-card", r % 2 === 0 ? "" : "md:flex-row-reverse"])
2558
2626
  }, [
2559
- P("div", {
2627
+ O("div", {
2560
2628
  class: U(["w-full md:w-1/2 pl-12 md:pl-0 flex flex-col justify-center", r % 2 === 0 ? "md:pr-12 md:text-right md:items-end" : "md:pl-12 md:text-left md:items-start"])
2561
2629
  }, [
2562
- P("span", ba, I(i.date), 1),
2563
- P("h3", wa, I(i.title), 1)
2630
+ O("span", Ca, I(i.date), 1),
2631
+ O("h3", Ma, I(i.title || i.t), 1)
2564
2632
  ], 2),
2565
- e[0] || (e[0] = P("div", { class: "absolute left-4 md:left-1/2 -translate-x-1/2 w-4 h-4 rounded-full bg-blue-500 shadow-[0_0_20px_rgba(59,130,246,0.5)] border-4 border-[#030303] z-10" }, null, -1)),
2566
- P("div", {
2633
+ e[0] || (e[0] = O("div", { class: "absolute left-4 md:left-1/2 -translate-x-1/2 w-4 h-4 rounded-full bg-blue-500 shadow-[0_0_20px_rgba(59,130,246,0.5)] border-4 border-[#030303] z-10" }, null, -1)),
2634
+ O("div", {
2567
2635
  class: U(["w-full md:w-1/2 pl-12 md:pl-0", r % 2 === 0 ? "md:pl-12" : "md:pr-12 md:text-right"])
2568
2636
  }, [
2569
- P("p", Ta, I(i.description), 1)
2637
+ O("p", Da, I(i.description || i.desc), 1)
2570
2638
  ], 2)
2571
2639
  ], 2))), 128))
2572
2640
  ])
@@ -2576,35 +2644,35 @@ const ea = { class: "absolute inset-0 z-0 pointer-events-none" }, ia = { class:
2576
2644
  _: 1
2577
2645
  }, 8, ["data"]));
2578
2646
  }
2579
- }), Sa = { class: "mb-20 text-center reveal-up" }, Pa = { class: "text-5xl font-heading font-bold mb-4" }, Oa = {
2647
+ }), za = { class: "mb-20 text-center reveal-up" }, Ea = { class: "text-5xl font-heading font-bold mb-4" }, Ra = {
2580
2648
  key: 0,
2581
2649
  class: "text-xl opacity-60 max-w-2xl mx-auto"
2582
- }, Ca = { class: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 w-full max-w-7xl mx-auto relative" }, Ma = { class: "w-20 h-20 rounded-2xl bg-[#111] border border-white/10 flex items-center justify-center text-2xl font-bold mb-6 relative z-10 group-hover:scale-110 transition duration-300 shadow-2xl mx-auto lg:mx-0" }, Da = { class: "text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600" }, za = { class: "text-xl font-bold mb-3" }, Aa = { class: "text-sm leading-relaxed opacity-60" }, Ea = /* @__PURE__ */ Kt({
2650
+ }, Ia = { class: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 w-full max-w-7xl mx-auto relative" }, Fa = { class: "w-20 h-20 rounded-2xl bg-[#111] border border-white/10 flex items-center justify-center text-2xl font-bold mb-6 relative z-10 group-hover:scale-110 transition duration-300 shadow-2xl mx-auto lg:mx-0" }, La = { class: "text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600" }, $a = { class: "text-xl font-bold mb-3" }, Na = { class: "text-sm leading-relaxed opacity-60" }, Ba = /* @__PURE__ */ Lt({
2583
2651
  __name: "LayoutSteps",
2584
2652
  props: {
2585
2653
  data: {}
2586
2654
  },
2587
2655
  setup(o) {
2588
- return (t, e) => (z(), ue(Me, { data: o.data }, {
2589
- default: Gt(() => [
2590
- P("div", {
2656
+ return (t, e) => (A(), Kt(De, { data: o.data }, {
2657
+ default: Ht(() => [
2658
+ O("div", {
2591
2659
  class: U(["w-full flex flex-col justify-center p-8 lg:p-12", o.data.sizing === "container" ? "min-h-full" : "min-h-screen"])
2592
2660
  }, [
2593
- P("div", Sa, [
2594
- P("h2", Pa, I(o.data.title), 1),
2595
- o.data.subtitle ? (z(), B("p", Oa, I(o.data.subtitle), 1)) : gt("", !0)
2661
+ O("div", za, [
2662
+ O("h2", Ea, I(o.data.title), 1),
2663
+ o.data.subtitle ? (A(), B("p", Ra, I(o.data.subtitle), 1)) : gt("", !0)
2596
2664
  ]),
2597
- P("div", Ca, [
2598
- e[0] || (e[0] = P("div", { class: "hidden lg:block absolute top-[2.5rem] left-0 right-0 h-0.5 bg-gradient-to-r from-transparent via-white/20 to-transparent reveal-zoom origin-left" }, null, -1)),
2599
- (z(!0), B(qe, null, Xe(o.data.steps, (i, r) => (z(), B("div", {
2665
+ O("div", Ia, [
2666
+ e[0] || (e[0] = O("div", { class: "hidden lg:block absolute top-[2.5rem] left-0 right-0 h-0.5 bg-gradient-to-r from-transparent via-white/20 to-transparent reveal-zoom origin-left" }, null, -1)),
2667
+ (A(!0), B(Xe, null, je(o.data.steps, (i, r) => (A(), B("div", {
2600
2668
  key: r,
2601
2669
  class: "relative glass-panel p-8 rounded-2xl border border-white/5 reveal-card group hover:bg-white/5 transition duration-500"
2602
2670
  }, [
2603
- P("div", Ma, [
2604
- P("span", Da, I(i.step), 1)
2671
+ O("div", Fa, [
2672
+ O("span", La, I(i.step), 1)
2605
2673
  ]),
2606
- P("h3", za, I(i.title), 1),
2607
- P("p", Aa, I(i.description), 1)
2674
+ O("h3", $a, I(i.title), 1),
2675
+ O("p", Na, I(i.description), 1)
2608
2676
  ]))), 128))
2609
2677
  ])
2610
2678
  ], 2)
@@ -2612,7 +2680,25 @@ const ea = { class: "absolute inset-0 z-0 pointer-events-none" }, ia = { class:
2612
2680
  _: 1
2613
2681
  }, 8, ["data"]));
2614
2682
  }
2615
- }), de = {
2683
+ }), Va = /* @__PURE__ */ Lt({
2684
+ __name: "LayoutAuto",
2685
+ props: {
2686
+ data: {}
2687
+ },
2688
+ emits: ["action"],
2689
+ setup(o, { emit: t }) {
2690
+ const e = o, i = dt(() => {
2691
+ var f, h, _;
2692
+ const r = e.data || {}, n = Array.isArray(r.timeline) && r.timeline.length > 0, s = Array.isArray(r.steps) && r.steps.length > 0, a = Array.isArray(r.features) && r.features.length > 0, l = !!r.image;
2693
+ let u = "layout-statement";
2694
+ return n ? u = "layout-timeline" : s ? u = "layout-steps" : a ? u = "layout-features" : l ? u = "layout-half" : (((f = r.title) == null ? void 0 : f.length) || 0) + (((h = r.subtitle) == null ? void 0 : h.length) || 0) + (((_ = r.paragraphs) == null ? void 0 : _.join("").length) || 0), u;
2695
+ });
2696
+ return (r, n) => (A(), Kt(fr(i.value), {
2697
+ data: o.data,
2698
+ onAction: n[0] || (n[0] = (s) => r.$emit("action", s))
2699
+ }, null, 40, ["data"]));
2700
+ }
2701
+ }), pe = {
2616
2702
  default: {
2617
2703
  colors: {
2618
2704
  primary: "#3b82f6",
@@ -2688,8 +2774,8 @@ const ea = { class: "absolute inset-0 z-0 pointer-events-none" }, ia = { class:
2688
2774
  body: "Lato, sans-serif"
2689
2775
  }
2690
2776
  }
2691
- }, rr = "lumina-theme-styles";
2692
- class Ra {
2777
+ }, sr = "lumina-theme-styles";
2778
+ class Ua {
2693
2779
  /**
2694
2780
  * Injects the requested theme into the document head.
2695
2781
  * If a string is provided, it looks up the preset.
@@ -2699,9 +2785,9 @@ class Ra {
2699
2785
  */
2700
2786
  static inject(t) {
2701
2787
  let e;
2702
- typeof t == "string" ? e = de[t] || de.default : (e = { ...de.default, ...t }, t.colors && (e.colors = { ...de.default.colors, ...t.colors }), t.fonts && (e.fonts = { ...de.default.fonts, ...t.fonts }));
2703
- let i = document.getElementById(rr);
2704
- i || (i = document.createElement("style"), i.id = rr, document.head.appendChild(i));
2788
+ typeof t == "string" ? e = pe[t] || pe.default : (e = { ...pe.default, ...t }, t.colors && (e.colors = { ...pe.default.colors, ...t.colors }), t.fonts && (e.fonts = { ...pe.default.fonts, ...t.fonts }));
2789
+ let i = document.getElementById(sr);
2790
+ i || (i = document.createElement("style"), i.id = sr, document.head.appendChild(i));
2705
2791
  const r = this.generateVars(e);
2706
2792
  i.innerHTML = `:root { ${r} }`;
2707
2793
  }
@@ -2741,7 +2827,7 @@ class Ra {
2741
2827
  } : null;
2742
2828
  }
2743
2829
  }
2744
- class La {
2830
+ class Xa {
2745
2831
  /**
2746
2832
  * Creates a new Lumina instance.
2747
2833
  *
@@ -2751,7 +2837,9 @@ class La {
2751
2837
  constructor(t, e = {}) {
2752
2838
  ze(this, "app");
2753
2839
  ze(this, "store");
2754
- this.selector = t, this.store = mn(e), e.theme && Ra.inject(e.theme), this.app = _n(Js), this.app.provide(Oe, this.store), this.app.component("layout-statement", aa), this.app.component("layout-half", da), this.app.component("layout-features", pa), this.app.component("layout-timeline", ka), this.app.component("layout-steps", Ea), this.app.mount(this.selector);
2840
+ this.selector = t, this.store = bn(e), e.theme && Ua.inject(e.theme), this.app = yn(aa), this.app.provide(Ce, this.store), this.app.component("layout-statement", da), this.app.component("layout-half", xa), this.app.component("layout-features", wa), this.app.component("layout-timeline", Aa), this.app.component("layout-steps", Ba), this.app.component("layout-auto", Va), Zt.on("action", (i) => {
2841
+ this.store.recordAction(i);
2842
+ }), this.app.mount(this.selector);
2755
2843
  }
2756
2844
  /**
2757
2845
  * Loads a Deck object into the engine.
@@ -2760,7 +2848,35 @@ class La {
2760
2848
  * @param deckData - The Deck object containing meta and slides.
2761
2849
  */
2762
2850
  load(t) {
2763
- this.store.loadDeck(t), _e.emit("ready", t);
2851
+ this.store.loadDeck(t), Zt.emit("ready", t);
2852
+ }
2853
+ /**
2854
+ * Feature: Diff Updates
2855
+ * Updates the existing deck with partial changes.
2856
+ */
2857
+ patch(t) {
2858
+ this.store.patchDeck(t);
2859
+ }
2860
+ /**
2861
+ * Feature: Feedback Loop
2862
+ * Exports the current session state for LLM consumption.
2863
+ * Includes: Narrative Log, Context Window, and Interest "Heatmap".
2864
+ */
2865
+ exportState() {
2866
+ const { currentIndex: t, deck: e, actionHistory: i } = this.store.state, r = e == null ? void 0 : e.slides[t], n = i.map((a) => `User ${a.type}ed on ${a.label || a.value}`).join(" -> "), s = i.length > 5 ? "High Engagement" : "Low Engagement";
2867
+ return Object.freeze({
2868
+ status: "active",
2869
+ currentSlide: {
2870
+ index: t,
2871
+ id: (r == null ? void 0 : r.id) || t,
2872
+ type: r == null ? void 0 : r.type,
2873
+ title: (r == null ? void 0 : r.title) || "(No Title)"
2874
+ },
2875
+ narrative: `User is currently on slide ${t + 1}. Session Flow: ${n || "Just started"}.`,
2876
+ engagementLevel: s,
2877
+ history: [...i]
2878
+ // Clone
2879
+ });
2764
2880
  }
2765
2881
  /**
2766
2882
  * Subscribes to an engine event.
@@ -2770,7 +2886,7 @@ class La {
2770
2886
  * @param handler - Callback function.
2771
2887
  */
2772
2888
  on(t, e) {
2773
- _e.on(t, e);
2889
+ Zt.on(t, e);
2774
2890
  }
2775
2891
  /**
2776
2892
  * Unsubscribes from an engine event.
@@ -2779,14 +2895,29 @@ class La {
2779
2895
  * @param handler - The callback function to remove.
2780
2896
  */
2781
2897
  off(t, e) {
2782
- _e.off(t, e);
2898
+ Zt.off(t, e);
2783
2899
  }
2784
2900
  destroy() {
2785
- this.app && (this.app.unmount(), this.app = null), _e.clear();
2901
+ this.app && (this.app.unmount(), this.app = null), Zt.clear();
2902
+ }
2903
+ /**
2904
+ * Navigation API
2905
+ */
2906
+ get currentSlideIndex() {
2907
+ return this.store.state.currentIndex;
2908
+ }
2909
+ goTo(t) {
2910
+ this.store.goto(t);
2911
+ }
2912
+ next() {
2913
+ this.store.next();
2914
+ }
2915
+ prev() {
2916
+ this.store.prev();
2786
2917
  }
2787
2918
  }
2788
2919
  export {
2789
- La as Lumina,
2790
- Js as LuminaDeck,
2791
- _e as bus
2920
+ Xa as Lumina,
2921
+ aa as LuminaDeck,
2922
+ Zt as bus
2792
2923
  };