@abi-software/flatmapvuer 1.5.6-beta.6 → 1.5.6-beta.7

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,4 +1,4 @@
1
- import { getCurrentScope as Gj, onScopeDispose as WM, unref as vt, getCurrentInstance as G1, onMounted as $1, nextTick as i1, ref as Ie, readonly as $j, watch as on, defineComponent as mr, openBlock as ce, createElementBlock as Ye, createElementVNode as Ze, warn as het, watchEffect as Wj, onBeforeUnmount as Vs, inject as ln, computed as Kt, isRef as m2, shallowRef as OQ, onBeforeMount as det, provide as no, mergeProps as el, renderSlot as Pr, toRef as q2, onUnmounted as pet, createBlock as Or, Transition as ad, withCtx as fe, withDirectives as Ti, normalizeClass as Be, normalizeStyle as M1, vShow as Bo, Fragment as J1, createVNode as Ce, reactive as u3, onActivated as Tet, onUpdated as fet, resolveDynamicComponent as Ms, createCommentVNode as Fr, cloneVNode as Qet, Text as Zj, Comment as met, Teleport as get, onDeactivated as yet, toDisplayString as fi, useSlots as hg, toRaw as Ch, withModifiers as m1, vModelCheckbox as CQ, createTextVNode as xn, toRefs as o0, vModelRadio as qj, h as _7, createSlots as Xj, resolveComponent as Ls, resolveDirective as vet, toHandlerKey as _et, renderList as t3, withKeys as su, vModelText as bet, createApp as Let, pushScopeId as ZM, popScopeId as qM, createStaticVNode as wet, hasInjectionContext as xet, markRaw as ws, effectScope as Eet, isReactive as XM } from "vue";
1
+ import { getCurrentScope as Gj, onScopeDispose as WM, unref as vt, getCurrentInstance as G1, onMounted as $1, nextTick as i1, ref as Ie, readonly as $j, watch as on, defineComponent as mr, openBlock as ce, createElementBlock as Ye, createElementVNode as Ze, warn as het, watchEffect as Wj, onBeforeUnmount as Vs, inject as ln, computed as Kt, isRef as m2, shallowRef as OQ, onBeforeMount as det, provide as no, mergeProps as el, renderSlot as Pr, toRef as X2, onUnmounted as pet, createBlock as Or, Transition as ad, withCtx as fe, withDirectives as Ti, normalizeClass as Be, normalizeStyle as M1, vShow as Bo, Fragment as J1, createVNode as Ce, reactive as u3, onActivated as Tet, onUpdated as fet, resolveDynamicComponent as Ms, createCommentVNode as Fr, cloneVNode as Qet, Text as Zj, Comment as met, Teleport as get, onDeactivated as yet, toDisplayString as fi, useSlots as hg, toRaw as Ch, withModifiers as m1, vModelCheckbox as CQ, createTextVNode as xn, toRefs as o0, vModelRadio as qj, h as _7, createSlots as Xj, resolveComponent as ws, resolveDirective as vet, toHandlerKey as _et, renderList as t3, withKeys as su, vModelText as bet, createApp as Let, pushScopeId as ZM, popScopeId as qM, createStaticVNode as wet, hasInjectionContext as xet, markRaw as Z2, effectScope as Eet, isReactive as XM } from "vue";
2
2
  import { MapSvgIcon as Met, MapSvgSpriteColor as Het } from "@abi-software/svg-sprite";
3
3
  import { Tooltip as Aet, TreeControls as Oet, DrawToolbar as Cet } from "@abi-software/map-utilities";
4
4
  const o4 = (t, e, { checkForDefaultPrevented: r = !0 } = {}) => (i) => {
@@ -2667,7 +2667,7 @@ const p3 = y2(q2t), gS = Symbol("formContextKey"), NQ = Symbol("formItemContextK
2667
2667
  return !!(!(t.label || t.ariaLabel) && e && e.inputIds && ((a = e.inputIds) == null ? void 0 : a.length) <= 1);
2668
2668
  });
2669
2669
  return $1(() => {
2670
- o = on([q2(t, "id"), r], ([a, u]) => {
2670
+ o = on([X2(t, "id"), r], ([a, u]) => {
2671
2671
  const d = a ?? (u ? void 0 : z5().value);
2672
2672
  d !== i.value && (e != null && e.removeInputId && (i.value && e.removeInputId(i.value), !(n != null && n.value) && !u && d && e.addInputId(d)), i.value = d);
2673
2673
  }, { immediate: !0 });
@@ -2761,7 +2761,7 @@ const p3 = y2(q2t), gS = Symbol("formContextKey"), NQ = Symbol("formItemContextK
2761
2761
  const F = () => {
2762
2762
  document.onselectstart !== T && (document.onselectstart = T);
2763
2763
  };
2764
- return ta(q2(r, "scrollbarElement"), "mousemove", k), ta(q2(r, "scrollbarElement"), "mouseleave", R), (U, $) => (ce(), Or(ad, {
2764
+ return ta(X2(r, "scrollbarElement"), "mousemove", k), ta(X2(r, "scrollbarElement"), "mouseleave", R), (U, $) => (ce(), Or(ad, {
2765
2765
  name: vt(n).b("fade"),
2766
2766
  persisted: ""
2767
2767
  }, {
@@ -3804,7 +3804,7 @@ const $st = y2(pst), LS = Symbol("elTooltip"), $2 = Sn({
3804
3804
  const r = t, n = Bn("tooltip"), { controlled: i, id: o, open: s, onOpen: a, onClose: u, onToggle: d } = ln(LS, void 0), T = Ie(null), f = () => {
3805
3805
  if (vt(i) || r.disabled)
3806
3806
  return !0;
3807
- }, Q = q2(r, "trigger"), y = o4(f, Xl(Q, "hover", a)), _ = o4(f, Xl(Q, "hover", u)), L = o4(f, Xl(Q, "click", (R) => {
3807
+ }, Q = X2(r, "trigger"), y = o4(f, Xl(Q, "hover", a)), _ = o4(f, Xl(Q, "hover", u)), L = o4(f, Xl(Q, "click", (R) => {
3808
3808
  R.button === 0 && d(R);
3809
3809
  })), E = o4(f, Xl(Q, "focus", a)), x = o4(f, Xl(Q, "focus", u)), O = o4(f, Xl(Q, "contextmenu", (R) => {
3810
3810
  R.preventDefault(), d(R);
@@ -3992,9 +3992,9 @@ const lat = mr({
3992
3992
  indicator: u,
3993
3993
  toggleReason: d
3994
3994
  }), { onOpen: y, onClose: _ } = O2t({
3995
- showAfter: q2(n, "showAfter"),
3996
- hideAfter: q2(n, "hideAfter"),
3997
- autoClose: q2(n, "autoClose"),
3995
+ showAfter: X2(n, "showAfter"),
3996
+ hideAfter: X2(n, "hideAfter"),
3997
+ autoClose: X2(n, "autoClose"),
3998
3998
  open: T,
3999
3999
  close: f
4000
4000
  }), L = Kt(() => M4(n.visible) && !Q.value);
@@ -4002,7 +4002,7 @@ const lat = mr({
4002
4002
  controlled: L,
4003
4003
  id: i,
4004
4004
  open: $j(u),
4005
- trigger: q2(n, "trigger"),
4005
+ trigger: X2(n, "trigger"),
4006
4006
  onOpen: (x) => {
4007
4007
  y(x);
4008
4008
  },
@@ -4829,8 +4829,8 @@ const Cat = {
4829
4829
  setup(t) {
4830
4830
  const e = t;
4831
4831
  no(aU, u3({
4832
- size: q2(e, "size"),
4833
- type: q2(e, "type")
4832
+ size: X2(e, "size"),
4833
+ type: X2(e, "type")
4834
4834
  }));
4835
4835
  const r = Bn("button");
4836
4836
  return (n, i) => (ce(), Ye("div", {
@@ -7019,7 +7019,7 @@ const r4t = Sn({
7019
7019
  }
7020
7020
  });
7021
7021
  function i4t(t, e, r, n, i, o) {
7022
- const s = Ls("el-tag"), a = Ls("el-tooltip"), u = Ls("el-icon"), d = Ls("el-option"), T = Ls("el-options"), f = Ls("el-scrollbar"), Q = Ls("el-select-menu"), y = vet("click-outside");
7022
+ const s = ws("el-tag"), a = ws("el-tooltip"), u = ws("el-icon"), d = ws("el-option"), T = ws("el-options"), f = ws("el-scrollbar"), Q = ws("el-select-menu"), y = vet("click-outside");
7023
7023
  return Ti((ce(), Ye("div", {
7024
7024
  ref: "selectRef",
7025
7025
  class: Be([t.nsSelect.b(), t.nsSelect.m(t.selectSize)]),
@@ -7819,6 +7819,26 @@ const yx = function(t = {}) {
7819
7819
  getBackgroundStyles: function(t) {
7820
7820
  return "colour" in t && this.colourStyle === "background" ? { background: t.colour } : {};
7821
7821
  },
7822
+ getState: function() {
7823
+ const e = this.checkedItems.length === this.selections.length;
7824
+ return {
7825
+ checkAll: e,
7826
+ checked: e ? [] : this.checkedItems
7827
+ };
7828
+ },
7829
+ setState: function(t) {
7830
+ var e;
7831
+ if (this.checkAll = t.checkAll, this.checkedItems.length = 0, (e = t.checked) != null && e.length)
7832
+ this.checkedItems.push(...t.checked), this.selections.forEach((r) => {
7833
+ const n = r[this.identifierKey];
7834
+ this.$emit("changed", { key: n, value: this.checkedItems.includes(n) });
7835
+ });
7836
+ else {
7837
+ const r = this.selections.map((i) => i[this.identifierKey]);
7838
+ let n = !1;
7839
+ this.checkAll && (n = !0, this.checkedItems.push(...r)), this.$emit("checkAll", { keys: r, value: n });
7840
+ }
7841
+ },
7822
7842
  hasLineStyles: function(t) {
7823
7843
  return "colour" in t && this.colourStyle === "line";
7824
7844
  },
@@ -7999,7 +8019,7 @@ function M4t(t, e, r, n, i, o) {
7999
8019
  }, 8, ["modelValue", "onChange"])
8000
8020
  ]);
8001
8021
  }
8002
- const CU = /* @__PURE__ */ Hg(_4t, [["render", M4t], ["__scopeId", "data-v-667eda7f"]]), S4t = {
8022
+ const CU = /* @__PURE__ */ Hg(_4t, [["render", M4t], ["__scopeId", "data-v-fb8c9eee"]]), S4t = {
8003
8023
  name: "SvgLegends"
8004
8024
  }, H4t = (t) => (ZM("data-v-88079d87"), t = t(), qM(), t), A4t = { class: "legends-container" }, O4t = {
8005
8025
  version: "1.1",
@@ -8581,21 +8601,21 @@ var Zo = function(t) {
8581
8601
  return r6t(n6t(t));
8582
8602
  }, uu = function(t) {
8583
8603
  return t && t.Math === Math && t;
8584
- }, K2 = (
8604
+ }, Y2 = (
8585
8605
  // eslint-disable-next-line es/no-global-this -- safe
8586
8606
  uu(typeof globalThis == "object" && globalThis) || uu(typeof window == "object" && window) || // eslint-disable-next-line no-restricted-globals -- safe
8587
8607
  uu(typeof self == "object" && self) || uu(typeof P == "object" && P) || uu(typeof P == "object" && P) || // eslint-disable-next-line no-new-func -- fallback
8588
8608
  /* @__PURE__ */ function() {
8589
8609
  return this;
8590
8610
  }() || Function("return this")()
8591
- ), NU = { exports: {} }, wI = K2, i6t = Object.defineProperty, SS = function(t, e) {
8611
+ ), NU = { exports: {} }, wI = Y2, i6t = Object.defineProperty, SS = function(t, e) {
8592
8612
  try {
8593
8613
  i6t(wI, t, { value: e, configurable: !0, writable: !0 });
8594
8614
  } catch {
8595
8615
  wI[t] = e;
8596
8616
  }
8597
8617
  return e;
8598
- }, o6t = K2, s6t = SS, xI = "__core-js_shared__", EI = NU.exports = o6t[xI] || s6t(xI, {});
8618
+ }, o6t = Y2, s6t = SS, xI = "__core-js_shared__", EI = NU.exports = o6t[xI] || s6t(xI, {});
8599
8619
  (EI.versions || (EI.versions = [])).push({
8600
8620
  version: "3.37.0",
8601
8621
  mode: "global",
@@ -8611,14 +8631,14 @@ var HS = NU.exports, MI = HS, DU = function(t, e) {
8611
8631
  return h6t(u6t(t), e);
8612
8632
  }, d6t = io, p6t = 0, T6t = Math.random(), f6t = d6t(1 .toString), AS = function(t) {
8613
8633
  return "Symbol(" + (t === void 0 ? "" : t) + ")_" + f6t(++p6t + T6t, 36);
8614
- }, Q6t = typeof navigator < "u" && String(navigator.userAgent) || "", BU = K2, wb = Q6t, SI = BU.process, HI = BU.Deno, AI = SI && SI.versions || HI && HI.version, OI = AI && AI.v8, Js, DQ;
8634
+ }, Q6t = typeof navigator < "u" && String(navigator.userAgent) || "", BU = Y2, wb = Q6t, SI = BU.process, HI = BU.Deno, AI = SI && SI.versions || HI && HI.version, OI = AI && AI.v8, Js, DQ;
8615
8635
  OI && (Js = OI.split("."), DQ = Js[0] > 0 && Js[0] < 4 ? 1 : +(Js[0] + Js[1]));
8616
8636
  !DQ && wb && (Js = wb.match(/Edge\/(\d+)/), (!Js || Js[1] >= 74) && (Js = wb.match(/Chrome\/(\d+)/), Js && (DQ = +Js[1])));
8617
- var m6t = DQ, CI = m6t, g6t = Zo, y6t = K2, v6t = y6t.String, jU = !!Object.getOwnPropertySymbols && !g6t(function() {
8637
+ var m6t = DQ, CI = m6t, g6t = Zo, y6t = Y2, v6t = y6t.String, jU = !!Object.getOwnPropertySymbols && !g6t(function() {
8618
8638
  var t = Symbol("symbol detection");
8619
8639
  return !v6t(t) || !(Object(t) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
8620
8640
  !Symbol.sham && CI && CI < 41;
8621
- }), _6t = jU, zU = _6t && !Symbol.sham && typeof Symbol.iterator == "symbol", b6t = K2, L6t = DU, kI = _3, w6t = AS, x6t = jU, E6t = zU, X7 = b6t.Symbol, xb = L6t("wks"), M6t = E6t ? X7.for || X7 : X7 && X7.withoutSetter || w6t, Rs = function(t) {
8641
+ }), _6t = jU, zU = _6t && !Symbol.sham && typeof Symbol.iterator == "symbol", b6t = Y2, L6t = DU, kI = _3, w6t = AS, x6t = jU, E6t = zU, X7 = b6t.Symbol, xb = L6t("wks"), M6t = E6t ? X7.for || X7 : X7 && X7.withoutSetter || w6t, Rs = function(t) {
8622
8642
  return kI(xb, t) || (xb[t] = x6t && kI(X7, t) ? X7[t] : M6t("Symbol." + t)), xb[t];
8623
8643
  }, Eb = typeof document == "object" && document.all, Eo = typeof Eb > "u" && Eb !== void 0 ? function(t) {
8624
8644
  return typeof t == "function" || t === Eb;
@@ -8640,7 +8660,7 @@ var m6t = DQ, CI = m6t, g6t = Zo, y6t = K2, v6t = y6t.String, jU = !!Object.getO
8640
8660
  value: 42,
8641
8661
  writable: !1
8642
8662
  }).prototype !== 42;
8643
- }), b3 = {}, P6t = K2, II = Ns, Lx = P6t.document, V6t = II(Lx) && II(Lx.createElement), OS = function(t) {
8663
+ }), b3 = {}, P6t = Y2, II = Ns, Lx = P6t.document, V6t = II(Lx) && II(Lx.createElement), OS = function(t) {
8644
8664
  return V6t ? Lx.createElement(t) : {};
8645
8665
  }, R6t = ha, N6t = Zo, D6t = OS, $U = !R6t && !N6t(function() {
8646
8666
  return Object.defineProperty(D6t("div"), "a", {
@@ -8650,7 +8670,7 @@ var m6t = DQ, CI = m6t, g6t = Zo, y6t = K2, v6t = y6t.String, jU = !!Object.getO
8650
8670
  }).a !== 7;
8651
8671
  }), F6t = MS, Jp = Function.prototype.call, k4 = F6t ? Jp.bind(Jp) : function() {
8652
8672
  return Jp.apply(Jp, arguments);
8653
- }, Mb = K2, B6t = Eo, j6t = function(t) {
8673
+ }, Mb = Y2, B6t = Eo, j6t = function(t) {
8654
8674
  return B6t(t) ? t : void 0;
8655
8675
  }, Qd = function(t, e) {
8656
8676
  return arguments.length < 2 ? j6t(Mb[t]) : Mb[t] && Mb[t][e];
@@ -8805,7 +8825,7 @@ Mx[Ex] === void 0 && o5t(Mx, Ex, {
8805
8825
  });
8806
8826
  var s5t = function(t) {
8807
8827
  Mx[Ex][t] = !0;
8808
- }, gd = {}, a5t = K2, l5t = Eo, GI = a5t.WeakMap, c5t = l5t(GI) && /native code/.test(String(GI)), NS = function(t, e) {
8828
+ }, gd = {}, a5t = Y2, l5t = Eo, GI = a5t.WeakMap, c5t = l5t(GI) && /native code/.test(String(GI)), NS = function(t, e) {
8809
8829
  return {
8810
8830
  enumerable: !(t & 1),
8811
8831
  configurable: !(t & 2),
@@ -8816,7 +8836,7 @@ var s5t = function(t) {
8816
8836
  return h5t.f(t, e, d5t(1, r));
8817
8837
  } : function(t, e, r) {
8818
8838
  return t[e] = r, t;
8819
- }, p5t = c5t, JU = K2, T5t = Ns, f5t = kg, Rb = _3, Nb = HS, Q5t = VS, m5t = Cg, $I = "Object already initialized", Sx = JU.TypeError, g5t = JU.WeakMap, FQ, Bh, BQ, y5t = function(t) {
8839
+ }, p5t = c5t, JU = Y2, T5t = Ns, f5t = kg, Rb = _3, Nb = HS, Q5t = VS, m5t = Cg, $I = "Object already initialized", Sx = JU.TypeError, g5t = JU.WeakMap, FQ, Bh, BQ, y5t = function(t) {
8820
8840
  return BQ(t) ? Bh(t) : FQ(t, {});
8821
8841
  }, v5t = function(t) {
8822
8842
  return function(e) {
@@ -8931,7 +8951,7 @@ var nlt = Qd, ilt = io, olt = Pg, slt = lG, alt = p0, llt = ilt([].concat), clt
8931
8951
  return r === vlt ? !0 : r === ylt ? !1 : flt(e) ? Tlt(e) : !!e;
8932
8952
  }, mlt = yd.normalize = function(t) {
8933
8953
  return String(t).replace(Qlt, ".").toLowerCase();
8934
- }, glt = yd.data = {}, ylt = yd.NATIVE = "N", vlt = yd.POLYFILL = "P", cG = yd, nT = K2, _lt = DS.f, blt = kg, Llt = rc, wlt = SS, xlt = plt, Elt = cG, L3 = function(t, e) {
8954
+ }, glt = yd.data = {}, ylt = yd.NATIVE = "N", vlt = yd.POLYFILL = "P", cG = yd, nT = Y2, _lt = DS.f, blt = kg, Llt = rc, wlt = SS, xlt = plt, Elt = cG, L3 = function(t, e) {
8935
8955
  var r = t.target, n = t.global, i = t.stat, o, s, a, u, d, T;
8936
8956
  if (n ? s = nT : i ? s = nT[r] || wlt(r, {}) : s = nT[r] && nT[r].prototype, s)
8937
8957
  for (a in e) {
@@ -9267,7 +9287,7 @@ var ect = function(t, e) {
9267
9287
  fP && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
9268
9288
  rct(n = e.constructor) && n !== r && nct(i = n.prototype) && i !== r.prototype && fP(t, i), t
9269
9289
  );
9270
- }, oct = L3, sct = K2, act = io, QP = cG, lct = rc, cct = xG, uct = SG, hct = HG, dct = Eo, pct = fd, jb = Ns, zb = Zo, Tct = ect, fct = Vg, Qct = ict, mct = function(t, e, r) {
9290
+ }, oct = L3, sct = Y2, act = io, QP = cG, lct = rc, cct = xG, uct = SG, hct = HG, dct = Eo, pct = fd, jb = Ns, zb = Zo, Tct = ect, fct = Vg, Qct = ict, mct = function(t, e, r) {
9271
9291
  var n = t.indexOf("Map") !== -1, i = t.indexOf("Weak") !== -1, o = n ? "set" : "add", s = sct[t], a = s && s.prototype, u = s, d = {}, T = function(x) {
9272
9292
  var O = act(a[x]);
9273
9293
  lct(
@@ -9615,7 +9635,7 @@ H9t(String, "String", function(t) {
9615
9635
  var t = O9t(this), e = t.string, r = t.index, n;
9616
9636
  return r >= e.length ? CP(void 0, !0) : (n = M9t(e, r), t.index += n.length, CP(n, !1));
9617
9637
  });
9618
- var C9t = K2, k9t = C9t, I9t = k9t, P9t = I9t.Set, V9t = {
9638
+ var C9t = Y2, k9t = C9t, I9t = k9t, P9t = I9t.Set, V9t = {
9619
9639
  CSSRuleList: 0,
9620
9640
  CSSStyleDeclaration: 0,
9621
9641
  CSSValueList: 0,
@@ -9647,7 +9667,7 @@ var C9t = K2, k9t = C9t, I9t = k9t, P9t = I9t.Set, V9t = {
9647
9667
  TextTrackCueList: 0,
9648
9668
  TextTrackList: 0,
9649
9669
  TouchList: 0
9650
- }, R9t = OS, $b = R9t("span").classList, kP = $b && $b.constructor && $b.constructor.prototype, N9t = kP === Object.prototype ? void 0 : kP, IP = K2, GG = V9t, D9t = N9t, a9 = E7t, PP = kg, F9t = Vg, B9t = Rs, Wb = B9t("iterator"), Zb = a9.values, $G = function(t, e) {
9670
+ }, R9t = OS, $b = R9t("span").classList, kP = $b && $b.constructor && $b.constructor.prototype, N9t = kP === Object.prototype ? void 0 : kP, IP = Y2, GG = V9t, D9t = N9t, a9 = E7t, PP = kg, F9t = Vg, B9t = Rs, Wb = B9t("iterator"), Zb = a9.values, $G = function(t, e) {
9651
9671
  if (t) {
9652
9672
  if (t[Wb] !== Zb)
9653
9673
  try {
@@ -10234,7 +10254,7 @@ var WG = { exports: {} };
10234
10254
  function Ri(h) {
10235
10255
  return !h.some(Number.isNaN);
10236
10256
  }
10237
- const J2 = { aliceblue: [240, 248, 255], antiquewhite: [250, 235, 215], aqua: [0, 255, 255], aquamarine: [127, 255, 212], azure: [240, 255, 255], beige: [245, 245, 220], bisque: [255, 228, 196], black: [0, 0, 0], blanchedalmond: [255, 235, 205], blue: [0, 0, 255], blueviolet: [138, 43, 226], brown: [165, 42, 42], burlywood: [222, 184, 135], cadetblue: [95, 158, 160], chartreuse: [127, 255, 0], chocolate: [210, 105, 30], coral: [255, 127, 80], cornflowerblue: [100, 149, 237], cornsilk: [255, 248, 220], crimson: [220, 20, 60], cyan: [0, 255, 255], darkblue: [0, 0, 139], darkcyan: [0, 139, 139], darkgoldenrod: [184, 134, 11], darkgray: [169, 169, 169], darkgreen: [0, 100, 0], darkgrey: [169, 169, 169], darkkhaki: [189, 183, 107], darkmagenta: [139, 0, 139], darkolivegreen: [85, 107, 47], darkorange: [255, 140, 0], darkorchid: [153, 50, 204], darkred: [139, 0, 0], darksalmon: [233, 150, 122], darkseagreen: [143, 188, 143], darkslateblue: [72, 61, 139], darkslategray: [47, 79, 79], darkslategrey: [47, 79, 79], darkturquoise: [0, 206, 209], darkviolet: [148, 0, 211], deeppink: [255, 20, 147], deepskyblue: [0, 191, 255], dimgray: [105, 105, 105], dimgrey: [105, 105, 105], dodgerblue: [30, 144, 255], firebrick: [178, 34, 34], floralwhite: [255, 250, 240], forestgreen: [34, 139, 34], fuchsia: [255, 0, 255], gainsboro: [220, 220, 220], ghostwhite: [248, 248, 255], gold: [255, 215, 0], goldenrod: [218, 165, 32], gray: [128, 128, 128], green: [0, 128, 0], greenyellow: [173, 255, 47], grey: [128, 128, 128], honeydew: [240, 255, 240], hotpink: [255, 105, 180], indianred: [205, 92, 92], indigo: [75, 0, 130], ivory: [255, 255, 240], khaki: [240, 230, 140], lavender: [230, 230, 250], lavenderblush: [255, 240, 245], lawngreen: [124, 252, 0], lemonchiffon: [255, 250, 205], lightblue: [173, 216, 230], lightcoral: [240, 128, 128], lightcyan: [224, 255, 255], lightgoldenrodyellow: [250, 250, 210], lightgray: [211, 211, 211], lightgreen: [144, 238, 144], lightgrey: [211, 211, 211], lightpink: [255, 182, 193], lightsalmon: [255, 160, 122], lightseagreen: [32, 178, 170], lightskyblue: [135, 206, 250], lightslategray: [119, 136, 153], lightslategrey: [119, 136, 153], lightsteelblue: [176, 196, 222], lightyellow: [255, 255, 224], lime: [0, 255, 0], limegreen: [50, 205, 50], linen: [250, 240, 230], magenta: [255, 0, 255], maroon: [128, 0, 0], mediumaquamarine: [102, 205, 170], mediumblue: [0, 0, 205], mediumorchid: [186, 85, 211], mediumpurple: [147, 112, 219], mediumseagreen: [60, 179, 113], mediumslateblue: [123, 104, 238], mediumspringgreen: [0, 250, 154], mediumturquoise: [72, 209, 204], mediumvioletred: [199, 21, 133], midnightblue: [25, 25, 112], mintcream: [245, 255, 250], mistyrose: [255, 228, 225], moccasin: [255, 228, 181], navajowhite: [255, 222, 173], navy: [0, 0, 128], oldlace: [253, 245, 230], olive: [128, 128, 0], olivedrab: [107, 142, 35], orange: [255, 165, 0], orangered: [255, 69, 0], orchid: [218, 112, 214], palegoldenrod: [238, 232, 170], palegreen: [152, 251, 152], paleturquoise: [175, 238, 238], palevioletred: [219, 112, 147], papayawhip: [255, 239, 213], peachpuff: [255, 218, 185], peru: [205, 133, 63], pink: [255, 192, 203], plum: [221, 160, 221], powderblue: [176, 224, 230], purple: [128, 0, 128], rebeccapurple: [102, 51, 153], red: [255, 0, 0], rosybrown: [188, 143, 143], royalblue: [65, 105, 225], saddlebrown: [139, 69, 19], salmon: [250, 128, 114], sandybrown: [244, 164, 96], seagreen: [46, 139, 87], seashell: [255, 245, 238], sienna: [160, 82, 45], silver: [192, 192, 192], skyblue: [135, 206, 235], slateblue: [106, 90, 205], slategray: [112, 128, 144], slategrey: [112, 128, 144], snow: [255, 250, 250], springgreen: [0, 255, 127], steelblue: [70, 130, 180], tan: [210, 180, 140], teal: [0, 128, 128], thistle: [216, 191, 216], tomato: [255, 99, 71], turquoise: [64, 224, 208], violet: [238, 130, 238], wheat: [245, 222, 179], white: [255, 255, 255], whitesmoke: [245, 245, 245], yellow: [255, 255, 0], yellowgreen: [154, 205, 50] };
10257
+ const ts = { aliceblue: [240, 248, 255], antiquewhite: [250, 235, 215], aqua: [0, 255, 255], aquamarine: [127, 255, 212], azure: [240, 255, 255], beige: [245, 245, 220], bisque: [255, 228, 196], black: [0, 0, 0], blanchedalmond: [255, 235, 205], blue: [0, 0, 255], blueviolet: [138, 43, 226], brown: [165, 42, 42], burlywood: [222, 184, 135], cadetblue: [95, 158, 160], chartreuse: [127, 255, 0], chocolate: [210, 105, 30], coral: [255, 127, 80], cornflowerblue: [100, 149, 237], cornsilk: [255, 248, 220], crimson: [220, 20, 60], cyan: [0, 255, 255], darkblue: [0, 0, 139], darkcyan: [0, 139, 139], darkgoldenrod: [184, 134, 11], darkgray: [169, 169, 169], darkgreen: [0, 100, 0], darkgrey: [169, 169, 169], darkkhaki: [189, 183, 107], darkmagenta: [139, 0, 139], darkolivegreen: [85, 107, 47], darkorange: [255, 140, 0], darkorchid: [153, 50, 204], darkred: [139, 0, 0], darksalmon: [233, 150, 122], darkseagreen: [143, 188, 143], darkslateblue: [72, 61, 139], darkslategray: [47, 79, 79], darkslategrey: [47, 79, 79], darkturquoise: [0, 206, 209], darkviolet: [148, 0, 211], deeppink: [255, 20, 147], deepskyblue: [0, 191, 255], dimgray: [105, 105, 105], dimgrey: [105, 105, 105], dodgerblue: [30, 144, 255], firebrick: [178, 34, 34], floralwhite: [255, 250, 240], forestgreen: [34, 139, 34], fuchsia: [255, 0, 255], gainsboro: [220, 220, 220], ghostwhite: [248, 248, 255], gold: [255, 215, 0], goldenrod: [218, 165, 32], gray: [128, 128, 128], green: [0, 128, 0], greenyellow: [173, 255, 47], grey: [128, 128, 128], honeydew: [240, 255, 240], hotpink: [255, 105, 180], indianred: [205, 92, 92], indigo: [75, 0, 130], ivory: [255, 255, 240], khaki: [240, 230, 140], lavender: [230, 230, 250], lavenderblush: [255, 240, 245], lawngreen: [124, 252, 0], lemonchiffon: [255, 250, 205], lightblue: [173, 216, 230], lightcoral: [240, 128, 128], lightcyan: [224, 255, 255], lightgoldenrodyellow: [250, 250, 210], lightgray: [211, 211, 211], lightgreen: [144, 238, 144], lightgrey: [211, 211, 211], lightpink: [255, 182, 193], lightsalmon: [255, 160, 122], lightseagreen: [32, 178, 170], lightskyblue: [135, 206, 250], lightslategray: [119, 136, 153], lightslategrey: [119, 136, 153], lightsteelblue: [176, 196, 222], lightyellow: [255, 255, 224], lime: [0, 255, 0], limegreen: [50, 205, 50], linen: [250, 240, 230], magenta: [255, 0, 255], maroon: [128, 0, 0], mediumaquamarine: [102, 205, 170], mediumblue: [0, 0, 205], mediumorchid: [186, 85, 211], mediumpurple: [147, 112, 219], mediumseagreen: [60, 179, 113], mediumslateblue: [123, 104, 238], mediumspringgreen: [0, 250, 154], mediumturquoise: [72, 209, 204], mediumvioletred: [199, 21, 133], midnightblue: [25, 25, 112], mintcream: [245, 255, 250], mistyrose: [255, 228, 225], moccasin: [255, 228, 181], navajowhite: [255, 222, 173], navy: [0, 0, 128], oldlace: [253, 245, 230], olive: [128, 128, 0], olivedrab: [107, 142, 35], orange: [255, 165, 0], orangered: [255, 69, 0], orchid: [218, 112, 214], palegoldenrod: [238, 232, 170], palegreen: [152, 251, 152], paleturquoise: [175, 238, 238], palevioletred: [219, 112, 147], papayawhip: [255, 239, 213], peachpuff: [255, 218, 185], peru: [205, 133, 63], pink: [255, 192, 203], plum: [221, 160, 221], powderblue: [176, 224, 230], purple: [128, 0, 128], rebeccapurple: [102, 51, 153], red: [255, 0, 0], rosybrown: [188, 143, 143], royalblue: [65, 105, 225], saddlebrown: [139, 69, 19], salmon: [250, 128, 114], sandybrown: [244, 164, 96], seagreen: [46, 139, 87], seashell: [255, 245, 238], sienna: [160, 82, 45], silver: [192, 192, 192], skyblue: [135, 206, 235], slateblue: [106, 90, 205], slategray: [112, 128, 144], slategrey: [112, 128, 144], snow: [255, 250, 250], springgreen: [0, 255, 127], steelblue: [70, 130, 180], tan: [210, 180, 140], teal: [0, 128, 128], thistle: [216, 191, 216], tomato: [255, 99, 71], turquoise: [64, 224, 208], violet: [238, 130, 238], wheat: [245, 222, 179], white: [255, 255, 255], whitesmoke: [245, 245, 245], yellow: [255, 255, 0], yellowgreen: [154, 205, 50] };
10238
10258
  class tn {
10239
10259
  constructor(c, p, g, w = 1, H = !0) {
10240
10260
  this.r = c, this.g = p, this.b = g, this.a = w, H || (this.r *= w, this.g *= w, this.b *= w, w || this.overwriteGetter("rgb", [c, p, g, w]));
@@ -10247,7 +10267,7 @@ var WG = { exports: {} };
10247
10267
  const p = function(g) {
10248
10268
  if ((g = g.toLowerCase().trim()) === "transparent")
10249
10269
  return [0, 0, 0, 0];
10250
- const w = J2[g];
10270
+ const w = ts[g];
10251
10271
  if (w) {
10252
10272
  const [A, C, N] = w;
10253
10273
  return [A / 255, C / 255, N / 255, 1];
@@ -10375,7 +10395,7 @@ var WG = { exports: {} };
10375
10395
  return JSON.stringify(this.values);
10376
10396
  }
10377
10397
  }
10378
- const ts = /* @__PURE__ */ new Set(["center", "left", "right", "top", "bottom", "top-left", "top-right", "bottom-left", "bottom-right"]);
10398
+ const es = /* @__PURE__ */ new Set(["center", "left", "right", "top", "bottom", "top-left", "top-right", "bottom-left", "bottom-right"]);
10379
10399
  class _n {
10380
10400
  constructor(c) {
10381
10401
  this.values = c.slice();
@@ -10386,7 +10406,7 @@ var WG = { exports: {} };
10386
10406
  if (Array.isArray(c) && !(c.length < 1) && c.length % 2 == 0) {
10387
10407
  for (let p = 0; p < c.length; p += 2) {
10388
10408
  const g = c[p], w = c[p + 1];
10389
- if (typeof g != "string" || !ts.has(g) || !Array.isArray(w) || w.length !== 2 || typeof w[0] != "number" || typeof w[1] != "number")
10409
+ if (typeof g != "string" || !es.has(g) || !Array.isArray(w) || w.length !== 2 || typeof w[0] != "number" || typeof w[1] != "number")
10390
10410
  return;
10391
10411
  }
10392
10412
  return new _n(c);
@@ -10500,7 +10520,7 @@ var WG = { exports: {} };
10500
10520
  return this.message;
10501
10521
  }
10502
10522
  }
10503
- const es = { string: Dr, number: xe, boolean: _r, object: y1 };
10523
+ const rs = { string: Dr, number: xe, boolean: _r, object: y1 };
10504
10524
  class d1 {
10505
10525
  constructor(c, p) {
10506
10526
  this.type = c, this.args = p;
@@ -10514,9 +10534,9 @@ var WG = { exports: {} };
10514
10534
  let C, N;
10515
10535
  if (c.length > 2) {
10516
10536
  const z = c[1];
10517
- if (typeof z != "string" || !(z in es) || z === "object")
10537
+ if (typeof z != "string" || !(z in rs) || z === "object")
10518
10538
  return p.error('The item type argument of "array" must be one of string, number, boolean', 1);
10519
- C = es[z], w++;
10539
+ C = rs[z], w++;
10520
10540
  } else
10521
10541
  C = wr;
10522
10542
  if (c.length > 3) {
@@ -10526,9 +10546,9 @@ var WG = { exports: {} };
10526
10546
  }
10527
10547
  g = ot(C, N);
10528
10548
  } else {
10529
- if (!es[H])
10549
+ if (!rs[H])
10530
10550
  throw new Error(`Types doesn't contain name = ${H}`);
10531
- g = es[H];
10551
+ g = rs[H];
10532
10552
  }
10533
10553
  const A = [];
10534
10554
  for (; w < c.length; w++) {
@@ -11657,7 +11677,7 @@ var WG = { exports: {} };
11657
11677
  var C;
11658
11678
  return A;
11659
11679
  }
11660
- class rs {
11680
+ class ns {
11661
11681
  constructor(c, p) {
11662
11682
  this.type = _r, this.geojson = c, this.geometries = p;
11663
11683
  }
@@ -11673,13 +11693,13 @@ var WG = { exports: {} };
11673
11693
  A === "Polygon" && w.push(C), A === "MultiPolygon" && w.push(...C);
11674
11694
  }
11675
11695
  if (w.length)
11676
- return new rs(g, { type: "MultiPolygon", coordinates: w });
11696
+ return new ns(g, { type: "MultiPolygon", coordinates: w });
11677
11697
  } else if (g.type === "Feature") {
11678
11698
  const w = g.geometry.type;
11679
11699
  if (w === "Polygon" || w === "MultiPolygon")
11680
- return new rs(g, g.geometry);
11700
+ return new ns(g, g.geometry);
11681
11701
  } else if (g.type === "Polygon" || g.type === "MultiPolygon")
11682
- return new rs(g, g);
11702
+ return new ns(g, g);
11683
11703
  }
11684
11704
  return p.error("'within' expression requires valid geojson object that contains polygon geometry type.");
11685
11705
  }
@@ -11777,13 +11797,13 @@ var WG = { exports: {} };
11777
11797
  }
11778
11798
  };
11779
11799
  function bc(h, c, p, g, w) {
11780
- ns(h, c, p, g || h.length - 1, w || Lc);
11800
+ is(h, c, p, g || h.length - 1, w || Lc);
11781
11801
  }
11782
- function ns(h, c, p, g, w) {
11802
+ function is(h, c, p, g, w) {
11783
11803
  for (; g > p; ) {
11784
11804
  if (g - p > 600) {
11785
11805
  var H = g - p + 1, A = c - p + 1, C = Math.log(H), N = 0.5 * Math.exp(2 * C / 3), z = 0.5 * Math.sqrt(C * N * (H - N) / H) * (A - H / 2 < 0 ? -1 : 1);
11786
- ns(h, c, Math.max(p, Math.floor(c - A * N / H + z)), Math.min(g, Math.floor(c + (H - A) * N / H + z)), w);
11806
+ is(h, c, Math.max(p, Math.floor(c - A * N / H + z)), Math.min(g, Math.floor(c + (H - A) * N / H + z)), w);
11787
11807
  }
11788
11808
  var W = h[c], X = p, tt = g;
11789
11809
  for (va(h, p, c), w(h[g], W) > 0 && va(h, p, g); X < tt; ) {
@@ -11967,7 +11987,7 @@ var WG = { exports: {} };
11967
11987
  }
11968
11988
  return w;
11969
11989
  }
11970
- function is(h, c) {
11990
+ function os(h, c) {
11971
11991
  for (const p of h)
11972
11992
  for (const g of p)
11973
11993
  if (ya(g, c, !0))
@@ -11979,9 +11999,9 @@ var WG = { exports: {} };
11979
11999
  if (g !== 1 / 0 && w2(w, H, p) >= g)
11980
12000
  return g;
11981
12001
  if (b2(w, H)) {
11982
- if (is(h, c))
12002
+ if (os(h, c))
11983
12003
  return 0;
11984
- } else if (is(c, h))
12004
+ } else if (os(c, h))
11985
12005
  return 0;
11986
12006
  let A = 1 / 0;
11987
12007
  for (const C of h)
@@ -12177,7 +12197,7 @@ var WG = { exports: {} };
12177
12197
  return !0;
12178
12198
  }
12179
12199
  }
12180
- const Oo = { "==": _0, "!=": vl, ">": _l, "<": Nn, ">=": Xo, "<=": yc, array: d1, at: I, boolean: d1, case: it, coalesce: dr, collator: ga, format: A3, image: O3, in: G, "index-of": B, interpolate: un, "interpolate-hcl": un, "interpolate-lab": un, length: D4, let: uo, literal: h1, match: q, number: d1, "number-format": N4, object: d1, slice: ht, step: qt, string: d1, "to-boolean": e1, "to-color": e1, "to-number": e1, "to-string": e1, var: Yr, within: rs, distance: Ko };
12200
+ const Oo = { "==": _0, "!=": vl, ">": _l, "<": Nn, ">=": Xo, "<=": yc, array: d1, at: I, boolean: d1, case: it, coalesce: dr, collator: ga, format: A3, image: O3, in: G, "index-of": B, interpolate: un, "interpolate-hcl": un, "interpolate-lab": un, length: D4, let: uo, literal: h1, match: q, number: d1, "number-format": N4, object: d1, slice: ht, step: qt, string: d1, "to-boolean": e1, "to-color": e1, "to-number": e1, "to-string": e1, var: Yr, within: ns, distance: Ko };
12181
12201
  class ho {
12182
12202
  constructor(c, p, g, w) {
12183
12203
  this.name = c, this.type = p, this._evaluate = g, this.args = w;
@@ -12258,34 +12278,34 @@ var WG = { exports: {} };
12258
12278
  const p = c[h];
12259
12279
  return p === void 0 ? null : p;
12260
12280
  }
12261
- function os(h) {
12281
+ function ss(h) {
12262
12282
  return { type: h };
12263
12283
  }
12264
12284
  function V3(h) {
12265
12285
  if (h instanceof Yr)
12266
12286
  return V3(h.boundExpression);
12267
- if (h instanceof ho && h.name === "error" || h instanceof ga || h instanceof rs || h instanceof Ko)
12287
+ if (h instanceof ho && h.name === "error" || h instanceof ga || h instanceof ns || h instanceof Ko)
12268
12288
  return !1;
12269
12289
  const c = h instanceof e1 || h instanceof d1;
12270
12290
  let p = !0;
12271
12291
  return h.eachChild((g) => {
12272
12292
  p = c ? p && V3(g) : p && g instanceof h1;
12273
- }), !!p && ss(h) && La(h, ["zoom", "heatmap-density", "line-progress", "accumulated", "is-supported-script"]);
12293
+ }), !!p && as(h) && La(h, ["zoom", "heatmap-density", "line-progress", "accumulated", "is-supported-script"]);
12274
12294
  }
12275
- function ss(h) {
12276
- if (h instanceof ho && (h.name === "get" && h.args.length === 1 || h.name === "feature-state" || h.name === "has" && h.args.length === 1 || h.name === "properties" || h.name === "geometry-type" || h.name === "id" || /^filter-/.test(h.name)) || h instanceof rs || h instanceof Ko)
12295
+ function as(h) {
12296
+ if (h instanceof ho && (h.name === "get" && h.args.length === 1 || h.name === "feature-state" || h.name === "has" && h.args.length === 1 || h.name === "properties" || h.name === "geometry-type" || h.name === "id" || /^filter-/.test(h.name)) || h instanceof ns || h instanceof Ko)
12277
12297
  return !1;
12278
12298
  let c = !0;
12279
12299
  return h.eachChild((p) => {
12280
- c && !ss(p) && (c = !1);
12300
+ c && !as(p) && (c = !1);
12281
12301
  }), c;
12282
12302
  }
12283
- function as(h) {
12303
+ function ls(h) {
12284
12304
  if (h instanceof ho && h.name === "feature-state")
12285
12305
  return !1;
12286
12306
  let c = !0;
12287
12307
  return h.eachChild((p) => {
12288
- c && !as(p) && (c = !1);
12308
+ c && !ls(p) && (c = !1);
12289
12309
  }), c;
12290
12310
  }
12291
12311
  function La(h, c) {
@@ -12425,17 +12445,17 @@ var WG = { exports: {} };
12425
12445
  }], typeof: [Dr, [wr], (h, [c]) => st(Qn(c.evaluate(h)))], "to-rgba": [ot(xe, 4), [Vn], (h, [c]) => {
12426
12446
  const [p, g, w, H] = c.evaluate(h).rgb;
12427
12447
  return [255 * p, 255 * g, 255 * w, H];
12428
- }], rgb: [Vn, [xe, xe, xe], Yo], rgba: [Vn, [xe, xe, xe, xe], Yo], has: { type: _r, overloads: [[[Dr], (h, [c]) => H0(c.evaluate(h), h.properties())], [[Dr, y1], (h, [c, p]) => H0(c.evaluate(h), p.evaluate(h))]] }, get: { type: wr, overloads: [[[Dr], (h, [c]) => E2(c.evaluate(h), h.properties())], [[Dr, y1], (h, [c, p]) => E2(c.evaluate(h), p.evaluate(h))]] }, "feature-state": [wr, [Dr], (h, [c]) => E2(c.evaluate(h), h.featureState || {})], properties: [y1, [], (h) => h.properties()], "geometry-type": [Dr, [], (h) => h.geometryType()], id: [wr, [], (h) => h.id()], zoom: [xe, [], (h) => h.globals.zoom], "heatmap-density": [xe, [], (h) => h.globals.heatmapDensity || 0], "line-progress": [xe, [], (h) => h.globals.lineProgress || 0], accumulated: [wr, [], (h) => h.globals.accumulated === void 0 ? null : h.globals.accumulated], "+": [xe, os(xe), (h, c) => {
12448
+ }], rgb: [Vn, [xe, xe, xe], Yo], rgba: [Vn, [xe, xe, xe, xe], Yo], has: { type: _r, overloads: [[[Dr], (h, [c]) => H0(c.evaluate(h), h.properties())], [[Dr, y1], (h, [c, p]) => H0(c.evaluate(h), p.evaluate(h))]] }, get: { type: wr, overloads: [[[Dr], (h, [c]) => E2(c.evaluate(h), h.properties())], [[Dr, y1], (h, [c, p]) => E2(c.evaluate(h), p.evaluate(h))]] }, "feature-state": [wr, [Dr], (h, [c]) => E2(c.evaluate(h), h.featureState || {})], properties: [y1, [], (h) => h.properties()], "geometry-type": [Dr, [], (h) => h.geometryType()], id: [wr, [], (h) => h.id()], zoom: [xe, [], (h) => h.globals.zoom], "heatmap-density": [xe, [], (h) => h.globals.heatmapDensity || 0], "line-progress": [xe, [], (h) => h.globals.lineProgress || 0], accumulated: [wr, [], (h) => h.globals.accumulated === void 0 ? null : h.globals.accumulated], "+": [xe, ss(xe), (h, c) => {
12429
12449
  let p = 0;
12430
12450
  for (const g of c)
12431
12451
  p += g.evaluate(h);
12432
12452
  return p;
12433
- }], "*": [xe, os(xe), (h, c) => {
12453
+ }], "*": [xe, ss(xe), (h, c) => {
12434
12454
  let p = 1;
12435
12455
  for (const g of c)
12436
12456
  p *= g.evaluate(h);
12437
12457
  return p;
12438
- }], "-": { type: xe, overloads: [[[xe, xe], (h, [c, p]) => c.evaluate(h) - p.evaluate(h)], [[xe], (h, [c]) => -c.evaluate(h)]] }, "/": [xe, [xe, xe], (h, [c, p]) => c.evaluate(h) / p.evaluate(h)], "%": [xe, [xe, xe], (h, [c, p]) => c.evaluate(h) % p.evaluate(h)], ln2: [xe, [], () => Math.LN2], pi: [xe, [], () => Math.PI], e: [xe, [], () => Math.E], "^": [xe, [xe, xe], (h, [c, p]) => Math.pow(c.evaluate(h), p.evaluate(h))], sqrt: [xe, [xe], (h, [c]) => Math.sqrt(c.evaluate(h))], log10: [xe, [xe], (h, [c]) => Math.log(c.evaluate(h)) / Math.LN10], ln: [xe, [xe], (h, [c]) => Math.log(c.evaluate(h))], log2: [xe, [xe], (h, [c]) => Math.log(c.evaluate(h)) / Math.LN2], sin: [xe, [xe], (h, [c]) => Math.sin(c.evaluate(h))], cos: [xe, [xe], (h, [c]) => Math.cos(c.evaluate(h))], tan: [xe, [xe], (h, [c]) => Math.tan(c.evaluate(h))], asin: [xe, [xe], (h, [c]) => Math.asin(c.evaluate(h))], acos: [xe, [xe], (h, [c]) => Math.acos(c.evaluate(h))], atan: [xe, [xe], (h, [c]) => Math.atan(c.evaluate(h))], min: [xe, os(xe), (h, c) => Math.min(...c.map((p) => p.evaluate(h)))], max: [xe, os(xe), (h, c) => Math.max(...c.map((p) => p.evaluate(h)))], abs: [xe, [xe], (h, [c]) => Math.abs(c.evaluate(h))], round: [xe, [xe], (h, [c]) => {
12458
+ }], "-": { type: xe, overloads: [[[xe, xe], (h, [c, p]) => c.evaluate(h) - p.evaluate(h)], [[xe], (h, [c]) => -c.evaluate(h)]] }, "/": [xe, [xe, xe], (h, [c, p]) => c.evaluate(h) / p.evaluate(h)], "%": [xe, [xe, xe], (h, [c, p]) => c.evaluate(h) % p.evaluate(h)], ln2: [xe, [], () => Math.LN2], pi: [xe, [], () => Math.PI], e: [xe, [], () => Math.E], "^": [xe, [xe, xe], (h, [c, p]) => Math.pow(c.evaluate(h), p.evaluate(h))], sqrt: [xe, [xe], (h, [c]) => Math.sqrt(c.evaluate(h))], log10: [xe, [xe], (h, [c]) => Math.log(c.evaluate(h)) / Math.LN10], ln: [xe, [xe], (h, [c]) => Math.log(c.evaluate(h))], log2: [xe, [xe], (h, [c]) => Math.log(c.evaluate(h)) / Math.LN2], sin: [xe, [xe], (h, [c]) => Math.sin(c.evaluate(h))], cos: [xe, [xe], (h, [c]) => Math.cos(c.evaluate(h))], tan: [xe, [xe], (h, [c]) => Math.tan(c.evaluate(h))], asin: [xe, [xe], (h, [c]) => Math.asin(c.evaluate(h))], acos: [xe, [xe], (h, [c]) => Math.acos(c.evaluate(h))], atan: [xe, [xe], (h, [c]) => Math.atan(c.evaluate(h))], min: [xe, ss(xe), (h, c) => Math.min(...c.map((p) => p.evaluate(h)))], max: [xe, ss(xe), (h, c) => Math.max(...c.map((p) => p.evaluate(h)))], abs: [xe, [xe], (h, [c]) => Math.abs(c.evaluate(h))], round: [xe, [xe], (h, [c]) => {
12439
12459
  const p = c.evaluate(h);
12440
12460
  return p < 0 ? -Math.round(-p) : Math.round(p);
12441
12461
  }], floor: [xe, [xe], (h, [c]) => Math.floor(c.evaluate(h))], ceil: [xe, [xe], (h, [c]) => Math.ceil(c.evaluate(h))], "filter-==": [_r, [Dr, wr], (h, [c, p]) => h.properties()[c.value] === p.value], "filter-id-==": [_r, [wr], (h, [c]) => h.id() === c.value], "filter-type-==": [_r, [Dr], (h, [c]) => h.geometryType() === c.value], "filter-<": [_r, [Dr, wr], (h, [c, p]) => {
@@ -12470,12 +12490,12 @@ var WG = { exports: {} };
12470
12490
  w[C] > g ? A = C - 1 : H = C + 1;
12471
12491
  }
12472
12492
  return !1;
12473
- }(h.properties()[c.value], p.value, 0, p.value.length - 1)], all: { type: _r, overloads: [[[_r, _r], (h, [c, p]) => c.evaluate(h) && p.evaluate(h)], [os(_r), (h, c) => {
12493
+ }(h.properties()[c.value], p.value, 0, p.value.length - 1)], all: { type: _r, overloads: [[[_r, _r], (h, [c, p]) => c.evaluate(h) && p.evaluate(h)], [ss(_r), (h, c) => {
12474
12494
  for (const p of c)
12475
12495
  if (!p.evaluate(h))
12476
12496
  return !1;
12477
12497
  return !0;
12478
- }]] }, any: { type: _r, overloads: [[[_r, _r], (h, [c, p]) => c.evaluate(h) || p.evaluate(h)], [os(_r), (h, c) => {
12498
+ }]] }, any: { type: _r, overloads: [[[_r, _r], (h, [c, p]) => c.evaluate(h) || p.evaluate(h)], [ss(_r), (h, c) => {
12479
12499
  for (const p of c)
12480
12500
  if (p.evaluate(h))
12481
12501
  return !0;
@@ -12483,7 +12503,7 @@ var WG = { exports: {} };
12483
12503
  }]] }, "!": [_r, [_r], (h, [c]) => !c.evaluate(h)], "is-supported-script": [_r, [Dr], (h, [c]) => {
12484
12504
  const p = h.globals && h.globals.isSupportedScript;
12485
12505
  return !p || p(c.evaluate(h));
12486
- }], upcase: [Dr, [Dr], (h, [c]) => c.evaluate(h).toUpperCase()], downcase: [Dr, [Dr], (h, [c]) => c.evaluate(h).toLowerCase()], concat: [Dr, os(wr), (h, c) => c.map((p) => Ui(p.evaluate(h))).join("")], "resolved-locale": [Dr, [Pi], (h, [c]) => c.evaluate(h).resolvedLocale()] });
12506
+ }], upcase: [Dr, [Dr], (h, [c]) => c.evaluate(h).toUpperCase()], downcase: [Dr, [Dr], (h, [c]) => c.evaluate(h).toLowerCase()], concat: [Dr, ss(wr), (h, c) => c.map((p) => Ui(p.evaluate(h))).join("")], "resolved-locale": [Dr, [Pi], (h, [c]) => c.evaluate(h).resolvedLocale()] });
12487
12507
  class gi {
12488
12508
  constructor(c, p) {
12489
12509
  var g;
@@ -12518,7 +12538,7 @@ var WG = { exports: {} };
12518
12538
  }
12519
12539
  class A1 {
12520
12540
  constructor(c, p) {
12521
- this.kind = c, this._styleExpression = p, this.isStateDependent = c !== "constant" && !as(p.expression);
12541
+ this.kind = c, this._styleExpression = p, this.isStateDependent = c !== "constant" && !ls(p.expression);
12522
12542
  }
12523
12543
  evaluateWithoutErrorHandling(c, p, g, w, H, A) {
12524
12544
  return this._styleExpression.evaluateWithoutErrorHandling(c, p, g, w, H, A);
@@ -12529,7 +12549,7 @@ var WG = { exports: {} };
12529
12549
  }
12530
12550
  class Ai {
12531
12551
  constructor(c, p, g, w) {
12532
- this.kind = c, this.zoomStops = g, this._styleExpression = p, this.isStateDependent = c !== "camera" && !as(p.expression), this.interpolationType = w;
12552
+ this.kind = c, this.zoomStops = g, this._styleExpression = p, this.isStateDependent = c !== "camera" && !ls(p.expression), this.interpolationType = w;
12533
12553
  }
12534
12554
  evaluateWithoutErrorHandling(c, p, g, w, H, A) {
12535
12555
  return this._styleExpression.evaluateWithoutErrorHandling(c, p, g, w, H, A);
@@ -12545,13 +12565,13 @@ var WG = { exports: {} };
12545
12565
  const p = _1(h, c);
12546
12566
  if (p.result === "error")
12547
12567
  return p;
12548
- const g = p.value.expression, w = ss(g);
12568
+ const g = p.value.expression, w = as(g);
12549
12569
  if (!w && !Jo(c))
12550
12570
  return zs([new Xn("", "data expressions not supported")]);
12551
12571
  const H = La(g, ["zoom"]);
12552
12572
  if (!H && !A0(c))
12553
12573
  return zs([new Xn("", "zoom expressions not supported")]);
12554
- const A = ls(g);
12574
+ const A = cs(g);
12555
12575
  return A || H ? A instanceof Xn ? zs([A]) : A instanceof un && !O0(c) ? zs([new Xn("", '"interpolate" expressions cannot be used with this property')]) : R3(A ? new Ai(w ? "camera" : "composite", p.value, A.labels, A instanceof un ? A.interpolation : void 0) : new A1(w ? "constant" : "source", p.value)) : zs([new Xn("", '"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);
12556
12576
  }
12557
12577
  class ko {
@@ -12565,18 +12585,18 @@ var WG = { exports: {} };
12565
12585
  return { _parameters: c._parameters, _specification: c._specification };
12566
12586
  }
12567
12587
  }
12568
- function ls(h) {
12588
+ function cs(h) {
12569
12589
  let c = null;
12570
12590
  if (h instanceof uo)
12571
- c = ls(h.result);
12591
+ c = cs(h.result);
12572
12592
  else if (h instanceof dr) {
12573
12593
  for (const p of h.args)
12574
- if (c = ls(p), c)
12594
+ if (c = cs(p), c)
12575
12595
  break;
12576
12596
  } else
12577
12597
  (h instanceof qt || h instanceof un) && h.input instanceof ho && h.input.name === "zoom" && (c = h);
12578
12598
  return c instanceof Xn || h.eachChild((p) => {
12579
- const g = ls(p);
12599
+ const g = cs(p);
12580
12600
  g instanceof Xn ? c = g : !c && g ? c = new Xn("", '"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.') : c && g && c !== g && (c = new Xn("", 'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'));
12581
12601
  }), c;
12582
12602
  }
@@ -12611,12 +12631,12 @@ var WG = { exports: {} };
12611
12631
  return !0;
12612
12632
  }
12613
12633
  }
12614
- const cs = { type: "boolean", default: !1, transition: !1, "property-type": "data-driven", expression: { interpolated: !1, parameters: ["zoom", "feature"] } };
12634
+ const us = { type: "boolean", default: !1, transition: !1, "property-type": "data-driven", expression: { interpolated: !1, parameters: ["zoom", "feature"] } };
12615
12635
  function K4(h) {
12616
12636
  if (h == null)
12617
12637
  return { filter: () => !0, needGeometry: !1 };
12618
12638
  M2(h) || (h = wn(h));
12619
- const c = _1(h, cs);
12639
+ const c = _1(h, us);
12620
12640
  if (c.result === "error")
12621
12641
  throw new Error(c.value.map((p) => `${p.key}: ${p.message}`).join(", "));
12622
12642
  return { filter: (p, g, w) => c.value.evaluate(p, g, {}, w), needGeometry: xl(h) };
@@ -12638,7 +12658,7 @@ var WG = { exports: {} };
12638
12658
  if (!h)
12639
12659
  return !0;
12640
12660
  const c = h[0];
12641
- return h.length <= 1 ? c !== "any" : c === "==" ? mn(h[1], h[2], "==") : c === "!=" ? Gi(mn(h[1], h[2], "==")) : c === "<" || c === ">" || c === "<=" || c === ">=" ? mn(h[1], h[2], c) : c === "any" ? (p = h.slice(1), ["any"].concat(p.map(wn))) : c === "all" ? ["all"].concat(h.slice(1).map(wn)) : c === "none" ? ["all"].concat(h.slice(1).map(wn).map(Gi)) : c === "in" ? us(h[1], h.slice(2)) : c === "!in" ? Gi(us(h[1], h.slice(2))) : c === "has" ? To(h[1]) : c !== "!has" || Gi(To(h[1]));
12661
+ return h.length <= 1 ? c !== "any" : c === "==" ? mn(h[1], h[2], "==") : c === "!=" ? Gi(mn(h[1], h[2], "==")) : c === "<" || c === ">" || c === "<=" || c === ">=" ? mn(h[1], h[2], c) : c === "any" ? (p = h.slice(1), ["any"].concat(p.map(wn))) : c === "all" ? ["all"].concat(h.slice(1).map(wn)) : c === "none" ? ["all"].concat(h.slice(1).map(wn).map(Gi)) : c === "in" ? hs(h[1], h.slice(2)) : c === "!in" ? Gi(hs(h[1], h.slice(2))) : c === "has" ? To(h[1]) : c !== "!has" || Gi(To(h[1]));
12642
12662
  var p;
12643
12663
  }
12644
12664
  function mn(h, c, p) {
@@ -12651,7 +12671,7 @@ var WG = { exports: {} };
12651
12671
  return [`filter-${p}`, h, c];
12652
12672
  }
12653
12673
  }
12654
- function us(h, c) {
12674
+ function hs(h, c) {
12655
12675
  if (c.length === 0)
12656
12676
  return !1;
12657
12677
  switch (h) {
@@ -12814,21 +12834,21 @@ var WG = { exports: {} };
12814
12834
  return p !== "categorical" || Tt !== "number" || isFinite(Lt) && Math.floor(Lt) === Lt ? p !== "categorical" && Tt === "number" && w !== void 0 && Lt < w ? [new ye(at.key, Et, "stop domain values must appear in ascending order")] : (w = Lt, p === "categorical" && Lt in A ? [new ye(at.key, Et, "stop domain values must be unique")] : (A[Lt] = !0, [])) : [new ye(at.key, Et, `integer expected, found ${Lt}`)];
12815
12835
  }
12816
12836
  }
12817
- function hs(h) {
12837
+ function ds(h) {
12818
12838
  const c = (h.expressionContext === "property" ? Co : _1)(O1(h.value), h.valueSpec);
12819
12839
  if (c.result === "error")
12820
12840
  return c.value.map((g) => new ye(`${h.key}${g.key}`, h.value, g.message));
12821
12841
  const p = c.value.expression || c.value._styleExpression.expression;
12822
12842
  if (h.expressionContext === "property" && h.propertyKey === "text-font" && !p.outputDefined())
12823
12843
  return [new ye(h.key, h.value, `Invalid data expression for "${h.propertyKey}". Output values must be contained as literals within the expression.`)];
12824
- if (h.expressionContext === "property" && h.propertyType === "layout" && !as(p))
12844
+ if (h.expressionContext === "property" && h.propertyType === "layout" && !ls(p))
12825
12845
  return [new ye(h.key, h.value, '"feature-state" data expressions are not supported with layout properties.')];
12826
- if (h.expressionContext === "filter" && !as(p))
12846
+ if (h.expressionContext === "filter" && !ls(p))
12827
12847
  return [new ye(h.key, h.value, '"feature-state" data expressions are not supported with filters.')];
12828
12848
  if (h.expressionContext && h.expressionContext.indexOf("cluster") === 0) {
12829
12849
  if (!La(p, ["zoom", "feature-state"]))
12830
12850
  return [new ye(h.key, h.value, '"zoom" and "feature-state" expressions are not supported with cluster properties.')];
12831
- if (h.expressionContext === "cluster-initial" && !ss(p))
12851
+ if (h.expressionContext === "cluster-initial" && !as(p))
12832
12852
  return [new ye(h.key, h.value, "Feature data expressions are not supported with initial expression part of cluster properties.")];
12833
12853
  }
12834
12854
  return [];
@@ -12838,7 +12858,7 @@ var WG = { exports: {} };
12838
12858
  return Array.isArray(g.values) ? g.values.indexOf(Dn(p)) === -1 && w.push(new ye(c, p, `expected one of [${g.values.join(", ")}], ${JSON.stringify(p)} found`)) : Object.keys(g.values).indexOf(Dn(p)) === -1 && w.push(new ye(c, p, `expected one of [${Object.keys(g.values).join(", ")}], ${JSON.stringify(p)} found`)), w;
12839
12859
  }
12840
12860
  function wa(h) {
12841
- return M2(O1(h.value)) ? hs(bi({}, h, { expressionContext: "filter", valueSpec: { value: "boolean" } })) : N3(h);
12861
+ return M2(O1(h.value)) ? ds(bi({}, h, { expressionContext: "filter", valueSpec: { value: "boolean" } })) : N3(h);
12842
12862
  }
12843
12863
  function N3(h) {
12844
12864
  const c = h.value, p = h.key;
@@ -12969,7 +12989,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
12969
12989
  if (C = Wi({ key: p, value: c, valueSpec: g.source_geojson, style: w, styleSpec: g, validateSpec: H, objectElementValidators: El }), c.cluster)
12970
12990
  for (const N in c.clusterProperties) {
12971
12991
  const [z, W] = c.clusterProperties[N], X = typeof z == "string" ? [z, ["accumulated"], ["get", N]] : z;
12972
- C.push(...hs({ key: `${p}.${N}.map`, value: W, validateSpec: H, expressionContext: "cluster-map" })), C.push(...hs({ key: `${p}.${N}.reduce`, value: X, validateSpec: H, expressionContext: "cluster-reduce" }));
12992
+ C.push(...ds({ key: `${p}.${N}.map`, value: W, validateSpec: H, expressionContext: "cluster-map" })), C.push(...ds({ key: `${p}.${N}.reduce`, value: X, validateSpec: H, expressionContext: "cluster-reduce" }));
12973
12993
  }
12974
12994
  return C;
12975
12995
  case "video":
@@ -13047,9 +13067,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13047
13067
  A = A.concat(g[C] ? h.validateSpec({ key: C, value: c[C], valueSpec: g[C], style: w, styleSpec: p }) : [new ye(C, c[C], `unknown property "${C}"`)]);
13048
13068
  return A;
13049
13069
  }, string: D3, formatted: function(h) {
13050
- return D3(h).length === 0 ? [] : hs(h);
13070
+ return D3(h).length === 0 ? [] : ds(h);
13051
13071
  }, resolvedImage: function(h) {
13052
- return D3(h).length === 0 ? [] : hs(h);
13072
+ return D3(h).length === 0 ? [] : ds(h);
13053
13073
  }, padding: function(h) {
13054
13074
  const c = h.key, p = h.value;
13055
13075
  if (kt(p) === "array") {
@@ -13073,7 +13093,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13073
13093
  }, sprite: Oc };
13074
13094
  function J4(h) {
13075
13095
  const c = h.value, p = h.valueSpec, g = h.styleSpec;
13076
- return h.validateSpec = J4, p.expression && ne(Dn(c)) ? Us(h) : p.expression && yi(O1(c)) ? hs(h) : p.type && Ml[p.type] ? Ml[p.type](h) : Wi(bi({}, h, { valueSpec: p.type ? g[p.type] : p }));
13096
+ return h.validateSpec = J4, p.expression && ne(Dn(c)) ? Us(h) : p.expression && yi(O1(c)) ? ds(h) : p.type && Ml[p.type] ? Ml[p.type](h) : Wi(bi({}, h, { valueSpec: p.type ? g[p.type] : p }));
13077
13097
  }
13078
13098
  function Tp(h) {
13079
13099
  const c = h.value, p = h.key, g = D3(h);
@@ -13083,7 +13103,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13083
13103
  let p = [];
13084
13104
  return p = p.concat(J4({ key: "", value: h, valueSpec: c.$root, styleSpec: c, style: h, validateSpec: J4, objectElementValidators: { glyphs: Tp, "*": () => [] } })), h.constants && (p = p.concat(S2({ key: "constants", value: h.constants, style: h, styleSpec: c, validateSpec: J4 }))), Cc(p);
13085
13105
  }
13086
- function ds(h) {
13106
+ function ps(h) {
13087
13107
  return function(c) {
13088
13108
  return h({ ...c, validateSpec: J4 });
13089
13109
  };
@@ -13096,7 +13116,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13096
13116
  return Cc(h.apply(this, c));
13097
13117
  };
13098
13118
  }
13099
- e2.source = H2(ds(C0)), e2.sprite = H2(ds(Oc)), e2.glyphs = H2(ds(Tp)), e2.light = H2(ds(Sc)), e2.sky = H2(ds(Hc)), e2.terrain = H2(ds(Ac)), e2.layer = H2(ds(Mc)), e2.filter = H2(ds(wa)), e2.paintProperty = H2(ds(Gs)), e2.layoutProperty = H2(ds(Ec));
13119
+ e2.source = H2(ps(C0)), e2.sprite = H2(ps(Oc)), e2.glyphs = H2(ps(Tp)), e2.light = H2(ps(Sc)), e2.sky = H2(ps(Hc)), e2.terrain = H2(ps(Ac)), e2.layer = H2(ps(Mc)), e2.filter = H2(ps(wa)), e2.paintProperty = H2(ps(Gs)), e2.layoutProperty = H2(ps(Ec));
13100
13120
  const F3 = e2, p_ = F3.light, T_ = F3.sky, fp = F3.paintProperty, Qp = F3.layoutProperty;
13101
13121
  function kc(h, c) {
13102
13122
  let p = !1;
@@ -13526,7 +13546,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13526
13546
  return w;
13527
13547
  }
13528
13548
  }
13529
- class ps {
13549
+ class Ts {
13530
13550
  constructor(c, p, g) {
13531
13551
  this.property = c, this.value = p, this.parameters = g;
13532
13552
  }
@@ -13567,17 +13587,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13567
13587
  this.specification = c, this.overrides = p;
13568
13588
  }
13569
13589
  possiblyEvaluate(c, p, g, w) {
13570
- return new ps(this, c.expression.kind === "constant" || c.expression.kind === "camera" ? { kind: "constant", value: c.expression.evaluate(p, null, {}, g, w) } : c.expression, p);
13590
+ return new Ts(this, c.expression.kind === "constant" || c.expression.kind === "camera" ? { kind: "constant", value: c.expression.evaluate(p, null, {}, g, w) } : c.expression, p);
13571
13591
  }
13572
13592
  interpolate(c, p, g) {
13573
13593
  if (c.value.kind !== "constant" || p.value.kind !== "constant")
13574
13594
  return c;
13575
13595
  if (c.value.value === void 0 || p.value.value === void 0)
13576
- return new ps(this, { kind: "constant", value: void 0 }, c.parameters);
13596
+ return new Ts(this, { kind: "constant", value: void 0 }, c.parameters);
13577
13597
  const w = xr[this.specification.type];
13578
13598
  if (w) {
13579
13599
  const H = w(c.value.value, p.value.value, g);
13580
- return new ps(this, { kind: "constant", value: H }, c.parameters);
13600
+ return new Ts(this, { kind: "constant", value: H }, c.parameters);
13581
13601
  }
13582
13602
  return c;
13583
13603
  }
@@ -13588,16 +13608,16 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13588
13608
  class Ol extends Mr {
13589
13609
  possiblyEvaluate(c, p, g, w) {
13590
13610
  if (c.value === void 0)
13591
- return new ps(this, { kind: "constant", value: void 0 }, p);
13611
+ return new Ts(this, { kind: "constant", value: void 0 }, p);
13592
13612
  if (c.expression.kind === "constant") {
13593
13613
  const H = c.expression.evaluate(p, null, {}, g, w), A = c.property.specification.type === "resolvedImage" && typeof H != "string" ? H.name : H, C = this._calculate(A, A, A, p);
13594
- return new ps(this, { kind: "constant", value: C }, p);
13614
+ return new Ts(this, { kind: "constant", value: C }, p);
13595
13615
  }
13596
13616
  if (c.expression.kind === "camera") {
13597
13617
  const H = this._calculate(c.expression.evaluate({ zoom: p.zoom - 1 }), c.expression.evaluate({ zoom: p.zoom }), c.expression.evaluate({ zoom: p.zoom + 1 }), p);
13598
- return new ps(this, { kind: "constant", value: H }, p);
13618
+ return new Ts(this, { kind: "constant", value: H }, p);
13599
13619
  }
13600
- return new ps(this, c.expression, p);
13620
+ return new Ts(this, c.expression, p);
13601
13621
  }
13602
13622
  evaluate(c, p, g, w, H, A) {
13603
13623
  if (c.kind === "source") {
@@ -13730,7 +13750,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
13730
13750
  isStateDependent() {
13731
13751
  for (const c in this.paint._values) {
13732
13752
  const p = this.paint.get(c);
13733
- if (p instanceof ps && Jo(p.property.specification) && (p.value.kind === "source" || p.value.kind === "composite") && p.value.isStateDependent)
13753
+ if (p instanceof Ts && Jo(p.property.specification) && (p.value.kind === "source" || p.value.kind === "composite") && p.value.isStateDependent)
13734
13754
  return !0;
13735
13755
  }
13736
13756
  return !1;
@@ -14364,7 +14384,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14364
14384
  }
14365
14385
  class q1 extends j {
14366
14386
  }
14367
- class Ts extends j {
14387
+ class fs extends j {
14368
14388
  }
14369
14389
  class o6 extends J {
14370
14390
  }
@@ -14663,7 +14683,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14663
14683
  if (!g(H))
14664
14684
  continue;
14665
14685
  const A = c.paint.get(H);
14666
- if (!(A instanceof ps && Jo(A.property.specification)))
14686
+ if (!(A instanceof Ts && Jo(A.property.specification)))
14667
14687
  continue;
14668
14688
  const C = gJ(H, c.type), N = A.value, z = A.property.specification.type, W = A.property.useIntegerZoom, X = A.property.specification["property-type"], tt = X === "cross-faded" || X === "cross-faded-data-driven";
14669
14689
  if (N.kind === "constant")
@@ -15477,7 +15497,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15477
15497
  }
15478
15498
  class I_ {
15479
15499
  constructor(c) {
15480
- this.zoom = c.zoom, this.overscaling = c.overscaling, this.layers = c.layers, this.layerIds = this.layers.map((p) => p.id), this.index = c.index, this.hasPattern = !1, this.patternFeatures = [], this.layoutVertexArray = new Ts(), this.indexArray = new O2(), this.indexArray2 = new b1(), this.programConfigurations = new N0(c.layers, c.zoom), this.segments = new an(), this.segments2 = new an(), this.stateDependentLayerIds = this.layers.filter((p) => p.isStateDependent()).map((p) => p.id);
15500
+ this.zoom = c.zoom, this.overscaling = c.overscaling, this.layers = c.layers, this.layerIds = this.layers.map((p) => p.id), this.index = c.index, this.hasPattern = !1, this.patternFeatures = [], this.layoutVertexArray = new fs(), this.indexArray = new O2(), this.indexArray2 = new b1(), this.programConfigurations = new N0(c.layers, c.zoom), this.segments = new an(), this.segments2 = new an(), this.stateDependentLayerIds = this.layers.filter((p) => p.isStateDependent()).map((p) => p.id);
15481
15501
  }
15482
15502
  populate(c, p, g) {
15483
15503
  this.hasPattern = C_("fill", this.layers, p);
@@ -15812,7 +15832,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15812
15832
  for (const sr of ut) {
15813
15833
  const rr = [], ue = [];
15814
15834
  for (const gr of sr) {
15815
- const pr = gr.x, Ir = gr.y, Fn = Et[0] * pr + Et[4] * Ir + Et[12], Pn = Et[1] * pr + Et[5] * Ir + Et[13], p1 = Et[2] * pr + Et[6] * Ir + Et[14], fs = Et[3] * pr + Et[7] * Ir + Et[15], V1 = p1 + _e, T1 = fs + Xe, go = Fn + Er, yo = Pn + je, vo = p1 + Re, Oi = fs + Qr, f1 = new f((Fn + Bt) / T1, (Pn + ee) / T1);
15835
+ const pr = gr.x, Ir = gr.y, Fn = Et[0] * pr + Et[4] * Ir + Et[12], Pn = Et[1] * pr + Et[5] * Ir + Et[13], p1 = Et[2] * pr + Et[6] * Ir + Et[14], Qs = Et[3] * pr + Et[7] * Ir + Et[15], V1 = p1 + _e, T1 = Qs + Xe, go = Fn + Er, yo = Pn + je, vo = p1 + Re, Oi = Qs + Qr, f1 = new f((Fn + Bt) / T1, (Pn + ee) / T1);
15816
15836
  f1.z = V1 / T1, rr.push(f1);
15817
15837
  const X1 = new f(go / Oi, yo / Oi);
15818
15838
  X1.z = vo / Oi, ue.push(X1);
@@ -16647,7 +16667,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16647
16667
  const Pt = [], Bt = { positionedLines: Pt, text: Tt.toString(), top: W[1], bottom: W[1], left: W[0], right: W[0], writingMode: X, iconsInText: !1, verticalizable: !1 };
16648
16668
  return function(ee, _e, Xe, Er, je, Re, Qr, sr, rr, ue, gr, pr) {
16649
16669
  let Ir = 0, Fn = Yc, Pn = 0, p1 = 0;
16650
- const fs = sr === "right" ? 1 : sr === "left" ? 0 : 0.5;
16670
+ const Qs = sr === "right" ? 1 : sr === "left" ? 0 : 0.5;
16651
16671
  let V1 = 0;
16652
16672
  for (const Oi of je) {
16653
16673
  Oi.trim();
@@ -16662,15 +16682,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16662
16682
  for (let No = 0; No < Oi.length(); No++) {
16663
16683
  const fn = Oi.getSection(No), Un = Oi.getSectionIndex(No), ii = Oi.getCharCode(No);
16664
16684
  let s2 = 0, xi = null, Zl = null, Ha = null, Aa = r1;
16665
- const Qs = !(rr === s.ah.horizontal || !gr && !Nc(ii) || gr && (Pp[ii] || (T1 = ii, new RegExp("\\p{sc=Arab}", "u").test(String.fromCodePoint(T1)))));
16685
+ const ms = !(rr === s.ah.horizontal || !gr && !Nc(ii) || gr && (Pp[ii] || (T1 = ii, new RegExp("\\p{sc=Arab}", "u").test(String.fromCodePoint(T1)))));
16666
16686
  if (fn.imageName) {
16667
16687
  const P2 = Er[fn.imageName];
16668
16688
  if (!P2)
16669
16689
  continue;
16670
16690
  Ha = fn.imageName, ee.iconsInText = ee.iconsInText || !0, Zl = P2.paddedRect;
16671
16691
  const L1 = P2.displaySize;
16672
- fn.scale = fn.scale * r1 / pr, xi = { width: L1[0], height: L1[1], left: Ro, top: -dC, advance: Qs ? L1[1] : L1[0] }, s2 = X1 + (r1 - L1[1] * fn.scale), Aa = xi.advance;
16673
- const U3 = Qs ? L1[0] * fn.scale - r1 * f1 : L1[1] * fn.scale - r1 * f1;
16692
+ fn.scale = fn.scale * r1 / pr, xi = { width: L1[0], height: L1[1], left: Ro, top: -dC, advance: ms ? L1[1] : L1[0] }, s2 = X1 + (r1 - L1[1] * fn.scale), Aa = xi.advance;
16693
+ const U3 = ms ? L1[0] * fn.scale - r1 * f1 : L1[1] * fn.scale - r1 * f1;
16674
16694
  U3 > 0 && U3 > N1 && (N1 = U3);
16675
16695
  } else {
16676
16696
  const P2 = Xe[fn.fontStack], L1 = P2 && P2[ii];
@@ -16684,9 +16704,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16684
16704
  }
16685
16705
  s2 = (f1 - fn.scale) * r1;
16686
16706
  }
16687
- Qs ? (ee.verticalizable = !0, _o.push({ glyph: ii, imageName: Ha, x: Ir, y: Fn + s2, vertical: Qs, scale: fn.scale, fontStack: fn.fontStack, sectionIndex: Un, metrics: xi, rect: Zl }), Ir += Aa * fn.scale + ue) : (_o.push({ glyph: ii, imageName: Ha, x: Ir, y: Fn + s2, vertical: Qs, scale: fn.scale, fontStack: fn.fontStack, sectionIndex: Un, metrics: xi, rect: Zl }), Ir += xi.advance * fn.scale + ue);
16707
+ ms ? (ee.verticalizable = !0, _o.push({ glyph: ii, imageName: Ha, x: Ir, y: Fn + s2, vertical: ms, scale: fn.scale, fontStack: fn.fontStack, sectionIndex: Un, metrics: xi, rect: Zl }), Ir += Aa * fn.scale + ue) : (_o.push({ glyph: ii, imageName: Ha, x: Ir, y: Fn + s2, vertical: ms, scale: fn.scale, fontStack: fn.fontStack, sectionIndex: Un, metrics: xi, rect: Zl }), Ir += xi.advance * fn.scale + ue);
16688
16708
  }
16689
- _o.length !== 0 && (Pn = Math.max(Ir - ue, Pn), ktt(_o, 0, _o.length - 1, fs, N1)), Ir = 0;
16709
+ _o.length !== 0 && (Pn = Math.max(Ir - ue, Pn), ktt(_o, 0, _o.length - 1, Qs, N1)), Ir = 0;
16690
16710
  const I2 = Re * f1 + N1;
16691
16711
  R1.lineOffset = Math.max(N1, X1), Fn += I2, p1 = Math.max(I2, p1), ++V1;
16692
16712
  }
@@ -16699,7 +16719,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16699
16719
  for (const s2 of Oi)
16700
16720
  for (const xi of s2.positionedGlyphs)
16701
16721
  xi.x += Un, xi.y += ii;
16702
- })(ee.positionedLines, fs, yo, vo, Pn, p1, Re, go, je.length), ee.top += -vo * go, ee.bottom = ee.top + go, ee.left += -yo * Pn, ee.right = ee.left + Pn;
16722
+ })(ee.positionedLines, Qs, yo, vo, Pn, p1, Re, go, je.length), ee.top += -vo * go, ee.bottom = ee.top + go, ee.left += -yo * Pn, ee.right = ee.left + Pn;
16703
16723
  }(Bt, c, p, g, Lt, A, C, N, X, z, tt, ut), !function(ee) {
16704
16724
  for (const _e of ee)
16705
16725
  if (_e.positionedGlyphs.length !== 0)
@@ -17189,7 +17209,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17189
17209
  continue;
17190
17210
  const p = this.paint.get(c), g = new wC(p), w = new gi(g, p.property.specification);
17191
17211
  let H = null;
17192
- H = p.value.kind === "constant" || p.value.kind === "source" ? new A1("source", w) : new Ai("composite", w, p.value.zoomStops), this.paint._values[c] = new ps(p.property, H, p.parameters);
17212
+ H = p.value.kind === "constant" || p.value.kind === "source" ? new A1("source", w) : new Ai("composite", w, p.value.zoomStops), this.paint._values[c] = new Ts(p.property, H, p.parameters);
17193
17213
  }
17194
17214
  }
17195
17215
  _handleOverridablePaintPropertyUpdate(c, p, g) {
@@ -17779,7 +17799,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17779
17799
  (H.textFitWidth || H.textFitHeight) && (z = yC(h)), Et = Np(W, 0, ue[0]), Pt = Np(X, 0, ue[1]), $t = Np(W, ue[0], ue[2]), Bt = Np(X, ue[1], ue[3]), ee = ue[0] - Et, Xe = ue[1] - Pt, _e = gr - $t, Er = pr - Bt;
17780
17800
  }
17781
17801
  const je = z.x1, Re = z.y1, Qr = z.x2 - je, sr = z.y2 - Re, rr = (ue, gr, pr, Ir) => {
17782
- const Fn = Dp(ue.stretch - Et, $t, Qr, je), Pn = Fp(ue.fixed - ee, _e, ue.stretch, at), p1 = Dp(gr.stretch - Pt, Bt, sr, Re), fs = Fp(gr.fixed - Xe, Er, gr.stretch, ut), V1 = Dp(pr.stretch - Et, $t, Qr, je), T1 = Fp(pr.fixed - ee, _e, pr.stretch, at), go = Dp(Ir.stretch - Pt, Bt, sr, Re), yo = Fp(Ir.fixed - Xe, Er, Ir.stretch, ut), vo = new f(Fn, p1), Oi = new f(V1, p1), f1 = new f(V1, go), X1 = new f(Fn, go), R1 = new f(Pn / A, fs / A), _o = new f(T1 / A, yo / A), N1 = c * Math.PI / 180;
17802
+ const Fn = Dp(ue.stretch - Et, $t, Qr, je), Pn = Fp(ue.fixed - ee, _e, ue.stretch, at), p1 = Dp(gr.stretch - Pt, Bt, sr, Re), Qs = Fp(gr.fixed - Xe, Er, gr.stretch, ut), V1 = Dp(pr.stretch - Et, $t, Qr, je), T1 = Fp(pr.fixed - ee, _e, pr.stretch, at), go = Dp(Ir.stretch - Pt, Bt, sr, Re), yo = Fp(Ir.fixed - Xe, Er, Ir.stretch, ut), vo = new f(Fn, p1), Oi = new f(V1, p1), f1 = new f(V1, go), X1 = new f(Fn, go), R1 = new f(Pn / A, Qs / A), _o = new f(T1 / A, yo / A), N1 = c * Math.PI / 180;
17783
17803
  if (N1) {
17784
17804
  const fn = Math.sin(N1), Un = Math.cos(N1), ii = [Un, -fn, fn, Un];
17785
17805
  vo._matMult(ii), Oi._matMult(ii), X1._matMult(ii), f1._matMult(ii);
@@ -18037,9 +18057,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18037
18057
  let sr;
18038
18058
  g && Qr !== "none" && (h.allowVerticalPlacement && p.vertical && (sr = vC(g, p.vertical, Qr, tt.get("icon-text-fit-padding"), at, Tt)), ut && (g = vC(g, ut, Qr, tt.get("icon-text-fit-padding"), at, Tt)));
18039
18059
  const rr = (ue, gr) => {
18040
- gr.x < 0 || gr.x >= Zi || gr.y < 0 || gr.y >= Zi || function(pr, Ir, Fn, Pn, p1, fs, V1, T1, go, yo, vo, Oi, f1, X1, R1, _o, N1, I2, No, fn, Un, ii, s2, xi, Zl) {
18060
+ gr.x < 0 || gr.x >= Zi || gr.y < 0 || gr.y >= Zi || function(pr, Ir, Fn, Pn, p1, Qs, V1, T1, go, yo, vo, Oi, f1, X1, R1, _o, N1, I2, No, fn, Un, ii, s2, xi, Zl) {
18041
18061
  const Ha = pr.addToLineVertexArray(Ir, Fn);
18042
- let Aa, Qs, P2, L1, U3 = 0, ou = 0, ek = 0, rk = 0, ab = -1, lb = -1;
18062
+ let Aa, ms, P2, L1, U3 = 0, ou = 0, ek = 0, rk = 0, ab = -1, lb = -1;
18043
18063
  const G3 = {};
18044
18064
  let nk = Pl("");
18045
18065
  if (pr.allowVerticalPlacement && Pn.vertical) {
@@ -18048,7 +18068,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18048
18068
  }
18049
18069
  if (p1) {
18050
18070
  const K1 = T1.layout.get("icon-rotate").evaluate(Un, {}), V2 = T1.layout.get("icon-text-fit") !== "none", j0 = $C(p1, K1, s2, V2), Zs = V1 ? $C(V1, K1, s2, V2) : void 0;
18051
- Qs = new Bp(go, Ir, yo, vo, Oi, p1, N1, I2, !1, K1), U3 = 4 * j0.length;
18071
+ ms = new Bp(go, Ir, yo, vo, Oi, p1, N1, I2, !1, K1), U3 = 4 * j0.length;
18052
18072
  const z0 = pr.iconSizeData;
18053
18073
  let Oa = null;
18054
18074
  z0.kind === "source" ? (Oa = [Sa * T1.layout.get("icon-size").evaluate(Un, {})], Oa[0] > p6 && It(`${pr.layerIds[0]}: Value for "icon-size" is >= ${tu}. Reduce your "icon-size".`)) : z0.kind === "composite" && (Oa = [Sa * ii.compositeIconSizes[0].evaluate(Un, {}, xi), Sa * ii.compositeIconSizes[1].evaluate(Un, {}, xi)], (Oa[0] > p6 || Oa[1] > p6) && It(`${pr.layerIds[0]}: Value for "icon-size" is >= ${tu}. Reduce your "icon-size".`)), pr.addSymbols(pr.icon, j0, Oa, fn, No, Un, s.ah.none, Ir, Ha.lineStartIndex, Ha.lineLength, -1, xi), ab = pr.icon.placedSymbolArray.length - 1, Zs && (ou = 4 * Zs.length, pr.addSymbols(pr.icon, Zs, Oa, fn, No, Un, s.ah.vertical, Ir, Ha.lineStartIndex, Ha.lineLength, -1, xi), lb = pr.icon.placedSymbolArray.length - 1);
@@ -18062,14 +18082,14 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18062
18082
  Aa = new Bp(go, Ir, yo, vo, Oi, V2, f1, X1, R1, Zs);
18063
18083
  }
18064
18084
  const j0 = V2.positionedLines.length === 1;
18065
- if (ek += XC(pr, Ir, V2, fs, T1, R1, Un, _o, Ha, Pn.vertical ? s.ah.horizontal : s.ah.horizontalOnly, j0 ? ik : [K1], G3, ab, ii, xi), j0)
18085
+ if (ek += XC(pr, Ir, V2, Qs, T1, R1, Un, _o, Ha, Pn.vertical ? s.ah.horizontal : s.ah.horizontalOnly, j0 ? ik : [K1], G3, ab, ii, xi), j0)
18066
18086
  break;
18067
18087
  }
18068
- Pn.vertical && (rk += XC(pr, Ir, Pn.vertical, fs, T1, R1, Un, _o, Ha, s.ah.vertical, ["vertical"], G3, lb, ii, xi));
18069
- const Jtt = Aa ? Aa.boxStartIndex : pr.collisionBoxArray.length, tet = Aa ? Aa.boxEndIndex : pr.collisionBoxArray.length, eet = P2 ? P2.boxStartIndex : pr.collisionBoxArray.length, ret = P2 ? P2.boxEndIndex : pr.collisionBoxArray.length, net = Qs ? Qs.boxStartIndex : pr.collisionBoxArray.length, iet = Qs ? Qs.boxEndIndex : pr.collisionBoxArray.length, oet = L1 ? L1.boxStartIndex : pr.collisionBoxArray.length, set = L1 ? L1.boxEndIndex : pr.collisionBoxArray.length;
18088
+ Pn.vertical && (rk += XC(pr, Ir, Pn.vertical, Qs, T1, R1, Un, _o, Ha, s.ah.vertical, ["vertical"], G3, lb, ii, xi));
18089
+ const Jtt = Aa ? Aa.boxStartIndex : pr.collisionBoxArray.length, tet = Aa ? Aa.boxEndIndex : pr.collisionBoxArray.length, eet = P2 ? P2.boxStartIndex : pr.collisionBoxArray.length, ret = P2 ? P2.boxEndIndex : pr.collisionBoxArray.length, net = ms ? ms.boxStartIndex : pr.collisionBoxArray.length, iet = ms ? ms.boxEndIndex : pr.collisionBoxArray.length, oet = L1 ? L1.boxStartIndex : pr.collisionBoxArray.length, set = L1 ? L1.boxEndIndex : pr.collisionBoxArray.length;
18070
18090
  let Ws = -1;
18071
18091
  const zp = (K1, V2) => K1 && K1.circleDiameter ? Math.max(K1.circleDiameter, V2) : V2;
18072
- Ws = zp(Aa, Ws), Ws = zp(P2, Ws), Ws = zp(Qs, Ws), Ws = zp(L1, Ws);
18092
+ Ws = zp(Aa, Ws), Ws = zp(P2, Ws), Ws = zp(ms, Ws), Ws = zp(L1, Ws);
18073
18093
  const ok = Ws > -1 ? 1 : 0;
18074
18094
  ok && (Ws *= Zl / r1), pr.glyphOffsetArray.length >= Gl.MAX_GLYPHS && It("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), Un.sortKey !== void 0 && pr.addToSortKeyRanges(pr.symbolInstances.length, Un.sortKey);
18075
18095
  const aet = qC(T1, Un, xi), [cet, uet] = function(K1, V2) {
@@ -18123,7 +18143,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18123
18143
  const fn = Er[rr.imageName];
18124
18144
  pr = fn.sdf, Ir = fn.pixelRatio, gr = Ro / Ir;
18125
18145
  }
18126
- const fs = _e ? [rr.x + p1, rr.y] : [0, 0];
18146
+ const Qs = _e ? [rr.x + p1, rr.y] : [0, 0];
18127
18147
  let V1 = _e ? [0, 0] : [rr.x + p1 + Bt[0], rr.y + Bt[1] - Fn], T1 = [0, 0];
18128
18148
  Pn && (T1 = V1, V1 = [0, 0]);
18129
18149
  const go = rr.metrics.isDoubleResolution ? 2 : 1, yo = (rr.metrics.left - gr) * rr.scale - p1 + V1[0], vo = (-rr.metrics.top - gr) * rr.scale + V1[1], Oi = yo + ue.w / go * rr.scale / Ir, f1 = vo + ue.h / go * rr.scale / Ir, X1 = new f(yo, vo), R1 = new f(Oi, vo), _o = new f(yo, f1), N1 = new f(Oi, f1);
@@ -18136,7 +18156,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18136
18156
  X1._matMult(ii), R1._matMult(ii), _o._matMult(ii), N1._matMult(ii);
18137
18157
  }
18138
18158
  const I2 = new f(0, 0), No = new f(0, 0);
18139
- Qr.push({ tl: X1, tr: R1, bl: _o, br: N1, tex: ue, writingMode: Pt.writingMode, glyphOffset: fs, sectionIndex: rr.sectionIndex, isSDF: pr, pixelOffsetTL: I2, pixelOffsetBR: No, minFontScaleX: 0, minFontScaleY: 0 });
18159
+ Qr.push({ tl: X1, tr: R1, bl: _o, br: N1, tex: ue, writingMode: Pt.writingMode, glyphOffset: Qs, sectionIndex: rr.sectionIndex, isSDF: pr, pixelOffsetTL: I2, pixelOffsetBR: No, minFontScaleX: 0, minFontScaleY: 0 });
18140
18160
  }
18141
18161
  return Qr;
18142
18162
  }(0, p, C, w, H, A, g, h.allowVerticalPlacement), Lt = h.textSizeData;
@@ -18802,12 +18822,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18802
18822
  Br.version === 1 && s.w(`Vector tile source "${this.source}" layer "${br}" does not use vector tile spec v2 and therefore may have some rendering errors.`);
18803
18823
  const cn = At.encode(br), Kn = [];
18804
18824
  for (let Li = 0; Li < Br.length; Li++) {
18805
- const Ri = Br.feature(Li), J2 = Vt.getId(Ri, br);
18806
- Kn.push({ feature: Ri, id: J2, index: Li, sourceLayerIndex: cn });
18825
+ const Ri = Br.feature(Li), ts = Vt.getId(Ri, br);
18826
+ Kn.push({ feature: Ri, id: ts, index: Li, sourceLayerIndex: cn });
18807
18827
  }
18808
18828
  for (const Li of Yt[br]) {
18809
18829
  const Ri = Li[0];
18810
- Ri.source !== this.source && s.w(`layer.source = ${Ri.source} does not equal this.source = ${this.source}`), Ri.minzoom && this.zoom < Math.floor(Ri.minzoom) || Ri.maxzoom && this.zoom >= Ri.maxzoom || Ri.visibility !== "none" && (T(Li, this.zoom, pt), (jt[Ri.id] = Ri.createBucket({ index: Vt.bucketLayerIDs.length, layers: Li, zoom: this.zoom, pixelRatio: this.pixelRatio, overscaling: this.overscaling, collisionBoxArray: this.collisionBoxArray, sourceLayerIndex: cn, sourceID: this.source })).populate(Kn, St, this.tileID.canonical), Vt.bucketLayerIDs.push(Li.map((J2) => J2.id)));
18830
+ Ri.source !== this.source && s.w(`layer.source = ${Ri.source} does not equal this.source = ${this.source}`), Ri.minzoom && this.zoom < Math.floor(Ri.minzoom) || Ri.maxzoom && this.zoom >= Ri.maxzoom || Ri.visibility !== "none" && (T(Li, this.zoom, pt), (jt[Ri.id] = Ri.createBucket({ index: Vt.bucketLayerIDs.length, layers: Li, zoom: this.zoom, pixelRatio: this.pixelRatio, overscaling: this.overscaling, collisionBoxArray: this.collisionBoxArray, sourceLayerIndex: cn, sourceID: this.source })).populate(Kn, St, this.tileID.canonical), Vt.bucketLayerIDs.push(Li.map((ts) => ts.id)));
18811
18831
  }
18812
18832
  }
18813
18833
  const ae = s.aF(St.glyphDependencies, (br) => Object.keys(br).map(Number));
@@ -22399,8 +22419,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
22399
22419
  for (let ri = 0; ri < nn; ri++) {
22400
22420
  const C1 = ri / Math.max(nn - 1, 1), A2 = ur.lerp(C1), ni = A2.x + Se, Qo = A2.y + Se;
22401
22421
  Ht.push(ni, Qo, tr, 0);
22402
- const Z1 = ni - tr, k1 = Qo - tr, q1 = ni + tr, Ts = Qo + tr;
22403
- if (De = De && this.isOffscreen(Z1, k1, q1, Ts), we = we || this.isInsideGrid(Z1, k1, q1, Ts), l !== "always" && this.grid.hitTestCircle(ni, Qo, tr, l, lt) && (he = !0, !Y))
22422
+ const Z1 = ni - tr, k1 = Qo - tr, q1 = ni + tr, fs = Qo + tr;
22423
+ if (De = De && this.isOffscreen(Z1, k1, q1, fs), we = we || this.isInsideGrid(Z1, k1, q1, fs), l !== "always" && this.grid.hitTestCircle(ni, Qo, tr, l, lt) && (he = !0, !Y))
22404
22424
  return { circles: [], offscreen: !1, collisionDetected: he };
22405
22425
  }
22406
22426
  }
@@ -22585,8 +22605,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
22585
22605
  return;
22586
22606
  if (ft)
22587
22607
  return void (this.placements[Pe.crossTileID] = new br(!1, !1, !1));
22588
- let nn = !1, ri = !1, C1 = !0, A2 = null, ni = { box: null, placeable: !1, offscreen: null }, Qo = { box: null, placeable: !1, offscreen: null }, Z1 = null, k1 = null, q1 = null, Ts = 0, o6 = 0, kl = 0;
22589
- $e.textFeatureIndex ? Ts = $e.textFeatureIndex : Pe.useRuntimeCollisionCircles && (Ts = Pe.featureIndex), $e.verticalTextFeatureIndex && (o6 = $e.verticalTextFeatureIndex);
22608
+ let nn = !1, ri = !1, C1 = !0, A2 = null, ni = { box: null, placeable: !1, offscreen: null }, Qo = { box: null, placeable: !1, offscreen: null }, Z1 = null, k1 = null, q1 = null, fs = 0, o6 = 0, kl = 0;
22609
+ $e.textFeatureIndex ? fs = $e.textFeatureIndex : Pe.useRuntimeCollisionCircles && (fs = Pe.featureIndex), $e.verticalTextFeatureIndex && (o6 = $e.verticalTextFeatureIndex);
22590
22610
  const s6 = $e.textBox;
22591
22611
  if (s6) {
22592
22612
  const i2 = (b1) => {
@@ -22654,7 +22674,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
22654
22674
  const n2 = Ht || Pe.numHorizontalGlyphVertices === 0 && Pe.numVerticalGlyphVertices === 0, Il = Ot || Pe.numIconVertices === 0;
22655
22675
  n2 || Il ? Il ? n2 || (ri = ri && nn) : nn = ri && nn : ri = nn = ri && nn;
22656
22676
  const Bc = ri && q1.placeable;
22657
- if (nn && Z1.placeable && this.collisionIndex.insertCollisionBox(Z1.box, bt, M.get("text-ignore-placement"), b.bucketInstanceId, Qo && Qo.placeable && o6 ? o6 : Ts, Mt.ID), Bc && this.collisionIndex.insertCollisionBox(q1.box, Dt, M.get("icon-ignore-placement"), b.bucketInstanceId, kl, Mt.ID), k1 && nn && this.collisionIndex.insertCollisionCircles(k1.circles, bt, M.get("text-ignore-placement"), b.bucketInstanceId, Ts, Mt.ID), v && this.storeCollisionData(b.bucketInstanceId, kr, $e, Z1, q1, k1), Pe.crossTileID === 0)
22677
+ if (nn && Z1.placeable && this.collisionIndex.insertCollisionBox(Z1.box, bt, M.get("text-ignore-placement"), b.bucketInstanceId, Qo && Qo.placeable && o6 ? o6 : fs, Mt.ID), Bc && this.collisionIndex.insertCollisionBox(q1.box, Dt, M.get("icon-ignore-placement"), b.bucketInstanceId, kl, Mt.ID), k1 && nn && this.collisionIndex.insertCollisionCircles(k1.circles, bt, M.get("text-ignore-placement"), b.bucketInstanceId, fs, Mt.ID), v && this.storeCollisionData(b.bucketInstanceId, kr, $e, Z1, q1, k1), Pe.crossTileID === 0)
22658
22678
  throw new Error("symbolInstance.crossTileID can't be 0");
22659
22679
  if (b.bucketInstanceId === 0)
22660
22680
  throw new Error("bucket.bucketInstanceId can't be 0");
@@ -22777,13 +22797,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
22777
22797
  }
22778
22798
  if (Ae.textBox || Ae.verticalTextBox) {
22779
22799
  let Pe;
22780
- Ae.textBox && (Pe = De), Ae.verticalTextBox && (Pe = tr), J2(l.textCollisionBox.collisionVertexArray, Wt.text.placed, !Nr || Pe, Oe.text, ur.x, ur.y);
22800
+ Ae.textBox && (Pe = De), Ae.verticalTextBox && (Pe = tr), ts(l.textCollisionBox.collisionVertexArray, Wt.text.placed, !Nr || Pe, Oe.text, ur.x, ur.y);
22781
22801
  }
22782
22802
  }
22783
22803
  if (Ae.iconBox || Ae.verticalIconBox) {
22784
22804
  const Nr = !!(!tr && Ae.verticalIconBox);
22785
22805
  let Pe;
22786
- Ae.iconBox && (Pe = Nr), Ae.verticalIconBox && (Pe = !Nr), J2(l.iconCollisionBox.collisionVertexArray, Wt.icon.placed, Pe, Oe.icon, ft ? ur.x : 0, ft ? ur.y : 0);
22806
+ Ae.iconBox && (Pe = Nr), Ae.verticalIconBox && (Pe = !Nr), ts(l.iconCollisionBox.collisionVertexArray, Wt.icon.placed, Pe, Oe.icon, ft ? ur.x : 0, ft ? ur.y : 0);
22787
22807
  }
22788
22808
  }
22789
22809
  }
@@ -22814,19 +22834,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
22814
22834
  this.stale = !0;
22815
22835
  }
22816
22836
  }
22817
- function J2(S, l, m, v, b, M) {
22837
+ function ts(S, l, m, v, b, M) {
22818
22838
  v && v.length !== 0 || (v = [0, 0, 0, 0]);
22819
22839
  const V = v[0] - Se, D = v[1] - Se, j = v[2] - Se, Z = v[3] - Se;
22820
22840
  S.emplaceBack(l ? 1 : 0, m ? 1 : 0, b || 0, M || 0, V, D), S.emplaceBack(l ? 1 : 0, m ? 1 : 0, b || 0, M || 0, j, D), S.emplaceBack(l ? 1 : 0, m ? 1 : 0, b || 0, M || 0, j, Z), S.emplaceBack(l ? 1 : 0, m ? 1 : 0, b || 0, M || 0, V, Z);
22821
22841
  }
22822
- const tn = Math.pow(2, 25), zi = Math.pow(2, 24), lo = Math.pow(2, 17), Xr = Math.pow(2, 16), Yn = Math.pow(2, 9), ts = Math.pow(2, 8), _n = Math.pow(2, 1);
22842
+ const tn = Math.pow(2, 25), zi = Math.pow(2, 24), lo = Math.pow(2, 17), Xr = Math.pow(2, 16), Yn = Math.pow(2, 9), es = Math.pow(2, 8), _n = Math.pow(2, 1);
22823
22843
  function pn(S) {
22824
22844
  if (S.opacity === 0 && !S.placed)
22825
22845
  return 0;
22826
22846
  if (S.opacity === 1 && S.placed)
22827
22847
  return 4294967295;
22828
22848
  const l = S.placed ? 1 : 0, m = Math.floor(127 * S.opacity);
22829
- return m * tn + l * zi + m * lo + l * Xr + m * Yn + l * ts + m * _n + l;
22849
+ return m * tn + l * zi + m * lo + l * Xr + m * Yn + l * es + m * _n + l;
22830
22850
  }
22831
22851
  const co = 0;
22832
22852
  function u1() {
@@ -22941,7 +22961,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
22941
22961
  return Object.values(this._symbolsByKey).map(({ crossTileIDs: l }) => l);
22942
22962
  }
22943
22963
  }
22944
- class es {
22964
+ class rs {
22945
22965
  constructor() {
22946
22966
  this.maxCrossTileID = 0;
22947
22967
  }
@@ -23011,7 +23031,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23011
23031
  }
23012
23032
  class _2 {
23013
23033
  constructor() {
23014
- this.layerIndexes = {}, this.crossTileIDs = new es(), this.maxBucketInstanceId = 0, this.bucketsInCurrentPlacement = {};
23034
+ this.layerIndexes = {}, this.crossTileIDs = new rs(), this.maxBucketInstanceId = 0, this.bucketsInCurrentPlacement = {};
23015
23035
  }
23016
23036
  addLayer(l, m, v) {
23017
23037
  let b = this.layerIndexes[l.id];
@@ -24685,7 +24705,7 @@ uniform ${Y} ${J} u_${lt};
24685
24705
  (l !== this.current || this.dirty) && (this.gl.depthFunc(l), this.current = l, this.dirty = !1);
24686
24706
  }
24687
24707
  }
24688
- class rs extends hn {
24708
+ class ns extends hn {
24689
24709
  getDefault() {
24690
24710
  return !1;
24691
24711
  }
@@ -24715,7 +24735,7 @@ uniform ${Y} ${J} u_${lt};
24715
24735
  (l.r !== m.r || l.g !== m.g || l.b !== m.b || l.a !== m.a || this.dirty) && (this.gl.blendColor(l.r, l.g, l.b, l.a), this.current = l, this.dirty = !1);
24716
24736
  }
24717
24737
  }
24718
- class ns extends hn {
24738
+ class is extends hn {
24719
24739
  getDefault() {
24720
24740
  return this.gl.FUNC_ADD;
24721
24741
  }
@@ -24941,7 +24961,7 @@ uniform ${Y} ${J} u_${lt};
24941
24961
  class wc {
24942
24962
  constructor(l) {
24943
24963
  var m, v;
24944
- if (this.gl = l, this.clearColor = new C3(this), this.clearDepth = new _c(this), this.clearStencil = new ya(this), this.colorMask = new F4(this), this.depthMask = new B4(this), this.stencilMask = new bl(this), this.stencilFunc = new Ao(this), this.stencilOp = new j4(this), this.stencilTest = new L0(this), this.depthRange = new Ll(this), this.depthTest = new w0(this), this.depthFunc = new k3(this), this.blend = new rs(this), this.blendFunc = new x0(this), this.blendColor = new bc(this), this.blendEquation = new ns(this), this.cullFace = new va(this), this.cullFaceSide = new Lc(this), this.frontFace = new z4(this), this.program = new E0(this), this.activeTexture = new I3(this), this.viewport = new U4(this), this.bindFramebuffer = new G4(this), this.bindRenderbuffer = new $4(this), this.bindTexture = new Bs(this), this.bindVertexBuffer = new wl(this), this.bindElementBuffer = new W4(this), this.bindVertexArray = new L2(this), this.pixelStoreUnpack = new M0(this), this.pixelStoreUnpackPremultiplyAlpha = new S0(this), this.pixelStoreUnpackFlipY = new Z4(this), this.extTextureFilterAnisotropic = l.getExtension("EXT_texture_filter_anisotropic") || l.getExtension("MOZ_EXT_texture_filter_anisotropic") || l.getExtension("WEBKIT_EXT_texture_filter_anisotropic"), this.extTextureFilterAnisotropic && (this.extTextureFilterAnisotropicMax = l.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)), this.maxTextureSize = l.getParameter(l.MAX_TEXTURE_SIZE), b2(l)) {
24964
+ if (this.gl = l, this.clearColor = new C3(this), this.clearDepth = new _c(this), this.clearStencil = new ya(this), this.colorMask = new F4(this), this.depthMask = new B4(this), this.stencilMask = new bl(this), this.stencilFunc = new Ao(this), this.stencilOp = new j4(this), this.stencilTest = new L0(this), this.depthRange = new Ll(this), this.depthTest = new w0(this), this.depthFunc = new k3(this), this.blend = new ns(this), this.blendFunc = new x0(this), this.blendColor = new bc(this), this.blendEquation = new is(this), this.cullFace = new va(this), this.cullFaceSide = new Lc(this), this.frontFace = new z4(this), this.program = new E0(this), this.activeTexture = new I3(this), this.viewport = new U4(this), this.bindFramebuffer = new G4(this), this.bindRenderbuffer = new $4(this), this.bindTexture = new Bs(this), this.bindVertexBuffer = new wl(this), this.bindElementBuffer = new W4(this), this.bindVertexArray = new L2(this), this.pixelStoreUnpack = new M0(this), this.pixelStoreUnpackPremultiplyAlpha = new S0(this), this.pixelStoreUnpackFlipY = new Z4(this), this.extTextureFilterAnisotropic = l.getExtension("EXT_texture_filter_anisotropic") || l.getExtension("MOZ_EXT_texture_filter_anisotropic") || l.getExtension("WEBKIT_EXT_texture_filter_anisotropic"), this.extTextureFilterAnisotropic && (this.extTextureFilterAnisotropicMax = l.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)), this.maxTextureSize = l.getParameter(l.MAX_TEXTURE_SIZE), b2(l)) {
24945
24965
  this.HALF_FLOAT = l.HALF_FLOAT;
24946
24966
  const b = l.getExtension("EXT_color_buffer_half_float");
24947
24967
  this.RGBA16F = (m = l.RGBA16F) !== null && m !== void 0 ? m : b == null ? void 0 : b.RGBA16F_EXT, this.RGB16F = (v = l.RGB16F) !== null && v !== void 0 ? v : b == null ? void 0 : b.RGB16F_EXT, l.getExtension("EXT_color_buffer_float");
@@ -25005,13 +25025,13 @@ uniform ${Y} ${J} u_${lt};
25005
25025
  }
25006
25026
  }
25007
25027
  $r.ReadOnly = !1, $r.ReadWrite = !0, $r.disabled = new $r(519, $r.ReadOnly, [0, 1]);
25008
- const is = 7680;
25028
+ const os = 7680;
25009
25029
  class An {
25010
25030
  constructor(l, m, v, b, M, V) {
25011
25031
  this.test = l, this.ref = m, this.mask = v, this.fail = b, this.depthFail = M, this.pass = V;
25012
25032
  }
25013
25033
  }
25014
- An.disabled = new An({ func: 519, mask: 0 }, 0, 0, is, is, is);
25034
+ An.disabled = new An({ func: 519, mask: 0 }, 0, 0, os, os, os);
25015
25035
  class bn {
25016
25036
  constructor(l, m, v) {
25017
25037
  this.enable = l, this.mode = m, this.frontFace = v;
@@ -25137,7 +25157,7 @@ uniform ${Y} ${J} u_${lt};
25137
25157
  const an = m.layout.get("icon-size").constantOr(0) !== 1 || ur.iconsNeedLinear;
25138
25158
  A2 = Ae.imageAtlasTexture, ni = $e || S.options.rotating || S.options.zooming || an || ei ? ft.LINEAR : ft.NEAREST, C1 = Ae.imageAtlasTexture.size;
25139
25159
  }
25140
- const q1 = Ar(Ae, 1, S.transform.zoom), Ts = Nt ? Oe.posMatrix : ba, o6 = Vi(Ts, Ht, Mt, S.transform, q1), kl = Rn(Ts, Ht, Mt, S.transform, q1), s6 = Rn(Oe.posMatrix, Ht, Mt, S.transform, q1), n2 = wt.translatePosition(S.transform, Ae, M, V), Il = we && ur.hasTextData(), Bc = m.layout.get("icon-text-fit") !== "none" && Il && ur.hasIconData();
25160
+ const q1 = Ar(Ae, 1, S.transform.zoom), fs = Nt ? Oe.posMatrix : ba, o6 = Vi(fs, Ht, Mt, S.transform, q1), kl = Rn(fs, Ht, Mt, S.transform, q1), s6 = Rn(Oe.posMatrix, Ht, Mt, S.transform, q1), n2 = wt.translatePosition(S.transform, Ae, M, V), Il = we && ur.hasTextData(), Bc = m.layout.get("icon-text-fit") !== "none" && Il && ur.hasIconData();
25141
25161
  if (Ot) {
25142
25162
  const an = S.style.map.terrain ? (a6, l6) => S.style.map.terrain.getElevation(Oe, a6, l6) : null, B3 = m.layout.get("text-rotation-alignment") === "map";
25143
25163
  pt(ur, Oe.posMatrix, S, b, o6, s6, Ht, Z, B3, wt, Oe.toUnwrapped(), Qt.width, Qt.height, n2, an);
@@ -25178,10 +25198,10 @@ uniform ${Y} ${J} u_${lt};
25178
25198
  const J = j.programConfigurations.get(m.id), lt = S.useProgram("heatmap", J), ft = S.style.map.terrain.getTerrainData(v);
25179
25199
  lt.draw(b, M.TRIANGLES, $r.disabled, V, D, bn.disabled, un(v.posMatrix, l, S.transform.zoom, m.paint.get("heatmap-intensity")), ft, m.id, j.layoutVertexBuffer, j.indexBuffer, j.segments, m.paint, S.transform.zoom, J);
25180
25200
  }
25181
- function os(S, l, m) {
25201
+ function ss(S, l, m) {
25182
25202
  const v = S.context, b = v.gl;
25183
25203
  v.setColorMode(S.colorModeForRenderPass());
25184
- const M = ss(v, l), V = m.key, D = l.heatmapFbos.get(V);
25204
+ const M = as(v, l), V = m.key, D = l.heatmapFbos.get(V);
25185
25205
  D && (v.activeTexture.set(b.TEXTURE0), b.bindTexture(b.TEXTURE_2D, D.colorAttachment.get()), v.activeTexture.set(b.TEXTURE1), M.bind(b.LINEAR, b.CLAMP_TO_EDGE), S.useProgram("heatmapTexture").draw(v, b.TRIANGLES, $r.disabled, An.disabled, S.colorModeForRenderPass(), bn.disabled, pe(S, l, 0, 1), null, l.id, S.rasterBoundsBuffer, S.quadTriangleIndexBuffer, S.rasterBoundsSegments, l.paint, S.transform.zoom), D.destroy(), l.heatmapFbos.delete(V));
25186
25206
  }
25187
25207
  function V3(S, l, m) {
@@ -25193,10 +25213,10 @@ uniform ${Y} ${J} u_${lt};
25193
25213
  const Z = S.createFramebuffer(l, m, !1, !1);
25194
25214
  return Z.colorAttachment.set(V), Z;
25195
25215
  }
25196
- function ss(S, l) {
25216
+ function as(S, l) {
25197
25217
  return l.colorRampTexture || (l.colorRampTexture = new rt(S, l.colorRamp, S.gl.RGBA)), l.colorRampTexture;
25198
25218
  }
25199
- function as(S, l, m, v, b) {
25219
+ function ls(S, l, m, v, b) {
25200
25220
  if (!m || !v || !v.imageAtlas)
25201
25221
  return;
25202
25222
  const M = v.imageAtlas.patternPositions;
@@ -25220,7 +25240,7 @@ uniform ${Y} ${J} u_${lt};
25220
25240
  if (!Nt)
25221
25241
  continue;
25222
25242
  const Dt = Nt.programConfigurations.get(m.id), Wt = S.useProgram(ft, Dt), he = S.style.map.terrain && S.style.map.terrain.getTerrainData(Ot);
25223
- Y && (S.context.activeTexture.set(D.TEXTURE0), bt.imageAtlasTexture.bind(D.LINEAR, D.CLAMP_TO_EDGE), Dt.updatePaintBuffers(J)), as(Dt, j, Ht, bt, m);
25243
+ Y && (S.context.activeTexture.set(D.TEXTURE0), bt.imageAtlasTexture.bind(D.LINEAR, D.CLAMP_TO_EDGE), Dt.updatePaintBuffers(J)), ls(Dt, j, Ht, bt, m);
25224
25244
  const we = he ? Ot : null, De = S.translatePosMatrix(we ? we.posMatrix : Ot.posMatrix, bt, m.paint.get("fill-translate"), m.paint.get("fill-translate-anchor"));
25225
25245
  if (V) {
25226
25246
  wt = Nt.indexBuffer2, Mt = Nt.segments2;
@@ -25238,7 +25258,7 @@ uniform ${Y} ${J} u_${lt};
25238
25258
  if (!Ht)
25239
25259
  continue;
25240
25260
  const Ot = S.style.map.terrain && S.style.map.terrain.getTerrainData(wt), bt = Ht.programConfigurations.get(m.id), Nt = S.useProgram(J ? "fillExtrusionPattern" : "fillExtrusion", bt);
25241
- J && (S.context.activeTexture.set(j.TEXTURE0), Mt.imageAtlasTexture.bind(j.LINEAR, j.CLAMP_TO_EDGE), bt.updatePaintBuffers(lt)), as(bt, Z, Qt, Mt, m);
25261
+ J && (S.context.activeTexture.set(j.TEXTURE0), Mt.imageAtlasTexture.bind(j.LINEAR, j.CLAMP_TO_EDGE), bt.updatePaintBuffers(lt)), ls(bt, Z, Qt, Mt, m);
25242
25262
  const Dt = S.translatePosMatrix(wt.posMatrix, Mt, m.paint.get("fill-extrusion-translate"), m.paint.get("fill-extrusion-translate-anchor")), Wt = m.paint.get("fill-extrusion-vertical-gradient"), he = J ? mt(Dt, S, Wt, ft, wt, lt, Mt) : ht(Dt, S, Wt, ft);
25243
25263
  Nt.draw(D, D.gl.TRIANGLES, b, M, V, bn.backCCW, he, Ot, m.id, Ht.layoutVertexBuffer, Ht.indexBuffer, Ht.segments, m.paint, S.transform.zoom, bt, S.style.map.terrain && Ht.centroidVertexBuffer);
25244
25264
  }
@@ -25549,7 +25569,7 @@ uniform ${Y} ${J} u_${lt};
25549
25569
  if (M.style.map.terrain) {
25550
25570
  for (const Y of j) {
25551
25571
  const J = V.getTile(Y);
25552
- V.hasRenderableParent(Y) || (M.renderPass === "offscreen" ? E2(M, J, D, Y) : M.renderPass === "translucent" && os(M, D, Y));
25572
+ V.hasRenderableParent(Y) || (M.renderPass === "offscreen" ? E2(M, J, D, Y) : M.renderPass === "translucent" && ss(M, D, Y));
25553
25573
  }
25554
25574
  Z.viewport.set([0, 0, M.width, M.height]);
25555
25575
  } else
@@ -25576,7 +25596,7 @@ uniform ${Y} ${J} u_${lt};
25576
25596
  const lt = Y.context, ft = lt.gl;
25577
25597
  lt.setColorMode(Y.colorModeForRenderPass());
25578
25598
  const Qt = J.heatmapFbos.get(a.aU);
25579
- Qt && (lt.activeTexture.set(ft.TEXTURE0), ft.bindTexture(ft.TEXTURE_2D, Qt.colorAttachment.get()), lt.activeTexture.set(ft.TEXTURE1), ss(lt, J).bind(ft.LINEAR, ft.CLAMP_TO_EDGE), Y.useProgram("heatmapTexture").draw(lt, ft.TRIANGLES, $r.disabled, An.disabled, Y.colorModeForRenderPass(), bn.disabled, pe(Y, J, 0, 1), null, J.id, Y.viewportBuffer, Y.quadTriangleIndexBuffer, Y.viewportSegments, J.paint, Y.transform.zoom));
25599
+ Qt && (lt.activeTexture.set(ft.TEXTURE0), ft.bindTexture(ft.TEXTURE_2D, Qt.colorAttachment.get()), lt.activeTexture.set(ft.TEXTURE1), as(lt, J).bind(ft.LINEAR, ft.CLAMP_TO_EDGE), Y.useProgram("heatmapTexture").draw(lt, ft.TRIANGLES, $r.disabled, An.disabled, Y.colorModeForRenderPass(), bn.disabled, pe(Y, J, 0, 1), null, J.id, Y.viewportBuffer, Y.quadTriangleIndexBuffer, Y.viewportSegments, J.paint, Y.transform.zoom));
25580
25600
  }(M, D);
25581
25601
  })(l, m, v, b);
25582
25602
  break;
@@ -26205,7 +26225,7 @@ uniform ${Y} ${J} u_${lt};
26205
26225
  return a.af(b, b, this.modelViewProjectionMatrix), b[2] / b[3];
26206
26226
  }
26207
26227
  }
26208
- function ls(S, l) {
26228
+ function cs(S, l) {
26209
26229
  let m, v = !1, b = null, M = null;
26210
26230
  const V = () => {
26211
26231
  b = null, v && (S.apply(M, m), b = setTimeout(V, l), v = !1);
@@ -26244,7 +26264,7 @@ uniform ${Y} ${J} u_${lt};
26244
26264
  M.startsWith("#&") ? M = M.slice(0, 1) + M.slice(2) : M === "#" && (M = "");
26245
26265
  let V = window.location.href.replace(/(#.+)?$/, M);
26246
26266
  V = V.replace("&&", "&"), window.history.replaceState(window.history.state, null, V);
26247
- }, this._updateHash = ls(this._updateHashUnthrottled, 300), this._hashName = l && encodeURIComponent(l);
26267
+ }, this._updateHash = cs(this._updateHashUnthrottled, 300), this._hashName = l && encodeURIComponent(l);
26248
26268
  }
26249
26269
  addTo(l) {
26250
26270
  return this._map = l, addEventListener("hashchange", this._onHashChange, !1), this._map.on("moveend", this._updateHash), this;
@@ -26267,7 +26287,7 @@ uniform ${Y} ${J} u_${lt};
26267
26287
  return `#${Y}`;
26268
26288
  }
26269
26289
  }
26270
- const cs = { linearity: 0.3, easing: a.b8(0, 0, 0.3, 1) }, K4 = a.e({ deceleration: 2500, maxSpeed: 1400 }, cs), xc = a.e({ deceleration: 20, maxSpeed: 1400 }, cs), xl = a.e({ deceleration: 1e3, maxSpeed: 360 }, cs), wn = a.e({ deceleration: 1e3, maxSpeed: 90 }, cs);
26290
+ const us = { linearity: 0.3, easing: a.b8(0, 0, 0.3, 1) }, K4 = a.e({ deceleration: 2500, maxSpeed: 1400 }, us), xc = a.e({ deceleration: 20, maxSpeed: 1400 }, us), xl = a.e({ deceleration: 1e3, maxSpeed: 360 }, us), wn = a.e({ deceleration: 1e3, maxSpeed: 90 }, us);
26271
26291
  class mn {
26272
26292
  constructor(l) {
26273
26293
  this._map = l, this.clear();
@@ -26292,19 +26312,19 @@ uniform ${Y} ${J} u_${lt};
26292
26312
  const v = this._inertiaBuffer[this._inertiaBuffer.length - 1].time - this._inertiaBuffer[0].time, b = {};
26293
26313
  if (m.pan.mag()) {
26294
26314
  const M = To(m.pan.mag(), v, a.e({}, K4, l || {}));
26295
- b.offset = m.pan.mult(M.amount / m.pan.mag()), b.center = this._map.transform.center, us(b, M);
26315
+ b.offset = m.pan.mult(M.amount / m.pan.mag()), b.center = this._map.transform.center, hs(b, M);
26296
26316
  }
26297
26317
  if (m.zoom) {
26298
26318
  const M = To(m.zoom, v, xc);
26299
- b.zoom = this._map.transform.zoom + M.amount, us(b, M);
26319
+ b.zoom = this._map.transform.zoom + M.amount, hs(b, M);
26300
26320
  }
26301
26321
  if (m.bearing) {
26302
26322
  const M = To(m.bearing, v, xl);
26303
- b.bearing = this._map.transform.bearing + a.ac(M.amount, -179, 179), us(b, M);
26323
+ b.bearing = this._map.transform.bearing + a.ac(M.amount, -179, 179), hs(b, M);
26304
26324
  }
26305
26325
  if (m.pitch) {
26306
26326
  const M = To(m.pitch, v, wn);
26307
- b.pitch = this._map.transform.pitch + M.amount, us(b, M);
26327
+ b.pitch = this._map.transform.pitch + M.amount, hs(b, M);
26308
26328
  }
26309
26329
  if (b.zoom || b.bearing) {
26310
26330
  const M = m.pinchAround === void 0 ? m.around : m.pinchAround;
@@ -26313,7 +26333,7 @@ uniform ${Y} ${J} u_${lt};
26313
26333
  return this.clear(), a.e(b, { noMoveStart: !0 });
26314
26334
  }
26315
26335
  }
26316
- function us(S, l) {
26336
+ function hs(S, l) {
26317
26337
  (!S.duration || S.duration < l.duration) && (S.duration = l.duration, S.easing = l.easing);
26318
26338
  }
26319
26339
  function To(S, l, m) {
@@ -26573,7 +26593,7 @@ uniform ${Y} ${J} u_${lt};
26573
26593
  }
26574
26594
  }
26575
26595
  }
26576
- class hs {
26596
+ class ds {
26577
26597
  constructor(l) {
26578
26598
  this._tr = new O1(l), this._zoomIn = new Us({ numTouches: 1, numTaps: 2 }), this._zoomOut = new Us({ numTouches: 2, numTaps: 1 }), this.reset();
26579
26599
  }
@@ -26926,7 +26946,7 @@ uniform ${Y} ${J} u_${lt};
26926
26946
  }
26927
26947
  return this._rotationDisabled && (v = 0, b = 0), { cameraAnimation: (D) => {
26928
26948
  const j = this._tr;
26929
- D.easeTo({ duration: 300, easeId: "keyboardHandler", easing: ds, zoom: m ? Math.round(j.zoom) + m * (l.shiftKey ? 2 : 1) : j.zoom, bearing: j.bearing + v * this._bearingStep, pitch: j.pitch + b * this._pitchStep, offset: [-M * this._panStep, -V * this._panStep], center: j.center }, { originalEvent: l });
26949
+ D.easeTo({ duration: 300, easeId: "keyboardHandler", easing: ps, zoom: m ? Math.round(j.zoom) + m * (l.shiftKey ? 2 : 1) : j.zoom, bearing: j.bearing + v * this._bearingStep, pitch: j.pitch + b * this._pitchStep, offset: [-M * this._panStep, -V * this._panStep], center: j.center }, { originalEvent: l });
26930
26950
  } };
26931
26951
  }
26932
26952
  enable() {
@@ -26948,7 +26968,7 @@ uniform ${Y} ${J} u_${lt};
26948
26968
  this._rotationDisabled = !1;
26949
26969
  }
26950
26970
  }
26951
- function ds(S) {
26971
+ function ps(S) {
26952
26972
  return S * (2 - S);
26953
26973
  }
26954
26974
  const Cc = 4.000244140625;
@@ -27268,7 +27288,7 @@ uniform ${Y} ${J} u_${lt};
27268
27288
  this._add("boxZoom", b), l.interactive && l.boxZoom && b.enable();
27269
27289
  const M = m.cooperativeGestures = new t6(m, l.cooperativeGestures);
27270
27290
  this._add("cooperativeGestures", M), l.cooperativeGestures && M.enable();
27271
- const V = new hs(m), D = new p_(m);
27291
+ const V = new ds(m), D = new p_(m);
27272
27292
  m.doubleClickZoom = new F3(D, V), this._add("tapZoom", V), this._add("clickZoom", D), l.interactive && l.doubleClickZoom && m.doubleClickZoom.enable();
27273
27293
  const j = new T_();
27274
27294
  this._add("tapDragZoom", j);
@@ -28300,7 +28320,7 @@ uniform ${Y} ${J} u_${lt};
28300
28320
  }
28301
28321
  const vp = { positionOptions: { enableHighAccuracy: !1, maximumAge: 0, timeout: 6e3 }, fitBoundsOptions: { maxZoom: 15 }, trackUserLocation: !1, showAccuracyCircle: !0, showUserLocation: !0 };
28302
28322
  let k0 = 0, I0 = !1;
28303
- const ps = { maxWidth: 100, unit: "metric" };
28323
+ const Ts = { maxWidth: 100, unit: "metric" };
28304
28324
  function P0(S, l, m) {
28305
28325
  const v = m && m.maxWidth || 100, b = S._container.clientHeight / 2, M = S.unproject([0, b]), V = S.unproject([v, b]), D = M.distanceTo(V);
28306
28326
  if (m && m.unit === "imperial") {
@@ -28572,7 +28592,7 @@ uniform ${Y} ${J} u_${lt};
28572
28592
  }), typeof window < "u") {
28573
28593
  addEventListener("online", this._onWindowOnline, !1);
28574
28594
  let m = !1;
28575
- const v = ls((b) => {
28595
+ const v = cs((b) => {
28576
28596
  this._trackResize && !this._removed && (this.resize(b), this.redraw());
28577
28597
  }, 50);
28578
28598
  this._resizeObserver = new ResizeObserver((b) => {
@@ -29269,7 +29289,7 @@ uniform ${Y} ${J} u_${lt};
29269
29289
  P0(this._map, this._container, this.options);
29270
29290
  }, this.setUnit = (l) => {
29271
29291
  this.options.unit = l, P0(this._map, this._container, this.options);
29272
- }, this.options = Object.assign(Object.assign({}, ps), S);
29292
+ }, this.options = Object.assign(Object.assign({}, Ts), S);
29273
29293
  }
29274
29294
  getDefaultPosition() {
29275
29295
  return "bottom-left";
@@ -35138,7 +35158,7 @@ function Igt(t, e = 0) {
35138
35158
  clearTimeout(r), r = setTimeout(() => t.apply(this, n), e);
35139
35159
  };
35140
35160
  }
35141
- const ys = "pathways", Pgt = "ilxtr:", sm = [
35161
+ const vs = "pathways", Pgt = "ilxtr:", sm = [
35142
35162
  { type: "cns", label: "CNS", colour: "#9B1FC1" },
35143
35163
  { type: "intracardiac", label: "Local circuit neuron", colour: "#F19E38" },
35144
35164
  { type: "para-pre", label: "Parasympathetic pre-ganglionic", colour: "#3F8F4A" },
@@ -35893,7 +35913,7 @@ function sZ(t) {
35893
35913
  return !1;
35894
35914
  return !0;
35895
35915
  }
35896
- function ms(t, e, r) {
35916
+ function gs(t, e, r) {
35897
35917
  Object.defineProperty(t, e, {
35898
35918
  enumerable: !1,
35899
35919
  configurable: !1,
@@ -37674,7 +37694,7 @@ class ci extends $gt.EventEmitter {
37674
37694
  `Graph.constructor: invalid 'allowSelfLoops' option. Expecting a boolean but got "${e.allowSelfLoops}".`
37675
37695
  );
37676
37696
  const r = e.type === "mixed" ? aZ : e.type === "directed" ? lZ : cZ;
37677
- ms(this, "NodeDataClass", r);
37697
+ gs(this, "NodeDataClass", r);
37678
37698
  const n = "geid_" + evt() + "_";
37679
37699
  let i = 0;
37680
37700
  const o = () => {
@@ -37684,7 +37704,7 @@ class ci extends $gt.EventEmitter {
37684
37704
  while (this._edges.has(s));
37685
37705
  return s;
37686
37706
  };
37687
- ms(this, "_attributes", {}), ms(this, "_nodes", /* @__PURE__ */ new Map()), ms(this, "_edges", /* @__PURE__ */ new Map()), ms(this, "_directedSize", 0), ms(this, "_undirectedSize", 0), ms(this, "_directedSelfLoopCount", 0), ms(this, "_undirectedSelfLoopCount", 0), ms(this, "_edgeKeyGenerator", o), ms(this, "_options", e), DR.forEach((s) => ms(this, s, this[s])), Xs(this, "order", () => this._nodes.size), Xs(this, "size", () => this._edges.size), Xs(this, "directedSize", () => this._directedSize), Xs(this, "undirectedSize", () => this._undirectedSize), Xs(
37707
+ gs(this, "_attributes", {}), gs(this, "_nodes", /* @__PURE__ */ new Map()), gs(this, "_edges", /* @__PURE__ */ new Map()), gs(this, "_directedSize", 0), gs(this, "_undirectedSize", 0), gs(this, "_directedSelfLoopCount", 0), gs(this, "_undirectedSelfLoopCount", 0), gs(this, "_edgeKeyGenerator", o), gs(this, "_options", e), DR.forEach((s) => gs(this, s, this[s])), Xs(this, "order", () => this._nodes.size), Xs(this, "size", () => this._edges.size), Xs(this, "directedSize", () => this._directedSize), Xs(this, "undirectedSize", () => this._undirectedSize), Xs(
37688
37708
  this,
37689
37709
  "selfLoopCount",
37690
37710
  () => this._directedSelfLoopCount + this._undirectedSelfLoopCount
@@ -39186,7 +39206,7 @@ class ci extends $gt.EventEmitter {
39186
39206
  const i = {};
39187
39207
  for (const o in this)
39188
39208
  this.hasOwnProperty(o) && !DR.has(o) && typeof this[o] != "function" && typeof o != "symbol" && (i[o] = this[o]);
39189
- return i.attributes = this._attributes, i.nodes = e, i.edges = r, ms(i, "constructor", this.constructor), i;
39209
+ return i.attributes = this._attributes, i.nodes = e, i.edges = r, gs(i, "constructor", this.constructor), i;
39190
39210
  }
39191
39211
  }
39192
39212
  typeof Symbol < "u" && (ci.prototype[Symbol.for("nodejs.util.inspect.custom")] = ci.prototype.inspect);
@@ -40153,7 +40173,7 @@ class $H {
40153
40173
  }
40154
40174
  }
40155
40175
  _9 = /* @__PURE__ */ new WeakMap();
40156
- class Y2 extends $H {
40176
+ class J2 extends $H {
40157
40177
  constructor(e, r, n) {
40158
40178
  super(`${e}_${r}`), this.__sourceLayer = n, this.__lastPaintStyle = {};
40159
40179
  }
@@ -40181,7 +40201,7 @@ class Y2 extends $H {
40181
40201
  };
40182
40202
  }
40183
40203
  }
40184
- class Gvt extends Y2 {
40204
+ class Gvt extends J2 {
40185
40205
  constructor(e, r) {
40186
40206
  super(e, "body", r);
40187
40207
  }
@@ -40211,7 +40231,7 @@ class Gvt extends Y2 {
40211
40231
  };
40212
40232
  }
40213
40233
  }
40214
- class $vt extends Y2 {
40234
+ class $vt extends J2 {
40215
40235
  constructor(e, r) {
40216
40236
  super(e, "fill", r);
40217
40237
  }
@@ -40275,7 +40295,7 @@ class $vt extends Y2 {
40275
40295
  };
40276
40296
  }
40277
40297
  }
40278
- class Wvt extends Y2 {
40298
+ class Wvt extends J2 {
40279
40299
  constructor(e, r) {
40280
40300
  super(e, "border", r);
40281
40301
  }
@@ -40307,7 +40327,7 @@ class Wvt extends Y2 {
40307
40327
  };
40308
40328
  }
40309
40329
  }
40310
- class NZ extends Y2 {
40330
+ class NZ extends J2 {
40311
40331
  constructor(e, r, n = {}) {
40312
40332
  const i = "dashed" in n && n.dashed;
40313
40333
  super(e, `feature-${i ? "line-dash" : "line"}`, r), this.__dashed = i;
@@ -40414,7 +40434,7 @@ function DZ(t = {}) {
40414
40434
  ]
40415
40435
  ]] : [];
40416
40436
  }
40417
- class qvt extends Y2 {
40437
+ class qvt extends J2 {
40418
40438
  constructor(e, r) {
40419
40439
  super(e, "annotated-path", r);
40420
40440
  }
@@ -40477,7 +40497,7 @@ class qvt extends Y2 {
40477
40497
  };
40478
40498
  }
40479
40499
  }
40480
- class Kg extends Y2 {
40500
+ class Kg extends J2 {
40481
40501
  constructor(e, r, n = {}) {
40482
40502
  const i = "dashed" in n && n.dashed, o = "highlight" in n && n.highlight;
40483
40503
  super(e, `path${o ? "-highlight" : ""}-${i ? "line-dash" : "line"}`, r), this.__dashed = i, this.__highlight = o;
@@ -40602,7 +40622,7 @@ class Yvt extends Kg {
40602
40622
  super(e, r, { dashed: !0, highlight: !0 });
40603
40623
  }
40604
40624
  }
40605
- class FZ extends Y2 {
40625
+ class FZ extends J2 {
40606
40626
  constructor(e, r, n) {
40607
40627
  super(e, `nerve-centreline-${r}`, n), this.__type = r;
40608
40628
  }
@@ -40674,7 +40694,7 @@ class t_t extends FZ {
40674
40694
  super(e, "track", r);
40675
40695
  }
40676
40696
  }
40677
- class e_t extends Y2 {
40697
+ class e_t extends J2 {
40678
40698
  constructor(e, r) {
40679
40699
  super(e, "node-fill", r);
40680
40700
  }
@@ -40711,7 +40731,7 @@ class e_t extends Y2 {
40711
40731
  };
40712
40732
  }
40713
40733
  }
40714
- class r_t extends Y2 {
40734
+ class r_t extends J2 {
40715
40735
  constructor(e, r) {
40716
40736
  super(e, "nerve-path", r);
40717
40737
  }
@@ -40777,7 +40797,7 @@ class r_t extends Y2 {
40777
40797
  };
40778
40798
  }
40779
40799
  }
40780
- class n_t extends Y2 {
40800
+ class n_t extends J2 {
40781
40801
  constructor(e, r) {
40782
40802
  super(e, "nerve-border", r);
40783
40803
  }
@@ -40824,7 +40844,7 @@ class n_t extends Y2 {
40824
40844
  };
40825
40845
  }
40826
40846
  }
40827
- class i_t extends Y2 {
40847
+ class i_t extends J2 {
40828
40848
  constructor(e, r) {
40829
40849
  super(e, "nerve-fill", r);
40830
40850
  }
@@ -40895,7 +40915,7 @@ class i_t extends Y2 {
40895
40915
  };
40896
40916
  }
40897
40917
  }
40898
- class o_t extends Y2 {
40918
+ class o_t extends J2 {
40899
40919
  constructor(e, r) {
40900
40920
  super(e, "large-symbol", r);
40901
40921
  }
@@ -40936,7 +40956,7 @@ class o_t extends Y2 {
40936
40956
  };
40937
40957
  }
40938
40958
  }
40939
- class s_t extends Y2 {
40959
+ class s_t extends J2 {
40940
40960
  constructor(e, r) {
40941
40961
  super(e, "small-symbol", r);
40942
40962
  }
@@ -48086,7 +48106,7 @@ function TEt(t, e) {
48086
48106
  return !1;
48087
48107
  return !0;
48088
48108
  }
48089
- function Z2(t) {
48109
+ function q2(t) {
48090
48110
  if (!Number.isFinite(t))
48091
48111
  throw new Error(`Invalid number ${JSON.stringify(t)}`);
48092
48112
  return t;
@@ -48106,13 +48126,13 @@ class fEt extends fX {
48106
48126
  return this[0];
48107
48127
  }
48108
48128
  set x(e) {
48109
- this[0] = Z2(e);
48129
+ this[0] = q2(e);
48110
48130
  }
48111
48131
  get y() {
48112
48132
  return this[1];
48113
48133
  }
48114
48134
  set y(e) {
48115
- this[1] = Z2(e);
48135
+ this[1] = q2(e);
48116
48136
  }
48117
48137
  /**
48118
48138
  * Returns the length of the vector from the origin to the point described by this vector
@@ -48153,13 +48173,13 @@ class fEt extends fX {
48153
48173
  const i = this[n] - e[n];
48154
48174
  r += i * i;
48155
48175
  }
48156
- return Z2(r);
48176
+ return q2(r);
48157
48177
  }
48158
48178
  dot(e) {
48159
48179
  let r = 0;
48160
48180
  for (let n = 0; n < this.ELEMENTS; ++n)
48161
48181
  r += this[n] * e[n];
48162
- return Z2(r);
48182
+ return q2(r);
48163
48183
  }
48164
48184
  // MODIFIERS
48165
48185
  normalize() {
@@ -48192,7 +48212,7 @@ class fEt extends fX {
48192
48212
  return this.distanceSquared(e);
48193
48213
  }
48194
48214
  getComponent(e) {
48195
- return DN(e >= 0 && e < this.ELEMENTS, "index is out of range"), Z2(this[e]);
48215
+ return DN(e >= 0 && e < this.ELEMENTS, "index is out of range"), q2(this[e]);
48196
48216
  }
48197
48217
  setComponent(e, r) {
48198
48218
  return DN(e >= 0 && e < this.ELEMENTS, "index is out of range"), this[e] = r, this.check();
@@ -48322,7 +48342,7 @@ class g3 extends fEt {
48322
48342
  * @param z
48323
48343
  */
48324
48344
  constructor(e = 0, r = 0, n = 0) {
48325
- super(-0, -0, -0), arguments.length === 1 && V8(e) ? this.copy(e) : (As.debug && (Z2(e), Z2(r), Z2(n)), this[0] = e, this[1] = r, this[2] = n);
48345
+ super(-0, -0, -0), arguments.length === 1 && V8(e) ? this.copy(e) : (As.debug && (q2(e), q2(r), q2(n)), this[0] = e, this[1] = r, this[2] = n);
48326
48346
  }
48327
48347
  set(e, r, n) {
48328
48348
  return this[0] = e, this[1] = r, this[2] = n, this.check();
@@ -48331,7 +48351,7 @@ class g3 extends fEt {
48331
48351
  return this[0] = e[0], this[1] = e[1], this[2] = e[2], this.check();
48332
48352
  }
48333
48353
  fromObject(e) {
48334
- return As.debug && (Z2(e.x), Z2(e.y), Z2(e.z)), this[0] = e.x, this[1] = e.y, this[2] = e.z, this.check();
48354
+ return As.debug && (q2(e.x), q2(e.y), q2(e.z)), this[0] = e.x, this[1] = e.y, this[2] = e.z, this.check();
48335
48355
  }
48336
48356
  toObject(e) {
48337
48357
  return e.x = this[0], e.y = this[1], e.z = this[2], e;
@@ -48344,7 +48364,7 @@ class g3 extends fEt {
48344
48364
  return this[2];
48345
48365
  }
48346
48366
  set z(e) {
48347
- this[2] = Z2(e);
48367
+ this[2] = q2(e);
48348
48368
  }
48349
48369
  // ACCESSORS
48350
48370
  angle(e) {
@@ -48420,7 +48440,7 @@ class kEt extends fX {
48420
48440
  }
48421
48441
  // By default assumes row major indices
48422
48442
  setElement(e, r, n) {
48423
- return this[r * this.RANK + e] = Z2(n), this;
48443
+ return this[r * this.RANK + e] = q2(n), this;
48424
48444
  }
48425
48445
  getColumn(e, r = new Array(this.RANK).fill(-0)) {
48426
48446
  const n = e * this.RANK;
@@ -57892,7 +57912,7 @@ var dK = { exports: {} };
57892
57912
  }
57893
57913
  return !1;
57894
57914
  }
57895
- var Se = Zt(s.style, "touchAction"), lr = Se !== i, Ar = "compute", vn = "auto", zr = "manipulation", br = "none", Br = "pan-x", cn = "pan-y", Kn = J2();
57915
+ var Se = Zt(s.style, "touchAction"), lr = Se !== i, Ar = "compute", vn = "auto", zr = "manipulation", br = "none", Br = "pan-x", cn = "pan-y", Kn = ts();
57896
57916
  function Li(B, q) {
57897
57917
  this.manager = B, this.set(q);
57898
57918
  }
@@ -57953,7 +57973,7 @@ var dK = { exports: {} };
57953
57973
  var q = nt(B, Br), it = nt(B, cn);
57954
57974
  return q && it ? br : q || it ? q ? Br : cn : nt(B, zr) ? zr : vn;
57955
57975
  }
57956
- function J2() {
57976
+ function ts() {
57957
57977
  if (!lr)
57958
57978
  return !1;
57959
57979
  var B = {}, q = e.CSS && e.CSS.supports;
@@ -57961,7 +57981,7 @@ var dK = { exports: {} };
57961
57981
  B[it] = q ? e.CSS.supports("touch-action", it) : !0;
57962
57982
  }), B;
57963
57983
  }
57964
- var tn = 1, zi = 2, lo = 4, Xr = 8, Yn = Xr, ts = 16, _n = 32;
57984
+ var tn = 1, zi = 2, lo = 4, Xr = 8, Yn = Xr, es = 16, _n = 32;
57965
57985
  function pn(B) {
57966
57986
  this.options = L({}, this.defaults, B || {}), this.id = re(), this.manager = null, this.options.enable = F(this.options.enable, !0), this.state = tn, this.simultaneous = {}, this.requireFail = [];
57967
57987
  }
@@ -58081,7 +58101,7 @@ var dK = { exports: {} };
58081
58101
  this.reset(), this.state = _n;
58082
58102
  return;
58083
58103
  }
58084
- this.state & (Yn | ts | _n) && (this.state = tn), this.state = this.process(q), this.state & (zi | lo | Xr | ts) && this.tryEmit(q);
58104
+ this.state & (Yn | es | _n) && (this.state = tn), this.state = this.process(q), this.state & (zi | lo | Xr | es) && this.tryEmit(q);
58085
58105
  },
58086
58106
  /**
58087
58107
  * return the state of the recognizer
@@ -58109,7 +58129,7 @@ var dK = { exports: {} };
58109
58129
  }
58110
58130
  };
58111
58131
  function co(B) {
58112
- return B & ts ? "cancel" : B & Xr ? "end" : B & lo ? "move" : B & zi ? "start" : "";
58132
+ return B & es ? "cancel" : B & Xr ? "end" : B & lo ? "move" : B & zi ? "start" : "";
58113
58133
  }
58114
58134
  function u1(B) {
58115
58135
  return B == ar ? "down" : B == Ge ? "up" : B == Tr ? "left" : B == qe ? "right" : "";
@@ -58151,7 +58171,7 @@ var dK = { exports: {} };
58151
58171
  */
58152
58172
  process: function(B) {
58153
58173
  var q = this.state, it = B.eventType, ht = q & (zi | lo), mt = this.attrTest(B);
58154
- return ht && (it & de || !mt) ? q | ts : ht || mt ? it & me ? q | Xr : q & zi ? q | lo : zi : _n;
58174
+ return ht && (it & de || !mt) ? q | es : ht || mt ? it & me ? q | Xr : q & zi ? q | lo : zi : _n;
58155
58175
  }
58156
58176
  });
58157
58177
  function h1() {
@@ -58212,10 +58232,10 @@ var dK = { exports: {} };
58212
58232
  this._super.emit.call(this, B);
58213
58233
  }
58214
58234
  });
58215
- function es() {
58235
+ function rs() {
58216
58236
  pn.apply(this, arguments), this._timer = null, this._input = null;
58217
58237
  }
58218
- O(es, pn, {
58238
+ O(rs, pn, {
58219
58239
  /**
58220
58240
  * @namespace
58221
58241
  * @memberof PressRecognizer
@@ -58400,7 +58420,7 @@ var dK = { exports: {} };
58400
58420
  [h1, { direction: Ct }, ["swipe"]],
58401
58421
  [e1],
58402
58422
  [e1, { event: "doubletap", taps: 2 }, ["tap"]],
58403
- [es]
58423
+ [rs]
58404
58424
  ],
58405
58425
  /**
58406
58426
  * Some CSS properties can be used to improve the working of Hammer.
@@ -58606,7 +58626,7 @@ var dK = { exports: {} };
58606
58626
  STATE_CHANGED: lo,
58607
58627
  STATE_ENDED: Xr,
58608
58628
  STATE_RECOGNIZED: Yn,
58609
- STATE_CANCELLED: ts,
58629
+ STATE_CANCELLED: es,
58610
58630
  STATE_FAILED: _n,
58611
58631
  DIRECTION_NONE: Ue,
58612
58632
  DIRECTION_LEFT: Tr,
@@ -58631,7 +58651,7 @@ var dK = { exports: {} };
58631
58651
  Swipe: _2,
58632
58652
  Pinch: jn,
58633
58653
  Rotate: d1,
58634
- Press: es,
58654
+ Press: rs,
58635
58655
  on: U,
58636
58656
  off: $,
58637
58657
  each: y,
@@ -63076,8 +63096,8 @@ bh = /* @__PURE__ */ new WeakMap(), nQ = /* @__PURE__ */ new WeakMap(), m8 = /*
63076
63096
  }, iQ = /* @__PURE__ */ new WeakSet(), YE = function(t, e = !0) {
63077
63097
  K(this, W2).setLayoutProperty(t, "visibility", e ? "visible" : "none");
63078
63098
  }, JE = /* @__PURE__ */ new WeakSet(), PK = function() {
63079
- const t = se(this, xh, oQ).call(this, ys);
63080
- K(this, W2).getSource("vector-tiles").vectorLayerIds.includes(t) && (se(this, w1, j1).call(this, qvt, ys, !0, !0), se(this, w1, j1).call(this, Jvt, ys), se(this, w1, j1).call(this, t_t, ys), se(this, w1, j1).call(this, Kg, ys, !0, !0), se(this, w1, j1).call(this, Xvt, ys, !0, !0), se(this, w1, j1).call(this, n_t, ys, !0), se(this, w1, j1).call(this, i_t, ys, !0), se(this, w1, j1).call(this, r_t, ys, !0), se(this, w1, j1).call(this, Kvt, ys, !0), se(this, w1, j1).call(this, Yvt, ys, !0));
63099
+ const t = se(this, xh, oQ).call(this, vs);
63100
+ K(this, W2).getSource("vector-tiles").vectorLayerIds.includes(t) && (se(this, w1, j1).call(this, qvt, vs, !0, !0), se(this, w1, j1).call(this, Jvt, vs), se(this, w1, j1).call(this, t_t, vs), se(this, w1, j1).call(this, Kg, vs, !0, !0), se(this, w1, j1).call(this, Xvt, vs, !0, !0), se(this, w1, j1).call(this, n_t, vs, !0), se(this, w1, j1).call(this, i_t, vs, !0), se(this, w1, j1).call(this, r_t, vs, !0), se(this, w1, j1).call(this, Kvt, vs, !0), se(this, w1, j1).call(this, Yvt, vs, !0));
63081
63101
  }, xh = /* @__PURE__ */ new WeakSet(), oQ = function(t) {
63082
63102
  return (K(this, Pm) ? `${K(this, m8)}_${t}` : t).replaceAll("/", "_");
63083
63103
  }, w1 = /* @__PURE__ */ new WeakSet(), j1 = function(t, e, r = !1, n = !1) {
@@ -65003,11 +65023,11 @@ var NK = { exports: {} };
65003
65023
  }) && (G.bbox = Ri(G).bbox(), this.update(G));
65004
65024
  });
65005
65025
  };
65006
- var J2 = n(xt.exports), tn = -90;
65026
+ var ts = n(xt.exports), tn = -90;
65007
65027
  function zi(I, G) {
65008
65028
  var B = tn, q = 90, it = tn, ht = 90, mt = 270, qt = -270;
65009
65029
  I.forEach(function(ve) {
65010
- var Me = J2(ve), be = Me[1], fr = Me[3], kn = Me[0], xr = Me[2];
65030
+ var Me = ts(ve), be = Me[1], fr = Me[3], kn = Me[0], xr = Me[2];
65011
65031
  be > B && (B = be), fr < q && (q = fr), fr > it && (it = fr), be < ht && (ht = be), kn < mt && (mt = kn), xr > qt && (qt = xr);
65012
65032
  });
65013
65033
  var le = G;
@@ -65156,7 +65176,7 @@ var NK = { exports: {} };
65156
65176
  B.length > 1 && this.map.fire(x.UNCOMBINE_FEATURES, { createdFeatures: B, deletedFeatures: q }), this.fireActionable();
65157
65177
  }
65158
65178
  };
65159
- var Yn = ki(k.VERTEX), ts = ki(k.MIDPOINT), _n = { fireUpdate: function() {
65179
+ var Yn = ki(k.VERTEX), es = ki(k.MIDPOINT), _n = { fireUpdate: function() {
65160
65180
  this.map.fire(x.UPDATE, { action: O.CHANGE_COORDINATES, features: this.getSelected().map(function(I) {
65161
65181
  return I.toGeoJSON();
65162
65182
  }) });
@@ -65218,13 +65238,13 @@ var NK = { exports: {} };
65218
65238
  return I.feature.removeCoordinate(G);
65219
65239
  }), this.fireUpdate(), I.selectedCoordPaths = [], this.clearSelectedCoordinates(), this.fireActionable(I), I.feature.isValid() === !1 && (this.deleteFeature([I.featureId]), this.changeMode(E.SIMPLE_SELECT, {}));
65220
65240
  }, onMouseMove: function(I, G) {
65221
- var B = Ii(G), q = Yn(G), it = ts(G), ht = I.selectedCoordPaths.length === 0;
65241
+ var B = Ii(G), q = Yn(G), it = es(G), ht = I.selectedCoordPaths.length === 0;
65222
65242
  return B && ht || q && !ht ? this.updateUIClasses({ mouse: y.MOVE }) : this.updateUIClasses({ mouse: y.NONE }), (q || B || it) && I.dragMoving && this.fireUpdate(), this.stopDragging(I), !0;
65223
65243
  }, onMouseOut: function(I) {
65224
65244
  return I.dragMoving && this.fireUpdate(), !0;
65225
65245
  } };
65226
65246
  _n.onTouchStart = _n.onMouseDown = function(I, G) {
65227
- return Yn(G) ? this.onVertex(I, G) : Ii(G) ? this.onFeature(I, G) : ts(G) ? this.onMidpoint(I, G) : void 0;
65247
+ return Yn(G) ? this.onVertex(I, G) : Ii(G) ? this.onFeature(I, G) : es(G) ? this.onMidpoint(I, G) : void 0;
65228
65248
  }, _n.onDrag = function(I, G) {
65229
65249
  if (I.canDragMove === !0) {
65230
65250
  I.dragMoving = !0, G.originalEvent.stopPropagation();
@@ -65343,7 +65363,7 @@ var NK = { exports: {} };
65343
65363
  return B(G);
65344
65364
  G.geometry.coordinates.length < 2 || (G.properties.meta = k.FEATURE, B(Pi(I.line.id, G.geometry.coordinates[I.direction === "forward" ? G.geometry.coordinates.length - 2 : 1], "" + (I.direction === "forward" ? G.geometry.coordinates.length - 2 : 1), !1)), B(G));
65345
65365
  };
65346
- var Ui = { simple_select: Xr, direct_select: _n, draw_point: pn, draw_polygon: u1, draw_line_string: Qn }, h1 = { defaultMode: E.SIMPLE_SELECT, keybindings: !0, touchEnabled: !0, clickBuffer: 2, touchBuffer: 25, boxSelect: !0, displayControlsDefault: !0, styles: Ji, modes: Ui, controls: {}, userProperties: !1 }, jn = { point: !0, line_string: !0, polygon: !0, trash: !0, combine_features: !0, uncombine_features: !0 }, es = { point: !1, line_string: !1, polygon: !1, trash: !1, combine_features: !1, uncombine_features: !1 };
65366
+ var Ui = { simple_select: Xr, direct_select: _n, draw_point: pn, draw_polygon: u1, draw_line_string: Qn }, h1 = { defaultMode: E.SIMPLE_SELECT, keybindings: !0, touchEnabled: !0, clickBuffer: 2, touchBuffer: 25, boxSelect: !0, displayControlsDefault: !0, styles: Ji, modes: Ui, controls: {}, userProperties: !1 }, jn = { point: !0, line_string: !0, polygon: !0, trash: !0, combine_features: !0, uncombine_features: !0 }, rs = { point: !1, line_string: !1, polygon: !1, trash: !1, combine_features: !1, uncombine_features: !1 };
65347
65367
  function d1(I, G) {
65348
65368
  return I.map(function(B) {
65349
65369
  return B.source ? B : Rr(B, { id: B.id + "." + G, source: G === "hot" ? Q.HOT : Q.COLD });
@@ -65377,7 +65397,7 @@ var NK = { exports: {} };
65377
65397
  Fe[++ne] = Lr;
65378
65398
  }), Fe;
65379
65399
  }
65380
- var b2, hn, C3, _c = Array.prototype, ya = Function.prototype, F4 = Object.prototype, B4 = Xo["__core-js_shared__"], bl = ya.toString, Ao = F4.hasOwnProperty, j4 = (b2 = /[^.]+$/.exec(B4 && B4.keys && B4.keys.IE_PROTO || "")) ? "Symbol(src)_1." + b2 : "", L0 = F4.toString, Ll = RegExp("^" + bl.call(Ao).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), w0 = A3 ? Xo.Buffer : void 0, k3 = Xo.Symbol, rs = Xo.Uint8Array, x0 = F4.propertyIsEnumerable, bc = _c.splice, ns = k3 ? k3.toStringTag : void 0, va = Object.getOwnPropertySymbols, Lc = w0 ? w0.isBuffer : void 0, z4 = (hn = Object.keys, C3 = Object, function(kt) {
65400
+ var b2, hn, C3, _c = Array.prototype, ya = Function.prototype, F4 = Object.prototype, B4 = Xo["__core-js_shared__"], bl = ya.toString, Ao = F4.hasOwnProperty, j4 = (b2 = /[^.]+$/.exec(B4 && B4.keys && B4.keys.IE_PROTO || "")) ? "Symbol(src)_1." + b2 : "", L0 = F4.toString, Ll = RegExp("^" + bl.call(Ao).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), w0 = A3 ? Xo.Buffer : void 0, k3 = Xo.Symbol, ns = Xo.Uint8Array, x0 = F4.propertyIsEnumerable, bc = _c.splice, is = k3 ? k3.toStringTag : void 0, va = Object.getOwnPropertySymbols, Lc = w0 ? w0.isBuffer : void 0, z4 = (hn = Object.keys, C3 = Object, function(kt) {
65381
65401
  return hn(C3(kt));
65382
65402
  }), E0 = Oo(Xo, "DataView"), I3 = Oo(Xo, "Map"), U4 = Oo(Xo, "Promise"), G4 = Oo(Xo, "Set"), $4 = Oo(Xo, "WeakMap"), Bs = Oo(Object, "create"), wl = E2(E0), W4 = E2(I3), L2 = E2(U4), M0 = E2(G4), S0 = E2($4), Z4 = k3 ? k3.prototype : void 0, _a = Z4 ? Z4.valueOf : void 0;
65383
65403
  function w2(kt) {
@@ -65411,7 +65431,7 @@ var NK = { exports: {} };
65411
65431
  this.size = ne.size;
65412
65432
  }
65413
65433
  function wc(kt, ne) {
65414
- var Fe = ss(kt), Lr = !Fe && V3(kt), Ln = !Fe && !Lr && as(kt), rn = !Fe && !Lr && !Ln && A0(kt), Jn = Fe || Lr || Ln || rn, wi = Jn ? function(yi, _1) {
65434
+ var Fe = as(kt), Lr = !Fe && V3(kt), Ln = !Fe && !Lr && ls(kt), rn = !Fe && !Lr && !Ln && A0(kt), Jn = Fe || Lr || Ln || rn, wi = Jn ? function(yi, _1) {
65415
65435
  for (var A1 = -1, Ai = Array(yi); ++A1 < yi; )
65416
65436
  Ai[A1] = _1(A1);
65417
65437
  return Ai;
@@ -65422,48 +65442,48 @@ var NK = { exports: {} };
65422
65442
  }
65423
65443
  function $r(kt, ne) {
65424
65444
  for (var Fe = kt.length; Fe--; )
65425
- if (os(kt[Fe][0], ne))
65445
+ if (ss(kt[Fe][0], ne))
65426
65446
  return Fe;
65427
65447
  return -1;
65428
65448
  }
65429
- function is(kt) {
65430
- return kt == null ? kt === void 0 ? "[object Undefined]" : "[object Null]" : ns && ns in Object(kt) ? function(ne) {
65431
- var Fe = Ao.call(ne, ns), Lr = ne[ns];
65449
+ function os(kt) {
65450
+ return kt == null ? kt === void 0 ? "[object Undefined]" : "[object Null]" : is && is in Object(kt) ? function(ne) {
65451
+ var Fe = Ao.call(ne, is), Lr = ne[is];
65432
65452
  try {
65433
- ne[ns] = void 0;
65453
+ ne[is] = void 0;
65434
65454
  var Ln = !0;
65435
65455
  } catch {
65436
65456
  }
65437
65457
  var rn = L0.call(ne);
65438
- return Ln && (Fe ? ne[ns] = Lr : delete ne[ns]), rn;
65458
+ return Ln && (Fe ? ne[is] = Lr : delete ne[is]), rn;
65439
65459
  }(kt) : function(ne) {
65440
65460
  return L0.call(ne);
65441
65461
  }(kt);
65442
65462
  }
65443
65463
  function An(kt) {
65444
- return Jo(kt) && is(kt) == it;
65464
+ return Jo(kt) && os(kt) == it;
65445
65465
  }
65446
65466
  function bn(kt, ne, Fe, Lr, Ln) {
65447
65467
  return kt === ne || (kt == null || ne == null || !Jo(kt) && !Jo(ne) ? kt != kt && ne != ne : function(rn, Jn, wi, po, gi, yi) {
65448
- var _1 = ss(rn), A1 = ss(Jn), Ai = _1 ? ht : Yo(rn), Co = A1 ? ht : Yo(Jn), ko = (Ai = Ai == it ? fr : Ai) == fr, ls = (Co = Co == it ? fr : Co) == fr, M2 = Ai == Co;
65449
- if (M2 && as(rn)) {
65450
- if (!as(Jn))
65468
+ var _1 = as(rn), A1 = as(Jn), Ai = _1 ? ht : Yo(rn), Co = A1 ? ht : Yo(Jn), ko = (Ai = Ai == it ? fr : Ai) == fr, cs = (Co = Co == it ? fr : Co) == fr, M2 = Ai == Co;
65469
+ if (M2 && ls(rn)) {
65470
+ if (!ls(Jn))
65451
65471
  return !1;
65452
65472
  _1 = !0, ko = !1;
65453
65473
  }
65454
65474
  if (M2 && !ko)
65455
- return yi || (yi = new Mn()), _1 || A0(rn) ? ba(rn, Jn, wi, po, gi, yi) : function(wn, mn, us, To, Gi, $i, t2) {
65456
- switch (us) {
65475
+ return yi || (yi = new Mn()), _1 || A0(rn) ? ba(rn, Jn, wi, po, gi, yi) : function(wn, mn, hs, To, Gi, $i, t2) {
65476
+ switch (hs) {
65457
65477
  case zn:
65458
65478
  if (wn.byteLength != mn.byteLength || wn.byteOffset != mn.byteOffset)
65459
65479
  return !1;
65460
65480
  wn = wn.buffer, mn = mn.buffer;
65461
65481
  case Ni:
65462
- return !(wn.byteLength != mn.byteLength || !$i(new rs(wn), new rs(mn)));
65482
+ return !(wn.byteLength != mn.byteLength || !$i(new ns(wn), new ns(mn)));
65463
65483
  case mt:
65464
65484
  case qt:
65465
65485
  case be:
65466
- return os(+wn, +mn);
65486
+ return ss(+wn, +mn);
65467
65487
  case le:
65468
65488
  return wn.name == mn.name && wn.message == mn.message;
65469
65489
  case xr:
@@ -65488,14 +65508,14 @@ var NK = { exports: {} };
65488
65508
  return !1;
65489
65509
  }(rn, Jn, Ai, wi, po, gi, yi);
65490
65510
  if (!(1 & wi)) {
65491
- var cs = ko && Ao.call(rn, "__wrapped__"), K4 = ls && Ao.call(Jn, "__wrapped__");
65492
- if (cs || K4) {
65493
- var xc = cs ? rn.value() : rn, xl = K4 ? Jn.value() : Jn;
65511
+ var us = ko && Ao.call(rn, "__wrapped__"), K4 = cs && Ao.call(Jn, "__wrapped__");
65512
+ if (us || K4) {
65513
+ var xc = us ? rn.value() : rn, xl = K4 ? Jn.value() : Jn;
65494
65514
  return yi || (yi = new Mn()), gi(xc, xl, wi, po, yi);
65495
65515
  }
65496
65516
  }
65497
- return M2 ? (yi || (yi = new Mn()), function(wn, mn, us, To, Gi, $i) {
65498
- var t2 = 1 & us, S2 = X4(wn), Dn = S2.length, O1 = X4(mn).length;
65517
+ return M2 ? (yi || (yi = new Mn()), function(wn, mn, hs, To, Gi, $i) {
65518
+ var t2 = 1 & hs, S2 = X4(wn), Dn = S2.length, O1 = X4(mn).length;
65499
65519
  if (Dn != O1 && !t2)
65500
65520
  return !1;
65501
65521
  for (var Wi = Dn; Wi--; ) {
@@ -65508,17 +65528,17 @@ var NK = { exports: {} };
65508
65528
  return Y4 == mn;
65509
65529
  var Us = !0;
65510
65530
  $i.set(wn, mn), $i.set(mn, wn);
65511
- for (var hs = t2; ++Wi < Dn; ) {
65531
+ for (var ds = t2; ++Wi < Dn; ) {
65512
65532
  var fo = wn[Io = S2[Wi]], wa = mn[Io];
65513
65533
  if (To)
65514
65534
  var N3 = t2 ? To(wa, fo, Io, mn, wn, $i) : To(fo, wa, Io, wn, mn, $i);
65515
- if (!(N3 === void 0 ? fo === wa || Gi(fo, wa, us, To, $i) : N3)) {
65535
+ if (!(N3 === void 0 ? fo === wa || Gi(fo, wa, hs, To, $i) : N3)) {
65516
65536
  Us = !1;
65517
65537
  break;
65518
65538
  }
65519
- hs || (hs = Io == "constructor");
65539
+ ds || (ds = Io == "constructor");
65520
65540
  }
65521
- if (Us && !hs) {
65541
+ if (Us && !ds) {
65522
65542
  var xa = wn.constructor, Gs = mn.constructor;
65523
65543
  xa == Gs || !("constructor" in wn) || !("constructor" in mn) || typeof xa == "function" && xa instanceof xa && typeof Gs == "function" && Gs instanceof Gs || (Us = !1);
65524
65544
  }
@@ -65558,10 +65578,10 @@ var NK = { exports: {} };
65558
65578
  break;
65559
65579
  }
65560
65580
  if (A1) {
65561
- if (!vc(ne, function(ls, M2) {
65562
- if (cs = M2, !A1.has(cs) && (Ai === ls || Ln(Ai, ls, Fe, Lr, rn)))
65581
+ if (!vc(ne, function(cs, M2) {
65582
+ if (us = M2, !A1.has(us) && (Ai === cs || Ln(Ai, cs, Fe, Lr, rn)))
65563
65583
  return A1.push(M2);
65564
- var cs;
65584
+ var us;
65565
65585
  })) {
65566
65586
  _1 = !1;
65567
65587
  break;
@@ -65576,7 +65596,7 @@ var NK = { exports: {} };
65576
65596
  function X4(kt) {
65577
65597
  return function(ne, Fe, Lr) {
65578
65598
  var Ln = Fe(ne);
65579
- return ss(ne) ? Ln : function(rn, Jn) {
65599
+ return as(ne) ? Ln : function(rn, Jn) {
65580
65600
  for (var wi = -1, po = Jn.length, gi = rn.length; ++wi < po; )
65581
65601
  rn[gi + wi] = Jn[wi];
65582
65602
  return rn;
@@ -65671,7 +65691,7 @@ var NK = { exports: {} };
65671
65691
  }));
65672
65692
  } : function() {
65673
65693
  return [];
65674
- }, Yo = is;
65694
+ }, Yo = os;
65675
65695
  function H0(kt, ne) {
65676
65696
  return !!(ne = ne ?? q) && (typeof kt == "number" || vl.test(kt)) && kt > -1 && kt % 1 == 0 && kt < ne;
65677
65697
  }
@@ -65688,11 +65708,11 @@ var NK = { exports: {} };
65688
65708
  }
65689
65709
  return "";
65690
65710
  }
65691
- function os(kt, ne) {
65711
+ function ss(kt, ne) {
65692
65712
  return kt === ne || kt != kt && ne != ne;
65693
65713
  }
65694
65714
  (E0 && Yo(new E0(new ArrayBuffer(1))) != zn || I3 && Yo(new I3()) != Me || U4 && Yo(U4.resolve()) != kn || G4 && Yo(new G4()) != un || $4 && Yo(new $4()) != Tn) && (Yo = function(kt) {
65695
- var ne = is(kt), Fe = ne == fr ? kt.constructor : void 0, Lr = Fe ? E2(Fe) : "";
65715
+ var ne = os(kt), Fe = ne == fr ? kt.constructor : void 0, Lr = Fe ? E2(Fe) : "";
65696
65716
  if (Lr)
65697
65717
  switch (Lr) {
65698
65718
  case wl:
@@ -65712,13 +65732,13 @@ var NK = { exports: {} };
65712
65732
  return arguments;
65713
65733
  }()) ? An : function(kt) {
65714
65734
  return Jo(kt) && Ao.call(kt, "callee") && !x0.call(kt, "callee");
65715
- }, ss = Array.isArray, as = Lc || function() {
65735
+ }, as = Array.isArray, ls = Lc || function() {
65716
65736
  return !1;
65717
65737
  };
65718
65738
  function La(kt) {
65719
65739
  if (!zs(kt))
65720
65740
  return !1;
65721
- var ne = is(kt);
65741
+ var ne = os(kt);
65722
65742
  return ne == ve || ne == "[object GeneratorFunction]" || ne == "[object AsyncFunction]" || ne == "[object Proxy]";
65723
65743
  }
65724
65744
  function R3(kt) {
@@ -65736,7 +65756,7 @@ var NK = { exports: {} };
65736
65756
  return kt(ne);
65737
65757
  };
65738
65758
  }(Ho) : function(kt) {
65739
- return Jo(kt) && R3(kt.length) && !!Nn[is(kt)];
65759
+ return Jo(kt) && R3(kt.length) && !!Nn[os(kt)];
65740
65760
  };
65741
65761
  function O0(kt) {
65742
65762
  return (ne = kt) != null && R3(ne.length) && !La(ne) ? wc(kt) : P3(kt);
@@ -65758,7 +65778,7 @@ var NK = { exports: {} };
65758
65778
  var B = { options: I = function(it) {
65759
65779
  it === void 0 && (it = {});
65760
65780
  var ht = Rr(it);
65761
- return it.controls || (ht.controls = {}), it.displayControlsDefault === !1 ? ht.controls = Rr(es, it.controls) : ht.controls = Rr(jn, it.controls), (ht = Rr(h1, ht)).styles = d1(ht.styles, "cold").concat(d1(ht.styles, "hot")), ht;
65781
+ return it.controls || (ht.controls = {}), it.displayControlsDefault === !1 ? ht.controls = Rr(rs, it.controls) : ht.controls = Rr(jn, it.controls), (ht = Rr(h1, ht)).styles = d1(ht.styles, "cold").concat(d1(ht.styles, "hot")), ht;
65762
65782
  }(I) };
65763
65783
  G = function(it, ht) {
65764
65784
  return ht.modes = E, ht.getFeatureIdsAt = function(mt) {
@@ -65942,34 +65962,34 @@ C9 = /* @__PURE__ */ new WeakSet(), TQ = function(t) {
65942
65962
  }, V6 = /* @__PURE__ */ new WeakSet(), d5 = function(t, e) {
65943
65963
  e.id && this.__uncommittedFeatureIds.add(e.id), this.__flatmap.annotationEvent(t, e);
65944
65964
  };
65945
- var l2, c2, vs, nM, fQ, Ga, k9, G2, N7, D7, p5;
65965
+ var l2, c2, _s, nM, fQ, Ga, k9, G2, N7, D7, p5;
65946
65966
  class Kkt {
65947
65967
  constructor(e, r) {
65948
- Ft(this, l2, void 0), Ft(this, c2, void 0), Ft(this, vs, void 0), Ft(this, nM, void 0), Ft(this, fQ, void 0), Ft(this, Ga, void 0), Ft(this, k9, void 0), Ft(this, G2, void 0), Ft(this, N7, !1), Ft(this, D7, void 0), Ft(this, p5, void 0), Jt(this, nM, e), Jt(this, k9, void 0), Jt(this, p5, r);
65968
+ Ft(this, l2, void 0), Ft(this, c2, void 0), Ft(this, _s, void 0), Ft(this, nM, void 0), Ft(this, fQ, void 0), Ft(this, Ga, void 0), Ft(this, k9, void 0), Ft(this, G2, void 0), Ft(this, N7, !1), Ft(this, D7, void 0), Ft(this, p5, void 0), Jt(this, nM, e), Jt(this, k9, void 0), Jt(this, p5, r);
65949
65969
  }
65950
65970
  getDefaultPosition() {
65951
65971
  return "top-right";
65952
65972
  }
65953
65973
  onAdd(e) {
65954
- Jt(this, k9, e), Jt(this, vs, document.createElement("div")), K(this, vs).id = "centreline-nerve-ctrl", K(this, vs).className = "maplibregl-ctrl", Jt(this, Ga, document.createElement("div")), K(this, Ga).id = "centreline-key-text", K(this, Ga).className = "flatmap-nerve-grid centreline-nerve-grid", Jt(this, G2, K(this, p5).getNerveDetails().sort((n, i) => n.label.localeCompare(i.label)));
65974
+ Jt(this, k9, e), Jt(this, _s, document.createElement("div")), K(this, _s).id = "centreline-nerve-ctrl", K(this, _s).className = "maplibregl-ctrl", Jt(this, Ga, document.createElement("div")), K(this, Ga).id = "centreline-key-text", K(this, Ga).className = "flatmap-nerve-grid centreline-nerve-grid", Jt(this, G2, K(this, p5).getNerveDetails().sort((n, i) => n.label.localeCompare(i.label)));
65955
65975
  const r = [];
65956
65976
  r.push('<label class="heading" for="nerve-all-nerves">PATH NERVES:</label></div><input id="nerve-all-nerves" type="checkbox" checked/>'), r.push('<label for="show-centrelines">Show centrelines?</label></div><input id="show-centrelines" type="checkbox"/>'), r.push('<label for="nerve-NO-NERVES">No associated nerves</label></div><input id="nerve-NO-NERVES" type="checkbox" checked/>');
65957
65977
  for (const n of K(this, G2))
65958
65978
  n.models !== "NO-NERVES" && r.push(`<label for="nerve-${n.models}">${n.label}</label></div><input id="nerve-${n.models}" type="checkbox" checked/>`);
65959
65979
  return Jt(this, D7, new Map(K(this, G2).map((n) => [n.models, !0]))), K(this, Ga).innerHTML = r.join(`
65960
- `), Jt(this, c2, K(this, G2).length), Jt(this, fQ, Math.trunc(K(this, G2).length / 2)), Jt(this, l2, document.createElement("button")), K(this, l2).id = "centreline-key-button", K(this, l2).className = "control-button text-button", K(this, l2).setAttribute("type", "button"), K(this, l2).setAttribute("aria-label", "Neuron paths associated with nerves"), K(this, l2).setAttribute("control-visible", "false"), K(this, l2).textContent = "NERVES", K(this, l2).title = "Show/hide neuron paths associated with nerves", K(this, vs).appendChild(K(this, l2)), K(this, vs).addEventListener("click", this.onClick_.bind(this)), K(this, vs);
65980
+ `), Jt(this, c2, K(this, G2).length), Jt(this, fQ, Math.trunc(K(this, G2).length / 2)), Jt(this, l2, document.createElement("button")), K(this, l2).id = "centreline-key-button", K(this, l2).className = "control-button text-button", K(this, l2).setAttribute("type", "button"), K(this, l2).setAttribute("aria-label", "Neuron paths associated with nerves"), K(this, l2).setAttribute("control-visible", "false"), K(this, l2).textContent = "NERVES", K(this, l2).title = "Show/hide neuron paths associated with nerves", K(this, _s).appendChild(K(this, l2)), K(this, _s).addEventListener("click", this.onClick_.bind(this)), K(this, _s);
65961
65981
  }
65962
65982
  onRemove() {
65963
- K(this, vs).parentNode.removeChild(K(this, vs)), Jt(this, k9, void 0);
65983
+ K(this, _s).parentNode.removeChild(K(this, _s)), Jt(this, k9, void 0);
65964
65984
  }
65965
65985
  onClick_(e) {
65966
65986
  if (e.target.id === "centreline-key-button")
65967
65987
  if (K(this, l2).getAttribute("control-visible") === "false") {
65968
- K(this, vs).appendChild(K(this, Ga)), K(this, l2).setAttribute("control-visible", "true");
65988
+ K(this, _s).appendChild(K(this, Ga)), K(this, l2).setAttribute("control-visible", "true");
65969
65989
  const r = document.getElementById("nerve-all-nerves");
65970
65990
  r.indeterminate = K(this, c2) < K(this, G2).length && K(this, c2) > 0, K(this, Ga).focus();
65971
65991
  } else
65972
- Jt(this, Ga, K(this, vs).removeChild(K(this, Ga))), K(this, l2).setAttribute("control-visible", "false");
65992
+ Jt(this, Ga, K(this, _s).removeChild(K(this, Ga))), K(this, l2).setAttribute("control-visible", "false");
65973
65993
  else if (e.target.tagName === "INPUT") {
65974
65994
  if (e.target.id === "nerve-all-nerves") {
65975
65995
  e.target.indeterminate && (e.target.checked = K(this, c2) >= K(this, fQ), e.target.indeterminate = !1), e.target.checked ? Jt(this, c2, K(this, G2).length) : Jt(this, c2, 0);
@@ -65992,7 +66012,7 @@ class Kkt {
65992
66012
  e.stopPropagation();
65993
66013
  }
65994
66014
  }
65995
- l2 = /* @__PURE__ */ new WeakMap(), c2 = /* @__PURE__ */ new WeakMap(), vs = /* @__PURE__ */ new WeakMap(), nM = /* @__PURE__ */ new WeakMap(), fQ = /* @__PURE__ */ new WeakMap(), Ga = /* @__PURE__ */ new WeakMap(), k9 = /* @__PURE__ */ new WeakMap(), G2 = /* @__PURE__ */ new WeakMap(), N7 = /* @__PURE__ */ new WeakMap(), D7 = /* @__PURE__ */ new WeakMap(), p5 = /* @__PURE__ */ new WeakMap();
66015
+ l2 = /* @__PURE__ */ new WeakMap(), c2 = /* @__PURE__ */ new WeakMap(), _s = /* @__PURE__ */ new WeakMap(), nM = /* @__PURE__ */ new WeakMap(), fQ = /* @__PURE__ */ new WeakMap(), Ga = /* @__PURE__ */ new WeakMap(), k9 = /* @__PURE__ */ new WeakMap(), G2 = /* @__PURE__ */ new WeakMap(), N7 = /* @__PURE__ */ new WeakMap(), D7 = /* @__PURE__ */ new WeakMap(), p5 = /* @__PURE__ */ new WeakMap();
65996
66016
  class Ykt {
65997
66017
  constructor(e, r) {
65998
66018
  this._flatmap = e, this._map = void 0, this.__pathTypes = r;
@@ -92113,7 +92133,7 @@ var q8 = {}, J5 = {}, _Y = P && P.__extends || /* @__PURE__ */ function() {
92113
92133
  };
92114
92134
  Object.defineProperty(J5, "__esModule", { value: !0 });
92115
92135
  J5.FlalignItem = J5.MultlineItem = void 0;
92116
- var bY = Sr, bjt = $A(mi()), _s = $A(Qi), LY = $A(Cn), Bw = ao, Ljt = function(t) {
92136
+ var bY = Sr, bjt = $A(mi()), bs = $A(Qi), LY = $A(Cn), Bw = ao, Ljt = function(t) {
92117
92137
  _Y(e, t);
92118
92138
  function e(r) {
92119
92139
  for (var n = [], i = 1; i < arguments.length; i++)
@@ -92139,12 +92159,12 @@ var bY = Sr, bjt = $A(mi()), _s = $A(Qi), LY = $A(Cn), Bw = ao, Ljt = function(t
92139
92159
  }, e.prototype.EndTable = function() {
92140
92160
  if (t.prototype.EndTable.call(this), this.table.length) {
92141
92161
  var r = this.table.length - 1, n = -1;
92142
- _s.default.getAttribute(_s.default.getChildren(this.table[0])[0], "columnalign") || _s.default.setAttribute(_s.default.getChildren(this.table[0])[0], "columnalign", Bw.TexConstant.Align.LEFT), _s.default.getAttribute(_s.default.getChildren(this.table[r])[0], "columnalign") || _s.default.setAttribute(_s.default.getChildren(this.table[r])[0], "columnalign", Bw.TexConstant.Align.RIGHT);
92162
+ bs.default.getAttribute(bs.default.getChildren(this.table[0])[0], "columnalign") || bs.default.setAttribute(bs.default.getChildren(this.table[0])[0], "columnalign", Bw.TexConstant.Align.LEFT), bs.default.getAttribute(bs.default.getChildren(this.table[r])[0], "columnalign") || bs.default.setAttribute(bs.default.getChildren(this.table[r])[0], "columnalign", Bw.TexConstant.Align.RIGHT);
92143
92163
  var i = this.factory.configuration.tags.getTag();
92144
92164
  if (i) {
92145
92165
  n = this.arraydef.side === Bw.TexConstant.Align.LEFT ? 0 : this.table.length - 1;
92146
- var o = this.table[n], s = this.create("node", "mlabeledtr", [i].concat(_s.default.getChildren(o)));
92147
- _s.default.copyAttributes(o, s), this.table[n] = s;
92166
+ var o = this.table[n], s = this.create("node", "mlabeledtr", [i].concat(bs.default.getChildren(o)));
92167
+ bs.default.copyAttributes(o, s), this.table[n] = s;
92148
92168
  }
92149
92169
  }
92150
92170
  this.factory.configuration.tags.end();
@@ -92176,7 +92196,7 @@ var wjt = function(t) {
92176
92196
  this.row.length > this.maxrow && (this.maxrow = this.row.length), t.prototype.EndRow.call(this);
92177
92197
  var o = this.table[this.table.length - 1];
92178
92198
  if (this.getProperty("zeroWidthLabel") && o.isKind("mlabeledtr")) {
92179
- var s = _s.default.getChildren(o)[0], a = this.factory.configuration.options.tagSide, u = AM({ width: 0 }, a === "right" ? { lspace: "-1width" } : {}), d = this.create("node", "mpadded", _s.default.getChildren(s), u);
92199
+ var s = bs.default.getChildren(o)[0], a = this.factory.configuration.options.tagSide, u = AM({ width: 0 }, a === "right" ? { lspace: "-1width" } : {}), d = this.create("node", "mpadded", bs.default.getChildren(s), u);
92180
92200
  s.setChildren([d]);
92181
92201
  }
92182
92202
  }, e.prototype.EndTable = function() {
@@ -94466,20 +94486,20 @@ var Mzt = P && P.__createBinding || (Object.create ? function(t, e, r, n) {
94466
94486
  return t && t.__esModule ? t : { default: t };
94467
94487
  };
94468
94488
  Object.defineProperty(cp, "__esModule", { value: !0 });
94469
- var Azt = i_(Cn), Ozt = Hzt(Vr), Czt = i_(v2), F5 = i_(mi()), g1 = i_(mc), X2 = {};
94470
- X2.NewCommand = function(t, e) {
94489
+ var Azt = i_(Cn), Ozt = Hzt(Vr), Czt = i_(v2), F5 = i_(mi()), g1 = i_(mc), K2 = {};
94490
+ K2.NewCommand = function(t, e) {
94471
94491
  var r = g1.default.GetCsNameArgument(t, e), n = g1.default.GetArgCount(t, e), i = t.GetBrackets(e), o = t.GetArgument(e);
94472
- g1.default.addMacro(t, r, X2.Macro, [o, n, i]);
94492
+ g1.default.addMacro(t, r, K2.Macro, [o, n, i]);
94473
94493
  };
94474
- X2.NewEnvironment = function(t, e) {
94494
+ K2.NewEnvironment = function(t, e) {
94475
94495
  var r = F5.default.trimSpaces(t.GetArgument(e)), n = g1.default.GetArgCount(t, e), i = t.GetBrackets(e), o = t.GetArgument(e), s = t.GetArgument(e);
94476
- g1.default.addEnvironment(t, r, X2.BeginEnv, [!0, o, s, n, i]);
94496
+ g1.default.addEnvironment(t, r, K2.BeginEnv, [!0, o, s, n, i]);
94477
94497
  };
94478
- X2.MacroDef = function(t, e) {
94498
+ K2.MacroDef = function(t, e) {
94479
94499
  var r = g1.default.GetCSname(t, e), n = g1.default.GetTemplate(t, e, "\\" + r), i = t.GetArgument(e);
94480
- n instanceof Array ? g1.default.addMacro(t, r, X2.MacroWithTemplate, [i].concat(n)) : g1.default.addMacro(t, r, X2.Macro, [i, n]);
94500
+ n instanceof Array ? g1.default.addMacro(t, r, K2.MacroWithTemplate, [i].concat(n)) : g1.default.addMacro(t, r, K2.Macro, [i, n]);
94481
94501
  };
94482
- X2.Let = function(t, e) {
94502
+ K2.Let = function(t, e) {
94483
94503
  var r = g1.default.GetCSname(t, e), n = t.GetNext();
94484
94504
  n === "=" && (t.i++, n = t.GetNext());
94485
94505
  var i = t.configuration.handlers;
@@ -94514,9 +94534,9 @@ X2.Let = function(t, e) {
94514
94534
  g1.default.addDelimiter(t, "\\" + r, T.char, T.attributes);
94515
94535
  return;
94516
94536
  }
94517
- g1.default.addMacro(t, r, X2.Macro, [n]);
94537
+ g1.default.addMacro(t, r, K2.Macro, [n]);
94518
94538
  };
94519
- X2.MacroWithTemplate = function(t, e, r, n) {
94539
+ K2.MacroWithTemplate = function(t, e, r, n) {
94520
94540
  for (var i = [], o = 4; o < arguments.length; o++)
94521
94541
  i[o - 4] = arguments[o];
94522
94542
  var s = parseInt(n, 10);
@@ -94530,7 +94550,7 @@ X2.MacroWithTemplate = function(t, e, r, n) {
94530
94550
  }
94531
94551
  t.string = F5.default.addArgs(t, r, t.string.slice(t.i)), t.i = 0, F5.default.checkMaxMacros(t);
94532
94552
  };
94533
- X2.BeginEnv = function(t, e, r, n, i, o) {
94553
+ K2.BeginEnv = function(t, e, r, n, i, o) {
94534
94554
  if (e.getProperty("end") && t.stack.env.closing === e.getName()) {
94535
94555
  delete t.stack.env.closing;
94536
94556
  var s = t.string.slice(t.i);
@@ -94548,8 +94568,8 @@ X2.BeginEnv = function(t, e, r, n, i, o) {
94548
94568
  }
94549
94569
  return t.string = F5.default.addArgs(t, r, t.string.slice(t.i)), t.i = 0, t.itemFactory.create("beginEnv").setProperty("name", e.getName());
94550
94570
  };
94551
- X2.Macro = Czt.default.Macro;
94552
- cp.default = X2;
94571
+ K2.Macro = Czt.default.Macro;
94572
+ cp.default = K2;
94553
94573
  var up = {}, kzt = P && P.__extends || /* @__PURE__ */ function() {
94554
94574
  var t = function(e, r) {
94555
94575
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
@@ -98483,7 +98503,7 @@ var JUt = d_(Mo()), Ij = d_(Cn), tGt = d_(mi()), eGt = Cr, Pj = d_(Qi), Vj = Sr,
98483
98503
  pp.TextParser = rGt;
98484
98504
  var nGt = P && P.__importDefault || function(t) {
98485
98505
  return t && t.__esModule ? t : { default: t };
98486
- }, iGt = Vr, gs = ao, oGt = gc, sGt = nGt(mi()), aGt = pp;
98506
+ }, iGt = Vr, ys = ao, oGt = gc, sGt = nGt(mi()), aGt = pp;
98487
98507
  new iGt.CommandMap("textcomp-macros", {
98488
98508
  textasciicircum: ["Insert", "^"],
98489
98509
  textasciitilde: ["Insert", "~"],
@@ -98590,18 +98610,18 @@ new iGt.CommandMap("textcomp-macros", {
98590
98610
  textdied: ["Insert", "†"],
98591
98611
  textdivorced: ["Insert", "⚮"],
98592
98612
  textmarried: ["Insert", "⚭"],
98593
- textcentoldstyle: ["Insert", "¢", gs.TexConstant.Variant.OLDSTYLE],
98594
- textdollaroldstyle: ["Insert", "$", gs.TexConstant.Variant.OLDSTYLE],
98595
- textzerooldstyle: ["Insert", "0", gs.TexConstant.Variant.OLDSTYLE],
98596
- textoneoldstyle: ["Insert", "1", gs.TexConstant.Variant.OLDSTYLE],
98597
- texttwooldstyle: ["Insert", "2", gs.TexConstant.Variant.OLDSTYLE],
98598
- textthreeoldstyle: ["Insert", "3", gs.TexConstant.Variant.OLDSTYLE],
98599
- textfouroldstyle: ["Insert", "4", gs.TexConstant.Variant.OLDSTYLE],
98600
- textfiveoldstyle: ["Insert", "5", gs.TexConstant.Variant.OLDSTYLE],
98601
- textsixoldstyle: ["Insert", "6", gs.TexConstant.Variant.OLDSTYLE],
98602
- textsevenoldstyle: ["Insert", "7", gs.TexConstant.Variant.OLDSTYLE],
98603
- texteightoldstyle: ["Insert", "8", gs.TexConstant.Variant.OLDSTYLE],
98604
- textnineoldstyle: ["Insert", "9", gs.TexConstant.Variant.OLDSTYLE]
98613
+ textcentoldstyle: ["Insert", "¢", ys.TexConstant.Variant.OLDSTYLE],
98614
+ textdollaroldstyle: ["Insert", "$", ys.TexConstant.Variant.OLDSTYLE],
98615
+ textzerooldstyle: ["Insert", "0", ys.TexConstant.Variant.OLDSTYLE],
98616
+ textoneoldstyle: ["Insert", "1", ys.TexConstant.Variant.OLDSTYLE],
98617
+ texttwooldstyle: ["Insert", "2", ys.TexConstant.Variant.OLDSTYLE],
98618
+ textthreeoldstyle: ["Insert", "3", ys.TexConstant.Variant.OLDSTYLE],
98619
+ textfouroldstyle: ["Insert", "4", ys.TexConstant.Variant.OLDSTYLE],
98620
+ textfiveoldstyle: ["Insert", "5", ys.TexConstant.Variant.OLDSTYLE],
98621
+ textsixoldstyle: ["Insert", "6", ys.TexConstant.Variant.OLDSTYLE],
98622
+ textsevenoldstyle: ["Insert", "7", ys.TexConstant.Variant.OLDSTYLE],
98623
+ texteightoldstyle: ["Insert", "8", ys.TexConstant.Variant.OLDSTYLE],
98624
+ textnineoldstyle: ["Insert", "9", ys.TexConstant.Variant.OLDSTYLE]
98605
98625
  }, {
98606
98626
  Insert: function(t, e, r, n) {
98607
98627
  if (t instanceof aGt.TextParser) {
@@ -99264,7 +99284,7 @@ class SGt {
99264
99284
  }
99265
99285
  __featureEvent(e, r, n = {}) {
99266
99286
  const i = Object.assign({}, r.properties, n);
99267
- return KE(r) ? this._flatmap.markerEvent(e, r.id, i) : r.sourceLayer === ys ? this._flatmap.featureEvent(e, this.__pathManager.pathProperties(r)) : "properties" in r ? this._flatmap.featureEvent(e, i) : !1;
99287
+ return KE(r) ? this._flatmap.markerEvent(e, r.id, i) : r.sourceLayer === vs ? this._flatmap.featureEvent(e, this.__pathManager.pathProperties(r)) : "properties" in r ? this._flatmap.featureEvent(e, i) : !1;
99268
99288
  }
99269
99289
  __resetFeatureDisplay() {
99270
99290
  this.removeTooltip_(), this._map.getCanvas().style.cursor = "default", this.resetActiveFeatures_();
@@ -101295,7 +101315,7 @@ const BGt = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration"
101295
101315
  function jGt(t) {
101296
101316
  return !tl(t) || !t.hasOwnProperty(BGt);
101297
101317
  }
101298
- const { assign: bs } = Object;
101318
+ const { assign: Ls } = Object;
101299
101319
  function Bj(t) {
101300
101320
  return !!(m2(t) && t.effect);
101301
101321
  }
@@ -101308,7 +101328,7 @@ function jj(t, e, r, n) {
101308
101328
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
101309
101329
  o0(Ie(i ? i() : {}).value)
101310
101330
  ) : o0(r.state.value[t]);
101311
- return bs(T, o, Object.keys(s || {}).reduce((f, Q) => (process.env.NODE_ENV !== "production" && Q in T && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${Q}" in store "${t}".`), f[Q] = ws(Kt(() => {
101331
+ return Ls(T, o, Object.keys(s || {}).reduce((f, Q) => (process.env.NODE_ENV !== "production" && Q in T && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${Q}" in store "${t}".`), f[Q] = Z2(Kt(() => {
101312
101332
  ug(r);
101313
101333
  const y = r._s.get(t);
101314
101334
  return s[Q].call(y, y);
@@ -101318,7 +101338,7 @@ function jj(t, e, r, n) {
101318
101338
  }
101319
101339
  function $M(t, e, r = {}, n, i, o) {
101320
101340
  let s;
101321
- const a = bs({ actions: {} }, r);
101341
+ const a = Ls({ actions: {} }, r);
101322
101342
  if (process.env.NODE_ENV !== "production" && !n._e.active)
101323
101343
  throw new Error("Pinia destroyed");
101324
101344
  const u = {
@@ -101353,7 +101373,7 @@ function $M(t, e, r = {}, n, i, o) {
101353
101373
  const O = o ? function() {
101354
101374
  const { state: rt } = r, gt = rt ? rt() : {};
101355
101375
  this.$patch((It) => {
101356
- bs(It, gt);
101376
+ Ls(It, gt);
101357
101377
  });
101358
101378
  } : (
101359
101379
  /* istanbul ignore next */
@@ -101390,7 +101410,7 @@ function $M(t, e, r = {}, n, i, o) {
101390
101410
  return Ve instanceof Promise ? Ve.then((yr) => (v7(It, yr), yr)).catch((yr) => (v7(Zt, yr), Promise.reject(yr))) : (v7(It, Ve), Ve);
101391
101411
  };
101392
101412
  }
101393
- const F = /* @__PURE__ */ ws({
101413
+ const F = /* @__PURE__ */ Z2({
101394
101414
  actions: {},
101395
101415
  getters: {},
101396
101416
  state: [],
@@ -101409,14 +101429,14 @@ function $M(t, e, r = {}, n, i, o) {
101409
101429
  type: Oh.direct,
101410
101430
  events: y
101411
101431
  }, Zt);
101412
- }, bs({}, u, rt)));
101432
+ }, Ls({}, u, rt)));
101413
101433
  return gt;
101414
101434
  },
101415
101435
  $dispose: k
101416
- }, $ = u3(process.env.NODE_ENV !== "production" || nx ? bs(
101436
+ }, $ = u3(process.env.NODE_ENV !== "production" || nx ? Ls(
101417
101437
  {
101418
101438
  _hmrPayload: F,
101419
- _customProperties: ws(/* @__PURE__ */ new Set())
101439
+ _customProperties: Z2(/* @__PURE__ */ new Set())
101420
101440
  // devtools custom properties
101421
101441
  },
101422
101442
  U
@@ -101428,7 +101448,7 @@ function $M(t, e, r = {}, n, i, o) {
101428
101448
  for (const ct in nt) {
101429
101449
  const rt = nt[ct];
101430
101450
  if (m2(rt) && !Bj(rt) || XM(rt))
101431
- process.env.NODE_ENV !== "production" && i ? df(L.value, ct, q2(nt, ct)) : o || (_ && jGt(rt) && (m2(rt) ? rt.value = _[ct] : GM(rt, _[ct])), n.state.value[t][ct] = rt), process.env.NODE_ENV !== "production" && F.state.push(ct);
101451
+ process.env.NODE_ENV !== "production" && i ? df(L.value, ct, X2(nt, ct)) : o || (_ && jGt(rt) && (m2(rt) ? rt.value = _[ct] : GM(rt, _[ct])), n.state.value[t][ct] = rt), process.env.NODE_ENV !== "production" && F.state.push(ct);
101432
101452
  else if (typeof rt == "function") {
101433
101453
  const gt = process.env.NODE_ENV !== "production" && i ? rt : R(ct, rt);
101434
101454
  nt[ct] = gt, process.env.NODE_ENV !== "production" && (F.actions[ct] = rt), a.actions[ct] = rt;
@@ -101436,27 +101456,27 @@ function $M(t, e, r = {}, n, i, o) {
101436
101456
  // @ts-expect-error
101437
101457
  r.getters[ct]
101438
101458
  ) : rt, bO && (nt._getters || // @ts-expect-error: same
101439
- (nt._getters = ws([]))).push(ct));
101459
+ (nt._getters = Z2([]))).push(ct));
101440
101460
  }
101441
- if (bs($, nt), bs(Ch($), nt), Object.defineProperty($, "$state", {
101461
+ if (Ls($, nt), Ls(Ch($), nt), Object.defineProperty($, "$state", {
101442
101462
  get: () => process.env.NODE_ENV !== "production" && i ? L.value : n.state.value[t],
101443
101463
  set: (ct) => {
101444
101464
  if (process.env.NODE_ENV !== "production" && i)
101445
101465
  throw new Error("cannot set hotState");
101446
101466
  x((rt) => {
101447
- bs(rt, ct);
101467
+ Ls(rt, ct);
101448
101468
  });
101449
101469
  }
101450
- }), process.env.NODE_ENV !== "production" && ($._hotUpdate = ws((ct) => {
101470
+ }), process.env.NODE_ENV !== "production" && ($._hotUpdate = Z2((ct) => {
101451
101471
  $._hotUpdating = !0, ct._hmrPayload.state.forEach((rt) => {
101452
101472
  if (rt in $.$state) {
101453
101473
  const gt = ct.$state[rt], It = $.$state[rt];
101454
101474
  typeof gt == "object" && tl(gt) && tl(It) ? pJ(gt, It) : ct.$state[rt] = It;
101455
101475
  }
101456
- df($, rt, q2(ct.$state, rt));
101476
+ df($, rt, X2(ct.$state, rt));
101457
101477
  }), Object.keys($.$state).forEach((rt) => {
101458
101478
  rt in ct.$state || rx($, rt);
101459
- }), d = !1, T = !1, n.state.value[t] = q2(ct._hmrPayload, "hotState"), T = !0, i1().then(() => {
101479
+ }), d = !1, T = !1, n.state.value[t] = X2(ct._hmrPayload, "hotState"), T = !0, i1().then(() => {
101460
101480
  d = !0;
101461
101481
  });
101462
101482
  for (const rt in ct._hmrPayload.actions) {
@@ -101483,7 +101503,7 @@ function $M(t, e, r = {}, n, i, o) {
101483
101503
  enumerable: !1
101484
101504
  };
101485
101505
  ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((rt) => {
101486
- Object.defineProperty($, rt, bs({ value: $[rt] }, ct));
101506
+ Object.defineProperty($, rt, Ls({ value: $[rt] }, ct));
101487
101507
  });
101488
101508
  }
101489
101509
  return n._p.forEach((ct) => {
@@ -101494,9 +101514,9 @@ function $M(t, e, r = {}, n, i, o) {
101494
101514
  pinia: n,
101495
101515
  options: a
101496
101516
  }));
101497
- Object.keys(rt || {}).forEach((gt) => $._customProperties.add(gt)), bs($, rt);
101517
+ Object.keys(rt || {}).forEach((gt) => $._customProperties.add(gt)), Ls($, rt);
101498
101518
  } else
101499
- bs($, s.run(() => ct({
101519
+ Ls($, s.run(() => ct({
101500
101520
  store: $,
101501
101521
  app: n._a,
101502
101522
  pinia: n,
@@ -101521,7 +101541,7 @@ This will fail in production.`);
101521
101541
  a = Y9, a._s.has(n) || (o ? $M(n, e, i, a) : jj(n, i, a), process.env.NODE_ENV !== "production" && (s._pinia = a));
101522
101542
  const T = a._s.get(n);
101523
101543
  if (process.env.NODE_ENV !== "production" && u) {
101524
- const f = "__hot:" + n, Q = o ? $M(f, e, i, a, !0) : jj(f, bs({}, i), a, !0);
101544
+ const f = "__hot:" + n, Q = o ? $M(f, e, i, a, !0) : jj(f, Ls({}, i), a, !0);
101525
101545
  u._hotUpdate(Q), delete a.state.value[f], a._s.delete(f);
101526
101546
  }
101527
101547
  if (process.env.NODE_ENV !== "production" && bO) {
@@ -101616,7 +101636,7 @@ const GGt = zGt("main", {
101616
101636
  this.setStateRequired = !1;
101617
101637
  },
101618
101638
  setup(t) {
101619
- return { annotator: ws(new RGt(`${t.flatmapAPI}annotator`)) };
101639
+ return { annotator: Z2(new RGt(`${t.flatmapAPI}annotator`)) };
101620
101640
  },
101621
101641
  methods: {
101622
101642
  /**
@@ -101879,9 +101899,10 @@ const GGt = zGt("main", {
101879
101899
  * @arg {Array} `taxonIdentifiers`
101880
101900
  */
101881
101901
  processTaxon: function(t, e) {
101882
- this.taxonConnectivity.length = 0, _x(this.mapImp, e).then((r) => {
101902
+ this.taxonConnectivity.length = 0, _x(this.mapImp, t).then((r) => {
101883
101903
  r.length && r.forEach((n) => {
101884
- this.taxonConnectivity.push(n);
101904
+ let i = !0;
101905
+ e && (i = e.checkAll ? !0 : e.checked.includes(n.taxon)), this.taxonConnectivity.push({ ...n, enabled: i }), this.mapImp && this.mapImp.enableConnectivityByTaxonIds(n.taxon, i);
101885
101906
  });
101886
101907
  });
101887
101908
  },
@@ -101908,7 +101929,18 @@ const GGt = zGt("main", {
101908
101929
  * @arg {Boolean} `flag`
101909
101930
  */
101910
101931
  setOutlines: function(t) {
101911
- this.outlineRadio = t, this.mapImp && this.mapImp.setPaint({ colour: this.colourRadio, outline: t });
101932
+ this.outlinesRadio = t, this.mapImp && this.mapImp.setPaint({ colour: this.colourRadio, outline: t });
101933
+ },
101934
+ setInitMapState: function() {
101935
+ if (this.mapImp) {
101936
+ const t = this.mapImp._map, e = this.mapImp.options.bounds, r = [
101937
+ [e[0], e[1]],
101938
+ [e[2], e[3]]
101939
+ ];
101940
+ t.setMaxBounds(null), this.initMapState = {
101941
+ initBounds: r
101942
+ };
101943
+ }
101912
101944
  },
101913
101945
  /**
101914
101946
  * @public
@@ -101916,7 +101948,14 @@ const GGt = zGt("main", {
101916
101948
  * Also called when the associated button is pressed.
101917
101949
  */
101918
101950
  resetView: function() {
101919
- this.mapImp && (this.mapImp.resetMap(), this.$refs.skcanSelection && this.$refs.skcanSelection.reset(), this.$refs.layersSelection && this.$refs.layersSelection.reset(), this.$refs.systemsSelection && this.$refs.pathwaysSelection.reset(), this.$refs.pathwaysSelection && this.$refs.pathwaysSelection.reset());
101951
+ if (this.mapImp) {
101952
+ const t = this.mapImp._map, { initBounds: e } = this.initMapState;
101953
+ t.resetNorthPitch({
101954
+ animate: !1
101955
+ }), e && t.fitBounds(e, {
101956
+ animate: !1
101957
+ }), this.$refs.centrelinesSelection && this.$refs.centrelinesSelection.reset(), this.$refs.skcanSelection && this.$refs.skcanSelection.reset(), this.$refs.layersSelection && this.$refs.layersSelection.reset(), this.$refs.systemsSelection && this.$refs.pathwaysSelection.reset(), this.$refs.pathwaysSelection && this.$refs.pathwaysSelection.reset();
101958
+ }
101920
101959
  },
101921
101960
  /**
101922
101961
  * @public
@@ -102192,7 +102231,7 @@ const GGt = zGt("main", {
102192
102231
  provenanceTaxonomy: a
102193
102232
  };
102194
102233
  if (t === "click") {
102195
- if (this.featuresAlert = e.alert, this.viewingMode === "Neuron Connection")
102234
+ if (this.featuresAlert = e.alert, this.statesTracking.activeClick = !0, this.statesTracking.activeTerm = e == null ? void 0 : e.models, this.viewingMode === "Neuron Connection")
102196
102235
  this.highlightConnectedPaths([e.models]);
102197
102236
  else if (this.currentActive = e.models ? e.models : "", this.activeDrawTool && !this.isValidDrawnCreated) {
102198
102237
  const d = e.featureId || this.existDrawnFeatures.find(
@@ -102439,6 +102478,34 @@ const GGt = zGt("main", {
102439
102478
  return Array.from(new Set(t));
102440
102479
  }
102441
102480
  },
102481
+ /**
102482
+ * Function to get and store the state (object) of the map in
102483
+ * the provided argument
102484
+ */
102485
+ getVisibilityState: function(t) {
102486
+ if (["alertSelection", "pathwaysSelection", "taxonSelection"].forEach((r) => {
102487
+ let n = this.$refs[r];
102488
+ n && (t[r] = n.getState());
102489
+ }), this.$refs.treeControls) {
102490
+ const r = this.$refs.treeControls.$refs.regionTree.getCheckedKeys();
102491
+ t.systemsSelection = r.filter((n) => !n.includes("."));
102492
+ }
102493
+ },
102494
+ /**
102495
+ * Function to set and restore the visibility state (object) of
102496
+ * the map with the provided argument
102497
+ */
102498
+ setVisibilityState: function(t) {
102499
+ ["alertSelection", "pathwaysSelection", "taxonSelection"].forEach((r) => {
102500
+ const n = t[r];
102501
+ if (n) {
102502
+ const i = this.$refs[r];
102503
+ i && i.setState(n);
102504
+ }
102505
+ }), "systemsSelection" in t && this.$refs.treeControls && (this.$refs.treeControls.$refs.regionTree.setCheckedKeys(t.systemsSelection), this.systems[0].children.forEach((r) => {
102506
+ this.mapImp.enableSystem(r.key, t.systemsSelection.includes(r.key));
102507
+ }));
102508
+ },
102442
102509
  /**
102443
102510
  * @public
102444
102511
  * Function to get the state (object) of the map.
@@ -102450,7 +102517,7 @@ const GGt = zGt("main", {
102450
102517
  viewport: this.mapImp.getState()
102451
102518
  };
102452
102519
  const e = this.mapImp.getIdentifier();
102453
- return this.biologicalSex ? t.biologicalSex = this.biologicalSex : e && e.biologicalSex && (t.biologicalSex = e.biologicalSex), e && e.uuid && (t.uuid = e.uuid), t;
102520
+ return this.biologicalSex ? t.biologicalSex = this.biologicalSex : e && e.biologicalSex && (t.biologicalSex = e.biologicalSex), e && e.uuid && (t.uuid = e.uuid), t.viewingMode = this.viewingMode, t.searchTerm = this.statesTracking.activeTerm, t.flightPath3D = this.flightPath3DRadio, t.colour = this.colourRadio, t.outlinesRadio = this.outlinesRadio, t.background = this.currentBackground, this.getVisibilityState(t), t;
102454
102521
  }
102455
102522
  },
102456
102523
  /**
@@ -102459,7 +102526,7 @@ const GGt = zGt("main", {
102459
102526
  * @arg {Object} `state`
102460
102527
  */
102461
102528
  setState: function(t) {
102462
- t && (this.mapImp && t.entry && this.entry == t.entry && (!t.biologicalSex || t.biologicalSex === this.biologicalSex) ? t.viewport && this.mapImp.setState(t.viewport) : this.createFlatmap(t), this.setStateRequired = !1);
102529
+ t && (this.mapImp && t.entry && this.entry == t.entry && (!t.biologicalSex || t.biologicalSex === this.biologicalSex) ? this.restoreMapState(t) : this.createFlatmap(t), this.setStateRequired = !1);
102463
102530
  },
102464
102531
  /**
102465
102532
  * @public
@@ -102468,7 +102535,28 @@ const GGt = zGt("main", {
102468
102535
  * @arg {Object} `state`
102469
102536
  */
102470
102537
  restoreMapState: function(t) {
102471
- t && (t.viewport && this.mapImp.setState(t.viewport), t.searchTerm && this.searchAndShowResult(t.searchTerm, !0));
102538
+ if (t) {
102539
+ if (t.viewport && this.mapImp.setState(t.viewport), t.viewingMode && this.changeViewingMode(t.viewingMode), "flightPath3D" in t && this.setFlightPath3D(t.flightPath3D), "colour" in t && this.setColour(t.colour), "outlines" in t && this.setOutlines(t.outlines), t.background && this.backgroundChangeCallback(t.background), t.searchTerm) {
102540
+ const e = t.searchTerm;
102541
+ if (this.searchAndShowResult(e, !0), t.viewingMode === "Neuron Connection")
102542
+ this.highlightConnectedPaths([e]);
102543
+ else {
102544
+ const r = this.mapImp.modelFeatureIds(e);
102545
+ if (r.length > 0) {
102546
+ const n = this.mapImp.featureProperties(r[0]);
102547
+ this.searchAndShowResult(e, !0);
102548
+ const i = {
102549
+ resource: [n.source],
102550
+ feature: n,
102551
+ label: n.label,
102552
+ provenanceTaxonomy: n.taxons
102553
+ };
102554
+ this.checkAndCreatePopups(i);
102555
+ }
102556
+ }
102557
+ }
102558
+ this.setVisibilityState(t);
102559
+ }
102472
102560
  },
102473
102561
  /**
102474
102562
  * @public
@@ -102508,11 +102596,12 @@ const GGt = zGt("main", {
102508
102596
  ).then((i) => {
102509
102597
  this.mapImp = i, this.serverURL = this.mapImp.makeServerUrl("").slice(0, -1);
102510
102598
  let o = this.mapImp.details.version;
102511
- this.setFlightPathInfo(o), this.onFlatmapReady(), this._stateToBeSet ? this.restoreMapState(this._stateToBeSet) : this.restoreMapState(t);
102599
+ this.setFlightPathInfo(o);
102600
+ const s = this._stateToBeSet ? this._stateToBeSet : t;
102601
+ this.onFlatmapReady(s), this.$nextTick(() => this.restoreMapState(s));
102512
102602
  });
102513
102603
  } else t && (this._stateToBeSet = {
102514
- viewport: t.viewport,
102515
- searchTerm: t.searchTerm
102604
+ ...t
102516
102605
  }, this.mapImp && !this.loading && this.restoreMapState(this._stateToBeSet));
102517
102606
  },
102518
102607
  /**
@@ -102541,9 +102630,9 @@ const GGt = zGt("main", {
102541
102630
  * @public
102542
102631
  * This function is used for functions that need to run immediately after the flatmap is loaded.
102543
102632
  */
102544
- onFlatmapReady: function() {
102545
- var t;
102546
- this.sensor = ws(new F4t(this.$refs.display, this.mapResize)), console.log(this.mapImp.options), ((t = this.mapImp.options) == null ? void 0 : t.style) === "functional" && (this.isFC = !0), this.mapImp.setBackgroundOpacity(1), this.backgroundChangeCallback(this.currentBackground), this.pathways = this.mapImp.pathTypes(), this.processSystems(this.mapImp.getSystems()), this.processTaxon(this.flatmapAPI, this.mapImp.taxonIdentifiers), this.containsAlert = "alert" in this.mapImp.featureFilterRanges(), this.addResizeButtonToMinimap(), this.loading = !1, this.computePathControlsMaximumHeight(), this.drawerOpen = !0, this.mapResize(), this.handleMapClick(), this.$emit("ready", this);
102633
+ onFlatmapReady: function(t) {
102634
+ var e;
102635
+ this.sensor = Z2(new F4t(this.$refs.display, this.mapResize)), ((e = this.mapImp.options) == null ? void 0 : e.style) === "functional" && (this.isFC = !0), this.mapImp.setBackgroundOpacity(1), this.backgroundChangeCallback(this.currentBackground), this.pathways = this.mapImp.pathTypes(), this.processSystems(this.mapImp.getSystems()), this.processTaxon(this.mapImp.taxonIdentifiers, t ? t.taxonSelection : void 0), this.containsAlert = "alert" in this.mapImp.featureFilterRanges(), this.addResizeButtonToMinimap(), this.loading = !1, this.computePathControlsMaximumHeight(), this.drawerOpen = !0, this.mapResize(), this.handleMapClick(), this.setInitMapState(), this.$emit("ready", this);
102547
102636
  },
102548
102637
  /**
102549
102638
  * @public
@@ -102553,7 +102642,7 @@ const GGt = zGt("main", {
102553
102642
  handleMapClick: function() {
102554
102643
  const t = this.mapImp._map;
102555
102644
  t && t.on("click", (e) => {
102556
- this.tooltipEntry.featureId && this.$emit("connectivity-info-close");
102645
+ this.statesTracking.activeClick ? this.statesTracking.activeClick = !1 : this.statesTracking.activeTerm = "", this.tooltipEntry.featureId && this.$emit("connectivity-info-close");
102557
102646
  });
102558
102647
  },
102559
102648
  /**
@@ -102584,11 +102673,11 @@ const GGt = zGt("main", {
102584
102673
  searchAndShowResult: function(t, e) {
102585
102674
  if (this.mapImp) {
102586
102675
  if (t === void 0 || t === "")
102587
- return this.mapImp.clearSearchResults(), !0;
102676
+ return this.mapImp.clearSearchResults(), this.statesTracking.activeTerm = "", !0;
102588
102677
  {
102589
102678
  const r = this.mapImp.search(t);
102590
102679
  if (r && r.results && r.results.length > 0) {
102591
- if (this.mapImp.showSearchResults(r), e && r.results[0].featureId && r.results[0].text) {
102680
+ if (this.statesTracking.activeTerm = t, this.mapImp.showSearchResults(r), e && r.results[0].featureId && r.results[0].text) {
102592
102681
  const n = this.mapImp.annotation(
102593
102682
  r.results[0].featureId
102594
102683
  );
@@ -102645,7 +102734,7 @@ const GGt = zGt("main", {
102645
102734
  */
102646
102735
  minZoom: {
102647
102736
  type: Number,
102648
- default: 4
102737
+ default: 1
102649
102738
  },
102650
102739
  /**
102651
102740
  * The option to add another feature label _(`FeatureSmallSymbolLayer`)_
@@ -102825,6 +102914,7 @@ const GGt = zGt("main", {
102825
102914
  serverURL: void 0,
102826
102915
  layers: [],
102827
102916
  pathways: [],
102917
+ initMapState: {},
102828
102918
  sckanDisplay: [
102829
102919
  {
102830
102920
  label: "Display Path with SCKAN",
@@ -102834,7 +102924,7 @@ const GGt = zGt("main", {
102834
102924
  systems: [],
102835
102925
  taxonConnectivity: [],
102836
102926
  pathwaysMaxHeight: 1e3,
102837
- tooltipWait: ws([]),
102927
+ tooltipWait: Z2([]),
102838
102928
  hoverVisibilities: [
102839
102929
  { value: !1, ref: "markerPopover" },
102840
102930
  // 0
@@ -102934,11 +103024,15 @@ const GGt = zGt("main", {
102934
103024
  enabled: !0
102935
103025
  }
102936
103026
  ],
102937
- mapFilters: ws({
103027
+ mapFilters: Z2({
102938
103028
  alert: {
102939
103029
  with: !0,
102940
103030
  without: !0
102941
103031
  }
103032
+ }),
103033
+ statesTracking: Z2({
103034
+ activeClick: !1,
103035
+ activeTerm: ""
102942
103036
  })
102943
103037
  };
102944
103038
  },
@@ -102975,9 +103069,9 @@ const GGt = zGt("main", {
102975
103069
  }
102976
103070
  },
102977
103071
  mounted: function() {
102978
- this.openMapRef = OQ(this.$refs.openMapRef), this.backgroundIconRef = OQ(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager = ws(new _O(this.flatmapAPI)), this.flatmapQueries = ws(new R4t()), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
103072
+ this.openMapRef = OQ(this.$refs.openMapRef), this.backgroundIconRef = OQ(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager = Z2(new _O(this.flatmapAPI)), this.flatmapQueries = Z2(new R4t()), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
102979
103073
  }
102980
- }, Qa = (t) => (ZM("data-v-ede94544"), t = t(), qM(), t), qGt = {
103074
+ }, Qa = (t) => (ZM("data-v-1c0276dc"), t = t(), qM(), t), qGt = {
102981
103075
  class: "flatmap-container",
102982
103076
  ref: "flatmapContainer",
102983
103077
  "element-loading-text": "Loading...",
@@ -103009,7 +103103,7 @@ const GGt = zGt("main", {
103009
103103
  class: "viewing-mode-title"
103010
103104
  }, Q$t = ["onClick"], m$t = ["onClick"];
103011
103105
  function g$t(t, e, r, n, i, o) {
103012
- const s = Ls("map-svg-sprite-color"), a = Lz, u = p3, d = Sg, T = oS, f = Ls("DrawToolbar"), Q = Ls("map-svg-icon"), y = kU, _ = Ls("tree-controls"), L = CU, E = vz, x = uU, O = dd, k = pd, R = xS, F = Mg, U = wU, $ = xU, et = Ls("Tooltip"), nt = OU, ct = vx;
103106
+ const s = ws("map-svg-sprite-color"), a = Lz, u = p3, d = Sg, T = oS, f = ws("DrawToolbar"), Q = ws("map-svg-icon"), y = kU, _ = ws("tree-controls"), L = CU, E = vz, x = uU, O = dd, k = pd, R = xS, F = Mg, U = wU, $ = xU, et = ws("Tooltip"), nt = OU, ct = vx;
103013
103107
  return Ti((ce(), Ye("div", qGt, [
103014
103108
  Ce(s),
103015
103109
  Ze("div", XGt, [
@@ -103740,7 +103834,7 @@ function g$t(t, e, r, n, i, o) {
103740
103834
  [ct, t.loading]
103741
103835
  ]);
103742
103836
  }
103743
- const QJ = /* @__PURE__ */ Hg(ZGt, [["render", g$t], ["__scopeId", "data-v-ede94544"]]);
103837
+ const QJ = /* @__PURE__ */ Hg(ZGt, [["render", g$t], ["__scopeId", "data-v-1c0276dc"]]);
103744
103838
  function y$t(t) {
103745
103839
  return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, r) {
103746
103840
  var n = t.get(e);
@@ -104061,7 +104155,7 @@ const zj = new y$t(), Uj = {
104061
104155
  */
104062
104156
  minZoom: {
104063
104157
  type: Number,
104064
- default: 4
104158
+ default: 1
104065
104159
  },
104066
104160
  /**
104067
104161
  * The option to create map on component mounted.
@@ -104249,7 +104343,7 @@ const zj = new y$t(), Uj = {
104249
104343
  activeSpecies: void 0,
104250
104344
  speciesList: {},
104251
104345
  requireInitialisation: !0,
104252
- resolveList: ws([]),
104346
+ resolveList: Z2([]),
104253
104347
  initialised: !1
104254
104348
  };
104255
104349
  },
@@ -104262,7 +104356,7 @@ const zj = new y$t(), Uj = {
104262
104356
  deep: !0
104263
104357
  }
104264
104358
  }
104265
- }, _$t = (t) => (ZM("data-v-7e7688cc"), t = t(), qM(), t), b$t = {
104359
+ }, _$t = (t) => (ZM("data-v-4d306fab"), t = t(), qM(), t), b$t = {
104266
104360
  class: "multi-container",
104267
104361
  ref: "multiContainer"
104268
104362
  }, L$t = {
@@ -104359,7 +104453,7 @@ function E$t(t, e, r, n, i, o) {
104359
104453
  ])), 128))
104360
104454
  ], 512);
104361
104455
  }
104362
- const P$t = /* @__PURE__ */ Hg(v$t, [["render", E$t], ["__scopeId", "data-v-7e7688cc"]]);
104456
+ const P$t = /* @__PURE__ */ Hg(v$t, [["render", E$t], ["__scopeId", "data-v-4d306fab"]]);
104363
104457
  export {
104364
104458
  QJ as FlatmapVuer,
104365
104459
  P$t as MultiFlatmapVuer