react-lib-tools 0.0.23 → 0.0.25

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.
Files changed (26) hide show
  1. package/dist/{GettingStartedRoute-BqKgSm4z.js → GettingStartedRoute-BiU1uw3z.js} +2 -2
  2. package/dist/{GettingStartedRoute-BqKgSm4z.js.map → GettingStartedRoute-BiU1uw3z.js.map} +1 -1
  3. package/dist/{GettingStartedRoute-DSaANTOy.cjs → GettingStartedRoute-C52ZxlUq.cjs} +2 -2
  4. package/dist/{GettingStartedRoute-DSaANTOy.cjs.map → GettingStartedRoute-C52ZxlUq.cjs.map} +1 -1
  5. package/dist/{PageNotFound-BPGCzBKX.cjs → PageNotFound-BZHDkIob.cjs} +2 -2
  6. package/dist/{PageNotFound-BPGCzBKX.cjs.map → PageNotFound-BZHDkIob.cjs.map} +1 -1
  7. package/dist/{PageNotFound-BOtcH9tJ.js → PageNotFound-CB4aWvqZ.js} +2 -2
  8. package/dist/{PageNotFound-BOtcH9tJ.js.map → PageNotFound-CB4aWvqZ.js.map} +1 -1
  9. package/dist/{SupportRoute-DPwM7VJl.cjs → SupportRoute-3-Fq8iuG.cjs} +2 -2
  10. package/dist/{SupportRoute-DPwM7VJl.cjs.map → SupportRoute-3-Fq8iuG.cjs.map} +1 -1
  11. package/dist/{SupportRoute-D2h0cvHw.js → SupportRoute-CCWHUGmp.js} +2 -2
  12. package/dist/{SupportRoute-D2h0cvHw.js.map → SupportRoute-CCWHUGmp.js.map} +1 -1
  13. package/dist/{VersionsRoute-DTaE8zr5.cjs → VersionsRoute-D5nKJAiH.cjs} +2 -2
  14. package/dist/{VersionsRoute-DTaE8zr5.cjs.map → VersionsRoute-D5nKJAiH.cjs.map} +1 -1
  15. package/dist/{VersionsRoute-UBlVDqMh.js → VersionsRoute-DGvfG4y4.js} +2 -2
  16. package/dist/{VersionsRoute-UBlVDqMh.js.map → VersionsRoute-DGvfG4y4.js.map} +1 -1
  17. package/dist/{index-Bh6LXsao.js → index-CVXprQ8Z.js} +102 -117
  18. package/dist/index-CVXprQ8Z.js.map +1 -0
  19. package/dist/{index-BFh5cQOB.cjs → index-MEfvl32g.cjs} +3 -3
  20. package/dist/index-MEfvl32g.cjs.map +1 -0
  21. package/dist/react-lib-tools.cjs +1 -1
  22. package/dist/react-lib-tools.d.ts +2 -3
  23. package/dist/react-lib-tools.js +1 -1
  24. package/package.json +1 -1
  25. package/dist/index-BFh5cQOB.cjs.map +0 -1
  26. package/dist/index-Bh6LXsao.js.map +0 -1
@@ -4600,10 +4600,10 @@ const uc = (e, t) => {
4600
4600
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
4601
4601
  };
4602
4602
  }, Xc = /* @__PURE__ */ Pc(Zc);
4603
- function be(...e) {
4603
+ function ve(...e) {
4604
4604
  return Xc(cc(e));
4605
4605
  }
4606
- function me({
4606
+ function be({
4607
4607
  align: e,
4608
4608
  children: t,
4609
4609
  className: n,
@@ -4619,7 +4619,7 @@ function me({
4619
4619
  return /* @__PURE__ */ E(
4620
4620
  "div",
4621
4621
  {
4622
- className: be(
4622
+ className: ve(
4623
4623
  "flex",
4624
4624
  {
4625
4625
  // align
@@ -5375,13 +5375,13 @@ function yn() {
5375
5375
  function cr(...e) {
5376
5376
  return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
5377
5377
  }
5378
- function he(e, t, ...n) {
5378
+ function me(e, t, ...n) {
5379
5379
  if (e in t) {
5380
5380
  let o = t[e];
5381
5381
  return typeof o == "function" ? o(...n) : o;
5382
5382
  }
5383
5383
  let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`);
5384
- throw Error.captureStackTrace && Error.captureStackTrace(r, he), r;
5384
+ throw Error.captureStackTrace && Error.captureStackTrace(r, me), r;
5385
5385
  }
5386
5386
  var pt = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(pt || {}), Ke = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Ke || {});
5387
5387
  function ce() {
@@ -5399,7 +5399,7 @@ function Lu({ ourProps: e, theirProps: t, slot: n, defaultTag: r, features: o, v
5399
5399
  }
5400
5400
  if (c & 1) {
5401
5401
  let { unmount: u = !0, ...d } = s;
5402
- return he(u ? 0 : 1, { 0() {
5402
+ return me(u ? 0 : 1, { 0() {
5403
5403
  return null;
5404
5404
  }, 1() {
5405
5405
  return Yt({ ...d, hidden: !0, style: { display: "none" } }, n, r, l, a);
@@ -5626,7 +5626,7 @@ let il = /* @__PURE__ */ Symbol();
5626
5626
  function ll(e, t = !0) {
5627
5627
  return Object.assign(e, { [il]: t });
5628
5628
  }
5629
- function ge(...e) {
5629
+ function he(...e) {
5630
5630
  let t = I(e);
5631
5631
  oe(() => {
5632
5632
  t.current = e;
@@ -5652,7 +5652,7 @@ function td() {
5652
5652
  }
5653
5653
  let nd = "p";
5654
5654
  function rd(e, t) {
5655
- let n = je(), r = yn(), { id: o = `headlessui-description-${n}`, ...i } = e, l = al(), a = ge(t);
5655
+ let n = je(), r = yn(), { id: o = `headlessui-description-${n}`, ...i } = e, l = al(), a = he(t);
5656
5656
  re(() => l.register(o), [o, l.register]);
5657
5657
  let s = Ce({ ...l.slot, disabled: r || !1 }), c = { ref: a, ...l.props, id: o };
5658
5658
  return ce()({ ourProps: c, theirProps: i, slot: s, defaultTag: nd, name: l.name || "Description" });
@@ -5688,7 +5688,7 @@ function id({ inherit: e = !1 } = {}) {
5688
5688
  let ld = "label";
5689
5689
  function ad(e, t) {
5690
5690
  var n;
5691
- let r = je(), o = sl(), i = tl(), l = yn(), { id: a = `headlessui-label-${r}`, htmlFor: s = i ?? ((n = o.props) == null ? void 0 : n.htmlFor), passive: c = !1, ...u } = e, d = ge(t);
5691
+ let r = je(), o = sl(), i = tl(), l = yn(), { id: a = `headlessui-label-${r}`, htmlFor: s = i ?? ((n = o.props) == null ? void 0 : n.htmlFor), passive: c = !1, ...u } = e, d = he(t);
5692
5692
  re(() => o.register(a), [a, o.register]);
5693
5693
  let p = B((g) => {
5694
5694
  let v = g.currentTarget;
@@ -5847,7 +5847,7 @@ let xd = { 0(e, t) {
5847
5847
  return new gl({ stack: [] });
5848
5848
  }
5849
5849
  reduce(t, n) {
5850
- return he(n.type, xd, t, n);
5850
+ return me(n.type, xd, t, n);
5851
5851
  }
5852
5852
  };
5853
5853
  const Ir = new dl(() => Ed.new());
@@ -5961,14 +5961,14 @@ function kd() {
5961
5961
  return wo || (wo = 1, process.env.NODE_ENV === "production" ? Zt.exports = $d() : Zt.exports = Sd()), Zt.exports;
5962
5962
  }
5963
5963
  var Cd = kd();
5964
- function ve(e, t, n = ml) {
5964
+ function ge(e, t, n = ml) {
5965
5965
  return Cd.useSyncExternalStoreWithSelector(B((r) => e.subscribe(Rd, r)), B(() => e.state), B(() => e.state), B(t), n);
5966
5966
  }
5967
5967
  function Rd(e) {
5968
5968
  return e;
5969
5969
  }
5970
5970
  function vl(e, t) {
5971
- let n = je(), r = Ir.get(t), [o, i] = ve(r, K((l) => [r.selectors.isTop(l, n), r.selectors.inStack(l, n)], [r, n]));
5971
+ let n = je(), r = Ir.get(t), [o, i] = ge(r, K((l) => [r.selectors.isTop(l, n), r.selectors.inStack(l, n)], [r, n]));
5972
5972
  return re(() => {
5973
5973
  if (e) return r.actions.push(n), () => r.actions.pop(n);
5974
5974
  }, [r, e, n]), e ? i ? o : !0 : !1;
@@ -6039,7 +6039,7 @@ function Fd(e = document.body) {
6039
6039
  var Dr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Dr || {});
6040
6040
  function wl(e, t = 0) {
6041
6041
  var n;
6042
- return e === ((n = _t(e)) == null ? void 0 : n.body) ? !1 : he(t, { 0() {
6042
+ return e === ((n = _t(e)) == null ? void 0 : n.body) ? !1 : me(t, { 0() {
6043
6043
  return e.matches(fr);
6044
6044
  }, 1() {
6045
6045
  let r = e;
@@ -8106,7 +8106,7 @@ function Hp(e) {
8106
8106
  }, [n, o, t]), r;
8107
8107
  }
8108
8108
  let jl = Ne, jp = ae(function(e, t) {
8109
- let { ownerDocument: n = null, ...r } = e, o = I(null), i = ge(ll((p) => {
8109
+ let { ownerDocument: n = null, ...r } = e, o = I(null), i = he(ll((p) => {
8110
8110
  o.current = p;
8111
8111
  }), t), l = mr(o.current), a = n ?? l, s = Hp(a), c = Y(Up), u = lt(), d = ce();
8112
8112
  return Hl(() => {
@@ -8117,12 +8117,12 @@ let jl = Ne, jp = ae(function(e, t) {
8117
8117
  } }, d({ ourProps: { ref: i }, theirProps: r, slot: {}, defaultTag: jl, name: "Portal" })), s) : null;
8118
8118
  });
8119
8119
  function Vp(e, t) {
8120
- let n = ge(t), { enabled: r = !0, ownerDocument: o, ...i } = e, l = ce();
8120
+ let n = he(t), { enabled: r = !0, ownerDocument: o, ...i } = e, l = ce();
8121
8121
  return r ? L.createElement(jp, { ...i, ownerDocument: o, ref: n }) : l({ ourProps: { ref: n }, theirProps: i, slot: {}, defaultTag: jl, name: "Portal" });
8122
8122
  }
8123
8123
  let zp = Ne, Vl = ne(null);
8124
8124
  function Wp(e, t) {
8125
- let { target: n, ...r } = e, o = { ref: ge(t) }, i = ce();
8125
+ let { target: n, ...r } = e, o = { ref: he(t) }, i = ce();
8126
8126
  return L.createElement(Vl.Provider, { value: n }, i({ ourProps: o, theirProps: r, defaultTag: zp, name: "Popover.Group" }));
8127
8127
  }
8128
8128
  let Up = ne(null), Gp = ae(Vp), qp = ae(Wp), Kp = Object.assign(Gp, { Group: qp });
@@ -8183,7 +8183,7 @@ function An(e) {
8183
8183
  function Gl(e, t) {
8184
8184
  let n = at(e), r = I([]), o = Xp(), i = lt(), l = B((f, m = Ke.Hidden) => {
8185
8185
  let g = r.current.findIndex(({ el: v }) => v === f);
8186
- g !== -1 && (he(m, { [Ke.Unmount]() {
8186
+ g !== -1 && (me(m, { [Ke.Unmount]() {
8187
8187
  r.current.splice(g, 1);
8188
8188
  }, [Ke.Hidden]() {
8189
8189
  r.current[g].state = "hidden";
@@ -8211,14 +8211,14 @@ function Gl(e, t) {
8211
8211
  let ql = Ne, Kl = pt.RenderStrategy;
8212
8212
  function tm(e, t) {
8213
8213
  var n, r;
8214
- let { transition: o = !0, beforeEnter: i, afterEnter: l, beforeLeave: a, afterLeave: s, enter: c, enterFrom: u, enterTo: d, entered: p, leave: f, leaveFrom: m, leaveTo: g, ...v } = e, [b, y] = X(null), w = I(null), $ = Ul(e), x = ge(...$ ? [w, t, y] : t === null ? [] : [t]), O = (n = v.unmount) == null || n ? Ke.Unmount : Ke.Hidden, { show: R, appear: k, initial: A } = Qp(), [C, N] = X(R ? "visible" : "hidden"), V = em(), { register: W, unregister: j } = V;
8214
+ let { transition: o = !0, beforeEnter: i, afterEnter: l, beforeLeave: a, afterLeave: s, enter: c, enterFrom: u, enterTo: d, entered: p, leave: f, leaveFrom: m, leaveTo: g, ...v } = e, [b, y] = X(null), w = I(null), $ = Ul(e), x = he(...$ ? [w, t, y] : t === null ? [] : [t]), O = (n = v.unmount) == null || n ? Ke.Unmount : Ke.Hidden, { show: R, appear: k, initial: A } = Qp(), [C, N] = X(R ? "visible" : "hidden"), V = em(), { register: W, unregister: j } = V;
8215
8215
  re(() => W(w), [W, w]), re(() => {
8216
8216
  if (O === Ke.Hidden && w.current) {
8217
8217
  if (R && C !== "visible") {
8218
8218
  N("visible");
8219
8219
  return;
8220
8220
  }
8221
- return he(C, { hidden: () => j(w), visible: () => W(w) });
8221
+ return me(C, { hidden: () => j(w), visible: () => W(w) });
8222
8222
  }
8223
8223
  }, [C, w, W, j, R, O]);
8224
8224
  let F = Wl();
@@ -8248,7 +8248,7 @@ function tm(e, t) {
8248
8248
  return L.createElement(Ln.Provider, { value: z }, L.createElement(Wr, { value: Ee }, M({ ourProps: se, theirProps: v, defaultTag: ql, features: Kl, visible: C === "visible", name: "Transition.Child" })));
8249
8249
  }
8250
8250
  function nm(e, t) {
8251
- let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, l = I(null), a = Ul(e), s = ge(...a ? [l, t] : t === null ? [] : [t]);
8251
+ let { show: n, appear: r = !1, unmount: o = !0, ...i } = e, l = I(null), a = Ul(e), s = he(...a ? [l, t] : t === null ? [] : [t]);
8252
8252
  Wl();
8253
8253
  let c = Tn();
8254
8254
  if (n === void 0 && c !== null && (n = (c & pe.Open) === pe.Open), n === void 0) throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
@@ -8281,7 +8281,7 @@ let lm = (Uo = L.startTransition) != null ? Uo : function(e) {
8281
8281
  e();
8282
8282
  };
8283
8283
  var am = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(am || {}), sm = ((e) => (e[e.ToggleDisclosure = 0] = "ToggleDisclosure", e[e.CloseDisclosure = 1] = "CloseDisclosure", e[e.SetButtonId = 2] = "SetButtonId", e[e.SetPanelId = 3] = "SetPanelId", e[e.SetButtonElement = 4] = "SetButtonElement", e[e.SetPanelElement = 5] = "SetPanelElement", e))(sm || {});
8284
- let cm = { 0: (e) => ({ ...e, disclosureState: he(e.disclosureState, { 0: 1, 1: 0 }) }), 1: (e) => e.disclosureState === 1 ? e : { ...e, disclosureState: 1 }, 2(e, t) {
8284
+ let cm = { 0: (e) => ({ ...e, disclosureState: me(e.disclosureState, { 0: 1, 1: 0 }) }), 1: (e) => e.disclosureState === 1 ? e : { ...e, disclosureState: 1 }, 2(e, t) {
8285
8285
  return e.buttonId === t.buttonId ? e : { ...e, buttonId: t.buttonId };
8286
8286
  }, 3(e, t) {
8287
8287
  return e.panelId === t.panelId ? e : { ...e, panelId: t.panelId };
@@ -8315,11 +8315,11 @@ function um() {
8315
8315
  return Y(Kr);
8316
8316
  }
8317
8317
  function dm(e, t) {
8318
- return he(t.type, cm, e, t);
8318
+ return me(t.type, cm, e, t);
8319
8319
  }
8320
8320
  let fm = Ne;
8321
8321
  function pm(e, t) {
8322
- let { defaultOpen: n = !1, ...r } = e, o = I(null), i = ge(t, ll((g) => {
8322
+ let { defaultOpen: n = !1, ...r } = e, o = I(null), i = he(t, ll((g) => {
8323
8323
  o.current = g;
8324
8324
  }, e.as === void 0 || ut(e.as))), l = ma(dm, { disclosureState: n ? 0 : 1, buttonElement: null, panelElement: null, buttonId: null, panelId: null }), [{ disclosureState: a, buttonId: s }, c] = l, u = B((g) => {
8325
8325
  c({ type: 1 });
@@ -8328,11 +8328,11 @@ function pm(e, t) {
8328
8328
  let b = g ? Ye(g) ? g : "current" in g && Ye(g.current) ? g.current : v.getElementById(s) : v.getElementById(s);
8329
8329
  b?.focus();
8330
8330
  }), d = le(() => ({ close: u }), [u]), p = Ce({ open: a === 0, close: u }), f = { ref: i }, m = ce();
8331
- return L.createElement(Ur.Provider, { value: l }, L.createElement(qr.Provider, { value: d }, L.createElement(dd, { value: u }, L.createElement(Wr, { value: he(a, { 0: pe.Open, 1: pe.Closed }) }, m({ ourProps: f, theirProps: r, slot: p, defaultTag: fm, name: "Disclosure" })))));
8331
+ return L.createElement(Ur.Provider, { value: l }, L.createElement(qr.Provider, { value: d }, L.createElement(dd, { value: u }, L.createElement(Wr, { value: me(a, { 0: pe.Open, 1: pe.Closed }) }, m({ ourProps: f, theirProps: r, slot: p, defaultTag: fm, name: "Disclosure" })))));
8332
8332
  }
8333
8333
  let mm = "button";
8334
8334
  function hm(e, t) {
8335
- let n = je(), { id: r = `headlessui-disclosure-button-${n}`, disabled: o = !1, autoFocus: i = !1, ...l } = e, [a, s] = Gr("Disclosure.Button"), c = um(), u = c === null ? !1 : c === a.panelId, d = I(null), p = ge(d, t, B((A) => {
8335
+ let n = je(), { id: r = `headlessui-disclosure-button-${n}`, disabled: o = !1, autoFocus: i = !1, ...l } = e, [a, s] = Gr("Disclosure.Button"), c = um(), u = c === null ? !1 : c === a.panelId, d = I(null), p = he(d, t, B((A) => {
8336
8336
  if (!u) return s({ type: 4, element: A });
8337
8337
  }));
8338
8338
  oe(() => {
@@ -8366,7 +8366,7 @@ function hm(e, t) {
8366
8366
  }
8367
8367
  let gm = "div", vm = pt.RenderStrategy | pt.Static;
8368
8368
  function bm(e, t) {
8369
- let n = je(), { id: r = `headlessui-disclosure-panel-${n}`, transition: o = !1, ...i } = e, [l, a] = Gr("Disclosure.Panel"), { close: s } = Zl("Disclosure.Panel"), [c, u] = X(null), d = ge(t, B((y) => {
8369
+ let n = je(), { id: r = `headlessui-disclosure-panel-${n}`, transition: o = !1, ...i } = e, [l, a] = Gr("Disclosure.Panel"), { close: s } = Zl("Disclosure.Panel"), [c, u] = X(null), d = he(t, B((y) => {
8370
8370
  lm(() => a({ type: 5, element: y }));
8371
8371
  }), u);
8372
8372
  oe(() => (a({ type: 3, panelId: r }), () => {
@@ -8489,7 +8489,7 @@ class Yr extends pl {
8489
8489
  constructor(t) {
8490
8490
  super(t), Ko(this, "actions", { onChange: (n) => {
8491
8491
  let { onChange: r, compare: o, mode: i, value: l } = this.state.dataRef.current;
8492
- return he(i, { 0: () => r?.(n), 1: () => {
8492
+ return me(i, { 0: () => r?.(n), 1: () => {
8493
8493
  let a = l.slice(), s = a.findIndex((c) => o(c, n));
8494
8494
  return s === -1 ? a.push(n) : a.splice(s, 1), r?.(a);
8495
8495
  } });
@@ -8568,7 +8568,7 @@ class Yr extends pl {
8568
8568
  return new Yr({ id: t, dataRef: { current: {} }, listboxState: n ? 0 : 1, options: [], searchQuery: "", activeOptionIndex: null, activationTrigger: 1, buttonElement: null, optionsElement: null, pendingShouldSort: !1, pendingFocus: { focus: te.Nothing }, frozenValue: !1, __demoMode: n, buttonPositionState: rn.Idle });
8569
8569
  }
8570
8570
  reduce(t, n) {
8571
- return he(n.type, km, t, n);
8571
+ return me(n.type, km, t, n);
8572
8572
  }
8573
8573
  }
8574
8574
  const ea = ne(null);
@@ -8598,22 +8598,22 @@ let Cm = Ne;
8598
8598
  function Rm(e, t) {
8599
8599
  let n = je(), r = yn(), { value: o, defaultValue: i, form: l, name: a, onChange: s, by: c, invalid: u = !1, disabled: d = r || !1, horizontal: p = !1, multiple: f = !1, __demoMode: m = !1, ...g } = e;
8600
8600
  const v = p ? "horizontal" : "vertical";
8601
- let b = ge(t), y = Hu(i), [w = f ? [] : void 0, $] = Bu(o, s, y), x = ta({ id: n, __demoMode: m }), O = I({ static: !1, hold: !1 }), R = I(/* @__PURE__ */ new Map()), k = pd(c), A = K((Q) => he(C.mode, { [Ze.Multi]: () => w.some((H) => k(H, Q)), [Ze.Single]: () => k(w, Q) }), [w]), C = Ce({ value: w, disabled: d, invalid: u, mode: f ? Ze.Multi : Ze.Single, orientation: v, onChange: $, compare: k, isSelected: A, optionsPropsRef: O, listRef: R });
8601
+ let b = he(t), y = Hu(i), [w = f ? [] : void 0, $] = Bu(o, s, y), x = ta({ id: n, __demoMode: m }), O = I({ static: !1, hold: !1 }), R = I(/* @__PURE__ */ new Map()), k = pd(c), A = K((Q) => me(C.mode, { [Ze.Multi]: () => w.some((H) => k(H, Q)), [Ze.Single]: () => k(w, Q) }), [w]), C = Ce({ value: w, disabled: d, invalid: u, mode: f ? Ze.Multi : Ze.Single, orientation: v, onChange: $, compare: k, isSelected: A, optionsPropsRef: O, listRef: R });
8602
8602
  re(() => {
8603
8603
  x.state.dataRef.current = C;
8604
8604
  }, [C]);
8605
- let N = ve(x, (Q) => Q.listboxState), V = Ir.get(null), W = ve(V, K((Q) => V.selectors.isTop(Q, n), [V, n])), [j, F] = ve(x, (Q) => [Q.buttonElement, Q.optionsElement]);
8605
+ let N = ge(x, (Q) => Q.listboxState), V = Ir.get(null), W = ge(V, K((Q) => V.selectors.isTop(Q, n), [V, n])), [j, F] = ge(x, (Q) => [Q.buttonElement, Q.optionsElement]);
8606
8606
  jd(W, [j, F], (Q, H) => {
8607
8607
  x.send({ type: Ql.CloseListbox }), wl(H, Dr.Loose) || (Q.preventDefault(), j?.focus());
8608
8608
  });
8609
8609
  let D = Ce({ open: N === de.Open, disabled: d, invalid: u, value: w }), [G, S] = id({ inherit: !0 }), z = { ref: b }, Z = K(() => {
8610
8610
  if (y !== void 0) return $?.(y);
8611
8611
  }, [$, y]), xe = ce();
8612
- return L.createElement(S, { value: G, props: { htmlFor: j?.id }, slot: { open: N === de.Open, disabled: d } }, L.createElement(Ap, null, L.createElement(ea.Provider, { value: x }, L.createElement(Fn.Provider, { value: C }, L.createElement(Wr, { value: he(N, { [de.Open]: pe.Open, [de.Closed]: pe.Closed }) }, a != null && w != null && L.createElement(qu, { disabled: d, data: { [a]: w }, form: l, onReset: Z }), xe({ ourProps: z, theirProps: g, slot: D, defaultTag: Cm, name: "Listbox" }))))));
8612
+ return L.createElement(S, { value: G, props: { htmlFor: j?.id }, slot: { open: N === de.Open, disabled: d } }, L.createElement(Ap, null, L.createElement(ea.Provider, { value: x }, L.createElement(Fn.Provider, { value: C }, L.createElement(Wr, { value: me(N, { [de.Open]: pe.Open, [de.Closed]: pe.Closed }) }, a != null && w != null && L.createElement(qu, { disabled: d, data: { [a]: w }, form: l, onReset: Z }), xe({ ourProps: z, theirProps: g, slot: D, defaultTag: Cm, name: "Listbox" }))))));
8613
8613
  }
8614
8614
  let Om = "button";
8615
8615
  function Tm(e, t) {
8616
- let n = je(), r = tl(), o = jt("Listbox.Button"), i = Zr("Listbox.Button"), { id: l = r || `headlessui-listbox-button-${n}`, disabled: a = o.disabled || !1, autoFocus: s = !1, ...c } = e, u = ge(t, Op(), i.actions.setButtonElement), d = Tp(), [p, f, m] = ve(i, (F) => [F.listboxState, F.buttonElement, F.optionsElement]), g = p === de.Open;
8616
+ let n = je(), r = tl(), o = jt("Listbox.Button"), i = Zr("Listbox.Button"), { id: l = r || `headlessui-listbox-button-${n}`, disabled: a = o.disabled || !1, autoFocus: s = !1, ...c } = e, u = he(t, Op(), i.actions.setButtonElement), d = Tp(), [p, f, m] = ge(i, (F) => [F.listboxState, F.buttonElement, F.optionsElement]), g = p === de.Open;
8617
8617
  Wd(g, { trigger: f, action: K((F) => {
8618
8618
  if (f != null && f.contains(F.target)) return Xt.Ignore;
8619
8619
  let D = F.target.closest('[role="option"]:not([data-disabled])');
@@ -8637,20 +8637,20 @@ function Tm(e, t) {
8637
8637
  }), y = hd((F) => {
8638
8638
  var D;
8639
8639
  i.state.listboxState === de.Open ? (an(() => i.actions.closeListbox()), (D = i.state.buttonElement) == null || D.focus({ preventScroll: !0 })) : (F.preventDefault(), i.actions.openListbox({ focus: te.Nothing }));
8640
- }), w = B((F) => F.preventDefault()), $ = cl([l]), x = td(), { isFocusVisible: O, focusProps: R } = Ar({ autoFocus: s }), { isHovered: k, hoverProps: A } = Lr({ isDisabled: a }), { pressed: C, pressProps: N } = Fr({ disabled: a }), V = Ce({ open: p === de.Open, active: C || p === de.Open, disabled: a, invalid: o.invalid, value: o.value, hover: k, focus: O, autofocus: s }), W = ve(i, (F) => F.listboxState === de.Open), j = Lt(d(), { ref: u, id: l, type: El(e, f), "aria-haspopup": "listbox", "aria-controls": m?.id, "aria-expanded": W, "aria-labelledby": $, "aria-describedby": x, disabled: a || void 0, autoFocus: s, onKeyDown: v, onKeyUp: b, onKeyPress: w }, y, R, A, N);
8640
+ }), w = B((F) => F.preventDefault()), $ = cl([l]), x = td(), { isFocusVisible: O, focusProps: R } = Ar({ autoFocus: s }), { isHovered: k, hoverProps: A } = Lr({ isDisabled: a }), { pressed: C, pressProps: N } = Fr({ disabled: a }), V = Ce({ open: p === de.Open, active: C || p === de.Open, disabled: a, invalid: o.invalid, value: o.value, hover: k, focus: O, autofocus: s }), W = ge(i, (F) => F.listboxState === de.Open), j = Lt(d(), { ref: u, id: l, type: El(e, f), "aria-haspopup": "listbox", "aria-controls": m?.id, "aria-expanded": W, "aria-labelledby": $, "aria-describedby": x, disabled: a || void 0, autoFocus: s, onKeyDown: v, onKeyUp: b, onKeyPress: w }, y, R, A, N);
8641
8641
  return ce()({ ourProps: j, theirProps: c, slot: V, defaultTag: Om, name: "Listbox.Button" });
8642
8642
  }
8643
8643
  let na = ne(!1), Pm = "div", Lm = pt.RenderStrategy | pt.Static;
8644
8644
  function Am(e, t) {
8645
8645
  let n = je(), { id: r = `headlessui-listbox-options-${n}`, anchor: o, portal: i = !1, modal: l = !0, transition: a = !1, ...s } = e, c = Rp(o), [u, d] = X(null);
8646
8646
  c && (i = !0);
8647
- let p = jt("Listbox.Options"), f = Zr("Listbox.Options"), [m, g, v, b] = ve(f, (M) => [M.listboxState, M.buttonElement, M.optionsElement, M.__demoMode]), y = mr(g), w = mr(v), $ = Tn(), [x, O] = Br(a, u, $ !== null ? ($ & pe.Open) === pe.Open : m === de.Open);
8647
+ let p = jt("Listbox.Options"), f = Zr("Listbox.Options"), [m, g, v, b] = ge(f, (M) => [M.listboxState, M.buttonElement, M.optionsElement, M.__demoMode]), y = mr(g), w = mr(v), $ = Tn(), [x, O] = Br(a, u, $ !== null ? ($ & pe.Open) === pe.Open : m === de.Open);
8648
8648
  Td(x, g, f.actions.closeListbox);
8649
8649
  let R = b ? !1 : l && m === de.Open;
8650
8650
  Xd(R, w);
8651
8651
  let k = b ? !1 : l && m === de.Open;
8652
8652
  Od(k, { allowed: K(() => [g, v], [g, v]) });
8653
- let A = ve(f, f.selectors.didButtonMove) ? !1 : x, C = ve(f, f.selectors.hasFrozenValue) && !e.static, N = Bl(C, p.value), V = K((M) => p.compare(N, M), [p.compare, N]), W = ve(f, (M) => {
8653
+ let A = ge(f, f.selectors.didButtonMove) ? !1 : x, C = ge(f, f.selectors.hasFrozenValue) && !e.static, N = Bl(C, p.value), V = K((M) => p.compare(N, M), [p.compare, N]), W = ge(f, (M) => {
8654
8654
  var U;
8655
8655
  if (c == null || !((U = c?.to) != null && U.includes("selection"))) return null;
8656
8656
  let Re = M.options.findIndex(($e) => V($e.dataRef.current.value));
@@ -8660,7 +8660,7 @@ function Am(e, t) {
8660
8660
  if (W === null) return { ...c, inner: void 0 };
8661
8661
  let M = Array.from(p.listRef.current.values());
8662
8662
  return { ...c, inner: { listRef: { current: M }, index: W } };
8663
- })(), [F, D] = Lp(j), G = Pp(), S = ge(t, c ? F : null, f.actions.setOptionsElement, d), z = lt();
8663
+ })(), [F, D] = Lp(j), G = Pp(), S = he(t, c ? F : null, f.actions.setOptionsElement, d), z = lt();
8664
8664
  oe(() => {
8665
8665
  let M = v;
8666
8666
  M && m === de.Open && (Ru(M) || M == null || M.focus({ preventScroll: !0 }));
@@ -8673,9 +8673,9 @@ function Am(e, t) {
8673
8673
  case ee.Enter:
8674
8674
  M.preventDefault(), M.stopPropagation(), f.actions.selectActiveOption();
8675
8675
  break;
8676
- case he(p.orientation, { vertical: ee.ArrowDown, horizontal: ee.ArrowRight }):
8676
+ case me(p.orientation, { vertical: ee.ArrowDown, horizontal: ee.ArrowRight }):
8677
8677
  return M.preventDefault(), M.stopPropagation(), f.actions.goToOption({ focus: te.Next });
8678
- case he(p.orientation, { vertical: ee.ArrowUp, horizontal: ee.ArrowLeft }):
8678
+ case me(p.orientation, { vertical: ee.ArrowUp, horizontal: ee.ArrowLeft }):
8679
8679
  return M.preventDefault(), M.stopPropagation(), f.actions.goToOption({ focus: te.Previous });
8680
8680
  case ee.Home:
8681
8681
  case ee.PageUp:
@@ -8693,19 +8693,19 @@ function Am(e, t) {
8693
8693
  M.key.length === 1 && (f.actions.search(M.key), z.setTimeout(() => f.actions.clearSearch(), 350));
8694
8694
  break;
8695
8695
  }
8696
- }), xe = ve(f, (M) => {
8696
+ }), xe = ge(f, (M) => {
8697
8697
  var U;
8698
8698
  return (U = M.buttonElement) == null ? void 0 : U.id;
8699
- }), Q = Ce({ open: m === de.Open }), H = Lt(c ? G() : {}, { id: r, ref: S, "aria-activedescendant": ve(f, f.selectors.activeDescendantId), "aria-multiselectable": p.mode === Ze.Multi ? !0 : void 0, "aria-labelledby": xe, "aria-orientation": p.orientation, onKeyDown: Z, role: "listbox", tabIndex: m === de.Open ? 0 : void 0, style: { ...s.style, ...D, "--button-width": md(x, g, !0).width }, ..._r(O) }), se = ce(), Ee = le(() => p.mode === Ze.Multi ? p : { ...p, isSelected: V }, [p, V]);
8699
+ }), Q = Ce({ open: m === de.Open }), H = Lt(c ? G() : {}, { id: r, ref: S, "aria-activedescendant": ge(f, f.selectors.activeDescendantId), "aria-multiselectable": p.mode === Ze.Multi ? !0 : void 0, "aria-labelledby": xe, "aria-orientation": p.orientation, onKeyDown: Z, role: "listbox", tabIndex: m === de.Open ? 0 : void 0, style: { ...s.style, ...D, "--button-width": md(x, g, !0).width }, ..._r(O) }), se = ce(), Ee = le(() => p.mode === Ze.Multi ? p : { ...p, isSelected: V }, [p, V]);
8700
8700
  return L.createElement(Kp, { enabled: i ? e.static || x : !1, ownerDocument: y }, L.createElement(Fn.Provider, { value: Ee }, se({ ourProps: H, theirProps: s, slot: Q, defaultTag: Pm, features: Lm, visible: A, name: "Listbox.Options" })));
8701
8701
  }
8702
8702
  let Fm = "div";
8703
8703
  function Nm(e, t) {
8704
- let n = je(), { id: r = `headlessui-listbox-option-${n}`, disabled: o = !1, value: i, ...l } = e, a = Y(na) === !0, s = jt("Listbox.Option"), c = Zr("Listbox.Option"), u = ve(c, (C) => c.selectors.isActive(C, r)), d = s.isSelected(i), p = I(null), f = Em(p), m = at({ disabled: o, value: i, domRef: p, get textValue() {
8704
+ let n = je(), { id: r = `headlessui-listbox-option-${n}`, disabled: o = !1, value: i, ...l } = e, a = Y(na) === !0, s = jt("Listbox.Option"), c = Zr("Listbox.Option"), u = ge(c, (C) => c.selectors.isActive(C, r)), d = s.isSelected(i), p = I(null), f = Em(p), m = at({ disabled: o, value: i, domRef: p, get textValue() {
8705
8705
  return f();
8706
- } }), g = ge(t, p, (C) => {
8706
+ } }), g = he(t, p, (C) => {
8707
8707
  C ? s.listRef.current.set(r, C) : s.listRef.current.delete(r);
8708
- }), v = ve(c, (C) => c.selectors.shouldScrollIntoView(C, r));
8708
+ }), v = ge(c, (C) => c.selectors.shouldScrollIntoView(C, r));
8709
8709
  re(() => {
8710
8710
  if (v) return ye().requestAnimationFrame(() => {
8711
8711
  var C, N;
@@ -8729,7 +8729,7 @@ function Nm(e, t) {
8729
8729
  }
8730
8730
  let Mm = Ne;
8731
8731
  function Im(e, t) {
8732
- let { options: n, placeholder: r, ...o } = e, i = { ref: ge(t) }, l = jt("ListboxSelectedOption"), a = Ce({}), s = l.value === void 0 || l.value === null || l.mode === Ze.Multi && Array.isArray(l.value) && l.value.length === 0, c = ce();
8732
+ let { options: n, placeholder: r, ...o } = e, i = { ref: he(t) }, l = jt("ListboxSelectedOption"), a = Ce({}), s = l.value === void 0 || l.value === null || l.mode === Ze.Multi && Array.isArray(l.value) && l.value.length === 0, c = ce();
8733
8733
  return L.createElement(na.Provider, { value: !0 }, c({ ourProps: i, theirProps: { ...o, children: L.createElement(L.Fragment, null, r && s ? r : n) }, slot: a, defaultTag: Mm, name: "ListboxSelectedOption" }));
8734
8734
  }
8735
8735
  let Dm = ae(Rm), ra = ae(Tm), _m = cd, oa = ae(Am), ia = ae(Nm), Bm = ae(Im), Hm = Object.assign(Dm, { Button: ra, Label: _m, Options: oa, Option: ia, SelectedOption: Bm });
@@ -8743,7 +8743,7 @@ function jm({
8743
8743
  return /* @__PURE__ */ E(
8744
8744
  _u,
8745
8745
  {
8746
- className: be(
8746
+ className: ve(
8747
8747
  "rounded-md font-bold cursor-pointer px-2",
8748
8748
  Vm(r, !!n),
8749
8749
  {
@@ -8761,23 +8761,23 @@ function jm({
8761
8761
  function Vm(e, t) {
8762
8762
  switch (e) {
8763
8763
  case "danger":
8764
- return be("bg-red-400 text-red-950 focus:text-black", {
8764
+ return ve("bg-red-400 text-red-950 focus:text-black", {
8765
8765
  "hover:bg-red-500 focus:text-black": !t
8766
8766
  });
8767
8767
  case "none":
8768
- return be("bg-white/20 text-slate-300 focus:text-white", {
8768
+ return ve("bg-white/20 text-slate-300 focus:text-white", {
8769
8769
  "hover:bg-white/10 focus:text-white": !t
8770
8770
  });
8771
8771
  case "success":
8772
- return be("bg-emerald-400 text-emerald-950 focus:text-black", {
8772
+ return ve("bg-emerald-400 text-emerald-950 focus:text-black", {
8773
8773
  "hover:bg-emerald-500 focus:text-black": !t
8774
8774
  });
8775
8775
  case "primary":
8776
- return be("bg-sky-400 text-sky-950 focus:text-black", {
8776
+ return ve("bg-sky-400 text-sky-950 focus:text-black", {
8777
8777
  "hover:bg-sky-500 focus:text-black": !t
8778
8778
  });
8779
8779
  case "warning":
8780
- return be("bg-amber-400 text-amber-950 focus:text-black", {
8780
+ return ve("bg-amber-400 text-amber-950 focus:text-black", {
8781
8781
  "hover:bg-amber-500 focus:text-black": !t
8782
8782
  });
8783
8783
  }
@@ -8786,7 +8786,7 @@ function la({ children: e }) {
8786
8786
  return /* @__PURE__ */ E(Qc, { FallbackComponent: zm, children: e });
8787
8787
  }
8788
8788
  function zm({ error: e, resetErrorBoundary: t }) {
8789
- return /* @__PURE__ */ E(Ii, { intent: "danger", children: /* @__PURE__ */ q(me, { align: "start", direction: "column", gap: 2, children: [
8789
+ return /* @__PURE__ */ E(Ii, { intent: "danger", children: /* @__PURE__ */ q(be, { align: "start", direction: "column", gap: 2, children: [
8790
8790
  /* @__PURE__ */ E("div", { className: "font-bold", children: "Something went wrong!" }),
8791
8791
  /* @__PURE__ */ E("pre", { className: "text-sm font-monospace text-red-300", children: e.message }),
8792
8792
  /* @__PURE__ */ E(jm, { intent: "danger", onClick: t, children: "Retry" })
@@ -8851,10 +8851,10 @@ function Um() {
8851
8851
  }, [e, t]), null;
8852
8852
  }
8853
8853
  const Gm = {
8854
- "*": Wt(() => import("./PageNotFound-BOtcH9tJ.js")),
8855
- "/": Wt(() => import("./GettingStartedRoute-BqKgSm4z.js")),
8856
- "/support": Wt(() => import("./SupportRoute-D2h0cvHw.js")),
8857
- "/versions": Wt(() => import("./VersionsRoute-UBlVDqMh.js"))
8854
+ "*": Wt(() => import("./PageNotFound-CB4aWvqZ.js")),
8855
+ "/": Wt(() => import("./GettingStartedRoute-BiU1uw3z.js")),
8856
+ "/support": Wt(() => import("./SupportRoute-CCWHUGmp.js")),
8857
+ "/versions": Wt(() => import("./VersionsRoute-DGvfG4y4.js"))
8858
8858
  };
8859
8859
  function uh({
8860
8860
  navLinks: e,
@@ -8863,32 +8863,23 @@ function uh({
8863
8863
  packageName: r,
8864
8864
  routes: o,
8865
8865
  showOpenCollectLink: i = !1,
8866
- url: l,
8867
- versions: a
8866
+ versions: l
8868
8867
  }) {
8869
- const { toggle: s, visible: c } = Ei(), u = le(
8868
+ const { toggle: a, visible: s } = Ei(), c = le(
8870
8869
  () => ({
8871
8870
  overview: t,
8872
8871
  packageDescription: n,
8873
8872
  packageName: r,
8874
8873
  showOpenCollectLink: i,
8875
- url: l,
8876
- versions: a
8874
+ versions: l
8877
8875
  }),
8878
- [
8879
- t,
8880
- n,
8881
- r,
8882
- i,
8883
- l,
8884
- a
8885
- ]
8876
+ [t, n, r, i, l]
8886
8877
  );
8887
- return /* @__PURE__ */ E(xi.Provider, { value: u, children: /* @__PURE__ */ q(Gs, { children: [
8878
+ return /* @__PURE__ */ E(xi.Provider, { value: c, children: /* @__PURE__ */ q(Gs, { children: [
8888
8879
  /* @__PURE__ */ E(Um, {}),
8889
8880
  /* @__PURE__ */ q("div", { className: "h-full w-full max-w-350 mx-auto flex flex-col", children: [
8890
8881
  /* @__PURE__ */ q(
8891
- me,
8882
+ be,
8892
8883
  {
8893
8884
  align: "center",
8894
8885
  className: "h-12 w-full p-4",
@@ -8897,7 +8888,7 @@ function uh({
8897
8888
  gap: 4,
8898
8889
  children: [
8899
8890
  /* @__PURE__ */ q(
8900
- me,
8891
+ be,
8901
8892
  {
8902
8893
  className: "overflow-hidden",
8903
8894
  align: "center",
@@ -8916,8 +8907,8 @@ function uh({
8916
8907
  ]
8917
8908
  }
8918
8909
  ),
8919
- /* @__PURE__ */ q(me, { align: "center", direction: "row", gap: 4, children: [
8920
- a !== void 0 && /* @__PURE__ */ E(
8910
+ /* @__PURE__ */ q(be, { align: "center", direction: "row", gap: 4, children: [
8911
+ l !== void 0 && /* @__PURE__ */ E(
8921
8912
  wr,
8922
8913
  {
8923
8914
  "aria-label": "Documentation for other versions",
@@ -8951,12 +8942,12 @@ function uh({
8951
8942
  "button",
8952
8943
  {
8953
8944
  "aria-label": "Site navigation menu",
8954
- className: be("block md:hidden cursor-pointer rounded-lg p-1", {
8955
- "bg-black/40": !c,
8956
- "bg-black/50 text-white": c
8945
+ className: ve("block md:hidden cursor-pointer rounded-lg p-1", {
8946
+ "bg-black/40": !s,
8947
+ "bg-black/50 text-white": s
8957
8948
  }),
8958
- onClick: s,
8959
- children: c ? /* @__PURE__ */ E(La, { className: "w-6 h-6 fill-current drop-shadow-black/20 drop-shadow-xs" }) : /* @__PURE__ */ E(ya, { className: "w-6 h-6 fill-current drop-shadow-black/20 drop-shadow-xs" })
8949
+ onClick: a,
8950
+ children: s ? /* @__PURE__ */ E(La, { className: "w-6 h-6 fill-current drop-shadow-black/20 drop-shadow-xs" }) : /* @__PURE__ */ E(ya, { className: "w-6 h-6 fill-current drop-shadow-black/20 drop-shadow-xs" })
8960
8951
  }
8961
8952
  )
8962
8953
  ] })
@@ -8967,10 +8958,10 @@ function uh({
8967
8958
  /* @__PURE__ */ E(
8968
8959
  "section",
8969
8960
  {
8970
- className: be(
8961
+ className: ve(
8971
8962
  "w-full bg-black/90 md:block md:w-80 md:bg-black/80 overflow-auto",
8972
8963
  {
8973
- hidden: !c
8964
+ hidden: !s
8974
8965
  }
8975
8966
  ),
8976
8967
  children: /* @__PURE__ */ E(Wm, { children: e })
@@ -8979,8 +8970,8 @@ function uh({
8979
8970
  /* @__PURE__ */ E(
8980
8971
  "main",
8981
8972
  {
8982
- className: be("w-full bg-black/90 relative overflow-auto", {
8983
- hidden: c
8973
+ className: ve("w-full bg-black/90 relative overflow-auto", {
8974
+ hidden: s
8984
8975
  }),
8985
8976
  children: /* @__PURE__ */ E(
8986
8977
  "div",
@@ -8990,13 +8981,13 @@ function uh({
8990
8981
  children: /* @__PURE__ */ E($s, { children: Object.entries({
8991
8982
  ...Gm,
8992
8983
  ...o
8993
- }).map(([d, p]) => /* @__PURE__ */ E(
8984
+ }).map(([u, d]) => /* @__PURE__ */ E(
8994
8985
  mi,
8995
8986
  {
8996
- element: /* @__PURE__ */ E(la, { children: /* @__PURE__ */ E(p, {}) }, d),
8997
- path: d
8987
+ element: /* @__PURE__ */ E(la, { children: /* @__PURE__ */ E(d, {}) }, u),
8988
+ path: u
8998
8989
  },
8999
- d
8990
+ u
9000
8991
  )) })
9001
8992
  }
9002
8993
  )
@@ -9064,7 +9055,7 @@ function aa({
9064
9055
  return /* @__PURE__ */ E("div", { className: "relative", children: /* @__PURE__ */ E(
9065
9056
  "code",
9066
9057
  {
9067
- className: be(
9058
+ className: ve(
9068
9059
  "text-sm md:text-base block text-left whitespace-pre-wrap break-normal text-white! rounded-md p-3 bg-black",
9069
9060
  "flex flex-col",
9070
9061
  e
@@ -9077,7 +9068,7 @@ function Nn({
9077
9068
  className: e,
9078
9069
  sections: t
9079
9070
  }) {
9080
- return /* @__PURE__ */ E(me, { className: e, direction: "column", gap: 2, children: t.map(({ content: n, intent: r }, o) => r ? /* @__PURE__ */ E(Ii, { html: !0, inline: !0, intent: r, minimal: !0, children: n }, o) : /* @__PURE__ */ E(
9071
+ return /* @__PURE__ */ E(be, { className: e, direction: "column", gap: 2, children: t.map(({ content: n, intent: r }, o) => r ? /* @__PURE__ */ E(Ii, { html: !0, inline: !0, intent: r, minimal: !0, children: n }, o) : /* @__PURE__ */ E(
9081
9072
  "div",
9082
9073
  {
9083
9074
  dangerouslySetInnerHTML: {
@@ -9100,24 +9091,18 @@ function ca({
9100
9091
  section: e,
9101
9092
  title: t
9102
9093
  }) {
9103
- const { packageDescription: n, packageName: r, url: o } = Xm(), i = `${r}: ${e ? `${e}: ${t}` : t}`;
9094
+ const { packageName: n } = Xm();
9104
9095
  return /* @__PURE__ */ q(ft, { children: [
9105
- /* @__PURE__ */ q(me, { align: "center", direction: "row", gap: 2, wrap: !0, children: [
9096
+ /* @__PURE__ */ q("div", { className: "text-xl", children: [
9106
9097
  e && /* @__PURE__ */ q(ft, { children: [
9107
- /* @__PURE__ */ E("div", { className: "text-xl whitespace-nowrap", children: e }),
9108
- /* @__PURE__ */ E(ei, { className: "size-4 text-slate-400" })
9098
+ /* @__PURE__ */ E("span", { className: "text-xl whitespace-nowrap", children: e }),
9099
+ " ",
9100
+ /* @__PURE__ */ E(ei, { className: "size-4 text-slate-400 inline" }),
9101
+ " "
9109
9102
  ] }),
9110
- /* @__PURE__ */ E("div", { className: "text-xl whitespace-nowrap", children: i })
9103
+ /* @__PURE__ */ E("span", { className: "text-xl", children: t })
9111
9104
  ] }),
9112
- /* @__PURE__ */ E("title", { children: i }),
9113
- /* @__PURE__ */ E("meta", { property: "og:type", content: "website" }),
9114
- /* @__PURE__ */ E("meta", { property: "og:url", content: o }),
9115
- /* @__PURE__ */ E("meta", { property: "og:site_name", content: r }),
9116
- /* @__PURE__ */ E("meta", { property: "og:title", content: i }),
9117
- /* @__PURE__ */ E("meta", { property: "og:description", content: n }),
9118
- /* @__PURE__ */ E("meta", { property: "og:image", content: `${o}og.png` }),
9119
- /* @__PURE__ */ E("meta", { property: "og:image:width", content: "1200" }),
9120
- /* @__PURE__ */ E("meta", { property: "og:image:height", content: "630" })
9105
+ /* @__PURE__ */ E("title", { children: `${n}: ${e ? `${e}: ${t}` : t}` })
9121
9106
  ] });
9122
9107
  }
9123
9108
  function Jm({
@@ -9135,8 +9120,8 @@ function ph({
9135
9120
  json: e,
9136
9121
  section: t
9137
9122
  }) {
9138
- return /* @__PURE__ */ q(me, { direction: "column", gap: 4, children: [
9139
- /* @__PURE__ */ q(me, { align: "center", direction: "row", gap: 2, wrap: !0, children: [
9123
+ return /* @__PURE__ */ q(be, { direction: "column", gap: 4, children: [
9124
+ /* @__PURE__ */ q(be, { align: "center", direction: "row", gap: 2, wrap: !0, children: [
9140
9125
  /* @__PURE__ */ E(ca, { section: t, title: `${e.name}` }),
9141
9126
  /* @__PURE__ */ E(
9142
9127
  hn,
@@ -9148,7 +9133,7 @@ function ph({
9148
9133
  )
9149
9134
  ] }),
9150
9135
  /* @__PURE__ */ E(Nn, { sections: e.description }),
9151
- /* @__PURE__ */ E(me, { direction: "column", children: /* @__PURE__ */ E("dl", { className: "flex flex-col gap-2", children: e.methods.map((n, r) => /* @__PURE__ */ E(Jm, { method: n }, r)) }) })
9136
+ /* @__PURE__ */ E(be, { direction: "column", children: /* @__PURE__ */ E("dl", { className: "flex flex-col gap-2", children: e.methods.map((n, r) => /* @__PURE__ */ E(Jm, { method: n }, r)) }) })
9152
9137
  ] });
9153
9138
  }
9154
9139
  function mh({
@@ -9173,7 +9158,7 @@ function mh({
9173
9158
  );
9174
9159
  }
9175
9160
  function hh() {
9176
- return /* @__PURE__ */ q(me, { align: "center", className: "text-slate-300", direction: "row", gap: 2, children: [
9161
+ return /* @__PURE__ */ q(be, { align: "center", className: "text-slate-300", direction: "row", gap: 2, children: [
9177
9162
  /* @__PURE__ */ E(va, { className: "size-4 animate-spin" }),
9178
9163
  "Loading..."
9179
9164
  ] });
@@ -9184,10 +9169,10 @@ function ua({
9184
9169
  disabled: n
9185
9170
  }) {
9186
9171
  return /* @__PURE__ */ E(
9187
- me,
9172
+ be,
9188
9173
  {
9189
9174
  align: "center",
9190
- className: be(
9175
+ className: ve(
9191
9176
  "px-4 h-8 cursor-pointer text-white/90 hover:text-white focus:bg-white/10 focus-within:bg-white/10",
9192
9177
  { "pointer-events-none text-white/50": n },
9193
9178
  t
@@ -9206,7 +9191,7 @@ function gh({
9206
9191
  return /* @__PURE__ */ E(wr, { to: n, children: ({ isActive: r, isPending: o }) => /* @__PURE__ */ E(
9207
9192
  ua,
9208
9193
  {
9209
- className: be(
9194
+ className: ve(
9210
9195
  "px-4 cursor-pointer",
9211
9196
  {
9212
9197
  "font-bold text-nav-active hover:text-nav-hover": r,
@@ -9214,7 +9199,7 @@ function gh({
9214
9199
  },
9215
9200
  t
9216
9201
  ),
9217
- children: /* @__PURE__ */ E(me, { align: "center", direction: "row", gap: 2, children: e })
9202
+ children: /* @__PURE__ */ E(be, { align: "center", direction: "row", gap: 2, children: e })
9218
9203
  }
9219
9204
  ) });
9220
9205
  }
@@ -9253,7 +9238,7 @@ function Zo({
9253
9238
  header: e,
9254
9239
  props: t
9255
9240
  }) {
9256
- return t.length === 0 ? null : /* @__PURE__ */ q(me, { direction: "column", children: [
9241
+ return t.length === 0 ? null : /* @__PURE__ */ q(be, { direction: "column", children: [
9257
9242
  /* @__PURE__ */ E("div", { className: "text-lg font-bold", children: e }),
9258
9243
  /* @__PURE__ */ E("dl", { children: t.map((n) => /* @__PURE__ */ E(eh, { prop: n }, n.name)) })
9259
9244
  ] });
@@ -9266,8 +9251,8 @@ function bh({
9266
9251
  () => Qm(e),
9267
9252
  [e]
9268
9253
  );
9269
- return /* @__PURE__ */ q(me, { direction: "column", gap: 4, children: [
9270
- /* @__PURE__ */ q(me, { align: "center", direction: "row", gap: 2, wrap: !0, children: [
9254
+ return /* @__PURE__ */ q(be, { direction: "column", gap: 4, children: [
9255
+ /* @__PURE__ */ q(be, { align: "center", direction: "row", gap: 2, wrap: !0, children: [
9271
9256
  /* @__PURE__ */ E(ca, { section: t, title: `${e.name} component` }),
9272
9257
  /* @__PURE__ */ E(
9273
9258
  hn,
@@ -9357,7 +9342,7 @@ function yh({
9357
9342
  children: r.map((l, a) => /* @__PURE__ */ E(
9358
9343
  ia,
9359
9344
  {
9360
- className: be(
9345
+ className: ve(
9361
9346
  "relative cursor-pointer select-none h-7 py-1 px-2 text-slate-300 border-none!",
9362
9347
  "data-focus:text-teal-300 data-focus:bg-black",
9363
9348
  "data-active:text-teal-300 data-active:bg-black",
@@ -9388,7 +9373,7 @@ function xh(e, t) {
9388
9373
  }
9389
9374
  export {
9390
9375
  uh as A,
9391
- me as B,
9376
+ be as B,
9392
9377
  Ii as C,
9393
9378
  Nn as D,
9394
9379
  hn as E,
@@ -9410,8 +9395,8 @@ export {
9410
9395
  Zo as j,
9411
9396
  yh as k,
9412
9397
  Zm as l,
9413
- be as m,
9398
+ ve as m,
9414
9399
  xh as n,
9415
9400
  Xm as u
9416
9401
  };
9417
- //# sourceMappingURL=index-Bh6LXsao.js.map
9402
+ //# sourceMappingURL=index-CVXprQ8Z.js.map