@sisense/sdk-ui 2.13.0 → 2.15.0
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/dist/ai.cjs +2 -2
- package/dist/ai.js +6 -6
- package/dist/analytics-composer/node.cjs +1 -1
- package/dist/analytics-composer/node.js +4 -4
- package/dist/analytics-composer.cjs +1 -1
- package/dist/analytics-composer.js +6 -6
- package/dist/{derive-chart-family-Ca1NT5US.cjs → derive-chart-family-0J_WPLDy.cjs} +72 -48
- package/dist/{derive-chart-family-BcASqlOf.js → derive-chart-family-DHOhho50.js} +10577 -10434
- package/dist/{dimensions-DOxD1XtL.js → dimensions-Biz7anQc.js} +1 -1
- package/dist/{dimensions-DCT9XInO.cjs → dimensions-CtINdhqK.cjs} +1 -1
- package/dist/{execute-query-JhI9RXe_.js → execute-query-D1JOjJ8n.js} +1199 -1165
- package/dist/execute-query-k_ytd_Rf.cjs +1 -0
- package/dist/index.cjs +24 -24
- package/dist/index.js +6319 -6193
- package/dist/index.umd.js +362 -337
- package/dist/packages/sdk-ui/src/app/client-application.d.ts +23 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/constants.d.ts +12 -4
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/index.d.ts +25 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/axes-options/continuous-axes-options.d.ts +12 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/axes-options/helpers.d.ts +24 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/axes-options/index.d.ts +2 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/axes-options/split-axes-options.d.ts +12 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/chart-options.d.ts +9 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/index.d.ts +3 -3
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/calendar-data-generator.d.ts +12 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/series-options/series-options.d.ts +9 -2
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/calendar-heatmap-charts-grid.d.ts +2 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/data-helpers.d.ts +2 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/data-per-chart-instance.d.ts +13 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/sizing-helpers.d.ts +16 -3
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/helpers/view-helpers.d.ts +4 -4
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/renderer/hooks/use-calendar-heatmap-chart-options.d.ts +7 -6
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/utils/calendar-utils.d.ts +1 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/data-options/index.d.ts +0 -4
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/funnel-chart/design-options/index.d.ts +14 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/helpers/data-options.d.ts +4 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/pie-chart/data-options/index.d.ts +0 -4
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/sunburst-chart/design-options/index.d.ts +3 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/categoricals/treemap-chart/design-options/index.d.ts +3 -0
- package/dist/packages/sdk-ui/src/chart/restructured-charts/types.d.ts +5 -4
- package/dist/packages/sdk-ui/src/chart-options-processor/cartesian/utils/series-processor.d.ts +0 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/category-chart-options/sunburst-chart-options.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/series-labels.d.ts +0 -3
- package/dist/packages/sdk-ui/src/chart-options-processor/style-to-design-options-translator/translate-to-highcharts-options.d.ts +4 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/design-options.d.ts +5 -4
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/funnel-plot-options.d.ts +12 -17
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/sunburst/sunburst-levels.d.ts +28 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/sunburst/sunburst-options.d.ts +28 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/treemap/treemap-labels.d.ts +2 -2
- package/dist/packages/sdk-ui/src/chart-options-processor/translations/types.d.ts +2 -2
- package/dist/packages/sdk-ui/src/common/components/menu/context-menu/context-menu.d.ts +1 -0
- package/dist/packages/sdk-ui/src/common/icons/alert-icon.d.ts +2 -0
- package/dist/packages/sdk-ui/src/dashboard/components/editable-layout/helpers.d.ts +11 -0
- package/dist/packages/sdk-ui/src/dashboard/dashboard.d.ts +0 -30
- package/dist/packages/sdk-ui/src/dashboard/hooks/use-dashboard-header-toolbar.d.ts +3 -2
- package/dist/packages/sdk-ui/src/dashboard/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/dashboard/types.d.ts +76 -4
- package/dist/packages/sdk-ui/src/dynamic-size-container/default-size.d.ts +20 -5
- package/dist/packages/sdk-ui/src/highcharts-renderer.d.ts +13 -0
- package/dist/packages/sdk-ui/src/models/dashboard/use-dashboard-model/use-dasboard-model-utils.d.ts +5 -5
- package/dist/packages/sdk-ui/src/pivot-table/hooks/use-render-pivot.d.ts +7 -1
- package/dist/packages/sdk-ui/src/query-execution/index.d.ts +1 -1
- package/dist/packages/sdk-ui/src/translation/resources/en.d.ts +8 -0
- package/dist/packages/sdk-ui/src/translation/resources/index.d.ts +16 -0
- package/dist/packages/sdk-ui/src/types.d.ts +196 -53
- package/dist/packages/sdk-ui/src/utils/gradient.d.ts +37 -0
- package/dist/packages/sdk-ui/src/widget-by-id/types.d.ts +2 -0
- package/dist/{types-Cl0_Tfey.cjs → types-B8jkBXCe.cjs} +1 -1
- package/dist/{types-CnFd03Ga.js → types-DZhBEm3K.js} +1 -1
- package/dist/{use-common-filters-qFWk1Ia5.js → use-common-filters-8MsC7-0N.js} +26731 -25836
- package/dist/use-common-filters-DlP4xqST.cjs +846 -0
- package/dist/{widget-composer-ovIwmgin.js → widget-composer-D-ktDgUE.js} +131 -130
- package/dist/{widget-composer-C7ZAcFHK.cjs → widget-composer-DBwcb3ao.cjs} +5 -5
- package/package.json +7 -7
- package/dist/execute-query-CvH_36GC.cjs +0 -1
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/highcharts-options-builder.d.ts +0 -8
- package/dist/packages/sdk-ui/src/chart/restructured-charts/highchart-based-charts/calendar-heatmap-chart/highchart-options-builder/options/axes-options.d.ts +0 -12
- package/dist/packages/sdk-ui/src/highcharts-memorized.d.ts +0 -7
- package/dist/use-common-filters-WTVrWfsY.cjs +0 -845
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var _s = Object.defineProperty, Ms = Object.defineProperties;
|
|
2
|
+
var Ds = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var $n = Object.getOwnPropertySymbols;
|
|
4
|
+
var Rs = Object.prototype.hasOwnProperty, Ls = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Bn = (e, t, n) => t in e ? _s(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, y = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var n of
|
|
10
|
-
|
|
7
|
+
Rs.call(t, n) && Bn(e, n, t[n]);
|
|
8
|
+
if ($n)
|
|
9
|
+
for (var n of $n(t))
|
|
10
|
+
Ls.call(t, n) && Bn(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
}, U = (e, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, U = (e, t) => Ms(e, Ds(t));
|
|
13
|
+
var Un = (e, t, n) => new Promise((r, i) => {
|
|
14
14
|
var s = (u) => {
|
|
15
15
|
try {
|
|
16
16
|
o(n.next(u));
|
|
@@ -26,7 +26,7 @@ var Wn = (e, t, n) => new Promise((r, i) => {
|
|
|
26
26
|
}, o = (u) => u.done ? r(u.value) : Promise.resolve(u.value).then(s, a);
|
|
27
27
|
o((n = n.apply(e, t)).next());
|
|
28
28
|
});
|
|
29
|
-
const
|
|
29
|
+
const Fs = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, Is = {
|
|
30
30
|
"&": "&",
|
|
31
31
|
"&": "&",
|
|
32
32
|
"<": "<",
|
|
@@ -47,8 +47,8 @@ const Is = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|
|
|
|
47
47
|
"…": "…",
|
|
48
48
|
"/": "/",
|
|
49
49
|
"/": "/"
|
|
50
|
-
},
|
|
51
|
-
let
|
|
50
|
+
}, Ps = (e) => Is[e], js = (e) => e.replace(Fs, Ps);
|
|
51
|
+
let jt = {
|
|
52
52
|
bindI18n: "languageChanged",
|
|
53
53
|
bindI18nStore: "",
|
|
54
54
|
transEmptyNodeValue: "",
|
|
@@ -56,28 +56,28 @@ let $t = {
|
|
|
56
56
|
transWrapTextNodes: "",
|
|
57
57
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
|
58
58
|
useSuspense: !0,
|
|
59
|
-
unescape:
|
|
59
|
+
unescape: js
|
|
60
60
|
};
|
|
61
|
-
function
|
|
61
|
+
function $s() {
|
|
62
62
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
63
|
-
|
|
63
|
+
jt = y(y({}, jt), e);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
return
|
|
65
|
+
function Bp() {
|
|
66
|
+
return jt;
|
|
67
67
|
}
|
|
68
|
-
let
|
|
69
|
-
function
|
|
70
|
-
|
|
68
|
+
let Br;
|
|
69
|
+
function Bs(e) {
|
|
70
|
+
Br = e;
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
return
|
|
72
|
+
function Up() {
|
|
73
|
+
return Br;
|
|
74
74
|
}
|
|
75
|
-
const
|
|
75
|
+
const Us = {
|
|
76
76
|
type: "3rdParty",
|
|
77
77
|
init(e) {
|
|
78
|
-
|
|
78
|
+
$s(e.options.react), Bs(e);
|
|
79
79
|
}
|
|
80
|
-
},
|
|
80
|
+
}, Ws = {
|
|
81
81
|
type: "logger",
|
|
82
82
|
log(e) {
|
|
83
83
|
this.output("log", e);
|
|
@@ -99,7 +99,7 @@ class st {
|
|
|
99
99
|
}
|
|
100
100
|
init(t) {
|
|
101
101
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
102
|
-
this.prefix = n.prefix || "i18next:", this.logger = t ||
|
|
102
|
+
this.prefix = n.prefix || "i18next:", this.logger = t || Ws, this.options = n, this.debug = n.debug;
|
|
103
103
|
}
|
|
104
104
|
log() {
|
|
105
105
|
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
@@ -169,15 +169,15 @@ function _e() {
|
|
|
169
169
|
});
|
|
170
170
|
return n.resolve = e, n.reject = t, n;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function Wn(e) {
|
|
173
173
|
return e == null ? "" : "" + e;
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function qs(e, t, n) {
|
|
176
176
|
e.forEach((r) => {
|
|
177
177
|
t[r] && (n[r] = t[r]);
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
|
-
function
|
|
180
|
+
function Zt(e, t, n) {
|
|
181
181
|
function r(a) {
|
|
182
182
|
return a && a.indexOf("###") > -1 ? a.replace(/###/g, ".") : a;
|
|
183
183
|
}
|
|
@@ -195,41 +195,41 @@ function en(e, t, n) {
|
|
|
195
195
|
k: r(s.shift())
|
|
196
196
|
};
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function qn(e, t, n) {
|
|
199
199
|
const {
|
|
200
200
|
obj: r,
|
|
201
201
|
k: i
|
|
202
|
-
} =
|
|
202
|
+
} = Zt(e, t, Object);
|
|
203
203
|
r[i] = n;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function zs(e, t, n, r) {
|
|
206
206
|
const {
|
|
207
207
|
obj: i,
|
|
208
208
|
k: s
|
|
209
|
-
} =
|
|
209
|
+
} = Zt(e, t, Object);
|
|
210
210
|
i[s] = i[s] || [], i[s].push(n);
|
|
211
211
|
}
|
|
212
212
|
function at(e, t) {
|
|
213
213
|
const {
|
|
214
214
|
obj: n,
|
|
215
215
|
k: r
|
|
216
|
-
} =
|
|
216
|
+
} = Zt(e, t);
|
|
217
217
|
if (n)
|
|
218
218
|
return n[r];
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function Hs(e, t, n) {
|
|
221
221
|
const r = at(e, n);
|
|
222
222
|
return r !== void 0 ? r : at(t, n);
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Ur(e, t, n) {
|
|
225
225
|
for (const r in t)
|
|
226
|
-
r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) :
|
|
226
|
+
r !== "__proto__" && r !== "constructor" && (r in e ? typeof e[r] == "string" || e[r] instanceof String || typeof t[r] == "string" || t[r] instanceof String ? n && (e[r] = t[r]) : Ur(e[r], t[r], n) : e[r] = t[r]);
|
|
227
227
|
return e;
|
|
228
228
|
}
|
|
229
229
|
function ge(e) {
|
|
230
230
|
return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
231
231
|
}
|
|
232
|
-
var
|
|
232
|
+
var ks = {
|
|
233
233
|
"&": "&",
|
|
234
234
|
"<": "<",
|
|
235
235
|
">": ">",
|
|
@@ -237,13 +237,13 @@ var Gs = {
|
|
|
237
237
|
"'": "'",
|
|
238
238
|
"/": "/"
|
|
239
239
|
};
|
|
240
|
-
function
|
|
241
|
-
return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) =>
|
|
240
|
+
function Gs(e) {
|
|
241
|
+
return typeof e == "string" ? e.replace(/[&<>"'\/]/g, (t) => ks[t]) : e;
|
|
242
242
|
}
|
|
243
|
-
const
|
|
244
|
-
function
|
|
243
|
+
const Vs = [" ", ",", "?", "!", ";"];
|
|
244
|
+
function Qs(e, t, n) {
|
|
245
245
|
t = t || "", n = n || "";
|
|
246
|
-
const r =
|
|
246
|
+
const r = Vs.filter((a) => t.indexOf(a) < 0 && n.indexOf(a) < 0);
|
|
247
247
|
if (r.length === 0) return !0;
|
|
248
248
|
const i = new RegExp(`(${r.map((a) => a === "?" ? "\\?" : a).join("|")})`);
|
|
249
249
|
let s = !i.test(e);
|
|
@@ -282,7 +282,7 @@ function ot(e, t) {
|
|
|
282
282
|
function ut(e) {
|
|
283
283
|
return e && e.indexOf("_") > 0 ? e.replace("_", "-") : e;
|
|
284
284
|
}
|
|
285
|
-
class
|
|
285
|
+
class zn extends gt {
|
|
286
286
|
constructor(t) {
|
|
287
287
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
288
288
|
ns: ["translation"],
|
|
@@ -311,7 +311,7 @@ class Hn extends gt {
|
|
|
311
311
|
};
|
|
312
312
|
const a = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator;
|
|
313
313
|
let o = [t, n];
|
|
314
|
-
r && (o = o.concat(a ? r.split(a) : r)), t.indexOf(".") > -1 && (o = t.split("."), i = n, n = o[1]), this.addNamespaces(n),
|
|
314
|
+
r && (o = o.concat(a ? r.split(a) : r)), t.indexOf(".") > -1 && (o = t.split("."), i = n, n = o[1]), this.addNamespaces(n), qn(this.data, o, i), s.silent || this.emit("added", t, n, r, i);
|
|
315
315
|
}
|
|
316
316
|
addResources(t, n, r) {
|
|
317
317
|
let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
|
|
@@ -329,7 +329,7 @@ class Hn extends gt {
|
|
|
329
329
|
}, o = [t, n];
|
|
330
330
|
t.indexOf(".") > -1 && (o = t.split("."), i = r, r = n, n = o[1]), this.addNamespaces(n);
|
|
331
331
|
let u = at(this.data, o) || {};
|
|
332
|
-
i ?
|
|
332
|
+
i ? Ur(u, r, s) : u = y(y({}, u), r), qn(this.data, o, u), a.silent || this.emit("added", t, n, r);
|
|
333
333
|
}
|
|
334
334
|
removeResourceBundle(t, n) {
|
|
335
335
|
this.hasResourceBundle(t, n) && delete this.data[t][n], this.removeNamespaces(n), this.emit("removed", t, n);
|
|
@@ -351,7 +351,7 @@ class Hn extends gt {
|
|
|
351
351
|
return this.data;
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
|
-
var
|
|
354
|
+
var Wr = {
|
|
355
355
|
processors: {},
|
|
356
356
|
addPostProcessor(e) {
|
|
357
357
|
this.processors[e.name] = e;
|
|
@@ -362,11 +362,11 @@ var qr = {
|
|
|
362
362
|
}), t;
|
|
363
363
|
}
|
|
364
364
|
};
|
|
365
|
-
const
|
|
365
|
+
const Hn = {};
|
|
366
366
|
class lt extends gt {
|
|
367
367
|
constructor(t) {
|
|
368
368
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
369
|
-
super(),
|
|
369
|
+
super(), qs(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Q.create("translator");
|
|
370
370
|
}
|
|
371
371
|
changeLanguage(t) {
|
|
372
372
|
t && (this.language = t);
|
|
@@ -385,7 +385,7 @@ class lt extends gt {
|
|
|
385
385
|
r === void 0 && (r = ":");
|
|
386
386
|
const i = n.keySeparator !== void 0 ? n.keySeparator : this.options.keySeparator;
|
|
387
387
|
let s = n.ns || this.options.defaultNS || [];
|
|
388
|
-
const a = r && t.indexOf(r) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !
|
|
388
|
+
const a = r && t.indexOf(r) > -1, o = !this.options.userDefinedKeySeparator && !n.keySeparator && !this.options.userDefinedNsSeparator && !n.nsSeparator && !Qs(t, r, i);
|
|
389
389
|
if (a && !o) {
|
|
390
390
|
const u = t.match(this.interpolator.nestingRegexp);
|
|
391
391
|
if (u && u.length > 0)
|
|
@@ -454,11 +454,11 @@ class lt extends gt {
|
|
|
454
454
|
c = c.join(x), c && (c = this.extendTranslation(c, t, n, r));
|
|
455
455
|
else {
|
|
456
456
|
let O = !1, L = !1;
|
|
457
|
-
const G = n.count !== void 0 && typeof n.count != "string", P = lt.hasDefaultValue(n), Ke = G ? this.pluralResolver.getSuffix(l, n.count, n) : "",
|
|
457
|
+
const G = n.count !== void 0 && typeof n.count != "string", P = lt.hasDefaultValue(n), Ke = G ? this.pluralResolver.getSuffix(l, n.count, n) : "", Ns = n.ordinal && G ? this.pluralResolver.getSuffix(l, n.count, {
|
|
458
458
|
ordinal: !1
|
|
459
|
-
}) : "", Oe = n[`defaultValue${Ke}`] || n[`defaultValue${
|
|
459
|
+
}) : "", Oe = n[`defaultValue${Ke}`] || n[`defaultValue${Ns}`] || n.defaultValue;
|
|
460
460
|
!this.isValidLookup(c) && P && (O = !0, c = Oe), this.isValidLookup(c) || (L = !0, c = a);
|
|
461
|
-
const
|
|
461
|
+
const Cs = (n.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && L ? void 0 : c, Ne = P && Oe !== c && this.options.updateMissing;
|
|
462
462
|
if (L || O || Ne) {
|
|
463
463
|
if (this.logger.log(Ne ? "updateKey" : "missingKey", l, u, a, Ne ? Oe : c), s) {
|
|
464
464
|
const B = this.resolve(a, U(y({}, n), {
|
|
@@ -472,15 +472,15 @@ class lt extends gt {
|
|
|
472
472
|
for (let B = 0; B < Je.length; B++)
|
|
473
473
|
Ce.push(Je[B]);
|
|
474
474
|
else this.options.saveMissingTo === "all" ? Ce = this.languageUtils.toResolveHierarchy(n.lng || this.language) : Ce.push(n.lng || this.language);
|
|
475
|
-
const
|
|
476
|
-
const
|
|
477
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(B, u, pe,
|
|
475
|
+
const In = (B, pe, Pn) => {
|
|
476
|
+
const jn = P && Pn !== c ? Pn : Cs;
|
|
477
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(B, u, pe, jn, Ne, n) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(B, u, pe, jn, Ne, n), this.emit("missingKey", B, u, pe, c);
|
|
478
478
|
};
|
|
479
479
|
this.options.saveMissing && (this.options.saveMissingPlurals && G ? Ce.forEach((B) => {
|
|
480
480
|
this.pluralResolver.getSuffixes(B, n).forEach((pe) => {
|
|
481
|
-
|
|
481
|
+
In([B], a + pe, n[`defaultValue${pe}`] || Oe);
|
|
482
482
|
});
|
|
483
|
-
}) :
|
|
483
|
+
}) : In(Ce, a, Oe));
|
|
484
484
|
}
|
|
485
485
|
c = this.extendTranslation(c, t, n, f, r), L && c === a && this.options.appendNamespaceToMissingKey && (c = `${u}:${a}`), (L || O) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? c = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${u}:${a}` : a, O ? c : void 0) : c = this.options.parseMissingKeyHandler(c));
|
|
486
486
|
}
|
|
@@ -514,7 +514,7 @@ class lt extends gt {
|
|
|
514
514
|
}, r)), r.interpolation && this.interpolator.reset();
|
|
515
515
|
}
|
|
516
516
|
const o = r.postProcess || this.options.postProcess, u = typeof o == "string" ? [o] : o;
|
|
517
|
-
return t != null && u && u.length && r.applyPostProcessor !== !1 && (t =
|
|
517
|
+
return t != null && u && u.length && r.applyPostProcessor !== !1 && (t = Wr.handle(u, t, n, this.options && this.options.postProcessPassResolved ? y({
|
|
518
518
|
i18nResolved: i
|
|
519
519
|
}, r) : r, this)), t;
|
|
520
520
|
}
|
|
@@ -528,7 +528,7 @@ class lt extends gt {
|
|
|
528
528
|
this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
|
|
529
529
|
const c = n.count !== void 0 && typeof n.count != "string", m = c && !n.ordinal && n.count === 0 && this.pluralResolver.shouldUseIntlApi(), g = n.context !== void 0 && (typeof n.context == "string" || typeof n.context == "number") && n.context !== "", S = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
|
|
530
530
|
f.forEach((b) => {
|
|
531
|
-
this.isValidLookup(r) || (o = b, !
|
|
531
|
+
this.isValidLookup(r) || (o = b, !Hn[`${S[0]}-${b}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(o) && (Hn[`${S[0]}-${b}`] = !0, this.logger.warn(`key "${i}" for languages "${S.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), S.forEach((x) => {
|
|
532
532
|
if (this.isValidLookup(r)) return;
|
|
533
533
|
a = x;
|
|
534
534
|
const M = [d];
|
|
@@ -574,7 +574,7 @@ class lt extends gt {
|
|
|
574
574
|
function Dt(e) {
|
|
575
575
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
576
576
|
}
|
|
577
|
-
class
|
|
577
|
+
class kn {
|
|
578
578
|
constructor(t) {
|
|
579
579
|
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Q.create("languageUtils");
|
|
580
580
|
}
|
|
@@ -633,7 +633,7 @@ class Gn {
|
|
|
633
633
|
}), i;
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
|
-
let
|
|
636
|
+
let Ks = [{
|
|
637
637
|
lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
|
|
638
638
|
nr: [1, 2],
|
|
639
639
|
fc: 1
|
|
@@ -725,7 +725,7 @@ let Js = [{
|
|
|
725
725
|
lngs: ["he", "iw"],
|
|
726
726
|
nr: [1, 2, 20, 21],
|
|
727
727
|
fc: 22
|
|
728
|
-
}],
|
|
728
|
+
}], Js = {
|
|
729
729
|
1: function(e) {
|
|
730
730
|
return +(e > 1);
|
|
731
731
|
},
|
|
@@ -793,7 +793,7 @@ let Js = [{
|
|
|
793
793
|
return e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3;
|
|
794
794
|
}
|
|
795
795
|
};
|
|
796
|
-
const
|
|
796
|
+
const Ys = ["v1", "v2", "v3"], Xs = ["v4"], Gn = {
|
|
797
797
|
zero: 0,
|
|
798
798
|
one: 1,
|
|
799
799
|
two: 2,
|
|
@@ -801,21 +801,21 @@ const Xs = ["v1", "v2", "v3"], Zs = ["v4"], Vn = {
|
|
|
801
801
|
many: 4,
|
|
802
802
|
other: 5
|
|
803
803
|
};
|
|
804
|
-
function
|
|
804
|
+
function Zs() {
|
|
805
805
|
const e = {};
|
|
806
|
-
return
|
|
806
|
+
return Ks.forEach((t) => {
|
|
807
807
|
t.lngs.forEach((n) => {
|
|
808
808
|
e[n] = {
|
|
809
809
|
numbers: t.nr,
|
|
810
|
-
plurals:
|
|
810
|
+
plurals: Js[t.fc]
|
|
811
811
|
};
|
|
812
812
|
});
|
|
813
813
|
}), e;
|
|
814
814
|
}
|
|
815
|
-
class
|
|
815
|
+
class ea {
|
|
816
816
|
constructor(t) {
|
|
817
817
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
818
|
-
this.languageUtils = t, this.options = n, this.logger = Q.create("pluralResolver"), (!this.options.compatibilityJSON ||
|
|
818
|
+
this.languageUtils = t, this.options = n, this.logger = Q.create("pluralResolver"), (!this.options.compatibilityJSON || Xs.includes(this.options.compatibilityJSON)) && (typeof Intl == "undefined" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Zs();
|
|
819
819
|
}
|
|
820
820
|
addRule(t, n) {
|
|
821
821
|
this.rules[t] = n;
|
|
@@ -844,7 +844,7 @@ class ta {
|
|
|
844
844
|
getSuffixes(t) {
|
|
845
845
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
846
846
|
const r = this.getRule(t, n);
|
|
847
|
-
return r ? this.shouldUseIntlApi() ? r.resolvedOptions().pluralCategories.sort((i, s) =>
|
|
847
|
+
return r ? this.shouldUseIntlApi() ? r.resolvedOptions().pluralCategories.sort((i, s) => Gn[i] - Gn[s]).map((i) => `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${i}`) : r.numbers.map((i) => this.getSuffix(t, i, n)) : [];
|
|
848
848
|
}
|
|
849
849
|
getSuffix(t, n) {
|
|
850
850
|
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
@@ -859,14 +859,14 @@ class ta {
|
|
|
859
859
|
return this.options.compatibilityJSON === "v1" ? i === 1 ? "" : typeof i == "number" ? `_plural_${i.toString()}` : s() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && t.numbers.length === 2 && t.numbers[0] === 1 ? s() : this.options.prepend && r.toString() ? this.options.prepend + r.toString() : r.toString();
|
|
860
860
|
}
|
|
861
861
|
shouldUseIntlApi() {
|
|
862
|
-
return !
|
|
862
|
+
return !Ys.includes(this.options.compatibilityJSON);
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
|
-
function
|
|
866
|
-
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s =
|
|
865
|
+
function Vn(e, t, n) {
|
|
866
|
+
let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = Hs(e, t, n);
|
|
867
867
|
return !s && i && typeof n == "string" && (s = ot(e, n, r), s === void 0 && (s = ot(t, n, r))), s;
|
|
868
868
|
}
|
|
869
|
-
class
|
|
869
|
+
class ta {
|
|
870
870
|
constructor() {
|
|
871
871
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
872
872
|
this.logger = Q.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || ((n) => n), this.init(t);
|
|
@@ -877,7 +877,7 @@ class na {
|
|
|
877
877
|
escapeValue: !0
|
|
878
878
|
});
|
|
879
879
|
const n = t.interpolation;
|
|
880
|
-
this.escape = n.escape !== void 0 ? n.escape :
|
|
880
|
+
this.escape = n.escape !== void 0 ? n.escape : Gs, this.escapeValue = n.escapeValue !== void 0 ? n.escapeValue : !0, this.useRawValueToEscape = n.useRawValueToEscape !== void 0 ? n.useRawValueToEscape : !1, this.prefix = n.prefix ? ge(n.prefix) : n.prefixEscaped || "{{", this.suffix = n.suffix ? ge(n.suffix) : n.suffixEscaped || "}}", this.formatSeparator = n.formatSeparator ? n.formatSeparator : n.formatSeparator || ",", this.unescapePrefix = n.unescapeSuffix ? "" : n.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : n.unescapeSuffix || "", this.nestingPrefix = n.nestingPrefix ? ge(n.nestingPrefix) : n.nestingPrefixEscaped || ge("$t("), this.nestingSuffix = n.nestingSuffix ? ge(n.nestingSuffix) : n.nestingSuffixEscaped || ge(")"), this.nestingOptionsSeparator = n.nestingOptionsSeparator ? n.nestingOptionsSeparator : n.nestingOptionsSeparator || ",", this.maxReplaces = n.maxReplaces ? n.maxReplaces : 1e3, this.alwaysFormat = n.alwaysFormat !== void 0 ? n.alwaysFormat : !1, this.resetRegExp();
|
|
881
881
|
}
|
|
882
882
|
reset() {
|
|
883
883
|
this.options && this.init(this.options);
|
|
@@ -898,13 +898,13 @@ class na {
|
|
|
898
898
|
}
|
|
899
899
|
const d = (g) => {
|
|
900
900
|
if (g.indexOf(this.formatSeparator) < 0) {
|
|
901
|
-
const M =
|
|
901
|
+
const M = Vn(n, u, g, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
902
902
|
return this.alwaysFormat ? this.format(M, void 0, r, U(y(y({}, i), n), {
|
|
903
903
|
interpolationkey: g
|
|
904
904
|
})) : M;
|
|
905
905
|
}
|
|
906
906
|
const S = g.split(this.formatSeparator), b = S.shift().trim(), x = S.join(this.formatSeparator).trim();
|
|
907
|
-
return this.format(
|
|
907
|
+
return this.format(Vn(n, u, b, this.options.keySeparator, this.options.ignoreJSONStructure), x, r, U(y(y({}, i), n), {
|
|
908
908
|
interpolationkey: b
|
|
909
909
|
}));
|
|
910
910
|
};
|
|
@@ -930,7 +930,7 @@ class na {
|
|
|
930
930
|
continue;
|
|
931
931
|
} else
|
|
932
932
|
this.logger.warn(`missed to pass in variable ${S} for interpolating ${t}`), a = "";
|
|
933
|
-
else typeof a != "string" && !this.useRawValueToEscape && (a =
|
|
933
|
+
else typeof a != "string" && !this.useRawValueToEscape && (a = Wn(a));
|
|
934
934
|
const b = g.safeValue(a);
|
|
935
935
|
if (t = t.replace(s[0], b), c ? (g.regex.lastIndex += a.length, g.regex.lastIndex -= s[0].length) : g.regex.lastIndex = 0, o++, o >= this.maxReplaces)
|
|
936
936
|
break;
|
|
@@ -963,14 +963,14 @@ class na {
|
|
|
963
963
|
i[1] = d.shift(), u = d, l = !0;
|
|
964
964
|
}
|
|
965
965
|
if (s = n(o.call(this, i[1].trim(), a), a), s && i[0] === t && typeof s != "string") return s;
|
|
966
|
-
typeof s != "string" && (s =
|
|
966
|
+
typeof s != "string" && (s = Wn(s)), s || (this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`), s = ""), l && (s = u.reduce((d, f) => this.format(d, f, r.lng, U(y({}, r), {
|
|
967
967
|
interpolationkey: i[1].trim()
|
|
968
968
|
})), s.trim())), t = t.replace(i[0], s), this.regexp.lastIndex = 0;
|
|
969
969
|
}
|
|
970
970
|
return t;
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
|
-
function
|
|
973
|
+
function na(e) {
|
|
974
974
|
let t = e.toLowerCase().trim();
|
|
975
975
|
const n = {};
|
|
976
976
|
if (e.indexOf("(") > -1) {
|
|
@@ -996,7 +996,7 @@ function me(e) {
|
|
|
996
996
|
return o || (o = e(ut(i), s), t[a] = o), o(r);
|
|
997
997
|
};
|
|
998
998
|
}
|
|
999
|
-
class
|
|
999
|
+
class ra {
|
|
1000
1000
|
constructor() {
|
|
1001
1001
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
1002
1002
|
this.logger = Q.create("formatter"), this.options = t, this.formats = {
|
|
@@ -1042,7 +1042,7 @@ class ia {
|
|
|
1042
1042
|
const {
|
|
1043
1043
|
formatName: l,
|
|
1044
1044
|
formatOptions: d
|
|
1045
|
-
} =
|
|
1045
|
+
} = na(u);
|
|
1046
1046
|
if (this.formats[l]) {
|
|
1047
1047
|
let f = o;
|
|
1048
1048
|
try {
|
|
@@ -1058,10 +1058,10 @@ class ia {
|
|
|
1058
1058
|
}, t);
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function ia(e, t) {
|
|
1062
1062
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
|
1063
1063
|
}
|
|
1064
|
-
class
|
|
1064
|
+
class sa extends gt {
|
|
1065
1065
|
constructor(t, n, r) {
|
|
1066
1066
|
let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
1067
1067
|
super(), this.backend = t, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = i, this.logger = Q.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = i.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = i.maxRetries >= 0 ? i.maxRetries : 5, this.retryTimeout = i.retryTimeout >= 1 ? i.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(r, i.backend, i);
|
|
@@ -1092,7 +1092,7 @@ class aa extends gt {
|
|
|
1092
1092
|
n && this.emit("failedLoading", s, a, n), r && this.store.addResourceBundle(s, a, r), this.state[t] = n ? -1 : 2;
|
|
1093
1093
|
const o = {};
|
|
1094
1094
|
this.queue.forEach((u) => {
|
|
1095
|
-
|
|
1095
|
+
zs(u.loaded, [s], a), ia(u, t), n && u.errors.push(n), u.pendingCount === 0 && !u.done && (Object.keys(u.loaded).forEach((l) => {
|
|
1096
1096
|
o[l] || (o[l] = {});
|
|
1097
1097
|
const d = u.loaded[l];
|
|
1098
1098
|
d.length && d.forEach((f) => {
|
|
@@ -1193,7 +1193,7 @@ class aa extends gt {
|
|
|
1193
1193
|
}
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
|
-
function
|
|
1196
|
+
function Qn() {
|
|
1197
1197
|
return {
|
|
1198
1198
|
debug: !1,
|
|
1199
1199
|
initImmediate: !0,
|
|
@@ -1252,12 +1252,12 @@ function Kn() {
|
|
|
1252
1252
|
}
|
|
1253
1253
|
};
|
|
1254
1254
|
}
|
|
1255
|
-
function
|
|
1255
|
+
function Kn(e) {
|
|
1256
1256
|
return typeof e.ns == "string" && (e.ns = [e.ns]), typeof e.fallbackLng == "string" && (e.fallbackLng = [e.fallbackLng]), typeof e.fallbackNS == "string" && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), e;
|
|
1257
1257
|
}
|
|
1258
1258
|
function Ye() {
|
|
1259
1259
|
}
|
|
1260
|
-
function
|
|
1260
|
+
function aa(e) {
|
|
1261
1261
|
Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((n) => {
|
|
1262
1262
|
typeof e[n] == "function" && (e[n] = e[n].bind(e));
|
|
1263
1263
|
});
|
|
@@ -1265,9 +1265,9 @@ function oa(e) {
|
|
|
1265
1265
|
class Ie extends gt {
|
|
1266
1266
|
constructor() {
|
|
1267
1267
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
|
|
1268
|
-
if (super(), this.options =
|
|
1268
|
+
if (super(), this.options = Kn(t), this.services = {}, this.logger = Q, this.modules = {
|
|
1269
1269
|
external: []
|
|
1270
|
-
},
|
|
1270
|
+
}, aa(this), n && !this.isInitialized && !t.isClone) {
|
|
1271
1271
|
if (!this.options.initImmediate)
|
|
1272
1272
|
return this.init(t, n), this;
|
|
1273
1273
|
setTimeout(() => {
|
|
@@ -1279,25 +1279,25 @@ class Ie extends gt {
|
|
|
1279
1279
|
var t = this;
|
|
1280
1280
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
1281
1281
|
typeof n == "function" && (r = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (typeof n.ns == "string" ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0]));
|
|
1282
|
-
const i =
|
|
1283
|
-
this.options = y(y(y({}, i), this.options),
|
|
1282
|
+
const i = Qn();
|
|
1283
|
+
this.options = y(y(y({}, i), this.options), Kn(n)), this.options.compatibilityAPI !== "v1" && (this.options.interpolation = y(y({}, i.interpolation), this.options.interpolation)), n.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = n.keySeparator), n.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = n.nsSeparator);
|
|
1284
1284
|
function s(d) {
|
|
1285
1285
|
return d ? typeof d == "function" ? new d() : d : null;
|
|
1286
1286
|
}
|
|
1287
1287
|
if (!this.options.isClone) {
|
|
1288
1288
|
this.modules.logger ? Q.init(s(this.modules.logger), this.options) : Q.init(null, this.options);
|
|
1289
1289
|
let d;
|
|
1290
|
-
this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d =
|
|
1291
|
-
const f = new
|
|
1292
|
-
this.store = new
|
|
1290
|
+
this.modules.formatter ? d = this.modules.formatter : typeof Intl != "undefined" && (d = ra);
|
|
1291
|
+
const f = new kn(this.options);
|
|
1292
|
+
this.store = new zn(this.options.resources, this.options);
|
|
1293
1293
|
const c = this.services;
|
|
1294
|
-
c.logger = Q, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new
|
|
1294
|
+
c.logger = Q, c.resourceStore = this.store, c.languageUtils = f, c.pluralResolver = new ea(f, {
|
|
1295
1295
|
prepend: this.options.pluralSeparator,
|
|
1296
1296
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
1297
1297
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
1298
|
-
}), d && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = s(d), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new
|
|
1298
|
+
}), d && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = s(d), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new ta(this.options), c.utils = {
|
|
1299
1299
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
1300
|
-
}, c.backendConnector = new
|
|
1300
|
+
}, c.backendConnector = new sa(s(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(m) {
|
|
1301
1301
|
for (var g = arguments.length, S = new Array(g > 1 ? g - 1 : 0), b = 1; b < g; b++)
|
|
1302
1302
|
S[b - 1] = arguments[b];
|
|
1303
1303
|
t.emit(m, ...S);
|
|
@@ -1357,7 +1357,7 @@ class Ie extends gt {
|
|
|
1357
1357
|
use(t) {
|
|
1358
1358
|
if (!t) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
|
|
1359
1359
|
if (!t.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
|
|
1360
|
-
return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" &&
|
|
1360
|
+
return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && Wr.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
|
|
1361
1361
|
}
|
|
1362
1362
|
setResolvedLanguage(t) {
|
|
1363
1363
|
if (!(!t || !this.languages) && !(["cimode", "dev"].indexOf(t) > -1))
|
|
@@ -1453,7 +1453,7 @@ class Ie extends gt {
|
|
|
1453
1453
|
}
|
|
1454
1454
|
dir(t) {
|
|
1455
1455
|
if (t || (t = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !t) return "rtl";
|
|
1456
|
-
const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services && this.services.languageUtils || new
|
|
1456
|
+
const n = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], r = this.services && this.services.languageUtils || new kn(Qn());
|
|
1457
1457
|
return n.indexOf(r.getLanguagePartFromCode(t)) > -1 || t.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
1458
1458
|
}
|
|
1459
1459
|
static createInstance() {
|
|
@@ -1471,7 +1471,7 @@ class Ie extends gt {
|
|
|
1471
1471
|
s[o] = this[o];
|
|
1472
1472
|
}), s.services = y({}, this.services), s.services.utils = {
|
|
1473
1473
|
hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
|
|
1474
|
-
}, r && (s.store = new
|
|
1474
|
+
}, r && (s.store = new zn(this.store.data, i), s.services.resourceStore = s.store), s.translator = new lt(s.services, i), s.translator.on("*", function(o) {
|
|
1475
1475
|
for (var u = arguments.length, l = new Array(u > 1 ? u - 1 : 0), d = 1; d < u; d++)
|
|
1476
1476
|
l[d - 1] = arguments[d];
|
|
1477
1477
|
s.emit(o, ...l);
|
|
@@ -1489,26 +1489,26 @@ class Ie extends gt {
|
|
|
1489
1489
|
};
|
|
1490
1490
|
}
|
|
1491
1491
|
}
|
|
1492
|
-
const
|
|
1493
|
-
|
|
1494
|
-
const
|
|
1492
|
+
const qr = Ie.createInstance();
|
|
1493
|
+
qr.createInstance = Ie.createInstance;
|
|
1494
|
+
const oa = {
|
|
1495
1495
|
error: "Error"
|
|
1496
|
-
},
|
|
1496
|
+
}, ua = {
|
|
1497
1497
|
error: "Помилка"
|
|
1498
|
-
},
|
|
1499
|
-
en:
|
|
1500
|
-
uk:
|
|
1501
|
-
}, V =
|
|
1502
|
-
defaultNS:
|
|
1503
|
-
resources:
|
|
1498
|
+
}, Jn = "common", la = {
|
|
1499
|
+
en: oa,
|
|
1500
|
+
uk: ua
|
|
1501
|
+
}, V = qr.createInstance({
|
|
1502
|
+
defaultNS: Jn,
|
|
1503
|
+
resources: ca(la, Jn),
|
|
1504
1504
|
lng: "en",
|
|
1505
1505
|
fallbackLng: "en"
|
|
1506
|
-
}),
|
|
1506
|
+
}), en = {
|
|
1507
1507
|
i18nextInstance: V,
|
|
1508
1508
|
initPromise: V.init().then(() => V)
|
|
1509
1509
|
}, et = /* @__PURE__ */ new Map();
|
|
1510
|
-
et.set("common",
|
|
1511
|
-
const
|
|
1510
|
+
et.set("common", en);
|
|
1511
|
+
const zr = (e) => {
|
|
1512
1512
|
if (et.has(e.namespace))
|
|
1513
1513
|
return et.get(e.namespace);
|
|
1514
1514
|
if (e.plugins)
|
|
@@ -1520,7 +1520,7 @@ const Hr = (e) => {
|
|
|
1520
1520
|
const t = V.cloneInstance({
|
|
1521
1521
|
defaultNS: e.namespace
|
|
1522
1522
|
});
|
|
1523
|
-
let n =
|
|
1523
|
+
let n = en.initPromise.then(() => t);
|
|
1524
1524
|
t.on("languageChanged", (s) => {
|
|
1525
1525
|
V.language !== s && V.changeLanguage(s);
|
|
1526
1526
|
}), V.on("languageChanged", (s) => {
|
|
@@ -1531,21 +1531,21 @@ const Hr = (e) => {
|
|
|
1531
1531
|
const i = { initPromise: n, i18nextInstance: t };
|
|
1532
1532
|
return et.set(e.namespace, i), i;
|
|
1533
1533
|
};
|
|
1534
|
-
function
|
|
1534
|
+
function ca(e, t) {
|
|
1535
1535
|
return Object.keys(e).reduce((n, r) => (n[r] = {
|
|
1536
1536
|
[t]: e[r]
|
|
1537
1537
|
}, n), {});
|
|
1538
1538
|
}
|
|
1539
|
-
class
|
|
1539
|
+
class Hr extends Error {
|
|
1540
1540
|
constructor(t, n, r) {
|
|
1541
|
-
const { key: i, interpolationOptions: s } = n, a = r ||
|
|
1541
|
+
const { key: i, interpolationOptions: s } = n, a = r || en.i18nextInstance.t, o = Object.assign(Object.assign({}, s), { ns: t }), u = a(i, Object.assign(Object.assign({}, o), { lng: "en" }));
|
|
1542
1542
|
super(u), this.key = i, this.namespace = t, this.interpolationOptions = o;
|
|
1543
1543
|
}
|
|
1544
1544
|
}
|
|
1545
|
-
function
|
|
1545
|
+
function da(e) {
|
|
1546
1546
|
return e && e.replace(new RegExp("(?<!\\\\)'", "g"), "\\'");
|
|
1547
1547
|
}
|
|
1548
|
-
const
|
|
1548
|
+
const fa = {
|
|
1549
1549
|
errors: {
|
|
1550
1550
|
noSisenseContext: "Sisense context is not initialized",
|
|
1551
1551
|
restApiNotReady: "Rest API is not initialized",
|
|
@@ -1905,7 +1905,13 @@ const ha = {
|
|
|
1905
1905
|
},
|
|
1906
1906
|
pivotTable: {
|
|
1907
1907
|
grandTotal: "Grand Total",
|
|
1908
|
-
subTotal: "{{value}} Total"
|
|
1908
|
+
subTotal: "{{value}} Total",
|
|
1909
|
+
limits: {
|
|
1910
|
+
baseNote: "Totals may refer to the complete data if set by the dashboard owner. If available, you can use filters to display fewer rows and columns. To view all your data, download the table to CSV.",
|
|
1911
|
+
rowsLimit: "The Pivot table is limited to {{recordsCount}} records",
|
|
1912
|
+
columnsLimit: "The Pivot table is limited to {{columnsCount}} columns",
|
|
1913
|
+
columnsAndRowsLimit: "The Pivot table is limited to {{recordsCount}} records and {{columnsCount}} columns"
|
|
1914
|
+
}
|
|
1909
1915
|
},
|
|
1910
1916
|
dashboard: {
|
|
1911
1917
|
toolbar: {
|
|
@@ -1916,7 +1922,9 @@ const ha = {
|
|
|
1916
1922
|
editLayout: "Edit Layout",
|
|
1917
1923
|
viewMode: "Switch to View mode",
|
|
1918
1924
|
showFilters: "Show Filters",
|
|
1919
|
-
hideFilters: "Hide Filters"
|
|
1925
|
+
hideFilters: "Hide Filters",
|
|
1926
|
+
columns: "Columns",
|
|
1927
|
+
column: "Column"
|
|
1920
1928
|
}
|
|
1921
1929
|
},
|
|
1922
1930
|
jumpToDashboard: {
|
|
@@ -1934,7 +1942,7 @@ const ha = {
|
|
|
1934
1942
|
nextGroup: "Next Group"
|
|
1935
1943
|
}
|
|
1936
1944
|
}
|
|
1937
|
-
},
|
|
1945
|
+
}, ha = {
|
|
1938
1946
|
errors: {
|
|
1939
1947
|
noSisenseContext: "Контекст Sisense не ініціалізовано",
|
|
1940
1948
|
restApiNotReady: "Rest API не ініціалізовано",
|
|
@@ -2139,7 +2147,9 @@ const ha = {
|
|
|
2139
2147
|
editLayout: "Редагувати макет",
|
|
2140
2148
|
viewMode: "Перейти до режиму перегляду",
|
|
2141
2149
|
showFilters: "Показати фільтри",
|
|
2142
|
-
hideFilters: "Приховати фільтри"
|
|
2150
|
+
hideFilters: "Приховати фільтри",
|
|
2151
|
+
columns: "Стовпці",
|
|
2152
|
+
column: "Стовпець"
|
|
2143
2153
|
}
|
|
2144
2154
|
},
|
|
2145
2155
|
unsupportedFilterMessage: "Непідтримуваний Фільтр (застосовано до запиту даних)",
|
|
@@ -2299,7 +2309,13 @@ const ha = {
|
|
|
2299
2309
|
},
|
|
2300
2310
|
pivotTable: {
|
|
2301
2311
|
grandTotal: "Загальний підсумок",
|
|
2302
|
-
subTotal: "Усього {{value}}"
|
|
2312
|
+
subTotal: "Усього {{value}}",
|
|
2313
|
+
limits: {
|
|
2314
|
+
baseNote: "Загальні підсумки можуть відноситися до всіх даних, якщо вони встановлені власником дашборду. Якщо доступні, ви можете використовувати фільтри для відображення меншої кількості рядків і стовпців. Щоб побачити всі ваші дані, завантажте таблицю в CSV.",
|
|
2315
|
+
rowsLimit: "Таблиця Pivot обмежена до {{recordsCount}} рядків",
|
|
2316
|
+
columnsLimit: "Таблиця Pivot обмежена до {{columnsCount}} стовпців",
|
|
2317
|
+
columnsAndRowsLimit: "Таблиця Pivot обмежена до {{recordsCount}} рядків і {{columnsCount}} стовпців"
|
|
2318
|
+
}
|
|
2303
2319
|
},
|
|
2304
2320
|
dataBrowser: {
|
|
2305
2321
|
addFilter: "Додати фільтр",
|
|
@@ -2323,21 +2339,21 @@ const ha = {
|
|
|
2323
2339
|
nextGroup: "Наступна група"
|
|
2324
2340
|
}
|
|
2325
2341
|
}
|
|
2326
|
-
},
|
|
2327
|
-
en:
|
|
2328
|
-
uk:
|
|
2342
|
+
}, kr = "sdkUi", pa = {
|
|
2343
|
+
en: fa,
|
|
2344
|
+
uk: ha
|
|
2329
2345
|
};
|
|
2330
|
-
function
|
|
2331
|
-
return
|
|
2332
|
-
resource:
|
|
2346
|
+
function ga() {
|
|
2347
|
+
return zr({
|
|
2348
|
+
resource: pa,
|
|
2333
2349
|
plugins: [
|
|
2334
|
-
|
|
2350
|
+
Us
|
|
2335
2351
|
],
|
|
2336
2352
|
language: "en",
|
|
2337
|
-
namespace:
|
|
2353
|
+
namespace: kr
|
|
2338
2354
|
});
|
|
2339
2355
|
}
|
|
2340
|
-
const { i18nextInstance:
|
|
2356
|
+
const { i18nextInstance: ma } = ga(), ba = {
|
|
2341
2357
|
errors: {
|
|
2342
2358
|
measure: {
|
|
2343
2359
|
unsupportedType: "Unsupported measure type",
|
|
@@ -2363,7 +2379,7 @@ const { i18nextInstance: ba } = ma(), ya = {
|
|
|
2363
2379
|
},
|
|
2364
2380
|
unsupportedDimensionalElement: "Unsupported dimensional element type"
|
|
2365
2381
|
}
|
|
2366
|
-
},
|
|
2382
|
+
}, ya = {
|
|
2367
2383
|
errors: {
|
|
2368
2384
|
measure: {
|
|
2369
2385
|
unsupportedType: "Непідтримуваний тип measure",
|
|
@@ -2389,19 +2405,19 @@ const { i18nextInstance: ba } = ma(), ya = {
|
|
|
2389
2405
|
},
|
|
2390
2406
|
unsupportedDimensionalElement: "Непідтримуваний тип елемента"
|
|
2391
2407
|
}
|
|
2392
|
-
},
|
|
2393
|
-
en:
|
|
2394
|
-
uk:
|
|
2408
|
+
}, Gr = "sdkData", va = {
|
|
2409
|
+
en: ba,
|
|
2410
|
+
uk: ya
|
|
2395
2411
|
};
|
|
2396
|
-
function
|
|
2397
|
-
return
|
|
2398
|
-
resource:
|
|
2412
|
+
function Sa() {
|
|
2413
|
+
return zr({
|
|
2414
|
+
resource: va,
|
|
2399
2415
|
language: "en",
|
|
2400
|
-
namespace:
|
|
2416
|
+
namespace: Gr
|
|
2401
2417
|
});
|
|
2402
2418
|
}
|
|
2403
|
-
const { i18nextInstance:
|
|
2404
|
-
function
|
|
2419
|
+
const { i18nextInstance: Ta } = Sa();
|
|
2420
|
+
function Aa() {
|
|
2405
2421
|
this.__data__ = [], this.size = 0;
|
|
2406
2422
|
}
|
|
2407
2423
|
function ze(e, t) {
|
|
@@ -2413,22 +2429,22 @@ function mt(e, t) {
|
|
|
2413
2429
|
return n;
|
|
2414
2430
|
return -1;
|
|
2415
2431
|
}
|
|
2416
|
-
var
|
|
2417
|
-
function
|
|
2432
|
+
var wa = Array.prototype, xa = wa.splice;
|
|
2433
|
+
function Ea(e) {
|
|
2418
2434
|
var t = this.__data__, n = mt(t, e);
|
|
2419
2435
|
if (n < 0)
|
|
2420
2436
|
return !1;
|
|
2421
2437
|
var r = t.length - 1;
|
|
2422
|
-
return n == r ? t.pop() :
|
|
2438
|
+
return n == r ? t.pop() : xa.call(t, n, 1), --this.size, !0;
|
|
2423
2439
|
}
|
|
2424
|
-
function
|
|
2440
|
+
function Oa(e) {
|
|
2425
2441
|
var t = this.__data__, n = mt(t, e);
|
|
2426
2442
|
return n < 0 ? void 0 : t[n][1];
|
|
2427
2443
|
}
|
|
2428
|
-
function
|
|
2444
|
+
function Na(e) {
|
|
2429
2445
|
return mt(this.__data__, e) > -1;
|
|
2430
2446
|
}
|
|
2431
|
-
function
|
|
2447
|
+
function Ca(e, t) {
|
|
2432
2448
|
var n = this.__data__, r = mt(n, e);
|
|
2433
2449
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
2434
2450
|
}
|
|
@@ -2439,66 +2455,66 @@ function Z(e) {
|
|
|
2439
2455
|
this.set(r[0], r[1]);
|
|
2440
2456
|
}
|
|
2441
2457
|
}
|
|
2442
|
-
Z.prototype.clear =
|
|
2443
|
-
Z.prototype.delete =
|
|
2444
|
-
Z.prototype.get =
|
|
2445
|
-
Z.prototype.has =
|
|
2446
|
-
Z.prototype.set =
|
|
2447
|
-
function
|
|
2458
|
+
Z.prototype.clear = Aa;
|
|
2459
|
+
Z.prototype.delete = Ea;
|
|
2460
|
+
Z.prototype.get = Oa;
|
|
2461
|
+
Z.prototype.has = Na;
|
|
2462
|
+
Z.prototype.set = Ca;
|
|
2463
|
+
function _a() {
|
|
2448
2464
|
this.__data__ = new Z(), this.size = 0;
|
|
2449
2465
|
}
|
|
2450
|
-
function
|
|
2466
|
+
function Ma(e) {
|
|
2451
2467
|
var t = this.__data__, n = t.delete(e);
|
|
2452
2468
|
return this.size = t.size, n;
|
|
2453
2469
|
}
|
|
2454
|
-
function
|
|
2470
|
+
function Da(e) {
|
|
2455
2471
|
return this.__data__.get(e);
|
|
2456
2472
|
}
|
|
2457
|
-
function
|
|
2473
|
+
function Ra(e) {
|
|
2458
2474
|
return this.__data__.has(e);
|
|
2459
2475
|
}
|
|
2460
|
-
var
|
|
2461
|
-
function
|
|
2462
|
-
var t =
|
|
2476
|
+
var Vr = typeof global == "object" && global && global.Object === Object && global, La = typeof self == "object" && self && self.Object === Object && self, J = Vr || La || Function("return this")(), W = J.Symbol, Qr = Object.prototype, Fa = Qr.hasOwnProperty, Ia = Qr.toString, Me = W ? W.toStringTag : void 0;
|
|
2477
|
+
function Pa(e) {
|
|
2478
|
+
var t = Fa.call(e, Me), n = e[Me];
|
|
2463
2479
|
try {
|
|
2464
2480
|
e[Me] = void 0;
|
|
2465
2481
|
var r = !0;
|
|
2466
2482
|
} catch (s) {
|
|
2467
2483
|
}
|
|
2468
|
-
var i =
|
|
2484
|
+
var i = Ia.call(e);
|
|
2469
2485
|
return r && (t ? e[Me] = n : delete e[Me]), i;
|
|
2470
2486
|
}
|
|
2471
|
-
var
|
|
2472
|
-
function
|
|
2473
|
-
return
|
|
2487
|
+
var ja = Object.prototype, $a = ja.toString;
|
|
2488
|
+
function Ba(e) {
|
|
2489
|
+
return $a.call(e);
|
|
2474
2490
|
}
|
|
2475
|
-
var
|
|
2491
|
+
var Ua = "[object Null]", Wa = "[object Undefined]", Yn = W ? W.toStringTag : void 0;
|
|
2476
2492
|
function de(e) {
|
|
2477
|
-
return e == null ? e === void 0 ?
|
|
2493
|
+
return e == null ? e === void 0 ? Wa : Ua : Yn && Yn in Object(e) ? Pa(e) : Ba(e);
|
|
2478
2494
|
}
|
|
2479
2495
|
function ee(e) {
|
|
2480
2496
|
var t = typeof e;
|
|
2481
2497
|
return e != null && (t == "object" || t == "function");
|
|
2482
2498
|
}
|
|
2483
|
-
var
|
|
2484
|
-
function
|
|
2499
|
+
var qa = "[object AsyncFunction]", za = "[object Function]", Ha = "[object GeneratorFunction]", ka = "[object Proxy]";
|
|
2500
|
+
function tn(e) {
|
|
2485
2501
|
if (!ee(e))
|
|
2486
2502
|
return !1;
|
|
2487
2503
|
var t = de(e);
|
|
2488
|
-
return t ==
|
|
2504
|
+
return t == za || t == Ha || t == qa || t == ka;
|
|
2489
2505
|
}
|
|
2490
|
-
var Rt = J["__core-js_shared__"],
|
|
2506
|
+
var Rt = J["__core-js_shared__"], Xn = function() {
|
|
2491
2507
|
var e = /[^.]+$/.exec(Rt && Rt.keys && Rt.keys.IE_PROTO || "");
|
|
2492
2508
|
return e ? "Symbol(src)_1." + e : "";
|
|
2493
2509
|
}();
|
|
2494
|
-
function
|
|
2495
|
-
return !!
|
|
2510
|
+
function Ga(e) {
|
|
2511
|
+
return !!Xn && Xn in e;
|
|
2496
2512
|
}
|
|
2497
|
-
var
|
|
2513
|
+
var Va = Function.prototype, Qa = Va.toString;
|
|
2498
2514
|
function fe(e) {
|
|
2499
2515
|
if (e != null) {
|
|
2500
2516
|
try {
|
|
2501
|
-
return
|
|
2517
|
+
return Qa.call(e);
|
|
2502
2518
|
} catch (t) {
|
|
2503
2519
|
}
|
|
2504
2520
|
try {
|
|
@@ -2508,48 +2524,48 @@ function fe(e) {
|
|
|
2508
2524
|
}
|
|
2509
2525
|
return "";
|
|
2510
2526
|
}
|
|
2511
|
-
var
|
|
2512
|
-
"^" +
|
|
2527
|
+
var Ka = /[\\^$.*+?()[\]{}|]/g, Ja = /^\[object .+?Constructor\]$/, Ya = Function.prototype, Xa = Object.prototype, Za = Ya.toString, eo = Xa.hasOwnProperty, to = RegExp(
|
|
2528
|
+
"^" + Za.call(eo).replace(Ka, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
2513
2529
|
);
|
|
2514
|
-
function
|
|
2515
|
-
if (!ee(e) ||
|
|
2530
|
+
function no(e) {
|
|
2531
|
+
if (!ee(e) || Ga(e))
|
|
2516
2532
|
return !1;
|
|
2517
|
-
var t =
|
|
2533
|
+
var t = tn(e) ? to : Ja;
|
|
2518
2534
|
return t.test(fe(e));
|
|
2519
2535
|
}
|
|
2520
|
-
function
|
|
2536
|
+
function ro(e, t) {
|
|
2521
2537
|
return e == null ? void 0 : e[t];
|
|
2522
2538
|
}
|
|
2523
2539
|
function he(e, t) {
|
|
2524
|
-
var n =
|
|
2525
|
-
return
|
|
2540
|
+
var n = ro(e, t);
|
|
2541
|
+
return no(n) ? n : void 0;
|
|
2526
2542
|
}
|
|
2527
2543
|
var Pe = he(J, "Map"), je = he(Object, "create");
|
|
2528
|
-
function
|
|
2544
|
+
function io() {
|
|
2529
2545
|
this.__data__ = je ? je(null) : {}, this.size = 0;
|
|
2530
2546
|
}
|
|
2531
|
-
function
|
|
2547
|
+
function so(e) {
|
|
2532
2548
|
var t = this.has(e) && delete this.__data__[e];
|
|
2533
2549
|
return this.size -= t ? 1 : 0, t;
|
|
2534
2550
|
}
|
|
2535
|
-
var
|
|
2536
|
-
function
|
|
2551
|
+
var ao = "__lodash_hash_undefined__", oo = Object.prototype, uo = oo.hasOwnProperty;
|
|
2552
|
+
function lo(e) {
|
|
2537
2553
|
var t = this.__data__;
|
|
2538
2554
|
if (je) {
|
|
2539
2555
|
var n = t[e];
|
|
2540
|
-
return n ===
|
|
2556
|
+
return n === ao ? void 0 : n;
|
|
2541
2557
|
}
|
|
2542
|
-
return
|
|
2558
|
+
return uo.call(t, e) ? t[e] : void 0;
|
|
2543
2559
|
}
|
|
2544
|
-
var
|
|
2545
|
-
function
|
|
2560
|
+
var co = Object.prototype, fo = co.hasOwnProperty;
|
|
2561
|
+
function ho(e) {
|
|
2546
2562
|
var t = this.__data__;
|
|
2547
|
-
return je ? t[e] !== void 0 :
|
|
2563
|
+
return je ? t[e] !== void 0 : fo.call(t, e);
|
|
2548
2564
|
}
|
|
2549
|
-
var
|
|
2550
|
-
function
|
|
2565
|
+
var po = "__lodash_hash_undefined__";
|
|
2566
|
+
function go(e, t) {
|
|
2551
2567
|
var n = this.__data__;
|
|
2552
|
-
return this.size += this.has(e) ? 0 : 1, n[e] = je && t === void 0 ?
|
|
2568
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = je && t === void 0 ? po : t, this;
|
|
2553
2569
|
}
|
|
2554
2570
|
function le(e) {
|
|
2555
2571
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -2558,37 +2574,37 @@ function le(e) {
|
|
|
2558
2574
|
this.set(r[0], r[1]);
|
|
2559
2575
|
}
|
|
2560
2576
|
}
|
|
2561
|
-
le.prototype.clear =
|
|
2562
|
-
le.prototype.delete =
|
|
2563
|
-
le.prototype.get =
|
|
2564
|
-
le.prototype.has =
|
|
2565
|
-
le.prototype.set =
|
|
2566
|
-
function
|
|
2577
|
+
le.prototype.clear = io;
|
|
2578
|
+
le.prototype.delete = so;
|
|
2579
|
+
le.prototype.get = lo;
|
|
2580
|
+
le.prototype.has = ho;
|
|
2581
|
+
le.prototype.set = go;
|
|
2582
|
+
function mo() {
|
|
2567
2583
|
this.size = 0, this.__data__ = {
|
|
2568
2584
|
hash: new le(),
|
|
2569
2585
|
map: new (Pe || Z)(),
|
|
2570
2586
|
string: new le()
|
|
2571
2587
|
};
|
|
2572
2588
|
}
|
|
2573
|
-
function
|
|
2589
|
+
function bo(e) {
|
|
2574
2590
|
var t = typeof e;
|
|
2575
2591
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
2576
2592
|
}
|
|
2577
2593
|
function bt(e, t) {
|
|
2578
2594
|
var n = e.__data__;
|
|
2579
|
-
return
|
|
2595
|
+
return bo(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
2580
2596
|
}
|
|
2581
|
-
function
|
|
2597
|
+
function yo(e) {
|
|
2582
2598
|
var t = bt(this, e).delete(e);
|
|
2583
2599
|
return this.size -= t ? 1 : 0, t;
|
|
2584
2600
|
}
|
|
2585
|
-
function
|
|
2601
|
+
function vo(e) {
|
|
2586
2602
|
return bt(this, e).get(e);
|
|
2587
2603
|
}
|
|
2588
|
-
function
|
|
2604
|
+
function So(e) {
|
|
2589
2605
|
return bt(this, e).has(e);
|
|
2590
2606
|
}
|
|
2591
|
-
function
|
|
2607
|
+
function To(e, t) {
|
|
2592
2608
|
var n = bt(this, e), r = n.size;
|
|
2593
2609
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
2594
2610
|
}
|
|
@@ -2599,17 +2615,17 @@ function te(e) {
|
|
|
2599
2615
|
this.set(r[0], r[1]);
|
|
2600
2616
|
}
|
|
2601
2617
|
}
|
|
2602
|
-
te.prototype.clear =
|
|
2603
|
-
te.prototype.delete =
|
|
2604
|
-
te.prototype.get =
|
|
2605
|
-
te.prototype.has =
|
|
2606
|
-
te.prototype.set =
|
|
2607
|
-
var
|
|
2608
|
-
function
|
|
2618
|
+
te.prototype.clear = mo;
|
|
2619
|
+
te.prototype.delete = yo;
|
|
2620
|
+
te.prototype.get = vo;
|
|
2621
|
+
te.prototype.has = So;
|
|
2622
|
+
te.prototype.set = To;
|
|
2623
|
+
var Ao = 200;
|
|
2624
|
+
function wo(e, t) {
|
|
2609
2625
|
var n = this.__data__;
|
|
2610
2626
|
if (n instanceof Z) {
|
|
2611
2627
|
var r = n.__data__;
|
|
2612
|
-
if (!Pe || r.length <
|
|
2628
|
+
if (!Pe || r.length < Ao - 1)
|
|
2613
2629
|
return r.push([e, t]), this.size = ++n.size, this;
|
|
2614
2630
|
n = this.__data__ = new te(r);
|
|
2615
2631
|
}
|
|
@@ -2619,12 +2635,12 @@ function H(e) {
|
|
|
2619
2635
|
var t = this.__data__ = new Z(e);
|
|
2620
2636
|
this.size = t.size;
|
|
2621
2637
|
}
|
|
2622
|
-
H.prototype.clear =
|
|
2623
|
-
H.prototype.delete =
|
|
2624
|
-
H.prototype.get =
|
|
2625
|
-
H.prototype.has =
|
|
2626
|
-
H.prototype.set =
|
|
2627
|
-
function
|
|
2638
|
+
H.prototype.clear = _a;
|
|
2639
|
+
H.prototype.delete = Ma;
|
|
2640
|
+
H.prototype.get = Da;
|
|
2641
|
+
H.prototype.has = Ra;
|
|
2642
|
+
H.prototype.set = wo;
|
|
2643
|
+
function xo(e, t) {
|
|
2628
2644
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
|
|
2629
2645
|
;
|
|
2630
2646
|
return e;
|
|
@@ -2644,21 +2660,21 @@ function yt(e, t, n) {
|
|
|
2644
2660
|
writable: !0
|
|
2645
2661
|
}) : e[t] = n;
|
|
2646
2662
|
}
|
|
2647
|
-
var
|
|
2648
|
-
function
|
|
2663
|
+
var Eo = Object.prototype, Oo = Eo.hasOwnProperty;
|
|
2664
|
+
function Kr(e, t, n) {
|
|
2649
2665
|
var r = e[t];
|
|
2650
|
-
(!(
|
|
2666
|
+
(!(Oo.call(e, t) && ze(r, n)) || n === void 0 && !(t in e)) && yt(e, t, n);
|
|
2651
2667
|
}
|
|
2652
2668
|
function we(e, t, n, r) {
|
|
2653
2669
|
var i = !n;
|
|
2654
2670
|
n || (n = {});
|
|
2655
2671
|
for (var s = -1, a = t.length; ++s < a; ) {
|
|
2656
2672
|
var o = t[s], u = void 0;
|
|
2657
|
-
u === void 0 && (u = e[o]), i ? yt(n, o, u) :
|
|
2673
|
+
u === void 0 && (u = e[o]), i ? yt(n, o, u) : Kr(n, o, u);
|
|
2658
2674
|
}
|
|
2659
2675
|
return n;
|
|
2660
2676
|
}
|
|
2661
|
-
function
|
|
2677
|
+
function No(e, t) {
|
|
2662
2678
|
for (var n = -1, r = Array(e); ++n < e; )
|
|
2663
2679
|
r[n] = t(n);
|
|
2664
2680
|
return r;
|
|
@@ -2666,215 +2682,216 @@ function Co(e, t) {
|
|
|
2666
2682
|
function K(e) {
|
|
2667
2683
|
return e != null && typeof e == "object";
|
|
2668
2684
|
}
|
|
2669
|
-
var
|
|
2670
|
-
function
|
|
2671
|
-
return K(e) && de(e) ==
|
|
2685
|
+
var Co = "[object Arguments]";
|
|
2686
|
+
function Zn(e) {
|
|
2687
|
+
return K(e) && de(e) == Co;
|
|
2672
2688
|
}
|
|
2673
|
-
var
|
|
2689
|
+
var Jr = Object.prototype, _o = Jr.hasOwnProperty, Mo = Jr.propertyIsEnumerable, $e = Zn(/* @__PURE__ */ function() {
|
|
2674
2690
|
return arguments;
|
|
2675
|
-
}()) ?
|
|
2676
|
-
return K(e) &&
|
|
2691
|
+
}()) ? Zn : function(e) {
|
|
2692
|
+
return K(e) && _o.call(e, "callee") && !Mo.call(e, "callee");
|
|
2677
2693
|
}, j = Array.isArray;
|
|
2678
|
-
function
|
|
2694
|
+
function Do() {
|
|
2679
2695
|
return !1;
|
|
2680
2696
|
}
|
|
2681
|
-
var
|
|
2682
|
-
function
|
|
2697
|
+
var Yr = typeof exports == "object" && exports && !exports.nodeType && exports, er = Yr && typeof module == "object" && module && !module.nodeType && module, Ro = er && er.exports === Yr, tr = Ro ? J.Buffer : void 0, Lo = tr ? tr.isBuffer : void 0, Be = Lo || Do, Fo = 9007199254740991, Io = /^(?:0|[1-9]\d*)$/;
|
|
2698
|
+
function nn(e, t) {
|
|
2683
2699
|
var n = typeof e;
|
|
2684
|
-
return t = t == null ?
|
|
2700
|
+
return t = t == null ? Fo : t, !!t && (n == "number" || n != "symbol" && Io.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
2685
2701
|
}
|
|
2686
|
-
var
|
|
2687
|
-
function
|
|
2688
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
2702
|
+
var Po = 9007199254740991;
|
|
2703
|
+
function rn(e) {
|
|
2704
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Po;
|
|
2689
2705
|
}
|
|
2690
|
-
var
|
|
2691
|
-
C[Zo] = C[eu] = C[tu] = C[nu] = C[ru] = C[iu] = C[su] = C[au] =
|
|
2692
|
-
C[$o] = C[
|
|
2693
|
-
function
|
|
2694
|
-
return K(e) &&
|
|
2706
|
+
var jo = "[object Arguments]", $o = "[object Array]", Bo = "[object Boolean]", Uo = "[object Date]", Wo = "[object Error]", qo = "[object Function]", zo = "[object Map]", Ho = "[object Number]", ko = "[object Object]", Go = "[object RegExp]", Vo = "[object Set]", Qo = "[object String]", Ko = "[object WeakMap]", Jo = "[object ArrayBuffer]", Yo = "[object DataView]", Xo = "[object Float32Array]", Zo = "[object Float64Array]", eu = "[object Int8Array]", tu = "[object Int16Array]", nu = "[object Int32Array]", ru = "[object Uint8Array]", iu = "[object Uint8ClampedArray]", su = "[object Uint16Array]", au = "[object Uint32Array]", C = {};
|
|
2707
|
+
C[Xo] = C[Zo] = C[eu] = C[tu] = C[nu] = C[ru] = C[iu] = C[su] = C[au] = !0;
|
|
2708
|
+
C[jo] = C[$o] = C[Jo] = C[Bo] = C[Yo] = C[Uo] = C[Wo] = C[qo] = C[zo] = C[Ho] = C[ko] = C[Go] = C[Vo] = C[Qo] = C[Ko] = !1;
|
|
2709
|
+
function ou(e) {
|
|
2710
|
+
return K(e) && rn(e.length) && !!C[de(e)];
|
|
2695
2711
|
}
|
|
2696
|
-
function
|
|
2712
|
+
function sn(e) {
|
|
2697
2713
|
return function(t) {
|
|
2698
2714
|
return e(t);
|
|
2699
2715
|
};
|
|
2700
2716
|
}
|
|
2701
|
-
var
|
|
2717
|
+
var Xr = typeof exports == "object" && exports && !exports.nodeType && exports, Re = Xr && typeof module == "object" && module && !module.nodeType && module, uu = Re && Re.exports === Xr, Lt = uu && Vr.process, Te = function() {
|
|
2702
2718
|
try {
|
|
2703
2719
|
var e = Re && Re.require && Re.require("util").types;
|
|
2704
2720
|
return e || Lt && Lt.binding && Lt.binding("util");
|
|
2705
2721
|
} catch (t) {
|
|
2706
2722
|
}
|
|
2707
|
-
}(),
|
|
2708
|
-
function
|
|
2709
|
-
var n = j(e), r = !n && $e(e), i = !n && !r && Be(e), s = !n && !r && !i &&
|
|
2723
|
+
}(), nr = Te && Te.isTypedArray, an = nr ? sn(nr) : ou, lu = Object.prototype, cu = lu.hasOwnProperty;
|
|
2724
|
+
function Zr(e, t) {
|
|
2725
|
+
var n = j(e), r = !n && $e(e), i = !n && !r && Be(e), s = !n && !r && !i && an(e), a = n || r || i || s, o = a ? No(e.length, String) : [], u = o.length;
|
|
2710
2726
|
for (var l in e)
|
|
2711
|
-
(t ||
|
|
2727
|
+
(t || cu.call(e, l)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
2712
2728
|
(l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
2713
2729
|
i && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
2714
2730
|
s && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
|
|
2715
|
-
|
|
2731
|
+
nn(l, u))) && o.push(l);
|
|
2716
2732
|
return o;
|
|
2717
2733
|
}
|
|
2718
|
-
var
|
|
2719
|
-
function
|
|
2720
|
-
var t = e && e.constructor, n = typeof t == "function" && t.prototype ||
|
|
2734
|
+
var du = Object.prototype;
|
|
2735
|
+
function on(e) {
|
|
2736
|
+
var t = e && e.constructor, n = typeof t == "function" && t.prototype || du;
|
|
2721
2737
|
return e === n;
|
|
2722
2738
|
}
|
|
2723
|
-
function
|
|
2739
|
+
function ei(e, t) {
|
|
2724
2740
|
return function(n) {
|
|
2725
2741
|
return e(t(n));
|
|
2726
2742
|
};
|
|
2727
2743
|
}
|
|
2728
|
-
var
|
|
2729
|
-
function
|
|
2730
|
-
if (!
|
|
2731
|
-
return
|
|
2744
|
+
var fu = ei(Object.keys, Object), hu = Object.prototype, pu = hu.hasOwnProperty;
|
|
2745
|
+
function gu(e) {
|
|
2746
|
+
if (!on(e))
|
|
2747
|
+
return fu(e);
|
|
2732
2748
|
var t = [];
|
|
2733
2749
|
for (var n in Object(e))
|
|
2734
|
-
|
|
2750
|
+
pu.call(e, n) && n != "constructor" && t.push(n);
|
|
2735
2751
|
return t;
|
|
2736
2752
|
}
|
|
2737
2753
|
function vt(e) {
|
|
2738
|
-
return e != null &&
|
|
2754
|
+
return e != null && rn(e.length) && !tn(e);
|
|
2739
2755
|
}
|
|
2740
2756
|
function He(e) {
|
|
2741
|
-
return vt(e) ?
|
|
2757
|
+
return vt(e) ? Zr(e) : gu(e);
|
|
2742
2758
|
}
|
|
2743
|
-
function
|
|
2759
|
+
function mu(e, t) {
|
|
2744
2760
|
return e && we(t, He(t), e);
|
|
2745
2761
|
}
|
|
2746
|
-
function
|
|
2762
|
+
function bu(e) {
|
|
2747
2763
|
var t = [];
|
|
2748
2764
|
if (e != null)
|
|
2749
2765
|
for (var n in Object(e))
|
|
2750
2766
|
t.push(n);
|
|
2751
2767
|
return t;
|
|
2752
2768
|
}
|
|
2753
|
-
var
|
|
2754
|
-
function
|
|
2769
|
+
var yu = Object.prototype, vu = yu.hasOwnProperty;
|
|
2770
|
+
function Su(e) {
|
|
2755
2771
|
if (!ee(e))
|
|
2756
|
-
return
|
|
2757
|
-
var t =
|
|
2772
|
+
return bu(e);
|
|
2773
|
+
var t = on(e), n = [];
|
|
2758
2774
|
for (var r in e)
|
|
2759
|
-
r == "constructor" && (t || !
|
|
2775
|
+
r == "constructor" && (t || !vu.call(e, r)) || n.push(r);
|
|
2760
2776
|
return n;
|
|
2761
2777
|
}
|
|
2762
2778
|
function ke(e) {
|
|
2763
|
-
return vt(e) ?
|
|
2779
|
+
return vt(e) ? Zr(e, !0) : Su(e);
|
|
2764
2780
|
}
|
|
2765
|
-
function
|
|
2781
|
+
function Tu(e, t) {
|
|
2766
2782
|
return e && we(t, ke(t), e);
|
|
2767
2783
|
}
|
|
2768
|
-
var
|
|
2769
|
-
function
|
|
2784
|
+
var ti = typeof exports == "object" && exports && !exports.nodeType && exports, rr = ti && typeof module == "object" && module && !module.nodeType && module, Au = rr && rr.exports === ti, ir = Au ? J.Buffer : void 0, sr = ir ? ir.allocUnsafe : void 0;
|
|
2785
|
+
function ni(e, t) {
|
|
2770
2786
|
if (t)
|
|
2771
2787
|
return e.slice();
|
|
2772
|
-
var n = e.length, r =
|
|
2788
|
+
var n = e.length, r = sr ? sr(n) : new e.constructor(n);
|
|
2773
2789
|
return e.copy(r), r;
|
|
2774
2790
|
}
|
|
2775
|
-
function
|
|
2791
|
+
function ri(e, t) {
|
|
2776
2792
|
var n = -1, r = e.length;
|
|
2777
2793
|
for (t || (t = Array(r)); ++n < r; )
|
|
2778
2794
|
t[n] = e[n];
|
|
2779
2795
|
return t;
|
|
2780
2796
|
}
|
|
2781
|
-
function
|
|
2797
|
+
function wu(e, t) {
|
|
2782
2798
|
for (var n = -1, r = e == null ? 0 : e.length, i = 0, s = []; ++n < r; ) {
|
|
2783
2799
|
var a = e[n];
|
|
2784
2800
|
t(a, n, e) && (s[i++] = a);
|
|
2785
2801
|
}
|
|
2786
2802
|
return s;
|
|
2787
2803
|
}
|
|
2788
|
-
function
|
|
2804
|
+
function ii() {
|
|
2789
2805
|
return [];
|
|
2790
2806
|
}
|
|
2791
|
-
var
|
|
2792
|
-
return e == null ? [] : (e = Object(e),
|
|
2793
|
-
return
|
|
2807
|
+
var xu = Object.prototype, Eu = xu.propertyIsEnumerable, ar = Object.getOwnPropertySymbols, un = ar ? function(e) {
|
|
2808
|
+
return e == null ? [] : (e = Object(e), wu(ar(e), function(t) {
|
|
2809
|
+
return Eu.call(e, t);
|
|
2794
2810
|
}));
|
|
2795
|
-
} :
|
|
2796
|
-
function
|
|
2797
|
-
return we(e,
|
|
2811
|
+
} : ii;
|
|
2812
|
+
function Ou(e, t) {
|
|
2813
|
+
return we(e, un(e), t);
|
|
2798
2814
|
}
|
|
2799
|
-
function
|
|
2815
|
+
function ln(e, t) {
|
|
2800
2816
|
for (var n = -1, r = t.length, i = e.length; ++n < r; )
|
|
2801
2817
|
e[i + n] = t[n];
|
|
2802
2818
|
return e;
|
|
2803
2819
|
}
|
|
2804
|
-
var
|
|
2820
|
+
var cn = ei(Object.getPrototypeOf, Object), Nu = Object.getOwnPropertySymbols, si = Nu ? function(e) {
|
|
2805
2821
|
for (var t = []; e; )
|
|
2806
|
-
|
|
2822
|
+
ln(t, un(e)), e = cn(e);
|
|
2807
2823
|
return t;
|
|
2808
|
-
} :
|
|
2809
|
-
function
|
|
2810
|
-
return we(e,
|
|
2824
|
+
} : ii;
|
|
2825
|
+
function Cu(e, t) {
|
|
2826
|
+
return we(e, si(e), t);
|
|
2811
2827
|
}
|
|
2812
|
-
function
|
|
2828
|
+
function ai(e, t, n) {
|
|
2813
2829
|
var r = t(e);
|
|
2814
|
-
return j(e) ? r :
|
|
2830
|
+
return j(e) ? r : ln(r, n(e));
|
|
2815
2831
|
}
|
|
2816
|
-
function
|
|
2817
|
-
return
|
|
2832
|
+
function $t(e) {
|
|
2833
|
+
return ai(e, He, un);
|
|
2818
2834
|
}
|
|
2819
|
-
function
|
|
2820
|
-
return
|
|
2835
|
+
function oi(e) {
|
|
2836
|
+
return ai(e, ke, si);
|
|
2821
2837
|
}
|
|
2822
|
-
var
|
|
2823
|
-
(
|
|
2824
|
-
var t = de(e), n = t ==
|
|
2838
|
+
var Bt = he(J, "DataView"), Ut = he(J, "Promise"), Wt = he(J, "Set"), qt = he(J, "WeakMap"), or = "[object Map]", _u = "[object Object]", ur = "[object Promise]", lr = "[object Set]", cr = "[object WeakMap]", dr = "[object DataView]", Mu = fe(Bt), Du = fe(Pe), Ru = fe(Ut), Lu = fe(Wt), Fu = fe(qt), z = de;
|
|
2839
|
+
(Bt && z(new Bt(new ArrayBuffer(1))) != dr || Pe && z(new Pe()) != or || Ut && z(Ut.resolve()) != ur || Wt && z(new Wt()) != lr || qt && z(new qt()) != cr) && (z = function(e) {
|
|
2840
|
+
var t = de(e), n = t == _u ? e.constructor : void 0, r = n ? fe(n) : "";
|
|
2825
2841
|
if (r)
|
|
2826
2842
|
switch (r) {
|
|
2843
|
+
case Mu:
|
|
2844
|
+
return dr;
|
|
2827
2845
|
case Du:
|
|
2828
|
-
return
|
|
2846
|
+
return or;
|
|
2829
2847
|
case Ru:
|
|
2830
2848
|
return ur;
|
|
2831
2849
|
case Lu:
|
|
2832
2850
|
return lr;
|
|
2833
2851
|
case Fu:
|
|
2834
2852
|
return cr;
|
|
2835
|
-
case Iu:
|
|
2836
|
-
return dr;
|
|
2837
2853
|
}
|
|
2838
2854
|
return t;
|
|
2839
2855
|
});
|
|
2840
|
-
var
|
|
2841
|
-
function
|
|
2856
|
+
var Iu = Object.prototype, Pu = Iu.hasOwnProperty;
|
|
2857
|
+
function ju(e) {
|
|
2842
2858
|
var t = e.length, n = new e.constructor(t);
|
|
2843
|
-
return t && typeof e[0] == "string" &&
|
|
2859
|
+
return t && typeof e[0] == "string" && Pu.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
2844
2860
|
}
|
|
2845
2861
|
var dt = J.Uint8Array;
|
|
2846
|
-
function
|
|
2862
|
+
function dn(e) {
|
|
2847
2863
|
var t = new e.constructor(e.byteLength);
|
|
2848
2864
|
return new dt(t).set(new dt(e)), t;
|
|
2849
2865
|
}
|
|
2850
|
-
function
|
|
2851
|
-
var n = t ?
|
|
2866
|
+
function $u(e, t) {
|
|
2867
|
+
var n = t ? dn(e.buffer) : e.buffer;
|
|
2852
2868
|
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
2853
2869
|
}
|
|
2854
|
-
var
|
|
2855
|
-
function
|
|
2856
|
-
var t = new e.constructor(e.source,
|
|
2870
|
+
var Bu = /\w*$/;
|
|
2871
|
+
function Uu(e) {
|
|
2872
|
+
var t = new e.constructor(e.source, Bu.exec(e));
|
|
2857
2873
|
return t.lastIndex = e.lastIndex, t;
|
|
2858
2874
|
}
|
|
2859
|
-
var
|
|
2860
|
-
function
|
|
2861
|
-
return
|
|
2875
|
+
var fr = W ? W.prototype : void 0, hr = fr ? fr.valueOf : void 0;
|
|
2876
|
+
function Wu(e) {
|
|
2877
|
+
return hr ? Object(hr.call(e)) : {};
|
|
2862
2878
|
}
|
|
2863
|
-
function
|
|
2864
|
-
var n = t ?
|
|
2879
|
+
function ui(e, t) {
|
|
2880
|
+
var n = t ? dn(e.buffer) : e.buffer;
|
|
2865
2881
|
return new e.constructor(n, e.byteOffset, e.length);
|
|
2866
2882
|
}
|
|
2867
|
-
var
|
|
2868
|
-
function
|
|
2883
|
+
var qu = "[object Boolean]", zu = "[object Date]", Hu = "[object Map]", ku = "[object Number]", Gu = "[object RegExp]", Vu = "[object Set]", Qu = "[object String]", Ku = "[object Symbol]", Ju = "[object ArrayBuffer]", Yu = "[object DataView]", Xu = "[object Float32Array]", Zu = "[object Float64Array]", el = "[object Int8Array]", tl = "[object Int16Array]", nl = "[object Int32Array]", rl = "[object Uint8Array]", il = "[object Uint8ClampedArray]", sl = "[object Uint16Array]", al = "[object Uint32Array]";
|
|
2884
|
+
function ol(e, t, n) {
|
|
2869
2885
|
var r = e.constructor;
|
|
2870
2886
|
switch (t) {
|
|
2871
|
-
case
|
|
2872
|
-
return
|
|
2887
|
+
case Ju:
|
|
2888
|
+
return dn(e);
|
|
2889
|
+
case qu:
|
|
2873
2890
|
case zu:
|
|
2874
|
-
case Hu:
|
|
2875
2891
|
return new r(+e);
|
|
2892
|
+
case Yu:
|
|
2893
|
+
return $u(e, n);
|
|
2876
2894
|
case Xu:
|
|
2877
|
-
return Bu(e, n);
|
|
2878
2895
|
case Zu:
|
|
2879
2896
|
case el:
|
|
2880
2897
|
case tl:
|
|
@@ -2883,90 +2900,89 @@ function ul(e, t, n) {
|
|
|
2883
2900
|
case il:
|
|
2884
2901
|
case sl:
|
|
2885
2902
|
case al:
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
case ku:
|
|
2903
|
+
return ui(e, n);
|
|
2904
|
+
case Hu:
|
|
2889
2905
|
return new r();
|
|
2890
|
-
case
|
|
2891
|
-
case
|
|
2906
|
+
case ku:
|
|
2907
|
+
case Qu:
|
|
2892
2908
|
return new r(e);
|
|
2909
|
+
case Gu:
|
|
2910
|
+
return Uu(e);
|
|
2893
2911
|
case Vu:
|
|
2894
|
-
return Wu(e);
|
|
2895
|
-
case Qu:
|
|
2896
2912
|
return new r();
|
|
2897
|
-
case
|
|
2898
|
-
return
|
|
2913
|
+
case Ku:
|
|
2914
|
+
return Wu(e);
|
|
2899
2915
|
}
|
|
2900
2916
|
}
|
|
2901
|
-
var
|
|
2917
|
+
var pr = Object.create, ul = /* @__PURE__ */ function() {
|
|
2902
2918
|
function e() {
|
|
2903
2919
|
}
|
|
2904
2920
|
return function(t) {
|
|
2905
2921
|
if (!ee(t))
|
|
2906
2922
|
return {};
|
|
2907
|
-
if (
|
|
2908
|
-
return
|
|
2923
|
+
if (pr)
|
|
2924
|
+
return pr(t);
|
|
2909
2925
|
e.prototype = t;
|
|
2910
2926
|
var n = new e();
|
|
2911
2927
|
return e.prototype = void 0, n;
|
|
2912
2928
|
};
|
|
2913
2929
|
}();
|
|
2914
|
-
function
|
|
2915
|
-
return typeof e.constructor == "function" && !
|
|
2930
|
+
function li(e) {
|
|
2931
|
+
return typeof e.constructor == "function" && !on(e) ? ul(cn(e)) : {};
|
|
2916
2932
|
}
|
|
2917
|
-
var
|
|
2918
|
-
function
|
|
2919
|
-
return K(e) && z(e) ==
|
|
2933
|
+
var ll = "[object Map]";
|
|
2934
|
+
function cl(e) {
|
|
2935
|
+
return K(e) && z(e) == ll;
|
|
2920
2936
|
}
|
|
2921
|
-
var
|
|
2922
|
-
function
|
|
2923
|
-
return K(e) && z(e) ==
|
|
2937
|
+
var gr = Te && Te.isMap, dl = gr ? sn(gr) : cl, fl = "[object Set]";
|
|
2938
|
+
function hl(e) {
|
|
2939
|
+
return K(e) && z(e) == fl;
|
|
2924
2940
|
}
|
|
2925
|
-
var
|
|
2926
|
-
N[
|
|
2927
|
-
N[
|
|
2941
|
+
var mr = Te && Te.isSet, pl = mr ? sn(mr) : hl, gl = 1, ml = 2, bl = 4, ci = "[object Arguments]", yl = "[object Array]", vl = "[object Boolean]", Sl = "[object Date]", Tl = "[object Error]", di = "[object Function]", Al = "[object GeneratorFunction]", wl = "[object Map]", xl = "[object Number]", fi = "[object Object]", El = "[object RegExp]", Ol = "[object Set]", Nl = "[object String]", Cl = "[object Symbol]", _l = "[object WeakMap]", Ml = "[object ArrayBuffer]", Dl = "[object DataView]", Rl = "[object Float32Array]", Ll = "[object Float64Array]", Fl = "[object Int8Array]", Il = "[object Int16Array]", Pl = "[object Int32Array]", jl = "[object Uint8Array]", $l = "[object Uint8ClampedArray]", Bl = "[object Uint16Array]", Ul = "[object Uint32Array]", N = {};
|
|
2942
|
+
N[ci] = N[yl] = N[Ml] = N[Dl] = N[vl] = N[Sl] = N[Rl] = N[Ll] = N[Fl] = N[Il] = N[Pl] = N[wl] = N[xl] = N[fi] = N[El] = N[Ol] = N[Nl] = N[Cl] = N[jl] = N[$l] = N[Bl] = N[Ul] = !0;
|
|
2943
|
+
N[Tl] = N[di] = N[_l] = !1;
|
|
2928
2944
|
function Le(e, t, n, r, i, s) {
|
|
2929
|
-
var a, o = t &
|
|
2945
|
+
var a, o = t & gl, u = t & ml, l = t & bl;
|
|
2930
2946
|
if (n && (a = i ? n(e, r, i, s) : n(e)), a !== void 0)
|
|
2931
2947
|
return a;
|
|
2932
2948
|
if (!ee(e))
|
|
2933
2949
|
return e;
|
|
2934
2950
|
var d = j(e);
|
|
2935
2951
|
if (d) {
|
|
2936
|
-
if (a =
|
|
2937
|
-
return
|
|
2952
|
+
if (a = ju(e), !o)
|
|
2953
|
+
return ri(e, a);
|
|
2938
2954
|
} else {
|
|
2939
|
-
var f = z(e), c = f ==
|
|
2955
|
+
var f = z(e), c = f == di || f == Al;
|
|
2940
2956
|
if (Be(e))
|
|
2941
|
-
return
|
|
2942
|
-
if (f ==
|
|
2943
|
-
if (a = u || c ? {} :
|
|
2944
|
-
return u ?
|
|
2957
|
+
return ni(e, o);
|
|
2958
|
+
if (f == fi || f == ci || c && !i) {
|
|
2959
|
+
if (a = u || c ? {} : li(e), !o)
|
|
2960
|
+
return u ? Cu(e, Tu(a, e)) : Ou(e, mu(a, e));
|
|
2945
2961
|
} else {
|
|
2946
2962
|
if (!N[f])
|
|
2947
2963
|
return i ? e : {};
|
|
2948
|
-
a =
|
|
2964
|
+
a = ol(e, f, o);
|
|
2949
2965
|
}
|
|
2950
2966
|
}
|
|
2951
2967
|
s || (s = new H());
|
|
2952
2968
|
var m = s.get(e);
|
|
2953
2969
|
if (m)
|
|
2954
2970
|
return m;
|
|
2955
|
-
s.set(e, a),
|
|
2971
|
+
s.set(e, a), pl(e) ? e.forEach(function(b) {
|
|
2956
2972
|
a.add(Le(b, t, n, b, e, s));
|
|
2957
|
-
}) :
|
|
2973
|
+
}) : dl(e) && e.forEach(function(b, x) {
|
|
2958
2974
|
a.set(x, Le(b, t, n, x, e, s));
|
|
2959
2975
|
});
|
|
2960
|
-
var g = l ? u ?
|
|
2961
|
-
return
|
|
2962
|
-
S && (x = b, b = e[x]),
|
|
2976
|
+
var g = l ? u ? oi : $t : u ? ke : He, S = d ? void 0 : g(e);
|
|
2977
|
+
return xo(S || e, function(b, x) {
|
|
2978
|
+
S && (x = b, b = e[x]), Kr(a, x, Le(b, t, n, x, e, s));
|
|
2963
2979
|
}), a;
|
|
2964
2980
|
}
|
|
2965
|
-
var
|
|
2966
|
-
function
|
|
2967
|
-
return Le(e,
|
|
2981
|
+
var Wl = 1, ql = 4;
|
|
2982
|
+
function hi(e) {
|
|
2983
|
+
return Le(e, Wl | ql);
|
|
2968
2984
|
}
|
|
2969
|
-
function
|
|
2985
|
+
function zl(e) {
|
|
2970
2986
|
return function(t, n, r) {
|
|
2971
2987
|
for (var i = -1, s = Object(t), a = r(t), o = a.length; o--; ) {
|
|
2972
2988
|
var u = a[++i];
|
|
@@ -2976,15 +2992,15 @@ function Hl(e) {
|
|
|
2976
2992
|
return t;
|
|
2977
2993
|
};
|
|
2978
2994
|
}
|
|
2979
|
-
var
|
|
2980
|
-
function
|
|
2981
|
-
return e &&
|
|
2995
|
+
var pi = zl();
|
|
2996
|
+
function Hl(e, t) {
|
|
2997
|
+
return e && pi(e, t, He);
|
|
2982
2998
|
}
|
|
2983
|
-
var
|
|
2984
|
-
function
|
|
2985
|
-
return this.__data__.set(e,
|
|
2999
|
+
var kl = "__lodash_hash_undefined__";
|
|
3000
|
+
function Gl(e) {
|
|
3001
|
+
return this.__data__.set(e, kl), this;
|
|
2986
3002
|
}
|
|
2987
|
-
function
|
|
3003
|
+
function Vl(e) {
|
|
2988
3004
|
return this.__data__.has(e);
|
|
2989
3005
|
}
|
|
2990
3006
|
function ft(e) {
|
|
@@ -2992,26 +3008,26 @@ function ft(e) {
|
|
|
2992
3008
|
for (this.__data__ = new te(); ++t < n; )
|
|
2993
3009
|
this.add(e[t]);
|
|
2994
3010
|
}
|
|
2995
|
-
ft.prototype.add = ft.prototype.push =
|
|
2996
|
-
ft.prototype.has =
|
|
2997
|
-
function
|
|
3011
|
+
ft.prototype.add = ft.prototype.push = Gl;
|
|
3012
|
+
ft.prototype.has = Vl;
|
|
3013
|
+
function Ql(e, t) {
|
|
2998
3014
|
for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
|
|
2999
3015
|
if (t(e[n], n, e))
|
|
3000
3016
|
return !0;
|
|
3001
3017
|
return !1;
|
|
3002
3018
|
}
|
|
3003
|
-
function
|
|
3019
|
+
function Kl(e, t) {
|
|
3004
3020
|
return e.has(t);
|
|
3005
3021
|
}
|
|
3006
|
-
var
|
|
3007
|
-
function
|
|
3008
|
-
var a = n &
|
|
3022
|
+
var Jl = 1, Yl = 2;
|
|
3023
|
+
function gi(e, t, n, r, i, s) {
|
|
3024
|
+
var a = n & Jl, o = e.length, u = t.length;
|
|
3009
3025
|
if (o != u && !(a && u > o))
|
|
3010
3026
|
return !1;
|
|
3011
3027
|
var l = s.get(e), d = s.get(t);
|
|
3012
3028
|
if (l && d)
|
|
3013
3029
|
return l == t && d == e;
|
|
3014
|
-
var f = -1, c = !0, m = n &
|
|
3030
|
+
var f = -1, c = !0, m = n & Yl ? new ft() : void 0;
|
|
3015
3031
|
for (s.set(e, t), s.set(t, e); ++f < o; ) {
|
|
3016
3032
|
var g = e[f], S = t[f];
|
|
3017
3033
|
if (r)
|
|
@@ -3023,8 +3039,8 @@ function mi(e, t, n, r, i, s) {
|
|
|
3023
3039
|
break;
|
|
3024
3040
|
}
|
|
3025
3041
|
if (m) {
|
|
3026
|
-
if (!
|
|
3027
|
-
if (!
|
|
3042
|
+
if (!Ql(t, function(x, M) {
|
|
3043
|
+
if (!Kl(m, M) && (g === x || i(g, x, n, r, s)))
|
|
3028
3044
|
return m.push(M);
|
|
3029
3045
|
})) {
|
|
3030
3046
|
c = !1;
|
|
@@ -3037,62 +3053,62 @@ function mi(e, t, n, r, i, s) {
|
|
|
3037
3053
|
}
|
|
3038
3054
|
return s.delete(e), s.delete(t), c;
|
|
3039
3055
|
}
|
|
3040
|
-
function
|
|
3056
|
+
function Xl(e) {
|
|
3041
3057
|
var t = -1, n = Array(e.size);
|
|
3042
3058
|
return e.forEach(function(r, i) {
|
|
3043
3059
|
n[++t] = [i, r];
|
|
3044
3060
|
}), n;
|
|
3045
3061
|
}
|
|
3046
|
-
function
|
|
3062
|
+
function Zl(e) {
|
|
3047
3063
|
var t = -1, n = Array(e.size);
|
|
3048
3064
|
return e.forEach(function(r) {
|
|
3049
3065
|
n[++t] = r;
|
|
3050
3066
|
}), n;
|
|
3051
3067
|
}
|
|
3052
|
-
var
|
|
3053
|
-
function
|
|
3068
|
+
var ec = 1, tc = 2, nc = "[object Boolean]", rc = "[object Date]", ic = "[object Error]", sc = "[object Map]", ac = "[object Number]", oc = "[object RegExp]", uc = "[object Set]", lc = "[object String]", cc = "[object Symbol]", dc = "[object ArrayBuffer]", fc = "[object DataView]", br = W ? W.prototype : void 0, Ft = br ? br.valueOf : void 0;
|
|
3069
|
+
function hc(e, t, n, r, i, s, a) {
|
|
3054
3070
|
switch (n) {
|
|
3055
|
-
case
|
|
3071
|
+
case fc:
|
|
3056
3072
|
if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
|
|
3057
3073
|
return !1;
|
|
3058
3074
|
e = e.buffer, t = t.buffer;
|
|
3059
|
-
case
|
|
3075
|
+
case dc:
|
|
3060
3076
|
return !(e.byteLength != t.byteLength || !s(new dt(e), new dt(t)));
|
|
3077
|
+
case nc:
|
|
3061
3078
|
case rc:
|
|
3079
|
+
case ac:
|
|
3080
|
+
return ze(+e, +t);
|
|
3062
3081
|
case ic:
|
|
3082
|
+
return e.name == t.name && e.message == t.message;
|
|
3063
3083
|
case oc:
|
|
3064
|
-
|
|
3084
|
+
case lc:
|
|
3085
|
+
return e == t + "";
|
|
3065
3086
|
case sc:
|
|
3066
|
-
|
|
3087
|
+
var o = Xl;
|
|
3067
3088
|
case uc:
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
case ac:
|
|
3071
|
-
var o = Zl;
|
|
3072
|
-
case lc:
|
|
3073
|
-
var u = r & tc;
|
|
3074
|
-
if (o || (o = ec), e.size != t.size && !u)
|
|
3089
|
+
var u = r & ec;
|
|
3090
|
+
if (o || (o = Zl), e.size != t.size && !u)
|
|
3075
3091
|
return !1;
|
|
3076
3092
|
var l = a.get(e);
|
|
3077
3093
|
if (l)
|
|
3078
3094
|
return l == t;
|
|
3079
|
-
r |=
|
|
3080
|
-
var d =
|
|
3095
|
+
r |= tc, a.set(e, t);
|
|
3096
|
+
var d = gi(o(e), o(t), r, i, s, a);
|
|
3081
3097
|
return a.delete(e), d;
|
|
3082
|
-
case
|
|
3098
|
+
case cc:
|
|
3083
3099
|
if (Ft)
|
|
3084
3100
|
return Ft.call(e) == Ft.call(t);
|
|
3085
3101
|
}
|
|
3086
3102
|
return !1;
|
|
3087
3103
|
}
|
|
3088
|
-
var
|
|
3089
|
-
function
|
|
3090
|
-
var a = n &
|
|
3104
|
+
var pc = 1, gc = Object.prototype, mc = gc.hasOwnProperty;
|
|
3105
|
+
function bc(e, t, n, r, i, s) {
|
|
3106
|
+
var a = n & pc, o = $t(e), u = o.length, l = $t(t), d = l.length;
|
|
3091
3107
|
if (u != d && !a)
|
|
3092
3108
|
return !1;
|
|
3093
3109
|
for (var f = u; f--; ) {
|
|
3094
3110
|
var c = o[f];
|
|
3095
|
-
if (!(a ? c in t :
|
|
3111
|
+
if (!(a ? c in t : mc.call(t, c)))
|
|
3096
3112
|
return !1;
|
|
3097
3113
|
}
|
|
3098
3114
|
var m = s.get(e), g = s.get(t);
|
|
@@ -3117,10 +3133,10 @@ function yc(e, t, n, r, i, s) {
|
|
|
3117
3133
|
}
|
|
3118
3134
|
return s.delete(e), s.delete(t), S;
|
|
3119
3135
|
}
|
|
3120
|
-
var
|
|
3121
|
-
function
|
|
3122
|
-
var a = j(e), o = j(t), u = a ?
|
|
3123
|
-
u = u ==
|
|
3136
|
+
var yc = 1, yr = "[object Arguments]", vr = "[object Array]", Xe = "[object Object]", vc = Object.prototype, Sr = vc.hasOwnProperty;
|
|
3137
|
+
function Sc(e, t, n, r, i, s) {
|
|
3138
|
+
var a = j(e), o = j(t), u = a ? vr : z(e), l = o ? vr : z(t);
|
|
3139
|
+
u = u == yr ? Xe : u, l = l == yr ? Xe : l;
|
|
3124
3140
|
var d = u == Xe, f = l == Xe, c = u == l;
|
|
3125
3141
|
if (c && Be(e)) {
|
|
3126
3142
|
if (!Be(t))
|
|
@@ -3128,21 +3144,21 @@ function Tc(e, t, n, r, i, s) {
|
|
|
3128
3144
|
a = !0, d = !1;
|
|
3129
3145
|
}
|
|
3130
3146
|
if (c && !d)
|
|
3131
|
-
return s || (s = new H()), a ||
|
|
3132
|
-
if (!(n &
|
|
3133
|
-
var m = d &&
|
|
3147
|
+
return s || (s = new H()), a || an(e) ? gi(e, t, n, r, i, s) : hc(e, t, u, n, r, i, s);
|
|
3148
|
+
if (!(n & yc)) {
|
|
3149
|
+
var m = d && Sr.call(e, "__wrapped__"), g = f && Sr.call(t, "__wrapped__");
|
|
3134
3150
|
if (m || g) {
|
|
3135
3151
|
var S = m ? e.value() : e, b = g ? t.value() : t;
|
|
3136
3152
|
return s || (s = new H()), i(S, b, n, r, s);
|
|
3137
3153
|
}
|
|
3138
3154
|
}
|
|
3139
|
-
return c ? (s || (s = new H()),
|
|
3155
|
+
return c ? (s || (s = new H()), bc(e, t, n, r, i, s)) : !1;
|
|
3140
3156
|
}
|
|
3141
3157
|
function St(e, t, n, r, i) {
|
|
3142
|
-
return e === t ? !0 : e == null || t == null || !K(e) && !K(t) ? e !== e && t !== t :
|
|
3158
|
+
return e === t ? !0 : e == null || t == null || !K(e) && !K(t) ? e !== e && t !== t : Sc(e, t, n, r, St, i);
|
|
3143
3159
|
}
|
|
3144
|
-
var
|
|
3145
|
-
function
|
|
3160
|
+
var Tc = 1, Ac = 2;
|
|
3161
|
+
function wc(e, t, n, r) {
|
|
3146
3162
|
var i = n.length, s = i;
|
|
3147
3163
|
if (e == null)
|
|
3148
3164
|
return !s;
|
|
@@ -3159,48 +3175,48 @@ function xc(e, t, n, r) {
|
|
|
3159
3175
|
return !1;
|
|
3160
3176
|
} else {
|
|
3161
3177
|
var d = new H(), f;
|
|
3162
|
-
if (!(f === void 0 ? St(l, u,
|
|
3178
|
+
if (!(f === void 0 ? St(l, u, Tc | Ac, r, d) : f))
|
|
3163
3179
|
return !1;
|
|
3164
3180
|
}
|
|
3165
3181
|
}
|
|
3166
3182
|
return !0;
|
|
3167
3183
|
}
|
|
3168
|
-
function
|
|
3184
|
+
function mi(e) {
|
|
3169
3185
|
return e === e && !ee(e);
|
|
3170
3186
|
}
|
|
3171
|
-
function
|
|
3187
|
+
function xc(e) {
|
|
3172
3188
|
for (var t = He(e), n = t.length; n--; ) {
|
|
3173
3189
|
var r = t[n], i = e[r];
|
|
3174
|
-
t[n] = [r, i,
|
|
3190
|
+
t[n] = [r, i, mi(i)];
|
|
3175
3191
|
}
|
|
3176
3192
|
return t;
|
|
3177
3193
|
}
|
|
3178
|
-
function
|
|
3194
|
+
function bi(e, t) {
|
|
3179
3195
|
return function(n) {
|
|
3180
3196
|
return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n));
|
|
3181
3197
|
};
|
|
3182
3198
|
}
|
|
3183
|
-
function
|
|
3184
|
-
var t =
|
|
3185
|
-
return t.length == 1 && t[0][2] ?
|
|
3186
|
-
return n === e ||
|
|
3199
|
+
function Ec(e) {
|
|
3200
|
+
var t = xc(e);
|
|
3201
|
+
return t.length == 1 && t[0][2] ? bi(t[0][0], t[0][1]) : function(n) {
|
|
3202
|
+
return n === e || wc(n, e, t);
|
|
3187
3203
|
};
|
|
3188
3204
|
}
|
|
3189
|
-
var
|
|
3190
|
-
function
|
|
3191
|
-
return typeof e == "symbol" || K(e) && de(e) ==
|
|
3205
|
+
var Oc = "[object Symbol]";
|
|
3206
|
+
function fn(e) {
|
|
3207
|
+
return typeof e == "symbol" || K(e) && de(e) == Oc;
|
|
3192
3208
|
}
|
|
3193
|
-
var
|
|
3194
|
-
function
|
|
3209
|
+
var Nc = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Cc = /^\w*$/;
|
|
3210
|
+
function hn(e, t) {
|
|
3195
3211
|
if (j(e))
|
|
3196
3212
|
return !1;
|
|
3197
3213
|
var n = typeof e;
|
|
3198
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null ||
|
|
3214
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || fn(e) ? !0 : Cc.test(e) || !Nc.test(e) || t != null && e in Object(t);
|
|
3199
3215
|
}
|
|
3200
|
-
var
|
|
3201
|
-
function
|
|
3216
|
+
var _c = "Expected a function";
|
|
3217
|
+
function pn(e, t) {
|
|
3202
3218
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
3203
|
-
throw new TypeError(
|
|
3219
|
+
throw new TypeError(_c);
|
|
3204
3220
|
var n = function() {
|
|
3205
3221
|
var r = arguments, i = t ? t.apply(this, r) : r[0], s = n.cache;
|
|
3206
3222
|
if (s.has(i))
|
|
@@ -3208,65 +3224,65 @@ function gn(e, t) {
|
|
|
3208
3224
|
var a = e.apply(this, r);
|
|
3209
3225
|
return n.cache = s.set(i, a) || s, a;
|
|
3210
3226
|
};
|
|
3211
|
-
return n.cache = new (
|
|
3227
|
+
return n.cache = new (pn.Cache || te)(), n;
|
|
3212
3228
|
}
|
|
3213
|
-
|
|
3214
|
-
var
|
|
3215
|
-
function
|
|
3216
|
-
var t =
|
|
3217
|
-
return n.size ===
|
|
3229
|
+
pn.Cache = te;
|
|
3230
|
+
var Mc = 500;
|
|
3231
|
+
function Dc(e) {
|
|
3232
|
+
var t = pn(e, function(r) {
|
|
3233
|
+
return n.size === Mc && n.clear(), r;
|
|
3218
3234
|
}), n = t.cache;
|
|
3219
3235
|
return t;
|
|
3220
3236
|
}
|
|
3221
|
-
var
|
|
3237
|
+
var Rc = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Lc = /\\(\\)?/g, Fc = Dc(function(e) {
|
|
3222
3238
|
var t = [];
|
|
3223
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
3224
|
-
t.push(i ? s.replace(
|
|
3239
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(Rc, function(n, r, i, s) {
|
|
3240
|
+
t.push(i ? s.replace(Lc, "$1") : r || n);
|
|
3225
3241
|
}), t;
|
|
3226
3242
|
});
|
|
3227
|
-
function
|
|
3243
|
+
function yi(e, t) {
|
|
3228
3244
|
for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r; )
|
|
3229
3245
|
i[n] = t(e[n], n, e);
|
|
3230
3246
|
return i;
|
|
3231
3247
|
}
|
|
3232
|
-
var
|
|
3233
|
-
function
|
|
3248
|
+
var Ic = 1 / 0, Tr = W ? W.prototype : void 0, Ar = Tr ? Tr.toString : void 0;
|
|
3249
|
+
function vi(e) {
|
|
3234
3250
|
if (typeof e == "string")
|
|
3235
3251
|
return e;
|
|
3236
3252
|
if (j(e))
|
|
3237
|
-
return
|
|
3238
|
-
if (
|
|
3239
|
-
return
|
|
3253
|
+
return yi(e, vi) + "";
|
|
3254
|
+
if (fn(e))
|
|
3255
|
+
return Ar ? Ar.call(e) : "";
|
|
3240
3256
|
var t = e + "";
|
|
3241
|
-
return t == "0" && 1 / e == -
|
|
3257
|
+
return t == "0" && 1 / e == -Ic ? "-0" : t;
|
|
3242
3258
|
}
|
|
3243
|
-
function
|
|
3244
|
-
return e == null ? "" :
|
|
3259
|
+
function Pc(e) {
|
|
3260
|
+
return e == null ? "" : vi(e);
|
|
3245
3261
|
}
|
|
3246
3262
|
function Tt(e, t) {
|
|
3247
|
-
return j(e) ? e :
|
|
3263
|
+
return j(e) ? e : hn(e, t) ? [e] : Fc(Pc(e));
|
|
3248
3264
|
}
|
|
3249
|
-
var
|
|
3265
|
+
var jc = 1 / 0;
|
|
3250
3266
|
function Ge(e) {
|
|
3251
|
-
if (typeof e == "string" ||
|
|
3267
|
+
if (typeof e == "string" || fn(e))
|
|
3252
3268
|
return e;
|
|
3253
3269
|
var t = e + "";
|
|
3254
|
-
return t == "0" && 1 / e ==
|
|
3270
|
+
return t == "0" && 1 / e == -jc ? "-0" : t;
|
|
3255
3271
|
}
|
|
3256
|
-
function
|
|
3272
|
+
function gn(e, t) {
|
|
3257
3273
|
t = Tt(t, e);
|
|
3258
3274
|
for (var n = 0, r = t.length; e != null && n < r; )
|
|
3259
3275
|
e = e[Ge(t[n++])];
|
|
3260
3276
|
return n && n == r ? e : void 0;
|
|
3261
3277
|
}
|
|
3262
|
-
function
|
|
3263
|
-
var r = e == null ? void 0 :
|
|
3278
|
+
function $c(e, t, n) {
|
|
3279
|
+
var r = e == null ? void 0 : gn(e, t);
|
|
3264
3280
|
return r === void 0 ? n : r;
|
|
3265
3281
|
}
|
|
3266
|
-
function
|
|
3282
|
+
function Bc(e, t) {
|
|
3267
3283
|
return e != null && t in Object(e);
|
|
3268
3284
|
}
|
|
3269
|
-
function
|
|
3285
|
+
function Uc(e, t, n) {
|
|
3270
3286
|
t = Tt(t, e);
|
|
3271
3287
|
for (var r = -1, i = t.length, s = !1; ++r < i; ) {
|
|
3272
3288
|
var a = Ge(t[r]);
|
|
@@ -3274,49 +3290,49 @@ function Wc(e, t, n) {
|
|
|
3274
3290
|
break;
|
|
3275
3291
|
e = e[a];
|
|
3276
3292
|
}
|
|
3277
|
-
return s || ++r != i ? s : (i = e == null ? 0 : e.length, !!i &&
|
|
3293
|
+
return s || ++r != i ? s : (i = e == null ? 0 : e.length, !!i && rn(i) && nn(a, i) && (j(e) || $e(e)));
|
|
3278
3294
|
}
|
|
3279
|
-
function
|
|
3280
|
-
return e != null &&
|
|
3295
|
+
function Wc(e, t) {
|
|
3296
|
+
return e != null && Uc(e, t, Bc);
|
|
3281
3297
|
}
|
|
3282
|
-
var
|
|
3283
|
-
function
|
|
3284
|
-
return
|
|
3285
|
-
var r =
|
|
3286
|
-
return r === void 0 && r === t ?
|
|
3298
|
+
var qc = 1, zc = 2;
|
|
3299
|
+
function Hc(e, t) {
|
|
3300
|
+
return hn(e) && mi(t) ? bi(Ge(e), t) : function(n) {
|
|
3301
|
+
var r = $c(n, e);
|
|
3302
|
+
return r === void 0 && r === t ? Wc(n, e) : St(t, r, qc | zc);
|
|
3287
3303
|
};
|
|
3288
3304
|
}
|
|
3289
|
-
function
|
|
3305
|
+
function mn(e) {
|
|
3290
3306
|
return e;
|
|
3291
3307
|
}
|
|
3292
|
-
function
|
|
3308
|
+
function kc(e) {
|
|
3293
3309
|
return function(t) {
|
|
3294
3310
|
return t == null ? void 0 : t[e];
|
|
3295
3311
|
};
|
|
3296
3312
|
}
|
|
3297
|
-
function
|
|
3313
|
+
function Gc(e) {
|
|
3298
3314
|
return function(t) {
|
|
3299
|
-
return
|
|
3315
|
+
return gn(t, e);
|
|
3300
3316
|
};
|
|
3301
3317
|
}
|
|
3302
|
-
function
|
|
3303
|
-
return
|
|
3318
|
+
function Vc(e) {
|
|
3319
|
+
return hn(e) ? kc(Ge(e)) : Gc(e);
|
|
3304
3320
|
}
|
|
3305
|
-
function
|
|
3306
|
-
return typeof e == "function" ? e : e == null ?
|
|
3321
|
+
function Qc(e) {
|
|
3322
|
+
return typeof e == "function" ? e : e == null ? mn : typeof e == "object" ? j(e) ? Hc(e[0], e[1]) : Ec(e) : Vc(e);
|
|
3307
3323
|
}
|
|
3308
|
-
function
|
|
3324
|
+
function Kc(e, t) {
|
|
3309
3325
|
var n = {};
|
|
3310
|
-
return t =
|
|
3326
|
+
return t = Qc(t), Hl(e, function(r, i, s) {
|
|
3311
3327
|
yt(n, i, t(r, i, s));
|
|
3312
3328
|
}), n;
|
|
3313
3329
|
}
|
|
3314
|
-
function
|
|
3330
|
+
function Jc(e) {
|
|
3315
3331
|
for (var t = e.length, n = 5381, r = 52711, i; t--; )
|
|
3316
3332
|
i = e.charCodeAt(t), n = n * 33 ^ i, r = r * 33 ^ i;
|
|
3317
3333
|
return (n >>> 0) * 4096 + (r >>> 0);
|
|
3318
3334
|
}
|
|
3319
|
-
var Ue = "|",
|
|
3335
|
+
var Ue = "|", Yc = /\[object ([HTML|SVG](.*)Element)\]/, Xc = {
|
|
3320
3336
|
"[object Arguments]": 0,
|
|
3321
3337
|
"[object Array]": 1,
|
|
3322
3338
|
"[object ArrayBuffer]": 2,
|
|
@@ -3355,16 +3371,16 @@ var Ue = "|", Xc = /\[object ([HTML|SVG](.*)Element)\]/, Zc = {
|
|
|
3355
3371
|
"[object WeakSet]": 35,
|
|
3356
3372
|
CUSTOM: 36,
|
|
3357
3373
|
ELEMENT: 37
|
|
3358
|
-
},
|
|
3374
|
+
}, Zc = {
|
|
3359
3375
|
"[object Arguments]": 1,
|
|
3360
3376
|
"[object Array]": 2
|
|
3361
|
-
},
|
|
3377
|
+
}, Si = {
|
|
3362
3378
|
"[object Generator]": 1,
|
|
3363
3379
|
"[object Promise]": 2,
|
|
3364
3380
|
"[object WeakMap]": 3,
|
|
3365
3381
|
"[object WeakRef]": 4,
|
|
3366
3382
|
"[object WeakSet]": 5
|
|
3367
|
-
},
|
|
3383
|
+
}, ed = {
|
|
3368
3384
|
"[object AsyncFunction]": 1,
|
|
3369
3385
|
"[object AsyncGeneratorFunction]": 2,
|
|
3370
3386
|
"[object Boolean]": 3,
|
|
@@ -3372,7 +3388,7 @@ var Ue = "|", Xc = /\[object ([HTML|SVG](.*)Element)\]/, Zc = {
|
|
|
3372
3388
|
"[object GeneratorFunction]": 5,
|
|
3373
3389
|
"[object Number]": 6,
|
|
3374
3390
|
"[object String]": 7
|
|
3375
|
-
},
|
|
3391
|
+
}, td = {
|
|
3376
3392
|
"[object BigInt64Array]": 1,
|
|
3377
3393
|
"[object BigUint64Array]": 2,
|
|
3378
3394
|
"[object Float32Array]": 3,
|
|
@@ -3383,7 +3399,7 @@ var Ue = "|", Xc = /\[object ([HTML|SVG](.*)Element)\]/, Zc = {
|
|
|
3383
3399
|
"[object Uint8ClampedArray]": 8,
|
|
3384
3400
|
"[object Uint16Array]": 9,
|
|
3385
3401
|
"[object Uint32Array]": 10
|
|
3386
|
-
},
|
|
3402
|
+
}, nd = {
|
|
3387
3403
|
"[object Arguments]": 1,
|
|
3388
3404
|
"[object Array]": 2,
|
|
3389
3405
|
"[object ArrayBuffer]": 3,
|
|
@@ -3413,13 +3429,13 @@ var Ue = "|", Xc = /\[object ([HTML|SVG](.*)Element)\]/, Zc = {
|
|
|
3413
3429
|
string: "s",
|
|
3414
3430
|
symbol: "s"
|
|
3415
3431
|
};
|
|
3416
|
-
function
|
|
3432
|
+
function rd(e, t) {
|
|
3417
3433
|
return e[0] > t[0];
|
|
3418
3434
|
}
|
|
3419
|
-
function
|
|
3435
|
+
function Ti(e, t) {
|
|
3420
3436
|
return e > t;
|
|
3421
3437
|
}
|
|
3422
|
-
function
|
|
3438
|
+
function bn(e, t) {
|
|
3423
3439
|
for (var n, r, i = 0; i < e.length; ++i) {
|
|
3424
3440
|
for (r = e[i], n = i - 1; ~n && t(e[n], r); --n)
|
|
3425
3441
|
e[n + 1] = e[n];
|
|
@@ -3428,20 +3444,20 @@ function yn(e, t) {
|
|
|
3428
3444
|
return e;
|
|
3429
3445
|
}
|
|
3430
3446
|
function I(e, t) {
|
|
3431
|
-
return De.object + Ue +
|
|
3447
|
+
return De.object + Ue + Xc[e] + Ue + t;
|
|
3432
3448
|
}
|
|
3433
|
-
var
|
|
3434
|
-
function
|
|
3435
|
-
var n =
|
|
3449
|
+
var wr = /* @__PURE__ */ new WeakMap(), id = 0;
|
|
3450
|
+
function zt(e, t) {
|
|
3451
|
+
var n = wr.get(e);
|
|
3436
3452
|
if (n)
|
|
3437
3453
|
return n;
|
|
3438
|
-
var r = I(t, "NOT_ENUMERABLE" + Ue +
|
|
3439
|
-
return
|
|
3454
|
+
var r = I(t, "NOT_ENUMERABLE" + Ue + id++);
|
|
3455
|
+
return wr.set(e, r), r;
|
|
3440
3456
|
}
|
|
3441
|
-
var
|
|
3442
|
-
function
|
|
3443
|
-
if (
|
|
3444
|
-
return
|
|
3457
|
+
var sd = Object.prototype.toString;
|
|
3458
|
+
function ad(e, t, n) {
|
|
3459
|
+
if (nd[t])
|
|
3460
|
+
return xr(t, e, n);
|
|
3445
3461
|
if (t === "[object Date]")
|
|
3446
3462
|
return I(t, e.getTime());
|
|
3447
3463
|
if (t === "[object RegExp]")
|
|
@@ -3463,107 +3479,107 @@ function od(e, t, n) {
|
|
|
3463
3479
|
if (t === "[object Error]")
|
|
3464
3480
|
return I(t, e.message + Ue + e.stack);
|
|
3465
3481
|
if (t === "[object DocumentFragment]")
|
|
3466
|
-
return I(t,
|
|
3467
|
-
var r = t.match(
|
|
3468
|
-
return r ? I("ELEMENT", r[1] + Ue + e.outerHTML) :
|
|
3482
|
+
return I(t, dd(e));
|
|
3483
|
+
var r = t.match(Yc);
|
|
3484
|
+
return r ? I("ELEMENT", r[1] + Ue + e.outerHTML) : Si[t] ? zt(e, t) : ed[t] ? I(t, e.toString()) : xr("CUSTOM", e, n);
|
|
3469
3485
|
}
|
|
3470
|
-
function
|
|
3486
|
+
function xr(e, t, n) {
|
|
3471
3487
|
var r = n.cache.get(t);
|
|
3472
|
-
return r ? I(e, "RECURSIVE~" + r) : (n.cache.set(t, ++n.id), e === "[object Object]" ? t[Symbol.iterator] ?
|
|
3488
|
+
return r ? I(e, "RECURSIVE~" + r) : (n.cache.set(t, ++n.id), e === "[object Object]" ? t[Symbol.iterator] ? zt(t, e) : I(e, Or(t, n)) : Zc[e] ? I(e, od(t, n)) : e === "[object Map]" ? I(e, fd(t, n)) : e === "[object Set]" ? I(e, hd(t, n)) : td[e] ? I(e, t.join()) : e === "[object ArrayBuffer]" ? I(e, Er(t)) : e === "[object DataView]" ? I(e, Er(t.buffer)) : Si[e] ? zt(t, e) : I("CUSTOM", Or(t, n)));
|
|
3473
3489
|
}
|
|
3474
|
-
function
|
|
3490
|
+
function od(e, t) {
|
|
3475
3491
|
for (var n = e.length, r = new Array(n); --n >= 0; )
|
|
3476
3492
|
r[n] = Ae(e[n], t);
|
|
3477
3493
|
return r.join();
|
|
3478
3494
|
}
|
|
3479
|
-
function
|
|
3495
|
+
function ud(e) {
|
|
3480
3496
|
return Buffer.from(e).toString("utf8");
|
|
3481
3497
|
}
|
|
3482
|
-
function
|
|
3498
|
+
function ld(e) {
|
|
3483
3499
|
return String.fromCharCode.apply(null, new Uint16Array(e));
|
|
3484
3500
|
}
|
|
3485
|
-
function
|
|
3501
|
+
function cd() {
|
|
3486
3502
|
return "UNSUPPORTED";
|
|
3487
3503
|
}
|
|
3488
|
-
function
|
|
3504
|
+
function dd(e) {
|
|
3489
3505
|
for (var t = e.children, n = t.length, r = new Array(n); --n >= 0; )
|
|
3490
3506
|
r[n] = t[n].outerHTML;
|
|
3491
3507
|
return r.join();
|
|
3492
3508
|
}
|
|
3493
|
-
var
|
|
3494
|
-
function
|
|
3509
|
+
var Er = typeof Buffer != "undefined" && typeof Buffer.from == "function" ? ud : typeof Uint16Array == "function" ? ld : cd;
|
|
3510
|
+
function fd(e, t) {
|
|
3495
3511
|
var n = new Array(e.size), r = 0;
|
|
3496
3512
|
for (e.forEach(function(i, s) {
|
|
3497
3513
|
n[r++] = [Ae(s, t), Ae(i, t)];
|
|
3498
|
-
}),
|
|
3514
|
+
}), bn(n, rd); --r >= 0; )
|
|
3499
3515
|
n[r] = "[" + n[r][0] + "," + n[r][1] + "]";
|
|
3500
3516
|
return "[" + n.join() + "]";
|
|
3501
3517
|
}
|
|
3502
|
-
function
|
|
3503
|
-
for (var n =
|
|
3518
|
+
function Or(e, t) {
|
|
3519
|
+
for (var n = bn(Object.getOwnPropertyNames(e), Ti), r = n.length, i = new Array(r), s = r; --s >= 0; )
|
|
3504
3520
|
i[s] = n[s] + ":" + Ae(e[n[s]], t);
|
|
3505
3521
|
return "{" + i.join() + "}";
|
|
3506
3522
|
}
|
|
3507
|
-
function
|
|
3523
|
+
function hd(e, t) {
|
|
3508
3524
|
var n = new Array(e.size), r = 0;
|
|
3509
3525
|
return e.forEach(function(i) {
|
|
3510
3526
|
n[r++] = Ae(i, t);
|
|
3511
|
-
}), "[" +
|
|
3527
|
+
}), "[" + bn(n, Ti).join() + "]";
|
|
3512
3528
|
}
|
|
3513
3529
|
function Ae(e, t) {
|
|
3514
3530
|
var n = typeof e;
|
|
3515
|
-
return e == null || n === "undefined" ? De.empty + e : n === "object" ?
|
|
3531
|
+
return e == null || n === "undefined" ? De.empty + e : n === "object" ? ad(e, sd.call(e), t || { cache: /* @__PURE__ */ new WeakMap(), id: 1 }) : n === "function" || n === "symbol" ? De[n] + e.toString() : n === "boolean" ? De.boolean + +e : De[n] + e;
|
|
3516
3532
|
}
|
|
3517
|
-
function
|
|
3518
|
-
return
|
|
3533
|
+
function Ai(e) {
|
|
3534
|
+
return Jc(Ae(e, void 0));
|
|
3519
3535
|
}
|
|
3520
|
-
function
|
|
3536
|
+
function Ht(e, t, n) {
|
|
3521
3537
|
(n !== void 0 && !ze(e[t], n) || n === void 0 && !(t in e)) && yt(e, t, n);
|
|
3522
3538
|
}
|
|
3523
|
-
function
|
|
3539
|
+
function pd(e) {
|
|
3524
3540
|
return K(e) && vt(e);
|
|
3525
3541
|
}
|
|
3526
|
-
var
|
|
3527
|
-
function
|
|
3528
|
-
if (!K(e) || de(e) !=
|
|
3542
|
+
var gd = "[object Object]", md = Function.prototype, bd = Object.prototype, wi = md.toString, yd = bd.hasOwnProperty, vd = wi.call(Object);
|
|
3543
|
+
function xi(e) {
|
|
3544
|
+
if (!K(e) || de(e) != gd)
|
|
3529
3545
|
return !1;
|
|
3530
|
-
var t =
|
|
3546
|
+
var t = cn(e);
|
|
3531
3547
|
if (t === null)
|
|
3532
3548
|
return !0;
|
|
3533
|
-
var n =
|
|
3534
|
-
return typeof n == "function" && n instanceof n &&
|
|
3549
|
+
var n = yd.call(t, "constructor") && t.constructor;
|
|
3550
|
+
return typeof n == "function" && n instanceof n && wi.call(n) == vd;
|
|
3535
3551
|
}
|
|
3536
|
-
function
|
|
3552
|
+
function kt(e, t) {
|
|
3537
3553
|
if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
|
|
3538
3554
|
return e[t];
|
|
3539
3555
|
}
|
|
3540
|
-
function
|
|
3556
|
+
function Sd(e) {
|
|
3541
3557
|
return we(e, ke(e));
|
|
3542
3558
|
}
|
|
3543
|
-
function
|
|
3544
|
-
var o =
|
|
3559
|
+
function Td(e, t, n, r, i, s, a) {
|
|
3560
|
+
var o = kt(e, n), u = kt(t, n), l = a.get(u);
|
|
3545
3561
|
if (l) {
|
|
3546
|
-
|
|
3562
|
+
Ht(e, n, l);
|
|
3547
3563
|
return;
|
|
3548
3564
|
}
|
|
3549
3565
|
var d = s ? s(o, u, n + "", e, t, a) : void 0, f = d === void 0;
|
|
3550
3566
|
if (f) {
|
|
3551
|
-
var c = j(u), m = !c && Be(u), g = !c && !m &&
|
|
3552
|
-
d = u, c || m || g ? j(o) ? d = o :
|
|
3567
|
+
var c = j(u), m = !c && Be(u), g = !c && !m && an(u);
|
|
3568
|
+
d = u, c || m || g ? j(o) ? d = o : pd(o) ? d = ri(o) : m ? (f = !1, d = ni(u, !0)) : g ? (f = !1, d = ui(u, !0)) : d = [] : xi(u) || $e(u) ? (d = o, $e(o) ? d = Sd(o) : (!ee(o) || tn(o)) && (d = li(u))) : f = !1;
|
|
3553
3569
|
}
|
|
3554
|
-
f && (a.set(u, d), i(d, u, r, s, a), a.delete(u)),
|
|
3570
|
+
f && (a.set(u, d), i(d, u, r, s, a), a.delete(u)), Ht(e, n, d);
|
|
3555
3571
|
}
|
|
3556
|
-
function
|
|
3557
|
-
e !== t &&
|
|
3572
|
+
function Ei(e, t, n, r, i) {
|
|
3573
|
+
e !== t && pi(t, function(s, a) {
|
|
3558
3574
|
if (i || (i = new H()), ee(s))
|
|
3559
|
-
|
|
3575
|
+
Td(e, t, a, n, Ei, r, i);
|
|
3560
3576
|
else {
|
|
3561
|
-
var o = r ? r(
|
|
3562
|
-
o === void 0 && (o = s),
|
|
3577
|
+
var o = r ? r(kt(e, a), s, a + "", e, t, i) : void 0;
|
|
3578
|
+
o === void 0 && (o = s), Ht(e, a, o);
|
|
3563
3579
|
}
|
|
3564
3580
|
}, ke);
|
|
3565
3581
|
}
|
|
3566
|
-
function
|
|
3582
|
+
function Ad(e, t, n) {
|
|
3567
3583
|
switch (n.length) {
|
|
3568
3584
|
case 0:
|
|
3569
3585
|
return e.call(t);
|
|
@@ -3576,125 +3592,125 @@ function wd(e, t, n) {
|
|
|
3576
3592
|
}
|
|
3577
3593
|
return e.apply(t, n);
|
|
3578
3594
|
}
|
|
3579
|
-
var
|
|
3580
|
-
function
|
|
3581
|
-
return t =
|
|
3582
|
-
for (var r = arguments, i = -1, s =
|
|
3595
|
+
var Nr = Math.max;
|
|
3596
|
+
function Oi(e, t, n) {
|
|
3597
|
+
return t = Nr(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
3598
|
+
for (var r = arguments, i = -1, s = Nr(r.length - t, 0), a = Array(s); ++i < s; )
|
|
3583
3599
|
a[i] = r[t + i];
|
|
3584
3600
|
i = -1;
|
|
3585
3601
|
for (var o = Array(t + 1); ++i < t; )
|
|
3586
3602
|
o[i] = r[i];
|
|
3587
|
-
return o[t] = n(a),
|
|
3603
|
+
return o[t] = n(a), Ad(e, this, o);
|
|
3588
3604
|
};
|
|
3589
3605
|
}
|
|
3590
|
-
function
|
|
3606
|
+
function wd(e) {
|
|
3591
3607
|
return function() {
|
|
3592
3608
|
return e;
|
|
3593
3609
|
};
|
|
3594
3610
|
}
|
|
3595
|
-
var
|
|
3611
|
+
var xd = ct ? function(e, t) {
|
|
3596
3612
|
return ct(e, "toString", {
|
|
3597
3613
|
configurable: !0,
|
|
3598
3614
|
enumerable: !1,
|
|
3599
|
-
value:
|
|
3615
|
+
value: wd(t),
|
|
3600
3616
|
writable: !0
|
|
3601
3617
|
});
|
|
3602
|
-
} :
|
|
3603
|
-
function
|
|
3618
|
+
} : mn, Ed = 800, Od = 16, Nd = Date.now;
|
|
3619
|
+
function Cd(e) {
|
|
3604
3620
|
var t = 0, n = 0;
|
|
3605
3621
|
return function() {
|
|
3606
|
-
var r =
|
|
3622
|
+
var r = Nd(), i = Od - (r - n);
|
|
3607
3623
|
if (n = r, i > 0) {
|
|
3608
|
-
if (++t >=
|
|
3624
|
+
if (++t >= Ed)
|
|
3609
3625
|
return arguments[0];
|
|
3610
3626
|
} else
|
|
3611
3627
|
t = 0;
|
|
3612
3628
|
return e.apply(void 0, arguments);
|
|
3613
3629
|
};
|
|
3614
3630
|
}
|
|
3615
|
-
var
|
|
3616
|
-
function
|
|
3617
|
-
return
|
|
3631
|
+
var Ni = Cd(xd);
|
|
3632
|
+
function _d(e, t) {
|
|
3633
|
+
return Ni(Oi(e, t, mn), e + "");
|
|
3618
3634
|
}
|
|
3619
|
-
function
|
|
3635
|
+
function Md(e, t, n) {
|
|
3620
3636
|
if (!ee(n))
|
|
3621
3637
|
return !1;
|
|
3622
3638
|
var r = typeof t;
|
|
3623
|
-
return (r == "number" ? vt(n) &&
|
|
3639
|
+
return (r == "number" ? vt(n) && nn(t, n.length) : r == "string" && t in n) ? ze(n[t], e) : !1;
|
|
3624
3640
|
}
|
|
3625
|
-
function
|
|
3626
|
-
return
|
|
3641
|
+
function Dd(e) {
|
|
3642
|
+
return _d(function(t, n) {
|
|
3627
3643
|
var r = -1, i = n.length, s = i > 1 ? n[i - 1] : void 0, a = i > 2 ? n[2] : void 0;
|
|
3628
|
-
for (s = e.length > 3 && typeof s == "function" ? (i--, s) : void 0, a &&
|
|
3644
|
+
for (s = e.length > 3 && typeof s == "function" ? (i--, s) : void 0, a && Md(n[0], n[1], a) && (s = i < 3 ? void 0 : s, i = 1), t = Object(t); ++r < i; ) {
|
|
3629
3645
|
var o = n[r];
|
|
3630
3646
|
o && e(t, o, r, s);
|
|
3631
3647
|
}
|
|
3632
3648
|
return t;
|
|
3633
3649
|
});
|
|
3634
3650
|
}
|
|
3635
|
-
var
|
|
3636
|
-
|
|
3651
|
+
var Ci = Dd(function(e, t, n) {
|
|
3652
|
+
Ei(e, t, n);
|
|
3637
3653
|
});
|
|
3638
|
-
function
|
|
3654
|
+
function Rd(e) {
|
|
3639
3655
|
var t = e == null ? 0 : e.length;
|
|
3640
3656
|
return t ? e[t - 1] : void 0;
|
|
3641
3657
|
}
|
|
3642
|
-
function
|
|
3658
|
+
function Ld(e, t, n) {
|
|
3643
3659
|
var r = -1, i = e.length;
|
|
3644
3660
|
t < 0 && (t = -t > i ? 0 : i + t), n = n > i ? i : n, n < 0 && (n += i), i = t > n ? 0 : n - t >>> 0, t >>>= 0;
|
|
3645
3661
|
for (var s = Array(i); ++r < i; )
|
|
3646
3662
|
s[r] = e[r + t];
|
|
3647
3663
|
return s;
|
|
3648
3664
|
}
|
|
3665
|
+
function Fd(e, t) {
|
|
3666
|
+
return t.length < 2 ? e : gn(e, Ld(t, 0, -1));
|
|
3667
|
+
}
|
|
3649
3668
|
function Id(e, t) {
|
|
3650
|
-
return t
|
|
3669
|
+
return t = Tt(t, e), e = Fd(e, t), e == null || delete e[Ge(Rd(t))];
|
|
3651
3670
|
}
|
|
3652
|
-
function Pd(e
|
|
3653
|
-
return
|
|
3671
|
+
function Pd(e) {
|
|
3672
|
+
return xi(e) ? void 0 : e;
|
|
3654
3673
|
}
|
|
3674
|
+
var Cr = W ? W.isConcatSpreadable : void 0;
|
|
3655
3675
|
function jd(e) {
|
|
3656
|
-
return
|
|
3676
|
+
return j(e) || $e(e) || !!(Cr && e && e[Cr]);
|
|
3657
3677
|
}
|
|
3658
|
-
|
|
3659
|
-
function $d(e) {
|
|
3660
|
-
return j(e) || $e(e) || !!(_r && e && e[_r]);
|
|
3661
|
-
}
|
|
3662
|
-
function Bd(e, t, n, r, i) {
|
|
3678
|
+
function $d(e, t, n, r, i) {
|
|
3663
3679
|
var s = -1, a = e.length;
|
|
3664
|
-
for (n || (n =
|
|
3680
|
+
for (n || (n = jd), i || (i = []); ++s < a; ) {
|
|
3665
3681
|
var o = e[s];
|
|
3666
|
-
n(o) ?
|
|
3682
|
+
n(o) ? ln(i, o) : r || (i[i.length] = o);
|
|
3667
3683
|
}
|
|
3668
3684
|
return i;
|
|
3669
3685
|
}
|
|
3670
|
-
function
|
|
3686
|
+
function Bd(e) {
|
|
3671
3687
|
var t = e == null ? 0 : e.length;
|
|
3672
|
-
return t ?
|
|
3688
|
+
return t ? $d(e) : [];
|
|
3673
3689
|
}
|
|
3674
|
-
function
|
|
3675
|
-
return
|
|
3690
|
+
function Ud(e) {
|
|
3691
|
+
return Ni(Oi(e, void 0, Bd), e + "");
|
|
3676
3692
|
}
|
|
3677
|
-
var
|
|
3693
|
+
var Wd = 1, qd = 2, zd = 4, Hd = Ud(function(e, t) {
|
|
3678
3694
|
var n = {};
|
|
3679
3695
|
if (e == null)
|
|
3680
3696
|
return n;
|
|
3681
3697
|
var r = !1;
|
|
3682
|
-
t =
|
|
3698
|
+
t = yi(t, function(s) {
|
|
3683
3699
|
return s = Tt(s, e), r || (r = s.length > 1), s;
|
|
3684
|
-
}), we(e,
|
|
3700
|
+
}), we(e, oi(e), n), r && (n = Le(n, Wd | qd | zd, Pd));
|
|
3685
3701
|
for (var i = t.length; i--; )
|
|
3686
|
-
|
|
3702
|
+
Id(n, t[i]);
|
|
3687
3703
|
return n;
|
|
3688
3704
|
});
|
|
3689
|
-
let Ve = class extends
|
|
3705
|
+
let Ve = class extends Hr {
|
|
3690
3706
|
constructor(t, n) {
|
|
3691
|
-
super(
|
|
3707
|
+
super(Gr, {
|
|
3692
3708
|
key: t,
|
|
3693
3709
|
interpolationOptions: n
|
|
3694
|
-
},
|
|
3710
|
+
}, Ta.t);
|
|
3695
3711
|
}
|
|
3696
3712
|
};
|
|
3697
|
-
class
|
|
3713
|
+
class yn {
|
|
3698
3714
|
constructor(t, n, r, i, s) {
|
|
3699
3715
|
this.__serializable = "DimensionalElement", this._name = t, this.type = n, this.description = r || "", i && (this._dataSource = i), s && (this.composeCode = s);
|
|
3700
3716
|
}
|
|
@@ -3740,7 +3756,7 @@ function be(e) {
|
|
|
3740
3756
|
let t = e.replace(/[^a-zA-Z0-9_.]/g, "").replace(/\./g, "_");
|
|
3741
3757
|
return t.charAt(0).match(/[0-9]/) && (t = "_" + t), t;
|
|
3742
3758
|
}
|
|
3743
|
-
const
|
|
3759
|
+
const _i = "DM", A = {
|
|
3744
3760
|
/** Sum aggregation type */
|
|
3745
3761
|
Sum: "sum",
|
|
3746
3762
|
/** Average aggregation type */
|
|
@@ -3968,14 +3984,14 @@ var Pt;
|
|
|
3968
3984
|
(function(e) {
|
|
3969
3985
|
e.PRE = "pre", e.POST = "post";
|
|
3970
3986
|
})(Pt = Pt || (Pt = {}));
|
|
3971
|
-
function
|
|
3987
|
+
function Gt(e, t = []) {
|
|
3972
3988
|
try {
|
|
3973
|
-
return e == null ? String(e) : typeof e == "string" ? `'${
|
|
3989
|
+
return e == null ? String(e) : typeof e == "string" ? `'${da(e)}'` : typeof e == "number" || typeof e == "boolean" ? String(e) : e instanceof Date ? `new Date('${e.toISOString()}')` : Array.isArray(e) ? `[${e.map((n) => Gt(n, t)).join(", ")}]` : typeof e == "object" && e !== null ? "composeCode" in e ? e.composeCode : `{ ${Object.entries(e).filter(([r]) => !t.includes(r)).map(([r, i]) => `${/[^a-zA-Z0-9_$]/.test(r) ? `'${r}'` : r}: ${Gt(i, t)}`).join(", ")} }` : JSON.stringify(e);
|
|
3974
3990
|
} catch (n) {
|
|
3975
3991
|
return console.error(n, JSON.stringify(e, null, 2)), JSON.stringify(e);
|
|
3976
3992
|
}
|
|
3977
3993
|
}
|
|
3978
|
-
function
|
|
3994
|
+
function kd(e) {
|
|
3979
3995
|
let t = e.length;
|
|
3980
3996
|
for (; t > 0 && e[t - 1] === void 0; )
|
|
3981
3997
|
t--;
|
|
@@ -3984,7 +4000,7 @@ function Gd(e) {
|
|
|
3984
4000
|
function At(e, t) {
|
|
3985
4001
|
return function(n) {
|
|
3986
4002
|
return function(...r) {
|
|
3987
|
-
const i =
|
|
4003
|
+
const i = kd(r), s = i.length, a = i.map((l) => Gt(l, ["guid"])).filter((l, d) => !(["", "{ }", "{}", "undefined", "null"].includes(l) && d === s - 1)).join(", "), o = `${e}.${t != null ? t : n.name}(${a})`, u = n(...r);
|
|
3988
4004
|
return u.composeCode = o, u;
|
|
3989
4005
|
};
|
|
3990
4006
|
};
|
|
@@ -3992,16 +4008,16 @@ function At(e, t) {
|
|
|
3992
4008
|
function v(e, t) {
|
|
3993
4009
|
return At("filterFactory", t)(e);
|
|
3994
4010
|
}
|
|
3995
|
-
function
|
|
4011
|
+
function _r(e, t) {
|
|
3996
4012
|
return At("filterFactory.logic", t)(e);
|
|
3997
4013
|
}
|
|
3998
|
-
function
|
|
4014
|
+
function qp(e, t) {
|
|
3999
4015
|
return At("analyticsFactory", t)(e);
|
|
4000
4016
|
}
|
|
4001
4017
|
function T(e, t) {
|
|
4002
4018
|
return At("measureFactory", t)(e);
|
|
4003
4019
|
}
|
|
4004
|
-
const
|
|
4020
|
+
const Mi = {
|
|
4005
4021
|
/**
|
|
4006
4022
|
* In competition ranking, items that rank equally receive the same ranking number, and then a gap is left after the equally ranked items in the ranking numbers.
|
|
4007
4023
|
*/
|
|
@@ -4018,7 +4034,7 @@ const Di = {
|
|
|
4018
4034
|
* In ordinal ranking, all items receive distinct ordinal numbers, including items that rank equally. The assignment of distinct ordinal numbers for equal-ranking items is arbitrary.
|
|
4019
4035
|
*/
|
|
4020
4036
|
Ordinal: "1234"
|
|
4021
|
-
},
|
|
4037
|
+
}, Di = {
|
|
4022
4038
|
Ascending: "ASC",
|
|
4023
4039
|
Descending: "DESC"
|
|
4024
4040
|
};
|
|
@@ -4044,7 +4060,7 @@ function _(e, t, n, r) {
|
|
|
4044
4060
|
const i = {}, s = [n + "("];
|
|
4045
4061
|
return ce(s, i, e), r && s.push(`, ${r}`), s.push(")"), new X(t, s.join(""), i);
|
|
4046
4062
|
}
|
|
4047
|
-
const
|
|
4063
|
+
const Ri = T((e, t, n) => {
|
|
4048
4064
|
const r = Object.fromEntries(Object.entries(n).map(([i, s]) => [i.startsWith("[") ? i : `[${i}]`, s]));
|
|
4049
4065
|
return new X(e, t, r);
|
|
4050
4066
|
}, "customFormula");
|
|
@@ -4054,18 +4070,18 @@ function wt(e, t, n, r, i) {
|
|
|
4054
4070
|
const o = s.join("");
|
|
4055
4071
|
return new X(r != null ? r : o, o, a);
|
|
4056
4072
|
}
|
|
4057
|
-
const k = T((e, t, n, r) => new ye(n != null ? n : `${t.toString()} ${e.name}`, e, t, r), "aggregate"),
|
|
4073
|
+
const k = T((e, t, n, r) => new ye(n != null ? n : `${t.toString()} ${e.name}`, e, t, r), "aggregate"), Gd = T((e) => new X(`${e}`, `${e}`, {}), "constant"), ht = T((e, t, n) => k(e, A.Sum, t, n), "sum"), Li = T((e, t, n) => k(e, A.Average, t, n), "average"), Fi = T((e, t, n) => k(e, A.Average, t, n), "avg"), vn = T((e, t, n) => k(e, A.Min, t, n), "min"), Sn = T((e, t, n) => k(e, A.Max, t, n), "max"), Tn = T((e, t, n) => k(e, A.Median, t, n), "median"), An = T((e, t, n) => k(e, A.Count, t, n), "count"), wn = T((e, t, n) => k(e, A.CountDistinct, t, n), "countDistinct"), Vd = T((e, t, n, r) => {
|
|
4058
4074
|
const i = [], s = {};
|
|
4059
4075
|
i.push("("), ce(i, s, e), t.forEach((o) => {
|
|
4060
4076
|
i.push(","), ce(i, s, o);
|
|
4061
4077
|
}), i.push(")");
|
|
4062
4078
|
const a = i.join("");
|
|
4063
4079
|
return new X(n != null ? n : a, a, s, r);
|
|
4064
|
-
}, "measuredValue"),
|
|
4080
|
+
}, "measuredValue"), Qd = T((e, t, n, r) => wt(e, "+", t, n, r), "add"), Kd = T((e, t, n, r) => wt(e, "-", t, n, r), "subtract"), Jd = T((e, t, n, r) => wt(e, "*", t, n, r), "multiply"), Yd = T((e, t, n, r) => wt(e, "/", t, n, r), "divide"), Xd = T((e, t) => _(e, t != null ? t : "YTD " + e.name, "YTDSum"), "yearToDateSum"), Zd = T((e, t) => _(e, t != null ? t : "QTD " + t, "QTDSum"), "quarterToDateSum"), ef = T((e, t) => _(e, t != null ? t : "MTD " + e.name, "MTDSum"), "monthToDateSum"), tf = T((e, t) => _(e, t != null ? t : "MTD " + e.name, "WTDSum"), "weekToDateSum"), nf = T((e, t, n) => _(e, n != null ? n : "Running Sum " + e.name, "RSum"), "runningSum"), rf = T((e, t) => _(e, t != null ? t : e.name + " Growth", "growth"), "growth"), sf = T((e, t) => _(e, t != null ? t : e.name + " Growth", "growthrate"), "growthRate"), af = T((e, t) => _(e, t != null ? t : e.name + " Growth", "growthpastweek"), "growthPastWeek"), of = T((e, t) => _(e, t != null ? t : e.name + " Growth", "growthpastmonth"), "growthPastMonth"), uf = T((e, t) => _(e, t != null ? t : e.name + " Growth", "growthpastquarter"), "growthPastQuarter"), lf = T((e, t) => _(e, t != null ? t : e.name + " Growth", "growthpastyear"), "growthPastYear"), cf = T((e, t) => _(e, t != null ? t : e.name + " Difference", "diffpastperiod"), "difference"), df = T((e, t) => _(e, t != null ? t : e.name + " Difference", "diffpastweek"), "diffPastWeek"), ff = T((e, t) => _(e, t != null ? t : e.name + " Difference", "diffpastmonth"), "diffPastMonth"), hf = T((e, t) => _(e, t != null ? t : e.name + " Difference", "diffpastquarter"), "diffPastQuarter"), pf = T((e, t) => _(e, t != null ? t : e.name + " Difference", "diffpastyear"), "diffPastYear"), gf = T((e, t) => _(e, t != null ? t : e.name + " Past Day", "pastday"), "pastDay"), mf = T((e, t) => _(e, t != null ? t : e.name + " Past Week", "pastweek"), "pastWeek"), bf = T((e, t) => _(e, t != null ? t : e.name + " Past Month", "pastmonth"), "pastMonth"), yf = T((e, t) => _(e, t != null ? t : e.name + " Past Quarter", "pastquarter"), "pastQuarter"), vf = T((e, t) => _(e, t != null ? t : e.name + " Past Year", "pastyear"), "pastYear"), Sf = T((e, t) => _(e, t != null ? t : e.name + " Contribution", "contribution"), "contribution"), Tf = T((e, t, n) => {
|
|
4065
4081
|
let r;
|
|
4066
4082
|
const i = (s) => s.replace("advancedSmoothing", "smooth").replace("localEstimates", "local");
|
|
4067
4083
|
return n && (r = Object.entries(n).map((s) => i(`"${s[0]}=${s[1]}"`)).join(",")), _(e, t != null ? t : e.name + " Trend", "trend", r);
|
|
4068
|
-
}, "trend"),
|
|
4084
|
+
}, "trend"), Af = T((e, t, n) => {
|
|
4069
4085
|
let r;
|
|
4070
4086
|
if (n) {
|
|
4071
4087
|
const i = Object.assign({ forecastHorizon: 3 }, n);
|
|
@@ -4081,60 +4097,60 @@ const k = T((e, t, n, r) => new ye(n != null ? n : `${t.toString()} ${e.name}`,
|
|
|
4081
4097
|
} else
|
|
4082
4098
|
r = '"forecastHorizon=3"';
|
|
4083
4099
|
return _(e, t != null ? t : e.name + " Forecast", "forecast", r);
|
|
4084
|
-
}, "forecast"),
|
|
4100
|
+
}, "forecast"), wf = T((e, t, n = Di.Descending, r = Mi.StandardCompetition, i = []) => {
|
|
4085
4101
|
const s = [], a = {};
|
|
4086
4102
|
s.push("rank("), ce(s, a, e), s.push(`,${n},${r}`), i.forEach((u) => {
|
|
4087
4103
|
s.push(","), ce(s, a, u);
|
|
4088
4104
|
}), s.push(")");
|
|
4089
4105
|
const o = s.join("");
|
|
4090
4106
|
return t || (t = `${e.name} rank`), new X(t, o, a);
|
|
4091
|
-
}, "rank"),
|
|
4107
|
+
}, "rank"), zp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4092
4108
|
__proto__: null,
|
|
4093
|
-
RankingSortTypes:
|
|
4094
|
-
RankingTypes:
|
|
4095
|
-
add:
|
|
4109
|
+
RankingSortTypes: Di,
|
|
4110
|
+
RankingTypes: Mi,
|
|
4111
|
+
add: Qd,
|
|
4096
4112
|
aggregate: k,
|
|
4097
|
-
average:
|
|
4098
|
-
avg:
|
|
4099
|
-
constant:
|
|
4100
|
-
contribution:
|
|
4101
|
-
count:
|
|
4102
|
-
countDistinct:
|
|
4103
|
-
customFormula:
|
|
4104
|
-
diffPastMonth:
|
|
4105
|
-
diffPastQuarter:
|
|
4106
|
-
diffPastWeek:
|
|
4107
|
-
diffPastYear:
|
|
4108
|
-
difference:
|
|
4109
|
-
divide:
|
|
4110
|
-
forecast:
|
|
4111
|
-
growth:
|
|
4112
|
-
growthPastMonth:
|
|
4113
|
-
growthPastQuarter:
|
|
4114
|
-
growthPastWeek:
|
|
4115
|
-
growthPastYear:
|
|
4116
|
-
growthRate:
|
|
4117
|
-
max:
|
|
4118
|
-
measuredValue:
|
|
4119
|
-
median:
|
|
4120
|
-
min:
|
|
4121
|
-
monthToDateSum:
|
|
4122
|
-
multiply:
|
|
4123
|
-
pastDay:
|
|
4124
|
-
pastMonth:
|
|
4125
|
-
pastQuarter:
|
|
4126
|
-
pastWeek:
|
|
4127
|
-
pastYear:
|
|
4128
|
-
quarterToDateSum:
|
|
4129
|
-
rank:
|
|
4130
|
-
runningSum:
|
|
4131
|
-
subtract:
|
|
4113
|
+
average: Li,
|
|
4114
|
+
avg: Fi,
|
|
4115
|
+
constant: Gd,
|
|
4116
|
+
contribution: Sf,
|
|
4117
|
+
count: An,
|
|
4118
|
+
countDistinct: wn,
|
|
4119
|
+
customFormula: Ri,
|
|
4120
|
+
diffPastMonth: ff,
|
|
4121
|
+
diffPastQuarter: hf,
|
|
4122
|
+
diffPastWeek: df,
|
|
4123
|
+
diffPastYear: pf,
|
|
4124
|
+
difference: cf,
|
|
4125
|
+
divide: Yd,
|
|
4126
|
+
forecast: Af,
|
|
4127
|
+
growth: rf,
|
|
4128
|
+
growthPastMonth: of,
|
|
4129
|
+
growthPastQuarter: uf,
|
|
4130
|
+
growthPastWeek: af,
|
|
4131
|
+
growthPastYear: lf,
|
|
4132
|
+
growthRate: sf,
|
|
4133
|
+
max: Sn,
|
|
4134
|
+
measuredValue: Vd,
|
|
4135
|
+
median: Tn,
|
|
4136
|
+
min: vn,
|
|
4137
|
+
monthToDateSum: ef,
|
|
4138
|
+
multiply: Jd,
|
|
4139
|
+
pastDay: gf,
|
|
4140
|
+
pastMonth: bf,
|
|
4141
|
+
pastQuarter: yf,
|
|
4142
|
+
pastWeek: mf,
|
|
4143
|
+
pastYear: vf,
|
|
4144
|
+
quarterToDateSum: Zd,
|
|
4145
|
+
rank: wf,
|
|
4146
|
+
runningSum: nf,
|
|
4147
|
+
subtract: Kd,
|
|
4132
4148
|
sum: ht,
|
|
4133
|
-
trend:
|
|
4134
|
-
weekToDateSum:
|
|
4135
|
-
yearToDateSum:
|
|
4149
|
+
trend: Tf,
|
|
4150
|
+
weekToDateSum: tf,
|
|
4151
|
+
yearToDateSum: Xd
|
|
4136
4152
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4137
|
-
class
|
|
4153
|
+
class xn extends yn {
|
|
4138
4154
|
constructor(t, n, r, i, s, a, o) {
|
|
4139
4155
|
super(t, n, i, a, o), this.__serializable = "AbstractMeasure", this._sort = D.None, this._format = "#,#.00", this._format = r, this._sort = s || D.None;
|
|
4140
4156
|
}
|
|
@@ -4162,7 +4178,7 @@ class En extends vn {
|
|
|
4162
4178
|
return this.getFormat() !== void 0 && (t.format = this.getFormat()), this.getSort() !== void 0 && (t.sort = this.getSort()), t;
|
|
4163
4179
|
}
|
|
4164
4180
|
}
|
|
4165
|
-
class ye extends
|
|
4181
|
+
class ye extends xn {
|
|
4166
4182
|
constructor(t, n, r, i, s, a, o, u) {
|
|
4167
4183
|
super(t, w.BaseMeasure, i, s, a, o, u), this.__serializable = "DimensionalBaseMeasure", this.attribute = n, this.aggregation = r;
|
|
4168
4184
|
}
|
|
@@ -4252,8 +4268,8 @@ class ye extends En {
|
|
|
4252
4268
|
return this._format && (r.format = { number: this._format }), this._sort != D.None && (r.jaql.sort = this._sort == D.Ascending ? "asc" : "desc"), t === !0 ? r.jaql : r;
|
|
4253
4269
|
}
|
|
4254
4270
|
}
|
|
4255
|
-
const
|
|
4256
|
-
class X extends
|
|
4271
|
+
const Ii = (e) => !!(e && e.__serializable === "DimensionalBaseMeasure");
|
|
4272
|
+
class X extends xn {
|
|
4257
4273
|
constructor(t, n, r, i, s, a, o, u) {
|
|
4258
4274
|
super(t, w.CalculatedMeasure, i, s, a, o, u), this.__serializable = "DimensionalCalculatedMeasure", this.expression = n, this.context = r;
|
|
4259
4275
|
}
|
|
@@ -4303,8 +4319,8 @@ class X extends En {
|
|
|
4303
4319
|
return Object.getOwnPropertyNames(this.context).forEach((s) => r[s] = this.context[s].jaql(!0)), n.jaql.context = r, this._format && (n.format = { number: this._format }), this._sort != D.None && (n.jaql.sort = this._sort == D.Ascending ? "asc" : "desc"), t === !0 ? n.jaql : n;
|
|
4304
4320
|
}
|
|
4305
4321
|
}
|
|
4306
|
-
const
|
|
4307
|
-
class
|
|
4322
|
+
const Hp = (e) => !!(e && e.__serializable === "DimensionalCalculatedMeasure");
|
|
4323
|
+
class Vt extends xn {
|
|
4308
4324
|
constructor(t, n, r, i, s, a, o) {
|
|
4309
4325
|
super(t, w.MeasureTemplate, r, i, s, a, o), this.__serializable = "DimensionalMeasureTemplate", this.attribute = n;
|
|
4310
4326
|
}
|
|
@@ -4328,7 +4344,7 @@ class Qt extends En {
|
|
|
4328
4344
|
* @returns An instance representing the sorted {@link MeasureTemplate} of this instance
|
|
4329
4345
|
*/
|
|
4330
4346
|
sort(t) {
|
|
4331
|
-
return new
|
|
4347
|
+
return new Vt(this.name, this.attribute, this._format, this.description, t, this.dataSource, this.composeCode);
|
|
4332
4348
|
}
|
|
4333
4349
|
/**
|
|
4334
4350
|
* Gets a formatted {@link Measure} with the given definition
|
|
@@ -4337,7 +4353,7 @@ class Qt extends En {
|
|
|
4337
4353
|
* @returns An instance representing the formatted {@link Measure} of this instance
|
|
4338
4354
|
*/
|
|
4339
4355
|
format(t) {
|
|
4340
|
-
return new
|
|
4356
|
+
return new Vt(this.name, this.attribute, t, this.description, this._sort, this.dataSource, this.composeCode);
|
|
4341
4357
|
}
|
|
4342
4358
|
/**
|
|
4343
4359
|
* Gets the JAQL representation of this instance
|
|
@@ -4361,7 +4377,7 @@ class Qt extends En {
|
|
|
4361
4377
|
* @param format - optional format to apply on the resulting {@link Measure}
|
|
4362
4378
|
*/
|
|
4363
4379
|
average(t) {
|
|
4364
|
-
return
|
|
4380
|
+
return Li(this.attribute, void 0, t).sort(this._sort);
|
|
4365
4381
|
}
|
|
4366
4382
|
/**
|
|
4367
4383
|
* Gets an {@link Measure} defined with median aggregation
|
|
@@ -4369,7 +4385,7 @@ class Qt extends En {
|
|
|
4369
4385
|
* @param format - optional format to apply on the resulting {@link Measure}
|
|
4370
4386
|
*/
|
|
4371
4387
|
median(t) {
|
|
4372
|
-
return
|
|
4388
|
+
return Tn(this.attribute, void 0, t).sort(this._sort);
|
|
4373
4389
|
}
|
|
4374
4390
|
/**
|
|
4375
4391
|
* Gets an {@link Measure} defined with min aggregation
|
|
@@ -4377,7 +4393,7 @@ class Qt extends En {
|
|
|
4377
4393
|
* @param format - optional format to apply on the resulting {@link Measure}
|
|
4378
4394
|
*/
|
|
4379
4395
|
min(t) {
|
|
4380
|
-
return
|
|
4396
|
+
return vn(this.attribute, void 0, t).sort(this._sort);
|
|
4381
4397
|
}
|
|
4382
4398
|
/**
|
|
4383
4399
|
* Gets an {@link Measure} defined with max aggregation
|
|
@@ -4385,7 +4401,7 @@ class Qt extends En {
|
|
|
4385
4401
|
* @param format - optional format to apply on the resulting {@link Measure}
|
|
4386
4402
|
*/
|
|
4387
4403
|
max(t) {
|
|
4388
|
-
return
|
|
4404
|
+
return Sn(this.attribute, void 0, t).sort(this._sort);
|
|
4389
4405
|
}
|
|
4390
4406
|
/**
|
|
4391
4407
|
* Gets an {@link Measure} defined with count aggregation
|
|
@@ -4393,7 +4409,7 @@ class Qt extends En {
|
|
|
4393
4409
|
* @param format - optional format to apply on the resulting {@link Measure}
|
|
4394
4410
|
*/
|
|
4395
4411
|
count(t) {
|
|
4396
|
-
return
|
|
4412
|
+
return An(this.attribute, void 0, t).sort(this._sort);
|
|
4397
4413
|
}
|
|
4398
4414
|
/**
|
|
4399
4415
|
* Gets an {@link Measure} defined with count distinct aggregation
|
|
@@ -4401,24 +4417,24 @@ class Qt extends En {
|
|
|
4401
4417
|
* @param format - optional format to apply on the resulting {@link Measure}
|
|
4402
4418
|
*/
|
|
4403
4419
|
countDistinct(t) {
|
|
4404
|
-
return
|
|
4420
|
+
return wn(this.attribute, void 0, t).sort(this._sort);
|
|
4405
4421
|
}
|
|
4406
4422
|
}
|
|
4407
|
-
const
|
|
4408
|
-
function
|
|
4423
|
+
const kp = (e) => !!(e && e.__serializable === "DimensionalMeasureTemplate");
|
|
4424
|
+
function xf(e, t) {
|
|
4409
4425
|
return St(e, t);
|
|
4410
4426
|
}
|
|
4411
4427
|
const xt = () => ({
|
|
4412
|
-
guid:
|
|
4428
|
+
guid: ps(13),
|
|
4413
4429
|
disabled: !1,
|
|
4414
4430
|
locked: !1
|
|
4415
|
-
}),
|
|
4416
|
-
function
|
|
4431
|
+
}), Pi = () => Object.assign(Object.assign({}, xt()), { excludeMembers: !1, enableMultiSelection: !0, deactivatedMembers: [] });
|
|
4432
|
+
function Ef(e) {
|
|
4417
4433
|
return "excludeMembers" in e;
|
|
4418
4434
|
}
|
|
4419
|
-
const
|
|
4420
|
-
const t =
|
|
4421
|
-
return Object.fromEntries(Object.entries(e).filter(([n, r]) => !
|
|
4435
|
+
const ji = (e) => {
|
|
4436
|
+
const t = Ef(e) ? Pi() : xt();
|
|
4437
|
+
return Object.fromEntries(Object.entries(e).filter(([n, r]) => !xf(r, t[n])));
|
|
4422
4438
|
}, ne = {
|
|
4423
4439
|
Contains: "contains",
|
|
4424
4440
|
StartsWith: "startsWith",
|
|
@@ -4442,7 +4458,7 @@ const $i = (e) => {
|
|
|
4442
4458
|
Last: "last",
|
|
4443
4459
|
Next: "next",
|
|
4444
4460
|
Anchor: "Anchor"
|
|
4445
|
-
},
|
|
4461
|
+
}, $i = {
|
|
4446
4462
|
Union: "or",
|
|
4447
4463
|
Intersection: "and",
|
|
4448
4464
|
Exclude: "exclude"
|
|
@@ -4463,12 +4479,12 @@ const $i = (e) => {
|
|
|
4463
4479
|
cascading: "cascading",
|
|
4464
4480
|
advanced: "advanced"
|
|
4465
4481
|
};
|
|
4466
|
-
class $ extends
|
|
4482
|
+
class $ extends yn {
|
|
4467
4483
|
constructor(t, n, r, i) {
|
|
4468
|
-
super("filter", w.Filter, void 0, void 0, i), this.__serializable = "AbstractFilter", this.filterType = n, this.isScope = !0, $.checkAttributeSupport(t), this.attribute = t, this.config =
|
|
4484
|
+
super("filter", w.Filter, void 0, void 0, i), this.__serializable = "AbstractFilter", this.filterType = n, this.isScope = !0, $.checkAttributeSupport(t), this.attribute = t, this.config = Ci({}, xt(), r != null ? r : {});
|
|
4469
4485
|
}
|
|
4470
4486
|
get name() {
|
|
4471
|
-
return
|
|
4487
|
+
return Ai(this.jaql()).toString(16);
|
|
4472
4488
|
}
|
|
4473
4489
|
/**
|
|
4474
4490
|
* Gets a serializable representation of the element
|
|
@@ -4505,7 +4521,7 @@ class $ extends vn {
|
|
|
4505
4521
|
return t ? { filter: {} } : { jaql: { filter: {} } };
|
|
4506
4522
|
}
|
|
4507
4523
|
}
|
|
4508
|
-
class
|
|
4524
|
+
class Bi extends $ {
|
|
4509
4525
|
constructor(t, n, r, i) {
|
|
4510
4526
|
super(t[0].attribute, q.logicalAttribute, r, i), this.__serializable = "LogicalAttributeFilter", this.operator = n, this.filters = t;
|
|
4511
4527
|
}
|
|
@@ -4530,13 +4546,13 @@ class Ui extends $ {
|
|
|
4530
4546
|
return t[this.operator] = this.filters.map((n) => n.filterJaql()), t;
|
|
4531
4547
|
}
|
|
4532
4548
|
}
|
|
4533
|
-
class
|
|
4549
|
+
class Of extends $ {
|
|
4534
4550
|
constructor(t, n, r, i) {
|
|
4535
4551
|
if (super(t, q.members, void 0, i), this.__serializable = "MembersFilter", this.members = n != null ? n : [], this.members.filter((s) => s == null).length > 0)
|
|
4536
4552
|
throw new Ve("errors.filter.membersFilterNullMember", {
|
|
4537
4553
|
attributeId: t.id
|
|
4538
4554
|
});
|
|
4539
|
-
this.config =
|
|
4555
|
+
this.config = Ci({}, Pi(), r != null ? r : {});
|
|
4540
4556
|
}
|
|
4541
4557
|
/**
|
|
4542
4558
|
* gets the element's ID
|
|
@@ -4545,7 +4561,7 @@ class Nf extends $ {
|
|
|
4545
4561
|
return `${this.attribute.id}_${this.members.map((t) => t.toString()).join()}`;
|
|
4546
4562
|
}
|
|
4547
4563
|
get name() {
|
|
4548
|
-
return
|
|
4564
|
+
return Ai([this.jaql(), Hd(this.config, ["guid", "originalFilterJaql"])]).toString(16);
|
|
4549
4565
|
}
|
|
4550
4566
|
/**
|
|
4551
4567
|
* Gets a serializable representation of the element
|
|
@@ -4566,7 +4582,7 @@ class Nf extends $ {
|
|
|
4566
4582
|
} : n;
|
|
4567
4583
|
}
|
|
4568
4584
|
}
|
|
4569
|
-
class
|
|
4585
|
+
class Nf extends $ {
|
|
4570
4586
|
constructor(t, n, r) {
|
|
4571
4587
|
super(t[0].attribute, q.cascading, n, r), this.__serializable = "CascadingFilter", this._filters = t;
|
|
4572
4588
|
}
|
|
@@ -4600,7 +4616,7 @@ class Cf extends $ {
|
|
|
4600
4616
|
return this.config.disabled ? $.disabledJaql(t) : this.filters.map((n) => (n.isScope = !0, n.jaql(t)));
|
|
4601
4617
|
}
|
|
4602
4618
|
}
|
|
4603
|
-
class
|
|
4619
|
+
class Cf extends $ {
|
|
4604
4620
|
constructor(t, n, r, i) {
|
|
4605
4621
|
super(t.attribute, q.exclude, r, i), this.__serializable = "ExcludeFilter", this.input = n, this.filter = t;
|
|
4606
4622
|
}
|
|
@@ -4652,7 +4668,7 @@ class Ot extends $ {
|
|
|
4652
4668
|
return this.operatorA && this.valueA !== void 0 && (t[this.operatorA] = this.valueA), this.operatorB && this.valueB !== void 0 && (t[this.operatorB] = this.valueB), t;
|
|
4653
4669
|
}
|
|
4654
4670
|
}
|
|
4655
|
-
class
|
|
4671
|
+
class _f extends Ot {
|
|
4656
4672
|
constructor(t, n, r, i, s, a, o, u) {
|
|
4657
4673
|
super(t, q.measure, r, i, s, a, o, u), this.__serializable = "MeasureFilter", this.measure = n;
|
|
4658
4674
|
}
|
|
@@ -4674,12 +4690,12 @@ class Mf extends Ot {
|
|
|
4674
4690
|
if (this.config.disabled)
|
|
4675
4691
|
return $.disabledJaql(t);
|
|
4676
4692
|
const n = super.jaql(t);
|
|
4677
|
-
return
|
|
4693
|
+
return Ii(this.measure) && Object.entries(this.measure.jaql().jaql).forEach(([r, i]) => {
|
|
4678
4694
|
n.jaql[r] = i;
|
|
4679
4695
|
}), n;
|
|
4680
4696
|
}
|
|
4681
4697
|
}
|
|
4682
|
-
class
|
|
4698
|
+
class Ui extends $ {
|
|
4683
4699
|
constructor(t, n, r, i, s, a) {
|
|
4684
4700
|
super(t, q.ranking, s, a), this.__serializable = "RankingFilter", this.count = i, this.operator = r, this.measure = n;
|
|
4685
4701
|
}
|
|
@@ -4704,7 +4720,7 @@ class Wi extends $ {
|
|
|
4704
4720
|
return t[this.operator] = this.count, t.by = this.measure.jaql(!0), t;
|
|
4705
4721
|
}
|
|
4706
4722
|
}
|
|
4707
|
-
class
|
|
4723
|
+
class Wi extends $ {
|
|
4708
4724
|
constructor(t, n, r, i, s) {
|
|
4709
4725
|
super(t.attribute, q.measureRanking, i, s), this.__serializable = "MeasureRankingFilter", this.count = r, this.operator = n, this.measure = t;
|
|
4710
4726
|
}
|
|
@@ -4732,12 +4748,12 @@ class qi extends $ {
|
|
|
4732
4748
|
if (this.config.disabled)
|
|
4733
4749
|
return $.disabledJaql(t);
|
|
4734
4750
|
const n = super.jaql(t);
|
|
4735
|
-
return
|
|
4751
|
+
return Ii(this.measure) && Object.entries(this.measure.jaql().jaql).forEach(([r, i]) => {
|
|
4736
4752
|
n.jaql[r] = i;
|
|
4737
4753
|
}), n.jaql.type = "measure", n;
|
|
4738
4754
|
}
|
|
4739
4755
|
}
|
|
4740
|
-
class
|
|
4756
|
+
class Mf extends Ot {
|
|
4741
4757
|
constructor(t, n, r, i, s, a, o) {
|
|
4742
4758
|
super(t, q.numeric, n, r, i, s, a, o), this.__serializable = "NumericFilter";
|
|
4743
4759
|
}
|
|
@@ -4759,7 +4775,7 @@ class re extends Ot {
|
|
|
4759
4775
|
return super.serialize();
|
|
4760
4776
|
}
|
|
4761
4777
|
}
|
|
4762
|
-
class
|
|
4778
|
+
class Df extends Ot {
|
|
4763
4779
|
constructor(t, n, r, i, s) {
|
|
4764
4780
|
super(t, q.dateRange, We.From, n, We.To, r, i, s), this.__serializable = "DateRangeFilter", typeof n == "object" && (this.valueA = n.toISOString()), typeof r == "object" && (this.valueB = r.toISOString());
|
|
4765
4781
|
}
|
|
@@ -4785,7 +4801,7 @@ class Rf extends Ot {
|
|
|
4785
4801
|
return super.serialize();
|
|
4786
4802
|
}
|
|
4787
4803
|
}
|
|
4788
|
-
class
|
|
4804
|
+
class En extends $ {
|
|
4789
4805
|
constructor(t, n, r, i, s, a, o) {
|
|
4790
4806
|
super(t, q.relativeDate, a, o), this.__serializable = "RelativeDateFilter", i || (i = We.Next), this.anchor = s, this.operator = i, this.offset = n, this.count = r;
|
|
4791
4807
|
}
|
|
@@ -4818,7 +4834,7 @@ class On extends $ {
|
|
|
4818
4834
|
}, this.anchor && (typeof this.anchor == "string" ? t[this.operator].anchor = this.anchor : typeof this.anchor == "object" && (t[this.operator].anchor = this.anchor.toISOString())), t;
|
|
4819
4835
|
}
|
|
4820
4836
|
}
|
|
4821
|
-
class
|
|
4837
|
+
class Rf extends $ {
|
|
4822
4838
|
constructor(t, n, r, i) {
|
|
4823
4839
|
super(t, q.advanced, r, i), this.__serializable = "CustomFilter", delete n.filterType, this.jaqlExpression = n;
|
|
4824
4840
|
}
|
|
@@ -4843,47 +4859,47 @@ class Lf extends $ {
|
|
|
4843
4859
|
return t.jaqlExpression = this.jaqlExpression, t;
|
|
4844
4860
|
}
|
|
4845
4861
|
}
|
|
4846
|
-
function
|
|
4862
|
+
function Gp(e) {
|
|
4847
4863
|
return e && e.__serializable === "CustomFilter";
|
|
4848
4864
|
}
|
|
4849
|
-
function
|
|
4865
|
+
function Vp(e) {
|
|
4850
4866
|
return e && e.__serializable === "MembersFilter";
|
|
4851
4867
|
}
|
|
4852
|
-
function
|
|
4868
|
+
function Qp(e) {
|
|
4853
4869
|
return e && e.__serializable === "NumericFilter";
|
|
4854
4870
|
}
|
|
4855
|
-
function
|
|
4871
|
+
function Kp(e) {
|
|
4856
4872
|
return e && e.__serializable === "RankingFilter";
|
|
4857
4873
|
}
|
|
4858
|
-
function
|
|
4874
|
+
function Jp(e) {
|
|
4859
4875
|
return e && e.__serializable === "MeasureRankingFilter";
|
|
4860
4876
|
}
|
|
4861
|
-
function
|
|
4877
|
+
function Yp(e) {
|
|
4862
4878
|
return e && e.__serializable === "MeasureFilter";
|
|
4863
4879
|
}
|
|
4864
|
-
function
|
|
4880
|
+
function Xp(e) {
|
|
4865
4881
|
return e && e.__serializable === "ExcludeFilter";
|
|
4866
4882
|
}
|
|
4867
|
-
function
|
|
4883
|
+
function Zp(e) {
|
|
4868
4884
|
return e && e.__serializable === "LogicalAttributeFilter";
|
|
4869
4885
|
}
|
|
4870
4886
|
function Nt(e) {
|
|
4871
4887
|
return e && e.__serializable === "CascadingFilter";
|
|
4872
4888
|
}
|
|
4873
|
-
function
|
|
4889
|
+
function eg(e) {
|
|
4874
4890
|
return e && e.__serializable === "RelativeDateFilter";
|
|
4875
4891
|
}
|
|
4876
|
-
function
|
|
4892
|
+
function tg(e) {
|
|
4877
4893
|
return e && e.__serializable === "TextFilter";
|
|
4878
4894
|
}
|
|
4879
|
-
function
|
|
4895
|
+
function ng(e) {
|
|
4880
4896
|
return e && e.__serializable === "DateRangeFilter";
|
|
4881
4897
|
}
|
|
4882
|
-
const
|
|
4898
|
+
const qi = v((e, t) => new Bi(e, $i.Union, t), "union"), zi = v((e, t) => new Bi(e, $i.Intersection, t), "intersection"), On = v((e, t, n) => new Cf(e, t, n), "exclude"), Hi = v((e, t, n) => new re(e, ne.DoesntContain, t, n), "doesntContain"), ki = v((e, t, n) => new re(e, ne.DoesntEndWith, t, n), "doesntEndWith"), Gi = v((e, t, n) => new re(e, ne.DoesntStartWith, t, n), "doesntStartWith"), Vi = v((e, t, n) => new re(e, ne.Contains, t, n), "contains"), Qi = v((e, t, n) => new re(e, ne.EndsWith, t, n), "endsWith"), Ki = v((e, t, n) => new re(e, ne.StartsWith, t, n), "startsWith"), Lf = v((e, t, n) => new re(e, ne.Like, t, n), "like"), Ji = v((e, t, n) => typeof t == "string" ? new re(e, ne.DoesntEqual, t, n) : ie(e, R.DoesntEqual, t, void 0, void 0, n), "doesntEqual"), Yi = v((e, t, n) => typeof t == "string" ? new re(e, ne.Equals, t, n) : ie(e, R.Equals, t, void 0, void 0, n), "equals"), Xi = v((e, t, n) => ie(e, R.FromNotEqual, t, void 0, void 0, n), "greaterThan"), Zi = v((e, t, n) => ie(e, R.From, t, void 0, void 0, n), "greaterThanOrEqual"), es = v((e, t, n) => ie(e, R.ToNotEqual, t, void 0, void 0, n), "lessThan"), ts = v((e, t, n) => ie(e, R.To, t, void 0, void 0, n), "lessThanOrEqual"), pt = v((e, t, n, r) => ie(e, R.From, t, R.To, n, r), "between"), Ff = v((e, t, n, r) => ie(e, R.FromNotEqual, t, R.ToNotEqual, n, r), "betweenNotEqual"), ie = v((e, t, n, r, i, s) => new Mf(e, t, n, r, i, s), "numeric"), Ct = v((e, t, n) => new Of(e, t, n), "members"), If = v((e, t, n) => _t(e, t, void 0, n), "dateFrom"), Pf = v((e, t, n) => _t(e, void 0, t, n), "dateTo"), _t = v((e, t, n, r) => new Df(e, t, n, r), "dateRange"), jf = v((e, t, n, r, i) => new En(e, t, n, void 0, r, i), "dateRelative"), ns = v((e, t, n, r, i) => new En(e, t, n, We.Next, r, i), "dateRelativeFrom"), xe = v((e, t, n, r, i) => new En(e, t, n, We.Last, r, i), "dateRelativeTo"), $f = v((e, t) => xe(e.Years, 0, 1, void 0, t), "thisYear"), Bf = v((e, t) => xe(e.Months, 0, 1, void 0, t), "thisMonth"), Uf = v((e, t) => xe(e.Quarters, 0, 1, void 0, t), "thisQuarter"), Wf = v((e, t) => xe(e.Days, 0, 1, void 0, t), "today");
|
|
4883
4899
|
function oe(e, t, n, r, i, s, a) {
|
|
4884
|
-
return new
|
|
4900
|
+
return new _f(e, t, n, r, i, s, a);
|
|
4885
4901
|
}
|
|
4886
|
-
const
|
|
4902
|
+
const rs = v((e, t, n) => oe(e.attribute, e, R.Equals, t, void 0, void 0, n), "measureEquals"), is = v((e, t, n) => oe(e.attribute, e, R.FromNotEqual, t, void 0, void 0, n), "measureGreaterThan"), ss = v((e, t, n) => oe(e.attribute, e, R.From, t, void 0, void 0, n), "measureGreaterThanOrEqual"), as = v((e, t, n) => oe(e.attribute, e, R.To, t, void 0, void 0, n), "measureLessThanOrEqual"), os = v((e, t, n) => oe(e.attribute, e, R.ToNotEqual, t, void 0, void 0, n), "measureLessThan"), Qt = v((e, t, n, r) => oe(e.attribute, e, R.From, t, R.To, n, r), "measureBetween"), qf = v((e, t, n, r) => oe(e.attribute, e, R.FromNotEqual, t, R.ToNotEqual, n, r), "measureBetweenNotEqual"), us = v((e, t, n, r) => new Ui(e, t, Et.Top, n, r), "topRanking"), ls = v((e, t, n, r) => new Ui(e, t, Et.Bottom, n, r), "bottomRanking"), cs = v((e, t, n) => new Wi(e, Et.Top, t, n), "measureTopRanking"), ds = v((e, t, n) => new Wi(e, Et.Bottom, t, n), "measureBottomRanking"), zf = v((e, t) => new Nf(e, t), "cascading");
|
|
4887
4903
|
var ve;
|
|
4888
4904
|
(function(e) {
|
|
4889
4905
|
const t = (n) => {
|
|
@@ -4897,78 +4913,78 @@ var ve;
|
|
|
4897
4913
|
}
|
|
4898
4914
|
return n;
|
|
4899
4915
|
};
|
|
4900
|
-
e.and =
|
|
4916
|
+
e.and = _r((n, r) => ({
|
|
4901
4917
|
operator: "AND",
|
|
4902
4918
|
left: t(n),
|
|
4903
4919
|
right: t(r)
|
|
4904
|
-
}), "and"), e.or =
|
|
4920
|
+
}), "and"), e.or = _r((n, r) => ({
|
|
4905
4921
|
operator: "OR",
|
|
4906
4922
|
left: t(n),
|
|
4907
4923
|
right: t(r)
|
|
4908
4924
|
}), "or");
|
|
4909
4925
|
})(ve = ve || (ve = {}));
|
|
4910
|
-
const
|
|
4926
|
+
const fs = v((e, t, n) => new Rf(e, t, n), "customFilter"), rg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4911
4927
|
__proto__: null,
|
|
4912
4928
|
between: pt,
|
|
4913
|
-
betweenNotEqual:
|
|
4914
|
-
bottomRanking:
|
|
4915
|
-
cascading:
|
|
4916
|
-
contains:
|
|
4917
|
-
customFilter:
|
|
4918
|
-
dateFrom:
|
|
4929
|
+
betweenNotEqual: Ff,
|
|
4930
|
+
bottomRanking: ls,
|
|
4931
|
+
cascading: zf,
|
|
4932
|
+
contains: Vi,
|
|
4933
|
+
customFilter: fs,
|
|
4934
|
+
dateFrom: If,
|
|
4919
4935
|
dateRange: _t,
|
|
4920
|
-
dateRelative:
|
|
4921
|
-
dateRelativeFrom:
|
|
4936
|
+
dateRelative: jf,
|
|
4937
|
+
dateRelativeFrom: ns,
|
|
4922
4938
|
dateRelativeTo: xe,
|
|
4923
|
-
dateTo:
|
|
4924
|
-
doesntContain:
|
|
4925
|
-
doesntEndWith:
|
|
4926
|
-
doesntEqual:
|
|
4927
|
-
doesntStartWith:
|
|
4928
|
-
endsWith:
|
|
4929
|
-
equals:
|
|
4930
|
-
exclude:
|
|
4931
|
-
greaterThan:
|
|
4932
|
-
greaterThanOrEqual:
|
|
4933
|
-
intersection:
|
|
4934
|
-
lessThan:
|
|
4935
|
-
lessThanOrEqual:
|
|
4936
|
-
like:
|
|
4939
|
+
dateTo: Pf,
|
|
4940
|
+
doesntContain: Hi,
|
|
4941
|
+
doesntEndWith: ki,
|
|
4942
|
+
doesntEqual: Ji,
|
|
4943
|
+
doesntStartWith: Gi,
|
|
4944
|
+
endsWith: Qi,
|
|
4945
|
+
equals: Yi,
|
|
4946
|
+
exclude: On,
|
|
4947
|
+
greaterThan: Xi,
|
|
4948
|
+
greaterThanOrEqual: Zi,
|
|
4949
|
+
intersection: zi,
|
|
4950
|
+
lessThan: es,
|
|
4951
|
+
lessThanOrEqual: ts,
|
|
4952
|
+
like: Lf,
|
|
4937
4953
|
get logic() {
|
|
4938
4954
|
return ve;
|
|
4939
4955
|
},
|
|
4940
4956
|
measureBase: oe,
|
|
4941
|
-
measureBetween:
|
|
4942
|
-
measureBetweenNotEqual:
|
|
4943
|
-
measureBottomRanking:
|
|
4944
|
-
measureEquals:
|
|
4945
|
-
measureGreaterThan:
|
|
4946
|
-
measureGreaterThanOrEqual:
|
|
4947
|
-
measureLessThan:
|
|
4948
|
-
measureLessThanOrEqual:
|
|
4949
|
-
measureTopRanking:
|
|
4957
|
+
measureBetween: Qt,
|
|
4958
|
+
measureBetweenNotEqual: qf,
|
|
4959
|
+
measureBottomRanking: ds,
|
|
4960
|
+
measureEquals: rs,
|
|
4961
|
+
measureGreaterThan: is,
|
|
4962
|
+
measureGreaterThanOrEqual: ss,
|
|
4963
|
+
measureLessThan: os,
|
|
4964
|
+
measureLessThanOrEqual: as,
|
|
4965
|
+
measureTopRanking: cs,
|
|
4950
4966
|
members: Ct,
|
|
4951
4967
|
numeric: ie,
|
|
4952
|
-
startsWith:
|
|
4953
|
-
thisMonth:
|
|
4954
|
-
thisQuarter:
|
|
4955
|
-
thisYear:
|
|
4956
|
-
today:
|
|
4957
|
-
topRanking:
|
|
4958
|
-
union:
|
|
4959
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4968
|
+
startsWith: Ki,
|
|
4969
|
+
thisMonth: Bf,
|
|
4970
|
+
thisQuarter: Uf,
|
|
4971
|
+
thisYear: $f,
|
|
4972
|
+
today: Wf,
|
|
4973
|
+
topRanking: us,
|
|
4974
|
+
union: qi
|
|
4975
|
+
}, Symbol.toStringTag, { value: "Module" })), Hf = (e) => {
|
|
4960
4976
|
const { dim: t, datatype: n, title: r, datasource: i } = e;
|
|
4961
|
-
return
|
|
4977
|
+
return _n({
|
|
4962
4978
|
expression: t,
|
|
4963
4979
|
dataType: n,
|
|
4964
4980
|
granularity: qe(e),
|
|
4965
4981
|
title: r,
|
|
4966
4982
|
dataSource: i
|
|
4967
4983
|
});
|
|
4968
|
-
},
|
|
4984
|
+
}, kf = (e) => {
|
|
4969
4985
|
const { dim: t, title: n, datatype: r, agg: i, datasource: s } = e;
|
|
4970
4986
|
if (i)
|
|
4971
|
-
return
|
|
4987
|
+
return Mn({
|
|
4972
4988
|
expression: t,
|
|
4973
4989
|
dataType: r,
|
|
4974
4990
|
agg: i,
|
|
@@ -4978,11 +4994,11 @@ const hs = v((e, t, n) => new Lf(e, t, n), "customFilter"), ng = /* @__PURE__ */
|
|
|
4978
4994
|
title: n,
|
|
4979
4995
|
dataSource: s
|
|
4980
4996
|
});
|
|
4981
|
-
},
|
|
4997
|
+
}, Mr = (e, t) => {
|
|
4982
4998
|
if ("formula" in e)
|
|
4983
|
-
return
|
|
4999
|
+
return bs(e);
|
|
4984
5000
|
const { dim: n, datatype: r, agg: i } = e;
|
|
4985
|
-
return
|
|
5001
|
+
return Mn({
|
|
4986
5002
|
expression: n,
|
|
4987
5003
|
granularity: qe(e),
|
|
4988
5004
|
dataType: r,
|
|
@@ -5012,7 +5028,7 @@ var Se;
|
|
|
5012
5028
|
(function(e) {
|
|
5013
5029
|
e.DATE_TIME = "datetime", e.NUMERIC = "numeric", e.TEXT = "text";
|
|
5014
5030
|
})(Se = Se || (Se = {}));
|
|
5015
|
-
const
|
|
5031
|
+
const Gf = ["1", "30"], E = Object.assign(Object.assign(Object.assign({}, tt), nt), rt), Vf = {
|
|
5016
5032
|
[E.INCLUDE_ALL]: {
|
|
5017
5033
|
all: !0,
|
|
5018
5034
|
filterType: E.INCLUDE_ALL
|
|
@@ -5040,70 +5056,70 @@ const Vf = ["1", "30"], E = Object.assign(Object.assign(Object.assign({}, tt), n
|
|
|
5040
5056
|
members: [],
|
|
5041
5057
|
filterType: E.SPECIFIC_ITEMS
|
|
5042
5058
|
}
|
|
5043
|
-
},
|
|
5044
|
-
filter:
|
|
5059
|
+
}, Qf = {
|
|
5060
|
+
filter: Vf.INCLUDE_ALL,
|
|
5045
5061
|
level: ae.YEARS
|
|
5046
5062
|
};
|
|
5047
5063
|
var p;
|
|
5048
5064
|
(function(e) {
|
|
5049
5065
|
e.IS = "members", e.IS_NOT = "exclude", e.IS_WITHIN = "isWithin", e.TOP = "top", e.BOTTOM = "bottom", e.AFTER = "after", e.BEFORE = "before", e.STARTS_WITH = "startsWith", e.DOESNT_START_WITH = "doesntStartWith", e.ENDS_WITH = "endsWith", e.DOESNT_END_WITH = "doesntEndWith", e.CONTAINS = "contains", e.DOESNT_CONTAIN = "doesntContain", e.EQUALS = "equals", e.DOESNT_EQUAL = "doesntEqual", e.IS_EMPTY = "isEmpty", e.IS_NOT_EMPTY = "isNotEmpty", e.GREATER_THAN = "fromNotEqual", e.GREATER_THAN_OR_EQUAL = "from", e.LESS_THAN = "toNotEqual", e.LESS_THAN_OR_EQUAL = "to", e.BETWEEN = "between", e.IS_NOT_BETWEEN = "isNotBetween", e.MULTIPLE_CONDITION = "multipleCondition", e.NONE = "none";
|
|
5050
5066
|
})(p = p || (p = {}));
|
|
5051
|
-
const
|
|
5067
|
+
const Kf = (e) => e.top !== void 0, Jf = (e) => e.bottom !== void 0, Yf = (e) => {
|
|
5052
5068
|
var t;
|
|
5053
5069
|
return !!(!((t = e.exclude) === null || t === void 0) && t.members);
|
|
5054
|
-
},
|
|
5070
|
+
}, Xf = (e) => !!e.members && !!e.isCondition, Zf = (e) => {
|
|
5055
5071
|
var t, n;
|
|
5056
5072
|
return ((t = e.last) === null || t === void 0 ? void 0 : t.anchor) !== void 0 || ((n = e.next) === null || n === void 0 ? void 0 : n.anchor) !== void 0;
|
|
5057
|
-
},
|
|
5073
|
+
}, eh = (e) => e.fromNotEqual !== void 0, th = (e) => e.from !== void 0 && !e.isBetween, nh = (e) => e.toNotEqual !== void 0, rh = (e) => e.to !== void 0 && !e.isBetween, ih = (e) => e.equals !== void 0, sh = (e) => e.doesntEqual !== void 0, ah = (e) => !!(e.equals === "" && e.isEmpty), oh = (e) => !!(e.doesntEqual === "" && e.isEmpty), uh = (e) => e.contains !== void 0, lh = (e) => e.doesntContain !== void 0, ch = (e) => e.startsWith !== void 0, dh = (e) => e.doesntStartWith !== void 0, fh = (e) => e.endsWith !== void 0, hh = (e) => e.doesntEndWith !== void 0, ph = (e) => e.from !== void 0 && e.to !== void 0, gh = (e) => {
|
|
5058
5074
|
var t, n;
|
|
5059
5075
|
return ((t = e.exclude) === null || t === void 0 ? void 0 : t.from) !== void 0 && ((n = e.exclude) === null || n === void 0 ? void 0 : n.to) !== void 0;
|
|
5060
|
-
},
|
|
5076
|
+
}, mh = (e) => !!(e.or || e.and), Nn = (e) => Jf(e) ? p.BOTTOM : Kf(e) ? p.TOP : Yf(e) ? p.IS_NOT : Zf(e) ? p.IS_WITHIN : eh(e) ? p.GREATER_THAN : nh(e) ? p.LESS_THAN : ih(e) ? p.EQUALS : sh(e) ? p.DOESNT_EQUAL : ah(e) ? p.IS_EMPTY : oh(e) ? p.IS_NOT_EMPTY : uh(e) ? p.CONTAINS : lh(e) ? p.DOESNT_CONTAIN : hh(e) ? p.DOESNT_END_WITH : dh(e) ? p.DOESNT_START_WITH : fh(e) ? p.ENDS_WITH : ch(e) ? p.STARTS_WITH : gh(e) ? p.IS_NOT_BETWEEN : Xf(e) ? p.IS : mh(e) ? p.MULTIPLE_CONDITION : ph(e) ? p.BETWEEN : th(e) ? p.GREATER_THAN_OR_EQUAL : rh(e) ? p.LESS_THAN_OR_EQUAL : p.NONE, Kt = (e, t, n) => {
|
|
5061
5077
|
var r, i, s, a, o, u, l;
|
|
5062
|
-
switch (
|
|
5078
|
+
switch (Nn(t)) {
|
|
5063
5079
|
case p.BOTTOM:
|
|
5064
5080
|
if (t.by)
|
|
5065
|
-
return
|
|
5081
|
+
return ls(e, Mr(t.by, t.rankingMessage), t[p.BOTTOM], { guid: n });
|
|
5066
5082
|
break;
|
|
5067
5083
|
case p.EQUALS:
|
|
5068
|
-
return
|
|
5084
|
+
return Yi(e, t[p.EQUALS], { guid: n });
|
|
5069
5085
|
case p.DOESNT_EQUAL:
|
|
5070
|
-
return
|
|
5086
|
+
return Ji(e, t[p.DOESNT_EQUAL], { guid: n });
|
|
5071
5087
|
case p.GREATER_THAN:
|
|
5072
|
-
return
|
|
5088
|
+
return Xi(e, t[p.GREATER_THAN], { guid: n });
|
|
5073
5089
|
case p.GREATER_THAN_OR_EQUAL:
|
|
5074
|
-
return
|
|
5090
|
+
return Zi(e, t[p.GREATER_THAN_OR_EQUAL], { guid: n });
|
|
5075
5091
|
case p.TOP:
|
|
5076
5092
|
if (t.by)
|
|
5077
|
-
return
|
|
5093
|
+
return us(e, Mr(t.by, t.rankingMessage), t[p.TOP], { guid: n });
|
|
5078
5094
|
break;
|
|
5079
5095
|
case p.STARTS_WITH:
|
|
5080
|
-
return
|
|
5096
|
+
return Ki(e, t[p.STARTS_WITH], { guid: n });
|
|
5081
5097
|
case p.DOESNT_START_WITH:
|
|
5082
|
-
return
|
|
5098
|
+
return Gi(e, t[p.DOESNT_START_WITH], { guid: n });
|
|
5083
5099
|
case p.ENDS_WITH:
|
|
5084
|
-
return
|
|
5100
|
+
return Qi(e, t[p.ENDS_WITH], { guid: n });
|
|
5085
5101
|
case p.DOESNT_END_WITH:
|
|
5086
|
-
return
|
|
5102
|
+
return ki(e, t[p.DOESNT_END_WITH], { guid: n });
|
|
5087
5103
|
case p.CONTAINS:
|
|
5088
|
-
return
|
|
5104
|
+
return Vi(e, t[p.CONTAINS], { guid: n });
|
|
5089
5105
|
case p.DOESNT_CONTAIN:
|
|
5090
|
-
return
|
|
5106
|
+
return Hi(e, t[p.DOESNT_CONTAIN], { guid: n });
|
|
5091
5107
|
case p.LESS_THAN:
|
|
5092
|
-
return
|
|
5108
|
+
return es(e, t[p.LESS_THAN], { guid: n });
|
|
5093
5109
|
case p.LESS_THAN_OR_EQUAL:
|
|
5094
|
-
return
|
|
5110
|
+
return ts(e, t[p.LESS_THAN_OR_EQUAL], { guid: n });
|
|
5095
5111
|
case p.BETWEEN:
|
|
5096
5112
|
return pt(e, t.from, t.to, { guid: n });
|
|
5097
5113
|
case p.IS_NOT_BETWEEN:
|
|
5098
|
-
return
|
|
5114
|
+
return On(pt(e, (r = t.exclude) === null || r === void 0 ? void 0 : r.from, (i = t.exclude) === null || i === void 0 ? void 0 : i.to, { guid: n }), void 0, { guid: n });
|
|
5099
5115
|
case p.MULTIPLE_CONDITION:
|
|
5100
5116
|
if (t.and)
|
|
5101
|
-
return
|
|
5117
|
+
return zi(t.and.map((f) => Kt(e, f, n)), { guid: n });
|
|
5102
5118
|
if (t.or)
|
|
5103
|
-
return
|
|
5119
|
+
return qi(t.or.map((f) => Kt(e, f, n)), { guid: n });
|
|
5104
5120
|
break;
|
|
5105
5121
|
case p.IS_NOT: {
|
|
5106
|
-
const f = ((s = t.filter) === null || s === void 0 ? void 0 : s.turnedOff) && ((a = t.filter.exclude) === null || a === void 0 ? void 0 : a.members) || [], c = ((u = (o = t.exclude) === null || o === void 0 ? void 0 : o.members) === null || u === void 0 ? void 0 : u.filter((g) => !f.includes(g))) || [], m =
|
|
5122
|
+
const f = ((s = t.filter) === null || s === void 0 ? void 0 : s.turnedOff) && ((a = t.filter.exclude) === null || a === void 0 ? void 0 : a.members) || [], c = ((u = (o = t.exclude) === null || o === void 0 ? void 0 : o.members) === null || u === void 0 ? void 0 : u.filter((g) => !f.includes(g))) || [], m = ji({
|
|
5107
5123
|
guid: n,
|
|
5108
5124
|
excludeMembers: !0,
|
|
5109
5125
|
enableMultiSelection: (l = t.multiSelection) !== null && l !== void 0 ? l : !0,
|
|
@@ -5115,56 +5131,56 @@ const Jf = (e) => e.top !== void 0, Yf = (e) => e.bottom !== void 0, Xf = (e) =>
|
|
|
5115
5131
|
throw new Ve("errors.filter.unsupportedConditionFilter", {
|
|
5116
5132
|
filter: JSON.stringify(t)
|
|
5117
5133
|
});
|
|
5118
|
-
},
|
|
5134
|
+
}, bh = (e, t, n) => {
|
|
5119
5135
|
var r, i;
|
|
5120
|
-
switch (
|
|
5136
|
+
switch (Nn(t)) {
|
|
5121
5137
|
case p.EQUALS:
|
|
5122
|
-
return
|
|
5138
|
+
return rs(e, t[p.EQUALS], { guid: n });
|
|
5123
5139
|
case p.GREATER_THAN:
|
|
5124
|
-
return
|
|
5140
|
+
return is(e, t[p.GREATER_THAN], { guid: n });
|
|
5125
5141
|
case p.GREATER_THAN_OR_EQUAL:
|
|
5126
|
-
return
|
|
5142
|
+
return ss(e, t[p.GREATER_THAN_OR_EQUAL], { guid: n });
|
|
5127
5143
|
case p.LESS_THAN:
|
|
5128
|
-
return
|
|
5144
|
+
return os(e, t[p.LESS_THAN], { guid: n });
|
|
5129
5145
|
case p.LESS_THAN_OR_EQUAL:
|
|
5130
|
-
return
|
|
5146
|
+
return as(e, t[p.LESS_THAN_OR_EQUAL], { guid: n });
|
|
5131
5147
|
case p.BETWEEN:
|
|
5132
|
-
return
|
|
5148
|
+
return Qt(e, t.from, t.to, { guid: n });
|
|
5133
5149
|
case p.IS_NOT_BETWEEN:
|
|
5134
|
-
return
|
|
5150
|
+
return On(Qt(e, (r = t.exclude) === null || r === void 0 ? void 0 : r.from, (i = t.exclude) === null || i === void 0 ? void 0 : i.to, { guid: n }), void 0, { guid: n });
|
|
5135
5151
|
case p.TOP:
|
|
5136
|
-
return
|
|
5152
|
+
return cs(e, t[p.TOP], { guid: n });
|
|
5137
5153
|
case p.BOTTOM:
|
|
5138
|
-
return
|
|
5154
|
+
return ds(e, t[p.BOTTOM], { guid: n });
|
|
5139
5155
|
}
|
|
5140
5156
|
throw new Ve("errors.filter.unsupportedConditionFilter", {
|
|
5141
5157
|
filter: JSON.stringify(t)
|
|
5142
5158
|
});
|
|
5143
|
-
},
|
|
5159
|
+
}, yh = (e, t) => {
|
|
5144
5160
|
let n = e ? e.toLocaleLowerCase() : ae.YEARS;
|
|
5145
5161
|
return n === ae.MINUTES && t === "60" && (n = ae.HOURS), n;
|
|
5146
|
-
},
|
|
5162
|
+
}, vh = (e) => e == null ? void 0 : e.all, Sh = (e) => e.last ? e.last : e.next, Th = (e) => {
|
|
5147
5163
|
var t;
|
|
5148
|
-
return ((t =
|
|
5149
|
-
},
|
|
5164
|
+
return ((t = Sh(e)) === null || t === void 0 ? void 0 : t.offset) < 2;
|
|
5165
|
+
}, Ah = (e) => {
|
|
5150
5166
|
var t;
|
|
5151
5167
|
return ((t = e == null ? void 0 : e.members) === null || t === void 0 ? void 0 : t.length) >= 0;
|
|
5152
|
-
},
|
|
5168
|
+
}, wh = (e, t) => e && typeof e == "string" || t && typeof t == "string", xh = (e, t) => e === "" && t === "", Eh = (e, t) => {
|
|
5153
5169
|
const { from: n, to: r } = e;
|
|
5154
|
-
return t !== Se.DATE_TIME ? !1 :
|
|
5155
|
-
},
|
|
5170
|
+
return t !== Se.DATE_TIME ? !1 : wh(n, r) ? !0 : xh(n, r);
|
|
5171
|
+
}, Oh = (e) => {
|
|
5156
5172
|
const { from: t, to: n } = e;
|
|
5157
5173
|
return t !== void 0 && n !== void 0 && !e.isBetween;
|
|
5158
|
-
},
|
|
5159
|
-
const { level: n, filter: r, bucket: i } = e, s = r ||
|
|
5160
|
-
filter: Object.assign(Object.assign({}, s), { filterType:
|
|
5174
|
+
}, Nh = (e) => Nn(e) !== p.NONE, Ch = (e) => Object.keys(e).includes("isAdvanced"), _h = (e) => !!(e.level && e.bucket && e.level === ae.MINUTES && Gf.includes(e.bucket)), Mh = (e) => e.filterType === E.INVALID, Dr = (e, t = Se.DATE_TIME, n) => n && _h(n) || Ch(e) ? E.ADVANCED : vh(e) ? E.INCLUDE_ALL : Th(e) ? E.PERIOD : Ah(e) ? E.SPECIFIC_ITEMS : Eh(e, t) ? E.DATE_RANGE : Oh(e) ? E.NUMERIC_RANGE : Nh(e) ? E.CONDITION : (Mh(e), E.INVALID), Dh = (e, t) => {
|
|
5175
|
+
const { level: n, filter: r, bucket: i } = e, s = r || Qf.filter, a = {
|
|
5176
|
+
filter: Object.assign(Object.assign({}, s), { filterType: Dr(s, t) })
|
|
5161
5177
|
};
|
|
5162
5178
|
if (t === Se.DATE_TIME) {
|
|
5163
5179
|
const o = s, u = (o == null ? void 0 : o.level) || n;
|
|
5164
|
-
a.level =
|
|
5180
|
+
a.level = yh(u, i), a.filter.filterType = Dr(s, t, { level: u, bucket: i });
|
|
5165
5181
|
}
|
|
5166
5182
|
return a;
|
|
5167
|
-
},
|
|
5183
|
+
}, Rr = (e, t) => {
|
|
5168
5184
|
const n = {
|
|
5169
5185
|
config: Object.assign(Object.assign({}, xt()), { guid: t, originalFilterJaql: e }),
|
|
5170
5186
|
jaql: (r) => r ? e : {
|
|
@@ -5177,8 +5193,8 @@ const Jf = (e) => e.top !== void 0, Yf = (e) => e.bottom !== void 0, Xf = (e) =>
|
|
|
5177
5193
|
type: "filter"
|
|
5178
5194
|
};
|
|
5179
5195
|
return Object.assign({}, n);
|
|
5180
|
-
},
|
|
5181
|
-
const i =
|
|
5196
|
+
}, Rh = (e, t) => Ct(e, [], { guid: t }), Lh = (e, t, n, r) => {
|
|
5197
|
+
const i = Fh(t), s = Ih(t, i), a = ji({
|
|
5182
5198
|
guid: n,
|
|
5183
5199
|
excludeMembers: !1,
|
|
5184
5200
|
enableMultiSelection: r != null ? r : !0,
|
|
@@ -5186,46 +5202,46 @@ const Jf = (e) => e.top !== void 0, Yf = (e) => e.bottom !== void 0, Xf = (e) =>
|
|
|
5186
5202
|
});
|
|
5187
5203
|
return Ct(e, s, a);
|
|
5188
5204
|
};
|
|
5189
|
-
function
|
|
5205
|
+
function Fh(e) {
|
|
5190
5206
|
var t, n, r, i;
|
|
5191
5207
|
return !((t = e.filter) === null || t === void 0) && t.turnedOff ? (i = (r = (n = e.filter) === null || n === void 0 ? void 0 : n.exclude) === null || r === void 0 ? void 0 : r.members) !== null && i !== void 0 ? i : [] : [];
|
|
5192
5208
|
}
|
|
5193
|
-
function
|
|
5209
|
+
function Ih(e, t) {
|
|
5194
5210
|
const n = e.members;
|
|
5195
5211
|
return t ? n.filter((r) => !t.includes(r)) : n;
|
|
5196
5212
|
}
|
|
5197
|
-
const
|
|
5213
|
+
const Ph = (e, t, n) => _t(e, t.from, t.to, { guid: n }), jh = (e, t, n) => pt(e, t.from, t.to, { guid: n }), $h = (e, t, n) => t.last ? xe(e, t.last.offset, t.last.count, t.last.anchor, { guid: n }) : ns(e, t.next.offset, t.next.count, t.next.anchor, { guid: n }), Bh = (e, t, n) => fs(e, t, {
|
|
5198
5214
|
guid: n
|
|
5199
|
-
}),
|
|
5215
|
+
}), Lr = (e, t) => {
|
|
5200
5216
|
try {
|
|
5201
5217
|
if ("formula" in e)
|
|
5202
5218
|
throw new Ve("errors.filter.formulaFiltersNotSupported", {
|
|
5203
5219
|
filter: JSON.stringify(e)
|
|
5204
5220
|
});
|
|
5205
|
-
const n =
|
|
5221
|
+
const n = Dh(e, e.datatype), { filter: r } = n, { filterType: i } = r, s = Hf(e), a = kf(e);
|
|
5206
5222
|
switch (i) {
|
|
5207
5223
|
case E.INCLUDE_ALL:
|
|
5208
|
-
return
|
|
5224
|
+
return Rh(s, t);
|
|
5209
5225
|
case E.SPECIFIC_ITEMS:
|
|
5210
|
-
return
|
|
5226
|
+
return Lh(s, r, t, r.multiSelection);
|
|
5211
5227
|
case E.CONDITION:
|
|
5212
|
-
return a ?
|
|
5228
|
+
return a ? bh(a, r, t) : Kt(s, r, t);
|
|
5213
5229
|
case E.DATE_RANGE:
|
|
5214
|
-
return
|
|
5230
|
+
return Ph(s, r, t);
|
|
5215
5231
|
case E.PERIOD:
|
|
5216
|
-
return Bh(s, r, t);
|
|
5217
|
-
case E.NUMERIC_RANGE:
|
|
5218
5232
|
return $h(s, r, t);
|
|
5233
|
+
case E.NUMERIC_RANGE:
|
|
5234
|
+
return jh(s, r, t);
|
|
5219
5235
|
case E.ADVANCED:
|
|
5220
|
-
return
|
|
5236
|
+
return Bh(s, r, t);
|
|
5221
5237
|
case E.INVALID:
|
|
5222
|
-
return
|
|
5238
|
+
return Rr(e, t);
|
|
5223
5239
|
}
|
|
5224
5240
|
} catch (n) {
|
|
5225
5241
|
console.debug("Fall back to generic pass-through JAQL filter due to filter translation error:", n);
|
|
5226
5242
|
}
|
|
5227
|
-
return
|
|
5228
|
-
},
|
|
5243
|
+
return Rr(e, t);
|
|
5244
|
+
}, Uh = (e) => [
|
|
5229
5245
|
"__int4",
|
|
5230
5246
|
"__int8",
|
|
5231
5247
|
"int",
|
|
@@ -5240,7 +5256,7 @@ const jh = (e, t, n) => _t(e, t.from, t.to, { guid: n }), $h = (e, t, n) => pt(e
|
|
|
5240
5256
|
"integer",
|
|
5241
5257
|
"byteint",
|
|
5242
5258
|
"int64"
|
|
5243
|
-
].includes(e.toLowerCase()),
|
|
5259
|
+
].includes(e.toLowerCase()), Wh = (e) => [
|
|
5244
5260
|
"basemeasure",
|
|
5245
5261
|
"calculatedmeasure",
|
|
5246
5262
|
"float",
|
|
@@ -5253,7 +5269,7 @@ const jh = (e, t, n) => _t(e, t.from, t.to, { guid: n }), $h = (e, t, n) => pt(e
|
|
|
5253
5269
|
"real",
|
|
5254
5270
|
"number",
|
|
5255
5271
|
"float64"
|
|
5256
|
-
].includes(e.toLowerCase()),
|
|
5272
|
+
].includes(e.toLowerCase()), hs = (e) => Uh(e) || Wh(e) || e === "numeric-attribute", qh = (e) => [
|
|
5257
5273
|
"textdimension",
|
|
5258
5274
|
"string",
|
|
5259
5275
|
"varchar",
|
|
@@ -5269,7 +5285,7 @@ const jh = (e, t, n) => _t(e, t.from, t.to, { guid: n }), $h = (e, t, n) => pt(e
|
|
|
5269
5285
|
"jsonb",
|
|
5270
5286
|
"object",
|
|
5271
5287
|
"text-attribute"
|
|
5272
|
-
].includes(e.toLowerCase()),
|
|
5288
|
+
].includes(e.toLowerCase()), Cn = (e) => [
|
|
5273
5289
|
"datelevel",
|
|
5274
5290
|
"date",
|
|
5275
5291
|
"time",
|
|
@@ -5288,7 +5304,12 @@ const jh = (e, t, n) => _t(e, t.from, t.to, { guid: n }), $h = (e, t, n) => pt(e
|
|
|
5288
5304
|
"timewithtimezone",
|
|
5289
5305
|
"timestampwithtimezone",
|
|
5290
5306
|
"timestamp_with_timezone"
|
|
5291
|
-
].includes(e.toLowerCase()),
|
|
5307
|
+
].includes(e.toLowerCase()), zh = (e) => ["bool", "boolean", "bit", "logical"].includes(e.toLowerCase()), Hh = (e) => hs(e) ? "number" : Cn(e) ? "datetime" : qh(e) ? "text" : zh(e) ? "boolean" : "text";
|
|
5308
|
+
function kh() {
|
|
5309
|
+
const e = new Uint32Array(1);
|
|
5310
|
+
return crypto.getRandomValues(e), e[0] / 4294967296;
|
|
5311
|
+
}
|
|
5312
|
+
const ps = function(e) {
|
|
5292
5313
|
e || (e = 20);
|
|
5293
5314
|
const t = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""), n = new Array(e);
|
|
5294
5315
|
let r = 0, i;
|
|
@@ -5297,10 +5318,10 @@ const jh = (e, t, n) => _t(e, t.from, t.to, { guid: n }), $h = (e, t, n) => pt(e
|
|
|
5297
5318
|
n[s] = "-";
|
|
5298
5319
|
continue;
|
|
5299
5320
|
}
|
|
5300
|
-
r <= 2 && (r = 33554432 +
|
|
5321
|
+
r <= 2 && (r = 33554432 + kh() * 16777216 | 0), i = r & 15, r = r >> 4, n[s] = t[s == 19 ? i & 3 | 8 : i];
|
|
5301
5322
|
}
|
|
5302
5323
|
return n.join("");
|
|
5303
|
-
},
|
|
5324
|
+
}, ig = (e) => {
|
|
5304
5325
|
if (!e)
|
|
5305
5326
|
return { filters: void 0, relations: void 0 };
|
|
5306
5327
|
if (Array.isArray(e))
|
|
@@ -5316,19 +5337,19 @@ const jh = (e, t, n) => _t(e, t.from, t.to, { guid: n }), $h = (e, t, n) => pt(e
|
|
|
5316
5337
|
function r(a) {
|
|
5317
5338
|
return a && (Gh(a) ? Nt(a) ? n(a.filters) : (t.add(a), { instanceid: a.config.guid }) : ("left" in a && (a.left = r(a.left)), "right" in a && (a.right = r(a.right)), "composeCode" in a && delete a.composeCode, a));
|
|
5318
5339
|
}
|
|
5319
|
-
const i =
|
|
5340
|
+
const i = hi(e), s = r(i);
|
|
5320
5341
|
return { filters: Array.from(t), relations: s };
|
|
5321
5342
|
};
|
|
5322
5343
|
function Gh(e) {
|
|
5323
5344
|
return "config" in e && "guid" in e.config;
|
|
5324
5345
|
}
|
|
5325
|
-
function
|
|
5346
|
+
function sg(e) {
|
|
5326
5347
|
return typeof e == "string" ? e : e.title;
|
|
5327
5348
|
}
|
|
5328
|
-
function
|
|
5349
|
+
function gs(e) {
|
|
5329
5350
|
return typeof e == "object" && "type" in e && "title" in e;
|
|
5330
5351
|
}
|
|
5331
|
-
function
|
|
5352
|
+
function ag(e) {
|
|
5332
5353
|
return {
|
|
5333
5354
|
id: e.id,
|
|
5334
5355
|
address: e.address,
|
|
@@ -5336,8 +5357,8 @@ function sg(e) {
|
|
|
5336
5357
|
type: e.live ? "live" : "elasticube"
|
|
5337
5358
|
};
|
|
5338
5359
|
}
|
|
5339
|
-
function
|
|
5340
|
-
return
|
|
5360
|
+
function ms(e) {
|
|
5361
|
+
return gs(e) ? {
|
|
5341
5362
|
title: e.title,
|
|
5342
5363
|
live: e.type === "live"
|
|
5343
5364
|
} : {
|
|
@@ -5345,9 +5366,9 @@ function bs(e) {
|
|
|
5345
5366
|
live: !1
|
|
5346
5367
|
};
|
|
5347
5368
|
}
|
|
5348
|
-
function
|
|
5369
|
+
function og(e) {
|
|
5349
5370
|
var t;
|
|
5350
|
-
return
|
|
5371
|
+
return gs(e) ? {
|
|
5351
5372
|
title: e.title,
|
|
5352
5373
|
live: e.type === "live",
|
|
5353
5374
|
id: (t = e.id) !== null && t !== void 0 ? t : "",
|
|
@@ -5360,7 +5381,7 @@ function ag(e) {
|
|
|
5360
5381
|
function Vh(e) {
|
|
5361
5382
|
return e ? e === "asc" ? D.Ascending : D.Descending : D.None;
|
|
5362
5383
|
}
|
|
5363
|
-
function
|
|
5384
|
+
function ug(e) {
|
|
5364
5385
|
switch (e) {
|
|
5365
5386
|
case "sortAsc":
|
|
5366
5387
|
return D.Ascending;
|
|
@@ -5371,9 +5392,9 @@ function og(e) {
|
|
|
5371
5392
|
}
|
|
5372
5393
|
}
|
|
5373
5394
|
const Qh = (e, t, n = !1, r = !1) => {
|
|
5374
|
-
const i = e.filter.filter && !("turnedOff" in e.filter.filter), s = t ||
|
|
5395
|
+
const i = e.filter.filter && !("turnedOff" in e.filter.filter), s = t || ps(), a = Lr(e, s);
|
|
5375
5396
|
if (i) {
|
|
5376
|
-
const o =
|
|
5397
|
+
const o = Lr(Object.assign(Object.assign({}, e), { filter: e.filter.filter }), `${t}-bg`), u = a.config;
|
|
5377
5398
|
return a.config = Object.assign(Object.assign({}, u), { backgroundFilter: o }), a;
|
|
5378
5399
|
}
|
|
5379
5400
|
return a.config = Object.assign(Object.assign({}, a.config), { originalFilterJaql: e, disabled: n, locked: r }), a;
|
|
@@ -5385,13 +5406,13 @@ function Ee(e) {
|
|
|
5385
5406
|
column: n ? n.replace("(Calendar)", "").trim() : ""
|
|
5386
5407
|
};
|
|
5387
5408
|
}
|
|
5388
|
-
function
|
|
5409
|
+
function lg(e) {
|
|
5389
5410
|
return Ee(e.expression).table;
|
|
5390
5411
|
}
|
|
5391
|
-
function
|
|
5412
|
+
function cg(e) {
|
|
5392
5413
|
return Ee(e.expression).column;
|
|
5393
5414
|
}
|
|
5394
|
-
function
|
|
5415
|
+
function dg(e) {
|
|
5395
5416
|
switch (e) {
|
|
5396
5417
|
case Fe.ASC:
|
|
5397
5418
|
return "sortAsc";
|
|
@@ -5401,14 +5422,14 @@ function cg(e) {
|
|
|
5401
5422
|
return "sortNone";
|
|
5402
5423
|
}
|
|
5403
5424
|
}
|
|
5404
|
-
const
|
|
5425
|
+
const _n = ({ expression: e, dataType: t, granularity: n, format: r, sort: i, title: s, panel: a, dataSource: o }) => {
|
|
5405
5426
|
const u = Ee(e).column, l = Vh(i);
|
|
5406
|
-
if (t !== void 0 &&
|
|
5427
|
+
if (t !== void 0 && Cn(t))
|
|
5407
5428
|
return new Y(s != null ? s : u, e, n || h.Years, r || Y.getDefaultFormatForGranularity(n || h.Years), void 0, l, o, void 0, a);
|
|
5408
|
-
const f = !t ||
|
|
5429
|
+
const f = !t || hs(t) ? w.NumericAttribute : w.TextAttribute;
|
|
5409
5430
|
return new Qe(s != null ? s : u, e, f, void 0, l, o, void 0, a);
|
|
5410
|
-
},
|
|
5411
|
-
const u =
|
|
5431
|
+
}, Mn = ({ expression: e, dataType: t, agg: n, granularity: r, format: i, sort: s, title: a, dataSource: o }) => {
|
|
5432
|
+
const u = _n({
|
|
5412
5433
|
expression: e,
|
|
5413
5434
|
dataType: t,
|
|
5414
5435
|
granularity: r,
|
|
@@ -5421,17 +5442,17 @@ const Mn = ({ expression: e, dataType: t, granularity: n, format: r, sort: i, ti
|
|
|
5421
5442
|
case A.Sum:
|
|
5422
5443
|
return ht(u, f, i);
|
|
5423
5444
|
case A.Average:
|
|
5424
|
-
return
|
|
5445
|
+
return Fi(u, f, i);
|
|
5425
5446
|
case A.Min:
|
|
5426
|
-
return
|
|
5447
|
+
return vn(u, f, i);
|
|
5427
5448
|
case A.Max:
|
|
5428
|
-
return
|
|
5449
|
+
return Sn(u, f, i);
|
|
5429
5450
|
case A.Count:
|
|
5430
|
-
return
|
|
5451
|
+
return An(u, f, i);
|
|
5431
5452
|
case A.CountDistinct:
|
|
5432
|
-
return
|
|
5453
|
+
return wn(u, f, i);
|
|
5433
5454
|
case A.Median:
|
|
5434
|
-
return
|
|
5455
|
+
return Tn(u, f, i);
|
|
5435
5456
|
case A.Variance:
|
|
5436
5457
|
return k(u, A.Variance, f, i);
|
|
5437
5458
|
case A.StandardDeviation:
|
|
@@ -5439,18 +5460,18 @@ const Mn = ({ expression: e, dataType: t, granularity: n, format: r, sort: i, ti
|
|
|
5439
5460
|
default:
|
|
5440
5461
|
return ht(u, f, i);
|
|
5441
5462
|
}
|
|
5442
|
-
},
|
|
5463
|
+
}, bs = (e) => {
|
|
5443
5464
|
var t;
|
|
5444
|
-
const n =
|
|
5445
|
-
return
|
|
5465
|
+
const n = Kc((t = e.context) !== null && t !== void 0 ? t : {}, (r) => typeof r == "string" ? r : r && Kh(r));
|
|
5466
|
+
return Ri(e.title, e.formula, n);
|
|
5446
5467
|
};
|
|
5447
5468
|
function Kh(e, t, n) {
|
|
5448
5469
|
if ("filter" in e)
|
|
5449
5470
|
return Qh(e);
|
|
5450
5471
|
if ("formula" in e)
|
|
5451
|
-
return
|
|
5472
|
+
return bs(e);
|
|
5452
5473
|
const s = "datasource" in e ? e.datasource : void 0;
|
|
5453
|
-
return e.agg ?
|
|
5474
|
+
return e.agg ? Mn({
|
|
5454
5475
|
expression: e.dim,
|
|
5455
5476
|
dataType: e.datatype,
|
|
5456
5477
|
agg: e.agg || "",
|
|
@@ -5459,7 +5480,7 @@ function Kh(e, t, n) {
|
|
|
5459
5480
|
sort: e.sort,
|
|
5460
5481
|
title: e.title,
|
|
5461
5482
|
dataSource: s
|
|
5462
|
-
}) :
|
|
5483
|
+
}) : _n({
|
|
5463
5484
|
expression: e.dim,
|
|
5464
5485
|
dataType: e.datatype,
|
|
5465
5486
|
granularity: qe(e),
|
|
@@ -5471,14 +5492,14 @@ function Kh(e, t, n) {
|
|
|
5471
5492
|
});
|
|
5472
5493
|
}
|
|
5473
5494
|
function qe(e) {
|
|
5474
|
-
return e != null && e.datatype &&
|
|
5495
|
+
return e != null && e.datatype && Cn(e.datatype) ? Y.translateJaqlToGranularity(e) : void 0;
|
|
5475
5496
|
}
|
|
5476
|
-
const
|
|
5477
|
-
class Qe extends
|
|
5497
|
+
const ys = (e) => Hh(e).replace("number", "numeric");
|
|
5498
|
+
class Qe extends yn {
|
|
5478
5499
|
constructor(t, n, r, i, s, a, o, u) {
|
|
5479
5500
|
if (super(t, r || w.Attribute, i, a, o), this.__serializable = "DimensionalAttribute", this._sort = D.None, this.expression = n, !o && n) {
|
|
5480
5501
|
const { table: l, column: d } = Ee(n);
|
|
5481
|
-
this.composeCode =
|
|
5502
|
+
this.composeCode = vs(l, d, "", _i);
|
|
5482
5503
|
}
|
|
5483
5504
|
u === "columns" && (this.panel = u), this._sort = s || D.None;
|
|
5484
5505
|
}
|
|
@@ -5515,7 +5536,7 @@ class Qe extends vn {
|
|
|
5515
5536
|
jaql: {
|
|
5516
5537
|
title: this.name,
|
|
5517
5538
|
dim: this.expression,
|
|
5518
|
-
datatype:
|
|
5539
|
+
datatype: ys(this.type)
|
|
5519
5540
|
}
|
|
5520
5541
|
};
|
|
5521
5542
|
return this.panel && (n.panel = this.panel), this._sort != D.None && (n.jaql.sort = this._sort == D.Ascending ? "asc" : "desc"), t === !0 ? n.jaql : n;
|
|
@@ -5528,12 +5549,12 @@ class Qe extends vn {
|
|
|
5528
5549
|
return t.expression = this.expression, this.getSort() !== D.None && (t.sort = this.getSort()), t;
|
|
5529
5550
|
}
|
|
5530
5551
|
}
|
|
5531
|
-
const
|
|
5552
|
+
const fg = (e) => !!(e && e.__serializable === "DimensionalAttribute");
|
|
5532
5553
|
class Y extends Qe {
|
|
5533
5554
|
constructor(t, n, r, i, s, a, o, u, l) {
|
|
5534
5555
|
if (super(t, n, w.DateLevel, s, a, o, u), this.__serializable = "DimensionalLevelAttribute", this._format = i, this.granularity = r, !u && n) {
|
|
5535
5556
|
const { table: d, column: f } = Ee(n);
|
|
5536
|
-
this.composeCode =
|
|
5557
|
+
this.composeCode = vs(d, f, r, _i);
|
|
5537
5558
|
}
|
|
5538
5559
|
l === "columns" && (this.panel = l);
|
|
5539
5560
|
}
|
|
@@ -5602,7 +5623,7 @@ class Y extends Qe {
|
|
|
5602
5623
|
*/
|
|
5603
5624
|
jaql(t) {
|
|
5604
5625
|
const n = {
|
|
5605
|
-
jaql: Object.assign({ title: this.name, dim: this.expression, datatype:
|
|
5626
|
+
jaql: Object.assign({ title: this.name, dim: this.expression, datatype: ys(this.type) }, this.translateGranularityToJaql())
|
|
5606
5627
|
};
|
|
5607
5628
|
if (this.panel && (n.panel = this.panel), this._format !== void 0) {
|
|
5608
5629
|
const r = n.jaql.dateTimeLevel || n.jaql.level;
|
|
@@ -5754,52 +5775,52 @@ class Y extends Qe {
|
|
|
5754
5775
|
}
|
|
5755
5776
|
}
|
|
5756
5777
|
}
|
|
5757
|
-
const
|
|
5758
|
-
function
|
|
5778
|
+
const hg = (e) => !!(e && e.__serializable === "DimensionalLevelAttribute");
|
|
5779
|
+
function pg(e) {
|
|
5759
5780
|
return e.granularity ? Jh(e) : new Qe(e.name || e.title, e.attribute || e.expression || e.dim, e.type, e.desc || e.description, e.sort, e.dataSource);
|
|
5760
5781
|
}
|
|
5761
5782
|
function Jh(e) {
|
|
5762
5783
|
return new Y(e.name || e.title, e.attribute || e.expression || e.dim, e.granularity, e.format, e.desc || e.description, e.sort, e.dataSource);
|
|
5763
5784
|
}
|
|
5764
|
-
function
|
|
5785
|
+
function vs(e, t, n, r) {
|
|
5765
5786
|
return (r.length > 0 ? r + "." : "") + be(e) + "." + be(t) + (n && n.length > 0 ? "." + n : "");
|
|
5766
5787
|
}
|
|
5767
|
-
function
|
|
5788
|
+
function gg(e) {
|
|
5768
5789
|
return "granularity" in e;
|
|
5769
5790
|
}
|
|
5770
|
-
function
|
|
5791
|
+
function Yh(e) {
|
|
5771
5792
|
return "attribute" in e;
|
|
5772
5793
|
}
|
|
5773
|
-
function
|
|
5794
|
+
function Xh(e) {
|
|
5774
5795
|
return "measure" in e;
|
|
5775
5796
|
}
|
|
5776
|
-
const
|
|
5797
|
+
const Zh = {
|
|
5777
5798
|
rows: !1,
|
|
5778
5799
|
columns: !1
|
|
5779
5800
|
};
|
|
5780
|
-
function
|
|
5801
|
+
function Jt(e) {
|
|
5781
5802
|
return !!e && "operator" in e && (e.operator === "AND" || e.operator === "OR") && !!e.right && !!e.left;
|
|
5782
5803
|
}
|
|
5783
|
-
function
|
|
5784
|
-
if (!
|
|
5785
|
-
return
|
|
5786
|
-
const { filters: n, relations: r } =
|
|
5787
|
-
return
|
|
5804
|
+
function mg(e = [], t = []) {
|
|
5805
|
+
if (!Jt(e) && !Jt(t))
|
|
5806
|
+
return Ir(e, t);
|
|
5807
|
+
const { filters: n, relations: r } = Ss(e), i = ep(t), s = Ir(n, i), a = np(n, r, s);
|
|
5808
|
+
return tp(s, a);
|
|
5788
5809
|
}
|
|
5789
|
-
function
|
|
5810
|
+
function Ss(e) {
|
|
5790
5811
|
if (!e)
|
|
5791
5812
|
return { filters: [], relations: null };
|
|
5792
5813
|
if (j(e))
|
|
5793
5814
|
return { filters: e, relations: null };
|
|
5794
5815
|
const t = /* @__PURE__ */ new Set();
|
|
5795
5816
|
function n(i) {
|
|
5796
|
-
if (
|
|
5817
|
+
if (As(i))
|
|
5797
5818
|
return t.add(i), { instanceid: i.config.guid };
|
|
5798
|
-
if (
|
|
5819
|
+
if (Jt(i)) {
|
|
5799
5820
|
const s = n(i.left), a = n(i.right);
|
|
5800
5821
|
return { left: s, right: a, operator: i.operator };
|
|
5801
5822
|
}
|
|
5802
|
-
throw new
|
|
5823
|
+
throw new Ln();
|
|
5803
5824
|
}
|
|
5804
5825
|
const r = n(e);
|
|
5805
5826
|
return {
|
|
@@ -5807,99 +5828,99 @@ function Ts(e) {
|
|
|
5807
5828
|
relations: r
|
|
5808
5829
|
};
|
|
5809
5830
|
}
|
|
5810
|
-
function
|
|
5811
|
-
return e ?
|
|
5831
|
+
function ep(e) {
|
|
5832
|
+
return e ? Ss(e).filters : [];
|
|
5812
5833
|
}
|
|
5813
|
-
function
|
|
5814
|
-
if (!t ||
|
|
5834
|
+
function tp(e, t) {
|
|
5835
|
+
if (!t || Ts(t))
|
|
5815
5836
|
return e;
|
|
5816
5837
|
const n = r(t);
|
|
5817
|
-
return
|
|
5838
|
+
return As(n) ? [n] : n;
|
|
5818
5839
|
function r(i) {
|
|
5819
|
-
if (
|
|
5840
|
+
if (Dn(i))
|
|
5820
5841
|
return e.find((s) => s.config.guid === i.instanceid);
|
|
5821
|
-
if (
|
|
5842
|
+
if (Rn(i))
|
|
5822
5843
|
return (i.operator === "AND" ? ve.and : ve.or)(r(i.left), r(i.right));
|
|
5823
|
-
throw new
|
|
5844
|
+
throw new Ln();
|
|
5824
5845
|
}
|
|
5825
5846
|
}
|
|
5826
|
-
function
|
|
5847
|
+
function Ts(e) {
|
|
5827
5848
|
return !!e && "instanceid" in e;
|
|
5828
5849
|
}
|
|
5829
|
-
function
|
|
5850
|
+
function np(e, t, n) {
|
|
5830
5851
|
if (t === null)
|
|
5831
5852
|
return null;
|
|
5832
|
-
const r =
|
|
5853
|
+
const r = rp(e, n);
|
|
5833
5854
|
return r.length === 0 ? t : r.reduce((i, s) => {
|
|
5834
5855
|
switch (s.type) {
|
|
5835
5856
|
case "add":
|
|
5836
|
-
return
|
|
5857
|
+
return ip(s.payload, i);
|
|
5837
5858
|
case "remove":
|
|
5838
|
-
return
|
|
5859
|
+
return Yt(s.payload, i);
|
|
5839
5860
|
}
|
|
5840
5861
|
}, t);
|
|
5841
5862
|
}
|
|
5842
|
-
function
|
|
5863
|
+
function Fr(e, t) {
|
|
5843
5864
|
return e.config.guid === t.config.guid;
|
|
5844
5865
|
}
|
|
5845
|
-
function
|
|
5866
|
+
function bg(e, t, n) {
|
|
5846
5867
|
if (!e)
|
|
5847
5868
|
return null;
|
|
5848
5869
|
return i(e);
|
|
5849
5870
|
function i(s) {
|
|
5850
|
-
if (
|
|
5871
|
+
if (Dn(s))
|
|
5851
5872
|
return s.instanceid === t.config.guid ? { instanceid: n.config.guid } : s;
|
|
5852
|
-
if (
|
|
5873
|
+
if (Rn(s))
|
|
5853
5874
|
return {
|
|
5854
5875
|
left: i(s.left),
|
|
5855
5876
|
right: i(s.right),
|
|
5856
5877
|
operator: s.operator
|
|
5857
5878
|
};
|
|
5858
|
-
throw new
|
|
5879
|
+
throw new Ln();
|
|
5859
5880
|
}
|
|
5860
5881
|
}
|
|
5861
|
-
function
|
|
5882
|
+
function rp(e, t) {
|
|
5862
5883
|
const n = [], r = [...e], i = [...t];
|
|
5863
5884
|
return r.forEach((s) => {
|
|
5864
|
-
i.some((o) =>
|
|
5885
|
+
i.some((o) => Fr(s, o)) || n.push({ type: "remove", payload: s });
|
|
5865
5886
|
}), i.forEach((s) => {
|
|
5866
|
-
r.some((o) =>
|
|
5887
|
+
r.some((o) => Fr(s, o)) || n.push({ type: "add", payload: s });
|
|
5867
5888
|
}), n;
|
|
5868
5889
|
}
|
|
5869
|
-
function
|
|
5890
|
+
function ip(e, t) {
|
|
5870
5891
|
return t ? {
|
|
5871
5892
|
left: t,
|
|
5872
5893
|
right: { instanceid: e.config.guid },
|
|
5873
5894
|
operator: "AND"
|
|
5874
5895
|
} : { instanceid: e.config.guid };
|
|
5875
5896
|
}
|
|
5876
|
-
function
|
|
5897
|
+
function Yt(e, t) {
|
|
5877
5898
|
if (!t)
|
|
5878
5899
|
return null;
|
|
5879
|
-
if (
|
|
5900
|
+
if (Ts(t))
|
|
5880
5901
|
return t.instanceid === e.config.guid ? null : t;
|
|
5881
|
-
const n =
|
|
5902
|
+
const n = Yt(e, t.left), r = Yt(e, t.right);
|
|
5882
5903
|
return n === null && r ? r : r === null && n ? n : n === null && r === null ? null : {
|
|
5883
5904
|
left: n,
|
|
5884
5905
|
right: r,
|
|
5885
5906
|
operator: t.operator
|
|
5886
5907
|
};
|
|
5887
5908
|
}
|
|
5888
|
-
function
|
|
5909
|
+
function yg(e, t) {
|
|
5889
5910
|
if (!e)
|
|
5890
5911
|
return null;
|
|
5891
5912
|
function n(r) {
|
|
5892
|
-
if (ip(r))
|
|
5893
|
-
return { instanceid: r.instanceId };
|
|
5894
5913
|
if (sp(r))
|
|
5895
|
-
return
|
|
5914
|
+
return { instanceid: r.instanceId };
|
|
5896
5915
|
if (ap(r))
|
|
5916
|
+
return n(r.value);
|
|
5917
|
+
if (op(r))
|
|
5897
5918
|
return {
|
|
5898
5919
|
operator: r.operator,
|
|
5899
5920
|
left: n(r.left),
|
|
5900
5921
|
right: n(r.right)
|
|
5901
5922
|
};
|
|
5902
|
-
if (
|
|
5923
|
+
if (up(r)) {
|
|
5903
5924
|
const i = t.find((s) => {
|
|
5904
5925
|
if (!Nt(s))
|
|
5905
5926
|
return !1;
|
|
@@ -5914,32 +5935,32 @@ function bg(e, t) {
|
|
|
5914
5935
|
}
|
|
5915
5936
|
return n(e);
|
|
5916
5937
|
}
|
|
5917
|
-
function
|
|
5938
|
+
function sp(e) {
|
|
5918
5939
|
return "instanceId" in e;
|
|
5919
5940
|
}
|
|
5920
|
-
function
|
|
5941
|
+
function ap(e) {
|
|
5921
5942
|
return "value" in e;
|
|
5922
5943
|
}
|
|
5923
|
-
function
|
|
5944
|
+
function op(e) {
|
|
5924
5945
|
return "operator" in e;
|
|
5925
5946
|
}
|
|
5926
|
-
function
|
|
5947
|
+
function up(e) {
|
|
5927
5948
|
return "levels" in e && j(e.levels);
|
|
5928
5949
|
}
|
|
5929
|
-
function
|
|
5950
|
+
function Dn(e) {
|
|
5930
5951
|
return "instanceid" in e;
|
|
5931
5952
|
}
|
|
5932
|
-
function
|
|
5953
|
+
function Rn(e) {
|
|
5933
5954
|
return "operator" in e;
|
|
5934
5955
|
}
|
|
5935
|
-
function
|
|
5956
|
+
function As(e) {
|
|
5936
5957
|
return "config" in e && "guid" in e.config;
|
|
5937
5958
|
}
|
|
5938
|
-
function
|
|
5959
|
+
function vg(e, t) {
|
|
5939
5960
|
if (!e)
|
|
5940
5961
|
return;
|
|
5941
5962
|
function n(r) {
|
|
5942
|
-
if (
|
|
5963
|
+
if (Dn(r)) {
|
|
5943
5964
|
const i = t.find((s) => s.config.guid === r.instanceid);
|
|
5944
5965
|
return i && Nt(i) ? {
|
|
5945
5966
|
type: "CascadingIdentifier",
|
|
@@ -5952,7 +5973,7 @@ function yg(e, t) {
|
|
|
5952
5973
|
instanceId: r.instanceid
|
|
5953
5974
|
};
|
|
5954
5975
|
} else {
|
|
5955
|
-
if (
|
|
5976
|
+
if (Rn(r))
|
|
5956
5977
|
return {
|
|
5957
5978
|
type: "LogicalExpression",
|
|
5958
5979
|
operator: r.operator,
|
|
@@ -5964,43 +5985,43 @@ function yg(e, t) {
|
|
|
5964
5985
|
}
|
|
5965
5986
|
return n(e);
|
|
5966
5987
|
}
|
|
5967
|
-
function
|
|
5988
|
+
function Sg(e, t) {
|
|
5968
5989
|
return e.find((n) => n.config.guid === t);
|
|
5969
5990
|
}
|
|
5970
|
-
class
|
|
5991
|
+
class Ln extends Error {
|
|
5971
5992
|
constructor() {
|
|
5972
5993
|
super("Broken filter relations. Unknown node type.");
|
|
5973
5994
|
}
|
|
5974
5995
|
}
|
|
5975
|
-
function
|
|
5996
|
+
function Tg(e) {
|
|
5976
5997
|
return e.nodeType === "openBracket";
|
|
5977
5998
|
}
|
|
5978
|
-
function
|
|
5999
|
+
function Ag(e) {
|
|
5979
6000
|
return e.nodeType === "closeBracket";
|
|
5980
6001
|
}
|
|
5981
|
-
function
|
|
6002
|
+
function wg(e) {
|
|
5982
6003
|
return e.nodeType === "attribute";
|
|
5983
6004
|
}
|
|
5984
|
-
function
|
|
6005
|
+
function xg(e) {
|
|
5985
6006
|
return e.nodeType === "operator";
|
|
5986
6007
|
}
|
|
5987
|
-
function
|
|
6008
|
+
function Xt(e) {
|
|
5988
6009
|
if (Nt(e))
|
|
5989
|
-
return e.filters.map(
|
|
6010
|
+
return e.filters.map(Xt).join("-");
|
|
5990
6011
|
const { attribute: t } = e, n = e.jaql().jaql, r = t.expression || n.dim, i = t.granularity || ((n == null ? void 0 : n.datatype) === "datetime" ? Y.translateJaqlToGranularity(n) : "");
|
|
5991
6012
|
return `${r}${i}`;
|
|
5992
6013
|
}
|
|
5993
|
-
function
|
|
6014
|
+
function Ir(e = [], t = []) {
|
|
5994
6015
|
const n = [...e];
|
|
5995
6016
|
return t.forEach((r) => {
|
|
5996
|
-
const i = n.findIndex((a) =>
|
|
6017
|
+
const i = n.findIndex((a) => Xt(r) === Xt(a));
|
|
5997
6018
|
i !== -1 ? n[i] = r : n.push(r);
|
|
5998
6019
|
}), n;
|
|
5999
6020
|
}
|
|
6000
|
-
function
|
|
6021
|
+
function Eg(e) {
|
|
6001
6022
|
if (!e)
|
|
6002
6023
|
return e;
|
|
6003
|
-
const t =
|
|
6024
|
+
const t = hi(e);
|
|
6004
6025
|
function n(r) {
|
|
6005
6026
|
if ("instanceId" in r)
|
|
6006
6027
|
return { instanceid: r.instanceId };
|
|
@@ -6014,7 +6035,7 @@ function xg(e) {
|
|
|
6014
6035
|
}
|
|
6015
6036
|
return n(t);
|
|
6016
6037
|
}
|
|
6017
|
-
const
|
|
6038
|
+
const Pr = (e) => {
|
|
6018
6039
|
if (typeof e == "object" && e !== null) {
|
|
6019
6040
|
if (typeof Object.getPrototypeOf == "function") {
|
|
6020
6041
|
const t = Object.getPrototypeOf(e);
|
|
@@ -6027,58 +6048,58 @@ const jr = (e) => {
|
|
|
6027
6048
|
if (Array.isArray(n))
|
|
6028
6049
|
throw new TypeError("Arguments provided to ts-deepmerge must be objects, not arrays.");
|
|
6029
6050
|
return Object.keys(n).forEach((r) => {
|
|
6030
|
-
["__proto__", "constructor", "prototype"].includes(r) || (Array.isArray(t[r]) && Array.isArray(n[r]) ? t[r] = se.options.mergeArrays ? Array.from(new Set(t[r].concat(n[r]))) : n[r] :
|
|
6051
|
+
["__proto__", "constructor", "prototype"].includes(r) || (Array.isArray(t[r]) && Array.isArray(n[r]) ? t[r] = se.options.mergeArrays ? Array.from(new Set(t[r].concat(n[r]))) : n[r] : Pr(t[r]) && Pr(n[r]) ? t[r] = se(t[r], n[r]) : t[r] = n[r]);
|
|
6031
6052
|
}), t;
|
|
6032
|
-
}, {}),
|
|
6053
|
+
}, {}), ws = {
|
|
6033
6054
|
mergeArrays: !0
|
|
6034
6055
|
};
|
|
6035
|
-
se.options =
|
|
6056
|
+
se.options = ws;
|
|
6036
6057
|
se.withOptions = (e, ...t) => {
|
|
6037
6058
|
se.options = Object.assign({ mergeArrays: !0 }, e);
|
|
6038
6059
|
const n = se(...t);
|
|
6039
|
-
return se.options =
|
|
6060
|
+
return se.options = ws, n;
|
|
6040
6061
|
};
|
|
6041
6062
|
let Ze;
|
|
6042
|
-
const
|
|
6043
|
-
function
|
|
6063
|
+
const lp = new Uint8Array(16);
|
|
6064
|
+
function cp() {
|
|
6044
6065
|
if (!Ze && (Ze = typeof crypto != "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Ze))
|
|
6045
6066
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
6046
|
-
return Ze(
|
|
6067
|
+
return Ze(lp);
|
|
6047
6068
|
}
|
|
6048
6069
|
const F = [];
|
|
6049
6070
|
for (let e = 0; e < 256; ++e)
|
|
6050
6071
|
F.push((e + 256).toString(16).slice(1));
|
|
6051
|
-
function
|
|
6072
|
+
function dp(e, t = 0) {
|
|
6052
6073
|
return F[e[t + 0]] + F[e[t + 1]] + F[e[t + 2]] + F[e[t + 3]] + "-" + F[e[t + 4]] + F[e[t + 5]] + "-" + F[e[t + 6]] + F[e[t + 7]] + "-" + F[e[t + 8]] + F[e[t + 9]] + "-" + F[e[t + 10]] + F[e[t + 11]] + F[e[t + 12]] + F[e[t + 13]] + F[e[t + 14]] + F[e[t + 15]];
|
|
6053
6074
|
}
|
|
6054
|
-
const
|
|
6055
|
-
randomUUID:
|
|
6075
|
+
const fp = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), jr = {
|
|
6076
|
+
randomUUID: fp
|
|
6056
6077
|
};
|
|
6057
|
-
function
|
|
6058
|
-
if (
|
|
6059
|
-
return
|
|
6078
|
+
function xs(e, t, n) {
|
|
6079
|
+
if (jr.randomUUID && !t && !e)
|
|
6080
|
+
return jr.randomUUID();
|
|
6060
6081
|
e = e || {};
|
|
6061
|
-
const r = e.random || (e.rng ||
|
|
6062
|
-
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128,
|
|
6082
|
+
const r = e.random || (e.rng || cp)();
|
|
6083
|
+
return r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, dp(r);
|
|
6063
6084
|
}
|
|
6064
|
-
function
|
|
6065
|
-
const n = t == null ? void 0 : t.find((r) =>
|
|
6085
|
+
function hp(e, t) {
|
|
6086
|
+
const n = t == null ? void 0 : t.find((r) => Es(e) === r.attribute.id);
|
|
6066
6087
|
return n && !n.config.disabled && (n.isScope && (n.isScope = !1), e.jaql.in = {
|
|
6067
6088
|
selected: n.jaql()
|
|
6068
6089
|
}), e;
|
|
6069
6090
|
}
|
|
6070
|
-
function
|
|
6091
|
+
function pp(e, t) {
|
|
6071
6092
|
const n = [], r = [];
|
|
6072
6093
|
return t.forEach((i) => {
|
|
6073
|
-
e.some((a) =>
|
|
6094
|
+
e.some((a) => Es(a) === i.attribute.id) ? n.push(i) : r.push(i);
|
|
6074
6095
|
}), [n, r];
|
|
6075
6096
|
}
|
|
6076
|
-
function
|
|
6097
|
+
function Es(e) {
|
|
6077
6098
|
const { dim: t, level: n, dateTimeLevel: r, bucket: i } = e.jaql;
|
|
6078
6099
|
let s = `${t}`;
|
|
6079
6100
|
return (n || r) && (s += `_${n || r}`), i && (s += `_${i}`), s;
|
|
6080
6101
|
}
|
|
6081
|
-
var
|
|
6102
|
+
var gp = function(e, t) {
|
|
6082
6103
|
var n = {};
|
|
6083
6104
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
6084
6105
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -6086,14 +6107,14 @@ var pp = function(e, t) {
|
|
|
6086
6107
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
6087
6108
|
return n;
|
|
6088
6109
|
};
|
|
6089
|
-
function
|
|
6110
|
+
function mp(e, t, n) {
|
|
6090
6111
|
return {
|
|
6091
6112
|
rowsCount: e.length,
|
|
6092
6113
|
columnsCount: t.length,
|
|
6093
6114
|
measuresCount: n.length
|
|
6094
6115
|
};
|
|
6095
6116
|
}
|
|
6096
|
-
function
|
|
6117
|
+
function bp(e) {
|
|
6097
6118
|
switch (e) {
|
|
6098
6119
|
case "sortAsc":
|
|
6099
6120
|
return "asc";
|
|
@@ -6103,8 +6124,8 @@ function mp(e) {
|
|
|
6103
6124
|
return "none";
|
|
6104
6125
|
}
|
|
6105
6126
|
}
|
|
6106
|
-
function
|
|
6107
|
-
const r =
|
|
6127
|
+
function yp(e, t, n) {
|
|
6128
|
+
const r = bp(e.direction), i = t === n.rowsCount - 1, s = {
|
|
6108
6129
|
dir: r,
|
|
6109
6130
|
initialized: !0,
|
|
6110
6131
|
field: e.by && "valuesIndex" in e.by ? n.rowsCount + n.columnsCount + e.by.valuesIndex : t
|
|
@@ -6114,30 +6135,30 @@ function bp(e, t, n) {
|
|
|
6114
6135
|
sortDetails: s
|
|
6115
6136
|
};
|
|
6116
6137
|
}
|
|
6117
|
-
function
|
|
6138
|
+
function vp(e, t) {
|
|
6118
6139
|
if (t.rowsCount === 0)
|
|
6119
6140
|
return;
|
|
6120
|
-
const n = t.rowsCount - 1, r = e[n], i = r.jaql, { sortDetails: s, sort: a } = i, o =
|
|
6141
|
+
const n = t.rowsCount - 1, r = e[n], i = r.jaql, { sortDetails: s, sort: a } = i, o = gp(i, ["sortDetails", "sort"]);
|
|
6121
6142
|
if (s && s.field !== n && s.field < e.length) {
|
|
6122
6143
|
const l = e[s.field];
|
|
6123
6144
|
l.jaql.sortDetails = s, l.jaql.sort = a, r.jaql = o;
|
|
6124
6145
|
}
|
|
6125
6146
|
}
|
|
6126
6147
|
const it = "ComposeSDK";
|
|
6127
|
-
function
|
|
6128
|
-
const { attributes: n, measures: r, filters: i, filterRelations: s, highlights: a, dataSource: o, count: u, offset: l, ungroup: d } = e, f = d && r.length === 0, c = Object.assign({ metadata:
|
|
6148
|
+
function Sp(e, t) {
|
|
6149
|
+
const { attributes: n, measures: r, filters: i, filterRelations: s, highlights: a, dataSource: o, count: u, offset: l, ungroup: d } = e, f = d && r.length === 0, c = Object.assign({ metadata: Ap({ attributes: n, measures: r, filters: i, filterRelations: s, highlights: a }, t) }, wp(o, u, l, f));
|
|
6129
6150
|
return s ? Object.assign(Object.assign({}, c), { filterRelations: s }) : c;
|
|
6130
6151
|
}
|
|
6131
|
-
function
|
|
6132
|
-
const [s, a] =
|
|
6133
|
-
e.forEach((l) =>
|
|
6152
|
+
function Os(e, t, n, r, i) {
|
|
6153
|
+
const [s, a] = pp(e, r);
|
|
6154
|
+
e.forEach((l) => hp(l, s));
|
|
6134
6155
|
const o = (l) => {
|
|
6135
6156
|
const d = l.jaql();
|
|
6136
6157
|
return n ? Array.isArray(d) ? d.map((f) => Object.assign(Object.assign({}, f), { instanceid: l.config.guid })) : Object.assign(Object.assign({}, d), { instanceid: l.config.guid }) : d;
|
|
6137
6158
|
}, u = (i ? t.flatMap((l) => o(l)) : [...t, ...a].flatMap((l) => o(l))).filter((l) => Object.keys(l.jaql.filter || {}).length !== 0);
|
|
6138
6159
|
return i && a.length > 0 && console.warn(`The following highlight filters were not applied due to missing attributes: [${a.map((l) => l.attribute.name).join(", ")}].`), u;
|
|
6139
6160
|
}
|
|
6140
|
-
function
|
|
6161
|
+
function Tp(e) {
|
|
6141
6162
|
var t, n;
|
|
6142
6163
|
const r = (t = e.jaql) === null || t === void 0 ? void 0 : t.formula;
|
|
6143
6164
|
if (!r || !r.includes("trend") && !r.includes("forecast"))
|
|
@@ -6150,69 +6171,82 @@ function Sp(e) {
|
|
|
6150
6171
|
}
|
|
6151
6172
|
return i;
|
|
6152
6173
|
}
|
|
6153
|
-
function
|
|
6154
|
-
const { attributes: n, measures: r, filters: i, filterRelations: s, highlights: a } = e, o = n.map((d) => d.jaql()), u = r.map((d) =>
|
|
6174
|
+
function Ap(e, t) {
|
|
6175
|
+
const { attributes: n, measures: r, filters: i, filterRelations: s, highlights: a } = e, o = n.map((d) => d.jaql()), u = r.map((d) => Tp(d.jaql())), l = Os(o, i, s, a, t);
|
|
6155
6176
|
return [...o, ...u, ...l];
|
|
6156
6177
|
}
|
|
6157
|
-
function
|
|
6158
|
-
return Object.assign(Object.assign(Object.assign({ datasource:
|
|
6178
|
+
function wp(e, t, n, r) {
|
|
6179
|
+
return Object.assign(Object.assign(Object.assign({ datasource: ms(e), by: it, queryGuid: xs() }, r ? { ungroup: !0 } : {}), t ? { count: t } : {}), n ? { offset: n } : {});
|
|
6159
6180
|
}
|
|
6160
|
-
function
|
|
6161
|
-
const { rowsAttributes: n, columnsAttributes: r, measures: i, filters: s, filterRelations: a, grandTotals: o, highlights: u, dataSource: l, count: d, offset: f } = e, c = Object.assign({ metadata:
|
|
6181
|
+
function Og(e, t) {
|
|
6182
|
+
const { rowsAttributes: n, columnsAttributes: r, measures: i, filters: s, filterRelations: a, grandTotals: o, highlights: u, dataSource: l, count: d, offset: f } = e, c = Object.assign({ metadata: Ep({ rowsAttributes: n, columnsAttributes: r, measures: i, filters: s, highlights: u, filterRelations: a }, t) }, Op(l, o, d, f));
|
|
6162
6183
|
return a ? Object.assign(Object.assign({}, c), { filterRelations: a }) : c;
|
|
6163
6184
|
}
|
|
6164
|
-
function
|
|
6165
|
-
|
|
6166
|
-
|
|
6185
|
+
function $r(e, t, n, r) {
|
|
6186
|
+
if (Yh(e)) {
|
|
6187
|
+
const i = t === "rows" && e.sort && e.sort.direction !== "sortNone", s = Object.assign(Object.assign({}, e.attribute.jaql(!0)), i ? yp(e.sort, n, r) : {});
|
|
6188
|
+
e.name && (s.title = e.name);
|
|
6189
|
+
const a = {
|
|
6190
|
+
jaql: s,
|
|
6191
|
+
panel: t,
|
|
6192
|
+
field: { index: n, id: `${t}-${n}` }
|
|
6193
|
+
};
|
|
6194
|
+
return e.includeSubTotals && (a.format = { subtotal: !0 }), a;
|
|
6195
|
+
} else
|
|
6196
|
+
return {
|
|
6197
|
+
jaql: e.jaql(!0),
|
|
6198
|
+
panel: t,
|
|
6199
|
+
field: { index: n, id: `${t}-${n}` }
|
|
6200
|
+
};
|
|
6167
6201
|
}
|
|
6168
|
-
function
|
|
6169
|
-
return Object.assign(Object.assign({},
|
|
6202
|
+
function xp(e, t, n) {
|
|
6203
|
+
return Object.assign(Object.assign({}, Xh(e) ? se(e.measure.jaql(), {
|
|
6170
6204
|
jaql: { subtotalAgg: e.totalsCalculation },
|
|
6171
6205
|
format: Object.assign({ databars: e.dataBars || !1 }, e.shouldRequestMinMax && {
|
|
6172
6206
|
color: { type: "range" }
|
|
6173
6207
|
})
|
|
6174
6208
|
}) : e.jaql()), { panel: t, field: { index: n, id: `${t}-${n}` } });
|
|
6175
6209
|
}
|
|
6176
|
-
function
|
|
6177
|
-
const { rowsAttributes: n, columnsAttributes: r, measures: i, filters: s, filterRelations: a, highlights: o } = e, u =
|
|
6210
|
+
function Ep(e, t) {
|
|
6211
|
+
const { rowsAttributes: n, columnsAttributes: r, measures: i, filters: s, filterRelations: a, highlights: o } = e, u = mp(n, r, i);
|
|
6178
6212
|
let l = 0;
|
|
6179
|
-
const d = n.map((b, x) =>
|
|
6213
|
+
const d = n.map((b, x) => $r(b, "rows", x + l, u));
|
|
6180
6214
|
l = l + n.length;
|
|
6181
|
-
const f = r.map((b, x) =>
|
|
6215
|
+
const f = r.map((b, x) => $r(b, "columns", x + l, u));
|
|
6182
6216
|
l = l + r.length;
|
|
6183
6217
|
const c = [
|
|
6184
6218
|
...d,
|
|
6185
6219
|
...f
|
|
6186
|
-
], m = i.map((b, x) =>
|
|
6187
|
-
return
|
|
6220
|
+
], m = i.map((b, x) => xp(b, "measures", x + l)), g = Os(c, s, a, o, t), S = [...c, ...m, ...g];
|
|
6221
|
+
return vp(S, u), S;
|
|
6188
6222
|
}
|
|
6189
|
-
function
|
|
6190
|
-
return Object.assign(Object.assign(Object.assign({ datasource:
|
|
6223
|
+
function Op(e, t, n, r) {
|
|
6224
|
+
return Object.assign(Object.assign(Object.assign({ datasource: ms(e), by: it, queryGuid: xs(), dashboard: it, widget: it, format: "pivot" }, n ? { count: n } : {}), r ? { offset: r } : {}), { grandTotals: Object.assign(Object.assign({}, Zh), t) });
|
|
6191
6225
|
}
|
|
6192
|
-
class Mt extends
|
|
6226
|
+
class Mt extends Hr {
|
|
6193
6227
|
constructor(t, n) {
|
|
6194
|
-
super(
|
|
6228
|
+
super(kr, {
|
|
6195
6229
|
key: t,
|
|
6196
6230
|
interpolationOptions: n
|
|
6197
|
-
},
|
|
6231
|
+
}, ma.t);
|
|
6198
6232
|
}
|
|
6199
6233
|
}
|
|
6200
|
-
function
|
|
6234
|
+
function Np(e) {
|
|
6201
6235
|
return "value" in e;
|
|
6202
6236
|
}
|
|
6203
|
-
function
|
|
6237
|
+
function Cp(e) {
|
|
6204
6238
|
return "valuePromise" in e;
|
|
6205
6239
|
}
|
|
6206
|
-
const
|
|
6240
|
+
const _p = (e, t) => {
|
|
6207
6241
|
const n = /* @__PURE__ */ new Map();
|
|
6208
6242
|
return {
|
|
6209
|
-
withCache: (s) => (...a) =>
|
|
6243
|
+
withCache: (s) => (...a) => Un(void 0, null, function* () {
|
|
6210
6244
|
const o = e(...a);
|
|
6211
6245
|
if (n.has(o)) {
|
|
6212
6246
|
const u = n.get(o);
|
|
6213
|
-
if (Op(u))
|
|
6214
|
-
return u.value;
|
|
6215
6247
|
if (Np(u))
|
|
6248
|
+
return u.value;
|
|
6249
|
+
if (Cp(u))
|
|
6216
6250
|
return u.valuePromise;
|
|
6217
6251
|
throw new Mt("errors.unexpectedCacheValue");
|
|
6218
6252
|
} else {
|
|
@@ -6223,7 +6257,7 @@ const Cp = (e, t) => {
|
|
|
6223
6257
|
}), u.then((l) => (n.set(o, {
|
|
6224
6258
|
value: l,
|
|
6225
6259
|
createdAt: /* @__PURE__ */ new Date()
|
|
6226
|
-
}), t != null && t.cacheMaxSize && n.size > t.cacheMaxSize &&
|
|
6260
|
+
}), t != null && t.cacheMaxSize && n.size > t.cacheMaxSize && Mp(n), l));
|
|
6227
6261
|
}
|
|
6228
6262
|
}),
|
|
6229
6263
|
clearCache: (s) => {
|
|
@@ -6235,14 +6269,14 @@ const Cp = (e, t) => {
|
|
|
6235
6269
|
}
|
|
6236
6270
|
};
|
|
6237
6271
|
};
|
|
6238
|
-
function
|
|
6272
|
+
function Mp(e) {
|
|
6239
6273
|
const t = Array.from(e.keys()), n = t.reduce((r, i) => {
|
|
6240
6274
|
const s = e.get(i), a = e.get(r);
|
|
6241
6275
|
return s.createdAt < a.createdAt ? i : r;
|
|
6242
6276
|
}, t[0]);
|
|
6243
6277
|
e.delete(n);
|
|
6244
6278
|
}
|
|
6245
|
-
const
|
|
6279
|
+
const Fn = (e, t) => {
|
|
6246
6280
|
const { dataSource: n, dimensions: r = [], measures: i = [], filters: s = [], filterRelations: a, highlights: o = [], count: u, offset: l, ungroup: d } = e;
|
|
6247
6281
|
s && s.forEach((c) => c.isScope = !0), o && o.forEach((c) => c.isScope = !0);
|
|
6248
6282
|
const f = n || t;
|
|
@@ -6260,16 +6294,16 @@ const In = (e, t) => {
|
|
|
6260
6294
|
ungroup: d
|
|
6261
6295
|
};
|
|
6262
6296
|
};
|
|
6263
|
-
function
|
|
6264
|
-
const r =
|
|
6297
|
+
function Dp(e, t, n) {
|
|
6298
|
+
const r = Fn(e, t == null ? void 0 : t.defaultDataSource);
|
|
6265
6299
|
return t.queryClient.executeQuery(r, n).resultPromise.catch((i) => {
|
|
6266
6300
|
throw i.message.includes("SecondsLevelIsNotSupportedException") ? new Mt("errors.secondsDateTimeLevelSupportedOnlyForLive") : i;
|
|
6267
6301
|
});
|
|
6268
6302
|
}
|
|
6269
|
-
const
|
|
6270
|
-
const r =
|
|
6303
|
+
const Ng = (e, t, n) => {
|
|
6304
|
+
const r = Fn(e, t == null ? void 0 : t.defaultDataSource);
|
|
6271
6305
|
return t.queryClient.executeCsvQuery(r, n).resultPromise;
|
|
6272
|
-
},
|
|
6306
|
+
}, Cg = (e, t, n) => {
|
|
6273
6307
|
const { dataSource: r, rows: i = [], columns: s = [], values: a = [], grandTotals: o = {}, filters: u = [], filterRelations: l, highlights: d = [], count: f, offset: c } = e;
|
|
6274
6308
|
u && u.forEach((g) => g.isScope = !0), d && d.forEach((g) => g.isScope = !0);
|
|
6275
6309
|
const m = r || (t == null ? void 0 : t.defaultDataSource);
|
|
@@ -6290,214 +6324,214 @@ const Og = (e, t, n) => {
|
|
|
6290
6324
|
count: f,
|
|
6291
6325
|
offset: c
|
|
6292
6326
|
}, n).resultPromise;
|
|
6293
|
-
},
|
|
6327
|
+
}, Rp = (e) => JSON.stringify(U(y({}, Sp(e, !1)), {
|
|
6294
6328
|
queryGuid: ""
|
|
6295
|
-
})),
|
|
6296
|
-
const n =
|
|
6297
|
-
return
|
|
6298
|
-
},
|
|
6299
|
-
cacheMaxSize:
|
|
6300
|
-
}),
|
|
6329
|
+
})), Lp = (e, t) => {
|
|
6330
|
+
const n = Fn(e, t == null ? void 0 : t.defaultDataSource);
|
|
6331
|
+
return Rp(n);
|
|
6332
|
+
}, Fp = 250, { withCache: Ip, clearCache: Pp } = _p(Lp, {
|
|
6333
|
+
cacheMaxSize: Fp
|
|
6334
|
+
}), _g = Ip(Dp), Mg = Pp;
|
|
6301
6335
|
export {
|
|
6302
|
-
|
|
6336
|
+
tn as $,
|
|
6303
6337
|
A,
|
|
6304
|
-
|
|
6305
|
-
|
|
6306
|
-
|
|
6307
|
-
|
|
6338
|
+
Up as B,
|
|
6339
|
+
Bp as C,
|
|
6340
|
+
yn as D,
|
|
6341
|
+
fn as E,
|
|
6308
6342
|
ee as F,
|
|
6309
|
-
|
|
6310
|
-
|
|
6343
|
+
hs as G,
|
|
6344
|
+
Pc as H,
|
|
6311
6345
|
J as I,
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
|
|
6346
|
+
ma as J,
|
|
6347
|
+
ul as K,
|
|
6348
|
+
ri as L,
|
|
6315
6349
|
w as M,
|
|
6316
6350
|
K as N,
|
|
6317
6351
|
j as O,
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6352
|
+
Ud as P,
|
|
6353
|
+
Tf as Q,
|
|
6354
|
+
Af as R,
|
|
6321
6355
|
D as S,
|
|
6322
6356
|
Mt as T,
|
|
6323
6357
|
de as U,
|
|
6324
|
-
|
|
6325
|
-
|
|
6326
|
-
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6358
|
+
yi as V,
|
|
6359
|
+
qt as W,
|
|
6360
|
+
sn as X,
|
|
6361
|
+
_d as Y,
|
|
6362
|
+
Ad as Z,
|
|
6363
|
+
Qc as _,
|
|
6330
6364
|
be as a,
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6365
|
+
Hi as a$,
|
|
6366
|
+
zr as a0,
|
|
6367
|
+
pg as a1,
|
|
6368
|
+
gs as a2,
|
|
6369
|
+
Ah as a3,
|
|
6370
|
+
Nh as a4,
|
|
6371
|
+
Nn as a5,
|
|
6338
6372
|
p as a6,
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6373
|
+
Jt as a7,
|
|
6374
|
+
Ss as a8,
|
|
6375
|
+
tp as a9,
|
|
6376
|
+
Lp as aA,
|
|
6377
|
+
_g as aB,
|
|
6378
|
+
Dp as aC,
|
|
6379
|
+
$c as aD,
|
|
6346
6380
|
Ct as aE,
|
|
6347
6381
|
_t as aF,
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6382
|
+
vn as aG,
|
|
6383
|
+
Sn as aH,
|
|
6384
|
+
ng as aI,
|
|
6351
6385
|
We as aJ,
|
|
6352
|
-
|
|
6386
|
+
ns as aK,
|
|
6353
6387
|
xe as aL,
|
|
6354
6388
|
q as aM,
|
|
6355
6389
|
R as aN,
|
|
6356
6390
|
Et as aO,
|
|
6357
6391
|
ne as aP,
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6392
|
+
Yi as aQ,
|
|
6393
|
+
Ji as aR,
|
|
6394
|
+
es as aS,
|
|
6395
|
+
ts as aT,
|
|
6396
|
+
Xi as aU,
|
|
6397
|
+
Zi as aV,
|
|
6364
6398
|
pt as aW,
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6399
|
+
On as aX,
|
|
6400
|
+
us as aY,
|
|
6401
|
+
ls as aZ,
|
|
6402
|
+
Vi as a_,
|
|
6403
|
+
bg as aa,
|
|
6404
|
+
np as ab,
|
|
6405
|
+
Hr as ac,
|
|
6406
|
+
sg as ad,
|
|
6407
|
+
Hh as ae,
|
|
6408
|
+
Og as af,
|
|
6409
|
+
Mg as ag,
|
|
6410
|
+
Cg as ah,
|
|
6411
|
+
Hl as ai,
|
|
6378
6412
|
Kh as aj,
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6413
|
+
Hd as ak,
|
|
6414
|
+
ag as al,
|
|
6415
|
+
mg as am,
|
|
6416
|
+
Dn as an,
|
|
6417
|
+
Sg as ao,
|
|
6418
|
+
Rn as ap,
|
|
6419
|
+
Ln as aq,
|
|
6420
|
+
yg as ar,
|
|
6421
|
+
Ts as as,
|
|
6422
|
+
Nf as at,
|
|
6389
6423
|
Nt as au,
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6424
|
+
Vp as av,
|
|
6425
|
+
Kp as aw,
|
|
6426
|
+
lg as ax,
|
|
6427
|
+
cg as ay,
|
|
6428
|
+
vg as az,
|
|
6429
|
+
_i as b,
|
|
6430
|
+
Xp as b$,
|
|
6431
|
+
Ki as b0,
|
|
6432
|
+
Gi as b1,
|
|
6433
|
+
Qi as b2,
|
|
6434
|
+
ki as b3,
|
|
6435
|
+
Lf as b4,
|
|
6436
|
+
eg as b5,
|
|
6437
|
+
Yp as b6,
|
|
6438
|
+
tg as b7,
|
|
6439
|
+
Gp as b8,
|
|
6440
|
+
Qp as b9,
|
|
6407
6441
|
Te as bA,
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6442
|
+
hg as bB,
|
|
6443
|
+
wd as bC,
|
|
6444
|
+
mn as bD,
|
|
6445
|
+
Cd as bE,
|
|
6446
|
+
xo as bF,
|
|
6447
|
+
Ni as bG,
|
|
6448
|
+
ug as bH,
|
|
6449
|
+
Ld as bI,
|
|
6450
|
+
vi as bJ,
|
|
6451
|
+
Wt as bK,
|
|
6452
|
+
Zl as bL,
|
|
6453
|
+
ft as bM,
|
|
6454
|
+
Kl as bN,
|
|
6455
|
+
$d as bO,
|
|
6456
|
+
pd as bP,
|
|
6457
|
+
zh as bQ,
|
|
6458
|
+
St as bR,
|
|
6425
6459
|
vt as bS,
|
|
6426
6460
|
yt as bT,
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6461
|
+
Rd as bU,
|
|
6462
|
+
Xt as bV,
|
|
6463
|
+
fg as bW,
|
|
6464
|
+
Ii as bX,
|
|
6465
|
+
Hp as bY,
|
|
6466
|
+
kp as bZ,
|
|
6467
|
+
Zp as b_,
|
|
6468
|
+
Tg as ba,
|
|
6469
|
+
Ag as bb,
|
|
6470
|
+
wg as bc,
|
|
6471
|
+
xg as bd,
|
|
6438
6472
|
Le as be,
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6473
|
+
qh as bf,
|
|
6474
|
+
wn as bg,
|
|
6475
|
+
jf as bh,
|
|
6476
|
+
zf as bi,
|
|
6477
|
+
Ir as bj,
|
|
6478
|
+
Dd as bk,
|
|
6479
|
+
Ei as bl,
|
|
6480
|
+
oi as bm,
|
|
6481
|
+
Ng as bn,
|
|
6482
|
+
Eg as bo,
|
|
6483
|
+
kr as bp,
|
|
6484
|
+
Ri as bq,
|
|
6485
|
+
qp as br,
|
|
6486
|
+
Md as bs,
|
|
6453
6487
|
Tt as bt,
|
|
6454
6488
|
Ge as bu,
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6489
|
+
Kr as bv,
|
|
6490
|
+
nn as bw,
|
|
6491
|
+
gn as bx,
|
|
6492
|
+
Wc as by,
|
|
6493
|
+
ga as bz,
|
|
6460
6494
|
h as c,
|
|
6461
|
-
|
|
6495
|
+
Jp as c0,
|
|
6462
6496
|
X as c1,
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6497
|
+
Vt as c2,
|
|
6498
|
+
Rf as c3,
|
|
6499
|
+
En as c4,
|
|
6500
|
+
Df as c5,
|
|
6467
6501
|
re as c6,
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6502
|
+
Mf as c7,
|
|
6503
|
+
Wi as c8,
|
|
6504
|
+
Ui as c9,
|
|
6505
|
+
_f as ca,
|
|
6506
|
+
Cf as cb,
|
|
6507
|
+
Bi as cc,
|
|
6508
|
+
Of as cd,
|
|
6509
|
+
zp as ce,
|
|
6476
6510
|
ve as cf,
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6511
|
+
rg as cg,
|
|
6512
|
+
gg as ch,
|
|
6513
|
+
Fn as ci,
|
|
6480
6514
|
Y as d,
|
|
6481
6515
|
Qe as e,
|
|
6482
|
-
|
|
6516
|
+
bs as f,
|
|
6483
6517
|
qe as g,
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6518
|
+
Mn as h,
|
|
6519
|
+
_n as i,
|
|
6520
|
+
ys as j,
|
|
6521
|
+
dg as k,
|
|
6488
6522
|
ye as l,
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6523
|
+
hi as m,
|
|
6524
|
+
vs as n,
|
|
6525
|
+
Ci as o,
|
|
6492
6526
|
Ee as p,
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6527
|
+
da as q,
|
|
6528
|
+
xf as r,
|
|
6529
|
+
Cn as s,
|
|
6496
6530
|
se as t,
|
|
6497
6531
|
Qh as u,
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6532
|
+
og as v,
|
|
6533
|
+
ig as w,
|
|
6534
|
+
Sp as x,
|
|
6535
|
+
ms as y,
|
|
6536
|
+
ep as z
|
|
6503
6537
|
};
|