@kong-ui-public/analytics-utilities 11.5.1-pr.2565.4dcb99c0c.0 → 11.5.1-pr.2565.51a29ad06.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.
@@ -2,7 +2,7 @@ var Vr = Object.defineProperty;
2
2
  var Xr = (e, t, n) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var T = (e, t, n) => Xr(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  const Eo = 3e4, No = 250, Io = "analytics-query-provider";
5
- var m = /* @__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))(m || {});
5
+ var m = /* @__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.THREE_HUNDRED_SIXTY_DAY = "360d", 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))(m || {});
6
6
  const xo = [
7
7
  "horizontal_bar",
8
8
  "vertical_bar",
@@ -11,7 +11,7 @@ const xo = [
11
11
  "timeseries_bar",
12
12
  "donut",
13
13
  "single_value"
14
- ], $r = ["in", "not_in", "selector"], Po = ["=", "!="], Ro = ["=", "!=", "<", ">", "<=", ">="], Zr = ["empty", "not_empty"], Co = ["starts_with", "ends_with"], Go = ["absolute", "relative"], Qr = [
14
+ ], $r = ["in", "not_in", "selector"], Po = ["=", "!="], Ro = ["=", "!=", "<", ">", "<=", ">="], Zr = ["empty", "not_empty"], Co = ["starts_with", "ends_with"], Yo = ["absolute", "relative"], Qr = [
15
15
  "15m",
16
16
  "1h",
17
17
  "6h",
@@ -25,7 +25,7 @@ const xo = [
25
25
  "previous_month",
26
26
  "90d",
27
27
  "180d",
28
- "365d",
28
+ "360d",
29
29
  "current_year",
30
30
  "previous_year"
31
31
  ], nn = [
@@ -171,7 +171,7 @@ const xo = [
171
171
  "service_protocol",
172
172
  "trace_id",
173
173
  "upstream_uri"
174
- ], Yo = na, ra = [
174
+ ], Go = na, ra = [
175
175
  "ai_count",
176
176
  "latencies_response_ms",
177
177
  "latencies_upstream_ms",
@@ -453,7 +453,7 @@ const xo = [
453
453
  "choropleth_map"
454
454
  ], se = {
455
455
  type: "string"
456
- }, W = {
456
+ }, U = {
457
457
  type: "string"
458
458
  }, un = {
459
459
  type: "boolean"
@@ -490,7 +490,7 @@ const xo = [
490
490
  },
491
491
  chart_dataset_colors: cn,
492
492
  synthetics_data_key: se,
493
- chart_title: W,
493
+ chart_title: U,
494
494
  allow_csv_export: un
495
495
  },
496
496
  required: ["type"],
@@ -534,7 +534,7 @@ const xo = [
534
534
  },
535
535
  chart_dataset_colors: cn,
536
536
  synthetics_data_key: se,
537
- chart_title: W,
537
+ chart_title: U,
538
538
  allow_csv_export: un
539
539
  },
540
540
  required: ["type"],
@@ -558,7 +558,7 @@ const xo = [
558
558
  type: "number"
559
559
  },
560
560
  synthetics_data_key: se,
561
- chart_title: W
561
+ chart_title: U
562
562
  },
563
563
  required: ["type"],
564
564
  additionalProperties: !1
@@ -570,14 +570,14 @@ const xo = [
570
570
  enum: ["donut"]
571
571
  },
572
572
  synthetics_data_key: se,
573
- chart_title: W
573
+ chart_title: U
574
574
  },
575
575
  required: ["type"],
576
576
  additionalProperties: !1
577
577
  }, ma = {
578
578
  type: "object",
579
579
  properties: {
580
- chart_title: W,
580
+ chart_title: U,
581
581
  synthetics_data_key: se,
582
582
  type: {
583
583
  type: "string",
@@ -595,7 +595,7 @@ const xo = [
595
595
  }, fa = {
596
596
  type: "object",
597
597
  properties: {
598
- chart_title: W,
598
+ chart_title: U,
599
599
  type: {
600
600
  type: "string",
601
601
  enum: ["golden_signals"]
@@ -622,7 +622,7 @@ const xo = [
622
622
  decimal_points: {
623
623
  type: "number"
624
624
  },
625
- chart_title: W
625
+ chart_title: U
626
626
  },
627
627
  required: ["type"],
628
628
  additionalProperties: !1
@@ -633,7 +633,7 @@ const xo = [
633
633
  type: "string",
634
634
  enum: ["choropleth_map"]
635
635
  },
636
- chart_title: W,
636
+ chart_title: U,
637
637
  fit_to_country: {
638
638
  type: "string",
639
639
  enum: sn.map((e) => e.code)
@@ -946,12 +946,12 @@ const xo = [
946
946
  },
947
947
  required: ["tiles"],
948
948
  additionalProperties: !1
949
- }, Wo = (e) => {
949
+ }, Uo = (e) => {
950
950
  const t = [];
951
951
  return Me.includes(e) && t.push("basic"), Se.includes(e) && t.push("api_usage"), Oe.includes(e) && t.push("llm_usage"), (ta.includes(e) || aa.includes(e)) && t.push("requests"), t;
952
- }, ln = 6048e5, Oa = 864e5, va = 60, Ea = 3600, Gt = Symbol.for("constructDateFrom");
952
+ }, ln = 6048e5, Oa = 864e5, va = 60, Ea = 3600, Yt = Symbol.for("constructDateFrom");
953
953
  function R(e, t) {
954
- return typeof e == "function" ? e(t) : e && typeof e == "object" && Gt in e ? e[Gt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
954
+ return typeof e == "function" ? e(t) : e && typeof e == "object" && Yt in e ? e[Yt](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
955
955
  }
956
956
  function S(e, t) {
957
957
  return R(t || e, e);
@@ -992,7 +992,7 @@ function dn(e, t) {
992
992
  const d = _e(c);
993
993
  return n.getTime() >= s.getTime() ? r + 1 : n.getTime() >= d.getTime() ? r : r - 1;
994
994
  }
995
- function Yt(e) {
995
+ function Gt(e) {
996
996
  const t = S(e), n = new Date(
997
997
  Date.UTC(
998
998
  t.getFullYear(),
@@ -1022,7 +1022,7 @@ function Pa(e, t, n) {
1022
1022
  n == null ? void 0 : n.in,
1023
1023
  e,
1024
1024
  t
1025
- ), s = ie(r), c = ie(i), d = +s - Yt(s), h = +c - Yt(c);
1025
+ ), s = ie(r), c = ie(i), d = +s - Gt(s), h = +c - Gt(c);
1026
1026
  return Math.round((d - h) / Oa);
1027
1027
  }
1028
1028
  function Ra(e, t) {
@@ -1032,14 +1032,14 @@ function Ra(e, t) {
1032
1032
  function Ca(e) {
1033
1033
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
1034
1034
  }
1035
- function Ga(e) {
1035
+ function Ya(e) {
1036
1036
  return !(!Ca(e) && typeof e != "number" || isNaN(+S(e)));
1037
1037
  }
1038
1038
  function ee(e, t) {
1039
1039
  const n = S(e, t == null ? void 0 : t.in);
1040
1040
  return n.setDate(1), n.setHours(0, 0, 0, 0), n;
1041
1041
  }
1042
- function Ya(e, t) {
1042
+ function Ga(e, t) {
1043
1043
  const n = S(e, t == null ? void 0 : t.in);
1044
1044
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
1045
1045
  }
@@ -1131,7 +1131,7 @@ const Ha = {
1131
1131
  long: "{{date}} 'at' {{time}}",
1132
1132
  medium: "{{date}}, {{time}}",
1133
1133
  short: "{{date}}, {{time}}"
1134
- }, Wa = {
1134
+ }, Ua = {
1135
1135
  date: Le({
1136
1136
  formats: Ha,
1137
1137
  defaultWidth: "full"
@@ -1144,14 +1144,14 @@ const Ha = {
1144
1144
  formats: La,
1145
1145
  defaultWidth: "full"
1146
1146
  })
1147
- }, Ua = {
1147
+ }, Wa = {
1148
1148
  lastWeek: "'last' eeee 'at' p",
1149
1149
  yesterday: "'yesterday at' p",
1150
1150
  today: "'today at' p",
1151
1151
  tomorrow: "'tomorrow at' p",
1152
1152
  nextWeek: "eeee 'at' p",
1153
1153
  other: "P"
1154
- }, qa = (e, t, n, r) => Ua[e];
1154
+ }, qa = (e, t, n, r) => Wa[e];
1155
1155
  function re(e) {
1156
1156
  return (t, n) => {
1157
1157
  const r = n != null && n.context ? String(n.context) : "standalone";
@@ -1465,7 +1465,7 @@ const ti = /^(\d+)(th|st|nd|rd)?/i, ni = /\d+/i, ri = {
1465
1465
  }, hi = {
1466
1466
  code: "en-US",
1467
1467
  formatDistance: Aa,
1468
- formatLong: Wa,
1468
+ formatLong: Ua,
1469
1469
  formatRelative: qa,
1470
1470
  localize: Qa,
1471
1471
  match: fi,
@@ -1476,7 +1476,7 @@ const ti = /^(\d+)(th|st|nd|rd)?/i, ni = /\d+/i, ri = {
1476
1476
  };
1477
1477
  function yi(e, t) {
1478
1478
  const n = S(e, t == null ? void 0 : t.in);
1479
- return Pa(n, Ya(n)) + 1;
1479
+ return Pa(n, Ga(n)) + 1;
1480
1480
  }
1481
1481
  function gi(e, t) {
1482
1482
  const n = S(e, t == null ? void 0 : t.in), r = +_e(n) - +Ra(n);
@@ -2128,9 +2128,9 @@ function Ei(e, t, n) {
2128
2128
  }
2129
2129
  const Ni = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ii = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, xi = /^'([^]*?)'?$/, Pi = /''/g, Ri = /[a-zA-Z]/;
2130
2130
  function hn(e, t, n) {
2131
- var _, y, g, I, x, P, C, U;
2132
- const r = ue(), i = (n == null ? void 0 : n.locale) ?? r.locale ?? hi, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((y = (_ = n == null ? void 0 : n.locale) == null ? void 0 : _.options) == null ? void 0 : y.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((I = (g = r.locale) == null ? void 0 : g.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, c = (n == null ? void 0 : n.weekStartsOn) ?? ((P = (x = n == null ? void 0 : n.locale) == null ? void 0 : x.options) == null ? void 0 : P.weekStartsOn) ?? r.weekStartsOn ?? ((U = (C = r.locale) == null ? void 0 : C.options) == null ? void 0 : U.weekStartsOn) ?? 0, d = S(e, n == null ? void 0 : n.in);
2133
- if (!Ga(d))
2131
+ var _, y, g, I, x, P, C, W;
2132
+ const r = ue(), i = (n == null ? void 0 : n.locale) ?? r.locale ?? hi, s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((y = (_ = n == null ? void 0 : n.locale) == null ? void 0 : _.options) == null ? void 0 : y.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((I = (g = r.locale) == null ? void 0 : g.options) == null ? void 0 : I.firstWeekContainsDate) ?? 1, c = (n == null ? void 0 : n.weekStartsOn) ?? ((P = (x = n == null ? void 0 : n.locale) == null ? void 0 : x.options) == null ? void 0 : P.weekStartsOn) ?? r.weekStartsOn ?? ((W = (C = r.locale) == null ? void 0 : C.options) == null ? void 0 : W.weekStartsOn) ?? 0, d = S(e, n == null ? void 0 : n.in);
2133
+ if (!Ya(d))
2134
2134
  throw new RangeError("Invalid time value");
2135
2135
  let h = t.match(Ii).map((O) => {
2136
2136
  const b = O[0];
@@ -2171,20 +2171,20 @@ function Ci(e) {
2171
2171
  const t = e.match(xi);
2172
2172
  return t ? t[1].replace(Pi, "'") : e;
2173
2173
  }
2174
- function Gi(e, t) {
2174
+ function Yi(e, t) {
2175
2175
  const n = S(e, t == null ? void 0 : t.in), r = n.getFullYear(), i = n.getMonth(), s = R(n, 0);
2176
2176
  return s.setFullYear(r, i + 1, 0), s.setHours(0, 0, 0, 0), s.getDate();
2177
2177
  }
2178
- function Yi() {
2178
+ function Gi() {
2179
2179
  return Object.assign({}, ue());
2180
2180
  }
2181
2181
  function Lt(e) {
2182
2182
  return +S(e);
2183
2183
  }
2184
- function Wt(e) {
2184
+ function Ut(e) {
2185
2185
  return Math.trunc(+S(e) / 1e3);
2186
2186
  }
2187
- function Ut(e) {
2187
+ function Wt(e) {
2188
2188
  return Math.trunc(e * Ea);
2189
2189
  }
2190
2190
  function ki(e) {
@@ -2195,7 +2195,7 @@ function yn(e, t, n) {
2195
2195
  return Na(e, -1, n);
2196
2196
  }
2197
2197
  function qt(e, t, n) {
2198
- const r = Yi(), i = Fi(e, n.timeZone, n.locale ?? r.locale);
2198
+ const r = Gi(), i = Fi(e, n.timeZone, n.locale ?? r.locale);
2199
2199
  return "formatToParts" in i ? Ai(i, t) : Hi(i, t);
2200
2200
  }
2201
2201
  function Ai(e, t) {
@@ -2216,9 +2216,9 @@ function Fi(e, t, n) {
2216
2216
  }
2217
2217
  function Li(e, t) {
2218
2218
  const n = zi(t);
2219
- return "formatToParts" in n ? Ui(n, e) : qi(n, e);
2219
+ return "formatToParts" in n ? Wi(n, e) : qi(n, e);
2220
2220
  }
2221
- const Wi = {
2221
+ const Ui = {
2222
2222
  year: 0,
2223
2223
  month: 1,
2224
2224
  day: 2,
@@ -2226,11 +2226,11 @@ const Wi = {
2226
2226
  minute: 4,
2227
2227
  second: 5
2228
2228
  };
2229
- function Ui(e, t) {
2229
+ function Wi(e, t) {
2230
2230
  try {
2231
2231
  const n = e.formatToParts(t), r = [];
2232
2232
  for (let i = 0; i < n.length; i++) {
2233
- const s = Wi[n[i].type];
2233
+ const s = Ui[n[i].type];
2234
2234
  s !== void 0 && (r[s] = parseInt(n[i].value, 10));
2235
2235
  }
2236
2236
  return r;
@@ -2251,7 +2251,7 @@ function qi(e, t) {
2251
2251
  parseInt(r[6], 10)
2252
2252
  ];
2253
2253
  }
2254
- const We = {}, jt = new Intl.DateTimeFormat("en-US", {
2254
+ const Ue = {}, jt = new Intl.DateTimeFormat("en-US", {
2255
2255
  hourCycle: "h23",
2256
2256
  timeZone: "America/New_York",
2257
2257
  year: "numeric",
@@ -2262,7 +2262,7 @@ const We = {}, jt = new Intl.DateTimeFormat("en-US", {
2262
2262
  second: "2-digit"
2263
2263
  }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), ji = jt === "06/25/2014, 00:00:00" || jt === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
2264
2264
  function zi(e) {
2265
- return We[e] || (We[e] = ji ? new Intl.DateTimeFormat("en-US", {
2265
+ return Ue[e] || (Ue[e] = ji ? new Intl.DateTimeFormat("en-US", {
2266
2266
  hourCycle: "h23",
2267
2267
  timeZone: e,
2268
2268
  year: "numeric",
@@ -2280,13 +2280,13 @@ function zi(e) {
2280
2280
  hour: "2-digit",
2281
2281
  minute: "2-digit",
2282
2282
  second: "2-digit"
2283
- })), We[e];
2283
+ })), Ue[e];
2284
2284
  }
2285
2285
  function Qe(e, t, n, r, i, s, c) {
2286
2286
  const d = /* @__PURE__ */ new Date(0);
2287
2287
  return d.setUTCFullYear(e, t, n), d.setUTCHours(r, i, s, c), d;
2288
2288
  }
2289
- const zt = 36e5, Bi = 6e4, Ue = {
2289
+ const zt = 36e5, Bi = 6e4, We = {
2290
2290
  timezoneZ: /^(Z)$/,
2291
2291
  timezoneHH: /^([+-]\d{2})$/,
2292
2292
  timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
@@ -2294,13 +2294,13 @@ const zt = 36e5, Bi = 6e4, Ue = {
2294
2294
  function ce(e, t, n) {
2295
2295
  if (!e)
2296
2296
  return 0;
2297
- let r = Ue.timezoneZ.exec(e);
2297
+ let r = We.timezoneZ.exec(e);
2298
2298
  if (r)
2299
2299
  return 0;
2300
2300
  let i, s;
2301
- if (r = Ue.timezoneHH.exec(e), r)
2301
+ if (r = We.timezoneHH.exec(e), r)
2302
2302
  return i = parseInt(r[1], 10), Bt(i) ? -(i * zt) : NaN;
2303
- if (r = Ue.timezoneHHMM.exec(e), r) {
2303
+ if (r = We.timezoneHHMM.exec(e), r) {
2304
2304
  i = parseInt(r[2], 10);
2305
2305
  const c = parseInt(r[3], 10);
2306
2306
  return Bt(i, c) ? (s = Math.abs(i) * zt + c * Bi, r[1] === "+" ? -s : s) : NaN;
@@ -2640,7 +2640,7 @@ function lo(e, t, n) {
2640
2640
  function wn(e, t) {
2641
2641
  return -ce(e, t);
2642
2642
  }
2643
- function Uo(e) {
2643
+ function Wo(e) {
2644
2644
  return hn(e, "yyyy-MM-dd'T'HH:mm:ss.SSSXXX");
2645
2645
  }
2646
2646
  function en(e, t = {}) {
@@ -2726,11 +2726,11 @@ class Ee {
2726
2726
  }
2727
2727
  // Return a UNIX timestamp suitable for use in the `start` query param.
2728
2728
  startSeconds() {
2729
- return Wt(this.startDate());
2729
+ return Ut(this.startDate());
2730
2730
  }
2731
2731
  // Return a UNIX timestamp suitable for use in the `end` query param.
2732
2732
  endSeconds() {
2733
- return Wt(this.endDate());
2733
+ return Ut(this.endDate());
2734
2734
  }
2735
2735
  // Return epoch time in milliseconds, suitable for use in the `startMs` query param.
2736
2736
  startMs() {
@@ -2783,9 +2783,9 @@ function yo(e) {
2783
2783
  var De = { exports: {} };
2784
2784
  De.exports;
2785
2785
  (function(e, t) {
2786
- var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, s = "[object Arguments]", c = "[object Array]", d = "[object Boolean]", h = "[object Date]", f = "[object Error]", _ = "[object Function]", y = "[object GeneratorFunction]", g = "[object Map]", I = "[object Number]", x = "[object Object]", P = "[object Promise]", C = "[object RegExp]", U = "[object Set]", O = "[object String]", b = "[object Symbol]", q = "[object WeakMap]", Je = "[object ArrayBuffer]", le = "[object DataView]", et = "[object Float32Array]", tt = "[object Float64Array]", nt = "[object Int8Array]", rt = "[object Int16Array]", at = "[object Int32Array]", it = "[object Uint8Array]", ot = "[object Uint8ClampedArray]", st = "[object Uint16Array]", ut = "[object Uint32Array]", Mn = /[\\^$.*+?()[\]{}|]/g, Sn = /\w*$/, On = /^\[object .+?Constructor\]$/, vn = /^(?:0|[1-9]\d*)$/, w = {};
2787
- w[s] = w[c] = w[Je] = w[le] = w[d] = w[h] = w[et] = w[tt] = w[nt] = w[rt] = w[at] = w[g] = w[I] = w[x] = w[C] = w[U] = w[O] = w[b] = w[it] = w[ot] = w[st] = w[ut] = !0, w[f] = w[_] = w[q] = !1;
2788
- var En = typeof pe == "object" && pe && pe.Object === Object && pe, Nn = typeof self == "object" && self && self.Object === Object && self, G = En || Nn || Function("return this")(), ct = t && !t.nodeType && t, lt = ct && !0 && e && !e.nodeType && e, In = lt && lt.exports === ct;
2786
+ var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, s = "[object Arguments]", c = "[object Array]", d = "[object Boolean]", h = "[object Date]", f = "[object Error]", _ = "[object Function]", y = "[object GeneratorFunction]", g = "[object Map]", I = "[object Number]", x = "[object Object]", P = "[object Promise]", C = "[object RegExp]", W = "[object Set]", O = "[object String]", b = "[object Symbol]", q = "[object WeakMap]", Je = "[object ArrayBuffer]", le = "[object DataView]", et = "[object Float32Array]", tt = "[object Float64Array]", nt = "[object Int8Array]", rt = "[object Int16Array]", at = "[object Int32Array]", it = "[object Uint8Array]", ot = "[object Uint8ClampedArray]", st = "[object Uint16Array]", ut = "[object Uint32Array]", Mn = /[\\^$.*+?()[\]{}|]/g, Sn = /\w*$/, On = /^\[object .+?Constructor\]$/, vn = /^(?:0|[1-9]\d*)$/, w = {};
2787
+ w[s] = w[c] = w[Je] = w[le] = w[d] = w[h] = w[et] = w[tt] = w[nt] = w[rt] = w[at] = w[g] = w[I] = w[x] = w[C] = w[W] = w[O] = w[b] = w[it] = w[ot] = w[st] = w[ut] = !0, w[f] = w[_] = w[q] = !1;
2788
+ var En = typeof pe == "object" && pe && pe.Object === Object && pe, Nn = typeof self == "object" && self && self.Object === Object && self, Y = En || Nn || Function("return this")(), ct = t && !t.nodeType && t, lt = ct && !0 && e && !e.nodeType && e, In = lt && lt.exports === ct;
2789
2789
  function xn(a, o) {
2790
2790
  return a.set(o[0], o[1]), a;
2791
2791
  }
@@ -2807,12 +2807,12 @@ De.exports;
2807
2807
  u = o(u, a[D], D, a);
2808
2808
  return u;
2809
2809
  }
2810
- function Gn(a, o) {
2810
+ function Yn(a, o) {
2811
2811
  for (var u = -1, l = Array(a); ++u < a; )
2812
2812
  l[u] = o(u);
2813
2813
  return l;
2814
2814
  }
2815
- function Yn(a, o) {
2815
+ function Gn(a, o) {
2816
2816
  return a == null ? void 0 : a[o];
2817
2817
  }
2818
2818
  function mt(a) {
@@ -2841,12 +2841,12 @@ De.exports;
2841
2841
  u[++o] = l;
2842
2842
  }), u;
2843
2843
  }
2844
- var kn = Array.prototype, An = Function.prototype, de = Object.prototype, Ie = G["__core-js_shared__"], yt = function() {
2844
+ var kn = Array.prototype, An = Function.prototype, de = Object.prototype, Ie = Y["__core-js_shared__"], yt = function() {
2845
2845
  var a = /[^.]+$/.exec(Ie && Ie.keys && Ie.keys.IE_PROTO || "");
2846
2846
  return a ? "Symbol(src)_1." + a : "";
2847
2847
  }(), gt = An.toString, F = de.hasOwnProperty, me = de.toString, Hn = RegExp(
2848
2848
  "^" + gt.call(F).replace(Mn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2849
- ), pt = In ? G.Buffer : void 0, _t = G.Symbol, wt = G.Uint8Array, Fn = Ne(Object.getPrototypeOf, Object), Ln = Object.create, Wn = de.propertyIsEnumerable, Un = kn.splice, Tt = Object.getOwnPropertySymbols, qn = pt ? pt.isBuffer : void 0, jn = Ne(Object.keys, Object), xe = Z(G, "DataView"), te = Z(G, "Map"), Pe = Z(G, "Promise"), Re = Z(G, "Set"), Ce = Z(G, "WeakMap"), ne = Z(Object, "create"), zn = B(xe), Bn = B(te), Vn = B(Pe), Xn = B(Re), $n = B(Ce), bt = _t ? _t.prototype : void 0, Dt = bt ? bt.valueOf : void 0;
2849
+ ), pt = In ? Y.Buffer : void 0, _t = Y.Symbol, wt = Y.Uint8Array, Fn = Ne(Object.getPrototypeOf, Object), Ln = Object.create, Un = de.propertyIsEnumerable, Wn = kn.splice, Tt = Object.getOwnPropertySymbols, qn = pt ? pt.isBuffer : void 0, jn = Ne(Object.keys, Object), xe = Z(Y, "DataView"), te = Z(Y, "Map"), Pe = Z(Y, "Promise"), Re = Z(Y, "Set"), Ce = Z(Y, "WeakMap"), ne = Z(Object, "create"), zn = B(xe), Bn = B(te), Vn = B(Pe), Xn = B(Re), $n = B(Ce), bt = _t ? _t.prototype : void 0, Dt = bt ? bt.valueOf : void 0;
2850
2850
  function j(a) {
2851
2851
  var o = -1, u = a ? a.length : 0;
2852
2852
  for (this.clear(); ++o < u; ) {
@@ -2877,7 +2877,7 @@ De.exports;
2877
2877
  return u[a] = ne && o === void 0 ? r : o, this;
2878
2878
  }
2879
2879
  j.prototype.clear = Zn, j.prototype.delete = Qn, j.prototype.get = Kn, j.prototype.has = Jn, j.prototype.set = er;
2880
- function Y(a) {
2880
+ function G(a) {
2881
2881
  var o = -1, u = a ? a.length : 0;
2882
2882
  for (this.clear(); ++o < u; ) {
2883
2883
  var l = a[o];
@@ -2892,7 +2892,7 @@ De.exports;
2892
2892
  if (u < 0)
2893
2893
  return !1;
2894
2894
  var l = o.length - 1;
2895
- return u == l ? o.pop() : Un.call(o, u, 1), !0;
2895
+ return u == l ? o.pop() : Wn.call(o, u, 1), !0;
2896
2896
  }
2897
2897
  function rr(a) {
2898
2898
  var o = this.__data__, u = fe(o, a);
@@ -2905,7 +2905,7 @@ De.exports;
2905
2905
  var u = this.__data__, l = fe(u, a);
2906
2906
  return l < 0 ? u.push([a, o]) : u[l][1] = o, this;
2907
2907
  }
2908
- Y.prototype.clear = tr, Y.prototype.delete = nr, Y.prototype.get = rr, Y.prototype.has = ar, Y.prototype.set = ir;
2908
+ G.prototype.clear = tr, G.prototype.delete = nr, G.prototype.get = rr, G.prototype.has = ar, G.prototype.set = ir;
2909
2909
  function X(a) {
2910
2910
  var o = -1, u = a ? a.length : 0;
2911
2911
  for (this.clear(); ++o < u; ) {
@@ -2916,7 +2916,7 @@ De.exports;
2916
2916
  function or() {
2917
2917
  this.__data__ = {
2918
2918
  hash: new j(),
2919
- map: new (te || Y)(),
2919
+ map: new (te || G)(),
2920
2920
  string: new j()
2921
2921
  };
2922
2922
  }
@@ -2934,10 +2934,10 @@ De.exports;
2934
2934
  }
2935
2935
  X.prototype.clear = or, X.prototype.delete = sr, X.prototype.get = ur, X.prototype.has = cr, X.prototype.set = lr;
2936
2936
  function $(a) {
2937
- this.__data__ = new Y(a);
2937
+ this.__data__ = new G(a);
2938
2938
  }
2939
2939
  function dr() {
2940
- this.__data__ = new Y();
2940
+ this.__data__ = new G();
2941
2941
  }
2942
2942
  function mr(a) {
2943
2943
  return this.__data__.delete(a);
@@ -2950,7 +2950,7 @@ De.exports;
2950
2950
  }
2951
2951
  function yr(a, o) {
2952
2952
  var u = this.__data__;
2953
- if (u instanceof Y) {
2953
+ if (u instanceof G) {
2954
2954
  var l = u.__data__;
2955
2955
  if (!te || l.length < n - 1)
2956
2956
  return l.push([a, o]), this;
@@ -2960,7 +2960,7 @@ De.exports;
2960
2960
  }
2961
2961
  $.prototype.clear = dr, $.prototype.delete = mr, $.prototype.get = fr, $.prototype.has = hr, $.prototype.set = yr;
2962
2962
  function gr(a, o) {
2963
- var u = ke(a) || Lr(a) ? Gn(a.length, String) : [], l = u.length, D = !!l;
2963
+ var u = ke(a) || Lr(a) ? Yn(a.length, String) : [], l = u.length, D = !!l;
2964
2964
  for (var E in a)
2965
2965
  F.call(a, E) && !(D && (E == "length" || kr(E, l))) && u.push(E);
2966
2966
  return u;
@@ -2978,7 +2978,7 @@ De.exports;
2978
2978
  function pr(a, o) {
2979
2979
  return a && St(o, Ae(o), a);
2980
2980
  }
2981
- function Ge(a, o, u, l, D, E, k) {
2981
+ function Ye(a, o, u, l, D, E, k) {
2982
2982
  var N;
2983
2983
  if (l && (N = E ? l(a, D, E, k) : l(a)), N !== void 0)
2984
2984
  return N;
@@ -2990,17 +2990,17 @@ De.exports;
2990
2990
  return xr(a, N);
2991
2991
  } else {
2992
2992
  var Q = z(a), Pt = Q == _ || Q == y;
2993
- if (Ur(a))
2993
+ if (Wr(a))
2994
2994
  return Mr(a, o);
2995
2995
  if (Q == x || Q == s || Pt && !E) {
2996
2996
  if (mt(a))
2997
2997
  return E ? a : {};
2998
- if (N = Gr(Pt ? {} : a), !o)
2998
+ if (N = Yr(Pt ? {} : a), !o)
2999
2999
  return Pr(a, pr(N, a));
3000
3000
  } else {
3001
3001
  if (!w[Q])
3002
3002
  return E ? a : {};
3003
- N = Yr(a, Q, Ge, o);
3003
+ N = Gr(a, Q, Ye, o);
3004
3004
  }
3005
3005
  }
3006
3006
  k || (k = new $());
@@ -3010,7 +3010,7 @@ De.exports;
3010
3010
  if (k.set(a, N), !xt)
3011
3011
  var Ct = u ? Rr(a) : Ae(a);
3012
3012
  return Rn(Ct || a, function(He, ge) {
3013
- Ct && (ge = He, He = a[ge]), Mt(N, ge, Ge(He, o, u, l, ge, a, k));
3013
+ Ct && (ge = He, He = a[ge]), Mt(N, ge, Ye(He, o, u, l, ge, a, k));
3014
3014
  }), N;
3015
3015
  }
3016
3016
  function _r(a) {
@@ -3043,12 +3043,12 @@ De.exports;
3043
3043
  var u = new a.constructor(a.length);
3044
3044
  return a.copy(u), u;
3045
3045
  }
3046
- function Ye(a) {
3046
+ function Ge(a) {
3047
3047
  var o = new a.constructor(a.byteLength);
3048
3048
  return new wt(o).set(new wt(a)), o;
3049
3049
  }
3050
3050
  function Sr(a, o) {
3051
- var u = o ? Ye(a.buffer) : a.buffer;
3051
+ var u = o ? Ge(a.buffer) : a.buffer;
3052
3052
  return new a.constructor(u, a.byteOffset, a.byteLength);
3053
3053
  }
3054
3054
  function Or(a, o, u) {
@@ -3067,7 +3067,7 @@ De.exports;
3067
3067
  return Dt ? Object(Dt.call(a)) : {};
3068
3068
  }
3069
3069
  function Ir(a, o) {
3070
- var u = o ? Ye(a.buffer) : a.buffer;
3070
+ var u = o ? Ge(a.buffer) : a.buffer;
3071
3071
  return new a.constructor(u, a.byteOffset, a.length);
3072
3072
  }
3073
3073
  function xr(a, o) {
@@ -3095,11 +3095,11 @@ De.exports;
3095
3095
  return Ar(o) ? u[typeof o == "string" ? "string" : "hash"] : u.map;
3096
3096
  }
3097
3097
  function Z(a, o) {
3098
- var u = Yn(a, o);
3098
+ var u = Gn(a, o);
3099
3099
  return br(u) ? u : void 0;
3100
3100
  }
3101
3101
  var Ot = Tt ? Ne(Tt, Object) : zr, z = Tr;
3102
- (xe && z(new xe(new ArrayBuffer(1))) != le || te && z(new te()) != g || Pe && z(Pe.resolve()) != P || Re && z(new Re()) != U || Ce && z(new Ce()) != q) && (z = function(a) {
3102
+ (xe && z(new xe(new ArrayBuffer(1))) != le || te && z(new te()) != g || Pe && z(Pe.resolve()) != P || Re && z(new Re()) != W || Ce && z(new Ce()) != q) && (z = function(a) {
3103
3103
  var o = me.call(a), u = o == x ? a.constructor : void 0, l = u ? B(u) : void 0;
3104
3104
  if (l)
3105
3105
  switch (l) {
@@ -3110,7 +3110,7 @@ De.exports;
3110
3110
  case Vn:
3111
3111
  return P;
3112
3112
  case Xn:
3113
- return U;
3113
+ return W;
3114
3114
  case $n:
3115
3115
  return q;
3116
3116
  }
@@ -3120,14 +3120,14 @@ De.exports;
3120
3120
  var o = a.length, u = a.constructor(o);
3121
3121
  return o && typeof a[0] == "string" && F.call(a, "index") && (u.index = a.index, u.input = a.input), u;
3122
3122
  }
3123
- function Gr(a) {
3123
+ function Yr(a) {
3124
3124
  return typeof a.constructor == "function" && !vt(a) ? _r(Fn(a)) : {};
3125
3125
  }
3126
- function Yr(a, o, u, l) {
3126
+ function Gr(a, o, u, l) {
3127
3127
  var D = a.constructor;
3128
3128
  switch (o) {
3129
3129
  case Je:
3130
- return Ye(a);
3130
+ return Ge(a);
3131
3131
  case d:
3132
3132
  case h:
3133
3133
  return new D(+a);
@@ -3150,7 +3150,7 @@ De.exports;
3150
3150
  return new D(a);
3151
3151
  case C:
3152
3152
  return vr(a);
3153
- case U:
3153
+ case W:
3154
3154
  return Er(a, l, u);
3155
3155
  case b:
3156
3156
  return Nr(a);
@@ -3184,22 +3184,22 @@ De.exports;
3184
3184
  return "";
3185
3185
  }
3186
3186
  function Fr(a) {
3187
- return Ge(a, !0, !0);
3187
+ return Ye(a, !0, !0);
3188
3188
  }
3189
3189
  function Et(a, o) {
3190
3190
  return a === o || a !== a && o !== o;
3191
3191
  }
3192
3192
  function Lr(a) {
3193
- return Wr(a) && F.call(a, "callee") && (!Wn.call(a, "callee") || me.call(a) == s);
3193
+ return Ur(a) && F.call(a, "callee") && (!Un.call(a, "callee") || me.call(a) == s);
3194
3194
  }
3195
3195
  var ke = Array.isArray;
3196
3196
  function Nt(a) {
3197
3197
  return a != null && qr(a.length) && !It(a);
3198
3198
  }
3199
- function Wr(a) {
3199
+ function Ur(a) {
3200
3200
  return jr(a) && Nt(a);
3201
3201
  }
3202
- var Ur = qn || Br;
3202
+ var Wr = qn || Br;
3203
3203
  function It(a) {
3204
3204
  var o = ye(a) ? me.call(a) : "";
3205
3205
  return o == _ || o == y;
@@ -3496,12 +3496,12 @@ const So = /* @__PURE__ */ new Map([
3496
3496
  })
3497
3497
  ],
3498
3498
  [
3499
- m.ONE_YEAR,
3499
+ m.THREE_HUNDRED_SIXTY_DAY,
3500
3500
  new M({
3501
- key: m.ONE_YEAR,
3502
- display: "Last 365 days",
3503
- timeframeText: "365 days",
3504
- timeframeLength: () => 60 * 60 * 24 * 365,
3501
+ key: m.THREE_HUNDRED_SIXTY_DAY,
3502
+ display: "Last 360 days",
3503
+ timeframeText: "360 days",
3504
+ timeframeLength: () => 60 * 60 * 24 * 360,
3505
3505
  defaultResponseGranularity: "daily",
3506
3506
  dataGranularity: "daily",
3507
3507
  isRelative: !0,
@@ -3584,7 +3584,7 @@ const So = /* @__PURE__ */ new Map([
3584
3584
  timeframeLength: () => {
3585
3585
  let e = 0;
3586
3586
  const t = ee(/* @__PURE__ */ new Date()), n = ee(yn(/* @__PURE__ */ new Date()));
3587
- return t.getTimezoneOffset() !== n.getTimezoneOffset() && (e = tn(t, n)), 60 * 60 * 24 * Gi((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + Ut(e);
3587
+ return t.getTimezoneOffset() !== n.getTimezoneOffset() && (e = tn(t, n)), 60 * 60 * 24 * Yi((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + Wt(e);
3588
3588
  },
3589
3589
  defaultResponseGranularity: "daily",
3590
3590
  dataGranularity: "daily",
@@ -3601,7 +3601,7 @@ const So = /* @__PURE__ */ new Map([
3601
3601
  timeframeLength: () => {
3602
3602
  const e = new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1), t = new Date((/* @__PURE__ */ new Date()).getFullYear() - 1, 0, 1);
3603
3603
  let n = 0;
3604
- return e.getTimezoneOffset() !== t.getTimezoneOffset() && (n = tn(e, t)), 60 * 60 * 24 * (365 + (t.getFullYear() % 4 === 0 ? 1 : 0)) + Ut(n);
3604
+ return e.getTimezoneOffset() !== t.getTimezoneOffset() && (n = tn(e, t)), 60 * 60 * 24 * (365 + (t.getFullYear() % 4 === 0 ? 1 : 0)) + Wt(n);
3605
3605
  },
3606
3606
  defaultResponseGranularity: "daily",
3607
3607
  dataGranularity: "daily",
@@ -3865,9 +3865,9 @@ export {
3865
3865
  Se as filterableExploreDimensions,
3866
3866
  ta as filterableRequestDimensions,
3867
3867
  aa as filterableRequestMetrics,
3868
- Yo as filterableRequestWildcardDimensions,
3868
+ Go as filterableRequestWildcardDimensions,
3869
3869
  fo as floorToNearestTimeGrain,
3870
- Uo as formatISOTimeWithTZ,
3870
+ Wo as formatISOTimeWithTZ,
3871
3871
  en as formatTime,
3872
3872
  qo as formatTimeRange,
3873
3873
  la as gaugeChartSchema,
@@ -3875,7 +3875,7 @@ export {
3875
3875
  Jo as generateMultipleMetricTimeSeriesData,
3876
3876
  Ko as generateSingleMetricTimeSeriesData,
3877
3877
  ts as getCountryName,
3878
- Wo as getFieldDataSources,
3878
+ Uo as getFieldDataSources,
3879
3879
  jo as granularitiesToOptions,
3880
3880
  mo as granularityMsToQuery,
3881
3881
  nn as granularityValues,
@@ -3904,7 +3904,7 @@ export {
3904
3904
  Sa as tileConfigSchema,
3905
3905
  Da as tileDefinitionSchema,
3906
3906
  Ma as tileLayoutSchema,
3907
- Go as timeRangeTypeV2,
3907
+ Yo as timeRangeTypeV2,
3908
3908
  $o as timeframeToDatepickerSelection,
3909
3909
  Zo as timeframeToDatepickerTimeperiod,
3910
3910
  ca as timeseriesChartSchema,