@factorialco/f0-react 8.8.2 → 8.9.1

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 (31) hide show
  1. package/dist/{ChatPdfThumbnail-D6_Sst8n.js → ChatPdfThumbnail-DozngSN5.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-DYwe4HGG.js → ChatPostComposerDialog-C7wAPqjc.js} +3 -3
  3. package/dist/{DocumentToolbar-B_hBVwKT.js → DocumentToolbar-DUGzj-eX.js} +2 -2
  4. package/dist/{DocxViewer-S0GoMLw2.js → DocxViewer-DwUWtdNa.js} +2 -2
  5. package/dist/{F0AiProcessingOverlay-CkvYC8Ph.js → F0AiProcessingOverlay-DfZDuEp8.js} +1 -1
  6. package/dist/{F0CanvasPanel-B_tmy4UL.js → F0CanvasPanel-CTqnQRE3.js} +122 -119
  7. package/dist/{F0Map-Cybx54OP.js → F0Map-BAQLATIl.js} +4 -4
  8. package/dist/{F0VideoPlayer-D8TJ68HB.js → F0VideoPlayer-Df1wGL5l.js} +2 -2
  9. package/dist/{MapProvider-BM6tjxo8.js → MapProvider-DgFqoQIm.js} +19958 -19641
  10. package/dist/{SheetViewer-Bzzj_ieO.js → SheetViewer-CdYNMDKZ.js} +2 -2
  11. package/dist/{TextViewer-BG2obg7j.js → TextViewer-D1DLjt7A.js} +2 -2
  12. package/dist/ai.d.ts +14 -13
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.d.ts +13 -13
  15. package/dist/component-status.js +1 -1
  16. package/dist/{experimental-BkDtEQ35.js → experimental-CyWlwE_p.js} +7 -7
  17. package/dist/experimental.d.ts +16 -13
  18. package/dist/experimental.js +4 -4
  19. package/dist/f0.d.ts +16 -13
  20. package/dist/f0.js +10 -10
  21. package/dist/i18n-provider-defaults.d.ts +14 -13
  22. package/dist/i18n-provider-defaults.js +2 -1
  23. package/dist/{index-Dby-axN8.js → index-4Y21ajv9.js} +1 -1
  24. package/dist/{index-CAbUpBga.js → index-DStIDJS6.js} +3 -3
  25. package/dist/{index-BlKjB8Am.js → index-_XpVViOx.js} +2 -2
  26. package/dist/index-aPKSzZ3T.js +4 -0
  27. package/dist/{index-Bi1QzaKq.js → index-p8b48vGA.js} +3 -3
  28. package/dist/{pdfWorker-D4J3l6sI.js → pdfWorker-CKRkJFJS.js} +2 -2
  29. package/dist/styles.css +1 -1
  30. package/package.json +1 -1
  31. package/dist/index-C7goQCx-.js +0 -4
@@ -5773,7 +5773,7 @@ var Vx = {};
5773
5773
  function B(A, O) {
5774
5774
  var Y = !A, Z = !!y(O || {}, "resize"), o2 = !1, c2 = y(O, "disableForReducedMotion", Boolean), d2 = o && !!y(O || {}, "useWorker"), a2 = d2 ? h() : null, u2 = Y ? S : F, t2 = A && a2 ? !!A.__confetti_initialized : !1, s2 = typeof matchMedia == "function" && matchMedia("(prefers-reduced-motion)").matches, g2;
5775
5775
  function n2(i2, M2, E2) {
5776
- for (var R2 = y(i2, "particleCount", b), Y2 = y(i2, "angle", Number), X2 = y(i2, "spread", Number), F2 = y(i2, "startVelocity", Number), K2 = y(i2, "decay", Number), r1 = y(i2, "gravity", Number), e1 = y(i2, "drift", Number), o1 = y(i2, "colors", $), Z2 = y(i2, "ticks", Number), f2 = y(i2, "shapes"), w2 = y(i2, "scalar"), N2 = !!y(i2, "flat"), W2 = _(i2), g1 = R2, S1 = [], a1 = A.width * W2.x, L1 = A.height * W2.y; g1--; )
5776
+ for (var R2 = y(i2, "particleCount", b), Y2 = y(i2, "angle", Number), X2 = y(i2, "spread", Number), F2 = y(i2, "startVelocity", Number), K2 = y(i2, "decay", Number), r1 = y(i2, "gravity", Number), e1 = y(i2, "drift", Number), i1 = y(i2, "colors", $), Z2 = y(i2, "ticks", Number), f2 = y(i2, "shapes"), w2 = y(i2, "scalar"), N2 = !!y(i2, "flat"), W2 = _(i2), g1 = R2, S1 = [], a1 = A.width * W2.x, L1 = A.height * W2.y; g1--; )
5777
5777
  S1.push(
5778
5778
  E({
5779
5779
  x: a1,
@@ -5781,7 +5781,7 @@ var Vx = {};
5781
5781
  angle: Y2,
5782
5782
  spread: X2,
5783
5783
  startVelocity: F2,
5784
- color: o1[g1 % o1.length],
5784
+ color: i1[g1 % i1.length],
5785
5785
  shape: f2[M(0, f2.length)],
5786
5786
  ticks: Z2,
5787
5787
  decay: K2,
@@ -6542,13 +6542,13 @@ function Wq() {
6542
6542
  }));
6543
6543
  let t2 = !0, s2 = !0, g2 = !1, n2 = !0, b2 = !1, i2 = !0, M2 = !1, E2 = !1, R2 = !1, Y2 = !1, X2 = !1, F2 = !1, K2 = !0, r1 = !1;
6544
6544
  const e1 = "user-content-";
6545
- let o1 = !0, Z2 = !1, f2 = {}, w2 = null;
6545
+ let i1 = !0, Z2 = !1, f2 = {}, w2 = null;
6546
6546
  const N2 = t3({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
6547
6547
  let W2 = null;
6548
6548
  const g1 = t3({}, ["audio", "video", "img", "source", "image", "track"]);
6549
6549
  let S1 = null;
6550
6550
  const a1 = t3({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), L1 = "http://www.w3.org/1998/Math/MathML", $2 = "http://www.w3.org/2000/svg", G2 = "http://www.w3.org/1999/xhtml";
6551
- let P2 = G2, B2 = !1, i1 = null;
6551
+ let P2 = G2, B2 = !1, o1 = null;
6552
6552
  const T2 = t3({}, [L1, $2, G2], Zh);
6553
6553
  let I2 = t3({}, ["mi", "mo", "mn", "ms", "mtext"]), s1 = t3({}, ["annotation-xml"]);
6554
6554
  const y1 = t3({}, ["title", "style", "font", "a", "script"]);
@@ -6561,7 +6561,7 @@ function Wq() {
6561
6561
  let C2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
6562
6562
  if (!(u1 && u1 === C2)) {
6563
6563
  if ((!C2 || typeof C2 != "object") && (C2 = {}), C2 = It(C2), F1 = // eslint-disable-next-line unicorn/prefer-includes
6564
- u3.indexOf(C2.PARSER_MEDIA_TYPE) === -1 ? y3 : C2.PARSER_MEDIA_TYPE, N1 = F1 === "application/xhtml+xml" ? Zh : vu, O = C5(C2, "ALLOWED_TAGS") ? t3({}, C2.ALLOWED_TAGS, N1) : Y, Z = C5(C2, "ALLOWED_ATTR") ? t3({}, C2.ALLOWED_ATTR, N1) : o2, i1 = C5(C2, "ALLOWED_NAMESPACES") ? t3({}, C2.ALLOWED_NAMESPACES, Zh) : T2, S1 = C5(C2, "ADD_URI_SAFE_ATTR") ? t3(It(a1), C2.ADD_URI_SAFE_ATTR, N1) : a1, W2 = C5(C2, "ADD_DATA_URI_TAGS") ? t3(It(g1), C2.ADD_DATA_URI_TAGS, N1) : g1, w2 = C5(C2, "FORBID_CONTENTS") ? t3({}, C2.FORBID_CONTENTS, N1) : N2, d2 = C5(C2, "FORBID_TAGS") ? t3({}, C2.FORBID_TAGS, N1) : It({}), a2 = C5(C2, "FORBID_ATTR") ? t3({}, C2.FORBID_ATTR, N1) : It({}), f2 = C5(C2, "USE_PROFILES") ? C2.USE_PROFILES : !1, t2 = C2.ALLOW_ARIA_ATTR !== !1, s2 = C2.ALLOW_DATA_ATTR !== !1, g2 = C2.ALLOW_UNKNOWN_PROTOCOLS || !1, n2 = C2.ALLOW_SELF_CLOSE_IN_ATTR !== !1, b2 = C2.SAFE_FOR_TEMPLATES || !1, i2 = C2.SAFE_FOR_XML !== !1, M2 = C2.WHOLE_DOCUMENT || !1, Y2 = C2.RETURN_DOM || !1, X2 = C2.RETURN_DOM_FRAGMENT || !1, F2 = C2.RETURN_TRUSTED_TYPE || !1, R2 = C2.FORCE_BODY || !1, K2 = C2.SANITIZE_DOM !== !1, r1 = C2.SANITIZE_NAMED_PROPS || !1, o1 = C2.KEEP_CONTENT !== !1, Z2 = C2.IN_PLACE || !1, A = C2.ALLOWED_URI_REGEXP || Iq, P2 = C2.NAMESPACE || G2, I2 = C2.MATHML_TEXT_INTEGRATION_POINTS || I2, s1 = C2.HTML_INTEGRATION_POINTS || s1, c2 = C2.CUSTOM_ELEMENT_HANDLING || {}, C2.CUSTOM_ELEMENT_HANDLING && ve(C2.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (c2.tagNameCheck = C2.CUSTOM_ELEMENT_HANDLING.tagNameCheck), C2.CUSTOM_ELEMENT_HANDLING && ve(C2.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (c2.attributeNameCheck = C2.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), C2.CUSTOM_ELEMENT_HANDLING && typeof C2.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (c2.allowCustomizedBuiltInElements = C2.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), b2 && (s2 = !1), X2 && (Y2 = !0), f2 && (O = t3({}, Pk), Z = gu(null), f2.html === !0 && (t3(O, xk), t3(Z, _k)), f2.svg === !0 && (t3(O, Dh), t3(Z, jh), t3(Z, hl)), f2.svgFilters === !0 && (t3(O, Rh), t3(Z, jh), t3(Z, hl)), f2.mathMl === !0 && (t3(O, Ih), t3(Z, $k), t3(Z, hl))), C5(C2, "ADD_TAGS") || (u2.tagCheck = null), C5(C2, "ADD_ATTR") || (u2.attributeCheck = null), C2.ADD_TAGS && (typeof C2.ADD_TAGS == "function" ? u2.tagCheck = C2.ADD_TAGS : (O === Y && (O = It(O)), t3(O, C2.ADD_TAGS, N1))), C2.ADD_ATTR && (typeof C2.ADD_ATTR == "function" ? u2.attributeCheck = C2.ADD_ATTR : (Z === o2 && (Z = It(Z)), t3(Z, C2.ADD_ATTR, N1))), C2.ADD_URI_SAFE_ATTR && t3(S1, C2.ADD_URI_SAFE_ATTR, N1), C2.FORBID_CONTENTS && (w2 === N2 && (w2 = It(w2)), t3(w2, C2.FORBID_CONTENTS, N1)), C2.ADD_FORBID_CONTENTS && (w2 === N2 && (w2 = It(w2)), t3(w2, C2.ADD_FORBID_CONTENTS, N1)), o1 && (O["#text"] = !0), M2 && t3(O, ["html", "head", "body"]), O.table && (t3(O, ["tbody"]), delete d2.tbody), C2.TRUSTED_TYPES_POLICY) {
6564
+ u3.indexOf(C2.PARSER_MEDIA_TYPE) === -1 ? y3 : C2.PARSER_MEDIA_TYPE, N1 = F1 === "application/xhtml+xml" ? Zh : vu, O = C5(C2, "ALLOWED_TAGS") ? t3({}, C2.ALLOWED_TAGS, N1) : Y, Z = C5(C2, "ALLOWED_ATTR") ? t3({}, C2.ALLOWED_ATTR, N1) : o2, o1 = C5(C2, "ALLOWED_NAMESPACES") ? t3({}, C2.ALLOWED_NAMESPACES, Zh) : T2, S1 = C5(C2, "ADD_URI_SAFE_ATTR") ? t3(It(a1), C2.ADD_URI_SAFE_ATTR, N1) : a1, W2 = C5(C2, "ADD_DATA_URI_TAGS") ? t3(It(g1), C2.ADD_DATA_URI_TAGS, N1) : g1, w2 = C5(C2, "FORBID_CONTENTS") ? t3({}, C2.FORBID_CONTENTS, N1) : N2, d2 = C5(C2, "FORBID_TAGS") ? t3({}, C2.FORBID_TAGS, N1) : It({}), a2 = C5(C2, "FORBID_ATTR") ? t3({}, C2.FORBID_ATTR, N1) : It({}), f2 = C5(C2, "USE_PROFILES") ? C2.USE_PROFILES : !1, t2 = C2.ALLOW_ARIA_ATTR !== !1, s2 = C2.ALLOW_DATA_ATTR !== !1, g2 = C2.ALLOW_UNKNOWN_PROTOCOLS || !1, n2 = C2.ALLOW_SELF_CLOSE_IN_ATTR !== !1, b2 = C2.SAFE_FOR_TEMPLATES || !1, i2 = C2.SAFE_FOR_XML !== !1, M2 = C2.WHOLE_DOCUMENT || !1, Y2 = C2.RETURN_DOM || !1, X2 = C2.RETURN_DOM_FRAGMENT || !1, F2 = C2.RETURN_TRUSTED_TYPE || !1, R2 = C2.FORCE_BODY || !1, K2 = C2.SANITIZE_DOM !== !1, r1 = C2.SANITIZE_NAMED_PROPS || !1, i1 = C2.KEEP_CONTENT !== !1, Z2 = C2.IN_PLACE || !1, A = C2.ALLOWED_URI_REGEXP || Iq, P2 = C2.NAMESPACE || G2, I2 = C2.MATHML_TEXT_INTEGRATION_POINTS || I2, s1 = C2.HTML_INTEGRATION_POINTS || s1, c2 = C2.CUSTOM_ELEMENT_HANDLING || {}, C2.CUSTOM_ELEMENT_HANDLING && ve(C2.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (c2.tagNameCheck = C2.CUSTOM_ELEMENT_HANDLING.tagNameCheck), C2.CUSTOM_ELEMENT_HANDLING && ve(C2.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (c2.attributeNameCheck = C2.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), C2.CUSTOM_ELEMENT_HANDLING && typeof C2.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (c2.allowCustomizedBuiltInElements = C2.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), b2 && (s2 = !1), X2 && (Y2 = !0), f2 && (O = t3({}, Pk), Z = gu(null), f2.html === !0 && (t3(O, xk), t3(Z, _k)), f2.svg === !0 && (t3(O, Dh), t3(Z, jh), t3(Z, hl)), f2.svgFilters === !0 && (t3(O, Rh), t3(Z, jh), t3(Z, hl)), f2.mathMl === !0 && (t3(O, Ih), t3(Z, $k), t3(Z, hl))), C5(C2, "ADD_TAGS") || (u2.tagCheck = null), C5(C2, "ADD_ATTR") || (u2.attributeCheck = null), C2.ADD_TAGS && (typeof C2.ADD_TAGS == "function" ? u2.tagCheck = C2.ADD_TAGS : (O === Y && (O = It(O)), t3(O, C2.ADD_TAGS, N1))), C2.ADD_ATTR && (typeof C2.ADD_ATTR == "function" ? u2.attributeCheck = C2.ADD_ATTR : (Z === o2 && (Z = It(Z)), t3(Z, C2.ADD_ATTR, N1))), C2.ADD_URI_SAFE_ATTR && t3(S1, C2.ADD_URI_SAFE_ATTR, N1), C2.FORBID_CONTENTS && (w2 === N2 && (w2 = It(w2)), t3(w2, C2.FORBID_CONTENTS, N1)), C2.ADD_FORBID_CONTENTS && (w2 === N2 && (w2 = It(w2)), t3(w2, C2.ADD_FORBID_CONTENTS, N1)), i1 && (O["#text"] = !0), M2 && t3(O, ["html", "head", "body"]), O.table && (t3(O, ["tbody"]), delete d2.tbody), C2.TRUSTED_TYPES_POLICY) {
6565
6565
  if (typeof C2.TRUSTED_TYPES_POLICY.createHTML != "function")
6566
6566
  throw la('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
6567
6567
  if (typeof C2.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -6578,7 +6578,7 @@ function Wq() {
6578
6578
  tagName: "template"
6579
6579
  });
6580
6580
  const c1 = vu(C2.tagName), i3 = vu(j2.tagName);
6581
- return i1[C2.namespaceURI] ? C2.namespaceURI === $2 ? j2.namespaceURI === G2 ? c1 === "svg" : j2.namespaceURI === L1 ? c1 === "svg" && (i3 === "annotation-xml" || I2[i3]) : !!Ve[c1] : C2.namespaceURI === L1 ? j2.namespaceURI === G2 ? c1 === "math" : j2.namespaceURI === $2 ? c1 === "math" && s1[i3] : !!rt[c1] : C2.namespaceURI === G2 ? j2.namespaceURI === $2 && !s1[i3] || j2.namespaceURI === L1 && !I2[i3] ? !1 : !rt[c1] && (y1[c1] || !Ve[c1]) : !!(F1 === "application/xhtml+xml" && i1[C2.namespaceURI]) : !1;
6581
+ return o1[C2.namespaceURI] ? C2.namespaceURI === $2 ? j2.namespaceURI === G2 ? c1 === "svg" : j2.namespaceURI === L1 ? c1 === "svg" && (i3 === "annotation-xml" || I2[i3]) : !!Ve[c1] : C2.namespaceURI === L1 ? j2.namespaceURI === G2 ? c1 === "math" : j2.namespaceURI === $2 ? c1 === "math" && s1[i3] : !!rt[c1] : C2.namespaceURI === G2 ? j2.namespaceURI === $2 && !s1[i3] || j2.namespaceURI === L1 && !I2[i3] ? !1 : !rt[c1] && (y1[c1] || !Ve[c1]) : !!(F1 === "application/xhtml+xml" && o1[C2.namespaceURI]) : !1;
6582
6582
  }, Ne = function(C2) {
6583
6583
  oa(t.removed, {
6584
6584
  element: C2
@@ -6666,7 +6666,7 @@ function Wq() {
6666
6666
  if (!(u2.tagCheck instanceof Function && u2.tagCheck(c1)) && (!O[c1] || d2[c1])) {
6667
6667
  if (!d2[c1] && V9(c1) && (c2.tagNameCheck instanceof RegExp && P4(c2.tagNameCheck, c1) || c2.tagNameCheck instanceof Function && c2.tagNameCheck(c1)))
6668
6668
  return !1;
6669
- if (o1 && !w2[c1]) {
6669
+ if (i1 && !w2[c1]) {
6670
6670
  const i3 = w(C2) || C2.parentNode, M3 = M(C2) || C2.childNodes;
6671
6671
  if (M3 && i3) {
6672
6672
  const J3 = M3.length;
@@ -13341,11 +13341,11 @@ function pm2(e) {
13341
13341
  if (a1) {
13342
13342
  let B2 = W2;
13343
13343
  for (L1 = void 0; B2--; ) {
13344
- const i1 = f2[B2];
13345
- if (i1[1].type === "lineEnding" || i1[1].type === "lineEndingBlank") {
13346
- if (i1[0] === "exit") continue;
13347
- L1 && (f2[L1][1].type = "lineEndingBlank", S1 = !0), i1[1].type = "lineEnding", L1 = B2;
13348
- } else if (!(i1[1].type === "linePrefix" || i1[1].type === "blockQuotePrefix" || i1[1].type === "blockQuotePrefixWhitespace" || i1[1].type === "blockQuoteMarker" || i1[1].type === "listItemIndent")) break;
13344
+ const o1 = f2[B2];
13345
+ if (o1[1].type === "lineEnding" || o1[1].type === "lineEndingBlank") {
13346
+ if (o1[0] === "exit") continue;
13347
+ L1 && (f2[L1][1].type = "lineEndingBlank", S1 = !0), o1[1].type = "lineEnding", L1 = B2;
13348
+ } else if (!(o1[1].type === "linePrefix" || o1[1].type === "blockQuotePrefix" || o1[1].type === "blockQuotePrefixWhitespace" || o1[1].type === "blockQuoteMarker" || o1[1].type === "listItemIndent")) break;
13349
13349
  }
13350
13350
  $2 && (!L1 || $2 < L1) && (a1._spread = !0), a1.end = Object.assign({}, L1 ? f2[L1][1].start : P2[1].end), f2.splice(L1 || W2, 0, ["exit", a1, P2[2]]), W2++, N2++;
13351
13351
  }
@@ -13461,7 +13461,7 @@ function pm2(e) {
13461
13461
  function H(f2) {
13462
13462
  const N2 = this.stack[this.stack.length - 1].children;
13463
13463
  let W2 = N2[N2.length - 1];
13464
- (!W2 || W2.type !== "text") && (W2 = o1(), W2.position = {
13464
+ (!W2 || W2.type !== "text") && (W2 = i1(), W2.position = {
13465
13465
  start: S7(f2.start),
13466
13466
  // @ts-expect-error: we’ll add `end` later.
13467
13467
  end: void 0
@@ -13666,7 +13666,7 @@ function pm2(e) {
13666
13666
  children: []
13667
13667
  };
13668
13668
  }
13669
- function o1() {
13669
+ function i1() {
13670
13670
  return {
13671
13671
  type: "text",
13672
13672
  value: ""
@@ -49870,7 +49870,7 @@ function Vj2({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, s
49870
49870
  }
49871
49871
  }), [U, K] = J.useState(!1), [r2, A] = J.useState(!1), [O, Y] = J.useState(!1), Z = J.useRef(null), o2 = J.useRef(null), c2 = J.useRef(null), d2 = J.useRef(null), a2 = J.useRef(null), u2 = J.useRef(!1), t2 = J.useRef(null), s2 = J.useRef(0), g2 = J.useRef(!1), n2 = J.useRef(!L), b2 = J.useRef(0), i2 = J.useRef(null), M2 = J.useRef(((W = i2.current) == null ? void 0 : W.getBoundingClientRect().height) || 0), E2 = J.useRef(((B = i2.current) == null ? void 0 : B.getBoundingClientRect().width) || 0), R2 = J.useRef(0), Y2 = J.useCallback((T2) => {
49872
49872
  o && T2 === e1.length - 1 && (o2.current = /* @__PURE__ */ new Date());
49873
- }, []), { activeSnapPoint: X2, activeSnapPointIndex: F2, setActiveSnapPoint: K2, onRelease: r1, snapPointsOffset: e1, onDrag: o1, shouldFade: Z2, getPercentageDragged: f2 } = $j2({
49873
+ }, []), { activeSnapPoint: X2, activeSnapPointIndex: F2, setActiveSnapPoint: K2, onRelease: r1, snapPointsOffset: e1, onDrag: i1, shouldFade: Z2, getPercentageDragged: f2 } = $j2({
49874
49874
  snapPoints: o,
49875
49875
  activeSnapPointProp: m,
49876
49876
  setActiveSnapPointProp: v,
@@ -49941,7 +49941,7 @@ function Vj2({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, s
49941
49941
  transition: "none"
49942
49942
  }), We(Z.current, {
49943
49943
  transition: "none"
49944
- }), o && o1({
49944
+ }), o && i1({
49945
49945
  draggedDistance: s1
49946
49946
  }), y1 && !o) {
49947
49947
  const G3 = wj2(s1), Ve = Math.min(G3 * -1, 0) * I2;
@@ -50102,7 +50102,7 @@ function Vj2({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, s
50102
50102
  transition: "none"
50103
50103
  });
50104
50104
  }
50105
- function i1(T2, I2) {
50105
+ function o1(T2, I2) {
50106
50106
  const s1 = Te($) ? window.innerHeight : window.innerWidth, y1 = I2 ? (s1 - q9) / s1 : 1, F1 = I2 ? -q9 : 0;
50107
50107
  I2 && We(i2.current, {
50108
50108
  transition: `transform ${he.DURATION}s cubic-bezier(${he.EASE.join(",")})`,
@@ -50141,7 +50141,7 @@ function Vj2({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: a, s
50141
50141
  closeDrawer: a1,
50142
50142
  onNestedDrag: B2,
50143
50143
  onNestedOpenChange: P2,
50144
- onNestedRelease: i1,
50144
+ onNestedRelease: o1,
50145
50145
  keyboardIsOpen: g2,
50146
50146
  modal: y,
50147
50147
  snapPointsOffset: e1,
@@ -105353,11 +105353,11 @@ var Yw = function(t, n, r, a) {
105353
105353
  dataStartIndex: S,
105354
105354
  dataEndIndex: F
105355
105355
  }), Y = r2.type.defaultProps !== void 0 ? H2(H2({}, r2.type.defaultProps), r2.props) : r2.props, Z = Y.dataKey, o2 = Y.maxBarSize, c2 = Y["".concat(z, "Id")], d2 = Y["".concat(Q, "Id")], a2 = {}, u2 = u.reduce(function(K2, r1) {
105356
- var e1, o1, Z2 = M["".concat(r1.axisType, "Map")], f2 = Y["".concat(r1.axisType, "Id")];
105356
+ var e1, i1, Z2 = M["".concat(r1.axisType, "Map")], f2 = Y["".concat(r1.axisType, "Id")];
105357
105357
  Z2 && Z2[f2] || r1.axisType === "zAxis" || (process.env.NODE_ENV !== "production" ? K4(!1, "Specifying a(n) ".concat(r1.axisType, "Id requires a corresponding ").concat(
105358
105358
  r1.axisType,
105359
105359
  "Id on the targeted graphical component "
105360
- ).concat((e1 = r2 == null || (o1 = r2.type) === null || o1 === void 0 ? void 0 : o1.displayName) !== null && e1 !== void 0 ? e1 : "")) : K4(!1));
105360
+ ).concat((e1 = r2 == null || (i1 = r2.type) === null || i1 === void 0 ? void 0 : i1.displayName) !== null && e1 !== void 0 ? e1 : "")) : K4(!1));
105361
105361
  var w2 = Z2[f2];
105362
105362
  return H2(H2({}, K2), {}, T1(T1({}, r1.axisType, w2), "".concat(r1.axisType, "Ticks"), dn(w2)));
105363
105363
  }, a2), t2 = u2[Q], s2 = u2["".concat(Q, "Ticks")], g2 = $ && $[c2] && $[c2].hasStack && hN1(r2, $[c2].stackGroups), n2 = B6(r2.type).indexOf("Bar") >= 0, b2 = Mc(t2, s2), i2 = [], M2 = U && tN1({
@@ -106434,7 +106434,7 @@ function Kz1() {
106434
106434
  ["partial", L],
106435
106435
  ["partialRight", _],
106436
106436
  ["rearg", F]
106437
- ], c2 = "[object Arguments]", d2 = "[object Array]", a2 = "[object AsyncFunction]", u2 = "[object Boolean]", t2 = "[object Date]", s2 = "[object DOMException]", g2 = "[object Error]", n2 = "[object Function]", b2 = "[object GeneratorFunction]", i2 = "[object Map]", M2 = "[object Number]", E2 = "[object Null]", R2 = "[object Object]", Y2 = "[object Promise]", X2 = "[object Proxy]", F2 = "[object RegExp]", K2 = "[object Set]", r1 = "[object String]", e1 = "[object Symbol]", o1 = "[object Undefined]", Z2 = "[object WeakMap]", f2 = "[object WeakSet]", w2 = "[object ArrayBuffer]", N2 = "[object DataView]", W2 = "[object Float32Array]", g1 = "[object Float64Array]", S1 = "[object Int8Array]", a1 = "[object Int16Array]", L1 = "[object Int32Array]", $2 = "[object Uint8Array]", G2 = "[object Uint8ClampedArray]", P2 = "[object Uint16Array]", B2 = "[object Uint32Array]", i1 = /\b__p \+= '';/g, T2 = /\b(__p \+=) '' \+/g, I2 = /(__e\(.*?\)|\b__t\)) \+\n'';/g, s1 = /&(?:amp|lt|gt|quot|#39);/g, y1 = /[&<>"']/g, F1 = RegExp(s1.source), u3 = RegExp(y1.source), y3 = /<%-([\s\S]+?)%>/g, N1 = /<%([\s\S]+?)%>/g, u1 = /<%=([\s\S]+?)%>/g, f1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ve = /^\w*$/, G3 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ve = /[\\^$.*+?()[\]{}|]/g, rt = RegExp(Ve.source), C7 = /^\s+/, Ne = /\s/, fe = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, C6 = /\{\n\/\* \[wrapped with (.+)\] \*/, h7 = /,? & /, h6 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, m7 = /[()=,{}\[\]\/\s]/, b4 = /\\(\\)?/g, R4 = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Xn = /\w*$/, V9 = /^[-+]0x[0-9a-f]+$/i, Yn = /^0b[01]+$/i, k9 = /^\[object .+?Constructor\]$/, v1 = /^0o[0-7]+$/i, C2 = /^(?:0|[1-9]\d*)$/, j2 = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, c1 = /($^)/, i3 = /['\n\r\u2028\u2029\\]/g, M3 = "\\ud800-\\udfff", J3 = "\\u0300-\\u036f", xe = "\\ufe20-\\ufe2f", I4 = "\\u20d0-\\u20ff", c4 = J3 + xe + I4, kt = "\\u2700-\\u27bf", ae = "a-z\\xdf-\\xf6\\xf8-\\xff", m6 = "\\xac\\xb1\\xd7\\xf7", p6 = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", kr = "\\u2000-\\u206f", g6 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", p7 = "A-Z\\xc0-\\xd6\\xd8-\\xde", Cs = "\\ufe0e\\ufe0f", L4 = m6 + p6 + kr + g6, Ar = "['’]", aC = "[" + M3 + "]", hs = "[" + L4 + "]", Kn = "[" + c4 + "]", Qn = "\\d+", iC = "[" + kt + "]", A9 = "[" + ae + "]", g7 = "[^" + M3 + L4 + Qn + kt + ae + p7 + "]", Er = "\\ud83c[\\udffb-\\udfff]", Tr = "(?:" + Kn + "|" + Er + ")", Or = "[^" + M3 + "]", v6 = "(?:\\ud83c[\\udde6-\\uddff]){2}", E9 = "[\\ud800-\\udbff][\\udc00-\\udfff]", At = "[" + p7 + "]", Jn = "\\u200d", e8 = "(?:" + A9 + "|" + g7 + ")", oC = "(?:" + At + "|" + g7 + ")", y6 = "(?:" + Ar + "(?:d|ll|m|re|s|t|ve))?", Zr = "(?:" + Ar + "(?:D|LL|M|RE|S|T|VE))?", Nr = Tr + "?", Dr = "[" + Cs + "]?", at = "(?:" + Jn + "(?:" + [Or, v6, E9].join("|") + ")" + Dr + Nr + ")*", sC = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", lC = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", ms = Dr + Nr + at, uC = "(?:" + [iC, v6, E9].join("|") + ")" + ms, Rr = "(?:" + [Or + Kn + "?", Kn, v6, E9, aC].join("|") + ")", v7 = RegExp(Ar, "g"), ps = RegExp(Kn, "g"), t8 = RegExp(Er + "(?=" + Er + ")|" + Rr + ms, "g"), cC = RegExp([
106437
+ ], c2 = "[object Arguments]", d2 = "[object Array]", a2 = "[object AsyncFunction]", u2 = "[object Boolean]", t2 = "[object Date]", s2 = "[object DOMException]", g2 = "[object Error]", n2 = "[object Function]", b2 = "[object GeneratorFunction]", i2 = "[object Map]", M2 = "[object Number]", E2 = "[object Null]", R2 = "[object Object]", Y2 = "[object Promise]", X2 = "[object Proxy]", F2 = "[object RegExp]", K2 = "[object Set]", r1 = "[object String]", e1 = "[object Symbol]", i1 = "[object Undefined]", Z2 = "[object WeakMap]", f2 = "[object WeakSet]", w2 = "[object ArrayBuffer]", N2 = "[object DataView]", W2 = "[object Float32Array]", g1 = "[object Float64Array]", S1 = "[object Int8Array]", a1 = "[object Int16Array]", L1 = "[object Int32Array]", $2 = "[object Uint8Array]", G2 = "[object Uint8ClampedArray]", P2 = "[object Uint16Array]", B2 = "[object Uint32Array]", o1 = /\b__p \+= '';/g, T2 = /\b(__p \+=) '' \+/g, I2 = /(__e\(.*?\)|\b__t\)) \+\n'';/g, s1 = /&(?:amp|lt|gt|quot|#39);/g, y1 = /[&<>"']/g, F1 = RegExp(s1.source), u3 = RegExp(y1.source), y3 = /<%-([\s\S]+?)%>/g, N1 = /<%([\s\S]+?)%>/g, u1 = /<%=([\s\S]+?)%>/g, f1 = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ve = /^\w*$/, G3 = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ve = /[\\^$.*+?()[\]{}|]/g, rt = RegExp(Ve.source), C7 = /^\s+/, Ne = /\s/, fe = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, C6 = /\{\n\/\* \[wrapped with (.+)\] \*/, h7 = /,? & /, h6 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, m7 = /[()=,{}\[\]\/\s]/, b4 = /\\(\\)?/g, R4 = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Xn = /\w*$/, V9 = /^[-+]0x[0-9a-f]+$/i, Yn = /^0b[01]+$/i, k9 = /^\[object .+?Constructor\]$/, v1 = /^0o[0-7]+$/i, C2 = /^(?:0|[1-9]\d*)$/, j2 = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, c1 = /($^)/, i3 = /['\n\r\u2028\u2029\\]/g, M3 = "\\ud800-\\udfff", J3 = "\\u0300-\\u036f", xe = "\\ufe20-\\ufe2f", I4 = "\\u20d0-\\u20ff", c4 = J3 + xe + I4, kt = "\\u2700-\\u27bf", ae = "a-z\\xdf-\\xf6\\xf8-\\xff", m6 = "\\xac\\xb1\\xd7\\xf7", p6 = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", kr = "\\u2000-\\u206f", g6 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", p7 = "A-Z\\xc0-\\xd6\\xd8-\\xde", Cs = "\\ufe0e\\ufe0f", L4 = m6 + p6 + kr + g6, Ar = "['’]", aC = "[" + M3 + "]", hs = "[" + L4 + "]", Kn = "[" + c4 + "]", Qn = "\\d+", iC = "[" + kt + "]", A9 = "[" + ae + "]", g7 = "[^" + M3 + L4 + Qn + kt + ae + p7 + "]", Er = "\\ud83c[\\udffb-\\udfff]", Tr = "(?:" + Kn + "|" + Er + ")", Or = "[^" + M3 + "]", v6 = "(?:\\ud83c[\\udde6-\\uddff]){2}", E9 = "[\\ud800-\\udbff][\\udc00-\\udfff]", At = "[" + p7 + "]", Jn = "\\u200d", e8 = "(?:" + A9 + "|" + g7 + ")", oC = "(?:" + At + "|" + g7 + ")", y6 = "(?:" + Ar + "(?:d|ll|m|re|s|t|ve))?", Zr = "(?:" + Ar + "(?:D|LL|M|RE|S|T|VE))?", Nr = Tr + "?", Dr = "[" + Cs + "]?", at = "(?:" + Jn + "(?:" + [Or, v6, E9].join("|") + ")" + Dr + Nr + ")*", sC = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", lC = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", ms = Dr + Nr + at, uC = "(?:" + [iC, v6, E9].join("|") + ")" + ms, Rr = "(?:" + [Or + Kn + "?", Kn, v6, E9, aC].join("|") + ")", v7 = RegExp(Ar, "g"), ps = RegExp(Kn, "g"), t8 = RegExp(Er + "(?=" + Er + ")|" + Rr + ms, "g"), cC = RegExp([
106438
106438
  At + "?" + A9 + "+" + y6 + "(?=" + [hs, At, "$"].join("|") + ")",
106439
106439
  oC + "+" + Zr + "(?=" + [hs, At + e8, "$"].join("|") + ")",
106440
106440
  At + "?" + e8 + "+" + y6,
@@ -107415,7 +107415,7 @@ function Kz1() {
107415
107415
  return B1(C) ? k : b7(k, x(C));
107416
107416
  }
107417
107417
  function w4(C) {
107418
- return C == null ? C === n ? o1 : E2 : T9 && T9 in I3(C) ? l92(C) : L92(C);
107418
+ return C == null ? C === n ? i1 : E2 : T9 && T9 in I3(C) ? l92(C) : L92(C);
107419
107419
  }
107420
107420
  function TC(C, p) {
107421
107421
  return C > p;
@@ -109739,7 +109739,7 @@ __p += '`), c3 && (D2 += `' +
109739
109739
  `;
109740
109740
  else if (m7.test(A1))
109741
109741
  throw new j1(l);
109742
- D2 = (v2 ? D2.replace(i1, "") : D2).replace(T2, "$1").replace(I2, "$1;"), D2 = "function(" + (A1 || "obj") + `) {
109742
+ D2 = (v2 ? D2.replace(o1, "") : D2).replace(T2, "$1").replace(I2, "$1;"), D2 = "function(" + (A1 || "obj") + `) {
109743
109743
  ` + (A1 ? "" : `obj || (obj = {});
109744
109744
  `) + "var __t, __p = ''" + (h2 ? ", __e = _.escape" : "") + (v2 ? `, __j = Array.prototype.join;
109745
109745
  function print() { __p += __j.call(arguments, '') }
@@ -112787,11 +112787,11 @@ const fG1 = e3({
112787
112787
  // Responsive breakpoint overrides
112788
112788
  sm: r1,
112789
112789
  md: e1,
112790
- lg: o1,
112790
+ lg: i1,
112791
112791
  xl: Z2,
112792
112792
  ...f2
112793
112793
  }, w2) => {
112794
- const N2 = A && A !== "none" || O && O !== "none" || Y && Y !== "none" || Z && Z !== "none", W2 = r2 && r2 !== "none" || N2, g1 = { sm: r1, md: e1, lg: o1, xl: Z2 }, S1 = CG1.map((a1) => {
112794
+ const N2 = A && A !== "none" || O && O !== "none" || Y && Y !== "none" || Z && Z !== "none", W2 = r2 && r2 !== "none" || N2, g1 = { sm: r1, md: e1, lg: i1, xl: Z2 }, S1 = CG1.map((a1) => {
112795
112795
  const L1 = g1[a1];
112796
112796
  return L1 ? dG1(a1, L1) : "";
112797
112797
  }).filter(Boolean).join(" ");
@@ -118827,7 +118827,7 @@ const oQ1 = ({ text: e }) => /* @__PURE__ */ i(
118827
118827
  t || z?.($2);
118828
118828
  }, e1 = () => {
118829
118829
  t || B?.();
118830
- }, o1 = () => {
118830
+ }, i1 = () => {
118831
118831
  t || W?.();
118832
118832
  }, [Z2, f2] = y2(!1), w2 = ($2) => {
118833
118833
  $2.animationName === "autofill" && f2(!0);
@@ -119050,7 +119050,7 @@ const oQ1 = ({ text: e }) => /* @__PURE__ */ i(
119050
119050
  qa({ size: i2 }),
119051
119051
  b && !H && !L1 && w(Y2) && !Z2 ? "opacity-100" : "opacity-0"
119052
119052
  ),
119053
- onClick: o1,
119053
+ onClick: i1,
119054
119054
  "aria-hidden": "true",
119055
119055
  title: b,
119056
119056
  children: /* @__PURE__ */ i("span", { className: "min-w-0 truncate", children: b })
@@ -119253,7 +119253,10 @@ const B0 = T.forwardRef(
119253
119253
  onKeyDown: z,
119254
119254
  className: q(
119255
119255
  "[&::-webkit-search-cancel-button]:hidden",
119256
- "w-full shrink placeholder:-z-10 disabled:cursor-not-allowed"
119256
+ "w-full shrink placeholder:-z-10 disabled:cursor-not-allowed",
119257
+ // The reset gives `[aria-controls]` a pointer, but a combobox's
119258
+ // field is still typed into
119259
+ _ === "combobox" && "cursor-text"
119257
119260
  )
119258
119261
  }
119259
119262
  )
@@ -119961,11 +119964,11 @@ function hS(e, {
119961
119964
  } = SQ1(), [R, W] = y2(0), { paginationInfo: B, setPaginationInfo: z } = FQ1();
119962
119965
  S2(() => {
119963
119966
  M && H((F2) => {
119964
- const K2 = F2.length, r1 = F2.filter(M), e1 = r1.length, o1 = K2 - e1;
119965
- return W(o1), z(
119967
+ const K2 = F2.length, r1 = F2.filter(M), e1 = r1.length, i1 = K2 - e1;
119968
+ return W(i1), z(
119966
119969
  (Z2) => Z2 ? {
119967
119970
  ...Z2,
119968
- total: Z2.total - o1
119971
+ total: Z2.total - i1
119969
119972
  } : null
119970
119973
  ), r1;
119971
119974
  });
@@ -119985,10 +119988,10 @@ function hS(e, {
119985
119988
  const u2 = O2(() => ({ ...u, ...t }), [u, t]), t2 = Zr2(f), s2 = d?.enabled ? d?.sync ? f : t2 || f : void 0, g2 = (F2, K2, r1) => {
119986
119989
  {
119987
119990
  const e1 = new Map(
119988
- F2.map((o1, Z2) => [r1(o1, Z2), o1])
119991
+ F2.map((i1, Z2) => [r1(i1, Z2), i1])
119989
119992
  );
119990
- for (const [o1, Z2] of K2.entries()) {
119991
- const f2 = r1(Z2, o1);
119993
+ for (const [i1, Z2] of K2.entries()) {
119994
+ const f2 = r1(Z2, i1);
119992
119995
  e1.set(f2, Z2);
119993
119996
  }
119994
119997
  return Array.from(e1.values());
@@ -119996,9 +119999,9 @@ function hS(e, {
119996
119999
  }, n2 = x2(
119997
120000
  (F2, K2, r1, e1) => {
119998
120001
  o?.(F2);
119999
- let o1 = [];
120002
+ let i1 = [];
120000
120003
  if ("records" in F2) {
120001
- o1 = F2.records;
120004
+ i1 = F2.records;
120002
120005
  const Z2 = l.paginationType;
120003
120006
  if (Z2 && ["pages", "infinite-scroll"].includes(Z2) && Z2 !== "no-pagination") {
120004
120007
  const f2 = {
@@ -120018,9 +120021,9 @@ function hS(e, {
120018
120021
  }), K(F2.total);
120019
120022
  }
120020
120023
  } else
120021
- o1 = F2, K?.(F2.length);
120024
+ i1 = F2, K?.(F2.length);
120022
120025
  H(
120023
- K2 ? (Z2) => g2(Z2, o1, b) : o1
120026
+ K2 ? (Z2) => g2(Z2, i1, b) : i1
120024
120027
  ), E(null), S(!1), v(!!r1), A(!1), Z.current = !1, e1 !== void 0 && Y(e1);
120025
120028
  },
120026
120029
  // eslint-disable-next-line react-hooks/exhaustive-deps -- we don't want to re-run this callback when data.length changes
@@ -120042,15 +120045,15 @@ function hS(e, {
120042
120045
  }), i2 = O2(() => {
120043
120046
  const F2 = g?.field, K2 = y?.groupBy;
120044
120047
  if (!!F2 && !!K2 && !!K2[F2]) {
120045
- const o1 = _Q1(F, F2, b2), Z2 = o1.filter(
120048
+ const i1 = _Q1(F, F2, b2), Z2 = i1.filter(
120046
120049
  (W2) => W2[di] === void 0
120047
120050
  ), f2 = PQ1(
120048
- o1.filter((W2) => W2[di] !== void 0),
120051
+ i1.filter((W2) => W2[di] !== void 0),
120049
120052
  di
120050
120053
  ), w2 = K2[F2], N2 = (g?.thenBy ?? []).map((W2) => String(W2.field)).filter((W2) => !!K2[W2]);
120051
120054
  return {
120052
120055
  type: "grouped",
120053
- records: o1,
120056
+ records: i1,
120054
120057
  ...Z2.length && { ungroupedRecords: Z2 },
120055
120058
  groups: Array.from(f2.entries()).map(
120056
120059
  ([W2, g1]) => ({
@@ -120114,7 +120117,7 @@ function hS(e, {
120114
120117
  currentPage: K2 = 1,
120115
120118
  search: r1,
120116
120119
  appendMode: e1 = !1,
120117
- cursor: o1 = null
120120
+ cursor: i1 = null
120118
120121
  }) => {
120119
120122
  try {
120120
120123
  let Z2 = function() {
@@ -120126,7 +120129,7 @@ function hS(e, {
120126
120129
  currentPage: K2,
120127
120130
  perPage: L1
120128
120131
  } : l.paginationType === "infinite-scroll" ? {
120129
- cursor: o1,
120132
+ cursor: i1,
120130
120133
  perPage: L1
120131
120134
  } : {}
120132
120135
  });
@@ -120165,7 +120168,7 @@ function hS(e, {
120165
120168
  search: r1,
120166
120169
  sortings: f2,
120167
120170
  currentPage: K2,
120168
- cursor: o1
120171
+ cursor: i1
120169
120172
  }), W2 = Z2();
120170
120173
  if (!("then" in W2 || "subscribe" in W2)) {
120171
120174
  n2(W2, e1, void 0, N2);
@@ -120269,9 +120272,9 @@ function hS(e, {
120269
120272
  return;
120270
120273
  }
120271
120274
  c2.current = r1, d2.current = F2, v(!0);
120272
- const o1 = a2.current;
120275
+ const i1 = a2.current;
120273
120276
  a2.current = void 0;
120274
- const Z2 = l.paginationType === "infinite-scroll" ? 0 : o1 ?? 1;
120277
+ const Z2 = l.paginationType === "infinite-scroll" ? 0 : i1 ?? 1;
120275
120278
  E2({
120276
120279
  filters: u2,
120277
120280
  currentPage: Z2,
@@ -120424,15 +120427,15 @@ function ZQ1({
120424
120427
  const $2 = {};
120425
120428
  for (const G2 of e.groups) {
120426
120429
  const P2 = G2.records.map((y1) => g?.(y1)).filter((y1) => y1 !== void 0);
120427
- let B2 = 0, i1 = 0;
120430
+ let B2 = 0, o1 = 0;
120428
120431
  for (const y1 of P2)
120429
- w.items?.get(y1)?.checked ? B2++ : i1++;
120432
+ w.items?.get(y1)?.checked ? B2++ : o1++;
120430
120433
  const T2 = P2.length, I2 = B2 === T2 && T2 > 0, s1 = B2 > 0 && B2 < T2;
120431
120434
  $2[G2.key] = {
120432
120435
  checked: I2 || s1,
120433
120436
  indeterminate: s1,
120434
120437
  selectedCount: B2,
120435
- unselectedCount: i1
120438
+ unselectedCount: o1
120436
120439
  };
120437
120440
  }
120438
120441
  return $2;
@@ -120458,8 +120461,8 @@ function ZQ1({
120458
120461
  ]), { itemsStatus: R2, selectedIds: Y2 } = O2(() => {
120459
120462
  const $2 = w.items || /* @__PURE__ */ new Map(), G2 = n.fetchChildren !== void 0, P2 = M && !G2 ? new Set(
120460
120463
  e.records.map((T2) => g?.(T2)).filter((T2) => T2 !== void 0)
120461
- ) : null, B2 = Array.from($2.values()).filter((T2) => T2.item === void 0 ? !1 : M && P2 ? P2.has(T2.id) : !0).map(({ item: T2, checked: I2 }) => ({ item: T2, checked: I2 })), i1 = Array.from($2.entries()).filter(([T2, I2]) => I2.checked ? M && P2 ? P2.has(T2) : !0 : !1).map(([T2]) => T2);
120462
- return { itemsStatus: B2, selectedIds: i1 };
120464
+ ) : null, B2 = Array.from($2.values()).filter((T2) => T2.item === void 0 ? !1 : M && P2 ? P2.has(T2.id) : !0).map(({ item: T2, checked: I2 }) => ({ item: T2, checked: I2 })), o1 = Array.from($2.entries()).filter(([T2, I2]) => I2.checked ? M && P2 ? P2.has(T2) : !0 : !1).map(([T2]) => T2);
120465
+ return { itemsStatus: B2, selectedIds: o1 };
120463
120466
  }, [
120464
120467
  w.items,
120465
120468
  M,
@@ -120505,11 +120508,11 @@ function ZQ1({
120505
120508
  return P2 !== void 0 && P2 === $2;
120506
120509
  }),
120507
120510
  [w.items, e.records, g]
120508
- ), e1 = x2(() => e.type === "grouped" ? e.groups.flatMap(($2) => $2.records) : e.records, [e]), o1 = x2(
120511
+ ), e1 = x2(() => e.type === "grouped" ? e.groups.flatMap(($2) => $2.records) : e.records, [e]), i1 = x2(
120509
120512
  ($2) => {
120510
120513
  if (!$2)
120511
120514
  return "";
120512
- const G2 = Array.from($2.items?.entries() || []).map(([B2, i1]) => `${B2}:${i1.checked}`).sort().join(","), P2 = Array.from($2.groups?.entries() || []).map(([B2, i1]) => `${B2}:${i1.checked}`).sort().join(",");
120515
+ const G2 = Array.from($2.items?.entries() || []).map(([B2, o1]) => `${B2}:${o1.checked}`).sort().join(","), P2 = Array.from($2.groups?.entries() || []).map(([B2, o1]) => `${B2}:${o1.checked}`).sort().join(",");
120513
120516
  return `${$2.allSelected}|${G2}|${P2}`;
120514
120517
  },
120515
120518
  []
@@ -120517,9 +120520,9 @@ function ZQ1({
120517
120520
  ($2) => {
120518
120521
  const G2 = nW($2);
120519
120522
  $((P2) => {
120520
- const B2 = /* @__PURE__ */ new Map(), i1 = new Set(G2.items?.keys() || []);
120523
+ const B2 = /* @__PURE__ */ new Map(), o1 = new Set(G2.items?.keys() || []);
120521
120524
  for (const [I2, s1] of P2.items?.entries() || [])
120522
- !v && !i1.has(I2) && s1.checked ? B2.set(I2, { ...s1, checked: !1 }) : B2.set(I2, s1);
120525
+ !v && !o1.has(I2) && s1.checked ? B2.set(I2, { ...s1, checked: !1 }) : B2.set(I2, s1);
120523
120526
  for (const [
120524
120527
  I2,
120525
120528
  s1
@@ -120573,14 +120576,14 @@ function ZQ1({
120573
120576
  ]
120574
120577
  ), f2 = x2(
120575
120578
  ($2, G2, P2 = !1, B2) => {
120576
- const i1 = (Array.isArray($2) ? $2 : [$2]).slice(
120579
+ const o1 = (Array.isArray($2) ? $2 : [$2]).slice(
120577
120580
  0,
120578
120581
  v ? void 0 : 1
120579
120582
  ), T2 = Array.isArray(B2) ? B2 : B2 !== void 0 ? [B2] : [];
120580
120583
  $((I2) => {
120581
120584
  const s1 = !v && G2 ? /* @__PURE__ */ new Map() : new Map(I2.items);
120582
120585
  let y1 = 0;
120583
- for (const F1 of i1) {
120586
+ for (const F1 of o1) {
120584
120587
  if (P2 && s1.has(F1))
120585
120588
  continue;
120586
120589
  y1++;
@@ -120607,10 +120610,10 @@ function ZQ1({
120607
120610
  const P2 = TQ1($2) ? [$2.key] : Array.isArray($2) ? [...$2] : [$2], B2 = e.groups.filter((T2) => P2.includes(T2.key));
120608
120611
  if (B2.length === 0)
120609
120612
  return;
120610
- const i1 = B2.flatMap(
120613
+ const o1 = B2.flatMap(
120611
120614
  (T2) => T2.records.map((I2) => g?.(I2)).filter((I2) => I2 !== void 0)
120612
120615
  );
120613
- i1.length > 0 && f2(i1, G2), _((T2) => {
120616
+ o1.length > 0 && f2(o1, G2), _((T2) => {
120614
120617
  const I2 = new Map(T2);
120615
120618
  for (const s1 of B2)
120616
120619
  I2.set(s1.key, { group: s1, checked: G2 });
@@ -120655,15 +120658,15 @@ function ZQ1({
120655
120658
  }
120656
120659
  const G2 = m && e.type === "grouped" ? [] : N2(), P2 = G2.length || e.records?.length || 0;
120657
120660
  if ($2 && V((B2) => B2 !== null ? B2 : P2), m && e.type === "grouped") {
120658
- const B2 = e.groups.map((i1) => i1.key);
120661
+ const B2 = e.groups.map((o1) => o1.key);
120659
120662
  B2.length > 0 && w2(B2, $2);
120660
120663
  } else {
120661
- const B2 = G2.map(([T2]) => T2), i1 = G2.map(([, T2]) => T2);
120664
+ const B2 = G2.map(([T2]) => T2), o1 = G2.map(([, T2]) => T2);
120662
120665
  B2.length > 0 && f2(
120663
120666
  B2,
120664
120667
  $2,
120665
120668
  !1,
120666
- i1
120669
+ o1
120667
120670
  );
120668
120671
  }
120669
120672
  $2 || (F(!1), E.current = !1, V(null));
@@ -120687,9 +120690,9 @@ function ZQ1({
120687
120690
  const G2 = N2();
120688
120691
  $((P2) => {
120689
120692
  const B2 = /* @__PURE__ */ new Map();
120690
- for (const [i1, T2] of G2)
120691
- B2.set(i1, {
120692
- id: i1,
120693
+ for (const [o1, T2] of G2)
120694
+ B2.set(o1, {
120695
+ id: o1,
120693
120696
  checked: !0,
120694
120697
  item: T2
120695
120698
  });
@@ -120703,10 +120706,10 @@ function ZQ1({
120703
120706
  const G2 = N2().map(([P2]) => P2);
120704
120707
  G2.length > 0 && f2(G2, !1), $((P2) => {
120705
120708
  const B2 = new Map(P2.items);
120706
- let i1 = !1;
120709
+ let o1 = !1;
120707
120710
  for (const [T2, I2] of B2.entries())
120708
- I2.checked !== !1 && (B2.set(T2, { ...I2, checked: !1 }), i1 = !0);
120709
- return i1 ? {
120711
+ I2.checked !== !1 && (B2.set(T2, { ...I2, checked: !1 }), o1 = !0);
120712
+ return o1 ? {
120710
120713
  ...P2,
120711
120714
  allSelected: !1,
120712
120715
  items: B2
@@ -120736,13 +120739,13 @@ function ZQ1({
120736
120739
  allSelected: n2
120737
120740
  }));
120738
120741
  }, [n2]), S2(() => {
120739
- const $2 = o1(a);
120742
+ const $2 = i1(a);
120740
120743
  if (!W.current) {
120741
120744
  W.current = !0, R.current = $2;
120742
120745
  return;
120743
120746
  }
120744
120747
  $2 !== R.current && (R.current = $2, Z2(a));
120745
- }, [a, o1, Z2]), S2(() => {
120748
+ }, [a, i1, Z2]), S2(() => {
120746
120749
  if (B.current) {
120747
120750
  B.current = !1, z.current = n.currentFilters, Q.current = n.currentSortings, K.current = U;
120748
120751
  return;
@@ -120806,7 +120809,7 @@ function ZQ1({
120806
120809
  O.current,
120807
120810
  !0
120808
120811
  ), $((B2) => {
120809
- let i1 = !1;
120812
+ let o1 = !1;
120810
120813
  const T2 = new Map(B2.items);
120811
120814
  for (const [I2, s1] of T2.entries())
120812
120815
  if (s1.item === void 0) {
@@ -120817,9 +120820,9 @@ function ZQ1({
120817
120820
  y1 && (T2.set(I2, {
120818
120821
  ...s1,
120819
120822
  item: y1
120820
- }), i1 = !0);
120823
+ }), o1 = !0);
120821
120824
  }
120822
- return i1 ? {
120825
+ return o1 ? {
120823
120826
  ...B2,
120824
120827
  items: T2
120825
120828
  } : B2;
@@ -121383,9 +121386,9 @@ const ht = 10, [C42, H9] = Hr(Vn), tJ1 = "SelectContentImpl", nJ1 = Hu("SelectCo
121383
121386
  Y.current = !0;
121384
121387
  return;
121385
121388
  }
121386
- const o1 = e1 ? K2 === e1 : K2 === _ || K2 === L.trigger || K2 === document.body;
121389
+ const i1 = e1 ? K2 === e1 : K2 === _ || K2 === L.trigger || K2 === document.body;
121387
121390
  if (!X2) {
121388
- if (!o1) {
121391
+ if (!i1) {
121389
121392
  Y.current = !0;
121390
121393
  return;
121391
121394
  }
@@ -121400,7 +121403,7 @@ const ht = 10, [C42, H9] = Hr(Vn), tJ1 = "SelectContentImpl", nJ1 = Hu("SelectCo
121400
121403
  }, qQ1)), _?.focus();
121401
121404
  return;
121402
121405
  }
121403
- Y.current = !0, o1 && o2.current(K2 === e1);
121406
+ Y.current = !0, i1 && o2.current(K2 === e1);
121404
121407
  }, 0);
121405
121408
  return () => {
121406
121409
  M2 = !0, clearTimeout(F2), E2 !== void 0 && clearTimeout(E2);
@@ -122797,9 +122800,9 @@ const TJ1 = 8, OJ1 = [
122797
122800
  ...X2 ? [X2] : []
122798
122801
  ])
122799
122802
  ).sort(
122800
- (o1, Z2) => (
122803
+ (i1, Z2) => (
122801
122804
  // oxlint-disable-next-line sonarjs/bitwise-operators -- compareDocumentPosition returns a bitmask
122802
- o1.compareDocumentPosition(Z2) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1
122805
+ i1.compareDocumentPosition(Z2) & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : 1
122803
122806
  )
122804
122807
  ), K2 = E2 ?? i2, r1 = F2.indexOf(K2), e1 = r1 >= 0 ? F2[r1 + (b2.shiftKey ? -1 : 1)] : void 0;
122805
122808
  e1 && (b2.preventDefault(), e1.focus());
@@ -124605,12 +124608,12 @@ const pM = N(function({
124605
124608
  },
124606
124609
  [a]
124607
124610
  ), X2 = (e1) => {
124608
- const o1 = lu(e1, { maxDecimals: a });
124609
- if (!o1)
124611
+ const i1 = lu(e1, { maxDecimals: a });
124612
+ if (!i1)
124610
124613
  return;
124611
- const { value: Z2 } = o1;
124614
+ const { value: Z2 } = i1;
124612
124615
  if (Z2 === null) {
124613
- Y(""), R2?.(null);
124616
+ Y(i1.formattedValue), R2?.(null);
124614
124617
  return;
124615
124618
  }
124616
124619
  const f2 = Math.max(
@@ -124618,7 +124621,7 @@ const pM = N(function({
124618
124621
  Math.min(u ?? 1 / 0, Z2)
124619
124622
  );
124620
124623
  if (f2 === Z2) {
124621
- Y(o1.formattedValue), R2?.(Z2);
124624
+ Y(i1.formattedValue), R2?.(Z2);
124622
124625
  return;
124623
124626
  }
124624
124627
  const w2 = lu(f2.toString(), {
@@ -124630,8 +124633,8 @@ const pM = N(function({
124630
124633
  return;
124631
124634
  if (M2 == null)
124632
124635
  return X2(Z8(s, t, a));
124633
- const o1 = e1 === "increase" ? M2 + s : M2 - s;
124634
- l != null && o1 < l || u != null && o1 > u || X2(Z8(o1, t, a));
124636
+ const i1 = e1 === "increase" ? M2 + s : M2 - s;
124637
+ l != null && i1 < l || u != null && i1 > u || X2(Z8(i1, t, a));
124635
124638
  };
124636
124639
  S2(() => {
124637
124640
  if (o && !r2) {
@@ -124680,7 +124683,7 @@ const pM = N(function({
124680
124683
  if (m !== void 0) {
124681
124684
  const {
124682
124685
  icon: e1 = rg2,
124683
- side: o1 = "bottom",
124686
+ side: i1 = "bottom",
124684
124687
  align: Z2 = "start",
124685
124688
  triggerLabel: f2,
124686
124689
  apply: w2
@@ -124701,7 +124704,7 @@ const pM = N(function({
124701
124704
  /* @__PURE__ */ i(
124702
124705
  Ko,
124703
124706
  {
124704
- side: o1,
124707
+ side: i1,
124705
124708
  align: Z2,
124706
124709
  className: q(
124707
124710
  "w-auto min-w-[220px] rounded-xl border border-solid border-f1-border-secondary p-3"
@@ -126708,7 +126711,7 @@ const X23 = N(function({
126708
126711
  prop: h,
126709
126712
  defaultProp: m,
126710
126713
  caller: "F0Select"
126711
- }), K2 = p2(void 0), [r1, e1] = y2(void 0), o1 = x2(
126714
+ }), K2 = p2(void 0), [r1, e1] = y2(void 0), i1 = x2(
126712
126715
  // Values are arbitrary strings and an IDREF cannot hold whitespace, so a
126713
126716
  // space is spelled out as its char code.
126714
126717
  (L2) => `${n2}-option-${L2.replace(
@@ -126759,7 +126762,7 @@ const X23 = N(function({
126759
126762
  }
126760
126763
  }
126761
126764
  };
126762
- }, [u, V, "searchFn" in s2 && s2.searchFn]), P2 = t === "field" && !Z && !d, B2 = !!y, i1 = CS(
126765
+ }, [u, V, "searchFn" in s2 && s2.searchFn]), P2 = t === "field" && !Z && !d, B2 = !!y, o1 = CS(
126763
126766
  {
126764
126767
  ...G2,
126765
126768
  // Return string IDs for consistent comparison across the selection system
@@ -126793,7 +126796,7 @@ const X23 = N(function({
126793
126796
  isLoadingMore: F1,
126794
126797
  isLoading: u3,
126795
126798
  paginationInfo: y3
126796
- } = hS(i1), { currentSearch: N1, setCurrentSearch: u1 } = i1, f1 = B2 && P2 && !i1.filters, ve = B2 && !f1, G3 = p2(/* @__PURE__ */ new Map()), Ve = O2(() => {
126799
+ } = hS(o1), { currentSearch: N1, setCurrentSearch: u1 } = o1, f1 = B2 && P2 && !o1.filters, ve = B2 && !f1, G3 = p2(/* @__PURE__ */ new Map()), Ve = O2(() => {
126797
126800
  const L2 = [];
126798
126801
  for (const U2 of I2.records) {
126799
126802
  const w1 = T2(U2);
@@ -126830,7 +126833,7 @@ const X23 = N(function({
126830
126833
  } = ZQ1({
126831
126834
  data: I2,
126832
126835
  paginationInfo: y3,
126833
- source: i1,
126836
+ source: o1,
126834
126837
  selectionMode: O ? "multi" : "single",
126835
126838
  onSelectItems: R2,
126836
126839
  selectedState: rt,
@@ -127038,9 +127041,9 @@ const X23 = N(function({
127038
127041
  ]), [Qn, iC] = y2(!1), A9 = p2(null);
127039
127042
  S2(() => {
127040
127043
  const L2 = JSON.stringify([
127041
- i1.currentFilters,
127042
- i1.currentSortings,
127043
- i1.debouncedCurrentSearch
127044
+ o1.currentFilters,
127045
+ o1.currentSortings,
127046
+ o1.debouncedCurrentSearch
127044
127047
  ]);
127045
127048
  if (A9.current === null) {
127046
127049
  A9.current = L2;
@@ -127048,13 +127051,13 @@ const X23 = N(function({
127048
127051
  }
127049
127052
  A9.current !== L2 && (A9.current = L2, !Y2 && (!d2 || kt.current) && (G3.current.clear(), L1([]), M3.current = !0, kt.current = !1));
127050
127053
  }, [
127051
- i1.currentFilters,
127052
- i1.currentSortings,
127053
- i1.debouncedCurrentSearch,
127054
+ o1.currentFilters,
127055
+ o1.currentSortings,
127056
+ o1.debouncedCurrentSearch,
127054
127057
  Y2,
127055
127058
  d2
127056
127059
  ]);
127057
- const g7 = i1.grouping?.collapsible ?? !1, Er = i1.grouping?.defaultOpenGroups, { openGroups: Tr, setGroupOpen: Or } = AQ1(
127060
+ const g7 = o1.grouping?.collapsible ?? !1, Er = o1.grouping?.defaultOpenGroups, { openGroups: Tr, setGroupOpen: Or } = AQ1(
127058
127061
  I2?.type === "grouped" ? I2.groups : [],
127059
127062
  Er
127060
127063
  ), v6 = x2(
@@ -127085,7 +127088,7 @@ const X23 = N(function({
127085
127088
  YJ1,
127086
127089
  {
127087
127090
  item: G1,
127088
- optionId: f1 ? o1(String(G1.value)) : void 0
127091
+ optionId: f1 ? i1(String(G1.value)) : void 0
127089
127092
  },
127090
127093
  String(G1.value)
127091
127094
  ),
@@ -127095,7 +127098,7 @@ const X23 = N(function({
127095
127098
  value: String(G1.value)
127096
127099
  };
127097
127100
  }),
127098
- [T2, f1, o1]
127101
+ [T2, f1, i1]
127099
127102
  ), E9 = x2((L2) => ["", "pl-5", "pl-10", "pl-16", "pl-20"][Math.min(L2, 4)], []), At = x2(
127100
127103
  (L2, U2, w1, f3) => {
127101
127104
  const G1 = E9(g7 ? w1 + 1 : w1);
@@ -127254,8 +127257,8 @@ const X23 = N(function({
127254
127257
  triggerRef: Z2
127255
127258
  });
127256
127259
  S2(() => {
127257
- !f1 || !r1 || document.getElementById(o1(r1))?.scrollIntoView({ block: "nearest" });
127258
- }, [r1, f1, o1]);
127260
+ !f1 || !r1 || document.getElementById(i1(r1))?.scrollIntoView({ block: "nearest" });
127261
+ }, [r1, f1, i1]);
127259
127262
  const gs = F ? (L2) => {
127260
127263
  const U2 = () => {
127261
127264
  u1(void 0), f1 && dC();
@@ -127312,13 +127315,13 @@ const X23 = N(function({
127312
127315
  onSearchChange: k9,
127313
127316
  searchBoxPlaceholder: M,
127314
127317
  showSearchBox: ve,
127315
- grouping: i1.grouping,
127316
- currentGrouping: i1.currentGrouping,
127317
- onGroupingChange: i1.setCurrentGrouping,
127318
- filters: i1.filters,
127319
- currentFilters: i1.currentFilters,
127318
+ grouping: o1.grouping,
127319
+ currentGrouping: o1.currentGrouping,
127320
+ onGroupingChange: o1.setCurrentGrouping,
127321
+ filters: o1.filters,
127322
+ currentFilters: o1.currentFilters,
127320
127323
  onFiltersChange: (L2) => {
127321
- i1.setCurrentFilters(L2), H?.(L2);
127324
+ o1.setCurrentFilters(L2), H?.(L2);
127322
127325
  },
127323
127326
  asList: Z,
127324
127327
  onFiltersOpenChange: iC,
@@ -127334,7 +127337,7 @@ const X23 = N(function({
127334
127337
  onChange: ae,
127335
127338
  hideCheckbox: Y2,
127336
127339
  items: R4,
127337
- paddingTop: !ve && !i1.filters
127340
+ paddingTop: !ve && !o1.filters
127338
127341
  }
127339
127342
  ) : null
127340
127343
  ] }),
@@ -127348,7 +127351,7 @@ const X23 = N(function({
127348
127351
  isLoadingMore: F1
127349
127352
  }
127350
127353
  ) : null,
127351
- forceMinHeight: !!i1.filters && o2,
127354
+ forceMinHeight: !!o1.filters && o2,
127352
127355
  onScrollBottom: oC,
127353
127356
  scrollMargin: 10,
127354
127357
  isLoadingMore: F1,
@@ -127476,7 +127479,7 @@ const X23 = N(function({
127476
127479
  "aria-activedescendant": (
127477
127480
  // The only way to announce the active option while the caret
127478
127481
  // stays in the field.
127479
- f1 && X2 && r1 ? o1(r1) : void 0
127482
+ f1 && X2 && r1 ? i1(r1) : void 0
127480
127483
  ),
127481
127484
  "aria-describedby": (
127482
127485
  // Only while the node it points at is rendered.
@@ -138509,7 +138512,7 @@ const Nt2 = J1(null), S63 = () => {
138509
138512
  const u1 = X2.current;
138510
138513
  X2.current = u2, !(u2 === void 0 || u1 === void 0) && u1 !== u2 && Y2((f1) => f1 === "fullscreen" ? "sidepanel" : f1);
138511
138514
  }, [u2, Y2]);
138512
- const [F2, K2] = y2(!1), [r1, e1] = y2(!1), [o1, Z2] = y2(
138515
+ const [F2, K2] = y2(!1), [r1, e1] = y2(!1), [i1, Z2] = y2(
138513
138516
  null
138514
138517
  ), [f2, w2] = y2(null), N2 = p2(null), W2 = p2([]), g1 = x2((u1) => {
138515
138518
  N2.current ? N2.current(u1) : W2.current.push(u1);
@@ -138536,7 +138539,7 @@ const Nt2 = J1(null), S63 = () => {
138536
138539
  P2.current || (i2(u1), u1.coversChat !== !0 && R2.current === "fullscreen" && K("sidepanel"), z || Q(!0));
138537
138540
  },
138538
138541
  [z, Q, K]
138539
- ), i1 = x2(() => {
138542
+ ), o1 = x2(() => {
138540
138543
  i2(null);
138541
138544
  }, []), [T2, I2] = y2(null), s1 = x2((u1) => I2(u1), []), y1 = x2(() => I2(null), []), {
138542
138545
  activeContent: F1,
@@ -138597,7 +138600,7 @@ const Nt2 = J1(null), S63 = () => {
138597
138600
  onTranscribe: _,
138598
138601
  canvasContent: b2,
138599
138602
  openCanvas: B2,
138600
- closeCanvas: i1,
138603
+ closeCanvas: o1,
138601
138604
  activeGame: T2,
138602
138605
  openGame: s1,
138603
138606
  closeGame: y1,
@@ -138609,7 +138612,7 @@ const Nt2 = J1(null), S63 = () => {
138609
138612
  setProcessDroppedFilesFunction: S1,
138610
138613
  focusChatInput: $2,
138611
138614
  setFocusChatInputFunction: G2,
138612
- pendingContext: o1,
138615
+ pendingContext: i1,
138613
138616
  setPendingContext: Z2,
138614
138617
  pendingQuote: f2,
138615
138618
  setPendingQuote: w2,
@@ -139498,8 +139501,8 @@ const s73 = ({ onClose: e }) => {
139498
139501
  $2 - B2 / 2 - Dt
139499
139502
  )), _.current > 0 && (_.current *= 0.85, _.current < 0.5 && (_.current = 0)), g.current === "playing") {
139500
139503
  M.current.push({ x: P2.x, y: P2.y }), M.current.length > IB && (M.current = M.current.slice(-IB)), P2.x += P2.vx * L1, P2.y += P2.vy * L1, E.current += R.current * L1, R.current *= 0.96;
139501
- const i1 = Dt + E6 / 2, T2 = $2 - Dt - E6 / 2;
139502
- P2.x <= i1 && (P2.x = i1, P2.vx = Math.abs(P2.vx), R.current *= -0.5), P2.x >= T2 && (P2.x = T2, P2.vx = -Math.abs(P2.vx), R.current *= -0.5);
139504
+ const o1 = Dt + E6 / 2, T2 = $2 - Dt - E6 / 2;
139505
+ P2.x <= o1 && (P2.x = o1, P2.vx = Math.abs(P2.vx), R.current *= -0.5), P2.x >= T2 && (P2.x = T2, P2.vx = -Math.abs(P2.vx), R.current *= -0.5);
139503
139506
  const I2 = G2 - k8 - Za, s1 = B2 / 2;
139504
139507
  if (P2.y + Rt >= I2 && P2.y - Rt <= I2 + Za && P2.vy > 0 && P2.x >= f.current - s1 - Rt && P2.x <= f.current + s1 + Rt) {
139505
139508
  P2.y = I2 - Rt;
@@ -139541,7 +139544,7 @@ const s73 = ({ onClose: e }) => {
139541
139544
  };
139542
139545
  }, [l, r1, F2]), !l)
139543
139546
  return /* @__PURE__ */ i("div", { ref: r });
139544
- const e1 = s2 > 0.5 ? (Math.random() - 0.5) * s2 : 0, o1 = s2 > 0.5 ? (Math.random() - 0.5) * s2 : 0;
139547
+ const e1 = s2 > 0.5 ? (Math.random() - 0.5) * s2 : 0, i1 = s2 > 0.5 ? (Math.random() - 0.5) * s2 : 0;
139545
139548
  return XB(
139546
139549
  /* @__PURE__ */ P("div", { className: "absolute inset-0 z-50 flex flex-col bg-f1-background", children: [
139547
139550
  /* @__PURE__ */ i("style", { children: `
@@ -139577,7 +139580,7 @@ const s73 = ({ onClose: e }) => {
139577
139580
  className: "absolute inset-0 cursor-none overflow-hidden",
139578
139581
  style: {
139579
139582
  touchAction: "none",
139580
- transform: `translate(${e1}px, ${o1}px)`
139583
+ transform: `translate(${e1}px, ${i1}px)`
139581
139584
  },
139582
139585
  children: [
139583
139586
  /* @__PURE__ */ i("div", { className: "pointer-events-none absolute left-0 right-0 top-1/2 h-px translate-y-1/2 bg-f1-border" }),