@kong-ui-public/analytics-utilities 12.50.0 → 12.51.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/types/utils/color.d.ts +1 -2
- package/dist/types/utils/color.d.ts.map +1 -1
- package/dist/vitals-utilities.cjs +1 -1
- package/dist/vitals-utilities.cjs.map +1 -1
- package/dist/vitals-utilities.es.js +584 -588
- package/dist/vitals-utilities.es.js.map +1 -1
- package/dist/vitals-utilities.umd.js +1 -1
- package/dist/vitals-utilities.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref as de, readonly as me } from "vue";
|
|
2
|
-
function
|
|
1
|
+
import { ref as de, readonly as me, hasInjectionContext as Na, inject as Pa, computed as xa } from "vue";
|
|
2
|
+
function gu() {
|
|
3
3
|
const e = de(null), t = de(null), n = de(null), r = de(null), i = de(null), o = 300, c = 300, l = 10, f = ({
|
|
4
4
|
chartUuid: h,
|
|
5
5
|
timestamp: p = null,
|
|
@@ -27,16 +27,16 @@ function hu() {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
const rt = "kapture:prepare", at = "kapture:restore";
|
|
30
|
-
async function
|
|
30
|
+
async function wu() {
|
|
31
31
|
const e = [];
|
|
32
32
|
window.dispatchEvent(new CustomEvent(rt, {
|
|
33
33
|
detail: { waitUntil: (t) => e.push(t) }
|
|
34
34
|
})), await Promise.allSettled(e);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function Tu() {
|
|
37
37
|
window.dispatchEvent(new CustomEvent(at));
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function ka(e) {
|
|
40
40
|
let t;
|
|
41
41
|
const n = () => {
|
|
42
42
|
t?.(), t = void 0;
|
|
@@ -51,8 +51,8 @@ function Na(e) {
|
|
|
51
51
|
window.removeEventListener(rt, r), window.removeEventListener(at, n), n();
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
|
-
function
|
|
55
|
-
return
|
|
54
|
+
function bu(e, t = {}) {
|
|
55
|
+
return ka(async () => {
|
|
56
56
|
const n = e();
|
|
57
57
|
if (!n)
|
|
58
58
|
return;
|
|
@@ -63,9 +63,9 @@ function gu(e, t = {}) {
|
|
|
63
63
|
};
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const Su = 30 * 1e3, Ou = 1e3, Du = "analytics-query-provider";
|
|
67
67
|
var d = /* @__PURE__ */ ((e) => (e.FIFTEEN_MIN = "15m", e.ONE_HOUR = "1h", e.SIX_HOUR = "6h", e.TWELVE_HOUR = "12h", e.ONE_DAY = "24h", e.SEVEN_DAY = "7d", e.THIRTY_DAY = "30d", e.NINETY_DAY = "90d", e.ONE_HUNDRED_EIGHTY_DAY = "180d", e.ONE_YEAR = "365d", e.CURRENT_WEEK = "current_week", e.CURRENT_MONTH = "current_month", e.CURRENT_QUARTER = "current_quarter", e.CURRENT_YEAR = "current_year", e.PREVIOUS_WEEK = "previous_week", e.PREVIOUS_MONTH = "previous_month", e.PREVIOUS_QUARTER = "previous_quarter", e.PREVIOUS_YEAR = "previous_year", e))(d || {});
|
|
68
|
-
const
|
|
68
|
+
const Mu = [
|
|
69
69
|
"90d",
|
|
70
70
|
"180d",
|
|
71
71
|
"365d",
|
|
@@ -73,7 +73,7 @@ const Su = [
|
|
|
73
73
|
"previous_quarter",
|
|
74
74
|
"current_year",
|
|
75
75
|
"previous_year"
|
|
76
|
-
],
|
|
76
|
+
], vu = [
|
|
77
77
|
"horizontal_bar",
|
|
78
78
|
"vertical_bar",
|
|
79
79
|
"timeseries_line",
|
|
@@ -84,7 +84,7 @@ const Su = [
|
|
|
84
84
|
"top_n",
|
|
85
85
|
"table",
|
|
86
86
|
"scatter"
|
|
87
|
-
],
|
|
87
|
+
], La = ["in", "not_in", "selector"], Ru = ["=", "!="], Cu = ["=", "!=", "<", ">", "<=", ">="], Ga = ["empty", "not_empty"], Eu = ["starts_with", "ends_with"], Iu = ["absolute", "relative"], Au = [
|
|
88
88
|
"15m",
|
|
89
89
|
"1h",
|
|
90
90
|
"6h",
|
|
@@ -96,7 +96,7 @@ const Su = [
|
|
|
96
96
|
"30d",
|
|
97
97
|
"current_month",
|
|
98
98
|
"previous_month"
|
|
99
|
-
],
|
|
99
|
+
], En = [
|
|
100
100
|
"secondly",
|
|
101
101
|
"tenSecondly",
|
|
102
102
|
"thirtySecondly",
|
|
@@ -209,7 +209,7 @@ const Su = [
|
|
|
209
209
|
"ai_gateway_model",
|
|
210
210
|
"ai_gateway_agent",
|
|
211
211
|
"ai_gateway_data_plane_node"
|
|
212
|
-
], xe = z(Un),
|
|
212
|
+
], xe = z(Un), Ya = [
|
|
213
213
|
"ai_request_count",
|
|
214
214
|
"share_of_requests",
|
|
215
215
|
"share_of_cost",
|
|
@@ -235,7 +235,7 @@ const Su = [
|
|
|
235
235
|
"time_to_first_token_p99",
|
|
236
236
|
"total_tokens",
|
|
237
237
|
"total_tokens_per_minute"
|
|
238
|
-
],
|
|
238
|
+
], Fa = [
|
|
239
239
|
"a2a_context_id",
|
|
240
240
|
"a2a_error",
|
|
241
241
|
"a2a_method",
|
|
@@ -291,7 +291,7 @@ const Su = [
|
|
|
291
291
|
"upstream_uri",
|
|
292
292
|
"upstream_status_code_grouped",
|
|
293
293
|
"websocket"
|
|
294
|
-
], Nn = z(
|
|
294
|
+
], Nn = z(Fa), qa = [
|
|
295
295
|
"auth_type",
|
|
296
296
|
"cache_status",
|
|
297
297
|
"client_ip",
|
|
@@ -308,7 +308,7 @@ const Su = [
|
|
|
308
308
|
"service_protocol",
|
|
309
309
|
"trace_id",
|
|
310
310
|
"upstream_uri"
|
|
311
|
-
],
|
|
311
|
+
], Ha = qa, ja = [
|
|
312
312
|
"ai_count",
|
|
313
313
|
"latencies_response_ms",
|
|
314
314
|
"latencies_upstream_ms",
|
|
@@ -319,14 +319,14 @@ const Su = [
|
|
|
319
319
|
"response_header_content_length",
|
|
320
320
|
"status_code",
|
|
321
321
|
"upstream_status_code"
|
|
322
|
-
], Pn = z(
|
|
322
|
+
], Pn = z(ja), Uu = [
|
|
323
323
|
"15M",
|
|
324
324
|
"1H",
|
|
325
325
|
"6H",
|
|
326
326
|
"12H",
|
|
327
327
|
"24H",
|
|
328
328
|
"7D"
|
|
329
|
-
], Vt = 1e3,
|
|
329
|
+
], Vt = 1e3, Wa = ["platform", "platform_usage"], Nu = (e) => Wa.includes(e), xn = [
|
|
330
330
|
...st.filter((e) => e !== "consumer_group"),
|
|
331
331
|
"a2a_context_id",
|
|
332
332
|
"a2a_error",
|
|
@@ -339,7 +339,7 @@ const Su = [
|
|
|
339
339
|
"mcp_method",
|
|
340
340
|
"mcp_session_id",
|
|
341
341
|
"mcp_tool_name"
|
|
342
|
-
], ke = z(xn),
|
|
342
|
+
], ke = z(xn), Ka = [
|
|
343
343
|
...An,
|
|
344
344
|
"a2a_latency_average",
|
|
345
345
|
"a2a_response_size_sum",
|
|
@@ -357,12 +357,12 @@ const Su = [
|
|
|
357
357
|
"provider",
|
|
358
358
|
"provider_region",
|
|
359
359
|
"time"
|
|
360
|
-
], ct = z(kn),
|
|
360
|
+
], ct = z(kn), $a = [
|
|
361
361
|
"cache_eviction_rate",
|
|
362
362
|
"cache_expiration_rate",
|
|
363
363
|
"cache_items_average",
|
|
364
364
|
"cache_memory_utilization_max"
|
|
365
|
-
],
|
|
365
|
+
], Pu = ["basic", "api_usage", "llm_usage", "agentic_usage", "platform", "platform_usage", "managed_cache_usage"], za = {
|
|
366
366
|
basic: new Set(Ne),
|
|
367
367
|
api_usage: new Set(Pe),
|
|
368
368
|
llm_usage: new Set(xe),
|
|
@@ -371,7 +371,7 @@ const Su = [
|
|
|
371
371
|
platform: /* @__PURE__ */ new Set(),
|
|
372
372
|
platform_usage: /* @__PURE__ */ new Set(),
|
|
373
373
|
managed_cache_usage: new Set(ct)
|
|
374
|
-
},
|
|
374
|
+
}, xu = (e, t) => e.startsWith("goap") || e === "platform" || e === "platform_usage" ? t : t.filter((n) => za[e].has(n.field)), Ln = [
|
|
375
375
|
{ code: "AF", name: "Afghanistan" },
|
|
376
376
|
{ code: "AX", name: "Aland Islands" },
|
|
377
377
|
{ code: "AL", name: "Albania" },
|
|
@@ -618,7 +618,7 @@ const Su = [
|
|
|
618
618
|
{ code: "YE", name: "Yemen" },
|
|
619
619
|
{ code: "ZM", name: "Zambia" },
|
|
620
620
|
{ code: "ZW", name: "Zimbabwe" }
|
|
621
|
-
],
|
|
621
|
+
], ku = [
|
|
622
622
|
"heatmap",
|
|
623
623
|
"treemap",
|
|
624
624
|
"horizontal_bar",
|
|
@@ -657,7 +657,7 @@ const Su = [
|
|
|
657
657
|
additionalProperties: {
|
|
658
658
|
type: "string"
|
|
659
659
|
}
|
|
660
|
-
},
|
|
660
|
+
}, Ba = {
|
|
661
661
|
type: "object",
|
|
662
662
|
deprecated: !0,
|
|
663
663
|
description: "Deprecated: use the top-level tile shape { type: 'slottable', id, layout } instead of a chart-level 'slottable' definition.",
|
|
@@ -672,7 +672,7 @@ const Su = [
|
|
|
672
672
|
},
|
|
673
673
|
required: ["type", "id"],
|
|
674
674
|
additionalProperties: !1
|
|
675
|
-
},
|
|
675
|
+
}, Va = {
|
|
676
676
|
type: "object",
|
|
677
677
|
properties: {
|
|
678
678
|
type: {
|
|
@@ -689,7 +689,7 @@ const Su = [
|
|
|
689
689
|
},
|
|
690
690
|
required: ["type"],
|
|
691
691
|
additionalProperties: !1
|
|
692
|
-
},
|
|
692
|
+
}, Qa = {
|
|
693
693
|
type: "object",
|
|
694
694
|
properties: {
|
|
695
695
|
type: {
|
|
@@ -709,7 +709,7 @@ const Su = [
|
|
|
709
709
|
},
|
|
710
710
|
required: ["type", "value"],
|
|
711
711
|
additionalProperties: !1
|
|
712
|
-
},
|
|
712
|
+
}, Xa = ["left", "right"], Qt = {
|
|
713
713
|
type: "object",
|
|
714
714
|
properties: {
|
|
715
715
|
show_grid: {
|
|
@@ -720,7 +720,7 @@ const Su = [
|
|
|
720
720
|
}
|
|
721
721
|
},
|
|
722
722
|
additionalProperties: !1
|
|
723
|
-
},
|
|
723
|
+
}, Za = {
|
|
724
724
|
type: "object",
|
|
725
725
|
properties: {
|
|
726
726
|
type: {
|
|
@@ -734,7 +734,7 @@ const Su = [
|
|
|
734
734
|
type: "object",
|
|
735
735
|
additionalProperties: {
|
|
736
736
|
type: "array",
|
|
737
|
-
items:
|
|
737
|
+
items: Qa
|
|
738
738
|
}
|
|
739
739
|
},
|
|
740
740
|
metric_axis_map: {
|
|
@@ -742,7 +742,7 @@ const Su = [
|
|
|
742
742
|
description: "Maps a metric to the specified y axis, by default the metric will only use the left y axis. Only applies to timeseries_line.",
|
|
743
743
|
additionalProperties: {
|
|
744
744
|
type: "string",
|
|
745
|
-
enum:
|
|
745
|
+
enum: Xa
|
|
746
746
|
}
|
|
747
747
|
},
|
|
748
748
|
y_axes: {
|
|
@@ -760,7 +760,7 @@ const Su = [
|
|
|
760
760
|
},
|
|
761
761
|
required: ["type"],
|
|
762
762
|
additionalProperties: !1
|
|
763
|
-
},
|
|
763
|
+
}, Ja = {
|
|
764
764
|
type: "object",
|
|
765
765
|
properties: {
|
|
766
766
|
percentile: {
|
|
@@ -796,7 +796,7 @@ const Su = [
|
|
|
796
796
|
percentile_lines: {
|
|
797
797
|
type: "array",
|
|
798
798
|
description: "Reference lines derived from the plotted values.",
|
|
799
|
-
items:
|
|
799
|
+
items: Ja
|
|
800
800
|
},
|
|
801
801
|
outlier_percentile: {
|
|
802
802
|
type: "number",
|
|
@@ -830,7 +830,7 @@ const Su = [
|
|
|
830
830
|
},
|
|
831
831
|
required: ["type"],
|
|
832
832
|
additionalProperties: !1
|
|
833
|
-
},
|
|
833
|
+
}, ei = {
|
|
834
834
|
type: "object",
|
|
835
835
|
properties: {
|
|
836
836
|
type: {
|
|
@@ -853,7 +853,7 @@ const Su = [
|
|
|
853
853
|
},
|
|
854
854
|
required: ["type"],
|
|
855
855
|
additionalProperties: !1
|
|
856
|
-
},
|
|
856
|
+
}, ti = {
|
|
857
857
|
type: "object",
|
|
858
858
|
properties: {
|
|
859
859
|
type: {
|
|
@@ -865,7 +865,7 @@ const Su = [
|
|
|
865
865
|
},
|
|
866
866
|
required: ["type"],
|
|
867
867
|
additionalProperties: !1
|
|
868
|
-
},
|
|
868
|
+
}, ni = {
|
|
869
869
|
type: "object",
|
|
870
870
|
properties: {
|
|
871
871
|
type: {
|
|
@@ -876,7 +876,7 @@ const Su = [
|
|
|
876
876
|
},
|
|
877
877
|
required: ["type"],
|
|
878
878
|
additionalProperties: !1
|
|
879
|
-
},
|
|
879
|
+
}, ri = {
|
|
880
880
|
type: "object",
|
|
881
881
|
properties: {
|
|
882
882
|
type: {
|
|
@@ -887,7 +887,7 @@ const Su = [
|
|
|
887
887
|
},
|
|
888
888
|
required: ["type"],
|
|
889
889
|
additionalProperties: !1
|
|
890
|
-
},
|
|
890
|
+
}, ai = ["ai_provider"], Fn = {
|
|
891
891
|
type: "object",
|
|
892
892
|
properties: {
|
|
893
893
|
label: {
|
|
@@ -905,7 +905,7 @@ const Su = [
|
|
|
905
905
|
},
|
|
906
906
|
icon_set: {
|
|
907
907
|
type: "string",
|
|
908
|
-
enum:
|
|
908
|
+
enum: ai
|
|
909
909
|
},
|
|
910
910
|
thresholds: {
|
|
911
911
|
type: "array",
|
|
@@ -927,7 +927,7 @@ const Su = [
|
|
|
927
927
|
}
|
|
928
928
|
},
|
|
929
929
|
additionalProperties: !1
|
|
930
|
-
},
|
|
930
|
+
}, ii = {
|
|
931
931
|
type: "object",
|
|
932
932
|
properties: {
|
|
933
933
|
chart_title: I,
|
|
@@ -968,7 +968,7 @@ const Su = [
|
|
|
968
968
|
},
|
|
969
969
|
operator: {
|
|
970
970
|
type: "string",
|
|
971
|
-
enum:
|
|
971
|
+
enum: La
|
|
972
972
|
},
|
|
973
973
|
value: {
|
|
974
974
|
type: "array",
|
|
@@ -994,7 +994,7 @@ const Su = [
|
|
|
994
994
|
},
|
|
995
995
|
operator: {
|
|
996
996
|
type: "string",
|
|
997
|
-
enum:
|
|
997
|
+
enum: Ga
|
|
998
998
|
}
|
|
999
999
|
},
|
|
1000
1000
|
required: [
|
|
@@ -1005,7 +1005,7 @@ const Su = [
|
|
|
1005
1005
|
}
|
|
1006
1006
|
]
|
|
1007
1007
|
}
|
|
1008
|
-
}),
|
|
1008
|
+
}), oi = {
|
|
1009
1009
|
type: "object",
|
|
1010
1010
|
properties: {
|
|
1011
1011
|
dimension: {
|
|
@@ -1023,7 +1023,7 @@ const Su = [
|
|
|
1023
1023
|
},
|
|
1024
1024
|
required: ["dimension"],
|
|
1025
1025
|
additionalProperties: !1
|
|
1026
|
-
},
|
|
1026
|
+
}, si = {
|
|
1027
1027
|
type: "object",
|
|
1028
1028
|
properties: {
|
|
1029
1029
|
chart_title: I,
|
|
@@ -1035,7 +1035,7 @@ const Su = [
|
|
|
1035
1035
|
columns: {
|
|
1036
1036
|
type: "array",
|
|
1037
1037
|
minItems: 1,
|
|
1038
|
-
items:
|
|
1038
|
+
items: oi
|
|
1039
1039
|
},
|
|
1040
1040
|
size_metric: {
|
|
1041
1041
|
type: "string",
|
|
@@ -1050,7 +1050,7 @@ const Su = [
|
|
|
1050
1050
|
},
|
|
1051
1051
|
required: ["type", "columns"],
|
|
1052
1052
|
additionalProperties: !1
|
|
1053
|
-
},
|
|
1053
|
+
}, ci = {
|
|
1054
1054
|
type: "object",
|
|
1055
1055
|
properties: {
|
|
1056
1056
|
type: {
|
|
@@ -1061,7 +1061,7 @@ const Su = [
|
|
|
1061
1061
|
},
|
|
1062
1062
|
required: ["type"],
|
|
1063
1063
|
additionalProperties: !1
|
|
1064
|
-
},
|
|
1064
|
+
}, ui = {
|
|
1065
1065
|
type: "object",
|
|
1066
1066
|
properties: {
|
|
1067
1067
|
chart_title: I,
|
|
@@ -1078,7 +1078,7 @@ const Su = [
|
|
|
1078
1078
|
},
|
|
1079
1079
|
required: ["type"],
|
|
1080
1080
|
additionalProperties: !1
|
|
1081
|
-
},
|
|
1081
|
+
}, li = {
|
|
1082
1082
|
type: "object",
|
|
1083
1083
|
properties: {
|
|
1084
1084
|
type: {
|
|
@@ -1096,7 +1096,7 @@ const Su = [
|
|
|
1096
1096
|
},
|
|
1097
1097
|
required: ["type"],
|
|
1098
1098
|
additionalProperties: !1
|
|
1099
|
-
},
|
|
1099
|
+
}, di = {
|
|
1100
1100
|
type: "object",
|
|
1101
1101
|
properties: {
|
|
1102
1102
|
type: {
|
|
@@ -1129,7 +1129,7 @@ const Su = [
|
|
|
1129
1129
|
},
|
|
1130
1130
|
required: ["type"],
|
|
1131
1131
|
additionalProperties: !1
|
|
1132
|
-
},
|
|
1132
|
+
}, mi = {
|
|
1133
1133
|
type: "object",
|
|
1134
1134
|
properties: {
|
|
1135
1135
|
tz: {
|
|
@@ -1151,7 +1151,7 @@ const Su = [
|
|
|
1151
1151
|
"time_range"
|
|
1152
1152
|
],
|
|
1153
1153
|
additionalProperties: !1
|
|
1154
|
-
},
|
|
1154
|
+
}, fi = {
|
|
1155
1155
|
type: "object",
|
|
1156
1156
|
description: "A duration representing an exact start and end time.",
|
|
1157
1157
|
properties: {
|
|
@@ -1181,14 +1181,14 @@ const Su = [
|
|
|
1181
1181
|
granularity: {
|
|
1182
1182
|
type: "string",
|
|
1183
1183
|
description: 'Force time grouping into buckets of this duration. Only has an effect if "time" is in the "dimensions" list.',
|
|
1184
|
-
enum:
|
|
1184
|
+
enum: En
|
|
1185
1185
|
},
|
|
1186
1186
|
time_range: {
|
|
1187
1187
|
type: "object",
|
|
1188
1188
|
description: "The time range to query.",
|
|
1189
1189
|
anyOf: [
|
|
1190
|
-
|
|
1191
|
-
|
|
1190
|
+
mi,
|
|
1191
|
+
fi
|
|
1192
1192
|
],
|
|
1193
1193
|
default: {
|
|
1194
1194
|
type: "relative",
|
|
@@ -1217,7 +1217,7 @@ const Su = [
|
|
|
1217
1217
|
type: "string",
|
|
1218
1218
|
...e ? { enum: e } : {}
|
|
1219
1219
|
}
|
|
1220
|
-
}),
|
|
1220
|
+
}), pi = [
|
|
1221
1221
|
"control_plane",
|
|
1222
1222
|
"gateway_service",
|
|
1223
1223
|
"realm",
|
|
@@ -1278,7 +1278,7 @@ const Su = [
|
|
|
1278
1278
|
}
|
|
1279
1279
|
]
|
|
1280
1280
|
}
|
|
1281
|
-
}),
|
|
1281
|
+
}), hi = {
|
|
1282
1282
|
type: "object",
|
|
1283
1283
|
description: "A query to launch at the advanced explore API",
|
|
1284
1284
|
properties: {
|
|
@@ -1295,7 +1295,7 @@ const Su = [
|
|
|
1295
1295
|
},
|
|
1296
1296
|
required: ["datasource"],
|
|
1297
1297
|
additionalProperties: !1
|
|
1298
|
-
},
|
|
1298
|
+
}, yi = {
|
|
1299
1299
|
type: "object",
|
|
1300
1300
|
description: "A query to launch at the basic explore API",
|
|
1301
1301
|
properties: {
|
|
@@ -1312,7 +1312,7 @@ const Su = [
|
|
|
1312
1312
|
},
|
|
1313
1313
|
required: ["datasource"],
|
|
1314
1314
|
additionalProperties: !1
|
|
1315
|
-
},
|
|
1315
|
+
}, _i = {
|
|
1316
1316
|
type: "object",
|
|
1317
1317
|
description: "A query to launch at the AI explore API",
|
|
1318
1318
|
properties: {
|
|
@@ -1322,14 +1322,14 @@ const Su = [
|
|
|
1322
1322
|
"llm_usage"
|
|
1323
1323
|
]
|
|
1324
1324
|
},
|
|
1325
|
-
metrics: se(
|
|
1325
|
+
metrics: se(Ya),
|
|
1326
1326
|
dimensions: ce(Un),
|
|
1327
1327
|
filters: H(xe),
|
|
1328
1328
|
...V
|
|
1329
1329
|
},
|
|
1330
1330
|
required: ["datasource"],
|
|
1331
1331
|
additionalProperties: !1
|
|
1332
|
-
},
|
|
1332
|
+
}, gi = {
|
|
1333
1333
|
type: "object",
|
|
1334
1334
|
description: "A query to launch at the Agentic explore API",
|
|
1335
1335
|
properties: {
|
|
@@ -1339,14 +1339,14 @@ const Su = [
|
|
|
1339
1339
|
"agentic_usage"
|
|
1340
1340
|
]
|
|
1341
1341
|
},
|
|
1342
|
-
metrics: se(
|
|
1342
|
+
metrics: se(Ka),
|
|
1343
1343
|
dimensions: ce(xn),
|
|
1344
1344
|
filters: H(ke),
|
|
1345
1345
|
...V
|
|
1346
1346
|
},
|
|
1347
1347
|
required: ["datasource"],
|
|
1348
1348
|
additionalProperties: !1
|
|
1349
|
-
},
|
|
1349
|
+
}, wi = {
|
|
1350
1350
|
type: "object",
|
|
1351
1351
|
description: "A query to launch at the Managed Cache explore API",
|
|
1352
1352
|
properties: {
|
|
@@ -1356,7 +1356,7 @@ const Su = [
|
|
|
1356
1356
|
"managed_cache_usage"
|
|
1357
1357
|
]
|
|
1358
1358
|
},
|
|
1359
|
-
metrics: se(
|
|
1359
|
+
metrics: se($a),
|
|
1360
1360
|
dimensions: ce(kn),
|
|
1361
1361
|
filters: H(ct),
|
|
1362
1362
|
...V
|
|
@@ -1374,7 +1374,7 @@ const Su = [
|
|
|
1374
1374
|
description: "Deprecated: use 'platform_usage'."
|
|
1375
1375
|
}
|
|
1376
1376
|
]
|
|
1377
|
-
},
|
|
1377
|
+
}, Ti = {
|
|
1378
1378
|
type: "object",
|
|
1379
1379
|
description: "A query to launch at the platform dashboard API. Use datasource 'platform_usage'; 'platform' is accepted for backward compatibility but deprecated.",
|
|
1380
1380
|
properties: {
|
|
@@ -1386,7 +1386,7 @@ const Su = [
|
|
|
1386
1386
|
},
|
|
1387
1387
|
required: ["datasource"],
|
|
1388
1388
|
additionalProperties: !1
|
|
1389
|
-
},
|
|
1389
|
+
}, bi = {
|
|
1390
1390
|
type: "object",
|
|
1391
1391
|
description: "A query to launch at the platform tabular explore API. Use datasource 'platform_usage'; 'platform' is accepted for backward compatibility but deprecated.",
|
|
1392
1392
|
properties: {
|
|
@@ -1411,7 +1411,7 @@ const Su = [
|
|
|
1411
1411
|
},
|
|
1412
1412
|
required: ["datasource"],
|
|
1413
1413
|
additionalProperties: !1
|
|
1414
|
-
},
|
|
1414
|
+
}, Si = {
|
|
1415
1415
|
type: "object",
|
|
1416
1416
|
properties: {
|
|
1417
1417
|
field: {
|
|
@@ -1429,7 +1429,7 @@ const Su = [
|
|
|
1429
1429
|
},
|
|
1430
1430
|
required: ["field"],
|
|
1431
1431
|
additionalProperties: !1
|
|
1432
|
-
},
|
|
1432
|
+
}, Oi = {
|
|
1433
1433
|
type: "object",
|
|
1434
1434
|
description: "A query for the api-requests endpoint.",
|
|
1435
1435
|
properties: {
|
|
@@ -1449,7 +1449,7 @@ const Su = [
|
|
|
1449
1449
|
},
|
|
1450
1450
|
filters: H(Array.from(/* @__PURE__ */ new Set([
|
|
1451
1451
|
...Nn,
|
|
1452
|
-
...
|
|
1452
|
+
...Ha,
|
|
1453
1453
|
...Pn
|
|
1454
1454
|
]))),
|
|
1455
1455
|
time_range: V.time_range,
|
|
@@ -1465,77 +1465,77 @@ const Su = [
|
|
|
1465
1465
|
extra_fields: {
|
|
1466
1466
|
type: "array",
|
|
1467
1467
|
description: "Values to annotate each point with in the tooltip. Read from the unrolled entry first, then the request record.",
|
|
1468
|
-
items:
|
|
1468
|
+
items: Si
|
|
1469
1469
|
}
|
|
1470
1470
|
},
|
|
1471
1471
|
required: ["datasource", "metric"],
|
|
1472
1472
|
additionalProperties: !1
|
|
1473
1473
|
}, jn = [
|
|
1474
|
-
mi,
|
|
1475
|
-
fi,
|
|
1476
|
-
pi,
|
|
1477
1474
|
hi,
|
|
1478
1475
|
yi,
|
|
1479
|
-
_i
|
|
1480
|
-
|
|
1476
|
+
_i,
|
|
1477
|
+
gi,
|
|
1478
|
+
wi,
|
|
1479
|
+
Ti
|
|
1480
|
+
], Di = {
|
|
1481
1481
|
anyOf: jn
|
|
1482
1482
|
}, Wn = [
|
|
1483
|
-
|
|
1484
|
-
],
|
|
1483
|
+
bi
|
|
1484
|
+
], Mi = {
|
|
1485
1485
|
anyOf: Wn
|
|
1486
|
-
},
|
|
1486
|
+
}, Lu = {
|
|
1487
1487
|
anyOf: [
|
|
1488
1488
|
...jn,
|
|
1489
1489
|
...Wn
|
|
1490
1490
|
]
|
|
1491
|
-
},
|
|
1491
|
+
}, vi = {
|
|
1492
1492
|
anyOf: [
|
|
1493
|
-
$a,
|
|
1494
|
-
Xa,
|
|
1495
|
-
Za,
|
|
1496
|
-
Ja,
|
|
1497
|
-
ei,
|
|
1498
1493
|
Va,
|
|
1499
|
-
|
|
1500
|
-
|
|
1494
|
+
ei,
|
|
1495
|
+
ti,
|
|
1501
1496
|
ni,
|
|
1502
|
-
|
|
1503
|
-
|
|
1497
|
+
ri,
|
|
1498
|
+
Za,
|
|
1499
|
+
Yn,
|
|
1500
|
+
ui,
|
|
1501
|
+
ii,
|
|
1504
1502
|
si,
|
|
1505
|
-
|
|
1503
|
+
Ba,
|
|
1504
|
+
li,
|
|
1505
|
+
di
|
|
1506
1506
|
]
|
|
1507
|
-
},
|
|
1507
|
+
}, Ri = {
|
|
1508
1508
|
type: "object",
|
|
1509
1509
|
properties: {
|
|
1510
|
-
query:
|
|
1511
|
-
chart:
|
|
1510
|
+
query: Di,
|
|
1511
|
+
chart: vi,
|
|
1512
1512
|
header_description: lt
|
|
1513
1513
|
},
|
|
1514
1514
|
required: ["query", "chart"],
|
|
1515
1515
|
additionalProperties: !1
|
|
1516
|
-
},
|
|
1516
|
+
}, Ci = {
|
|
1517
1517
|
type: "object",
|
|
1518
1518
|
properties: {
|
|
1519
|
-
query:
|
|
1520
|
-
chart:
|
|
1519
|
+
query: Mi,
|
|
1520
|
+
chart: ci,
|
|
1521
1521
|
header_description: lt
|
|
1522
1522
|
},
|
|
1523
1523
|
required: ["query", "chart"],
|
|
1524
1524
|
additionalProperties: !1
|
|
1525
|
-
},
|
|
1525
|
+
}, Ei = {
|
|
1526
1526
|
type: "object",
|
|
1527
1527
|
properties: {
|
|
1528
|
-
query:
|
|
1528
|
+
query: Oi,
|
|
1529
1529
|
chart: Yn,
|
|
1530
1530
|
header_description: lt
|
|
1531
1531
|
},
|
|
1532
1532
|
required: ["query", "chart"],
|
|
1533
1533
|
additionalProperties: !1
|
|
1534
|
-
},
|
|
1534
|
+
}, Ii = {
|
|
1535
1535
|
anyOf: [
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1536
|
+
Ri,
|
|
1537
|
+
Ci,
|
|
1538
|
+
Ei
|
|
1539
1539
|
]
|
|
1540
1540
|
}, Kn = {
|
|
1541
1541
|
type: "object",
|
|
@@ -1574,14 +1574,14 @@ const Su = [
|
|
|
1574
1574
|
},
|
|
1575
1575
|
required: ["position", "size"],
|
|
1576
1576
|
additionalProperties: !1
|
|
1577
|
-
},
|
|
1577
|
+
}, Ai = {
|
|
1578
1578
|
type: "object",
|
|
1579
1579
|
properties: {
|
|
1580
1580
|
type: {
|
|
1581
1581
|
type: "string",
|
|
1582
1582
|
enum: ["chart"]
|
|
1583
1583
|
},
|
|
1584
|
-
definition:
|
|
1584
|
+
definition: Ii,
|
|
1585
1585
|
layout: Kn,
|
|
1586
1586
|
id: {
|
|
1587
1587
|
type: "string",
|
|
@@ -1590,7 +1590,7 @@ const Su = [
|
|
|
1590
1590
|
},
|
|
1591
1591
|
required: ["type", "definition", "layout"],
|
|
1592
1592
|
additionalProperties: !1
|
|
1593
|
-
},
|
|
1593
|
+
}, Ui = {
|
|
1594
1594
|
type: "object",
|
|
1595
1595
|
description: "A tile that renders arbitrary content into a named slot instead of a chart. The slot name is the tile `id`.",
|
|
1596
1596
|
properties: {
|
|
@@ -1606,17 +1606,17 @@ const Su = [
|
|
|
1606
1606
|
},
|
|
1607
1607
|
required: ["type", "id", "layout"],
|
|
1608
1608
|
additionalProperties: !1
|
|
1609
|
-
},
|
|
1609
|
+
}, Ni = {
|
|
1610
1610
|
anyOf: [
|
|
1611
|
-
|
|
1612
|
-
|
|
1611
|
+
Ai,
|
|
1612
|
+
Ui
|
|
1613
1613
|
]
|
|
1614
|
-
},
|
|
1614
|
+
}, Gu = {
|
|
1615
1615
|
type: "object",
|
|
1616
1616
|
properties: {
|
|
1617
1617
|
tiles: {
|
|
1618
1618
|
type: "array",
|
|
1619
|
-
items:
|
|
1619
|
+
items: Ni
|
|
1620
1620
|
},
|
|
1621
1621
|
tile_height: {
|
|
1622
1622
|
type: "number",
|
|
@@ -1632,7 +1632,7 @@ const Su = [
|
|
|
1632
1632
|
...Ne,
|
|
1633
1633
|
...xe,
|
|
1634
1634
|
...ke,
|
|
1635
|
-
...
|
|
1635
|
+
...pi,
|
|
1636
1636
|
...ct
|
|
1637
1637
|
])
|
|
1638
1638
|
]),
|
|
@@ -1643,10 +1643,10 @@ const Su = [
|
|
|
1643
1643
|
},
|
|
1644
1644
|
required: ["tiles"],
|
|
1645
1645
|
additionalProperties: !1
|
|
1646
|
-
},
|
|
1646
|
+
}, Yu = (e) => {
|
|
1647
1647
|
const t = [];
|
|
1648
1648
|
return Ne.includes(e) && t.push("basic"), Pe.includes(e) && t.push("api_usage"), xe.includes(e) && t.push("llm_usage"), ke.includes(e) && t.push("agentic_usage"), (Nn.includes(e) || Pn.includes(e)) && t.push("requests"), t;
|
|
1649
|
-
},
|
|
1649
|
+
}, Pi = {
|
|
1650
1650
|
lessThanXSeconds: {
|
|
1651
1651
|
one: "less than a second",
|
|
1652
1652
|
other: "less than {{count}} seconds"
|
|
@@ -1708,9 +1708,9 @@ const Su = [
|
|
|
1708
1708
|
one: "almost 1 year",
|
|
1709
1709
|
other: "almost {{count}} years"
|
|
1710
1710
|
}
|
|
1711
|
-
},
|
|
1711
|
+
}, xi = (e, t, n) => {
|
|
1712
1712
|
let r;
|
|
1713
|
-
const i =
|
|
1713
|
+
const i = Pi[e];
|
|
1714
1714
|
return typeof i == "string" ? r = i : t === 1 ? r = i.one : r = i.other.replace("{{count}}", t.toString()), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
|
|
1715
1715
|
};
|
|
1716
1716
|
function Qe(e) {
|
|
@@ -1719,42 +1719,42 @@ function Qe(e) {
|
|
|
1719
1719
|
return e.formats[n] || e.formats[e.defaultWidth];
|
|
1720
1720
|
};
|
|
1721
1721
|
}
|
|
1722
|
-
const
|
|
1722
|
+
const ki = {
|
|
1723
1723
|
full: "EEEE, MMMM do, y",
|
|
1724
1724
|
long: "MMMM do, y",
|
|
1725
1725
|
medium: "MMM d, y",
|
|
1726
1726
|
short: "MM/dd/yyyy"
|
|
1727
|
-
},
|
|
1727
|
+
}, Li = {
|
|
1728
1728
|
full: "h:mm:ss a zzzz",
|
|
1729
1729
|
long: "h:mm:ss a z",
|
|
1730
1730
|
medium: "h:mm:ss a",
|
|
1731
1731
|
short: "h:mm a"
|
|
1732
|
-
},
|
|
1732
|
+
}, Gi = {
|
|
1733
1733
|
full: "{{date}} 'at' {{time}}",
|
|
1734
1734
|
long: "{{date}} 'at' {{time}}",
|
|
1735
1735
|
medium: "{{date}}, {{time}}",
|
|
1736
1736
|
short: "{{date}}, {{time}}"
|
|
1737
|
-
},
|
|
1737
|
+
}, Yi = {
|
|
1738
1738
|
date: Qe({
|
|
1739
|
-
formats:
|
|
1739
|
+
formats: ki,
|
|
1740
1740
|
defaultWidth: "full"
|
|
1741
1741
|
}),
|
|
1742
1742
|
time: Qe({
|
|
1743
|
-
formats:
|
|
1743
|
+
formats: Li,
|
|
1744
1744
|
defaultWidth: "full"
|
|
1745
1745
|
}),
|
|
1746
1746
|
dateTime: Qe({
|
|
1747
|
-
formats:
|
|
1747
|
+
formats: Gi,
|
|
1748
1748
|
defaultWidth: "full"
|
|
1749
1749
|
})
|
|
1750
|
-
},
|
|
1750
|
+
}, Fi = {
|
|
1751
1751
|
lastWeek: "'last' eeee 'at' p",
|
|
1752
1752
|
yesterday: "'yesterday at' p",
|
|
1753
1753
|
today: "'today at' p",
|
|
1754
1754
|
tomorrow: "'tomorrow at' p",
|
|
1755
1755
|
nextWeek: "eeee 'at' p",
|
|
1756
1756
|
other: "P"
|
|
1757
|
-
},
|
|
1757
|
+
}, qi = (e, t, n, r) => Fi[e];
|
|
1758
1758
|
function fe(e) {
|
|
1759
1759
|
return (t, n) => {
|
|
1760
1760
|
const r = n?.context ? String(n.context) : "standalone";
|
|
@@ -1770,15 +1770,15 @@ function fe(e) {
|
|
|
1770
1770
|
return i[o];
|
|
1771
1771
|
};
|
|
1772
1772
|
}
|
|
1773
|
-
const
|
|
1773
|
+
const Hi = {
|
|
1774
1774
|
narrow: ["B", "A"],
|
|
1775
1775
|
abbreviated: ["BC", "AD"],
|
|
1776
1776
|
wide: ["Before Christ", "Anno Domini"]
|
|
1777
|
-
},
|
|
1777
|
+
}, ji = {
|
|
1778
1778
|
narrow: ["1", "2", "3", "4"],
|
|
1779
1779
|
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
|
1780
1780
|
wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
|
|
1781
|
-
},
|
|
1781
|
+
}, Wi = {
|
|
1782
1782
|
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
|
1783
1783
|
abbreviated: [
|
|
1784
1784
|
"Jan",
|
|
@@ -1808,7 +1808,7 @@ const Yi = {
|
|
|
1808
1808
|
"November",
|
|
1809
1809
|
"December"
|
|
1810
1810
|
]
|
|
1811
|
-
},
|
|
1811
|
+
}, Ki = {
|
|
1812
1812
|
narrow: ["S", "M", "T", "W", "T", "F", "S"],
|
|
1813
1813
|
short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
1814
1814
|
abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
|
|
@@ -1821,7 +1821,7 @@ const Yi = {
|
|
|
1821
1821
|
"Friday",
|
|
1822
1822
|
"Saturday"
|
|
1823
1823
|
]
|
|
1824
|
-
},
|
|
1824
|
+
}, $i = {
|
|
1825
1825
|
narrow: {
|
|
1826
1826
|
am: "a",
|
|
1827
1827
|
pm: "p",
|
|
@@ -1852,7 +1852,7 @@ const Yi = {
|
|
|
1852
1852
|
evening: "evening",
|
|
1853
1853
|
night: "night"
|
|
1854
1854
|
}
|
|
1855
|
-
},
|
|
1855
|
+
}, zi = {
|
|
1856
1856
|
narrow: {
|
|
1857
1857
|
am: "a",
|
|
1858
1858
|
pm: "p",
|
|
@@ -1883,7 +1883,7 @@ const Yi = {
|
|
|
1883
1883
|
evening: "in the evening",
|
|
1884
1884
|
night: "at night"
|
|
1885
1885
|
}
|
|
1886
|
-
},
|
|
1886
|
+
}, Bi = (e, t) => {
|
|
1887
1887
|
const n = Number(e), r = n % 100;
|
|
1888
1888
|
if (r > 20 || r < 10)
|
|
1889
1889
|
switch (r % 10) {
|
|
@@ -1895,29 +1895,29 @@ const Yi = {
|
|
|
1895
1895
|
return n + "rd";
|
|
1896
1896
|
}
|
|
1897
1897
|
return n + "th";
|
|
1898
|
-
},
|
|
1899
|
-
ordinalNumber:
|
|
1898
|
+
}, Vi = {
|
|
1899
|
+
ordinalNumber: Bi,
|
|
1900
1900
|
era: fe({
|
|
1901
|
-
values:
|
|
1901
|
+
values: Hi,
|
|
1902
1902
|
defaultWidth: "wide"
|
|
1903
1903
|
}),
|
|
1904
1904
|
quarter: fe({
|
|
1905
|
-
values:
|
|
1905
|
+
values: ji,
|
|
1906
1906
|
defaultWidth: "wide",
|
|
1907
1907
|
argumentCallback: (e) => e - 1
|
|
1908
1908
|
}),
|
|
1909
1909
|
month: fe({
|
|
1910
|
-
values:
|
|
1910
|
+
values: Wi,
|
|
1911
1911
|
defaultWidth: "wide"
|
|
1912
1912
|
}),
|
|
1913
1913
|
day: fe({
|
|
1914
|
-
values:
|
|
1914
|
+
values: Ki,
|
|
1915
1915
|
defaultWidth: "wide"
|
|
1916
1916
|
}),
|
|
1917
1917
|
dayPeriod: fe({
|
|
1918
|
-
values:
|
|
1918
|
+
values: $i,
|
|
1919
1919
|
defaultWidth: "wide",
|
|
1920
|
-
formattingValues:
|
|
1920
|
+
formattingValues: zi,
|
|
1921
1921
|
defaultFormattingWidth: "wide"
|
|
1922
1922
|
})
|
|
1923
1923
|
};
|
|
@@ -1926,9 +1926,9 @@ function pe(e) {
|
|
|
1926
1926
|
const r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], o = t.match(i);
|
|
1927
1927
|
if (!o)
|
|
1928
1928
|
return null;
|
|
1929
|
-
const c = o[0], l = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], f = Array.isArray(l) ?
|
|
1929
|
+
const c = o[0], l = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], f = Array.isArray(l) ? Xi(l, (p) => p.test(c)) : (
|
|
1930
1930
|
// [TODO] -- I challenge you to fix the type
|
|
1931
|
-
|
|
1931
|
+
Qi(l, (p) => p.test(c))
|
|
1932
1932
|
);
|
|
1933
1933
|
let _;
|
|
1934
1934
|
_ = e.valueCallback ? e.valueCallback(f) : f, _ = n.valueCallback ? (
|
|
@@ -1939,17 +1939,17 @@ function pe(e) {
|
|
|
1939
1939
|
return { value: _, rest: h };
|
|
1940
1940
|
};
|
|
1941
1941
|
}
|
|
1942
|
-
function
|
|
1942
|
+
function Qi(e, t) {
|
|
1943
1943
|
for (const n in e)
|
|
1944
1944
|
if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n]))
|
|
1945
1945
|
return n;
|
|
1946
1946
|
}
|
|
1947
|
-
function
|
|
1947
|
+
function Xi(e, t) {
|
|
1948
1948
|
for (let n = 0; n < e.length; n++)
|
|
1949
1949
|
if (t(e[n]))
|
|
1950
1950
|
return n;
|
|
1951
1951
|
}
|
|
1952
|
-
function
|
|
1952
|
+
function Zi(e) {
|
|
1953
1953
|
return (t, n = {}) => {
|
|
1954
1954
|
const r = t.match(e.matchPattern);
|
|
1955
1955
|
if (!r) return null;
|
|
@@ -1961,23 +1961,23 @@ function Vi(e) {
|
|
|
1961
1961
|
return { value: c, rest: l };
|
|
1962
1962
|
};
|
|
1963
1963
|
}
|
|
1964
|
-
const
|
|
1964
|
+
const Ji = /^(\d+)(th|st|nd|rd)?/i, eo = /\d+/i, to = {
|
|
1965
1965
|
narrow: /^(b|a)/i,
|
|
1966
1966
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
1967
1967
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
1968
|
-
},
|
|
1968
|
+
}, no = {
|
|
1969
1969
|
any: [/^b/i, /^(a|c)/i]
|
|
1970
|
-
},
|
|
1970
|
+
}, ro = {
|
|
1971
1971
|
narrow: /^[1234]/i,
|
|
1972
1972
|
abbreviated: /^q[1234]/i,
|
|
1973
1973
|
wide: /^[1234](th|st|nd|rd)? quarter/i
|
|
1974
|
-
},
|
|
1974
|
+
}, ao = {
|
|
1975
1975
|
any: [/1/i, /2/i, /3/i, /4/i]
|
|
1976
|
-
},
|
|
1976
|
+
}, io = {
|
|
1977
1977
|
narrow: /^[jfmasond]/i,
|
|
1978
1978
|
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
|
1979
1979
|
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
|
1980
|
-
},
|
|
1980
|
+
}, oo = {
|
|
1981
1981
|
narrow: [
|
|
1982
1982
|
/^j/i,
|
|
1983
1983
|
/^f/i,
|
|
@@ -2006,18 +2006,18 @@ const Qi = /^(\d+)(th|st|nd|rd)?/i, Xi = /\d+/i, Zi = {
|
|
|
2006
2006
|
/^n/i,
|
|
2007
2007
|
/^d/i
|
|
2008
2008
|
]
|
|
2009
|
-
},
|
|
2009
|
+
}, so = {
|
|
2010
2010
|
narrow: /^[smtwf]/i,
|
|
2011
2011
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
2012
2012
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
2013
2013
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
2014
|
-
},
|
|
2014
|
+
}, co = {
|
|
2015
2015
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
2016
2016
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
2017
|
-
},
|
|
2017
|
+
}, uo = {
|
|
2018
2018
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
2019
2019
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
2020
|
-
},
|
|
2020
|
+
}, lo = {
|
|
2021
2021
|
any: {
|
|
2022
2022
|
am: /^a/i,
|
|
2023
2023
|
pm: /^p/i,
|
|
@@ -2028,60 +2028,60 @@ const Qi = /^(\d+)(th|st|nd|rd)?/i, Xi = /\d+/i, Zi = {
|
|
|
2028
2028
|
evening: /evening/i,
|
|
2029
2029
|
night: /night/i
|
|
2030
2030
|
}
|
|
2031
|
-
},
|
|
2032
|
-
ordinalNumber:
|
|
2033
|
-
matchPattern:
|
|
2034
|
-
parsePattern:
|
|
2031
|
+
}, mo = {
|
|
2032
|
+
ordinalNumber: Zi({
|
|
2033
|
+
matchPattern: Ji,
|
|
2034
|
+
parsePattern: eo,
|
|
2035
2035
|
valueCallback: (e) => parseInt(e, 10)
|
|
2036
2036
|
}),
|
|
2037
2037
|
era: pe({
|
|
2038
|
-
matchPatterns:
|
|
2038
|
+
matchPatterns: to,
|
|
2039
2039
|
defaultMatchWidth: "wide",
|
|
2040
|
-
parsePatterns:
|
|
2040
|
+
parsePatterns: no,
|
|
2041
2041
|
defaultParseWidth: "any"
|
|
2042
2042
|
}),
|
|
2043
2043
|
quarter: pe({
|
|
2044
|
-
matchPatterns:
|
|
2044
|
+
matchPatterns: ro,
|
|
2045
2045
|
defaultMatchWidth: "wide",
|
|
2046
|
-
parsePatterns:
|
|
2046
|
+
parsePatterns: ao,
|
|
2047
2047
|
defaultParseWidth: "any",
|
|
2048
2048
|
valueCallback: (e) => e + 1
|
|
2049
2049
|
}),
|
|
2050
2050
|
month: pe({
|
|
2051
|
-
matchPatterns:
|
|
2051
|
+
matchPatterns: io,
|
|
2052
2052
|
defaultMatchWidth: "wide",
|
|
2053
|
-
parsePatterns:
|
|
2053
|
+
parsePatterns: oo,
|
|
2054
2054
|
defaultParseWidth: "any"
|
|
2055
2055
|
}),
|
|
2056
2056
|
day: pe({
|
|
2057
|
-
matchPatterns:
|
|
2057
|
+
matchPatterns: so,
|
|
2058
2058
|
defaultMatchWidth: "wide",
|
|
2059
|
-
parsePatterns:
|
|
2059
|
+
parsePatterns: co,
|
|
2060
2060
|
defaultParseWidth: "any"
|
|
2061
2061
|
}),
|
|
2062
2062
|
dayPeriod: pe({
|
|
2063
|
-
matchPatterns:
|
|
2063
|
+
matchPatterns: uo,
|
|
2064
2064
|
defaultMatchWidth: "any",
|
|
2065
|
-
parsePatterns:
|
|
2065
|
+
parsePatterns: lo,
|
|
2066
2066
|
defaultParseWidth: "any"
|
|
2067
2067
|
})
|
|
2068
|
-
},
|
|
2068
|
+
}, fo = {
|
|
2069
2069
|
code: "en-US",
|
|
2070
|
-
formatDistance:
|
|
2071
|
-
formatLong:
|
|
2072
|
-
formatRelative:
|
|
2073
|
-
localize:
|
|
2074
|
-
match:
|
|
2070
|
+
formatDistance: xi,
|
|
2071
|
+
formatLong: Yi,
|
|
2072
|
+
formatRelative: qi,
|
|
2073
|
+
localize: Vi,
|
|
2074
|
+
match: mo,
|
|
2075
2075
|
options: {
|
|
2076
2076
|
weekStartsOn: 0,
|
|
2077
2077
|
firstWeekContainsDate: 1
|
|
2078
2078
|
}
|
|
2079
2079
|
};
|
|
2080
|
-
let
|
|
2080
|
+
let po = {};
|
|
2081
2081
|
function ge() {
|
|
2082
|
-
return
|
|
2082
|
+
return po;
|
|
2083
2083
|
}
|
|
2084
|
-
const $n = 6048e5,
|
|
2084
|
+
const $n = 6048e5, ho = 864e5, yo = 60, _o = 3600, Xt = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
2085
2085
|
function N(e, t) {
|
|
2086
2086
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && Xt in e ? e[Xt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
2087
2087
|
}
|
|
@@ -2102,7 +2102,7 @@ function Zt(e) {
|
|
|
2102
2102
|
);
|
|
2103
2103
|
return n.setUTCFullYear(t.getFullYear()), +e - +n;
|
|
2104
2104
|
}
|
|
2105
|
-
function
|
|
2105
|
+
function go(e, ...t) {
|
|
2106
2106
|
const n = N.bind(
|
|
2107
2107
|
null,
|
|
2108
2108
|
t.find((r) => typeof r == "object")
|
|
@@ -2113,21 +2113,21 @@ function re(e, t) {
|
|
|
2113
2113
|
const n = O(e, t?.in);
|
|
2114
2114
|
return n.setHours(0, 0, 0, 0), n;
|
|
2115
2115
|
}
|
|
2116
|
-
function
|
|
2117
|
-
const [r, i] =
|
|
2116
|
+
function wo(e, t, n) {
|
|
2117
|
+
const [r, i] = go(
|
|
2118
2118
|
n?.in,
|
|
2119
2119
|
e,
|
|
2120
2120
|
t
|
|
2121
2121
|
), o = re(r), c = re(i), l = +o - Zt(o), f = +c - Zt(c);
|
|
2122
|
-
return Math.round((l - f) /
|
|
2122
|
+
return Math.round((l - f) / ho);
|
|
2123
2123
|
}
|
|
2124
|
-
function
|
|
2124
|
+
function To(e, t) {
|
|
2125
2125
|
const n = O(e, t?.in);
|
|
2126
2126
|
return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
|
|
2127
2127
|
}
|
|
2128
|
-
function
|
|
2128
|
+
function bo(e, t) {
|
|
2129
2129
|
const n = O(e, t?.in);
|
|
2130
|
-
return
|
|
2130
|
+
return wo(n, To(n)) + 1;
|
|
2131
2131
|
}
|
|
2132
2132
|
function Y(e, t) {
|
|
2133
2133
|
const n = ge(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = O(e, t?.in), o = i.getDay(), c = (o < r ? 7 : 0) + o - r;
|
|
@@ -2144,12 +2144,12 @@ function zn(e, t) {
|
|
|
2144
2144
|
const l = Ie(c);
|
|
2145
2145
|
return n.getTime() >= o.getTime() ? r + 1 : n.getTime() >= l.getTime() ? r : r - 1;
|
|
2146
2146
|
}
|
|
2147
|
-
function
|
|
2147
|
+
function So(e, t) {
|
|
2148
2148
|
const n = zn(e, t), r = N(e, 0);
|
|
2149
2149
|
return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), Ie(r);
|
|
2150
2150
|
}
|
|
2151
|
-
function
|
|
2152
|
-
const n = O(e, t?.in), r = +Ie(n) - +
|
|
2151
|
+
function Oo(e, t) {
|
|
2152
|
+
const n = O(e, t?.in), r = +Ie(n) - +So(n);
|
|
2153
2153
|
return Math.round(r / $n) + 1;
|
|
2154
2154
|
}
|
|
2155
2155
|
function Bn(e, t) {
|
|
@@ -2160,12 +2160,12 @@ function Bn(e, t) {
|
|
|
2160
2160
|
const _ = Y(f, t);
|
|
2161
2161
|
return +n >= +l ? r + 1 : +n >= +_ ? r : r - 1;
|
|
2162
2162
|
}
|
|
2163
|
-
function
|
|
2163
|
+
function Do(e, t) {
|
|
2164
2164
|
const n = ge(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = Bn(e, t), o = N(t?.in || e, 0);
|
|
2165
2165
|
return o.setFullYear(i, 0, r), o.setHours(0, 0, 0, 0), Y(o, t);
|
|
2166
2166
|
}
|
|
2167
|
-
function
|
|
2168
|
-
const n = O(e, t?.in), r = +Y(n, t) - +
|
|
2167
|
+
function Mo(e, t) {
|
|
2168
|
+
const n = O(e, t?.in), r = +Y(n, t) - +Do(n, t);
|
|
2169
2169
|
return Math.round(r / $n) + 1;
|
|
2170
2170
|
}
|
|
2171
2171
|
function T(e, t) {
|
|
@@ -2405,12 +2405,12 @@ const q = {
|
|
|
2405
2405
|
},
|
|
2406
2406
|
// Local week of year
|
|
2407
2407
|
w: function(e, t, n, r) {
|
|
2408
|
-
const i =
|
|
2408
|
+
const i = Mo(e, r);
|
|
2409
2409
|
return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) : T(i, t.length);
|
|
2410
2410
|
},
|
|
2411
2411
|
// ISO week of year
|
|
2412
2412
|
I: function(e, t, n) {
|
|
2413
|
-
const r =
|
|
2413
|
+
const r = Oo(e);
|
|
2414
2414
|
return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : T(r, t.length);
|
|
2415
2415
|
},
|
|
2416
2416
|
// Day of the month
|
|
@@ -2419,7 +2419,7 @@ const q = {
|
|
|
2419
2419
|
},
|
|
2420
2420
|
// Day of year
|
|
2421
2421
|
D: function(e, t, n) {
|
|
2422
|
-
const r =
|
|
2422
|
+
const r = bo(e);
|
|
2423
2423
|
return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : T(r, t.length);
|
|
2424
2424
|
},
|
|
2425
2425
|
// Day of week
|
|
@@ -2785,7 +2785,7 @@ const nn = (e, t) => {
|
|
|
2785
2785
|
default:
|
|
2786
2786
|
return t.time({ width: "full" });
|
|
2787
2787
|
}
|
|
2788
|
-
},
|
|
2788
|
+
}, vo = (e, t) => {
|
|
2789
2789
|
const n = e.match(/(P+)(p+)?/) || [], r = n[1], i = n[2];
|
|
2790
2790
|
if (!i)
|
|
2791
2791
|
return nn(e, t);
|
|
@@ -2805,51 +2805,51 @@ const nn = (e, t) => {
|
|
|
2805
2805
|
break;
|
|
2806
2806
|
}
|
|
2807
2807
|
return o.replace("{{date}}", nn(r, t)).replace("{{time}}", Vn(i, t));
|
|
2808
|
-
},
|
|
2808
|
+
}, Ro = {
|
|
2809
2809
|
p: Vn,
|
|
2810
|
-
P:
|
|
2811
|
-
},
|
|
2812
|
-
function
|
|
2813
|
-
return
|
|
2810
|
+
P: vo
|
|
2811
|
+
}, Co = /^D+$/, Eo = /^Y+$/, Io = ["D", "DD", "YY", "YYYY"];
|
|
2812
|
+
function Ao(e) {
|
|
2813
|
+
return Co.test(e);
|
|
2814
2814
|
}
|
|
2815
|
-
function
|
|
2816
|
-
return
|
|
2815
|
+
function Uo(e) {
|
|
2816
|
+
return Eo.test(e);
|
|
2817
2817
|
}
|
|
2818
|
-
function
|
|
2819
|
-
const r =
|
|
2820
|
-
if (console.warn(r),
|
|
2818
|
+
function No(e, t, n) {
|
|
2819
|
+
const r = Po(e, t, n);
|
|
2820
|
+
if (console.warn(r), Io.includes(e)) throw new RangeError(r);
|
|
2821
2821
|
}
|
|
2822
|
-
function
|
|
2822
|
+
function Po(e, t, n) {
|
|
2823
2823
|
const r = e[0] === "Y" ? "years" : "days of the month";
|
|
2824
2824
|
return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
2825
2825
|
}
|
|
2826
|
-
function
|
|
2826
|
+
function xo(e) {
|
|
2827
2827
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
2828
2828
|
}
|
|
2829
|
-
function
|
|
2830
|
-
return !(!
|
|
2829
|
+
function ko(e) {
|
|
2830
|
+
return !(!xo(e) && typeof e != "number" || isNaN(+O(e)));
|
|
2831
2831
|
}
|
|
2832
|
-
const
|
|
2833
|
-
function
|
|
2834
|
-
const r = ge(), i = n?.locale ?? r.locale ??
|
|
2835
|
-
if (!
|
|
2832
|
+
const Lo = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Go = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Yo = /^'([^]*?)'?$/, Fo = /''/g, qo = /[a-zA-Z]/;
|
|
2833
|
+
function Ho(e, t, n) {
|
|
2834
|
+
const r = ge(), i = n?.locale ?? r.locale ?? fo, o = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, c = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, l = O(e, n?.in);
|
|
2835
|
+
if (!ko(l))
|
|
2836
2836
|
throw new RangeError("Invalid time value");
|
|
2837
|
-
let f = t.match(
|
|
2837
|
+
let f = t.match(Go).map((h) => {
|
|
2838
2838
|
const p = h[0];
|
|
2839
2839
|
if (p === "p" || p === "P") {
|
|
2840
|
-
const g =
|
|
2840
|
+
const g = Ro[p];
|
|
2841
2841
|
return g(h, i.formatLong);
|
|
2842
2842
|
}
|
|
2843
2843
|
return h;
|
|
2844
|
-
}).join("").match(
|
|
2844
|
+
}).join("").match(Lo).map((h) => {
|
|
2845
2845
|
if (h === "''")
|
|
2846
2846
|
return { isToken: !1, value: "'" };
|
|
2847
2847
|
const p = h[0];
|
|
2848
2848
|
if (p === "'")
|
|
2849
|
-
return { isToken: !1, value:
|
|
2849
|
+
return { isToken: !1, value: jo(h) };
|
|
2850
2850
|
if (Jt[p])
|
|
2851
2851
|
return { isToken: !0, value: h };
|
|
2852
|
-
if (p.match(
|
|
2852
|
+
if (p.match(qo))
|
|
2853
2853
|
throw new RangeError(
|
|
2854
2854
|
"Format string contains an unescaped latin alphabet character `" + p + "`"
|
|
2855
2855
|
);
|
|
@@ -2864,16 +2864,16 @@ function Yo(e, t, n) {
|
|
|
2864
2864
|
return f.map((h) => {
|
|
2865
2865
|
if (!h.isToken) return h.value;
|
|
2866
2866
|
const p = h.value;
|
|
2867
|
-
(!n?.useAdditionalWeekYearTokens &&
|
|
2867
|
+
(!n?.useAdditionalWeekYearTokens && Uo(p) || !n?.useAdditionalDayOfYearTokens && Ao(p)) && No(p, t, String(e));
|
|
2868
2868
|
const g = Jt[p[0]];
|
|
2869
2869
|
return g(l, p, i.localize, _);
|
|
2870
2870
|
}).join("");
|
|
2871
2871
|
}
|
|
2872
|
-
function
|
|
2873
|
-
const t = e.match(
|
|
2874
|
-
return t ? t[1].replace(
|
|
2872
|
+
function jo(e) {
|
|
2873
|
+
const t = e.match(Yo);
|
|
2874
|
+
return t ? t[1].replace(Fo, "'") : e;
|
|
2875
2875
|
}
|
|
2876
|
-
function
|
|
2876
|
+
function Re(e, t, n) {
|
|
2877
2877
|
const r = O(e, n?.in);
|
|
2878
2878
|
return isNaN(t) ? N(e, NaN) : (r.setDate(r.getDate() + t), r);
|
|
2879
2879
|
}
|
|
@@ -2891,7 +2891,7 @@ function Qn(e, t, n) {
|
|
|
2891
2891
|
i
|
|
2892
2892
|
), r);
|
|
2893
2893
|
}
|
|
2894
|
-
function
|
|
2894
|
+
function Wo(e, t, n) {
|
|
2895
2895
|
return Qn(e, t * 3, n);
|
|
2896
2896
|
}
|
|
2897
2897
|
function ae(e, t) {
|
|
@@ -2902,11 +2902,11 @@ function ie(e, t) {
|
|
|
2902
2902
|
const n = O(e, t?.in);
|
|
2903
2903
|
return n.setDate(1), n.setHours(0, 0, 0, 0), n;
|
|
2904
2904
|
}
|
|
2905
|
-
function
|
|
2905
|
+
function Ko(e, t) {
|
|
2906
2906
|
const n = O(e, t?.in), r = n.getFullYear(), i = n.getMonth(), o = N(n, 0);
|
|
2907
2907
|
return o.setFullYear(r, i + 1, 0), o.setHours(0, 0, 0, 0), o.getDate();
|
|
2908
2908
|
}
|
|
2909
|
-
function
|
|
2909
|
+
function $o() {
|
|
2910
2910
|
return Object.assign({}, ge());
|
|
2911
2911
|
}
|
|
2912
2912
|
function rn(e) {
|
|
@@ -2916,43 +2916,43 @@ function an(e) {
|
|
|
2916
2916
|
return Math.trunc(+O(e) / 1e3);
|
|
2917
2917
|
}
|
|
2918
2918
|
function on(e) {
|
|
2919
|
-
return Math.trunc(e *
|
|
2919
|
+
return Math.trunc(e * _o);
|
|
2920
2920
|
}
|
|
2921
|
-
function
|
|
2922
|
-
const t = e /
|
|
2921
|
+
function zo(e) {
|
|
2922
|
+
const t = e / yo;
|
|
2923
2923
|
return Math.trunc(t);
|
|
2924
2924
|
}
|
|
2925
2925
|
function Xn(e, t, n) {
|
|
2926
2926
|
return Qn(e, -1, n);
|
|
2927
2927
|
}
|
|
2928
2928
|
function Zn(e, t, n) {
|
|
2929
|
-
return
|
|
2929
|
+
return Wo(e, -1, n);
|
|
2930
2930
|
}
|
|
2931
2931
|
function sn(e, t, n) {
|
|
2932
|
-
const r =
|
|
2933
|
-
return "formatToParts" in i ?
|
|
2932
|
+
const r = $o(), i = Qo(e, n.timeZone, n.locale ?? r.locale);
|
|
2933
|
+
return "formatToParts" in i ? Bo(i, t) : Vo(i, t);
|
|
2934
2934
|
}
|
|
2935
|
-
function
|
|
2935
|
+
function Bo(e, t) {
|
|
2936
2936
|
const n = e.formatToParts(t);
|
|
2937
2937
|
for (let r = n.length - 1; r >= 0; --r)
|
|
2938
2938
|
if (n[r].type === "timeZoneName")
|
|
2939
2939
|
return n[r].value;
|
|
2940
2940
|
}
|
|
2941
|
-
function
|
|
2941
|
+
function Vo(e, t) {
|
|
2942
2942
|
const n = e.format(t).replace(/\u200E/g, ""), r = / [\w-+ ]+$/.exec(n);
|
|
2943
2943
|
return r ? r[0].substr(1) : "";
|
|
2944
2944
|
}
|
|
2945
|
-
function
|
|
2945
|
+
function Qo(e, t, n) {
|
|
2946
2946
|
return new Intl.DateTimeFormat(n ? [n.code, "en-US"] : void 0, {
|
|
2947
2947
|
timeZone: t,
|
|
2948
2948
|
timeZoneName: e
|
|
2949
2949
|
});
|
|
2950
2950
|
}
|
|
2951
|
-
function
|
|
2952
|
-
const n =
|
|
2953
|
-
return "formatToParts" in n ?
|
|
2951
|
+
function Xo(e, t) {
|
|
2952
|
+
const n = ns(t);
|
|
2953
|
+
return "formatToParts" in n ? Jo(n, e) : es(n, e);
|
|
2954
2954
|
}
|
|
2955
|
-
const
|
|
2955
|
+
const Zo = {
|
|
2956
2956
|
year: 0,
|
|
2957
2957
|
month: 1,
|
|
2958
2958
|
day: 2,
|
|
@@ -2960,11 +2960,11 @@ const Vo = {
|
|
|
2960
2960
|
minute: 4,
|
|
2961
2961
|
second: 5
|
|
2962
2962
|
};
|
|
2963
|
-
function
|
|
2963
|
+
function Jo(e, t) {
|
|
2964
2964
|
try {
|
|
2965
2965
|
const n = e.formatToParts(t), r = [];
|
|
2966
2966
|
for (let i = 0; i < n.length; i++) {
|
|
2967
|
-
const o =
|
|
2967
|
+
const o = Zo[n[i].type];
|
|
2968
2968
|
o !== void 0 && (r[o] = parseInt(n[i].value, 10));
|
|
2969
2969
|
}
|
|
2970
2970
|
return r;
|
|
@@ -2974,7 +2974,7 @@ function Qo(e, t) {
|
|
|
2974
2974
|
throw n;
|
|
2975
2975
|
}
|
|
2976
2976
|
}
|
|
2977
|
-
function
|
|
2977
|
+
function es(e, t) {
|
|
2978
2978
|
const n = e.format(t), r = /(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);
|
|
2979
2979
|
return [
|
|
2980
2980
|
parseInt(r[3], 10),
|
|
@@ -2994,9 +2994,9 @@ const Xe = {}, cn = new Intl.DateTimeFormat("en-US", {
|
|
|
2994
2994
|
hour: "2-digit",
|
|
2995
2995
|
minute: "2-digit",
|
|
2996
2996
|
second: "2-digit"
|
|
2997
|
-
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")),
|
|
2998
|
-
function
|
|
2999
|
-
return Xe[e] || (Xe[e] =
|
|
2997
|
+
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), ts = cn === "06/25/2014, 00:00:00" || cn === "06/25/2014 00:00:00";
|
|
2998
|
+
function ns(e) {
|
|
2999
|
+
return Xe[e] || (Xe[e] = ts ? new Intl.DateTimeFormat("en-US", {
|
|
3000
3000
|
hourCycle: "h23",
|
|
3001
3001
|
timeZone: e,
|
|
3002
3002
|
year: "numeric",
|
|
@@ -3020,7 +3020,7 @@ function mt(e, t, n, r, i, o, c) {
|
|
|
3020
3020
|
const l = /* @__PURE__ */ new Date(0);
|
|
3021
3021
|
return l.setUTCFullYear(e, t, n), l.setUTCHours(r, i, o, c), l;
|
|
3022
3022
|
}
|
|
3023
|
-
const un = 36e5,
|
|
3023
|
+
const un = 36e5, rs = 6e4, Ze = {
|
|
3024
3024
|
timezoneZ: /^(Z)$/,
|
|
3025
3025
|
timezoneHH: /^([+-]\d{2})$/,
|
|
3026
3026
|
timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
|
|
@@ -3037,25 +3037,25 @@ function we(e, t, n) {
|
|
|
3037
3037
|
if (r = Ze.timezoneHHMM.exec(e), r) {
|
|
3038
3038
|
i = parseInt(r[2], 10);
|
|
3039
3039
|
const c = parseInt(r[3], 10);
|
|
3040
|
-
return ln(i, c) ? (o = Math.abs(i) * un + c *
|
|
3040
|
+
return ln(i, c) ? (o = Math.abs(i) * un + c * rs, r[1] === "+" ? -o : o) : NaN;
|
|
3041
3041
|
}
|
|
3042
|
-
if (
|
|
3042
|
+
if (os(e)) {
|
|
3043
3043
|
t = new Date(t || Date.now());
|
|
3044
|
-
const c = n ? t :
|
|
3045
|
-
return -(n ? l :
|
|
3044
|
+
const c = n ? t : as(t), l = it(c, e);
|
|
3045
|
+
return -(n ? l : is(t, l, e));
|
|
3046
3046
|
}
|
|
3047
3047
|
return NaN;
|
|
3048
3048
|
}
|
|
3049
|
-
function
|
|
3049
|
+
function as(e) {
|
|
3050
3050
|
return mt(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
|
|
3051
3051
|
}
|
|
3052
3052
|
function it(e, t) {
|
|
3053
|
-
const n =
|
|
3053
|
+
const n = Xo(e, t), r = mt(n[0], n[1] - 1, n[2], n[3] % 24, n[4], n[5], 0).getTime();
|
|
3054
3054
|
let i = e.getTime();
|
|
3055
3055
|
const o = i % 1e3;
|
|
3056
3056
|
return i -= o >= 0 ? o : 1e3 + o, r - i;
|
|
3057
3057
|
}
|
|
3058
|
-
function
|
|
3058
|
+
function is(e, t, n) {
|
|
3059
3059
|
let i = e.getTime() - t;
|
|
3060
3060
|
const o = it(new Date(i), n);
|
|
3061
3061
|
if (t === o)
|
|
@@ -3068,7 +3068,7 @@ function ln(e, t) {
|
|
|
3068
3068
|
return -23 <= e && e <= 23 && (t == null || 0 <= t && t <= 59);
|
|
3069
3069
|
}
|
|
3070
3070
|
const dn = {};
|
|
3071
|
-
function
|
|
3071
|
+
function os(e) {
|
|
3072
3072
|
if (dn[e])
|
|
3073
3073
|
return !0;
|
|
3074
3074
|
try {
|
|
@@ -3077,7 +3077,7 @@ function rs(e) {
|
|
|
3077
3077
|
return !1;
|
|
3078
3078
|
}
|
|
3079
3079
|
}
|
|
3080
|
-
const
|
|
3080
|
+
const ss = 60 * 1e3, cs = {
|
|
3081
3081
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
3082
3082
|
X: function(e, t, n) {
|
|
3083
3083
|
const r = Je(n.timeZone, e);
|
|
@@ -3124,7 +3124,7 @@ const as = 60 * 1e3, is = {
|
|
|
3124
3124
|
case "O":
|
|
3125
3125
|
case "OO":
|
|
3126
3126
|
case "OOO":
|
|
3127
|
-
return "GMT" +
|
|
3127
|
+
return "GMT" + us(r, ":");
|
|
3128
3128
|
default:
|
|
3129
3129
|
return "GMT" + ne(r, ":");
|
|
3130
3130
|
}
|
|
@@ -3143,7 +3143,7 @@ const as = 60 * 1e3, is = {
|
|
|
3143
3143
|
}
|
|
3144
3144
|
};
|
|
3145
3145
|
function Je(e, t) {
|
|
3146
|
-
const n = e ? we(e, t, !0) /
|
|
3146
|
+
const n = e ? we(e, t, !0) / ss : t?.getTimezoneOffset() ?? 0;
|
|
3147
3147
|
if (Number.isNaN(n))
|
|
3148
3148
|
throw new RangeError("Invalid time zone specified: " + e);
|
|
3149
3149
|
return n;
|
|
@@ -3162,7 +3162,7 @@ function ne(e, t = "") {
|
|
|
3162
3162
|
function mn(e, t) {
|
|
3163
3163
|
return e % 60 === 0 ? (e > 0 ? "-" : "+") + Ae(Math.abs(e) / 60, 2) : ne(e, t);
|
|
3164
3164
|
}
|
|
3165
|
-
function
|
|
3165
|
+
function us(e, t = "") {
|
|
3166
3166
|
const n = e > 0 ? "-" : "+", r = Math.abs(e), i = Math.floor(r / 60), o = r % 60;
|
|
3167
3167
|
return o === 0 ? n + String(i) : n + String(i) + t + Ae(o, 2);
|
|
3168
3168
|
}
|
|
@@ -3170,7 +3170,7 @@ function fn(e) {
|
|
|
3170
3170
|
const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
|
|
3171
3171
|
return t.setUTCFullYear(e.getFullYear()), +e - +t;
|
|
3172
3172
|
}
|
|
3173
|
-
const Jn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, et = 36e5, pn = 6e4,
|
|
3173
|
+
const Jn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, et = 36e5, pn = 6e4, ls = 2, M = {
|
|
3174
3174
|
dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
|
|
3175
3175
|
datePattern: /^([0-9W+-]+)(.*)/,
|
|
3176
3176
|
// year tokens
|
|
@@ -3209,7 +3209,7 @@ function Ue(e, t = {}) {
|
|
|
3209
3209
|
throw new TypeError("1 argument required, but only " + arguments.length + " present");
|
|
3210
3210
|
if (e === null)
|
|
3211
3211
|
return /* @__PURE__ */ new Date(NaN);
|
|
3212
|
-
const n = t.additionalDigits == null ?
|
|
3212
|
+
const n = t.additionalDigits == null ? ls : Number(t.additionalDigits);
|
|
3213
3213
|
if (n !== 2 && n !== 1 && n !== 0)
|
|
3214
3214
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
3215
3215
|
if (e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]")
|
|
@@ -3218,13 +3218,13 @@ function Ue(e, t = {}) {
|
|
|
3218
3218
|
return new Date(e);
|
|
3219
3219
|
if (Object.prototype.toString.call(e) !== "[object String]")
|
|
3220
3220
|
return /* @__PURE__ */ new Date(NaN);
|
|
3221
|
-
const r =
|
|
3221
|
+
const r = ds(e), { year: i, restDateString: o } = ms(r.date, n), c = fs(o, i);
|
|
3222
3222
|
if (c === null || isNaN(c.getTime()))
|
|
3223
3223
|
return /* @__PURE__ */ new Date(NaN);
|
|
3224
3224
|
if (c) {
|
|
3225
3225
|
const l = c.getTime();
|
|
3226
3226
|
let f = 0, _;
|
|
3227
|
-
if (r.time && (f =
|
|
3227
|
+
if (r.time && (f = ps(r.time), f === null || isNaN(f)))
|
|
3228
3228
|
return /* @__PURE__ */ new Date(NaN);
|
|
3229
3229
|
if (r.timeZone || t.timeZone) {
|
|
3230
3230
|
if (_ = we(r.timeZone || t.timeZone, new Date(l + f)), isNaN(_))
|
|
@@ -3235,7 +3235,7 @@ function Ue(e, t = {}) {
|
|
|
3235
3235
|
} else
|
|
3236
3236
|
return /* @__PURE__ */ new Date(NaN);
|
|
3237
3237
|
}
|
|
3238
|
-
function
|
|
3238
|
+
function ds(e) {
|
|
3239
3239
|
const t = {};
|
|
3240
3240
|
let n = M.dateTimePattern.exec(e), r;
|
|
3241
3241
|
if (n ? (t.date = n[1], r = n[3]) : (n = M.datePattern.exec(e), n ? (t.date = n[1], r = n[2]) : (t.date = null, r = e)), r) {
|
|
@@ -3244,7 +3244,7 @@ function cs(e) {
|
|
|
3244
3244
|
}
|
|
3245
3245
|
return t;
|
|
3246
3246
|
}
|
|
3247
|
-
function
|
|
3247
|
+
function ms(e, t) {
|
|
3248
3248
|
if (e) {
|
|
3249
3249
|
const n = M.YYY[t], r = M.YYYYY[t];
|
|
3250
3250
|
let i = M.YYYY.exec(e) || r.exec(e);
|
|
@@ -3267,7 +3267,7 @@ function us(e, t) {
|
|
|
3267
3267
|
year: null
|
|
3268
3268
|
};
|
|
3269
3269
|
}
|
|
3270
|
-
function
|
|
3270
|
+
function fs(e, t) {
|
|
3271
3271
|
if (t === null)
|
|
3272
3272
|
return null;
|
|
3273
3273
|
let n, r, i;
|
|
@@ -3279,7 +3279,7 @@ function ls(e, t) {
|
|
|
3279
3279
|
if (o = M.DDD.exec(e), o) {
|
|
3280
3280
|
n = /* @__PURE__ */ new Date(0);
|
|
3281
3281
|
const c = parseInt(o[1], 10);
|
|
3282
|
-
return
|
|
3282
|
+
return _s(t, c) ? (n.setUTCFullYear(t, 0, c), n) : /* @__PURE__ */ new Date(NaN);
|
|
3283
3283
|
}
|
|
3284
3284
|
if (o = M.MMDD.exec(e), o) {
|
|
3285
3285
|
n = /* @__PURE__ */ new Date(0), r = parseInt(o[1], 10) - 1;
|
|
@@ -3295,7 +3295,7 @@ function ls(e, t) {
|
|
|
3295
3295
|
}
|
|
3296
3296
|
return null;
|
|
3297
3297
|
}
|
|
3298
|
-
function
|
|
3298
|
+
function ps(e) {
|
|
3299
3299
|
let t, n, r = M.HH.exec(e);
|
|
3300
3300
|
if (r)
|
|
3301
3301
|
return t = parseFloat(r[1].replace(",", ".")), tt(t) ? t % 24 * et : NaN;
|
|
@@ -3315,7 +3315,7 @@ function hn(e, t, n) {
|
|
|
3315
3315
|
const i = r.getUTCDay() || 7, o = t * 7 + n + 1 - i;
|
|
3316
3316
|
return r.setUTCDate(r.getUTCDate() + o), r;
|
|
3317
3317
|
}
|
|
3318
|
-
const
|
|
3318
|
+
const hs = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], ys = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
3319
3319
|
function er(e) {
|
|
3320
3320
|
return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
|
|
3321
3321
|
}
|
|
@@ -3326,12 +3326,12 @@ function yn(e, t, n) {
|
|
|
3326
3326
|
if (n < 1)
|
|
3327
3327
|
return !1;
|
|
3328
3328
|
const r = er(e);
|
|
3329
|
-
if (r && n >
|
|
3329
|
+
if (r && n > ys[t] || !r && n > hs[t])
|
|
3330
3330
|
return !1;
|
|
3331
3331
|
}
|
|
3332
3332
|
return !0;
|
|
3333
3333
|
}
|
|
3334
|
-
function
|
|
3334
|
+
function _s(e, t) {
|
|
3335
3335
|
if (t < 1)
|
|
3336
3336
|
return !1;
|
|
3337
3337
|
const n = er(e);
|
|
@@ -3343,20 +3343,20 @@ function _n(e, t) {
|
|
|
3343
3343
|
function tt(e, t, n) {
|
|
3344
3344
|
return !(e < 0 || e >= 25 || t != null && (t < 0 || t >= 60) || n != null && (n < 0 || n >= 60));
|
|
3345
3345
|
}
|
|
3346
|
-
const
|
|
3347
|
-
function
|
|
3346
|
+
const gs = /([xXOz]+)|''|'(''|[^'])+('|$)/g;
|
|
3347
|
+
function ws(e, t, n = {}) {
|
|
3348
3348
|
t = String(t);
|
|
3349
|
-
const r = t.match(
|
|
3349
|
+
const r = t.match(gs);
|
|
3350
3350
|
if (r) {
|
|
3351
3351
|
const i = Ue(n.originalDate || e, n);
|
|
3352
3352
|
t = r.reduce(function(o, c) {
|
|
3353
3353
|
if (c[0] === "'")
|
|
3354
3354
|
return o;
|
|
3355
|
-
const l = o.indexOf(c), f = o[l - 1] === "'", _ = o.replace(c, "'" +
|
|
3355
|
+
const l = o.indexOf(c), f = o[l - 1] === "'", _ = o.replace(c, "'" + cs[c[0]](i, c, n) + "'");
|
|
3356
3356
|
return f ? _.substring(0, l - 1) + _.substring(l + 1) : _;
|
|
3357
3357
|
}, t);
|
|
3358
3358
|
}
|
|
3359
|
-
return
|
|
3359
|
+
return Ho(e, t, n);
|
|
3360
3360
|
}
|
|
3361
3361
|
function tr(e, t, n) {
|
|
3362
3362
|
e = Ue(e, n);
|
|
@@ -3368,9 +3368,9 @@ function nr(e, t, n, r) {
|
|
|
3368
3368
|
...r,
|
|
3369
3369
|
timeZone: t,
|
|
3370
3370
|
originalDate: e
|
|
3371
|
-
},
|
|
3371
|
+
}, ws(tr(e, t, { timeZone: r.timeZone }), n, r);
|
|
3372
3372
|
}
|
|
3373
|
-
function
|
|
3373
|
+
function Ts(e, t, n) {
|
|
3374
3374
|
if (typeof e == "string" && !e.match(Jn))
|
|
3375
3375
|
return Ue(e, { ...n, timeZone: t });
|
|
3376
3376
|
e = Ue(e, n);
|
|
@@ -3380,7 +3380,7 @@ function _s(e, t, n) {
|
|
|
3380
3380
|
function rr(e, t) {
|
|
3381
3381
|
return -we(e, t);
|
|
3382
3382
|
}
|
|
3383
|
-
function
|
|
3383
|
+
function Fu(e, t = {}) {
|
|
3384
3384
|
const n = t?.tz || Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
3385
3385
|
let r = "MMM dd, yyy hh:mm a";
|
|
3386
3386
|
switch (t.format) {
|
|
@@ -3409,7 +3409,7 @@ function gn(e, t = {}) {
|
|
|
3409
3409
|
return console.error("Invalid value passed to formatTime", e), "(invalid date)";
|
|
3410
3410
|
}
|
|
3411
3411
|
}
|
|
3412
|
-
function
|
|
3412
|
+
function qu(e, t) {
|
|
3413
3413
|
return `${gn(e.getTime())} - ${gn(t.getTime(), { includeTZ: !0 })}`;
|
|
3414
3414
|
}
|
|
3415
3415
|
const oe = {
|
|
@@ -3427,23 +3427,23 @@ const oe = {
|
|
|
3427
3427
|
weekly: 3600 * 24 * 7 * 1e3,
|
|
3428
3428
|
trend: 0
|
|
3429
3429
|
};
|
|
3430
|
-
function
|
|
3430
|
+
function Hu(e, t) {
|
|
3431
3431
|
return e.map((n) => ({
|
|
3432
3432
|
value: n,
|
|
3433
3433
|
label: t.t(`configuration.vitals.reports.granularity.${n}`)
|
|
3434
3434
|
}));
|
|
3435
3435
|
}
|
|
3436
|
-
function
|
|
3436
|
+
function bs(e, t) {
|
|
3437
3437
|
return {
|
|
3438
3438
|
duration: e,
|
|
3439
3439
|
type: "duration",
|
|
3440
3440
|
origin: t
|
|
3441
3441
|
};
|
|
3442
3442
|
}
|
|
3443
|
-
function
|
|
3444
|
-
return e &&
|
|
3443
|
+
function ju(e) {
|
|
3444
|
+
return e && En.find((n) => e <= oe[n]) || null;
|
|
3445
3445
|
}
|
|
3446
|
-
function
|
|
3446
|
+
function Wu(e) {
|
|
3447
3447
|
const t = oe.hourly, n = oe.daily;
|
|
3448
3448
|
return e <= t ? "tenSecondly" : e <= 6 * t ? "thirtySecondly" : e <= 12 * t ? "minutely" : e <= n ? "fiveMinutely" : e <= 7 * n ? "thirtyMinutely" : e < 60 * n ? "hourly" : "daily";
|
|
3449
3449
|
}
|
|
@@ -3452,7 +3452,7 @@ function ar(e, t, n, r) {
|
|
|
3452
3452
|
let o = 0;
|
|
3453
3453
|
return i >= oe.daily && (r ? o = -rr(r, t) : o = t.getTimezoneOffset() * 60 * 1e3), new Date(e((t.getTime() - o) / i) * i + o);
|
|
3454
3454
|
}
|
|
3455
|
-
function
|
|
3455
|
+
function Ss(e, t, n) {
|
|
3456
3456
|
return ar(Math.floor, e, t, n);
|
|
3457
3457
|
}
|
|
3458
3458
|
function ir(e, t, n) {
|
|
@@ -3471,7 +3471,7 @@ class Le {
|
|
|
3471
3471
|
if (t)
|
|
3472
3472
|
return new Date(this.endDate().getTime() - this.timeframe.timeframeLengthMs() * r);
|
|
3473
3473
|
{
|
|
3474
|
-
const i = this.endDate(), o = this.timeframe.rawStart(this.tz), c =
|
|
3474
|
+
const i = this.endDate(), o = this.timeframe.rawStart(this.tz), c = Ss(o, n, this.tz), f = (i.getTime() - c.getTime()) * (r - 1);
|
|
3475
3475
|
return new Date(c.getTime() - f);
|
|
3476
3476
|
}
|
|
3477
3477
|
}
|
|
@@ -3479,7 +3479,7 @@ class Le {
|
|
|
3479
3479
|
return Math.floor(this.granularityMs() / 1e3);
|
|
3480
3480
|
}
|
|
3481
3481
|
granularityDruid() {
|
|
3482
|
-
return
|
|
3482
|
+
return bs(this.granularityMs(), this.startDate().toISOString());
|
|
3483
3483
|
}
|
|
3484
3484
|
// Return a UNIX timestamp suitable for use in the `start` query param.
|
|
3485
3485
|
startSeconds() {
|
|
@@ -3498,7 +3498,7 @@ class Le {
|
|
|
3498
3498
|
return rn(this.endDate());
|
|
3499
3499
|
}
|
|
3500
3500
|
}
|
|
3501
|
-
class
|
|
3501
|
+
class Ku extends Le {
|
|
3502
3502
|
granularity;
|
|
3503
3503
|
constructor(t, n, r, i, o) {
|
|
3504
3504
|
super(t, r, i), n && t.allowedGranularities(o).has(n) ? this.granularity = n : o ? this.granularity = t.fineGrainedDefaultGranularity ?? t.defaultResponseGranularity : this.granularity = t.defaultResponseGranularity;
|
|
@@ -3513,7 +3513,7 @@ class Hu extends Le {
|
|
|
3513
3513
|
return oe[this.granularity];
|
|
3514
3514
|
}
|
|
3515
3515
|
}
|
|
3516
|
-
class
|
|
3516
|
+
class Os extends Le {
|
|
3517
3517
|
startDate() {
|
|
3518
3518
|
return this.calculateStartDate(this.timeframe.isRelative, this.dataGranularity);
|
|
3519
3519
|
}
|
|
@@ -3524,7 +3524,7 @@ class Ts extends Le {
|
|
|
3524
3524
|
return this.endDate().getTime() - this.startDate().getTime();
|
|
3525
3525
|
}
|
|
3526
3526
|
}
|
|
3527
|
-
class
|
|
3527
|
+
class $u extends Os {
|
|
3528
3528
|
startDate() {
|
|
3529
3529
|
return this.calculateStartDate(this.timeframe.isRelative, this.dataGranularity, 2);
|
|
3530
3530
|
}
|
|
@@ -3532,18 +3532,18 @@ class ju extends Ts {
|
|
|
3532
3532
|
return this.endDate().getTime() - super.startDate().getTime();
|
|
3533
3533
|
}
|
|
3534
3534
|
}
|
|
3535
|
-
var
|
|
3536
|
-
function
|
|
3535
|
+
var Ce = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
3536
|
+
function Ds(e) {
|
|
3537
3537
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3538
3538
|
}
|
|
3539
3539
|
var he = { exports: {} };
|
|
3540
3540
|
he.exports;
|
|
3541
3541
|
var wn;
|
|
3542
|
-
function
|
|
3542
|
+
function Ms() {
|
|
3543
3543
|
return wn || (wn = 1, (function(e, t) {
|
|
3544
|
-
var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", c = "[object Array]", l = "[object Boolean]", f = "[object Date]", _ = "[object Error]", h = "[object Function]", p = "[object GeneratorFunction]", g = "[object Map]", A = "[object Number]", y = "[object Object]", w = "[object Promise]", v = "[object RegExp]",
|
|
3545
|
-
b[o] = b[c] = b[pt] = b[Te] = b[l] = b[f] = b[ht] = b[yt] = b[_t] = b[gt] = b[wt] = b[g] = b[A] = b[y] = b[v] = b[
|
|
3546
|
-
var fr = typeof
|
|
3544
|
+
var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", c = "[object Array]", l = "[object Boolean]", f = "[object Date]", _ = "[object Error]", h = "[object Function]", p = "[object GeneratorFunction]", g = "[object Map]", A = "[object Number]", y = "[object Object]", w = "[object Promise]", v = "[object RegExp]", E = "[object Set]", U = "[object String]", x = "[object Symbol]", Ge = "[object WeakMap]", pt = "[object ArrayBuffer]", Te = "[object DataView]", ht = "[object Float32Array]", yt = "[object Float64Array]", _t = "[object Int8Array]", gt = "[object Int16Array]", wt = "[object Int32Array]", Tt = "[object Uint8Array]", bt = "[object Uint8ClampedArray]", St = "[object Uint16Array]", Ot = "[object Uint32Array]", ur = /[\\^$.*+?()[\]{}|]/g, lr = /\w*$/, dr = /^\[object .+?Constructor\]$/, mr = /^(?:0|[1-9]\d*)$/, b = {};
|
|
3545
|
+
b[o] = b[c] = b[pt] = b[Te] = b[l] = b[f] = b[ht] = b[yt] = b[_t] = b[gt] = b[wt] = b[g] = b[A] = b[y] = b[v] = b[E] = b[U] = b[x] = b[Tt] = b[bt] = b[St] = b[Ot] = !0, b[_] = b[h] = b[Ge] = !1;
|
|
3546
|
+
var fr = typeof Ce == "object" && Ce && Ce.Object === Object && Ce, pr = typeof self == "object" && self && self.Object === Object && self, k = fr || pr || Function("return this")(), Dt = t && !t.nodeType && t, Mt = Dt && !0 && e && !e.nodeType && e, hr = Mt && Mt.exports === Dt;
|
|
3547
3547
|
function yr(a, s) {
|
|
3548
3548
|
return a.set(s[0], s[1]), a;
|
|
3549
3549
|
}
|
|
@@ -3561,7 +3561,7 @@ function Ss() {
|
|
|
3561
3561
|
return a;
|
|
3562
3562
|
}
|
|
3563
3563
|
function vt(a, s, u, m) {
|
|
3564
|
-
for (var D = -1,
|
|
3564
|
+
for (var D = -1, R = a ? a.length : 0; ++D < R; )
|
|
3565
3565
|
u = s(u, a[D], D, a);
|
|
3566
3566
|
return u;
|
|
3567
3567
|
}
|
|
@@ -3573,7 +3573,7 @@ function Ss() {
|
|
|
3573
3573
|
function br(a, s) {
|
|
3574
3574
|
return a?.[s];
|
|
3575
3575
|
}
|
|
3576
|
-
function
|
|
3576
|
+
function Rt(a) {
|
|
3577
3577
|
var s = !1;
|
|
3578
3578
|
if (a != null && typeof a.toString != "function")
|
|
3579
3579
|
try {
|
|
@@ -3582,7 +3582,7 @@ function Ss() {
|
|
|
3582
3582
|
}
|
|
3583
3583
|
return s;
|
|
3584
3584
|
}
|
|
3585
|
-
function
|
|
3585
|
+
function Ct(a) {
|
|
3586
3586
|
var s = -1, u = Array(a.size);
|
|
3587
3587
|
return a.forEach(function(m, D) {
|
|
3588
3588
|
u[++s] = [D, m];
|
|
@@ -3593,7 +3593,7 @@ function Ss() {
|
|
|
3593
3593
|
return a(s(u));
|
|
3594
3594
|
};
|
|
3595
3595
|
}
|
|
3596
|
-
function
|
|
3596
|
+
function Et(a) {
|
|
3597
3597
|
var s = -1, u = Array(a.size);
|
|
3598
3598
|
return a.forEach(function(m) {
|
|
3599
3599
|
u[++s] = m;
|
|
@@ -3604,7 +3604,7 @@ function Ss() {
|
|
|
3604
3604
|
return a ? "Symbol(src)_1." + a : "";
|
|
3605
3605
|
})(), At = Or.toString, F = be.hasOwnProperty, Se = be.toString, Dr = RegExp(
|
|
3606
3606
|
"^" + At.call(F).replace(ur, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
3607
|
-
), Ut = hr ? k.Buffer : void 0, Nt = k.Symbol, Pt = k.Uint8Array, Mr = Ye(Object.getPrototypeOf, Object), vr = Object.create,
|
|
3607
|
+
), Ut = hr ? k.Buffer : void 0, Nt = k.Symbol, Pt = k.Uint8Array, Mr = Ye(Object.getPrototypeOf, Object), vr = Object.create, Rr = be.propertyIsEnumerable, Cr = Sr.splice, xt = Object.getOwnPropertySymbols, Er = Ut ? Ut.isBuffer : void 0, Ir = Ye(Object.keys, Object), qe = Z(k, "DataView"), ue = Z(k, "Map"), He = Z(k, "Promise"), je = Z(k, "Set"), We = Z(k, "WeakMap"), le = Z(Object, "create"), Ar = K(qe), Ur = K(ue), Nr = K(He), Pr = K(je), xr = K(We), kt = Nt ? Nt.prototype : void 0, Lt = kt ? kt.valueOf : void 0;
|
|
3608
3608
|
function j(a) {
|
|
3609
3609
|
var s = -1, u = a ? a.length : 0;
|
|
3610
3610
|
for (this.clear(); ++s < u; ) {
|
|
@@ -3650,7 +3650,7 @@ function Ss() {
|
|
|
3650
3650
|
if (u < 0)
|
|
3651
3651
|
return !1;
|
|
3652
3652
|
var m = s.length - 1;
|
|
3653
|
-
return u == m ? s.pop() :
|
|
3653
|
+
return u == m ? s.pop() : Cr.call(s, u, 1), !0;
|
|
3654
3654
|
}
|
|
3655
3655
|
function jr(a) {
|
|
3656
3656
|
var s = this.__data__, u = Oe(s, a);
|
|
@@ -3719,8 +3719,8 @@ function Ss() {
|
|
|
3719
3719
|
X.prototype.clear = Xr, X.prototype.delete = Zr, X.prototype.get = Jr, X.prototype.has = ea, X.prototype.set = ta;
|
|
3720
3720
|
function na(a, s) {
|
|
3721
3721
|
var u = ze(a) || va(a) ? Tr(a.length, String) : [], m = u.length, D = !!m;
|
|
3722
|
-
for (var
|
|
3723
|
-
F.call(a,
|
|
3722
|
+
for (var R in a)
|
|
3723
|
+
F.call(a, R) && !(D && (R == "length" || Sa(R, m))) && u.push(R);
|
|
3724
3724
|
return u;
|
|
3725
3725
|
}
|
|
3726
3726
|
function Gt(a, s, u) {
|
|
@@ -3736,40 +3736,40 @@ function Ss() {
|
|
|
3736
3736
|
function ra(a, s) {
|
|
3737
3737
|
return a && Yt(s, Be(s), a);
|
|
3738
3738
|
}
|
|
3739
|
-
function Ke(a, s, u, m, D,
|
|
3740
|
-
var
|
|
3741
|
-
if (m && (
|
|
3742
|
-
return
|
|
3739
|
+
function Ke(a, s, u, m, D, R, G) {
|
|
3740
|
+
var C;
|
|
3741
|
+
if (m && (C = R ? m(a, D, R, G) : m(a)), C !== void 0)
|
|
3742
|
+
return C;
|
|
3743
3743
|
if (!Me(a))
|
|
3744
3744
|
return a;
|
|
3745
3745
|
var Kt = ze(a);
|
|
3746
3746
|
if (Kt) {
|
|
3747
|
-
if (
|
|
3748
|
-
return ya(a,
|
|
3747
|
+
if (C = wa(a), !s)
|
|
3748
|
+
return ya(a, C);
|
|
3749
3749
|
} else {
|
|
3750
3750
|
var J = W(a), $t = J == h || J == p;
|
|
3751
|
-
if (
|
|
3751
|
+
if (Ca(a))
|
|
3752
3752
|
return ua(a, s);
|
|
3753
|
-
if (J == y || J == o || $t && !
|
|
3754
|
-
if (
|
|
3755
|
-
return
|
|
3756
|
-
if (
|
|
3757
|
-
return _a(a, ra(
|
|
3753
|
+
if (J == y || J == o || $t && !R) {
|
|
3754
|
+
if (Rt(a))
|
|
3755
|
+
return R ? a : {};
|
|
3756
|
+
if (C = Ta($t ? {} : a), !s)
|
|
3757
|
+
return _a(a, ra(C, a));
|
|
3758
3758
|
} else {
|
|
3759
3759
|
if (!b[J])
|
|
3760
|
-
return
|
|
3761
|
-
|
|
3760
|
+
return R ? a : {};
|
|
3761
|
+
C = ba(a, J, Ke, s);
|
|
3762
3762
|
}
|
|
3763
3763
|
}
|
|
3764
3764
|
G || (G = new X());
|
|
3765
3765
|
var zt = G.get(a);
|
|
3766
3766
|
if (zt)
|
|
3767
3767
|
return zt;
|
|
3768
|
-
if (G.set(a,
|
|
3768
|
+
if (G.set(a, C), !Kt)
|
|
3769
3769
|
var Bt = u ? ga(a) : Be(a);
|
|
3770
3770
|
return gr(Bt || a, function(Ve, ve) {
|
|
3771
|
-
Bt && (ve = Ve, Ve = a[ve]), Gt(
|
|
3772
|
-
}),
|
|
3771
|
+
Bt && (ve = Ve, Ve = a[ve]), Gt(C, ve, Ke(Ve, s, u, m, ve, a, G));
|
|
3772
|
+
}), C;
|
|
3773
3773
|
}
|
|
3774
3774
|
function aa(a) {
|
|
3775
3775
|
return Me(a) ? vr(a) : {};
|
|
@@ -3784,7 +3784,7 @@ function Ss() {
|
|
|
3784
3784
|
function sa(a) {
|
|
3785
3785
|
if (!Me(a) || Da(a))
|
|
3786
3786
|
return !1;
|
|
3787
|
-
var s = Wt(a) ||
|
|
3787
|
+
var s = Wt(a) || Rt(a) ? Dr : dr;
|
|
3788
3788
|
return s.test(K(a));
|
|
3789
3789
|
}
|
|
3790
3790
|
function ca(a) {
|
|
@@ -3810,7 +3810,7 @@ function Ss() {
|
|
|
3810
3810
|
return new a.constructor(u, a.byteOffset, a.byteLength);
|
|
3811
3811
|
}
|
|
3812
3812
|
function da(a, s, u) {
|
|
3813
|
-
var m = s ? u(
|
|
3813
|
+
var m = s ? u(Ct(a), !0) : Ct(a);
|
|
3814
3814
|
return vt(m, yr, new a.constructor());
|
|
3815
3815
|
}
|
|
3816
3816
|
function ma(a) {
|
|
@@ -3818,7 +3818,7 @@ function Ss() {
|
|
|
3818
3818
|
return s.lastIndex = a.lastIndex, s;
|
|
3819
3819
|
}
|
|
3820
3820
|
function fa(a, s, u) {
|
|
3821
|
-
var m = s ? u(
|
|
3821
|
+
var m = s ? u(Et(a), !0) : Et(a);
|
|
3822
3822
|
return vt(m, _r, new a.constructor());
|
|
3823
3823
|
}
|
|
3824
3824
|
function pa(a) {
|
|
@@ -3836,9 +3836,9 @@ function Ss() {
|
|
|
3836
3836
|
}
|
|
3837
3837
|
function Yt(a, s, u, m) {
|
|
3838
3838
|
u || (u = {});
|
|
3839
|
-
for (var D = -1,
|
|
3840
|
-
var G = s[D],
|
|
3841
|
-
Gt(u, G,
|
|
3839
|
+
for (var D = -1, R = s.length; ++D < R; ) {
|
|
3840
|
+
var G = s[D], C = void 0;
|
|
3841
|
+
Gt(u, G, C === void 0 ? a[G] : C);
|
|
3842
3842
|
}
|
|
3843
3843
|
return u;
|
|
3844
3844
|
}
|
|
@@ -3857,7 +3857,7 @@ function Ss() {
|
|
|
3857
3857
|
return sa(u) ? u : void 0;
|
|
3858
3858
|
}
|
|
3859
3859
|
var Ft = xt ? Ye(xt, Object) : Aa, W = oa;
|
|
3860
|
-
(qe && W(new qe(new ArrayBuffer(1))) != Te || ue && W(new ue()) != g || He && W(He.resolve()) != w || je && W(new je()) !=
|
|
3860
|
+
(qe && W(new qe(new ArrayBuffer(1))) != Te || ue && W(new ue()) != g || He && W(He.resolve()) != w || je && W(new je()) != E || We && W(new We()) != Ge) && (W = function(a) {
|
|
3861
3861
|
var s = Se.call(a), u = s == y ? a.constructor : void 0, m = u ? K(u) : void 0;
|
|
3862
3862
|
if (m)
|
|
3863
3863
|
switch (m) {
|
|
@@ -3868,7 +3868,7 @@ function Ss() {
|
|
|
3868
3868
|
case Nr:
|
|
3869
3869
|
return w;
|
|
3870
3870
|
case Pr:
|
|
3871
|
-
return
|
|
3871
|
+
return E;
|
|
3872
3872
|
case xr:
|
|
3873
3873
|
return Ge;
|
|
3874
3874
|
}
|
|
@@ -3908,7 +3908,7 @@ function Ss() {
|
|
|
3908
3908
|
return new D(a);
|
|
3909
3909
|
case v:
|
|
3910
3910
|
return ma(a);
|
|
3911
|
-
case
|
|
3911
|
+
case E:
|
|
3912
3912
|
return fa(a, m, u);
|
|
3913
3913
|
case x:
|
|
3914
3914
|
return pa(a);
|
|
@@ -3948,21 +3948,21 @@ function Ss() {
|
|
|
3948
3948
|
return a === s || a !== a && s !== s;
|
|
3949
3949
|
}
|
|
3950
3950
|
function va(a) {
|
|
3951
|
-
return
|
|
3951
|
+
return Ra(a) && F.call(a, "callee") && (!Rr.call(a, "callee") || Se.call(a) == o);
|
|
3952
3952
|
}
|
|
3953
3953
|
var ze = Array.isArray;
|
|
3954
3954
|
function jt(a) {
|
|
3955
|
-
return a != null &&
|
|
3955
|
+
return a != null && Ea(a.length) && !Wt(a);
|
|
3956
3956
|
}
|
|
3957
|
-
function
|
|
3957
|
+
function Ra(a) {
|
|
3958
3958
|
return Ia(a) && jt(a);
|
|
3959
3959
|
}
|
|
3960
|
-
var
|
|
3960
|
+
var Ca = Er || Ua;
|
|
3961
3961
|
function Wt(a) {
|
|
3962
3962
|
var s = Me(a) ? Se.call(a) : "";
|
|
3963
3963
|
return s == h || s == p;
|
|
3964
3964
|
}
|
|
3965
|
-
function
|
|
3965
|
+
function Ea(a) {
|
|
3966
3966
|
return typeof a == "number" && a > -1 && a % 1 == 0 && a <= i;
|
|
3967
3967
|
}
|
|
3968
3968
|
function Me(a) {
|
|
@@ -3984,8 +3984,8 @@ function Ss() {
|
|
|
3984
3984
|
e.exports = Ma;
|
|
3985
3985
|
})(he, he.exports)), he.exports;
|
|
3986
3986
|
}
|
|
3987
|
-
var
|
|
3988
|
-
const
|
|
3987
|
+
var vs = Ms();
|
|
3988
|
+
const Rs = /* @__PURE__ */ Ds(vs), P = (e, t) => new Date(e.getTime() - rr(t, e));
|
|
3989
3989
|
class S {
|
|
3990
3990
|
timeframeText;
|
|
3991
3991
|
key;
|
|
@@ -4055,11 +4055,11 @@ class S {
|
|
|
4055
4055
|
tzAdjustedDate(t) {
|
|
4056
4056
|
if (!t)
|
|
4057
4057
|
return /* @__PURE__ */ new Date();
|
|
4058
|
-
const n =
|
|
4058
|
+
const n = Ts(/* @__PURE__ */ new Date(), new Intl.DateTimeFormat().resolvedOptions().timeZone);
|
|
4059
4059
|
return tr(n, t);
|
|
4060
4060
|
}
|
|
4061
4061
|
}
|
|
4062
|
-
class
|
|
4062
|
+
class Cs extends S {
|
|
4063
4063
|
rawStart(t) {
|
|
4064
4064
|
let n = Y(this.tzAdjustedDate(t), { weekStartsOn: 1 });
|
|
4065
4065
|
return t && (n = P(n, t)), n;
|
|
@@ -4068,7 +4068,7 @@ class Ms extends S {
|
|
|
4068
4068
|
return 3600 * 24 * 7;
|
|
4069
4069
|
}
|
|
4070
4070
|
}
|
|
4071
|
-
class
|
|
4071
|
+
class Es extends S {
|
|
4072
4072
|
rawStart(t) {
|
|
4073
4073
|
let n = ie(this.tzAdjustedDate(t));
|
|
4074
4074
|
return t && (n = P(n, t)), n;
|
|
@@ -4077,7 +4077,7 @@ class vs extends S {
|
|
|
4077
4077
|
return 3600 * 24 * 31;
|
|
4078
4078
|
}
|
|
4079
4079
|
}
|
|
4080
|
-
class
|
|
4080
|
+
class Is extends S {
|
|
4081
4081
|
rawStart(t) {
|
|
4082
4082
|
let n = ae(this.tzAdjustedDate(t));
|
|
4083
4083
|
return t && (n = P(n, t)), n;
|
|
@@ -4086,7 +4086,7 @@ class Es extends S {
|
|
|
4086
4086
|
return 3600 * 24 * 92;
|
|
4087
4087
|
}
|
|
4088
4088
|
}
|
|
4089
|
-
class
|
|
4089
|
+
class As extends S {
|
|
4090
4090
|
rawStart(t) {
|
|
4091
4091
|
let n = new Date(this.tzAdjustedDate(t).getFullYear(), 0, 1);
|
|
4092
4092
|
return t && (n = P(n, t)), n;
|
|
@@ -4095,7 +4095,7 @@ class Rs extends S {
|
|
|
4095
4095
|
return 3600 * 24 * 366;
|
|
4096
4096
|
}
|
|
4097
4097
|
}
|
|
4098
|
-
class
|
|
4098
|
+
class Us extends S {
|
|
4099
4099
|
rawEnd(t) {
|
|
4100
4100
|
let n = Y(this.tzAdjustedDate(t), { weekStartsOn: 1 });
|
|
4101
4101
|
return t && (n = P(n, t)), n;
|
|
@@ -4108,7 +4108,7 @@ class Cs extends S {
|
|
|
4108
4108
|
return t && (r = P(r, t)), r;
|
|
4109
4109
|
}
|
|
4110
4110
|
}
|
|
4111
|
-
class
|
|
4111
|
+
class Ns extends S {
|
|
4112
4112
|
rawEnd(t) {
|
|
4113
4113
|
let n = ae(this.tzAdjustedDate(t));
|
|
4114
4114
|
return t && (n = P(n, t)), n;
|
|
@@ -4118,7 +4118,7 @@ class Is extends S {
|
|
|
4118
4118
|
return t && (n = P(n, t)), n;
|
|
4119
4119
|
}
|
|
4120
4120
|
}
|
|
4121
|
-
class
|
|
4121
|
+
class Ps extends S {
|
|
4122
4122
|
rawEnd(t) {
|
|
4123
4123
|
let n = ie(this.tzAdjustedDate(t));
|
|
4124
4124
|
return t && (n = P(n, t)), n;
|
|
@@ -4128,7 +4128,7 @@ class As extends S {
|
|
|
4128
4128
|
return t && (n = P(n, t)), n;
|
|
4129
4129
|
}
|
|
4130
4130
|
}
|
|
4131
|
-
class
|
|
4131
|
+
class xs extends S {
|
|
4132
4132
|
rawEnd(t) {
|
|
4133
4133
|
let n = new Date(this.tzAdjustedDate(t).getFullYear(), 0, 1);
|
|
4134
4134
|
return t && (n = P(n, t)), n;
|
|
@@ -4138,7 +4138,7 @@ class Us extends S {
|
|
|
4138
4138
|
return t && (n = P(n, t)), n;
|
|
4139
4139
|
}
|
|
4140
4140
|
}
|
|
4141
|
-
const
|
|
4141
|
+
const ks = /* @__PURE__ */ new Map([
|
|
4142
4142
|
[
|
|
4143
4143
|
d.FIFTEEN_MIN,
|
|
4144
4144
|
new S({
|
|
@@ -4291,13 +4291,13 @@ const Ns = /* @__PURE__ */ new Map([
|
|
|
4291
4291
|
],
|
|
4292
4292
|
[
|
|
4293
4293
|
d.CURRENT_WEEK,
|
|
4294
|
-
new
|
|
4294
|
+
new Cs({
|
|
4295
4295
|
key: d.CURRENT_WEEK,
|
|
4296
4296
|
display: "This week",
|
|
4297
4297
|
timeframeText: "Week",
|
|
4298
4298
|
timeframeLength: () => {
|
|
4299
4299
|
const e = Y(/* @__PURE__ */ new Date(), { weekStartsOn: 1 });
|
|
4300
|
-
return (re(
|
|
4300
|
+
return (re(Re(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
|
|
4301
4301
|
},
|
|
4302
4302
|
defaultResponseGranularity: "daily",
|
|
4303
4303
|
dataGranularity: "daily",
|
|
@@ -4309,13 +4309,13 @@ const Ns = /* @__PURE__ */ new Map([
|
|
|
4309
4309
|
],
|
|
4310
4310
|
[
|
|
4311
4311
|
d.CURRENT_MONTH,
|
|
4312
|
-
new
|
|
4312
|
+
new Es({
|
|
4313
4313
|
key: d.CURRENT_MONTH,
|
|
4314
4314
|
display: "This month",
|
|
4315
4315
|
timeframeText: "Month",
|
|
4316
4316
|
timeframeLength: () => {
|
|
4317
4317
|
const e = ie(/* @__PURE__ */ new Date());
|
|
4318
|
-
return (re(
|
|
4318
|
+
return (re(Re(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
|
|
4319
4319
|
},
|
|
4320
4320
|
defaultResponseGranularity: "daily",
|
|
4321
4321
|
dataGranularity: "daily",
|
|
@@ -4325,13 +4325,13 @@ const Ns = /* @__PURE__ */ new Map([
|
|
|
4325
4325
|
],
|
|
4326
4326
|
[
|
|
4327
4327
|
d.CURRENT_QUARTER,
|
|
4328
|
-
new
|
|
4328
|
+
new Is({
|
|
4329
4329
|
key: d.CURRENT_QUARTER,
|
|
4330
4330
|
display: "This quarter",
|
|
4331
4331
|
timeframeText: "Quarter",
|
|
4332
4332
|
timeframeLength: () => {
|
|
4333
4333
|
const e = ae(/* @__PURE__ */ new Date());
|
|
4334
|
-
return (re(
|
|
4334
|
+
return (re(Re(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
|
|
4335
4335
|
},
|
|
4336
4336
|
defaultResponseGranularity: "daily",
|
|
4337
4337
|
dataGranularity: "daily",
|
|
@@ -4341,13 +4341,13 @@ const Ns = /* @__PURE__ */ new Map([
|
|
|
4341
4341
|
],
|
|
4342
4342
|
[
|
|
4343
4343
|
d.CURRENT_YEAR,
|
|
4344
|
-
new
|
|
4344
|
+
new As({
|
|
4345
4345
|
key: d.CURRENT_YEAR,
|
|
4346
4346
|
display: "This year",
|
|
4347
4347
|
timeframeText: "Year",
|
|
4348
4348
|
timeframeLength: () => {
|
|
4349
4349
|
const e = new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1);
|
|
4350
|
-
return (re(
|
|
4350
|
+
return (re(Re(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
|
|
4351
4351
|
},
|
|
4352
4352
|
defaultResponseGranularity: "daily",
|
|
4353
4353
|
dataGranularity: "daily",
|
|
@@ -4357,7 +4357,7 @@ const Ns = /* @__PURE__ */ new Map([
|
|
|
4357
4357
|
],
|
|
4358
4358
|
[
|
|
4359
4359
|
d.PREVIOUS_WEEK,
|
|
4360
|
-
new
|
|
4360
|
+
new Us({
|
|
4361
4361
|
key: d.PREVIOUS_WEEK,
|
|
4362
4362
|
display: "Previous week",
|
|
4363
4363
|
timeframeText: "Week",
|
|
@@ -4372,14 +4372,14 @@ const Ns = /* @__PURE__ */ new Map([
|
|
|
4372
4372
|
],
|
|
4373
4373
|
[
|
|
4374
4374
|
d.PREVIOUS_MONTH,
|
|
4375
|
-
new
|
|
4375
|
+
new Ps({
|
|
4376
4376
|
key: d.PREVIOUS_MONTH,
|
|
4377
4377
|
display: "Previous month",
|
|
4378
4378
|
timeframeText: "Month",
|
|
4379
4379
|
timeframeLength: () => {
|
|
4380
4380
|
let e = 0;
|
|
4381
4381
|
const t = ie(/* @__PURE__ */ new Date()), n = ie(Xn(/* @__PURE__ */ new Date()));
|
|
4382
|
-
return t.getTimezoneOffset() !== n.getTimezoneOffset() && (e = Tn(t, n)), 3600 * 24 *
|
|
4382
|
+
return t.getTimezoneOffset() !== n.getTimezoneOffset() && (e = Tn(t, n)), 3600 * 24 * Ko((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + on(e);
|
|
4383
4383
|
},
|
|
4384
4384
|
defaultResponseGranularity: "daily",
|
|
4385
4385
|
dataGranularity: "daily",
|
|
@@ -4389,7 +4389,7 @@ const Ns = /* @__PURE__ */ new Map([
|
|
|
4389
4389
|
],
|
|
4390
4390
|
[
|
|
4391
4391
|
d.PREVIOUS_QUARTER,
|
|
4392
|
-
new
|
|
4392
|
+
new Ns({
|
|
4393
4393
|
key: d.PREVIOUS_QUARTER,
|
|
4394
4394
|
display: "Previous quarter",
|
|
4395
4395
|
timeframeText: "Quarter",
|
|
@@ -4405,7 +4405,7 @@ const Ns = /* @__PURE__ */ new Map([
|
|
|
4405
4405
|
],
|
|
4406
4406
|
[
|
|
4407
4407
|
d.PREVIOUS_YEAR,
|
|
4408
|
-
new
|
|
4408
|
+
new xs({
|
|
4409
4409
|
key: d.PREVIOUS_YEAR,
|
|
4410
4410
|
display: "Previous year",
|
|
4411
4411
|
timeframeText: "Year",
|
|
@@ -4421,9 +4421,9 @@ const Ns = /* @__PURE__ */ new Map([
|
|
|
4421
4421
|
})
|
|
4422
4422
|
]
|
|
4423
4423
|
]);
|
|
4424
|
-
function
|
|
4424
|
+
function zu(e) {
|
|
4425
4425
|
const t = new Date(e.start), n = new Date(e.end), r = (n.getTime() - t.getTime()) / 1e3;
|
|
4426
|
-
return e.timePeriodsKey &&
|
|
4426
|
+
return e.timePeriodsKey && Rs(ks.get(e.timePeriodsKey)) || new S({
|
|
4427
4427
|
key: "custom",
|
|
4428
4428
|
timeframeText: "custom",
|
|
4429
4429
|
display: "custom",
|
|
@@ -4436,14 +4436,14 @@ function Wu(e) {
|
|
|
4436
4436
|
allowedTiers: ["free", "plus", "enterprise"]
|
|
4437
4437
|
});
|
|
4438
4438
|
}
|
|
4439
|
-
function
|
|
4439
|
+
function Bu(e) {
|
|
4440
4440
|
return {
|
|
4441
4441
|
...e.key !== "custom" && { timePeriodsKey: e.key },
|
|
4442
4442
|
start: e.rawStart(),
|
|
4443
4443
|
end: e.rawEnd()
|
|
4444
4444
|
};
|
|
4445
4445
|
}
|
|
4446
|
-
function
|
|
4446
|
+
function Vu(e) {
|
|
4447
4447
|
return {
|
|
4448
4448
|
key: e.key,
|
|
4449
4449
|
display: e.display,
|
|
@@ -4455,9 +4455,9 @@ function $u(e) {
|
|
|
4455
4455
|
};
|
|
4456
4456
|
}
|
|
4457
4457
|
function Tn(e, t) {
|
|
4458
|
-
return
|
|
4458
|
+
return zo(e.getTimezoneOffset() - t.getTimezoneOffset());
|
|
4459
4459
|
}
|
|
4460
|
-
const
|
|
4460
|
+
const Qu = {
|
|
4461
4461
|
"15M": d.FIFTEEN_MIN,
|
|
4462
4462
|
"1H": d.ONE_HOUR,
|
|
4463
4463
|
"6H": d.SIX_HOUR,
|
|
@@ -4493,13 +4493,13 @@ class ft {
|
|
|
4493
4493
|
return Math.floor(i * (n - t + 1)) + t;
|
|
4494
4494
|
}
|
|
4495
4495
|
}
|
|
4496
|
-
const
|
|
4496
|
+
const Xu = ({
|
|
4497
4497
|
metrics: e,
|
|
4498
4498
|
dimensionMap: t,
|
|
4499
4499
|
metaOverrides: n,
|
|
4500
4500
|
valueRange: r = [50, 500],
|
|
4501
4501
|
timeSeries: i = !1
|
|
4502
|
-
}) => i ? e.length === 1 ?
|
|
4502
|
+
}) => i ? e.length === 1 ? Ls(e[0], t, n, r) : or(e, t, n, r) : Gs(e, t, n, r), Ls = (e, t, n, r) => {
|
|
4503
4503
|
const i = sr(10, 1e4), o = new ft(i), [c, l] = r || [50, 500], f = Date.now() - 360 * 60 * 1e3, _ = Date.now(), h = [];
|
|
4504
4504
|
let p = 0;
|
|
4505
4505
|
for (let y = f; y <= _; y += 3600 * 1e3)
|
|
@@ -4507,13 +4507,13 @@ const Bu = ({
|
|
|
4507
4507
|
for (const w in t)
|
|
4508
4508
|
t[w].forEach((v) => {
|
|
4509
4509
|
p += o.next(c, l);
|
|
4510
|
-
const
|
|
4510
|
+
const E = {
|
|
4511
4511
|
[w]: v,
|
|
4512
4512
|
[e.name]: p
|
|
4513
4513
|
}, U = {
|
|
4514
4514
|
version: "1.0",
|
|
4515
4515
|
timestamp: new Date(y).toISOString(),
|
|
4516
|
-
event:
|
|
4516
|
+
event: E
|
|
4517
4517
|
};
|
|
4518
4518
|
h.push(U);
|
|
4519
4519
|
});
|
|
@@ -4554,7 +4554,7 @@ const Bu = ({
|
|
|
4554
4554
|
data: h,
|
|
4555
4555
|
meta: A
|
|
4556
4556
|
};
|
|
4557
|
-
},
|
|
4557
|
+
}, Zu = (e, t, n) => or(e, void 0, t, n), or = (e, t, n, r) => {
|
|
4558
4558
|
const i = sr(10, 1e4), o = new ft(i), [c, l] = r || [50, 500], f = Date.now() - 360 * 60 * 1e3, _ = Date.now(), h = [], p = {};
|
|
4559
4559
|
e.forEach((y) => {
|
|
4560
4560
|
p[y.name] = 0;
|
|
@@ -4563,14 +4563,14 @@ const Bu = ({
|
|
|
4563
4563
|
if (t)
|
|
4564
4564
|
for (const w in t)
|
|
4565
4565
|
t[w].forEach((v) => {
|
|
4566
|
-
const
|
|
4566
|
+
const E = { [w]: v };
|
|
4567
4567
|
e.forEach((U) => {
|
|
4568
4568
|
const x = `${w}:${v}:${U.name}`;
|
|
4569
|
-
p[x] = (p[x] || 0) + o.next(c, l),
|
|
4569
|
+
p[x] = (p[x] || 0) + o.next(c, l), E[U.name] = p[x];
|
|
4570
4570
|
}), h.push({
|
|
4571
4571
|
version: "1.0",
|
|
4572
4572
|
timestamp: new Date(y).toISOString(),
|
|
4573
|
-
event:
|
|
4573
|
+
event: E
|
|
4574
4574
|
});
|
|
4575
4575
|
});
|
|
4576
4576
|
else {
|
|
@@ -4607,22 +4607,22 @@ const Bu = ({
|
|
|
4607
4607
|
data: h,
|
|
4608
4608
|
meta: A
|
|
4609
4609
|
};
|
|
4610
|
-
},
|
|
4610
|
+
}, Gs = (e, t, n, r) => {
|
|
4611
4611
|
const i = Math.floor(Math.random() * 9991) + 10, o = new ft(i), [c, l] = r || [50, 500], f = Date.now() - 360 * 60 * 1e3, _ = Date.now(), h = new Date((f + _) / 2).toISOString(), p = [];
|
|
4612
4612
|
if (t) {
|
|
4613
|
-
const y = Object.keys(t), w = Object.values(t), v = (
|
|
4613
|
+
const y = Object.keys(t), w = Object.values(t), v = (E, U) => {
|
|
4614
4614
|
if (U === y.length) {
|
|
4615
4615
|
e.forEach((x) => {
|
|
4616
|
-
|
|
4616
|
+
E[x.name] = o.next(c, l);
|
|
4617
4617
|
}), p.push({
|
|
4618
4618
|
version: "1.0",
|
|
4619
4619
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
4620
|
-
event: { ...
|
|
4620
|
+
event: { ...E }
|
|
4621
4621
|
});
|
|
4622
4622
|
return;
|
|
4623
4623
|
}
|
|
4624
4624
|
w[U].forEach((x) => {
|
|
4625
|
-
v({ ...
|
|
4625
|
+
v({ ...E, [y[U]]: x }, U + 1);
|
|
4626
4626
|
});
|
|
4627
4627
|
};
|
|
4628
4628
|
v({}, 0);
|
|
@@ -4665,7 +4665,7 @@ const Bu = ({
|
|
|
4665
4665
|
function sr(e, t) {
|
|
4666
4666
|
return e = Math.ceil(e), t = Math.floor(t), Math.floor(Math.random() * (t - e + 1) + e);
|
|
4667
4667
|
}
|
|
4668
|
-
const
|
|
4668
|
+
const Ys = new Map(Ln.map((e) => [e.code, { code: e.code, name: e.name }])), Ju = (e) => Ys.get(e)?.name || e, bn = 1e3, Fs = 1e4, Sn = 1e6, On = 1e9, Dn = 1e12, ye = (e, t) => {
|
|
4669
4669
|
if (t.separator === !1 || e < 1e3)
|
|
4670
4670
|
return e.toString();
|
|
4671
4671
|
const n = typeof t.separator == "string" ? t.separator : ",", r = [];
|
|
@@ -4681,16 +4681,16 @@ const ks = new Map(Ln.map((e) => [e.code, { code: e.code, name: e.name }])), Qu
|
|
|
4681
4681
|
let c = o.toString();
|
|
4682
4682
|
return typeof n.decimal == "string" && (c = c.replace(".", n.decimal)), c;
|
|
4683
4683
|
};
|
|
4684
|
-
function
|
|
4684
|
+
function Ee(e, t = {}) {
|
|
4685
4685
|
let n;
|
|
4686
4686
|
const r = e < 0;
|
|
4687
4687
|
r && (e = Math.abs(e)), t.precision && (e = parseFloat(e.toPrecision(t.precision)));
|
|
4688
|
-
const i = t.min10k ?
|
|
4688
|
+
const i = t.min10k ? Fs : bn;
|
|
4689
4689
|
return e < i || t.precision && t.precision > Math.log10(e) ? n = ye(te(e, 1, t), t) : e < Sn ? n = `${te(e, bn, t)}k` : e < On ? n = `${te(e, Sn, t)}m` : e < Dn ? n = `${ye(te(e, On, t), t)}b` : n = `${ye(te(e, Dn, t), t)}t`, r && (n = `-${n}`), t.capital && (n = n.toUpperCase()), t.prefix && (n = `${t.prefix}${n}`), t.suffix && (n = `${n}${t.suffix}`), n;
|
|
4690
4690
|
}
|
|
4691
|
-
|
|
4692
|
-
const
|
|
4693
|
-
function
|
|
4691
|
+
Ee.addCommas = ye;
|
|
4692
|
+
const qs = typeof document < "u" && document.documentElement?.lang || "en-US", nt = new Intl.NumberFormat(qs);
|
|
4693
|
+
function el({
|
|
4694
4694
|
i18n: e
|
|
4695
4695
|
}) {
|
|
4696
4696
|
const t = (o, c) => {
|
|
@@ -4731,7 +4731,7 @@ function Xu({
|
|
|
4731
4731
|
case "usd":
|
|
4732
4732
|
return n(o, f);
|
|
4733
4733
|
default:
|
|
4734
|
-
return isNaN(o) ? `${o}` : _ ? `${
|
|
4734
|
+
return isNaN(o) ? `${o}` : _ ? `${Ee(o, { capital: !0 })} ${p}` : o >= 0.01 ? `${nt.format(Number.parseFloat(o.toFixed(2)))} ${p}` : `${Number.parseFloat(o.toPrecision(4))} ${p}`;
|
|
4735
4735
|
}
|
|
4736
4736
|
}, formatBytes: t, formatCost: n, formatRange: (o, c, l, {
|
|
4737
4737
|
isBytes1024: f = !1,
|
|
@@ -4749,14 +4749,14 @@ function Xu({
|
|
|
4749
4749
|
if (isNaN(o) || isNaN(c))
|
|
4750
4750
|
return `${o} - ${c}`;
|
|
4751
4751
|
if (h)
|
|
4752
|
-
return `${
|
|
4752
|
+
return `${Ee(o, { capital: !0 })} - ${Ee(c, { capital: !0 })} ${g}`;
|
|
4753
4753
|
}
|
|
4754
4754
|
const A = o >= 0.01 ? `${nt.format(Number.parseFloat(o.toFixed(2)))}` : `${Number.parseFloat(o.toPrecision(4))}`, y = c >= 0.01 ? `${nt.format(Number.parseFloat(c.toFixed(2)))}` : `${Number.parseFloat(c.toPrecision(4))}`;
|
|
4755
4755
|
return `${A} - ${y} ${g}`;
|
|
4756
4756
|
} };
|
|
4757
4757
|
}
|
|
4758
|
-
const
|
|
4759
|
-
const i = Math.max(0, r.maxRecords ??
|
|
4758
|
+
const Hs = 1e4, tl = async (e, t, n, r = {}) => {
|
|
4759
|
+
const i = Math.max(0, r.maxRecords ?? Hs), o = Math.min(Vt, Math.max(1, r.pageSize ?? Vt)), c = [];
|
|
4760
4760
|
let l = t.query.cursor, f;
|
|
4761
4761
|
for (; c.length < i; ) {
|
|
4762
4762
|
const _ = Math.min(o, i - c.length), h = await e({
|
|
@@ -4779,144 +4779,140 @@ const Ys = 1e4, Zu = async (e, t, n, r = {}) => {
|
|
|
4779
4779
|
truncated: !!l && c.length >= i,
|
|
4780
4780
|
limit: i
|
|
4781
4781
|
};
|
|
4782
|
-
},
|
|
4782
|
+
}, js = (e) => {
|
|
4783
4783
|
const t = e.length;
|
|
4784
4784
|
let n = 5381;
|
|
4785
4785
|
for (let r = 0; r < t; r++)
|
|
4786
4786
|
n = n * 33 ^ e.charCodeAt(r);
|
|
4787
4787
|
return n >>> 0;
|
|
4788
|
-
},
|
|
4789
|
-
100:
|
|
4790
|
-
101:
|
|
4791
|
-
102:
|
|
4792
|
-
103:
|
|
4793
|
-
200:
|
|
4794
|
-
201:
|
|
4795
|
-
202:
|
|
4796
|
-
203:
|
|
4797
|
-
204:
|
|
4798
|
-
205:
|
|
4799
|
-
206:
|
|
4800
|
-
207:
|
|
4801
|
-
208:
|
|
4802
|
-
226:
|
|
4803
|
-
300:
|
|
4804
|
-
301:
|
|
4805
|
-
302:
|
|
4806
|
-
303:
|
|
4807
|
-
304:
|
|
4808
|
-
305:
|
|
4809
|
-
307:
|
|
4810
|
-
308:
|
|
4811
|
-
400:
|
|
4812
|
-
401:
|
|
4813
|
-
402:
|
|
4814
|
-
403:
|
|
4815
|
-
404:
|
|
4816
|
-
405:
|
|
4817
|
-
406:
|
|
4818
|
-
407:
|
|
4819
|
-
408:
|
|
4820
|
-
409:
|
|
4821
|
-
410:
|
|
4822
|
-
411:
|
|
4823
|
-
412:
|
|
4824
|
-
413:
|
|
4825
|
-
414:
|
|
4826
|
-
415:
|
|
4827
|
-
416:
|
|
4828
|
-
417:
|
|
4829
|
-
418:
|
|
4830
|
-
421:
|
|
4831
|
-
422:
|
|
4832
|
-
423:
|
|
4833
|
-
424:
|
|
4834
|
-
425:
|
|
4835
|
-
426:
|
|
4836
|
-
428:
|
|
4837
|
-
429:
|
|
4838
|
-
431:
|
|
4839
|
-
451:
|
|
4840
|
-
500:
|
|
4841
|
-
501:
|
|
4842
|
-
502:
|
|
4843
|
-
503:
|
|
4844
|
-
504:
|
|
4845
|
-
505:
|
|
4846
|
-
506:
|
|
4847
|
-
507:
|
|
4848
|
-
508:
|
|
4849
|
-
510:
|
|
4850
|
-
511:
|
|
4851
|
-
},
|
|
4852
|
-
100:
|
|
4853
|
-
200:
|
|
4854
|
-
300:
|
|
4855
|
-
400:
|
|
4856
|
-
500:
|
|
4788
|
+
}, Ws = "#0044f4", cr = "#6c7489", Ks = "#d60027", $s = "#ffc400", zs = "#bee2ff", Bs = "#8fc1ff", Vs = "#5f9aff", Qs = "#306fff", Xs = "#b5ffee", Zs = "#00fabe", Js = "#00d6a4", ec = "#00a17b", tc = "#007d60", nc = "#005944", rc = "#b5ffee", ac = "#00fabe", ic = "#b5ffee", oc = "#00a17b", sc = "#fff296", cc = "#ffe04b", uc = "#ffc400", lc = "#b37600", dc = "#995c00", mc = "#804400", fc = "#fff296", pc = "#ffe04b", hc = "#ffc2b3", yc = "#ff9877", _c = "#ff723c", gc = "#f75008", wc = "#d13500", Tc = "#a31f00", bc = "#ffc2b3", Sc = "#ff9877", Oc = "#ff723c", Dc = "#f75008", Mc = "#d13500", vc = "#a31f00", Rc = "#ffc2b3", Cc = "#ff9877", Ec = "#ff723c", Ic = "#f75008", Ac = "#d13500", Uc = "#a31f00", Nc = "#ffc2b3", Pc = "#ff9877", xc = "#ff723c", kc = "#f75008", Lc = "#d13500", Gc = "#a31f00", Yc = "#ffc2b3", Fc = "#ff9877", qc = "#ff723c", Hc = "#f75008", jc = "#d13500", Wc = "#ffabab", Kc = "#ff7272", $c = "#ff3954", zc = "#f50045", Bc = "#d60027", Vc = "#ad000e", Qc = "#ffabab", Xc = "#ff7272", Zc = "#ff3954", Jc = "#f50045", eu = "#d60027", tu = "#eefaff", nu = "#ecfffb", ru = "#fffce0", au = "#fff1ef", iu = "#ffe5e5", ou = "#5f9aff", su = "#00d6a4", cu = "#ffc400", uu = "#ff723c", lu = "#ff3954", du = {
|
|
4789
|
+
100: zs,
|
|
4790
|
+
101: Bs,
|
|
4791
|
+
102: Vs,
|
|
4792
|
+
103: Qs,
|
|
4793
|
+
200: Xs,
|
|
4794
|
+
201: Zs,
|
|
4795
|
+
202: Js,
|
|
4796
|
+
203: ec,
|
|
4797
|
+
204: tc,
|
|
4798
|
+
205: nc,
|
|
4799
|
+
206: rc,
|
|
4800
|
+
207: ac,
|
|
4801
|
+
208: ic,
|
|
4802
|
+
226: oc,
|
|
4803
|
+
300: sc,
|
|
4804
|
+
301: cc,
|
|
4805
|
+
302: uc,
|
|
4806
|
+
303: lc,
|
|
4807
|
+
304: dc,
|
|
4808
|
+
305: mc,
|
|
4809
|
+
307: fc,
|
|
4810
|
+
308: pc,
|
|
4811
|
+
400: hc,
|
|
4812
|
+
401: yc,
|
|
4813
|
+
402: _c,
|
|
4814
|
+
403: gc,
|
|
4815
|
+
404: wc,
|
|
4816
|
+
405: Tc,
|
|
4817
|
+
406: bc,
|
|
4818
|
+
407: Sc,
|
|
4819
|
+
408: Oc,
|
|
4820
|
+
409: Dc,
|
|
4821
|
+
410: Mc,
|
|
4822
|
+
411: vc,
|
|
4823
|
+
412: Rc,
|
|
4824
|
+
413: Cc,
|
|
4825
|
+
414: Ec,
|
|
4826
|
+
415: Ic,
|
|
4827
|
+
416: Ac,
|
|
4828
|
+
417: Uc,
|
|
4829
|
+
418: Nc,
|
|
4830
|
+
421: Pc,
|
|
4831
|
+
422: xc,
|
|
4832
|
+
423: kc,
|
|
4833
|
+
424: Lc,
|
|
4834
|
+
425: Gc,
|
|
4835
|
+
426: Yc,
|
|
4836
|
+
428: Fc,
|
|
4837
|
+
429: qc,
|
|
4838
|
+
431: Hc,
|
|
4839
|
+
451: jc,
|
|
4840
|
+
500: Wc,
|
|
4841
|
+
501: Kc,
|
|
4842
|
+
502: $c,
|
|
4843
|
+
503: zc,
|
|
4844
|
+
504: Bc,
|
|
4845
|
+
505: Vc,
|
|
4846
|
+
506: Qc,
|
|
4847
|
+
507: Xc,
|
|
4848
|
+
508: Zc,
|
|
4849
|
+
510: Jc,
|
|
4850
|
+
511: eu
|
|
4851
|
+
}, mu = {
|
|
4852
|
+
100: tu,
|
|
4853
|
+
200: nu,
|
|
4854
|
+
300: ru,
|
|
4855
|
+
400: au,
|
|
4856
|
+
500: iu
|
|
4857
4857
|
}, Mn = {
|
|
4858
|
-
"1XX":
|
|
4859
|
-
"2XX":
|
|
4860
|
-
"3XX":
|
|
4861
|
-
"4XX":
|
|
4862
|
-
"5XX":
|
|
4863
|
-
},
|
|
4864
|
-
error:
|
|
4865
|
-
warning:
|
|
4858
|
+
"1XX": ou,
|
|
4859
|
+
"2XX": su,
|
|
4860
|
+
"3XX": cu,
|
|
4861
|
+
"4XX": uu,
|
|
4862
|
+
"5XX": lu
|
|
4863
|
+
}, fu = {
|
|
4864
|
+
error: Ks,
|
|
4865
|
+
warning: $s,
|
|
4866
4866
|
empty: "#9DA99D",
|
|
4867
4867
|
// chart.series.9
|
|
4868
4868
|
neutral: cr,
|
|
4869
|
-
____OTHER____:
|
|
4869
|
+
____OTHER____: Ws
|
|
4870
4870
|
}, vn = [
|
|
4871
4871
|
"#0076F4",
|
|
4872
4872
|
"#00819D",
|
|
4873
4873
|
"#00A17B",
|
|
4874
4874
|
"#8A50FF",
|
|
4875
4875
|
"#FF3C99",
|
|
4876
|
-
"#FF395D",
|
|
4877
4876
|
"#FF6D3C",
|
|
4878
|
-
"#B3A100"
|
|
4879
|
-
|
|
4880
|
-
], En = [
|
|
4877
|
+
"#B3A100"
|
|
4878
|
+
], Rn = [
|
|
4881
4879
|
"#5485BA",
|
|
4882
4880
|
"#087D96",
|
|
4883
4881
|
"#3D8776",
|
|
4884
4882
|
"#7654BA",
|
|
4885
4883
|
"#A1406F",
|
|
4886
|
-
"#953042",
|
|
4887
4884
|
"#BF5430",
|
|
4888
|
-
"#B5A72C"
|
|
4889
|
-
|
|
4890
|
-
], du = (e) => Fs(e), Rn = ({
|
|
4885
|
+
"#B5A72C"
|
|
4886
|
+
], pu = (e) => js(e), Cn = ({
|
|
4891
4887
|
discriminator: e,
|
|
4892
4888
|
theme: t = "light",
|
|
4893
4889
|
customPalette: n = void 0
|
|
4894
4890
|
}) => {
|
|
4895
4891
|
const r = Math.abs(Math.floor(e));
|
|
4896
|
-
return n ? n[r % n.length] : t === "dark" ?
|
|
4892
|
+
return n ? n[r % n.length] : t === "dark" ? Rn[r % Rn.length] : vn[r % vn.length];
|
|
4897
4893
|
}, _e = ({
|
|
4898
4894
|
state: e
|
|
4899
|
-
}) =>
|
|
4895
|
+
}) => fu[e] ?? cr, hu = ({
|
|
4900
4896
|
statusCode: e
|
|
4901
4897
|
}) => {
|
|
4902
4898
|
const t = typeof e == "number" ? e : Number.parseInt(e, 10), n = `${t}`, r = `${Math.floor(t / 100) * 100}`;
|
|
4903
|
-
return
|
|
4904
|
-
},
|
|
4899
|
+
return du[n] ?? mu[r] ?? _e({ state: "neutral" });
|
|
4900
|
+
}, yu = ({
|
|
4905
4901
|
group: e
|
|
4906
|
-
}) => Mn[e] ? Mn[e] : _e({ state: "neutral" }),
|
|
4902
|
+
}) => Mn[e] ? Mn[e] : _e({ state: "neutral" }), nl = ({
|
|
4907
4903
|
discriminator: e = void 0,
|
|
4908
4904
|
state: t = void 0,
|
|
4909
4905
|
dimension: n = void 0,
|
|
4910
4906
|
dimensionValue: r = void 0,
|
|
4911
4907
|
metric: i = void 0,
|
|
4912
|
-
|
|
4913
|
-
customPalette: c = void 0
|
|
4908
|
+
customPalette: o = void 0
|
|
4914
4909
|
}) => {
|
|
4915
|
-
|
|
4916
|
-
|
|
4910
|
+
let c = "light";
|
|
4911
|
+
if (Na() && (c = Pa("app:konnectColorMode", xa(() => "light")).value), e !== void 0)
|
|
4912
|
+
return Cn({
|
|
4917
4913
|
discriminator: e,
|
|
4918
|
-
theme:
|
|
4919
|
-
customPalette:
|
|
4914
|
+
theme: c,
|
|
4915
|
+
customPalette: o
|
|
4920
4916
|
});
|
|
4921
4917
|
if (t !== void 0)
|
|
4922
4918
|
return _e({ state: t });
|
|
@@ -4924,14 +4920,14 @@ const Ys = 1e4, Zu = async (e, t, n, r = {}) => {
|
|
|
4924
4920
|
return _e({ state: r });
|
|
4925
4921
|
if (n !== void 0 && r !== void 0) {
|
|
4926
4922
|
if (n === "status_code")
|
|
4927
|
-
return
|
|
4923
|
+
return hu({ statusCode: r });
|
|
4928
4924
|
if (n === "status_code_grouped")
|
|
4929
|
-
return
|
|
4925
|
+
return yu({ group: r });
|
|
4930
4926
|
}
|
|
4931
|
-
return n || r || i ?
|
|
4932
|
-
discriminator:
|
|
4933
|
-
theme:
|
|
4934
|
-
customPalette:
|
|
4927
|
+
return n || r || i ? Cn({
|
|
4928
|
+
discriminator: pu(`${n ?? ""}${r ?? ""}${i ?? ""}`),
|
|
4929
|
+
theme: c,
|
|
4930
|
+
customPalette: o
|
|
4935
4931
|
}) : _e({ state: "neutral" });
|
|
4936
4932
|
};
|
|
4937
4933
|
export {
|
|
@@ -4939,133 +4935,133 @@ export {
|
|
|
4939
4935
|
rt as CAPTURE_PREPARE_EVENT,
|
|
4940
4936
|
at as CAPTURE_RESTORE_EVENT,
|
|
4941
4937
|
Ln as COUNTRIES,
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4938
|
+
Hs as DEFAULT_MAX_REQUEST_RECORDS,
|
|
4939
|
+
$u as DeltaQueryTime,
|
|
4940
|
+
Ou as EXPORT_RECORD_LIMIT,
|
|
4945
4941
|
oe as Granularities,
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4942
|
+
Du as INJECT_QUERY_PROVIDER,
|
|
4943
|
+
Wa as PLATFORM_DATASOURCES,
|
|
4944
|
+
Su as REFRESH_INTERVAL_MS,
|
|
4949
4945
|
ft as SeededRandom,
|
|
4950
|
-
|
|
4951
|
-
|
|
4946
|
+
Qu as TIMEFRAME_LOOKUP,
|
|
4947
|
+
ks as TimePeriods,
|
|
4952
4948
|
S as Timeframe,
|
|
4953
4949
|
d as TimeframeKeys,
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4950
|
+
Ku as TimeseriesQueryTime,
|
|
4951
|
+
Os as UnaryQueryTime,
|
|
4952
|
+
Ka as agenticExploreAggregations,
|
|
4953
|
+
gi as agenticUsageSchema,
|
|
4954
|
+
Ya as aiExploreAggregations,
|
|
4955
|
+
Si as apiRequestsExtraFieldSchema,
|
|
4956
|
+
Oi as apiRequestsQuerySchema,
|
|
4957
|
+
hi as apiUsageQuerySchema,
|
|
4958
|
+
Va as barChartSchema,
|
|
4963
4959
|
In as basicExploreAggregations,
|
|
4964
|
-
|
|
4960
|
+
yi as basicQuerySchema,
|
|
4965
4961
|
ir as ceilToNearestTimeGrain,
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4962
|
+
Ai as chartTileConfigSchema,
|
|
4963
|
+
di as choroplethMapSchema,
|
|
4964
|
+
nl as color,
|
|
4965
|
+
Cn as colorByDiscriminator,
|
|
4970
4966
|
_e as colorByState,
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4967
|
+
hu as colorByStatusCode,
|
|
4968
|
+
yu as colorByStatusCodeGroup,
|
|
4969
|
+
ai as columnIconSet,
|
|
4970
|
+
Ys as countries,
|
|
4971
|
+
Rn as darkPalette,
|
|
4972
|
+
Gu as dashboardConfigSchema,
|
|
4973
|
+
ku as dashboardTileTypes,
|
|
4974
|
+
za as datasourceToFilterableDimensions,
|
|
4975
|
+
zu as datePickerSelectionToTimeframe,
|
|
4976
|
+
js as djb2,
|
|
4977
|
+
ti as donutChartSchema,
|
|
4982
4978
|
Tn as dstOffsetHours,
|
|
4983
4979
|
An as exploreAggregations,
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4980
|
+
La as exploreFilterTypesV2,
|
|
4981
|
+
Mu as extendedRelativeTimeRangeValues,
|
|
4982
|
+
tl as fetchAllRequests,
|
|
4987
4983
|
ke as filterableAgenticExploreDimensions,
|
|
4988
4984
|
xe as filterableAiExploreDimensions,
|
|
4989
4985
|
Ne as filterableBasicExploreDimensions,
|
|
4990
4986
|
Pe as filterableExploreDimensions,
|
|
4991
4987
|
ct as filterableManagedCacheExploreDimensions,
|
|
4992
|
-
|
|
4988
|
+
pi as filterablePlatformPresetFilterDimensions,
|
|
4993
4989
|
Nn as filterableRequestDimensions,
|
|
4994
4990
|
Pn as filterableRequestMetrics,
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4991
|
+
Ha as filterableRequestWildcardDimensions,
|
|
4992
|
+
Wu as finestGranularityForDuration,
|
|
4993
|
+
Ss as floorToNearestTimeGrain,
|
|
4998
4994
|
gn as formatTime,
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
4995
|
+
qu as formatTimeRange,
|
|
4996
|
+
Fu as formatTimestamp,
|
|
4997
|
+
ei as gaugeChartSchema,
|
|
4998
|
+
Gs as generateCrossSectionalData,
|
|
4999
|
+
Xu as generateData,
|
|
5000
|
+
pu as generateDiscriminator,
|
|
5001
|
+
Zu as generateMultipleMetricTimeSeriesData,
|
|
5002
|
+
Ls as generateSingleMetricTimeSeriesData,
|
|
5003
|
+
Ju as getCountryName,
|
|
5004
|
+
Yu as getFieldDataSources,
|
|
5005
|
+
Hu as granularitiesToOptions,
|
|
5006
|
+
bs as granularityMsToQuery,
|
|
5007
|
+
En as granularityValues,
|
|
5008
|
+
ni as heatmapChartSchema,
|
|
5009
|
+
Nu as isPlatformDatasource,
|
|
5014
5010
|
vn as lightPalette,
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5011
|
+
_i as llmUsageSchema,
|
|
5012
|
+
$a as managedCacheExploreAggregations,
|
|
5013
|
+
wi as managedCacheUsageQuerySchema,
|
|
5014
|
+
ui as metricCardSchema,
|
|
5015
|
+
ju as msToGranularity,
|
|
5020
5016
|
nt as numberFormatter,
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5017
|
+
Ti as platformQuerySchema,
|
|
5018
|
+
bi as platformTabularQuerySchema,
|
|
5019
|
+
wu as prepareForCapture,
|
|
5020
|
+
Pu as queryDatasources,
|
|
5025
5021
|
xn as queryableAgenticExploreDimensions,
|
|
5026
5022
|
Un as queryableAiExploreDimensions,
|
|
5027
5023
|
ot as queryableBasicExploreDimensions,
|
|
5028
5024
|
st as queryableExploreDimensions,
|
|
5029
5025
|
kn as queryableManagedCacheExploreDimensions,
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5026
|
+
Fa as queryableRequestDimensions,
|
|
5027
|
+
ja as queryableRequestMetrics,
|
|
5028
|
+
qa as queryableRequestWildcardDimensions,
|
|
5033
5029
|
sr as rand,
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5030
|
+
ka as registerCapture,
|
|
5031
|
+
bu as registerWebglCapture,
|
|
5032
|
+
Uu as relativeTimeRangeValuesRequestV2,
|
|
5033
|
+
Au as relativeTimeRangeValuesV4,
|
|
5034
|
+
vu as reportChartTypes,
|
|
5035
|
+
Ga as requestFilterTypeEmptyV2,
|
|
5036
|
+
Ru as requestFilterTypeEqualsV2,
|
|
5037
|
+
Cu as requestFilterTypeMetricV2,
|
|
5038
|
+
Eu as requestFilterTypeWildcardV2,
|
|
5039
|
+
Tu as restoreAfterCapture,
|
|
5044
5040
|
Yn as scatterChartSchema,
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5041
|
+
Ja as scatterPercentileLineSchema,
|
|
5042
|
+
li as singleValueSchema,
|
|
5043
|
+
Ba as slottableSchema,
|
|
5044
|
+
Ui as slottableTileConfigSchema,
|
|
5045
|
+
xu as stripUnknownFilters,
|
|
5046
|
+
ci as tableChartSchema,
|
|
5047
|
+
Qa as thresholdSchema,
|
|
5048
|
+
Ni as tileConfigSchema,
|
|
5049
|
+
Ii as tileDefinitionSchema,
|
|
5054
5050
|
Kn as tileLayoutSchema,
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5051
|
+
Iu as timeRangeTypeV2,
|
|
5052
|
+
Bu as timeframeToDatepickerSelection,
|
|
5053
|
+
Vu as timeframeToDatepickerTimeperiod,
|
|
5054
|
+
Za as timeseriesChartSchema,
|
|
5059
5055
|
Fn as topNColumnOptionsSchema,
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5056
|
+
ii as topNTableSchema,
|
|
5057
|
+
si as topTalkersSchema,
|
|
5058
|
+
ri as treemapChartSchema,
|
|
5059
|
+
el as unitFormatter,
|
|
5060
|
+
gu as useInteractionCoordinator,
|
|
5061
|
+
Di as validDashboardChartQuery,
|
|
5062
|
+
Lu as validDashboardQuery,
|
|
5063
|
+
Mi as validDashboardTableQuery,
|
|
5064
|
+
Xa as yAxisPositions,
|
|
5069
5065
|
Qt as yAxisSchema
|
|
5070
5066
|
};
|
|
5071
5067
|
//# sourceMappingURL=vitals-utilities.es.js.map
|