@squeletteapp/widget 0.3.6 → 0.3.8

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.
@@ -5,21 +5,21 @@ var Sr = (e) => {
5
5
  var To = (e, t, n) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
6
  var ut = (e, t, n) => To(e, typeof t != "symbol" ? t + "" : t, n), Tr = (e, t, n) => t.has(e) || Sr("Cannot " + n);
7
7
  var g = (e, t, n) => (Tr(e, t, "read from private field"), n ? n.call(e) : t.get(e)), ee = (e, t, n) => t.has(e) ? Sr("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), L = (e, t, n, r) => (Tr(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
8
- var Qt, E, Mi, Ci, qe, Ar, Vi, Ei, Pi, Hn, _n, vn, gt = {}, $i = [], Ao = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Tt = Array.isArray;
8
+ var en, E, Mi, Ci, qe, Ar, Vi, Ei, Pi, Yn, vn, wn, gt = {}, $i = [], Ao = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, At = Array.isArray;
9
9
  function Se(e, t) {
10
10
  for (var n in t) e[n] = t[n];
11
11
  return e;
12
12
  }
13
- function Yn(e) {
13
+ function Xn(e) {
14
14
  e && e.parentNode && e.parentNode.removeChild(e);
15
15
  }
16
16
  function bt(e, t, n) {
17
17
  var r, i, s, o = {};
18
18
  for (s in t) s == "key" ? r = t[s] : s == "ref" ? i = t[s] : o[s] = t[s];
19
- if (arguments.length > 2 && (o.children = arguments.length > 3 ? Qt.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (s in e.defaultProps) o[s] === void 0 && (o[s] = e.defaultProps[s]);
20
- return It(e, o, r, i, null);
19
+ if (arguments.length > 2 && (o.children = arguments.length > 3 ? en.call(arguments, 2) : n), typeof e == "function" && e.defaultProps != null) for (s in e.defaultProps) o[s] === void 0 && (o[s] = e.defaultProps[s]);
20
+ return Lt(e, o, r, i, null);
21
21
  }
22
- function It(e, t, n, r, i) {
22
+ function Lt(e, t, n, r, i) {
23
23
  var s = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: i == null ? ++Mi : i, __i: -1, __u: 0 };
24
24
  return i == null && E.vnode != null && E.vnode(s), s;
25
25
  }
@@ -45,20 +45,20 @@ function Ri(e) {
45
45
  }
46
46
  }
47
47
  function Mr(e) {
48
- (!e.__d && (e.__d = !0) && qe.push(e) && !zt.__r++ || Ar != E.debounceRendering) && ((Ar = E.debounceRendering) || Vi)(zt);
48
+ (!e.__d && (e.__d = !0) && qe.push(e) && !Bt.__r++ || Ar != E.debounceRendering) && ((Ar = E.debounceRendering) || Vi)(Bt);
49
49
  }
50
- function zt() {
51
- for (var e, t, n, r, i, s, o, a = 1; qe.length; ) qe.length > a && qe.sort(Ei), e = qe.shift(), a = qe.length, e.__d && (n = void 0, r = void 0, i = (r = (t = e).__v).__e, s = [], o = [], t.__P && ((n = Se({}, r)).__v = r.__v + 1, E.vnode && E.vnode(n), Xn(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [i] : null, s, i == null ? Ze(r) : i, !!(32 & r.__u), o), n.__v = r.__v, n.__.__k[n.__i] = n, Ni(s, n, o), r.__e = r.__ = null, n.__e != i && Ri(n)));
52
- zt.__r = 0;
50
+ function Bt() {
51
+ for (var e, t, n, r, i, s, o, a = 1; qe.length; ) qe.length > a && qe.sort(Ei), e = qe.shift(), a = qe.length, e.__d && (n = void 0, r = void 0, i = (r = (t = e).__v).__e, s = [], o = [], t.__P && ((n = Se({}, r)).__v = r.__v + 1, E.vnode && E.vnode(n), Zn(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [i] : null, s, i == null ? Ze(r) : i, !!(32 & r.__u), o), n.__v = r.__v, n.__.__k[n.__i] = n, Ni(s, n, o), r.__e = r.__ = null, n.__e != i && Ri(n)));
52
+ Bt.__r = 0;
53
53
  }
54
54
  function Fi(e, t, n, r, i, s, o, a, l, c, d) {
55
55
  var u, h, p, b, _, v, m, y = r && r.__k || $i, A = t.length;
56
- for (l = Mo(n, t, y, l, A), u = 0; u < A; u++) (p = n.__k[u]) != null && (h = p.__i == -1 ? gt : y[p.__i] || gt, p.__i = u, v = Xn(e, p, h, i, s, o, a, l, c, d), b = p.__e, p.ref && h.ref != p.ref && (h.ref && Zn(h.ref, null, p), d.push(p.ref, p.__c || b, p)), _ == null && b != null && (_ = b), (m = !!(4 & p.__u)) || h.__k === p.__k ? l = qi(p, l, e, m) : typeof p.type == "function" && v !== void 0 ? l = v : b && (l = b.nextSibling), p.__u &= -7);
56
+ for (l = Mo(n, t, y, l, A), u = 0; u < A; u++) (p = n.__k[u]) != null && (h = p.__i == -1 ? gt : y[p.__i] || gt, p.__i = u, v = Zn(e, p, h, i, s, o, a, l, c, d), b = p.__e, p.ref && h.ref != p.ref && (h.ref && Jn(h.ref, null, p), d.push(p.ref, p.__c || b, p)), _ == null && b != null && (_ = b), (m = !!(4 & p.__u)) || h.__k === p.__k ? l = qi(p, l, e, m) : typeof p.type == "function" && v !== void 0 ? l = v : b && (l = b.nextSibling), p.__u &= -7);
57
57
  return n.__e = _, l;
58
58
  }
59
59
  function Mo(e, t, n, r, i) {
60
60
  var s, o, a, l, c, d = n.length, u = d, h = 0;
61
- for (e.__k = new Array(i), s = 0; s < i; s++) (o = t[s]) != null && typeof o != "boolean" && typeof o != "function" ? (l = s + h, (o = e.__k[s] = typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? It(null, o, null, null, null) : Tt(o) ? It(Te, { children: o }, null, null, null) : o.constructor == null && o.__b > 0 ? It(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o).__ = e, o.__b = e.__b + 1, a = null, (c = o.__i = Co(o, n, l, u)) != -1 && (u--, (a = n[c]) && (a.__u |= 2)), a == null || a.__v == null ? (c == -1 && (i > d ? h-- : i < d && h++), typeof o.type != "function" && (o.__u |= 4)) : c != l && (c == l - 1 ? h-- : c == l + 1 ? h++ : (c > l ? h-- : h++, o.__u |= 4))) : e.__k[s] = null;
61
+ for (e.__k = new Array(i), s = 0; s < i; s++) (o = t[s]) != null && typeof o != "boolean" && typeof o != "function" ? (l = s + h, (o = e.__k[s] = typeof o == "string" || typeof o == "number" || typeof o == "bigint" || o.constructor == String ? Lt(null, o, null, null, null) : At(o) ? Lt(Te, { children: o }, null, null, null) : o.constructor == null && o.__b > 0 ? Lt(o.type, o.props, o.key, o.ref ? o.ref : null, o.__v) : o).__ = e, o.__b = e.__b + 1, a = null, (c = o.__i = Co(o, n, l, u)) != -1 && (u--, (a = n[c]) && (a.__u |= 2)), a == null || a.__v == null ? (c == -1 && (i > d ? h-- : i < d && h++), typeof o.type != "function" && (o.__u |= 4)) : c != l && (c == l - 1 ? h-- : c == l + 1 ? h++ : (c > l ? h-- : h++, o.__u |= 4))) : e.__k[s] = null;
62
62
  if (u) for (s = 0; s < d; s++) (a = n[s]) != null && !(2 & a.__u) && (a.__e == r && (r = Ze(a)), Li(a, a));
63
63
  return r;
64
64
  }
@@ -74,9 +74,9 @@ function qi(e, t, n, r) {
74
74
  while (t != null && t.nodeType == 8);
75
75
  return t;
76
76
  }
77
- function Bt(e, t) {
78
- return t = t || [], e == null || typeof e == "boolean" || (Tt(e) ? e.some(function(n) {
79
- Bt(n, t);
77
+ function Wt(e, t) {
78
+ return t = t || [], e == null || typeof e == "boolean" || (At(e) ? e.some(function(n) {
79
+ Wt(n, t);
80
80
  }) : t.push(e)), t;
81
81
  }
82
82
  function Co(e, t, n, r) {
@@ -90,14 +90,14 @@ function Co(e, t, n, r) {
90
90
  function Cr(e, t, n) {
91
91
  t[0] == "-" ? e.setProperty(t, n == null ? "" : n) : e[t] = n == null ? "" : typeof n != "number" || Ao.test(t) ? n : n + "px";
92
92
  }
93
- function Pt(e, t, n, r, i) {
93
+ function $t(e, t, n, r, i) {
94
94
  var s, o;
95
95
  e: if (t == "style") if (typeof n == "string") e.style.cssText = n;
96
96
  else {
97
97
  if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || Cr(e.style, t, "");
98
98
  if (n) for (t in n) r && n[t] == r[t] || Cr(e.style, t, n[t]);
99
99
  }
100
- else if (t[0] == "o" && t[1] == "n") s = t != (t = t.replace(Pi, "$1")), o = t.toLowerCase(), t = o in e || t == "onFocusOut" || t == "onFocusIn" ? o.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + s] = n, n ? r ? n.u = r.u : (n.u = Hn, e.addEventListener(t, s ? vn : _n, s)) : e.removeEventListener(t, s ? vn : _n, s);
100
+ else if (t[0] == "o" && t[1] == "n") s = t != (t = t.replace(Pi, "$1")), o = t.toLowerCase(), t = o in e || t == "onFocusOut" || t == "onFocusIn" ? o.slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + s] = n, n ? r ? n.u = r.u : (n.u = Yn, e.addEventListener(t, s ? wn : vn, s)) : e.removeEventListener(t, s ? wn : vn, s);
101
101
  else {
102
102
  if (i == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
103
103
  else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
@@ -112,13 +112,13 @@ function Vr(e) {
112
112
  return function(t) {
113
113
  if (this.l) {
114
114
  var n = this.l[t.type + e];
115
- if (t.t == null) t.t = Hn++;
115
+ if (t.t == null) t.t = Yn++;
116
116
  else if (t.t < n.u) return;
117
117
  return n(E.event ? E.event(t) : t);
118
118
  }
119
119
  };
120
120
  }
121
- function Xn(e, t, n, r, i, s, o, a, l, c) {
121
+ function Zn(e, t, n, r, i, s, o, a, l, c) {
122
122
  var d, u, h, p, b, _, v, m, y, A, M, x, C, N, f, T, $, P = t.type;
123
123
  if (t.constructor != null) return null;
124
124
  128 & n.__u && (l = !!(32 & n.__u), s = [a = t.__e = n.__e]), (d = E.__b) && d(t);
@@ -142,26 +142,26 @@ function Xn(e, t, n, r, i, s, o, a, l, c) {
142
142
  } else do
143
143
  u.__d = !1, C && C(t), d = u.render(u.props, u.state, u.context), u.state = u.__s;
144
144
  while (u.__d && ++N < 25);
145
- u.state = u.__s, u.getChildContext != null && (r = Se(Se({}, r), u.getChildContext())), y && !h && u.getSnapshotBeforeUpdate != null && (_ = u.getSnapshotBeforeUpdate(p, b)), T = d, d != null && d.type === Te && d.key == null && (T = Ii(d.props.children)), a = Fi(e, Tt(T) ? T : [T], t, n, r, i, s, o, a, l, c), u.base = t.__e, t.__u &= -161, u.__h.length && o.push(u), v && (u.__E = u.__ = null);
145
+ u.state = u.__s, u.getChildContext != null && (r = Se(Se({}, r), u.getChildContext())), y && !h && u.getSnapshotBeforeUpdate != null && (_ = u.getSnapshotBeforeUpdate(p, b)), T = d, d != null && d.type === Te && d.key == null && (T = Ii(d.props.children)), a = Fi(e, At(T) ? T : [T], t, n, r, i, s, o, a, l, c), u.base = t.__e, t.__u &= -161, u.__h.length && o.push(u), v && (u.__E = u.__ = null);
146
146
  } catch (z) {
147
147
  if (t.__v = null, l || s != null) if (z.then) {
148
148
  for (t.__u |= l ? 160 : 128; a && a.nodeType == 8 && a.nextSibling; ) a = a.nextSibling;
149
149
  s[s.indexOf(a)] = null, t.__e = a;
150
150
  } else {
151
- for ($ = s.length; $--; ) Yn(s[$]);
152
- wn(t);
151
+ for ($ = s.length; $--; ) Xn(s[$]);
152
+ xn(t);
153
153
  }
154
- else t.__e = n.__e, t.__k = n.__k, z.then || wn(t);
154
+ else t.__e = n.__e, t.__k = n.__k, z.then || xn(t);
155
155
  E.__e(z, t, n);
156
156
  }
157
157
  else s == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : a = t.__e = Vo(n.__e, t, n, r, i, s, o, l, c);
158
158
  return (d = E.diffed) && d(t), 128 & t.__u ? void 0 : a;
159
159
  }
160
- function wn(e) {
161
- e && e.__c && (e.__c.__e = !0), e && e.__k && e.__k.forEach(wn);
160
+ function xn(e) {
161
+ e && e.__c && (e.__c.__e = !0), e && e.__k && e.__k.forEach(xn);
162
162
  }
163
163
  function Ni(e, t, n) {
164
- for (var r = 0; r < n.length; r++) Zn(n[r], n[++r], n[++r]);
164
+ for (var r = 0; r < n.length; r++) Jn(n[r], n[++r], n[++r]);
165
165
  E.__c && E.__c(t, e), e.some(function(i) {
166
166
  try {
167
167
  e = i.__h, i.__h = [], e.some(function(s) {
@@ -173,7 +173,7 @@ function Ni(e, t, n) {
173
173
  });
174
174
  }
175
175
  function Ii(e) {
176
- return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Tt(e) ? e.map(Ii) : Se({}, e);
176
+ return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : At(e) ? e.map(Ii) : Se({}, e);
177
177
  }
178
178
  function Vo(e, t, n, r, i, s, o, a, l) {
179
179
  var c, d, u, h, p, b, _, v = n.props, m = t.props, y = t.type;
@@ -189,22 +189,22 @@ function Vo(e, t, n, r, i, s, o, a, l) {
189
189
  }
190
190
  if (y == null) v === m || a && e.data == m || (e.data = m);
191
191
  else {
192
- if (s = s && Qt.call(e.childNodes), v = n.props || gt, !a && s != null) for (v = {}, c = 0; c < e.attributes.length; c++) v[(p = e.attributes[c]).name] = p.value;
192
+ if (s = s && en.call(e.childNodes), v = n.props || gt, !a && s != null) for (v = {}, c = 0; c < e.attributes.length; c++) v[(p = e.attributes[c]).name] = p.value;
193
193
  for (c in v) if (p = v[c], c != "children") {
194
194
  if (c == "dangerouslySetInnerHTML") u = p;
195
195
  else if (!(c in m)) {
196
196
  if (c == "value" && "defaultValue" in m || c == "checked" && "defaultChecked" in m) continue;
197
- Pt(e, c, null, p, i);
197
+ $t(e, c, null, p, i);
198
198
  }
199
199
  }
200
- for (c in m) p = m[c], c == "children" ? h = p : c == "dangerouslySetInnerHTML" ? d = p : c == "value" ? b = p : c == "checked" ? _ = p : a && typeof p != "function" || v[c] === p || Pt(e, c, p, v[c], i);
200
+ for (c in m) p = m[c], c == "children" ? h = p : c == "dangerouslySetInnerHTML" ? d = p : c == "value" ? b = p : c == "checked" ? _ = p : a && typeof p != "function" || v[c] === p || $t(e, c, p, v[c], i);
201
201
  if (d) a || u && (d.__html == u.__html || d.__html == e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
202
- else if (u && (e.innerHTML = ""), Fi(t.type == "template" ? e.content : e, Tt(h) ? h : [h], t, n, r, y == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, s, o, s ? s[0] : n.__k && Ze(n, 0), a, l), s != null) for (c = s.length; c--; ) Yn(s[c]);
203
- a || (c = "value", y == "progress" && b == null ? e.removeAttribute("value") : b != null && (b !== e[c] || y == "progress" && !b || y == "option" && b != v[c]) && Pt(e, c, b, v[c], i), c = "checked", _ != null && _ != e[c] && Pt(e, c, _, v[c], i));
202
+ else if (u && (e.innerHTML = ""), Fi(t.type == "template" ? e.content : e, At(h) ? h : [h], t, n, r, y == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, s, o, s ? s[0] : n.__k && Ze(n, 0), a, l), s != null) for (c = s.length; c--; ) Xn(s[c]);
203
+ a || (c = "value", y == "progress" && b == null ? e.removeAttribute("value") : b != null && (b !== e[c] || y == "progress" && !b || y == "option" && b != v[c]) && $t(e, c, b, v[c], i), c = "checked", _ != null && _ != e[c] && $t(e, c, _, v[c], i));
204
204
  }
205
205
  return e;
206
206
  }
207
- function Zn(e, t, n) {
207
+ function Jn(e, t, n) {
208
208
  try {
209
209
  if (typeof e == "function") {
210
210
  var r = typeof e.__u == "function";
@@ -216,7 +216,7 @@ function Zn(e, t, n) {
216
216
  }
217
217
  function Li(e, t, n) {
218
218
  var r, i;
219
- if (E.unmount && E.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || Zn(r, null, t)), (r = e.__c) != null) {
219
+ if (E.unmount && E.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || Jn(r, null, t)), (r = e.__c) != null) {
220
220
  if (r.componentWillUnmount) try {
221
221
  r.componentWillUnmount();
222
222
  } catch (s) {
@@ -225,16 +225,16 @@ function Li(e, t, n) {
225
225
  r.base = r.__P = null;
226
226
  }
227
227
  if (r = e.__k) for (i = 0; i < r.length; i++) r[i] && Li(r[i], t, n || typeof e.type != "function");
228
- n || Yn(e.__e), e.__c = e.__ = e.__e = void 0;
228
+ n || Xn(e.__e), e.__c = e.__ = e.__e = void 0;
229
229
  }
230
230
  function Eo(e, t, n) {
231
231
  return this.constructor(e, n);
232
232
  }
233
233
  function Je(e, t, n) {
234
234
  var r, i, s, o;
235
- t == document && (t = document.documentElement), E.__ && E.__(e, t), i = (r = !1) ? null : t.__k, s = [], o = [], Xn(t, e = t.__k = bt(Te, null, [e]), i || gt, gt, t.namespaceURI, i ? null : t.firstChild ? Qt.call(t.childNodes) : null, s, i ? i.__e : t.firstChild, r, o), Ni(s, e, o);
235
+ t == document && (t = document.documentElement), E.__ && E.__(e, t), i = (r = !1) ? null : t.__k, s = [], o = [], Zn(t, e = t.__k = bt(Te, null, [e]), i || gt, gt, t.namespaceURI, i ? null : t.firstChild ? en.call(t.childNodes) : null, s, i ? i.__e : t.firstChild, r, o), Ni(s, e, o);
236
236
  }
237
- Qt = $i.slice, E = { __e: function(e, t, n, r) {
237
+ en = $i.slice, E = { __e: function(e, t, n, r) {
238
238
  for (var i, s, o; t = t.__; ) if ((i = t.__c) && !i.__) try {
239
239
  if ((s = i.constructor) && s.getDerivedStateFromError != null && (i.setState(s.getDerivedStateFromError(e)), o = i.__d), i.componentDidCatch != null && (i.componentDidCatch(e, r || {}), o = i.__d), o) return i.__E = i;
240
240
  } catch (a) {
@@ -250,7 +250,7 @@ Qt = $i.slice, E = { __e: function(e, t, n, r) {
250
250
  this.__v && (this.__e = !0, e && this.__h.push(e), Mr(this));
251
251
  }, ve.prototype.render = Te, qe = [], Vi = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Ei = function(e, t) {
252
252
  return e.__v.__b - t.__v.__b;
253
- }, zt.__r = 0, Pi = /(PointerCapture)$|Capture$/i, Hn = 0, _n = Vr(!1), vn = Vr(!0);
253
+ }, Bt.__r = 0, Pi = /(PointerCapture)$|Capture$/i, Yn = 0, vn = Vr(!1), wn = Vr(!0);
254
254
  var Po = 0;
255
255
  function F(e, t, n, r, i, s) {
256
256
  t || (t = {});
@@ -286,17 +286,17 @@ const $o = `/*
286
286
  background: rgba(0, 0, 0, 0.3);
287
287
  }
288
288
  `;
289
- var Qe, U, sn, Er, Wt = 0, Oi = [], j = E, Pr = j.__b, $r = j.__r, Rr = j.diffed, Fr = j.__c, qr = j.unmount, Nr = j.__;
290
- function en(e, t) {
291
- j.__h && j.__h(U, e, Wt || t), Wt = 0;
289
+ var Qe, U, on, Er, Ut = 0, Oi = [], j = E, Pr = j.__b, $r = j.__r, Rr = j.diffed, Fr = j.__c, qr = j.unmount, Nr = j.__;
290
+ function tn(e, t) {
291
+ j.__h && j.__h(U, e, Ut || t), Ut = 0;
292
292
  var n = U.__H || (U.__H = { __: [], __h: [] });
293
293
  return e >= n.__.length && n.__.push({}), n.__[e];
294
294
  }
295
- function Ut(e) {
296
- return Wt = 1, Ro(Di, e);
295
+ function jt(e) {
296
+ return Ut = 1, Ro(Di, e);
297
297
  }
298
298
  function Ro(e, t, n) {
299
- var r = en(Qe++, 2);
299
+ var r = tn(Qe++, 2);
300
300
  if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Di(void 0, t), function(a) {
301
301
  var l = r.__N ? r.__N[0] : r.__[0], c = r.t(l, a);
302
302
  l !== c && (r.__N = [c, r.__[1]], r.__c.setState({}));
@@ -330,25 +330,25 @@ function Ro(e, t, n) {
330
330
  return r.__N || r.__;
331
331
  }
332
332
  function $e(e, t) {
333
- var n = en(Qe++, 3);
334
- !j.__s && Qn(n.__H, t) && (n.__ = e, n.u = t, U.__H.__h.push(n));
333
+ var n = tn(Qe++, 3);
334
+ !j.__s && er(n.__H, t) && (n.__ = e, n.u = t, U.__H.__h.push(n));
335
335
  }
336
336
  function Fo(e, t) {
337
- var n = en(Qe++, 4);
338
- !j.__s && Qn(n.__H, t) && (n.__ = e, n.u = t, U.__h.push(n));
337
+ var n = tn(Qe++, 4);
338
+ !j.__s && er(n.__H, t) && (n.__ = e, n.u = t, U.__h.push(n));
339
339
  }
340
340
  function ae(e) {
341
- return Wt = 5, Jn(function() {
341
+ return Ut = 5, Qn(function() {
342
342
  return { current: e };
343
343
  }, []);
344
344
  }
345
- function Jn(e, t) {
346
- var n = en(Qe++, 7);
347
- return Qn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
345
+ function Qn(e, t) {
346
+ var n = tn(Qe++, 7);
347
+ return er(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
348
348
  }
349
349
  function qo() {
350
350
  for (var e; e = Oi.shift(); ) if (e.__P && e.__H) try {
351
- e.__H.__h.forEach(Lt), e.__H.__h.forEach(xn), e.__H.__h = [];
351
+ e.__H.__h.forEach(Ot), e.__H.__h.forEach(kn), e.__H.__h = [];
352
352
  } catch (t) {
353
353
  e.__H.__h = [], j.__e(t, e.__v);
354
354
  }
@@ -360,20 +360,20 @@ j.__b = function(e) {
360
360
  }, j.__r = function(e) {
361
361
  $r && $r(e), Qe = 0;
362
362
  var t = (U = e.__c).__H;
363
- t && (sn === U ? (t.__h = [], U.__h = [], t.__.forEach(function(n) {
363
+ t && (on === U ? (t.__h = [], U.__h = [], t.__.forEach(function(n) {
364
364
  n.__N && (n.__ = n.__N), n.u = n.__N = void 0;
365
- })) : (t.__h.forEach(Lt), t.__h.forEach(xn), t.__h = [], Qe = 0)), sn = U;
365
+ })) : (t.__h.forEach(Ot), t.__h.forEach(kn), t.__h = [], Qe = 0)), on = U;
366
366
  }, j.diffed = function(e) {
367
367
  Rr && Rr(e);
368
368
  var t = e.__c;
369
369
  t && t.__H && (t.__H.__h.length && (Oi.push(t) !== 1 && Er === j.requestAnimationFrame || ((Er = j.requestAnimationFrame) || No)(qo)), t.__H.__.forEach(function(n) {
370
370
  n.u && (n.__H = n.u), n.u = void 0;
371
- })), sn = U = null;
371
+ })), on = U = null;
372
372
  }, j.__c = function(e, t) {
373
373
  t.some(function(n) {
374
374
  try {
375
- n.__h.forEach(Lt), n.__h = n.__h.filter(function(r) {
376
- return !r.__ || xn(r);
375
+ n.__h.forEach(Ot), n.__h = n.__h.filter(function(r) {
376
+ return !r.__ || kn(r);
377
377
  });
378
378
  } catch (r) {
379
379
  t.some(function(i) {
@@ -386,7 +386,7 @@ j.__b = function(e) {
386
386
  var t, n = e.__c;
387
387
  n && n.__H && (n.__H.__.forEach(function(r) {
388
388
  try {
389
- Lt(r);
389
+ Ot(r);
390
390
  } catch (i) {
391
391
  t = i;
392
392
  }
@@ -399,15 +399,15 @@ function No(e) {
399
399
  }, r = setTimeout(n, 35);
400
400
  Ir && (t = requestAnimationFrame(n));
401
401
  }
402
- function Lt(e) {
402
+ function Ot(e) {
403
403
  var t = U, n = e.__c;
404
404
  typeof n == "function" && (e.__c = void 0, n()), U = t;
405
405
  }
406
- function xn(e) {
406
+ function kn(e) {
407
407
  var t = U;
408
408
  e.__c = e.__(), U = t;
409
409
  }
410
- function Qn(e, t) {
410
+ function er(e, t) {
411
411
  return !e || e.length !== t.length || t.some(function(n, r) {
412
412
  return n !== e[r];
413
413
  });
@@ -474,7 +474,7 @@ function Io({
474
474
  )
475
475
  ] });
476
476
  }
477
- const kn = "squelette-widget", on = typeof globalThis != "undefined" ? globalThis : {}, Lo = "https://www.squelette.app", Sn = typeof on.SQUELETTE_WIDGET_BASE_URL == "string" && on.SQUELETTE_WIDGET_BASE_URL.length > 0 ? on.SQUELETTE_WIDGET_BASE_URL : Lo, Oo = "https://cdn.squelette.app/widget.js", Ot = "Feedback";
477
+ const Sn = "squelette-widget", an = typeof globalThis != "undefined" ? globalThis : {}, Lo = "https://www.squelette.app", Tn = typeof an.SQUELETTE_WIDGET_BASE_URL == "string" && an.SQUELETTE_WIDGET_BASE_URL.length > 0 ? an.SQUELETTE_WIDGET_BASE_URL : Lo, Oo = "https://cdn.squelette.app/widget.js", Dt = "Feedback";
478
478
  class Do {
479
479
  constructor() {
480
480
  ut(this, "listeners", /* @__PURE__ */ new Map());
@@ -632,7 +632,7 @@ const zo = `
632
632
  }
633
633
  }
634
634
  `, Lr = /* @__PURE__ */ new Map(), Bo = typeof Document != "undefined" && "adoptedStyleSheets" in Document.prototype;
635
- function tn(e, t) {
635
+ function nn(e, t) {
636
636
  var r;
637
637
  if (!t) return;
638
638
  if (Bo) {
@@ -644,7 +644,7 @@ function tn(e, t) {
644
644
  n.textContent = t, e.appendChild(n);
645
645
  }
646
646
  function Wo(e) {
647
- tn(e, zo);
647
+ nn(e, zo);
648
648
  }
649
649
  function Uo(e, t, n) {
650
650
  n ? e.hasAttribute(t) || e.setAttribute(t, "") : e.hasAttribute(t) && e.removeAttribute(t);
@@ -655,7 +655,7 @@ function Or(e) {
655
655
  function Dr(e) {
656
656
  return e === "light" || e === "dark" ? e : "auto";
657
657
  }
658
- function jt(e) {
658
+ function Gt(e) {
659
659
  return e === "roadmap" || e === "changelog" ? e : "feedback";
660
660
  }
661
661
  function zr(e) {
@@ -687,14 +687,14 @@ function jo(e, t) {
687
687
  return e.dataset.theme = t, () => {
688
688
  };
689
689
  }
690
- const Tn = {
690
+ const An = {
691
691
  feedback: { width: 340, height: 200 },
692
692
  roadmap: { width: 400, height: 420 },
693
693
  changelog: { width: 400, height: 520 }
694
- }, An = { width: 400, height: 540 };
695
- function an(e, t) {
694
+ }, Mn = { width: 400, height: 540 };
695
+ function ln(e, t) {
696
696
  var i;
697
- const { width: n, height: r } = (i = Tn[t]) != null ? i : An;
697
+ const { width: n, height: r } = (i = An[t]) != null ? i : Mn;
698
698
  e.style.setProperty("--sq-panel-width", `${n}px`), e.style.setProperty("--sq-panel-height", `${r}px`);
699
699
  }
700
700
  function Go(e) {
@@ -709,7 +709,7 @@ function Go(e) {
709
709
  };
710
710
  }
711
711
  }
712
- var q, Ee, He, ue, Pe, Le, Ye, kt, oe, pe, me, ie, St, Xe, ke;
712
+ var q, Ee, He, ue, Pe, Le, Ye, St, oe, pe, me, ie, Tt, Xe, ke;
713
713
  class Ko extends HTMLElement {
714
714
  constructor() {
715
715
  super();
@@ -719,8 +719,8 @@ class Ko extends HTMLElement {
719
719
  board: null,
720
720
  theme: "auto",
721
721
  locale: "en",
722
- apiBase: Sn,
723
- label: Ot,
722
+ apiBase: Tn,
723
+ label: Dt,
724
724
  view: "feedback"
725
725
  });
726
726
  // Component state
@@ -730,14 +730,14 @@ class Ko extends HTMLElement {
730
730
  ee(this, Pe);
731
731
  ee(this, Le);
732
732
  ee(this, Ye, null);
733
- ee(this, kt, null);
733
+ ee(this, St, null);
734
734
  // Cleanup handlers
735
735
  ee(this, oe, null);
736
736
  ee(this, pe, null);
737
737
  ee(this, me, null);
738
738
  ee(this, ie, null);
739
739
  // Identity and communication
740
- ee(this, St, null);
740
+ ee(this, Tt, null);
741
741
  ee(this, Xe, new Do());
742
742
  ee(this, ke, null);
743
743
  /**
@@ -749,11 +749,11 @@ class Ko extends HTMLElement {
749
749
  if (!(g(this, Ye) || g(this, He))) {
750
750
  L(this, He, !0), this.render();
751
751
  try {
752
- (n = g(this, kt)) != null || L(this, kt, import("./app-BYXHlSvt.js"));
753
- const s = await g(this, kt), o = (r = s.WidgetFrame) != null ? r : s.default;
752
+ (n = g(this, St)) != null || L(this, St, import("./app-DNApXPZi.js"));
753
+ const s = await g(this, St), o = (r = s.WidgetFrame) != null ? r : s.default;
754
754
  if (!o)
755
755
  throw new Error("[SqueletteWidget] Widget app missing export");
756
- L(this, Ye, o), tn(g(this, Pe), (i = s.stylesText) != null ? i : $o);
756
+ L(this, Ye, o), nn(g(this, Pe), (i = s.stylesText) != null ? i : $o);
757
757
  } catch (s) {
758
758
  console.error("[SqueletteWidget] Failed to load widget app", s);
759
759
  } finally {
@@ -793,9 +793,9 @@ class Ko extends HTMLElement {
793
793
  */
794
794
  connectedCallback() {
795
795
  var r, i, s;
796
- g(this, q).project = this.getAttribute("project"), g(this, q).board = this.getAttribute("board"), g(this, q).theme = Dr(this.getAttribute("theme")), g(this, q).locale = Or(this.getAttribute("locale")), g(this, q).token = (r = this.getAttribute("token")) != null ? r : void 0, g(this, q).signature = (i = this.getAttribute("signature")) != null ? i : void 0, g(this, q).label = (s = this.getAttribute("label")) != null ? s : Ot, g(this, q).view = jt(this.getAttribute("view"));
796
+ g(this, q).project = this.getAttribute("project"), g(this, q).board = this.getAttribute("board"), g(this, q).theme = Dr(this.getAttribute("theme")), g(this, q).locale = Or(this.getAttribute("locale")), g(this, q).token = (r = this.getAttribute("token")) != null ? r : void 0, g(this, q).signature = (i = this.getAttribute("signature")) != null ? i : void 0, g(this, q).label = (s = this.getAttribute("label")) != null ? s : Dt, g(this, q).view = Gt(this.getAttribute("view"));
797
797
  const n = this.getAttribute("api-base");
798
- g(this, q).apiBase = n && n.length > 0 ? n : g(this, q).apiBase, this.applyTheme(g(this, q).theme), an(this, g(this, q).view), this.hasAttribute("open") && this.setOpen(!0, "attribute"), L(this, me, (o) => {
798
+ g(this, q).apiBase = n && n.length > 0 ? n : g(this, q).apiBase, this.applyTheme(g(this, q).theme), ln(this, g(this, q).view), this.hasAttribute("open") && this.setOpen(!0, "attribute"), L(this, me, (o) => {
799
799
  if (!g(this, q).project || !o.data || typeof o.data != "object") return;
800
800
  try {
801
801
  const c = new URL(g(this, q).apiBase).origin;
@@ -809,7 +809,7 @@ class Ko extends HTMLElement {
809
809
  l && g(this, Xe).emit("submit", { source: "app", payload: l });
810
810
  }), window.addEventListener("message", g(this, me)), L(this, pe, (o) => {
811
811
  var l;
812
- L(this, St, (l = o.detail) != null ? l : null), this.postIdentityToFrame();
812
+ L(this, Tt, (l = o.detail) != null ? l : null), this.postIdentityToFrame();
813
813
  }), window.addEventListener(
814
814
  "squelette:identity",
815
815
  g(this, pe)
@@ -855,13 +855,13 @@ class Ko extends HTMLElement {
855
855
  g(this, q).signature = i != null ? i : void 0, L(this, ue, !1);
856
856
  break;
857
857
  case "label":
858
- g(this, q).label = i != null ? i : Ot;
858
+ g(this, q).label = i != null ? i : Dt;
859
859
  break;
860
860
  case "view":
861
- g(this, q).view = jt(i), L(this, ue, !1), an(this, g(this, q).view);
861
+ g(this, q).view = Gt(i), L(this, ue, !1), ln(this, g(this, q).view);
862
862
  break;
863
863
  case "api-base":
864
- g(this, q).apiBase = i && i.length > 0 ? i : Sn, L(this, ue, !1);
864
+ g(this, q).apiBase = i && i.length > 0 ? i : Tn, L(this, ue, !1);
865
865
  break;
866
866
  }
867
867
  n !== "open" && this.render();
@@ -942,7 +942,7 @@ class Ko extends HTMLElement {
942
942
  }
943
943
  if (g(this, Ee) !== n) {
944
944
  if (L(this, Ee, n), Uo(this, "open", n), n)
945
- g(this, ie) || L(this, ie, Go()), an(this, g(this, q).view);
945
+ g(this, ie) || L(this, ie, Go()), ln(this, g(this, q).view);
946
946
  else {
947
947
  g(this, ie) && (g(this, ie).call(this), L(this, ie, null)), L(this, ue, !1);
948
948
  const i = zr(g(this, q));
@@ -969,7 +969,7 @@ class Ko extends HTMLElement {
969
969
  g(this, ke).contentWindow.postMessage(
970
970
  {
971
971
  type: "squelette-identify",
972
- payload: g(this, St)
972
+ payload: g(this, Tt)
973
973
  },
974
974
  n
975
975
  );
@@ -981,11 +981,11 @@ class Ko extends HTMLElement {
981
981
  }
982
982
  }
983
983
  }
984
- q = new WeakMap(), Ee = new WeakMap(), He = new WeakMap(), ue = new WeakMap(), Pe = new WeakMap(), Le = new WeakMap(), Ye = new WeakMap(), kt = new WeakMap(), oe = new WeakMap(), pe = new WeakMap(), me = new WeakMap(), ie = new WeakMap(), St = new WeakMap(), Xe = new WeakMap(), ke = new WeakMap();
984
+ q = new WeakMap(), Ee = new WeakMap(), He = new WeakMap(), ue = new WeakMap(), Pe = new WeakMap(), Le = new WeakMap(), Ye = new WeakMap(), St = new WeakMap(), oe = new WeakMap(), pe = new WeakMap(), me = new WeakMap(), ie = new WeakMap(), Tt = new WeakMap(), Xe = new WeakMap(), ke = new WeakMap();
985
985
  function zi() {
986
- customElements.get(kn) || customElements.define(kn, Ko);
986
+ customElements.get(Sn) || customElements.define(Sn, Ko);
987
987
  }
988
- let Gt = null;
988
+ let Kt = null;
989
989
  function Bi(e) {
990
990
  window.dispatchEvent(
991
991
  new CustomEvent("squelette:identity", { detail: e })
@@ -996,15 +996,15 @@ function Ho(e) {
996
996
  console.error("[SqueletteWidget] Invalid identification payload.", e);
997
997
  return;
998
998
  }
999
- Gt = e, Bi(Gt);
999
+ Kt = e, Bi(Kt);
1000
1000
  }
1001
1001
  function Yo() {
1002
- Gt = null, Bi(null);
1002
+ Kt = null, Bi(null);
1003
1003
  }
1004
1004
  function Wi() {
1005
- return Gt;
1005
+ return Kt;
1006
1006
  }
1007
- function ln(e, t, n) {
1007
+ function cn(e, t, n) {
1008
1008
  const r = Math.max(t, n);
1009
1009
  return Math.min(Math.max(e, t), r);
1010
1010
  }
@@ -1017,7 +1017,7 @@ function Xo(e, t) {
1017
1017
  }, p = () => {
1018
1018
  var fe;
1019
1019
  if (!c || !l) return;
1020
- const f = l.getBoundingClientRect(), T = window.innerWidth, $ = window.innerHeight, P = jt(e.getAttribute("view")), z = (fe = Tn[P]) != null ? fe : An, X = Math.min(z.width, T - s * 2), le = Math.min(
1020
+ const f = l.getBoundingClientRect(), T = window.innerWidth, $ = window.innerHeight, P = Gt(e.getAttribute("view")), z = (fe = An[P]) != null ? fe : Mn, X = Math.min(z.width, T - s * 2), le = Math.min(
1021
1021
  z.height,
1022
1022
  $ - s * 2
1023
1023
  ), ce = Math.max(
@@ -1033,14 +1033,14 @@ function Xo(e, t) {
1033
1033
  const B = f.right + s, Q = f.left - X - s, se = B + X <= T - s, D = Q >= s;
1034
1034
  I && !se && D ? I = !1 : !I && !D && se && (I = !0), I ? (J = B, re = "left") : (J = Q, re = "right");
1035
1035
  const be = f.top + f.height / 2 - le / 2;
1036
- te = ln(be, s, Z);
1036
+ te = cn(be, s, Z);
1037
1037
  } else {
1038
1038
  let I = r === "bottom";
1039
1039
  r !== "top" && r !== "bottom" && (I = w >= G);
1040
1040
  const B = f.bottom + s, Q = f.top - le - s, se = B + le <= $ - s, D = Q >= s;
1041
1041
  I && !se && D ? I = !1 : !I && !D && se && (I = !0), I ? (te = B, re = "top") : (te = Q, re = "bottom"), J = f.left + f.width / 2 - X / 2;
1042
1042
  }
1043
- te = ln(te, s, Z), J = ln(J, s, ce), e.dataset.anchor = "button", e.dataset.anchorOrigin = re, e.style.setProperty("--sq-offset-top", `${Math.round(te)}px`), e.style.setProperty("--sq-offset-left", `${Math.round(J)}px`), e.style.setProperty("--sq-offset-bottom", "auto"), e.style.setProperty("--sq-offset-right", "auto");
1043
+ te = cn(te, s, Z), J = cn(J, s, ce), e.dataset.anchor = "button", e.dataset.anchorOrigin = re, e.style.setProperty("--sq-offset-top", `${Math.round(te)}px`), e.style.setProperty("--sq-offset-left", `${Math.round(J)}px`), e.style.setProperty("--sq-offset-bottom", "auto"), e.style.setProperty("--sq-offset-right", "auto");
1044
1044
  }, b = () => {
1045
1045
  c && requestAnimationFrame(p);
1046
1046
  }, _ = () => {
@@ -1067,7 +1067,7 @@ function Xo(e, t) {
1067
1067
  );
1068
1068
  return;
1069
1069
  }
1070
- const [, T, $] = f, P = 24, z = jt(e.getAttribute("view")), X = (I = Tn[z]) != null ? I : An, le = window.innerWidth, ce = window.innerHeight, Z = Math.min(X.width, le - P * 2), G = Math.min(X.height, ce - P * 2);
1070
+ const [, T, $] = f, P = 24, z = Gt(e.getAttribute("view")), X = (I = An[z]) != null ? I : Mn, le = window.innerWidth, ce = window.innerHeight, Z = Math.min(X.width, le - P * 2), G = Math.min(X.height, ce - P * 2);
1071
1071
  let w = "auto", te = "auto", J = "auto", re = "auto";
1072
1072
  switch (T) {
1073
1073
  case "top":
@@ -1164,15 +1164,15 @@ function Xo(e, t) {
1164
1164
  }
1165
1165
  return n;
1166
1166
  }
1167
- const Ui = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.mx-4{margin-left:1rem;margin-right:1rem}.box-border{box-sizing:border-box}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.size-4{width:1rem;height:1rem}.h-6{height:1.5rem}.h-\\[64px\\]{height:64px}.h-full{height:100%}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-\\[400px\\]{max-width:400px}.max-w-lg{max-width:32rem}.shrink-0{flex-shrink:0}.origin-center{transform-origin:center}.translate-y-0\\.5{--tw-translate-y: .125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.whitespace-nowrap{white-space:nowrap}.rounded-\\[32px\\]{border-radius:32px}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-0{border-width:0px}.border-none{border-style:none}.bg-black\\/40{background-color:#0006}.bg-transparent{background-color:transparent}.p-0{padding:0}.p-1{padding:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.align-baseline{vertical-align:baseline}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.will-change-transform{will-change:transform}:host{display:block;width:100%;contain:content;--squelette-banner-bg: #ffffff;--squelette-banner-border: #e5e7eb;--squelette-banner-text: #111827;--squelette-banner-badge-bg: #7f3cec;--squelette-banner-badge-text: #ffffff;--squelette-banner-button-hover: .7}';
1167
+ const Ui = '*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\\!container{max-width:1536px!important}.container{max-width:1536px}}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:0}.mx-4{margin-left:1rem;margin-right:1rem}.box-border{box-sizing:border-box}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.size-4{width:1rem;height:1rem}.h-6{height:1.5rem}.h-\\[64px\\]{height:64px}.h-full{height:100%}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-\\[400px\\]{max-width:400px}.max-w-lg{max-width:32rem}.shrink-0{flex-shrink:0}.origin-center{transform-origin:center}.translate-y-0\\.5{--tw-translate-y: .125rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.whitespace-nowrap{white-space:nowrap}.rounded-\\[32px\\]{border-radius:32px}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-0{border-width:0px}.border-\\[3px\\]{border-width:3px}.border-none{border-style:none}.border-\\[\\#222222\\]{--tw-border-opacity: 1;border-color:rgb(34 34 34 / var(--tw-border-opacity, 1))}.border-\\[\\#f0f0f0\\]{--tw-border-opacity: 1;border-color:rgb(240 240 240 / var(--tw-border-opacity, 1))}.bg-black\\/30{background-color:#0000004d}.bg-transparent{background-color:transparent}.bg-white\\/30{background-color:#ffffff4d}.p-0{padding:0}.p-1{padding:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.align-baseline{vertical-align:baseline}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-filter{backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.will-change-transform{will-change:transform}:host{display:block;width:100%;contain:content;--squelette-banner-bg: #ffffff;--squelette-banner-border: #e5e7eb;--squelette-banner-text: #111827;--squelette-banner-badge-bg: #7f3cec;--squelette-banner-badge-text: #ffffff;--squelette-banner-button-hover: .7}';
1168
1168
  var Zo = Symbol.for("preact-signals");
1169
- function nn() {
1169
+ function rn() {
1170
1170
  if (Re > 1)
1171
1171
  Re--;
1172
1172
  else {
1173
1173
  for (var e, t = !1; ht !== void 0; ) {
1174
1174
  var n = ht;
1175
- for (ht = void 0, Mn++; n !== void 0; ) {
1175
+ for (ht = void 0, Cn++; n !== void 0; ) {
1176
1176
  var r = n.o;
1177
1177
  if (n.o = void 0, n.f &= -3, !(8 & n.f) && Hi(n)) try {
1178
1178
  n.c();
@@ -1182,7 +1182,7 @@ function nn() {
1182
1182
  n = r;
1183
1183
  }
1184
1184
  }
1185
- if (Mn = 0, Re--, t) throw e;
1185
+ if (Cn = 0, Re--, t) throw e;
1186
1186
  }
1187
1187
  }
1188
1188
  function ji(e) {
@@ -1191,7 +1191,7 @@ function ji(e) {
1191
1191
  try {
1192
1192
  return e();
1193
1193
  } finally {
1194
- nn();
1194
+ rn();
1195
1195
  }
1196
1196
  }
1197
1197
  var O = void 0;
@@ -1204,7 +1204,7 @@ function Gi(e) {
1204
1204
  O = t;
1205
1205
  }
1206
1206
  }
1207
- var ht = void 0, Re = 0, Mn = 0, Kt = 0;
1207
+ var ht = void 0, Re = 0, Cn = 0, Ht = 0;
1208
1208
  function Ki(e) {
1209
1209
  if (O !== void 0) {
1210
1210
  var t = e.n;
@@ -1273,12 +1273,12 @@ Object.defineProperty(Y.prototype, "value", { get: function() {
1273
1273
  return e !== void 0 && (e.i = this.i), this.v;
1274
1274
  }, set: function(e) {
1275
1275
  if (e !== this.v) {
1276
- if (Mn > 100) throw new Error("Cycle detected");
1277
- this.v = e, this.i++, Kt++, Re++;
1276
+ if (Cn > 100) throw new Error("Cycle detected");
1277
+ this.v = e, this.i++, Ht++, Re++;
1278
1278
  try {
1279
1279
  for (var t = this.t; t !== void 0; t = t.x) t.t.N();
1280
1280
  } finally {
1281
- nn();
1281
+ rn();
1282
1282
  }
1283
1283
  }
1284
1284
  } });
@@ -1306,13 +1306,13 @@ function Xi(e) {
1306
1306
  e.s = n;
1307
1307
  }
1308
1308
  function We(e, t) {
1309
- Y.call(this, void 0), this.x = e, this.s = void 0, this.g = Kt - 1, this.f = 4, this.W = t == null ? void 0 : t.watched, this.Z = t == null ? void 0 : t.unwatched, this.name = t == null ? void 0 : t.name;
1309
+ Y.call(this, void 0), this.x = e, this.s = void 0, this.g = Ht - 1, this.f = 4, this.W = t == null ? void 0 : t.watched, this.Z = t == null ? void 0 : t.unwatched, this.name = t == null ? void 0 : t.name;
1310
1310
  }
1311
1311
  We.prototype = new Y();
1312
1312
  We.prototype.h = function() {
1313
1313
  if (this.f &= -3, 1 & this.f) return !1;
1314
- if ((36 & this.f) == 32 || (this.f &= -5, this.g === Kt)) return !0;
1315
- if (this.g = Kt, this.f |= 1, this.i > 0 && !Hi(this))
1314
+ if ((36 & this.f) == 32 || (this.f &= -5, this.g === Ht)) return !0;
1315
+ if (this.g = Ht, this.f |= 1, this.i > 0 && !Hi(this))
1316
1316
  return this.f &= -2, !0;
1317
1317
  var e = O;
1318
1318
  try {
@@ -1361,19 +1361,19 @@ function Zi(e) {
1361
1361
  try {
1362
1362
  t();
1363
1363
  } catch (r) {
1364
- throw e.f &= -2, e.f |= 8, er(e), r;
1364
+ throw e.f &= -2, e.f |= 8, tr(e), r;
1365
1365
  } finally {
1366
- O = n, nn();
1366
+ O = n, rn();
1367
1367
  }
1368
1368
  }
1369
1369
  }
1370
- function er(e) {
1370
+ function tr(e) {
1371
1371
  for (var t = e.s; t !== void 0; t = t.n) t.S.U(t);
1372
1372
  e.x = void 0, e.s = void 0, Zi(e);
1373
1373
  }
1374
1374
  function Jo(e) {
1375
1375
  if (O !== this) throw new Error("Out-of-order effect");
1376
- Xi(this), O = e, this.f &= -2, 8 & this.f && er(this), nn();
1376
+ Xi(this), O = e, this.f &= -2, 8 & this.f && tr(this), rn();
1377
1377
  }
1378
1378
  function et(e, t) {
1379
1379
  this.x = e, this.u = void 0, this.s = void 0, this.o = void 0, this.f = 32, this.name = t == null ? void 0 : t.name;
@@ -1398,7 +1398,7 @@ et.prototype.N = function() {
1398
1398
  2 & this.f || (this.f |= 2, this.o = ht, ht = this);
1399
1399
  };
1400
1400
  et.prototype.d = function() {
1401
- this.f |= 8, 1 & this.f || er(this);
1401
+ this.f |= 8, 1 & this.f || tr(this);
1402
1402
  };
1403
1403
  et.prototype.dispose = function() {
1404
1404
  this.d();
@@ -1413,21 +1413,21 @@ function tt(e, t) {
1413
1413
  var r = n.d.bind(n);
1414
1414
  return r[Symbol.dispose] = r, r;
1415
1415
  }
1416
- var tr, cn, Ji = [], Qi = [];
1416
+ var nr, un, Ji = [], Qi = [];
1417
1417
  tt(function() {
1418
- tr = this.N;
1418
+ nr = this.N;
1419
1419
  })();
1420
1420
  function nt(e, t) {
1421
1421
  E[e] = t.bind(null, E[e] || function() {
1422
1422
  });
1423
1423
  }
1424
- function Ht(e) {
1425
- cn && cn(), cn = e && e.S();
1424
+ function Yt(e) {
1425
+ un && un(), un = e && e.S();
1426
1426
  }
1427
1427
  function es(e) {
1428
1428
  var t = this, n = e.data, r = ea(n);
1429
1429
  r.value = n;
1430
- var i = Jn(function() {
1430
+ var i = Qn(function() {
1431
1431
  for (var a = t, l = t.__v; l = l.__; ) if (l.__c) {
1432
1432
  l.__c.__$f |= 4;
1433
1433
  break;
@@ -1465,7 +1465,7 @@ nt("__b", function(e, t) {
1465
1465
  });
1466
1466
  nt("__r", function(e, t) {
1467
1467
  if (typeof t.type == "function" && typeof window != "undefined" && window.__PREACT_SIGNALS_DEVTOOLS__ && window.__PREACT_SIGNALS_DEVTOOLS__.enterComponent(t), t.type !== Te) {
1468
- Ht();
1468
+ Yt();
1469
1469
  var n, r = t.__c;
1470
1470
  r && (r.__$f &= -2, (n = r.__$u) === void 0 && (r.__$u = n = function(i) {
1471
1471
  var s;
@@ -1474,15 +1474,15 @@ nt("__r", function(e, t) {
1474
1474
  }), s.c = function() {
1475
1475
  r.__$f |= 1, r.setState({});
1476
1476
  }, s;
1477
- }())), Ht(n);
1477
+ }())), Yt(n);
1478
1478
  }
1479
1479
  e(t);
1480
1480
  });
1481
1481
  nt("__e", function(e, t, n, r) {
1482
- typeof window != "undefined" && window.__PREACT_SIGNALS_DEVTOOLS__ && window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent(), Ht(), e(t, n, r);
1482
+ typeof window != "undefined" && window.__PREACT_SIGNALS_DEVTOOLS__ && window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent(), Yt(), e(t, n, r);
1483
1483
  });
1484
1484
  nt("diffed", function(e, t) {
1485
- typeof t.type == "function" && typeof window != "undefined" && window.__PREACT_SIGNALS_DEVTOOLS__ && window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent(), Ht();
1485
+ typeof t.type == "function" && typeof window != "undefined" && window.__PREACT_SIGNALS_DEVTOOLS__ && window.__PREACT_SIGNALS_DEVTOOLS__.exitComponent(), Yt();
1486
1486
  var n;
1487
1487
  if (typeof t.type == "string" && (n = t.__e)) {
1488
1488
  var r = t.__np, i = t.props;
@@ -1549,7 +1549,7 @@ ve.prototype.shouldComponentUpdate = function(e, t) {
1549
1549
  return !1;
1550
1550
  };
1551
1551
  function ea(e, t) {
1552
- return Ut(function() {
1552
+ return jt(function() {
1553
1553
  return Be(e, t);
1554
1554
  })[0];
1555
1555
  }
@@ -1564,7 +1564,7 @@ var ta = typeof requestAnimationFrame == "undefined" ? setTimeout : function(e)
1564
1564
  };
1565
1565
  function ra() {
1566
1566
  ji(function() {
1567
- for (var e; e = Ji.shift(); ) tr.call(e);
1567
+ for (var e; e = Ji.shift(); ) nr.call(e);
1568
1568
  });
1569
1569
  }
1570
1570
  function ia() {
@@ -1572,7 +1572,7 @@ function ia() {
1572
1572
  }
1573
1573
  function sa() {
1574
1574
  ji(function() {
1575
- for (var e; e = Qi.shift(); ) tr.call(e);
1575
+ for (var e; e = Qi.shift(); ) nr.call(e);
1576
1576
  });
1577
1577
  }
1578
1578
  function ts() {
@@ -1594,7 +1594,7 @@ function ns(e, t) {
1594
1594
  n > -1 && e.splice(n, 1);
1595
1595
  }
1596
1596
  const ze = (e, t, n) => n > t ? t : n < e ? e : n;
1597
- let nr = () => {
1597
+ let rr = () => {
1598
1598
  };
1599
1599
  const Ae = {}, rs = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
1600
1600
  function la(e) {
@@ -1602,11 +1602,11 @@ function la(e) {
1602
1602
  }
1603
1603
  const is = (e) => /^0[^.\s]+$/u.test(e);
1604
1604
  // @__NO_SIDE_EFFECTS__
1605
- function rr(e) {
1605
+ function ir(e) {
1606
1606
  let t;
1607
1607
  return () => (t === void 0 && (t = e()), t);
1608
1608
  }
1609
- const rt = /* @__NO_SIDE_EFFECTS__ */ (e) => e, ca = (e, t) => (n) => t(e(n)), ir = (...e) => e.reduce(ca), sr = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
1609
+ const rt = /* @__NO_SIDE_EFFECTS__ */ (e) => e, ca = (e, t) => (n) => t(e(n)), sr = (...e) => e.reduce(ca), or = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
1610
1610
  const r = t - e;
1611
1611
  return r === 0 ? 1 : (n - e) / r;
1612
1612
  };
@@ -1650,13 +1650,13 @@ function ha(e, t, n, r, i) {
1650
1650
  while (Math.abs(s) > da && ++a < fa);
1651
1651
  return o;
1652
1652
  }
1653
- function At(e, t, n, r) {
1653
+ function Mt(e, t, n, r) {
1654
1654
  if (e === t && n === r)
1655
1655
  return rt;
1656
1656
  const i = (s) => ha(s, 0, 1, e, n);
1657
1657
  return (s) => s === 0 || s === 1 ? s : as(i(s), t, r);
1658
1658
  }
1659
- const ls = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, cs = (e) => (t) => 1 - e(1 - t), us = /* @__PURE__ */ At(0.33, 1.53, 0.69, 0.99), or = /* @__PURE__ */ cs(us), ds = /* @__PURE__ */ ls(or), fs = (e) => (e *= 2) < 1 ? 0.5 * or(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), ar = (e) => 1 - Math.sin(Math.acos(e)), pa = cs(ar), hs = ls(ar), ma = /* @__PURE__ */ At(0.42, 0, 1, 1), ga = /* @__PURE__ */ At(0, 0, 0.58, 1), ps = /* @__PURE__ */ At(0.42, 0, 0.58, 1), ms = (e) => Array.isArray(e) && typeof e[0] != "number";
1659
+ const ls = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, cs = (e) => (t) => 1 - e(1 - t), us = /* @__PURE__ */ Mt(0.33, 1.53, 0.69, 0.99), ar = /* @__PURE__ */ cs(us), ds = /* @__PURE__ */ ls(ar), fs = (e) => (e *= 2) < 1 ? 0.5 * ar(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), lr = (e) => 1 - Math.sin(Math.acos(e)), pa = cs(lr), hs = ls(lr), ma = /* @__PURE__ */ Mt(0.42, 0, 1, 1), ga = /* @__PURE__ */ Mt(0, 0, 0.58, 1), ps = /* @__PURE__ */ Mt(0.42, 0, 0.58, 1), ms = (e) => Array.isArray(e) && typeof e[0] != "number";
1660
1660
  function gs(e, t) {
1661
1661
  return ms(e) ? e[ua(0, e.length, t)] : e;
1662
1662
  }
@@ -1665,22 +1665,22 @@ const bs = (e) => Array.isArray(e) && typeof e[0] == "number", ba = {
1665
1665
  easeIn: ma,
1666
1666
  easeInOut: ps,
1667
1667
  easeOut: ga,
1668
- circIn: ar,
1668
+ circIn: lr,
1669
1669
  circInOut: hs,
1670
1670
  circOut: pa,
1671
- backIn: or,
1671
+ backIn: ar,
1672
1672
  backInOut: ds,
1673
1673
  backOut: us,
1674
1674
  anticipate: fs
1675
1675
  }, ya = (e) => typeof e == "string", Wr = (e) => {
1676
1676
  if (bs(e)) {
1677
- nr(e.length === 4);
1677
+ rr(e.length === 4);
1678
1678
  const [t, n, r, i] = e;
1679
- return At(t, n, r, i);
1679
+ return Mt(t, n, r, i);
1680
1680
  } else if (ya(e))
1681
1681
  return ba[e];
1682
1682
  return e;
1683
- }, $t = [
1683
+ }, Rt = [
1684
1684
  "setup",
1685
1685
  // Compute
1686
1686
  "read",
@@ -1743,61 +1743,61 @@ function ys(e, t) {
1743
1743
  delta: 0,
1744
1744
  timestamp: 0,
1745
1745
  isProcessing: !1
1746
- }, s = () => n = !0, o = $t.reduce((A, M) => (A[M] = _a(s), A), {}), { setup: a, read: l, resolveKeyframes: c, preUpdate: d, update: u, preRender: h, render: p, postRender: b } = o, _ = () => {
1746
+ }, s = () => n = !0, o = Rt.reduce((A, M) => (A[M] = _a(s), A), {}), { setup: a, read: l, resolveKeyframes: c, preUpdate: d, update: u, preRender: h, render: p, postRender: b } = o, _ = () => {
1747
1747
  const A = Ae.useManualTiming ? i.timestamp : performance.now();
1748
1748
  n = !1, Ae.useManualTiming || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(A - i.timestamp, va), 1)), i.timestamp = A, i.isProcessing = !0, a.process(i), l.process(i), c.process(i), d.process(i), u.process(i), h.process(i), p.process(i), b.process(i), i.isProcessing = !1, n && t && (r = !1, e(_));
1749
1749
  }, v = () => {
1750
1750
  n = !0, r = !0, i.isProcessing || e(_);
1751
1751
  };
1752
- return { schedule: $t.reduce((A, M) => {
1752
+ return { schedule: Rt.reduce((A, M) => {
1753
1753
  const x = o[M];
1754
1754
  return A[M] = (C, N = !1, f = !1) => (n || v(), x.schedule(C, N, f)), A;
1755
1755
  }, {}), cancel: (A) => {
1756
- for (let M = 0; M < $t.length; M++)
1757
- o[$t[M]].cancel(A);
1756
+ for (let M = 0; M < Rt.length; M++)
1757
+ o[Rt[M]].cancel(A);
1758
1758
  }, state: i, steps: o };
1759
1759
  }
1760
- const { schedule: Me, cancel: Cn, state: Yt } = /* @__PURE__ */ ys(typeof requestAnimationFrame != "undefined" ? requestAnimationFrame : rt, !0);
1761
- let Dt;
1760
+ const { schedule: Me, cancel: Vn, state: Xt } = /* @__PURE__ */ ys(typeof requestAnimationFrame != "undefined" ? requestAnimationFrame : rt, !0);
1761
+ let zt;
1762
1762
  function wa() {
1763
- Dt = void 0;
1763
+ zt = void 0;
1764
1764
  }
1765
1765
  const de = {
1766
- now: () => (Dt === void 0 && de.set(Yt.isProcessing || Ae.useManualTiming ? Yt.timestamp : performance.now()), Dt),
1766
+ now: () => (zt === void 0 && de.set(Xt.isProcessing || Ae.useManualTiming ? Xt.timestamp : performance.now()), zt),
1767
1767
  set: (e) => {
1768
- Dt = e, queueMicrotask(wa);
1768
+ zt = e, queueMicrotask(wa);
1769
1769
  }
1770
- }, _s = (e) => (t) => typeof t == "string" && t.startsWith(e), vs = /* @__PURE__ */ _s("--"), xa = /* @__PURE__ */ _s("var(--"), lr = (e) => xa(e) ? ka.test(e.split("/*")[0].trim()) : !1, ka = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, it = {
1770
+ }, _s = (e) => (t) => typeof t == "string" && t.startsWith(e), vs = /* @__PURE__ */ _s("--"), xa = /* @__PURE__ */ _s("var(--"), cr = (e) => xa(e) ? ka.test(e.split("/*")[0].trim()) : !1, ka = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, it = {
1771
1771
  test: (e) => typeof e == "number",
1772
1772
  parse: parseFloat,
1773
1773
  transform: (e) => e
1774
1774
  }, yt = {
1775
1775
  ...it,
1776
1776
  transform: (e) => ze(0, 1, e)
1777
- }, Rt = {
1777
+ }, Ft = {
1778
1778
  ...it,
1779
1779
  default: 1
1780
- }, pt = (e) => Math.round(e * 1e5) / 1e5, cr = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
1780
+ }, pt = (e) => Math.round(e * 1e5) / 1e5, ur = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
1781
1781
  function Sa(e) {
1782
1782
  return e == null;
1783
1783
  }
1784
- const Ta = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, ur = (e, t) => (n) => !!(typeof n == "string" && Ta.test(n) && n.startsWith(e) || t && !Sa(n) && Object.prototype.hasOwnProperty.call(n, t)), ws = (e, t, n) => (r) => {
1784
+ const Ta = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, dr = (e, t) => (n) => !!(typeof n == "string" && Ta.test(n) && n.startsWith(e) || t && !Sa(n) && Object.prototype.hasOwnProperty.call(n, t)), ws = (e, t, n) => (r) => {
1785
1785
  if (typeof r != "string")
1786
1786
  return r;
1787
- const [i, s, o, a] = r.match(cr);
1787
+ const [i, s, o, a] = r.match(ur);
1788
1788
  return {
1789
1789
  [e]: parseFloat(i),
1790
1790
  [t]: parseFloat(s),
1791
1791
  [n]: parseFloat(o),
1792
1792
  alpha: a !== void 0 ? parseFloat(a) : 1
1793
1793
  };
1794
- }, Aa = (e) => ze(0, 255, e), un = {
1794
+ }, Aa = (e) => ze(0, 255, e), dn = {
1795
1795
  ...it,
1796
1796
  transform: (e) => Math.round(Aa(e))
1797
1797
  }, Ne = {
1798
- test: /* @__PURE__ */ ur("rgb", "red"),
1798
+ test: /* @__PURE__ */ dr("rgb", "red"),
1799
1799
  parse: /* @__PURE__ */ ws("red", "green", "blue"),
1800
- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + un.transform(e) + ", " + un.transform(t) + ", " + un.transform(n) + ", " + pt(yt.transform(r)) + ")"
1800
+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + dn.transform(e) + ", " + dn.transform(t) + ", " + dn.transform(n) + ", " + pt(yt.transform(r)) + ")"
1801
1801
  };
1802
1802
  function Ma(e) {
1803
1803
  let t = "", n = "", r = "", i = "";
@@ -1808,25 +1808,25 @@ function Ma(e) {
1808
1808
  alpha: i ? parseInt(i, 16) / 255 : 1
1809
1809
  };
1810
1810
  }
1811
- const Vn = {
1812
- test: /* @__PURE__ */ ur("#"),
1811
+ const En = {
1812
+ test: /* @__PURE__ */ dr("#"),
1813
1813
  parse: Ma,
1814
1814
  transform: Ne.transform
1815
- }, Mt = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
1815
+ }, Ct = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
1816
1816
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
1817
1817
  parse: parseFloat,
1818
1818
  transform: (t) => `${t}${e}`
1819
- }), Ve = /* @__PURE__ */ Mt("deg"), Ke = /* @__PURE__ */ Mt("%"), V = /* @__PURE__ */ Mt("px"), Ca = /* @__PURE__ */ Mt("vh"), Va = /* @__PURE__ */ Mt("vw"), Ur = {
1819
+ }), Ve = /* @__PURE__ */ Ct("deg"), Ke = /* @__PURE__ */ Ct("%"), V = /* @__PURE__ */ Ct("px"), Ca = /* @__PURE__ */ Ct("vh"), Va = /* @__PURE__ */ Ct("vw"), Ur = {
1820
1820
  ...Ke,
1821
1821
  parse: (e) => Ke.parse(e) / 100,
1822
1822
  transform: (e) => Ke.transform(e * 100)
1823
1823
  }, Ge = {
1824
- test: /* @__PURE__ */ ur("hsl", "hue"),
1824
+ test: /* @__PURE__ */ dr("hsl", "hue"),
1825
1825
  parse: /* @__PURE__ */ ws("hue", "saturation", "lightness"),
1826
1826
  transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Ke.transform(pt(t)) + ", " + Ke.transform(pt(n)) + ", " + pt(yt.transform(r)) + ")"
1827
1827
  }, K = {
1828
- test: (e) => Ne.test(e) || Vn.test(e) || Ge.test(e),
1829
- parse: (e) => Ne.test(e) ? Ne.parse(e) : Ge.test(e) ? Ge.parse(e) : Vn.parse(e),
1828
+ test: (e) => Ne.test(e) || En.test(e) || Ge.test(e),
1829
+ parse: (e) => Ne.test(e) ? Ne.parse(e) : Ge.test(e) ? Ge.parse(e) : En.parse(e),
1830
1830
  transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Ne.transform(e) : Ge.transform(e),
1831
1831
  getAnimatableNone: (e) => {
1832
1832
  const t = K.parse(e);
@@ -1835,7 +1835,7 @@ const Vn = {
1835
1835
  }, Ea = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
1836
1836
  function Pa(e) {
1837
1837
  var t, n;
1838
- return isNaN(e) && typeof e == "string" && (((t = e.match(cr)) == null ? void 0 : t.length) || 0) + (((n = e.match(Ea)) == null ? void 0 : n.length) || 0) > 0;
1838
+ return isNaN(e) && typeof e == "string" && (((t = e.match(ur)) == null ? void 0 : t.length) || 0) + (((n = e.match(Ea)) == null ? void 0 : n.length) || 0) > 0;
1839
1839
  }
1840
1840
  const xs = "number", ks = "color", $a = "var", Ra = "var(", jr = "${}", Fa = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
1841
1841
  function _t(e) {
@@ -1874,7 +1874,7 @@ const st = {
1874
1874
  createTransformer: Ts,
1875
1875
  getAnimatableNone: Na
1876
1876
  };
1877
- function dn(e, t, n) {
1877
+ function fn(e, t, n) {
1878
1878
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
1879
1879
  }
1880
1880
  function Ia({ hue: e, saturation: t, lightness: n, alpha: r }) {
@@ -1884,7 +1884,7 @@ function Ia({ hue: e, saturation: t, lightness: n, alpha: r }) {
1884
1884
  i = s = o = n;
1885
1885
  else {
1886
1886
  const a = n < 0.5 ? n * (1 + t) : n + t - n * t, l = 2 * n - a;
1887
- i = dn(l, a, e + 1 / 3), s = dn(l, a, e), o = dn(l, a, e - 1 / 3);
1887
+ i = fn(l, a, e + 1 / 3), s = fn(l, a, e), o = fn(l, a, e - 1 / 3);
1888
1888
  }
1889
1889
  return {
1890
1890
  red: Math.round(i * 255),
@@ -1893,13 +1893,13 @@ function Ia({ hue: e, saturation: t, lightness: n, alpha: r }) {
1893
1893
  alpha: r
1894
1894
  };
1895
1895
  }
1896
- function Xt(e, t) {
1896
+ function Zt(e, t) {
1897
1897
  return (n) => n > 0 ? t : e;
1898
1898
  }
1899
- const Ct = (e, t, n) => e + (t - e) * n, fn = (e, t, n) => {
1899
+ const Vt = (e, t, n) => e + (t - e) * n, hn = (e, t, n) => {
1900
1900
  const r = e * e, i = n * (t * t - r) + r;
1901
1901
  return i < 0 ? 0 : Math.sqrt(i);
1902
- }, La = [Vn, Ne, Ge], Oa = (e) => La.find((t) => t.test(e));
1902
+ }, La = [En, Ne, Ge], Oa = (e) => La.find((t) => t.test(e));
1903
1903
  function Gr(e) {
1904
1904
  const t = Oa(e);
1905
1905
  if (!t)
@@ -1910,21 +1910,21 @@ function Gr(e) {
1910
1910
  const Kr = (e, t) => {
1911
1911
  const n = Gr(e), r = Gr(t);
1912
1912
  if (!n || !r)
1913
- return Xt(e, t);
1913
+ return Zt(e, t);
1914
1914
  const i = { ...n };
1915
- return (s) => (i.red = fn(n.red, r.red, s), i.green = fn(n.green, r.green, s), i.blue = fn(n.blue, r.blue, s), i.alpha = Ct(n.alpha, r.alpha, s), Ne.transform(i));
1916
- }, En = /* @__PURE__ */ new Set(["none", "hidden"]);
1915
+ return (s) => (i.red = hn(n.red, r.red, s), i.green = hn(n.green, r.green, s), i.blue = hn(n.blue, r.blue, s), i.alpha = Vt(n.alpha, r.alpha, s), Ne.transform(i));
1916
+ }, Pn = /* @__PURE__ */ new Set(["none", "hidden"]);
1917
1917
  function Da(e, t) {
1918
- return En.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
1918
+ return Pn.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
1919
1919
  }
1920
1920
  function za(e, t) {
1921
- return (n) => Ct(e, t, n);
1921
+ return (n) => Vt(e, t, n);
1922
1922
  }
1923
- function dr(e) {
1924
- return typeof e == "number" ? za : typeof e == "string" ? lr(e) ? Xt : K.test(e) ? Kr : Ua : Array.isArray(e) ? As : typeof e == "object" ? K.test(e) ? Kr : Ba : Xt;
1923
+ function fr(e) {
1924
+ return typeof e == "number" ? za : typeof e == "string" ? cr(e) ? Zt : K.test(e) ? Kr : Ua : Array.isArray(e) ? As : typeof e == "object" ? K.test(e) ? Kr : Ba : Zt;
1925
1925
  }
1926
1926
  function As(e, t) {
1927
- const n = [...e], r = n.length, i = e.map((s, o) => dr(s)(s, t[o]));
1927
+ const n = [...e], r = n.length, i = e.map((s, o) => fr(s)(s, t[o]));
1928
1928
  return (s) => {
1929
1929
  for (let o = 0; o < r; o++)
1930
1930
  n[o] = i[o](s);
@@ -1934,7 +1934,7 @@ function As(e, t) {
1934
1934
  function Ba(e, t) {
1935
1935
  const n = { ...e, ...t }, r = {};
1936
1936
  for (const i in n)
1937
- e[i] !== void 0 && t[i] !== void 0 && (r[i] = dr(e[i])(e[i], t[i]));
1937
+ e[i] !== void 0 && t[i] !== void 0 && (r[i] = fr(e[i])(e[i], t[i]));
1938
1938
  return (i) => {
1939
1939
  for (const s in r)
1940
1940
  n[s] = r[s](i);
@@ -1952,21 +1952,21 @@ function Wa(e, t) {
1952
1952
  }
1953
1953
  const Ua = (e, t) => {
1954
1954
  const n = st.createTransformer(t), r = _t(e), i = _t(t);
1955
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? En.has(e) && !i.values.length || En.has(t) && !r.values.length ? Da(e, t) : ir(As(Wa(r, i), i.values), n) : Xt(e, t);
1955
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Pn.has(e) && !i.values.length || Pn.has(t) && !r.values.length ? Da(e, t) : sr(As(Wa(r, i), i.values), n) : Zt(e, t);
1956
1956
  };
1957
1957
  function Ms(e, t, n) {
1958
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? Ct(e, t, n) : dr(e)(e, t);
1958
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? Vt(e, t, n) : fr(e)(e, t);
1959
1959
  }
1960
1960
  const ja = (e) => {
1961
1961
  const t = ({ timestamp: n }) => e(n);
1962
1962
  return {
1963
1963
  start: (n = !0) => Me.update(t, n),
1964
- stop: () => Cn(t),
1964
+ stop: () => Vn(t),
1965
1965
  /**
1966
1966
  * If we're processing this frame we can use the
1967
1967
  * framelocked timestamp to keep things in sync.
1968
1968
  */
1969
- now: () => Yt.isProcessing ? Yt.timestamp : de.now()
1969
+ now: () => Xt.isProcessing ? Xt.timestamp : de.now()
1970
1970
  };
1971
1971
  }, Cs = (e, t, n = 10) => {
1972
1972
  let r = "";
@@ -1974,17 +1974,17 @@ const ja = (e) => {
1974
1974
  for (let s = 0; s < i; s++)
1975
1975
  r += Math.round(e(s / (i - 1)) * 1e4) / 1e4 + ", ";
1976
1976
  return `linear(${r.substring(0, r.length - 2)})`;
1977
- }, Zt = 2e4;
1978
- function fr(e) {
1977
+ }, Jt = 2e4;
1978
+ function hr(e) {
1979
1979
  let t = 0;
1980
1980
  const n = 50;
1981
1981
  let r = e.next(t);
1982
- for (; !r.done && t < Zt; )
1982
+ for (; !r.done && t < Jt; )
1983
1983
  t += n, r = e.next(t);
1984
- return t >= Zt ? 1 / 0 : t;
1984
+ return t >= Jt ? 1 / 0 : t;
1985
1985
  }
1986
1986
  function Vs(e, t = 100, n) {
1987
- const r = n({ ...e, keyframes: [0, t] }), i = Math.min(fr(r), Zt);
1987
+ const r = n({ ...e, keyframes: [0, t] }), i = Math.min(hr(r), Jt);
1988
1988
  return {
1989
1989
  type: "keyframes",
1990
1990
  ease: (s) => r.next(i * s).value / t,
@@ -2024,18 +2024,18 @@ const W = {
2024
2024
  // in seconds
2025
2025
  minDamping: 0.05,
2026
2026
  maxDamping: 1
2027
- }, hn = 1e-3;
2027
+ }, pn = 1e-3;
2028
2028
  function Ka({ duration: e = W.duration, bounce: t = W.bounce, velocity: n = W.velocity, mass: r = W.mass }) {
2029
2029
  let i, s, o = 1 - t;
2030
2030
  o = ze(W.minDamping, W.maxDamping, o), e = ze(W.minDuration, W.maxDuration, /* @__PURE__ */ ge(e)), o < 1 ? (i = (c) => {
2031
- const d = c * o, u = d * e, h = d - n, p = Pn(c, o), b = Math.exp(-u);
2032
- return hn - h / p * b;
2031
+ const d = c * o, u = d * e, h = d - n, p = $n(c, o), b = Math.exp(-u);
2032
+ return pn - h / p * b;
2033
2033
  }, s = (c) => {
2034
- const u = c * o * e, h = u * n + n, p = Math.pow(o, 2) * Math.pow(c, 2) * e, b = Math.exp(-u), _ = Pn(Math.pow(c, 2), o);
2035
- return (-i(c) + hn > 0 ? -1 : 1) * ((h - p) * b) / _;
2034
+ const u = c * o * e, h = u * n + n, p = Math.pow(o, 2) * Math.pow(c, 2) * e, b = Math.exp(-u), _ = $n(Math.pow(c, 2), o);
2035
+ return (-i(c) + pn > 0 ? -1 : 1) * ((h - p) * b) / _;
2036
2036
  }) : (i = (c) => {
2037
2037
  const d = Math.exp(-c * e), u = (c - n) * e + 1;
2038
- return -hn + d * u;
2038
+ return -pn + d * u;
2039
2039
  }, s = (c) => {
2040
2040
  const d = Math.exp(-c * e), u = (n - c) * (e * e);
2041
2041
  return d * u;
@@ -2063,7 +2063,7 @@ function Ya(e, t, n) {
2063
2063
  r = r - e(r) / t(r);
2064
2064
  return r;
2065
2065
  }
2066
- function Pn(e, t) {
2066
+ function $n(e, t) {
2067
2067
  return e * Math.sqrt(1 - t * t);
2068
2068
  }
2069
2069
  const Xa = ["duration", "bounce"], Za = ["stiffness", "damping", "mass"];
@@ -2112,7 +2112,7 @@ function vt(e = W.visualDuration, t = W.bounce) {
2112
2112
  r || (r = y ? W.restSpeed.granular : W.restSpeed.default), i || (i = y ? W.restDelta.granular : W.restDelta.default);
2113
2113
  let A;
2114
2114
  if (_ < 1) {
2115
- const x = Pn(m, _);
2115
+ const x = $n(m, _);
2116
2116
  A = (C) => {
2117
2117
  const N = Math.exp(-_ * m * C);
2118
2118
  return o - N * ((b + _ * m * v) / x * Math.sin(x * C) + v * Math.cos(x * C));
@@ -2141,7 +2141,7 @@ function vt(e = W.visualDuration, t = W.bounce) {
2141
2141
  return a.value = a.done ? o : C, a;
2142
2142
  },
2143
2143
  toString: () => {
2144
- const x = Math.min(fr(M), Zt), C = Cs((N) => M.next(x * N).value, x, 30);
2144
+ const x = Math.min(hr(M), Jt), C = Cs((N) => M.next(x * N).value, x, 30);
2145
2145
  return x + "ms " + C;
2146
2146
  },
2147
2147
  toTransition: () => {
@@ -2153,7 +2153,7 @@ vt.applyToOptions = (e) => {
2153
2153
  const t = Vs(e, 100, vt);
2154
2154
  return e.ease = t.ease, e.duration = /* @__PURE__ */ we(t.duration), e.type = "keyframes", e;
2155
2155
  };
2156
- function $n({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: s = 500, modifyTarget: o, min: a, max: l, restDelta: c = 0.5, restSpeed: d }) {
2156
+ function Rn({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: s = 500, modifyTarget: o, min: a, max: l, restDelta: c = 0.5, restSpeed: d }) {
2157
2157
  const u = e[0], h = {
2158
2158
  done: !1,
2159
2159
  value: u
@@ -2191,7 +2191,7 @@ function Qa(e, t, n) {
2191
2191
  let a = i(e[o], e[o + 1]);
2192
2192
  if (t) {
2193
2193
  const l = Array.isArray(t) ? t[o] || rt : t;
2194
- a = ir(l, a);
2194
+ a = sr(l, a);
2195
2195
  }
2196
2196
  r.push(a);
2197
2197
  }
@@ -2199,7 +2199,7 @@ function Qa(e, t, n) {
2199
2199
  }
2200
2200
  function el(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
2201
2201
  const s = e.length;
2202
- if (nr(s === t.length), s === 1)
2202
+ if (rr(s === t.length), s === 1)
2203
2203
  return () => t[0];
2204
2204
  if (s === 2 && t[0] === t[1])
2205
2205
  return () => t[1];
@@ -2212,7 +2212,7 @@ function el(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
2212
2212
  if (l > 1)
2213
2213
  for (; u < e.length - 2 && !(d < e[u + 1]); u++)
2214
2214
  ;
2215
- const h = /* @__PURE__ */ sr(e[u], e[u + 1], d);
2215
+ const h = /* @__PURE__ */ or(e[u], e[u + 1], d);
2216
2216
  return a[u](h);
2217
2217
  };
2218
2218
  return n ? (d) => c(ze(e[0], e[s - 1], d)) : c;
@@ -2220,8 +2220,8 @@ function el(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
2220
2220
  function Ps(e, t) {
2221
2221
  const n = e[e.length - 1];
2222
2222
  for (let r = 1; r <= t; r++) {
2223
- const i = /* @__PURE__ */ sr(0, t, r);
2224
- e.push(Ct(n, 1, i));
2223
+ const i = /* @__PURE__ */ or(0, t, r);
2224
+ e.push(Vt(n, 1, i));
2225
2225
  }
2226
2226
  }
2227
2227
  function $s(e) {
@@ -2252,13 +2252,13 @@ function mt({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
2252
2252
  };
2253
2253
  }
2254
2254
  const rl = (e) => e !== null;
2255
- function hr(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
2255
+ function pr(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
2256
2256
  const s = e.filter(rl), a = i < 0 || t && n !== "loop" && t % 2 === 1 ? 0 : s.length - 1;
2257
2257
  return !a || r === void 0 ? s[a] : r;
2258
2258
  }
2259
2259
  const il = {
2260
- decay: $n,
2261
- inertia: $n,
2260
+ decay: Rn,
2261
+ inertia: Rn,
2262
2262
  tween: mt,
2263
2263
  keyframes: mt,
2264
2264
  spring: vt
@@ -2266,7 +2266,7 @@ const il = {
2266
2266
  function Rs(e) {
2267
2267
  typeof e.type == "string" && (e.type = il[e.type]);
2268
2268
  }
2269
- class pr {
2269
+ class mr {
2270
2270
  constructor() {
2271
2271
  this.updateFinished();
2272
2272
  }
@@ -2291,7 +2291,7 @@ class pr {
2291
2291
  }
2292
2292
  }
2293
2293
  const sl = (e) => e / 100;
2294
- class mr extends pr {
2294
+ class gr extends mr {
2295
2295
  constructor(t) {
2296
2296
  super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
2297
2297
  var r, i;
@@ -2305,13 +2305,13 @@ class mr extends pr {
2305
2305
  const { type: n = mt, repeat: r = 0, repeatDelay: i = 0, repeatType: s, velocity: o = 0 } = t;
2306
2306
  let { keyframes: a } = t;
2307
2307
  const l = n || mt;
2308
- l !== mt && typeof a[0] != "number" && (this.mixKeyframes = ir(sl, Ms(a[0], a[1])), a = [0, 100]);
2308
+ l !== mt && typeof a[0] != "number" && (this.mixKeyframes = sr(sl, Ms(a[0], a[1])), a = [0, 100]);
2309
2309
  const c = l({ ...t, keyframes: a });
2310
2310
  s === "mirror" && (this.mirroredGenerator = l({
2311
2311
  ...t,
2312
2312
  keyframes: [...a].reverse(),
2313
2313
  velocity: -o
2314
- })), c.calculatedDuration === null && (c.calculatedDuration = fr(c));
2314
+ })), c.calculatedDuration === null && (c.calculatedDuration = hr(c));
2315
2315
  const { calculatedDuration: d } = c;
2316
2316
  this.calculatedDuration = d, this.resolvedDuration = d + i, this.totalDuration = this.resolvedDuration * (r + 1) - i, this.generator = c;
2317
2317
  }
@@ -2338,7 +2338,7 @@ class mr extends pr {
2338
2338
  let { done: C } = x;
2339
2339
  !y && l !== null && (C = this.playbackSpeed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
2340
2340
  const N = this.holdTime === null && (this.state === "finished" || this.state === "running" && C);
2341
- return N && b !== $n && (x.value = hr(d, this.options, v, this.speed)), _ && _(x.value), N && this.finish(), x;
2341
+ return N && b !== Rn && (x.value = pr(d, this.options, v, this.speed)), _ && _(x.value), N && this.finish(), x;
2342
2342
  }
2343
2343
  /**
2344
2344
  * Allows the returned animation to be awaited or promise-chained. Currently
@@ -2412,9 +2412,9 @@ function ol(e) {
2412
2412
  for (let n = 1; n < e.length; n++)
2413
2413
  (t = e[n]) != null || (e[n] = e[n - 1]);
2414
2414
  }
2415
- const Ie = (e) => e * 180 / Math.PI, Rn = (e) => {
2415
+ const Ie = (e) => e * 180 / Math.PI, Fn = (e) => {
2416
2416
  const t = Ie(Math.atan2(e[1], e[0]));
2417
- return Fn(t);
2417
+ return qn(t);
2418
2418
  }, al = {
2419
2419
  x: 4,
2420
2420
  y: 5,
@@ -2423,12 +2423,12 @@ const Ie = (e) => e * 180 / Math.PI, Rn = (e) => {
2423
2423
  scaleX: 0,
2424
2424
  scaleY: 3,
2425
2425
  scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
2426
- rotate: Rn,
2427
- rotateZ: Rn,
2426
+ rotate: Fn,
2427
+ rotateZ: Fn,
2428
2428
  skewX: (e) => Ie(Math.atan(e[1])),
2429
2429
  skewY: (e) => Ie(Math.atan(e[2])),
2430
2430
  skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
2431
- }, Fn = (e) => (e = e % 360, e < 0 && (e += 360), e), Yr = Rn, Xr = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Zr = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), ll = {
2431
+ }, qn = (e) => (e = e % 360, e < 0 && (e += 360), e), Yr = Fn, Xr = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Zr = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), ll = {
2432
2432
  x: 12,
2433
2433
  y: 13,
2434
2434
  z: 14,
@@ -2438,20 +2438,20 @@ const Ie = (e) => e * 180 / Math.PI, Rn = (e) => {
2438
2438
  scaleX: Xr,
2439
2439
  scaleY: Zr,
2440
2440
  scale: (e) => (Xr(e) + Zr(e)) / 2,
2441
- rotateX: (e) => Fn(Ie(Math.atan2(e[6], e[5]))),
2442
- rotateY: (e) => Fn(Ie(Math.atan2(-e[2], e[0]))),
2441
+ rotateX: (e) => qn(Ie(Math.atan2(e[6], e[5]))),
2442
+ rotateY: (e) => qn(Ie(Math.atan2(-e[2], e[0]))),
2443
2443
  rotateZ: Yr,
2444
2444
  rotate: Yr,
2445
2445
  skewX: (e) => Ie(Math.atan(e[4])),
2446
2446
  skewY: (e) => Ie(Math.atan(e[1])),
2447
2447
  skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
2448
2448
  };
2449
- function qn(e) {
2449
+ function Nn(e) {
2450
2450
  return e.includes("scale") ? 1 : 0;
2451
2451
  }
2452
- function Nn(e, t) {
2452
+ function In(e, t) {
2453
2453
  if (!e || e === "none")
2454
- return qn(t);
2454
+ return Nn(t);
2455
2455
  const n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);
2456
2456
  let r, i;
2457
2457
  if (n)
@@ -2461,13 +2461,13 @@ function Nn(e, t) {
2461
2461
  r = al, i = a;
2462
2462
  }
2463
2463
  if (!i)
2464
- return qn(t);
2464
+ return Nn(t);
2465
2465
  const s = r[t], o = i[1].split(",").map(ul);
2466
2466
  return typeof s == "function" ? s(o) : o[s];
2467
2467
  }
2468
2468
  const cl = (e, t) => {
2469
2469
  const { transform: n = "none" } = getComputedStyle(e);
2470
- return Nn(n, t);
2470
+ return In(n, t);
2471
2471
  };
2472
2472
  function ul(e) {
2473
2473
  return parseFloat(e.trim());
@@ -2507,15 +2507,15 @@ const Oe = {
2507
2507
  bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
2508
2508
  right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
2509
2509
  // Transform
2510
- x: (e, { transform: t }) => Nn(t, "x"),
2511
- y: (e, { transform: t }) => Nn(t, "y")
2510
+ x: (e, { transform: t }) => In(t, "x"),
2511
+ y: (e, { transform: t }) => In(t, "y")
2512
2512
  };
2513
2513
  Oe.translateX = Oe.x;
2514
2514
  Oe.translateY = Oe.y;
2515
2515
  const De = /* @__PURE__ */ new Set();
2516
- let In = !1, Ln = !1, On = !1;
2516
+ let Ln = !1, On = !1, Dn = !1;
2517
2517
  function Fs() {
2518
- if (Ln) {
2518
+ if (On) {
2519
2519
  const e = Array.from(De).filter((r) => r.needsMeasurement), t = new Set(e.map((r) => r.element)), n = /* @__PURE__ */ new Map();
2520
2520
  t.forEach((r) => {
2521
2521
  const i = hl(r);
@@ -2531,22 +2531,22 @@ function Fs() {
2531
2531
  r.suspendedScrollY !== void 0 && window.scrollTo(0, r.suspendedScrollY);
2532
2532
  });
2533
2533
  }
2534
- Ln = !1, In = !1, De.forEach((e) => e.complete(On)), De.clear();
2534
+ On = !1, Ln = !1, De.forEach((e) => e.complete(Dn)), De.clear();
2535
2535
  }
2536
2536
  function qs() {
2537
2537
  De.forEach((e) => {
2538
- e.readKeyframes(), e.needsMeasurement && (Ln = !0);
2538
+ e.readKeyframes(), e.needsMeasurement && (On = !0);
2539
2539
  });
2540
2540
  }
2541
2541
  function pl() {
2542
- On = !0, qs(), Fs(), On = !1;
2542
+ Dn = !0, qs(), Fs(), Dn = !1;
2543
2543
  }
2544
- class gr {
2544
+ class br {
2545
2545
  constructor(t, n, r, i, s, o = !1) {
2546
2546
  this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...t], this.onComplete = n, this.name = r, this.motionValue = i, this.element = s, this.isAsync = o;
2547
2547
  }
2548
2548
  scheduleResolve() {
2549
- this.state = "scheduled", this.isAsync ? (De.add(this), In || (In = !0, Me.read(qs), Me.resolveKeyframes(Fs))) : (this.readKeyframes(), this.complete());
2549
+ this.state = "scheduled", this.isAsync ? (De.add(this), Ln || (Ln = !0, Me.read(qs), Me.resolveKeyframes(Fs))) : (this.readKeyframes(), this.complete());
2550
2550
  }
2551
2551
  readKeyframes() {
2552
2552
  const { unresolvedKeyframes: t, name: n, element: r, motionValue: i } = this;
@@ -2584,9 +2584,9 @@ const ml = (e) => e.startsWith("--");
2584
2584
  function gl(e, t, n) {
2585
2585
  ml(t) ? e.style.setProperty(t, n) : e.style[t] = n;
2586
2586
  }
2587
- const bl = /* @__PURE__ */ rr(() => window.ScrollTimeline !== void 0), yl = {};
2587
+ const bl = /* @__PURE__ */ ir(() => window.ScrollTimeline !== void 0), yl = {};
2588
2588
  function _l(e, t) {
2589
- const n = /* @__PURE__ */ rr(e);
2589
+ const n = /* @__PURE__ */ ir(e);
2590
2590
  return () => {
2591
2591
  var r;
2592
2592
  return (r = yl[t]) != null ? r : n();
@@ -2631,23 +2631,23 @@ function vl(e, t, n, { delay: r = 0, duration: i = 300, repeat: s = 0, repeatTyp
2631
2631
  };
2632
2632
  return c && (h.pseudoElement = c), e.animate(d, h);
2633
2633
  }
2634
- function br(e) {
2634
+ function yr(e) {
2635
2635
  return typeof e == "function" && "applyToOptions" in e;
2636
2636
  }
2637
2637
  function wl({ type: e, ...t }) {
2638
2638
  var n, r;
2639
- return br(e) && Ns() ? e.applyToOptions(t) : ((n = t.duration) != null || (t.duration = 300), (r = t.ease) != null || (t.ease = "easeOut"), t);
2639
+ return yr(e) && Ns() ? e.applyToOptions(t) : ((n = t.duration) != null || (t.duration = 300), (r = t.ease) != null || (t.ease = "easeOut"), t);
2640
2640
  }
2641
- class xl extends pr {
2641
+ class xl extends mr {
2642
2642
  constructor(t) {
2643
2643
  if (super(), this.finishedTime = null, this.isStopped = !1, !t)
2644
2644
  return;
2645
2645
  const { element: n, name: r, keyframes: i, pseudoElement: s, allowFlatten: o = !1, finalKeyframe: a, onComplete: l } = t;
2646
- this.isPseudoElement = !!s, this.allowFlatten = o, this.options = t, nr(typeof t.type != "string");
2646
+ this.isPseudoElement = !!s, this.allowFlatten = o, this.options = t, rr(typeof t.type != "string");
2647
2647
  const c = wl(t);
2648
2648
  this.animation = vl(n, r, i, c, s), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
2649
2649
  if (this.finishedTime = this.time, !s) {
2650
- const d = hr(i, this.options, a, this.speed);
2650
+ const d = pr(i, this.options, a, this.speed);
2651
2651
  this.updateMotionValue ? this.updateMotionValue(d) : gl(n, r, d), this.animation.cancel();
2652
2652
  }
2653
2653
  l == null || l(), this.notifyFinished();
@@ -2767,7 +2767,7 @@ class Tl extends xl {
2767
2767
  n.set(t);
2768
2768
  return;
2769
2769
  }
2770
- const a = new mr({
2770
+ const a = new gr({
2771
2771
  ...o,
2772
2772
  autoplay: !1
2773
2773
  }), l = /* @__PURE__ */ we((c = this.finishedTime) != null ? c : this.time);
@@ -2792,9 +2792,9 @@ function Ml(e, t, n, r) {
2792
2792
  if (t === "display" || t === "visibility")
2793
2793
  return !0;
2794
2794
  const s = e[e.length - 1], o = ti(i, t), a = ti(s, t);
2795
- return !o || !a ? !1 : Al(e) || (n === "spring" || br(n)) && r;
2795
+ return !o || !a ? !1 : Al(e) || (n === "spring" || yr(n)) && r;
2796
2796
  }
2797
- function Dn(e) {
2797
+ function zn(e) {
2798
2798
  e.duration = 0, e.type = "keyframes";
2799
2799
  }
2800
2800
  const Cl = /* @__PURE__ */ new Set([
@@ -2804,7 +2804,7 @@ const Cl = /* @__PURE__ */ new Set([
2804
2804
  "transform"
2805
2805
  // TODO: Could be re-enabled now we have support for linear() easing
2806
2806
  // "background-color"
2807
- ]), Vl = /* @__PURE__ */ rr(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
2807
+ ]), Vl = /* @__PURE__ */ ir(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
2808
2808
  function El(e) {
2809
2809
  var d;
2810
2810
  const { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: s, type: o } = e;
@@ -2818,7 +2818,7 @@ function El(e) {
2818
2818
  !l && !r && i !== "mirror" && s !== 0 && o !== "inertia";
2819
2819
  }
2820
2820
  const Pl = 40;
2821
- class $l extends pr {
2821
+ class $l extends mr {
2822
2822
  constructor({ autoplay: t = !0, delay: n = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: s = 0, repeatType: o = "loop", keyframes: a, name: l, motionValue: c, element: d, ...u }) {
2823
2823
  var b;
2824
2824
  super(), this.stop = () => {
@@ -2836,13 +2836,13 @@ class $l extends pr {
2836
2836
  motionValue: c,
2837
2837
  element: d,
2838
2838
  ...u
2839
- }, p = (d == null ? void 0 : d.KeyframeResolver) || gr;
2839
+ }, p = (d == null ? void 0 : d.KeyframeResolver) || br;
2840
2840
  this.keyframeResolver = new p(a, (_, v, m) => this.onKeyframesResolved(_, v, h, !m), l, c, d), (b = this.keyframeResolver) == null || b.scheduleResolve();
2841
2841
  }
2842
2842
  onKeyframesResolved(t, n, r, i) {
2843
2843
  this.keyframeResolver = void 0;
2844
2844
  const { name: s, type: o, velocity: a, delay: l, isHandoff: c, onUpdate: d } = r;
2845
- this.resolvedAt = de.now(), Ml(t, s, o, a) || ((Ae.instantAnimations || !l) && (d == null || d(hr(t, r, n))), t[0] = t[t.length - 1], Dn(r), r.repeat = 0);
2845
+ this.resolvedAt = de.now(), Ml(t, s, o, a) || ((Ae.instantAnimations || !l) && (d == null || d(pr(t, r, n))), t[0] = t[t.length - 1], zn(r), r.repeat = 0);
2846
2846
  const h = {
2847
2847
  startTime: i ? this.resolvedAt ? this.resolvedAt - this.createdAt > Pl ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
2848
2848
  finalKeyframe: n,
@@ -2851,7 +2851,7 @@ class $l extends pr {
2851
2851
  }, p = !c && El(h) ? new Tl({
2852
2852
  ...h,
2853
2853
  element: h.motionValue.owner.current
2854
- }) : new mr(h);
2854
+ }) : new gr(h);
2855
2855
  p.finished.then(() => this.notifyFinished()).catch(rt), this.pendingTimeline && (this.stopTimeline = p.attachTimeline(this.pendingTimeline), this.pendingTimeline = void 0), this._animation = p;
2856
2856
  }
2857
2857
  get finished() {
@@ -3005,7 +3005,7 @@ function Os(e, t, n = 1) {
3005
3005
  const o = s.trim();
3006
3006
  return rs(o) ? parseFloat(o) : o;
3007
3007
  }
3008
- return lr(i) ? Os(i, t, n + 1) : i;
3008
+ return cr(i) ? Os(i, t, n + 1) : i;
3009
3009
  }
3010
3010
  function Ds(e, t) {
3011
3011
  var n, r;
@@ -3031,14 +3031,14 @@ function Dl(e) {
3031
3031
  const [t, n] = e.slice(0, -1).split("(");
3032
3032
  if (t === "drop-shadow")
3033
3033
  return e;
3034
- const [r] = n.match(cr) || [];
3034
+ const [r] = n.match(ur) || [];
3035
3035
  if (!r)
3036
3036
  return e;
3037
3037
  const i = n.replace(r, "");
3038
3038
  let s = Ol.has(t) ? 1 : 0;
3039
3039
  return r !== n && (s *= 100), t + "(" + s + i + ")";
3040
3040
  }
3041
- const zl = /\b([a-z-]*)\(.*?\)/gu, zn = {
3041
+ const zl = /\b([a-z-]*)\(.*?\)/gu, Bn = {
3042
3042
  ...st,
3043
3043
  getAnimatableNone: (e) => {
3044
3044
  const t = e.match(zl);
@@ -3052,10 +3052,10 @@ const zl = /\b([a-z-]*)\(.*?\)/gu, zn = {
3052
3052
  rotateX: Ve,
3053
3053
  rotateY: Ve,
3054
3054
  rotateZ: Ve,
3055
- scale: Rt,
3056
- scaleX: Rt,
3057
- scaleY: Rt,
3058
- scaleZ: Rt,
3055
+ scale: Ft,
3056
+ scaleX: Ft,
3057
+ scaleY: Ft,
3058
+ scaleZ: Ft,
3059
3059
  skew: Ve,
3060
3060
  skewX: Ve,
3061
3061
  skewY: Ve,
@@ -3072,7 +3072,7 @@ const zl = /\b([a-z-]*)\(.*?\)/gu, zn = {
3072
3072
  originX: Ur,
3073
3073
  originY: Ur,
3074
3074
  originZ: V
3075
- }, yr = {
3075
+ }, _r = {
3076
3076
  // Border props
3077
3077
  borderWidth: V,
3078
3078
  borderTopWidth: V,
@@ -3115,7 +3115,7 @@ const zl = /\b([a-z-]*)\(.*?\)/gu, zn = {
3115
3115
  strokeOpacity: yt,
3116
3116
  numOctaves: ii
3117
3117
  }, Wl = {
3118
- ...yr,
3118
+ ..._r,
3119
3119
  // Color props
3120
3120
  color: K,
3121
3121
  backgroundColor: K,
@@ -3128,12 +3128,12 @@ const zl = /\b([a-z-]*)\(.*?\)/gu, zn = {
3128
3128
  borderRightColor: K,
3129
3129
  borderBottomColor: K,
3130
3130
  borderLeftColor: K,
3131
- filter: zn,
3132
- WebkitFilter: zn
3131
+ filter: Bn,
3132
+ WebkitFilter: Bn
3133
3133
  }, Us = (e) => Wl[e];
3134
3134
  function js(e, t) {
3135
3135
  let n = Us(e);
3136
- return n !== zn && (n = st), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
3136
+ return n !== Bn && (n = st), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
3137
3137
  }
3138
3138
  const Ul = /* @__PURE__ */ new Set(["auto", "none", "0"]);
3139
3139
  function jl(e, t, n) {
@@ -3146,7 +3146,7 @@ function jl(e, t, n) {
3146
3146
  for (const s of t)
3147
3147
  e[s] = js(n, i);
3148
3148
  }
3149
- class Gl extends gr {
3149
+ class Gl extends br {
3150
3150
  constructor(t, n, r, i, s) {
3151
3151
  super(t, n, r, i, s, !0);
3152
3152
  }
@@ -3157,7 +3157,7 @@ class Gl extends gr {
3157
3157
  super.readKeyframes();
3158
3158
  for (let l = 0; l < t.length; l++) {
3159
3159
  let c = t[l];
3160
- if (typeof c == "string" && (c = c.trim(), lr(c))) {
3160
+ if (typeof c == "string" && (c = c.trim(), cr(c))) {
3161
3161
  const d = Os(c, n.current);
3162
3162
  d !== void 0 && (t[l] = d), l === t.length - 1 && (this.finalKeyframe = c);
3163
3163
  }
@@ -3425,11 +3425,11 @@ function Zl(e) {
3425
3425
  return Ks(e) && e.tagName === "svg";
3426
3426
  }
3427
3427
  const ne = (e) => !!(e && e.getVelocity), Jl = [...Ws, K, st], Ql = (e) => Jl.find(Bs(e));
3428
- function _r(e) {
3428
+ function vr(e) {
3429
3429
  return typeof e == "object" && !Array.isArray(e);
3430
3430
  }
3431
3431
  function Hs(e, t, n, r) {
3432
- return typeof e == "string" && _r(t) ? Kl(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e : [e];
3432
+ return typeof e == "string" && vr(t) ? Kl(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e : [e];
3433
3433
  }
3434
3434
  function ec(e, t, n) {
3435
3435
  return e * (t + 1);
@@ -3449,7 +3449,7 @@ function nc(e, t, n, r, i, s) {
3449
3449
  for (let o = 0; o < t.length; o++)
3450
3450
  e.push({
3451
3451
  value: t[o],
3452
- at: Ct(i, s, r[o]),
3452
+ at: Vt(i, s, r[o]),
3453
3453
  easing: gs(n, o)
3454
3454
  });
3455
3455
  }
@@ -3479,7 +3479,7 @@ function oc(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
3479
3479
  const A = (M, x, C, N = 0, f = 0) => {
3480
3480
  const T = ac(M), { delay: $ = 0, times: P = $s(T), type: z = "keyframes", repeat: X, repeatType: le, repeatDelay: ce = 0, ...Z } = x;
3481
3481
  let { ease: G = t.ease || "easeOut", duration: w } = x;
3482
- const te = typeof $ == "function" ? $(N, f) : $, J = T.length, re = br(z) ? z : i == null ? void 0 : i[z || "keyframes"];
3482
+ const te = typeof $ == "function" ? $(N, f) : $, J = T.length, re = yr(z) ? z : i == null ? void 0 : i[z || "keyframes"];
3483
3483
  if (J <= 2 && re) {
3484
3484
  let Q = 100;
3485
3485
  if (J === 2 && uc(T)) {
@@ -3531,7 +3531,7 @@ function oc(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
3531
3531
  const m = [], y = [], A = [];
3532
3532
  for (let x = 0; x < v.length; x++) {
3533
3533
  const { at: C, value: N, easing: f } = v[x];
3534
- m.push(N), y.push(/* @__PURE__ */ sr(0, h, C)), A.push(f || "easeOut");
3534
+ m.push(N), y.push(/* @__PURE__ */ or(0, h, C)), A.push(f || "easeOut");
3535
3535
  }
3536
3536
  y[0] !== 0 && (y.unshift(0), m.unshift(m[0]), A.unshift(sc)), y[y.length - 1] !== 1 && (y.push(1), m.push(null)), o.has(b) || o.set(b, {
3537
3537
  keyframes: {},
@@ -3612,7 +3612,7 @@ function bc(e, t) {
3612
3612
  e.addValue("willChange", r), r.add(t);
3613
3613
  }
3614
3614
  }
3615
- const vr = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), yc = "framerAppearId", _c = "data-" + vr(yc);
3615
+ const wr = (e) => e.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), yc = "framerAppearId", _c = "data-" + wr(yc);
3616
3616
  function vc(e) {
3617
3617
  return e.props[_c];
3618
3618
  }
@@ -3664,7 +3664,7 @@ const Xs = (e, t, n, r = {}, i, s) => (o) => {
3664
3664
  };
3665
3665
  Cc(a) || Object.assign(d, Mc(e, d)), d.duration && (d.duration = /* @__PURE__ */ we(d.duration)), d.repeatDelay && (d.repeatDelay = /* @__PURE__ */ we(d.repeatDelay)), d.from !== void 0 && (d.keyframes[0] = d.from);
3666
3666
  let u = !1;
3667
- if ((d.type === !1 || d.duration === 0 && !d.repeatDelay) && (Dn(d), d.delay === 0 && (u = !0)), (Ae.instantAnimations || Ae.skipAnimations) && (u = !0, Dn(d), d.delay = 0), d.allowFlatten = !a.type && !a.ease, u && !s && t.get() !== void 0) {
3667
+ if ((d.type === !1 || d.duration === 0 && !d.repeatDelay) && (zn(d), d.delay === 0 && (u = !0)), (Ae.instantAnimations || Ae.skipAnimations) && (u = !0, zn(d), d.delay = 0), d.allowFlatten = !a.type && !a.ease, u && !s && t.get() !== void 0) {
3668
3668
  const h = xc(d.keyframes, a);
3669
3669
  if (h !== void 0) {
3670
3670
  Me.update(() => {
@@ -3673,7 +3673,7 @@ const Xs = (e, t, n, r = {}, i, s) => (o) => {
3673
3673
  return;
3674
3674
  }
3675
3675
  }
3676
- return a.isSync ? new mr(d) : new $l(d);
3676
+ return a.isSync ? new gr(d) : new $l(d);
3677
3677
  };
3678
3678
  function Vc({ protectedKeys: e, needsAnimating: t }, n) {
3679
3679
  const r = e.hasOwnProperty(n) && t[n] !== !0;
@@ -3751,22 +3751,22 @@ const ui = {
3751
3751
  pan: ["onPan", "onPanStart", "onPanSessionStart", "onPanEnd"],
3752
3752
  inView: ["whileInView", "onViewportEnter", "onViewportLeave"],
3753
3753
  layout: ["layout", "layoutId"]
3754
- }, Bn = {};
3754
+ }, Wn = {};
3755
3755
  for (const e in ui)
3756
- Bn[e] = {
3756
+ Wn[e] = {
3757
3757
  isEnabled: (t) => ui[e].some((n) => !!t[n])
3758
3758
  };
3759
- const di = () => ({ min: 0, max: 0 }), wr = () => ({
3759
+ const di = () => ({ min: 0, max: 0 }), xr = () => ({
3760
3760
  x: di(),
3761
3761
  y: di()
3762
- }), Fc = typeof window != "undefined", Wn = { current: null }, Zs = { current: !1 };
3762
+ }), Fc = typeof window != "undefined", Un = { current: null }, Zs = { current: !1 };
3763
3763
  function qc() {
3764
3764
  if (Zs.current = !0, !!Fc)
3765
3765
  if (window.matchMedia) {
3766
- const e = window.matchMedia("(prefers-reduced-motion)"), t = () => Wn.current = e.matches;
3766
+ const e = window.matchMedia("(prefers-reduced-motion)"), t = () => Un.current = e.matches;
3767
3767
  e.addEventListener("change", t), t();
3768
3768
  } else
3769
- Wn.current = !1;
3769
+ Un.current = !1;
3770
3770
  }
3771
3771
  function Nc(e) {
3772
3772
  return e !== null && typeof e == "object" && typeof e.start == "function";
@@ -3830,7 +3830,7 @@ class Qs {
3830
3830
  return {};
3831
3831
  }
3832
3832
  constructor({ parent: t, props: n, presenceContext: r, reducedMotionConfig: i, blockInitialAnimation: s, visualState: o }, a = {}) {
3833
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = gr, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
3833
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = br, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
3834
3834
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
3835
3835
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
3836
3836
  const h = de.now();
@@ -3846,11 +3846,11 @@ class Qs {
3846
3846
  }
3847
3847
  mount(t) {
3848
3848
  var n;
3849
- this.current = t, xt.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((r, i) => this.bindToMotionValue(i, r)), Zs.current || qc(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Wn.current, (n = this.parent) == null || n.addChild(this), this.update(this.props, this.presenceContext);
3849
+ this.current = t, xt.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((r, i) => this.bindToMotionValue(i, r)), Zs.current || qc(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Un.current, (n = this.parent) == null || n.addChild(this), this.update(this.props, this.presenceContext);
3850
3850
  }
3851
3851
  unmount() {
3852
3852
  var t;
3853
- this.projection && this.projection.unmount(), Cn(this.notifyUpdate), Cn(this.render), this.valueSubscriptions.forEach((n) => n()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), (t = this.parent) == null || t.removeChild(this);
3853
+ this.projection && this.projection.unmount(), Vn(this.notifyUpdate), Vn(this.render), this.valueSubscriptions.forEach((n) => n()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), (t = this.parent) == null || t.removeChild(this);
3854
3854
  for (const n in this.events)
3855
3855
  this.events[n].clear();
3856
3856
  for (const n in this.features) {
@@ -3883,8 +3883,8 @@ class Qs {
3883
3883
  }
3884
3884
  updateFeatures() {
3885
3885
  let t = "animation";
3886
- for (t in Bn) {
3887
- const n = Bn[t];
3886
+ for (t in Wn) {
3887
+ const n = Wn[t];
3888
3888
  if (!n)
3889
3889
  continue;
3890
3890
  const { isEnabled: r, Feature: i } = n;
@@ -3903,7 +3903,7 @@ class Qs {
3903
3903
  * removed with a re-render to work.
3904
3904
  */
3905
3905
  measureViewportBox() {
3906
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : wr();
3906
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : xr();
3907
3907
  }
3908
3908
  getStaticValue(t) {
3909
3909
  return this.latestValues[t];
@@ -4060,7 +4060,7 @@ function Uc(e, t, n) {
4060
4060
  continue;
4061
4061
  let l = !0;
4062
4062
  if (typeof a == "number" ? l = a === (o.startsWith("scale") ? 1 : 0) : l = parseFloat(a) === 0, !l || n) {
4063
- const c = Gs(a, yr[o]);
4063
+ const c = Gs(a, _r[o]);
4064
4064
  if (!l) {
4065
4065
  i = !1;
4066
4066
  const d = Bc[o] || o;
@@ -4083,7 +4083,7 @@ function to(e, t, n) {
4083
4083
  i[l] = c;
4084
4084
  continue;
4085
4085
  } else {
4086
- const d = Gs(c, yr[l]);
4086
+ const d = Gs(c, _r[l]);
4087
4087
  l.startsWith("origin") ? (a = !0, s[l] = d) : r[l] = d;
4088
4088
  }
4089
4089
  }
@@ -4122,7 +4122,7 @@ class Hc extends eo {
4122
4122
  readValueFromInstance(t, n) {
4123
4123
  var r;
4124
4124
  if (at.has(n))
4125
- return (r = this.projection) != null && r.isProjecting ? qn(n) : cl(t, n);
4125
+ return (r = this.projection) != null && r.isProjecting ? Nn(n) : cl(t, n);
4126
4126
  {
4127
4127
  const i = Kc(t), s = (vs(n) ? i.getPropertyValue(n) : i[n]) || 0;
4128
4128
  return typeof s == "string" ? s.trim() : s;
@@ -4158,7 +4158,7 @@ class Xc extends Qs {
4158
4158
  delete n.output[t];
4159
4159
  }
4160
4160
  measureInstanceViewportBox() {
4161
- return wr();
4161
+ return xr();
4162
4162
  }
4163
4163
  build(t, n) {
4164
4164
  Object.assign(t.output, n);
@@ -4231,7 +4231,7 @@ const io = /* @__PURE__ */ new Set([
4231
4231
  function nu(e, t, n, r) {
4232
4232
  no(e, t, void 0, r);
4233
4233
  for (const i in t.attrs)
4234
- e.setAttribute(io.has(i) ? i : vr(i), t.attrs[i]);
4234
+ e.setAttribute(io.has(i) ? i : wr(i), t.attrs[i]);
4235
4235
  }
4236
4236
  function ru(e, t, n) {
4237
4237
  const r = ro(e, t, n);
@@ -4244,7 +4244,7 @@ function ru(e, t, n) {
4244
4244
  }
4245
4245
  class iu extends eo {
4246
4246
  constructor() {
4247
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = wr;
4247
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = xr;
4248
4248
  }
4249
4249
  getBaseTargetFromProps(t, n) {
4250
4250
  return t[n];
@@ -4254,7 +4254,7 @@ class iu extends eo {
4254
4254
  const r = Us(n);
4255
4255
  return r && r.default || 0;
4256
4256
  }
4257
- return n = io.has(n) ? n : vr(n), t.getAttribute(n);
4257
+ return n = io.has(n) ? n : wr(n), t.getAttribute(n);
4258
4258
  }
4259
4259
  scrapeMotionValuesFromProps(t, n, r) {
4260
4260
  return ru(t, n, r);
@@ -4304,12 +4304,12 @@ function au(e, t, n) {
4304
4304
  return r.start(Xs("", r, t, n)), r.animation;
4305
4305
  }
4306
4306
  function lu(e, t) {
4307
- return ne(e) || typeof e == "number" || typeof e == "string" && !_r(t);
4307
+ return ne(e) || typeof e == "number" || typeof e == "string" && !vr(t);
4308
4308
  }
4309
4309
  function so(e, t, n, r) {
4310
4310
  const i = [];
4311
4311
  if (lu(e, t))
4312
- i.push(au(e, _r(t) && t.default || t, n && (n.default || n)));
4312
+ i.push(au(e, vr(t) && t.default || t, n && (n.default || n)));
4313
4313
  else {
4314
4314
  const s = Hs(e, t, r), o = s.length;
4315
4315
  for (let a = 0; a < o; a++) {
@@ -4358,14 +4358,14 @@ function fu() {
4358
4358
  for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = oo(e)) && (r && (r += " "), r += t);
4359
4359
  return r;
4360
4360
  }
4361
- const xr = "-", hu = (e) => {
4361
+ const kr = "-", hu = (e) => {
4362
4362
  const t = mu(e), {
4363
4363
  conflictingClassGroups: n,
4364
4364
  conflictingClassGroupModifiers: r
4365
4365
  } = e;
4366
4366
  return {
4367
4367
  getClassGroupId: (o) => {
4368
- const a = o.split(xr);
4368
+ const a = o.split(kr);
4369
4369
  return a[0] === "" && a.length !== 1 && a.shift(), ao(a, t) || pu(o);
4370
4370
  },
4371
4371
  getConflictingClassGroupIds: (o, a) => {
@@ -4382,7 +4382,7 @@ const xr = "-", hu = (e) => {
4382
4382
  return i;
4383
4383
  if (t.validators.length === 0)
4384
4384
  return;
4385
- const s = e.join(xr);
4385
+ const s = e.join(kr);
4386
4386
  return (o = t.validators.find(({
4387
4387
  validator: a
4388
4388
  }) => a(s))) == null ? void 0 : o.classGroupId;
@@ -4401,9 +4401,9 @@ const xr = "-", hu = (e) => {
4401
4401
  validators: []
4402
4402
  };
4403
4403
  for (const i in n)
4404
- Un(n[i], r, i, t);
4404
+ jn(n[i], r, i, t);
4405
4405
  return r;
4406
- }, Un = (e, t, n, r) => {
4406
+ }, jn = (e, t, n, r) => {
4407
4407
  e.forEach((i) => {
4408
4408
  if (typeof i == "string") {
4409
4409
  const s = i === "" ? t : pi(t, i);
@@ -4412,7 +4412,7 @@ const xr = "-", hu = (e) => {
4412
4412
  }
4413
4413
  if (typeof i == "function") {
4414
4414
  if (gu(i)) {
4415
- Un(i(r), t, n, r);
4415
+ jn(i(r), t, n, r);
4416
4416
  return;
4417
4417
  }
4418
4418
  t.validators.push({
@@ -4422,12 +4422,12 @@ const xr = "-", hu = (e) => {
4422
4422
  return;
4423
4423
  }
4424
4424
  Object.entries(i).forEach(([s, o]) => {
4425
- Un(o, pi(t, s), n, r);
4425
+ jn(o, pi(t, s), n, r);
4426
4426
  });
4427
4427
  });
4428
4428
  }, pi = (e, t) => {
4429
4429
  let n = e;
4430
- return t.split(xr).forEach((r) => {
4430
+ return t.split(kr).forEach((r) => {
4431
4431
  n.nextPart.has(r) || n.nextPart.set(r, {
4432
4432
  nextPart: /* @__PURE__ */ new Map(),
4433
4433
  validators: []
@@ -4457,7 +4457,7 @@ const xr = "-", hu = (e) => {
4457
4457
  n.has(s) ? n.set(s, o) : i(s, o);
4458
4458
  }
4459
4459
  };
4460
- }, jn = "!", Gn = ":", yu = Gn.length, _u = (e) => {
4460
+ }, Gn = "!", Kn = ":", yu = Kn.length, _u = (e) => {
4461
4461
  const {
4462
4462
  prefix: t,
4463
4463
  experimentalParseClassName: n
@@ -4468,7 +4468,7 @@ const xr = "-", hu = (e) => {
4468
4468
  for (let b = 0; b < i.length; b++) {
4469
4469
  let _ = i[b];
4470
4470
  if (o === 0 && a === 0) {
4471
- if (_ === Gn) {
4471
+ if (_ === Kn) {
4472
4472
  s.push(i.slice(l, b)), l = b + yu;
4473
4473
  continue;
4474
4474
  }
@@ -4488,7 +4488,7 @@ const xr = "-", hu = (e) => {
4488
4488
  };
4489
4489
  };
4490
4490
  if (t) {
4491
- const i = t + Gn, s = r;
4491
+ const i = t + Kn, s = r;
4492
4492
  r = (o) => o.startsWith(i) ? s(o.substring(i.length)) : {
4493
4493
  isExternal: !0,
4494
4494
  modifiers: [],
@@ -4505,7 +4505,7 @@ const xr = "-", hu = (e) => {
4505
4505
  });
4506
4506
  }
4507
4507
  return r;
4508
- }, vu = (e) => e.endsWith(jn) ? e.substring(0, e.length - 1) : e.startsWith(jn) ? e.substring(1) : e, wu = (e) => {
4508
+ }, vu = (e) => e.endsWith(Gn) ? e.substring(0, e.length - 1) : e.startsWith(Gn) ? e.substring(1) : e, wu = (e) => {
4509
4509
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
4510
4510
  return (r) => {
4511
4511
  if (r.length <= 1)
@@ -4553,7 +4553,7 @@ const xr = "-", hu = (e) => {
4553
4553
  }
4554
4554
  v = !1;
4555
4555
  }
4556
- const y = s(h).join(":"), A = p ? y + jn : y, M = A + m;
4556
+ const y = s(h).join(":"), A = p ? y + Gn : y, M = A + m;
4557
4557
  if (o.includes(M))
4558
4558
  continue;
4559
4559
  o.push(M);
@@ -4600,12 +4600,12 @@ function Au(e, ...t) {
4600
4600
  const H = (e) => {
4601
4601
  const t = (n) => n[e] || [];
4602
4602
  return t.isThemeGetter = !0, t;
4603
- }, co = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, uo = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Mu = /^\d+\/\d+$/, Cu = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Vu = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Eu = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Pu = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, $u = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ue = (e) => Mu.test(e), R = (e) => !!e && !Number.isNaN(Number(e)), Ce = (e) => !!e && Number.isInteger(Number(e)), pn = (e) => e.endsWith("%") && R(e.slice(0, -1)), xe = (e) => Cu.test(e), Ru = () => !0, Fu = (e) => (
4603
+ }, co = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, uo = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Mu = /^\d+\/\d+$/, Cu = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Vu = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Eu = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Pu = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, $u = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ue = (e) => Mu.test(e), R = (e) => !!e && !Number.isNaN(Number(e)), Ce = (e) => !!e && Number.isInteger(Number(e)), mn = (e) => e.endsWith("%") && R(e.slice(0, -1)), xe = (e) => Cu.test(e), Ru = () => !0, Fu = (e) => (
4604
4604
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
4605
4605
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
4606
4606
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
4607
4607
  Vu.test(e) && !Eu.test(e)
4608
- ), fo = () => !1, qu = (e) => Pu.test(e), Nu = (e) => $u.test(e), Iu = (e) => !k(e) && !S(e), Lu = (e) => lt(e, mo, fo), k = (e) => co.test(e), Fe = (e) => lt(e, go, Fu), mn = (e) => lt(e, Wu, R), mi = (e) => lt(e, ho, fo), Ou = (e) => lt(e, po, Nu), Ft = (e) => lt(e, bo, qu), S = (e) => uo.test(e), dt = (e) => ct(e, go), Du = (e) => ct(e, Uu), gi = (e) => ct(e, ho), zu = (e) => ct(e, mo), Bu = (e) => ct(e, po), qt = (e) => ct(e, bo, !0), lt = (e, t, n) => {
4608
+ ), fo = () => !1, qu = (e) => Pu.test(e), Nu = (e) => $u.test(e), Iu = (e) => !k(e) && !S(e), Lu = (e) => lt(e, mo, fo), k = (e) => co.test(e), Fe = (e) => lt(e, go, Fu), gn = (e) => lt(e, Wu, R), mi = (e) => lt(e, ho, fo), Ou = (e) => lt(e, po, Nu), qt = (e) => lt(e, bo, qu), S = (e) => uo.test(e), dt = (e) => ct(e, go), Du = (e) => ct(e, Uu), gi = (e) => ct(e, ho), zu = (e) => ct(e, mo), Bu = (e) => ct(e, po), Nt = (e) => ct(e, bo, !0), lt = (e, t, n) => {
4609
4609
  const r = co.exec(e);
4610
4610
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
4611
4611
  }, ct = (e, t, n = !1) => {
@@ -4638,7 +4638,7 @@ const H = (e) => {
4638
4638
  repeat: ["", "x", "y", "space", "round"]
4639
4639
  }], re = () => ["auto", "cover", "contain", zu, Lu, {
4640
4640
  size: [S, k]
4641
- }], fe = () => [pn, dt, Fe], I = () => [
4641
+ }], fe = () => [mn, dt, Fe], I = () => [
4642
4642
  // Deprecated since Tailwind CSS v4.0.0
4643
4643
  "",
4644
4644
  "none",
@@ -4646,14 +4646,14 @@ const H = (e) => {
4646
4646
  c,
4647
4647
  S,
4648
4648
  k
4649
- ], B = () => ["", R, dt, Fe], Q = () => ["solid", "dashed", "dotted", "double"], se = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => [R, pn, gi, mi], be = () => [
4649
+ ], B = () => ["", R, dt, Fe], Q = () => ["solid", "dashed", "dotted", "double"], se = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => [R, mn, gi, mi], be = () => [
4650
4650
  // Deprecated since Tailwind CSS v4.0.0
4651
4651
  "",
4652
4652
  "none",
4653
4653
  b,
4654
4654
  S,
4655
4655
  k
4656
- ], ye = () => ["none", R, S, k], Vt = () => ["none", R, S, k], rn = () => [R, S, k], Et = () => [Ue, "full", ...f()];
4656
+ ], ye = () => ["none", R, S, k], Et = () => ["none", R, S, k], sn = () => [R, S, k], Pt = () => [Ue, "full", ...f()];
4657
4657
  return {
4658
4658
  cacheSize: 500,
4659
4659
  theme: {
@@ -5363,14 +5363,14 @@ const H = (e) => {
5363
5363
  * @see https://tailwindcss.com/docs/font-weight
5364
5364
  */
5365
5365
  "font-weight": [{
5366
- font: [r, S, mn]
5366
+ font: [r, S, gn]
5367
5367
  }],
5368
5368
  /**
5369
5369
  * Font Stretch
5370
5370
  * @see https://tailwindcss.com/docs/font-stretch
5371
5371
  */
5372
5372
  "font-stretch": [{
5373
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", pn, k]
5373
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", mn, k]
5374
5374
  }],
5375
5375
  /**
5376
5376
  * Font Family
@@ -5421,7 +5421,7 @@ const H = (e) => {
5421
5421
  * @see https://tailwindcss.com/docs/line-clamp
5422
5422
  */
5423
5423
  "line-clamp": [{
5424
- "line-clamp": [R, "none", S, mn]
5424
+ "line-clamp": [R, "none", S, gn]
5425
5425
  }],
5426
5426
  /**
5427
5427
  * Line Height
@@ -6003,8 +6003,8 @@ const H = (e) => {
6003
6003
  "",
6004
6004
  "none",
6005
6005
  d,
6006
- qt,
6007
- Ft
6006
+ Nt,
6007
+ qt
6008
6008
  ]
6009
6009
  }],
6010
6010
  /**
@@ -6019,7 +6019,7 @@ const H = (e) => {
6019
6019
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
6020
6020
  */
6021
6021
  "inset-shadow": [{
6022
- "inset-shadow": ["none", u, qt, Ft]
6022
+ "inset-shadow": ["none", u, Nt, qt]
6023
6023
  }],
6024
6024
  /**
6025
6025
  * Inset Box Shadow Color
@@ -6086,7 +6086,7 @@ const H = (e) => {
6086
6086
  * @see https://tailwindcss.com/docs/text-shadow
6087
6087
  */
6088
6088
  "text-shadow": [{
6089
- "text-shadow": ["none", h, qt, Ft]
6089
+ "text-shadow": ["none", h, Nt, qt]
6090
6090
  }],
6091
6091
  /**
6092
6092
  * Text Shadow Color
@@ -6359,8 +6359,8 @@ const H = (e) => {
6359
6359
  "",
6360
6360
  "none",
6361
6361
  p,
6362
- qt,
6363
- Ft
6362
+ Nt,
6363
+ qt
6364
6364
  ]
6365
6365
  }],
6366
6366
  /**
@@ -6628,28 +6628,28 @@ const H = (e) => {
6628
6628
  * @see https://tailwindcss.com/docs/scale
6629
6629
  */
6630
6630
  scale: [{
6631
- scale: Vt()
6631
+ scale: Et()
6632
6632
  }],
6633
6633
  /**
6634
6634
  * Scale X
6635
6635
  * @see https://tailwindcss.com/docs/scale
6636
6636
  */
6637
6637
  "scale-x": [{
6638
- "scale-x": Vt()
6638
+ "scale-x": Et()
6639
6639
  }],
6640
6640
  /**
6641
6641
  * Scale Y
6642
6642
  * @see https://tailwindcss.com/docs/scale
6643
6643
  */
6644
6644
  "scale-y": [{
6645
- "scale-y": Vt()
6645
+ "scale-y": Et()
6646
6646
  }],
6647
6647
  /**
6648
6648
  * Scale Z
6649
6649
  * @see https://tailwindcss.com/docs/scale
6650
6650
  */
6651
6651
  "scale-z": [{
6652
- "scale-z": Vt()
6652
+ "scale-z": Et()
6653
6653
  }],
6654
6654
  /**
6655
6655
  * Scale 3D
@@ -6661,21 +6661,21 @@ const H = (e) => {
6661
6661
  * @see https://tailwindcss.com/docs/skew
6662
6662
  */
6663
6663
  skew: [{
6664
- skew: rn()
6664
+ skew: sn()
6665
6665
  }],
6666
6666
  /**
6667
6667
  * Skew X
6668
6668
  * @see https://tailwindcss.com/docs/skew
6669
6669
  */
6670
6670
  "skew-x": [{
6671
- "skew-x": rn()
6671
+ "skew-x": sn()
6672
6672
  }],
6673
6673
  /**
6674
6674
  * Skew Y
6675
6675
  * @see https://tailwindcss.com/docs/skew
6676
6676
  */
6677
6677
  "skew-y": [{
6678
- "skew-y": rn()
6678
+ "skew-y": sn()
6679
6679
  }],
6680
6680
  /**
6681
6681
  * Transform
@@ -6703,28 +6703,28 @@ const H = (e) => {
6703
6703
  * @see https://tailwindcss.com/docs/translate
6704
6704
  */
6705
6705
  translate: [{
6706
- translate: Et()
6706
+ translate: Pt()
6707
6707
  }],
6708
6708
  /**
6709
6709
  * Translate X
6710
6710
  * @see https://tailwindcss.com/docs/translate
6711
6711
  */
6712
6712
  "translate-x": [{
6713
- "translate-x": Et()
6713
+ "translate-x": Pt()
6714
6714
  }],
6715
6715
  /**
6716
6716
  * Translate Y
6717
6717
  * @see https://tailwindcss.com/docs/translate
6718
6718
  */
6719
6719
  "translate-y": [{
6720
- "translate-y": Et()
6720
+ "translate-y": Pt()
6721
6721
  }],
6722
6722
  /**
6723
6723
  * Translate Z
6724
6724
  * @see https://tailwindcss.com/docs/translate
6725
6725
  */
6726
6726
  "translate-z": [{
6727
- "translate-z": Et()
6727
+ "translate-z": Pt()
6728
6728
  }],
6729
6729
  /**
6730
6730
  * Translate None
@@ -7006,7 +7006,7 @@ const H = (e) => {
7006
7006
  * @see https://tailwindcss.com/docs/stroke-width
7007
7007
  */
7008
7008
  "stroke-w": [{
7009
- stroke: [R, dt, Fe, mn]
7009
+ stroke: [R, dt, Fe, gn]
7010
7010
  }],
7011
7011
  /**
7012
7012
  * Stroke
@@ -7082,7 +7082,7 @@ const H = (e) => {
7082
7082
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
7083
7083
  };
7084
7084
  }, Gu = /* @__PURE__ */ Au(ju);
7085
- function kr(...e) {
7085
+ function kt(...e) {
7086
7086
  return Gu(fu(e));
7087
7087
  }
7088
7088
  function Ku(e, t) {
@@ -7124,20 +7124,20 @@ function _o(e, t, n) {
7124
7124
  return _o(r, t, n);
7125
7125
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
7126
7126
  }
7127
- function gn() {
7127
+ function bn() {
7128
7128
  this.__u = 0, this.o = null, this.__b = null;
7129
7129
  }
7130
7130
  function vo(e) {
7131
7131
  var t = e.__.__c;
7132
7132
  return t && t.__a && t.__a(e);
7133
7133
  }
7134
- function Nt() {
7134
+ function It() {
7135
7135
  this.i = null, this.l = null;
7136
7136
  }
7137
7137
  E.unmount = function(e) {
7138
7138
  var t = e.__c;
7139
7139
  t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), vi && vi(e);
7140
- }, (gn.prototype = new ve()).__c = function(e, t) {
7140
+ }, (bn.prototype = new ve()).__c = function(e, t) {
7141
7141
  var n = t.__c, r = this;
7142
7142
  r.o == null && (r.o = []), r.o.push(n);
7143
7143
  var i = vo(r.__v), s = !1, o = function() {
@@ -7155,9 +7155,9 @@ E.unmount = function(e) {
7155
7155
  }
7156
7156
  };
7157
7157
  r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(o, o);
7158
- }, gn.prototype.componentWillUnmount = function() {
7158
+ }, bn.prototype.componentWillUnmount = function() {
7159
7159
  this.o = [];
7160
- }, gn.prototype.render = function(e, t) {
7160
+ }, bn.prototype.render = function(e, t) {
7161
7161
  if (this.__b) {
7162
7162
  if (this.__v.__k) {
7163
7163
  var n = document.createElement("div"), r = this.__v.__k[0].__c;
@@ -7200,7 +7200,7 @@ function Zu(e, t) {
7200
7200
  var n = bt(Xu, { __v: e, h: t });
7201
7201
  return n.containerInfo = t, n;
7202
7202
  }
7203
- (Nt.prototype = new ve()).__a = function(e) {
7203
+ (It.prototype = new ve()).__a = function(e) {
7204
7204
  var t = this, n = vo(t.__v), r = t.l.get(e);
7205
7205
  return r[0]++, function(i) {
7206
7206
  var s = function() {
@@ -7208,13 +7208,13 @@ function Zu(e, t) {
7208
7208
  };
7209
7209
  n ? n(s) : s();
7210
7210
  };
7211
- }, Nt.prototype.render = function(e) {
7211
+ }, It.prototype.render = function(e) {
7212
7212
  this.i = null, this.l = /* @__PURE__ */ new Map();
7213
- var t = Bt(e.children);
7213
+ var t = Wt(e.children);
7214
7214
  e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
7215
7215
  for (var n = t.length; n--; ) this.l.set(t[n], this.i = [1, 0, this.i]);
7216
7216
  return e.children;
7217
- }, Nt.prototype.componentDidUpdate = Nt.prototype.componentDidMount = function() {
7217
+ }, It.prototype.componentDidUpdate = It.prototype.componentDidMount = function() {
7218
7218
  var e = this;
7219
7219
  this.l.forEach(function(t, n) {
7220
7220
  wi(e, n, t);
@@ -7255,9 +7255,9 @@ E.vnode = function(e) {
7255
7255
  o === "defaultValue" && "value" in n && n.value == null ? o = "value" : o === "download" && a === !0 ? a = "" : l === "translate" && a === "no" ? a = !1 : l[0] === "o" && l[1] === "n" ? l === "ondoubleclick" ? o = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || rd(n.type) ? l === "onfocus" ? o = "onfocusin" : l === "onblur" ? o = "onfocusout" : ed.test(o) && (o = l) : l = o = "oninput" : s && Qu.test(o) ? o = o.replace(td, "-$&").toLowerCase() : a === null && (a = void 0), l === "oninput" && i[o = l] && (o = "oninputCapture"), i[o] = a;
7256
7256
  }
7257
7257
  }
7258
- r == "select" && i.multiple && Array.isArray(i.value) && (i.value = Bt(n.children).forEach(function(c) {
7258
+ r == "select" && i.multiple && Array.isArray(i.value) && (i.value = Wt(n.children).forEach(function(c) {
7259
7259
  c.props.selected = i.value.indexOf(c.props.value) != -1;
7260
- })), r == "select" && i.defaultValue != null && (i.value = Bt(n.children).forEach(function(c) {
7260
+ })), r == "select" && i.defaultValue != null && (i.value = Wt(n.children).forEach(function(c) {
7261
7261
  c.props.selected = i.multiple ? i.defaultValue.indexOf(c.props.value) != -1 : i.defaultValue == c.props.value;
7262
7262
  })), n.class && !n.className ? (i.class = n.class, Object.defineProperty(i, "className", ad)) : (n.className && !n.class || n.class && n.className) && (i.class = i.className = n.className), t.props = i;
7263
7263
  }(e), e.$$typeof = Ju, ki && ki(e);
@@ -7278,12 +7278,12 @@ function cd({
7278
7278
  theme: t,
7279
7279
  base: n = "https://www.squelette.app"
7280
7280
  }) {
7281
- const r = ae(null), i = ae(null), s = ae(null), o = ae(null), [a, l] = Ut(null), c = ae(null), d = ae(!1);
7281
+ const r = ae(null), i = ae(null), s = ae(null), o = ae(null), [a, l] = jt(null), c = ae(null), d = ae(!1);
7282
7282
  $e(() => {
7283
7283
  const m = document.createElement("div");
7284
7284
  m.id = "squelette-banner-modal-portal", m.style.position = "fixed", m.style.inset = "0", m.style.zIndex = "999999", m.style.pointerEvents = "none";
7285
7285
  const y = m.attachShadow({ mode: "open" });
7286
- return tn(y, Ui), document.body.appendChild(m), s.current = m, l(y), () => {
7286
+ return nn(y, Ui), document.body.appendChild(m), s.current = m, l(y), () => {
7287
7287
  s.current && (document.body.removeChild(s.current), s.current = null, l(null));
7288
7288
  };
7289
7289
  }, []);
@@ -7291,7 +7291,7 @@ function cd({
7291
7291
  var m;
7292
7292
  if (!(!((m = o.current) != null && m.contentWindow) || !c.current))
7293
7293
  try {
7294
- const y = new URL(Sn).origin;
7294
+ const y = new URL(Tn).origin;
7295
7295
  o.current.contentWindow.postMessage(
7296
7296
  {
7297
7297
  type: "squelette-identify",
@@ -7352,7 +7352,7 @@ function cd({
7352
7352
  };
7353
7353
  if (!a)
7354
7354
  return null;
7355
- const _ = Jn(
7355
+ const _ = Qn(
7356
7356
  () => /* @__PURE__ */ F(
7357
7357
  "iframe",
7358
7358
  {
@@ -7367,14 +7367,20 @@ function cd({
7367
7367
  "div",
7368
7368
  {
7369
7369
  ref: r,
7370
- className: "fixed inset-0 bg-black/40 backdrop-blur-sm flex items-center justify-center",
7370
+ className: kt(
7371
+ "fixed inset-0 backdrop-blur-sm flex items-center justify-center",
7372
+ t === "dark" ? "bg-black/30" : "bg-white/30"
7373
+ ),
7371
7374
  style: { pointerEvents: je.value ? "auto" : "none", opacity: 0 },
7372
7375
  onClick: b,
7373
7376
  children: /* @__PURE__ */ F(
7374
7377
  "div",
7375
7378
  {
7376
7379
  ref: i,
7377
- className: "rounded-[32px] shadow-lg max-w-lg w-full mx-4 p-0 border-none outline-none relative overflow-hidden",
7380
+ className: kt(
7381
+ "rounded-[32px] border-[3px] shadow-lg max-w-lg w-full mx-4 p-0 outline-none relative overflow-hidden",
7382
+ t === "light" ? "border-[#f0f0f0]" : "border-[#222222]"
7383
+ ),
7378
7384
  style: { opacity: 0, transform: "translateY(-70px)", height: 650 },
7379
7385
  children: _
7380
7386
  }
@@ -7389,7 +7395,7 @@ const wo = () => {
7389
7395
  } catch {
7390
7396
  return !0;
7391
7397
  }
7392
- }, ud = 5 * 60 * 1e3, Ai = "squelette_banner_last_ticket", he = Be(null), Jt = Be(!1), bn = Be(!0);
7398
+ }, ud = 5 * 60 * 1e3, Ai = "squelette_banner_last_ticket", he = Be(null), Qt = Be(!1), yn = Be(!0);
7393
7399
  function dd({
7394
7400
  workspaceSlug: e = "squelette",
7395
7401
  theme: t,
@@ -7400,7 +7406,7 @@ function dd({
7400
7406
  gd(n, e).then((a) => {
7401
7407
  if (!a) return;
7402
7408
  const l = localStorage.getItem(Ai);
7403
- (!wo() || !l || new Date(a.created_at) > new Date(l)) && (he.value = a, bn.value = !0);
7409
+ (!wo() || !l || new Date(a.created_at) > new Date(l)) && (he.value = a, yn.value = !0);
7404
7410
  });
7405
7411
  }, [e]), $e(() => {
7406
7412
  if (!r.current || !he.value) return;
@@ -7412,7 +7418,7 @@ function dd({
7412
7418
  ease: pd,
7413
7419
  duration: 1,
7414
7420
  onComplete: () => {
7415
- Jt.value = !0;
7421
+ Qt.value = !0;
7416
7422
  }
7417
7423
  }
7418
7424
  );
@@ -7440,16 +7446,16 @@ function dd({
7440
7446
  };
7441
7447
  }, [he.value]);
7442
7448
  const s = async () => {
7443
- !he.value || !r.current || (Jt.value = !1, await new Promise((a) => setTimeout(a, 400)), await _e(
7449
+ !he.value || !r.current || (Qt.value = !1, await new Promise((a) => setTimeout(a, 400)), await _e(
7444
7450
  r.current,
7445
7451
  { y: "-100%", opacity: 0 },
7446
7452
  { duration: 0.5, ease: [0.16, 1, 0.3, 1] }
7447
- ).finished, localStorage.setItem(Ai, he.value.created_at), bn.value = !1);
7453
+ ).finished, localStorage.setItem(Ai, he.value.created_at), yn.value = !1);
7448
7454
  }, o = () => {
7449
7455
  he.value && (ld.value = he.value, je.value = !0, s());
7450
7456
  };
7451
7457
  return he.value ? /* @__PURE__ */ F(Te, { children: [
7452
- bn.value && /* @__PURE__ */ F("div", { className: "flex items-center justify-center w-full h-[64px] overflow-visible", children: /* @__PURE__ */ F(
7458
+ yn.value && /* @__PURE__ */ F("div", { className: "flex items-center justify-center w-full h-[64px] overflow-visible", children: /* @__PURE__ */ F(
7453
7459
  "div",
7454
7460
  {
7455
7461
  className: "group rounded-full p-1 border flex items-center cursor-pointer",
@@ -7487,7 +7493,7 @@ function fd({ onClose: e }) {
7487
7493
  const t = ae(null), n = ae(null);
7488
7494
  oa(() => {
7489
7495
  if (!(!t.current || !n.current))
7490
- if (Jt.value) {
7496
+ if (Qt.value) {
7491
7497
  const i = n.current.scrollWidth;
7492
7498
  _e(
7493
7499
  t.current,
@@ -7569,7 +7575,7 @@ function hd({ className: e }) {
7569
7575
  "stroke-width": "2",
7570
7576
  "stroke-linecap": "round",
7571
7577
  "stroke-linejoin": "round",
7572
- className: kr(
7578
+ className: kt(
7573
7579
  "lucide lucide-megaphone-icon lucide-megaphone origin-center",
7574
7580
  e
7575
7581
  ),
@@ -7597,7 +7603,7 @@ function md({ className: e }) {
7597
7603
  "stroke-width": "2",
7598
7604
  "stroke-linecap": "round",
7599
7605
  "stroke-linejoin": "round",
7600
- className: kr("lucide lucide-x-icon lucide-x", e),
7606
+ className: kt("lucide lucide-x-icon lucide-x", e),
7601
7607
  children: [
7602
7608
  /* @__PURE__ */ F("path", { d: "M18 6 6 18" }),
7603
7609
  /* @__PURE__ */ F("path", { d: "m6 6 12 12" })
@@ -7637,7 +7643,7 @@ function bd({
7637
7643
  className: r,
7638
7644
  delay: i = 0.8
7639
7645
  }) {
7640
- const s = ae(null), o = ae(null), [a, l] = Ut(0), [c, d] = Ut(0);
7646
+ const s = ae(null), o = ae(null), [a, l] = jt(0), [c, d] = jt(0);
7641
7647
  Fo(() => {
7642
7648
  const _ = () => {
7643
7649
  o.current && l(Math.ceil(o.current.offsetWidth)), s.current && d(Math.ceil(s.current.offsetWidth));
@@ -7660,7 +7666,7 @@ function bd({
7660
7666
  "span",
7661
7667
  {
7662
7668
  ref: s,
7663
- className: kr(
7669
+ className: kt(
7664
7670
  "relative inline-block overflow-hidden align-baseline w-full translate-y-0.5",
7665
7671
  r
7666
7672
  ),
@@ -7674,7 +7680,7 @@ function bd({
7674
7680
  className: "inline-flex items-baseline will-change-transform",
7675
7681
  style: {
7676
7682
  gap: `${n}px`,
7677
- animation: Jt.value && u > 0 ? `marquee-banner ${b}s linear ${i}s infinite` : "none"
7683
+ animation: Qt.value && u > 0 ? `marquee-banner ${b}s linear ${i}s infinite` : "none"
7678
7684
  },
7679
7685
  children: Array.from({ length: h }).map((_, v) => /* @__PURE__ */ F(
7680
7686
  "span",
@@ -7691,11 +7697,11 @@ function bd({
7691
7697
  )
7692
7698
  ] });
7693
7699
  }
7694
- class Kn extends HTMLElement {
7700
+ class Hn extends HTMLElement {
7695
7701
  constructor() {
7696
7702
  super();
7697
7703
  ut(this, "shadow");
7698
- this.shadow = this.attachShadow({ mode: "open" }), tn(this.shadow, Ui), this.style.position = "fixed", this.style.top = "0", this.style.left = "0", this.style.right = "0", this.style.zIndex = "9999";
7704
+ this.shadow = this.attachShadow({ mode: "open" }), nn(this.shadow, Ui), this.style.position = "fixed", this.style.top = "0", this.style.left = "0", this.style.right = "0", this.style.zIndex = "9999";
7699
7705
  }
7700
7706
  connectedCallback() {
7701
7707
  var s;
@@ -7709,7 +7715,7 @@ class Kn extends HTMLElement {
7709
7715
  Je(null, this.shadow);
7710
7716
  }
7711
7717
  }
7712
- typeof window != "undefined" && typeof customElements != "undefined" && (customElements.get("squelette-banner") || (console.debug("[SqueletteBanner] auto-registering custom element"), customElements.define("squelette-banner", Kn)));
7718
+ typeof window != "undefined" && typeof customElements != "undefined" && (customElements.get("squelette-banner") || (console.debug("[SqueletteBanner] auto-registering custom element"), customElements.define("squelette-banner", Hn)));
7713
7719
  const yd = {
7714
7720
  init({
7715
7721
  slug: e,
@@ -7718,11 +7724,11 @@ const yd = {
7718
7724
  base: r
7719
7725
  }) {
7720
7726
  if (typeof document == "undefined") return null;
7721
- customElements.get("squelette-banner") || customElements.define("squelette-banner", Kn);
7727
+ customElements.get("squelette-banner") || customElements.define("squelette-banner", Hn);
7722
7728
  const i = document.querySelector("squelette-banner");
7723
7729
  if (i)
7724
7730
  return t && this.setTheme(t), i;
7725
- const s = new Kn();
7731
+ const s = new Hn();
7726
7732
  return s.setAttribute("workspace-slug", e), s.setAttribute("theme", n != null ? n : "light"), r && s.setAttribute("base", r), document.body.appendChild(s), t && this.setTheme(t), s;
7727
7733
  },
7728
7734
  setTheme(e) {
@@ -7749,13 +7755,13 @@ function _d(e) {
7749
7755
  return "Changelog";
7750
7756
  case "feedback":
7751
7757
  default:
7752
- return Ot;
7758
+ return Dt;
7753
7759
  }
7754
7760
  }
7755
7761
  function xo(e) {
7756
7762
  var i;
7757
7763
  zi();
7758
- const t = document.createElement(kn);
7764
+ const t = document.createElement(Sn);
7759
7765
  t.setAttribute("project", e.project), e.board && t.setAttribute("board", e.board), e.view && t.setAttribute("view", e.view), e.theme && t.setAttribute("theme", e.theme), e.locale && t.setAttribute("locale", e.locale), e.token && t.setAttribute("token", e.token), e.signature && t.setAttribute("signature", e.signature), e.label && t.setAttribute("label", e.label), e.apiBase && t.setAttribute("api-base", e.apiBase), e.attributes && Object.entries(e.attributes).forEach(
7760
7766
  ([s, o]) => t.setAttribute(s, o)
7761
7767
  ), ((i = e.appendTo) != null ? i : document.body).appendChild(t);
@@ -7764,7 +7770,7 @@ function xo(e) {
7764
7770
  new CustomEvent("squelette:identity", { detail: r })
7765
7771
  ), t;
7766
7772
  }
7767
- function yn(e, t, n, r) {
7773
+ function _n(e, t, n, r) {
7768
7774
  var s;
7769
7775
  const i = xo({
7770
7776
  project: t,
@@ -7795,13 +7801,13 @@ function ko() {
7795
7801
  const e = window;
7796
7802
  e.SqueletteWidget || (e.SqueletteWidget = {
7797
7803
  create: xo,
7798
- createFeedbackWidget: (t, n, r) => yn("feedback", t, n, r),
7799
- createRoadmapWidget: (t, n, r) => yn("roadmap", t, n, r),
7800
- createChangelogWidget: (t, n) => yn("changelog", t, null, n),
7804
+ createFeedbackWidget: (t, n, r) => _n("feedback", t, n, r),
7805
+ createRoadmapWidget: (t, n, r) => _n("roadmap", t, n, r),
7806
+ createChangelogWidget: (t, n) => _n("changelog", t, null, n),
7801
7807
  identify: Ho,
7802
7808
  clearIdentity: Yo,
7803
7809
  banner: yd,
7804
- version: "0.3.6",
7810
+ version: "0.3.8",
7805
7811
  cdn: Oo
7806
7812
  });
7807
7813
  }
@@ -7829,7 +7835,7 @@ export {
7829
7835
  xd as d,
7830
7836
  kd as e,
7831
7837
  ko as f,
7832
- Kn as g,
7838
+ Hn as g,
7833
7839
  yd as h,
7834
7840
  Ho as i,
7835
7841
  zi as r,