jcicl 0.0.118 → 0.0.120

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.
@@ -13,12 +13,12 @@ import No from "../theme.js";
13
13
  */
14
14
  const pt = (t, n) => {
15
15
  const { o: e, i: o, u: s } = t;
16
- let c = e, r;
17
- const u = (l, d) => {
18
- const g = c, x = l, p = d || (o ? !o(g, x) : g !== x);
19
- return (p || s) && (c = x, r = g), [c, p, r];
16
+ let c = e, l;
17
+ const a = (r, d) => {
18
+ const g = c, x = r, p = d || (o ? !o(g, x) : g !== x);
19
+ return (p || s) && (c = x, l = g), [c, p, l];
20
20
  };
21
- return [n ? (l) => u(n(c, r), l) : u, (l) => [c, !!l, r]];
21
+ return [n ? (r) => a(n(c, l), r) : a, (r) => [c, !!r, l]];
22
22
  }, Vo = typeof window < "u" && typeof HTMLElement < "u" && !!window.document, ft = Vo ? window : {}, je = Math.max, jo = Math.min, Bn = Math.round, bn = Math.abs, Ce = Math.sign, Be = ft.cancelAnimationFrame, se = ft.requestAnimationFrame, wn = ft.setTimeout, Un = ft.clearTimeout, En = (t) => typeof ft[t] < "u" ? ft[t] : void 0, Bo = En("MutationObserver"), Oe = En("IntersectionObserver"), Sn = En("ResizeObserver"), hn = En("ScrollTimeline"), ce = (t) => t === void 0, Hn = (t) => t === null, Ot = (t) => typeof t == "number", en = (t) => typeof t == "string", re = (t) => typeof t == "boolean", gt = (t) => typeof t == "function", $t = (t) => Array.isArray(t), xn = (t) => typeof t == "object" && !$t(t) && !Hn(t), le = (t) => {
23
23
  const n = !!t && t.length, e = Ot(n) && n > -1 && n % 1 == 0;
24
24
  return $t(t) || !gt(t) && e ? n > 0 && xn(t) ? n - 1 in t : !0 : !1;
@@ -39,8 +39,8 @@ const Ue = (t, n) => t.indexOf(n) >= 0, Qt = (t, n) => t.concat(n), tt = (t, n,
39
39
  if (t && n) {
40
40
  let s = !0;
41
41
  return K(e, (c) => {
42
- const r = t[c], u = n[c];
43
- r !== u && (s = !1);
42
+ const l = t[c], a = n[c];
43
+ l !== a && (s = !1);
44
44
  }), s;
45
45
  }
46
46
  return !1;
@@ -53,35 +53,35 @@ const Ue = (t, n) => t.indexOf(n) >= 0, Qt = (t, n) => t.concat(n), tt = (t, n,
53
53
  }, () => o(n)];
54
54
  }, Zn = (t, n) => {
55
55
  const { _: e, v: o, p: s, S: c } = n || {};
56
- let r, u, i, a, l = _t;
56
+ let l, a, i, u, r = _t;
57
57
  const d = function(H) {
58
- l(), Un(r), a = r = u = void 0, l = _t, t.apply(this, H);
59
- }, g = (w) => c && u ? c(u, w) : w, x = () => {
60
- l !== _t && d(g(i) || i);
58
+ r(), Un(l), u = l = a = void 0, r = _t, t.apply(this, H);
59
+ }, g = (w) => c && a ? c(a, w) : w, x = () => {
60
+ r !== _t && d(g(i) || i);
61
61
  }, p = function() {
62
62
  const H = Rt(arguments), E = gt(e) ? e() : e;
63
63
  if (Ot(E) && E >= 0) {
64
64
  const j = gt(o) ? o() : o, S = Ot(j) && j >= 0, T = E > 0 ? wn : se, M = E > 0 ? Un : Be, P = g(H) || H, k = d.bind(0, P);
65
65
  let v;
66
- l(), s && !a ? (k(), a = !0, v = T(() => a = void 0, E)) : (v = T(k, E), S && !r && (r = wn(x, j))), l = () => M(v), u = i = P;
66
+ r(), s && !u ? (k(), u = !0, v = T(() => u = void 0, E)) : (v = T(k, E), S && !l && (l = wn(x, j))), r = () => M(v), a = i = P;
67
67
  } else
68
68
  d(H);
69
69
  };
70
70
  return p.m = x, p;
71
- }, no = (t, n) => Object.prototype.hasOwnProperty.call(t, n), bt = (t) => t ? Object.keys(t) : [], q = (t, n, e, o, s, c, r) => {
72
- const u = [n, e, o, s, c, r];
73
- return (typeof t != "object" || Hn(t)) && !gt(t) && (t = {}), K(u, (i) => {
74
- K(i, (a, l) => {
75
- const d = i[l];
71
+ }, no = (t, n) => Object.prototype.hasOwnProperty.call(t, n), bt = (t) => t ? Object.keys(t) : [], q = (t, n, e, o, s, c, l) => {
72
+ const a = [n, e, o, s, c, l];
73
+ return (typeof t != "object" || Hn(t)) && !gt(t) && (t = {}), K(a, (i) => {
74
+ K(i, (u, r) => {
75
+ const d = i[r];
76
76
  if (t === d)
77
77
  return !0;
78
78
  const g = $t(d);
79
79
  if (d && Cn(d)) {
80
- const x = t[l];
80
+ const x = t[r];
81
81
  let p = x;
82
- g && !$t(x) ? p = [] : !g && !Cn(x) && (p = {}), t[l] = q(p, d);
82
+ g && !$t(x) ? p = [] : !g && !Cn(x) && (p = {}), t[r] = q(p, d);
83
83
  } else
84
- t[l] = g ? d.slice() : d;
84
+ t[r] = g ? d.slice() : d;
85
85
  });
86
86
  }), t;
87
87
  }, eo = (t, n) => K(q({}, t), (e, o, s) => {
@@ -93,18 +93,18 @@ const Ue = (t, n) => t.indexOf(n) >= 0, Qt = (t, n) => t.concat(n), tt = (t, n,
93
93
  }, St = (t, n) => {
94
94
  K(Pt(n), (e) => t && t.removeAttribute(e));
95
95
  }, Rn = (t, n) => {
96
- const e = Pt(ue(t, n)), o = D(Et, t, n), s = (c, r) => {
97
- const u = new Set(e);
96
+ const e = Pt(ue(t, n)), o = D(Et, t, n), s = (c, l) => {
97
+ const a = new Set(e);
98
98
  return K(Pt(c), (i) => {
99
- u[r](i);
100
- }), Rt(u).join(" ");
99
+ a[l](i);
100
+ }), Rt(a).join(" ");
101
101
  };
102
102
  return {
103
103
  O: (c) => o(s(c, "delete")),
104
104
  $: (c) => o(s(c, "add")),
105
105
  C: (c) => {
106
- const r = Pt(c);
107
- return r.reduce((u, i) => u && e.includes(i), r.length > 0);
106
+ const l = Pt(c);
107
+ return l.reduce((a, i) => a && e.includes(i), l.length > 0);
108
108
  }
109
109
  };
110
110
  }, so = (t, n, e) => (Rn(t, n).O(e), D(de, t, n, e)), de = (t, n, e) => (Rn(t, n).$(e), D(so, t, n, e)), $n = (t, n, e, o) => (o ? de : so)(t, n, e), fe = (t, n, e) => Rn(t, n).C(e), co = (t) => Rn(t, "class"), ro = (t, n) => {
@@ -149,17 +149,17 @@ function Tt(t, n, e) {
149
149
  let s = o ? "" : {};
150
150
  if (t) {
151
151
  const c = ft.getComputedStyle(t, e) || t.style;
152
- s = o ? Ae(c, n) : Rt(n).reduce((r, u) => (r[u] = Ae(c, u), r), s);
152
+ s = o ? Ae(c, n) : Rt(n).reduce((l, a) => (l[a] = Ae(c, a), l), s);
153
153
  }
154
154
  return s;
155
155
  }
156
156
  const Ee = (t, n, e) => {
157
- const o = n ? `${n}-` : "", s = e ? `-${e}` : "", c = `${o}top${s}`, r = `${o}right${s}`, u = `${o}bottom${s}`, i = `${o}left${s}`, a = Tt(t, [c, r, u, i]);
157
+ const o = n ? `${n}-` : "", s = e ? `-${e}` : "", c = `${o}top${s}`, l = `${o}right${s}`, a = `${o}bottom${s}`, i = `${o}left${s}`, u = Tt(t, [c, l, a, i]);
158
158
  return {
159
- t: pn(a[c]),
160
- r: pn(a[r]),
161
- b: pn(a[u]),
162
- l: pn(a[i])
159
+ t: pn(u[c]),
160
+ r: pn(u[l]),
161
+ b: pn(u[a]),
162
+ l: pn(u[i])
163
163
  };
164
164
  }, Ko = (t, n) => `translate${xn(t) ? `(${t.x},${t.y})` : `Y(${t})`}`, Yo = (t) => !!(t.offsetWidth || t.offsetHeight || t.getClientRects().length), Xo = {
165
165
  w: 0,
@@ -182,15 +182,15 @@ const Ee = (t, n, e) => {
182
182
  });
183
183
  }, G = (t, n, e, o) => {
184
184
  var s;
185
- const c = (s = o && o.H) != null ? s : !0, r = o && o.I || !1, u = o && o.A || !1, i = {
185
+ const c = (s = o && o.H) != null ? s : !0, l = o && o.I || !1, a = o && o.A || !1, i = {
186
186
  passive: c,
187
- capture: r
187
+ capture: l
188
188
  };
189
- return D(mt, Pt(n).map((a) => {
190
- const l = u ? (d) => {
191
- He(t, a, l, r), e && e(d);
189
+ return D(mt, Pt(n).map((u) => {
190
+ const r = a ? (d) => {
191
+ He(t, u, r, l), e && e(d);
192
192
  } : e;
193
- return t && t.addEventListener(a, l, i), D(He, t, a, l, r);
193
+ return t && t.addEventListener(u, r, i), D(He, t, u, r, l);
194
194
  }));
195
195
  }, ho = (t) => t.stopPropagation(), Qn = (t) => t.preventDefault(), mo = (t) => ho(t) || Qn(t), xt = (t, n) => {
196
196
  const { x: e, y: o } = Ot(n) ? {
@@ -211,22 +211,22 @@ const Ee = (t, n, e) => {
211
211
  y: 0
212
212
  }
213
213
  }), Qo = (t, n) => {
214
- const { D: e, M: o } = t, { w: s, h: c } = n, r = (d, g, x) => {
214
+ const { D: e, M: o } = t, { w: s, h: c } = n, l = (d, g, x) => {
215
215
  let p = Ce(d) * x, w = Ce(g) * x;
216
216
  if (p === w) {
217
217
  const H = bn(d), E = bn(g);
218
218
  w = H > E ? 0 : w, p = H < E ? 0 : p;
219
219
  }
220
220
  return p = p === w ? 0 : p, [p + 0, w + 0];
221
- }, [u, i] = r(e.x, o.x, s), [a, l] = r(e.y, o.y, c);
221
+ }, [a, i] = l(e.x, o.x, s), [u, r] = l(e.y, o.y, c);
222
222
  return {
223
223
  D: {
224
- x: u,
225
- y: a
224
+ x: a,
225
+ y: u
226
226
  },
227
227
  M: {
228
228
  x: i,
229
- y: l
229
+ y: r
230
230
  }
231
231
  };
232
232
  }, Te = ({ D: t, M: n }) => {
@@ -236,7 +236,7 @@ const Ee = (t, n, e) => {
236
236
  y: e(t.y, n.y)
237
237
  };
238
238
  }, Me = ({ D: t, M: n }, e) => {
239
- const o = (s, c, r) => oo(0, 1, (s - r) / (s - c) || 0);
239
+ const o = (s, c, l) => oo(0, 1, (s - l) / (s - c) || 0);
240
240
  return {
241
241
  x: o(t.x, n.x, e.x),
242
242
  y: o(t.y, n.y, e.y)
@@ -248,32 +248,32 @@ const Ee = (t, n, e) => {
248
248
  }, De = (t, n) => {
249
249
  K(ie(n), t);
250
250
  }, ne = (t) => {
251
- const n = /* @__PURE__ */ new Map(), e = (c, r) => {
251
+ const n = /* @__PURE__ */ new Map(), e = (c, l) => {
252
252
  if (c) {
253
- const u = n.get(c);
253
+ const a = n.get(c);
254
254
  De((i) => {
255
- u && u[i ? "delete" : "clear"](i);
256
- }, r);
255
+ a && a[i ? "delete" : "clear"](i);
256
+ }, l);
257
257
  } else
258
- n.forEach((u) => {
259
- u.clear();
258
+ n.forEach((a) => {
259
+ a.clear();
260
260
  }), n.clear();
261
- }, o = (c, r) => {
261
+ }, o = (c, l) => {
262
262
  if (en(c)) {
263
- const a = n.get(c) || /* @__PURE__ */ new Set();
264
- return n.set(c, a), De((l) => {
265
- gt(l) && a.add(l);
266
- }, r), D(e, c, r);
263
+ const u = n.get(c) || /* @__PURE__ */ new Set();
264
+ return n.set(c, u), De((r) => {
265
+ gt(r) && u.add(r);
266
+ }, l), D(e, c, l);
267
267
  }
268
- re(r) && r && e();
269
- const u = bt(c), i = [];
270
- return K(u, (a) => {
271
- const l = c[a];
272
- l && tt(i, o(a, l));
268
+ re(l) && l && e();
269
+ const a = bt(c), i = [];
270
+ return K(a, (u) => {
271
+ const r = c[u];
272
+ r && tt(i, o(u, r));
273
273
  }), D(mt, i);
274
- }, s = (c, r) => {
275
- K(Rt(n.get(c)), (u) => {
276
- r && !qn(r) ? u.apply(0, r) : u();
274
+ }, s = (c, l) => {
275
+ K(Rt(n.get(c)), (a) => {
276
+ l && !qn(l) ? a.apply(0, l) : a();
277
277
  });
278
278
  };
279
279
  return o(t || {}), [o, e, s];
@@ -307,17 +307,17 @@ const Ee = (t, n, e) => {
307
307
  }, go = (t, n) => {
308
308
  const e = {}, o = Qt(bt(n), bt(t));
309
309
  return K(o, (s) => {
310
- const c = t[s], r = n[s];
311
- if (xn(c) && xn(r))
312
- q(e[s] = {}, go(c, r)), ae(e[s]) && delete e[s];
313
- else if (no(n, s) && r !== c) {
314
- let u = !0;
315
- if ($t(c) || $t(r))
310
+ const c = t[s], l = n[s];
311
+ if (xn(c) && xn(l))
312
+ q(e[s] = {}, go(c, l)), ae(e[s]) && delete e[s];
313
+ else if (no(n, s) && l !== c) {
314
+ let a = !0;
315
+ if ($t(c) || $t(l))
316
316
  try {
317
- ke(c) === ke(r) && (u = !1);
317
+ ke(c) === ke(l) && (a = !1);
318
318
  } catch {
319
319
  }
320
- u && (e[s] = r);
320
+ a && (e[s] = l);
321
321
  }
322
322
  }), e;
323
323
  }, Ie = (t, n, e) => (o) => [Re(t, o), e || Re(n, o) !== void 0], Zt = "data-overlayscrollbars", vn = "os-environment", yn = `${vn}-scrollbar-hidden`, Vn = `${Zt}-initialize`, gn = "noClipping", ze = `${Zt}-body`, kt = Zt, ns = "host", Ht = `${Zt}-viewport`, es = Je, os = Qe, ss = "arrange", bo = "measuring", cs = "scrolling", wo = "scrollbarHidden", rs = "noContent", ee = `${Zt}-padding`, _e = `${Zt}-content`, he = "os-size-observer", ls = `${he}-appear`, is = `${he}-listener`, as = "os-trinsic-observer", us = "os-theme-none", vt = "os-scrollbar", ds = `${vt}-rtl`, fs = `${vt}-horizontal`, ps = `${vt}-vertical`, So = `${vt}-track`, me = `${vt}-handle`, ys = `${vt}-visible`, hs = `${vt}-cornerless`, Pe = `${vt}-interaction`, Le = `${vt}-unusable`, oe = `${vt}-auto-hide`, Fe = `${oe}-hidden`, Ne = `${vt}-wheel`, ms = `${So}-interactive`, vs = `${me}-interactive`;
@@ -342,9 +342,9 @@ const ws = () => {
342
342
  } catch {
343
343
  }
344
344
  return M(), T;
345
- }, e = `.${vn}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${vn} div{width:200%;height:200%;margin:10px 0}.${yn}{scrollbar-width:none!important}.${yn}::-webkit-scrollbar,.${yn}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`, s = ao(`<div class="${vn}"><div></div><style>${e}</style></div>`)[0], c = s.firstChild, r = s.lastChild, u = gs();
346
- u && (r.nonce = u);
347
- const [i, , a] = ne(), [l, d] = pt({
345
+ }, e = `.${vn}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${vn} div{width:200%;height:200%;margin:10px 0}.${yn}{scrollbar-width:none!important}.${yn}::-webkit-scrollbar,.${yn}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`, s = ao(`<div class="${vn}"><div></div><style>${e}</style></div>`)[0], c = s.firstChild, l = s.lastChild, a = gs();
346
+ a && (l.nonce = a);
347
+ const [i, , u] = ne(), [r, d] = pt({
348
348
  o: t(s, c),
349
349
  i: mn
350
350
  }, D(t, s, c, !0)), [g] = d(), x = n(s), p = {
@@ -378,7 +378,7 @@ const ws = () => {
378
378
  F: q({}, H)
379
379
  };
380
380
  if (St(s, "style"), qt(s), G(ft, "resize", () => {
381
- a("r", []);
381
+ u("r", []);
382
382
  }), gt(ft.matchMedia) && !x && (!p.x || !p.y)) {
383
383
  const S = (T) => {
384
384
  const M = ft.matchMedia(`(resolution: ${ft.devicePixelRatio}dppx)`);
@@ -389,8 +389,8 @@ const ws = () => {
389
389
  });
390
390
  };
391
391
  S(() => {
392
- const [T, M] = l();
393
- q(j.T, T), a("r", [M]);
392
+ const [T, M] = r();
393
+ q(j.T, T), u("r", [M]);
394
394
  });
395
395
  }
396
396
  return j;
@@ -401,7 +401,7 @@ const ws = () => {
401
401
  const s = ce(o) ? e : o, c = Co(t, s);
402
402
  return !!c && (On(c) ? c : n.apply(0, t));
403
403
  }, xs = (t, n) => {
404
- const { nativeScrollbarsOverlaid: e, body: o } = n || {}, { k: s, R: c, U: r } = At(), { nativeScrollbarsOverlaid: u, body: i } = r().cancel, a = e ?? u, l = ce(o) ? i : o, d = (s.x || s.y) && a, g = t && (Hn(l) ? !c : l);
404
+ const { nativeScrollbarsOverlaid: e, body: o } = n || {}, { k: s, R: c, U: l } = At(), { nativeScrollbarsOverlaid: a, body: i } = l().cancel, u = e ?? a, r = ce(o) ? i : o, d = (s.x || s.y) && u, g = t && (Hn(r) ? !c : r);
405
405
  return !!d || !!g;
406
406
  }, ve = /* @__PURE__ */ new WeakMap(), Cs = (t, n) => {
407
407
  ve.set(t, n);
@@ -411,33 +411,33 @@ const ws = () => {
411
411
  let o = !1;
412
412
  const s = e ? /* @__PURE__ */ new WeakMap() : !1, c = () => {
413
413
  o = !0;
414
- }, r = (u) => {
414
+ }, l = (a) => {
415
415
  if (s && e) {
416
- const i = e.map((a) => {
417
- const [l, d] = a || [];
418
- return [d && l ? (u || lo)(l, t) : [], d];
416
+ const i = e.map((u) => {
417
+ const [r, d] = u || [];
418
+ return [d && r ? (a || lo)(r, t) : [], d];
419
419
  });
420
- K(i, (a) => K(a[0], (l) => {
421
- const d = a[1], g = s.get(l) || [];
422
- if (t.contains(l) && d) {
423
- const p = G(l, d, (w) => {
424
- o ? (p(), s.delete(l)) : n(w);
420
+ K(i, (u) => K(u[0], (r) => {
421
+ const d = u[1], g = s.get(r) || [];
422
+ if (t.contains(r) && d) {
423
+ const p = G(r, d, (w) => {
424
+ o ? (p(), s.delete(r)) : n(w);
425
425
  });
426
- s.set(l, tt(g, p));
426
+ s.set(r, tt(g, p));
427
427
  } else
428
- mt(g), s.delete(l);
428
+ mt(g), s.delete(r);
429
429
  }));
430
430
  }
431
431
  };
432
- return r(), [c, r];
432
+ return l(), [c, l];
433
433
  }, Ve = (t, n, e, o) => {
434
434
  let s = !1;
435
- const { j: c, X: r, Y: u, W: i, J: a, G: l } = o || {}, d = Zn(() => s && e(!0), {
435
+ const { j: c, X: l, Y: a, W: i, J: u, G: r } = o || {}, d = Zn(() => s && e(!0), {
436
436
  _: 33,
437
437
  v: 99
438
- }), [g, x] = $s(t, d, u), p = c || [], w = r || [], H = Qt(p, w), E = (j, S) => {
438
+ }), [g, x] = $s(t, d, a), p = c || [], w = l || [], H = Qt(p, w), E = (j, S) => {
439
439
  if (!qn(S)) {
440
- const T = a || _t, M = l || _t, I = [], P = [];
440
+ const T = u || _t, M = r || _t, I = [], P = [];
441
441
  let k = !1, v = !1;
442
442
  if (K(S, (m) => {
443
443
  const { attributeName: R, target: z, type: N, oldValue: B, addedNodes: V, removedNodes: W } = m, Z = N === "attributes", U = N === "childList", nt = t === z, y = Z && R, h = y && ue(z, R || ""), b = en(h) ? h : null, C = y && B !== b, f = Ue(w, R) && C;
@@ -472,18 +472,18 @@ const ws = () => {
472
472
  Ao[o] = n[o];
473
473
  }));
474
474
  }, Ho = (t, n, e) => bt(t).map((o) => {
475
- const { static: s, instance: c } = t[o], [r, u, i] = e || [], a = e ? c : s;
476
- if (a) {
477
- const l = e ? a(r, u, n) : a(n);
478
- return (i || Eo)[o] = l;
475
+ const { static: s, instance: c } = t[o], [l, a, i] = e || [], u = e ? c : s;
476
+ if (u) {
477
+ const r = e ? u(l, a, n) : u(n);
478
+ return (i || Eo)[o] = r;
479
479
  }
480
480
  }), on = (t) => Eo[t], Es = "__osOptionsValidationPlugin", Hs = "__osSizeObserverPlugin", Ts = (t, n) => {
481
481
  const { k: e } = n, [o, s] = t("showNativeOverlaidScrollbars");
482
482
  return [o && e.x && e.y, s];
483
483
  }, Wt = (t) => t.indexOf(Dt) === 0, Ms = (t, n) => {
484
- const e = (s, c, r, u) => {
485
- const i = s === Dt ? zt : s.replace(`${Dt}-`, ""), a = Wt(s), l = Wt(r);
486
- return !c && !u ? zt : a && l ? Dt : a ? c && u ? i : c ? Dt : zt : c ? i : l && u ? Dt : zt;
484
+ const e = (s, c, l, a) => {
485
+ const i = s === Dt ? zt : s.replace(`${Dt}-`, ""), u = Wt(s), r = Wt(l);
486
+ return !c && !a ? zt : u && r ? Dt : u ? c && a ? i : c ? Dt : zt : c ? i : r && a ? Dt : zt;
487
487
  }, o = {
488
488
  x: e(n.x, t.x, n.y, t.y),
489
489
  y: e(n.y, t.y, n.x, t.x)
@@ -501,7 +501,7 @@ const ws = () => {
501
501
  u: !0
502
502
  });
503
503
  return () => {
504
- const r = [], i = ao(`<div class="${he}"><div class="${is}"></div></div>`)[0], a = i.firstChild, l = (d) => {
504
+ const l = [], i = ao(`<div class="${he}"><div class="${is}"></div></div>`)[0], u = i.firstChild, r = (d) => {
505
505
  const g = d instanceof ResizeObserverEntry;
506
506
  let x = !1, p = !1;
507
507
  if (g) {
@@ -515,47 +515,47 @@ const ws = () => {
515
515
  });
516
516
  };
517
517
  if (Sn) {
518
- const d = new Sn((g) => l(g.pop()));
519
- d.observe(a), tt(r, () => {
518
+ const d = new Sn((g) => r(g.pop()));
519
+ d.observe(u), tt(l, () => {
520
520
  d.disconnect();
521
521
  });
522
522
  } else if (s) {
523
- const [d, g] = s(a, l, o);
524
- tt(r, Qt([pe(i, ls), G(i, "animationstart", d)], g));
523
+ const [d, g] = s(u, r, o);
524
+ tt(l, Qt([pe(i, ls), G(i, "animationstart", d)], g));
525
525
  } else
526
526
  return _t;
527
- return D(mt, tt(r, yt(t, i)));
527
+ return D(mt, tt(l, yt(t, i)));
528
528
  };
529
529
  }, ks = (t, n) => {
530
530
  let e;
531
531
  const o = (i) => i.h === 0 || i.isIntersecting || i.intersectionRatio > 0, s = jt(as), [c] = pt({
532
532
  o: !1
533
- }), r = (i, a) => {
533
+ }), l = (i, u) => {
534
534
  if (i) {
535
- const l = c(o(i)), [, d] = l;
536
- return d && !a && n(l) && [l];
535
+ const r = c(o(i)), [, d] = r;
536
+ return d && !u && n(r) && [r];
537
537
  }
538
- }, u = (i, a) => r(a.pop(), i);
538
+ }, a = (i, u) => l(u.pop(), i);
539
539
  return [() => {
540
540
  const i = [];
541
541
  if (Oe)
542
- e = new Oe(D(u, !1), {
542
+ e = new Oe(D(a, !1), {
543
543
  root: t
544
544
  }), e.observe(s), tt(i, () => {
545
545
  e.disconnect();
546
546
  });
547
547
  else {
548
- const a = () => {
549
- const l = Bt(s);
550
- r(l);
548
+ const u = () => {
549
+ const r = Bt(s);
550
+ l(r);
551
551
  };
552
- tt(i, Mo(s, a)()), a();
552
+ tt(i, Mo(s, u)()), u();
553
553
  }
554
554
  return D(mt, tt(i, yt(t, s)));
555
- }, () => e && u(!0, e.takeRecords())];
555
+ }, () => e && a(!0, e.takeRecords())];
556
556
  }, Rs = (t, n, e, o) => {
557
- let s, c, r, u, i, a;
558
- const l = `[${kt}]`, d = `[${Ht}]`, g = ["id", "class", "style", "open", "wrap", "cols", "rows"], { vt: x, ht: p, ot: w, gt: H, bt: E, nt: L, wt: j, yt: S, St: T, Ot: M } = t, I = (f) => Tt(f, "direction") === "rtl", P = {
557
+ let s, c, l, a, i, u;
558
+ const r = `[${kt}]`, d = `[${Ht}]`, g = ["id", "class", "style", "open", "wrap", "cols", "rows"], { vt: x, ht: p, ot: w, gt: H, bt: E, nt: L, wt: j, yt: S, St: T, Ot: M } = t, I = (f) => Tt(f, "direction") === "rtl", P = {
559
559
  $t: !1,
560
560
  ct: I(x)
561
561
  }, k = At(), v = on(To), [m] = pt({
@@ -580,10 +580,10 @@ const ws = () => {
580
580
  }), z = (f) => {
581
581
  const $ = I(x);
582
582
  q(f, {
583
- Ct: a !== $
583
+ Ct: u !== $
584
584
  }), q(P, {
585
585
  ct: $
586
- }), a = $;
586
+ }), u = $;
587
587
  }, N = (f, $) => {
588
588
  const [O, A] = f, F = {
589
589
  xt: A
@@ -635,22 +635,22 @@ const ws = () => {
635
635
  }) : C();
636
636
  });
637
637
  return () => {
638
- b && b.disconnect(), f && f(), $ && $(), u && u(), O(), A();
638
+ b && b.disconnect(), f && f(), $ && $(), a && a(), O(), A();
639
639
  };
640
640
  }, ({ It: f, At: $, Dt: O }) => {
641
641
  const A = {}, [F] = f("update.ignoreMutation"), [Y, ot] = f("update.attributes"), [J, lt] = f("update.elementEvents"), [_, it] = f("update.debounce"), ut = lt || ot, ct = $ || O, at = (et) => gt(F) && F(et);
642
642
  if (ut) {
643
- r && r(), u && u();
643
+ l && l(), a && a();
644
644
  const [et, st] = Ve(E || w, !0, V, {
645
645
  j: Qt(g, Y || []),
646
646
  Y: J,
647
- W: l,
647
+ W: r,
648
648
  G: (X, Q) => {
649
649
  const { target: rt, attributeName: dt } = X;
650
- return (!Q && dt && !L ? Zo(rt, l, d) : !1) || !!Vt(rt, `.${vt}`) || !!at(X);
650
+ return (!Q && dt && !L ? Zo(rt, r, d) : !1) || !!Vt(rt, `.${vt}`) || !!at(X);
651
651
  }
652
652
  });
653
- u = et(), r = st;
653
+ a = et(), l = st;
654
654
  }
655
655
  if (it)
656
656
  if (R.m(), $t(_)) {
@@ -658,13 +658,13 @@ const ws = () => {
658
658
  s = Ot(et) && et, c = Ot(st) && st;
659
659
  } else Ot(_) ? (s = _, c = !1) : (s = !1, c = !1);
660
660
  if (ct) {
661
- const et = h(), st = U && U(), X = r && r();
661
+ const et = h(), st = U && U(), X = l && l();
662
662
  et && q(A, W(et[0], et[1], ct)), st && q(A, N(st[0], ct)), X && q(A, V(X[0], ct));
663
663
  }
664
664
  return z(A), A;
665
665
  }, P];
666
666
  }, Is = (t, n, e, o) => {
667
- const s = "--os-viewport-percent", c = "--os-scroll-percent", r = "--os-scroll-direction", { U: u } = At(), { scrollbars: i } = u(), { slot: a } = i, { vt: l, ht: d, ot: g, Mt: x, gt: p, wt: w, nt: H } = n, { scrollbars: E } = x ? {} : t, { slot: L } = E || {}, j = [], S = [], T = [], M = Oo([l, d, g], () => H && w ? l : d, a, L), I = (y) => {
667
+ const s = "--os-viewport-percent", c = "--os-scroll-percent", l = "--os-scroll-direction", { U: a } = At(), { scrollbars: i } = a(), { slot: u } = i, { vt: r, ht: d, ot: g, Mt: x, gt: p, wt: w, nt: H } = n, { scrollbars: E } = x ? {} : t, { slot: L } = E || {}, j = [], S = [], T = [], M = Oo([r, d, g], () => H && w ? r : d, u, L), I = (y) => {
668
668
  if (hn) {
669
669
  const h = new hn({
670
670
  source: p,
@@ -718,7 +718,7 @@ const ws = () => {
718
718
  }
719
719
  }, B = () => {
720
720
  const { Lt: y } = e, h = Te(y), b = (C) => (f) => [f.Tt, {
721
- [r]: C ? "0" : "1"
721
+ [l]: C ? "0" : "1"
722
722
  }];
723
723
  m(S, b(h.x)), m(T, b(h.y));
724
724
  }, V = () => {
@@ -762,17 +762,17 @@ const ws = () => {
762
762
  Jt: D(m, T)
763
763
  }
764
764
  }, nt];
765
- }, zs = (t, n, e, o) => (s, c, r) => {
766
- const { ht: u, ot: i, nt: a, gt: l, Kt: d, Ot: g } = n, { Tt: x, Ut: p, Pt: w } = s, [H, E] = Nt(333), [L, j] = Nt(444), S = (I) => {
767
- gt(l.scrollBy) && l.scrollBy({
765
+ }, zs = (t, n, e, o) => (s, c, l) => {
766
+ const { ht: a, ot: i, nt: u, gt: r, Kt: d, Ot: g } = n, { Tt: x, Ut: p, Pt: w } = s, [H, E] = Nt(333), [L, j] = Nt(444), S = (I) => {
767
+ gt(r.scrollBy) && r.scrollBy({
768
768
  behavior: "smooth",
769
769
  left: I.x,
770
770
  top: I.y
771
771
  });
772
772
  }, T = () => {
773
- const I = "pointerup pointercancel lostpointercapture", P = `client${r ? "X" : "Y"}`, k = r ? Mn : Dn, v = r ? "left" : "top", m = r ? "w" : "h", R = r ? "x" : "y", z = (B, V) => (W) => {
773
+ const I = "pointerup pointercancel lostpointercapture", P = `client${l ? "X" : "Y"}`, k = l ? Mn : Dn, v = l ? "left" : "top", m = l ? "w" : "h", R = l ? "x" : "y", z = (B, V) => (W) => {
774
774
  const { Rt: Z } = e, U = Bt(p)[m] - Bt(w)[m], y = V * W / U * Z[R];
775
- xt(l, {
775
+ xt(r, {
776
776
  [R]: B + y
777
777
  });
778
778
  }, N = [];
@@ -780,18 +780,18 @@ const ws = () => {
780
780
  const V = Vt(B.target, `.${me}`) === w, W = V ? w : p, Z = t.scrollbars, U = Z[V ? "dragScroll" : "clickScroll"], { button: nt, isPrimary: y, pointerType: h } = B, { pointers: b } = Z;
781
781
  if (nt === 0 && y && U && (b || []).includes(h)) {
782
782
  mt(N), j();
783
- const f = !V && (B.shiftKey || U === "instant"), $ = D(Nn, w), O = D(Nn, p), A = (Q, rt) => (Q || $())[v] - (rt || O())[v], F = Bn(Nn(l)[k]) / Bt(l)[m] || 1, Y = z(ht(l)[R], 1 / F), ot = B[P], J = $(), lt = O(), _ = J[k], it = A(J, lt) + _ / 2, ut = ot - lt[v], ct = V ? 0 : ut - it, at = (Q) => {
783
+ const f = !V && (B.shiftKey || U === "instant"), $ = D(Nn, w), O = D(Nn, p), A = (Q, rt) => (Q || $())[v] - (rt || O())[v], F = Bn(Nn(r)[k]) / Bt(r)[m] || 1, Y = z(ht(r)[R], 1 / F), ot = B[P], J = $(), lt = O(), _ = J[k], it = A(J, lt) + _ / 2, ut = ot - lt[v], ct = V ? 0 : ut - it, at = (Q) => {
784
784
  mt(X), W.releasePointerCapture(Q.pointerId);
785
785
  }, et = V || f, st = g(), X = [G(d, I, at), G(d, "selectstart", (Q) => Qn(Q), {
786
786
  H: !1
787
787
  }), G(p, I, at), et && G(p, "pointermove", (Q) => Y(ct + (Q[P] - ot))), et && (() => {
788
- const Q = ht(l);
788
+ const Q = ht(r);
789
789
  st();
790
- const rt = ht(l), dt = {
790
+ const rt = ht(r), dt = {
791
791
  x: rt.x - Q.x,
792
792
  y: rt.y - Q.y
793
793
  };
794
- (bn(dt.x) > 3 || bn(dt.y) > 3) && (g(), xt(l, Q), S(dt), L(st));
794
+ (bn(dt.x) > 3 || bn(dt.y) > 3) && (g(), xt(r, Q), S(dt), L(st));
795
795
  })];
796
796
  if (W.setPointerCapture(B.pointerId), f)
797
797
  Y(ct);
@@ -812,12 +812,12 @@ const ws = () => {
812
812
  c(Pe, !0);
813
813
  }), G(x, "pointerleave pointercancel", () => {
814
814
  c(Pe, !1);
815
- }), !a && G(x, "mousedown", () => {
815
+ }), !u && G(x, "mousedown", () => {
816
816
  const I = Xn();
817
817
  ($e(I, Ht) || $e(I, kt) || I === document.body) && wn(D(te, i), 25);
818
818
  }), G(x, "wheel", (I) => {
819
819
  const { deltaX: P, deltaY: k, deltaMode: v } = I;
820
- M && v === 0 && tn(x) === u && S({
820
+ M && v === 0 && tn(x) === a && S({
821
821
  x: P,
822
822
  y: k
823
823
  }), M = !1, c(Ne, !0), H(() => {
@@ -834,7 +834,7 @@ const ws = () => {
834
834
  I: !0
835
835
  }), T(), E, j]);
836
836
  }, _s = (t, n, e, o, s, c) => {
837
- let r, u, i, a, l, d = _t, g = 0;
837
+ let l, a, i, u, r, d = _t, g = 0;
838
838
  const x = (y) => y.pointerType === "mouse", [p, w] = Nt(), [H, E] = Nt(100), [L, j] = Nt(100), [S, T] = Nt(() => g), [M, I] = Is(t, s, o, zs(n, s, o, (y) => x(y) && W())), { ht: P, Qt: k, wt: v } = s, { jt: m, Nt: R, qt: z, Bt: N, Ft: B } = M, V = (y, h) => {
839
839
  if (T(), y)
840
840
  m(Fe);
@@ -843,19 +843,19 @@ const ws = () => {
843
843
  g > 0 && !h ? S(b) : b();
844
844
  }
845
845
  }, W = () => {
846
- (i ? !r : !a) && (V(!0), H(() => {
846
+ (i ? !l : !u) && (V(!0), H(() => {
847
847
  V(!1);
848
848
  }));
849
849
  }, Z = (y) => {
850
850
  m(oe, y, !0), m(oe, y, !1);
851
851
  }, U = (y) => {
852
- x(y) && (r = i, i && V(!0));
852
+ x(y) && (l = i, i && V(!0));
853
853
  }, nt = [T, E, j, w, () => d(), G(P, "pointerover", U, {
854
854
  A: !0
855
855
  }), G(P, "pointerenter", U), G(P, "pointerleave", (y) => {
856
- x(y) && (r = !1, i && V(!1));
856
+ x(y) && (l = !1, i && V(!1));
857
857
  }), G(P, "pointermove", (y) => {
858
- x(y) && u && W();
858
+ x(y) && a && W();
859
859
  }), G(k, "scroll", (y) => {
860
860
  p(() => {
861
861
  z(), W();
@@ -870,14 +870,14 @@ const ws = () => {
870
870
  d = G(k, "scroll", D(Z, !0), {
871
871
  A: !0
872
872
  });
873
- })) : Z(!0)), ut && m(us, Fn), at && (m(l), m(ct, !0), l = ct), dt && !rt && Z(!0), Q && (u = X === "move", i = X === "leave", a = X === "never", V(a, !0)), cn && m(vs, sn), It && m(ms, !!rn), wt) {
873
+ })) : Z(!0)), ut && m(us, Fn), at && (m(r), m(ct, !0), r = ct), dt && !rt && Z(!0), Q && (a = X === "move", i = X === "leave", u = X === "never", V(u, !0)), cn && m(vs, sn), It && m(ms, !!rn), wt) {
874
874
  const Xt = Yt(Lt.x, lt.x, !0), Mt = Yt(Lt.y, lt.y, !1);
875
875
  m(hs, !(Xt && Mt));
876
876
  }
877
877
  Ln && (z(), R(), B(), A && N(), m(Le, !_.x, !0), m(Le, !_.y, !1), m(ds, ot && !v));
878
878
  }, {}, M];
879
879
  }, Ps = (t) => {
880
- const n = At(), { U: e, R: o } = n, { elements: s } = e(), { padding: c, viewport: r, content: u } = s, i = On(t), a = i ? {} : t, { elements: l } = a, { padding: d, viewport: g, content: x } = l || {}, p = i ? t : a.target, w = io(p), H = p.ownerDocument, E = H.documentElement, L = () => H.defaultView || ft, j = D(Ss, [p]), S = D(Oo, [p]), T = D(jt, ""), M = D(j, T, r), I = D(S, T, u), P = (_) => {
880
+ const n = At(), { U: e, R: o } = n, { elements: s } = e(), { padding: c, viewport: l, content: a } = s, i = On(t), u = i ? {} : t, { elements: r } = u, { padding: d, viewport: g, content: x } = r || {}, p = i ? t : u.target, w = io(p), H = p.ownerDocument, E = H.documentElement, L = () => H.defaultView || ft, j = D(Ss, [p]), S = D(Oo, [p]), T = D(jt, ""), M = D(j, T, l), I = D(S, T, a), P = (_) => {
881
881
  const it = Bt(_), ut = An(_), ct = Tt(_, Je), at = Tt(_, Qe);
882
882
  return ut.w - it.w > 0 && !Wt(ct) || ut.h - it.h > 0 && !Wt(at);
883
883
  }, k = M(g), v = k === p, m = v && w, R = !v && I(x), z = !v && k === R, N = m ? E : k, B = m ? N : p, V = !v && S(T, c, d), W = !z && R, Z = [W, N, V, B].map((_) => On(_) && !tn(_) && _), U = (_) => _ && Ue(Z, _), nt = !U(N) && P(N) ? N : p, y = m ? E : N, b = {
@@ -920,14 +920,14 @@ const ws = () => {
920
920
  [Dn]: c && "100%"
921
921
  });
922
922
  }, Fs = ({ ht: t, ln: n, ot: e, nt: o }, s) => {
923
- const [c, r] = pt({
923
+ const [c, l] = pt({
924
924
  i: qo,
925
925
  o: Ee()
926
926
  }, D(Ee, t, "padding", ""));
927
- return ({ It: u, Zt: i, _n: a, Dt: l }) => {
928
- let [d, g] = r(l);
929
- const { R: x } = At(), { ft: p, Ht: w, Ct: H } = i || {}, { ct: E } = a, [L, j] = u("paddingAbsolute");
930
- (p || g || (l || w)) && ([d, g] = c(l));
927
+ return ({ It: a, Zt: i, _n: u, Dt: r }) => {
928
+ let [d, g] = l(r);
929
+ const { R: x } = At(), { ft: p, Ht: w, Ct: H } = i || {}, { ct: E } = u, [L, j] = a("paddingAbsolute");
930
+ (p || g || (r || w)) && ([d, g] = c(r));
931
931
  const T = !o && (j || H || g);
932
932
  if (T) {
933
933
  const M = !L || !n && !x, I = d.r + d.l, P = d.t + d.b, k = {
@@ -955,7 +955,7 @@ const ws = () => {
955
955
  };
956
956
  };
957
957
  }, Ns = (t, n) => {
958
- const e = At(), { ht: o, ln: s, ot: c, nt: r, Qt: u, gt: i, wt: a, St: l, un: d } = t, { R: g } = e, x = a && r, p = D(je, 0), w = {
958
+ const e = At(), { ht: o, ln: s, ot: c, nt: l, Qt: a, gt: i, wt: u, St: r, un: d } = t, { R: g } = e, x = u && l, p = D(je, 0), w = {
959
959
  display: () => !1,
960
960
  direction: (h) => h !== "ltr",
961
961
  flexDirection: (h) => h.endsWith("-reverse"),
@@ -970,7 +970,7 @@ const ws = () => {
970
970
  i: mn,
971
971
  o: {}
972
972
  }, j = (h) => {
973
- l(bo, !x && h);
973
+ r(bo, !x && h);
974
974
  }, S = (h) => {
975
975
  if (!H.some((ot) => {
976
976
  const J = h[ot];
@@ -987,7 +987,7 @@ const ws = () => {
987
987
  }
988
988
  };
989
989
  j(!0);
990
- const C = ht(i), f = l(rs, !0), $ = G(u, Ut, (ot) => {
990
+ const C = ht(i), f = r(rs, !0), $ = G(a, Ut, (ot) => {
991
991
  const J = ht(i);
992
992
  ot.isTrusted && J.x === C.x && J.y === C.y && ho(ot);
993
993
  }, {
@@ -1030,12 +1030,12 @@ const ws = () => {
1030
1030
  o: vo()
1031
1031
  }), U = on(To), nt = (h, b) => `${b ? es : os}${Uo(h)}`, y = (h) => {
1032
1032
  const b = (f) => [Dt, zt, Ut].map(($) => nt($, f)), C = b(!0).concat(b()).join(" ");
1033
- l(C), l(bt(h).map((f) => nt(h[f], f === "x")).join(" "), !0);
1033
+ r(C), r(bt(h).map((f) => nt(h[f], f === "x")).join(" "), !0);
1034
1034
  };
1035
1035
  return ({ It: h, Zt: b, _n: C, Dt: f }, { fn: $ }) => {
1036
1036
  const { ft: O, Ht: A, Ct: F, dt: Y, zt: ot } = b || {}, J = U && U.tt(t, n, C, e, h), { it: lt, ut: _, _t: it } = J || {}, [ut, ct] = Ts(h, e), [at, et] = h("overflow"), st = Wt(at.x), X = Wt(at.y), Q = !0;
1037
1037
  let rt = I(f), dt = k(f), Kt = m(f), sn = N(f);
1038
- ct && g && l(wo, !ut);
1038
+ ct && g && r(wo, !ut);
1039
1039
  {
1040
1040
  fe(o, kt, gn) && j(!0);
1041
1041
  const [be] = _ ? _() : [], [an] = rt = M(f), [un] = dt = P(f), dn = po(c), fn = x && Go(d()), zo = {
@@ -1106,18 +1106,18 @@ const ws = () => {
1106
1106
  y: !1
1107
1107
  },
1108
1108
  Lt: vo()
1109
- }, { vt: c, gt: r, nt: u, Ot: i } = n, { R: a, k: l } = At(), d = !a && (l.x || l.y), g = [Ls(n), Fs(n, s), Ns(n, s)];
1109
+ }, { vt: c, gt: l, nt: a, Ot: i } = n, { R: u, k: r } = At(), d = !u && (r.x || r.y), g = [Ls(n), Fs(n, s), Ns(n, s)];
1110
1110
  return [e, (x) => {
1111
- const p = {}, H = d && ht(r), E = H && i();
1111
+ const p = {}, H = d && ht(l), E = H && i();
1112
1112
  return K(g, (L) => {
1113
1113
  q(p, L(x, p) || {});
1114
- }), xt(r, H), E && E(), !u && xt(c, 0), p;
1114
+ }), xt(l, H), E && E(), !a && xt(c, 0), p;
1115
1115
  }, s, n, o];
1116
1116
  }, js = (t, n, e, o, s) => {
1117
1117
  let c = !1;
1118
- const r = Ie(n, {}), [u, i, a, l, d] = Vs(t), [g, x, p] = Rs(l, a, r, (S) => {
1118
+ const l = Ie(n, {}), [a, i, u, r, d] = Vs(t), [g, x, p] = Rs(r, u, l, (S) => {
1119
1119
  j({}, S);
1120
- }), [w, H, , E] = _s(t, n, p, a, l, s), L = (S) => bt(S).some((T) => !!S[T]), j = (S, T) => {
1120
+ }), [w, H, , E] = _s(t, n, p, u, r, s), L = (S) => bt(S).some((T) => !!S[T]), j = (S, T) => {
1121
1121
  if (e())
1122
1122
  return !1;
1123
1123
  const { pn: M, Dt: I, At: P, hn: k } = S, v = M || {}, m = !!I || !c, R = {
@@ -1144,25 +1144,25 @@ const ws = () => {
1144
1144
  }), W;
1145
1145
  };
1146
1146
  return [() => {
1147
- const { an: S, gt: T, Ot: M } = l, I = ht(S), P = [g(), u(), w()], k = M();
1147
+ const { an: S, gt: T, Ot: M } = r, I = ht(S), P = [g(), a(), w()], k = M();
1148
1148
  return xt(T, I), k(), D(mt, P);
1149
1149
  }, j, () => ({
1150
1150
  gn: p,
1151
- bn: a
1151
+ bn: u
1152
1152
  }), {
1153
- wn: l,
1153
+ wn: r,
1154
1154
  yn: E
1155
1155
  }, d];
1156
1156
  }, Ct = (t, n, e) => {
1157
- const { N: o } = At(), s = On(t), c = s ? t : t.target, r = $o(c);
1158
- if (n && !r) {
1159
- let u = !1;
1160
- const i = [], a = {}, l = (v) => {
1157
+ const { N: o } = At(), s = On(t), c = s ? t : t.target, l = $o(c);
1158
+ if (n && !l) {
1159
+ let a = !1;
1160
+ const i = [], u = {}, r = (v) => {
1161
1161
  const m = eo(v), R = on(Es);
1162
1162
  return R ? R(m, !0) : m;
1163
- }, d = q({}, o(), l(n)), [g, x, p] = ne(), [w, H, E] = ne(e), L = (v, m) => {
1163
+ }, d = q({}, o(), r(n)), [g, x, p] = ne(), [w, H, E] = ne(e), L = (v, m) => {
1164
1164
  E(v, m), p(v, m);
1165
- }, [j, S, T, M, I] = js(t, d, () => u, ({ pn: v, Dt: m }, { Zt: R, tn: z }) => {
1165
+ }, [j, S, T, M, I] = js(t, d, () => a, ({ pn: v, Dt: m }, { Zt: R, tn: z }) => {
1166
1166
  const { ft: N, Ct: B, xt: V, Ht: W, Et: Z, dt: U } = R, { nn: nt, sn: y, en: h, cn: b } = z;
1167
1167
  L("updated", [k, {
1168
1168
  updateHints: {
@@ -1181,11 +1181,11 @@ const ws = () => {
1181
1181
  force: !!m
1182
1182
  }]);
1183
1183
  }, (v) => L("scroll", [k, v])), P = (v) => {
1184
- Os(c), mt(i), u = !0, L("destroyed", [k, v]), x(), H();
1184
+ Os(c), mt(i), a = !0, L("destroyed", [k, v]), x(), H();
1185
1185
  }, k = {
1186
1186
  options(v, m) {
1187
1187
  if (v) {
1188
- const R = m ? o() : {}, z = go(d, q(R, l(v)));
1188
+ const R = m ? o() : {}, z = go(d, q(R, r(v)));
1189
1189
  ae(z) || (q(d, z), S({
1190
1190
  pn: z
1191
1191
  }));
@@ -1210,7 +1210,7 @@ const ws = () => {
1210
1210
  padding: W,
1211
1211
  paddingAbsolute: Z,
1212
1212
  directionRTL: R,
1213
- destroyed: u
1213
+ destroyed: a
1214
1214
  });
1215
1215
  },
1216
1216
  elements() {
@@ -1249,11 +1249,11 @@ const ws = () => {
1249
1249
  At: !0
1250
1250
  }),
1251
1251
  destroy: D(P, !1),
1252
- plugin: (v) => a[bt(v)[0]]
1252
+ plugin: (v) => u[bt(v)[0]]
1253
1253
  };
1254
- return tt(i, [I]), Cs(c, k), Ho(Ao, Ct, [k, g, a]), xs(M.wn.wt, !s && t.cancel) ? (P(!0), k) : (tt(i, j()), L("initialized", [k]), k.update(), k);
1254
+ return tt(i, [I]), Cs(c, k), Ho(Ao, Ct, [k, g, u]), xs(M.wn.wt, !s && t.cancel) ? (P(!0), k) : (tt(i, j()), L("initialized", [k]), k.update(), k);
1255
1255
  }
1256
- return r;
1256
+ return l;
1257
1257
  };
1258
1258
  Ct.plugin = (t) => {
1259
1259
  const n = $t(t), e = n ? t : [t], o = e.map((s) => Ho(s, Ct)[0]);
@@ -1264,7 +1264,7 @@ Ct.valid = (t) => {
1264
1264
  return Cn(e) && !!$o(e.target);
1265
1265
  };
1266
1266
  Ct.env = () => {
1267
- const { T: t, k: n, R: e, V: o, B: s, F: c, U: r, P: u, N: i, q: a } = At();
1267
+ const { T: t, k: n, R: e, V: o, B: s, F: c, U: l, P: a, N: i, q: u } = At();
1268
1268
  return q({}, {
1269
1269
  scrollbarsSize: t,
1270
1270
  scrollbarsOverlaid: n,
@@ -1272,67 +1272,67 @@ Ct.env = () => {
1272
1272
  scrollTimeline: o,
1273
1273
  staticDefaultInitialization: s,
1274
1274
  staticDefaultOptions: c,
1275
- getDefaultInitialization: r,
1276
- setDefaultInitialization: u,
1275
+ getDefaultInitialization: l,
1276
+ setDefaultInitialization: a,
1277
1277
  getDefaultOptions: i,
1278
- setDefaultOptions: a
1278
+ setDefaultOptions: u
1279
1279
  });
1280
1280
  };
1281
1281
  Ct.nonce = bs;
1282
1282
  const Bs = () => {
1283
1283
  if (typeof window > "u") {
1284
- const a = () => {
1284
+ const u = () => {
1285
1285
  };
1286
- return [a, a];
1286
+ return [u, u];
1287
1287
  }
1288
1288
  let t, n;
1289
- const e = window, o = typeof e.requestIdleCallback == "function", s = e.requestAnimationFrame, c = e.cancelAnimationFrame, r = o ? e.requestIdleCallback : s, u = o ? e.cancelIdleCallback : c, i = () => {
1290
- u(t), c(n);
1289
+ const e = window, o = typeof e.requestIdleCallback == "function", s = e.requestAnimationFrame, c = e.cancelAnimationFrame, l = o ? e.requestIdleCallback : s, a = o ? e.cancelIdleCallback : c, i = () => {
1290
+ a(t), c(n);
1291
1291
  };
1292
1292
  return [
1293
- (a, l) => {
1294
- i(), t = r(
1293
+ (u, r) => {
1294
+ i(), t = l(
1295
1295
  o ? () => {
1296
- i(), n = s(a);
1297
- } : a,
1298
- typeof l == "object" ? l : { timeout: 2233 }
1296
+ i(), n = s(u);
1297
+ } : u,
1298
+ typeof r == "object" ? r : { timeout: 2233 }
1299
1299
  );
1300
1300
  },
1301
1301
  i
1302
1302
  ];
1303
1303
  }, Us = (t) => {
1304
- const { options: n, events: e, defer: o } = t || {}, [s, c] = xe(Bs, []), r = Ft(null), u = Ft(o), i = Ft(n), a = Ft(e);
1304
+ const { options: n, events: e, defer: o } = t || {}, [s, c] = xe(Bs, []), l = Ft(null), a = Ft(o), i = Ft(n), u = Ft(e);
1305
1305
  return Jt(() => {
1306
- u.current = o;
1306
+ a.current = o;
1307
1307
  }, [o]), Jt(() => {
1308
- const { current: l } = r;
1309
- i.current = n, Ct.valid(l) && l.options(n || {}, !0);
1308
+ const { current: r } = l;
1309
+ i.current = n, Ct.valid(r) && r.options(n || {}, !0);
1310
1310
  }, [n]), Jt(() => {
1311
- const { current: l } = r;
1312
- a.current = e, Ct.valid(l) && l.on(e || {}, !0);
1311
+ const { current: r } = l;
1312
+ u.current = e, Ct.valid(r) && r.on(e || {}, !0);
1313
1313
  }, [e]), Jt(
1314
1314
  () => () => {
1315
- var l;
1316
- c(), (l = r.current) == null || l.destroy();
1315
+ var r;
1316
+ c(), (r = l.current) == null || r.destroy();
1317
1317
  },
1318
1318
  []
1319
1319
  ), xe(
1320
1320
  () => [
1321
- (l) => {
1322
- const d = r.current;
1321
+ (r) => {
1322
+ const d = l.current;
1323
1323
  if (Ct.valid(d))
1324
1324
  return;
1325
- const g = u.current, x = i.current || {}, p = a.current || {}, w = () => r.current = Ct(l, x, p);
1325
+ const g = a.current, x = i.current || {}, p = u.current || {}, w = () => l.current = Ct(r, x, p);
1326
1326
  g ? s(w, g) : w();
1327
1327
  },
1328
- () => r.current
1328
+ () => l.current
1329
1329
  ],
1330
1330
  []
1331
1331
  );
1332
1332
  }, qs = (t, n) => {
1333
- const { element: e = "div", options: o, events: s, defer: c, children: r, ...u } = t, i = e, a = Ft(null), l = Ft(null), [d, g] = Us({ options: o, events: s, defer: c });
1333
+ const { element: e = "div", options: o, events: s, defer: c, children: l, ...a } = t, i = e, u = Ft(null), r = Ft(null), [d, g] = Us({ options: o, events: s, defer: c });
1334
1334
  return Jt(() => {
1335
- const { current: x } = a, { current: p } = l;
1335
+ const { current: x } = u, { current: p } = r;
1336
1336
  if (!x)
1337
1337
  return;
1338
1338
  const w = x;
@@ -1357,23 +1357,26 @@ const Bs = () => {
1357
1357
  n,
1358
1358
  () => ({
1359
1359
  osInstance: g,
1360
- getElement: () => a.current
1360
+ getElement: () => u.current
1361
1361
  }),
1362
1362
  []
1363
1363
  ), // @ts-ignore
1364
- /* @__PURE__ */ Se.createElement(i, { "data-overlayscrollbars-initialize": "", ref: a, ...u }, e === "body" ? r : /* @__PURE__ */ Se.createElement("div", { "data-overlayscrollbars-contents": "", ref: l }, r));
1365
- }, Ws = Po(qs), Zs = Fo(Ws)({
1366
- "& .os-scrollbar": {
1367
- "--os-handle-bg": No.colors.darkGreenO99
1368
- }
1369
- }), Js = ({
1364
+ /* @__PURE__ */ Se.createElement(i, { "data-overlayscrollbars-initialize": "", ref: u, ...a }, e === "body" ? l : /* @__PURE__ */ Se.createElement("div", { "data-overlayscrollbars-contents": "", ref: r }, l));
1365
+ }, Ws = Po(qs), Zs = Fo(Ws)(
1366
+ ({ scrollColor: t }) => ({
1367
+ "& .os-scrollbar": {
1368
+ "--os-handle-bg": t
1369
+ }
1370
+ })
1371
+ ), Js = ({
1370
1372
  children: t,
1371
1373
  width: n = "100%",
1372
1374
  height: e = "100%",
1373
1375
  styles: o,
1374
- direction: s = "all"
1376
+ direction: s = "all",
1377
+ scrollColor: c = No.colors.darkGreenO99
1375
1378
  }) => {
1376
- const a = { style: {
1379
+ const r = { style: {
1377
1380
  width: n,
1378
1381
  height: e,
1379
1382
  boxSizing: "border-box",
@@ -1384,7 +1387,7 @@ const Bs = () => {
1384
1387
  y: s === "all" || s === "vertical" ? "scroll" : "hidden"
1385
1388
  }
1386
1389
  } };
1387
- return /* @__PURE__ */ _o(Zs, { defer: !0, ...a, children: t });
1390
+ return /* @__PURE__ */ _o(Zs, { defer: !0, scrollColor: c, ...r, children: t });
1388
1391
  };
1389
1392
  export {
1390
1393
  Js as default