react-semaphor 0.1.545 → 0.1.546

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 (141) hide show
  1. package/dist/analytics-protocol/index.js +405 -442
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/assistant-protocol/index.js +100 -76
  4. package/dist/brand-studio/index.js +4 -4
  5. package/dist/briefings/index.js +6 -6
  6. package/dist/chunks/{add-to-dashboard-BuAqfA2Y.js → add-to-dashboard-BQRAAnc3.js} +55 -33
  7. package/dist/chunks/{analytics-base-schemas-BFAoRlkU.js → analytics-base-schemas-BKs3flFS.js} +2 -2
  8. package/dist/chunks/{assistant-chat-D7sWTypJ.js → assistant-chat-BPXhulAx.js} +2826 -2595
  9. package/dist/chunks/{bookmark-state-CXw7lZ50.js → bookmark-state-C4vetoa0.js} +7 -8
  10. package/dist/chunks/column-catalog-BYnochWQ.js +3363 -0
  11. package/dist/chunks/comparison-window-caption-C2xF-eWw.js +1433 -0
  12. package/dist/chunks/{context-ClREvqCZ.js → context-BerEBuFR.js} +11 -6
  13. package/dist/chunks/custom-visual-inputs-CkJW9pBS.js +295 -0
  14. package/dist/chunks/{dashboard-B1tMju0u.js → dashboard-C3CoKbGY.js} +1 -1
  15. package/dist/chunks/dashboard-briefing-launcher-Be4h-7My.js +3734 -0
  16. package/dist/chunks/dashboard-controls-bxPrlSyp.js +2307 -0
  17. package/dist/chunks/{dashboard-json-CoYRPqxx.js → dashboard-json-BrjxIiRt.js} +5 -5
  18. package/dist/chunks/{document-dashboard-inputs-BesAHZvB.js → document-dashboard-inputs-CRVHpIHp.js} +872 -974
  19. package/dist/chunks/{edit-dashboard-visual-JPtNfJRb.js → edit-dashboard-visual-DYYYDjY6.js} +2361 -2447
  20. package/dist/chunks/{filter-value-text-ff7osJr7.js → filter-value-text-Ddf55Ku1.js} +9 -9
  21. package/dist/chunks/global-date-filter-utils-9d6m9-FE.js +11859 -0
  22. package/dist/chunks/index-CtoK1Lgu.js +586 -0
  23. package/dist/chunks/{index-DRWiuqyd.js → index-DkQkMKa1.js} +80 -79
  24. package/dist/chunks/list-filter-DsaTbM3J.js +15 -0
  25. package/dist/chunks/matrix-analytical-definition-B9vW-osb.js +717 -0
  26. package/dist/chunks/{matrix-card-DjwWcCo8.js → matrix-card-LiMEipvq.js} +3 -3
  27. package/dist/chunks/{matrix-formatter-DnCyRXJE.js → matrix-formatter-DWEeC0_c.js} +44 -44
  28. package/dist/chunks/{matrix-member-presentation-CQGdVks6.js → matrix-member-presentation-DqzG-UhQ.js} +1 -1
  29. package/dist/chunks/{matrix-operation-contract-8OIO4gob.js → matrix-operation-contract-D6vYkZK4.js} +72 -72
  30. package/dist/chunks/{metric-comparison-DEwi9uc2.js → metric-comparison-zpGw4lD6.js} +2 -2
  31. package/dist/chunks/normalize-dashboard-for-dirty-check-XKgH3GFX.js +119 -0
  32. package/dist/chunks/{pivot-header-presentation-DHcx1XGQ.js → pivot-header-presentation-CQnIDtUv.js} +1 -1
  33. package/dist/chunks/{pivot-result-identity-DJhXXcns.js → pivot-result-identity-C-Q1j1Wb.js} +1 -1
  34. package/dist/chunks/{pivot-result-lifecycle-DM4CyGKs.js → pivot-result-lifecycle-pwq3b7LC.js} +571 -380
  35. package/dist/chunks/{raw-temporal-contract-C51YG48G.js → raw-temporal-contract-WuXA8jBP.js} +1 -1
  36. package/dist/chunks/{raw-temporal-presentation-C3mUgnEx.js → raw-temporal-presentation-CBzrDOjM.js} +8 -8
  37. package/dist/chunks/{report-preferences-dialog-DUtuUL_5.js → report-preferences-dialog-4QEZWe5U.js} +111 -112
  38. package/dist/chunks/{report-runtime-context-Dq8XyODK.js → report-runtime-context-hWiTCzFV.js} +2 -2
  39. package/dist/chunks/resolve-dashboard-input-context-UpK_LBpL.js +5677 -0
  40. package/dist/chunks/{saved-dashboard-context-LrF_kW0l.js → saved-dashboard-context-D_I3Lxk0.js} +34 -34
  41. package/dist/chunks/{selection-reducer-Dj_8xD69.js → selection-reducer-CJzkTZio.js} +15 -15
  42. package/dist/chunks/{semaphor-ready-indicator-BxF96Yhv.js → semaphor-ready-indicator-4zpRHE-X.js} +45823 -47304
  43. package/dist/chunks/{shelf-drop-preview-context-CNaM_Gmh.js → shelf-drop-preview-context-Cfw7TRAx.js} +84 -84
  44. package/dist/chunks/{source-entity-resolution-BYn9giz3.js → source-entity-resolution-BIGRvtbG.js} +13 -13
  45. package/dist/chunks/{switch-uDtPgQlQ.js → switch-CEBOR4n7.js} +3 -3
  46. package/dist/chunks/{table-export-sheet-YzMioA7Y.js → table-export-sheet-4X9mAG3V.js} +1 -1
  47. package/dist/chunks/table-settings-CunhoDUi.js +605 -0
  48. package/dist/chunks/{temporal-bucket-D7NBrrtL.js → temporal-bucket-CQOSbv9-.js} +26 -26
  49. package/dist/chunks/{token-types-DBbZVQsm.js → token-types-BMqRmT-C.js} +1 -1
  50. package/dist/chunks/{use-create-flow-overlay-state-CjB7ig1o.js → use-create-flow-overlay-state-DZBZiiD-.js} +101 -101
  51. package/dist/chunks/{validators-DMHTpf7a.js → validators-C-aOQlTB.js} +713 -658
  52. package/dist/chunks/{relative-date-label-Bk2j94pA.js → zoned-wall-clock-MulfA26h.js} +64 -21
  53. package/dist/dashboard/index.js +2 -2
  54. package/dist/dashboard-authoring/index.js +1802 -1149
  55. package/dist/data-app-sdk/index.js +6 -6
  56. package/dist/data-app-sdk-adapters/index.js +3 -3
  57. package/dist/data-app-sdk-validation/index.js +14 -14
  58. package/dist/format-utils/index.js +133 -133
  59. package/dist/index.js +192 -186
  60. package/dist/layouts/index.js +5 -242
  61. package/dist/report-runtime-context/index.js +2 -2
  62. package/dist/shared/index.js +4 -5
  63. package/dist/style.css +1 -1
  64. package/dist/surfboard/index.js +2 -2
  65. package/dist/types/components/index.d.ts +2 -0
  66. package/dist/types/components/surfboard/arrange-layout-button.d.ts +8 -0
  67. package/dist/types/components/surfboard/screen-size-preview-button.d.ts +7 -0
  68. package/dist/types/index.js +6 -6
  69. package/dist/types/lib/charts/table-chart-types.d.ts +4 -0
  70. package/dist/types/lib/charts/types.d.ts +2 -2
  71. package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +6 -0
  72. package/dist/types/lib/dashboard-inputs/filter-settings.d.ts +2 -0
  73. package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +15 -0
  74. package/dist/types/lib/matrix-table/matrix-editor.d.ts +52 -0
  75. package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +69 -0
  76. package/dist/types/lib/stores/dashboard-store.d.ts +125 -6
  77. package/dist/types/lib/types/common-types.d.ts +8 -0
  78. package/dist/types/lib/types/explorer-types.d.ts +10 -0
  79. package/dist/types/lib/types/semantic-types.d.ts +84 -0
  80. package/dist/types/lib/utils/build-saved-editor-card.d.ts +20 -0
  81. package/dist/types/lib/utils/card-type-change.d.ts +16 -0
  82. package/dist/types/lib/utils/field-availability-context.d.ts +25 -0
  83. package/dist/types/lib/utils/field-placement.d.ts +96 -0
  84. package/dist/types/lib/utils/field-state-calculator.d.ts +161 -0
  85. package/dist/types/lib/utils/qualified-entity-name.d.ts +2 -0
  86. package/dist/types/shared/analytics-protocol/field-provenance.d.ts +89 -0
  87. package/dist/types/shared/analytics-protocol/index.d.ts +2 -0
  88. package/dist/types/shared/analytics-protocol/query-policies.d.ts +52 -0
  89. package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +1 -1
  90. package/dist/types/shared/analytics-protocol/time-window.d.ts +40 -1
  91. package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +4 -1
  92. package/dist/types/shared/assistant-protocol/answer-text.d.ts +20 -0
  93. package/dist/types/shared/assistant-protocol/context.d.ts +21 -21
  94. package/dist/types/shared/assistant-protocol/index.d.ts +1 -0
  95. package/dist/types/shared/assistant-protocol/limits.d.ts +6 -1
  96. package/dist/types/shared/assistant-protocol/parts.d.ts +43 -3
  97. package/dist/types/shared/assistant-protocol/request.d.ts +14 -2
  98. package/dist/types/shared/dashboard-authoring/calculated-field-identity.d.ts +3 -0
  99. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +487 -0
  100. package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +34 -0
  101. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +7886 -0
  102. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +43 -0
  103. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +54 -0
  104. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +89 -0
  105. package/dist/types/shared/dashboard-authoring/column-catalog.d.ts +32 -0
  106. package/dist/types/shared/dashboard-authoring/contracts.d.ts +0 -55
  107. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +24 -14
  108. package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +9 -1
  109. package/dist/types/shared/dashboard-authoring/dashboard-input-scope.d.ts +26 -0
  110. package/dist/types/shared/dashboard-authoring/filter-applicability.d.ts +75 -0
  111. package/dist/types/shared/dashboard-authoring/index.d.ts +18 -2
  112. package/dist/types/shared/dashboard-authoring/operations/apply-dashboard-operations.d.ts +10 -37
  113. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +189 -0
  114. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +94 -0
  115. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +78 -0
  116. package/dist/types/shared/dashboard-authoring/validators.d.ts +1 -2
  117. package/dist/types/shared/layouts/engine/grid.d.ts +25 -0
  118. package/dist/types/shared/layouts/engine/index.d.ts +4 -0
  119. package/dist/types/shared/layouts/engine/sheet-layout.d.ts +7 -0
  120. package/dist/types/shared/layouts/engine/types.d.ts +125 -0
  121. package/dist/types/shared/layouts/index.d.ts +1 -2
  122. package/package.json +2 -2
  123. package/dist/chunks/apply-dashboard-operations-CZEMsx8E.js +0 -2080
  124. package/dist/chunks/calendar-day-equality-dvoQp1xW.js +0 -410
  125. package/dist/chunks/comparison-window-caption-D4E6IHPD.js +0 -1624
  126. package/dist/chunks/custom-visual-inputs-DLCD9Y5V.js +0 -329
  127. package/dist/chunks/dashboard-briefing-launcher-CePgIu0Z.js +0 -3720
  128. package/dist/chunks/dashboard-controls-Cq05n3e0.js +0 -2315
  129. package/dist/chunks/dashboard-filter-value-compatibility-CwQ_iSNb.js +0 -108
  130. package/dist/chunks/matrix-analytical-definition-C7Gb0e12.js +0 -117
  131. package/dist/chunks/normalize-dashboard-for-dirty-check-Bk3VYv_q.js +0 -67
  132. package/dist/chunks/numeric-presentation-7X_IrD58.js +0 -5226
  133. package/dist/chunks/resolve-dashboard-input-context-DJ2tICwz.js +0 -9415
  134. package/dist/chunks/stable-serialize-CfqXeiBP.js +0 -6
  135. package/dist/chunks/table-settings-CLZocegs.js +0 -501
  136. package/dist/chunks/use-debounced-dirty-check-BwAbnX_5.js +0 -59
  137. package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +0 -46
  138. package/dist/types/shared/dashboard-authoring/change-compiler.d.ts +0 -7
  139. package/dist/types/shared/dashboard-authoring/layout-compiler.d.ts +0 -2
  140. package/dist/types/shared/layouts/create-frame-layouts.d.ts +0 -27
  141. package/dist/types/shared/layouts/frame-layouts.d.ts +0 -23
@@ -1,7 +1,7 @@
1
1
  var d = Object.defineProperty;
2
2
  var i = (a, e, t) => e in a ? d(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
3
  var n = (a, e, t) => i(a, typeof e != "symbol" ? e + "" : e, t);
4
- import { R as l } from "./analytics-base-schemas-BFAoRlkU.js";
4
+ import { R as l } from "./analytics-base-schemas-BKs3flFS.js";
5
5
  class r extends Error {
6
6
  constructor(t) {
7
7
  super(t);
@@ -1,13 +1,13 @@
1
- import "./analytics-base-schemas-BFAoRlkU.js";
2
- import { r as P } from "./pivot-result-identity-DJhXXcns.js";
3
- import { r as R, n as M } from "./numeric-presentation-7X_IrD58.js";
4
- import "./validators-DMHTpf7a.js";
5
- import "./matrix-operation-contract-8OIO4gob.js";
6
- import { v as S } from "./raw-temporal-contract-C51YG48G.js";
1
+ import "./analytics-base-schemas-BKs3flFS.js";
2
+ import { r as P } from "./pivot-result-identity-C-Q1j1Wb.js";
3
+ import { r as R, n as M } from "./global-date-filter-utils-9d6m9-FE.js";
4
+ import "./validators-C-aOQlTB.js";
5
+ import "./matrix-operation-contract-D6vYkZK4.js";
6
+ import { v as S } from "./raw-temporal-contract-WuXA8jBP.js";
7
7
  import "zod";
8
8
  import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as A } from "../value-format-preferences/index.js";
9
- import { f as E, M as O } from "./pivot-result-lifecycle-DM4CyGKs.js";
10
- import { p as g, r as b, c as q, R as z, v as L } from "./temporal-bucket-D7NBrrtL.js";
9
+ import { f as E, M as O } from "./pivot-result-lifecycle-pwq3b7LC.js";
10
+ import { p as g, r as b, c as q, R as z, v as L } from "./temporal-bucket-CQOSbv9-.js";
11
11
  const $ = "SEMAPHOR_CALCULATED_FIELD";
12
12
  function j(e, a, t) {
13
13
  if (t && (a === "groupby" || a === "pivotby"))
@@ -1,25 +1,24 @@
1
1
  import { jsxs as h, jsx as l, Fragment as ie } from "react/jsx-runtime";
2
2
  import * as p from "react";
3
3
  import Lt, { useRef as Y, useState as L, useCallback as $, useEffect as ee, useMemo as q, lazy as Se, Suspense as ye, useLayoutEffect as Xe, Activity as _t, useId as ce } from "react";
4
- import { u as M, ba as Mt, bb as Ot, bc as mt, Z as Ut, bd as Wt, be as jt, bf as Bt, b as $t, a_ as Be, bg as Vt, bh as Kt, bi as ft, t as Ht, bj as qt, bk as Gt, bl as Xt, bm as Jt, bn as be, bo as ht, bp as Je, E as Yt, F as Zt, S as Qt, B as ea, a as ta, U as aa, D as ra, A as na, C as la, bq as sa, br as ia, bs as oa, bt as da, bu as Ye, bv as Ne, bw as ca, bx as $e, by as ua, bz as ma, bA as fa, bB as ha, bC as pa } from "./semaphor-ready-indicator-BxF96Yhv.js";
5
- import { ad as va, ae as H } from "./numeric-presentation-7X_IrD58.js";
6
- import "./validators-DMHTpf7a.js";
7
- import "./matrix-operation-contract-8OIO4gob.js";
8
- import "./analytics-base-schemas-BFAoRlkU.js";
4
+ import { u as M, be as Mt, bf as Ot, bg as mt, a1 as Ut, bh as jt, bi as Bt, bj as Wt, b as $t, b2 as We, bk as Vt, bl as Kt, bm as ft, t as Ht, bn as qt, bo as Gt, bp as Xt, bq as Jt, br as be, bs as ht, bt as Je, E as Yt, F as Zt, S as Qt, B as ea, a as ta, U as aa, bu as ra, D as na, A as la, C as sa, bv as ia, bw as oa, bx as da, by as ca, bz as Ye, bA as Ne, bB as ua, bC as $e, bD as H, bE as ma, bF as fa, bG as ha, bH as pa, bI as va } from "./semaphor-ready-indicator-4zpRHE-X.js";
5
+ import "./validators-C-aOQlTB.js";
6
+ import "./matrix-operation-contract-D6vYkZK4.js";
7
+ import "./analytics-base-schemas-BKs3flFS.js";
9
8
  import "zod";
10
- import { j as ba } from "./index-CuHybtft.js";
11
- import { parseValueFormatPreferencesResponse as ga, canonicalizeSupportedLocale as pt, getSupportedCurrencyCodes as ya, canonicalizeSupportedCurrencyCode as wa } from "../value-format-preferences/index.js";
9
+ import { X as ba, cN as ga, bl as ya, bm as wa, ar as Sa, s as xa } from "./global-date-filter-utils-9d6m9-FE.js";
10
+ import { j as Ca } from "./index-CuHybtft.js";
11
+ import { parseValueFormatPreferencesResponse as Na, canonicalizeSupportedLocale as pt, getSupportedCurrencyCodes as Ea, canonicalizeSupportedCurrencyCode as Ta } from "../value-format-preferences/index.js";
12
12
  import { c as O } from "./_commonjsHelpers-DimLPMtv.js";
13
- import "./pivot-result-lifecycle-DM4CyGKs.js";
14
- import { A as Sa } from "./table-settings-CLZocegs.js";
15
- import { W as xa, aW as Ca, a6 as Na, a7 as Ea, aX as Ta } from "./resolve-dashboard-input-context-DJ2tICwz.js";
16
- import { l as oe, B as V, N as Ia, O as ka, Q as Aa, U as Da, V as Ra, W as Pa, X as se, z as Q, Y as he, P as za, a as Fa, b as La, c as Ze, L as vt, r as Pe, s as ze, t as Fe, u as Le, v as J, T as _a, d as Ma, e as Qe, g as et } from "./switch-uDtPgQlQ.js";
17
- import { X as Oa } from "./x-4f5U2XwU.js";
18
- import { r as Ua, a as bt } from "./availability-Bp5Gfu1I.js";
19
- import { s as Wa } from "./stable-serialize-CfqXeiBP.js";
20
- import { S as ja } from "./selection-reducer-Dj_8xD69.js";
21
- import { a as Ba } from "./report-runtime-context-Dq8XyODK.js";
22
- import { r as ge, M as ue } from "./temporal-bucket-D7NBrrtL.js";
13
+ import "./index-CtoK1Lgu.js";
14
+ import "./pivot-result-lifecycle-pwq3b7LC.js";
15
+ import { H as Ia } from "./table-settings-CunhoDUi.js";
16
+ import { l as oe, B as V, N as ka, O as Aa, Q as Da, U as Ra, V as Pa, W as za, X as se, z as Q, Y as he, P as Fa, a as La, b as _a, c as Ze, L as vt, r as Pe, s as ze, t as Fe, u as Le, v as J, T as Ma, d as Oa, e as Qe, g as et } from "./switch-CEBOR4n7.js";
17
+ import { X as Ua } from "./x-4f5U2XwU.js";
18
+ import { r as ja, a as bt } from "./availability-Bp5Gfu1I.js";
19
+ import { S as Ba } from "./selection-reducer-CJzkTZio.js";
20
+ import { a as Wa } from "./report-runtime-context-hWiTCzFV.js";
21
+ import { r as ge, M as ue } from "./temporal-bucket-CQOSbv9-.js";
23
22
  function $a(e = []) {
24
23
  const a = Y(null), t = Y(null), n = Y(null), [r, i] = L(), s = $(() => {
25
24
  var m, x, I;
@@ -47,11 +46,11 @@ function Va({ filter: e }) {
47
46
  (y) => y.dashboardInputValues
48
47
  ), s = M((y) => y.selectedSheetId), o = mt(), f = q(() => {
49
48
  var F;
50
- const y = (F = xa(r).findFilterInput({
49
+ const y = (F = ba(r).findFilterInput({
51
50
  filterId: e.id
52
51
  })) == null ? void 0 : F.input;
53
52
  if (!y) return !1;
54
- const P = Ca({
53
+ const P = ga({
55
54
  dashboard: r,
56
55
  input: y,
57
56
  runtimeValues: i,
@@ -85,7 +84,7 @@ function Va({ filter: e }) {
85
84
  className: "min-w-0 flex-1",
86
85
  style: x !== void 0 ? { maxWidth: x } : void 0,
87
86
  children: /* @__PURE__ */ l(oe, { className: "my-1 block w-full text-sm", children: /* @__PURE__ */ l(
88
- Wt,
87
+ jt,
89
88
  {
90
89
  value: e.title || e.column,
91
90
  onSave: (y) => g(
@@ -107,7 +106,7 @@ function Va({ filter: e }) {
107
106
  ref: v,
108
107
  children: [
109
108
  a && /* @__PURE__ */ l(
110
- jt,
109
+ Bt,
111
110
  {
112
111
  filter: e,
113
112
  isEditing: a,
@@ -121,7 +120,7 @@ function Va({ filter: e }) {
121
120
  u({ filterId: e.id });
122
121
  },
123
122
  className: "text-muted-foreground hover:text-foreground",
124
- children: /* @__PURE__ */ l(Oa, { className: "size-3.5" })
123
+ children: /* @__PURE__ */ l(Ua, { className: "size-3.5" })
125
124
  }
126
125
  )
127
126
  ]
@@ -135,7 +134,7 @@ function Va({ filter: e }) {
135
134
  }
136
135
  function Ka() {
137
136
  const e = M((r) => r.dashboard), a = M((r) => r.selectedSheetId), t = M((r) => r.theme), n = q(
138
- () => Na(e, a, "dashboard").filter(({ input: r }) => Ea(r)).map(({ input: r }) => r.filter),
137
+ () => ya(e, a, "dashboard").filter(({ input: r }) => wa(r)).map(({ input: r }) => r.filter),
139
138
  [e, a]
140
139
  );
141
140
  return n.length ? /* @__PURE__ */ l(
@@ -151,7 +150,7 @@ function Ka() {
151
150
  className: "flex min-w-[250px] max-w-fit flex-col gap-1 p-2",
152
151
  children: [
153
152
  /* @__PURE__ */ l(Va, { filter: r }),
154
- /* @__PURE__ */ l(Bt, { filter: r })
153
+ /* @__PURE__ */ l(Wt, { filter: r })
155
154
  ]
156
155
  },
157
156
  r.id
@@ -165,7 +164,7 @@ function Ha() {
165
164
  (s) => s.isDashboardEditing
166
165
  ), n = (i = e.sheets) == null ? void 0 : i.find(
167
166
  (s) => s.id === a
168
- ), r = Ta(n);
167
+ ), r = Sa(n);
169
168
  return /* @__PURE__ */ l(
170
169
  "div",
171
170
  {
@@ -180,7 +179,7 @@ function Ha() {
180
179
  }
181
180
  const qa = /* @__PURE__ */ new Set(["iat", "exp", "nbf", "jti"]);
182
181
  function Ga(e) {
183
- return Wa(
182
+ return xa(
184
183
  Object.fromEntries(
185
184
  Object.entries(e ?? {}).filter(([a]) => !qa.has(a))
186
185
  )
@@ -189,7 +188,7 @@ function Ga(e) {
189
188
  function Xa(e) {
190
189
  var t;
191
190
  const a = e == null ? void 0 : e.config;
192
- return Ua({
191
+ return ja({
193
192
  features: ((t = a == null ? void 0 : a.projectFeatures) == null ? void 0 : t.features) ?? {},
194
193
  config: { enabled: bt(a).enabled },
195
194
  identity: {
@@ -210,7 +209,7 @@ function Ja({
210
209
  children: e,
211
210
  authToken: a
212
211
  }) {
213
- const t = Be(), n = q(
212
+ const t = We(), n = q(
214
213
  () => a === void 0 ? t.tokenProps : Za(a),
215
214
  [a, t.tokenProps]
216
215
  ), r = q(() => Ga(n), [n]), i = q(
@@ -227,7 +226,7 @@ function Ya({ children: e }) {
227
226
  function Za(e) {
228
227
  if (!(e != null && e.accessToken)) return {};
229
228
  try {
230
- return ba(e.accessToken);
229
+ return Ca(e.accessToken);
231
230
  } catch {
232
231
  return {};
233
232
  }
@@ -245,11 +244,11 @@ function Qa(e) {
245
244
  }
246
245
  function er(e, a, t) {
247
246
  if ((a ?? null) !== e.sheetId) return !1;
248
- const n = t ? Sa(t, e.cardId) : void 0;
247
+ const n = t ? Ia(t, e.cardId) : void 0;
249
248
  return !!n && n.sheet.id === e.sheetId;
250
249
  }
251
- const tr = Se(() => import("./assistant-chat-D7sWTypJ.js"));
252
- function yn() {
250
+ const tr = Se(() => import("./assistant-chat-BPXhulAx.js"));
251
+ function gn() {
253
252
  const e = Ht();
254
253
  return e.available ? /* @__PURE__ */ h(
255
254
  V,
@@ -340,21 +339,21 @@ function ir(e, a) {
340
339
  Xe(() => {
341
340
  s.current = a;
342
341
  });
343
- const o = r === a ? null : t, { refs: f, elements: u, floatingStyles: g, middlewareData: c, isPositioned: v } = Ia({
342
+ const o = r === a ? null : t, { refs: f, elements: u, floatingStyles: g, middlewareData: c, isPositioned: v } = ka({
344
343
  strategy: "absolute",
345
344
  placement: o ?? "right-start",
346
345
  middleware: [
347
- ka(fe),
348
- Aa({ padding: fe }),
349
- Da({
346
+ Aa(fe),
347
+ Da({ padding: fe }),
348
+ Ra({
350
349
  padding: fe,
351
350
  apply: ({ availableWidth: I, availableHeight: w, elements: y }) => {
352
351
  y.floating.style.setProperty("--assistant-beside-max-w", `${Math.max(0, I)}px`), y.floating.style.setProperty("--assistant-beside-max-h", `${Math.max(0, w)}px`);
353
352
  }
354
353
  }),
355
- Ra()
354
+ Pa()
356
355
  ],
357
- whileElementsMounted: (I, w, y) => Pa(I, w, () => {
356
+ whileElementsMounted: (I, w, y) => za(I, w, () => {
358
357
  const P = or(I, w);
359
358
  n(P), P === null && i(s.current), y();
360
359
  })
@@ -491,10 +490,10 @@ function cr({ instance: e, side: a, width: t }) {
491
490
  }
492
491
  );
493
492
  }
494
- const ur = Se(() => import("./dashboard-controls-Cq05n3e0.js")), mr = Se(
495
- () => import("./edit-dashboard-visual-JPtNfJRb.js")
496
- ), fr = Se(() => import("./dashboard-json-CoYRPqxx.js"));
497
- function wn({
493
+ const ur = Se(() => import("./dashboard-controls-bxPrlSyp.js")), mr = Se(
494
+ () => import("./edit-dashboard-visual-DYYYDjY6.js")
495
+ ), fr = Se(() => import("./dashboard-json-BrjxIiRt.js"));
496
+ function yn({
498
497
  showControls: e = !1,
499
498
  showFooter: a = !0,
500
499
  ...t
@@ -506,7 +505,7 @@ function wn({
506
505
  /* @__PURE__ */ l(ta, { componentType: "surfboard", componentId: t.id }),
507
506
  /* @__PURE__ */ h(aa, { appearance: i, children: [
508
507
  /* @__PURE__ */ l(
509
- va,
508
+ ra,
510
509
  {
511
510
  toastOptions: {
512
511
  classNames: {
@@ -520,12 +519,12 @@ function wn({
520
519
  }
521
520
  }
522
521
  ),
523
- /* @__PURE__ */ h(ra, { preferences: s, children: [
522
+ /* @__PURE__ */ h(na, { preferences: s, children: [
524
523
  r && /* @__PURE__ */ l(ye, { fallback: null, children: /* @__PURE__ */ l(fr, {}) }),
525
- /* @__PURE__ */ l(na, { children: /* @__PURE__ */ l(Ya, { children: /* @__PURE__ */ h("main", { className: "relative flex h-full w-full flex-col overflow-hidden", children: [
524
+ /* @__PURE__ */ l(la, { children: /* @__PURE__ */ l(Ya, { children: /* @__PURE__ */ h("main", { className: "relative flex h-full w-full flex-col overflow-hidden", children: [
526
525
  e && /* @__PURE__ */ l(ye, { fallback: null, children: /* @__PURE__ */ l(ur, {}) }),
527
526
  /* @__PURE__ */ h("div", { className: "relative flex grow overflow-hidden", children: [
528
- /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-1", children: /* @__PURE__ */ h(la, { ...t, type: "dashboard", children: [
527
+ /* @__PURE__ */ l("div", { className: "flex min-w-0 flex-1", children: /* @__PURE__ */ h(sa, { ...t, type: "dashboard", children: [
529
528
  n && /* @__PURE__ */ l(ye, { fallback: null, children: /* @__PURE__ */ l(mr, {}) }),
530
529
  /* @__PURE__ */ l(_t, { mode: n ? "hidden" : "visible", children: /* @__PURE__ */ l(Ha, {}) })
531
530
  ] }) }),
@@ -564,20 +563,20 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
564
563
  E(6, ae);
565
564
  }, []);
566
565
  let b = p.useMemo(() => ({ subscribe: (d) => (s.current.add(d), () => s.current.delete(d)), snapshot: () => t.current, setState: (d, T, A) => {
567
- var S, D, z, B;
566
+ var S, D, z, W;
568
567
  if (!Object.is(t.current[d], T)) {
569
568
  if (t.current[d] = T, d === "search") K(), C(), E(1, G);
570
569
  else if (d === "value") {
571
570
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
572
- let W = document.getElementById(U);
573
- W ? W.focus() : (S = document.getElementById(P)) == null || S.focus();
571
+ let j = document.getElementById(U);
572
+ j ? j.focus() : (S = document.getElementById(P)) == null || S.focus();
574
573
  }
575
574
  if (E(7, () => {
576
- var W;
577
- t.current.selectedItemId = (W = X()) == null ? void 0 : W.id, b.emit();
575
+ var j;
576
+ t.current.selectedItemId = (j = X()) == null ? void 0 : j.id, b.emit();
578
577
  }), A || E(5, ae), ((D = o.current) == null ? void 0 : D.value) !== void 0) {
579
- let W = T ?? "";
580
- (B = (z = o.current).onValueChange) == null || B.call(z, W);
578
+ let j = T ?? "";
579
+ (W = (z = o.current).onValueChange) == null || W.call(z, j);
581
580
  return;
582
581
  }
583
582
  }
@@ -611,16 +610,16 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
611
610
  let d = t.current.filtered.items, T = [];
612
611
  t.current.filtered.groups.forEach((S) => {
613
612
  let D = r.current.get(S), z = 0;
614
- D.forEach((B) => {
615
- let W = d.get(B);
616
- z = Math.max(W, z);
613
+ D.forEach((W) => {
614
+ let j = d.get(W);
615
+ z = Math.max(j, z);
617
616
  }), T.push([S, z]);
618
617
  });
619
618
  let A = _.current;
620
619
  k().sort((S, D) => {
621
- var z, B;
622
- let W = S.getAttribute("id"), ve = D.getAttribute("id");
623
- return ((z = d.get(ve)) != null ? z : 0) - ((B = d.get(W)) != null ? B : 0);
620
+ var z, W;
621
+ let j = S.getAttribute("id"), ve = D.getAttribute("id");
622
+ return ((z = d.get(ve)) != null ? z : 0) - ((W = d.get(j)) != null ? W : 0);
624
623
  }).forEach((S) => {
625
624
  let D = S.closest(Ie);
626
625
  D ? D.appendChild(S.parentElement === D ? S : S.closest(`${Ie} > *`)) : A.appendChild(S.parentElement === A ? S : S.closest(`${Ie} > *`));
@@ -643,10 +642,10 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
643
642
  t.current.filtered.groups = /* @__PURE__ */ new Set();
644
643
  let D = 0;
645
644
  for (let z of n.current) {
646
- let B = (T = (d = i.current.get(z)) == null ? void 0 : d.value) != null ? T : "", W = (S = (A = i.current.get(z)) == null ? void 0 : A.keywords) != null ? S : [], ve = R(B, W);
645
+ let W = (T = (d = i.current.get(z)) == null ? void 0 : d.value) != null ? T : "", j = (S = (A = i.current.get(z)) == null ? void 0 : A.keywords) != null ? S : [], ve = R(W, j);
647
646
  t.current.filtered.items.set(z, ve), ve > 0 && D++;
648
647
  }
649
- for (let [z, B] of r.current) for (let W of B) if (t.current.filtered.items.get(W) > 0) {
648
+ for (let [z, W] of r.current) for (let j of W) if (t.current.filtered.items.get(j) > 0) {
650
649
  t.current.filtered.groups.add(z);
651
650
  break;
652
651
  }
@@ -671,7 +670,7 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
671
670
  }
672
671
  function Ce(d) {
673
672
  var T;
674
- let A = X(), S = k(), D = S.findIndex((B) => B === A), z = S[D + d];
673
+ let A = X(), S = k(), D = S.findIndex((W) => W === A), z = S[D + d];
675
674
  (T = o.current) != null && T.loop && (z = D + d < 0 ? S[S.length - 1] : D + d === S.length ? S[0] : S[D + d]), z && b.setState("value", z.getAttribute(re));
676
675
  }
677
676
  function Ke(d) {
@@ -778,11 +777,11 @@ var me = '[cmdk-group=""]', Ie = '[cmdk-group-items=""]', Cr = '[cmdk-group-head
778
777
  }, []), p.createElement(Q.div, { ref: he(i, a), ...r, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": o, "aria-label": n, id: f.listId }, xe(e, (u) => p.createElement("div", { ref: he(s, f.listInnerRef), "cmdk-list-sizer": "" }, u)));
779
778
  }), Dr = p.forwardRef((e, a) => {
780
779
  let { open: t, onOpenChange: n, overlayClassName: r, contentClassName: i, container: s, ...o } = e;
781
- return p.createElement(sa, { open: t, onOpenChange: n }, p.createElement(ia, { container: s }, p.createElement(oa, { "cmdk-overlay": "", className: r }), p.createElement(da, { "aria-label": e.label, "cmdk-dialog": "", className: i }, p.createElement(Nt, { ref: a, ...o }))));
780
+ return p.createElement(ia, { open: t, onOpenChange: n }, p.createElement(oa, { container: s }, p.createElement(da, { "cmdk-overlay": "", className: r }), p.createElement(ca, { "aria-label": e.label, "cmdk-dialog": "", className: i }, p.createElement(Nt, { ref: a, ...o }))));
782
781
  }), Rr = p.forwardRef((e, a) => Z((t) => t.filtered.count === 0) ? p.createElement(Q.div, { ref: a, ...e, "cmdk-empty": "", role: "presentation" }) : null), Pr = p.forwardRef((e, a) => {
783
782
  let { progress: t, children: n, label: r = "Loading...", ...i } = e;
784
783
  return p.createElement(Q.div, { ref: a, ...i, "cmdk-loading": "", role: "progressbar", "aria-valuenow": t, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": r }, xe(e, (s) => p.createElement("div", { "aria-hidden": !0 }, s)));
785
- }), j = Object.assign(Nt, { List: Ar, Item: Er, Input: kr, Group: Tr, Separator: Ir, Dialog: Dr, Empty: Rr, Loading: Pr });
784
+ }), B = Object.assign(Nt, { List: Ar, Item: Er, Input: kr, Group: Tr, Separator: Ir, Dialog: Dr, Empty: Rr, Loading: Pr });
786
785
  function zr(e, a) {
787
786
  let t = e.nextElementSibling;
788
787
  for (; t; ) {
@@ -843,7 +842,7 @@ function xe({ asChild: e, children: a }, t) {
843
842
  }
844
843
  var Mr = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
845
844
  const It = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
846
- j,
845
+ B,
847
846
  {
848
847
  ref: t,
849
848
  className: O(
@@ -853,11 +852,11 @@ const It = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
853
852
  ...a
854
853
  }
855
854
  ));
856
- It.displayName = j.displayName;
855
+ It.displayName = B.displayName;
857
856
  const kt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ h("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
858
- /* @__PURE__ */ l(ja, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
857
+ /* @__PURE__ */ l(Ba, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
859
858
  /* @__PURE__ */ l(
860
- j.Input,
859
+ B.Input,
861
860
  {
862
861
  ref: t,
863
862
  className: O(
@@ -868,27 +867,27 @@ const kt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ h("div",
868
867
  }
869
868
  )
870
869
  ] }));
871
- kt.displayName = j.Input.displayName;
870
+ kt.displayName = B.Input.displayName;
872
871
  const At = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
873
- j.List,
872
+ B.List,
874
873
  {
875
874
  ref: t,
876
875
  className: O("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
877
876
  ...a
878
877
  }
879
878
  ));
880
- At.displayName = j.List.displayName;
879
+ At.displayName = B.List.displayName;
881
880
  const Dt = p.forwardRef((e, a) => /* @__PURE__ */ l(
882
- j.Empty,
881
+ B.Empty,
883
882
  {
884
883
  ref: a,
885
884
  className: "py-6 text-center text-sm",
886
885
  ...e
887
886
  }
888
887
  ));
889
- Dt.displayName = j.Empty.displayName;
888
+ Dt.displayName = B.Empty.displayName;
890
889
  const Oe = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
891
- j.Group,
890
+ B.Group,
892
891
  {
893
892
  ref: t,
894
893
  className: O(
@@ -898,18 +897,18 @@ const Oe = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
898
897
  ...a
899
898
  }
900
899
  ));
901
- Oe.displayName = j.Group.displayName;
900
+ Oe.displayName = B.Group.displayName;
902
901
  const Rt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
903
- j.Separator,
902
+ B.Separator,
904
903
  {
905
904
  ref: t,
906
905
  className: O("-mx-1 h-px bg-border", e),
907
906
  ...a
908
907
  }
909
908
  ));
910
- Rt.displayName = j.Separator.displayName;
909
+ Rt.displayName = B.Separator.displayName;
911
910
  const Ue = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
912
- j.Item,
911
+ B.Item,
913
912
  {
914
913
  ref: t,
915
914
  className: O(
@@ -919,16 +918,16 @@ const Ue = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l(
919
918
  ...a
920
919
  }
921
920
  ));
922
- Ue.displayName = j.Item.displayName;
921
+ Ue.displayName = B.Item.displayName;
923
922
  function Or(e = {}) {
924
- const { authToken: a, tokenProps: t } = Be(), n = M(
923
+ const { authToken: a, tokenProps: t } = We(), n = M(
925
924
  (E) => E.actions.applyResolvedCalendarPreferences
926
925
  ), r = e.enabled ?? !0, i = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, [o, f] = L(!1), [u, g] = L(!1), [c, v] = L(!1), [m, x] = L(null), [I, w] = L(null), y = Y(i);
927
926
  y.current = i, ee(() => {
928
927
  w(null), x(null), f(!1), g(!1), v(!1);
929
928
  }, [i]);
930
929
  const P = $(async (E) => {
931
- const b = Ba(await E.json());
930
+ const b = Wa(await E.json());
932
931
  if (!b.ok)
933
932
  throw new Error("Calendar preferences response is invalid");
934
933
  return b.value;
@@ -1065,7 +1064,7 @@ function Ur() {
1065
1064
  }
1066
1065
  return we.map((e) => e.value);
1067
1066
  }
1068
- function Wr(e) {
1067
+ function jr(e) {
1069
1068
  if (!e) return "default";
1070
1069
  if (e.tz !== e.weekStart) return "inherited";
1071
1070
  switch (e.tz) {
@@ -1085,11 +1084,11 @@ function ot(e) {
1085
1084
  const a = we.find((t) => t.value === e);
1086
1085
  return a ? a.label : e;
1087
1086
  }
1088
- function jr(e) {
1087
+ function Br(e) {
1089
1088
  const a = Pt.find((t) => t.value === e);
1090
1089
  return a ? a.label : String(e);
1091
1090
  }
1092
- function Br({
1091
+ function Wr({
1093
1092
  active: e,
1094
1093
  onClose: a
1095
1094
  }) {
@@ -1109,7 +1108,7 @@ function Br({
1109
1108
  (k) => !we.some((de) => de.value === k)
1110
1109
  ),
1111
1110
  [_]
1112
- ), b = q(() => ot(I), [I]), N = t != null && t.inherited ? ot(t.inherited.tz) : "UTC", R = t != null && t.inherited ? jr(t.inherited.weekStart) : "Monday", C = Wr(
1111
+ ), b = q(() => ot(I), [I]), N = t != null && t.inherited ? ot(t.inherited.tz) : "UTC", R = t != null && t.inherited ? Br(t.inherited.weekStart) : "Monday", C = jr(
1113
1112
  t == null ? void 0 : t.inheritedSources
1114
1113
  );
1115
1114
  Lt.useEffect(() => {
@@ -1221,13 +1220,13 @@ function Br({
1221
1220
  /* @__PURE__ */ h("div", { className: "space-y-1.5", children: [
1222
1221
  /* @__PURE__ */ l(oe, { className: it, children: "Timezone" }),
1223
1222
  /* @__PURE__ */ h(
1224
- za,
1223
+ Fa,
1225
1224
  {
1226
1225
  open: F,
1227
1226
  onOpenChange: U,
1228
1227
  modal: !0,
1229
1228
  children: [
1230
- /* @__PURE__ */ l(Fa, { asChild: !0, children: /* @__PURE__ */ h(
1229
+ /* @__PURE__ */ l(La, { asChild: !0, children: /* @__PURE__ */ h(
1231
1230
  V,
1232
1231
  {
1233
1232
  variant: "outline",
@@ -1238,12 +1237,12 @@ function Br({
1238
1237
  disabled: c,
1239
1238
  children: [
1240
1239
  /* @__PURE__ */ l("span", { className: "truncate", children: b }),
1241
- /* @__PURE__ */ l(ca, { className: "ml-2 h-3.5 w-3.5 shrink-0 opacity-50" })
1240
+ /* @__PURE__ */ l(ua, { className: "ml-2 h-3.5 w-3.5 shrink-0 opacity-50" })
1242
1241
  ]
1243
1242
  }
1244
1243
  ) }),
1245
1244
  /* @__PURE__ */ l(
1246
- La,
1245
+ _a,
1247
1246
  {
1248
1247
  className: "z-50 w-[--radix-popover-trigger-width] p-0",
1249
1248
  align: "start",
@@ -1364,7 +1363,7 @@ function Br({
1364
1363
  ] });
1365
1364
  }
1366
1365
  function $r(e = {}) {
1367
- const { authToken: a, tokenProps: t } = Be(), n = M(
1366
+ const { authToken: a, tokenProps: t } = We(), n = M(
1368
1367
  (b) => b.actions.applyResolvedValueFormatPreferences
1369
1368
  ), r = e.enabled ?? !0, i = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, o = Y(i);
1370
1369
  o.current = i;
@@ -1373,7 +1372,7 @@ function $r(e = {}) {
1373
1372
  u(null), y(null), c(!1), m(!1), I(!1);
1374
1373
  }, [i]);
1375
1374
  const P = $(async (b) => {
1376
- const N = ga(await b.json());
1375
+ const N = Na(await b.json());
1377
1376
  if (!N.ok)
1378
1377
  throw new Error("Value format preferences response is invalid");
1379
1378
  return N.value;
@@ -1452,7 +1451,7 @@ function $r(e = {}) {
1452
1451
  refetch: U
1453
1452
  };
1454
1453
  }
1455
- const We = [
1454
+ const je = [
1456
1455
  { value: "en-US", label: "English (United States)" },
1457
1456
  { value: "en-GB", label: "English (United Kingdom)" },
1458
1457
  { value: "de-DE", label: "German (Germany)" },
@@ -1476,14 +1475,14 @@ const We = [
1476
1475
  "INR",
1477
1476
  "BRL",
1478
1477
  "KWD"
1479
- ]), Vr = ya(), Kr = Vr.filter(
1478
+ ]), Vr = Ea(), Kr = Vr.filter(
1480
1479
  (e) => !zt.has(e)
1481
1480
  ), Ft = [
1482
1481
  { value: "short", label: "Short" },
1483
1482
  { value: "medium", label: "Medium" },
1484
1483
  { value: "long", label: "Long" }
1485
1484
  ], dt = "2026-07-31", ke = "2026-07-31T14:30:45";
1486
- function je(e) {
1485
+ function Be(e) {
1487
1486
  switch (e) {
1488
1487
  case "viewer_user":
1489
1488
  return "user";
@@ -1506,7 +1505,7 @@ function Ae(e) {
1506
1505
  return ((a = Ft.find((t) => t.value === e)) == null ? void 0 : a.label) ?? e;
1507
1506
  }
1508
1507
  function Hr(e) {
1509
- const a = We.find((t) => t.value === e);
1508
+ const a = je.find((t) => t.value === e);
1510
1509
  return a ? `${a.label} — ${a.value}` : e;
1511
1510
  }
1512
1511
  function De(e) {
@@ -1541,7 +1540,7 @@ function Re({
1541
1540
  /* @__PURE__ */ l(J, { 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: [
1542
1541
  /* @__PURE__ */ h("span", { children: [
1543
1542
  "Inherited from ",
1544
- je(r),
1543
+ Be(r),
1545
1544
  " ·",
1546
1545
  " ",
1547
1546
  Ae(n)
@@ -1663,15 +1662,15 @@ function qr({
1663
1662
  /* @__PURE__ */ h(Le, { children: [
1664
1663
  /* @__PURE__ */ h(J, { value: "inherit", children: [
1665
1664
  "Inherited from ",
1666
- je(t.locale),
1665
+ Be(t.locale),
1667
1666
  " ·",
1668
1667
  " ",
1669
1668
  a.locale
1670
1669
  ] }),
1671
- e.locale && !We.some(
1670
+ e.locale && !je.some(
1672
1671
  (C) => C.value === e.locale
1673
1672
  ) && /* @__PURE__ */ l(J, { value: e.locale, children: e.locale }),
1674
- We.map((C) => /* @__PURE__ */ h(J, { value: C.value, children: [
1673
+ je.map((C) => /* @__PURE__ */ h(J, { value: C.value, children: [
1675
1674
  C.label,
1676
1675
  " — ",
1677
1676
  C.value
@@ -1752,7 +1751,7 @@ function qr({
1752
1751
  /* @__PURE__ */ h(Le, { children: [
1753
1752
  /* @__PURE__ */ h(J, { value: "inherit", children: [
1754
1753
  "Inherited from ",
1755
- je(t.defaultCurrency),
1754
+ Be(t.defaultCurrency),
1756
1755
  " ·",
1757
1756
  " ",
1758
1757
  a.defaultCurrency
@@ -1861,7 +1860,7 @@ function Jr({
1861
1860
  var u, g;
1862
1861
  const [r, i] = L(
1863
1862
  () => Gr(e.stored)
1864
- ), s = (r.locale === void 0 || pt(r.locale) !== void 0) && (r.defaultCurrency === void 0 || wa(r.defaultCurrency) !== void 0) && (r.dateStyle === void 0 || ["short", "medium", "long"].includes(r.dateStyle)) && (((u = r.dateTime) == null ? void 0 : u.dateStyle) === void 0 || ["short", "medium", "long"].includes(r.dateTime.dateStyle)) && (((g = r.dateTime) == null ? void 0 : g.timeStyle) === void 0 || ["short", "medium", "long"].includes(r.dateTime.timeStyle)), o = async () => {
1863
+ ), s = (r.locale === void 0 || pt(r.locale) !== void 0) && (r.defaultCurrency === void 0 || Ta(r.defaultCurrency) !== void 0) && (r.dateStyle === void 0 || ["short", "medium", "long"].includes(r.dateStyle)) && (((u = r.dateTime) == null ? void 0 : u.dateStyle) === void 0 || ["short", "medium", "long"].includes(r.dateTime.dateStyle)) && (((g = r.dateTime) == null ? void 0 : g.timeStyle) === void 0 || ["short", "medium", "long"].includes(r.dateTime.timeStyle)), o = async () => {
1865
1864
  const c = {
1866
1865
  ...r.locale !== void 0 ? { locale: r.locale } : {},
1867
1866
  ...r.dateStyle !== void 0 ? { dateStyle: r.dateStyle } : {},
@@ -1930,18 +1929,18 @@ function Jr({
1930
1929
  ] })
1931
1930
  ] });
1932
1931
  }
1933
- function Sn({
1932
+ function wn({
1934
1933
  open: e,
1935
1934
  onOpenChange: a
1936
1935
  }) {
1937
1936
  const [t, n] = L("display"), r = () => a(!1);
1938
- return /* @__PURE__ */ l(ua, { open: e, onOpenChange: a, children: /* @__PURE__ */ h(ma, { className: "rounded-control border-border/60 sm:max-w-[440px] sm:rounded-control", children: [
1939
- /* @__PURE__ */ h(fa, { children: [
1940
- /* @__PURE__ */ l(ha, { className: "text-[15px]", children: "Report preferences" }),
1941
- /* @__PURE__ */ l(pa, { className: "text-[13px] leading-5", children: "Set how values and Calendar periods appear for you." })
1937
+ return /* @__PURE__ */ l(ma, { open: e, onOpenChange: a, children: /* @__PURE__ */ h(fa, { className: "rounded-control border-border/60 sm:max-w-[440px] sm:rounded-control", children: [
1938
+ /* @__PURE__ */ h(ha, { children: [
1939
+ /* @__PURE__ */ l(pa, { className: "text-[15px]", children: "Report preferences" }),
1940
+ /* @__PURE__ */ l(va, { className: "text-[13px] leading-5", children: "Set how values and Calendar periods appear for you." })
1942
1941
  ] }),
1943
- /* @__PURE__ */ h(_a, { value: t, onValueChange: n, children: [
1944
- /* @__PURE__ */ h(Ma, { variant: "underline", className: "w-full justify-start", children: [
1942
+ /* @__PURE__ */ h(Ma, { value: t, onValueChange: n, children: [
1943
+ /* @__PURE__ */ h(Oa, { variant: "underline", className: "w-full justify-start", children: [
1945
1944
  /* @__PURE__ */ l(Qe, { value: "display", children: "Display formats" }),
1946
1945
  /* @__PURE__ */ l(Qe, { value: "calendar", children: "Calendar" })
1947
1946
  ] }),
@@ -1953,7 +1952,7 @@ function Sn({
1953
1952
  }
1954
1953
  ) }),
1955
1954
  /* @__PURE__ */ l(et, { value: "calendar", children: /* @__PURE__ */ l(
1956
- Br,
1955
+ Wr,
1957
1956
  {
1958
1957
  active: e && t === "calendar",
1959
1958
  onClose: r
@@ -1965,8 +1964,8 @@ function Sn({
1965
1964
  export {
1966
1965
  Ja as A,
1967
1966
  It as C,
1968
- wn as D,
1969
- Sn as R,
1967
+ yn as D,
1968
+ wn as R,
1970
1969
  qr as a,
1971
1970
  kt as b,
1972
1971
  At as c,
@@ -1974,5 +1973,5 @@ export {
1974
1973
  Oe as e,
1975
1974
  Ue as f,
1976
1975
  lr as g,
1977
- yn as h
1976
+ gn as h
1978
1977
  };