gralobe 1.0.37 → 1.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/gralobe.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as A from "three";
2
- import { Controls as Ur, Vector3 as oe, MOUSE as nt, TOUCH as Je, Quaternion as Zi, Spherical as Ki, Vector2 as fe, Ray as zr, Plane as Nr, MathUtils as Br, Matrix4 as Mn, Object3D as $r } from "three";
2
+ import { Controls as zr, Vector3 as oe, MOUSE as nt, TOUCH as Je, Quaternion as Zi, Spherical as Ki, Vector2 as fe, Ray as Nr, Plane as Br, MathUtils as $r, Matrix4 as Dn, Object3D as Gr } from "three";
3
3
  function Ce(a) {
4
4
  if (a === void 0)
5
5
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6
6
  return a;
7
7
  }
8
- function Dn(a, e) {
8
+ function Rn(a, e) {
9
9
  a.prototype = Object.create(e.prototype), a.prototype.constructor = a, a.__proto__ = e;
10
10
  }
11
11
  var ue = {
@@ -19,7 +19,7 @@ var ue = {
19
19
  duration: 0.5,
20
20
  overwrite: !1,
21
21
  delay: 0
22
- }, Ci, W, z, ge = 1e8, k = 1 / ge, li = Math.PI * 2, Gr = li / 4, Vr = 0, Rn = Math.sqrt, jr = Math.cos, Hr = Math.sin, K = function(e) {
22
+ }, Ci, W, z, ge = 1e8, k = 1 / ge, li = Math.PI * 2, Vr = li / 4, jr = 0, Ln = Math.sqrt, Hr = Math.cos, Yr = Math.sin, K = function(e) {
23
23
  return typeof e == "string";
24
24
  }, G = function(e) {
25
25
  return typeof e == "function";
@@ -36,26 +36,26 @@ var ue = {
36
36
  }, Rt = function(e) {
37
37
  return G(e) || K(e);
38
38
  }, In = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
39
- }, q = Array.isArray, hi = /(?:-?\.?\d|\.)+/gi, Ln = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, et = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Xt = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, On = /[+-]=-?[.\d]+/, kn = /[^,'"\[\]\s]+/gi, Yr = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, N, xe, ci, Si, de = {}, Bt = {}, Fn, Un = function(e) {
39
+ }, q = Array.isArray, hi = /(?:-?\.?\d|\.)+/gi, On = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, et = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Xt = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, kn = /[+-]=-?[.\d]+/, Fn = /[^,'"\[\]\s]+/gi, Zr = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, N, be, ci, Si, de = {}, Bt = {}, Un, zn = function(e) {
40
40
  return (Bt = lt(e, de)) && ae;
41
41
  }, Mi = function(e, t) {
42
42
  return console.warn("Invalid property", e, "set to", t, "Missing plugin? gsap.registerPlugin()");
43
43
  }, Et = function(e, t) {
44
44
  return !t && console.warn(e);
45
- }, zn = function(e, t) {
45
+ }, Nn = function(e, t) {
46
46
  return e && (de[e] = t) && Bt && (Bt[e] = t) || de;
47
47
  }, wt = function() {
48
48
  return 0;
49
- }, Zr = {
49
+ }, Kr = {
50
50
  suppressEvents: !0,
51
51
  isStart: !0,
52
52
  kill: !1
53
53
  }, Ft = {
54
54
  suppressEvents: !0,
55
55
  kill: !1
56
- }, Kr = {
56
+ }, Wr = {
57
57
  suppressEvents: !0
58
- }, Di = {}, Le = [], ui = {}, Nn, le = {}, qt = {}, Wi = 30, Ut = [], Ri = "", Ii = function(e) {
58
+ }, Di = {}, Ie = [], ui = {}, Bn, le = {}, qt = {}, Wi = 30, Ut = [], Ri = "", Li = function(e) {
59
59
  var t = e[0], i, n;
60
60
  if (we(t) || G(t) || (e = [e]), !(i = (t._gsap || {}).harness)) {
61
61
  for (n = Ut.length; n-- && !Ut[n].targetTest(t); )
@@ -63,11 +63,11 @@ var ue = {
63
63
  i = Ut[n];
64
64
  }
65
65
  for (n = e.length; n--; )
66
- e[n] && (e[n]._gsap || (e[n]._gsap = new hr(e[n], i))) || e.splice(n, 1);
66
+ e[n] && (e[n]._gsap || (e[n]._gsap = new cr(e[n], i))) || e.splice(n, 1);
67
67
  return e;
68
68
  }, He = function(e) {
69
- return e._gsap || Ii(_e(e))[0]._gsap;
70
- }, Bn = function(e, t, i) {
69
+ return e._gsap || Li(_e(e))[0]._gsap;
70
+ }, $n = function(e, t, i) {
71
71
  return (i = e[t]) && G(i) ? e[t]() : Ai(i) && e.getAttribute && e.getAttribute(t) || i;
72
72
  }, ne = function(e, t) {
73
73
  return (e = e.split(",")).forEach(t) || e;
@@ -78,28 +78,28 @@ var ue = {
78
78
  }, rt = function(e, t) {
79
79
  var i = t.charAt(0), n = parseFloat(t.substr(2));
80
80
  return e = parseFloat(e), i === "+" ? e + n : i === "-" ? e - n : i === "*" ? e * n : e / n;
81
- }, Wr = function(e, t) {
81
+ }, Xr = function(e, t) {
82
82
  for (var i = t.length, n = 0; e.indexOf(t[n]) < 0 && ++n < i; )
83
83
  ;
84
84
  return n < i;
85
85
  }, $t = function() {
86
- var e = Le.length, t = Le.slice(0), i, n;
87
- for (ui = {}, Le.length = 0, i = 0; i < e; i++)
86
+ var e = Ie.length, t = Ie.slice(0), i, n;
87
+ for (ui = {}, Ie.length = 0, i = 0; i < e; i++)
88
88
  n = t[i], n && n._lazy && (n.render(n._lazy[0], n._lazy[1], !0)._lazy = 0);
89
- }, Li = function(e) {
89
+ }, Ii = function(e) {
90
90
  return !!(e._initted || e._startAt || e.add);
91
- }, $n = function(e, t, i, n) {
92
- Le.length && !W && $t(), e.render(t, i, !!(W && t < 0 && Li(e))), Le.length && !W && $t();
93
- }, Gn = function(e) {
94
- var t = parseFloat(e);
95
- return (t || t === 0) && (e + "").match(kn).length < 2 ? t : K(e) ? e.trim() : e;
91
+ }, Gn = function(e, t, i, n) {
92
+ Ie.length && !W && $t(), e.render(t, i, !!(W && t < 0 && Ii(e))), Ie.length && !W && $t();
96
93
  }, Vn = function(e) {
94
+ var t = parseFloat(e);
95
+ return (t || t === 0) && (e + "").match(Fn).length < 2 ? t : K(e) ? e.trim() : e;
96
+ }, jn = function(e) {
97
97
  return e;
98
98
  }, pe = function(e, t) {
99
99
  for (var i in t)
100
100
  i in e || (e[i] = t[i]);
101
101
  return e;
102
- }, Xr = function(e) {
102
+ }, qr = function(e) {
103
103
  return function(t, i) {
104
104
  for (var n in i)
105
105
  n in t || n === "duration" && e || n === "ease" || (t[n] = i[n]);
@@ -117,17 +117,17 @@ var ue = {
117
117
  for (n in e)
118
118
  n in t || (i[n] = e[n]);
119
119
  return i;
120
- }, xt = function(e) {
121
- var t = e.parent || N, i = e.keyframes ? Xr(q(e.keyframes)) : pe;
120
+ }, bt = function(e) {
121
+ var t = e.parent || N, i = e.keyframes ? qr(q(e.keyframes)) : pe;
122
122
  if (ie(e.inherit))
123
123
  for (; t; )
124
124
  i(e, t.vars.defaults), t = t.parent || t._dp;
125
125
  return e;
126
- }, qr = function(e, t) {
126
+ }, Qr = function(e, t) {
127
127
  for (var i = e.length, n = i === t.length; n && i-- && e[i] === t[i]; )
128
128
  ;
129
129
  return i < 0;
130
- }, jn = function(e, t, i, n, r) {
130
+ }, Hn = function(e, t, i, n, r) {
131
131
  var s = e[n], o;
132
132
  if (r)
133
133
  for (o = t[r]; s && s[r] > o; )
@@ -144,13 +144,13 @@ var ue = {
144
144
  for (var i = e; i; )
145
145
  i._dirty = 1, i = i.parent;
146
146
  return e;
147
- }, Qr = function(e) {
147
+ }, Jr = function(e) {
148
148
  for (var t = e.parent; t && t.parent; )
149
149
  t._dirty = 1, t.totalDuration(), t = t.parent;
150
150
  return e;
151
151
  }, di = function(e, t, i, n) {
152
152
  return e._startAt && (W ? e._startAt.revert(Ft) : e.vars.immediateRender && !e.vars.autoRevert || e._startAt.render(t, !0, n));
153
- }, Jr = function a(e) {
153
+ }, es = function a(e) {
154
154
  return !e || e._ts && a(e.parent);
155
155
  }, qi = function(e) {
156
156
  return e._repeat ? ht(e._tTime, e = e.duration() + e._rDelay) * e : 0;
@@ -164,7 +164,7 @@ var ue = {
164
164
  }, Wt = function(e, t) {
165
165
  var i = e._dp;
166
166
  return i && i.smoothChildTiming && e._ts && (e._start = H(i._time - (e._ts > 0 ? t / e._ts : ((e._dirty ? e.totalDuration() : e._tDur) - t) / -e._ts)), Kt(e), i._dirty || Ye(i, e)), e;
167
- }, Hn = function(e, t) {
167
+ }, Yn = function(e, t) {
168
168
  var i;
169
169
  if ((t._time || !t._dur && t._initted || t._start < e._time && (t._dur || !t.add)) && (i = Vt(e.rawTime(), t), (!t._dur || Dt(0, t.totalDuration(), i) - t._tTime > k) && t.render(i, !0)), Ye(e, t)._dp && e._initted && e._time >= e._dur && e._ts) {
170
170
  if (e._dur < e.duration())
@@ -172,31 +172,31 @@ var ue = {
172
172
  i.rawTime() >= 0 && i.totalTime(i._tTime), i = i._dp;
173
173
  e._zTime = -k;
174
174
  }
175
- }, be = function(e, t, i, n) {
176
- return t.parent && ke(t), t._start = H((Te(i) ? i : i || e !== N ? me(e, i, t) : e._time) + t._delay), t._end = H(t._start + (t.totalDuration() / Math.abs(t.timeScale()) || 0)), jn(e, t, "_first", "_last", e._sort ? "_start" : 0), pi(t) || (e._recent = t), n || Hn(e, t), e._ts < 0 && Wt(e, e._tTime), e;
177
- }, Yn = function(e, t) {
175
+ }, xe = function(e, t, i, n) {
176
+ return t.parent && ke(t), t._start = H((Te(i) ? i : i || e !== N ? me(e, i, t) : e._time) + t._delay), t._end = H(t._start + (t.totalDuration() / Math.abs(t.timeScale()) || 0)), Hn(e, t, "_first", "_last", e._sort ? "_start" : 0), pi(t) || (e._recent = t), n || Yn(e, t), e._ts < 0 && Wt(e, e._tTime), e;
177
+ }, Zn = function(e, t) {
178
178
  return (de.ScrollTrigger || Mi("scrollTrigger", t)) && de.ScrollTrigger.create(t, e);
179
- }, Zn = function(e, t, i, n, r) {
179
+ }, Kn = function(e, t, i, n, r) {
180
180
  if (ki(e, t, r), !e._initted)
181
181
  return 1;
182
- if (!i && e._pt && !W && (e._dur && e.vars.lazy !== !1 || !e._dur && e.vars.lazy) && Nn !== he.frame)
183
- return Le.push(e), e._lazy = [r, n], 1;
184
- }, es = function a(e) {
182
+ if (!i && e._pt && !W && (e._dur && e.vars.lazy !== !1 || !e._dur && e.vars.lazy) && Bn !== he.frame)
183
+ return Ie.push(e), e._lazy = [r, n], 1;
184
+ }, ts = function a(e) {
185
185
  var t = e.parent;
186
186
  return t && t._ts && t._initted && !t._lock && (t.rawTime() < 0 || a(t));
187
187
  }, pi = function(e) {
188
188
  var t = e.data;
189
189
  return t === "isFromStart" || t === "isStart";
190
- }, ts = function(e, t, i, n) {
191
- var r = e.ratio, s = t < 0 || !t && (!e._start && es(e) && !(!e._initted && pi(e)) || (e._ts < 0 || e._dp._ts < 0) && !pi(e)) ? 0 : 1, o = e._rDelay, l = 0, h, c, u;
190
+ }, is = function(e, t, i, n) {
191
+ var r = e.ratio, s = t < 0 || !t && (!e._start && ts(e) && !(!e._initted && pi(e)) || (e._ts < 0 || e._dp._ts < 0) && !pi(e)) ? 0 : 1, o = e._rDelay, l = 0, h, c, u;
192
192
  if (o && e._repeat && (l = Dt(0, e._tDur, t), c = ht(l, o), e._yoyo && c & 1 && (s = 1 - s), c !== ht(e._tTime, o) && (r = 1 - s, e.vars.repeatRefresh && e._initted && e.invalidate())), s !== r || W || n || e._zTime === k || !t && e._zTime) {
193
- if (!e._initted && Zn(e, t, n, i, l))
193
+ if (!e._initted && Kn(e, t, n, i, l))
194
194
  return;
195
195
  for (u = e._zTime, e._zTime = t || (i ? k : 0), i || (i = t && !u), e.ratio = s, e._from && (s = 1 - s), e._time = 0, e._tTime = l, h = e._pt; h; )
196
196
  h.r(s, h.d), h = h._next;
197
197
  t < 0 && di(e, t, i, !0), e._onUpdate && !i && ce(e, "onUpdate"), l && e._repeat && !i && e.parent && ce(e, "onRepeat"), (t >= e._tDur || t < 0) && e.ratio === s && (s && ke(e, 1), !i && !W && (ce(e, s ? "onComplete" : "onReverseComplete", !0), e._prom && e._prom()));
198
198
  } else e._zTime || (e._zTime = t);
199
- }, is = function(e, t, i) {
199
+ }, ns = function(e, t, i) {
200
200
  var n;
201
201
  if (i > t)
202
202
  for (n = e._first; n && n._start <= i; ) {
@@ -215,14 +215,14 @@ var ue = {
215
215
  return o && !n && (e._time *= s / e._dur), e._dur = s, e._tDur = r ? r < 0 ? 1e10 : H(s * (r + 1) + e._rDelay * r) : s, o > 0 && !n && Wt(e, e._tTime = e._tDur * o), e.parent && Kt(e), i || Ye(e.parent, e), e;
216
216
  }, Qi = function(e) {
217
217
  return e instanceof J ? Ye(e) : ct(e, e._dur);
218
- }, ns = {
218
+ }, rs = {
219
219
  _start: 0,
220
220
  endTime: wt,
221
221
  totalDuration: wt
222
222
  }, me = function a(e, t, i) {
223
- var n = e.labels, r = e._recent || ns, s = e.duration() >= ge ? r.endTime(!1) : e._dur, o, l, h;
223
+ var n = e.labels, r = e._recent || rs, s = e.duration() >= ge ? r.endTime(!1) : e._dur, o, l, h;
224
224
  return K(t) && (isNaN(t) || t in n) ? (l = t.charAt(0), h = t.substr(-1) === "%", o = t.indexOf("="), l === "<" || l === ">" ? (o >= 0 && (t = t.replace(/=/, "")), (l === "<" ? r._start : r.endTime(r._repeat >= 0)) + (parseFloat(t.substr(1)) || 0) * (h ? (o < 0 ? r : i).totalDuration() / 100 : 1)) : o < 0 ? (t in n || (n[t] = s), n[t]) : (l = parseFloat(t.charAt(o - 1) + t.substr(o + 1)), h && i && (l = l / 100 * (q(i) ? i[0] : i).totalDuration()), o > 1 ? a(e, t.substr(0, o - 1), i) + l : s + l)) : t == null ? s : +t;
225
- }, bt = function(e, t, i) {
225
+ }, xt = function(e, t, i) {
226
226
  var n = Te(t[1]), r = (n ? 2 : 1) + (e < 2 ? 0 : 1), s = t[r], o, l;
227
227
  if (n && (s.duration = t[1]), s.parent = i, e) {
228
228
  for (o = s, l = i; l && !("immediateRender" in o); )
@@ -235,30 +235,30 @@ var ue = {
235
235
  }, Dt = function(e, t, i) {
236
236
  return i < e ? e : i > t ? t : i;
237
237
  }, X = function(e, t) {
238
- return !K(e) || !(t = Yr.exec(e)) ? "" : t[1];
239
- }, rs = function(e, t, i) {
238
+ return !K(e) || !(t = Zr.exec(e)) ? "" : t[1];
239
+ }, ss = function(e, t, i) {
240
240
  return Ue(i, function(n) {
241
241
  return Dt(e, t, n);
242
242
  });
243
- }, fi = [].slice, Kn = function(e, t) {
244
- return e && we(e) && "length" in e && (!t && !e.length || e.length - 1 in e && we(e[0])) && !e.nodeType && e !== xe;
245
- }, ss = function(e, t, i) {
243
+ }, fi = [].slice, Wn = function(e, t) {
244
+ return e && we(e) && "length" in e && (!t && !e.length || e.length - 1 in e && we(e[0])) && !e.nodeType && e !== be;
245
+ }, as = function(e, t, i) {
246
246
  return i === void 0 && (i = []), e.forEach(function(n) {
247
247
  var r;
248
- return K(n) && !t || Kn(n, 1) ? (r = i).push.apply(r, _e(n)) : i.push(n);
248
+ return K(n) && !t || Wn(n, 1) ? (r = i).push.apply(r, _e(n)) : i.push(n);
249
249
  }) || i;
250
250
  }, _e = function(e, t, i) {
251
- return z && !t && z.selector ? z.selector(e) : K(e) && !i && (ci || !ut()) ? fi.call((t || Si).querySelectorAll(e), 0) : q(e) ? ss(e, i) : Kn(e) ? fi.call(e, 0) : e ? [e] : [];
251
+ return z && !t && z.selector ? z.selector(e) : K(e) && !i && (ci || !ut()) ? fi.call((t || Si).querySelectorAll(e), 0) : q(e) ? as(e, i) : Wn(e) ? fi.call(e, 0) : e ? [e] : [];
252
252
  }, mi = function(e) {
253
253
  return e = _e(e)[0] || Et("Invalid scope") || {}, function(t) {
254
254
  var i = e.current || e.nativeElement || e;
255
255
  return _e(t, i.querySelectorAll ? i : i === e ? Et("Invalid scope") || Si.createElement("div") : e);
256
256
  };
257
- }, Wn = function(e) {
257
+ }, Xn = function(e) {
258
258
  return e.sort(function() {
259
259
  return 0.5 - Math.random();
260
260
  });
261
- }, Xn = function(e) {
261
+ }, qn = function(e) {
262
262
  if (G(e))
263
263
  return e;
264
264
  var t = we(e) ? e : {
@@ -269,7 +269,7 @@ var ue = {
269
269
  edges: 0.5,
270
270
  end: 1
271
271
  }[n] || 0 : !o && l && (c = n[0], u = n[1]), function(f, g, p) {
272
- var d = (p || t).length, m = s[d], _, y, x, b, v, P, E, C, w;
272
+ var d = (p || t).length, m = s[d], _, y, b, x, v, P, E, C, w;
273
273
  if (!m) {
274
274
  if (w = t.grid === "auto" ? 0 : (t.grid || [1, ge])[1], !w) {
275
275
  for (E = -ge; E < (E = p[w++].getBoundingClientRect().left) && w < d; )
@@ -277,8 +277,8 @@ var ue = {
277
277
  w < d && w--;
278
278
  }
279
279
  for (m = s[d] = [], _ = l ? Math.min(w, d) * c - 0.5 : n % w, y = w === ge ? 0 : l ? d * u / w - 0.5 : n / w | 0, E = 0, C = ge, P = 0; P < d; P++)
280
- x = P % w - _, b = y - (P / w | 0), m[P] = v = h ? Math.abs(h === "y" ? b : x) : Rn(x * x + b * b), v > E && (E = v), v < C && (C = v);
281
- n === "random" && Wn(m), m.max = E - C, m.min = C, m.v = d = (parseFloat(t.amount) || parseFloat(t.each) * (w > d ? d - 1 : h ? h === "y" ? d / w : w : Math.max(w, d / w)) || 0) * (n === "edges" ? -1 : 1), m.b = d < 0 ? r - d : r, m.u = X(t.amount || t.each) || 0, i = i && d < 0 ? ar(i) : i;
280
+ b = P % w - _, x = y - (P / w | 0), m[P] = v = h ? Math.abs(h === "y" ? x : b) : Ln(b * b + x * x), v > E && (E = v), v < C && (C = v);
281
+ n === "random" && Xn(m), m.max = E - C, m.min = C, m.v = d = (parseFloat(t.amount) || parseFloat(t.each) * (w > d ? d - 1 : h ? h === "y" ? d / w : w : Math.max(w, d / w)) || 0) * (n === "edges" ? -1 : 1), m.b = d < 0 ? r - d : r, m.u = X(t.amount || t.each) || 0, i = i && d < 0 ? or(i) : i;
282
282
  }
283
283
  return d = (m[f] - m.min) / m.max || 0, H(m.b + (i ? i(d) : d) * m.v) + m.u;
284
284
  };
@@ -288,7 +288,7 @@ var ue = {
288
288
  var n = H(Math.round(parseFloat(i) / e) * e * t);
289
289
  return (n - n % 1) / t + (Te(i) ? 0 : X(i));
290
290
  };
291
- }, qn = function(e, t) {
291
+ }, Qn = function(e, t) {
292
292
  var i = q(e), n, r;
293
293
  return !i && we(e) && (n = i = e.radius || ge, e.values ? (e = _e(e.values), (r = !Te(e[0])) && (n *= n)) : e = gi(e.increment)), Ue(t, i ? G(e) ? function(s) {
294
294
  return r = e(s), Math.abs(r - s) <= n ? r : s;
@@ -297,11 +297,11 @@ var ue = {
297
297
  r ? (f = e[u].x - o, g = e[u].y - l, f = f * f + g * g) : f = Math.abs(e[u] - o), f < h && (h = f, c = u);
298
298
  return c = !n || h <= n ? e[c] : s, r || c === s || Te(s) ? c : c + X(s);
299
299
  } : gi(e));
300
- }, Qn = function(e, t, i, n) {
300
+ }, Jn = function(e, t, i, n) {
301
301
  return Ue(q(e) ? !t : i === !0 ? !!(i = 0) : !n, function() {
302
302
  return q(e) ? e[~~(Math.random() * e.length)] : (i = i || 1e-5) && (n = i < 1 ? Math.pow(10, (i + "").length - 2) : 1) && Math.floor(Math.round((e - i / 2 + Math.random() * (t - e + i * 0.99)) / i) * i * n) / n;
303
303
  });
304
- }, as = function() {
304
+ }, os = function() {
305
305
  for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)
306
306
  t[i] = arguments[i];
307
307
  return function(n) {
@@ -309,36 +309,36 @@ var ue = {
309
309
  return s(r);
310
310
  }, n);
311
311
  };
312
- }, os = function(e, t) {
312
+ }, ls = function(e, t) {
313
313
  return function(i) {
314
314
  return e(parseFloat(i)) + (t || X(i));
315
315
  };
316
- }, ls = function(e, t, i) {
317
- return er(e, t, 0, 1, i);
318
- }, Jn = function(e, t, i) {
316
+ }, hs = function(e, t, i) {
317
+ return tr(e, t, 0, 1, i);
318
+ }, er = function(e, t, i) {
319
319
  return Ue(i, function(n) {
320
320
  return e[~~t(n)];
321
321
  });
322
- }, hs = function a(e, t, i) {
322
+ }, cs = function a(e, t, i) {
323
323
  var n = t - e;
324
- return q(e) ? Jn(e, a(0, e.length), t) : Ue(i, function(r) {
324
+ return q(e) ? er(e, a(0, e.length), t) : Ue(i, function(r) {
325
325
  return (n + (r - e) % n) % n + e;
326
326
  });
327
- }, cs = function a(e, t, i) {
327
+ }, us = function a(e, t, i) {
328
328
  var n = t - e, r = n * 2;
329
- return q(e) ? Jn(e, a(0, e.length - 1), t) : Ue(i, function(s) {
329
+ return q(e) ? er(e, a(0, e.length - 1), t) : Ue(i, function(s) {
330
330
  return s = (r + (s - e) % r) % r || 0, e + (s > n ? r - s : s);
331
331
  });
332
332
  }, Pt = function(e) {
333
333
  for (var t = 0, i = "", n, r, s, o; ~(n = e.indexOf("random(", t)); )
334
- s = e.indexOf(")", n), o = e.charAt(n + 7) === "[", r = e.substr(n + 7, s - n - 7).match(o ? kn : hi), i += e.substr(t, n - t) + Qn(o ? r : +r[0], o ? 0 : +r[1], +r[2] || 1e-5), t = s + 1;
334
+ s = e.indexOf(")", n), o = e.charAt(n + 7) === "[", r = e.substr(n + 7, s - n - 7).match(o ? Fn : hi), i += e.substr(t, n - t) + Jn(o ? r : +r[0], o ? 0 : +r[1], +r[2] || 1e-5), t = s + 1;
335
335
  return i + e.substr(t, e.length - t);
336
- }, er = function(e, t, i, n, r) {
336
+ }, tr = function(e, t, i, n, r) {
337
337
  var s = t - e, o = n - i;
338
338
  return Ue(r, function(l) {
339
339
  return i + ((l - e) / s * o || 0);
340
340
  });
341
- }, us = function a(e, t, i, n) {
341
+ }, ds = function a(e, t, i, n) {
342
342
  var r = isNaN(e + t) ? 0 : function(g) {
343
343
  return (1 - g) * e + g * t;
344
344
  };
@@ -376,10 +376,10 @@ var ue = {
376
376
  }, ce = function(e, t, i) {
377
377
  var n = e.vars, r = n[t], s = z, o = e._ctx, l, h, c;
378
378
  if (r)
379
- return l = n[t + "Params"], h = n.callbackScope || e, i && Le.length && $t(), o && (z = o), c = l ? r.apply(h, l) : r.call(h), z = s, c;
379
+ return l = n[t + "Params"], h = n.callbackScope || e, i && Ie.length && $t(), o && (z = o), c = l ? r.apply(h, l) : r.call(h), z = s, c;
380
380
  }, _t = function(e) {
381
381
  return ke(e), e.scrollTrigger && e.scrollTrigger.kill(!!W), e.progress() < 1 && ce(e, "onInterrupt"), e;
382
- }, tt, tr = [], ir = function(e) {
382
+ }, tt, ir = [], nr = function(e) {
383
383
  if (e)
384
384
  if (e = !e.name && e.default || e, Ti() || e.headless) {
385
385
  var t = e.name, i = G(e), n = t && !i && e.init ? function() {
@@ -388,8 +388,8 @@ var ue = {
388
388
  init: wt,
389
389
  render: zi,
390
390
  add: Oi,
391
- kill: Ts,
392
- modifier: As,
391
+ kill: Ss,
392
+ modifier: Ts,
393
393
  rawVars: 0
394
394
  }, s = {
395
395
  targetTest: 0,
@@ -403,9 +403,9 @@ var ue = {
403
403
  return;
404
404
  pe(n, pe(Gt(e, r), s)), lt(n.prototype, lt(r, Gt(e, s))), le[n.prop = t] = n, e.targetTest && (Ut.push(n), Di[t] = 1), t = (t === "css" ? "CSS" : t.charAt(0).toUpperCase() + t.substr(1)) + "Plugin";
405
405
  }
406
- zn(t, n), e.register && e.register(ae, n, re);
406
+ Nn(t, n), e.register && e.register(ae, n, re);
407
407
  } else
408
- tr.push(e);
408
+ ir.push(e);
409
409
  }, O = 255, yt = {
410
410
  aqua: [0, O, O],
411
411
  lime: [0, O, 0],
@@ -428,7 +428,7 @@ var ue = {
428
428
  transparent: [O, O, O, 0]
429
429
  }, Qt = function(e, t, i) {
430
430
  return e += e < 0 ? 1 : e > 1 ? -1 : 0, (e * 6 < 1 ? t + (i - t) * e * 6 : e < 0.5 ? i : e * 3 < 2 ? t + (i - t) * (2 / 3 - e) * 6 : t) * O + 0.5 | 0;
431
- }, nr = function(e, t, i) {
431
+ }, rr = function(e, t, i) {
432
432
  var n = e ? Te(e) ? [e >> 16, e >> 8 & O, e & O] : 0 : yt.black, r, s, o, l, h, c, u, f, g, p;
433
433
  if (!n) {
434
434
  if (e.substr(-1) === "," && (e = e.substr(0, e.length - 1)), yt[e])
@@ -441,13 +441,13 @@ var ue = {
441
441
  if (n = p = e.match(hi), !t)
442
442
  l = +n[0] % 360 / 360, h = +n[1] / 100, c = +n[2] / 100, s = c <= 0.5 ? c * (h + 1) : c + h - c * h, r = c * 2 - s, n.length > 3 && (n[3] *= 1), n[0] = Qt(l + 1 / 3, r, s), n[1] = Qt(l, r, s), n[2] = Qt(l - 1 / 3, r, s);
443
443
  else if (~e.indexOf("="))
444
- return n = e.match(Ln), i && n.length < 4 && (n[3] = 1), n;
444
+ return n = e.match(On), i && n.length < 4 && (n[3] = 1), n;
445
445
  } else
446
446
  n = e.match(hi) || yt.transparent;
447
447
  n = n.map(Number);
448
448
  }
449
449
  return t && !p && (r = n[0] / O, s = n[1] / O, o = n[2] / O, u = Math.max(r, s, o), f = Math.min(r, s, o), c = (u + f) / 2, u === f ? l = h = 0 : (g = u - f, h = c > 0.5 ? g / (2 - u - f) : g / (u + f), l = u === r ? (s - o) / g + (s < o ? 6 : 0) : u === s ? (o - r) / g + 2 : (r - s) / g + 4, l *= 60), n[0] = ~~(l + 0.5), n[1] = ~~(h * 100 + 0.5), n[2] = ~~(c * 100 + 0.5)), i && n.length < 4 && (n[3] = 1), n;
450
- }, rr = function(e) {
450
+ }, sr = function(e) {
451
451
  var t = [], i = [], n = -1;
452
452
  return e.split(Oe).forEach(function(r) {
453
453
  var s = r.match(et) || [];
@@ -458,8 +458,8 @@ var ue = {
458
458
  if (!r)
459
459
  return e;
460
460
  if (r = r.map(function(f) {
461
- return (f = nr(f, t, 1)) && s + (t ? f[0] + "," + f[1] + "%," + f[2] + "%," + f[3] : f.join(",")) + ")";
462
- }), i && (c = rr(e), l = i.c, l.join(n) !== c.c.join(n)))
461
+ return (f = rr(f, t, 1)) && s + (t ? f[0] + "," + f[1] + "%," + f[2] + "%," + f[3] : f.join(",")) + ")";
462
+ }), i && (c = sr(e), l = i.c, l.join(n) !== c.c.join(n)))
463
463
  for (h = e.replace(Oe, "1").split(et), u = h.length - 1; o < u; o++)
464
464
  n += h[o] + (~l.indexOf(o) ? r.shift() || s + "0,0,0,0)" : (c.length ? c : r.length ? r : i).shift());
465
465
  if (!h)
@@ -471,14 +471,14 @@ var ue = {
471
471
  for (e in yt)
472
472
  a += "|" + e + "\\b";
473
473
  return new RegExp(a + ")", "gi");
474
- })(), ds = /hsl[a]?\(/, sr = function(e) {
474
+ })(), ps = /hsl[a]?\(/, ar = function(e) {
475
475
  var t = e.join(" "), i;
476
476
  if (Oe.lastIndex = 0, Oe.test(t))
477
- return i = ds.test(t), e[1] = en(e[1], i), e[0] = en(e[0], i, rr(e[1])), !0;
477
+ return i = ps.test(t), e[1] = en(e[1], i), e[0] = en(e[0], i, sr(e[1])), !0;
478
478
  }, Ct, he = (function() {
479
479
  var a = Date.now, e = 500, t = 33, i = a(), n = i, r = 1e3 / 240, s = r, o = [], l, h, c, u, f, g, p = function d(m) {
480
- var _ = a() - n, y = m === !0, x, b, v, P;
481
- if ((_ > e || _ < 0) && (i += _ - t), n += _, v = n - i, x = v - s, (x > 0 || y) && (P = ++u.frame, f = v - u.time * 1e3, u.time = v = v / 1e3, s += x + (x >= r ? 4 : r - x), b = 1), y || (l = h(d)), b)
480
+ var _ = a() - n, y = m === !0, b, x, v, P;
481
+ if ((_ > e || _ < 0) && (i += _ - t), n += _, v = n - i, b = v - s, (b > 0 || y) && (P = ++u.frame, f = v - u.time * 1e3, u.time = v = v / 1e3, s += b + (b >= r ? 4 : r - b), x = 1), y || (l = h(d)), x)
482
482
  for (g = 0; g < o.length; g++)
483
483
  o[g](v, f, P, m);
484
484
  };
@@ -492,7 +492,7 @@ var ue = {
492
492
  return f / (1e3 / (m || 60));
493
493
  },
494
494
  wake: function() {
495
- Fn && (!ci && Ti() && (xe = ci = window, Si = xe.document || {}, de.gsap = ae, (xe.gsapVersions || (xe.gsapVersions = [])).push(ae.version), Un(Bt || xe.GreenSockGlobals || !xe.gsap && xe || {}), tr.forEach(ir)), c = typeof requestAnimationFrame < "u" && requestAnimationFrame, l && u.sleep(), h = c || function(m) {
495
+ Un && (!ci && Ti() && (be = ci = window, Si = be.document || {}, de.gsap = ae, (be.gsapVersions || (be.gsapVersions = [])).push(ae.version), zn(Bt || be.GreenSockGlobals || !be.gsap && be || {}), ir.forEach(nr)), c = typeof requestAnimationFrame < "u" && requestAnimationFrame, l && u.sleep(), h = c || function(m) {
496
496
  return setTimeout(m, s - u.time * 1e3 + 1 | 0);
497
497
  }, Ct = 1, p(2));
498
498
  },
@@ -506,10 +506,10 @@ var ue = {
506
506
  r = 1e3 / (m || 240), s = u.time * 1e3 + r;
507
507
  },
508
508
  add: function(m, _, y) {
509
- var x = _ ? function(b, v, P, E) {
510
- m(b, v, P, E), u.remove(x);
509
+ var b = _ ? function(x, v, P, E) {
510
+ m(x, v, P, E), u.remove(b);
511
511
  } : m;
512
- return u.remove(m), o[y ? "unshift" : "push"](x), ut(), x;
512
+ return u.remove(m), o[y ? "unshift" : "push"](b), ut(), b;
513
513
  },
514
514
  remove: function(m, _) {
515
515
  ~(_ = o.indexOf(m)) && o.splice(_, 1) && g >= _ && g--;
@@ -518,25 +518,25 @@ var ue = {
518
518
  }, u;
519
519
  })(), ut = function() {
520
520
  return !Ct && he.wake();
521
- }, M = {}, ps = /^[\d.\-M][\d.\-,\s]/, fs = /["']/g, ms = function(e) {
521
+ }, M = {}, fs = /^[\d.\-M][\d.\-,\s]/, ms = /["']/g, gs = function(e) {
522
522
  for (var t = {}, i = e.substr(1, e.length - 3).split(":"), n = i[0], r = 1, s = i.length, o, l, h; r < s; r++)
523
- l = i[r], o = r !== s - 1 ? l.lastIndexOf(",") : l.length, h = l.substr(0, o), t[n] = isNaN(h) ? h.replace(fs, "").trim() : +h, n = l.substr(o + 1).trim();
523
+ l = i[r], o = r !== s - 1 ? l.lastIndexOf(",") : l.length, h = l.substr(0, o), t[n] = isNaN(h) ? h.replace(ms, "").trim() : +h, n = l.substr(o + 1).trim();
524
524
  return t;
525
- }, gs = function(e) {
525
+ }, _s = function(e) {
526
526
  var t = e.indexOf("(") + 1, i = e.indexOf(")"), n = e.indexOf("(", t);
527
527
  return e.substring(t, ~n && n < i ? e.indexOf(")", i + 1) : i);
528
- }, _s = function(e) {
528
+ }, ys = function(e) {
529
529
  var t = (e + "").split("("), i = M[t[0]];
530
- return i && t.length > 1 && i.config ? i.config.apply(null, ~e.indexOf("{") ? [ms(t[1])] : gs(e).split(",").map(Gn)) : M._CE && ps.test(e) ? M._CE("", e) : i;
531
- }, ar = function(e) {
530
+ return i && t.length > 1 && i.config ? i.config.apply(null, ~e.indexOf("{") ? [gs(t[1])] : _s(e).split(",").map(Vn)) : M._CE && fs.test(e) ? M._CE("", e) : i;
531
+ }, or = function(e) {
532
532
  return function(t) {
533
533
  return 1 - e(1 - t);
534
534
  };
535
- }, or = function a(e, t) {
535
+ }, lr = function a(e, t) {
536
536
  for (var i = e._first, n; i; )
537
537
  i instanceof J ? a(i, t) : i.vars.yoyoEase && (!i._yoyo || !i._repeat) && i._yoyo !== t && (i.timeline ? a(i.timeline, t) : (n = i._ease, i._ease = i._yEase, i._yEase = n, i._yoyo = t)), i = i._next;
538
538
  }, Ze = function(e, t) {
539
- return e && (G(e) ? e : M[e] || _s(e)) || t;
539
+ return e && (G(e) ? e : M[e] || ys(e)) || t;
540
540
  }, Xe = function(e, t, i, n) {
541
541
  i === void 0 && (i = function(l) {
542
542
  return 1 - t(1 - l);
@@ -553,16 +553,16 @@ var ue = {
553
553
  for (var l in r)
554
554
  M[s + (l === "easeIn" ? ".in" : l === "easeOut" ? ".out" : ".inOut")] = M[o + "." + l] = r[l];
555
555
  }), r;
556
- }, lr = function(e) {
556
+ }, hr = function(e) {
557
557
  return function(t) {
558
558
  return t < 0.5 ? (1 - e(1 - t * 2)) / 2 : 0.5 + e((t - 0.5) * 2) / 2;
559
559
  };
560
560
  }, Jt = function a(e, t, i) {
561
561
  var n = t >= 1 ? t : 1, r = (i || (e ? 0.3 : 0.45)) / (t < 1 ? t : 1), s = r / li * (Math.asin(1 / n) || 0), o = function(c) {
562
- return c === 1 ? 1 : n * Math.pow(2, -10 * c) * Hr((c - s) * r) + 1;
562
+ return c === 1 ? 1 : n * Math.pow(2, -10 * c) * Yr((c - s) * r) + 1;
563
563
  }, l = e === "out" ? o : e === "in" ? function(h) {
564
564
  return 1 - o(1 - h);
565
- } : lr(o);
565
+ } : hr(o);
566
566
  return r = li / r, l.config = function(h, c) {
567
567
  return a(e, h, c);
568
568
  }, l;
@@ -572,7 +572,7 @@ var ue = {
572
572
  return s ? --s * s * ((t + 1) * s + t) + 1 : 0;
573
573
  }, n = e === "out" ? i : e === "in" ? function(r) {
574
574
  return 1 - i(1 - r);
575
- } : lr(i);
575
+ } : hr(i);
576
576
  return n.config = function(r) {
577
577
  return a(e, r);
578
578
  }, n;
@@ -603,10 +603,10 @@ Xe("Expo", function(a) {
603
603
  return Math.pow(2, 10 * (a - 1)) * a + a * a * a * a * a * a * (1 - a);
604
604
  });
605
605
  Xe("Circ", function(a) {
606
- return -(Rn(1 - a * a) - 1);
606
+ return -(Ln(1 - a * a) - 1);
607
607
  });
608
608
  Xe("Sine", function(a) {
609
- return a === 1 ? 1 : -jr(a * Gr) + 1;
609
+ return a === 1 ? 1 : -Hr(a * Vr) + 1;
610
610
  });
611
611
  Xe("Back", ei("in"), ei("out"), ei());
612
612
  M.SteppedEase = M.steps = de.SteppedEase = {
@@ -622,8 +622,8 @@ ot.ease = M["quad.out"];
622
622
  ne("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(a) {
623
623
  return Ri += a + "," + a + "Params,";
624
624
  });
625
- var hr = function(e, t) {
626
- this.id = Vr++, e._gsap = this, this.target = e, this.harness = t, this.get = t ? t.get : Bn, this.set = t ? t.getSetter : Ui;
625
+ var cr = function(e, t) {
626
+ this.id = jr++, e._gsap = this, this.target = e, this.harness = t, this.get = t ? t.get : $n, this.set = t ? t.getSetter : Ui;
627
627
  }, At = /* @__PURE__ */ (function() {
628
628
  function a(t) {
629
629
  this.vars = t, this._delay = +t.delay || 0, (this._repeat = t.repeat === 1 / 0 ? -2 : t.repeat || 0) && (this._rDelay = t.repeatDelay || 0, this._yoyo = !!t.yoyo || !!t.yoyoEase), this._ts = 1, ct(this, +t.duration, 1, 1), this.data = t.data, z && (this._ctx = z, z.data.push(this)), Ct || he.wake();
@@ -640,11 +640,11 @@ var hr = function(e, t) {
640
640
  return this._tTime;
641
641
  var r = this._dp;
642
642
  if (r && r.smoothChildTiming && this._ts) {
643
- for (Wt(this, i), !r._dp || r.parent || Hn(r, this); r && r.parent; )
643
+ for (Wt(this, i), !r._dp || r.parent || Yn(r, this); r && r.parent; )
644
644
  r.parent._time !== r._start + (r._ts >= 0 ? r._tTime / r._ts : (r.totalDuration() - r._tTime) / -r._ts) && r.totalTime(r._tTime, !0), r = r.parent;
645
- !this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && i < this._tDur || this._ts < 0 && i > 0 || !this._tDur && !i) && be(this._dp, this, this._start - this._delay);
645
+ !this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && i < this._tDur || this._ts < 0 && i > 0 || !this._tDur && !i) && xe(this._dp, this, this._start - this._delay);
646
646
  }
647
- return (this._tTime !== i || !this._dur && !n || this._initted && Math.abs(this._zTime) === k || !i && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = i), $n(this, i, n)), this;
647
+ return (this._tTime !== i || !this._dur && !n || this._initted && Math.abs(this._zTime) === k || !i && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = i), Gn(this, i, n)), this;
648
648
  }, e.time = function(i, n) {
649
649
  return arguments.length ? this.totalTime(Math.min(this.totalDuration(), i + qi(this)) % (this._dur + this._rDelay) || (i ? this._dur : 0), n) : this._time;
650
650
  }, e.totalProgress = function(i, n) {
@@ -660,14 +660,14 @@ var hr = function(e, t) {
660
660
  if (this._rts === i)
661
661
  return this;
662
662
  var r = this.parent && this._ts ? Vt(this.parent._time, this) : this._tTime;
663
- return this._rts = +i || 0, this._ts = this._ps || i === -k ? 0 : this._rts, this.totalTime(Dt(-Math.abs(this._delay), this.totalDuration(), r), n !== !1), Kt(this), Qr(this);
663
+ return this._rts = +i || 0, this._ts = this._ps || i === -k ? 0 : this._rts, this.totalTime(Dt(-Math.abs(this._delay), this.totalDuration(), r), n !== !1), Kt(this), Jr(this);
664
664
  }, e.paused = function(i) {
665
665
  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) : (ut(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== k && (this._tTime -= k)))), this) : this._ps;
666
666
  }, e.startTime = function(i) {
667
667
  if (arguments.length) {
668
668
  this._start = i;
669
669
  var n = this.parent || this._dp;
670
- return n && (n._sort || !this.parent) && be(n, this, i - this._delay), this;
670
+ return n && (n._sort || !this.parent) && xe(n, this, i - this._delay), this;
671
671
  }
672
672
  return this._start;
673
673
  }, e.endTime = function(i) {
@@ -676,9 +676,9 @@ var hr = function(e, t) {
676
676
  var n = this.parent || this._dp;
677
677
  return n ? i && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? Vt(n.rawTime(i), this) : this._tTime : this._tTime;
678
678
  }, e.revert = function(i) {
679
- i === void 0 && (i = Kr);
679
+ i === void 0 && (i = Wr);
680
680
  var n = W;
681
- return W = i, Li(this) && (this.timeline && this.timeline.revert(i), this.totalTime(-0.01, i.suppressEvents)), this.data !== "nested" && i.kill !== !1 && this.kill(), W = n, this;
681
+ return W = i, Ii(this) && (this.timeline && this.timeline.revert(i), this.totalTime(-0.01, i.suppressEvents)), this.data !== "nested" && i.kill !== !1 && this.kill(), W = n, this;
682
682
  }, e.globalTime = function(i) {
683
683
  for (var n = this, r = arguments.length ? i : n.rawTime(); n; )
684
684
  r = n._start + r / (Math.abs(n._ts) || 1), n = n._dp;
@@ -718,7 +718,7 @@ var hr = function(e, t) {
718
718
  }, e.then = function(i) {
719
719
  var n = this;
720
720
  return new Promise(function(r) {
721
- var s = G(i) ? i : Vn, o = function() {
721
+ var s = G(i) ? i : jn, o = function() {
722
722
  var h = n.then;
723
723
  n.then = null, G(s) && (s = s(n)) && (s.then || s === n) && (n.then = h), r(s), n.then = h;
724
724
  };
@@ -749,32 +749,32 @@ pe(At.prototype, {
749
749
  _rts: 1
750
750
  });
751
751
  var J = /* @__PURE__ */ (function(a) {
752
- Dn(e, a);
752
+ Rn(e, a);
753
753
  function e(i, n) {
754
754
  var r;
755
- return i === void 0 && (i = {}), r = a.call(this, i) || this, r.labels = {}, r.smoothChildTiming = !!i.smoothChildTiming, r.autoRemoveChildren = !!i.autoRemoveChildren, r._sort = ie(i.sortChildren), N && be(i.parent || N, Ce(r), n), i.reversed && r.reverse(), i.paused && r.paused(!0), i.scrollTrigger && Yn(Ce(r), i.scrollTrigger), r;
755
+ return i === void 0 && (i = {}), r = a.call(this, i) || this, r.labels = {}, r.smoothChildTiming = !!i.smoothChildTiming, r.autoRemoveChildren = !!i.autoRemoveChildren, r._sort = ie(i.sortChildren), N && xe(i.parent || N, Ce(r), n), i.reversed && r.reverse(), i.paused && r.paused(!0), i.scrollTrigger && Zn(Ce(r), i.scrollTrigger), r;
756
756
  }
757
757
  var t = e.prototype;
758
758
  return t.to = function(n, r, s) {
759
- return bt(0, arguments, this), this;
759
+ return xt(0, arguments, this), this;
760
760
  }, t.from = function(n, r, s) {
761
- return bt(1, arguments, this), this;
761
+ return xt(1, arguments, this), this;
762
762
  }, t.fromTo = function(n, r, s, o) {
763
- return bt(2, arguments, this), this;
763
+ return xt(2, arguments, this), this;
764
764
  }, t.set = function(n, r, s) {
765
- return r.duration = 0, r.parent = this, xt(r).repeatDelay || (r.repeat = 0), r.immediateRender = !!r.immediateRender, new j(n, r, me(this, s), 1), this;
765
+ return r.duration = 0, r.parent = this, bt(r).repeatDelay || (r.repeat = 0), r.immediateRender = !!r.immediateRender, new j(n, r, me(this, s), 1), this;
766
766
  }, t.call = function(n, r, s) {
767
- return be(this, j.delayedCall(0, n, r), s);
767
+ return xe(this, j.delayedCall(0, n, r), s);
768
768
  }, t.staggerTo = function(n, r, s, o, l, h, c) {
769
769
  return s.duration = r, s.stagger = s.stagger || o, s.onComplete = h, s.onCompleteParams = c, s.parent = this, new j(n, s, me(this, l)), this;
770
770
  }, t.staggerFrom = function(n, r, s, o, l, h, c) {
771
- return s.runBackwards = 1, xt(s).immediateRender = ie(s.immediateRender), this.staggerTo(n, r, s, o, l, h, c);
771
+ return s.runBackwards = 1, bt(s).immediateRender = ie(s.immediateRender), this.staggerTo(n, r, s, o, l, h, c);
772
772
  }, t.staggerFromTo = function(n, r, s, o, l, h, c, u) {
773
- return o.startAt = s, xt(o).immediateRender = ie(o.immediateRender), this.staggerTo(n, r, o, l, h, c, u);
773
+ return o.startAt = s, bt(o).immediateRender = ie(o.immediateRender), this.staggerTo(n, r, o, l, h, c, u);
774
774
  }, t.render = function(n, r, s) {
775
- var o = this._time, l = this._dirty ? this.totalDuration() : this._tDur, h = this._dur, c = n <= 0 ? 0 : H(n), u = this._zTime < 0 != n < 0 && (this._initted || !h), f, g, p, d, m, _, y, x, b, v, P, E;
775
+ var o = this._time, l = this._dirty ? this.totalDuration() : this._tDur, h = this._dur, c = n <= 0 ? 0 : H(n), u = this._zTime < 0 != n < 0 && (this._initted || !h), f, g, p, d, m, _, y, b, x, v, P, E;
776
776
  if (this !== N && c > l && n >= 0 && (c = l), c !== this._tTime || s || u) {
777
- if (o !== this._time && h && (c += this._time - o, n += this._time - o), f = c, b = this._start, x = this._ts, _ = !x, u && (h || (o = this._zTime), (n || !r) && (this._zTime = n)), this._repeat) {
777
+ if (o !== this._time && h && (c += this._time - o, n += this._time - o), f = c, x = this._start, b = this._ts, _ = !b, u && (h || (o = this._zTime), (n || !r) && (this._zTime = n)), this._repeat) {
778
778
  if (P = this._yoyo, m = h + this._rDelay, this._repeat < -1 && n < 0)
779
779
  return this.totalTime(m * 100 + n, r, s);
780
780
  if (f = H(c % m), c === l ? (d = this._repeat, f = h) : (v = H(c / m), d = ~~v, d && d === v && (f = h, d--), f > h && (f = h)), v = ht(this._tTime, m), !o && this._tTime && v !== d && this._tTime - v * m - this._dur <= 0 && (v = d), P && d & 1 && (f = h - f, E = 1), d !== v && !this._lock) {
@@ -783,10 +783,10 @@ var J = /* @__PURE__ */ (function(a) {
783
783
  return this;
784
784
  if (h = this._dur, l = this._tDur, w && (this._lock = 2, o = C ? h : -1e-4, this.render(o, !0), this.vars.repeatRefresh && !E && this.invalidate()), this._lock = 0, !this._ts && !_)
785
785
  return this;
786
- or(this, E);
786
+ lr(this, E);
787
787
  }
788
788
  }
789
- if (this._hasPause && !this._forcing && this._lock < 2 && (y = is(this, H(o), H(f)), y && (c -= f - (f = y._start))), this._tTime = c, this._time = f, this._act = !x, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = n, o = 0), !o && c && !r && !v && (ce(this, "onStart"), this._tTime !== c))
789
+ if (this._hasPause && !this._forcing && this._lock < 2 && (y = ns(this, H(o), H(f)), y && (c -= f - (f = y._start))), this._tTime = c, this._time = f, this._act = !b, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = n, o = 0), !o && c && !r && !v && (ce(this, "onStart"), this._tTime !== c))
790
790
  return this;
791
791
  if (f >= o && n >= 0)
792
792
  for (g = this._first; g; ) {
@@ -806,7 +806,7 @@ var J = /* @__PURE__ */ (function(a) {
806
806
  if (p = g._prev, (g._act || S <= g._end) && g._ts && y !== g) {
807
807
  if (g.parent !== this)
808
808
  return this.render(n, r, s);
809
- if (g.render(g._ts > 0 ? (S - g._start) * g._ts : (g._dirty ? g.totalDuration() : g._tDur) + (S - g._start) * g._ts, r, s || W && Li(g)), f !== this._time || !this._ts && !_) {
809
+ if (g.render(g._ts > 0 ? (S - g._start) * g._ts : (g._dirty ? g.totalDuration() : g._tDur) + (S - g._start) * g._ts, r, s || W && Ii(g)), f !== this._time || !this._ts && !_) {
810
810
  y = 0, p && (c += this._zTime = S ? -k : k);
811
811
  break;
812
812
  }
@@ -815,8 +815,8 @@ var J = /* @__PURE__ */ (function(a) {
815
815
  }
816
816
  }
817
817
  if (y && !r && (this.pause(), y.render(f >= o ? 0 : -k)._zTime = f >= o ? 1 : -1, this._ts))
818
- return this._start = b, Kt(this), this.render(n, r, s);
819
- this._onUpdate && !r && ce(this, "onUpdate", !0), (c === l && this._tTime >= this.totalDuration() || !c && o) && (b === this._start || Math.abs(x) !== Math.abs(this._ts)) && (this._lock || ((n || !h) && (c === l && this._ts > 0 || !c && this._ts < 0) && ke(this, 1), !r && !(n < 0 && !o) && (c || o || !l) && (ce(this, c === l && n >= 0 ? "onComplete" : "onReverseComplete", !0), this._prom && !(c < l && this.timeScale() > 0) && this._prom())));
818
+ return this._start = x, Kt(this), this.render(n, r, s);
819
+ this._onUpdate && !r && ce(this, "onUpdate", !0), (c === l && this._tTime >= this.totalDuration() || !c && o) && (x === this._start || Math.abs(b) !== Math.abs(this._ts)) && (this._lock || ((n || !h) && (c === l && this._ts > 0 || !c && this._ts < 0) && ke(this, 1), !r && !(n < 0 && !o) && (c || o || !l) && (ce(this, c === l && n >= 0 ? "onComplete" : "onReverseComplete", !0), this._prom && !(c < l && this.timeScale() > 0) && this._prom())));
820
820
  }
821
821
  return this;
822
822
  }, t.add = function(n, r) {
@@ -833,7 +833,7 @@ var J = /* @__PURE__ */ (function(a) {
833
833
  else
834
834
  return this;
835
835
  }
836
- return this !== n ? be(this, n, r) : this;
836
+ return this !== n ? xe(this, n, r) : this;
837
837
  }, t.getChildren = function(n, r, s, o) {
838
838
  n === void 0 && (n = !0), r === void 0 && (r = !0), s === void 0 && (s = !0), o === void 0 && (o = -ge);
839
839
  for (var l = [], h = this._first; h; )
@@ -853,7 +853,7 @@ var J = /* @__PURE__ */ (function(a) {
853
853
  return delete this.labels[n], this;
854
854
  }, t.addPause = function(n, r, s) {
855
855
  var o = j.delayedCall(0, r || wt, s);
856
- return o.data = "isPause", this._hasPause = 1, be(this, o, me(this, n));
856
+ return o.data = "isPause", this._hasPause = 1, xe(this, o, me(this, n));
857
857
  }, t.removePause = function(n) {
858
858
  var r = this._first;
859
859
  for (n = me(this, n); r; )
@@ -864,7 +864,7 @@ var J = /* @__PURE__ */ (function(a) {
864
864
  return this;
865
865
  }, t.getTweensOf = function(n, r) {
866
866
  for (var s = [], o = _e(n), l = this._first, h = Te(r), c; l; )
867
- l instanceof j ? Wr(l._targets, o) && (h ? (!Me || l._initted && l._ts) && l.globalTime(0) <= r && l.globalTime(l.totalDuration()) > r : !r || l.isActive()) && s.push(l) : (c = l.getTweensOf(o, r)).length && s.push.apply(s, c), l = l._next;
867
+ l instanceof j ? Xr(l._targets, o) && (h ? (!Me || l._initted && l._ts) && l.globalTime(0) <= r && l.globalTime(l.totalDuration()) > r : !r || l.isActive()) && s.push(l) : (c = l.getTweensOf(o, r)).length && s.push.apply(s, c), l = l._next;
868
868
  return s;
869
869
  }, t.tweenTo = function(n, r) {
870
870
  r = r || {};
@@ -922,12 +922,12 @@ var J = /* @__PURE__ */ (function(a) {
922
922
  return s.timeScale((s._repeat < 0 ? s.duration() : s.totalDuration()) / (s.reversed() ? -n : n));
923
923
  if (s._dirty) {
924
924
  for (u = s.parent; o; )
925
- h = o._prev, o._dirty && o.totalDuration(), c = o._start, c > l && s._sort && o._ts && !s._lock ? (s._lock = 1, be(s, o, c - o._delay, 1)._lock = 0) : l = c, c < 0 && o._ts && (r -= c, (!u && !s._dp || u && u.smoothChildTiming) && (s._start += c / s._ts, s._time -= c, s._tTime -= c), s.shiftChildren(-c, !1, -1 / 0), l = 0), o._end > r && o._ts && (r = o._end), o = h;
925
+ h = o._prev, o._dirty && o.totalDuration(), c = o._start, c > l && s._sort && o._ts && !s._lock ? (s._lock = 1, xe(s, o, c - o._delay, 1)._lock = 0) : l = c, c < 0 && o._ts && (r -= c, (!u && !s._dp || u && u.smoothChildTiming) && (s._start += c / s._ts, s._time -= c, s._tTime -= c), s.shiftChildren(-c, !1, -1 / 0), l = 0), o._end > r && o._ts && (r = o._end), o = h;
926
926
  ct(s, s === N && s._time > r ? s._time : r, 1, 1), s._dirty = 0;
927
927
  }
928
928
  return s._tDur;
929
929
  }, e.updateRoot = function(n) {
930
- if (N._ts && ($n(N, Vt(n, N)), Nn = he.frame), he.frame >= Wi) {
930
+ if (N._ts && (Gn(N, Vt(n, N)), Bn = he.frame), he.frame >= Wi) {
931
931
  Wi += ue.autoSleep || 120;
932
932
  var r = N._first;
933
933
  if ((!r || !r._ts) && ue.autoSleep && he._listeners.length < 2) {
@@ -943,8 +943,8 @@ pe(J.prototype, {
943
943
  _hasPause: 0,
944
944
  _forcing: 0
945
945
  });
946
- var ys = function(e, t, i, n, r, s, o) {
947
- var l = new re(this._pt, e, t, 0, 1, mr, null, r), h = 0, c = 0, u, f, g, p, d, m, _, y;
946
+ var bs = function(e, t, i, n, r, s, o) {
947
+ var l = new re(this._pt, e, t, 0, 1, gr, null, r), h = 0, c = 0, u, f, g, p, d, m, _, y;
948
948
  for (l.b = i, l.e = n, i += "", n += "", (_ = ~n.indexOf("random(")) && (n = Pt(n)), s && (y = [i, n], s(y, e, t), i = y[0], n = y[1]), f = i.match(Xt) || []; u = Xt.exec(n); )
949
949
  p = u[0], d = n.substring(h, u.index), g ? g = (g + 1) % 5 : d.substr(-5) === "rgba(" && (g = 1), p !== f[c++] && (m = parseFloat(f[c - 1]) || 0, l._pt = {
950
950
  _next: l._pt,
@@ -954,12 +954,12 @@ var ys = function(e, t, i, n, r, s, o) {
954
954
  c: p.charAt(1) === "=" ? rt(m, p) - m : parseFloat(p) - m,
955
955
  m: g && g < 4 ? Math.round : 0
956
956
  }, h = Xt.lastIndex);
957
- return l.c = h < n.length ? n.substring(h, n.length) : "", l.fp = o, (On.test(n) || _) && (l.e = 0), this._pt = l, l;
957
+ return l.c = h < n.length ? n.substring(h, n.length) : "", l.fp = o, (kn.test(n) || _) && (l.e = 0), this._pt = l, l;
958
958
  }, Oi = function(e, t, i, n, r, s, o, l, h, c) {
959
959
  G(n) && (n = n(r || 0, e, s));
960
- var u = e[t], f = i !== "get" ? i : G(u) ? h ? e[t.indexOf("set") || !G(e["get" + t.substr(3)]) ? t : "get" + t.substr(3)](h) : e[t]() : u, g = G(u) ? h ? ws : pr : Fi, p;
960
+ var u = e[t], f = i !== "get" ? i : G(u) ? h ? e[t.indexOf("set") || !G(e["get" + t.substr(3)]) ? t : "get" + t.substr(3)](h) : e[t]() : u, g = G(u) ? h ? Ps : fr : Fi, p;
961
961
  if (K(n) && (~n.indexOf("random(") && (n = Pt(n)), n.charAt(1) === "=" && (p = rt(f, n) + (X(f) || 0), (p || p === 0) && (n = p))), !c || f !== n || _i)
962
- return !isNaN(f * n) && n !== "" ? (p = new re(this._pt, e, t, +f || 0, n - (f || 0), typeof u == "boolean" ? Cs : fr, 0, g), h && (p.fp = h), o && p.modifier(o, this, e), this._pt = p) : (!u && !(t in e) && Mi(t, n), ys.call(this, e, t, f, n, g, l || ue.stringFilter, h));
962
+ return !isNaN(f * n) && n !== "" ? (p = new re(this._pt, e, t, +f || 0, n - (f || 0), typeof u == "boolean" ? As : mr, 0, g), h && (p.fp = h), o && p.modifier(o, this, e), this._pt = p) : (!u && !(t in e) && Mi(t, n), bs.call(this, e, t, f, n, g, l || ue.stringFilter, h));
963
963
  }, xs = function(e, t, i, n, r) {
964
964
  if (G(e) && (e = vt(e, r, t, i, n)), !we(e) || e.style && e.nodeType || q(e) || In(e))
965
965
  return K(e) ? vt(e, r, t, i, n) : e;
@@ -967,16 +967,16 @@ var ys = function(e, t, i, n, r, s, o) {
967
967
  for (o in e)
968
968
  s[o] = vt(e[o], r, t, i, n);
969
969
  return s;
970
- }, cr = function(e, t, i, n, r, s) {
970
+ }, ur = function(e, t, i, n, r, s) {
971
971
  var o, l, h, c;
972
972
  if (le[e] && (o = new le[e]()).init(r, o.rawVars ? t[e] : xs(t[e], n, r, s, i), i, n, s) !== !1 && (i._pt = l = new re(i._pt, r, e, 0, 1, o.render, o, 0, o.priority), i !== tt))
973
973
  for (h = i._ptLookup[i._targets.indexOf(r)], c = o._props.length; c--; )
974
974
  h[o._props[c]] = l;
975
975
  return o;
976
976
  }, Me, _i, ki = function a(e, t, i) {
977
- var n = e.vars, r = n.ease, s = n.startAt, o = n.immediateRender, l = n.lazy, h = n.onUpdate, c = n.runBackwards, u = n.yoyoEase, f = n.keyframes, g = n.autoRevert, p = e._dur, d = e._startAt, m = e._targets, _ = e.parent, y = _ && _.data === "nested" ? _.vars.targets : m, x = e._overwrite === "auto" && !Ci, b = e.timeline, v, P, E, C, w, S, D, T, R, I, $, U, F;
978
- if (b && (!f || !r) && (r = "none"), e._ease = Ze(r, ot.ease), e._yEase = u ? ar(Ze(u === !0 ? r : u, ot.ease)) : 0, u && e._yoyo && !e._repeat && (u = e._yEase, e._yEase = e._ease, e._ease = u), e._from = !b && !!n.runBackwards, !b || f && !n.stagger) {
979
- if (T = m[0] ? He(m[0]).harness : 0, U = T && n[T.prop], v = Gt(n, Di), d && (d._zTime < 0 && d.progress(1), t < 0 && c && o && !g ? d.render(-1, !0) : d.revert(c && p ? Ft : Zr), d._lazy = 0), s) {
977
+ var n = e.vars, r = n.ease, s = n.startAt, o = n.immediateRender, l = n.lazy, h = n.onUpdate, c = n.runBackwards, u = n.yoyoEase, f = n.keyframes, g = n.autoRevert, p = e._dur, d = e._startAt, m = e._targets, _ = e.parent, y = _ && _.data === "nested" ? _.vars.targets : m, b = e._overwrite === "auto" && !Ci, x = e.timeline, v, P, E, C, w, S, D, T, R, L, $, U, F;
978
+ if (x && (!f || !r) && (r = "none"), e._ease = Ze(r, ot.ease), e._yEase = u ? or(Ze(u === !0 ? r : u, ot.ease)) : 0, u && e._yoyo && !e._repeat && (u = e._yEase, e._yEase = e._ease, e._ease = u), e._from = !x && !!n.runBackwards, !x || f && !n.stagger) {
979
+ if (T = m[0] ? He(m[0]).harness : 0, U = T && n[T.prop], v = Gt(n, Di), d && (d._zTime < 0 && d.progress(1), t < 0 && c && o && !g ? d.render(-1, !0) : d.revert(c && p ? Ft : Kr), d._lazy = 0), s) {
980
980
  if (ke(e._startAt = j.set(m, pe({
981
981
  data: "isStart",
982
982
  overwrite: !1,
@@ -1010,17 +1010,17 @@ var ys = function(e, t, i, n, r, s, o) {
1010
1010
  return;
1011
1011
  }
1012
1012
  for (e._pt = e._ptCache = 0, l = p && ie(l) || l && !p, P = 0; P < m.length; P++) {
1013
- if (w = m[P], D = w._gsap || Ii(m)[P]._gsap, e._ptLookup[P] = I = {}, ui[D.id] && Le.length && $t(), $ = y === m ? P : y.indexOf(w), T && (R = new T()).init(w, U || v, e, $, y) !== !1 && (e._pt = C = new re(e._pt, w, R.name, 0, 1, R.render, R, 0, R.priority), R._props.forEach(function(ee) {
1014
- I[ee] = C;
1013
+ if (w = m[P], D = w._gsap || Li(m)[P]._gsap, e._ptLookup[P] = L = {}, ui[D.id] && Ie.length && $t(), $ = y === m ? P : y.indexOf(w), T && (R = new T()).init(w, U || v, e, $, y) !== !1 && (e._pt = C = new re(e._pt, w, R.name, 0, 1, R.render, R, 0, R.priority), R._props.forEach(function(ee) {
1014
+ L[ee] = C;
1015
1015
  }), R.priority && (S = 1)), !T || U)
1016
1016
  for (E in v)
1017
- le[E] && (R = cr(E, v, e, $, w, y)) ? R.priority && (S = 1) : I[E] = C = Oi.call(e, w, E, "get", v[E], $, y, 0, n.stringFilter);
1018
- e._op && e._op[P] && e.kill(w, e._op[P]), x && e._pt && (Me = e, N.killTweensOf(w, I, e.globalTime(t)), F = !e.parent, Me = 0), e._pt && l && (ui[D.id] = 1);
1017
+ le[E] && (R = ur(E, v, e, $, w, y)) ? R.priority && (S = 1) : L[E] = C = Oi.call(e, w, E, "get", v[E], $, y, 0, n.stringFilter);
1018
+ e._op && e._op[P] && e.kill(w, e._op[P]), b && e._pt && (Me = e, N.killTweensOf(w, L, e.globalTime(t)), F = !e.parent, Me = 0), e._pt && l && (ui[D.id] = 1);
1019
1019
  }
1020
- S && gr(e), e._onInit && e._onInit(e);
1020
+ S && _r(e), e._onInit && e._onInit(e);
1021
1021
  }
1022
- e._onUpdate = h, e._initted = (!e._op || e._pt) && !F, f && t <= 0 && b.render(ge, !0, !0);
1023
- }, bs = function(e, t, i, n, r, s, o, l) {
1022
+ e._onUpdate = h, e._initted = (!e._op || e._pt) && !F, f && t <= 0 && x.render(ge, !0, !0);
1023
+ }, vs = function(e, t, i, n, r, s, o, l) {
1024
1024
  var h = (e._pt && e._ptCache || (e._ptCache = {}))[t], c, u, f, g;
1025
1025
  if (!h)
1026
1026
  for (h = e._ptCache[t] = [], f = e._ptLookup, g = e._targets.length; g--; ) {
@@ -1033,7 +1033,7 @@ var ys = function(e, t, i, n, r, s, o) {
1033
1033
  }
1034
1034
  for (g = h.length; g--; )
1035
1035
  u = h[g], c = u._pt || u, c.s = (n || n === 0) && !r ? n : c.s + (n || 0) + s * c.c, c.c = i - c.s, u.e && (u.e = V(i) + X(u.e)), u.b && (u.b = c.s + X(u.b));
1036
- }, vs = function(e, t) {
1036
+ }, Es = function(e, t) {
1037
1037
  var i = e[0] ? He(e[0]).harness : 0, n = i && i.aliases, r, s, o, l;
1038
1038
  if (!n)
1039
1039
  return t;
@@ -1043,7 +1043,7 @@ var ys = function(e, t, i, n, r, s, o) {
1043
1043
  for (l = n[s].split(","), o = l.length; o--; )
1044
1044
  r[l[o]] = r[s];
1045
1045
  return r;
1046
- }, Es = function(e, t, i, n) {
1046
+ }, ws = function(e, t, i, n) {
1047
1047
  var r = t.ease || n || "power1.inOut", s, o;
1048
1048
  if (q(t))
1049
1049
  o = i[e] || (i[e] = []), t.forEach(function(l, h) {
@@ -1062,85 +1062,85 @@ var ys = function(e, t, i, n, r, s, o) {
1062
1062
  });
1063
1063
  }, vt = function(e, t, i, n, r) {
1064
1064
  return G(e) ? e.call(t, i, n, r) : K(e) && ~e.indexOf("random(") ? Pt(e) : e;
1065
- }, ur = Ri + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", dr = {};
1066
- ne(ur + ",id,stagger,delay,duration,paused,scrollTrigger", function(a) {
1067
- return dr[a] = 1;
1065
+ }, dr = Ri + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", pr = {};
1066
+ ne(dr + ",id,stagger,delay,duration,paused,scrollTrigger", function(a) {
1067
+ return pr[a] = 1;
1068
1068
  });
1069
1069
  var j = /* @__PURE__ */ (function(a) {
1070
- Dn(e, a);
1070
+ Rn(e, a);
1071
1071
  function e(i, n, r, s) {
1072
1072
  var o;
1073
- typeof n == "number" && (r.duration = n, n = r, r = null), o = a.call(this, s ? n : xt(n)) || this;
1074
- var l = o.vars, h = l.duration, c = l.delay, u = l.immediateRender, f = l.stagger, g = l.overwrite, p = l.keyframes, d = l.defaults, m = l.scrollTrigger, _ = l.yoyoEase, y = n.parent || N, x = (q(i) || In(i) ? Te(i[0]) : "length" in n) ? [i] : _e(i), b, v, P, E, C, w, S, D;
1075
- if (o._targets = x.length ? Ii(x) : Et("GSAP target " + i + " not found. https://gsap.com", !ue.nullTargetWarn) || [], o._ptLookup = [], o._overwrite = g, p || f || Rt(h) || Rt(c)) {
1076
- if (n = o.vars, b = o.timeline = new J({
1073
+ typeof n == "number" && (r.duration = n, n = r, r = null), o = a.call(this, s ? n : bt(n)) || this;
1074
+ var l = o.vars, h = l.duration, c = l.delay, u = l.immediateRender, f = l.stagger, g = l.overwrite, p = l.keyframes, d = l.defaults, m = l.scrollTrigger, _ = l.yoyoEase, y = n.parent || N, b = (q(i) || In(i) ? Te(i[0]) : "length" in n) ? [i] : _e(i), x, v, P, E, C, w, S, D;
1075
+ if (o._targets = b.length ? Li(b) : Et("GSAP target " + i + " not found. https://gsap.com", !ue.nullTargetWarn) || [], o._ptLookup = [], o._overwrite = g, p || f || Rt(h) || Rt(c)) {
1076
+ if (n = o.vars, x = o.timeline = new J({
1077
1077
  data: "nested",
1078
1078
  defaults: d || {},
1079
- targets: y && y.data === "nested" ? y.vars.targets : x
1080
- }), b.kill(), b.parent = b._dp = Ce(o), b._start = 0, f || Rt(h) || Rt(c)) {
1081
- if (E = x.length, S = f && Xn(f), we(f))
1079
+ targets: y && y.data === "nested" ? y.vars.targets : b
1080
+ }), x.kill(), x.parent = x._dp = Ce(o), x._start = 0, f || Rt(h) || Rt(c)) {
1081
+ if (E = b.length, S = f && qn(f), we(f))
1082
1082
  for (C in f)
1083
- ~ur.indexOf(C) && (D || (D = {}), D[C] = f[C]);
1083
+ ~dr.indexOf(C) && (D || (D = {}), D[C] = f[C]);
1084
1084
  for (v = 0; v < E; v++)
1085
- P = Gt(n, dr), P.stagger = 0, _ && (P.yoyoEase = _), D && lt(P, D), w = x[v], P.duration = +vt(h, Ce(o), v, w, x), P.delay = (+vt(c, Ce(o), v, w, x) || 0) - o._delay, !f && E === 1 && P.delay && (o._delay = c = P.delay, o._start += c, P.delay = 0), b.to(w, P, S ? S(v, w, x) : 0), b._ease = M.none;
1086
- b.duration() ? h = c = 0 : o.timeline = 0;
1085
+ P = Gt(n, pr), P.stagger = 0, _ && (P.yoyoEase = _), D && lt(P, D), w = b[v], P.duration = +vt(h, Ce(o), v, w, b), P.delay = (+vt(c, Ce(o), v, w, b) || 0) - o._delay, !f && E === 1 && P.delay && (o._delay = c = P.delay, o._start += c, P.delay = 0), x.to(w, P, S ? S(v, w, b) : 0), x._ease = M.none;
1086
+ x.duration() ? h = c = 0 : o.timeline = 0;
1087
1087
  } else if (p) {
1088
- xt(pe(b.vars.defaults, {
1088
+ bt(pe(x.vars.defaults, {
1089
1089
  ease: "none"
1090
- })), b._ease = Ze(p.ease || n.ease || "none");
1091
- var T = 0, R, I, $;
1090
+ })), x._ease = Ze(p.ease || n.ease || "none");
1091
+ var T = 0, R, L, $;
1092
1092
  if (q(p))
1093
1093
  p.forEach(function(U) {
1094
- return b.to(x, U, ">");
1095
- }), b.duration();
1094
+ return x.to(b, U, ">");
1095
+ }), x.duration();
1096
1096
  else {
1097
1097
  P = {};
1098
1098
  for (C in p)
1099
- C === "ease" || C === "easeEach" || Es(C, p[C], P, p.easeEach);
1099
+ C === "ease" || C === "easeEach" || ws(C, p[C], P, p.easeEach);
1100
1100
  for (C in P)
1101
1101
  for (R = P[C].sort(function(U, F) {
1102
1102
  return U.t - F.t;
1103
1103
  }), T = 0, v = 0; v < R.length; v++)
1104
- I = R[v], $ = {
1105
- ease: I.e,
1106
- duration: (I.t - (v ? R[v - 1].t : 0)) / 100 * h
1107
- }, $[C] = I.v, b.to(x, $, T), T += $.duration;
1108
- b.duration() < h && b.to({}, {
1109
- duration: h - b.duration()
1104
+ L = R[v], $ = {
1105
+ ease: L.e,
1106
+ duration: (L.t - (v ? R[v - 1].t : 0)) / 100 * h
1107
+ }, $[C] = L.v, x.to(b, $, T), T += $.duration;
1108
+ x.duration() < h && x.to({}, {
1109
+ duration: h - x.duration()
1110
1110
  });
1111
1111
  }
1112
1112
  }
1113
- h || o.duration(h = b.duration());
1113
+ h || o.duration(h = x.duration());
1114
1114
  } else
1115
1115
  o.timeline = 0;
1116
- return g === !0 && !Ci && (Me = Ce(o), N.killTweensOf(x), Me = 0), be(y, Ce(o), r), n.reversed && o.reverse(), n.paused && o.paused(!0), (u || !h && !p && o._start === H(y._time) && ie(u) && Jr(Ce(o)) && y.data !== "nested") && (o._tTime = -k, o.render(Math.max(0, -c) || 0)), m && Yn(Ce(o), m), o;
1116
+ return g === !0 && !Ci && (Me = Ce(o), N.killTweensOf(b), Me = 0), xe(y, Ce(o), r), n.reversed && o.reverse(), n.paused && o.paused(!0), (u || !h && !p && o._start === H(y._time) && ie(u) && es(Ce(o)) && y.data !== "nested") && (o._tTime = -k, o.render(Math.max(0, -c) || 0)), m && Zn(Ce(o), m), o;
1117
1117
  }
1118
1118
  var t = e.prototype;
1119
1119
  return t.render = function(n, r, s) {
1120
- var o = this._time, l = this._tDur, h = this._dur, c = n < 0, u = n > l - k && !c ? l : n < k ? 0 : n, f, g, p, d, m, _, y, x, b;
1120
+ var o = this._time, l = this._tDur, h = this._dur, c = n < 0, u = n > l - k && !c ? l : n < k ? 0 : n, f, g, p, d, m, _, y, b, x;
1121
1121
  if (!h)
1122
- ts(this, n, r, s);
1122
+ is(this, n, r, s);
1123
1123
  else if (u !== this._tTime || !n || s || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== c || this._lazy) {
1124
- if (f = u, x = this.timeline, this._repeat) {
1124
+ if (f = u, b = this.timeline, this._repeat) {
1125
1125
  if (d = h + this._rDelay, this._repeat < -1 && c)
1126
1126
  return this.totalTime(d * 100 + n, r, s);
1127
- if (f = H(u % d), u === l ? (p = this._repeat, f = h) : (m = H(u / d), p = ~~m, p && p === m ? (f = h, p--) : f > h && (f = h)), _ = this._yoyo && p & 1, _ && (b = this._yEase, f = h - f), m = ht(this._tTime, d), f === o && !s && this._initted && p === m)
1127
+ if (f = H(u % d), u === l ? (p = this._repeat, f = h) : (m = H(u / d), p = ~~m, p && p === m ? (f = h, p--) : f > h && (f = h)), _ = this._yoyo && p & 1, _ && (x = this._yEase, f = h - f), m = ht(this._tTime, d), f === o && !s && this._initted && p === m)
1128
1128
  return this._tTime = u, this;
1129
- p !== m && (x && this._yEase && or(x, _), this.vars.repeatRefresh && !_ && !this._lock && f !== d && this._initted && (this._lock = s = 1, this.render(H(d * p), !0).invalidate()._lock = 0));
1129
+ p !== m && (b && this._yEase && lr(b, _), this.vars.repeatRefresh && !_ && !this._lock && f !== d && this._initted && (this._lock = s = 1, this.render(H(d * p), !0).invalidate()._lock = 0));
1130
1130
  }
1131
1131
  if (!this._initted) {
1132
- if (Zn(this, c ? n : f, s, r, u))
1132
+ if (Kn(this, c ? n : f, s, r, u))
1133
1133
  return this._tTime = 0, this;
1134
1134
  if (o !== this._time && !(s && this.vars.repeatRefresh && p !== m))
1135
1135
  return this;
1136
1136
  if (h !== this._dur)
1137
1137
  return this.render(n, r, s);
1138
1138
  }
1139
- if (this._tTime = u, this._time = f, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = y = (b || this._ease)(f / h), this._from && (this.ratio = y = 1 - y), !o && u && !r && !m && (ce(this, "onStart"), this._tTime !== u))
1139
+ if (this._tTime = u, this._time = f, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = y = (x || this._ease)(f / h), this._from && (this.ratio = y = 1 - y), !o && u && !r && !m && (ce(this, "onStart"), this._tTime !== u))
1140
1140
  return this;
1141
1141
  for (g = this._pt; g; )
1142
1142
  g.r(y, g.d), g = g._next;
1143
- x && x.render(n < 0 ? n : x._dur * x._ease(f / this._dur), r, s) || this._startAt && (this._zTime = n), this._onUpdate && !r && (c && di(this, n, r, s), ce(this, "onUpdate")), this._repeat && p !== m && this.vars.onRepeat && !r && this.parent && ce(this, "onRepeat"), (u === this._tDur || !u) && this._tTime === u && (c && !this._onUpdate && di(this, n, !0, !0), (n || !h) && (u === this._tDur && this._ts > 0 || !u && this._ts < 0) && ke(this, 1), !r && !(c && !o) && (u || o || _) && (ce(this, u === l ? "onComplete" : "onReverseComplete", !0), this._prom && !(u < l && this.timeScale() > 0) && this._prom()));
1143
+ b && b.render(n < 0 ? n : b._dur * b._ease(f / this._dur), r, s) || this._startAt && (this._zTime = n), this._onUpdate && !r && (c && di(this, n, r, s), ce(this, "onUpdate")), this._repeat && p !== m && this.vars.onRepeat && !r && this.parent && ce(this, "onRepeat"), (u === this._tDur || !u) && this._tTime === u && (c && !this._onUpdate && di(this, n, !0, !0), (n || !h) && (u === this._tDur && this._ts > 0 || !u && this._ts < 0) && ke(this, 1), !r && !(c && !o) && (u || o || _) && (ce(this, u === l ? "onComplete" : "onReverseComplete", !0), this._prom && !(u < l && this.timeScale() > 0) && this._prom()));
1144
1144
  }
1145
1145
  return this;
1146
1146
  }, t.targets = function() {
@@ -1150,7 +1150,7 @@ var j = /* @__PURE__ */ (function(a) {
1150
1150
  }, t.resetTo = function(n, r, s, o, l) {
1151
1151
  Ct || he.wake(), this._ts || this.play();
1152
1152
  var h = Math.min(this._dur, (this._dp._time - this._start) * this._ts), c;
1153
- return this._initted || ki(this, h), c = this._ease(h / this._dur), bs(this, n, r, s, o, c, h, l) ? this.resetTo(n, r, s, o, 1) : (Wt(this, 0), this.parent || jn(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
1153
+ return this._initted || ki(this, h), c = this._ease(h / this._dur), vs(this, n, r, s, o, c, h, l) ? this.resetTo(n, r, s, o, 1) : (Wt(this, 0), this.parent || Hn(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
1154
1154
  }, t.kill = function(n, r) {
1155
1155
  if (r === void 0 && (r = "all"), !n && (!r || r === "all"))
1156
1156
  return this._lazy = this._pt = 0, this.parent ? _t(this) : this.scrollTrigger && this.scrollTrigger.kill(!!W), this;
@@ -1159,11 +1159,11 @@ var j = /* @__PURE__ */ (function(a) {
1159
1159
  return this.timeline.killTweensOf(n, r, Me && Me.vars.overwrite !== !0)._first || _t(this), this.parent && s !== this.timeline.totalDuration() && ct(this, this._dur * this.timeline._tDur / s, 0, 1), this;
1160
1160
  }
1161
1161
  var o = this._targets, l = n ? _e(n) : o, h = this._ptLookup, c = this._pt, u, f, g, p, d, m, _;
1162
- if ((!r || r === "all") && qr(o, l))
1162
+ if ((!r || r === "all") && Qr(o, l))
1163
1163
  return r === "all" && (this._pt = 0), _t(this);
1164
1164
  for (u = this._op = this._op || [], r !== "all" && (K(r) && (d = {}, ne(r, function(y) {
1165
1165
  return d[y] = 1;
1166
- }), r = d), r = vs(o, r)), _ = o.length; _--; )
1166
+ }), r = d), r = Es(o, r)), _ = o.length; _--; )
1167
1167
  if (~l.indexOf(o[_])) {
1168
1168
  f = h[_], r === "all" ? (u[_] = r, p = f, g = {}) : (g = u[_] = u[_] || {}, p = r);
1169
1169
  for (d in p)
@@ -1173,7 +1173,7 @@ var j = /* @__PURE__ */ (function(a) {
1173
1173
  }, e.to = function(n, r) {
1174
1174
  return new e(n, r, arguments[2]);
1175
1175
  }, e.from = function(n, r) {
1176
- return bt(1, arguments);
1176
+ return xt(1, arguments);
1177
1177
  }, e.delayedCall = function(n, r, s, o) {
1178
1178
  return new e(r, 0, {
1179
1179
  immediateRender: !1,
@@ -1187,7 +1187,7 @@ var j = /* @__PURE__ */ (function(a) {
1187
1187
  callbackScope: o
1188
1188
  });
1189
1189
  }, e.fromTo = function(n, r, s) {
1190
- return bt(2, arguments);
1190
+ return xt(2, arguments);
1191
1191
  }, e.set = function(n, r) {
1192
1192
  return r.duration = 0, r.repeatDelay || (r.repeat = 0), new e(n, r);
1193
1193
  }, e.killTweensOf = function(n, r, s) {
@@ -1209,19 +1209,19 @@ ne("staggerTo,staggerFrom,staggerFromTo", function(a) {
1209
1209
  });
1210
1210
  var Fi = function(e, t, i) {
1211
1211
  return e[t] = i;
1212
- }, pr = function(e, t, i) {
1212
+ }, fr = function(e, t, i) {
1213
1213
  return e[t](i);
1214
- }, ws = function(e, t, i, n) {
1214
+ }, Ps = function(e, t, i, n) {
1215
1215
  return e[t](n.fp, i);
1216
- }, Ps = function(e, t, i) {
1216
+ }, Cs = function(e, t, i) {
1217
1217
  return e.setAttribute(t, i);
1218
1218
  }, Ui = function(e, t) {
1219
- return G(e[t]) ? pr : Ai(e[t]) && e.setAttribute ? Ps : Fi;
1220
- }, fr = function(e, t) {
1219
+ return G(e[t]) ? fr : Ai(e[t]) && e.setAttribute ? Cs : Fi;
1220
+ }, mr = function(e, t) {
1221
1221
  return t.set(t.t, t.p, Math.round((t.s + t.c * e) * 1e6) / 1e6, t);
1222
- }, Cs = function(e, t) {
1222
+ }, As = function(e, t) {
1223
1223
  return t.set(t.t, t.p, !!(t.s + t.c * e), t);
1224
- }, mr = function(e, t) {
1224
+ }, gr = function(e, t) {
1225
1225
  var i = t._pt, n = "";
1226
1226
  if (!e && t.b)
1227
1227
  n = t.b;
@@ -1236,16 +1236,16 @@ var Fi = function(e, t, i) {
1236
1236
  }, zi = function(e, t) {
1237
1237
  for (var i = t._pt; i; )
1238
1238
  i.r(e, i.d), i = i._next;
1239
- }, As = function(e, t, i, n) {
1239
+ }, Ts = function(e, t, i, n) {
1240
1240
  for (var r = this._pt, s; r; )
1241
1241
  s = r._next, r.p === n && r.modifier(e, t, i), r = s;
1242
- }, Ts = function(e) {
1242
+ }, Ss = function(e) {
1243
1243
  for (var t = this._pt, i, n; t; )
1244
1244
  n = t._next, t.p === e && !t.op || t.op === e ? Zt(this, t, "_pt") : t.dep || (i = 1), t = n;
1245
1245
  return !i;
1246
- }, Ss = function(e, t, i, n) {
1246
+ }, Ms = function(e, t, i, n) {
1247
1247
  n.mSet(e, t, n.m.call(n.tween, i, n.mt), n);
1248
- }, gr = function(e) {
1248
+ }, _r = function(e) {
1249
1249
  for (var t = e._pt, i, n, r, s; t; ) {
1250
1250
  for (i = t._next, n = r; n && n.pr > t.pr; )
1251
1251
  n = n._next;
@@ -1254,11 +1254,11 @@ var Fi = function(e, t, i) {
1254
1254
  e._pt = r;
1255
1255
  }, re = /* @__PURE__ */ (function() {
1256
1256
  function a(t, i, n, r, s, o, l, h, c) {
1257
- this.t = i, this.s = r, this.c = s, this.p = n, this.r = o || fr, this.d = l || this, this.set = h || Fi, this.pr = c || 0, this._next = t, t && (t._prev = this);
1257
+ this.t = i, this.s = r, this.c = s, this.p = n, this.r = o || mr, this.d = l || this, this.set = h || Fi, this.pr = c || 0, this._next = t, t && (t._prev = this);
1258
1258
  }
1259
1259
  var e = a.prototype;
1260
1260
  return e.modifier = function(i, n, r) {
1261
- this.mSet = this.mSet || this.set, this.set = Ss, this.m = i, this.mt = r, this.tween = n;
1261
+ this.mSet = this.mSet || this.set, this.set = Ms, this.m = i, this.mt = r, this.tween = n;
1262
1262
  }, a;
1263
1263
  })();
1264
1264
  ne(Ri + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function(a) {
@@ -1273,9 +1273,9 @@ N = new J({
1273
1273
  id: "root",
1274
1274
  smoothChildTiming: !0
1275
1275
  });
1276
- ue.stringFilter = sr;
1277
- var Ke = [], zt = {}, Ms = [], tn = 0, Ds = 0, ti = function(e) {
1278
- return (zt[e] || Ms).map(function(t) {
1276
+ ue.stringFilter = ar;
1277
+ var Ke = [], zt = {}, Ds = [], tn = 0, Rs = 0, ti = function(e) {
1278
+ return (zt[e] || Ds).map(function(t) {
1279
1279
  return t();
1280
1280
  });
1281
1281
  }, yi = function() {
@@ -1283,16 +1283,16 @@ var Ke = [], zt = {}, Ms = [], tn = 0, Ds = 0, ti = function(e) {
1283
1283
  e - tn > 2 && (ti("matchMediaInit"), Ke.forEach(function(i) {
1284
1284
  var n = i.queries, r = i.conditions, s, o, l, h;
1285
1285
  for (o in n)
1286
- s = xe.matchMedia(n[o]).matches, s && (l = 1), s !== r[o] && (r[o] = s, h = 1);
1286
+ s = be.matchMedia(n[o]).matches, s && (l = 1), s !== r[o] && (r[o] = s, h = 1);
1287
1287
  h && (i.revert(), l && t.push(i));
1288
1288
  }), ti("matchMediaRevert"), t.forEach(function(i) {
1289
1289
  return i.onMatch(i, function(n) {
1290
1290
  return i.add(null, n);
1291
1291
  });
1292
1292
  }), tn = e, ti("matchMedia"));
1293
- }, _r = /* @__PURE__ */ (function() {
1293
+ }, yr = /* @__PURE__ */ (function() {
1294
1294
  function a(t, i) {
1295
- this.selector = i && mi(i), this.data = [], this._r = [], this.isReverted = !1, this.id = Ds++, t && this.add(t);
1295
+ this.selector = i && mi(i), this.data = [], this._r = [], this.isReverted = !1, this.id = Rs++, t && this.add(t);
1296
1296
  }
1297
1297
  var e = a.prototype;
1298
1298
  return e.add = function(i, n, r) {
@@ -1343,7 +1343,7 @@ var Ke = [], zt = {}, Ms = [], tn = 0, Ds = 0, ti = function(e) {
1343
1343
  }, e.revert = function(i) {
1344
1344
  this.kill(i || {});
1345
1345
  }, a;
1346
- })(), Rs = /* @__PURE__ */ (function() {
1346
+ })(), Ls = /* @__PURE__ */ (function() {
1347
1347
  function a(t) {
1348
1348
  this.contexts = [], this.scope = t, z && z.data.push(this);
1349
1349
  }
@@ -1352,10 +1352,10 @@ var Ke = [], zt = {}, Ms = [], tn = 0, Ds = 0, ti = function(e) {
1352
1352
  we(i) || (i = {
1353
1353
  matches: i
1354
1354
  });
1355
- var s = new _r(0, r || this.scope), o = s.conditions = {}, l, h, c;
1355
+ var s = new yr(0, r || this.scope), o = s.conditions = {}, l, h, c;
1356
1356
  z && !s.selector && (s.selector = z.selector), this.contexts.push(s), n = s.add("onMatch", n), s.queries = i;
1357
1357
  for (h in i)
1358
- h === "all" ? c = 1 : (l = xe.matchMedia(i[h]), l && (Ke.indexOf(s) < 0 && Ke.push(s), (o[h] = l.matches) && (c = 1), l.addListener ? l.addListener(yi) : l.addEventListener("change", yi)));
1358
+ h === "all" ? c = 1 : (l = be.matchMedia(i[h]), l && (Ke.indexOf(s) < 0 && Ke.push(s), (o[h] = l.matches) && (c = 1), l.addListener ? l.addListener(yi) : l.addEventListener("change", yi)));
1359
1359
  return c && n(s, function(u) {
1360
1360
  return s.add(null, u);
1361
1361
  }), this;
@@ -1371,7 +1371,7 @@ var Ke = [], zt = {}, Ms = [], tn = 0, Ds = 0, ti = function(e) {
1371
1371
  for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)
1372
1372
  t[i] = arguments[i];
1373
1373
  t.forEach(function(n) {
1374
- return ir(n);
1374
+ return nr(n);
1375
1375
  });
1376
1376
  },
1377
1377
  timeline: function(e) {
@@ -1382,7 +1382,7 @@ var Ke = [], zt = {}, Ms = [], tn = 0, Ds = 0, ti = function(e) {
1382
1382
  },
1383
1383
  getProperty: function(e, t, i, n) {
1384
1384
  K(e) && (e = _e(e)[0]);
1385
- var r = He(e || {}).get, s = i ? Vn : Gn;
1385
+ var r = He(e || {}).get, s = i ? jn : Vn;
1386
1386
  return i === "native" && (i = ""), e && (t ? s((le[t] && le[t].get || r)(e, t, i, n)) : function(o, l, h) {
1387
1387
  return s((le[o] && le[o].get || r)(e, o, l, h));
1388
1388
  });
@@ -1444,14 +1444,14 @@ var Ke = [], zt = {}, Ms = [], tn = 0, Ds = 0, ti = function(e) {
1444
1444
  e === void 0 && (e = {});
1445
1445
  var i = new J(e), n, r;
1446
1446
  for (i.smoothChildTiming = ie(e.smoothChildTiming), N.remove(i), i._dp = 0, i._time = i._tTime = N._time, n = N._first; n; )
1447
- r = n._next, (t || !(!n._dur && n instanceof j && n.vars.onComplete === n._targets[0])) && be(i, n, n._start - n._delay), n = r;
1448
- return be(N, i, 0), i;
1447
+ r = n._next, (t || !(!n._dur && n instanceof j && n.vars.onComplete === n._targets[0])) && xe(i, n, n._start - n._delay), n = r;
1448
+ return xe(N, i, 0), i;
1449
1449
  },
1450
1450
  context: function(e, t) {
1451
- return e ? new _r(e, t) : z;
1451
+ return e ? new yr(e, t) : z;
1452
1452
  },
1453
1453
  matchMedia: function(e) {
1454
- return new Rs(e);
1454
+ return new Ls(e);
1455
1455
  },
1456
1456
  matchMediaRefresh: function() {
1457
1457
  return Ke.forEach(function(e) {
@@ -1470,24 +1470,24 @@ var Ke = [], zt = {}, Ms = [], tn = 0, Ds = 0, ti = function(e) {
1470
1470
  n >= 0 && i.splice(n, 1);
1471
1471
  },
1472
1472
  utils: {
1473
- wrap: hs,
1474
- wrapYoyo: cs,
1475
- distribute: Xn,
1476
- random: Qn,
1477
- snap: qn,
1478
- normalize: ls,
1473
+ wrap: cs,
1474
+ wrapYoyo: us,
1475
+ distribute: qn,
1476
+ random: Jn,
1477
+ snap: Qn,
1478
+ normalize: hs,
1479
1479
  getUnit: X,
1480
- clamp: rs,
1481
- splitColor: nr,
1480
+ clamp: ss,
1481
+ splitColor: rr,
1482
1482
  toArray: _e,
1483
1483
  selector: mi,
1484
- mapRange: er,
1485
- pipe: as,
1486
- unitize: os,
1487
- interpolate: us,
1488
- shuffle: Wn
1484
+ mapRange: tr,
1485
+ pipe: os,
1486
+ unitize: ls,
1487
+ interpolate: ds,
1488
+ shuffle: Xn
1489
1489
  },
1490
- install: Un,
1490
+ install: zn,
1491
1491
  effects: qt,
1492
1492
  ticker: he,
1493
1493
  updateRoot: J.updateRoot,
@@ -1495,7 +1495,7 @@ var Ke = [], zt = {}, Ms = [], tn = 0, Ds = 0, ti = function(e) {
1495
1495
  globalTimeline: N,
1496
1496
  core: {
1497
1497
  PropTween: re,
1498
- globals: zn,
1498
+ globals: Nn,
1499
1499
  Tween: j,
1500
1500
  Timeline: J,
1501
1501
  Animation: At,
@@ -1523,7 +1523,7 @@ var Is = function(e, t) {
1523
1523
  for (var i = e._pt; i && i.p !== t && i.op !== t && i.fp !== t; )
1524
1524
  i = i._next;
1525
1525
  return i;
1526
- }, Ls = function(e, t) {
1526
+ }, Os = function(e, t) {
1527
1527
  var i = e._targets, n, r, s;
1528
1528
  for (n in t)
1529
1529
  for (r = i.length; r--; )
@@ -1545,7 +1545,7 @@ var Is = function(e, t) {
1545
1545
  l[h] = t(r[h]);
1546
1546
  r = l;
1547
1547
  }
1548
- Ls(o, r);
1548
+ Os(o, r);
1549
1549
  };
1550
1550
  }
1551
1551
  };
@@ -1568,9 +1568,9 @@ var Is = function(e, t) {
1568
1568
  for (var i = t.length; i--; )
1569
1569
  this.add(e, i, e[i] || 0, t[i], 0, 0, 0, 0, 0, 1);
1570
1570
  }
1571
- }, ii("roundProps", gi), ii("modifiers"), ii("snap", qn)) || jt;
1571
+ }, ii("roundProps", gi), ii("modifiers"), ii("snap", Qn)) || jt;
1572
1572
  j.version = J.version = ae.version = "3.13.0";
1573
- Fn = 1;
1573
+ Un = 1;
1574
1574
  Ti() && ut();
1575
1575
  M.Power0;
1576
1576
  M.Power1;
@@ -1590,40 +1590,40 @@ M.Bounce;
1590
1590
  M.Sine;
1591
1591
  M.Expo;
1592
1592
  M.Circ;
1593
- var nn, De, st, Ni, Ve, rn, Bi, Os = function() {
1593
+ var nn, De, st, Ni, Ve, rn, Bi, ks = function() {
1594
1594
  return typeof window < "u";
1595
- }, Se = {}, Ge = 180 / Math.PI, at = Math.PI / 180, qe = Math.atan2, sn = 1e8, $i = /([A-Z])/g, ks = /(left|right|width|margin|padding|x)/i, Fs = /[\s,\(]\S/, ve = {
1595
+ }, Se = {}, Ge = 180 / Math.PI, at = Math.PI / 180, qe = Math.atan2, sn = 1e8, $i = /([A-Z])/g, Fs = /(left|right|width|margin|padding|x)/i, Us = /[\s,\(]\S/, ve = {
1596
1596
  autoAlpha: "opacity,visibility",
1597
1597
  scale: "scaleX,scaleY",
1598
1598
  alpha: "opacity"
1599
- }, xi = function(e, t) {
1599
+ }, bi = function(e, t) {
1600
1600
  return t.set(t.t, t.p, Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u, t);
1601
- }, Us = function(e, t) {
1602
- return t.set(t.t, t.p, e === 1 ? t.e : Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u, t);
1603
1601
  }, zs = function(e, t) {
1604
- return t.set(t.t, t.p, e ? Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u : t.b, t);
1602
+ return t.set(t.t, t.p, e === 1 ? t.e : Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u, t);
1605
1603
  }, Ns = function(e, t) {
1604
+ return t.set(t.t, t.p, e ? Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u : t.b, t);
1605
+ }, Bs = function(e, t) {
1606
1606
  var i = t.s + t.c * e;
1607
1607
  t.set(t.t, t.p, ~~(i + (i < 0 ? -0.5 : 0.5)) + t.u, t);
1608
- }, yr = function(e, t) {
1608
+ }, br = function(e, t) {
1609
1609
  return t.set(t.t, t.p, e ? t.e : t.b, t);
1610
1610
  }, xr = function(e, t) {
1611
1611
  return t.set(t.t, t.p, e !== 1 ? t.b : t.e, t);
1612
- }, Bs = function(e, t, i) {
1613
- return e.style[t] = i;
1614
1612
  }, $s = function(e, t, i) {
1615
- return e.style.setProperty(t, i);
1613
+ return e.style[t] = i;
1616
1614
  }, Gs = function(e, t, i) {
1617
- return e._gsap[t] = i;
1615
+ return e.style.setProperty(t, i);
1618
1616
  }, Vs = function(e, t, i) {
1617
+ return e._gsap[t] = i;
1618
+ }, js = function(e, t, i) {
1619
1619
  return e._gsap.scaleX = e._gsap.scaleY = i;
1620
- }, js = function(e, t, i, n, r) {
1620
+ }, Hs = function(e, t, i, n, r) {
1621
1621
  var s = e._gsap;
1622
1622
  s.scaleX = s.scaleY = i, s.renderTransform(r, s);
1623
- }, Hs = function(e, t, i, n, r) {
1623
+ }, Ys = function(e, t, i, n, r) {
1624
1624
  var s = e._gsap;
1625
1625
  s[t] = i, s.renderTransform(r, s);
1626
- }, B = "transform", se = B + "Origin", Ys = function a(e, t) {
1626
+ }, B = "transform", se = B + "Origin", Zs = function a(e, t) {
1627
1627
  var i = this, n = this.target, r = n.style, s = n._gsap;
1628
1628
  if (e in Se && r) {
1629
1629
  if (this.tfm = this.tfm || {}, e !== "transform")
@@ -1639,28 +1639,28 @@ var nn, De, st, Ni, Ve, rn, Bi, Os = function() {
1639
1639
  s.svg && (this.svgo = n.getAttribute("data-svg-origin"), this.props.push(se, t, "")), e = B;
1640
1640
  }
1641
1641
  (r || t) && this.props.push(e, t, r[e]);
1642
- }, br = function(e) {
1642
+ }, vr = function(e) {
1643
1643
  e.translate && (e.removeProperty("translate"), e.removeProperty("scale"), e.removeProperty("rotate"));
1644
- }, Zs = function() {
1644
+ }, Ks = function() {
1645
1645
  var e = this.props, t = this.target, i = t.style, n = t._gsap, r, s;
1646
1646
  for (r = 0; r < e.length; r += 3)
1647
1647
  e[r + 1] ? e[r + 1] === 2 ? t[e[r]](e[r + 2]) : t[e[r]] = e[r + 2] : e[r + 2] ? i[e[r]] = e[r + 2] : i.removeProperty(e[r].substr(0, 2) === "--" ? e[r] : e[r].replace($i, "-$1").toLowerCase());
1648
1648
  if (this.tfm) {
1649
1649
  for (s in this.tfm)
1650
1650
  n[s] = this.tfm[s];
1651
- n.svg && (n.renderTransform(), t.setAttribute("data-svg-origin", this.svgo || "")), r = Bi(), (!r || !r.isStart) && !i[B] && (br(i), n.zOrigin && i[se] && (i[se] += " " + n.zOrigin + "px", n.zOrigin = 0, n.renderTransform()), n.uncache = 1);
1651
+ n.svg && (n.renderTransform(), t.setAttribute("data-svg-origin", this.svgo || "")), r = Bi(), (!r || !r.isStart) && !i[B] && (vr(i), n.zOrigin && i[se] && (i[se] += " " + n.zOrigin + "px", n.zOrigin = 0, n.renderTransform()), n.uncache = 1);
1652
1652
  }
1653
- }, vr = function(e, t) {
1653
+ }, Er = function(e, t) {
1654
1654
  var i = {
1655
1655
  target: e,
1656
1656
  props: [],
1657
- revert: Zs,
1658
- save: Ys
1657
+ revert: Ks,
1658
+ save: Zs
1659
1659
  };
1660
1660
  return e._gsap || ae.core.getCache(e), t && e.style && e.nodeType && t.split(",").forEach(function(n) {
1661
1661
  return i.save(n);
1662
1662
  }), i;
1663
- }, Er, bi = function(e, t) {
1663
+ }, wr, xi = function(e, t) {
1664
1664
  var i = De.createElementNS ? De.createElementNS((t || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), e) : De.createElement(e);
1665
1665
  return i && i.style ? i : De.createElement(e);
1666
1666
  }, ye = function a(e, t, i) {
@@ -1674,11 +1674,11 @@ var nn, De, st, Ni, Ve, rn, Bi, Os = function() {
1674
1674
  ;
1675
1675
  return s < 0 ? null : (s === 3 ? "ms" : s >= 0 ? an[s] : "") + e;
1676
1676
  }, vi = function() {
1677
- Os() && window.document && (nn = window, De = nn.document, st = De.documentElement, Ve = bi("div") || {
1677
+ ks() && window.document && (nn = window, De = nn.document, st = De.documentElement, Ve = xi("div") || {
1678
1678
  style: {}
1679
- }, bi("div"), B = dt(B), se = B + "Origin", Ve.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", Er = !!dt("perspective"), Bi = ae.core.reverting, Ni = 1);
1679
+ }, xi("div"), B = dt(B), se = B + "Origin", Ve.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", wr = !!dt("perspective"), Bi = ae.core.reverting, Ni = 1);
1680
1680
  }, on = function(e) {
1681
- var t = e.ownerSVGElement, i = bi("svg", t && t.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), n = e.cloneNode(!0), r;
1681
+ var t = e.ownerSVGElement, i = xi("svg", t && t.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), n = e.cloneNode(!0), r;
1682
1682
  n.style.display = "block", i.appendChild(n), st.appendChild(i);
1683
1683
  try {
1684
1684
  r = n.getBBox();
@@ -1689,7 +1689,7 @@ var nn, De, st, Ni, Ve, rn, Bi, Os = function() {
1689
1689
  for (var i = t.length; i--; )
1690
1690
  if (e.hasAttribute(t[i]))
1691
1691
  return e.getAttribute(t[i]);
1692
- }, wr = function(e) {
1692
+ }, Pr = function(e) {
1693
1693
  var t, i;
1694
1694
  try {
1695
1695
  t = e.getBBox();
@@ -1702,28 +1702,28 @@ var nn, De, st, Ni, Ve, rn, Bi, Os = function() {
1702
1702
  width: 0,
1703
1703
  height: 0
1704
1704
  } : t;
1705
- }, Pr = function(e) {
1706
- return !!(e.getCTM && (!e.parentNode || e.ownerSVGElement) && wr(e));
1705
+ }, Cr = function(e) {
1706
+ return !!(e.getCTM && (!e.parentNode || e.ownerSVGElement) && Pr(e));
1707
1707
  }, We = function(e, t) {
1708
1708
  if (t) {
1709
1709
  var i = e.style, n;
1710
1710
  t in Se && t !== se && (t = B), i.removeProperty ? (n = t.substr(0, 2), (n === "ms" || t.substr(0, 6) === "webkit") && (t = "-" + t), i.removeProperty(n === "--" ? t : t.replace($i, "-$1").toLowerCase())) : i.removeAttribute(t);
1711
1711
  }
1712
1712
  }, Re = function(e, t, i, n, r, s) {
1713
- var o = new re(e._pt, t, i, 0, 1, s ? xr : yr);
1713
+ var o = new re(e._pt, t, i, 0, 1, s ? xr : br);
1714
1714
  return e._pt = o, o.b = n, o.e = r, e._props.push(i), o;
1715
1715
  }, hn = {
1716
1716
  deg: 1,
1717
1717
  rad: 1,
1718
1718
  turn: 1
1719
- }, Ks = {
1719
+ }, Ws = {
1720
1720
  grid: 1,
1721
1721
  flex: 1
1722
1722
  }, Fe = function a(e, t, i, n) {
1723
- var r = parseFloat(i) || 0, s = (i + "").trim().substr((r + "").length) || "px", o = Ve.style, l = ks.test(t), h = e.tagName.toLowerCase() === "svg", c = (h ? "client" : "offset") + (l ? "Width" : "Height"), u = 100, f = n === "px", g = n === "%", p, d, m, _;
1723
+ var r = parseFloat(i) || 0, s = (i + "").trim().substr((r + "").length) || "px", o = Ve.style, l = Fs.test(t), h = e.tagName.toLowerCase() === "svg", c = (h ? "client" : "offset") + (l ? "Width" : "Height"), u = 100, f = n === "px", g = n === "%", p, d, m, _;
1724
1724
  if (n === s || !r || hn[n] || hn[s])
1725
1725
  return r;
1726
- if (s !== "px" && !f && (r = a(e, t, i, "px")), _ = e.getCTM && Pr(e), (g || s === "%") && (Se[t] || ~t.indexOf("adius")))
1726
+ if (s !== "px" && !f && (r = a(e, t, i, "px")), _ = e.getCTM && Cr(e), (g || s === "%") && (Se[t] || ~t.indexOf("adius")))
1727
1727
  return p = _ ? e.getBBox()[l ? "width" : "height"] : e[c], V(g ? r / p * u : r / 100 * p);
1728
1728
  if (o[l ? "width" : "height"] = u + (f ? s : n), d = n !== "rem" && ~t.indexOf("adius") || n === "em" && e.appendChild && !h ? e : e.parentNode, _ && (d = (e.ownerSVGElement || {}).parentNode), (!d || d === De || !d.appendChild) && (d = De.body), m = d._gsap, m && g && m.width && l && m.time === he.time && !m.uncache)
1729
1729
  return V(r / m.width * u);
@@ -1731,20 +1731,20 @@ var nn, De, st, Ni, Ve, rn, Bi, Os = function() {
1731
1731
  var y = e.style[t];
1732
1732
  e.style[t] = u + n, p = e[c], y ? e.style[t] = y : We(e, t);
1733
1733
  } else
1734
- (g || s === "%") && !Ks[ye(d, "display")] && (o.position = ye(e, "position")), d === e && (o.position = "static"), d.appendChild(Ve), p = Ve[c], d.removeChild(Ve), o.position = "absolute";
1734
+ (g || s === "%") && !Ws[ye(d, "display")] && (o.position = ye(e, "position")), d === e && (o.position = "static"), d.appendChild(Ve), p = Ve[c], d.removeChild(Ve), o.position = "absolute";
1735
1735
  return l && g && (m = He(d), m.time = he.time, m.width = d[c]), V(f ? p * r / u : p && r ? u / p * r : 0);
1736
1736
  }, Ae = function(e, t, i, n) {
1737
1737
  var r;
1738
- return Ni || vi(), t in ve && t !== "transform" && (t = ve[t], ~t.indexOf(",") && (t = t.split(",")[0])), Se[t] && t !== "transform" ? (r = St(e, n), r = t !== "transformOrigin" ? r[t] : r.svg ? r.origin : Yt(ye(e, se)) + " " + r.zOrigin + "px") : (r = e.style[t], (!r || r === "auto" || n || ~(r + "").indexOf("calc(")) && (r = Ht[t] && Ht[t](e, t, i) || ye(e, t) || Bn(e, t) || (t === "opacity" ? 1 : 0))), i && !~(r + "").trim().indexOf(" ") ? Fe(e, t, r, i) + i : r;
1739
- }, Ws = function(e, t, i, n) {
1738
+ return Ni || vi(), t in ve && t !== "transform" && (t = ve[t], ~t.indexOf(",") && (t = t.split(",")[0])), Se[t] && t !== "transform" ? (r = St(e, n), r = t !== "transformOrigin" ? r[t] : r.svg ? r.origin : Yt(ye(e, se)) + " " + r.zOrigin + "px") : (r = e.style[t], (!r || r === "auto" || n || ~(r + "").indexOf("calc(")) && (r = Ht[t] && Ht[t](e, t, i) || ye(e, t) || $n(e, t) || (t === "opacity" ? 1 : 0))), i && !~(r + "").trim().indexOf(" ") ? Fe(e, t, r, i) + i : r;
1739
+ }, Xs = function(e, t, i, n) {
1740
1740
  if (!i || i === "none") {
1741
1741
  var r = dt(t, e, 1), s = r && ye(e, r, 1);
1742
1742
  s && s !== i ? (t = r, i = s) : t === "borderColor" && (i = ye(e, "borderTopColor"));
1743
1743
  }
1744
- var o = new re(this._pt, e.style, t, 0, 1, mr), l = 0, h = 0, c, u, f, g, p, d, m, _, y, x, b, v;
1745
- if (o.b = i, o.e = n, i += "", n += "", n.substring(0, 6) === "var(--" && (n = ye(e, n.substring(4, n.indexOf(")")))), n === "auto" && (d = e.style[t], e.style[t] = n, n = ye(e, t) || n, d ? e.style[t] = d : We(e, t)), c = [i, n], sr(c), i = c[0], n = c[1], f = i.match(et) || [], v = n.match(et) || [], v.length) {
1744
+ var o = new re(this._pt, e.style, t, 0, 1, gr), l = 0, h = 0, c, u, f, g, p, d, m, _, y, b, x, v;
1745
+ if (o.b = i, o.e = n, i += "", n += "", n.substring(0, 6) === "var(--" && (n = ye(e, n.substring(4, n.indexOf(")")))), n === "auto" && (d = e.style[t], e.style[t] = n, n = ye(e, t) || n, d ? e.style[t] = d : We(e, t)), c = [i, n], ar(c), i = c[0], n = c[1], f = i.match(et) || [], v = n.match(et) || [], v.length) {
1746
1746
  for (; u = et.exec(n); )
1747
- m = u[0], y = n.substring(l, u.index), p ? p = (p + 1) % 5 : (y.substr(-5) === "rgba(" || y.substr(-5) === "hsla(") && (p = 1), m !== (d = f[h++] || "") && (g = parseFloat(d) || 0, b = d.substr((g + "").length), m.charAt(1) === "=" && (m = rt(g, m) + b), _ = parseFloat(m), x = m.substr((_ + "").length), l = et.lastIndex - x.length, x || (x = x || ue.units[t] || b, l === n.length && (n += x, o.e += x)), b !== x && (g = Fe(e, t, d, x) || 0), o._pt = {
1747
+ m = u[0], y = n.substring(l, u.index), p ? p = (p + 1) % 5 : (y.substr(-5) === "rgba(" || y.substr(-5) === "hsla(") && (p = 1), m !== (d = f[h++] || "") && (g = parseFloat(d) || 0, x = d.substr((g + "").length), m.charAt(1) === "=" && (m = rt(g, m) + x), _ = parseFloat(m), b = m.substr((_ + "").length), l = et.lastIndex - b.length, b || (b = b || ue.units[t] || x, l === n.length && (n += b, o.e += b)), x !== b && (g = Fe(e, t, d, b) || 0), o._pt = {
1748
1748
  _next: o._pt,
1749
1749
  p: y || h === 1 ? y : ",",
1750
1750
  //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.
@@ -1754,18 +1754,18 @@ var nn, De, st, Ni, Ve, rn, Bi, Os = function() {
1754
1754
  });
1755
1755
  o.c = l < n.length ? n.substring(l, n.length) : "";
1756
1756
  } else
1757
- o.r = t === "display" && n === "none" ? xr : yr;
1758
- return On.test(n) && (o.e = 0), this._pt = o, o;
1757
+ o.r = t === "display" && n === "none" ? xr : br;
1758
+ return kn.test(n) && (o.e = 0), this._pt = o, o;
1759
1759
  }, cn = {
1760
1760
  top: "0%",
1761
1761
  bottom: "100%",
1762
1762
  left: "0%",
1763
1763
  right: "100%",
1764
1764
  center: "50%"
1765
- }, Xs = function(e) {
1765
+ }, qs = function(e) {
1766
1766
  var t = e.split(" "), i = t[0], n = t[1] || "50%";
1767
1767
  return (i === "top" || i === "bottom" || n === "left" || n === "right") && (e = i, i = n, n = e), t[0] = cn[i] || i, t[1] = cn[n] || n, t.join(" ");
1768
- }, qs = function(e, t) {
1768
+ }, Qs = function(e, t) {
1769
1769
  if (t.tween && t.tween._time === t.tween._dur) {
1770
1770
  var i = t.t, n = i.style, r = t.u, s = i._gsap, o, l, h;
1771
1771
  if (r === "all" || r === !0)
@@ -1773,12 +1773,12 @@ var nn, De, st, Ni, Ve, rn, Bi, Os = function() {
1773
1773
  else
1774
1774
  for (r = r.split(","), h = r.length; --h > -1; )
1775
1775
  o = r[h], Se[o] && (l = 1, o = o === "transformOrigin" ? se : B), We(i, o);
1776
- l && (We(i, B), s && (s.svg && i.removeAttribute("transform"), n.scale = n.rotate = n.translate = "none", St(i, 1), s.uncache = 1, br(n)));
1776
+ l && (We(i, B), s && (s.svg && i.removeAttribute("transform"), n.scale = n.rotate = n.translate = "none", St(i, 1), s.uncache = 1, vr(n)));
1777
1777
  }
1778
1778
  }, Ht = {
1779
1779
  clearProps: function(e, t, i, n, r) {
1780
1780
  if (r.data !== "isFromStart") {
1781
- var s = e._pt = new re(e._pt, t, i, 0, 0, qs);
1781
+ var s = e._pt = new re(e._pt, t, i, 0, 0, Qs);
1782
1782
  return s.u = n, s.pr = -10, s.tween = r, e._props.push(i), 1;
1783
1783
  }
1784
1784
  }
@@ -1845,52 +1845,52 @@ var nn, De, st, Ni, Ve, rn, Bi, Os = function() {
1845
1845
  return 1;
1846
1846
  }
1847
1847
  */
1848
- }, Tt = [1, 0, 0, 1, 0, 0], Cr = {}, Ar = function(e) {
1848
+ }, Tt = [1, 0, 0, 1, 0, 0], Ar = {}, Tr = function(e) {
1849
1849
  return e === "matrix(1, 0, 0, 1, 0, 0)" || e === "none" || !e;
1850
1850
  }, un = function(e) {
1851
1851
  var t = ye(e, B);
1852
- return Ar(t) ? Tt : t.substr(7).match(Ln).map(V);
1852
+ return Tr(t) ? Tt : t.substr(7).match(On).map(V);
1853
1853
  }, Gi = function(e, t) {
1854
1854
  var i = e._gsap || He(e), n = e.style, r = un(e), s, o, l, h;
1855
1855
  return i.svg && e.getAttribute("transform") ? (l = e.transform.baseVal.consolidate().matrix, r = [l.a, l.b, l.c, l.d, l.e, l.f], r.join(",") === "1,0,0,1,0,0" ? Tt : r) : (r === Tt && !e.offsetParent && e !== st && !i.svg && (l = n.display, n.display = "block", s = e.parentNode, (!s || !e.offsetParent && !e.getBoundingClientRect().width) && (h = 1, o = e.nextElementSibling, st.appendChild(e)), r = un(e), l ? n.display = l : We(e, "display"), h && (o ? s.insertBefore(e, o) : s ? s.appendChild(e) : st.removeChild(e))), t && r.length > 6 ? [r[0], r[1], r[4], r[5], r[12], r[13]] : r);
1856
1856
  }, Ei = function(e, t, i, n, r, s) {
1857
- var o = e._gsap, l = r || Gi(e, !0), h = o.xOrigin || 0, c = o.yOrigin || 0, u = o.xOffset || 0, f = o.yOffset || 0, g = l[0], p = l[1], d = l[2], m = l[3], _ = l[4], y = l[5], x = t.split(" "), b = parseFloat(x[0]) || 0, v = parseFloat(x[1]) || 0, P, E, C, w;
1858
- i ? l !== Tt && (E = g * m - p * d) && (C = b * (m / E) + v * (-d / E) + (d * y - m * _) / E, w = b * (-p / E) + v * (g / E) - (g * y - p * _) / E, b = C, v = w) : (P = wr(e), b = P.x + (~x[0].indexOf("%") ? b / 100 * P.width : b), v = P.y + (~(x[1] || x[0]).indexOf("%") ? v / 100 * P.height : v)), n || n !== !1 && o.smooth ? (_ = b - h, y = v - c, o.xOffset = u + (_ * g + y * d) - _, o.yOffset = f + (_ * p + y * m) - y) : o.xOffset = o.yOffset = 0, o.xOrigin = b, o.yOrigin = v, o.smooth = !!n, o.origin = t, o.originIsAbsolute = !!i, e.style[se] = "0px 0px", s && (Re(s, o, "xOrigin", h, b), Re(s, o, "yOrigin", c, v), Re(s, o, "xOffset", u, o.xOffset), Re(s, o, "yOffset", f, o.yOffset)), e.setAttribute("data-svg-origin", b + " " + v);
1857
+ var o = e._gsap, l = r || Gi(e, !0), h = o.xOrigin || 0, c = o.yOrigin || 0, u = o.xOffset || 0, f = o.yOffset || 0, g = l[0], p = l[1], d = l[2], m = l[3], _ = l[4], y = l[5], b = t.split(" "), x = parseFloat(b[0]) || 0, v = parseFloat(b[1]) || 0, P, E, C, w;
1858
+ i ? l !== Tt && (E = g * m - p * d) && (C = x * (m / E) + v * (-d / E) + (d * y - m * _) / E, w = x * (-p / E) + v * (g / E) - (g * y - p * _) / E, x = C, v = w) : (P = Pr(e), x = P.x + (~b[0].indexOf("%") ? x / 100 * P.width : x), v = P.y + (~(b[1] || b[0]).indexOf("%") ? v / 100 * P.height : v)), n || n !== !1 && o.smooth ? (_ = x - h, y = v - c, o.xOffset = u + (_ * g + y * d) - _, o.yOffset = f + (_ * p + y * m) - y) : o.xOffset = o.yOffset = 0, o.xOrigin = x, o.yOrigin = v, o.smooth = !!n, o.origin = t, o.originIsAbsolute = !!i, e.style[se] = "0px 0px", s && (Re(s, o, "xOrigin", h, x), Re(s, o, "yOrigin", c, v), Re(s, o, "xOffset", u, o.xOffset), Re(s, o, "yOffset", f, o.yOffset)), e.setAttribute("data-svg-origin", x + " " + v);
1859
1859
  }, St = function(e, t) {
1860
- var i = e._gsap || new hr(e);
1860
+ var i = e._gsap || new cr(e);
1861
1861
  if ("x" in i && !t && !i.uncache)
1862
1862
  return i;
1863
- var n = e.style, r = i.scaleX < 0, s = "px", o = "deg", l = getComputedStyle(e), h = ye(e, se) || "0", c, u, f, g, p, d, m, _, y, x, b, v, P, E, C, w, S, D, T, R, I, $, U, F, ee, pt, ft, mt, ze, Yi, Pe, Ne;
1864
- return c = u = f = d = m = _ = y = x = b = 0, g = p = 1, i.svg = !!(e.getCTM && Pr(e)), l.translate && ((l.translate !== "none" || l.scale !== "none" || l.rotate !== "none") && (n[B] = (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[B] !== "none" ? l[B] : "")), n.scale = n.rotate = n.translate = "none"), E = Gi(e, i.svg), i.svg && (i.uncache ? (ee = e.getBBox(), h = i.xOrigin - ee.x + "px " + (i.yOrigin - ee.y) + "px", F = "") : F = !t && e.getAttribute("data-svg-origin"), Ei(e, F || h, !!F || i.originIsAbsolute, i.smooth !== !1, E)), v = i.xOrigin || 0, P = i.yOrigin || 0, E !== Tt && (D = E[0], T = E[1], R = E[2], I = E[3], c = $ = E[4], u = U = E[5], E.length === 6 ? (g = Math.sqrt(D * D + T * T), p = Math.sqrt(I * I + R * R), d = D || T ? qe(T, D) * Ge : 0, y = R || I ? qe(R, I) * Ge + d : 0, y && (p *= Math.abs(Math.cos(y * at))), i.svg && (c -= v - (v * D + P * R), u -= P - (v * T + P * I))) : (Ne = E[6], Yi = E[7], ft = E[8], mt = E[9], ze = E[10], Pe = E[11], c = E[12], u = E[13], f = E[14], C = qe(Ne, ze), m = C * Ge, C && (w = Math.cos(-C), S = Math.sin(-C), F = $ * w + ft * S, ee = U * w + mt * S, pt = Ne * w + ze * S, ft = $ * -S + ft * w, mt = U * -S + mt * w, ze = Ne * -S + ze * w, Pe = Yi * -S + Pe * w, $ = F, U = ee, Ne = pt), C = qe(-R, ze), _ = C * Ge, C && (w = Math.cos(-C), S = Math.sin(-C), F = D * w - ft * S, ee = T * w - mt * S, pt = R * w - ze * S, Pe = I * S + Pe * w, D = F, T = ee, R = pt), C = qe(T, D), d = C * Ge, C && (w = Math.cos(C), S = Math.sin(C), F = D * w + T * S, ee = $ * w + U * S, T = T * w - D * S, U = U * w - $ * S, D = F, $ = ee), m && Math.abs(m) + Math.abs(d) > 359.9 && (m = d = 0, _ = 180 - _), g = V(Math.sqrt(D * D + T * T + R * R)), p = V(Math.sqrt(U * U + Ne * Ne)), C = qe($, U), y = Math.abs(C) > 2e-4 ? C * Ge : 0, b = Pe ? 1 / (Pe < 0 ? -Pe : Pe) : 0), i.svg && (F = e.getAttribute("transform"), i.forceCSS = e.setAttribute("transform", "") || !Ar(ye(e, B)), F && e.setAttribute("transform", F))), Math.abs(y) > 90 && Math.abs(y) < 270 && (r ? (g *= -1, y += d <= 0 ? 180 : -180, d += d <= 0 ? 180 : -180) : (p *= -1, y += y <= 0 ? 180 : -180)), t = t || i.uncache, i.x = c - ((i.xPercent = c && (!t && i.xPercent || (Math.round(e.offsetWidth / 2) === Math.round(-c) ? -50 : 0))) ? e.offsetWidth * i.xPercent / 100 : 0) + s, i.y = u - ((i.yPercent = u && (!t && i.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-u) ? -50 : 0))) ? e.offsetHeight * i.yPercent / 100 : 0) + s, i.z = f + s, i.scaleX = V(g), i.scaleY = V(p), i.rotation = V(d) + o, i.rotationX = V(m) + o, i.rotationY = V(_) + o, i.skewX = y + o, i.skewY = x + o, i.transformPerspective = b + s, (i.zOrigin = parseFloat(h.split(" ")[2]) || !t && i.zOrigin || 0) && (n[se] = Yt(h)), i.xOffset = i.yOffset = 0, i.force3D = ue.force3D, i.renderTransform = i.svg ? Js : Er ? Tr : Qs, i.uncache = 0, i;
1863
+ var n = e.style, r = i.scaleX < 0, s = "px", o = "deg", l = getComputedStyle(e), h = ye(e, se) || "0", c, u, f, g, p, d, m, _, y, b, x, v, P, E, C, w, S, D, T, R, L, $, U, F, ee, pt, ft, mt, ze, Yi, Pe, Ne;
1864
+ return c = u = f = d = m = _ = y = b = x = 0, g = p = 1, i.svg = !!(e.getCTM && Cr(e)), l.translate && ((l.translate !== "none" || l.scale !== "none" || l.rotate !== "none") && (n[B] = (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[B] !== "none" ? l[B] : "")), n.scale = n.rotate = n.translate = "none"), E = Gi(e, i.svg), i.svg && (i.uncache ? (ee = e.getBBox(), h = i.xOrigin - ee.x + "px " + (i.yOrigin - ee.y) + "px", F = "") : F = !t && e.getAttribute("data-svg-origin"), Ei(e, F || h, !!F || i.originIsAbsolute, i.smooth !== !1, E)), v = i.xOrigin || 0, P = i.yOrigin || 0, E !== Tt && (D = E[0], T = E[1], R = E[2], L = E[3], c = $ = E[4], u = U = E[5], E.length === 6 ? (g = Math.sqrt(D * D + T * T), p = Math.sqrt(L * L + R * R), d = D || T ? qe(T, D) * Ge : 0, y = R || L ? qe(R, L) * Ge + d : 0, y && (p *= Math.abs(Math.cos(y * at))), i.svg && (c -= v - (v * D + P * R), u -= P - (v * T + P * L))) : (Ne = E[6], Yi = E[7], ft = E[8], mt = E[9], ze = E[10], Pe = E[11], c = E[12], u = E[13], f = E[14], C = qe(Ne, ze), m = C * Ge, C && (w = Math.cos(-C), S = Math.sin(-C), F = $ * w + ft * S, ee = U * w + mt * S, pt = Ne * w + ze * S, ft = $ * -S + ft * w, mt = U * -S + mt * w, ze = Ne * -S + ze * w, Pe = Yi * -S + Pe * w, $ = F, U = ee, Ne = pt), C = qe(-R, ze), _ = C * Ge, C && (w = Math.cos(-C), S = Math.sin(-C), F = D * w - ft * S, ee = T * w - mt * S, pt = R * w - ze * S, Pe = L * S + Pe * w, D = F, T = ee, R = pt), C = qe(T, D), d = C * Ge, C && (w = Math.cos(C), S = Math.sin(C), F = D * w + T * S, ee = $ * w + U * S, T = T * w - D * S, U = U * w - $ * S, D = F, $ = ee), m && Math.abs(m) + Math.abs(d) > 359.9 && (m = d = 0, _ = 180 - _), g = V(Math.sqrt(D * D + T * T + R * R)), p = V(Math.sqrt(U * U + Ne * Ne)), C = qe($, U), y = Math.abs(C) > 2e-4 ? C * Ge : 0, x = Pe ? 1 / (Pe < 0 ? -Pe : Pe) : 0), i.svg && (F = e.getAttribute("transform"), i.forceCSS = e.setAttribute("transform", "") || !Tr(ye(e, B)), F && e.setAttribute("transform", F))), Math.abs(y) > 90 && Math.abs(y) < 270 && (r ? (g *= -1, y += d <= 0 ? 180 : -180, d += d <= 0 ? 180 : -180) : (p *= -1, y += y <= 0 ? 180 : -180)), t = t || i.uncache, i.x = c - ((i.xPercent = c && (!t && i.xPercent || (Math.round(e.offsetWidth / 2) === Math.round(-c) ? -50 : 0))) ? e.offsetWidth * i.xPercent / 100 : 0) + s, i.y = u - ((i.yPercent = u && (!t && i.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-u) ? -50 : 0))) ? e.offsetHeight * i.yPercent / 100 : 0) + s, i.z = f + s, i.scaleX = V(g), i.scaleY = V(p), i.rotation = V(d) + o, i.rotationX = V(m) + o, i.rotationY = V(_) + o, i.skewX = y + o, i.skewY = b + o, i.transformPerspective = x + s, (i.zOrigin = parseFloat(h.split(" ")[2]) || !t && i.zOrigin || 0) && (n[se] = Yt(h)), i.xOffset = i.yOffset = 0, i.force3D = ue.force3D, i.renderTransform = i.svg ? ea : wr ? Sr : Js, i.uncache = 0, i;
1865
1865
  }, Yt = function(e) {
1866
1866
  return (e = e.split(" "))[0] + " " + e[1];
1867
1867
  }, ni = function(e, t, i) {
1868
1868
  var n = X(t);
1869
1869
  return V(parseFloat(t) + parseFloat(Fe(e, "x", i + "px", n))) + n;
1870
- }, Qs = function(e, t) {
1871
- t.z = "0px", t.rotationY = t.rotationX = "0deg", t.force3D = 0, Tr(e, t);
1872
- }, Be = "0deg", gt = "0px", $e = ") ", Tr = function(e, t) {
1873
- var i = t || this, n = i.xPercent, r = i.yPercent, s = i.x, o = i.y, l = i.z, h = i.rotation, c = i.rotationY, u = i.rotationX, f = i.skewX, g = i.skewY, p = i.scaleX, d = i.scaleY, m = i.transformPerspective, _ = i.force3D, y = i.target, x = i.zOrigin, b = "", v = _ === "auto" && e && e !== 1 || _ === !0;
1874
- if (x && (u !== Be || c !== Be)) {
1870
+ }, Js = function(e, t) {
1871
+ t.z = "0px", t.rotationY = t.rotationX = "0deg", t.force3D = 0, Sr(e, t);
1872
+ }, Be = "0deg", gt = "0px", $e = ") ", Sr = function(e, t) {
1873
+ var i = t || this, n = i.xPercent, r = i.yPercent, s = i.x, o = i.y, l = i.z, h = i.rotation, c = i.rotationY, u = i.rotationX, f = i.skewX, g = i.skewY, p = i.scaleX, d = i.scaleY, m = i.transformPerspective, _ = i.force3D, y = i.target, b = i.zOrigin, x = "", v = _ === "auto" && e && e !== 1 || _ === !0;
1874
+ if (b && (u !== Be || c !== Be)) {
1875
1875
  var P = parseFloat(c) * at, E = Math.sin(P), C = Math.cos(P), w;
1876
- P = parseFloat(u) * at, w = Math.cos(P), s = ni(y, s, E * w * -x), o = ni(y, o, -Math.sin(P) * -x), l = ni(y, l, C * w * -x + x);
1876
+ P = parseFloat(u) * at, w = Math.cos(P), s = ni(y, s, E * w * -b), o = ni(y, o, -Math.sin(P) * -b), l = ni(y, l, C * w * -b + b);
1877
1877
  }
1878
- m !== gt && (b += "perspective(" + m + $e), (n || r) && (b += "translate(" + n + "%, " + r + "%) "), (v || s !== gt || o !== gt || l !== gt) && (b += l !== gt || v ? "translate3d(" + s + ", " + o + ", " + l + ") " : "translate(" + s + ", " + o + $e), h !== Be && (b += "rotate(" + h + $e), c !== Be && (b += "rotateY(" + c + $e), u !== Be && (b += "rotateX(" + u + $e), (f !== Be || g !== Be) && (b += "skew(" + f + ", " + g + $e), (p !== 1 || d !== 1) && (b += "scale(" + p + ", " + d + $e), y.style[B] = b || "translate(0, 0)";
1879
- }, Js = function(e, t) {
1880
- var i = t || this, n = i.xPercent, r = i.yPercent, s = i.x, o = i.y, l = i.rotation, h = i.skewX, c = i.skewY, u = i.scaleX, f = i.scaleY, g = i.target, p = i.xOrigin, d = i.yOrigin, m = i.xOffset, _ = i.yOffset, y = i.forceCSS, x = parseFloat(s), b = parseFloat(o), v, P, E, C, w;
1881
- l = parseFloat(l), h = parseFloat(h), c = parseFloat(c), c && (c = parseFloat(c), h += c, l += c), l || h ? (l *= at, h *= at, v = Math.cos(l) * u, P = Math.sin(l) * u, E = Math.sin(l - h) * -f, C = Math.cos(l - h) * f, h && (c *= at, w = Math.tan(h - c), w = Math.sqrt(1 + w * w), E *= w, C *= w, c && (w = Math.tan(c), w = Math.sqrt(1 + w * w), v *= w, P *= w)), v = V(v), P = V(P), E = V(E), C = V(C)) : (v = u, C = f, P = E = 0), (x && !~(s + "").indexOf("px") || b && !~(o + "").indexOf("px")) && (x = Fe(g, "x", s, "px"), b = Fe(g, "y", o, "px")), (p || d || m || _) && (x = V(x + p - (p * v + d * E) + m), b = V(b + d - (p * P + d * C) + _)), (n || r) && (w = g.getBBox(), x = V(x + n / 100 * w.width), b = V(b + r / 100 * w.height)), w = "matrix(" + v + "," + P + "," + E + "," + C + "," + x + "," + b + ")", g.setAttribute("transform", w), y && (g.style[B] = w);
1882
- }, ea = function(e, t, i, n, r) {
1878
+ m !== gt && (x += "perspective(" + m + $e), (n || r) && (x += "translate(" + n + "%, " + r + "%) "), (v || s !== gt || o !== gt || l !== gt) && (x += l !== gt || v ? "translate3d(" + s + ", " + o + ", " + l + ") " : "translate(" + s + ", " + o + $e), h !== Be && (x += "rotate(" + h + $e), c !== Be && (x += "rotateY(" + c + $e), u !== Be && (x += "rotateX(" + u + $e), (f !== Be || g !== Be) && (x += "skew(" + f + ", " + g + $e), (p !== 1 || d !== 1) && (x += "scale(" + p + ", " + d + $e), y.style[B] = x || "translate(0, 0)";
1879
+ }, ea = function(e, t) {
1880
+ var i = t || this, n = i.xPercent, r = i.yPercent, s = i.x, o = i.y, l = i.rotation, h = i.skewX, c = i.skewY, u = i.scaleX, f = i.scaleY, g = i.target, p = i.xOrigin, d = i.yOrigin, m = i.xOffset, _ = i.yOffset, y = i.forceCSS, b = parseFloat(s), x = parseFloat(o), v, P, E, C, w;
1881
+ l = parseFloat(l), h = parseFloat(h), c = parseFloat(c), c && (c = parseFloat(c), h += c, l += c), l || h ? (l *= at, h *= at, v = Math.cos(l) * u, P = Math.sin(l) * u, E = Math.sin(l - h) * -f, C = Math.cos(l - h) * f, h && (c *= at, w = Math.tan(h - c), w = Math.sqrt(1 + w * w), E *= w, C *= w, c && (w = Math.tan(c), w = Math.sqrt(1 + w * w), v *= w, P *= w)), v = V(v), P = V(P), E = V(E), C = V(C)) : (v = u, C = f, P = E = 0), (b && !~(s + "").indexOf("px") || x && !~(o + "").indexOf("px")) && (b = Fe(g, "x", s, "px"), x = Fe(g, "y", o, "px")), (p || d || m || _) && (b = V(b + p - (p * v + d * E) + m), x = V(x + d - (p * P + d * C) + _)), (n || r) && (w = g.getBBox(), b = V(b + n / 100 * w.width), x = V(x + r / 100 * w.height)), w = "matrix(" + v + "," + P + "," + E + "," + C + "," + b + "," + x + ")", g.setAttribute("transform", w), y && (g.style[B] = w);
1882
+ }, ta = function(e, t, i, n, r) {
1883
1883
  var s = 360, o = K(r), l = parseFloat(r) * (o && ~r.indexOf("rad") ? Ge : 1), h = l - n, c = n + h + "deg", u, f;
1884
- return o && (u = r.split("_")[1], u === "short" && (h %= s, h !== h % (s / 2) && (h += h < 0 ? s : -s)), u === "cw" && h < 0 ? h = (h + s * sn) % s - ~~(h / s) * s : u === "ccw" && h > 0 && (h = (h - s * sn) % s - ~~(h / s) * s)), e._pt = f = new re(e._pt, t, i, n, h, Us), f.e = c, f.u = "deg", e._props.push(i), f;
1884
+ return o && (u = r.split("_")[1], u === "short" && (h %= s, h !== h % (s / 2) && (h += h < 0 ? s : -s)), u === "cw" && h < 0 ? h = (h + s * sn) % s - ~~(h / s) * s : u === "ccw" && h > 0 && (h = (h - s * sn) % s - ~~(h / s) * s)), e._pt = f = new re(e._pt, t, i, n, h, zs), f.e = c, f.u = "deg", e._props.push(i), f;
1885
1885
  }, dn = function(e, t) {
1886
1886
  for (var i in t)
1887
1887
  e[i] = t[i];
1888
1888
  return e;
1889
- }, ta = function(e, t, i) {
1889
+ }, ia = function(e, t, i) {
1890
1890
  var n = dn({}, i._gsap), r = "perspective,force3D,transformOrigin,svgOrigin", s = i.style, o, l, h, c, u, f, g, p;
1891
1891
  n.svg ? (h = i.getAttribute("transform"), i.setAttribute("transform", ""), s[B] = t, o = St(i, 1), We(i, B), i.setAttribute("transform", h)) : (h = getComputedStyle(i)[B], s[B] = t, o = St(i, 1), s[B] = h);
1892
1892
  for (l in Se)
1893
- h = n[l], c = o[l], h !== c && r.indexOf(l) < 0 && (g = X(h), p = X(c), u = g !== p ? Fe(i, l, h, p) : parseFloat(h), f = parseFloat(c), e._pt = new re(e._pt, o, l, u, f - u, xi), e._pt.u = p || 0, e._props.push(l));
1893
+ h = n[l], c = o[l], h !== c && r.indexOf(l) < 0 && (g = X(h), p = X(c), u = g !== p ? Fe(i, l, h, p) : parseFloat(h), f = parseFloat(c), e._pt = new re(e._pt, o, l, u, f - u, bi), e._pt.u = p || 0, e._props.push(l));
1894
1894
  dn(o, n);
1895
1895
  };
1896
1896
  ne("padding,margin,Width,Radius", function(a, e) {
@@ -1908,33 +1908,33 @@ ne("padding,margin,Width,Radius", function(a, e) {
1908
1908
  }), o.init(l, g, u);
1909
1909
  };
1910
1910
  });
1911
- var Sr = {
1911
+ var Mr = {
1912
1912
  name: "css",
1913
1913
  register: vi,
1914
1914
  targetTest: function(e) {
1915
1915
  return e.style && e.nodeType;
1916
1916
  },
1917
1917
  init: function(e, t, i, n, r) {
1918
- var s = this._props, o = e.style, l = i.vars.startAt, h, c, u, f, g, p, d, m, _, y, x, b, v, P, E, C;
1919
- Ni || vi(), this.styles = this.styles || vr(e), C = this.styles.props, this.tween = i;
1918
+ var s = this._props, o = e.style, l = i.vars.startAt, h, c, u, f, g, p, d, m, _, y, b, x, v, P, E, C;
1919
+ Ni || vi(), this.styles = this.styles || Er(e), C = this.styles.props, this.tween = i;
1920
1920
  for (d in t)
1921
- if (d !== "autoRound" && (c = t[d], !(le[d] && cr(d, t, i, n, e, r)))) {
1921
+ if (d !== "autoRound" && (c = t[d], !(le[d] && ur(d, t, i, n, e, r)))) {
1922
1922
  if (g = typeof c, p = Ht[d], g === "function" && (c = c.call(i, n, e, r), g = typeof c), g === "string" && ~c.indexOf("random(") && (c = Pt(c)), p)
1923
1923
  p(this, e, d, c, i) && (E = 1);
1924
1924
  else if (d.substr(0, 2) === "--")
1925
1925
  h = (getComputedStyle(e).getPropertyValue(d) + "").trim(), c += "", Oe.lastIndex = 0, Oe.test(h) || (m = X(h), _ = X(c)), _ ? m !== _ && (h = Fe(e, d, h, _) + _) : m && (c += m), this.add(o, "setProperty", h, c, n, r, 0, 0, d), s.push(d), C.push(d, 0, o[d]);
1926
1926
  else if (g !== "undefined") {
1927
- if (l && d in l ? (h = typeof l[d] == "function" ? l[d].call(i, n, e, r) : l[d], K(h) && ~h.indexOf("random(") && (h = Pt(h)), X(h + "") || h === "auto" || (h += ue.units[d] || X(Ae(e, d)) || ""), (h + "").charAt(1) === "=" && (h = Ae(e, d))) : h = Ae(e, d), f = parseFloat(h), y = g === "string" && c.charAt(1) === "=" && c.substr(0, 2), y && (c = c.substr(2)), u = parseFloat(c), d in ve && (d === "autoAlpha" && (f === 1 && Ae(e, "visibility") === "hidden" && u && (f = 0), C.push("visibility", 0, o.visibility), Re(this, o, "visibility", f ? "inherit" : "hidden", u ? "inherit" : "hidden", !u)), d !== "scale" && d !== "transform" && (d = ve[d], ~d.indexOf(",") && (d = d.split(",")[0]))), x = d in Se, x) {
1928
- if (this.styles.save(d), g === "string" && c.substring(0, 6) === "var(--" && (c = ye(e, c.substring(4, c.indexOf(")"))), u = parseFloat(c)), b || (v = e._gsap, v.renderTransform && !t.parseTransform || St(e, t.parseTransform), P = t.smoothOrigin !== !1 && v.smooth, b = this._pt = new re(this._pt, o, B, 0, 1, v.renderTransform, v, 0, -1), b.dep = 1), d === "scale")
1929
- this._pt = new re(this._pt, v, "scaleY", v.scaleY, (y ? rt(v.scaleY, y + u) : u) - v.scaleY || 0, xi), this._pt.u = 0, s.push("scaleY", d), d += "X";
1927
+ if (l && d in l ? (h = typeof l[d] == "function" ? l[d].call(i, n, e, r) : l[d], K(h) && ~h.indexOf("random(") && (h = Pt(h)), X(h + "") || h === "auto" || (h += ue.units[d] || X(Ae(e, d)) || ""), (h + "").charAt(1) === "=" && (h = Ae(e, d))) : h = Ae(e, d), f = parseFloat(h), y = g === "string" && c.charAt(1) === "=" && c.substr(0, 2), y && (c = c.substr(2)), u = parseFloat(c), d in ve && (d === "autoAlpha" && (f === 1 && Ae(e, "visibility") === "hidden" && u && (f = 0), C.push("visibility", 0, o.visibility), Re(this, o, "visibility", f ? "inherit" : "hidden", u ? "inherit" : "hidden", !u)), d !== "scale" && d !== "transform" && (d = ve[d], ~d.indexOf(",") && (d = d.split(",")[0]))), b = d in Se, b) {
1928
+ if (this.styles.save(d), g === "string" && c.substring(0, 6) === "var(--" && (c = ye(e, c.substring(4, c.indexOf(")"))), u = parseFloat(c)), x || (v = e._gsap, v.renderTransform && !t.parseTransform || St(e, t.parseTransform), P = t.smoothOrigin !== !1 && v.smooth, x = this._pt = new re(this._pt, o, B, 0, 1, v.renderTransform, v, 0, -1), x.dep = 1), d === "scale")
1929
+ this._pt = new re(this._pt, v, "scaleY", v.scaleY, (y ? rt(v.scaleY, y + u) : u) - v.scaleY || 0, bi), this._pt.u = 0, s.push("scaleY", d), d += "X";
1930
1930
  else if (d === "transformOrigin") {
1931
- C.push(se, 0, o[se]), c = Xs(c), v.svg ? Ei(e, c, 0, P, 0, this) : (_ = parseFloat(c.split(" ")[2]) || 0, _ !== v.zOrigin && Re(this, v, "zOrigin", v.zOrigin, _), Re(this, o, d, Yt(h), Yt(c)));
1931
+ C.push(se, 0, o[se]), c = qs(c), v.svg ? Ei(e, c, 0, P, 0, this) : (_ = parseFloat(c.split(" ")[2]) || 0, _ !== v.zOrigin && Re(this, v, "zOrigin", v.zOrigin, _), Re(this, o, d, Yt(h), Yt(c)));
1932
1932
  continue;
1933
1933
  } else if (d === "svgOrigin") {
1934
1934
  Ei(e, c, 1, P, 0, this);
1935
1935
  continue;
1936
- } else if (d in Cr) {
1937
- ea(this, v, d, f, y ? rt(f, y + c) : c);
1936
+ } else if (d in Ar) {
1937
+ ta(this, v, d, f, y ? rt(f, y + c) : c);
1938
1938
  continue;
1939
1939
  } else if (d === "smoothOrigin") {
1940
1940
  Re(this, v, "smooth", v.smooth, c);
@@ -1943,24 +1943,24 @@ var Sr = {
1943
1943
  v[d] = c;
1944
1944
  continue;
1945
1945
  } else if (d === "transform") {
1946
- ta(this, c, e);
1946
+ ia(this, c, e);
1947
1947
  continue;
1948
1948
  }
1949
1949
  } else d in o || (d = dt(d) || d);
1950
- if (x || (u || u === 0) && (f || f === 0) && !Fs.test(c) && d in o)
1951
- m = (h + "").substr((f + "").length), u || (u = 0), _ = X(c) || (d in ue.units ? ue.units[d] : m), m !== _ && (f = Fe(e, d, h, _)), this._pt = new re(this._pt, x ? v : o, d, f, (y ? rt(f, y + u) : u) - f, !x && (_ === "px" || d === "zIndex") && t.autoRound !== !1 ? Ns : xi), this._pt.u = _ || 0, m !== _ && _ !== "%" && (this._pt.b = h, this._pt.r = zs);
1950
+ if (b || (u || u === 0) && (f || f === 0) && !Us.test(c) && d in o)
1951
+ m = (h + "").substr((f + "").length), u || (u = 0), _ = X(c) || (d in ue.units ? ue.units[d] : m), m !== _ && (f = Fe(e, d, h, _)), this._pt = new re(this._pt, b ? v : o, d, f, (y ? rt(f, y + u) : u) - f, !b && (_ === "px" || d === "zIndex") && t.autoRound !== !1 ? Bs : bi), this._pt.u = _ || 0, m !== _ && _ !== "%" && (this._pt.b = h, this._pt.r = Ns);
1952
1952
  else if (d in o)
1953
- Ws.call(this, e, d, h, y ? y + c : c);
1953
+ Xs.call(this, e, d, h, y ? y + c : c);
1954
1954
  else if (d in e)
1955
1955
  this.add(e, d, h || e[d], y ? y + c : c, n, r);
1956
1956
  else if (d !== "parseTransform") {
1957
1957
  Mi(d, c);
1958
1958
  continue;
1959
1959
  }
1960
- x || (d in o ? C.push(d, 0, o[d]) : typeof e[d] == "function" ? C.push(d, 2, e[d]()) : C.push(d, 1, h || e[d])), s.push(d);
1960
+ b || (d in o ? C.push(d, 0, o[d]) : typeof e[d] == "function" ? C.push(d, 2, e[d]()) : C.push(d, 1, h || e[d])), s.push(d);
1961
1961
  }
1962
1962
  }
1963
- E && gr(this);
1963
+ E && _r(this);
1964
1964
  },
1965
1965
  render: function(e, t) {
1966
1966
  if (t.tween._time || !Bi())
@@ -1973,7 +1973,7 @@ var Sr = {
1973
1973
  aliases: ve,
1974
1974
  getSetter: function(e, t, i) {
1975
1975
  var n = ve[t];
1976
- return n && n.indexOf(",") < 0 && (t = n), t in Se && t !== se && (e._gsap.x || Ae(e, "x")) ? i && rn === i ? t === "scale" ? Vs : Gs : (rn = i || {}) && (t === "scale" ? js : Hs) : e.style && !Ai(e.style[t]) ? Bs : ~t.indexOf("-") ? $s : Ui(e, t);
1976
+ return n && n.indexOf(",") < 0 && (t = n), t in Se && t !== se && (e._gsap.x || Ae(e, "x")) ? i && rn === i ? t === "scale" ? js : Vs : (rn = i || {}) && (t === "scale" ? Hs : Ys) : e.style && !Ai(e.style[t]) ? $s : ~t.indexOf("-") ? Gs : Ui(e, t);
1977
1977
  },
1978
1978
  core: {
1979
1979
  _removeProperty: We,
@@ -1981,13 +1981,13 @@ var Sr = {
1981
1981
  }
1982
1982
  };
1983
1983
  ae.utils.checkPrefix = dt;
1984
- ae.core.getStyleSaver = vr;
1984
+ ae.core.getStyleSaver = Er;
1985
1985
  (function(a, e, t, i) {
1986
1986
  var n = ne(a + "," + e + "," + t, function(r) {
1987
1987
  Se[r] = 1;
1988
1988
  });
1989
1989
  ne(e, function(r) {
1990
- ue.units[r] = "deg", Cr[r] = 1;
1990
+ ue.units[r] = "deg", Ar[r] = 1;
1991
1991
  }), ve[n[13]] = a + "," + e, ne(i, function(r) {
1992
1992
  var s = r.split(":");
1993
1993
  ve[s[1]] = n[s[0]];
@@ -1996,8 +1996,8 @@ ae.core.getStyleSaver = vr;
1996
1996
  ne("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(a) {
1997
1997
  ue.units[a] = "px";
1998
1998
  });
1999
- ae.registerPlugin(Sr);
2000
- var Z = ae.registerPlugin(Sr) || ae;
1999
+ ae.registerPlugin(Mr);
2000
+ var Z = ae.registerPlugin(Mr) || ae;
2001
2001
  Z.core.Tween;
2002
2002
  class Ee {
2003
2003
  constructor(e, t, i, n, r = "div") {
@@ -2225,7 +2225,7 @@ class Ee {
2225
2225
  this.listen(!1), this.parent.children.splice(this.parent.children.indexOf(this), 1), this.parent.controllers.splice(this.parent.controllers.indexOf(this), 1), this.parent.$children.removeChild(this.domElement);
2226
2226
  }
2227
2227
  }
2228
- class ia extends Ee {
2228
+ class na extends Ee {
2229
2229
  constructor(e, t, i) {
2230
2230
  super(e, t, i, "lil-boolean", "label"), this.$input = document.createElement("input"), this.$input.setAttribute("type", "checkbox"), this.$input.setAttribute("aria-labelledby", this.$name.id), this.$widget.appendChild(this.$input), this.$input.addEventListener("change", () => {
2231
2231
  this.setValue(this.$input.checked), this._callOnFinishChange();
@@ -2239,7 +2239,7 @@ function wi(a) {
2239
2239
  let e, t;
2240
2240
  return (e = a.match(/(#|0x)?([a-f0-9]{6})/i)) ? t = e[2] : (e = a.match(/rgb\(\s*(\d*)\s*,\s*(\d*)\s*,\s*(\d*)\s*\)/)) ? t = parseInt(e[1]).toString(16).padStart(2, 0) + parseInt(e[2]).toString(16).padStart(2, 0) + parseInt(e[3]).toString(16).padStart(2, 0) : (e = a.match(/^#?([a-f0-9])([a-f0-9])([a-f0-9])$/i)) && (t = e[1] + e[1] + e[2] + e[2] + e[3] + e[3]), t ? "#" + t : !1;
2241
2241
  }
2242
- const na = {
2242
+ const ra = {
2243
2243
  isPrimitive: !0,
2244
2244
  match: (a) => typeof a == "string",
2245
2245
  fromHexString: wi,
@@ -2249,7 +2249,7 @@ const na = {
2249
2249
  match: (a) => typeof a == "number",
2250
2250
  fromHexString: (a) => parseInt(a.substring(1), 16),
2251
2251
  toHexString: (a) => "#" + a.toString(16).padStart(6, 0)
2252
- }, ra = {
2252
+ }, sa = {
2253
2253
  isPrimitive: !1,
2254
2254
  match: (a) => Array.isArray(a) || ArrayBuffer.isView(a),
2255
2255
  fromHexString(a, e, t = 1) {
@@ -2261,7 +2261,7 @@ const na = {
2261
2261
  const n = a * i << 16 ^ e * i << 8 ^ t * i << 0;
2262
2262
  return Mt.toHexString(n);
2263
2263
  }
2264
- }, sa = {
2264
+ }, aa = {
2265
2265
  isPrimitive: !1,
2266
2266
  match: (a) => Object(a) === a,
2267
2267
  fromHexString(a, e, t = 1) {
@@ -2273,13 +2273,13 @@ const na = {
2273
2273
  const n = a * i << 16 ^ e * i << 8 ^ t * i << 0;
2274
2274
  return Mt.toHexString(n);
2275
2275
  }
2276
- }, aa = [na, Mt, ra, sa];
2277
- function oa(a) {
2278
- return aa.find((e) => e.match(a));
2276
+ }, oa = [ra, Mt, sa, aa];
2277
+ function la(a) {
2278
+ return oa.find((e) => e.match(a));
2279
2279
  }
2280
- class la extends Ee {
2280
+ class ha extends Ee {
2281
2281
  constructor(e, t, i, n) {
2282
- super(e, t, i, "lil-color"), this.$input = document.createElement("input"), this.$input.setAttribute("type", "color"), this.$input.setAttribute("tabindex", -1), this.$input.setAttribute("aria-labelledby", this.$name.id), this.$text = document.createElement("input"), this.$text.setAttribute("type", "text"), this.$text.setAttribute("spellcheck", "false"), this.$text.setAttribute("aria-labelledby", this.$name.id), this.$display = document.createElement("div"), this.$display.classList.add("lil-display"), this.$display.appendChild(this.$input), this.$widget.appendChild(this.$display), this.$widget.appendChild(this.$text), this._format = oa(this.initialValue), this._rgbScale = n, this._initialValueHexString = this.save(), this._textFocused = !1, this.$input.addEventListener("input", () => {
2282
+ super(e, t, i, "lil-color"), this.$input = document.createElement("input"), this.$input.setAttribute("type", "color"), this.$input.setAttribute("tabindex", -1), this.$input.setAttribute("aria-labelledby", this.$name.id), this.$text = document.createElement("input"), this.$text.setAttribute("type", "text"), this.$text.setAttribute("spellcheck", "false"), this.$text.setAttribute("aria-labelledby", this.$name.id), this.$display = document.createElement("div"), this.$display.classList.add("lil-display"), this.$display.appendChild(this.$input), this.$widget.appendChild(this.$display), this.$widget.appendChild(this.$text), this._format = la(this.initialValue), this._rgbScale = n, this._initialValueHexString = this.save(), this._textFocused = !1, this.$input.addEventListener("input", () => {
2283
2283
  this._setValueFromHexString(this.$input.value);
2284
2284
  }), this.$input.addEventListener("blur", () => {
2285
2285
  this._callOnFinishChange();
@@ -2320,7 +2320,7 @@ class ri extends Ee {
2320
2320
  }, { passive: !0 }), this.$disable = this.$button;
2321
2321
  }
2322
2322
  }
2323
- class ha extends Ee {
2323
+ class ca extends Ee {
2324
2324
  constructor(e, t, i, n, r, s) {
2325
2325
  super(e, t, i, "lil-number"), this._initInput(), this.min(n), this.max(r);
2326
2326
  const o = s !== void 0;
@@ -2352,8 +2352,8 @@ class ha extends Ee {
2352
2352
  let y = parseFloat(this.$input.value);
2353
2353
  isNaN(y) || (this._stepExplicit && (y = this._snap(y)), this.setValue(this._clamp(y)));
2354
2354
  }, i = (y) => {
2355
- const x = parseFloat(this.$input.value);
2356
- isNaN(x) || (this._snapClampSetValue(x + y), this.$input.value = this.getValue());
2355
+ const b = parseFloat(this.$input.value);
2356
+ isNaN(b) || (this._snapClampSetValue(b + y), this.$input.value = this.getValue());
2357
2357
  }, n = (y) => {
2358
2358
  y.key === "Enter" && this.$input.blur(), y.code === "ArrowUp" && (y.preventDefault(), i(this._step * this._arrowKeyMultiplier(y))), y.code === "ArrowDown" && (y.preventDefault(), i(this._step * this._arrowKeyMultiplier(y) * -1));
2359
2359
  }, r = (y) => {
@@ -2364,12 +2364,12 @@ class ha extends Ee {
2364
2364
  o = y.clientX, l = h = y.clientY, s = !0, c = this.getValue(), u = 0, window.addEventListener("mousemove", p), window.addEventListener("mouseup", d);
2365
2365
  }, p = (y) => {
2366
2366
  if (s) {
2367
- const x = y.clientX - o, b = y.clientY - l;
2368
- Math.abs(b) > f ? (y.preventDefault(), this.$input.blur(), s = !1, this._setDraggingStyle(!0, "vertical")) : Math.abs(x) > f && d();
2367
+ const b = y.clientX - o, x = y.clientY - l;
2368
+ Math.abs(x) > f ? (y.preventDefault(), this.$input.blur(), s = !1, this._setDraggingStyle(!0, "vertical")) : Math.abs(b) > f && d();
2369
2369
  }
2370
2370
  if (!s) {
2371
- const x = y.clientY - h;
2372
- u -= x * this._step * this._arrowKeyMultiplier(y), c + u > this._max ? u = this._max - c : c + u < this._min && (u = this._min - c), this._snapClampSetValue(c + u);
2371
+ const b = y.clientY - h;
2372
+ u -= b * this._step * this._arrowKeyMultiplier(y), c + u > this._max ? u = this._max - c : c + u < this._min && (u = this._min - c), this._snapClampSetValue(c + u);
2373
2373
  }
2374
2374
  h = y.clientY;
2375
2375
  }, d = () => {
@@ -2383,10 +2383,10 @@ class ha extends Ee {
2383
2383
  }
2384
2384
  _initSlider() {
2385
2385
  this._hasSlider = !0, this.$slider = document.createElement("div"), this.$slider.classList.add("lil-slider"), this.$fill = document.createElement("div"), this.$fill.classList.add("lil-fill"), this.$slider.appendChild(this.$fill), this.$widget.insertBefore(this.$slider, this.$input), this.domElement.classList.add("lil-has-slider");
2386
- const e = (_, y, x, b, v) => (_ - y) / (x - y) * (v - b) + b, t = (_) => {
2386
+ const e = (_, y, b, x, v) => (_ - y) / (b - y) * (v - x) + x, t = (_) => {
2387
2387
  const y = this.$slider.getBoundingClientRect();
2388
- let x = e(_, y.left, y.right, this._min, this._max);
2389
- this._snapClampSetValue(x);
2388
+ let b = e(_, y.left, y.right, this._min, this._max);
2389
+ this._snapClampSetValue(b);
2390
2390
  }, i = (_) => {
2391
2391
  this._setDraggingStyle(!0), t(_.clientX), window.addEventListener("mousemove", n), window.addEventListener("mouseup", r);
2392
2392
  }, n = (_) => {
@@ -2401,8 +2401,8 @@ class ha extends Ee {
2401
2401
  _.touches.length > 1 || (this._hasScrollBar ? (o = _.touches[0].clientX, l = _.touches[0].clientY, s = !0) : h(_), window.addEventListener("touchmove", u, { passive: !1 }), window.addEventListener("touchend", f));
2402
2402
  }, u = (_) => {
2403
2403
  if (s) {
2404
- const y = _.touches[0].clientX - o, x = _.touches[0].clientY - l;
2405
- Math.abs(y) > Math.abs(x) ? h(_) : (window.removeEventListener("touchmove", u), window.removeEventListener("touchend", f));
2404
+ const y = _.touches[0].clientX - o, b = _.touches[0].clientY - l;
2405
+ Math.abs(y) > Math.abs(b) ? h(_) : (window.removeEventListener("touchmove", u), window.removeEventListener("touchend", f));
2406
2406
  } else
2407
2407
  _.preventDefault(), t(_.touches[0].clientX);
2408
2408
  }, f = () => {
@@ -2412,8 +2412,8 @@ class ha extends Ee {
2412
2412
  const m = (_) => {
2413
2413
  if (Math.abs(_.deltaX) < Math.abs(_.deltaY) && this._hasScrollBar) return;
2414
2414
  _.preventDefault();
2415
- const x = this._normalizeMouseWheel(_) * this._step;
2416
- this._snapClampSetValue(this.getValue() + x), this.$input.value = this.getValue(), clearTimeout(d), d = setTimeout(g, p);
2415
+ const b = this._normalizeMouseWheel(_) * this._step;
2416
+ this._snapClampSetValue(this.getValue() + b), this.$input.value = this.getValue(), clearTimeout(d), d = setTimeout(g, p);
2417
2417
  };
2418
2418
  this.$slider.addEventListener("mousedown", i), this.$slider.addEventListener("touchstart", c, { passive: !1 }), this.$slider.addEventListener("wheel", m, { passive: !1 });
2419
2419
  }
@@ -2455,7 +2455,7 @@ class ha extends Ee {
2455
2455
  return this._max !== void 0;
2456
2456
  }
2457
2457
  }
2458
- class ca extends Ee {
2458
+ class ua extends Ee {
2459
2459
  constructor(e, t, i, n) {
2460
2460
  super(e, t, i, "lil-option"), this.$select = document.createElement("select"), this.$select.setAttribute("aria-labelledby", this.$name.id), this.$display = document.createElement("div"), this.$display.classList.add("lil-display"), this.$select.addEventListener("change", () => {
2461
2461
  this.setValue(this._values[this.$select.selectedIndex]), this._callOnFinishChange();
@@ -2476,7 +2476,7 @@ class ca extends Ee {
2476
2476
  return this.$select.selectedIndex = t, this.$display.textContent = t === -1 ? e : this._names[t], this;
2477
2477
  }
2478
2478
  }
2479
- class ua extends Ee {
2479
+ class da extends Ee {
2480
2480
  constructor(e, t, i) {
2481
2481
  super(e, t, i, "lil-string"), this.$input = document.createElement("input"), this.$input.setAttribute("type", "text"), this.$input.setAttribute("spellcheck", "false"), this.$input.setAttribute("aria-labelledby", this.$name.id), this.$input.addEventListener("input", () => {
2482
2482
  this.setValue(this.$input.value);
@@ -2490,7 +2490,7 @@ class ua extends Ee {
2490
2490
  return this.$input.value = this.getValue(), this;
2491
2491
  }
2492
2492
  }
2493
- var da = `.lil-gui {
2493
+ var pa = `.lil-gui {
2494
2494
  font-family: var(--font-family);
2495
2495
  font-size: var(--font-size);
2496
2496
  line-height: 1;
@@ -2912,7 +2912,7 @@ var da = `.lil-gui {
2912
2912
  font-family: "lil-gui";
2913
2913
  src: url("data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAALkAAsAAAAABtQAAAKVAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDMgqBBIEbATYCJAMUCwwABCAFhAoHgQQbHAbIDiUFEYVARAAAYQTVWNmz9MxhEgodq49wYRUFKE8GWNiUBxI2LBRaVnc51U83Gmhs0Q7JXWMiz5eteLwrKwuxHO8VFxUX9UpZBs6pa5ABRwHA+t3UxUnH20EvVknRerzQgX6xC/GH6ZUvTcAjAv122dF28OTqCXrPuyaDER30YBA1xnkVutDDo4oCi71Ca7rrV9xS8dZHbPHefsuwIyCpmT7j+MnjAH5X3984UZoFFuJ0yiZ4XEJFxjagEBeqs+e1iyK8Xf/nOuwF+vVK0ur765+vf7txotUi0m3N0m/84RGSrBCNrh8Ee5GjODjF4gnWP+dJrH/Lk9k4oT6d+gr6g/wssA2j64JJGP6cmx554vUZnpZfn6ZfX2bMwPPrlANsB86/DiHjhl0OP+c87+gaJo/gY084s3HoYL/ZkWHTRfBXvvoHnnkHvngKun4KBE/ede7tvq3/vQOxDXB1/fdNz6XbPdcr0Vhpojj9dG+owuSKFsslCi1tgEjirjXdwMiov2EioadxmqTHUCIwo8NgQaeIasAi0fTYSPTbSmwbMOFduyh9wvBrESGY0MtgRjtgQR8Q1bRPohn2UoCRZf9wyYANMXFeJTysqAe0I4mrherOekFdKMrYvJjLvOIUM9SuwYB5DVZUwwVjJJOaUnZCmcEkIZZrKqNvRGRMvmFZsmhP4VMKCSXBhSqUBxgMS7h0cZvEd71AWkEhGWaeMFcNnpqyJkyXgYL7PQ1MoSq0wDAkRtJIijkZSmqYTiSImfLiSWXIZwhRh3Rug2X0kk1Dgj+Iu43u5p98ghopcpSo0Uyc8SnjlYX59WUeaMoDqmVD2TOWD9a4pCRAzf2ECgwGcrHjPOWY9bNxq/OL3I/QjwEAAAA=") format("woff2");
2914
2914
  }`;
2915
- function pa(a) {
2915
+ function fa(a) {
2916
2916
  const e = document.createElement("style");
2917
2917
  e.innerHTML = a;
2918
2918
  const t = document.querySelector("head link[rel=stylesheet], head style");
@@ -2968,7 +2968,7 @@ class Vi {
2968
2968
  this.parent.children.push(this), this.parent.folders.push(this), this.parent.$children.appendChild(this.domElement);
2969
2969
  return;
2970
2970
  }
2971
- this.domElement.classList.add("lil-root"), l && this.domElement.classList.add("lil-allow-touch-styles"), !pn && o && (pa(da), pn = !0), i ? i.appendChild(this.domElement) : t && (this.domElement.classList.add("lil-auto-place", "autoPlace"), document.body.appendChild(this.domElement)), n && this.domElement.style.setProperty("--width", n + "px"), this._closeFolders = s;
2971
+ this.domElement.classList.add("lil-root"), l && this.domElement.classList.add("lil-allow-touch-styles"), !pn && o && (fa(pa), pn = !0), i ? i.appendChild(this.domElement) : t && (this.domElement.classList.add("lil-auto-place", "autoPlace"), document.body.appendChild(this.domElement)), n && this.domElement.style.setProperty("--width", n + "px"), this._closeFolders = s;
2972
2972
  }
2973
2973
  /**
2974
2974
  * Adds a controller to the GUI, inferring controller type using the `typeof` operator.
@@ -2987,15 +2987,15 @@ class Vi {
2987
2987
  */
2988
2988
  add(e, t, i, n, r) {
2989
2989
  if (Object(i) === i)
2990
- return new ca(this, e, t, i);
2990
+ return new ua(this, e, t, i);
2991
2991
  const s = e[t];
2992
2992
  switch (typeof s) {
2993
2993
  case "number":
2994
- return new ha(this, e, t, i, n, r);
2994
+ return new ca(this, e, t, i, n, r);
2995
2995
  case "boolean":
2996
- return new ia(this, e, t);
2996
+ return new na(this, e, t);
2997
2997
  case "string":
2998
- return new ua(this, e, t);
2998
+ return new da(this, e, t);
2999
2999
  case "function":
3000
3000
  return new ri(this, e, t);
3001
3001
  }
@@ -3024,7 +3024,7 @@ class Vi {
3024
3024
  * @returns {Controller}
3025
3025
  */
3026
3026
  addColor(e, t, i = 1) {
3027
- return new la(this, e, t, i);
3027
+ return new ha(this, e, t, i);
3028
3028
  }
3029
3029
  /**
3030
3030
  * Adds a folder to the GUI, which is just another GUI. This method returns
@@ -3251,7 +3251,7 @@ class Vi {
3251
3251
  }), e;
3252
3252
  }
3253
3253
  }
3254
- const fn = { type: "change" }, ji = { type: "start" }, Mr = { type: "end" }, It = new zr(), mn = new Nr(), fa = Math.cos(70 * Br.DEG2RAD), Y = new oe(), te = 2 * Math.PI, L = {
3254
+ const fn = { type: "change" }, ji = { type: "start" }, Dr = { type: "end" }, Lt = new Nr(), mn = new Br(), ma = Math.cos(70 * $r.DEG2RAD), Y = new oe(), te = 2 * Math.PI, I = {
3255
3255
  NONE: -1,
3256
3256
  ROTATE: 0,
3257
3257
  DOLLY: 1,
@@ -3261,7 +3261,7 @@ const fn = { type: "change" }, ji = { type: "start" }, Mr = { type: "end" }, It
3261
3261
  TOUCH_DOLLY_PAN: 5,
3262
3262
  TOUCH_DOLLY_ROTATE: 6
3263
3263
  }, si = 1e-6;
3264
- class ma extends Ur {
3264
+ class ga extends zr {
3265
3265
  /**
3266
3266
  * Constructs a new controls instance.
3267
3267
  *
@@ -3269,7 +3269,7 @@ class ma extends Ur {
3269
3269
  * @param {?HTMLElement} domElement - The HTML element used for event listeners.
3270
3270
  */
3271
3271
  constructor(e, t = null) {
3272
- super(e, t), this.state = L.NONE, this.target = new oe(), this.cursor = new oe(), this.minDistance = 0, this.maxDistance = 1 / 0, this.minZoom = 0, this.maxZoom = 1 / 0, this.minTargetRadius = 0, this.maxTargetRadius = 1 / 0, this.minPolarAngle = 0, this.maxPolarAngle = Math.PI, this.minAzimuthAngle = -1 / 0, this.maxAzimuthAngle = 1 / 0, this.enableDamping = !1, this.dampingFactor = 0.05, this.enableZoom = !0, this.zoomSpeed = 1, this.enableRotate = !0, this.rotateSpeed = 1, this.keyRotateSpeed = 1, this.enablePan = !0, this.panSpeed = 1, this.screenSpacePanning = !0, this.keyPanSpeed = 7, this.zoomToCursor = !1, this.autoRotate = !1, this.autoRotateSpeed = 2, this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" }, this.mouseButtons = { LEFT: nt.ROTATE, MIDDLE: nt.DOLLY, RIGHT: nt.PAN }, this.touches = { ONE: Je.ROTATE, TWO: Je.DOLLY_PAN }, this.target0 = this.target.clone(), this.position0 = this.object.position.clone(), this.zoom0 = this.object.zoom, this._domElementKeyEvents = null, this._lastPosition = new oe(), this._lastQuaternion = new Zi(), this._lastTargetPosition = new oe(), this._quat = new Zi().setFromUnitVectors(e.up, new oe(0, 1, 0)), this._quatInverse = this._quat.clone().invert(), this._spherical = new Ki(), this._sphericalDelta = new Ki(), this._scale = 1, this._panOffset = new oe(), this._rotateStart = new fe(), this._rotateEnd = new fe(), this._rotateDelta = new fe(), this._panStart = new fe(), this._panEnd = new fe(), this._panDelta = new fe(), this._dollyStart = new fe(), this._dollyEnd = new fe(), this._dollyDelta = new fe(), this._dollyDirection = new oe(), this._mouse = new fe(), this._performCursorZoom = !1, this._pointers = [], this._pointerPositions = {}, this._controlActive = !1, this._onPointerMove = _a.bind(this), this._onPointerDown = ga.bind(this), this._onPointerUp = ya.bind(this), this._onContextMenu = Ca.bind(this), this._onMouseWheel = va.bind(this), this._onKeyDown = Ea.bind(this), this._onTouchStart = wa.bind(this), this._onTouchMove = Pa.bind(this), this._onMouseDown = xa.bind(this), this._onMouseMove = ba.bind(this), this._interceptControlDown = Aa.bind(this), this._interceptControlUp = Ta.bind(this), this.domElement !== null && this.connect(this.domElement), this.update();
3272
+ super(e, t), this.state = I.NONE, this.target = new oe(), this.cursor = new oe(), this.minDistance = 0, this.maxDistance = 1 / 0, this.minZoom = 0, this.maxZoom = 1 / 0, this.minTargetRadius = 0, this.maxTargetRadius = 1 / 0, this.minPolarAngle = 0, this.maxPolarAngle = Math.PI, this.minAzimuthAngle = -1 / 0, this.maxAzimuthAngle = 1 / 0, this.enableDamping = !1, this.dampingFactor = 0.05, this.enableZoom = !0, this.zoomSpeed = 1, this.enableRotate = !0, this.rotateSpeed = 1, this.keyRotateSpeed = 1, this.enablePan = !0, this.panSpeed = 1, this.screenSpacePanning = !0, this.keyPanSpeed = 7, this.zoomToCursor = !1, this.autoRotate = !1, this.autoRotateSpeed = 2, this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" }, this.mouseButtons = { LEFT: nt.ROTATE, MIDDLE: nt.DOLLY, RIGHT: nt.PAN }, this.touches = { ONE: Je.ROTATE, TWO: Je.DOLLY_PAN }, this.target0 = this.target.clone(), this.position0 = this.object.position.clone(), this.zoom0 = this.object.zoom, this._domElementKeyEvents = null, this._lastPosition = new oe(), this._lastQuaternion = new Zi(), this._lastTargetPosition = new oe(), this._quat = new Zi().setFromUnitVectors(e.up, new oe(0, 1, 0)), this._quatInverse = this._quat.clone().invert(), this._spherical = new Ki(), this._sphericalDelta = new Ki(), this._scale = 1, this._panOffset = new oe(), this._rotateStart = new fe(), this._rotateEnd = new fe(), this._rotateDelta = new fe(), this._panStart = new fe(), this._panEnd = new fe(), this._panDelta = new fe(), this._dollyStart = new fe(), this._dollyEnd = new fe(), this._dollyDelta = new fe(), this._dollyDirection = new oe(), this._mouse = new fe(), this._performCursorZoom = !1, this._pointers = [], this._pointerPositions = {}, this._controlActive = !1, this._onPointerMove = ya.bind(this), this._onPointerDown = _a.bind(this), this._onPointerUp = ba.bind(this), this._onContextMenu = Aa.bind(this), this._onMouseWheel = Ea.bind(this), this._onKeyDown = wa.bind(this), this._onTouchStart = Pa.bind(this), this._onTouchMove = Ca.bind(this), this._onMouseDown = xa.bind(this), this._onMouseMove = va.bind(this), this._interceptControlDown = Ta.bind(this), this._interceptControlUp = Sa.bind(this), this.domElement !== null && this.connect(this.domElement), this.update();
3273
3273
  }
3274
3274
  connect(e) {
3275
3275
  super.connect(e), this.domElement.addEventListener("pointerdown", this._onPointerDown), this.domElement.addEventListener("pointercancel", this._onPointerUp), this.domElement.addEventListener("contextmenu", this._onContextMenu), this.domElement.addEventListener("wheel", this._onMouseWheel, { passive: !1 }), this.domElement.getRootNode().addEventListener("keydown", this._interceptControlDown, { passive: !0, capture: !0 }), this.domElement.style.touchAction = "none";
@@ -3330,11 +3330,11 @@ class ma extends Ur {
3330
3330
  * was called, or the initial state.
3331
3331
  */
3332
3332
  reset() {
3333
- this.target.copy(this.target0), this.object.position.copy(this.position0), this.object.zoom = this.zoom0, this.object.updateProjectionMatrix(), this.dispatchEvent(fn), this.update(), this.state = L.NONE;
3333
+ this.target.copy(this.target0), this.object.position.copy(this.position0), this.object.zoom = this.zoom0, this.object.updateProjectionMatrix(), this.dispatchEvent(fn), this.update(), this.state = I.NONE;
3334
3334
  }
3335
3335
  update(e = null) {
3336
3336
  const t = this.object.position;
3337
- Y.copy(t).sub(this.target), Y.applyQuaternion(this._quat), this._spherical.setFromVector3(Y), this.autoRotate && this.state === L.NONE && this._rotateLeft(this._getAutoRotationAngle(e)), this.enableDamping ? (this._spherical.theta += this._sphericalDelta.theta * this.dampingFactor, this._spherical.phi += this._sphericalDelta.phi * this.dampingFactor) : (this._spherical.theta += this._sphericalDelta.theta, this._spherical.phi += this._sphericalDelta.phi);
3337
+ Y.copy(t).sub(this.target), Y.applyQuaternion(this._quat), this._spherical.setFromVector3(Y), this.autoRotate && this.state === I.NONE && this._rotateLeft(this._getAutoRotationAngle(e)), this.enableDamping ? (this._spherical.theta += this._sphericalDelta.theta * this.dampingFactor, this._spherical.phi += this._sphericalDelta.phi * this.dampingFactor) : (this._spherical.theta += this._sphericalDelta.theta, this._spherical.phi += this._sphericalDelta.phi);
3338
3338
  let i = this.minAzimuthAngle, n = this.maxAzimuthAngle;
3339
3339
  isFinite(i) && isFinite(n) && (i < -Math.PI ? i += te : i > Math.PI && (i -= te), n < -Math.PI ? n += te : n > Math.PI && (n -= te), i <= n ? this._spherical.theta = Math.max(i, Math.min(n, this._spherical.theta)) : this._spherical.theta = this._spherical.theta > (i + n) / 2 ? Math.max(i, this._spherical.theta) : Math.min(n, this._spherical.theta)), this._spherical.phi = Math.max(this.minPolarAngle, Math.min(this.maxPolarAngle, this._spherical.phi)), this._spherical.makeSafe(), this.enableDamping === !0 ? this.target.addScaledVector(this._panOffset, this.dampingFactor) : this.target.add(this._panOffset), this.target.sub(this.cursor), this.target.clampLength(this.minTargetRadius, this.maxTargetRadius), this.target.add(this.cursor);
3340
3340
  let r = !1;
@@ -3360,7 +3360,7 @@ class ma extends Ur {
3360
3360
  h.unproject(this.object), this.object.position.sub(h).add(o), this.object.updateMatrixWorld(), s = Y.length();
3361
3361
  } else
3362
3362
  console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."), this.zoomToCursor = !1;
3363
- s !== null && (this.screenSpacePanning ? this.target.set(0, 0, -1).transformDirection(this.object.matrix).multiplyScalar(s).add(this.object.position) : (It.origin.copy(this.object.position), It.direction.set(0, 0, -1).transformDirection(this.object.matrix), Math.abs(this.object.up.dot(It.direction)) < fa ? this.object.lookAt(this.target) : (mn.setFromNormalAndCoplanarPoint(this.object.up, this.target), It.intersectPlane(mn, this.target))));
3363
+ s !== null && (this.screenSpacePanning ? this.target.set(0, 0, -1).transformDirection(this.object.matrix).multiplyScalar(s).add(this.object.position) : (Lt.origin.copy(this.object.position), Lt.direction.set(0, 0, -1).transformDirection(this.object.matrix), Math.abs(this.object.up.dot(Lt.direction)) < ma ? this.object.lookAt(this.target) : (mn.setFromNormalAndCoplanarPoint(this.object.up, this.target), Lt.intersectPlane(mn, this.target))));
3364
3364
  } else if (this.object.isOrthographicCamera) {
3365
3365
  const s = this.object.zoom;
3366
3366
  this.object.zoom = Math.max(this.minZoom, Math.min(this.maxZoom, this.object.zoom / this._scale)), s !== this.object.zoom && (this.object.updateProjectionMatrix(), r = !0);
@@ -3557,16 +3557,16 @@ class ma extends Ur {
3557
3557
  return e.ctrlKey && !this._controlActive && (i.deltaY *= 10), i;
3558
3558
  }
3559
3559
  }
3560
- function ga(a) {
3560
+ function _a(a) {
3561
3561
  this.enabled !== !1 && (this._pointers.length === 0 && (this.domElement.setPointerCapture(a.pointerId), this.domElement.addEventListener("pointermove", this._onPointerMove), this.domElement.addEventListener("pointerup", this._onPointerUp)), !this._isTrackingPointer(a) && (this._addPointer(a), a.pointerType === "touch" ? this._onTouchStart(a) : this._onMouseDown(a)));
3562
3562
  }
3563
- function _a(a) {
3563
+ function ya(a) {
3564
3564
  this.enabled !== !1 && (a.pointerType === "touch" ? this._onTouchMove(a) : this._onMouseMove(a));
3565
3565
  }
3566
- function ya(a) {
3566
+ function ba(a) {
3567
3567
  switch (this._removePointer(a), this._pointers.length) {
3568
3568
  case 0:
3569
- this.domElement.releasePointerCapture(a.pointerId), this.domElement.removeEventListener("pointermove", this._onPointerMove), this.domElement.removeEventListener("pointerup", this._onPointerUp), this.dispatchEvent(Mr), this.state = L.NONE;
3569
+ this.domElement.releasePointerCapture(a.pointerId), this.domElement.removeEventListener("pointermove", this._onPointerMove), this.domElement.removeEventListener("pointerup", this._onPointerUp), this.dispatchEvent(Dr), this.state = I.NONE;
3570
3570
  break;
3571
3571
  case 1:
3572
3572
  const e = this._pointers[0], t = this._pointerPositions[e];
@@ -3592,120 +3592,120 @@ function xa(a) {
3592
3592
  switch (e) {
3593
3593
  case nt.DOLLY:
3594
3594
  if (this.enableZoom === !1) return;
3595
- this._handleMouseDownDolly(a), this.state = L.DOLLY;
3595
+ this._handleMouseDownDolly(a), this.state = I.DOLLY;
3596
3596
  break;
3597
3597
  case nt.ROTATE:
3598
3598
  if (a.ctrlKey || a.metaKey || a.shiftKey) {
3599
3599
  if (this.enablePan === !1) return;
3600
- this._handleMouseDownPan(a), this.state = L.PAN;
3600
+ this._handleMouseDownPan(a), this.state = I.PAN;
3601
3601
  } else {
3602
3602
  if (this.enableRotate === !1) return;
3603
- this._handleMouseDownRotate(a), this.state = L.ROTATE;
3603
+ this._handleMouseDownRotate(a), this.state = I.ROTATE;
3604
3604
  }
3605
3605
  break;
3606
3606
  case nt.PAN:
3607
3607
  if (a.ctrlKey || a.metaKey || a.shiftKey) {
3608
3608
  if (this.enableRotate === !1) return;
3609
- this._handleMouseDownRotate(a), this.state = L.ROTATE;
3609
+ this._handleMouseDownRotate(a), this.state = I.ROTATE;
3610
3610
  } else {
3611
3611
  if (this.enablePan === !1) return;
3612
- this._handleMouseDownPan(a), this.state = L.PAN;
3612
+ this._handleMouseDownPan(a), this.state = I.PAN;
3613
3613
  }
3614
3614
  break;
3615
3615
  default:
3616
- this.state = L.NONE;
3616
+ this.state = I.NONE;
3617
3617
  }
3618
- this.state !== L.NONE && this.dispatchEvent(ji);
3618
+ this.state !== I.NONE && this.dispatchEvent(ji);
3619
3619
  }
3620
- function ba(a) {
3620
+ function va(a) {
3621
3621
  switch (this.state) {
3622
- case L.ROTATE:
3622
+ case I.ROTATE:
3623
3623
  if (this.enableRotate === !1) return;
3624
3624
  this._handleMouseMoveRotate(a);
3625
3625
  break;
3626
- case L.DOLLY:
3626
+ case I.DOLLY:
3627
3627
  if (this.enableZoom === !1) return;
3628
3628
  this._handleMouseMoveDolly(a);
3629
3629
  break;
3630
- case L.PAN:
3630
+ case I.PAN:
3631
3631
  if (this.enablePan === !1) return;
3632
3632
  this._handleMouseMovePan(a);
3633
3633
  break;
3634
3634
  }
3635
3635
  }
3636
- function va(a) {
3637
- this.enabled === !1 || this.enableZoom === !1 || this.state !== L.NONE || (a.preventDefault(), this.dispatchEvent(ji), this._handleMouseWheel(this._customWheelEvent(a)), this.dispatchEvent(Mr));
3638
- }
3639
3636
  function Ea(a) {
3640
- this.enabled !== !1 && this._handleKeyDown(a);
3637
+ this.enabled === !1 || this.enableZoom === !1 || this.state !== I.NONE || (a.preventDefault(), this.dispatchEvent(ji), this._handleMouseWheel(this._customWheelEvent(a)), this.dispatchEvent(Dr));
3641
3638
  }
3642
3639
  function wa(a) {
3640
+ this.enabled !== !1 && this._handleKeyDown(a);
3641
+ }
3642
+ function Pa(a) {
3643
3643
  switch (this._trackPointer(a), this._pointers.length) {
3644
3644
  case 1:
3645
3645
  switch (this.touches.ONE) {
3646
3646
  case Je.ROTATE:
3647
3647
  if (this.enableRotate === !1) return;
3648
- this._handleTouchStartRotate(a), this.state = L.TOUCH_ROTATE;
3648
+ this._handleTouchStartRotate(a), this.state = I.TOUCH_ROTATE;
3649
3649
  break;
3650
3650
  case Je.PAN:
3651
3651
  if (this.enablePan === !1) return;
3652
- this._handleTouchStartPan(a), this.state = L.TOUCH_PAN;
3652
+ this._handleTouchStartPan(a), this.state = I.TOUCH_PAN;
3653
3653
  break;
3654
3654
  default:
3655
- this.state = L.NONE;
3655
+ this.state = I.NONE;
3656
3656
  }
3657
3657
  break;
3658
3658
  case 2:
3659
3659
  switch (this.touches.TWO) {
3660
3660
  case Je.DOLLY_PAN:
3661
3661
  if (this.enableZoom === !1 && this.enablePan === !1) return;
3662
- this._handleTouchStartDollyPan(a), this.state = L.TOUCH_DOLLY_PAN;
3662
+ this._handleTouchStartDollyPan(a), this.state = I.TOUCH_DOLLY_PAN;
3663
3663
  break;
3664
3664
  case Je.DOLLY_ROTATE:
3665
3665
  if (this.enableZoom === !1 && this.enableRotate === !1) return;
3666
- this._handleTouchStartDollyRotate(a), this.state = L.TOUCH_DOLLY_ROTATE;
3666
+ this._handleTouchStartDollyRotate(a), this.state = I.TOUCH_DOLLY_ROTATE;
3667
3667
  break;
3668
3668
  default:
3669
- this.state = L.NONE;
3669
+ this.state = I.NONE;
3670
3670
  }
3671
3671
  break;
3672
3672
  default:
3673
- this.state = L.NONE;
3673
+ this.state = I.NONE;
3674
3674
  }
3675
- this.state !== L.NONE && this.dispatchEvent(ji);
3675
+ this.state !== I.NONE && this.dispatchEvent(ji);
3676
3676
  }
3677
- function Pa(a) {
3677
+ function Ca(a) {
3678
3678
  switch (this._trackPointer(a), this.state) {
3679
- case L.TOUCH_ROTATE:
3679
+ case I.TOUCH_ROTATE:
3680
3680
  if (this.enableRotate === !1) return;
3681
3681
  this._handleTouchMoveRotate(a), this.update();
3682
3682
  break;
3683
- case L.TOUCH_PAN:
3683
+ case I.TOUCH_PAN:
3684
3684
  if (this.enablePan === !1) return;
3685
3685
  this._handleTouchMovePan(a), this.update();
3686
3686
  break;
3687
- case L.TOUCH_DOLLY_PAN:
3687
+ case I.TOUCH_DOLLY_PAN:
3688
3688
  if (this.enableZoom === !1 && this.enablePan === !1) return;
3689
3689
  this._handleTouchMoveDollyPan(a), this.update();
3690
3690
  break;
3691
- case L.TOUCH_DOLLY_ROTATE:
3691
+ case I.TOUCH_DOLLY_ROTATE:
3692
3692
  if (this.enableZoom === !1 && this.enableRotate === !1) return;
3693
3693
  this._handleTouchMoveDollyRotate(a), this.update();
3694
3694
  break;
3695
3695
  default:
3696
- this.state = L.NONE;
3696
+ this.state = I.NONE;
3697
3697
  }
3698
3698
  }
3699
- function Ca(a) {
3699
+ function Aa(a) {
3700
3700
  this.enabled !== !1 && a.preventDefault();
3701
3701
  }
3702
- function Aa(a) {
3702
+ function Ta(a) {
3703
3703
  a.key === "Control" && (this._controlActive = !0, this.domElement.getRootNode().addEventListener("keyup", this._interceptControlUp, { passive: !0, capture: !0 }));
3704
3704
  }
3705
- function Ta(a) {
3705
+ function Sa(a) {
3706
3706
  a.key === "Control" && (this._controlActive = !1, this.domElement.getRootNode().removeEventListener("keyup", this._interceptControlUp, { passive: !0, capture: !0 }));
3707
3707
  }
3708
- const Dr = [
3708
+ const Rr = [
3709
3709
  // Major economies and populous nations
3710
3710
  { id: "156", code: "CN", name: "China", population: 1412, gdpPerCapita: 21476, co2Emissions: 8, lifeExpectancy: 78.2, humanDevIndex: 0.768, internetUsers: 73, renewableEnergy: 15, urbanPopulation: 64.7, healthExpenditure: 5.4, educationExpenditure: 3.6, forestArea: 23.3, accessElectricity: 100 },
3711
3711
  { id: "356", code: "IN", name: "India", population: 1408, gdpPerCapita: 8379, co2Emissions: 1.9, lifeExpectancy: 70.8, humanDevIndex: 0.633, internetUsers: 47, renewableEnergy: 38, urbanPopulation: 35.9, healthExpenditure: 3, educationExpenditure: 4.5, forestArea: 24.3, accessElectricity: 99.6 },
@@ -3804,7 +3804,7 @@ const Dr = [
3804
3804
  { id: "858", code: "UY", name: "Uruguay", population: 3.5, gdpPerCapita: 25041, co2Emissions: 2, lifeExpectancy: 78.4, humanDevIndex: 0.83, internetUsers: 87, renewableEnergy: 55, urbanPopulation: 95.6, healthExpenditure: 9.3, educationExpenditure: 5, forestArea: 10.5, accessElectricity: 100 },
3805
3805
  { id: "188", code: "CR", name: "Costa Rica", population: 5, gdpPerCapita: 23101, co2Emissions: 1.5, lifeExpectancy: 80.8, humanDevIndex: 0.809, internetUsers: 81, renewableEnergy: 73, urbanPopulation: 81.4, healthExpenditure: 7.3, educationExpenditure: 6.7, forestArea: 59, accessElectricity: 100 },
3806
3806
  { id: "591", code: "PA", name: "Panama", population: 4.4, gdpPerCapita: 35317, co2Emissions: 2.5, lifeExpectancy: 79.2, humanDevIndex: 0.805, internetUsers: 68, renewableEnergy: 35, urbanPopulation: 68.4, healthExpenditure: 7.3, educationExpenditure: 3.2, forestArea: 62.1, accessElectricity: 95 }
3807
- ], Sa = [
3807
+ ], Ma = [
3808
3808
  {
3809
3809
  id: "humanDevIndex",
3810
3810
  name: "Human Development Index",
@@ -3906,11 +3906,11 @@ const Dr = [
3906
3906
  format: (a) => `${a.toFixed(0)}%`
3907
3907
  }
3908
3908
  ];
3909
- function Ma(a, e) {
3909
+ function Da(a, e) {
3910
3910
  const [t, i] = a.domain;
3911
3911
  return Math.max(0, Math.min(1, (e - t) / (i - t)));
3912
3912
  }
3913
- const Da = {
3913
+ const Ra = {
3914
3914
  // North America
3915
3915
  US: "840",
3916
3916
  USA: "840",
@@ -4111,9 +4111,9 @@ const Da = {
4111
4111
  };
4112
4112
  function gn(a) {
4113
4113
  const e = a.toUpperCase().trim();
4114
- return /^\d{1,3}$/.test(a) ? a.padStart(3, "0") : Da[e] || a;
4114
+ return /^\d{1,3}$/.test(a) ? a.padStart(3, "0") : Ra[e] || a;
4115
4115
  }
4116
- function Ra(a) {
4116
+ function La(a) {
4117
4117
  const e = {};
4118
4118
  return a instanceof Map ? a.forEach((t, i) => {
4119
4119
  e[gn(i)] = t;
@@ -4121,7 +4121,7 @@ function Ra(a) {
4121
4121
  e[gn(t)] = i;
4122
4122
  }), e;
4123
4123
  }
4124
- const Lt = 4096, Ot = 2048, Ia = `
4124
+ const It = 4096, Ot = 2048, Ia = `
4125
4125
  importScripts('https://unpkg.com/topojson-client@3.1.0/dist/topojson-client.min.js');
4126
4126
 
4127
4127
  self.onmessage = async (e) => {
@@ -4196,12 +4196,12 @@ class it {
4196
4196
  // Static cache to share loaded topology data across instances
4197
4197
  static cache = /* @__PURE__ */ new Map();
4198
4198
  constructor(e, t, i) {
4199
- this.canvas = document.createElement("canvas"), this.canvas.width = Lt, this.canvas.height = Ot, this.ctx = this.canvas.getContext("2d", { willReadFrequently: !0 }), this.onProgress = t, this.onTextureUpdate = i, this.topologyConfig = {
4199
+ this.canvas = document.createElement("canvas"), this.canvas.width = It, this.canvas.height = Ot, this.ctx = this.canvas.getContext("2d", { willReadFrequently: !0 }), this.onProgress = t, this.onTextureUpdate = i, this.topologyConfig = {
4200
4200
  url: e?.url || "https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json",
4201
4201
  objectName: e?.objectName || "countries",
4202
4202
  disableNormalization: e?.disableNormalization || !1,
4203
4203
  idProperty: e?.idProperty
4204
- }, this.statsMap = /* @__PURE__ */ new Map(), Dr.forEach((n) => {
4204
+ }, this.statsMap = /* @__PURE__ */ new Map(), Rr.forEach((n) => {
4205
4205
  this.statsMap.set(n.id, n);
4206
4206
  }), this.loadCountries();
4207
4207
  }
@@ -4274,7 +4274,7 @@ class it {
4274
4274
  renderTexture(e) {
4275
4275
  this.currentRenderId++;
4276
4276
  const t = this.currentRenderId;
4277
- if (this.ctx.fillStyle = "rgba(10, 20, 30, 0.9)", this.ctx.fillRect(0, 0, Lt, Ot), this.onTextureUpdate?.(), !this.loaded)
4277
+ if (this.ctx.fillStyle = "rgba(10, 20, 30, 0.9)", this.ctx.fillRect(0, 0, It, Ot), this.onTextureUpdate?.(), !this.loaded)
4278
4278
  return this.canvas;
4279
4279
  const i = this.countries.length < 1500;
4280
4280
  this.ctx.lineWidth = 0.5, this.ctx.strokeStyle = "rgba(0, 0, 0, 0.3)";
@@ -4287,7 +4287,7 @@ class it {
4287
4287
  const c = this.countries[h], u = this.statsMap.get(c.id);
4288
4288
  let f = "#2a2a2a";
4289
4289
  if (u) {
4290
- const g = e.accessor(u), p = Ma(e, g);
4290
+ const g = e.accessor(u), p = Da(e, g);
4291
4291
  f = this.interpolateColor(e.colorScale, p);
4292
4292
  }
4293
4293
  this.drawFeature(c, f, i);
@@ -4326,7 +4326,7 @@ class it {
4326
4326
  });
4327
4327
  }
4328
4328
  projectPoint(e, t) {
4329
- const i = (e + 180) / 360 * Lt, n = (90 - t) / 180 * Ot;
4329
+ const i = (e + 180) / 360 * It, n = (90 - t) / 180 * Ot;
4330
4330
  return [i, n];
4331
4331
  }
4332
4332
  interpolateColor(e, t) {
@@ -4351,9 +4351,9 @@ class it {
4351
4351
  renderCustomTexture(e, t, i) {
4352
4352
  this.currentRenderId++;
4353
4353
  const n = this.currentRenderId;
4354
- if (this.ctx.fillStyle = "rgba(10, 20, 30, 0.9)", this.ctx.fillRect(0, 0, Lt, Ot), this.onTextureUpdate?.(), !this.loaded)
4354
+ if (this.ctx.fillStyle = "rgba(10, 20, 30, 0.9)", this.ctx.fillRect(0, 0, It, Ot), this.onTextureUpdate?.(), !this.loaded)
4355
4355
  return this.canvas;
4356
- const r = this.topologyConfig?.disableNormalization ? e instanceof Map ? Object.fromEntries(e) : e : Ra(e), s = this.countries.length < 1500;
4356
+ const r = this.topologyConfig?.disableNormalization ? e instanceof Map ? Object.fromEntries(e) : e : La(e), s = this.countries.length < 1500;
4357
4357
  this.ctx.lineWidth = 0.5, this.ctx.strokeStyle = "rgba(0, 0, 0, 0.3)";
4358
4358
  const o = 500, l = this.countries.length;
4359
4359
  let h = 0;
@@ -4393,8 +4393,8 @@ class it {
4393
4393
  let e = 1 / 0, t = -1 / 0, i = 1 / 0, n = -1 / 0, r = 0, s = 1 / 0, o = -1 / 0, l = 1 / 0, h = -1 / 0, c = 0;
4394
4394
  const u = (_) => {
4395
4395
  if (typeof _[0] == "number") {
4396
- const y = _[0], x = _[1];
4397
- y < 0 ? (y < e && (e = y), y > t && (t = y), x < i && (i = x), x > n && (n = x), r++) : (y < s && (s = y), y > o && (o = y), x < l && (l = x), x > h && (h = x), c++);
4396
+ const y = _[0], b = _[1];
4397
+ y < 0 ? (y < e && (e = y), y > t && (t = y), b < i && (i = b), b > n && (n = b), r++) : (y < s && (s = y), y > o && (o = y), b < l && (l = b), b > h && (h = b), c++);
4398
4398
  } else
4399
4399
  _.forEach(u);
4400
4400
  };
@@ -4414,7 +4414,7 @@ class it {
4414
4414
  return [f, d, g, m];
4415
4415
  }
4416
4416
  }
4417
- class La extends $r {
4417
+ class _n extends Gr {
4418
4418
  /**
4419
4419
  * Constructs a new CSS2D object.
4420
4420
  *
@@ -4431,7 +4431,7 @@ class La extends $r {
4431
4431
  return super.copy(e, t), this.element = e.element.cloneNode(!0), this.center = e.center, this;
4432
4432
  }
4433
4433
  }
4434
- const Qe = new oe(), _n = new Mn(), yn = new Mn(), xn = new oe(), bn = new oe();
4434
+ const Qe = new oe(), yn = new Dn(), bn = new Dn(), xn = new oe(), vn = new oe();
4435
4435
  class Oa {
4436
4436
  /**
4437
4437
  * Constructs a new CSS2D renderer.
@@ -4450,7 +4450,7 @@ class Oa {
4450
4450
  height: n
4451
4451
  };
4452
4452
  }, this.render = function(p, d) {
4453
- p.matrixWorldAutoUpdate === !0 && p.updateMatrixWorld(), d.parent === null && d.matrixWorldAutoUpdate === !0 && d.updateMatrixWorld(), _n.copy(d.matrixWorldInverse), yn.multiplyMatrices(d.projectionMatrix, _n), c(p, p, d), this.sortObjects && g(p);
4453
+ p.matrixWorldAutoUpdate === !0 && p.updateMatrixWorld(), d.parent === null && d.matrixWorldAutoUpdate === !0 && d.updateMatrixWorld(), yn.copy(d.matrixWorldInverse), bn.multiplyMatrices(d.projectionMatrix, yn), c(p, p, d), this.sortObjects && g(p);
4454
4454
  }, this.setSize = function(p, d) {
4455
4455
  i = p, n = d, r = i / 2, s = n / 2, l.style.width = p + "px", l.style.height = d + "px";
4456
4456
  };
@@ -4465,19 +4465,19 @@ class Oa {
4465
4465
  return;
4466
4466
  }
4467
4467
  if (p.isCSS2DObject) {
4468
- Qe.setFromMatrixPosition(p.matrixWorld), Qe.applyMatrix4(yn);
4468
+ Qe.setFromMatrixPosition(p.matrixWorld), Qe.applyMatrix4(bn);
4469
4469
  const _ = Qe.z >= -1 && Qe.z <= 1 && p.layers.test(m.layers) === !0, y = p.element;
4470
4470
  y.style.display = _ === !0 ? "" : "none", _ === !0 && (p.onBeforeRender(t, d, m), y.style.transform = "translate(" + -100 * p.center.x + "%," + -100 * p.center.y + "%)translate(" + (Qe.x * r + r) + "px," + (-Qe.y * s + s) + "px)", y.parentNode !== l && l.appendChild(y), p.onAfterRender(t, d, m));
4471
- const x = {
4471
+ const b = {
4472
4472
  distanceToCameraSquared: u(m, p)
4473
4473
  };
4474
- o.objects.set(p, x);
4474
+ o.objects.set(p, b);
4475
4475
  }
4476
4476
  for (let _ = 0, y = p.children.length; _ < y; _++)
4477
4477
  c(p.children[_], d, m);
4478
4478
  }
4479
4479
  function u(p, d) {
4480
- return xn.setFromMatrixPosition(p.matrixWorld), bn.setFromMatrixPosition(d.matrixWorld), xn.distanceToSquared(bn);
4480
+ return xn.setFromMatrixPosition(p.matrixWorld), vn.setFromMatrixPosition(d.matrixWorld), xn.distanceToSquared(vn);
4481
4481
  }
4482
4482
  function f(p) {
4483
4483
  const d = [];
@@ -4489,8 +4489,8 @@ class Oa {
4489
4489
  const d = f(p).sort(function(_, y) {
4490
4490
  if (_.renderOrder !== y.renderOrder)
4491
4491
  return y.renderOrder - _.renderOrder;
4492
- const x = o.objects.get(_).distanceToCameraSquared, b = o.objects.get(y).distanceToCameraSquared;
4493
- return x - b;
4492
+ const b = o.objects.get(_).distanceToCameraSquared, x = o.objects.get(y).distanceToCameraSquared;
4493
+ return b - x;
4494
4494
  }), m = d.length;
4495
4495
  for (let _ = 0, y = d.length; _ < y; _++)
4496
4496
  d[_].element.style.zIndex = m - _;
@@ -4808,12 +4808,12 @@ class $a {
4808
4808
  return za.has(e) ? "large" : Na.has(e) ? "medium" : Ba.has(e) ? "small" : "tiny";
4809
4809
  }
4810
4810
  createLabels() {
4811
- Dr.forEach((e) => {
4811
+ Rr.forEach((e) => {
4812
4812
  const t = ka[e.code];
4813
4813
  if (!t) return;
4814
4814
  const [i, n] = t, r = this.getSizeCategory(e.code), s = document.createElement("div");
4815
4815
  s.className = `country-label hidden size-${r}`, s.textContent = e.name;
4816
- const o = new La(s), l = {
4816
+ const o = new _n(s), l = {
4817
4817
  element: s,
4818
4818
  object: o,
4819
4819
  country: e,
@@ -4824,18 +4824,53 @@ class $a {
4824
4824
  this.labelGroup.add(o), this.labels.push(l), this.updateLabelPosition(o, l, this.currentMorph);
4825
4825
  });
4826
4826
  }
4827
+ /**
4828
+ * Add custom labels (for cities, states, or any geographic points)
4829
+ * These are added to the existing country labels
4830
+ */
4831
+ addCustomLabels(e) {
4832
+ e.forEach((t) => {
4833
+ const i = t.size || "small", n = document.createElement("div");
4834
+ n.className = `country-label hidden size-${i} custom-label`, n.textContent = t.name;
4835
+ const r = new _n(n), s = {
4836
+ id: t.id,
4837
+ code: t.id,
4838
+ name: t.name
4839
+ }, o = {
4840
+ element: n,
4841
+ object: r,
4842
+ country: s,
4843
+ lat: t.lat,
4844
+ lon: t.lon,
4845
+ sizeCategory: i
4846
+ };
4847
+ this.labelGroup.add(r), this.labels.push(o), this.dataIds.add(t.id), this.updateLabelPosition(r, o, this.currentMorph);
4848
+ }), this.setStyle(this.currentStyle);
4849
+ }
4850
+ /**
4851
+ * Clear all custom labels (keeps country labels)
4852
+ */
4853
+ clearCustomLabels() {
4854
+ this.labels.filter(
4855
+ (t) => t.element.classList.contains("custom-label")
4856
+ ).forEach((t) => {
4857
+ this.labelGroup.remove(t.object), t.element.remove(), this.dataIds.delete(t.country.code);
4858
+ }), this.labels = this.labels.filter(
4859
+ (t) => !t.element.classList.contains("custom-label")
4860
+ );
4861
+ }
4827
4862
  localPos = new A.Vector3();
4828
4863
  worldPos = new A.Vector3();
4829
4864
  cameraDirection = new A.Vector3();
4830
4865
  labelNormal = new A.Vector3();
4831
4866
  updateLabelPosition(e, t, i) {
4832
- const { lat: n, lon: r, element: s } = t, o = (r + 180) / 360, l = (n + 90) / 180, h = (o - 0.5) * 2 * Math.PI, c = (l - 0.5) * Math.PI, u = this.sphereRadius + 0.3, f = u * Math.cos(c) * Math.sin(h), g = u * Math.sin(c), p = u * Math.cos(c) * Math.cos(h), d = 2 * Math.PI * this.sphereRadius, m = Math.PI * this.sphereRadius, _ = (o - 0.5) * d, y = (l - 0.5) * m, x = 0.3, b = i * i * (3 - 2 * i);
4867
+ const { lat: n, lon: r, element: s } = t, o = (r + 180) / 360, l = (n + 90) / 180, h = (o - 0.5) * 2 * Math.PI, c = (l - 0.5) * Math.PI, u = this.sphereRadius + 0.3, f = u * Math.cos(c) * Math.sin(h), g = u * Math.sin(c), p = u * Math.cos(c) * Math.cos(h), d = 2 * Math.PI * this.sphereRadius, m = Math.PI * this.sphereRadius, _ = (o - 0.5) * d, y = (l - 0.5) * m, b = 0.3, x = i * i * (3 - 2 * i);
4833
4868
  if (this.localPos.set(
4834
- _ + b * (f - _),
4835
- y + b * (g - y),
4836
- x + b * (p - x)
4869
+ _ + x * (f - _),
4870
+ y + x * (g - y),
4871
+ b + x * (p - b)
4837
4872
  ), this.globe)
4838
- if (this.worldPos.copy(this.localPos), this.worldPos.applyMatrix4(this.globe.matrixWorld), e.position.copy(this.worldPos), this.camera && b > 0.5) {
4873
+ if (this.worldPos.copy(this.localPos), this.worldPos.applyMatrix4(this.globe.matrixWorld), e.position.copy(this.worldPos), this.camera && x > 0.5) {
4839
4874
  this.cameraDirection.copy(this.camera.position).normalize(), this.labelNormal.set(f, g, p).normalize(), this.labelNormal.applyMatrix4(this.globe.matrixWorld).normalize();
4840
4875
  const v = this.labelNormal.dot(this.cameraDirection);
4841
4876
  s.style.opacity = v > 0.15 ? "" : "0";
@@ -4957,7 +4992,7 @@ class $a {
4957
4992
  }
4958
4993
  }
4959
4994
  var Ga = { trailer: 59 };
4960
- function Rr(a = 256) {
4995
+ function Lr(a = 256) {
4961
4996
  let e = 0, t = new Uint8Array(a);
4962
4997
  return { get buffer() {
4963
4998
  return t.buffer;
@@ -4984,11 +5019,11 @@ function Rr(a = 256) {
4984
5019
  t = new Uint8Array(n), e > 0 && t.set(o.subarray(0, e), 0);
4985
5020
  }
4986
5021
  }
4987
- var ai = 12, vn = 5003, Va = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535];
4988
- function ja(a, e, t, i, n = Rr(512), r = new Uint8Array(256), s = new Int32Array(vn), o = new Int32Array(vn)) {
5022
+ var ai = 12, En = 5003, Va = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535];
5023
+ function ja(a, e, t, i, n = Lr(512), r = new Uint8Array(256), s = new Int32Array(En), o = new Int32Array(En)) {
4989
5024
  let l = s.length, h = Math.max(2, i);
4990
5025
  r.fill(0), o.fill(0), s.fill(-1);
4991
- let c = 0, u = 0, f = h + 1, g = f, p = !1, d = g, m = (1 << d) - 1, _ = 1 << f - 1, y = _ + 1, x = _ + 2, b = 0, v = t[0], P = 0;
5026
+ let c = 0, u = 0, f = h + 1, g = f, p = !1, d = g, m = (1 << d) - 1, _ = 1 << f - 1, y = _ + 1, b = _ + 2, x = 0, v = t[0], P = 0;
4992
5027
  for (let w = l; w < 65536; w *= 2) ++P;
4993
5028
  P = 8 - P, n.writeByte(h), C(_);
4994
5029
  let E = t.length;
@@ -5004,14 +5039,14 @@ function ja(a, e, t, i, n = Rr(512), r = new Uint8Array(256), s = new Int32Array
5004
5039
  v = o[T];
5005
5040
  break e;
5006
5041
  }
5007
- C(v), v = S, x < 1 << ai ? (o[T] = x++, s[T] = D) : (s.fill(-1), x = _ + 2, p = !0, C(_));
5042
+ C(v), v = S, b < 1 << ai ? (o[T] = b++, s[T] = D) : (s.fill(-1), b = _ + 2, p = !0, C(_));
5008
5043
  }
5009
5044
  return C(v), C(y), n.writeByte(0), n.bytesView();
5010
5045
  function C(w) {
5011
- for (c &= Va[u], u > 0 ? c |= w << u : c = w, u += d; u >= 8; ) r[b++] = c & 255, b >= 254 && (n.writeByte(b), n.writeBytesView(r, 0, b), b = 0), c >>= 8, u -= 8;
5012
- if ((x > m || p) && (p ? (d = g, m = (1 << d) - 1, p = !1) : (++d, m = d === ai ? 1 << d : (1 << d) - 1)), w == y) {
5013
- for (; u > 0; ) r[b++] = c & 255, b >= 254 && (n.writeByte(b), n.writeBytesView(r, 0, b), b = 0), c >>= 8, u -= 8;
5014
- b > 0 && (n.writeByte(b), n.writeBytesView(r, 0, b), b = 0);
5046
+ for (c &= Va[u], u > 0 ? c |= w << u : c = w, u += d; u >= 8; ) r[x++] = c & 255, x >= 254 && (n.writeByte(x), n.writeBytesView(r, 0, x), x = 0), c >>= 8, u -= 8;
5047
+ if ((b > m || p) && (p ? (d = g, m = (1 << d) - 1, p = !1) : (++d, m = d === ai ? 1 << d : (1 << d) - 1)), w == y) {
5048
+ for (; u > 0; ) r[x++] = c & 255, x >= 254 && (n.writeByte(x), n.writeBytesView(r, 0, x), x = 0), c >>= 8, u -= 8;
5049
+ x > 0 && (n.writeByte(x), n.writeBytesView(r, 0, x), x = 0);
5015
5050
  }
5016
5051
  }
5017
5052
  }
@@ -5019,10 +5054,10 @@ var Ha = ja;
5019
5054
  function Ir(a, e, t) {
5020
5055
  return a << 8 & 63488 | e << 2 & 992 | t >> 3;
5021
5056
  }
5022
- function Lr(a, e, t, i) {
5057
+ function Or(a, e, t, i) {
5023
5058
  return a >> 4 | e & 240 | (t & 240) << 4 | (i & 240) << 8;
5024
5059
  }
5025
- function Or(a, e, t) {
5060
+ function kr(a, e, t) {
5026
5061
  return a >> 4 << 8 | e & 240 | t >> 4;
5027
5062
  }
5028
5063
  function kt(a, e, t) {
@@ -5031,7 +5066,7 @@ function kt(a, e, t) {
5031
5066
  function Nt(a) {
5032
5067
  return a * a;
5033
5068
  }
5034
- function En(a, e, t) {
5069
+ function wn(a, e, t) {
5035
5070
  var i = 0, n = 1e100;
5036
5071
  let r = a[e], s = r.cnt;
5037
5072
  r.ac;
@@ -5051,11 +5086,11 @@ function oi() {
5051
5086
  function Ya(a, e) {
5052
5087
  let t = e === "rgb444" ? 4096 : 65536, i = new Array(t), n = a.length;
5053
5088
  if (e === "rgba4444") for (let r = 0; r < n; ++r) {
5054
- let s = a[r], o = s >> 24 & 255, l = s >> 16 & 255, h = s >> 8 & 255, c = s & 255, u = Lr(c, h, l, o), f = u in i ? i[u] : i[u] = oi();
5089
+ let s = a[r], o = s >> 24 & 255, l = s >> 16 & 255, h = s >> 8 & 255, c = s & 255, u = Or(c, h, l, o), f = u in i ? i[u] : i[u] = oi();
5055
5090
  f.rc += c, f.gc += h, f.bc += l, f.ac += o, f.cnt++;
5056
5091
  }
5057
5092
  else if (e === "rgb444") for (let r = 0; r < n; ++r) {
5058
- let s = a[r], o = s >> 16 & 255, l = s >> 8 & 255, h = s & 255, c = Or(h, l, o), u = c in i ? i[c] : i[c] = oi();
5093
+ let s = a[r], o = s >> 16 & 255, l = s >> 8 & 255, h = s & 255, c = kr(h, l, o), u = c in i ? i[c] : i[c] = oi();
5059
5094
  u.rc += h, u.gc += l, u.bc += o, u.cnt++;
5060
5095
  }
5061
5096
  else for (let r = 0; r < n; ++r) {
@@ -5070,31 +5105,31 @@ function Za(a, e, t = {}) {
5070
5105
  if (!(a instanceof Uint8Array) && !(a instanceof Uint8ClampedArray)) throw new Error("quantize() expected RGBA Uint8Array data");
5071
5106
  let l = new Uint32Array(a.buffer), h = t.useSqrt !== !1, c = i === "rgba4444", u = Ya(l, i), f = u.length, g = f - 1, p = new Uint32Array(f + 1);
5072
5107
  for (var d = 0, m = 0; m < f; ++m) {
5073
- let I = u[m];
5074
- if (I != null) {
5075
- var _ = 1 / I.cnt;
5076
- c && (I.ac *= _), I.rc *= _, I.gc *= _, I.bc *= _, u[d++] = I;
5108
+ let L = u[m];
5109
+ if (L != null) {
5110
+ var _ = 1 / L.cnt;
5111
+ c && (L.ac *= _), L.rc *= _, L.gc *= _, L.bc *= _, u[d++] = L;
5077
5112
  }
5078
5113
  }
5079
5114
  Nt(e) / d < 0.022 && (h = !1);
5080
5115
  for (var m = 0; m < d - 1; ++m) u[m].fw = m + 1, u[m + 1].bk = m, h && (u[m].cnt = Math.sqrt(u[m].cnt));
5081
5116
  h && (u[m].cnt = Math.sqrt(u[m].cnt));
5082
- var y, x, b;
5117
+ var y, b, x;
5083
5118
  for (m = 0; m < d; ++m) {
5084
- En(u, m);
5119
+ wn(u, m);
5085
5120
  var v = u[m].err;
5086
- for (x = ++p[0]; x > 1 && (b = x >> 1, !(u[y = p[b]].err <= v)); x = b) p[x] = y;
5087
- p[x] = m;
5121
+ for (b = ++p[0]; b > 1 && (x = b >> 1, !(u[y = p[x]].err <= v)); b = x) p[b] = y;
5122
+ p[b] = m;
5088
5123
  }
5089
5124
  var P = d - e;
5090
5125
  for (m = 0; m < P; ) {
5091
5126
  for (var E; ; ) {
5092
5127
  var C = p[1];
5093
5128
  if (E = u[C], E.tm >= E.mtm && u[E.nn].mtm <= E.tm) break;
5094
- E.mtm == g ? C = p[1] = p[p[0]--] : (En(u, C), E.tm = m);
5129
+ E.mtm == g ? C = p[1] = p[p[0]--] : (wn(u, C), E.tm = m);
5095
5130
  var v = u[C].err;
5096
- for (x = 1; (b = x + x) <= p[0] && (b < p[0] && u[p[b]].err > u[p[b + 1]].err && b++, !(v <= u[y = p[b]].err)); x = b) p[x] = y;
5097
- p[x] = C;
5131
+ for (b = 1; (x = b + b) <= p[0] && (x < p[0] && u[p[x]].err > u[p[x + 1]].err && x++, !(v <= u[y = p[x]].err)); b = x) p[b] = y;
5132
+ p[b] = C;
5098
5133
  }
5099
5134
  var w = u[E.nn], S = E.cnt, D = w.cnt, _ = 1 / (S + D);
5100
5135
  c && (E.ac = _ * (S * E.ac + D * w.ac)), E.rc = _ * (S * E.rc + D * w.rc), E.gc = _ * (S * E.gc + D * w.gc), E.bc = _ * (S * E.bc + D * w.bc), E.cnt += w.cnt, E.mtm = ++m, u[w.bk].fw = w.fw, u[w.fw].bk = w.bk, w.mtm = g;
@@ -5102,9 +5137,9 @@ function Za(a, e, t = {}) {
5102
5137
  let T = [];
5103
5138
  var R = 0;
5104
5139
  for (m = 0; ; ++R) {
5105
- let I = kt(Math.round(u[m].rc), 0, 255), $ = kt(Math.round(u[m].gc), 0, 255), U = kt(Math.round(u[m].bc), 0, 255), F = 255;
5106
- c && (F = kt(Math.round(u[m].ac), 0, 255), o && (F = F <= (typeof o == "number" ? o : 127) ? 0 : 255), n && F <= s && (I = $ = U = r, F = 0));
5107
- let ee = c ? [I, $, U, F] : [I, $, U];
5140
+ let L = kt(Math.round(u[m].rc), 0, 255), $ = kt(Math.round(u[m].gc), 0, 255), U = kt(Math.round(u[m].bc), 0, 255), F = 255;
5141
+ c && (F = kt(Math.round(u[m].ac), 0, 255), o && (F = F <= (typeof o == "number" ? o : 127) ? 0 : 255), n && F <= s && (L = $ = U = r, F = 0));
5142
+ let ee = c ? [L, $, U, F] : [L, $, U];
5108
5143
  if (Ka(T, ee) || T.push(ee), (m = u[m].fw) == 0) break;
5109
5144
  }
5110
5145
  return T;
@@ -5122,11 +5157,11 @@ function Wa(a, e, t = "rgb565") {
5122
5157
  if (e.length > 256) throw new Error("applyPalette() only works with 256 colors or less");
5123
5158
  let i = new Uint32Array(a.buffer), n = i.length, r = t === "rgb444" ? 4096 : 65536, s = new Uint8Array(n), o = new Array(r);
5124
5159
  if (t === "rgba4444") for (let l = 0; l < n; l++) {
5125
- let h = i[l], c = h >> 24 & 255, u = h >> 16 & 255, f = h >> 8 & 255, g = h & 255, p = Lr(g, f, u, c), d = p in o ? o[p] : o[p] = Xa(g, f, u, c, e);
5160
+ let h = i[l], c = h >> 24 & 255, u = h >> 16 & 255, f = h >> 8 & 255, g = h & 255, p = Or(g, f, u, c), d = p in o ? o[p] : o[p] = Xa(g, f, u, c, e);
5126
5161
  s[l] = d;
5127
5162
  }
5128
5163
  else {
5129
- let l = t === "rgb444" ? Or : Ir;
5164
+ let l = t === "rgb444" ? kr : Ir;
5130
5165
  for (let h = 0; h < n; h++) {
5131
5166
  let c = i[h], u = c >> 16 & 255, f = c >> 8 & 255, g = c & 255, p = l(g, f, u), d = p in o ? o[p] : o[p] = qa(g, f, u, e);
5132
5167
  s[h] = d;
@@ -5164,7 +5199,7 @@ function je(a) {
5164
5199
  return a * a;
5165
5200
  }
5166
5201
  function Qa(a = {}) {
5167
- let { initialCapacity: e = 4096, auto: t = !0 } = a, i = Rr(e), n = 5003, r = new Uint8Array(256), s = new Int32Array(n), o = new Int32Array(n), l = !1;
5202
+ let { initialCapacity: e = 4096, auto: t = !0 } = a, i = Lr(e), n = 5003, r = new Uint8Array(256), s = new Int32Array(n), o = new Int32Array(n), l = !1;
5168
5203
  return { reset() {
5169
5204
  i.reset(), l = !1;
5170
5205
  }, finish() {
@@ -5178,33 +5213,33 @@ function Qa(a = {}) {
5178
5213
  }, get stream() {
5179
5214
  return i;
5180
5215
  }, writeHeader: h, writeFrame(c, u, f, g = {}) {
5181
- let { transparent: p = !1, transparentIndex: d = 0, delay: m = 0, palette: _ = null, repeat: y = 0, colorDepth: x = 8, dispose: b = -1 } = g, v = !1;
5216
+ let { transparent: p = !1, transparentIndex: d = 0, delay: m = 0, palette: _ = null, repeat: y = 0, colorDepth: b = 8, dispose: x = -1 } = g, v = !1;
5182
5217
  if (t ? l || (v = !0, h(), l = !0) : v = !!g.first, u = Math.max(0, Math.floor(u)), f = Math.max(0, Math.floor(f)), v) {
5183
5218
  if (!_) throw new Error("First frame must include a { palette } option");
5184
- eo(i, u, f, _, x), wn(i, _), y >= 0 && to(i, y);
5219
+ eo(i, u, f, _, b), Pn(i, _), y >= 0 && to(i, y);
5185
5220
  }
5186
5221
  let P = Math.round(m / 10);
5187
- Ja(i, b, P, p, d);
5222
+ Ja(i, x, P, p, d);
5188
5223
  let E = !!_ && !v;
5189
- io(i, u, f, E ? _ : null), E && wn(i, _), no(i, c, u, f, x, r, s, o);
5224
+ io(i, u, f, E ? _ : null), E && Pn(i, _), no(i, c, u, f, b, r, s, o);
5190
5225
  } };
5191
5226
  function h() {
5192
- kr(i, "GIF89a");
5227
+ Fr(i, "GIF89a");
5193
5228
  }
5194
5229
  }
5195
5230
  function Ja(a, e, t, i, n) {
5196
5231
  a.writeByte(33), a.writeByte(249), a.writeByte(4), n < 0 && (n = 0, i = !1);
5197
5232
  var r, s;
5198
- i ? (r = 1, s = 2) : (r = 0, s = 0), e >= 0 && (s = e & 7), s <<= 2, a.writeByte(0 | s | 0 | r), Ie(a, t), a.writeByte(n || 0), a.writeByte(0);
5233
+ i ? (r = 1, s = 2) : (r = 0, s = 0), e >= 0 && (s = e & 7), s <<= 2, a.writeByte(0 | s | 0 | r), Le(a, t), a.writeByte(n || 0), a.writeByte(0);
5199
5234
  }
5200
5235
  function eo(a, e, t, i, n = 8) {
5201
5236
  let r = 1, s = 0, o = Hi(i.length) - 1, l = r << 7 | n - 1 << 4 | s << 3 | o;
5202
- Ie(a, e), Ie(a, t), a.writeBytes([l, 0, 0]);
5237
+ Le(a, e), Le(a, t), a.writeBytes([l, 0, 0]);
5203
5238
  }
5204
5239
  function to(a, e) {
5205
- a.writeByte(33), a.writeByte(255), a.writeByte(11), kr(a, "NETSCAPE2.0"), a.writeByte(3), a.writeByte(1), Ie(a, e), a.writeByte(0);
5240
+ a.writeByte(33), a.writeByte(255), a.writeByte(11), Fr(a, "NETSCAPE2.0"), a.writeByte(3), a.writeByte(1), Le(a, e), a.writeByte(0);
5206
5241
  }
5207
- function wn(a, e) {
5242
+ function Pn(a, e) {
5208
5243
  let t = 1 << Hi(e.length);
5209
5244
  for (let i = 0; i < t; i++) {
5210
5245
  let n = [0, 0, 0];
@@ -5212,7 +5247,7 @@ function wn(a, e) {
5212
5247
  }
5213
5248
  }
5214
5249
  function io(a, e, t, i) {
5215
- if (a.writeByte(44), Ie(a, 0), Ie(a, 0), Ie(a, e), Ie(a, t), i) {
5250
+ if (a.writeByte(44), Le(a, 0), Le(a, 0), Le(a, e), Le(a, t), i) {
5216
5251
  let n = 0, r = 0, s = Hi(i.length) - 1;
5217
5252
  a.writeByte(128 | n | r | 0 | s);
5218
5253
  } else a.writeByte(0);
@@ -5220,10 +5255,10 @@ function io(a, e, t, i) {
5220
5255
  function no(a, e, t, i, n = 8, r, s, o) {
5221
5256
  Ha(t, i, e, n, a, r, s, o);
5222
5257
  }
5223
- function Ie(a, e) {
5258
+ function Le(a, e) {
5224
5259
  a.writeByte(e & 255), a.writeByte(e >> 8 & 255);
5225
5260
  }
5226
- function kr(a, e) {
5261
+ function Fr(a, e) {
5227
5262
  for (var t = 0; t < e.length; t++) a.writeByte(e.charCodeAt(t));
5228
5263
  }
5229
5264
  function Hi(a) {
@@ -5291,21 +5326,21 @@ class ro {
5291
5326
  if (!r || !s) return;
5292
5327
  const c = 280, u = 100, f = 20, g = t - c - f, p = i - u - f, d = 12;
5293
5328
  e.fillStyle = "rgba(0, 10, 20, 0.9)", e.strokeStyle = "rgba(100, 170, 255, 0.5)", e.lineWidth = 2, e.beginPath(), e.roundRect ? e.roundRect(g, p, c, u, d) : e.rect(g, p, c, u), e.fill(), e.stroke(), e.fillStyle = "#44aaff", e.font = "bold 18px Arial, sans-serif", e.fillText(r.textContent || "", g + 16, p + 28);
5294
- const m = g + 16, _ = p + 40, y = c - 32, x = 20, b = s.style.background || "";
5329
+ const m = g + 16, _ = p + 40, y = c - 32, b = 20, x = s.style.background || "";
5295
5330
  let v = [];
5296
- const P = b.match(/rgba?\([^)]+\)/g);
5331
+ const P = x.match(/rgba?\([^)]+\)/g);
5297
5332
  if (P && P.length >= 2)
5298
5333
  v = P;
5299
5334
  else {
5300
- const E = b.match(/#[0-9a-fA-F]{3,8}/g);
5335
+ const E = x.match(/#[0-9a-fA-F]{3,8}/g);
5301
5336
  E && E.length >= 2 && (v = E);
5302
5337
  }
5303
5338
  if (v.length >= 2) {
5304
5339
  const E = e.createLinearGradient(m, 0, m + y, 0);
5305
- E.addColorStop(0, v[0]), v.length >= 3 ? (E.addColorStop(0.5, v[1]), E.addColorStop(1, v[2])) : E.addColorStop(1, v[1]), e.fillStyle = E, e.beginPath(), e.roundRect ? e.roundRect(m, _, y, x, 4) : e.rect(m, _, y, x), e.fill();
5340
+ E.addColorStop(0, v[0]), v.length >= 3 ? (E.addColorStop(0.5, v[1]), E.addColorStop(1, v[2])) : E.addColorStop(1, v[1]), e.fillStyle = E, e.beginPath(), e.roundRect ? e.roundRect(m, _, y, b, 4) : e.rect(m, _, y, b), e.fill();
5306
5341
  } else {
5307
5342
  const E = e.createLinearGradient(m, 0, m + y, 0);
5308
- E.addColorStop(0, "#cc6600"), E.addColorStop(0.5, "#ffaa44"), E.addColorStop(1, "#ffeecc"), e.fillStyle = E, e.beginPath(), e.roundRect ? e.roundRect(m, _, y, x, 4) : e.rect(m, _, y, x), e.fill(), console.log("Legend gradient style:", b);
5343
+ E.addColorStop(0, "#cc6600"), E.addColorStop(0.5, "#ffaa44"), E.addColorStop(1, "#ffeecc"), e.fillStyle = E, e.beginPath(), e.roundRect ? e.roundRect(m, _, y, b, 4) : e.rect(m, _, y, b), e.fill(), console.log("Legend gradient style:", x);
5309
5344
  }
5310
5345
  if (e.fillStyle = "#cccccc", e.font = "14px Arial, sans-serif", o && e.fillText(o.textContent || "", m, p + 78), l) {
5311
5346
  const E = l.textContent || "", C = e.measureText(E).width;
@@ -5464,7 +5499,7 @@ class ro {
5464
5499
  i.href = e, i.download = t, i.style.display = "none", document.body.appendChild(i), i.click(), document.body.removeChild(i);
5465
5500
  }
5466
5501
  }
5467
- const Pn = {
5502
+ const Cn = {
5468
5503
  "%": (a) => `${a.toFixed(1)}%`,
5469
5504
  $: (a) => `$${a.toLocaleString()}`,
5470
5505
  years: (a) => `${a.toFixed(1)} yrs`,
@@ -5473,19 +5508,19 @@ const Pn = {
5473
5508
  index: (a) => a.toFixed(3),
5474
5509
  "": (a) => a.toFixed(3)
5475
5510
  }, so = ["per capita", "per 100", "per 1000"];
5476
- function Fr(a) {
5477
- return Pn[a] ? Pn[a] : so.some((e) => a.includes(e)) ? (e) => `${e.toFixed(1)}` : (e) => {
5511
+ function Ur(a) {
5512
+ return Cn[a] ? Cn[a] : so.some((e) => a.includes(e)) ? (e) => `${e.toFixed(1)}` : (e) => {
5478
5513
  const t = Number.isInteger(e) ? e.toLocaleString() : e.toFixed(1);
5479
5514
  return a ? `${t} ${a}` : t;
5480
5515
  };
5481
5516
  }
5482
5517
  function Eo(a, e, t) {
5483
- return (t ?? Fr(e))(a);
5518
+ return (t ?? Ur(e))(a);
5484
5519
  }
5485
- let Cn = !1;
5520
+ let An = !1;
5486
5521
  function ao() {
5487
- if (Cn) return;
5488
- Cn = !0;
5522
+ if (An) return;
5523
+ An = !0;
5489
5524
  const a = document.createElement("style");
5490
5525
  a.setAttribute("data-gralobe-legend", "true"), a.textContent = `
5491
5526
  .gralobe-legend {
@@ -5651,7 +5686,7 @@ class oo {
5651
5686
  t.textContent = e.name, s.textContent = e.description;
5652
5687
  const [o, l, h] = e.colorScale;
5653
5688
  i.style.background = `linear-gradient(to right, ${o}, ${l}, ${h})`;
5654
- const c = e.format ?? Fr(e.unit);
5689
+ const c = e.format ?? Ur(e.unit);
5655
5690
  n.textContent = c(e.domain[0]), r.textContent = c(e.domain[1]), this.element.classList.add("visible"), this.visible = !0;
5656
5691
  }
5657
5692
  hide() {
@@ -6206,9 +6241,9 @@ void main() {
6206
6241
 
6207
6242
  gl_FragColor = vec4(1.0, 1.0, 1.0, alpha * vOpacity * 0.9 * uOpacity);
6208
6243
  }
6209
- `, An = Math.PI / 180;
6244
+ `, Tn = Math.PI / 180;
6210
6245
  function mo(a, e, t = Q) {
6211
- const i = (90 - a) * An, n = (e + 180) * An;
6246
+ const i = (90 - a) * Tn, n = (e + 180) * Tn;
6212
6247
  return new A.Vector3(
6213
6248
  -t * Math.sin(i) * Math.cos(n),
6214
6249
  t * Math.cos(i),
@@ -6511,8 +6546,8 @@ const Pi = {
6511
6546
  }
6512
6547
  };
6513
6548
  Pi.lifeExpectancy;
6514
- const xo = "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_10m_urban_areas.geojson";
6515
- class bo {
6549
+ const bo = "https://raw.githubusercontent.com/nvkelso/natural-earth-vector/master/geojson/ne_10m_urban_areas.geojson";
6550
+ class xo {
6516
6551
  static urbanFeatures = null;
6517
6552
  static isLoading = !1;
6518
6553
  static loadPromise = null;
@@ -6522,7 +6557,7 @@ class bo {
6522
6557
  static async loadBaseTopology() {
6523
6558
  return this.urbanFeatures ? this.urbanFeatures : this.loadPromise ? this.loadPromise : (this.isLoading = !0, this.loadPromise = (async () => {
6524
6559
  try {
6525
- const e = await fetch(xo);
6560
+ const e = await fetch(bo);
6526
6561
  if (!e.ok) throw new Error("Failed to load urban areas");
6527
6562
  const t = await e.json();
6528
6563
  return this.urbanFeatures = t.features, this.urbanFeatures || [];
@@ -6607,14 +6642,14 @@ class bo {
6607
6642
  return r;
6608
6643
  }
6609
6644
  }
6610
- const Tn = {
6645
+ const Sn = {
6611
6646
  satellite: "https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/textures/planets/earth_atmos_2048.jpg",
6612
6647
  natural: "https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/textures/planets/earth_day_4096.jpg",
6613
6648
  dark: "https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/textures/planets/earth_lights_2048.png",
6614
6649
  light: "https://raw.githubusercontent.com/turban/webgl-earth/master/images/2_no_clouds_4k.jpg",
6615
6650
  night: "https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/textures/planets/earth_lights_2048.png",
6616
6651
  topographic: "https://eoimages.gsfc.nasa.gov/images/imagerecords/74000/74117/world.topo.200407.3x5400x2700.jpg"
6617
- }, Sn = {
6652
+ }, Mn = {
6618
6653
  texture: "satellite",
6619
6654
  labels: "all",
6620
6655
  statistic: "lifeExpectancy",
@@ -6673,9 +6708,9 @@ class wo {
6673
6708
  } else
6674
6709
  this.container = e;
6675
6710
  this.config = {
6676
- ...Sn,
6711
+ ...Mn,
6677
6712
  ...t,
6678
- effects: { ...Sn.effects, ...t.effects }
6713
+ effects: { ...Mn.effects, ...t.effects }
6679
6714
  }, this.ready = new Promise((i) => {
6680
6715
  this.resolveReady = i;
6681
6716
  }), this.init();
@@ -6686,7 +6721,7 @@ class wo {
6686
6721
  0,
6687
6722
  0,
6688
6723
  this.config.initialView === "flat" ? 350 : 150
6689
- ), this.renderer = new A.WebGLRenderer({ antialias: !0 }), this.renderer.setSize(e, t), this.renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2)), this.container.appendChild(this.renderer.domElement), this.controls = new ma(this.camera, this.renderer.domElement), this.controls.enableDamping = !0, this.controls.minDistance = 10, this.controls.maxDistance = 400;
6724
+ ), this.renderer = new A.WebGLRenderer({ antialias: !0 }), this.renderer.setSize(e, t), this.renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2)), this.container.appendChild(this.renderer.domElement), this.controls = new ga(this.camera, this.renderer.domElement), this.controls.enableDamping = !0, this.controls.minDistance = 10, this.controls.maxDistance = 400;
6690
6725
  try {
6691
6726
  this.choropleth = new it(
6692
6727
  this.config.topology,
@@ -6711,7 +6746,7 @@ class wo {
6711
6746
  };
6712
6747
  async createGlobe() {
6713
6748
  const e = await this.textureLoader.loadAsync(
6714
- Tn[this.config.texture]
6749
+ Sn[this.config.texture]
6715
6750
  );
6716
6751
  e.anisotropy = this.renderer.capabilities.getMaxAnisotropy(), e.minFilter = A.LinearMipmapLinearFilter, e.magFilter = A.LinearFilter;
6717
6752
  const t = document.createElement("canvas");
@@ -6899,8 +6934,8 @@ class wo {
6899
6934
  const e = this.choropleth?.getBounds(), t = Math.PI * 2 * Q, i = Math.PI * Q;
6900
6935
  let n = 0, r = 0, s = t, o = i;
6901
6936
  if (e) {
6902
- const [g, p, d, m] = e, _ = g / 180 * (t / 2), y = d / 180 * (t / 2), x = p / 90 * (i / 2), b = m / 90 * (i / 2);
6903
- n = (_ + y) / 2, r = (x + b) / 2, s = (y - _) * 1.2, o = (b - x) * 1.2;
6937
+ const [g, p, d, m] = e, _ = g / 180 * (t / 2), y = d / 180 * (t / 2), b = p / 90 * (i / 2), x = m / 90 * (i / 2);
6938
+ n = (_ + y) / 2, r = (b + x) / 2, s = (y - _) * 1.2, o = (x - b) * 1.2;
6904
6939
  }
6905
6940
  const l = this.camera.fov * Math.PI / 180, h = this.camera.aspect, c = o / 2 / Math.tan(l / 2), u = s / (2 * Math.tan(l / 2) * h), f = Math.max(c, u);
6906
6941
  this.controls.enabled = !1, Z.to(this, {
@@ -7004,7 +7039,7 @@ class wo {
7004
7039
  return;
7005
7040
  }
7006
7041
  this.currentStatistic = e;
7007
- const i = Sa.find((n) => n.id === e);
7042
+ const i = Ma.find((n) => n.id === e);
7008
7043
  if (i && this.choropleth) {
7009
7044
  const n = this.choropleth.renderTexture(i);
7010
7045
  if (this.material && n) {
@@ -7038,8 +7073,20 @@ class wo {
7038
7073
  setLabels(e) {
7039
7074
  this.countryLabels?.setStyle(e);
7040
7075
  }
7076
+ /**
7077
+ * Add custom labels for cities, states, or any geographic points
7078
+ */
7079
+ addCustomLabels(e) {
7080
+ this.countryLabels?.addCustomLabels(e);
7081
+ }
7082
+ /**
7083
+ * Clear all custom labels (keeps country labels)
7084
+ */
7085
+ clearCustomLabels() {
7086
+ this.countryLabels?.clearCustomLabels();
7087
+ }
7041
7088
  async setTexture(e) {
7042
- const t = Tn[e];
7089
+ const t = Sn[e];
7043
7090
  if (!(!t || !this.material))
7044
7091
  try {
7045
7092
  const i = await this.textureLoader.loadAsync(t);
@@ -7074,7 +7121,7 @@ class wo {
7074
7121
  }
7075
7122
  async setUrbanData(e) {
7076
7123
  if (!this.choropleth) return;
7077
- const t = await bo.mapPointsToTopology(e);
7124
+ const t = await xo.mapPointsToTopology(e);
7078
7125
  this.choropleth.setFeatures(t.features);
7079
7126
  const i = [
7080
7127
  "#ffffb2",
@@ -7105,10 +7152,10 @@ class wo {
7105
7152
  export {
7106
7153
  Pi as BUILT_IN_STATISTICS,
7107
7154
  wo as GlobeViz,
7108
- Dr as WORLD_STATISTICS,
7109
- Fr as createFormatter,
7155
+ Rr as WORLD_STATISTICS,
7156
+ Ur as createFormatter,
7110
7157
  Eo as formatValue,
7111
- Ra as normalizeCountryValues,
7158
+ La as normalizeCountryValues,
7112
7159
  gn as toNumericCode
7113
7160
  };
7114
7161
  //# sourceMappingURL=gralobe.js.map