@malloy-publisher/sdk 0.16.1 → 0.17.1
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.
- package/README.md +32 -50
- package/dist/{RenderedResult-vyM2wQbC.es.js → RenderedResult-CYJ2Y9Fm.es.js} +9 -9
- package/dist/{RenderedResult-DTM9o4Ql.cjs.js → RenderedResult-hRvgFMAF.cjs.js} +1 -1
- package/dist/ServerProvider-DeVejmVr.cjs.js +1 -0
- package/dist/{ServerProvider-lAZ5ZdQS.es.js → ServerProvider-DzzfVDg_.es.js} +1491 -1878
- package/dist/builder/index.cjs.js +12 -12
- package/dist/builder/index.es.js +4 -9
- package/dist/client/api.d.ts +312 -693
- package/dist/client/configuration.d.ts +1 -1
- package/dist/client/index.cjs.js +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.es.js +130 -141
- package/dist/components/Dashboard/DashboardGrid.d.ts +1 -1
- package/dist/components/Model/ExplorerPage.d.ts +1 -3
- package/dist/components/Model/Model.d.ts +1 -4
- package/dist/components/Model/ModelExplorer.d.ts +1 -2
- package/dist/components/Package/reportQueries.d.ts +2 -4
- package/dist/components/Report/Report.d.ts +20 -9
- package/dist/components/{legacy → Report}/malloynb/CellRunnerView.d.ts +13 -16
- package/dist/components/Report/malloynb/MalloynbReport.d.ts +11 -0
- package/dist/components/{legacy → Report}/malloynb/cellKind.d.ts +1 -1
- package/dist/components/ServerProvider.d.ts +1 -3
- package/dist/components/drill/drillClauses.d.ts +8 -9
- package/dist/components/drill/rowsTarget.d.ts +7 -9
- package/dist/components/legacy/index.d.ts +3 -7
- package/dist/components/modelPage.d.ts +2 -5
- package/dist/hooks/useModelGivens.d.ts +2 -2
- package/dist/hooks/useQueryResult.d.ts +7 -0
- package/dist/index.cjs.js +33 -33
- package/dist/index.es.js +8807 -8903
- package/dist/{useCompiledDocument-2huaKTJN.cjs.js → useCompiledDocument-BCr-xB_i.cjs.js} +5 -5
- package/dist/{useCompiledDocument-CSXZufFO.es.js → useCompiledDocument-E0tU5KzP.es.js} +268 -275
- package/package.json +1 -1
- package/src/components/Dashboard/DashboardGrid.tsx +1 -1
- package/src/components/Dashboard/DashboardTile.spec.tsx +3 -2
- package/src/components/Dashboard/DownloadRowsCsv.tsx +2 -0
- package/src/components/Dashboard/RowsDialog.actions.spec.tsx +2 -1
- package/src/components/Model/ExplorerPage.tsx +1 -3
- package/src/components/Model/Model.tsx +1 -4
- package/src/components/Model/ModelExplorer.tsx +1 -2
- package/src/components/ModelViewer/useRunQuery.spec.ts +2 -2
- package/src/components/ModelViewer/useRunQuery.ts +2 -0
- package/src/components/Package/Package.tsx +1 -5
- package/src/components/Package/reportQueries.ts +3 -15
- package/src/components/Report/Report.malloynb.spec.tsx +230 -0
- package/src/components/Report/Report.spec.tsx +429 -38
- package/src/components/Report/Report.telemetry.spec.tsx +51 -10
- package/src/components/Report/Report.tsx +63 -44
- package/src/components/{legacy → Report}/malloynb/CellRunnerView.spec.tsx +11 -44
- package/src/components/{legacy → Report}/malloynb/CellRunnerView.tsx +63 -107
- package/src/components/Report/malloynb/MalloynbReport.tsx +110 -0
- package/src/components/{legacy → Report}/malloynb/cellKind.ts +5 -4
- package/src/components/ReportBuilder/EditorSurface.tsx +3 -3
- package/src/components/ReportBuilder/ReportBuilder.spec.tsx +2 -2
- package/src/components/ReportBuilder/ReportEditor.notebook.spec.tsx +0 -4
- package/src/components/ReportBuilder/ReportEditor.queryVersion.spec.tsx +0 -1
- package/src/components/ReportBuilder/ReportEditor.resourceUri.spec.tsx +3 -3
- package/src/components/ReportBuilder/ReportEditor.tsx +1 -1
- package/src/components/ReportBuilder/loadMalloy.ts +1 -4
- package/src/components/ReportBuilder/useSaveChannel.ts +1 -6
- package/src/components/ServerProvider.tsx +0 -4
- package/src/components/drill/drillClauses.ts +8 -9
- package/src/components/drill/rowsTarget.ts +7 -9
- package/src/components/index.ts +2 -3
- package/src/components/legacy/index.ts +3 -7
- package/src/components/modelPage.ts +2 -5
- package/src/hooks/useDimensionalFilterRangeData.ts +2 -0
- package/src/hooks/useGivensState.ts +8 -8
- package/src/hooks/useModelGivens.ts +2 -2
- package/src/hooks/useQueryResult.ts +30 -16
- package/src/hooks/useRawQueryData.ts +2 -0
- package/src/hooks/useSuggestOptions.ts +2 -0
- package/test/README.md +4 -4
- package/dist/ServerProvider-DpOy4_Kf.cjs.js +0 -1
- package/dist/components/legacy/Dashboard.d.ts +0 -68
- package/dist/components/legacy/malloynb/MalloynbCells.d.ts +0 -13
- package/dist/components/legacy/malloynb/Notebook.d.ts +0 -15
- package/dist/components/legacy/queryKeys.d.ts +0 -8
- package/src/components/legacy/Dashboard.spec.tsx +0 -242
- package/src/components/legacy/Dashboard.tsx +0 -181
- package/src/components/legacy/malloynb/MalloynbCells.tsx +0 -88
- package/src/components/legacy/malloynb/Notebook.layout.spec.tsx +0 -103
- package/src/components/legacy/malloynb/Notebook.served.spec.tsx +0 -84
- package/src/components/legacy/malloynb/Notebook.spec.tsx +0 -223
- package/src/components/legacy/malloynb/Notebook.tsx +0 -46
- package/src/components/legacy/queryKeys.ts +0 -26
- /package/dist/components/{legacy → Report}/malloynb/NotebookCell.d.ts +0 -0
- /package/dist/components/{legacy → Report}/malloynb/runPlan.d.ts +0 -0
- /package/dist/components/{legacy → Report}/malloynb/types.d.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/NotebookCell.tsx +0 -0
- /package/src/components/{legacy → Report}/malloynb/cellKind.spec.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/runPlan.spec.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/runPlan.ts +0 -0
- /package/src/components/{legacy → Report}/malloynb/types.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as S, jsxs as re, Fragment as Bt } from "react/jsx-runtime";
|
|
2
2
|
import { Box as be, Dialog as Ed, DialogTitle as Od, IconButton as Qn, DialogContent as Ad, Typography as Ge, Stack as wt, DialogActions as Fd, Button as st, Tooltip as wn, TextField as Vn, InputAdornment as Wl, Alert as Ld, Autocomplete as Nd, CircularProgress as Hl, FormControl as Ki, Slider as Bd, FormHelperText as Xi, FormControlLabel as Vd, Checkbox as zd, Paper as ni, MenuItem as An, ButtonBase as Ul, Popover as _d, LinearProgress as Wd } from "@mui/material";
|
|
3
|
-
import {
|
|
3
|
+
import { bq as Ke, bv as Zn, bw as Hd, br as Jn, bp as Yl, bF as Ud } from "./ServerProvider-DzzfVDg_.es.js";
|
|
4
4
|
import * as x from "react";
|
|
5
|
-
import xt, { useState as Oe, useEffect as He, useRef as Ye, useId as jl, useMemo as Ve, useCallback as et,
|
|
5
|
+
import xt, { useState as Oe, useEffect as He, useRef as Ye, useId as jl, useMemo as Ve, useCallback as et, useContext as er, createContext as Fo, isValidElement as co, cloneElement as uo, Children as Yd, Suspense as jd, lazy as Gd } from "react";
|
|
6
6
|
import { useQueries as Gl, QueryClientContext as qd, useQuery as Kd, useMutation as Xd, keepPreviousData as Qd } from "@tanstack/react-query";
|
|
7
7
|
import { ThemeContext as Zd } from "@emotion/react";
|
|
8
8
|
import { createSpacing as Jd, unstable_createGetCssVar as ep, useTheme as tp, GlobalStyles as np, unstable_memoTheme as rp, keyframes as Br, css as ql, shouldForwardProp as op, alpha as zn } from "@mui/system";
|
|
@@ -84,7 +84,7 @@ function Zi(...e) {
|
|
|
84
84
|
function rn(e) {
|
|
85
85
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function _M(e) {
|
|
88
88
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
89
89
|
var t = e.default;
|
|
90
90
|
if (typeof t == "function") {
|
|
@@ -3114,19 +3114,19 @@ function Hh(e, t) {
|
|
|
3114
3114
|
}
|
|
3115
3115
|
const pc = Ae(/* @__PURE__ */ S("path", {
|
|
3116
3116
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
3117
|
-
})), Uh = 2, Yh = 24,
|
|
3117
|
+
})), Uh = 2, Yh = 24, WM = (e, t, n) => Math.min(Math.max(e + t, 1), Math.min(n, Yh)), Vt = 16, HM = Vt / 2;
|
|
3118
3118
|
function jh(e, t) {
|
|
3119
3119
|
const n = Math.min(e.colspan ?? 1, t);
|
|
3120
3120
|
return e.break ? `1 / span ${n}` : `span ${n}`;
|
|
3121
3121
|
}
|
|
3122
|
-
const di = 80, Gh = 3,
|
|
3122
|
+
const di = 80, Gh = 3, UM = 2, YM = 1, qh = 16, Kh = (e) => e * di + (e - 1) * Vt, jM = (e, t = Gh) => Math.min(
|
|
3123
3123
|
Math.max(
|
|
3124
3124
|
Math.round((e + Vt) / (di + Vt)),
|
|
3125
3125
|
t
|
|
3126
3126
|
),
|
|
3127
3127
|
qh
|
|
3128
3128
|
), Xh = 240;
|
|
3129
|
-
function
|
|
3129
|
+
function GM(e, t, n = Xh) {
|
|
3130
3130
|
const [r, o] = Oe(0);
|
|
3131
3131
|
return He(() => {
|
|
3132
3132
|
const s = e.current;
|
|
@@ -3155,7 +3155,7 @@ function Jh(e, t, n) {
|
|
|
3155
3155
|
};
|
|
3156
3156
|
}
|
|
3157
3157
|
const em = (e) => e.row === void 0 ? 1e6 : e.row * 1e3 + (e.col ?? 0);
|
|
3158
|
-
function
|
|
3158
|
+
function qM({
|
|
3159
3159
|
tiles: e,
|
|
3160
3160
|
columns: t,
|
|
3161
3161
|
keyOf: n,
|
|
@@ -3306,7 +3306,7 @@ function mc(e) {
|
|
|
3306
3306
|
(r) => Ns.has(r)
|
|
3307
3307
|
);
|
|
3308
3308
|
}
|
|
3309
|
-
function
|
|
3309
|
+
function KM() {
|
|
3310
3310
|
return [
|
|
3311
3311
|
"#",
|
|
3312
3312
|
...pi.filter((e) => e !== "big_value").map(
|
|
@@ -3314,7 +3314,7 @@ function XM() {
|
|
|
3314
3314
|
)
|
|
3315
3315
|
].join(" ");
|
|
3316
3316
|
}
|
|
3317
|
-
function
|
|
3317
|
+
function XM(e, t) {
|
|
3318
3318
|
return ["#", ...pi.filter(
|
|
3319
3319
|
(r) => r !== e && (t === void 0 || t.includes(r) || e === "none" && r === "big_value")
|
|
3320
3320
|
).map((r) => `-${r}`), "-viz", ...e === "none" ? [] : [e]].join(
|
|
@@ -3330,22 +3330,22 @@ function rm(e) {
|
|
|
3330
3330
|
const t = Xo(e[0]);
|
|
3331
3331
|
return t ? nm(t) : "custom";
|
|
3332
3332
|
}
|
|
3333
|
-
function
|
|
3333
|
+
function QM(e) {
|
|
3334
3334
|
const t = e.filter((n) => Xo(n));
|
|
3335
3335
|
return e.some(mc) ? "custom" : t.length === 0 ? void 0 : rm(t);
|
|
3336
3336
|
}
|
|
3337
3337
|
const om = /^#[ \t]*theme\.palette\.series[ \t]*=[ \t]*\[[ \t]*"(#[0-9A-Fa-f]{6})"[ \t]*\][ \t]*$/;
|
|
3338
|
-
function
|
|
3338
|
+
function ZM(e) {
|
|
3339
3339
|
return om.exec(e.trim())?.[1]?.toLowerCase();
|
|
3340
3340
|
}
|
|
3341
|
-
const
|
|
3342
|
-
function
|
|
3341
|
+
const JM = (e) => `# theme.palette.series=["${e.toLowerCase()}"]`, eD = "# -theme.palette.series", sm = (e) => /^#[0-9A-Fa-f]{6}$/.test(e);
|
|
3342
|
+
function tD(e) {
|
|
3343
3343
|
const t = e.trim().toLowerCase();
|
|
3344
3344
|
if (sm(t)) return t;
|
|
3345
3345
|
const n = /^#([0-9a-f])([0-9a-f])([0-9a-f])$/.exec(t);
|
|
3346
3346
|
return n ? `#${n[1]}${n[1]}${n[2]}${n[2]}${n[3]}${n[3]}` : void 0;
|
|
3347
3347
|
}
|
|
3348
|
-
const
|
|
3348
|
+
const nD = (e) => e.filter((t) => Xo(t) || mc(t)), fi = Ae(/* @__PURE__ */ S("path", {
|
|
3349
3349
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
3350
3350
|
}));
|
|
3351
3351
|
function im({
|
|
@@ -3429,7 +3429,7 @@ function im({
|
|
|
3429
3429
|
}
|
|
3430
3430
|
);
|
|
3431
3431
|
}
|
|
3432
|
-
function
|
|
3432
|
+
function rD({
|
|
3433
3433
|
open: e,
|
|
3434
3434
|
canSave: t,
|
|
3435
3435
|
onKeepEditing: n,
|
|
@@ -3455,7 +3455,7 @@ function oD({
|
|
|
3455
3455
|
const am = Ae(/* @__PURE__ */ S("path", {
|
|
3456
3456
|
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
3457
3457
|
}));
|
|
3458
|
-
function
|
|
3458
|
+
function oD({
|
|
3459
3459
|
label: e,
|
|
3460
3460
|
onClick: t,
|
|
3461
3461
|
disabled: n
|
|
@@ -3474,7 +3474,7 @@ function sD({
|
|
|
3474
3474
|
}
|
|
3475
3475
|
);
|
|
3476
3476
|
}
|
|
3477
|
-
function
|
|
3477
|
+
function sD({
|
|
3478
3478
|
label: e,
|
|
3479
3479
|
icon: t,
|
|
3480
3480
|
onClick: n,
|
|
@@ -3509,9 +3509,9 @@ const lm = Ae(/* @__PURE__ */ S("path", {
|
|
|
3509
3509
|
transition: "none",
|
|
3510
3510
|
animation: "none"
|
|
3511
3511
|
}
|
|
3512
|
-
},
|
|
3512
|
+
}, iD = () => typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth", cm = {
|
|
3513
3513
|
"@media (hover: none)": { opacity: 1 }
|
|
3514
|
-
},
|
|
3514
|
+
}, aD = (e) => e.palette.mode === "dark" ? e.palette.error.main : e.palette.error.dark;
|
|
3515
3515
|
Zn.size.control;
|
|
3516
3516
|
Zn.size.chip;
|
|
3517
3517
|
Zn.radius.control;
|
|
@@ -3551,7 +3551,7 @@ function yc(e) {
|
|
|
3551
3551
|
}
|
|
3552
3552
|
return n ?? t.at(-1);
|
|
3553
3553
|
}
|
|
3554
|
-
function
|
|
3554
|
+
function lD(e) {
|
|
3555
3555
|
const t = yc(e);
|
|
3556
3556
|
return t !== void 0 && Jo[t] !== void 0;
|
|
3557
3557
|
}
|
|
@@ -3640,7 +3640,7 @@ const bm = Ae(/* @__PURE__ */ S("path", {
|
|
|
3640
3640
|
})), Pm = Ae(/* @__PURE__ */ S("path", {
|
|
3641
3641
|
d: "M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2M3 19c0 1.1.9 2 2 2h3V10H3z"
|
|
3642
3642
|
}));
|
|
3643
|
-
function
|
|
3643
|
+
function cD(e) {
|
|
3644
3644
|
const t = e.replace(/_+/g, " ").trim();
|
|
3645
3645
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
3646
3646
|
}
|
|
@@ -3664,7 +3664,7 @@ function km({ chart: e }) {
|
|
|
3664
3664
|
return /* @__PURE__ */ S(Pm, { sx: t });
|
|
3665
3665
|
}
|
|
3666
3666
|
}
|
|
3667
|
-
function
|
|
3667
|
+
function uD({
|
|
3668
3668
|
groups: e,
|
|
3669
3669
|
query: t,
|
|
3670
3670
|
onQuery: n,
|
|
@@ -3912,13 +3912,13 @@ const Mm = /* @__PURE__ */ new Set([
|
|
|
3912
3912
|
"link",
|
|
3913
3913
|
"image"
|
|
3914
3914
|
]);
|
|
3915
|
-
function
|
|
3915
|
+
function dD(e, t) {
|
|
3916
3916
|
return t === "fill" ? "container" : t === "fixed" || !e ? "content" : Mm.has(e) ? "container" : "content";
|
|
3917
3917
|
}
|
|
3918
|
-
function
|
|
3918
|
+
function pD(e, t) {
|
|
3919
3919
|
return t === "fixed" ? !0 : t === "fill" ? !1 : e !== void 0 && Dm.has(e);
|
|
3920
3920
|
}
|
|
3921
|
-
function
|
|
3921
|
+
function fD(e) {
|
|
3922
3922
|
return e === "dashboard" ? 3 : 2;
|
|
3923
3923
|
}
|
|
3924
3924
|
function Tm(e, t) {
|
|
@@ -3927,11 +3927,11 @@ function Tm(e, t) {
|
|
|
3927
3927
|
n = n.firstElementChild;
|
|
3928
3928
|
return n;
|
|
3929
3929
|
}
|
|
3930
|
-
function
|
|
3930
|
+
function hD(e, t) {
|
|
3931
3931
|
const n = Tm(e, t);
|
|
3932
3932
|
return n && (n.scrollHeight || n.offsetHeight) || 0;
|
|
3933
3933
|
}
|
|
3934
|
-
const bc = 400,
|
|
3934
|
+
const bc = 400, mD = 700, Rm = 700;
|
|
3935
3935
|
function Im({
|
|
3936
3936
|
renderAs: e,
|
|
3937
3937
|
maxHeight: t,
|
|
@@ -3939,7 +3939,7 @@ function Im({
|
|
|
3939
3939
|
}) {
|
|
3940
3940
|
return e !== "table" || n === void 0 ? t : t === void 0 ? n : Math.min(t, n);
|
|
3941
3941
|
}
|
|
3942
|
-
const
|
|
3942
|
+
const gD = 600, yD = 800, $m = 400, Em = 2e3;
|
|
3943
3943
|
function Om(e, t) {
|
|
3944
3944
|
const n = t ?? Em;
|
|
3945
3945
|
return e === void 0 ? n : Math.min(e, n);
|
|
@@ -3964,11 +3964,11 @@ const Am = "data-publisher-tight", Fm = "publisher-result-scroller";
|
|
|
3964
3964
|
function Lm(e, t, n = 1) {
|
|
3965
3965
|
return e === 1 && t <= 2 && n === 1 ? void 0 : e;
|
|
3966
3966
|
}
|
|
3967
|
-
function
|
|
3967
|
+
function bD(e, t, n, r = 1) {
|
|
3968
3968
|
const o = { ...e }, s = Lm(t, n, r);
|
|
3969
3969
|
return s === void 0 ? delete o.colspan : o.colspan = s, o;
|
|
3970
3970
|
}
|
|
3971
|
-
function
|
|
3971
|
+
function vD(e, t) {
|
|
3972
3972
|
if (e === "linear")
|
|
3973
3973
|
return {
|
|
3974
3974
|
layout: "linear",
|
|
@@ -4005,7 +4005,7 @@ function Nm(e, t, n, r = vc, o = [n]) {
|
|
|
4005
4005
|
(s) => s.kind === "names" ? s.names.includes(t) : o.includes(xc(s.from, r))
|
|
4006
4006
|
);
|
|
4007
4007
|
}
|
|
4008
|
-
function
|
|
4008
|
+
function SD(e, t, n, r = vc, o = [n]) {
|
|
4009
4009
|
const { imports: s } = e;
|
|
4010
4010
|
if (Nm(e, t, n, r, o))
|
|
4011
4011
|
return s;
|
|
@@ -4023,7 +4023,7 @@ function xD(e, t, n, r = vc, o = [n]) {
|
|
|
4023
4023
|
(a, l) => l === i && a.kind === "names" ? { ...a, names: [...a.names, t] } : a
|
|
4024
4024
|
);
|
|
4025
4025
|
}
|
|
4026
|
-
const
|
|
4026
|
+
const xD = Ae(/* @__PURE__ */ S("path", {
|
|
4027
4027
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"
|
|
4028
4028
|
})), Bm = Ae(/* @__PURE__ */ S("path", {
|
|
4029
4029
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m-5.5-2.5 7.51-3.49L17.5 6.5 9.99 9.99zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1"
|
|
@@ -4100,7 +4100,7 @@ function Hm({ error: e, context: t }) {
|
|
|
4100
4100
|
const n = e.data?.message || "Unknown error";
|
|
4101
4101
|
return /* @__PURE__ */ S(Wm, { summary: t, detail: n });
|
|
4102
4102
|
}
|
|
4103
|
-
function
|
|
4103
|
+
function wD(e) {
|
|
4104
4104
|
const t = Um(e);
|
|
4105
4105
|
return {
|
|
4106
4106
|
name: e.name,
|
|
@@ -4137,7 +4137,7 @@ const Ym = {
|
|
|
4137
4137
|
"\b": "\\b",
|
|
4138
4138
|
"\f": "\\f"
|
|
4139
4139
|
}, jm = (e) => `\\u${e.charCodeAt(0).toString(16).padStart(4, "0")}`;
|
|
4140
|
-
function
|
|
4140
|
+
function CD(e, t) {
|
|
4141
4141
|
if (e == null || e === "") return;
|
|
4142
4142
|
const n = (o) => `'${Cc(o)}'`;
|
|
4143
4143
|
switch (t === void 0 ? Gm(e) : t.startsWith("filter<") ? "filter" : t) {
|
|
@@ -4184,17 +4184,17 @@ function Ma(e) {
|
|
|
4184
4184
|
return e instanceof Date ? Number.isNaN(e.getTime()) ? void 0 : e.toISOString().slice(0, 10) : /^(\d{4}-\d{2}-\d{2})/.exec(String(e))?.[1];
|
|
4185
4185
|
}
|
|
4186
4186
|
const Km = /^\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?$/;
|
|
4187
|
-
function
|
|
4187
|
+
function PD(e, t = !1) {
|
|
4188
4188
|
return e == null ? "null" : e instanceof Date ? `@${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}` : t && typeof e == "string" && Km.test(e) ? `@${e}` : typeof e == "string" ? `'${Cc(e)}'` : typeof e == "number" ? String(e) : e ? "true" : "false";
|
|
4189
4189
|
}
|
|
4190
4190
|
const Wn = "malloy-publisher.report-draft:", Hn = {
|
|
4191
4191
|
storage: () => window.localStorage
|
|
4192
4192
|
};
|
|
4193
|
-
function
|
|
4193
|
+
function kD(e) {
|
|
4194
4194
|
const { server: t, environmentName: n, packageName: r, versionId: o, path: s } = e;
|
|
4195
4195
|
return `${t}|${n}/${r}@${o ?? ""}/${s}`;
|
|
4196
4196
|
}
|
|
4197
|
-
function
|
|
4197
|
+
function MD(e) {
|
|
4198
4198
|
if (typeof e == "string") {
|
|
4199
4199
|
ho(e);
|
|
4200
4200
|
return;
|
|
@@ -4216,7 +4216,7 @@ function DD(e) {
|
|
|
4216
4216
|
} catch {
|
|
4217
4217
|
}
|
|
4218
4218
|
}
|
|
4219
|
-
function
|
|
4219
|
+
function DD() {
|
|
4220
4220
|
try {
|
|
4221
4221
|
const e = `${Wn}probe`;
|
|
4222
4222
|
return Hn.storage().setItem(e, "1"), Hn.storage().removeItem(e), !0;
|
|
@@ -4258,7 +4258,7 @@ function ws(e, t) {
|
|
|
4258
4258
|
for (const r of Object.keys(n)) delete n[r];
|
|
4259
4259
|
Object.assign(n, structuredClone(t));
|
|
4260
4260
|
}
|
|
4261
|
-
function
|
|
4261
|
+
function TD(e, t, n) {
|
|
4262
4262
|
const [r, o] = Oe(), [s, i] = Oe(), [a, l] = Oe(!1), c = Ye(void 0), u = Ye(void 0), d = Ye(!1), h = Xm(n), g = Ye(t);
|
|
4263
4263
|
g.current = t;
|
|
4264
4264
|
const p = Ye(!1);
|
|
@@ -4329,7 +4329,7 @@ function zs(e, t) {
|
|
|
4329
4329
|
}
|
|
4330
4330
|
} : Pc;
|
|
4331
4331
|
}
|
|
4332
|
-
function
|
|
4332
|
+
function RD(e, t) {
|
|
4333
4333
|
const n = Ye(t);
|
|
4334
4334
|
n.current = t;
|
|
4335
4335
|
const r = t !== void 0, { path: o, layout: s } = e;
|
|
@@ -4837,7 +4837,7 @@ function Oc(e) {
|
|
|
4837
4837
|
function Ra(e) {
|
|
4838
4838
|
return e.moment === "literal" && pg.test(e.literal) ? e.literal : void 0;
|
|
4839
4839
|
}
|
|
4840
|
-
const
|
|
4840
|
+
const ID = "self";
|
|
4841
4841
|
function hg(e) {
|
|
4842
4842
|
if (!e) return [];
|
|
4843
4843
|
if (e.wasDimension && !e.wasDimension()) return [];
|
|
@@ -4867,7 +4867,7 @@ function mi(e) {
|
|
|
4867
4867
|
function yg(e) {
|
|
4868
4868
|
return e instanceof Date ? mi(e) ?? "" : String(e);
|
|
4869
4869
|
}
|
|
4870
|
-
function
|
|
4870
|
+
function $D(e) {
|
|
4871
4871
|
if (!e || e.isHeader) return;
|
|
4872
4872
|
const t = e.field;
|
|
4873
4873
|
if (!t) return;
|
|
@@ -5222,7 +5222,7 @@ function Dg({
|
|
|
5222
5222
|
return { draft: I, applied: R, setGiven: $, reset: b, apply: E, pending: T, atStart: D };
|
|
5223
5223
|
}
|
|
5224
5224
|
const Tg = "You don't have access to this data";
|
|
5225
|
-
function
|
|
5225
|
+
function ED(e) {
|
|
5226
5226
|
return (e ?? []).filter((t) => t.kind === "definition" && !t.restricted).map((t) => t.text ?? "").join(`
|
|
5227
5227
|
|
|
5228
5228
|
`);
|
|
@@ -5238,13 +5238,13 @@ function Rg(e) {
|
|
|
5238
5238
|
function Un(e) {
|
|
5239
5239
|
return `\`${e.replace(/\\/g, "\\\\").replace(/`/g, "\\`")}\``;
|
|
5240
5240
|
}
|
|
5241
|
-
function
|
|
5241
|
+
function OD(e, t) {
|
|
5242
5242
|
return `run: ${Un(e)} -> ${Un(t)}`;
|
|
5243
5243
|
}
|
|
5244
|
-
function
|
|
5244
|
+
function AD(e) {
|
|
5245
5245
|
return `run: ${Un(e)}`;
|
|
5246
5246
|
}
|
|
5247
|
-
function
|
|
5247
|
+
function FD(e, t, n) {
|
|
5248
5248
|
const r = Un(t);
|
|
5249
5249
|
return [
|
|
5250
5250
|
`run: ${Un(e)} -> {`,
|
|
@@ -5369,6 +5369,8 @@ function Lg(e, t, n, r, o, s, i, a, l) {
|
|
|
5369
5369
|
givens: I
|
|
5370
5370
|
},
|
|
5371
5371
|
void 0,
|
|
5372
|
+
// versionId: carried in the body.
|
|
5373
|
+
void 0,
|
|
5372
5374
|
{ signal: b }
|
|
5373
5375
|
);
|
|
5374
5376
|
return Ng(
|
|
@@ -5459,7 +5461,7 @@ function Vg(e, t) {
|
|
|
5459
5461
|
}
|
|
5460
5462
|
return n;
|
|
5461
5463
|
}
|
|
5462
|
-
function
|
|
5464
|
+
function LD({
|
|
5463
5465
|
specs: e,
|
|
5464
5466
|
loaded: t,
|
|
5465
5467
|
startingValues: n,
|
|
@@ -6917,7 +6919,7 @@ function ot(e = []) {
|
|
|
6917
6919
|
function Ky(e) {
|
|
6918
6920
|
return me("MuiTypography", e);
|
|
6919
6921
|
}
|
|
6920
|
-
const
|
|
6922
|
+
const ND = fe("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]), Xy = {
|
|
6921
6923
|
primary: !0,
|
|
6922
6924
|
secondary: !0,
|
|
6923
6925
|
error: !0,
|
|
@@ -22690,12 +22692,12 @@ function qP({
|
|
|
22690
22692
|
return s ? /* @__PURE__ */ S(wn, { title: n, children: i }) : i;
|
|
22691
22693
|
}
|
|
22692
22694
|
const Ui = (e) => e.required === !0, KP = (e, t) => e == null || e === "" && !Lc(t);
|
|
22693
|
-
function
|
|
22695
|
+
function BD(e, t, n) {
|
|
22694
22696
|
return e.filter(
|
|
22695
22697
|
(r) => r.name !== void 0 && Ui(r) && KP(t.get(r.name), r.type) && (n?.[r.name] === void 0 || n[r.name] === null)
|
|
22696
22698
|
);
|
|
22697
22699
|
}
|
|
22698
|
-
function
|
|
22700
|
+
function VD(e, t) {
|
|
22699
22701
|
if (!t || e.length === 0) return [];
|
|
22700
22702
|
const n = new Set(t);
|
|
22701
22703
|
return e.filter((r) => r.name && n.has(r.name));
|
|
@@ -22704,11 +22706,11 @@ const hd = (e) => e.label ?? e.name ?? "";
|
|
|
22704
22706
|
function md(e) {
|
|
22705
22707
|
return e.length < 2 ? e.join("") : `${e.slice(0, -1).join(", ")} and ${e[e.length - 1]}`;
|
|
22706
22708
|
}
|
|
22707
|
-
function
|
|
22709
|
+
function zD(e) {
|
|
22708
22710
|
const t = e.map(hd);
|
|
22709
22711
|
return `Pick a value for ${md(t)} to see this report.`;
|
|
22710
22712
|
}
|
|
22711
|
-
function
|
|
22713
|
+
function _D(e) {
|
|
22712
22714
|
return `Waiting for ${md(e.map(hd))}.`;
|
|
22713
22715
|
}
|
|
22714
22716
|
const Js = 28, XP = /^\d{4}-\d{2}-\d{2}$/, gd = new Intl.DateTimeFormat("en-US", {
|
|
@@ -22765,7 +22767,7 @@ function bd(e, t, n) {
|
|
|
22765
22767
|
function JP(e, t) {
|
|
22766
22768
|
return bd(e, t, !1);
|
|
22767
22769
|
}
|
|
22768
|
-
function
|
|
22770
|
+
function WD(e, t) {
|
|
22769
22771
|
return bd(e, t, !0);
|
|
22770
22772
|
}
|
|
22771
22773
|
function ek(e) {
|
|
@@ -23118,7 +23120,7 @@ function sk() {
|
|
|
23118
23120
|
) }) })
|
|
23119
23121
|
);
|
|
23120
23122
|
}
|
|
23121
|
-
function
|
|
23123
|
+
function HD({
|
|
23122
23124
|
givens: e,
|
|
23123
23125
|
values: t,
|
|
23124
23126
|
onChange: n,
|
|
@@ -23351,7 +23353,7 @@ const ck = (e) => ({
|
|
|
23351
23353
|
function uk({ alt: e }) {
|
|
23352
23354
|
return /* @__PURE__ */ S(Bt, { children: e });
|
|
23353
23355
|
}
|
|
23354
|
-
function
|
|
23356
|
+
function UD({
|
|
23355
23357
|
children: e,
|
|
23356
23358
|
variant: t = "caption",
|
|
23357
23359
|
links: n,
|
|
@@ -23485,7 +23487,7 @@ function mk(e) {
|
|
|
23485
23487
|
`)
|
|
23486
23488
|
};
|
|
23487
23489
|
}
|
|
23488
|
-
const gk = Gd(() => import("./RenderedResult-
|
|
23490
|
+
const gk = Gd(() => import("./RenderedResult-CYJ2Y9Fm.es.js").then((e) => e.c));
|
|
23489
23491
|
function yk({
|
|
23490
23492
|
result: e,
|
|
23491
23493
|
maxHeight: t,
|
|
@@ -23735,7 +23737,7 @@ function bk({
|
|
|
23735
23737
|
const Ll = () => typeof performance < "u" ? performance.now() : Date.now(), vk = Ae(/* @__PURE__ */ S("path", {
|
|
23736
23738
|
d: "m16.95 6-3.57 4.55 1.43 1.43c1.03-1.31 4.98-6.37 4.98-6.37C20.3 4.95 19.83 4 19 4H6.83l2 2zM2.81 2.81 1.39 4.22 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-2.17l5.78 5.78 1.41-1.41z"
|
|
23737
23739
|
})), Sk = 3;
|
|
23738
|
-
function
|
|
23740
|
+
function YD(e, t) {
|
|
23739
23741
|
if (e === void 0) return [];
|
|
23740
23742
|
const n = new Set(e);
|
|
23741
23743
|
return t.flatMap(
|
|
@@ -23789,7 +23791,7 @@ function wk({ ignored: e }) {
|
|
|
23789
23791
|
}
|
|
23790
23792
|
);
|
|
23791
23793
|
}
|
|
23792
|
-
const Ck = /\.malloy(nb)?$/,
|
|
23794
|
+
const Ck = /\.malloy(nb)?$/, jD = (e) => e && e.slice(e.lastIndexOf("/") + 1).replace(Ck, "") || void 0, Pk = (e) => e.replace(/\.malloy$/, "").split("/").map(encodeURIComponent).join("/"), kk = (e, t, n) => `/${encodeURIComponent(e)}/${encodeURIComponent(t)}/${Pk(n)}`, Mk = "edit", GD = (e, t, n) => `${kk(e, t, n)}?${Mk}`, Dk = (e) => e.layout === "linear" ? "linear" : "grid", Tk = (e) => ({
|
|
23793
23795
|
layout: Dk(e),
|
|
23794
23796
|
path: e.path,
|
|
23795
23797
|
editable: e.editable !== !1
|
|
@@ -23803,7 +23805,7 @@ function Rk(e) {
|
|
|
23803
23805
|
(t) => t !== "" && t !== "." && t !== ".."
|
|
23804
23806
|
);
|
|
23805
23807
|
}
|
|
23806
|
-
function
|
|
23808
|
+
function qD(e, t) {
|
|
23807
23809
|
if (!Rk(e)) return { kind: "unresolved" };
|
|
23808
23810
|
for (const n of [`${e}.malloy`, e]) {
|
|
23809
23811
|
const r = wd(n, t);
|
|
@@ -23848,7 +23850,7 @@ function Ek(e, t, n, r = !0) {
|
|
|
23848
23850
|
refetch: s.refetch
|
|
23849
23851
|
};
|
|
23850
23852
|
}
|
|
23851
|
-
function
|
|
23853
|
+
function KD(e, t, n, r) {
|
|
23852
23854
|
const { reports: o, settled: s } = Ek(
|
|
23853
23855
|
e,
|
|
23854
23856
|
t,
|
|
@@ -23864,7 +23866,7 @@ const Cd = 20, Ok = {
|
|
|
23864
23866
|
radius: "8px",
|
|
23865
23867
|
padding: `${Cd}px`
|
|
23866
23868
|
};
|
|
23867
|
-
function
|
|
23869
|
+
function XD(e, t = Ok) {
|
|
23868
23870
|
return {
|
|
23869
23871
|
"--malloy-render--font-family": e.font.family,
|
|
23870
23872
|
"--malloy-render--table-font-size": `${e.font.size}px`,
|
|
@@ -24043,7 +24045,7 @@ function zk() {
|
|
|
24043
24045
|
}, []), stuck: e };
|
|
24044
24046
|
}
|
|
24045
24047
|
const _k = 4, Wk = "--publisher-sticky-top", Hk = 2;
|
|
24046
|
-
function
|
|
24048
|
+
function QD({
|
|
24047
24049
|
layout: e,
|
|
24048
24050
|
notice: t,
|
|
24049
24051
|
header: n,
|
|
@@ -24066,7 +24068,7 @@ function ZD({
|
|
|
24066
24068
|
}
|
|
24067
24069
|
);
|
|
24068
24070
|
}
|
|
24069
|
-
function
|
|
24071
|
+
function ZD({
|
|
24070
24072
|
title: e,
|
|
24071
24073
|
description: t,
|
|
24072
24074
|
actions: n
|
|
@@ -24088,13 +24090,13 @@ function JD({
|
|
|
24088
24090
|
t
|
|
24089
24091
|
] });
|
|
24090
24092
|
}
|
|
24091
|
-
function
|
|
24093
|
+
function JD({
|
|
24092
24094
|
sx: e,
|
|
24093
24095
|
children: t
|
|
24094
24096
|
}) {
|
|
24095
24097
|
return /* @__PURE__ */ S(Pd, { chrome: "none", kind: "text", ...e ? { sx: e } : {}, children: t });
|
|
24096
24098
|
}
|
|
24097
|
-
function
|
|
24099
|
+
function eT({ children: e }) {
|
|
24098
24100
|
const { theme: t } = Ke(), { stickyRef: n, stuck: r } = zk();
|
|
24099
24101
|
return /* @__PURE__ */ S(
|
|
24100
24102
|
be,
|
|
@@ -24146,7 +24148,7 @@ const Uk = (e) => {
|
|
|
24146
24148
|
if (n.versionId = t.searchParams.get("versionId") || void 0, !n.environmentName)
|
|
24147
24149
|
throw new Error(`Failed to parse resource URI: ${e}`);
|
|
24148
24150
|
return n;
|
|
24149
|
-
},
|
|
24151
|
+
}, tT = (e) => {
|
|
24150
24152
|
if (!e.environmentName)
|
|
24151
24153
|
throw new Error(
|
|
24152
24154
|
`Failed to encode resource URI, missing environment name: ${e}`
|
|
@@ -24159,20 +24161,17 @@ function Yi(e, t) {
|
|
|
24159
24161
|
const n = e.default;
|
|
24160
24162
|
return n?.[t] ? n : e;
|
|
24161
24163
|
}
|
|
24162
|
-
const
|
|
24164
|
+
const Yk = (e) => Yi(e, "MalloyTranslator"), jk = (e) => Yi(e, "parseAnnotation"), Gk = (e) => Yi(e, "ASTQuery");
|
|
24163
24165
|
async function nT() {
|
|
24164
|
-
return
|
|
24166
|
+
return Yk(await import("@malloydata/malloy"));
|
|
24165
24167
|
}
|
|
24166
24168
|
async function rT() {
|
|
24167
|
-
return
|
|
24169
|
+
return jk(await import("@malloydata/malloy-tag"));
|
|
24168
24170
|
}
|
|
24169
24171
|
async function oT() {
|
|
24170
|
-
return
|
|
24171
|
-
// eslint-disable-next-line no-restricted-syntax -- the query builder's one loader, for the Explorer; every other rule still holds in this file
|
|
24172
|
-
await import("@malloydata/malloy-query-builder")
|
|
24173
|
-
);
|
|
24172
|
+
return Gk(await import("@malloydata/malloy-query-builder"));
|
|
24174
24173
|
}
|
|
24175
|
-
async function
|
|
24174
|
+
async function qk(e) {
|
|
24176
24175
|
const t = await crypto.subtle.digest(
|
|
24177
24176
|
"SHA-256",
|
|
24178
24177
|
new TextEncoder().encode(e)
|
|
@@ -24185,7 +24184,7 @@ async function Kk(e) {
|
|
|
24185
24184
|
function sT(e) {
|
|
24186
24185
|
return e.find((t) => t.authoritative) ?? e.find((t) => t.writeable);
|
|
24187
24186
|
}
|
|
24188
|
-
function
|
|
24187
|
+
function Kk({
|
|
24189
24188
|
authoritative: e,
|
|
24190
24189
|
mutable: t,
|
|
24191
24190
|
versionId: n,
|
|
@@ -24200,7 +24199,7 @@ function Xk({
|
|
|
24200
24199
|
};
|
|
24201
24200
|
}
|
|
24202
24201
|
async function iT(e, t) {
|
|
24203
|
-
return e ?? (t === void 0 ? void 0 : await
|
|
24202
|
+
return e ?? (t === void 0 ? void 0 : await qk(t));
|
|
24204
24203
|
}
|
|
24205
24204
|
function aT({
|
|
24206
24205
|
authoritative: e,
|
|
@@ -24215,7 +24214,7 @@ function aT({
|
|
|
24215
24214
|
function lT(e) {
|
|
24216
24215
|
return e instanceof Error ? e.message : String(e);
|
|
24217
24216
|
}
|
|
24218
|
-
function
|
|
24217
|
+
function Xk(e) {
|
|
24219
24218
|
const t = e.response?.data;
|
|
24220
24219
|
return t?.message ? t.message : e instanceof Error ? e.message : String(e);
|
|
24221
24220
|
}
|
|
@@ -24242,7 +24241,7 @@ async function cT({
|
|
|
24242
24241
|
} catch (h) {
|
|
24243
24242
|
for (const g of a)
|
|
24244
24243
|
t.invalidateQueries({ queryKey: g });
|
|
24245
|
-
throw new Error(
|
|
24244
|
+
throw new Error(Xk(h));
|
|
24246
24245
|
}
|
|
24247
24246
|
const d = u.data.contentHash;
|
|
24248
24247
|
await c?.(d);
|
|
@@ -24279,16 +24278,16 @@ function dT(e) {
|
|
|
24279
24278
|
namesBoth: !!t?.environmentName && !!t?.packageName
|
|
24280
24279
|
};
|
|
24281
24280
|
}
|
|
24282
|
-
class
|
|
24281
|
+
class Qk extends Error {
|
|
24283
24282
|
constructor(t) {
|
|
24284
24283
|
super(t), this.name = "DocumentNotFoundError";
|
|
24285
24284
|
}
|
|
24286
24285
|
}
|
|
24287
|
-
const
|
|
24286
|
+
const Zk = (e) => e instanceof Qk || e instanceof Error && e.name === "DocumentNotFoundError", Jk = String.raw`##?\|?[ \t]*(?:[([{<][ \t]*)?(?:(?:(?:row|source)[-_]?)?authorize|access[-_]?filter)(?=[)\]}>]|[ \t]|$)`;
|
|
24288
24287
|
function kd(e, t) {
|
|
24289
24288
|
if (/[\r\n]/.test(t))
|
|
24290
24289
|
return `A ${e} is one line; it cannot hold a line break.`;
|
|
24291
|
-
if (new RegExp(
|
|
24290
|
+
if (new RegExp(Jk, "iu").test(t))
|
|
24292
24291
|
return `A ${e} cannot contain what reads as an access-control tag (authorize, row_authorize, source_authorize or access_filter).`;
|
|
24293
24292
|
}
|
|
24294
24293
|
const yr = (e) => Kl(e) ? e : `\`${e}\``;
|
|
@@ -24308,11 +24307,11 @@ function Md(e) {
|
|
|
24308
24307
|
if (a.trim() === "" || /[`\r\n\\]/.test(a))
|
|
24309
24308
|
return `The ${i} name ${JSON.stringify(a)} cannot be written as a Malloy name.`;
|
|
24310
24309
|
}
|
|
24311
|
-
const
|
|
24310
|
+
const eM = (e) => {
|
|
24312
24311
|
const t = e.replace(/[-_]+/g, " ").trim();
|
|
24313
24312
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
24314
|
-
}, Nl = (e) => `"${e.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`,
|
|
24315
|
-
function ji(e, t, n =
|
|
24313
|
+
}, Nl = (e) => `"${e.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`, tM = "report.malloy";
|
|
24314
|
+
function ji(e, t, n = tM) {
|
|
24316
24315
|
const r = Md(e);
|
|
24317
24316
|
if (r) throw new Error(r);
|
|
24318
24317
|
const { modelPath: o, source: s, view: i } = e, a = e.title.trim(), l = Nl(a), c = yr(`${s}_tiles`), u = yr(`${i}_tile`), d = `"${c} -> ${u}"`;
|
|
@@ -24328,7 +24327,7 @@ function ji(e, t, n = nM) {
|
|
|
24328
24327
|
"",
|
|
24329
24328
|
`source: ${c} is ${yr(s)} extend {`,
|
|
24330
24329
|
// The view's title, not the extension's `<view>_tile` name humanized.
|
|
24331
|
-
` # label=${Nl(
|
|
24330
|
+
` # label=${Nl(eM(i))}`,
|
|
24332
24331
|
` view: ${u} is ${yr(i)}`,
|
|
24333
24332
|
"}",
|
|
24334
24333
|
""
|
|
@@ -24338,10 +24337,10 @@ function ji(e, t, n = nM) {
|
|
|
24338
24337
|
function pT(e, t) {
|
|
24339
24338
|
return ji(e, "linear", t);
|
|
24340
24339
|
}
|
|
24341
|
-
function
|
|
24340
|
+
function nM(e) {
|
|
24342
24341
|
return e.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "").slice(0, 80);
|
|
24343
24342
|
}
|
|
24344
|
-
function
|
|
24343
|
+
function rM({
|
|
24345
24344
|
title: e,
|
|
24346
24345
|
modelPath: t,
|
|
24347
24346
|
source: n,
|
|
@@ -24356,7 +24355,7 @@ function oM({
|
|
|
24356
24355
|
return /["\\\r\n]/.test(t) ? `The model path ${JSON.stringify(t)} cannot be written into an import.` : kd("title", e);
|
|
24357
24356
|
}
|
|
24358
24357
|
function fT(e, t) {
|
|
24359
|
-
const n =
|
|
24358
|
+
const n = rM(e);
|
|
24360
24359
|
if (n) throw new Error(n);
|
|
24361
24360
|
return ji(e, "grid", t);
|
|
24362
24361
|
}
|
|
@@ -24364,28 +24363,28 @@ const Dd = (e) => (
|
|
|
24364
24363
|
// Split rather than trim with `^\/+|\/+$`, which backtracks polynomially on a run of slashes.
|
|
24365
24364
|
(e ?? "").trim().replace(/\\/g, "/").split("/").filter((t) => t !== "").join("/")
|
|
24366
24365
|
);
|
|
24367
|
-
function
|
|
24366
|
+
function oM(e, t) {
|
|
24368
24367
|
const n = Dd(t);
|
|
24369
24368
|
return `${n === "" ? "" : `${n}/`}${e}.malloy`;
|
|
24370
24369
|
}
|
|
24371
|
-
function
|
|
24372
|
-
return
|
|
24370
|
+
function sM(e) {
|
|
24371
|
+
return nM(e) || "untitled";
|
|
24373
24372
|
}
|
|
24374
|
-
function
|
|
24375
|
-
const r =
|
|
24376
|
-
return
|
|
24373
|
+
function iM(e, t = 1, n) {
|
|
24374
|
+
const r = sM(e);
|
|
24375
|
+
return oM(t > 1 ? `${r}-${t}` : r, n);
|
|
24377
24376
|
}
|
|
24378
|
-
const
|
|
24377
|
+
const aM = (e, t, n) => `${e}/${t}/${n}`, lM = (e, t, n, r, o) => ({
|
|
24379
24378
|
workspace: t,
|
|
24380
24379
|
type: e,
|
|
24381
|
-
path:
|
|
24380
|
+
path: aM(n, r, o)
|
|
24382
24381
|
}), Td = 20;
|
|
24383
24382
|
function hT(e) {
|
|
24384
|
-
const { savesTo: t, writer: n } =
|
|
24383
|
+
const { savesTo: t, writer: n } = Kk({ ...e, readFailed: !1 });
|
|
24385
24384
|
return t === "browser" ? void 0 : n;
|
|
24386
24385
|
}
|
|
24387
24386
|
const Bl = (e) => e.slice(e.lastIndexOf("/") + 1).replace(/\.malloy$/, "");
|
|
24388
|
-
function
|
|
24387
|
+
function cM(e) {
|
|
24389
24388
|
if (!e.endsWith(".malloy"))
|
|
24390
24389
|
return "A report's file name ends in .malloy.";
|
|
24391
24390
|
const t = e.split("/");
|
|
@@ -24401,7 +24400,7 @@ async function mT(e) {
|
|
|
24401
24400
|
const t = e.layout ?? "linear", n = Ll();
|
|
24402
24401
|
let r;
|
|
24403
24402
|
try {
|
|
24404
|
-
r = await
|
|
24403
|
+
r = await uM(e, t);
|
|
24405
24404
|
} catch (o) {
|
|
24406
24405
|
throw zs({ path: e.path ?? "", layout: t }, e.onEvent).emit(
|
|
24407
24406
|
{
|
|
@@ -24416,15 +24415,15 @@ async function mT(e) {
|
|
|
24416
24415
|
durationMs: Ll() - n
|
|
24417
24416
|
}), e.onCreated?.(r), r;
|
|
24418
24417
|
}
|
|
24419
|
-
async function
|
|
24418
|
+
async function uM(e, t) {
|
|
24420
24419
|
const { document: n, target: r } = e, o = Md(n);
|
|
24421
24420
|
if (o) throw new Error(o);
|
|
24422
24421
|
const s = Dd(e.directory), i = e.path !== void 0 ? [e.path] : Array.from(
|
|
24423
24422
|
{ length: Td },
|
|
24424
|
-
(f, m) =>
|
|
24423
|
+
(f, m) => iM(n.title, m + 1, s)
|
|
24425
24424
|
);
|
|
24426
24425
|
for (const f of i) {
|
|
24427
|
-
const m =
|
|
24426
|
+
const m = cM(f);
|
|
24428
24427
|
if (m) throw new Error(m);
|
|
24429
24428
|
}
|
|
24430
24429
|
const a = (f) => ji(n, t, f);
|
|
@@ -24437,7 +24436,7 @@ async function dM(e, t) {
|
|
|
24437
24436
|
await r.write(w, a(w)), m = w;
|
|
24438
24437
|
break;
|
|
24439
24438
|
} catch (k) {
|
|
24440
|
-
if (!
|
|
24439
|
+
if (!pM(k)) throw k;
|
|
24441
24440
|
}
|
|
24442
24441
|
if (m === void 0) throw Vl(n.title, e.path);
|
|
24443
24442
|
return { layout: t, path: m, slug: Bl(m) };
|
|
@@ -24447,7 +24446,7 @@ async function dM(e, t) {
|
|
|
24447
24446
|
);
|
|
24448
24447
|
let p;
|
|
24449
24448
|
for (const f of i) {
|
|
24450
|
-
const m =
|
|
24449
|
+
const m = lM(
|
|
24451
24450
|
t,
|
|
24452
24451
|
c.name,
|
|
24453
24452
|
u,
|
|
@@ -24460,7 +24459,7 @@ async function dM(e, t) {
|
|
|
24460
24459
|
try {
|
|
24461
24460
|
await l.getDocument(m);
|
|
24462
24461
|
} catch (v) {
|
|
24463
|
-
if (!
|
|
24462
|
+
if (!Zk(v)) throw v;
|
|
24464
24463
|
k = !1;
|
|
24465
24464
|
}
|
|
24466
24465
|
if (!k) {
|
|
@@ -24471,20 +24470,20 @@ async function dM(e, t) {
|
|
|
24471
24470
|
if (p === void 0) throw Vl(n.title, e.path);
|
|
24472
24471
|
return await l.saveDocument(p.locator, a(p.path)), p;
|
|
24473
24472
|
}
|
|
24474
|
-
const
|
|
24475
|
-
function
|
|
24473
|
+
const dM = /^`[^`]+` already exists in the package\b/;
|
|
24474
|
+
function pM(e) {
|
|
24476
24475
|
const t = e?.response;
|
|
24477
24476
|
if (t?.status !== 409) return !1;
|
|
24478
24477
|
const n = t.data?.reason;
|
|
24479
24478
|
if (n === "FILE_EXISTS") return !0;
|
|
24480
24479
|
if (n != null) return !1;
|
|
24481
24480
|
const r = t.data?.message;
|
|
24482
|
-
return typeof r == "string" &&
|
|
24481
|
+
return typeof r == "string" && dM.test(r);
|
|
24483
24482
|
}
|
|
24484
24483
|
const Vl = (e, t) => new Error(
|
|
24485
24484
|
t !== void 0 ? `${t} already exists. Fix: choose a different location.` : `No free file name for "${e}" after ${Td} tries. Fix: choose a different title.`
|
|
24486
24485
|
);
|
|
24487
|
-
function
|
|
24486
|
+
function fM(e) {
|
|
24488
24487
|
try {
|
|
24489
24488
|
const t = JSON.parse(e ?? "");
|
|
24490
24489
|
return new Set(
|
|
@@ -24502,7 +24501,7 @@ function zl(e) {
|
|
|
24502
24501
|
if (n) return n[1].trim();
|
|
24503
24502
|
}
|
|
24504
24503
|
}
|
|
24505
|
-
function
|
|
24504
|
+
function hM(e) {
|
|
24506
24505
|
for (const t of e ?? []) {
|
|
24507
24506
|
const n = /^#\s*(?:-[A-Za-z_]+\s+)*([a-z_]+)/.exec(t.trim())?.[1];
|
|
24508
24507
|
if (n && hc.includes(n)) return n;
|
|
@@ -24540,14 +24539,14 @@ function gT({
|
|
|
24540
24539
|
}), l = a.map((p) => p.dataUpdatedAt).join(), c = Ve(() => {
|
|
24541
24540
|
const p = /* @__PURE__ */ new Map();
|
|
24542
24541
|
return a.forEach((f, m) => {
|
|
24543
|
-
const w = [], k =
|
|
24542
|
+
const w = [], k = fM(f.data?.modelInfo);
|
|
24544
24543
|
for (const v of f.data?.sources ?? []) {
|
|
24545
24544
|
if (typeof v.name != "string" || !k.has(v.name))
|
|
24546
24545
|
continue;
|
|
24547
24546
|
const y = zl(v.annotations);
|
|
24548
24547
|
for (const P of v.views ?? [])
|
|
24549
24548
|
if (typeof P.name == "string") {
|
|
24550
|
-
const C = zl(P.annotations), I =
|
|
24549
|
+
const C = zl(P.annotations), I = hM(P.annotations);
|
|
24551
24550
|
w.push({
|
|
24552
24551
|
source: v.name,
|
|
24553
24552
|
view: P.name,
|
|
@@ -24614,21 +24613,9 @@ function ST(e, {
|
|
|
24614
24613
|
};
|
|
24615
24614
|
}
|
|
24616
24615
|
const xT = 1e4, wT = (e) => e === "notebook" ? "linear" : "grid", CT = (e, t) => `${e}s/${t}.malloy`;
|
|
24617
|
-
function
|
|
24618
|
-
|
|
24619
|
-
|
|
24620
|
-
["notebooks"],
|
|
24621
|
-
["dashboard"],
|
|
24622
|
-
...n === void 0 ? [] : [[Yk({ environmentName: e, packageName: t, modelPath: n })]]
|
|
24623
|
-
];
|
|
24624
|
-
}
|
|
24625
|
-
function PT(e, t, n, r) {
|
|
24626
|
-
for (const o of [
|
|
24627
|
-
["report"],
|
|
24628
|
-
["reports"],
|
|
24629
|
-
...gM(t, n, r)
|
|
24630
|
-
])
|
|
24631
|
-
e.invalidateQueries({ queryKey: o });
|
|
24616
|
+
function PT(e) {
|
|
24617
|
+
for (const t of [["report"], ["reports"]])
|
|
24618
|
+
e.invalidateQueries({ queryKey: t });
|
|
24632
24619
|
}
|
|
24633
24620
|
function qi(e) {
|
|
24634
24621
|
const { server: t } = Jn(), n = {
|
|
@@ -24680,7 +24667,7 @@ function kT(e) {
|
|
|
24680
24667
|
};
|
|
24681
24668
|
return Xd(t, Yl);
|
|
24682
24669
|
}
|
|
24683
|
-
function
|
|
24670
|
+
function mM(e) {
|
|
24684
24671
|
return [
|
|
24685
24672
|
"queryResult",
|
|
24686
24673
|
e.environmentName,
|
|
@@ -24704,44 +24691,49 @@ function MT(e) {
|
|
|
24704
24691
|
e.modelPath
|
|
24705
24692
|
];
|
|
24706
24693
|
}
|
|
24707
|
-
function
|
|
24708
|
-
|
|
24694
|
+
function gM(e, t, n) {
|
|
24695
|
+
return e.models.executeQueryModel(
|
|
24696
|
+
t.environmentName,
|
|
24697
|
+
t.packageName,
|
|
24698
|
+
t.modelPath,
|
|
24699
|
+
{
|
|
24700
|
+
queryName: t.queryName,
|
|
24701
|
+
query: t.query,
|
|
24702
|
+
sourceName: t.sourceName,
|
|
24703
|
+
givens: t.givens,
|
|
24704
|
+
versionId: t.versionId
|
|
24705
|
+
},
|
|
24706
|
+
void 0,
|
|
24707
|
+
// versionId: carried in the body.
|
|
24708
|
+
void 0,
|
|
24709
|
+
{ signal: n }
|
|
24710
|
+
);
|
|
24711
|
+
}
|
|
24712
|
+
function yM(e, { enabled: t = !0 } = {}) {
|
|
24713
|
+
const { apiClients: n } = Jn(), r = mM(e);
|
|
24709
24714
|
return qi({
|
|
24710
24715
|
queryKey: r,
|
|
24711
24716
|
// The signal cancels a run the page no longer wants: a tile whose givens
|
|
24712
24717
|
// changed under it, or one that unmounted. react-query reverts a
|
|
24713
24718
|
// cancelled query to its previous state rather than to an error, so an
|
|
24714
24719
|
// abort never reaches `ResultPanel`'s failed state.
|
|
24715
|
-
queryFn: ({ signal: o }) => n
|
|
24716
|
-
e.environmentName,
|
|
24717
|
-
e.packageName,
|
|
24718
|
-
e.modelPath,
|
|
24719
|
-
{
|
|
24720
|
-
queryName: e.queryName,
|
|
24721
|
-
query: e.query,
|
|
24722
|
-
sourceName: e.sourceName,
|
|
24723
|
-
givens: e.givens,
|
|
24724
|
-
versionId: e.versionId
|
|
24725
|
-
},
|
|
24726
|
-
void 0,
|
|
24727
|
-
{ signal: o }
|
|
24728
|
-
),
|
|
24720
|
+
queryFn: ({ signal: o }) => gM(n, e, o),
|
|
24729
24721
|
enabled: t,
|
|
24730
24722
|
// A change of givens is a new key, and without this the surface drops to
|
|
24731
24723
|
// "Running…" and back: every tile on a page blanked and redrew on each
|
|
24732
24724
|
// filter pick. The last result stays up until the new one lands, and
|
|
24733
24725
|
// `isPlaceholderData` says it is the previous answer.
|
|
24734
|
-
placeholderData: (o, s) => s &&
|
|
24726
|
+
placeholderData: (o, s) => s && vM(s.queryKey, r) ? Qd(o) : void 0,
|
|
24735
24727
|
...Ud
|
|
24736
24728
|
});
|
|
24737
24729
|
}
|
|
24738
|
-
const
|
|
24739
|
-
function
|
|
24730
|
+
const bM = 8;
|
|
24731
|
+
function vM(e, t) {
|
|
24740
24732
|
return e.every(
|
|
24741
|
-
(n, r) => r ===
|
|
24733
|
+
(n, r) => r === bM || r >= t.length || n === t[r]
|
|
24742
24734
|
);
|
|
24743
24735
|
}
|
|
24744
|
-
const
|
|
24736
|
+
const SM = /<\/?[A-Za-z][^>]*>|<!--|<![A-Za-z]/;
|
|
24745
24737
|
function Rd(e) {
|
|
24746
24738
|
let t = !1;
|
|
24747
24739
|
for (const [n, r] of Array.from(e.entries())) {
|
|
@@ -24757,7 +24749,7 @@ function Rd(e) {
|
|
|
24757
24749
|
} catch {
|
|
24758
24750
|
s = void 0;
|
|
24759
24751
|
}
|
|
24760
|
-
if (s !== void 0 &&
|
|
24752
|
+
if (s !== void 0 && SM.test(s)) {
|
|
24761
24753
|
e.delete("label"), t = !0;
|
|
24762
24754
|
continue;
|
|
24763
24755
|
}
|
|
@@ -24768,7 +24760,7 @@ function Rd(e) {
|
|
|
24768
24760
|
}
|
|
24769
24761
|
return t;
|
|
24770
24762
|
}
|
|
24771
|
-
function
|
|
24763
|
+
function xM(e) {
|
|
24772
24764
|
const t = e.trim();
|
|
24773
24765
|
if (!/^#(?:\||[ \t\r\n]|$)/.test(t)) return e;
|
|
24774
24766
|
if (t.includes("@env.")) return "";
|
|
@@ -24792,7 +24784,7 @@ function ti(e) {
|
|
|
24792
24784
|
if (n === "annotations" && Array.isArray(r))
|
|
24793
24785
|
for (const o of r) {
|
|
24794
24786
|
const s = o;
|
|
24795
|
-
typeof s?.value == "string" && (s.value =
|
|
24787
|
+
typeof s?.value == "string" && (s.value = xM(s.value));
|
|
24796
24788
|
}
|
|
24797
24789
|
else
|
|
24798
24790
|
ti(r);
|
|
@@ -24809,7 +24801,7 @@ function Id(e) {
|
|
|
24809
24801
|
const r = JSON.stringify(t);
|
|
24810
24802
|
return r === n ? e : r;
|
|
24811
24803
|
}
|
|
24812
|
-
const
|
|
24804
|
+
const wM = /* @__PURE__ */ new Set([
|
|
24813
24805
|
"bar_chart",
|
|
24814
24806
|
"line_chart",
|
|
24815
24807
|
"scatter_chart",
|
|
@@ -24828,22 +24820,22 @@ const CM = /* @__PURE__ */ new Set([
|
|
|
24828
24820
|
"image",
|
|
24829
24821
|
"link",
|
|
24830
24822
|
"text"
|
|
24831
|
-
]),
|
|
24823
|
+
]), CM = { value: `# big_value
|
|
24832
24824
|
` };
|
|
24833
|
-
function
|
|
24825
|
+
function PM(e) {
|
|
24834
24826
|
const t = e.schema?.fields;
|
|
24835
24827
|
if (!Array.isArray(t) || t.length === 0 || !t.every((r) => Vs(r))) return !1;
|
|
24836
24828
|
const n = e.data;
|
|
24837
24829
|
return n ? n.kind === "record_cell" ? !0 : n.kind === "array_cell" && Array.isArray(n.array_value) && n.array_value.length === 1 : !1;
|
|
24838
24830
|
}
|
|
24839
|
-
function
|
|
24831
|
+
function kM(e) {
|
|
24840
24832
|
for (const t of e) {
|
|
24841
24833
|
const n = t.trim();
|
|
24842
24834
|
if (!n.startsWith("#") || n.startsWith("#(") || n.startsWith('#"'))
|
|
24843
24835
|
continue;
|
|
24844
24836
|
const r = Ko(n.slice(1));
|
|
24845
24837
|
for (const o of r.split(/[\s{}=.,[\]]+/))
|
|
24846
|
-
if (
|
|
24838
|
+
if (wM.has(o)) return !0;
|
|
24847
24839
|
}
|
|
24848
24840
|
return !1;
|
|
24849
24841
|
}
|
|
@@ -24854,15 +24846,15 @@ function $d(e) {
|
|
|
24854
24846
|
} catch {
|
|
24855
24847
|
return e;
|
|
24856
24848
|
}
|
|
24857
|
-
if (!t || typeof t != "object" || !
|
|
24849
|
+
if (!t || typeof t != "object" || !PM(t))
|
|
24858
24850
|
return e;
|
|
24859
24851
|
const n = Array.isArray(t.annotations) ? t.annotations : [], r = n.map((o) => o?.value).filter((o) => typeof o == "string");
|
|
24860
|
-
return
|
|
24852
|
+
return kM(r) ? e : JSON.stringify({
|
|
24861
24853
|
...t,
|
|
24862
|
-
annotations: [
|
|
24854
|
+
annotations: [CM, ...n]
|
|
24863
24855
|
});
|
|
24864
24856
|
}
|
|
24865
|
-
const
|
|
24857
|
+
const MM = (e) => Id($d(e));
|
|
24866
24858
|
function _l(e) {
|
|
24867
24859
|
const t = e.split("->").at(-1)?.trim() ?? e;
|
|
24868
24860
|
return /^[A-Za-z_][\w-]*$/.test(t) ? mg(t) : e;
|
|
@@ -24896,7 +24888,7 @@ function DT({
|
|
|
24896
24888
|
waitingFor: A,
|
|
24897
24889
|
index: O
|
|
24898
24890
|
}) {
|
|
24899
|
-
const { theme: $ } = Ke(), [b, E] = _m(), T =
|
|
24891
|
+
const { theme: $ } = Ke(), [b, E] = _m(), T = yM(
|
|
24900
24892
|
{
|
|
24901
24893
|
environmentName: e,
|
|
24902
24894
|
packageName: t,
|
|
@@ -24984,7 +24976,7 @@ function DT({
|
|
|
24984
24976
|
drill: v,
|
|
24985
24977
|
transform: (
|
|
24986
24978
|
// A document held as text draws no value-to-URL or markup tags.
|
|
24987
|
-
I !== void 0 ? s !== void 0 ?
|
|
24979
|
+
I !== void 0 ? s !== void 0 ? MM : Id : s !== void 0 ? $d : void 0
|
|
24988
24980
|
)
|
|
24989
24981
|
}
|
|
24990
24982
|
)
|
|
@@ -25020,109 +25012,109 @@ function TT(e, { enabled: t = !0 } = {}) {
|
|
|
25020
25012
|
});
|
|
25021
25013
|
}
|
|
25022
25014
|
export {
|
|
25023
|
-
|
|
25015
|
+
UD as $,
|
|
25024
25016
|
pc as A,
|
|
25025
|
-
|
|
25017
|
+
xD as B,
|
|
25026
25018
|
am as C,
|
|
25027
25019
|
Cd as D,
|
|
25028
25020
|
lm as E,
|
|
25029
|
-
|
|
25021
|
+
tD as F,
|
|
25030
25022
|
Vt as G,
|
|
25031
25023
|
sm as H,
|
|
25032
25024
|
_l as I,
|
|
25033
25025
|
Zh as J,
|
|
25034
25026
|
Zo as K,
|
|
25035
25027
|
nT as L,
|
|
25036
|
-
|
|
25037
|
-
|
|
25038
|
-
|
|
25028
|
+
YM as M,
|
|
25029
|
+
ZM as N,
|
|
25030
|
+
QM as O,
|
|
25039
25031
|
Qh as P,
|
|
25040
|
-
|
|
25032
|
+
nD as Q,
|
|
25041
25033
|
Fm as R,
|
|
25042
|
-
|
|
25034
|
+
sD as S,
|
|
25043
25035
|
Am as T,
|
|
25044
|
-
|
|
25045
|
-
|
|
25036
|
+
rD as U,
|
|
25037
|
+
uD as V,
|
|
25046
25038
|
kd as W,
|
|
25047
25039
|
mc as X,
|
|
25048
25040
|
Xo as Y,
|
|
25049
|
-
|
|
25050
|
-
|
|
25051
|
-
|
|
25041
|
+
XM as Z,
|
|
25042
|
+
JM as _,
|
|
25043
|
+
lD as a,
|
|
25052
25044
|
wT as a$,
|
|
25053
25045
|
um as a0,
|
|
25054
|
-
|
|
25055
|
-
|
|
25046
|
+
JD as a1,
|
|
25047
|
+
jM as a2,
|
|
25056
25048
|
qh as a3,
|
|
25057
25049
|
Kh as a4,
|
|
25058
25050
|
GP as a5,
|
|
25059
25051
|
qP as a6,
|
|
25060
|
-
|
|
25052
|
+
HM as a7,
|
|
25061
25053
|
xr as a8,
|
|
25062
25054
|
Fk as a9,
|
|
25063
25055
|
Nm as aA,
|
|
25064
25056
|
qi as aB,
|
|
25065
25057
|
ST as aC,
|
|
25066
25058
|
TT as aD,
|
|
25067
|
-
|
|
25059
|
+
ED as aE,
|
|
25068
25060
|
Ek as aF,
|
|
25069
|
-
|
|
25070
|
-
|
|
25061
|
+
LD as aG,
|
|
25062
|
+
BD as aH,
|
|
25071
25063
|
Sd as aI,
|
|
25072
25064
|
DT as aJ,
|
|
25073
|
-
|
|
25074
|
-
|
|
25075
|
-
|
|
25076
|
-
|
|
25077
|
-
|
|
25065
|
+
YD as aK,
|
|
25066
|
+
VD as aL,
|
|
25067
|
+
_D as aM,
|
|
25068
|
+
zD as aN,
|
|
25069
|
+
HD as aO,
|
|
25078
25070
|
xT as aP,
|
|
25079
25071
|
sT as aQ,
|
|
25080
|
-
|
|
25081
|
-
|
|
25072
|
+
lM as aR,
|
|
25073
|
+
Zk as aS,
|
|
25082
25074
|
lT as aT,
|
|
25083
25075
|
Jm as aU,
|
|
25084
25076
|
tg as aV,
|
|
25085
25077
|
iT as aW,
|
|
25086
25078
|
cT as aX,
|
|
25087
25079
|
PT as aY,
|
|
25088
|
-
|
|
25080
|
+
Kk as aZ,
|
|
25089
25081
|
MT as a_,
|
|
25090
25082
|
Pd as aa,
|
|
25091
25083
|
Lk as ab,
|
|
25092
|
-
|
|
25093
|
-
|
|
25094
|
-
|
|
25084
|
+
qM as ac,
|
|
25085
|
+
bD as ad,
|
|
25086
|
+
ZD as ae,
|
|
25095
25087
|
zs as af,
|
|
25096
|
-
|
|
25088
|
+
eT as ag,
|
|
25097
25089
|
jP as ah,
|
|
25098
25090
|
ok as ai,
|
|
25099
25091
|
sk as aj,
|
|
25100
|
-
|
|
25092
|
+
iD as ak,
|
|
25101
25093
|
Ll as al,
|
|
25102
|
-
|
|
25094
|
+
fM as am,
|
|
25103
25095
|
zl as an,
|
|
25104
25096
|
gm as ao,
|
|
25105
|
-
|
|
25106
|
-
|
|
25107
|
-
|
|
25108
|
-
|
|
25109
|
-
|
|
25110
|
-
|
|
25111
|
-
|
|
25112
|
-
|
|
25113
|
-
|
|
25114
|
-
|
|
25097
|
+
hM as ap,
|
|
25098
|
+
TD as aq,
|
|
25099
|
+
vD as ar,
|
|
25100
|
+
GM as as,
|
|
25101
|
+
WM as at,
|
|
25102
|
+
QD as au,
|
|
25103
|
+
wD as av,
|
|
25104
|
+
CD as aw,
|
|
25105
|
+
KM as ax,
|
|
25106
|
+
eD as ay,
|
|
25115
25107
|
xc as az,
|
|
25116
|
-
|
|
25108
|
+
dD as b,
|
|
25117
25109
|
Pn as b$,
|
|
25118
25110
|
dT as b0,
|
|
25119
|
-
|
|
25111
|
+
jD as b1,
|
|
25120
25112
|
vT as b2,
|
|
25121
25113
|
uT as b3,
|
|
25122
|
-
|
|
25114
|
+
kD as b4,
|
|
25123
25115
|
aT as b5,
|
|
25124
25116
|
Hm as b6,
|
|
25125
|
-
|
|
25117
|
+
MD as b7,
|
|
25126
25118
|
CT as b8,
|
|
25127
25119
|
Td as b9,
|
|
25128
25120
|
Xh as bA,
|
|
@@ -25147,7 +25139,7 @@ export {
|
|
|
25147
25139
|
Io as bT,
|
|
25148
25140
|
ae as bU,
|
|
25149
25141
|
kT as bV,
|
|
25150
|
-
|
|
25142
|
+
oD as bW,
|
|
25151
25143
|
hp as bX,
|
|
25152
25144
|
Wr as bY,
|
|
25153
25145
|
Mh as bZ,
|
|
@@ -25157,66 +25149,66 @@ export {
|
|
|
25157
25149
|
fT as bc,
|
|
25158
25150
|
Md as bd,
|
|
25159
25151
|
pT as be,
|
|
25160
|
-
|
|
25161
|
-
|
|
25162
|
-
|
|
25163
|
-
|
|
25152
|
+
oM as bf,
|
|
25153
|
+
iM as bg,
|
|
25154
|
+
nM as bh,
|
|
25155
|
+
sM as bi,
|
|
25164
25156
|
gT as bj,
|
|
25165
25157
|
Cc as bk,
|
|
25166
|
-
|
|
25158
|
+
ID as bl,
|
|
25167
25159
|
mi as bm,
|
|
25168
25160
|
yg as bn,
|
|
25169
|
-
|
|
25161
|
+
$D as bo,
|
|
25170
25162
|
mg as bp,
|
|
25171
25163
|
hg as bq,
|
|
25172
25164
|
gg as br,
|
|
25173
25165
|
zc as bs,
|
|
25174
25166
|
fi as bt,
|
|
25175
|
-
|
|
25167
|
+
yM as bu,
|
|
25176
25168
|
bk as bv,
|
|
25177
25169
|
kc as bw,
|
|
25178
25170
|
Vc as bx,
|
|
25179
25171
|
Bc as by,
|
|
25180
|
-
|
|
25172
|
+
qD as bz,
|
|
25181
25173
|
dk as c,
|
|
25182
|
-
|
|
25183
|
-
|
|
25174
|
+
Tk as c$,
|
|
25175
|
+
ND as c0,
|
|
25184
25176
|
qe as c1,
|
|
25185
25177
|
Or as c2,
|
|
25186
25178
|
Pt as c3,
|
|
25187
25179
|
Mw as c4,
|
|
25188
25180
|
os as c5,
|
|
25189
25181
|
eo as c6,
|
|
25190
|
-
|
|
25182
|
+
tT as c7,
|
|
25191
25183
|
Ft as c8,
|
|
25192
25184
|
Ht as c9,
|
|
25193
25185
|
Lg as cA,
|
|
25194
|
-
|
|
25186
|
+
FD as cB,
|
|
25195
25187
|
xd as cC,
|
|
25196
25188
|
yk as cD,
|
|
25197
|
-
|
|
25198
|
-
|
|
25189
|
+
OD as cE,
|
|
25190
|
+
AD as cF,
|
|
25199
25191
|
Dg as cG,
|
|
25200
|
-
|
|
25192
|
+
yD as cH,
|
|
25201
25193
|
fk as cI,
|
|
25202
25194
|
wm as cJ,
|
|
25203
|
-
|
|
25195
|
+
gD as cK,
|
|
25204
25196
|
oT as cL,
|
|
25205
|
-
|
|
25206
|
-
|
|
25207
|
-
|
|
25208
|
-
|
|
25209
|
-
|
|
25210
|
-
|
|
25211
|
-
|
|
25212
|
-
|
|
25213
|
-
|
|
25214
|
-
|
|
25215
|
-
|
|
25216
|
-
|
|
25217
|
-
|
|
25218
|
-
|
|
25219
|
-
|
|
25197
|
+
Wm as cM,
|
|
25198
|
+
mD as cN,
|
|
25199
|
+
Cs as cO,
|
|
25200
|
+
EP as cP,
|
|
25201
|
+
mM as cQ,
|
|
25202
|
+
gM as cR,
|
|
25203
|
+
RD as cS,
|
|
25204
|
+
eg as cT,
|
|
25205
|
+
cM as cU,
|
|
25206
|
+
Ls as cV,
|
|
25207
|
+
GD as cW,
|
|
25208
|
+
kk as cX,
|
|
25209
|
+
aM as cY,
|
|
25210
|
+
Dk as cZ,
|
|
25211
|
+
Qk as c_,
|
|
25220
25212
|
wa as ca,
|
|
25221
25213
|
yw as cb,
|
|
25222
25214
|
S0 as cc,
|
|
@@ -25234,47 +25226,48 @@ export {
|
|
|
25234
25226
|
uy as co,
|
|
25235
25227
|
$P as cp,
|
|
25236
25228
|
Mc as cq,
|
|
25237
|
-
|
|
25229
|
+
PD as cr,
|
|
25238
25230
|
qm as cs,
|
|
25239
|
-
|
|
25231
|
+
_M as ct,
|
|
25240
25232
|
rn as cu,
|
|
25241
25233
|
ei as cv,
|
|
25242
25234
|
pk as cw,
|
|
25243
25235
|
ud as cx,
|
|
25244
|
-
|
|
25236
|
+
WD as cy,
|
|
25245
25237
|
OP as cz,
|
|
25246
|
-
|
|
25247
|
-
|
|
25248
|
-
|
|
25249
|
-
|
|
25250
|
-
|
|
25251
|
-
|
|
25252
|
-
|
|
25253
|
-
|
|
25254
|
-
|
|
25255
|
-
|
|
25256
|
-
|
|
25257
|
-
|
|
25258
|
-
|
|
25259
|
-
|
|
25260
|
-
|
|
25261
|
-
|
|
25262
|
-
|
|
25263
|
-
|
|
25264
|
-
|
|
25265
|
-
|
|
25266
|
-
|
|
25267
|
-
|
|
25268
|
-
|
|
25269
|
-
|
|
25238
|
+
XD as d,
|
|
25239
|
+
yT as d0,
|
|
25240
|
+
dd as d1,
|
|
25241
|
+
Em as d2,
|
|
25242
|
+
Mk as d3,
|
|
25243
|
+
Tg as d4,
|
|
25244
|
+
_k as d5,
|
|
25245
|
+
Wk as d6,
|
|
25246
|
+
bc as d7,
|
|
25247
|
+
Ak as d8,
|
|
25248
|
+
wk as d9,
|
|
25249
|
+
$m as da,
|
|
25250
|
+
DD as db,
|
|
25251
|
+
bg as dc,
|
|
25252
|
+
Om as dd,
|
|
25253
|
+
Rk as de,
|
|
25254
|
+
wd as df,
|
|
25255
|
+
Un as dg,
|
|
25256
|
+
Pk as dh,
|
|
25257
|
+
Pa as di,
|
|
25258
|
+
KD as dj,
|
|
25259
|
+
bT as dk,
|
|
25260
|
+
vg as dl,
|
|
25261
|
+
cm as dm,
|
|
25262
|
+
pD as e,
|
|
25270
25263
|
Tm as f,
|
|
25271
|
-
|
|
25272
|
-
|
|
25264
|
+
fD as g,
|
|
25265
|
+
UM as h,
|
|
25273
25266
|
Gh as i,
|
|
25274
25267
|
tm as j,
|
|
25275
25268
|
di as k,
|
|
25276
25269
|
rT as l,
|
|
25277
|
-
|
|
25270
|
+
hD as m,
|
|
25278
25271
|
Ae as n,
|
|
25279
25272
|
Qo as o,
|
|
25280
25273
|
Hr as p,
|
|
@@ -25283,9 +25276,9 @@ export {
|
|
|
25283
25276
|
fm as s,
|
|
25284
25277
|
im as t,
|
|
25285
25278
|
km as u,
|
|
25286
|
-
|
|
25279
|
+
cD as v,
|
|
25287
25280
|
Lm as w,
|
|
25288
25281
|
Uh as x,
|
|
25289
|
-
|
|
25290
|
-
|
|
25282
|
+
SD as y,
|
|
25283
|
+
aD as z
|
|
25291
25284
|
};
|