@abi-software/mapintegratedvuer 1.7.1 → 1.7.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/{ContentMixin-BTZsoldP.js → ContentMixin-CdE8AlUJ.js} +1 -1
- package/dist/{Flatmap-TK-35whY.js → Flatmap-fO2lvKFX.js} +3 -3
- package/dist/{Iframe-rZ__11EG.js → Iframe-C8wxLuOy.js} +2 -2
- package/dist/{MultiFlatmap-CCvlF-pw.js → MultiFlatmap-Dijv5l_F.js} +3 -3
- package/dist/{Plot-DcgcIWVY.js → Plot-iXTevaO7.js} +2 -2
- package/dist/{Scaffold-BznYK0A5.js → Scaffold-_QafxYws.js} +4 -3
- package/dist/{Simulation-T6oaK7Uy.js → Simulation-CJ-9g74P.js} +2 -2
- package/dist/{index-DkVmhrWU.js → index-DcTjoXV1.js} +10111 -10055
- package/dist/mapintegratedvuer.js +1 -1
- package/dist/mapintegratedvuer.umd.cjs +450 -450
- package/dist/{style-CDBCHm5P.js → style-C2GyLbPa.js} +241 -215
- package/dist/style.css +1 -1
- package/package.json +5 -5
@@ -1,6 +1,6 @@
|
|
1
1
|
import { mapStores as Tet } from "pinia";
|
2
|
-
import { u as fet, w as Qet, h as met,
|
3
|
-
import { ref as ke, defineComponent as mr, computed as Kt, openBlock as le, createElementBlock as tr, mergeProps as rl, unref as yt, renderSlot as Vr, watch as on, nextTick as i1, provide as
|
2
|
+
import { u as fet, w as Qet, h as met, b as get, m as yet, c as vet } from "./index-DcTjoXV1.js";
|
3
|
+
import { ref as ke, defineComponent as mr, computed as Kt, openBlock as le, createElementBlock as tr, mergeProps as rl, unref as yt, renderSlot as Vr, watch as on, nextTick as i1, provide as $1, reactive as c3, onActivated as _et, onMounted as W1, onUpdated as bet, normalizeClass as Fe, createElementVNode as Ue, normalizeStyle as E1, createBlock as Sr, resolveDynamicComponent as Es, withCtx as ge, createCommentVNode as kr, inject as ln, onBeforeUnmount as Is, withDirectives as gi, cloneVNode as Let, Fragment as Mo, Text as Wj, Comment as wet, createVNode as je, toRef as K2, Transition as cd, vShow as d2, readonly as qj, onDeactivated as xet, toDisplayString as yi, useSlots as pg, isRef as g2, withModifiers as m1, vModelCheckbox as kQ, createTextVNode as An, toRefs as s0, vModelRadio as Xj, h as b7, createSlots as Kj, getCurrentInstance as Z1, markRaw as xo, shallowRef as VQ, warn as Met, watchEffect as Yj, onBeforeMount as Eet, onUnmounted as Het, toRaw as Ph, getCurrentScope as Jj, onScopeDispose as XE, Teleport as Aet, resolveComponent as ws, resolveDirective as Cet, toHandlerKey as Oet, renderList as T4, withKeys as au, vModelText as Pet, createApp as ket, hasInjectionContext as Vet, effectScope as Iet, isReactive as KE, pushScopeId as YE, popScopeId as JE, createStaticVNode as Ret } from "vue";
|
4
4
|
const Net = function(t) {
|
5
5
|
return t ? [...new Set(t.map((e) => JSON.stringify(e)))].map(
|
6
6
|
(e) => JSON.parse(e)
|
@@ -79,7 +79,7 @@ function ud(t) {
|
|
79
79
|
return Jj() ? (XE(t), !0) : !1;
|
80
80
|
}
|
81
81
|
function Bet(t, e = !0) {
|
82
|
-
|
82
|
+
Z1() ? W1(t) : e ? t() : i1(t);
|
83
83
|
}
|
84
84
|
function hP(t, e, r = {}) {
|
85
85
|
const {
|
@@ -1177,7 +1177,7 @@ function K1t(t, e) {
|
|
1177
1177
|
var yz = Vit(function(t, e) {
|
1178
1178
|
return t == null ? {} : K1t(t, e);
|
1179
1179
|
});
|
1180
|
-
const q6 = (t) => t === void 0, S4 = (t) => typeof t == "boolean",
|
1180
|
+
const q6 = (t) => t === void 0, S4 = (t) => typeof t == "boolean", ro = (t) => typeof t == "number", P5 = (t) => typeof Element > "u" ? !1 : t instanceof Element, Ih = (t) => vg(t), Y1t = (t) => oa(t) ? !Number.isNaN(Number(t)) : !1, J1t = (t = "") => t.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d"), $P = (t) => Object.keys(t);
|
1181
1181
|
class vz extends Error {
|
1182
1182
|
constructor(e) {
|
1183
1183
|
super(e), this.name = "ElementPlusError";
|
@@ -1221,7 +1221,7 @@ const tot = "utils/dom/style", bz = (t = "") => t.split(" ").filter((e) => !!e.t
|
|
1221
1221
|
function z5(t, e = "px") {
|
1222
1222
|
if (!t)
|
1223
1223
|
return "";
|
1224
|
-
if (
|
1224
|
+
if (ro(t) || Y1t(t))
|
1225
1225
|
return `${t}${e}`;
|
1226
1226
|
if (oa(t))
|
1227
1227
|
return t;
|
@@ -1475,7 +1475,7 @@ For more detail, please visit: ${i}
|
|
1475
1475
|
offsetY: 0
|
1476
1476
|
}, t.value && (t.value.style.transform = "none");
|
1477
1477
|
};
|
1478
|
-
return
|
1478
|
+
return W1(() => {
|
1479
1479
|
Yj(() => {
|
1480
1480
|
r.value ? s() : a();
|
1481
1481
|
});
|
@@ -1681,7 +1681,7 @@ const vot = (t) => (e, r) => _ot(e, r, yt(t)), _ot = (t, e, r) => p4(r, t, t).re
|
|
1681
1681
|
let o = `${t}-${e}`;
|
1682
1682
|
return r && (o += `-${r}`), n && (o += `__${n}`), i && (o += `--${i}`), o;
|
1683
1683
|
}, Cz = Symbol("namespaceContextKey"), hS = (t) => {
|
1684
|
-
const e = t || (
|
1684
|
+
const e = t || (Z1() ? ln(Cz, ke(eh)) : ke(eh));
|
1685
1685
|
return Kt(() => yt(e) || eh);
|
1686
1686
|
}, Bn = (t, e) => {
|
1687
1687
|
const r = hS(e);
|
@@ -1752,7 +1752,7 @@ const vot = (t) => (e, r) => _ot(e, r, yt(t)), _ot = (t, e, r) => p4(r, t, t).re
|
|
1752
1752
|
onShow: d,
|
1753
1753
|
onHide: T
|
1754
1754
|
}) => {
|
1755
|
-
const f =
|
1755
|
+
const f = Z1(), { emit: Q } = f, y = f.props, b = Kt(() => Zo(y[r])), w = Kt(() => y[t] === null), S = (U) => {
|
1756
1756
|
o.value !== !0 && (o.value = !0, s && (s.value = U), Zo(d) && d(U));
|
1757
1757
|
}, x = (U) => {
|
1758
1758
|
o.value !== !1 && (o.value = !1, s && (s.value = U), Zo(T) && T(U));
|
@@ -1775,7 +1775,7 @@ const vot = (t) => (e, r) => _ot(e, r, yt(t)), _ot = (t, e, r) => p4(r, t, t).re
|
|
1775
1775
|
...f.proxy.$route
|
1776
1776
|
}), () => {
|
1777
1777
|
a.value && o.value && P();
|
1778
|
-
}),
|
1778
|
+
}), W1(() => {
|
1779
1779
|
N(y[t]);
|
1780
1780
|
}), {
|
1781
1781
|
hide: P,
|
@@ -1788,7 +1788,7 @@ const vot = (t) => (e, r) => _ot(e, r, yt(t)), _ot = (t, e, r) => p4(r, t, t).re
|
|
1788
1788
|
useModelToggleEmits: n
|
1789
1789
|
};
|
1790
1790
|
}, Oz = (t) => {
|
1791
|
-
const e =
|
1791
|
+
const e = Z1();
|
1792
1792
|
return Kt(() => {
|
1793
1793
|
var r, n;
|
1794
1794
|
return (n = (r = e == null ? void 0 : e.proxy) == null ? void 0 : r.$props) == null ? void 0 : n[t];
|
@@ -2426,7 +2426,7 @@ function nk() {
|
|
2426
2426
|
const Qx = {
|
2427
2427
|
prefix: Math.floor(Math.random() * 1e4),
|
2428
2428
|
current: 0
|
2429
|
-
}, O2t = Symbol("elIdInjection"), Gz = () =>
|
2429
|
+
}, O2t = Symbol("elIdInjection"), Gz = () => Z1() ? ln(O2t, Qx) : Qx, U5 = (t) => {
|
2430
2430
|
const e = Gz();
|
2431
2431
|
!s1 && e === Qx && y2("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
2432
2432
|
usage: app.provide(ID_INJECTION_KEY, {
|
@@ -2441,7 +2441,7 @@ const ik = (t) => {
|
|
2441
2441
|
const e = t;
|
2442
2442
|
e.key === Nh.esc && w7.forEach((r) => r(e));
|
2443
2443
|
}, P2t = (t) => {
|
2444
|
-
|
2444
|
+
W1(() => {
|
2445
2445
|
w7.length === 0 && document.addEventListener("keydown", ik), s1 && w7.push(t);
|
2446
2446
|
}), Is(() => {
|
2447
2447
|
w7 = w7.filter((e) => e !== t), w7.length === 0 && s1 && document.removeEventListener("keydown", ik);
|
@@ -2494,7 +2494,7 @@ const $z = () => {
|
|
2494
2494
|
o(() => {
|
2495
2495
|
n(u);
|
2496
2496
|
const d = yt(r);
|
2497
|
-
|
2497
|
+
ro(d) && d > 0 && s(() => {
|
2498
2498
|
i(u);
|
2499
2499
|
}, d);
|
2500
2500
|
}, yt(t));
|
@@ -2506,7 +2506,7 @@ const $z = () => {
|
|
2506
2506
|
}
|
2507
2507
|
};
|
2508
2508
|
}, Zz = Symbol("elForwardRef"), N2t = (t) => {
|
2509
|
-
|
2509
|
+
$1(Zz, {
|
2510
2510
|
setForwardRef: (e) => {
|
2511
2511
|
t.value = e;
|
2512
2512
|
}
|
@@ -2524,9 +2524,9 @@ const $z = () => {
|
|
2524
2524
|
}), sk = {
|
2525
2525
|
current: 0
|
2526
2526
|
}, ak = ke(0), Wz = 2e3, lk = Symbol("elZIndexContextKey"), qz = Symbol("zIndexContextKey"), vS = (t) => {
|
2527
|
-
const e =
|
2527
|
+
const e = Z1() ? ln(lk, sk) : sk, r = t || (Z1() ? ln(qz, void 0) : void 0), n = Kt(() => {
|
2528
2528
|
const s = yt(r);
|
2529
|
-
return
|
2529
|
+
return ro(s) ? s : Wz;
|
2530
2530
|
}), i = Kt(() => n.value + ak.value), o = () => (e.current++, ak.value = e.current, i.value);
|
2531
2531
|
return !s1 && !ln(lk) && y2("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
|
2532
2532
|
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`), {
|
@@ -2548,7 +2548,7 @@ function B2t(t, {
|
|
2548
2548
|
beforeBlur: n,
|
2549
2549
|
afterBlur: i
|
2550
2550
|
} = {}) {
|
2551
|
-
const o =
|
2551
|
+
const o = Z1(), { emit: s } = o, a = VQ(), u = ke(!1), d = (Q) => {
|
2552
2552
|
Zo(e) && e(Q) || u.value || (u.value = !0, s("focus", Q), r == null || r());
|
2553
2553
|
}, T = (Q) => {
|
2554
2554
|
var y;
|
@@ -2559,7 +2559,7 @@ function B2t(t, {
|
|
2559
2559
|
};
|
2560
2560
|
return on(a, (Q) => {
|
2561
2561
|
Q && Q.setAttribute("tabindex", "-1");
|
2562
|
-
}), ta(a, "focus", d, !0), ta(a, "blur", T, !0), ta(a, "click", f, !0), process.env.NODE_ENV === "test" &&
|
2562
|
+
}), ta(a, "focus", d, !0), ta(a, "blur", T, !0), ta(a, "click", f, !0), process.env.NODE_ENV === "test" && W1(() => {
|
2563
2563
|
const Q = P5(t.value) ? t.value : document.querySelector("input,textarea");
|
2564
2564
|
Q && (ta(Q, "focus", d, !0), ta(Q, "blur", T, !0));
|
2565
2565
|
}), {
|
@@ -2601,7 +2601,7 @@ const Kz = Symbol("emptyValuesContextKey"), z2t = "use-empty-values", U2t = ["",
|
|
2601
2601
|
validator: (t) => Zo(t) ? !t() : !t
|
2602
2602
|
}
|
2603
2603
|
}), Z2t = (t, e) => {
|
2604
|
-
const r =
|
2604
|
+
const r = Z1() ? ln(Kz, ke({})) : ke({}), n = Kt(() => t.emptyValues || r.value.emptyValues || U2t), i = Kt(() => Zo(t.valueOnClear) ? t.valueOnClear() : t.valueOnClear !== void 0 ? t.valueOnClear : Zo(r.value.valueOnClear) ? r.value.valueOnClear() : r.value.valueOnClear !== void 0 ? r.value.valueOnClear : G2t), o = (s) => n.value.includes(s);
|
2605
2605
|
return n.value.includes(i.value) || y2(z2t, "value-on-clear should be a value of empty-values"), {
|
2606
2606
|
emptyValues: n,
|
2607
2607
|
valueOnClear: i,
|
@@ -2616,7 +2616,7 @@ const Kz = Symbol("emptyValuesContextKey"), z2t = "use-empty-values", U2t = ["",
|
|
2616
2616
|
ariaControls: String
|
2617
2617
|
}), sl = (t) => yz(W2t, t), Yz = Symbol(), FQ = ke();
|
2618
2618
|
function wg(t, e = void 0) {
|
2619
|
-
const r =
|
2619
|
+
const r = Z1() ? ln(Yz, FQ) : FQ;
|
2620
2620
|
return t ? Kt(() => {
|
2621
2621
|
var n, i;
|
2622
2622
|
return (i = (n = r.value) == null ? void 0 : n[t]) != null ? i : e;
|
@@ -2645,7 +2645,7 @@ function q2t(t, e) {
|
|
2645
2645
|
}
|
2646
2646
|
const X2t = (t, e, r = !1) => {
|
2647
2647
|
var n;
|
2648
|
-
const i =
|
2648
|
+
const i = !!Z1(), o = i ? wg() : void 0, s = (n = void 0) != null ? n : i ? $1 : void 0;
|
2649
2649
|
if (!s) {
|
2650
2650
|
y2("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
2651
2651
|
return;
|
@@ -2726,7 +2726,7 @@ const d3 = v2(est), _S = Symbol("formContextKey"), BQ = Symbol("formItemContextK
|
|
2726
2726
|
var a;
|
2727
2727
|
return !!(!(t.label || t.ariaLabel) && e && e.inputIds && ((a = e.inputIds) == null ? void 0 : a.length) <= 1);
|
2728
2728
|
});
|
2729
|
-
return
|
2729
|
+
return W1(() => {
|
2730
2730
|
o = on([K2(t, "id"), r], ([a, u]) => {
|
2731
2731
|
const d = a ?? (u ? void 0 : U5().value);
|
2732
2732
|
d !== i.value && (e != null && e.removeInputId && (i.value && e.removeInputId(i.value), !(n != null && n.value) && !u && d && e.addInputId(d)), i.value = d);
|
@@ -2944,7 +2944,7 @@ const ust = En({
|
|
2944
2944
|
scroll: ({
|
2945
2945
|
scrollTop: t,
|
2946
2946
|
scrollLeft: e
|
2947
|
-
}) => [t, e].every(
|
2947
|
+
}) => [t, e].every(ro)
|
2948
2948
|
}, mx = "ElScrollbar", dst = mr({
|
2949
2949
|
name: mx
|
2950
2950
|
}), pst = /* @__PURE__ */ mr({
|
@@ -2969,16 +2969,16 @@ const ust = En({
|
|
2969
2969
|
}));
|
2970
2970
|
};
|
2971
2971
|
function x(F, U) {
|
2972
|
-
T2(F) ? T.value.scrollTo(F) :
|
2972
|
+
T2(F) ? T.value.scrollTo(F) : ro(F) && ro(U) && T.value.scrollTo(F, U);
|
2973
2973
|
}
|
2974
2974
|
const C = (F) => {
|
2975
|
-
if (!
|
2975
|
+
if (!ro(F)) {
|
2976
2976
|
y2(mx, "value must be a number");
|
2977
2977
|
return;
|
2978
2978
|
}
|
2979
2979
|
T.value.scrollTop = F;
|
2980
2980
|
}, P = (F) => {
|
2981
|
-
if (!
|
2981
|
+
if (!ro(F)) {
|
2982
2982
|
y2(mx, "value must be a number");
|
2983
2983
|
return;
|
2984
2984
|
}
|
@@ -2994,12 +2994,12 @@ const ust = En({
|
|
2994
2994
|
var F;
|
2995
2995
|
N(), T.value && ((F = Q.value) == null || F.handleScroll(T.value));
|
2996
2996
|
});
|
2997
|
-
}),
|
2997
|
+
}), $1(bS, c3({
|
2998
2998
|
scrollbarElement: d,
|
2999
2999
|
wrapElement: T
|
3000
3000
|
})), _et(() => {
|
3001
3001
|
T.value && (T.value.scrollTop = a, T.value.scrollLeft = u);
|
3002
|
-
}),
|
3002
|
+
}), W1(() => {
|
3003
3003
|
n.native || i1(() => {
|
3004
3004
|
N();
|
3005
3005
|
});
|
@@ -3079,7 +3079,7 @@ const fst = v2(Tst), LS = Symbol("popper"), Jz = Symbol("popperContent"), Qst =
|
|
3079
3079
|
referenceRef: s,
|
3080
3080
|
role: a
|
3081
3081
|
};
|
3082
|
-
return e(u),
|
3082
|
+
return e(u), $1(LS, u), (d, T) => Vr(d.$slots, "default");
|
3083
3083
|
}
|
3084
3084
|
});
|
3085
3085
|
var yst = /* @__PURE__ */ Sn(gst, [["__file", "popper.vue"]]);
|
@@ -3213,7 +3213,7 @@ const nU = En({
|
|
3213
3213
|
"onBlur",
|
3214
3214
|
"onContextmenu"
|
3215
3215
|
];
|
3216
|
-
return
|
3216
|
+
return W1(() => {
|
3217
3217
|
on(() => r.virtualRef, (f) => {
|
3218
3218
|
f && (i.value = f4(f));
|
3219
3219
|
}, {
|
@@ -3334,7 +3334,7 @@ const Ost = () => {
|
|
3334
3334
|
wS.value = "pointer", Eg.value = window.performance.now();
|
3335
3335
|
}, mk = () => {
|
3336
3336
|
wS.value = "keyboard", Eg.value = window.performance.now();
|
3337
|
-
}, Vst = () => (
|
3337
|
+
}, Vst = () => (W1(() => {
|
3338
3338
|
qp === 0 && (document.addEventListener("mousedown", Xp), document.addEventListener("touchstart", Xp), document.addEventListener("keydown", mk)), qp++;
|
3339
3339
|
}), Is(() => {
|
3340
3340
|
qp--, qp <= 0 && (document.removeEventListener("mousedown", Xp), document.removeEventListener("touchstart", Xp), document.removeEventListener("keydown", mk));
|
@@ -3406,7 +3406,7 @@ const Ost = () => {
|
|
3406
3406
|
}
|
3407
3407
|
}
|
3408
3408
|
};
|
3409
|
-
|
3409
|
+
$1(iU, {
|
3410
3410
|
focusTrapRef: r,
|
3411
3411
|
onKeydown: a
|
3412
3412
|
}), on(() => t.focusTrapEl, (b) => {
|
@@ -3468,7 +3468,7 @@ const Ost = () => {
|
|
3468
3468
|
b.addEventListener(gb, d), b.dispatchEvent(w), !w.defaultPrevented && (o.value == "keyboard" || !kst() || b.contains(document.activeElement)) && H6(n ?? document.body), b.removeEventListener(gb, d), Qk.remove(s);
|
3469
3469
|
}
|
3470
3470
|
}
|
3471
|
-
return
|
3471
|
+
return W1(() => {
|
3472
3472
|
t.trapped && Q(), on(() => t.trapped, (b) => {
|
3473
3473
|
b ? Q() : y();
|
3474
3474
|
});
|
@@ -3640,7 +3640,7 @@ const Gst = 0, $st = (t) => {
|
|
3640
3640
|
yt(a)
|
3641
3641
|
])
|
3642
3642
|
})), T = Kt(() => jst(t.referenceEl) || yt(n)), { attributes: f, state: Q, styles: y, update: b, forceUpdate: w, instanceRef: S } = A2t(T, r, d);
|
3643
|
-
return on(S, (x) => e.value = x),
|
3643
|
+
return on(S, (x) => e.value = x), W1(() => {
|
3644
3644
|
on(() => {
|
3645
3645
|
var x;
|
3646
3646
|
return (x = yt(T)) == null ? void 0 : x.getBoundingClientRect();
|
@@ -3663,7 +3663,7 @@ const Gst = 0, $st = (t) => {
|
|
3663
3663
|
styles: r,
|
3664
3664
|
role: n
|
3665
3665
|
}) => {
|
3666
|
-
const { nextZIndex: i } = vS(), o = Bn("popper"), s = Kt(() => yt(e).popper), a = ke(
|
3666
|
+
const { nextZIndex: i } = vS(), o = Bn("popper"), s = Kt(() => yt(e).popper), a = ke(ro(t.zIndex) ? t.zIndex : i()), u = Kt(() => [
|
3667
3667
|
o.b(),
|
3668
3668
|
o.is("pure", t.pure),
|
3669
3669
|
o.is(t.effect),
|
@@ -3681,7 +3681,7 @@ const Gst = 0, $st = (t) => {
|
|
3681
3681
|
contentStyle: d,
|
3682
3682
|
contentZIndex: a,
|
3683
3683
|
updateZIndex: () => {
|
3684
|
-
a.value =
|
3684
|
+
a.value = ro(t.zIndex) ? t.zIndex : i();
|
3685
3685
|
}
|
3686
3686
|
};
|
3687
3687
|
}, Wst = (t, e) => {
|
@@ -3733,11 +3733,11 @@ const Gst = 0, $st = (t) => {
|
|
3733
3733
|
attributes: f,
|
3734
3734
|
role: S
|
3735
3735
|
}), rt = ln(BQ, void 0), tt = ke();
|
3736
|
-
|
3736
|
+
$1(Jz, {
|
3737
3737
|
arrowStyle: P,
|
3738
3738
|
arrowRef: Q,
|
3739
3739
|
arrowOffset: tt
|
3740
|
-
}), rt &&
|
3740
|
+
}), rt && $1(BQ, {
|
3741
3741
|
...rt,
|
3742
3742
|
addInputId: O5,
|
3743
3743
|
removeInputId: O5
|
@@ -3748,7 +3748,7 @@ const Gst = 0, $st = (t) => {
|
|
3748
3748
|
}, xt = () => {
|
3749
3749
|
ct(!1), n.visible && n.focusOnShow ? o.value = !0 : n.visible === !1 && (o.value = !1);
|
3750
3750
|
};
|
3751
|
-
return
|
3751
|
+
return W1(() => {
|
3752
3752
|
on(() => n.triggerTargetEl, (Vt, Zt) => {
|
3753
3753
|
at == null || at(), at = void 0;
|
3754
3754
|
const ce = yt(Vt || y.value), oe = yt(Zt || y.value);
|
@@ -4056,7 +4056,7 @@ const Tat = mr({
|
|
4056
4056
|
open: T,
|
4057
4057
|
close: f
|
4058
4058
|
}), w = Kt(() => S4(n.visible) && !Q.value);
|
4059
|
-
|
4059
|
+
$1(MS, {
|
4060
4060
|
controlled: w,
|
4061
4061
|
id: i,
|
4062
4062
|
open: qj(u),
|
@@ -4886,7 +4886,7 @@ const Nat = {
|
|
4886
4886
|
props: Nat,
|
4887
4887
|
setup(t) {
|
4888
4888
|
const e = t;
|
4889
|
-
|
4889
|
+
$1(uU, c3({
|
4890
4890
|
size: K2(e, "size"),
|
4891
4891
|
type: K2(e, "type")
|
4892
4892
|
}));
|
@@ -4993,8 +4993,8 @@ const zat = {
|
|
4993
4993
|
},
|
4994
4994
|
...sl(["ariaControls"])
|
4995
4995
|
}, fU = {
|
4996
|
-
[$o]: (t) => oa(t) ||
|
4997
|
-
change: (t) => oa(t) ||
|
4996
|
+
[$o]: (t) => oa(t) || ro(t) || S4(t),
|
4997
|
+
change: (t) => oa(t) || ro(t) || S4(t)
|
4998
4998
|
}, ec = Symbol("checkboxGroupContextKey"), Uat = ({
|
4999
4999
|
model: t,
|
5000
5000
|
isChecked: e
|
@@ -5015,7 +5015,7 @@ const zat = {
|
|
5015
5015
|
isDisabled: i,
|
5016
5016
|
isLabeledByFormItem: o
|
5017
5017
|
}) => {
|
5018
|
-
const s = ln(ec, void 0), { formItem: a } = tc(), { emit: u } =
|
5018
|
+
const s = ln(ec, void 0), { formItem: a } = tc(), { emit: u } = Z1();
|
5019
5019
|
function d(b) {
|
5020
5020
|
var w, S, x, C;
|
5021
5021
|
return [!0, t.trueValue, t.trueLabel].includes(b) ? (S = (w = t.trueValue) != null ? w : t.trueLabel) != null ? S : !0 : (C = (x = t.falseValue) != null ? x : t.falseLabel) != null ? C : !1;
|
@@ -5040,7 +5040,7 @@ const zat = {
|
|
5040
5040
|
onClickRoot: Q
|
5041
5041
|
};
|
5042
5042
|
}, $at = (t) => {
|
5043
|
-
const e = ke(!1), { emit: r } =
|
5043
|
+
const e = ke(!1), { emit: r } = Z1(), n = ln(ec, void 0), i = Kt(() => q6(n) === !1), o = ke(!1), s = Kt({
|
5044
5044
|
get() {
|
5045
5045
|
var a, u;
|
5046
5046
|
return i.value ? (a = n == null ? void 0 : n.modelValue) == null ? void 0 : a.value : (u = t.modelValue) != null ? u : e.value;
|
@@ -5360,7 +5360,7 @@ const Jat = En({
|
|
5360
5360
|
a(d);
|
5361
5361
|
}
|
5362
5362
|
});
|
5363
|
-
return
|
5363
|
+
return $1(ec, {
|
5364
5364
|
...yz(s0(r), [
|
5365
5365
|
"size",
|
5366
5366
|
"min",
|
@@ -5420,8 +5420,8 @@ const vU = ol(gU), _U = En({
|
|
5420
5420
|
..._U,
|
5421
5421
|
border: Boolean
|
5422
5422
|
}), bU = {
|
5423
|
-
[$o]: (t) => oa(t) ||
|
5424
|
-
[cS]: (t) => oa(t) ||
|
5423
|
+
[$o]: (t) => oa(t) || ro(t) || S4(t),
|
5424
|
+
[cS]: (t) => oa(t) || ro(t) || S4(t)
|
5425
5425
|
}, LU = Symbol("radioGroupKey"), wU = (t, e) => {
|
5426
5426
|
const r = ke(), n = ln(LU, void 0), i = Kt(() => !!n), o = Kt(() => Ih(t.value) ? t.label : t.value), s = Kt({
|
5427
5427
|
get() {
|
@@ -5610,12 +5610,12 @@ const u3t = En({
|
|
5610
5610
|
}), d = (f) => {
|
5611
5611
|
e($o, f), i1(() => e("change", f));
|
5612
5612
|
};
|
5613
|
-
|
5613
|
+
W1(() => {
|
5614
5614
|
const f = o.value.querySelectorAll("[type=radio]"), Q = f[0];
|
5615
5615
|
!Array.from(f).some((y) => y.checked) && Q && (Q.tabIndex = 0);
|
5616
5616
|
});
|
5617
5617
|
const T = Kt(() => r.name || i.value);
|
5618
|
-
return
|
5618
|
+
return $1(LU, c3({
|
5619
5619
|
...s0(r),
|
5620
5620
|
changeEvent: d,
|
5621
5621
|
name: T
|
@@ -5775,7 +5775,7 @@ const g3t = v2(m3t), HU = Symbol("rowContextKey"), y3t = [
|
|
5775
5775
|
props: _3t,
|
5776
5776
|
setup(t) {
|
5777
5777
|
const e = t, r = Bn("row"), n = Kt(() => e.gutter);
|
5778
|
-
|
5778
|
+
$1(HU, {
|
5779
5779
|
gutter: n
|
5780
5780
|
});
|
5781
5781
|
const i = Kt(() => {
|
@@ -5852,9 +5852,9 @@ const Td = v2(w3t), x3t = En({
|
|
5852
5852
|
const s = [];
|
5853
5853
|
return ["span", "offset", "pull", "push"].forEach((a) => {
|
5854
5854
|
const u = e[a];
|
5855
|
-
|
5855
|
+
ro(u) && (a === "span" ? s.push(n.b(`${e[a]}`)) : u > 0 && s.push(n.b(`${a}-${e[a]}`)));
|
5856
5856
|
}), ["xs", "sm", "md", "lg", "xl"].forEach((a) => {
|
5857
|
-
|
5857
|
+
ro(e[a]) ? s.push(n.b(`${a}-${e[a]}`)) : T2(e[a]) && Object.entries(e[a]).forEach(([u, d]) => {
|
5858
5858
|
s.push(u !== "span" ? n.b(`${a}-${u}-${d}`) : n.b(`${a}-${d}`));
|
5859
5859
|
});
|
5860
5860
|
}), r.value && s.push(n.is("guttered")), [n.b(), s];
|
@@ -6068,7 +6068,7 @@ const N3t = En({
|
|
6068
6068
|
closeAutoFocus: () => !0
|
6069
6069
|
}, F3t = (t, e) => {
|
6070
6070
|
var r;
|
6071
|
-
const n =
|
6071
|
+
const n = Z1().emit, { nextZIndex: i } = vS();
|
6072
6072
|
let o = "";
|
6073
6073
|
const s = U5(), a = U5(), u = ke(!1), d = ke(!1), T = ke(!1), f = ke((r = t.zIndex) != null ? r : i());
|
6074
6074
|
let Q, y;
|
@@ -6126,7 +6126,7 @@ const N3t = En({
|
|
6126
6126
|
})) : u.value && F();
|
6127
6127
|
}), on(() => t.fullscreen, (Zt) => {
|
6128
6128
|
e.value && (Zt ? (o = e.value.style.transform, e.value.style.transform = "") : e.value.style.transform = o);
|
6129
|
-
}),
|
6129
|
+
}), W1(() => {
|
6130
6130
|
t.modelValue && (u.value = !0, T.value = !0, N());
|
6131
6131
|
}), {
|
6132
6132
|
afterEnter: x,
|
@@ -6183,7 +6183,7 @@ const N3t = En({
|
|
6183
6183
|
onCloseRequested: U,
|
6184
6184
|
onFocusoutPrevented: $
|
6185
6185
|
} = F3t(r, o);
|
6186
|
-
|
6186
|
+
$1(AU, {
|
6187
6187
|
dialogRef: o,
|
6188
6188
|
headerRef: s,
|
6189
6189
|
bodyId: T,
|
@@ -6316,7 +6316,7 @@ const K3t = "data-el-collection-item", Y3t = (t) => {
|
|
6316
6316
|
name: e,
|
6317
6317
|
setup() {
|
6318
6318
|
const a = ke(null), u = /* @__PURE__ */ new Map();
|
6319
|
-
|
6319
|
+
$1(n, {
|
6320
6320
|
itemMap: u,
|
6321
6321
|
getItems: () => {
|
6322
6322
|
const d = yt(a);
|
@@ -6333,9 +6333,9 @@ const K3t = "data-el-collection-item", Y3t = (t) => {
|
|
6333
6333
|
name: r,
|
6334
6334
|
setup(a, { attrs: u }) {
|
6335
6335
|
const d = ke(null), T = ln(n, void 0);
|
6336
|
-
|
6336
|
+
$1(i, {
|
6337
6337
|
collectionItemRef: d
|
6338
|
-
}),
|
6338
|
+
}), W1(() => {
|
6339
6339
|
const f = yt(d);
|
6340
6340
|
f && T.itemMap.set(f, {
|
6341
6341
|
ref: f,
|
@@ -6439,7 +6439,7 @@ function J3t(t, e) {
|
|
6439
6439
|
return !i.value && b.length >= r.props.multipleLimit && r.props.multipleLimit > 0;
|
6440
6440
|
} else
|
6441
6441
|
return !1;
|
6442
|
-
}), s = Kt(() => t.label || (T2(t.value) ? "" : t.value)), a = Kt(() => t.value || t.label || ""), u = Kt(() => t.disabled || e.groupDisabled || o.value), d =
|
6442
|
+
}), s = Kt(() => t.label || (T2(t.value) ? "" : t.value)), a = Kt(() => t.value || t.label || ""), u = Kt(() => t.disabled || e.groupDisabled || o.value), d = Z1(), T = (y = [], b) => {
|
6443
6443
|
if (T2(t.value)) {
|
6444
6444
|
const w = r.props.valueKey;
|
6445
6445
|
return y && y.some((S) => Ph(p4(S, w)) === p4(b, w));
|
@@ -6502,7 +6502,7 @@ const t4t = mr({
|
|
6502
6502
|
select: u,
|
6503
6503
|
hoverItem: d,
|
6504
6504
|
updateOption: T
|
6505
|
-
} = J3t(t, i), { visible: f, hover: Q } = s0(i), y =
|
6505
|
+
} = J3t(t, i), { visible: f, hover: Q } = s0(i), y = Z1().proxy;
|
6506
6506
|
u.onOptionCreate(y), Is(() => {
|
6507
6507
|
const w = y.value, { selected: S } = u.states, x = (u.props.multiple ? S : [S]).some((C) => C.value === y.value);
|
6508
6508
|
i1(() => {
|
@@ -6556,7 +6556,7 @@ const r4t = mr({
|
|
6556
6556
|
var a;
|
6557
6557
|
o.value = `${(a = t.selectRef) == null ? void 0 : a.offsetWidth}px`;
|
6558
6558
|
}
|
6559
|
-
return
|
6559
|
+
return W1(() => {
|
6560
6560
|
s(), B6(t.selectRef, s);
|
6561
6561
|
}), {
|
6562
6562
|
ns: e,
|
@@ -6675,7 +6675,7 @@ const o4t = 11, s4t = (t, e) => {
|
|
6675
6675
|
}, {
|
6676
6676
|
flush: "post"
|
6677
6677
|
}), on(() => s.hoveringIndex, (Rt) => {
|
6678
|
-
|
6678
|
+
ro(Rt) && Rt > -1 ? at.value = Re.value[Rt] || {} : at.value = {}, Re.value.forEach((Te) => {
|
6679
6679
|
Te.hover = at.value === Te;
|
6680
6680
|
});
|
6681
6681
|
}), Yj(() => {
|
@@ -6843,7 +6843,7 @@ const o4t = 11, s4t = (t, e) => {
|
|
6843
6843
|
}), Le = Kt(() => ({ maxWidth: `${s.selectionWidth}px` })), or = Kt(() => ({
|
6844
6844
|
width: `${Math.max(s.calculatorWidth, o4t)}px`
|
6845
6845
|
}));
|
6846
|
-
return B6(u, dn), B6(Q, ji), B6(w, Pi), B6($, Pi), B6(S, _i), B6(x, Ji),
|
6846
|
+
return B6(u, dn), B6(Q, ji), B6(w, Pi), B6($, Pi), B6(S, _i), B6(x, Ji), W1(() => {
|
6847
6847
|
Jr();
|
6848
6848
|
}), {
|
6849
6849
|
inputId: Vt,
|
@@ -7061,7 +7061,7 @@ const l4t = En({
|
|
7061
7061
|
...s0(t),
|
7062
7062
|
modelValue: r
|
7063
7063
|
}), i = s4t(n, e);
|
7064
|
-
return
|
7064
|
+
return $1(Sg, c3({
|
7065
7065
|
props: n,
|
7066
7066
|
states: i.states,
|
7067
7067
|
optionsArray: i.optionsArray,
|
@@ -7415,8 +7415,8 @@ const d4t = mr({
|
|
7415
7415
|
disabled: Boolean
|
7416
7416
|
},
|
7417
7417
|
setup(t) {
|
7418
|
-
const e = Bn("select"), r = ke(null), n =
|
7419
|
-
|
7418
|
+
const e = Bn("select"), r = ke(null), n = Z1(), i = ke([]);
|
7419
|
+
$1(OU, c3({
|
7420
7420
|
...s0(t)
|
7421
7421
|
}));
|
7422
7422
|
const o = Kt(() => i.value.some((d) => d.visible === !0)), s = (d) => {
|
@@ -7431,7 +7431,7 @@ const d4t = mr({
|
|
7431
7431
|
}, u = () => {
|
7432
7432
|
i.value = a(n.subTree);
|
7433
7433
|
};
|
7434
|
-
return
|
7434
|
+
return W1(() => {
|
7435
7435
|
u();
|
7436
7436
|
}), qet(r, u, {
|
7437
7437
|
attributes: !0,
|
@@ -14347,15 +14347,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
14347
14347
|
}
|
14348
14348
|
}
|
14349
14349
|
Qo.prototype.size = 8;
|
14350
|
-
class
|
14350
|
+
class X1 extends Oe {
|
14351
14351
|
get(c) {
|
14352
14352
|
return new Qo(this, c);
|
14353
14353
|
}
|
14354
14354
|
}
|
14355
|
-
nr("FeatureIndexArray",
|
14355
|
+
nr("FeatureIndexArray", X1);
|
14356
14356
|
class P1 extends j {
|
14357
14357
|
}
|
14358
|
-
class
|
14358
|
+
class K1 extends j {
|
14359
14359
|
}
|
14360
14360
|
class Qs extends j {
|
14361
14361
|
}
|
@@ -14842,7 +14842,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
14842
14842
|
}
|
14843
14843
|
class x_ {
|
14844
14844
|
constructor(c) {
|
14845
|
-
this.zoom = c.zoom, this.overscaling = c.overscaling, this.layers = c.layers, this.layerIds = this.layers.map((p) => p.id), this.index = c.index, this.hasPattern = !1, this.layoutVertexArray = new
|
14845
|
+
this.zoom = c.zoom, this.overscaling = c.overscaling, this.layers = c.layers, this.layerIds = this.layers.map((p) => p.id), this.index = c.index, this.hasPattern = !1, this.layoutVertexArray = new K1(), this.indexArray = new O2(), this.segments = new an(), this.programConfigurations = new D0(c.layers, c.zoom), this.stateDependentLayerIds = this.layers.filter((p) => p.isStateDependent()).map((p) => p.id);
|
14846
14846
|
}
|
14847
14847
|
populate(c, p, g) {
|
14848
14848
|
const L = this.layers[0], H = [];
|
@@ -15807,8 +15807,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
15807
15807
|
for (const gr of sr) {
|
15808
15808
|
const pr = gr.x, Pr = gr.y, Fn = Mt[0] * pr + Mt[4] * Pr + Mt[12], Vn = Mt[1] * pr + Mt[5] * Pr + Mt[13], p1 = Mt[2] * pr + Mt[6] * Pr + Mt[14], ms = Mt[3] * pr + Mt[7] * Pr + Mt[15], I1 = p1 + _e, T1 = ms + Xe, go = Fn + xr, yo = Vn + Be, vo = p1 + Ie, Ci = ms + Qr, f1 = new f((Fn + Bt) / T1, (Vn + ee) / T1);
|
15809
15809
|
f1.z = I1 / T1, rr.push(f1);
|
15810
|
-
const
|
15811
|
-
|
15810
|
+
const Y1 = new f(go / Ci, yo / Ci);
|
15811
|
+
Y1.z = vo / Ci, ue.push(Y1);
|
15812
15812
|
}
|
15813
15813
|
$t.push(rr), kt.push(ue);
|
15814
15814
|
}
|
@@ -16644,7 +16644,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
16644
16644
|
let I1 = 0;
|
16645
16645
|
for (const Ci of Be) {
|
16646
16646
|
Ci.trim();
|
16647
|
-
const f1 = Ci.getMaxScale(),
|
16647
|
+
const f1 = Ci.getMaxScale(), Y1 = (f1 - 1) * r1, R1 = { positionedGlyphs: [], lineOffset: 0 };
|
16648
16648
|
ee.positionedLines[I1] = R1;
|
16649
16649
|
const _o = R1.positionedGlyphs;
|
16650
16650
|
let N1 = 0;
|
@@ -16662,7 +16662,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
16662
16662
|
continue;
|
16663
16663
|
Ha = fn.imageName, ee.iconsInText = ee.iconsInText || !0, ql = I2.paddedRect;
|
16664
16664
|
const L1 = I2.displaySize;
|
16665
|
-
fn.scale = fn.scale * r1 / pr, xi = { width: L1[0], height: L1[1], left: Do, top: -QO, advance: gs ? L1[1] : L1[0] }, s2 =
|
16665
|
+
fn.scale = fn.scale * r1 / pr, xi = { width: L1[0], height: L1[1], left: Do, top: -QO, advance: gs ? L1[1] : L1[0] }, s2 = Y1 + (r1 - L1[1] * fn.scale), Aa = xi.advance;
|
16666
16666
|
const z3 = gs ? L1[0] * fn.scale - r1 * f1 : L1[1] * fn.scale - r1 * f1;
|
16667
16667
|
z3 > 0 && z3 > N1 && (N1 = z3);
|
16668
16668
|
} else {
|
@@ -16681,12 +16681,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
16681
16681
|
}
|
16682
16682
|
_o.length !== 0 && (Vn = Math.max(Pr - ue, Vn), Itt(_o, 0, _o.length - 1, ms, N1)), Pr = 0;
|
16683
16683
|
const V2 = Ie * f1 + N1;
|
16684
|
-
R1.lineOffset = Math.max(N1,
|
16684
|
+
R1.lineOffset = Math.max(N1, Y1), Fn += V2, p1 = Math.max(V2, p1), ++I1;
|
16685
16685
|
}
|
16686
16686
|
var T1;
|
16687
16687
|
const go = Fn - Jc, { horizontalAlign: yo, verticalAlign: vo } = G_(Qr);
|
16688
|
-
(function(Ci, f1,
|
16689
|
-
const Un = (f1 -
|
16688
|
+
(function(Ci, f1, Y1, R1, _o, N1, V2, Fo, fn) {
|
16689
|
+
const Un = (f1 - Y1) * _o;
|
16690
16690
|
let ii = 0;
|
16691
16691
|
ii = N1 !== V2 ? -Fo * R1 - Jc : (-R1 * fn + 0.5) * V2;
|
16692
16692
|
for (const s2 of Ci)
|
@@ -17545,7 +17545,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
17545
17545
|
}
|
17546
17546
|
class BO {
|
17547
17547
|
constructor(c, p) {
|
17548
|
-
this.tileID = c, this.x = c.canonical.x, this.y = c.canonical.y, this.z = c.canonical.z, this.grid = new e6(Wi, 16, 0), this.grid3D = new e6(Wi, 16, 0), this.featureIndexArray = new
|
17548
|
+
this.tileID = c, this.x = c.canonical.x, this.y = c.canonical.y, this.z = c.canonical.z, this.grid = new e6(Wi, 16, 0), this.grid3D = new e6(Wi, 16, 0), this.featureIndexArray = new X1(), this.promoteId = p;
|
17549
17549
|
}
|
17550
17550
|
insert(c, p, g, L, H, A) {
|
17551
17551
|
const O = this.featureIndexArray.length;
|
@@ -17772,13 +17772,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
17772
17772
|
(H.textFitWidth || H.textFitHeight) && (z = LO(h)), Mt = Fp(Z, 0, ue[0]), kt = Fp(X, 0, ue[1]), $t = Fp(Z, ue[0], ue[2]), Bt = Fp(X, ue[1], ue[3]), ee = ue[0] - Mt, Xe = ue[1] - kt, _e = gr - $t, xr = pr - Bt;
|
17773
17773
|
}
|
17774
17774
|
const Be = z.x1, Ie = z.y1, Qr = z.x2 - Be, sr = z.y2 - Ie, rr = (ue, gr, pr, Pr) => {
|
17775
|
-
const Fn = Bp(ue.stretch - Mt, $t, Qr, Be), Vn = jp(ue.fixed - ee, _e, ue.stretch, st), p1 = Bp(gr.stretch - kt, Bt, sr, Ie), ms = jp(gr.fixed - Xe, xr, gr.stretch, ut), I1 = Bp(pr.stretch - Mt, $t, Qr, Be), T1 = jp(pr.fixed - ee, _e, pr.stretch, st), go = Bp(Pr.stretch - kt, Bt, sr, Ie), yo = jp(Pr.fixed - Xe, xr, Pr.stretch, ut), vo = new f(Fn, p1), Ci = new f(I1, p1), f1 = new f(I1, go),
|
17775
|
+
const Fn = Bp(ue.stretch - Mt, $t, Qr, Be), Vn = jp(ue.fixed - ee, _e, ue.stretch, st), p1 = Bp(gr.stretch - kt, Bt, sr, Ie), ms = jp(gr.fixed - Xe, xr, gr.stretch, ut), I1 = Bp(pr.stretch - Mt, $t, Qr, Be), T1 = jp(pr.fixed - ee, _e, pr.stretch, st), go = Bp(Pr.stretch - kt, Bt, sr, Ie), yo = jp(Pr.fixed - Xe, xr, Pr.stretch, ut), vo = new f(Fn, p1), Ci = new f(I1, p1), f1 = new f(I1, go), Y1 = new f(Fn, go), R1 = new f(Vn / A, ms / A), _o = new f(T1 / A, yo / A), N1 = c * Math.PI / 180;
|
17776
17776
|
if (N1) {
|
17777
17777
|
const fn = Math.sin(N1), Un = Math.cos(N1), ii = [Un, -fn, fn, Un];
|
17778
|
-
vo._matMult(ii), Ci._matMult(ii),
|
17778
|
+
vo._matMult(ii), Ci._matMult(ii), Y1._matMult(ii), f1._matMult(ii);
|
17779
17779
|
}
|
17780
17780
|
const V2 = ue.stretch + ue.fixed, Fo = gr.stretch + gr.fixed;
|
17781
|
-
return { tl: vo, tr: Ci, bl:
|
17781
|
+
return { tl: vo, tr: Ci, bl: Y1, br: f1, tex: { x: H.paddedRect.x + Zl + V2, y: H.paddedRect.y + Zl + Fo, w: pr.stretch + pr.fixed - V2, h: Pr.stretch + Pr.fixed - Fo }, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: R1, pixelOffsetBR: _o, minFontScaleX: _e / A / Qr, minFontScaleY: xr / A / sr, isSDF: p };
|
17782
17782
|
};
|
17783
17783
|
if (g && (H.stretchX || H.stretchY)) {
|
17784
17784
|
const ue = KO(Z, Tt, st), gr = KO(X, bt, ut);
|
@@ -18030,49 +18030,49 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
18030
18030
|
let sr;
|
18031
18031
|
g && Qr !== "none" && (h.allowVerticalPlacement && p.vertical && (sr = wO(g, p.vertical, Qr, et.get("icon-text-fit-padding"), st, Tt)), ut && (g = wO(g, ut, Qr, et.get("icon-text-fit-padding"), st, Tt)));
|
18032
18032
|
const rr = (ue, gr) => {
|
18033
|
-
gr.x < 0 || gr.x >= Wi || gr.y < 0 || gr.y >= Wi || function(pr, Pr, Fn, Vn, p1, ms, I1, T1, go, yo, vo, Ci, f1,
|
18033
|
+
gr.x < 0 || gr.x >= Wi || gr.y < 0 || gr.y >= Wi || function(pr, Pr, Fn, Vn, p1, ms, I1, T1, go, yo, vo, Ci, f1, Y1, R1, _o, N1, V2, Fo, fn, Un, ii, s2, xi, ql) {
|
18034
18034
|
const Ha = pr.addToLineVertexArray(Pr, Fn);
|
18035
18035
|
let Aa, gs, I2, L1, z3 = 0, su = 0, oP = 0, sP = 0, cb = -1, ub = -1;
|
18036
18036
|
const U3 = {};
|
18037
18037
|
let aP = Il("");
|
18038
18038
|
if (pr.allowVerticalPlacement && Vn.vertical) {
|
18039
|
-
const
|
18040
|
-
I2 = new zp(go, Pr, yo, vo, Ci, Vn.vertical, f1,
|
18039
|
+
const J1 = T1.layout.get("text-rotate").evaluate(Un, {}, xi) + 90;
|
18040
|
+
I2 = new zp(go, Pr, yo, vo, Ci, Vn.vertical, f1, Y1, R1, J1), I1 && (L1 = new zp(go, Pr, yo, vo, Ci, I1, N1, V2, R1, J1));
|
18041
18041
|
}
|
18042
18042
|
if (p1) {
|
18043
|
-
const
|
18044
|
-
gs = new zp(go, Pr, yo, vo, Ci, p1, N1, V2, !1,
|
18043
|
+
const J1 = T1.layout.get("icon-rotate").evaluate(Un, {}), R2 = T1.layout.get("icon-text-fit") !== "none", z0 = XO(p1, J1, s2, R2), Ws = I1 ? XO(I1, J1, s2, R2) : void 0;
|
18044
|
+
gs = new zp(go, Pr, yo, vo, Ci, p1, N1, V2, !1, J1), z3 = 4 * z0.length;
|
18045
18045
|
const U0 = pr.iconSizeData;
|
18046
18046
|
let Ca = null;
|
18047
18047
|
U0.kind === "source" ? (Ca = [Sa * T1.layout.get("icon-size").evaluate(Un, {})], Ca[0] > T6 && Vt(`${pr.layerIds[0]}: Value for "icon-size" is >= ${eu}. Reduce your "icon-size".`)) : U0.kind === "composite" && (Ca = [Sa * ii.compositeIconSizes[0].evaluate(Un, {}, xi), Sa * ii.compositeIconSizes[1].evaluate(Un, {}, xi)], (Ca[0] > T6 || Ca[1] > T6) && Vt(`${pr.layerIds[0]}: Value for "icon-size" is >= ${eu}. Reduce your "icon-size".`)), pr.addSymbols(pr.icon, z0, Ca, fn, Fo, Un, s.ah.none, Pr, Ha.lineStartIndex, Ha.lineLength, -1, xi), cb = pr.icon.placedSymbolArray.length - 1, Ws && (su = 4 * Ws.length, pr.addSymbols(pr.icon, Ws, Ca, fn, Fo, Un, s.ah.vertical, Pr, Ha.lineStartIndex, Ha.lineLength, -1, xi), ub = pr.icon.placedSymbolArray.length - 1);
|
18048
18048
|
}
|
18049
18049
|
const lP = Object.keys(Vn.horizontal);
|
18050
|
-
for (const
|
18051
|
-
const R2 = Vn.horizontal[
|
18050
|
+
for (const J1 of lP) {
|
18051
|
+
const R2 = Vn.horizontal[J1];
|
18052
18052
|
if (!Aa) {
|
18053
18053
|
aP = Il(R2.text);
|
18054
18054
|
const Ws = T1.layout.get("text-rotate").evaluate(Un, {}, xi);
|
18055
|
-
Aa = new zp(go, Pr, yo, vo, Ci, R2, f1,
|
18055
|
+
Aa = new zp(go, Pr, yo, vo, Ci, R2, f1, Y1, R1, Ws);
|
18056
18056
|
}
|
18057
18057
|
const z0 = R2.positionedLines.length === 1;
|
18058
|
-
if (oP += tP(pr, Pr, R2, ms, T1, R1, Un, _o, Ha, Vn.vertical ? s.ah.horizontal : s.ah.horizontalOnly, z0 ? lP : [
|
18058
|
+
if (oP += tP(pr, Pr, R2, ms, T1, R1, Un, _o, Ha, Vn.vertical ? s.ah.horizontal : s.ah.horizontalOnly, z0 ? lP : [J1], U3, cb, ii, xi), z0)
|
18059
18059
|
break;
|
18060
18060
|
}
|
18061
18061
|
Vn.vertical && (sP += tP(pr, Pr, Vn.vertical, ms, T1, R1, Un, _o, Ha, s.ah.vertical, ["vertical"], U3, ub, ii, xi));
|
18062
18062
|
const ret = Aa ? Aa.boxStartIndex : pr.collisionBoxArray.length, net = Aa ? Aa.boxEndIndex : pr.collisionBoxArray.length, iet = I2 ? I2.boxStartIndex : pr.collisionBoxArray.length, oet = I2 ? I2.boxEndIndex : pr.collisionBoxArray.length, set = gs ? gs.boxStartIndex : pr.collisionBoxArray.length, aet = gs ? gs.boxEndIndex : pr.collisionBoxArray.length, cet = L1 ? L1.boxStartIndex : pr.collisionBoxArray.length, uet = L1 ? L1.boxEndIndex : pr.collisionBoxArray.length;
|
18063
18063
|
let Zs = -1;
|
18064
|
-
const Gp = (
|
18064
|
+
const Gp = (J1, R2) => J1 && J1.circleDiameter ? Math.max(J1.circleDiameter, R2) : R2;
|
18065
18065
|
Zs = Gp(Aa, Zs), Zs = Gp(I2, Zs), Zs = Gp(gs, Zs), Zs = Gp(L1, Zs);
|
18066
18066
|
const cP = Zs > -1 ? 1 : 0;
|
18067
18067
|
cP && (Zs *= ql / r1), pr.glyphOffsetArray.length >= $l.MAX_GLYPHS && Vt("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"), Un.sortKey !== void 0 && pr.addToSortKeyRanges(pr.symbolInstances.length, Un.sortKey);
|
18068
|
-
const het = JO(T1, Un, xi), [det, pet] = function(
|
18069
|
-
const z0 =
|
18068
|
+
const het = JO(T1, Un, xi), [det, pet] = function(J1, R2) {
|
18069
|
+
const z0 = J1.length, Ws = R2 == null ? void 0 : R2.values;
|
18070
18070
|
if ((Ws == null ? void 0 : Ws.length) > 0)
|
18071
18071
|
for (let U0 = 0; U0 < Ws.length; U0 += 2) {
|
18072
18072
|
const Ca = Ws[U0 + 1];
|
18073
|
-
|
18073
|
+
J1.emplaceBack(s.aq[Ws[U0]], Ca[0], Ca[1]);
|
18074
18074
|
}
|
18075
|
-
return [z0,
|
18075
|
+
return [z0, J1.length];
|
18076
18076
|
}(pr.textAnchorOffsets, het);
|
18077
18077
|
pr.symbolInstances.emplaceBack(Pr.x, Pr.y, U3.right >= 0 ? U3.right : -1, U3.center >= 0 ? U3.center : -1, U3.left >= 0 ? U3.left : -1, U3.vertical || -1, cb, ub, aP, ret, net, iet, oet, set, aet, cet, uet, yo, oP, sP, z3, su, cP, 0, f1, Zs, det, pet);
|
18078
18078
|
}(h, gr, ue, p, g, L, sr, h.layers[0], h.collisionBoxArray, c.index, c.sourceLayerIndex, h.index, bt, [Bt, Bt, Bt, Bt], Xe, R, $t, ee, xr, st, c, H, z, Z, A);
|
@@ -18119,17 +18119,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
18119
18119
|
const ms = _e ? [rr.x + p1, rr.y] : [0, 0];
|
18120
18120
|
let I1 = _e ? [0, 0] : [rr.x + p1 + Bt[0], rr.y + Bt[1] - Fn], T1 = [0, 0];
|
18121
18121
|
Vn && (T1 = I1, I1 = [0, 0]);
|
18122
|
-
const go = rr.metrics.isDoubleResolution ? 2 : 1, yo = (rr.metrics.left - gr) * rr.scale - p1 + I1[0], vo = (-rr.metrics.top - gr) * rr.scale + I1[1], Ci = yo + ue.w / go * rr.scale / Pr, f1 = vo + ue.h / go * rr.scale / Pr,
|
18122
|
+
const go = rr.metrics.isDoubleResolution ? 2 : 1, yo = (rr.metrics.left - gr) * rr.scale - p1 + I1[0], vo = (-rr.metrics.top - gr) * rr.scale + I1[1], Ci = yo + ue.w / go * rr.scale / Pr, f1 = vo + ue.h / go * rr.scale / Pr, Y1 = new f(yo, vo), R1 = new f(Ci, vo), _o = new f(yo, f1), N1 = new f(Ci, f1);
|
18123
18123
|
if (Vn) {
|
18124
18124
|
const fn = new f(-p1, p1 - Jc), Un = -Math.PI / 2, ii = r1 / 2 - p1, s2 = new f(5 - Jc - ii, -(rr.imageName ? ii : 0)), xi = new f(...T1);
|
18125
|
-
|
18125
|
+
Y1._rotateAround(Un, fn)._add(s2)._add(xi), R1._rotateAround(Un, fn)._add(s2)._add(xi), _o._rotateAround(Un, fn)._add(s2)._add(xi), N1._rotateAround(Un, fn)._add(s2)._add(xi);
|
18126
18126
|
}
|
18127
18127
|
if (Ie) {
|
18128
18128
|
const fn = Math.sin(Ie), Un = Math.cos(Ie), ii = [Un, -fn, fn, Un];
|
18129
|
-
|
18129
|
+
Y1._matMult(ii), R1._matMult(ii), _o._matMult(ii), N1._matMult(ii);
|
18130
18130
|
}
|
18131
18131
|
const V2 = new f(0, 0), Fo = new f(0, 0);
|
18132
|
-
Qr.push({ tl:
|
18132
|
+
Qr.push({ tl: Y1, tr: R1, bl: _o, br: N1, tex: ue, writingMode: kt.writingMode, glyphOffset: ms, sectionIndex: rr.sectionIndex, isSDF: pr, pixelOffsetTL: V2, pixelOffsetBR: Fo, minFontScaleX: 0, minFontScaleY: 0 });
|
18133
18133
|
}
|
18134
18134
|
return Qr;
|
18135
18135
|
}(0, p, O, L, H, A, g, h.allowVerticalPlacement), bt = h.textSizeData;
|
@@ -22392,8 +22392,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
22392
22392
|
for (let ri = 0; ri < nn; ri++) {
|
22393
22393
|
const O1 = ri / Math.max(nn - 1, 1), C2 = ur.lerp(O1), ni = C2.x + He, Qo = C2.y + He;
|
22394
22394
|
Ht.push(ni, Qo, Je, 0);
|
22395
|
-
const
|
22396
|
-
if (Ne = Ne && this.isOffscreen(
|
22395
|
+
const X1 = ni - Je, P1 = Qo - Je, K1 = ni + Je, Qs = Qo + Je;
|
22396
|
+
if (Ne = Ne && this.isOffscreen(X1, P1, K1, Qs), we = we || this.isInsideGrid(X1, P1, K1, Qs), l !== "always" && this.grid.hitTestCircle(ni, Qo, Je, l, lt) && (he = !0, !Y))
|
22397
22397
|
return { circles: [], offscreen: !1, collisionDetected: he };
|
22398
22398
|
}
|
22399
22399
|
}
|
@@ -22578,7 +22578,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
22578
22578
|
return;
|
22579
22579
|
if (ft)
|
22580
22580
|
return void (this.placements[Ve.crossTileID] = new vr(!1, !1, !1));
|
22581
|
-
let nn = !1, ri = !1, O1 = !0, C2 = null, ni = { box: null, placeable: !1, offscreen: null }, Qo = { box: null, placeable: !1, offscreen: null },
|
22581
|
+
let nn = !1, ri = !1, O1 = !0, C2 = null, ni = { box: null, placeable: !1, offscreen: null }, Qo = { box: null, placeable: !1, offscreen: null }, X1 = null, P1 = null, K1 = null, Qs = 0, s6 = 0, kl = 0;
|
22582
22582
|
Ze.textFeatureIndex ? Qs = Ze.textFeatureIndex : Ve.useRuntimeCollisionCircles && (Qs = Ve.featureIndex), Ze.verticalTextFeatureIndex && (s6 = Ze.verticalTextFeatureIndex);
|
22583
22583
|
const a6 = Ze.textBox;
|
22584
22584
|
if (a6) {
|
@@ -22636,18 +22636,18 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
22636
22636
|
}
|
22637
22637
|
}
|
22638
22638
|
}
|
22639
|
-
if (
|
22639
|
+
if (X1 = ni, nn = X1 && X1.placeable, O1 = X1 && X1.offscreen, Ve.useRuntimeCollisionCircles) {
|
22640
22640
|
const i2 = _.text.placedSymbolArray.get(Ve.centerJustifiedTextSymbolIndex), o2 = a.ai(_.textSizeData, Lt, i2), Ma = M.get("text-padding");
|
22641
22641
|
P1 = this.collisionIndex.placeCollisionCircles(_t, i2, _.lineVertexArray, _.glyphOffsetArray, o2, j, W, Y, J, v, we, Et.predicate, Ve.collisionCircleDiameter, Ma, I, ur), P1.circles.length && P1.collisionDetected && !v && a.w("Collisions detected, but collision boxes are not shown"), nn = Nt || P1.circles.length > 0 && !P1.collisionDetected, O1 = O1 && P1.offscreen;
|
22642
22642
|
}
|
22643
22643
|
if (Ze.iconFeatureIndex && (kl = Ze.iconFeatureIndex), Ze.iconBox) {
|
22644
22644
|
const i2 = (o2) => this.collisionIndex.placeCollisionBox(o2, Dt, lt, j, W, we, he, D, Et.predicate, ur, Ne && C2 ? C2 : void 0);
|
22645
|
-
Qo && Qo.placeable && Ze.verticalIconBox ? (
|
22645
|
+
Qo && Qo.placeable && Ze.verticalIconBox ? (K1 = i2(Ze.verticalIconBox), ri = K1.placeable) : (K1 = i2(Ze.iconBox), ri = K1.placeable), O1 = O1 && K1.offscreen;
|
22646
22646
|
}
|
22647
22647
|
const n2 = Ht || Ve.numHorizontalGlyphVertices === 0 && Ve.numVerticalGlyphVertices === 0, Vl = Ct || Ve.numIconVertices === 0;
|
22648
22648
|
n2 || Vl ? Vl ? n2 || (ri = ri && nn) : nn = ri && nn : ri = nn = ri && nn;
|
22649
|
-
const jc = ri &&
|
22650
|
-
if (nn &&
|
22649
|
+
const jc = ri && K1.placeable;
|
22650
|
+
if (nn && X1.placeable && this.collisionIndex.insertCollisionBox(X1.box, _t, M.get("text-ignore-placement"), _.bucketInstanceId, Qo && Qo.placeable && s6 ? s6 : Qs, Et.ID), jc && this.collisionIndex.insertCollisionBox(K1.box, Dt, M.get("icon-ignore-placement"), _.bucketInstanceId, kl, Et.ID), P1 && nn && this.collisionIndex.insertCollisionCircles(P1.circles, _t, M.get("text-ignore-placement"), _.bucketInstanceId, Qs, Et.ID), v && this.storeCollisionData(_.bucketInstanceId, Or, Ze, X1, K1, P1), Ve.crossTileID === 0)
|
22651
22651
|
throw new Error("symbolInstance.crossTileID can't be 0");
|
22652
22652
|
if (_.bucketInstanceId === 0)
|
22653
22653
|
throw new Error("bucket.bucketInstanceId can't be 0");
|
@@ -25123,21 +25123,21 @@ uniform ${Y} ${J} u_${lt};
|
|
25123
25123
|
if (!Fr || !Fr.segments.get().length || !Fr.hasVisibleVertices)
|
25124
25124
|
continue;
|
25125
25125
|
const Ve = Fr.programConfigurations.get(m.id), Ze = _ || ur.sdfIcons, Or = _ ? ur.textSizeData : ur.iconSizeData, ei = Ht || Qt.pitch !== 0, Zr = E.useProgram(ho(Ze, _, ur), Ve), nn = a.ag(Or, Qt.zoom), ri = E.style.map.terrain && E.style.map.terrain.getTerrainData(Oe);
|
25126
|
-
let O1, C2, ni, Qo,
|
25126
|
+
let O1, C2, ni, Qo, X1 = [0, 0], P1 = null;
|
25127
25127
|
if (_)
|
25128
|
-
C2 = Ce.glyphAtlasTexture, ni = ft.LINEAR, O1 = Ce.glyphAtlasTexture.size, ur.iconsInText && (
|
25128
|
+
C2 = Ce.glyphAtlasTexture, ni = ft.LINEAR, O1 = Ce.glyphAtlasTexture.size, ur.iconsInText && (X1 = Ce.imageAtlasTexture.size, P1 = Ce.imageAtlasTexture, Qo = ei || E.options.rotating || E.options.zooming || Or.kind === "composite" || Or.kind === "camera" ? ft.LINEAR : ft.NEAREST);
|
25129
25129
|
else {
|
25130
25130
|
const an = m.layout.get("icon-size").constantOr(0) !== 1 || ur.iconsNeedLinear;
|
25131
25131
|
C2 = Ce.imageAtlasTexture, ni = Ze || E.options.rotating || E.options.zooming || an || ei ? ft.LINEAR : ft.NEAREST, O1 = Ce.imageAtlasTexture.size;
|
25132
25132
|
}
|
25133
|
-
const
|
25133
|
+
const K1 = Ar(Ce, 1, E.transform.zoom), Qs = Nt ? Oe.posMatrix : ba, s6 = Ii(Qs, Ht, Et, E.transform, K1), kl = Rn(Qs, Ht, Et, E.transform, K1), a6 = Rn(Oe.posMatrix, Ht, Et, E.transform, K1), n2 = Lt.translatePosition(E.transform, Ce, M, I), Vl = we && ur.hasTextData(), jc = m.layout.get("icon-text-fit") !== "none" && Vl && ur.hasIconData();
|
25134
25134
|
if (Ct) {
|
25135
25135
|
const an = E.style.map.terrain ? (l6, c6) => E.style.map.terrain.getElevation(Oe, l6, c6) : null, F3 = m.layout.get("text-rotation-alignment") === "map";
|
25136
25136
|
pt(ur, Oe.posMatrix, E, _, s6, a6, Ht, W, F3, Lt, Oe.toUnwrapped(), Qt.width, Qt.height, n2, an);
|
25137
25137
|
}
|
25138
25138
|
const i2 = Oe.posMatrix, o2 = _ && we || jc, Ma = Ct || o2 ? ba : s6, O2 = kl, b1 = Ze && m.paint.get(_ ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0;
|
25139
25139
|
let k1;
|
25140
|
-
k1 = Ze ? ur.iconsInText ? D4(Or.kind, nn, _t, Ht, Ct, o2, E, i2, Ma, O2, n2, O1,
|
25140
|
+
k1 = Ze ? ur.iconsInText ? D4(Or.kind, nn, _t, Ht, Ct, o2, E, i2, Ma, O2, n2, O1, X1, Je) : ga(Or.kind, nn, _t, Ht, Ct, o2, E, i2, Ma, O2, n2, _, O1, !0, Je) : Xo(Or.kind, nn, _t, Ht, Ct, o2, E, i2, Ma, O2, n2, _, O1, Je);
|
25141
25141
|
const No = { program: Zr, buffers: Fr, uniformValues: k1, atlasTexture: C2, atlasTextureIcon: P1, atlasInterpolation: ni, atlasInterpolationIcon: Qo, isSDF: Ze, hasHalo: b1 };
|
25142
25142
|
if (Dt && ur.canOverlap) {
|
25143
25143
|
Wt = !0;
|
@@ -35192,9 +35192,9 @@ class Ugt {
|
|
35192
35192
|
if (a in s ? K(this, s4)[a] = u : (K(this, s4).other.push(...u), K(this, J3)[a] = !1), a === "centreline")
|
35193
35193
|
for (const d of u) {
|
35194
35194
|
const T = e.annotationById(d);
|
35195
|
-
(e.options.style ===
|
35195
|
+
(e.options.style === U1.CENTRELINE || K(this, C6).has(d)) && T && "models" in T && K(this, f9).set(T.models, T.label || T.models);
|
35196
35196
|
}
|
35197
|
-
ie(this, lM, qZ).call(this), e.options.style ===
|
35197
|
+
ie(this, lM, qZ).call(this), e.options.style === U1.CENTRELINE ? Yt(this, Q9, !0) : Yt(this, m9, K(this, f9).size > 0);
|
35198
35198
|
}
|
35199
35199
|
get nerveCentrelineDetails() {
|
35200
35200
|
return [zgt, ...K(this, f9).entries()].map((e) => {
|
@@ -35226,7 +35226,7 @@ class Ugt {
|
|
35226
35226
|
pathTypes() {
|
35227
35227
|
const e = [];
|
35228
35228
|
for (const r of cm)
|
35229
|
-
r.type in K(this, s4) && K(this, s4)[r.type].length > 0 && (r.type === "centreline" ? K(this, Bf).options.style !==
|
35229
|
+
r.type in K(this, s4) && K(this, s4)[r.type].length > 0 && (r.type === "centreline" ? K(this, Bf).options.style !== U1.CENTRELINE && (Yt(this, m9, !0), Yt(this, Q9, K(this, J3)[r.type])) : e.push({
|
35230
35230
|
...r,
|
35231
35231
|
enabled: K(this, J3)[r.type]
|
35232
35232
|
}));
|
@@ -35881,7 +35881,7 @@ function Hs(t, e, r, n) {
|
|
35881
35881
|
let o = null;
|
35882
35882
|
return i && (n === "mixed" ? o = i.out && i.out[r] || i.undirected && i.undirected[r] : n === "directed" ? o = i.out && i.out[r] : o = i.undirected && i.undirected[r]), o;
|
35883
35883
|
}
|
35884
|
-
function
|
35884
|
+
function eo(t) {
|
35885
35885
|
return typeof t == "object" && t !== null;
|
35886
35886
|
}
|
35887
35887
|
function cW(t) {
|
@@ -35906,7 +35906,7 @@ function Xs(t, e, r) {
|
|
35906
35906
|
typeof r == "function" ? n.get = r : (n.value = r, n.writable = !1), Object.defineProperty(t, e, n);
|
35907
35907
|
}
|
35908
35908
|
function BR(t) {
|
35909
|
-
return !(!
|
35909
|
+
return !(!eo(t) || t.attributes && !Array.isArray(t.attributes));
|
35910
35910
|
}
|
35911
35911
|
function cyt() {
|
35912
35912
|
let t = Math.floor(Math.random() * 256) & 255;
|
@@ -36125,7 +36125,7 @@ function myt(t, e, r) {
|
|
36125
36125
|
i,
|
36126
36126
|
o
|
36127
36127
|
);
|
36128
|
-
if (!
|
36128
|
+
if (!eo(a))
|
36129
36129
|
throw new hr(
|
36130
36130
|
`Graph.${e}: provided attributes are not a plain object.`
|
36131
36131
|
);
|
@@ -36146,7 +36146,7 @@ function gyt(t, e, r) {
|
|
36146
36146
|
i,
|
36147
36147
|
o
|
36148
36148
|
);
|
36149
|
-
if (!
|
36149
|
+
if (!eo(a))
|
36150
36150
|
throw new hr(
|
36151
36151
|
`Graph.${e}: provided attributes are not a plain object.`
|
36152
36152
|
);
|
@@ -36448,7 +36448,7 @@ function Syt(t, e, r) {
|
|
36448
36448
|
`Graph.${e}: could not find the "${n}" edge in the graph.`
|
36449
36449
|
);
|
36450
36450
|
}
|
36451
|
-
if (!
|
36451
|
+
if (!eo(i))
|
36452
36452
|
throw new hr(
|
36453
36453
|
`Graph.${e}: provided attributes are not a plain object.`
|
36454
36454
|
);
|
@@ -36486,7 +36486,7 @@ function Hyt(t, e, r) {
|
|
36486
36486
|
`Graph.${e}: could not find the "${n}" edge in the graph.`
|
36487
36487
|
);
|
36488
36488
|
}
|
36489
|
-
if (!
|
36489
|
+
if (!eo(i))
|
36490
36490
|
throw new hr(
|
36491
36491
|
`Graph.${e}: provided attributes are not a plain object.`
|
36492
36492
|
);
|
@@ -37425,7 +37425,7 @@ function ivt(t, e, r) {
|
|
37425
37425
|
return cW(r.attributes) || (n.attributes = x1({}, r.attributes)), t === "mixed" && r.undirected && (n.undirected = !0), n;
|
37426
37426
|
}
|
37427
37427
|
function ovt(t) {
|
37428
|
-
if (!
|
37428
|
+
if (!eo(t))
|
37429
37429
|
throw new hr(
|
37430
37430
|
'Graph.import: invalid serialized node. A serialized node should be a plain object with at least a "key" property.'
|
37431
37431
|
);
|
@@ -37433,13 +37433,13 @@ function ovt(t) {
|
|
37433
37433
|
throw new hr(
|
37434
37434
|
"Graph.import: serialized node is missing its key."
|
37435
37435
|
);
|
37436
|
-
if ("attributes" in t && (!
|
37436
|
+
if ("attributes" in t && (!eo(t.attributes) || t.attributes === null))
|
37437
37437
|
throw new hr(
|
37438
37438
|
"Graph.import: invalid attributes. Attributes should be a plain object, null or omitted."
|
37439
37439
|
);
|
37440
37440
|
}
|
37441
37441
|
function svt(t) {
|
37442
|
-
if (!
|
37442
|
+
if (!eo(t))
|
37443
37443
|
throw new hr(
|
37444
37444
|
'Graph.import: invalid serialized edge. A serialized edge should be a plain object with at least a "source" & "target" property.'
|
37445
37445
|
);
|
@@ -37451,7 +37451,7 @@ function svt(t) {
|
|
37451
37451
|
throw new hr(
|
37452
37452
|
"Graph.import: serialized edge is missing its target."
|
37453
37453
|
);
|
37454
|
-
if ("attributes" in t && (!
|
37454
|
+
if ("attributes" in t && (!eo(t.attributes) || t.attributes === null))
|
37455
37455
|
throw new hr(
|
37456
37456
|
"Graph.import: invalid attributes. Attributes should be a plain object, null or omitted."
|
37457
37457
|
);
|
@@ -37497,7 +37497,7 @@ const avt = cyt(), lvt = /* @__PURE__ */ new Set(["directed", "undirected", "mix
|
|
37497
37497
|
type: "mixed"
|
37498
37498
|
};
|
37499
37499
|
function hvt(t, e, r) {
|
37500
|
-
if (r && !
|
37500
|
+
if (r && !eo(r))
|
37501
37501
|
throw new hr(
|
37502
37502
|
`Graph.addNode: invalid attributes. Expecting an object but got "${r}"`
|
37503
37503
|
);
|
@@ -37527,7 +37527,7 @@ function mW(t, e, r, n, i, o, s, a) {
|
|
37527
37527
|
throw new jr(
|
37528
37528
|
`Graph.${e}: you cannot add an undirected edge to a directed graph. Use the #.addEdge or #.addDirectedEdge instead.`
|
37529
37529
|
);
|
37530
|
-
if (a && !
|
37530
|
+
if (a && !eo(a))
|
37531
37531
|
throw new hr(
|
37532
37532
|
`Graph.${e}: invalid attributes. Expecting an object but got "${a}"`
|
37533
37533
|
);
|
@@ -37587,7 +37587,7 @@ function dvt(t, e, r, n, i, o, s, a, u) {
|
|
37587
37587
|
throw new hr(
|
37588
37588
|
`Graph.${e}: invalid updater function. Expecting a function but got "${a}"`
|
37589
37589
|
);
|
37590
|
-
} else if (!
|
37590
|
+
} else if (!eo(a))
|
37591
37591
|
throw new hr(
|
37592
37592
|
`Graph.${e}: invalid attributes. Expecting an object but got "${a}"`
|
37593
37593
|
);
|
@@ -38429,7 +38429,7 @@ class ci extends Ygt.EventEmitter {
|
|
38429
38429
|
* @return {any} - The node.
|
38430
38430
|
*/
|
38431
38431
|
mergeNode(e, r) {
|
38432
|
-
if (r && !
|
38432
|
+
if (r && !eo(r))
|
38433
38433
|
throw new hr(
|
38434
38434
|
`Graph.mergeNode: invalid attributes. Expecting an object but got "${r}"`
|
38435
38435
|
);
|
@@ -38705,7 +38705,7 @@ class ci extends Ygt.EventEmitter {
|
|
38705
38705
|
* @throws {Error} - Will throw if given attributes are not a plain object.
|
38706
38706
|
*/
|
38707
38707
|
replaceAttributes(e) {
|
38708
|
-
if (!
|
38708
|
+
if (!eo(e))
|
38709
38709
|
throw new hr(
|
38710
38710
|
"Graph.replaceAttributes: provided attributes are not a plain object."
|
38711
38711
|
);
|
@@ -38723,7 +38723,7 @@ class ci extends Ygt.EventEmitter {
|
|
38723
38723
|
* @throws {Error} - Will throw if given attributes are not a plain object.
|
38724
38724
|
*/
|
38725
38725
|
mergeAttributes(e) {
|
38726
|
-
if (!
|
38726
|
+
if (!eo(e))
|
38727
38727
|
throw new hr(
|
38728
38728
|
"Graph.mergeAttributes: provided attributes are not a plain object."
|
38729
38729
|
);
|
@@ -39038,12 +39038,12 @@ class ci extends Ygt.EventEmitter {
|
|
39038
39038
|
}), e.forEachEdge((u, d, T, f, Q, y, b) => {
|
39039
39039
|
r ? b ? this.mergeUndirectedEdgeWithKey(u, T, f, d) : this.mergeDirectedEdgeWithKey(u, T, f, d) : b ? this.addUndirectedEdgeWithKey(u, T, f, d) : this.addDirectedEdgeWithKey(u, T, f, d);
|
39040
39040
|
}), this;
|
39041
|
-
if (!
|
39041
|
+
if (!eo(e))
|
39042
39042
|
throw new hr(
|
39043
39043
|
"Graph.import: invalid argument. Expecting a serialized graph or, alternatively, a Graph instance."
|
39044
39044
|
);
|
39045
39045
|
if (e.attributes) {
|
39046
|
-
if (!
|
39046
|
+
if (!eo(e.attributes))
|
39047
39047
|
throw new hr(
|
39048
39048
|
"Graph.import: invalid attributes. Expecting a plain object."
|
39049
39049
|
);
|
@@ -40182,19 +40182,22 @@ class Kvt extends ts {
|
|
40182
40182
|
constructor(e, r) {
|
40183
40183
|
super(e, "body", r);
|
40184
40184
|
}
|
40185
|
+
defaultFilter() {
|
40186
|
+
return [
|
40187
|
+
"all",
|
40188
|
+
["==", ["geometry-type"], "Polygon"],
|
40189
|
+
[
|
40190
|
+
"any",
|
40191
|
+
["==", ["get", "models"], "UBERON:0013702"],
|
40192
|
+
["==", ["get", "kind"], "background"]
|
40193
|
+
]
|
40194
|
+
];
|
40195
|
+
}
|
40185
40196
|
style(e, r) {
|
40186
40197
|
return {
|
40187
40198
|
...super.style(e),
|
40188
40199
|
type: "fill",
|
40189
|
-
filter:
|
40190
|
-
"all",
|
40191
|
-
["==", ["geometry-type"], "Polygon"],
|
40192
|
-
[
|
40193
|
-
"any",
|
40194
|
-
["==", ["get", "models"], "UBERON:0013702"],
|
40195
|
-
["==", ["get", "kind"], "background"]
|
40196
|
-
]
|
40197
|
-
],
|
40200
|
+
filter: this.defaultFilter(),
|
40198
40201
|
paint: {
|
40199
40202
|
"fill-color": [
|
40200
40203
|
"case",
|
@@ -40226,7 +40229,7 @@ class Yvt extends ts {
|
|
40226
40229
|
];
|
40227
40230
|
}
|
40228
40231
|
paintStyle(e, r = !1) {
|
40229
|
-
const n = !("colour" in e) || e.colour, i = "dimmed" in e && e.dimmed, o = e.flatmapStyle ===
|
40232
|
+
const n = !("colour" in e) || e.colour, i = "dimmed" in e && e.dimmed, o = e.flatmapStyle === U1.FUNCTIONAL, s = {
|
40230
40233
|
"fill-color": [
|
40231
40234
|
"case",
|
40232
40235
|
["boolean", ["feature-state", "selected"], !1],
|
@@ -40293,15 +40296,26 @@ class Jvt extends ts {
|
|
40293
40296
|
];
|
40294
40297
|
}
|
40295
40298
|
paintStyle(e, r = !1) {
|
40296
|
-
const n = !("colour" in e) || e.colour, i = !("outline" in e) || e.outline, o = "dimmed" in e && e.dimmed, s = "activeRasterLayer" in e && e.activeRasterLayer, a = e.flatmapStyle ===
|
40297
|
-
u.push(["boolean", ["feature-state", "hidden"], !1], Kg), u.push(["boolean", ["feature-state", "selected"], !1], a ? "#F80" : Wvt), n && i && u.push(["boolean", ["feature-state", "active"], !1], RW), u.push(["boolean", ["feature-state", "annotated"], !1], NW), u.push(["has", "colour"], ["get", "colour"]), u.push("#444");
|
40299
|
+
const n = !("colour" in e) || e.colour, i = !("outline" in e) || e.outline, o = "dimmed" in e && e.dimmed, s = "activeRasterLayer" in e && e.activeRasterLayer, a = e.flatmapStyle === U1.FUNCTIONAL, u = ["case"];
|
40300
|
+
u.push(["boolean", ["feature-state", "hidden"], !1], Kg), u.push(["boolean", ["feature-state", "selected"], !1], a ? "#F80" : Wvt), n && i && u.push(["boolean", ["feature-state", "active"], !1], RW), u.push(["boolean", ["feature-state", "annotated"], !1], NW), u.push(["has", "stroke"], ["get", "stroke"]), u.push(["has", "colour"], ["get", "colour"]), u.push("#444");
|
40298
40301
|
const d = ["case"];
|
40299
40302
|
d.push(["boolean", ["feature-state", "hidden"], !1], 0.05), n && i && d.push(["boolean", ["feature-state", "active"], !1], 0.9), d.push(["boolean", ["feature-state", "selected"], !1], 0.9), d.push(["boolean", ["feature-state", "annotated"], !1], 0.9), s ? d.push(i && !o ? 0.3 : 0.1) : d.push(0.5);
|
40300
40303
|
const T = ["case"];
|
40301
|
-
|
40304
|
+
T.push(["boolean", ["get", "invisible"], !1], 0.2), T.push(["boolean", ["feature-state", "selected"], !1], a ? 3 : 1.5), n && i && T.push(["boolean", ["feature-state", "active"], !1], a ? 2.5 : 1.5), T.push(["boolean", ["feature-state", "annotated"], !1], 3.5), T.push(["has", "colour"], 0.7), T.push(a ? 1 : n && i ? 0.5 : 0.1);
|
40305
|
+
const f = [
|
40306
|
+
"*",
|
40307
|
+
[
|
40308
|
+
"case",
|
40309
|
+
["has", "stroke-width"],
|
40310
|
+
["get", "stroke-width"],
|
40311
|
+
1
|
40312
|
+
],
|
40313
|
+
T
|
40314
|
+
];
|
40315
|
+
return super.changedPaintStyle({
|
40302
40316
|
"line-color": u,
|
40303
40317
|
"line-opacity": d,
|
40304
|
-
"line-width":
|
40318
|
+
"line-width": f
|
40305
40319
|
}, r);
|
40306
40320
|
}
|
40307
40321
|
style(e, r) {
|
@@ -66469,7 +66483,7 @@ u0.retryAfter = gkt;
|
|
66469
66483
|
asyncLoad: null
|
66470
66484
|
};
|
66471
66485
|
})(cy);
|
66472
|
-
var LA = {}, Nd = {},
|
66486
|
+
var LA = {}, Nd = {}, q1 = {};
|
66473
66487
|
(function(t) {
|
66474
66488
|
var e = V && V.__values || function(C) {
|
66475
66489
|
var P = typeof Symbol == "function" && Symbol.iterator, N = P && C[P], F = 0;
|
@@ -66674,7 +66688,7 @@ var LA = {}, Nd = {}, W1 = {};
|
|
66674
66688
|
return N === void 0 && (N = null), P.hasOwnProperty(C) ? P[C] : N;
|
66675
66689
|
}
|
66676
66690
|
t.lookup = x;
|
66677
|
-
})(
|
66691
|
+
})(q1);
|
66678
66692
|
var gl = {}, ykt = V && V.__extends || /* @__PURE__ */ function() {
|
66679
66693
|
var t = function(e, r) {
|
66680
66694
|
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
|
@@ -66783,7 +66797,7 @@ var _kt = y0, bkt = function(t) {
|
|
66783
66797
|
gl.FunctionList = bkt;
|
66784
66798
|
Object.defineProperty(Nd, "__esModule", { value: !0 });
|
66785
66799
|
Nd.AbstractInputJax = void 0;
|
66786
|
-
var eF =
|
66800
|
+
var eF = q1, rF = gl, Lkt = function() {
|
66787
66801
|
function t(e) {
|
66788
66802
|
e === void 0 && (e = {}), this.adaptor = null, this.mmlFactory = null;
|
66789
66803
|
var r = this.constructor;
|
@@ -66818,7 +66832,7 @@ Nd.AbstractInputJax = Lkt;
|
|
66818
66832
|
var dy = {}, py = {};
|
66819
66833
|
Object.defineProperty(py, "__esModule", { value: !0 });
|
66820
66834
|
py.AbstractFindMath = void 0;
|
66821
|
-
var nF =
|
66835
|
+
var nF = q1, wkt = function() {
|
66822
66836
|
function t(e) {
|
66823
66837
|
var r = this.constructor;
|
66824
66838
|
this.options = (0, nF.userOptions)((0, nF.defaultOptions)({}, r.OPTIONS), e);
|
@@ -69810,22 +69824,22 @@ var q0 = V && V.__values || function(t) {
|
|
69810
69824
|
return t && t.__esModule ? t : { default: t };
|
69811
69825
|
};
|
69812
69826
|
Object.defineProperty(wA, "__esModule", { value: !0 });
|
69813
|
-
var lF = Cr,
|
69827
|
+
var lF = Cr, to = Ukt(Ti), fE;
|
69814
69828
|
(function(t) {
|
69815
69829
|
t.cleanStretchy = function(o) {
|
69816
69830
|
var s, a, u = o.data;
|
69817
69831
|
try {
|
69818
69832
|
for (var d = q0(u.getList("fixStretchy")), T = d.next(); !T.done; T = d.next()) {
|
69819
69833
|
var f = T.value;
|
69820
|
-
if (
|
69821
|
-
var Q =
|
69822
|
-
Q && Q[3] && Q[3].stretchy &&
|
69834
|
+
if (to.default.getProperty(f, "fixStretchy")) {
|
69835
|
+
var Q = to.default.getForm(f);
|
69836
|
+
Q && Q[3] && Q[3].stretchy && to.default.setAttribute(f, "stretchy", !1);
|
69823
69837
|
var y = f.parent;
|
69824
|
-
if (!
|
69838
|
+
if (!to.default.getTexClass(f) && (!Q || !Q[2])) {
|
69825
69839
|
var b = u.nodeFactory.create("node", "TeXAtom", [f]);
|
69826
69840
|
y.replaceChild(b, f), b.inheritAttributesFrom(f);
|
69827
69841
|
}
|
69828
|
-
|
69842
|
+
to.default.removeProperties(f, "fixStretchy");
|
69829
69843
|
}
|
69830
69844
|
}
|
69831
69845
|
} catch (w) {
|
@@ -69867,10 +69881,10 @@ var lF = Cr, J1 = Ukt(Ti), fE;
|
|
69867
69881
|
try {
|
69868
69882
|
for (var f = q0(o.data.getList("mo")), Q = f.next(); !Q.done; Q = f.next()) {
|
69869
69883
|
var y = Q.value;
|
69870
|
-
if (!(y.getProperty("relationsCombined") || !y.parent || y.parent && !
|
69871
|
-
for (var b = y.parent, w = void 0, S = b.childNodes, x = S.indexOf(y) + 1, C =
|
69872
|
-
if (C ===
|
69873
|
-
|
69884
|
+
if (!(y.getProperty("relationsCombined") || !y.parent || y.parent && !to.default.isType(y.parent, "mrow") || to.default.getTexClass(y) !== lF.TEXCLASS.REL)) {
|
69885
|
+
for (var b = y.parent, w = void 0, S = b.childNodes, x = S.indexOf(y) + 1, C = to.default.getProperty(y, "variantForm"); x < S.length && (w = S[x]) && to.default.isType(w, "mo") && to.default.getTexClass(w) === lF.TEXCLASS.REL; )
|
69886
|
+
if (C === to.default.getProperty(w, "variantForm") && r(y, w)) {
|
69887
|
+
to.default.appendChildren(y, to.default.getChildren(w)), e(["stretchy", "rspace"], y, w);
|
69874
69888
|
try {
|
69875
69889
|
for (var P = (u = void 0, q0(w.getPropertyNames())), N = P.next(); !N.done; N = P.next()) {
|
69876
69890
|
var F = N.value;
|
@@ -69888,7 +69902,7 @@ var lF = Cr, J1 = Ukt(Ti), fE;
|
|
69888
69902
|
}
|
69889
69903
|
S.splice(x, 1), T.push(w), w.parent = null, w.setProperty("relationsCombined", !0);
|
69890
69904
|
} else {
|
69891
|
-
y.attributes.getExplicit("rspace") == null &&
|
69905
|
+
y.attributes.getExplicit("rspace") == null && to.default.setAttribute(y, "rspace", "0pt"), w.attributes.getExplicit("lspace") == null && to.default.setAttribute(w, "lspace", "0pt");
|
69892
69906
|
break;
|
69893
69907
|
}
|
69894
69908
|
y.attributes.setInherited("form", y.getForms()[0]);
|
@@ -69945,7 +69959,7 @@ var lF = Cr, J1 = Ukt(Ti), fE;
|
|
69945
69959
|
var y = Q.value, b = y.childNodes;
|
69946
69960
|
if (!(b[y[s]] && b[y[a]])) {
|
69947
69961
|
var w = y.parent, S = b[y[s]] ? o.nodeFactory.create("node", "m" + s, [b[y.base], b[y[s]]]) : o.nodeFactory.create("node", "m" + a, [b[y.base], b[y[a]]]);
|
69948
|
-
|
69962
|
+
to.default.copyAttributes(y, S), w ? w.replaceChild(S, y) : o.root = S, T.push(y);
|
69949
69963
|
}
|
69950
69964
|
}
|
69951
69965
|
} catch (x) {
|
@@ -69973,7 +69987,7 @@ var lF = Cr, J1 = Ukt(Ti), fE;
|
|
69973
69987
|
var b = y.childNodes[y.base], w = b.coreMO();
|
69974
69988
|
if (b.getProperty("movablelimits") && !w.attributes.getExplicit("movablelimits")) {
|
69975
69989
|
var S = o.nodeFactory.create("node", a, y.childNodes);
|
69976
|
-
|
69990
|
+
to.default.copyAttributes(y, S), y.parent ? y.parent.replaceChild(S, y) : o.root = S, T.push(y);
|
69977
69991
|
}
|
69978
69992
|
}
|
69979
69993
|
}
|
@@ -71617,7 +71631,7 @@ var dVt = V && V.__read || function(t, e) {
|
|
71617
71631
|
return t && t.__esModule ? t : { default: t };
|
71618
71632
|
};
|
71619
71633
|
Object.defineProperty(Qy, "__esModule", { value: !0 });
|
71620
|
-
var TVt = GK(MA), fVt = Tc, yF = GK(Ti), vF =
|
71634
|
+
var TVt = GK(MA), fVt = Tc, yF = GK(Ti), vF = q1, QVt = function() {
|
71621
71635
|
function t(e, r) {
|
71622
71636
|
r === void 0 && (r = []), this.options = {}, this.packageData = /* @__PURE__ */ new Map(), this.parsers = [], this.root = null, this.nodeLists = {}, this.error = !1, this.handlers = e.handlers, this.nodeFactory = new fVt.NodeFactory(), this.nodeFactory.configuration = this, this.nodeFactory.setCreators(e.nodes), this.itemFactory = new TVt.default(e.items), this.itemFactory.configuration = this, vF.defaultOptions.apply(void 0, pVt([this.options], dVt(r), !1)), (0, vF.defaultOptions)(this.options, e.options);
|
71623
71637
|
}
|
@@ -72121,7 +72135,7 @@ var yn = {}, Fd = {};
|
|
72121
72135
|
return S;
|
72122
72136
|
};
|
72123
72137
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.ParserConfiguration = t.ConfigurationHandler = t.Configuration = void 0;
|
72124
|
-
var n =
|
72138
|
+
var n = q1, i = Fd, o = gl, s = y0, a = I4, u = function() {
|
72125
72139
|
function f(Q, y, b, w, S, x, C, P, N, F, U, $, rt) {
|
72126
72140
|
y === void 0 && (y = {}), b === void 0 && (b = {}), w === void 0 && (w = {}), S === void 0 && (S = {}), x === void 0 && (x = {}), C === void 0 && (C = {}), P === void 0 && (P = []), N === void 0 && (N = []), F === void 0 && (F = null), U === void 0 && (U = null), this.name = Q, this.handler = y, this.fallback = b, this.items = w, this.tags = S, this.options = x, this.nodes = C, this.preprocessors = P, this.postprocessors = N, this.initMethod = F, this.configMethod = U, this.priority = $, this.parser = rt, this.handler = Object.assign({ character: [], delimiter: [], macro: [], environment: [] }, y);
|
72127
72141
|
}
|
@@ -73508,7 +73522,7 @@ var z8 = V && V.__assign || function() {
|
|
73508
73522
|
return t && t.__esModule ? t : { default: t };
|
73509
73523
|
};
|
73510
73524
|
Object.defineProperty(_2, "__esModule", { value: !0 });
|
73511
|
-
var OA = XVt(Er), ir = my(Ti), S1 = my(On), gy = my(Ho()), PA = ao, a1 = my(fi()), fc = Cr, KK = I4, YK = E3, gE = Dd, KVt =
|
73525
|
+
var OA = XVt(Er), ir = my(Ti), S1 = my(On), gy = my(Ho()), PA = ao, a1 = my(fi()), fc = Cr, KK = I4, YK = E3, gE = Dd, KVt = q1, yr = {}, YVt = 1.2 / 0.85, JVt = {
|
73512
73526
|
fontfamily: 1,
|
73513
73527
|
fontsize: 1,
|
73514
73528
|
fontweight: 1,
|
@@ -74957,7 +74971,7 @@ var _It = V && V.__extends || /* @__PURE__ */ function() {
|
|
74957
74971
|
return t && t.__esModule ? t : { default: t };
|
74958
74972
|
};
|
74959
74973
|
Object.defineProperty(LA, "__esModule", { value: !0 });
|
74960
|
-
var oY = LA.TeX = void 0, bF = Nd, LF =
|
74974
|
+
var oY = LA.TeX = void 0, bF = Nd, LF = q1, wF = dy, l7 = jd(wA), xF = jd(Ti), LIt = jd(Ho()), wIt = jd(On), xIt = jd(Qy), FT = I4, MIt = yn, EIt = function(t) {
|
74961
74975
|
_It(e, t);
|
74962
74976
|
function e(r) {
|
74963
74977
|
r === void 0 && (r = {});
|
@@ -75010,7 +75024,7 @@ oY = LA.TeX = EIt;
|
|
75010
75024
|
var MF = {}, yy = {}, zd = {};
|
75011
75025
|
Object.defineProperty(zd, "__esModule", { value: !0 });
|
75012
75026
|
zd.AbstractOutputJax = void 0;
|
75013
|
-
var EF =
|
75027
|
+
var EF = q1, SIt = gl, HIt = function() {
|
75014
75028
|
function t(e) {
|
75015
75029
|
e === void 0 && (e = {}), this.adaptor = null;
|
75016
75030
|
var r = this.constructor;
|
@@ -75615,7 +75629,7 @@ var NIt = V && V.__extends || /* @__PURE__ */ function() {
|
|
75615
75629
|
};
|
75616
75630
|
Object.defineProperty(yy, "__esModule", { value: !0 });
|
75617
75631
|
yy.CommonOutputJax = void 0;
|
75618
|
-
var AF = zd, _w = hc, DIt =
|
75632
|
+
var AF = zd, _w = hc, DIt = q1, FIt = E3, BIt = Ud, jIt = vy, zIt = function(t) {
|
75619
75633
|
NIt(e, t);
|
75620
75634
|
function e(r, n, i) {
|
75621
75635
|
r === void 0 && (r = null), n === void 0 && (n = null), i === void 0 && (i = null);
|
@@ -76071,7 +76085,7 @@ var f2 = {}, Um = V && V.__assign || function() {
|
|
76071
76085
|
};
|
76072
76086
|
Object.defineProperty(f2, "__esModule", { value: !0 });
|
76073
76087
|
f2.FontData = f2.NOSTRETCH = f2.H = f2.V = void 0;
|
76074
|
-
var OF =
|
76088
|
+
var OF = q1;
|
76075
76089
|
f2.V = 1;
|
76076
76090
|
f2.H = 2;
|
76077
76091
|
f2.NOSTRETCH = { dir: 0 };
|
@@ -91170,7 +91184,7 @@ q8.BitFieldClass = ojt;
|
|
91170
91184
|
return P.concat(rt || Array.prototype.slice.call(N));
|
91171
91185
|
};
|
91172
91186
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.AbstractMathDocument = t.resetAllOptions = t.resetOptions = t.RenderList = void 0;
|
91173
|
-
var o =
|
91187
|
+
var o = q1, s = Nd, a = zd, u = up, d = hc, T = jv, f = q8, Q = y0, y = function(P) {
|
91174
91188
|
e(N, P);
|
91175
91189
|
function N() {
|
91176
91190
|
return P !== null && P.apply(this, arguments) || this;
|
@@ -91769,7 +91783,7 @@ var Yv = {}, lj = V && V.__read || function(t, e) {
|
|
91769
91783
|
};
|
91770
91784
|
Object.defineProperty(Yv, "__esModule", { value: !0 });
|
91771
91785
|
Yv.HTMLDomStrings = void 0;
|
91772
|
-
var o9 =
|
91786
|
+
var o9 = q1, fjt = function() {
|
91773
91787
|
function t(e) {
|
91774
91788
|
e === void 0 && (e = null);
|
91775
91789
|
var r = this.constructor;
|
@@ -91877,7 +91891,7 @@ var Qjt = V && V.__extends || /* @__PURE__ */ function() {
|
|
91877
91891
|
};
|
91878
91892
|
Object.defineProperty(qv, "__esModule", { value: !0 });
|
91879
91893
|
qv.HTMLDocument = void 0;
|
91880
|
-
var Fw = WA, Bw =
|
91894
|
+
var Fw = WA, Bw = q1, mjt = Xv, gjt = Kv, cj = Yv, jw = hc, yjt = function(t) {
|
91881
91895
|
Qjt(e, t);
|
91882
91896
|
function e(r, n, i) {
|
91883
91897
|
var o = this, s = sf((0, Bw.separateOptions)(i, cj.HTMLDomStrings.OPTIONS), 2), a = s[0], u = s[1];
|
@@ -94647,7 +94661,7 @@ var qY = V && V.__values || function(t) {
|
|
94647
94661
|
}, Kw;
|
94648
94662
|
Object.defineProperty(uC, "__esModule", { value: !0 });
|
94649
94663
|
uC.ConfigMacrosConfiguration = void 0;
|
94650
|
-
var KY = yn, vj =
|
94664
|
+
var KY = yn, vj = q1, _j = Ir, zzt = XY(da), RE = la, NE = XY(hp), bj = dp, DE = "configmacros-map", FE = "configmacros-env-map";
|
94651
94665
|
function Uzt(t) {
|
94652
94666
|
new _j.CommandMap(DE, {}, {}), new _j.EnvironmentMap(FE, zzt.default.environment, {}, {}), t.append(KY.Configuration.local({
|
94653
94667
|
handler: {
|
@@ -95015,7 +95029,7 @@ function tJ() {
|
|
95015
95029
|
return T && T.__esModule ? T : { default: T };
|
95016
95030
|
};
|
95017
95031
|
Object.defineProperty(s9, "__esModule", { value: !0 }), s9.MathtoolsUtil = void 0;
|
95018
|
-
var r = Er, n = e(fi()), i = e(Ho()), o = e(On), s = la, a =
|
95032
|
+
var r = Er, n = e(fi()), i = e(Ho()), o = e(On), s = la, a = q1, u = eJ(), d = rJ();
|
95019
95033
|
return s9.MathtoolsUtil = {
|
95020
95034
|
setDisplayLevel: function(T, f) {
|
95021
95035
|
if (f) {
|
@@ -95111,7 +95125,7 @@ function eJ() {
|
|
95111
95125
|
return x && x.__esModule ? x : { default: x };
|
95112
95126
|
};
|
95113
95127
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MathtoolsMethods = void 0;
|
95114
|
-
var o = i(fi()), s = Qc, a = i(_2), u = i(Ho()), d = i(On), T = i(Ti), f = Cr, Q = E3, y =
|
95128
|
+
var o = i(fi()), s = Qc, a = i(_2), u = i(Ho()), d = i(On), T = i(Ti), f = Cr, Q = E3, y = q1, b = i(gc), w = i(hp), S = tJ();
|
95115
95129
|
t.MathtoolsMethods = {
|
95116
95130
|
MtMatrix: function(x, C, P, N) {
|
95117
95131
|
var F = x.GetBrackets("\\begin{".concat(C.getName(), "}"), "c");
|
@@ -95699,7 +95713,7 @@ function rJ() {
|
|
95699
95713
|
return b && b.__esModule ? b : { default: b };
|
95700
95714
|
}, n;
|
95701
95715
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.MathtoolsConfiguration = t.fixPrescripts = t.PAIREDDELIMS = void 0;
|
95702
|
-
var i = yn, o = Ir, s = r(Ti), a =
|
95716
|
+
var i = yn, o = Ir, s = r(Ti), a = q1;
|
95703
95717
|
dUt();
|
95704
95718
|
var u = tJ(), d = c_, T = u_;
|
95705
95719
|
t.PAIREDDELIMS = "mathtools-paired-delims";
|
@@ -97524,7 +97538,7 @@ var yC = {}, FUt = V && V.__read || function(t, e) {
|
|
97524
97538
|
return t && t.__esModule ? t : { default: t };
|
97525
97539
|
};
|
97526
97540
|
Object.defineProperty(yC, "__esModule", { value: !0 });
|
97527
|
-
var vC = Tp(_2),
|
97541
|
+
var vC = Tp(_2), G1 = Tp(Ho()), K8 = Tp(On), _C = Cr, Hh = Tp(fi()), BE = Tp(Ti), BUt = Tc, qn = {}, iJ = {
|
97528
97542
|
"(": ")",
|
97529
97543
|
"[": "]",
|
97530
97544
|
"{": "}",
|
@@ -97555,7 +97569,7 @@ qn.Quantity = function(t, e, r, n, i, o, s) {
|
|
97555
97569
|
}
|
97556
97570
|
if (u === "{") {
|
97557
97571
|
var b = t.GetArgument(e);
|
97558
|
-
u = i ? r : "\\{", Q = i ? n : "\\}", b = a ? u + " " + b + " " + Q : T ? "\\" + T + "l" + u + " " + b + " \\" + T + "r" + Q : "\\left" + u + " " + b + " \\right" + Q, t.Push(new
|
97572
|
+
u = i ? r : "\\{", Q = i ? n : "\\}", b = a ? u + " " + b + " " + Q : T ? "\\" + T + "l" + u + " " + b + " \\" + T + "r" + Q : "\\left" + u + " " + b + " \\right" + Q, t.Push(new G1.default(b, t.stack.env, t.configuration).mml());
|
97559
97573
|
return;
|
97560
97574
|
}
|
97561
97575
|
i && (u = r, Q = n), t.i++, t.Push(t.itemFactory.create("auto open").setProperties({ open: u, close: Q, big: T }));
|
@@ -97589,7 +97603,7 @@ qn.Commutator = function(t, e, r, n) {
|
|
97589
97603
|
if (o !== "{")
|
97590
97604
|
throw new K8.default("MissingArgFor", "Missing argument for %1", t.currentCS);
|
97591
97605
|
var a = t.GetArgument(e), u = t.GetArgument(e), d = a + "," + u;
|
97592
|
-
d = i ? r + " " + d + " " + n : s ? "\\" + s + "l" + r + " " + d + " \\" + s + "r" + n : "\\left" + r + " " + d + " \\right" + n, t.Push(new
|
97606
|
+
d = i ? r + " " + d + " " + n : s ? "\\" + s + "l" + r + " " + d + " \\" + s + "r" + n : "\\left" + r + " " + d + " \\right" + n, t.Push(new G1.default(d, t.stack.env, t.configuration).mml());
|
97593
97607
|
};
|
97594
97608
|
var jUt = [65, 90], zUt = [97, 122], UUt = [913, 937], GUt = [945, 969], $Ut = [48, 57];
|
97595
97609
|
function a9(t, e) {
|
@@ -97602,7 +97616,7 @@ function ZUt(t, e, r, n) {
|
|
97602
97616
|
qn.VectorBold = function(t, e) {
|
97603
97617
|
var r = t.GetStar(), n = t.GetArgument(e), i = t.configuration.nodeFactory.get("token"), o = t.stack.env.font;
|
97604
97618
|
delete t.stack.env.font, t.configuration.nodeFactory.set("token", ZUt), t.stack.env.vectorFont = r ? "bold-italic" : "bold", t.stack.env.vectorStar = r;
|
97605
|
-
var s = new
|
97619
|
+
var s = new G1.default(n, t.stack.env, t.configuration).mml();
|
97606
97620
|
o && (t.stack.env.font = o), delete t.stack.env.vectorFont, delete t.stack.env.vectorStar, t.configuration.nodeFactory.set("token", i), t.Push(s);
|
97607
97621
|
};
|
97608
97622
|
qn.StarMacro = function(t, e, r) {
|
@@ -97616,7 +97630,7 @@ qn.StarMacro = function(t, e, r) {
|
|
97616
97630
|
u = Hh.default.substituteArgs(t, s, u), t.string = Hh.default.addArgs(t, u, t.string.slice(t.i)), t.i = 0, Hh.default.checkMaxMacros(t);
|
97617
97631
|
};
|
97618
97632
|
var sJ = function(t, e, r, n, i) {
|
97619
|
-
var o = new
|
97633
|
+
var o = new G1.default(n, t.stack.env, t.configuration).mml();
|
97620
97634
|
t.Push(t.itemFactory.create(e, o));
|
97621
97635
|
var s = t.GetNext(), a = iJ[s];
|
97622
97636
|
if (a) {
|
@@ -97644,7 +97658,7 @@ qn.Expression = function(t, e, r, n) {
|
|
97644
97658
|
r === void 0 && (r = !0), n === void 0 && (n = ""), n = n || e.slice(1);
|
97645
97659
|
var i = r ? t.GetBrackets(e) : null, o = t.create("token", "mi", { texClass: _C.TEXCLASS.OP }, n);
|
97646
97660
|
if (i) {
|
97647
|
-
var s = new
|
97661
|
+
var s = new G1.default(i, t.stack.env, t.configuration).mml();
|
97648
97662
|
o = t.create("node", "msup", [o, s]);
|
97649
97663
|
}
|
97650
97664
|
t.Push(t.itemFactory.create("fn", o)), t.GetNext() === "(" && (t.i++, t.Push(t.itemFactory.create("auto open").setProperties({ open: "(", close: ")" })));
|
@@ -97657,17 +97671,17 @@ qn.Differential = function(t, e, r) {
|
|
97657
97671
|
var n = t.GetBrackets(e), i = n != null ? "^{" + n + "}" : " ", o = t.GetNext() === "(", s = t.GetNext() === "{", a = r + i;
|
97658
97672
|
if (!(o || s)) {
|
97659
97673
|
a += t.GetArgument(e, !0) || "";
|
97660
|
-
var u = new
|
97674
|
+
var u = new G1.default(a, t.stack.env, t.configuration).mml();
|
97661
97675
|
t.Push(u);
|
97662
97676
|
return;
|
97663
97677
|
}
|
97664
97678
|
if (s) {
|
97665
97679
|
a += t.GetArgument(e);
|
97666
|
-
var u = new
|
97680
|
+
var u = new G1.default(a, t.stack.env, t.configuration).mml();
|
97667
97681
|
t.Push(t.create("node", "TeXAtom", [u], { texClass: _C.TEXCLASS.OP }));
|
97668
97682
|
return;
|
97669
97683
|
}
|
97670
|
-
t.Push(new
|
97684
|
+
t.Push(new G1.default(a, t.stack.env, t.configuration).mml()), t.i++, t.Push(t.itemFactory.create("auto open").setProperties({ open: "(", close: ")" }));
|
97671
97685
|
};
|
97672
97686
|
qn.Derivative = function(t, e, r, n) {
|
97673
97687
|
var i = t.GetStar(), o = t.GetBrackets(e), s = 1, a = [];
|
@@ -97678,7 +97692,7 @@ qn.Derivative = function(t, e, r, n) {
|
|
97678
97692
|
for (var f = i ? "\\flatfrac" : "\\frac", Q = a.length > 1 ? a[0] : "", y = a.length > 1 ? a[1] : a[0], b = "", w = 2, S = void 0; S = a[w]; w++)
|
97679
97693
|
b += n + " " + S;
|
97680
97694
|
var x = f + "{" + n + d + Q + "}{" + n + " " + y + T + " " + b + "}";
|
97681
|
-
t.Push(new
|
97695
|
+
t.Push(new G1.default(x, t.stack.env, t.configuration).mml()), t.GetNext() === "(" && (t.i++, t.Push(t.itemFactory.create("auto open").setProperties({ open: "(", close: ")", ignore: u })));
|
97682
97696
|
};
|
97683
97697
|
qn.Bra = function(t, e) {
|
97684
97698
|
var r = t.GetStar(), n = t.GetArgument(e), i = "", o = !1, s = !1;
|
@@ -97689,23 +97703,23 @@ qn.Bra = function(t, e) {
|
|
97689
97703
|
d && d.symbol === "ket" ? (o = !0, a = t.i, s = t.GetStar(), t.GetNext() === "{" ? i = t.GetArgument(u, !0) : (t.i = a, s = !1)) : t.i = a;
|
97690
97704
|
}
|
97691
97705
|
var T = "";
|
97692
|
-
o ? T = r || s ? "\\langle{".concat(n, "}\\vert{").concat(i, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(i, "}\\right\\rangle") : T = r || s ? "\\langle{".concat(n, "}\\vert") : "\\left\\langle{".concat(n, "}\\right\\vert{").concat(i, "}"), t.Push(new
|
97706
|
+
o ? T = r || s ? "\\langle{".concat(n, "}\\vert{").concat(i, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(i, "}\\right\\rangle") : T = r || s ? "\\langle{".concat(n, "}\\vert") : "\\left\\langle{".concat(n, "}\\right\\vert{").concat(i, "}"), t.Push(new G1.default(T, t.stack.env, t.configuration).mml());
|
97693
97707
|
};
|
97694
97708
|
qn.Ket = function(t, e) {
|
97695
97709
|
var r = t.GetStar(), n = t.GetArgument(e), i = r ? "\\vert{".concat(n, "}\\rangle") : "\\left\\vert{".concat(n, "}\\right\\rangle");
|
97696
|
-
t.Push(new
|
97710
|
+
t.Push(new G1.default(i, t.stack.env, t.configuration).mml());
|
97697
97711
|
};
|
97698
97712
|
qn.BraKet = function(t, e) {
|
97699
97713
|
var r = t.GetStar(), n = t.GetArgument(e), i = null;
|
97700
97714
|
t.GetNext() === "{" && (i = t.GetArgument(e, !0));
|
97701
97715
|
var o = "";
|
97702
|
-
i == null ? o = r ? "\\langle{".concat(n, "}\\vert{").concat(n, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(n, "}\\right\\rangle") : o = r ? "\\langle{".concat(n, "}\\vert{").concat(i, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(i, "}\\right\\rangle"), t.Push(new
|
97716
|
+
i == null ? o = r ? "\\langle{".concat(n, "}\\vert{").concat(n, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(n, "}\\right\\rangle") : o = r ? "\\langle{".concat(n, "}\\vert{").concat(i, "}\\rangle") : "\\left\\langle{".concat(n, "}\\middle\\vert{").concat(i, "}\\right\\rangle"), t.Push(new G1.default(o, t.stack.env, t.configuration).mml());
|
97703
97717
|
};
|
97704
97718
|
qn.KetBra = function(t, e) {
|
97705
97719
|
var r = t.GetStar(), n = t.GetArgument(e), i = null;
|
97706
97720
|
t.GetNext() === "{" && (i = t.GetArgument(e, !0));
|
97707
97721
|
var o = "";
|
97708
|
-
i == null ? o = r ? "\\vert{".concat(n, "}\\rangle\\!\\langle{").concat(n, "}\\vert") : "\\left\\vert{".concat(n, "}\\middle\\rangle\\!\\middle\\langle{").concat(n, "}\\right\\vert") : o = r ? "\\vert{".concat(n, "}\\rangle\\!\\langle{").concat(i, "}\\vert") : "\\left\\vert{".concat(n, "}\\middle\\rangle\\!\\middle\\langle{").concat(i, "}\\right\\vert"), t.Push(new
|
97722
|
+
i == null ? o = r ? "\\vert{".concat(n, "}\\rangle\\!\\langle{").concat(n, "}\\vert") : "\\left\\vert{".concat(n, "}\\middle\\rangle\\!\\middle\\langle{").concat(n, "}\\right\\vert") : o = r ? "\\vert{".concat(n, "}\\rangle\\!\\langle{").concat(i, "}\\vert") : "\\left\\vert{".concat(n, "}\\middle\\rangle\\!\\middle\\langle{").concat(i, "}\\right\\vert"), t.Push(new G1.default(o, t.stack.env, t.configuration).mml());
|
97709
97723
|
};
|
97710
97724
|
function aJ(t, e, r) {
|
97711
97725
|
var n = FUt(t, 3), i = n[0], o = n[1], s = n[2];
|
@@ -97715,11 +97729,11 @@ qn.Expectation = function(t, e) {
|
|
97715
97729
|
var r = t.GetStar(), n = r && t.GetStar(), i = t.GetArgument(e), o = null;
|
97716
97730
|
t.GetNext() === "{" && (o = t.GetArgument(e, !0));
|
97717
97731
|
var s = i && o ? aJ([o, i, o], r, n) : r ? "\\langle {".concat(i, "} \\rangle") : "\\left\\langle {".concat(i, "} \\right\\rangle");
|
97718
|
-
t.Push(new
|
97732
|
+
t.Push(new G1.default(s, t.stack.env, t.configuration).mml());
|
97719
97733
|
};
|
97720
97734
|
qn.MatrixElement = function(t, e) {
|
97721
97735
|
var r = t.GetStar(), n = r && t.GetStar(), i = t.GetArgument(e), o = t.GetArgument(e), s = t.GetArgument(e), a = aJ([i, o, s], r, n);
|
97722
|
-
t.Push(new
|
97736
|
+
t.Push(new G1.default(a, t.stack.env, t.configuration).mml());
|
97723
97737
|
};
|
97724
97738
|
qn.MatrixQuantity = function(t, e, r) {
|
97725
97739
|
var n = t.GetStar(), i = t.GetNext(), o = r ? "smallmatrix" : "array", s = "", a = "", u = "";
|
@@ -97741,7 +97755,7 @@ qn.MatrixQuantity = function(t, e, r) {
|
|
97741
97755
|
break;
|
97742
97756
|
}
|
97743
97757
|
var d = (a ? "\\left" : "") + a + "\\begin{" + o + "}{} " + s + "\\end{" + o + "}" + (a ? "\\right" : "") + u;
|
97744
|
-
t.Push(new
|
97758
|
+
t.Push(new G1.default(d, t.stack.env, t.configuration).mml());
|
97745
97759
|
};
|
97746
97760
|
qn.IdentityMatrix = function(t, e) {
|
97747
97761
|
var r = t.GetArgument(e), n = parseInt(r, 10);
|
@@ -97841,11 +97855,11 @@ qn.AutoClose = function(t, e, r) {
|
|
97841
97855
|
};
|
97842
97856
|
qn.Vnabla = function(t, e) {
|
97843
97857
|
var r = t.options.physics.arrowdel ? "\\vec{\\gradientnabla}" : "{\\gradientnabla}";
|
97844
|
-
return t.Push(new
|
97858
|
+
return t.Push(new G1.default(r, t.stack.env, t.configuration).mml());
|
97845
97859
|
};
|
97846
97860
|
qn.DiffD = function(t, e) {
|
97847
97861
|
var r = t.options.physics.italicdiff ? "d" : "{\\rm d}";
|
97848
|
-
return t.Push(new
|
97862
|
+
return t.Push(new G1.default(r, t.stack.env, t.configuration).mml());
|
97849
97863
|
};
|
97850
97864
|
qn.Macro = vC.default.Macro;
|
97851
97865
|
qn.NamedFn = vC.default.NamedFn;
|
@@ -98122,7 +98136,7 @@ var KUt = {};
|
|
98122
98136
|
return Q && Q.__esModule ? Q : { default: Q };
|
98123
98137
|
};
|
98124
98138
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.SetOptionsConfiguration = t.SetOptionsUtil = void 0;
|
98125
|
-
var n = yn, i = Ir, o = r(On), s = r(fi()), a = la, u = r(_2), d =
|
98139
|
+
var n = yn, i = Ir, o = r(On), s = r(fi()), a = la, u = r(_2), d = q1;
|
98126
98140
|
t.SetOptionsUtil = {
|
98127
98141
|
filterPackage: function(Q, y) {
|
98128
98142
|
if (y !== "tex" && !n.ConfigurationHandler.get(y))
|
@@ -98989,7 +99003,7 @@ var M5, Xi, U7, G7, B9, j9, z9, $7, jo, U9, m5, Z7, G9, df, W7, $9, q7, Z9, X7,
|
|
98989
99003
|
class VGt {
|
98990
99004
|
constructor(e) {
|
98991
99005
|
Ft(this, m5), Ft(this, G9), Ft(this, W7), Ft(this, q7), Ft(this, X7), Ft(this, hg), Ft(this, HQ), Ft(this, q9), Ft(this, Ah), Ft(this, M5, /* @__PURE__ */ new Map()), Ft(this, Xi, null), Ft(this, U7, /* @__PURE__ */ new Map()), Ft(this, G7, 0), Ft(this, B9, 9e5), Ft(this, j9, null), Ft(this, z9, void 0), Ft(this, $7, void 0), Ft(this, jo, /* @__PURE__ */ new Map()), Ft(this, U9, void 0), this._flatmap = e, this._map = e.map, this._currentPopup = null, this._infoControl = null, this._tooltip = null, this._inQuery = !1, this._modal = !1, this.__colourOptions = { colour: !0, outline: !0 }, this.__activeMarker = null, this.__markerIdByMarker = /* @__PURE__ */ new Map(), this.__markerIdByFeatureId = /* @__PURE__ */ new Map(), this.__annotationByMarkerId = /* @__PURE__ */ new Map(), this.__markerPositions = /* @__PURE__ */ new Map(), this.__featureEnabledCount = new Map(Array.from(this._flatmap.annotations.keys()).map((o) => [+o, 0]));
|
98992
|
-
const r = e.options.style !==
|
99006
|
+
const r = e.options.style !== U1.FUNCTIONAL;
|
98993
99007
|
this.tooltipDelay = e.options.tooltipDelay || 0, this.__pathManager = new Ugt(e, this, r);
|
98994
99008
|
const n = this.__pathManager.pathTypes();
|
98995
99009
|
if (this._layerManager = new jPt(e, this), this.__pathManager.enablePathLines(!0, !0), Yt(this, $7, new GPt(n)), this._layerManager.addFilteredFacet(K(this, $7)), Yt(this, z9, new UPt(this.__pathManager.nerveCentrelineDetails)), this._layerManager.addFilteredFacet(K(this, z9)), this.__systemsManager = new ZPt(this._flatmap, this, r), Yt(this, U9, new $Pt(this._flatmap.taxonIdentifiers)), this._layerManager.addFilteredFacet(K(this, U9)), e.options.minimap && (Yt(this, j9, new ckt(
|
@@ -99000,7 +99014,7 @@ class VGt {
|
|
99000
99014
|
const o = e.options.navigationControl, s = typeof o == "string" && ["top-left", "top-right", "bottom-right", "bottom-left"].includes(o) ? o : "bottom-right";
|
99001
99015
|
this._map.addControl(new NavigationControl(e), s);
|
99002
99016
|
}
|
99003
|
-
e.options.standalone && (this._map.addControl(new skt(e)), this._infoControl = new qPt(e), this._map.addControl(this._infoControl), this._map.addControl(new tkt(e)), this._map.addControl(new ikt(e, n)), e.options.style ===
|
99017
|
+
e.options.standalone && (this._map.addControl(new skt(e)), this._infoControl = new qPt(e), this._map.addControl(this._infoControl), this._map.addControl(new tkt(e)), this._map.addControl(new ikt(e, n)), e.options.style === U1.ANATOMICAL && this.__pathManager.haveCentrelines && this._map.addControl(new nkt(e, this)), e.options.style === U1.FUNCTIONAL ? (this._map.addControl(new ukt(e, this.__systemsManager.systems)), this._map.addControl(new YPt(e, e.options.layerOptions))) : this._map.addControl(new hkt(e)), e.has_flightpaths && this._map.addControl(new okt(e, e.options.flightPaths)), e.options.annotator && this._map.addControl(new JPt(e)), this._map.addControl(new KPt(e, this._layerManager))), this.__setupAnnotation(), Yt(this, Xi, new rkt(e, !1)), this._map.addControl(K(this, Xi)), e.options.flightPaths === !0 && this._layerManager.setFlightPathMode(!0);
|
99004
99018
|
const i = this.mouseMoveEvent_.bind(this);
|
99005
99019
|
this._map.on("click", this.clickEvent_.bind(this)), this._map.on("dblclick", (o) => {
|
99006
99020
|
const s = this._layerManager.featuresAtPoint(o.point);
|
@@ -99290,6 +99304,12 @@ class VGt {
|
|
99290
99304
|
removeTooltip_() {
|
99291
99305
|
this._tooltip && (this._tooltip.remove(), this._tooltip = null);
|
99292
99306
|
}
|
99307
|
+
/**
|
99308
|
+
* Remove the currently active popup from the map.
|
99309
|
+
*/
|
99310
|
+
removePopup() {
|
99311
|
+
this._currentPopup && (this._currentPopup.remove(), this._currentPopup = null);
|
99312
|
+
}
|
99293
99313
|
lineTooltip_(e) {
|
99294
99314
|
const r = [];
|
99295
99315
|
for (const n of e) {
|
@@ -99363,7 +99383,7 @@ class VGt {
|
|
99363
99383
|
o || i || s
|
99364
99384
|
);
|
99365
99385
|
} else if (r.length) {
|
99366
|
-
if (this.__lastClickLngLat = e.lngLat, this._flatmap.options.style !==
|
99386
|
+
if (this.__lastClickLngLat = e.lngLat, this._flatmap.options.style !== U1.CENTRELINE)
|
99367
99387
|
ie(this, q9, AQ).call(this, e.originalEvent), this.__featureEvent("click", i);
|
99368
99388
|
else {
|
99369
99389
|
const o = /* @__PURE__ */ new Set();
|
@@ -99629,7 +99649,7 @@ M5 = /* @__PURE__ */ new WeakMap(), Xi = /* @__PURE__ */ new WeakMap(), U7 = /*
|
|
99629
99649
|
i,
|
99630
99650
|
ie(this, Ah, CQ).call(this, o, e)
|
99631
99651
|
) ? (this._lastFeatureMouseEntered = o, this._lastFeatureModelsMouse = s) : (this._lastFeatureMouseEntered = null, this._lastFeatureModelsMouse = null);
|
99632
|
-
else if (this._flatmap.options.style ===
|
99652
|
+
else if (this._flatmap.options.style === U1.CENTRELINE && i.properties.centreline && this._lastFeatureMouseEntered === o) {
|
99633
99653
|
const Q = ie(this, Ah, CQ).call(this, o, e);
|
99634
99654
|
"location" in Q && this.__featureEvent("mousemove", i, Q);
|
99635
99655
|
}
|
@@ -99675,7 +99695,7 @@ M5 = /* @__PURE__ */ new WeakMap(), Xi = /* @__PURE__ */ new WeakMap(), U7 = /*
|
|
99675
99695
|
e ? this.selectFeature(r, i) : this.featureSelected_(r) ? this.unselectFeature(r) : this.selectFeature(r, i);
|
99676
99696
|
}
|
99677
99697
|
}, Ah = /* @__PURE__ */ new WeakSet(), CQ = function(t, e) {
|
99678
|
-
if (e && this._flatmap.options.style ===
|
99698
|
+
if (e && this._flatmap.options.style === U1.CENTRELINE) {
|
99679
99699
|
const r = this._flatmap.annotation(t);
|
99680
99700
|
if (r.centreline && "lineString" in r) {
|
99681
99701
|
const n = r.lineString, i = iH([e.lng, e.lat]);
|
@@ -99726,7 +99746,7 @@ const IGt = [
|
|
99726
99746
|
stretchY: [[7, 9]]
|
99727
99747
|
}
|
99728
99748
|
}
|
99729
|
-
], RGt = "3.2.
|
99749
|
+
], RGt = "3.2.12", NGt = 1.4, DGt = 1.6, fJ = "NCBITaxon:2787823", FGt = [
|
99730
99750
|
"bounds",
|
99731
99751
|
"class",
|
99732
99752
|
"coordinates",
|
@@ -99745,9 +99765,9 @@ const IGt = [
|
|
99745
99765
|
"source",
|
99746
99766
|
"tile-layer"
|
99747
99767
|
];
|
99748
|
-
class
|
99768
|
+
class U1 {
|
99749
99769
|
}
|
99750
|
-
dt(
|
99770
|
+
dt(U1, "FUNCTIONAL", "functional"), dt(U1, "ANATOMICAL", "anatomical"), dt(U1, "CENTRELINE", "centreline"), dt(U1, "GENERIC", "flatmap");
|
99751
99771
|
var X9, K9, Wa, h2, Y9, D6, v8, OQ, GE;
|
99752
99772
|
class BGt {
|
99753
99773
|
constructor(e, r, n, i) {
|
@@ -100040,7 +100060,7 @@ class BGt {
|
|
100040
100060
|
o ? o.push(n) : r.set(i, [n]);
|
100041
100061
|
}
|
100042
100062
|
__updateFeatureIdMap(e, r, n, i = null) {
|
100043
|
-
if (!n.centreline)
|
100063
|
+
if (!(this.options.style !== U1.CENTRELINE && n.centreline))
|
100044
100064
|
if (e in n && n[e].length) {
|
100045
100065
|
const o = n[e];
|
100046
100066
|
if (Array.isArray(o))
|
@@ -100059,7 +100079,7 @@ class BGt {
|
|
100059
100079
|
const o = this.__featurePropertyValues.get(n);
|
100060
100080
|
Array.isArray(i) ? this.__featurePropertyValues.set(n, o.union(new z6(i.map((s) => `${s}`)))) : o.add(`${i}`);
|
100061
100081
|
}
|
100062
|
-
this.__annIdToFeatureId.set(r.id, e), this.options.style ===
|
100082
|
+
this.__annIdToFeatureId.set(r.id, e), this.options.style === U1.CENTRELINE && r.centreline && (r.lineString = JG(r.coordinates), r.lineLength = uZ(r.lineString));
|
100063
100083
|
}
|
100064
100084
|
modelFeatureIds(e) {
|
100065
100085
|
const r = yT(e);
|
@@ -100191,6 +100211,12 @@ class BGt {
|
|
100191
100211
|
showPopup(e, r, n) {
|
100192
100212
|
this._userInteractions !== null && this._userInteractions.showPopup(e, r, n);
|
100193
100213
|
}
|
100214
|
+
/**
|
100215
|
+
* Remove the currently active popup from the map.
|
100216
|
+
*/
|
100217
|
+
removePopup() {
|
100218
|
+
this._userInteractions !== null && this._userInteractions.removePopup();
|
100219
|
+
}
|
100194
100220
|
setPaint(e = null) {
|
100195
100221
|
e = p8(e, {
|
100196
100222
|
colour: !0,
|
@@ -100509,7 +100535,7 @@ class BGt {
|
|
100509
100535
|
* `draw_polygon` or `draw_point`. Options is accepted in first three modes.
|
100510
100536
|
* More details in mapbox-gl-draw github repository.
|
100511
100537
|
*
|
100512
|
-
* @param type {Object} The object
|
100538
|
+
* @param type {Object} The object
|
100513
100539
|
* @param type.mode {string} Either ``simple_select``, ``direct_select``, etc
|
100514
100540
|
* @param type.options {Object} Feature id(s) object.
|
100515
100541
|
*/
|
@@ -100965,7 +100991,7 @@ class xC {
|
|
100965
100991
|
if (u !== T)
|
100966
100992
|
throw new Error(`Map '${u}' has wrong ID in index`);
|
100967
100993
|
const f = Object.assign({}, this._options, i);
|
100968
|
-
!("bounds" in i) && "bounds" in d && (f.bounds = d.bounds), "style" in d ? f.style = d.style : f.style =
|
100994
|
+
!("bounds" in i) && "bounds" in d && (f.bounds = d.bounds), "style" in d ? f.style = d.style : f.style = U1.GENERIC, !("image-layers" in d) && "image_layer" in d && (d["image-layers"] = d.image_layer);
|
100969
100995
|
let Q = [];
|
100970
100996
|
if (!("version" in d) || d.version <= 1)
|
100971
100997
|
for (const x of d.layers)
|
@@ -101573,7 +101599,7 @@ This will fail in production.`);
|
|
101573
101599
|
u._hotUpdate(Q), delete a.state.value[f], a._s.delete(f);
|
101574
101600
|
}
|
101575
101601
|
if (process.env.NODE_ENV !== "production" && MC) {
|
101576
|
-
const f =
|
101602
|
+
const f = Z1();
|
101577
101603
|
if (f && f.proxy && // avoid adding stores that are just built for hot module replacement
|
101578
101604
|
!u) {
|
101579
101605
|
const Q = f.proxy, y = "_pStores" in Q ? Q._pStores : Q._pStores = {};
|
@@ -101665,7 +101691,7 @@ const YGt = XGt("main", {
|
|
101665
101691
|
},
|
101666
101692
|
setup(t) {
|
101667
101693
|
let e = ln("$annotator");
|
101668
|
-
return e || (e = xo(new UGt(`${t.flatmapAPI}annotator`)),
|
101694
|
+
return e || (e = xo(new UGt(`${t.flatmapAPI}annotator`)), $1("$annotator", e)), { annotator: e };
|
101669
101695
|
},
|
101670
101696
|
methods: {
|
101671
101697
|
/**
|
@@ -102304,7 +102330,7 @@ const YGt = XGt("main", {
|
|
102304
102330
|
* Function to remove active tooltips on map.
|
102305
102331
|
*/
|
102306
102332
|
removeActiveTooltips: function() {
|
102307
|
-
this.$el.querySelectorAll(".flatmap-tooltip-popup").forEach((t) => t.remove());
|
102333
|
+
this.mapImp && this.mapImp.removePopup(), this.$el.querySelectorAll(".flatmap-tooltip-popup").forEach((t) => t.remove());
|
102308
102334
|
},
|
102309
102335
|
/**
|
102310
102336
|
* Function to create tooltip for the provided connectivity data.
|
@@ -103221,7 +103247,7 @@ const YGt = XGt("main", {
|
|
103221
103247
|
mounted: function() {
|
103222
103248
|
this.openMapRef = VQ(this.$refs.openMapRef), this.backgroundIconRef = VQ(this.$refs.backgroundIconRef), this.tooltipWait.length = this.hoverVisibilities.length, this.flatmapQueries = xo(new z4t()), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
|
103223
103249
|
}
|
103224
|
-
}, Qa = (t) => (YE("data-v-
|
103250
|
+
}, Qa = (t) => (YE("data-v-0c1f2dcf"), t = t(), JE(), t), n$t = {
|
103225
103251
|
class: "flatmap-container",
|
103226
103252
|
ref: "flatmapContainer",
|
103227
103253
|
"element-loading-text": "Loading...",
|
@@ -103937,7 +103963,7 @@ function M$t(t, e, r, n, i, o) {
|
|
103937
103963
|
[at, t.loading]
|
103938
103964
|
]);
|
103939
103965
|
}
|
103940
|
-
const yJ = /* @__PURE__ */ Cg(r$t, [["render", M$t], ["__scopeId", "data-v-
|
103966
|
+
const yJ = /* @__PURE__ */ Cg(r$t, [["render", M$t], ["__scopeId", "data-v-0c1f2dcf"]]);
|
103941
103967
|
function E$t(t) {
|
103942
103968
|
return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, r) {
|
103943
103969
|
var n = t.get(e);
|