@abi-software/flatmapvuer 1.9.0-beta.5 → 1.9.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flatmapvuer.js +661 -676
- package/dist/flatmapvuer.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/FlatmapVuer.vue +49 -41
- package/src/components/MultiFlatmapVuer.vue +9 -0
package/dist/flatmapvuer.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Loading as hj, CircleCheck as _J, CircleClose as dj, Close as FM, ArrowDown as oA, Warning as pj, WarningFilled as fj, ArrowLeft as Tj } from "@element-plus/icons-vue";
|
|
2
|
-
import { getCurrentScope as bJ, onScopeDispose as Qj, unref as wt, getCurrentInstance as p1, onMounted as Ko, nextTick as Ro, ref as Ye, readonly as mj, watch as Qr, warn as xJ, watchEffect as gj, onBeforeUnmount as qa, inject as yr, computed as ue, isRef as B6, shallowRef as Vg, onBeforeMount as LJ, provide as Xo, defineComponent as Bn, openBlock as
|
|
2
|
+
import { getCurrentScope as bJ, onScopeDispose as Qj, unref as wt, getCurrentInstance as p1, onMounted as Ko, nextTick as Ro, ref as Ye, readonly as mj, watch as Qr, warn as xJ, watchEffect as gj, onBeforeUnmount as qa, inject as yr, computed as ue, isRef as B6, shallowRef as Vg, onBeforeMount as LJ, provide as Xo, defineComponent as Bn, openBlock as be, createElementBlock as En, mergeProps as xc, renderSlot as Zn, toRef as B3, onUnmounted as wJ, createBlock as Fn, Transition as pf, withCtx as ke, withDirectives as _i, createElementVNode as yn, normalizeClass as nn, normalizeStyle as No, vShow as ws, Fragment as C1, createVNode as sn, reactive as F6, onActivated as MJ, onUpdated as EJ, resolveDynamicComponent as Na, createCommentVNode as zn, cloneVNode as SJ, Text as yj, Comment as AJ, Teleport as HJ, onDeactivated as CJ, toDisplayString as bi, useSlots as hv, toRaw as Rg, withModifiers as bo, vModelCheckbox as Ng, createTextVNode as kr, toRefs as U8, vModelRadio as vj, h as Ku, createSlots as _j, resolveComponent as Va, resolveDirective as OJ, toHandlerKey as PJ, renderList as S6, withKeys as a9, vModelText as kJ, createApp as IJ, createStaticVNode as VJ, markRaw as C3 } from "vue";
|
|
3
3
|
import { MapSvgIcon as RJ, MapSvgSpriteColor as NJ } from "@abi-software/svg-sprite";
|
|
4
4
|
import { AnnotationService as DJ } from "@abi-software/sparc-annotation";
|
|
5
5
|
import { defineStore as BJ, mapState as FJ } from "pinia";
|
|
@@ -1949,10 +1949,10 @@ function aot(e) {
|
|
|
1949
1949
|
for (var i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, s = a === void 0 ? !0 : a, u = n.fallbackPlacements, h = n.padding, d = n.boundary, Q = n.rootBoundary, m = n.altBoundary, v = n.flipVariations, x = v === void 0 ? !0 : v, L = n.allowedAutoPlacements, H = t.options.placement, M = U3(H), P = M === H, I = u || (P || !x ? [fm(H)] : sot(H)), D = [H].concat(I).reduce(function(cn, en) {
|
|
1950
1950
|
return cn.concat(U3(en) === mA ? oot(t, { placement: en, boundary: d, rootBoundary: Q, padding: h, flipVariations: x, allowedAutoPlacements: L }) : en);
|
|
1951
1951
|
}, []), z = t.rects.reference, G = t.rects.popper, Z = /* @__PURE__ */ new Map(), rt = !0, ot = D[0], ft = 0; ft < D.length; ft++) {
|
|
1952
|
-
var ht = D[ft], At = U3(ht), $t = x8(ht) === y8, ce = [As, Ua].indexOf(At) >= 0,
|
|
1953
|
-
z[
|
|
1954
|
-
var
|
|
1955
|
-
if (o && cr.push(ae[At] <= 0), s && cr.push(ae[Qn] <= 0, ae[
|
|
1952
|
+
var ht = D[ft], At = U3(ht), $t = x8(ht) === y8, ce = [As, Ua].indexOf(At) >= 0, xe = ce ? "width" : "height", ae = zp(t, { placement: ht, boundary: d, rootBoundary: Q, altBoundary: m, padding: h }), Qn = ce ? $t ? Ga : Hs : $t ? Ua : As;
|
|
1953
|
+
z[xe] > G[xe] && (Qn = fm(Qn));
|
|
1954
|
+
var Un = fm(Qn), cr = [];
|
|
1955
|
+
if (o && cr.push(ae[At] <= 0), s && cr.push(ae[Qn] <= 0, ae[Un] <= 0), cr.every(function(cn) {
|
|
1956
1956
|
return cn;
|
|
1957
1957
|
})) {
|
|
1958
1958
|
ot = ht, rt = !1;
|
|
@@ -2012,7 +2012,7 @@ function Qot(e) {
|
|
|
2012
2012
|
var t = e.state, n = e.options, r = e.name, i = n.mainAxis, o = i === void 0 ? !0 : i, a = n.altAxis, s = a === void 0 ? !1 : a, u = n.boundary, h = n.rootBoundary, d = n.altBoundary, Q = n.padding, m = n.tether, v = m === void 0 ? !0 : m, x = n.tetherOffset, L = x === void 0 ? 0 : x, H = zp(t, { boundary: u, rootBoundary: h, padding: Q, altBoundary: d }), M = U3(t.placement), P = x8(t.placement), I = !P, D = vA(M), z = Tot(D), G = t.modifiersData.popperOffsets, Z = t.rects.reference, rt = t.rects.popper, ot = typeof L == "function" ? L(Object.assign({}, t.rects, { placement: t.placement })) : L, ft = typeof ot == "number" ? { mainAxis: ot, altAxis: ot } : Object.assign({ mainAxis: 0, altAxis: 0 }, ot), ht = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, At = { x: 0, y: 0 };
|
|
2013
2013
|
if (G) {
|
|
2014
2014
|
if (o) {
|
|
2015
|
-
var $t, ce = D === "y" ? As : Hs,
|
|
2015
|
+
var $t, ce = D === "y" ? As : Hs, xe = D === "y" ? Ua : Ga, ae = D === "y" ? "height" : "width", Qn = G[D], Un = Qn + H[ce], cr = Qn - H[xe], _e = v ? -rt[ae] / 2 : 0, Ne = P === y8 ? Z[ae] : rt[ae], gn = P === y8 ? -rt[ae] : -Z[ae], We = t.elements.arrow, cn = v && We ? yA(We) : { width: 0, height: 0 }, en = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Jj(), tn = en[ce], se = en[xe], me = tp(0, Z[ae], cn[ae]), ze = I ? Z[ae] / 2 - _e - me - tn - ft.mainAxis : Ne - me - tn - ft.mainAxis, Ie = I ? -Z[ae] / 2 + _e + me + se + ft.mainAxis : gn + me + se + ft.mainAxis, Ke = t.elements.arrow && mf(t.elements.arrow), vn = Ke ? D === "y" ? Ke.clientTop || 0 : Ke.clientLeft || 0 : 0, dn = ($t = ht == null ? void 0 : ht[D]) != null ? $t : 0, Xe = Qn + ze - dn - vn, Sn = Qn + Ie - dn, bn = tp(v ? jg(Un, Xe) : Un, Qn, v ? ec(cr, Sn) : cr);
|
|
2016
2016
|
G[D] = bn, At[D] = bn - Qn;
|
|
2017
2017
|
}
|
|
2018
2018
|
if (s) {
|
|
@@ -2516,7 +2516,7 @@ const Kot = Ir({
|
|
|
2516
2516
|
"--color": o
|
|
2517
2517
|
};
|
|
2518
2518
|
});
|
|
2519
|
-
return (i, o) => (
|
|
2519
|
+
return (i, o) => (be(), En("i", xc({
|
|
2520
2520
|
class: wt(n).b(),
|
|
2521
2521
|
style: wt(r)
|
|
2522
2522
|
}, i.$attrs), [
|
|
@@ -2644,7 +2644,7 @@ const Y3 = Os(t1t), MA = Symbol("formContextKey"), Ug = Symbol("formItemContextK
|
|
|
2644
2644
|
const z = () => {
|
|
2645
2645
|
document.onselectstart !== d && (document.onselectstart = d);
|
|
2646
2646
|
};
|
|
2647
|
-
return I2(B3(n, "scrollbarElement"), "mousemove", I), I2(B3(n, "scrollbarElement"), "mouseleave", D), (G, Z) => (
|
|
2647
|
+
return I2(B3(n, "scrollbarElement"), "mousemove", I), I2(B3(n, "scrollbarElement"), "mouseleave", D), (G, Z) => (be(), Fn(pf, {
|
|
2648
2648
|
name: wt(r).b("fade"),
|
|
2649
2649
|
persisted: ""
|
|
2650
2650
|
}, {
|
|
@@ -2699,14 +2699,14 @@ const s1t = Ir({
|
|
|
2699
2699
|
const v = m.offsetHeight - Eu, x = m.offsetWidth - Eu, L = v ** 2 / m.scrollHeight, H = x ** 2 / m.scrollWidth, M = Math.max(L, n.minSize), P = Math.max(H, n.minSize);
|
|
2700
2700
|
u.value = L / (v - L) / (M / (v - M)), h.value = H / (x - H) / (P / (x - P)), s.value = M + Eu < v ? `${M}px` : "", a.value = P + Eu < x ? `${P}px` : "";
|
|
2701
2701
|
}
|
|
2702
|
-
}), (m, v) => (
|
|
2703
|
-
|
|
2702
|
+
}), (m, v) => (be(), En(C1, null, [
|
|
2703
|
+
sn(Zk, {
|
|
2704
2704
|
move: i.value,
|
|
2705
2705
|
ratio: h.value,
|
|
2706
2706
|
size: a.value,
|
|
2707
2707
|
always: m.always
|
|
2708
2708
|
}, null, 8, ["move", "ratio", "size", "always"]),
|
|
2709
|
-
|
|
2709
|
+
sn(Zk, {
|
|
2710
2710
|
move: o.value,
|
|
2711
2711
|
ratio: u.value,
|
|
2712
2712
|
size: s.value,
|
|
@@ -2833,7 +2833,7 @@ const c1t = Ir({
|
|
|
2833
2833
|
setScrollTop: P,
|
|
2834
2834
|
setScrollLeft: I,
|
|
2835
2835
|
handleScroll: H
|
|
2836
|
-
}), (z, G) => (
|
|
2836
|
+
}), (z, G) => (be(), En("div", {
|
|
2837
2837
|
ref_key: "scrollbarRef",
|
|
2838
2838
|
ref: h,
|
|
2839
2839
|
class: nn(wt(i).b())
|
|
@@ -2846,7 +2846,7 @@ const c1t = Ir({
|
|
|
2846
2846
|
tabindex: z.tabindex,
|
|
2847
2847
|
onScroll: H
|
|
2848
2848
|
}, [
|
|
2849
|
-
(
|
|
2849
|
+
(be(), Fn(Na(z.tag), {
|
|
2850
2850
|
id: z.id,
|
|
2851
2851
|
ref_key: "resizeRef",
|
|
2852
2852
|
ref: Q,
|
|
@@ -2862,7 +2862,7 @@ const c1t = Ir({
|
|
|
2862
2862
|
_: 3
|
|
2863
2863
|
}, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
|
|
2864
2864
|
], 46, ["tabindex"]),
|
|
2865
|
-
z.native ?
|
|
2865
|
+
z.native ? zn("v-if", !0) : (be(), Fn(l1t, {
|
|
2866
2866
|
key: 0,
|
|
2867
2867
|
ref_key: "barRef",
|
|
2868
2868
|
ref: m,
|
|
@@ -2925,7 +2925,7 @@ const gz = Ir({
|
|
|
2925
2925
|
o.value = void 0;
|
|
2926
2926
|
}), t({
|
|
2927
2927
|
arrowRef: o
|
|
2928
|
-
}), (s, u) => (
|
|
2928
|
+
}), (s, u) => (be(), En("span", {
|
|
2929
2929
|
ref_key: "arrowRef",
|
|
2930
2930
|
ref: o,
|
|
2931
2931
|
class: nn(wt(r).e("arrow")),
|
|
@@ -2978,7 +2978,7 @@ function yz(e) {
|
|
|
2978
2978
|
}
|
|
2979
2979
|
function qk(e) {
|
|
2980
2980
|
const t = Xr("only-child");
|
|
2981
|
-
return
|
|
2981
|
+
return sn("span", {
|
|
2982
2982
|
class: t.e("content")
|
|
2983
2983
|
}, [e]);
|
|
2984
2984
|
}
|
|
@@ -3074,7 +3074,7 @@ const vz = Ir({
|
|
|
3074
3074
|
}
|
|
3075
3075
|
}), t({
|
|
3076
3076
|
triggerRef: i
|
|
3077
|
-
}), (Q, m) => Q.virtualTriggering ?
|
|
3077
|
+
}), (Q, m) => Q.virtualTriggering ? zn("v-if", !0) : (be(), Fn(wt(b1t), xc({ key: 0 }, Q.$attrs, {
|
|
3078
3078
|
"aria-controls": wt(o),
|
|
3079
3079
|
"aria-describedby": wt(a),
|
|
3080
3080
|
"aria-expanded": wt(u),
|
|
@@ -3574,12 +3574,12 @@ const U1t = 0, G1t = (e) => {
|
|
|
3574
3574
|
return Ko(() => {
|
|
3575
3575
|
Qr(() => r.triggerTargetEl, ($t, ce) => {
|
|
3576
3576
|
ft == null || ft(), ft = void 0;
|
|
3577
|
-
const
|
|
3578
|
-
tc(
|
|
3579
|
-
["role", "aria-label", "aria-modal", "id"].forEach((
|
|
3580
|
-
gv(Qn[cr]) ?
|
|
3577
|
+
const xe = wt($t || v.value), ae = wt(ce || v.value);
|
|
3578
|
+
tc(xe) && (ft = Qr([H, () => r.ariaLabel, P, () => r.id], (Qn) => {
|
|
3579
|
+
["role", "aria-label", "aria-modal", "id"].forEach((Un, cr) => {
|
|
3580
|
+
gv(Qn[cr]) ? xe.removeAttribute(Un) : xe.setAttribute(Un, Qn[cr]);
|
|
3581
3581
|
});
|
|
3582
|
-
}, { immediate: !0 })), ae !==
|
|
3582
|
+
}, { immediate: !0 })), ae !== xe && tc(ae) && ["role", "aria-label", "aria-modal", "id"].forEach((Qn) => {
|
|
3583
3583
|
ae.removeAttribute(Qn);
|
|
3584
3584
|
});
|
|
3585
3585
|
}, { immediate: !0 }), Qr(() => r.visible, At, { immediate: !0 });
|
|
@@ -3590,17 +3590,17 @@ const U1t = 0, G1t = (e) => {
|
|
|
3590
3590
|
popperInstanceRef: L,
|
|
3591
3591
|
updatePopper: ht,
|
|
3592
3592
|
contentStyle: G
|
|
3593
|
-
}), ($t, ce) => (
|
|
3593
|
+
}), ($t, ce) => (be(), En("div", xc({
|
|
3594
3594
|
ref_key: "contentRef",
|
|
3595
3595
|
ref: v
|
|
3596
3596
|
}, wt(D), {
|
|
3597
3597
|
style: wt(G),
|
|
3598
3598
|
class: wt(z),
|
|
3599
3599
|
tabindex: "-1",
|
|
3600
|
-
onMouseenter: (
|
|
3601
|
-
onMouseleave: (
|
|
3600
|
+
onMouseenter: (xe) => $t.$emit("mouseenter", xe),
|
|
3601
|
+
onMouseleave: (xe) => $t.$emit("mouseleave", xe)
|
|
3602
3602
|
}), [
|
|
3603
|
-
|
|
3603
|
+
sn(wt(xz), {
|
|
3604
3604
|
trapped: wt(o),
|
|
3605
3605
|
"trap-on-focus-in": !0,
|
|
3606
3606
|
"focus-trap-el": wt(v),
|
|
@@ -3697,7 +3697,7 @@ const K1t = Os(g1t), CA = Symbol("elTooltip"), oa = Ir({
|
|
|
3697
3697
|
});
|
|
3698
3698
|
return t({
|
|
3699
3699
|
triggerRef: d
|
|
3700
|
-
}), (D, z) => (
|
|
3700
|
+
}), (D, z) => (be(), Fn(wt(w1t), {
|
|
3701
3701
|
id: wt(o),
|
|
3702
3702
|
"virtual-ref": D.virtualRef,
|
|
3703
3703
|
open: wt(a),
|
|
@@ -3729,7 +3729,7 @@ const ast = Ir({
|
|
|
3729
3729
|
__name: "teleport",
|
|
3730
3730
|
props: ast,
|
|
3731
3731
|
setup(e) {
|
|
3732
|
-
return (t, n) => t.disabled ? Zn(t.$slots, "default", { key: 0 }) : (
|
|
3732
|
+
return (t, n) => t.disabled ? Zn(t.$slots, "default", { key: 0 }) : (be(), Fn(HJ, {
|
|
3733
3733
|
key: 1,
|
|
3734
3734
|
to: t.to
|
|
3735
3735
|
}, [
|
|
@@ -3788,7 +3788,7 @@ const wz = Os(cst), ust = Bn({
|
|
|
3788
3788
|
return;
|
|
3789
3789
|
wt(d) !== "hover" && Q();
|
|
3790
3790
|
});
|
|
3791
|
-
},
|
|
3791
|
+
}, xe = () => {
|
|
3792
3792
|
n.virtualTriggering || Q();
|
|
3793
3793
|
};
|
|
3794
3794
|
return Qr(() => wt(h), (ae) => {
|
|
@@ -3800,12 +3800,12 @@ const wz = Os(cst), ust = Bn({
|
|
|
3800
3800
|
(Qn = (ae = o.value) == null ? void 0 : ae.updatePopper) == null || Qn.call(ae);
|
|
3801
3801
|
}), t({
|
|
3802
3802
|
contentRef: o
|
|
3803
|
-
}), (ae, Qn) => (
|
|
3803
|
+
}), (ae, Qn) => (be(), Fn(wt(wz), {
|
|
3804
3804
|
disabled: !ae.teleported,
|
|
3805
3805
|
to: wt(z)
|
|
3806
3806
|
}, {
|
|
3807
3807
|
default: ke(() => [
|
|
3808
|
-
|
|
3808
|
+
sn(pf, {
|
|
3809
3809
|
name: wt(M),
|
|
3810
3810
|
onAfterLeave: rt,
|
|
3811
3811
|
onBeforeEnter: At,
|
|
@@ -3813,7 +3813,7 @@ const wz = Os(cst), ust = Bn({
|
|
|
3813
3813
|
onBeforeLeave: $t
|
|
3814
3814
|
}, {
|
|
3815
3815
|
default: ke(() => [
|
|
3816
|
-
wt(I) ? _i((
|
|
3816
|
+
wt(I) ? _i((be(), Fn(wt(X1t), xc({
|
|
3817
3817
|
key: 0,
|
|
3818
3818
|
id: wt(u),
|
|
3819
3819
|
ref_key: "contentRef",
|
|
@@ -3839,7 +3839,7 @@ const wz = Os(cst), ust = Bn({
|
|
|
3839
3839
|
"z-index": ae.zIndex,
|
|
3840
3840
|
onMouseenter: wt(ft),
|
|
3841
3841
|
onMouseleave: wt(ht),
|
|
3842
|
-
onBlur:
|
|
3842
|
+
onBlur: xe,
|
|
3843
3843
|
onClose: wt(Q)
|
|
3844
3844
|
}), {
|
|
3845
3845
|
default: ke(() => [
|
|
@@ -3848,7 +3848,7 @@ const wz = Os(cst), ust = Bn({
|
|
|
3848
3848
|
_: 3
|
|
3849
3849
|
}, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [
|
|
3850
3850
|
[ws, wt(D)]
|
|
3851
|
-
]) :
|
|
3851
|
+
]) : zn("v-if", !0)
|
|
3852
3852
|
]),
|
|
3853
3853
|
_: 3
|
|
3854
3854
|
}, 8, ["name"])
|
|
@@ -3924,13 +3924,13 @@ const pst = Bn({
|
|
|
3924
3924
|
onOpen: v,
|
|
3925
3925
|
onClose: x,
|
|
3926
3926
|
hide: Q
|
|
3927
|
-
}), (M, P) => (
|
|
3927
|
+
}), (M, P) => (be(), Fn(wt(K1t), {
|
|
3928
3928
|
ref_key: "popperRef",
|
|
3929
3929
|
ref: o,
|
|
3930
3930
|
role: M.role
|
|
3931
3931
|
}, {
|
|
3932
3932
|
default: ke(() => [
|
|
3933
|
-
|
|
3933
|
+
sn(sst, {
|
|
3934
3934
|
disabled: M.disabled,
|
|
3935
3935
|
trigger: M.trigger,
|
|
3936
3936
|
"trigger-keys": M.triggerKeys,
|
|
@@ -3938,11 +3938,11 @@ const pst = Bn({
|
|
|
3938
3938
|
"virtual-triggering": M.virtualTriggering
|
|
3939
3939
|
}, {
|
|
3940
3940
|
default: ke(() => [
|
|
3941
|
-
M.$slots.default ? Zn(M.$slots, "default", { key: 0 }) :
|
|
3941
|
+
M.$slots.default ? Zn(M.$slots, "default", { key: 0 }) : zn("v-if", !0)
|
|
3942
3942
|
]),
|
|
3943
3943
|
_: 3
|
|
3944
3944
|
}, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
|
|
3945
|
-
|
|
3945
|
+
sn(dst, {
|
|
3946
3946
|
ref_key: "contentRef",
|
|
3947
3947
|
ref: a,
|
|
3948
3948
|
"aria-label": M.ariaLabel,
|
|
@@ -3974,15 +3974,15 @@ const pst = Bn({
|
|
|
3974
3974
|
}, {
|
|
3975
3975
|
default: ke(() => [
|
|
3976
3976
|
Zn(M.$slots, "content", {}, () => [
|
|
3977
|
-
M.rawContent ? (
|
|
3977
|
+
M.rawContent ? (be(), En("span", {
|
|
3978
3978
|
key: 0,
|
|
3979
3979
|
innerHTML: M.content
|
|
3980
|
-
}, null, 8, ["innerHTML"])) : (
|
|
3980
|
+
}, null, 8, ["innerHTML"])) : (be(), En("span", { key: 1 }, bi(M.content), 1))
|
|
3981
3981
|
]),
|
|
3982
|
-
M.showArrow ? (
|
|
3982
|
+
M.showArrow ? (be(), Fn(wt(_1t), {
|
|
3983
3983
|
key: 0,
|
|
3984
3984
|
"arrow-offset": M.arrowOffset
|
|
3985
|
-
}, null, 8, ["arrow-offset"])) :
|
|
3985
|
+
}, null, 8, ["arrow-offset"])) : zn("v-if", !0)
|
|
3986
3986
|
]),
|
|
3987
3987
|
_: 3
|
|
3988
3988
|
}, 8, ["aria-label", "boundaries-padding", "content", "disabled", "effect", "enterable", "fallback-placements", "hide-after", "gpu-acceleration", "offset", "persistent", "popper-class", "popper-style", "placement", "popper-options", "pure", "raw-content", "reference-el", "trigger-target-el", "show-after", "strategy", "teleported", "transition", "virtual-triggering", "z-index", "append-to"])
|
|
@@ -4664,7 +4664,7 @@ const kst = Bn({
|
|
|
4664
4664
|
type: u,
|
|
4665
4665
|
disabled: h,
|
|
4666
4666
|
shouldAddSpace: Q
|
|
4667
|
-
}), (x, L) => (
|
|
4667
|
+
}), (x, L) => (be(), Fn(Na(x.tag), xc({
|
|
4668
4668
|
ref_key: "_ref",
|
|
4669
4669
|
ref: a
|
|
4670
4670
|
}, wt(d), {
|
|
@@ -4673,28 +4673,28 @@ const kst = Bn({
|
|
|
4673
4673
|
onClick: wt(m)
|
|
4674
4674
|
}), {
|
|
4675
4675
|
default: ke(() => [
|
|
4676
|
-
x.loading ? (
|
|
4677
|
-
x.$slots.loading ? Zn(x.$slots, "loading", { key: 0 }) : (
|
|
4676
|
+
x.loading ? (be(), En(C1, { key: 0 }, [
|
|
4677
|
+
x.$slots.loading ? Zn(x.$slots, "loading", { key: 0 }) : (be(), Fn(wt(Y3), {
|
|
4678
4678
|
key: 1,
|
|
4679
4679
|
class: nn(wt(o).is("loading"))
|
|
4680
4680
|
}, {
|
|
4681
4681
|
default: ke(() => [
|
|
4682
|
-
(
|
|
4682
|
+
(be(), Fn(Na(x.loadingIcon)))
|
|
4683
4683
|
]),
|
|
4684
4684
|
_: 1
|
|
4685
4685
|
}, 8, ["class"]))
|
|
4686
|
-
], 64)) : x.icon || x.$slots.icon ? (
|
|
4686
|
+
], 64)) : x.icon || x.$slots.icon ? (be(), Fn(wt(Y3), { key: 1 }, {
|
|
4687
4687
|
default: ke(() => [
|
|
4688
|
-
x.icon ? (
|
|
4688
|
+
x.icon ? (be(), Fn(Na(x.icon), { key: 0 })) : Zn(x.$slots, "icon", { key: 1 })
|
|
4689
4689
|
]),
|
|
4690
4690
|
_: 3
|
|
4691
|
-
})) :
|
|
4692
|
-
x.$slots.default ? (
|
|
4691
|
+
})) : zn("v-if", !0),
|
|
4692
|
+
x.$slots.default ? (be(), En("span", {
|
|
4693
4693
|
key: 2,
|
|
4694
4694
|
class: nn({ [wt(o).em("text", "expand")]: wt(Q) })
|
|
4695
4695
|
}, [
|
|
4696
4696
|
Zn(x.$slots, "default")
|
|
4697
|
-
], 2)) :
|
|
4697
|
+
], 2)) : zn("v-if", !0)
|
|
4698
4698
|
]),
|
|
4699
4699
|
_: 3
|
|
4700
4700
|
}, 16, ["class", "style", "onClick"]));
|
|
@@ -4716,7 +4716,7 @@ const Rst = {
|
|
|
4716
4716
|
type: B3(t, "type")
|
|
4717
4717
|
}));
|
|
4718
4718
|
const n = Xr("button");
|
|
4719
|
-
return (r, i) => (
|
|
4719
|
+
return (r, i) => (be(), En("div", {
|
|
4720
4720
|
class: nn(wt(n).b("group"))
|
|
4721
4721
|
}, [
|
|
4722
4722
|
Zn(r.$slots, "default")
|
|
@@ -4990,7 +4990,7 @@ const jst = {
|
|
|
4990
4990
|
x.is("indeterminate", t.indeterminate),
|
|
4991
4991
|
x.is("focus", s.value)
|
|
4992
4992
|
]);
|
|
4993
|
-
return (M, P) => (
|
|
4993
|
+
return (M, P) => (be(), Fn(Na(!wt(h) && wt(i) ? "span" : "label"), {
|
|
4994
4994
|
class: nn(wt(L)),
|
|
4995
4995
|
"aria-controls": M.indeterminate ? M.ariaControls : null,
|
|
4996
4996
|
onClick: wt(v)
|
|
@@ -5001,7 +5001,7 @@ const jst = {
|
|
|
5001
5001
|
yn("span", {
|
|
5002
5002
|
class: nn(wt(H))
|
|
5003
5003
|
}, [
|
|
5004
|
-
M.trueValue || M.falseValue || M.trueLabel || M.falseLabel ? _i((
|
|
5004
|
+
M.trueValue || M.falseValue || M.trueLabel || M.falseLabel ? _i((be(), En("input", {
|
|
5005
5005
|
key: 0,
|
|
5006
5006
|
id: wt(r),
|
|
5007
5007
|
"onUpdate:modelValue": (Z) => B6(d) ? d.value = Z : null,
|
|
@@ -5020,7 +5020,7 @@ const jst = {
|
|
|
5020
5020
|
}, ["stop"])
|
|
5021
5021
|
}, null, 42, ["id", "onUpdate:modelValue", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value", "onChange", "onFocus", "onBlur", "onClick"])), [
|
|
5022
5022
|
[Ng, wt(d)]
|
|
5023
|
-
]) : _i((
|
|
5023
|
+
]) : _i((be(), En("input", {
|
|
5024
5024
|
key: 1,
|
|
5025
5025
|
id: wt(r),
|
|
5026
5026
|
"onUpdate:modelValue": (Z) => B6(d) ? d.value = Z : null,
|
|
@@ -5043,15 +5043,15 @@ const jst = {
|
|
|
5043
5043
|
class: nn(wt(x).e("inner"))
|
|
5044
5044
|
}, null, 2)
|
|
5045
5045
|
], 2),
|
|
5046
|
-
wt(h) ? (
|
|
5046
|
+
wt(h) ? (be(), En("span", {
|
|
5047
5047
|
key: 0,
|
|
5048
5048
|
class: nn(wt(x).e("label"))
|
|
5049
5049
|
}, [
|
|
5050
5050
|
Zn(M.$slots, "default"),
|
|
5051
|
-
M.$slots.default ?
|
|
5051
|
+
M.$slots.default ? zn("v-if", !0) : (be(), En(C1, { key: 0 }, [
|
|
5052
5052
|
kr(bi(M.label), 1)
|
|
5053
5053
|
], 64))
|
|
5054
|
-
], 2)) :
|
|
5054
|
+
], 2)) : zn("v-if", !0)
|
|
5055
5055
|
];
|
|
5056
5056
|
}),
|
|
5057
5057
|
_: 3
|
|
@@ -5092,10 +5092,10 @@ const Xst = Bn({
|
|
|
5092
5092
|
]);
|
|
5093
5093
|
return (x, L) => {
|
|
5094
5094
|
var H, M, P, I;
|
|
5095
|
-
return
|
|
5095
|
+
return be(), En("label", {
|
|
5096
5096
|
class: nn(wt(v))
|
|
5097
5097
|
}, [
|
|
5098
|
-
x.trueValue || x.falseValue || x.trueLabel || x.falseLabel ? _i((
|
|
5098
|
+
x.trueValue || x.falseValue || x.trueLabel || x.falseLabel ? _i((be(), En("input", {
|
|
5099
5099
|
key: 0,
|
|
5100
5100
|
"onUpdate:modelValue": (D) => B6(s) ? s.value = D : null,
|
|
5101
5101
|
class: nn(wt(Q).be("button", "original")),
|
|
@@ -5112,7 +5112,7 @@ const Xst = Bn({
|
|
|
5112
5112
|
}, ["stop"])
|
|
5113
5113
|
}, null, 42, ["onUpdate:modelValue", "name", "tabindex", "disabled", "true-value", "false-value", "onChange", "onFocus", "onBlur", "onClick"])), [
|
|
5114
5114
|
[Ng, wt(s)]
|
|
5115
|
-
]) : _i((
|
|
5115
|
+
]) : _i((be(), En("input", {
|
|
5116
5116
|
key: 1,
|
|
5117
5117
|
"onUpdate:modelValue": (D) => B6(s) ? s.value = D : null,
|
|
5118
5118
|
class: nn(wt(Q).be("button", "original")),
|
|
@@ -5129,7 +5129,7 @@ const Xst = Bn({
|
|
|
5129
5129
|
}, null, 42, ["onUpdate:modelValue", "name", "tabindex", "disabled", "value", "onChange", "onFocus", "onBlur", "onClick"])), [
|
|
5130
5130
|
[Ng, wt(s)]
|
|
5131
5131
|
]),
|
|
5132
|
-
x.$slots.default || x.label ? (
|
|
5132
|
+
x.$slots.default || x.label ? (be(), En("span", {
|
|
5133
5133
|
key: 2,
|
|
5134
5134
|
class: nn(wt(Q).be("button", "inner")),
|
|
5135
5135
|
style: No(wt(i) ? wt(m) : void 0)
|
|
@@ -5137,7 +5137,7 @@ const Xst = Bn({
|
|
|
5137
5137
|
Zn(x.$slots, "default", {}, () => [
|
|
5138
5138
|
kr(bi(x.label), 1)
|
|
5139
5139
|
])
|
|
5140
|
-
], 6)) :
|
|
5140
|
+
], 6)) : zn("v-if", !0)
|
|
5141
5141
|
], 2);
|
|
5142
5142
|
};
|
|
5143
5143
|
}
|
|
@@ -5201,7 +5201,7 @@ const Yst = Ir({
|
|
|
5201
5201
|
n.validateEvent && (i == null || i.validate("change").catch((h) => Cs(h)));
|
|
5202
5202
|
}), (h, d) => {
|
|
5203
5203
|
var Q;
|
|
5204
|
-
return
|
|
5204
|
+
return be(), Fn(Na(h.tag), {
|
|
5205
5205
|
id: wt(o),
|
|
5206
5206
|
class: nn(wt(r).b("group")),
|
|
5207
5207
|
role: "group",
|
|
@@ -5286,7 +5286,7 @@ const Rz = Mc(Iz), Nz = Ir({
|
|
|
5286
5286
|
}
|
|
5287
5287
|
return (m, v) => {
|
|
5288
5288
|
var x;
|
|
5289
|
-
return
|
|
5289
|
+
return be(), En("label", {
|
|
5290
5290
|
class: nn([
|
|
5291
5291
|
wt(r).b(),
|
|
5292
5292
|
wt(r).is("disabled", wt(u)),
|
|
@@ -5355,7 +5355,7 @@ const sat = Ir({
|
|
|
5355
5355
|
}));
|
|
5356
5356
|
return (Q, m) => {
|
|
5357
5357
|
var v;
|
|
5358
|
-
return
|
|
5358
|
+
return be(), En("label", {
|
|
5359
5359
|
class: nn([
|
|
5360
5360
|
wt(n).b("button"),
|
|
5361
5361
|
wt(n).is("active", wt(s) === wt(h)),
|
|
@@ -5446,7 +5446,7 @@ const cat = Ir({
|
|
|
5446
5446
|
name: d
|
|
5447
5447
|
})), Qr(() => n.modelValue, () => {
|
|
5448
5448
|
n.validateEvent && (a == null || a.validate("change").catch((Q) => Cs(Q)));
|
|
5449
|
-
}), (Q, m) => (
|
|
5449
|
+
}), (Q, m) => (be(), En("div", {
|
|
5450
5450
|
id: wt(s),
|
|
5451
5451
|
ref_key: "radioGroupRef",
|
|
5452
5452
|
ref: o,
|
|
@@ -5513,7 +5513,7 @@ const eE = Ir({
|
|
|
5513
5513
|
}, u = (h) => {
|
|
5514
5514
|
h.component.subTree.component.bum = null;
|
|
5515
5515
|
};
|
|
5516
|
-
return (h, d) => h.disableTransitions ? (
|
|
5516
|
+
return (h, d) => h.disableTransitions ? (be(), En("span", {
|
|
5517
5517
|
key: 0,
|
|
5518
5518
|
class: nn(wt(o)),
|
|
5519
5519
|
style: No({ backgroundColor: h.color }),
|
|
@@ -5524,17 +5524,17 @@ const eE = Ir({
|
|
|
5524
5524
|
}, [
|
|
5525
5525
|
Zn(h.$slots, "default")
|
|
5526
5526
|
], 2),
|
|
5527
|
-
h.closable ? (
|
|
5527
|
+
h.closable ? (be(), Fn(wt(Y3), {
|
|
5528
5528
|
key: 0,
|
|
5529
5529
|
class: nn(wt(i).e("close")),
|
|
5530
5530
|
onClick: bo(a, ["stop"])
|
|
5531
5531
|
}, {
|
|
5532
5532
|
default: ke(() => [
|
|
5533
|
-
|
|
5533
|
+
sn(wt(FM))
|
|
5534
5534
|
]),
|
|
5535
5535
|
_: 1
|
|
5536
|
-
}, 8, ["class", "onClick"])) :
|
|
5537
|
-
], 6)) : (
|
|
5536
|
+
}, 8, ["class", "onClick"])) : zn("v-if", !0)
|
|
5537
|
+
], 6)) : (be(), Fn(pf, {
|
|
5538
5538
|
key: 1,
|
|
5539
5539
|
name: `${wt(i).namespace.value}-zoom-in-center`,
|
|
5540
5540
|
appear: "",
|
|
@@ -5551,16 +5551,16 @@ const eE = Ir({
|
|
|
5551
5551
|
}, [
|
|
5552
5552
|
Zn(h.$slots, "default")
|
|
5553
5553
|
], 2),
|
|
5554
|
-
h.closable ? (
|
|
5554
|
+
h.closable ? (be(), Fn(wt(Y3), {
|
|
5555
5555
|
key: 0,
|
|
5556
5556
|
class: nn(wt(i).e("close")),
|
|
5557
5557
|
onClick: bo(a, ["stop"])
|
|
5558
5558
|
}, {
|
|
5559
5559
|
default: ke(() => [
|
|
5560
|
-
|
|
5560
|
+
sn(wt(FM))
|
|
5561
5561
|
]),
|
|
5562
5562
|
_: 1
|
|
5563
|
-
}, 8, ["class", "onClick"])) :
|
|
5563
|
+
}, 8, ["class", "onClick"])) : zn("v-if", !0)
|
|
5564
5564
|
], 6)
|
|
5565
5565
|
]),
|
|
5566
5566
|
_: 3
|
|
@@ -5611,7 +5611,7 @@ const mat = Os(Qat), $z = Symbol("rowContextKey"), gat = [
|
|
|
5611
5611
|
n.is(`justify-${t.justify}`, t.justify !== "start"),
|
|
5612
5612
|
n.is(`align-${t.align}`, !!t.align)
|
|
5613
5613
|
]);
|
|
5614
|
-
return (a, s) => (
|
|
5614
|
+
return (a, s) => (be(), Fn(Na(a.tag), {
|
|
5615
5615
|
class: nn(wt(o)),
|
|
5616
5616
|
style: No(wt(i))
|
|
5617
5617
|
}, {
|
|
@@ -5684,7 +5684,7 @@ const gf = Os(xat), Lat = Ir({
|
|
|
5684
5684
|
});
|
|
5685
5685
|
}), n.value && a.push(r.is("guttered")), [r.b(), a];
|
|
5686
5686
|
});
|
|
5687
|
-
return (a, s) => (
|
|
5687
|
+
return (a, s) => (be(), Fn(Na(a.tag), {
|
|
5688
5688
|
class: nn(wt(o)),
|
|
5689
5689
|
style: No(wt(i))
|
|
5690
5690
|
}, {
|
|
@@ -5723,7 +5723,7 @@ var Cat = Bn({
|
|
|
5723
5723
|
const r = Xr(Hat), i = (u) => {
|
|
5724
5724
|
n("click", u);
|
|
5725
5725
|
}, { onClick: o, onMousedown: a, onMouseup: s } = az(e.customMaskEvent ? void 0 : i);
|
|
5726
|
-
return () => e.mask ?
|
|
5726
|
+
return () => e.mask ? sn("div", {
|
|
5727
5727
|
class: [r.b(), e.overlayClass],
|
|
5728
5728
|
style: {
|
|
5729
5729
|
zIndex: e.zIndex
|
|
@@ -5781,7 +5781,7 @@ const Oat = Cat, Wz = Symbol("dialogInjectionKey"), Zz = Ir({
|
|
|
5781
5781
|
]), m = Tit(d, o), v = ue(() => n.draggable), x = ue(() => n.overflow), { resetPosition: L } = mit(o, a, v, x);
|
|
5782
5782
|
return t({
|
|
5783
5783
|
resetPosition: L
|
|
5784
|
-
}), (H, M) => (
|
|
5784
|
+
}), (H, M) => (be(), En("div", {
|
|
5785
5785
|
ref: wt(m),
|
|
5786
5786
|
class: nn(wt(Q)),
|
|
5787
5787
|
style: No(wt(h)),
|
|
@@ -5799,22 +5799,22 @@ const Oat = Cat, Wz = Symbol("dialogInjectionKey"), Zz = Ir({
|
|
|
5799
5799
|
class: nn(wt(u).e("title"))
|
|
5800
5800
|
}, bi(H.title), 11, ["aria-level"])
|
|
5801
5801
|
]),
|
|
5802
|
-
H.showClose ? (
|
|
5802
|
+
H.showClose ? (be(), En("button", {
|
|
5803
5803
|
key: 0,
|
|
5804
5804
|
"aria-label": wt(r)("el.dialog.close"),
|
|
5805
5805
|
class: nn(wt(u).e("headerbtn")),
|
|
5806
5806
|
type: "button",
|
|
5807
5807
|
onClick: (P) => H.$emit("close")
|
|
5808
5808
|
}, [
|
|
5809
|
-
|
|
5809
|
+
sn(wt(Y3), {
|
|
5810
5810
|
class: nn(wt(u).e("close"))
|
|
5811
5811
|
}, {
|
|
5812
5812
|
default: ke(() => [
|
|
5813
|
-
(
|
|
5813
|
+
(be(), Fn(Na(H.closeIcon || wt(i))))
|
|
5814
5814
|
]),
|
|
5815
5815
|
_: 1
|
|
5816
5816
|
}, 8, ["class"])
|
|
5817
|
-
], 10, ["aria-label", "onClick"])) :
|
|
5817
|
+
], 10, ["aria-label", "onClick"])) : zn("v-if", !0)
|
|
5818
5818
|
], 2),
|
|
5819
5819
|
yn("div", {
|
|
5820
5820
|
id: wt(s),
|
|
@@ -5822,12 +5822,12 @@ const Oat = Cat, Wz = Symbol("dialogInjectionKey"), Zz = Ir({
|
|
|
5822
5822
|
}, [
|
|
5823
5823
|
Zn(H.$slots, "default")
|
|
5824
5824
|
], 10, ["id"]),
|
|
5825
|
-
H.$slots.footer ? (
|
|
5825
|
+
H.$slots.footer ? (be(), En("footer", {
|
|
5826
5826
|
key: 0,
|
|
5827
5827
|
class: nn(wt(u).e("footer"))
|
|
5828
5828
|
}, [
|
|
5829
5829
|
Zn(H.$slots, "footer")
|
|
5830
|
-
], 2)) :
|
|
5830
|
+
], 2)) : zn("v-if", !0)
|
|
5831
5831
|
], 6));
|
|
5832
5832
|
}
|
|
5833
5833
|
});
|
|
@@ -5898,8 +5898,8 @@ const Rat = Ir({
|
|
|
5898
5898
|
const s = uc(), u = uc(), h = Ye(!1), d = Ye(!1), Q = Ye(!1), m = Ye((n = e.zIndex) != null ? n : o());
|
|
5899
5899
|
let v, x;
|
|
5900
5900
|
const L = bv("namespace", Jd), H = ue(() => {
|
|
5901
|
-
const
|
|
5902
|
-
return e.fullscreen || (e.top && (
|
|
5901
|
+
const xe = {}, ae = `--${L.value}-dialog`;
|
|
5902
|
+
return e.fullscreen || (e.top && (xe[`${ae}-margin-top`] = e.top), e.width && (xe[`${ae}-width`] = cc(e.width))), xe;
|
|
5903
5903
|
}), M = ue(() => e.alignCenter ? { display: "flex" } : {});
|
|
5904
5904
|
function P() {
|
|
5905
5905
|
i("opened");
|
|
@@ -5917,10 +5917,10 @@ const Rat = Ir({
|
|
|
5917
5917
|
v == null || v(), x == null || x(), e.closeDelay && e.closeDelay > 0 ? { stop: x } = XP(() => ft(), e.closeDelay) : ft();
|
|
5918
5918
|
}
|
|
5919
5919
|
function Z() {
|
|
5920
|
-
function
|
|
5920
|
+
function xe(ae) {
|
|
5921
5921
|
ae || (d.value = !0, h.value = !1);
|
|
5922
5922
|
}
|
|
5923
|
-
e.beforeClose ? e.beforeClose(
|
|
5923
|
+
e.beforeClose ? e.beforeClose(xe) : G();
|
|
5924
5924
|
}
|
|
5925
5925
|
function rt() {
|
|
5926
5926
|
e.closeOnClickModal && Z();
|
|
@@ -5937,20 +5937,20 @@ const Rat = Ir({
|
|
|
5937
5937
|
function At() {
|
|
5938
5938
|
i("closeAutoFocus");
|
|
5939
5939
|
}
|
|
5940
|
-
function $t(
|
|
5940
|
+
function $t(xe) {
|
|
5941
5941
|
var ae;
|
|
5942
|
-
((ae =
|
|
5942
|
+
((ae = xe.detail) == null ? void 0 : ae.focusReason) === "pointer" && xe.preventDefault();
|
|
5943
5943
|
}
|
|
5944
5944
|
e.lockScroll && xit(h);
|
|
5945
5945
|
function ce() {
|
|
5946
5946
|
e.closeOnPressEscape && Z();
|
|
5947
5947
|
}
|
|
5948
|
-
return Qr(() => e.modelValue, (
|
|
5949
|
-
|
|
5948
|
+
return Qr(() => e.modelValue, (xe) => {
|
|
5949
|
+
xe ? (d.value = !1, z(), Q.value = !0, m.value = Bj(e.zIndex) ? o() : m.value++, Ro(() => {
|
|
5950
5950
|
i("open"), t.value && (t.value.scrollTop = 0);
|
|
5951
5951
|
})) : h.value && G();
|
|
5952
|
-
}), Qr(() => e.fullscreen, (
|
|
5953
|
-
t.value && (
|
|
5952
|
+
}), Qr(() => e.fullscreen, (xe) => {
|
|
5953
|
+
t.value && (xe ? (a = t.value.style.transform, t.value.style.transform = "") : t.value.style.transform = a);
|
|
5954
5954
|
}), Ko(() => {
|
|
5955
5955
|
e.modelValue && (h.value = !0, Q.value = !0, z());
|
|
5956
5956
|
}), {
|
|
@@ -6024,12 +6024,12 @@ const Rat = Ir({
|
|
|
6024
6024
|
var ht;
|
|
6025
6025
|
(ht = s.value) == null || ht.resetPosition();
|
|
6026
6026
|
}
|
|
6027
|
-
}), (ht, At) => (
|
|
6027
|
+
}), (ht, At) => (be(), Fn(wt(wz), {
|
|
6028
6028
|
to: ht.appendTo,
|
|
6029
6029
|
disabled: ht.appendTo !== "body" ? !1 : !ht.appendToBody
|
|
6030
6030
|
}, {
|
|
6031
6031
|
default: ke(() => [
|
|
6032
|
-
|
|
6032
|
+
sn(pf, {
|
|
6033
6033
|
name: "dialog-fade",
|
|
6034
6034
|
onAfterEnter: wt(L),
|
|
6035
6035
|
onAfterLeave: wt(H),
|
|
@@ -6037,7 +6037,7 @@ const Rat = Ir({
|
|
|
6037
6037
|
persisted: ""
|
|
6038
6038
|
}, {
|
|
6039
6039
|
default: ke(() => [
|
|
6040
|
-
_i(
|
|
6040
|
+
_i(sn(wt(Oat), {
|
|
6041
6041
|
"custom-mask-event": "",
|
|
6042
6042
|
mask: ht.modal,
|
|
6043
6043
|
"overlay-class": ht.modalClass,
|
|
@@ -6056,7 +6056,7 @@ const Rat = Ir({
|
|
|
6056
6056
|
onMousedown: wt(rt).onMousedown,
|
|
6057
6057
|
onMouseup: wt(rt).onMouseup
|
|
6058
6058
|
}, [
|
|
6059
|
-
|
|
6059
|
+
sn(wt(xz), {
|
|
6060
6060
|
loop: "",
|
|
6061
6061
|
trapped: wt(u),
|
|
6062
6062
|
"focus-start-el": "container",
|
|
@@ -6066,7 +6066,7 @@ const Rat = Ir({
|
|
|
6066
6066
|
onReleaseRequested: wt(G)
|
|
6067
6067
|
}, {
|
|
6068
6068
|
default: ke(() => [
|
|
6069
|
-
wt(v) ? (
|
|
6069
|
+
wt(v) ? (be(), Fn(Vat, xc({
|
|
6070
6070
|
key: 0,
|
|
6071
6071
|
ref_key: "dialogContentRef",
|
|
6072
6072
|
ref: s
|
|
@@ -6101,7 +6101,7 @@ const Rat = Ir({
|
|
|
6101
6101
|
Zn(ht.$slots, "footer")
|
|
6102
6102
|
])
|
|
6103
6103
|
} : void 0
|
|
6104
|
-
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) :
|
|
6104
|
+
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) : zn("v-if", !0)
|
|
6105
6105
|
]),
|
|
6106
6106
|
_: 3
|
|
6107
6107
|
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
@@ -6355,7 +6355,7 @@ const Jat = Bn({
|
|
|
6355
6355
|
}
|
|
6356
6356
|
});
|
|
6357
6357
|
function t2t(e, t, n, r, i, o) {
|
|
6358
|
-
return _i((
|
|
6358
|
+
return _i((be(), En("li", {
|
|
6359
6359
|
id: e.id,
|
|
6360
6360
|
class: nn(e.containerKls),
|
|
6361
6361
|
role: "option",
|
|
@@ -6393,23 +6393,23 @@ const e2t = Bn({
|
|
|
6393
6393
|
}
|
|
6394
6394
|
});
|
|
6395
6395
|
function n2t(e, t, n, r, i, o) {
|
|
6396
|
-
return
|
|
6396
|
+
return be(), En("div", {
|
|
6397
6397
|
class: nn([e.ns.b("dropdown"), e.ns.is("multiple", e.isMultiple), e.popperClass]),
|
|
6398
6398
|
style: No({ [e.isFitInputWidth ? "width" : "minWidth"]: e.minWidth })
|
|
6399
6399
|
}, [
|
|
6400
|
-
e.$slots.header ? (
|
|
6400
|
+
e.$slots.header ? (be(), En("div", {
|
|
6401
6401
|
key: 0,
|
|
6402
6402
|
class: nn(e.ns.be("dropdown", "header"))
|
|
6403
6403
|
}, [
|
|
6404
6404
|
Zn(e.$slots, "header")
|
|
6405
|
-
], 2)) :
|
|
6405
|
+
], 2)) : zn("v-if", !0),
|
|
6406
6406
|
Zn(e.$slots, "default"),
|
|
6407
|
-
e.$slots.footer ? (
|
|
6407
|
+
e.$slots.footer ? (be(), En("div", {
|
|
6408
6408
|
key: 1,
|
|
6409
6409
|
class: nn(e.ns.be("dropdown", "footer"))
|
|
6410
6410
|
}, [
|
|
6411
6411
|
Zn(e.$slots, "footer")
|
|
6412
|
-
], 2)) :
|
|
6412
|
+
], 2)) : zn("v-if", !0)
|
|
6413
6413
|
], 6);
|
|
6414
6414
|
}
|
|
6415
6415
|
var r2t = /* @__PURE__ */ Vr(e2t, [["render", n2t], ["__file", "select-dropdown.vue"]]);
|
|
@@ -6453,7 +6453,7 @@ const i2t = 11, o2t = (e, t) => {
|
|
|
6453
6453
|
}
|
|
6454
6454
|
}), ot = Ye(!1), ft = Ye(), { form: ht, formItem: At } = W8(), { inputId: $t } = Lv(e, {
|
|
6455
6455
|
formItemContext: At
|
|
6456
|
-
}), { valueOnClear: ce, isEmptyValue:
|
|
6456
|
+
}), { valueOnClear: ce, isEmptyValue: xe } = $ot(e), ae = ue(() => e.disabled || (ht == null ? void 0 : ht.disabled)), Qn = ue(() => Ms(e.modelValue) ? e.modelValue.length > 0 : !xe(e.modelValue)), Un = ue(() => e.clearable && !ae.value && a.inputHovering && Qn.value), cr = ue(() => e.remote && e.filterable && !e.remoteShowSuffix ? "" : e.suffixIcon), _e = ue(() => i.is("reverse", cr.value && ot.value)), Ne = ue(() => (At == null ? void 0 : At.validateState) || ""), gn = ue(() => pit[Ne.value]), We = ue(() => e.remote ? 300 : 0), cn = ue(() => e.loading ? e.loadingText || n("el.select.loading") : e.remote && !a.inputValue && a.options.size === 0 ? !1 : e.filterable && a.inputValue && a.options.size > 0 && en.value === 0 ? e.noMatchText || n("el.select.noMatch") : a.options.size === 0 ? e.noDataText || n("el.select.noData") : null), en = ue(() => tn.value.filter((Gt) => Gt.visible).length), tn = ue(() => {
|
|
6457
6457
|
const Gt = Array.from(a.options.values()), Me = [];
|
|
6458
6458
|
return a.optionValues.forEach((Ve) => {
|
|
6459
6459
|
const hr = Gt.findIndex((Or) => Or.value === Ve);
|
|
@@ -6647,7 +6647,7 @@ const i2t = 11, o2t = (e, t) => {
|
|
|
6647
6647
|
ae.value || (jM && (a.inputHovering = !0), a.menuVisibleOnFocus ? a.menuVisibleOnFocus = !1 : ot.value = !ot.value);
|
|
6648
6648
|
}, Le = () => {
|
|
6649
6649
|
ot.value ? tn.value[a.hoveringIndex] && Q1(tn.value[a.hoveringIndex]) : Yt();
|
|
6650
|
-
}, Jt = (Gt) => Es(Gt.value) ? x6(Gt.value, e.valueKey) : Gt.value, Fe = ue(() => tn.value.filter((Gt) => Gt.visible).every((Gt) => Gt.disabled)), xn = ue(() => e.multiple ? e.collapseTags ? a.selected.slice(0, e.maxCollapseTags) : a.selected : []),
|
|
6650
|
+
}, Jt = (Gt) => Es(Gt.value) ? x6(Gt.value, e.valueKey) : Gt.value, Fe = ue(() => tn.value.filter((Gt) => Gt.visible).every((Gt) => Gt.disabled)), xn = ue(() => e.multiple ? e.collapseTags ? a.selected.slice(0, e.maxCollapseTags) : a.selected : []), Gn = ue(() => e.multiple ? e.collapseTags ? a.selected.slice(e.maxCollapseTags) : [] : []), In = (Gt) => {
|
|
6651
6651
|
if (!ot.value) {
|
|
6652
6652
|
ot.value = !0;
|
|
6653
6653
|
return;
|
|
@@ -6696,7 +6696,7 @@ const i2t = 11, o2t = (e, t) => {
|
|
|
6696
6696
|
shouldShowPlaceholder: dn,
|
|
6697
6697
|
currentPlaceholder: Xe,
|
|
6698
6698
|
mouseEnterEventName: Sn,
|
|
6699
|
-
showClose:
|
|
6699
|
+
showClose: Un,
|
|
6700
6700
|
iconComponent: cr,
|
|
6701
6701
|
iconReverse: _e,
|
|
6702
6702
|
validateState: Ne,
|
|
@@ -6724,7 +6724,7 @@ const i2t = 11, o2t = (e, t) => {
|
|
|
6724
6724
|
navigateOptions: In,
|
|
6725
6725
|
dropdownMenuVisible: vn,
|
|
6726
6726
|
showTagList: xn,
|
|
6727
|
-
collapseTagList:
|
|
6727
|
+
collapseTagList: Gn,
|
|
6728
6728
|
tagStyle: un,
|
|
6729
6729
|
collapseTagStyle: an,
|
|
6730
6730
|
inputStyle: Xn,
|
|
@@ -6903,13 +6903,13 @@ const a2t = Ir({
|
|
|
6903
6903
|
});
|
|
6904
6904
|
function c2t(e, t, n, r, i, o) {
|
|
6905
6905
|
const a = Va("el-tag"), s = Va("el-tooltip"), u = Va("el-icon"), h = Va("el-option"), d = Va("el-options"), Q = Va("el-scrollbar"), m = Va("el-select-menu"), v = OJ("click-outside");
|
|
6906
|
-
return _i((
|
|
6906
|
+
return _i((be(), En("div", {
|
|
6907
6907
|
ref: "selectRef",
|
|
6908
6908
|
class: nn([e.nsSelect.b(), e.nsSelect.m(e.selectSize)]),
|
|
6909
6909
|
[PJ(e.mouseEnterEventName)]: (x) => e.states.inputHovering = !0,
|
|
6910
6910
|
onMouseleave: (x) => e.states.inputHovering = !1
|
|
6911
6911
|
}, [
|
|
6912
|
-
|
|
6912
|
+
sn(s, {
|
|
6913
6913
|
ref: "tooltipRef",
|
|
6914
6914
|
visible: e.dropdownMenuVisible,
|
|
6915
6915
|
placement: e.placement,
|
|
@@ -6942,13 +6942,13 @@ function c2t(e, t, n, r, i, o) {
|
|
|
6942
6942
|
]),
|
|
6943
6943
|
onClick: bo(e.toggleMenu, ["prevent"])
|
|
6944
6944
|
}, [
|
|
6945
|
-
e.$slots.prefix ? (
|
|
6945
|
+
e.$slots.prefix ? (be(), En("div", {
|
|
6946
6946
|
key: 0,
|
|
6947
6947
|
ref: "prefixRef",
|
|
6948
6948
|
class: nn(e.nsSelect.e("prefix"))
|
|
6949
6949
|
}, [
|
|
6950
6950
|
Zn(e.$slots, "prefix")
|
|
6951
|
-
], 2)) :
|
|
6951
|
+
], 2)) : zn("v-if", !0),
|
|
6952
6952
|
yn("div", {
|
|
6953
6953
|
ref: "selectionRef",
|
|
6954
6954
|
class: nn([
|
|
@@ -6957,11 +6957,11 @@ function c2t(e, t, n, r, i, o) {
|
|
|
6957
6957
|
])
|
|
6958
6958
|
}, [
|
|
6959
6959
|
e.multiple ? Zn(e.$slots, "tag", { key: 0 }, () => [
|
|
6960
|
-
(
|
|
6960
|
+
(be(!0), En(C1, null, S6(e.showTagList, (L) => (be(), En("div", {
|
|
6961
6961
|
key: e.getValueKey(L),
|
|
6962
6962
|
class: nn(e.nsSelect.e("selected-item"))
|
|
6963
6963
|
}, [
|
|
6964
|
-
|
|
6964
|
+
sn(a, {
|
|
6965
6965
|
closable: !e.selectDisabled && !L.isDisabled,
|
|
6966
6966
|
size: e.collapseTagSize,
|
|
6967
6967
|
type: e.tagType,
|
|
@@ -6985,7 +6985,7 @@ function c2t(e, t, n, r, i, o) {
|
|
|
6985
6985
|
_: 2
|
|
6986
6986
|
}, 1032, ["closable", "size", "type", "effect", "style", "onClose"])
|
|
6987
6987
|
], 2))), 128)),
|
|
6988
|
-
e.collapseTags && e.states.selected.length > e.maxCollapseTags ? (
|
|
6988
|
+
e.collapseTags && e.states.selected.length > e.maxCollapseTags ? (be(), Fn(s, {
|
|
6989
6989
|
key: 0,
|
|
6990
6990
|
ref: "tagTooltipRef",
|
|
6991
6991
|
disabled: e.dropdownMenuVisible || !e.collapseTagsTooltip,
|
|
@@ -6999,7 +6999,7 @@ function c2t(e, t, n, r, i, o) {
|
|
|
6999
6999
|
ref: "collapseItemRef",
|
|
7000
7000
|
class: nn(e.nsSelect.e("selected-item"))
|
|
7001
7001
|
}, [
|
|
7002
|
-
|
|
7002
|
+
sn(a, {
|
|
7003
7003
|
closable: !1,
|
|
7004
7004
|
size: e.collapseTagSize,
|
|
7005
7005
|
type: e.tagType,
|
|
@@ -7021,11 +7021,11 @@ function c2t(e, t, n, r, i, o) {
|
|
|
7021
7021
|
ref: "tagMenuRef",
|
|
7022
7022
|
class: nn(e.nsSelect.e("selection"))
|
|
7023
7023
|
}, [
|
|
7024
|
-
(
|
|
7024
|
+
(be(!0), En(C1, null, S6(e.collapseTagList, (L) => (be(), En("div", {
|
|
7025
7025
|
key: e.getValueKey(L),
|
|
7026
7026
|
class: nn(e.nsSelect.e("selected-item"))
|
|
7027
7027
|
}, [
|
|
7028
|
-
|
|
7028
|
+
sn(a, {
|
|
7029
7029
|
class: "in-tooltip",
|
|
7030
7030
|
closable: !e.selectDisabled && !L.isDisabled,
|
|
7031
7031
|
size: e.collapseTagSize,
|
|
@@ -7052,9 +7052,9 @@ function c2t(e, t, n, r, i, o) {
|
|
|
7052
7052
|
], 2)
|
|
7053
7053
|
]),
|
|
7054
7054
|
_: 3
|
|
7055
|
-
}, 8, ["disabled", "effect", "teleported"])) :
|
|
7056
|
-
]) :
|
|
7057
|
-
e.selectDisabled ?
|
|
7055
|
+
}, 8, ["disabled", "effect", "teleported"])) : zn("v-if", !0)
|
|
7056
|
+
]) : zn("v-if", !0),
|
|
7057
|
+
e.selectDisabled ? zn("v-if", !0) : (be(), En("div", {
|
|
7058
7058
|
key: 1,
|
|
7059
7059
|
class: nn([
|
|
7060
7060
|
e.nsSelect.e("selected-item"),
|
|
@@ -7096,15 +7096,15 @@ function c2t(e, t, n, r, i, o) {
|
|
|
7096
7096
|
}, null, 46, ["id", "onUpdate:modelValue", "name", "disabled", "autocomplete", "readonly", "aria-activedescendant", "aria-controls", "aria-expanded", "aria-label", "onKeydown", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onInput", "onClick"]), [
|
|
7097
7097
|
[kJ, e.states.inputValue]
|
|
7098
7098
|
]),
|
|
7099
|
-
e.filterable ? (
|
|
7099
|
+
e.filterable ? (be(), En("span", {
|
|
7100
7100
|
key: 0,
|
|
7101
7101
|
ref: "calculatorRef",
|
|
7102
7102
|
"aria-hidden": "true",
|
|
7103
7103
|
class: nn(e.nsSelect.e("input-calculator")),
|
|
7104
7104
|
textContent: bi(e.states.inputValue)
|
|
7105
|
-
}, null, 10, ["textContent"])) :
|
|
7105
|
+
}, null, 10, ["textContent"])) : zn("v-if", !0)
|
|
7106
7106
|
], 2)),
|
|
7107
|
-
e.shouldShowPlaceholder ? (
|
|
7107
|
+
e.shouldShowPlaceholder ? (be(), En("div", {
|
|
7108
7108
|
key: 2,
|
|
7109
7109
|
class: nn([
|
|
7110
7110
|
e.nsSelect.e("selected-item"),
|
|
@@ -7118,23 +7118,23 @@ function c2t(e, t, n, r, i, o) {
|
|
|
7118
7118
|
value: e.modelValue
|
|
7119
7119
|
}, () => [
|
|
7120
7120
|
yn("span", null, bi(e.currentPlaceholder), 1)
|
|
7121
|
-
]) : (
|
|
7122
|
-
], 2)) :
|
|
7121
|
+
]) : (be(), En("span", { key: 1 }, bi(e.currentPlaceholder), 1))
|
|
7122
|
+
], 2)) : zn("v-if", !0)
|
|
7123
7123
|
], 2),
|
|
7124
7124
|
yn("div", {
|
|
7125
7125
|
ref: "suffixRef",
|
|
7126
7126
|
class: nn(e.nsSelect.e("suffix"))
|
|
7127
7127
|
}, [
|
|
7128
|
-
e.iconComponent && !e.showClose ? (
|
|
7128
|
+
e.iconComponent && !e.showClose ? (be(), Fn(u, {
|
|
7129
7129
|
key: 0,
|
|
7130
7130
|
class: nn([e.nsSelect.e("caret"), e.nsSelect.e("icon"), e.iconReverse])
|
|
7131
7131
|
}, {
|
|
7132
7132
|
default: ke(() => [
|
|
7133
|
-
(
|
|
7133
|
+
(be(), Fn(Na(e.iconComponent)))
|
|
7134
7134
|
]),
|
|
7135
7135
|
_: 1
|
|
7136
|
-
}, 8, ["class"])) :
|
|
7137
|
-
e.showClose && e.clearIcon ? (
|
|
7136
|
+
}, 8, ["class"])) : zn("v-if", !0),
|
|
7137
|
+
e.showClose && e.clearIcon ? (be(), Fn(u, {
|
|
7138
7138
|
key: 1,
|
|
7139
7139
|
class: nn([
|
|
7140
7140
|
e.nsSelect.e("caret"),
|
|
@@ -7144,35 +7144,35 @@ function c2t(e, t, n, r, i, o) {
|
|
|
7144
7144
|
onClick: e.handleClearClick
|
|
7145
7145
|
}, {
|
|
7146
7146
|
default: ke(() => [
|
|
7147
|
-
(
|
|
7147
|
+
(be(), Fn(Na(e.clearIcon)))
|
|
7148
7148
|
]),
|
|
7149
7149
|
_: 1
|
|
7150
|
-
}, 8, ["class", "onClick"])) :
|
|
7151
|
-
e.validateState && e.validateIcon ? (
|
|
7150
|
+
}, 8, ["class", "onClick"])) : zn("v-if", !0),
|
|
7151
|
+
e.validateState && e.validateIcon ? (be(), Fn(u, {
|
|
7152
7152
|
key: 2,
|
|
7153
7153
|
class: nn([e.nsInput.e("icon"), e.nsInput.e("validateIcon")])
|
|
7154
7154
|
}, {
|
|
7155
7155
|
default: ke(() => [
|
|
7156
|
-
(
|
|
7156
|
+
(be(), Fn(Na(e.validateIcon)))
|
|
7157
7157
|
]),
|
|
7158
7158
|
_: 1
|
|
7159
|
-
}, 8, ["class"])) :
|
|
7159
|
+
}, 8, ["class"])) : zn("v-if", !0)
|
|
7160
7160
|
], 2)
|
|
7161
7161
|
], 10, ["onClick"])
|
|
7162
7162
|
];
|
|
7163
7163
|
}),
|
|
7164
7164
|
content: ke(() => [
|
|
7165
|
-
|
|
7165
|
+
sn(m, { ref: "menuRef" }, {
|
|
7166
7166
|
default: ke(() => [
|
|
7167
|
-
e.$slots.header ? (
|
|
7167
|
+
e.$slots.header ? (be(), En("div", {
|
|
7168
7168
|
key: 0,
|
|
7169
7169
|
class: nn(e.nsSelect.be("dropdown", "header")),
|
|
7170
7170
|
onClick: bo(() => {
|
|
7171
7171
|
}, ["stop"])
|
|
7172
7172
|
}, [
|
|
7173
7173
|
Zn(e.$slots, "header")
|
|
7174
|
-
], 10, ["onClick"])) :
|
|
7175
|
-
_i(
|
|
7174
|
+
], 10, ["onClick"])) : zn("v-if", !0),
|
|
7175
|
+
_i(sn(Q, {
|
|
7176
7176
|
id: e.contentId,
|
|
7177
7177
|
ref: "scrollbarRef",
|
|
7178
7178
|
tag: "ul",
|
|
@@ -7184,12 +7184,12 @@ function c2t(e, t, n, r, i, o) {
|
|
|
7184
7184
|
"aria-orientation": "vertical"
|
|
7185
7185
|
}, {
|
|
7186
7186
|
default: ke(() => [
|
|
7187
|
-
e.showNewOption ? (
|
|
7187
|
+
e.showNewOption ? (be(), Fn(h, {
|
|
7188
7188
|
key: 0,
|
|
7189
7189
|
value: e.states.inputValue,
|
|
7190
7190
|
created: !0
|
|
7191
|
-
}, null, 8, ["value"])) :
|
|
7192
|
-
|
|
7191
|
+
}, null, 8, ["value"])) : zn("v-if", !0),
|
|
7192
|
+
sn(d, null, {
|
|
7193
7193
|
default: ke(() => [
|
|
7194
7194
|
Zn(e.$slots, "default")
|
|
7195
7195
|
]),
|
|
@@ -7200,27 +7200,27 @@ function c2t(e, t, n, r, i, o) {
|
|
|
7200
7200
|
}, 8, ["id", "wrap-class", "view-class", "class", "aria-label"]), [
|
|
7201
7201
|
[ws, e.states.options.size > 0 && !e.loading]
|
|
7202
7202
|
]),
|
|
7203
|
-
e.$slots.loading && e.loading ? (
|
|
7203
|
+
e.$slots.loading && e.loading ? (be(), En("div", {
|
|
7204
7204
|
key: 1,
|
|
7205
7205
|
class: nn(e.nsSelect.be("dropdown", "loading"))
|
|
7206
7206
|
}, [
|
|
7207
7207
|
Zn(e.$slots, "loading")
|
|
7208
|
-
], 2)) : e.loading || e.filteredOptionsCount === 0 ? (
|
|
7208
|
+
], 2)) : e.loading || e.filteredOptionsCount === 0 ? (be(), En("div", {
|
|
7209
7209
|
key: 2,
|
|
7210
7210
|
class: nn(e.nsSelect.be("dropdown", "empty"))
|
|
7211
7211
|
}, [
|
|
7212
7212
|
Zn(e.$slots, "empty", {}, () => [
|
|
7213
7213
|
yn("span", null, bi(e.emptyText), 1)
|
|
7214
7214
|
])
|
|
7215
|
-
], 2)) :
|
|
7216
|
-
e.$slots.footer ? (
|
|
7215
|
+
], 2)) : zn("v-if", !0),
|
|
7216
|
+
e.$slots.footer ? (be(), En("div", {
|
|
7217
7217
|
key: 3,
|
|
7218
7218
|
class: nn(e.nsSelect.be("dropdown", "footer")),
|
|
7219
7219
|
onClick: bo(() => {
|
|
7220
7220
|
}, ["stop"])
|
|
7221
7221
|
}, [
|
|
7222
7222
|
Zn(e.$slots, "footer")
|
|
7223
|
-
], 10, ["onClick"])) :
|
|
7223
|
+
], 10, ["onClick"])) : zn("v-if", !0)
|
|
7224
7224
|
]),
|
|
7225
7225
|
_: 3
|
|
7226
7226
|
}, 512)
|
|
@@ -7270,7 +7270,7 @@ const h2t = Bn({
|
|
|
7270
7270
|
}
|
|
7271
7271
|
});
|
|
7272
7272
|
function d2t(e, t, n, r, i, o) {
|
|
7273
|
-
return _i((
|
|
7273
|
+
return _i((be(), En("ul", {
|
|
7274
7274
|
ref: "groupRef",
|
|
7275
7275
|
class: nn(e.ns.be("group", "wrap"))
|
|
7276
7276
|
}, [
|
|
@@ -7382,7 +7382,7 @@ const p2t = Ir({
|
|
|
7382
7382
|
return t({
|
|
7383
7383
|
popperRef: s,
|
|
7384
7384
|
hide: Q
|
|
7385
|
-
}), (H, M) => (
|
|
7385
|
+
}), (H, M) => (be(), Fn(wt(Mz), xc({
|
|
7386
7386
|
ref_key: "tooltipRef",
|
|
7387
7387
|
ref: a
|
|
7388
7388
|
}, H.$attrs, {
|
|
@@ -7414,17 +7414,17 @@ const p2t = Ir({
|
|
|
7414
7414
|
onHide: L
|
|
7415
7415
|
}), {
|
|
7416
7416
|
content: ke(() => [
|
|
7417
|
-
H.title ? (
|
|
7417
|
+
H.title ? (be(), En("div", {
|
|
7418
7418
|
key: 0,
|
|
7419
7419
|
class: nn(wt(o).e("title")),
|
|
7420
7420
|
role: "title"
|
|
7421
|
-
}, bi(H.title), 3)) :
|
|
7421
|
+
}, bi(H.title), 3)) : zn("v-if", !0),
|
|
7422
7422
|
Zn(H.$slots, "default", {}, () => [
|
|
7423
7423
|
kr(bi(H.content), 1)
|
|
7424
7424
|
])
|
|
7425
7425
|
]),
|
|
7426
7426
|
default: ke(() => [
|
|
7427
|
-
H.$slots.reference ? Zn(H.$slots, "reference", { key: 0 }) :
|
|
7427
|
+
H.$slots.reference ? Zn(H.$slots, "reference", { key: 0 }) : zn("v-if", !0)
|
|
7428
7428
|
]),
|
|
7429
7429
|
_: 3
|
|
7430
7430
|
}, 16, ["trigger", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "persistent", "gpu-acceleration", "onUpdate:visible"]));
|
|
@@ -7505,7 +7505,7 @@ function _2t(e) {
|
|
|
7505
7505
|
onAfterLeave: u
|
|
7506
7506
|
}, {
|
|
7507
7507
|
default: ke(() => [
|
|
7508
|
-
_i(
|
|
7508
|
+
_i(sn("div", {
|
|
7509
7509
|
style: {
|
|
7510
7510
|
backgroundColor: r.background || ""
|
|
7511
7511
|
},
|
|
@@ -7780,13 +7780,13 @@ const nE = function(e = {}) {
|
|
|
7780
7780
|
}, E2t = { class: "selections-container" }, S2t = { class: "checkall-display-text" }, A2t = { style: { "word-break": "keep-all" } }, H2t = { class: "checkbox-group-inner" }, C2t = ["onMouseenter", "onMouseleave"];
|
|
7781
7781
|
function O2t(e, t, n, r, i, o) {
|
|
7782
7782
|
const a = pj, s = Y3, u = Sv, h = yf, d = Vz, Q = gf, m = Rz;
|
|
7783
|
-
return
|
|
7784
|
-
|
|
7783
|
+
return be(), En("div", E2t, [
|
|
7784
|
+
sn(Q, null, {
|
|
7785
7785
|
default: ke(() => [
|
|
7786
|
-
|
|
7786
|
+
sn(h, { span: 12 }, {
|
|
7787
7787
|
default: ke(() => [
|
|
7788
7788
|
yn("span", S2t, bi(n.title), 1),
|
|
7789
|
-
n.helpMessage ? (
|
|
7789
|
+
n.helpMessage ? (be(), Fn(u, {
|
|
7790
7790
|
key: 0,
|
|
7791
7791
|
width: "250",
|
|
7792
7792
|
trigger: "hover",
|
|
@@ -7801,22 +7801,22 @@ function O2t(e, t, n, r, i, o) {
|
|
|
7801
7801
|
n.helpMessage ? {
|
|
7802
7802
|
name: "reference",
|
|
7803
7803
|
fn: ke(() => [
|
|
7804
|
-
|
|
7804
|
+
sn(s, { class: "info" }, {
|
|
7805
7805
|
default: ke(() => [
|
|
7806
|
-
|
|
7806
|
+
sn(a)
|
|
7807
7807
|
]),
|
|
7808
7808
|
_: 1
|
|
7809
7809
|
})
|
|
7810
7810
|
]),
|
|
7811
7811
|
key: "0"
|
|
7812
7812
|
} : void 0
|
|
7813
|
-
]), 1024)) :
|
|
7813
|
+
]), 1024)) : zn("", !0)
|
|
7814
7814
|
]),
|
|
7815
7815
|
_: 1
|
|
7816
7816
|
}),
|
|
7817
|
-
|
|
7817
|
+
sn(h, { span: 12 }, {
|
|
7818
7818
|
default: ke(() => [
|
|
7819
|
-
n.selections && n.selections.length > 1 ? (
|
|
7819
|
+
n.selections && n.selections.length > 1 ? (be(), Fn(d, {
|
|
7820
7820
|
key: 0,
|
|
7821
7821
|
class: "all-checkbox",
|
|
7822
7822
|
indeterminate: o.isIndeterminate,
|
|
@@ -7829,14 +7829,14 @@ function O2t(e, t, n, r, i, o) {
|
|
|
7829
7829
|
kr("Display all")
|
|
7830
7830
|
])),
|
|
7831
7831
|
_: 1
|
|
7832
|
-
}, 8, ["indeterminate", "modelValue", "onChange", "onClick"])) :
|
|
7832
|
+
}, 8, ["indeterminate", "modelValue", "onChange", "onClick"])) : zn("", !0)
|
|
7833
7833
|
]),
|
|
7834
7834
|
_: 1
|
|
7835
7835
|
})
|
|
7836
7836
|
]),
|
|
7837
7837
|
_: 1
|
|
7838
7838
|
}),
|
|
7839
|
-
|
|
7839
|
+
sn(m, {
|
|
7840
7840
|
modelValue: e.checkedItems,
|
|
7841
7841
|
"onUpdate:modelValue": t[1] || (t[1] = (v) => e.checkedItems = v),
|
|
7842
7842
|
size: "small",
|
|
@@ -7845,7 +7845,7 @@ function O2t(e, t, n, r, i, o) {
|
|
|
7845
7845
|
}, {
|
|
7846
7846
|
default: ke(() => [
|
|
7847
7847
|
yn("div", H2t, [
|
|
7848
|
-
(
|
|
7848
|
+
(be(!0), En(C1, null, S6(n.selections, (v) => (be(), Fn(Q, {
|
|
7849
7849
|
key: v[n.identifierKey],
|
|
7850
7850
|
label: v[n.identifierKey]
|
|
7851
7851
|
}, {
|
|
@@ -7855,7 +7855,7 @@ function O2t(e, t, n, r, i, o) {
|
|
|
7855
7855
|
onMouseenter: (x) => o.checkboxMouseEnterEmit(v[n.identifierKey], !0),
|
|
7856
7856
|
onMouseleave: (x) => o.checkboxMouseEnterEmit(v[n.identifierKey], !1)
|
|
7857
7857
|
}, [
|
|
7858
|
-
|
|
7858
|
+
sn(d, {
|
|
7859
7859
|
class: "my-checkbox",
|
|
7860
7860
|
label: v[n.identifierKey],
|
|
7861
7861
|
value: v[n.identifierKey],
|
|
@@ -7864,9 +7864,9 @@ function O2t(e, t, n, r, i, o) {
|
|
|
7864
7864
|
checked: !("enabled" in v) || v.enabled === !0
|
|
7865
7865
|
}, {
|
|
7866
7866
|
default: ke(() => [
|
|
7867
|
-
|
|
7867
|
+
sn(Q, { class: "checkbox-row" }, {
|
|
7868
7868
|
default: ke(() => [
|
|
7869
|
-
o.hasLineStyles(v) ? (
|
|
7869
|
+
o.hasLineStyles(v) ? (be(), Fn(h, {
|
|
7870
7870
|
key: 0,
|
|
7871
7871
|
span: 4
|
|
7872
7872
|
}, {
|
|
@@ -7877,8 +7877,8 @@ function O2t(e, t, n, r, i, o) {
|
|
|
7877
7877
|
}, null, 4)
|
|
7878
7878
|
]),
|
|
7879
7879
|
_: 2
|
|
7880
|
-
}, 1024)) :
|
|
7881
|
-
|
|
7880
|
+
}, 1024)) : zn("", !0),
|
|
7881
|
+
sn(h, { span: 20 }, {
|
|
7882
7882
|
default: ke(() => [
|
|
7883
7883
|
yn("div", {
|
|
7884
7884
|
style: No(o.getBackgroundStyles(v))
|
|
@@ -7915,8 +7915,8 @@ const Yz = /* @__PURE__ */ Av(M2t, [["render", O2t], ["__scopeId", "data-v-fb8c9
|
|
|
7915
7915
|
"xmlns:bx": "https://boxy-svg.com"
|
|
7916
7916
|
};
|
|
7917
7917
|
function V2t(e, t, n, r, i, o) {
|
|
7918
|
-
return
|
|
7919
|
-
(
|
|
7918
|
+
return be(), En("div", k2t, [
|
|
7919
|
+
(be(), En("svg", I2t, t[0] || (t[0] = [
|
|
7920
7920
|
VJ('<defs data-v-88079d87><bx:grid height="30.447" width="32.516" x="0" y="0" data-v-88079d87></bx:grid></defs><path class="st0 st0-translate" d="M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z" data-v-88079d87></path><path class="st1" d="M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z" data-v-88079d87></path><path class="st2" d="M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 171.7975)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Tissue region </text><path class="st6" d="M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 257.675)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Brain nuclei </text><text transform="matrix(0.9908 0 0 1 118.0903 345.5266)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglia </text><text transform="matrix(0.9908 0 0 1 118.0903 433.1613)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglionated nerve plexus </text>', 9)
|
|
7921
7921
|
]))),
|
|
7922
7922
|
t[1] || (t[1] = yn("svg", {
|
|
@@ -8353,7 +8353,7 @@ var eU = { exports: {} };
|
|
|
8353
8353
|
rt !== "absolute" && rt !== "relative" && rt !== "fixed" && rt !== "sticky" && (L.style.position = "relative");
|
|
8354
8354
|
var ot = !1, ft = 0, ht = a(L), At = 0, $t = 0, ce = !0;
|
|
8355
8355
|
m = 0;
|
|
8356
|
-
var
|
|
8356
|
+
var xe = function() {
|
|
8357
8357
|
var _e = L.offsetWidth, Ne = L.offsetHeight;
|
|
8358
8358
|
D.style.width = _e + 10 + "px", D.style.height = Ne + 10 + "px", I.scrollLeft = _e + 10, I.scrollTop = Ne + 10, z.scrollLeft = _e + 10, z.scrollTop = Ne + 10;
|
|
8359
8359
|
}, ae = function() {
|
|
@@ -8367,17 +8367,17 @@ var eU = { exports: {} };
|
|
|
8367
8367
|
} else
|
|
8368
8368
|
ce = !1;
|
|
8369
8369
|
}
|
|
8370
|
-
|
|
8370
|
+
xe();
|
|
8371
8371
|
};
|
|
8372
8372
|
L.resizeSensor.resetSensor = ae;
|
|
8373
8373
|
var Qn = function() {
|
|
8374
8374
|
ft = 0, ot && (At = ht.width, $t = ht.height, L.resizedAttached && L.resizedAttached.call(ht));
|
|
8375
|
-
},
|
|
8375
|
+
}, Un = function() {
|
|
8376
8376
|
ht = a(L), ot = ht.width !== At || ht.height !== $t, ot && !ft && (ft = r(Qn)), ae();
|
|
8377
8377
|
}, cr = function(_e, Ne, gn) {
|
|
8378
8378
|
_e.attachEvent ? _e.attachEvent("on" + Ne, gn) : _e.addEventListener(Ne, gn);
|
|
8379
8379
|
};
|
|
8380
|
-
cr(I, "scroll",
|
|
8380
|
+
cr(I, "scroll", Un), cr(z, "scroll", Un), m = r(function() {
|
|
8381
8381
|
m = 0, ae();
|
|
8382
8382
|
});
|
|
8383
8383
|
}
|
|
@@ -9699,7 +9699,7 @@ var QG = { exports: {} };
|
|
|
9699
9699
|
var T = new Z(2);
|
|
9700
9700
|
return Z != Float32Array && (T[0] = 0, T[1] = 0), T;
|
|
9701
9701
|
}
|
|
9702
|
-
function
|
|
9702
|
+
function xe(T, c) {
|
|
9703
9703
|
var f = new Z(2);
|
|
9704
9704
|
return f[0] = T, f[1] = c, f;
|
|
9705
9705
|
}
|
|
@@ -9711,7 +9711,7 @@ var QG = { exports: {} };
|
|
|
9711
9711
|
function Qn(T, c, f) {
|
|
9712
9712
|
return c * (ae / (T.tileSize * Math.pow(2, f - T.tileID.overscaledZ)));
|
|
9713
9713
|
}
|
|
9714
|
-
function
|
|
9714
|
+
function Un(T, c) {
|
|
9715
9715
|
return (T % c + c) % c;
|
|
9716
9716
|
}
|
|
9717
9717
|
function cr(T, c, f) {
|
|
@@ -9991,13 +9991,13 @@ var QG = { exports: {} };
|
|
|
9991
9991
|
super(f), this.message = f, this.key = c;
|
|
9992
9992
|
}
|
|
9993
9993
|
}
|
|
9994
|
-
class
|
|
9994
|
+
class Gn {
|
|
9995
9995
|
constructor(c, f = []) {
|
|
9996
9996
|
this.parent = c, this.bindings = {};
|
|
9997
9997
|
for (const [g, b] of f) this.bindings[g] = b;
|
|
9998
9998
|
}
|
|
9999
9999
|
concat(c) {
|
|
10000
|
-
return new
|
|
10000
|
+
return new Gn(this, c);
|
|
10001
10001
|
}
|
|
10002
10002
|
get(c) {
|
|
10003
10003
|
if (this.bindings[c]) return this.bindings[c];
|
|
@@ -10351,7 +10351,7 @@ var QG = { exports: {} };
|
|
|
10351
10351
|
}
|
|
10352
10352
|
return Me;
|
|
10353
10353
|
}
|
|
10354
|
-
function
|
|
10354
|
+
function $n(T) {
|
|
10355
10355
|
const c = typeof T;
|
|
10356
10356
|
return T === null ? "" : c === "string" || c === "number" || c === "boolean" ? String(T) : T instanceof V || T instanceof $e || T instanceof Vt || T instanceof Rt || T instanceof Oe || T instanceof Ue ? T.toString() : JSON.stringify(T);
|
|
10357
10357
|
}
|
|
@@ -10485,13 +10485,13 @@ var QG = { exports: {} };
|
|
|
10485
10485
|
throw new jt(`Could not convert ${JSON.stringify(f)} to number.`);
|
|
10486
10486
|
}
|
|
10487
10487
|
case "formatted":
|
|
10488
|
-
return Vt.fromString(
|
|
10488
|
+
return Vt.fromString($n(this.args[0].evaluate(c)));
|
|
10489
10489
|
case "resolvedImage":
|
|
10490
|
-
return Ue.fromString(
|
|
10490
|
+
return Ue.fromString($n(this.args[0].evaluate(c)));
|
|
10491
10491
|
case "projectionDefinition":
|
|
10492
10492
|
return this.args[0].evaluate(c);
|
|
10493
10493
|
default:
|
|
10494
|
-
return
|
|
10494
|
+
return $n(this.args[0].evaluate(c));
|
|
10495
10495
|
}
|
|
10496
10496
|
}
|
|
10497
10497
|
eachChild(c) {
|
|
@@ -10527,7 +10527,7 @@ var QG = { exports: {} };
|
|
|
10527
10527
|
}
|
|
10528
10528
|
}
|
|
10529
10529
|
class dr {
|
|
10530
|
-
constructor(c, f, g = [], b, S = new
|
|
10530
|
+
constructor(c, f, g = [], b, S = new Gn(), C = []) {
|
|
10531
10531
|
this.registry = c, this.path = g, this.key = g.map((k) => `[${k}]`).join(""), this.scope = S, this.errors = C, this.expectedType = b, this._isConstant = f;
|
|
10532
10532
|
}
|
|
10533
10533
|
parse(c, f, g, b, S = {}) {
|
|
@@ -11187,7 +11187,7 @@ var QG = { exports: {} };
|
|
|
11187
11187
|
evaluate(c) {
|
|
11188
11188
|
return new Vt(this.sections.map((f) => {
|
|
11189
11189
|
const g = f.content.evaluate(c);
|
|
11190
|
-
return rr(g) === Jn ? new Et("", g, null, null, null, f.verticalAlign ? f.verticalAlign.evaluate(c) : null) : new Et(
|
|
11190
|
+
return rr(g) === Jn ? new Et("", g, null, null, null, f.verticalAlign ? f.verticalAlign.evaluate(c) : null) : new Et($n(g), null, f.scale ? f.scale.evaluate(c) : null, f.font ? f.font.evaluate(c).join(",") : null, f.textColor ? f.textColor.evaluate(c) : null, f.verticalAlign ? f.verticalAlign.evaluate(c) : null);
|
|
11191
11191
|
}));
|
|
11192
11192
|
}
|
|
11193
11193
|
eachChild(c) {
|
|
@@ -12044,7 +12044,7 @@ var QG = { exports: {} };
|
|
|
12044
12044
|
}]] }, "!": [an, [an], (T, [c]) => !c.evaluate(T)], "is-supported-script": [an, [un], (T, [c]) => {
|
|
12045
12045
|
const f = T.globals && T.globals.isSupportedScript;
|
|
12046
12046
|
return !f || f(c.evaluate(T));
|
|
12047
|
-
}], upcase: [un, [un], (T, [c]) => c.evaluate(T).toUpperCase()], downcase: [un, [un], (T, [c]) => c.evaluate(T).toLowerCase()], concat: [un, xi(Ve), (T, c) => c.map((f) =>
|
|
12047
|
+
}], upcase: [un, [un], (T, [c]) => c.evaluate(T).toUpperCase()], downcase: [un, [un], (T, [c]) => c.evaluate(T).toLowerCase()], concat: [un, xi(Ve), (T, c) => c.map((f) => $n(f.evaluate(T))).join("")], "resolved-locale": [un, [hr], (T, [c]) => c.evaluate(T).resolvedLocale()] });
|
|
12048
12048
|
class ya {
|
|
12049
12049
|
constructor(c, f) {
|
|
12050
12050
|
var g;
|
|
@@ -18049,7 +18049,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18049
18049
|
return T[0] = c[0], T[1] = c[1], T[2] = c[2], T[3] = c[3], T[4] = c[4], T[5] = c[5], T[6] = c[6], T[7] = c[7], T[8] = c[8], T[9] = c[9], T[10] = c[10], T[11] = c[11], T[12] = c[12], T[13] = c[13], T[14] = c[14], T[15] = c[15], T;
|
|
18050
18050
|
}, a.b_ = (T) => T.type === "symbol", a.ba = Qu, a.bb = cr, a.bc = _e, a.bd = $e, a.be = function(T, c, f, g, b) {
|
|
18051
18051
|
return cr(g, b, We((T - c) / (f - c), 0, 1));
|
|
18052
|
-
}, a.bf =
|
|
18052
|
+
}, a.bf = Un, a.bg = function() {
|
|
18053
18053
|
return new Float64Array(4);
|
|
18054
18054
|
}, a.bh = function() {
|
|
18055
18055
|
return new Float64Array(3);
|
|
@@ -18066,7 +18066,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18066
18066
|
var g = Math.sin(f), b = Math.cos(f), S = c[0], C = c[1], k = c[2], B = c[3], j = c[8], $ = c[9], q = c[10], tt = c[11];
|
|
18067
18067
|
return c !== T && (T[4] = c[4], T[5] = c[5], T[6] = c[6], T[7] = c[7], T[12] = c[12], T[13] = c[13], T[14] = c[14], T[15] = c[15]), T[0] = S * b - j * g, T[1] = C * b - $ * g, T[2] = k * b - q * g, T[3] = B * b - tt * g, T[8] = S * g + j * b, T[9] = C * g + $ * b, T[10] = k * g + q * b, T[11] = B * g + tt * b, T;
|
|
18068
18068
|
}, a.bm = function(T, c) {
|
|
18069
|
-
const f =
|
|
18069
|
+
const f = Un(T, 360), g = Un(c, 360), b = g - f, S = g > f ? b - 360 : b + 360;
|
|
18070
18070
|
return Math.abs(b) < Math.abs(S) ? b : S;
|
|
18071
18071
|
}, a.bn = function(T) {
|
|
18072
18072
|
return T[0] = 0, T[1] = 0, T[2] = 0, T;
|
|
@@ -18078,7 +18078,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18078
18078
|
}, a.bp = function(T, c) {
|
|
18079
18079
|
return T[0] * c[0] + T[1] * c[1] + T[2] * c[2] + T[3];
|
|
18080
18080
|
}, a.bq = jx, a.br = function(T, c) {
|
|
18081
|
-
const f =
|
|
18081
|
+
const f = Un(T, 2 * Math.PI), g = Un(c, 2 * Math.PI);
|
|
18082
18082
|
return Math.min(Math.abs(f - g), Math.abs(f - g + 2 * Math.PI), Math.abs(f - g - 2 * Math.PI));
|
|
18083
18083
|
}, a.bs = function(T) {
|
|
18084
18084
|
return Math.hypot(T[0], T[1], T[2]);
|
|
@@ -18151,7 +18151,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18151
18151
|
}
|
|
18152
18152
|
return f;
|
|
18153
18153
|
}, a.c = Jo, a.c0 = (T) => T.type === "heatmap", a.c1 = (T) => T.type === "line", a.c2 = (T) => T.type === "fill", a.c3 = (T) => T.type === "fill-extrusion", a.c4 = (T) => T.type === "hillshade", a.c5 = (T) => T.type === "raster", a.c6 = (T) => T.type === "background", a.c7 = (T) => T.type === "custom", a.c8 = Ne, a.c9 = function(T, c, f) {
|
|
18154
|
-
const g =
|
|
18154
|
+
const g = xe(c.x - f.x, c.y - f.y), b = xe(T.x - f.x, T.y - f.y);
|
|
18155
18155
|
var S, C;
|
|
18156
18156
|
return Kr(Math.atan2(g[0] * b[1] - g[1] * b[0], (S = g)[0] * (C = b)[0] + S[1] * C[1]));
|
|
18157
18157
|
}, a.cA = Q, a.cB = DO, a.cC = KO, a.cD = va, a.cE = h3, a.ca = gn, a.cb = function(T, c, f) {
|
|
@@ -18368,12 +18368,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18368
18368
|
this.inFlightDependencies.push(Gt), Fe = bt.sendAsync({ type: "GI", data: { icons: Jt, source: this.source, tileID: this.tileID, type: "icons" } }, Gt);
|
|
18369
18369
|
}
|
|
18370
18370
|
const xn = Object.keys(fe.patternDependencies);
|
|
18371
|
-
let
|
|
18371
|
+
let Gn = Promise.resolve({});
|
|
18372
18372
|
if (xn.length) {
|
|
18373
18373
|
const Gt = new AbortController();
|
|
18374
|
-
this.inFlightDependencies.push(Gt),
|
|
18374
|
+
this.inFlightDependencies.push(Gt), Gn = bt.sendAsync({ type: "GI", data: { icons: xn, source: this.source, tileID: this.tileID, type: "patterns" } }, Gt);
|
|
18375
18375
|
}
|
|
18376
|
-
const [In, de, un] = yield Promise.all([Le, Fe,
|
|
18376
|
+
const [In, de, un] = yield Promise.all([Le, Fe, Gn]), an = new u(In), Xn = new a.cp(de, un);
|
|
18377
18377
|
for (const Gt in zt) {
|
|
18378
18378
|
const Me = zt[Gt];
|
|
18379
18379
|
Me instanceof a.a5 ? (d(Me.layers, this.zoom, Qt), a.cq({ bucket: Me, glyphMap: In, glyphPositions: an.positions, imageMap: de, imagePositions: Xn.iconPositions, showCollisionBoxes: this.showCollisionBoxes, canonical: this.tileID.canonical, subdivisionGranularity: fe.subdivisionGranularity })) : Me.hasPattern && (Me instanceof a.cr || Me instanceof a.cs || Me instanceof a.ct) && (d(Me.layers, this.zoom, Qt), Me.addFeatures(fe, this.tileID.canonical, Xn.patternPositions));
|
|
@@ -18553,17 +18553,17 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18553
18553
|
var Fe = this.rawGeometry;
|
|
18554
18554
|
this.geometry = [];
|
|
18555
18555
|
for (var xn = 0; xn < Fe.length; xn++) {
|
|
18556
|
-
for (var
|
|
18556
|
+
for (var Gn = Fe[xn], In = [], de = 0; de < Gn.length; de++) In.push(new le(Gn[de][0], Gn[de][1]));
|
|
18557
18557
|
this.geometry.push(In);
|
|
18558
18558
|
}
|
|
18559
18559
|
return this.geometry;
|
|
18560
18560
|
}, Jt.prototype.bbox = function() {
|
|
18561
18561
|
this.geometry || this.loadGeometry();
|
|
18562
|
-
for (var Fe = this.geometry, xn = 1 / 0,
|
|
18562
|
+
for (var Fe = this.geometry, xn = 1 / 0, Gn = -1 / 0, In = 1 / 0, de = -1 / 0, un = 0; un < Fe.length; un++) for (var an = Fe[un], Xn = 0; Xn < an.length; Xn++) {
|
|
18563
18563
|
var Gt = an[Xn];
|
|
18564
|
-
xn = Math.min(xn, Gt.x),
|
|
18564
|
+
xn = Math.min(xn, Gt.x), Gn = Math.max(Gn, Gt.x), In = Math.min(In, Gt.y), de = Math.max(de, Gt.y);
|
|
18565
18565
|
}
|
|
18566
|
-
return [xn, In,
|
|
18566
|
+
return [xn, In, Gn, de];
|
|
18567
18567
|
}, Jt.prototype.toGeoJSON = Yt.prototype.toGeoJSON, D;
|
|
18568
18568
|
}();
|
|
18569
18569
|
function ut(le) {
|
|
@@ -18587,15 +18587,15 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18587
18587
|
Le.id !== void 0 && Yt.writeVarintField(1, Le.id), Yt.writeMessage(2, It, le), Yt.writeVarintField(3, Le.type), Yt.writeMessage(4, zt, Le);
|
|
18588
18588
|
}
|
|
18589
18589
|
function It(le, Yt) {
|
|
18590
|
-
var Le = le.feature, Jt = le.keys, Fe = le.values, xn = le.keycache,
|
|
18590
|
+
var Le = le.feature, Jt = le.keys, Fe = le.values, xn = le.keycache, Gn = le.valuecache;
|
|
18591
18591
|
for (var In in Le.properties) {
|
|
18592
18592
|
var de = Le.properties[In], un = xn[In];
|
|
18593
18593
|
if (de !== null) {
|
|
18594
18594
|
un === void 0 && (Jt.push(In), xn[In] = un = Jt.length - 1), Yt.writeVarint(un);
|
|
18595
18595
|
var an = typeof de;
|
|
18596
18596
|
an !== "string" && an !== "boolean" && an !== "number" && (de = JSON.stringify(de));
|
|
18597
|
-
var Xn = an + ":" + de, Gt =
|
|
18598
|
-
Gt === void 0 && (Fe.push(de),
|
|
18597
|
+
var Xn = an + ":" + de, Gt = Gn[Xn];
|
|
18598
|
+
Gt === void 0 && (Fe.push(de), Gn[Xn] = Gt = Fe.length - 1), Yt.writeVarint(Gt);
|
|
18599
18599
|
}
|
|
18600
18600
|
}
|
|
18601
18601
|
}
|
|
@@ -18606,7 +18606,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18606
18606
|
return le << 1 ^ le >> 31;
|
|
18607
18607
|
}
|
|
18608
18608
|
function zt(le, Yt) {
|
|
18609
|
-
for (var Le = le.loadGeometry(), Jt = le.type, Fe = 0, xn = 0,
|
|
18609
|
+
for (var Le = le.loadGeometry(), Jt = le.type, Fe = 0, xn = 0, Gn = Le.length, In = 0; In < Gn; In++) {
|
|
18610
18610
|
var de = Le[In], un = 1;
|
|
18611
18611
|
Jt === 1 && (un = de.length), Yt.writeVarint(Ut(1, un));
|
|
18612
18612
|
for (var an = Jt === 3 ? de.length - 1 : de.length, Xn = 0; Xn < an; Xn++) {
|
|
@@ -18630,7 +18630,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18630
18630
|
}(), ot = a.cz(rt);
|
|
18631
18631
|
const ft = { minZoom: 0, maxZoom: 16, minPoints: 2, radius: 40, extent: 512, nodeSize: 64, log: !1, generateId: !1, reduce: null, map: (qt) => qt }, ht = Math.fround || (At = new Float32Array(1), (qt) => (At[0] = +qt, At[0]));
|
|
18632
18632
|
var At;
|
|
18633
|
-
const $t = 3, ce = 5,
|
|
18633
|
+
const $t = 3, ce = 5, xe = 6;
|
|
18634
18634
|
class ae {
|
|
18635
18635
|
constructor(K) {
|
|
18636
18636
|
this.options = Object.assign(Object.create(ft), K), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
|
|
@@ -18719,12 +18719,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18719
18719
|
for (const te of K) {
|
|
18720
18720
|
const zt = te * this.stride, fe = ut[zt + ce] > 1;
|
|
18721
18721
|
let le, Yt, Le;
|
|
18722
|
-
if (fe) le =
|
|
18722
|
+
if (fe) le = Un(ut, zt, this.clusterProps), Yt = ut[zt], Le = ut[zt + 1];
|
|
18723
18723
|
else {
|
|
18724
18724
|
const xn = this.points[ut[zt + $t]];
|
|
18725
18725
|
le = xn.properties;
|
|
18726
|
-
const [
|
|
18727
|
-
Yt = cr(
|
|
18726
|
+
const [Gn, In] = xn.geometry.coordinates;
|
|
18727
|
+
Yt = cr(Gn), Le = _e(In);
|
|
18728
18728
|
}
|
|
18729
18729
|
const Jt = { type: 1, geometry: [[Math.round(this.options.extent * (Yt * It - Qt)), Math.round(this.options.extent * (Le * It - bt))]], tags: le };
|
|
18730
18730
|
let Fe;
|
|
@@ -18740,12 +18740,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18740
18740
|
if (zt[Yt + 2] <= ut) continue;
|
|
18741
18741
|
zt[Yt + 2] = ut;
|
|
18742
18742
|
const Le = zt[Yt], Jt = zt[Yt + 1], Fe = K.within(zt[Yt], zt[Yt + 1], te), xn = zt[Yt + ce];
|
|
18743
|
-
let
|
|
18743
|
+
let Gn = xn;
|
|
18744
18744
|
for (const In of Fe) {
|
|
18745
18745
|
const de = In * le;
|
|
18746
|
-
zt[de + 2] > ut && (
|
|
18746
|
+
zt[de + 2] > ut && (Gn += zt[de + ce]);
|
|
18747
18747
|
}
|
|
18748
|
-
if (
|
|
18748
|
+
if (Gn > xn && Gn >= Ut) {
|
|
18749
18749
|
let In, de = Le * xn, un = Jt * xn, an = -1;
|
|
18750
18750
|
const Xn = ((Yt / le | 0) << 5) + (ut + 1) + this.points.length;
|
|
18751
18751
|
for (const Gt of Fe) {
|
|
@@ -18755,10 +18755,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18755
18755
|
const Ve = zt[Me + ce];
|
|
18756
18756
|
de += zt[Me] * Ve, un += zt[Me + 1] * Ve, zt[Me + 4] = Xn, It && (In || (In = this._map(zt, Yt, !0), an = this.clusterProps.length, this.clusterProps.push(In)), It(In, this._map(zt, Me)));
|
|
18757
18757
|
}
|
|
18758
|
-
zt[Yt + 4] = Xn, fe.push(de /
|
|
18758
|
+
zt[Yt + 4] = Xn, fe.push(de / Gn, un / Gn, 1 / 0, Xn, -1, Gn), It && fe.push(an);
|
|
18759
18759
|
} else {
|
|
18760
18760
|
for (let In = 0; In < le; In++) fe.push(zt[Yt + In]);
|
|
18761
|
-
if (
|
|
18761
|
+
if (Gn > 1) for (const In of Fe) {
|
|
18762
18762
|
const de = In * le;
|
|
18763
18763
|
if (!(zt[de + 2] <= ut)) {
|
|
18764
18764
|
zt[de + 2] = ut;
|
|
@@ -18777,7 +18777,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18777
18777
|
}
|
|
18778
18778
|
_map(K, ut, Qt) {
|
|
18779
18779
|
if (K[ut + ce] > 1) {
|
|
18780
|
-
const Ut = this.clusterProps[K[ut +
|
|
18780
|
+
const Ut = this.clusterProps[K[ut + xe]];
|
|
18781
18781
|
return Qt ? Object.assign({}, Ut) : Ut;
|
|
18782
18782
|
}
|
|
18783
18783
|
const bt = this.points[K[ut + $t]].properties, It = this.options.map(bt);
|
|
@@ -18785,11 +18785,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18785
18785
|
}
|
|
18786
18786
|
}
|
|
18787
18787
|
function Qn(qt, K, ut) {
|
|
18788
|
-
return { type: "Feature", id: qt[K + $t], properties:
|
|
18788
|
+
return { type: "Feature", id: qt[K + $t], properties: Un(qt, K, ut), geometry: { type: "Point", coordinates: [(Qt = qt[K], 360 * (Qt - 0.5)), Ne(qt[K + 1])] } };
|
|
18789
18789
|
var Qt;
|
|
18790
18790
|
}
|
|
18791
|
-
function
|
|
18792
|
-
const Qt = qt[K + ce], bt = Qt >= 1e4 ? `${Math.round(Qt / 1e3)}k` : Qt >= 1e3 ? Math.round(Qt / 100) / 10 + "k" : Qt, It = qt[K +
|
|
18791
|
+
function Un(qt, K, ut) {
|
|
18792
|
+
const Qt = qt[K + ce], bt = Qt >= 1e4 ? `${Math.round(Qt / 1e3)}k` : Qt >= 1e3 ? Math.round(Qt / 100) / 10 + "k" : Qt, It = qt[K + xe], Ut = It === -1 ? {} : Object.assign({}, ut[It]);
|
|
18793
18793
|
return Object.assign(Ut, { cluster: !0, cluster_id: qt[K + $t], point_count: Qt, point_count_abbreviated: bt });
|
|
18794
18794
|
}
|
|
18795
18795
|
function cr(qt) {
|
|
@@ -18912,8 +18912,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18912
18912
|
else if (Yt === "MultiLineString") bn(le, Fe, ut, Qt, bt, !1);
|
|
18913
18913
|
else if (Yt === "Polygon") bn(le, Fe, ut, Qt, bt, !0);
|
|
18914
18914
|
else if (Yt === "MultiPolygon") for (const xn of le) {
|
|
18915
|
-
const
|
|
18916
|
-
bn(xn,
|
|
18915
|
+
const Gn = [];
|
|
18916
|
+
bn(xn, Gn, ut, Qt, bt, !0), Gn.length && Fe.push(Gn);
|
|
18917
18917
|
}
|
|
18918
18918
|
if (Fe.length) {
|
|
18919
18919
|
if (te.lineMetrics && Yt === "LineString") {
|
|
@@ -18935,8 +18935,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
18935
18935
|
let te = Sn(qt);
|
|
18936
18936
|
const zt = bt === 0 ? ur : di;
|
|
18937
18937
|
let fe, le, Yt = qt.start;
|
|
18938
|
-
for (let
|
|
18939
|
-
const In = qt[
|
|
18938
|
+
for (let Gn = 0; Gn < qt.length - 3; Gn += 3) {
|
|
18939
|
+
const In = qt[Gn], de = qt[Gn + 1], un = qt[Gn + 2], an = qt[Gn + 3], Xn = qt[Gn + 4], Gt = bt === 0 ? In : de, Me = bt === 0 ? an : Xn;
|
|
18940
18940
|
let Ve = !1;
|
|
18941
18941
|
Ut && (fe = Math.sqrt(Math.pow(In - an, 2) + Math.pow(de - Xn, 2))), Gt < ut ? Me > ut && (le = zt(te, In, de, an, Xn, ut), Ut && (te.start = Yt + fe * le)) : Gt > Qt ? Me < Qt && (le = zt(te, In, de, an, Xn, Qt), Ut && (te.start = Yt + fe * le)) : _r(te, In, de, un), Me < ut && Gt >= ut && (le = zt(te, In, de, an, Xn, ut), Ve = !0), Me > Qt && Gt <= Qt && (le = zt(te, In, de, an, Xn, Qt), Ve = !0), !It && Ve && (Ut && (te.end = Yt + fe * le), K.push(te), te = Sn(qt)), Ut && (Yt += fe);
|
|
18942
18942
|
}
|
|
@@ -19089,9 +19089,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19089
19089
|
}
|
|
19090
19090
|
if (Jt.source = null, K.length === 0) continue;
|
|
19091
19091
|
le > 1 && console.time("clipping");
|
|
19092
|
-
const Fe = 0.5 * fe.buffer / fe.extent, xn = 0.5 - Fe,
|
|
19093
|
-
let de = null, un = null, an = null, Xn = null, Gt = vn(K, Yt, Qt - Fe, Qt +
|
|
19094
|
-
K = null, Gt && (de = vn(Gt, Yt, bt - Fe, bt +
|
|
19092
|
+
const Fe = 0.5 * fe.buffer / fe.extent, xn = 0.5 - Fe, Gn = 0.5 + Fe, In = 1 + Fe;
|
|
19093
|
+
let de = null, un = null, an = null, Xn = null, Gt = vn(K, Yt, Qt - Fe, Qt + Gn, 0, Jt.minX, Jt.maxX, fe), Me = vn(K, Yt, Qt + xn, Qt + In, 0, Jt.minX, Jt.maxX, fe);
|
|
19094
|
+
K = null, Gt && (de = vn(Gt, Yt, bt - Fe, bt + Gn, 1, Jt.minY, Jt.maxY, fe), un = vn(Gt, Yt, bt + xn, bt + In, 1, Jt.minY, Jt.maxY, fe), Gt = null), Me && (an = vn(Me, Yt, bt - Fe, bt + Gn, 1, Jt.minY, Jt.maxY, fe), Xn = vn(Me, Yt, bt + xn, bt + In, 1, Jt.minY, Jt.maxY, fe), Me = null), le > 1 && console.timeEnd("clipping"), zt.push(de || [], ut + 1, 2 * Qt, 2 * bt), zt.push(un || [], ut + 1, 2 * Qt, 2 * bt + 1), zt.push(an || [], ut + 1, 2 * Qt + 1, 2 * bt), zt.push(Xn || [], ut + 1, 2 * Qt + 1, 2 * bt + 1);
|
|
19095
19095
|
}
|
|
19096
19096
|
}
|
|
19097
19097
|
getTile(K, ut, Qt) {
|
|
@@ -19158,8 +19158,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19158
19158
|
if (!te || !Ut) return Ut;
|
|
19159
19159
|
const zt = {}, fe = {}, le = { accumulated: null, zoom: 0 }, Yt = { properties: null }, Le = Object.keys(te);
|
|
19160
19160
|
for (const Jt of Le) {
|
|
19161
|
-
const [Fe, xn] = te[Jt],
|
|
19162
|
-
zt[Jt] =
|
|
19161
|
+
const [Fe, xn] = te[Jt], Gn = a.cD(xn), In = a.cD(typeof Fe == "string" ? [Fe, ["accumulated"], ["get", Jt]] : Fe);
|
|
19162
|
+
zt[Jt] = Gn.value, fe[Jt] = In.value;
|
|
19163
19163
|
}
|
|
19164
19164
|
return Ut.map = (Jt) => {
|
|
19165
19165
|
Yt.properties = Jt;
|
|
@@ -19789,7 +19789,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19789
19789
|
return st;
|
|
19790
19790
|
}
|
|
19791
19791
|
};
|
|
19792
|
-
class
|
|
19792
|
+
class xe {
|
|
19793
19793
|
constructor() {
|
|
19794
19794
|
this.specification = s.v.light.position;
|
|
19795
19795
|
}
|
|
@@ -19803,7 +19803,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19803
19803
|
let ae;
|
|
19804
19804
|
class Qn extends s.E {
|
|
19805
19805
|
constructor(l) {
|
|
19806
|
-
super(), ae = ae || new s.r({ anchor: new s.D(s.v.light.anchor), position: new
|
|
19806
|
+
super(), ae = ae || new s.r({ anchor: new s.D(s.v.light.anchor), position: new xe(), color: new s.D(s.v.light.color), intensity: new s.D(s.v.light.intensity) }), this._transitionable = new s.T(ae), this.setLight(l), this._transitioning = this._transitionable.untransitioned();
|
|
19807
19807
|
}
|
|
19808
19808
|
getLight() {
|
|
19809
19809
|
return this._transitionable.serialize();
|
|
@@ -19827,10 +19827,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
19827
19827
|
return (!y || y.validate !== !1) && s.x(this, l.call(s.y, { value: p, style: { glyphs: !0, sprite: !0 }, styleSpec: s.v }));
|
|
19828
19828
|
}
|
|
19829
19829
|
}
|
|
19830
|
-
const
|
|
19830
|
+
const Un = new s.r({ "sky-color": new s.D(s.v.sky["sky-color"]), "horizon-color": new s.D(s.v.sky["horizon-color"]), "fog-color": new s.D(s.v.sky["fog-color"]), "fog-ground-blend": new s.D(s.v.sky["fog-ground-blend"]), "horizon-fog-blend": new s.D(s.v.sky["horizon-fog-blend"]), "sky-horizon-blend": new s.D(s.v.sky["sky-horizon-blend"]), "atmosphere-blend": new s.D(s.v.sky["atmosphere-blend"]) });
|
|
19831
19831
|
class cr extends s.E {
|
|
19832
19832
|
constructor(l) {
|
|
19833
|
-
super(), this._transitionable = new s.T(
|
|
19833
|
+
super(), this._transitionable = new s.T(Un), this.setSky(l), this._transitioning = this._transitionable.untransitioned(), this.recalculate(new s.C(0));
|
|
19834
19834
|
}
|
|
19835
19835
|
setSky(l, p = {}) {
|
|
19836
19836
|
if (!this._validate(s.F, l, p)) {
|
|
@@ -21519,8 +21519,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
21519
21519
|
Or(Ft.numGlyphs, vt);
|
|
21520
21520
|
continue;
|
|
21521
21521
|
}
|
|
21522
|
-
const Qe = Yt(l.transform.cameraToCenterDistance, ie.signedDistanceFromCamera), ge = s.ah(st, lt, Ft), Te = E ? ge * l.transform.getPitchedTextCorrection(Ft.anchorX, Ft.anchorY, F) / Qe : ge * Qe, je =
|
|
21523
|
-
kt = je.useVertical, (je.notEnoughRoom || kt || je.needsFlipping &&
|
|
21522
|
+
const Qe = Yt(l.transform.cameraToCenterDistance, ie.signedDistanceFromCamera), ge = s.ah(st, lt, Ft), Te = E ? ge * l.transform.getPitchedTextCorrection(Ft.anchorX, Ft.anchorY, F) / Qe : ge * Qe, je = Gn({ projectionContext: ne, pitchedLabelPlaneMatrixInverse: _, symbol: Ft, fontSize: Te, flip: !1, keepUpright: O, glyphOffsetArray: w.glyphOffsetArray, dynamicLayoutVertexArray: vt, aspectRatio: Ot, rotateToLine: N });
|
|
21523
|
+
kt = je.useVertical, (je.notEnoughRoom || kt || je.needsFlipping && Gn({ projectionContext: ne, pitchedLabelPlaneMatrixInverse: _, symbol: Ft, fontSize: Te, flip: !0, keepUpright: O, glyphOffsetArray: w.glyphOffsetArray, dynamicLayoutVertexArray: vt, aspectRatio: Ot, rotateToLine: N }).notEnoughRoom) && Or(Ft.numGlyphs, vt);
|
|
21524
21524
|
}
|
|
21525
21525
|
p ? w.text.dynamicLayoutVertexBuffer.updateData(vt) : w.icon.dynamicLayoutVertexBuffer.updateData(vt);
|
|
21526
21526
|
}
|
|
@@ -21533,7 +21533,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
|
|
|
21533
21533
|
function xn(w, l, p, y) {
|
|
21534
21534
|
return w === s.ag.horizontal && Math.abs(p.y - l.y) > Math.abs(p.x - l.x) * y ? { useVertical: !0 } : (w === s.ag.vertical ? l.y < p.y : l.x > p.x) ? { needsFlipping: !0 } : null;
|
|
21535
21535
|
}
|
|
21536
|
-
function
|
|
21536
|
+
function Gn(w) {
|
|
21537
21537
|
const { projectionContext: l, pitchedLabelPlaneMatrixInverse: p, symbol: y, fontSize: _, flip: E, keepUpright: O, glyphOffsetArray: N, dynamicLayoutVertexArray: F, aspectRatio: U, rotateToLine: X } = w, Y = _ / 24, J = y.lineOffsetX * Y, st = y.lineOffsetY * Y;
|
|
21538
21538
|
let lt;
|
|
21539
21539
|
if (y.numGlyphs > 1) {
|
|
@@ -23387,7 +23387,7 @@ uniform ${X} ${Y} u_${J};
|
|
|
23387
23387
|
recalculateCache() {
|
|
23388
23388
|
}
|
|
23389
23389
|
}
|
|
23390
|
-
class
|
|
23390
|
+
class $n {
|
|
23391
23391
|
constructor(l, p, y) {
|
|
23392
23392
|
this.points = l, this.planes = p, this.aabb = y;
|
|
23393
23393
|
}
|
|
@@ -23400,7 +23400,7 @@ uniform ${X} ${Y} u_${J};
|
|
|
23400
23400
|
return J.concat(st);
|
|
23401
23401
|
}), N = [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY], F = [Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY];
|
|
23402
23402
|
for (const U of E) for (let X = 0; X < 3; X++) N[X] = Math.min(N[X], U[X]), F[X] = Math.max(F[X], U[X]);
|
|
23403
|
-
return new
|
|
23403
|
+
return new $n(E, O, new Vn(N, F));
|
|
23404
23404
|
}
|
|
23405
23405
|
}
|
|
23406
23406
|
class Mr {
|
|
@@ -23625,7 +23625,7 @@ uniform ${X} ${Y} u_${J};
|
|
|
23625
23625
|
return p;
|
|
23626
23626
|
}
|
|
23627
23627
|
getCameraFrustum() {
|
|
23628
|
-
return
|
|
23628
|
+
return $n.fromInvProjectionMatrix(this._invViewProjMatrix, this.worldSize);
|
|
23629
23629
|
}
|
|
23630
23630
|
getClippingPlane() {
|
|
23631
23631
|
return null;
|
|
@@ -24513,7 +24513,7 @@ uniform ${X} ${Y} u_${J};
|
|
|
24513
24513
|
const O = s.bh();
|
|
24514
24514
|
this._cameraPosition = s.bh(), this._cameraPosition[2] = this.cameraToCenterDistance / l, s.bi(this._cameraPosition, this._cameraPosition, O, -this.rollInRadians), s.bj(this._cameraPosition, this._cameraPosition, O, this.pitchInRadians), s.bi(this._cameraPosition, this._cameraPosition, O, -this.bearingInRadians), s.aO(this._cameraPosition, this._cameraPosition, [0, 0, 1]), s.bj(this._cameraPosition, this._cameraPosition, O, -this.center.lat * Math.PI / 180), s.bk(this._cameraPosition, this._cameraPosition, O, this.center.lng * Math.PI / 180), this._cachedClippingPlane = this._computeClippingPlane(l);
|
|
24515
24515
|
const N = s.aY(this._globeViewProjMatrixNoCorrectionInverted);
|
|
24516
|
-
s.M(N, N, [1, 1, -1]), this._cachedFrustum =
|
|
24516
|
+
s.M(N, N, [1, 1, -1]), this._cachedFrustum = $n.fromInvProjectionMatrix(N);
|
|
24517
24517
|
}
|
|
24518
24518
|
calculateFogMatrix(l) {
|
|
24519
24519
|
s.w("calculateFogMatrix is not supported on globe projection.");
|
|
@@ -32333,9 +32333,9 @@ class Mn extends TH {
|
|
|
32333
32333
|
);
|
|
32334
32334
|
}
|
|
32335
32335
|
}
|
|
32336
|
-
class
|
|
32336
|
+
class rn extends TH {
|
|
32337
32337
|
constructor(t) {
|
|
32338
|
-
super(t), this.name = "NotFoundGraphError", typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this,
|
|
32338
|
+
super(t), this.name = "NotFoundGraphError", typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, rn.prototype.constructor);
|
|
32339
32339
|
}
|
|
32340
32340
|
}
|
|
32341
32341
|
class Kn extends TH {
|
|
@@ -32396,13 +32396,13 @@ function q6(e, t, n, r, i, o, a) {
|
|
|
32396
32396
|
let s, u, h, d;
|
|
32397
32397
|
if (r = "" + r, n === XG) {
|
|
32398
32398
|
if (s = e._nodes.get(r), !s)
|
|
32399
|
-
throw new
|
|
32399
|
+
throw new rn(
|
|
32400
32400
|
`Graph.${t}: could not find the "${r}" node in the graph.`
|
|
32401
32401
|
);
|
|
32402
32402
|
h = i, d = o;
|
|
32403
32403
|
} else if (n === YG) {
|
|
32404
32404
|
if (i = "" + i, u = e._edges.get(i), !u)
|
|
32405
|
-
throw new
|
|
32405
|
+
throw new rn(
|
|
32406
32406
|
`Graph.${t}: could not find the "${i}" edge in the graph.`
|
|
32407
32407
|
);
|
|
32408
32408
|
const Q = u.source.key, m = u.target.key;
|
|
@@ -32411,13 +32411,13 @@ function q6(e, t, n, r, i, o, a) {
|
|
|
32411
32411
|
else if (r === m)
|
|
32412
32412
|
s = u.source;
|
|
32413
32413
|
else
|
|
32414
|
-
throw new
|
|
32414
|
+
throw new rn(
|
|
32415
32415
|
`Graph.${t}: the "${r}" node is not attached to the "${i}" edge (${Q}, ${m}).`
|
|
32416
32416
|
);
|
|
32417
32417
|
h = o, d = a;
|
|
32418
32418
|
} else {
|
|
32419
32419
|
if (u = e._edges.get(r), !u)
|
|
32420
|
-
throw new
|
|
32420
|
+
throw new rn(
|
|
32421
32421
|
`Graph.${t}: could not find the "${r}" edge in the graph.`
|
|
32422
32422
|
);
|
|
32423
32423
|
n === KG ? s = u.source : s = u.target, h = i, d = o;
|
|
@@ -32644,7 +32644,7 @@ function zht(e, t, n) {
|
|
|
32644
32644
|
);
|
|
32645
32645
|
const a = "" + r, s = "" + i;
|
|
32646
32646
|
if (i = arguments[2], o = Ba(this, a, s, n), !o)
|
|
32647
|
-
throw new
|
|
32647
|
+
throw new rn(
|
|
32648
32648
|
`Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
|
|
32649
32649
|
);
|
|
32650
32650
|
} else {
|
|
@@ -32653,7 +32653,7 @@ function zht(e, t, n) {
|
|
|
32653
32653
|
`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
|
|
32654
32654
|
);
|
|
32655
32655
|
if (r = "" + r, o = this._edges.get(r), !o)
|
|
32656
|
-
throw new
|
|
32656
|
+
throw new rn(
|
|
32657
32657
|
`Graph.${t}: could not find the "${r}" edge in the graph.`
|
|
32658
32658
|
);
|
|
32659
32659
|
}
|
|
@@ -32674,7 +32674,7 @@ function Uht(e, t, n) {
|
|
|
32674
32674
|
);
|
|
32675
32675
|
const o = "" + r, a = "" + arguments[1];
|
|
32676
32676
|
if (i = Ba(this, o, a, n), !i)
|
|
32677
|
-
throw new
|
|
32677
|
+
throw new rn(
|
|
32678
32678
|
`Graph.${t}: could not find an edge for the given path ("${o}" - "${a}").`
|
|
32679
32679
|
);
|
|
32680
32680
|
} else {
|
|
@@ -32683,7 +32683,7 @@ function Uht(e, t, n) {
|
|
|
32683
32683
|
`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
|
|
32684
32684
|
);
|
|
32685
32685
|
if (r = "" + r, i = this._edges.get(r), !i)
|
|
32686
|
-
throw new
|
|
32686
|
+
throw new rn(
|
|
32687
32687
|
`Graph.${t}: could not find the "${r}" edge in the graph.`
|
|
32688
32688
|
);
|
|
32689
32689
|
}
|
|
@@ -32704,7 +32704,7 @@ function Ght(e, t, n) {
|
|
|
32704
32704
|
);
|
|
32705
32705
|
const a = "" + r, s = "" + i;
|
|
32706
32706
|
if (i = arguments[2], o = Ba(this, a, s, n), !o)
|
|
32707
|
-
throw new
|
|
32707
|
+
throw new rn(
|
|
32708
32708
|
`Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
|
|
32709
32709
|
);
|
|
32710
32710
|
} else {
|
|
@@ -32713,7 +32713,7 @@ function Ght(e, t, n) {
|
|
|
32713
32713
|
`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
|
|
32714
32714
|
);
|
|
32715
32715
|
if (r = "" + r, o = this._edges.get(r), !o)
|
|
32716
|
-
throw new
|
|
32716
|
+
throw new rn(
|
|
32717
32717
|
`Graph.${t}: could not find the "${r}" edge in the graph.`
|
|
32718
32718
|
);
|
|
32719
32719
|
}
|
|
@@ -32734,7 +32734,7 @@ function $ht(e, t, n) {
|
|
|
32734
32734
|
);
|
|
32735
32735
|
const s = "" + r, u = "" + i;
|
|
32736
32736
|
if (i = arguments[2], o = arguments[3], a = Ba(this, s, u, n), !a)
|
|
32737
|
-
throw new
|
|
32737
|
+
throw new rn(
|
|
32738
32738
|
`Graph.${t}: could not find an edge for the given path ("${s}" - "${u}").`
|
|
32739
32739
|
);
|
|
32740
32740
|
} else {
|
|
@@ -32743,7 +32743,7 @@ function $ht(e, t, n) {
|
|
|
32743
32743
|
`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
|
|
32744
32744
|
);
|
|
32745
32745
|
if (r = "" + r, a = this._edges.get(r), !a)
|
|
32746
|
-
throw new
|
|
32746
|
+
throw new rn(
|
|
32747
32747
|
`Graph.${t}: could not find the "${r}" edge in the graph.`
|
|
32748
32748
|
);
|
|
32749
32749
|
}
|
|
@@ -32769,7 +32769,7 @@ function Wht(e, t, n) {
|
|
|
32769
32769
|
);
|
|
32770
32770
|
const s = "" + r, u = "" + i;
|
|
32771
32771
|
if (i = arguments[2], o = arguments[3], a = Ba(this, s, u, n), !a)
|
|
32772
|
-
throw new
|
|
32772
|
+
throw new rn(
|
|
32773
32773
|
`Graph.${t}: could not find an edge for the given path ("${s}" - "${u}").`
|
|
32774
32774
|
);
|
|
32775
32775
|
} else {
|
|
@@ -32778,7 +32778,7 @@ function Wht(e, t, n) {
|
|
|
32778
32778
|
`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
|
|
32779
32779
|
);
|
|
32780
32780
|
if (r = "" + r, a = this._edges.get(r), !a)
|
|
32781
|
-
throw new
|
|
32781
|
+
throw new rn(
|
|
32782
32782
|
`Graph.${t}: could not find the "${r}" edge in the graph.`
|
|
32783
32783
|
);
|
|
32784
32784
|
}
|
|
@@ -32808,7 +32808,7 @@ function Zht(e, t, n) {
|
|
|
32808
32808
|
);
|
|
32809
32809
|
const a = "" + r, s = "" + i;
|
|
32810
32810
|
if (i = arguments[2], o = Ba(this, a, s, n), !o)
|
|
32811
|
-
throw new
|
|
32811
|
+
throw new rn(
|
|
32812
32812
|
`Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
|
|
32813
32813
|
);
|
|
32814
32814
|
} else {
|
|
@@ -32817,7 +32817,7 @@ function Zht(e, t, n) {
|
|
|
32817
32817
|
`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
|
|
32818
32818
|
);
|
|
32819
32819
|
if (r = "" + r, o = this._edges.get(r), !o)
|
|
32820
|
-
throw new
|
|
32820
|
+
throw new rn(
|
|
32821
32821
|
`Graph.${t}: could not find the "${r}" edge in the graph.`
|
|
32822
32822
|
);
|
|
32823
32823
|
}
|
|
@@ -32843,7 +32843,7 @@ function qht(e, t, n) {
|
|
|
32843
32843
|
);
|
|
32844
32844
|
const a = "" + r, s = "" + i;
|
|
32845
32845
|
if (i = arguments[2], o = Ba(this, a, s, n), !o)
|
|
32846
|
-
throw new
|
|
32846
|
+
throw new rn(
|
|
32847
32847
|
`Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
|
|
32848
32848
|
);
|
|
32849
32849
|
} else {
|
|
@@ -32852,7 +32852,7 @@ function qht(e, t, n) {
|
|
|
32852
32852
|
`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
|
|
32853
32853
|
);
|
|
32854
32854
|
if (r = "" + r, o = this._edges.get(r), !o)
|
|
32855
|
-
throw new
|
|
32855
|
+
throw new rn(
|
|
32856
32856
|
`Graph.${t}: could not find the "${r}" edge in the graph.`
|
|
32857
32857
|
);
|
|
32858
32858
|
}
|
|
@@ -32881,7 +32881,7 @@ function Xht(e, t, n) {
|
|
|
32881
32881
|
);
|
|
32882
32882
|
const a = "" + r, s = "" + i;
|
|
32883
32883
|
if (i = arguments[2], o = Ba(this, a, s, n), !o)
|
|
32884
|
-
throw new
|
|
32884
|
+
throw new rn(
|
|
32885
32885
|
`Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
|
|
32886
32886
|
);
|
|
32887
32887
|
} else {
|
|
@@ -32890,7 +32890,7 @@ function Xht(e, t, n) {
|
|
|
32890
32890
|
`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
|
|
32891
32891
|
);
|
|
32892
32892
|
if (r = "" + r, o = this._edges.get(r), !o)
|
|
32893
|
-
throw new
|
|
32893
|
+
throw new rn(
|
|
32894
32894
|
`Graph.${t}: could not find the "${r}" edge in the graph.`
|
|
32895
32895
|
);
|
|
32896
32896
|
}
|
|
@@ -32920,7 +32920,7 @@ function Kht(e, t, n) {
|
|
|
32920
32920
|
);
|
|
32921
32921
|
const a = "" + r, s = "" + i;
|
|
32922
32922
|
if (i = arguments[2], o = Ba(this, a, s, n), !o)
|
|
32923
|
-
throw new
|
|
32923
|
+
throw new rn(
|
|
32924
32924
|
`Graph.${t}: could not find an edge for the given path ("${a}" - "${s}").`
|
|
32925
32925
|
);
|
|
32926
32926
|
} else {
|
|
@@ -32929,7 +32929,7 @@ function Kht(e, t, n) {
|
|
|
32929
32929
|
`Graph.${t}: calling this method with only a key (vs. a source and target) does not make sense since an edge with this key could have the other type.`
|
|
32930
32930
|
);
|
|
32931
32931
|
if (r = "" + r, o = this._edges.get(r), !o)
|
|
32932
|
-
throw new
|
|
32932
|
+
throw new rn(
|
|
32933
32933
|
`Graph.${t}: could not find the "${r}" edge in the graph.`
|
|
32934
32934
|
);
|
|
32935
32935
|
}
|
|
@@ -33257,7 +33257,7 @@ function h9t(e, t) {
|
|
|
33257
33257
|
o = "" + o;
|
|
33258
33258
|
const s = this._nodes.get(o);
|
|
33259
33259
|
if (typeof s > "u")
|
|
33260
|
-
throw new
|
|
33260
|
+
throw new rn(
|
|
33261
33261
|
`Graph.${n}: could not find the "${o}" node in the graph.`
|
|
33262
33262
|
);
|
|
33263
33263
|
return a9t(
|
|
@@ -33271,11 +33271,11 @@ function h9t(e, t) {
|
|
|
33271
33271
|
o = "" + o, a = "" + a;
|
|
33272
33272
|
const s = this._nodes.get(o);
|
|
33273
33273
|
if (!s)
|
|
33274
|
-
throw new
|
|
33274
|
+
throw new rn(
|
|
33275
33275
|
`Graph.${n}: could not find the "${o}" source node in the graph.`
|
|
33276
33276
|
);
|
|
33277
33277
|
if (!this._nodes.has(a))
|
|
33278
|
-
throw new
|
|
33278
|
+
throw new rn(
|
|
33279
33279
|
`Graph.${n}: could not find the "${a}" target node in the graph.`
|
|
33280
33280
|
);
|
|
33281
33281
|
return c9t(
|
|
@@ -33301,7 +33301,7 @@ function d9t(e, t) {
|
|
|
33301
33301
|
h = "" + h, Q = d;
|
|
33302
33302
|
const m = this._nodes.get(h);
|
|
33303
33303
|
if (typeof m > "u")
|
|
33304
|
-
throw new
|
|
33304
|
+
throw new rn(
|
|
33305
33305
|
`Graph.${o}: could not find the "${h}" node in the graph.`
|
|
33306
33306
|
);
|
|
33307
33307
|
return QH(
|
|
@@ -33317,11 +33317,11 @@ function d9t(e, t) {
|
|
|
33317
33317
|
h = "" + h, d = "" + d;
|
|
33318
33318
|
const m = this._nodes.get(h);
|
|
33319
33319
|
if (!m)
|
|
33320
|
-
throw new
|
|
33320
|
+
throw new rn(
|
|
33321
33321
|
`Graph.${o}: could not find the "${h}" source node in the graph.`
|
|
33322
33322
|
);
|
|
33323
33323
|
if (!this._nodes.has(d))
|
|
33324
|
-
throw new
|
|
33324
|
+
throw new rn(
|
|
33325
33325
|
`Graph.${o}: could not find the "${d}" target node in the graph.`
|
|
33326
33326
|
);
|
|
33327
33327
|
return mH(
|
|
@@ -33393,7 +33393,7 @@ function p9t(e, t) {
|
|
|
33393
33393
|
u = "" + u, d = h;
|
|
33394
33394
|
const Q = this._nodes.get(u);
|
|
33395
33395
|
if (typeof Q > "u")
|
|
33396
|
-
throw new
|
|
33396
|
+
throw new rn(
|
|
33397
33397
|
`Graph.${o}: could not find the "${u}" node in the graph.`
|
|
33398
33398
|
);
|
|
33399
33399
|
return QH(
|
|
@@ -33409,11 +33409,11 @@ function p9t(e, t) {
|
|
|
33409
33409
|
u = "" + u, h = "" + h;
|
|
33410
33410
|
const Q = this._nodes.get(u);
|
|
33411
33411
|
if (!Q)
|
|
33412
|
-
throw new
|
|
33412
|
+
throw new rn(
|
|
33413
33413
|
`Graph.${o}: could not find the "${u}" source node in the graph.`
|
|
33414
33414
|
);
|
|
33415
33415
|
if (!this._nodes.has(h))
|
|
33416
|
-
throw new
|
|
33416
|
+
throw new rn(
|
|
33417
33417
|
`Graph.${o}: could not find the "${h}" target node in the graph.`
|
|
33418
33418
|
);
|
|
33419
33419
|
return mH(
|
|
@@ -33451,7 +33451,7 @@ function f9t(e, t) {
|
|
|
33451
33451
|
a = "" + a;
|
|
33452
33452
|
const u = this._nodes.get(a);
|
|
33453
33453
|
if (!u)
|
|
33454
|
-
throw new
|
|
33454
|
+
throw new rn(
|
|
33455
33455
|
`Graph.${o}: could not find the "${a}" node in the graph.`
|
|
33456
33456
|
);
|
|
33457
33457
|
return l9t(r, i, u);
|
|
@@ -33460,11 +33460,11 @@ function f9t(e, t) {
|
|
|
33460
33460
|
a = "" + a, s = "" + s;
|
|
33461
33461
|
const u = this._nodes.get(a);
|
|
33462
33462
|
if (!u)
|
|
33463
|
-
throw new
|
|
33463
|
+
throw new rn(
|
|
33464
33464
|
`Graph.${o}: could not find the "${a}" source node in the graph.`
|
|
33465
33465
|
);
|
|
33466
33466
|
if (!this._nodes.has(s))
|
|
33467
|
-
throw new
|
|
33467
|
+
throw new rn(
|
|
33468
33468
|
`Graph.${o}: could not find the "${s}" target node in the graph.`
|
|
33469
33469
|
);
|
|
33470
33470
|
return u9t(r, i, u, s);
|
|
@@ -33640,7 +33640,7 @@ function y9t(e, t) {
|
|
|
33640
33640
|
o = "" + o;
|
|
33641
33641
|
const a = this._nodes.get(o);
|
|
33642
33642
|
if (typeof a > "u")
|
|
33643
|
-
throw new
|
|
33643
|
+
throw new rn(
|
|
33644
33644
|
`Graph.${n}: could not find the "${o}" node in the graph.`
|
|
33645
33645
|
);
|
|
33646
33646
|
return m9t(
|
|
@@ -33657,7 +33657,7 @@ function v9t(e, t) {
|
|
|
33657
33657
|
h = "" + h;
|
|
33658
33658
|
const Q = this._nodes.get(h);
|
|
33659
33659
|
if (typeof Q > "u")
|
|
33660
|
-
throw new
|
|
33660
|
+
throw new rn(
|
|
33661
33661
|
`Graph.${o}: could not find the "${h}" node in the graph.`
|
|
33662
33662
|
);
|
|
33663
33663
|
gH(
|
|
@@ -33701,7 +33701,7 @@ function _9t(e, t) {
|
|
|
33701
33701
|
h = "" + h;
|
|
33702
33702
|
const Q = this._nodes.get(h);
|
|
33703
33703
|
if (typeof Q > "u")
|
|
33704
|
-
throw new
|
|
33704
|
+
throw new rn(
|
|
33705
33705
|
`Graph.${a}: could not find the "${h}" node in the graph.`
|
|
33706
33706
|
);
|
|
33707
33707
|
return gH(
|
|
@@ -33729,7 +33729,7 @@ function b9t(e, t) {
|
|
|
33729
33729
|
a = "" + a;
|
|
33730
33730
|
const s = this._nodes.get(a);
|
|
33731
33731
|
if (typeof s > "u")
|
|
33732
|
-
throw new
|
|
33732
|
+
throw new rn(
|
|
33733
33733
|
`Graph.${o}: could not find the "${a}" node in the graph.`
|
|
33734
33734
|
);
|
|
33735
33735
|
return g9t(
|
|
@@ -33920,11 +33920,11 @@ function t$(e, t, n, r, i, o, a, s) {
|
|
|
33920
33920
|
);
|
|
33921
33921
|
const u = e._nodes.get(o), h = e._nodes.get(a);
|
|
33922
33922
|
if (!u)
|
|
33923
|
-
throw new
|
|
33923
|
+
throw new rn(
|
|
33924
33924
|
`Graph.${t}: source node "${o}" not found.`
|
|
33925
33925
|
);
|
|
33926
33926
|
if (!h)
|
|
33927
|
-
throw new
|
|
33927
|
+
throw new rn(
|
|
33928
33928
|
`Graph.${t}: target node "${a}" not found.`
|
|
33929
33929
|
);
|
|
33930
33930
|
const d = {
|
|
@@ -34195,11 +34195,11 @@ class ci extends yht.EventEmitter {
|
|
|
34195
34195
|
);
|
|
34196
34196
|
const r = this._nodes.get(t);
|
|
34197
34197
|
if (!r)
|
|
34198
|
-
throw new
|
|
34198
|
+
throw new rn(
|
|
34199
34199
|
`Graph.directedEdge: could not find the "${t}" source node in the graph.`
|
|
34200
34200
|
);
|
|
34201
34201
|
if (!this._nodes.has(n))
|
|
34202
|
-
throw new
|
|
34202
|
+
throw new rn(
|
|
34203
34203
|
`Graph.directedEdge: could not find the "${n}" target node in the graph.`
|
|
34204
34204
|
);
|
|
34205
34205
|
const i = r.out && r.out[n] || void 0;
|
|
@@ -34224,11 +34224,11 @@ class ci extends yht.EventEmitter {
|
|
|
34224
34224
|
);
|
|
34225
34225
|
const r = this._nodes.get(t);
|
|
34226
34226
|
if (!r)
|
|
34227
|
-
throw new
|
|
34227
|
+
throw new rn(
|
|
34228
34228
|
`Graph.undirectedEdge: could not find the "${t}" source node in the graph.`
|
|
34229
34229
|
);
|
|
34230
34230
|
if (!this._nodes.has(n))
|
|
34231
|
-
throw new
|
|
34231
|
+
throw new rn(
|
|
34232
34232
|
`Graph.undirectedEdge: could not find the "${n}" target node in the graph.`
|
|
34233
34233
|
);
|
|
34234
34234
|
const i = r.undirected && r.undirected[n] || void 0;
|
|
@@ -34253,11 +34253,11 @@ class ci extends yht.EventEmitter {
|
|
|
34253
34253
|
t = "" + t, n = "" + n;
|
|
34254
34254
|
const r = this._nodes.get(t);
|
|
34255
34255
|
if (!r)
|
|
34256
|
-
throw new
|
|
34256
|
+
throw new rn(
|
|
34257
34257
|
`Graph.edge: could not find the "${t}" source node in the graph.`
|
|
34258
34258
|
);
|
|
34259
34259
|
if (!this._nodes.has(n))
|
|
34260
|
-
throw new
|
|
34260
|
+
throw new rn(
|
|
34261
34261
|
`Graph.edge: could not find the "${n}" target node in the graph.`
|
|
34262
34262
|
);
|
|
34263
34263
|
const i = r.out && r.out[n] || r.undirected && r.undirected[n] || void 0;
|
|
@@ -34276,7 +34276,7 @@ class ci extends yht.EventEmitter {
|
|
|
34276
34276
|
t = "" + t, n = "" + n;
|
|
34277
34277
|
const r = this._nodes.get(t);
|
|
34278
34278
|
if (!r)
|
|
34279
|
-
throw new
|
|
34279
|
+
throw new rn(
|
|
34280
34280
|
`Graph.areDirectedNeighbors: could not find the "${t}" node in the graph.`
|
|
34281
34281
|
);
|
|
34282
34282
|
return this.type === "undirected" ? !1 : n in r.in || n in r.out;
|
|
@@ -34294,7 +34294,7 @@ class ci extends yht.EventEmitter {
|
|
|
34294
34294
|
t = "" + t, n = "" + n;
|
|
34295
34295
|
const r = this._nodes.get(t);
|
|
34296
34296
|
if (!r)
|
|
34297
|
-
throw new
|
|
34297
|
+
throw new rn(
|
|
34298
34298
|
`Graph.areOutNeighbors: could not find the "${t}" node in the graph.`
|
|
34299
34299
|
);
|
|
34300
34300
|
return this.type === "undirected" ? !1 : n in r.out;
|
|
@@ -34312,7 +34312,7 @@ class ci extends yht.EventEmitter {
|
|
|
34312
34312
|
t = "" + t, n = "" + n;
|
|
34313
34313
|
const r = this._nodes.get(t);
|
|
34314
34314
|
if (!r)
|
|
34315
|
-
throw new
|
|
34315
|
+
throw new rn(
|
|
34316
34316
|
`Graph.areInNeighbors: could not find the "${t}" node in the graph.`
|
|
34317
34317
|
);
|
|
34318
34318
|
return this.type === "undirected" ? !1 : n in r.in;
|
|
@@ -34330,7 +34330,7 @@ class ci extends yht.EventEmitter {
|
|
|
34330
34330
|
t = "" + t, n = "" + n;
|
|
34331
34331
|
const r = this._nodes.get(t);
|
|
34332
34332
|
if (!r)
|
|
34333
|
-
throw new
|
|
34333
|
+
throw new rn(
|
|
34334
34334
|
`Graph.areUndirectedNeighbors: could not find the "${t}" node in the graph.`
|
|
34335
34335
|
);
|
|
34336
34336
|
return this.type === "directed" ? !1 : n in r.undirected;
|
|
@@ -34348,7 +34348,7 @@ class ci extends yht.EventEmitter {
|
|
|
34348
34348
|
t = "" + t, n = "" + n;
|
|
34349
34349
|
const r = this._nodes.get(t);
|
|
34350
34350
|
if (!r)
|
|
34351
|
-
throw new
|
|
34351
|
+
throw new rn(
|
|
34352
34352
|
`Graph.areNeighbors: could not find the "${t}" node in the graph.`
|
|
34353
34353
|
);
|
|
34354
34354
|
return this.type !== "undirected" && (n in r.in || n in r.out) || this.type !== "directed" && n in r.undirected;
|
|
@@ -34366,7 +34366,7 @@ class ci extends yht.EventEmitter {
|
|
|
34366
34366
|
t = "" + t, n = "" + n;
|
|
34367
34367
|
const r = this._nodes.get(t);
|
|
34368
34368
|
if (!r)
|
|
34369
|
-
throw new
|
|
34369
|
+
throw new rn(
|
|
34370
34370
|
`Graph.areInboundNeighbors: could not find the "${t}" node in the graph.`
|
|
34371
34371
|
);
|
|
34372
34372
|
return this.type !== "undirected" && n in r.in || this.type !== "directed" && n in r.undirected;
|
|
@@ -34384,7 +34384,7 @@ class ci extends yht.EventEmitter {
|
|
|
34384
34384
|
t = "" + t, n = "" + n;
|
|
34385
34385
|
const r = this._nodes.get(t);
|
|
34386
34386
|
if (!r)
|
|
34387
|
-
throw new
|
|
34387
|
+
throw new rn(
|
|
34388
34388
|
`Graph.areOutboundNeighbors: could not find the "${t}" node in the graph.`
|
|
34389
34389
|
);
|
|
34390
34390
|
return this.type !== "undirected" && n in r.out || this.type !== "directed" && n in r.undirected;
|
|
@@ -34401,7 +34401,7 @@ class ci extends yht.EventEmitter {
|
|
|
34401
34401
|
t = "" + t;
|
|
34402
34402
|
const n = this._nodes.get(t);
|
|
34403
34403
|
if (!n)
|
|
34404
|
-
throw new
|
|
34404
|
+
throw new rn(
|
|
34405
34405
|
`Graph.inDegree: could not find the "${t}" node in the graph.`
|
|
34406
34406
|
);
|
|
34407
34407
|
return this.type === "undirected" ? 0 : n.inDegree;
|
|
@@ -34418,7 +34418,7 @@ class ci extends yht.EventEmitter {
|
|
|
34418
34418
|
t = "" + t;
|
|
34419
34419
|
const n = this._nodes.get(t);
|
|
34420
34420
|
if (!n)
|
|
34421
|
-
throw new
|
|
34421
|
+
throw new rn(
|
|
34422
34422
|
`Graph.outDegree: could not find the "${t}" node in the graph.`
|
|
34423
34423
|
);
|
|
34424
34424
|
return this.type === "undirected" ? 0 : n.outDegree;
|
|
@@ -34435,7 +34435,7 @@ class ci extends yht.EventEmitter {
|
|
|
34435
34435
|
t = "" + t;
|
|
34436
34436
|
const n = this._nodes.get(t);
|
|
34437
34437
|
if (!n)
|
|
34438
|
-
throw new
|
|
34438
|
+
throw new rn(
|
|
34439
34439
|
`Graph.directedDegree: could not find the "${t}" node in the graph.`
|
|
34440
34440
|
);
|
|
34441
34441
|
return this.type === "undirected" ? 0 : n.inDegree + n.outDegree;
|
|
@@ -34452,7 +34452,7 @@ class ci extends yht.EventEmitter {
|
|
|
34452
34452
|
t = "" + t;
|
|
34453
34453
|
const n = this._nodes.get(t);
|
|
34454
34454
|
if (!n)
|
|
34455
|
-
throw new
|
|
34455
|
+
throw new rn(
|
|
34456
34456
|
`Graph.undirectedDegree: could not find the "${t}" node in the graph.`
|
|
34457
34457
|
);
|
|
34458
34458
|
return this.type === "directed" ? 0 : n.undirectedDegree;
|
|
@@ -34469,7 +34469,7 @@ class ci extends yht.EventEmitter {
|
|
|
34469
34469
|
t = "" + t;
|
|
34470
34470
|
const n = this._nodes.get(t);
|
|
34471
34471
|
if (!n)
|
|
34472
|
-
throw new
|
|
34472
|
+
throw new rn(
|
|
34473
34473
|
`Graph.inboundDegree: could not find the "${t}" node in the graph.`
|
|
34474
34474
|
);
|
|
34475
34475
|
let r = 0;
|
|
@@ -34487,7 +34487,7 @@ class ci extends yht.EventEmitter {
|
|
|
34487
34487
|
t = "" + t;
|
|
34488
34488
|
const n = this._nodes.get(t);
|
|
34489
34489
|
if (!n)
|
|
34490
|
-
throw new
|
|
34490
|
+
throw new rn(
|
|
34491
34491
|
`Graph.outboundDegree: could not find the "${t}" node in the graph.`
|
|
34492
34492
|
);
|
|
34493
34493
|
let r = 0;
|
|
@@ -34505,7 +34505,7 @@ class ci extends yht.EventEmitter {
|
|
|
34505
34505
|
t = "" + t;
|
|
34506
34506
|
const n = this._nodes.get(t);
|
|
34507
34507
|
if (!n)
|
|
34508
|
-
throw new
|
|
34508
|
+
throw new rn(
|
|
34509
34509
|
`Graph.degree: could not find the "${t}" node in the graph.`
|
|
34510
34510
|
);
|
|
34511
34511
|
let r = 0;
|
|
@@ -34523,7 +34523,7 @@ class ci extends yht.EventEmitter {
|
|
|
34523
34523
|
t = "" + t;
|
|
34524
34524
|
const n = this._nodes.get(t);
|
|
34525
34525
|
if (!n)
|
|
34526
|
-
throw new
|
|
34526
|
+
throw new rn(
|
|
34527
34527
|
`Graph.inDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
|
|
34528
34528
|
);
|
|
34529
34529
|
return this.type === "undirected" ? 0 : n.inDegree - n.directedLoops;
|
|
@@ -34540,7 +34540,7 @@ class ci extends yht.EventEmitter {
|
|
|
34540
34540
|
t = "" + t;
|
|
34541
34541
|
const n = this._nodes.get(t);
|
|
34542
34542
|
if (!n)
|
|
34543
|
-
throw new
|
|
34543
|
+
throw new rn(
|
|
34544
34544
|
`Graph.outDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
|
|
34545
34545
|
);
|
|
34546
34546
|
return this.type === "undirected" ? 0 : n.outDegree - n.directedLoops;
|
|
@@ -34557,7 +34557,7 @@ class ci extends yht.EventEmitter {
|
|
|
34557
34557
|
t = "" + t;
|
|
34558
34558
|
const n = this._nodes.get(t);
|
|
34559
34559
|
if (!n)
|
|
34560
|
-
throw new
|
|
34560
|
+
throw new rn(
|
|
34561
34561
|
`Graph.directedDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
|
|
34562
34562
|
);
|
|
34563
34563
|
return this.type === "undirected" ? 0 : n.inDegree + n.outDegree - n.directedLoops * 2;
|
|
@@ -34574,7 +34574,7 @@ class ci extends yht.EventEmitter {
|
|
|
34574
34574
|
t = "" + t;
|
|
34575
34575
|
const n = this._nodes.get(t);
|
|
34576
34576
|
if (!n)
|
|
34577
|
-
throw new
|
|
34577
|
+
throw new rn(
|
|
34578
34578
|
`Graph.undirectedDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
|
|
34579
34579
|
);
|
|
34580
34580
|
return this.type === "directed" ? 0 : n.undirectedDegree - n.undirectedLoops * 2;
|
|
@@ -34591,7 +34591,7 @@ class ci extends yht.EventEmitter {
|
|
|
34591
34591
|
t = "" + t;
|
|
34592
34592
|
const n = this._nodes.get(t);
|
|
34593
34593
|
if (!n)
|
|
34594
|
-
throw new
|
|
34594
|
+
throw new rn(
|
|
34595
34595
|
`Graph.inboundDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
|
|
34596
34596
|
);
|
|
34597
34597
|
let r = 0, i = 0;
|
|
@@ -34609,7 +34609,7 @@ class ci extends yht.EventEmitter {
|
|
|
34609
34609
|
t = "" + t;
|
|
34610
34610
|
const n = this._nodes.get(t);
|
|
34611
34611
|
if (!n)
|
|
34612
|
-
throw new
|
|
34612
|
+
throw new rn(
|
|
34613
34613
|
`Graph.outboundDegreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
|
|
34614
34614
|
);
|
|
34615
34615
|
let r = 0, i = 0;
|
|
@@ -34627,7 +34627,7 @@ class ci extends yht.EventEmitter {
|
|
|
34627
34627
|
t = "" + t;
|
|
34628
34628
|
const n = this._nodes.get(t);
|
|
34629
34629
|
if (!n)
|
|
34630
|
-
throw new
|
|
34630
|
+
throw new rn(
|
|
34631
34631
|
`Graph.degreeWithoutSelfLoops: could not find the "${t}" node in the graph.`
|
|
34632
34632
|
);
|
|
34633
34633
|
let r = 0, i = 0;
|
|
@@ -34645,7 +34645,7 @@ class ci extends yht.EventEmitter {
|
|
|
34645
34645
|
t = "" + t;
|
|
34646
34646
|
const n = this._edges.get(t);
|
|
34647
34647
|
if (!n)
|
|
34648
|
-
throw new
|
|
34648
|
+
throw new rn(
|
|
34649
34649
|
`Graph.source: could not find the "${t}" edge in the graph.`
|
|
34650
34650
|
);
|
|
34651
34651
|
return n.source.key;
|
|
@@ -34662,7 +34662,7 @@ class ci extends yht.EventEmitter {
|
|
|
34662
34662
|
t = "" + t;
|
|
34663
34663
|
const n = this._edges.get(t);
|
|
34664
34664
|
if (!n)
|
|
34665
|
-
throw new
|
|
34665
|
+
throw new rn(
|
|
34666
34666
|
`Graph.target: could not find the "${t}" edge in the graph.`
|
|
34667
34667
|
);
|
|
34668
34668
|
return n.target.key;
|
|
@@ -34679,7 +34679,7 @@ class ci extends yht.EventEmitter {
|
|
|
34679
34679
|
t = "" + t;
|
|
34680
34680
|
const n = this._edges.get(t);
|
|
34681
34681
|
if (!n)
|
|
34682
|
-
throw new
|
|
34682
|
+
throw new rn(
|
|
34683
34683
|
`Graph.extremities: could not find the "${t}" edge in the graph.`
|
|
34684
34684
|
);
|
|
34685
34685
|
return [n.source.key, n.target.key];
|
|
@@ -34698,13 +34698,13 @@ class ci extends yht.EventEmitter {
|
|
|
34698
34698
|
t = "" + t, n = "" + n;
|
|
34699
34699
|
const r = this._edges.get(n);
|
|
34700
34700
|
if (!r)
|
|
34701
|
-
throw new
|
|
34701
|
+
throw new rn(
|
|
34702
34702
|
`Graph.opposite: could not find the "${n}" edge in the graph.`
|
|
34703
34703
|
);
|
|
34704
34704
|
const i = r.source.key, o = r.target.key;
|
|
34705
34705
|
if (t === i) return o;
|
|
34706
34706
|
if (t === o) return i;
|
|
34707
|
-
throw new
|
|
34707
|
+
throw new rn(
|
|
34708
34708
|
`Graph.opposite: the "${t}" node is not attached to the "${n}" edge (${i}, ${o}).`
|
|
34709
34709
|
);
|
|
34710
34710
|
}
|
|
@@ -34721,7 +34721,7 @@ class ci extends yht.EventEmitter {
|
|
|
34721
34721
|
t = "" + t, n = "" + n;
|
|
34722
34722
|
const r = this._edges.get(t);
|
|
34723
34723
|
if (!r)
|
|
34724
|
-
throw new
|
|
34724
|
+
throw new rn(
|
|
34725
34725
|
`Graph.hasExtremity: could not find the "${t}" edge in the graph.`
|
|
34726
34726
|
);
|
|
34727
34727
|
return r.source.key === n || r.target.key === n;
|
|
@@ -34738,7 +34738,7 @@ class ci extends yht.EventEmitter {
|
|
|
34738
34738
|
t = "" + t;
|
|
34739
34739
|
const n = this._edges.get(t);
|
|
34740
34740
|
if (!n)
|
|
34741
|
-
throw new
|
|
34741
|
+
throw new rn(
|
|
34742
34742
|
`Graph.isUndirected: could not find the "${t}" edge in the graph.`
|
|
34743
34743
|
);
|
|
34744
34744
|
return n.undirected;
|
|
@@ -34755,7 +34755,7 @@ class ci extends yht.EventEmitter {
|
|
|
34755
34755
|
t = "" + t;
|
|
34756
34756
|
const n = this._edges.get(t);
|
|
34757
34757
|
if (!n)
|
|
34758
|
-
throw new
|
|
34758
|
+
throw new rn(
|
|
34759
34759
|
`Graph.isDirected: could not find the "${t}" edge in the graph.`
|
|
34760
34760
|
);
|
|
34761
34761
|
return !n.undirected;
|
|
@@ -34772,7 +34772,7 @@ class ci extends yht.EventEmitter {
|
|
|
34772
34772
|
t = "" + t;
|
|
34773
34773
|
const n = this._edges.get(t);
|
|
34774
34774
|
if (!n)
|
|
34775
|
-
throw new
|
|
34775
|
+
throw new rn(
|
|
34776
34776
|
`Graph.isSelfLoop: could not find the "${t}" edge in the graph.`
|
|
34777
34777
|
);
|
|
34778
34778
|
return n.source === n.target;
|
|
@@ -34862,7 +34862,7 @@ class ci extends yht.EventEmitter {
|
|
|
34862
34862
|
t = "" + t;
|
|
34863
34863
|
const n = this._nodes.get(t);
|
|
34864
34864
|
if (!n)
|
|
34865
|
-
throw new
|
|
34865
|
+
throw new rn(
|
|
34866
34866
|
`Graph.dropNode: could not find the "${t}" node in the graph.`
|
|
34867
34867
|
);
|
|
34868
34868
|
let r;
|
|
@@ -34911,11 +34911,11 @@ class ci extends yht.EventEmitter {
|
|
|
34911
34911
|
if (arguments.length > 1) {
|
|
34912
34912
|
const r = "" + arguments[0], i = "" + arguments[1];
|
|
34913
34913
|
if (n = Ba(this, r, i, this.type), !n)
|
|
34914
|
-
throw new
|
|
34914
|
+
throw new rn(
|
|
34915
34915
|
`Graph.dropEdge: could not find the "${r}" -> "${i}" edge in the graph.`
|
|
34916
34916
|
);
|
|
34917
34917
|
} else if (t = "" + t, n = this._edges.get(t), !n)
|
|
34918
|
-
throw new
|
|
34918
|
+
throw new rn(
|
|
34919
34919
|
`Graph.dropEdge: could not find the "${t}" edge in the graph.`
|
|
34920
34920
|
);
|
|
34921
34921
|
return Cu(this, n), this;
|
|
@@ -34942,7 +34942,7 @@ class ci extends yht.EventEmitter {
|
|
|
34942
34942
|
t = "" + t, n = "" + n;
|
|
34943
34943
|
const r = Ba(this, t, n, "directed");
|
|
34944
34944
|
if (!r)
|
|
34945
|
-
throw new
|
|
34945
|
+
throw new rn(
|
|
34946
34946
|
`Graph.dropDirectedEdge: could not find a "${t}" -> "${n}" edge in the graph.`
|
|
34947
34947
|
);
|
|
34948
34948
|
return Cu(this, r), this;
|
|
@@ -34968,7 +34968,7 @@ class ci extends yht.EventEmitter {
|
|
|
34968
34968
|
);
|
|
34969
34969
|
const r = Ba(this, t, n, "undirected");
|
|
34970
34970
|
if (!r)
|
|
34971
|
-
throw new
|
|
34971
|
+
throw new rn(
|
|
34972
34972
|
`Graph.dropUndirectedEdge: could not find a "${t}" -> "${n}" edge in the graph.`
|
|
34973
34973
|
);
|
|
34974
34974
|
return Cu(this, r), this;
|
|
@@ -35675,7 +35675,7 @@ ci.MultiGraph = r$;
|
|
|
35675
35675
|
ci.MultiDirectedGraph = i$;
|
|
35676
35676
|
ci.MultiUndirectedGraph = o$;
|
|
35677
35677
|
ci.InvalidArgumentsGraphError = Mn;
|
|
35678
|
-
ci.NotFoundGraphError =
|
|
35678
|
+
ci.NotFoundGraphError = rn;
|
|
35679
35679
|
ci.UsageGraphError = Kn;
|
|
35680
35680
|
var eh = {}, s$ = function(e) {
|
|
35681
35681
|
return e !== null && typeof e == "object" && typeof e.addUndirectedEdgeWithKey == "function" && typeof e.dropNode == "function" && typeof e.multi == "boolean";
|
|
@@ -47838,8 +47838,8 @@ function $H(e, t, n) {
|
|
|
47838
47838
|
return e[0] = t[0] * r, e[1] = t[1] * r, e[2] = t[2] * r, e[3] = t[3] * r, e[4] = t[4] * i, e[5] = t[5] * i, e[6] = t[6] * i, e[7] = t[7] * i, e[8] = t[8] * o, e[9] = t[9] * o, e[10] = t[10] * o, e[11] = t[11] * o, e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15], e;
|
|
47839
47839
|
}
|
|
47840
47840
|
function qmt(e, t, n, r) {
|
|
47841
|
-
let i = r[0], o = r[1], a = r[2], s = Math.sqrt(i * i + o * o + a * a), u, h, d, Q, m, v, x, L, H, M, P, I, D, z, G, Z, rt, ot, ft, ht, At, $t, ce,
|
|
47842
|
-
return s < Um ? null : (s = 1 / s, i *= s, o *= s, a *= s, h = Math.sin(n), u = Math.cos(n), d = 1 - u, Q = t[0], m = t[1], v = t[2], x = t[3], L = t[4], H = t[5], M = t[6], P = t[7], I = t[8], D = t[9], z = t[10], G = t[11], Z = i * i * d + u, rt = o * i * d + a * h, ot = a * i * d - o * h, ft = i * o * d - a * h, ht = o * o * d + u, At = a * o * d + i * h, $t = i * a * d + o * h, ce = o * a * d - i * h,
|
|
47841
|
+
let i = r[0], o = r[1], a = r[2], s = Math.sqrt(i * i + o * o + a * a), u, h, d, Q, m, v, x, L, H, M, P, I, D, z, G, Z, rt, ot, ft, ht, At, $t, ce, xe;
|
|
47842
|
+
return s < Um ? null : (s = 1 / s, i *= s, o *= s, a *= s, h = Math.sin(n), u = Math.cos(n), d = 1 - u, Q = t[0], m = t[1], v = t[2], x = t[3], L = t[4], H = t[5], M = t[6], P = t[7], I = t[8], D = t[9], z = t[10], G = t[11], Z = i * i * d + u, rt = o * i * d + a * h, ot = a * i * d - o * h, ft = i * o * d - a * h, ht = o * o * d + u, At = a * o * d + i * h, $t = i * a * d + o * h, ce = o * a * d - i * h, xe = a * a * d + u, e[0] = Q * Z + L * rt + I * ot, e[1] = m * Z + H * rt + D * ot, e[2] = v * Z + M * rt + z * ot, e[3] = x * Z + P * rt + G * ot, e[4] = Q * ft + L * ht + I * At, e[5] = m * ft + H * ht + D * At, e[6] = v * ft + M * ht + z * At, e[7] = x * ft + P * ht + G * At, e[8] = Q * $t + L * ce + I * xe, e[9] = m * $t + H * ce + D * xe, e[10] = v * $t + M * ce + z * xe, e[11] = x * $t + P * ce + G * xe, t !== e && (e[12] = t[12], e[13] = t[13], e[14] = t[14], e[15] = t[15]), e);
|
|
47843
47843
|
}
|
|
47844
47844
|
function vZ(e, t, n) {
|
|
47845
47845
|
const r = Math.sin(n), i = Math.cos(n), o = t[4], a = t[5], s = t[6], u = t[7], h = t[8], d = t[9], Q = t[10], m = t[11];
|
|
@@ -55228,8 +55228,8 @@ class j_t {
|
|
|
55228
55228
|
At = oq({ layer: ht.pickedLayer, info: At, mode: u });
|
|
55229
55229
|
const $t = At.layer.id;
|
|
55230
55230
|
Z.has($t) || Z.set($t, /* @__PURE__ */ new Set());
|
|
55231
|
-
const ce = Z.get($t),
|
|
55232
|
-
ce.has(
|
|
55231
|
+
const ce = Z.get($t), xe = At.object ?? At.index;
|
|
55232
|
+
ce.has(xe) || (ce.add(xe), rt.push(At));
|
|
55233
55233
|
}
|
|
55234
55234
|
return rt;
|
|
55235
55235
|
}
|
|
@@ -63721,8 +63721,8 @@ var uC = {}, Vf = {}, Yo = {};
|
|
|
63721
63721
|
var At = I[ht], $t = P[ht];
|
|
63722
63722
|
if (o(At) && $t !== null && (typeof $t == "object" || typeof $t == "function")) {
|
|
63723
63723
|
var ce = h(At);
|
|
63724
|
-
Array.isArray($t) && (ce.length === 1 && (ce[0] === e.APPEND || ce[0] === e.REMOVE) && Array.isArray(At[ce[0]]) || ce.length === 2 && ce.sort().join(",") === e.APPEND + "," + e.REMOVE && Array.isArray(At[e.APPEND]) && Array.isArray(At[e.REMOVE])) ? (At[e.REMOVE] && ($t = P[ht] = $t.filter(function(
|
|
63725
|
-
return At[e.REMOVE].indexOf(
|
|
63724
|
+
Array.isArray($t) && (ce.length === 1 && (ce[0] === e.APPEND || ce[0] === e.REMOVE) && Array.isArray(At[ce[0]]) || ce.length === 2 && ce.sort().join(",") === e.APPEND + "," + e.REMOVE && Array.isArray(At[e.APPEND]) && Array.isArray(At[e.REMOVE])) ? (At[e.REMOVE] && ($t = P[ht] = $t.filter(function(xe) {
|
|
63725
|
+
return At[e.REMOVE].indexOf(xe) < 0;
|
|
63726
63726
|
})), At[e.APPEND] && (P[ht] = r(r([], n($t), !1), n(At[e.APPEND]), !1))) : Q($t, At, D);
|
|
63727
63727
|
} else Array.isArray(At) ? (P[ht] = [], Q(P[ht], At, !1)) : o(At) ? P[ht] = d(At) : P[ht] = At;
|
|
63728
63728
|
};
|
|
@@ -63792,23 +63792,23 @@ var uC = {}, Vf = {}, Yo = {};
|
|
|
63792
63792
|
for (var ft = t(Z), ht = ft.next(); !ht.done; ht = ft.next()) {
|
|
63793
63793
|
var At = ht.value, $t = {}, ce = {};
|
|
63794
63794
|
try {
|
|
63795
|
-
for (var
|
|
63795
|
+
for (var xe = (z = void 0, t(Object.keys(P || {}))), ae = xe.next(); !ae.done; ae = xe.next()) {
|
|
63796
63796
|
var Qn = ae.value;
|
|
63797
63797
|
(At[Qn] === void 0 ? ce : $t)[Qn] = P[Qn];
|
|
63798
63798
|
}
|
|
63799
|
-
} catch (
|
|
63800
|
-
z = { error:
|
|
63799
|
+
} catch (Un) {
|
|
63800
|
+
z = { error: Un };
|
|
63801
63801
|
} finally {
|
|
63802
63802
|
try {
|
|
63803
|
-
ae && !ae.done && (G =
|
|
63803
|
+
ae && !ae.done && (G = xe.return) && G.call(xe);
|
|
63804
63804
|
} finally {
|
|
63805
63805
|
if (z) throw z.error;
|
|
63806
63806
|
}
|
|
63807
63807
|
}
|
|
63808
63808
|
ot.push($t), P = ce;
|
|
63809
63809
|
}
|
|
63810
|
-
} catch (
|
|
63811
|
-
I = { error:
|
|
63810
|
+
} catch (Un) {
|
|
63811
|
+
I = { error: Un };
|
|
63812
63812
|
} finally {
|
|
63813
63813
|
try {
|
|
63814
63814
|
ht && !ht.done && (D = ft.return) && D.call(ft);
|
|
@@ -64557,8 +64557,8 @@ P8.AbstractEmptyNode = uMt;
|
|
|
64557
64557
|
At.length === 1 && At[0].isInferred && (At = At[0].childNodes);
|
|
64558
64558
|
try {
|
|
64559
64559
|
for (var $t = r(At), ce = $t.next(); !ce.done; ce = $t.next()) {
|
|
64560
|
-
var
|
|
64561
|
-
|
|
64560
|
+
var xe = ce.value;
|
|
64561
|
+
xe ? Z.appendChild(xe.copy()) : Z.childNodes.push(null);
|
|
64562
64562
|
}
|
|
64563
64563
|
} catch (ae) {
|
|
64564
64564
|
z = { error: ae };
|
|
@@ -64719,8 +64719,8 @@ P8.AbstractEmptyNode = uMt;
|
|
|
64719
64719
|
for (var ot = r(Object.keys(P)), ft = ot.next(); !ft.done; ft = ot.next()) {
|
|
64720
64720
|
var ht = ft.value;
|
|
64721
64721
|
if (rt.hasOwnProperty(ht) || M.alwaysInherit.hasOwnProperty(ht)) {
|
|
64722
|
-
var At = i(P[ht], 2), $t = At[0], ce = At[1],
|
|
64723
|
-
|
|
64722
|
+
var At = i(P[ht], 2), $t = At[0], ce = At[1], xe = (M.noInherit[$t] || {})[this.kind] || {};
|
|
64723
|
+
xe[ht] || this.attributes.setInherited(ht, ce);
|
|
64724
64724
|
}
|
|
64725
64725
|
}
|
|
64726
64726
|
} catch (cr) {
|
|
@@ -64736,12 +64736,12 @@ P8.AbstractEmptyNode = uMt;
|
|
|
64736
64736
|
ae === void 0 && this.attributes.setInherited("displaystyle", I);
|
|
64737
64737
|
var Qn = this.attributes.getExplicit("scriptlevel");
|
|
64738
64738
|
Qn === void 0 && this.attributes.setInherited("scriptlevel", D), z && this.setProperty("texprimestyle", z);
|
|
64739
|
-
var
|
|
64740
|
-
if (
|
|
64741
|
-
if (
|
|
64742
|
-
this.childNodes = this.childNodes.slice(0,
|
|
64739
|
+
var Un = this.arity;
|
|
64740
|
+
if (Un >= 0 && Un !== 1 / 0 && (Un === 1 && this.childNodes.length === 0 || Un !== 1 && this.childNodes.length !== Un))
|
|
64741
|
+
if (Un < this.childNodes.length)
|
|
64742
|
+
this.childNodes = this.childNodes.slice(0, Un);
|
|
64743
64743
|
else
|
|
64744
|
-
for (; this.childNodes.length <
|
|
64744
|
+
for (; this.childNodes.length < Un; )
|
|
64745
64745
|
this.appendChild(this.factory.create("mrow"));
|
|
64746
64746
|
this.setChildInheritedAttributes(P, I, D, z);
|
|
64747
64747
|
}, M.prototype.setChildInheritedAttributes = function(P, I, D, z) {
|
|
@@ -66784,8 +66784,8 @@ var dD = Wn, QMt = Vc, uS;
|
|
|
66784
66784
|
var $t = At.value, ce = rt[$t];
|
|
66785
66785
|
$t === "texClass" ? (Z.texClass = ce, Z.setProperty($t, ce)) : $t === "movablelimits" ? (Z.setProperty("movablelimits", ce), (Z.isKind("mo") || Z.isKind("mstyle")) && Z.attributes.set("movablelimits", ce)) : $t === "inferred" || (t.has($t) ? Z.setProperty($t, ce) : Z.attributes.set($t, ce));
|
|
66786
66786
|
}
|
|
66787
|
-
} catch (
|
|
66788
|
-
ot = { error:
|
|
66787
|
+
} catch (xe) {
|
|
66788
|
+
ot = { error: xe };
|
|
66789
66789
|
} finally {
|
|
66790
66790
|
try {
|
|
66791
66791
|
At && !At.done && (ft = ht.return) && ft.call(ht);
|
|
@@ -66858,9 +66858,9 @@ var dD = Wn, QMt = Vc, uS;
|
|
|
66858
66858
|
var ft = Z, ht = ft.getForms();
|
|
66859
66859
|
try {
|
|
66860
66860
|
for (var At = Fw(ht), $t = At.next(); !$t.done; $t = At.next()) {
|
|
66861
|
-
var ce = $t.value,
|
|
66862
|
-
if (
|
|
66863
|
-
return
|
|
66861
|
+
var ce = $t.value, xe = QMt.MmlMo.OPTABLE[ce][ft.getText()];
|
|
66862
|
+
if (xe)
|
|
66863
|
+
return xe;
|
|
66864
66864
|
}
|
|
66865
66865
|
} catch (ae) {
|
|
66866
66866
|
rt = { error: ae };
|
|
@@ -67746,10 +67746,10 @@ function yi() {
|
|
|
67746
67746
|
return me.match(/\\$/) && se.match(/ $/) && (me += " "), me;
|
|
67747
67747
|
}
|
|
67748
67748
|
h.trimSpaces = ce;
|
|
67749
|
-
function
|
|
67749
|
+
function xe(se, me) {
|
|
67750
67750
|
return me = h.trimSpaces(me || ""), me === "t" ? se.arraydef.align = "baseline 1" : me === "b" ? se.arraydef.align = "baseline -1" : me === "c" ? se.arraydef.align = "axis" : me && (se.arraydef.align = me), se;
|
|
67751
67751
|
}
|
|
67752
|
-
h.setArrayAlign =
|
|
67752
|
+
h.setArrayAlign = xe;
|
|
67753
67753
|
function ae(se, me, ze) {
|
|
67754
67754
|
for (var Ie = "", Ke = "", vn = 0; vn < ze.length; ) {
|
|
67755
67755
|
var dn = ze.charAt(vn++);
|
|
@@ -67775,11 +67775,11 @@ function yi() {
|
|
|
67775
67775
|
return me + ze;
|
|
67776
67776
|
}
|
|
67777
67777
|
h.addArgs = Qn;
|
|
67778
|
-
function
|
|
67778
|
+
function Un(se, me) {
|
|
67779
67779
|
if (me === void 0 && (me = !0), !(++se.macroCount <= se.configuration.options.maxMacros))
|
|
67780
67780
|
throw me ? new a.default("MaxMacroSub1", "MathJax maximum macro substitution count exceeded; is here a recursive macro call?") : new a.default("MaxMacroSub2", "MathJax maximum substitution count exceeded; is there a recursive latex environment?");
|
|
67781
67781
|
}
|
|
67782
|
-
h.checkMaxMacros =
|
|
67782
|
+
h.checkMaxMacros = Un;
|
|
67783
67783
|
function cr(se) {
|
|
67784
67784
|
if (se.stack.global.eqnenv)
|
|
67785
67785
|
throw new a.default("ErroneousNestingEq", "Erroneous nesting of equation structures");
|
|
@@ -71063,7 +71063,7 @@ var HEt = R && R.__createBinding || (Object.create ? function(e, t, n, r) {
|
|
|
71063
71063
|
return CEt(t, e), t;
|
|
71064
71064
|
}, _C = R && R.__importDefault || function(e) {
|
|
71065
71065
|
return e && e.__esModule ? e : { default: e };
|
|
71066
|
-
}, Z2 = OEt(qn),
|
|
71066
|
+
}, Z2 = OEt(qn), on = T1, bC = _C(ks), L5 = _C(W2), PEt = _C(yi()), tr = Wn, ps = a4;
|
|
71067
71067
|
new Z2.RegExpMap("letter", L5.default.variable, /[a-z]/i);
|
|
71068
71068
|
new Z2.RegExpMap("digit", L5.default.digit, /[0-9.,]/);
|
|
71069
71069
|
new Z2.RegExpMap("command", L5.default.controlSequence, /^\\/);
|
|
@@ -71115,36 +71115,36 @@ new Z2.CharacterMap("mathchar0mi", L5.default.mathchar0mi, {
|
|
|
71115
71115
|
varrho: "ϱ",
|
|
71116
71116
|
varsigma: "ς",
|
|
71117
71117
|
varphi: "φ",
|
|
71118
|
-
S: ["§", { mathvariant:
|
|
71119
|
-
aleph: ["ℵ", { mathvariant:
|
|
71118
|
+
S: ["§", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71119
|
+
aleph: ["ℵ", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71120
71120
|
hbar: ["ℏ", { variantForm: !0 }],
|
|
71121
71121
|
imath: "ı",
|
|
71122
71122
|
jmath: "ȷ",
|
|
71123
71123
|
ell: "ℓ",
|
|
71124
|
-
wp: ["℘", { mathvariant:
|
|
71125
|
-
Re: ["ℜ", { mathvariant:
|
|
71126
|
-
Im: ["ℑ", { mathvariant:
|
|
71127
|
-
partial: ["∂", { mathvariant:
|
|
71128
|
-
infty: ["∞", { mathvariant:
|
|
71124
|
+
wp: ["℘", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71125
|
+
Re: ["ℜ", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71126
|
+
Im: ["ℑ", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71127
|
+
partial: ["∂", { mathvariant: on.TexConstant.Variant.ITALIC }],
|
|
71128
|
+
infty: ["∞", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71129
71129
|
prime: ["′", { variantForm: !0 }],
|
|
71130
|
-
emptyset: ["∅", { mathvariant:
|
|
71131
|
-
nabla: ["∇", { mathvariant:
|
|
71132
|
-
top: ["⊤", { mathvariant:
|
|
71133
|
-
bot: ["⊥", { mathvariant:
|
|
71134
|
-
angle: ["∠", { mathvariant:
|
|
71135
|
-
triangle: ["△", { mathvariant:
|
|
71136
|
-
backslash: ["∖", { mathvariant:
|
|
71137
|
-
forall: ["∀", { mathvariant:
|
|
71138
|
-
exists: ["∃", { mathvariant:
|
|
71139
|
-
neg: ["¬", { mathvariant:
|
|
71140
|
-
lnot: ["¬", { mathvariant:
|
|
71141
|
-
flat: ["♭", { mathvariant:
|
|
71142
|
-
natural: ["♮", { mathvariant:
|
|
71143
|
-
sharp: ["♯", { mathvariant:
|
|
71144
|
-
clubsuit: ["♣", { mathvariant:
|
|
71145
|
-
diamondsuit: ["♢", { mathvariant:
|
|
71146
|
-
heartsuit: ["♡", { mathvariant:
|
|
71147
|
-
spadesuit: ["♠", { mathvariant:
|
|
71130
|
+
emptyset: ["∅", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71131
|
+
nabla: ["∇", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71132
|
+
top: ["⊤", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71133
|
+
bot: ["⊥", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71134
|
+
angle: ["∠", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71135
|
+
triangle: ["△", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71136
|
+
backslash: ["∖", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71137
|
+
forall: ["∀", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71138
|
+
exists: ["∃", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71139
|
+
neg: ["¬", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71140
|
+
lnot: ["¬", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71141
|
+
flat: ["♭", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71142
|
+
natural: ["♮", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71143
|
+
sharp: ["♯", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71144
|
+
clubsuit: ["♣", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71145
|
+
diamondsuit: ["♢", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71146
|
+
heartsuit: ["♡", { mathvariant: on.TexConstant.Variant.NORMAL }],
|
|
71147
|
+
spadesuit: ["♠", { mathvariant: on.TexConstant.Variant.NORMAL }]
|
|
71148
71148
|
});
|
|
71149
71149
|
new Z2.CharacterMap("mathchar0mo", L5.default.mathchar0mo, {
|
|
71150
71150
|
surd: "√",
|
|
@@ -71390,67 +71390,67 @@ new Z2.CommandMap("macros", {
|
|
|
71390
71390
|
textstyle: ["SetStyle", "T", !1, 0],
|
|
71391
71391
|
scriptstyle: ["SetStyle", "S", !1, 1],
|
|
71392
71392
|
scriptscriptstyle: ["SetStyle", "SS", !1, 2],
|
|
71393
|
-
rm: ["SetFont",
|
|
71394
|
-
mit: ["SetFont",
|
|
71395
|
-
oldstyle: ["SetFont",
|
|
71396
|
-
cal: ["SetFont",
|
|
71397
|
-
it: ["SetFont",
|
|
71398
|
-
bf: ["SetFont",
|
|
71399
|
-
bbFont: ["SetFont",
|
|
71400
|
-
scr: ["SetFont",
|
|
71401
|
-
frak: ["SetFont",
|
|
71402
|
-
sf: ["SetFont",
|
|
71403
|
-
tt: ["SetFont",
|
|
71404
|
-
mathrm: ["MathFont",
|
|
71405
|
-
mathup: ["MathFont",
|
|
71393
|
+
rm: ["SetFont", on.TexConstant.Variant.NORMAL],
|
|
71394
|
+
mit: ["SetFont", on.TexConstant.Variant.ITALIC],
|
|
71395
|
+
oldstyle: ["SetFont", on.TexConstant.Variant.OLDSTYLE],
|
|
71396
|
+
cal: ["SetFont", on.TexConstant.Variant.CALLIGRAPHIC],
|
|
71397
|
+
it: ["SetFont", on.TexConstant.Variant.MATHITALIC],
|
|
71398
|
+
bf: ["SetFont", on.TexConstant.Variant.BOLD],
|
|
71399
|
+
bbFont: ["SetFont", on.TexConstant.Variant.DOUBLESTRUCK],
|
|
71400
|
+
scr: ["SetFont", on.TexConstant.Variant.SCRIPT],
|
|
71401
|
+
frak: ["SetFont", on.TexConstant.Variant.FRAKTUR],
|
|
71402
|
+
sf: ["SetFont", on.TexConstant.Variant.SANSSERIF],
|
|
71403
|
+
tt: ["SetFont", on.TexConstant.Variant.MONOSPACE],
|
|
71404
|
+
mathrm: ["MathFont", on.TexConstant.Variant.NORMAL],
|
|
71405
|
+
mathup: ["MathFont", on.TexConstant.Variant.NORMAL],
|
|
71406
71406
|
mathnormal: ["MathFont", ""],
|
|
71407
|
-
mathbf: ["MathFont",
|
|
71408
|
-
mathbfup: ["MathFont",
|
|
71409
|
-
mathit: ["MathFont",
|
|
71410
|
-
mathbfit: ["MathFont",
|
|
71411
|
-
mathbb: ["MathFont",
|
|
71412
|
-
Bbb: ["MathFont",
|
|
71413
|
-
mathfrak: ["MathFont",
|
|
71414
|
-
mathbffrak: ["MathFont",
|
|
71415
|
-
mathscr: ["MathFont",
|
|
71416
|
-
mathbfscr: ["MathFont",
|
|
71417
|
-
mathsf: ["MathFont",
|
|
71418
|
-
mathsfup: ["MathFont",
|
|
71419
|
-
mathbfsf: ["MathFont",
|
|
71420
|
-
mathbfsfup: ["MathFont",
|
|
71421
|
-
mathsfit: ["MathFont",
|
|
71422
|
-
mathbfsfit: ["MathFont",
|
|
71423
|
-
mathtt: ["MathFont",
|
|
71424
|
-
mathcal: ["MathFont",
|
|
71425
|
-
mathbfcal: ["MathFont",
|
|
71426
|
-
symrm: ["MathFont",
|
|
71427
|
-
symup: ["MathFont",
|
|
71407
|
+
mathbf: ["MathFont", on.TexConstant.Variant.BOLD],
|
|
71408
|
+
mathbfup: ["MathFont", on.TexConstant.Variant.BOLD],
|
|
71409
|
+
mathit: ["MathFont", on.TexConstant.Variant.MATHITALIC],
|
|
71410
|
+
mathbfit: ["MathFont", on.TexConstant.Variant.BOLDITALIC],
|
|
71411
|
+
mathbb: ["MathFont", on.TexConstant.Variant.DOUBLESTRUCK],
|
|
71412
|
+
Bbb: ["MathFont", on.TexConstant.Variant.DOUBLESTRUCK],
|
|
71413
|
+
mathfrak: ["MathFont", on.TexConstant.Variant.FRAKTUR],
|
|
71414
|
+
mathbffrak: ["MathFont", on.TexConstant.Variant.BOLDFRAKTUR],
|
|
71415
|
+
mathscr: ["MathFont", on.TexConstant.Variant.SCRIPT],
|
|
71416
|
+
mathbfscr: ["MathFont", on.TexConstant.Variant.BOLDSCRIPT],
|
|
71417
|
+
mathsf: ["MathFont", on.TexConstant.Variant.SANSSERIF],
|
|
71418
|
+
mathsfup: ["MathFont", on.TexConstant.Variant.SANSSERIF],
|
|
71419
|
+
mathbfsf: ["MathFont", on.TexConstant.Variant.BOLDSANSSERIF],
|
|
71420
|
+
mathbfsfup: ["MathFont", on.TexConstant.Variant.BOLDSANSSERIF],
|
|
71421
|
+
mathsfit: ["MathFont", on.TexConstant.Variant.SANSSERIFITALIC],
|
|
71422
|
+
mathbfsfit: ["MathFont", on.TexConstant.Variant.SANSSERIFBOLDITALIC],
|
|
71423
|
+
mathtt: ["MathFont", on.TexConstant.Variant.MONOSPACE],
|
|
71424
|
+
mathcal: ["MathFont", on.TexConstant.Variant.CALLIGRAPHIC],
|
|
71425
|
+
mathbfcal: ["MathFont", on.TexConstant.Variant.BOLDCALLIGRAPHIC],
|
|
71426
|
+
symrm: ["MathFont", on.TexConstant.Variant.NORMAL],
|
|
71427
|
+
symup: ["MathFont", on.TexConstant.Variant.NORMAL],
|
|
71428
71428
|
symnormal: ["MathFont", ""],
|
|
71429
|
-
symbf: ["MathFont",
|
|
71430
|
-
symbfup: ["MathFont",
|
|
71431
|
-
symit: ["MathFont",
|
|
71432
|
-
symbfit: ["MathFont",
|
|
71433
|
-
symbb: ["MathFont",
|
|
71434
|
-
symfrak: ["MathFont",
|
|
71435
|
-
symbffrak: ["MathFont",
|
|
71436
|
-
symscr: ["MathFont",
|
|
71437
|
-
symbfscr: ["MathFont",
|
|
71438
|
-
symsf: ["MathFont",
|
|
71439
|
-
symsfup: ["MathFont",
|
|
71440
|
-
symbfsf: ["MathFont",
|
|
71441
|
-
symbfsfup: ["MathFont",
|
|
71442
|
-
symsfit: ["MathFont",
|
|
71443
|
-
symbfsfit: ["MathFont",
|
|
71444
|
-
symtt: ["MathFont",
|
|
71445
|
-
symcal: ["MathFont",
|
|
71446
|
-
symbfcal: ["MathFont",
|
|
71447
|
-
textrm: ["HBox", null,
|
|
71448
|
-
textup: ["HBox", null,
|
|
71429
|
+
symbf: ["MathFont", on.TexConstant.Variant.BOLD],
|
|
71430
|
+
symbfup: ["MathFont", on.TexConstant.Variant.BOLD],
|
|
71431
|
+
symit: ["MathFont", on.TexConstant.Variant.ITALIC],
|
|
71432
|
+
symbfit: ["MathFont", on.TexConstant.Variant.BOLDITALIC],
|
|
71433
|
+
symbb: ["MathFont", on.TexConstant.Variant.DOUBLESTRUCK],
|
|
71434
|
+
symfrak: ["MathFont", on.TexConstant.Variant.FRAKTUR],
|
|
71435
|
+
symbffrak: ["MathFont", on.TexConstant.Variant.BOLDFRAKTUR],
|
|
71436
|
+
symscr: ["MathFont", on.TexConstant.Variant.SCRIPT],
|
|
71437
|
+
symbfscr: ["MathFont", on.TexConstant.Variant.BOLDSCRIPT],
|
|
71438
|
+
symsf: ["MathFont", on.TexConstant.Variant.SANSSERIF],
|
|
71439
|
+
symsfup: ["MathFont", on.TexConstant.Variant.SANSSERIF],
|
|
71440
|
+
symbfsf: ["MathFont", on.TexConstant.Variant.BOLDSANSSERIF],
|
|
71441
|
+
symbfsfup: ["MathFont", on.TexConstant.Variant.BOLDSANSSERIF],
|
|
71442
|
+
symsfit: ["MathFont", on.TexConstant.Variant.SANSSERIFITALIC],
|
|
71443
|
+
symbfsfit: ["MathFont", on.TexConstant.Variant.SANSSERIFBOLDITALIC],
|
|
71444
|
+
symtt: ["MathFont", on.TexConstant.Variant.MONOSPACE],
|
|
71445
|
+
symcal: ["MathFont", on.TexConstant.Variant.CALLIGRAPHIC],
|
|
71446
|
+
symbfcal: ["MathFont", on.TexConstant.Variant.BOLDCALLIGRAPHIC],
|
|
71447
|
+
textrm: ["HBox", null, on.TexConstant.Variant.NORMAL],
|
|
71448
|
+
textup: ["HBox", null, on.TexConstant.Variant.NORMAL],
|
|
71449
71449
|
textnormal: ["HBox"],
|
|
71450
|
-
textit: ["HBox", null,
|
|
71451
|
-
textbf: ["HBox", null,
|
|
71452
|
-
textsf: ["HBox", null,
|
|
71453
|
-
texttt: ["HBox", null,
|
|
71450
|
+
textit: ["HBox", null, on.TexConstant.Variant.ITALIC],
|
|
71451
|
+
textbf: ["HBox", null, on.TexConstant.Variant.BOLD],
|
|
71452
|
+
textsf: ["HBox", null, on.TexConstant.Variant.SANSSERIF],
|
|
71453
|
+
texttt: ["HBox", null, on.TexConstant.Variant.MONOSPACE],
|
|
71454
71454
|
tiny: ["SetSize", 0.5],
|
|
71455
71455
|
Tiny: ["SetSize", 0.6],
|
|
71456
71456
|
scriptsize: ["SetSize", 0.7],
|
|
@@ -72589,8 +72589,8 @@ var ID = Ff, Gw = oh, dSt = Yo, pSt = a4, fSt = jf, TSt = p_, QSt = function(e)
|
|
|
72589
72589
|
I.has(P) || I.set(P, this.getTestElement(P, M.display));
|
|
72590
72590
|
}
|
|
72591
72591
|
}
|
|
72592
|
-
} catch (
|
|
72593
|
-
r = { error:
|
|
72592
|
+
} catch (xe) {
|
|
72593
|
+
r = { error: xe };
|
|
72594
72594
|
} finally {
|
|
72595
72595
|
try {
|
|
72596
72596
|
H && !H.done && (i = L.return) && i.call(L);
|
|
@@ -72607,8 +72607,8 @@ var ID = Ff, Gw = oh, dSt = Yo, pSt = a4, fSt = jf, TSt = p_, QSt = function(e)
|
|
|
72607
72607
|
var P = ft.value;
|
|
72608
72608
|
z[rt].set(P, this.measureMetrics(x[rt].get(P), D));
|
|
72609
72609
|
}
|
|
72610
|
-
} catch (
|
|
72611
|
-
s = { error:
|
|
72610
|
+
} catch (xe) {
|
|
72611
|
+
s = { error: xe };
|
|
72612
72612
|
} finally {
|
|
72613
72613
|
try {
|
|
72614
72614
|
ft && !ft.done && (u = ot.return) && u.call(ot);
|
|
@@ -72617,8 +72617,8 @@ var ID = Ff, Gw = oh, dSt = Yo, pSt = a4, fSt = jf, TSt = p_, QSt = function(e)
|
|
|
72617
72617
|
}
|
|
72618
72618
|
}
|
|
72619
72619
|
}
|
|
72620
|
-
} catch (
|
|
72621
|
-
o = { error:
|
|
72620
|
+
} catch (xe) {
|
|
72621
|
+
o = { error: xe };
|
|
72622
72622
|
} finally {
|
|
72623
72623
|
try {
|
|
72624
72624
|
Z && !Z.done && (a = G.return) && a.call(G);
|
|
@@ -72644,8 +72644,8 @@ var ID = Ff, Gw = oh, dSt = Yo, pSt = a4, fSt = jf, TSt = p_, QSt = function(e)
|
|
|
72644
72644
|
}
|
|
72645
72645
|
}
|
|
72646
72646
|
}
|
|
72647
|
-
} catch (
|
|
72648
|
-
h = { error:
|
|
72647
|
+
} catch (xe) {
|
|
72648
|
+
h = { error: xe };
|
|
72649
72649
|
} finally {
|
|
72650
72650
|
try {
|
|
72651
72651
|
At && !At.done && (d = ht.return) && d.call(ht);
|
|
@@ -73790,11 +73790,11 @@ function Ai() {
|
|
|
73790
73790
|
if (h) throw h.error;
|
|
73791
73791
|
}
|
|
73792
73792
|
}
|
|
73793
|
-
var Z = u.borderFuzz, rt = this.getOuterBBox(), ot = n([rt.h + Z, rt.d + Z, rt.w + Z], 3), ft = ot[0], ht = ot[1], At = ot[2], $t = [At, ft], ce = [-Z, ft],
|
|
73794
|
-
[ce, $t, Qn,
|
|
73795
|
-
[
|
|
73796
|
-
[ae,
|
|
73797
|
-
[ae, ce,
|
|
73793
|
+
var Z = u.borderFuzz, rt = this.getOuterBBox(), ot = n([rt.h + Z, rt.d + Z, rt.w + Z], 3), ft = ot[0], ht = ot[1], At = ot[2], $t = [At, ft], ce = [-Z, ft], xe = [At, -ht], ae = [-Z, -ht], Qn = [At - v[1], ft - v[0]], Un = [-Z + v[3], ft - v[0]], cr = [At - v[1], -ht + v[2]], _e = [-Z + v[3], -ht + v[2]], Ne = [
|
|
73794
|
+
[ce, $t, Qn, Un],
|
|
73795
|
+
[xe, $t, Qn, cr],
|
|
73796
|
+
[ae, xe, cr, _e],
|
|
73797
|
+
[ae, ce, Un, _e]
|
|
73798
73798
|
], gn = this.adaptor, We = gn.firstChild(this.element);
|
|
73799
73799
|
try {
|
|
73800
73800
|
for (var cn = t([0, 1, 2, 3]), en = cn.next(); !en.done; en = cn.next()) {
|
|
@@ -73825,7 +73825,7 @@ function Ai() {
|
|
|
73825
73825
|
});
|
|
73826
73826
|
Q ? this.adaptor.insert(v, Q) : this.adaptor.append(this.element, v);
|
|
73827
73827
|
}, u.prototype.addBorderBroken = function(h, d, Q, m, v) {
|
|
73828
|
-
var x = Q === "dotted", L = m / 2, H = n([[L, -L, -L, -L], [-L, L, -L, -L], [L, L, -L, L], [L, L, L, -L]][v], 4), M = H[0], P = H[1], I = H[2], D = H[3], z = n(h, 2), G = z[0], Z = z[1], rt = G[0] + M - this.dx, ot = G[1] + P, ft = Z[0] + I - this.dx, ht = Z[1] + D, At = Math.abs(v % 2 ? ht - ot : ft - rt), $t = Math.ceil(x ? At / (2 * m) : (At - m) / (4 * m)), ce = At / (4 * $t + 1),
|
|
73828
|
+
var x = Q === "dotted", L = m / 2, H = n([[L, -L, -L, -L], [-L, L, -L, -L], [L, L, -L, L], [L, L, L, -L]][v], 4), M = H[0], P = H[1], I = H[2], D = H[3], z = n(h, 2), G = z[0], Z = z[1], rt = G[0] + M - this.dx, ot = G[1] + P, ft = Z[0] + I - this.dx, ht = Z[1] + D, At = Math.abs(v % 2 ? ht - ot : ft - rt), $t = Math.ceil(x ? At / (2 * m) : (At - m) / (4 * m)), ce = At / (4 * $t + 1), xe = this.svg("line", {
|
|
73829
73829
|
x1: this.fixed(rt),
|
|
73830
73830
|
y1: this.fixed(ot),
|
|
73831
73831
|
x2: this.fixed(ft),
|
|
@@ -73835,7 +73835,7 @@ function Ai() {
|
|
|
73835
73835
|
"stroke-linecap": x ? "round" : "square",
|
|
73836
73836
|
"stroke-dasharray": x ? [1, this.fixed(At / $t - 2e-3)].join(" ") : [this.fixed(ce), this.fixed(3 * ce)].join(" ")
|
|
73837
73837
|
}), ae = this.adaptor, Qn = ae.firstChild(this.element);
|
|
73838
|
-
Qn ? ae.insert(
|
|
73838
|
+
Qn ? ae.insert(xe, Qn) : ae.append(this.element, xe);
|
|
73839
73839
|
}, u.prototype.handleAttributes = function() {
|
|
73840
73840
|
var h, d, Q, m, v = this.node.attributes, x = v.getAllDefaults(), L = u.skipAttributes;
|
|
73841
73841
|
try {
|
|
@@ -78010,8 +78010,8 @@ function HHt() {
|
|
|
78010
78010
|
var H = this.adaptor, M = a(L), P = H.append(this.element, this.svg("g")), I = H.append(this.element, this.svg("g"));
|
|
78011
78011
|
this.place(d, Q, P), this.place(d, m, I);
|
|
78012
78012
|
for (var D = v + 2 * x, z = 0; v < D; ) {
|
|
78013
|
-
var G = t([this.childNodes[v++], this.childNodes[v++]], 2), Z = G[0], rt = G[1], ot = t([Z.getOuterBBox(), rt.getOuterBBox()], 2), ft = ot[0], ht = ot[1], At = t([ft.rscale, ht.rscale], 2), $t = At[0], ce = At[1],
|
|
78014
|
-
Z.toSVG(I), rt.toSVG(P), Z.place(z + M(ft.w * $t,
|
|
78013
|
+
var G = t([this.childNodes[v++], this.childNodes[v++]], 2), Z = G[0], rt = G[1], ot = t([Z.getOuterBBox(), rt.getOuterBBox()], 2), ft = ot[0], ht = ot[1], At = t([ft.rscale, ht.rscale], 2), $t = At[0], ce = At[1], xe = Math.max(ft.w * $t, ht.w * ce);
|
|
78014
|
+
Z.toSVG(I), rt.toSVG(P), Z.place(z + M(ft.w * $t, xe), 0), rt.place(z + M(ht.w * ce, xe), 0), z += xe;
|
|
78015
78015
|
}
|
|
78016
78016
|
return d + z;
|
|
78017
78017
|
}, h.kind = i.MmlMmultiscripts.prototype.kind, h;
|
|
@@ -80198,12 +80198,12 @@ function lCt() {
|
|
|
80198
80198
|
}
|
|
80199
80199
|
}, m.prototype.arrow = function(v, x, L, H, M) {
|
|
80200
80200
|
H === void 0 && (H = ""), M === void 0 && (M = 0);
|
|
80201
|
-
var P = this.getBBox(), I = P.w, D = P.h, z = P.d, G = (v - I) / 2, Z = (D - z) / 2, rt = this.thickness, ot = rt / 2, ft = o([rt * this.arrowhead.x, rt * this.arrowhead.y, rt * this.arrowhead.dx], 3), ht = ft[0], At = ft[1], $t = ft[2], ce = L ? this.fill("M", I + G, Z, "l", -(ht + $t), At, "l", $t, ot - At, "L", ht - G, Z + ot, "l", $t, At - ot, "l", -(ht + $t), -At, "l", ht + $t, -At, "l", -$t, At - ot, "L", I + G - ht, Z - ot, "l", -$t, ot - At, "Z") : this.fill("M", I + G, Z, "l", -(ht + $t), At, "l", $t, ot - At, "L", -G, Z + ot, "l", 0, -rt, "L", I + G - ht, Z - ot, "l", -$t, ot - At, "Z"),
|
|
80202
|
-
if (M &&
|
|
80201
|
+
var P = this.getBBox(), I = P.w, D = P.h, z = P.d, G = (v - I) / 2, Z = (D - z) / 2, rt = this.thickness, ot = rt / 2, ft = o([rt * this.arrowhead.x, rt * this.arrowhead.y, rt * this.arrowhead.dx], 3), ht = ft[0], At = ft[1], $t = ft[2], ce = L ? this.fill("M", I + G, Z, "l", -(ht + $t), At, "l", $t, ot - At, "L", ht - G, Z + ot, "l", $t, At - ot, "l", -(ht + $t), -At, "l", ht + $t, -At, "l", -$t, At - ot, "L", I + G - ht, Z - ot, "l", -$t, ot - At, "Z") : this.fill("M", I + G, Z, "l", -(ht + $t), At, "l", $t, ot - At, "L", -G, Z + ot, "l", 0, -rt, "L", I + G - ht, Z - ot, "l", -$t, ot - At, "Z"), xe = [];
|
|
80202
|
+
if (M && xe.push(H === "X" ? "translate(".concat(this.fixed(-M), " 0)") : "translate(0 ".concat(this.fixed(M), ")")), x) {
|
|
80203
80203
|
var ae = this.jax.fixed(-x * 180 / Math.PI);
|
|
80204
|
-
|
|
80204
|
+
xe.push("rotate(".concat(ae, " ").concat(this.fixed(I / 2), " ").concat(this.fixed(Z), ")"));
|
|
80205
80205
|
}
|
|
80206
|
-
return
|
|
80206
|
+
return xe.length && this.adaptor.setAttribute(ce, "transform", xe.join(" ")), ce;
|
|
80207
80207
|
}, m.prototype.line = function(v) {
|
|
80208
80208
|
var x = o(v, 4), L = x[0], H = x[1], M = x[2], P = x[3];
|
|
80209
80209
|
return this.svg("line", {
|
|
@@ -87636,8 +87636,8 @@ F8.BitFieldClass = OPt;
|
|
|
87636
87636
|
var ht = ft.value, At = r(this.action(ht, z[ht]), 2), $t = At[0], ce = At[1];
|
|
87637
87637
|
ce && rt.add($t, ce);
|
|
87638
87638
|
}
|
|
87639
|
-
} catch (
|
|
87640
|
-
G = { error:
|
|
87639
|
+
} catch (xe) {
|
|
87640
|
+
G = { error: xe };
|
|
87641
87641
|
} finally {
|
|
87642
87642
|
try {
|
|
87643
87643
|
ft && !ft.done && (Z = ot.return) && Z.call(ot);
|
|
@@ -87653,7 +87653,7 @@ F8.BitFieldClass = OPt;
|
|
|
87653
87653
|
else if (typeof G[1] == "string")
|
|
87654
87654
|
if (typeof G[2] == "string") {
|
|
87655
87655
|
G.length === 4 && ($t = G[3]);
|
|
87656
|
-
var
|
|
87656
|
+
var xe = r(G.slice(1), 2), ae = xe[0], Qn = xe[1];
|
|
87657
87657
|
rt = r(this.methodActions(ae, Qn), 2), ht = rt[0], At = rt[1];
|
|
87658
87658
|
} else
|
|
87659
87659
|
G.length === 3 && ($t = G[2]), ot = r(this.methodActions(G[1]), 2), ht = ot[0], At = ot[1];
|
|
@@ -87827,12 +87827,12 @@ F8.BitFieldClass = OPt;
|
|
|
87827
87827
|
lineWidth: 1e6,
|
|
87828
87828
|
scale: 1,
|
|
87829
87829
|
family: ""
|
|
87830
|
-
}, z), Z = G.format, rt = G.display, ot = G.end, ft = G.ex, ht = G.em, At = G.containerWidth, $t = G.lineWidth, ce = G.scale,
|
|
87830
|
+
}, z), Z = G.format, rt = G.display, ot = G.end, ft = G.ex, ht = G.em, At = G.containerWidth, $t = G.lineWidth, ce = G.scale, xe = G.family;
|
|
87831
87831
|
At === null && (At = 80 * ft);
|
|
87832
|
-
var ae = this.inputJax.reduce(function(
|
|
87833
|
-
return cr.name === Z ? cr :
|
|
87832
|
+
var ae = this.inputJax.reduce(function(Un, cr) {
|
|
87833
|
+
return cr.name === Z ? cr : Un;
|
|
87834
87834
|
}, null), Qn = new this.options.MathItem(D, ae, rt);
|
|
87835
|
-
return Qn.start.node = this.adaptor.body(this.document), Qn.setMetrics(ht, ft, At, $t, ce), this.outputJax.options.mtextInheritFont && (Qn.outputData.mtextFamily =
|
|
87835
|
+
return Qn.start.node = this.adaptor.body(this.document), Qn.setMetrics(ht, ft, At, $t, ce), this.outputJax.options.mtextInheritFont && (Qn.outputData.mtextFamily = xe), this.outputJax.options.merrorInheritFont && (Qn.outputData.merrorFamily = xe), Qn.convert(this, ot), Qn.typesetRoot || Qn.root;
|
|
87836
87836
|
}, I.prototype.findMath = function(D) {
|
|
87837
87837
|
return this.processed.set("findMath"), this;
|
|
87838
87838
|
}, I.prototype.compile = function() {
|
|
@@ -87844,8 +87844,8 @@ F8.BitFieldClass = OPt;
|
|
|
87844
87844
|
var ht = ft.value;
|
|
87845
87845
|
this.compileMath(ht), ht.inputData.recompile !== void 0 && rt.push(ht);
|
|
87846
87846
|
}
|
|
87847
|
-
} catch (
|
|
87848
|
-
D = { error:
|
|
87847
|
+
} catch (xe) {
|
|
87848
|
+
D = { error: xe };
|
|
87849
87849
|
} finally {
|
|
87850
87850
|
try {
|
|
87851
87851
|
ft && !ft.done && (z = ot.return) && z.call(ot);
|
|
@@ -87858,8 +87858,8 @@ F8.BitFieldClass = OPt;
|
|
|
87858
87858
|
var ht = $t.value, ce = ht.inputData.recompile;
|
|
87859
87859
|
ht.state(ce.state), ht.inputData.recompile = ce, this.compileMath(ht);
|
|
87860
87860
|
}
|
|
87861
|
-
} catch (
|
|
87862
|
-
G = { error:
|
|
87861
|
+
} catch (xe) {
|
|
87862
|
+
G = { error: xe };
|
|
87863
87863
|
} finally {
|
|
87864
87864
|
try {
|
|
87865
87865
|
$t && !$t.done && (Z = At.return) && Z.call(At);
|
|
@@ -87997,25 +87997,25 @@ F8.BitFieldClass = OPt;
|
|
|
87997
87997
|
t: for (var At = n(this.math), $t = At.next(); !$t.done; $t = At.next()) {
|
|
87998
87998
|
var ce = $t.value;
|
|
87999
87999
|
try {
|
|
88000
|
-
for (var
|
|
88000
|
+
for (var xe = (Z = void 0, n(ht)), ae = xe.next(); !ae.done; ae = xe.next()) {
|
|
88001
88001
|
var Qn = ae.value;
|
|
88002
88002
|
if (ce.start.node && ot.contains(Qn, ce.start.node)) {
|
|
88003
88003
|
ft.push(ce);
|
|
88004
88004
|
continue t;
|
|
88005
88005
|
}
|
|
88006
88006
|
}
|
|
88007
|
-
} catch (
|
|
88008
|
-
Z = { error:
|
|
88007
|
+
} catch (Un) {
|
|
88008
|
+
Z = { error: Un };
|
|
88009
88009
|
} finally {
|
|
88010
88010
|
try {
|
|
88011
|
-
ae && !ae.done && (rt =
|
|
88011
|
+
ae && !ae.done && (rt = xe.return) && rt.call(xe);
|
|
88012
88012
|
} finally {
|
|
88013
88013
|
if (Z) throw Z.error;
|
|
88014
88014
|
}
|
|
88015
88015
|
}
|
|
88016
88016
|
}
|
|
88017
|
-
} catch (
|
|
88018
|
-
z = { error:
|
|
88017
|
+
} catch (Un) {
|
|
88018
|
+
z = { error: Un };
|
|
88019
88019
|
} finally {
|
|
88020
88020
|
try {
|
|
88021
88021
|
$t && !$t.done && (G = At.return) && G.call(At);
|
|
@@ -89766,10 +89766,10 @@ var UC = {}, qb = {}, Xb = {};
|
|
|
89766
89766
|
o.default.setProperty(_e, At + Ne, gn);
|
|
89767
89767
|
};
|
|
89768
89768
|
e.setProperty = ce;
|
|
89769
|
-
var
|
|
89769
|
+
var xe = function(_e, Ne) {
|
|
89770
89770
|
return o.default.getProperty(_e, At + Ne);
|
|
89771
89771
|
};
|
|
89772
|
-
e.getProperty =
|
|
89772
|
+
e.getProperty = xe;
|
|
89773
89773
|
var ae = function(_e, Ne) {
|
|
89774
89774
|
_e.removeProperty(At + Ne);
|
|
89775
89775
|
};
|
|
@@ -89783,11 +89783,11 @@ var UC = {}, qb = {}, Xb = {};
|
|
|
89783
89783
|
});
|
|
89784
89784
|
};
|
|
89785
89785
|
e.makeBsprAttributes = Qn;
|
|
89786
|
-
var
|
|
89786
|
+
var Un = function(_e) {
|
|
89787
89787
|
if (s = _e.document, !("getBBox" in s.outputJax))
|
|
89788
89788
|
throw Error("The bussproofs extension requires an output jax with a getBBox() method");
|
|
89789
89789
|
};
|
|
89790
|
-
e.saveDocument =
|
|
89790
|
+
e.saveDocument = Un;
|
|
89791
89791
|
var cr = function(_e) {
|
|
89792
89792
|
s = null;
|
|
89793
89793
|
};
|
|
@@ -91553,8 +91553,8 @@ function JX() {
|
|
|
91553
91553
|
style: "border: ".concat(ft, " solid; border-").concat(ot, ": none"),
|
|
91554
91554
|
height: D,
|
|
91555
91555
|
depth: 0
|
|
91556
|
-
}), ce = o.default.underOver(M, ht, $t, Z, !0),
|
|
91557
|
-
d.default.setAttribute(
|
|
91556
|
+
}), ce = o.default.underOver(M, ht, $t, Z, !0), xe = d.default.getChildAt(d.default.getChildAt(ce, 0), 0);
|
|
91557
|
+
d.default.setAttribute(xe, rt, !0), M.Push(ce);
|
|
91558
91558
|
},
|
|
91559
91559
|
Aboxed: function(M, P) {
|
|
91560
91560
|
var I = H.MathtoolsUtil.checkAlignment(M, P);
|
|
@@ -91604,12 +91604,12 @@ function JX() {
|
|
|
91604
91604
|
z === void 0 && (z = "#1"), G === void 0 && (G = 1), Z === void 0 && (Z = ""), rt === void 0 && (rt = "");
|
|
91605
91605
|
var ot = M.GetStar(), ft = ot ? "" : M.GetBrackets(P), ht = n(ot ? ["\\left", "\\right"] : ft ? [ft + "l", ft + "r"] : ["", ""], 2), At = ht[0], $t = ht[1], ce = ot ? "\\middle" : ft || "";
|
|
91606
91606
|
if (G) {
|
|
91607
|
-
for (var
|
|
91608
|
-
|
|
91609
|
-
Z = o.default.substituteArgs(M,
|
|
91607
|
+
for (var xe = [], ae = xe.length; ae < G; ae++)
|
|
91608
|
+
xe.push(M.GetArgument(P));
|
|
91609
|
+
Z = o.default.substituteArgs(M, xe, Z), z = o.default.substituteArgs(M, xe, z), rt = o.default.substituteArgs(M, xe, rt);
|
|
91610
91610
|
}
|
|
91611
|
-
z = z.replace(/\\delimsize/g, ce), M.string = [Z, At, I, z, $t, D, rt, M.string.substr(M.i)].reduce(function(Qn,
|
|
91612
|
-
return o.default.addArgs(M, Qn,
|
|
91611
|
+
z = z.replace(/\\delimsize/g, ce), M.string = [Z, At, I, z, $t, D, rt, M.string.substr(M.i)].reduce(function(Qn, Un) {
|
|
91612
|
+
return o.default.addArgs(M, Qn, Un);
|
|
91613
91613
|
}, ""), M.i = 0, o.default.checkMaxMacros(M);
|
|
91614
91614
|
},
|
|
91615
91615
|
DeclarePairedDelimiter: function(M, P) {
|
|
@@ -92075,15 +92075,15 @@ function tK() {
|
|
|
92075
92075
|
}
|
|
92076
92076
|
}
|
|
92077
92077
|
try {
|
|
92078
|
-
for (var ce = (I = void 0, t([4, 5])),
|
|
92079
|
-
var $t =
|
|
92078
|
+
for (var ce = (I = void 0, t([4, 5])), xe = ce.next(); !xe.done; xe = ce.next()) {
|
|
92079
|
+
var $t = xe.value;
|
|
92080
92080
|
a.default.isType(ot[$t], "mrow") && a.default.getChildren(ot[$t]).length === 0 && a.default.setChild(rt, $t, z.nodeFactory.create("node", "none"));
|
|
92081
92081
|
}
|
|
92082
92082
|
} catch (ae) {
|
|
92083
92083
|
I = { error: ae };
|
|
92084
92084
|
} finally {
|
|
92085
92085
|
try {
|
|
92086
|
-
|
|
92086
|
+
xe && !xe.done && (D = ce.return) && D.call(ce);
|
|
92087
92087
|
} finally {
|
|
92088
92088
|
if (I) throw I.error;
|
|
92089
92089
|
}
|
|
@@ -96566,11 +96566,11 @@ var wK = { exports: {} };
|
|
|
96566
96566
|
return this._length = 0, this._items = {}, this._nums = {}, this;
|
|
96567
96567
|
};
|
|
96568
96568
|
var $t = [I.FEATURE, I.MIDPOINT, I.VERTEX], ce = { click: function(V, W, ct) {
|
|
96569
|
-
return
|
|
96569
|
+
return xe(V, W, ct, ct.options.clickBuffer);
|
|
96570
96570
|
}, touch: function(V, W, ct) {
|
|
96571
|
-
return
|
|
96571
|
+
return xe(V, W, ct, ct.options.touchBuffer);
|
|
96572
96572
|
} };
|
|
96573
|
-
function
|
|
96573
|
+
function xe(V, W, ct, Et) {
|
|
96574
96574
|
if (ct.map === null) return [];
|
|
96575
96575
|
var Vt = V ? ht(V, Et) : W, Rt = {};
|
|
96576
96576
|
ct.options.styles && (Rt.layers = ct.options.styles.map(function(Ue) {
|
|
@@ -96594,7 +96594,7 @@ var wK = { exports: {} };
|
|
|
96594
96594
|
var ct = V.x - W.x, Et = V.y - W.y;
|
|
96595
96595
|
return Math.sqrt(ct * ct + Et * Et);
|
|
96596
96596
|
}
|
|
96597
|
-
function
|
|
96597
|
+
function Un(V, W, ct) {
|
|
96598
96598
|
ct === void 0 && (ct = {});
|
|
96599
96599
|
var Et = ct.fineTolerance != null ? ct.fineTolerance : 4, Vt = ct.grossTolerance != null ? ct.grossTolerance : 12, Rt = ct.interval != null ? ct.interval : 500;
|
|
96600
96600
|
V.point = V.point || W.point, V.time = V.time || W.time;
|
|
@@ -97036,7 +97036,7 @@ var wK = { exports: {} };
|
|
|
97036
97036
|
hn({ point: we.point, time: (/* @__PURE__ */ new Date()).getTime() }) ? (jt.ui.queueMapClasses({ mouse: v.DRAG }), Vn.drag(we)) : we.originalEvent.stopPropagation();
|
|
97037
97037
|
}, $e.mousedrag = function(we) {
|
|
97038
97038
|
$e.drag(we, function(hn) {
|
|
97039
|
-
return !
|
|
97039
|
+
return !Un(Oe, hn);
|
|
97040
97040
|
});
|
|
97041
97041
|
}, $e.touchdrag = function(we) {
|
|
97042
97042
|
$e.drag(we, function(hn) {
|
|
@@ -97052,7 +97052,7 @@ var wK = { exports: {} };
|
|
|
97052
97052
|
we.featureTarget = hn, Vn.mousedown(we);
|
|
97053
97053
|
}, $e.mouseup = function(we) {
|
|
97054
97054
|
var hn = ae(we, jt);
|
|
97055
|
-
we.featureTarget = hn,
|
|
97055
|
+
we.featureTarget = hn, Un(Oe, { point: we.point, time: (/* @__PURE__ */ new Date()).getTime() }) ? Vn.click(we) : Vn.mouseup(we);
|
|
97056
97056
|
}, $e.mouseout = function(we) {
|
|
97057
97057
|
Vn.mouseout(we);
|
|
97058
97058
|
}, $e.touchstart = function(we) {
|
|
@@ -97072,7 +97072,7 @@ var wK = { exports: {} };
|
|
|
97072
97072
|
var rr = function(we) {
|
|
97073
97073
|
return !(we === 8 || we === 46 || we >= 48 && we <= 57);
|
|
97074
97074
|
};
|
|
97075
|
-
function
|
|
97075
|
+
function $n(we, hn, Er) {
|
|
97076
97076
|
Er === void 0 && (Er = {}), Vn.stop();
|
|
97077
97077
|
var Rr = Pe[we];
|
|
97078
97078
|
if (Rr === void 0) throw new Error(we + " is not valid");
|
|
@@ -97081,7 +97081,7 @@ var wK = { exports: {} };
|
|
|
97081
97081
|
Vn = n(nr, jt), Er.silent || jt.map.fire(M.MODE_CHANGE, { mode: we }), jt.store.setDirty(), jt.store.render();
|
|
97082
97082
|
}
|
|
97083
97083
|
$e.keydown = function(we) {
|
|
97084
|
-
(we.srcElement || we.target).classList.contains("mapboxgl-canvas") && (we.keyCode !== 8 && we.keyCode !== 46 || !jt.options.controls.trash ? rr(we.keyCode) ? Vn.keydown(we) : we.keyCode === 49 && jt.options.controls.point ?
|
|
97084
|
+
(we.srcElement || we.target).classList.contains("mapboxgl-canvas") && (we.keyCode !== 8 && we.keyCode !== 46 || !jt.options.controls.trash ? rr(we.keyCode) ? Vn.keydown(we) : we.keyCode === 49 && jt.options.controls.point ? $n(H.DRAW_POINT) : we.keyCode === 50 && jt.options.controls.line_string ? $n(H.DRAW_LINE_STRING) : we.keyCode === 51 && jt.options.controls.polygon && $n(H.DRAW_POLYGON) : (we.preventDefault(), Vn.trash()));
|
|
97085
97085
|
}, $e.keyup = function(we) {
|
|
97086
97086
|
rr(we.keyCode) && Vn.keyup(we);
|
|
97087
97087
|
}, $e.zoomend = function() {
|
|
@@ -97097,7 +97097,7 @@ var wK = { exports: {} };
|
|
|
97097
97097
|
var Mr = { trash: !1, combineFeatures: !1, uncombineFeatures: !1 };
|
|
97098
97098
|
return { start: function() {
|
|
97099
97099
|
Ze = jt.options.defaultMode, Vn = n(Pe[Ze](jt), jt);
|
|
97100
|
-
}, changeMode:
|
|
97100
|
+
}, changeMode: $n, actionable: function(we) {
|
|
97101
97101
|
var hn = !1;
|
|
97102
97102
|
Object.keys(we).forEach(function(Er) {
|
|
97103
97103
|
if (Mr[Er] === void 0) throw new Error("Invalid action type");
|
|
@@ -97140,15 +97140,15 @@ var wK = { exports: {} };
|
|
|
97140
97140
|
hn === void 0 && (hn = {});
|
|
97141
97141
|
var Er = document.createElement("button");
|
|
97142
97142
|
return Er.className = Q.CONTROL_BUTTON + " " + hn.className, Er.setAttribute("title", hn.title), hn.container.appendChild(Er), Er.addEventListener("click", function(Rr) {
|
|
97143
|
-
if (Rr.preventDefault(), Rr.stopPropagation(), Rr.target === Oe) return
|
|
97143
|
+
if (Rr.preventDefault(), Rr.stopPropagation(), Rr.target === Oe) return $n(), void hn.onDeactivate();
|
|
97144
97144
|
Mr(we), hn.onActivate();
|
|
97145
97145
|
}, !0), Er;
|
|
97146
97146
|
}
|
|
97147
|
-
function
|
|
97147
|
+
function $n() {
|
|
97148
97148
|
Oe && (Oe.classList.remove(Q.ACTIVE_BUTTON), Oe = null);
|
|
97149
97149
|
}
|
|
97150
97150
|
function Mr(we) {
|
|
97151
|
-
|
|
97151
|
+
$n();
|
|
97152
97152
|
var hn = Pe[we];
|
|
97153
97153
|
hn && hn && we !== "trash" && (hn.classList.add(Q.ACTIVE_BUTTON), Oe = hn);
|
|
97154
97154
|
}
|
|
@@ -97328,14 +97328,14 @@ var wK = { exports: {} };
|
|
|
97328
97328
|
W === void 0 && (W = {}), ct === void 0 && (ct = null);
|
|
97329
97329
|
var Et, Vt = V.geometry, Rt = Vt.type, jt = Vt.coordinates, Pe = V.properties && V.properties.id, Oe = [];
|
|
97330
97330
|
function Ue(Ze, Vn) {
|
|
97331
|
-
var rr = "",
|
|
97331
|
+
var rr = "", $n = null;
|
|
97332
97332
|
Ze.forEach(function(Mr, we) {
|
|
97333
97333
|
var hn = Vn != null ? Vn + "." + we : String(we), Er = bt(Pe, Mr, hn, $e(hn));
|
|
97334
|
-
if (W.midpoints &&
|
|
97335
|
-
var Rr = It(Pe,
|
|
97334
|
+
if (W.midpoints && $n) {
|
|
97335
|
+
var Rr = It(Pe, $n, Er);
|
|
97336
97336
|
Rr && Oe.push(Rr);
|
|
97337
97337
|
}
|
|
97338
|
-
|
|
97338
|
+
$n = Er;
|
|
97339
97339
|
var nr = JSON.stringify(Mr);
|
|
97340
97340
|
rr !== nr && Oe.push(Er), we === 0 && (rr = nr);
|
|
97341
97341
|
});
|
|
@@ -97405,7 +97405,7 @@ var wK = { exports: {} };
|
|
|
97405
97405
|
}(V);
|
|
97406
97406
|
};
|
|
97407
97407
|
Fe instanceof Function || (Fe = Fe.default);
|
|
97408
|
-
var
|
|
97408
|
+
var Gn = { exports: {} }, In = Gn.exports = function(V) {
|
|
97409
97409
|
return new de(V);
|
|
97410
97410
|
};
|
|
97411
97411
|
function de(V) {
|
|
@@ -97414,20 +97414,20 @@ var wK = { exports: {} };
|
|
|
97414
97414
|
function un(V, W, ct) {
|
|
97415
97415
|
var Et = [], Vt = [], Rt = !0;
|
|
97416
97416
|
return function jt(Pe) {
|
|
97417
|
-
var Oe = ct ? an(Pe) : Pe, Ue = {}, $e = !0, Ze = { node: Oe, node_: Pe, path: [].concat(Et), parent: Vt[Vt.length - 1], parents: Vt, key: Et.slice(-1)[0], isRoot: Et.length === 0, level: Et.length, circular: null, update: function(
|
|
97418
|
-
Ze.isRoot || (Ze.parent.node[Ze.key] =
|
|
97419
|
-
}, delete: function(
|
|
97420
|
-
delete Ze.parent.node[Ze.key],
|
|
97421
|
-
}, remove: function(
|
|
97422
|
-
Me(Ze.parent.node) ? Ze.parent.node.splice(Ze.key, 1) : delete Ze.parent.node[Ze.key],
|
|
97423
|
-
}, keys: null, before: function(
|
|
97424
|
-
Ue.before =
|
|
97425
|
-
}, after: function(
|
|
97426
|
-
Ue.after =
|
|
97427
|
-
}, pre: function(
|
|
97428
|
-
Ue.pre =
|
|
97429
|
-
}, post: function(
|
|
97430
|
-
Ue.post =
|
|
97417
|
+
var Oe = ct ? an(Pe) : Pe, Ue = {}, $e = !0, Ze = { node: Oe, node_: Pe, path: [].concat(Et), parent: Vt[Vt.length - 1], parents: Vt, key: Et.slice(-1)[0], isRoot: Et.length === 0, level: Et.length, circular: null, update: function($n, Mr) {
|
|
97418
|
+
Ze.isRoot || (Ze.parent.node[Ze.key] = $n), Ze.node = $n, Mr && ($e = !1);
|
|
97419
|
+
}, delete: function($n) {
|
|
97420
|
+
delete Ze.parent.node[Ze.key], $n && ($e = !1);
|
|
97421
|
+
}, remove: function($n) {
|
|
97422
|
+
Me(Ze.parent.node) ? Ze.parent.node.splice(Ze.key, 1) : delete Ze.parent.node[Ze.key], $n && ($e = !1);
|
|
97423
|
+
}, keys: null, before: function($n) {
|
|
97424
|
+
Ue.before = $n;
|
|
97425
|
+
}, after: function($n) {
|
|
97426
|
+
Ue.after = $n;
|
|
97427
|
+
}, pre: function($n) {
|
|
97428
|
+
Ue.pre = $n;
|
|
97429
|
+
}, post: function($n) {
|
|
97430
|
+
Ue.post = $n;
|
|
97431
97431
|
}, stop: function() {
|
|
97432
97432
|
Rt = !1;
|
|
97433
97433
|
}, block: function() {
|
|
@@ -97437,8 +97437,8 @@ var wK = { exports: {} };
|
|
|
97437
97437
|
function Vn() {
|
|
97438
97438
|
if (typeof Ze.node == "object" && Ze.node !== null) {
|
|
97439
97439
|
Ze.keys && Ze.node_ === Ze.node || (Ze.keys = Xn(Ze.node)), Ze.isLeaf = Ze.keys.length == 0;
|
|
97440
|
-
for (var
|
|
97441
|
-
Ze.circular = Vt[
|
|
97440
|
+
for (var $n = 0; $n < Vt.length; $n++) if (Vt[$n].node_ === Pe) {
|
|
97441
|
+
Ze.circular = Vt[$n];
|
|
97442
97442
|
break;
|
|
97443
97443
|
}
|
|
97444
97444
|
} else Ze.isLeaf = !0, Ze.keys = null;
|
|
@@ -97446,10 +97446,10 @@ var wK = { exports: {} };
|
|
|
97446
97446
|
}
|
|
97447
97447
|
Vn();
|
|
97448
97448
|
var rr = W.call(Ze, Ze.node);
|
|
97449
|
-
return rr !== void 0 && Ze.update && Ze.update(rr), Ue.before && Ue.before.call(Ze, Ze.node), $e && (typeof Ze.node != "object" || Ze.node === null || Ze.circular || (Vt.push(Ze), Vn(), Ve(Ze.keys, function(
|
|
97450
|
-
Et.push(
|
|
97451
|
-
var we = jt(Ze.node[
|
|
97452
|
-
ct && hr.call(Ze.node,
|
|
97449
|
+
return rr !== void 0 && Ze.update && Ze.update(rr), Ue.before && Ue.before.call(Ze, Ze.node), $e && (typeof Ze.node != "object" || Ze.node === null || Ze.circular || (Vt.push(Ze), Vn(), Ve(Ze.keys, function($n, Mr) {
|
|
97450
|
+
Et.push($n), Ue.pre && Ue.pre.call(Ze, Ze.node[$n], $n);
|
|
97451
|
+
var we = jt(Ze.node[$n]);
|
|
97452
|
+
ct && hr.call(Ze.node, $n) && (Ze.node[$n] = we.node), we.isLast = Mr == Ze.keys.length - 1, we.isFirst = Mr == 0, Ue.post && Ue.post.call(Ze, we), Et.pop();
|
|
97453
97453
|
}), Vt.pop()), Ue.after && Ue.after.call(Ze, Ze.node)), Ze;
|
|
97454
97454
|
}(V).node;
|
|
97455
97455
|
}
|
|
@@ -97563,7 +97563,7 @@ var wK = { exports: {} };
|
|
|
97563
97563
|
});
|
|
97564
97564
|
var hr = Object.hasOwnProperty || function(V, W) {
|
|
97565
97565
|
return W in V;
|
|
97566
|
-
}, Or =
|
|
97566
|
+
}, Or = Gn.exports, $r = Jn;
|
|
97567
97567
|
function Jn(V) {
|
|
97568
97568
|
if (!(this instanceof Jn)) return new Jn(V);
|
|
97569
97569
|
this._bbox = V || [1 / 0, 1 / 0, -1 / 0, -1 / 0], this._valid = !!V;
|
|
@@ -97621,8 +97621,8 @@ var wK = { exports: {} };
|
|
|
97621
97621
|
function h4(V, W) {
|
|
97622
97622
|
var ct = Is, Et = 90, Vt = Is, Rt = 90, jt = 270, Pe = -270;
|
|
97623
97623
|
V.forEach(function(Ue) {
|
|
97624
|
-
var $e = ha(Ue), Ze = $e[1], Vn = $e[3], rr = $e[0],
|
|
97625
|
-
Ze > ct && (ct = Ze), Vn < Et && (Et = Vn), Vn > Vt && (Vt = Vn), Ze < Rt && (Rt = Ze), rr < jt && (jt = rr),
|
|
97624
|
+
var $e = ha(Ue), Ze = $e[1], Vn = $e[3], rr = $e[0], $n = $e[2];
|
|
97625
|
+
Ze > ct && (ct = Ze), Vn < Et && (Et = Vn), Vn > Vt && (Vt = Vn), Ze < Rt && (Rt = Ze), rr < jt && (jt = rr), $n > Pe && (Pe = $n);
|
|
97626
97626
|
});
|
|
97627
97627
|
var Oe = W;
|
|
97628
97628
|
return ct + Oe.lat > 85 && (Oe.lat = 85 - ct), Vt + Oe.lat > 90 && (Oe.lat = 90 - Vt), Et + Oe.lat < -85 && (Oe.lat = -85 - Et), Rt + Oe.lat < Is && (Oe.lat = Is - Rt), jt + Oe.lng <= -270 && (Oe.lng += 360 * Math.ceil(Math.abs(Oe.lng) / 360)), Pe + Oe.lng >= 270 && (Oe.lng -= 360 * Math.ceil(Math.abs(Oe.lng) / 360)), Oe;
|
|
@@ -97945,8 +97945,8 @@ var wK = { exports: {} };
|
|
|
97945
97945
|
}
|
|
97946
97946
|
var Y2 = { exports: {} };
|
|
97947
97947
|
(function(V, W) {
|
|
97948
|
-
var ct = "__lodash_hash_undefined__", Et = 9007199254740991, Vt = "[object Arguments]", Rt = "[object Array]", jt = "[object Boolean]", Pe = "[object Date]", Oe = "[object Error]", Ue = "[object Function]", $e = "[object Map]", Ze = "[object Number]", Vn = "[object Object]", rr = "[object Promise]",
|
|
97949
|
-
_n["[object Float32Array]"] = _n["[object Float64Array]"] = _n["[object Int8Array]"] = _n["[object Int16Array]"] = _n["[object Int32Array]"] = _n["[object Uint8Array]"] = _n["[object Uint8ClampedArray]"] = _n["[object Uint16Array]"] = _n["[object Uint32Array]"] = !0, _n[Vt] = _n[Rt] = _n[Rr] = _n[jt] = _n[nr] = _n[Pe] = _n[Oe] = _n[Ue] = _n[$e] = _n[Ze] = _n[Vn] = _n[
|
|
97948
|
+
var ct = "__lodash_hash_undefined__", Et = 9007199254740991, Vt = "[object Arguments]", Rt = "[object Array]", jt = "[object Boolean]", Pe = "[object Date]", Oe = "[object Error]", Ue = "[object Function]", $e = "[object Map]", Ze = "[object Number]", Vn = "[object Object]", rr = "[object Promise]", $n = "[object RegExp]", Mr = "[object Set]", we = "[object String]", hn = "[object Symbol]", Er = "[object WeakMap]", Rr = "[object ArrayBuffer]", nr = "[object DataView]", J2 = /^\[object .+?Constructor\]$/, dr = /^(?:0|[1-9]\d*)$/, _n = {};
|
|
97949
|
+
_n["[object Float32Array]"] = _n["[object Float64Array]"] = _n["[object Int8Array]"] = _n["[object Int16Array]"] = _n["[object Int32Array]"] = _n["[object Uint8Array]"] = _n["[object Uint8ClampedArray]"] = _n["[object Uint16Array]"] = _n["[object Uint32Array]"] = !0, _n[Vt] = _n[Rt] = _n[Rr] = _n[jt] = _n[nr] = _n[Pe] = _n[Oe] = _n[Ue] = _n[$e] = _n[Ze] = _n[Vn] = _n[$n] = _n[Mr] = _n[we] = _n[Er] = !1;
|
|
97950
97950
|
var t2 = typeof R == "object" && R && R.Object === Object && R, Tr = typeof self == "object" && self && self.Object === Object && self, n1 = t2 || Tr || Function("return this")(), r1 = W && !W.nodeType && W, t3 = r1 && V && !V.nodeType && V, d4 = t3 && t3.exports === r1, e2 = d4 && t2.process, n2 = function() {
|
|
97951
97951
|
try {
|
|
97952
97952
|
return e2 && e2.binding && e2.binding("util");
|
|
@@ -98050,7 +98050,7 @@ var wK = { exports: {} };
|
|
|
98050
98050
|
return b4(+Pr, +An);
|
|
98051
98051
|
case Oe:
|
|
98052
98052
|
return Pr.name == An.name && Pr.message == An.message;
|
|
98053
|
-
case
|
|
98053
|
+
case $n:
|
|
98054
98054
|
case we:
|
|
98055
98055
|
return Pr == An + "";
|
|
98056
98056
|
case $e:
|
|
@@ -98320,7 +98320,7 @@ var wK = { exports: {} };
|
|
|
98320
98320
|
return ct;
|
|
98321
98321
|
}).sort());
|
|
98322
98322
|
}
|
|
98323
|
-
var V1 = { Polygon: tn, LineString: en, Point: cn, MultiPolygon: ze, MultiLineString: ze, MultiPoint: ze }, mr = Object.freeze({ __proto__: null, CommonSelectors: Q1, constrainFeatureMovement: h4, createMidPoint: It, createSupplementaryPoints: Ut, createVertex: bt, doubleClickZoom: te, euclideanDistance: Qn, featuresAt: ce, getFeatureAtAndSetCursors: ae, isClick:
|
|
98323
|
+
var V1 = { Polygon: tn, LineString: en, Point: cn, MultiPolygon: ze, MultiLineString: ze, MultiPoint: ze }, mr = Object.freeze({ __proto__: null, CommonSelectors: Q1, constrainFeatureMovement: h4, createMidPoint: It, createSupplementaryPoints: Ut, createVertex: bt, doubleClickZoom: te, euclideanDistance: Qn, featuresAt: ce, getFeatureAtAndSetCursors: ae, isClick: Un, isEventAtCoordinates: t0, isTap: cr, mapEventToBoundingBox: ht, ModeHandler: n, moveFeatures: J6, sortFeatures: ft, stringSetsAreEqual: pa, StringSet: At, theme: Jo, toDenseArray: Xe }), e1 = function(V, W) {
|
|
98324
98324
|
var ct = { options: V = function(Vt) {
|
|
98325
98325
|
Vt === void 0 && (Vt = {});
|
|
98326
98326
|
var Rt = Lr(Vt);
|
|
@@ -101470,7 +101470,7 @@ const iA = new fNt(), TNt = "cannot be found on the map.", QNt = (e) => {
|
|
|
101470
101470
|
},
|
|
101471
101471
|
/**
|
|
101472
101472
|
* Function to highlight paths and features
|
|
101473
|
-
* @param data
|
|
101473
|
+
* @param data
|
|
101474
101474
|
*/
|
|
101475
101475
|
zoomToFeatures: function(e) {
|
|
101476
101476
|
this.mapImp && this.mapImp.zoomToFeatures(e);
|
|
@@ -101924,39 +101924,7 @@ const iA = new fNt(), TNt = "cannot be found on the map.", QNt = (e) => {
|
|
|
101924
101924
|
getKnowledgeTooltip: async function(e) {
|
|
101925
101925
|
const t = await this.flatmapQueries.retrieveFlatmapKnowledgeForEvent(this.mapImp, e);
|
|
101926
101926
|
let n = await this.flatmapQueries.createTooltipData(this.mapImp, e);
|
|
101927
|
-
|
|
101928
|
-
n.featuresAlert = e.alert, n.knowledgeSource = kA(this.mapImp), n.mapId = this.mapImp.provenance.id, n.mapuuid = this.mapImp.provenance.uuid;
|
|
101929
|
-
else {
|
|
101930
|
-
n = {
|
|
101931
|
-
...n,
|
|
101932
|
-
origins: [e.label],
|
|
101933
|
-
originsWithDatasets: [{ id: e.resource[0], name: e.label }],
|
|
101934
|
-
components: [],
|
|
101935
|
-
componentsWithDatasets: [],
|
|
101936
|
-
destinations: [],
|
|
101937
|
-
destinationsWithDatasets: []
|
|
101938
|
-
};
|
|
101939
|
-
let r = [];
|
|
101940
|
-
const i = await this.mapImp.queryPathsForFeatures(e.resource);
|
|
101941
|
-
i.length && (i.forEach((o) => {
|
|
101942
|
-
r.push(...this.mapImp.pathModelNodes(o));
|
|
101943
|
-
const a = this.mapImp.search(o);
|
|
101944
|
-
let s;
|
|
101945
|
-
for (let u = 0; u < a.results.length; u++) {
|
|
101946
|
-
s = a.results[u].featureId;
|
|
101947
|
-
const h = this.mapImp.annotation(s);
|
|
101948
|
-
if (s && (h != null && h.label)) break;
|
|
101949
|
-
}
|
|
101950
|
-
if (s) {
|
|
101951
|
-
const u = this.mapImp.featureProperties(s);
|
|
101952
|
-
u.label && !n.components.includes(u.label) && (n.components.push(u.label), n.componentsWithDatasets.push({ id: u.models, name: u.label }));
|
|
101953
|
-
}
|
|
101954
|
-
}), r = [...new Set(r)].filter((o) => o !== e.feature.featureId), r.forEach((o) => {
|
|
101955
|
-
const a = this.mapImp.featureProperties(o);
|
|
101956
|
-
a.label && !n.destinations.includes(a.label) && (n.destinations.push(a.label), n.destinationsWithDatasets.push({ id: a.models, name: a.label }));
|
|
101957
|
-
}));
|
|
101958
|
-
}
|
|
101959
|
-
return n.ready = !0, n;
|
|
101927
|
+
return (t && t[0] || e.feature.hyperlinks && e.feature.hyperlinks.length > 0) && (n.featuresAlert = e.alert, n.knowledgeSource = kA(this.mapImp), n.mapId = this.mapImp.provenance.id, n.mapuuid = this.mapImp.provenance.uuid), n.ready = !0, n;
|
|
101960
101928
|
},
|
|
101961
101929
|
/**
|
|
101962
101930
|
* A hack to remove flatmap tooltips while popup is open
|
|
@@ -102555,6 +102523,14 @@ const iA = new fNt(), TNt = "cannot be found on the map.", QNt = (e) => {
|
|
|
102555
102523
|
annotationSidebar: {
|
|
102556
102524
|
type: Boolean,
|
|
102557
102525
|
default: !1
|
|
102526
|
+
},
|
|
102527
|
+
/**
|
|
102528
|
+
* The option to show local settings UI
|
|
102529
|
+
* (background colour, flight path, viewing mode, etc.)
|
|
102530
|
+
*/
|
|
102531
|
+
showLocalSettings: {
|
|
102532
|
+
type: Boolean,
|
|
102533
|
+
default: !0
|
|
102558
102534
|
}
|
|
102559
102535
|
},
|
|
102560
102536
|
provide() {
|
|
@@ -102787,13 +102763,13 @@ const iA = new fNt(), TNt = "cannot be found on the map.", QNt = (e) => {
|
|
|
102787
102763
|
}, SNt = ["onClick"], ANt = ["onClick"];
|
|
102788
102764
|
function HNt(e, t, n, r, i, o) {
|
|
102789
102765
|
const a = Va("map-svg-sprite-color"), s = fj, u = Y3, h = Sv, d = oA, Q = Va("DrawToolbar"), m = Va("map-svg-icon"), v = Jz, x = Va("tree-controls"), L = Yz, H = Tj, M = Hz, P = gf, I = yf, D = PA, z = Ev, G = Uz, Z = Gz, rt = Va("Tooltip"), ot = Kz, ft = rE;
|
|
102790
|
-
return _i((
|
|
102791
|
-
|
|
102766
|
+
return _i((be(), En("div", gNt, [
|
|
102767
|
+
sn(a),
|
|
102792
102768
|
yn("div", yNt, [
|
|
102793
102769
|
yn("div", vNt, null, 512),
|
|
102794
102770
|
_i(yn("div", _Nt, [
|
|
102795
102771
|
yn("div", null, [
|
|
102796
|
-
|
|
102772
|
+
sn(h, {
|
|
102797
102773
|
placement: "right",
|
|
102798
102774
|
"popper-class": "warning-popper flatmap-popper",
|
|
102799
102775
|
teleported: !1,
|
|
@@ -102806,27 +102782,27 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102806
102782
|
onMouseover: t[7] || (t[7] = (ht) => o.showTooltip(7)),
|
|
102807
102783
|
onMouseout: t[8] || (t[8] = (ht) => o.hideTooltip(7))
|
|
102808
102784
|
}, [
|
|
102809
|
-
n.displayWarning || n.isLegacy ? (
|
|
102785
|
+
n.displayWarning || n.isLegacy ? (be(), Fn(u, { key: 0 }, {
|
|
102810
102786
|
default: ke(() => [
|
|
102811
|
-
|
|
102787
|
+
sn(s)
|
|
102812
102788
|
]),
|
|
102813
102789
|
_: 1
|
|
102814
|
-
})) :
|
|
102815
|
-
n.isLegacy ? (
|
|
102790
|
+
})) : zn("", !0),
|
|
102791
|
+
n.isLegacy ? (be(), En(C1, { key: 1 }, [
|
|
102816
102792
|
t[33] || (t[33] = yn("span", { class: "warning-text" }, "Legacy Map", -1)),
|
|
102817
102793
|
yn("div", {
|
|
102818
102794
|
class: "latest-map-text",
|
|
102819
102795
|
onClick: t[6] || (t[6] = (...ht) => o.viewLatestMap && o.viewLatestMap(...ht))
|
|
102820
102796
|
}, " Click here for the latest map ")
|
|
102821
|
-
], 64)) : n.displayWarning ? (
|
|
102797
|
+
], 64)) : n.displayWarning ? (be(), En("span", bNt, "Beta")) : zn("", !0)
|
|
102822
102798
|
], 32)
|
|
102823
102799
|
]),
|
|
102824
102800
|
default: ke(() => [
|
|
102825
|
-
n.isLegacy ? (
|
|
102801
|
+
n.isLegacy ? (be(), En("p", {
|
|
102826
102802
|
key: 0,
|
|
102827
102803
|
onMouseover: t[0] || (t[0] = (ht) => o.showTooltip(7)),
|
|
102828
102804
|
onMouseout: t[1] || (t[1] = (ht) => o.hideTooltip(7))
|
|
102829
|
-
}, " This is a legacy map, you may view the latest map instead. ", 32)) : e.isFC ? (
|
|
102805
|
+
}, " This is a legacy map, you may view the latest map instead. ", 32)) : e.isFC ? (be(), En("p", {
|
|
102830
102806
|
key: 1,
|
|
102831
102807
|
onMouseover: t[2] || (t[2] = (ht) => o.showTooltip(7)),
|
|
102832
102808
|
onMouseout: t[3] || (t[3] = (ht) => o.hideTooltip(7))
|
|
@@ -102842,7 +102818,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102842
102818
|
target: "_blank"
|
|
102843
102819
|
}, " SCKAN ", -1),
|
|
102844
102820
|
kr(". ")
|
|
102845
|
-
]), 32)) : (
|
|
102821
|
+
]), 32)) : (be(), En("p", {
|
|
102846
102822
|
key: 2,
|
|
102847
102823
|
onMouseover: t[4] || (t[4] = (ht) => o.showTooltip(7)),
|
|
102848
102824
|
onMouseout: t[5] || (t[5] = (ht) => o.hideTooltip(7))
|
|
@@ -102863,7 +102839,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102863
102839
|
_: 1
|
|
102864
102840
|
}, 8, ["visible"])
|
|
102865
102841
|
]),
|
|
102866
|
-
n.displayLatestChanges ? (
|
|
102842
|
+
n.displayLatestChanges ? (be(), Fn(h, {
|
|
102867
102843
|
key: 0,
|
|
102868
102844
|
placement: "right",
|
|
102869
102845
|
teleported: !1,
|
|
@@ -102873,20 +102849,20 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102873
102849
|
ref: "whatsNewPopover"
|
|
102874
102850
|
}, {
|
|
102875
102851
|
reference: ke(() => [
|
|
102876
|
-
n.displayLatestChanges ? (
|
|
102852
|
+
n.displayLatestChanges ? (be(), En("div", {
|
|
102877
102853
|
key: 0,
|
|
102878
102854
|
class: "latest-changesicon",
|
|
102879
102855
|
onMouseover: t[9] || (t[9] = (ht) => o.showTooltip(8)),
|
|
102880
102856
|
onMouseout: t[10] || (t[10] = (ht) => o.hideTooltip(8))
|
|
102881
102857
|
}, [
|
|
102882
|
-
|
|
102858
|
+
sn(u, null, {
|
|
102883
102859
|
default: ke(() => [
|
|
102884
|
-
|
|
102860
|
+
sn(s)
|
|
102885
102861
|
]),
|
|
102886
102862
|
_: 1
|
|
102887
102863
|
}),
|
|
102888
102864
|
t[34] || (t[34] = yn("span", { class: "warning-text" }, "What's new?", -1))
|
|
102889
|
-
], 32)) :
|
|
102865
|
+
], 32)) : zn("", !0)
|
|
102890
102866
|
]),
|
|
102891
102867
|
default: ke(() => t[35] || (t[35] = [
|
|
102892
102868
|
yn("b", null, "Connectivity References", -1),
|
|
@@ -102895,23 +102871,23 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102895
102871
|
yn("p", null, " Current selection and visibility filters are now stored when creating a permalink. ", -1)
|
|
102896
102872
|
])),
|
|
102897
102873
|
_: 1
|
|
102898
|
-
}, 8, ["visible"])) :
|
|
102874
|
+
}, 8, ["visible"])) : zn("", !0)
|
|
102899
102875
|
], 512), [
|
|
102900
102876
|
[ws, !n.disableUI]
|
|
102901
102877
|
]),
|
|
102902
|
-
_i(
|
|
102878
|
+
_i(sn(u, {
|
|
102903
102879
|
class: nn(["minimap-resize", { enlarge: e.minimapSmall, shrink: !e.minimapSmall }]),
|
|
102904
102880
|
ref: "minimapResize",
|
|
102905
102881
|
onClick: o.closeMinimap
|
|
102906
102882
|
}, {
|
|
102907
102883
|
default: ke(() => [
|
|
102908
|
-
|
|
102884
|
+
sn(d)
|
|
102909
102885
|
]),
|
|
102910
102886
|
_: 1
|
|
102911
102887
|
}, 8, ["class", "onClick"]), [
|
|
102912
102888
|
[ws, e.minimapResizeShow]
|
|
102913
102889
|
]),
|
|
102914
|
-
e.viewingMode === "Annotation" && (e.authorisedUser || e.offlineAnnotationEnabled) && !n.disableUI ? (
|
|
102890
|
+
e.viewingMode === "Annotation" && (e.authorisedUser || e.offlineAnnotationEnabled) && !n.disableUI ? (be(), Fn(Q, {
|
|
102915
102891
|
key: 0,
|
|
102916
102892
|
mapCanvas: {
|
|
102917
102893
|
containerHTML: this.$el,
|
|
@@ -102930,9 +102906,9 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102930
102906
|
onShowTooltip: o.showTooltip,
|
|
102931
102907
|
onHideTooltip: o.hideTooltip,
|
|
102932
102908
|
ref: "toolbarPopover"
|
|
102933
|
-
}, null, 8, ["mapCanvas", "toolbarOptions", "activeDrawTool", "activeDrawMode", "newlyDrawnEntry", "connectionEntry", "hoverVisibilities", "onClickToolbar", "onFeatureTooltip", "onConfirmDrawn", "onCancelDrawn", "onShowTooltip", "onHideTooltip"])) :
|
|
102909
|
+
}, null, 8, ["mapCanvas", "toolbarOptions", "activeDrawTool", "activeDrawMode", "newlyDrawnEntry", "connectionEntry", "hoverVisibilities", "onClickToolbar", "onFeatureTooltip", "onConfirmDrawn", "onCancelDrawn", "onShowTooltip", "onHideTooltip"])) : zn("", !0),
|
|
102934
102910
|
_i(yn("div", xNt, [
|
|
102935
|
-
|
|
102911
|
+
sn(h, {
|
|
102936
102912
|
content: "Zoom in",
|
|
102937
102913
|
placement: "left",
|
|
102938
102914
|
teleported: !1,
|
|
@@ -102949,7 +102925,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102949
102925
|
onMouseover: t[12] || (t[12] = (ht) => o.showTooltip(1)),
|
|
102950
102926
|
onMouseout: t[13] || (t[13] = (ht) => o.hideTooltip(1))
|
|
102951
102927
|
}, [
|
|
102952
|
-
|
|
102928
|
+
sn(m, {
|
|
102953
102929
|
class: "icon-button zoomIn",
|
|
102954
102930
|
icon: "zoomIn"
|
|
102955
102931
|
})
|
|
@@ -102957,7 +102933,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102957
102933
|
]),
|
|
102958
102934
|
_: 1
|
|
102959
102935
|
}, 8, ["visible"]),
|
|
102960
|
-
|
|
102936
|
+
sn(h, {
|
|
102961
102937
|
content: "Zoom out",
|
|
102962
102938
|
placement: "top-end",
|
|
102963
102939
|
teleported: !1,
|
|
@@ -102974,7 +102950,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102974
102950
|
onMouseover: t[15] || (t[15] = (ht) => o.showTooltip(2)),
|
|
102975
102951
|
onMouseout: t[16] || (t[16] = (ht) => o.hideTooltip(2))
|
|
102976
102952
|
}, [
|
|
102977
|
-
|
|
102953
|
+
sn(m, {
|
|
102978
102954
|
class: "icon-button zoomOut",
|
|
102979
102955
|
icon: "zoomOut"
|
|
102980
102956
|
})
|
|
@@ -102982,7 +102958,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102982
102958
|
]),
|
|
102983
102959
|
_: 1
|
|
102984
102960
|
}, 8, ["visible"]),
|
|
102985
|
-
|
|
102961
|
+
sn(h, {
|
|
102986
102962
|
content: "Reset",
|
|
102987
102963
|
placement: "top",
|
|
102988
102964
|
teleported: !1,
|
|
@@ -102999,7 +102975,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
102999
102975
|
onMouseover: t[18] || (t[18] = (ht) => o.showTooltip(3)),
|
|
103000
102976
|
onMouseout: t[19] || (t[19] = (ht) => o.hideTooltip(3))
|
|
103001
102977
|
}, [
|
|
103002
|
-
|
|
102978
|
+
sn(m, {
|
|
103003
102979
|
class: "icon-button fitWindow",
|
|
103004
102980
|
icon: "fitWindow"
|
|
103005
102981
|
})
|
|
@@ -103017,7 +102993,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103017
102993
|
], 512), [
|
|
103018
102994
|
[ws, !n.disableUI]
|
|
103019
102995
|
]),
|
|
103020
|
-
|
|
102996
|
+
sn(h, {
|
|
103021
102997
|
content: "Change pathway visibility",
|
|
103022
102998
|
placement: "right",
|
|
103023
102999
|
teleported: !1,
|
|
@@ -103031,15 +103007,15 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103031
103007
|
_i(yn("div", {
|
|
103032
103008
|
class: nn(["pathway-location", { open: e.drawerOpen, close: !e.drawerOpen }])
|
|
103033
103009
|
}, [
|
|
103034
|
-
_i((
|
|
103010
|
+
_i((be(), En("div", {
|
|
103035
103011
|
class: nn(["pathway-container", { open: e.drawerOpen, close: !e.drawerOpen }]),
|
|
103036
103012
|
style: No({ "max-height": e.pathwaysMaxHeight + "px" })
|
|
103037
103013
|
}, [
|
|
103038
|
-
e.isFC ?
|
|
103014
|
+
e.isFC ? zn("", !0) : (be(), Fn(v, {
|
|
103039
103015
|
key: 0,
|
|
103040
103016
|
class: "svg-legends-container"
|
|
103041
103017
|
})),
|
|
103042
|
-
n.showStarInLegend ? (
|
|
103018
|
+
n.showStarInLegend ? (be(), Fn(h, {
|
|
103043
103019
|
key: 1,
|
|
103044
103020
|
content: "Location of the featured dataset",
|
|
103045
103021
|
placement: "right",
|
|
@@ -103062,8 +103038,8 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103062
103038
|
])
|
|
103063
103039
|
]),
|
|
103064
103040
|
_: 1
|
|
103065
|
-
}, 8, ["visible"])) :
|
|
103066
|
-
|
|
103041
|
+
}, 8, ["visible"])) : zn("", !0),
|
|
103042
|
+
sn(h, {
|
|
103067
103043
|
content: "Find these markers for data. The number inside the markers is the number of datasets available for each marker.",
|
|
103068
103044
|
placement: "right",
|
|
103069
103045
|
teleported: !1,
|
|
@@ -103084,7 +103060,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103084
103060
|
]),
|
|
103085
103061
|
_: 1
|
|
103086
103062
|
}, 8, ["visible"]),
|
|
103087
|
-
e.isFC && e.systems && e.systems.length > 0 ? (
|
|
103063
|
+
e.isFC && e.systems && e.systems.length > 0 ? (be(), Fn(x, {
|
|
103088
103064
|
key: 2,
|
|
103089
103065
|
class: "treeControls",
|
|
103090
103066
|
mapType: "flatmap",
|
|
@@ -103096,8 +103072,8 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103096
103072
|
onCheckAll: o.checkAllSystems,
|
|
103097
103073
|
onChangeActive: o.ftuSelected,
|
|
103098
103074
|
ref: "treeControls"
|
|
103099
|
-
}, null, 8, ["treeData", "active", "hover", "onCheckChanged", "onCheckAll", "onChangeActive"])) :
|
|
103100
|
-
e.containsAlert && e.alertOptions ? (
|
|
103075
|
+
}, null, 8, ["treeData", "active", "hover", "onCheckChanged", "onCheckAll", "onChangeActive"])) : zn("", !0),
|
|
103076
|
+
e.containsAlert && e.alertOptions ? (be(), Fn(L, {
|
|
103101
103077
|
title: "Alert",
|
|
103102
103078
|
labelKey: "label",
|
|
103103
103079
|
identifierKey: "key",
|
|
@@ -103108,8 +103084,8 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103108
103084
|
onCheckAll: o.checkAllAlerts,
|
|
103109
103085
|
ref: "alertSelection",
|
|
103110
103086
|
key: "alertSelection"
|
|
103111
|
-
}, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) :
|
|
103112
|
-
e.pathways && e.pathways.length > 0 ? (
|
|
103087
|
+
}, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) : zn("", !0),
|
|
103088
|
+
e.pathways && e.pathways.length > 0 ? (be(), Fn(L, {
|
|
103113
103089
|
title: "Pathways",
|
|
103114
103090
|
labelKey: "label",
|
|
103115
103091
|
identifierKey: "type",
|
|
@@ -103120,8 +103096,8 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103120
103096
|
onCheckAll: o.checkAllPathways,
|
|
103121
103097
|
ref: "pathwaysSelection",
|
|
103122
103098
|
key: "pathwaysSelection"
|
|
103123
|
-
}, null, 8, ["selections", "onChanged", "onSelectionsDataChanged", "onCheckAll"])) :
|
|
103124
|
-
e.taxonConnectivity && e.taxonConnectivity.length > 0 ? (
|
|
103099
|
+
}, null, 8, ["selections", "onChanged", "onSelectionsDataChanged", "onCheckAll"])) : zn("", !0),
|
|
103100
|
+
e.taxonConnectivity && e.taxonConnectivity.length > 0 ? (be(), Fn(L, {
|
|
103125
103101
|
title: "Studied in",
|
|
103126
103102
|
labelKey: "label",
|
|
103127
103103
|
identifierKey: "taxon",
|
|
@@ -103133,7 +103109,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103133
103109
|
onCheckAll: o.checkAllTaxons,
|
|
103134
103110
|
ref: "taxonSelection",
|
|
103135
103111
|
key: "taxonSelection"
|
|
103136
|
-
}, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) :
|
|
103112
|
+
}, null, 8, ["selections", "onChanged", "onCheckboxMouseEnter", "onSelectionsDataChanged", "onCheckAll"])) : zn("", !0)
|
|
103137
103113
|
], 6)), [
|
|
103138
103114
|
[ot, void 0, "checkBoxPopover"]
|
|
103139
103115
|
]),
|
|
@@ -103141,9 +103117,9 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103141
103117
|
onClick: t[22] || (t[22] = (...ht) => o.toggleDrawer && o.toggleDrawer(...ht)),
|
|
103142
103118
|
class: nn(["drawer-button", { open: e.drawerOpen, close: !e.drawerOpen }])
|
|
103143
103119
|
}, [
|
|
103144
|
-
|
|
103120
|
+
sn(u, null, {
|
|
103145
103121
|
default: ke(() => [
|
|
103146
|
-
|
|
103122
|
+
sn(H)
|
|
103147
103123
|
]),
|
|
103148
103124
|
_: 1
|
|
103149
103125
|
})
|
|
@@ -103154,7 +103130,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103154
103130
|
]),
|
|
103155
103131
|
_: 1
|
|
103156
103132
|
}, 8, ["visible"]),
|
|
103157
|
-
e.openMapRef ? (
|
|
103133
|
+
e.openMapRef ? (be(), Fn(h, {
|
|
103158
103134
|
key: 1,
|
|
103159
103135
|
ref: "open-map-popover",
|
|
103160
103136
|
"virtual-ref": e.openMapRef,
|
|
@@ -103166,11 +103142,11 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103166
103142
|
"virtual-triggering": ""
|
|
103167
103143
|
}, {
|
|
103168
103144
|
default: ke(() => [
|
|
103169
|
-
(
|
|
103145
|
+
(be(!0), En(C1, null, S6(n.openMapOptions, (ht) => (be(), Fn(P, {
|
|
103170
103146
|
key: ht.key
|
|
103171
103147
|
}, {
|
|
103172
103148
|
default: ke(() => [
|
|
103173
|
-
|
|
103149
|
+
sn(M, {
|
|
103174
103150
|
type: "primary",
|
|
103175
103151
|
plain: "",
|
|
103176
103152
|
onClick: (At) => e.$emit("open-map", ht.key)
|
|
@@ -103185,8 +103161,8 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103185
103161
|
}, 1024))), 128))
|
|
103186
103162
|
]),
|
|
103187
103163
|
_: 1
|
|
103188
|
-
}, 8, ["virtual-ref"])) :
|
|
103189
|
-
|
|
103164
|
+
}, 8, ["virtual-ref"])) : zn("", !0),
|
|
103165
|
+
sn(h, {
|
|
103190
103166
|
ref: "backgroundPopover",
|
|
103191
103167
|
"virtual-ref": e.backgroundIconRef,
|
|
103192
103168
|
placement: "top-start",
|
|
@@ -103198,32 +103174,32 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103198
103174
|
}, {
|
|
103199
103175
|
default: ke(() => [
|
|
103200
103176
|
yn("div", null, [
|
|
103201
|
-
|
|
103177
|
+
sn(P, { class: "backgroundText" }, {
|
|
103202
103178
|
default: ke(() => t[37] || (t[37] = [
|
|
103203
103179
|
kr("Viewing Mode")
|
|
103204
103180
|
])),
|
|
103205
103181
|
_: 1
|
|
103206
103182
|
}),
|
|
103207
|
-
|
|
103183
|
+
sn(P, { class: "backgroundControl" }, {
|
|
103208
103184
|
default: ke(() => [
|
|
103209
103185
|
yn("div", MNt, [
|
|
103210
|
-
(
|
|
103211
|
-
At === e.viewingMode ? (
|
|
103186
|
+
(be(!0), En(C1, null, S6(e.viewingModes, (ht, At, $t) => (be(), En(C1, { key: At }, [
|
|
103187
|
+
At === e.viewingMode ? (be(), En("span", ENt, [
|
|
103212
103188
|
yn("b", null, bi(At), 1)
|
|
103213
|
-
])) : (
|
|
103189
|
+
])) : (be(), En("span", {
|
|
103214
103190
|
key: 1,
|
|
103215
103191
|
class: "viewing-mode-unselected",
|
|
103216
103192
|
onClick: (ce) => o.changeViewingMode(At)
|
|
103217
103193
|
}, bi(At), 9, SNt))
|
|
103218
103194
|
], 64))), 128))
|
|
103219
103195
|
]),
|
|
103220
|
-
|
|
103196
|
+
sn(P, { class: "viewing-mode-description" }, {
|
|
103221
103197
|
default: ke(() => [
|
|
103222
103198
|
kr(bi(o.modeDescription), 1)
|
|
103223
103199
|
]),
|
|
103224
103200
|
_: 1
|
|
103225
103201
|
}),
|
|
103226
|
-
e.viewingMode === "Annotation" && e.offlineAnnotationEnabled ? (
|
|
103202
|
+
e.viewingMode === "Annotation" && e.offlineAnnotationEnabled ? (be(), Fn(P, {
|
|
103227
103203
|
key: 0,
|
|
103228
103204
|
class: "viewing-mode-description"
|
|
103229
103205
|
}, {
|
|
@@ -103231,20 +103207,20 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103231
103207
|
kr(" (Anonymous annotate) ")
|
|
103232
103208
|
])),
|
|
103233
103209
|
_: 1
|
|
103234
|
-
})) :
|
|
103210
|
+
})) : zn("", !0)
|
|
103235
103211
|
]),
|
|
103236
103212
|
_: 1
|
|
103237
103213
|
}),
|
|
103238
|
-
e.viewingMode === "Annotation" && e.authorisedUser ? (
|
|
103239
|
-
|
|
103214
|
+
e.viewingMode === "Annotation" && e.authorisedUser ? (be(), En(C1, { key: 0 }, [
|
|
103215
|
+
sn(P, { class: "backgroundText" }, {
|
|
103240
103216
|
default: ke(() => t[39] || (t[39] = [
|
|
103241
103217
|
kr("Annotations From")
|
|
103242
103218
|
])),
|
|
103243
103219
|
_: 1
|
|
103244
103220
|
}),
|
|
103245
|
-
|
|
103221
|
+
sn(P, { class: "backgroundControl" }, {
|
|
103246
103222
|
default: ke(() => [
|
|
103247
|
-
|
|
103223
|
+
sn(z, {
|
|
103248
103224
|
teleported: !1,
|
|
103249
103225
|
modelValue: e.annotationFrom,
|
|
103250
103226
|
"onUpdate:modelValue": t[23] || (t[23] = (ht) => e.annotationFrom = ht),
|
|
@@ -103254,15 +103230,15 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103254
103230
|
onChange: o.setAnnotationFrom
|
|
103255
103231
|
}, {
|
|
103256
103232
|
default: ke(() => [
|
|
103257
|
-
(
|
|
103233
|
+
(be(!0), En(C1, null, S6(e.annotatedSource, (ht) => (be(), Fn(D, {
|
|
103258
103234
|
key: ht,
|
|
103259
103235
|
label: ht,
|
|
103260
103236
|
value: ht
|
|
103261
103237
|
}, {
|
|
103262
103238
|
default: ke(() => [
|
|
103263
|
-
|
|
103239
|
+
sn(P, null, {
|
|
103264
103240
|
default: ke(() => [
|
|
103265
|
-
|
|
103241
|
+
sn(I, { span: 12 }, {
|
|
103266
103242
|
default: ke(() => [
|
|
103267
103243
|
kr(bi(ht), 1)
|
|
103268
103244
|
]),
|
|
@@ -103280,12 +103256,12 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103280
103256
|
]),
|
|
103281
103257
|
_: 1
|
|
103282
103258
|
})
|
|
103283
|
-
], 64)) :
|
|
103284
|
-
e.displayFlightPathOption ? (
|
|
103259
|
+
], 64)) : zn("", !0),
|
|
103260
|
+
e.displayFlightPathOption ? (be(), Fn(P, {
|
|
103285
103261
|
key: 1,
|
|
103286
103262
|
class: "backgroundSpacer"
|
|
103287
|
-
})) :
|
|
103288
|
-
e.displayFlightPathOption ? (
|
|
103263
|
+
})) : zn("", !0),
|
|
103264
|
+
e.displayFlightPathOption ? (be(), Fn(P, {
|
|
103289
103265
|
key: 2,
|
|
103290
103266
|
class: "backgroundText"
|
|
103291
103267
|
}, {
|
|
@@ -103293,26 +103269,26 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103293
103269
|
kr("Flight path display")
|
|
103294
103270
|
])),
|
|
103295
103271
|
_: 1
|
|
103296
|
-
})) :
|
|
103297
|
-
e.displayFlightPathOption ? (
|
|
103272
|
+
})) : zn("", !0),
|
|
103273
|
+
e.displayFlightPathOption ? (be(), Fn(P, {
|
|
103298
103274
|
key: 3,
|
|
103299
103275
|
class: "backgroundControl"
|
|
103300
103276
|
}, {
|
|
103301
103277
|
default: ke(() => [
|
|
103302
|
-
|
|
103278
|
+
sn(Z, {
|
|
103303
103279
|
modelValue: e.flightPath3DRadio,
|
|
103304
103280
|
"onUpdate:modelValue": t[24] || (t[24] = (ht) => e.flightPath3DRadio = ht),
|
|
103305
103281
|
class: "flatmap-radio",
|
|
103306
103282
|
onChange: o.setFlightPath3D
|
|
103307
103283
|
}, {
|
|
103308
103284
|
default: ke(() => [
|
|
103309
|
-
|
|
103285
|
+
sn(G, { value: !1 }, {
|
|
103310
103286
|
default: ke(() => t[41] || (t[41] = [
|
|
103311
103287
|
kr("2D")
|
|
103312
103288
|
])),
|
|
103313
103289
|
_: 1
|
|
103314
103290
|
}),
|
|
103315
|
-
|
|
103291
|
+
sn(G, { value: !0 }, {
|
|
103316
103292
|
default: ke(() => t[42] || (t[42] = [
|
|
103317
103293
|
kr("3D")
|
|
103318
103294
|
])),
|
|
@@ -103323,30 +103299,30 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103323
103299
|
}, 8, ["modelValue", "onChange"])
|
|
103324
103300
|
]),
|
|
103325
103301
|
_: 1
|
|
103326
|
-
})) :
|
|
103327
|
-
|
|
103328
|
-
|
|
103302
|
+
})) : zn("", !0),
|
|
103303
|
+
sn(P, { class: "backgroundSpacer" }),
|
|
103304
|
+
sn(P, { class: "backgroundText" }, {
|
|
103329
103305
|
default: ke(() => t[43] || (t[43] = [
|
|
103330
103306
|
kr("Organs display")
|
|
103331
103307
|
])),
|
|
103332
103308
|
_: 1
|
|
103333
103309
|
}),
|
|
103334
|
-
|
|
103310
|
+
sn(P, { class: "backgroundControl" }, {
|
|
103335
103311
|
default: ke(() => [
|
|
103336
|
-
|
|
103312
|
+
sn(Z, {
|
|
103337
103313
|
modelValue: e.colourRadio,
|
|
103338
103314
|
"onUpdate:modelValue": t[25] || (t[25] = (ht) => e.colourRadio = ht),
|
|
103339
103315
|
class: "flatmap-radio",
|
|
103340
103316
|
onChange: o.setColour
|
|
103341
103317
|
}, {
|
|
103342
103318
|
default: ke(() => [
|
|
103343
|
-
|
|
103319
|
+
sn(G, { value: !0 }, {
|
|
103344
103320
|
default: ke(() => t[44] || (t[44] = [
|
|
103345
103321
|
kr("Colour")
|
|
103346
103322
|
])),
|
|
103347
103323
|
_: 1
|
|
103348
103324
|
}),
|
|
103349
|
-
|
|
103325
|
+
sn(G, { value: !1 }, {
|
|
103350
103326
|
default: ke(() => t[45] || (t[45] = [
|
|
103351
103327
|
kr("Greyscale")
|
|
103352
103328
|
])),
|
|
@@ -103358,29 +103334,29 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103358
103334
|
]),
|
|
103359
103335
|
_: 1
|
|
103360
103336
|
}),
|
|
103361
|
-
|
|
103362
|
-
|
|
103337
|
+
sn(P, { class: "backgroundSpacer" }),
|
|
103338
|
+
sn(P, { class: "backgroundText" }, {
|
|
103363
103339
|
default: ke(() => t[46] || (t[46] = [
|
|
103364
103340
|
kr("Outlines display")
|
|
103365
103341
|
])),
|
|
103366
103342
|
_: 1
|
|
103367
103343
|
}),
|
|
103368
|
-
|
|
103344
|
+
sn(P, { class: "backgroundControl" }, {
|
|
103369
103345
|
default: ke(() => [
|
|
103370
|
-
|
|
103346
|
+
sn(Z, {
|
|
103371
103347
|
modelValue: e.outlinesRadio,
|
|
103372
103348
|
"onUpdate:modelValue": t[26] || (t[26] = (ht) => e.outlinesRadio = ht),
|
|
103373
103349
|
class: "flatmap-radio",
|
|
103374
103350
|
onChange: o.setOutlines
|
|
103375
103351
|
}, {
|
|
103376
103352
|
default: ke(() => [
|
|
103377
|
-
|
|
103353
|
+
sn(G, { value: !0 }, {
|
|
103378
103354
|
default: ke(() => t[47] || (t[47] = [
|
|
103379
103355
|
kr("Show")
|
|
103380
103356
|
])),
|
|
103381
103357
|
_: 1
|
|
103382
103358
|
}),
|
|
103383
|
-
|
|
103359
|
+
sn(G, { value: !1 }, {
|
|
103384
103360
|
default: ke(() => t[48] || (t[48] = [
|
|
103385
103361
|
kr("Hide")
|
|
103386
103362
|
])),
|
|
@@ -103392,16 +103368,16 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103392
103368
|
]),
|
|
103393
103369
|
_: 1
|
|
103394
103370
|
}),
|
|
103395
|
-
|
|
103396
|
-
|
|
103371
|
+
sn(P, { class: "backgroundSpacer" }),
|
|
103372
|
+
sn(P, { class: "backgroundText" }, {
|
|
103397
103373
|
default: ke(() => t[49] || (t[49] = [
|
|
103398
103374
|
kr("Change background")
|
|
103399
103375
|
])),
|
|
103400
103376
|
_: 1
|
|
103401
103377
|
}),
|
|
103402
|
-
|
|
103378
|
+
sn(P, { class: "backgroundControl" }, {
|
|
103403
103379
|
default: ke(() => [
|
|
103404
|
-
(
|
|
103380
|
+
(be(!0), En(C1, null, S6(e.availableBackground, (ht) => (be(), En("div", {
|
|
103405
103381
|
key: ht,
|
|
103406
103382
|
class: nn([
|
|
103407
103383
|
"backgroundChoice",
|
|
@@ -103420,9 +103396,9 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103420
103396
|
_i(yn("div", {
|
|
103421
103397
|
class: nn(["settings-group", { open: e.drawerOpen, close: !e.drawerOpen }])
|
|
103422
103398
|
}, [
|
|
103423
|
-
|
|
103399
|
+
sn(P, null, {
|
|
103424
103400
|
default: ke(() => [
|
|
103425
|
-
|
|
103401
|
+
sn(h, {
|
|
103426
103402
|
visible: e.hoverVisibilities[4].value,
|
|
103427
103403
|
content: "Open new map",
|
|
103428
103404
|
placement: "right",
|
|
@@ -103431,27 +103407,27 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103431
103407
|
ref: "openMapPopover"
|
|
103432
103408
|
}, {
|
|
103433
103409
|
reference: ke(() => [
|
|
103434
|
-
n.enableOpenMapUI && n.openMapOptions.length > 0 ? (
|
|
103410
|
+
n.enableOpenMapUI && n.openMapOptions.length > 0 ? (be(), En("div", {
|
|
103435
103411
|
key: 0,
|
|
103436
103412
|
ref: "openMapRef",
|
|
103437
103413
|
class: "icon-button-container",
|
|
103438
103414
|
onMouseover: t[27] || (t[27] = (ht) => o.showTooltip(4)),
|
|
103439
103415
|
onMouseout: t[28] || (t[28] = (ht) => o.hideTooltip(4))
|
|
103440
103416
|
}, [
|
|
103441
|
-
|
|
103417
|
+
sn(m, {
|
|
103442
103418
|
icon: "openMap",
|
|
103443
103419
|
class: "icon-button open-map-button"
|
|
103444
103420
|
})
|
|
103445
|
-
], 544)) :
|
|
103421
|
+
], 544)) : zn("", !0)
|
|
103446
103422
|
]),
|
|
103447
103423
|
_: 1
|
|
103448
103424
|
}, 8, ["visible"])
|
|
103449
103425
|
]),
|
|
103450
103426
|
_: 1
|
|
103451
103427
|
}),
|
|
103452
|
-
|
|
103428
|
+
n.showLocalSettings ? (be(), Fn(P, { key: 0 }, {
|
|
103453
103429
|
default: ke(() => [
|
|
103454
|
-
|
|
103430
|
+
sn(h, {
|
|
103455
103431
|
content: "Change settings",
|
|
103456
103432
|
placement: "right",
|
|
103457
103433
|
visible: e.hoverVisibilities[5].value,
|
|
@@ -103467,7 +103443,7 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103467
103443
|
onMouseover: t[29] || (t[29] = (ht) => o.showTooltip(5)),
|
|
103468
103444
|
onMouseout: t[30] || (t[30] = (ht) => o.hideTooltip(5))
|
|
103469
103445
|
}, [
|
|
103470
|
-
|
|
103446
|
+
sn(m, {
|
|
103471
103447
|
icon: "changeBckgd",
|
|
103472
103448
|
class: "icon-button"
|
|
103473
103449
|
})
|
|
@@ -103477,11 +103453,11 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103477
103453
|
}, 8, ["visible"])
|
|
103478
103454
|
]),
|
|
103479
103455
|
_: 1
|
|
103480
|
-
})
|
|
103456
|
+
})) : zn("", !0)
|
|
103481
103457
|
], 2), [
|
|
103482
103458
|
[ws, !n.disableUI]
|
|
103483
103459
|
]),
|
|
103484
|
-
e.tooltipDisplay ? (
|
|
103460
|
+
e.tooltipDisplay ? (be(), Fn(rt, {
|
|
103485
103461
|
key: 2,
|
|
103486
103462
|
ref: "tooltip",
|
|
103487
103463
|
class: "tooltip",
|
|
@@ -103490,13 +103466,13 @@ function HNt(e, t, n, r, i, o) {
|
|
|
103490
103466
|
annotationDisplay: e.viewingMode === "Annotation",
|
|
103491
103467
|
onAnnotation: o.commitAnnotationEvent,
|
|
103492
103468
|
onOnActionClick: o.onActionClick
|
|
103493
|
-
}, null, 8, ["annotationEntry", "tooltipEntry", "annotationDisplay", "onAnnotation", "onOnActionClick"])) :
|
|
103469
|
+
}, null, 8, ["annotationEntry", "tooltipEntry", "annotationDisplay", "onAnnotation", "onOnActionClick"])) : zn("", !0)
|
|
103494
103470
|
])
|
|
103495
103471
|
])), [
|
|
103496
103472
|
[ft, e.loading]
|
|
103497
103473
|
]);
|
|
103498
103474
|
}
|
|
103499
|
-
const NK = /* @__PURE__ */ Av(mNt, [["render", HNt], ["__scopeId", "data-v-
|
|
103475
|
+
const NK = /* @__PURE__ */ Av(mNt, [["render", HNt], ["__scopeId", "data-v-c5b1a208"]]), uj = {
|
|
103500
103476
|
"NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
|
|
103501
103477
|
"NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
|
|
103502
103478
|
"NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
|
|
@@ -104014,6 +103990,14 @@ const NK = /* @__PURE__ */ Av(mNt, [["render", HNt], ["__scopeId", "data-v-bc3dc
|
|
|
104014
103990
|
annotationSidebar: {
|
|
104015
103991
|
type: Boolean,
|
|
104016
103992
|
default: !1
|
|
103993
|
+
},
|
|
103994
|
+
/**
|
|
103995
|
+
* The option to show local settings UI
|
|
103996
|
+
* (background colour, flight path, viewing mode, etc.)
|
|
103997
|
+
*/
|
|
103998
|
+
showLocalSettings: {
|
|
103999
|
+
type: Boolean,
|
|
104000
|
+
default: !0
|
|
104017
104001
|
}
|
|
104018
104002
|
},
|
|
104019
104003
|
data: function() {
|
|
@@ -104044,10 +104028,10 @@ const NK = /* @__PURE__ */ Av(mNt, [["render", HNt], ["__scopeId", "data-v-bc3dc
|
|
|
104044
104028
|
}, kNt = { class: "select-box-icon" };
|
|
104045
104029
|
function INt(e, t, n, r, i, o) {
|
|
104046
104030
|
const a = PA, s = Ev, u = Sv, h = NK;
|
|
104047
|
-
return
|
|
104048
|
-
n.disableUI ?
|
|
104031
|
+
return be(), En("div", ONt, [
|
|
104032
|
+
n.disableUI ? zn("", !0) : (be(), En("div", PNt, [
|
|
104049
104033
|
t[2] || (t[2] = yn("div", { class: "species-display-text" }, "Species", -1)),
|
|
104050
|
-
|
|
104034
|
+
sn(u, {
|
|
104051
104035
|
content: "Select a species",
|
|
104052
104036
|
placement: "right",
|
|
104053
104037
|
trigger: "manual",
|
|
@@ -104058,7 +104042,7 @@ function INt(e, t, n, r, i, o) {
|
|
|
104058
104042
|
ref: "selectPopover"
|
|
104059
104043
|
}, {
|
|
104060
104044
|
reference: ke(() => [
|
|
104061
|
-
|
|
104045
|
+
sn(s, {
|
|
104062
104046
|
id: "flatmap-select",
|
|
104063
104047
|
teleported: !1,
|
|
104064
104048
|
modelValue: e.activeSpecies,
|
|
@@ -104069,7 +104053,7 @@ function INt(e, t, n, r, i, o) {
|
|
|
104069
104053
|
onChange: o.setSpecies
|
|
104070
104054
|
}, {
|
|
104071
104055
|
default: ke(() => [
|
|
104072
|
-
(
|
|
104056
|
+
(be(!0), En(C1, null, S6(e.speciesList, (d, Q) => (be(), Fn(a, {
|
|
104073
104057
|
key: Q,
|
|
104074
104058
|
label: Q,
|
|
104075
104059
|
value: Q
|
|
@@ -104091,7 +104075,7 @@ function INt(e, t, n, r, i, o) {
|
|
|
104091
104075
|
_: 1
|
|
104092
104076
|
}, 8, ["visible"])
|
|
104093
104077
|
])),
|
|
104094
|
-
(
|
|
104078
|
+
(be(!0), En(C1, null, S6(e.speciesList, (d, Q) => _i((be(), Fn(h, {
|
|
104095
104079
|
key: Q,
|
|
104096
104080
|
entry: d.taxo,
|
|
104097
104081
|
uuid: d.uuid,
|
|
@@ -104131,13 +104115,14 @@ function INt(e, t, n, r, i, o) {
|
|
|
104131
104115
|
style: { height: "100%" },
|
|
104132
104116
|
mapManager: e.mapManagerRef,
|
|
104133
104117
|
flatmapAPI: n.flatmapAPI,
|
|
104134
|
-
sparcAPI: n.sparcAPI
|
|
104135
|
-
|
|
104118
|
+
sparcAPI: n.sparcAPI,
|
|
104119
|
+
showLocalSettings: n.showLocalSettings
|
|
104120
|
+
}, null, 8, ["entry", "uuid", "biologicalSex", "displayWarning", "displayLatestChanges", "isLegacy", "enableOpenMapUI", "openMapOptions", "disableUI", "onViewLatestMap", "onResourceSelected", "onReady", "onPanZoomCallback", "annotationSidebar", "onAnnotationOpen", "onAnnotationClose", "connectivityInfoSidebar", "onConnectivityInfoOpen", "onConnectivityInfoClose", "onConnectivityError", "onPathwaySelectionChanged", "minZoom", "helpMode", "helpModeActiveItem", "helpModeDialog", "onHelpModeLastItem", "onShownTooltip", "onShownMapTooltip", "renderAtMounted", "displayMinimap", "showStarInLegend", "mapManager", "flatmapAPI", "sparcAPI", "showLocalSettings"])), [
|
|
104136
104121
|
[ws, e.activeSpecies == Q]
|
|
104137
104122
|
])), 128))
|
|
104138
104123
|
], 512);
|
|
104139
104124
|
}
|
|
104140
|
-
const jNt = /* @__PURE__ */ Av(CNt, [["render", INt], ["__scopeId", "data-v-
|
|
104125
|
+
const jNt = /* @__PURE__ */ Av(CNt, [["render", INt], ["__scopeId", "data-v-23abd990"]]);
|
|
104141
104126
|
export {
|
|
104142
104127
|
NK as FlatmapVuer,
|
|
104143
104128
|
jNt as MultiFlatmapVuer
|