react-semaphor 0.1.568 → 0.1.570

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 (191) hide show
  1. package/README.md +0 -7
  2. package/dist/analytics-protocol/index.js +434 -454
  3. package/dist/appearance/index.js +6 -3
  4. package/dist/appearance-runtime/index.js +1 -1
  5. package/dist/assistant-context/index.js +1 -1
  6. package/dist/brand-studio/index.js +572 -436
  7. package/dist/briefings/index.js +4 -4
  8. package/dist/chunks/appearance-context-BwBp25ZG.js +162 -0
  9. package/dist/chunks/appearance-runtime-provider-BRHYELkC.js +80 -0
  10. package/dist/chunks/assistant-chat-B-Ddyy8b.js +5940 -0
  11. package/dist/chunks/{bookmark-impact-CJ-65omV.js → bookmark-impact-DCYD-6Fr.js} +2 -2
  12. package/dist/chunks/{bookmark-state-Du3s13_V.js → bookmark-state-CflS88gq.js} +251 -250
  13. package/dist/chunks/brand-B4BdpAB_.js +54 -0
  14. package/dist/chunks/{card-filter-builder-BBuB99GZ.js → card-filter-builder-0VvKmRst.js} +992 -991
  15. package/dist/chunks/{comparison-window-caption-CMLb3mut.js → comparison-window-caption-PtcDWvkN.js} +252 -253
  16. package/dist/chunks/{dashboard-YnWZC4dK.js → dashboard-DxGIr1vZ.js} +1 -1
  17. package/dist/chunks/{dashboard-briefing-launcher-BF89TU2h.js → dashboard-briefing-launcher-B-quOOOQ.js} +253 -253
  18. package/dist/chunks/{dashboard-controls-atHc1EjP.js → dashboard-controls-Caodx80b.js} +288 -285
  19. package/dist/chunks/dashboard-json-Ct-AGDHF.js +66 -0
  20. package/dist/chunks/{dates-CKO05ino.js → dates-B9mL8BHE.js} +16 -15
  21. package/dist/chunks/edit-Bpdh_P_a.js +226 -0
  22. package/dist/chunks/{edit-dashboard-visual-DdmTfn-J.js → edit-dashboard-visual-DeDTuYB5.js} +2257 -2270
  23. package/dist/chunks/{filter-reach-copy-jZGzK_IH.js → filter-reach-copy-BSY33ro5.js} +1440 -1301
  24. package/dist/chunks/filter-value-text-DvvSNlho.js +146 -0
  25. package/dist/chunks/index-BVKzKl5d.js +90 -0
  26. package/dist/chunks/{index-RNaTnE3m.js → index-CV_Kzou0.js} +233 -223
  27. package/dist/chunks/{index-CPNZW0mu.js → index-y3HUzRNk.js} +76 -77
  28. package/dist/chunks/{layout-grid-0hIlqEtk.js → layout-grid-8rR-LPTk.js} +1 -1
  29. package/dist/chunks/{list-filter-DkgoCeBm.js → list-filter-C1-uTgjR.js} +1 -1
  30. package/dist/chunks/matrix-analytical-definition-dkS8szLM.js +1253 -0
  31. package/dist/chunks/matrix-member-presentation-DRa-9e6Q.js +169 -0
  32. package/dist/chunks/{matrix-operation-contract-Eb6elidS.js → matrix-operation-contract-DCVinw1o.js} +122 -122
  33. package/dist/chunks/{metric-comparison-ChXUFaZu.js → metric-comparison-n9NsIa-2.js} +175 -128
  34. package/dist/chunks/paintbrush-aR17Z3C9.js +27 -0
  35. package/dist/chunks/{palette-4vf2BEEg.js → palette-a5FCZKFI.js} +1 -1
  36. package/dist/chunks/{_commonjsHelpers-DimLPMtv.js → pickers-DkqmtnTL.js} +352 -290
  37. package/dist/chunks/pivot-result-contract-expectations-C-HnUKYe.js +55 -0
  38. package/dist/chunks/{pivot-result-identity-BlbLrqaC.js → pivot-result-identity-B89X5xjb.js} +1 -1
  39. package/dist/chunks/raw-temporal-value-DdT0s47W.js +159 -0
  40. package/dist/chunks/{report-preferences-dialog-Mbd-I0wV.js → report-preferences-dialog-Yvhv3WX2.js} +95 -97
  41. package/dist/chunks/{report-runtime-context-DnA_PiKo.js → report-runtime-context-BhPzLTbS.js} +1 -1
  42. package/dist/chunks/{resolve-dashboard-input-context-Du0fjN3h.js → resolve-dashboard-input-context-Lkbwycwe.js} +5491 -5683
  43. package/dist/chunks/resolver-DG_tfEpt.js +156 -0
  44. package/dist/chunks/{save-D6pHmSSP.js → save-D985VvYp.js} +1 -1
  45. package/dist/chunks/{saved-dashboard-context-y8N6RvjS.js → saved-dashboard-context-DC_TEd6y.js} +6 -6
  46. package/dist/chunks/schema-C9NPiIru.js +2568 -0
  47. package/dist/chunks/{semaphor-ready-indicator-BSEdUq40.js → semaphor-ready-indicator-ByFvqHEO.js} +35916 -36001
  48. package/dist/chunks/{shelf-drop-preview-context-D7QqPl36.js → shelf-drop-preview-context-CjoVaK6J.js} +64 -66
  49. package/dist/chunks/{stored-dashboard-d3xQYxBD.js → stored-dashboard-C0hekXiI.js} +332 -333
  50. package/dist/chunks/{code-editor-DJNOsgJH.js → style-sheet-parts-C7qGZuH1.js} +2402 -2040
  51. package/dist/chunks/{table-export-sheet--DUKWk6o.js → table-export-sheet-CP8zSOhj.js} +1 -1
  52. package/dist/chunks/{temporal-input-presentation--2r9BLr0.js → temporal-input-presentation-CqbJjIuu.js} +18 -18
  53. package/dist/chunks/{token-types-C8JymO8s.js → token-types-iKMplaBL.js} +1 -1
  54. package/dist/chunks/{upload-Cf3wXZT8.js → upload-CiGNKJ_0.js} +1 -1
  55. package/dist/chunks/validators-B8fpdinG.js +3651 -0
  56. package/dist/chunks/{variable-draft-DOX03R4A.js → variable-draft-9-huI1h4.js} +4 -4
  57. package/dist/dashboard/index.js +2 -2
  58. package/dist/dashboard-authoring/index.js +1888 -1826
  59. package/dist/format-utils/index.js +230 -231
  60. package/dist/index.js +349 -353
  61. package/dist/layouts/index.js +1 -1
  62. package/dist/report-runtime-context/index.js +1 -1
  63. package/dist/style.css +1 -1
  64. package/dist/surfboard/index.js +2 -2
  65. package/dist/types/appearance/index.d.ts +1 -0
  66. package/dist/types/brand-studio/brand-studio-draft.d.ts +7 -0
  67. package/dist/types/brand-studio/index.d.ts +1 -1
  68. package/dist/types/components/briefings/briefing-author/run-model.d.ts +1 -2
  69. package/dist/types/components/providers/appearance-runtime-provider.d.ts +4 -1
  70. package/dist/types/components/sharing-and-management/hooks/use-resource-management.d.ts +0 -2
  71. package/dist/types/components/sharing-and-management/utils/types.d.ts +0 -72
  72. package/dist/types/components/surfboard/filter/types.d.ts +5 -4
  73. package/dist/types/components/ui-custom/date-range-presets.d.ts +1 -17
  74. package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +0 -1
  75. package/dist/types/components/visual/data-table/types/data-table.d.ts +0 -9
  76. package/dist/types/components/visual/data-table/utils/pagination-utils.d.ts +0 -19
  77. package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -1
  78. package/dist/types/index.js +9 -9
  79. package/dist/types/lib/appearance/aliases.d.ts +42 -0
  80. package/dist/types/lib/appearance/compiler.d.ts +6 -0
  81. package/dist/types/lib/appearance/defaults.d.ts +6 -0
  82. package/dist/types/lib/appearance/index.d.ts +2 -0
  83. package/dist/types/lib/appearance/normalize-organization.d.ts +17 -0
  84. package/dist/types/lib/appearance/resolver.d.ts +2 -2
  85. package/dist/types/lib/appearance/types.d.ts +38 -1
  86. package/dist/types/lib/charts/types.d.ts +6 -2
  87. package/dist/types/lib/dashboard/semantic-dataset-references.d.ts +0 -1
  88. package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +0 -2
  89. package/dist/types/lib/dashboard-variables/types.d.ts +1 -6
  90. package/dist/types/lib/download-pdf.d.ts +0 -1
  91. package/dist/types/lib/hooks/use-dashboard.d.ts +3 -4
  92. package/dist/types/lib/hooks/use-date-filter.d.ts +3 -3
  93. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +1 -1
  94. package/dist/types/lib/stores/dashboard-store.d.ts +15 -6
  95. package/dist/types/lib/stores/editor-store.d.ts +0 -1
  96. package/dist/types/lib/stores/table-actions.d.ts +0 -1
  97. package/dist/types/lib/table-formatting/table-formatting-css.d.ts +0 -5
  98. package/dist/types/lib/types/common-types.d.ts +3 -2
  99. package/dist/types/lib/types/explorer-types.d.ts +2 -2
  100. package/dist/types/lib/types/index.d.ts +1 -1
  101. package/dist/types/lib/types/summary-types.d.ts +0 -5
  102. package/dist/types/lib/utils/card-definition.d.ts +7 -7
  103. package/dist/types/shared/analytics-protocol/agent-time-window.d.ts +84 -0
  104. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +4 -4
  105. package/dist/types/shared/analytics-protocol/applied-constraints.d.ts +2 -2
  106. package/dist/types/shared/analytics-protocol/contracts.d.ts +8 -17
  107. package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +10 -10
  108. package/dist/types/shared/analytics-protocol/fixtures.d.ts +3 -2
  109. package/dist/types/shared/analytics-protocol/index.d.ts +2 -4
  110. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +72 -72
  111. package/dist/types/shared/analytics-protocol/relative-date/describe.d.ts +18 -0
  112. package/dist/types/shared/analytics-protocol/relative-date/index.d.ts +7 -0
  113. package/dist/types/shared/analytics-protocol/relative-date/limits.d.ts +3 -0
  114. package/dist/types/shared/analytics-protocol/relative-date/presets.d.ts +11 -0
  115. package/dist/types/shared/analytics-protocol/relative-date/resolve.d.ts +49 -0
  116. package/dist/types/shared/analytics-protocol/relative-date/schemas.d.ts +76 -0
  117. package/dist/types/shared/analytics-protocol/relative-date/traits.d.ts +51 -0
  118. package/dist/types/shared/analytics-protocol/relative-date/window.d.ts +111 -0
  119. package/dist/types/shared/analytics-protocol/selection-contract.d.ts +1 -1
  120. package/dist/types/shared/assistant-protocol/context.d.ts +30 -30
  121. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +0 -2
  122. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +344 -1772
  123. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +4 -1
  124. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -4
  125. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +9 -0
  126. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +104 -104
  127. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +20 -20
  128. package/dist/types/shared/dashboard-authoring/dashboard-style/bounds.d.ts +17 -0
  129. package/dist/types/shared/dashboard-authoring/dashboard-style/brand.d.ts +20 -0
  130. package/dist/types/shared/dashboard-authoring/dashboard-style/edit-words.d.ts +7 -0
  131. package/dist/types/shared/dashboard-authoring/dashboard-style/edit.d.ts +19 -0
  132. package/dist/types/shared/dashboard-authoring/dashboard-style/index.d.ts +15 -0
  133. package/dist/types/shared/dashboard-authoring/dashboard-style/layers.d.ts +19 -0
  134. package/dist/types/shared/dashboard-authoring/dashboard-style/legacy.d.ts +21 -0
  135. package/dist/types/shared/dashboard-authoring/dashboard-style/parse.d.ts +18 -0
  136. package/dist/types/shared/dashboard-authoring/dashboard-style/pickers.d.ts +12 -0
  137. package/dist/types/shared/dashboard-authoring/dashboard-style/types.d.ts +122 -0
  138. package/dist/types/shared/dashboard-authoring/dashboard-style/view.d.ts +10 -0
  139. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  140. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +11 -0
  141. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +23 -0
  142. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +10 -2
  143. package/dist/types/shared/format-utils/filter-detail.d.ts +2 -8
  144. package/dist/types/shared/format-utils/filter-line.d.ts +2 -2
  145. package/dist/types/shared/format-utils/matrix-continuation.d.ts +10 -10
  146. package/dist/types/shared/temporal/index.d.ts +0 -2
  147. package/dist/types/shared/temporal/temporal-parity-fixtures.d.ts +2 -2
  148. package/package.json +7 -26
  149. package/DATA_APP_SDK.md +0 -339
  150. package/dist/chunks/appearance-context-DEYtWinQ.js +0 -126
  151. package/dist/chunks/appearance-runtime-provider-B-M8gwlZ.js +0 -81
  152. package/dist/chunks/assistant-chat-BN5I8KuN.js +0 -8849
  153. package/dist/chunks/color-CJvdlFM_.js +0 -2162
  154. package/dist/chunks/dashboard-json-Cxp3inxd.js +0 -68
  155. package/dist/chunks/filter-value-text-7zhmth1S.js +0 -163
  156. package/dist/chunks/index-CLIro-EG.js +0 -425
  157. package/dist/chunks/index-CuHybtft.js +0 -51
  158. package/dist/chunks/matrix-analytical-definition-C9xB_T84.js +0 -717
  159. package/dist/chunks/matrix-card-BSUeSXpD.js +0 -42
  160. package/dist/chunks/matrix-member-presentation-DZNgQpUq.js +0 -105
  161. package/dist/chunks/operators-B3zZoskU.js +0 -66
  162. package/dist/chunks/pivot-result-contract-expectations-Ddh1rNz5.js +0 -56
  163. package/dist/chunks/raw-temporal-value-Bqz8wc7L.js +0 -242
  164. package/dist/chunks/selection-reducer-OaJ-N5uN.js +0 -46
  165. package/dist/chunks/source-entity-resolution-DF6GulDn.js +0 -607
  166. package/dist/chunks/validators-wtjw0aw6.js +0 -3332
  167. package/dist/data-app-sdk/index.js +0 -1412
  168. package/dist/data-app-sdk-adapters/index.js +0 -361
  169. package/dist/data-app-sdk-validation/index.js +0 -1031
  170. package/dist/types/components/sharing-and-management/utils/group-types.d.ts +0 -105
  171. package/dist/types/data-app-sdk/adapters.d.ts +0 -35
  172. package/dist/types/data-app-sdk/builders.d.ts +0 -62
  173. package/dist/types/data-app-sdk/contracts.d.ts +0 -419
  174. package/dist/types/data-app-sdk/executor.d.ts +0 -5
  175. package/dist/types/data-app-sdk/field-catalog-validation.d.ts +0 -29
  176. package/dist/types/data-app-sdk/hooks.d.ts +0 -11
  177. package/dist/types/data-app-sdk/index.d.ts +0 -9
  178. package/dist/types/data-app-sdk/provider.d.ts +0 -8
  179. package/dist/types/data-app-sdk/relationship-aware-field-policy.d.ts +0 -21
  180. package/dist/types/data-app-sdk/selection.d.ts +0 -2
  181. package/dist/types/data-app-sdk/validation.d.ts +0 -58
  182. package/dist/types/data-app-sdk-adapters.d.ts +0 -2
  183. package/dist/types/data-app-sdk-validation.d.ts +0 -2
  184. package/dist/types/data-app-sdk.d.ts +0 -2
  185. package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +0 -68
  186. package/dist/types/shared/analytics-protocol/relative-date-label.d.ts +0 -20
  187. package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +0 -314
  188. package/dist/types/shared/analytics-protocol/time-window.d.ts +0 -52
  189. package/dist/types/shared/temporal/relative-date.d.ts +0 -21
  190. package/dist/types/shared/temporal/time-window-periods.d.ts +0 -21
  191. package/src/data-app-sdk/README.md +0 -402
@@ -1,23 +1,22 @@
1
- import { gT as co, cv as uo, bX as fo, aS as po, bb as mo, f as go, bP as yo, M as oe, gU as bo, gV as Ne, e1 as Rt, e4 as ho, bG as Co, gW as Io, at as vo, fH as Kt, fJ as Fo, gX as qt, O as So, fL as To, cW as Fe, s as _, fC as Se, n as Le, gY as Do, cQ as Nt, cS as Lt, cB as Mo, cV as Vo, cT as bt, cU as ko, b as Po, cD as xo, cP as wo, cN as Oo, a2 as q, gg as Ao, gZ as Te, g_ as jt, g$ as Eo, h0 as je, gv as De, h1 as Bo, h2 as ze, h3 as _o, h4 as Ro, h5 as Ko, h6 as qo, h7 as No, l as Ge, h8 as Lo, k as ee, r as jo, h as zo, h9 as U, gK as He, ha as ge, hb as zt, hc as Go, hd as Ho, he as $o, g7 as Uo, hf as Qo, hg as Wo, e as Yo, hh as Jo, hi as Gt, $ as Ht, hj as Xo, hk as Zo, hl as er, hm as $t, j as $e, cm as tr, a3 as nr, o as Ut, cl as or, gs as rr, q as ir, t as ht, C as sr, hn as ar, ho as lr, cn as cr, hp as ur } from "./resolve-dashboard-input-context-Du0fjN3h.js";
2
- import { av as dr, H as re, a1 as fr, R as pr, I as Oe, S as mr, am as Ct, q as Qt, aa as gr, v as yr } from "./validators-wtjw0aw6.js";
3
- import { v as Wt } from "./matrix-operation-contract-Eb6elidS.js";
4
- import { S as Ue } from "./analytics-base-schemas-BaIQrEzX.js";
5
- import { ZodError as br } from "zod";
6
- import "./index-CuHybtft.js";
7
- import { canonicalizeSupportedCurrencyCode as Yt } from "../value-format-preferences/index.js";
8
- import "./_commonjsHelpers-DimLPMtv.js";
9
- import { b as ye, r as hr, aW as Cr, i as Ir, aD as vr, aA as It } from "./temporal-input-presentation--2r9BLr0.js";
10
- import { aB as Jt, aC as Xt, aD as ke, $ as Fr, aE as Zt, aF as en, aA as tn, aG as nn, n as Sr, l as Tr, v as on, t as j, aH as rn, k as sn, C as Ae, aI as H, z as ie, i as an, o as Dr, u as Mr, B as Qe, aJ as Vr, ah as kr, F as ln, D as Pr, az as vt, N as cn, O as un, I as dn } from "./bookmark-state-Du3s13_V.js";
11
- import "./index-RNaTnE3m.js";
1
+ import { gX as co, cB as uo, c1 as fo, aT as po, bd as mo, f as go, bV as yo, N as oe, gY as bo, gZ as Ne, e6 as Rt, e9 as ho, bM as Co, g_ as Io, au as vo, fO as Kt, fQ as Fo, bx as Le, g$ as qt, P as So, fS as To, d0 as Fe, s as _, fJ as Se, n as je, h0 as Do, cW as Nt, cY as Lt, cH as Mo, c$ as Vo, cZ as bt, c_ as ko, b as xo, cJ as Po, cV as wo, cT as Oo, bA as jt, a4 as q, gl as Ao, h1 as Te, h2 as zt, h3 as Eo, h4 as ze, gA as De, h5 as Bo, h6 as Ge, h7 as _o, h8 as Ro, h9 as Ko, ha as qo, hb as No, l as He, hc as Lo, k as ee, r as jo, h as zo, hd as U, gO as $e, he as ge, hf as Gt, hg as Go, J as Ho, hh as $o, hi as Uo, fI as Qo, hj as Wo, hk as Yo, e as Jo, hl as Zo, hm as Ht, a0 as $t, hn as Xo, ho as er, hp as tr, hq as Ut, j as Ue, cs as nr, a5 as or, o as Qt, cr as rr, gx as ir, q as sr, t as ht, C as ar, hr as lr, hs as cr, ct as ur, ht as dr } from "./resolve-dashboard-input-context-Lkbwycwe.js";
2
+ import { ak as fr, a5 as re, J as pr, v as mr, aw as Oe, w as gr, a7 as Ct, ay as Wt, U as yr, r as br } from "./validators-B8fpdinG.js";
3
+ import { q as Yt } from "./matrix-operation-contract-DCVinw1o.js";
4
+ import { S as Qe } from "./analytics-base-schemas-BaIQrEzX.js";
5
+ import "./pickers-DkqmtnTL.js";
6
+ import { canonicalizeSupportedCurrencyCode as Jt } from "../value-format-preferences/index.js";
7
+ import { ZodError as hr } from "zod";
8
+ import { b as ye, r as Cr, aW as Ir, i as vr, aD as Fr, aA as It } from "./temporal-input-presentation-CqbJjIuu.js";
9
+ import { aB as Zt, aC as Xt, aD as ke, $ as Sr, aE as en, aF as tn, aA as nn, aG as on, n as Tr, l as Dr, v as rn, t as j, aH as sn, k as an, C as Ae, aI as H, z as ie, i as ln, o as Mr, u as Vr, B as We, aJ as kr, ah as xr, F as cn, D as Pr, az as vt, N as un, O as dn, I as fn } from "./bookmark-state-CflS88gq.js";
10
+ import "./schema-C9NPiIru.js";
11
+ import "./index-CV_Kzou0.js";
12
12
  import "./context-R31TSL5V.js";
13
- import { i as We, b as fn, r as xr } from "./matrix-card-BSUeSXpD.js";
14
- import { D as wr } from "./report-runtime-context-DnA_PiKo.js";
15
- import { r as Q, C as Or } from "./metric-comparison-ChXUFaZu.js";
16
- import { p as Ar, d as Er } from "./pivot-result-contract-expectations-Ddh1rNz5.js";
13
+ import { D as wr } from "./report-runtime-context-BhPzLTbS.js";
14
+ import { r as Q, C as Or } from "./metric-comparison-n9NsIa-2.js";
15
+ import { p as Ar, d as Er } from "./pivot-result-contract-expectations-C-HnUKYe.js";
17
16
  import { isPdfTableCardType as Br, PDF_CAPACITY as _r } from "../pdf-export-policy/index.js";
18
17
  import { c as Rr } from "./selection-filter-compiler-CUDRnUxc.js";
19
- import { a as Kr, f as qr, b as Nr } from "./matrix-analytical-definition-C9xB_T84.js";
20
- import { r as Lr } from "./pivot-result-identity-BlbLrqaC.js";
18
+ import { a as Kr, h as qr, s as Nr } from "./matrix-analytical-definition-dkS8szLM.js";
19
+ import { r as Lr } from "./pivot-result-identity-B89X5xjb.js";
21
20
  const jr = (e, t) => {
22
21
  const n = {};
23
22
  if (e === null || t === null)
@@ -116,7 +115,7 @@ function Yr(e, t, n, o) {
116
115
  return t ^ n ^ o;
117
116
  }
118
117
  }
119
- function Pe(e, t) {
118
+ function xe(e, t) {
120
119
  return e << t | e >>> 32 - t;
121
120
  }
122
121
  function Jr(e) {
@@ -141,18 +140,18 @@ function Jr(e) {
141
140
  for (let m = 0; m < 16; ++m)
142
141
  a[m] = i[s][m];
143
142
  for (let m = 16; m < 80; ++m)
144
- a[m] = Pe(a[m - 3] ^ a[m - 8] ^ a[m - 14] ^ a[m - 16], 1);
143
+ a[m] = xe(a[m - 3] ^ a[m - 8] ^ a[m - 14] ^ a[m - 16], 1);
145
144
  let c = n[0], l = n[1], u = n[2], d = n[3], f = n[4];
146
145
  for (let m = 0; m < 80; ++m) {
147
- const g = Math.floor(m / 20), p = Pe(c, 5) + Yr(g, l, u, d) + f + t[g] + a[m] >>> 0;
148
- f = d, d = u, u = Pe(l, 30) >>> 0, l = c, c = p;
146
+ const g = Math.floor(m / 20), p = xe(c, 5) + Yr(g, l, u, d) + f + t[g] + a[m] >>> 0;
147
+ f = d, d = u, u = xe(l, 30) >>> 0, l = c, c = p;
149
148
  }
150
149
  n[0] = n[0] + c >>> 0, n[1] = n[1] + l >>> 0, n[2] = n[2] + u >>> 0, n[3] = n[3] + d >>> 0, n[4] = n[4] + f >>> 0;
151
150
  }
152
151
  return [n[0] >> 24 & 255, n[0] >> 16 & 255, n[0] >> 8 & 255, n[0] & 255, n[1] >> 24 & 255, n[1] >> 16 & 255, n[1] >> 8 & 255, n[1] & 255, n[2] >> 24 & 255, n[2] >> 16 & 255, n[2] >> 8 & 255, n[2] & 255, n[3] >> 24 & 255, n[3] >> 16 & 255, n[3] >> 8 & 255, n[3] & 255, n[4] >> 24 & 255, n[4] >> 16 & 255, n[4] >> 8 & 255, n[4] & 255];
153
152
  }
154
- const Xr = Wr("v5", 80, Jr), St = /\[\[\s*param\.([A-Za-z0-9_.-]+)\s*\]\]/g, Tt = /\bparam\s*\(\s*(['"])([^'"]+)\1/g;
155
- function Zr(e) {
153
+ const Zr = Wr("v5", 80, Jr), St = /\[\[\s*param\.([A-Za-z0-9_.-]+)\s*\]\]/g, Tt = /\bparam\s*\(\s*(['"])([^'"]+)\1/g;
154
+ function Xr(e) {
156
155
  const t = [];
157
156
  let n = 0;
158
157
  for (; n < e.length; ) {
@@ -179,7 +178,7 @@ function pn(e) {
179
178
  const i = (o = n[1]) == null ? void 0 : o.trim();
180
179
  i && t.add(i);
181
180
  }
182
- for (const i of Zr(e))
181
+ for (const i of Xr(e))
183
182
  for (Tt.lastIndex = 0; (n = Tt.exec(i)) !== null; ) {
184
183
  const s = (r = n[2]) == null ? void 0 : r.trim();
185
184
  s && t.add(s);
@@ -249,9 +248,9 @@ function ni(e, t) {
249
248
  o[i] = mn(s, t);
250
249
  return Object.keys(o).length && (n.inputAliases = o), n;
251
250
  }
252
- function nl(e, t) {
251
+ function tl(e, t) {
253
252
  var r, i, s, a;
254
- const n = be(Jt(e));
253
+ const n = be(Zt(e));
255
254
  n.controlBindings = ti(
256
255
  e,
257
256
  new Map(Object.entries(t.controlIds ?? {}))
@@ -291,25 +290,25 @@ function nl(e, t) {
291
290
  const oi = "9677efdd-86ec-4afb-b9bb-5ead8b5442af";
292
291
  function ri(e) {
293
292
  let t = 0;
294
- return () => Xr(`${e}#${t++}`, oi);
293
+ return () => Zr(`${e}#${t++}`, oi);
295
294
  }
296
295
  const ii = [
297
296
  { code: "matrix_definition_incomplete", label: "Matrix definition" }
298
297
  ], si = [
299
298
  { code: "connection_type_unresolved", label: "Connection type" }
300
- ], Z = (e) => !Array.isArray(e) || e.length === 0;
299
+ ], X = (e) => !Array.isArray(e) || e.length === 0;
301
300
  function ai(e) {
302
301
  var i;
303
302
  const t = e.config ?? {};
304
- if ((i = e.sql) != null && i.trim() || !Z(t.pivotByColumns)) return "matrixTable";
305
- const n = !Z(t.groupByColumns), o = !Z(t.metricColumns), r = e.type === "pivotTable" && (n || o) && Z(t.rowAggregates) && Z(t.columnAggregates);
303
+ if ((i = e.sql) != null && i.trim() || !X(t.pivotByColumns)) return "matrixTable";
304
+ const n = !X(t.groupByColumns), o = !X(t.metricColumns), r = e.type === "pivotTable" && (n || o) && X(t.rowAggregates) && X(t.columnAggregates);
306
305
  return n && !o || r ? "table" : "matrixTable";
307
306
  }
308
307
  function li(e) {
309
308
  var r;
310
309
  const t = e.dataSource;
311
310
  if (!t || (r = t.connectionType) != null && r.trim()) return e;
312
- const n = dr(yo(t.selectedEntities));
311
+ const n = fr(yo(t.selectedEntities));
313
312
  if (!n) return e;
314
313
  const o = Array.isArray(t.selectedEntities) ? t.selectedEntities.map((i) => i && typeof i == "object" && "connectionType" in i && !String(i.connectionType ?? "").trim() ? { ...i, connectionType: n } : i) : t.selectedEntities;
315
314
  return { ...e, dataSource: { ...t, connectionType: n, selectedEntities: o } };
@@ -331,14 +330,14 @@ function gn(e) {
331
330
  ]
332
331
  };
333
332
  }
334
- function ol(e) {
333
+ function nl(e) {
335
334
  if (!e.cards) return e;
336
335
  const t = e.cards.map((n) => gn(n).card);
337
336
  return t.every((n, o) => n === e.cards[o]) ? e : { ...e, cards: t };
338
337
  }
339
338
  function ci(e) {
340
339
  const t = [];
341
- return { dashboard: Fr(e, (o, r) => {
340
+ return { dashboard: Sr(e, (o, r) => {
342
341
  const i = gn(o);
343
342
  return i.status === "routed" && i.gaps.length && t.push({ location: r, gaps: i.gaps }), i.card;
344
343
  }), routedWithGaps: t };
@@ -373,7 +372,7 @@ function di(e, t, n) {
373
372
  )
374
373
  };
375
374
  }
376
- function rl(e) {
375
+ function ol(e) {
377
376
  switch (e) {
378
377
  case "previous_period":
379
378
  return "Previous";
@@ -393,8 +392,8 @@ function yn(e, t, n) {
393
392
  function fi(e, t) {
394
393
  return `${e} Δ`;
395
394
  }
396
- function il(e, t) {
397
- return Zt(e, t);
395
+ function rl(e, t) {
396
+ return en(e, t);
398
397
  }
399
398
  function pi(e, t) {
400
399
  return e.rawKey === t.rawKey && e.outputKey === t.outputKey;
@@ -414,7 +413,7 @@ function bn(e) {
414
413
  });
415
414
  return s.length === 1 ? s[0] : void 0;
416
415
  }
417
- function sl(e, t) {
416
+ function il(e, t) {
418
417
  return t ? { ...e, config: t } : e;
419
418
  }
420
419
  function mi(e) {
@@ -434,7 +433,7 @@ function gi(e, t, n, o) {
434
433
  const r = [...e], [i] = r.splice(t, 1), s = o === "before" ? n > t ? n - 1 : n : n > t ? n : n + 1;
435
434
  return r.splice(s, 0, i), r;
436
435
  }
437
- function xe(e, t, n) {
436
+ function Pe(e, t, n) {
438
437
  if (!(e != null && e.length)) return null;
439
438
  const o = e.findIndex(
440
439
  (i) => n(i).includes(t.draggingColumnId)
@@ -449,13 +448,13 @@ function we(e, t, n) {
449
448
  [t]: n
450
449
  } : null;
451
450
  }
452
- function al(e, t, n) {
451
+ function sl(e, t, n) {
453
452
  if (!W(e) || !n) return null;
454
453
  const o = e.config;
455
454
  return e.type === "detailTable" ? we(
456
455
  o,
457
456
  "detailColumns",
458
- xe(
457
+ Pe(
459
458
  o == null ? void 0 : o.detailColumns,
460
459
  t,
461
460
  (r) => me(r, "detail", n)
@@ -463,7 +462,7 @@ function al(e, t, n) {
463
462
  ) : we(
464
463
  o,
465
464
  "groupByColumns",
466
- xe(
465
+ Pe(
467
466
  o == null ? void 0 : o.groupByColumns,
468
467
  t,
469
468
  (r) => me(r, "groupby", n)
@@ -471,7 +470,7 @@ function al(e, t, n) {
471
470
  ) ?? we(
472
471
  o,
473
472
  "metricColumns",
474
- xe(
473
+ Pe(
475
474
  o == null ? void 0 : o.metricColumns,
476
475
  t,
477
476
  (r) => me(r, "metric", n)
@@ -482,7 +481,7 @@ function yi(e) {
482
481
  var t, n, o, r, i, s;
483
482
  return W(e) ? e.type === "detailTable" ? !!((n = (t = e.config) == null ? void 0 : t.detailColumns) != null && n.length) : !!((r = (o = e.config) == null ? void 0 : o.groupByColumns) != null && r.length || (s = (i = e.config) == null ? void 0 : i.metricColumns) != null && s.length) : !1;
484
483
  }
485
- function ll(e, t) {
484
+ function al(e, t) {
486
485
  return yi(e) && !!t;
487
486
  }
488
487
  function me(e, t, n) {
@@ -574,7 +573,7 @@ function Je(e) {
574
573
  columnKeyMap: e.columnKeyMap,
575
574
  metricId: t.metricId,
576
575
  metricAlias: t.metricAlias
577
- }), i = o.length === 0 && t.metricId === Ue;
576
+ }), i = o.length === 0 && t.metricId === Qe;
578
577
  if (!(!r && !i))
579
578
  return {
580
579
  resultColumn: e.resultColumn,
@@ -719,7 +718,7 @@ function Fi(e) {
719
718
  );
720
719
  const s = /* @__PURE__ */ new Map();
721
720
  (((c = n.config) == null ? void 0 : c.metricColumns) || []).forEach((l) => {
722
- const { comparisonKind: u, metadata: d } = en(o, l);
721
+ const { comparisonKind: u, metadata: d } = tn(o, l);
723
722
  if (u === "none") return;
724
723
  const f = l.label || l.name, m = se(
725
724
  l,
@@ -856,7 +855,7 @@ function ki(e) {
856
855
  const t = (n = e == null ? void 0 : e.numberFormat) == null ? void 0 : n.style;
857
856
  return t === void 0 || t === "decimal" || t === "currency";
858
857
  }
859
- function Pi(e, t) {
858
+ function xi(e, t) {
860
859
  const n = t == null ? void 0 : t.type;
861
860
  if (n && n !== "none" && n !== "number")
862
861
  return { currencyBindable: !1 };
@@ -870,7 +869,7 @@ function Pi(e, t) {
870
869
  currencyBindable: Ie(a)
871
870
  };
872
871
  }
873
- function xi(e, t) {
872
+ function Pi(e, t) {
874
873
  const n = ye(t.format, {
875
874
  preserveOmittedProperties: !0
876
875
  }), o = re(t.dataType) === "number" ? { type: "number" } : void 0, r = n || o;
@@ -888,7 +887,7 @@ function Be(e, t = {}) {
888
887
  kind: "column",
889
888
  columnKey: t.resultColumnKey
890
889
  } : void 0, f = ye(
891
- hr({ card: e, column: { kind: "sqlKpiValue" }, surface: "kpiValue" }).format,
890
+ Cr({ card: e, column: { kind: "sqlKpiValue" }, surface: "kpiValue" }).format,
892
891
  { preserveOmittedProperties: !0 }
893
892
  );
894
893
  return {
@@ -919,7 +918,7 @@ function vn(e, t, n) {
919
918
  function Fn(e, t, n) {
920
919
  return e.kind === "calculated" ? e.definition.format : vn(e.field, t, n);
921
920
  }
922
- function cl(e, t) {
921
+ function ll(e, t) {
923
922
  const n = qt(t), o = (r, i) => Object.fromEntries(r.flatMap((s) => {
924
923
  const a = i(s);
925
924
  return a ? [[s.id, a]] : [];
@@ -930,13 +929,13 @@ function cl(e, t) {
930
929
  };
931
930
  }
932
931
  function Sn(e, t = []) {
933
- const n = We(e);
932
+ const n = Le(e);
934
933
  if (n.status !== "ready") return [];
935
934
  const { spec: o, presentation: r } = n.config, i = qt(t);
936
935
  return o.measures.map((s) => {
937
936
  var m;
938
- const a = s.kind === "aggregate" ? i(s.field, o.source) : void 0, c = Cr(r.measureFormats[s.id], Fn(s, o.source, i)), l = s.kind === "calculated" ? s.definition.dataType : ["MIN", "MAX"].includes(s.aggregate) ? ((m = s.field.derivedField) == null ? void 0 : m.dataType) ?? (a == null ? void 0 : a.resolvedField.dataType) ?? s.field.dataType : "number", u = re(l) === "number", d = s.kind === "calculated" || !!(a || s.field.derivedField || s.field.name === "*"), f = c && Ir(c) ? c : !c && u && d ? { type: "number" } : void 0;
939
- return { measureId: s.id, label: vr(s, r), canonical: f };
937
+ const a = s.kind === "aggregate" ? i(s.field, o.source) : void 0, c = Ir(r.measureFormats[s.id], Fn(s, o.source, i)), l = s.kind === "calculated" ? s.definition.dataType : ["MIN", "MAX"].includes(s.aggregate) ? ((m = s.field.derivedField) == null ? void 0 : m.dataType) ?? (a == null ? void 0 : a.resolvedField.dataType) ?? s.field.dataType : "number", u = re(l) === "number", d = s.kind === "calculated" || !!(a || s.field.derivedField || s.field.name === "*"), f = c && vr(c) ? c : !c && u && d ? { type: "number" } : void 0;
938
+ return { measureId: s.id, label: Fr(s, r), canonical: f };
940
939
  });
941
940
  }
942
941
  function wi(e) {
@@ -945,7 +944,7 @@ function wi(e) {
945
944
  }
946
945
  function Tn(e) {
947
946
  return new Set(
948
- tn(e).flatMap(
947
+ nn(e).flatMap(
949
948
  (t) => (t.controlBindings || []).filter(Fe).map((n) => n.controlId)
950
949
  )
951
950
  );
@@ -1005,10 +1004,10 @@ function Ai(e, t = [], n) {
1005
1004
  ), m = e.type === "matrixTable" ? [] : e.type === "kpi" ? c.filter((C) => C.currencyBindable).flatMap(
1006
1005
  (C) => C.target ? [C.target] : []
1007
1006
  ) : (o || !r ? [] : s).filter(
1008
- (C) => (To(e.type) ? Pi(
1007
+ (C) => (To(e.type) ? xi(
1009
1008
  C,
1010
1009
  Oi(a, C)
1011
- ) : xi(e, C)).currencyBindable
1010
+ ) : Pi(e, C)).currencyBindable
1012
1011
  ).map(
1013
1012
  (C) => ({
1014
1013
  kind: "metric",
@@ -1050,13 +1049,13 @@ function Ai(e, t = [], n) {
1050
1049
  ])
1051
1050
  };
1052
1051
  }
1053
- function ul(e, t) {
1052
+ function cl(e, t) {
1054
1053
  const n = Be(e, {
1055
1054
  resultColumnKey: t
1056
1055
  });
1057
1056
  return n.currencyBindable ? n.target : void 0;
1058
1057
  }
1059
- function dl(e) {
1058
+ function ul(e) {
1060
1059
  var t;
1061
1060
  return (t = e.card.sql) != null && t.trim() ? { kind: "column", columnKey: e.columnKey } : e.metricId ? { kind: "metric", metricId: e.metricId } : void 0;
1062
1061
  }
@@ -1075,7 +1074,7 @@ function Ei(e) {
1075
1074
  return { kind: "matrix_measure", measureId: t.measureId };
1076
1075
  }
1077
1076
  function Vt(e) {
1078
- const t = Yt(e);
1077
+ const t = Jt(e);
1079
1078
  return typeof e == "string" && e === t ? t : void 0;
1080
1079
  }
1081
1080
  function Dn(e) {
@@ -1096,7 +1095,7 @@ function Dn(e) {
1096
1095
  currencies: t
1097
1096
  };
1098
1097
  }
1099
- function fl(e) {
1098
+ function dl(e) {
1100
1099
  return "control" in Dn(e);
1101
1100
  }
1102
1101
  function Mn(e) {
@@ -1122,7 +1121,7 @@ function Mn(e) {
1122
1121
  )
1123
1122
  };
1124
1123
  }
1125
- function pl(e) {
1124
+ function fl(e) {
1126
1125
  return Mn({
1127
1126
  ...e,
1128
1127
  referencedControlIds: new Set(
@@ -1133,7 +1132,7 @@ function pl(e) {
1133
1132
  )
1134
1133
  });
1135
1134
  }
1136
- function ml(e) {
1135
+ function pl(e) {
1137
1136
  var t;
1138
1137
  return Mn({
1139
1138
  ...e,
@@ -1197,7 +1196,7 @@ function kn(e, t) {
1197
1196
  }
1198
1197
  };
1199
1198
  }
1200
- function gl(e) {
1199
+ function ml(e) {
1201
1200
  const t = Vn(e);
1202
1201
  return (e.bindings || []).flatMap((n) => {
1203
1202
  const o = kn(n, t);
@@ -1217,7 +1216,7 @@ function Bi(e) {
1217
1216
  if (!a || $(
1218
1217
  a.presentationTarget
1219
1218
  ) !== n) continue;
1220
- const l = Yt(
1219
+ const l = Jt(
1221
1220
  (r = e.values) == null ? void 0 : r[a.control.id]
1222
1221
  );
1223
1222
  if (!(!l || !a.currencies.includes(l)))
@@ -1351,12 +1350,12 @@ function Li(e, t) {
1351
1350
  controlBindings: Ni(e.controlBindings, t)
1352
1351
  }) : "__none__";
1353
1352
  }
1354
- const ji = ["table", "detailTable"], Pt = (e) => ji.includes(e.type), zi = "calendar-context";
1353
+ const ji = ["table", "detailTable"], xt = (e) => ji.includes(e.type), zi = "calendar-context";
1355
1354
  function Gi(e) {
1356
1355
  const { id: t, label: n, field: o, ...r } = e;
1357
1356
  return {
1358
1357
  ...r,
1359
- field: Xe(
1358
+ field: Ze(
1360
1359
  o
1361
1360
  )
1362
1361
  };
@@ -1371,7 +1370,7 @@ function Ve(e) {
1371
1370
  groups: o.map((i) => Ve(i))
1372
1371
  };
1373
1372
  }
1374
- function Xe(e) {
1373
+ function Ze(e) {
1375
1374
  var o, r;
1376
1375
  const { label: t, ...n } = e;
1377
1376
  return {
@@ -1380,7 +1379,7 @@ function Xe(e) {
1380
1379
  calculatedFormula: {
1381
1380
  ...e.calculatedFormula,
1382
1381
  inputFields: e.calculatedFormula.inputFields.map(
1383
- Xe
1382
+ Ze
1384
1383
  )
1385
1384
  }
1386
1385
  } : {},
@@ -1395,7 +1394,7 @@ function Xe(e) {
1395
1394
  };
1396
1395
  }
1397
1396
  function Hi(e) {
1398
- const t = (n) => n == null ? void 0 : n.map(Xe);
1397
+ const t = (n) => n == null ? void 0 : n.map(Ze);
1399
1398
  return {
1400
1399
  ...e,
1401
1400
  groupByColumns: t(e.groupByColumns),
@@ -1455,7 +1454,7 @@ function Wi(e, {
1455
1454
  var D, C;
1456
1455
  return (C = (D = e.queryConfig) == null ? void 0 : D.filters) == null ? void 0 : C.some((w) => w.filterColumnName === v.name);
1457
1456
  }
1458
- ), g = (e == null ? void 0 : e.sql) || "", p = Le((e == null ? void 0 : e.python) || ""), y = ["table", "detailTable", "matrixTable"].includes(
1457
+ ), g = (e == null ? void 0 : e.sql) || "", p = je((e == null ? void 0 : e.python) || ""), y = ["table", "detailTable", "matrixTable"].includes(
1459
1458
  e.type
1460
1459
  ) ? "table" : e.type === "kpi" ? "kpi" : "chart", h = a || In(e.config, { cardType: e.type, dataSource: e.dataSource }), I = Do.includes(
1461
1460
  e.type
@@ -1494,7 +1493,7 @@ function Wi(e, {
1494
1493
  }
1495
1494
  function Yi(e, t, n) {
1496
1495
  var a, c, l;
1497
- const o = Wi(e, t), r = _(o), i = ((a = n == null ? void 0 : n.resolvePaginationConfig) == null ? void 0 : a.call(n, r)) ?? e.paginationConfig, s = Pt(e) && Se(e.config) || Pt(e) && e.sql && ((l = (c = e.preferences) == null ? void 0 : c.tablePrefs) == null ? void 0 : l.enableDevModePagination);
1496
+ const o = Wi(e, t), r = _(o), i = ((a = n == null ? void 0 : n.resolvePaginationConfig) == null ? void 0 : a.call(n, r)) ?? e.paginationConfig, s = xt(e) && Se(e.config) || xt(e) && e.sql && ((l = (c = e.preferences) == null ? void 0 : c.tablePrefs) == null ? void 0 : l.enableDevModePagination);
1498
1497
  return {
1499
1498
  queryKey: [
1500
1499
  ...o,
@@ -1522,7 +1521,7 @@ function Ji(e, t, n, o) {
1522
1521
  o
1523
1522
  );
1524
1523
  }
1525
- function Pn(e) {
1524
+ function xn(e) {
1526
1525
  const t = {
1527
1526
  ...Or,
1528
1527
  ...e.presentation
@@ -1532,7 +1531,7 @@ function Pn(e) {
1532
1531
  deltaColumnKeys: i,
1533
1532
  percentChangeColumnKeys: s,
1534
1533
  ratioColumnKeys: a
1535
- } = nn(e.comparisonMetadata), c = /* @__PURE__ */ new Set();
1534
+ } = on(e.comparisonMetadata), c = /* @__PURE__ */ new Set();
1536
1535
  t.showComparison && (n === "difference" || n === "both") && i.forEach((f) => c.add(f)), t.showComparison && (n === "percent_change" || n === "both") && s.forEach((f) => c.add(f)), t.showComparison && n === "ratio" && a.forEach((f) => c.add(f));
1537
1536
  const l = new Set(o);
1538
1537
  t.showComparison || r.forEach((f) => l.add(f)), [i, s, a].forEach(
@@ -1585,9 +1584,9 @@ function Pn(e) {
1585
1584
  columnPresentationOwners: d
1586
1585
  };
1587
1586
  }
1588
- function yl(e) {
1587
+ function gl(e) {
1589
1588
  var t, n;
1590
- return Pn({
1589
+ return xn({
1591
1590
  comparisonMetadata: e.comparisonMetadata,
1592
1591
  presentation: (n = (t = e.card) == null ? void 0 : t.preferences) == null ? void 0 : n.comparisonPresentation,
1593
1592
  resolveMetricName: ({ metricId: o, metricAlias: r }) => {
@@ -1601,7 +1600,7 @@ function yl(e) {
1601
1600
  }
1602
1601
  });
1603
1602
  }
1604
- function bl(e) {
1603
+ function yl(e) {
1605
1604
  var n;
1606
1605
  return (((n = e.card.config) == null ? void 0 : n.metricColumns) || []).filter(
1607
1606
  (o) => {
@@ -1609,13 +1608,13 @@ function bl(e) {
1609
1608
  return ((r = o.comparison) == null ? void 0 : r.mode) === "explicit";
1610
1609
  }
1611
1610
  ).some(
1612
- (o) => !Zt(e.comparisonMetadata, o)
1611
+ (o) => !en(e.comparisonMetadata, o)
1613
1612
  );
1614
1613
  }
1615
- function Xi(e) {
1614
+ function Zi(e) {
1616
1615
  return e.part === "base" && !!e.columnId;
1617
1616
  }
1618
- function Ze(e) {
1617
+ function Xe(e) {
1619
1618
  const t = e.config ?? {};
1620
1619
  return e.type === "detailTable" ? [{ role: "detail", fields: t.detailColumns ?? [] }] : [
1621
1620
  { role: "groupby", fields: t.groupByColumns ?? [] },
@@ -1631,14 +1630,14 @@ function et(e, t) {
1631
1630
  metricAlias: Q(e)
1632
1631
  } : { kind: "dimension", role: t, fieldId: e.id };
1633
1632
  }
1634
- function xt(e) {
1633
+ function Pt(e) {
1635
1634
  const t = /* @__PURE__ */ new Map();
1636
1635
  for (const n of e) t.set(n, (t.get(n) ?? 0) + 1);
1637
1636
  return t;
1638
1637
  }
1639
- function Zi(e, t) {
1638
+ function Xi(e, t) {
1640
1639
  var d, f;
1641
- const n = [...t.keys], o = new Set(n), r = t.columnKeyMap, i = Ze(e).flatMap(
1640
+ const n = [...t.keys], o = new Set(n), r = t.columnKeyMap, i = Xe(e).flatMap(
1642
1641
  ({ role: m, fields: g }) => g.flatMap((p) => {
1643
1642
  const y = et(p, m);
1644
1643
  return y ? [
@@ -1651,7 +1650,7 @@ function Zi(e, t) {
1651
1650
  }
1652
1651
  ] : [];
1653
1652
  })
1654
- ), s = xt(i.map((m) => m.columnId)), a = xt(
1653
+ ), s = Pt(i.map((m) => m.columnId)), a = Pt(
1655
1654
  i.flatMap(
1656
1655
  (m) => m.outputKey ? [m.outputKey] : []
1657
1656
  )
@@ -1690,7 +1689,7 @@ function Zi(e, t) {
1690
1689
  if (!c.has(h))
1691
1690
  continue;
1692
1691
  } else {
1693
- if (p.identity.metricId !== Ue)
1692
+ if (p.identity.metricId !== Qe)
1694
1693
  continue;
1695
1694
  c.has(h) || c.set(h, { columnId: h, identity: y, authorLabel: "Count" });
1696
1695
  }
@@ -1732,7 +1731,7 @@ function es(e) {
1732
1731
  }
1733
1732
  return { entries: t, owners: n };
1734
1733
  }
1735
- function hl(e) {
1734
+ function bl(e) {
1736
1735
  const t = /* @__PURE__ */ new Set();
1737
1736
  for (const n of e ?? [])
1738
1737
  if (n && typeof n == "object")
@@ -1749,12 +1748,12 @@ function ns(e, t, n, o) {
1749
1748
  let r = [...t.keys], i = /* @__PURE__ */ new Map();
1750
1749
  const s = t.comparisonMetadata;
1751
1750
  if (n === "screen") {
1752
- const f = nn(s);
1751
+ const f = on(s);
1753
1752
  r = r.filter((g) => !f.internalKeys.has(g));
1754
1753
  const m = e.type === "table" ? (c = e.preferences) == null ? void 0 : c.comparisonPresentation : void 0;
1755
- rn(m) || (r = r.filter((g) => !f.comparisonColumnKeys.has(g)));
1754
+ sn(m) || (r = r.filter((g) => !f.comparisonColumnKeys.has(g)));
1756
1755
  } else {
1757
- const f = Pn({
1756
+ const f = xn({
1758
1757
  comparisonMetadata: s,
1759
1758
  presentation: (l = e.preferences) == null ? void 0 : l.comparisonPresentation,
1760
1759
  resolveMetricName: o
@@ -1776,10 +1775,10 @@ function ns(e, t, n, o) {
1776
1775
  function os(e, t, n) {
1777
1776
  var r, i;
1778
1777
  const o = /* @__PURE__ */ new Map();
1779
- if (e.type !== "table" || !rn((r = e.preferences) == null ? void 0 : r.comparisonPresentation))
1778
+ if (e.type !== "table" || !sn((r = e.preferences) == null ? void 0 : r.comparisonPresentation))
1780
1779
  return o;
1781
1780
  for (const s of ((i = e.config) == null ? void 0 : i.metricColumns) ?? []) {
1782
- const { comparisonKind: a, metadata: c } = en(
1781
+ const { comparisonKind: a, metadata: c } = tn(
1783
1782
  t.comparisonMetadata,
1784
1783
  s
1785
1784
  );
@@ -1799,7 +1798,7 @@ function os(e, t, n) {
1799
1798
  return o;
1800
1799
  }
1801
1800
  function rs(e) {
1802
- const t = Ze(e);
1801
+ const t = Xe(e);
1803
1802
  return [
1804
1803
  ...t.filter((n) => n.role === "metric"),
1805
1804
  ...t.filter((n) => n.role !== "metric")
@@ -1824,12 +1823,12 @@ function is(e, t, n) {
1824
1823
  function ss(e, t) {
1825
1824
  return e ? "query" : t === "server" ? "page-only" : "browser";
1826
1825
  }
1827
- function xn(e, t) {
1826
+ function Pn(e, t) {
1828
1827
  var n, o, r;
1829
1828
  return !!t && ((r = (o = (n = e.preferences) == null ? void 0 : n.tablePrefs) == null ? void 0 : o.columnVisibility) == null ? void 0 : r[t]) === !1;
1830
1829
  }
1831
1830
  function as(e) {
1832
- return e.type !== "table" && e.type !== "detailTable" ? "card-type" : on(e) ? void 0 : "author-disabled";
1831
+ return e.type !== "table" && e.type !== "detailTable" ? "card-type" : rn(e) ? void 0 : "author-disabled";
1833
1832
  }
1834
1833
  function _e(e, t) {
1835
1834
  const n = [], o = /* @__PURE__ */ new Map();
@@ -1885,23 +1884,23 @@ function cs(e, t, n, o) {
1885
1884
  ...de(e.slice(i + 1), t, n)
1886
1885
  ];
1887
1886
  }
1888
- function Cl(e) {
1887
+ function hl(e) {
1889
1888
  if (oe(e) !== "config") return;
1890
1889
  const t = /* @__PURE__ */ new Set();
1891
- for (const { role: n, fields: o } of Ze(e))
1890
+ for (const { role: n, fields: o } of Xe(e))
1892
1891
  for (const r of o) {
1893
1892
  const i = et(r, n);
1894
1893
  i && t.add(j(i));
1895
1894
  }
1896
1895
  return t;
1897
1896
  }
1898
- function Il(e) {
1899
- const t = sn(e);
1900
- return (t == null ? void 0 : t.kind) === "metric" && t.metricId === Ue;
1897
+ function Cl(e) {
1898
+ const t = an(e);
1899
+ return (t == null ? void 0 : t.kind) === "metric" && t.metricId === Qe;
1901
1900
  }
1902
- function vl(e) {
1901
+ function Il(e) {
1903
1902
  var ut, dt, ft, pt, mt, gt, yt;
1904
- const { card: t, result: n } = e, o = e.projection ?? "screen", r = oe(t) === "config", i = as(t), s = i === "card-type" ? void 0 : i === "author-disabled" ? (ut = e.settings) != null && ut.sort ? { sort: e.settings.sort } : void 0 : e.settings, a = ss(r, e.paginationMode), c = n.columnKeyMap, l = r ? Zi(t, n) : es(n), u = (b) => {
1903
+ const { card: t, result: n } = e, o = e.projection ?? "screen", r = oe(t) === "config", i = as(t), s = i === "card-type" ? void 0 : i === "author-disabled" ? (ut = e.settings) != null && ut.sort ? { sort: e.settings.sort } : void 0 : e.settings, a = ss(r, e.paginationMode), c = n.columnKeyMap, l = r ? Xi(t, n) : es(n), u = (b) => {
1905
1904
  var S, V;
1906
1905
  return b && ((V = (S = s == null ? void 0 : s.labels) == null ? void 0 : S[b]) == null ? void 0 : V.trim()) || void 0;
1907
1906
  }, d = (b) => j({ kind: "metric", ...b }), { keys: f, exportLabels: m } = ns(
@@ -1913,7 +1912,7 @@ function vl(e) {
1913
1912
  const S = d(b);
1914
1913
  return u(l.entries.has(S) ? S : void 0) ?? ((V = l.entries.get(S)) == null ? void 0 : V.authorLabel);
1915
1914
  }
1916
- ), g = (b) => xn(t, b), p = (b) => {
1915
+ ), g = (b) => Pn(t, b), p = (b) => {
1917
1916
  const S = l.owners.get(b);
1918
1917
  if (!S || i === "card-type") return;
1919
1918
  const V = l.entries.get(S.columnId);
@@ -1941,7 +1940,7 @@ function vl(e) {
1941
1940
  );
1942
1941
  A = b.length || !s.sort.length ? b : void 0;
1943
1942
  }
1944
- const M = Sr(
1943
+ const M = Tr(
1945
1944
  s ? {
1946
1945
  order: (ft = s.order) == null ? void 0 : ft.filter(
1947
1946
  (b) => v.has(b)
@@ -1961,14 +1960,14 @@ function vl(e) {
1961
1960
  )
1962
1961
  )
1963
1962
  } : void 0
1964
- ), F = M == null ? void 0 : M.order, k = F ? cs(y, p, F, n.columns) : y, O = F ? [...k, ...f.filter(g)] : f, x = _e(k, p).flatMap(
1963
+ ), F = M == null ? void 0 : M.order, k = F ? cs(y, p, F, n.columns) : y, O = F ? [...k, ...f.filter(g)] : f, P = _e(k, p).flatMap(
1965
1964
  (b) => b.columnId ? [b.columnId] : []
1966
1965
  ), T = new Set((M == null ? void 0 : M.hidden) ?? []);
1967
- x.length && x.every((b) => T.has(b)) && T.delete(x[0]);
1968
- const P = o === "screen" ? os(t, n, f) : /* @__PURE__ */ new Map(), E = (b, S) => {
1966
+ P.length && P.every((b) => T.has(b)) && T.delete(P[0]);
1967
+ const x = o === "screen" ? os(t, n, f) : /* @__PURE__ */ new Map(), E = (b, S) => {
1969
1968
  const V = u(S == null ? void 0 : S.columnId);
1970
1969
  if ((S == null ? void 0 : S.part) === "base" && V) return V;
1971
- const K = P.get(b);
1970
+ const K = x.get(b);
1972
1971
  if (K)
1973
1972
  return fi(
1974
1973
  ((S == null ? void 0 : S.part) === "comparison" ? V : void 0) ?? (K.metric.label || K.metric.name),
@@ -1976,7 +1975,7 @@ function vl(e) {
1976
1975
  );
1977
1976
  const J = m.get(b);
1978
1977
  if (J) return J;
1979
- const X = Ii({
1978
+ const Z = Ii({
1980
1979
  columnId: b,
1981
1980
  card: t,
1982
1981
  columnKeyMap: c,
@@ -1985,7 +1984,7 @@ function vl(e) {
1985
1984
  // as dates (its temporal activation covers group columns only).
1986
1985
  metricLabelOverride: (S == null ? void 0 : S.part) === "pivot-member" ? V : void 0
1987
1986
  });
1988
- return X || (hn(b, t, c) ?? b);
1987
+ return Z || (hn(b, t, c) ?? b);
1989
1988
  }, R = O.map((b) => {
1990
1989
  var K;
1991
1990
  const S = p(b), V = (S == null ? void 0 : S.part) ?? ((K = l.owners.get(b)) == null ? void 0 : K.part) ?? "base";
@@ -1995,7 +1994,7 @@ function vl(e) {
1995
1994
  part: V,
1996
1995
  visible: !g(b) && !(S && T.has(S.columnId)),
1997
1996
  label: E(b, S),
1998
- resizable: !i && Xi({ part: V, columnId: S == null ? void 0 : S.columnId })
1997
+ resizable: !i && Zi({ part: V, columnId: S == null ? void 0 : S.columnId })
1999
1998
  };
2000
1999
  }), z = Object.fromEntries(
2001
2000
  R.map((b) => [b.outputKey, b.label])
@@ -2012,21 +2011,21 @@ function vl(e) {
2012
2011
  var V;
2013
2012
  const S = (V = l.entries.get(b.columnId)) == null ? void 0 : V.baseKey;
2014
2013
  return S && y.includes(S) ? [{ outputKey: S, desc: b.direction === "desc" }] : [];
2015
- }), ct = !i && Tr(M);
2014
+ }), ct = !i && Dr(M);
2016
2015
  let ue;
2017
2016
  if (i)
2018
2017
  ue = { available: !1, reason: i };
2019
- else if (!x.length)
2018
+ else if (!P.length)
2020
2019
  ue = { available: !1, reason: "no-addressable-columns" };
2021
2020
  else {
2022
- const b = new Set(F ?? []), S = x.filter(
2021
+ const b = new Set(F ?? []), S = P.filter(
2023
2022
  (V) => !T.has(V)
2024
2023
  ).length;
2025
2024
  ue = {
2026
2025
  available: !0,
2027
2026
  canReset: ct,
2028
- items: x.map((V) => {
2029
- const K = l.entries.get(V), J = T.has(V), X = ao.get(V);
2027
+ items: P.map((V) => {
2028
+ const K = l.entries.get(V), J = T.has(V), Z = ao.get(V);
2030
2029
  return {
2031
2030
  columnId: V,
2032
2031
  label: u(V) ?? K.authorLabel,
@@ -2034,7 +2033,7 @@ function vl(e) {
2034
2033
  hidden: J,
2035
2034
  isNew: F !== void 0 && !b.has(V),
2036
2035
  canHide: !J && S > 1,
2037
- ...X ? { sort: X } : {}
2036
+ ...Z ? { sort: Z } : {}
2038
2037
  };
2039
2038
  })
2040
2039
  };
@@ -2054,12 +2053,12 @@ function vl(e) {
2054
2053
  author: { order: I }
2055
2054
  };
2056
2055
  }
2057
- function Fl(e, t) {
2056
+ function vl(e, t) {
2058
2057
  var n;
2059
2058
  return (n = wn(e, t)) == null ? void 0 : n.field;
2060
2059
  }
2061
2060
  function wn(e, t) {
2062
- const n = sn(t), o = e.config;
2061
+ const n = an(t), o = e.config;
2063
2062
  if (!n || !o) return;
2064
2063
  let r = [], i;
2065
2064
  if (n.kind === "dimension")
@@ -2080,7 +2079,7 @@ function us(e, t) {
2080
2079
  const i = wn(e, r.columnId);
2081
2080
  if (!i) return [];
2082
2081
  const s = Nr(i.field, i.role);
2083
- return xn(e, s) ? [] : [
2082
+ return Pn(e, s) ? [] : [
2084
2083
  {
2085
2084
  ...i.field,
2086
2085
  alias: s,
@@ -2130,12 +2129,12 @@ function tt(e, t) {
2130
2129
  ...i.map((s) => ({ ...s, role: "metric" }))
2131
2130
  ].filter((s) => !!s.id);
2132
2131
  }
2133
- function Sl(e, t) {
2132
+ function Fl(e, t) {
2134
2133
  return t ? !ae(e).some(
2135
2134
  (n) => t[n] === !1
2136
2135
  ) : !0;
2137
2136
  }
2138
- function Tl(e, t) {
2137
+ function Sl(e, t) {
2139
2138
  for (const n of ae(e))
2140
2139
  if (t != null && t[n])
2141
2140
  return n;
@@ -2160,7 +2159,7 @@ function fs(e, t, n) {
2160
2159
  (r) => o.some((i) => i.has(r))
2161
2160
  );
2162
2161
  }
2163
- function Dl({
2162
+ function Tl({
2164
2163
  card: e,
2165
2164
  effectiveCardConfig: t,
2166
2165
  visibleColumnIds: n,
@@ -2182,7 +2181,7 @@ function Dl({
2182
2181
  ])
2183
2182
  );
2184
2183
  }
2185
- function Ml(e) {
2184
+ function Dl(e) {
2186
2185
  var t, n, o, r, i, s;
2187
2186
  return nt(e) ? {
2188
2187
  ...e,
@@ -2236,7 +2235,7 @@ function ps(e, t, n) {
2236
2235
  columns: a
2237
2236
  } : void 0;
2238
2237
  }
2239
- function Vl(e) {
2238
+ function Ml(e) {
2240
2239
  var t, n, o, r, i, s;
2241
2240
  return {
2242
2241
  ...e,
@@ -2263,7 +2262,7 @@ function ys(e) {
2263
2262
  var t, n, o;
2264
2263
  return !!((t = e.sql) != null && t.trim() && Re(e) && ((o = (n = e.preferences) == null ? void 0 : n.tablePrefs) != null && o.enableDevModePagination));
2265
2264
  }
2266
- function kl(e) {
2265
+ function Vl(e) {
2267
2266
  return e === "export-full-with-cap" ? ms : gs;
2268
2267
  }
2269
2268
  function bs({
@@ -2280,7 +2279,7 @@ function hs(e) {
2280
2279
  var t, n, o;
2281
2280
  return ((t = e.paginationConfig) == null ? void 0 : t.pageSize) || ((o = (n = e.preferences) == null ? void 0 : n.tablePrefs) == null ? void 0 : o.pageSize) || 50;
2282
2281
  }
2283
- function Pl({
2282
+ function kl({
2284
2283
  current: e,
2285
2284
  defaultPageSize: t,
2286
2285
  queryInputIdentity: n
@@ -2296,7 +2295,7 @@ function Pl({
2296
2295
  function xl(e, t, n) {
2297
2296
  return (e == null ? void 0 : e.queryInputIdentity) === n && e.page === t.page && e.pageSize === t.pageSize;
2298
2297
  }
2299
- function wl(e, t) {
2298
+ function Pl(e, t) {
2300
2299
  return !e || !t || e.page === t.page && e.pageSize === t.pageSize ? e : {
2301
2300
  ...e,
2302
2301
  page: t.page,
@@ -2342,7 +2341,7 @@ function Fs(e, t) {
2342
2341
  selectedEntities: []
2343
2342
  };
2344
2343
  }
2345
- function Ol(e, t, n = {}) {
2344
+ function wl(e, t, n = {}) {
2346
2345
  const o = vs(e, n);
2347
2346
  if (!o)
2348
2347
  throw new Error("No connection ID found for card");
@@ -2396,7 +2395,7 @@ function Ts(e) {
2396
2395
  if (p.derivedField) return p.derivedField.dataType;
2397
2396
  const h = l().refs.filter((v) => v.field.name === p.name && Oe(v.field.source ?? e.spec.source, p.source ?? e.spec.source));
2398
2397
  return h.length > 1 ? u("The selected field is ambiguous in the authorized Matrix field catalog.", y) : re(((I = h[0]) == null ? void 0 : I.field.dataType) ?? p.dataType);
2399
- }, f = (p, y) => Mo(p, y.target, (h) => d(h, y.controlId)), m = fr.safeParse(t);
2398
+ }, f = (p, y) => Mo(p, y.target, (h) => d(h, y.controlId)), m = pr.safeParse(t);
2400
2399
  if (!m.success) return u(m.error.message);
2401
2400
  t = m.data;
2402
2401
  const g = [...r, ...i].map((p) => {
@@ -2415,9 +2414,9 @@ function Ts(e) {
2415
2414
  const C = `${p.target}:${y}`;
2416
2415
  s.has(C) && I("Multiple controls cannot replace the same Matrix target."), s.add(C);
2417
2416
  const w = (F) => {
2418
- const k = (l().byId.get(F.id) ?? []).filter((x) => !F.source || Oe(F.source, x.field.source ?? e.spec.source));
2417
+ const k = (l().byId.get(F.id) ?? []).filter((P) => !F.source || Oe(F.source, P.field.source ?? e.spec.source));
2419
2418
  if (k.length !== 1) return I(k.length ? "The selected field is ambiguous in the authorized Matrix field catalog." : "The selected field is not in the authorized Matrix field catalog.");
2420
- const O = mr.safeParse(k[0].field);
2419
+ const O = gr.safeParse(k[0].field);
2421
2420
  return O.success ? O.data : I(O.error.message);
2422
2421
  }, A = p.target === "config_metric_selector" || p.target === "config_field_selector" ? p.mapping[h] : void 0, M = A && typeof A == "object" && "kind" in A && A.kind === "matrix_instance" ? A.id : void 0;
2423
2422
  if (v) {
@@ -2426,15 +2425,15 @@ function Ts(e) {
2426
2425
  (T) => T.id === M && T.kind === "aggregate"
2427
2426
  );
2428
2427
  M !== void 0 && !F && I("The selected Matrix aggregate measure is no longer available.");
2429
- const k = p.target === "config_metric_selector" && !F ? Vo({ binding: p, selectedValue: h }) : void 0, O = ((F == null ? void 0 : F.kind) === "aggregate" ? F.aggregate : k == null ? void 0 : k.aggregate) ?? (p.target === "config_aggregation" ? bt({ binding: p, selectedValue: h }) : void 0), x = O === void 0 ? void 0 : pr.safeParse(O);
2430
- x && !x.success && I("This aggregation is not supported by Matrix."), t = {
2428
+ const k = p.target === "config_metric_selector" && !F ? Vo({ binding: p, selectedValue: h }) : void 0, O = ((F == null ? void 0 : F.kind) === "aggregate" ? F.aggregate : k == null ? void 0 : k.aggregate) ?? (p.target === "config_aggregation" ? bt({ binding: p, selectedValue: h }) : void 0), P = O === void 0 ? void 0 : mr.safeParse(O);
2429
+ P && !P.success && I("This aggregation is not supported by Matrix."), t = {
2431
2430
  ...t,
2432
2431
  measures: t.measures.map(
2433
2432
  (T) => T.id !== y || T.kind !== "aggregate" ? T : {
2434
2433
  ...T,
2435
2434
  ...k ? { field: w(k) } : {},
2436
2435
  ...(F == null ? void 0 : F.kind) === "aggregate" ? { field: F.field } : {},
2437
- aggregate: x != null && x.success ? x.data : T.aggregate
2436
+ aggregate: P != null && P.success ? P.data : T.aggregate
2438
2437
  }
2439
2438
  )
2440
2439
  };
@@ -2445,15 +2444,15 @@ function Ts(e) {
2445
2444
  M !== void 0 && !F && I("The selected Matrix level is no longer available.");
2446
2445
  const k = p.target === "config_field_selector" && !F ? ko({ binding: p, selectedValue: h }) : void 0, O = p.target === "config_grain" ? bt({ binding: p, selectedValue: h }) : F ? F.grain : k == null ? void 0 : k.granularity;
2447
2446
  O !== void 0 && !Ss.has(O) && I("This time grain is not supported by Matrix.");
2448
- const x = (T) => T.map((P) => {
2449
- if (P.id !== y) return P;
2450
- const E = (F == null ? void 0 : F.field) ?? (k ? w(k) : P.field), R = d(E, p.controlId), z = O ?? (k && Ct(R) ? P.grain : void 0);
2451
- return z && !Ct(R) && I("A time grain requires a temporal Matrix level."), { ...P, field: E, grain: z };
2447
+ const P = (T) => T.map((x) => {
2448
+ if (x.id !== y) return x;
2449
+ const E = (F == null ? void 0 : F.field) ?? (k ? w(k) : x.field), R = d(E, p.controlId), z = O ?? (k && Ct(R) ? x.grain : void 0);
2450
+ return z && !Ct(R) && I("A time grain requires a temporal Matrix level."), { ...x, field: E, grain: z };
2452
2451
  });
2453
2452
  t = {
2454
2453
  ...t,
2455
- rows: x(t.rows),
2456
- columns: x(t.columns)
2454
+ rows: P(t.rows),
2455
+ columns: P(t.columns)
2457
2456
  };
2458
2457
  }
2459
2458
  }
@@ -2461,19 +2460,19 @@ function Ts(e) {
2461
2460
  const h = t.measures.find((v) => v.id === p);
2462
2461
  if (!h || h.kind !== "aggregate") continue;
2463
2462
  const I = d(h.field, y);
2464
- Po(I).some((v) => v.value === h.aggregate) || u(`Aggregation '${h.aggregate}' is not eligible for this Matrix field datatype.`, y);
2463
+ xo(I).some((v) => v.value === h.aggregate) || u(`Aggregation '${h.aggregate}' is not eligible for this Matrix field datatype.`, y);
2465
2464
  }
2466
2465
  try {
2467
- return xo(m.data, t);
2466
+ return Po(m.data, t);
2468
2467
  } catch (p) {
2469
- if (p instanceof br) return u(p.message);
2468
+ if (p instanceof hr) return u(p.message);
2470
2469
  throw p;
2471
2470
  }
2472
2471
  }
2473
2472
  function En(e, t) {
2474
2473
  const n = [], o = (r) => {
2475
2474
  if (r.source) {
2476
- const i = gr.safeParse(r.source);
2475
+ const i = yr.safeParse(r.source);
2477
2476
  if (i.success) n.push(i.data);
2478
2477
  else if (t) throw i.error;
2479
2478
  }
@@ -2488,11 +2487,11 @@ function En(e, t) {
2488
2487
  return n;
2489
2488
  }
2490
2489
  function Ds(e, t = [], n = []) {
2491
- return Qt([...fn(e), ...En(t), ...n]);
2490
+ return Wt([...jt(e), ...En(t), ...n]);
2492
2491
  }
2493
2492
  function Ms(e, t = {}) {
2494
2493
  const n = t.controlBindings ?? [], o = Nt(t.controlDefinitions ?? [], t.cardControlDefinitions ?? []), r = new Map(n.filter((i) => i.target === "config_field_selector" || i.target === "config_metric_selector").map((i) => [i, Lt({ binding: i, definitions: o, controlValues: t.controlValues })]));
2495
- return Qt([...fn(e), ...En(n, r)]);
2494
+ return Wt([...jt(e), ...En(n, r)]);
2496
2495
  }
2497
2496
  function Vs(e, t) {
2498
2497
  return {
@@ -2506,16 +2505,16 @@ function Vs(e, t) {
2506
2505
  };
2507
2506
  }
2508
2507
  function ks(e, t) {
2509
- return Ne(e) ? Ps(e, t) : e.config ?? {};
2508
+ return Ne(e) ? xs(e, t) : e.config ?? {};
2510
2509
  }
2511
- function Ps(e, t) {
2510
+ function xs(e, t) {
2512
2511
  var o;
2513
2512
  const n = (o = t == null ? void 0 : t.steps[t.steps.length - 1]) == null ? void 0 : o.toField;
2514
2513
  return n ? di(e.config ?? {}, n, {
2515
2514
  sortPolicy: "retargetDimensionSort"
2516
2515
  }) : e.config ?? {};
2517
2516
  }
2518
- function xs(e, t) {
2517
+ function Ps(e, t) {
2519
2518
  const n = (e == null ? void 0 : e.steps) ?? [];
2520
2519
  if (n.length !== 0)
2521
2520
  return {
@@ -2554,7 +2553,7 @@ function rt(e) {
2554
2553
  function ws(e) {
2555
2554
  return e === "exclude" ? "not in" : "in";
2556
2555
  }
2557
- function Al(e) {
2556
+ function Ol(e) {
2558
2557
  var n;
2559
2558
  const t = (n = e.liveValue) == null ? void 0 : n.operation;
2560
2559
  return ot(t) ? rt(t) : e.pendingMode ?? e.authoredMode;
@@ -2588,13 +2587,13 @@ function Es(e, t) {
2588
2587
  function Bs(e) {
2589
2588
  return ot(e.operation) ? [rt(e.operation)] : [];
2590
2589
  }
2591
- function El(e) {
2592
- const t = Jt(e), o = q(t).issues.length ? t : Ba(t);
2590
+ function Al(e) {
2591
+ const t = Zt(e), o = q(t).issues.length ? t : Ba(t);
2593
2592
  return ci(Os(o)).dashboard;
2594
2593
  }
2595
2594
  function it(e, t) {
2596
2595
  const n = {};
2597
- for (const o of tn(e)) {
2596
+ for (const o of nn(e)) {
2598
2597
  if (!o.inlineFilters || o.inlineFilters.length === 0)
2599
2598
  continue;
2600
2599
  const r = [];
@@ -2626,7 +2625,7 @@ function ve(e, t, n) {
2626
2625
  r[t.target] = { ...r[t.target], [t.inputId]: n }, o[t.scope] = r;
2627
2626
  }
2628
2627
  function Bn(e, t, n) {
2629
- const o = jt(
2628
+ const o = zt(
2630
2629
  e,
2631
2630
  t.controlOverrides,
2632
2631
  { hasExplicitRuntimeOverrides: t.controlOverrides !== void 0 }
@@ -2646,7 +2645,7 @@ function st(e, t, n) {
2646
2645
  n
2647
2646
  );
2648
2647
  }
2649
- function Bl(e, t, n) {
2648
+ function El(e, t, n) {
2650
2649
  return _n(e, t, n);
2651
2650
  }
2652
2651
  function _n(e, t, n) {
@@ -2661,7 +2660,7 @@ function _n(e, t, n) {
2661
2660
  return i.reduce(
2662
2661
  (a, c) => {
2663
2662
  var l;
2664
- return ze(
2663
+ return Ge(
2665
2664
  a,
2666
2665
  _o({
2667
2666
  dashboard: e,
@@ -2715,7 +2714,7 @@ function _s(e, t) {
2715
2714
  }
2716
2715
  function Kn(e, t, n) {
2717
2716
  if (!Object.keys(n).length) return t;
2718
- const o = jt(
2717
+ const o = zt(
2719
2718
  e,
2720
2719
  t,
2721
2720
  { hasExplicitRuntimeOverrides: t !== void 0 }
@@ -2751,13 +2750,13 @@ function Ks(e, t, n) {
2751
2750
  for (const [s, a] of Object.entries(n)) {
2752
2751
  const c = o.get(s), l = (a ?? []).filter((u) => {
2753
2752
  const d = c == null ? void 0 : c.get(u.filterId);
2754
- return d ? je(d, u) : !1;
2753
+ return d ? ze(d, u) : !1;
2755
2754
  });
2756
2755
  De(l, i[s] ?? []) || (r = !0), i[s] = l;
2757
2756
  }
2758
2757
  return r ? i : void 0;
2759
2758
  }
2760
- function _l(e) {
2759
+ function Bl(e) {
2761
2760
  const { dashboard: t, capture: n, calendar: o } = e, r = so(t, n.filterValues, {
2762
2761
  calendar: o
2763
2762
  }), i = n.dashboardInputExecutionSnapshot, s = n.controlValues, a = {
@@ -2767,7 +2766,7 @@ function _l(e) {
2767
2766
  adHocFilterValues: r.adHocFilterValues,
2768
2767
  controlOverrides: s,
2769
2768
  // The snapshot replays exactly over the listed values.
2770
- dashboardInputValues: i ? ze(
2769
+ dashboardInputValues: i ? Ge(
2771
2770
  r.slots,
2772
2771
  qo({
2773
2772
  dashboard: t,
@@ -2787,7 +2786,7 @@ function _l(e) {
2787
2786
  ...c != null && c.length ? { transientContexts: c } : {}
2788
2787
  };
2789
2788
  }
2790
- function Rl(e, t) {
2789
+ function _l(e, t) {
2791
2790
  const { controlContractOverrides: n, cardId: o } = t;
2792
2791
  if (!n || (n.controlDefinitions !== void 0 && (e.controls = n.controlDefinitions), typeof o != "string" || o.trim().length === 0))
2793
2792
  return e;
@@ -2804,7 +2803,7 @@ function Ns(e, t) {
2804
2803
  var d;
2805
2804
  if (l.status !== "set" || l.value.kind !== "filter") return !0;
2806
2805
  const u = (d = n.findFilterInput({ inputId: c })) == null ? void 0 : d.input.filter;
2807
- return !u || je(u, l.value.filterValue) ? !0 : (o = !0, !1);
2806
+ return !u || ze(u, l.value.filterValue) ? !0 : (o = !0, !1);
2808
2807
  });
2809
2808
  return Object.fromEntries(a);
2810
2809
  }, i = {
@@ -2827,7 +2826,7 @@ function le(e, t) {
2827
2826
  var n;
2828
2827
  return !!t && !!((n = e.sheets) != null && n.some((o) => o.id === t));
2829
2828
  }
2830
- function Kl(e) {
2829
+ function Rl(e) {
2831
2830
  const { dashboard: t, host: n, calendar: o } = e, r = so(t, n.filterValues, {
2832
2831
  calendar: o
2833
2832
  }).slots, i = n.controlValues, s = le(t, n.selectedSheetId) ? n.selectedSheetId : Ls(t);
@@ -2849,19 +2848,19 @@ function Kl(e) {
2849
2848
  }
2850
2849
  function qn(e) {
2851
2850
  const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Map();
2852
- for (const r of Ge(e))
2851
+ for (const r of He(e))
2853
2852
  r.kind === "filter" && r.filter ? t.set(r.id, r.filter) : r.kind === "control" && n.add(r.id), r.compatibility && o.set(r.id, r.compatibility);
2854
2853
  return { filterInputs: t, controlInputIds: n, compatibility: o };
2855
2854
  }
2856
2855
  function Nn(e, t) {
2857
- const n = Wt(t);
2856
+ const n = Yt(t);
2858
2857
  if (!n) return;
2859
2858
  const o = ie(e, n);
2860
2859
  return o ? Lo(o, e) ? "applies" : "not-eligible" : "removed";
2861
2860
  }
2862
- function ql(e, t) {
2861
+ function Kl(e, t) {
2863
2862
  const n = Nn(e, t);
2864
- return n ? n === "applies" : Ge(e).some(
2863
+ return n ? n === "applies" : He(e).some(
2865
2864
  (o) => o.id === t
2866
2865
  );
2867
2866
  }
@@ -2900,7 +2899,7 @@ function Ln(e, t, n, o) {
2900
2899
  });
2901
2900
  continue;
2902
2901
  }
2903
- if (y && m.status === "set" && m.value.kind === "filter" && !je(y, m.value.filterValue)) {
2902
+ if (y && m.status === "set" && m.value.kind === "filter" && !ze(y, m.value.filterValue)) {
2904
2903
  o.push({
2905
2904
  kind: "setting-no-longer-applies",
2906
2905
  target: "input",
@@ -2944,11 +2943,11 @@ function B(e, t, n, o = {}) {
2944
2943
  ), i = {};
2945
2944
  for (const [s, a] of Object.entries(t ?? {})) {
2946
2945
  const c = r.get(s);
2947
- if (c && on(c)) {
2948
- Dr(a) || (i[s] = a);
2946
+ if (c && rn(c)) {
2947
+ Mr(a) || (i[s] = a);
2949
2948
  continue;
2950
2949
  }
2951
- if (c && o.sessionSorts && Mr(c)) {
2950
+ if (c && o.sessionSorts && Vr(c)) {
2952
2951
  a.sort && (i[s] = { sort: a.sort });
2953
2952
  continue;
2954
2953
  }
@@ -3013,7 +3012,7 @@ function G(e, t) {
3013
3012
  };
3014
3013
  }
3015
3014
  function wt(e, t, n, o) {
3016
- const { dashboard: r, baseline: i } = e, s = [], a = an(t.state, Qe), c = a.ok ? a.value : {};
3015
+ const { dashboard: r, baseline: i } = e, s = [], a = ln(t.state, We), c = a.ok ? a.value : {};
3017
3016
  for (const g of a.ok ? a.issues : [])
3018
3017
  s.push(zs(g));
3019
3018
  const l = qn(r), u = Rn(
@@ -3038,7 +3037,7 @@ function wt(e, t, n, o) {
3038
3037
  u.controlValues
3039
3038
  ),
3040
3039
  // Overlay, never replacement: the bookmark's slots over the host's.
3041
- dashboardInputValues: ze(
3040
+ dashboardInputValues: Ge(
3042
3041
  i.hostInputValues,
3043
3042
  u.runtime
3044
3043
  ),
@@ -3107,7 +3106,7 @@ function Ot(e, t, n) {
3107
3106
  )
3108
3107
  };
3109
3108
  }
3110
- function Nl(e) {
3109
+ function ql(e) {
3111
3110
  const { dashboard: t, baseline: n, event: o } = e, r = e.rememberedTableSettings;
3112
3111
  switch (o.kind) {
3113
3112
  case "initial-load":
@@ -3198,7 +3197,7 @@ function Nl(e) {
3198
3197
  }
3199
3198
  }
3200
3199
  }
3201
- function Ll(e) {
3200
+ function Nl(e) {
3202
3201
  const { dashboard: t, calendar: n } = e, o = e.hostControlValues, r = {
3203
3202
  ...e.baseline,
3204
3203
  controlOverrides: o,
@@ -3214,9 +3213,9 @@ function Ll(e) {
3214
3213
  };
3215
3214
  let i = o;
3216
3215
  if (e.appliedBookmark) {
3217
- const c = an(
3216
+ const c = ln(
3218
3217
  e.appliedBookmark.state,
3219
- Qe
3218
+ We
3220
3219
  ), l = qn(t), u = Rn(
3221
3220
  l.compatibility,
3222
3221
  Ln(
@@ -3242,7 +3241,7 @@ function Ll(e) {
3242
3241
  }
3243
3242
  };
3244
3243
  }
3245
- function jl(e, t, n) {
3244
+ function Ll(e, t, n) {
3246
3245
  const o = jn(n.values);
3247
3246
  return {
3248
3247
  ...o,
@@ -3275,14 +3274,14 @@ function Hn(e, t) {
3275
3274
  o.has(i) || pe(s.slot) || ve(r, s, { status: "cleared" });
3276
3275
  return Te(r);
3277
3276
  }
3278
- function zl(e) {
3277
+ function jl(e) {
3279
3278
  const { dashboard: t, baseline: n, current: o } = e, r = Hn(n.materializedInputs, o.inputs), i = B(
3280
3279
  t,
3281
3280
  o.tableSettings,
3282
3281
  void 0
3283
3282
  ), s = o.selectedSheetId && o.selectedSheetId !== n.selectedSheetId && le(t, o.selectedSheetId) ? o.selectedSheetId : void 0;
3284
3283
  return {
3285
- version: Qe,
3284
+ version: We,
3286
3285
  ...s ? { selectedSheetId: s } : {},
3287
3286
  ...ne(r).length ? { inputs: r } : {},
3288
3287
  ...Object.keys(i).length ? { tableSettings: i } : {}
@@ -3290,20 +3289,20 @@ function zl(e) {
3290
3289
  }
3291
3290
  function Gs(e) {
3292
3291
  const t = /* @__PURE__ */ new Map();
3293
- for (const n of Ge(e))
3292
+ for (const n of He(e))
3294
3293
  n.label && t.set(n.id, n.label);
3295
3294
  return t;
3296
3295
  }
3297
3296
  function Hs(e, t, n) {
3298
3297
  var r, i;
3299
- const o = Wt(n);
3298
+ const o = Yt(n);
3300
3299
  if (o) {
3301
3300
  const s = (i = (r = ie(e, o)) == null ? void 0 : r.title) == null ? void 0 : i.trim();
3302
3301
  return s ? `Selection in ${s}` : "Selection";
3303
3302
  }
3304
3303
  return t.get(n) ?? n;
3305
3304
  }
3306
- function Gl(e) {
3305
+ function zl(e) {
3307
3306
  var l, u;
3308
3307
  const { dashboard: t, opened: n, current: o } = e, r = [], i = Gs(t), s = /* @__PURE__ */ new Set();
3309
3308
  for (const d of ne(
@@ -3403,7 +3402,7 @@ function $s(e) {
3403
3402
  }
3404
3403
  } : { inputs: e.inputs, fieldCandidates: t, resolution: { status: "none" } };
3405
3404
  }
3406
- function Hl(e) {
3405
+ function Gl(e) {
3407
3406
  var n, o;
3408
3407
  const t = {
3409
3408
  ownerCardCount: 0,
@@ -3460,7 +3459,7 @@ function $n(e, t) {
3460
3459
  ) : e;
3461
3460
  }
3462
3461
  function Un(e) {
3463
- return typeof e.allowMinutePrecision == "boolean" ? e.allowMinutePrecision : He(
3462
+ return typeof e.allowMinutePrecision == "boolean" ? e.allowMinutePrecision : $e(
3464
3463
  e.dashboard,
3465
3464
  e.semanticExecutionPayload
3466
3465
  ).allEligibleTargetsAreDateTime;
@@ -3479,7 +3478,7 @@ function Qn(e) {
3479
3478
  ...n,
3480
3479
  filterId: t.id
3481
3480
  };
3482
- const i = n, s = i.temporalPrecision === "minute" || ge(i.relativeMeta), a = !r && s, c = i.operation === "is null" || i.operation === "is not null" ? [] : a ? $n(i.values, o) : i.values, l = r || !ge(i.relativeMeta) ? i.relativeMeta : void 0, u = r && i.temporalPrecision === "minute" ? i.temporalPrecision : void 0, {
3481
+ const i = n, s = i.temporalPrecision === "minute" || ge(i.relativeMeta) === "minute", a = !r && s, c = i.operation === "is null" || i.operation === "is not null" ? [] : a ? $n(i.values, o) : i.values, l = r || ge(i.relativeMeta) !== "minute" ? i.relativeMeta : void 0, u = r && i.temporalPrecision === "minute" ? i.temporalPrecision : void 0, {
3483
3482
  relativeMeta: d,
3484
3483
  temporalPrecision: f,
3485
3484
  values: m,
@@ -3518,7 +3517,7 @@ function Wn(e) {
3518
3517
  return null;
3519
3518
  const a = n, c = Go(
3520
3519
  o.dataType
3521
- ), l = s && c, u = a.temporalPrecision === "minute" || ge(a.relativeMeta), d = l && a.temporalPrecision === "minute" ? a.temporalPrecision : void 0, f = l || !ge(a.relativeMeta) ? a.relativeMeta : void 0, m = !l && u;
3520
+ ), l = s && c, u = a.temporalPrecision === "minute" || ge(a.relativeMeta) === "minute", d = l && a.temporalPrecision === "minute" ? a.temporalPrecision : void 0, f = l || ge(a.relativeMeta) !== "minute" ? a.relativeMeta : void 0, m = !l && u;
3522
3521
  return {
3523
3522
  filterId: t.id,
3524
3523
  dateOwner: "global_date",
@@ -3553,7 +3552,7 @@ function Wn(e) {
3553
3552
  function N(e) {
3554
3553
  return typeof e == "string" ? e.trim() : "";
3555
3554
  }
3556
- function Xs(e) {
3555
+ function Zs(e) {
3557
3556
  var t;
3558
3557
  return (((t = e.semanticContext) == null ? void 0 : t.selectedEntities) || []).filter((n) => typeof n == "object" && n !== null).filter((n) => n.type === "dataset").map((n) => {
3559
3558
  var o;
@@ -3564,11 +3563,11 @@ function Xs(e) {
3564
3563
  };
3565
3564
  }).filter((n) => n.domainId && n.datasetName);
3566
3565
  }
3567
- function Zs(e) {
3566
+ function Xs(e) {
3568
3567
  var c, l, u, d, f;
3569
3568
  if (ee(e) || (c = e.sql) != null && c.trim())
3570
3569
  return null;
3571
- const t = Xs(e), n = N((l = e.semanticContext) == null ? void 0 : l.semanticDomainId), o = N((u = e.fieldMeta) == null ? void 0 : u.entityId), r = N((d = e.fieldMeta) == null ? void 0 : d.entityName), i = N((f = e.fieldMeta) == null ? void 0 : f.entityType) === "dataset", s = t.find(
3570
+ const t = Zs(e), n = N((l = e.semanticContext) == null ? void 0 : l.semanticDomainId), o = N((u = e.fieldMeta) == null ? void 0 : u.entityId), r = N((d = e.fieldMeta) == null ? void 0 : d.entityName), i = N((f = e.fieldMeta) == null ? void 0 : f.entityType) === "dataset", s = t.find(
3572
3571
  (m) => o && m.selectedEntityId === o
3573
3572
  );
3574
3573
  if (s)
@@ -3586,7 +3585,7 @@ function ea(e) {
3586
3585
  const { filter: t, semanticExecutionPayload: n } = e;
3587
3586
  if (!n)
3588
3587
  return null;
3589
- const o = Zs(t);
3588
+ const o = Xs(t);
3590
3589
  return o && ((i = (r = n.domainsById[o.domainId]) == null ? void 0 : r.datasetsByName[o.datasetName]) == null ? void 0 : i.primaryDateField) || null;
3591
3590
  }
3592
3591
  function Yn(e) {
@@ -3595,7 +3594,7 @@ function Yn(e) {
3595
3594
  (n) => n.filterId !== t.id
3596
3595
  ) : e.filterValues;
3597
3596
  }
3598
- function $l(e) {
3597
+ function Hl(e) {
3599
3598
  const t = U(e.filters), n = Yn({
3600
3599
  filters: e.filters,
3601
3600
  filterValues: e.filterValues
@@ -3623,7 +3622,7 @@ function ta(e) {
3623
3622
  (d) => d.filterId === t.id
3624
3623
  ) : void 0, o = t ? e.cardFilterValues.filter(
3625
3624
  (d) => d.filterId !== t.id
3626
- ) : e.cardFilterValues, r = e.resolvedPrimaryDateField ?? zt({
3625
+ ) : e.cardFilterValues, r = e.resolvedPrimaryDateField ?? Gt({
3627
3626
  card: e.card,
3628
3627
  cardConfig: e.cardConfig,
3629
3628
  resolvedFields: e.resolvedFields,
@@ -3660,7 +3659,7 @@ function ta(e) {
3660
3659
  dateComparisonPlan: l
3661
3660
  };
3662
3661
  }
3663
- function Ul(e) {
3662
+ function $l(e) {
3664
3663
  const t = U(e.filters), n = Un(e), o = t ? e.filterValues.find(
3665
3664
  (s) => s.filterId === t.id
3666
3665
  ) : void 0, r = Yn(e);
@@ -3680,21 +3679,21 @@ function Ul(e) {
3680
3679
  }
3681
3680
  class na extends Error {
3682
3681
  }
3683
- function Ql(e, t) {
3682
+ function Ul(e, t) {
3684
3683
  const n = new Map((e ? H(e) : []).map(({ card: o }) => [o.id, o]));
3685
3684
  return t && n.set(t.id, t), [...n.values()].flatMap((o) => {
3686
- const r = We(o);
3685
+ const r = Le(o);
3687
3686
  return r.status === "ready" ? Ds(r.config.spec, o.controlBindings) : [];
3688
3687
  });
3689
3688
  }
3690
3689
  function oa(e, t, n) {
3691
- const o = xr(e);
3690
+ const o = Ho(e);
3692
3691
  if (!o) throw new Error("Matrix card definition is required.");
3693
3692
  const r = n && Ts({
3694
3693
  ...n,
3695
3694
  spec: o.spec,
3696
3695
  catalog: t.map((u) => ({ ...u, id: u.resolvedField.id }))
3697
- }), i = r ? { ...o, spec: r.spec } : o, s = Ho(t), a = $o(t), c = (u) => {
3696
+ }), i = r ? { ...o, spec: r.spec } : o, s = $o(t), a = Uo(t), c = (u) => {
3698
3697
  const d = a(u, i.spec.source);
3699
3698
  if (!(!d && u.derivedField)) {
3700
3699
  if (!d) throw new na(`Matrix field metadata is unavailable: ${u.name}`);
@@ -3723,7 +3722,7 @@ function ra(e) {
3723
3722
  const t = e.filter(Boolean);
3724
3723
  if (t.length !== 0)
3725
3724
  return t.length === 1 ? t[0] : {
3726
- id: Uo(),
3725
+ id: Qo(),
3727
3726
  logicalOperator: "AND",
3728
3727
  negate: !1,
3729
3728
  conditions: [],
@@ -3752,9 +3751,9 @@ function ia(e) {
3752
3751
  function sa(e, t, n = {}) {
3753
3752
  const o = e.metricColumns || [];
3754
3753
  if (o.length === 0) return e;
3755
- const r = Qo.includes(
3754
+ const r = Wo.includes(
3756
3755
  t
3757
- ), i = Wo.includes(
3756
+ ), i = Yo.includes(
3758
3757
  t
3759
3758
  ), s = (l) => {
3760
3759
  var u;
@@ -3770,7 +3769,7 @@ function sa(e, t, n = {}) {
3770
3769
  const c = o.map(
3771
3770
  (l) => {
3772
3771
  var f;
3773
- const u = Vr(l);
3772
+ const u = kr(l);
3774
3773
  if (u === "none")
3775
3774
  return l;
3776
3775
  let d = l;
@@ -3785,16 +3784,16 @@ function sa(e, t, n = {}) {
3785
3784
  metricColumns: c
3786
3785
  } : e;
3787
3786
  }
3788
- function Wl(e, t = {}) {
3789
- return Jn(Xn(e, t));
3787
+ function Ql(e, t = {}) {
3788
+ return Jn(Zn(e, t));
3790
3789
  }
3791
3790
  function Jn(e) {
3792
3791
  return ra([e.authored, e.drill, e.selections]);
3793
3792
  }
3794
- function Xn(e, t = {}) {
3793
+ function Zn(e, t = {}) {
3795
3794
  return {
3796
- authored: t.includeAuthoredFilters === !1 ? void 0 : Yo(e),
3797
- drill: xs(t.drill, e.id),
3795
+ authored: t.includeAuthoredFilters === !1 ? void 0 : Jo(e),
3796
+ drill: Ps(t.drill, e.id),
3798
3797
  selections: Rr(t.selections ?? [])
3799
3798
  };
3800
3799
  }
@@ -3804,11 +3803,11 @@ function aa(e, t, n) {
3804
3803
  { ...o, filters: n },
3805
3804
  e.type,
3806
3805
  // A data variable's card keeps its own period comparison (P3b-03).
3807
- { keepsPeriodComparison: kr(e) }
3806
+ { keepsPeriodComparison: xr(e) }
3808
3807
  ) : o;
3809
3808
  }
3810
3809
  function la(e) {
3811
- const t = Jo(e);
3810
+ const t = Zo(e);
3812
3811
  return {
3813
3812
  contextMode: t,
3814
3813
  shouldApplyDashboardFilters: !t || t === "full"
@@ -3819,10 +3818,10 @@ function ca(e) {
3819
3818
  ...t.map((r) => r.id),
3820
3819
  ...n.map((r) => r.id)
3821
3820
  ]);
3822
- return Zn(
3821
+ return Xn(
3823
3822
  e.card,
3824
3823
  {
3825
- controlValues: Gt({
3824
+ controlValues: Ht({
3826
3825
  relevantControlIds: o,
3827
3826
  dashboardValues: e.dashboardControlValues,
3828
3827
  cardValues: e.cardControlValues
@@ -3834,7 +3833,7 @@ function ca(e) {
3834
3833
  e.presentationControlIds
3835
3834
  );
3836
3835
  }
3837
- function Zn(e, t, n) {
3836
+ function Xn(e, t, n) {
3838
3837
  const r = t.controlBindings.filter(
3839
3838
  (f) => !Fe(f)
3840
3839
  ), i = new Set(
@@ -3857,7 +3856,7 @@ function Zn(e, t, n) {
3857
3856
  (f) => l.has(f.controlId)
3858
3857
  );
3859
3858
  return {
3860
- controlValues: Gt({
3859
+ controlValues: Ht({
3861
3860
  relevantControlIds: l,
3862
3861
  dashboardValues: t.controlValues
3863
3862
  }),
@@ -3885,7 +3884,7 @@ function ua({
3885
3884
  const m = Tn(t);
3886
3885
  for (const F of e.controlBindings || [])
3887
3886
  Fe(F) && m.add(F.controlId);
3888
- const { shouldApplyDashboardFilters: g } = la(n), p = d != null && d.inputs.length ? d : void 0, y = Xn(e, {
3887
+ const { shouldApplyDashboardFilters: g } = la(n), p = d != null && d.inputs.length ? d : void 0, y = Zn(e, {
3889
3888
  includeAuthoredFilters: f,
3890
3889
  // Blocked and skipped conditions are already projected away, so a
3891
3890
  // selection can only ever narrow this card on its own fields. Carried
@@ -3901,12 +3900,12 @@ function ua({
3901
3900
  ), D = us({ ...e, config: v }, r) ?? v, C = In(D, {
3902
3901
  cardType: e.type,
3903
3902
  dataSource: e.dataSource,
3904
- temporalResultOwner: Ht({
3903
+ temporalResultOwner: $t({
3905
3904
  hasExecutableConfig: Se(D, e.type),
3906
3905
  sql: e.sql,
3907
- normalizedPython: Le(e.python || "")
3906
+ normalizedPython: je(e.python || "")
3908
3907
  })
3909
- }) || D, w = ia(I) || "", A = p ? Zn(
3908
+ }) || D, w = ia(I) || "", A = p ? Xn(
3910
3909
  e,
3911
3910
  {
3912
3911
  controlValues: p.controlValues,
@@ -3987,7 +3986,7 @@ function ma({
3987
3986
  return e.activeFilters;
3988
3987
  const n = new Set(
3989
3988
  e.inputs.flatMap(
3990
- (o) => o.kind === "filter" && ln(o) ? [o.filter.id] : []
3989
+ (o) => o.kind === "filter" && cn(o) ? [o.filter.id] : []
3991
3990
  )
3992
3991
  );
3993
3992
  return e.activeFilters.filter(
@@ -4031,7 +4030,7 @@ function Ke(e, t) {
4031
4030
  (u) => !i.has(u.filterId)
4032
4031
  ), c = s.filter(
4033
4032
  (u) => i.has(u.filterId)
4034
- ), l = Zo({
4033
+ ), l = er({
4035
4034
  card: e,
4036
4035
  inputs: o,
4037
4036
  resolvedInputs: t.dashboardInputContext.resolvedInputs,
@@ -4067,7 +4066,7 @@ function ya(e, t) {
4067
4066
  return n.resolvedInputs.flatMap((i) => {
4068
4067
  if (!i.missingRequiredValue) return [];
4069
4068
  const s = r.get(i.id);
4070
- return s ? s.kind === "filter" && (!e.shouldApplyDashboardFilters && !ln(s) || o.has(s.id)) ? [] : [i.label] : [];
4069
+ return s ? s.kind === "filter" && (!e.shouldApplyDashboardFilters && !cn(s) || o.has(s.id)) ? [] : [i.label] : [];
4071
4070
  });
4072
4071
  }
4073
4072
  function ba({
@@ -4157,7 +4156,7 @@ function no(e, t, n) {
4157
4156
  }, compiledFilters: o };
4158
4157
  }
4159
4158
  function ha(e, t, n) {
4160
- const o = er(e), r = no(e, t, {
4159
+ const o = tr(e), r = no(e, t, {
4161
4160
  resolvedPrimaryDateField: n.resolvedPrimaryDateField,
4162
4161
  timezone: n.calendarContext.tz,
4163
4162
  allowMinutePrecision: n.allowGlobalDateMinutePrecision
@@ -4173,7 +4172,7 @@ function ha(e, t, n) {
4173
4172
  r.queryContext,
4174
4173
  n.calendarContext,
4175
4174
  { resolvePaginationConfig: n.resolvePaginationConfig }
4176
- ), f = t.queryRelevantConfig, m = Le(e.python || ""), g = Ht({
4175
+ ), f = t.queryRelevantConfig, m = je(e.python || ""), g = $t({
4177
4176
  hasExecutableConfig: Se(f, e.type),
4178
4177
  sql: e.sql,
4179
4178
  normalizedPython: m
@@ -4210,7 +4209,7 @@ function ha(e, t, n) {
4210
4209
  };
4211
4210
  }
4212
4211
  const Bt = [], Ca = [], Ia = {};
4213
- function Yl(e, t) {
4212
+ function Wl(e, t) {
4214
4213
  return {
4215
4214
  sheetId: e.sheetId,
4216
4215
  sectionId: e.sectionId,
@@ -4227,11 +4226,11 @@ function va({
4227
4226
  dashboardRuntimeValues: o,
4228
4227
  calendar: r
4229
4228
  }) {
4230
- const i = $t({
4229
+ const i = Ut({
4231
4230
  dashboard: t,
4232
4231
  dashboardInputValues: o.dashboardInputValues,
4233
4232
  transientContexts: void 0
4234
- }) ? $e({
4233
+ }) ? Ue({
4235
4234
  transientContexts: void 0,
4236
4235
  dashboard: t,
4237
4236
  sheetId: n.sheetId,
@@ -4279,7 +4278,7 @@ function Fa(e, t) {
4279
4278
  controls: Array.from(n.values())
4280
4279
  };
4281
4280
  }
4282
- function Jl({
4281
+ function Yl({
4283
4282
  card: e,
4284
4283
  place: t,
4285
4284
  source: n
@@ -4294,7 +4293,7 @@ function Jl({
4294
4293
  function Sa(e, t, n) {
4295
4294
  return {
4296
4295
  calendarContext: n ?? wr,
4297
- allowGlobalDateMinutePrecision: He(
4296
+ allowGlobalDateMinutePrecision: $e(
4298
4297
  e,
4299
4298
  t
4300
4299
  ).allEligibleTargetsAreDateTime,
@@ -4302,7 +4301,7 @@ function Sa(e, t, n) {
4302
4301
  globalCacheConfig: e.globalCacheConfig
4303
4302
  };
4304
4303
  }
4305
- function Xl(e, t) {
4304
+ function Jl(e, t) {
4306
4305
  return io(
4307
4306
  e,
4308
4307
  t,
@@ -4335,7 +4334,7 @@ function Da({
4335
4334
  var D;
4336
4335
  let v;
4337
4336
  try {
4338
- const C = We(h);
4337
+ const C = Le(h);
4339
4338
  if (C.status === "invalid") throw C.error;
4340
4339
  const w = qe(
4341
4340
  h,
@@ -4353,8 +4352,8 @@ function Da({
4353
4352
  context: v
4354
4353
  };
4355
4354
  const A = Ms(C.config.spec, v), M = r.filter(
4356
- (P) => P.field.source && A.some(
4357
- (E) => Oe(E, P.field.source)
4355
+ (x) => x.field.source && A.some(
4356
+ (E) => Oe(E, x.field.source)
4358
4357
  )
4359
4358
  ), F = oa(h, M, v), { params: k } = w, O = k.dashboardInputContext;
4360
4359
  F.config = {
@@ -4378,15 +4377,15 @@ function Da({
4378
4377
  M
4379
4378
  )
4380
4379
  };
4381
- const x = {
4380
+ const P = {
4382
4381
  ...h,
4383
4382
  config: { matrix: F.config }
4384
- }, T = qe(x, I, n, !1);
4383
+ }, T = qe(P, I, n, !1);
4385
4384
  return {
4386
4385
  status: "ready",
4387
4386
  value: {
4388
4387
  assembled: {
4389
- card: x,
4388
+ card: P,
4390
4389
  context: { ...T.context, resolvedDateFields: F.fields },
4391
4390
  inputContext: T.inputContext
4392
4391
  },
@@ -4415,40 +4414,40 @@ function Da({
4415
4414
  s,
4416
4415
  o,
4417
4416
  n.calendar
4418
- ), m = u.context.filterCompilationInput, g = tr(s);
4417
+ ), m = u.context.filterCompilationInput, g = nr(s);
4419
4418
  try {
4420
4419
  const h = Ke(u.card, m), I = d && g && h.status === "ready" && h.filterValues.some((w) => w.filterId === g.id);
4421
4420
  let v = f.allowGlobalDateMinutePrecision;
4422
4421
  if (I) {
4423
4422
  const w = (p = m.dashboardInputContext) == null ? void 0 : p.inputs.find(
4424
4423
  (T) => T.kind === "filter" && T.filter.id === g.id
4425
- ), M = nr(s, g).filter(
4426
- ({ card: T, sheet: P }) => !w || Pr(w, {
4424
+ ), M = or(s, g).filter(
4425
+ ({ card: T, sheet: x }) => !w || Pr(w, {
4427
4426
  cardId: T.id,
4428
- sheetId: P.id,
4429
- sheetKind: Ut(P) ? "document" : "dashboard"
4427
+ sheetId: x.id,
4428
+ sheetKind: Qt(x) ? "document" : "dashboard"
4430
4429
  })
4431
- ).map(({ card: T, sheet: P }) => ({
4430
+ ).map(({ card: T, sheet: x }) => ({
4432
4431
  card: T,
4433
- value: T.id === a ? l : c(T, { kind: "sheet", sheetId: P.id })
4432
+ value: T.id === a ? l : c(T, { kind: "sheet", sheetId: x.id })
4434
4433
  })), F = new Map(
4435
- M.map(({ card: T, value: P }) => [
4434
+ M.map(({ card: T, value: x }) => [
4436
4435
  T.id,
4437
- P.status === "ready" ? P.value.assembled.card : null
4436
+ x.status === "ready" ? x.value.assembled.card : null
4438
4437
  ])
4439
4438
  ), k = new Map(
4440
- M.map(({ card: T, value: P }) => {
4439
+ M.map(({ card: T, value: x }) => {
4441
4440
  var E;
4442
4441
  return [
4443
4442
  T.id,
4444
- P.status === "ready" ? (E = P.value.matrix) == null ? void 0 : E.fields : void 0
4443
+ x.status === "ready" ? (E = x.value.matrix) == null ? void 0 : E.fields : void 0
4445
4444
  ];
4446
4445
  })
4447
4446
  ), O = M.flatMap(
4448
- ({ card: T, value: P }) => {
4449
- const E = T.id, R = P.status === "ready" ? P.value.assembled.context : P.context;
4447
+ ({ card: T, value: x }) => {
4448
+ const E = T.id, R = x.status === "ready" ? x.value.assembled.context : x.context;
4450
4449
  if (!R) return [E];
4451
- const z = P.status === "ready" ? P.value.assembled.card : T;
4450
+ const z = x.status === "ready" ? x.value.assembled.card : T;
4452
4451
  try {
4453
4452
  const Y = Ke(
4454
4453
  z,
@@ -4459,7 +4458,7 @@ function Da({
4459
4458
  return F.set(E, null), [E];
4460
4459
  }
4461
4460
  }
4462
- ), x = He(
4461
+ ), P = $e(
4463
4462
  s,
4464
4463
  o,
4465
4464
  g,
@@ -4467,16 +4466,16 @@ function Da({
4467
4466
  k,
4468
4467
  O
4469
4468
  );
4470
- if ((y = x.unresolvedCardIds) != null && y.length)
4469
+ if ((y = P.unresolvedCardIds) != null && y.length)
4471
4470
  return {
4472
4471
  status: "blocked",
4473
4472
  cardId: a,
4474
4473
  mappingDispositions: [],
4475
4474
  reason: "coverage",
4476
4475
  missingRequiredLabels: [],
4477
- message: `Date precision requires field metadata and valid inputs for: ${x.unresolvedCardIds.join(", ")}.`
4476
+ message: `Date precision requires field metadata and valid inputs for: ${P.unresolvedCardIds.join(", ")}.`
4478
4477
  };
4479
- v = x.allEligibleTargetsAreDateTime;
4478
+ v = P.allEligibleTargetsAreDateTime;
4480
4479
  }
4481
4480
  const D = io(u, f, v);
4482
4481
  if (D.status === "blocked")
@@ -4561,11 +4560,11 @@ function oo(e, t) {
4561
4560
  }
4562
4561
  function Va(e, t, n, o, r) {
4563
4562
  var l, u;
4564
- const { dashboard: i } = n, s = oo(i, e.id), a = s ? void 0 : n.transientContexts, c = $t({
4563
+ const { dashboard: i } = n, s = oo(i, e.id), a = s ? void 0 : n.transientContexts, c = Ut({
4565
4564
  dashboard: i,
4566
4565
  dashboardInputValues: o.dashboardInputValues,
4567
4566
  transientContexts: a
4568
- }) ? $e({
4567
+ }) ? Ue({
4569
4568
  transientContexts: a,
4570
4569
  dashboard: i,
4571
4570
  sheetId: t,
@@ -4591,7 +4590,7 @@ function Va(e, t, n, o, r) {
4591
4590
  };
4592
4591
  }
4593
4592
  function ro({ card: e, context: t }, n) {
4594
- return zt({
4593
+ return Gt({
4595
4594
  card: e,
4596
4595
  cardConfig: t.queryRelevantConfig,
4597
4596
  resolvedFields: t.resolvedDateFields,
@@ -4624,14 +4623,14 @@ function Zl({
4624
4623
  semanticExecutionPayload: c,
4625
4624
  timezone: l
4626
4625
  }) {
4627
- const u = e ? [...or(e)] : void 0, d = r ?? null, f = (I) => {
4626
+ const u = e ? [...rr(e)] : void 0, d = r ?? null, f = (I) => {
4628
4627
  var v;
4629
- return e ? xa({
4628
+ return e ? Pa({
4630
4629
  dashboard: e,
4631
4630
  runtimeValues: { dashboardInputValues: t },
4632
4631
  adHocFilterValues: n,
4633
4632
  sheetId: I,
4634
- sheetKind: Ut(
4633
+ sheetKind: Qt(
4635
4634
  (v = e.sheets) == null ? void 0 : v.find((D) => D.id === I)
4636
4635
  ) ? "document" : "dashboard",
4637
4636
  calendar: o
@@ -4651,7 +4650,7 @@ function Zl({
4651
4650
  ) : [];
4652
4651
  for (const I of p)
4653
4652
  Object.assign(g, (a == null ? void 0 : a[I.card.id]) || {});
4654
- const y = rr({
4653
+ const y = ir({
4655
4654
  filterDefinitions: u,
4656
4655
  filterValues: m
4657
4656
  }), h = Js({
@@ -4667,7 +4666,7 @@ function Zl({
4667
4666
  controlValues: g
4668
4667
  };
4669
4668
  }
4670
- function ec({
4669
+ function Xl({
4671
4670
  dashboard: e,
4672
4671
  cardId: t,
4673
4672
  transientContexts: n,
@@ -4730,18 +4729,18 @@ function ec({
4730
4729
  };
4731
4730
  }
4732
4731
  function ka(e, t, n) {
4733
- const o = t === "date" && "relativeMeta" in e ? yr(e.relativeMeta) : void 0;
4732
+ const o = t === "date" && "relativeMeta" in e ? br(e.relativeMeta) : void 0;
4734
4733
  if (!o) return { values: e.values };
4735
- const r = lr(o, n ?? void 0), i = e.operation === "between" || e.operation === "not between";
4734
+ const r = cr(o, n ?? void 0), i = e.operation === "between" || e.operation === "not between";
4736
4735
  return {
4737
4736
  values: r && i ? r : e.values,
4738
4737
  relativeMeta: o,
4739
4738
  ..."temporalPrecision" in e && e.temporalPrecision === "minute" ? { temporalPrecision: "minute" } : {}
4740
4739
  };
4741
4740
  }
4742
- function Pa(e, t, n) {
4743
- const o = t, r = sr(e);
4744
- return ar({
4741
+ function xa(e, t, n) {
4742
+ const o = t, r = ar(e);
4743
+ return lr({
4745
4744
  definition: e,
4746
4745
  sourceValue: o,
4747
4746
  value: {
@@ -4766,16 +4765,16 @@ function so(e, t, n) {
4766
4765
  s.push(a.filterId);
4767
4766
  continue;
4768
4767
  }
4769
- const u = ir(
4770
- Pa(l.filter, a, n.calendar)
4768
+ const u = sr(
4769
+ xa(l.filter, a, n.calendar)
4771
4770
  );
4772
4771
  if (u) {
4773
4772
  if (l.runtimeScope === "shared") {
4774
4773
  r = ht(r, l, {}, u);
4775
4774
  continue;
4776
4775
  }
4777
- for (const d of cn(e).values())
4778
- un(l, d) && (r = ht(
4776
+ for (const d of un(e).values())
4777
+ dn(l, d) && (r = ht(
4779
4778
  r,
4780
4779
  l,
4781
4780
  { sheetId: d.sheetId },
@@ -4785,11 +4784,11 @@ function so(e, t, n) {
4785
4784
  }
4786
4785
  return { slots: r, adHocFilterValues: i, droppedFilterIds: s };
4787
4786
  }
4788
- function xa(e) {
4787
+ function Pa(e) {
4789
4788
  const { dashboard: t, sheetId: n } = e, o = [];
4790
4789
  if (n)
4791
- for (const { input: r } of cr(t, n, e.sheetKind)) {
4792
- const i = ur({
4790
+ for (const { input: r } of ur(t, n, e.sheetKind)) {
4791
+ const i = dr({
4793
4792
  dashboard: t,
4794
4793
  input: r,
4795
4794
  runtimeValues: { dashboardInputValues: e.runtimeValues.dashboardInputValues },
@@ -4800,12 +4799,12 @@ function xa(e) {
4800
4799
  }
4801
4800
  return [...o, ...eo(e.adHocFilterValues, n)];
4802
4801
  }
4803
- function tc(e, t) {
4802
+ function ec(e, t) {
4804
4803
  switch (t.runtimeScope) {
4805
4804
  case "shared":
4806
4805
  return [{}];
4807
4806
  case "perSheet":
4808
- return [...cn(e).values()].filter((n) => un(t, n)).map((n) => ({ sheetId: n.sheetId }));
4807
+ return [...un(e).values()].filter((n) => dn(t, n)).map((n) => ({ sheetId: n.sheetId }));
4809
4808
  case "perCard": {
4810
4809
  const n = q(e);
4811
4810
  return [
@@ -4832,7 +4831,7 @@ function _t(e) {
4832
4831
  ...e.cards ?? [],
4833
4832
  ...(e.frames ?? []).flatMap((n) => n.cards),
4834
4833
  ...(((t = e.document) == null ? void 0 : t.sections) ?? []).flatMap(
4835
- (n) => dn(n)
4834
+ (n) => fn(n)
4836
4835
  )
4837
4836
  ];
4838
4837
  }
@@ -4843,7 +4842,7 @@ function wa(e, t) {
4843
4842
  cardId: t.id,
4844
4843
  sheetKind: e.kind ?? "dashboard",
4845
4844
  sectionId: (o = (n = e.document) == null ? void 0 : n.sections.find(
4846
- (r) => dn(r).some(({ id: i }) => i === t.id)
4845
+ (r) => fn(r).some(({ id: i }) => i === t.id)
4847
4846
  )) == null ? void 0 : o.id
4848
4847
  };
4849
4848
  }
@@ -4851,7 +4850,7 @@ function Oa(e, t, n, o) {
4851
4850
  var l, u, d;
4852
4851
  const r = {}, i = (l = e.preferences) == null ? void 0 : l.textVisualOptions;
4853
4852
  if (!i) return r;
4854
- const s = $e({
4853
+ const s = Ue({
4855
4854
  // Authoring: carried drill context never applies to a dashboard being edited.
4856
4855
  transientContexts: void 0,
4857
4856
  dashboard: n,
@@ -4918,128 +4917,128 @@ function Ba(e) {
4918
4917
  export {
4919
4918
  rt as $,
4920
4919
  so as A,
4921
- xa as B,
4922
- tc as C,
4920
+ Pa as B,
4921
+ ec as C,
4923
4922
  da as D,
4924
4923
  eo as E,
4925
4924
  ni as F,
4926
- nl as G,
4925
+ tl as G,
4927
4926
  di as H,
4928
4927
  Ts as I,
4929
- Pt as J,
4930
- vl as K,
4928
+ xt as J,
4929
+ Il as K,
4931
4930
  oi as L,
4932
- hl as M,
4933
- xi as N,
4934
- Pi as O,
4931
+ bl as M,
4932
+ Pi as N,
4933
+ xi as O,
4935
4934
  Vi as P,
4936
- dl as Q,
4935
+ ul as Q,
4937
4936
  Sn as R,
4938
4937
  Be as S,
4939
- sl as T,
4938
+ il as T,
4940
4939
  fs as U,
4941
4940
  ps as V,
4942
4941
  Ai as W,
4943
4942
  $ as X,
4944
- yl as Y,
4943
+ gl as Y,
4945
4944
  Bi as Z,
4946
- bl as _,
4945
+ yl as _,
4947
4946
  Hs as a,
4948
4947
  tt as a$,
4949
4948
  ot as a0,
4950
4949
  jr as a1,
4951
- fl as a2,
4952
- gl as a3,
4950
+ dl as a2,
4951
+ ml as a3,
4953
4952
  wi as a4,
4954
- cl as a5,
4953
+ ll as a5,
4955
4954
  nt as a6,
4956
4955
  An as a7,
4957
- Xl as a8,
4956
+ Jl as a8,
4958
4957
  Sa as a9,
4959
4958
  On as aA,
4960
- Yl as aB,
4961
- Ul as aC,
4959
+ Wl as aB,
4960
+ $l as aC,
4962
4961
  se as aD,
4963
4962
  yn as aE,
4964
- il as aF,
4965
- rl as aG,
4966
- ll as aH,
4963
+ rl as aF,
4964
+ ol as aG,
4965
+ al as aH,
4967
4966
  Da as aI,
4968
4967
  yi as aJ,
4969
- al as aK,
4970
- Ql as aL,
4968
+ sl as aK,
4969
+ Ul as aL,
4971
4970
  pn as aM,
4972
- pl as aN,
4973
- $l as aO,
4974
- Al as aP,
4971
+ fl as aN,
4972
+ Hl as aO,
4973
+ Ol as aP,
4975
4974
  ws as aQ,
4976
- Hl as aR,
4975
+ Gl as aR,
4977
4976
  Qn as aS,
4978
4977
  Ke as aT,
4979
- ul as aU,
4978
+ cl as aU,
4980
4979
  na as aV,
4981
4980
  Wn as aW,
4982
4981
  Ye as aX,
4983
- ml as aY,
4984
- Ml as aZ,
4985
- Vl as a_,
4982
+ pl as aY,
4983
+ Dl as aZ,
4984
+ Ml as a_,
4986
4985
  _t as aa,
4987
4986
  wa as ab,
4988
4987
  Oa as ac,
4989
4988
  Aa as ad,
4990
- Xi as ae,
4991
- jl as af,
4992
- Nl as ag,
4989
+ Zi as ae,
4990
+ Ll as af,
4991
+ ql as ag,
4993
4992
  Bn as ah,
4994
- Ll as ai,
4993
+ Nl as ai,
4995
4994
  Li as aj,
4996
4995
  pa as ak,
4997
4996
  Zl as al,
4998
4997
  aa as am,
4999
- Wl as an,
5000
- Dl as ao,
5001
- Jl as ap,
4998
+ Ql as an,
4999
+ Tl as ao,
5000
+ Yl as ap,
5002
5001
  bs as aq,
5003
5002
  hs as ar,
5004
5003
  Ta as as,
5005
- Pl as at,
5004
+ kl as at,
5006
5005
  xl as au,
5007
5006
  Is as av,
5008
5007
  Re as aw,
5009
5008
  ys as ax,
5010
5009
  vs as ay,
5011
- wl as az,
5012
- Cl as b,
5013
- Sl as b0,
5014
- Tl as b1,
5015
- kl as b2,
5010
+ Pl as az,
5011
+ hl as b,
5012
+ Fl as b0,
5013
+ Sl as b1,
5014
+ Vl as b2,
5016
5015
  gs as b3,
5017
5016
  ne as b4,
5018
- Bl as b5,
5019
- Gl as b6,
5020
- zl as b7,
5017
+ El as b5,
5018
+ zl as b6,
5019
+ jl as b7,
5021
5020
  Ji as c,
5022
5021
  la as d,
5023
5022
  ei as e,
5024
- Fl as f,
5025
- Ol as g,
5026
- ql as h,
5027
- Il as i,
5028
- Rl as j,
5023
+ vl as f,
5024
+ wl as g,
5025
+ Kl as h,
5026
+ Cl as i,
5027
+ _l as j,
5029
5028
  be as k,
5030
5029
  Gs as l,
5031
- ec as m,
5032
- Kl as n,
5030
+ Xl as m,
5031
+ Rl as n,
5033
5032
  st as o,
5034
- El as p,
5035
- Pa as q,
5036
- _l as r,
5033
+ Al as p,
5034
+ xa as q,
5035
+ Bl as r,
5037
5036
  Ds as s,
5038
5037
  Ms as t,
5039
5038
  ri as u,
5040
5039
  ai as v,
5041
5040
  gn as w,
5042
- ol as x,
5041
+ nl as x,
5043
5042
  ci as y,
5044
5043
  Ba as z
5045
5044
  };