@kong-ui-public/analytics-utilities 11.5.1-pr.2537.a0b9644e5.0 → 11.5.1-pr.2565.14833f801.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.
@@ -1,8 +1,8 @@
1
1
  var zr = Object.defineProperty;
2
2
  var Br = (e, t, n) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var b = (e, t, n) => Br(e, typeof t != "symbol" ? t + "" : t, n);
4
- const Oo = 3e4, vo = 1e3, Eo = "analytics-query-provider";
5
- var h = /* @__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.CURRENT_WEEK = "current_week", e.CURRENT_MONTH = "current_month", e.CURRENT_QUARTER = "current_quarter", e.PREVIOUS_WEEK = "previous_week", e.PREVIOUS_MONTH = "previous_month", e.PREVIOUS_QUARTER = "previous_quarter", e))(h || {});
4
+ const Oo = 3e4, vo = 250, Eo = "analytics-query-provider";
5
+ var h = /* @__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))(h || {});
6
6
  const Io = [
7
7
  "horizontal_bar",
8
8
  "vertical_bar",
@@ -11,7 +11,7 @@ const Io = [
11
11
  "timeseries_bar",
12
12
  "donut",
13
13
  "single_value"
14
- ], Vr = ["in", "not_in", "selector"], xo = ["=", "!="], No = ["=", "!=", "<", ">", "<=", ">="], Xr = ["empty", "not_empty"], Po = ["starts_with", "ends_with"], Co = ["absolute", "relative"], $r = [
14
+ ], Vr = ["in", "not_in", "selector"], No = ["=", "!="], xo = ["=", "!=", "<", ">", "<=", ">="], Xr = ["empty", "not_empty"], Po = ["starts_with", "ends_with"], Co = ["absolute", "relative"], $r = [
15
15
  "15m",
16
16
  "1h",
17
17
  "6h",
@@ -1013,7 +1013,7 @@ function _e(e, t) {
1013
1013
  const n = D(e, t == null ? void 0 : t.in);
1014
1014
  return n.setHours(0, 0, 0, 0), n;
1015
1015
  }
1016
- function xa(e, t, n) {
1016
+ function Na(e, t, n) {
1017
1017
  const [r, i] = Ia(
1018
1018
  n == null ? void 0 : n.in,
1019
1019
  e,
@@ -1021,7 +1021,7 @@ function xa(e, t, n) {
1021
1021
  ), s = _e(r), u = _e(i), d = +s - Gt(s), f = +u - Gt(u);
1022
1022
  return Math.round((d - f) / Da);
1023
1023
  }
1024
- function Na(e, t) {
1024
+ function xa(e, t) {
1025
1025
  const n = un(e, t), r = C(e, 0);
1026
1026
  return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), pe(r);
1027
1027
  }
@@ -1163,11 +1163,11 @@ function re(e) {
1163
1163
  return i[s];
1164
1164
  };
1165
1165
  }
1166
- const qa = {
1166
+ const Ua = {
1167
1167
  narrow: ["B", "A"],
1168
1168
  abbreviated: ["BC", "AD"],
1169
1169
  wide: ["Before Christ", "Anno Domini"]
1170
- }, Ua = {
1170
+ }, qa = {
1171
1171
  narrow: ["1", "2", "3", "4"],
1172
1172
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
1173
1173
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
@@ -1291,11 +1291,11 @@ const qa = {
1291
1291
  }, $a = {
1292
1292
  ordinalNumber: Xa,
1293
1293
  era: re({
1294
- values: qa,
1294
+ values: Ua,
1295
1295
  defaultWidth: "wide"
1296
1296
  }),
1297
1297
  quarter: re({
1298
- values: Ua,
1298
+ values: qa,
1299
1299
  defaultWidth: "wide",
1300
1300
  argumentCallback: (e) => e - 1
1301
1301
  }),
@@ -1472,10 +1472,10 @@ const Ja = /^(\d+)(th|st|nd|rd)?/i, ei = /\d+/i, ti = {
1472
1472
  };
1473
1473
  function fi(e, t) {
1474
1474
  const n = D(e, t == null ? void 0 : t.in);
1475
- return xa(n, Ra(n)) + 1;
1475
+ return Na(n, Ra(n)) + 1;
1476
1476
  }
1477
1477
  function hi(e, t) {
1478
- const n = D(e, t == null ? void 0 : t.in), r = +pe(n) - +Na(n);
1478
+ const n = D(e, t == null ? void 0 : t.in), r = +pe(n) - +xa(n);
1479
1479
  return Math.round(r / cn) + 1;
1480
1480
  }
1481
1481
  function ln(e, t) {
@@ -2122,17 +2122,17 @@ function Oi(e, t, n) {
2122
2122
  const r = e[0] === "Y" ? "years" : "days of the month";
2123
2123
  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`;
2124
2124
  }
2125
- const vi = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ei = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ii = /^'([^]*?)'?$/, xi = /''/g, Ni = /[a-zA-Z]/;
2125
+ const vi = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ei = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Ii = /^'([^]*?)'?$/, Ni = /''/g, xi = /[a-zA-Z]/;
2126
2126
  function mn(e, t, n) {
2127
- var _, y, g, I, x, N, R, W;
2128
- const r = se(), i = (n == null ? void 0 : n.locale) ?? r.locale ?? mi, 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, u = (n == null ? void 0 : n.weekStartsOn) ?? ((N = (x = n == null ? void 0 : n.locale) == null ? void 0 : x.options) == null ? void 0 : N.weekStartsOn) ?? r.weekStartsOn ?? ((W = (R = r.locale) == null ? void 0 : R.options) == null ? void 0 : W.weekStartsOn) ?? 0, d = D(e, n == null ? void 0 : n.in);
2127
+ var _, y, g, I, N, x, R, W;
2128
+ const r = se(), i = (n == null ? void 0 : n.locale) ?? r.locale ?? mi, 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, u = (n == null ? void 0 : n.weekStartsOn) ?? ((x = (N = n == null ? void 0 : n.locale) == null ? void 0 : N.options) == null ? void 0 : x.weekStartsOn) ?? r.weekStartsOn ?? ((W = (R = r.locale) == null ? void 0 : R.options) == null ? void 0 : W.weekStartsOn) ?? 0, d = D(e, n == null ? void 0 : n.in);
2129
2129
  if (!Ca(d))
2130
2130
  throw new RangeError("Invalid time value");
2131
2131
  let f = t.match(Ei).map((S) => {
2132
2132
  const T = S[0];
2133
2133
  if (T === "p" || T === "P") {
2134
- const q = _i[T];
2135
- return q(S, i.formatLong);
2134
+ const U = _i[T];
2135
+ return U(S, i.formatLong);
2136
2136
  }
2137
2137
  return S;
2138
2138
  }).join("").match(vi).map((S) => {
@@ -2143,7 +2143,7 @@ function mn(e, t, n) {
2143
2143
  return { isToken: !1, value: Pi(S) };
2144
2144
  if (At[T])
2145
2145
  return { isToken: !0, value: S };
2146
- if (T.match(Ni))
2146
+ if (T.match(xi))
2147
2147
  throw new RangeError(
2148
2148
  "Format string contains an unescaped latin alphabet character `" + T + "`"
2149
2149
  );
@@ -2159,13 +2159,13 @@ function mn(e, t, n) {
2159
2159
  if (!S.isToken) return S.value;
2160
2160
  const T = S.value;
2161
2161
  (!(n != null && n.useAdditionalWeekYearTokens) && Di(T) || !(n != null && n.useAdditionalDayOfYearTokens) && Mi(T)) && Si(T, t, String(e));
2162
- const q = At[T[0]];
2163
- return q(d, T, i.localize, m);
2162
+ const U = At[T[0]];
2163
+ return U(d, T, i.localize, m);
2164
2164
  }).join("");
2165
2165
  }
2166
2166
  function Pi(e) {
2167
2167
  const t = e.match(Ii);
2168
- return t ? t[1].replace(xi, "'") : e;
2168
+ return t ? t[1].replace(Ni, "'") : e;
2169
2169
  }
2170
2170
  function Ci(e, t) {
2171
2171
  const n = D(e, t == null ? void 0 : t.in), r = n.getFullYear(), i = n.getMonth(), s = C(n, 0);
@@ -2190,7 +2190,7 @@ function Gi(e) {
2190
2190
  function fn(e, t, n) {
2191
2191
  return va(e, -1, n);
2192
2192
  }
2193
- function qt(e, t, n) {
2193
+ function Ut(e, t, n) {
2194
2194
  const r = Ri(), i = Hi(e, n.timeZone, n.locale ?? r.locale);
2195
2195
  return "formatToParts" in i ? Ai(i, t) : Yi(i, t);
2196
2196
  }
@@ -2212,7 +2212,7 @@ function Hi(e, t, n) {
2212
2212
  }
2213
2213
  function Fi(e, t) {
2214
2214
  const n = ji(t);
2215
- return "formatToParts" in n ? Wi(n, e) : qi(n, e);
2215
+ return "formatToParts" in n ? Wi(n, e) : Ui(n, e);
2216
2216
  }
2217
2217
  const Li = {
2218
2218
  year: 0,
@@ -2236,7 +2236,7 @@ function Wi(e, t) {
2236
2236
  throw n;
2237
2237
  }
2238
2238
  }
2239
- function qi(e, t) {
2239
+ function Ui(e, t) {
2240
2240
  const n = e.format(t), r = /(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);
2241
2241
  return [
2242
2242
  parseInt(r[3], 10),
@@ -2247,7 +2247,7 @@ function qi(e, t) {
2247
2247
  parseInt(r[6], 10)
2248
2248
  ];
2249
2249
  }
2250
- const Le = {}, Ut = new Intl.DateTimeFormat("en-US", {
2250
+ const Le = {}, qt = new Intl.DateTimeFormat("en-US", {
2251
2251
  hourCycle: "h23",
2252
2252
  timeZone: "America/New_York",
2253
2253
  year: "numeric",
@@ -2256,9 +2256,9 @@ const Le = {}, Ut = new Intl.DateTimeFormat("en-US", {
2256
2256
  hour: "2-digit",
2257
2257
  minute: "2-digit",
2258
2258
  second: "2-digit"
2259
- }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Ui = Ut === "06/25/2014, 00:00:00" || Ut === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
2259
+ }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), qi = qt === "06/25/2014, 00:00:00" || qt === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
2260
2260
  function ji(e) {
2261
- return Le[e] || (Le[e] = Ui ? new Intl.DateTimeFormat("en-US", {
2261
+ return Le[e] || (Le[e] = qi ? new Intl.DateTimeFormat("en-US", {
2262
2262
  hourCycle: "h23",
2263
2263
  timeZone: e,
2264
2264
  year: "numeric",
@@ -2342,7 +2342,7 @@ function Xi(e) {
2342
2342
  const $i = 60 * 1e3, Zi = {
2343
2343
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
2344
2344
  X: function(e, t, n) {
2345
- const r = qe(n.timeZone, e);
2345
+ const r = Ue(n.timeZone, e);
2346
2346
  if (r === 0)
2347
2347
  return "Z";
2348
2348
  switch (t) {
@@ -2359,7 +2359,7 @@ const $i = 60 * 1e3, Zi = {
2359
2359
  },
2360
2360
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
2361
2361
  x: function(e, t, n) {
2362
- const r = qe(n.timeZone, e);
2362
+ const r = Ue(n.timeZone, e);
2363
2363
  switch (t) {
2364
2364
  case "x":
2365
2365
  return Vt(r);
@@ -2374,7 +2374,7 @@ const $i = 60 * 1e3, Zi = {
2374
2374
  },
2375
2375
  // Timezone (GMT)
2376
2376
  O: function(e, t, n) {
2377
- const r = qe(n.timeZone, e);
2377
+ const r = Ue(n.timeZone, e);
2378
2378
  switch (t) {
2379
2379
  case "O":
2380
2380
  case "OO":
@@ -2391,14 +2391,14 @@ const $i = 60 * 1e3, Zi = {
2391
2391
  case "z":
2392
2392
  case "zz":
2393
2393
  case "zzz":
2394
- return qt("short", e, n);
2394
+ return Ut("short", e, n);
2395
2395
  case "zzzz":
2396
2396
  default:
2397
- return qt("long", e, n);
2397
+ return Ut("long", e, n);
2398
2398
  }
2399
2399
  }
2400
2400
  };
2401
- function qe(e, t) {
2401
+ function Ue(e, t) {
2402
2402
  const n = e ? ce(e, t, !0) / $i : (t == null ? void 0 : t.getTimezoneOffset()) ?? 0;
2403
2403
  if (Number.isNaN(n))
2404
2404
  throw new RangeError("Invalid time zone specified: " + e);
@@ -2426,7 +2426,7 @@ function Xt(e) {
2426
2426
  const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
2427
2427
  return t.setUTCFullYear(e.getFullYear()), +e - +t;
2428
2428
  }
2429
- const hn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, Ue = 36e5, $t = 6e4, Ki = 2, O = {
2429
+ const hn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, qe = 36e5, $t = 6e4, Ki = 2, O = {
2430
2430
  dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
2431
2431
  datePattern: /^([0-9W+-]+)(.*)/,
2432
2432
  // year tokens
@@ -2554,13 +2554,13 @@ function to(e, t) {
2554
2554
  function no(e) {
2555
2555
  let t, n, r = O.HH.exec(e);
2556
2556
  if (r)
2557
- return t = parseFloat(r[1].replace(",", ".")), je(t) ? t % 24 * Ue : NaN;
2557
+ return t = parseFloat(r[1].replace(",", ".")), je(t) ? t % 24 * qe : NaN;
2558
2558
  if (r = O.HHMM.exec(e), r)
2559
- return t = parseInt(r[1], 10), n = parseFloat(r[2].replace(",", ".")), je(t, n) ? t % 24 * Ue + n * $t : NaN;
2559
+ return t = parseInt(r[1], 10), n = parseFloat(r[2].replace(",", ".")), je(t, n) ? t % 24 * qe + n * $t : NaN;
2560
2560
  if (r = O.HHMMSS.exec(e), r) {
2561
2561
  t = parseInt(r[1], 10), n = parseInt(r[2], 10);
2562
2562
  const i = parseFloat(r[3].replace(",", "."));
2563
- return je(t, n, i) ? t % 24 * Ue + n * $t + i * 1e3 : NaN;
2563
+ return je(t, n, i) ? t % 24 * qe + n * $t + i * 1e3 : NaN;
2564
2564
  }
2565
2565
  return null;
2566
2566
  }
@@ -2670,7 +2670,7 @@ const Te = {
2670
2670
  weekly: 60 * 60 * 24 * 7 * 1e3,
2671
2671
  trend: 0
2672
2672
  };
2673
- function qo(e, t) {
2673
+ function Uo(e, t) {
2674
2674
  return e.map((n) => ({
2675
2675
  value: n,
2676
2676
  label: t.t(`configuration.vitals.reports.granularity.${n}`)
@@ -2683,7 +2683,7 @@ function lo(e, t) {
2683
2683
  origin: t
2684
2684
  };
2685
2685
  }
2686
- function Uo(e) {
2686
+ function qo(e) {
2687
2687
  return e && en.find((n) => e <= Te[n]) || null;
2688
2688
  }
2689
2689
  function _n(e, t, n, r) {
@@ -2779,16 +2779,16 @@ function ho(e) {
2779
2779
  var Me = { exports: {} };
2780
2780
  Me.exports;
2781
2781
  (function(e, t) {
2782
- var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, s = "[object Arguments]", u = "[object Array]", d = "[object Boolean]", f = "[object Date]", m = "[object Error]", _ = "[object Function]", y = "[object GeneratorFunction]", g = "[object Map]", I = "[object Number]", x = "[object Object]", N = "[object Promise]", R = "[object RegExp]", W = "[object Set]", S = "[object String]", T = "[object Symbol]", q = "[object WeakMap]", Ke = "[object ArrayBuffer]", ue = "[object DataView]", Je = "[object Float32Array]", et = "[object Float64Array]", tt = "[object Int8Array]", nt = "[object Int16Array]", rt = "[object Int32Array]", at = "[object Uint8Array]", it = "[object Uint8ClampedArray]", ot = "[object Uint16Array]", st = "[object Uint32Array]", Tn = /[\\^$.*+?()[\]{}|]/g, Mn = /\w*$/, Dn = /^\[object .+?Constructor\]$/, Sn = /^(?:0|[1-9]\d*)$/, w = {};
2783
- w[s] = w[u] = w[Ke] = w[ue] = w[d] = w[f] = w[Je] = w[et] = w[tt] = w[nt] = w[rt] = w[g] = w[I] = w[x] = w[R] = w[W] = w[S] = w[T] = w[at] = w[it] = w[ot] = w[st] = !0, w[m] = w[_] = w[q] = !1;
2782
+ var n = 200, r = "__lodash_hash_undefined__", i = 9007199254740991, s = "[object Arguments]", u = "[object Array]", d = "[object Boolean]", f = "[object Date]", m = "[object Error]", _ = "[object Function]", y = "[object GeneratorFunction]", g = "[object Map]", I = "[object Number]", N = "[object Object]", x = "[object Promise]", R = "[object RegExp]", W = "[object Set]", S = "[object String]", T = "[object Symbol]", U = "[object WeakMap]", Ke = "[object ArrayBuffer]", ue = "[object DataView]", Je = "[object Float32Array]", et = "[object Float64Array]", tt = "[object Int8Array]", nt = "[object Int16Array]", rt = "[object Int32Array]", at = "[object Uint8Array]", it = "[object Uint8ClampedArray]", ot = "[object Uint16Array]", st = "[object Uint32Array]", Tn = /[\\^$.*+?()[\]{}|]/g, Mn = /\w*$/, Dn = /^\[object .+?Constructor\]$/, Sn = /^(?:0|[1-9]\d*)$/, w = {};
2783
+ w[s] = w[u] = w[Ke] = w[ue] = w[d] = w[f] = w[Je] = w[et] = w[tt] = w[nt] = w[rt] = w[g] = w[I] = w[N] = w[R] = w[W] = w[S] = w[T] = w[at] = w[it] = w[ot] = w[st] = !0, w[m] = w[_] = w[U] = !1;
2784
2784
  var On = typeof ge == "object" && ge && ge.Object === Object && ge, vn = typeof self == "object" && self && self.Object === Object && self, k = On || vn || Function("return this")(), ct = t && !t.nodeType && t, ut = ct && !0 && e && !e.nodeType && e, En = ut && ut.exports === ct;
2785
2785
  function In(a, o) {
2786
2786
  return a.set(o[0], o[1]), a;
2787
2787
  }
2788
- function xn(a, o) {
2788
+ function Nn(a, o) {
2789
2789
  return a.add(o), a;
2790
2790
  }
2791
- function Nn(a, o) {
2791
+ function xn(a, o) {
2792
2792
  for (var c = -1, l = a ? a.length : 0; ++c < l && o(a[c], c, a) !== !1; )
2793
2793
  ;
2794
2794
  return a;
@@ -2837,13 +2837,13 @@ Me.exports;
2837
2837
  c[++o] = l;
2838
2838
  }), c;
2839
2839
  }
2840
- var kn = Array.prototype, Gn = Function.prototype, le = Object.prototype, xe = k["__core-js_shared__"], ht = function() {
2841
- var a = /[^.]+$/.exec(xe && xe.keys && xe.keys.IE_PROTO || "");
2840
+ var kn = Array.prototype, Gn = Function.prototype, le = Object.prototype, Ne = k["__core-js_shared__"], ht = function() {
2841
+ var a = /[^.]+$/.exec(Ne && Ne.keys && Ne.keys.IE_PROTO || "");
2842
2842
  return a ? "Symbol(src)_1." + a : "";
2843
2843
  }(), yt = Gn.toString, H = le.hasOwnProperty, de = le.toString, An = RegExp(
2844
2844
  "^" + yt.call(H).replace(Tn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
2845
- ), gt = En ? k.Buffer : void 0, pt = k.Symbol, _t = k.Uint8Array, Yn = Ie(Object.getPrototypeOf, Object), Hn = Object.create, Fn = le.propertyIsEnumerable, Ln = kn.splice, wt = Object.getOwnPropertySymbols, Wn = gt ? gt.isBuffer : void 0, qn = Ie(Object.keys, Object), Ne = $(k, "DataView"), te = $(k, "Map"), Pe = $(k, "Promise"), Ce = $(k, "Set"), Re = $(k, "WeakMap"), ne = $(Object, "create"), Un = z(Ne), jn = z(te), zn = z(Pe), Bn = z(Ce), Vn = z(Re), bt = pt ? pt.prototype : void 0, Tt = bt ? bt.valueOf : void 0;
2846
- function U(a) {
2845
+ ), gt = En ? k.Buffer : void 0, pt = k.Symbol, _t = k.Uint8Array, Yn = Ie(Object.getPrototypeOf, Object), Hn = Object.create, Fn = le.propertyIsEnumerable, Ln = kn.splice, wt = Object.getOwnPropertySymbols, Wn = gt ? gt.isBuffer : void 0, Un = Ie(Object.keys, Object), xe = $(k, "DataView"), te = $(k, "Map"), Pe = $(k, "Promise"), Ce = $(k, "Set"), Re = $(k, "WeakMap"), ne = $(Object, "create"), qn = z(xe), jn = z(te), zn = z(Pe), Bn = z(Ce), Vn = z(Re), bt = pt ? pt.prototype : void 0, Tt = bt ? bt.valueOf : void 0;
2846
+ function q(a) {
2847
2847
  var o = -1, c = a ? a.length : 0;
2848
2848
  for (this.clear(); ++o < c; ) {
2849
2849
  var l = a[o];
@@ -2872,7 +2872,7 @@ Me.exports;
2872
2872
  var c = this.__data__;
2873
2873
  return c[a] = ne && o === void 0 ? r : o, this;
2874
2874
  }
2875
- U.prototype.clear = Xn, U.prototype.delete = $n, U.prototype.get = Zn, U.prototype.has = Qn, U.prototype.set = Kn;
2875
+ q.prototype.clear = Xn, q.prototype.delete = $n, q.prototype.get = Zn, q.prototype.has = Qn, q.prototype.set = Kn;
2876
2876
  function G(a) {
2877
2877
  var o = -1, c = a ? a.length : 0;
2878
2878
  for (this.clear(); ++o < c; ) {
@@ -2911,9 +2911,9 @@ Me.exports;
2911
2911
  }
2912
2912
  function ar() {
2913
2913
  this.__data__ = {
2914
- hash: new U(),
2914
+ hash: new q(),
2915
2915
  map: new (te || G)(),
2916
- string: new U()
2916
+ string: new q()
2917
2917
  };
2918
2918
  }
2919
2919
  function ir(a) {
@@ -2980,19 +2980,19 @@ Me.exports;
2980
2980
  return E;
2981
2981
  if (!he(a))
2982
2982
  return a;
2983
- var xt = Ae(a);
2984
- if (xt) {
2983
+ var Nt = Ae(a);
2984
+ if (Nt) {
2985
2985
  if (E = Pr(a), !o)
2986
2986
  return Ir(a, E);
2987
2987
  } else {
2988
- var Z = j(a), Nt = Z == _ || Z == y;
2988
+ var Z = j(a), xt = Z == _ || Z == y;
2989
2989
  if (Lr(a))
2990
2990
  return Tr(a, o);
2991
- if (Z == x || Z == s || Nt && !v) {
2991
+ if (Z == N || Z == s || xt && !v) {
2992
2992
  if (dt(a))
2993
2993
  return v ? a : {};
2994
- if (E = Cr(Nt ? {} : a), !o)
2995
- return xr(a, yr(E, a));
2994
+ if (E = Cr(xt ? {} : a), !o)
2995
+ return Nr(a, yr(E, a));
2996
2996
  } else {
2997
2997
  if (!w[Z])
2998
2998
  return v ? a : {};
@@ -3003,9 +3003,9 @@ Me.exports;
3003
3003
  var Pt = A.get(a);
3004
3004
  if (Pt)
3005
3005
  return Pt;
3006
- if (A.set(a, E), !xt)
3007
- var Ct = c ? Nr(a) : Ye(a);
3008
- return Nn(Ct || a, function(He, ye) {
3006
+ if (A.set(a, E), !Nt)
3007
+ var Ct = c ? xr(a) : Ye(a);
3008
+ return xn(Ct || a, function(He, ye) {
3009
3009
  Ct && (ye = He, He = a[ye]), Mt(E, ye, ke(He, o, c, l, ye, a, A));
3010
3010
  }), E;
3011
3011
  }
@@ -3027,7 +3027,7 @@ Me.exports;
3027
3027
  }
3028
3028
  function br(a) {
3029
3029
  if (!Ot(a))
3030
- return qn(a);
3030
+ return Un(a);
3031
3031
  var o = [];
3032
3032
  for (var c in Object(a))
3033
3033
  H.call(a, c) && c != "constructor" && o.push(c);
@@ -3057,7 +3057,7 @@ Me.exports;
3057
3057
  }
3058
3058
  function Or(a, o, c) {
3059
3059
  var l = o ? c(ft(a), !0) : ft(a);
3060
- return lt(l, xn, new a.constructor());
3060
+ return lt(l, Nn, new a.constructor());
3061
3061
  }
3062
3062
  function vr(a) {
3063
3063
  return Tt ? Object(Tt.call(a)) : {};
@@ -3080,10 +3080,10 @@ Me.exports;
3080
3080
  }
3081
3081
  return c;
3082
3082
  }
3083
- function xr(a, o) {
3083
+ function Nr(a, o) {
3084
3084
  return Dt(a, St(a), o);
3085
3085
  }
3086
- function Nr(a) {
3086
+ function xr(a) {
3087
3087
  return pr(a, Ye, St);
3088
3088
  }
3089
3089
  function fe(a, o) {
@@ -3094,21 +3094,21 @@ Me.exports;
3094
3094
  var c = Rn(a, o);
3095
3095
  return wr(c) ? c : void 0;
3096
3096
  }
3097
- var St = wt ? Ie(wt, Object) : Ur, j = _r;
3098
- (Ne && j(new Ne(new ArrayBuffer(1))) != ue || te && j(new te()) != g || Pe && j(Pe.resolve()) != N || Ce && j(new Ce()) != W || Re && j(new Re()) != q) && (j = function(a) {
3099
- var o = de.call(a), c = o == x ? a.constructor : void 0, l = c ? z(c) : void 0;
3097
+ var St = wt ? Ie(wt, Object) : qr, j = _r;
3098
+ (xe && j(new xe(new ArrayBuffer(1))) != ue || te && j(new te()) != g || Pe && j(Pe.resolve()) != x || Ce && j(new Ce()) != W || Re && j(new Re()) != U) && (j = function(a) {
3099
+ var o = de.call(a), c = o == N ? a.constructor : void 0, l = c ? z(c) : void 0;
3100
3100
  if (l)
3101
3101
  switch (l) {
3102
- case Un:
3102
+ case qn:
3103
3103
  return ue;
3104
3104
  case jn:
3105
3105
  return g;
3106
3106
  case zn:
3107
- return N;
3107
+ return x;
3108
3108
  case Bn:
3109
3109
  return W;
3110
3110
  case Vn:
3111
- return q;
3111
+ return U;
3112
3112
  }
3113
3113
  return o;
3114
3114
  });
@@ -3193,7 +3193,7 @@ Me.exports;
3193
3193
  return a != null && Wr(a.length) && !It(a);
3194
3194
  }
3195
3195
  function Fr(a) {
3196
- return qr(a) && Et(a);
3196
+ return Ur(a) && Et(a);
3197
3197
  }
3198
3198
  var Lr = Wn || jr;
3199
3199
  function It(a) {
@@ -3207,13 +3207,13 @@ Me.exports;
3207
3207
  var o = typeof a;
3208
3208
  return !!a && (o == "object" || o == "function");
3209
3209
  }
3210
- function qr(a) {
3210
+ function Ur(a) {
3211
3211
  return !!a && typeof a == "object";
3212
3212
  }
3213
3213
  function Ye(a) {
3214
3214
  return Et(a) ? hr(a) : br(a);
3215
3215
  }
3216
- function Ur() {
3216
+ function qr() {
3217
3217
  return [];
3218
3218
  }
3219
3219
  function jr() {
@@ -3582,15 +3582,15 @@ const Zo = (e, t, n) => {
3582
3582
  for (const g in t)
3583
3583
  t[g].forEach((I) => {
3584
3584
  f += i.next(50, 500);
3585
- const x = {
3585
+ const N = {
3586
3586
  [g]: I,
3587
3587
  [e.name]: f
3588
- }, N = {
3588
+ }, x = {
3589
3589
  version: "1.0",
3590
3590
  timestamp: new Date(y).toISOString(),
3591
- event: x
3591
+ event: N
3592
3592
  };
3593
- d.push(N);
3593
+ d.push(x);
3594
3594
  });
3595
3595
  else {
3596
3596
  f += i.next(50, 500);
@@ -3668,19 +3668,19 @@ const Zo = (e, t, n) => {
3668
3668
  }, Ko = (e, t, n) => {
3669
3669
  const r = Math.floor(Math.random() * 9991) + 10, i = new Qe(r), s = Date.now() - 6 * 60 * 60 * 1e3, u = Date.now(), d = new Date((s + u) / 2).toISOString(), f = [];
3670
3670
  if (t) {
3671
- const y = Object.keys(t), g = Object.values(t), I = (x, N) => {
3672
- if (N === y.length) {
3671
+ const y = Object.keys(t), g = Object.values(t), I = (N, x) => {
3672
+ if (x === y.length) {
3673
3673
  e.forEach((R) => {
3674
- x[R.name] = i.next(1e3, 5e7);
3674
+ N[R.name] = i.next(1e3, 5e7);
3675
3675
  }), f.push({
3676
3676
  version: "1.0",
3677
3677
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
3678
- event: { ...x }
3678
+ event: { ...N }
3679
3679
  });
3680
3680
  return;
3681
3681
  }
3682
- g[N].forEach((R) => {
3683
- I({ ...x, [y[N]]: R }, N + 1);
3682
+ g[x].forEach((R) => {
3683
+ I({ ...N, [y[x]]: R }, x + 1);
3684
3684
  });
3685
3685
  };
3686
3686
  I({}, 0);
@@ -3775,12 +3775,12 @@ export {
3775
3775
  Zo as generateSingleMetricTimeSeriesData,
3776
3776
  Jo as getCountryName,
3777
3777
  Fo as getFieldDataSources,
3778
- qo as granularitiesToOptions,
3778
+ Uo as granularitiesToOptions,
3779
3779
  lo as granularityMsToQuery,
3780
3780
  en as granularityValues,
3781
3781
  _a as llmUsageSchema,
3782
3782
  da as metricCardSchema,
3783
- Uo as msToGranularity,
3783
+ qo as msToGranularity,
3784
3784
  Go as queryDatasources,
3785
3785
  rn as queryableAiExploreDimensions,
3786
3786
  Be as queryableBasicExploreDimensions,
@@ -3793,8 +3793,8 @@ export {
3793
3793
  $r as relativeTimeRangeValuesV4,
3794
3794
  Io as reportChartTypes,
3795
3795
  Xr as requestFilterTypeEmptyV2,
3796
- xo as requestFilterTypeEqualsV2,
3797
- No as requestFilterTypeMetricV2,
3796
+ No as requestFilterTypeEqualsV2,
3797
+ xo as requestFilterTypeMetricV2,
3798
3798
  Po as requestFilterTypeWildcardV2,
3799
3799
  ma as singleValueSchema,
3800
3800
  aa as slottableSchema,