@kong-ui-public/analytics-geo-map 1.5.34 → 1.5.35-pr.3409.0804e7f5a.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vitals-geo-map.es.js +38 -38
- package/package.json +2 -2
|
@@ -539,7 +539,7 @@ function Ve(e, t) {
|
|
|
539
539
|
const n = ce(e, void 0);
|
|
540
540
|
return n.setHours(0, 0, 0, 0), n;
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function qe(e, t) {
|
|
543
543
|
var n, a, i, o;
|
|
544
544
|
const l = La(), d = (t == null ? void 0 : t.weekStartsOn) ?? ((a = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : a.weekStartsOn) ?? l.weekStartsOn ?? ((o = (i = l.locale) == null ? void 0 : i.options) == null ? void 0 : o.weekStartsOn) ?? 0, m = ce(e, t == null ? void 0 : t.in), y = m.getDay(), c = (y < d ? 7 : 0) + y - d;
|
|
545
545
|
return m.setDate(m.getDate() - c), m.setHours(0, 0, 0, 0), m;
|
|
@@ -681,7 +681,7 @@ function tt(e, t, n) {
|
|
|
681
681
|
const l = parseInt(a[3], 10);
|
|
682
682
|
return dn(i, l) ? (o = Math.abs(i) * cn + l * $a, a[1] === "+" ? -o : o) : NaN;
|
|
683
683
|
}
|
|
684
|
-
if (
|
|
684
|
+
if (Za(e)) {
|
|
685
685
|
t = new Date(t || Date.now());
|
|
686
686
|
const l = n ? t : Ka(t), d = Dt(l, e);
|
|
687
687
|
return -(n ? d : Wa(t, d, e));
|
|
@@ -710,7 +710,7 @@ function dn(e, t) {
|
|
|
710
710
|
return -23 <= e && e <= 23 && (t == null || 0 <= t && t <= 59);
|
|
711
711
|
}
|
|
712
712
|
const mn = {};
|
|
713
|
-
function
|
|
713
|
+
function Za(e) {
|
|
714
714
|
if (mn[e])
|
|
715
715
|
return !0;
|
|
716
716
|
try {
|
|
@@ -723,7 +723,7 @@ function fn(e) {
|
|
|
723
723
|
const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
|
|
724
724
|
return t.setUTCFullYear(e.getFullYear()), +e - +t;
|
|
725
725
|
}
|
|
726
|
-
const Cn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, xt = 36e5, pn = 6e4,
|
|
726
|
+
const Cn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, xt = 36e5, pn = 6e4, qa = 2, E = {
|
|
727
727
|
dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
|
|
728
728
|
datePattern: /^([0-9W+-]+)(.*)/,
|
|
729
729
|
// year tokens
|
|
@@ -762,7 +762,7 @@ function kt(e, t = {}) {
|
|
|
762
762
|
throw new TypeError("1 argument required, but only " + arguments.length + " present");
|
|
763
763
|
if (e === null)
|
|
764
764
|
return /* @__PURE__ */ new Date(NaN);
|
|
765
|
-
const n = t.additionalDigits == null ?
|
|
765
|
+
const n = t.additionalDigits == null ? qa : Number(t.additionalDigits);
|
|
766
766
|
if (n !== 2 && n !== 1 && n !== 0)
|
|
767
767
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
768
768
|
if (e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]")
|
|
@@ -916,7 +916,7 @@ Qe.exports;
|
|
|
916
916
|
(function(e, t) {
|
|
917
917
|
var n = 200, a = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", l = "[object Array]", d = "[object Boolean]", m = "[object Date]", y = "[object Error]", c = "[object Function]", x = "[object GeneratorFunction]", F = "[object Map]", g = "[object Number]", T = "[object Object]", N = "[object Promise]", H = "[object RegExp]", B = "[object Set]", U = "[object String]", ie = "[object Symbol]", D = "[object WeakMap]", Me = "[object ArrayBuffer]", de = "[object DataView]", h = "[object Float32Array]", v = "[object Float64Array]", M = "[object Int8Array]", R = "[object Int16Array]", ee = "[object Int32Array]", W = "[object Uint8Array]", z = "[object Uint8ClampedArray]", te = "[object Uint16Array]", ne = "[object Uint32Array]", L = /[\\^$.*+?()[\]{}|]/g, V = /\w*$/, Y = /^\[object .+?Constructor\]$/, j = /^(?:0|[1-9]\d*)$/, _ = {};
|
|
918
918
|
_[o] = _[l] = _[Me] = _[de] = _[d] = _[m] = _[h] = _[v] = _[M] = _[R] = _[ee] = _[F] = _[g] = _[T] = _[H] = _[B] = _[U] = _[ie] = _[W] = _[z] = _[te] = _[ne] = !0, _[y] = _[c] = _[D] = !1;
|
|
919
|
-
var $ = typeof je == "object" && je && je.Object === Object && je, me = typeof self == "object" && self && self.Object === Object && self, b = $ || me || Function("return this")(),
|
|
919
|
+
var $ = typeof je == "object" && je && je.Object === Object && je, me = typeof self == "object" && self && self.Object === Object && self, b = $ || me || Function("return this")(), Z = t && !t.nodeType && t, Ue = Z && !0 && e && !e.nodeType && e, rt = Ue && Ue.exports === Z;
|
|
920
920
|
function at(r, s) {
|
|
921
921
|
return r.set(s[0], s[1]), r;
|
|
922
922
|
}
|
|
@@ -977,7 +977,7 @@ Qe.exports;
|
|
|
977
977
|
return r ? "Symbol(src)_1." + r : "";
|
|
978
978
|
}(), Ht = Kn.toString, re = Ae.hasOwnProperty, Ie = Ae.toString, Wn = RegExp(
|
|
979
979
|
"^" + Ht.call(re).replace(L, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
980
|
-
), zt = rt ? b.Buffer : void 0, Vt = b.Symbol, Yt = b.Uint8Array,
|
|
980
|
+
), zt = rt ? b.Buffer : void 0, Vt = b.Symbol, Yt = b.Uint8Array, Zn = ot(Object.getPrototypeOf, Object), qn = Object.create, Qn = Ae.propertyIsEnumerable, Jn = $n.splice, jt = Object.getOwnPropertySymbols, Xn = zt ? zt.isBuffer : void 0, er = ot(Object.keys, Object), lt = ye(b, "DataView"), De = ye(b, "Map"), ut = ye(b, "Promise"), ct = ye(b, "Set"), dt = ye(b, "WeakMap"), ke = ye(Object, "create"), tr = le(lt), nr = le(De), rr = le(ut), ar = le(ct), ir = le(dt), $t = Vt ? Vt.prototype : void 0, Kt = $t ? $t.valueOf : void 0;
|
|
981
981
|
function oe(r) {
|
|
982
982
|
var s = -1, u = r ? r.length : 0;
|
|
983
983
|
for (this.clear(); ++s < u; ) {
|
|
@@ -1008,7 +1008,7 @@ Qe.exports;
|
|
|
1008
1008
|
return u[r] = ke && s === void 0 ? a : s, this;
|
|
1009
1009
|
}
|
|
1010
1010
|
oe.prototype.clear = or, oe.prototype.delete = sr, oe.prototype.get = lr, oe.prototype.has = ur, oe.prototype.set = cr;
|
|
1011
|
-
function
|
|
1011
|
+
function q(r) {
|
|
1012
1012
|
var s = -1, u = r ? r.length : 0;
|
|
1013
1013
|
for (this.clear(); ++s < u; ) {
|
|
1014
1014
|
var p = r[s];
|
|
@@ -1036,7 +1036,7 @@ Qe.exports;
|
|
|
1036
1036
|
var u = this.__data__, p = Pe(u, r);
|
|
1037
1037
|
return p < 0 ? u.push([r, s]) : u[p][1] = s, this;
|
|
1038
1038
|
}
|
|
1039
|
-
|
|
1039
|
+
q.prototype.clear = dr, q.prototype.delete = mr, q.prototype.get = fr, q.prototype.has = pr, q.prototype.set = yr;
|
|
1040
1040
|
function fe(r) {
|
|
1041
1041
|
var s = -1, u = r ? r.length : 0;
|
|
1042
1042
|
for (this.clear(); ++s < u; ) {
|
|
@@ -1047,7 +1047,7 @@ Qe.exports;
|
|
|
1047
1047
|
function hr() {
|
|
1048
1048
|
this.__data__ = {
|
|
1049
1049
|
hash: new oe(),
|
|
1050
|
-
map: new (De ||
|
|
1050
|
+
map: new (De || q)(),
|
|
1051
1051
|
string: new oe()
|
|
1052
1052
|
};
|
|
1053
1053
|
}
|
|
@@ -1065,10 +1065,10 @@ Qe.exports;
|
|
|
1065
1065
|
}
|
|
1066
1066
|
fe.prototype.clear = hr, fe.prototype.delete = _r, fe.prototype.get = gr, fe.prototype.has = wr, fe.prototype.set = vr;
|
|
1067
1067
|
function pe(r) {
|
|
1068
|
-
this.__data__ = new
|
|
1068
|
+
this.__data__ = new q(r);
|
|
1069
1069
|
}
|
|
1070
1070
|
function xr() {
|
|
1071
|
-
this.__data__ = new
|
|
1071
|
+
this.__data__ = new q();
|
|
1072
1072
|
}
|
|
1073
1073
|
function Tr(r) {
|
|
1074
1074
|
return this.__data__.delete(r);
|
|
@@ -1081,7 +1081,7 @@ Qe.exports;
|
|
|
1081
1081
|
}
|
|
1082
1082
|
function Sr(r, s) {
|
|
1083
1083
|
var u = this.__data__;
|
|
1084
|
-
if (u instanceof
|
|
1084
|
+
if (u instanceof q) {
|
|
1085
1085
|
var p = u.__data__;
|
|
1086
1086
|
if (!De || p.length < n - 1)
|
|
1087
1087
|
return p.push([r, s]), this;
|
|
@@ -1091,7 +1091,7 @@ Qe.exports;
|
|
|
1091
1091
|
}
|
|
1092
1092
|
pe.prototype.clear = xr, pe.prototype.delete = Tr, pe.prototype.get = Fr, pe.prototype.has = Mr, pe.prototype.set = Sr;
|
|
1093
1093
|
function Dr(r, s) {
|
|
1094
|
-
var u = pt(r) ||
|
|
1094
|
+
var u = pt(r) || qr(r) ? Yn(r.length, String) : [], p = u.length, k = !!p;
|
|
1095
1095
|
for (var O in r)
|
|
1096
1096
|
re.call(r, O) && !(k && (O == "length" || $r(O, p))) && u.push(O);
|
|
1097
1097
|
return u;
|
|
@@ -1107,7 +1107,7 @@ Qe.exports;
|
|
|
1107
1107
|
return -1;
|
|
1108
1108
|
}
|
|
1109
1109
|
function kr(r, s) {
|
|
1110
|
-
return r &&
|
|
1110
|
+
return r && Zt(s, yt(s), r);
|
|
1111
1111
|
}
|
|
1112
1112
|
function mt(r, s, u, p, k, O, Q) {
|
|
1113
1113
|
var G;
|
|
@@ -1145,7 +1145,7 @@ Qe.exports;
|
|
|
1145
1145
|
}), G;
|
|
1146
1146
|
}
|
|
1147
1147
|
function Nr(r) {
|
|
1148
|
-
return Be(r) ?
|
|
1148
|
+
return Be(r) ? qn(r) : {};
|
|
1149
1149
|
}
|
|
1150
1150
|
function Rr(r, s, u) {
|
|
1151
1151
|
var p = s(r);
|
|
@@ -1207,7 +1207,7 @@ Qe.exports;
|
|
|
1207
1207
|
s[u] = r[u];
|
|
1208
1208
|
return s;
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1210
|
+
function Zt(r, s, u, p) {
|
|
1211
1211
|
u || (u = {});
|
|
1212
1212
|
for (var k = -1, O = s.length; ++k < O; ) {
|
|
1213
1213
|
var Q = s[k], G = void 0;
|
|
@@ -1216,10 +1216,10 @@ Qe.exports;
|
|
|
1216
1216
|
return u;
|
|
1217
1217
|
}
|
|
1218
1218
|
function Hr(r, s) {
|
|
1219
|
-
return
|
|
1219
|
+
return Zt(r, qt(r), s);
|
|
1220
1220
|
}
|
|
1221
1221
|
function zr(r) {
|
|
1222
|
-
return Rr(r, yt,
|
|
1222
|
+
return Rr(r, yt, qt);
|
|
1223
1223
|
}
|
|
1224
1224
|
function Ce(r, s) {
|
|
1225
1225
|
var u = r.__data__;
|
|
@@ -1229,7 +1229,7 @@ Qe.exports;
|
|
|
1229
1229
|
var u = jn(r, s);
|
|
1230
1230
|
return br(u) ? u : void 0;
|
|
1231
1231
|
}
|
|
1232
|
-
var
|
|
1232
|
+
var qt = jt ? ot(jt, Object) : ta, se = Er;
|
|
1233
1233
|
(lt && se(new lt(new ArrayBuffer(1))) != de || De && se(new De()) != F || ut && se(ut.resolve()) != N || ct && se(new ct()) != B || dt && se(new dt()) != D) && (se = function(r) {
|
|
1234
1234
|
var s = Ie.call(r), u = s == T ? r.constructor : void 0, p = u ? le(u) : void 0;
|
|
1235
1235
|
if (p)
|
|
@@ -1252,7 +1252,7 @@ Qe.exports;
|
|
|
1252
1252
|
return s && typeof r[0] == "string" && re.call(r, "index") && (u.index = r.index, u.input = r.input), u;
|
|
1253
1253
|
}
|
|
1254
1254
|
function Yr(r) {
|
|
1255
|
-
return typeof r.constructor == "function" && !Qt(r) ? Nr(
|
|
1255
|
+
return typeof r.constructor == "function" && !Qt(r) ? Nr(Zn(r)) : {};
|
|
1256
1256
|
}
|
|
1257
1257
|
function jr(r, s, u, p) {
|
|
1258
1258
|
var k = r.constructor;
|
|
@@ -1314,13 +1314,13 @@ Qe.exports;
|
|
|
1314
1314
|
}
|
|
1315
1315
|
return "";
|
|
1316
1316
|
}
|
|
1317
|
-
function
|
|
1317
|
+
function Zr(r) {
|
|
1318
1318
|
return mt(r, !0, !0);
|
|
1319
1319
|
}
|
|
1320
1320
|
function Jt(r, s) {
|
|
1321
1321
|
return r === s || r !== r && s !== s;
|
|
1322
1322
|
}
|
|
1323
|
-
function
|
|
1323
|
+
function qr(r) {
|
|
1324
1324
|
return Qr(r) && re.call(r, "callee") && (!Qn.call(r, "callee") || Ie.call(r) == o);
|
|
1325
1325
|
}
|
|
1326
1326
|
var pt = Array.isArray;
|
|
@@ -1354,7 +1354,7 @@ Qe.exports;
|
|
|
1354
1354
|
function na() {
|
|
1355
1355
|
return !1;
|
|
1356
1356
|
}
|
|
1357
|
-
e.exports =
|
|
1357
|
+
e.exports = Zr;
|
|
1358
1358
|
})(Qe, Qe.exports);
|
|
1359
1359
|
Qe.exports;
|
|
1360
1360
|
const C = (e, t) => new Date(e.getTime() - oi(t, e));
|
|
@@ -1411,7 +1411,7 @@ class S {
|
|
|
1411
1411
|
}
|
|
1412
1412
|
class si extends S {
|
|
1413
1413
|
rawStart(t) {
|
|
1414
|
-
let n =
|
|
1414
|
+
let n = qe(this.tzAdjustedDate(t), { weekStartsOn: 1 });
|
|
1415
1415
|
return t && (n = C(n, t)), n;
|
|
1416
1416
|
}
|
|
1417
1417
|
maximumTimeframeLength() {
|
|
@@ -1447,12 +1447,12 @@ class ci extends S {
|
|
|
1447
1447
|
}
|
|
1448
1448
|
class di extends S {
|
|
1449
1449
|
rawEnd(t) {
|
|
1450
|
-
let n =
|
|
1450
|
+
let n = qe(this.tzAdjustedDate(t), { weekStartsOn: 1 });
|
|
1451
1451
|
return t && (n = C(n, t)), n;
|
|
1452
1452
|
}
|
|
1453
1453
|
rawStart(t) {
|
|
1454
1454
|
const n = this.tzAdjustedDate(t);
|
|
1455
|
-
let a =
|
|
1455
|
+
let a = qe(n.setDate(n.getDate() - 7), {
|
|
1456
1456
|
weekStartsOn: 1
|
|
1457
1457
|
});
|
|
1458
1458
|
return t && (a = C(a, t)), a;
|
|
@@ -1603,7 +1603,7 @@ f.FIFTEEN_MIN, new S({
|
|
|
1603
1603
|
display: "This week",
|
|
1604
1604
|
timeframeText: "Week",
|
|
1605
1605
|
timeframeLength: () => {
|
|
1606
|
-
const e =
|
|
1606
|
+
const e = qe(/* @__PURE__ */ new Date(), { weekStartsOn: 1 });
|
|
1607
1607
|
return (Ve(Ye(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
|
|
1608
1608
|
},
|
|
1609
1609
|
defaultResponseGranularity: "daily",
|
|
@@ -1719,14 +1719,14 @@ const wn = 1e3, yi = 1e4, vn = 1e6, xn = 1e9, Tn = 1e12, We = (e, t) => {
|
|
|
1719
1719
|
let l = o.toString();
|
|
1720
1720
|
return typeof n.decimal == "string" && (l = l.replace(".", n.decimal)), l;
|
|
1721
1721
|
};
|
|
1722
|
-
function
|
|
1722
|
+
function Ze(e, t = {}) {
|
|
1723
1723
|
let n;
|
|
1724
1724
|
const a = e < 0;
|
|
1725
1725
|
a && (e = Math.abs(e)), t.precision && (e = parseFloat(e.toPrecision(t.precision)));
|
|
1726
1726
|
const i = t.min10k ? yi : wn;
|
|
1727
1727
|
return e < i || t.precision && t.precision > Math.log10(e) ? n = We(Re(e, 1, t), t) : e < vn ? n = `${Re(e, wn, t)}k` : e < xn ? n = `${Re(e, vn, t)}m` : e < Tn ? n = `${We(Re(e, xn, t), t)}b` : n = `${We(Re(e, Tn, t), t)}t`, a && (n = `-${n}`), t.capital && (n = n.toUpperCase()), t.prefix && (n = `${t.prefix}${n}`), t.suffix && (n = `${n}${t.suffix}`), n;
|
|
1728
1728
|
}
|
|
1729
|
-
|
|
1729
|
+
Ze.addCommas = We;
|
|
1730
1730
|
var Fn;
|
|
1731
1731
|
const hi = typeof document < "u" && ((Fn = document.documentElement) == null ? void 0 : Fn.lang) || "en-US", Ft = new Intl.NumberFormat(hi);
|
|
1732
1732
|
function _i({
|
|
@@ -1774,7 +1774,7 @@ function _i({
|
|
|
1774
1774
|
case "token count":
|
|
1775
1775
|
case "count":
|
|
1776
1776
|
default:
|
|
1777
|
-
return isNaN(a) ? `${a}` : d ? `${
|
|
1777
|
+
return isNaN(a) ? `${a}` : d ? `${Ze(a, { capital: !0 })} ${y}` : a >= 0.01 ? `${Ft.format(Number.parseFloat(a.toFixed(2)))} ${y}` : `${Number.parseFloat(a.toPrecision(4))} ${y}`;
|
|
1778
1778
|
}
|
|
1779
1779
|
}, formatBytes: t, formatCost: n, formatRange: (a, i, o, {
|
|
1780
1780
|
isBytes1024: l = !1,
|
|
@@ -1796,7 +1796,7 @@ function _i({
|
|
|
1796
1796
|
if (isNaN(a) || isNaN(i))
|
|
1797
1797
|
return `${a} - ${i}`;
|
|
1798
1798
|
if (m)
|
|
1799
|
-
return `${
|
|
1799
|
+
return `${Ze(a, { capital: !0 })} - ${Ze(i, { capital: !0 })} ${c}`;
|
|
1800
1800
|
}
|
|
1801
1801
|
const x = a >= 0.01 ? `${Ft.format(Number.parseFloat(a.toFixed(2)))}` : `${Number.parseFloat(a.toPrecision(4))}`, F = i >= 0.01 ? `${Ft.format(Number.parseFloat(i.toFixed(2)))}` : `${Number.parseFloat(i.toPrecision(4))}`;
|
|
1802
1802
|
return `${x} - ${F} ${c}`;
|
|
@@ -4655,7 +4655,7 @@ w.prototype = {
|
|
|
4655
4655
|
t.length && this.writeMessage(e, $i, t);
|
|
4656
4656
|
},
|
|
4657
4657
|
writePackedBoolean: function(e, t) {
|
|
4658
|
-
t.length && this.writeMessage(e,
|
|
4658
|
+
t.length && this.writeMessage(e, Zi, t);
|
|
4659
4659
|
},
|
|
4660
4660
|
writePackedFloat: function(e, t) {
|
|
4661
4661
|
t.length && this.writeMessage(e, Ki, t);
|
|
@@ -4664,7 +4664,7 @@ w.prototype = {
|
|
|
4664
4664
|
t.length && this.writeMessage(e, Wi, t);
|
|
4665
4665
|
},
|
|
4666
4666
|
writePackedFixed32: function(e, t) {
|
|
4667
|
-
t.length && this.writeMessage(e,
|
|
4667
|
+
t.length && this.writeMessage(e, qi, t);
|
|
4668
4668
|
},
|
|
4669
4669
|
writePackedSFixed32: function(e, t) {
|
|
4670
4670
|
t.length && this.writeMessage(e, Qi, t);
|
|
@@ -4750,10 +4750,10 @@ function Ki(e, t) {
|
|
|
4750
4750
|
function Wi(e, t) {
|
|
4751
4751
|
for (var n = 0; n < e.length; n++) t.writeDouble(e[n]);
|
|
4752
4752
|
}
|
|
4753
|
-
function
|
|
4753
|
+
function Zi(e, t) {
|
|
4754
4754
|
for (var n = 0; n < e.length; n++) t.writeBoolean(e[n]);
|
|
4755
4755
|
}
|
|
4756
|
-
function
|
|
4756
|
+
function qi(e, t) {
|
|
4757
4757
|
for (var n = 0; n < e.length; n++) t.writeFixed32(e[n]);
|
|
4758
4758
|
}
|
|
4759
4759
|
function Qi(e, t) {
|
|
@@ -4953,7 +4953,7 @@ const io = { class: "legend" }, oo = {
|
|
|
4953
4953
|
if (v) {
|
|
4954
4954
|
const L = (te = v.geometry) == null ? void 0 : te.coordinates;
|
|
4955
4955
|
if (!L) return;
|
|
4956
|
-
const V = U(L), Y = V.map((
|
|
4956
|
+
const V = U(L), Y = V.map((Z) => Z[1]), j = V.map((Z) => Z[0]), _ = Math.min(...Y), $ = Math.max(...Y), me = Math.min(...j), b = Math.max(...j);
|
|
4957
4957
|
(ne = c.value) == null || ne.fitBounds([
|
|
4958
4958
|
[me, _],
|
|
4959
4959
|
[b, $]
|
|
@@ -5014,7 +5014,7 @@ const io = { class: "legend" }, oo = {
|
|
|
5014
5014
|
var b;
|
|
5015
5015
|
const me = (b = $.features) == null ? void 0 : b[0];
|
|
5016
5016
|
if (me) {
|
|
5017
|
-
const { iso_a2:
|
|
5017
|
+
const { iso_a2: Z, iso_a2_eh: Ue, ISO_A2: rt, admin: at } = me.properties, it = rt ?? Z === "-99" ? Ue : Z, Se = e.countryMetrics[it];
|
|
5018
5018
|
Se !== void 0 && (m.value = {
|
|
5019
5019
|
label: at,
|
|
5020
5020
|
color: o(Se),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/analytics-geo-map",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.35-pr.3409.0804e7f5a.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.56.0",
|
|
57
57
|
"geobuf": "^3.0.2",
|
|
58
|
-
"@kong-ui-public/analytics-utilities": "^12.16.
|
|
58
|
+
"@kong-ui-public/analytics-utilities": "^12.16.4-pr.3409.0804e7f5a.0"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"dev": "cross-env USE_SANDBOX=true vite",
|