@kong-ui-public/analytics-geo-map 1.4.23-pr.2606.eb096907d.0 → 1.4.24-pr.2603.3228f5f80.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.
@@ -52,7 +52,7 @@ function da() {
52
52
  // Translation component <i18n-t>
53
53
  };
54
54
  }
55
- var ma = Object.defineProperty, fa = (e, t, n) => t in e ? ma(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P = (e, t, n) => fa(e, typeof t != "symbol" ? t + "" : t, n), 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.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))(h || {});
55
+ var ma = Object.defineProperty, fa = (e, t, n) => t in e ? ma(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, I = (e, t, n) => fa(e, typeof t != "symbol" ? t + "" : t, n), 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.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))(h || {});
56
56
  const pa = ["in", "not_in", "selector"], ha = ["empty", "not_empty"], ya = [
57
57
  "15m",
58
58
  "1h",
@@ -513,7 +513,7 @@ function Nn(e, t, n) {
513
513
  return Da(e, -1);
514
514
  }
515
515
  function Ea(e, t) {
516
- const n = La(t);
516
+ const n = Ga(t);
517
517
  return "formatToParts" in n ? Oa(n, e) : ba(n, e);
518
518
  }
519
519
  const Ra = {
@@ -558,9 +558,9 @@ const ht = {}, on = new Intl.DateTimeFormat("en-US", {
558
558
  hour: "2-digit",
559
559
  minute: "2-digit",
560
560
  second: "2-digit"
561
- }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Ga = on === "06/25/2014, 00:00:00" || on === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
562
- function La(e) {
563
- return ht[e] || (ht[e] = Ga ? new Intl.DateTimeFormat("en-US", {
561
+ }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), La = on === "06/25/2014, 00:00:00" || on === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
562
+ function Ga(e) {
563
+ return ht[e] || (ht[e] = La ? new Intl.DateTimeFormat("en-US", {
564
564
  hourCycle: "h23",
565
565
  timeZone: e,
566
566
  year: "numeric",
@@ -584,7 +584,7 @@ function kt(e, t, n, a, i, o, l) {
584
584
  const m = /* @__PURE__ */ new Date(0);
585
585
  return m.setUTCFullYear(e, t, n), m.setUTCHours(a, i, o, l), m;
586
586
  }
587
- const sn = 36e5, Ia = 6e4, yt = {
587
+ const sn = 36e5, Ca = 6e4, yt = {
588
588
  timezoneZ: /^(Z)$/,
589
589
  timezoneHH: /^([+-]\d{2})$/,
590
590
  timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
@@ -601,16 +601,16 @@ function Ze(e, t, n) {
601
601
  if (a = yt.timezoneHHMM.exec(e), a) {
602
602
  i = parseInt(a[2], 10);
603
603
  const l = parseInt(a[3], 10);
604
- return ln(i, l) ? (o = Math.abs(i) * sn + l * Ia, a[1] === "+" ? -o : o) : NaN;
604
+ return ln(i, l) ? (o = Math.abs(i) * sn + l * Ca, a[1] === "+" ? -o : o) : NaN;
605
605
  }
606
- if (Ca(e)) {
606
+ if (Pa(e)) {
607
607
  t = new Date(t || Date.now());
608
- const l = n ? t : Pa(t), m = Mt(l, e);
608
+ const l = n ? t : Ia(t), m = Mt(l, e);
609
609
  return -(n ? m : Ua(t, m, e));
610
610
  }
611
611
  return NaN;
612
612
  }
613
- function Pa(e) {
613
+ function Ia(e) {
614
614
  return kt(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
615
615
  }
616
616
  function Mt(e, t) {
@@ -632,7 +632,7 @@ function ln(e, t) {
632
632
  return -23 <= e && e <= 23 && (t == null || 0 <= t && t <= 59);
633
633
  }
634
634
  const un = {};
635
- function Ca(e) {
635
+ function Pa(e) {
636
636
  if (un[e])
637
637
  return !0;
638
638
  try {
@@ -840,9 +840,9 @@ function qa(e) {
840
840
  var je = { exports: {} };
841
841
  je.exports;
842
842
  (function(e, t) {
843
- var n = 200, a = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", l = "[object Array]", m = "[object Boolean]", f = "[object Date]", d = "[object Error]", c = "[object Function]", y = "[object GeneratorFunction]", w = "[object Map]", g = "[object Number]", M = "[object Object]", T = "[object Promise]", B = "[object RegExp]", A = "[object Set]", I = "[object String]", ie = "[object Symbol]", D = "[object WeakMap]", Fe = "[object ArrayBuffer]", ce = "[object DataView]", _ = "[object Float32Array]", F = "[object Float64Array]", S = "[object Int8Array]", k = "[object Int16Array]", ee = "[object Int32Array]", K = "[object Uint8Array]", H = "[object Uint8ClampedArray]", te = "[object Uint16Array]", ne = "[object Uint32Array]", L = /[\\^$.*+?()[\]{}|]/g, V = /\w*$/, Y = /^\[object .+?Constructor\]$/, z = /^(?:0|[1-9]\d*)$/, v = {};
844
- v[o] = v[l] = v[Fe] = v[ce] = v[m] = v[f] = v[_] = v[F] = v[S] = v[k] = v[ee] = v[w] = v[g] = v[M] = v[B] = v[A] = v[I] = v[ie] = v[K] = v[H] = v[te] = v[ne] = !0, v[d] = v[c] = v[D] = !1;
845
- var j = typeof He == "object" && He && He.Object === Object && He, de = typeof self == "object" && self && self.Object === Object && self, O = j || de || Function("return this")(), W = t && !t.nodeType && t, Ge = W && !0 && e && !e.nodeType && e, Je = Ge && Ge.exports === W;
843
+ var n = 200, a = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", l = "[object Array]", m = "[object Boolean]", f = "[object Date]", d = "[object Error]", c = "[object Function]", y = "[object GeneratorFunction]", w = "[object Map]", g = "[object Number]", M = "[object Object]", T = "[object Promise]", B = "[object RegExp]", A = "[object Set]", C = "[object String]", ie = "[object Symbol]", D = "[object WeakMap]", Fe = "[object ArrayBuffer]", ce = "[object DataView]", _ = "[object Float32Array]", F = "[object Float64Array]", S = "[object Int8Array]", k = "[object Int16Array]", ee = "[object Int32Array]", K = "[object Uint8Array]", H = "[object Uint8ClampedArray]", te = "[object Uint16Array]", ne = "[object Uint32Array]", G = /[\\^$.*+?()[\]{}|]/g, V = /\w*$/, Y = /^\[object .+?Constructor\]$/, z = /^(?:0|[1-9]\d*)$/, v = {};
844
+ v[o] = v[l] = v[Fe] = v[ce] = v[m] = v[f] = v[_] = v[F] = v[S] = v[k] = v[ee] = v[w] = v[g] = v[M] = v[B] = v[A] = v[C] = v[ie] = v[K] = v[H] = v[te] = v[ne] = !0, v[d] = v[c] = v[D] = !1;
845
+ var j = typeof He == "object" && He && He.Object === Object && He, de = typeof self == "object" && self && self.Object === Object && self, O = j || de || Function("return this")(), W = t && !t.nodeType && t, Le = W && !0 && e && !e.nodeType && e, Je = Le && Le.exports === W;
846
846
  function Xe(r, s) {
847
847
  return r.set(s[0], s[1]), r;
848
848
  }
@@ -854,25 +854,25 @@ je.exports;
854
854
  ;
855
855
  return r;
856
856
  }
857
- function Gn(r, s) {
857
+ function Ln(r, s) {
858
858
  for (var u = -1, p = s.length, N = r.length; ++u < p; )
859
859
  r[N + u] = s[u];
860
860
  return r;
861
861
  }
862
- function Gt(r, s, u, p) {
862
+ function Lt(r, s, u, p) {
863
863
  for (var N = -1, b = r ? r.length : 0; ++N < b; )
864
864
  u = s(u, r[N], N, r);
865
865
  return u;
866
866
  }
867
- function Ln(r, s) {
867
+ function Gn(r, s) {
868
868
  for (var u = -1, p = Array(r); ++u < r; )
869
869
  p[u] = s(u);
870
870
  return p;
871
871
  }
872
- function In(r, s) {
872
+ function Cn(r, s) {
873
873
  return r == null ? void 0 : r[s];
874
874
  }
875
- function Lt(r) {
875
+ function Gt(r) {
876
876
  var s = !1;
877
877
  if (r != null && typeof r.toString != "function")
878
878
  try {
@@ -881,7 +881,7 @@ je.exports;
881
881
  }
882
882
  return s;
883
883
  }
884
- function It(r) {
884
+ function Ct(r) {
885
885
  var s = -1, u = Array(r.size);
886
886
  return r.forEach(function(p, N) {
887
887
  u[++s] = [N, p];
@@ -892,18 +892,18 @@ je.exports;
892
892
  return r(s(u));
893
893
  };
894
894
  }
895
- function Pt(r) {
895
+ function It(r) {
896
896
  var s = -1, u = Array(r.size);
897
897
  return r.forEach(function(p) {
898
898
  u[++s] = p;
899
899
  }), u;
900
900
  }
901
- var Pn = Array.prototype, Un = Function.prototype, Le = Object.prototype, tt = O["__core-js_shared__"], Ut = function() {
901
+ var In = Array.prototype, Un = Function.prototype, Ge = Object.prototype, tt = O["__core-js_shared__"], Ut = function() {
902
902
  var r = /[^.]+$/.exec(tt && tt.keys && tt.keys.IE_PROTO || "");
903
903
  return r ? "Symbol(src)_1." + r : "";
904
- }(), Ct = Un.toString, re = Le.hasOwnProperty, Ie = Le.toString, Cn = RegExp(
905
- "^" + Ct.call(re).replace(L, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
906
- ), At = Je ? O.Buffer : void 0, Bt = O.Symbol, Ht = O.Uint8Array, An = et(Object.getPrototypeOf, Object), Bn = Object.create, Hn = Le.propertyIsEnumerable, Vn = Pn.splice, Vt = Object.getOwnPropertySymbols, Yn = At ? At.isBuffer : void 0, zn = et(Object.keys, Object), nt = pe(O, "DataView"), Te = pe(O, "Map"), rt = pe(O, "Promise"), at = pe(O, "Set"), it = pe(O, "WeakMap"), Se = pe(Object, "create"), jn = le(nt), $n = le(Te), Kn = le(rt), Wn = le(at), Zn = le(it), Yt = Bt ? Bt.prototype : void 0, zt = Yt ? Yt.valueOf : void 0;
904
+ }(), Pt = Un.toString, re = Ge.hasOwnProperty, Ce = Ge.toString, Pn = RegExp(
905
+ "^" + Pt.call(re).replace(G, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
906
+ ), At = Je ? O.Buffer : void 0, Bt = O.Symbol, Ht = O.Uint8Array, An = et(Object.getPrototypeOf, Object), Bn = Object.create, Hn = Ge.propertyIsEnumerable, Vn = In.splice, Vt = Object.getOwnPropertySymbols, Yn = At ? At.isBuffer : void 0, zn = et(Object.keys, Object), nt = pe(O, "DataView"), Te = pe(O, "Map"), rt = pe(O, "Promise"), at = pe(O, "Set"), it = pe(O, "WeakMap"), Se = pe(Object, "create"), jn = le(nt), $n = le(Te), Kn = le(rt), Wn = le(at), Zn = le(it), Yt = Bt ? Bt.prototype : void 0, zt = Yt ? Yt.valueOf : void 0;
907
907
  function oe(r) {
908
908
  var s = -1, u = r ? r.length : 0;
909
909
  for (this.clear(); ++s < u; ) {
@@ -945,21 +945,21 @@ je.exports;
945
945
  this.__data__ = [];
946
946
  }
947
947
  function nr(r) {
948
- var s = this.__data__, u = Pe(s, r);
948
+ var s = this.__data__, u = Ie(s, r);
949
949
  if (u < 0)
950
950
  return !1;
951
951
  var p = s.length - 1;
952
952
  return u == p ? s.pop() : Vn.call(s, u, 1), !0;
953
953
  }
954
954
  function rr(r) {
955
- var s = this.__data__, u = Pe(s, r);
955
+ var s = this.__data__, u = Ie(s, r);
956
956
  return u < 0 ? void 0 : s[u][1];
957
957
  }
958
958
  function ar(r) {
959
- return Pe(this.__data__, r) > -1;
959
+ return Ie(this.__data__, r) > -1;
960
960
  }
961
961
  function ir(r, s) {
962
- var u = this.__data__, p = Pe(u, r);
962
+ var u = this.__data__, p = Ie(u, r);
963
963
  return p < 0 ? u.push([r, s]) : u[p][1] = s, this;
964
964
  }
965
965
  Z.prototype.clear = tr, Z.prototype.delete = nr, Z.prototype.get = rr, Z.prototype.has = ar, Z.prototype.set = ir;
@@ -1017,16 +1017,16 @@ je.exports;
1017
1017
  }
1018
1018
  fe.prototype.clear = dr, fe.prototype.delete = mr, fe.prototype.get = fr, fe.prototype.has = pr, fe.prototype.set = hr;
1019
1019
  function yr(r, s) {
1020
- var u = lt(r) || Br(r) ? Ln(r.length, String) : [], p = u.length, N = !!p;
1020
+ var u = lt(r) || Br(r) ? Gn(r.length, String) : [], p = u.length, N = !!p;
1021
1021
  for (var b in r)
1022
- re.call(r, b) && !(N && (b == "length" || Pr(b, p))) && u.push(b);
1022
+ re.call(r, b) && !(N && (b == "length" || Ir(b, p))) && u.push(b);
1023
1023
  return u;
1024
1024
  }
1025
1025
  function jt(r, s, u) {
1026
1026
  var p = r[s];
1027
1027
  (!(re.call(r, s) && Zt(p, u)) || u === void 0 && !(s in r)) && (r[s] = u);
1028
1028
  }
1029
- function Pe(r, s) {
1029
+ function Ie(r, s) {
1030
1030
  for (var u = r.length; u--; )
1031
1031
  if (Zt(r[u][0], s))
1032
1032
  return u;
@@ -1036,54 +1036,54 @@ je.exports;
1036
1036
  return r && $t(s, ut(s), r);
1037
1037
  }
1038
1038
  function ot(r, s, u, p, N, b, q) {
1039
- var G;
1040
- if (p && (G = b ? p(r, N, b, q) : p(r)), G !== void 0)
1041
- return G;
1042
- if (!Ce(r))
1039
+ var L;
1040
+ if (p && (L = b ? p(r, N, b, q) : p(r)), L !== void 0)
1041
+ return L;
1042
+ if (!Pe(r))
1043
1043
  return r;
1044
1044
  var Xt = lt(r);
1045
1045
  if (Xt) {
1046
- if (G = Gr(r), !s)
1047
- return Rr(r, G);
1046
+ if (L = Lr(r), !s)
1047
+ return Rr(r, L);
1048
1048
  } else {
1049
1049
  var he = se(r), Qt = he == c || he == y;
1050
1050
  if (Vr(r))
1051
1051
  return Mr(r, s);
1052
1052
  if (he == M || he == o || Qt && !b) {
1053
- if (Lt(r))
1053
+ if (Gt(r))
1054
1054
  return b ? r : {};
1055
- if (G = Lr(Qt ? {} : r), !s)
1056
- return Or(r, _r(G, r));
1055
+ if (L = Gr(Qt ? {} : r), !s)
1056
+ return Or(r, _r(L, r));
1057
1057
  } else {
1058
1058
  if (!v[he])
1059
1059
  return b ? r : {};
1060
- G = Ir(r, he, ot, s);
1060
+ L = Cr(r, he, ot, s);
1061
1061
  }
1062
1062
  }
1063
1063
  q || (q = new fe());
1064
1064
  var en = q.get(r);
1065
1065
  if (en)
1066
1066
  return en;
1067
- if (q.set(r, G), !Xt)
1067
+ if (q.set(r, L), !Xt)
1068
1068
  var tn = u ? br(r) : ut(r);
1069
1069
  return Me(tn || r, function(ct, Ae) {
1070
- tn && (Ae = ct, ct = r[Ae]), jt(G, Ae, ot(ct, s, u, p, Ae, r, q));
1071
- }), G;
1070
+ tn && (Ae = ct, ct = r[Ae]), jt(L, Ae, ot(ct, s, u, p, Ae, r, q));
1071
+ }), L;
1072
1072
  }
1073
1073
  function gr(r) {
1074
- return Ce(r) ? Bn(r) : {};
1074
+ return Pe(r) ? Bn(r) : {};
1075
1075
  }
1076
1076
  function wr(r, s, u) {
1077
1077
  var p = s(r);
1078
- return lt(r) ? p : Gn(p, u(r));
1078
+ return lt(r) ? p : Ln(p, u(r));
1079
1079
  }
1080
1080
  function vr(r) {
1081
- return Ie.call(r);
1081
+ return Ce.call(r);
1082
1082
  }
1083
1083
  function xr(r) {
1084
- if (!Ce(r) || Cr(r))
1084
+ if (!Pe(r) || Pr(r))
1085
1085
  return !1;
1086
- var s = Jt(r) || Lt(r) ? Cn : Y;
1086
+ var s = Jt(r) || Gt(r) ? Pn : Y;
1087
1087
  return s.test(le(r));
1088
1088
  }
1089
1089
  function Fr(r) {
@@ -1109,16 +1109,16 @@ je.exports;
1109
1109
  return new r.constructor(u, r.byteOffset, r.byteLength);
1110
1110
  }
1111
1111
  function Sr(r, s, u) {
1112
- var p = s ? u(It(r), !0) : It(r);
1113
- return Gt(p, Xe, new r.constructor());
1112
+ var p = s ? u(Ct(r), !0) : Ct(r);
1113
+ return Lt(p, Xe, new r.constructor());
1114
1114
  }
1115
1115
  function Dr(r) {
1116
1116
  var s = new r.constructor(r.source, V.exec(r));
1117
1117
  return s.lastIndex = r.lastIndex, s;
1118
1118
  }
1119
1119
  function Nr(r, s, u) {
1120
- var p = s ? u(Pt(r), !0) : Pt(r);
1121
- return Gt(p, Qe, new r.constructor());
1120
+ var p = s ? u(It(r), !0) : It(r);
1121
+ return Lt(p, Qe, new r.constructor());
1122
1122
  }
1123
1123
  function kr(r) {
1124
1124
  return zt ? Object(zt.call(r)) : {};
@@ -1136,8 +1136,8 @@ je.exports;
1136
1136
  function $t(r, s, u, p) {
1137
1137
  u || (u = {});
1138
1138
  for (var N = -1, b = s.length; ++N < b; ) {
1139
- var q = s[N], G = void 0;
1140
- jt(u, q, G === void 0 ? r[q] : G);
1139
+ var q = s[N], L = void 0;
1140
+ jt(u, q, L === void 0 ? r[q] : L);
1141
1141
  }
1142
1142
  return u;
1143
1143
  }
@@ -1152,12 +1152,12 @@ je.exports;
1152
1152
  return Ur(s) ? u[typeof s == "string" ? "string" : "hash"] : u.map;
1153
1153
  }
1154
1154
  function pe(r, s) {
1155
- var u = In(r, s);
1155
+ var u = Cn(r, s);
1156
1156
  return xr(u) ? u : void 0;
1157
1157
  }
1158
1158
  var Kt = Vt ? et(Vt, Object) : jr, se = vr;
1159
1159
  (nt && se(new nt(new ArrayBuffer(1))) != ce || Te && se(new Te()) != w || rt && se(rt.resolve()) != T || at && se(new at()) != A || it && se(new it()) != D) && (se = function(r) {
1160
- var s = Ie.call(r), u = s == M ? r.constructor : void 0, p = u ? le(u) : void 0;
1160
+ var s = Ce.call(r), u = s == M ? r.constructor : void 0, p = u ? le(u) : void 0;
1161
1161
  if (p)
1162
1162
  switch (p) {
1163
1163
  case jn:
@@ -1173,14 +1173,14 @@ je.exports;
1173
1173
  }
1174
1174
  return s;
1175
1175
  });
1176
- function Gr(r) {
1176
+ function Lr(r) {
1177
1177
  var s = r.length, u = r.constructor(s);
1178
1178
  return s && typeof r[0] == "string" && re.call(r, "index") && (u.index = r.index, u.input = r.input), u;
1179
1179
  }
1180
- function Lr(r) {
1180
+ function Gr(r) {
1181
1181
  return typeof r.constructor == "function" && !Wt(r) ? gr(An(r)) : {};
1182
1182
  }
1183
- function Ir(r, s, u, p) {
1183
+ function Cr(r, s, u, p) {
1184
1184
  var N = r.constructor;
1185
1185
  switch (s) {
1186
1186
  case Fe:
@@ -1203,7 +1203,7 @@ je.exports;
1203
1203
  case w:
1204
1204
  return Sr(r, p, u);
1205
1205
  case g:
1206
- case I:
1206
+ case C:
1207
1207
  return new N(r);
1208
1208
  case B:
1209
1209
  return Dr(r);
@@ -1213,24 +1213,24 @@ je.exports;
1213
1213
  return kr(r);
1214
1214
  }
1215
1215
  }
1216
- function Pr(r, s) {
1216
+ function Ir(r, s) {
1217
1217
  return s = s ?? i, !!s && (typeof r == "number" || z.test(r)) && r > -1 && r % 1 == 0 && r < s;
1218
1218
  }
1219
1219
  function Ur(r) {
1220
1220
  var s = typeof r;
1221
1221
  return s == "string" || s == "number" || s == "symbol" || s == "boolean" ? r !== "__proto__" : r === null;
1222
1222
  }
1223
- function Cr(r) {
1223
+ function Pr(r) {
1224
1224
  return !!Ut && Ut in r;
1225
1225
  }
1226
1226
  function Wt(r) {
1227
- var s = r && r.constructor, u = typeof s == "function" && s.prototype || Le;
1227
+ var s = r && r.constructor, u = typeof s == "function" && s.prototype || Ge;
1228
1228
  return r === u;
1229
1229
  }
1230
1230
  function le(r) {
1231
1231
  if (r != null) {
1232
1232
  try {
1233
- return Ct.call(r);
1233
+ return Pt.call(r);
1234
1234
  } catch {
1235
1235
  }
1236
1236
  try {
@@ -1247,7 +1247,7 @@ je.exports;
1247
1247
  return r === s || r !== r && s !== s;
1248
1248
  }
1249
1249
  function Br(r) {
1250
- return Hr(r) && re.call(r, "callee") && (!Hn.call(r, "callee") || Ie.call(r) == o);
1250
+ return Hr(r) && re.call(r, "callee") && (!Hn.call(r, "callee") || Ce.call(r) == o);
1251
1251
  }
1252
1252
  var lt = Array.isArray;
1253
1253
  function qt(r) {
@@ -1258,13 +1258,13 @@ je.exports;
1258
1258
  }
1259
1259
  var Vr = Yn || $r;
1260
1260
  function Jt(r) {
1261
- var s = Ce(r) ? Ie.call(r) : "";
1261
+ var s = Pe(r) ? Ce.call(r) : "";
1262
1262
  return s == c || s == y;
1263
1263
  }
1264
1264
  function Yr(r) {
1265
1265
  return typeof r == "number" && r > -1 && r % 1 == 0 && r <= i;
1266
1266
  }
1267
- function Ce(r) {
1267
+ function Pe(r) {
1268
1268
  var s = typeof r;
1269
1269
  return !!r && (s == "object" || s == "function");
1270
1270
  }
@@ -1286,7 +1286,7 @@ je.exports;
1286
1286
  const Q = (e, t) => new Date(e.getTime() - Za(t, e));
1287
1287
  class E {
1288
1288
  constructor(t) {
1289
- P(this, "timeframeText"), P(this, "key"), P(this, "display"), P(this, "timeframeLength"), P(this, "allowedTiers"), P(this, "defaultResponseGranularity"), P(this, "dataGranularity"), P(this, "isRelative"), P(this, "fineGrainedDefaultGranularity"), P(this, "_startCustom"), P(this, "_endCustom"), P(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;
1289
+ I(this, "timeframeText"), I(this, "key"), I(this, "display"), I(this, "timeframeLength"), I(this, "allowedTiers"), I(this, "defaultResponseGranularity"), I(this, "dataGranularity"), I(this, "isRelative"), I(this, "fineGrainedDefaultGranularity"), I(this, "_startCustom"), I(this, "_endCustom"), I(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;
1290
1290
  }
1291
1291
  // rawEnd does not consider granularity and should not be used directly in queries.
1292
1292
  // Use `new QueryTime(timeframe, granularity?).queryEndSeconds()` instead.
@@ -1728,8 +1728,8 @@ function li({
1728
1728
  }), c = U(() => {
1729
1729
  const g = [];
1730
1730
  if (l.value.length > 10) {
1731
- const M = [...l.value].sort((D, Fe) => D - Fe), T = si(M, 0.75), B = l.value.filter((D) => D >= T), A = l.value.filter((D) => D < T), I = Ft(B, 3), ie = Ft(A, 2);
1732
- return g.push(...I, ...ie), g;
1731
+ const M = [...l.value].sort((D, Fe) => D - Fe), T = si(M, 0.75), B = l.value.filter((D) => D >= T), A = l.value.filter((D) => D < T), C = Ft(B, 3), ie = Ft(A, 2);
1732
+ return g.push(...C, ...ie), g;
1733
1733
  }
1734
1734
  return Ft(l.value, f.value);
1735
1735
  }), y = U(() => l.value.length === 1 ? [{
@@ -1740,19 +1740,19 @@ function li({
1740
1740
  }).trim()
1741
1741
  }] : c.value.map((g, M) => {
1742
1742
  const T = M === 0 ? Math.max(...c.value) : c.value[M - 1], B = g, A = T;
1743
- let I = "";
1744
- return M === 0 ? I = `> ${a(B, {
1743
+ let C = "";
1744
+ return M === 0 ? C = `> ${a(B, {
1745
1745
  showUnit: !n.value.includes("count"),
1746
1746
  approximate: d.value
1747
- })}`.trim() : M === c.value.length - 1 ? I = `< ${a(A, {
1747
+ })}`.trim() : M === c.value.length - 1 ? C = `< ${a(A, {
1748
1748
  showUnit: !n.value.includes("count"),
1749
1749
  approximate: d.value
1750
- })}`.trim() : I = i(B, A, {
1750
+ })}`.trim() : C = i(B, A, {
1751
1751
  showUnit: !n.value.includes("count"),
1752
1752
  approximate: d.value
1753
1753
  }).trim(), {
1754
1754
  color: w(B),
1755
- range: I
1755
+ range: C
1756
1756
  };
1757
1757
  })), w = (g) => {
1758
1758
  if (g === 0)
@@ -4230,7 +4230,7 @@ const Ee = {
4230
4230
  function fi(e) {
4231
4231
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4232
4232
  }
4233
- var pi = yi, $e, ve, C, Ke, qe, hi = [
4233
+ var pi = yi, $e, ve, P, Ke, qe, hi = [
4234
4234
  "Point",
4235
4235
  "MultiPoint",
4236
4236
  "LineString",
@@ -4240,7 +4240,7 @@ var pi = yi, $e, ve, C, Ke, qe, hi = [
4240
4240
  "GeometryCollection"
4241
4241
  ];
4242
4242
  function yi(e) {
4243
- Ke = 2, qe = Math.pow(10, 6), C = null, $e = [], ve = [];
4243
+ Ke = 2, qe = Math.pow(10, 6), P = null, $e = [], ve = [];
4244
4244
  var t = e.readFields(_i, {});
4245
4245
  return $e = null, t;
4246
4246
  }
@@ -4265,7 +4265,7 @@ function vi(e, t, n) {
4265
4265
  e === 1 ? t.geometry = Et(n, {}) : e === 11 ? t.id = n.readString() : e === 12 ? t.id = n.readSVarint() : e === 13 ? ve.push(Rt(n)) : e === 14 ? t.properties = We(n, {}) : e === 15 && We(n, t);
4266
4266
  }
4267
4267
  function xi(e, t, n) {
4268
- e === 1 ? t.type = hi[n.readVarint()] : e === 2 ? C = n.readPackedVarint() : e === 3 ? Fi(t, n, t.type) : e === 4 ? (t.geometries = t.geometries || [], t.geometries.push(Et(n, {}))) : e === 13 ? ve.push(Rt(n)) : e === 15 && We(n, t);
4268
+ e === 1 ? t.type = hi[n.readVarint()] : e === 2 ? P = n.readPackedVarint() : e === 3 ? Fi(t, n, t.type) : e === 4 ? (t.geometries = t.geometries || [], t.geometries.push(Et(n, {}))) : e === 13 ? ve.push(Rt(n)) : e === 15 && We(n, t);
4269
4269
  }
4270
4270
  function Fi(e, t, n) {
4271
4271
  n === "Point" ? e.coordinates = Mi(t) : n === "MultiPoint" || n === "LineString" ? e.coordinates = gn(t) : n === "MultiLineString" ? e.coordinates = wn(t) : n === "Polygon" ? e.coordinates = wn(t, !0) : n === "MultiPolygon" && (e.coordinates = Ti(t));
@@ -4300,18 +4300,18 @@ function gn(e) {
4300
4300
  }
4301
4301
  function wn(e, t) {
4302
4302
  var n = e.readVarint() + e.pos;
4303
- if (!C) return [Oe(e, n, null, t)];
4304
- for (var a = [], i = 0; i < C.length; i++) a.push(Oe(e, n, C[i], t));
4305
- return C = null, a;
4303
+ if (!P) return [Oe(e, n, null, t)];
4304
+ for (var a = [], i = 0; i < P.length; i++) a.push(Oe(e, n, P[i], t));
4305
+ return P = null, a;
4306
4306
  }
4307
4307
  function Ti(e) {
4308
4308
  var t = e.readVarint() + e.pos;
4309
- if (!C) return [[Oe(e, t, null, !0)]];
4310
- for (var n = [], a = 1, i = 0; i < C[0]; i++) {
4311
- for (var o = [], l = 0; l < C[a]; l++) o.push(Oe(e, t, C[a + 1 + l], !0));
4312
- a += C[a] + 1, n.push(o);
4309
+ if (!P) return [[Oe(e, t, null, !0)]];
4310
+ for (var n = [], a = 1, i = 0; i < P[0]; i++) {
4311
+ for (var o = [], l = 0; l < P[a]; l++) o.push(Oe(e, t, P[a + 1 + l], !0));
4312
+ a += P[a] + 1, n.push(o);
4313
4313
  }
4314
- return C = null, n;
4314
+ return P = null, n;
4315
4315
  }
4316
4316
  var Si = pi, Ot = {};
4317
4317
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
@@ -4544,22 +4544,22 @@ x.prototype = {
4544
4544
  t.length && this.writeMessage(e, bi, t);
4545
4545
  },
4546
4546
  writePackedSVarint: function(e, t) {
4547
- t.length && this.writeMessage(e, Gi, t);
4547
+ t.length && this.writeMessage(e, Li, t);
4548
4548
  },
4549
4549
  writePackedBoolean: function(e, t) {
4550
- t.length && this.writeMessage(e, Pi, t);
4550
+ t.length && this.writeMessage(e, Ii, t);
4551
4551
  },
4552
4552
  writePackedFloat: function(e, t) {
4553
- t.length && this.writeMessage(e, Li, t);
4553
+ t.length && this.writeMessage(e, Gi, t);
4554
4554
  },
4555
4555
  writePackedDouble: function(e, t) {
4556
- t.length && this.writeMessage(e, Ii, t);
4556
+ t.length && this.writeMessage(e, Ci, t);
4557
4557
  },
4558
4558
  writePackedFixed32: function(e, t) {
4559
4559
  t.length && this.writeMessage(e, Ui, t);
4560
4560
  },
4561
4561
  writePackedSFixed32: function(e, t) {
4562
- t.length && this.writeMessage(e, Ci, t);
4562
+ t.length && this.writeMessage(e, Pi, t);
4563
4563
  },
4564
4564
  writePackedFixed64: function(e, t) {
4565
4565
  t.length && this.writeMessage(e, Ai, t);
@@ -4633,22 +4633,22 @@ function xn(e, t, n) {
4633
4633
  function bi(e, t) {
4634
4634
  for (var n = 0; n < e.length; n++) t.writeVarint(e[n]);
4635
4635
  }
4636
- function Gi(e, t) {
4636
+ function Li(e, t) {
4637
4637
  for (var n = 0; n < e.length; n++) t.writeSVarint(e[n]);
4638
4638
  }
4639
- function Li(e, t) {
4639
+ function Gi(e, t) {
4640
4640
  for (var n = 0; n < e.length; n++) t.writeFloat(e[n]);
4641
4641
  }
4642
- function Ii(e, t) {
4642
+ function Ci(e, t) {
4643
4643
  for (var n = 0; n < e.length; n++) t.writeDouble(e[n]);
4644
4644
  }
4645
- function Pi(e, t) {
4645
+ function Ii(e, t) {
4646
4646
  for (var n = 0; n < e.length; n++) t.writeBoolean(e[n]);
4647
4647
  }
4648
4648
  function Ui(e, t) {
4649
4649
  for (var n = 0; n < e.length; n++) t.writeFixed32(e[n]);
4650
4650
  }
4651
- function Ci(e, t) {
4651
+ function Pi(e, t) {
4652
4652
  for (var n = 0; n < e.length; n++) t.writeSFixed32(e[n]);
4653
4653
  }
4654
4654
  function Ai(e, t) {
@@ -4808,9 +4808,9 @@ const $i = { class: "legend" }, Ki = {
4808
4808
  // default color if no match
4809
4809
  ],
4810
4810
  "fill-opacity": 0.7
4811
- })), B = U(() => e.withLegend && Object.keys(e.countryMetrics).length > 0), A = U(() => e.metric && i.t(`metrics.${e.metric}`) || ""), I = (_) => {
4811
+ })), B = U(() => e.withLegend && Object.keys(e.countryMetrics).length > 0), A = U(() => e.metric && i.t(`metrics.${e.metric}`) || ""), C = (_) => {
4812
4812
  const F = _.flat(1);
4813
- return Array.isArray(F[0]) && Array.isArray(F[0][0]) ? I(F) : F;
4813
+ return Array.isArray(F[0]) && Array.isArray(F[0][0]) ? C(F) : F;
4814
4814
  }, ie = (_) => {
4815
4815
  var S, k, ee, K, H, te, ne;
4816
4816
  if (_ === "RU") {
@@ -4838,14 +4838,14 @@ const $i = { class: "legend" }, Ki = {
4838
4838
  ]);
4839
4839
  return;
4840
4840
  }
4841
- const F = (H = y.value) == null ? void 0 : H.features.find((L) => {
4841
+ const F = (H = y.value) == null ? void 0 : H.features.find((G) => {
4842
4842
  var V, Y, z, v, j;
4843
- return (V = L.properties) != null && V.ISO_A2 ? ((Y = L.properties) == null ? void 0 : Y.ISO_A2) === _ : ((z = L.properties) == null ? void 0 : z.iso_a2) === "-99" ? ((v = L.properties) == null ? void 0 : v.iso_a2_eh) === _ : ((j = L.properties) == null ? void 0 : j.iso_a2) === _;
4843
+ return (V = G.properties) != null && V.ISO_A2 ? ((Y = G.properties) == null ? void 0 : Y.ISO_A2) === _ : ((z = G.properties) == null ? void 0 : z.iso_a2) === "-99" ? ((v = G.properties) == null ? void 0 : v.iso_a2_eh) === _ : ((j = G.properties) == null ? void 0 : j.iso_a2) === _;
4844
4844
  });
4845
4845
  if (F) {
4846
- const L = (te = F.geometry) == null ? void 0 : te.coordinates;
4847
- if (!L) return;
4848
- const V = I(L), Y = V.map((W) => W[1]), z = V.map((W) => W[0]), v = Math.min(...Y), j = Math.max(...Y), de = Math.min(...z), O = Math.max(...z);
4846
+ const G = (te = F.geometry) == null ? void 0 : te.coordinates;
4847
+ if (!G) return;
4848
+ const V = C(G), Y = V.map((W) => W[1]), z = V.map((W) => W[0]), v = Math.min(...Y), j = Math.max(...Y), de = Math.min(...z), O = Math.max(...z);
4849
4849
  (ne = c.value) == null || ne.fitBounds([
4850
4850
  [de, v],
4851
4851
  [O, j]
@@ -4883,7 +4883,7 @@ const $i = { class: "legend" }, Ki = {
4883
4883
  try {
4884
4884
  const k = await n, ee = await fetch(k), K = new Uint8Array(await ee.arrayBuffer()), H = Si(new zi(K));
4885
4885
  y.value = H, c.value = new ta(D.value), c.value.on("load", () => {
4886
- var te, ne, L, V, Y, z, v;
4886
+ var te, ne, G, V, Y, z, v;
4887
4887
  (te = c.value) == null || te.addSource("countries", {
4888
4888
  type: "geojson",
4889
4889
  data: H
@@ -4892,7 +4892,7 @@ const $i = { class: "legend" }, Ki = {
4892
4892
  type: "fill",
4893
4893
  source: "countries",
4894
4894
  paint: T.value
4895
- }), (L = c.value) == null || L.addSource("lakes", {
4895
+ }), (G = c.value) == null || G.addSource("lakes", {
4896
4896
  type: "geojson",
4897
4897
  data: mi
4898
4898
  }), (V = c.value) == null || V.addLayer({
@@ -4906,7 +4906,7 @@ const $i = { class: "legend" }, Ki = {
4906
4906
  var O;
4907
4907
  const de = (O = j.features) == null ? void 0 : O[0];
4908
4908
  if (de) {
4909
- const { iso_a2: W, iso_a2_eh: Ge, ISO_A2: Je, admin: Xe } = de.properties, Qe = Je ?? W === "-99" ? Ge : W, Me = e.countryMetrics[Qe];
4909
+ const { iso_a2: W, iso_a2_eh: Le, ISO_A2: Je, admin: Xe } = de.properties, Qe = Je ?? W === "-99" ? Le : W, Me = e.countryMetrics[Qe];
4910
4910
  Me !== void 0 && (f.value = {
4911
4911
  label: Xe,
4912
4912
  color: o(Me),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/analytics-geo-map",
3
- "version": "1.4.23-pr.2606.eb096907d.0",
3
+ "version": "1.4.24-pr.2603.3228f5f80.0",
4
4
  "type": "module",
5
5
  "main": "./dist/vitals-geo-map.umd.js",
6
6
  "module": "./dist/vitals-geo-map.es.js",
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@kong/icons": "^1.39.0",
57
57
  "geobuf": "^3.0.2",
58
- "@kong-ui-public/analytics-utilities": "^12.1.3-pr.2606.eb096907d.0"
58
+ "@kong-ui-public/analytics-utilities": "^12.1.4-pr.2603.3228f5f80.0"
59
59
  },
60
60
  "scripts": {
61
61
  "dev": "cross-env USE_SANDBOX=true vite",