react-semaphor 0.1.599 → 0.1.601

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 (62) hide show
  1. package/dist/analytics-protocol/index.js +106 -105
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/brand-studio/index.js +7 -7
  4. package/dist/briefings/index.js +48 -45
  5. package/dist/chunks/{assistant-chat-f3XuzrAm.js → assistant-chat-BE0XXzZP.js} +12 -12
  6. package/dist/chunks/{bookmark-impact-B5hyttm2.js → bookmark-impact-DXDAN5AY.js} +3 -3
  7. package/dist/chunks/{bookmark-state-h1OLXVjE.js → bookmark-state-BMyB3Tb6.js} +4 -4
  8. package/dist/chunks/{card-filter-builder-DfLqD2RV.js → card-filter-builder-CE0-YVN5.js} +9 -9
  9. package/dist/chunks/comparison-window-caption-Dxj2CHOa.js +741 -0
  10. package/dist/chunks/{dashboard-briefing-launcher-RxYGtk-F.js → dashboard-briefing-launcher-CntwKyiZ.js} +13 -13
  11. package/dist/chunks/{dashboard-controls-DeaXrtLK.js → dashboard-controls-XO089DMg.js} +15 -15
  12. package/dist/chunks/{dashboard-json-DvxKpKd_.js → dashboard-json-CQRiydUv.js} +4 -4
  13. package/dist/chunks/{dashboard-CoI4aOUc.js → dashboard-mJKPFRbb.js} +1 -1
  14. package/dist/chunks/{dates-BhtO28Sn.js → dates-B-Urp5OD.js} +8 -8
  15. package/dist/chunks/{edit-dashboard-visual-C4f5hONA.js → edit-dashboard-visual-f-Dm-BLR.js} +176 -176
  16. package/dist/chunks/filter-line-CKNMyNTQ.js +703 -0
  17. package/dist/chunks/{filter-reach-copy-Cl5Od38Q.js → filter-reach-copy-B8GGyVuR.js} +1441 -1270
  18. package/dist/chunks/{filter-value-text-CXyuLW9Q.js → filter-value-text-CRtKecI5.js} +6 -6
  19. package/dist/chunks/{index-EKpTtkYF.js → index-DoPApnxg.js} +386 -360
  20. package/dist/chunks/{layout-grid-DSrBSfPM.js → layout-grid-CiSCZdIr.js} +1 -1
  21. package/dist/chunks/{matrix-analytical-definition-BuUSBDm7.js → matrix-analytical-definition-myf3D3Qx.js} +383 -362
  22. package/dist/chunks/{matrix-member-presentation-B_2beBc0.js → matrix-member-presentation-g0c_NpDW.js} +1 -1
  23. package/dist/chunks/{matrix-operation-contract-DdK0J_KU.js → matrix-operation-contract-C1SuOHLZ.js} +35 -35
  24. package/dist/chunks/{metric-comparison-Bhz0V841.js → metric-comparison-Cm0G893W.js} +3 -3
  25. package/dist/chunks/{paintbrush-1UiU-uTz.js → paintbrush-DQIwqlck.js} +1 -1
  26. package/dist/chunks/{palette-DFIFf_-m.js → palette-Cun747Rg.js} +1 -1
  27. package/dist/chunks/{pivot-result-contract-expectations-Dk7WFR_u.js → pivot-result-contract-expectations-C1Dyx8du.js} +17 -17
  28. package/dist/chunks/{pivot-result-identity-CzzrJpEm.js → pivot-result-identity-CBS-ssEp.js} +1 -1
  29. package/dist/chunks/{raw-temporal-value-BLvdaMng.js → raw-temporal-value-DN_l-Tss.js} +16 -16
  30. package/dist/chunks/{report-preferences-dialog-CZaYsQLK.js → report-preferences-dialog-SDZEcG2x.js} +13 -13
  31. package/dist/chunks/{report-runtime-context-CEGluufW.js → report-runtime-context-BbedQdtc.js} +1 -1
  32. package/dist/chunks/{resolve-dashboard-input-context-vPtbuDDz.js → resolve-dashboard-input-context-DRBS0eRa.js} +553 -553
  33. package/dist/chunks/{save-CWQ02kHo.js → save-Dj5bjm7P.js} +1 -1
  34. package/dist/chunks/{saved-dashboard-context-C6X5nP4C.js → saved-dashboard-context-DWVlJcsa.js} +15 -15
  35. package/dist/chunks/{selection-filter-compiler-Ce4BpjRX.js → selection-filter-compiler-DmAr7yqC.js} +1 -1
  36. package/dist/chunks/{semaphor-ready-indicator-BUiaKY6O.js → semaphor-ready-indicator-OFOoAY-A.js} +16370 -16518
  37. package/dist/chunks/{shelf-drop-preview-context-CwxWJjBv.js → shelf-drop-preview-context-2swWypXu.js} +5 -5
  38. package/dist/chunks/{stored-dashboard-Bmct-STp.js → stored-dashboard-NtOuEX6a.js} +111 -111
  39. package/dist/chunks/{style-sheet-parts-BX7d7-2-.js → style-sheet-parts-Qv4UcLAo.js} +2 -2
  40. package/dist/chunks/{table-export-sheet-BWSVTclx.js → table-export-sheet-Do7ZB0_F.js} +1 -1
  41. package/dist/chunks/{token-types-CnlEiAdS.js → token-types-Dy_aXO-U.js} +1 -1
  42. package/dist/chunks/{upload-DsqUSS8l.js → upload-Bq-puSVy.js} +1 -1
  43. package/dist/chunks/{validators-D2Hm57lJ.js → validators-C7DFk3QK.js} +78 -78
  44. package/dist/chunks/{variable-draft-Bi-zUa_a.js → variable-draft-Cy03qnEi.js} +4 -4
  45. package/dist/dashboard/index.js +2 -2
  46. package/dist/dashboard-authoring/index.js +80 -75
  47. package/dist/format-utils/index.js +238 -237
  48. package/dist/index.js +18 -18
  49. package/dist/report-runtime-context/index.js +1 -1
  50. package/dist/surfboard/index.js +2 -2
  51. package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
  52. package/dist/types/briefings/attachments.d.ts +45 -4
  53. package/dist/types/briefings/index.d.ts +1 -1
  54. package/dist/types/index.js +5 -5
  55. package/dist/types/lib/export-utils.d.ts +72 -0
  56. package/dist/types/lib/formatters/dashboard-temporal-presentation.d.ts +10 -0
  57. package/dist/types/shared/analytics-protocol/catalog-source-address.d.ts +16 -0
  58. package/dist/types/shared/dashboard-authoring/card-data-file.d.ts +31 -0
  59. package/dist/types/shared/dashboard-authoring/index.d.ts +3 -0
  60. package/package.json +1 -1
  61. package/dist/chunks/comparison-window-caption-DJDwP9XO.js +0 -1309
  62. package/dist/chunks/filter-line-Dkg3yuOX.js +0 -134
@@ -1,16 +1,16 @@
1
- var De = Object.defineProperty;
2
- var Oe = (e, n, t) => n in e ? De(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
- var M = (e, n, t) => Oe(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { aH as Ne, a1 as Fe, as as oe, U as se, j as Re, a0 as Me, Y as F } from "./pivot-result-contract-expectations-Dk7WFR_u.js";
5
- import { V as X, a7 as Le, U as Be } from "./validators-D2Hm57lJ.js";
6
- import { l as Ue, C as Pe } from "./export-file-format-C-tJsxsf.js";
1
+ var Oe = Object.defineProperty;
2
+ var Fe = (e, n, t) => n in e ? Oe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
+ var M = (e, n, t) => Fe(e, typeof n != "symbol" ? n + "" : n, t);
4
+ import { aP as Ne, a1 as Re, as as oe, U as se, j as Me, a0 as Be, Y as N } from "./pivot-result-contract-expectations-C1Dyx8du.js";
5
+ import { U as Y, a6 as Le, T as Ue } from "./validators-C7DFk3QK.js";
6
+ import { l as Pe, C as Ve } from "./export-file-format-C-tJsxsf.js";
7
7
  import { z as y } from "zod";
8
- import { ai as Ve, ak as ze, X as je } from "./matrix-operation-contract-DdK0J_KU.js";
8
+ import { ai as ze, ak as je, X as qe } from "./matrix-operation-contract-C1SuOHLZ.js";
9
9
  import "./analytics-base-schemas-DevrgqQb.js";
10
10
  import "../value-format-preferences/index.js";
11
- import { r as qe } from "./rendered-file-D8xEuVVx.js";
12
- import { O as Ke, P as Ge, Q as He, R as We, S as Xe, n as Ye, T as Ze, U as Je, V as Qe, W as et, X as tt, Y as nt, Z as rt } from "./resolve-dashboard-input-context-vPtbuDDz.js";
13
- import { I as ot, J as at } from "./bookmark-state-h1OLXVjE.js";
11
+ import { r as Ke } from "./rendered-file-D8xEuVVx.js";
12
+ import { O as de, P as Ge, Q as He, R as We, S as Xe, n as Ye, T as Ze, U as Je, V as Qe, W as et, X as tt, Y as nt, Z as rt } from "./resolve-dashboard-input-context-DRBS0eRa.js";
13
+ import { I as ot, J as at } from "./bookmark-state-BMyB3Tb6.js";
14
14
  import "./pickers-DkqmtnTL.js";
15
15
  import "./schema-C9NPiIru.js";
16
16
  import "./index-CV_Kzou0.js";
@@ -43,33 +43,52 @@ const it = /* @__PURE__ */ new Set(["table", "detailTable"]), ct = /* @__PURE__
43
43
  "treemap",
44
44
  "custom"
45
45
  ]);
46
- function Xn(e) {
46
+ function Yn(e) {
47
47
  var o, a, i;
48
48
  const n = ct.has(e.type) && (e.type !== "custom" || !!((o = e.customCardPreferences) != null && o.url));
49
49
  let t = !1;
50
50
  try {
51
- t = !!Ke(e);
51
+ t = !!de(e);
52
52
  } catch {
53
53
  return { formats: [], defaultFormat: null };
54
54
  }
55
55
  return e.type === "text" || !n || !t && Ge(e) ? { formats: [], defaultFormat: null } : {
56
- formats: dt({
56
+ formats: mt({
57
57
  cardType: e.type,
58
58
  allowDownload: (a = e.preferences) == null ? void 0 : a.allowDownload
59
59
  }).filter((c) => c !== "xlsx" || e.type !== "matrixTable" || t),
60
- defaultFormat: mt({
60
+ defaultFormat: ut({
61
61
  cardType: e.type,
62
62
  allowDownload: (i = e.preferences) == null ? void 0 : i.allowDownload
63
63
  })
64
64
  };
65
65
  }
66
- function Y(e) {
66
+ function V(e) {
67
67
  return e === "table" || e === "detailTable";
68
68
  }
69
- function lt(e) {
69
+ function Zn(e) {
70
+ let n = null;
71
+ if (e.type === "matrixTable")
72
+ try {
73
+ n = de(e) ?? null;
74
+ } catch {
75
+ n = null;
76
+ }
77
+ return { cardType: e.type, matrixConfig: n };
78
+ }
79
+ function lt(e, n) {
80
+ const { matrix: t, ...r } = e ?? {}, o = { ...r, cardType: n.cardType };
81
+ return n.cardType !== "matrixTable" ? o : t ? { ...o, matrix: t } : n.matrixConfig ? { ...o, matrix: { config: structuredClone(n.matrixConfig), content: "current" } } : o;
82
+ }
83
+ function Jn(e, n) {
84
+ if (e.type !== "card" || !n) return e;
85
+ const t = lt(e.settings, n);
86
+ return e.format === "xlsx" && !t.matrix && !V(t.cardType) ? e : { ...e, settings: t };
87
+ }
88
+ function st(e) {
70
89
  var t, r;
71
90
  if (e.type !== "card")
72
- return { kind: "rendered", format: e.format };
91
+ return { kind: "rendered", format: e.format === "png" ? "png" : "pdf" };
73
92
  const n = !!((t = e.settings) != null && t.matrix);
74
93
  switch (e.format) {
75
94
  case "png":
@@ -78,33 +97,33 @@ function lt(e) {
78
97
  return n ? { kind: "matrix_pdf" } : { kind: "rendered", format: "pdf" };
79
98
  case "csv":
80
99
  case "xlsx":
81
- return n || Y((r = e.settings) == null ? void 0 : r.cardType) ? { kind: "export_job", format: e.format } : { kind: "rendered", format: "csv" };
100
+ return n || V((r = e.settings) == null ? void 0 : r.cardType) ? { kind: "export_job", format: e.format } : { kind: "card_query", format: "csv" };
82
101
  }
83
102
  }
84
- function Yn(e) {
85
- return lt(e).kind === "export_job";
103
+ function Qn(e) {
104
+ return st(e).kind === "export_job";
86
105
  }
87
- function st(e) {
88
- const { label: n, extension: t, contentType: r } = e === "pdf" || e === "png" ? qe(e) : Ue(e);
106
+ function dt(e) {
107
+ const { label: n, extension: t, contentType: r } = e === "pdf" || e === "png" ? Ke(e) : Pe(e);
89
108
  return { label: n, extension: t, contentType: r };
90
109
  }
91
- function dt(e) {
92
- return e.allowDownload === !1 ? ["pdf", "png"] : e.cardType === "matrixTable" || Y(e.cardType) ? ["pdf", "png", "csv", "xlsx"] : ["pdf", "png", "csv"];
110
+ function mt(e) {
111
+ return e.allowDownload === !1 ? ["pdf", "png"] : e.cardType === "matrixTable" || V(e.cardType) ? ["pdf", "png", "csv", "xlsx"] : ["pdf", "png", "csv"];
93
112
  }
94
- function Zn(e) {
95
- return st(e).label;
113
+ function er(e) {
114
+ return dt(e).label;
96
115
  }
97
- function mt(e) {
116
+ function ut(e) {
98
117
  return it.has(e.cardType) && e.allowDownload !== !1 ? "csv" : "pdf";
99
118
  }
100
- function Jn(e) {
119
+ function tr(e) {
101
120
  const { config: n } = e, t = Ne({
102
121
  spec: n.spec,
103
122
  presentation: n.presentation,
104
123
  defaults: n.defaultView,
105
124
  session: e.purpose === "manual" ? e.session : void 0
106
125
  });
107
- return X.parse({
126
+ return Y.parse({
108
127
  spec: t.spec,
109
128
  presentation: t.presentation,
110
129
  ...e.content === "flat" ? { mode: "flat", format: e.format === "xlsx" ? "xlsx" : "csv" } : {
@@ -118,7 +137,7 @@ function Jn(e) {
118
137
  }
119
138
  });
120
139
  }
121
- const ut = y.object({
140
+ const ft = y.object({
122
141
  connection_id: y.string().min(1),
123
142
  cardType: y.literal("matrixTable"),
124
143
  resultOwner: y.literal("config"),
@@ -133,11 +152,11 @@ const ut = y.object({
133
152
  semanticDomainId: y.string().optional()
134
153
  }).passthrough(),
135
154
  active_filters: y.array(y.unknown()).default([])
136
- }).passthrough(), Qn = ut.extend({
155
+ }).passthrough(), nr = ft.extend({
137
156
  dashboardId: y.string().min(1),
138
157
  cardId: y.string().min(1),
139
158
  formatOptions: y.object({
140
- matrix: X,
159
+ matrix: Y,
141
160
  acquisition: y.literal("continuation").optional(),
142
161
  presentationExecutionSnapshot: y.unknown()
143
162
  }).passthrough().superRefine((e, n) => {
@@ -148,7 +167,7 @@ const ut = y.object({
148
167
  });
149
168
  })
150
169
  });
151
- function er(e) {
170
+ function rr(e) {
152
171
  return {
153
172
  ...e.controls,
154
173
  type: "card",
@@ -176,25 +195,25 @@ function er(e) {
176
195
  delimiter: e.delimiter,
177
196
  includeHeaders: e.includeHeaders,
178
197
  timezone: e.reportContext.calendar.tz,
179
- presentationExecutionSnapshot: Fe({
198
+ presentationExecutionSnapshot: Re({
180
199
  reportContext: e.reportContext,
181
200
  resolvedFormats: []
182
201
  })
183
202
  }
184
203
  };
185
204
  }
186
- const z = y.number().int().nonnegative(), tr = y.discriminatedUnion("status", [
205
+ const j = y.number().int().nonnegative(), or = y.discriminatedUnion("status", [
187
206
  y.object({
188
207
  status: y.literal("ok"),
189
- request: X,
190
- layout: Ve,
191
- rows: y.array(ze).readonly(),
192
- usage: y.object({ rows: z, cells: z, bytes: z }).strict()
208
+ request: Y,
209
+ layout: ze,
210
+ rows: y.array(je).readonly(),
211
+ usage: y.object({ rows: j, cells: j, bytes: j }).strict()
193
212
  }).strict(),
194
213
  y.object({
195
214
  status: y.literal("failed"),
196
215
  failure: y.object({
197
- code: y.enum(je),
216
+ code: y.enum(qe),
198
217
  limit: y.enum(["rows", "bytes"]).optional(),
199
218
  message: y.string().min(1),
200
219
  retryable: y.boolean()
@@ -204,7 +223,7 @@ const z = y.number().int().nonnegative(), tr = y.discriminatedUnion("status", [
204
223
  function ae(e) {
205
224
  return !e || typeof e != "object" ? !1 : Array.isArray(e.cards);
206
225
  }
207
- function ft(e) {
226
+ function pt(e) {
208
227
  if (!e)
209
228
  return null;
210
229
  if (typeof e == "string")
@@ -216,16 +235,16 @@ function ft(e) {
216
235
  }
217
236
  return ae(e) ? e : null;
218
237
  }
219
- function de(e) {
238
+ function me(e) {
220
239
  var n;
221
240
  return (n = e == null ? void 0 : e.cards) != null && n.length ? e.activeCardId && e.cards.find((t) => t.id === e.activeCardId) || e.cards[0] : null;
222
241
  }
223
- function nr(e) {
242
+ function ar(e) {
224
243
  var t;
225
244
  const n = (e == null ? void 0 : e.frameObject) ?? ((t = e == null ? void 0 : e.visual) == null ? void 0 : t.frameObject);
226
- return de(ft(n));
245
+ return me(pt(n));
227
246
  }
228
- class L extends Error {
247
+ class B extends Error {
229
248
  constructor(t) {
230
249
  const r = t.cardId ? `card "${t.cardId}"` : t.sheetId ? `sheet "${t.sheetId}"` : `dashboard "${t.dashboardId}"`;
231
250
  super(
@@ -236,23 +255,23 @@ class L extends Error {
236
255
  this.name = "TemporalSnapshotSelectionError", this.selection = t;
237
256
  }
238
257
  }
239
- function pt(e, n) {
258
+ function ht(e, n) {
240
259
  var o;
241
260
  const t = [], r = /* @__PURE__ */ new Map();
242
261
  for (const a of n) {
243
262
  if (a.dashboardId !== e.id)
244
- throw new L(a);
263
+ throw new B(a);
245
264
  const i = (e.sheets || []).filter(
246
265
  (l) => !a.sheetId || a.sheetId === l.id
247
266
  );
248
267
  if (a.sheetId && i.length === 0)
249
- throw new L(a);
268
+ throw new B(a);
250
269
  let c = !a.cardId;
251
270
  for (const l of i) {
252
271
  const m = (((o = l.document) == null ? void 0 : o.sections) || []).flatMap(
253
272
  (p) => at(p)
254
273
  ), d = (l.frames || []).flatMap(
255
- (p) => ht(p, a.cardId)
274
+ (p) => yt(p, a.cardId)
256
275
  );
257
276
  d.length > 0 && (c = !0);
258
277
  const f = [
@@ -274,13 +293,13 @@ function pt(e, n) {
274
293
  }
275
294
  }
276
295
  if (!c)
277
- throw new L(a);
296
+ throw new B(a);
278
297
  }
279
298
  return t;
280
299
  }
281
- function ht(e, n) {
300
+ function yt(e, n) {
282
301
  var i;
283
- const t = n ? (i = e.cards) == null ? void 0 : i.find((c) => c.id === n) : de(e);
302
+ const t = n ? (i = e.cards) == null ? void 0 : i.find((c) => c.id === n) : me(e);
284
303
  if (!t) return [];
285
304
  const r = et(e, t), o = (e.cards || []).filter(
286
305
  (c) => {
@@ -296,8 +315,8 @@ function ht(e, n) {
296
315
  })
297
316
  ).filter((c) => c !== null);
298
317
  }
299
- function rr(e) {
300
- return pt(e.dashboard, e.selections).flatMap(
318
+ function ir(e) {
319
+ return ht(e.dashboard, e.selections).flatMap(
301
320
  ({ card: n, attachmentIndex: t }) => {
302
321
  var d, f;
303
322
  const r = ((d = e.resolveCardConfig) == null ? void 0 : d.call(e, n)) ?? n.config, o = He({
@@ -335,11 +354,11 @@ function rr(e) {
335
354
  for (const v of p) {
336
355
  const k = Le(v.dataType);
337
356
  if (k !== "date" && k !== "datetime") continue;
338
- const N = g.get(v);
339
- if (!N) throw new L(a);
357
+ const F = g.get(v);
358
+ if (!F) throw new B(a);
340
359
  c.push({
341
360
  scope: a,
342
- target: { kind: "column", columnKey: N },
361
+ target: { kind: "column", columnKey: F },
343
362
  format: oe({
344
363
  // What the table draws: the stored format, or Automatic (ledger P7-07).
345
364
  format: Ze(v),
@@ -370,11 +389,11 @@ function rr(e) {
370
389
  }
371
390
  );
372
391
  }
373
- function yt(e) {
392
+ function gt(e) {
374
393
  return !!e && typeof e == "object" && !Array.isArray(e);
375
394
  }
376
395
  function x(e, n, t) {
377
- return yt(e) ? e : (t.push({ field: n, message: "Expected an object." }), {});
396
+ return gt(e) ? e : (t.push({ field: n, message: "Expected an object." }), {});
378
397
  }
379
398
  function S(e, n, t, r) {
380
399
  const o = new Set(t);
@@ -385,7 +404,7 @@ function S(e, n, t, r) {
385
404
  });
386
405
  });
387
406
  }
388
- function w(e, n, t, r, o = {}) {
407
+ function D(e, n, t, r, o = {}) {
389
408
  if (e == null)
390
409
  return;
391
410
  if (typeof e != "string") {
@@ -407,7 +426,7 @@ function w(e, n, t, r, o = {}) {
407
426
  return a;
408
427
  }
409
428
  function Z(e, n, t) {
410
- const r = w(e, n, 2e3, t);
429
+ const r = D(e, n, 2e3, t);
411
430
  if (r)
412
431
  try {
413
432
  return new URL(r), r;
@@ -450,7 +469,7 @@ function ie(e, n, t) {
450
469
  S(c, `${n}.tokens.color`, l, t);
451
470
  const m = {};
452
471
  l.forEach((d) => {
453
- const f = w(
472
+ const f = D(
454
473
  c[d],
455
474
  `${n}.tokens.color.${d}`,
456
475
  120,
@@ -471,13 +490,13 @@ function ie(e, n, t) {
471
490
  ["fontFamily", "monoFontFamily"],
472
491
  t
473
492
  );
474
- const l = w(
493
+ const l = D(
475
494
  c.fontFamily,
476
495
  `${n}.tokens.typography.fontFamily`,
477
496
  500,
478
497
  t,
479
498
  { allowEmpty: !0 }
480
- ), m = w(
499
+ ), m = D(
481
500
  c.monoFontFamily,
482
501
  `${n}.tokens.typography.monoFontFamily`,
483
502
  500,
@@ -509,7 +528,7 @@ function ie(e, n, t) {
509
528
  field: `${n}.components.chart.palette`,
510
529
  message: "Expected 20 colors or fewer."
511
530
  }) : c = i.palette.map(
512
- (l, m) => w(
531
+ (l, m) => D(
513
532
  l,
514
533
  `${n}.components.chart.palette.${m}`,
515
534
  120,
@@ -525,7 +544,7 @@ function ie(e, n, t) {
525
544
  }
526
545
  return o;
527
546
  }
528
- function gt(e, n) {
547
+ function bt(e, n) {
529
548
  const t = "presentation.appearance", r = x(e, t, n);
530
549
  S(r, t, ["version", "schemes"], n);
531
550
  const o = {};
@@ -550,22 +569,22 @@ function gt(e, n) {
550
569
  }
551
570
  return o;
552
571
  }
553
- function bt(e, n) {
572
+ function Et(e, n) {
554
573
  const t = "presentation.brandOverrides", r = x(e, t, n);
555
574
  S(r, t, ["brandName", "logoUrl", "link"], n);
556
- const o = w(
575
+ const o = D(
557
576
  r.brandName,
558
577
  `${t}.brandName`,
559
578
  200,
560
579
  n
561
- ), a = Z(r.logoUrl, `${t}.logoUrl`, n), i = w(r.link, `${t}.link`, 120, n);
580
+ ), a = Z(r.logoUrl, `${t}.logoUrl`, n), i = D(r.link, `${t}.link`, 120, n);
562
581
  return {
563
582
  ...o !== void 0 ? { brandName: o } : {},
564
583
  ...a !== void 0 ? { logoUrl: a } : {},
565
584
  ...i !== void 0 ? { link: i } : {}
566
585
  };
567
586
  }
568
- function Et(e, n) {
587
+ function It(e, n) {
569
588
  const t = "presentation.fragments", r = x(e, t, n), o = [
570
589
  "preHeaderText",
571
590
  "headerBannerHtml",
@@ -577,7 +596,7 @@ function Et(e, n) {
577
596
  S(r, t, o, n);
578
597
  const a = {};
579
598
  return o.forEach((i) => {
580
- const c = i === "unsubscribeUrl" ? Z(r[i], `${t}.${i}`, n) : w(
599
+ const c = i === "unsubscribeUrl" ? Z(r[i], `${t}.${i}`, n) : D(
581
600
  r[i],
582
601
  `${t}.${i}`,
583
602
  i === "preHeaderText" ? 200 : 5e3,
@@ -587,15 +606,15 @@ function Et(e, n) {
587
606
  c !== void 0 && (a[i] = c);
588
607
  }), a;
589
608
  }
590
- function It(e) {
609
+ function vt(e) {
591
610
  const n = [], t = {};
592
- if (e.appearance !== void 0 && (t.appearance = gt(e.appearance, n)), e.brandOverrides !== void 0 && (t.brandOverrides = bt(e.brandOverrides, n)), e.fragments !== void 0 && (t.fragments = Et(e.fragments, n)), e.viewUrl !== void 0) {
611
+ if (e.appearance !== void 0 && (t.appearance = bt(e.appearance, n)), e.brandOverrides !== void 0 && (t.brandOverrides = Et(e.brandOverrides, n)), e.fragments !== void 0 && (t.fragments = It(e.fragments, n)), e.viewUrl !== void 0) {
593
612
  const r = Z(e.viewUrl, "presentation.viewUrl", n);
594
613
  r !== void 0 && (t.viewUrl = r);
595
614
  }
596
615
  return { value: t, issues: n };
597
616
  }
598
- const B = [
617
+ const L = [
599
618
  "SUN",
600
619
  "MON",
601
620
  "TUE",
@@ -603,21 +622,21 @@ const B = [
603
622
  "THU",
604
623
  "FRI",
605
624
  "SAT"
606
- ], me = new Map(
607
- B.map((e, n) => [e, n])
608
- ), P = [1, 2, 3, 4, 5], ue = [1, 2, 3, 6, 12], fe = {
625
+ ], ue = new Map(
626
+ L.map((e, n) => [e, n])
627
+ ), P = [1, 2, 3, 4, 5], fe = [1, 2, 3, 6, 12], pe = {
609
628
  1: "first",
610
629
  2: "second",
611
630
  3: "third",
612
631
  4: "fourth",
613
632
  [-1]: "last"
614
- }, or = {
633
+ }, cr = {
615
634
  frequency: "weekly",
616
635
  hour: 9,
617
636
  minute: 0,
618
637
  weekdays: [1]
619
638
  }, C = { ok: !1, issue: "Choose a supported schedule." };
620
- function vt(e) {
639
+ function $t(e) {
621
640
  if (typeof e != "string" || e.length === 0 || e !== e.trim() || /^(?:(?:UTC|GMT)[+-]|[+-]\d{2}:\d{2}$)/.test(e))
622
641
  return !1;
623
642
  try {
@@ -626,17 +645,17 @@ function vt(e) {
626
645
  return !1;
627
646
  }
628
647
  }
629
- function $t(e) {
648
+ function Ct(e) {
630
649
  return Number.isInteger(e.minute) && e.minute >= 0 && e.minute <= 59 && Number.isInteger(e.hour) && e.hour >= 0 && e.hour <= 23;
631
650
  }
632
- function pe(e) {
651
+ function he(e) {
633
652
  if (e.length === 0) return null;
634
653
  const n = [...e].sort((t, r) => t - r);
635
654
  return n.some(
636
655
  (t, r) => !Number.isInteger(t) || t < 0 || t > 6 || r > 0 && t === n[r - 1]
637
656
  ) ? null : n;
638
657
  }
639
- function he(e) {
658
+ function ye(e) {
640
659
  const t = [...e.filter((o) => o !== "last")].sort((o, a) => o - a);
641
660
  if (t.some(
642
661
  (o, a) => !Number.isInteger(o) || o < 1 || o > 31 || a > 0 && o === t[a - 1]
@@ -651,51 +670,51 @@ function O(e, n) {
651
670
  t.push((n + r * e) % 12);
652
671
  return t.sort((r, o) => r - o);
653
672
  }
654
- function Ct(e, n) {
673
+ function Tt(e, n) {
655
674
  return e === 1 ? "*" : O(e, n).map((t) => t + 1).join(",");
656
675
  }
657
- function ye(e, n) {
658
- return e.every((t) => Dt(t, n));
676
+ function ge(e, n) {
677
+ return e.every((t) => Ot(t, n));
659
678
  }
660
- function ar(e) {
661
- if (!$t(e))
679
+ function lr(e) {
680
+ if (!Ct(e))
662
681
  throw new Error("Choose a valid schedule time.");
663
682
  const n = `${e.minute} ${e.hour}`;
664
683
  switch (e.frequency) {
665
684
  case "daily":
666
- return e.weekdaysOnly ? `${n} * * ${P.map((t) => B[t]).join(",")}` : `${n} * * *`;
685
+ return e.weekdaysOnly ? `${n} * * ${P.map((t) => L[t]).join(",")}` : `${n} * * *`;
667
686
  case "weekly": {
668
- const t = pe(e.weekdays);
687
+ const t = he(e.weekdays);
669
688
  if (!t) throw new Error("Choose at least one weekday.");
670
- return `${n} * * ${t.map((r) => B[r]).join(",")}`;
689
+ return `${n} * * ${t.map((r) => L[r]).join(",")}`;
671
690
  }
672
691
  case "monthly": {
673
- if (!ue.includes(e.interval) || !Number.isInteger(e.startMonth) || e.startMonth < 0 || e.startMonth >= e.interval)
692
+ if (!fe.includes(e.interval) || !Number.isInteger(e.startMonth) || e.startMonth < 0 || e.startMonth >= e.interval)
674
693
  throw new Error("Choose a valid month cycle.");
675
- const t = Ct(e.interval, e.startMonth);
694
+ const t = Tt(e.interval, e.startMonth);
676
695
  if (e.on.type === "days") {
677
- const i = he(e.on.days);
696
+ const i = ye(e.on.days);
678
697
  if (!i) throw new Error("Choose at least one day of the month.");
679
698
  const c = O(e.interval, e.startMonth);
680
- if (!ye(i, c))
699
+ if (!ge(i, c))
681
700
  throw new Error("Choose a day that occurs in the chosen months.");
682
701
  const l = i.map((m) => m === "last" ? "L" : String(m)).join(",");
683
702
  return `${n} ${l} ${t} *`;
684
703
  }
685
704
  const { ordinal: r, weekday: o } = e.on;
686
- if (!Number.isInteger(o) || o < 0 || o > 6 || !(r in fe))
705
+ if (!Number.isInteger(o) || o < 0 || o > 6 || !(r in pe))
687
706
  throw new Error("Choose a valid weekday.");
688
- const a = B[o];
707
+ const a = L[o];
689
708
  return `${n} * ${t} ${r === -1 ? `${a}L` : `${a}#${r}`}`;
690
709
  }
691
710
  }
692
711
  }
693
- function Tt(e) {
712
+ function xt(e) {
694
713
  if (e === "*") return { interval: 1, startMonth: 0 };
695
714
  const n = e.split(",");
696
715
  if (n.some((i) => !/^([1-9]|1[0-2])$/.test(i))) return null;
697
716
  const t = n.map((i) => Number(i) - 1), r = 12 / t.length;
698
- if (!ue.includes(r))
717
+ if (!fe.includes(r))
699
718
  return null;
700
719
  const o = t[0], a = O(
701
720
  r,
@@ -703,24 +722,24 @@ function Tt(e) {
703
722
  );
704
723
  return o >= r || a.length !== t.length || a.some((i, c) => i !== t[c]) ? null : { interval: r, startMonth: o };
705
724
  }
706
- function xt(e) {
725
+ function St(e) {
707
726
  const n = e.split(",");
708
727
  if (n.some((o) => !/^(L|[1-9]|[12]\d|3[01])$/.test(o))) return null;
709
728
  const t = n.map(
710
729
  (o) => o === "L" ? "last" : Number(o)
711
- ), r = he(t);
730
+ ), r = ye(t);
712
731
  return !r || r.some((o, a) => o !== t[a]) ? null : r;
713
732
  }
714
- function St(e) {
733
+ function At(e) {
715
734
  const n = /^([A-Z]{3})(?:#([1-4])|(L))$/.exec(e);
716
735
  if (!n) return null;
717
- const t = me.get(n[1]);
736
+ const t = ue.get(n[1]);
718
737
  return t === void 0 ? null : {
719
738
  weekday: t,
720
739
  ordinal: n[3] ? -1 : Number(n[2])
721
740
  };
722
741
  }
723
- function ge(e) {
742
+ function be(e) {
724
743
  if (typeof e != "string" || e.length === 0 || e !== e.trim() || e.includes(" "))
725
744
  return C;
726
745
  const n = e.split(" ");
@@ -736,9 +755,9 @@ function ge(e) {
736
755
  value: { frequency: "daily", hour: l, minute: c, weekdaysOnly: !1 }
737
756
  };
738
757
  if (a === "*" && o === "*" && !i.includes("#") && !i.endsWith("L")) {
739
- const f = i.split(",").map((v) => me.get(v));
758
+ const f = i.split(",").map((v) => ue.get(v));
740
759
  if (f.some((v) => v === void 0)) return C;
741
- const p = f, g = pe(p);
760
+ const p = f, g = he(p);
742
761
  return !g || g.some((v, k) => v !== p[k]) ? C : g.length === P.length && g.every((v, k) => v === P[k]) ? {
743
762
  ok: !0,
744
763
  value: { frequency: "daily", hour: l, minute: c, weekdaysOnly: !0 }
@@ -747,11 +766,11 @@ function ge(e) {
747
766
  value: { frequency: "weekly", hour: l, minute: c, weekdays: g }
748
767
  };
749
768
  }
750
- const m = Tt(a);
769
+ const m = xt(a);
751
770
  if (!m) return C;
752
771
  if (o !== "*" && i === "*") {
753
- const d = xt(o), f = O(m.interval, m.startMonth);
754
- return !d || !ye(d, f) ? C : {
772
+ const d = St(o), f = O(m.interval, m.startMonth);
773
+ return !d || !ge(d, f) ? C : {
755
774
  ok: !0,
756
775
  value: {
757
776
  frequency: "monthly",
@@ -763,7 +782,7 @@ function ge(e) {
763
782
  };
764
783
  }
765
784
  if (o === "*" && i !== "*") {
766
- const d = St(i);
785
+ const d = At(i);
767
786
  return d ? {
768
787
  ok: !0,
769
788
  value: {
@@ -777,14 +796,14 @@ function ge(e) {
777
796
  }
778
797
  return C;
779
798
  }
780
- function At(e, n, t) {
799
+ function kt(e, n, t) {
781
800
  return new Intl.DateTimeFormat(t, {
782
801
  hour: "numeric",
783
802
  minute: "2-digit",
784
803
  timeZone: "UTC"
785
804
  }).format(new Date(Date.UTC(2020, 0, 1, e, n)));
786
805
  }
787
- function kt(e, n) {
806
+ function _t(e, n) {
788
807
  var t;
789
808
  if (e === "UTC") return "UTC";
790
809
  try {
@@ -799,7 +818,7 @@ function kt(e, n) {
799
818
  function ce(e) {
800
819
  return e.length <= 1 ? e.join("") : e.length === 2 ? `${e[0]} and ${e[1]}` : `${e.slice(0, -1).join(", ")} and ${e[e.length - 1]}`;
801
820
  }
802
- function _t(e) {
821
+ function Dt(e) {
803
822
  const n = e % 100;
804
823
  return n >= 11 && n <= 13 ? `${e}th` : `${e}${["th", "st", "nd", "rd"][e % 10] ?? "th"}`;
805
824
  }
@@ -812,13 +831,13 @@ function wt(e, n, t) {
812
831
  const o = O(e, n).map((a) => r(a, "short")).join(", ");
813
832
  return e === 3 ? `each quarter (${o})` : `every ${e} months (${o})`;
814
833
  }
815
- function ir(e, n, t = "en-US") {
816
- const r = ge(e);
834
+ function sr(e, n, t = "en-US") {
835
+ const r = be(e);
817
836
  if (!r.ok) return null;
818
837
  try {
819
- const o = r.value, a = kt(n, t);
838
+ const o = r.value, a = _t(n, t);
820
839
  if (!a) return null;
821
- const i = `at ${At(o.hour, o.minute, t)} ${a}`, c = (l) => new Intl.DateTimeFormat(t, {
840
+ const i = `at ${kt(o.hour, o.minute, t)} ${a}`, c = (l) => new Intl.DateTimeFormat(t, {
822
841
  weekday: "long",
823
842
  timeZone: "UTC"
824
843
  }).format(new Date(Date.UTC(2023, 0, 1 + l)));
@@ -830,9 +849,9 @@ function ir(e, n, t = "en-US") {
830
849
  case "monthly": {
831
850
  const l = wt(o.interval, o.startMonth, t);
832
851
  if (o.on.type === "weekday")
833
- return `On the ${fe[o.on.ordinal]} ${c(o.on.weekday)} of ${l} ${i}`;
852
+ return `On the ${pe[o.on.ordinal]} ${c(o.on.weekday)} of ${l} ${i}`;
834
853
  const m = o.on.days.map(
835
- (d) => d === "last" ? "last day" : _t(d)
854
+ (d) => d === "last" ? "last day" : Dt(d)
836
855
  );
837
856
  return `On the ${ce(m)} of ${l} ${i}`;
838
857
  }
@@ -841,20 +860,20 @@ function ir(e, n, t = "en-US") {
841
860
  return null;
842
861
  }
843
862
  }
844
- const be = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
845
- function Dt(e, n) {
846
- return e === "last" || n.some((t) => e <= be[t]);
863
+ const Ee = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
864
+ function Ot(e, n) {
865
+ return e === "last" || n.some((t) => e <= Ee[t]);
847
866
  }
848
- function cr(e) {
867
+ function dr(e) {
849
868
  if (e.frequency !== "monthly" || e.on.type !== "days") return null;
850
869
  const n = e.on.days.filter((o) => o !== "last");
851
870
  if (n.length === 0) return null;
852
871
  const t = Math.max(...n), r = O(e.interval, e.startMonth).filter(
853
- (o) => t > (o === 1 ? 28 : be[o])
872
+ (o) => t > (o === 1 ? 28 : Ee[o])
854
873
  );
855
874
  return r.length > 0 ? { day: t, months: r } : null;
856
875
  }
857
- function Ot(e, n) {
876
+ function Ft(e, n) {
858
877
  return new Date(Date.UTC(e, n + 1, 0)).getUTCDate();
859
878
  }
860
879
  function Nt(e, n, t, r) {
@@ -867,16 +886,16 @@ function Nt(e, n, t, r) {
867
886
  case "monthly": {
868
887
  if (!O(e.interval, e.startMonth).includes(t))
869
888
  return !1;
870
- const a = Ot(n, t);
889
+ const a = Ft(n, t);
871
890
  return e.on.type === "days" ? e.on.days.some(
872
891
  (i) => i === "last" ? r === a : i === r
873
892
  ) : o !== e.on.weekday ? !1 : e.on.ordinal === -1 ? r + 7 > a : Math.ceil(r / 7) === e.on.ordinal;
874
893
  }
875
894
  }
876
895
  }
877
- function lr(e, n, t, r) {
878
- const o = ge(e);
879
- if (!o.ok || !vt(n)) return [];
896
+ function mr(e, n, t, r) {
897
+ const o = be(e);
898
+ if (!o.ok || !$t(n)) return [];
880
899
  const a = o.value, i = new Intl.DateTimeFormat("en-US", {
881
900
  timeZone: n,
882
901
  hourCycle: "h23",
@@ -895,7 +914,7 @@ function lr(e, n, t, r) {
895
914
  Nt(a, l.getUTCFullYear(), l.getUTCMonth(), l.getUTCDate()) && m.push(l.toISOString().slice(0, 10)), l.setUTCDate(l.getUTCDate() + 1);
896
915
  return m;
897
916
  }
898
- const Ft = Object.freeze([
917
+ const Rt = Object.freeze([
899
918
  "PDF_ROW_LIMIT_EXCEEDED",
900
919
  "PDF_SIZE_LIMIT_EXCEEDED",
901
920
  // More pages than one PDF holds (PDF capacity contract PC-D3).
@@ -911,6 +930,9 @@ const Ft = Object.freeze([
911
930
  "EXPORT_ROW_LIMIT_EXCEEDED",
912
931
  "EXPORT_COUNT_UNAVAILABLE",
913
932
  "EXPORT_NO_ROWS",
933
+ // A card CSV written from the card's one query holds up to 10,000 rows and
934
+ // must fit one stored file (card data attachments CD-D6, ledger P2-06).
935
+ "CARD_FILE_LIMIT_EXCEEDED",
914
936
  // A dashboard sheet too tall for one image (PNG exports PN-D7).
915
937
  "IMAGE_TOO_LARGE",
916
938
  // A Document attachment, always a PDF (Document PDF reliability C2).
@@ -921,14 +943,14 @@ const Ft = Object.freeze([
921
943
  // The report's saved presentation can't format what it prints; saving the
922
944
  // report again captures it (value formatting Plan 05).
923
945
  "REPORT_NEEDS_RESAVE"
924
- ]), Rt = new Set(Ft);
925
- function Mt(e) {
926
- return typeof e == "string" && Rt.has(e);
946
+ ]), Mt = new Set(Rt);
947
+ function Bt(e) {
948
+ return typeof e == "string" && Mt.has(e);
927
949
  }
928
950
  function Lt(e) {
929
951
  if (!e || typeof e != "object" || Array.isArray(e)) return null;
930
952
  const n = e;
931
- return typeof n.index != "number" || !Number.isInteger(n.index) || n.index < 0 || typeof n.title != "string" || !Ee.includes(n.format) || !Mt(n.code) || typeof n.reason != "string" || typeof n.diagnostic != "string" ? null : {
953
+ return typeof n.index != "number" || !Number.isInteger(n.index) || n.index < 0 || typeof n.title != "string" || !Ie.includes(n.format) || !Bt(n.code) || typeof n.reason != "string" || typeof n.diagnostic != "string" ? null : {
932
954
  index: n.index,
933
955
  title: n.title,
934
956
  format: n.format,
@@ -937,7 +959,7 @@ function Lt(e) {
937
959
  diagnostic: n.diagnostic
938
960
  };
939
961
  }
940
- function sr(e) {
962
+ function ur(e) {
941
963
  if (!e || typeof e != "object" || Array.isArray(e)) return [];
942
964
  const n = e.omittedAttachments;
943
965
  return Array.isArray(n) ? n.flatMap((t) => {
@@ -945,13 +967,13 @@ function sr(e) {
945
967
  return r ? [r] : [];
946
968
  }) : [];
947
969
  }
948
- const dr = "Briefing run cancelled by user", Bt = [
970
+ const fr = "Briefing run cancelled by user", Ut = [
949
971
  "sent",
950
972
  "partly_sent",
951
973
  "failed",
952
974
  "not_set_up"
953
975
  ];
954
- function Ut(e, n) {
976
+ function Pt(e, n) {
955
977
  var i;
956
978
  const t = n.sentCount ?? 0, r = n.failedCount ?? 0, o = e === "SLACK" && n.channelName || null, a = ((i = n.message) == null ? void 0 : i.trim()) || null;
957
979
  switch (n.status) {
@@ -975,10 +997,10 @@ function Ut(e, n) {
975
997
  function R(e) {
976
998
  return !!e && typeof e == "object" && !Array.isArray(e);
977
999
  }
978
- function Pt(e) {
1000
+ function Vt(e) {
979
1001
  if (!R(e)) return null;
980
1002
  const { channel: n, status: t, sent: r, failed: o, destination: a, reason: i } = e;
981
- return n !== "EMAIL" && n !== "SLACK" || !Bt.includes(t) ? null : {
1003
+ return n !== "EMAIL" && n !== "SLACK" || !Ut.includes(t) ? null : {
982
1004
  channel: n,
983
1005
  status: t,
984
1006
  sent: typeof r == "number" ? r : 0,
@@ -987,7 +1009,7 @@ function Pt(e) {
987
1009
  reason: typeof i == "string" && i ? i : null
988
1010
  };
989
1011
  }
990
- function Vt(e) {
1012
+ function zt(e) {
991
1013
  return !R(e) || typeof e.status != "string" ? null : {
992
1014
  status: e.status,
993
1015
  sentCount: typeof e.sentCount == "number" ? e.sentCount : 0,
@@ -996,50 +1018,50 @@ function Vt(e) {
996
1018
  channelName: typeof e.channelName == "string" ? e.channelName : null
997
1019
  };
998
1020
  }
999
- function zt(e) {
1021
+ function jt(e) {
1000
1022
  return R(e) ? {
1001
1023
  channels: ("email" in e || "slack" in e ? [
1002
1024
  ["EMAIL", e.email],
1003
1025
  ["SLACK", e.slack]
1004
1026
  ] : [[e.channel === "SLACK" ? "SLACK" : "EMAIL", e]]).flatMap(([t, r]) => {
1005
- const o = Vt(r), a = o ? Ut(t, o) : null;
1027
+ const o = zt(r), a = o ? Pt(t, o) : null;
1006
1028
  return a ? [a] : [];
1007
1029
  })
1008
1030
  } : null;
1009
1031
  }
1010
- function mr(e) {
1032
+ function pr(e) {
1011
1033
  return R(e) ? R(e.deliveryOutcome) && Array.isArray(e.deliveryOutcome.channels) ? {
1012
1034
  channels: e.deliveryOutcome.channels.flatMap((n) => {
1013
- const t = Pt(n);
1035
+ const t = Vt(n);
1014
1036
  return t ? [t] : [];
1015
1037
  })
1016
- } : zt(e.deliveryResult) : null;
1038
+ } : jt(e.deliveryResult) : null;
1017
1039
  }
1018
- function ur(e) {
1040
+ function hr(e) {
1019
1041
  return e != null && e.role ? e.type === "tenant" ? e.role === "POWER_USER" : ["AUTHOR", "ADMIN", "SUPER_ADMIN"].includes(e.role) : !1;
1020
1042
  }
1021
- function fr(e) {
1043
+ function yr(e) {
1022
1044
  return e.canCreate ? [
1023
1045
  ...e.scheduledReportAvailable ? ["scheduled_report"] : [],
1024
1046
  ...e.analyticalBriefingsEnabled ? ["analytical_briefing"] : []
1025
1047
  ] : [];
1026
1048
  }
1027
- function jt(e) {
1049
+ function qt(e) {
1028
1050
  const n = (e == null ? void 0 : e.channels) ?? [];
1029
1051
  return n.length === 1 && n[0] === "EMAIL";
1030
1052
  }
1031
- function qt(e) {
1032
- return e.body.type === "generated_analysis" ? "Analytical briefing" : e.body.type === "custom_message" && e.attachments.length > 0 && jt(e.deliveryConfig) ? e.scheduleExpr ? "Scheduled report" : "On-demand report" : "Plain briefing";
1053
+ function Kt(e) {
1054
+ return e.body.type === "generated_analysis" ? "Analytical briefing" : e.body.type === "custom_message" && e.attachments.length > 0 && qt(e.deliveryConfig) ? e.scheduleExpr ? "Scheduled report" : "On-demand report" : "Plain briefing";
1033
1055
  }
1034
- function pr(e) {
1035
- const n = qt(e), t = n === "Scheduled report" || n === "On-demand report" ? "report" : "briefing";
1056
+ function gr(e) {
1057
+ const n = Kt(e), t = n === "Scheduled report" || n === "On-demand report" ? "report" : "briefing";
1036
1058
  return {
1037
1059
  typeLabel: n,
1038
1060
  noun: t,
1039
1061
  pluralNoun: t === "report" ? "reports" : "briefings"
1040
1062
  };
1041
1063
  }
1042
- const H = "BRIEFING", Kt = ["markdown", "html"], W = ["markdown"], j = 20, u = {
1064
+ const W = "BRIEFING", Gt = ["markdown", "html"], X = ["markdown"], q = 20, u = {
1043
1065
  name: 500,
1044
1066
  description: 2e3,
1045
1067
  instruction: 5e4,
@@ -1068,7 +1090,7 @@ const H = "BRIEFING", Kt = ["markdown", "html"], W = ["markdown"], j = 20, u = {
1068
1090
  // tiny tiles in narrow client panels; 2-up was the chosen layout).
1069
1091
  maxKpiTiles: 8
1070
1092
  };
1071
- function Gt(e) {
1093
+ function Ht(e) {
1072
1094
  if (e === null || typeof e != "object" || Array.isArray(e))
1073
1095
  return !1;
1074
1096
  const n = e;
@@ -1080,58 +1102,58 @@ function Gt(e) {
1080
1102
  const r = t;
1081
1103
  return (r.kind === "metric" && typeof r.metricId == "string" && !!r.metricId.trim() || r.kind === "column" && typeof r.columnKey == "string" && !!r.columnKey.trim() || r.kind === "matrix_measure" && typeof r.measureId == "string" && !!r.measureId.trim()) && se(n.format).ok;
1082
1104
  }
1083
- function Ht(e) {
1084
- return e == null ? "" : Gt(e) ? Re(e.value, e.format) : String(e);
1105
+ function Wt(e) {
1106
+ return e == null ? "" : Ht(e) ? Me(e.value, e.format) : String(e);
1085
1107
  }
1086
- function hr(e) {
1108
+ function br(e) {
1087
1109
  return [e.delta, e.percentChange].filter(
1088
1110
  (n) => n != null
1089
- ).map(Ht).filter(Boolean).join(" / ");
1111
+ ).map(Wt).filter(Boolean).join(" / ");
1090
1112
  }
1091
- const Ee = ["pdf", "png", "csv", "xlsx"], Ie = new Set(Kt), Wt = /* @__PURE__ */ new Set([
1113
+ const Ie = ["pdf", "png", "csv", "xlsx"], ve = new Set(Gt), Xt = /* @__PURE__ */ new Set([
1092
1114
  "EMAIL",
1093
1115
  "WEBHOOK",
1094
1116
  "SLACK",
1095
1117
  "IN_APP",
1096
1118
  "TELEGRAM"
1097
- ]), q = {
1119
+ ]), K = {
1098
1120
  maxToolCalls: { min: 1, max: 100 },
1099
1121
  maxPlanningIterations: { min: 1, max: 10 },
1100
1122
  maxRows: { min: 1, max: 1e5 },
1101
1123
  timeoutMs: { min: 1e3, max: 30 * 6e4 }
1102
- }, Xt = /* @__PURE__ */ new Set([
1124
+ }, Yt = /* @__PURE__ */ new Set([
1103
1125
  "letter",
1104
1126
  "legal",
1105
1127
  "a4",
1106
1128
  "a3",
1107
1129
  "tabloid"
1108
- ]), Yt = /* @__PURE__ */ new Set([
1130
+ ]), Zt = /* @__PURE__ */ new Set([
1109
1131
  "portrait",
1110
1132
  "landscape"
1111
- ]), Zt = /* @__PURE__ */ new Set([",", ";", " "]), Jt = new Set(Pe), Qt = /* @__PURE__ */ new Set([
1133
+ ]), Jt = /* @__PURE__ */ new Set([",", ";", " "]), Qt = new Set(Ve), en = /* @__PURE__ */ new Set([
1112
1134
  "current",
1113
1135
  "all"
1114
- ]), en = /* @__PURE__ */ new Set([
1136
+ ]), tn = /* @__PURE__ */ new Set([
1115
1137
  "concise",
1116
1138
  "balanced",
1117
1139
  "detailed"
1118
- ]), tn = /* @__PURE__ */ new Set([
1140
+ ]), nn = /* @__PURE__ */ new Set([
1119
1141
  "info",
1120
1142
  "positive",
1121
1143
  "warning",
1122
1144
  "critical"
1123
- ]), nn = /* @__PURE__ */ new Set([
1145
+ ]), rn = /* @__PURE__ */ new Set([
1124
1146
  "text",
1125
1147
  "number",
1126
1148
  "currency",
1127
1149
  "percent",
1128
1150
  "date",
1129
1151
  "boolean"
1130
- ]), rn = /* @__PURE__ */ new Set([
1152
+ ]), on = /* @__PURE__ */ new Set([
1131
1153
  "left",
1132
1154
  "center",
1133
1155
  "right"
1134
- ]), on = [
1156
+ ]), an = [
1135
1157
  "matrix",
1136
1158
  "pageSize",
1137
1159
  "orientation",
@@ -1162,21 +1184,21 @@ const Ee = ["pdf", "png", "csv", "xlsx"], Ie = new Set(Kt), Wt = /* @__PURE__ */
1162
1184
  "allowDownload",
1163
1185
  "theme"
1164
1186
  ];
1165
- class V extends Error {
1187
+ class z extends Error {
1166
1188
  constructor(t) {
1167
1189
  super(t.map((r) => `${r.field}: ${r.message}`).join("; "));
1168
1190
  M(this, "issues");
1169
1191
  this.name = "BriefingContractError", this.issues = t;
1170
1192
  }
1171
1193
  }
1172
- function ve(e) {
1194
+ function $e(e) {
1173
1195
  return typeof e == "object" && e !== null && !Array.isArray(e);
1174
1196
  }
1175
1197
  function s(e, n, t) {
1176
1198
  e.push({ field: n, message: t });
1177
1199
  }
1178
1200
  function I(e, n, t) {
1179
- return ve(e) ? e : (s(t, n, "Expected an object."), {});
1201
+ return $e(e) ? e : (s(t, n, "Expected an object."), {});
1180
1202
  }
1181
1203
  function h(e, n, t, r) {
1182
1204
  const o = new Set(t);
@@ -1205,13 +1227,13 @@ function E(e, n, t, r) {
1205
1227
  if (o)
1206
1228
  return o.length > t && s(r, n, `Must be ${t} characters or fewer.`), o;
1207
1229
  }
1208
- function an(e, n, t, r) {
1230
+ function cn(e, n, t, r) {
1209
1231
  if (typeof e != "string")
1210
1232
  return s(r, n, "Expected a string."), "";
1211
1233
  const o = e.trim();
1212
1234
  return o.length > t && s(r, n, `Must be ${t} characters or fewer.`), o;
1213
1235
  }
1214
- function cn(e, n, t) {
1236
+ function ln(e, n, t) {
1215
1237
  if (e != null) {
1216
1238
  if (!Number.isInteger(e) || Number(e) < 0) {
1217
1239
  s(t, n, "Expected a non-negative integer.");
@@ -1236,16 +1258,16 @@ function T(e, n, t, r = {}) {
1236
1258
  c && !o.includes(c) && o.push(c);
1237
1259
  }), r.required && o.length === 0 && s(t, n, "Expected at least one evidence id."), o.length > 0 || r.required ? o : void 0;
1238
1260
  }
1239
- function D(e, n, t, r) {
1261
+ function w(e, n, t, r) {
1240
1262
  return e == null ? n : typeof e != "boolean" ? (s(r, t, "Expected a boolean."), n) : e;
1241
1263
  }
1242
- function ln(e, n) {
1264
+ function sn(e, n) {
1243
1265
  return e == null ? "ACTIVE" : e === "ACTIVE" || e === "PAUSED" || e === "DISABLED" ? e : (s(n, "status", "Expected ACTIVE, PAUSED, or DISABLED."), "ACTIVE");
1244
1266
  }
1245
- function sn(e) {
1267
+ function dn(e) {
1246
1268
  return e.includes("@") && e.includes(".") && !e.includes(" ");
1247
1269
  }
1248
- function $e(e, n) {
1270
+ function Ce(e, n) {
1249
1271
  if (e == null)
1250
1272
  return { type: "project" };
1251
1273
  const t = I(e, "source", n), r = t.type;
@@ -1259,7 +1281,7 @@ function $e(e, n) {
1259
1281
  )
1260
1282
  }) : (s(n, "source.type", "Expected project or dashboard."), { type: "project" });
1261
1283
  }
1262
- function Ce(e, n) {
1284
+ function Te(e, n) {
1263
1285
  const t = I(e, "body", n), r = t.type;
1264
1286
  return r === "generated_analysis" ? (h(t, "body", ["type", "instruction"], n), {
1265
1287
  type: "generated_analysis",
@@ -1271,7 +1293,7 @@ function Ce(e, n) {
1271
1293
  )
1272
1294
  }) : r === "custom_message" ? (h(t, "body", ["type", "message"], n), {
1273
1295
  type: "custom_message",
1274
- message: an(
1296
+ message: cn(
1275
1297
  t.message,
1276
1298
  "body.message",
1277
1299
  u.customMessage,
@@ -1283,11 +1305,11 @@ function Ce(e, n) {
1283
1305
  "Expected generated_analysis, custom_message, or none."
1284
1306
  ), { type: "none" });
1285
1307
  }
1286
- function dn(e, n) {
1308
+ function mn(e, n) {
1287
1309
  if (e == null)
1288
- return [...W];
1310
+ return [...X];
1289
1311
  if (!Array.isArray(e))
1290
- return s(n, "presentation.artifactFormats", "Expected an array."), [...W];
1312
+ return s(n, "presentation.artifactFormats", "Expected an array."), [...X];
1291
1313
  if (e.length === 0)
1292
1314
  return s(
1293
1315
  n,
@@ -1296,7 +1318,7 @@ function dn(e, n) {
1296
1318
  ), [];
1297
1319
  const t = [];
1298
1320
  return e.forEach((r, o) => {
1299
- if (typeof r != "string" || !Ie.has(r)) {
1321
+ if (typeof r != "string" || !ve.has(r)) {
1300
1322
  s(
1301
1323
  n,
1302
1324
  `presentation.artifactFormats.${o}`,
@@ -1307,10 +1329,10 @@ function dn(e, n) {
1307
1329
  t.includes(r) || t.push(r);
1308
1330
  }), t;
1309
1331
  }
1310
- function Te(e, n) {
1332
+ function xe(e, n) {
1311
1333
  if (e == null)
1312
1334
  return {
1313
- artifactFormats: [...W],
1335
+ artifactFormats: [...X],
1314
1336
  includeEvidence: !0,
1315
1337
  includeSql: !0
1316
1338
  };
@@ -1333,14 +1355,14 @@ function Te(e, n) {
1333
1355
  n
1334
1356
  );
1335
1357
  const r = {
1336
- artifactFormats: dn(t.artifactFormats, n),
1337
- includeEvidence: D(
1358
+ artifactFormats: mn(t.artifactFormats, n),
1359
+ includeEvidence: w(
1338
1360
  t.includeEvidence,
1339
1361
  !0,
1340
1362
  "presentation.includeEvidence",
1341
1363
  n
1342
1364
  ),
1343
- includeSql: D(
1365
+ includeSql: w(
1344
1366
  t.includeSql,
1345
1367
  !0,
1346
1368
  "presentation.includeSql",
@@ -1363,10 +1385,10 @@ function Te(e, n) {
1363
1385
  n
1364
1386
  );
1365
1387
  o && (r.audience = o), a && (r.tone = a), i && (r.format = i);
1366
- const c = It(t);
1388
+ const c = vt(t);
1367
1389
  return c.issues.forEach((l) => s(n, l.field, l.message)), Object.assign(r, c.value), r;
1368
1390
  }
1369
- function mn(e, n, t) {
1391
+ function un(e, n, t) {
1370
1392
  return Array.isArray(e) ? (e.length === 0 && s(t, n, "Expected at least one item."), e.length > $.maxListItems && s(
1371
1393
  t,
1372
1394
  n,
@@ -1380,7 +1402,7 @@ function mn(e, n, t) {
1380
1402
  )
1381
1403
  ).filter(Boolean)) : (s(t, n, "Expected an array."), []);
1382
1404
  }
1383
- function un(e, n, t) {
1405
+ function fn(e, n, t) {
1384
1406
  const r = I(e, n, t);
1385
1407
  if (r.kind === "metric")
1386
1408
  return h(r, n, ["kind", "metricId"], t), {
@@ -1418,14 +1440,14 @@ function un(e, n, t) {
1418
1440
  "Expected metric, column, or matrix_measure."
1419
1441
  );
1420
1442
  }
1421
- function xe(e, n, t) {
1443
+ function Se(e, n, t) {
1422
1444
  if (e === null || typeof e != "object" || Array.isArray(e))
1423
1445
  return;
1424
1446
  const r = I(e, n, t);
1425
1447
  if (!Object.prototype.hasOwnProperty.call(r, "target") && !Object.prototype.hasOwnProperty.call(r, "format"))
1426
1448
  return;
1427
1449
  h(r, n, ["value", "target", "format"], t), (typeof r.value != "number" || !Number.isFinite(r.value)) && s(t, `${n}.value`, "Expected a finite number.");
1428
- const o = un(
1450
+ const o = fn(
1429
1451
  r.target,
1430
1452
  `${n}.target`,
1431
1453
  t
@@ -1449,7 +1471,7 @@ function _(e, n, t) {
1449
1471
  }
1450
1472
  return e;
1451
1473
  }
1452
- const r = xe(e, n, t);
1474
+ const r = Se(e, n, t);
1453
1475
  if (r) return r;
1454
1476
  s(
1455
1477
  t,
@@ -1457,21 +1479,21 @@ function _(e, n, t) {
1457
1479
  "Expected a string, number, or structured numeric value."
1458
1480
  );
1459
1481
  }
1460
- function fn(e, n, t) {
1482
+ function pn(e, n, t) {
1461
1483
  if (e === null || typeof e == "string" || typeof e == "number" || typeof e == "boolean")
1462
1484
  return typeof e == "string" && e.length > u.contentCell ? (s(
1463
1485
  t,
1464
1486
  n,
1465
1487
  `Must be ${u.contentCell} characters or fewer.`
1466
1488
  ), e.slice(0, u.contentCell)) : typeof e == "number" && !Number.isFinite(e) ? (s(t, n, "Expected a finite number."), null) : e;
1467
- const r = xe(e, n, t);
1489
+ const r = Se(e, n, t);
1468
1490
  return r || (s(
1469
1491
  t,
1470
1492
  n,
1471
1493
  "Expected a string, number, boolean, structured numeric value, or null."
1472
1494
  ), null);
1473
1495
  }
1474
- function pn(e, n, t) {
1496
+ function hn(e, n, t) {
1475
1497
  if (!Array.isArray(e))
1476
1498
  return s(t, n, "Expected an array."), [];
1477
1499
  e.length === 0 && s(t, n, "Expected at least one column."), e.length > $.maxTableColumns && s(
@@ -1498,13 +1520,13 @@ function pn(e, n, t) {
1498
1520
  ), d = A(
1499
1521
  c.kind,
1500
1522
  `${i}.kind`,
1501
- nn,
1523
+ rn,
1502
1524
  "text, number, currency, percent, date, or boolean",
1503
1525
  t
1504
1526
  ), f = A(
1505
1527
  c.align,
1506
1528
  `${i}.align`,
1507
- rn,
1529
+ on,
1508
1530
  "left, center, or right",
1509
1531
  t
1510
1532
  );
@@ -1516,7 +1538,7 @@ function pn(e, n, t) {
1516
1538
  };
1517
1539
  });
1518
1540
  }
1519
- function hn(e, n, t, r) {
1541
+ function yn(e, n, t, r) {
1520
1542
  if (!Array.isArray(e))
1521
1543
  return s(r, n, "Expected an array."), [];
1522
1544
  e.length > $.maxTableRows && s(
@@ -1532,12 +1554,12 @@ function hn(e, n, t, r) {
1532
1554
  }), Object.fromEntries(
1533
1555
  t.map((m) => [
1534
1556
  m.key,
1535
- fn(l[m.key] ?? null, `${c}.${m.key}`, r)
1557
+ pn(l[m.key] ?? null, `${c}.${m.key}`, r)
1536
1558
  ])
1537
1559
  );
1538
1560
  });
1539
1561
  }
1540
- function yn(e, n, t) {
1562
+ function gn(e, n, t) {
1541
1563
  const r = `content.blocks.${n}`, o = I(e, r, t), a = o.type;
1542
1564
  if (a === "heading") {
1543
1565
  h(o, r, ["type", "text", "level", "evidenceIds"], t);
@@ -1580,7 +1602,7 @@ function yn(e, n, t) {
1580
1602
  ), c = A(
1581
1603
  o.severity,
1582
1604
  `${r}.severity`,
1583
- tn,
1605
+ nn,
1584
1606
  "info, positive, warning, or critical",
1585
1607
  t
1586
1608
  );
@@ -1610,7 +1632,7 @@ function yn(e, n, t) {
1610
1632
  return {
1611
1633
  type: a,
1612
1634
  ...i ? { title: i } : {},
1613
- items: mn(o.items, `${r}.items`, t),
1635
+ items: un(o.items, `${r}.items`, t),
1614
1636
  ...c ? { evidenceIds: c } : {}
1615
1637
  };
1616
1638
  }
@@ -1713,7 +1735,7 @@ function yn(e, n, t) {
1713
1735
  g.previousValue,
1714
1736
  `${p}.previousValue`,
1715
1737
  t
1716
- ), N = g.delta === void 0 || g.delta === null ? g.delta : _(
1738
+ ), F = g.delta === void 0 || g.delta === null ? g.delta : _(
1717
1739
  g.delta,
1718
1740
  `${p}.delta`,
1719
1741
  t
@@ -1740,7 +1762,7 @@ function yn(e, n, t) {
1740
1762
  ),
1741
1763
  value: v,
1742
1764
  ...k !== void 0 ? { previousValue: k } : {},
1743
- ...N !== void 0 ? { delta: N } : {},
1765
+ ...F !== void 0 ? { delta: F } : {},
1744
1766
  ...te !== void 0 ? { percentChange: te } : {},
1745
1767
  ...ne ? { unit: ne } : {},
1746
1768
  ...re ? { evidenceIds: re } : {}
@@ -1787,7 +1809,7 @@ function yn(e, n, t) {
1787
1809
  ["type", "id", "title", "columns", "rows", "caption", "totalRows", "evidenceIds"],
1788
1810
  t
1789
1811
  );
1790
- const i = pn(o.columns, `${r}.columns`, t), c = E(
1812
+ const i = hn(o.columns, `${r}.columns`, t), c = E(
1791
1813
  o.title,
1792
1814
  `${r}.title`,
1793
1815
  u.contentTitle,
@@ -1802,7 +1824,7 @@ function yn(e, n, t) {
1802
1824
  `${r}.caption`,
1803
1825
  u.contentItem,
1804
1826
  t
1805
- ), d = cn(
1827
+ ), d = ln(
1806
1828
  o.totalRows,
1807
1829
  `${r}.totalRows`,
1808
1830
  t
@@ -1812,7 +1834,7 @@ function yn(e, n, t) {
1812
1834
  ...l ? { id: l } : {},
1813
1835
  ...c ? { title: c } : {},
1814
1836
  columns: i,
1815
- rows: hn(o.rows, `${r}.rows`, i, t),
1837
+ rows: yn(o.rows, `${r}.rows`, i, t),
1816
1838
  ...m ? { caption: m } : {},
1817
1839
  ...d !== void 0 ? { totalRows: d } : {},
1818
1840
  ...f ? { evidenceIds: f } : {}
@@ -1863,7 +1885,7 @@ function yn(e, n, t) {
1863
1885
  text: ""
1864
1886
  };
1865
1887
  }
1866
- function gn(e) {
1888
+ function bn(e) {
1867
1889
  const n = [], t = I(e, "content", n);
1868
1890
  h(t, "content", ["version", "title", "summary", "blocks"], n), t.version !== 1 && s(n, "content.version", "Expected version 1.");
1869
1891
  const r = E(
@@ -1884,7 +1906,7 @@ function gn(e) {
1884
1906
  "content.blocks",
1885
1907
  `Must have ${$.maxBlocks} blocks or fewer.`
1886
1908
  );
1887
- const i = a.slice(0, $.maxBlocks).map((c, l) => yn(c, l, n));
1909
+ const i = a.slice(0, $.maxBlocks).map((c, l) => gn(c, l, n));
1888
1910
  return J(n), {
1889
1911
  version: 1,
1890
1912
  ...r ? { title: r } : {},
@@ -1892,15 +1914,15 @@ function gn(e) {
1892
1914
  blocks: i
1893
1915
  };
1894
1916
  }
1895
- function yr(e) {
1917
+ function Er(e) {
1896
1918
  try {
1897
1919
  return {
1898
1920
  valid: !0,
1899
- value: gn(e),
1921
+ value: bn(e),
1900
1922
  issues: []
1901
1923
  };
1902
1924
  } catch (n) {
1903
- if (n instanceof V)
1925
+ if (n instanceof z)
1904
1926
  return { valid: !1, issues: n.issues };
1905
1927
  throw n;
1906
1928
  }
@@ -1915,7 +1937,7 @@ function A(e, n, t, r, o) {
1915
1937
  s(o, n, `Expected ${r}.`);
1916
1938
  }
1917
1939
  }
1918
- function bn(e, n, t) {
1940
+ function En(e, n, t) {
1919
1941
  if (e != null) {
1920
1942
  if (!Array.isArray(e)) {
1921
1943
  s(t, n, "Expected an array.");
@@ -1924,25 +1946,25 @@ function bn(e, n, t) {
1924
1946
  return e;
1925
1947
  }
1926
1948
  }
1927
- function En(e, n, t) {
1949
+ function In(e, n, t) {
1928
1950
  if (e != null) {
1929
- if (!ve(e)) {
1951
+ if (!$e(e)) {
1930
1952
  s(t, n, "Expected an object.");
1931
1953
  return;
1932
1954
  }
1933
1955
  return e;
1934
1956
  }
1935
1957
  }
1936
- function In(e, n, t) {
1958
+ function vn(e, n, t) {
1937
1959
  if (e == null)
1938
1960
  return;
1939
1961
  const r = I(e, n, t);
1940
- h(r, n, on, t);
1962
+ h(r, n, an, t);
1941
1963
  const o = {};
1942
1964
  if (r.matrix !== void 0) {
1943
1965
  const d = I(r.matrix, `${n}.matrix`, t);
1944
1966
  h(d, `${n}.matrix`, ["config", "content"], t);
1945
- const f = Be.safeParse(d.config);
1967
+ const f = Ue.safeParse(d.config);
1946
1968
  f.success || s(t, `${n}.matrix.config`, "Expected a valid Matrix definition.");
1947
1969
  const p = A(
1948
1970
  d.content,
@@ -1956,31 +1978,31 @@ function In(e, n, t) {
1956
1978
  const a = A(
1957
1979
  r.pageSize,
1958
1980
  `${n}.pageSize`,
1959
- Xt,
1981
+ Yt,
1960
1982
  "letter, legal, a4, a3, or tabloid",
1961
1983
  t
1962
1984
  ), i = A(
1963
1985
  r.orientation,
1964
1986
  `${n}.orientation`,
1965
- Yt,
1987
+ Zt,
1966
1988
  "portrait or landscape",
1967
1989
  t
1968
1990
  ), c = A(
1969
1991
  r.delimiter,
1970
1992
  `${n}.delimiter`,
1971
- Zt,
1993
+ Jt,
1972
1994
  "comma, semicolon, or tab",
1973
1995
  t
1974
1996
  ), l = A(
1975
1997
  r.csvEncoding,
1976
1998
  `${n}.csvEncoding`,
1977
- Jt,
1999
+ Qt,
1978
2000
  "utf-8-bom or utf-8",
1979
2001
  t
1980
2002
  ), m = A(
1981
2003
  r.sheetSelection,
1982
2004
  `${n}.sheetSelection`,
1983
- Qt,
2005
+ en,
1984
2006
  "current or all",
1985
2007
  t
1986
2008
  );
@@ -2022,7 +2044,7 @@ function In(e, n, t) {
2022
2044
  "cardControlDefinitions",
2023
2045
  "controlBindings"
2024
2046
  ]) {
2025
- const f = bn(r[d], `${n}.${d}`, t);
2047
+ const f = En(r[d], `${n}.${d}`, t);
2026
2048
  f && (o[d] = f);
2027
2049
  }
2028
2050
  for (const d of [
@@ -2031,12 +2053,12 @@ function In(e, n, t) {
2031
2053
  "dashboardInputExecutionSnapshot",
2032
2054
  "printInputCapture"
2033
2055
  ]) {
2034
- const f = En(r[d], `${n}.${d}`, t);
2056
+ const f = In(r[d], `${n}.${d}`, t);
2035
2057
  f && (o[d] = f);
2036
2058
  }
2037
2059
  return Object.keys(o).length > 0 ? o : void 0;
2038
2060
  }
2039
- function K(e, n, t, r) {
2061
+ function G(e, n, t, r) {
2040
2062
  const o = E(
2041
2063
  n,
2042
2064
  t,
@@ -2045,15 +2067,15 @@ function K(e, n, t, r) {
2045
2067
  );
2046
2068
  return o && (e.title = o), e;
2047
2069
  }
2048
- function G(e, n, t, r) {
2049
- const o = In(n, t, r);
2070
+ function H(e, n, t, r) {
2071
+ const o = vn(n, t, r);
2050
2072
  return o != null && o.printInputCapture && e.type !== "dashboard" && s(
2051
2073
  r,
2052
2074
  `${t}.printInputCapture`,
2053
2075
  "Only a full dashboard attachment can carry printInputCapture."
2054
2076
  ), o && (e.settings = o), e;
2055
2077
  }
2056
- function vn(e, n, t) {
2078
+ function $n(e, n, t) {
2057
2079
  const r = `attachments.${n}`, o = I(e, r, t), a = o.type;
2058
2080
  if (a === "dashboard") {
2059
2081
  h(
@@ -2062,7 +2084,7 @@ function vn(e, n, t) {
2062
2084
  ["type", "dashboardId", "format", "title", "settings"],
2063
2085
  t
2064
2086
  );
2065
- const i = K(
2087
+ const i = G(
2066
2088
  {
2067
2089
  type: "dashboard",
2068
2090
  dashboardId: b(
@@ -2077,7 +2099,7 @@ function vn(e, n, t) {
2077
2099
  `${r}.title`,
2078
2100
  t
2079
2101
  );
2080
- return G(i, o.settings, `${r}.settings`, t);
2102
+ return H(i, o.settings, `${r}.settings`, t);
2081
2103
  }
2082
2104
  if (a === "dashboard_sheet" || a === "document_sheet") {
2083
2105
  h(
@@ -2086,7 +2108,7 @@ function vn(e, n, t) {
2086
2108
  ["type", "dashboardId", "sheetId", "format", "title", "settings"],
2087
2109
  t
2088
2110
  );
2089
- const i = K(
2111
+ const i = G(
2090
2112
  {
2091
2113
  type: a,
2092
2114
  dashboardId: b(
@@ -2113,7 +2135,7 @@ function vn(e, n, t) {
2113
2135
  t
2114
2136
  );
2115
2137
  return le(
2116
- G(i, o.settings, `${r}.settings`, t)
2138
+ H(i, o.settings, `${r}.settings`, t)
2117
2139
  );
2118
2140
  }
2119
2141
  if (a === "card") {
@@ -2123,7 +2145,7 @@ function vn(e, n, t) {
2123
2145
  ["type", "dashboardId", "cardId", "format", "title", "settings"],
2124
2146
  t
2125
2147
  );
2126
- const i = K(
2148
+ const i = G(
2127
2149
  {
2128
2150
  type: "card",
2129
2151
  dashboardId: b(
@@ -2141,7 +2163,7 @@ function vn(e, n, t) {
2141
2163
  format: U(
2142
2164
  o.format,
2143
2165
  `${r}.format`,
2144
- Ee,
2166
+ Ie,
2145
2167
  t
2146
2168
  )
2147
2169
  },
@@ -2150,7 +2172,7 @@ function vn(e, n, t) {
2150
2172
  t
2151
2173
  );
2152
2174
  return le(
2153
- G(i, o.settings, `${r}.settings`, t)
2175
+ H(i, o.settings, `${r}.settings`, t)
2154
2176
  );
2155
2177
  }
2156
2178
  return s(
@@ -2169,7 +2191,7 @@ function le(e) {
2169
2191
  } = e.settings, { settings: a, ...i } = e;
2170
2192
  return Object.keys(o).length > 0 ? { ...i, settings: o } : i;
2171
2193
  }
2172
- function $n(e) {
2194
+ function Cn(e) {
2173
2195
  switch (e.type) {
2174
2196
  case "dashboard":
2175
2197
  return `${e.type}:${e.dashboardId}:${e.format}`;
@@ -2180,35 +2202,36 @@ function $n(e) {
2180
2202
  return `${e.type}:${e.dashboardId}:${e.cardId}:${e.format}`;
2181
2203
  }
2182
2204
  }
2183
- function Se(e, n) {
2205
+ function Ae(e, n) {
2184
2206
  if (e == null)
2185
2207
  return [];
2186
2208
  if (!Array.isArray(e))
2187
2209
  return s(n, "attachments", "Expected an array."), [];
2188
- e.length > j && s(
2210
+ e.length > q && s(
2189
2211
  n,
2190
2212
  "attachments",
2191
- `Choose ${j} attachments or fewer.`
2213
+ `Choose ${q} attachments or fewer.`
2192
2214
  );
2193
- const t = e.slice(0, j).map((o, a) => vn(o, a, n)), r = /* @__PURE__ */ new Set();
2215
+ const t = e.slice(0, q).map((o, a) => $n(o, a, n)), r = /* @__PURE__ */ new Set();
2194
2216
  return t.forEach((o, a) => {
2195
- var c, l, m, d;
2196
- (c = o.settings) != null && c.matrix && (o.type !== "card" || o.settings.cardType !== "matrixTable" || o.settings.matrix.content === "flat" && o.format === "pdf") && s(n, `attachments.${a}.settings.matrix`, "Matrix settings require a matrixTable card attachment; flat content requires CSV or Excel."), o.format === "png" && ((l = o.settings) != null && l.matrix) && o.settings.matrix.content !== "current" && s(n, `attachments.${a}.settings.matrix.content`, "A Matrix PNG image shows the current layout."), o.format === "xlsx" && !((m = o.settings) != null && m.matrix) && !Y((d = o.settings) == null ? void 0 : d.cardType) && s(n, `attachments.${a}.format`, "Excel attachments require a Table, Detail Table or Matrix card.");
2197
- const i = $n(o);
2198
- r.has(i) && s(n, `attachments.${a}`, "Duplicate attachment."), r.add(i);
2217
+ var l, m, d, f;
2218
+ const i = o.type === "card" ? (l = o.settings) == null ? void 0 : l.cardType : void 0;
2219
+ (m = o.settings) != null && m.matrix && (o.type !== "card" || i !== void 0 && i !== "matrixTable" || o.settings.matrix.content === "flat" && o.format === "pdf") && s(n, `attachments.${a}.settings.matrix`, "Matrix settings require a matrixTable card attachment; flat content requires CSV or Excel."), o.format === "png" && ((d = o.settings) != null && d.matrix) && o.settings.matrix.content !== "current" && s(n, `attachments.${a}.settings.matrix.content`, "A Matrix PNG image shows the current layout."), o.format === "xlsx" && i !== void 0 && !((f = o.settings) != null && f.matrix) && !V(i) && s(n, `attachments.${a}.format`, "Excel attachments require a Table, Detail Table or Matrix card.");
2220
+ const c = Cn(o);
2221
+ r.has(c) && s(n, `attachments.${a}`, "Duplicate attachment."), r.add(c);
2199
2222
  }), t;
2200
2223
  }
2201
- function Ae(e, n) {
2224
+ function ke(e, n) {
2202
2225
  if (e == null)
2203
2226
  return;
2204
2227
  const t = I(e, "limits", n);
2205
- h(t, "limits", Object.keys(q), n);
2228
+ h(t, "limits", Object.keys(K), n);
2206
2229
  const r = {};
2207
- return Object.keys(q).forEach((o) => {
2230
+ return Object.keys(K).forEach((o) => {
2208
2231
  const a = t[o];
2209
2232
  if (a == null)
2210
2233
  return;
2211
- const i = q[o];
2234
+ const i = K[o];
2212
2235
  if (typeof a != "number" || !Number.isInteger(a) || a < i.min || a > i.max) {
2213
2236
  s(
2214
2237
  n,
@@ -2222,38 +2245,38 @@ function Ae(e, n) {
2222
2245
  }
2223
2246
  function J(e) {
2224
2247
  if (e.length > 0)
2225
- throw new V(e);
2248
+ throw new z(e);
2226
2249
  }
2227
- function ke(e, n, t) {
2250
+ function _e(e, n, t) {
2228
2251
  !(e.type === "generated_analysis" || e.type === "custom_message" && !!e.message.trim()) && n.length === 0 && s(
2229
2252
  t,
2230
2253
  "body",
2231
2254
  "Add briefing instructions, a custom message, or at least one attachment."
2232
2255
  );
2233
2256
  }
2234
- function Cn(e, n, t) {
2257
+ function Tn(e, n, t) {
2235
2258
  e == null || e.forEach((r, o) => {
2236
2259
  const a = `${t}.${o}.scope`, i = r.scope.attachmentIndex;
2237
2260
  if (i === void 0)
2238
- throw new F(
2261
+ throw new N(
2239
2262
  `${a}.attachmentIndex must identify the attachment that owns this presentation entry.`
2240
2263
  );
2241
2264
  const c = n[i];
2242
2265
  if (!c)
2243
- throw new F(
2266
+ throw new N(
2244
2267
  `${a}.attachmentIndex must identify an existing attachment.`
2245
2268
  );
2246
2269
  if (r.scope.dashboardId !== c.dashboardId)
2247
- throw new F(
2270
+ throw new N(
2248
2271
  `${a}.dashboardId must match the dashboard selected by the referenced attachment.`
2249
2272
  );
2250
2273
  if (c.type === "card" && r.scope.cardId !== c.cardId)
2251
- throw new F(
2274
+ throw new N(
2252
2275
  `${a}.cardId must match the card selected by the referenced attachment.`
2253
2276
  );
2254
2277
  });
2255
2278
  }
2256
- function _e(e) {
2279
+ function De(e) {
2257
2280
  const n = [], t = I(e, "jobConfig", n);
2258
2281
  h(
2259
2282
  t,
@@ -2268,14 +2291,14 @@ function _e(e) {
2268
2291
  "limits"
2269
2292
  ],
2270
2293
  n
2271
- ), t.kind !== H && s(n, "kind", "Expected BRIEFING.");
2294
+ ), t.kind !== W && s(n, "kind", "Expected BRIEFING.");
2272
2295
  let r;
2273
2296
  try {
2274
- r = Me(
2297
+ r = Be(
2275
2298
  t.presentationExecutionSnapshot
2276
2299
  );
2277
2300
  } catch (m) {
2278
- if (m instanceof F)
2301
+ if (m instanceof N)
2279
2302
  throw m;
2280
2303
  s(
2281
2304
  n,
@@ -2283,13 +2306,13 @@ function _e(e) {
2283
2306
  m instanceof Error ? m.message : "Invalid presentation snapshot."
2284
2307
  );
2285
2308
  }
2286
- const o = $e(t.source, n), a = Ce(t.body, n), i = Se(t.attachments, n), c = Te(t.presentation, n), l = Ae(t.limits, n);
2287
- return ke(a, i, n), Cn(
2309
+ const o = Ce(t.source, n), a = Te(t.body, n), i = Ae(t.attachments, n), c = xe(t.presentation, n), l = ke(t.limits, n);
2310
+ return _e(a, i, n), Tn(
2288
2311
  r == null ? void 0 : r.resolvedFormats,
2289
2312
  i,
2290
2313
  "jobConfig.presentationExecutionSnapshot.resolvedFormats"
2291
2314
  ), J(n), {
2292
- kind: H,
2315
+ kind: W,
2293
2316
  presentationExecutionSnapshot: r,
2294
2317
  source: o,
2295
2318
  body: a,
@@ -2298,10 +2321,10 @@ function _e(e) {
2298
2321
  ...l ? { limits: l } : {}
2299
2322
  };
2300
2323
  }
2301
- function gr(e) {
2302
- return _e({
2324
+ function Ir(e) {
2325
+ return De({
2303
2326
  ...e,
2304
- kind: H
2327
+ kind: W
2305
2328
  });
2306
2329
  }
2307
2330
  function Q(e, n, t, r = "deliveryConfig.recipients") {
@@ -2319,7 +2342,7 @@ function Q(e, n, t, r = "deliveryConfig.recipients") {
2319
2342
  u.attachmentTitle,
2320
2343
  t
2321
2344
  );
2322
- return c && !sn(c) && s(t, `${o}.address`, "Email address is invalid."), {
2345
+ return c && !dn(c) && s(t, `${o}.address`, "Email address is invalid."), {
2323
2346
  type: "email",
2324
2347
  address: c,
2325
2348
  ...l ? { name: l } : {}
@@ -2355,12 +2378,12 @@ function Q(e, n, t, r = "deliveryConfig.recipients") {
2355
2378
  "Expected email, user, tenant_user, or group."
2356
2379
  ), { type: "email", address: "" });
2357
2380
  }
2358
- function Tn(e, n) {
2381
+ function xn(e, n) {
2359
2382
  return e == null ? [] : Array.isArray(e) ? e.map(
2360
2383
  (t, r) => Q(t, r, n)
2361
2384
  ) : (s(n, "deliveryConfig.recipients", "Expected an array."), []);
2362
2385
  }
2363
- function xn(e, n) {
2386
+ function Sn(e, n) {
2364
2387
  if (!Array.isArray(e))
2365
2388
  return s(n, "deliveryConfig.channels", "Expected an array."), [];
2366
2389
  const t = [];
@@ -2376,7 +2399,7 @@ function xn(e, n) {
2376
2399
  t.includes(r) || t.push(r);
2377
2400
  }), t;
2378
2401
  }
2379
- function Sn(e, n, t) {
2402
+ function An(e, n, t) {
2380
2403
  if (e == null)
2381
2404
  return;
2382
2405
  const r = I(e, n, t), o = {};
@@ -2388,7 +2411,7 @@ function Sn(e, n, t) {
2388
2411
  o[a] = i.trim();
2389
2412
  }), Object.keys(o).length > 0 ? o : void 0;
2390
2413
  }
2391
- function An(e, n, t) {
2414
+ function kn(e, n, t) {
2392
2415
  if (e == null)
2393
2416
  return;
2394
2417
  const r = I(e, n, t);
@@ -2398,7 +2421,7 @@ function An(e, n, t) {
2398
2421
  ["url", "method", "headers", "secretEncrypted"],
2399
2422
  t
2400
2423
  );
2401
- const o = r.method === void 0 || r.method === null ? void 0 : U(r.method, `${n}.method`, ["POST", "PUT"], t), a = Sn(r.headers, `${n}.headers`, t), i = E(
2424
+ const o = r.method === void 0 || r.method === null ? void 0 : U(r.method, `${n}.method`, ["POST", "PUT"], t), a = An(r.headers, `${n}.headers`, t), i = E(
2402
2425
  r.secretEncrypted,
2403
2426
  `${n}.secretEncrypted`,
2404
2427
  2e3,
@@ -2411,7 +2434,7 @@ function An(e, n, t) {
2411
2434
  ...i ? { secretEncrypted: i } : {}
2412
2435
  };
2413
2436
  }
2414
- function kn(e, n, t) {
2437
+ function _n(e, n, t) {
2415
2438
  const r = I(e, n, t), o = r.type;
2416
2439
  if (o === "channel") {
2417
2440
  h(
@@ -2425,7 +2448,7 @@ function kn(e, n, t) {
2425
2448
  `${n}.channelName`,
2426
2449
  u.attachmentTitle,
2427
2450
  t
2428
- ), i = r.isPrivate === void 0 || r.isPrivate === null ? void 0 : D(
2451
+ ), i = r.isPrivate === void 0 || r.isPrivate === null ? void 0 : w(
2429
2452
  r.isPrivate,
2430
2453
  !1,
2431
2454
  `${n}.isPrivate`,
@@ -2452,7 +2475,7 @@ function kn(e, n, t) {
2452
2475
  recipient: Q(r.recipient, 0, t, `${n}.recipient`)
2453
2476
  }) : (s(t, `${n}.type`, "Expected channel."), { type: "channel", channelId: "" });
2454
2477
  }
2455
- function _n(e, n, t) {
2478
+ function Dn(e, n, t) {
2456
2479
  if (e == null)
2457
2480
  return;
2458
2481
  if (!Array.isArray(e)) {
@@ -2480,28 +2503,28 @@ function wn(e, n, t) {
2480
2503
  ],
2481
2504
  t
2482
2505
  );
2483
- const o = _n(
2506
+ const o = Dn(
2484
2507
  r.threadMentions,
2485
2508
  `${n}.threadMentions`,
2486
2509
  t
2487
- ), a = D(
2510
+ ), a = w(
2488
2511
  r.postThreadDetail,
2489
2512
  !0,
2490
2513
  `${n}.postThreadDetail`,
2491
2514
  t
2492
- ), i = D(
2515
+ ), i = w(
2493
2516
  r.includeDashboardLink,
2494
2517
  !0,
2495
2518
  `${n}.includeDashboardLink`,
2496
2519
  t
2497
- ), c = D(
2520
+ ), c = w(
2498
2521
  r.includeBriefingLink,
2499
2522
  !0,
2500
2523
  `${n}.includeBriefingLink`,
2501
2524
  t
2502
2525
  );
2503
2526
  return {
2504
- destination: kn(
2527
+ destination: _n(
2505
2528
  r.destination,
2506
2529
  `${n}.destination`,
2507
2530
  t
@@ -2512,7 +2535,7 @@ function wn(e, n, t) {
2512
2535
  ...r.includeBriefingLink !== void 0 ? { includeBriefingLink: c } : {}
2513
2536
  };
2514
2537
  }
2515
- function Dn(e, n, t) {
2538
+ function On(e, n, t) {
2516
2539
  const r = I(e, n, t);
2517
2540
  h(
2518
2541
  r,
@@ -2531,7 +2554,7 @@ function Dn(e, n, t) {
2531
2554
  const o = A(
2532
2555
  r.formatProfile,
2533
2556
  `${n}.formatProfile`,
2534
- en,
2557
+ tn,
2535
2558
  "concise, balanced, or detailed",
2536
2559
  t
2537
2560
  ), a = E(
@@ -2549,12 +2572,12 @@ function Dn(e, n, t) {
2549
2572
  `${n}.summaryOverride`,
2550
2573
  2e3,
2551
2574
  t
2552
- ), l = D(
2575
+ ), l = w(
2553
2576
  r.actionBlockVisible,
2554
2577
  !0,
2555
2578
  `${n}.actionBlockVisible`,
2556
2579
  t
2557
- ), m = An(
2580
+ ), m = kn(
2558
2581
  r.webhookConfig,
2559
2582
  `${n}.webhookConfig`,
2560
2583
  t
@@ -2573,7 +2596,7 @@ function Dn(e, n, t) {
2573
2596
  ...m ? { webhookConfig: m } : {}
2574
2597
  };
2575
2598
  }
2576
- function On(e, n) {
2599
+ function Fn(e, n) {
2577
2600
  if (e == null)
2578
2601
  return;
2579
2602
  const t = I(e, "deliveryConfig.channelConfigs", n), r = {};
@@ -2586,7 +2609,7 @@ function On(e, n) {
2586
2609
  );
2587
2610
  return;
2588
2611
  }
2589
- r[o] = Dn(
2612
+ r[o] = On(
2590
2613
  a,
2591
2614
  `deliveryConfig.channelConfigs.${o}`,
2592
2615
  n
@@ -2604,7 +2627,7 @@ function Nn(e, n) {
2604
2627
  ["recipients", "channels", "channelConfigs"],
2605
2628
  n
2606
2629
  );
2607
- const r = On(t.channelConfigs, n), o = Tn(t.recipients, n), a = xn(t.channels, n), i = ((m = (l = r == null ? void 0 : r.SLACK) == null ? void 0 : l.slackConfig) == null ? void 0 : m.destination.type) === "channel" && !!r.SLACK.slackConfig.destination.channelId.trim();
2630
+ const r = Fn(t.channelConfigs, n), o = xn(t.recipients, n), a = Sn(t.channels, n), i = ((m = (l = r == null ? void 0 : r.SLACK) == null ? void 0 : l.slackConfig) == null ? void 0 : m.destination.type) === "channel" && !!r.SLACK.slackConfig.destination.channelId.trim();
2608
2631
  return a.some(
2609
2632
  (f) => f !== "SLACK"
2610
2633
  ) && o.length === 0 && s(
@@ -2659,8 +2682,8 @@ function ee(e) {
2659
2682
  "description",
2660
2683
  u.description,
2661
2684
  n
2662
- ) ?? null, a = E(t.scheduleExpr, "scheduleExpr", 500, n) ?? null, i = E(t.timezone, "timezone", 200, n) ?? "UTC", c = ln(t.status, n), l = $e(t.source, n), m = Ce(t.body, n), d = Se(t.attachments, n), f = Te(t.presentation, n), p = Ae(t.limits, n), g = Nn(t.deliveryConfig, n);
2663
- return ke(m, d, n), J(n), {
2685
+ ) ?? null, a = E(t.scheduleExpr, "scheduleExpr", 500, n) ?? null, i = E(t.timezone, "timezone", 200, n) ?? "UTC", c = sn(t.status, n), l = Ce(t.source, n), m = Te(t.body, n), d = Ae(t.attachments, n), f = xe(t.presentation, n), p = ke(t.limits, n), g = Nn(t.deliveryConfig, n);
2686
+ return _e(m, d, n), J(n), {
2664
2687
  name: r,
2665
2688
  description: o,
2666
2689
  status: c,
@@ -2674,96 +2697,99 @@ function ee(e) {
2674
2697
  deliveryConfig: g
2675
2698
  };
2676
2699
  }
2677
- function br(e) {
2700
+ function vr(e) {
2678
2701
  return ee(e);
2679
2702
  }
2680
- function Er(e) {
2703
+ function $r(e) {
2681
2704
  return ee(e);
2682
2705
  }
2683
- function Ir(e) {
2706
+ function Cr(e) {
2684
2707
  try {
2685
2708
  return { valid: !0, value: ee(e), issues: [] };
2686
2709
  } catch (n) {
2687
- if (n instanceof V)
2710
+ if (n instanceof z)
2688
2711
  return { valid: !1, issues: n.issues };
2689
2712
  throw n;
2690
2713
  }
2691
2714
  }
2692
- function vr(e) {
2715
+ function Tr(e) {
2693
2716
  try {
2694
- return { valid: !0, value: _e(e), issues: [] };
2717
+ return { valid: !0, value: De(e), issues: [] };
2695
2718
  } catch (n) {
2696
- if (n instanceof V)
2719
+ if (n instanceof z)
2697
2720
  return { valid: !1, issues: n.issues };
2698
2721
  throw n;
2699
2722
  }
2700
2723
  }
2701
- function $r(e) {
2702
- return typeof e == "string" && Ie.has(e);
2724
+ function xr(e) {
2725
+ return typeof e == "string" && ve.has(e);
2703
2726
  }
2704
2727
  function we(e) {
2705
- return typeof e == "string" && Wt.has(e);
2728
+ return typeof e == "string" && Xt.has(e);
2706
2729
  }
2707
2730
  export {
2708
- lt as $,
2709
- Kt as A,
2710
- dr as B,
2731
+ dt as $,
2732
+ or as A,
2733
+ fr as B,
2711
2734
  W as C,
2712
- or as D,
2713
- u as E,
2714
- $ as F,
2715
- Gt as G,
2716
- Ht as H,
2717
- hr as I,
2718
- Ee as J,
2719
- V as K,
2720
- gn as L,
2721
- j as M,
2722
- yr as N,
2723
- _e as O,
2724
- gr as P,
2725
- ee as Q,
2726
- br as R,
2727
- Er as S,
2728
- Ir as T,
2729
- vr as U,
2730
- $r as V,
2731
- we as W,
2732
- Qn as X,
2733
- ut as Y,
2734
- st as Z,
2735
- Yn as _,
2736
- fr as a,
2737
- mt as a0,
2738
- Y as a1,
2739
- Ft as a2,
2740
- Mt as a3,
2741
- Bt as a4,
2742
- Ut as a5,
2743
- qt as a6,
2744
- dt as b,
2745
- Jn as c,
2746
- ir as d,
2747
- er as e,
2748
- rr as f,
2749
- pr as g,
2750
- Xn as h,
2751
- Zn as i,
2752
- vt as j,
2753
- ar as k,
2754
- O as l,
2755
- cr as m,
2756
- Dt as n,
2757
- lr as o,
2758
- ge as p,
2759
- he as q,
2760
- jt as r,
2761
- mr as s,
2762
- sr as t,
2763
- ur as u,
2764
- ft as v,
2765
- de as w,
2766
- nr as x,
2767
- tr as y,
2768
- H as z
2735
+ cr as D,
2736
+ Gt as E,
2737
+ X as F,
2738
+ u as G,
2739
+ $ as H,
2740
+ Ht as I,
2741
+ Wt as J,
2742
+ br as K,
2743
+ Ie as L,
2744
+ q as M,
2745
+ z as N,
2746
+ bn as O,
2747
+ Er as P,
2748
+ De as Q,
2749
+ Ir as R,
2750
+ ee as S,
2751
+ vr as T,
2752
+ $r as U,
2753
+ Cr as V,
2754
+ Tr as W,
2755
+ xr as X,
2756
+ we as Y,
2757
+ nr as Z,
2758
+ ft as _,
2759
+ yr as a,
2760
+ Qn as a0,
2761
+ st as a1,
2762
+ Jn as a2,
2763
+ ut as a3,
2764
+ V as a4,
2765
+ Rt as a5,
2766
+ Bt as a6,
2767
+ Ut as a7,
2768
+ Pt as a8,
2769
+ Kt as a9,
2770
+ mt as b,
2771
+ tr as c,
2772
+ sr as d,
2773
+ rr as e,
2774
+ ir as f,
2775
+ gr as g,
2776
+ Yn as h,
2777
+ lt as i,
2778
+ er as j,
2779
+ $t as k,
2780
+ lr as l,
2781
+ O as m,
2782
+ dr as n,
2783
+ Ot as o,
2784
+ be as p,
2785
+ mr as q,
2786
+ Zn as r,
2787
+ ye as s,
2788
+ qt as t,
2789
+ pr as u,
2790
+ ur as v,
2791
+ hr as w,
2792
+ pt as x,
2793
+ me as y,
2794
+ ar as z
2769
2795
  };