@abi-software/flatmapvuer 1.4.1-beta.1 → 1.4.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flatmapvuer.js +229 -229
- package/dist/flatmapvuer.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/FlatmapVuer.vue +4 -1
package/dist/flatmapvuer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getCurrentScope as DB, onScopeDispose as PE, unref as pt, getCurrentInstance as po, onMounted as J1, nextTick as Li, ref as ke, readonly as FB, watch as tn, defineComponent as fr, openBlock as Yt, createElementBlock as Re, createElementVNode as ze, warn as Vtt, computed as qt, watchEffect as BB, onBeforeUnmount as ws, inject as Ln, isRef as m2, shallowRef as h5, onBeforeMount as Rtt, provide as ho, mergeProps as Ka, renderSlot as zr, toRef as p2, onUnmounted as Ntt, useAttrs as Dtt, useSlots as Qh, withDirectives as pi, createCommentVNode as sr, Fragment as h1, normalizeClass as Se, createBlock as gr, withCtx as le, resolveDynamicComponent as Po, withModifiers as H1, createVNode as Me, toDisplayString as Nn, normalizeStyle as b1, vShow as Co, Transition as mh, reactive as L4, onUpdated as Ftt, cloneVNode as Btt, Text as jB, Comment as jtt, Teleport as zB, onDeactivated as ztt, toRaw as D9, vModelCheckbox as ST, createTextVNode as gn, toRefs as L5, vModelRadio as UB, h as Yl, createSlots as GB, resolveComponent as ps, resolveDirective as Utt, renderList as Zs, withKeys as bc, vModelText as Gtt, createApp as $tt, pushScopeId as IE, popScopeId as kE, createStaticVNode as Ztt, hasInjectionContext as Wtt, markRaw as
|
|
1
|
+
import { getCurrentScope as DB, onScopeDispose as PE, unref as pt, getCurrentInstance as po, onMounted as J1, nextTick as Li, ref as ke, readonly as FB, watch as tn, defineComponent as fr, openBlock as Yt, createElementBlock as Re, createElementVNode as ze, warn as Vtt, computed as qt, watchEffect as BB, onBeforeUnmount as ws, inject as Ln, isRef as m2, shallowRef as h5, onBeforeMount as Rtt, provide as ho, mergeProps as Ka, renderSlot as zr, toRef as p2, onUnmounted as Ntt, useAttrs as Dtt, useSlots as Qh, withDirectives as pi, createCommentVNode as sr, Fragment as h1, normalizeClass as Se, createBlock as gr, withCtx as le, resolveDynamicComponent as Po, withModifiers as H1, createVNode as Me, toDisplayString as Nn, normalizeStyle as b1, vShow as Co, Transition as mh, reactive as L4, onUpdated as Ftt, cloneVNode as Btt, Text as jB, Comment as jtt, Teleport as zB, onDeactivated as ztt, toRaw as D9, vModelCheckbox as ST, createTextVNode as gn, toRefs as L5, vModelRadio as UB, h as Yl, createSlots as GB, resolveComponent as ps, resolveDirective as Utt, renderList as Zs, withKeys as bc, vModelText as Gtt, createApp as $tt, pushScopeId as IE, popScopeId as kE, createStaticVNode as Ztt, hasInjectionContext as Wtt, markRaw as qo, effectScope as qtt, isReactive as VE } from "vue";
|
|
2
2
|
import { MapSvgIcon as Xtt, MapSvgSpriteColor as Ktt } from "@abi-software/svg-sprite";
|
|
3
3
|
import { Tooltip as Ytt, TreeControls as Jtt, DrawToolbar as tet } from "@abi-software/map-utilities";
|
|
4
4
|
const t4 = (t, e, { checkForDefaultPrevented: r = !0 } = {}) => (i) => {
|
|
@@ -204,7 +204,7 @@ const yet = () => r1 && /firefox/i.test(window.navigator.userAgent);
|
|
|
204
204
|
process.env.NODE_ENV !== "production" && Object.freeze({});
|
|
205
205
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
206
206
|
const h4 = () => {
|
|
207
|
-
}, WB = Object.assign, _et = Object.prototype.hasOwnProperty, pO = (t, e) => _et.call(t, e), Oo = Array.isArray, G2 = (t) => typeof t == "function",
|
|
207
|
+
}, WB = Object.assign, _et = Object.prototype.hasOwnProperty, pO = (t, e) => _et.call(t, e), Oo = Array.isArray, G2 = (t) => typeof t == "function", t2 = (t) => typeof t == "string", vet = (t) => typeof t == "symbol", Io = (t) => t !== null && typeof t == "object", bet = Object.prototype.toString, Let = (t) => bet.call(t), ev = (t) => Let(t).slice(8, -1), qB = (t) => {
|
|
208
208
|
const e = /* @__PURE__ */ Object.create(null);
|
|
209
209
|
return (r) => e[r] || (e[r] = t(r));
|
|
210
210
|
}, xet = /-(\w)/g, wet = qB((t) => t.replace(xet, (e, r) => r ? r.toUpperCase() : "")), Eet = /\B([A-Z])/g, Met = qB(
|
|
@@ -1112,7 +1112,7 @@ function y1t(t, e) {
|
|
|
1112
1112
|
var _1t = nit(function(t, e) {
|
|
1113
1113
|
return t == null ? {} : y1t(t, e);
|
|
1114
1114
|
});
|
|
1115
|
-
const z9 = (t) => t === void 0, y4 = (t) => typeof t == "boolean", O1 = (t) => typeof t == "number", U9 = (t) => typeof Element > "u" ? !1 : t instanceof Element, v1t = (t) =>
|
|
1115
|
+
const z9 = (t) => t === void 0, y4 = (t) => typeof t == "boolean", O1 = (t) => typeof t == "number", U9 = (t) => typeof Element > "u" ? !1 : t instanceof Element, v1t = (t) => t2(t) ? !Number.isNaN(Number(t)) : !1, b1t = (t = "") => t.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), DO = (t) => Object.keys(t);
|
|
1116
1116
|
class dj extends Error {
|
|
1117
1117
|
constructor(e) {
|
|
1118
1118
|
super(e), this.name = "ElementPlusError";
|
|
@@ -1123,7 +1123,7 @@ function pj(t, e) {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
function ko(t, e) {
|
|
1125
1125
|
if (process.env.NODE_ENV !== "production") {
|
|
1126
|
-
const r =
|
|
1126
|
+
const r = t2(t) ? new dj(`[${t}] ${e}`) : t;
|
|
1127
1127
|
console.warn(r);
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
@@ -1158,7 +1158,7 @@ function w5(t, e = "px") {
|
|
|
1158
1158
|
return "";
|
|
1159
1159
|
if (O1(t) || v1t(t))
|
|
1160
1160
|
return `${t}${e}`;
|
|
1161
|
-
if (
|
|
1161
|
+
if (t2(t))
|
|
1162
1162
|
return t;
|
|
1163
1163
|
ko(L1t, "binding value must be a string or number");
|
|
1164
1164
|
}
|
|
@@ -2829,7 +2829,7 @@ const O2t = Dn({
|
|
|
2829
2829
|
}
|
|
2830
2830
|
});
|
|
2831
2831
|
var k2t = /* @__PURE__ */ An(I2t, [["__file", "icon.vue"]]);
|
|
2832
|
-
const
|
|
2832
|
+
const Jo = g2(k2t), sM = Symbol("formContextKey"), IT = Symbol("formItemContextKey"), M5 = (t, e = {}) => {
|
|
2833
2833
|
const r = ke(void 0), n = e.prop ? r : Aj("size"), i = e.global ? r : S2t(), o = e.form ? { size: void 0 } : Ln(sM, void 0), s = e.formItem ? { size: void 0 } : Ln(IT, void 0);
|
|
2834
2834
|
return qt(() => n.value || pt(t) || (s == null ? void 0 : s.size) || (o == null ? void 0 : o.size) || i.value || "");
|
|
2835
2835
|
}, Lh = (t) => {
|
|
@@ -3010,9 +3010,9 @@ const D2t = Dn({
|
|
|
3010
3010
|
default: !1
|
|
3011
3011
|
}
|
|
3012
3012
|
}), F2t = {
|
|
3013
|
-
[v1]: (t) =>
|
|
3014
|
-
input: (t) =>
|
|
3015
|
-
change: (t) =>
|
|
3013
|
+
[v1]: (t) => t2(t),
|
|
3014
|
+
input: (t) => t2(t),
|
|
3015
|
+
change: (t) => t2(t),
|
|
3016
3016
|
focus: (t) => t instanceof FocusEvent,
|
|
3017
3017
|
blur: (t) => t instanceof FocusEvent,
|
|
3018
3018
|
clear: () => !0,
|
|
@@ -3192,7 +3192,7 @@ const D2t = Dn({
|
|
|
3192
3192
|
class: Se(pt(v).e("prefix-inner"))
|
|
3193
3193
|
}, [
|
|
3194
3194
|
zr(fe.$slots, "prefix"),
|
|
3195
|
-
fe.prefixIcon ? (Yt(), gr(pt(
|
|
3195
|
+
fe.prefixIcon ? (Yt(), gr(pt(Jo), {
|
|
3196
3196
|
key: 0,
|
|
3197
3197
|
class: Se(pt(v).e("icon"))
|
|
3198
3198
|
}, {
|
|
@@ -3240,7 +3240,7 @@ const D2t = Dn({
|
|
|
3240
3240
|
}, [
|
|
3241
3241
|
!pt(ne) || !pt(de) || !pt(we) ? (Yt(), Re(h1, { key: 0 }, [
|
|
3242
3242
|
zr(fe.$slots, "suffix"),
|
|
3243
|
-
fe.suffixIcon ? (Yt(), gr(pt(
|
|
3243
|
+
fe.suffixIcon ? (Yt(), gr(pt(Jo), {
|
|
3244
3244
|
key: 0,
|
|
3245
3245
|
class: Se(pt(v).e("icon"))
|
|
3246
3246
|
}, {
|
|
@@ -3250,7 +3250,7 @@ const D2t = Dn({
|
|
|
3250
3250
|
_: 1
|
|
3251
3251
|
}, 8, ["class"])) : sr("v-if", !0)
|
|
3252
3252
|
], 64)) : sr("v-if", !0),
|
|
3253
|
-
pt(ne) ? (Yt(), gr(pt(
|
|
3253
|
+
pt(ne) ? (Yt(), gr(pt(Jo), {
|
|
3254
3254
|
key: 1,
|
|
3255
3255
|
class: Se([pt(v).e("icon"), pt(v).e("clear")]),
|
|
3256
3256
|
onMousedown: H1(pt(h4), ["prevent"]),
|
|
@@ -3261,7 +3261,7 @@ const D2t = Dn({
|
|
|
3261
3261
|
]),
|
|
3262
3262
|
_: 1
|
|
3263
3263
|
}, 8, ["class", "onMousedown"])) : sr("v-if", !0),
|
|
3264
|
-
pt(de) ? (Yt(), gr(pt(
|
|
3264
|
+
pt(de) ? (Yt(), gr(pt(Jo), {
|
|
3265
3265
|
key: 2,
|
|
3266
3266
|
class: Se([pt(v).e("icon"), pt(v).e("password")]),
|
|
3267
3267
|
onClick: en
|
|
@@ -3279,7 +3279,7 @@ const D2t = Dn({
|
|
|
3279
3279
|
class: Se(pt(v).e("count-inner"))
|
|
3280
3280
|
}, Nn(pt(Pe)) + " / " + Nn(fe.maxlength), 3)
|
|
3281
3281
|
], 2)) : sr("v-if", !0),
|
|
3282
|
-
pt(Gt) && pt(ie) && pt(It) ? (Yt(), gr(pt(
|
|
3282
|
+
pt(Gt) && pt(ie) && pt(It) ? (Yt(), gr(pt(Jo), {
|
|
3283
3283
|
key: 4,
|
|
3284
3284
|
class: Se([
|
|
3285
3285
|
pt(v).e("icon"),
|
|
@@ -4049,7 +4049,7 @@ const xst = () => {
|
|
|
4049
4049
|
const w = new Event(lv, oP);
|
|
4050
4050
|
b.addEventListener(lv, u), b.dispatchEvent(w), w.defaultPrevented || Li(() => {
|
|
4051
4051
|
let C = t.focusStartEl;
|
|
4052
|
-
|
|
4052
|
+
t2(C) || (T6(C), document.activeElement !== C && (C = "first")), C === "first" && wst(iz(b), !0), (document.activeElement === v || C === "container") && T6(b);
|
|
4053
4053
|
});
|
|
4054
4054
|
}
|
|
4055
4055
|
}
|
|
@@ -5428,7 +5428,7 @@ const Eat = fr({
|
|
|
5428
5428
|
}), {
|
|
5429
5429
|
default: le(() => [
|
|
5430
5430
|
y.loading ? (Yt(), Re(h1, { key: 0 }, [
|
|
5431
|
-
y.$slots.loading ? zr(y.$slots, "loading", { key: 0 }) : (Yt(), gr(pt(
|
|
5431
|
+
y.$slots.loading ? zr(y.$slots, "loading", { key: 0 }) : (Yt(), gr(pt(Jo), {
|
|
5432
5432
|
key: 1,
|
|
5433
5433
|
class: Se(pt(o).is("loading"))
|
|
5434
5434
|
}, {
|
|
@@ -5437,7 +5437,7 @@ const Eat = fr({
|
|
|
5437
5437
|
]),
|
|
5438
5438
|
_: 1
|
|
5439
5439
|
}, 8, ["class"]))
|
|
5440
|
-
], 64)) : y.icon || y.$slots.icon ? (Yt(), gr(pt(
|
|
5440
|
+
], 64)) : y.icon || y.$slots.icon ? (Yt(), gr(pt(Jo), { key: 1 }, {
|
|
5441
5441
|
default: le(() => [
|
|
5442
5442
|
y.icon ? (Yt(), gr(Po(y.icon), { key: 0 })) : zr(y.$slots, "icon", { key: 1 })
|
|
5443
5443
|
]),
|
|
@@ -5558,8 +5558,8 @@ const Iat = {
|
|
|
5558
5558
|
default: !0
|
|
5559
5559
|
}
|
|
5560
5560
|
}, pz = {
|
|
5561
|
-
[v1]: (t) =>
|
|
5562
|
-
change: (t) =>
|
|
5561
|
+
[v1]: (t) => t2(t) || O1(t) || y4(t),
|
|
5562
|
+
change: (t) => t2(t) || O1(t) || y4(t)
|
|
5563
5563
|
}, f8 = Symbol("checkboxGroupContextKey"), kat = ({
|
|
5564
5564
|
model: t,
|
|
5565
5565
|
isChecked: e
|
|
@@ -5951,8 +5951,8 @@ const gz = B5(Qz), yz = Dn({
|
|
|
5951
5951
|
},
|
|
5952
5952
|
border: Boolean
|
|
5953
5953
|
}), _z = {
|
|
5954
|
-
[v1]: (t) =>
|
|
5955
|
-
[ZE]: (t) =>
|
|
5954
|
+
[v1]: (t) => t2(t) || O1(t) || y4(t),
|
|
5955
|
+
[ZE]: (t) => t2(t) || O1(t) || y4(t)
|
|
5956
5956
|
}, vz = Symbol("radioGroupKey"), bz = (t, e) => {
|
|
5957
5957
|
const r = ke(), n = Ln(vz, void 0), i = qt(() => !!n), o = qt({
|
|
5958
5958
|
get() {
|
|
@@ -6227,7 +6227,7 @@ const Mz = Dn({
|
|
|
6227
6227
|
}, [
|
|
6228
6228
|
zr(u.$slots, "default")
|
|
6229
6229
|
], 2),
|
|
6230
|
-
u.closable ? (Yt(), gr(pt(
|
|
6230
|
+
u.closable ? (Yt(), gr(pt(Jo), {
|
|
6231
6231
|
key: 0,
|
|
6232
6232
|
class: Se(pt(i).e("close")),
|
|
6233
6233
|
onClick: H1(s, ["stop"])
|
|
@@ -6253,7 +6253,7 @@ const Mz = Dn({
|
|
|
6253
6253
|
}, [
|
|
6254
6254
|
zr(u.$slots, "default")
|
|
6255
6255
|
], 2),
|
|
6256
|
-
u.closable ? (Yt(), gr(pt(
|
|
6256
|
+
u.closable ? (Yt(), gr(pt(Jo), {
|
|
6257
6257
|
key: 0,
|
|
6258
6258
|
class: Se(pt(i).e("close")),
|
|
6259
6259
|
onClick: H1(s, ["stop"])
|
|
@@ -6509,7 +6509,7 @@ const O3t = C3t, Hz = Symbol("dialogInjectionKey"), Az = Dn({
|
|
|
6509
6509
|
type: "button",
|
|
6510
6510
|
onClick: v[0] || (v[0] = (E) => b.$emit("close"))
|
|
6511
6511
|
}, [
|
|
6512
|
-
Me(pt(
|
|
6512
|
+
Me(pt(Jo), {
|
|
6513
6513
|
class: Se(pt(a).e("close"))
|
|
6514
6514
|
}, {
|
|
6515
6515
|
default: le(() => [
|
|
@@ -7294,7 +7294,7 @@ const u4t = 11, h4t = (t, e) => {
|
|
|
7294
7294
|
}, Te = (At) => {
|
|
7295
7295
|
At.stopPropagation();
|
|
7296
7296
|
const te = t.multiple ? [] : "";
|
|
7297
|
-
if (!
|
|
7297
|
+
if (!t2(te))
|
|
7298
7298
|
for (const Ee of s.selected)
|
|
7299
7299
|
Ee.isDisabled && te.push(Ee.value);
|
|
7300
7300
|
e(v1, te), ii(te), s.hoveringIndex = -1, z.value = !1, e("clear"), Ei();
|
|
@@ -7467,7 +7467,7 @@ var d4t = fr({
|
|
|
7467
7467
|
Oo(d) && d.forEach((f) => {
|
|
7468
7468
|
var T, Q, y, b;
|
|
7469
7469
|
const v = (T = (f == null ? void 0 : f.type) || {}) == null ? void 0 : T.name;
|
|
7470
|
-
v === "ElOptionGroup" ? u(!
|
|
7470
|
+
v === "ElOptionGroup" ? u(!t2(f.children) && !Oo(f.children) && G2((Q = f.children) == null ? void 0 : Q.default) ? (y = f.children) == null ? void 0 : y.default() : f.children) : v === "ElOption" ? a.push((b = f.props) == null ? void 0 : b.value) : Oo(f.children) && u(f.children);
|
|
7471
7471
|
});
|
|
7472
7472
|
}
|
|
7473
7473
|
return s.length && u((o = s[0]) == null ? void 0 : o.children), j9(a, n) || (n = a, r && (r.states.optionValues = a)), s;
|
|
@@ -7577,7 +7577,7 @@ const p4t = Dn({
|
|
|
7577
7577
|
ElTag: m3t,
|
|
7578
7578
|
ElScrollbar: ast,
|
|
7579
7579
|
ElTooltip: az,
|
|
7580
|
-
ElIcon:
|
|
7580
|
+
ElIcon: Jo
|
|
7581
7581
|
},
|
|
7582
7582
|
directives: { ClickOutside: Iat },
|
|
7583
7583
|
props: p4t,
|
|
@@ -8227,7 +8227,7 @@ const ax = function(t = {}) {
|
|
|
8227
8227
|
}, A4t = (t) => {
|
|
8228
8228
|
var e, r, n, i;
|
|
8229
8229
|
let o;
|
|
8230
|
-
return
|
|
8230
|
+
return t2(t.target) ? o = (e = document.querySelector(t.target)) != null ? e : document.body : o = t.target || document.body, {
|
|
8231
8231
|
parent: o === document.body || t.body ? document.body : o,
|
|
8232
8232
|
background: t.background || "",
|
|
8233
8233
|
svg: t.svg || "",
|
|
@@ -8262,7 +8262,7 @@ const ax = function(t = {}) {
|
|
|
8262
8262
|
}, Of = Symbol("ElLoading"), vP = (t, e) => {
|
|
8263
8263
|
var r, n, i, o;
|
|
8264
8264
|
const s = e.instance, a = (Q) => Io(e.value) ? e.value[Q] : void 0, u = (Q) => {
|
|
8265
|
-
const y =
|
|
8265
|
+
const y = t2(Q) && (s == null ? void 0 : s[Q]) || Q;
|
|
8266
8266
|
return y && ke(y);
|
|
8267
8267
|
}, d = (Q) => u(a(Q) || t.getAttribute(`element-loading-${Met(Q)}`)), f = (r = a("fullscreen")) != null ? r : e.modifiers.fullscreen, T = {
|
|
8268
8268
|
text: d("text"),
|
|
@@ -8312,7 +8312,7 @@ const ax = function(t = {}) {
|
|
|
8312
8312
|
Checkbox: mz,
|
|
8313
8313
|
CheckboxGroup: gz,
|
|
8314
8314
|
Col: Eh,
|
|
8315
|
-
Icon:
|
|
8315
|
+
Icon: Jo,
|
|
8316
8316
|
Row: wh,
|
|
8317
8317
|
ElIconWarning: gj
|
|
8318
8318
|
},
|
|
@@ -8428,7 +8428,7 @@ const ax = function(t = {}) {
|
|
|
8428
8428
|
}
|
|
8429
8429
|
}, k4t = { class: "selections-container" }, V4t = { class: "checkall-display-text" }, R4t = { style: { "word-break": "keep-all" } }, N4t = { class: "checkbox-group-inner" }, D4t = ["onMouseenter", "onMouseleave"];
|
|
8430
8430
|
function F4t(t, e, r, n, i, o) {
|
|
8431
|
-
const s = gj, a =
|
|
8431
|
+
const s = gj, a = Jo, u = gm, d = Eh, f = mz, T = wh, Q = gz;
|
|
8432
8432
|
return Yt(), Re("div", k4t, [
|
|
8433
8433
|
Me(T, null, {
|
|
8434
8434
|
default: le(() => [
|
|
@@ -9032,13 +9032,13 @@ function Nz(t) {
|
|
|
9032
9032
|
});
|
|
9033
9033
|
}), r;
|
|
9034
9034
|
}
|
|
9035
|
-
var
|
|
9035
|
+
var e2 = function(t) {
|
|
9036
9036
|
try {
|
|
9037
9037
|
return !!t();
|
|
9038
9038
|
} catch {
|
|
9039
9039
|
return !0;
|
|
9040
9040
|
}
|
|
9041
|
-
}, n6t =
|
|
9041
|
+
}, n6t = e2, fM = !n6t(function() {
|
|
9042
9042
|
var t = (function() {
|
|
9043
9043
|
}).bind();
|
|
9044
9044
|
return typeof t != "function" || t.hasOwnProperty("prototype");
|
|
@@ -9048,7 +9048,7 @@ var t2 = function(t) {
|
|
|
9048
9048
|
};
|
|
9049
9049
|
}, Bz = fo, o6t = Bz({}.toString), s6t = Bz("".slice), Mh = function(t) {
|
|
9050
9050
|
return s6t(o6t(t), 8, -1);
|
|
9051
|
-
}, a6t = fo, l6t =
|
|
9051
|
+
}, a6t = fo, l6t = e2, c6t = Mh, Tv = Object, u6t = a6t("".split), h6t = l6t(function() {
|
|
9052
9052
|
return !Tv("z").propertyIsEnumerable(0);
|
|
9053
9053
|
}) ? function(t) {
|
|
9054
9054
|
return c6t(t) === "String" ? u6t(t, "") : Tv(t);
|
|
@@ -9095,7 +9095,7 @@ var QM = jz.exports, EP = QM, zz = function(t, e) {
|
|
|
9095
9095
|
}, S6t = typeof navigator < "u" && String(navigator.userAgent) || "", Gz = Z2, Qv = S6t, MP = Gz.process, SP = Gz.Deno, HP = MP && MP.versions || SP && SP.version, AP = HP && HP.v8, Ws, kT;
|
|
9096
9096
|
AP && (Ws = AP.split("."), kT = Ws[0] > 0 && Ws[0] < 4 ? 1 : +(Ws[0] + Ws[1]));
|
|
9097
9097
|
!kT && Qv && (Ws = Qv.match(/Edge\/(\d+)/), (!Ws || Ws[1] >= 74) && (Ws = Qv.match(/Chrome\/(\d+)/), Ws && (kT = +Ws[1])));
|
|
9098
|
-
var H6t = kT, CP = H6t, A6t =
|
|
9098
|
+
var H6t = kT, CP = H6t, A6t = e2, C6t = Z2, O6t = C6t.String, $z = !!Object.getOwnPropertySymbols && !A6t(function() {
|
|
9099
9099
|
var t = Symbol("symbol detection");
|
|
9100
9100
|
return !O6t(t) || !(Object(t) instanceof Symbol) || // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
|
|
9101
9101
|
!Symbol.sham && CP && CP < 41;
|
|
@@ -9111,11 +9111,11 @@ var H6t = kT, CP = H6t, A6t = t2, C6t = Z2, O6t = C6t.String, $z = !!Object.getO
|
|
|
9111
9111
|
if (B6t(t))
|
|
9112
9112
|
return t;
|
|
9113
9113
|
throw new z6t(j6t(t) + " is not an object");
|
|
9114
|
-
}, Wz = {}, U6t =
|
|
9114
|
+
}, Wz = {}, U6t = e2, na = !U6t(function() {
|
|
9115
9115
|
return Object.defineProperty({}, 1, { get: function() {
|
|
9116
9116
|
return 7;
|
|
9117
9117
|
} })[1] !== 7;
|
|
9118
|
-
}), G6t = na, $6t =
|
|
9118
|
+
}), G6t = na, $6t = e2, qz = G6t && $6t(function() {
|
|
9119
9119
|
return Object.defineProperty(function() {
|
|
9120
9120
|
}, "prototype", {
|
|
9121
9121
|
value: 42,
|
|
@@ -9123,7 +9123,7 @@ var H6t = kT, CP = H6t, A6t = t2, C6t = Z2, O6t = C6t.String, $z = !!Object.getO
|
|
|
9123
9123
|
}).prototype !== 42;
|
|
9124
9124
|
}), f3 = {}, Z6t = Z2, PP = Ms, ux = Z6t.document, W6t = PP(ux) && PP(ux.createElement), gM = function(t) {
|
|
9125
9125
|
return W6t ? ux.createElement(t) : {};
|
|
9126
|
-
}, q6t = na, X6t =
|
|
9126
|
+
}, q6t = na, X6t = e2, K6t = gM, Xz = !q6t && !X6t(function() {
|
|
9127
9127
|
return Object.defineProperty(K6t("div"), "a", {
|
|
9128
9128
|
get: function() {
|
|
9129
9129
|
return 7;
|
|
@@ -9360,7 +9360,7 @@ var aU = { exports: {} }, Qx = na, j5t = p3, lU = Function.prototype, z5t = Qx &
|
|
|
9360
9360
|
Z5t(mx.inspectSource) || (mx.inspectSource = function(t) {
|
|
9361
9361
|
return W5t(t);
|
|
9362
9362
|
});
|
|
9363
|
-
var q5t = mx.inspectSource, SM = fo, X5t =
|
|
9363
|
+
var q5t = mx.inspectSource, SM = fo, X5t = e2, K5t = Ro, vp = p3, gx = na, Y5t = cU.CONFIGURABLE, J5t = q5t, uU = xm, tlt = uU.enforce, elt = uU.get, ZP = String, If = Object.defineProperty, rlt = SM("".slice), nlt = SM("".replace), ilt = SM([].join), olt = gx && !X5t(function() {
|
|
9364
9364
|
return If(function() {
|
|
9365
9365
|
}, "length", { value: 8 }).length !== 8;
|
|
9366
9366
|
}), slt = String(String).split("String"), alt = aU.exports = function(t, e, r) {
|
|
@@ -9407,7 +9407,7 @@ var Tlt = Hh, Qlt = fo, mlt = wm, glt = dU, ylt = W6, _lt = Qlt([].concat), vlt
|
|
|
9407
9407
|
var a = n[s];
|
|
9408
9408
|
!WP(t, a) && !(r && WP(r, a)) && i(t, a, o(e, a));
|
|
9409
9409
|
}
|
|
9410
|
-
}, Elt =
|
|
9410
|
+
}, Elt = e2, Mlt = Ro, Slt = /#|\.prototype\./, Oh = function(t, e) {
|
|
9411
9411
|
var r = Alt[Hlt(t)];
|
|
9412
9412
|
return r === Olt ? !0 : r === Clt ? !1 : Mlt(e) ? Elt(e) : !!e;
|
|
9413
9413
|
}, Hlt = Oh.normalize = function(t) {
|
|
@@ -9423,7 +9423,7 @@ var Tlt = Hh, Qlt = fo, mlt = wm, glt = dU, ylt = W6, _lt = Qlt([].concat), vlt
|
|
|
9423
9423
|
}
|
|
9424
9424
|
(t.sham || u && u.sham) && Ilt(d, "sham", !0), klt(s, a, d, t);
|
|
9425
9425
|
}
|
|
9426
|
-
}, Dlt =
|
|
9426
|
+
}, Dlt = e2, Flt = !Dlt(function() {
|
|
9427
9427
|
function t() {
|
|
9428
9428
|
}
|
|
9429
9429
|
return t.prototype.constructor = null, Object.getPrototypeOf(new t()) !== t.prototype;
|
|
@@ -9433,7 +9433,7 @@ var Tlt = Hh, Qlt = fo, mlt = wm, glt = dU, ylt = W6, _lt = Qlt([].concat), vlt
|
|
|
9433
9433
|
return e[qP];
|
|
9434
9434
|
var r = e.constructor;
|
|
9435
9435
|
return jlt(r) && e instanceof r ? r.prototype : e instanceof yx ? $lt : null;
|
|
9436
|
-
}, Zlt =
|
|
9436
|
+
}, Zlt = e2, Wlt = Ro, qlt = Ms, XP = fU, Xlt = Q8, Klt = Es, _x = Klt("iterator"), TU = !1, S5, Cv, Ov;
|
|
9437
9437
|
[].keys && (Ov = [].keys(), "next" in Ov ? (Cv = XP(XP(Ov)), Cv !== Object.prototype && (S5 = Cv)) : TU = !0);
|
|
9438
9438
|
var Ylt = !qlt(S5) || Zlt(function() {
|
|
9439
9439
|
var t = {};
|
|
@@ -9571,16 +9571,16 @@ var xU = { exports: {} }, wU = {}, t8t = fo, e8t = t8t([].slice), r8t = Mh, n8t
|
|
|
9571
9571
|
wU.f = function(t) {
|
|
9572
9572
|
return MU && r8t(t) === "Window" ? o8t(t) : EU(n8t(t));
|
|
9573
9573
|
};
|
|
9574
|
-
var s8t =
|
|
9574
|
+
var s8t = e2, a8t = s8t(function() {
|
|
9575
9575
|
if (typeof ArrayBuffer == "function") {
|
|
9576
9576
|
var t = new ArrayBuffer(8);
|
|
9577
9577
|
Object.isExtensible(t) && Object.defineProperty(t, "a", { value: 8 });
|
|
9578
9578
|
}
|
|
9579
|
-
}), l8t =
|
|
9579
|
+
}), l8t = e2, c8t = Ms, u8t = Mh, oI = a8t, Vf = Object.isExtensible, h8t = l8t(function() {
|
|
9580
9580
|
Vf(1);
|
|
9581
9581
|
}), d8t = h8t || oI ? function(t) {
|
|
9582
9582
|
return !c8t(t) || oI && u8t(t) === "ArrayBuffer" ? !1 : Vf ? Vf(t) : !0;
|
|
9583
|
-
} : Vf, p8t =
|
|
9583
|
+
} : Vf, p8t = e2, f8t = !p8t(function() {
|
|
9584
9584
|
return Object.isExtensible(Object.preventExtensions({}));
|
|
9585
9585
|
}), T8t = T3, Q8t = fo, m8t = bm, g8t = Ms, IM = p3, y8t = f3.f, sI = wm, _8t = wU, kM = d8t, v8t = mM, b8t = f8t, SU = !1, v4 = v8t("meta"), L8t = 0, VM = function(t) {
|
|
9586
9586
|
y8t(t, v4, { value: {
|
|
@@ -9748,7 +9748,7 @@ var pct = function(t, e) {
|
|
|
9748
9748
|
fI && // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
9749
9749
|
fct(n = e.constructor) && n !== r && Tct(i = n.prototype) && i !== r.prototype && fI(t, i), t
|
|
9750
9750
|
);
|
|
9751
|
-
}, mct = T3, gct = Z2, yct = fo, TI = pU, _ct = Q8, vct = HU, bct = OU, Lct = PU, xct = Ro, wct = Sh, Iv = Ms, kv =
|
|
9751
|
+
}, mct = T3, gct = Z2, yct = fo, TI = pU, _ct = Q8, vct = HU, bct = OU, Lct = PU, xct = Ro, wct = Sh, Iv = Ms, kv = e2, Ect = pct, Mct = Em, Sct = Qct, Hct = function(t, e, r) {
|
|
9752
9752
|
var n = t.indexOf("Map") !== -1, i = t.indexOf("Weak") !== -1, o = n ? "set" : "add", s = gct[t], a = s && s.prototype, u = s, d = {}, f = function(w) {
|
|
9753
9753
|
var C = yct(a[w]);
|
|
9754
9754
|
_ct(
|
|
@@ -10006,7 +10006,7 @@ var Lut = U5, DM = Q3, xut = Ih, wut = $5, Eut = Ph, Mut = G5, Sut = DM.Set, SI
|
|
|
10006
10006
|
}) : Eut(e, function(i) {
|
|
10007
10007
|
r.includes(i) && SI(n, i);
|
|
10008
10008
|
}), n;
|
|
10009
|
-
}, Cut = T3, Out =
|
|
10009
|
+
}, Cut = T3, Out = e2, Put = Aut, Iut = Z5, kut = !Iut("intersection") || Out(function() {
|
|
10010
10010
|
return String(Array.from((/* @__PURE__ */ new Set([1, 2, 3])).intersection(/* @__PURE__ */ new Set([3, 2])))) !== "3,2";
|
|
10011
10011
|
});
|
|
10012
10012
|
Cut({ target: "Set", proto: !0, real: !0, forced: kut }, {
|
|
@@ -10888,7 +10888,7 @@ var KU = { exports: {} };
|
|
|
10888
10888
|
return l ? new hn({ name: l, available: !1 }) : null;
|
|
10889
10889
|
}
|
|
10890
10890
|
}
|
|
10891
|
-
function
|
|
10891
|
+
function r2(h, l, p, g) {
|
|
10892
10892
|
return typeof h == "number" && h >= 0 && h <= 255 && typeof l == "number" && l >= 0 && l <= 255 && typeof p == "number" && p >= 0 && p <= 255 ? g === void 0 || typeof g == "number" && g >= 0 && g <= 1 ? null : `Invalid rgba value [${[h, l, p, g].join(", ")}]: 'a' must be between 0 and 1.` : `Invalid rgba value [${(typeof g == "number" ? [h, l, p, g] : [h, l, p]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`;
|
|
10893
10893
|
}
|
|
10894
10894
|
function k1(h) {
|
|
@@ -11072,7 +11072,7 @@ var KU = { exports: {} };
|
|
|
11072
11072
|
const H = l.parseColor(p);
|
|
11073
11073
|
if (H)
|
|
11074
11074
|
return H;
|
|
11075
|
-
} else if (Array.isArray(p) && (g = p.length < 3 || p.length > 4 ? `Invalid rbga value ${JSON.stringify(p)}: expected an array containing either three or four numeric values.` :
|
|
11075
|
+
} else if (Array.isArray(p) && (g = p.length < 3 || p.length > 4 ? `Invalid rbga value ${JSON.stringify(p)}: expected an array containing either three or four numeric values.` : r2(p[0], p[1], p[2], p[3]), !g))
|
|
11076
11076
|
return new nn(p[0] / 255, p[1] / 255, p[2] / 255, p[3]);
|
|
11077
11077
|
}
|
|
11078
11078
|
throw new $n(g || `Could not parse color from value '${typeof p == "string" ? p : JSON.stringify(p)}'`);
|
|
@@ -11248,7 +11248,7 @@ var KU = { exports: {} };
|
|
|
11248
11248
|
return this.result.outputDefined();
|
|
11249
11249
|
}
|
|
11250
11250
|
}
|
|
11251
|
-
class
|
|
11251
|
+
class n2 {
|
|
11252
11252
|
constructor(l, p) {
|
|
11253
11253
|
this.type = p.type, this.name = l, this.boundExpression = p;
|
|
11254
11254
|
}
|
|
@@ -11256,7 +11256,7 @@ var KU = { exports: {} };
|
|
|
11256
11256
|
if (l.length !== 2 || typeof l[1] != "string")
|
|
11257
11257
|
return p.error("'var' expression requires exactly one string literal argument.");
|
|
11258
11258
|
const g = l[1];
|
|
11259
|
-
return p.scope.has(g) ? new
|
|
11259
|
+
return p.scope.has(g) ? new n2(g, p.scope.get(g)) : p.error(`Unknown variable "${g}". Make sure "${g}" has been bound in an enclosing "let" expression before using it.`, 1);
|
|
11260
11260
|
}
|
|
11261
11261
|
evaluate(l) {
|
|
11262
11262
|
return this.boundExpression.evaluate(l);
|
|
@@ -12659,7 +12659,7 @@ var KU = { exports: {} };
|
|
|
12659
12659
|
return !0;
|
|
12660
12660
|
}
|
|
12661
12661
|
}
|
|
12662
|
-
const Os = { "==": O4, "!=": I8, ">": l0, "<": Zn, ">=": _2, "<=": il, array: o1, at: I, boolean: o1, case: rt, coalesce: Qr, collator: b3, format: L3, image: x3, in: $, "index-of": F, interpolate: Tn, "interpolate-hcl": Tn, "interpolate-lab": Tn, length: I4, let: on, literal: yo, match: q, number: o1, "number-format": P4, object: o1, slice: ht, step: Wt, string: o1, "to-boolean": V1, "to-color": V1, "to-number": V1, "to-string": V1, var:
|
|
12662
|
+
const Os = { "==": O4, "!=": I8, ">": l0, "<": Zn, ">=": _2, "<=": il, array: o1, at: I, boolean: o1, case: rt, coalesce: Qr, collator: b3, format: L3, image: x3, in: $, "index-of": F, interpolate: Tn, "interpolate-hcl": Tn, "interpolate-lab": Tn, length: I4, let: on, literal: yo, match: q, number: o1, "number-format": P4, object: o1, slice: ht, step: Wt, string: o1, "to-boolean": V1, "to-color": V1, "to-number": V1, "to-string": V1, var: n2, within: K2, distance: ro };
|
|
12663
12663
|
class ji {
|
|
12664
12664
|
constructor(l, p, g, x) {
|
|
12665
12665
|
this.name = l, this.type = p, this._evaluate = g, this.args = x;
|
|
@@ -12728,12 +12728,12 @@ var KU = { exports: {} };
|
|
|
12728
12728
|
}
|
|
12729
12729
|
function y0(h, [l, p, g, x]) {
|
|
12730
12730
|
l = l.evaluate(h), p = p.evaluate(h), g = g.evaluate(h);
|
|
12731
|
-
const H = x ? x.evaluate(h) : 1, A =
|
|
12731
|
+
const H = x ? x.evaluate(h) : 1, A = r2(l, p, g, H);
|
|
12732
12732
|
if (A)
|
|
12733
12733
|
throw new $n(A);
|
|
12734
12734
|
return new nn(l / 255, p / 255, g / 255, H, !1);
|
|
12735
12735
|
}
|
|
12736
|
-
function
|
|
12736
|
+
function i2(h, l) {
|
|
12737
12737
|
return h in l;
|
|
12738
12738
|
}
|
|
12739
12739
|
function z4(h, l) {
|
|
@@ -12744,7 +12744,7 @@ var KU = { exports: {} };
|
|
|
12744
12744
|
return { type: h };
|
|
12745
12745
|
}
|
|
12746
12746
|
function Is(h) {
|
|
12747
|
-
if (h instanceof
|
|
12747
|
+
if (h instanceof n2)
|
|
12748
12748
|
return Is(h.boundExpression);
|
|
12749
12749
|
if (h instanceof ji && h.name === "error" || h instanceof b3 || h instanceof K2 || h instanceof ro)
|
|
12750
12750
|
return !1;
|
|
@@ -12781,7 +12781,7 @@ var KU = { exports: {} };
|
|
|
12781
12781
|
function _0(h) {
|
|
12782
12782
|
return { result: "success", value: h };
|
|
12783
12783
|
}
|
|
12784
|
-
function
|
|
12784
|
+
function o2(h) {
|
|
12785
12785
|
return { result: "error", value: h };
|
|
12786
12786
|
}
|
|
12787
12787
|
function J2(h) {
|
|
@@ -12907,7 +12907,7 @@ var KU = { exports: {} };
|
|
|
12907
12907
|
}], typeof: [Ur, [Er], (h, [l]) => ot(vn(l.evaluate(h)))], "to-rgba": [it(Ae, 4), [_i], (h, [l]) => {
|
|
12908
12908
|
const [p, g, x, H] = l.evaluate(h).rgb;
|
|
12909
12909
|
return [255 * p, 255 * g, 255 * x, H];
|
|
12910
|
-
}], rgb: [_i, [Ae, Ae, Ae], y0], rgba: [_i, [Ae, Ae, Ae, Ae], y0], has: { type: wr, overloads: [[[Ur], (h, [l]) =>
|
|
12910
|
+
}], rgb: [_i, [Ae, Ae, Ae], y0], rgba: [_i, [Ae, Ae, Ae, Ae], y0], has: { type: wr, overloads: [[[Ur], (h, [l]) => i2(l.evaluate(h), h.properties())], [[Ur, L1], (h, [l, p]) => i2(l.evaluate(h), p.evaluate(h))]] }, get: { type: Er, overloads: [[[Ur], (h, [l]) => z4(l.evaluate(h), h.properties())], [[Ur, L1], (h, [l, p]) => z4(l.evaluate(h), p.evaluate(h))]] }, "feature-state": [Er, [Ur], (h, [l]) => z4(l.evaluate(h), h.featureState || {})], properties: [L1, [], (h) => h.properties()], "geometry-type": [Ur, [], (h) => h.geometryType()], id: [Er, [], (h) => h.id()], zoom: [Ae, [], (h) => h.globals.zoom], "heatmap-density": [Ae, [], (h) => h.globals.heatmapDensity || 0], "line-progress": [Ae, [], (h) => h.globals.lineProgress || 0], accumulated: [Er, [], (h) => h.globals.accumulated === void 0 ? null : h.globals.accumulated], "+": [Ae, Ps(Ae), (h, l) => {
|
|
12911
12911
|
let p = 0;
|
|
12912
12912
|
for (const g of l)
|
|
12913
12913
|
p += g.evaluate(h);
|
|
@@ -12996,7 +12996,7 @@ var KU = { exports: {} };
|
|
|
12996
12996
|
const H = { color: _i, string: Ur, number: Ae, enum: Ur, boolean: wr, formatted: I1, padding: T1, resolvedImage: Fn, variableAnchorOffsetCollection: xt };
|
|
12997
12997
|
return x.type === "array" ? it(H[x.value] || Er, x.length) : H[x.type];
|
|
12998
12998
|
}(l) : void 0), g = p.parse(h, void 0, void 0, void 0, l && l.type === "string" ? { typeAnnotation: "coerce" } : void 0);
|
|
12999
|
-
return g ? _0(new Si(g, l)) :
|
|
12999
|
+
return g ? _0(new Si(g, l)) : o2(p.errors);
|
|
13000
13000
|
}
|
|
13001
13001
|
class s1 {
|
|
13002
13002
|
constructor(l, p) {
|
|
@@ -13029,12 +13029,12 @@ var KU = { exports: {} };
|
|
|
13029
13029
|
return p;
|
|
13030
13030
|
const g = p.value.expression, x = ma(g);
|
|
13031
13031
|
if (!x && !J2(l))
|
|
13032
|
-
return
|
|
13032
|
+
return o2([new Un("", "data expressions not supported")]);
|
|
13033
13033
|
const H = P3(g, ["zoom"]);
|
|
13034
13034
|
if (!H && !v0(l))
|
|
13035
|
-
return
|
|
13035
|
+
return o2([new Un("", "zoom expressions not supported")]);
|
|
13036
13036
|
const A = b2(g);
|
|
13037
|
-
return A || H ? A instanceof Un ?
|
|
13037
|
+
return A || H ? A instanceof Un ? o2([A]) : A instanceof Tn && !Nt(l) ? o2([new Un("", '"interpolate" expressions cannot be used with this property')]) : _0(A ? new Uo(x ? "camera" : "composite", p.value, A.labels, A instanceof Tn ? A.interpolation : void 0) : new s1(x ? "constant" : "source", p.value)) : o2([new Un("", '"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);
|
|
13038
13038
|
}
|
|
13039
13039
|
class Vs {
|
|
13040
13040
|
constructor(l, p) {
|
|
@@ -13062,7 +13062,7 @@ var KU = { exports: {} };
|
|
|
13062
13062
|
g instanceof Un ? l = g : !l && g ? l = new Un("", '"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.') : l && g && l !== g && (l = new Un("", 'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'));
|
|
13063
13063
|
}), l;
|
|
13064
13064
|
}
|
|
13065
|
-
function
|
|
13065
|
+
function s2(h) {
|
|
13066
13066
|
if (h === !0 || h === !1)
|
|
13067
13067
|
return !0;
|
|
13068
13068
|
if (!Array.isArray(h) || h.length === 0)
|
|
@@ -13086,7 +13086,7 @@ var KU = { exports: {} };
|
|
|
13086
13086
|
case "any":
|
|
13087
13087
|
case "all":
|
|
13088
13088
|
for (const l of h.slice(1))
|
|
13089
|
-
if (!
|
|
13089
|
+
if (!s2(l) && typeof l != "boolean")
|
|
13090
13090
|
return !1;
|
|
13091
13091
|
return !0;
|
|
13092
13092
|
default:
|
|
@@ -13097,7 +13097,7 @@ var KU = { exports: {} };
|
|
|
13097
13097
|
function w1(h) {
|
|
13098
13098
|
if (h == null)
|
|
13099
13099
|
return { filter: () => !0, needGeometry: !1 };
|
|
13100
|
-
|
|
13100
|
+
s2(h) || (h = Qn(h));
|
|
13101
13101
|
const l = x1(h, I3);
|
|
13102
13102
|
if (l.result === "error")
|
|
13103
13103
|
throw new Error(l.value.map((p) => `${p.key}: ${p.message}`).join(", "));
|
|
@@ -13174,7 +13174,7 @@ var KU = { exports: {} };
|
|
|
13174
13174
|
g += `${JSON.stringify(p[x])}:${Go(h[p[x]])},`;
|
|
13175
13175
|
return `${g}}`;
|
|
13176
13176
|
}
|
|
13177
|
-
function
|
|
13177
|
+
function a2(h) {
|
|
13178
13178
|
let l = "";
|
|
13179
13179
|
for (const p of en)
|
|
13180
13180
|
l += `/${Go(h[p])}`;
|
|
@@ -13296,7 +13296,7 @@ var KU = { exports: {} };
|
|
|
13296
13296
|
return p !== "categorical" || Tt !== "number" || isFinite(Lt) && Math.floor(Lt) === Lt ? p !== "categorical" && Tt === "number" && x !== void 0 && Lt < x ? [new Te(st.key, St, "stop domain values must appear in ascending order")] : (x = Lt, p === "categorical" && Lt in A ? [new Te(st.key, St, "stop domain values must be unique")] : (A[Lt] = !0, [])) : [new Te(st.key, St, `integer expected, found ${Lt}`)];
|
|
13297
13297
|
}
|
|
13298
13298
|
}
|
|
13299
|
-
function
|
|
13299
|
+
function l2(h) {
|
|
13300
13300
|
const l = (h.expressionContext === "property" ? ks : x1)(_o(h.value), h.valueSpec);
|
|
13301
13301
|
if (l.result === "error")
|
|
13302
13302
|
return l.value.map((g) => new Te(`${h.key}${g.key}`, h.value, g.message));
|
|
@@ -13320,7 +13320,7 @@ var KU = { exports: {} };
|
|
|
13320
13320
|
return Array.isArray(g.values) ? g.values.indexOf(Hn(p)) === -1 && x.push(new Te(l, p, `expected one of [${g.values.join(", ")}], ${JSON.stringify(p)} found`)) : Object.keys(g.values).indexOf(Hn(p)) === -1 && x.push(new Te(l, p, `expected one of [${Object.keys(g.values).join(", ")}], ${JSON.stringify(p)} found`)), x;
|
|
13321
13321
|
}
|
|
13322
13322
|
function va(h) {
|
|
13323
|
-
return
|
|
13323
|
+
return s2(_o(h.value)) ? l2(Pi({}, h, { expressionContext: "filter", valueSpec: { value: "boolean" } })) : rs(h);
|
|
13324
13324
|
}
|
|
13325
13325
|
function rs(h) {
|
|
13326
13326
|
const l = h.value, p = h.key;
|
|
@@ -13451,7 +13451,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13451
13451
|
if (O = zi({ key: p, value: l, valueSpec: g.source_geojson, style: x, styleSpec: g, validateSpec: H, objectElementValidators: B8 }), l.cluster)
|
|
13452
13452
|
for (const R in l.clusterProperties) {
|
|
13453
13453
|
const [j, W] = l.clusterProperties[R], X = typeof j == "string" ? [j, ["accumulated"], ["get", R]] : j;
|
|
13454
|
-
O.push(...
|
|
13454
|
+
O.push(...l2({ key: `${p}.${R}.map`, value: W, validateSpec: H, expressionContext: "cluster-map" })), O.push(...l2({ key: `${p}.${R}.reduce`, value: X, validateSpec: H, expressionContext: "cluster-reduce" }));
|
|
13455
13455
|
}
|
|
13456
13456
|
return O;
|
|
13457
13457
|
case "video":
|
|
@@ -13529,9 +13529,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13529
13529
|
A = A.concat(g[O] ? h.validateSpec({ key: O, value: l[O], valueSpec: g[O], style: x, styleSpec: p }) : [new Te(O, l[O], `unknown property "${O}"`)]);
|
|
13530
13530
|
return A;
|
|
13531
13531
|
}, string: Rs, formatted: function(h) {
|
|
13532
|
-
return Rs(h).length === 0 ? [] :
|
|
13532
|
+
return Rs(h).length === 0 ? [] : l2(h);
|
|
13533
13533
|
}, resolvedImage: function(h) {
|
|
13534
|
-
return Rs(h).length === 0 ? [] :
|
|
13534
|
+
return Rs(h).length === 0 ? [] : l2(h);
|
|
13535
13535
|
}, padding: function(h) {
|
|
13536
13536
|
const l = h.key, p = h.value;
|
|
13537
13537
|
if (Zt(p) === "array") {
|
|
@@ -13555,13 +13555,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13555
13555
|
}, sprite: U8 };
|
|
13556
13556
|
function b0(h) {
|
|
13557
13557
|
const l = h.value, p = h.valueSpec, g = h.styleSpec;
|
|
13558
|
-
return h.validateSpec = b0, p.expression && Ne(Hn(l)) ? N3(h) : p.expression && R1(_o(l)) ?
|
|
13558
|
+
return h.validateSpec = b0, p.expression && Ne(Hn(l)) ? N3(h) : p.expression && R1(_o(l)) ? l2(h) : p.type && G8[p.type] ? G8[p.type](h) : zi(Pi({}, h, { valueSpec: p.type ? g[p.type] : p }));
|
|
13559
13559
|
}
|
|
13560
13560
|
function Cd(h) {
|
|
13561
13561
|
const l = h.value, p = h.key, g = Rs(h);
|
|
13562
13562
|
return g.length || (l.indexOf("{fontstack}") === -1 && g.push(new Te(p, l, '"glyphs" url must include a "{fontstack}" token')), l.indexOf("{range}") === -1 && g.push(new Te(p, l, '"glyphs" url must include a "{range}" token'))), g;
|
|
13563
13563
|
}
|
|
13564
|
-
function
|
|
13564
|
+
function c2(h, l = Ot) {
|
|
13565
13565
|
let p = [];
|
|
13566
13566
|
return p = p.concat(b0({ key: "", value: h, valueSpec: l.$root, styleSpec: l, style: h, validateSpec: b0, objectElementValidators: { glyphs: Cd, "*": () => [] } })), h.constants && (p = p.concat(_a({ key: "constants", value: h.constants, style: h, styleSpec: l, validateSpec: b0 }))), $8(p);
|
|
13567
13567
|
}
|
|
@@ -13578,8 +13578,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
13578
13578
|
return $8(h.apply(this, l));
|
|
13579
13579
|
};
|
|
13580
13580
|
}
|
|
13581
|
-
|
|
13582
|
-
const Ns =
|
|
13581
|
+
c2.source = x2(L2(Hd)), c2.sprite = x2(L2(U8)), c2.glyphs = x2(L2(Cd)), c2.light = x2(L2(j8)), c2.sky = x2(L2(Ad)), c2.terrain = x2(L2(z8)), c2.layer = x2(L2(F8)), c2.filter = x2(L2(va)), c2.paintProperty = x2(L2(N8)), c2.layoutProperty = x2(L2(D8));
|
|
13582
|
+
const Ns = c2, c_ = Ns.light, Z8 = Ns.sky, u_ = Ns.paintProperty, h_ = Ns.layoutProperty;
|
|
13583
13583
|
function W8(h, l) {
|
|
13584
13584
|
let p = !1;
|
|
13585
13585
|
if (l && l.length)
|
|
@@ -17129,7 +17129,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17129
17129
|
}
|
|
17130
17130
|
for (let Zo = 0; Zo < Gi.length(); Zo++) {
|
|
17131
17131
|
const mn = Gi.getSection(Zo), qn = Gi.getSectionIndex(Zo), ui = Gi.getCharCode(Zo);
|
|
17132
|
-
let
|
|
17132
|
+
let u2 = 0, ki = null, El = null, Sa = null, Ha = c1;
|
|
17133
17133
|
const as = !(er === s.ai.horizontal || !vr && !K8(ui) || vr && (Jd[ui] || (Ui = ui, We.Arabic(Ui) || We["Arabic Supplement"](Ui) || We["Arabic Extended-A"](Ui) || We["Arabic Presentation Forms-A"](Ui) || We["Arabic Presentation Forms-B"](Ui))));
|
|
17134
17134
|
if (mn.imageName) {
|
|
17135
17135
|
const C2 = Sr[mn.imageName];
|
|
@@ -17137,7 +17137,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17137
17137
|
continue;
|
|
17138
17138
|
Sa = mn.imageName, re.iconsInText = re.iconsInText || !0, El = C2.paddedRect;
|
|
17139
17139
|
const M1 = C2.displaySize;
|
|
17140
|
-
mn.scale = mn.scale * c1 / mr, ki = { width: M1[0], height: M1[1], left: $o, top: -cC, advance: as ? M1[1] : M1[0] },
|
|
17140
|
+
mn.scale = mn.scale * c1 / mr, ki = { width: M1[0], height: M1[1], left: $o, top: -cC, advance: as ? M1[1] : M1[0] }, u2 = so + (c1 - M1[1] * mn.scale), Ha = ki.advance;
|
|
17141
17141
|
const z3 = as ? M1[0] * mn.scale - c1 * g1 : M1[1] * mn.scale - c1 * g1;
|
|
17142
17142
|
z3 > 0 && z3 > $1 && ($1 = z3);
|
|
17143
17143
|
} else {
|
|
@@ -17150,9 +17150,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17150
17150
|
continue;
|
|
17151
17151
|
ki = vc.metrics;
|
|
17152
17152
|
}
|
|
17153
|
-
|
|
17153
|
+
u2 = (g1 - mn.scale) * c1;
|
|
17154
17154
|
}
|
|
17155
|
-
as ? (re.verticalizable = !0, Eo.push({ glyph: ui, imageName: Sa, x: Rr, y: zn +
|
|
17155
|
+
as ? (re.verticalizable = !0, Eo.push({ glyph: ui, imageName: Sa, x: Rr, y: zn + u2, vertical: as, scale: mn.scale, fontStack: mn.fontStack, sectionIndex: qn, metrics: ki, rect: El }), Rr += Ha * mn.scale + ae) : (Eo.push({ glyph: ui, imageName: Sa, x: Rr, y: zn + u2, vertical: as, scale: mn.scale, fontStack: mn.fontStack, sectionIndex: qn, metrics: ki, rect: El }), Rr += ki.advance * mn.scale + ae);
|
|
17156
17156
|
}
|
|
17157
17157
|
Eo.length !== 0 && (Rn = Math.max(Rr - ae, Rn), ott(Eo, 0, Eo.length - 1, ss, $1)), Rr = 0;
|
|
17158
17158
|
const A2 = je * g1 + $1;
|
|
@@ -17164,8 +17164,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
17164
17164
|
const qn = (g1 - so) * Eo;
|
|
17165
17165
|
let ui = 0;
|
|
17166
17166
|
ui = $1 !== A2 ? -Zo * G1 - Tc : (-G1 * mn + 0.5) * A2;
|
|
17167
|
-
for (const
|
|
17168
|
-
for (const ki of
|
|
17167
|
+
for (const u2 of Gi)
|
|
17168
|
+
for (const ki of u2.positionedGlyphs)
|
|
17169
17169
|
ki.x += qn, ki.y += ui;
|
|
17170
17170
|
})(re.positionedLines, ss, xo, wo, Rn, m1, je, Lo, $e.length), re.top += -wo * Lo, re.bottom = re.top + Lo, re.left += -xo * Rn, re.right = re.left + Rn;
|
|
17171
17171
|
}(Ft, l, p, g, Lt, A, O, R, X, j, tt, ct), !function(re) {
|
|
@@ -18503,7 +18503,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18503
18503
|
let cr;
|
|
18504
18504
|
g && yr !== "none" && (h.allowVerticalPlacement && p.vertical && (cr = mC(g, p.vertical, yr, tt.get("icon-text-fit-padding"), st, Tt)), ct && (g = mC(g, ct, yr, tt.get("icon-text-fit-padding"), st, Tt)));
|
|
18505
18505
|
const er = (ae, vr) => {
|
|
18506
|
-
vr.x < 0 || vr.x >= Yi || vr.y < 0 || vr.y >= Yi || function(mr, Rr, zn, Rn, m1, ss, U1, Ui, Lo, xo, wo, Gi, g1, so, G1, Eo, $1, A2, Zo, mn, qn, ui,
|
|
18506
|
+
vr.x < 0 || vr.x >= Yi || vr.y < 0 || vr.y >= Yi || function(mr, Rr, zn, Rn, m1, ss, U1, Ui, Lo, xo, wo, Gi, g1, so, G1, Eo, $1, A2, Zo, mn, qn, ui, u2, ki, El) {
|
|
18507
18507
|
const Sa = mr.addToLineVertexArray(Rr, zn);
|
|
18508
18508
|
let Ha, as, C2, M1, z3 = 0, vc = 0, YC = 0, JC = 0, J_ = -1, tv = -1;
|
|
18509
18509
|
const U3 = {};
|
|
@@ -18513,7 +18513,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18513
18513
|
C2 = new sp(Lo, Rr, xo, wo, Gi, Rn.vertical, g1, so, G1, ao), U1 && (M1 = new sp(Lo, Rr, xo, wo, Gi, U1, $1, A2, G1, ao));
|
|
18514
18514
|
}
|
|
18515
18515
|
if (m1) {
|
|
18516
|
-
const ao = Ui.layout.get("icon-rotate").evaluate(qn, {}), O2 = Ui.layout.get("icon-text-fit") !== "none", A0 = zC(m1, ao,
|
|
18516
|
+
const ao = Ui.layout.get("icon-rotate").evaluate(qn, {}), O2 = Ui.layout.get("icon-text-fit") !== "none", A0 = zC(m1, ao, u2, O2), Bs = U1 ? zC(U1, ao, u2, O2) : void 0;
|
|
18517
18517
|
as = new sp(Lo, Rr, xo, wo, Gi, m1, $1, A2, !1, ao), z3 = 4 * A0.length;
|
|
18518
18518
|
const C0 = mr.iconSizeData;
|
|
18519
18519
|
let Aa = null;
|
|
@@ -18594,8 +18594,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18594
18594
|
Rn && (Ui = U1, U1 = [0, 0]);
|
|
18595
18595
|
const Lo = er.metrics.isDoubleResolution ? 2 : 1, xo = (er.metrics.left - vr) * er.scale - m1 + U1[0], wo = (-er.metrics.top - vr) * er.scale + U1[1], Gi = xo + ae.w / Lo * er.scale / Rr, g1 = wo + ae.h / Lo * er.scale / Rr, so = new T(xo, wo), G1 = new T(Gi, wo), Eo = new T(xo, g1), $1 = new T(Gi, g1);
|
|
18596
18596
|
if (Rn) {
|
|
18597
|
-
const mn = new T(-m1, m1 - Tc), qn = -Math.PI / 2, ui = c1 / 2 - m1,
|
|
18598
|
-
so._rotateAround(qn, mn)._add(
|
|
18597
|
+
const mn = new T(-m1, m1 - Tc), qn = -Math.PI / 2, ui = c1 / 2 - m1, u2 = new T(5 - Tc - ui, -(er.imageName ? ui : 0)), ki = new T(...Ui);
|
|
18598
|
+
so._rotateAround(qn, mn)._add(u2)._add(ki), G1._rotateAround(qn, mn)._add(u2)._add(ki), Eo._rotateAround(qn, mn)._add(u2)._add(ki), $1._rotateAround(qn, mn)._add(u2)._add(ki);
|
|
18599
18599
|
}
|
|
18600
18600
|
if (je) {
|
|
18601
18601
|
const mn = Math.sin(je), qn = Math.cos(je), ui = [qn, -mn, mn, qn];
|
|
@@ -19077,7 +19077,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19077
19077
|
}, s.bj = function(h, l) {
|
|
19078
19078
|
const p = {};
|
|
19079
19079
|
for (let x = 0; x < h.length; x++) {
|
|
19080
|
-
const H = l && l[h[x].id] ||
|
|
19080
|
+
const H = l && l[h[x].id] || a2(h[x]);
|
|
19081
19081
|
l && (l[h[x].id] = H);
|
|
19082
19082
|
let A = p[H];
|
|
19083
19083
|
A || (A = p[H] = []), A.push(h[x]);
|
|
@@ -23276,7 +23276,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
23276
23276
|
return m * Hs + c * nn + m * Ki + c * go + m * Yr + c * oi + m * q2 + c;
|
|
23277
23277
|
}
|
|
23278
23278
|
const hn = 0;
|
|
23279
|
-
function
|
|
23279
|
+
function r2() {
|
|
23280
23280
|
return { isOccluded: (S, c, m) => !1, getPitchedTextCorrection: (S, c, m) => 1, get useSpecialProjectionForSymbols() {
|
|
23281
23281
|
return !1;
|
|
23282
23282
|
}, projectTileCoordinates(S, c, m, _) {
|
|
@@ -23309,7 +23309,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
23309
23309
|
}
|
|
23310
23310
|
class vn {
|
|
23311
23311
|
constructor(c, m, _, L, M, V, D, G) {
|
|
23312
|
-
this.placement = new Fi(c,
|
|
23312
|
+
this.placement = new Fi(c, r2(), m, V, D, G), this._currentPlacementIndex = _.length - 1, this._forceFullPlacement = L, this._showCollisionBoxes = M, this._done = !1;
|
|
23313
23313
|
}
|
|
23314
23314
|
isDone() {
|
|
23315
23315
|
return this._done;
|
|
@@ -24762,7 +24762,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
24762
24762
|
`;
|
|
24763
24763
|
}), staticAttributes: _, staticUniforms: V };
|
|
24764
24764
|
}
|
|
24765
|
-
class
|
|
24765
|
+
class n2 {
|
|
24766
24766
|
constructor() {
|
|
24767
24767
|
this.boundProgram = null, this.boundLayoutVertexBuffer = null, this.boundPaintVertexBuffers = [], this.boundIndexBuffer = null, this.boundVertexOffset = null, this.boundDynamicVertexBuffer = null, this.vao = null;
|
|
24768
24768
|
}
|
|
@@ -24862,7 +24862,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
24862
24862
|
}
|
|
24863
24863
|
for (const Ut of lt.get()) {
|
|
24864
24864
|
const Kt = Ut.vaos || (Ut.vaos = {});
|
|
24865
|
-
(Kt[Z] || (Kt[Z] = new
|
|
24865
|
+
(Kt[Z] || (Kt[Z] = new n2())).bind(c, this, K, wt ? wt.getPaintVertexBuffers() : [], Y, Ut.vertexOffset, bt, Mt, Pt), yt.drawElements(m, Ut.primitiveLength * Rt, yt.UNSIGNED_SHORT, Ut.primitiveOffset * Rt * 2);
|
|
24866
24866
|
}
|
|
24867
24867
|
}
|
|
24868
24868
|
}
|
|
@@ -25550,7 +25550,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
25550
25550
|
return m.iconsInText && c ? "symbolTextAndIcon" : S ? "symbolSDF" : "symbolIcon";
|
|
25551
25551
|
}
|
|
25552
25552
|
function ro(S, c, m, _, L, M, V, D, G, Z, K, Y) {
|
|
25553
|
-
const lt = S.context, ft = lt.gl, Qt = S.transform, wt =
|
|
25553
|
+
const lt = S.context, ft = lt.gl, Qt = S.transform, wt = r2(), bt = D === "map", Mt = G === "map", Pt = D !== "viewport" && m.layout.get("symbol-placement") !== "point", yt = bt && !Mt && !Pt, Rt = !Mt && Pt, Ut = !m.layout.get("symbol-sort-key").isConstant();
|
|
25554
25554
|
let Kt = !1;
|
|
25555
25555
|
const he = S.depthModeForSublayer(0, $r.ReadOnly), Le = m._unevaluatedLayout.hasValue("text-variable-anchor") || m._unevaluatedLayout.hasValue("text-variable-anchor-offset"), Xe = [], Ye = wt.getCircleRadiusCorrection(Qt);
|
|
25556
25556
|
for (const xe of _) {
|
|
@@ -25634,7 +25634,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
25634
25634
|
Kt.draw(S.context, lt, L, S.stencilModeForClipping(Pt), M, En.disabled, Qt, he, m.id, Rt.layoutVertexBuffer, wt, bt, m.paint, S.transform.zoom, Ut);
|
|
25635
25635
|
}
|
|
25636
25636
|
}
|
|
25637
|
-
function
|
|
25637
|
+
function i2(S, c, m, _, L, M, V) {
|
|
25638
25638
|
const D = S.context, G = D.gl, Z = "fill-extrusion-pattern", K = m.paint.get(Z), Y = K.constantOr(1), lt = m.getCrossfadeParameters(), ft = m.paint.get("fill-extrusion-opacity"), Qt = K.constantOr(null);
|
|
25639
25639
|
for (const wt of _) {
|
|
25640
25640
|
const bt = c.getTile(wt), Mt = bt.getBucket(m);
|
|
@@ -25688,7 +25688,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
25688
25688
|
}
|
|
25689
25689
|
return { opacity: 1, mix: 0 };
|
|
25690
25690
|
}
|
|
25691
|
-
const ma = new a.aN(1, 0, 0, 1), ga = new a.aN(0, 1, 0, 1), P3 = new a.aN(0, 0, 1, 1), _0 = new a.aN(1, 0, 1, 1),
|
|
25691
|
+
const ma = new a.aN(1, 0, 0, 1), ga = new a.aN(0, 1, 0, 1), P3 = new a.aN(0, 0, 1, 1), _0 = new a.aN(1, 0, 1, 1), o2 = new a.aN(0, 1, 1, 1);
|
|
25692
25692
|
function J2(S, c, m, _) {
|
|
25693
25693
|
Nt(S, 0, c + m / 2, S.transform.width, m, _);
|
|
25694
25694
|
}
|
|
@@ -25867,7 +25867,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
25867
25867
|
const Y = Z.transform.centerPoint;
|
|
25868
25868
|
(function(lt, ft, Qt, wt) {
|
|
25869
25869
|
Nt(lt, ft - 1, Qt - 10, 2, 20, wt), Nt(lt, ft - 10, Qt - 1, 20, 2, wt);
|
|
25870
|
-
})(Z, Y.x, Z.transform.height - Y.y,
|
|
25870
|
+
})(Z, Y.x, Z.transform.height - Y.y, o2);
|
|
25871
25871
|
}(this), this.context.setDefault();
|
|
25872
25872
|
}
|
|
25873
25873
|
maybeDrawDepthAndCoords(c) {
|
|
@@ -25904,7 +25904,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
25904
25904
|
return;
|
|
25905
25905
|
const K = Cn.disabled, Y = M.colorModeForRenderPass();
|
|
25906
25906
|
(D._unevaluatedLayout.hasValue("text-variable-anchor") || D._unevaluatedLayout.hasValue("text-variable-anchor-offset")) && function(lt, ft, Qt, wt, bt, Mt, Pt, yt, Rt) {
|
|
25907
|
-
const Ut = ft.transform, Kt =
|
|
25907
|
+
const Ut = ft.transform, Kt = r2(), he = bt === "map", Le = Mt === "map";
|
|
25908
25908
|
for (const Xe of lt) {
|
|
25909
25909
|
const Ye = wt.getTile(Xe), xe = Ye.getBucket(Qt);
|
|
25910
25910
|
if (!xe || !xe.text || !xe.text.segments.get().length)
|
|
@@ -26057,10 +26057,10 @@ uniform ${K} ${Y} u_${lt};
|
|
|
26057
26057
|
if (Z !== 0 && M.renderPass === "translucent") {
|
|
26058
26058
|
const K = new $r(M.context.gl.LEQUAL, $r.ReadWrite, M.depthRangeFor3D);
|
|
26059
26059
|
if (Z !== 1 || D.paint.get("fill-extrusion-pattern").constantOr(1))
|
|
26060
|
-
|
|
26060
|
+
i2(M, V, D, G, K, Cn.disabled, fn.disabled), i2(M, V, D, G, K, M.stencilModeFor3D(), M.colorModeForRenderPass());
|
|
26061
26061
|
else {
|
|
26062
26062
|
const Y = M.colorModeForRenderPass();
|
|
26063
|
-
|
|
26063
|
+
i2(M, V, D, G, K, Cn.disabled, Y);
|
|
26064
26064
|
}
|
|
26065
26065
|
}
|
|
26066
26066
|
})(c, m, _, L);
|
|
@@ -26704,19 +26704,19 @@ uniform ${K} ${Y} u_${lt};
|
|
|
26704
26704
|
const _ = this._inertiaBuffer[this._inertiaBuffer.length - 1].time - this._inertiaBuffer[0].time, L = {};
|
|
26705
26705
|
if (m.pan.mag()) {
|
|
26706
26706
|
const M = I3(m.pan.mag(), _, a.e({}, s1, c || {}));
|
|
26707
|
-
L.offset = m.pan.mult(M.amount / m.pan.mag()), L.center = this._map.transform.center,
|
|
26707
|
+
L.offset = m.pan.mult(M.amount / m.pan.mag()), L.center = this._map.transform.center, s2(L, M);
|
|
26708
26708
|
}
|
|
26709
26709
|
if (m.zoom) {
|
|
26710
26710
|
const M = I3(m.zoom, _, Uo);
|
|
26711
|
-
L.zoom = this._map.transform.zoom + M.amount,
|
|
26711
|
+
L.zoom = this._map.transform.zoom + M.amount, s2(L, M);
|
|
26712
26712
|
}
|
|
26713
26713
|
if (m.bearing) {
|
|
26714
26714
|
const M = I3(m.bearing, _, ks);
|
|
26715
|
-
L.bearing = this._map.transform.bearing + a.ad(M.amount, -179, 179),
|
|
26715
|
+
L.bearing = this._map.transform.bearing + a.ad(M.amount, -179, 179), s2(L, M);
|
|
26716
26716
|
}
|
|
26717
26717
|
if (m.pitch) {
|
|
26718
26718
|
const M = I3(m.pitch, _, Vs);
|
|
26719
|
-
L.pitch = this._map.transform.pitch + M.amount,
|
|
26719
|
+
L.pitch = this._map.transform.pitch + M.amount, s2(L, M);
|
|
26720
26720
|
}
|
|
26721
26721
|
if (L.zoom || L.bearing) {
|
|
26722
26722
|
const M = m.pinchAround === void 0 ? m.around : m.pinchAround;
|
|
@@ -26725,7 +26725,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
26725
26725
|
return this.clear(), a.e(L, { noMoveStart: !0 });
|
|
26726
26726
|
}
|
|
26727
26727
|
}
|
|
26728
|
-
function
|
|
26728
|
+
function s2(S, c) {
|
|
26729
26729
|
(!S.duration || S.duration < c.duration) && (S.duration = c.duration, S.easing = c.easing);
|
|
26730
26730
|
}
|
|
26731
26731
|
function I3(S, c, m) {
|
|
@@ -26963,7 +26963,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
26963
26963
|
}
|
|
26964
26964
|
}
|
|
26965
26965
|
}
|
|
26966
|
-
class
|
|
26966
|
+
class a2 {
|
|
26967
26967
|
constructor(c) {
|
|
26968
26968
|
this.singleTap = new Go(c), this.numTaps = c.numTaps, this.reset();
|
|
26969
26969
|
}
|
|
@@ -26987,7 +26987,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
26987
26987
|
}
|
|
26988
26988
|
class _a {
|
|
26989
26989
|
constructor(c) {
|
|
26990
|
-
this._tr = new io(c), this._zoomIn = new
|
|
26990
|
+
this._tr = new io(c), this._zoomIn = new a2({ numTouches: 1, numTaps: 2 }), this._zoomOut = new a2({ numTouches: 2, numTaps: 1 }), this.reset();
|
|
26991
26991
|
}
|
|
26992
26992
|
reset() {
|
|
26993
26993
|
this._active = !1, this._zoomIn.reset(), this._zoomOut.reset();
|
|
@@ -27121,7 +27121,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
27121
27121
|
}, N3 = ({ enable: S, clickTolerance: c, bearingDegreesPerPixelMoved: m = 0.8 }) => {
|
|
27122
27122
|
const _ = new zi({ checkCorrectEvent: (L) => Q.mouseButton(L) === 0 && L.ctrlKey || Q.mouseButton(L) === 2 });
|
|
27123
27123
|
return new Hn({ clickTolerance: c, move: (L, M) => ({ bearingDelta: (M.x - L.x) * m }), moveStateManager: _, enable: S, assignEvents: ts });
|
|
27124
|
-
},
|
|
27124
|
+
}, l2 = ({ enable: S, clickTolerance: c, pitchDegreesPerPixelMoved: m = -0.5 }) => {
|
|
27125
27125
|
const _ = new zi({ checkCorrectEvent: (L) => Q.mouseButton(L) === 0 && L.ctrlKey || Q.mouseButton(L) === 2 });
|
|
27126
27126
|
return new Hn({ clickTolerance: c, move: (L, M) => ({ pitchDelta: (M.y - L.y) * m }), moveStateManager: _, enable: S, assignEvents: ts });
|
|
27127
27127
|
};
|
|
@@ -27489,7 +27489,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
27489
27489
|
}
|
|
27490
27490
|
class Cd {
|
|
27491
27491
|
constructor() {
|
|
27492
|
-
this._tap = new
|
|
27492
|
+
this._tap = new a2({ numTouches: 1, numTaps: 1 }), this.reset();
|
|
27493
27493
|
}
|
|
27494
27494
|
reset() {
|
|
27495
27495
|
this._active = !1, delete this._swipePoint, delete this._swipeTouch, delete this._tapTime, delete this._tapPoint, this._tap.reset();
|
|
@@ -27537,7 +27537,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
27537
27537
|
return this._active;
|
|
27538
27538
|
}
|
|
27539
27539
|
}
|
|
27540
|
-
class
|
|
27540
|
+
class c2 {
|
|
27541
27541
|
constructor(c, m, _) {
|
|
27542
27542
|
this._el = c, this._mousePan = m, this._touchPan = _;
|
|
27543
27543
|
}
|
|
@@ -27686,13 +27686,13 @@ uniform ${K} ${Y} u_${lt};
|
|
|
27686
27686
|
this._add("tapDragZoom", G);
|
|
27687
27687
|
const Z = m.touchPitch = new B8(m);
|
|
27688
27688
|
this._add("touchPitch", Z), c.interactive && c.touchPitch && m.touchPitch.enable(c.touchPitch);
|
|
27689
|
-
const K = N3(c), Y =
|
|
27689
|
+
const K = N3(c), Y = l2(c);
|
|
27690
27690
|
m.dragRotate = new L2(c, K, Y), this._add("mouseRotate", K, ["mousePitch"]), this._add("mousePitch", Y, ["mouseRotate"]), c.interactive && c.dragRotate && m.dragRotate.enable();
|
|
27691
27691
|
const lt = (({ enable: Pt, clickTolerance: yt }) => {
|
|
27692
27692
|
const Rt = new zi({ checkCorrectEvent: (Ut) => Q.mouseButton(Ut) === 0 && !Ut.ctrlKey });
|
|
27693
27693
|
return new Hn({ clickTolerance: yt, move: (Ut, Kt) => ({ around: Kt, panDelta: Kt.sub(Ut) }), activateOnStart: !0, moveStateManager: Rt, enable: Pt, assignEvents: ts });
|
|
27694
27694
|
})(c), ft = new es(c, m);
|
|
27695
|
-
m.dragPan = new
|
|
27695
|
+
m.dragPan = new c2(_, lt, ft), this._add("mousePan", lt), this._add("touchPan", ft, ["touchZoom", "touchRotate"]), c.interactive && c.dragPan && m.dragPan.enable(c.dragPan);
|
|
27696
27696
|
const Qt = new F8(), wt = new N8();
|
|
27697
27697
|
m.touchZoomRotate = new $8(_, wt, Qt, G), this._add("touchRotate", Qt, ["touchPan", "touchZoom"]), this._add("touchZoom", wt, ["touchPan", "touchRotate"]), c.interactive && c.touchZoomRotate && m.touchZoomRotate.enable(c.touchZoomRotate);
|
|
27698
27698
|
const bt = m.scrollZoom = new U8(m, () => this._triggerRenderFrame());
|
|
@@ -28482,7 +28482,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
28482
28482
|
this.element = m, this.mouseRotate = N3({ clickTolerance: L, enable: !0 }), this.touchRotate = (({ enable: V, clickTolerance: D, bearingDegreesPerPixelMoved: G = 0.8 }) => {
|
|
28483
28483
|
const Z = new R3();
|
|
28484
28484
|
return new Hn({ clickTolerance: D, move: (K, Y) => ({ bearingDelta: (Y.x - K.x) * G }), moveStateManager: Z, enable: V, assignEvents: kd });
|
|
28485
|
-
})({ clickTolerance: L, enable: !0 }), this.map = c, _ && (this.mousePitch =
|
|
28485
|
+
})({ clickTolerance: L, enable: !0 }), this.map = c, _ && (this.mousePitch = l2({ clickTolerance: M, enable: !0 }), this.touchPitch = (({ enable: V, clickTolerance: D, pitchDegreesPerPixelMoved: G = -0.5 }) => {
|
|
28486
28486
|
const Z = new R3();
|
|
28487
28487
|
return new Hn({ clickTolerance: D, move: (K, Y) => ({ pitchDelta: (Y.y - K.y) * G }), moveStateManager: Z, enable: V, assignEvents: kd });
|
|
28488
28488
|
})({ clickTolerance: M, enable: !0 })), Q.addEventListener(m, "mousedown", this.mousedown), Q.addEventListener(m, "touchstart", this.touchstart, { passive: !1 }), Q.addEventListener(m, "touchcancel", this.reset);
|
|
@@ -28746,7 +28746,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
28746
28746
|
return _r(new a.P(0, 0));
|
|
28747
28747
|
}
|
|
28748
28748
|
const Ar = u;
|
|
28749
|
-
s.AJAXError = a.bg, s.Evented = a.E, s.LngLat = a.N, s.MercatorCoordinate = a.Z, s.Point = a.P, s.addProtocol = a.bh, s.config = a.a, s.removeProtocol = a.bi, s.AttributionControl = U4, s.BoxZoomHandler = V3, s.CanvasSource = fe, s.CooperativeGesturesHandler = x2, s.DoubleClickZoomHandler = G8, s.DragPanHandler =
|
|
28749
|
+
s.AJAXError = a.bg, s.Evented = a.E, s.LngLat = a.N, s.MercatorCoordinate = a.Z, s.Point = a.P, s.addProtocol = a.bh, s.config = a.a, s.removeProtocol = a.bi, s.AttributionControl = U4, s.BoxZoomHandler = V3, s.CanvasSource = fe, s.CooperativeGesturesHandler = x2, s.DoubleClickZoomHandler = G8, s.DragPanHandler = c2, s.DragRotateHandler = L2, s.EdgeInsets = vi, s.FullscreenControl = class extends a.E {
|
|
28750
28750
|
constructor(S = {}) {
|
|
28751
28751
|
super(), this._onFullscreenChange = () => {
|
|
28752
28752
|
var c;
|
|
@@ -29728,7 +29728,7 @@ uniform ${K} ${Y} u_${lt};
|
|
|
29728
29728
|
});
|
|
29729
29729
|
})(KU);
|
|
29730
29730
|
var iht = KU.exports;
|
|
29731
|
-
const
|
|
29731
|
+
const Xo = /* @__PURE__ */ E4(iht);
|
|
29732
29732
|
async function oht(t) {
|
|
29733
29733
|
const e = await fetch(t, {
|
|
29734
29734
|
method: "GET",
|
|
@@ -29845,7 +29845,7 @@ var jv = /* @__PURE__ */ function() {
|
|
|
29845
29845
|
done: !0
|
|
29846
29846
|
};
|
|
29847
29847
|
var r = o6(this.path), n = r.node, i = r.keys;
|
|
29848
|
-
return o6(i) ===
|
|
29848
|
+
return o6(i) === Yo ? {
|
|
29849
29849
|
done: !1,
|
|
29850
29850
|
value: this.result()
|
|
29851
29851
|
} : (this.path.push({
|
|
@@ -29859,16 +29859,16 @@ var jv = /* @__PURE__ */ function() {
|
|
|
29859
29859
|
var n = r.keys;
|
|
29860
29860
|
return o6(n);
|
|
29861
29861
|
}).filter(function(r) {
|
|
29862
|
-
return r !==
|
|
29862
|
+
return r !== Yo;
|
|
29863
29863
|
}).join("");
|
|
29864
29864
|
}, e.value = function() {
|
|
29865
|
-
return o6(this.path).node[
|
|
29865
|
+
return o6(this.path).node[Yo];
|
|
29866
29866
|
}, e.result = function() {
|
|
29867
29867
|
return this.type === rG ? this.value() : this.type === eG ? this.key() : [this.key(), this.value()];
|
|
29868
29868
|
}, e[Symbol.iterator] = function() {
|
|
29869
29869
|
return this;
|
|
29870
29870
|
}, t;
|
|
29871
|
-
}(), uht = "ENTRIES", eG = "KEYS", rG = "VALUES",
|
|
29871
|
+
}(), uht = "ENTRIES", eG = "KEYS", rG = "VALUES", Yo = "", o6 = function(t) {
|
|
29872
29872
|
return t[t.length - 1];
|
|
29873
29873
|
}, hht = function(t, e, r) {
|
|
29874
29874
|
for (var n = [{
|
|
@@ -29879,7 +29879,7 @@ var jv = /* @__PURE__ */ function() {
|
|
|
29879
29879
|
}], i = {}, o = [], s = function() {
|
|
29880
29880
|
var a = n.pop(), u = a.node, d = a.distance, f = a.key, T = a.i, Q = a.edit;
|
|
29881
29881
|
Object.keys(u).forEach(function(y) {
|
|
29882
|
-
if (y ===
|
|
29882
|
+
if (y === Yo) {
|
|
29883
29883
|
var b = d + (e.length - T), v = i[f] || [null, 1 / 0], E = v[1];
|
|
29884
29884
|
b <= r && b < E && (i[f] = [u[y], b]);
|
|
29885
29885
|
} else
|
|
@@ -29954,7 +29954,7 @@ var jv = /* @__PURE__ */ function() {
|
|
|
29954
29954
|
var n = nG(this._tree, r.slice(this._prefix.length)), i = n[0], o = n[1];
|
|
29955
29955
|
if (i === void 0) {
|
|
29956
29956
|
var s = jM(o), a = s[0], u = s[1], d = Object.keys(a).find(function(T) {
|
|
29957
|
-
return T !==
|
|
29957
|
+
return T !== Yo && T.startsWith(u);
|
|
29958
29958
|
});
|
|
29959
29959
|
if (d !== void 0) {
|
|
29960
29960
|
var f;
|
|
@@ -29977,10 +29977,10 @@ var jv = /* @__PURE__ */ function() {
|
|
|
29977
29977
|
return hht(this._tree, r, n);
|
|
29978
29978
|
}, e.get = function(r) {
|
|
29979
29979
|
var n = RI(this._tree, r);
|
|
29980
|
-
return n !== void 0 ? n[
|
|
29980
|
+
return n !== void 0 ? n[Yo] : void 0;
|
|
29981
29981
|
}, e.has = function(r) {
|
|
29982
29982
|
var n = RI(this._tree, r);
|
|
29983
|
-
return n !== void 0 && n.hasOwnProperty(
|
|
29983
|
+
return n !== void 0 && n.hasOwnProperty(Yo);
|
|
29984
29984
|
}, e.keys = function() {
|
|
29985
29985
|
return new jv(this, eG);
|
|
29986
29986
|
}, e.set = function(r, n) {
|
|
@@ -29988,13 +29988,13 @@ var jv = /* @__PURE__ */ function() {
|
|
|
29988
29988
|
throw new Error("key must be a string");
|
|
29989
29989
|
delete this._size;
|
|
29990
29990
|
var i = NI(this._tree, r);
|
|
29991
|
-
return i[
|
|
29991
|
+
return i[Yo] = n, this;
|
|
29992
29992
|
}, e.update = function(r, n) {
|
|
29993
29993
|
if (typeof r != "string")
|
|
29994
29994
|
throw new Error("key must be a string");
|
|
29995
29995
|
delete this._size;
|
|
29996
29996
|
var i = NI(this._tree, r);
|
|
29997
|
-
return i[
|
|
29997
|
+
return i[Yo] = n(i[Yo]), this;
|
|
29998
29998
|
}, e.values = function() {
|
|
29999
29999
|
return new jv(this, rG);
|
|
30000
30000
|
}, e[Symbol.iterator] = function() {
|
|
@@ -30023,14 +30023,14 @@ var nG = function t(e, r, n) {
|
|
|
30023
30023
|
if (n === void 0 && (n = []), r.length === 0)
|
|
30024
30024
|
return [e, n];
|
|
30025
30025
|
var i = Object.keys(e).find(function(o) {
|
|
30026
|
-
return o !==
|
|
30026
|
+
return o !== Yo && r.startsWith(o);
|
|
30027
30027
|
});
|
|
30028
30028
|
return i === void 0 ? t(void 0, "", [].concat(n, [[e, r]])) : t(e[i], r.slice(i.length), [].concat(n, [[e, i]]));
|
|
30029
30029
|
}, RI = function t(e, r) {
|
|
30030
30030
|
if (r.length === 0)
|
|
30031
30031
|
return e;
|
|
30032
30032
|
var n = Object.keys(e).find(function(i) {
|
|
30033
|
-
return i !==
|
|
30033
|
+
return i !== Yo && r.startsWith(i);
|
|
30034
30034
|
});
|
|
30035
30035
|
if (n !== void 0)
|
|
30036
30036
|
return t(e[n], r.slice(n.length));
|
|
@@ -30038,11 +30038,11 @@ var nG = function t(e, r, n) {
|
|
|
30038
30038
|
if (r.length === 0)
|
|
30039
30039
|
return e;
|
|
30040
30040
|
var n = Object.keys(e).find(function(a) {
|
|
30041
|
-
return a !==
|
|
30041
|
+
return a !== Yo && r.startsWith(a);
|
|
30042
30042
|
});
|
|
30043
30043
|
if (n === void 0) {
|
|
30044
30044
|
var i = Object.keys(e).find(function(a) {
|
|
30045
|
-
return a !==
|
|
30045
|
+
return a !== Yo && a.startsWith(r[0]);
|
|
30046
30046
|
});
|
|
30047
30047
|
if (i === void 0)
|
|
30048
30048
|
e[r] = {};
|
|
@@ -30058,7 +30058,7 @@ var nG = function t(e, r, n) {
|
|
|
30058
30058
|
}, Qht = function(t, e) {
|
|
30059
30059
|
var r = nG(t, e), n = r[0], i = r[1];
|
|
30060
30060
|
if (n !== void 0) {
|
|
30061
|
-
delete n[
|
|
30061
|
+
delete n[Yo];
|
|
30062
30062
|
var o = Object.keys(n);
|
|
30063
30063
|
o.length === 0 && mht(i), o.length === 1 && ght(i, o[0], n[o[0]]);
|
|
30064
30064
|
}
|
|
@@ -44189,7 +44189,7 @@ process.env.NODE_ENV !== "production" && (pQ = Wxt(fi));
|
|
|
44189
44189
|
function qxt(t) {
|
|
44190
44190
|
pQ = t;
|
|
44191
44191
|
}
|
|
44192
|
-
function
|
|
44192
|
+
function Ko(t, e, r, n) {
|
|
44193
44193
|
fi.level > 0 && pQ[t] && pQ[t].call(null, e, r, n);
|
|
44194
44194
|
}
|
|
44195
44195
|
function Xxt(t) {
|
|
@@ -53128,7 +53128,7 @@ let iAt = class {
|
|
|
53128
53128
|
// eslint-disable-next-line
|
|
53129
53129
|
constructor(t, e) {
|
|
53130
53130
|
this._lastRenderedLayers = [], this._needsRedraw = !1, this._needsUpdate = !1, this._nextLayers = null, this._debug = !1, this._defaultShaderModulesChanged = !1, this.activateViewport = (s) => {
|
|
53131
|
-
|
|
53131
|
+
Ko(nAt, this, s), s && (this.context.viewport = s);
|
|
53132
53132
|
};
|
|
53133
53133
|
const { deck: r, stats: n, viewport: i, timeline: o } = e || {};
|
|
53134
53134
|
this.layers = [], this.resourceManager = new eAt({ device: t, protocol: "deck://" }), this.context = {
|
|
@@ -53190,7 +53190,7 @@ let iAt = class {
|
|
|
53190
53190
|
}
|
|
53191
53191
|
/** Supply a new layer list, initiating sublayer generation and layer matching */
|
|
53192
53192
|
setLayers(t, e) {
|
|
53193
|
-
|
|
53193
|
+
Ko(rAt, this, e, t), this._lastRenderedLayers = t;
|
|
53194
53194
|
const r = oh(t, Boolean);
|
|
53195
53195
|
for (const n of r)
|
|
53196
53196
|
n.context = this.context;
|
|
@@ -54606,7 +54606,7 @@ class wAt {
|
|
|
54606
54606
|
const i = this.lastPostProcessEffect ? this.renderBuffers[0] : n.target;
|
|
54607
54607
|
this.lastPostProcessEffect && (n.clearColor = [0, 0, 0, 0], n.clearCanvas = !0);
|
|
54608
54608
|
const o = r.render({ ...n, target: i });
|
|
54609
|
-
n.effects && this._postRender(n.effects, n), this.renderCount++,
|
|
54609
|
+
n.effects && this._postRender(n.effects, n), this.renderCount++, Ko(xAt, this, o, e);
|
|
54610
54610
|
}
|
|
54611
54611
|
needsRedraw(e = { clearRedrawFlags: !1 }) {
|
|
54612
54612
|
const r = this._needsRedraw;
|
|
@@ -59448,7 +59448,7 @@ var VX = { exports: {} };
|
|
|
59448
59448
|
function ht(gt) {
|
|
59449
59449
|
q.manager.emit(gt, F);
|
|
59450
59450
|
}
|
|
59451
|
-
rt < Yr && ht(q.options.event +
|
|
59451
|
+
rt < Yr && ht(q.options.event + r2(rt)), ht(q.options.event), F.additionalEvent && ht(F.additionalEvent), rt >= Yr && ht(q.options.event + r2(rt));
|
|
59452
59452
|
},
|
|
59453
59453
|
/**
|
|
59454
59454
|
* Check that all the require failure recognizers has failed,
|
|
@@ -59510,7 +59510,7 @@ var VX = { exports: {} };
|
|
|
59510
59510
|
reset: function() {
|
|
59511
59511
|
}
|
|
59512
59512
|
};
|
|
59513
|
-
function
|
|
59513
|
+
function r2(F) {
|
|
59514
59514
|
return F & q2 ? "cancel" : F & Yr ? "end" : F & go ? "move" : F & Ki ? "start" : "";
|
|
59515
59515
|
}
|
|
59516
59516
|
function k1(F) {
|
|
@@ -59853,7 +59853,7 @@ var VX = { exports: {} };
|
|
|
59853
59853
|
};
|
|
59854
59854
|
var As = 1, Fo = 2;
|
|
59855
59855
|
function on(F, q) {
|
|
59856
|
-
this.options = v({}, eo.defaults, q || {}), this.options.inputTarget = this.options.inputTarget || F, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = F, this.input = Oi(this), this.touchAction = new Fi(this, this.options.touchAction),
|
|
59856
|
+
this.options = v({}, eo.defaults, q || {}), this.options.inputTarget = this.options.inputTarget || F, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = F, this.input = Oi(this), this.touchAction = new Fi(this, this.options.touchAction), n2(this, !0), y(this.options.recognizers, function(rt) {
|
|
59857
59857
|
var ht = this.add(new rt[0](rt[1]));
|
|
59858
59858
|
rt[2] && ht.recognizeWith(rt[2]), rt[3] && ht.requireFailure(rt[3]);
|
|
59859
59859
|
}, this);
|
|
@@ -59982,10 +59982,10 @@ var VX = { exports: {} };
|
|
|
59982
59982
|
* it doesn't unbind dom events, that is the user own responsibility
|
|
59983
59983
|
*/
|
|
59984
59984
|
destroy: function() {
|
|
59985
|
-
this.element &&
|
|
59985
|
+
this.element && n2(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
|
|
59986
59986
|
}
|
|
59987
59987
|
};
|
|
59988
|
-
function
|
|
59988
|
+
function n2(F, q) {
|
|
59989
59989
|
var rt = F.element;
|
|
59990
59990
|
if (rt.style) {
|
|
59991
59991
|
var ht;
|
|
@@ -62153,18 +62153,18 @@ class WPt {
|
|
|
62153
62153
|
// Marks an attribute for update
|
|
62154
62154
|
invalidate(e, r) {
|
|
62155
62155
|
const n = this._invalidateTrigger(e, r);
|
|
62156
|
-
|
|
62156
|
+
Ko(CN, this, e, n);
|
|
62157
62157
|
}
|
|
62158
62158
|
invalidateAll(e) {
|
|
62159
62159
|
for (const r in this.attributes)
|
|
62160
62160
|
this.attributes[r].setNeedsUpdate(r, e);
|
|
62161
|
-
|
|
62161
|
+
Ko(CN, this, "all");
|
|
62162
62162
|
}
|
|
62163
62163
|
// Ensure all attribute buffers are updated from props or data.
|
|
62164
62164
|
// eslint-disable-next-line complexity
|
|
62165
62165
|
update({ data: e, numInstances: r, startIndices: n = null, transitions: i, props: o = {}, buffers: s = {}, context: a = {} }) {
|
|
62166
62166
|
let u = !1;
|
|
62167
|
-
|
|
62167
|
+
Ko(zPt, this), this.stats && this.stats.get("Update Attributes").timeStart();
|
|
62168
62168
|
for (const d in this.attributes) {
|
|
62169
62169
|
const f = this.attributes[d], T = f.settings.accessor;
|
|
62170
62170
|
f.startIndices = n, f.numInstances = r, o[d] && fi.removed(`props.${d}`, `data.attributes.${d}`)(), f.setExternalBuffer(s[d]) || f.setBinaryValue(typeof T == "string" ? s[T] : void 0, e.startIndices) || typeof T == "string" && !s[T] && f.setConstantValue(o[T]) || f.needsUpdate() && (u = !0, this._updateAttribute({
|
|
@@ -62175,7 +62175,7 @@ class WPt {
|
|
|
62175
62175
|
context: a
|
|
62176
62176
|
})), this.needsRedraw = this.needsRedraw || f.needsRedraw();
|
|
62177
62177
|
}
|
|
62178
|
-
u &&
|
|
62178
|
+
u && Ko(UPt, this, r), this.stats && this.stats.get("Update Attributes").timeEnd(), this.attributeTransitionManager.update({
|
|
62179
62179
|
attributes: this.attributes,
|
|
62180
62180
|
numInstances: r,
|
|
62181
62181
|
transitions: i
|
|
@@ -62254,11 +62254,11 @@ class WPt {
|
|
|
62254
62254
|
}
|
|
62255
62255
|
_updateAttribute(e) {
|
|
62256
62256
|
const { attribute: r, numInstances: n } = e;
|
|
62257
|
-
if (
|
|
62257
|
+
if (Ko(GPt, r), r.constant) {
|
|
62258
62258
|
r.setConstantValue(r.value);
|
|
62259
62259
|
return;
|
|
62260
62260
|
}
|
|
62261
|
-
r.allocate(n) &&
|
|
62261
|
+
r.allocate(n) && Ko($Pt, r, n), r.updateBuffer(e) && (this.needsRedraw = !0, Ko(ZPt, r, n));
|
|
62262
62262
|
}
|
|
62263
62263
|
}
|
|
62264
62264
|
class qPt extends Km {
|
|
@@ -63364,7 +63364,7 @@ const RIt = {
|
|
|
63364
63364
|
/* eslint-disable max-statements */
|
|
63365
63365
|
/* (Internal) Called by layer manager when a new layer is found */
|
|
63366
63366
|
_initialize() {
|
|
63367
|
-
C1(!this.internalState), C1(Number.isFinite(this.props.coordinateSystem)),
|
|
63367
|
+
C1(!this.internalState), C1(Number.isFinite(this.props.coordinateSystem)), Ko(CIt, this);
|
|
63368
63368
|
const e = this._getAttributeManager();
|
|
63369
63369
|
e && e.addInstanced({
|
|
63370
63370
|
instancePickingColors: {
|
|
@@ -63392,14 +63392,14 @@ const RIt = {
|
|
|
63392
63392
|
}
|
|
63393
63393
|
/** (Internal) Called by layer manager to transfer state from an old layer */
|
|
63394
63394
|
_transferState(e) {
|
|
63395
|
-
|
|
63395
|
+
Ko(IIt, this, this === e);
|
|
63396
63396
|
const { state: r, internalState: n } = e;
|
|
63397
63397
|
this !== e && (this.internalState = n, this.state = r, this.internalState.setAsyncProps(this.props), this._diffProps(this.props, this.internalState.getOldProps()));
|
|
63398
63398
|
}
|
|
63399
63399
|
/** (Internal) Called by layer manager when a new layer is added or an existing layer is matched with a new instance */
|
|
63400
63400
|
_update() {
|
|
63401
63401
|
const e = this.needsUpdate();
|
|
63402
|
-
if (
|
|
63402
|
+
if (Ko(OIt, this, e), !e)
|
|
63403
63403
|
return;
|
|
63404
63404
|
const r = this.props, n = this.context, i = this.internalState, o = n.viewport, s = this._updateUniformTransition();
|
|
63405
63405
|
i.propsInTransition = s, n.viewport = i.viewport || o, this.props = s;
|
|
@@ -63424,7 +63424,7 @@ const RIt = {
|
|
|
63424
63424
|
/** (Internal) Called by manager when layer is about to be disposed
|
|
63425
63425
|
Note: not guaranteed to be called on application shutdown */
|
|
63426
63426
|
_finalize() {
|
|
63427
|
-
|
|
63427
|
+
Ko(PIt, this), this.finalizeState(this.context);
|
|
63428
63428
|
for (const e of this.props.extensions)
|
|
63429
63429
|
e.finalizeState.call(this, this.context, e);
|
|
63430
63430
|
}
|
|
@@ -63476,7 +63476,7 @@ const RIt = {
|
|
|
63476
63476
|
default:
|
|
63477
63477
|
r[i] || (r[i] = e[i], o = !0);
|
|
63478
63478
|
}
|
|
63479
|
-
o &&
|
|
63479
|
+
o && Ko(AIt, this, i, e);
|
|
63480
63480
|
}
|
|
63481
63481
|
const n = !!(r.dataChanged || r.updateTriggersChanged || r.propsChanged || r.extensionsChanged);
|
|
63482
63482
|
r.propsOrDataChanged = n, r.somethingChanged = n || r.viewportChanged || r.stateChanged;
|
|
@@ -66613,7 +66613,7 @@ var cK = { exports: {} };
|
|
|
66613
66613
|
I.dragMoving && this.fireUpdate(), this.stopDragging(I);
|
|
66614
66614
|
};
|
|
66615
66615
|
var hn = {};
|
|
66616
|
-
function
|
|
66616
|
+
function r2(I, $) {
|
|
66617
66617
|
return !!I.lngLat && I.lngLat.lng === $[0] && I.lngLat.lat === $[1];
|
|
66618
66618
|
}
|
|
66619
66619
|
hn.onSetup = function() {
|
|
@@ -66637,7 +66637,7 @@ var cK = { exports: {} };
|
|
|
66637
66637
|
var I = this.newFeature({ type: v.FEATURE, properties: {}, geometry: { type: v.POLYGON, coordinates: [[]] } });
|
|
66638
66638
|
return this.addFeature(I), this.clearSelectedFeatures(), Fn.disable(this), this.updateUIClasses({ mouse: y.ADD }), this.activateUIButton(b.POLYGON), this.setActionableState({ trash: !0 }), { polygon: I, currentVertexPosition: 0 };
|
|
66639
66639
|
}, clickAnywhere: function(I, $) {
|
|
66640
|
-
if (I.currentVertexPosition > 0 &&
|
|
66640
|
+
if (I.currentVertexPosition > 0 && r2($, I.polygon.coordinates[0][I.currentVertexPosition - 1]))
|
|
66641
66641
|
return this.changeMode(E.SIMPLE_SELECT, { featureIds: [I.polygon.id] });
|
|
66642
66642
|
this.updateUIClasses({ mouse: y.ADD }), I.polygon.updateCoordinate("0." + I.currentVertexPosition, $.lngLat.lng, $.lngLat.lat), I.currentVertexPosition++, I.polygon.updateCoordinate("0." + I.currentVertexPosition, $.lngLat.lng, $.lngLat.lat);
|
|
66643
66643
|
}, clickOnVertex: function(I) {
|
|
@@ -66693,7 +66693,7 @@ var cK = { exports: {} };
|
|
|
66693
66693
|
$ = this.newFeature({ type: v.FEATURE, properties: {}, geometry: { type: v.LINE_STRING, coordinates: [] } }), F = 0, this.addFeature($);
|
|
66694
66694
|
return this.clearSelectedFeatures(), Fn.disable(this), this.updateUIClasses({ mouse: y.ADD }), this.activateUIButton(b.LINE), this.setActionableState({ trash: !0 }), { line: $, currentVertexPosition: F, direction: rt };
|
|
66695
66695
|
}, clickAnywhere: function(I, $) {
|
|
66696
|
-
if (I.currentVertexPosition > 0 &&
|
|
66696
|
+
if (I.currentVertexPosition > 0 && r2($, I.line.coordinates[I.currentVertexPosition - 1]) || I.direction === "backwards" && r2($, I.line.coordinates[I.currentVertexPosition + 1]))
|
|
66697
66697
|
return this.changeMode(E.SIMPLE_SELECT, { featureIds: [I.line.id] });
|
|
66698
66698
|
this.updateUIClasses({ mouse: y.ADD }), I.line.updateCoordinate(I.currentVertexPosition, $.lngLat.lng, $.lngLat.lat), I.direction === "forward" ? (I.currentVertexPosition++, I.line.updateCoordinate(I.currentVertexPosition, $.lngLat.lng, $.lngLat.lat)) : I.line.addCoordinate(0, $.lngLat.lng, $.lngLat.lat);
|
|
66699
66699
|
}, clickOnVertex: function(I) {
|
|
@@ -66753,7 +66753,7 @@ var cK = { exports: {} };
|
|
|
66753
66753
|
}
|
|
66754
66754
|
var ua, ol, w3, k8 = Array.prototype, ha = Function.prototype, k4 = Object.prototype, V4 = _2["__core-js_shared__"], sl = ha.toString, jo = k4.hasOwnProperty, R4 = (ua = /[^.]+$/.exec(V4 && V4.keys && V4.keys.IE_PROTO || "")) ? "Symbol(src)_1." + ua : "", u0 = k4.toString, al = RegExp("^" + sl.call(jo).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), h0 = L3 ? _2.Buffer : void 0, E3 = _2.Symbol, K2 = _2.Uint8Array, d0 = k4.propertyIsEnumerable, V8 = k8.splice, Cs = E3 ? E3.toStringTag : void 0, p0 = Object.getOwnPropertySymbols, M3 = h0 ? h0.isBuffer : void 0, R8 = (ol = Object.keys, w3 = Object, function(Nt) {
|
|
66755
66755
|
return ol(w3(Nt));
|
|
66756
|
-
}), da = ro(_2, "DataView"), S3 = ro(_2, "Map"), f0 = ro(_2, "Promise"), N4 = ro(_2, "Set"), D4 = ro(_2, "WeakMap"), pa = ro(Object, "create"), T0 =
|
|
66756
|
+
}), da = ro(_2, "DataView"), S3 = ro(_2, "Map"), f0 = ro(_2, "Promise"), N4 = ro(_2, "Set"), D4 = ro(_2, "WeakMap"), pa = ro(Object, "create"), T0 = i2(da), ll = i2(S3), F4 = i2(f0), v2 = i2(N4), H3 = i2(D4), B4 = E3 ? E3.prototype : void 0, A3 = B4 ? B4.valueOf : void 0;
|
|
66757
66757
|
function Y2(Nt) {
|
|
66758
66758
|
var Zt = -1, Ne = Nt == null ? 0 : Nt.length;
|
|
66759
66759
|
for (this.clear(); ++Zt < Ne; ) {
|
|
@@ -66815,10 +66815,10 @@ var cK = { exports: {} };
|
|
|
66815
66815
|
}(Nt);
|
|
66816
66816
|
}
|
|
66817
66817
|
function Ta(Nt) {
|
|
66818
|
-
return
|
|
66818
|
+
return o2(Nt) && En(Nt) == rt;
|
|
66819
66819
|
}
|
|
66820
66820
|
function m0(Nt, Zt, Ne, xr, jn) {
|
|
66821
|
-
return Nt === Zt || (Nt == null || Zt == null || !
|
|
66821
|
+
return Nt === Zt || (Nt == null || Zt == null || !o2(Nt) && !o2(Zt) ? Nt != Nt && Zt != Zt : function(qr, si, vi, no, Ii, Si) {
|
|
66822
66822
|
var R1 = Is(qr), x1 = Is(si), s1 = R1 ? ht : ji(qr), Uo = x1 ? ht : ji(si), ks = (s1 = s1 == rt ? Tr : s1) == Tr, Vs = (Uo = Uo == rt ? Tr : Uo) == Tr, b2 = s1 == Uo;
|
|
66823
66823
|
if (b2 && ma(qr)) {
|
|
66824
66824
|
if (!ma(si))
|
|
@@ -66844,16 +66844,16 @@ var cK = { exports: {} };
|
|
|
66844
66844
|
case ue:
|
|
66845
66845
|
return Sn == Qn + "";
|
|
66846
66846
|
case Oe:
|
|
66847
|
-
var
|
|
66847
|
+
var a2 = ca;
|
|
66848
66848
|
case Tn:
|
|
66849
66849
|
var _a = 1 & io;
|
|
66850
|
-
if (
|
|
66850
|
+
if (a2 || (a2 = ln), Sn.size != Qn.size && !_a)
|
|
66851
66851
|
return !1;
|
|
66852
66852
|
var Hn = Go.get(Sn);
|
|
66853
66853
|
if (Hn)
|
|
66854
66854
|
return Hn == Qn;
|
|
66855
66855
|
io |= 2, Go.set(Sn, Qn);
|
|
66856
|
-
var _o = C3(
|
|
66856
|
+
var _o = C3(a2(Sn), a2(Qn), io, V3, a1, Go);
|
|
66857
66857
|
return Go.delete(Sn), _o;
|
|
66858
66858
|
case Qr:
|
|
66859
66859
|
if (A3)
|
|
@@ -66862,18 +66862,18 @@ var cK = { exports: {} };
|
|
|
66862
66862
|
return !1;
|
|
66863
66863
|
}(qr, si, s1, vi, no, Ii, Si);
|
|
66864
66864
|
if (!(1 & vi)) {
|
|
66865
|
-
var
|
|
66866
|
-
if (
|
|
66867
|
-
var w1 =
|
|
66865
|
+
var s2 = ks && jo.call(qr, "__wrapped__"), I3 = Vs && jo.call(si, "__wrapped__");
|
|
66866
|
+
if (s2 || I3) {
|
|
66867
|
+
var w1 = s2 ? qr.value() : qr, k3 = I3 ? si.value() : si;
|
|
66868
66868
|
return Si || (Si = new $r()), Ii(w1, k3, vi, no, Si);
|
|
66869
66869
|
}
|
|
66870
66870
|
}
|
|
66871
66871
|
return b2 ? (Si || (Si = new $r()), function(Sn, Qn, ya, io, V3, a1) {
|
|
66872
|
-
var Go = 1 & ya,
|
|
66872
|
+
var Go = 1 & ya, a2 = O3(Sn), _a = a2.length, Hn = O3(Qn).length;
|
|
66873
66873
|
if (_a != Hn && !Go)
|
|
66874
66874
|
return !1;
|
|
66875
66875
|
for (var _o = _a; _o--; ) {
|
|
66876
|
-
var zi =
|
|
66876
|
+
var zi = a2[_o];
|
|
66877
66877
|
if (!(Go ? zi in Qn : jo.call(Qn, zi)))
|
|
66878
66878
|
return !1;
|
|
66879
66879
|
}
|
|
@@ -66883,10 +66883,10 @@ var cK = { exports: {} };
|
|
|
66883
66883
|
var ts = !0;
|
|
66884
66884
|
a1.set(Sn, Qn), a1.set(Qn, Sn);
|
|
66885
66885
|
for (var N3 = Go; ++_o < _a; ) {
|
|
66886
|
-
var
|
|
66886
|
+
var l2 = Sn[zi = a2[_o]], es = Qn[zi];
|
|
66887
66887
|
if (io)
|
|
66888
|
-
var va = Go ? io(es,
|
|
66889
|
-
if (!(va === void 0 ?
|
|
66888
|
+
var va = Go ? io(es, l2, zi, Qn, Sn, a1) : io(l2, es, zi, Sn, Qn, a1);
|
|
66889
|
+
if (!(va === void 0 ? l2 === es || V3(l2, es, ya, io, a1) : va)) {
|
|
66890
66890
|
ts = !1;
|
|
66891
66891
|
break;
|
|
66892
66892
|
}
|
|
@@ -66903,7 +66903,7 @@ var cK = { exports: {} };
|
|
|
66903
66903
|
function g0(Nt) {
|
|
66904
66904
|
return !(!_0(Nt) || function(Zt) {
|
|
66905
66905
|
return !!R4 && R4 in Zt;
|
|
66906
|
-
}(Nt)) && (ga(Nt) ? al : O4).test(
|
|
66906
|
+
}(Nt)) && (ga(Nt) ? al : O4).test(i2(Nt));
|
|
66907
66907
|
}
|
|
66908
66908
|
function j4(Nt) {
|
|
66909
66909
|
if (Ne = (Zt = Nt) && Zt.constructor, xr = typeof Ne == "function" && Ne.prototype || k4, Zt !== xr)
|
|
@@ -66933,9 +66933,9 @@ var cK = { exports: {} };
|
|
|
66933
66933
|
}
|
|
66934
66934
|
if (x1) {
|
|
66935
66935
|
if (!c0(Zt, function(Vs, b2) {
|
|
66936
|
-
if (
|
|
66936
|
+
if (s2 = b2, !x1.has(s2) && (s1 === Vs || jn(s1, Vs, Ne, xr, qr)))
|
|
66937
66937
|
return x1.push(b2);
|
|
66938
|
-
var
|
|
66938
|
+
var s2;
|
|
66939
66939
|
})) {
|
|
66940
66940
|
R1 = !1;
|
|
66941
66941
|
break;
|
|
@@ -67049,7 +67049,7 @@ var cK = { exports: {} };
|
|
|
67049
67049
|
function y0(Nt, Zt) {
|
|
67050
67050
|
return !!(Zt = Zt ?? q) && (typeof Nt == "number" || I8.test(Nt)) && Nt > -1 && Nt % 1 == 0 && Nt < Zt;
|
|
67051
67051
|
}
|
|
67052
|
-
function
|
|
67052
|
+
function i2(Nt) {
|
|
67053
67053
|
if (Nt != null) {
|
|
67054
67054
|
try {
|
|
67055
67055
|
return sl.call(Nt);
|
|
@@ -67066,7 +67066,7 @@ var cK = { exports: {} };
|
|
|
67066
67066
|
return Nt === Zt || Nt != Nt && Zt != Zt;
|
|
67067
67067
|
}
|
|
67068
67068
|
(da && ji(new da(new ArrayBuffer(1))) != Bn || S3 && ji(new S3()) != Oe || f0 && ji(f0.resolve()) != kn || N4 && ji(new N4()) != Tn || D4 && ji(new D4()) != wn) && (ji = function(Nt) {
|
|
67069
|
-
var Zt = En(Nt), Ne = Zt == Tr ? Nt.constructor : void 0, xr = Ne ?
|
|
67069
|
+
var Zt = En(Nt), Ne = Zt == Tr ? Nt.constructor : void 0, xr = Ne ? i2(Ne) : "";
|
|
67070
67070
|
if (xr)
|
|
67071
67071
|
switch (xr) {
|
|
67072
67072
|
case T0:
|
|
@@ -67085,7 +67085,7 @@ var cK = { exports: {} };
|
|
|
67085
67085
|
var Ps = Ta(/* @__PURE__ */ function() {
|
|
67086
67086
|
return arguments;
|
|
67087
67087
|
}()) ? Ta : function(Nt) {
|
|
67088
|
-
return
|
|
67088
|
+
return o2(Nt) && jo.call(Nt, "callee") && !d0.call(Nt, "callee");
|
|
67089
67089
|
}, Is = Array.isArray, ma = M3 || function() {
|
|
67090
67090
|
return !1;
|
|
67091
67091
|
};
|
|
@@ -67102,7 +67102,7 @@ var cK = { exports: {} };
|
|
|
67102
67102
|
var Zt = typeof Nt;
|
|
67103
67103
|
return Nt != null && (Zt == "object" || Zt == "function");
|
|
67104
67104
|
}
|
|
67105
|
-
function
|
|
67105
|
+
function o2(Nt) {
|
|
67106
67106
|
return Nt != null && typeof Nt == "object";
|
|
67107
67107
|
}
|
|
67108
67108
|
var J2 = Bo ? /* @__PURE__ */ function(Nt) {
|
|
@@ -67110,7 +67110,7 @@ var cK = { exports: {} };
|
|
|
67110
67110
|
return Nt(Zt);
|
|
67111
67111
|
};
|
|
67112
67112
|
}(Bo) : function(Nt) {
|
|
67113
|
-
return
|
|
67113
|
+
return o2(Nt) && P3(Nt.length) && !!Zn[En(Nt)];
|
|
67114
67114
|
};
|
|
67115
67115
|
function v0(Nt) {
|
|
67116
67116
|
return (Zt = Nt) != null && P3(Zt.length) && !ga(Zt) ? Q0(Nt) : j4(Nt);
|
|
@@ -67128,7 +67128,7 @@ var cK = { exports: {} };
|
|
|
67128
67128
|
return F;
|
|
67129
67129
|
}).sort());
|
|
67130
67130
|
}
|
|
67131
|
-
var As = { Polygon: rr, LineString: Je, Point: tr, MultiPolygon: Qe, MultiLineString: Qe, MultiPoint: Qe }, Fo = Object.freeze({ __proto__: null, CommonSelectors: Ur, constrainFeatureMovement: Ki, createMidPoint: I1, createSupplementaryPoints: T1, createVertex: Ei, doubleClickZoom: Fn, euclideanDistance: pe, featuresAt: Gt, getFeatureAtAndSetCursors: _e, isClick: ir, isEventAtCoordinates:
|
|
67131
|
+
var As = { Polygon: rr, LineString: Je, Point: tr, MultiPolygon: Qe, MultiLineString: Qe, MultiPoint: Qe }, Fo = Object.freeze({ __proto__: null, CommonSelectors: Ur, constrainFeatureMovement: Ki, createMidPoint: I1, createSupplementaryPoints: T1, createVertex: Ei, doubleClickZoom: Fn, euclideanDistance: pe, featuresAt: Gt, getFeatureAtAndSetCursors: _e, isClick: ir, isEventAtCoordinates: r2, isTap: Dr, mapEventToBoundingBox: et, ModeHandler: r, moveFeatures: go, sortFeatures: at, stringSetsAreEqual: eo, StringSet: mt, theme: Di, toDenseArray: Ue }), on = function(I, $) {
|
|
67132
67132
|
var F = { options: I = function(rt) {
|
|
67133
67133
|
rt === void 0 && (rt = {});
|
|
67134
67134
|
var ht = Or(rt);
|
|
@@ -67204,10 +67204,10 @@ var cK = { exports: {} };
|
|
|
67204
67204
|
var q = Oi(F);
|
|
67205
67205
|
return $.onAdd = q.onAdd, $.onRemove = q.onRemove, $.types = b, $.options = I, $;
|
|
67206
67206
|
};
|
|
67207
|
-
function
|
|
67207
|
+
function n2(I) {
|
|
67208
67208
|
on(I, this);
|
|
67209
67209
|
}
|
|
67210
|
-
return
|
|
67210
|
+
return n2.modes = Mi, n2.constants = z, n2.lib = Fo, n2;
|
|
67211
67211
|
});
|
|
67212
67212
|
})(cK);
|
|
67213
67213
|
var fkt = cK.exports;
|
|
@@ -67445,7 +67445,7 @@ class _kt {
|
|
|
67445
67445
|
r.className = "maplibregl-ctrl-minimap maplibregl-ctrl", r.id = "maplibre-minimap", this._container = r;
|
|
67446
67446
|
const n = e.getCanvas();
|
|
67447
67447
|
let i = jN.width;
|
|
67448
|
-
return typeof this._options.width == "string" ? (i = parseInt(this._options.width), this._options.width.includes("%") && (i = i * n.width / 100)) : typeof this._options.width == "number" && (i = this._options.width), r.setAttribute("style", `width: ${i}px; height: ${i * n.height / n.width}px;`), r.addEventListener("contextmenu", this._preventDefault), this._miniMap = new
|
|
67448
|
+
return typeof this._options.width == "string" ? (i = parseInt(this._options.width), this._options.width.includes("%") && (i = i * n.width / 100)) : typeof this._options.width == "number" && (i = this._options.width), r.setAttribute("style", `width: ${i}px; height: ${i * n.height / n.width}px;`), r.addEventListener("contextmenu", this._preventDefault), this._miniMap = new Xo.Map({
|
|
67449
67449
|
attributionControl: !1,
|
|
67450
67450
|
container: r,
|
|
67451
67451
|
style: e.getStyle(),
|
|
@@ -75401,7 +75401,7 @@ var fRt = k && k.__createBinding || (Object.create ? function(t, e, r, n) {
|
|
|
75401
75401
|
return TRt(e, t), e;
|
|
75402
75402
|
}, EH = k && k.__importDefault || function(t) {
|
|
75403
75403
|
return t && t.__esModule ? t : { default: t };
|
|
75404
|
-
}, oa = QRt(Nr), qe = mo, MH = EH(y2), s0 = EH(ia), mRt = EH(wi()), Zr = Vr,
|
|
75404
|
+
}, oa = QRt(Nr), qe = mo, MH = EH(y2), s0 = EH(ia), mRt = EH(wi()), Zr = Vr, d2 = _3;
|
|
75405
75405
|
new oa.RegExpMap("letter", s0.default.variable, /[a-z]/i);
|
|
75406
75406
|
new oa.RegExpMap("digit", s0.default.digit, /[0-9.,]/);
|
|
75407
75407
|
new oa.RegExpMap("command", s0.default.controlSequence, /^\\/);
|
|
@@ -75873,16 +75873,16 @@ new oa.CommandMap("macros", {
|
|
|
75873
75873
|
lower: "RaiseLower",
|
|
75874
75874
|
moveleft: "MoveLeftRight",
|
|
75875
75875
|
moveright: "MoveLeftRight",
|
|
75876
|
-
",": ["Spacer",
|
|
75877
|
-
":": ["Spacer",
|
|
75878
|
-
">": ["Spacer",
|
|
75879
|
-
";": ["Spacer",
|
|
75880
|
-
"!": ["Spacer",
|
|
75876
|
+
",": ["Spacer", d2.MATHSPACE.thinmathspace],
|
|
75877
|
+
":": ["Spacer", d2.MATHSPACE.mediummathspace],
|
|
75878
|
+
">": ["Spacer", d2.MATHSPACE.mediummathspace],
|
|
75879
|
+
";": ["Spacer", d2.MATHSPACE.thickmathspace],
|
|
75880
|
+
"!": ["Spacer", d2.MATHSPACE.negativethinmathspace],
|
|
75881
75881
|
enspace: ["Spacer", 0.5],
|
|
75882
75882
|
quad: ["Spacer", 1],
|
|
75883
75883
|
qquad: ["Spacer", 2],
|
|
75884
|
-
thinspace: ["Spacer",
|
|
75885
|
-
negthinspace: ["Spacer",
|
|
75884
|
+
thinspace: ["Spacer", d2.MATHSPACE.thinmathspace],
|
|
75885
|
+
negthinspace: ["Spacer", d2.MATHSPACE.negativethinmathspace],
|
|
75886
75886
|
hskip: "Hskip",
|
|
75887
75887
|
hspace: "Hskip",
|
|
75888
75888
|
kern: "Hskip",
|
|
@@ -75961,7 +75961,7 @@ new oa.CommandMap("macros", {
|
|
|
75961
75961
|
null,
|
|
75962
75962
|
null,
|
|
75963
75963
|
"right left",
|
|
75964
|
-
(0,
|
|
75964
|
+
(0, d2.em)(d2.MATHSPACE.thickmathspace),
|
|
75965
75965
|
".5em",
|
|
75966
75966
|
"D"
|
|
75967
75967
|
],
|
|
@@ -75976,7 +75976,7 @@ new oa.CommandMap("macros", {
|
|
|
75976
75976
|
null,
|
|
75977
75977
|
null,
|
|
75978
75978
|
"right left",
|
|
75979
|
-
(0,
|
|
75979
|
+
(0, d2.em)(d2.MATHSPACE.thickmathspace),
|
|
75980
75980
|
".5em",
|
|
75981
75981
|
"D",
|
|
75982
75982
|
null,
|
|
@@ -75987,7 +75987,7 @@ new oa.CommandMap("macros", {
|
|
|
75987
75987
|
null,
|
|
75988
75988
|
null,
|
|
75989
75989
|
"right left",
|
|
75990
|
-
(0,
|
|
75990
|
+
(0, d2.em)(d2.MATHSPACE.thickmathspace),
|
|
75991
75991
|
".5em",
|
|
75992
75992
|
"D",
|
|
75993
75993
|
null,
|
|
@@ -76031,7 +76031,7 @@ new oa.EnvironmentMap("environment", s0.default.environment, {
|
|
|
76031
76031
|
!0,
|
|
76032
76032
|
!0,
|
|
76033
76033
|
"rcl",
|
|
76034
|
-
mRt.default.cols(0,
|
|
76034
|
+
mRt.default.cols(0, d2.MATHSPACE.thickmathspace),
|
|
76035
76035
|
".5em"
|
|
76036
76036
|
]
|
|
76037
76037
|
}, MH.default);
|
|
@@ -97156,7 +97156,7 @@ var IGt = function() {
|
|
|
97156
97156
|
}, t;
|
|
97157
97157
|
}();
|
|
97158
97158
|
n_.mhchemParser = IGt;
|
|
97159
|
-
function
|
|
97159
|
+
function h2(t) {
|
|
97160
97160
|
var e, r, n = {};
|
|
97161
97161
|
for (e in t)
|
|
97162
97162
|
for (r in t[e]) {
|
|
@@ -97521,7 +97521,7 @@ var Ce = {
|
|
|
97521
97521
|
},
|
|
97522
97522
|
stateMachines: {
|
|
97523
97523
|
tex: {
|
|
97524
|
-
transitions:
|
|
97524
|
+
transitions: h2({
|
|
97525
97525
|
empty: {
|
|
97526
97526
|
0: { action_: "copy" }
|
|
97527
97527
|
},
|
|
@@ -97538,7 +97538,7 @@ var Ce = {
|
|
|
97538
97538
|
actions: {}
|
|
97539
97539
|
},
|
|
97540
97540
|
ce: {
|
|
97541
|
-
transitions:
|
|
97541
|
+
transitions: h2({
|
|
97542
97542
|
empty: {
|
|
97543
97543
|
"*": { action_: "output" }
|
|
97544
97544
|
},
|
|
@@ -97881,7 +97881,7 @@ var Ce = {
|
|
|
97881
97881
|
}
|
|
97882
97882
|
},
|
|
97883
97883
|
a: {
|
|
97884
|
-
transitions:
|
|
97884
|
+
transitions: h2({
|
|
97885
97885
|
empty: {
|
|
97886
97886
|
"*": { action_: [] }
|
|
97887
97887
|
},
|
|
@@ -97904,7 +97904,7 @@ var Ce = {
|
|
|
97904
97904
|
actions: {}
|
|
97905
97905
|
},
|
|
97906
97906
|
o: {
|
|
97907
|
-
transitions:
|
|
97907
|
+
transitions: h2({
|
|
97908
97908
|
empty: {
|
|
97909
97909
|
"*": { action_: [] }
|
|
97910
97910
|
},
|
|
@@ -97939,7 +97939,7 @@ var Ce = {
|
|
|
97939
97939
|
actions: {}
|
|
97940
97940
|
},
|
|
97941
97941
|
text: {
|
|
97942
|
-
transitions:
|
|
97942
|
+
transitions: h2({
|
|
97943
97943
|
empty: {
|
|
97944
97944
|
"*": { action_: "output" }
|
|
97945
97945
|
},
|
|
@@ -97974,7 +97974,7 @@ var Ce = {
|
|
|
97974
97974
|
}
|
|
97975
97975
|
},
|
|
97976
97976
|
pq: {
|
|
97977
|
-
transitions:
|
|
97977
|
+
transitions: h2({
|
|
97978
97978
|
empty: {
|
|
97979
97979
|
"*": { action_: [] }
|
|
97980
97980
|
},
|
|
@@ -98043,7 +98043,7 @@ var Ce = {
|
|
|
98043
98043
|
}
|
|
98044
98044
|
},
|
|
98045
98045
|
bd: {
|
|
98046
|
-
transitions:
|
|
98046
|
+
transitions: h2({
|
|
98047
98047
|
empty: {
|
|
98048
98048
|
"*": { action_: [] }
|
|
98049
98049
|
},
|
|
@@ -98106,7 +98106,7 @@ var Ce = {
|
|
|
98106
98106
|
}
|
|
98107
98107
|
},
|
|
98108
98108
|
oxidation: {
|
|
98109
|
-
transitions:
|
|
98109
|
+
transitions: h2({
|
|
98110
98110
|
empty: {
|
|
98111
98111
|
"*": { action_: "roman-numeral" }
|
|
98112
98112
|
},
|
|
@@ -98124,7 +98124,7 @@ var Ce = {
|
|
|
98124
98124
|
}
|
|
98125
98125
|
},
|
|
98126
98126
|
"tex-math": {
|
|
98127
|
-
transitions:
|
|
98127
|
+
transitions: h2({
|
|
98128
98128
|
empty: {
|
|
98129
98129
|
"*": { action_: "output" }
|
|
98130
98130
|
},
|
|
@@ -98153,7 +98153,7 @@ var Ce = {
|
|
|
98153
98153
|
}
|
|
98154
98154
|
},
|
|
98155
98155
|
"tex-math tight": {
|
|
98156
|
-
transitions:
|
|
98156
|
+
transitions: h2({
|
|
98157
98157
|
empty: {
|
|
98158
98158
|
"*": { action_: "output" }
|
|
98159
98159
|
},
|
|
@@ -98188,7 +98188,7 @@ var Ce = {
|
|
|
98188
98188
|
}
|
|
98189
98189
|
},
|
|
98190
98190
|
"9,9": {
|
|
98191
|
-
transitions:
|
|
98191
|
+
transitions: h2({
|
|
98192
98192
|
empty: {
|
|
98193
98193
|
"*": { action_: [] }
|
|
98194
98194
|
},
|
|
@@ -98206,7 +98206,7 @@ var Ce = {
|
|
|
98206
98206
|
}
|
|
98207
98207
|
},
|
|
98208
98208
|
pu: {
|
|
98209
|
-
transitions:
|
|
98209
|
+
transitions: h2({
|
|
98210
98210
|
empty: {
|
|
98211
98211
|
"*": { action_: "output" }
|
|
98212
98212
|
},
|
|
@@ -98278,7 +98278,7 @@ var Ce = {
|
|
|
98278
98278
|
}
|
|
98279
98279
|
},
|
|
98280
98280
|
"pu-2": {
|
|
98281
|
-
transitions:
|
|
98281
|
+
transitions: h2({
|
|
98282
98282
|
empty: {
|
|
98283
98283
|
"*": { action_: "output" }
|
|
98284
98284
|
},
|
|
@@ -98325,7 +98325,7 @@ var Ce = {
|
|
|
98325
98325
|
}
|
|
98326
98326
|
},
|
|
98327
98327
|
"pu-9,9": {
|
|
98328
|
-
transitions:
|
|
98328
|
+
transitions: h2({
|
|
98329
98329
|
empty: {
|
|
98330
98330
|
0: { action_: "output-0" },
|
|
98331
98331
|
o: { action_: "output-o" }
|
|
@@ -100287,7 +100287,7 @@ class G$t {
|
|
|
100287
100287
|
this._layerManager = new ikt(e, this), this.__pathManager.enablePathLines(!0, !0);
|
|
100288
100288
|
for (const o of n)
|
|
100289
100289
|
this.__pathManager.enablePathsByType(o.type, o.enabled, !0);
|
|
100290
|
-
if (this.enableCentrelines(this.__pathManager.enabledCentrelines, !0), this.__systemsManager = new okt(this._flatmap, this, r), this.__enabledConnectivityTaxons = new Set(this._flatmap.taxonIdentifiers), e.options.minimap && (dr(this, Ku, new _kt(e, e.options.minimap)), this._map.addControl(Et(this, Ku))), e.options.fullscreenControl === !0 && this._map.addControl(new
|
|
100290
|
+
if (this.enableCentrelines(this.__pathManager.enabledCentrelines, !0), this.__systemsManager = new okt(this._flatmap, this, r), this.__enabledConnectivityTaxons = new Set(this._flatmap.taxonIdentifiers), e.options.minimap && (dr(this, Ku, new _kt(e, e.options.minimap)), this._map.addControl(Et(this, Ku))), e.options.fullscreenControl === !0 && this._map.addControl(new Xo.FullscreenControl(), "top-right"), e.options.navigationControl) {
|
|
100291
100291
|
const o = e.options.navigationControl, s = typeof o == "string" && ["top-left", "top-right", "bottom-right", "bottom-left"].includes(o) ? o : "bottom-right";
|
|
100292
100292
|
this._map.addControl(new NavigationControl(e), s);
|
|
100293
100293
|
}
|
|
@@ -100562,7 +100562,7 @@ class G$t {
|
|
|
100562
100562
|
if (i || o) {
|
|
100563
100563
|
this._currentPopup && (n && n.preserveSelection && (this._currentPopup.options.preserveSelection = n.preserveSelection), this._currentPopup.remove()), n && n.preserveSelection ? delete n.preserveSelection : this.unselectFeatures(), this.selectFeature(e);
|
|
100564
100564
|
let s = null;
|
|
100565
|
-
"positionAtLastClick" in n && n.positionAtLastClick && this.__lastClickLngLat !== null ? s = this.__lastClickLngLat : o ? s = n.annotationFeatureGeometry : s = this.markerPosition(e, i), this._map.getBounds().contains(s) || this._map.panTo(s), this.setModal_(), this._currentPopup = new
|
|
100565
|
+
"positionAtLastClick" in n && n.positionAtLastClick && this.__lastClickLngLat !== null ? s = this.__lastClickLngLat : o ? s = n.annotationFeatureGeometry : s = this.markerPosition(e, i), this._map.getBounds().contains(s) || this._map.panTo(s), this.setModal_(), this._currentPopup = new Xo.Popup(n).addTo(this._map), this._currentPopup.on("close", this.__onCloseCurrentPopup.bind(this)), o && this._currentPopup.on("close", this.abortAnnotationEvent.bind(this)), this._currentPopup.setLngLat(s), typeof r == "object" ? this._currentPopup.setDOMContent(r) : this._currentPopup.setText(r);
|
|
100566
100566
|
}
|
|
100567
100567
|
}
|
|
100568
100568
|
__onCloseCurrentPopup() {
|
|
@@ -100611,7 +100611,7 @@ class G$t {
|
|
|
100611
100611
|
const d = u === null ? a : `${u}<br/>${a}`;
|
|
100612
100612
|
i = n === null ? d : `${d} (${n.id})`;
|
|
100613
100613
|
}
|
|
100614
|
-
this._flatmap.options.showId && n !== null && "id" in n.properties && (i = `${i} ${n.properties.id}`), i !== "" && (e = `<span>${i}</span><br/>${e}`), e !== "" && (this._tooltip = new
|
|
100614
|
+
this._flatmap.options.showId && n !== null && "id" in n.properties && (i = `${i} ${n.properties.id}`), i !== "" && (e = `<span>${i}</span><br/>${e}`), e !== "" && (this._tooltip = new Xo.Popup({
|
|
100615
100615
|
closeButton: !1,
|
|
100616
100616
|
closeOnClick: !1,
|
|
100617
100617
|
maxWidth: "none",
|
|
@@ -100764,7 +100764,7 @@ class G$t {
|
|
|
100764
100764
|
const s = this._flatmap.annotation(o);
|
|
100765
100765
|
if (!(!("markerPosition" in s) && !s.geometry.includes("Polygon")) && !("marker" in s)) {
|
|
100766
100766
|
i === -1 && (i = this.nextMarkerId());
|
|
100767
|
-
const a = r.colour || "#005974", u = r.element ? new
|
|
100767
|
+
const a = r.colour || "#005974", u = r.element ? new Xo.Marker({ element: r.element }) : new Xo.Marker({ color: a, scale: 0.5 }), d = document.createElement("div"), f = document.createElement("div");
|
|
100768
100768
|
f.innerHTML = u.getElement().innerHTML, d.id = `marker-${i}`, d.appendChild(f);
|
|
100769
100769
|
const T = { element: d };
|
|
100770
100770
|
"className" in r && (T.className = r.className);
|
|
@@ -100772,7 +100772,7 @@ class G$t {
|
|
|
100772
100772
|
if (r.cluster && this._layerManager)
|
|
100773
100773
|
this._layerManager.addMarker(i, Q, s);
|
|
100774
100774
|
else {
|
|
100775
|
-
const y = new
|
|
100775
|
+
const y = new Xo.Marker(T).setLngLat(Q).addTo(this._map);
|
|
100776
100776
|
d.addEventListener(
|
|
100777
100777
|
"mouseenter",
|
|
100778
100778
|
this.markerMouseEvent_.bind(this, y, e)
|
|
@@ -100848,7 +100848,7 @@ class G$t {
|
|
|
100848
100848
|
const o = i.getLngLat();
|
|
100849
100849
|
this._map.getBounds().contains(o) || this._map.panTo(o);
|
|
100850
100850
|
const s = document.createElement("div");
|
|
100851
|
-
return typeof r == "object" ? s.appendChild(r) : s.innerHTML = r, s.addEventListener("click", (a) => this.__clearActiveMarker()), this._tooltip = new
|
|
100851
|
+
return typeof r == "object" ? s.appendChild(r) : s.innerHTML = r, s.addEventListener("click", (a) => this.__clearActiveMarker()), this._tooltip = new Xo.Popup({
|
|
100852
100852
|
closeButton: !1,
|
|
100853
100853
|
closeOnClick: !1,
|
|
100854
100854
|
maxWidth: "none",
|
|
@@ -101060,12 +101060,12 @@ class K$t {
|
|
|
101060
101060
|
container: e,
|
|
101061
101061
|
attributionControl: !1
|
|
101062
101062
|
};
|
|
101063
|
-
"maxZoom" in n.options && (o.maxZoom = n.options.maxZoom), "minZoom" in n.options && (o.minZoom = n.options.minZoom), o.hash = n.options.debug === !0, "bounds" in n.options && (o.bounds = n.options.bounds), this._map = new
|
|
101063
|
+
"maxZoom" in n.options && (o.maxZoom = n.options.maxZoom), "minZoom" in n.options && (o.minZoom = n.options.minZoom), o.hash = n.options.debug === !0, "bounds" in n.options && (o.bounds = n.options.bounds), this._map = new Xo.Map(o), n.options.debug === !0 && (this._map.showTileBoundaries = !0, this._map.showCollisionBoxes = !0), this._map.setRenderWorldCopies(!1), this._userInteractions = null, this._initialState = null, this._map.on("idle", () => {
|
|
101064
101064
|
if (Et(this, v6) === -1)
|
|
101065
101065
|
dr(this, v6, 0), this.setupUserInteractions_();
|
|
101066
101066
|
else if (Et(this, v6) === 1) {
|
|
101067
101067
|
dr(this, v6, 2), this._map.setMinZoom(3), this._map.setMaxBounds(null), this._map.setRenderWorldCopies(!0), this._bounds = this._map.getBounds();
|
|
101068
|
-
const s = this._bounds.toArray(), a =
|
|
101068
|
+
const s = this._bounds.toArray(), a = Xo.MercatorCoordinate.fromLngLat(s[0]), u = Xo.MercatorCoordinate.fromLngLat(s[1]);
|
|
101069
101069
|
this.__normalised_origin = [a.x, u.y], this.__normalised_size = [u.x - a.x, a.y - u.y], "state" in this._options && this._userInteractions.setState(this._options.state), this._initialState = this.getState(), this._userInteractions.minimap && this._userInteractions.minimap.initialise(), dr(this, v6, 3), this._resolve(this);
|
|
101070
101070
|
}
|
|
101071
101071
|
});
|
|
@@ -101875,7 +101875,7 @@ class K$t {
|
|
|
101875
101875
|
panZoomEvent(e) {
|
|
101876
101876
|
const r = this._map.getBounds();
|
|
101877
101877
|
if (this.__normalised_origin !== void 0) {
|
|
101878
|
-
const n =
|
|
101878
|
+
const n = Xo.MercatorCoordinate.fromLngLat(r.toArray()[0]), i = Xo.MercatorCoordinate.fromLngLat(r.toArray()[1]), o = [
|
|
101879
101879
|
(n.x - this.__normalised_origin[0]) / this.__normalised_size[0],
|
|
101880
101880
|
(i.y - this.__normalised_origin[1]) / this.__normalised_size[1]
|
|
101881
101881
|
], s = [
|
|
@@ -101897,7 +101897,7 @@ class K$t {
|
|
|
101897
101897
|
*/
|
|
101898
101898
|
panZoomTo(e, r) {
|
|
101899
101899
|
if (this.__normalised_origin !== void 0) {
|
|
101900
|
-
const n = e[0] * this.__normalised_size[0] + this.__normalised_origin[0], i = e[1] * this.__normalised_size[1] + this.__normalised_origin[1], o = n + r[0] * this.__normalised_size[0], s = i + r[1] * this.__normalised_size[1], a = new
|
|
101900
|
+
const n = e[0] * this.__normalised_size[0] + this.__normalised_origin[0], i = e[1] * this.__normalised_size[1] + this.__normalised_origin[1], o = n + r[0] * this.__normalised_size[0], s = i + r[1] * this.__normalised_size[1], a = new Xo.MercatorCoordinate(n, s, 0).toLngLat(), u = new Xo.MercatorCoordinate(o, i, 0).toLngLat();
|
|
101901
101901
|
this._map.fitBounds([a, u], { animate: !1 });
|
|
101902
101902
|
}
|
|
101903
101903
|
}
|
|
@@ -102544,7 +102544,7 @@ function kB(t, e, r, n) {
|
|
|
102544
102544
|
// use ref() to unwrap refs inside state TODO: check if this is still necessary
|
|
102545
102545
|
L5(ke(i ? i() : {}).value)
|
|
102546
102546
|
) : L5(r.state.value[t]);
|
|
102547
|
-
return ds(f, o, Object.keys(s || {}).reduce((T, Q) => (process.env.NODE_ENV !== "production" && Q in f && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${Q}" in store "${t}".`), T[Q] =
|
|
102547
|
+
return ds(f, o, Object.keys(s || {}).reduce((T, Q) => (process.env.NODE_ENV !== "production" && Q in f && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${Q}" in store "${t}".`), T[Q] = qo(qt(() => {
|
|
102548
102548
|
nm(r);
|
|
102549
102549
|
const y = r._s.get(t);
|
|
102550
102550
|
return s[Q].call(y, y);
|
|
@@ -102626,7 +102626,7 @@ function OE(t, e, r = {}, n, i, o) {
|
|
|
102626
102626
|
return pe instanceof Promise ? pe.then((ir) => (Kl(It, ir), ir)).catch((ir) => (Kl(Gt, ir), Promise.reject(ir))) : (Kl(It, pe), pe);
|
|
102627
102627
|
};
|
|
102628
102628
|
}
|
|
102629
|
-
const B = /* @__PURE__ */
|
|
102629
|
+
const B = /* @__PURE__ */ qo({
|
|
102630
102630
|
actions: {},
|
|
102631
102631
|
getters: {},
|
|
102632
102632
|
state: [],
|
|
@@ -102652,7 +102652,7 @@ function OE(t, e, r = {}, n, i, o) {
|
|
|
102652
102652
|
}, z = L4(process.env.NODE_ENV !== "production" || $L ? ds(
|
|
102653
102653
|
{
|
|
102654
102654
|
_hmrPayload: B,
|
|
102655
|
-
_customProperties:
|
|
102655
|
+
_customProperties: qo(/* @__PURE__ */ new Set())
|
|
102656
102656
|
// devtools custom properties
|
|
102657
102657
|
},
|
|
102658
102658
|
U
|
|
@@ -102673,7 +102673,7 @@ function OE(t, e, r = {}, n, i, o) {
|
|
|
102673
102673
|
// @ts-expect-error
|
|
102674
102674
|
r.getters[at]
|
|
102675
102675
|
) : et, gA && (nt._getters || // @ts-expect-error: same
|
|
102676
|
-
(nt._getters =
|
|
102676
|
+
(nt._getters = qo([]))).push(at));
|
|
102677
102677
|
}
|
|
102678
102678
|
if (ds(z, nt), ds(D9(z), nt), Object.defineProperty(z, "$state", {
|
|
102679
102679
|
get: () => process.env.NODE_ENV !== "production" && i ? v.value : n.state.value[t],
|
|
@@ -102684,7 +102684,7 @@ function OE(t, e, r = {}, n, i, o) {
|
|
|
102684
102684
|
ds(et, at);
|
|
102685
102685
|
});
|
|
102686
102686
|
}
|
|
102687
|
-
}), process.env.NODE_ENV !== "production" && (z._hotUpdate =
|
|
102687
|
+
}), process.env.NODE_ENV !== "production" && (z._hotUpdate = qo((at) => {
|
|
102688
102688
|
z._hotUpdating = !0, at._hmrPayload.state.forEach((et) => {
|
|
102689
102689
|
if (et in z.$state) {
|
|
102690
102690
|
const mt = at.$state[et], It = z.$state[et];
|
|
@@ -103120,7 +103120,7 @@ const cZt = FY("main", {
|
|
|
103120
103120
|
Col: Eh,
|
|
103121
103121
|
Loading: P4t,
|
|
103122
103122
|
Radio: wz,
|
|
103123
|
-
Icon:
|
|
103123
|
+
Icon: Jo,
|
|
103124
103124
|
RadioGroup: Ez,
|
|
103125
103125
|
Row: wh,
|
|
103126
103126
|
Select: mm,
|
|
@@ -103140,7 +103140,7 @@ const cZt = FY("main", {
|
|
|
103140
103140
|
this.setStateRequired = !1;
|
|
103141
103141
|
},
|
|
103142
103142
|
setup(t) {
|
|
103143
|
-
return { annotator:
|
|
103143
|
+
return { annotator: qo(new tZt(`${t.flatmapAPI}annotator`)) };
|
|
103144
103144
|
},
|
|
103145
103145
|
methods: {
|
|
103146
103146
|
/**
|
|
@@ -103805,7 +103805,7 @@ const cZt = FY("main", {
|
|
|
103805
103805
|
if (t.feature.type === "marker" && this.imageRadio) {
|
|
103806
103806
|
this.tooltipType = "image";
|
|
103807
103807
|
const e = this.settingsStore.getImageThumbnails(this.imageType, [t.resource[0]]);
|
|
103808
|
-
this.imageEntry =
|
|
103808
|
+
this.imageEntry = qo([]), t.resource[0] in e && (this.imageEntry = qo(e[t.resource[0]])), this.displayTooltip(t.feature.models);
|
|
103809
103809
|
} else if (this.viewingMode === "Annotation")
|
|
103810
103810
|
t.feature ? (this.annotationEntry = {
|
|
103811
103811
|
...t.feature,
|
|
@@ -104115,7 +104115,7 @@ const cZt = FY("main", {
|
|
|
104115
104115
|
*/
|
|
104116
104116
|
onFlatmapReady: function() {
|
|
104117
104117
|
var t, e;
|
|
104118
|
-
this.sensor =
|
|
104118
|
+
this.sensor = qo(new J4t(this.$refs.display, this.mapResize)), console.log(this.mapImp.options), ((t = this.mapImp.options) == null ? void 0 : t.style) === "functional" ? this.isFC = !0 : ((e = this.mapImp.options) == null ? void 0 : e.style) === "centreline" && (this.isCentreLine = !0), this.mapImp.setBackgroundOpacity(1), this.backgroundChangeCallback(this.currentBackground), this.pathways = this.mapImp.pathTypes(), this.isCentreLine || this.mapImp.enableCentrelines(!1), 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 = !this.isCentreLine, this.mapResize(), this.handleMapClick(), this.$emit("ready", this);
|
|
104119
104119
|
},
|
|
104120
104120
|
/**
|
|
104121
104121
|
* @vuese
|
|
@@ -104404,7 +104404,7 @@ const cZt = FY("main", {
|
|
|
104404
104404
|
serverURL: void 0,
|
|
104405
104405
|
layers: [],
|
|
104406
104406
|
pathways: [],
|
|
104407
|
-
imageEntry:
|
|
104407
|
+
imageEntry: qo([]),
|
|
104408
104408
|
tooltipType: "provenance",
|
|
104409
104409
|
sckanDisplay: [
|
|
104410
104410
|
{
|
|
@@ -104422,7 +104422,7 @@ const cZt = FY("main", {
|
|
|
104422
104422
|
systems: [],
|
|
104423
104423
|
taxonConnectivity: [],
|
|
104424
104424
|
pathwaysMaxHeight: 1e3,
|
|
104425
|
-
tooltipWait:
|
|
104425
|
+
tooltipWait: qo([]),
|
|
104426
104426
|
hoverVisibilities: [
|
|
104427
104427
|
{ value: !1, ref: "markerPopover" },
|
|
104428
104428
|
// 0
|
|
@@ -104526,7 +104526,7 @@ const cZt = FY("main", {
|
|
|
104526
104526
|
enabled: !0
|
|
104527
104527
|
}
|
|
104528
104528
|
],
|
|
104529
|
-
mapFilters:
|
|
104529
|
+
mapFilters: qo({
|
|
104530
104530
|
alert: {
|
|
104531
104531
|
with: !0,
|
|
104532
104532
|
without: !0
|
|
@@ -104568,9 +104568,9 @@ const cZt = FY("main", {
|
|
|
104568
104568
|
}
|
|
104569
104569
|
},
|
|
104570
104570
|
mounted: function() {
|
|
104571
|
-
this.openMapRef = h5(this.$refs.openMapRef), this.backgroundIconRef = h5(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager =
|
|
104571
|
+
this.openMapRef = h5(this.$refs.openMapRef), this.backgroundIconRef = h5(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager = qo(new mA(this.flatmapAPI)), this.flatmapQueries = qo(new X4t()), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
|
|
104572
104572
|
}
|
|
104573
|
-
}, la = (t) => (IE("data-v-
|
|
104573
|
+
}, la = (t) => (IE("data-v-106eec63"), t = t(), kE(), t), LZt = {
|
|
104574
104574
|
class: "flatmap-container",
|
|
104575
104575
|
ref: "flatmapContainer",
|
|
104576
104576
|
"element-loading-text": "Loading...",
|
|
@@ -104602,7 +104602,7 @@ const cZt = FY("main", {
|
|
|
104602
104602
|
class: "viewing-mode-title"
|
|
104603
104603
|
}, UZt = ["onClick"], GZt = ["onClick"];
|
|
104604
104604
|
function $Zt(t, e, r, n, i, o) {
|
|
104605
|
-
const s = ps("map-svg-sprite-color"), a = mj, u =
|
|
104605
|
+
const s = ps("map-svg-sprite-color"), a = mj, u = Jo, d = gm, f = GE, T = ps("DrawToolbar"), Q = ps("map-svg-icon"), y = kz, b = ps("tree-controls"), v = Iz, E = Tj, w = hz, C = wh, P = Eh, N = dM, B = mm, U = wz, z = Ez, J = ps("Tooltip"), nt = Pz, at = lx;
|
|
104606
104606
|
return pi((Yt(), Re("div", LZt, [
|
|
104607
104607
|
Me(s),
|
|
104608
104608
|
ze("div", xZt, [
|
|
@@ -105422,7 +105422,7 @@ function $Zt(t, e, r, n, i, o) {
|
|
|
105422
105422
|
[at, t.loading]
|
|
105423
105423
|
]);
|
|
105424
105424
|
}
|
|
105425
|
-
const jY = /* @__PURE__ */ ym(bZt, [["render", $Zt], ["__scopeId", "data-v-
|
|
105425
|
+
const jY = /* @__PURE__ */ ym(bZt, [["render", $Zt], ["__scopeId", "data-v-106eec63"]]);
|
|
105426
105426
|
function ZZt(t) {
|
|
105427
105427
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, r) {
|
|
105428
105428
|
var n = t.get(e);
|
|
@@ -105946,7 +105946,7 @@ const RB = new ZZt(), NB = {
|
|
|
105946
105946
|
activeSpecies: void 0,
|
|
105947
105947
|
speciesList: {},
|
|
105948
105948
|
requireInitialisation: !0,
|
|
105949
|
-
resolveList:
|
|
105949
|
+
resolveList: qo([]),
|
|
105950
105950
|
initialised: !1
|
|
105951
105951
|
};
|
|
105952
105952
|
},
|