@squeletteapp/widget 0.3.7 → 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,7 +5,7 @@ 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, Yn, vn, wn, 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;
@@ -16,10 +16,10 @@ function Xn(e) {
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,11 +45,11 @@ 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() {
50
+ function Bt() {
51
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
- zt.__r = 0;
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;
@@ -58,7 +58,7 @@ function Fi(e, t, n, r, i, s, o, a, l, c, d) {
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,7 +90,7 @@ 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 {
@@ -142,7 +142,7 @@ function Zn(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;
@@ -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,18 +189,18 @@ 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--; ) 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]) && 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
  }
@@ -232,9 +232,9 @@ function Eo(e, t, 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 = [], Zn(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, Yn = 0, vn = Vr(!1), wn = 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, on, 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);
333
+ var n = tn(Qe++, 3);
334
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);
337
+ var n = tn(Qe++, 4);
338
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, Qn(function() {
341
+ return Ut = 5, Qn(function() {
342
342
  return { current: e };
343
343
  }, []);
344
344
  }
345
345
  function Qn(e, t) {
346
- var n = en(Qe++, 7);
346
+ var n = tn(Qe++, 7);
347
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(kn), 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
  }
@@ -362,7 +362,7 @@ j.__b = function(e) {
362
362
  var t = (U = e.__c).__H;
363
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(kn), t.__h = [], Qe = 0)), on = 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;
@@ -372,7 +372,7 @@ j.__b = function(e) {
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) {
375
+ n.__h.forEach(Ot), n.__h = n.__h.filter(function(r) {
376
376
  return !r.__ || kn(r);
377
377
  });
378
378
  } catch (r) {
@@ -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,7 +399,7 @@ 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
  }
@@ -474,7 +474,7 @@ function Io({
474
474
  )
475
475
  ] });
476
476
  }
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", 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) {
@@ -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();
@@ -720,7 +720,7 @@ class Ko extends HTMLElement {
720
720
  theme: "auto",
721
721
  locale: "en",
722
722
  apiBase: Tn,
723
- label: Ot,
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-DMlDSL2x.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,7 +793,7 @@ 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
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;
@@ -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,10 +855,10 @@ 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), ln(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
864
  g(this, q).apiBase = i && i.length > 0 ? i : Tn, L(this, ue, !1);
@@ -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
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,13 +996,13 @@ 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
1007
  function cn(e, t, n) {
1008
1008
  const r = Math.max(t, n);
@@ -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 = An[P]) != null ? fe : Mn, 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(
@@ -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 = 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);
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,9 +1164,9 @@ 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-\\[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\\/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 {
@@ -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, Cn = 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;
@@ -1274,11 +1274,11 @@ Object.defineProperty(Y.prototype, "value", { get: function() {
1274
1274
  }, set: function(e) {
1275
1275
  if (e !== this.v) {
1276
1276
  if (Cn > 100) throw new Error("Cycle detected");
1277
- this.v = e, this.i++, Kt++, Re++;
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 {
@@ -1363,7 +1363,7 @@ function Zi(e) {
1363
1363
  } catch (r) {
1364
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
  }
@@ -1373,7 +1373,7 @@ function tr(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 && tr(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;
@@ -1421,7 +1421,7 @@ function nt(e, t) {
1421
1421
  E[e] = t.bind(null, E[e] || function() {
1422
1422
  });
1423
1423
  }
1424
- function Ht(e) {
1424
+ function Yt(e) {
1425
1425
  un && un(), un = e && e.S();
1426
1426
  }
1427
1427
  function es(e) {
@@ -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
  }
@@ -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), 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__ */ 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
  }
@@ -1676,11 +1676,11 @@ const bs = (e) => Array.isArray(e) && typeof e[0] == "number", ba = {
1676
1676
  if (bs(e)) {
1677
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,29 +1743,29 @@ 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: Vn, 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
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",
@@ -1774,7 +1774,7 @@ const de = {
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
1780
  }, pt = (e) => Math.round(e * 1e5) / 1e5, ur = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
@@ -1812,11 +1812,11 @@ const En = {
1812
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)
@@ -1893,10 +1893,10 @@ 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, hn = (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
1902
  }, La = [En, Ne, Ge], Oa = (e) => La.find((t) => t.test(e));
@@ -1910,18 +1910,18 @@ 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 = hn(n.red, r.red, s), i.green = hn(n.green, r.green, s), i.blue = hn(n.blue, r.blue, s), i.alpha = Ct(n.alpha, r.alpha, s), Ne.transform(i));
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
1916
  }, Pn = /* @__PURE__ */ new Set(["none", "hidden"]);
1917
1917
  function Da(e, t) {
1918
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
1923
  function fr(e) {
1924
- return typeof e == "number" ? za : typeof e == "string" ? cr(e) ? Xt : K.test(e) ? Kr : Ua : Array.isArray(e) ? As : typeof e == "object" ? K.test(e) ? Kr : Ba : Xt;
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
1927
  const n = [...e], r = n.length, i = e.map((s, o) => fr(s)(s, t[o]));
@@ -1952,10 +1952,10 @@ 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 ? Pn.has(e) && !i.values.length || Pn.has(t) && !r.values.length ? Da(e, t) : sr(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) : fr(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);
@@ -1966,7 +1966,7 @@ const ja = (e) => {
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;
1977
+ }, Jt = 2e4;
1978
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(hr(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,
@@ -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(hr(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: () => {
@@ -2221,7 +2221,7 @@ function Ps(e, t) {
2221
2221
  const n = e[e.length - 1];
2222
2222
  for (let r = 1; r <= t; r++) {
2223
2223
  const i = /* @__PURE__ */ or(0, t, r);
2224
- e.push(Ct(n, 1, i));
2224
+ e.push(Vt(n, 1, i));
2225
2225
  }
2226
2226
  }
2227
2227
  function $s(e) {
@@ -3052,10 +3052,10 @@ const zl = /\b([a-z-]*)\(.*?\)/gu, Bn = {
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,
@@ -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
  }
@@ -4605,7 +4605,7 @@ const H = (e) => {
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), gn = (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) => {
@@ -4653,7 +4653,7 @@ const H = (e) => {
4653
4653
  b,
4654
4654
  S,
4655
4655
  k
4656
- ], ye = () => ["none", R, S, k], Vt = () => ["none", R, S, k], sn = () => [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: {
@@ -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
@@ -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
@@ -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 rn(...e) {
7085
+ function kt(...e) {
7086
7086
  return Gu(fu(e));
7087
7087
  }
7088
7088
  function Ku(e, t) {
@@ -7131,7 +7131,7 @@ 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) {
@@ -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
  }, []);
@@ -7367,14 +7367,17 @@ 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: rn(
7380
+ className: kt(
7378
7381
  "rounded-[32px] border-[3px] shadow-lg max-w-lg w-full mx-4 p-0 outline-none relative overflow-hidden",
7379
7382
  t === "light" ? "border-[#f0f0f0]" : "border-[#222222]"
7380
7383
  ),
@@ -7392,7 +7395,7 @@ const wo = () => {
7392
7395
  } catch {
7393
7396
  return !0;
7394
7397
  }
7395
- }, ud = 5 * 60 * 1e3, Ai = "squelette_banner_last_ticket", he = Be(null), Jt = Be(!1), yn = Be(!0);
7398
+ }, ud = 5 * 60 * 1e3, Ai = "squelette_banner_last_ticket", he = Be(null), Qt = Be(!1), yn = Be(!0);
7396
7399
  function dd({
7397
7400
  workspaceSlug: e = "squelette",
7398
7401
  theme: t,
@@ -7415,7 +7418,7 @@ function dd({
7415
7418
  ease: pd,
7416
7419
  duration: 1,
7417
7420
  onComplete: () => {
7418
- Jt.value = !0;
7421
+ Qt.value = !0;
7419
7422
  }
7420
7423
  }
7421
7424
  );
@@ -7443,7 +7446,7 @@ function dd({
7443
7446
  };
7444
7447
  }, [he.value]);
7445
7448
  const s = async () => {
7446
- !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(
7447
7450
  r.current,
7448
7451
  { y: "-100%", opacity: 0 },
7449
7452
  { duration: 0.5, ease: [0.16, 1, 0.3, 1] }
@@ -7490,7 +7493,7 @@ function fd({ onClose: e }) {
7490
7493
  const t = ae(null), n = ae(null);
7491
7494
  oa(() => {
7492
7495
  if (!(!t.current || !n.current))
7493
- if (Jt.value) {
7496
+ if (Qt.value) {
7494
7497
  const i = n.current.scrollWidth;
7495
7498
  _e(
7496
7499
  t.current,
@@ -7572,7 +7575,7 @@ function hd({ className: e }) {
7572
7575
  "stroke-width": "2",
7573
7576
  "stroke-linecap": "round",
7574
7577
  "stroke-linejoin": "round",
7575
- className: rn(
7578
+ className: kt(
7576
7579
  "lucide lucide-megaphone-icon lucide-megaphone origin-center",
7577
7580
  e
7578
7581
  ),
@@ -7600,7 +7603,7 @@ function md({ className: e }) {
7600
7603
  "stroke-width": "2",
7601
7604
  "stroke-linecap": "round",
7602
7605
  "stroke-linejoin": "round",
7603
- className: rn("lucide lucide-x-icon lucide-x", e),
7606
+ className: kt("lucide lucide-x-icon lucide-x", e),
7604
7607
  children: [
7605
7608
  /* @__PURE__ */ F("path", { d: "M18 6 6 18" }),
7606
7609
  /* @__PURE__ */ F("path", { d: "m6 6 12 12" })
@@ -7640,7 +7643,7 @@ function bd({
7640
7643
  className: r,
7641
7644
  delay: i = 0.8
7642
7645
  }) {
7643
- 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);
7644
7647
  Fo(() => {
7645
7648
  const _ = () => {
7646
7649
  o.current && l(Math.ceil(o.current.offsetWidth)), s.current && d(Math.ceil(s.current.offsetWidth));
@@ -7663,7 +7666,7 @@ function bd({
7663
7666
  "span",
7664
7667
  {
7665
7668
  ref: s,
7666
- className: rn(
7669
+ className: kt(
7667
7670
  "relative inline-block overflow-hidden align-baseline w-full translate-y-0.5",
7668
7671
  r
7669
7672
  ),
@@ -7677,7 +7680,7 @@ function bd({
7677
7680
  className: "inline-flex items-baseline will-change-transform",
7678
7681
  style: {
7679
7682
  gap: `${n}px`,
7680
- 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"
7681
7684
  },
7682
7685
  children: Array.from({ length: h }).map((_, v) => /* @__PURE__ */ F(
7683
7686
  "span",
@@ -7698,7 +7701,7 @@ class Hn extends HTMLElement {
7698
7701
  constructor() {
7699
7702
  super();
7700
7703
  ut(this, "shadow");
7701
- 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";
7702
7705
  }
7703
7706
  connectedCallback() {
7704
7707
  var s;
@@ -7752,7 +7755,7 @@ function _d(e) {
7752
7755
  return "Changelog";
7753
7756
  case "feedback":
7754
7757
  default:
7755
- return Ot;
7758
+ return Dt;
7756
7759
  }
7757
7760
  }
7758
7761
  function xo(e) {
@@ -7804,7 +7807,7 @@ function ko() {
7804
7807
  identify: Ho,
7805
7808
  clearIdentity: Yo,
7806
7809
  banner: yd,
7807
- version: "0.3.7",
7810
+ version: "0.3.8",
7808
7811
  cdn: Oo
7809
7812
  });
7810
7813
  }