@kong-ui-public/analytics-chart 5.7.4 → 5.7.5

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,7 +1,7 @@
1
1
  var wg = Object.defineProperty;
2
2
  var vg = (n, t, e) => t in n ? wg(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var C = (n, t, e) => vg(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { computed as W, shallowRef as so, onMounted as Sr, onBeforeUnmount as ro, watch as be, inject as es, defineComponent as oe, ref as st, openBlock as K, createElementBlock as ut, normalizeClass as Yn, normalizeStyle as $n, createElementVNode as ht, toDisplayString as ct, createBlock as ae, unref as at, createCommentVNode as jt, Fragment as ns, renderList as ao, useCssVars as Mg, toRef as vt, reactive as oo, onUnmounted as lo, createVNode as Gt, version as Sg, toRaw as ka, nextTick as kg, h as Da, isProxy as ed, renderSlot as co, createTextVNode as Oe, withCtx as Wt, resolveComponent as ze, withKeys as Dg, withModifiers as Tg, provide as hl, createSlots as Cg } from "vue";
4
+ import { computed as W, shallowRef as so, onMounted as Sr, onBeforeUnmount as ro, watch as be, inject as es, defineComponent as oe, ref as st, openBlock as K, createElementBlock as ut, normalizeClass as Yn, normalizeStyle as $n, createElementVNode as ht, toDisplayString as ct, createBlock as ae, unref as at, createCommentVNode as jt, Fragment as ns, renderList as ao, useCssVars as Mg, toRef as vt, reactive as oo, onUnmounted as lo, createVNode as Gt, version as Sg, toRaw as ka, nextTick as kg, h as Da, isProxy as ed, renderSlot as co, createTextVNode as Ee, withCtx as Wt, resolveComponent as ze, withKeys as Dg, withModifiers as Tg, provide as hl, createSlots as Cg } from "vue";
5
5
  import { createI18n as Pg, i18nTComponent as Og } from "@kong-ui-public/i18n";
6
6
  import { DragIcon as Eg, WarningIcon as Ag } from "@kong/icons";
7
7
  const Rg = "No data in the current time frame", Lg = "Once there is traffic, it will display here", Ig = "Not all data is shown in the below report. Reports are currently limited to a maximum of {maxReturned} entities.", Fg = "no-name", Ng = "debug", zg = "Total", Hg = "Open in Explorer", Wg = "More actions", Bg = {
@@ -817,7 +817,7 @@ const _e = (n) => typeof n < "u", xe = (n) => typeof n == "function", bl = (n, t
817
817
  function Sp(n) {
818
818
  return n.type === "mouseup" || n.type === "click" || n.type === "contextmenu";
819
819
  }
820
- const lt = Math.PI, Mt = 2 * lt, kp = Mt + lt, or = Number.POSITIVE_INFINITY, po = lt / 180, Tt = lt / 2, Pe = lt / 4, lr = lt * 2 / 3, xn = Math.log10, $e = Math.sign;
820
+ const lt = Math.PI, Mt = 2 * lt, kp = Mt + lt, or = Number.POSITIVE_INFINITY, po = lt / 180, Tt = lt / 2, Oe = lt / 4, lr = lt * 2 / 3, xn = Math.log10, $e = Math.sign;
821
821
  function Vi(n, t, e) {
822
822
  return Math.abs(n - t) < e;
823
823
  }
@@ -1408,24 +1408,24 @@ function pd(n, t, e, i, s) {
1408
1408
  u = s ? s / 2 : y, n.moveTo(e + Math.sin(x) * u, i - Math.cos(x) * y), x += lr, n.lineTo(e + Math.sin(x) * u, i - Math.cos(x) * y), x += lr, n.lineTo(e + Math.sin(x) * u, i - Math.cos(x) * y), n.closePath();
1409
1409
  break;
1410
1410
  case "rectRounded":
1411
- c = y * 0.516, l = y - c, a = Math.cos(x + Pe) * l, d = Math.cos(x + Pe) * (s ? s / 2 - c : l), o = Math.sin(x + Pe) * l, h = Math.sin(x + Pe) * (s ? s / 2 - c : l), n.arc(e - d, i - o, c, x - lt, x - Tt), n.arc(e + h, i - a, c, x - Tt, x), n.arc(e + d, i + o, c, x, x + Tt), n.arc(e - h, i + a, c, x + Tt, x + lt), n.closePath();
1411
+ c = y * 0.516, l = y - c, a = Math.cos(x + Oe) * l, d = Math.cos(x + Oe) * (s ? s / 2 - c : l), o = Math.sin(x + Oe) * l, h = Math.sin(x + Oe) * (s ? s / 2 - c : l), n.arc(e - d, i - o, c, x - lt, x - Tt), n.arc(e + h, i - a, c, x - Tt, x), n.arc(e + d, i + o, c, x, x + Tt), n.arc(e - h, i + a, c, x + Tt, x + lt), n.closePath();
1412
1412
  break;
1413
1413
  case "rect":
1414
1414
  if (!g) {
1415
1415
  l = Math.SQRT1_2 * y, u = s ? s / 2 : l, n.rect(e - u, i - l, 2 * u, 2 * l);
1416
1416
  break;
1417
1417
  }
1418
- x += Pe;
1418
+ x += Oe;
1419
1419
  case "rectRot":
1420
1420
  d = Math.cos(x) * (s ? s / 2 : y), a = Math.cos(x) * y, o = Math.sin(x) * y, h = Math.sin(x) * (s ? s / 2 : y), n.moveTo(e - d, i - o), n.lineTo(e + h, i - a), n.lineTo(e + d, i + o), n.lineTo(e - h, i + a), n.closePath();
1421
1421
  break;
1422
1422
  case "crossRot":
1423
- x += Pe;
1423
+ x += Oe;
1424
1424
  case "cross":
1425
1425
  d = Math.cos(x) * (s ? s / 2 : y), a = Math.cos(x) * y, o = Math.sin(x) * y, h = Math.sin(x) * (s ? s / 2 : y), n.moveTo(e - d, i - o), n.lineTo(e + d, i + o), n.moveTo(e + h, i - a), n.lineTo(e - h, i + a);
1426
1426
  break;
1427
1427
  case "star":
1428
- d = Math.cos(x) * (s ? s / 2 : y), a = Math.cos(x) * y, o = Math.sin(x) * y, h = Math.sin(x) * (s ? s / 2 : y), n.moveTo(e - d, i - o), n.lineTo(e + d, i + o), n.moveTo(e + h, i - a), n.lineTo(e - h, i + a), x += Pe, d = Math.cos(x) * (s ? s / 2 : y), a = Math.cos(x) * y, o = Math.sin(x) * y, h = Math.sin(x) * (s ? s / 2 : y), n.moveTo(e - d, i - o), n.lineTo(e + d, i + o), n.moveTo(e + h, i - a), n.lineTo(e - h, i + a);
1428
+ d = Math.cos(x) * (s ? s / 2 : y), a = Math.cos(x) * y, o = Math.sin(x) * y, h = Math.sin(x) * (s ? s / 2 : y), n.moveTo(e - d, i - o), n.lineTo(e + d, i + o), n.moveTo(e + h, i - a), n.lineTo(e - h, i + a), x += Oe, d = Math.cos(x) * (s ? s / 2 : y), a = Math.cos(x) * y, o = Math.sin(x) * y, h = Math.sin(x) * (s ? s / 2 : y), n.moveTo(e - d, i - o), n.lineTo(e + d, i + o), n.moveTo(e + h, i - a), n.lineTo(e - h, i + a);
1429
1429
  break;
1430
1430
  case "line":
1431
1431
  a = s ? s / 2 : Math.cos(x) * y, o = Math.sin(x) * y, n.moveTo(e - a, i - o), n.lineTo(e + a, i + o);
@@ -5802,7 +5802,7 @@ function fb(n, t) {
5802
5802
  } : t;
5803
5803
  }
5804
5804
  var pn;
5805
- let Ee = (pn = class {
5805
+ let Ae = (pn = class {
5806
5806
  static register(...t) {
5807
5807
  Be.add(...t), oc();
5808
5808
  }
@@ -6283,7 +6283,7 @@ let Ee = (pn = class {
6283
6283
  }
6284
6284
  }, C(pn, "defaults", Ct), C(pn, "instances", er), C(pn, "overrides", qn), C(pn, "registry", Be), C(pn, "version", lb), C(pn, "getChart", ac), pn);
6285
6285
  function oc() {
6286
- return _t(Ee.instances, (n) => n._plugins.invalidate());
6286
+ return _t(Ae.instances, (n) => n._plugins.invalidate());
6287
6287
  }
6288
6288
  function gb(n, t, e) {
6289
6289
  const { startAngle: i, pixelMargin: s, x: r, y: a, outerRadius: o, innerRadius: l } = t;
@@ -12720,7 +12720,7 @@ function iv(n) {
12720
12720
  };
12721
12721
  });
12722
12722
  }
12723
- Ee.register(...Z0);
12723
+ Ae.register(...Z0);
12724
12724
  const sv = (n, t) => {
12725
12725
  const e = t.datasets.map((s) => s.label), i = n.datasets.map((s) => s.label);
12726
12726
  return n.datasets.length === t.datasets.length && e.every((s, r) => s === i[r]);
@@ -12728,7 +12728,7 @@ const sv = (n, t) => {
12728
12728
  function rv(n, t, e, i, s) {
12729
12729
  const r = so(null), a = (o, l) => {
12730
12730
  if (t.value)
12731
- return new Ee(t.value, {
12731
+ return new Ae(t.value, {
12732
12732
  type: n,
12733
12733
  data: o,
12734
12734
  plugins: i,
@@ -12811,7 +12811,7 @@ function ov(n, t, e) {
12811
12811
  };
12812
12812
  }, {})) };
12813
12813
  }
12814
- var lv = Object.defineProperty, cv = (n, t, e) => t in n ? lv(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, Fe = (n, t, e) => cv(n, typeof t != "symbol" ? t + "" : t, e), Rt = /* @__PURE__ */ ((n) => (n.FIFTEEN_MIN = "15m", n.ONE_HOUR = "1h", n.SIX_HOUR = "6h", n.TWELVE_HOUR = "12h", n.ONE_DAY = "24h", n.SEVEN_DAY = "7d", n.THIRTY_DAY = "30d", n.CURRENT_WEEK = "current_week", n.CURRENT_MONTH = "current_month", n.CURRENT_QUARTER = "current_quarter", n.PREVIOUS_WEEK = "previous_week", n.PREVIOUS_MONTH = "previous_month", n.PREVIOUS_QUARTER = "previous_quarter", n))(Rt || {});
12814
+ var lv = Object.defineProperty, cv = (n, t, e) => t in n ? lv(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, Pe = (n, t, e) => cv(n, typeof t != "symbol" ? t + "" : t, e), Rt = /* @__PURE__ */ ((n) => (n.FIFTEEN_MIN = "15m", n.ONE_HOUR = "1h", n.SIX_HOUR = "6h", n.TWELVE_HOUR = "12h", n.ONE_DAY = "24h", n.SEVEN_DAY = "7d", n.THIRTY_DAY = "30d", n.CURRENT_WEEK = "current_week", n.CURRENT_MONTH = "current_month", n.CURRENT_QUARTER = "current_quarter", n.PREVIOUS_WEEK = "previous_week", n.PREVIOUS_MONTH = "previous_month", n.PREVIOUS_QUARTER = "previous_quarter", n))(Rt || {});
12815
12815
  const uv = [
12816
12816
  "secondly",
12817
12817
  "tenSecondly",
@@ -12905,20 +12905,20 @@ const yv = [
12905
12905
  ys(yv);
12906
12906
  new Set(dv), new Set(fv), new Set(pv);
12907
12907
  const Mh = 6048e5, bv = 864e5, xv = 60, _v = 3600, Uc = Symbol.for("constructDateFrom");
12908
- function Ae(n, t) {
12908
+ function Re(n, t) {
12909
12909
  return typeof n == "function" ? n(t) : n && typeof n == "object" && Uc in n ? n[Uc](t) : n instanceof Date ? new n.constructor(t) : new Date(t);
12910
12910
  }
12911
12911
  function le(n, t) {
12912
- return Ae(t || n, n);
12912
+ return Re(t || n, n);
12913
12913
  }
12914
12914
  function Vc(n, t, e) {
12915
12915
  const i = le(n, void 0);
12916
- return isNaN(t) ? Ae(n, NaN) : (i.setDate(i.getDate() + t), i);
12916
+ return isNaN(t) ? Re(n, NaN) : (i.setDate(i.getDate() + t), i);
12917
12917
  }
12918
12918
  function wv(n, t, e) {
12919
12919
  const i = le(n, void 0);
12920
- if (isNaN(t)) return Ae(n, NaN);
12921
- const s = i.getDate(), r = Ae(n, i.getTime());
12920
+ if (isNaN(t)) return Re(n, NaN);
12921
+ const s = i.getDate(), r = Re(n, i.getTime());
12922
12922
  r.setMonth(i.getMonth() + t + 1, 0);
12923
12923
  const a = r.getDate();
12924
12924
  return s >= a ? r : (i.setFullYear(
@@ -12940,9 +12940,9 @@ function yr(n, t) {
12940
12940
  return on(n, { ...t, weekStartsOn: 1 });
12941
12941
  }
12942
12942
  function Sh(n, t) {
12943
- const e = le(n, void 0), i = e.getFullYear(), s = Ae(e, 0);
12943
+ const e = le(n, void 0), i = e.getFullYear(), s = Re(e, 0);
12944
12944
  s.setFullYear(i + 1, 0, 4), s.setHours(0, 0, 0, 0);
12945
- const r = yr(s), a = Ae(e, 0);
12945
+ const r = yr(s), a = Re(e, 0);
12946
12946
  a.setFullYear(i, 0, 4), a.setHours(0, 0, 0, 0);
12947
12947
  const o = yr(a);
12948
12948
  return e.getTime() >= r.getTime() ? i + 1 : e.getTime() >= o.getTime() ? i : i - 1;
@@ -12962,7 +12962,7 @@ function Xc(n) {
12962
12962
  return e.setUTCFullYear(t.getFullYear()), +n - +e;
12963
12963
  }
12964
12964
  function Mv(n, ...t) {
12965
- const e = Ae.bind(
12965
+ const e = Re.bind(
12966
12966
  null,
12967
12967
  t.find((i) => typeof i == "object")
12968
12968
  );
@@ -12981,7 +12981,7 @@ function Sv(n, t, e) {
12981
12981
  return Math.round((o - l) / bv);
12982
12982
  }
12983
12983
  function kv(n, t) {
12984
- const e = Sh(n), i = Ae(n, 0);
12984
+ const e = Sh(n), i = Re(n, 0);
12985
12985
  return i.setFullYear(e, 0, 4), i.setHours(0, 0, 0, 0), yr(i);
12986
12986
  }
12987
12987
  function Dv(n) {
@@ -13439,16 +13439,16 @@ function c1(n, t) {
13439
13439
  }
13440
13440
  function kh(n, t) {
13441
13441
  var e, i, s, r;
13442
- const a = le(n, t == null ? void 0 : t.in), o = a.getFullYear(), l = bs(), c = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((i = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : i.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((r = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : r.firstWeekContainsDate) ?? 1, u = Ae((t == null ? void 0 : t.in) || n, 0);
13442
+ const a = le(n, t == null ? void 0 : t.in), o = a.getFullYear(), l = bs(), c = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((i = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : i.firstWeekContainsDate) ?? l.firstWeekContainsDate ?? ((r = (s = l.locale) == null ? void 0 : s.options) == null ? void 0 : r.firstWeekContainsDate) ?? 1, u = Re((t == null ? void 0 : t.in) || n, 0);
13443
13443
  u.setFullYear(o + 1, 0, c), u.setHours(0, 0, 0, 0);
13444
- const d = on(u, t), h = Ae((t == null ? void 0 : t.in) || n, 0);
13444
+ const d = on(u, t), h = Re((t == null ? void 0 : t.in) || n, 0);
13445
13445
  h.setFullYear(o, 0, c), h.setHours(0, 0, 0, 0);
13446
13446
  const f = on(h, t);
13447
13447
  return +a >= +d ? o + 1 : +a >= +f ? o : o - 1;
13448
13448
  }
13449
13449
  function u1(n, t) {
13450
13450
  var e, i, s, r;
13451
- const a = bs(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((i = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : i.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((r = (s = a.locale) == null ? void 0 : s.options) == null ? void 0 : r.firstWeekContainsDate) ?? 1, l = kh(n, t), c = Ae((t == null ? void 0 : t.in) || n, 0);
13451
+ const a = bs(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((i = (e = t == null ? void 0 : t.locale) == null ? void 0 : e.options) == null ? void 0 : i.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((r = (s = a.locale) == null ? void 0 : s.options) == null ? void 0 : r.firstWeekContainsDate) ?? 1, l = kh(n, t), c = Re((t == null ? void 0 : t.in) || n, 0);
13452
13452
  return c.setFullYear(l, 0, o), c.setHours(0, 0, 0, 0), on(c, t);
13453
13453
  }
13454
13454
  function d1(n, t) {
@@ -14129,7 +14129,7 @@ function T1(n) {
14129
14129
  return t ? t[1].replace(S1, "'") : n;
14130
14130
  }
14131
14131
  function C1(n, t) {
14132
- const e = le(n, void 0), i = e.getFullYear(), s = e.getMonth(), r = Ae(e, 0);
14132
+ const e = le(n, void 0), i = e.getFullYear(), s = e.getMonth(), r = Re(e, 0);
14133
14133
  return r.setFullYear(i, s + 1, 0), r.setHours(0, 0, 0, 0), r.getDate();
14134
14134
  }
14135
14135
  function P1() {
@@ -14627,7 +14627,7 @@ function ya(n) {
14627
14627
  const mi = (n, t) => new Date(n.getTime() - aM(t, n));
14628
14628
  class Ne {
14629
14629
  constructor(t) {
14630
- Fe(this, "timeframeText"), Fe(this, "key"), Fe(this, "display"), Fe(this, "timeframeLength"), Fe(this, "allowedTiers"), Fe(this, "defaultResponseGranularity"), Fe(this, "dataGranularity"), Fe(this, "isRelative"), Fe(this, "_startCustom"), Fe(this, "_endCustom"), Fe(this, "_allowedGranularitiesOverride"), this.display = t.display, this.timeframeText = t.timeframeText, this.key = t.key, this.timeframeLength = t.timeframeLength, this.allowedTiers = t.allowedTiers, this.defaultResponseGranularity = t.defaultResponseGranularity, this.dataGranularity = t.dataGranularity, this.isRelative = t.isRelative, this._startCustom = t.startCustom, this._endCustom = t.endCustom, this._allowedGranularitiesOverride = t.allowedGranularitiesOverride;
14630
+ Pe(this, "timeframeText"), Pe(this, "key"), Pe(this, "display"), Pe(this, "timeframeLength"), Pe(this, "allowedTiers"), Pe(this, "defaultResponseGranularity"), Pe(this, "dataGranularity"), Pe(this, "isRelative"), Pe(this, "fineGrainedDefaultGranularity"), Pe(this, "_startCustom"), Pe(this, "_endCustom"), Pe(this, "_allowedGranularitiesOverride"), this.display = t.display, this.timeframeText = t.timeframeText, this.key = t.key, this.timeframeLength = t.timeframeLength, this.allowedTiers = t.allowedTiers, this.defaultResponseGranularity = t.defaultResponseGranularity, this.dataGranularity = t.dataGranularity, this.isRelative = t.isRelative, this._startCustom = t.startCustom, this._endCustom = t.endCustom, this._allowedGranularitiesOverride = t.allowedGranularitiesOverride, this.fineGrainedDefaultGranularity = t.fineGrainedDefaultGranularity;
14631
14631
  }
14632
14632
  // rawEnd does not consider granularity and should not be used directly in queries.
14633
14633
  // Use `new QueryTime(timeframe, granularity?).queryEndSeconds()` instead.
@@ -14724,6 +14724,7 @@ Rt.FIFTEEN_MIN, new Ne({
14724
14724
  defaultResponseGranularity: "minutely",
14725
14725
  dataGranularity: "minutely",
14726
14726
  isRelative: !0,
14727
+ fineGrainedDefaultGranularity: "thirtySecondly",
14727
14728
  allowedTiers: ["free", "trial", "plus", "enterprise"],
14728
14729
  allowedGranularitiesOverride: ["tenSecondly", "thirtySecondly", "minutely"]
14729
14730
  }), Rt.ONE_HOUR, new Ne({
@@ -14734,6 +14735,7 @@ Rt.FIFTEEN_MIN, new Ne({
14734
14735
  defaultResponseGranularity: "minutely",
14735
14736
  dataGranularity: "minutely",
14736
14737
  isRelative: !0,
14738
+ fineGrainedDefaultGranularity: "minutely",
14737
14739
  allowedTiers: ["free", "trial", "plus", "enterprise"],
14738
14740
  allowedGranularitiesOverride: ["tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely"]
14739
14741
  }), Rt.SIX_HOUR, new Ne({
@@ -14744,6 +14746,7 @@ Rt.FIFTEEN_MIN, new Ne({
14744
14746
  defaultResponseGranularity: "hourly",
14745
14747
  dataGranularity: "hourly",
14746
14748
  isRelative: !0,
14749
+ fineGrainedDefaultGranularity: "fiveMinutely",
14747
14750
  allowedTiers: ["free", "trial", "plus", "enterprise"],
14748
14751
  allowedGranularitiesOverride: ["thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
14749
14752
  }), Rt.TWELVE_HOUR, new Ne({
@@ -14754,6 +14757,7 @@ Rt.FIFTEEN_MIN, new Ne({
14754
14757
  defaultResponseGranularity: "hourly",
14755
14758
  dataGranularity: "hourly",
14756
14759
  isRelative: !0,
14760
+ fineGrainedDefaultGranularity: "tenMinutely",
14757
14761
  allowedTiers: ["free", "trial", "plus", "enterprise"],
14758
14762
  allowedGranularitiesOverride: ["minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
14759
14763
  }), Rt.ONE_DAY, new Ne({
@@ -14764,6 +14768,7 @@ Rt.FIFTEEN_MIN, new Ne({
14764
14768
  defaultResponseGranularity: "hourly",
14765
14769
  dataGranularity: "hourly",
14766
14770
  isRelative: !0,
14771
+ fineGrainedDefaultGranularity: "thirtyMinutely",
14767
14772
  allowedTiers: ["free", "trial", "plus", "enterprise"],
14768
14773
  allowedGranularitiesOverride: ["fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
14769
14774
  }), Rt.SEVEN_DAY, new Ne({
@@ -14774,6 +14779,7 @@ Rt.FIFTEEN_MIN, new Ne({
14774
14779
  defaultResponseGranularity: "daily",
14775
14780
  dataGranularity: "daily",
14776
14781
  isRelative: !0,
14782
+ fineGrainedDefaultGranularity: "twoHourly",
14777
14783
  allowedTiers: ["trial", "plus", "enterprise"],
14778
14784
  allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
14779
14785
  }), Rt.THIRTY_DAY, new Ne({
@@ -14784,6 +14790,7 @@ Rt.FIFTEEN_MIN, new Ne({
14784
14790
  defaultResponseGranularity: "daily",
14785
14791
  dataGranularity: "daily",
14786
14792
  isRelative: !0,
14793
+ fineGrainedDefaultGranularity: "twelveHourly",
14787
14794
  allowedTiers: ["trial", "plus", "enterprise"],
14788
14795
  allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
14789
14796
  }), Rt.CURRENT_WEEK, new lM({
@@ -14797,6 +14804,7 @@ Rt.FIFTEEN_MIN, new Ne({
14797
14804
  defaultResponseGranularity: "daily",
14798
14805
  dataGranularity: "daily",
14799
14806
  isRelative: !1,
14807
+ fineGrainedDefaultGranularity: "twoHourly",
14800
14808
  allowedTiers: ["plus", "enterprise"],
14801
14809
  allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
14802
14810
  }), Rt.CURRENT_MONTH, new cM({
@@ -14819,6 +14827,7 @@ Rt.FIFTEEN_MIN, new Ne({
14819
14827
  defaultResponseGranularity: "daily",
14820
14828
  dataGranularity: "daily",
14821
14829
  isRelative: !1,
14830
+ fineGrainedDefaultGranularity: "twoHourly",
14822
14831
  allowedTiers: ["plus", "enterprise"],
14823
14832
  allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
14824
14833
  }), Rt.PREVIOUS_MONTH, new dM({
@@ -15501,24 +15510,24 @@ function UM(n, { x: t, y: e, radius: i, rotation: s, style: r, rad: a }) {
15501
15510
  n.moveTo(t + Math.sin(a) * i, e - Math.cos(a) * i), a += lr, n.lineTo(t + Math.sin(a) * i, e - Math.cos(a) * i), a += lr, n.lineTo(t + Math.sin(a) * i, e - Math.cos(a) * i), n.closePath();
15502
15511
  break;
15503
15512
  case "rectRounded":
15504
- u = i * 0.516, c = i - u, o = Math.cos(a + Pe) * c, l = Math.sin(a + Pe) * c, n.arc(t - o, e - l, u, a - lt, a - Tt), n.arc(t + l, e - o, u, a - Tt, a), n.arc(t + o, e + l, u, a, a + Tt), n.arc(t - l, e + o, u, a + Tt, a + lt), n.closePath();
15513
+ u = i * 0.516, c = i - u, o = Math.cos(a + Oe) * c, l = Math.sin(a + Oe) * c, n.arc(t - o, e - l, u, a - lt, a - Tt), n.arc(t + l, e - o, u, a - Tt, a), n.arc(t + o, e + l, u, a, a + Tt), n.arc(t - l, e + o, u, a + Tt, a + lt), n.closePath();
15505
15514
  break;
15506
15515
  case "rect":
15507
15516
  if (!s) {
15508
15517
  c = Math.SQRT1_2 * i, n.rect(t - c, e - c, 2 * c, 2 * c);
15509
15518
  break;
15510
15519
  }
15511
- a += Pe;
15520
+ a += Oe;
15512
15521
  case "rectRot":
15513
15522
  o = Math.cos(a) * i, l = Math.sin(a) * i, n.moveTo(t - o, e - l), n.lineTo(t + l, e - o), n.lineTo(t + o, e + l), n.lineTo(t - l, e + o), n.closePath();
15514
15523
  break;
15515
15524
  case "crossRot":
15516
- a += Pe;
15525
+ a += Oe;
15517
15526
  case "cross":
15518
15527
  o = Math.cos(a) * i, l = Math.sin(a) * i, n.moveTo(t - o, e - l), n.lineTo(t + o, e + l), n.moveTo(t + l, e - o), n.lineTo(t - l, e + o);
15519
15528
  break;
15520
15529
  case "star":
15521
- o = Math.cos(a) * i, l = Math.sin(a) * i, n.moveTo(t - o, e - l), n.lineTo(t + o, e + l), n.moveTo(t + l, e - o), n.lineTo(t - l, e + o), a += Pe, o = Math.cos(a) * i, l = Math.sin(a) * i, n.moveTo(t - o, e - l), n.lineTo(t + o, e + l), n.moveTo(t + l, e - o), n.lineTo(t - l, e + o);
15530
+ o = Math.cos(a) * i, l = Math.sin(a) * i, n.moveTo(t - o, e - l), n.lineTo(t + o, e + l), n.moveTo(t + l, e - o), n.lineTo(t - l, e + o), a += Oe, o = Math.cos(a) * i, l = Math.sin(a) * i, n.moveTo(t - o, e - l), n.lineTo(t + o, e + l), n.moveTo(t + l, e - o), n.lineTo(t - l, e + o);
15522
15531
  break;
15523
15532
  case "line":
15524
15533
  o = Math.cos(a) * i, l = Math.sin(a) * i, n.moveTo(t - o, e - l), n.lineTo(t + o, e + l);
@@ -16760,13 +16769,13 @@ var Eu = {
16760
16769
  id: "annotation",
16761
16770
  version: tk,
16762
16771
  beforeRegister() {
16763
- zM("chart.js", "4.0", Ee.version);
16772
+ zM("chart.js", "4.0", Ae.version);
16764
16773
  },
16765
16774
  afterRegister() {
16766
- Ee.register(Sn);
16775
+ Ae.register(Sn);
16767
16776
  },
16768
16777
  afterUnregister() {
16769
- Ee.unregister(Sn);
16778
+ Ae.unregister(Sn);
16770
16779
  },
16771
16780
  beforeInit(n) {
16772
16781
  mn.set(n, {
@@ -17093,12 +17102,12 @@ const sk = { class: "tooltip-title" }, rk = { class: "title font-bold" }, ak = {
17093
17102
  const x = (M = 0, T) => {
17094
17103
  if (t.chartInstance === null)
17095
17104
  return;
17096
- const S = t.chartInstance instanceof Ee ? t.chartInstance : t.chartInstance.chart;
17105
+ const S = t.chartInstance instanceof Ae ? t.chartInstance : t.chartInstance.chart;
17097
17106
  _(M, T) ? S.hide(M, T) : S.show(M, T), S.update();
17098
17107
  }, _ = (M = 0, T) => {
17099
17108
  if (t.chartInstance === null || t.chartInstance.chart === null)
17100
17109
  return !0;
17101
- const S = t.chartInstance instanceof Ee ? t.chartInstance : t.chartInstance.chart, P = S.getDatasetMeta(M);
17110
+ const S = t.chartInstance instanceof Ae ? t.chartInstance : t.chartInstance.chart, P = S.getDatasetMeta(M);
17102
17111
  return P.dataset || T === void 0 ? S.isDatasetVisible(M) : !(P.data.length && P.data[T].hidden);
17103
17112
  }, v = (M) => ({
17104
17113
  [Nt.Right]: "vertical",
@@ -17356,7 +17365,7 @@ const Ru = (n, t) => {
17356
17365
  return o.value && L && x.value ? `${Math.max(L * (Mk + Iu), E.value)}px` : wk;
17357
17366
  });
17358
17367
  pt.useReportChartDataForSynthetics(vt(t, "chartData"), vt(t, "syntheticsDataKey")), Sr(() => {
17359
- t.annotations && Ee.register(Eu), s.value && (D.value = s.value.offsetWidth, E.value = s.value.offsetHeight, A.observe(s.value));
17368
+ t.annotations && Ae.register(Eu), s.value && (D.value = s.value.offsetWidth, E.value = s.value.offsetHeight, A.observe(s.value));
17360
17369
  }), lo(() => {
17361
17370
  s.value && A.unobserve(s.value);
17362
17371
  });
@@ -17400,7 +17409,7 @@ const Ru = (n, t) => {
17400
17409
  return q.map((j) => Yc(ca(j, y.value) + $c(j, X))).reduce((j, Y) => Math.max(j, Y), 0) + Lu;
17401
17410
  });
17402
17411
  ro(() => {
17403
- Ee.unregister(Eu);
17412
+ Ae.unregister(Eu);
17404
17413
  });
17405
17414
  const rt = {
17406
17415
  [Nt.Right]: "legend-row",
@@ -17700,7 +17709,7 @@ const Nk = oe({
17700
17709
  const a = () => {
17701
17710
  if (!s.value) return;
17702
17711
  const { type: c, data: u, options: d, plugins: h, datasetIdKey: f } = n, g = Fk(u, f), y = Lk(g, u);
17703
- r.value = new Ee(s.value, {
17712
+ r.value = new Ae(s.value, {
17704
17713
  type: c,
17705
17714
  data: y,
17706
17715
  options: {
@@ -17751,7 +17760,7 @@ const Nk = oe({
17751
17760
  }
17752
17761
  });
17753
17762
  function Ko(n, t) {
17754
- return Ee.register(t), oe({
17763
+ return Ae.register(t), oe({
17755
17764
  props: nf,
17756
17765
  setup(e, i) {
17757
17766
  let { expose: s } = i;
@@ -18161,7 +18170,7 @@ vr.exports;
18161
18170
  return w == null ? void 0 : w[p];
18162
18171
  };
18163
18172
  }
18164
- function Re(p, w) {
18173
+ function Le(p, w) {
18165
18174
  for (var O = -1, N = Array(p); ++O < p; )
18166
18175
  N[O] = w(O);
18167
18176
  return N;
@@ -18200,12 +18209,12 @@ vr.exports;
18200
18209
  O[++w] = N;
18201
18210
  }), O;
18202
18211
  }
18203
- var Le = Array.prototype, Ve = Function.prototype, we = Object.prototype, ke = G["__core-js_shared__"], Ie = function() {
18212
+ var Ie = Array.prototype, Ve = Function.prototype, we = Object.prototype, ke = G["__core-js_shared__"], Fe = function() {
18204
18213
  var p = /[^.]+$/.exec(ke && ke.keys && ke.keys.IE_PROTO || "");
18205
18214
  return p ? "Symbol(src)_1." + p : "";
18206
18215
  }(), ne = Ve.toString, he = we.hasOwnProperty, Ut = we.toString, Ms = RegExp(
18207
18216
  "^" + ne.call(he).replace(H, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
18208
- ), Jn = G.Symbol, Jo = G.Uint8Array, ff = we.propertyIsEnumerable, gf = Le.splice, pf = mt(Object.keys, Object), zr = ti(G, "DataView"), vi = ti(G, "Map"), Hr = ti(G, "Promise"), Wr = ti(G, "Set"), Br = ti(G, "WeakMap"), Mi = ti(Object, "create"), mf = An(zr), yf = An(vi), bf = An(Hr), xf = An(Wr), _f = An(Br), Ss = Jn ? Jn.prototype : void 0, Yr = Ss ? Ss.valueOf : void 0, tl = Ss ? Ss.toString : void 0;
18217
+ ), Jn = G.Symbol, Jo = G.Uint8Array, ff = we.propertyIsEnumerable, gf = Ie.splice, pf = mt(Object.keys, Object), zr = ti(G, "DataView"), vi = ti(G, "Map"), Hr = ti(G, "Promise"), Wr = ti(G, "Set"), Br = ti(G, "WeakMap"), Mi = ti(Object, "create"), mf = An(zr), yf = An(vi), bf = An(Hr), xf = An(Wr), _f = An(Br), Ss = Jn ? Jn.prototype : void 0, Yr = Ss ? Ss.valueOf : void 0, tl = Ss ? Ss.toString : void 0;
18209
18218
  function En(p) {
18210
18219
  var w = -1, O = p ? p.length : 0;
18211
18220
  for (this.clear(); ++w < O; ) {
@@ -18331,7 +18340,7 @@ vr.exports;
18331
18340
  }
18332
18341
  Ke.prototype.clear = zf, Ke.prototype.delete = Hf, Ke.prototype.get = Wf, Ke.prototype.has = Bf, Ke.prototype.set = Yf;
18333
18342
  function jf(p, w) {
18334
- var O = Rn(p) || ll(p) ? Re(p.length, String) : [], N = O.length, nt = !!N;
18343
+ var O = Rn(p) || ll(p) ? Le(p.length, String) : [], N = O.length, nt = !!N;
18335
18344
  for (var V in p)
18336
18345
  he.call(p, V) && !(nt && (V == "length" || sl(V, N))) && O.push(V);
18337
18346
  return O;
@@ -18616,7 +18625,7 @@ vr.exports;
18616
18625
  return w == "string" || w == "number" || w == "symbol" || w == "boolean" ? p !== "__proto__" : p === null;
18617
18626
  }
18618
18627
  function ug(p) {
18619
- return !!Ie && Ie in p;
18628
+ return !!Fe && Fe in p;
18620
18629
  }
18621
18630
  function dg(p) {
18622
18631
  var w = p && p.constructor, O = typeof w == "function" && w.prototype || we;
@@ -19197,8 +19206,8 @@ License: MIT
19197
19206
  if (m.newline || (m.newline = function(Pt, wt) {
19198
19207
  Pt = Pt.substring(0, 1048576);
19199
19208
  var ce = new RegExp(x(wt) + "([^]*?)" + x(wt), "gm"), ue = (Pt = Pt.replace(ce, "")).split("\r"), Se = Pt.split(`
19200
- `), Re = 1 < Se.length && Se[0].length < ue[0].length;
19201
- if (ue.length === 1 || Re) return `
19209
+ `), Le = 1 < Se.length && Se[0].length < ue[0].length;
19210
+ if (ue.length === 1 || Le) return `
19202
19211
  `;
19203
19212
  for (var de = 0, Dt = 0; Dt < ue.length; Dt++) ue[Dt][0] === `
19204
19213
  ` && de++;
@@ -19207,19 +19216,19 @@ License: MIT
19207
19216
  }(Y, kt)), E = !1, m.delimiter) k(m.delimiter) && (m.delimiter = m.delimiter(Y), B.meta.delimiter = m.delimiter);
19208
19217
  else {
19209
19218
  var dt = function(Pt, wt, ce, ue, Se) {
19210
- var Re, de, Dt, Ot;
19219
+ var Le, de, Dt, Ot;
19211
19220
  Se = Se || [",", " ", "|", ";", l.RECORD_SEP, l.UNIT_SEP];
19212
19221
  for (var Ue = 0; Ue < Se.length; Ue++) {
19213
- var mt = Se[Ue], un = 0, Le = 0, Ve = 0;
19222
+ var mt = Se[Ue], un = 0, Ie = 0, Ve = 0;
19214
19223
  Dt = void 0;
19215
19224
  for (var we = new _({ comments: ue, delimiter: mt, newline: wt, preview: 10 }).parse(Pt), ke = 0; ke < we.data.length; ke++) if (ce && H(we.data[ke])) Ve++;
19216
19225
  else {
19217
- var Ie = we.data[ke].length;
19218
- Le += Ie, Dt !== void 0 ? 0 < Ie && (un += Math.abs(Ie - Dt), Dt = Ie) : Dt = Ie;
19226
+ var Fe = we.data[ke].length;
19227
+ Ie += Fe, Dt !== void 0 ? 0 < Fe && (un += Math.abs(Fe - Dt), Dt = Fe) : Dt = Fe;
19219
19228
  }
19220
- 0 < we.data.length && (Le /= we.data.length - Ve), (de === void 0 || un <= de) && (Ot === void 0 || Ot < Le) && 1.99 < Le && (de = un, Re = mt, Ot = Le);
19229
+ 0 < we.data.length && (Ie /= we.data.length - Ve), (de === void 0 || un <= de) && (Ot === void 0 || Ot < Ie) && 1.99 < Ie && (de = un, Le = mt, Ot = Ie);
19221
19230
  }
19222
- return { successful: !!(m.delimiter = Re), bestDelimiter: Re };
19231
+ return { successful: !!(m.delimiter = Le), bestDelimiter: Le };
19223
19232
  }(Y, m.newline, m.skipEmptyLines, m.comments, m.delimitersToGuess);
19224
19233
  dt.successful ? m.delimiter = dt.bestDelimiter : (E = !0, m.delimiter = l.DefaultDelimiter), B.meta.delimiter = m.delimiter;
19225
19234
  }
@@ -19267,8 +19276,8 @@ License: MIT
19267
19276
  }
19268
19277
  }
19269
19278
  if (U || U !== !1 && z.indexOf(b) === -1) {
19270
- for (var Re = z.split(E), de = 0; de < Re.length; de++) {
19271
- if (Y = Re[de], I += Y.length, de !== Re.length - 1) I += E.length;
19279
+ for (var Le = z.split(E), de = 0; de < Le.length; de++) {
19280
+ if (Y = Le[de], I += Y.length, de !== Le.length - 1) I += E.length;
19272
19281
  else if (St) return ne();
19273
19282
  if (!A || Y.substring(0, q) !== A) {
19274
19283
  if (X) {
@@ -19285,7 +19294,7 @@ License: MIT
19285
19294
  } else if (Dt !== -1 && (Dt < Ot || Ot === -1)) Y.push(z.substring(I, Dt)), I = Dt + L, Dt = z.indexOf(D, I);
19286
19295
  else {
19287
19296
  if (Ot === -1) break;
19288
- if (Y.push(z.substring(I, Ot)), Ie(Ot + H), X && (he(), rt)) return ne();
19297
+ if (Y.push(z.substring(I, Ot)), Fe(Ot + H), X && (he(), rt)) return ne();
19289
19298
  if (F && Z.length >= F) return ne(!0);
19290
19299
  }
19291
19300
  else for (mt = I, I++; ; ) {
@@ -19299,9 +19308,9 @@ License: MIT
19299
19308
  Y.push(z.substring(I, mt).replace(Ue, b)), z[I = mt + 1 + un + L] !== b && (mt = z.indexOf(b, I)), Dt = z.indexOf(D, I), Ot = z.indexOf(E, I);
19300
19309
  break;
19301
19310
  }
19302
- var Le = we(Ot);
19303
- if (z.substring(mt + 1 + Le, mt + 1 + Le + H) === E) {
19304
- if (Y.push(z.substring(I, mt).replace(Ue, b)), Ie(mt + 1 + Le + H), Dt = z.indexOf(D, I), mt = z.indexOf(b, I), X && (he(), rt)) return ne();
19311
+ var Ie = we(Ot);
19312
+ if (z.substring(mt + 1 + Ie, mt + 1 + Ie + H) === E) {
19313
+ if (Y.push(z.substring(I, mt).replace(Ue, b)), Fe(mt + 1 + Ie + H), Dt = z.indexOf(D, I), mt = z.indexOf(b, I), X && (he(), rt)) return ne();
19305
19314
  if (F && Z.length >= F) return ne(!0);
19306
19315
  break;
19307
19316
  }
@@ -19324,7 +19333,7 @@ License: MIT
19324
19333
  function ke(Ut) {
19325
19334
  return St || (Ut === void 0 && (Ut = z.substring(I)), Y.push(Ut), I = B, Ve(Y), X && he()), ne();
19326
19335
  }
19327
- function Ie(Ut) {
19336
+ function Fe(Ut) {
19328
19337
  I = Ut, Ve(Y), Y = [], Ot = z.indexOf(E, I);
19329
19338
  }
19330
19339
  function ne(Ut) {
@@ -19485,7 +19494,7 @@ const CD = ["id"], PD = /* @__PURE__ */ oe({
19485
19494
  onClick: c
19486
19495
  }, [
19487
19496
  co(u.$slots, "default", {}, () => [
19488
- Oe("Download " + ct(n.filename), 1)
19497
+ Ee("Download " + ct(n.filename), 1)
19489
19498
  ])
19490
19499
  ], 8, CD));
19491
19500
  }
@@ -20072,7 +20081,7 @@ const sT = { class: "kong-ui-public-csv-export-modal" }, rT = {
20072
20081
  onClick: h
20073
20082
  }, {
20074
20083
  default: Wt(() => [
20075
- Oe(ct(at(e).t("csvExport.cancelButton")), 1)
20084
+ Ee(ct(at(e).t("csvExport.cancelButton")), 1)
20076
20085
  ]),
20077
20086
  _: 1
20078
20087
  }),
@@ -20089,7 +20098,7 @@ const sT = { class: "kong-ui-public-csv-export-modal" }, rT = {
20089
20098
  disabled: a.value || !o.value
20090
20099
  }, {
20091
20100
  default: Wt(() => [
20092
- Oe(ct(at(e).t("csvExport.downloadButton")), 1)
20101
+ Ee(ct(at(e).t("csvExport.downloadButton")), 1)
20093
20102
  ]),
20094
20103
  _: 1
20095
20104
  }, 8, ["disabled"])
@@ -20141,7 +20150,7 @@ const sT = { class: "kong-ui-public-csv-export-modal" }, rT = {
20141
20150
  onClick: Tg(a, ["prevent"])
20142
20151
  }, {
20143
20152
  default: Wt(() => [
20144
- Oe(ct(n.text || at(e).t("csvExport.exportButton")), 1)
20153
+ Ee(ct(n.text || at(e).t("csvExport.exportButton")), 1)
20145
20154
  ]),
20146
20155
  _: 1
20147
20156
  }, 8, ["appearance"]),
@@ -20308,7 +20317,7 @@ const sT = { class: "kong-ui-public-csv-export-modal" }, rT = {
20308
20317
  placement: "right"
20309
20318
  }, {
20310
20319
  content: Wt(() => [
20311
- Oe(ct(at(y)), 1)
20320
+ Ee(ct(at(y)), 1)
20312
20321
  ]),
20313
20322
  default: Wt(() => [
20314
20323
  Gt(at(Ag), {
@@ -20379,10 +20388,10 @@ const sT = { class: "kong-ui-public-csv-export-modal" }, rT = {
20379
20388
  "data-testid": "no-data-in-report"
20380
20389
  }, {
20381
20390
  title: Wt(() => [
20382
- Oe(ct(k.value), 1)
20391
+ Ee(ct(k.value), 1)
20383
20392
  ]),
20384
20393
  default: Wt(() => [
20385
- Oe(ct(m.value), 1)
20394
+ Ee(ct(m.value), 1)
20386
20395
  ]),
20387
20396
  _: 1
20388
20397
  }))
@@ -20563,7 +20572,7 @@ const sT = { class: "kong-ui-public-csv-export-modal" }, rT = {
20563
20572
  "data-testid": "no-data-in-report"
20564
20573
  }, {
20565
20574
  title: Wt(() => [
20566
- Oe(ct(a.value), 1)
20575
+ Ee(ct(a.value), 1)
20567
20576
  ]),
20568
20577
  _: 1
20569
20578
  }))
@@ -20660,10 +20669,10 @@ const sT = { class: "kong-ui-public-csv-export-modal" }, rT = {
20660
20669
  "icon-variant": "error"
20661
20670
  }, {
20662
20671
  title: Wt(() => [
20663
- Oe(ct(at(e).t("topNTable.defaultErrorStateTitle")), 1)
20672
+ Ee(ct(at(e).t("topNTable.defaultErrorStateTitle")), 1)
20664
20673
  ]),
20665
20674
  default: Wt(() => [
20666
- Oe(ct(c.value), 1)
20675
+ Ee(ct(c.value), 1)
20667
20676
  ]),
20668
20677
  _: 1
20669
20678
  })) : n.isLoading ? (K(), ae(_, {
@@ -20692,7 +20701,7 @@ const sT = { class: "kong-ui-public-csv-export-modal" }, rT = {
20692
20701
  dimension: r.value
20693
20702
  }
20694
20703
  }, () => [
20695
- Oe(ct(d(M)), 1)
20704
+ Ee(ct(d(M)), 1)
20696
20705
  ], !0)
20697
20706
  ]),
20698
20707
  ht("div", LT, "   " + ct(f(M)), 1)
@@ -20704,7 +20713,7 @@ const sT = { class: "kong-ui-public-csv-export-modal" }, rT = {
20704
20713
  "data-testid": "top-n-empty-state"
20705
20714
  }, {
20706
20715
  title: Wt(() => [
20707
- Oe(ct(n.emptyStateTitle || at(e).t("topNTable.defaultEmptyStateTitle")), 1)
20716
+ Ee(ct(n.emptyStateTitle || at(e).t("topNTable.defaultEmptyStateTitle")), 1)
20708
20717
  ]),
20709
20718
  _: 1
20710
20719
  }))