react-semaphor 0.1.569 → 0.1.571

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 (112) hide show
  1. package/dist/appearance/index.js +6 -3
  2. package/dist/appearance-runtime/index.js +1 -1
  3. package/dist/assistant-context/index.js +1 -1
  4. package/dist/brand-studio/index.js +570 -432
  5. package/dist/briefings/index.js +2 -2
  6. package/dist/chunks/appearance-context-BwBp25ZG.js +162 -0
  7. package/dist/chunks/appearance-runtime-provider-BRHYELkC.js +80 -0
  8. package/dist/chunks/assistant-chat-SkCraw2C.js +5940 -0
  9. package/dist/chunks/{bookmark-impact-Czg6FGt5.js → bookmark-impact-DCYD-6Fr.js} +1 -1
  10. package/dist/chunks/brand-BoUV0iHF.js +54 -0
  11. package/dist/chunks/{card-filter-builder-BS982X7x.js → card-filter-builder-D-aSYpyr.js} +72 -72
  12. package/dist/chunks/{comparison-window-caption-lLTgzOkM.js → comparison-window-caption-PtcDWvkN.js} +2 -2
  13. package/dist/chunks/{dashboard-BiYSbxZv.js → dashboard-B_w_ekUz.js} +1 -1
  14. package/dist/chunks/{dashboard-briefing-launcher-Bdj7luOr.js → dashboard-briefing-launcher-_g1m2tJ3.js} +183 -182
  15. package/dist/chunks/{dashboard-controls-TViDsnb8.js → dashboard-controls-CY0gbcCt.js} +285 -280
  16. package/dist/chunks/{dashboard-json-Dg9dQd9U.js → dashboard-json-DsM79yem.js} +3 -3
  17. package/dist/chunks/{dates-BsPrWZIP.js → dates-RSEzJ9N7.js} +13 -12
  18. package/dist/chunks/edit-9df1zOWe.js +226 -0
  19. package/dist/chunks/{edit-dashboard-visual-C6hoIeEJ.js → edit-dashboard-visual-cX0FM-4i.js} +2256 -2268
  20. package/dist/chunks/{filter-reach-copy-hcQ4os0u.js → filter-reach-copy-thzt25Rc.js} +1303 -1226
  21. package/dist/chunks/{filter-value-text-CVxEEDVl.js → filter-value-text-DvvSNlho.js} +1 -1
  22. package/dist/chunks/index-BVKzKl5d.js +90 -0
  23. package/dist/chunks/{index-RNaTnE3m.js → index-CV_Kzou0.js} +233 -223
  24. package/dist/chunks/{index-G4q89J6O.js → index-y3HUzRNk.js} +61 -60
  25. package/dist/chunks/{layout-grid-BIcoFfdS.js → layout-grid-8rR-LPTk.js} +1 -1
  26. package/dist/chunks/{list-filter-C6tYkHyv.js → list-filter-C1-uTgjR.js} +1 -1
  27. package/dist/chunks/paintbrush-aR17Z3C9.js +27 -0
  28. package/dist/chunks/{palette-NjHOE_6B.js → palette-a5FCZKFI.js} +1 -1
  29. package/dist/chunks/{_commonjsHelpers-Bid1ZNYj.js → pickers-DkqmtnTL.js} +179 -166
  30. package/dist/chunks/{pivot-result-contract-expectations-DkmueDTW.js → pivot-result-contract-expectations-C-HnUKYe.js} +1 -1
  31. package/dist/chunks/{report-preferences-dialog-Xc8_GFju.js → report-preferences-dialog-B_GXs91t.js} +79 -79
  32. package/dist/chunks/{resolve-dashboard-input-context-KqvcLcTM.js → resolve-dashboard-input-context-Lkbwycwe.js} +5179 -5391
  33. package/dist/chunks/resolver-DG_tfEpt.js +156 -0
  34. package/dist/chunks/{save-C6VmEJTA.js → save-D985VvYp.js} +1 -1
  35. package/dist/chunks/{saved-dashboard-context-BeXXyoD4.js → saved-dashboard-context-DC_TEd6y.js} +3 -3
  36. package/dist/chunks/schema-C9NPiIru.js +2568 -0
  37. package/dist/chunks/{semaphor-ready-indicator-BNkaANsG.js → semaphor-ready-indicator-CBQamwQY.js} +33931 -34031
  38. package/dist/chunks/{shelf-drop-preview-context-C_issPBA.js → shelf-drop-preview-context-Bkjf0XXw.js} +50 -50
  39. package/dist/chunks/{stored-dashboard-B6_StAty.js → stored-dashboard-C0hekXiI.js} +189 -188
  40. package/dist/chunks/{code-editor-BsxHzm9u.js → style-sheet-parts-C7qGZuH1.js} +2400 -2036
  41. package/dist/chunks/{table-export-sheet-BWP2joD1.js → table-export-sheet-CP8zSOhj.js} +1 -1
  42. package/dist/chunks/{temporal-input-presentation-scSWQXAB.js → temporal-input-presentation-CqbJjIuu.js} +14 -14
  43. package/dist/chunks/{upload-BRW4Mwrd.js → upload-CiGNKJ_0.js} +1 -1
  44. package/dist/chunks/{variable-draft-BQ3OMjvy.js → variable-draft-DvglU8yj.js} +2 -2
  45. package/dist/dashboard/index.js +1 -1
  46. package/dist/dashboard-authoring/index.js +2064 -1946
  47. package/dist/format-utils/index.js +8 -8
  48. package/dist/index.js +332 -335
  49. package/dist/layouts/index.js +1 -1
  50. package/dist/style.css +1 -1
  51. package/dist/surfboard/index.js +1 -1
  52. package/dist/types/appearance/index.d.ts +1 -0
  53. package/dist/types/brand-studio/brand-studio-draft.d.ts +7 -0
  54. package/dist/types/brand-studio/index.d.ts +1 -1
  55. package/dist/types/components/briefings/briefing-author/run-model.d.ts +1 -2
  56. package/dist/types/components/providers/appearance-runtime-provider.d.ts +4 -1
  57. package/dist/types/components/sharing-and-management/hooks/use-resource-management.d.ts +0 -2
  58. package/dist/types/components/sharing-and-management/utils/types.d.ts +0 -72
  59. package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +0 -1
  60. package/dist/types/components/visual/data-table/types/data-table.d.ts +0 -9
  61. package/dist/types/components/visual/data-table/utils/pagination-utils.d.ts +0 -19
  62. package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -1
  63. package/dist/types/lib/appearance/aliases.d.ts +42 -0
  64. package/dist/types/lib/appearance/compiler.d.ts +6 -0
  65. package/dist/types/lib/appearance/defaults.d.ts +6 -0
  66. package/dist/types/lib/appearance/index.d.ts +2 -0
  67. package/dist/types/lib/appearance/normalize-organization.d.ts +17 -0
  68. package/dist/types/lib/appearance/resolver.d.ts +2 -2
  69. package/dist/types/lib/appearance/types.d.ts +38 -1
  70. package/dist/types/lib/charts/types.d.ts +6 -2
  71. package/dist/types/lib/dashboard/semantic-dataset-references.d.ts +0 -1
  72. package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +0 -2
  73. package/dist/types/lib/dashboard-variables/types.d.ts +1 -6
  74. package/dist/types/lib/download-pdf.d.ts +0 -1
  75. package/dist/types/lib/hooks/use-dashboard.d.ts +3 -4
  76. package/dist/types/lib/stores/dashboard-store.d.ts +15 -6
  77. package/dist/types/lib/stores/editor-store.d.ts +0 -1
  78. package/dist/types/lib/stores/table-actions.d.ts +0 -1
  79. package/dist/types/lib/table-formatting/table-formatting-css.d.ts +0 -5
  80. package/dist/types/lib/types/common-types.d.ts +3 -52
  81. package/dist/types/lib/types/summary-types.d.ts +0 -5
  82. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +4 -4
  83. package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +10 -10
  84. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +68 -68
  85. package/dist/types/shared/assistant-protocol/context.d.ts +18 -18
  86. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +212 -42
  87. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +4 -1
  88. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +8 -0
  89. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +30 -30
  90. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +4 -4
  91. package/dist/types/shared/dashboard-authoring/dashboard-style/bounds.d.ts +17 -0
  92. package/dist/types/shared/dashboard-authoring/dashboard-style/brand.d.ts +20 -0
  93. package/dist/types/shared/dashboard-authoring/dashboard-style/edit-words.d.ts +7 -0
  94. package/dist/types/shared/dashboard-authoring/dashboard-style/edit.d.ts +19 -0
  95. package/dist/types/shared/dashboard-authoring/dashboard-style/index.d.ts +15 -0
  96. package/dist/types/shared/dashboard-authoring/dashboard-style/layers.d.ts +20 -0
  97. package/dist/types/shared/dashboard-authoring/dashboard-style/legacy.d.ts +21 -0
  98. package/dist/types/shared/dashboard-authoring/dashboard-style/parse.d.ts +18 -0
  99. package/dist/types/shared/dashboard-authoring/dashboard-style/pickers.d.ts +12 -0
  100. package/dist/types/shared/dashboard-authoring/dashboard-style/types.d.ts +122 -0
  101. package/dist/types/shared/dashboard-authoring/dashboard-style/view.d.ts +10 -0
  102. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  103. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +11 -0
  104. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +19 -0
  105. package/dist/types/shared/format-utils/matrix-continuation.d.ts +7 -7
  106. package/package.json +6 -3
  107. package/dist/chunks/appearance-context-DEYtWinQ.js +0 -126
  108. package/dist/chunks/appearance-runtime-provider-B-M8gwlZ.js +0 -81
  109. package/dist/chunks/assistant-chat-Dzf2Mbph.js +0 -8847
  110. package/dist/chunks/color-CJvdlFM_.js +0 -2162
  111. package/dist/chunks/index-CLIro-EG.js +0 -425
  112. package/dist/types/components/sharing-and-management/utils/group-types.d.ts +0 -105
@@ -1,33 +1,34 @@
1
- import { jsx as e, jsxs as o, Fragment as T } from "react/jsx-runtime";
2
- import { bz as Br, u as k, bA as Fr, bB as $r, bC as ot, bD as Gr, bE as Vr, bF as Hr, bG as jr, bH as qr, bI as zr, aU as Y, aR as xe, bJ as ve, bt as C, bK as Kr, bu as $t, bv as Gt, bx as tt, by as rt, bL as Vt, bM as it, bn as Qr, bN as ne, bO as Wr, bP as Yr, bQ as Ht, bR as Jr, bS as jt, bT as Xr, bw as Zr, bU as ea, bV as I, bW as ta, bX as ra, bY as aa, aC as na, bZ as sa, bf as oa, b_ as ia, bg as da, j as ca, W as la, a6 as Et, i as Be, p as ua, k as Xe, b$ as ma, c0 as ha, Q as pa, c1 as fa, s as ga, c2 as ba, c3 as xa, c4 as va, c5 as ya, c6 as At, c7 as It, c8 as Mt, c9 as wa, bh as Na, ca as Sa, cb as Da, cc as ka, cd as ae, ce as he, cf as Ca, cg as Ea, ch as Aa, ci as Lt, o as Ia, cj as Ma, ck as La, cl as Oa, cm as Pa, cn as _a, co as Ra, cp as Ta, cq as Ua, cr as Ot } from "./semaphor-ready-indicator-BNkaANsG.js";
3
- import { c as ye, B as V, a0 as Ba, a1 as Fa, a2 as at, L as $e, X as qt, n as $a, t as Ga, u as Va, v as Ha, w as ja, x as qa, P as za, a as Ka, d as Qa, z as Wa, o as Ya, p as Ja, q as Xa, I as Za, r as en, e as zt, b as Pt } from "./code-editor-BsxHzm9u.js";
1
+ import { jsx as e, jsxs as o, Fragment as R } from "react/jsx-runtime";
2
+ import { by as Fr, u as k, bz as $r, bA as Gr, bB as ot, bC as Vr, bD as Hr, bE as jr, bF as qr, bG as zr, bH as Kr, aT as Y, aQ as xe, bI as ve, bs as C, bJ as Qr, bt as $t, bu as Gt, bw as tt, bx as rt, bK as Vt, bL as it, bm as Wr, bM as ne, bN as Yr, bO as Jr, bP as Ht, bQ as Xr, bR as jt, bS as Zr, bv as ea, bT as ta, bU as A, bV as ra, bW as aa, bX as na, aB as sa, bY as oa, be as ia, bZ as da, bf as ca, i as la, T as ua, a5 as Et, h as Be, o as ma, j as Xe, b_ as ha, b$ as pa, P as fa, c0 as ga, s as ba, c1 as xa, c2 as va, c3 as ya, c4 as wa, c5 as At, c6 as It, c7 as Mt, c8 as Na, bg as Sa, c9 as Da, ca as ka, cb as Ca, cc as ae, cd as he, ce as Ea, cf as Aa, cg as Ia, ch as Lt, n as Ma, ci as La, cj as Oa, ck as Pa, cl as _a, cm as Ta, cn as Ra, co as Ua, cp as Ba, cq as Ot } from "./semaphor-ready-indicator-CBQamwQY.js";
3
+ import { c as ye, B as V, a5 as Fa, a6 as $a, a7 as at, L as $e, X as qt, s as Ga, y as Va, z as Ha, A as ja, D as qa, E as za, e as Ka, f as Qa, h as Wa, F as Ya, t as Ja, u as Xa, v as Za, I as en, w as tn, j as zt, g as Pt } from "./style-sheet-parts-C7qGZuH1.js";
4
4
  import * as E from "react";
5
- import Kt, { useMemo as H, useState as N, useEffect as ge, useRef as _t, useLayoutEffect as tn } from "react";
6
- import { c as be } from "./_commonjsHelpers-Bid1ZNYj.js";
5
+ import Kt, { useMemo as H, useState as N, useEffect as ge, useRef as _t, useLayoutEffect as rn } from "react";
6
+ import { c as be } from "./pickers-DkqmtnTL.js";
7
7
  import "./validators-B8fpdinG.js";
8
8
  import "./matrix-operation-contract-DCVinw1o.js";
9
9
  import "./analytics-base-schemas-BaIQrEzX.js";
10
10
  import "../value-format-preferences/index.js";
11
- import { u as rn, d as an, l as nn, c as sn, D as on, A as dn, a as cn, j as ln, m as un, V as mn, b as hn, e as pn, S as fn, T as gn, k as bn, i as xn, n as vn, U as yn } from "./dashboard-briefing-launcher-Bdj7luOr.js";
12
- import { I as wn } from "./card-filter-builder-BS982X7x.js";
13
- import { u as Nn, h as Sn, R as Dn, l as kn } from "./report-preferences-dialog-Xc8_GFju.js";
14
- import { createPortal as Cn } from "react-dom";
15
- import { f1 as we, f2 as dt, f3 as Qt, o as En } from "./resolve-dashboard-input-context-KqvcLcTM.js";
16
- import { aH as Wt } from "./temporal-input-presentation-scSWQXAB.js";
17
- import { k as nt } from "./stored-dashboard-B6_StAty.js";
18
- import { r as An } from "./export-file-format-C-tJsxsf.js";
19
- import { u as In, s as Mn } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
11
+ import { u as an, d as nn, l as sn, c as on, D as dn, A as cn, a as ln, j as un, m as mn, V as hn, b as pn, e as fn, S as gn, T as bn, k as xn, i as vn, n as yn, U as wn } from "./dashboard-briefing-launcher-_g1m2tJ3.js";
12
+ import { I as Nn } from "./card-filter-builder-D-aSYpyr.js";
13
+ import { u as Sn, h as Dn, R as kn, l as Cn } from "./report-preferences-dialog-B_GXs91t.js";
14
+ import { createPortal as En } from "react-dom";
15
+ import { f2 as we, f3 as dt, f4 as Qt, o as An } from "./resolve-dashboard-input-context-Lkbwycwe.js";
16
+ import { aH as Wt } from "./temporal-input-presentation-CqbJjIuu.js";
17
+ import { k as nt } from "./stored-dashboard-C0hekXiI.js";
18
+ import { r as In } from "./export-file-format-C-tJsxsf.js";
19
+ import { u as Mn, s as Ln } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
20
20
  import { z as Yt } from "./bookmark-state-CflS88gq.js";
21
- import { d as Ln, a as On } from "./bookmark-impact-Czg6FGt5.js";
22
- import { S as Pn } from "./save-C6VmEJTA.js";
23
- import { P as _n } from "./palette-NjHOE_6B.js";
21
+ import { d as On, a as Pn } from "./bookmark-impact-DCYD-6Fr.js";
22
+ import { S as _n } from "./save-D985VvYp.js";
23
+ import { P as Tn } from "./paintbrush-aR17Z3C9.js";
24
+ import { P as Rn } from "./palette-a5FCZKFI.js";
24
25
  /**
25
26
  * @license lucide-react v0.453.0 - ISC
26
27
  *
27
28
  * This source code is licensed under the ISC license.
28
29
  * See the LICENSE file in the root directory of this source tree.
29
30
  */
30
- const Rn = ye("Moon", [
31
+ const Un = ye("Moon", [
31
32
  ["path", { d: "M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z", key: "a7tn18" }]
32
33
  ]);
33
34
  /**
@@ -36,7 +37,7 @@ const Rn = ye("Moon", [
36
37
  * This source code is licensed under the ISC license.
37
38
  * See the LICENSE file in the root directory of this source tree.
38
39
  */
39
- const Tn = ye("ShieldX", [
40
+ const Bn = ye("ShieldX", [
40
41
  [
41
42
  "path",
42
43
  {
@@ -53,7 +54,7 @@ const Tn = ye("ShieldX", [
53
54
  * This source code is licensed under the ISC license.
54
55
  * See the LICENSE file in the root directory of this source tree.
55
56
  */
56
- const Un = ye("Sun", [
57
+ const Fn = ye("Sun", [
57
58
  ["circle", { cx: "12", cy: "12", r: "4", key: "4exip2" }],
58
59
  ["path", { d: "M12 2v2", key: "tus03m" }],
59
60
  ["path", { d: "M12 20v2", key: "1lh1kg" }],
@@ -70,7 +71,7 @@ const Un = ye("Sun", [
70
71
  * This source code is licensed under the ISC license.
71
72
  * See the LICENSE file in the root directory of this source tree.
72
73
  */
73
- const Bn = ye("UserPlus", [
74
+ const $n = ye("UserPlus", [
74
75
  ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
75
76
  ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
76
77
  ["line", { x1: "19", x2: "19", y1: "8", y2: "14", key: "1bvyxn" }],
@@ -96,10 +97,10 @@ var st = { exports: {} }, Ze = {};
96
97
  * This source code is licensed under the MIT license found in the
97
98
  * LICENSE file in the root directory of this source tree.
98
99
  */
99
- var Rt;
100
- function Fn() {
101
- if (Rt) return Ze;
102
- Rt = 1;
100
+ var Tt;
101
+ function Gn() {
102
+ if (Tt) return Ze;
103
+ Tt = 1;
103
104
  var t = Kt;
104
105
  function n(i, f) {
105
106
  return i === f && (i !== 0 || 1 / i === 1 / f) || i !== i && f !== f;
@@ -147,9 +148,9 @@ var et = {};
147
148
  * This source code is licensed under the MIT license found in the
148
149
  * LICENSE file in the root directory of this source tree.
149
150
  */
150
- var Tt;
151
- function $n() {
152
- return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
151
+ var Rt;
152
+ function Vn() {
153
+ return Rt || (Rt = 1, process.env.NODE_ENV !== "production" && function() {
153
154
  function t(l, x) {
154
155
  return l === x && (l !== 0 || 1 / l === 1 / x) || l !== l && x !== x;
155
156
  }
@@ -200,18 +201,18 @@ function $n() {
200
201
  et.useSyncExternalStore = s.useSyncExternalStore !== void 0 ? s.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
201
202
  }()), et;
202
203
  }
203
- process.env.NODE_ENV === "production" ? st.exports = Fn() : st.exports = $n();
204
- var Gn = st.exports;
204
+ process.env.NODE_ENV === "production" ? st.exports = Gn() : st.exports = Vn();
205
+ var Hn = st.exports;
205
206
  const Fe = ["light", "dark", "system"];
206
- function Vn() {
207
- const { theme: t, setTheme: n } = Br(), a = k(
207
+ function jn() {
208
+ const { theme: t, setTheme: n } = Fr(), a = k(
208
209
  (u) => u.actions.setDashboardTheme
209
210
  );
210
211
  function r() {
211
212
  const u = Fe.includes(t) ? t : "system", m = Fe[(Fe.indexOf(u) + 1) % Fe.length];
212
213
  n(m), a(m);
213
214
  }
214
- const s = t === "light" ? Un : t === "dark" ? Rn : Fr, c = t === "light" ? "Theme: light (click for dark)" : t === "dark" ? "Theme: dark (click for system)" : "Theme: system (click for light)";
215
+ const s = t === "light" ? Fn : t === "dark" ? Un : $r, c = t === "light" ? "Theme: light (click for dark)" : t === "dark" ? "Theme: dark (click for system)" : "Theme: system (click for light)";
215
216
  return /* @__PURE__ */ e(
216
217
  V,
217
218
  {
@@ -226,19 +227,19 @@ function Vn() {
226
227
  }
227
228
  );
228
229
  }
229
- function Hn() {
230
- const { displayPreferences: t, shouldShowElement: n } = $r(), { currentUser: a, userContext: r } = ot(), s = H(
231
- () => Gr(a),
230
+ function qn() {
231
+ const { displayPreferences: t, shouldShowElement: n } = Gr(), { currentUser: a, userContext: r } = ot(), s = H(
232
+ () => Vr(a),
232
233
  [a]
233
234
  ), c = H(() => (m) => s && s[m] !== void 0 && s[m] === !1 ? !1 : n(m), [s, n, t]), u = H(
234
235
  () => {
235
236
  var m, p, y, g, i;
236
237
  return {
237
- canEdit: ((m = r == null ? void 0 : r.permissions) == null ? void 0 : m.canEdit) ?? zr(a),
238
- canUseFilters: ((p = r == null ? void 0 : r.permissions) == null ? void 0 : p.canEdit) ?? qr(a),
239
- canManageDashboards: ((y = r == null ? void 0 : r.permissions) == null ? void 0 : y.canCreateDashboard) ?? jr(a),
240
- canCreateDashboards: ((g = r == null ? void 0 : r.permissions) == null ? void 0 : g.canCreateDashboard) ?? Hr(a),
241
- canAccessVisuals: ((i = r == null ? void 0 : r.permissions) == null ? void 0 : i.canEdit) ?? Vr(a)
238
+ canEdit: ((m = r == null ? void 0 : r.permissions) == null ? void 0 : m.canEdit) ?? Kr(a),
239
+ canUseFilters: ((p = r == null ? void 0 : r.permissions) == null ? void 0 : p.canEdit) ?? zr(a),
240
+ canManageDashboards: ((y = r == null ? void 0 : r.permissions) == null ? void 0 : y.canCreateDashboard) ?? qr(a),
241
+ canCreateDashboards: ((g = r == null ? void 0 : r.permissions) == null ? void 0 : g.canCreateDashboard) ?? jr(a),
242
+ canAccessVisuals: ((i = r == null ? void 0 : r.permissions) == null ? void 0 : i.canEdit) ?? Hr(a)
242
243
  };
243
244
  },
244
245
  [a, r]
@@ -250,7 +251,7 @@ function Hn() {
250
251
  currentUser: a
251
252
  };
252
253
  }
253
- function jn(t, n = []) {
254
+ function zn(t, n = []) {
254
255
  let a = [];
255
256
  function r(c, u) {
256
257
  const m = E.createContext(u);
@@ -282,9 +283,9 @@ function jn(t, n = []) {
282
283
  );
283
284
  };
284
285
  };
285
- return s.scopeName = t, [r, qn(s, ...n)];
286
+ return s.scopeName = t, [r, Kn(s, ...n)];
286
287
  }
287
- function qn(...t) {
288
+ function Kn(...t) {
288
289
  const n = t[0];
289
290
  if (t.length === 1) return n;
290
291
  const a = () => {
@@ -302,7 +303,7 @@ function qn(...t) {
302
303
  };
303
304
  return a.scopeName = n.scopeName, a;
304
305
  }
305
- var zn = [
306
+ var Qn = [
306
307
  "a",
307
308
  "button",
308
309
  "div",
@@ -320,29 +321,29 @@ var zn = [
320
321
  "span",
321
322
  "svg",
322
323
  "ul"
323
- ], ct = zn.reduce((t, n) => {
324
- const a = Ba(`Primitive.${n}`), r = E.forwardRef((s, c) => {
324
+ ], ct = Qn.reduce((t, n) => {
325
+ const a = Fa(`Primitive.${n}`), r = E.forwardRef((s, c) => {
325
326
  const { asChild: u, ...m } = s, p = u ? a : n;
326
327
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ e(p, { ...m, ref: c });
327
328
  });
328
329
  return r.displayName = `Primitive.${n}`, { ...t, [n]: r };
329
330
  }, {});
330
- function Kn() {
331
- return Gn.useSyncExternalStore(
332
- Qn,
331
+ function Wn() {
332
+ return Hn.useSyncExternalStore(
333
+ Yn,
333
334
  () => !0,
334
335
  () => !1
335
336
  );
336
337
  }
337
- function Qn() {
338
+ function Yn() {
338
339
  return () => {
339
340
  };
340
341
  }
341
- var lt = "Avatar", [Wn] = jn(lt), [Yn, Xt] = Wn(lt), Zt = E.forwardRef(
342
+ var lt = "Avatar", [Jn] = zn(lt), [Xn, Xt] = Jn(lt), Zt = E.forwardRef(
342
343
  (t, n) => {
343
344
  const { __scopeAvatar: a, ...r } = t, [s, c] = E.useState("idle");
344
345
  return /* @__PURE__ */ e(
345
- Yn,
346
+ Xn,
346
347
  {
347
348
  scope: a,
348
349
  imageLoadingStatus: s,
@@ -356,7 +357,7 @@ Zt.displayName = lt;
356
357
  var er = "AvatarImage", tr = E.forwardRef(
357
358
  (t, n) => {
358
359
  const { __scopeAvatar: a, src: r, onLoadingStatusChange: s = () => {
359
- }, ...c } = t, u = Xt(er, a), m = Jn(r, c), p = Fa((y) => {
360
+ }, ...c } = t, u = Xt(er, a), m = Zn(r, c), p = $a((y) => {
360
361
  s(y), u.onImageLoadingStatusChange(y);
361
362
  });
362
363
  return at(() => {
@@ -380,8 +381,8 @@ ar.displayName = rr;
380
381
  function Ut(t, n) {
381
382
  return t ? n ? (t.src !== n && (t.src = n), t.complete && t.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
382
383
  }
383
- function Jn(t, { referrerPolicy: n, crossOrigin: a }) {
384
- const r = Kn(), s = E.useRef(null), c = r ? (s.current || (s.current = new window.Image()), s.current) : null, [u, m] = E.useState(
384
+ function Zn(t, { referrerPolicy: n, crossOrigin: a }) {
385
+ const r = Wn(), s = E.useRef(null), c = r ? (s.current || (s.current = new window.Image()), s.current) : null, [u, m] = E.useState(
385
386
  () => Ut(c, t)
386
387
  );
387
388
  return at(() => {
@@ -410,7 +411,7 @@ const ir = E.forwardRef(({ className: t, ...n }, a) => /* @__PURE__ */ e(
410
411
  }
411
412
  ));
412
413
  ir.displayName = nr.displayName;
413
- const Xn = E.forwardRef(({ className: t, ...n }, a) => /* @__PURE__ */ e(
414
+ const es = E.forwardRef(({ className: t, ...n }, a) => /* @__PURE__ */ e(
414
415
  sr,
415
416
  {
416
417
  ref: a,
@@ -418,7 +419,7 @@ const Xn = E.forwardRef(({ className: t, ...n }, a) => /* @__PURE__ */ e(
418
419
  ...n
419
420
  }
420
421
  ));
421
- Xn.displayName = sr.displayName;
422
+ es.displayName = sr.displayName;
422
423
  const dr = E.forwardRef(({ className: t, ...n }, a) => /* @__PURE__ */ e(
423
424
  or,
424
425
  {
@@ -431,26 +432,26 @@ const dr = E.forwardRef(({ className: t, ...n }, a) => /* @__PURE__ */ e(
431
432
  }
432
433
  ));
433
434
  dr.displayName = or.displayName;
434
- const Zn = async (t, n, a) => {
435
+ const ts = async (t, n, a) => {
435
436
  const r = `${t}/management/v1/groups`;
436
437
  return await Qt(r, n, a);
437
- }, es = async (t, n, a, r) => {
438
+ }, rs = async (t, n, a, r) => {
438
439
  const s = `${t}/management/v1/groups/${a}`;
439
440
  return dt(s, n, "PATCH", r);
440
- }, ts = async (t, n, a) => {
441
+ }, as = async (t, n, a) => {
441
442
  const r = `${t}/management/v1/groups/${a}`;
442
443
  await dt(r, n, "DELETE");
443
- }, rs = async (t, n, a, r) => {
444
+ }, ns = async (t, n, a, r) => {
444
445
  const s = `${t}/management/v1/groups/${a}/members`;
445
446
  return await Qt(s, n, r);
446
- }, as = async (t, n, a, r) => {
447
+ }, ss = async (t, n, a, r) => {
447
448
  const s = `${t}/management/v1/groups/${a}/members`;
448
449
  await dt(s, n, "DELETE", r);
449
450
  };
450
- function ns() {
451
+ function os() {
451
452
  const { authToken: t, tokenProps: n } = Y(), a = xe();
452
453
  return ve({
453
- mutationFn: (r) => Zn(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r),
454
+ mutationFn: (r) => ts(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r),
454
455
  onSuccess: () => {
455
456
  a.invalidateQueries({ queryKey: ["groups"] }), C.success("Group created successfully");
456
457
  },
@@ -461,13 +462,13 @@ function ns() {
461
462
  }
462
463
  });
463
464
  }
464
- function ss() {
465
+ function is() {
465
466
  const { authToken: t, tokenProps: n } = Y(), a = xe();
466
467
  return ve({
467
468
  mutationFn: ({
468
469
  groupId: r,
469
470
  data: s
470
- }) => es(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r, s),
471
+ }) => rs(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r, s),
471
472
  onSuccess: (r, s) => {
472
473
  a.invalidateQueries({ queryKey: ["group", s.groupId] }), a.invalidateQueries({ queryKey: ["groups"] }), C.success("Group updated successfully");
473
474
  },
@@ -478,10 +479,10 @@ function ss() {
478
479
  }
479
480
  });
480
481
  }
481
- function os() {
482
+ function ds() {
482
483
  const { authToken: t, tokenProps: n } = Y(), a = xe();
483
484
  return ve({
484
- mutationFn: (r) => ts(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r),
485
+ mutationFn: (r) => as(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r),
485
486
  onSuccess: (r, s) => {
486
487
  a.invalidateQueries({ queryKey: ["groups"] }), a.removeQueries({ queryKey: ["group", s] }), C.success("Group deleted successfully");
487
488
  },
@@ -492,13 +493,13 @@ function os() {
492
493
  }
493
494
  });
494
495
  }
495
- function is() {
496
+ function cs() {
496
497
  const { authToken: t, tokenProps: n } = Y(), a = xe();
497
498
  return ve({
498
499
  mutationFn: ({
499
500
  groupId: r,
500
501
  data: s
501
- }) => rs(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r, s),
502
+ }) => ns(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r, s),
502
503
  onSuccess: (r, s) => {
503
504
  a.invalidateQueries({ queryKey: ["group", s.groupId] }), a.invalidateQueries({
504
505
  queryKey: ["group-members", s.groupId]
@@ -511,13 +512,13 @@ function is() {
511
512
  }
512
513
  });
513
514
  }
514
- function ds() {
515
+ function ls() {
515
516
  const { authToken: t, tokenProps: n } = Y(), a = xe();
516
517
  return ve({
517
518
  mutationFn: ({
518
519
  groupId: r,
519
520
  data: s
520
- }) => as(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r, s),
521
+ }) => ss(n.apiServiceUrl, (t == null ? void 0 : t.accessToken) || "", r, s),
521
522
  onSuccess: (r, s) => {
522
523
  a.invalidateQueries({ queryKey: ["group", s.groupId] }), a.invalidateQueries({
523
524
  queryKey: ["group-members", s.groupId]
@@ -530,8 +531,8 @@ function ds() {
530
531
  }
531
532
  });
532
533
  }
533
- const cs = [];
534
- function ls({
534
+ const us = [];
535
+ function ms({
535
536
  open: t,
536
537
  onOpenChange: n
537
538
  }) {
@@ -541,11 +542,11 @@ function ls({
541
542
  isLoading: m,
542
543
  error: p,
543
544
  refetch: y
544
- } = Kr({
545
+ } = Qr({
545
546
  type: s ? "TENANT_GROUP" : "all",
546
547
  tenantId: s ? c : void 0,
547
548
  includeMembers: !1
548
- }), g = p ? cr(p, "Unable to load groups.") : null, [i, f] = N({ kind: "list" }), [l, x] = N(null), h = os();
549
+ }), g = p ? cr(p, "Unable to load groups.") : null, [i, f] = N({ kind: "list" }), [l, x] = N(null), h = ds();
549
550
  ge(() => {
550
551
  t || (f({ kind: "list" }), x(null));
551
552
  }, [t]);
@@ -575,7 +576,7 @@ function ls({
575
576
  /* @__PURE__ */ e(rt, { className: "sr-only", children: "Create a new group to organize members." })
576
577
  ] }) : null,
577
578
  i.kind === "list" && /* @__PURE__ */ e(
578
- us,
579
+ hs,
579
580
  {
580
581
  groups: u,
581
582
  isLoading: m,
@@ -588,7 +589,7 @@ function ls({
588
589
  }
589
590
  ),
590
591
  i.kind === "members" && w && /* @__PURE__ */ e(
591
- ps,
592
+ gs,
592
593
  {
593
594
  group: w,
594
595
  isTenantViewer: s,
@@ -603,7 +604,7 @@ function ls({
603
604
  w.id
604
605
  ),
605
606
  i.kind === "create" && /* @__PURE__ */ e(
606
- fs,
607
+ bs,
607
608
  {
608
609
  isTenantUser: s,
609
610
  tenantId: c,
@@ -648,7 +649,7 @@ function ls({
648
649
  ] })
649
650
  ] }) });
650
651
  }
651
- function us({
652
+ function hs({
652
653
  groups: t,
653
654
  isLoading: n,
654
655
  errorMessage: a,
@@ -667,7 +668,7 @@ function us({
667
668
  return /* @__PURE__ */ o("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
668
669
  /* @__PURE__ */ o("div", { className: "flex shrink-0 items-center gap-2 border-b border-border px-5 py-2.5", children: [
669
670
  /* @__PURE__ */ o("div", { className: "flex flex-1 items-center gap-2 rounded-[5px] border border-border bg-background px-2 focus-within:border-foreground/40", children: [
670
- /* @__PURE__ */ e(Qr, { className: "h-3 w-3 text-muted-foreground" }),
671
+ /* @__PURE__ */ e(Wr, { className: "h-3 w-3 text-muted-foreground" }),
671
672
  /* @__PURE__ */ e(
672
673
  "input",
673
674
  {
@@ -713,7 +714,7 @@ function us({
713
714
  message: a,
714
715
  onRetry: r
715
716
  }
716
- ) : g.length === 0 && t.length === 0 ? /* @__PURE__ */ e(hs, { onCreate: u }) : g.length === 0 ? /* @__PURE__ */ o("div", { className: "flex h-full flex-col items-center justify-center gap-1 py-10 text-center", children: [
717
+ ) : g.length === 0 && t.length === 0 ? /* @__PURE__ */ e(fs, { onCreate: u }) : g.length === 0 ? /* @__PURE__ */ o("div", { className: "flex h-full flex-col items-center justify-center gap-1 py-10 text-center", children: [
717
718
  /* @__PURE__ */ o("div", { className: "text-[12px] text-foreground", children: [
718
719
  'No groups match "',
719
720
  p,
@@ -723,7 +724,7 @@ function us({
723
724
  ] }) : g.map((i) => {
724
725
  var f;
725
726
  return /* @__PURE__ */ e(
726
- ms,
727
+ ps,
727
728
  {
728
729
  group: i,
729
730
  canDelete: ((f = i.permissions) == null ? void 0 : f.canDelete) ?? i.createdBy === s,
@@ -735,7 +736,7 @@ function us({
735
736
  }) })
736
737
  ] });
737
738
  }
738
- function ms({
739
+ function ps({
739
740
  group: t,
740
741
  canDelete: n,
741
742
  onClick: a,
@@ -754,7 +755,7 @@ function ms({
754
755
  onClick: a,
755
756
  className: "group flex w-full items-center gap-3 border-b border-border/60 px-5 py-2.5 text-left hover:bg-accent/40",
756
757
  children: [
757
- /* @__PURE__ */ e("div", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-[4px] border border-border bg-background text-muted-foreground", children: /* @__PURE__ */ e(Jr, { className: "h-3.5 w-3.5" }) }),
758
+ /* @__PURE__ */ e("div", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-[4px] border border-border bg-background text-muted-foreground", children: /* @__PURE__ */ e(Xr, { className: "h-3.5 w-3.5" }) }),
758
759
  /* @__PURE__ */ o("div", { className: "min-w-0 flex-1", children: [
759
760
  /* @__PURE__ */ e("div", { className: "truncate text-[13px] font-medium text-foreground", children: t.name }),
760
761
  /* @__PURE__ */ o("div", { className: "mt-0.5 flex items-center gap-2 text-[11px] text-muted-foreground", children: [
@@ -764,14 +765,14 @@ function ms({
764
765
  " member",
765
766
  t.memberCount === 1 ? "" : "s"
766
767
  ] }),
767
- s && /* @__PURE__ */ o(T, { children: [
768
+ s && /* @__PURE__ */ o(R, { children: [
768
769
  /* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
769
770
  /* @__PURE__ */ o("span", { className: "inline-flex items-center gap-1", children: [
770
771
  /* @__PURE__ */ e(jt, { className: "h-2.5 w-2.5" }),
771
772
  s
772
773
  ] })
773
774
  ] }),
774
- t.description && /* @__PURE__ */ o(T, { children: [
775
+ t.description && /* @__PURE__ */ o(R, { children: [
775
776
  /* @__PURE__ */ e("span", { className: "text-border", children: "·" }),
776
777
  /* @__PURE__ */ e("span", { className: "truncate text-muted-foreground", children: t.description })
777
778
  ] })
@@ -794,13 +795,13 @@ function ms({
794
795
  children: /* @__PURE__ */ e(it, { className: "h-3 w-3" })
795
796
  }
796
797
  ),
797
- /* @__PURE__ */ e(Xr, { className: "h-3.5 w-3.5 text-muted-foreground" })
798
+ /* @__PURE__ */ e(Zr, { className: "h-3.5 w-3.5 text-muted-foreground" })
798
799
  ] })
799
800
  ]
800
801
  }
801
802
  );
802
803
  }
803
- function hs({ onCreate: t }) {
804
+ function fs({ onCreate: t }) {
804
805
  return /* @__PURE__ */ o("div", { className: "flex h-full flex-col items-center justify-center gap-2 py-12 text-center", children: [
805
806
  /* @__PURE__ */ e("div", { className: "flex h-9 w-9 items-center justify-center rounded-full border border-border bg-muted/40 text-muted-foreground", children: /* @__PURE__ */ e(Ht, { className: "h-4 w-4" }) }),
806
807
  /* @__PURE__ */ e("div", { className: "text-[13px] font-medium text-foreground", children: "No groups yet" }),
@@ -819,7 +820,7 @@ function hs({ onCreate: t }) {
819
820
  )
820
821
  ] });
821
822
  }
822
- function ps({
823
+ function gs({
823
824
  group: t,
824
825
  isTenantViewer: n,
825
826
  canEdit: a,
@@ -835,7 +836,7 @@ function ps({
835
836
  isLoading: g,
836
837
  error: i,
837
838
  refetch: f
838
- } = Wr(t.id), l = (y == null ? void 0 : y.members) ?? cs, x = i ? cr(i, "Unable to load members for this group.") : null, h = t.type === "TENANT_GROUP" ? "tenant" : "organization", { users: w } = Yr({
839
+ } = Yr(t.id), l = (y == null ? void 0 : y.members) ?? us, x = i ? cr(i, "Unable to load members for this group.") : null, h = t.type === "TENANT_GROUP" ? "tenant" : "organization", { users: w } = Jr({
839
840
  type: h,
840
841
  tenantId: t.tenantId || void 0,
841
842
  active: !0,
@@ -843,7 +844,7 @@ function ps({
843
844
  }), S = H(
844
845
  () => new Set(l.map((v) => v.userId)),
845
846
  [l]
846
- ), O = is(), b = ds(), F = ss(), [P, $] = N(!1), [M, D] = N(t.name), [Ne, J] = N(!1), [X, Z] = N(t.description || ""), [ee, Se] = N(""), [De, ke] = N(!1), Ce = H(() => {
847
+ ), O = cs(), b = ls(), F = is(), [P, $] = N(!1), [M, D] = N(t.name), [Ne, J] = N(!1), [X, Z] = N(t.description || ""), [ee, Se] = N(""), [De, ke] = N(!1), Ce = H(() => {
847
848
  const v = ee.trim().toLowerCase();
848
849
  return w.filter((B) => !S.has(B.id)).filter(
849
850
  (B) => !v || (B.name || "").toLowerCase().includes(v) || (B.email || "").toLowerCase().includes(v)
@@ -1006,7 +1007,7 @@ function ps({
1006
1007
  }
1007
1008
  ) }),
1008
1009
  s && /* @__PURE__ */ e(
1009
- gs,
1010
+ xs,
1010
1011
  {
1011
1012
  query: ee,
1012
1013
  setQuery: Se,
@@ -1077,13 +1078,13 @@ function ps({
1077
1078
  ) })
1078
1079
  ] });
1079
1080
  }
1080
- function fs({
1081
+ function bs({
1081
1082
  isTenantUser: t,
1082
1083
  tenantId: n,
1083
1084
  onCancel: a,
1084
1085
  onCreated: r
1085
1086
  }) {
1086
- const [s, c] = N(""), [u, m] = N(""), [p, y] = N(null), g = ns(), i = s.trim().length >= 3 && s.trim().length <= 50, f = async () => {
1087
+ const [s, c] = N(""), [u, m] = N(""), [p, y] = N(null), g = os(), i = s.trim().length >= 3 && s.trim().length <= 50, f = async () => {
1087
1088
  if (!i) return;
1088
1089
  y(null);
1089
1090
  const l = {
@@ -1152,10 +1153,10 @@ function fs({
1152
1153
  onClick: f,
1153
1154
  disabled: !i || g.isPending,
1154
1155
  className: "inline-flex h-7 items-center gap-1.5 rounded-[5px] bg-foreground px-2.5 text-[12px] font-medium text-background hover:opacity-90 disabled:cursor-not-allowed disabled:opacity-60",
1155
- children: g.isPending ? /* @__PURE__ */ o(T, { children: [
1156
+ children: g.isPending ? /* @__PURE__ */ o(R, { children: [
1156
1157
  /* @__PURE__ */ e($e, { className: "h-3 w-3 animate-spin" }),
1157
1158
  "Creating…"
1158
- ] }) : /* @__PURE__ */ o(T, { children: [
1159
+ ] }) : /* @__PURE__ */ o(R, { children: [
1159
1160
  /* @__PURE__ */ e(ne, { className: "h-3 w-3" }),
1160
1161
  "Create group"
1161
1162
  ] })
@@ -1164,7 +1165,7 @@ function fs({
1164
1165
  ] })
1165
1166
  ] });
1166
1167
  }
1167
- function gs({
1168
+ function xs({
1168
1169
  query: t,
1169
1170
  setQuery: n,
1170
1171
  open: a,
@@ -1175,7 +1176,7 @@ function gs({
1175
1176
  busy: m
1176
1177
  }) {
1177
1178
  const p = _t(null), y = _t(null), [g, i] = N(null);
1178
- tn(() => {
1179
+ rn(() => {
1179
1180
  if (!a) {
1180
1181
  i(null);
1181
1182
  return;
@@ -1211,7 +1212,7 @@ function gs({
1211
1212
  ref: p,
1212
1213
  className: "flex items-center gap-2 rounded-[5px] border border-border bg-background px-2 focus-within:border-foreground/40",
1213
1214
  children: [
1214
- /* @__PURE__ */ e(Bn, { className: "h-3 w-3 text-muted-foreground" }),
1215
+ /* @__PURE__ */ e($n, { className: "h-3 w-3 text-muted-foreground" }),
1215
1216
  /* @__PURE__ */ e(
1216
1217
  "input",
1217
1218
  {
@@ -1228,7 +1229,7 @@ function gs({
1228
1229
  ]
1229
1230
  }
1230
1231
  ),
1231
- f && typeof document < "u" && Cn(
1232
+ f && typeof document < "u" && En(
1232
1233
  /* @__PURE__ */ e(
1233
1234
  "div",
1234
1235
  {
@@ -1298,15 +1299,15 @@ function ur({ name: t }) {
1298
1299
  const n = t.split(" ").map((a) => a[0]).filter(Boolean).slice(0, 2).join("").toUpperCase();
1299
1300
  return /* @__PURE__ */ e(ir, { className: "h-6 w-6 shrink-0", children: /* @__PURE__ */ e(dr, { className: "text-[9px] font-semibold", children: n || "?" }) });
1300
1301
  }
1301
- const bs = "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground";
1302
- function xs({
1302
+ const vs = "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground";
1303
+ function ys({
1303
1304
  open: t,
1304
1305
  onOpenChange: n
1305
1306
  }) {
1306
1307
  const a = k(
1307
1308
  (s) => {
1308
1309
  var c, u;
1309
- return An({
1310
+ return In({
1310
1311
  dashboardDefault: (u = (c = s.dashboard) == null ? void 0 : c.exportDefaults) == null ? void 0 : u.csvEncoding
1311
1312
  });
1312
1313
  }
@@ -1314,20 +1315,20 @@ function xs({
1314
1315
  (s) => s.actions
1315
1316
  );
1316
1317
  return /* @__PURE__ */ e($t, { open: t, onOpenChange: n, children: /* @__PURE__ */ o(Gt, { className: "rounded-control border-border/60 sm:max-w-[440px] sm:rounded-control", children: [
1317
- /* @__PURE__ */ o(Zr, { children: [
1318
+ /* @__PURE__ */ o(ea, { children: [
1318
1319
  /* @__PURE__ */ e(tt, { className: "text-[15px]", children: "Download settings" }),
1319
1320
  /* @__PURE__ */ e(rt, { className: "text-[13px] leading-5", children: "Applies to every CSV downloaded or delivered from this dashboard. People can still change it for a single download." })
1320
1321
  ] }),
1321
1322
  /* @__PURE__ */ o("div", { className: "space-y-2", children: [
1322
- /* @__PURE__ */ e($a, { htmlFor: "dashboard-csv-encoding", className: bs, children: "CSV encoding" }),
1323
+ /* @__PURE__ */ e(Ga, { htmlFor: "dashboard-csv-encoding", className: vs, children: "CSV encoding" }),
1323
1324
  /* @__PURE__ */ o(
1324
- Ga,
1325
+ Va,
1325
1326
  {
1326
1327
  value: a,
1327
1328
  onValueChange: (s) => r({ csvEncoding: s }),
1328
1329
  children: [
1329
- /* @__PURE__ */ e(Va, { id: "dashboard-csv-encoding", size: "sm", children: /* @__PURE__ */ e(Ha, {}) }),
1330
- /* @__PURE__ */ e(ja, { children: ea.map((s) => /* @__PURE__ */ e(qa, { value: s.value, children: s.label }, s.value)) })
1330
+ /* @__PURE__ */ e(Ha, { id: "dashboard-csv-encoding", size: "sm", children: /* @__PURE__ */ e(ja, {}) }),
1331
+ /* @__PURE__ */ e(qa, { children: ta.map((s) => /* @__PURE__ */ e(za, { value: s.value, children: s.label }, s.value)) })
1331
1332
  ]
1332
1333
  }
1333
1334
  )
@@ -1350,7 +1351,7 @@ function fe(t, n) {
1350
1351
  var a;
1351
1352
  return ((a = Yt(t, n)) == null ? void 0 : a.title) || n;
1352
1353
  }
1353
- function vs(t) {
1354
+ function ws(t) {
1354
1355
  const { errors: n, dashboard: a } = t;
1355
1356
  if (!a)
1356
1357
  return n;
@@ -1435,68 +1436,68 @@ function vs(t) {
1435
1436
  }
1436
1437
  return Array.from(r.values());
1437
1438
  }
1438
- function ys({
1439
+ function Ns({
1439
1440
  visible: t,
1440
1441
  onSelect: n
1441
1442
  }) {
1442
- return t ? /* @__PURE__ */ o(I, { onSelect: n, children: [
1443
- /* @__PURE__ */ e(ta, { className: "h-3.5 w-3.5" }),
1443
+ return t ? /* @__PURE__ */ o(A, { onSelect: n, children: [
1444
+ /* @__PURE__ */ e(ra, { className: "h-3.5 w-3.5" }),
1444
1445
  "Schedule email report"
1445
1446
  ] }) : null;
1446
1447
  }
1447
- function ws({
1448
+ function Ss({
1448
1449
  scheduleReportVisible: t,
1449
1450
  analyticalBriefingVisible: n,
1450
1451
  onScheduleReport: a,
1451
1452
  onCreateAnalyticalBriefing: r
1452
1453
  }) {
1453
- return /* @__PURE__ */ o(T, { children: [
1454
+ return /* @__PURE__ */ o(R, { children: [
1454
1455
  /* @__PURE__ */ e(
1455
- ys,
1456
+ Ns,
1456
1457
  {
1457
1458
  visible: t,
1458
1459
  onSelect: a
1459
1460
  }
1460
1461
  ),
1461
- n ? /* @__PURE__ */ o(I, { onSelect: r, children: [
1462
+ n ? /* @__PURE__ */ o(A, { onSelect: r, children: [
1462
1463
  /* @__PURE__ */ e(ne, { className: "h-3.5 w-3.5" }),
1463
1464
  "Create analytical briefing"
1464
1465
  ] }) : null
1465
1466
  ] });
1466
1467
  }
1467
- const Ns = "dashboard-bookmark-usage";
1468
- function Ss(t) {
1468
+ const Ds = "dashboard-bookmark-usage";
1469
+ function ks(t) {
1469
1470
  var p;
1470
- const n = k((y) => y.viewerStateClient), a = (p = t.saved) == null ? void 0 : p.id, s = ra({
1471
+ const n = k((y) => y.viewerStateClient), a = (p = t.saved) == null ? void 0 : p.id, s = aa({
1471
1472
  // Keyed by the viewer, never by the client object (TanStack drops functions when hashing).
1472
- queryKey: [Ns, (n == null ? void 0 : n.viewerKey) ?? null],
1473
+ queryKey: [Ds, (n == null ? void 0 : n.viewerKey) ?? null],
1473
1474
  queryFn: () => n.bookmarks.usage(),
1474
1475
  enabled: t.enabled && !!n && !!a,
1475
1476
  staleTime: 5 * 6e4,
1476
1477
  retry: !1
1477
1478
  }).data, { saved: c, draft: u, enabled: m } = t;
1478
- return H(() => !m || !c || !s ? [] : !s.bookmarks && !Object.keys(s.tables).length ? [] : Ln({ saved: c, draft: u, usage: s }), [u, m, c, s]);
1479
+ return H(() => !m || !c || !s ? [] : !s.bookmarks && !Object.keys(s.tables).length ? [] : On({ saved: c, draft: u, usage: s }), [u, m, c, s]);
1479
1480
  }
1480
- function Ds({
1481
+ function Cs({
1481
1482
  saved: t,
1482
1483
  draft: n,
1483
1484
  enabled: a
1484
1485
  }) {
1485
- const r = Ss({ saved: t, draft: n, enabled: a });
1486
- return r.length ? /* @__PURE__ */ o(za, { children: [
1487
- /* @__PURE__ */ e(Ka, { asChild: !0, children: /* @__PURE__ */ o(
1486
+ const r = ks({ saved: t, draft: n, enabled: a });
1487
+ return r.length ? /* @__PURE__ */ o(Ka, { children: [
1488
+ /* @__PURE__ */ e(Qa, { asChild: !0, children: /* @__PURE__ */ o(
1488
1489
  V,
1489
1490
  {
1490
1491
  variant: "ghost",
1491
1492
  size: "xs",
1492
1493
  className: "gap-1 text-muted-foreground hover:text-foreground",
1493
1494
  children: [
1494
- /* @__PURE__ */ e(aa, { className: "h-3.5 w-3.5", "aria-hidden": "true" }),
1495
+ /* @__PURE__ */ e(na, { className: "h-3.5 w-3.5", "aria-hidden": "true" }),
1495
1496
  "Affects saved views"
1496
1497
  ]
1497
1498
  }
1498
1499
  ) }),
1499
- /* @__PURE__ */ o(Qa, { align: "end", className: "w-[320px] p-3 text-[12px]", children: [
1500
+ /* @__PURE__ */ o(Wa, { align: "end", className: "w-[320px] p-3 text-[12px]", children: [
1500
1501
  /* @__PURE__ */ e("p", { className: "text-foreground", children: "This edit removes parts of the dashboard that viewers saved. Their views still open, with a note about what no longer applies." }),
1501
1502
  /* @__PURE__ */ e(
1502
1503
  "ul",
@@ -1504,7 +1505,7 @@ function Ds({
1504
1505
  "aria-label": "Affected saved views",
1505
1506
  className: "mt-2 grid gap-1 border-t border-border/60 pt-2",
1506
1507
  children: r.map((s) => {
1507
- const { name: c, uses: u } = On(s);
1508
+ const { name: c, uses: u } = Pn(s);
1508
1509
  return /* @__PURE__ */ o(
1509
1510
  "li",
1510
1511
  {
@@ -1528,7 +1529,7 @@ function Ft(t, n) {
1528
1529
  semanticExecutionPayload: nt(n)
1529
1530
  };
1530
1531
  }
1531
- function Ws() {
1532
+ function Xs() {
1532
1533
  var St, Dt, kt, Ct;
1533
1534
  const {
1534
1535
  authToken: t,
@@ -1536,17 +1537,17 @@ function Ws() {
1536
1537
  id: a,
1537
1538
  showBriefings: r,
1538
1539
  toolbarStatus: s
1539
- } = Y(), c = na(), { isLocalDev: u, isConsoleMode: m } = sa(), {
1540
+ } = Y(), c = sa(), { isLocalDev: u, isConsoleMode: m } = oa(), {
1540
1541
  canEditDashboard: p,
1541
1542
  hasInspectionUser: y,
1542
1543
  inspectionMessage: g,
1543
1544
  isInspectionMode: i,
1544
1545
  isInspectionSurface: f
1545
- } = oa(), { openBrandStudioPreview: l } = ia(), { permissions: x } = Hn(), h = da(), { isLoading: w } = ca(), S = k((d) => d.theme), O = k((d) => d.isDownloadingPdf), b = k((d) => d.dashboard), F = k((d) => d.selectedSheetId), P = (St = b == null ? void 0 : b.sheets) == null ? void 0 : St.find(
1546
+ } = ia(), { openBrandStudioPreview: l } = da(), { permissions: x } = qn(), h = ca(), { isLoading: w } = la(), S = k((d) => d.theme), O = k((d) => d.isDownloadingPdf), b = k((d) => d.dashboard), F = k((d) => d.selectedSheetId), P = (St = b == null ? void 0 : b.sheets) == null ? void 0 : St.find(
1546
1547
  (d) => d.id === F
1547
- ), $ = En(P), M = $ ? (Dt = P == null ? void 0 : P.document) == null ? void 0 : Dt.page : void 0, D = k(
1548
+ ), $ = An(P), M = $ ? (Dt = P == null ? void 0 : P.document) == null ? void 0 : Dt.page : void 0, D = k(
1548
1549
  (d) => d.isDashboardEditing
1549
- ), { setDashboardTitle: Ne } = k((d) => d.actions), [J, X] = N(!1), [Z, ee] = N(!1), [Se, De] = N(!1), [ke, Ce] = N(!1), [se, te] = N(null), [Ee, Ae] = N(null), { registerBriefingViewer: j } = la();
1550
+ ), { setDashboardTitle: Ne } = k((d) => d.actions), [J, X] = N(!1), [Z, ee] = N(!1), [Se, De] = N(!1), [ke, Ce] = N(!1), [se, te] = N(null), [Ee, Ae] = N(null), { registerBriefingViewer: j } = ua();
1550
1551
  ge(
1551
1552
  () => j((d) => Ae(d)),
1552
1553
  [j]
@@ -1563,19 +1564,19 @@ function Ws() {
1563
1564
  (d) => d.showDashboardJSON
1564
1565
  );
1565
1566
  k((d) => d.onSaveFunction);
1566
- const { setIsDashboardEditing: pt, setShowDashboardJSON: ft, markDashboardSaved: fr } = k(
1567
+ const { setIsDashboardEditing: pt, setShowDashboardJSON: ft, markDashboardSaved: fr, openStyleSheet: gr } = k(
1567
1568
  (d) => d.actions
1568
1569
  ), { setInitialDashboard: gt, clearSelectedDashboard: Ge } = Be(
1569
1570
  (d) => d.actions
1570
- ), ie = !!n.orgUserId || !!(n.tenantId && n.endUserId && n.endUserEmail), { resources: Oe } = ua(Xe.DASHBOARD), A = Nn(), { currentUser: gr } = ot(), br = ma(gr), G = hr || pr, Q = ha({
1571
+ ), ie = !!n.orgUserId || !!(n.tenantId && n.endUserId && n.endUserEmail), { resources: Oe } = ma(Xe.DASHBOARD), I = Sn(), { currentUser: br } = ot(), xr = ha(br), G = hr || pr, Q = pa({
1571
1572
  config: n.config,
1572
1573
  canNavigateDashboardHub: ie,
1573
1574
  canShareDashboard: ((kt = G == null ? void 0 : G.permissions) == null ? void 0 : kt.canShare) === !0,
1574
- canManageGroups: br
1575
+ canManageGroups: xr
1575
1576
  }), bt = G ? {
1576
1577
  id: G.id,
1577
1578
  title: (b == null ? void 0 : b.title) || G.title || "Dashboard"
1578
- } : null, { handleAddNewFrame: xr } = pa(), [Ve, He] = N(!1), [vr, de] = N(!1), [je, Pe] = N("close"), ce = fa(Xe.DASHBOARD), [L, le] = N(null), yr = async (d, R) => {
1579
+ } : null, { handleAddNewFrame: vr } = fa(), [Ve, He] = N(!1), [yr, de] = N(!1), [je, Pe] = N("close"), ce = ga(Xe.DASHBOARD), [L, le] = N(null), wr = async (d, T) => {
1579
1580
  if (!i) {
1580
1581
  if (!(b != null && b.id)) {
1581
1582
  console.log("No dashboard ID found");
@@ -1584,7 +1585,7 @@ function Ws() {
1584
1585
  console.log("Updating dashboard title:", {
1585
1586
  dashboardId: b.id,
1586
1587
  newTitle: d,
1587
- previousTitle: R
1588
+ previousTitle: T
1588
1589
  }), ce.mutate(
1589
1590
  {
1590
1591
  resourceId: b.id,
@@ -1602,7 +1603,7 @@ function Ws() {
1602
1603
  onError: (_) => {
1603
1604
  console.error("Failed to update dashboard title:", _), C.error("Failed to update dashboard title");
1604
1605
  const re = k.getState().dashboard;
1605
- (re == null ? void 0 : re.id) === b.id && re.title === d && Ne(R);
1606
+ (re == null ? void 0 : re.id) === b.id && re.title === d && Ne(T);
1606
1607
  }
1607
1608
  }
1608
1609
  );
@@ -1612,15 +1613,15 @@ function Ws() {
1612
1613
  if (Oe && Oe.length > 0) {
1613
1614
  const d = b == null ? void 0 : b.id;
1614
1615
  if (d) {
1615
- const R = Oe.find(
1616
+ const T = Oe.find(
1616
1617
  (_) => _.id === d
1617
1618
  );
1618
- R && gt(R);
1619
+ T && gt(T);
1619
1620
  }
1620
1621
  }
1621
1622
  }, [Oe, b == null ? void 0 : b.id, gt]);
1622
- const wr = n.orgUserId || n.tenantId, qe = H(
1623
- () => Cs({
1623
+ const Nr = n.orgUserId || n.tenantId, qe = H(
1624
+ () => As({
1624
1625
  accessToken: t == null ? void 0 : t.accessToken,
1625
1626
  dashboardId: (b == null ? void 0 : b.id) || a || n.dashboard_id,
1626
1627
  selectedSheetId: $ ? F : void 0,
@@ -1639,9 +1640,9 @@ function Ws() {
1639
1640
  S,
1640
1641
  n.dashboard_id
1641
1642
  ]
1642
- ), ze = D && !U && !i && wr && p, { setDashboard: Ke } = k((d) => d.actions), Nr = k(
1643
+ ), ze = D && !U && !i && Nr && p, { setDashboard: Ke } = k((d) => d.actions), Sr = k(
1643
1644
  (d) => d.semanticExecutionPayload
1644
- ), Sr = () => {
1645
+ ), Dr = () => {
1645
1646
  pt(!0);
1646
1647
  }, _e = () => {
1647
1648
  pt(!1), ft(!1), le(null);
@@ -1653,7 +1654,7 @@ function Ws() {
1653
1654
  }
1654
1655
  if (L || !b || w)
1655
1656
  return;
1656
- const d = ga(k.getState());
1657
+ const d = ba(k.getState());
1657
1658
  le(
1658
1659
  Ft(d.dashboard, d.semanticExecutionPayload)
1659
1660
  );
@@ -1662,19 +1663,19 @@ function Ws() {
1662
1663
  L,
1663
1664
  D,
1664
1665
  w,
1665
- Nr
1666
+ Sr
1666
1667
  ]);
1667
- const Qe = (L == null ? void 0 : L.dashboard) ?? null, { isDirty: We, isDirtyPending: Dr, resetDirty: ue } = In(
1668
+ const Qe = (L == null ? void 0 : L.dashboard) ?? null, { isDirty: We, isDirtyPending: kr, resetDirty: ue } = Mn(
1668
1669
  b,
1669
1670
  Qe,
1670
1671
  300,
1671
1672
  1e3,
1672
- Mn
1673
- ), xt = rn(
1673
+ Ln
1674
+ ), xt = an(
1674
1675
  Qe,
1675
1676
  i,
1676
1677
  p
1677
- ), vt = We || Dr, Re = Ve || ce.isPending, kr = () => {
1678
+ ), vt = We || kr, Te = Ve || ce.isPending, Cr = () => {
1678
1679
  if (i) {
1679
1680
  L && Ke(L.dashboard, {
1680
1681
  semanticExecutionPayload: L.semanticExecutionPayload
@@ -1682,21 +1683,21 @@ function Ws() {
1682
1683
  return;
1683
1684
  }
1684
1685
  xt() ? (Pe("close"), de(!0)) : (_e(), ue());
1685
- }, Cr = async () => {
1686
+ }, Er = async () => {
1686
1687
  await Ye({
1687
1688
  closeAfterSave: !0,
1688
1689
  navigateHomeAfterSave: je === "home"
1689
1690
  });
1690
- }, Er = () => {
1691
+ }, Ar = () => {
1691
1692
  const d = je === "home" && !!ie;
1692
1693
  L && Ke(L.dashboard, {
1693
1694
  semanticExecutionPayload: L.semanticExecutionPayload
1694
1695
  }), _e(), d && Ge(), Pe("close"), de(!1), ue();
1695
- }, Ar = () => {
1696
+ }, Ir = () => {
1696
1697
  L && (Ke(L.dashboard, {
1697
1698
  semanticExecutionPayload: L.semanticExecutionPayload
1698
1699
  }), ue());
1699
- }, Ir = () => {
1700
+ }, Mr = () => {
1700
1701
  if (ie) {
1701
1702
  if (D && xt()) {
1702
1703
  Pe("home"), de(!0);
@@ -1708,41 +1709,41 @@ function Ws() {
1708
1709
  async function Ye(d) {
1709
1710
  if (i)
1710
1711
  return;
1711
- const R = k.getState().dashboard;
1712
- if (!R)
1712
+ const T = k.getState().dashboard;
1713
+ if (!T)
1713
1714
  return;
1714
1715
  const _ = (d == null ? void 0 : d.closeAfterSave) ?? ut, re = (d == null ? void 0 : d.navigateHomeAfterSave) ?? !1;
1715
1716
  Le(_), _ && de(!1);
1716
- const Pr = nt(R);
1717
+ const _r = nt(T);
1717
1718
  q(!0), K(null), Me([]), He(!0);
1718
- const _r = {
1719
- template: R
1719
+ const Tr = {
1720
+ template: T
1720
1721
  };
1721
1722
  ce.mutate(
1722
1723
  {
1723
- resourceId: R.id,
1724
- data: _r
1724
+ resourceId: T.id,
1725
+ data: Tr
1725
1726
  },
1726
1727
  {
1727
1728
  onSuccess: () => {
1728
1729
  He(!1), fr(), C.success("Dashboard saved!"), le(
1729
1730
  Ft(
1730
- Pr,
1731
+ _r,
1731
1732
  k.getState().semanticExecutionPayload
1732
1733
  )
1733
1734
  ), q(!1), Le(!1), _ && (_e(), ue(), re && ie && Ge()), Pe("close");
1734
1735
  },
1735
1736
  onError: (Rr) => {
1736
1737
  He(!1), K("Failed to save dashboard. Please try again.");
1737
- const Ue = Rr.details, Tr = Array.isArray(
1738
+ const Ue = Rr.details, Ur = Array.isArray(
1738
1739
  Ue == null ? void 0 : Ue.errors
1739
1740
  ) ? (Ue.errors || []).filter(
1740
- (Ur) => typeof Ur == "string"
1741
+ (Br) => typeof Br == "string"
1741
1742
  ) : [];
1742
1743
  Me(
1743
- vs({
1744
- errors: Tr,
1745
- dashboard: R || void 0
1744
+ ws({
1745
+ errors: Ur,
1746
+ dashboard: T || void 0
1746
1747
  })
1747
1748
  ), C.error("Failed to save dashboard");
1748
1749
  }
@@ -1755,30 +1756,30 @@ function Ws() {
1755
1756
  dashboardStateTitle: b.title,
1756
1757
  dashboardId: b == null ? void 0 : b.id
1757
1758
  });
1758
- const Mr = ie && !!(t != null && t.accessToken) && !!(n != null && n.apiServiceUrl), Lr = !i && Q.showDashboardHub && Mr, Or = !i && h && Q.showDashboardHub, W = (b == null ? void 0 : b.id) || null, wt = ba(
1759
+ const Lr = ie && !!(t != null && t.accessToken) && !!(n != null && n.apiServiceUrl), Or = !i && Q.showDashboardHub && Lr, Pr = !i && h && Q.showDashboardHub, W = (b == null ? void 0 : b.id) || null, wt = xa(
1759
1760
  (Ct = n.config) == null ? void 0 : Ct.showBriefings,
1760
1761
  r
1761
- ), Te = an(W), Je = nn();
1762
+ ), Re = nn(W), Je = sn();
1762
1763
  if (!h && !U)
1763
1764
  return null;
1764
1765
  const me = !U && h && !i, Nt = D && me;
1765
- return /* @__PURE__ */ e(sn, { width: A.width, hasOverflowMenu: me, children: /* @__PURE__ */ o(
1766
+ return /* @__PURE__ */ e(on, { width: I.width, hasOverflowMenu: me, children: /* @__PURE__ */ o(
1766
1767
  "div",
1767
1768
  {
1768
- ref: A.measure,
1769
+ ref: I.measure,
1769
1770
  className: "flex min-h-11 shrink-0 items-center gap-2 border-b px-3 py-1.5",
1770
1771
  role: "dashboard-controls",
1771
1772
  children: [
1772
1773
  /* @__PURE__ */ o("div", { className: "flex min-w-[80px] flex-1 items-center gap-2", children: [
1773
- Or && !U && /* @__PURE__ */ e(
1774
- wn,
1774
+ Pr && !U && /* @__PURE__ */ e(
1775
+ Nn,
1775
1776
  {
1776
1777
  "aria-label": "Dashboard Hub",
1777
1778
  tooltip: "Dashboard Hub",
1778
- onClick: Ir,
1779
+ onClick: Mr,
1779
1780
  className: "h-7 w-7 px-0",
1780
1781
  buttonProps: { size: "xs" },
1781
- children: /* @__PURE__ */ e(xa, { className: "h-3.5 w-3.5" })
1782
+ children: /* @__PURE__ */ e(va, { className: "h-3.5 w-3.5" })
1782
1783
  }
1783
1784
  ),
1784
1785
  !U && h && (w ? /* @__PURE__ */ e(
@@ -1791,7 +1792,7 @@ function Ws() {
1791
1792
  }
1792
1793
  ) : /* @__PURE__ */ o("div", { className: "flex min-w-0 items-center gap-1", children: [
1793
1794
  /* @__PURE__ */ e(
1794
- va,
1795
+ ya,
1795
1796
  {
1796
1797
  value: yt || "Untitled Dashboard",
1797
1798
  onSave: (d) => {
@@ -1800,10 +1801,10 @@ function Ws() {
1800
1801
  canEditDashboard: p,
1801
1802
  dashboardId: b == null ? void 0 : b.id
1802
1803
  });
1803
- const R = (b == null ? void 0 : b.title) || "";
1804
- Ne(d), yr(d, R);
1804
+ const T = (b == null ? void 0 : b.title) || "";
1805
+ Ne(d), wr(d, T);
1805
1806
  },
1806
- isEditable: ya({
1807
+ isEditable: wa({
1807
1808
  isDashboardEditing: D,
1808
1809
  canEditDashboard: p === !0 && !i
1809
1810
  }),
@@ -1813,19 +1814,19 @@ function Ws() {
1813
1814
  isPending: ce.isPending
1814
1815
  }
1815
1816
  ),
1816
- !i && W && /* @__PURE__ */ e(on, { dashboardId: W }),
1817
+ !i && W && /* @__PURE__ */ e(dn, { dashboardId: W }),
1817
1818
  s ? /* @__PURE__ */ e("div", { className: "flex min-w-[1.25rem] shrink-[2]", children: s }) : null
1818
1819
  ] }))
1819
1820
  ] }),
1820
1821
  /* @__PURE__ */ o("div", { className: "flex min-w-0 items-center gap-1.5", children: [
1821
1822
  /* @__PURE__ */ o("div", { className: "-m-1 flex min-w-0 items-center gap-1.5 overflow-x-auto p-1 [scrollbar-width:thin] [&>*]:shrink-0", children: [
1822
- U && /* @__PURE__ */ o(T, { children: [
1823
- /* @__PURE__ */ e(dn, {}),
1824
- /* @__PURE__ */ e(cn, {})
1823
+ U && /* @__PURE__ */ o(R, { children: [
1824
+ /* @__PURE__ */ e(cn, {}),
1825
+ /* @__PURE__ */ e(ln, {})
1825
1826
  ] }),
1826
- h && !i && /* @__PURE__ */ e(Sn, {}),
1827
- !U && D && !i && x.canUseFilters && h && /* @__PURE__ */ e(ln, {}),
1828
- D && !i && h && /* @__PURE__ */ e(un, {}),
1827
+ h && !i && /* @__PURE__ */ e(Dn, {}),
1828
+ !U && D && !i && x.canUseFilters && h && /* @__PURE__ */ e(un, {}),
1829
+ D && !i && h && /* @__PURE__ */ e(mn, {}),
1829
1830
  D && !U && !i && h && !$ && /* @__PURE__ */ o("div", { className: "inline-flex h-7 items-stretch overflow-hidden rounded-control border border-input bg-background", children: [
1830
1831
  /* @__PURE__ */ o(
1831
1832
  V,
@@ -1833,16 +1834,16 @@ function Ws() {
1833
1834
  variant: "ghost",
1834
1835
  size: "xs",
1835
1836
  disabled: !D,
1836
- onClick: () => void xr(),
1837
- "aria-label": A.width === "sm" ? "Add visual" : void 0,
1838
- title: A.width === "sm" ? "Add visual" : void 0,
1837
+ onClick: () => void vr(),
1838
+ "aria-label": I.width === "sm" ? "Add visual" : void 0,
1839
+ title: I.width === "sm" ? "Add visual" : void 0,
1839
1840
  className: be(
1840
1841
  "h-full rounded-none border-0 shadow-none hover:bg-accent",
1841
- A.width === "sm" && "w-7 px-0"
1842
+ I.width === "sm" && "w-7 px-0"
1842
1843
  ),
1843
1844
  children: [
1844
1845
  /* @__PURE__ */ e(ne, { className: "h-3.5 w-3.5" }),
1845
- A.width !== "sm" && "Visual"
1846
+ I.width !== "sm" && "Visual"
1846
1847
  ]
1847
1848
  }
1848
1849
  ),
@@ -1855,15 +1856,15 @@ function Ws() {
1855
1856
  className: "h-full w-7 rounded-none border-0 border-l border-border/60 px-0 shadow-none hover:bg-accent",
1856
1857
  "aria-label": "Open visual options",
1857
1858
  disabled: !D,
1858
- children: /* @__PURE__ */ e(Wa, { className: "h-3.5 w-3.5" })
1859
+ children: /* @__PURE__ */ e(Ya, { className: "h-3.5 w-3.5" })
1859
1860
  }
1860
1861
  ) }),
1861
1862
  /* @__PURE__ */ e(
1862
1863
  Mt,
1863
1864
  {
1864
1865
  align: "end",
1865
- className: "z-[60] w-48 rounded-[6px] border-border/60 p-1 shadow-sm",
1866
- children: /* @__PURE__ */ o(I, { onClick: () => mt(!0), children: [
1866
+ className: "z-[60] w-48 rounded-control border-border/60 p-1 shadow-sm",
1867
+ children: /* @__PURE__ */ o(A, { onClick: () => mt(!0), children: [
1867
1868
  /* @__PURE__ */ e(ne, { className: "h-3.5 w-3.5" }),
1868
1869
  "From library..."
1869
1870
  ] })
@@ -1871,44 +1872,44 @@ function Ws() {
1871
1872
  )
1872
1873
  ] }),
1873
1874
  /* @__PURE__ */ e(
1874
- mn,
1875
+ hn,
1875
1876
  {
1876
1877
  open: mr,
1877
1878
  onOpenChange: mt
1878
1879
  }
1879
1880
  )
1880
1881
  ] }),
1881
- !i && h && /* @__PURE__ */ e(hn, {}),
1882
+ !i && h && /* @__PURE__ */ e(pn, {}),
1882
1883
  !U && !D && (p || i) && (!f || !y || p !== void 0) && h && /* @__PURE__ */ o("div", { className: "inline-flex items-center gap-1", children: [
1883
1884
  /* @__PURE__ */ o(
1884
1885
  V,
1885
1886
  {
1886
1887
  size: "xs",
1887
- onClick: Sr,
1888
+ onClick: Dr,
1888
1889
  "aria-label": i ? "Inspect" : "Edit",
1889
- title: A.width === "sm" ? i ? "Inspect" : "Edit" : void 0,
1890
- className: A.width === "sm" ? "w-7 px-0" : void 0,
1890
+ title: I.width === "sm" ? i ? "Inspect" : "Edit" : void 0,
1891
+ className: I.width === "sm" ? "w-7 px-0" : void 0,
1891
1892
  children: [
1892
- /* @__PURE__ */ e(wa, { className: "h-3.5 w-3.5" }),
1893
- A.width !== "sm" && (i ? "Inspect" : "Edit")
1893
+ /* @__PURE__ */ e(Na, { className: "h-3.5 w-3.5" }),
1894
+ I.width !== "sm" && (i ? "Inspect" : "Edit")
1894
1895
  ]
1895
1896
  }
1896
1897
  ),
1897
- g ? /* @__PURE__ */ e(Ya, { children: /* @__PURE__ */ o(Ja, { children: [
1898
- /* @__PURE__ */ e(Xa, { asChild: !0, children: /* @__PURE__ */ e(
1898
+ g ? /* @__PURE__ */ e(Ja, { children: /* @__PURE__ */ o(Xa, { children: [
1899
+ /* @__PURE__ */ e(Za, { asChild: !0, children: /* @__PURE__ */ e(
1899
1900
  "button",
1900
1901
  {
1901
1902
  type: "button",
1902
1903
  "aria-label": g,
1903
1904
  className: "inline-flex size-6 items-center justify-center rounded-control text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
1904
- children: /* @__PURE__ */ e(Za, { "aria-hidden": "true", className: "size-3.5" })
1905
+ children: /* @__PURE__ */ e(en, { "aria-hidden": "true", className: "size-3.5" })
1905
1906
  }
1906
1907
  ) }),
1907
- /* @__PURE__ */ e(en, { children: /* @__PURE__ */ e("p", { children: g }) })
1908
+ /* @__PURE__ */ e(tn, { children: /* @__PURE__ */ e("p", { children: g }) })
1908
1909
  ] }) }) : null
1909
1910
  ] }),
1910
1911
  ze && h && We && /* @__PURE__ */ e(
1911
- Ds,
1912
+ Cs,
1912
1913
  {
1913
1914
  saved: Qe,
1914
1915
  draft: b,
@@ -1920,14 +1921,14 @@ function Ws() {
1920
1921
  {
1921
1922
  variant: "outline",
1922
1923
  size: "xs",
1923
- onClick: Ar,
1924
- disabled: Re,
1924
+ onClick: Ir,
1925
+ disabled: Te,
1925
1926
  "aria-label": "Undo",
1926
- title: A.width === "sm" ? "Undo" : void 0,
1927
- className: A.width === "sm" ? "w-7 px-0" : void 0,
1927
+ title: I.width === "sm" ? "Undo" : void 0,
1928
+ className: I.width === "sm" ? "w-7 px-0" : void 0,
1928
1929
  children: [
1929
- /* @__PURE__ */ e(Na, { className: "h-3.5 w-3.5" }),
1930
- A.width !== "sm" && "Undo"
1930
+ /* @__PURE__ */ e(Sa, { className: "h-3.5 w-3.5" }),
1931
+ I.width !== "sm" && "Undo"
1931
1932
  ]
1932
1933
  }
1933
1934
  ),
@@ -1936,11 +1937,11 @@ function Ws() {
1936
1937
  {
1937
1938
  size: "xs",
1938
1939
  className: be(!vt && "opacity-60"),
1939
- disabled: Re || !vt,
1940
+ disabled: Te || !vt,
1940
1941
  onClick: () => Ye(),
1941
1942
  children: [
1942
- Re ? /* @__PURE__ */ e($e, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(Pn, { className: "h-3.5 w-3.5" }),
1943
- Re ? "Saving..." : "Save"
1943
+ Te ? /* @__PURE__ */ e($e, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ e(_n, { className: "h-3.5 w-3.5" }),
1944
+ Te ? "Saving..." : "Save"
1944
1945
  ]
1945
1946
  }
1946
1947
  ),
@@ -1949,24 +1950,24 @@ function Ws() {
1949
1950
  {
1950
1951
  variant: "outline",
1951
1952
  size: "xs",
1952
- onClick: kr,
1953
+ onClick: Cr,
1953
1954
  "aria-label": "Close",
1954
- title: A.width === "sm" ? "Close" : void 0,
1955
- className: A.width === "sm" ? "w-7 px-0" : void 0,
1955
+ title: I.width === "sm" ? "Close" : void 0,
1956
+ className: I.width === "sm" ? "w-7 px-0" : void 0,
1956
1957
  children: [
1957
- /* @__PURE__ */ e(Sa, { className: "h-3.5 w-3.5" }),
1958
- A.width !== "sm" && "Close"
1958
+ /* @__PURE__ */ e(Da, { className: "h-3.5 w-3.5" }),
1959
+ I.width !== "sm" && "Close"
1959
1960
  ]
1960
1961
  }
1961
1962
  )
1962
1963
  ] }),
1963
- !U && h && /* @__PURE__ */ o(T, { children: [
1964
- /* @__PURE__ */ e(pn, {}),
1965
- m && p === !0 && !i && /* @__PURE__ */ e(fn, {})
1964
+ !U && h && /* @__PURE__ */ o(R, { children: [
1965
+ /* @__PURE__ */ e(fn, {}),
1966
+ m && p === !0 && !i && /* @__PURE__ */ e(gn, {})
1966
1967
  ] }),
1967
- !U && u && A.width === "lg" && /* @__PURE__ */ e(Vn, {}),
1968
- me && /* @__PURE__ */ e(gn, {}),
1969
- me && Nt && /* @__PURE__ */ e(bn, {}),
1968
+ !U && u && I.width === "lg" && /* @__PURE__ */ e(jn, {}),
1969
+ me && /* @__PURE__ */ e(bn, {}),
1970
+ me && Nt && /* @__PURE__ */ e(xn, {}),
1970
1971
  me && /* @__PURE__ */ o(At, { children: [
1971
1972
  /* @__PURE__ */ e(It, { asChild: !0, children: /* @__PURE__ */ e(
1972
1973
  V,
@@ -1975,7 +1976,7 @@ function Ws() {
1975
1976
  size: "xs",
1976
1977
  className: "w-7 px-0",
1977
1978
  "aria-label": "More dashboard options",
1978
- children: /* @__PURE__ */ e(Da, { className: "h-3.5 w-3.5" })
1979
+ children: /* @__PURE__ */ e(ka, { className: "h-3.5 w-3.5" })
1979
1980
  }
1980
1981
  ) }),
1981
1982
  /* @__PURE__ */ o(
@@ -1984,17 +1985,17 @@ function Ws() {
1984
1985
  align: "end",
1985
1986
  className: "w-56 rounded-control border border-border/60 p-1 shadow-sm",
1986
1987
  children: [
1987
- /* @__PURE__ */ e(ks, {}),
1988
- Te.available && Lr && /* @__PURE__ */ o(T, { children: [
1988
+ /* @__PURE__ */ e(Es, {}),
1989
+ Re.available && Or && /* @__PURE__ */ o(R, { children: [
1989
1990
  /* @__PURE__ */ o(
1990
- I,
1991
+ A,
1991
1992
  {
1992
- disabled: Te.disabled,
1993
- onSelect: Te.toggle,
1993
+ disabled: Re.disabled,
1994
+ onSelect: Re.toggle,
1994
1995
  children: [
1995
- /* @__PURE__ */ e(ka, { className: "h-3.5 w-3.5" }),
1996
+ /* @__PURE__ */ e(Ca, { className: "h-3.5 w-3.5" }),
1996
1997
  /* @__PURE__ */ e("span", { className: "flex-1", children: "Default dashboard" }),
1997
- Te.isDefault && /* @__PURE__ */ e(zt, { className: "h-3.5 w-3.5" })
1998
+ Re.isDefault && /* @__PURE__ */ e(zt, { className: "h-3.5 w-3.5" })
1998
1999
  ]
1999
2000
  }
2000
2001
  ),
@@ -2002,18 +2003,18 @@ function Ws() {
2002
2003
  ] }),
2003
2004
  /* @__PURE__ */ e(he, { children: "Reports & briefings" }),
2004
2005
  /* @__PURE__ */ o(
2005
- I,
2006
+ A,
2006
2007
  {
2007
2008
  disabled: O,
2008
2009
  onSelect: () => B(!0),
2009
2010
  children: [
2010
- /* @__PURE__ */ e(Ca, { className: "h-3.5 w-3.5" }),
2011
+ /* @__PURE__ */ e(Ea, { className: "h-3.5 w-3.5" }),
2011
2012
  "Export"
2012
2013
  ]
2013
2014
  }
2014
2015
  ),
2015
2016
  /* @__PURE__ */ e(
2016
- ws,
2017
+ Ss,
2017
2018
  {
2018
2019
  scheduleReportVisible: !!(wt && c.surfaceVisible && W && !D),
2019
2020
  analyticalBriefingVisible: !!(wt && c.surfaceVisible && W && !D),
@@ -2022,24 +2023,24 @@ function Ws() {
2022
2023
  }
2023
2024
  ),
2024
2025
  D && /* @__PURE__ */ o(
2025
- I,
2026
+ A,
2026
2027
  {
2027
2028
  onSelect: () => Ce(!0),
2028
2029
  children: [
2029
- /* @__PURE__ */ e(Ea, { className: "h-3.5 w-3.5" }),
2030
+ /* @__PURE__ */ e(Aa, { className: "h-3.5 w-3.5" }),
2030
2031
  "Download settings"
2031
2032
  ]
2032
2033
  }
2033
2034
  ),
2034
2035
  /* @__PURE__ */ e(ae, {}),
2035
- (Q.showDashboardSharing || Q.showGroupManagement) && /* @__PURE__ */ o(T, { children: [
2036
+ (Q.showDashboardSharing || Q.showGroupManagement) && /* @__PURE__ */ o(R, { children: [
2036
2037
  /* @__PURE__ */ e(he, { children: "Access" }),
2037
- Q.showDashboardSharing && /* @__PURE__ */ o(I, { onSelect: () => X(!0), children: [
2038
- /* @__PURE__ */ e(Aa, { className: "h-3.5 w-3.5" }),
2038
+ Q.showDashboardSharing && /* @__PURE__ */ o(A, { onSelect: () => X(!0), children: [
2039
+ /* @__PURE__ */ e(Ia, { className: "h-3.5 w-3.5" }),
2039
2040
  "Share"
2040
2041
  ] }),
2041
2042
  Q.showGroupManagement && /* @__PURE__ */ o(
2042
- I,
2043
+ A,
2043
2044
  {
2044
2045
  onClick: () => ee(!0),
2045
2046
  children: [
@@ -2050,25 +2051,29 @@ function Ws() {
2050
2051
  ),
2051
2052
  /* @__PURE__ */ e(ae, {})
2052
2053
  ] }),
2053
- Nt && /* @__PURE__ */ o(T, { children: [
2054
+ Nt && /* @__PURE__ */ o(R, { children: [
2054
2055
  /* @__PURE__ */ e(he, { children: "Dashboard" }),
2055
- /* @__PURE__ */ o(I, { onSelect: Je.open, children: [
2056
+ /* @__PURE__ */ o(A, { onSelect: Je.open, children: [
2056
2057
  /* @__PURE__ */ e(Pt, { className: "h-3.5 w-3.5" }),
2057
2058
  /* @__PURE__ */ e("span", { className: "flex-1", children: Je.label }),
2058
2059
  /* @__PURE__ */ e("span", { className: "pl-4 text-[11px] tabular-nums text-muted-foreground", children: Je.count })
2059
2060
  ] }),
2061
+ /* @__PURE__ */ o(A, { onSelect: gr, children: [
2062
+ /* @__PURE__ */ e(Tn, { className: "h-3.5 w-3.5" }),
2063
+ "Style"
2064
+ ] }),
2060
2065
  /* @__PURE__ */ e(ae, {})
2061
2066
  ] }),
2062
2067
  /* @__PURE__ */ e(he, { children: "Preferences" }),
2063
- /* @__PURE__ */ o(I, { onClick: () => De(!0), children: [
2068
+ /* @__PURE__ */ o(A, { onClick: () => De(!0), children: [
2064
2069
  /* @__PURE__ */ e(jt, { className: "h-3.5 w-3.5" }),
2065
2070
  "Report preferences"
2066
2071
  ] }),
2067
- u && h && /* @__PURE__ */ o(T, { children: [
2072
+ u && h && /* @__PURE__ */ o(R, { children: [
2068
2073
  /* @__PURE__ */ e(ae, {}),
2069
2074
  /* @__PURE__ */ e(he, { children: "Developer" }),
2070
2075
  /* @__PURE__ */ o(
2071
- I,
2076
+ A,
2072
2077
  {
2073
2078
  onSelect: () => {
2074
2079
  var d;
@@ -2083,7 +2088,7 @@ function Ws() {
2083
2088
  }
2084
2089
  ),
2085
2090
  $ && /* @__PURE__ */ o(
2086
- I,
2091
+ A,
2087
2092
  {
2088
2093
  disabled: !qe,
2089
2094
  onSelect: () => {
@@ -2111,21 +2116,21 @@ function Ws() {
2111
2116
  }
2112
2117
  ),
2113
2118
  /* @__PURE__ */ o(
2114
- I,
2119
+ A,
2115
2120
  {
2116
- onSelect: () => xn(n.apiServiceUrl),
2121
+ onSelect: () => vn(n.apiServiceUrl),
2117
2122
  children: [
2118
- /* @__PURE__ */ e(Tn, { className: "h-3.5 w-3.5" }),
2123
+ /* @__PURE__ */ e(Bn, { className: "h-3.5 w-3.5" }),
2119
2124
  "Invalidate token"
2120
2125
  ]
2121
2126
  }
2122
2127
  ),
2123
- /* @__PURE__ */ o(I, { onSelect: l, children: [
2124
- /* @__PURE__ */ e(_n, { className: "h-3.5 w-3.5" }),
2128
+ /* @__PURE__ */ o(A, { onSelect: l, children: [
2129
+ /* @__PURE__ */ e(Rn, { className: "h-3.5 w-3.5" }),
2125
2130
  "Brand Studio"
2126
2131
  ] }),
2127
2132
  D && /* @__PURE__ */ o(
2128
- I,
2133
+ A,
2129
2134
  {
2130
2135
  onSelect: () => ft(!ht),
2131
2136
  children: [
@@ -2140,7 +2145,7 @@ function Ws() {
2140
2145
  )
2141
2146
  ] }),
2142
2147
  J && bt && /* @__PURE__ */ e(
2143
- Ia,
2148
+ Ma,
2144
2149
  {
2145
2150
  resource: bt,
2146
2151
  resourceType: Xe.DASHBOARD,
@@ -2148,28 +2153,28 @@ function Ws() {
2148
2153
  }
2149
2154
  ),
2150
2155
  Q.showGroupManagement && /* @__PURE__ */ e(
2151
- ls,
2156
+ ms,
2152
2157
  {
2153
2158
  open: Z,
2154
2159
  onOpenChange: ee
2155
2160
  }
2156
2161
  ),
2157
2162
  /* @__PURE__ */ e(
2158
- Dn,
2163
+ kn,
2159
2164
  {
2160
2165
  open: Se,
2161
2166
  onOpenChange: De
2162
2167
  }
2163
2168
  ),
2164
2169
  /* @__PURE__ */ e(
2165
- xs,
2170
+ ys,
2166
2171
  {
2167
2172
  open: ke,
2168
2173
  onOpenChange: Ce
2169
2174
  }
2170
2175
  ),
2171
2176
  W && (se || Ee) ? /* @__PURE__ */ e(
2172
- vn,
2177
+ yn,
2173
2178
  {
2174
2179
  dashboardId: W,
2175
2180
  dashboardTitle: (b == null ? void 0 : b.title) || (G == null ? void 0 : G.title),
@@ -2183,31 +2188,31 @@ function Ws() {
2183
2188
  }
2184
2189
  ) : null,
2185
2190
  h && /* @__PURE__ */ e(
2186
- Ma,
2191
+ La,
2187
2192
  {
2188
2193
  open: v,
2189
2194
  onOpenChange: B
2190
2195
  }
2191
2196
  ),
2192
2197
  /* @__PURE__ */ e(
2193
- La,
2198
+ Oa,
2194
2199
  {
2195
2200
  open: Ie,
2196
2201
  onOpenChange: (d) => {
2197
2202
  !d && Ve && !z || (q(d), d || (K(null), Me([]), Le(!1)));
2198
2203
  },
2199
- children: /* @__PURE__ */ o(Oa, { className: "max-w-sm", children: [
2200
- /* @__PURE__ */ o(Pa, { children: [
2201
- /* @__PURE__ */ e(_a, { children: z ? "Save failed" : "Saving dashboard" }),
2204
+ children: /* @__PURE__ */ o(Pa, { className: "max-w-sm", children: [
2205
+ /* @__PURE__ */ o(_a, { children: [
2206
+ /* @__PURE__ */ e(Ta, { children: z ? "Save failed" : "Saving dashboard" }),
2202
2207
  /* @__PURE__ */ e(Ra, { className: "pt-2", children: z ? "We could not save the dashboard. Please try again." : "Please wait while we save your changes." }),
2203
2208
  oe.length > 0 && /* @__PURE__ */ o("div", { className: "space-y-1 rounded-md border border-destructive/20 bg-destructive/5 p-3 text-left", children: [
2204
2209
  /* @__PURE__ */ e("div", { className: "text-sm font-medium text-destructive", children: "What needs attention" }),
2205
2210
  /* @__PURE__ */ e("ul", { className: "list-disc space-y-1 pl-4 text-xs text-muted-foreground", children: oe.slice(0, 5).map((d) => /* @__PURE__ */ e("li", { children: d }, d)) })
2206
2211
  ] })
2207
2212
  ] }),
2208
- /* @__PURE__ */ e(Ta, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: z ? /* @__PURE__ */ o(T, { children: [
2213
+ /* @__PURE__ */ e(Ua, { className: "flex-col gap-2 sm:flex-row sm:justify-end", children: z ? /* @__PURE__ */ o(R, { children: [
2209
2214
  /* @__PURE__ */ e(
2210
- Ua,
2215
+ Ba,
2211
2216
  {
2212
2217
  onClick: () => {
2213
2218
  q(!1), K(null), Me([]), Le(!1);
@@ -2235,14 +2240,14 @@ function Ws() {
2235
2240
  }
2236
2241
  ),
2237
2242
  /* @__PURE__ */ e(
2238
- yn,
2243
+ wn,
2239
2244
  {
2240
- open: vr,
2245
+ open: yr,
2241
2246
  onOpenChange: (d) => {
2242
2247
  de(d);
2243
2248
  },
2244
- onSave: Cr,
2245
- onDiscard: Er,
2249
+ onSave: Er,
2250
+ onDiscard: Ar,
2246
2251
  isSaving: Ve,
2247
2252
  saveLabel: "Save",
2248
2253
  discardLabel: "Discard changes"
@@ -2253,10 +2258,10 @@ function Ws() {
2253
2258
  }
2254
2259
  ) });
2255
2260
  }
2256
- function ks() {
2257
- const t = kn();
2258
- return t.length === 0 ? null : /* @__PURE__ */ o(T, { children: [
2259
- t.map((n) => /* @__PURE__ */ o(I, { onSelect: n.onSelect, children: [
2261
+ function Es() {
2262
+ const t = Cn();
2263
+ return t.length === 0 ? null : /* @__PURE__ */ o(R, { children: [
2264
+ t.map((n) => /* @__PURE__ */ o(A, { onSelect: n.onSelect, children: [
2260
2265
  n.icon,
2261
2266
  /* @__PURE__ */ e("span", { className: "flex-1", children: n.label }),
2262
2267
  n.hint && /* @__PURE__ */ e("span", { className: "text-[11px] text-muted-foreground", children: n.hint }),
@@ -2265,7 +2270,7 @@ function ks() {
2265
2270
  /* @__PURE__ */ e(ae, {})
2266
2271
  ] });
2267
2272
  }
2268
- function Cs({
2273
+ function As({
2269
2274
  accessToken: t,
2270
2275
  dashboardId: n,
2271
2276
  selectedSheetId: a,
@@ -2281,5 +2286,5 @@ function Cs({
2281
2286
  return m.searchParams.set("pdfMode", "document"), m.searchParams.set("pageSize", r || "letter"), m.searchParams.set("orientation", s || "portrait"), m.searchParams.set("url", u.toString()), m.toString();
2282
2287
  }
2283
2288
  export {
2284
- Ws as default
2289
+ Xs as default
2285
2290
  };