react-semaphor 0.1.577 → 0.1.579

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 (35) hide show
  1. package/dist/assistant-context/index.js +1 -1
  2. package/dist/assistant-protocol/index.js +69 -66
  3. package/dist/briefings/index.js +1 -1
  4. package/dist/chunks/{add-to-dashboard-B6Ah8Lub.js → add-to-dashboard-DQFuDA5R.js} +50 -46
  5. package/dist/chunks/{assistant-chat-B_tmsxEK.js → assistant-chat-DBuKmREJ.js} +421 -421
  6. package/dist/chunks/{bookmark-impact-DUWw3wlA.js → bookmark-impact-MH4Dr-Ya.js} +1 -1
  7. package/dist/chunks/{card-filter-builder-CwnMUZU2.js → card-filter-builder-B9vtXVIZ.js} +3 -3
  8. package/dist/chunks/{context-R31TSL5V.js → context-BTLBjQNh.js} +99 -83
  9. package/dist/chunks/{dashboard-BcIIBCTP.js → dashboard-C4fyqxvV.js} +1 -1
  10. package/dist/chunks/{dashboard-briefing-launcher-BBpECqg2.js → dashboard-briefing-launcher-A9CLFv0s.js} +7 -7
  11. package/dist/chunks/{dashboard-controls-CONzvjmO.js → dashboard-controls-oKDW-835.js} +7 -7
  12. package/dist/chunks/{dashboard-json-BF2chEVd.js → dashboard-json-Bej2NBkS.js} +1 -1
  13. package/dist/chunks/{dates-DlYMDaF2.js → dates-BhL-mimk.js} +5 -5
  14. package/dist/chunks/{edit-dashboard-visual-Bf-RcbuD.js → edit-dashboard-visual-BFsCY2GP.js} +8 -8
  15. package/dist/chunks/{filter-reach-copy-BTAXnbwQ.js → filter-reach-copy-Xus3MfSo.js} +3 -3
  16. package/dist/chunks/{index-8BxDk8EP.js → index-CwlaI-UP.js} +2 -2
  17. package/dist/chunks/{report-preferences-dialog-RN4g9PEN.js → report-preferences-dialog-CcekIvkV.js} +7 -7
  18. package/dist/chunks/{resolve-dashboard-input-context-DBFuNhZo.js → resolve-dashboard-input-context-DoZHMivF.js} +1 -1
  19. package/dist/chunks/{saved-dashboard-context-AChHk4tw.js → saved-dashboard-context-LiDPCJ3r.js} +3 -3
  20. package/dist/chunks/{semaphor-ready-indicator-DtivanBy.js → semaphor-ready-indicator-cAOfbBuc.js} +5 -5
  21. package/dist/chunks/{shelf-drop-preview-context-BTjYxbHC.js → shelf-drop-preview-context-CwoYR7v1.js} +2 -2
  22. package/dist/chunks/{stored-dashboard-rpLzf4mk.js → stored-dashboard-CjnPEWO-.js} +2 -2
  23. package/dist/chunks/{variable-draft-DPSMDwqt.js → variable-draft-T4EOBvcu.js} +2 -2
  24. package/dist/dashboard/index.js +1 -1
  25. package/dist/dashboard-authoring/index.js +10 -10
  26. package/dist/index.js +12 -12
  27. package/dist/surfboard/index.js +1 -1
  28. package/dist/types/shared/assistant-protocol/answer-text.d.ts +5 -1
  29. package/dist/types/shared/assistant-protocol/context.d.ts +2 -1
  30. package/dist/types/shared/assistant-protocol/parts.d.ts +2 -1
  31. package/dist/types/shared/usage-events/catalog.d.ts +5 -3
  32. package/dist/types/shared/usage-events/details.d.ts +66 -0
  33. package/dist/types/shared/usage-events/envelope.d.ts +5 -5
  34. package/dist/usage-events/index.js +154 -115
  35. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { x as g, z as $ } from "./bookmark-state-BEl_G9vr.js";
2
- import { l as F, h as C, a as O, b as v, i as S, f as T } from "./stored-dashboard-rpLzf4mk.js";
2
+ import { l as F, h as C, a as O, b as v, i as S, f as T } from "./stored-dashboard-CjnPEWO-.js";
3
3
  function D(e) {
4
4
  var d, c, f;
5
5
  const { saved: s, draft: a, usage: l } = e, b = [], j = F(s);
@@ -2,9 +2,9 @@ import { c as Ge, B as U, X as ce, x as Ne, q as mn, a8 as pn, t as at, u as rt,
2
2
  import { jsx as t, jsxs as l, Fragment as fe } from "react/jsx-runtime";
3
3
  import * as _e from "react";
4
4
  import vt, { useMemo as Q, useState as H, useRef as Ae, useCallback as ne, useEffect as de, forwardRef as xn, Fragment as gn } from "react";
5
- import { b1 as ct, u as ut, af as se, c4 as _t, cB as J, cC as bn, c0 as Ie, cD as Ue, cE as Vt, cF as vn, bW as Ve, cG as yn, ag as Rt, bD as Nn, bE as Cn, bG as wn, bw as kn, cH as Sn, h as Dn, cI as In, cJ as yt, bV as Et, cK as Tn, cL as Mt, cM as zt, cN as Ln, cO as An, cP as $n, cQ as Fn, cR as On, cS as _n, cT as Vn, bx as Rn, cU as Nt, cV as qt, cW as En, bA as Mn, cX as zn, cY as qn, cZ as jn, c_ as ye, c$ as jt, d0 as Gn, d1 as Un, d2 as Bn, d3 as Wn, d4 as Kn, d5 as Ze, d6 as he, d7 as et, d8 as tt, d9 as nt, da as Qn, db as Re, dc as Ee, dd as Me, de as ze, df as Gt, dg as Ut, dh as Bt } from "./semaphor-ready-indicator-DtivanBy.js";
5
+ import { b1 as ct, u as ut, af as se, c4 as _t, cB as J, cC as bn, c0 as Ie, cD as Ue, cE as Vt, cF as vn, bW as Ve, cG as yn, ag as Rt, bD as Nn, bE as Cn, bG as wn, bw as kn, cH as Sn, h as Dn, cI as In, cJ as yt, bV as Et, cK as Tn, cL as Mt, cM as zt, cN as Ln, cO as An, cP as $n, cQ as Fn, cR as On, cS as _n, cT as Vn, bx as Rn, cU as Nt, cV as qt, cW as En, bA as Mn, cX as zn, cY as qn, cZ as jn, c_ as ye, c$ as jt, d0 as Gn, d1 as Un, d2 as Bn, d3 as Wn, d4 as Kn, d5 as Ze, d6 as he, d7 as et, d8 as tt, d9 as nt, da as Qn, db as Re, dc as Ee, dd as Me, de as ze, df as Gt, dg as Ut, dh as Bt } from "./semaphor-ready-indicator-cAOfbBuc.js";
6
6
  import { D as Hn } from "./token-types-iKMplaBL.js";
7
- import { f9 as Wt, fa as Pn, fb as Yn, fc as Jn, fd as Xn, fe as Zn, ff as $e, fg as Ct, fh as wt, fi as Qe, fj as He, fk as ea, fl as ta, fm as kt, fn as na, fo as aa, fp as Fe, fq as ra, fr as St, fs as Kt, ft as Qt, fu as Ht, fv as Pt, fw as sa, fx as oa, fy as Dt, fz as ia, fA as It, fB as la, fC as da, fD as ca, fE as ua, fF as Pe, a as qe, fG as Ye, ba as ma, fH as pa, fI as fa, fJ as ha, fK as xa } from "./resolve-dashboard-input-context-DBFuNhZo.js";
7
+ import { f9 as Wt, fa as Pn, fb as Yn, fc as Jn, fd as Xn, fe as Zn, ff as $e, fg as Ct, fh as wt, fi as Qe, fj as He, fk as ea, fl as ta, fm as kt, fn as na, fo as aa, fp as Fe, fq as ra, fr as St, fs as Kt, ft as Qt, fu as Ht, fv as Pt, fw as sa, fx as oa, fy as Dt, fz as ia, fA as It, fB as la, fC as da, fD as ca, fE as ua, fF as Pe, a as qe, fG as Ye, ba as ma, fH as pa, fI as fa, fJ as ha, fK as xa } from "./resolve-dashboard-input-context-DoZHMivF.js";
8
8
  import { c as z } from "./pickers-DkqmtnTL.js";
9
9
  import { r as Yt } from "./validators-B8fpdinG.js";
10
10
  import "./matrix-operation-contract-DCVinw1o.js";
@@ -12,7 +12,7 @@ import "./analytics-base-schemas-BaIQrEzX.js";
12
12
  import "../value-format-preferences/index.js";
13
13
  import { U as ga } from "./upload-CiGNKJ_0.js";
14
14
  import { a as Jt } from "./metric-comparison-n9NsIa-2.js";
15
- import { S as Xt } from "./filter-reach-copy-BTAXnbwQ.js";
15
+ import { S as Xt } from "./filter-reach-copy-Xus3MfSo.js";
16
16
  /**
17
17
  * @license lucide-react v0.453.0 - ISC
18
18
  *
@@ -3,26 +3,40 @@ var q = (e, a, i) => a in e ? T(e, a, { enumerable: !0, configurable: !0, writab
3
3
  var b = (e, a, i) => q(e, typeof a != "symbol" ? a + "" : a, i);
4
4
  import { z as t } from "zod";
5
5
  import { s as k } from "./analytics-base-schemas-BaIQrEzX.js";
6
- const J = 1;
7
- function $(e) {
6
+ const J = 1, Y = [
7
+ // before streaming (HTTP status in spec section 10)
8
+ "assistant_unavailable",
9
+ "context_invalid",
10
+ "context_too_large",
11
+ "conversation_not_found",
12
+ "conversation_full",
13
+ "turn_in_progress",
14
+ "daily_limit_reached",
15
+ // inside the stream
16
+ "budget_exhausted",
17
+ "not_permitted",
18
+ "no_data_found",
19
+ "model_unavailable"
20
+ ];
21
+ function _(e) {
8
22
  return `You've used ${e === void 0 ? "today's questions" : `today's ${e} questions`}. They reset tomorrow. To keep going, contact your administrator.`;
9
23
  }
10
- function U(e, a = {}) {
11
- return e === "daily_limit_reached" ? $(a.dailyLimit) : y[e];
24
+ function z(e, a = {}) {
25
+ return e === "daily_limit_reached" ? _(a.dailyLimit) : $[e];
12
26
  }
13
- const y = {
27
+ const $ = {
14
28
  assistant_unavailable: "The assistant is not available here.",
15
29
  context_invalid: "Something on this page changed. Try again.",
16
30
  context_too_large: "There is too much on this page to send with your question. Ask about one card, or clear some filters.",
17
31
  conversation_not_found: "This conversation has ended. Start a new one.",
18
32
  conversation_full: "This conversation is full. Start a new one.",
19
33
  turn_in_progress: "Still answering your last question.",
20
- daily_limit_reached: $(),
34
+ daily_limit_reached: _(),
21
35
  budget_exhausted: "This question needed more steps than one answer allows. Try asking for less at once.",
22
36
  not_permitted: "You do not have access to the data this needs.",
23
37
  no_data_found: "No data matched this question.",
24
38
  model_unavailable: "The assistant could not answer right now. Try again."
25
- }, j = {
39
+ }, A = {
26
40
  messageChars: 4e3,
27
41
  /** The whole serialized AssistantContext, in UTF-8 bytes. */
28
42
  contextBytes: 48 * 1024,
@@ -60,22 +74,22 @@ const y = {
60
74
  // rows kept on an artifact (D4-6: several fit in a conversation's 1 MB)
61
75
  conversationTtlSeconds: 24 * 60 * 60
62
76
  };
63
- function Y(e) {
77
+ function G(e) {
64
78
  return new TextEncoder().encode(JSON.stringify(e)).length;
65
79
  }
66
- function z(e, a) {
80
+ function H(e, a) {
67
81
  if (e.length <= a) return e;
68
- const i = (r) => ` [${r} more characters not shown]`, s = a - i(e.length).length;
82
+ const i = (n) => ` [${n} more characters not shown]`, s = a - i(e.length).length;
69
83
  return `${e.slice(0, s)}${i(e.length - s)}`;
70
84
  }
71
- class G extends Error {
85
+ class X extends Error {
72
86
  constructor(i) {
73
- super(y.context_too_large);
87
+ super($.context_too_large);
74
88
  b(this, "code", "context_too_large");
75
89
  this.bytes = i, this.name = "AssistantContextTooLargeError";
76
90
  }
77
91
  }
78
- const A = 1, n = j, p = t.string().min(1).max(n.idChars), h = t.string().max(n.labelChars), u = t.string().max(n.textChars), g = t.number().int().positive(), v = t.string().min(1).max(100), S = t.object({ id: p, title: h }).strict(), N = t.object({
92
+ const j = 1, N = ["dashboard", "editor", "none"], r = A, p = t.string().min(1).max(r.idChars), h = t.string().max(r.labelChars), u = t.string().max(r.textChars), g = t.number().int().positive(), v = t.string().min(1).max(100), S = t.object({ id: p, title: h }).strict(), E = t.object({
79
93
  inputId: p,
80
94
  label: h,
81
95
  value: t.discriminatedUnion("kind", [
@@ -89,61 +103,61 @@ const A = 1, n = j, p = t.string().min(1).max(n.idChars), h = t.string().max(n.l
89
103
  t.object({ kind: t.literal("varies") }).strict()
90
104
  ]),
91
105
  globalDate: t.literal(!0).optional()
92
- }).strict(), I = {
106
+ }).strict(), y = {
93
107
  id: p,
94
108
  title: h,
95
109
  visualType: t.string().max(100),
96
110
  source: k.optional()
97
- }, E = t.object(I).strict(), _ = (e) => t.object(Object.fromEntries(e.map((a) => [a, g.optional()]))).strict().optional(), F = t.object({
111
+ }, F = t.object(y).strict(), I = (e) => t.object(Object.fromEntries(e.map((a) => [a, g.optional()]))).strict().optional(), L = t.object({
98
112
  role: t.enum(["row", "column", "measure", "detail"]),
99
113
  label: h,
100
114
  name: h,
101
115
  aggregate: t.string().max(40).optional(),
102
116
  granularity: t.string().max(40).optional()
103
- }).strict(), L = t.discriminatedUnion("status", [
117
+ }).strict(), x = t.discriminatedUnion("status", [
104
118
  t.object({
105
119
  status: t.literal("described"),
106
- fields: t.array(F).max(n.cardFields),
120
+ fields: t.array(L).max(r.cardFields),
107
121
  filters: t.array(
108
122
  t.object({
109
123
  origin: t.enum(["dashboard_input", "card_input", "card", "drill", "selection"]),
110
124
  text: u,
111
125
  omittedValues: g.optional()
112
126
  }).strict()
113
- ).max(n.cardFilters),
114
- controls: t.array(t.object({ label: h, valueText: u }).strict()).max(n.cardControls),
115
- drillPath: t.array(u).max(n.drillSteps),
127
+ ).max(r.cardFilters),
128
+ controls: t.array(t.object({ label: h, valueText: u }).strict()).max(r.cardControls),
129
+ drillPath: t.array(u).max(r.drillSteps),
116
130
  sql: t.object({
117
- text: t.string().max(n.sqlChars),
118
- parameters: t.array(t.object({ name: h, valueText: u }).strict()).max(n.sqlParameters)
131
+ text: t.string().max(r.sqlChars),
132
+ parameters: t.array(t.object({ name: h, valueText: u }).strict()).max(r.sqlParameters)
119
133
  }).strict().optional(),
120
- comparisons: t.array(u).max(n.cardFields).optional(),
121
- omitted: _(["fields", "filters", "controls", "drillSteps", "sqlParameters", "comparisons"])
134
+ comparisons: t.array(u).max(r.cardFields).optional(),
135
+ omitted: I(["fields", "filters", "controls", "drillSteps", "sqlParameters", "comparisons"])
122
136
  }).strict(),
123
137
  t.object({
124
138
  status: t.literal("not_described"),
125
139
  reason: t.enum(["matrix", "custom_visual", "python", "snapshot_blocked", "snapshot_pending"]),
126
140
  message: u.optional()
127
141
  }).strict()
128
- ]), P = t.object({
129
- ...I,
142
+ ]), R = t.object({
143
+ ...y,
130
144
  fingerprint: v,
131
- description: L
132
- }).strict(), H = t.object({
133
- version: t.literal(A),
134
- surface: t.enum(["dashboard", "editor", "none"]),
145
+ description: x
146
+ }).strict(), K = t.object({
147
+ version: t.literal(j),
148
+ surface: t.enum(N),
135
149
  dashboard: t.object({
136
150
  id: p,
137
151
  title: h,
138
152
  unsavedEdits: t.boolean()
139
153
  }).strict().optional(),
140
154
  sheet: S.optional(),
141
- otherSheets: t.array(S).max(n.otherSheets),
142
- activeInputs: t.array(N).max(n.activeInputs),
143
- cards: t.array(E).max(n.summaryCards),
144
- selectedCard: P.optional(),
155
+ otherSheets: t.array(S).max(r.otherSheets),
156
+ activeInputs: t.array(E).max(r.activeInputs),
157
+ cards: t.array(F).max(r.summaryCards),
158
+ selectedCard: R.optional(),
145
159
  editing: t.object({ mode: t.enum(["visual", "sql"]) }).strict().optional(),
146
- omitted: _(["otherSheets", "activeInputs", "cards"]),
160
+ omitted: I(["otherSheets", "activeInputs", "cards"]),
147
161
  timeZone: t.string().min(1).max(100)
148
162
  }).strict().superRefine((e, a) => {
149
163
  e.surface !== "none" && !e.dashboard && a.addIssue({
@@ -160,7 +174,7 @@ const A = 1, n = j, p = t.string().min(1).max(n.idChars), h = t.string().max(n.l
160
174
  message: "required on the editor surface, and only there"
161
175
  });
162
176
  });
163
- function X(e, a) {
177
+ function ee(e, a) {
164
178
  if (!e) return [];
165
179
  const i = [];
166
180
  e.surface !== a.surface && i.push({
@@ -172,26 +186,26 @@ function X(e, a) {
172
186
  fromSheetId: e.sheet.id,
173
187
  toSheetId: a.sheet.id
174
188
  });
175
- const s = e.selectedCard, r = a.selectedCard;
176
- (s == null ? void 0 : s.id) !== (r == null ? void 0 : r.id) ? i.push({
189
+ const s = e.selectedCard, n = a.selectedCard;
190
+ (s == null ? void 0 : s.id) !== (n == null ? void 0 : n.id) ? i.push({
177
191
  kind: "selection_changed",
178
192
  ...s ? { fromCardId: s.id } : {},
179
- ...r ? { toCardId: r.id } : {}
180
- }) : s && r && s.fingerprint !== r.fingerprint && i.push({ kind: "card_changed", cardId: r.id });
181
- const d = R(
193
+ ...n ? { toCardId: n.id } : {}
194
+ }) : s && n && s.fingerprint !== n.fingerprint && i.push({ kind: "card_changed", cardId: n.id });
195
+ const d = O(
182
196
  e.activeInputs ?? [],
183
197
  a.activeInputs
184
198
  );
185
199
  return d.length > 0 && i.push({ kind: "inputs_changed", inputIds: d }), i;
186
200
  }
187
- function R(e, a) {
188
- const i = (o) => o ? o.value.kind === "set" ? o.value.fingerprint : "varies" : void 0, s = new Map(e.map((o) => [o.inputId, o])), r = new Map(a.map((o) => [o.inputId, o]));
189
- return [.../* @__PURE__ */ new Set([...s.keys(), ...r.keys()])].filter(
190
- (o) => i(s.get(o)) !== i(r.get(o))
201
+ function O(e, a) {
202
+ const i = (o) => o ? o.value.kind === "set" ? o.value.fingerprint : "varies" : void 0, s = new Map(e.map((o) => [o.inputId, o])), n = new Map(a.map((o) => [o.inputId, o]));
203
+ return [.../* @__PURE__ */ new Set([...s.keys(), ...n.keys()])].filter(
204
+ (o) => i(s.get(o)) !== i(n.get(o))
191
205
  );
192
206
  }
193
- function K(e, a, i) {
194
- var r, d, o;
207
+ function te(e, a, i) {
208
+ var n, d, o;
195
209
  const s = [];
196
210
  if (e.surface === "none" || !e.dashboard)
197
211
  s.push(
@@ -204,7 +218,7 @@ function K(e, a, i) {
204
218
  ), e.sheet && s.push(
205
219
  `Current sheet: ${l(e.sheet.title)} (id ${e.sheet.id}).`
206
220
  ), e.otherSheets.length > 0 && s.push(
207
- `Other sheets: ${e.otherSheets.map((C) => l(C.title)).join(", ")}${m((r = e.omitted) == null ? void 0 : r.otherSheets, "sheets")}.`
221
+ `Other sheets: ${e.otherSheets.map((C) => l(C.title)).join(", ")}${m((n = e.omitted) == null ? void 0 : n.otherSheets, "sheets")}.`
208
222
  );
209
223
  }
210
224
  if (e.activeInputs.length > 0) {
@@ -222,7 +236,7 @@ function K(e, a, i) {
222
236
  s.push(`- ${f(c)}`);
223
237
  (o = e.omitted) != null && o.cards && s.push(`- ${e.omitted.cards} more cards are not listed.`);
224
238
  }
225
- if (e.selectedCard && s.push("", ...M(e.selectedCard, e.editing)), i.length > 0) {
239
+ if (e.selectedCard && s.push("", ...Q(e.selectedCard, e.editing)), i.length > 0) {
226
240
  s.push("", "Sources the user added:");
227
241
  for (const c of i)
228
242
  s.push(`- ${w(c)}`);
@@ -230,12 +244,12 @@ function K(e, a, i) {
230
244
  if (a.length > 0) {
231
245
  s.push("", "Since the last question:");
232
246
  for (const c of a)
233
- s.push(`- ${Q(c, e)}`);
247
+ s.push(`- ${V(c, e)}`);
234
248
  }
235
249
  return s.push("", `The user's time zone is ${e.timeZone}.`), s.join(`
236
250
  `);
237
251
  }
238
- function x(e) {
252
+ function P(e) {
239
253
  const a = [e.name, e.aggregate, e.granularity ? `by ${e.granularity}` : void 0].filter(Boolean);
240
254
  return `${e.role} ${l(e.label)} (${a.join(", ")})`;
241
255
  }
@@ -252,55 +266,55 @@ function B(e) {
252
266
  const { value: a } = e;
253
267
  return a.kind === "varies" ? `${l(e.label)}: differs by card; ask about a card to see its value` : a.notApplied ? `${a.text} (not applied in this view: it was opened from another dashboard without this dashboard's own filters)` : `${a.text}${e.globalDate ? ", applied to each card's own date field, on cards that have one" : ""}`;
254
268
  }
255
- const O = {
269
+ const D = {
256
270
  matrix: "it is a Matrix card",
257
271
  custom_visual: "it is a custom visual",
258
272
  python: "it is computed with Python",
259
273
  snapshot_blocked: "the dashboard could not compile it",
260
274
  snapshot_pending: "it was still loading when the question was sent"
261
- }, D = {
275
+ }, M = {
262
276
  dashboard_input: "dashboard input",
263
277
  card_input: "the card's own input",
264
278
  card: "the card's own filter",
265
279
  drill: "drill",
266
280
  selection: "selection on another card"
267
281
  };
268
- function M(e, a) {
282
+ function Q(e, a) {
269
283
  var d;
270
284
  const i = a ? [
271
285
  `The user is editing the visual ${f(e)} in ${a.mode === "sql" ? "SQL" : "visual"} mode. What follows is their draft as it is on screen, which may not be saved: fromCard on this card runs the draft, and its rows are the draft's, not the saved card's. You cannot change the visual; to help change it, explain the steps in the editor or write SQL for them to paste.`
272
286
  ] : [`The user is asking about the card ${f(e)}.`], s = e.description;
273
287
  if (s.status === "not_described")
274
288
  return i.push(
275
- `How this card is built is not available to you: ${O[s.reason]}${s.message ? ` (${s.message})` : ""}. Answer with the tools, and say that you could not read the card's definition.`
289
+ `How this card is built is not available to you: ${D[s.reason]}${s.message ? ` (${s.message})` : ""}. Answer with the tools, and say that you could not read the card's definition.`
276
290
  ), i;
277
- const r = s.omitted ?? {};
291
+ const n = s.omitted ?? {};
278
292
  if (i.push(a ? "What the draft runs, as the editor compiled it:" : "What the card runs, as the dashboard compiled it:"), s.fields.length > 0) {
279
- const o = s.fields.map(x);
280
- i.push(`- Fields: ${o.join("; ")}${m(r.fields, "fields not listed")}.`);
293
+ const o = s.fields.map(P);
294
+ i.push(`- Fields: ${o.join("; ")}${m(n.fields, "fields not listed")}.`);
281
295
  } else
282
296
  i.push("- Fields: none.");
283
297
  if (s.filters.length > 0) {
284
298
  i.push("- Filters, all applied together:");
285
299
  for (const o of s.filters)
286
- i.push(` - ${D[o.origin]}: ${o.text}`);
287
- r.filters && i.push(` - ${r.filters} more filters are not listed.`);
300
+ i.push(` - ${M[o.origin]}: ${o.text}`);
301
+ n.filters && i.push(` - ${n.filters} more filters are not listed.`);
288
302
  } else
289
303
  i.push("- Filters: none.");
290
304
  if (s.drillPath.length > 0 && i.push(
291
- `- Drilled into: ${s.drillPath.join(", then ")}${m(r.drillSteps, "steps")}.`
305
+ `- Drilled into: ${s.drillPath.join(", then ")}${m(n.drillSteps, "steps")}.`
292
306
  ), s.controls.length > 0) {
293
307
  i.push("- Controls:");
294
308
  for (const o of s.controls)
295
309
  i.push(` - ${l(o.label)}: ${o.valueText}`);
296
- r.controls && i.push(` - ${r.controls} more controls are not listed.`);
310
+ n.controls && i.push(` - ${n.controls} more controls are not listed.`);
297
311
  }
298
312
  if (s.sql && (i.push("- SQL:", "```sql", s.sql.text, "```"), s.sql.parameters.length > 0 && i.push(
299
- `- SQL parameters: ${s.sql.parameters.map((o) => `${o.name} = ${o.valueText}`).join("; ")}${m(r.sqlParameters, "parameters")}.`
313
+ `- SQL parameters: ${s.sql.parameters.map((o) => `${o.name} = ${o.valueText}`).join("; ")}${m(n.sqlParameters, "parameters")}.`
300
314
  )), (d = s.comparisons) != null && d.length) {
301
315
  i.push("- Comparisons (the windows are known only once a query runs):");
302
316
  for (const o of s.comparisons) i.push(` - ${o}`);
303
- r.comparisons && i.push(` - ${r.comparisons} more comparisons are not listed.`);
317
+ n.comparisons && i.push(` - ${n.comparisons} more comparisons are not listed.`);
304
318
  }
305
319
  return i.push(
306
320
  "This lists the card's fields, filters, drill path, controls, SQL and comparisons; it does not include the card's sorting, row limit or calculated-field formulas. A query you build yourself can differ from the card."
@@ -316,7 +330,7 @@ function w(e) {
316
330
  return `SQL on ${e.label ? l(e.label) : "a connection"} (connectionId ${e.connectionId})`;
317
331
  }
318
332
  }
319
- function Q(e, a) {
333
+ function V(e, a) {
320
334
  var i;
321
335
  switch (e.kind) {
322
336
  case "surface_changed":
@@ -328,26 +342,28 @@ function Q(e, a) {
328
342
  case "card_changed":
329
343
  return `card ${e.cardId} now runs differently (its fields, filters, controls or SQL changed).`;
330
344
  case "inputs_changed":
331
- return `these dashboard inputs changed: ${e.inputIds.map((r) => {
332
- const d = a.activeInputs.find((o) => o.inputId === r);
333
- return d ? l(d.label) : `input ${r} (now cleared)`;
345
+ return `these dashboard inputs changed: ${e.inputIds.map((n) => {
346
+ const d = a.activeInputs.find((o) => o.inputId === n);
347
+ return d ? l(d.label) : `input ${n} (now cleared)`;
334
348
  }).join(", ")}.`;
335
349
  }
336
350
  }
337
351
  export {
338
- j as A,
339
- H as a,
340
- F as b,
341
- Y as c,
342
- G as d,
343
- A as e,
344
- z as f,
345
- X as g,
346
- x as h,
347
- w as i,
348
- J as j,
349
- $ as k,
350
- U as l,
351
- y as m,
352
- K as r
352
+ A,
353
+ K as a,
354
+ L as b,
355
+ G as c,
356
+ X as d,
357
+ j as e,
358
+ H as f,
359
+ N as g,
360
+ ee as h,
361
+ P as i,
362
+ w as j,
363
+ J as k,
364
+ Y as l,
365
+ _ as m,
366
+ z as n,
367
+ $ as o,
368
+ te as r
353
369
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as a, jsxs as n } from "react/jsx-runtime";
2
- import { E as o, F as i, S as d, B as s, a as c, U as l, D as t, A as h, C as f, b } from "./semaphor-ready-indicator-DtivanBy.js";
2
+ import { E as o, F as i, S as d, B as s, a as c, U as l, D as t, A as h, C as f, b } from "./semaphor-ready-indicator-cAOfbBuc.js";
3
3
  function u(e) {
4
4
  if (typeof window > "u")
5
5
  return null;
@@ -1,6 +1,6 @@
1
1
  import { jsx as t, jsxs as r, Fragment as U } from "react/jsx-runtime";
2
2
  import la, { useState as E, useEffect as Ee, useCallback as ie, useMemo as Y, useLayoutEffect as Ut, useRef as et, useContext as Va } from "react";
3
- import { dI as it, bD as Le, bE as Ve, bG as Be, dJ as Ba, b1 as $e, a_ as ot, dK as Pa, dL as lt, dM as Ct, ag as dt, ad as ve, u as w, dN as _a, dO as Oa, bC as M, dP as Ma, af as oe, aY as za, c6 as Ra, dQ as Ua, dR as $a, bw as da, bW as be, cq as ca, bV as tt, n as ja, j as qa, dS as Wa, ct as wt, cu as St, cv as kt, cw as Dt, cx as At, cy as Ft, cz as Et, cA as ua, cD as It, dT as Qa, dp as Ka, ci as pt, cf as je, cg as qe, dB as ha, ch as We, c2 as re, cr as Ha, cm as at, dU as Ga, b$ as Ya, dV as ma, bn as ct, bF as Tt, bH as ut, dW as pa, bB as Xa, dX as Ja, bo as Za, h as en, dY as tn, J as an, H as fa, bi as nn, K as rn, r as sn, dZ as on, d_ as ln, d$ as ga, e0 as dn, e1 as cn, e2 as Ce, e3 as un, R as ba, e4 as hn, e5 as mn, aV as pn, e6 as fn, e7 as ge, e8 as gn, a3 as Lt, e9 as bn, ea as ft, eb as xn, ec as $t, ed as vn, ee as yn, ef as Nn, eg as xa, cT as Cn, eh as wn, ei as Sn, dv as Vt, cE as va, ej as kn, ek as jt, el as Dn, em as An, en as Fn, eo as En, b0 as In, bx as Tn, c5 as ya, ep as Ln, eq as Vn, er as Xe, es as Bn, et as Pn, eu as _n, A as On, aK as Mn, aL as zn, aq as Rn, ap as Un, ao as $n, an as jn, ak as qn, ai as Wn, ev as Qn, ew as Kn, ex as Hn, ey as Gn, ez as Yn, aI as Xn } from "./semaphor-ready-indicator-DtivanBy.js";
3
+ import { dI as it, bD as Le, bE as Ve, bG as Be, dJ as Ba, b1 as $e, a_ as ot, dK as Pa, dL as lt, dM as Ct, ag as dt, ad as ve, u as w, dN as _a, dO as Oa, bC as M, dP as Ma, af as oe, aY as za, c6 as Ra, dQ as Ua, dR as $a, bw as da, bW as be, cq as ca, bV as tt, n as ja, j as qa, dS as Wa, ct as wt, cu as St, cv as kt, cw as Dt, cx as At, cy as Ft, cz as Et, cA as ua, cD as It, dT as Qa, dp as Ka, ci as pt, cf as je, cg as qe, dB as ha, ch as We, c2 as re, cr as Ha, cm as at, dU as Ga, b$ as Ya, dV as ma, bn as ct, bF as Tt, bH as ut, dW as pa, bB as Xa, dX as Ja, bo as Za, h as en, dY as tn, J as an, H as fa, bi as nn, K as rn, r as sn, dZ as on, d_ as ln, d$ as ga, e0 as dn, e1 as cn, e2 as Ce, e3 as un, R as ba, e4 as hn, e5 as mn, aV as pn, e6 as fn, e7 as ge, e8 as gn, a3 as Lt, e9 as bn, ea as ft, eb as xn, ec as $t, ed as vn, ee as yn, ef as Nn, eg as xa, cT as Cn, eh as wn, ei as Sn, dv as Vt, cE as va, ej as kn, ek as jt, el as Dn, em as An, en as Fn, eo as En, b0 as In, bx as Tn, c5 as ya, ep as Ln, eq as Vn, er as Xe, es as Bn, et as Pn, eu as _n, A as On, aK as Mn, aL as zn, aq as Rn, ap as Un, ao as $n, an as jn, ak as qn, ai as Wn, ev as Qn, ew as Kn, ex as Hn, ey as Gn, ez as Yn, aI as Xn } from "./semaphor-ready-indicator-cAOfbBuc.js";
4
4
  import { c as we, B as L, X as Qe, s as Re, x as xe, L as de, q as Bt, j as Pt, p as Jn, F as _t, e as Ie, aa as Na, h as Te, f as nt, i as Ca, g as Nt, y as Se, z as ke, A as De, D as Ae, E as fe, ab as Zn } from "./style-sheet-parts-C7qGZuH1.js";
5
5
  import { L as Ue } from "./layout-grid-8rR-LPTk.js";
6
6
  import { c as J } from "./pickers-DkqmtnTL.js";
@@ -9,19 +9,19 @@ import "./matrix-operation-contract-DCVinw1o.js";
9
9
  import "./analytics-base-schemas-BaIQrEzX.js";
10
10
  import "../value-format-preferences/index.js";
11
11
  import { s as Je } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
12
- import { bF as qt, bb as Wt, eo as Qt, gN as tr, gO as rt, fM as Kt, gP as ar, o as Ke, gQ as nr, p as rr, gf as sr, gR as ir, gS as or, ct as lr, gT as dr, l as cr, f9 as ur, gU as hr, gV as mr, a as Ot, aN as pr, a4 as fr, c7 as gr, gW as br, gX as xr, ci as vr, gY as yr, gZ as Ht, g_ as Nr } from "./resolve-dashboard-input-context-DBFuNhZo.js";
12
+ import { bF as qt, bb as Wt, eo as Qt, gN as tr, gO as rt, fM as Kt, gP as ar, o as Ke, gQ as nr, p as rr, gf as sr, gR as ir, gS as or, ct as lr, gT as dr, l as cr, f9 as ur, gU as hr, gV as mr, a as Ot, aN as pr, a4 as fr, c7 as gr, gW as br, gX as xr, ci as vr, gY as yr, gZ as Ht, g_ as Nr } from "./resolve-dashboard-input-context-DoZHMivF.js";
13
13
  import { S as wa } from "./save-D985VvYp.js";
14
- import { V as Cr, L as wr, a as Sr, u as Sa, C as ka, F as kr, b as Dr, A as Ar, c as Fr } from "./card-filter-builder-CwnMUZU2.js";
14
+ import { V as Cr, L as wr, a as Sr, u as Sa, C as ka, F as kr, b as Dr, A as Ar, c as Fr } from "./card-filter-builder-B9vtXVIZ.js";
15
15
  import { createPortal as Er } from "react-dom";
16
16
  import { aV as Gt, ar as Ir } from "./temporal-input-presentation-CqbJjIuu.js";
17
17
  import { aA as Tr, ao as Lr, D as Vr, a9 as st, S as Br } from "./bookmark-state-BEl_G9vr.js";
18
18
  import "zod";
19
19
  import "./schema-C9NPiIru.js";
20
20
  import "./index-CV_Kzou0.js";
21
- import "./context-R31TSL5V.js";
22
- import { v as Pr, F as _r } from "./filter-reach-copy-BTAXnbwQ.js";
23
- import { a as Yt, d as Xt, c as Or, i as Mr, b as zr, e as Rr, v as Jt, f as Zt, g as Ur } from "./variable-draft-DPSMDwqt.js";
24
- import { g as pe, d as $r, a as jr } from "./index-8BxDk8EP.js";
21
+ import "./context-BTLBjQNh.js";
22
+ import { v as Pr, F as _r } from "./filter-reach-copy-Xus3MfSo.js";
23
+ import { a as Yt, d as Xt, c as Or, i as Mr, b as zr, e as Rr, v as Jt, f as Zt, g as Ur } from "./variable-draft-T4EOBvcu.js";
24
+ import { g as pe, d as $r, a as jr } from "./index-CwlaI-UP.js";
25
25
  /**
26
26
  * @license lucide-react v0.453.0 - ISC
27
27
  *
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, jsxs as o, Fragment as R } from "react/jsx-runtime";
2
- import { bI as Fr, u as k, bJ as $r, bK as Gr, bL as ot, bM as Vr, bN as Hr, bO as jr, bP as qr, bQ as zr, bR as Kr, b1 as Y, a_ as xe, bS as ve, bC as C, bT as Qr, bD as $t, bE as Gt, bG as tt, bH as rt, bU as Vt, bV as it, bw as Wr, bW as ne, bX as Yr, bY as Jr, bZ as Ht, b_ as Xr, b$ as jt, c0 as Zr, bF as ea, c1 as ta, c2 as A, c3 as ra, c4 as aa, c5 as na, aL as sa, c6 as oa, bo as ia, c7 as da, bp as ca, i as la, a3 as ua, af as Et, h as Be, o as ma, j as Xe, G as ha, c8 as pa, c9 as fa, a1 as ga, ca as ba, s as xa, cb as va, v as ya, cc as wa, cd as Na, ce as Sa, cf as At, cg as It, ch as Lt, ci as Da, bq as ka, cj as Ca, T as Ea, ck as Aa, cl as Ia, cm as ae, cn as he, co as La, cp as Ma, cq as Oa, cr as Mt, n as Pa, cs as _a, ct as Ta, cu as Ra, cv as Ua, cw as Ba, cx as Fa, cy as $a, cz as Ga, cA as Ot, I as Va } from "./semaphor-ready-indicator-DtivanBy.js";
2
+ import { bI as Fr, u as k, bJ as $r, bK as Gr, bL as ot, bM as Vr, bN as Hr, bO as jr, bP as qr, bQ as zr, bR as Kr, b1 as Y, a_ as xe, bS as ve, bC as C, bT as Qr, bD as $t, bE as Gt, bG as tt, bH as rt, bU as Vt, bV as it, bw as Wr, bW as ne, bX as Yr, bY as Jr, bZ as Ht, b_ as Xr, b$ as jt, c0 as Zr, bF as ea, c1 as ta, c2 as A, c3 as ra, c4 as aa, c5 as na, aL as sa, c6 as oa, bo as ia, c7 as da, bp as ca, i as la, a3 as ua, af as Et, h as Be, o as ma, j as Xe, G as ha, c8 as pa, c9 as fa, a1 as ga, ca as ba, s as xa, cb as va, v as ya, cc as wa, cd as Na, ce as Sa, cf as At, cg as It, ch as Lt, ci as Da, bq as ka, cj as Ca, T as Ea, ck as Aa, cl as Ia, cm as ae, cn as he, co as La, cp as Ma, cq as Oa, cr as Mt, n as Pa, cs as _a, ct as Ta, cu as Ra, cv as Ua, cw as Ba, cx as Fa, cy as $a, cz as Ga, cA as Ot, I as Va } from "./semaphor-ready-indicator-cAOfbBuc.js";
3
3
  import { c as ye, B as V, a5 as Ha, a6 as ja, a7 as at, L as $e, X as qt, s as qa, y as za, z as Ka, A as Qa, D as Wa, E as Ya, e as Ja, f as Xa, h as Za, F as en, t as tn, u as rn, v as an, I as nn, w as sn, j as zt, g as Pt } from "./style-sheet-parts-C7qGZuH1.js";
4
4
  import * as E from "react";
5
5
  import Kt, { useMemo as H, useState as N, useEffect as ge, useRef as _t, useLayoutEffect as on } from "react";
@@ -8,17 +8,17 @@ 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 dn, c as cn, k as ln, D as un, A as mn, a as hn, h as pn, l as fn, V as gn, b as bn, d as xn, S as vn, j as yn, i as wn, m as Nn, U as Sn } from "./dashboard-briefing-launcher-BBpECqg2.js";
12
- import { I as Dn } from "./card-filter-builder-CwnMUZU2.js";
13
- import { h as kn, R as Cn } from "./report-preferences-dialog-RN4g9PEN.js";
11
+ import { u as dn, c as cn, k as ln, D as un, A as mn, a as hn, h as pn, l as fn, V as gn, b as bn, d as xn, S as vn, j as yn, i as wn, m as Nn, U as Sn } from "./dashboard-briefing-launcher-A9CLFv0s.js";
12
+ import { I as Dn } from "./card-filter-builder-B9vtXVIZ.js";
13
+ import { h as kn, R as Cn } from "./report-preferences-dialog-CcekIvkV.js";
14
14
  import { createPortal as En } from "react-dom";
15
- import { f6 as we, f7 as dt, f8 as Qt, o as An } from "./resolve-dashboard-input-context-DBFuNhZo.js";
15
+ import { f6 as we, f7 as dt, f8 as Qt, o as An } from "./resolve-dashboard-input-context-DoZHMivF.js";
16
16
  import { aH as Wt } from "./temporal-input-presentation-CqbJjIuu.js";
17
- import { k as nt } from "./stored-dashboard-rpLzf4mk.js";
17
+ import { k as nt } from "./stored-dashboard-CjnPEWO-.js";
18
18
  import { r as In } from "./export-file-format-C-tJsxsf.js";
19
19
  import { u as Ln, s as Mn } from "./normalize-dashboard-for-dirty-check-XKgH3GFX.js";
20
20
  import { z as Yt } from "./bookmark-state-BEl_G9vr.js";
21
- import { d as On, a as Pn } from "./bookmark-impact-DUWw3wlA.js";
21
+ import { d as On, a as Pn } from "./bookmark-impact-MH4Dr-Ya.js";
22
22
  import { S as _n } from "./save-D985VvYp.js";
23
23
  import { P as Tn } from "./paintbrush-aR17Z3C9.js";
24
24
  import { P as Rn } from "./palette-a5FCZKFI.js";
@@ -1,6 +1,6 @@
1
1
  import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
2
  import { useMemo as u, useState as f, useRef as b, useEffect as p } from "react";
3
- import { u as o } from "./semaphor-ready-indicator-DtivanBy.js";
3
+ import { u as o } from "./semaphor-ready-indicator-cAOfbBuc.js";
4
4
  import { B as S, X as N, C as D } from "./style-sheet-parts-C7qGZuH1.js";
5
5
  import { c as J } from "./pickers-DkqmtnTL.js";
6
6
  import "./validators-B8fpdinG.js";
@@ -1,5 +1,5 @@
1
- import { h as D, d as F, r as b, a as f, e as g } from "./resolve-dashboard-input-context-DBFuNhZo.js";
2
- import { d as h } from "./filter-reach-copy-BTAXnbwQ.js";
1
+ import { h as D, d as F, r as b, a as f, e as g } from "./resolve-dashboard-input-context-DoZHMivF.js";
2
+ import { d as h } from "./filter-reach-copy-Xus3MfSo.js";
3
3
  import "./validators-B8fpdinG.js";
4
4
  import "./matrix-operation-contract-DCVinw1o.js";
5
5
  import "./analytics-base-schemas-BaIQrEzX.js";
@@ -9,9 +9,9 @@ import "../value-format-preferences/index.js";
9
9
  import { A as y } from "./bookmark-state-BEl_G9vr.js";
10
10
  import "./schema-C9NPiIru.js";
11
11
  import "./index-CV_Kzou0.js";
12
- import "./context-R31TSL5V.js";
13
- import { p as C, r as N } from "./stored-dashboard-rpLzf4mk.js";
14
- import { g as q } from "./saved-dashboard-context-AChHk4tw.js";
12
+ import "./context-BTLBjQNh.js";
13
+ import { p as C, r as N } from "./stored-dashboard-CjnPEWO-.js";
14
+ import { g as q } from "./saved-dashboard-context-LiDPCJ3r.js";
15
15
  function T(n, e) {
16
16
  var s;
17
17
  if (e.status === "blocked" || (s = n.sql) != null && s.trim()) return !1;
@@ -1,24 +1,24 @@
1
1
  import { jsx as e, jsxs as n, Fragment as ue } from "react/jsx-runtime";
2
2
  import sl, { useState as U, useEffect as we, useMemo as se, useRef as Ke, useCallback as xt, useId as Ma, useContext as ir, Suspense as Li } from "react";
3
- import { F as Yi, P as _i, a as Vi, b as ll, u as st, S as bs, c as vs, r as ol, E as Bi, T as Ki, A as qi, d as ji, e as Ga, f as $i, g as zi, h as Hi } from "./shelf-drop-preview-context-BTjYxbHC.js";
3
+ import { F as Yi, P as _i, a as Vi, b as ll, u as st, S as bs, c as vs, r as ol, E as Bi, T as Ki, A as qi, d as ji, e as Ga, f as $i, g as zi, h as Hi } from "./shelf-drop-preview-context-CwoYR7v1.js";
4
4
  import { c as J } from "./pickers-DkqmtnTL.js";
5
5
  import { a5 as il, M as Ui, v as ys, m as Qa } from "./validators-B8fpdinG.js";
6
6
  import "./matrix-operation-contract-DCVinw1o.js";
7
7
  import { y as Gi } from "./analytics-base-schemas-BaIQrEzX.js";
8
8
  import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as ha } from "../value-format-preferences/index.js";
9
- import { cG as Qi, eA as Da, eh as Ea, cF as cl, ek as Pa, eB as Fa, eC as Ji, ag as be, eD as Wi, bD as qt, bE as jt, bF as Wt, bG as $t, bH as zt, bB as Ia, cI as gt, cD as Bt, cB as qa, bC as it, eE as dl, dw as ja, bW as Ft, c0 as Yt, dv as ul, eF as xa, bV as rn, af as F, aZ as ct, eG as ml, eH as Xi, eI as Zi, eJ as ec, c5 as hl, eK as tc, dh as pl, b1 as Zt, dE as fl, et as gl, eL as ac, cr, dC as nc, ct as rc, cu as sc, cv as lc, cw as oc, cx as ic, cy as cc, cz as dc, cA as uc, a_ as dr, u as ge, aX as ea, eM as xl, cd as Ja, eN as bl, aY as Mn, bx as ur, b5 as vl, eO as mr, bL as sn, bS as mc, dW as hc, eP as Qn, cN as ta, cO as aa, cP as na, cS as pc, dY as hr, eQ as pr, eR as ln, eS as yl, dm as fr, dl as Nl, eT as fc, eU as gc, eV as Ot, eW as xc, eX as bc, eY as vc, eZ as yc, e_ as Cl, Z as wl, M as Nc, eb as Cc, e$ as wc, dt as Sc, f0 as gr, E as on, e as xr, f1 as Sl, f2 as kc, f3 as Ns, f4 as Tc, f5 as kl, f6 as Mc, f7 as Dc, bw as Tl, f8 as Ec, f9 as Fc, fa as Ic, fb as Ac, fc as Wa, fd as Pc, fe as Rc, ff as Ml, fg as Dl, fh as Oc, fi as Lc, dT as Yc, fj as _c, fk as El, fl as Vc, dq as Bc, dp as cn, fm as dn, cf as br, cg as vr, ch as yr, fn as Kc, fo as qc, db as Fl, dc as jc, dd as $c, de as zc, aW as Hc, fp as Uc, fq as Gc, fr as Qc, fs as Jc, ft as Cs, fu as Wc, fv as Il, fw as Al, b0 as Pl, b2 as Xc, b7 as Zc, b8 as ed, b3 as td, b4 as ad, fx as nd, fy as rd, fz as sd, fA as ld, fB as ws, ba as od, bb as id, fC as Rl, fD as ca, fE as da, fF as ua, eg as pa, ck as Ol, c2 as Dt, cm as Ss, cn as ks, co as Jn, fG as Ll, fH as cd, fI as dd, fJ as ud, fK as md, fL as un, fM as Re, fN as Oe, fO as Le, dz as hd, dA as pd, fP as Yl, fQ as _l, fR as fd, fS as Nr, fT as Cr, fU as gd, fV as Vl, fW as xd, fX as bd, fY as Wn, fZ as vd, f_ as yd, f$ as Nd, g0 as Cd, g1 as wd, g2 as Sd, g3 as Qt, g4 as Na, g5 as Ts, g6 as kd, g7 as Dn, g8 as Ms, g9 as Td, ga as Md, by as wr, bz as Aa, gb as En, gc as Bl, gd as Dd, ge as Ed, gf as Fd, gg as Id, gh as Kl, gi as ql, gj as Ad, gk as Pd, gl as jl, gm as Rd, gn as Od, go as $l, dr as Ld, ds as Yd, dB as _d, du as Vd, c4 as Bd, gp as Kd, gq as qd, gr as jd, cX as $d, cT as zl, gs as Hl, gt as zd, d0 as Hd, gu as Ul, gv as Ud, gw as Gd, gx as Qd, gy as Jd, gz as Wd, gA as Sr, el as Gl, gB as Ql, gC as $a, gD as Jl, gE as Wl, gF as Ds, gG as Xd, gH as Zd, gI as eu, dG as tu, gJ as au, bc as nu, gK as Es, ev as ru, gL as su, ew as lu, ey as ou, ez as iu, h as cu, gM as du, da as uu, gN as mu, gO as hu, gP as pu, gQ as fu, d5 as gu, d6 as xu, gR as bu, gS as vu, d9 as yu, ad as Nu, dF as Cu, F as wu, gT as Su, bn as ku } from "./semaphor-ready-indicator-DtivanBy.js";
9
+ import { cG as Qi, eA as Da, eh as Ea, cF as cl, ek as Pa, eB as Fa, eC as Ji, ag as be, eD as Wi, bD as qt, bE as jt, bF as Wt, bG as $t, bH as zt, bB as Ia, cI as gt, cD as Bt, cB as qa, bC as it, eE as dl, dw as ja, bW as Ft, c0 as Yt, dv as ul, eF as xa, bV as rn, af as F, aZ as ct, eG as ml, eH as Xi, eI as Zi, eJ as ec, c5 as hl, eK as tc, dh as pl, b1 as Zt, dE as fl, et as gl, eL as ac, cr, dC as nc, ct as rc, cu as sc, cv as lc, cw as oc, cx as ic, cy as cc, cz as dc, cA as uc, a_ as dr, u as ge, aX as ea, eM as xl, cd as Ja, eN as bl, aY as Mn, bx as ur, b5 as vl, eO as mr, bL as sn, bS as mc, dW as hc, eP as Qn, cN as ta, cO as aa, cP as na, cS as pc, dY as hr, eQ as pr, eR as ln, eS as yl, dm as fr, dl as Nl, eT as fc, eU as gc, eV as Ot, eW as xc, eX as bc, eY as vc, eZ as yc, e_ as Cl, Z as wl, M as Nc, eb as Cc, e$ as wc, dt as Sc, f0 as gr, E as on, e as xr, f1 as Sl, f2 as kc, f3 as Ns, f4 as Tc, f5 as kl, f6 as Mc, f7 as Dc, bw as Tl, f8 as Ec, f9 as Fc, fa as Ic, fb as Ac, fc as Wa, fd as Pc, fe as Rc, ff as Ml, fg as Dl, fh as Oc, fi as Lc, dT as Yc, fj as _c, fk as El, fl as Vc, dq as Bc, dp as cn, fm as dn, cf as br, cg as vr, ch as yr, fn as Kc, fo as qc, db as Fl, dc as jc, dd as $c, de as zc, aW as Hc, fp as Uc, fq as Gc, fr as Qc, fs as Jc, ft as Cs, fu as Wc, fv as Il, fw as Al, b0 as Pl, b2 as Xc, b7 as Zc, b8 as ed, b3 as td, b4 as ad, fx as nd, fy as rd, fz as sd, fA as ld, fB as ws, ba as od, bb as id, fC as Rl, fD as ca, fE as da, fF as ua, eg as pa, ck as Ol, c2 as Dt, cm as Ss, cn as ks, co as Jn, fG as Ll, fH as cd, fI as dd, fJ as ud, fK as md, fL as un, fM as Re, fN as Oe, fO as Le, dz as hd, dA as pd, fP as Yl, fQ as _l, fR as fd, fS as Nr, fT as Cr, fU as gd, fV as Vl, fW as xd, fX as bd, fY as Wn, fZ as vd, f_ as yd, f$ as Nd, g0 as Cd, g1 as wd, g2 as Sd, g3 as Qt, g4 as Na, g5 as Ts, g6 as kd, g7 as Dn, g8 as Ms, g9 as Td, ga as Md, by as wr, bz as Aa, gb as En, gc as Bl, gd as Dd, ge as Ed, gf as Fd, gg as Id, gh as Kl, gi as ql, gj as Ad, gk as Pd, gl as jl, gm as Rd, gn as Od, go as $l, dr as Ld, ds as Yd, dB as _d, du as Vd, c4 as Bd, gp as Kd, gq as qd, gr as jd, cX as $d, cT as zl, gs as Hl, gt as zd, d0 as Hd, gu as Ul, gv as Ud, gw as Gd, gx as Qd, gy as Jd, gz as Wd, gA as Sr, el as Gl, gB as Ql, gC as $a, gD as Jl, gE as Wl, gF as Ds, gG as Xd, gH as Zd, gI as eu, dG as tu, gJ as au, bc as nu, gK as Es, ev as ru, gL as su, ew as lu, ey as ou, ez as iu, h as cu, gM as du, da as uu, gN as mu, gO as hu, gP as pu, gQ as fu, d5 as gu, d6 as xu, gR as bu, gS as vu, d9 as yu, ad as Nu, dF as Cu, F as wu, gT as Su, bn as ku } from "./semaphor-ready-indicator-cAOfbBuc.js";
10
10
  import { c as qe, B as ne, r as Xl, m as mn, s as O, y as W, z as X, A as Z, D as ee, E as z, F as _t, X as rt, w as ut, t as bt, u as mt, v as ht, e as It, f as Vt, h as At, x as Ae, aa as Tu, L as Ra, C as Xt, T as Ht, k as Ut, l as at, n as wt, j as ra, I as fa, ac as Mu, ad as Du, q as Zl, i as Xa, ae as Xn, af as eo, d as ke, R as Fs, p as to, ag as Eu } from "./style-sheet-parts-C7qGZuH1.js";
11
11
  import { U as Fu } from "./upload-CiGNKJ_0.js";
12
- import { hy as Iu, de as Au, hz as Pu, hA as kr, hB as ga, hC as Ru, hD as Is, hE as Ou, hF as Lu, hG as As, R as sa, cs as ao, S as la, U as Oa, V as Lt, W as ma, c8 as Yu, bx as no, ey as _u, hu as Vu, fN as La, i as Bu, bc as Ku, gP as Tr, f8 as ro, n as qu, hH as ju, hI as $u, hJ as zu, hK as Hu, fM as Kt, gq as Uu, gp as Gu, hL as Qu, hM as so, fm as Ju, cI as Wu, hN as lo, gQ as Xu, d3 as Zu, d1 as Fn, hO as em, hP as tm, hQ as am, hR as nm, Y as rm, T as oo, Z as sm, hS as Zn, hT as lm, hU as om, hV as im, hW as Mr, fa as cm, ei as Dr, av as dm, a8 as er, eE as um, fS as mm, bP as io, bS as hm, bh as pm, bR as tr, bT as za, b as co, hX as fm, bg as gm, bp as xm, hY as bm, hZ as vm, eH as ym, h_ as Nm, eG as uo, h$ as Cm, i0 as wm, i1 as Sm, fK as Ct, i2 as km, i3 as Tm, i4 as Mm, i5 as Dm, i6 as Em, i7 as Fm, i8 as Ps, i9 as Rs, ia as Im, a as mo, aj as Am, ib as Pm, ic as Rm, id as Om, gF as Lm, ie as Os, ig as Ym, ih as _m, b9 as Vm, eP as Bm, eV as Km, aa as qm, fW as jm, ii as ho, gH as $m, bU as zm, ij as Hm, ik as Um, il as po, im as Er, e as Za, gO as Gm } from "./resolve-dashboard-input-context-DBFuNhZo.js";
13
- import { d as Qm, A as Jm, g as Fr, i as Wm, b as Xm, F as Zm, V as fo, I as nt, e as eh, u as th, C as ah, c as nh } from "./card-filter-builder-CwnMUZU2.js";
12
+ import { hy as Iu, de as Au, hz as Pu, hA as kr, hB as ga, hC as Ru, hD as Is, hE as Ou, hF as Lu, hG as As, R as sa, cs as ao, S as la, U as Oa, V as Lt, W as ma, c8 as Yu, bx as no, ey as _u, hu as Vu, fN as La, i as Bu, bc as Ku, gP as Tr, f8 as ro, n as qu, hH as ju, hI as $u, hJ as zu, hK as Hu, fM as Kt, gq as Uu, gp as Gu, hL as Qu, hM as so, fm as Ju, cI as Wu, hN as lo, gQ as Xu, d3 as Zu, d1 as Fn, hO as em, hP as tm, hQ as am, hR as nm, Y as rm, T as oo, Z as sm, hS as Zn, hT as lm, hU as om, hV as im, hW as Mr, fa as cm, ei as Dr, av as dm, a8 as er, eE as um, fS as mm, bP as io, bS as hm, bh as pm, bR as tr, bT as za, b as co, hX as fm, bg as gm, bp as xm, hY as bm, hZ as vm, eH as ym, h_ as Nm, eG as uo, h$ as Cm, i0 as wm, i1 as Sm, fK as Ct, i2 as km, i3 as Tm, i4 as Mm, i5 as Dm, i6 as Em, i7 as Fm, i8 as Ps, i9 as Rs, ia as Im, a as mo, aj as Am, ib as Pm, ic as Rm, id as Om, gF as Lm, ie as Os, ig as Ym, ih as _m, b9 as Vm, eP as Bm, eV as Km, aa as qm, fW as jm, ii as ho, gH as $m, bU as zm, ij as Hm, ik as Um, il as po, im as Er, e as Za, gO as Gm } from "./resolve-dashboard-input-context-DoZHMivF.js";
13
+ import { d as Qm, A as Jm, g as Fr, i as Wm, b as Xm, F as Zm, V as fo, I as nt, e as eh, u as th, C as ah, c as nh } from "./card-filter-builder-B9vtXVIZ.js";
14
14
  import "zod";
15
15
  import { aE as rh, aD as hn, az as Ir, j as sh, P as lh, av as go } from "./temporal-input-presentation-CqbJjIuu.js";
16
16
  import { aK as oh } from "./bookmark-state-BEl_G9vr.js";
17
17
  import "./schema-C9NPiIru.js";
18
18
  import { i as xo } from "./index-CV_Kzou0.js";
19
- import "./context-R31TSL5V.js";
20
- import { N as Ar, T as ih, U as bo, V as vo, W as Pr, X as Rr, S as Ha, Y as ch } from "./filter-reach-copy-BTAXnbwQ.js";
21
- import { E as dh, a1 as uh, e as mh, a2 as hh, W as yo, a3 as ph, X as No, a4 as fh, R as gh, s as xh, a5 as bh, a6 as vh, a7 as yh, a8 as Nh, a9 as Ch, B as wh } from "./stored-dashboard-rpLzf4mk.js";
19
+ import "./context-BTLBjQNh.js";
20
+ import { N as Ar, T as ih, U as bo, V as vo, W as Pr, X as Rr, S as Ha, Y as ch } from "./filter-reach-copy-Xus3MfSo.js";
21
+ import { E as dh, a1 as uh, e as mh, a2 as hh, W as yo, a3 as ph, X as No, a4 as fh, R as gh, s as xh, a5 as bh, a6 as vh, a7 as yh, a8 as Nh, a9 as Ch, B as wh } from "./stored-dashboard-CjnPEWO-.js";
22
22
  import "react-dom";
23
23
  import { L as Ls } from "./list-filter-C1-uTgjR.js";
24
24
  import { r as Sh } from "./export-file-format-C-tJsxsf.js";
@@ -27,7 +27,7 @@ import { P as Th } from "./paintbrush-aR17Z3C9.js";
27
27
  import { D as Mh } from "./metric-comparison-n9NsIa-2.js";
28
28
  import { P as Dh } from "./palette-a5FCZKFI.js";
29
29
  import "./attribution-BvoKvhcj.js";
30
- import { r as Eh } from "./dates-DlYMDaF2.js";
30
+ import { r as Eh } from "./dates-BhL-mimk.js";
31
31
  /**
32
32
  * @license lucide-react v0.453.0 - ISC
33
33
  *
@@ -1,5 +1,5 @@
1
- import { J as vr, K as Ir, M as Cr, N as ln, O as Fr, P as Sr, Q as xr, R as Tr, S as wr, T as dn, U as Dr, V as kr, W as Or, X as Pe, Y as Mr, Z as _r, _ as Ar, g as Pr, k as Ie, $ as Nr, a0 as $r } from "./stored-dashboard-rpLzf4mk.js";
2
- import { fN as un, bu as Ce, fO as Er, fP as Rr, fQ as Kr, fR as Lr, P as Y, fS as fn, bw as Vr, fT as Br, fU as Je, ai as Ze, fV as qr, fW as Ur, fX as zr, L as et, fY as jr, bJ as Gr, Q as Wr, fZ as Hr, M as Yr, m as tt, f_ as nt, f$ as Qr, g0 as F, o as we, g1 as Z, g2 as T, g3 as Xr, g4 as Jr, g5 as kt, g6 as Zr, g7 as Ot, g8 as ei, aR as w, g9 as mn, b0 as De, ga as ti, gb as ni, gc as ri, gd as ii, ge as ai, gf as pn, cq as hn, gg as gn, gh as yn, fM as Fe, gi as Mt, a4 as Q, gj as rt, gk as _t, gl as it, t as At, gm as Pt, cd as at, gn as oi, go as si, gp as ie, gq as ci, gr as li, gs as di, a7 as ui, bD as fi, ci as ot, aD as mi, gt as Nt, gu as bn, gv as qe, K as pi, aG as hi, e7 as gi, gw as yi, gx as bi, gy as vi, gz as Ii, gA as Ci, gB as Fi, gC as Si, gD as xi, gE as Ue, fL as Ti, fG as Ne, gF as wi, gG as Di, gH as vn, a as In, gI as ki, gJ as Oi, db as Cn, gK as $t, cL as Mi, de as Et, dd as _i, ef as Ai, aV as Pi, eS as Ni, gL as $i, gM as Ei, cx as Rt } from "./resolve-dashboard-input-context-DBFuNhZo.js";
1
+ import { J as vr, K as Ir, M as Cr, N as ln, O as Fr, P as Sr, Q as xr, R as Tr, S as wr, T as dn, U as Dr, V as kr, W as Or, X as Pe, Y as Mr, Z as _r, _ as Ar, g as Pr, k as Ie, $ as Nr, a0 as $r } from "./stored-dashboard-CjnPEWO-.js";
2
+ import { fN as un, bu as Ce, fO as Er, fP as Rr, fQ as Kr, fR as Lr, P as Y, fS as fn, bw as Vr, fT as Br, fU as Je, ai as Ze, fV as qr, fW as Ur, fX as zr, L as et, fY as jr, bJ as Gr, Q as Wr, fZ as Hr, M as Yr, m as tt, f_ as nt, f$ as Qr, g0 as F, o as we, g1 as Z, g2 as T, g3 as Xr, g4 as Jr, g5 as kt, g6 as Zr, g7 as Ot, g8 as ei, aR as w, g9 as mn, b0 as De, ga as ti, gb as ni, gc as ri, gd as ii, ge as ai, gf as pn, cq as hn, gg as gn, gh as yn, fM as Fe, gi as Mt, a4 as Q, gj as rt, gk as _t, gl as it, t as At, gm as Pt, cd as at, gn as oi, go as si, gp as ie, gq as ci, gr as li, gs as di, a7 as ui, bD as fi, ci as ot, aD as mi, gt as Nt, gu as bn, gv as qe, K as pi, aG as hi, e7 as gi, gw as yi, gx as bi, gy as vi, gz as Ii, gA as Ci, gB as Fi, gC as Si, gD as xi, gE as Ue, fL as Ti, fG as Ne, gF as wi, gG as Di, gH as vn, a as In, gI as ki, gJ as Oi, db as Cn, gK as $t, cL as Mi, de as Et, dd as _i, ef as Ai, aV as Pi, eS as Ni, gL as $i, gM as Ei, cx as Rt } from "./resolve-dashboard-input-context-DoZHMivF.js";
3
3
  import { a5 as le, s as Ri, d as Ki, r as Fn, aE as Li, a2 as Sn, au as Vi, n as Bi, c as qi } from "./validators-B8fpdinG.js";
4
4
  import { M as Ui, l as $e } from "./matrix-operation-contract-DCVinw1o.js";
5
5
  import { r as zi, C as ji, a as Gi } from "./metric-comparison-n9NsIa-2.js";
@@ -14,7 +14,7 @@ import { f as ya, D as ba, g as va, C as me, i as Bt } from "./edit-9df1zOWe.js"
14
14
  import { D as Ia } from "./resolver-DG_tfEpt.js";
15
15
  import "./schema-C9NPiIru.js";
16
16
  import "./index-CV_Kzou0.js";
17
- import "./context-R31TSL5V.js";
17
+ import "./context-BTLBjQNh.js";
18
18
  import { r as Ca, Z as Fa, v as Sa } from "./matrix-analytical-definition-dkS8szLM.js";
19
19
  import { r as je } from "./pivot-result-identity-B89X5xjb.js";
20
20
  import { r as Mn } from "./applied-constraints-DU-wndZ7.js";
@@ -9,12 +9,12 @@ import { ah as Ve, aj as ze, W as je } from "./matrix-operation-contract-DCVinw1
9
9
  import "./analytics-base-schemas-BaIQrEzX.js";
10
10
  import "../value-format-preferences/index.js";
11
11
  import { r as qe } from "./rendered-file-D8xEuVVx.js";
12
- import { J as Ke, K as Ge, L as He, M as We, N as Xe, n as Ze, O as Ye, P as Je, Q as Qe, R as et, S as tt, T as nt, U as rt } from "./resolve-dashboard-input-context-DBFuNhZo.js";
12
+ import { J as Ke, K as Ge, L as He, M as We, N as Xe, n as Ze, O as Ye, P as Je, Q as Qe, R as et, S as tt, T as nt, U as rt } from "./resolve-dashboard-input-context-DoZHMivF.js";
13
13
  import { H as ot, I as at } from "./bookmark-state-BEl_G9vr.js";
14
14
  import "./pickers-DkqmtnTL.js";
15
15
  import "./schema-C9NPiIru.js";
16
16
  import "./index-CV_Kzou0.js";
17
- import "./context-R31TSL5V.js";
17
+ import "./context-BTLBjQNh.js";
18
18
  const it = /* @__PURE__ */ new Set(["table", "detailTable"]), ct = /* @__PURE__ */ new Set([
19
19
  "bar",
20
20
  "horizontalBar",