@mappedin/viewer 0.41.0 → 0.41.1-f2a9671.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +342 -322
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2763,7 +2763,7 @@ function tc(t, e) {
|
|
|
2763
2763
|
function jh(t, e, i) {
|
|
2764
2764
|
var r = t.updateQueue;
|
|
2765
2765
|
if (r === null) return null;
|
|
2766
|
-
if (r = r.shared,
|
|
2766
|
+
if (r = r.shared, Hr & 2) {
|
|
2767
2767
|
var n = r.pending;
|
|
2768
2768
|
return n === null ? e.next = e : (e.next = n.next, n.next = e), r.pending = e, Ac(t, i);
|
|
2769
2769
|
}
|
|
@@ -4628,16 +4628,16 @@ function R$(t) {
|
|
|
4628
4628
|
ri = e.return;
|
|
4629
4629
|
}
|
|
4630
4630
|
}
|
|
4631
|
-
var o8e = Math.ceil, Fb = Ec.ReactCurrentDispatcher, Wz = Ec.ReactCurrentOwner, E0 = Ec.ReactCurrentBatchConfig,
|
|
4631
|
+
var o8e = Math.ceil, Fb = Ec.ReactCurrentDispatcher, Wz = Ec.ReactCurrentOwner, E0 = Ec.ReactCurrentBatchConfig, Hr = 0, Sa = null, W2 = null, Ha = 0, Fo = 0, m4 = Dd(0), ca = 0, Om = null, xp = 0, jM = 0, Jz = 0, OA = null, lo = null, Xz = 0, E8 = 1 / 0, Mu = null, Pb = !1, pF = null, $h = null, sv = !1, Bh = null, kb = 0, NA = 0, fF = null, Mw = -1, Sw = 0;
|
|
4632
4632
|
function ks() {
|
|
4633
|
-
return
|
|
4633
|
+
return Hr & 6 ? k2() : Mw !== -1 ? Mw : Mw = k2();
|
|
4634
4634
|
}
|
|
4635
4635
|
function Gh(t) {
|
|
4636
|
-
return t.mode & 1 ?
|
|
4636
|
+
return t.mode & 1 ? Hr & 2 && Ha !== 0 ? Ha & -Ha : j4e.transition !== null ? (Sw === 0 && (Sw = Wte()), Sw) : (t = dn, t !== 0 || (t = window.event, t = t === void 0 ? 16 : iie(t.type)), t) : 1;
|
|
4637
4637
|
}
|
|
4638
4638
|
function xl(t, e, i, r) {
|
|
4639
4639
|
if (50 < NA) throw NA = 0, fF = null, Error(wt(185));
|
|
4640
|
-
ry(t, i, r), (!(
|
|
4640
|
+
ry(t, i, r), (!(Hr & 2) || t !== Sa) && (t === Sa && (!(Hr & 2) && (jM |= i), ca === 4 && xh(t, Ha)), go(t, r), i === 1 && Hr === 0 && !(e.mode & 1) && (E8 = k2() + 500, UM && Id()));
|
|
4641
4641
|
}
|
|
4642
4642
|
function go(t, e) {
|
|
4643
4643
|
var i = t.callbackNode;
|
|
@@ -4646,7 +4646,7 @@ function go(t, e) {
|
|
|
4646
4646
|
if (r === 0) i !== null && $j(i), t.callbackNode = null, t.callbackPriority = 0;
|
|
4647
4647
|
else if (e = r & -r, t.callbackPriority !== e) {
|
|
4648
4648
|
if (i != null && $j(i), e === 1) t.tag === 0 ? Q4e(O$.bind(null, t)) : wie(O$.bind(null, t)), z4e(function() {
|
|
4649
|
-
!(
|
|
4649
|
+
!(Hr & 6) && Id();
|
|
4650
4650
|
}), i = null;
|
|
4651
4651
|
else {
|
|
4652
4652
|
switch (Jte(r)) {
|
|
@@ -4671,7 +4671,7 @@ function go(t, e) {
|
|
|
4671
4671
|
}
|
|
4672
4672
|
}
|
|
4673
4673
|
function dre(t, e) {
|
|
4674
|
-
if (Mw = -1, Sw = 0,
|
|
4674
|
+
if (Mw = -1, Sw = 0, Hr & 6) throw Error(wt(327));
|
|
4675
4675
|
var i = t.callbackNode;
|
|
4676
4676
|
if ($4() && t.callbackNode !== i) return null;
|
|
4677
4677
|
var r = yb(t, t === Sa ? Ha : 0);
|
|
@@ -4679,8 +4679,8 @@ function dre(t, e) {
|
|
|
4679
4679
|
if (r & 30 || r & t.expiredLanes || e) e = Rb(t, r);
|
|
4680
4680
|
else {
|
|
4681
4681
|
e = r;
|
|
4682
|
-
var n =
|
|
4683
|
-
|
|
4682
|
+
var n = Hr;
|
|
4683
|
+
Hr |= 2;
|
|
4684
4684
|
var a = fre();
|
|
4685
4685
|
(Sa !== t || Ha !== e) && (Mu = null, E8 = k2() + 500, ap(t, e));
|
|
4686
4686
|
do
|
|
@@ -4691,7 +4691,7 @@ function dre(t, e) {
|
|
|
4691
4691
|
pre(t, o);
|
|
4692
4692
|
}
|
|
4693
4693
|
while (!0);
|
|
4694
|
-
Rz(), Fb.current = a,
|
|
4694
|
+
Rz(), Fb.current = a, Hr = n, W2 !== null ? e = 0 : (Sa = null, Ha = 0, e = ca);
|
|
4695
4695
|
}
|
|
4696
4696
|
if (e !== 0) {
|
|
4697
4697
|
if (e === 2 && (n = VT(t), n !== 0 && (r = n, e = AF(t, n))), e === 1) throw i = Om, ap(t, 0), xh(t, r), go(t, k2()), i;
|
|
@@ -4779,7 +4779,7 @@ function xh(t, e) {
|
|
|
4779
4779
|
}
|
|
4780
4780
|
}
|
|
4781
4781
|
function O$(t) {
|
|
4782
|
-
if (
|
|
4782
|
+
if (Hr & 6) throw Error(wt(327));
|
|
4783
4783
|
$4();
|
|
4784
4784
|
var e = yb(t, 0);
|
|
4785
4785
|
if (!(e & 1)) return go(t, k2()), null;
|
|
@@ -4793,23 +4793,23 @@ function O$(t) {
|
|
|
4793
4793
|
return t.finishedWork = t.current.alternate, t.finishedLanes = e, n3(t, lo, Mu), go(t, k2()), null;
|
|
4794
4794
|
}
|
|
4795
4795
|
function Kz(t, e) {
|
|
4796
|
-
var i =
|
|
4797
|
-
|
|
4796
|
+
var i = Hr;
|
|
4797
|
+
Hr |= 1;
|
|
4798
4798
|
try {
|
|
4799
4799
|
return t(e);
|
|
4800
4800
|
} finally {
|
|
4801
|
-
|
|
4801
|
+
Hr = i, Hr === 0 && (E8 = k2() + 500, UM && Id());
|
|
4802
4802
|
}
|
|
4803
4803
|
}
|
|
4804
4804
|
function bp(t) {
|
|
4805
|
-
Bh !== null && Bh.tag === 0 && !(
|
|
4806
|
-
var e =
|
|
4807
|
-
|
|
4805
|
+
Bh !== null && Bh.tag === 0 && !(Hr & 6) && $4();
|
|
4806
|
+
var e = Hr;
|
|
4807
|
+
Hr |= 1;
|
|
4808
4808
|
var i = E0.transition, r = dn;
|
|
4809
4809
|
try {
|
|
4810
4810
|
if (E0.transition = null, dn = 1, t) return t();
|
|
4811
4811
|
} finally {
|
|
4812
|
-
dn = r, E0.transition = i,
|
|
4812
|
+
dn = r, E0.transition = i, Hr = e, !(Hr & 6) && Id();
|
|
4813
4813
|
}
|
|
4814
4814
|
}
|
|
4815
4815
|
function qz() {
|
|
@@ -4945,8 +4945,8 @@ function eU() {
|
|
|
4945
4945
|
(ca === 0 || ca === 3 || ca === 2) && (ca = 4), Sa === null || !(xp & 268435455) && !(jM & 268435455) || xh(Sa, Ha);
|
|
4946
4946
|
}
|
|
4947
4947
|
function Rb(t, e) {
|
|
4948
|
-
var i =
|
|
4949
|
-
|
|
4948
|
+
var i = Hr;
|
|
4949
|
+
Hr |= 2;
|
|
4950
4950
|
var r = fre();
|
|
4951
4951
|
(Sa !== t || Ha !== e) && (Mu = null, ap(t, e));
|
|
4952
4952
|
do
|
|
@@ -4957,7 +4957,7 @@ function Rb(t, e) {
|
|
|
4957
4957
|
pre(t, n);
|
|
4958
4958
|
}
|
|
4959
4959
|
while (!0);
|
|
4960
|
-
if (Rz(),
|
|
4960
|
+
if (Rz(), Hr = i, Fb.current = r, W2 !== null) throw Error(wt(261));
|
|
4961
4961
|
return Sa = null, Ha = 0, ca;
|
|
4962
4962
|
}
|
|
4963
4963
|
function u8e() {
|
|
@@ -5009,7 +5009,7 @@ function h8e(t, e, i, r) {
|
|
|
5009
5009
|
do
|
|
5010
5010
|
$4();
|
|
5011
5011
|
while (Bh !== null);
|
|
5012
|
-
if (
|
|
5012
|
+
if (Hr & 6) throw Error(wt(327));
|
|
5013
5013
|
i = t.finishedWork;
|
|
5014
5014
|
var n = t.finishedLanes;
|
|
5015
5015
|
if (i === null) return null;
|
|
@@ -5022,8 +5022,8 @@ function h8e(t, e, i, r) {
|
|
|
5022
5022
|
a = E0.transition, E0.transition = null;
|
|
5023
5023
|
var s = dn;
|
|
5024
5024
|
dn = 1;
|
|
5025
|
-
var o =
|
|
5026
|
-
|
|
5025
|
+
var o = Hr;
|
|
5026
|
+
Hr |= 4, Wz.current = null, a8e(t, i), cre(i, t), L4e(YT), vb = !!GT, YT = GT = null, t.current = i, s8e(i), R5e(), Hr = o, dn = s, E0.transition = a;
|
|
5027
5027
|
} else t.current = i;
|
|
5028
5028
|
if (sv && (sv = !1, Bh = t, kb = n), a = t.pendingLanes, a === 0 && ($h = null), z5e(i.stateNode), go(t, k2()), e !== null) for (r = t.onRecoverableError, i = 0; i < e.length; i++) n = e[i], r(n.value, { componentStack: n.stack, digest: n.digest });
|
|
5029
5029
|
if (Pb) throw Pb = !1, t = pF, pF = null, t;
|
|
@@ -5035,9 +5035,9 @@ function $4() {
|
|
|
5035
5035
|
try {
|
|
5036
5036
|
if (E0.transition = null, dn = 16 > t ? 16 : t, Bh === null) var r = !1;
|
|
5037
5037
|
else {
|
|
5038
|
-
if (t = Bh, Bh = null, kb = 0,
|
|
5039
|
-
var n =
|
|
5040
|
-
for (
|
|
5038
|
+
if (t = Bh, Bh = null, kb = 0, Hr & 6) throw Error(wt(331));
|
|
5039
|
+
var n = Hr;
|
|
5040
|
+
for (Hr |= 4, ri = t.current; ri !== null; ) {
|
|
5041
5041
|
var a = ri, s = a.child;
|
|
5042
5042
|
if (ri.flags & 16) {
|
|
5043
5043
|
var o = a.deletions;
|
|
@@ -5127,7 +5127,7 @@ function $4() {
|
|
|
5127
5127
|
ri = o.return;
|
|
5128
5128
|
}
|
|
5129
5129
|
}
|
|
5130
|
-
if (
|
|
5130
|
+
if (Hr = n, Id(), w1 && typeof w1.onPostCommitFiberRoot == "function") try {
|
|
5131
5131
|
w1.onPostCommitFiberRoot(kM, t);
|
|
5132
5132
|
} catch {
|
|
5133
5133
|
}
|
|
@@ -5564,7 +5564,7 @@ Xte = function(t) {
|
|
|
5564
5564
|
var e = t.stateNode;
|
|
5565
5565
|
if (e.current.memoizedState.isDehydrated) {
|
|
5566
5566
|
var i = s7(e.pendingLanes);
|
|
5567
|
-
i !== 0 && (bz(e, i | 1), go(e, k2()), !(
|
|
5567
|
+
i !== 0 && (bz(e, i | 1), go(e, k2()), !(Hr & 6) && (E8 = k2() + 500, Id()));
|
|
5568
5568
|
}
|
|
5569
5569
|
break;
|
|
5570
5570
|
case 13:
|
|
@@ -9233,7 +9233,7 @@ Gb.exports;
|
|
|
9233
9233
|
string: new Ke()
|
|
9234
9234
|
};
|
|
9235
9235
|
}
|
|
9236
|
-
function
|
|
9236
|
+
function Ur(ne) {
|
|
9237
9237
|
var me = v2(this, ne).delete(ne);
|
|
9238
9238
|
return this.size -= me ? 1 : 0, me;
|
|
9239
9239
|
}
|
|
@@ -9247,7 +9247,7 @@ Gb.exports;
|
|
|
9247
9247
|
var ee = v2(this, ne), Ce = ee.size;
|
|
9248
9248
|
return ee.set(ne, me), this.size += ee.size == Ce ? 0 : 1, this;
|
|
9249
9249
|
}
|
|
9250
|
-
gr.prototype.clear = Kr, gr.prototype.delete =
|
|
9250
|
+
gr.prototype.clear = Kr, gr.prototype.delete = Ur, gr.prototype.get = pn, gr.prototype.has = on, gr.prototype.set = V2;
|
|
9251
9251
|
function qr(ne) {
|
|
9252
9252
|
var me = this.__data__ = new fi(ne);
|
|
9253
9253
|
this.size = me.size;
|
|
@@ -10234,7 +10234,7 @@ const zt = new V9e("[Mappedin Viewer]"), oI = {}, ine = (t) => t.startsWith("htt
|
|
|
10234
10234
|
let e = od;
|
|
10235
10235
|
return typeof t.themeOverride == "number" ? e = i7e(t.themeOverride) : typeof t.themeOverride == "object" && (e = Rf({}, e, t.themeOverride)), Y9e() && (e = J9e(e)), e;
|
|
10236
10236
|
}, nS = ({ theme: t = od, children: e }) => /* @__PURE__ */ O.jsx(dU, { theme: t, children: e });
|
|
10237
|
-
function
|
|
10237
|
+
function Nr(t) {
|
|
10238
10238
|
for (var e = arguments.length, i = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++)
|
|
10239
10239
|
i[r - 1] = arguments[r];
|
|
10240
10240
|
throw new Error(typeof t == "number" ? "[MobX] minified error nr: " + t + (i.length ? " " + i.map(String).join(",") : "") + ". Find the full error at: https://github.com/mobxjs/mobx/blob/main/packages/mobx/src/errors.ts" : "[MobX] " + t);
|
|
@@ -10249,7 +10249,7 @@ var AU = {};
|
|
|
10249
10249
|
Object.freeze(AU);
|
|
10250
10250
|
var n7e = typeof Proxy < "u", a7e = /* @__PURE__ */ Object.toString();
|
|
10251
10251
|
function hne() {
|
|
10252
|
-
n7e ||
|
|
10252
|
+
n7e || Nr("Proxy not available");
|
|
10253
10253
|
}
|
|
10254
10254
|
function dne(t) {
|
|
10255
10255
|
var e = !1;
|
|
@@ -10447,7 +10447,7 @@ function hy(t) {
|
|
|
10447
10447
|
}
|
|
10448
10448
|
var Di = /* @__PURE__ */ Symbol("mobx administration"), Ld = /* @__PURE__ */ function() {
|
|
10449
10449
|
function t(i) {
|
|
10450
|
-
i === void 0 && (i = "Atom"), this.name_ = void 0, this.flags_ = 0, this.observers_ = /* @__PURE__ */ new Set(), this.lastAccessedBy_ = 0, this.lowestObserverState_ =
|
|
10450
|
+
i === void 0 && (i = "Atom"), this.name_ = void 0, this.flags_ = 0, this.observers_ = /* @__PURE__ */ new Set(), this.lastAccessedBy_ = 0, this.lowestObserverState_ = jr.NOT_TRACKING_, this.onBOL = void 0, this.onBUOL = void 0, this.name_ = i;
|
|
10451
10451
|
}
|
|
10452
10452
|
var e = t.prototype;
|
|
10453
10453
|
return e.onBO = function() {
|
|
@@ -10603,7 +10603,7 @@ function b7e(t, e) {
|
|
|
10603
10603
|
u.isMobxAction = !0, l[r] = u;
|
|
10604
10604
|
}), t;
|
|
10605
10605
|
}
|
|
10606
|
-
|
|
10606
|
+
Nr("Cannot apply '" + a.annotationType_ + "' to '" + String(r) + "' (kind: " + i + "):" + (`
|
|
10607
10607
|
'` + a.annotationType_ + "' can only be used on properties with a function value."));
|
|
10608
10608
|
}
|
|
10609
10609
|
function E7e(t, e, i, r) {
|
|
@@ -10816,7 +10816,7 @@ function V7e(t, e, i, r) {
|
|
|
10816
10816
|
return o.extend_(t, e, i, r);
|
|
10817
10817
|
}
|
|
10818
10818
|
function H7e(t, e) {
|
|
10819
|
-
|
|
10819
|
+
Nr("'" + this.annotationType_ + "' cannot be used as a decorator");
|
|
10820
10820
|
}
|
|
10821
10821
|
var Q7e = "observable", j7e = "observable.ref", $7e = "observable.shallow", G7e = "observable.struct", xne = {
|
|
10822
10822
|
deep: !0,
|
|
@@ -10940,7 +10940,7 @@ function rAe(t, e, i, r) {
|
|
|
10940
10940
|
return Zb = c.actionId_, c;
|
|
10941
10941
|
}
|
|
10942
10942
|
function nAe(t) {
|
|
10943
|
-
Zb !== t.actionId_ &&
|
|
10943
|
+
Zb !== t.actionId_ && Nr(30), Zb = t.parentActionId_, t.error_ !== void 0 && (Ot.suppressReactionErrors = !0), cS(t.prevAllowStateChanges_), VA(t.prevAllowStateReads_), C0(), t.runAsAction_ && rc(t.prevDerivation_), Ot.suppressReactionErrors = !1;
|
|
10944
10944
|
}
|
|
10945
10945
|
function Dne(t, e) {
|
|
10946
10946
|
var i = uS(t);
|
|
@@ -11014,7 +11014,7 @@ var Wh = /* @__PURE__ */ function(t) {
|
|
|
11014
11014
|
}, e;
|
|
11015
11015
|
}(Ld), aAe = /* @__PURE__ */ Bd("ObservableValue", Wh), kl = /* @__PURE__ */ function() {
|
|
11016
11016
|
function t(i) {
|
|
11017
|
-
this.dependenciesState_ =
|
|
11017
|
+
this.dependenciesState_ = jr.NOT_TRACKING_, this.observing_ = [], this.newObserving_ = null, this.observers_ = /* @__PURE__ */ new Set(), this.runId_ = 0, this.lastAccessedBy_ = 0, this.lowestObserverState_ = jr.UP_TO_DATE_, this.unboundDepsCount_ = 0, this.value_ = new Jb(null), this.name_ = void 0, this.triggeredBy_ = void 0, this.flags_ = 0, this.derivation = void 0, this.setter_ = void 0, this.isTracing_ = Wb.NONE, this.scope_ = void 0, this.equals_ = void 0, this.requiresReaction_ = void 0, this.keepAlive_ = void 0, this.onBOL = void 0, this.onBUOL = void 0, i.get || Nr(31), this.derivation = i.get, this.name_ = i.name || "ComputedValue", i.set && (this.setter_ = ud("ComputedValue-setter", i.set)), this.equals_ = i.equals || (i.compareStructural || i.struct ? F8.structural : F8.default), this.scope_ = i.context, this.requiresReaction_ = i.requiresReaction, this.keepAlive_ = !!i.keepAlive;
|
|
11018
11018
|
}
|
|
11019
11019
|
var e = t.prototype;
|
|
11020
11020
|
return e.onBecomeStale_ = function() {
|
|
@@ -11028,7 +11028,7 @@ var Wh = /* @__PURE__ */ function(t) {
|
|
|
11028
11028
|
return r();
|
|
11029
11029
|
});
|
|
11030
11030
|
}, e.get = function() {
|
|
11031
|
-
if (this.isComputing &&
|
|
11031
|
+
if (this.isComputing && Nr(32, this.name_, this.derivation), Ot.inBatch === 0 && // !globalState.trackingDerivatpion &&
|
|
11032
11032
|
this.observers_.size === 0 && !this.keepAlive_)
|
|
11033
11033
|
LF(this) && (this.warnAboutUntrackedRead_(), v0(), this.value_ = this.computeValue_(!1), C0());
|
|
11034
11034
|
else if (kne(this), LF(this)) {
|
|
@@ -11041,18 +11041,18 @@ var Wh = /* @__PURE__ */ function(t) {
|
|
|
11041
11041
|
return n;
|
|
11042
11042
|
}, e.set = function(r) {
|
|
11043
11043
|
if (this.setter_) {
|
|
11044
|
-
this.isRunningSetter &&
|
|
11044
|
+
this.isRunningSetter && Nr(33, this.name_), this.isRunningSetter = !0;
|
|
11045
11045
|
try {
|
|
11046
11046
|
this.setter_.call(this.scope_, r);
|
|
11047
11047
|
} finally {
|
|
11048
11048
|
this.isRunningSetter = !1;
|
|
11049
11049
|
}
|
|
11050
11050
|
} else
|
|
11051
|
-
|
|
11051
|
+
Nr(34, this.name_);
|
|
11052
11052
|
}, e.trackAndCompute = function() {
|
|
11053
11053
|
var r = this.value_, n = (
|
|
11054
11054
|
/* see #1208 */
|
|
11055
|
-
this.dependenciesState_ ===
|
|
11055
|
+
this.dependenciesState_ === jr.NOT_TRACKING_
|
|
11056
11056
|
), a = this.computeValue_(!0), s = n || Pw(r) || Pw(a) || !this.equals_(r, a);
|
|
11057
11057
|
return s && (this.value_ = a), s;
|
|
11058
11058
|
}, e.computeValue_ = function(r) {
|
|
@@ -11142,10 +11142,10 @@ kl.isRunningSetterMask_ = 2;
|
|
|
11142
11142
|
kl.isBeingObservedMask_ = 4;
|
|
11143
11143
|
kl.isPendingUnobservationMask_ = 8;
|
|
11144
11144
|
kl.diffValueMask_ = 16;
|
|
11145
|
-
var py = /* @__PURE__ */ Bd("ComputedValue", kl),
|
|
11145
|
+
var py = /* @__PURE__ */ Bd("ComputedValue", kl), jr;
|
|
11146
11146
|
(function(t) {
|
|
11147
11147
|
t[t.NOT_TRACKING_ = -1] = "NOT_TRACKING_", t[t.UP_TO_DATE_ = 0] = "UP_TO_DATE_", t[t.POSSIBLY_STALE_ = 1] = "POSSIBLY_STALE_", t[t.STALE_ = 2] = "STALE_";
|
|
11148
|
-
})(
|
|
11148
|
+
})(jr || (jr = {}));
|
|
11149
11149
|
var Wb;
|
|
11150
11150
|
(function(t) {
|
|
11151
11151
|
t[t.NONE = 0] = "NONE", t[t.LOG = 1] = "LOG", t[t.BREAK = 2] = "BREAK";
|
|
@@ -11158,12 +11158,12 @@ function Pw(t) {
|
|
|
11158
11158
|
}
|
|
11159
11159
|
function LF(t) {
|
|
11160
11160
|
switch (t.dependenciesState_) {
|
|
11161
|
-
case
|
|
11161
|
+
case jr.UP_TO_DATE_:
|
|
11162
11162
|
return !1;
|
|
11163
|
-
case
|
|
11164
|
-
case
|
|
11163
|
+
case jr.NOT_TRACKING_:
|
|
11164
|
+
case jr.STALE_:
|
|
11165
11165
|
return !0;
|
|
11166
|
-
case
|
|
11166
|
+
case jr.POSSIBLY_STALE_: {
|
|
11167
11167
|
for (var e = yU(!0), i = Xp(), r = t.observing_, n = r.length, a = 0; a < n; a++) {
|
|
11168
11168
|
var s = r[a];
|
|
11169
11169
|
if (py(s)) {
|
|
@@ -11175,7 +11175,7 @@ function LF(t) {
|
|
|
11175
11175
|
} catch {
|
|
11176
11176
|
return rc(i), VA(e), !0;
|
|
11177
11177
|
}
|
|
11178
|
-
if (t.dependenciesState_ ===
|
|
11178
|
+
if (t.dependenciesState_ === jr.STALE_)
|
|
11179
11179
|
return rc(i), VA(e), !0;
|
|
11180
11180
|
}
|
|
11181
11181
|
}
|
|
@@ -11204,7 +11204,7 @@ function Ine(t, e, i) {
|
|
|
11204
11204
|
return Ot.inBatch--, Ot.trackingDerivation = n, sAe(t), VA(r), a;
|
|
11205
11205
|
}
|
|
11206
11206
|
function sAe(t) {
|
|
11207
|
-
for (var e = t.observing_, i = t.observing_ = t.newObserving_, r =
|
|
11207
|
+
for (var e = t.observing_, i = t.observing_ = t.newObserving_, r = jr.UP_TO_DATE_, n = 0, a = t.unboundDepsCount_, s = 0; s < a; s++) {
|
|
11208
11208
|
var o = i[s];
|
|
11209
11209
|
o.diffValue === 0 && (o.diffValue = 1, n !== s && (i[n] = o), n++), o.dependenciesState_ > r && (r = o.dependenciesState_);
|
|
11210
11210
|
}
|
|
@@ -11216,14 +11216,14 @@ function sAe(t) {
|
|
|
11216
11216
|
var u = i[n];
|
|
11217
11217
|
u.diffValue === 1 && (u.diffValue = 0, lAe(u, t));
|
|
11218
11218
|
}
|
|
11219
|
-
r !==
|
|
11219
|
+
r !== jr.UP_TO_DATE_ && (t.dependenciesState_ = r, t.onBecomeStale_());
|
|
11220
11220
|
}
|
|
11221
11221
|
function TF(t) {
|
|
11222
11222
|
var e = t.observing_;
|
|
11223
11223
|
t.observing_ = [];
|
|
11224
11224
|
for (var i = e.length; i--; )
|
|
11225
11225
|
Fne(e[i], t);
|
|
11226
|
-
t.dependenciesState_ =
|
|
11226
|
+
t.dependenciesState_ = jr.NOT_TRACKING_;
|
|
11227
11227
|
}
|
|
11228
11228
|
function Bne(t) {
|
|
11229
11229
|
var e = Xp();
|
|
@@ -11248,10 +11248,10 @@ function VA(t) {
|
|
|
11248
11248
|
Ot.allowStateReads = t;
|
|
11249
11249
|
}
|
|
11250
11250
|
function Lne(t) {
|
|
11251
|
-
if (t.dependenciesState_ !==
|
|
11252
|
-
t.dependenciesState_ =
|
|
11251
|
+
if (t.dependenciesState_ !== jr.UP_TO_DATE_) {
|
|
11252
|
+
t.dependenciesState_ = jr.UP_TO_DATE_;
|
|
11253
11253
|
for (var e = t.observing_, i = e.length; i--; )
|
|
11254
|
-
e[i].lowestObserverState_ =
|
|
11254
|
+
e[i].lowestObserverState_ = jr.UP_TO_DATE_;
|
|
11255
11255
|
}
|
|
11256
11256
|
}
|
|
11257
11257
|
var kw = function() {
|
|
@@ -11259,11 +11259,11 @@ var kw = function() {
|
|
|
11259
11259
|
}, Rw = !0, Tne = !1, Ot = /* @__PURE__ */ function() {
|
|
11260
11260
|
var t = /* @__PURE__ */ aS();
|
|
11261
11261
|
return t.__mobxInstanceCount > 0 && !t.__mobxGlobals && (Rw = !1), t.__mobxGlobals && t.__mobxGlobals.version !== new kw().version && (Rw = !1), Rw ? t.__mobxGlobals ? (t.__mobxInstanceCount += 1, t.__mobxGlobals.UNCHANGED || (t.__mobxGlobals.UNCHANGED = {}), t.__mobxGlobals) : (t.__mobxInstanceCount = 1, t.__mobxGlobals = /* @__PURE__ */ new kw()) : (setTimeout(function() {
|
|
11262
|
-
Tne ||
|
|
11262
|
+
Tne || Nr(35);
|
|
11263
11263
|
}, 1), new kw());
|
|
11264
11264
|
}();
|
|
11265
11265
|
function oAe() {
|
|
11266
|
-
if ((Ot.pendingReactions.length || Ot.inBatch || Ot.isRunningReactions) &&
|
|
11266
|
+
if ((Ot.pendingReactions.length || Ot.inBatch || Ot.isRunningReactions) && Nr(36), Tne = !0, Rw) {
|
|
11267
11267
|
var t = aS();
|
|
11268
11268
|
--t.__mobxInstanceCount === 0 && (t.__mobxGlobals = void 0), Ot = new kw();
|
|
11269
11269
|
}
|
|
@@ -11295,23 +11295,23 @@ function kne(t) {
|
|
|
11295
11295
|
return e !== null ? (e.runId_ !== t.lastAccessedBy_ && (t.lastAccessedBy_ = e.runId_, e.newObserving_[e.unboundDepsCount_++] = t, !t.isBeingObserved && Ot.trackingContext && (t.isBeingObserved = !0, t.onBO())), t.isBeingObserved) : (t.observers_.size === 0 && Ot.inBatch > 0 && Pne(t), !1);
|
|
11296
11296
|
}
|
|
11297
11297
|
function Rne(t) {
|
|
11298
|
-
t.lowestObserverState_ !==
|
|
11299
|
-
e.dependenciesState_ ===
|
|
11298
|
+
t.lowestObserverState_ !== jr.STALE_ && (t.lowestObserverState_ = jr.STALE_, t.observers_.forEach(function(e) {
|
|
11299
|
+
e.dependenciesState_ === jr.UP_TO_DATE_ && e.onBecomeStale_(), e.dependenciesState_ = jr.STALE_;
|
|
11300
11300
|
}));
|
|
11301
11301
|
}
|
|
11302
11302
|
function uAe(t) {
|
|
11303
|
-
t.lowestObserverState_ !==
|
|
11304
|
-
e.dependenciesState_ ===
|
|
11303
|
+
t.lowestObserverState_ !== jr.STALE_ && (t.lowestObserverState_ = jr.STALE_, t.observers_.forEach(function(e) {
|
|
11304
|
+
e.dependenciesState_ === jr.POSSIBLY_STALE_ ? e.dependenciesState_ = jr.STALE_ : e.dependenciesState_ === jr.UP_TO_DATE_ && (t.lowestObserverState_ = jr.UP_TO_DATE_);
|
|
11305
11305
|
}));
|
|
11306
11306
|
}
|
|
11307
11307
|
function cAe(t) {
|
|
11308
|
-
t.lowestObserverState_ ===
|
|
11309
|
-
e.dependenciesState_ ===
|
|
11308
|
+
t.lowestObserverState_ === jr.UP_TO_DATE_ && (t.lowestObserverState_ = jr.POSSIBLY_STALE_, t.observers_.forEach(function(e) {
|
|
11309
|
+
e.dependenciesState_ === jr.UP_TO_DATE_ && (e.dependenciesState_ = jr.POSSIBLY_STALE_, e.onBecomeStale_());
|
|
11310
11310
|
}));
|
|
11311
11311
|
}
|
|
11312
11312
|
var T1 = /* @__PURE__ */ function() {
|
|
11313
11313
|
function t(i, r, n, a) {
|
|
11314
|
-
i === void 0 && (i = "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ =
|
|
11314
|
+
i === void 0 && (i = "Reaction"), this.name_ = void 0, this.onInvalidate_ = void 0, this.errorHandler_ = void 0, this.requiresObservable_ = void 0, this.observing_ = [], this.newObserving_ = [], this.dependenciesState_ = jr.NOT_TRACKING_, this.runId_ = 0, this.unboundDepsCount_ = 0, this.flags_ = 0, this.isTracing_ = Wb.NONE, this.name_ = i, this.onInvalidate_ = r, this.errorHandler_ = n, this.requiresObservable_ = a;
|
|
11315
11315
|
}
|
|
11316
11316
|
var e = t.prototype;
|
|
11317
11317
|
return e.onBecomeStale_ = function() {
|
|
@@ -11507,7 +11507,7 @@ function Qne(t) {
|
|
|
11507
11507
|
return setTimeout(e, t.delay);
|
|
11508
11508
|
} : vAe;
|
|
11509
11509
|
}
|
|
11510
|
-
function
|
|
11510
|
+
function kr(t, e, i) {
|
|
11511
11511
|
var r, n, a;
|
|
11512
11512
|
i === void 0 && (i = AU);
|
|
11513
11513
|
var s = (r = i.name) != null ? r : "Reaction", o = m1(s, i.onError ? CAe(i.onError, e) : e), l = !i.scheduler && !i.delay, u = Qne(i), c = !0, h = !1, d, p = i.compareStructural ? F8.structural : i.equals || F8.default, f = new T1(s, function() {
|
|
@@ -11660,7 +11660,7 @@ function vU(t) {
|
|
|
11660
11660
|
function TAe(t) {
|
|
11661
11661
|
if (yy(t))
|
|
11662
11662
|
return t[Di].ownKeys_();
|
|
11663
|
-
|
|
11663
|
+
Nr(38);
|
|
11664
11664
|
}
|
|
11665
11665
|
function fv(t, e, i) {
|
|
11666
11666
|
return t.set(e, i), i;
|
|
@@ -11778,7 +11778,7 @@ var kAe = {
|
|
|
11778
11778
|
return f6(e).ownKeys_();
|
|
11779
11779
|
},
|
|
11780
11780
|
preventExtensions: function(e) {
|
|
11781
|
-
|
|
11781
|
+
Nr(13);
|
|
11782
11782
|
}
|
|
11783
11783
|
};
|
|
11784
11784
|
function RAe(t, e) {
|
|
@@ -11798,7 +11798,7 @@ function Ay(t, e) {
|
|
|
11798
11798
|
function g0(t, e) {
|
|
11799
11799
|
var i = Xp();
|
|
11800
11800
|
try {
|
|
11801
|
-
for (var r = [].concat(t.interceptors_ || []), n = 0, a = r.length; n < a && (e = r[n](e), e && !e.type &&
|
|
11801
|
+
for (var r = [].concat(t.interceptors_ || []), n = 0, a = r.length; n < a && (e = r[n](e), e && !e.type && Nr(14), !!e); n++)
|
|
11802
11802
|
;
|
|
11803
11803
|
return e;
|
|
11804
11804
|
} finally {
|
|
@@ -11859,7 +11859,7 @@ var MG = "splice", E1 = "update", OAe = 1e4, NAe = {
|
|
|
11859
11859
|
return i === "length" && n.setArrayLength_(r), typeof i == "symbol" || isNaN(i) ? e[i] = r : n.set_(parseInt(i), r), !0;
|
|
11860
11860
|
},
|
|
11861
11861
|
preventExtensions: function() {
|
|
11862
|
-
|
|
11862
|
+
Nr(15);
|
|
11863
11863
|
}
|
|
11864
11864
|
}, CU = /* @__PURE__ */ function() {
|
|
11865
11865
|
function t(i, r, n, a) {
|
|
@@ -11889,7 +11889,7 @@ var MG = "splice", E1 = "update", OAe = 1e4, NAe = {
|
|
|
11889
11889
|
}, e.getArrayLength_ = function() {
|
|
11890
11890
|
return this.atom_.reportObserved(), this.values_.length;
|
|
11891
11891
|
}, e.setArrayLength_ = function(r) {
|
|
11892
|
-
(typeof r != "number" || isNaN(r) || r < 0) &&
|
|
11892
|
+
(typeof r != "number" || isNaN(r) || r < 0) && Nr("Out of range: " + r);
|
|
11893
11893
|
var n = this.values_.length;
|
|
11894
11894
|
if (r !== n)
|
|
11895
11895
|
if (r > n) {
|
|
@@ -11899,7 +11899,7 @@ var MG = "splice", E1 = "update", OAe = 1e4, NAe = {
|
|
|
11899
11899
|
} else
|
|
11900
11900
|
this.spliceWithArray_(r, n - r);
|
|
11901
11901
|
}, e.updateArrayLength_ = function(r, n) {
|
|
11902
|
-
r !== this.lastKnownLength_ &&
|
|
11902
|
+
r !== this.lastKnownLength_ && Nr(16), this.lastKnownLength_ += n, this.legacyMode_ && n > 0 && r2e(r + n + 1);
|
|
11903
11903
|
}, e.spliceWithArray_ = function(r, n, a) {
|
|
11904
11904
|
var s = this;
|
|
11905
11905
|
this.atom_;
|
|
@@ -11969,7 +11969,7 @@ var MG = "splice", E1 = "update", OAe = 1e4, NAe = {
|
|
|
11969
11969
|
return this.atom_.reportObserved(), this.dehanceValue_(this.values_[r]);
|
|
11970
11970
|
}, e.set_ = function(r, n) {
|
|
11971
11971
|
var a = this.values_;
|
|
11972
|
-
if (this.legacyMode_ && r > a.length &&
|
|
11972
|
+
if (this.legacyMode_ && r > a.length && Nr(17, r, a.length), r < a.length) {
|
|
11973
11973
|
this.atom_;
|
|
11974
11974
|
var s = a[r];
|
|
11975
11975
|
if (m0(this)) {
|
|
@@ -12054,10 +12054,10 @@ var Kb = {
|
|
|
12054
12054
|
return e.spliceWithArray_(0, 0, r), e.values_.length;
|
|
12055
12055
|
},
|
|
12056
12056
|
reverse: function() {
|
|
12057
|
-
return Ot.trackingDerivation &&
|
|
12057
|
+
return Ot.trackingDerivation && Nr(37, "reverse"), this.replace(this.slice().reverse()), this;
|
|
12058
12058
|
},
|
|
12059
12059
|
sort: function() {
|
|
12060
|
-
Ot.trackingDerivation &&
|
|
12060
|
+
Ot.trackingDerivation && Nr(37, "sort");
|
|
12061
12061
|
var e = this.slice();
|
|
12062
12062
|
return e.sort.apply(e, arguments), this.replace(e), this;
|
|
12063
12063
|
},
|
|
@@ -12130,7 +12130,7 @@ function gy(t) {
|
|
|
12130
12130
|
var VAe = {}, Th = "add", qb = "delete", Kne = /* @__PURE__ */ function() {
|
|
12131
12131
|
function t(i, r, n) {
|
|
12132
12132
|
var a = this;
|
|
12133
|
-
r === void 0 && (r = Dp), n === void 0 && (n = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[Di] = VAe, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = r, this.name_ = n, Pl(Map) ||
|
|
12133
|
+
r === void 0 && (r = Dp), n === void 0 && (n = "ObservableMap"), this.enhancer_ = void 0, this.name_ = void 0, this[Di] = VAe, this.data_ = void 0, this.hasMap_ = void 0, this.keysAtom_ = void 0, this.interceptors_ = void 0, this.changeListeners_ = void 0, this.dehancer = void 0, this.enhancer_ = r, this.name_ = n, Pl(Map) || Nr(18), Fd(function() {
|
|
12134
12134
|
a.keysAtom_ = yne("ObservableMap.keys()"), a.data_ = /* @__PURE__ */ new Map(), a.hasMap_ = /* @__PURE__ */ new Map(), i && a.merge(i);
|
|
12135
12135
|
});
|
|
12136
12136
|
}
|
|
@@ -12263,9 +12263,9 @@ var VAe = {}, Th = "add", qb = "delete", Kne = /* @__PURE__ */ function() {
|
|
|
12263
12263
|
}) : Array.isArray(r) ? r.forEach(function(a) {
|
|
12264
12264
|
var s = a[0], o = a[1];
|
|
12265
12265
|
return n.set(s, o);
|
|
12266
|
-
}) : Of(r) ? (s7e(r) ||
|
|
12266
|
+
}) : Of(r) ? (s7e(r) || Nr(19, r), r.forEach(function(a, s) {
|
|
12267
12267
|
return n.set(s, a);
|
|
12268
|
-
})) : r != null &&
|
|
12268
|
+
})) : r != null && Nr(20, r);
|
|
12269
12269
|
}), this;
|
|
12270
12270
|
}, e.clear = function() {
|
|
12271
12271
|
var r = this;
|
|
@@ -12346,12 +12346,12 @@ function HAe(t) {
|
|
|
12346
12346
|
e.set(i, t[i]);
|
|
12347
12347
|
return e;
|
|
12348
12348
|
} else
|
|
12349
|
-
return
|
|
12349
|
+
return Nr(21, t);
|
|
12350
12350
|
}
|
|
12351
12351
|
var QAe = {}, qne = /* @__PURE__ */ function() {
|
|
12352
12352
|
function t(i, r, n) {
|
|
12353
12353
|
var a = this;
|
|
12354
|
-
r === void 0 && (r = Dp), n === void 0 && (n = "ObservableSet"), this.name_ = void 0, this[Di] = QAe, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = n, Pl(Set) ||
|
|
12354
|
+
r === void 0 && (r = Dp), n === void 0 && (n = "ObservableSet"), this.name_ = void 0, this[Di] = QAe, this.data_ = /* @__PURE__ */ new Set(), this.atom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.dehancer = void 0, this.enhancer_ = void 0, this.name_ = n, Pl(Set) || Nr(22), this.enhancer_ = function(s, o) {
|
|
12355
12355
|
return r(s, o, n);
|
|
12356
12356
|
}, Fd(function() {
|
|
12357
12357
|
a.atom_ = yne(a.name_), i && a.replace(i);
|
|
@@ -12489,7 +12489,7 @@ var QAe = {}, qne = /* @__PURE__ */ function() {
|
|
|
12489
12489
|
return n.add(a);
|
|
12490
12490
|
})) : Uu(r) ? (n.clear(), r.forEach(function(a) {
|
|
12491
12491
|
return n.add(a);
|
|
12492
|
-
})) : r != null &&
|
|
12492
|
+
})) : r != null && Nr("Cannot initialize set from " + r);
|
|
12493
12493
|
}), this;
|
|
12494
12494
|
}, e.observe_ = function(r, n) {
|
|
12495
12495
|
return my(this, r);
|
|
@@ -12572,7 +12572,7 @@ var IG = /* @__PURE__ */ Object.create(null), BG = "remove", e2e = /* @__PURE__
|
|
|
12572
12572
|
var a;
|
|
12573
12573
|
if ((a = this.target_[A1]) != null && a[r])
|
|
12574
12574
|
return;
|
|
12575
|
-
|
|
12575
|
+
Nr(1, n.annotationType_, this.name_ + "." + r.toString());
|
|
12576
12576
|
}
|
|
12577
12577
|
for (var s = this.target_; s && s !== ly; ) {
|
|
12578
12578
|
var o = Yb(s, r);
|
|
@@ -12876,33 +12876,33 @@ function WAe(t, e, i) {
|
|
|
12876
12876
|
function eE(t, e) {
|
|
12877
12877
|
if (typeof t == "object" && t !== null) {
|
|
12878
12878
|
if (gy(t))
|
|
12879
|
-
return e !== void 0 &&
|
|
12879
|
+
return e !== void 0 && Nr(23), t[Di].atom_;
|
|
12880
12880
|
if (dl(t))
|
|
12881
12881
|
return t.atom_;
|
|
12882
12882
|
if (Td(t)) {
|
|
12883
12883
|
if (e === void 0)
|
|
12884
12884
|
return t.keysAtom_;
|
|
12885
12885
|
var i = t.data_.get(e) || t.hasMap_.get(e);
|
|
12886
|
-
return i ||
|
|
12886
|
+
return i || Nr(25, e, RF(t)), i;
|
|
12887
12887
|
}
|
|
12888
12888
|
if (yy(t)) {
|
|
12889
12889
|
if (!e)
|
|
12890
|
-
return
|
|
12890
|
+
return Nr(26);
|
|
12891
12891
|
var r = t[Di].values_.get(e);
|
|
12892
|
-
return r ||
|
|
12892
|
+
return r || Nr(27, e, RF(t)), r;
|
|
12893
12893
|
}
|
|
12894
12894
|
if (mU(t) || py(t) || Xb(t))
|
|
12895
12895
|
return t;
|
|
12896
12896
|
} else if (Pl(t) && Xb(t[Di]))
|
|
12897
12897
|
return t[Di];
|
|
12898
|
-
|
|
12898
|
+
Nr(28);
|
|
12899
12899
|
}
|
|
12900
12900
|
function JAe(t, e) {
|
|
12901
|
-
if (t ||
|
|
12901
|
+
if (t || Nr(29), mU(t) || py(t) || Xb(t) || Td(t) || dl(t))
|
|
12902
12902
|
return t;
|
|
12903
12903
|
if (t[Di])
|
|
12904
12904
|
return t[Di];
|
|
12905
|
-
|
|
12905
|
+
Nr(24, t);
|
|
12906
12906
|
}
|
|
12907
12907
|
function RF(t, e) {
|
|
12908
12908
|
var i;
|
|
@@ -13000,7 +13000,7 @@ function KAe() {
|
|
|
13000
13000
|
}
|
|
13001
13001
|
["Symbol", "Map", "Set"].forEach(function(t) {
|
|
13002
13002
|
var e = aS();
|
|
13003
|
-
typeof e[t] > "u" &&
|
|
13003
|
+
typeof e[t] > "u" && Nr("MobX requires global '" + t + "' to be available or polyfilled");
|
|
13004
13004
|
});
|
|
13005
13005
|
typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
|
|
13006
13006
|
spy: fAe,
|
|
@@ -13084,7 +13084,7 @@ tE.exports;
|
|
|
13084
13084
|
this.set(ee[0], ee[1]);
|
|
13085
13085
|
}
|
|
13086
13086
|
}
|
|
13087
|
-
function
|
|
13087
|
+
function Ur() {
|
|
13088
13088
|
this.__data__ = oi ? oi(null) : {}, this.size = 0;
|
|
13089
13089
|
}
|
|
13090
13090
|
function pn(ve) {
|
|
@@ -13107,7 +13107,7 @@ tE.exports;
|
|
|
13107
13107
|
var me = this.__data__;
|
|
13108
13108
|
return this.size += this.has(ve) ? 0 : 1, me[ve] = oi && ne === void 0 ? r : ne, this;
|
|
13109
13109
|
}
|
|
13110
|
-
Kr.prototype.clear =
|
|
13110
|
+
Kr.prototype.clear = Ur, Kr.prototype.delete = pn, Kr.prototype.get = on, Kr.prototype.has = V2, Kr.prototype.set = qr;
|
|
13111
13111
|
function jn(ve) {
|
|
13112
13112
|
var ne = -1, me = ve == null ? 0 : ve.length;
|
|
13113
13113
|
for (this.clear(); ++ne < me; ) {
|
|
@@ -17421,7 +17421,7 @@ const sae = function() {
|
|
|
17421
17421
|
const e = Zm(), [i, r] = t;
|
|
17422
17422
|
e.capture(i, r);
|
|
17423
17423
|
}, lae = (t = {}) => {
|
|
17424
|
-
const e = "
|
|
17424
|
+
const e = "phc_vZrwt3z6JmdPnErvTgZoazTAGlCRMiz6c2NqWtBt8qz", i = "https://ph-api.mappedin.com";
|
|
17425
17425
|
jge(t.captureEnabled ?? !0);
|
|
17426
17426
|
const r = Zm();
|
|
17427
17427
|
if (!r.__loaded && e != null && i != null) {
|
|
@@ -17573,7 +17573,7 @@ var Jge = Object.create, AS = Object.defineProperty, Xge = Object.getOwnProperty
|
|
|
17573
17573
|
e instanceof WeakSet ? e.add(t) : e.set(t, i);
|
|
17574
17574
|
}, xe = (t, e, i, r) => (OU(t, e, "write to private field"), e.set(t, i), i), Ft = (t, e, i) => (OU(t, e, "access private method"), i), e2, Q = iye(() => {
|
|
17575
17575
|
e2 = { env: { NODE_ENV: "production", npm_package_version: "6.0.1-beta.37" } };
|
|
17576
|
-
}),
|
|
17576
|
+
}), Qr = _t((t, e) => {
|
|
17577
17577
|
Q(), e.exports = i;
|
|
17578
17578
|
function i(r, n) {
|
|
17579
17579
|
this.x = r, this.y = n;
|
|
@@ -17953,7 +17953,7 @@ var Jge = Object.create, AS = Object.defineProperty, Xge = Object.getOwnProperty
|
|
|
17953
17953
|
};
|
|
17954
17954
|
}), dae = _t((t, e) => {
|
|
17955
17955
|
Q();
|
|
17956
|
-
var i =
|
|
17956
|
+
var i = Qr();
|
|
17957
17957
|
e.exports = r;
|
|
17958
17958
|
function r(l, u, c, h, d) {
|
|
17959
17959
|
this.properties = {}, this.extent = c, this.type = 0, this._pbf = l, this._geometry = -1, this._keys = h, this._values = d, l.readFields(n, this, u);
|
|
@@ -18376,7 +18376,7 @@ Q();
|
|
|
18376
18376
|
var uye = { name: "@packages/outdoor-context-v4", version: "4.1.3", private: !0, main: "dist/maplibre-gl.js", style: "dist/maplibre-gl.css", license: "BSD-3-Clause", homepage: "https://maplibre.org/", funding: "https://github.com/maplibre/maplibre-gl-js?sponsor=1", bugs: { url: "https://github.com/maplibre/maplibre-gl-js/issues/" }, repository: { type: "git", url: "git://github.com/maplibre/maplibre-gl-js.git" }, types: "dist/maplibre-gl.d.ts", type: "module", dependencies: { "@mapbox/geojson-rewind": "^0.5.2", "@mapbox/jsonlint-lines-primitives": "^2.0.2", "@mapbox/point-geometry": "^0.1.0", "@mapbox/tiny-sdf": "^2.0.6", "@mapbox/unitbezier": "^0.0.1", "@mapbox/vector-tile": "^1.3.1", "@mapbox/whoots-js": "^3.1.0", "@maplibre/maplibre-gl-style-spec": "^20.1.1", "@types/geojson": "^7946.0.14", "@types/geojson-vt": "3.2.5", "@types/junit-report-builder": "^3.0.2", "@types/mapbox__point-geometry": "^0.1.4", "@types/mapbox__vector-tile": "^1.3.4", "@types/pbf": "^3.0.5", "@types/supercluster": "^7.1.3", earcut: "^2.2.4", "geojson-vt": "^3.2.1", "gl-matrix": "^3.4.3", "global-prefix": "^3.0.0", kdbush: "^4.0.2", "murmurhash-js": "^1.0.0", pbf: "^3.2.1", potpack: "^2.0.0", quickselect: "^2.0.0", supercluster: "^8.0.1", tinyqueue: "^2.0.3", "vt-pbf": "^3.1.3" }, devDependencies: { "@mapbox/mapbox-gl-rtl-text": "^0.2.3", "@mapbox/mvt-fixtures": "^3.10.0", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-replace": "^5.0.5", "@rollup/plugin-strip": "^3.0.4", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/benchmark": "^2.1.5", "@types/cssnano": "^5.0.0", "@types/d3": "^7.4.3", "@types/diff": "^5.2.0", "@types/earcut": "^2.1.4", "@types/eslint": "^8.56.7", "@types/gl": "^6.0.5", "@types/glob": "^8.1.0", "@types/jest": "^29.5.12", "@types/jsdom": "^21.1.6", "@types/minimist": "^1.2.5", "@types/murmurhash-js": "^1.0.6", "@types/nise": "^1.4.4", "@types/node": "^20.12.7", "@types/offscreencanvas": "^2019.7.3", "@types/pixelmatch": "^5.2.6", "@types/pngjs": "^6.0.4", "@types/react": "^18.2.79", "@types/react-dom": "^18.2.25", "@types/request": "^2.48.12", "@types/shuffle-seed": "^1.1.3", "@types/window-or-global": "^1.0.6", "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", address: "^2.0.2", benchmark: "^2.1.4", canvas: "^2.11.2", cssnano: "^6.1.2", d3: "^7.9.0", "d3-queue": "^3.0.7", "devtools-protocol": "^0.0.1291694", diff: "^5.2.0", "dts-bundle-generator": "^9.5.1", eslint: "^8.57.0", "eslint-config-mourner": "^3.0.0", "eslint-plugin-html": "^8.1.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jest": "^28.2.0", "eslint-plugin-react": "^7.34.1", "eslint-plugin-tsdoc": "0.2.17", expect: "^29.7.0", glob: "^10.3.12", "is-builtin-module": "^3.2.1", jest: "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-junit": "^16.0.0", "jest-monocart-coverage": "^1.1.0", "jest-webgl-canvas-mock": "^2.5.3", jsdom: "^24.0.0", "json-stringify-pretty-compact": "^4.0.0", "junit-report-builder": "^3.2.1", minimist: "^1.2.8", "mock-geolocation": "^1.0.11", "monocart-coverage-reports": "^2.7.9", nise: "^5.1.9", "npm-font-open-sans": "^1.1.0", "npm-run-all": "^4.1.5", "pdf-merger-js": "^5.1.1", pixelmatch: "^5.3.0", pngjs: "^7.0.0", postcss: "^8.4.38", "postcss-cli": "^11.0.0", "postcss-inline-svg": "^6.0.0", "pretty-bytes": "^6.1.1", puppeteer: "^22.7.0", react: "^18.2.0", "react-dom": "^18.2.0", rollup: "^4.16.4", "rollup-plugin-sourcemaps": "^0.6.3", rw: "^1.3.3", semver: "^7.6.0", "shuffle-seed": "^1.1.6", "source-map-explorer": "^2.5.3", st: "^3.0.0", stylelint: "^16.4.0", "stylelint-config-standard": "^36.0.0", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", tslib: "^2.6.2", typedoc: "^0.25.13", "typedoc-plugin-markdown": "^3.17.1", "typedoc-plugin-missing-exports": "^2.2.0", typescript: "^5.4.5" }, overrides: { "postcss-inline-svg": { "css-select": "^5.1.0", "dom-serializer": "^2.0.0", htmlparser2: "^8.0.1", "postcss-value-parser": "^4.2.0" } }, scripts: { "generate-dist-package": "node --no-warnings --loader ts-node/esm build/generate-dist-package.js", "generate-shaders": "node --no-warnings --loader ts-node/esm build/generate-shaders.ts", "generate-struct-arrays": "node --no-warnings --loader ts-node/esm build/generate-struct-arrays.ts", "generate-style-code": "node --no-warnings --loader ts-node/esm build/generate-style-code.ts", "generate-typings": "dts-bundle-generator --export-referenced-types --umd-module-name=maplibregl -o ./dist/maplibre-gl.d.ts ./src/index.ts", "generate-docs": "typedoc && node --no-warnings --loader ts-node/esm build/generate-docs.ts", "generate-images": "node --no-warnings --loader ts-node/esm build/generate-doc-images.ts", "build-dist": "npm run build-css && npm run generate-typings && npm run build-dev && npm run build-csp-dev && npm run build-prod && npm run build-csp", "build-dev": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:dev", "watch-dev": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:dev --watch", "build-prod": "rollup --configPlugin @rollup/plugin-typescript -c --environment BUILD:production", "build-csp": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.csp.ts", "build-csp-dev": "rollup --configPlugin @rollup/plugin-typescript -c rollup.config.csp.ts --environment BUILD:dev", "build-css": "postcss -o dist/maplibre-gl.css src/css/maplibre-gl.css", "watch-css": "postcss --watch -o dist/maplibre-gl.css src/css/maplibre-gl.css", "build-benchmarks": "npm run build-dev && rollup --configPlugin @rollup/plugin-typescript -c test/bench/rollup_config_benchmarks.ts", "watch-benchmarks": "rollup --configPlugin @rollup/plugin-typescript -c test/bench/rollup_config_benchmarks.ts --watch", "start-server": "st --no-cache -H 0.0.0.0 --port 9966 .", "start-docs": "docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material", start: "run-p watch-css watch-dev start-server", "start-bench": "run-p watch-css watch-benchmarks start-server", lint: "eslint --cache --ext .ts,.tsx,.js,.html --ignore-path .gitignore .", "lint-css": "stylelint src/css/maplibre-gl.css", test: "run-p lint lint-css test-render jest", jest: "jest", "test-build": "jest --selectProjects=build --reporters=default", "test-build-ci": "jest --selectProjects=build", "test-integration": "jest --selectProjects=integration --reporters=default", "test-integration-ci": "jest --selectProjects=integration", "test-render": "node --no-warnings --loader ts-node/esm test/integration/render/run_render_tests.ts", "test-unit": "jest --selectProjects=unit --reporters=default", "test-unit-ci": "jest --coverage --selectProjects unit", "test-watch-roots": "jest --watch", codegen: "run-p --print-label generate-dist-package generate-style-code generate-struct-arrays generate-shaders && npm run generate-typings", benchmark: "node --no-warnings --loader ts-node/esm test/bench/run-benchmarks.ts", "gl-stats": "node --no-warnings --loader ts-node/esm test/bench/gl-stats.ts", prepare: "npm run codegen", typecheck: "tsc --noEmit && tsc --project tsconfig.dist.json", tsnode: "node --experimental-loader=ts-node/esm --no-warnings" }, files: ["build/", "dist/*", "src/"], engines: { npm: ">=8.1.0", node: ">=16.14.0" } };
|
|
18377
18377
|
Q();
|
|
18378
18378
|
Q();
|
|
18379
|
-
var cye = Ti(
|
|
18379
|
+
var cye = Ti(Qr(), 1), hye = Ti(nye(), 1);
|
|
18380
18380
|
Q();
|
|
18381
18381
|
Q();
|
|
18382
18382
|
var vI;
|
|
@@ -18595,7 +18595,7 @@ var Bye = typeof performance < "u" && performance && performance.now ? performan
|
|
|
18595
18595
|
return matchMedia ? (wI == null && (wI = matchMedia("(prefers-reduced-motion: reduce)")), wI.matches) : !1;
|
|
18596
18596
|
} };
|
|
18597
18597
|
Q();
|
|
18598
|
-
var Lye = Ti(
|
|
18598
|
+
var Lye = Ti(Qr(), 1), q6 = class a2 {
|
|
18599
18599
|
static testProp(e) {
|
|
18600
18600
|
if (!a2.docStyle) return e[0];
|
|
18601
18601
|
for (let i = 0; i < e.length; i++) if (e[i] in a2.docStyle) return e[i];
|
|
@@ -22170,7 +22170,7 @@ function kwe(t) {
|
|
|
22170
22170
|
function hZ(t, e) {
|
|
22171
22171
|
return Math.ceil(t / e) * e;
|
|
22172
22172
|
}
|
|
22173
|
-
var Rwe = Ti(
|
|
22173
|
+
var Rwe = Ti(Qr(), 1), My = class extends g2 {
|
|
22174
22174
|
_refreshViews() {
|
|
22175
22175
|
this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);
|
|
22176
22176
|
}
|
|
@@ -23282,7 +23282,7 @@ var DV = class {
|
|
|
23282
23282
|
};
|
|
23283
23283
|
Ht("CircleBucket", DV, { omit: ["layers"] });
|
|
23284
23284
|
Q();
|
|
23285
|
-
var Rv = Ti(
|
|
23285
|
+
var Rv = Ti(Qr(), 1);
|
|
23286
23286
|
function qse(t, e) {
|
|
23287
23287
|
for (let i = 0; i < t.length; i++) if ($8(e, t[i])) return !0;
|
|
23288
23288
|
for (let i = 0; i < e.length; i++) if ($8(t, e[i])) return !0;
|
|
@@ -23383,7 +23383,7 @@ function u_e(t, e, i) {
|
|
|
23383
23383
|
return a !== Rh(t, e, i[1]) || a !== Rh(t, e, i[2]) || a !== Rh(t, e, i[3]);
|
|
23384
23384
|
}
|
|
23385
23385
|
Q();
|
|
23386
|
-
var RP = Ti(
|
|
23386
|
+
var RP = Ti(Qr(), 1);
|
|
23387
23387
|
function KA(t, e, i) {
|
|
23388
23388
|
let r = e.paint.get(t).value;
|
|
23389
23389
|
return r.kind === "constant" ? r.value : i.programConfigurations.get(e.id).getMaxValue(t);
|
|
@@ -24237,7 +24237,7 @@ var XEe = koe, KEe = Boe, qEe = Loe, eMe = Toe, tMe = Foe, iMe = Poe, rMe = Roe,
|
|
|
24237
24237
|
for (i || (i = 2), r || (r = 0), n ? l = Math.min(n * i + r, e.length) : l = e.length, o = r; o < l; o += i) t[0] = e[o], t[1] = e[o + 1], a(t, t, s), e[o] = t[0], e[o + 1] = t[1];
|
|
24238
24238
|
return e;
|
|
24239
24239
|
};
|
|
24240
|
-
}(), aMe = Ti(
|
|
24240
|
+
}(), aMe = Ti(Qr(), 1), sMe = class extends Q1 {
|
|
24241
24241
|
constructor(e) {
|
|
24242
24242
|
super(e, p_e);
|
|
24243
24243
|
}
|
|
@@ -24635,7 +24635,7 @@ function FMe(t) {
|
|
|
24635
24635
|
Q();
|
|
24636
24636
|
var bZ, PMe = () => bZ = bZ || new _o({ "fill-extrusion-opacity": new ei(tt["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new Ci(tt["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new ei(tt["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new ei(tt["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new TS(tt["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new Ci(tt["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new Ci(tt["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new ei(tt["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]) }), kMe = { get paint() {
|
|
24637
24637
|
return PMe();
|
|
24638
|
-
} }, zP = Ti(
|
|
24638
|
+
} }, zP = Ti(Qr(), 1), RMe = class extends Q1 {
|
|
24639
24639
|
constructor(e) {
|
|
24640
24640
|
super(e, kMe);
|
|
24641
24641
|
}
|
|
@@ -24912,7 +24912,7 @@ y2([{ type: "Int16", name: "anchorX" }, { type: "Int16", name: "anchorY" }, { ty
|
|
|
24912
24912
|
y2([{ type: "Float32", name: "offsetX" }]);
|
|
24913
24913
|
y2([{ type: "Int16", name: "x" }, { type: "Int16", name: "y" }, { type: "Int16", name: "tileUnitDistanceFromAnchor" }]);
|
|
24914
24914
|
y2([{ type: "Uint16", name: "textAnchor" }, { type: "Float32", components: 2, name: "textOffset" }]);
|
|
24915
|
-
var Nv = Ti(
|
|
24915
|
+
var Nv = Ti(Qr(), 1);
|
|
24916
24916
|
Q();
|
|
24917
24917
|
function nSe(t, e, i) {
|
|
24918
24918
|
let r = e.layout.get("text-transform").evaluate(i, {});
|
|
@@ -26155,7 +26155,7 @@ async function a0e(t, e, i) {
|
|
|
26155
26155
|
Q();
|
|
26156
26156
|
Q();
|
|
26157
26157
|
Q();
|
|
26158
|
-
var NV = 63710088e-1,
|
|
26158
|
+
var NV = 63710088e-1, Vr = class g7 {
|
|
26159
26159
|
constructor(e, i) {
|
|
26160
26160
|
if (isNaN(e) || isNaN(i)) throw new Error("Invalid LngLat object: (".concat(e, ", ").concat(i, ")"));
|
|
26161
26161
|
if (this.lng = +e, this.lat = +i, this.lat > 90 || this.lat < -90) throw new Error("Invalid LngLat latitude value: must be between -90 and 90");
|
|
@@ -26184,14 +26184,14 @@ var NV = 63710088e-1, Ur = class g7 {
|
|
|
26184
26184
|
e && (i ? this.setSouthWest(e).setNorthEast(i) : Array.isArray(e) && (e.length === 4 ? this.setSouthWest([e[0], e[1]]).setNorthEast([e[2], e[3]]) : this.setSouthWest(e[0]).setNorthEast(e[1])));
|
|
26185
26185
|
}
|
|
26186
26186
|
setNorthEast(e) {
|
|
26187
|
-
return this._ne = e instanceof
|
|
26187
|
+
return this._ne = e instanceof Vr ? new Vr(e.lng, e.lat) : Vr.convert(e), this;
|
|
26188
26188
|
}
|
|
26189
26189
|
setSouthWest(e) {
|
|
26190
|
-
return this._sw = e instanceof
|
|
26190
|
+
return this._sw = e instanceof Vr ? new Vr(e.lng, e.lat) : Vr.convert(e), this;
|
|
26191
26191
|
}
|
|
26192
26192
|
extend(e) {
|
|
26193
26193
|
let i = this._sw, r = this._ne, n, a;
|
|
26194
|
-
if (e instanceof
|
|
26194
|
+
if (e instanceof Vr) n = e, a = e;
|
|
26195
26195
|
else if (e instanceof r5) {
|
|
26196
26196
|
if (n = e._sw, a = e._ne, !n || !a) return this;
|
|
26197
26197
|
} else {
|
|
@@ -26200,15 +26200,15 @@ var NV = 63710088e-1, Ur = class g7 {
|
|
|
26200
26200
|
return this.extend(r5.convert(s));
|
|
26201
26201
|
} else {
|
|
26202
26202
|
let s = e;
|
|
26203
|
-
return this.extend(
|
|
26203
|
+
return this.extend(Vr.convert(s));
|
|
26204
26204
|
}
|
|
26205
|
-
else if (e && ("lng" in e || "lon" in e) && "lat" in e) return this.extend(
|
|
26205
|
+
else if (e && ("lng" in e || "lon" in e) && "lat" in e) return this.extend(Vr.convert(e));
|
|
26206
26206
|
return this;
|
|
26207
26207
|
}
|
|
26208
|
-
return !i && !r ? (this._sw = new
|
|
26208
|
+
return !i && !r ? (this._sw = new Vr(n.lng, n.lat), this._ne = new Vr(a.lng, a.lat)) : (i.lng = Math.min(n.lng, i.lng), i.lat = Math.min(n.lat, i.lat), r.lng = Math.max(a.lng, r.lng), r.lat = Math.max(a.lat, r.lat)), this;
|
|
26209
26209
|
}
|
|
26210
26210
|
getCenter() {
|
|
26211
|
-
return new
|
|
26211
|
+
return new Vr((this._sw.lng + this._ne.lng) / 2, (this._sw.lat + this._ne.lat) / 2);
|
|
26212
26212
|
}
|
|
26213
26213
|
getSouthWest() {
|
|
26214
26214
|
return this._sw;
|
|
@@ -26217,10 +26217,10 @@ var NV = 63710088e-1, Ur = class g7 {
|
|
|
26217
26217
|
return this._ne;
|
|
26218
26218
|
}
|
|
26219
26219
|
getNorthWest() {
|
|
26220
|
-
return new
|
|
26220
|
+
return new Vr(this.getWest(), this.getNorth());
|
|
26221
26221
|
}
|
|
26222
26222
|
getSouthEast() {
|
|
26223
|
-
return new
|
|
26223
|
+
return new Vr(this.getEast(), this.getSouth());
|
|
26224
26224
|
}
|
|
26225
26225
|
getWest() {
|
|
26226
26226
|
return this._sw.lng;
|
|
@@ -26244,7 +26244,7 @@ var NV = 63710088e-1, Ur = class g7 {
|
|
|
26244
26244
|
return !(this._sw && this._ne);
|
|
26245
26245
|
}
|
|
26246
26246
|
contains(e) {
|
|
26247
|
-
let { lng: i, lat: r } =
|
|
26247
|
+
let { lng: i, lat: r } = Vr.convert(e), n = this._sw.lat <= r && r <= this._ne.lat, a = this._sw.lng <= i && i <= this._ne.lng;
|
|
26248
26248
|
return this._sw.lng > this._ne.lng && (a = this._sw.lng >= i && i >= this._ne.lng), n && a;
|
|
26249
26249
|
}
|
|
26250
26250
|
static convert(e) {
|
|
@@ -26252,7 +26252,7 @@ var NV = 63710088e-1, Ur = class g7 {
|
|
|
26252
26252
|
}
|
|
26253
26253
|
static fromLngLat(e, i = 0) {
|
|
26254
26254
|
let r = 360 * i / 40075017, n = r / Math.cos(Math.PI / 180 * e.lat);
|
|
26255
|
-
return new r5(new
|
|
26255
|
+
return new r5(new Vr(e.lng - n, e.lat - r), new Vr(e.lng + n, e.lat + r));
|
|
26256
26256
|
}
|
|
26257
26257
|
};
|
|
26258
26258
|
Q();
|
|
@@ -26287,11 +26287,11 @@ var ba = class l0e {
|
|
|
26287
26287
|
this.x = +e, this.y = +i, this.z = +r;
|
|
26288
26288
|
}
|
|
26289
26289
|
static fromLngLat(e, i = 0) {
|
|
26290
|
-
let r =
|
|
26290
|
+
let r = Vr.convert(e);
|
|
26291
26291
|
return new l0e(q4(r.lng), e8(r.lat), $P(i, r.lat));
|
|
26292
26292
|
}
|
|
26293
26293
|
toLngLat() {
|
|
26294
|
-
return new
|
|
26294
|
+
return new Vr(tDe(this.x), GP(this.y));
|
|
26295
26295
|
}
|
|
26296
26296
|
toAltitude() {
|
|
26297
26297
|
return iDe(this.z, this.y);
|
|
@@ -26470,7 +26470,7 @@ function QZ(t, e, i) {
|
|
|
26470
26470
|
var r = 2 * Math.PI * 6378137 / 256 / Math.pow(2, i), n = t * r - 2 * Math.PI * 6378137 / 2, a = e * r - 2 * Math.PI * 6378137 / 2;
|
|
26471
26471
|
return [n, a];
|
|
26472
26472
|
}
|
|
26473
|
-
var aDe = Ti(
|
|
26473
|
+
var aDe = Ti(Qr(), 1), UV = class {
|
|
26474
26474
|
constructor(e, i, r) {
|
|
26475
26475
|
if (e < 0 || e > 25 || r < 0 || r >= Math.pow(2, e) || i < 0 || i >= Math.pow(2, e)) throw new Error("x=".concat(i, ", y=").concat(r, ", z=").concat(e, " outside of bounds. 0<=x<").concat(Math.pow(2, e), ", 0<=y<").concat(Math.pow(2, e), " 0<=z<=25 "));
|
|
26476
26476
|
this.z = e, this.x = i, this.y = r, this.key = qA(0, e, e, i, r);
|
|
@@ -27324,7 +27324,7 @@ var CDe = class {
|
|
|
27324
27324
|
for (let r in this.data) for (let n of this.data[r]) e(n.value) || i.push(n);
|
|
27325
27325
|
for (let r of i) this.remove(r.value.tileID, r);
|
|
27326
27326
|
}
|
|
27327
|
-
}, GZ = Ti(
|
|
27327
|
+
}, GZ = Ti(Qr(), 1);
|
|
27328
27328
|
Q();
|
|
27329
27329
|
var wDe = class {
|
|
27330
27330
|
constructor() {
|
|
@@ -27739,9 +27739,9 @@ function ZZ(t) {
|
|
|
27739
27739
|
Q();
|
|
27740
27740
|
Q();
|
|
27741
27741
|
Q();
|
|
27742
|
-
var K1 = Ti(
|
|
27742
|
+
var K1 = Ti(Qr(), 1);
|
|
27743
27743
|
Q();
|
|
27744
|
-
var Tc = Ti(
|
|
27744
|
+
var Tc = Ti(Qr(), 1);
|
|
27745
27745
|
function _De(t, e, i, r, n) {
|
|
27746
27746
|
let a = [];
|
|
27747
27747
|
for (let s = 0; s < t.length; s++) {
|
|
@@ -27899,7 +27899,7 @@ var WZ = class {
|
|
|
27899
27899
|
}
|
|
27900
27900
|
};
|
|
27901
27901
|
Q();
|
|
27902
|
-
var sg = Ti(
|
|
27902
|
+
var sg = Ti(Qr(), 1);
|
|
27903
27903
|
function VV(t, e, i, r, n) {
|
|
27904
27904
|
let a = jt.create();
|
|
27905
27905
|
return e ? (jt.scale(a, a, [1 / n, 1 / n, 1]), i || jt.rotateZ(a, a, r.angle)) : jt.multiply(a, r.labelPlaneMatrix, t), a;
|
|
@@ -28122,7 +28122,7 @@ var H2 = 100, DDe = class {
|
|
|
28122
28122
|
};
|
|
28123
28123
|
Q();
|
|
28124
28124
|
Q();
|
|
28125
|
-
var IDe = Ti(
|
|
28125
|
+
var IDe = Ti(Qr(), 1), BDe = class C0e extends IDe.default {
|
|
28126
28126
|
constructor(e, i, r, n) {
|
|
28127
28127
|
super(e, i), this.angle = r, n !== void 0 && (this.segment = n);
|
|
28128
28128
|
}
|
|
@@ -28134,12 +28134,12 @@ Ht("Anchor", BDe);
|
|
|
28134
28134
|
Q();
|
|
28135
28135
|
Q();
|
|
28136
28136
|
Q();
|
|
28137
|
-
Ti(
|
|
28137
|
+
Ti(Qr(), 1);
|
|
28138
28138
|
Q();
|
|
28139
|
-
Ti(
|
|
28139
|
+
Ti(Qr(), 1);
|
|
28140
28140
|
Q();
|
|
28141
28141
|
Q();
|
|
28142
|
-
Ti(
|
|
28142
|
+
Ti(Qr(), 1);
|
|
28143
28143
|
Ti(cae(), 1);
|
|
28144
28144
|
Q();
|
|
28145
28145
|
var KP = ((t) => (t[t.center = 1] = "center", t[t.left = 2] = "left", t[t.right = 3] = "right", t[t.top = 4] = "top", t[t.bottom = 5] = "bottom", t[t["top-left"] = 6] = "top-left", t[t["top-right"] = 7] = "top-right", t[t["bottom-left"] = 8] = "bottom-left", t[t["bottom-right"] = 9] = "bottom-right", t))(KP || {});
|
|
@@ -28160,7 +28160,7 @@ Q();
|
|
|
28160
28160
|
function Xo(t, e, i) {
|
|
28161
28161
|
return e * (8192 / (t.tileSize * Math.pow(2, i - t.tileID.overscaledZ)));
|
|
28162
28162
|
}
|
|
28163
|
-
var jV = Ti(
|
|
28163
|
+
var jV = Ti(Qr(), 1), KZ = class {
|
|
28164
28164
|
constructor(e, i, r, n) {
|
|
28165
28165
|
e ? this.opacity = Math.max(0, Math.min(1, e.opacity + (e.placed ? i : -i))) : this.opacity = n && r ? 1 : 0, this.placed = r;
|
|
28166
28166
|
}
|
|
@@ -30697,7 +30697,7 @@ var Hn = class {
|
|
|
30697
30697
|
Hn.disabled = new Hn(!1, 1029, 2305);
|
|
30698
30698
|
Hn.backCCW = new Hn(!0, 1029, 2305);
|
|
30699
30699
|
Q();
|
|
30700
|
-
var F0e = Ti(
|
|
30700
|
+
var F0e = Ti(Qr(), 1);
|
|
30701
30701
|
Q();
|
|
30702
30702
|
var $v;
|
|
30703
30703
|
function sW(t, e, i, r, n, a, s) {
|
|
@@ -31358,7 +31358,7 @@ var xTe = class {
|
|
|
31358
31358
|
}
|
|
31359
31359
|
};
|
|
31360
31360
|
Q();
|
|
31361
|
-
var Q2 = Ti(
|
|
31361
|
+
var Q2 = Ti(Qr(), 1);
|
|
31362
31362
|
Q();
|
|
31363
31363
|
var bTe = class k0e {
|
|
31364
31364
|
constructor(e, i) {
|
|
@@ -31411,7 +31411,7 @@ var bTe = class k0e {
|
|
|
31411
31411
|
}
|
|
31412
31412
|
};
|
|
31413
31413
|
Q();
|
|
31414
|
-
var ETe = Ti(
|
|
31414
|
+
var ETe = Ti(Qr(), 1), O0e = class N0e {
|
|
31415
31415
|
constructor(e = 0, i = 0, r = 0, n = 0) {
|
|
31416
31416
|
if (isNaN(e) || e < 0 || isNaN(i) || i < 0 || isNaN(r) || r < 0 || isNaN(n) || n < 0) throw new Error("Invalid value for edge-insets, top, bottom, left and right must all be numbers");
|
|
31417
31417
|
this.top = e, this.bottom = i, this.left = r, this.right = n;
|
|
@@ -31434,7 +31434,7 @@ var ETe = Ti(Hr(), 1), O0e = class N0e {
|
|
|
31434
31434
|
}
|
|
31435
31435
|
}, Gv = 85.051129, MTe = class z0e {
|
|
31436
31436
|
constructor(e, i, r, n, a) {
|
|
31437
|
-
this.tileSize = 512, this._renderWorldCopies = a === void 0 ? !0 : !!a, this._minZoom = e || 0, this._maxZoom = i || 22, this._minPitch = r ?? 0, this._maxPitch = n ?? 60, this.setMaxBounds(), this.width = 0, this.height = 0, this._center = new
|
|
31437
|
+
this.tileSize = 512, this._renderWorldCopies = a === void 0 ? !0 : !!a, this._minZoom = e || 0, this._maxZoom = i || 22, this._minPitch = r ?? 0, this._maxPitch = n ?? 60, this.setMaxBounds(), this.width = 0, this.height = 0, this._center = new Vr(0, 0), this._elevation = 0, this.zoom = 0, this.angle = 0, this._fov = 0.6435011087932844, this._pitch = 0, this._unmodified = !0, this._edgeInsets = new O0e(), this._posMatrixCache = {}, this._alignedPosMatrixCache = {}, this.minElevationForCurrentTile = 0;
|
|
31438
31438
|
}
|
|
31439
31439
|
clone() {
|
|
31440
31440
|
let e = new z0e(this._minZoom, this._maxZoom, this._minPitch, this.maxPitch, this._renderWorldCopies);
|
|
@@ -31667,7 +31667,7 @@ var ETe = Ti(Hr(), 1), O0e = class N0e {
|
|
|
31667
31667
|
}
|
|
31668
31668
|
getConstrained(e, i) {
|
|
31669
31669
|
i = ua(+i, this.minZoom, this.maxZoom);
|
|
31670
|
-
let r = { center: new
|
|
31670
|
+
let r = { center: new Vr(e.lng, e.lat), zoom: i }, n = this.lngRange;
|
|
31671
31671
|
if (!this._renderWorldCopies && n === null) {
|
|
31672
31672
|
let y = 179.9999999999;
|
|
31673
31673
|
n = [-y, y];
|
|
@@ -31794,7 +31794,7 @@ var U0e = class {
|
|
|
31794
31794
|
};
|
|
31795
31795
|
Q();
|
|
31796
31796
|
Q();
|
|
31797
|
-
var STe = Ti(
|
|
31797
|
+
var STe = Ti(Qr(), 1), US = { linearity: 0.3, easing: NU(0, 0, 0.3, 1) }, DTe = si({ deceleration: 2500, maxSpeed: 1400 }, US), ITe = si({ deceleration: 20, maxSpeed: 1400 }, US), BTe = si({ deceleration: 1e3, maxSpeed: 360 }, US), LTe = si({ deceleration: 1e3, maxSpeed: 90 }, US), TTe = class {
|
|
31798
31798
|
constructor(t) {
|
|
31799
31799
|
this._map = t, this.clear();
|
|
31800
31800
|
}
|
|
@@ -31845,7 +31845,7 @@ function Zv(t, e, i) {
|
|
|
31845
31845
|
}
|
|
31846
31846
|
Q();
|
|
31847
31847
|
Q();
|
|
31848
|
-
var FTe = Ti(
|
|
31848
|
+
var FTe = Ti(Qr(), 1), Ro = class extends Bt {
|
|
31849
31849
|
preventDefault() {
|
|
31850
31850
|
this._defaultPrevented = !0;
|
|
31851
31851
|
}
|
|
@@ -31962,7 +31962,7 @@ var FTe = Ti(Hr(), 1), Ro = class extends Bt {
|
|
|
31962
31962
|
};
|
|
31963
31963
|
Q();
|
|
31964
31964
|
Q();
|
|
31965
|
-
var RTe = Ti(
|
|
31965
|
+
var RTe = Ti(Qr(), 1), Sy = class {
|
|
31966
31966
|
constructor(e) {
|
|
31967
31967
|
this._map = e;
|
|
31968
31968
|
}
|
|
@@ -32030,7 +32030,7 @@ var RTe = Ti(Hr(), 1), Sy = class {
|
|
|
32030
32030
|
};
|
|
32031
32031
|
Q();
|
|
32032
32032
|
Q();
|
|
32033
|
-
var OTe = Ti(
|
|
32033
|
+
var OTe = Ti(Qr(), 1);
|
|
32034
32034
|
Q();
|
|
32035
32035
|
function tk(t, e) {
|
|
32036
32036
|
if (t.length !== e.length) throw new Error("The number of touches and points are not equal - touches ".concat(t.length, ", points ").concat(e.length));
|
|
@@ -32208,7 +32208,7 @@ var JV = class {
|
|
|
32208
32208
|
return new WV({ clickTolerance: e, move: (n, a) => ({ pitchDelta: (a.y - n.y) * i }), moveStateManager: r, enable: t, assignEvents: KV });
|
|
32209
32209
|
};
|
|
32210
32210
|
Q();
|
|
32211
|
-
var $I = Ti(
|
|
32211
|
+
var $I = Ti(Qr(), 1), WTe = class {
|
|
32212
32212
|
constructor(e, i) {
|
|
32213
32213
|
this._clickTolerance = e.clickTolerance || 1, this._map = i, this.reset();
|
|
32214
32214
|
}
|
|
@@ -32467,7 +32467,7 @@ var mW = 4.000244140625, tFe = 1 / 100, iFe = 1 / 450, rFe = 2, W0e = class {
|
|
|
32467
32467
|
if (!this._delta) return;
|
|
32468
32468
|
this._frameId && (this._frameId = null), this._active = !0, this.isZooming() || (this._zooming = !0), this._finishTimeout && (clearTimeout(this._finishTimeout), delete this._finishTimeout);
|
|
32469
32469
|
let i = Sr.mousePos(this._map.getCanvas(), e), r = this._tr;
|
|
32470
|
-
i.y > r.transform.height / 2 - r.transform.getHorizon() ? this._around =
|
|
32470
|
+
i.y > r.transform.height / 2 - r.transform.getHorizon() ? this._around = Vr.convert(this._aroundCenter ? r.center : r.unproject(i)) : this._around = Vr.convert(r.center), this._aroundPoint = r.transform.locationPoint(this._around), this._frameId || (this._frameId = !0, this._triggerRenderFrame());
|
|
32471
32471
|
}
|
|
32472
32472
|
renderFrame() {
|
|
32473
32473
|
if (!this._frameId || (this._frameId = null, !this.isActive())) return;
|
|
@@ -32693,7 +32693,7 @@ var ele = class {
|
|
|
32693
32693
|
this._container.classList.remove("maplibregl-show");
|
|
32694
32694
|
}, 100));
|
|
32695
32695
|
}
|
|
32696
|
-
}, sFe = Ti(
|
|
32696
|
+
}, sFe = Ti(Qr(), 1), Jv = (t) => t.zoom || t.drag || t.pitch || t.rotate, oFe = class extends Bt {
|
|
32697
32697
|
};
|
|
32698
32698
|
function YI(t) {
|
|
32699
32699
|
return t.panDelta && t.panDelta.mag() || t.zoomDelta || t.bearingDelta || t.pitchDelta;
|
|
@@ -32845,7 +32845,7 @@ var lFe = class {
|
|
|
32845
32845
|
}
|
|
32846
32846
|
};
|
|
32847
32847
|
Q();
|
|
32848
|
-
var q1 = Ti(
|
|
32848
|
+
var q1 = Ti(Qr(), 1), uFe = class extends t0 {
|
|
32849
32849
|
constructor(e, i) {
|
|
32850
32850
|
super(), this._renderFrameCallback = () => {
|
|
32851
32851
|
let r = Math.min((Fr.now() - this._easeStart) / this._easeOptions.duration, 1);
|
|
@@ -32855,7 +32855,7 @@ var q1 = Ti(Hr(), 1), uFe = class extends t0 {
|
|
|
32855
32855
|
});
|
|
32856
32856
|
}
|
|
32857
32857
|
getCenter() {
|
|
32858
|
-
return new
|
|
32858
|
+
return new Vr(this.transform.center.lng, this.transform.center.lat);
|
|
32859
32859
|
}
|
|
32860
32860
|
setCenter(e, i) {
|
|
32861
32861
|
return this.jumpTo({ center: e }, i);
|
|
@@ -32943,7 +32943,7 @@ var q1 = Ti(Hr(), 1), uFe = class extends t0 {
|
|
|
32943
32943
|
jumpTo(e, i) {
|
|
32944
32944
|
this.stop();
|
|
32945
32945
|
let r = this._getTransformForUpdate(), n = !1, a = !1, s = !1;
|
|
32946
|
-
return "zoom" in e && r.zoom !== +e.zoom && (n = !0, r.zoom = +e.zoom), e.center !== void 0 && (r.center =
|
|
32946
|
+
return "zoom" in e && r.zoom !== +e.zoom && (n = !0, r.zoom = +e.zoom), e.center !== void 0 && (r.center = Vr.convert(e.center)), "bearing" in e && r.bearing !== +e.bearing && (a = !0, r.bearing = +e.bearing), "pitch" in e && r.pitch !== +e.pitch && (s = !0, r.pitch = +e.pitch), e.padding != null && !r.isPaddingEqual(e.padding) && (r.padding = e.padding), this._applyUpdatedTransform(r), this.fire(new Bt("movestart", i)).fire(new Bt("move", i)), n && this.fire(new Bt("zoomstart", i)).fire(new Bt("zoom", i)).fire(new Bt("zoomend", i)), a && this.fire(new Bt("rotatestart", i)).fire(new Bt("rotate", i)).fire(new Bt("rotateend", i)), s && this.fire(new Bt("pitchstart", i)).fire(new Bt("pitch", i)).fire(new Bt("pitchend", i)), this.fire(new Bt("moveend", i));
|
|
32947
32947
|
}
|
|
32948
32948
|
calculateCameraOptionsFromTo(e, i, r, n = 0) {
|
|
32949
32949
|
let a = ba.fromLngLat(e, i), s = ba.fromLngLat(r, n), o = s.x - a.x, l = s.y - a.y, u = s.z - a.z, c = Math.hypot(o, l, u);
|
|
@@ -32954,10 +32954,10 @@ var q1 = Ti(Hr(), 1), uFe = class extends t0 {
|
|
|
32954
32954
|
easeTo(e, i) {
|
|
32955
32955
|
var r;
|
|
32956
32956
|
this._stop(!1, e.easeId), e = si({ offset: [0, 0], duration: 500, easing: pP }, e), (e.animate === !1 || !e.essential && Fr.prefersReducedMotion) && (e.duration = 0);
|
|
32957
|
-
let n = this._getTransformForUpdate(), a = this.getZoom(), s = this.getBearing(), o = this.getPitch(), l = this.getPadding(), u = "bearing" in e ? this._normalizeBearing(e.bearing, s) : s, c = "pitch" in e ? +e.pitch : o, h = "padding" in e ? e.padding : n.padding, d = q1.default.convert(e.offset), p = n.centerPoint.add(d), f = n.pointLocation(p), { center: g, zoom: A } = n.getConstrained(
|
|
32957
|
+
let n = this._getTransformForUpdate(), a = this.getZoom(), s = this.getBearing(), o = this.getPitch(), l = this.getPadding(), u = "bearing" in e ? this._normalizeBearing(e.bearing, s) : s, c = "pitch" in e ? +e.pitch : o, h = "padding" in e ? e.padding : n.padding, d = q1.default.convert(e.offset), p = n.centerPoint.add(d), f = n.pointLocation(p), { center: g, zoom: A } = n.getConstrained(Vr.convert(e.center || f), (r = e.zoom) != null ? r : a);
|
|
32958
32958
|
this._normalizeCenter(g);
|
|
32959
32959
|
let m = n.project(f), v = n.project(g).sub(m), y = n.zoomScale(A - a), _, x;
|
|
32960
|
-
e.around && (_ =
|
|
32960
|
+
e.around && (_ = Vr.convert(e.around), x = n.locationPoint(_));
|
|
32961
32961
|
let b = { moving: this._moving, zooming: this._zooming, rotating: this._rotating, pitching: this._pitching };
|
|
32962
32962
|
return this._zooming = this._zooming || A !== a, this._rotating = this._rotating || s !== u, this._pitching = this._pitching || c !== o, this._padding = !n.isPaddingEqual(h), this._easeId = e.easeId, this._prepareEase(i, e.noMoveStart, b), this.terrain && this._prepareElevation(g), this._ease((E) => {
|
|
32963
32963
|
if (this._zooming && (n.zoom = Kn.number(a, A, E)), this._rotating && (n.bearing = Kn.number(s, u, E)), this._pitching && (n.pitch = Kn.number(o, c, E)), this._padding && (n.interpolatePadding(l, h, E), p = n.centerPoint.add(d)), this.terrain && !e.freezeElevation && this._updateElevation(E), _) n.setLocationAtPoint(_, x);
|
|
@@ -33012,7 +33012,7 @@ var q1 = Ti(Hr(), 1), uFe = class extends t0 {
|
|
|
33012
33012
|
return this.jumpTo(q, i);
|
|
33013
33013
|
}
|
|
33014
33014
|
this.stop(), e = si({ offset: [0, 0], speed: 1.2, curve: 1.42, easing: pP }, e);
|
|
33015
|
-
let n = this._getTransformForUpdate(), a = this.getZoom(), s = this.getBearing(), o = this.getPitch(), l = this.getPadding(), u = "bearing" in e ? this._normalizeBearing(e.bearing, s) : s, c = "pitch" in e ? +e.pitch : o, h = "padding" in e ? e.padding : n.padding, d = q1.default.convert(e.offset), p = n.centerPoint.add(d), f = n.pointLocation(p), { center: g, zoom: A } = n.getConstrained(
|
|
33015
|
+
let n = this._getTransformForUpdate(), a = this.getZoom(), s = this.getBearing(), o = this.getPitch(), l = this.getPadding(), u = "bearing" in e ? this._normalizeBearing(e.bearing, s) : s, c = "pitch" in e ? +e.pitch : o, h = "padding" in e ? e.padding : n.padding, d = q1.default.convert(e.offset), p = n.centerPoint.add(d), f = n.pointLocation(p), { center: g, zoom: A } = n.getConstrained(Vr.convert(e.center || f), (r = e.zoom) != null ? r : a);
|
|
33016
33016
|
this._normalizeCenter(g);
|
|
33017
33017
|
let m = n.zoomScale(A - a), v = n.project(f), y = n.project(g).sub(v), _ = e.curve, x = Math.max(n.width, n.height), b = x / m, E = y.mag();
|
|
33018
33018
|
if ("minZoom" in e) {
|
|
@@ -33093,9 +33093,9 @@ var q1 = Ti(Hr(), 1), uFe = class extends t0 {
|
|
|
33093
33093
|
e.lng += r > 180 ? -360 : r < -180 ? 360 : 0;
|
|
33094
33094
|
}
|
|
33095
33095
|
queryTerrainElevation(e) {
|
|
33096
|
-
return this.terrain ? this.terrain.getElevationForLngLatZoom(
|
|
33096
|
+
return this.terrain ? this.terrain.getElevationForLngLatZoom(Vr.convert(e), this.transform.tileZoom) - this.transform.elevation : null;
|
|
33097
33097
|
}
|
|
33098
|
-
}, Fc = Ti(
|
|
33098
|
+
}, Fc = Ti(Qr(), 1);
|
|
33099
33099
|
Q();
|
|
33100
33100
|
var tle = { compact: !0, customAttribution: '<a href="https://maplibre.org/" target="_blank">MapLibre</a>' }, ile = class {
|
|
33101
33101
|
constructor(e = tle) {
|
|
@@ -33604,7 +33604,7 @@ var gFe = { "AttributionControl.ToggleAttribution": "Toggle attribution", "Attri
|
|
|
33604
33604
|
return this.transform.renderWorldCopies = e, this._update();
|
|
33605
33605
|
}
|
|
33606
33606
|
project(e) {
|
|
33607
|
-
return this.transform.locationPoint(
|
|
33607
|
+
return this.transform.locationPoint(Vr.convert(e), this.style && this.terrain);
|
|
33608
33608
|
}
|
|
33609
33609
|
unproject(e) {
|
|
33610
33610
|
return this.transform.pointLocation(Fc.default.convert(e), this.terrain);
|
|
@@ -34024,15 +34024,15 @@ Q();
|
|
|
34024
34024
|
Q();
|
|
34025
34025
|
Q();
|
|
34026
34026
|
Q();
|
|
34027
|
-
Ti(
|
|
34027
|
+
Ti(Qr(), 1);
|
|
34028
34028
|
Q();
|
|
34029
34029
|
Q();
|
|
34030
34030
|
Q();
|
|
34031
34031
|
Q();
|
|
34032
34032
|
Q();
|
|
34033
34033
|
Q();
|
|
34034
|
-
Ti(
|
|
34035
|
-
var wFe = Ti(
|
|
34034
|
+
Ti(Qr(), 1);
|
|
34035
|
+
var wFe = Ti(Qr(), 1);
|
|
34036
34036
|
Q();
|
|
34037
34037
|
var VS = "173", XI = { LEFT: 0, MIDDLE: 1, RIGHT: 2, ROTATE: 0, DOLLY: 1, PAN: 2 }, _Fe = 0, gW = 1, xFe = 2, sle = 1, bFe = 2, cu = 3, k1 = 0, Rs = 1, za = 2, qh = 0, i8 = 1, yW = 2, vW = 3, CW = 4, EFe = 5, T3 = 100, MFe = 101, SFe = 102, DFe = 103, IFe = 104, BFe = 200, LFe = 201, TFe = 202, FFe = 203, nk = 204, ak = 205, PFe = 206, kFe = 207, RFe = 208, OFe = 209, NFe = 210, zFe = 211, UFe = 212, VFe = 213, HFe = 214, sk = 0, ok = 1, lk = 2, Z8 = 3, uk = 4, ck = 5, hk = 6, dk = 7, eH = 0, QFe = 1, jFe = 2, ed = 0, $Fe = 1, GFe = 2, YFe = 3, ZFe = 4, WFe = 5, JFe = 6, XFe = 7, wW = "attached", KFe = "detached", ole = 300, W8 = 301, J8 = 302, DE = 303, pk = 304, HS = 306, Fs = 1e3, Ju = 1001, og = 1002, cs = 1003, tH = 1004, M4 = 1005, us = 1006, em = 1007, y1 = 1008, R1 = 1009, lle = 1010, ule = 1011, lg = 1012, iH = 1013, hd = 1014, Ps = 1015, Dy = 1016, rH = 1017, nH = 1018, X8 = 1020, cle = 35902, hle = 1021, dle = 1022, Ma = 1023, ple = 1024, fle = 1025, r8 = 1026, K8 = 1027, aH = 1028, QS = 1029, Ale = 1030, sH = 1031, oH = 1033, Ww = 33776, Jw = 33777, Xw = 33778, Kw = 33779, fk = 35840, Ak = 35841, mk = 35842, gk = 35843, yk = 36196, vk = 37492, Ck = 37496, wk = 37808, _k = 37809, xk = 37810, bk = 37811, Ek = 37812, Mk = 37813, Sk = 37814, Dk = 37815, Ik = 37816, Bk = 37817, Lk = 37818, Tk = 37819, Fk = 37820, Pk = 37821, qw = 36492, kk = 36494, Rk = 36495, mle = 36283, Ok = 36284, Nk = 36285, zk = 36286, q8 = 2300, ef = 2301, KI = 2302, _W = 2400, xW = 2401, bW = 2402, qFe = 2500, ePe = 0, gle = 1, Uk = 2, tPe = 3200, yle = 3201, lH = 0, iPe = 1, ju = "", M2 = "srgb", Ns = "srgb-linear", IE = "linear", An = "srgb", g6 = 7680, EW = 519, rPe = 512, nPe = 513, aPe = 514, vle = 515, sPe = 516, oPe = 517, lPe = 518, uPe = 519, Vk = 35044, cPe = 35048, Hk = "300 es", Xu = 2e3, BE = 2001, Vf = class {
|
|
34038
34038
|
addEventListener(e, i) {
|
|
@@ -36955,7 +36955,7 @@ var jPe = 0, Dl = class extends Vf {
|
|
|
36955
36955
|
dispose() {
|
|
36956
36956
|
this.dispatchEvent({ type: "dispose" });
|
|
36957
36957
|
}
|
|
36958
|
-
}, zW = new Si(), Gd = new Iy(), lC = new hs(), UW = new we(), uC = new we(), cC = new we(), hC = new we(), gB = new we(), dC = new we(), VW = new we(), pC = new we(),
|
|
36958
|
+
}, zW = new Si(), Gd = new Iy(), lC = new hs(), UW = new we(), uC = new we(), cC = new we(), hC = new we(), gB = new we(), dC = new we(), VW = new we(), pC = new we(), zr = class extends xn {
|
|
36959
36959
|
constructor(e = new $a(), i = new Qo()) {
|
|
36960
36960
|
super(), this.isMesh = !0, this.type = "Mesh", this.geometry = e, this.material = i, this.updateMorphTargets();
|
|
36961
36961
|
}
|
|
@@ -37280,7 +37280,7 @@ var Fle = { clone: rf, merge: Ms }, WPe = `void main() {
|
|
|
37280
37280
|
}
|
|
37281
37281
|
` }, n = new jS(5, 5, 5), a = new k0({ name: "CubemapFromEquirect", uniforms: rf(r.uniforms), vertexShader: r.vertexShader, fragmentShader: r.fragmentShader, side: Rs, blending: qh });
|
|
37282
37282
|
a.uniforms.tEquirect.value = i;
|
|
37283
|
-
let s = new
|
|
37283
|
+
let s = new zr(n, a), o = i.minFilter;
|
|
37284
37284
|
return i.minFilter === y1 && (i.minFilter = us), new XPe(1, 10, this).update(e, s), i.minFilter = o, s.geometry.dispose(), s.material.dispose(), this;
|
|
37285
37285
|
}
|
|
37286
37286
|
clear(e, i, r, n) {
|
|
@@ -37483,7 +37483,7 @@ var Fle = { clone: rf, merge: Ms }, WPe = `void main() {
|
|
|
37483
37483
|
return { itemSize: this.itemSize, type: this.array.constructor.name, array: i, normalized: this.normalized };
|
|
37484
37484
|
} else return e.interleavedBuffers === void 0 && (e.interleavedBuffers = {}), e.interleavedBuffers[this.data.uuid] === void 0 && (e.interleavedBuffers[this.data.uuid] = this.data.toJSON(e)), { isInterleavedBufferAttribute: !0, itemSize: this.itemSize, data: this.data.uuid, offset: this.offset, normalized: this.normalized };
|
|
37485
37485
|
}
|
|
37486
|
-
}, jW = new we(), $W = new $r(), GW = new $r(), ike = new we(), YW = new Si(), AC = new we(), vB = new hs(), ZW = new Si(), CB = new Iy(), rke = class extends
|
|
37486
|
+
}, jW = new we(), $W = new $r(), GW = new $r(), ike = new we(), YW = new Si(), AC = new we(), vB = new hs(), ZW = new Si(), CB = new Iy(), rke = class extends zr {
|
|
37487
37487
|
constructor(e, i) {
|
|
37488
37488
|
super(e, i), this.isSkinnedMesh = !0, this.type = "SkinnedMesh", this.bindMode = wW, this.bindMatrix = new Si(), this.bindMatrixInverse = new Si(), this.boundingBox = null, this.boundingSphere = null;
|
|
37489
37489
|
}
|
|
@@ -37634,7 +37634,7 @@ var Fle = { clone: rf, merge: Ms }, WPe = `void main() {
|
|
|
37634
37634
|
let e = super.toJSON();
|
|
37635
37635
|
return e.meshPerAttribute = this.meshPerAttribute, e.isInstancedBufferAttribute = !0, e;
|
|
37636
37636
|
}
|
|
37637
|
-
}, B6 = new Si(), JW = new Si(), mC = [], XW = new i2(), ske = new Si(), F9 = new
|
|
37637
|
+
}, B6 = new Si(), JW = new Si(), mC = [], XW = new i2(), ske = new Si(), F9 = new zr(), P9 = new hs(), hg = class extends zr {
|
|
37638
37638
|
constructor(e, i, r) {
|
|
37639
37639
|
super(e, i), this.isInstancedMesh = !0, this.instanceMatrix = new LE(new Float32Array(r * 16), 16), this.instanceColor = null, this.morphTexture = null, this.count = r, this.boundingBox = null, this.boundingSphere = null;
|
|
37640
37640
|
for (let n = 0; n < r; n++) this.setMatrixAt(n, ske);
|
|
@@ -37835,7 +37835,7 @@ var hke = class {
|
|
|
37835
37835
|
reset() {
|
|
37836
37836
|
this.list.length = 0, this.index = 0;
|
|
37837
37837
|
}
|
|
37838
|
-
}, Ws = new Si(), dke = new Kt(1, 1, 1), xB = new By(), yC = new i2(), Zd = new hs(), k9 = new we(), KW = new we(), pke = new we(), bB = new hke(), Ka = new
|
|
37838
|
+
}, Ws = new Si(), dke = new Kt(1, 1, 1), xB = new By(), yC = new i2(), Zd = new hs(), k9 = new we(), KW = new we(), pke = new we(), bB = new hke(), Ka = new zr(), vC = [];
|
|
37839
37839
|
function fke(t, e, i = 0) {
|
|
37840
37840
|
let r = e.itemSize;
|
|
37841
37841
|
if (t.isInterleavedBufferAttribute || t.array.constructor !== e.array.constructor) {
|
|
@@ -37853,7 +37853,7 @@ function Wd(t, e) {
|
|
|
37853
37853
|
e.set(new t.constructor(t.buffer, 0, i));
|
|
37854
37854
|
}
|
|
37855
37855
|
}
|
|
37856
|
-
var pH = class extends
|
|
37856
|
+
var pH = class extends zr {
|
|
37857
37857
|
get maxInstanceCount() {
|
|
37858
37858
|
return this._maxInstanceCount;
|
|
37859
37859
|
}
|
|
@@ -44455,11 +44455,11 @@ function cze(t, e, i, r, n, a, s) {
|
|
|
44455
44455
|
}
|
|
44456
44456
|
function A(y, _) {
|
|
44457
44457
|
let x = f(_);
|
|
44458
|
-
x && (x.isCubeTexture || x.mapping === HS) ? (c === void 0 && (c = new
|
|
44458
|
+
x && (x.isCubeTexture || x.mapping === HS) ? (c === void 0 && (c = new zr(new jS(1, 1, 1), new k0({ name: "BackgroundCubeMaterial", uniforms: rf(s1.backgroundCube.uniforms), vertexShader: s1.backgroundCube.vertexShader, fragmentShader: s1.backgroundCube.fragmentShader, side: Rs, depthTest: !1, depthWrite: !1, fog: !1 })), c.geometry.deleteAttribute("normal"), c.geometry.deleteAttribute("uv"), c.onBeforeRender = function(b, E, M) {
|
|
44459
44459
|
this.matrixWorld.copyPosition(M.matrixWorld);
|
|
44460
44460
|
}, Object.defineProperty(c.material, "envMap", { get: function() {
|
|
44461
44461
|
return this.uniforms.envMap.value;
|
|
44462
|
-
} }), n.update(c)), Jd.copy(_.backgroundRotation), Jd.x *= -1, Jd.y *= -1, Jd.z *= -1, x.isCubeTexture && x.isRenderTargetTexture === !1 && (Jd.y *= -1, Jd.z *= -1), c.material.uniforms.envMap.value = x, c.material.uniforms.flipEnvMap.value = x.isCubeTexture && x.isRenderTargetTexture === !1 ? -1 : 1, c.material.uniforms.backgroundBlurriness.value = _.backgroundBlurriness, c.material.uniforms.backgroundIntensity.value = _.backgroundIntensity, c.material.uniforms.backgroundRotation.value.setFromMatrix4(uze.makeRotationFromEuler(Jd)), c.material.toneMapped = Tr.getTransfer(x.colorSpace) !== An, (h !== x || d !== x.version || p !== t.toneMapping) && (c.material.needsUpdate = !0, h = x, d = x.version, p = t.toneMapping), c.layers.enableAll(), y.unshift(c, c.geometry, c.material, 0, 0, null)) : x && x.isTexture && (u === void 0 && (u = new
|
|
44462
|
+
} }), n.update(c)), Jd.copy(_.backgroundRotation), Jd.x *= -1, Jd.y *= -1, Jd.z *= -1, x.isCubeTexture && x.isRenderTargetTexture === !1 && (Jd.y *= -1, Jd.z *= -1), c.material.uniforms.envMap.value = x, c.material.uniforms.flipEnvMap.value = x.isCubeTexture && x.isRenderTargetTexture === !1 ? -1 : 1, c.material.uniforms.backgroundBlurriness.value = _.backgroundBlurriness, c.material.uniforms.backgroundIntensity.value = _.backgroundIntensity, c.material.uniforms.backgroundRotation.value.setFromMatrix4(uze.makeRotationFromEuler(Jd)), c.material.toneMapped = Tr.getTransfer(x.colorSpace) !== An, (h !== x || d !== x.version || p !== t.toneMapping) && (c.material.needsUpdate = !0, h = x, d = x.version, p = t.toneMapping), c.layers.enableAll(), y.unshift(c, c.geometry, c.material, 0, 0, null)) : x && x.isTexture && (u === void 0 && (u = new zr(new $1(2, 2), new k0({ name: "BackgroundMaterial", uniforms: rf(s1.background.uniforms), vertexShader: s1.background.vertexShader, fragmentShader: s1.background.fragmentShader, side: k1, depthTest: !1, depthWrite: !1, fog: !1 })), u.geometry.deleteAttribute("normal"), Object.defineProperty(u.material, "map", { get: function() {
|
|
44463
44463
|
return this.uniforms.t2D.value;
|
|
44464
44464
|
} }), n.update(u)), u.material.uniforms.t2D.value = x, u.material.uniforms.backgroundIntensity.value = _.backgroundIntensity, u.material.toneMapped = Tr.getTransfer(x.colorSpace) !== An, x.matrixAutoUpdate === !0 && x.updateMatrix(), u.material.uniforms.uvTransform.value.copy(x.matrix), (h !== x || d !== x.version || p !== t.toneMapping) && (u.material.needsUpdate = !0, h = x, d = x.version, p = t.toneMapping), u.layers.enableAll(), y.unshift(u, u.geometry, u.material, 0, 0, null));
|
|
44465
44465
|
}
|
|
@@ -44808,13 +44808,13 @@ var D4 = 4, yJ = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], F3 = 20, PB = new yH
|
|
|
44808
44808
|
return n;
|
|
44809
44809
|
}
|
|
44810
44810
|
_compileMaterial(e) {
|
|
44811
|
-
let i = new
|
|
44811
|
+
let i = new zr(this._lodPlanes[0], e);
|
|
44812
44812
|
this._renderer.compile(i, PB);
|
|
44813
44813
|
}
|
|
44814
44814
|
_sceneToCubeUV(e, i, r, n) {
|
|
44815
44815
|
let a = new os(90, 1, i, r), s = [1, -1, 1, 1, 1, 1], o = [1, 1, 1, -1, -1, -1], l = this._renderer, u = l.autoClear, c = l.toneMapping;
|
|
44816
44816
|
l.getClearColor(vJ), l.toneMapping = ed, l.autoClear = !1;
|
|
44817
|
-
let h = new Qo({ name: "PMREM.Background", side: Rs, depthWrite: !1, depthTest: !1 }), d = new
|
|
44817
|
+
let h = new Qo({ name: "PMREM.Background", side: Rs, depthWrite: !1, depthTest: !1 }), d = new zr(new jS(), h), p = !1, f = e.background;
|
|
44818
44818
|
f ? f.isColor && (h.color.copy(f), e.background = null, p = !0) : (h.color.copy(vJ), p = !0);
|
|
44819
44819
|
for (let g = 0; g < 6; g++) {
|
|
44820
44820
|
let A = g % 3;
|
|
@@ -44827,7 +44827,7 @@ var D4 = 4, yJ = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], F3 = 20, PB = new yH
|
|
|
44827
44827
|
_textureToCubeUV(e, i) {
|
|
44828
44828
|
let r = this._renderer, n = e.mapping === W8 || e.mapping === J8;
|
|
44829
44829
|
n ? (this._cubemapMaterial === null && (this._cubemapMaterial = bJ()), this._cubemapMaterial.uniforms.flipEnvMap.value = e.isRenderTargetTexture === !1 ? -1 : 1) : this._equirectMaterial === null && (this._equirectMaterial = xJ());
|
|
44830
|
-
let a = n ? this._cubemapMaterial : this._equirectMaterial, s = new
|
|
44830
|
+
let a = n ? this._cubemapMaterial : this._equirectMaterial, s = new zr(this._lodPlanes[0], a), o = a.uniforms;
|
|
44831
44831
|
o.envMap.value = e;
|
|
44832
44832
|
let l = this._cubeSize;
|
|
44833
44833
|
TC(i, 0, 0, 3 * l, 2 * l), r.setRenderTarget(i), r.render(s, PB);
|
|
@@ -44849,7 +44849,7 @@ var D4 = 4, yJ = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582], F3 = 20, PB = new yH
|
|
|
44849
44849
|
_halfBlur(e, i, r, n, a, s, o) {
|
|
44850
44850
|
let l = this._renderer, u = this._blurMaterial;
|
|
44851
44851
|
s !== "latitudinal" && s !== "longitudinal" && console.error("blur direction must be either latitudinal or longitudinal!");
|
|
44852
|
-
let c = 3, h = new
|
|
44852
|
+
let c = 3, h = new zr(this._lodPlanes[n], u), d = u.uniforms, p = this._sizeLods[r] - 1, f = isFinite(a) ? Math.PI / (2 * p) : 2 * Math.PI / (2 * F3 - 1), g = a / f, A = isFinite(a) ? 1 + Math.floor(c * g) : F3;
|
|
44853
44853
|
A > F3 && console.warn("sigmaRadians, ".concat(a, ", is too large and will clip, as it requested ").concat(A, " samples when the maximum is set to ").concat(F3));
|
|
44854
44854
|
let m = [], v = 0;
|
|
44855
44855
|
for (let E = 0; E < F3; ++E) {
|
|
@@ -46312,7 +46312,7 @@ function XUe(t, e, i) {
|
|
|
46312
46312
|
p.defines.HORIZONTAL_PASS = 1;
|
|
46313
46313
|
let f = new $a();
|
|
46314
46314
|
f.setAttribute("position", new Xr(new Float32Array([-1, -1, 0.5, 3, -1, 0.5, -1, 3, 0.5]), 3));
|
|
46315
|
-
let g = new
|
|
46315
|
+
let g = new zr(f, d), A = this;
|
|
46316
46316
|
this.enabled = !1, this.autoUpdate = !0, this.needsUpdate = !1, this.type = sle;
|
|
46317
46317
|
let m = this.type;
|
|
46318
46318
|
this.render = function(b, E, M) {
|
|
@@ -47260,7 +47260,7 @@ void main() {
|
|
|
47260
47260
|
getMesh(e) {
|
|
47261
47261
|
if (this.texture !== null && this.mesh === null) {
|
|
47262
47262
|
let i = e.cameras[0].viewport, r = new k0({ vertexShader: iVe, fragmentShader: rVe, uniforms: { depthColor: { value: this.texture }, depthWidth: { value: i.z }, depthHeight: { value: i.w } } });
|
|
47263
|
-
this.mesh = new
|
|
47263
|
+
this.mesh = new zr(new $1(20, 20), r);
|
|
47264
47264
|
}
|
|
47265
47265
|
return this.mesh;
|
|
47266
47266
|
}
|
|
@@ -47832,7 +47832,7 @@ var uVe = class {
|
|
|
47832
47832
|
}
|
|
47833
47833
|
function gr(ue, Le, Ve, Se) {
|
|
47834
47834
|
let Te = ue.opaque, st = ue.transmissive, vt = ue.transparent;
|
|
47835
|
-
m.setupLightsView(Ve), j === !0 && et.setGlobalState(_.clippingPlanes, Ve), Se && Ee.viewport(T.copy(Se)), Te.length > 0 &&
|
|
47835
|
+
m.setupLightsView(Ve), j === !0 && et.setGlobalState(_.clippingPlanes, Ve), Se && Ee.viewport(T.copy(Se)), Te.length > 0 && Ur(Te, Le, Ve), st.length > 0 && Ur(st, Le, Ve), vt.length > 0 && Ur(vt, Le, Ve), Ee.buffers.depth.setTest(!0), Ee.buffers.depth.setMask(!0), Ee.buffers.color.setMask(!0), Ee.setPolygonOffset(!1);
|
|
47836
47836
|
}
|
|
47837
47837
|
function Kr(ue, Le, Ve, Se) {
|
|
47838
47838
|
if ((Ve.isScene === !0 ? Ve.overrideMaterial : null) !== null) return;
|
|
@@ -47844,7 +47844,7 @@ var uVe = class {
|
|
|
47844
47844
|
let gt = _.toneMapping;
|
|
47845
47845
|
_.toneMapping = ed;
|
|
47846
47846
|
let Qt = Se.viewport;
|
|
47847
|
-
if (Se.viewport !== void 0 && (Se.viewport = void 0), m.setupLightsView(Se), j === !0 && et.setGlobalState(_.clippingPlanes, Se),
|
|
47847
|
+
if (Se.viewport !== void 0 && (Se.viewport = void 0), m.setupLightsView(Se), j === !0 && et.setGlobalState(_.clippingPlanes, Se), Ur(ue, Ve, Se), le.updateMultisampleRenderTarget(Te), le.updateRenderTargetMipmap(Te), Be.has("WEBGL_multisampled_render_to_texture") === !1) {
|
|
47848
47848
|
let ti = !1;
|
|
47849
47849
|
for (let ci = 0, yi = Le.length; ci < yi; ci++) {
|
|
47850
47850
|
let Qi = Le[ci], qi = Qi.object, ji = Qi.geometry, nr = Qi.material, ar = Qi.group;
|
|
@@ -47857,7 +47857,7 @@ var uVe = class {
|
|
|
47857
47857
|
}
|
|
47858
47858
|
_.setRenderTarget(vt), _.setClearColor(B, z), Qt !== void 0 && (Se.viewport = Qt), _.toneMapping = gt;
|
|
47859
47859
|
}
|
|
47860
|
-
function
|
|
47860
|
+
function Ur(ue, Le, Ve) {
|
|
47861
47861
|
let Se = Le.isScene === !0 ? Le.overrideMaterial : null;
|
|
47862
47862
|
for (let Te = 0, st = ue.length; Te < st; Te++) {
|
|
47863
47863
|
let vt = ue[Te], gt = vt.object, Qt = vt.geometry, ti = Se === null ? vt.material : Se, ci = vt.group;
|
|
@@ -48298,7 +48298,7 @@ var xH = _t((t, e) => {
|
|
|
48298
48298
|
function Kr() {
|
|
48299
48299
|
this.size = 0, this.__data__ = { hash: new Ke(), map: new (Qe || fi)(), string: new Ke() };
|
|
48300
48300
|
}
|
|
48301
|
-
function
|
|
48301
|
+
function Ur(ee) {
|
|
48302
48302
|
var Ce = en(this, ee).delete(ee);
|
|
48303
48303
|
return this.size -= Ce ? 1 : 0, Ce;
|
|
48304
48304
|
}
|
|
@@ -48312,7 +48312,7 @@ var xH = _t((t, e) => {
|
|
|
48312
48312
|
var Ie = en(this, ee), ut = Ie.size;
|
|
48313
48313
|
return Ie.set(ee, Ce), this.size += Ie.size == ut ? 0 : 1, this;
|
|
48314
48314
|
}
|
|
48315
|
-
gr.prototype.clear = Kr, gr.prototype.delete =
|
|
48315
|
+
gr.prototype.clear = Kr, gr.prototype.delete = Ur, gr.prototype.get = pn, gr.prototype.has = on, gr.prototype.set = V2;
|
|
48316
48316
|
function qr(ee) {
|
|
48317
48317
|
var Ce = this.__data__ = new fi(ee);
|
|
48318
48318
|
this.size = Ce.size;
|
|
@@ -48800,7 +48800,7 @@ var UB = [0, 4, 6, 8, 10], Nn = () => {
|
|
|
48800
48800
|
I4 = /* @__PURE__ */ new WeakMap(), Zl = /* @__PURE__ */ new WeakMap(), Wl = /* @__PURE__ */ new WeakMap(), pe(f1e, I4, void 0);
|
|
48801
48801
|
var XS = f1e;
|
|
48802
48802
|
Q();
|
|
48803
|
-
var
|
|
48803
|
+
var Rr;
|
|
48804
48804
|
(function(t) {
|
|
48805
48805
|
t.assertEqual = (n) => n;
|
|
48806
48806
|
function e(n) {
|
|
@@ -48830,12 +48830,12 @@ var kr;
|
|
|
48830
48830
|
return n.map((s) => typeof s == "string" ? "'".concat(s, "'") : s).join(a);
|
|
48831
48831
|
}
|
|
48832
48832
|
t.joinValues = r, t.jsonStringifyReplacer = (n, a) => typeof a == "bigint" ? a.toString() : a;
|
|
48833
|
-
})(
|
|
48833
|
+
})(Rr || (Rr = {}));
|
|
48834
48834
|
var Xk;
|
|
48835
48835
|
(function(t) {
|
|
48836
48836
|
t.mergeShapes = (e, i) => ({ ...e, ...i });
|
|
48837
48837
|
})(Xk || (Xk = {}));
|
|
48838
|
-
var Jt =
|
|
48838
|
+
var Jt = Rr.arrayToEnum(["string", "nan", "number", "integer", "float", "boolean", "date", "bigint", "symbol", "function", "undefined", "null", "array", "object", "unknown", "promise", "void", "never", "map", "set"]), bh = (t) => {
|
|
48839
48839
|
switch (typeof t) {
|
|
48840
48840
|
case "undefined":
|
|
48841
48841
|
return Jt.undefined;
|
|
@@ -48856,7 +48856,7 @@ var Jt = kr.arrayToEnum(["string", "nan", "number", "integer", "float", "boolean
|
|
|
48856
48856
|
default:
|
|
48857
48857
|
return Jt.unknown;
|
|
48858
48858
|
}
|
|
48859
|
-
}, xt =
|
|
48859
|
+
}, xt = Rr.arrayToEnum(["invalid_type", "invalid_literal", "custom", "invalid_union", "invalid_union_discriminator", "invalid_enum_value", "unrecognized_keys", "invalid_arguments", "invalid_return_type", "invalid_date", "invalid_string", "too_small", "too_big", "invalid_intersection_types", "not_multiple_of", "not_finite"]), yVe = (t) => JSON.stringify(t, null, 2).replace(/"([^"]+)":/g, "$1:"), Il = class m1e extends Error {
|
|
48860
48860
|
constructor(e) {
|
|
48861
48861
|
super(), this.issues = [], this.addIssue = (r) => {
|
|
48862
48862
|
this.issues = [...this.issues, r];
|
|
@@ -48894,7 +48894,7 @@ var Jt = kr.arrayToEnum(["string", "nan", "number", "integer", "float", "boolean
|
|
|
48894
48894
|
return this.message;
|
|
48895
48895
|
}
|
|
48896
48896
|
get message() {
|
|
48897
|
-
return JSON.stringify(this.issues,
|
|
48897
|
+
return JSON.stringify(this.issues, Rr.jsonStringifyReplacer, 2);
|
|
48898
48898
|
}
|
|
48899
48899
|
get isEmpty() {
|
|
48900
48900
|
return this.issues.length === 0;
|
|
@@ -48916,19 +48916,19 @@ var uf = (t, e) => {
|
|
|
48916
48916
|
t.received === Jt.undefined ? i = "Required" : i = "Expected ".concat(t.expected, ", received ").concat(t.received);
|
|
48917
48917
|
break;
|
|
48918
48918
|
case xt.invalid_literal:
|
|
48919
|
-
i = "Invalid literal value, expected ".concat(JSON.stringify(t.expected,
|
|
48919
|
+
i = "Invalid literal value, expected ".concat(JSON.stringify(t.expected, Rr.jsonStringifyReplacer));
|
|
48920
48920
|
break;
|
|
48921
48921
|
case xt.unrecognized_keys:
|
|
48922
|
-
i = "Unrecognized key(s) in object: ".concat(
|
|
48922
|
+
i = "Unrecognized key(s) in object: ".concat(Rr.joinValues(t.keys, ", "));
|
|
48923
48923
|
break;
|
|
48924
48924
|
case xt.invalid_union:
|
|
48925
48925
|
i = "Invalid input";
|
|
48926
48926
|
break;
|
|
48927
48927
|
case xt.invalid_union_discriminator:
|
|
48928
|
-
i = "Invalid discriminator value. Expected ".concat(
|
|
48928
|
+
i = "Invalid discriminator value. Expected ".concat(Rr.joinValues(t.options));
|
|
48929
48929
|
break;
|
|
48930
48930
|
case xt.invalid_enum_value:
|
|
48931
|
-
i = "Invalid enum value. Expected ".concat(
|
|
48931
|
+
i = "Invalid enum value. Expected ".concat(Rr.joinValues(t.options), ", received '").concat(t.received, "'");
|
|
48932
48932
|
break;
|
|
48933
48933
|
case xt.invalid_arguments:
|
|
48934
48934
|
i = "Invalid function arguments";
|
|
@@ -48940,7 +48940,7 @@ var uf = (t, e) => {
|
|
|
48940
48940
|
i = "Invalid date";
|
|
48941
48941
|
break;
|
|
48942
48942
|
case xt.invalid_string:
|
|
48943
|
-
typeof t.validation == "object" ? "includes" in t.validation ? (i = 'Invalid input: must include "'.concat(t.validation.includes, '"'), typeof t.validation.position == "number" && (i = "".concat(i, " at one or more positions greater than or equal to ").concat(t.validation.position))) : "startsWith" in t.validation ? i = 'Invalid input: must start with "'.concat(t.validation.startsWith, '"') : "endsWith" in t.validation ? i = 'Invalid input: must end with "'.concat(t.validation.endsWith, '"') :
|
|
48943
|
+
typeof t.validation == "object" ? "includes" in t.validation ? (i = 'Invalid input: must include "'.concat(t.validation.includes, '"'), typeof t.validation.position == "number" && (i = "".concat(i, " at one or more positions greater than or equal to ").concat(t.validation.position))) : "startsWith" in t.validation ? i = 'Invalid input: must start with "'.concat(t.validation.startsWith, '"') : "endsWith" in t.validation ? i = 'Invalid input: must end with "'.concat(t.validation.endsWith, '"') : Rr.assertNever(t.validation) : t.validation !== "regex" ? i = "Invalid ".concat(t.validation) : i = "Invalid";
|
|
48944
48944
|
break;
|
|
48945
48945
|
case xt.too_small:
|
|
48946
48946
|
t.type === "array" ? i = "Array must contain ".concat(t.exact ? "exactly" : t.inclusive ? "at least" : "more than", " ").concat(t.minimum, " element(s)") : t.type === "string" ? i = "String must contain ".concat(t.exact ? "exactly" : t.inclusive ? "at least" : "over", " ").concat(t.minimum, " character(s)") : t.type === "number" ? i = "Number must be ".concat(t.exact ? "exactly equal to " : t.inclusive ? "greater than or equal to " : "greater than ").concat(t.minimum) : t.type === "date" ? i = "Date must be ".concat(t.exact ? "exactly equal to " : t.inclusive ? "greater than or equal to " : "greater than ").concat(new Date(Number(t.minimum))) : i = "Invalid input";
|
|
@@ -48961,7 +48961,7 @@ var uf = (t, e) => {
|
|
|
48961
48961
|
i = "Number must be finite";
|
|
48962
48962
|
break;
|
|
48963
48963
|
default:
|
|
48964
|
-
i = e.defaultError,
|
|
48964
|
+
i = e.defaultError, Rr.assertNever(t);
|
|
48965
48965
|
}
|
|
48966
48966
|
return { message: i };
|
|
48967
48967
|
}, g1e = uf;
|
|
@@ -49206,7 +49206,7 @@ var cf = class E7 extends ur {
|
|
|
49206
49206
|
} catch {
|
|
49207
49207
|
r = this._getOrReturnCtx(e, r), $t(r, { validation: "url", code: xt.invalid_string, message: n.message }), i.dirty();
|
|
49208
49208
|
}
|
|
49209
|
-
else n.kind === "regex" ? (n.regex.lastIndex = 0, n.regex.test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { validation: "regex", code: xt.invalid_string, message: n.message }), i.dirty())) : n.kind === "trim" ? e.data = e.data.trim() : n.kind === "includes" ? e.data.includes(n.value, n.position) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: { includes: n.value, position: n.position }, message: n.message }), i.dirty()) : n.kind === "toLowerCase" ? e.data = e.data.toLowerCase() : n.kind === "toUpperCase" ? e.data = e.data.toUpperCase() : n.kind === "startsWith" ? e.data.startsWith(n.value) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: { startsWith: n.value }, message: n.message }), i.dirty()) : n.kind === "endsWith" ? e.data.endsWith(n.value) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: { endsWith: n.value }, message: n.message }), i.dirty()) : n.kind === "datetime" ? _1e(n).test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: "datetime", message: n.message }), i.dirty()) : n.kind === "date" ? TVe.test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: "date", message: n.message }), i.dirty()) : n.kind === "time" ? FVe(n).test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: "time", message: n.message }), i.dirty()) : n.kind === "duration" ? MVe.test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { validation: "duration", code: xt.invalid_string, message: n.message }), i.dirty()) : n.kind === "ip" ? PVe(e.data, n.version) || (r = this._getOrReturnCtx(e, r), $t(r, { validation: "ip", code: xt.invalid_string, message: n.message }), i.dirty()) : n.kind === "base64" ? LVe.test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { validation: "base64", code: xt.invalid_string, message: n.message }), i.dirty()) :
|
|
49209
|
+
else n.kind === "regex" ? (n.regex.lastIndex = 0, n.regex.test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { validation: "regex", code: xt.invalid_string, message: n.message }), i.dirty())) : n.kind === "trim" ? e.data = e.data.trim() : n.kind === "includes" ? e.data.includes(n.value, n.position) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: { includes: n.value, position: n.position }, message: n.message }), i.dirty()) : n.kind === "toLowerCase" ? e.data = e.data.toLowerCase() : n.kind === "toUpperCase" ? e.data = e.data.toUpperCase() : n.kind === "startsWith" ? e.data.startsWith(n.value) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: { startsWith: n.value }, message: n.message }), i.dirty()) : n.kind === "endsWith" ? e.data.endsWith(n.value) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: { endsWith: n.value }, message: n.message }), i.dirty()) : n.kind === "datetime" ? _1e(n).test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: "datetime", message: n.message }), i.dirty()) : n.kind === "date" ? TVe.test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: "date", message: n.message }), i.dirty()) : n.kind === "time" ? FVe(n).test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.invalid_string, validation: "time", message: n.message }), i.dirty()) : n.kind === "duration" ? MVe.test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { validation: "duration", code: xt.invalid_string, message: n.message }), i.dirty()) : n.kind === "ip" ? PVe(e.data, n.version) || (r = this._getOrReturnCtx(e, r), $t(r, { validation: "ip", code: xt.invalid_string, message: n.message }), i.dirty()) : n.kind === "base64" ? LVe.test(e.data) || (r = this._getOrReturnCtx(e, r), $t(r, { validation: "base64", code: xt.invalid_string, message: n.message }), i.dirty()) : Rr.assertNever(n);
|
|
49210
49210
|
return { status: i.value, value: e.data };
|
|
49211
49211
|
}
|
|
49212
49212
|
_regex(e, i, r) {
|
|
@@ -49362,7 +49362,7 @@ var gg = class eR extends ur {
|
|
|
49362
49362
|
return $t(n, { code: xt.invalid_type, expected: Jt.number, received: n.parsedType }), Oi;
|
|
49363
49363
|
}
|
|
49364
49364
|
let i, r = new Co();
|
|
49365
|
-
for (let n of this._def.checks) n.kind === "int" ?
|
|
49365
|
+
for (let n of this._def.checks) n.kind === "int" ? Rr.isInteger(e.data) || (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.invalid_type, expected: "integer", received: "float", message: n.message }), r.dirty()) : n.kind === "min" ? (n.inclusive ? e.data < n.value : e.data <= n.value) && (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.too_small, minimum: n.value, type: "number", inclusive: n.inclusive, exact: !1, message: n.message }), r.dirty()) : n.kind === "max" ? (n.inclusive ? e.data > n.value : e.data >= n.value) && (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.too_big, maximum: n.value, type: "number", inclusive: n.inclusive, exact: !1, message: n.message }), r.dirty()) : n.kind === "multipleOf" ? kVe(e.data, n.value) !== 0 && (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.not_multiple_of, multipleOf: n.value, message: n.message }), r.dirty()) : n.kind === "finite" ? Number.isFinite(e.data) || (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.not_finite, message: n.message }), r.dirty()) : Rr.assertNever(n);
|
|
49366
49366
|
return { status: r.value, value: e.data };
|
|
49367
49367
|
}
|
|
49368
49368
|
gte(e, i) {
|
|
@@ -49418,7 +49418,7 @@ var gg = class eR extends ur {
|
|
|
49418
49418
|
return e;
|
|
49419
49419
|
}
|
|
49420
49420
|
get isInt() {
|
|
49421
|
-
return !!this._def.checks.find((e) => e.kind === "int" || e.kind === "multipleOf" &&
|
|
49421
|
+
return !!this._def.checks.find((e) => e.kind === "int" || e.kind === "multipleOf" && Rr.isInteger(e.value));
|
|
49422
49422
|
}
|
|
49423
49423
|
get isFinite() {
|
|
49424
49424
|
let e = null, i = null;
|
|
@@ -49440,7 +49440,7 @@ var yg = class tR extends ur {
|
|
|
49440
49440
|
return $t(n, { code: xt.invalid_type, expected: Jt.bigint, received: n.parsedType }), Oi;
|
|
49441
49441
|
}
|
|
49442
49442
|
let i, r = new Co();
|
|
49443
|
-
for (let n of this._def.checks) n.kind === "min" ? (n.inclusive ? e.data < n.value : e.data <= n.value) && (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.too_small, type: "bigint", minimum: n.value, inclusive: n.inclusive, message: n.message }), r.dirty()) : n.kind === "max" ? (n.inclusive ? e.data > n.value : e.data >= n.value) && (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.too_big, type: "bigint", maximum: n.value, inclusive: n.inclusive, message: n.message }), r.dirty()) : n.kind === "multipleOf" ? e.data % n.value !== BigInt(0) && (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.not_multiple_of, multipleOf: n.value, message: n.message }), r.dirty()) :
|
|
49443
|
+
for (let n of this._def.checks) n.kind === "min" ? (n.inclusive ? e.data < n.value : e.data <= n.value) && (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.too_small, type: "bigint", minimum: n.value, inclusive: n.inclusive, message: n.message }), r.dirty()) : n.kind === "max" ? (n.inclusive ? e.data > n.value : e.data >= n.value) && (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.too_big, type: "bigint", maximum: n.value, inclusive: n.inclusive, message: n.message }), r.dirty()) : n.kind === "multipleOf" ? e.data % n.value !== BigInt(0) && (i = this._getOrReturnCtx(e, i), $t(i, { code: xt.not_multiple_of, multipleOf: n.value, message: n.message }), r.dirty()) : Rr.assertNever(n);
|
|
49444
49444
|
return { status: r.value, value: e.data };
|
|
49445
49445
|
}
|
|
49446
49446
|
gte(e, i) {
|
|
@@ -49512,7 +49512,7 @@ var Cg = class x1e extends ur {
|
|
|
49512
49512
|
return $t(n, { code: xt.invalid_date }), Oi;
|
|
49513
49513
|
}
|
|
49514
49514
|
let i = new Co(), r;
|
|
49515
|
-
for (let n of this._def.checks) n.kind === "min" ? e.data.getTime() < n.value && (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.too_small, message: n.message, inclusive: !0, exact: !1, minimum: n.value, type: "date" }), i.dirty()) : n.kind === "max" ? e.data.getTime() > n.value && (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.too_big, message: n.message, inclusive: !0, exact: !1, maximum: n.value, type: "date" }), i.dirty()) :
|
|
49515
|
+
for (let n of this._def.checks) n.kind === "min" ? e.data.getTime() < n.value && (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.too_small, message: n.message, inclusive: !0, exact: !1, minimum: n.value, type: "date" }), i.dirty()) : n.kind === "max" ? e.data.getTime() > n.value && (r = this._getOrReturnCtx(e, r), $t(r, { code: xt.too_big, message: n.message, inclusive: !0, exact: !1, maximum: n.value, type: "date" }), i.dirty()) : Rr.assertNever(n);
|
|
49516
49516
|
return { status: i.value, value: new Date(e.data.getTime()) };
|
|
49517
49517
|
}
|
|
49518
49518
|
_addCheck(e) {
|
|
@@ -49646,7 +49646,7 @@ var R0 = class Z0 extends ur {
|
|
|
49646
49646
|
}
|
|
49647
49647
|
_getCached() {
|
|
49648
49648
|
if (this._cached !== null) return this._cached;
|
|
49649
|
-
let e = this._def.shape(), i =
|
|
49649
|
+
let e = this._def.shape(), i = Rr.objectKeys(e);
|
|
49650
49650
|
return this._cached = { shape: e, keys: i };
|
|
49651
49651
|
}
|
|
49652
49652
|
_parse(e) {
|
|
@@ -49712,13 +49712,13 @@ var R0 = class Z0 extends ur {
|
|
|
49712
49712
|
}
|
|
49713
49713
|
pick(e) {
|
|
49714
49714
|
let i = {};
|
|
49715
|
-
return
|
|
49715
|
+
return Rr.objectKeys(e).forEach((r) => {
|
|
49716
49716
|
e[r] && this.shape[r] && (i[r] = this.shape[r]);
|
|
49717
49717
|
}), new Z0({ ...this._def, shape: () => i });
|
|
49718
49718
|
}
|
|
49719
49719
|
omit(e) {
|
|
49720
49720
|
let i = {};
|
|
49721
|
-
return
|
|
49721
|
+
return Rr.objectKeys(this.shape).forEach((r) => {
|
|
49722
49722
|
e[r] || (i[r] = this.shape[r]);
|
|
49723
49723
|
}), new Z0({ ...this._def, shape: () => i });
|
|
49724
49724
|
}
|
|
@@ -49727,14 +49727,14 @@ var R0 = class Z0 extends ur {
|
|
|
49727
49727
|
}
|
|
49728
49728
|
partial(e) {
|
|
49729
49729
|
let i = {};
|
|
49730
|
-
return
|
|
49730
|
+
return Rr.objectKeys(this.shape).forEach((r) => {
|
|
49731
49731
|
let n = this.shape[r];
|
|
49732
49732
|
e && !e[r] ? i[r] = n : i[r] = n.optional();
|
|
49733
49733
|
}), new Z0({ ...this._def, shape: () => i });
|
|
49734
49734
|
}
|
|
49735
49735
|
required(e) {
|
|
49736
49736
|
let i = {};
|
|
49737
|
-
return
|
|
49737
|
+
return Rr.objectKeys(this.shape).forEach((r) => {
|
|
49738
49738
|
if (e && !e[r]) i[r] = this.shape[r];
|
|
49739
49739
|
else {
|
|
49740
49740
|
let n = this.shape[r];
|
|
@@ -49744,7 +49744,7 @@ var R0 = class Z0 extends ur {
|
|
|
49744
49744
|
}), new Z0({ ...this._def, shape: () => i });
|
|
49745
49745
|
}
|
|
49746
49746
|
keyof() {
|
|
49747
|
-
return I1e(
|
|
49747
|
+
return I1e(Rr.objectKeys(this.shape));
|
|
49748
49748
|
}
|
|
49749
49749
|
};
|
|
49750
49750
|
R0.create = (t, e) => new R0({ shape: () => t, unknownKeys: "strip", catchall: Cc.create(), typeName: Bi.ZodObject, ...Ji(e) });
|
|
@@ -49780,7 +49780,7 @@ var xg = class extends ur {
|
|
|
49780
49780
|
}
|
|
49781
49781
|
};
|
|
49782
49782
|
xg.create = (t, e) => new xg({ options: t, typeName: Bi.ZodUnion, ...Ji(e) });
|
|
49783
|
-
var Wc = (t) => t instanceof Eg ? Wc(t.schema) : t instanceof Rl ? Wc(t.innerType()) : t instanceof Mg ? [t.value] : t instanceof Ry ? t.options : t instanceof Sg ?
|
|
49783
|
+
var Wc = (t) => t instanceof Eg ? Wc(t.schema) : t instanceof Rl ? Wc(t.innerType()) : t instanceof Mg ? [t.value] : t instanceof Ry ? t.options : t instanceof Sg ? Rr.objectValues(t.enum) : t instanceof Dg ? Wc(t._def.innerType) : t instanceof wg ? [void 0] : t instanceof _g ? [null] : t instanceof I1 ? [void 0, ...Wc(t.unwrap())] : t instanceof fd ? [null, ...Wc(t.unwrap())] : t instanceof bH || t instanceof Bg ? Wc(t.unwrap()) : t instanceof Ig ? Wc(t._def.innerType) : [], b1e = class E1e extends ur {
|
|
49784
49784
|
_parse(e) {
|
|
49785
49785
|
let { ctx: i } = this._processInputParams(e);
|
|
49786
49786
|
if (i.parsedType !== Jt.object) return $t(i, { code: xt.invalid_type, expected: Jt.object, received: i.parsedType }), Oi;
|
|
@@ -49813,7 +49813,7 @@ function iR(t, e) {
|
|
|
49813
49813
|
let i = bh(t), r = bh(e);
|
|
49814
49814
|
if (t === e) return { valid: !0, data: t };
|
|
49815
49815
|
if (i === Jt.object && r === Jt.object) {
|
|
49816
|
-
let n =
|
|
49816
|
+
let n = Rr.objectKeys(e), a = Rr.objectKeys(t).filter((o) => n.indexOf(o) !== -1), s = { ...t, ...e };
|
|
49817
49817
|
for (let o of a) {
|
|
49818
49818
|
let l = iR(t[o], e[o]);
|
|
49819
49819
|
if (!l.valid) return { valid: !1 };
|
|
@@ -50039,7 +50039,7 @@ var Ry = class aR extends ur {
|
|
|
50039
50039
|
_parse(e) {
|
|
50040
50040
|
if (typeof e.data != "string") {
|
|
50041
50041
|
let i = this._getOrReturnCtx(e), r = this._def.values;
|
|
50042
|
-
return $t(i, { expected:
|
|
50042
|
+
return $t(i, { expected: Rr.joinValues(r), received: i.parsedType, code: xt.invalid_type }), Oi;
|
|
50043
50043
|
}
|
|
50044
50044
|
if (NE(this, x7) || v1e(this, x7, new Set(this._def.values)), !NE(this, x7).has(e.data)) {
|
|
50045
50045
|
let i = this._getOrReturnCtx(e), r = this._def.values;
|
|
@@ -50079,13 +50079,13 @@ var Sg = class extends ur {
|
|
|
50079
50079
|
super(...arguments), b7.set(this, void 0);
|
|
50080
50080
|
}
|
|
50081
50081
|
_parse(e) {
|
|
50082
|
-
let i =
|
|
50082
|
+
let i = Rr.getValidEnumValues(this._def.values), r = this._getOrReturnCtx(e);
|
|
50083
50083
|
if (r.parsedType !== Jt.string && r.parsedType !== Jt.number) {
|
|
50084
|
-
let n =
|
|
50085
|
-
return $t(r, { expected:
|
|
50084
|
+
let n = Rr.objectValues(i);
|
|
50085
|
+
return $t(r, { expected: Rr.joinValues(n), received: r.parsedType, code: xt.invalid_type }), Oi;
|
|
50086
50086
|
}
|
|
50087
|
-
if (NE(this, b7) || v1e(this, b7, new Set(
|
|
50088
|
-
let n =
|
|
50087
|
+
if (NE(this, b7) || v1e(this, b7, new Set(Rr.getValidEnumValues(this._def.values))), !NE(this, b7).has(e.data)) {
|
|
50088
|
+
let n = Rr.objectValues(i);
|
|
50089
50089
|
return $t(r, { received: r.data, code: xt.invalid_enum_value, options: n }), Oi;
|
|
50090
50090
|
}
|
|
50091
50091
|
return zs(e.data);
|
|
@@ -50153,7 +50153,7 @@ var Rl = class extends ur {
|
|
|
50153
50153
|
if (o instanceof Promise) throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");
|
|
50154
50154
|
return { status: i.value, value: o };
|
|
50155
50155
|
} else return this._def.schema._parseAsync({ data: r.data, path: r.path, parent: r }).then((s) => Ag(s) ? Promise.resolve(n.transform(s.value, a)).then((o) => ({ status: i.value, value: o })) : s);
|
|
50156
|
-
|
|
50156
|
+
Rr.assertNever(n);
|
|
50157
50157
|
}
|
|
50158
50158
|
};
|
|
50159
50159
|
Rl.create = (t, e, i) => new Rl({ schema: t, typeName: Bi.ZodEffects, effect: e, ...Ji(i) });
|
|
@@ -50257,7 +50257,7 @@ var OVe = { object: R0.lazycreate }, Bi;
|
|
|
50257
50257
|
t.ZodString = "ZodString", t.ZodNumber = "ZodNumber", t.ZodNaN = "ZodNaN", t.ZodBigInt = "ZodBigInt", t.ZodBoolean = "ZodBoolean", t.ZodDate = "ZodDate", t.ZodSymbol = "ZodSymbol", t.ZodUndefined = "ZodUndefined", t.ZodNull = "ZodNull", t.ZodAny = "ZodAny", t.ZodUnknown = "ZodUnknown", t.ZodNever = "ZodNever", t.ZodVoid = "ZodVoid", t.ZodArray = "ZodArray", t.ZodObject = "ZodObject", t.ZodUnion = "ZodUnion", t.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", t.ZodIntersection = "ZodIntersection", t.ZodTuple = "ZodTuple", t.ZodRecord = "ZodRecord", t.ZodMap = "ZodMap", t.ZodSet = "ZodSet", t.ZodFunction = "ZodFunction", t.ZodLazy = "ZodLazy", t.ZodLiteral = "ZodLiteral", t.ZodEnum = "ZodEnum", t.ZodEffects = "ZodEffects", t.ZodNativeEnum = "ZodNativeEnum", t.ZodOptional = "ZodOptional", t.ZodNullable = "ZodNullable", t.ZodDefault = "ZodDefault", t.ZodCatch = "ZodCatch", t.ZodPromise = "ZodPromise", t.ZodBranded = "ZodBranded", t.ZodPipeline = "ZodPipeline", t.ZodReadonly = "ZodReadonly";
|
|
50258
50258
|
})(Bi || (Bi = {}));
|
|
50259
50259
|
var NVe = (t, e = { message: "Input not instance of ".concat(t.name) }) => L1e((i) => i instanceof t, e), T1e = cf.create, F1e = gg.create, zVe = QE.create, UVe = yg.create, P1e = vg.create, VVe = Cg.create, HVe = zE.create, QVe = wg.create, jVe = _g.create, $Ve = hf.create, GVe = cp.create, YVe = Cc.create, ZVe = UE.create, WVe = Rp.create, JVe = R0.create, XVe = R0.strictCreate, KVe = xg.create, qVe = b1e.create, eHe = bg.create, tHe = pd.create, iHe = S1e.create, rHe = VE.create, nHe = HE.create, aHe = D1e.create, sHe = Eg.create, oHe = Mg.create, lHe = Ry.create, uHe = Sg.create, cHe = df.create, WJ = Rl.create, hHe = I1.create, dHe = fd.create, pHe = Rl.createWithPreprocess, fHe = EH.create, AHe = () => T1e().optional(), mHe = () => F1e().optional(), gHe = () => P1e().optional(), yHe = { string: (t) => cf.create({ ...t, coerce: !0 }), number: (t) => gg.create({ ...t, coerce: !0 }), boolean: (t) => vg.create({ ...t, coerce: !0 }), bigint: (t) => yg.create({ ...t, coerce: !0 }), date: (t) => Cg.create({ ...t, coerce: !0 }) }, vHe = Oi, Oe = Object.freeze({ __proto__: null, defaultErrorMap: uf, setErrorMap: vVe, getErrorMap: kE, makeIssue: RE, EMPTY_PATH: CVe, addIssueToContext: $t, ParseStatus: Co, INVALID: Oi, DIRTY: OE, OK: zs, isAborted: Kk, isDirty: qk, isValid: Ag, isAsync: mg, get util() {
|
|
50260
|
-
return
|
|
50260
|
+
return Rr;
|
|
50261
50261
|
}, get objectUtil() {
|
|
50262
50262
|
return Xk;
|
|
50263
50263
|
}, ZodParsedType: Jt, getParsedType: bh, ZodType: ur, datetimeRegex: _1e, ZodString: cf, ZodNumber: gg, ZodBigInt: yg, ZodBoolean: vg, ZodDate: Cg, ZodSymbol: zE, ZodUndefined: wg, ZodNull: _g, ZodAny: hf, ZodUnknown: cp, ZodNever: Cc, ZodVoid: UE, ZodArray: Rp, ZodObject: R0, ZodUnion: xg, ZodDiscriminatedUnion: b1e, ZodIntersection: bg, ZodTuple: pd, ZodRecord: S1e, ZodMap: VE, ZodSet: HE, ZodFunction: D1e, ZodLazy: Eg, ZodLiteral: Mg, ZodEnum: Ry, ZodNativeEnum: Sg, ZodPromise: df, ZodEffects: Rl, ZodTransformer: Rl, ZodOptional: I1, ZodNullable: fd, ZodDefault: Dg, ZodCatch: Ig, ZodNaN: QE, BRAND: RVe, ZodBranded: bH, ZodPipeline: EH, ZodReadonly: Bg, custom: L1e, Schema: ur, ZodSchema: ur, late: OVe, get ZodFirstPartyTypeKind() {
|
|
@@ -51262,7 +51262,7 @@ var lQe = class extends gn {
|
|
|
51262
51262
|
i = e.components[0];
|
|
51263
51263
|
let n = i.feature.properties.textArea;
|
|
51264
51264
|
if (!n) continue;
|
|
51265
|
-
let a = new $1(n.maxWidth, n.maxHeight), s = new
|
|
51265
|
+
let a = new $1(n.maxWidth, n.maxHeight), s = new zr(a, new Qo({ color: "pink" })), { textMesh: o } = i;
|
|
51266
51266
|
if (!o) continue;
|
|
51267
51267
|
let l = this.convertTo3DMapPosition(n.position, N9);
|
|
51268
51268
|
s.position.copy(l), s.position.z = o.position.z - 0.1, s.rotation.z = o.rotation.z, jB.identity(), jB.makeRotationAxis(new we(0, 0, 1), o.userData.rotationZ), N9.set(n.maxWidth / 2, 0, 0), N9.applyMatrix4(jB), s.position.x -= N9.x, s.position.y -= N9.y, this.rendererState.entityScene.add(s), this.debugTextAreaMesh.set(r, s);
|
|
@@ -52138,7 +52138,7 @@ function OC(t, e) {
|
|
|
52138
52138
|
return typeof e == "string" || typeof e == "number" ? (i = t.geometry2DMap.get(e), i == null && (i = t.geometry3DMap.get(e))) : typeof (e == null ? void 0 : e.id) == "string" || typeof (e == null ? void 0 : e.id) == "number" ? (i = t.geometry2DMap.get(e.id), i == null && (i = t.geometry3DMap.get(e.id))) : i = e, i;
|
|
52139
52139
|
}
|
|
52140
52140
|
function qQe(t) {
|
|
52141
|
-
return new cd(new
|
|
52141
|
+
return new cd(new Vr(t[0][0], t[0][1]), new Vr(t[1][0], t[1][1])).getCenter().toArray();
|
|
52142
52142
|
}
|
|
52143
52143
|
function eje(t, e) {
|
|
52144
52144
|
return t < e || e <= 12;
|
|
@@ -53394,10 +53394,10 @@ var uue = class {
|
|
|
53394
53394
|
}), At("Map", n.call(Pe), Kr, Et);
|
|
53395
53395
|
}
|
|
53396
53396
|
if (ye(Pe)) {
|
|
53397
|
-
var
|
|
53397
|
+
var Ur = [];
|
|
53398
53398
|
return u && u.call(Pe, function(r2) {
|
|
53399
|
-
|
|
53400
|
-
}), At("Set", l.call(Pe),
|
|
53399
|
+
Ur.push(Zt(r2, Pe));
|
|
53400
|
+
}), At("Set", l.call(Pe), Ur, Et);
|
|
53401
53401
|
}
|
|
53402
53402
|
if (le(Pe)) return qe("WeakMap");
|
|
53403
53403
|
if (Re(Pe)) return qe("WeakSet");
|
|
@@ -55300,7 +55300,7 @@ var uue = class {
|
|
|
55300
55300
|
var S = c();
|
|
55301
55301
|
return this.addTo(w, S), S;
|
|
55302
55302
|
}
|
|
55303
|
-
function
|
|
55303
|
+
function Ur(w) {
|
|
55304
55304
|
var S = c();
|
|
55305
55305
|
return this.subTo(w, S), S;
|
|
55306
55306
|
}
|
|
@@ -55468,7 +55468,7 @@ var uue = class {
|
|
|
55468
55468
|
}
|
|
55469
55469
|
return !0;
|
|
55470
55470
|
}
|
|
55471
|
-
u.prototype.chunkSize = Ue, u.prototype.toRadix = nt, u.prototype.fromRadix = He, u.prototype.fromNumber = qe, u.prototype.bitwiseTo = ot, u.prototype.changeBit = sn, u.prototype.addTo = gr, u.prototype.dMultiply = K2, u.prototype.dAddOffset = r2, u.prototype.multiplyLowerTo = Ve, u.prototype.multiplyUpperTo = Se, u.prototype.modInt = Qi, u.prototype.millerRabin = ni, u.prototype.clone = le, u.prototype.intValue = ae, u.prototype.byteValue = ye, u.prototype.shortValue = Re, u.prototype.signum = Fe, u.prototype.toByteArray = At, u.prototype.equals = et, u.prototype.min = at, u.prototype.max = bt, u.prototype.and = Pe, u.prototype.or = Lt, u.prototype.xor = Qe, u.prototype.andNot = Xe, u.prototype.not = Ke, u.prototype.shiftLeft = ct, u.prototype.shiftRight = Mt, u.prototype.getLowestSetBit = Zt, u.prototype.bitCount = fi, u.prototype.testBit = Hi, u.prototype.setBit = Qn, u.prototype.clearBit = Ki, u.prototype.flipBit = Zr, u.prototype.add = Kr, u.prototype.subtract =
|
|
55471
|
+
u.prototype.chunkSize = Ue, u.prototype.toRadix = nt, u.prototype.fromRadix = He, u.prototype.fromNumber = qe, u.prototype.bitwiseTo = ot, u.prototype.changeBit = sn, u.prototype.addTo = gr, u.prototype.dMultiply = K2, u.prototype.dAddOffset = r2, u.prototype.multiplyLowerTo = Ve, u.prototype.multiplyUpperTo = Se, u.prototype.modInt = Qi, u.prototype.millerRabin = ni, u.prototype.clone = le, u.prototype.intValue = ae, u.prototype.byteValue = ye, u.prototype.shortValue = Re, u.prototype.signum = Fe, u.prototype.toByteArray = At, u.prototype.equals = et, u.prototype.min = at, u.prototype.max = bt, u.prototype.and = Pe, u.prototype.or = Lt, u.prototype.xor = Qe, u.prototype.andNot = Xe, u.prototype.not = Ke, u.prototype.shiftLeft = ct, u.prototype.shiftRight = Mt, u.prototype.getLowestSetBit = Zt, u.prototype.bitCount = fi, u.prototype.testBit = Hi, u.prototype.setBit = Qn, u.prototype.clearBit = Ki, u.prototype.flipBit = Zr, u.prototype.add = Kr, u.prototype.subtract = Ur, u.prototype.multiply = pn, u.prototype.divide = V2, u.prototype.remainder = qr, u.prototype.divideAndRemainder = jn, u.prototype.modPow = ci, u.prototype.modInverse = qi, u.prototype.pow = Le, u.prototype.gcd = yi, u.prototype.isProbablePrime = ar, u.prototype.square = on;
|
|
55472
55472
|
var qt = u;
|
|
55473
55473
|
qt.prototype.IsNegative = function() {
|
|
55474
55474
|
return this.compareTo(qt.ZERO) == -1;
|
|
@@ -60556,7 +60556,7 @@ L4 = /* @__PURE__ */ new WeakMap(), ku = /* @__PURE__ */ new WeakMap(), qR = /*
|
|
|
60556
60556
|
if (A.type === "custom-geometry") return g;
|
|
60557
60557
|
let m = A.components[0];
|
|
60558
60558
|
return "geometry" in m && m.geometry instanceof $a && g.push(m.geometry), g;
|
|
60559
|
-
}, []), d = C(this, tO).call(this, l, Number(u), t.material.transparent), p = ky(h, !0), f = new
|
|
60559
|
+
}, []), d = C(this, tO).call(this, l, Number(u), t.material.transparent), p = ky(h, !0), f = new zr(p, d);
|
|
60560
60560
|
f.position.copy(t.position), f.rotation.copy(t.rotation), f.scale.copy(t.scale), f.visible = !!c, C(this, WE).call(this, f.position, f.scale, f.rotation, f.quaternion), r.push(C(this, T_).call(this, f));
|
|
60561
60561
|
}), r;
|
|
60562
60562
|
}, rO = /* @__PURE__ */ new WeakSet(), Sce = function(t) {
|
|
@@ -60704,7 +60704,7 @@ var P_, k_, R_ = class {
|
|
|
60704
60704
|
n.material.opacity = a, n.material.transparent = a < 1, n.material.needsUpdate = !0;
|
|
60705
60705
|
}
|
|
60706
60706
|
} else (r = this.mesh) == null || r.traverse((n) => {
|
|
60707
|
-
n instanceof
|
|
60707
|
+
n instanceof zr && n.material && (Array.isArray(n.material) ? n.material.forEach((a) => {
|
|
60708
60708
|
a.opacity = t;
|
|
60709
60709
|
}) : n.material.opacity = t);
|
|
60710
60710
|
});
|
|
@@ -60722,7 +60722,7 @@ function Tce(t) {
|
|
|
60722
60722
|
if (n || a) {
|
|
60723
60723
|
let s = rZe(a, n);
|
|
60724
60724
|
(e = i.mesh) == null || e.traverse((o) => {
|
|
60725
|
-
o instanceof
|
|
60725
|
+
o instanceof zr && o.material && (Array.isArray(o.material) ? o.material.forEach((l) => {
|
|
60726
60726
|
s[l.name] && l.color.set(s[l.name].color);
|
|
60727
60727
|
}) : s[o.material.name] && o.material.color.set(s[o.material.name].color));
|
|
60728
60728
|
});
|
|
@@ -61661,7 +61661,7 @@ var BZe = 512, kce = -85.051129, Rce = 85.051129, z_ = 1e4, LZe = { chain: "chai
|
|
|
61661
61661
|
for (let s of uO) s.endsWith("start") ? (this.off(s, this.setCameraMoving), s.startsWith("user") && this.off(s, this.setUserInteracting)) : (s.endsWith("end") || s.endsWith("cancel")) && (this.off(s, this.unsetCameraMoving), s.startsWith("user") && this.off(s, this.unsetUserInteracting));
|
|
61662
61662
|
this.removeEventListeners(), this.scene.remove(this.cameraPlane);
|
|
61663
61663
|
}), P(this, "createCameraPlane", () => {
|
|
61664
|
-
let s = 1e10, o = 1, l = new $1(s, s, o, o), u = new Qo({ color: 0, wireframe: ZX, visible: ZX }), c = new
|
|
61664
|
+
let s = 1e10, o = 1, l = new $1(s, s, o, o), u = new Qo({ color: 0, wireframe: ZX, visible: ZX }), c = new zr(l, u);
|
|
61665
61665
|
return this.scene.add(c), c;
|
|
61666
61666
|
}), P(this, "addEventListeners", () => {
|
|
61667
61667
|
let { domElement: s } = this.renderer;
|
|
@@ -62292,8 +62292,8 @@ var XX = !1, vn, ih, G7, bs, to, F5, e1, mu, tWe = class extends gn {
|
|
|
62292
62292
|
if (xe(this, to, new k0({ uniforms: { uTexture: { value: t }, uSize: { value: new $r(0, 0, 0, 0) }, uOpacity: { value: 0.7 } }, vertexShader: GZe, fragmentShader: YZe, depthWrite: !1, depthTest: !1, defines: { debug: XX }, wireframe: XX, transparent: !0, visible: !0 })), C(this, bs)) C(this, bs).material = C(this, to), C(this, bs).material.needsUpdate = !0;
|
|
62293
62293
|
else {
|
|
62294
62294
|
let e = new $1(2, 2, 1, 1);
|
|
62295
|
-
xe(this, bs, new
|
|
62296
|
-
let i = new jS(1, 1, 1), r = new
|
|
62295
|
+
xe(this, bs, new zr(e, C(this, to))), C(this, bs).position.set(0, 0, -1), C(this, bs).frustumCulled = !1, C(this, bs).renderOrder = 999;
|
|
62296
|
+
let i = new jS(1, 1, 1), r = new zr(i, new Qo({ transparent: !0, opacity: 0, depthTest: !1, depthWrite: !1 }));
|
|
62297
62297
|
r.frustumCulled = !1, r.layers.set(1), C(this, bs).add(r), C(this, G7).add(C(this, bs));
|
|
62298
62298
|
}
|
|
62299
62299
|
this.resize(C(this, ih).canvasWidth, C(this, ih).canvasHeight), this.publish("texture-loaded");
|
|
@@ -62425,7 +62425,7 @@ var uWe = class {
|
|
|
62425
62425
|
};
|
|
62426
62426
|
Q();
|
|
62427
62427
|
Q();
|
|
62428
|
-
var cWe = class extends
|
|
62428
|
+
var cWe = class extends zr {
|
|
62429
62429
|
constructor() {
|
|
62430
62430
|
super(...arguments), P(this, "userData", { entityId: "" });
|
|
62431
62431
|
}
|
|
@@ -62602,7 +62602,7 @@ var y3, DWe = class extends gn {
|
|
|
62602
62602
|
let t, e;
|
|
62603
62603
|
for (let i of this.state.geometry3DIdsInScene) if (e = this.state.geometry3DMap.get(i), e != null && (t = e.components[0], t instanceof Os && t.focusable && t.geometry != null)) {
|
|
62604
62604
|
if (t.focusMesh == null) {
|
|
62605
|
-
let r = new
|
|
62605
|
+
let r = new zr(t.geometry);
|
|
62606
62606
|
r.userData = { entityId: e.id }, t.focusMesh = r;
|
|
62607
62607
|
}
|
|
62608
62608
|
this.focusableEntities.add(t.focusMesh);
|
|
@@ -63166,7 +63166,7 @@ function HWe(t, e, i) {
|
|
|
63166
63166
|
I.setAttribute("pathNormal", Y);
|
|
63167
63167
|
let $ = new k0({ uniforms: _, vertexShader: rK, fragmentShader: nK });
|
|
63168
63168
|
$.transparent = !0, $.alphaTest = 0.5, _.resolution.value.x = 1, _.resolution.value.y = 1, _.vertexes.value = D.length, _.arrowTexture.value.wrapS = Fs, _.arrowTexture.value.wrapT = Fs, _.arrowTexture.value.anisotropy = 16, _.complete.value = s;
|
|
63169
|
-
let V = new
|
|
63169
|
+
let V = new zr(I, $), J = V.clone(), U = { ..._, opacityMultiplier: { type: "f", value: 0.25 } };
|
|
63170
63170
|
U.complete.value = 1, J.material = new k0({ uniforms: U, vertexShader: rK, fragmentShader: nK }), J.material.transparent = !0, J.material.alphaTest = 0.5, J.material.depthWrite = !1, J.material.depthTest = !1, J.renderOrder = 1, U.resolution.value.x = 1, U.resolution.value.y = 1, U.vertexes.value = D.length, U.arrowTexture.value.wrapS = Fs, U.arrowTexture.value.wrapT = Fs, U.arrowTexture.value.anisotropy = 16, U.complete.value = s, V.userData = J.userData = e.mesh.userData;
|
|
63171
63171
|
let R = e.mesh;
|
|
63172
63172
|
R.add(V), R.add(J), I.computeBoundingBox();
|
|
@@ -63339,7 +63339,7 @@ var XWe = class {
|
|
|
63339
63339
|
JWe(r, i.count, e), t.setAttribute("color", new Xr(r, 3));
|
|
63340
63340
|
}
|
|
63341
63341
|
createOccluderMesh(t, e) {
|
|
63342
|
-
let i = new
|
|
63342
|
+
let i = new zr(t, this.pickingMaterial);
|
|
63343
63343
|
return i.layers.set(rL), this.applyId(i.geometry, e), i.userData.occluderId = e, i;
|
|
63344
63344
|
}
|
|
63345
63345
|
reserveOccluderId() {
|
|
@@ -63447,7 +63447,7 @@ var XWe = class {
|
|
|
63447
63447
|
let f = new xn();
|
|
63448
63448
|
f.add(C(this, _2)), xe(this, W7, new xn()), C(this, W7).add(f), C(this, T2).add(C(this, W7)), C(this, _2).updateProjectionMatrix(), C(this, _2).updateMatrixWorld(!0), this.referenceMap = { scale: 1, latitude: 0, longitude: 0, getNorth: () => 0, georeference: [{ target: { x: 0, y: 0 } }, { target: { x: 0, y: 0 } }, { target: { x: 0, y: 0 } }, { target: { x: 0, y: 0 } }] }, this.rendererDomElement = C(this, Ba).domElement(), xe(this, Z7, new lt());
|
|
63449
63449
|
let g = new $1(1e6, 1e6), A = new Qo({ color: 0, visible: !1 });
|
|
63450
|
-
xe(this, C3, new
|
|
63450
|
+
xe(this, C3, new zr(g, A)), C(this, T2).add(C(this, C3)), (a = e.gl) != null && a.canvas || t.appendChild(this.rendererDomElement), window.addEventListener("resize", C(this, J7), !1), C(this, Z_).addEventListener("change", C(this, J_)), typeof ResizeObserver == "function" && ((s = e2.env) == null ? void 0 : s.NODE_ENV) !== "test" && (xe(this, R5, new ResizeObserver(YV(() => {
|
|
63451
63451
|
C(this, J7).call(this);
|
|
63452
63452
|
}, 50))), (o = C(this, R5)) == null || o.observe(t)), t.classList.add("mappedin-map"), this.rendererDomElement.style.width = (l = globalThis.MappedinDebug) != null && l.TEST_IOS ? "1080px" : "100%", this.rendererDomElement.style.height = (u = globalThis.MappedinDebug) != null && u.TEST_IOS ? "1920px" : "100%", e2.env.NODE_ENV === "test" && this.rendererDomElement.setAttribute("data-testid", "mappedin-canvas"), C(this, it).canvasWidth = this.rendererDomElement.clientWidth, C(this, it).canvasHeight = this.rendererDomElement.clientHeight, this.rendererDomElement.style.touchAction = "manipulation";
|
|
63453
63453
|
let m = this.canvasWidth, v = this.canvasHeight;
|
|
@@ -66139,17 +66139,17 @@ function JJe(t, e) {
|
|
|
66139
66139
|
new ZS().load(jJe, (o) => {
|
|
66140
66140
|
i.alphaMap = o, i.needsUpdate = !0;
|
|
66141
66141
|
});
|
|
66142
|
-
let s = new
|
|
66142
|
+
let s = new zr(a, i);
|
|
66143
66143
|
return s.position.z = -0.05, s.renderOrder = 0, s;
|
|
66144
66144
|
}
|
|
66145
66145
|
function XJe(t, e) {
|
|
66146
|
-
let i = new $k(1, 1, 0.05, 32), r = new af({ transparent: !0, color: t, opacity: e, depthTest: !1, depthWrite: !1 }), n = new
|
|
66146
|
+
let i = new $k(1, 1, 0.05, 32), r = new af({ transparent: !0, color: t, opacity: e, depthTest: !1, depthWrite: !1 }), n = new zr(i, r);
|
|
66147
66147
|
return n.scale.set(0, 0, 0.05), n.renderOrder = 1, n.rotation.x = Math.PI / 2, n;
|
|
66148
66148
|
}
|
|
66149
66149
|
function KJe(t) {
|
|
66150
|
-
let e = new $k(0.35, 0.35, 0.07, 32), i = new af({ transparent: !0, color: HJe, depthTest: !1, depthWrite: !1 }), r = new
|
|
66150
|
+
let e = new $k(0.35, 0.35, 0.07, 32), i = new af({ transparent: !0, color: HJe, depthTest: !1, depthWrite: !1 }), r = new zr(e, i);
|
|
66151
66151
|
r.renderOrder = 2;
|
|
66152
|
-
let n = new $k(0.35 * 0.8, 0.35 * 0.8, 0.01, 32), a = new af({ transparent: !0, color: t, depthTest: !1, depthWrite: !1 }), s = new
|
|
66152
|
+
let n = new $k(0.35 * 0.8, 0.35 * 0.8, 0.01, 32), a = new af({ transparent: !0, color: t, depthTest: !1, depthWrite: !1 }), s = new zr(n, a);
|
|
66153
66153
|
return s.renderOrder = 3, r.rotation.x = Math.PI / 2, r.position.z = 0.07 / 2, s.rotation.x = Math.PI / 2, s.position.z = 0.07, { outerMesh: r, innerMesh: s };
|
|
66154
66154
|
}
|
|
66155
66155
|
var qJe = Ti(Wje(), 1), Y5, sh, s0, o0, oh, Z5, W5, J5, G2, Lo, Bx, lh, Lx, Tx, Fx, Px, WO, xu, uh, JO, X5, kx, bu, eXe = class extends gn {
|
|
@@ -69391,7 +69391,7 @@ function _he() {
|
|
|
69391
69391
|
u.SHOW_ELEMENT | u.SHOW_COMMENT | u.SHOW_TEXT | u.SHOW_PROCESSING_INSTRUCTION | u.SHOW_CDATA_SECTION,
|
|
69392
69392
|
null
|
|
69393
69393
|
);
|
|
69394
|
-
},
|
|
69394
|
+
}, Ur = function(ke) {
|
|
69395
69395
|
return ke instanceof h && (typeof ke.nodeName != "string" || typeof ke.textContent != "string" || typeof ke.removeChild != "function" || !(ke.attributes instanceof c) || typeof ke.removeAttribute != "function" || typeof ke.setAttribute != "function" || typeof ke.namespaceURI != "string" || typeof ke.insertBefore != "function" || typeof ke.hasChildNodes != "function");
|
|
69396
69396
|
}, pn = function(ke) {
|
|
69397
69397
|
return typeof o == "function" && ke instanceof o;
|
|
@@ -69403,7 +69403,7 @@ function _he() {
|
|
|
69403
69403
|
}
|
|
69404
69404
|
const V2 = function(ke) {
|
|
69405
69405
|
let ft = null;
|
|
69406
|
-
if (on(T.beforeSanitizeElements, ke, null),
|
|
69406
|
+
if (on(T.beforeSanitizeElements, ke, null), Ur(ke))
|
|
69407
69407
|
return Ki(ke), !0;
|
|
69408
69408
|
const ue = Mt(ke.nodeName);
|
|
69409
69409
|
if (on(T.uponSanitizeElement, ke, {
|
|
@@ -69465,7 +69465,7 @@ function _he() {
|
|
|
69465
69465
|
const {
|
|
69466
69466
|
attributes: ft
|
|
69467
69467
|
} = ke;
|
|
69468
|
-
if (!ft ||
|
|
69468
|
+
if (!ft || Ur(ke))
|
|
69469
69469
|
return;
|
|
69470
69470
|
const ue = {
|
|
69471
69471
|
attrName: "",
|
|
@@ -69509,7 +69509,7 @@ function _he() {
|
|
|
69509
69509
|
}
|
|
69510
69510
|
}
|
|
69511
69511
|
try {
|
|
69512
|
-
Te ? ke.setAttributeNS(Te, Se, gt) : ke.setAttribute(Se, gt),
|
|
69512
|
+
Te ? ke.setAttributeNS(Te, Se, gt) : ke.setAttribute(Se, gt), Ur(ke) ? Ki(ke) : EK(e.removed);
|
|
69513
69513
|
} catch {
|
|
69514
69514
|
}
|
|
69515
69515
|
}
|
|
@@ -72631,7 +72631,7 @@ class zqe {
|
|
|
72631
72631
|
Ae(this, "toastId", null);
|
|
72632
72632
|
Ae(this, "reactionDisposers", []);
|
|
72633
72633
|
this.rootStore = e, Ga(this, void 0, { deep: !1, autoBind: !0 }), this.reactionDisposers.push(
|
|
72634
|
-
|
|
72634
|
+
kr(
|
|
72635
72635
|
() => [
|
|
72636
72636
|
this.rootStore.mapStore.initialized,
|
|
72637
72637
|
this.rootStore.similarPlaces,
|
|
@@ -72781,7 +72781,7 @@ const Hqe = (t, e) => (R6 != null || (Z9 == null && globalThis.OffscreenCanvas !
|
|
|
72781
72781
|
const r = {
|
|
72782
72782
|
fit: "fit",
|
|
72783
72783
|
...i
|
|
72784
|
-
}, n = "https://image-proxy.mappedin.
|
|
72784
|
+
}, n = "https://image-proxy-staging.mappedin.net", a = jqe(e, r.fit), s = encodeURIComponent(t);
|
|
72785
72785
|
return `${n}/resize:${r.fit}:${a}:${a}:0/format:webp/max_bytes:5000000/plain/${s}`.replaceAll(/\/+/g, "/").replace("https:/", "https://").replace("http:/", "http://");
|
|
72786
72786
|
}, sN = (t, e) => e == null || e === "" ? t : `${t}?${e}`, $qe = async (t, e) => {
|
|
72787
72787
|
if (!oy(t))
|
|
@@ -73008,7 +73008,7 @@ class Yqe {
|
|
|
73008
73008
|
Ae(this, "toastId", null);
|
|
73009
73009
|
Ae(this, "reactionDisposers", []);
|
|
73010
73010
|
this.rootStore = e, Ga(this, void 0, { deep: !1, autoBind: !0 }), this.reactionDisposers.push(
|
|
73011
|
-
|
|
73011
|
+
kr(() => [this.rootStore.currentFloor, this.importantThingsByFloorId], this.update)
|
|
73012
73012
|
);
|
|
73013
73013
|
}
|
|
73014
73014
|
get importantThingsByFloorId() {
|
|
@@ -73116,15 +73116,15 @@ class Zqe {
|
|
|
73116
73116
|
},
|
|
73117
73117
|
{ autoBind: !0, deep: !1 }
|
|
73118
73118
|
), this.locationCardStore = new Gqe({ rootStore: this.rootStore, uiStore: this }), this.reactiveToasts = [new zqe(this.rootStore), new Yqe(this.rootStore)], this.reactionDisposers.push(
|
|
73119
|
-
|
|
73119
|
+
kr(() => this.rootStore.selectedPlaces, this.syncSearchQueryWithSelectedPlaces, {
|
|
73120
73120
|
fireImmediately: !0
|
|
73121
73121
|
})
|
|
73122
73122
|
), this.reactionDisposers.push(
|
|
73123
|
-
|
|
73123
|
+
kr(() => this.rootStore.departures, this.syncDepartureSearchQueryWithDepartureLocation, {
|
|
73124
73124
|
fireImmediately: !0
|
|
73125
73125
|
})
|
|
73126
73126
|
), this.reactionDisposers.push(
|
|
73127
|
-
|
|
73127
|
+
kr(
|
|
73128
73128
|
() => [this.rootStore.state, this.rootStore.departureMode, this.rootStore.departures],
|
|
73129
73129
|
this.syncDroppedPinNotification,
|
|
73130
73130
|
{
|
|
@@ -73132,7 +73132,7 @@ class Zqe {
|
|
|
73132
73132
|
}
|
|
73133
73133
|
)
|
|
73134
73134
|
), this.reactionDisposers.push(
|
|
73135
|
-
|
|
73135
|
+
kr(
|
|
73136
73136
|
() => [this.rootStore.state, this.rootStore.departureMode],
|
|
73137
73137
|
() => {
|
|
73138
73138
|
this.rootStore.state === Ei.DIRECTIONS && this.rootStore.departureMode === bi.LOCATION && this.rootStore.departures == null ? this.searchBarFocusTimeout = setTimeout(
|
|
@@ -74334,13 +74334,13 @@ class Let {
|
|
|
74334
74334
|
},
|
|
74335
74335
|
{ autoBind: !0, deep: !1 }
|
|
74336
74336
|
), this.reactionDisposers.push(
|
|
74337
|
-
|
|
74337
|
+
kr(
|
|
74338
74338
|
() => [this.currentMarkers, this.mapStore.mapView, this.rootStore.currentFloor, this.markersVisible],
|
|
74339
74339
|
this.updateMarkers
|
|
74340
74340
|
)
|
|
74341
74341
|
), this.reactionDisposers.push(
|
|
74342
|
-
|
|
74343
|
-
), this.reactionDisposers.push(
|
|
74342
|
+
kr(() => [this.rootStore.isSafetyModeEnabled, this.rootStore.selectedPlaces], this.updateRanks)
|
|
74343
|
+
), this.reactionDisposers.push(kr(() => this.mapStore.camera.state.zoomLevel, this.handleZoomChange));
|
|
74344
74344
|
}
|
|
74345
74345
|
get annotationMarkers() {
|
|
74346
74346
|
var i;
|
|
@@ -74855,12 +74855,12 @@ class Tet {
|
|
|
74855
74855
|
},
|
|
74856
74856
|
{ autoBind: !0, deep: !1 }
|
|
74857
74857
|
), this.reactionDisposers.push(
|
|
74858
|
-
|
|
74858
|
+
kr(
|
|
74859
74859
|
() => [this.mapStore.interactionMode, this.mapStore.mapView, this.rootStore.selectedPlaces],
|
|
74860
74860
|
this.setInteractivityForGeometries
|
|
74861
74861
|
)
|
|
74862
74862
|
), this.reactionDisposers.push(
|
|
74863
|
-
|
|
74863
|
+
kr(() => [this.placeIdsToHighlight, this.mapStore.mapView], this.highlightGeometries)
|
|
74864
74864
|
), this.reactionDisposers.push(
|
|
74865
74865
|
fy(
|
|
74866
74866
|
() => this.mapStore.mapView != null,
|
|
@@ -74876,7 +74876,32 @@ class Tet {
|
|
|
74876
74876
|
}
|
|
74877
74877
|
)
|
|
74878
74878
|
), this.reactionDisposers.push(
|
|
74879
|
-
|
|
74879
|
+
kr(() => [this.rootStore.uiStore.theme, this.rootStore.isAppMobile], this.syncGeometryStateWithTheme)
|
|
74880
|
+
), this.reactionDisposers.push(
|
|
74881
|
+
kr(
|
|
74882
|
+
() => this.rootStore.departures,
|
|
74883
|
+
() => {
|
|
74884
|
+
var r;
|
|
74885
|
+
if (this.rootStore.departures != null)
|
|
74886
|
+
for (const n of this.rootStore.departures)
|
|
74887
|
+
for (const a of this.getGeometriesForPlace(n))
|
|
74888
|
+
(r = this.mapStore.mapView) == null || r.updateState(a, {
|
|
74889
|
+
hoverColor: this.rootStore.uiStore.theme.colors.map.geometry.highlight
|
|
74890
|
+
});
|
|
74891
|
+
}
|
|
74892
|
+
)
|
|
74893
|
+
), this.reactionDisposers.push(
|
|
74894
|
+
kr(
|
|
74895
|
+
() => [this.mapStore.directions.departureFloor],
|
|
74896
|
+
([r], [n]) => {
|
|
74897
|
+
this.mapStore.mapView != null && r !== n && (r != null ? this.mapStore.mapView.DynamicFocus.setDefaultFloorForStack(
|
|
74898
|
+
r.floorStack,
|
|
74899
|
+
r
|
|
74900
|
+
) : n != null && this.mapStore.mapView.DynamicFocus.resetDefaultFloorForStack(
|
|
74901
|
+
n.floorStack
|
|
74902
|
+
));
|
|
74903
|
+
}
|
|
74904
|
+
)
|
|
74880
74905
|
), this.mapStore.events.on("dynamic-focus-change", ({ facades: r }) => {
|
|
74881
74906
|
this.setFocusedFloorStacksFromFacades(r);
|
|
74882
74907
|
});
|
|
@@ -75004,7 +75029,7 @@ class Pet {
|
|
|
75004
75029
|
},
|
|
75005
75030
|
{ autoBind: !0, deep: !1 }
|
|
75006
75031
|
), this.reactionDisposers.push(
|
|
75007
|
-
|
|
75032
|
+
kr(
|
|
75008
75033
|
() => [
|
|
75009
75034
|
this.mapStore.mapView,
|
|
75010
75035
|
this.rootStore.departures,
|
|
@@ -75014,7 +75039,7 @@ class Pet {
|
|
|
75014
75039
|
this.updateDirections
|
|
75015
75040
|
)
|
|
75016
75041
|
), this.reactionDisposers.push(
|
|
75017
|
-
|
|
75042
|
+
kr(() => [this.directions, this.mapStore.mapView, this.rootStore.uiStore.theme], this.updateJourney)
|
|
75018
75043
|
), this.mapStore.events.on("floor-change", ({ floor: r }) => this.updatePathColorWithFloor(r));
|
|
75019
75044
|
}
|
|
75020
75045
|
get pathSegmentsByElevation() {
|
|
@@ -75086,7 +75111,7 @@ class Pet {
|
|
|
75086
75111
|
});
|
|
75087
75112
|
}
|
|
75088
75113
|
async updateJourney() {
|
|
75089
|
-
var
|
|
75114
|
+
var n;
|
|
75090
75115
|
if (this.mapStore.mapView == null)
|
|
75091
75116
|
return;
|
|
75092
75117
|
try {
|
|
@@ -75097,22 +75122,17 @@ class Pet {
|
|
|
75097
75122
|
if (this.directions == null || this.directions.distance === 0)
|
|
75098
75123
|
return;
|
|
75099
75124
|
let e;
|
|
75100
|
-
|
|
75101
|
-
|
|
75102
|
-
|
|
75103
|
-
const n = (r = this.directions.coordinates[0]) == null ? void 0 : r.floorId;
|
|
75104
|
-
n != null && (e = this.rootStore.data.getById("floor", n));
|
|
75105
|
-
}
|
|
75106
|
-
e != null && this.rootStore.setCurrentFloor(e);
|
|
75107
|
-
let i = this.directions;
|
|
75125
|
+
const i = (n = this.directions.coordinates[0]) == null ? void 0 : n.floorId;
|
|
75126
|
+
i != null && (e = this.rootStore.data.getById("floor", i)), e != null && this.rootStore.setCurrentFloor(e);
|
|
75127
|
+
let r = this.directions;
|
|
75108
75128
|
if (this.isFirstStepApproximate) {
|
|
75109
|
-
const
|
|
75110
|
-
|
|
75111
|
-
...
|
|
75112
|
-
coordinates:
|
|
75129
|
+
const a = [...r.coordinates].slice(1);
|
|
75130
|
+
r = {
|
|
75131
|
+
...r,
|
|
75132
|
+
coordinates: a
|
|
75113
75133
|
};
|
|
75114
75134
|
}
|
|
75115
|
-
await this.mapStore.mapView.Navigation.draw(
|
|
75135
|
+
await this.mapStore.mapView.Navigation.draw(r, {
|
|
75116
75136
|
setMapToDeparture: !1,
|
|
75117
75137
|
createMarkers: {
|
|
75118
75138
|
departure: !1,
|
|
@@ -77279,12 +77299,12 @@ class rit {
|
|
|
77279
77299
|
},
|
|
77280
77300
|
{ autoBind: !0, deep: !1 }
|
|
77281
77301
|
), this.reactionDisposers.push(
|
|
77282
|
-
|
|
77302
|
+
kr(
|
|
77283
77303
|
() => [this.rootStore.selectedPlaces, this.rootStore.uiStore.metadataCardVisible, this.externalPadding],
|
|
77284
77304
|
() => this.refocusCamera()
|
|
77285
77305
|
)
|
|
77286
77306
|
), this.reactionDisposers.push(
|
|
77287
|
-
|
|
77307
|
+
kr(
|
|
77288
77308
|
() => this.mapStore.directions.directions,
|
|
77289
77309
|
// Add a delay to allow the pin to drop when directions first appear
|
|
77290
77310
|
() => this.refocusCamera({ delay: qtt })
|
|
@@ -77295,12 +77315,12 @@ class rit {
|
|
|
77295
77315
|
a != null && n !== a && !this.mapStore.geometries.focusedFloorStacks.includes(a) && this.refocusCamera({ resetZoom: !0, resetRotation: !1 });
|
|
77296
77316
|
}
|
|
77297
77317
|
}), this.reactionDisposers.push(
|
|
77298
|
-
|
|
77318
|
+
kr(
|
|
77299
77319
|
() => this.rootStore.mapStore.initialized,
|
|
77300
77320
|
() => this.refocusCamera({ resetZoom: !0, resetRotation: !0 })
|
|
77301
77321
|
)
|
|
77302
77322
|
), this.reactionDisposers.push(
|
|
77303
|
-
|
|
77323
|
+
kr(
|
|
77304
77324
|
() => this.rootStore.currentFloor,
|
|
77305
77325
|
(r, n) => {
|
|
77306
77326
|
(r == null ? void 0 : r.elevation) !== (n == null ? void 0 : n.elevation) && this.updateCameraElevation();
|
|
@@ -77319,7 +77339,7 @@ class rit {
|
|
|
77319
77339
|
}
|
|
77320
77340
|
)
|
|
77321
77341
|
), this.reactionDisposers.push(
|
|
77322
|
-
|
|
77342
|
+
kr(
|
|
77323
77343
|
() => this.mapStore.isKeyboardFocused,
|
|
77324
77344
|
(r) => {
|
|
77325
77345
|
var n;
|
|
@@ -77423,10 +77443,10 @@ class rit {
|
|
|
77423
77443
|
// Labels and Markers should remain visible until a little zoomed out
|
|
77424
77444
|
labels: e - 1,
|
|
77425
77445
|
markers: e - 1,
|
|
77426
|
-
// Areas should remain visible until a little zoomed
|
|
77446
|
+
// Areas should remain visible until a little zoomed in
|
|
77427
77447
|
areas: e + 1,
|
|
77428
|
-
// Facades should
|
|
77429
|
-
facades: e + 0.
|
|
77448
|
+
// Facades should be visible on load, but dissapear with very little zoom in
|
|
77449
|
+
facades: e + 0.01
|
|
77430
77450
|
};
|
|
77431
77451
|
}
|
|
77432
77452
|
/**
|
|
@@ -77610,21 +77630,21 @@ class nit {
|
|
|
77610
77630
|
mapLabel: !1
|
|
77611
77631
|
},
|
|
77612
77632
|
{ autoBind: !0, deep: !1 }
|
|
77613
|
-
), this.reactionDisposers.push(
|
|
77614
|
-
|
|
77633
|
+
), this.reactionDisposers.push(kr(() => [this.mapStore.camera.state.zoomLevel], this.handleZoomChange)), this.reactionDisposers.push(
|
|
77634
|
+
kr(() => [this.state, this.mapStore.mapView, this.initialized], this.updateLabelsFromLabelState)
|
|
77615
77635
|
), this.reactionDisposers.push(
|
|
77616
|
-
|
|
77636
|
+
kr(
|
|
77617
77637
|
() => [this.mapStore.mapView, this.initialized, this.mapStore.markers.areasVisible],
|
|
77618
77638
|
this.updateLabelsInAreas
|
|
77619
77639
|
)
|
|
77620
77640
|
), this.reactionDisposers.push(
|
|
77621
|
-
|
|
77641
|
+
kr(
|
|
77622
77642
|
() => [this.mapStore.mapView, this.initialized, this.mapStore.geometries.focusedFloorStacks],
|
|
77623
77643
|
this.updateFloorStackLabels
|
|
77624
77644
|
)
|
|
77625
77645
|
), this.reactionDisposers.push(
|
|
77626
|
-
|
|
77627
|
-
), this.reactionDisposers.push(fy(() => this.rootStore.featureFlagStore.initialized, this.initialize)), this.reactionDisposers.push(
|
|
77646
|
+
kr(() => [this.mapStore.mapView, this.labelImagesProcessed], this.initialize)
|
|
77647
|
+
), this.reactionDisposers.push(fy(() => this.rootStore.featureFlagStore.initialized, this.initialize)), this.reactionDisposers.push(kr(() => this.rootStore.uiStore.theme, this.syncLabelStateWithTheme)), this.rootStore.featureFlagStore.flags[F1.PREPROCESS_IMAGE_LABELS].variant === !0 && this.updateImageLabelDarkness();
|
|
77628
77648
|
}
|
|
77629
77649
|
async syncLabelStateWithTheme() {
|
|
77630
77650
|
if (this.mapStore.mapView == null)
|
|
@@ -77926,7 +77946,7 @@ class lit {
|
|
|
77926
77946
|
reactionDisposers: !1
|
|
77927
77947
|
},
|
|
77928
77948
|
{ autoBind: !0, deep: !1 }
|
|
77929
|
-
),
|
|
77949
|
+
), kr(() => this.mapStore.container, this.attachListener);
|
|
77930
77950
|
}
|
|
77931
77951
|
clearPressTimeout() {
|
|
77932
77952
|
this.pressTimeout != null && (clearTimeout(this.pressTimeout), this.pressTimeout = void 0);
|
|
@@ -78300,8 +78320,8 @@ class dit {
|
|
|
78300
78320
|
},
|
|
78301
78321
|
{ autoBind: !0, deep: !1 }
|
|
78302
78322
|
), this.reactionDisposers.push(
|
|
78303
|
-
|
|
78304
|
-
), this.reactionDisposers.push(
|
|
78323
|
+
kr(() => [this.rootStore.currentFloor, this.mapView], this.updateCurrentFloor)
|
|
78324
|
+
), this.reactionDisposers.push(kr(() => this.rootStore.uiStore.theme, this.syncMapStylesWithTheme)), this.events = new cit({ rootStore: e, mapStore: this }), this.arc = new hit({ rootStore: e, mapStore: this }), this.directions = new Pet({ rootStore: e, mapStore: this }), this.camera = new rit({ rootStore: e, mapStore: this }), this.geometries = new Tet({ rootStore: e, mapStore: this }), this.labels = new nit({ rootStore: e, mapStore: this }), this.hover = new lit({ rootStore: e, mapStore: this }), this.markers = new Let({ rootStore: e, mapStore: this });
|
|
78305
78325
|
}
|
|
78306
78326
|
syncMapStylesWithTheme() {
|
|
78307
78327
|
if (this.mapView == null)
|
|
@@ -78354,7 +78374,7 @@ class dit {
|
|
|
78354
78374
|
}
|
|
78355
78375
|
async init(e) {
|
|
78356
78376
|
this.container = e;
|
|
78357
|
-
const i = this.rootStore.startupOptions.outdoorMapsKey ?? "
|
|
78377
|
+
const i = this.rootStore.startupOptions.outdoorMapsKey ?? "f8fd42d9e1c2751f", r = {
|
|
78358
78378
|
auto: !1,
|
|
78359
78379
|
// In campus mode, we need to load the outdoors first
|
|
78360
78380
|
initialFloor: this.rootStore.isCampus ? this.rootStore.defaultFloor : this.rootStore.currentFloor,
|
|
@@ -80587,7 +80607,7 @@ const jit = () => ({
|
|
|
80587
80607
|
connectionSpaceIdsByRelatedConnectionId: c
|
|
80588
80608
|
};
|
|
80589
80609
|
};
|
|
80590
|
-
var
|
|
80610
|
+
var Or;
|
|
80591
80611
|
(function(t) {
|
|
80592
80612
|
t.assertEqual = (n) => n;
|
|
80593
80613
|
function e(n) {
|
|
@@ -80622,7 +80642,7 @@ var Rr;
|
|
|
80622
80642
|
return n.map((s) => typeof s == "string" ? `'${s}'` : s).join(a);
|
|
80623
80643
|
}
|
|
80624
80644
|
t.joinValues = r, t.jsonStringifyReplacer = (n, a) => typeof a == "bigint" ? a.toString() : a;
|
|
80625
|
-
})(
|
|
80645
|
+
})(Or || (Or = {}));
|
|
80626
80646
|
var xN;
|
|
80627
80647
|
(function(t) {
|
|
80628
80648
|
t.mergeShapes = (e, i) => ({
|
|
@@ -80631,7 +80651,7 @@ var xN;
|
|
|
80631
80651
|
// second overwrites first
|
|
80632
80652
|
});
|
|
80633
80653
|
})(xN || (xN = {}));
|
|
80634
|
-
const Xt =
|
|
80654
|
+
const Xt = Or.arrayToEnum([
|
|
80635
80655
|
"string",
|
|
80636
80656
|
"nan",
|
|
80637
80657
|
"number",
|
|
@@ -80673,7 +80693,7 @@ const Xt = Rr.arrayToEnum([
|
|
|
80673
80693
|
default:
|
|
80674
80694
|
return Xt.unknown;
|
|
80675
80695
|
}
|
|
80676
|
-
}, yt =
|
|
80696
|
+
}, yt = Or.arrayToEnum([
|
|
80677
80697
|
"invalid_type",
|
|
80678
80698
|
"invalid_literal",
|
|
80679
80699
|
"custom",
|
|
@@ -80735,7 +80755,7 @@ class Zo extends Error {
|
|
|
80735
80755
|
return this.message;
|
|
80736
80756
|
}
|
|
80737
80757
|
get message() {
|
|
80738
|
-
return JSON.stringify(this.issues,
|
|
80758
|
+
return JSON.stringify(this.issues, Or.jsonStringifyReplacer, 2);
|
|
80739
80759
|
}
|
|
80740
80760
|
get isEmpty() {
|
|
80741
80761
|
return this.issues.length === 0;
|
|
@@ -80758,19 +80778,19 @@ const _f = (t, e) => {
|
|
|
80758
80778
|
t.received === Xt.undefined ? i = "Required" : i = `Expected ${t.expected}, received ${t.received}`;
|
|
80759
80779
|
break;
|
|
80760
80780
|
case yt.invalid_literal:
|
|
80761
|
-
i = `Invalid literal value, expected ${JSON.stringify(t.expected,
|
|
80781
|
+
i = `Invalid literal value, expected ${JSON.stringify(t.expected, Or.jsonStringifyReplacer)}`;
|
|
80762
80782
|
break;
|
|
80763
80783
|
case yt.unrecognized_keys:
|
|
80764
|
-
i = `Unrecognized key(s) in object: ${
|
|
80784
|
+
i = `Unrecognized key(s) in object: ${Or.joinValues(t.keys, ", ")}`;
|
|
80765
80785
|
break;
|
|
80766
80786
|
case yt.invalid_union:
|
|
80767
80787
|
i = "Invalid input";
|
|
80768
80788
|
break;
|
|
80769
80789
|
case yt.invalid_union_discriminator:
|
|
80770
|
-
i = `Invalid discriminator value. Expected ${
|
|
80790
|
+
i = `Invalid discriminator value. Expected ${Or.joinValues(t.options)}`;
|
|
80771
80791
|
break;
|
|
80772
80792
|
case yt.invalid_enum_value:
|
|
80773
|
-
i = `Invalid enum value. Expected ${
|
|
80793
|
+
i = `Invalid enum value. Expected ${Or.joinValues(t.options)}, received '${t.received}'`;
|
|
80774
80794
|
break;
|
|
80775
80795
|
case yt.invalid_arguments:
|
|
80776
80796
|
i = "Invalid function arguments";
|
|
@@ -80782,7 +80802,7 @@ const _f = (t, e) => {
|
|
|
80782
80802
|
i = "Invalid date";
|
|
80783
80803
|
break;
|
|
80784
80804
|
case yt.invalid_string:
|
|
80785
|
-
typeof t.validation == "object" ? "includes" in t.validation ? (i = `Invalid input: must include "${t.validation.includes}"`, typeof t.validation.position == "number" && (i = `${i} at one or more positions greater than or equal to ${t.validation.position}`)) : "startsWith" in t.validation ? i = `Invalid input: must start with "${t.validation.startsWith}"` : "endsWith" in t.validation ? i = `Invalid input: must end with "${t.validation.endsWith}"` :
|
|
80805
|
+
typeof t.validation == "object" ? "includes" in t.validation ? (i = `Invalid input: must include "${t.validation.includes}"`, typeof t.validation.position == "number" && (i = `${i} at one or more positions greater than or equal to ${t.validation.position}`)) : "startsWith" in t.validation ? i = `Invalid input: must start with "${t.validation.startsWith}"` : "endsWith" in t.validation ? i = `Invalid input: must end with "${t.validation.endsWith}"` : Or.assertNever(t.validation) : t.validation !== "regex" ? i = `Invalid ${t.validation}` : i = "Invalid";
|
|
80786
80806
|
break;
|
|
80787
80807
|
case yt.too_small:
|
|
80788
80808
|
t.type === "array" ? i = `Array must contain ${t.exact ? "exactly" : t.inclusive ? "at least" : "more than"} ${t.minimum} element(s)` : t.type === "string" ? i = `String must contain ${t.exact ? "exactly" : t.inclusive ? "at least" : "over"} ${t.minimum} character(s)` : t.type === "number" ? i = `Number must be ${t.exact ? "exactly equal to " : t.inclusive ? "greater than or equal to " : "greater than "}${t.minimum}` : t.type === "date" ? i = `Date must be ${t.exact ? "exactly equal to " : t.inclusive ? "greater than or equal to " : "greater than "}${new Date(Number(t.minimum))}` : i = "Invalid input";
|
|
@@ -80803,7 +80823,7 @@ const _f = (t, e) => {
|
|
|
80803
80823
|
i = "Number must be finite";
|
|
80804
80824
|
break;
|
|
80805
80825
|
default:
|
|
80806
|
-
i = e.defaultError,
|
|
80826
|
+
i = e.defaultError, Or.assertNever(t);
|
|
80807
80827
|
}
|
|
80808
80828
|
return { message: i };
|
|
80809
80829
|
};
|
|
@@ -81348,7 +81368,7 @@ class Cl extends cr {
|
|
|
81348
81368
|
validation: "base64url",
|
|
81349
81369
|
code: yt.invalid_string,
|
|
81350
81370
|
message: a.message
|
|
81351
|
-
}), r.dirty()) :
|
|
81371
|
+
}), r.dirty()) : Or.assertNever(a);
|
|
81352
81372
|
return { status: r.value, value: e.data };
|
|
81353
81373
|
}
|
|
81354
81374
|
_regex(e, i, r) {
|
|
@@ -81603,7 +81623,7 @@ class _d extends cr {
|
|
|
81603
81623
|
let r;
|
|
81604
81624
|
const n = new fs();
|
|
81605
81625
|
for (const a of this._def.checks)
|
|
81606
|
-
a.kind === "int" ?
|
|
81626
|
+
a.kind === "int" ? Or.isInteger(e.data) || (r = this._getOrReturnCtx(e, r), Vt(r, {
|
|
81607
81627
|
code: yt.invalid_type,
|
|
81608
81628
|
expected: "integer",
|
|
81609
81629
|
received: "float",
|
|
@@ -81629,7 +81649,7 @@ class _d extends cr {
|
|
|
81629
81649
|
}), n.dirty()) : a.kind === "finite" ? Number.isFinite(e.data) || (r = this._getOrReturnCtx(e, r), Vt(r, {
|
|
81630
81650
|
code: yt.not_finite,
|
|
81631
81651
|
message: a.message
|
|
81632
|
-
}), n.dirty()) :
|
|
81652
|
+
}), n.dirty()) : Or.assertNever(a);
|
|
81633
81653
|
return { status: n.value, value: e.data };
|
|
81634
81654
|
}
|
|
81635
81655
|
gte(e, i) {
|
|
@@ -81741,7 +81761,7 @@ class _d extends cr {
|
|
|
81741
81761
|
return e;
|
|
81742
81762
|
}
|
|
81743
81763
|
get isInt() {
|
|
81744
|
-
return !!this._def.checks.find((e) => e.kind === "int" || e.kind === "multipleOf" &&
|
|
81764
|
+
return !!this._def.checks.find((e) => e.kind === "int" || e.kind === "multipleOf" && Or.isInteger(e.value));
|
|
81745
81765
|
}
|
|
81746
81766
|
get isFinite() {
|
|
81747
81767
|
let e = null, i = null;
|
|
@@ -81791,7 +81811,7 @@ class xd extends cr {
|
|
|
81791
81811
|
code: yt.not_multiple_of,
|
|
81792
81812
|
multipleOf: a.value,
|
|
81793
81813
|
message: a.message
|
|
81794
|
-
}), n.dirty()) :
|
|
81814
|
+
}), n.dirty()) : Or.assertNever(a);
|
|
81795
81815
|
return { status: n.value, value: e.data };
|
|
81796
81816
|
}
|
|
81797
81817
|
_getInvalidInput(e) {
|
|
@@ -81946,7 +81966,7 @@ class Qp extends cr {
|
|
|
81946
81966
|
exact: !1,
|
|
81947
81967
|
maximum: a.value,
|
|
81948
81968
|
type: "date"
|
|
81949
|
-
}), r.dirty()) :
|
|
81969
|
+
}), r.dirty()) : Or.assertNever(a);
|
|
81950
81970
|
return {
|
|
81951
81971
|
status: r.value,
|
|
81952
81972
|
value: new Date(e.data.getTime())
|
|
@@ -82193,7 +82213,7 @@ class u2 extends cr {
|
|
|
82193
82213
|
_getCached() {
|
|
82194
82214
|
if (this._cached !== null)
|
|
82195
82215
|
return this._cached;
|
|
82196
|
-
const e = this._def.shape(), i =
|
|
82216
|
+
const e = this._def.shape(), i = Or.objectKeys(e);
|
|
82197
82217
|
return this._cached = { shape: e, keys: i };
|
|
82198
82218
|
}
|
|
82199
82219
|
_parse(e) {
|
|
@@ -82400,7 +82420,7 @@ class u2 extends cr {
|
|
|
82400
82420
|
}
|
|
82401
82421
|
pick(e) {
|
|
82402
82422
|
const i = {};
|
|
82403
|
-
return
|
|
82423
|
+
return Or.objectKeys(e).forEach((r) => {
|
|
82404
82424
|
e[r] && this.shape[r] && (i[r] = this.shape[r]);
|
|
82405
82425
|
}), new u2({
|
|
82406
82426
|
...this._def,
|
|
@@ -82409,7 +82429,7 @@ class u2 extends cr {
|
|
|
82409
82429
|
}
|
|
82410
82430
|
omit(e) {
|
|
82411
82431
|
const i = {};
|
|
82412
|
-
return
|
|
82432
|
+
return Or.objectKeys(this.shape).forEach((r) => {
|
|
82413
82433
|
e[r] || (i[r] = this.shape[r]);
|
|
82414
82434
|
}), new u2({
|
|
82415
82435
|
...this._def,
|
|
@@ -82424,7 +82444,7 @@ class u2 extends cr {
|
|
|
82424
82444
|
}
|
|
82425
82445
|
partial(e) {
|
|
82426
82446
|
const i = {};
|
|
82427
|
-
return
|
|
82447
|
+
return Or.objectKeys(this.shape).forEach((r) => {
|
|
82428
82448
|
const n = this.shape[r];
|
|
82429
82449
|
e && !e[r] ? i[r] = n : i[r] = n.optional();
|
|
82430
82450
|
}), new u2({
|
|
@@ -82434,7 +82454,7 @@ class u2 extends cr {
|
|
|
82434
82454
|
}
|
|
82435
82455
|
required(e) {
|
|
82436
82456
|
const i = {};
|
|
82437
|
-
return
|
|
82457
|
+
return Or.objectKeys(this.shape).forEach((r) => {
|
|
82438
82458
|
if (e && !e[r])
|
|
82439
82459
|
i[r] = this.shape[r];
|
|
82440
82460
|
else {
|
|
@@ -82449,7 +82469,7 @@ class u2 extends cr {
|
|
|
82449
82469
|
});
|
|
82450
82470
|
}
|
|
82451
82471
|
keyof() {
|
|
82452
|
-
return Ude(
|
|
82472
|
+
return Ude(Or.objectKeys(this.shape));
|
|
82453
82473
|
}
|
|
82454
82474
|
}
|
|
82455
82475
|
u2.create = (t, e) => new u2({
|
|
@@ -82546,7 +82566,7 @@ zg.create = (t, e) => new zg({
|
|
|
82546
82566
|
typeName: Li.ZodUnion,
|
|
82547
82567
|
...Xi(e)
|
|
82548
82568
|
});
|
|
82549
|
-
const Eu = (t) => t instanceof Hg ? Eu(t.schema) : t instanceof zl ? Eu(t.innerType()) : t instanceof Qg ? [t.value] : t instanceof bd ? t.options : t instanceof jg ?
|
|
82569
|
+
const Eu = (t) => t instanceof Hg ? Eu(t.schema) : t instanceof zl ? Eu(t.innerType()) : t instanceof Qg ? [t.value] : t instanceof bd ? t.options : t instanceof jg ? Or.objectValues(t.enum) : t instanceof $g ? Eu(t._def.innerType) : t instanceof Og ? [void 0] : t instanceof Ng ? [null] : t instanceof B1 ? [void 0, ...Eu(t.unwrap())] : t instanceof Ed ? [null, ...Eu(t.unwrap())] : t instanceof mQ || t instanceof Yg ? Eu(t.unwrap()) : t instanceof Gg ? Eu(t._def.innerType) : [];
|
|
82550
82570
|
class hD extends cr {
|
|
82551
82571
|
_parse(e) {
|
|
82552
82572
|
const { ctx: i } = this._processInputParams(e);
|
|
@@ -82614,7 +82634,7 @@ function MN(t, e) {
|
|
|
82614
82634
|
if (t === e)
|
|
82615
82635
|
return { valid: !0, data: t };
|
|
82616
82636
|
if (i === Xt.object && r === Xt.object) {
|
|
82617
|
-
const n =
|
|
82637
|
+
const n = Or.objectKeys(e), a = Or.objectKeys(t).filter((o) => n.indexOf(o) !== -1), s = { ...t, ...e };
|
|
82618
82638
|
for (const o of a) {
|
|
82619
82639
|
const l = MN(t[o], e[o]);
|
|
82620
82640
|
if (!l.valid)
|
|
@@ -83027,7 +83047,7 @@ class bd extends cr {
|
|
|
83027
83047
|
if (typeof e.data != "string") {
|
|
83028
83048
|
const i = this._getOrReturnCtx(e), r = this._def.values;
|
|
83029
83049
|
return Vt(i, {
|
|
83030
|
-
expected:
|
|
83050
|
+
expected: Or.joinValues(r),
|
|
83031
83051
|
received: i.parsedType,
|
|
83032
83052
|
code: yt.invalid_type
|
|
83033
83053
|
}), ki;
|
|
@@ -83083,17 +83103,17 @@ class jg extends cr {
|
|
|
83083
83103
|
super(...arguments), wA.set(this, void 0);
|
|
83084
83104
|
}
|
|
83085
83105
|
_parse(e) {
|
|
83086
|
-
const i =
|
|
83106
|
+
const i = Or.getValidEnumValues(this._def.values), r = this._getOrReturnCtx(e);
|
|
83087
83107
|
if (r.parsedType !== Xt.string && r.parsedType !== Xt.number) {
|
|
83088
|
-
const n =
|
|
83108
|
+
const n = Or.objectValues(i);
|
|
83089
83109
|
return Vt(r, {
|
|
83090
|
-
expected:
|
|
83110
|
+
expected: Or.joinValues(n),
|
|
83091
83111
|
received: r.parsedType,
|
|
83092
83112
|
code: yt.invalid_type
|
|
83093
83113
|
}), ki;
|
|
83094
83114
|
}
|
|
83095
|
-
if (pM(this, wA) || Rde(this, wA, new Set(
|
|
83096
|
-
const n =
|
|
83115
|
+
if (pM(this, wA) || Rde(this, wA, new Set(Or.getValidEnumValues(this._def.values))), !pM(this, wA).has(e.data)) {
|
|
83116
|
+
const n = Or.objectValues(i);
|
|
83097
83117
|
return Vt(r, {
|
|
83098
83118
|
received: r.data,
|
|
83099
83119
|
code: yt.invalid_enum_value,
|
|
@@ -83210,7 +83230,7 @@ class zl extends cr {
|
|
|
83210
83230
|
return { status: i.value, value: o };
|
|
83211
83231
|
} else
|
|
83212
83232
|
return this._def.schema._parseAsync({ data: r.data, path: r.path, parent: r }).then((s) => Hp(s) ? Promise.resolve(n.transform(s.value, a)).then((o) => ({ status: i.value, value: o })) : s);
|
|
83213
|
-
|
|
83233
|
+
Or.assertNever(n);
|
|
83214
83234
|
}
|
|
83215
83235
|
}
|
|
83216
83236
|
zl.create = (t, e, i) => new zl({
|
|
@@ -83444,7 +83464,7 @@ var jo = /* @__PURE__ */ Object.freeze({
|
|
|
83444
83464
|
isValid: Hp,
|
|
83445
83465
|
isAsync: kg,
|
|
83446
83466
|
get util() {
|
|
83447
|
-
return
|
|
83467
|
+
return Or;
|
|
83448
83468
|
},
|
|
83449
83469
|
get objectUtil() {
|
|
83450
83470
|
return xN;
|
|
@@ -83629,7 +83649,7 @@ class nnt {
|
|
|
83629
83649
|
!this.enabled || window.parent == null || window.parent.postMessage(e, "*");
|
|
83630
83650
|
});
|
|
83631
83651
|
this.rootStore = e, this.enabled && (window.addEventListener("message", this.onMessage), this.reactionDisposers.push(
|
|
83632
|
-
|
|
83652
|
+
kr(
|
|
83633
83653
|
() => [
|
|
83634
83654
|
this.rootStore.state,
|
|
83635
83655
|
this.rootStore.selectedPlaces,
|
|
@@ -83913,15 +83933,15 @@ class _q {
|
|
|
83913
83933
|
), this.departureMode = this.inferDepartureMode(), this.checkForEmbeddedMode(), this.featureFlagStore = i, this.analyticsStore = new Qit(this), this.searchStore = new Hit({ rootStore: this }), this.uiStore = new Zqe({ rootStore: this, theme: h }), yo(() => {
|
|
83914
83934
|
this.mapStore = new dit({ rootStore: this });
|
|
83915
83935
|
}), this.messageStore = new nnt(this), this.reactionDisposers.push(
|
|
83916
|
-
|
|
83936
|
+
kr(() => [this.selectedPlaces, this.youAreHere], this.syncCurrentFloor, {
|
|
83917
83937
|
fireImmediately: !0
|
|
83918
83938
|
})
|
|
83919
83939
|
), this.reactionDisposers.push(
|
|
83920
|
-
|
|
83940
|
+
kr(() => [this.departureMode, this.mapStore.mapView, this.state], this.syncDeparture, {
|
|
83921
83941
|
fireImmediately: !0
|
|
83922
83942
|
})
|
|
83923
83943
|
), this.reactionDisposers.push(
|
|
83924
|
-
|
|
83944
|
+
kr(() => this.state, this.syncState, {
|
|
83925
83945
|
fireImmediately: !0
|
|
83926
83946
|
})
|
|
83927
83947
|
), r.getByType("floor") == null)
|
|
@@ -102585,7 +102605,7 @@ const n6e = (t, e) => de.useMemo(() => {
|
|
|
102585
102605
|
position: relative;
|
|
102586
102606
|
overflow: auto;
|
|
102587
102607
|
height: 100%;
|
|
102588
|
-
pointer-events: ${(t) => t.$collapsed ? "none" : "auto"};
|
|
102608
|
+
pointer-events: ${(t) => t.$collapsed && t.$enabled ? "none" : "auto"};
|
|
102589
102609
|
`, _dt = Ge.div`
|
|
102590
102610
|
padding-bottom: ${(t) => t.$enabled ? (
|
|
102591
102611
|
/**
|
|
@@ -102654,7 +102674,7 @@ const n6e = (t, e) => de.useMemo(() => {
|
|
|
102654
102674
|
style: i,
|
|
102655
102675
|
onClick: p,
|
|
102656
102676
|
children: [
|
|
102657
|
-
/* @__PURE__ */ O.jsx(wdt, { $collapsed: a, children: /* @__PURE__ */ O.jsx(_dt, { $enabled: h, children: /* @__PURE__ */ O.jsx(xdt, { ref: l, children: typeof e == "function" ? e({ collapsed: a }) : e }) }) }),
|
|
102677
|
+
/* @__PURE__ */ O.jsx(wdt, { $collapsed: a, $enabled: h, children: /* @__PURE__ */ O.jsx(_dt, { $enabled: h, children: /* @__PURE__ */ O.jsx(xdt, { ref: l, children: typeof e == "function" ? e({ collapsed: a }) : e }) }) }),
|
|
102658
102678
|
h && /* @__PURE__ */ O.jsx(bdt, { $collapsed: a, onClickOrPress: d, children: /* @__PURE__ */ O.jsx(Ui, { icon: "chevron-16x16", width: 16, height: 16, color: c.colors.text.primary }) })
|
|
102659
102679
|
]
|
|
102660
102680
|
}
|
|
@@ -103997,8 +104017,8 @@ function n3t() {
|
|
|
103997
104017
|
for (var Qn = [], Ki = 0; Ki < Mt.length; Ki++) {
|
|
103998
104018
|
var Zr = Mt[Ki];
|
|
103999
104019
|
if (!Zr._startsWithPDI || Zr._startsWithPDI && !Fe.has(Zr._start)) {
|
|
104000
|
-
for (var gr = [Et = Zr], Kr = void 0; Et && Et._endsWithIsolInit && (Kr = Fe.get(Et._end)) != null; ) for (var
|
|
104001
|
-
gr.push(Et = Mt[
|
|
104020
|
+
for (var gr = [Et = Zr], Kr = void 0; Et && Et._endsWithIsolInit && (Kr = Fe.get(Et._end)) != null; ) for (var Ur = Ki + 1; Ur < Mt.length; Ur++) if (Mt[Ur]._start === Kr) {
|
|
104021
|
+
gr.push(Et = Mt[Ur]);
|
|
104002
104022
|
break;
|
|
104003
104023
|
}
|
|
104004
104024
|
for (var pn = [], on = 0; on < gr.length; on++) for (var V2 = gr[on], qr = V2._start; qr <= V2._end; qr++) pn.push(qr);
|
|
@@ -106019,8 +106039,8 @@ function C3t(t, e) {
|
|
|
106019
106039
|
te[Et * 2] = sn, te[Et * 2 + 1] = Qn;
|
|
106020
106040
|
let Ki = sn + Qe.xMin * Zt, Zr = Qn + Qe.yMin * Zt, gr = sn + Qe.xMax * Zt, Kr = Qn + Qe.yMax * Zt;
|
|
106021
106041
|
Ki < ie[0] && (ie[0] = Ki), Zr < ie[1] && (ie[1] = Zr), gr > ie[2] && (ie[2] = gr), Kr > ie[3] && (ie[3] = Kr), Et % H === 0 && (At = { start: Et, end: Et, rect: [1 / 0, 1 / 0, -1 / 0, -1 / 0] }, ce.push(At)), At.end++;
|
|
106022
|
-
let
|
|
106023
|
-
if (Ki <
|
|
106042
|
+
let Ur = At.rect;
|
|
106043
|
+
if (Ki < Ur[0] && (Ur[0] = Ki), Zr < Ur[1] && (Ur[1] = Zr), gr > Ur[2] && (Ur[2] = gr), Kr > Ur[3] && (Ur[3] = Kr), j[Et] = ct, W[Et] = fi, G) {
|
|
106024
106044
|
let pn = Et * 3;
|
|
106025
106045
|
X[pn] = et >> 16 & 255, X[pn + 1] = et >> 8 & 255, X[pn + 2] = et & 255;
|
|
106026
106046
|
}
|
|
@@ -106455,12 +106475,12 @@ function Hee(t) {
|
|
|
106455
106475
|
return Array.isArray(t) ? t[0] : t;
|
|
106456
106476
|
}
|
|
106457
106477
|
var y6e = () => {
|
|
106458
|
-
let t = new
|
|
106478
|
+
let t = new zr(new $1(1, 1), Ej);
|
|
106459
106479
|
return y6e = () => t, t;
|
|
106460
106480
|
}, v6e = () => {
|
|
106461
|
-
let t = new
|
|
106481
|
+
let t = new zr(new $1(1, 1, 32, 1), Ej);
|
|
106462
106482
|
return v6e = () => t, t;
|
|
106463
|
-
}, V3t = { type: "syncstart" }, H3t = { type: "synccomplete" }, C6e = ["font", "fontSize", "fontStyle", "fontWeight", "lang", "letterSpacing", "lineHeight", "maxWidth", "overflowWrap", "text", "direction", "textAlign", "textIndent", "whiteSpace", "anchorX", "anchorY", "colorRanges", "sdfGlyphSize"], Q3t = C6e.concat("material", "color", "depthOffset", "clipRect", "curveRadius", "orientation", "glyphGeometryDetail"), A8 = class extends
|
|
106483
|
+
}, V3t = { type: "syncstart" }, H3t = { type: "synccomplete" }, C6e = ["font", "fontSize", "fontStyle", "fontWeight", "lang", "letterSpacing", "lineHeight", "maxWidth", "overflowWrap", "text", "direction", "textAlign", "textIndent", "whiteSpace", "anchorX", "anchorY", "colorRanges", "sdfGlyphSize"], Q3t = C6e.concat("material", "color", "depthOffset", "clipRect", "curveRadius", "orientation", "glyphGeometryDetail"), A8 = class extends zr {
|
|
106464
106484
|
constructor() {
|
|
106465
106485
|
let e = new k3t();
|
|
106466
106486
|
super(e, null), this.text = "", this.anchorX = 0, this.anchorY = 0, this.curveRadius = 0, this.direction = "auto", this.font = null, this.unicodeFontsURL = null, this.fontSize = 0.1, this.fontWeight = "normal", this.fontStyle = "normal", this.lang = null, this.letterSpacing = 0, this.lineHeight = "normal", this.maxWidth = 1 / 0, this.overflowWrap = "normal", this.textAlign = "left", this.textIndent = 0, this.whiteSpace = "normal", this.material = null, this.color = null, this.colorRanges = null, this.outlineWidth = 0, this.outlineColor = 0, this.outlineOpacity = 1, this.outlineBlur = 0, this.outlineOffsetX = 0, this.outlineOffsetY = 0, this.strokeWidth = 0, this.strokeColor = Uee, this.strokeOpacity = 1, this.fillOpacity = 1, this.depthOffset = 0, this.clipRect = null, this.orientation = nT, this.glyphGeometryDetail = 1, this.sdfGlyphSize = null, this.gpuAccelerateSDF = !0, this.debugSDF = !1;
|
|
@@ -109462,7 +109482,7 @@ var z6t = new Si(), U6t = class {
|
|
|
109462
109482
|
let u = l.slice(0, l.length - 1), c = l[l.length - 1], h = [];
|
|
109463
109483
|
for (let p = 0, f = c.length; p < f; p++) {
|
|
109464
109484
|
let g = c[p], A = s[p], m, v = u[p];
|
|
109465
|
-
if (A.mode === u0.TRIANGLES || A.mode === u0.TRIANGLE_STRIP || A.mode === u0.TRIANGLE_FAN || A.mode === void 0) m = a.isSkinnedMesh === !0 ? new rke(g, v) : new
|
|
109485
|
+
if (A.mode === u0.TRIANGLES || A.mode === u0.TRIANGLE_STRIP || A.mode === u0.TRIANGLE_FAN || A.mode === void 0) m = a.isSkinnedMesh === !0 ? new rke(g, v) : new zr(g, v), m.isSkinnedMesh === !0 && m.normalizeSkinWeights(), A.mode === u0.TRIANGLE_STRIP ? m.geometry = QJ(m.geometry, gle) : A.mode === u0.TRIANGLE_FAN && (m.geometry = QJ(m.geometry, Uk));
|
|
109466
109486
|
else if (A.mode === u0.LINES) m = new Ly(g, v);
|
|
109467
109487
|
else if (A.mode === u0.LINE_STRIP) m = new fH(g, v);
|
|
109468
109488
|
else if (A.mode === u0.LINE_LOOP) m = new Ake(g, v);
|
|
@@ -109713,7 +109733,7 @@ const Q6t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
109713
109733
|
Hash: U0e,
|
|
109714
109734
|
ImageSource: Y8,
|
|
109715
109735
|
KeyboardHandler: Z0e,
|
|
109716
|
-
LngLat:
|
|
109736
|
+
LngLat: Vr,
|
|
109717
109737
|
LngLatBounds: cd,
|
|
109718
109738
|
LogoControl: rle,
|
|
109719
109739
|
Map: CFe,
|