react-semaphor 0.1.551 → 0.1.553

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 (73) hide show
  1. package/dist/analytics-protocol/index.js +8 -8
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/assistant-protocol/index.js +64 -57
  4. package/dist/brand-studio/index.js +3 -3
  5. package/dist/briefings/index.js +5 -5
  6. package/dist/chunks/{assistant-chat-B8kslmny.js → assistant-chat-DaIdRbbd.js} +3152 -2817
  7. package/dist/chunks/{bookmark-state-Cu-a5ie_.js → bookmark-state-aGO7_ryE.js} +3 -3
  8. package/dist/chunks/{comparison-window-caption-C2xF-eWw.js → comparison-window-caption-BugAu7zS.js} +7 -7
  9. package/dist/chunks/{custom-visual-inputs-CwAcigQS.js → custom-visual-inputs-D7ez5sab.js} +1 -1
  10. package/dist/chunks/{dashboard-briefing-launcher-DnnvLeAs.js → dashboard-briefing-launcher-DBJ0xrfF.js} +62 -62
  11. package/dist/chunks/{dashboard-controls-BYDt0QZL.js → dashboard-controls-CDX74NTl.js} +46 -46
  12. package/dist/chunks/{dashboard-json-BligXqcU.js → dashboard-json-Cf5dpYTr.js} +4 -4
  13. package/dist/chunks/{dashboard-BcAQSgm-.js → dashboard-z3GYw7xR.js} +1 -1
  14. package/dist/chunks/{document-dashboard-inputs-DPQ_wUGD.js → document-dashboard-inputs-LMMWPOwU.js} +119 -119
  15. package/dist/chunks/{edit-dashboard-visual-8-Fd4EcE.js → edit-dashboard-visual-hCGiyxgm.js} +18 -18
  16. package/dist/chunks/{filter-reach-copy-8vnDYToV.js → filter-reach-copy-BG5qVZKS.js} +48 -48
  17. package/dist/chunks/{filter-value-text-Ddf55Ku1.js → filter-value-text-DwP5dN9m.js} +2 -2
  18. package/dist/chunks/{global-date-filter-utils-CnumW4j2.js → global-date-filter-utils-Ce6Ydv2W.js} +5934 -5723
  19. package/dist/chunks/{index-DzsdV1o4.js → index-C_UIqop8.js} +9 -9
  20. package/dist/chunks/{matrix-analytical-definition-B9vW-osb.js → matrix-analytical-definition-cvzKdxPE.js} +2 -2
  21. package/dist/chunks/{matrix-card-LiMEipvq.js → matrix-card-VFE-yDlr.js} +2 -2
  22. package/dist/chunks/{matrix-formatter-DWEeC0_c.js → matrix-formatter-B27bz08Y.js} +3 -3
  23. package/dist/chunks/{matrix-member-presentation-DqzG-UhQ.js → matrix-member-presentation-DyC-e9pD.js} +1 -1
  24. package/dist/chunks/{matrix-operation-contract-D6vYkZK4.js → matrix-operation-contract-L_SiObB7.js} +1 -1
  25. package/dist/chunks/{metric-comparison-zpGw4lD6.js → metric-comparison-B5gyyW9k.js} +1 -1
  26. package/dist/chunks/model-change-B0rAK-5w.js +230 -0
  27. package/dist/chunks/{pivot-header-presentation-CQnIDtUv.js → pivot-header-presentation-BQFfowp1.js} +1 -1
  28. package/dist/chunks/{pivot-result-identity-C-Q1j1Wb.js → pivot-result-identity-dZIYsMrY.js} +1 -1
  29. package/dist/chunks/{pivot-result-lifecycle-pwq3b7LC.js → pivot-result-lifecycle-D0kSz5QX.js} +6 -6
  30. package/dist/chunks/{raw-temporal-presentation-CBKeEPYA.js → raw-temporal-presentation-BWRH754b.js} +6 -6
  31. package/dist/chunks/{report-preferences-dialog-DAQEooIW.js → report-preferences-dialog-DvabpYcC.js} +49 -49
  32. package/dist/chunks/{report-runtime-context-hWiTCzFV.js → report-runtime-context-CKiIubIu.js} +1 -1
  33. package/dist/chunks/{resolve-dashboard-input-context-DVWF7p5C.js → resolve-dashboard-input-context-Ctq1YCDV.js} +2049 -1975
  34. package/dist/chunks/{saved-dashboard-context-BMqMzNAo.js → saved-dashboard-context-Bt1E9d1l.js} +8 -8
  35. package/dist/chunks/{selection-reducer-CJzkTZio.js → selection-reducer-DdPwKDDQ.js} +1 -1
  36. package/dist/chunks/{semaphor-ready-indicator-Dq1ElALH.js → semaphor-ready-indicator-Cc1TG_gw.js} +10388 -10390
  37. package/dist/chunks/{shelf-drop-preview-context-CHm8lqfo.js → shelf-drop-preview-context-Ch9XqytU.js} +119 -119
  38. package/dist/chunks/{source-entity-resolution-D195CrYS.js → source-entity-resolution-DkW3Iek5.js} +1 -1
  39. package/dist/chunks/{switch-wJP6O7ZT.js → switch-gm7RW-PW.js} +2 -2
  40. package/dist/chunks/{table-export-sheet-4X9mAG3V.js → table-export-sheet-C7bDdC8r.js} +1 -1
  41. package/dist/chunks/{table-settings-WysCBj62.js → table-settings-CBm7G0yx.js} +224 -201
  42. package/dist/chunks/{temporal-bucket-CQOSbv9-.js → temporal-bucket-BikY3FFR.js} +1 -1
  43. package/dist/chunks/{token-types-BMqRmT-C.js → token-types-B1p9F_wS.js} +1 -1
  44. package/dist/chunks/{use-create-flow-overlay-state-b_fGSj_5.js → use-create-flow-overlay-state-CZdDRUpc.js} +6 -6
  45. package/dist/chunks/{validators-C-aOQlTB.js → validators-BdBzm_EV.js} +17 -16
  46. package/dist/dashboard/index.js +2 -2
  47. package/dist/dashboard-authoring/index.js +273 -264
  48. package/dist/data-app-sdk/index.js +5 -5
  49. package/dist/data-app-sdk-adapters/index.js +2 -2
  50. package/dist/data-app-sdk-validation/index.js +5 -5
  51. package/dist/format-utils/index.js +15 -15
  52. package/dist/index.js +21 -21
  53. package/dist/report-runtime-context/index.js +1 -1
  54. package/dist/style.css +1 -1
  55. package/dist/surfboard/index.js +2 -2
  56. package/dist/types/index.js +6 -6
  57. package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +3 -0
  58. package/dist/types/lib/utils/card-config-utils.d.ts +61 -0
  59. package/dist/types/lib/utils/card-type-change.d.ts +5 -1
  60. package/dist/types/shared/analytics-protocol/explorer-input-schemas.d.ts +2 -0
  61. package/dist/types/shared/assistant-protocol/answer-text.d.ts +23 -0
  62. package/dist/types/shared/assistant-protocol/conversation-text.d.ts +29 -0
  63. package/dist/types/shared/assistant-protocol/conversation.d.ts +24 -3
  64. package/dist/types/shared/assistant-protocol/index.d.ts +2 -0
  65. package/dist/types/shared/assistant-protocol/model-change.d.ts +19 -0
  66. package/dist/types/shared/assistant-protocol/parts.d.ts +45 -1
  67. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +8 -3
  68. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +7 -1
  69. package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +6 -0
  70. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  71. package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +64 -0
  72. package/package.json +2 -2
  73. package/dist/chunks/add-to-dashboard-BQRAAnc3.js +0 -102
@@ -1,32 +1,32 @@
1
1
  import { jsxs as h, jsx as i, Fragment as te } from "react/jsx-runtime";
2
2
  import * as v from "react";
3
- import jt, { useRef as U, useState as z, useCallback as j, useEffect as K, useMemo as J, createContext as $t, useContext as Ke, lazy as Ee, Suspense as Se, useLayoutEffect as Ie, Activity as Vt, useId as ce } from "react";
4
- import { u as _, bh as Ht, bi as Kt, bj as gt, a4 as qt, bk as Gt, bl as Xt, bm as Jt, b as Yt, b5 as qe, bn as Zt, bo as Qt, bp as yt, x as ea, bq as ta, br as aa, bs as ra, bt as na, bu as ge, bv as wt, bw as tt, bx as sa, Z as ye, Y as la, by as ia, bz as oa, _ as at, $ as da, bA as ca, E as ua, F as fa, S as ma, B as ha, a as pa, U as ba, bB as va, D as ga, A as ya, C as wa, bC as Sa, bD as xa, bE as Ia, bF as Ca, bG as rt, bH as ke, bI as Ea, bJ as Ge, bK as X, bL as Na, bM as Ta, bN as ka, bO as Aa, bP as Da } from "./semaphor-ready-indicator-Dq1ElALH.js";
5
- import "./validators-C-aOQlTB.js";
6
- import "./matrix-operation-contract-D6vYkZK4.js";
3
+ import jt, { useRef as U, useState as z, useCallback as j, useEffect as H, useMemo as J, createContext as $t, useContext as He, lazy as Ee, Suspense as Se, useLayoutEffect as Ie, Activity as Vt, useId as ce } from "react";
4
+ import { u as _, bh as Kt, bi as Ht, bj as gt, a4 as qt, bk as Gt, bl as Xt, bm as Jt, b as Yt, b5 as qe, bn as Zt, bo as Qt, bp as yt, x as ea, bq as ta, br as aa, bs as ra, bt as na, bu as ge, bv as wt, bw as tt, bx as sa, Z as ye, Y as la, by as ia, bz as oa, _ as at, $ as da, bA as ca, E as ua, F as fa, S as ma, B as ha, a as pa, U as ba, bB as va, D as ga, A as ya, C as wa, bC as Sa, bD as xa, bE as Ia, bF as Ca, bG as rt, bH as ke, bI as Ea, bJ as Ge, bK as X, bL as Na, bM as Ta, bN as ka, bO as Aa, bP as Da } from "./semaphor-ready-indicator-Cc1TG_gw.js";
5
+ import "./validators-BdBzm_EV.js";
6
+ import "./matrix-operation-contract-L_SiObB7.js";
7
7
  import "./analytics-base-schemas-BKs3flFS.js";
8
8
  import "zod";
9
- import { Y as Ra, cU as _a, bq as Pa, br as Oa, as as Fa, s as La } from "./global-date-filter-utils-CnumW4j2.js";
9
+ import { Y as Ra, cW as _a, bs as Pa, bt as Oa, as as Fa, s as La } from "./global-date-filter-utils-Ce6Ydv2W.js";
10
10
  import { j as za } from "./index-CuHybtft.js";
11
11
  import { parseValueFormatPreferencesResponse as Ma, canonicalizeSupportedLocale as St, getSupportedCurrencyCodes as Ua, canonicalizeSupportedCurrencyCode as Wa } from "../value-format-preferences/index.js";
12
12
  import { c as W } from "./_commonjsHelpers-DimLPMtv.js";
13
13
  import "./index-CtoK1Lgu.js";
14
- import "./pivot-result-lifecycle-pwq3b7LC.js";
15
- import { H as Ba } from "./table-settings-WysCBj62.js";
16
- import { l as oe, B as q, N as ja, O as $a, Q as Va, U as Ha, V as Ka, W as qa, X as ie, z as ee, Y as pe, P as Ga, a as Xa, b as Ja, c as nt, L as xt, r as Le, s as ze, t as Me, u as Ue, v as Z, T as Ya, d as Za, e as st, g as lt } from "./switch-wJP6O7ZT.js";
14
+ import "./pivot-result-lifecycle-D0kSz5QX.js";
15
+ import { I as Ba } from "./table-settings-CBm7G0yx.js";
16
+ import { l as oe, B as q, N as ja, O as $a, Q as Va, U as Ka, V as Ha, W as qa, X as ie, z as ee, Y as pe, P as Ga, a as Xa, b as Ja, c as nt, L as xt, r as Le, s as ze, t as Me, u as Ue, v as Z, T as Ya, d as Za, e as st, g as lt } from "./switch-gm7RW-PW.js";
17
17
  import { X as Qa } from "./x-4f5U2XwU.js";
18
18
  import { r as er, a as It } from "./availability-Bp5Gfu1I.js";
19
- import { a as tr } from "./filter-reach-copy-8vnDYToV.js";
20
- import { S as ar } from "./selection-reducer-CJzkTZio.js";
21
- import { a as rr } from "./report-runtime-context-hWiTCzFV.js";
22
- import { r as we, M as ue } from "./temporal-bucket-CQOSbv9-.js";
19
+ import { a as tr } from "./filter-reach-copy-BG5qVZKS.js";
20
+ import { S as ar } from "./selection-reducer-DdPwKDDQ.js";
21
+ import { a as rr } from "./report-runtime-context-CKiIubIu.js";
22
+ import { r as we, M as ue } from "./temporal-bucket-BikY3FFR.js";
23
23
  function nr(e = []) {
24
24
  const a = U(null), t = U(null), n = U(null), [r, l] = z(), s = j(() => {
25
25
  var u, g, b;
26
26
  const o = ((u = a.current) == null ? void 0 : u.clientWidth) ?? 0, m = ((g = n.current) == null ? void 0 : g.offsetWidth) ?? 0, c = ((b = t.current) == null ? void 0 : b.offsetWidth) ?? 0, d = o - m - c - 8, p = Math.max(d, 0);
27
27
  l((y) => y === p ? y : p);
28
28
  }, []);
29
- return K(() => {
29
+ return H(() => {
30
30
  const o = a.current;
31
31
  if (!o || typeof ResizeObserver > "u") return;
32
32
  const m = new ResizeObserver(() => s());
@@ -43,7 +43,7 @@ function sr({ filter: e }) {
43
43
  var y;
44
44
  const a = _(
45
45
  (w) => w.isDashboardEditing
46
- ), { preferences: t } = Ht(), n = Kt((y = t == null ? void 0 : t.cardDisplay) == null ? void 0 : y.mode), r = _((w) => w.dashboard), l = _(
46
+ ), { preferences: t } = Kt(), n = Ht((y = t == null ? void 0 : t.cardDisplay) == null ? void 0 : y.mode), r = _((w) => w.dashboard), l = _(
47
47
  (w) => w.dashboardInputValues
48
48
  ), s = _((w) => w.selectedSheetId), o = gt(), m = J(() => {
49
49
  var O;
@@ -70,7 +70,7 @@ function sr({ filter: e }) {
70
70
  m,
71
71
  n
72
72
  ]);
73
- return K(() => {
73
+ return H(() => {
74
74
  b();
75
75
  }, [e.title, b]), /* @__PURE__ */ h(
76
76
  "div",
@@ -233,7 +233,7 @@ function mr(e) {
233
233
  }
234
234
  }
235
235
  function hr(e) {
236
- K(() => {
236
+ H(() => {
237
237
  const a = (n, r) => {
238
238
  const l = e.store.getState().focus;
239
239
  l && !pr(l, n, r) && e.clearFocus();
@@ -280,18 +280,18 @@ function qn() {
280
280
  }, []), width: e };
281
281
  }
282
282
  function Sr() {
283
- return Ke(Xe).width;
283
+ return He(Xe).width;
284
284
  }
285
285
  function Gn() {
286
- return Ke(Xe).overflowItems;
286
+ return He(Xe).overflowItems;
287
287
  }
288
288
  function Xn(e, a, t) {
289
- const n = Ke(Xe), r = n.hasOverflowMenu && !yr(a, n.width), { register: l, setOpenOverflowId: s } = n, o = t == null ? void 0 : t.label, m = t == null ? void 0 : t.hint, c = t == null ? void 0 : t.checked, S = (t == null ? void 0 : t.order) ?? 0, d = U(t == null ? void 0 : t.icon);
289
+ const n = He(Xe), r = n.hasOverflowMenu && !yr(a, n.width), { register: l, setOpenOverflowId: s } = n, o = t == null ? void 0 : t.label, m = t == null ? void 0 : t.hint, c = t == null ? void 0 : t.checked, S = (t == null ? void 0 : t.order) ?? 0, d = U(t == null ? void 0 : t.icon);
290
290
  d.current = t == null ? void 0 : t.icon;
291
291
  const p = U(t == null ? void 0 : t.onSelect);
292
292
  p.current = t == null ? void 0 : t.onSelect;
293
293
  const u = U(t == null ? void 0 : t.onOpen);
294
- return u.current = t == null ? void 0 : t.onOpen, K(() => {
294
+ return u.current = t == null ? void 0 : t.onOpen, H(() => {
295
295
  if (!(!r || o === void 0))
296
296
  return l({
297
297
  id: e,
@@ -315,7 +315,7 @@ function Xn(e, a, t) {
315
315
  anchorSlot: n.anchorSlot
316
316
  };
317
317
  }
318
- const xr = Ee(() => import("./assistant-chat-B8kslmny.js"));
318
+ const xr = Ee(() => import("./assistant-chat-DaIdRbbd.js"));
319
319
  function Jn() {
320
320
  const e = ea(), a = Sr();
321
321
  if (!e.available) return null;
@@ -418,13 +418,13 @@ function kr(e, a) {
418
418
  middleware: [
419
419
  $a(he),
420
420
  Va({ padding: he }),
421
- Ha({
421
+ Ka({
422
422
  padding: he,
423
423
  apply: ({ availableWidth: b, availableHeight: y, elements: w }) => {
424
424
  w.floating.style.setProperty("--assistant-beside-max-w", `${Math.max(0, b)}px`), w.floating.style.setProperty("--assistant-beside-max-h", `${Math.max(0, y)}px`);
425
425
  }
426
426
  }),
427
- Ka()
427
+ Ha()
428
428
  ],
429
429
  whileElementsMounted: (b, y, w) => qa(b, y, () => {
430
430
  const D = Ar(b, y);
@@ -623,9 +623,9 @@ function Fr({
623
623
  }), l = _r(n), [s, o] = z(null), m = U(/* @__PURE__ */ new Map()), c = U(/* @__PURE__ */ new Map()), S = U(Promise.resolve()), d = U({ apply: l, onLifecycleEvent: a });
624
624
  Ie(() => {
625
625
  d.current = { apply: l, onLifecycleEvent: a };
626
- }), K(() => {
626
+ }), H(() => {
627
627
  e.setScreenState({ eligible: t, ...r ? { dashboardId: r } : {} });
628
- }, [e, t, r]), K(
628
+ }, [e, t, r]), H(
629
629
  () => _.subscribe((u, g) => {
630
630
  if (u.editSessionEpoch !== g.editSessionEpoch) {
631
631
  m.current.clear(), o(null);
@@ -636,7 +636,7 @@ function Fr({
636
636
  y !== u.dashboard && m.current.delete(b);
637
637
  }),
638
638
  []
639
- ), K(() => {
639
+ ), H(() => {
640
640
  const u = (b) => {
641
641
  const y = _.getState().dashboard;
642
642
  if (!y || y.id !== b.dashboardId) return;
@@ -761,9 +761,9 @@ function xe(e) {
761
761
  function Mr() {
762
762
  return globalThis.crypto.randomUUID();
763
763
  }
764
- const Ur = Ee(() => import("./dashboard-controls-BYDt0QZL.js")), Wr = Ee(
765
- () => import("./edit-dashboard-visual-8-Fd4EcE.js")
766
- ), Br = Ee(() => import("./dashboard-json-BligXqcU.js"));
764
+ const Ur = Ee(() => import("./dashboard-controls-CDX74NTl.js")), Wr = Ee(
765
+ () => import("./edit-dashboard-visual-hCGiyxgm.js")
766
+ ), Br = Ee(() => import("./dashboard-json-Cf5dpYTr.js"));
767
767
  function Yn({
768
768
  showControls: e = !1,
769
769
  showFooter: a = !0,
@@ -808,12 +808,12 @@ function Yn({
808
808
  ] })
809
809
  ] }) }) });
810
810
  }
811
- var ct = 1, jr = 0.9, $r = 0.8, Vr = 0.17, Ae = 0.1, De = 0.999, Hr = 0.9999, Kr = 0.99, qr = /[\\\/_+.#"@\[\(\{&]/, Gr = /[\\\/_+.#"@\[\(\{&]/g, Xr = /[\s-]/, Nt = /[\s-]/g;
811
+ var ct = 1, jr = 0.9, $r = 0.8, Vr = 0.17, Ae = 0.1, De = 0.999, Kr = 0.9999, Hr = 0.99, qr = /[\\\/_+.#"@\[\(\{&]/, Gr = /[\\\/_+.#"@\[\(\{&]/g, Xr = /[\s-]/, Nt = /[\s-]/g;
812
812
  function We(e, a, t, n, r, l, s) {
813
- if (l === a.length) return r === e.length ? ct : Kr;
813
+ if (l === a.length) return r === e.length ? ct : Hr;
814
814
  var o = `${r},${l}`;
815
815
  if (s[o] !== void 0) return s[o];
816
- for (var m = n.charAt(l), c = t.indexOf(m, r), S = 0, d, p, u, g; c >= 0; ) d = We(e, a, t, n, c + 1, l + 1, s), d > S && (c === r ? d *= ct : qr.test(e.charAt(c - 1)) ? (d *= $r, u = e.slice(r, c - 1).match(Gr), u && r > 0 && (d *= Math.pow(De, u.length))) : Xr.test(e.charAt(c - 1)) ? (d *= jr, g = e.slice(r, c - 1).match(Nt), g && r > 0 && (d *= Math.pow(De, g.length))) : (d *= Vr, r > 0 && (d *= Math.pow(De, c - r))), e.charAt(c) !== a.charAt(l) && (d *= Hr)), (d < Ae && t.charAt(c - 1) === n.charAt(l + 1) || n.charAt(l + 1) === n.charAt(l) && t.charAt(c - 1) !== n.charAt(l)) && (p = We(e, a, t, n, c + 1, l + 2, s), p * Ae > d && (d = p * Ae)), d > S && (S = d), c = t.indexOf(m, c + 1);
816
+ for (var m = n.charAt(l), c = t.indexOf(m, r), S = 0, d, p, u, g; c >= 0; ) d = We(e, a, t, n, c + 1, l + 1, s), d > S && (c === r ? d *= ct : qr.test(e.charAt(c - 1)) ? (d *= $r, u = e.slice(r, c - 1).match(Gr), u && r > 0 && (d *= Math.pow(De, u.length))) : Xr.test(e.charAt(c - 1)) ? (d *= jr, g = e.slice(r, c - 1).match(Nt), g && r > 0 && (d *= Math.pow(De, g.length))) : (d *= Vr, r > 0 && (d *= Math.pow(De, c - r))), e.charAt(c) !== a.charAt(l) && (d *= Kr)), (d < Ae && t.charAt(c - 1) === n.charAt(l + 1) || n.charAt(l + 1) === n.charAt(l) && t.charAt(c - 1) !== n.charAt(l)) && (p = We(e, a, t, n, c + 1, l + 2, s), p * Ae > d && (d = p * Ae)), d > S && (S = d), c = t.indexOf(m, c + 1);
817
817
  return s[o] = S, S;
818
818
  }
819
819
  function ut(e) {
@@ -836,7 +836,7 @@ var me = '[cmdk-group=""]', Re = '[cmdk-group-items=""]', Yr = '[cmdk-group-head
836
836
  N(6, re);
837
837
  }, []);
838
838
  let x = v.useMemo(() => ({ subscribe: (f) => (s.current.add(f), () => s.current.delete(f)), snapshot: () => t.current, setState: (f, T, A) => {
839
- var I, P, L, H;
839
+ var I, P, L, K;
840
840
  if (!Object.is(t.current[f], T)) {
841
841
  if (t.current[f] = T, f === "search") V(), C(), N(1, G);
842
842
  else if (f === "value") {
@@ -849,7 +849,7 @@ var me = '[cmdk-group=""]', Re = '[cmdk-group-items=""]', Yr = '[cmdk-group-head
849
849
  t.current.selectedItemId = (B = Y()) == null ? void 0 : B.id, x.emit();
850
850
  }), A || N(5, re), ((P = o.current) == null ? void 0 : P.value) !== void 0) {
851
851
  let B = T ?? "";
852
- (H = (L = o.current).onValueChange) == null || H.call(L, B);
852
+ (K = (L = o.current).onValueChange) == null || K.call(L, B);
853
853
  return;
854
854
  }
855
855
  }
@@ -883,16 +883,16 @@ var me = '[cmdk-group=""]', Re = '[cmdk-group-items=""]', Yr = '[cmdk-group-head
883
883
  let f = t.current.filtered.items, T = [];
884
884
  t.current.filtered.groups.forEach((I) => {
885
885
  let P = r.current.get(I), L = 0;
886
- P.forEach((H) => {
887
- let B = f.get(H);
886
+ P.forEach((K) => {
887
+ let B = f.get(K);
888
888
  L = Math.max(B, L);
889
889
  }), T.push([I, L]);
890
890
  });
891
891
  let A = F.current;
892
892
  k().sort((I, P) => {
893
- var L, H;
893
+ var L, K;
894
894
  let B = I.getAttribute("id"), ve = P.getAttribute("id");
895
- return ((L = f.get(ve)) != null ? L : 0) - ((H = f.get(B)) != null ? H : 0);
895
+ return ((L = f.get(ve)) != null ? L : 0) - ((K = f.get(B)) != null ? K : 0);
896
896
  }).forEach((I) => {
897
897
  let P = I.closest(Re);
898
898
  P ? P.appendChild(I.parentElement === P ? I : I.closest(`${Re} > *`)) : A.appendChild(I.parentElement === A ? I : I.closest(`${Re} > *`));
@@ -915,10 +915,10 @@ var me = '[cmdk-group=""]', Re = '[cmdk-group-items=""]', Yr = '[cmdk-group-head
915
915
  t.current.filtered.groups = /* @__PURE__ */ new Set();
916
916
  let P = 0;
917
917
  for (let L of n.current) {
918
- let H = (T = (f = l.current.get(L)) == null ? void 0 : f.value) != null ? T : "", B = (I = (A = l.current.get(L)) == null ? void 0 : A.keywords) != null ? I : [], ve = R(H, B);
918
+ let K = (T = (f = l.current.get(L)) == null ? void 0 : f.value) != null ? T : "", B = (I = (A = l.current.get(L)) == null ? void 0 : A.keywords) != null ? I : [], ve = R(K, B);
919
919
  t.current.filtered.items.set(L, ve), ve > 0 && P++;
920
920
  }
921
- for (let [L, H] of r.current) for (let B of H) if (t.current.filtered.items.get(B) > 0) {
921
+ for (let [L, K] of r.current) for (let B of K) if (t.current.filtered.items.get(B) > 0) {
922
922
  t.current.filtered.groups.add(L);
923
923
  break;
924
924
  }
@@ -943,7 +943,7 @@ var me = '[cmdk-group=""]', Re = '[cmdk-group-items=""]', Yr = '[cmdk-group-head
943
943
  }
944
944
  function Te(f) {
945
945
  var T;
946
- let A = Y(), I = k(), P = I.findIndex((H) => H === A), L = I[P + f];
946
+ let A = Y(), I = k(), P = I.findIndex((K) => K === A), L = I[P + f];
947
947
  (T = o.current) != null && T.loop && (L = P + f < 0 ? I[I.length - 1] : P + f === I.length ? I[0] : I[P + f]), L && x.setState("value", L.getAttribute(ne));
948
948
  }
949
949
  function Ye(f) {
@@ -1196,7 +1196,7 @@ function mn(e = {}) {
1196
1196
  const { authToken: a, tokenProps: t } = qe(), n = _(
1197
1197
  (N) => N.actions.applyResolvedCalendarPreferences
1198
1198
  ), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, [o, m] = z(!1), [c, S] = z(!1), [d, p] = z(!1), [u, g] = z(null), [b, y] = z(null), w = U(l);
1199
- w.current = l, K(() => {
1199
+ w.current = l, H(() => {
1200
1200
  y(null), g(null), m(!1), S(!1), p(!1);
1201
1201
  }, [l]);
1202
1202
  const D = j(async (N) => {
@@ -1228,7 +1228,7 @@ function mn(e = {}) {
1228
1228
  w.current === N && m(!1);
1229
1229
  }
1230
1230
  }, [l, s, r, D]);
1231
- K(() => {
1231
+ H(() => {
1232
1232
  r && O();
1233
1233
  }, [r, O]);
1234
1234
  const M = j(
@@ -1641,7 +1641,7 @@ function gn(e = {}) {
1641
1641
  ), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, o = U(l);
1642
1642
  o.current = l;
1643
1643
  const [m, c] = z(null), [S, d] = z(!1), [p, u] = z(!1), [g, b] = z(!1), [y, w] = z(null);
1644
- K(() => {
1644
+ H(() => {
1645
1645
  c(null), w(null), d(!1), u(!1), b(!1);
1646
1646
  }, [l]);
1647
1647
  const D = j(async (x) => {
@@ -1684,7 +1684,7 @@ function gn(e = {}) {
1684
1684
  o.current === x && d(!1);
1685
1685
  }
1686
1686
  }, [l, s, r, O]);
1687
- K(() => {
1687
+ H(() => {
1688
1688
  r && M();
1689
1689
  }, [r, M]);
1690
1690
  const F = j(
@@ -1755,7 +1755,7 @@ const Ve = [
1755
1755
  { value: "medium", label: "Medium" },
1756
1756
  { value: "long", label: "Long" }
1757
1757
  ], pt = "2026-07-31", _e = "2026-07-31T14:30:45";
1758
- function He(e) {
1758
+ function Ke(e) {
1759
1759
  switch (e) {
1760
1760
  case "viewer_user":
1761
1761
  return "user";
@@ -1813,7 +1813,7 @@ function Fe({
1813
1813
  /* @__PURE__ */ i(Z, { value: "inherit", className: "[&>span:last-child]:w-full", children: /* @__PURE__ */ h("span", { className: "flex w-full min-w-0 items-center justify-between gap-4", children: [
1814
1814
  /* @__PURE__ */ h("span", { children: [
1815
1815
  "Inherited from ",
1816
- He(r),
1816
+ Ke(r),
1817
1817
  " ·",
1818
1818
  " ",
1819
1819
  Pe(n)
@@ -1935,7 +1935,7 @@ function xn({
1935
1935
  /* @__PURE__ */ h(Ue, { children: [
1936
1936
  /* @__PURE__ */ h(Z, { value: "inherit", children: [
1937
1937
  "Inherited from ",
1938
- He(t.locale),
1938
+ Ke(t.locale),
1939
1939
  " ·",
1940
1940
  " ",
1941
1941
  a.locale
@@ -2024,7 +2024,7 @@ function xn({
2024
2024
  /* @__PURE__ */ h(Ue, { children: [
2025
2025
  /* @__PURE__ */ h(Z, { value: "inherit", children: [
2026
2026
  "Inherited from ",
2027
- He(t.defaultCurrency),
2027
+ Ke(t.defaultCurrency),
2028
2028
  " ·",
2029
2029
  " ",
2030
2030
  a.defaultCurrency
@@ -1,5 +1,5 @@
1
1
  import { parseValueFormatPreferences as _, isReportPreferenceSource as C } from "../value-format-preferences/index.js";
2
- import { r as g } from "./validators-C-aOQlTB.js";
2
+ import { r as g } from "./validators-BdBzm_EV.js";
3
3
  import { i as k } from "./analytics-base-schemas-BKs3flFS.js";
4
4
  const D = {
5
5
  tz: "UTC",