react-semaphor 0.1.417 → 0.1.418

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 (59) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +49 -50
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +2 -2
  5. package/dist/chunks/analyze-result-contract-Akysi2ML.js +2003 -0
  6. package/dist/chunks/analyze-result-contract-COjyJzYm.js +1 -0
  7. package/dist/chunks/{calendar-preferences-dialog-BOfryj8P.js → calendar-preferences-dialog-BbuLgela.js} +3 -3
  8. package/dist/chunks/{calendar-preferences-dialog-Rq9qiG3X.js → calendar-preferences-dialog-CInkkhl_.js} +1 -1
  9. package/dist/chunks/{dashboard-briefing-launcher-D_P0cNQ_.js → dashboard-briefing-launcher-B4OWNsVD.js} +1 -1
  10. package/dist/chunks/{dashboard-briefing-launcher-DgvlOcRI.js → dashboard-briefing-launcher-D7FNuDuc.js} +4 -4
  11. package/dist/chunks/{dashboard-controls-DzVA-wWu.js → dashboard-controls-DTC1eCz0.js} +1 -1
  12. package/dist/chunks/{dashboard-controls-JYTKRokc.js → dashboard-controls-DcX7Mid4.js} +5 -5
  13. package/dist/chunks/{dashboard-json-h6YMk_-l.js → dashboard-json-BHWbQS6I.js} +3 -3
  14. package/dist/chunks/{dashboard-json-D5TEri2w.js → dashboard-json-vu38P5pV.js} +1 -1
  15. package/dist/chunks/{edit-dashboard-visual-kfbu03n9.js → edit-dashboard-visual-CkBhJBhp.js} +1 -1
  16. package/dist/chunks/{edit-dashboard-visual-DOtCYmDn.js → edit-dashboard-visual-DsCr90_3.js} +4 -4
  17. package/dist/chunks/{index-BgESS5r7.js → index-C56DuHI8.js} +163 -164
  18. package/dist/chunks/{index-Beol8cOo.js → index-C8thRvkW.js} +4 -4
  19. package/dist/chunks/{switch--FHwRAOL.js → switch-BXuyni6l.js} +1 -1
  20. package/dist/chunks/{switch-C8_t4Pio.js → switch-Dsx-IwBE.js} +1 -1
  21. package/dist/chunks/{update-policy-CQLHKQ_h.js → update-policy-B5S_LfEu.js} +161 -142
  22. package/dist/chunks/update-policy-BqBKUk3Q.js +3 -0
  23. package/dist/chunks/{use-create-flow-overlay-state-BEPWzqQn.js → use-create-flow-overlay-state-BDv_VpL6.js} +1 -1
  24. package/dist/chunks/{use-create-flow-overlay-state-NEs9ePDy.js → use-create-flow-overlay-state-CzftV84t.js} +3 -3
  25. package/dist/chunks/{validators-UqQI3Cg_.js → validators-CLzrE2N_.js} +1 -1
  26. package/dist/chunks/validators-CPFcUMrV.js +1 -0
  27. package/dist/dashboard/index.cjs +1 -1
  28. package/dist/dashboard/index.js +1 -1
  29. package/dist/dashboard-authoring/index.cjs +3 -3
  30. package/dist/dashboard-authoring/index.js +28 -29
  31. package/dist/data-app-builder/index.cjs +1 -1
  32. package/dist/data-app-builder/index.js +2 -2
  33. package/dist/data-app-codegen/index.cjs +1 -1
  34. package/dist/data-app-codegen/index.js +2 -2
  35. package/dist/data-app-codegen-node/index.cjs +154 -125
  36. package/dist/data-app-codegen-node/index.js +695 -613
  37. package/dist/data-app-sdk/index.cjs +2 -2
  38. package/dist/data-app-sdk/index.js +171 -157
  39. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  40. package/dist/data-app-sdk-adapters/index.js +26 -27
  41. package/dist/data-app-sdk-validation/index.cjs +1 -1
  42. package/dist/data-app-sdk-validation/index.js +17 -18
  43. package/dist/index.cjs +1 -1
  44. package/dist/index.js +7 -7
  45. package/dist/surfboard/index.cjs +1 -1
  46. package/dist/surfboard/index.js +2 -2
  47. package/dist/types/analytics-protocol.d.ts +5 -0
  48. package/dist/types/dashboard-assistant.d.ts +1 -0
  49. package/dist/types/data-app-codegen-node.d.ts +2 -1
  50. package/dist/types/data-app-codegen.d.ts +2 -1
  51. package/dist/types/data-app-sdk-validation.d.ts +1 -0
  52. package/dist/types/data-app-sdk.d.ts +6 -0
  53. package/package.json +1 -1
  54. package/dist/chunks/analyze-result-contract-B0O3oIYu.js +0 -1870
  55. package/dist/chunks/analyze-result-contract-CL97m8X8.js +0 -1
  56. package/dist/chunks/source-identity-BM2FvJDP.js +0 -1
  57. package/dist/chunks/source-identity-Cv4Nm3TM.js +0 -75
  58. package/dist/chunks/update-policy-B50M0Jeg.js +0 -3
  59. package/dist/chunks/validators-JzI7olk4.js +0 -1
@@ -19,19 +19,18 @@ import * as J from "react";
19
19
  import he, { createContext as Nr, useContext as Fn, useState as ee, useMemo as Q, useEffect as xe, useCallback as ge, useRef as Re, forwardRef as Ii, isValidElement as fg, memo as ds, useLayoutEffect as la, Component as KG, createElement as Lo, Suspense as oc, cloneElement as PO, Fragment as aw, useId as Tc, useSyncExternalStore as DS, useTransition as Zpe, useReducer as Xpe, Children as Qpe, startTransition as ZG, useImperativeHandle as XG, lazy as qk } from "react";
20
20
  import * as VA from "react-dom";
21
21
  import sw, { flushSync as su, createPortal as Um, unstable_batchedUpdates as R1 } from "react-dom";
22
- import { bz as lu, bA as lw, bB as BA, A as Nn, bC as Wk, bD as QG, u as ne, bE as Jpe, bh as Yn, b0 as Pa, bF as i6, bG as ege, bH as tge, bI as nge, aC as rge, bJ as oge, p as Is, c as X, bK as Eu, bL as kl, bM as en, bN as lo, bO as FO, bP as Hs, bQ as OO, bR as $n, bS as Gk, bT as Yk, bU as JG, bV as eY, bW as tY, bX as nY, bY as LO, bZ as $O, b_ as rY, b$ as oY, c0 as iY, c1 as ige, ax as zO, c2 as Kk, c3 as VO, c4 as ca, c5 as aY, c6 as Il, c7 as yc, d as ur, B as Ae, e as Yr, c8 as BO, bv as Lu, c9 as cw, aA as Zk, aB as si, ca as Qr, cb as age, N as Ja, az as Gd, cc as CN, P as dr, a as xr, b as wr, aJ as sge, cd as lge, aK as cge, ce as uw, L as ut, Z as zt, aF as go, be as uge, cf as dge, cg as sY, ch as fge, ci as SN, cj as jA, ck as Sb, cl as Nb, cm as a6, cn as hge, co as lY, cp as cY, cq as mge, cr as pge, cs as gge, ct as bge, aS as Du, cu as s6, cv as yge, cw as vge, aG as gf, bq as jO, E as at, aL as ir, av as HO, cx as HA, bg as uY, bo as Rs, bp as sl, cy as xge, cz as wge, F as yo, cA as dY, cB as NN, cC as fY, cD as UO, cE as qO, cF as hY, aD as Xk, cG as Qk, cH as WO, cI as GO, bs as $u, cJ as mY, br as zu, cK as Cge, cL as YO, bt as KO, cM as Sge, bc as BE, aM as es, cN as vh, cO as sm, w as Nge, O as Ya, _ as Wt, $ as Gt, a0 as Kt, a1 as Yt, a2 as et, cP as pY, cQ as _ge, aR as qm, cR as kge, cS as Di, bb as qo, b9 as Ige, ba as Tge, S as jg, cT as ZO, cU as gY, cV as bY, cW as yY, cX as _N, Q as bo, V as Ir, W as Tr, X as io, Y as qr, cY as Ege, b1 as vY, cZ as xY, c_ as Dge, c$ as Mge, d0 as Age, T as Vu, G as Bu, H as Ci, J as Ld, I as Mu, d1 as XO, by as cu, bx as wd, d2 as tv, d3 as MS, d4 as AS, d5 as nv, d6 as Jf, d7 as eh, d8 as el, d9 as RS, da as PS, db as rv, dc as UA, dd as qA, de as WA, l as vl, k as Yd, df as Rge, dg as C0, dh as Pge, di as wY, dj as jE, dk as HE, dl as Fge, dm as Oge, dn as Lge, dp as $ge, dq as zge, dr as Vge, ds as QO, aI as Bge, dt as jge, du as Hge, dv as CY, dw as SY, C as Jk, aT as NY, dx as Uge, dy as qge, a$ as _Y, dz as Wge, ay as Gge, dA as Yge, dB as kY, b2 as IY, dC as Kge, b5 as Cd, dD as zv, b6 as JO, dE as TY, dF as Dy, bf as l6, dG as EY, dH as Zge, dI as Xge, dJ as Qge, dK as DY, dL as c6, dM as MY, dN as cd, dO as AY, dP as RY, dQ as e5, a3 as vc, dR as Jge, dS as ebe, bk as eI, aE as ov, aO as t5, K as n5, y as tbe, dT as nbe, dU as rbe, M as GA, dV as obe, dW as u6, dX as d6, dY as PY, dZ as ibe, d_ as abe, d$ as sbe, e0 as lbe, e1 as cbe, e2 as ube, e3 as dbe, e4 as fbe, e5 as hbe, t as YA, o as FY, n as OY, j as mbe, h as f6, e6 as KA, e7 as pbe, e8 as gbe, e9 as bbe, ea as ybe, eb as vbe, ec as $d, ed as r5, ee as Ql, bu as xbe, ef as wbe, eg as LY, eh as Cbe, aj as o5, ei as i5, ae as tI, af as Sbe, ah as $Y, ej as Nbe, ai as UE, ek as _be, el as kbe, em as Ibe, aW as Tbe, aX as Ebe, ap as Dbe, a7 as zY, en as Fl, aa as Mbe, ac as VY, ab as qE, ao as BY, ak as jY, aq as ZA, at as h6, as as Abe, ad as HY, eo as XA, ep as Sd, R as m6, eq as UY, er as P1, es as Rbe, et as a5, eu as QA, ev as Pbe, ew as Vv, aP as Fbe, ex as Obe, a5 as Lbe, aw as $be, U as s5, ey as zbe, bl as _b, bm as qY, bn as WY, ez as GY, eA as l5, eB as c5, bj as YY, b3 as Vbe, eC as Bbe, eD as jbe, eE as Hbe, eF as Ube, eG as qbe, eH as KY } from "./switch-C8_t4Pio.js";
22
+ import { bz as lu, bA as lw, bB as BA, A as Nn, bC as Wk, bD as QG, u as ne, bE as Jpe, bh as Yn, b0 as Pa, bF as i6, bG as ege, bH as tge, bI as nge, aC as rge, bJ as oge, p as Is, c as X, bK as Eu, bL as kl, bM as en, bN as lo, bO as FO, bP as Hs, bQ as OO, bR as $n, bS as Gk, bT as Yk, bU as JG, bV as eY, bW as tY, bX as nY, bY as LO, bZ as $O, b_ as rY, b$ as oY, c0 as iY, c1 as ige, ax as zO, c2 as Kk, c3 as VO, c4 as ca, c5 as aY, c6 as Il, c7 as yc, d as ur, B as Ae, e as Yr, c8 as BO, bv as Lu, c9 as cw, aA as Zk, aB as si, ca as Qr, cb as age, N as Ja, az as Gd, cc as CN, P as dr, a as xr, b as wr, aJ as sge, cd as lge, aK as cge, ce as uw, L as ut, Z as zt, aF as go, be as uge, cf as dge, cg as sY, ch as fge, ci as SN, cj as jA, ck as Sb, cl as Nb, cm as a6, cn as hge, co as lY, cp as cY, cq as mge, cr as pge, cs as gge, ct as bge, aS as Du, cu as s6, cv as yge, cw as vge, aG as gf, bq as jO, E as at, aL as ir, av as HO, cx as HA, bg as uY, bo as Rs, bp as sl, cy as xge, cz as wge, F as yo, cA as dY, cB as NN, cC as fY, cD as UO, cE as qO, cF as hY, aD as Xk, cG as Qk, cH as WO, cI as GO, bs as $u, cJ as mY, br as zu, cK as Cge, cL as YO, bt as KO, cM as Sge, bc as BE, aM as es, cN as vh, cO as sm, w as Nge, O as Ya, _ as Wt, $ as Gt, a0 as Kt, a1 as Yt, a2 as et, cP as pY, cQ as _ge, aR as qm, cR as kge, cS as Di, bb as qo, b9 as Ige, ba as Tge, S as jg, cT as ZO, cU as gY, cV as bY, cW as yY, cX as _N, Q as bo, V as Ir, W as Tr, X as io, Y as qr, cY as Ege, b1 as vY, cZ as xY, c_ as Dge, c$ as Mge, d0 as Age, T as Vu, G as Bu, H as Ci, J as Ld, I as Mu, d1 as XO, by as cu, bx as wd, d2 as tv, d3 as MS, d4 as AS, d5 as nv, d6 as Jf, d7 as eh, d8 as el, d9 as RS, da as PS, db as rv, dc as UA, dd as qA, de as WA, l as vl, k as Yd, df as Rge, dg as C0, dh as Pge, di as wY, dj as jE, dk as HE, dl as Fge, dm as Oge, dn as Lge, dp as $ge, dq as zge, dr as Vge, ds as QO, aI as Bge, dt as jge, du as Hge, dv as CY, dw as SY, C as Jk, aT as NY, dx as Uge, dy as qge, a$ as _Y, dz as Wge, ay as Gge, dA as Yge, dB as kY, b2 as IY, dC as Kge, b5 as Cd, dD as zv, b6 as JO, dE as TY, dF as Dy, bf as l6, dG as EY, dH as Zge, dI as Xge, dJ as Qge, dK as DY, dL as c6, dM as MY, dN as cd, dO as AY, dP as RY, dQ as e5, a3 as vc, dR as Jge, dS as ebe, bk as eI, aE as ov, aO as t5, K as n5, y as tbe, dT as nbe, dU as rbe, M as GA, dV as obe, dW as u6, dX as d6, dY as PY, dZ as ibe, d_ as abe, d$ as sbe, e0 as lbe, e1 as cbe, e2 as ube, e3 as dbe, e4 as fbe, e5 as hbe, t as YA, o as FY, n as OY, j as mbe, h as f6, e6 as KA, e7 as pbe, e8 as gbe, e9 as bbe, ea as ybe, eb as vbe, ec as $d, ed as r5, ee as Ql, bu as xbe, ef as wbe, eg as LY, eh as Cbe, aj as o5, ei as i5, ae as tI, af as Sbe, ah as $Y, ej as Nbe, ai as UE, ek as _be, el as kbe, em as Ibe, aW as Tbe, aX as Ebe, ap as Dbe, a7 as zY, en as Fl, aa as Mbe, ac as VY, ab as qE, ao as BY, ak as jY, aq as ZA, at as h6, as as Abe, ad as HY, eo as XA, ep as Sd, R as m6, eq as UY, er as P1, es as Rbe, et as a5, eu as QA, ev as Pbe, ew as Vv, aP as Fbe, ex as Obe, a5 as Lbe, aw as $be, U as s5, ey as zbe, bl as _b, bm as qY, bn as WY, ez as GY, eA as l5, eB as c5, bj as YY, b3 as Vbe, eC as Bbe, eD as jbe, eE as Hbe, eF as Ube, eG as qbe, eH as KY } from "./switch-Dsx-IwBE.js";
23
23
  import { j as Wbe, c as st, X as dn, C as fa } from "./x-CXDkqdur.js";
24
- import "./analyze-result-contract-B0O3oIYu.js";
25
- import { c as dw, d as Gbe, A as Ybe, r as ZY } from "./index-CJdxSyQq.js";
26
- import { createRoot as Kbe } from "react-dom/client";
24
+ import { I as Gbe } from "./analyze-result-contract-Akysi2ML.js";
25
+ import { c as dw, d as Ybe, A as Kbe, r as ZY } from "./index-CJdxSyQq.js";
26
+ import { createRoot as Zbe } from "react-dom/client";
27
27
  import { S as qi, C as Cr, E as nI, a as u5, M as XY } from "./search-BHsQIWBV.js";
28
- import { DEFAULT_SEMANTIC_DOMAIN_ACCESS as Zbe } from "../types/index.js";
29
- import { i as Xbe, g as Qbe, c as JA, d as Jbe, f as bf, a as fw, b as Wm, j as hg } from "./date-formatter-BlhBftA9.js";
28
+ import { DEFAULT_SEMANTIC_DOMAIN_ACCESS as Xbe } from "../types/index.js";
29
+ import { i as Qbe, g as Jbe, c as JA, d as eye, f as bf, a as fw, b as Wm, j as hg } from "./date-formatter-BlhBftA9.js";
30
30
  import { b as QY } from "./catalog-field-grounding-CJKAqtiC.js";
31
- import { t as JY, i as eK, j as tK, f as yr, h as eR, k as eye, d as nK } from "./index-CjzRe2su.js";
31
+ import { t as JY, i as eK, j as tK, f as yr, h as eR, k as tye, d as nK } from "./index-CjzRe2su.js";
32
32
  import { a as ts, b as p6 } from "./normalize-dashboard-for-dirty-check-5KpZN8xr.js";
33
- import { a as os, c as g6, C as zd, i as rK, b as tye, d as nye } from "./common-types-4bjoIgvm.js";
34
- import { b as rye } from "./source-identity-Cv4Nm3TM.js";
33
+ import { a as os, c as g6, C as zd, i as rK, b as nye, d as rye } from "./common-types-4bjoIgvm.js";
35
34
  import { isDashboardAssistantVisualToolPartType as oK } from "../dashboard-assistant/index.js";
36
35
  import { D as oye } from "./contracts-CoCOpd_i.js";
37
36
  import { createFrameLayouts as iye } from "../layouts/index.js";
@@ -3231,7 +3230,7 @@ const Ui = Wk()(
3231
3230
  }
3232
3231
  }
3233
3232
  }))
3234
- ), Zkt = () => Ui((e) => e.selectedVisual), Ib = () => Ui((e) => e.actions);
3233
+ ), Kkt = () => Ui((e) => e.selectedVisual), Ib = () => Ui((e) => e.actions);
3235
3234
  function oI() {
3236
3235
  const {
3237
3236
  authToken: e,
@@ -6331,7 +6330,7 @@ var owe = "DropdownMenuSubContent", OZ = J.forwardRef((e, t) => {
6331
6330
  });
6332
6331
  OZ.displayName = owe;
6333
6332
  var iwe = CZ, awe = NZ, swe = _Z, LZ = IZ, $Z = TZ, zZ = EZ, VZ = DZ, lwe = MZ, BZ = AZ, jZ = RZ, HZ = PZ, cwe = nwe, UZ = FZ, qZ = OZ;
6334
- const Wi = iwe, Gi = awe, WZ = cwe, Xkt = lwe, A5 = J.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ C(
6333
+ const Wi = iwe, Gi = awe, WZ = cwe, Zkt = lwe, A5 = J.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ C(
6335
6334
  UZ,
6336
6335
  {
6337
6336
  ref: o,
@@ -7462,14 +7461,14 @@ function l1e(e, t) {
7462
7461
  t
7463
7462
  );
7464
7463
  }
7465
- function Jkt(e, t) {
7464
+ function Qkt(e, t) {
7466
7465
  return JZ(
7467
7466
  Oo.VISUAL,
7468
7467
  e,
7469
7468
  t
7470
7469
  );
7471
7470
  }
7472
- function eIt(e) {
7471
+ function Jkt(e) {
7473
7472
  const { authToken: t, tokenProps: n } = Tt(), r = jo();
7474
7473
  return ua({
7475
7474
  mutationFn: (o) => si(
@@ -7487,7 +7486,7 @@ function eIt(e) {
7487
7486
  }
7488
7487
  });
7489
7488
  }
7490
- function tIt() {
7489
+ function eIt() {
7491
7490
  const { authToken: e, tokenProps: t } = Tt(), n = jo();
7492
7491
  return ua({
7493
7492
  mutationFn: async ({
@@ -9174,7 +9173,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
9174
9173
  ) || console.warn(t);
9175
9174
  }, [t, e]), null;
9176
9175
  }, oCe = xX, iCe = wX, aCe = CX, AX = SX, RX = NX, PX = EX, FX = MX, OX = kX, LX = TX;
9177
- const Rb = oCe, nIt = iCe, sCe = aCe, $X = J.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
9176
+ const Rb = oCe, tIt = iCe, sCe = aCe, $X = J.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
9178
9177
  AX,
9179
9178
  {
9180
9179
  className: X(
@@ -9334,7 +9333,7 @@ function dCe(e = {}) {
9334
9333
  refetch: o.refetch
9335
9334
  };
9336
9335
  }
9337
- function rIt(e) {
9336
+ function nIt(e) {
9338
9337
  const { authToken: t, tokenProps: n } = Tt(), r = (n == null ? void 0 : n.endUserId) || (n == null ? void 0 : n.orgUserId);
9339
9338
  return sr({
9340
9339
  queryKey: ["group-members", e],
@@ -11110,7 +11109,7 @@ function G6(e, t = {}) {
11110
11109
  return n;
11111
11110
  }
11112
11111
  function Ry(e) {
11113
- return e ? Gbe(e) : void 0;
11112
+ return e ? Ybe(e) : void 0;
11114
11113
  }
11115
11114
  function tSe(e) {
11116
11115
  return `${Number((e / 16).toFixed(4))}rem`;
@@ -11509,22 +11508,22 @@ function dSe(e) {
11509
11508
  // as these are viewing preferences, not data modifications
11510
11509
  };
11511
11510
  }
11512
- function oIt(e) {
11511
+ function rIt(e) {
11513
11512
  return e ? e.type === "organization" ? !0 : e.type === "tenant" ? xw(e.role) : !1 : !1;
11514
11513
  }
11515
- function iIt(e) {
11514
+ function oIt(e) {
11516
11515
  return e ? e.type === "organization" ? !0 : e.type === "tenant" ? xw(e.role) : !1 : !1;
11517
11516
  }
11518
- function aIt(e) {
11517
+ function iIt(e) {
11519
11518
  return !!e;
11520
11519
  }
11521
11520
  function fSe(e) {
11522
11521
  return e ? e.type === "organization" ? !0 : e.type === "tenant" ? xw(e.role) : !1 : !1;
11523
11522
  }
11524
- function sIt(e) {
11523
+ function aIt(e) {
11525
11524
  return e ? e.type === "organization" ? !0 : e.type === "tenant" ? xw(e.role) : !1 : !1;
11526
11525
  }
11527
- function lIt(e) {
11526
+ function sIt(e) {
11528
11527
  var t;
11529
11528
  return e ? e.type === "organization" ? !0 : e.type === "tenant" ? ((t = e.role) == null ? void 0 : t.toUpperCase()) === "POWER_USER" : !1 : !1;
11530
11529
  }
@@ -12110,7 +12109,7 @@ const B5 = Wk()(
12110
12109
  )
12111
12110
  }
12112
12111
  }))
12113
- ), SSe = () => B5((e) => e.actions), cIt = () => B5((e) => e.activeExports), uIt = () => B5((e) => Array.from(e.activeExports.values()).filter(
12112
+ ), SSe = () => B5((e) => e.actions), lIt = () => B5((e) => e.activeExports), cIt = () => B5((e) => Array.from(e.activeExports.values()).filter(
12114
12113
  (n) => ["pending", "processing", "chunking", "compacting"].includes(n.status)
12115
12114
  ).length);
12116
12115
  function NSe() {
@@ -18113,7 +18112,7 @@ function fIe(e, t) {
18113
18112
  n
18114
18113
  ) || null;
18115
18114
  }
18116
- function hIt(e, t) {
18115
+ function fIt(e, t) {
18117
18116
  var n;
18118
18117
  if (!e || !t)
18119
18118
  return null;
@@ -18284,7 +18283,7 @@ function Fb(e) {
18284
18283
  function NIe() {
18285
18284
  return typeof globalThis < "u" && globalThis.crypto && typeof globalThis.crypto.randomUUID == "function" ? `global-date-filter:${globalThis.crypto.randomUUID()}` : `global-date-filter:${Date.now().toString(36)}:${Math.random().toString(36).slice(2)}`;
18286
18285
  }
18287
- function mIt() {
18286
+ function hIt() {
18288
18287
  return {
18289
18288
  kind: "global-date",
18290
18289
  id: NIe(),
@@ -19530,7 +19529,7 @@ function Iw(e) {
19530
19529
  var t, n, r, o;
19531
19530
  return ((o = (r = (n = (t = e.preferences) == null ? void 0 : t.tablePrefs) == null ? void 0 : n.tableStyle) == null ? void 0 : r.totals) == null ? void 0 : o.enabled) === !0;
19532
19531
  }
19533
- function pIt(e) {
19532
+ function mIt(e) {
19534
19533
  return kw(e) ? Iw(e) : !1;
19535
19534
  }
19536
19535
  function CTe(e) {
@@ -20054,7 +20053,7 @@ function A8(e, t, n) {
20054
20053
  const r = Ob();
20055
20054
  return r[t % r.length];
20056
20055
  }
20057
- function gIt(e, t) {
20056
+ function pIt(e, t) {
20058
20057
  const n = Ob(), r = n[t % n.length];
20059
20058
  return e === r;
20060
20059
  }
@@ -22353,7 +22352,7 @@ function ree(e, t = {}) {
22353
22352
  );
22354
22353
  }
22355
22354
  function oee(e, t = {}) {
22356
- return Jbe(e, {
22355
+ return eye(e, {
22357
22356
  ...WN(t, {
22358
22357
  min: 2,
22359
22358
  max: 2
@@ -22387,13 +22386,13 @@ function MEe(e, t = {}) {
22387
22386
  }
22388
22387
  }
22389
22388
  function AEe(e, t = {}) {
22390
- return Qbe(
22389
+ return Jbe(
22391
22390
  e,
22392
22391
  WN(t, { min: 2, max: 2 })
22393
22392
  );
22394
22393
  }
22395
22394
  function REe(e, t = {}) {
22396
- return Xbe(e, {
22395
+ return Qbe(e, {
22397
22396
  inputUnit: t.durationInputUnit,
22398
22397
  outputStyle: t.durationDisplayStyle,
22399
22398
  largestUnit: t.durationLargestUnit,
@@ -23635,7 +23634,7 @@ function kf(e) {
23635
23634
  };
23636
23635
  }
23637
23636
  }
23638
- function bIt(e) {
23637
+ function gIt(e) {
23639
23638
  var t, n, r, o, i, a, s, l, c, u, f, h, m, p, g, b, y, x;
23640
23639
  return !e || ((r = (n = (t = e == null ? void 0 : e.scales) == null ? void 0 : t.x) == null ? void 0 : n.grid) == null ? void 0 : r.display) === !0 && ((a = (i = (o = e == null ? void 0 : e.scales) == null ? void 0 : o.y) == null ? void 0 : i.grid) == null ? void 0 : a.display) === !0 ? "xy" : (c = (l = (s = e.scales) == null ? void 0 : s.x) == null ? void 0 : l.grid) != null && c.display ? "x" : (h = (f = (u = e.scales) == null ? void 0 : u.y) == null ? void 0 : f.grid) != null && h.display ? "y" : ((g = (p = (m = e.scales) == null ? void 0 : m.x) == null ? void 0 : p.grid) == null ? void 0 : g.display) === !1 && ((x = (y = (b = e.scales) == null ? void 0 : b.y) == null ? void 0 : y.grid) == null ? void 0 : x.display) === !1 ? "none" : "xy";
23641
23640
  }
@@ -41051,7 +41050,7 @@ function _Le(e, t) {
41051
41050
  return !0;
41052
41051
  });
41053
41052
  }
41054
- function xIt(e) {
41053
+ function vIt(e) {
41055
41054
  if (e.role !== "metric")
41056
41055
  return e.label || e.name;
41057
41056
  const t = e, n = e.label || e.name;
@@ -41278,7 +41277,7 @@ function LLe(e) {
41278
41277
  const t = (i = e.config) == null ? void 0 : i.metricColumns, n = (a = e.config) == null ? void 0 : a.groupByColumns, r = (s = e.config) == null ? void 0 : s.pivotByColumns, o = (l = e.config) == null ? void 0 : l.detailColumns;
41279
41278
  return !!(t && (t == null ? void 0 : t.length) > 0 || n && (n == null ? void 0 : n.length) > 0 || r && (r == null ? void 0 : r.length) > 0 || o && (o == null ? void 0 : o.length) > 0);
41280
41279
  }
41281
- function wIt(e) {
41280
+ function xIt(e) {
41282
41281
  var a, s;
41283
41282
  const [t] = ee({
41284
41283
  id: "",
@@ -42493,7 +42492,7 @@ async function i$e(e, t, n) {
42493
42492
  }
42494
42493
  return o;
42495
42494
  }
42496
- async function CIt(e, t, n) {
42495
+ async function wIt(e, t, n) {
42497
42496
  var i;
42498
42497
  const r = new URL(`${e}/v1/exports`);
42499
42498
  (i = n == null ? void 0 : n.status) != null && i.length && r.searchParams.set("status", n.status.join(",")), n != null && n.limit && r.searchParams.set("limit", String(n.limit));
@@ -42504,7 +42503,7 @@ async function CIt(e, t, n) {
42504
42503
  throw new $w("Failed to fetch exports", o.status);
42505
42504
  return o.json();
42506
42505
  }
42507
- async function SIt(e, t, n) {
42506
+ async function CIt(e, t, n) {
42508
42507
  const r = await fetch(`${e}/v1/exports/${n}`, {
42509
42508
  headers: { Authorization: `Bearer ${t}` }
42510
42509
  });
@@ -42512,7 +42511,7 @@ async function SIt(e, t, n) {
42512
42511
  throw new $w("Failed to fetch export status", r.status);
42513
42512
  return r.json();
42514
42513
  }
42515
- async function NIt(e, t, n) {
42514
+ async function SIt(e, t, n) {
42516
42515
  const r = await fetch(
42517
42516
  `${e}/v1/exports/${n}/download`,
42518
42517
  {
@@ -42525,7 +42524,7 @@ async function NIt(e, t, n) {
42525
42524
  }
42526
42525
  throw new $w("Failed to get download URL", r.status);
42527
42526
  }
42528
- async function _It(e, t, n) {
42527
+ async function NIt(e, t, n) {
42529
42528
  const r = await fetch(`${e}/v1/exports/${n}`, {
42530
42529
  method: "DELETE",
42531
42530
  headers: { Authorization: `Bearer ${t}` }
@@ -42538,13 +42537,13 @@ class $w extends Error {
42538
42537
  super(t), this.status = n, this.details = r, this.name = "ExportError";
42539
42538
  }
42540
42539
  }
42541
- function kIt(e) {
42540
+ function _It(e) {
42542
42541
  return ["pending", "processing", "chunking", "compacting"].includes(e);
42543
42542
  }
42544
- function IIt(e) {
42543
+ function kIt(e) {
42545
42544
  return ["completed", "failed", "cancelled"].includes(e);
42546
42545
  }
42547
- function TIt(e) {
42546
+ function IIt(e) {
42548
42547
  return !e || e === 0 ? "" : e < 1024 ? `${e} B` : e < 1024 * 1024 ? `${(e / 1024).toFixed(1)} KB` : `${(e / (1024 * 1024)).toFixed(1)} MB`;
42549
42548
  }
42550
42549
  const a$e = [];
@@ -42694,7 +42693,7 @@ function c$e(e, t, n) {
42694
42693
  const r = { ...e || {} };
42695
42694
  return n ? delete r[t] : r[t] = !1, Object.keys(r).length > 0 ? r : void 0;
42696
42695
  }
42697
- function EIt() {
42696
+ function TIt() {
42698
42697
  }
42699
42698
  function u$e(e, t) {
42700
42699
  return e.filter(
@@ -45913,7 +45912,7 @@ function LL({
45913
45912
  )
45914
45913
  ] });
45915
45914
  }
45916
- const m4e = mI, DIt = z5, p4e = pI, Jne = J.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
45915
+ const m4e = mI, EIt = z5, p4e = pI, Jne = J.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
45917
45916
  Mb,
45918
45917
  {
45919
45918
  className: X(
@@ -71552,7 +71551,7 @@ function yGe(e, t) {
71552
71551
  setInitialDateRange: i
71553
71552
  };
71554
71553
  }
71555
- function FIt(e) {
71554
+ function PIt(e) {
71556
71555
  const t = ne(
71557
71556
  (o) => {
71558
71557
  var i, a;
@@ -72191,7 +72190,7 @@ function wse({
72191
72190
  };
72192
72191
  if (k === "months") {
72193
72192
  const V = T != null && T.from ? (() => {
72194
- const te = eye(T.from, r);
72193
+ const te = tye(T.from, r);
72195
72194
  return {
72196
72195
  year: sye(te),
72197
72196
  month: aye(te)
@@ -72482,7 +72481,7 @@ function EGe(e, t, n, r = {}) {
72482
72481
  searchQuery: E
72483
72482
  };
72484
72483
  }
72485
- function OIt(e) {
72484
+ function FIt(e) {
72486
72485
  const t = ne(
72487
72486
  (i) => {
72488
72487
  var a, s;
@@ -76405,7 +76404,7 @@ function HT(e) {
76405
76404
  colors: [...e.chartPalette],
76406
76405
  mode: e.mode,
76407
76406
  appearance: {
76408
- version: Ybe,
76407
+ version: Kbe,
76409
76408
  mode: e.mode,
76410
76409
  colors: Ka(e.colorValues),
76411
76410
  typography: Ka(t == null ? void 0 : t.typography),
@@ -77170,7 +77169,7 @@ function UT(e, t) {
77170
77169
  o = r[i], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
77171
77170
  return n;
77172
77171
  }
77173
- var iXe = ["color"], VIt = /* @__PURE__ */ Ii(function(e, t) {
77172
+ var iXe = ["color"], zIt = /* @__PURE__ */ Ii(function(e, t) {
77174
77173
  var n = e.color, r = n === void 0 ? "currentColor" : n, o = UT(e, iXe);
77175
77174
  return Lo("svg", Object.assign({
77176
77175
  width: "15",
@@ -77186,7 +77185,7 @@ var iXe = ["color"], VIt = /* @__PURE__ */ Ii(function(e, t) {
77186
77185
  fillRule: "evenodd",
77187
77186
  clipRule: "evenodd"
77188
77187
  }));
77189
- }), aXe = ["color"], BIt = /* @__PURE__ */ Ii(function(e, t) {
77188
+ }), aXe = ["color"], VIt = /* @__PURE__ */ Ii(function(e, t) {
77190
77189
  var n = e.color, r = n === void 0 ? "currentColor" : n, o = UT(e, aXe);
77191
77190
  return Lo("svg", Object.assign({
77192
77191
  width: "15",
@@ -77218,7 +77217,7 @@ var iXe = ["color"], VIt = /* @__PURE__ */ Ii(function(e, t) {
77218
77217
  fillRule: "evenodd",
77219
77218
  clipRule: "evenodd"
77220
77219
  }));
77221
- }), cXe = ["color"], jIt = /* @__PURE__ */ Ii(function(e, t) {
77220
+ }), cXe = ["color"], BIt = /* @__PURE__ */ Ii(function(e, t) {
77222
77221
  var n = e.color, r = n === void 0 ? "currentColor" : n, o = UT(e, cXe);
77223
77222
  return Lo("svg", Object.assign({
77224
77223
  width: "15",
@@ -78936,7 +78935,7 @@ function Rle(e) {
78936
78935
  r in t || (t[r] = null);
78937
78936
  return t;
78938
78937
  }
78939
- function HIt(e) {
78938
+ function jIt(e) {
78940
78939
  return e.map((t, n) => !t.customCardPreferences || t.customCardPreferences.slotIndex === n ? t : {
78941
78940
  ...t,
78942
78941
  customCardPreferences: {
@@ -78945,7 +78944,7 @@ function HIt(e) {
78945
78944
  }
78946
78945
  });
78947
78946
  }
78948
- function UIt(e) {
78947
+ function HIt(e) {
78949
78948
  const t = Mle(e);
78950
78949
  if (t)
78951
78950
  return u4(t);
@@ -78955,7 +78954,7 @@ function Ev(e, t, n) {
78955
78954
  const r = PXe(n, t);
78956
78955
  return e.type === "custom" && r ? r : e.type;
78957
78956
  }
78958
- function qIt(e, t, n) {
78957
+ function UIt(e, t, n) {
78959
78958
  var p;
78960
78959
  const r = {
78961
78960
  dataSource: n.dataSource,
@@ -79057,7 +79056,7 @@ function WT(e, t) {
79057
79056
  const r = (o = e.customCardPreferences) == null ? void 0 : o.visualType;
79058
79057
  return r || ((i = e.customCardPreferences) != null && i.dataInputCardIds ? "multiple" : null);
79059
79058
  }
79060
- function WIt(e) {
79059
+ function qIt(e) {
79061
79060
  return e.visualType === "multiple" || e.slots && e.slots.length > 0 || (e.minInputs || 0) > 1 || (e.maxInputs || 0) > 1 || (e.dataInputs || []).length > 1 ? "multiple" : "single";
79062
79061
  }
79063
79062
  function Ole(e) {
@@ -85435,7 +85434,7 @@ function sce(e) {
85435
85434
  activeCardId: o
85436
85435
  };
85437
85436
  }
85438
- function GIt(e) {
85437
+ function WIt(e) {
85439
85438
  var a;
85440
85439
  const t = /* @__PURE__ */ new Map(), n = e.activeCardId, o = e.cards.map((s) => {
85441
85440
  const l = go();
@@ -85611,7 +85610,7 @@ function cce() {
85611
85610
  [t == null ? void 0 : t.accessToken, e, n.apiServiceUrl]
85612
85611
  );
85613
85612
  }
85614
- function YIt() {
85613
+ function GIt() {
85615
85614
  const e = ne(
85616
85615
  (n) => n.semanticExecutionPayload
85617
85616
  ), t = cce();
@@ -97955,7 +97954,7 @@ const Lrt = /* @__PURE__ */ new Set(["COUNT", "DISTINCT"]), $rt = /* @__PURE__ *
97955
97954
  function zrt(e) {
97956
97955
  return Yn(e.dataType || "") === "number" ? !0 : e.aggregate ? Lrt.has(e.aggregate.toUpperCase()) : !1;
97957
97956
  }
97958
- function KIt(e, t) {
97957
+ function YIt(e, t) {
97959
97958
  var r, o;
97960
97959
  return !!((o = (r = e.parameters) == null ? void 0 : r.windowTransform) == null ? void 0 : o.function);
97961
97960
  }
@@ -97997,7 +97996,7 @@ function Vrt({
97997
97996
  function Brt(e) {
97998
97997
  return e.find((t) => Yn(t.dataType || "") === "date");
97999
97998
  }
98000
- function ZIt(e) {
97999
+ function KIt(e) {
98001
98000
  return e;
98002
98001
  }
98003
98002
  function fN({
@@ -100202,7 +100201,7 @@ function xot(e, t, n, r, o, i, a, s, l, c) {
100202
100201
  description: `Calculated field: ${e}`
100203
100202
  };
100204
100203
  }
100205
- function XIt(e) {
100204
+ function ZIt(e) {
100206
100205
  var r, o;
100207
100206
  const t = uE.find((i) => i.id === e.operation);
100208
100207
  if (!t)
@@ -101153,7 +101152,7 @@ function oit({
101153
101152
  () => Jot(e, r),
101154
101153
  [e, r]
101155
101154
  ), s = Q(() => eit(a), [a]), l = Q(() => a.map((p) => {
101156
- const g = p.label || p.name, b = p.role === "metric" && rK(p) || p.role === "groupby" && tye(p);
101155
+ const g = p.label || p.name, b = p.role === "metric" && rK(p) || p.role === "groupby" && nye(p);
101157
101156
  return {
101158
101157
  ...p,
101159
101158
  baseLabel: g,
@@ -102005,7 +102004,7 @@ function pit(e, t) {
102005
102004
  (r) => $d(r, e, { allowComparableFallback: n })
102006
102005
  );
102007
102006
  }
102008
- function QIt(e, t) {
102007
+ function XIt(e, t) {
102009
102008
  const n = {
102010
102009
  ...e,
102011
102010
  fieldScope: "domain"
@@ -103716,10 +103715,10 @@ function oat(e) {
103716
103715
  activeCardId: e.card.id
103717
103716
  };
103718
103717
  }
103719
- function JIt(e, t) {
103718
+ function QIt(e, t) {
103720
103719
  return e.cards.find((n) => n.id === t) || null;
103721
103720
  }
103722
- function eTt(e) {
103721
+ function JIt(e) {
103723
103722
  return rat.includes(
103724
103723
  e.type
103725
103724
  );
@@ -104976,7 +104975,7 @@ function Iat(e) {
104976
104975
  a ? /* @__PURE__ */ d("p", { className: "text-[11px] text-muted-foreground", children: a }) : null
104977
104976
  ] });
104978
104977
  }
104979
- function tTt(e) {
104978
+ function eTt(e) {
104980
104979
  const { control: t, onChange: n } = e;
104981
104980
  return /* @__PURE__ */ C("div", { className: "space-y-3", children: [
104982
104981
  /* @__PURE__ */ d("div", { className: "space-y-1", children: /* @__PURE__ */ C("label", { className: "flex items-center gap-2 text-[13px]", children: [
@@ -105011,7 +105010,7 @@ function bde(e) {
105011
105010
  const t = Rx(e);
105012
105011
  return e.scope === "dashboard" ? t === "advanced" ? "More controls" : "dashboard toolbar" : t === "advanced" ? "More options" : "card header";
105013
105012
  }
105014
- function nTt(e) {
105013
+ function tTt(e) {
105015
105014
  const t = /* @__PURE__ */ new Map();
105016
105015
  for (const n of e.controls || [])
105017
105016
  t.set(n.id, 0);
@@ -105050,7 +105049,7 @@ function nTt(e) {
105050
105049
  })
105051
105050
  );
105052
105051
  }
105053
- function rTt(e) {
105052
+ function nTt(e) {
105054
105053
  const t = new Set(u1(e.card));
105055
105054
  return Object.fromEntries(
105056
105055
  e.controls.map((n) => {
@@ -112647,7 +112646,7 @@ function Ect({
112647
112646
  exports: yE(c)
112648
112647
  };
112649
112648
  }
112650
- function oTt({
112649
+ function rTt({
112651
112650
  control: e,
112652
112651
  existingInputs: t,
112653
112652
  sheetId: n,
@@ -117128,7 +117127,7 @@ const jut = ({
117128
117127
  ),
117129
117128
  ...t
117130
117129
  }
117131
- ), Rq = nfe, iTt = ({
117130
+ ), Rq = nfe, oTt = ({
117132
117131
  withHandle: e,
117133
117132
  className: t,
117134
117133
  ...n
@@ -123133,7 +123132,7 @@ function $gt({
123133
123132
  addToolOutput: r.current.addToolOutput
123134
123133
  };
123135
123134
  }
123136
- function aTt(e, t) {
123135
+ function iTt(e, t) {
123137
123136
  return e.some(
123138
123137
  (n) => (
123139
123138
  // t.connectionId === aiScope.connectionId &&
@@ -123141,7 +123140,7 @@ function aTt(e, t) {
123141
123140
  )
123142
123141
  );
123143
123142
  }
123144
- function sTt(e) {
123143
+ function aTt(e) {
123145
123144
  return e.filter(
123146
123145
  (n, r, o) => r === o.findIndex(
123147
123146
  (i) => (
@@ -123151,7 +123150,7 @@ function sTt(e) {
123151
123150
  )
123152
123151
  );
123153
123152
  }
123154
- function lTt(e, t) {
123153
+ function sTt(e, t) {
123155
123154
  return e.filter(
123156
123155
  (n) => !(n.connectionId === t.connectionId && n.tableName === t.tableName && n.datamodelName === t.datamodelName)
123157
123156
  );
@@ -123276,7 +123275,7 @@ function $l(e, t, n) {
123276
123275
  e.set(r, n);
123277
123276
  return;
123278
123277
  }
123279
- o !== pO && !rye(o, n) && e.set(r, pO);
123278
+ o !== pO && !Gbe(o, n) && e.set(r, pO);
123280
123279
  }
123281
123280
  function jgt(e, t, n) {
123282
123281
  $l(e, t == null ? void 0 : t.id, n), $l(e, t == null ? void 0 : t.name, n), $l(e, t == null ? void 0 : t.entityId, n), $l(e, t == null ? void 0 : t.entityName, n), $l(e, t == null ? void 0 : t.datasetId, n), $l(e, t == null ? void 0 : t.datasetName, n), t != null && t.domainId && (t != null && t.name) && $l(e, `${t.domainId}:${t.name}`, n), t != null && t.domainId && (t != null && t.id) && $l(e, `${t.domainId}:${t.id}`, n), t != null && t.schema && (t != null && t.name) && $l(e, `${t.schema}.${t.name}`, n), t != null && t.database && (t != null && t.schema) && (t != null && t.name) && $l(
@@ -123344,7 +123343,7 @@ function Ugt(e) {
123344
123343
  return "dimension";
123345
123344
  }
123346
123345
  function qgt(e) {
123347
- return !!(e != null && e.fieldScope || e != null && e.calculatedFormula || e != null && e.calculatedField || e != null && e.isCalculated || nye(e));
123346
+ return !!(e != null && e.fieldScope || e != null && e.calculatedFormula || e != null && e.calculatedField || e != null && e.isCalculated || rye(e));
123348
123347
  }
123349
123348
  function Wgt(e, t) {
123350
123349
  const n = t == null ? void 0 : t(e), r = Ugt(e);
@@ -125474,7 +125473,7 @@ function Qhe({
125474
125473
  saveAsDashboardDefault: a = !1
125475
125474
  }) {
125476
125475
  var oe, _e;
125477
- const { tokenProps: s } = Tt(), l = s.config, c = s.semanticDomainAccess || Zbe, [u, f] = ee([]), [h, m] = ee(void 0), [p, g] = ee(""), [b, y] = ee("all"), [x, v] = ee(
125476
+ const { tokenProps: s } = Tt(), l = s.config, c = s.semanticDomainAccess || Xbe, [u, f] = ee([]), [h, m] = ee(void 0), [p, g] = ee(""), [b, y] = ee("all"), [x, v] = ee(
125478
125477
  void 0
125479
125478
  ), w = Re(!1), { updateDataSource: S } = yo(), N = ne((le) => le.isVisualEditing), _ = ne((le) => le.dashboard.aiContext), { setAiContext: k } = Nn(), T = c.mode, I = (l == null ? void 0 : l.showDirectSource) !== !1, E = T === "include" || T === "exclude" || !I, D = T !== "all", A = I && !E, P = E ? "semanticDomain" : n.mode, M = r === "dataSource" && !I, L = T === "include" && (((oe = c.domainIds) == null ? void 0 : oe.length) || 0) === 1 ? (_e = c.domainIds) == null ? void 0 : _e[0] : void 0, $ = ge(
125480
125479
  (le) => {
@@ -139059,7 +139058,7 @@ const Kz = [
139059
139058
  { id: "kpi", icon: mNt, label: "KPI" },
139060
139059
  { id: "text", icon: H0e, label: "Text" },
139061
139060
  { id: "map", icon: vve, label: "Map" }
139062
- ], cTt = (e) => {
139061
+ ], lTt = (e) => {
139063
139062
  const t = e.toLowerCase();
139064
139063
  for (const n of Kz)
139065
139064
  if (n.id === "doughnut") {
@@ -139072,7 +139071,7 @@ const Kz = [
139072
139071
  return he.createElement(r, { className: "h-4 w-4" });
139073
139072
  }
139074
139073
  return null;
139075
- }, uTt = (e, t = "h-4 w-4") => {
139074
+ }, cTt = (e, t = "h-4 w-4") => {
139076
139075
  const n = Kz.find((r) => r.id === e);
139077
139076
  if (n) {
139078
139077
  const r = n.icon;
@@ -142820,7 +142819,7 @@ const Cpe = Nr({
142820
142819
  openBrandStudioPreview: () => {
142821
142820
  }
142822
142821
  }), E_t = Cpe.Provider;
142823
- function dTt() {
142822
+ function uTt() {
142824
142823
  return Fn(Cpe);
142825
142824
  }
142826
142825
  function D_t({
@@ -143181,10 +143180,10 @@ function z_t() {
143181
143180
  }
143182
143181
  );
143183
143182
  }
143184
- const V_t = qk(() => import("./dashboard-controls-JYTKRokc.js")), B_t = qk(
143185
- () => import("./edit-dashboard-visual-DOtCYmDn.js")
143186
- ), j_t = qk(() => import("./dashboard-json-h6YMk_-l.js"));
143187
- function fTt({
143183
+ const V_t = qk(() => import("./dashboard-controls-DcX7Mid4.js")), B_t = qk(
143184
+ () => import("./edit-dashboard-visual-DsCr90_3.js")
143185
+ ), j_t = qk(() => import("./dashboard-json-BHWbQS6I.js"));
143186
+ function dTt({
143188
143187
  showControls: e = !1,
143189
143188
  showFooter: t = !0,
143190
143189
  ...n
@@ -143359,7 +143358,7 @@ function Q_t(e, t, n) {
143359
143358
  return h;
143360
143359
  }
143361
143360
  function J_t(e, t, n) {
143362
- const r = Kbe(e), o = he.createElement(t, n);
143361
+ const r = Zbe(e), o = he.createElement(t, n);
143363
143362
  return r.render(o), {
143364
143363
  root: r,
143365
143364
  ReactComponent: t
@@ -143403,9 +143402,9 @@ const rkt = {
143403
143402
  selectedSheetId: "string",
143404
143403
  eventHandlers: "json",
143405
143404
  preferences: "json"
143406
- }, hTt = nkt(F_t, {
143405
+ }, fTt = nkt(F_t, {
143407
143406
  props: rkt
143408
- }), mTt = he.memo(function({
143407
+ }), hTt = he.memo(function({
143409
143408
  context: t = "editor"
143410
143409
  } = {}) {
143411
143410
  return /* @__PURE__ */ C(
@@ -143428,16 +143427,16 @@ const rkt = {
143428
143427
  "getTableColumns",
143429
143428
  "getUserSql",
143430
143429
  "validateCardConfigFormat"
143431
- ]), pTt = /* @__PURE__ */ new Set([
143430
+ ]), mTt = /* @__PURE__ */ new Set([
143432
143431
  "createChartFromSql",
143433
143432
  "createForecast",
143434
143433
  "generateQueryConfig",
143435
143434
  "getChartDataFromCardConfig",
143436
143435
  "getChartDataFromSqlAndPython",
143437
143436
  "getForecastDataFromSqlAndPython"
143438
- ]), gTt = Array.from(
143437
+ ]), pTt = Array.from(
143439
143438
  okt
143440
- ).join(", "), bTt = 3, yTt = "Self-heal", vTt = /* @__PURE__ */ new Set([
143439
+ ).join(", "), gTt = 3, bTt = "Self-heal", yTt = /* @__PURE__ */ new Set([
143441
143440
  "SQL_PARSE_ERROR",
143442
143441
  "SQL_EXPLAIN_ERROR"
143443
143442
  ]);
@@ -143617,13 +143616,13 @@ function ikt({ card: e }) {
143617
143616
  (R = f.customCardPreferences) == null ? void 0 : R.componentName
143618
143617
  ) }) : null;
143619
143618
  }
143620
- const xTt = ds(
143619
+ const vTt = ds(
143621
143620
  ikt,
143622
143621
  (e, t) => {
143623
143622
  var n, r, o, i, a, s, l, c;
143624
143623
  return e.card.id === t.card.id && e.card.inlineFilters === t.card.inlineFilters && ((n = e.card.customCardPreferences) == null ? void 0 : n.settings) === ((r = t.card.customCardPreferences) == null ? void 0 : r.settings) && ((o = e.card.customCardPreferences) == null ? void 0 : o.slotSettings) === ((i = t.card.customCardPreferences) == null ? void 0 : i.slotSettings) && ((a = e.card.customCardPreferences) == null ? void 0 : a.url) === ((s = t.card.customCardPreferences) == null ? void 0 : s.url) && ((l = e.card.customCardPreferences) == null ? void 0 : l.componentName) === ((c = t.card.customCardPreferences) == null ? void 0 : c.componentName);
143625
143624
  }
143626
- ), wTt = Wk()(
143625
+ ), xTt = Wk()(
143627
143626
  qbe(
143628
143627
  (e, t) => ({
143629
143628
  starredCharts: [],
@@ -144089,7 +144088,7 @@ const jpe = ["SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT"], _kt = jpe.reduce(
144089
144088
  // Mon–Fri
144090
144089
  isCustom: !1
144091
144090
  };
144092
- function CTt(e) {
144091
+ function wTt(e) {
144093
144092
  if (!e || !e.trim())
144094
144093
  return { ...id };
144095
144094
  const t = e.trim(), r = (t.startsWith("cron(") && t.endsWith(")") ? t.slice(5, -1) : t).trim().split(/\s+/);
@@ -144123,7 +144122,7 @@ function CTt(e) {
144123
144122
  minute: c
144124
144123
  } : { ...id, hour: u, minute: c, isCustom: !0 };
144125
144124
  }
144126
- function STt(e) {
144125
+ function CTt(e) {
144127
144126
  const t = e.minute, n = e.hour;
144128
144127
  switch (e.repeats) {
144129
144128
  case "daily":
@@ -144152,7 +144151,7 @@ function Tkt(e) {
144152
144151
  const r = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
144153
144152
  return t.map((o) => r[o]).join(", ");
144154
144153
  }
144155
- function NTt(e, t, n, r) {
144154
+ function STt(e, t, n, r) {
144156
144155
  const o = kkt(e.hour, e.minute), i = Ikt(t);
144157
144156
  let a;
144158
144157
  if (e.isCustom)
@@ -144175,7 +144174,7 @@ function NTt(e, t, n, r) {
144175
144174
  const s = [];
144176
144175
  return n && n !== "Today" && s.push(`from ${n}`), r && s.push(`until ${r}`), s.length > 0 ? `${a}, ${s.join(" ")}` : a;
144177
144176
  }
144178
- const _Tt = [
144177
+ const NTt = [
144179
144178
  "UTC",
144180
144179
  "America/New_York",
144181
144180
  "America/Chicago",
@@ -144190,20 +144189,20 @@ const _Tt = [
144190
144189
  export {
144191
144190
  vet as $,
144192
144191
  Oo as A,
144193
- FIt as B,
144192
+ PIt as B,
144194
144193
  nve as C,
144195
144194
  F_t as D,
144196
144195
  kc as E,
144197
144196
  w4 as F,
144198
- OIt as G,
144197
+ FIt as G,
144199
144198
  y0e as H,
144200
144199
  Od as I,
144201
144200
  ZCe as J,
144202
144201
  JZ as K,
144203
144202
  a1e as L,
144204
144203
  YL as M,
144205
- wIt as N,
144206
- hTt as O,
144204
+ xIt as N,
144205
+ fTt as O,
144207
144206
  sEe as P,
144208
144207
  EJ as Q,
144209
144208
  xc as R,
@@ -144216,26 +144215,26 @@ export {
144216
144215
  fQe as Y,
144217
144216
  Kle as Z,
144218
144217
  Grt as _,
144219
- fTt as a,
144218
+ dTt as a,
144220
144219
  uf as a$,
144221
144220
  B5 as a0,
144222
144221
  SSe as a1,
144223
- cIt as a2,
144224
- uIt as a3,
144222
+ lIt as a2,
144223
+ cIt as a3,
144225
144224
  V4 as a4,
144226
144225
  i$e as a5,
144227
- CIt as a6,
144228
- SIt as a7,
144229
- NIt as a8,
144230
- _It as a9,
144226
+ wIt as a6,
144227
+ CIt as a7,
144228
+ SIt as a8,
144229
+ NIt as a9,
144231
144230
  BK as aA,
144232
144231
  sUe as aB,
144233
144232
  jo as aC,
144234
144233
  uce as aD,
144235
- Zkt as aE,
144234
+ Kkt as aE,
144236
144235
  Ib as aF,
144237
144236
  F5 as aG,
144238
- GIt as aH,
144237
+ WIt as aH,
144239
144238
  T3 as aI,
144240
144239
  kue as aJ,
144241
144240
  Fle as aK,
@@ -144246,9 +144245,9 @@ export {
144246
144245
  Ev as aP,
144247
144246
  ti as aQ,
144248
144247
  I3 as aR,
144249
- tIt as aS,
144250
- YIt as aT,
144251
- hIt as aU,
144248
+ eIt as aS,
144249
+ GIt as aT,
144250
+ fIt as aU,
144252
144251
  Jn as aV,
144253
144252
  Ru as aW,
144254
144253
  bat as aX,
@@ -144256,14 +144255,14 @@ export {
144256
144255
  _at as aZ,
144257
144256
  cf as a_,
144258
144257
  $w as aa,
144259
- kIt as ab,
144260
- IIt as ac,
144261
- TIt as ad,
144258
+ _It as ab,
144259
+ kIt as ac,
144260
+ IIt as ad,
144262
144261
  rI as ae,
144263
144262
  jut as af,
144264
144263
  Rq as ag,
144265
144264
  Rb as ah,
144266
- nIt as ai,
144265
+ tIt as ai,
144267
144266
  GK as aj,
144268
144267
  Km as ak,
144269
144268
  Zm as al,
@@ -144274,7 +144273,7 @@ export {
144274
144273
  ep as aq,
144275
144274
  so as ar,
144276
144275
  Dve as as,
144277
- iTt as at,
144276
+ oTt as at,
144278
144277
  lve as au,
144279
144278
  dm as av,
144280
144279
  cI as aw,
@@ -144285,14 +144284,14 @@ export {
144285
144284
  Eat as b$,
144286
144285
  df as b0,
144287
144286
  dat as b1,
144288
- tTt as b2,
144287
+ eTt as b2,
144289
144288
  iI as b3,
144290
144289
  rve as b4,
144291
144290
  lK as b5,
144292
144291
  k1e as b6,
144293
144292
  ic as b7,
144294
144293
  xl as b8,
144295
- Xkt as b9,
144294
+ Zkt as b9,
144296
144295
  kve as bA,
144297
144296
  Ive as bB,
144298
144297
  Ave as bC,
@@ -144307,7 +144306,7 @@ export {
144307
144306
  A5 as bL,
144308
144307
  R5 as bM,
144309
144308
  b_t as bN,
144310
- Jkt as bO,
144309
+ Qkt as bO,
144311
144310
  s1e as bP,
144312
144311
  QCe as bQ,
144313
144312
  eve as bR,
@@ -144316,42 +144315,42 @@ export {
144316
144315
  Os as bU,
144317
144316
  Uve as bV,
144318
144317
  Pb as bW,
144319
- eIt as bX,
144318
+ Jkt as bX,
144320
144319
  Ghe as bY,
144321
144320
  KE as bZ,
144322
144321
  Oat as b_,
144323
144322
  uwe as ba,
144324
144323
  pve as bb,
144325
- jIt as bc,
144324
+ BIt as bc,
144326
144325
  Hu as bd,
144327
144326
  Tl as be,
144328
144327
  dSe as bf,
144329
- sIt as bg,
144328
+ aIt as bg,
144330
144329
  fSe as bh,
144331
- aIt as bi,
144332
- iIt as bj,
144333
- oIt as bk,
144330
+ iIt as bi,
144331
+ oIt as bj,
144332
+ rIt as bk,
144334
144333
  ua as bl,
144335
144334
  dCe as bm,
144336
144335
  aI as bn,
144337
- rIt as bo,
144336
+ nIt as bo,
144338
144337
  zX as bp,
144339
144338
  S5 as bq,
144340
144339
  Ts as br,
144341
144340
  bw as bs,
144342
- dTt as bt,
144341
+ uTt as bt,
144343
144342
  NSe as bu,
144344
144343
  W1e as bv,
144345
144344
  $we as bw,
144346
- lIt as bx,
144345
+ sIt as bx,
144347
144346
  n1e as by,
144348
144347
  Qa as bz,
144349
144348
  pa as c,
144350
- pTt as c$,
144351
- nTt as c0,
144349
+ mTt as c$,
144350
+ tTt as c0,
144352
144351
  vE as c1,
144353
144352
  um as c2,
144354
- oTt as c3,
144353
+ rTt as c3,
144355
144354
  Cf as c4,
144356
144355
  qg as c5,
144357
144356
  Rrt as c6,
@@ -144380,12 +144379,12 @@ export {
144380
144379
  UK as cT,
144381
144380
  mc as cU,
144382
144381
  Qhe as cV,
144383
- mTt as cW,
144382
+ hTt as cW,
144384
144383
  iK as cX,
144385
- gTt as cY,
144386
- yTt as cZ,
144387
- bTt as c_,
144388
- mIt as ca,
144384
+ pTt as cY,
144385
+ bTt as cZ,
144386
+ gTt as c_,
144387
+ hIt as ca,
144389
144388
  xit as cb,
144390
144389
  pg as cc,
144391
144390
  KEe as cd,
@@ -144403,22 +144402,22 @@ export {
144403
144402
  Wg as cp,
144404
144403
  lN as cq,
144405
144404
  j0e as cr,
144406
- CTt as cs,
144407
- NTt as ct,
144405
+ wTt as cs,
144406
+ STt as ct,
144408
144407
  Db as cu,
144409
- _Tt as cv,
144410
- STt as cw,
144408
+ NTt as cv,
144409
+ CTt as cw,
144411
144410
  kkt as cx,
144412
144411
  bM as cy,
144413
144412
  w5 as cz,
144414
144413
  Dl as d,
144415
- wTt as d$,
144414
+ xTt as d$,
144416
144415
  okt as d0,
144417
144416
  $gt as d1,
144418
144417
  Nhe as d2,
144419
144418
  xW as d3,
144420
144419
  Agt as d4,
144421
- vTt as d5,
144420
+ yTt as d5,
144422
144421
  Gr as d6,
144423
144422
  hce as d7,
144424
144423
  hz as d8,
@@ -144442,19 +144441,19 @@ export {
144442
144441
  EJe as dQ,
144443
144442
  vU as dR,
144444
144443
  KL as dS,
144445
- xTt as dT,
144444
+ vTt as dT,
144446
144445
  Pze as dU,
144447
144446
  WK as dV,
144448
144447
  Au as dW,
144449
144448
  kye as dX,
144450
- uTt as dY,
144451
- cTt as dZ,
144449
+ cTt as dY,
144450
+ lTt as dZ,
144452
144451
  Ove as d_,
144453
144452
  d4 as da,
144454
144453
  Rze as db,
144455
144454
  V4e as dc,
144456
- BIt as dd,
144457
- VIt as de,
144455
+ VIt as dd,
144456
+ zIt as de,
144458
144457
  OL as df,
144459
144458
  l4e as dg,
144460
144459
  FL as dh,
@@ -144478,8 +144477,8 @@ export {
144478
144477
  ga as e,
144479
144478
  yk as e$,
144480
144479
  kle as e0,
144481
- WIt as e1,
144482
- qIt as e2,
144480
+ qIt as e1,
144481
+ UIt as e2,
144483
144482
  Kz as e3,
144484
144483
  sI as e4,
144485
144484
  vve as e5,
@@ -144487,8 +144486,8 @@ export {
144487
144486
  cNt as e7,
144488
144487
  Eve as e8,
144489
144488
  J0e as e9,
144490
- rTt as eA,
144491
- bIt as eB,
144489
+ nTt as eA,
144490
+ gIt as eB,
144492
144491
  YK as eC,
144493
144492
  HT as eD,
144494
144493
  Rle as eE,
@@ -144503,7 +144502,7 @@ export {
144503
144502
  x5 as eN,
144504
144503
  Gae as eO,
144505
144504
  zle as eP,
144506
- HIt as eQ,
144505
+ jIt as eQ,
144507
144506
  u4 as eR,
144508
144507
  S4 as eS,
144509
144508
  BLe as eT,
@@ -144551,16 +144550,16 @@ export {
144551
144550
  uJ as f6,
144552
144551
  vre as f7,
144553
144552
  kw as f8,
144554
- pIt as f9,
144553
+ mIt as f9,
144555
144554
  Trt as fA,
144556
144555
  IEe as fB,
144557
144556
  g0 as fC,
144558
144557
  obt as fD,
144559
144558
  hW as fE,
144560
144559
  Bgt as fF,
144561
- lTt as fG,
144562
- sTt as fH,
144563
- aTt as fI,
144560
+ sTt as fG,
144561
+ aTt as fH,
144562
+ iTt as fI,
144564
144563
  Vgt as fJ,
144565
144564
  sbt as fK,
144566
144565
  Gbt as fL,
@@ -144584,13 +144583,13 @@ export {
144584
144583
  Klt as fc,
144585
144584
  Cct as fd,
144586
144585
  c$e as fe,
144587
- EIt as ff,
144586
+ TIt as ff,
144588
144587
  al as fg,
144589
144588
  Xh as fh,
144590
144589
  ol as fi,
144591
144590
  Ob as fj,
144592
144591
  A8 as fk,
144593
- gIt as fl,
144592
+ pIt as fl,
144594
144593
  Aw as fm,
144595
144594
  W8 as fn,
144596
144595
  q8 as fo,
@@ -144608,12 +144607,12 @@ export {
144608
144607
  xi as g,
144609
144608
  Aue as g0,
144610
144609
  pc as g1,
144611
- QIt as g2,
144610
+ XIt as g2,
144612
144611
  Bs as g3,
144613
144612
  mk as g4,
144614
- KIt as g5,
144613
+ YIt as g5,
144615
144614
  Vrt as g6,
144616
- ZIt as g7,
144615
+ KIt as g7,
144617
144616
  fN as g8,
144618
144617
  _ue as g9,
144619
144618
  OLe as gA,
@@ -144622,7 +144621,7 @@ export {
144622
144621
  CLe as gD,
144623
144622
  qrt as gE,
144624
144623
  Frt as gF,
144625
- DIt as gG,
144624
+ EIt as gG,
144626
144625
  F4e as gH,
144627
144626
  yU as gI,
144628
144627
  Yz as gJ,
@@ -144631,9 +144630,9 @@ export {
144631
144630
  xSe as gM,
144632
144631
  wSe as gN,
144633
144632
  CSe as gO,
144634
- JIt as gP,
144635
- eTt as gQ,
144636
- xIt as ga,
144633
+ QIt as gP,
144634
+ JIt as gQ,
144635
+ vIt as ga,
144637
144636
  vf as gb,
144638
144637
  ZT as gc,
144639
144638
  Fi as gd,
@@ -144642,11 +144641,11 @@ export {
144642
144641
  Lp as gg,
144643
144642
  tq as gh,
144644
144643
  eq as gi,
144645
- XIt as gj,
144644
+ ZIt as gj,
144646
144645
  ove as gk,
144647
144646
  jtt as gl,
144648
144647
  Prt as gm,
144649
- UIt as gn,
144648
+ HIt as gn,
144650
144649
  q0e as go,
144651
144650
  Tb as gp,
144652
144651
  g1 as gq,