@mappedin/viewer 0.57.2-7afa99a.0 → 0.57.3-3ece433.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/CHANGELOG.md +7 -0
- package/dist/index.js +532 -527
- package/dist/types/src/stores/feature-flag-store/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -128,7 +128,7 @@ function $ze(t) {
|
|
|
128
128
|
if (t._status === 1) return t._result.default;
|
|
129
129
|
throw t._result;
|
|
130
130
|
}
|
|
131
|
-
var
|
|
131
|
+
var ll = { current: null }, uB = { transition: null }, jze = { ReactCurrentDispatcher: ll, ReactCurrentBatchConfig: uB, ReactCurrentOwner: uK };
|
|
132
132
|
function c6e() {
|
|
133
133
|
throw Error("act(...) is not supported in production builds of React.");
|
|
134
134
|
}
|
|
@@ -205,48 +205,48 @@ Cn.startTransition = function(t) {
|
|
|
205
205
|
};
|
|
206
206
|
Cn.unstable_act = c6e;
|
|
207
207
|
Cn.useCallback = function(t, e) {
|
|
208
|
-
return
|
|
208
|
+
return ll.current.useCallback(t, e);
|
|
209
209
|
};
|
|
210
210
|
Cn.useContext = function(t) {
|
|
211
|
-
return
|
|
211
|
+
return ll.current.useContext(t);
|
|
212
212
|
};
|
|
213
213
|
Cn.useDebugValue = function() {
|
|
214
214
|
};
|
|
215
215
|
Cn.useDeferredValue = function(t) {
|
|
216
|
-
return
|
|
216
|
+
return ll.current.useDeferredValue(t);
|
|
217
217
|
};
|
|
218
218
|
Cn.useEffect = function(t, e) {
|
|
219
|
-
return
|
|
219
|
+
return ll.current.useEffect(t, e);
|
|
220
220
|
};
|
|
221
221
|
Cn.useId = function() {
|
|
222
|
-
return
|
|
222
|
+
return ll.current.useId();
|
|
223
223
|
};
|
|
224
224
|
Cn.useImperativeHandle = function(t, e, r) {
|
|
225
|
-
return
|
|
225
|
+
return ll.current.useImperativeHandle(t, e, r);
|
|
226
226
|
};
|
|
227
227
|
Cn.useInsertionEffect = function(t, e) {
|
|
228
|
-
return
|
|
228
|
+
return ll.current.useInsertionEffect(t, e);
|
|
229
229
|
};
|
|
230
230
|
Cn.useLayoutEffect = function(t, e) {
|
|
231
|
-
return
|
|
231
|
+
return ll.current.useLayoutEffect(t, e);
|
|
232
232
|
};
|
|
233
233
|
Cn.useMemo = function(t, e) {
|
|
234
|
-
return
|
|
234
|
+
return ll.current.useMemo(t, e);
|
|
235
235
|
};
|
|
236
236
|
Cn.useReducer = function(t, e, r) {
|
|
237
|
-
return
|
|
237
|
+
return ll.current.useReducer(t, e, r);
|
|
238
238
|
};
|
|
239
239
|
Cn.useRef = function(t) {
|
|
240
|
-
return
|
|
240
|
+
return ll.current.useRef(t);
|
|
241
241
|
};
|
|
242
242
|
Cn.useState = function(t) {
|
|
243
|
-
return
|
|
243
|
+
return ll.current.useState(t);
|
|
244
244
|
};
|
|
245
245
|
Cn.useSyncExternalStore = function(t, e, r) {
|
|
246
|
-
return
|
|
246
|
+
return ll.current.useSyncExternalStore(t, e, r);
|
|
247
247
|
};
|
|
248
248
|
Cn.useTransition = function() {
|
|
249
|
-
return
|
|
249
|
+
return ll.current.useTransition();
|
|
250
250
|
};
|
|
251
251
|
Cn.version = "18.3.1";
|
|
252
252
|
r6e.exports = Cn;
|
|
@@ -534,37 +534,37 @@ function eNe(t, e, r, i) {
|
|
|
534
534
|
}
|
|
535
535
|
return !1;
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function ul(t, e, r, i, n, o, a) {
|
|
538
538
|
this.acceptsBooleans = e === 2 || e === 3 || e === 4, this.attributeName = i, this.attributeNamespace = n, this.mustUseProperty = r, this.propertyName = t, this.type = e, this.sanitizeURL = o, this.removeEmptyString = a;
|
|
539
539
|
}
|
|
540
540
|
var U2 = {};
|
|
541
541
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t) {
|
|
542
|
-
U2[t] = new
|
|
542
|
+
U2[t] = new ul(t, 0, !1, t, null, !1, !1);
|
|
543
543
|
});
|
|
544
544
|
[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(t) {
|
|
545
545
|
var e = t[0];
|
|
546
|
-
U2[e] = new
|
|
546
|
+
U2[e] = new ul(e, 1, !1, t[1], null, !1, !1);
|
|
547
547
|
});
|
|
548
548
|
["contentEditable", "draggable", "spellCheck", "value"].forEach(function(t) {
|
|
549
|
-
U2[t] = new
|
|
549
|
+
U2[t] = new ul(t, 2, !1, t.toLowerCase(), null, !1, !1);
|
|
550
550
|
});
|
|
551
551
|
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(t) {
|
|
552
|
-
U2[t] = new
|
|
552
|
+
U2[t] = new ul(t, 2, !1, t, null, !1, !1);
|
|
553
553
|
});
|
|
554
554
|
"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t) {
|
|
555
|
-
U2[t] = new
|
|
555
|
+
U2[t] = new ul(t, 3, !1, t.toLowerCase(), null, !1, !1);
|
|
556
556
|
});
|
|
557
557
|
["checked", "multiple", "muted", "selected"].forEach(function(t) {
|
|
558
|
-
U2[t] = new
|
|
558
|
+
U2[t] = new ul(t, 3, !0, t, null, !1, !1);
|
|
559
559
|
});
|
|
560
560
|
["capture", "download"].forEach(function(t) {
|
|
561
|
-
U2[t] = new
|
|
561
|
+
U2[t] = new ul(t, 4, !1, t, null, !1, !1);
|
|
562
562
|
});
|
|
563
563
|
["cols", "rows", "size", "span"].forEach(function(t) {
|
|
564
|
-
U2[t] = new
|
|
564
|
+
U2[t] = new ul(t, 6, !1, t, null, !1, !1);
|
|
565
565
|
});
|
|
566
566
|
["rowSpan", "start"].forEach(function(t) {
|
|
567
|
-
U2[t] = new
|
|
567
|
+
U2[t] = new ul(t, 5, !1, t.toLowerCase(), null, !1, !1);
|
|
568
568
|
});
|
|
569
569
|
var hK = /[\-:]([a-z])/g;
|
|
570
570
|
function dK(t) {
|
|
@@ -575,22 +575,22 @@ function dK(t) {
|
|
|
575
575
|
hK,
|
|
576
576
|
dK
|
|
577
577
|
);
|
|
578
|
-
U2[e] = new
|
|
578
|
+
U2[e] = new ul(e, 1, !1, t, null, !1, !1);
|
|
579
579
|
});
|
|
580
580
|
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t) {
|
|
581
581
|
var e = t.replace(hK, dK);
|
|
582
|
-
U2[e] = new
|
|
582
|
+
U2[e] = new ul(e, 1, !1, t, "http://www.w3.org/1999/xlink", !1, !1);
|
|
583
583
|
});
|
|
584
584
|
["xml:base", "xml:lang", "xml:space"].forEach(function(t) {
|
|
585
585
|
var e = t.replace(hK, dK);
|
|
586
|
-
U2[e] = new
|
|
586
|
+
U2[e] = new ul(e, 1, !1, t, "http://www.w3.org/XML/1998/namespace", !1, !1);
|
|
587
587
|
});
|
|
588
588
|
["tabIndex", "crossOrigin"].forEach(function(t) {
|
|
589
|
-
U2[t] = new
|
|
589
|
+
U2[t] = new ul(t, 1, !1, t.toLowerCase(), null, !1, !1);
|
|
590
590
|
});
|
|
591
|
-
U2.xlinkHref = new
|
|
591
|
+
U2.xlinkHref = new ul("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1);
|
|
592
592
|
["src", "href", "action", "formAction"].forEach(function(t) {
|
|
593
|
-
U2[t] = new
|
|
593
|
+
U2[t] = new ul(t, 1, !1, t.toLowerCase(), null, !0, !0);
|
|
594
594
|
});
|
|
595
595
|
function fK(t, e, r, i) {
|
|
596
596
|
var n = U2.hasOwnProperty(e) ? U2[e] : null;
|
|
@@ -2326,7 +2326,7 @@ function ua(t) {
|
|
|
2326
2326
|
function Go(t, e) {
|
|
2327
2327
|
q9++, JH[q9] = t.current, t.current = e;
|
|
2328
2328
|
}
|
|
2329
|
-
var q4 = {}, y0 = x6(q4),
|
|
2329
|
+
var q4 = {}, y0 = x6(q4), Ol = x6(!1), L5 = q4;
|
|
2330
2330
|
function gg(t, e) {
|
|
2331
2331
|
var r = t.type.contextTypes;
|
|
2332
2332
|
if (!r) return q4;
|
|
@@ -2336,15 +2336,15 @@ function gg(t, e) {
|
|
|
2336
2336
|
for (o in r) n[o] = e[o];
|
|
2337
2337
|
return i && (t = t.stateNode, t.__reactInternalMemoizedUnmaskedChildContext = e, t.__reactInternalMemoizedMaskedChildContext = n), n;
|
|
2338
2338
|
}
|
|
2339
|
-
function
|
|
2339
|
+
function zl(t) {
|
|
2340
2340
|
return t = t.childContextTypes, t != null;
|
|
2341
2341
|
}
|
|
2342
2342
|
function tL() {
|
|
2343
|
-
ua(
|
|
2343
|
+
ua(Ol), ua(y0);
|
|
2344
2344
|
}
|
|
2345
2345
|
function Ese(t, e, r) {
|
|
2346
2346
|
if (y0.current !== q4) throw Error(Gt(168));
|
|
2347
|
-
Go(y0, e), Go(
|
|
2347
|
+
Go(y0, e), Go(Ol, r);
|
|
2348
2348
|
}
|
|
2349
2349
|
function uAe(t, e, r) {
|
|
2350
2350
|
var i = t.stateNode;
|
|
@@ -2354,12 +2354,12 @@ function uAe(t, e, r) {
|
|
|
2354
2354
|
return ka({}, r, i);
|
|
2355
2355
|
}
|
|
2356
2356
|
function rL(t) {
|
|
2357
|
-
return t = (t = t.stateNode) && t.__reactInternalMemoizedMergedChildContext || q4, L5 = y0.current, Go(y0, t), Go(
|
|
2357
|
+
return t = (t = t.stateNode) && t.__reactInternalMemoizedMergedChildContext || q4, L5 = y0.current, Go(y0, t), Go(Ol, Ol.current), !0;
|
|
2358
2358
|
}
|
|
2359
2359
|
function Mse(t, e, r) {
|
|
2360
2360
|
var i = t.stateNode;
|
|
2361
2361
|
if (!i) throw Error(Gt(169));
|
|
2362
|
-
r ? (t = uAe(t, e, L5), i.__reactInternalMemoizedMergedChildContext = t, ua(
|
|
2362
|
+
r ? (t = uAe(t, e, L5), i.__reactInternalMemoizedMergedChildContext = t, ua(Ol), ua(y0), Go(y0, t)) : ua(Ol), Go(Ol, r);
|
|
2363
2363
|
}
|
|
2364
2364
|
var Wf = null, aO = !1, _U = !1;
|
|
2365
2365
|
function cAe(t) {
|
|
@@ -2726,7 +2726,7 @@ function eQ(t, e, r) {
|
|
|
2726
2726
|
}
|
|
2727
2727
|
}
|
|
2728
2728
|
function Um(t, e) {
|
|
2729
|
-
aL = t, BK = rm = null, t = t.dependencies, t !== null && t.firstContext !== null && (t.lanes & e && (
|
|
2729
|
+
aL = t, BK = rm = null, t = t.dependencies, t !== null && t.firstContext !== null && (t.lanes & e && (Tl = !0), t.firstContext = null);
|
|
2730
2730
|
}
|
|
2731
2731
|
function U1(t) {
|
|
2732
2732
|
var e = t._currentValue;
|
|
@@ -2988,7 +2988,7 @@ function EU(t) {
|
|
|
2988
2988
|
}
|
|
2989
2989
|
u = u.next;
|
|
2990
2990
|
} while (u !== null && u !== o);
|
|
2991
|
-
l === null ? a = i : l.next = s, ah(i, e.memoizedState) || (
|
|
2991
|
+
l === null ? a = i : l.next = s, ah(i, e.memoizedState) || (Tl = !0), e.memoizedState = i, e.baseState = a, e.baseQueue = l, r.lastRenderedState = i;
|
|
2992
2992
|
}
|
|
2993
2993
|
if (t = r.interleaved, t !== null) {
|
|
2994
2994
|
n = t;
|
|
@@ -3009,7 +3009,7 @@ function MU(t) {
|
|
|
3009
3009
|
do
|
|
3010
3010
|
o = t(o, a.action), a = a.next;
|
|
3011
3011
|
while (a !== n);
|
|
3012
|
-
ah(o, e.memoizedState) || (
|
|
3012
|
+
ah(o, e.memoizedState) || (Tl = !0), e.memoizedState = o, e.baseQueue === null && (e.baseState = o), r.lastRenderedState = o;
|
|
3013
3013
|
}
|
|
3014
3014
|
return [o, i];
|
|
3015
3015
|
}
|
|
@@ -3017,7 +3017,7 @@ function vAe() {
|
|
|
3017
3017
|
}
|
|
3018
3018
|
function CAe(t, e) {
|
|
3019
3019
|
var r = La, i = $1(), n = e(), o = !ah(i.memoizedState, n);
|
|
3020
|
-
if (o && (i.memoizedState = n,
|
|
3020
|
+
if (o && (i.memoizedState = n, Tl = !0), i = i.queue, $K(xAe.bind(null, r, i, t), [t]), i.getSnapshot !== e || o || m2 !== null && m2.memoizedState.tag & 1) {
|
|
3021
3021
|
if (r.flags |= 2048, ob(9, _Ae.bind(null, r, i, n, e), void 0, null), v2 === null) throw Error(Gt(349));
|
|
3022
3022
|
R5 & 30 || wAe(r, e, n);
|
|
3023
3023
|
}
|
|
@@ -3113,7 +3113,7 @@ function PAe(t, e) {
|
|
|
3113
3113
|
return i !== null && e !== null && zK(e, i[1]) ? i[0] : (t = t(), r.memoizedState = [t, e], t);
|
|
3114
3114
|
}
|
|
3115
3115
|
function FAe(t, e, r) {
|
|
3116
|
-
return R5 & 21 ? (ah(r, e) || (r = z6e(), La.lanes |= r, O5 |= r, t.baseState = !0), e) : (t.baseState && (t.baseState = !1,
|
|
3116
|
+
return R5 & 21 ? (ah(r, e) || (r = z6e(), La.lanes |= r, O5 |= r, t.baseState = !0), e) : (t.baseState && (t.baseState = !1, Tl = !0), t.memoizedState = r);
|
|
3117
3117
|
}
|
|
3118
3118
|
function _Ue(t, e) {
|
|
3119
3119
|
var r = Ao;
|
|
@@ -3289,7 +3289,7 @@ function Lse(t, e, r, i, n, o, a) {
|
|
|
3289
3289
|
}
|
|
3290
3290
|
function zAe(t, e, r) {
|
|
3291
3291
|
var i = !1, n = q4, o = e.contextType;
|
|
3292
|
-
return typeof o == "object" && o !== null ? o = U1(o) : (n =
|
|
3292
|
+
return typeof o == "object" && o !== null ? o = U1(o) : (n = zl(e) ? L5 : y0.current, i = e.contextTypes, o = (i = i != null) ? gg(t, n) : q4), e = new e(r, o), t.memoizedState = e.state !== null && e.state !== void 0 ? e.state : null, e.updater = lO, t.stateNode = e, e._reactInternals = t, i && (t = t.stateNode, t.__reactInternalMemoizedUnmaskedChildContext = n, t.__reactInternalMemoizedMaskedChildContext = o), e;
|
|
3293
3293
|
}
|
|
3294
3294
|
function kse(t, e, r, i) {
|
|
3295
3295
|
t = e.state, typeof e.componentWillReceiveProps == "function" && e.componentWillReceiveProps(r, i), typeof e.UNSAFE_componentWillReceiveProps == "function" && e.UNSAFE_componentWillReceiveProps(r, i), e.state !== t && lO.enqueueReplaceState(e, e.state, null);
|
|
@@ -3298,7 +3298,7 @@ function rQ(t, e, r, i) {
|
|
|
3298
3298
|
var n = t.stateNode;
|
|
3299
3299
|
n.props = r, n.state = t.memoizedState, n.refs = {}, LK(t);
|
|
3300
3300
|
var o = e.contextType;
|
|
3301
|
-
typeof o == "object" && o !== null ? n.context = U1(o) : (o =
|
|
3301
|
+
typeof o == "object" && o !== null ? n.context = U1(o) : (o = zl(e) ? L5 : y0.current, n.context = gg(t, o)), n.state = t.memoizedState, o = e.getDerivedStateFromProps, typeof o == "function" && (tQ(t, e, o, r), n.state = t.memoizedState), typeof e.getDerivedStateFromProps == "function" || typeof n.getSnapshotBeforeUpdate == "function" || typeof n.UNSAFE_componentWillMount != "function" && typeof n.componentWillMount != "function" || (e = n.state, typeof n.componentWillMount == "function" && n.componentWillMount(), typeof n.UNSAFE_componentWillMount == "function" && n.UNSAFE_componentWillMount(), e !== n.state && lO.enqueueReplaceState(n, n.state, null), sL(t, r, n, i), n.state = t.memoizedState), typeof n.componentDidMount == "function" && (t.flags |= 4194308);
|
|
3302
3302
|
}
|
|
3303
3303
|
function wg(t, e) {
|
|
3304
3304
|
try {
|
|
@@ -3372,14 +3372,14 @@ function Ose(t) {
|
|
|
3372
3372
|
function zse(t, e, r, i, n) {
|
|
3373
3373
|
return t.mode & 1 ? (t.flags |= 65536, t.lanes = n, t) : (t === e ? t.flags |= 65536 : (t.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate === null ? r.tag = 17 : (e = y3(-1, 1), e.tag = 2, k4(r, e, 1))), r.lanes |= 1), t);
|
|
3374
3374
|
}
|
|
3375
|
-
var IUe = G3.ReactCurrentOwner,
|
|
3375
|
+
var IUe = G3.ReactCurrentOwner, Tl = !1;
|
|
3376
3376
|
function N0(t, e, r, i) {
|
|
3377
3377
|
e.child = t === null ? AAe(e, null, r, i) : vg(e, t.child, r, i);
|
|
3378
3378
|
}
|
|
3379
3379
|
function Nse(t, e, r, i, n) {
|
|
3380
3380
|
r = r.render;
|
|
3381
3381
|
var o = e.ref;
|
|
3382
|
-
return Um(e, n), i = NK(t, e, r, i, o, n), r = UK(), t !== null && !
|
|
3382
|
+
return Um(e, n), i = NK(t, e, r, i, o, n), r = UK(), t !== null && !Tl ? (e.updateQueue = t.updateQueue, e.flags &= -2053, t.lanes &= ~n, L3(t, e, n)) : (va && r && DK(e), e.flags |= 1, N0(t, e, i, n), e.child);
|
|
3383
3383
|
}
|
|
3384
3384
|
function Use(t, e, r, i, n) {
|
|
3385
3385
|
if (t === null) {
|
|
@@ -3395,7 +3395,7 @@ function Use(t, e, r, i, n) {
|
|
|
3395
3395
|
function $Ae(t, e, r, i, n) {
|
|
3396
3396
|
if (t !== null) {
|
|
3397
3397
|
var o = t.memoizedProps;
|
|
3398
|
-
if (Jx(o, i) && t.ref === e.ref) if (
|
|
3398
|
+
if (Jx(o, i) && t.ref === e.ref) if (Tl = !1, e.pendingProps = i = o, (t.lanes & n) !== 0) t.flags & 131072 && (Tl = !0);
|
|
3399
3399
|
else return e.lanes = t.lanes, L3(t, e, n);
|
|
3400
3400
|
}
|
|
3401
3401
|
return nQ(t, e, r, i, n);
|
|
@@ -3415,11 +3415,11 @@ function VAe(t, e) {
|
|
|
3415
3415
|
(t === null && r !== null || t !== null && t.ref !== r) && (e.flags |= 512, e.flags |= 2097152);
|
|
3416
3416
|
}
|
|
3417
3417
|
function nQ(t, e, r, i, n) {
|
|
3418
|
-
var o =
|
|
3419
|
-
return o = gg(e, o), Um(e, n), r = NK(t, e, r, i, o, n), i = UK(), t !== null && !
|
|
3418
|
+
var o = zl(r) ? L5 : y0.current;
|
|
3419
|
+
return o = gg(e, o), Um(e, n), r = NK(t, e, r, i, o, n), i = UK(), t !== null && !Tl ? (e.updateQueue = t.updateQueue, e.flags &= -2053, t.lanes &= ~n, L3(t, e, n)) : (va && i && DK(e), e.flags |= 1, N0(t, e, r, n), e.child);
|
|
3420
3420
|
}
|
|
3421
3421
|
function $se(t, e, r, i, n) {
|
|
3422
|
-
if (
|
|
3422
|
+
if (zl(r)) {
|
|
3423
3423
|
var o = !0;
|
|
3424
3424
|
rL(e);
|
|
3425
3425
|
} else o = !1;
|
|
@@ -3428,17 +3428,17 @@ function $se(t, e, r, i, n) {
|
|
|
3428
3428
|
var a = e.stateNode, s = e.memoizedProps;
|
|
3429
3429
|
a.props = s;
|
|
3430
3430
|
var l = a.context, u = r.contextType;
|
|
3431
|
-
typeof u == "object" && u !== null ? u = U1(u) : (u =
|
|
3431
|
+
typeof u == "object" && u !== null ? u = U1(u) : (u = zl(r) ? L5 : y0.current, u = gg(e, u));
|
|
3432
3432
|
var c = r.getDerivedStateFromProps, h = typeof c == "function" || typeof a.getSnapshotBeforeUpdate == "function";
|
|
3433
3433
|
h || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s !== i || l !== u) && kse(e, a, i, u), e4 = !1;
|
|
3434
3434
|
var d = e.memoizedState;
|
|
3435
|
-
a.state = d, sL(e, i, a, n), l = e.memoizedState, s !== i || d !== l ||
|
|
3435
|
+
a.state = d, sL(e, i, a, n), l = e.memoizedState, s !== i || d !== l || Ol.current || e4 ? (typeof c == "function" && (tQ(e, r, c, i), l = e.memoizedState), (s = e4 || Lse(e, r, s, i, d, l, u)) ? (h || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (e.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (e.flags |= 4194308), e.memoizedProps = i, e.memoizedState = l), a.props = i, a.state = l, a.context = u, i = s) : (typeof a.componentDidMount == "function" && (e.flags |= 4194308), i = !1);
|
|
3436
3436
|
} else {
|
|
3437
|
-
a = e.stateNode, gAe(t, e), s = e.memoizedProps, u = e.type === e.elementType ? s : xc(e.type, s), a.props = u, h = e.pendingProps, d = a.context, l = r.contextType, typeof l == "object" && l !== null ? l = U1(l) : (l =
|
|
3437
|
+
a = e.stateNode, gAe(t, e), s = e.memoizedProps, u = e.type === e.elementType ? s : xc(e.type, s), a.props = u, h = e.pendingProps, d = a.context, l = r.contextType, typeof l == "object" && l !== null ? l = U1(l) : (l = zl(r) ? L5 : y0.current, l = gg(e, l));
|
|
3438
3438
|
var f = r.getDerivedStateFromProps;
|
|
3439
3439
|
(c = typeof f == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s !== h || d !== l) && kse(e, a, i, l), e4 = !1, d = e.memoizedState, a.state = d, sL(e, i, a, n);
|
|
3440
3440
|
var p = e.memoizedState;
|
|
3441
|
-
s !== h || d !== p ||
|
|
3441
|
+
s !== h || d !== p || Ol.current || e4 ? (typeof f == "function" && (tQ(e, r, f, i), p = e.memoizedState), (u = e4 || Lse(e, r, u, i, d, p, l) || !1) ? (c || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(i, p, l), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(i, p, l)), typeof a.componentDidUpdate == "function" && (e.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (e.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || s === t.memoizedProps && d === t.memoizedState || (e.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || s === t.memoizedProps && d === t.memoizedState || (e.flags |= 1024), e.memoizedProps = i, e.memoizedState = p), a.props = i, a.state = p, a.context = l, i = u) : (typeof a.componentDidUpdate != "function" || s === t.memoizedProps && d === t.memoizedState || (e.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || s === t.memoizedProps && d === t.memoizedState || (e.flags |= 1024), i = !1);
|
|
3442
3442
|
}
|
|
3443
3443
|
return oQ(t, e, r, i, o, n);
|
|
3444
3444
|
}
|
|
@@ -3487,7 +3487,7 @@ function BUe(t, e, r, i, n, o, a) {
|
|
|
3487
3487
|
if (i = n.nextSibling && n.nextSibling.dataset, i) var s = i.dgst;
|
|
3488
3488
|
return i = s, o = Error(Gt(419)), i = DU(o, i, void 0), gD(t, e, a, i);
|
|
3489
3489
|
}
|
|
3490
|
-
if (s = (a & t.childLanes) !== 0,
|
|
3490
|
+
if (s = (a & t.childLanes) !== 0, Tl || s) {
|
|
3491
3491
|
if (i = v2, i !== null) {
|
|
3492
3492
|
switch (a & -a) {
|
|
3493
3493
|
case 4:
|
|
@@ -3605,7 +3605,7 @@ function TUe(t, e, r) {
|
|
|
3605
3605
|
yAe(e);
|
|
3606
3606
|
break;
|
|
3607
3607
|
case 1:
|
|
3608
|
-
|
|
3608
|
+
zl(e.type) && rL(e);
|
|
3609
3609
|
break;
|
|
3610
3610
|
case 4:
|
|
3611
3611
|
kK(e, e.stateNode.containerInfo);
|
|
@@ -3728,9 +3728,9 @@ function PUe(t, e, r) {
|
|
|
3728
3728
|
case 14:
|
|
3729
3729
|
return Y2(e), null;
|
|
3730
3730
|
case 1:
|
|
3731
|
-
return
|
|
3731
|
+
return zl(e.type) && tL(), Y2(e), null;
|
|
3732
3732
|
case 3:
|
|
3733
|
-
return i = e.stateNode, Cg(), ua(
|
|
3733
|
+
return i = e.stateNode, Cg(), ua(Ol), ua(y0), OK(), i.pendingContext && (i.context = i.pendingContext, i.pendingContext = null), (t === null || t.child === null) && (AD(e) ? e.flags |= 4 : t === null || t.memoizedState.isDehydrated && !(e.flags & 256) || (e.flags |= 1024, Tc !== null && (mQ(Tc), Tc = null))), lQ(t, e), Y2(e), null;
|
|
3734
3734
|
case 5:
|
|
3735
3735
|
RK(e);
|
|
3736
3736
|
var n = WA(rb.current);
|
|
@@ -3928,7 +3928,7 @@ function PUe(t, e, r) {
|
|
|
3928
3928
|
case 10:
|
|
3929
3929
|
return PK(e.type._context), Y2(e), null;
|
|
3930
3930
|
case 17:
|
|
3931
|
-
return
|
|
3931
|
+
return zl(e.type) && tL(), Y2(e), null;
|
|
3932
3932
|
case 19:
|
|
3933
3933
|
if (ua(Da), o = e.memoizedState, o === null) return Y2(e), null;
|
|
3934
3934
|
if (i = (e.flags & 128) !== 0, a = o.rendering, a === null) if (i) Qv(o, !1);
|
|
@@ -3962,9 +3962,9 @@ function PUe(t, e, r) {
|
|
|
3962
3962
|
function FUe(t, e) {
|
|
3963
3963
|
switch (SK(e), e.tag) {
|
|
3964
3964
|
case 1:
|
|
3965
|
-
return
|
|
3965
|
+
return zl(e.type) && tL(), t = e.flags, t & 65536 ? (e.flags = t & -65537 | 128, e) : null;
|
|
3966
3966
|
case 3:
|
|
3967
|
-
return Cg(), ua(
|
|
3967
|
+
return Cg(), ua(Ol), ua(y0), OK(), t = e.flags, t & 65536 && !(t & 128) ? (e.flags = t & -65537 | 128, e) : null;
|
|
3968
3968
|
case 5:
|
|
3969
3969
|
return RK(e), null;
|
|
3970
3970
|
case 13:
|
|
@@ -4628,7 +4628,7 @@ function Wse(t) {
|
|
|
4628
4628
|
br = e.return;
|
|
4629
4629
|
}
|
|
4630
4630
|
}
|
|
4631
|
-
var OUe = Math.ceil, hL = G3.ReactCurrentDispatcher, HK = G3.ReactCurrentOwner, T1 = G3.ReactCurrentBatchConfig, Un = 0, v2 = null, Bs = null, O2 = 0, du = 0, nm = x6(0), e2 = 0, ab = null, O5 = 0, cO = 0, QK = 0, Y_ = null,
|
|
4631
|
+
var OUe = Math.ceil, hL = G3.ReactCurrentDispatcher, HK = G3.ReactCurrentOwner, T1 = G3.ReactCurrentBatchConfig, Un = 0, v2 = null, Bs = null, O2 = 0, du = 0, nm = x6(0), e2 = 0, ab = null, O5 = 0, cO = 0, QK = 0, Y_ = null, Dl = null, ZK = 0, _g = 1 / 0, Nf = null, dL = !1, fQ = null, R4 = null, vD = !1, y4 = null, fL = 0, W_ = 0, pQ = null, gB = -1, yB = 0;
|
|
4632
4632
|
function W0() {
|
|
4633
4633
|
return Un & 6 ? ds() : gB !== -1 ? gB : gB = ds();
|
|
4634
4634
|
}
|
|
@@ -4637,9 +4637,9 @@ function O4(t) {
|
|
|
4637
4637
|
}
|
|
4638
4638
|
function Gc(t, e, r, i) {
|
|
4639
4639
|
if (50 < W_) throw W_ = 0, pQ = null, Error(Gt(185));
|
|
4640
|
-
FE(t, r, i), (!(Un & 2) || t !== v2) && (t === v2 && (!(Un & 2) && (cO |= r), e2 === 4 && c4(t, O2)),
|
|
4640
|
+
FE(t, r, i), (!(Un & 2) || t !== v2) && (t === v2 && (!(Un & 2) && (cO |= r), e2 === 4 && c4(t, O2)), Nl(t, i), r === 1 && Un === 0 && !(e.mode & 1) && (_g = ds() + 500, aO && b6()));
|
|
4641
4641
|
}
|
|
4642
|
-
function
|
|
4642
|
+
function Nl(t, e) {
|
|
4643
4643
|
var r = t.callbackNode;
|
|
4644
4644
|
CNe(t, e);
|
|
4645
4645
|
var i = XF(t, t === v2 ? O2 : 0);
|
|
@@ -4694,16 +4694,16 @@ function t5e(t, e) {
|
|
|
4694
4694
|
TK(), hL.current = o, Un = n, Bs !== null ? e = 0 : (v2 = null, O2 = 0, e = e2);
|
|
4695
4695
|
}
|
|
4696
4696
|
if (e !== 0) {
|
|
4697
|
-
if (e === 2 && (n = $H(t), n !== 0 && (i = n, e = AQ(t, n))), e === 1) throw r = ab, y5(t, 0), c4(t, i),
|
|
4697
|
+
if (e === 2 && (n = $H(t), n !== 0 && (i = n, e = AQ(t, n))), e === 1) throw r = ab, y5(t, 0), c4(t, i), Nl(t, ds()), r;
|
|
4698
4698
|
if (e === 6) c4(t, i);
|
|
4699
4699
|
else {
|
|
4700
|
-
if (n = t.current.alternate, !(i & 30) && !zUe(n) && (e = pL(t, i), e === 2 && (o = $H(t), o !== 0 && (i = o, e = AQ(t, o))), e === 1)) throw r = ab, y5(t, 0), c4(t, i),
|
|
4700
|
+
if (n = t.current.alternate, !(i & 30) && !zUe(n) && (e = pL(t, i), e === 2 && (o = $H(t), o !== 0 && (i = o, e = AQ(t, o))), e === 1)) throw r = ab, y5(t, 0), c4(t, i), Nl(t, ds()), r;
|
|
4701
4701
|
switch (t.finishedWork = n, t.finishedLanes = i, e) {
|
|
4702
4702
|
case 0:
|
|
4703
4703
|
case 1:
|
|
4704
4704
|
throw Error(Gt(345));
|
|
4705
4705
|
case 2:
|
|
4706
|
-
uA(t,
|
|
4706
|
+
uA(t, Dl, Nf);
|
|
4707
4707
|
break;
|
|
4708
4708
|
case 3:
|
|
4709
4709
|
if (c4(t, i), (i & 130023424) === i && (e = ZK + 500 - ds(), 10 < e)) {
|
|
@@ -4712,10 +4712,10 @@ function t5e(t, e) {
|
|
|
4712
4712
|
W0(), t.pingedLanes |= t.suspendedLanes & n;
|
|
4713
4713
|
break;
|
|
4714
4714
|
}
|
|
4715
|
-
t.timeoutHandle = WH(uA.bind(null, t,
|
|
4715
|
+
t.timeoutHandle = WH(uA.bind(null, t, Dl, Nf), e);
|
|
4716
4716
|
break;
|
|
4717
4717
|
}
|
|
4718
|
-
uA(t,
|
|
4718
|
+
uA(t, Dl, Nf);
|
|
4719
4719
|
break;
|
|
4720
4720
|
case 4:
|
|
4721
4721
|
if (c4(t, i), (i & 4194240) === i) break;
|
|
@@ -4724,27 +4724,27 @@ function t5e(t, e) {
|
|
|
4724
4724
|
o = 1 << a, a = e[a], a > n && (n = a), i &= ~o;
|
|
4725
4725
|
}
|
|
4726
4726
|
if (i = n, i = ds() - i, i = (120 > i ? 120 : 480 > i ? 480 : 1080 > i ? 1080 : 1920 > i ? 1920 : 3e3 > i ? 3e3 : 4320 > i ? 4320 : 1960 * OUe(i / 1960)) - i, 10 < i) {
|
|
4727
|
-
t.timeoutHandle = WH(uA.bind(null, t,
|
|
4727
|
+
t.timeoutHandle = WH(uA.bind(null, t, Dl, Nf), i);
|
|
4728
4728
|
break;
|
|
4729
4729
|
}
|
|
4730
|
-
uA(t,
|
|
4730
|
+
uA(t, Dl, Nf);
|
|
4731
4731
|
break;
|
|
4732
4732
|
case 5:
|
|
4733
|
-
uA(t,
|
|
4733
|
+
uA(t, Dl, Nf);
|
|
4734
4734
|
break;
|
|
4735
4735
|
default:
|
|
4736
4736
|
throw Error(Gt(329));
|
|
4737
4737
|
}
|
|
4738
4738
|
}
|
|
4739
4739
|
}
|
|
4740
|
-
return
|
|
4740
|
+
return Nl(t, ds()), t.callbackNode === r ? t5e.bind(null, t) : null;
|
|
4741
4741
|
}
|
|
4742
4742
|
function AQ(t, e) {
|
|
4743
4743
|
var r = Y_;
|
|
4744
|
-
return t.current.memoizedState.isDehydrated && (y5(t, e).flags |= 256), t = pL(t, e), t !== 2 && (e =
|
|
4744
|
+
return t.current.memoizedState.isDehydrated && (y5(t, e).flags |= 256), t = pL(t, e), t !== 2 && (e = Dl, Dl = r, e !== null && mQ(e)), t;
|
|
4745
4745
|
}
|
|
4746
4746
|
function mQ(t) {
|
|
4747
|
-
|
|
4747
|
+
Dl === null ? Dl = t : Dl.push.apply(Dl, t);
|
|
4748
4748
|
}
|
|
4749
4749
|
function zUe(t) {
|
|
4750
4750
|
for (var e = t; ; ) {
|
|
@@ -4782,15 +4782,15 @@ function Xse(t) {
|
|
|
4782
4782
|
if (Un & 6) throw Error(Gt(327));
|
|
4783
4783
|
$m();
|
|
4784
4784
|
var e = XF(t, 0);
|
|
4785
|
-
if (!(e & 1)) return
|
|
4785
|
+
if (!(e & 1)) return Nl(t, ds()), null;
|
|
4786
4786
|
var r = pL(t, e);
|
|
4787
4787
|
if (t.tag !== 0 && r === 2) {
|
|
4788
4788
|
var i = $H(t);
|
|
4789
4789
|
i !== 0 && (e = i, r = AQ(t, i));
|
|
4790
4790
|
}
|
|
4791
|
-
if (r === 1) throw r = ab, y5(t, 0), c4(t, e),
|
|
4791
|
+
if (r === 1) throw r = ab, y5(t, 0), c4(t, e), Nl(t, ds()), r;
|
|
4792
4792
|
if (r === 6) throw Error(Gt(345));
|
|
4793
|
-
return t.finishedWork = t.current.alternate, t.finishedLanes = e, uA(t,
|
|
4793
|
+
return t.finishedWork = t.current.alternate, t.finishedLanes = e, uA(t, Dl, Nf), Nl(t, ds()), null;
|
|
4794
4794
|
}
|
|
4795
4795
|
function GK(t, e) {
|
|
4796
4796
|
var r = Un;
|
|
@@ -4825,7 +4825,7 @@ function y5(t, e) {
|
|
|
4825
4825
|
i = i.type.childContextTypes, i != null && tL();
|
|
4826
4826
|
break;
|
|
4827
4827
|
case 3:
|
|
4828
|
-
Cg(), ua(
|
|
4828
|
+
Cg(), ua(Ol), ua(y0), OK();
|
|
4829
4829
|
break;
|
|
4830
4830
|
case 5:
|
|
4831
4831
|
RK(i);
|
|
@@ -4848,7 +4848,7 @@ function y5(t, e) {
|
|
|
4848
4848
|
}
|
|
4849
4849
|
r = r.return;
|
|
4850
4850
|
}
|
|
4851
|
-
if (v2 = t, Bs = t = z4(t.current, null), O2 = du = e, e2 = 0, ab = null, QK = cO = O5 = 0,
|
|
4851
|
+
if (v2 = t, Bs = t = z4(t.current, null), O2 = du = e, e2 = 0, ab = null, QK = cO = O5 = 0, Dl = Y_ = null, YA !== null) {
|
|
4852
4852
|
for (e = 0; e < YA.length; e++) if (r = YA[e], i = r.interleaved, i !== null) {
|
|
4853
4853
|
r.interleaved = null;
|
|
4854
4854
|
var n = i.next, o = r.pending;
|
|
@@ -5025,7 +5025,7 @@ function $Ue(t, e, r, i) {
|
|
|
5025
5025
|
var s = Un;
|
|
5026
5026
|
Un |= 4, HK.current = null, kUe(t, r), qAe(r, t), sUe(GH), JF = !!ZH, GH = ZH = null, t.current = r, RUe(r), dNe(), Un = s, Ao = a, T1.transition = o;
|
|
5027
5027
|
} else t.current = r;
|
|
5028
|
-
if (vD && (vD = !1, y4 = t, fL = n), o = t.pendingLanes, o === 0 && (R4 = null), ANe(r.stateNode),
|
|
5028
|
+
if (vD && (vD = !1, y4 = t, fL = n), o = t.pendingLanes, o === 0 && (R4 = null), ANe(r.stateNode), Nl(t, ds()), e !== null) for (i = t.onRecoverableError, r = 0; r < e.length; r++) n = e[r], i(n.value, { componentStack: n.stack, digest: n.digest });
|
|
5029
5029
|
if (dL) throw dL = !1, t = fQ, fQ = null, t;
|
|
5030
5030
|
return fL & 1 && t.tag !== 0 && $m(), o = t.pendingLanes, o & 1 ? t === pQ ? W_++ : (W_ = 0, pQ = t) : W_ = 0, b6(), null;
|
|
5031
5031
|
}
|
|
@@ -5141,7 +5141,7 @@ function $m() {
|
|
|
5141
5141
|
return !1;
|
|
5142
5142
|
}
|
|
5143
5143
|
function Jse(t, e, r) {
|
|
5144
|
-
e = wg(r, e), e = NAe(t, e, 1), t = k4(t, e, 1), e = W0(), t !== null && (FE(t, 1, e),
|
|
5144
|
+
e = wg(r, e), e = NAe(t, e, 1), t = k4(t, e, 1), e = W0(), t !== null && (FE(t, 1, e), Nl(t, e));
|
|
5145
5145
|
}
|
|
5146
5146
|
function Za(t, e, r) {
|
|
5147
5147
|
if (t.tag === 3) Jse(t, t, r);
|
|
@@ -5152,7 +5152,7 @@ function Za(t, e, r) {
|
|
|
5152
5152
|
} else if (e.tag === 1) {
|
|
5153
5153
|
var i = e.stateNode;
|
|
5154
5154
|
if (typeof e.type.getDerivedStateFromError == "function" || typeof i.componentDidCatch == "function" && (R4 === null || !R4.has(i))) {
|
|
5155
|
-
t = wg(r, t), t = UAe(e, t, 1), e = k4(e, t, 1), t = W0(), e !== null && (FE(e, 1, t),
|
|
5155
|
+
t = wg(r, t), t = UAe(e, t, 1), e = k4(e, t, 1), t = W0(), e !== null && (FE(e, 1, t), Nl(e, t));
|
|
5156
5156
|
break;
|
|
5157
5157
|
}
|
|
5158
5158
|
}
|
|
@@ -5161,12 +5161,12 @@ function Za(t, e, r) {
|
|
|
5161
5161
|
}
|
|
5162
5162
|
function jUe(t, e, r) {
|
|
5163
5163
|
var i = t.pingCache;
|
|
5164
|
-
i !== null && i.delete(e), e = W0(), t.pingedLanes |= t.suspendedLanes & r, v2 === t && (O2 & r) === r && (e2 === 4 || e2 === 3 && (O2 & 130023424) === O2 && 500 > ds() - ZK ? y5(t, 0) : QK |= r),
|
|
5164
|
+
i !== null && i.delete(e), e = W0(), t.pingedLanes |= t.suspendedLanes & r, v2 === t && (O2 & r) === r && (e2 === 4 || e2 === 3 && (O2 & 130023424) === O2 && 500 > ds() - ZK ? y5(t, 0) : QK |= r), Nl(t, e);
|
|
5165
5165
|
}
|
|
5166
5166
|
function a5e(t, e) {
|
|
5167
5167
|
e === 0 && (t.mode & 1 ? (e = uD, uD <<= 1, !(uD & 130023424) && (uD = 4194304)) : e = 1);
|
|
5168
5168
|
var r = W0();
|
|
5169
|
-
t = F3(t, e), t !== null && (FE(t, e, r),
|
|
5169
|
+
t = F3(t, e), t !== null && (FE(t, e, r), Nl(t, r));
|
|
5170
5170
|
}
|
|
5171
5171
|
function VUe(t) {
|
|
5172
5172
|
var e = t.memoizedState, r = 0;
|
|
@@ -5189,12 +5189,12 @@ function HUe(t, e) {
|
|
|
5189
5189
|
}
|
|
5190
5190
|
var s5e;
|
|
5191
5191
|
s5e = function(t, e, r) {
|
|
5192
|
-
if (t !== null) if (t.memoizedProps !== e.pendingProps ||
|
|
5192
|
+
if (t !== null) if (t.memoizedProps !== e.pendingProps || Ol.current) Tl = !0;
|
|
5193
5193
|
else {
|
|
5194
|
-
if (!(t.lanes & r) && !(e.flags & 128)) return
|
|
5195
|
-
|
|
5194
|
+
if (!(t.lanes & r) && !(e.flags & 128)) return Tl = !1, TUe(t, e, r);
|
|
5195
|
+
Tl = !!(t.flags & 131072);
|
|
5196
5196
|
}
|
|
5197
|
-
else
|
|
5197
|
+
else Tl = !1, va && e.flags & 1048576 && hAe(e, nL, e.index);
|
|
5198
5198
|
switch (e.lanes = 0, e.tag) {
|
|
5199
5199
|
case 2:
|
|
5200
5200
|
var i = e.type;
|
|
@@ -5202,7 +5202,7 @@ s5e = function(t, e, r) {
|
|
|
5202
5202
|
var n = gg(e, y0.current);
|
|
5203
5203
|
Um(e, r), n = NK(null, e, i, t, n, r);
|
|
5204
5204
|
var o = UK();
|
|
5205
|
-
return e.flags |= 1, typeof n == "object" && n !== null && typeof n.render == "function" && n.$$typeof === void 0 ? (e.tag = 1, e.memoizedState = null, e.updateQueue = null,
|
|
5205
|
+
return e.flags |= 1, typeof n == "object" && n !== null && typeof n.render == "function" && n.$$typeof === void 0 ? (e.tag = 1, e.memoizedState = null, e.updateQueue = null, zl(i) ? (o = !0, rL(e)) : o = !1, e.memoizedState = n.state !== null && n.state !== void 0 ? n.state : null, LK(e), n.updater = lO, e.stateNode = n, n._reactInternals = e, rQ(e, i, t, r), e = oQ(null, e, i, !0, o, r)) : (e.tag = 0, va && o && DK(e), N0(null, e, n, r), e = e.child), e;
|
|
5206
5206
|
case 16:
|
|
5207
5207
|
i = e.elementType;
|
|
5208
5208
|
e: {
|
|
@@ -5272,7 +5272,7 @@ s5e = function(t, e, r) {
|
|
|
5272
5272
|
case 10:
|
|
5273
5273
|
e: {
|
|
5274
5274
|
if (i = e.type._context, n = e.pendingProps, o = e.memoizedProps, a = n.value, Go(oL, i._currentValue), i._currentValue = a, o !== null) if (ah(o.value, a)) {
|
|
5275
|
-
if (o.children === n.children && !
|
|
5275
|
+
if (o.children === n.children && !Ol.current) {
|
|
5276
5276
|
e = L3(t, e, r);
|
|
5277
5277
|
break e;
|
|
5278
5278
|
}
|
|
@@ -5329,7 +5329,7 @@ s5e = function(t, e, r) {
|
|
|
5329
5329
|
case 15:
|
|
5330
5330
|
return $Ae(t, e, e.type, e.pendingProps, r);
|
|
5331
5331
|
case 17:
|
|
5332
|
-
return i = e.type, n = e.pendingProps, n = e.elementType === i ? n : xc(i, n), mB(t, e), e.tag = 1,
|
|
5332
|
+
return i = e.type, n = e.pendingProps, n = e.elementType === i ? n : xc(i, n), mB(t, e), e.tag = 1, zl(i) ? (t = !0, rL(e)) : t = !1, Um(e, r), zAe(e, i, n), rQ(e, i, n, r), oQ(null, e, i, !0, t, r);
|
|
5333
5333
|
case 19:
|
|
5334
5334
|
return ZAe(t, e, r);
|
|
5335
5335
|
case 22:
|
|
@@ -5435,7 +5435,7 @@ function u5e(t) {
|
|
|
5435
5435
|
e = e.stateNode.context;
|
|
5436
5436
|
break e;
|
|
5437
5437
|
case 1:
|
|
5438
|
-
if (
|
|
5438
|
+
if (zl(e.type)) {
|
|
5439
5439
|
e = e.stateNode.__reactInternalMemoizedMergedChildContext;
|
|
5440
5440
|
break e;
|
|
5441
5441
|
}
|
|
@@ -5446,12 +5446,12 @@ function u5e(t) {
|
|
|
5446
5446
|
}
|
|
5447
5447
|
if (t.tag === 1) {
|
|
5448
5448
|
var r = t.type;
|
|
5449
|
-
if (
|
|
5449
|
+
if (zl(r)) return uAe(t, r, e);
|
|
5450
5450
|
}
|
|
5451
5451
|
return e;
|
|
5452
5452
|
}
|
|
5453
5453
|
function c5e(t, e, r, i, n, o, a, s, l) {
|
|
5454
|
-
return t = JK(r, i, !0, t, n, o, a, s, l), t.context = u5e(null), r = t.current, i = W0(), n = O4(r), o = y3(i, n), o.callback = e ?? null, k4(r, o, n), t.current.lanes = n, FE(t, n, i),
|
|
5454
|
+
return t = JK(r, i, !0, t, n, o, a, s, l), t.context = u5e(null), r = t.current, i = W0(), n = O4(r), o = y3(i, n), o.callback = e ?? null, k4(r, o, n), t.current.lanes = n, FE(t, n, i), Nl(t, i), t;
|
|
5455
5455
|
}
|
|
5456
5456
|
function dO(t, e, r, i) {
|
|
5457
5457
|
var n = e.current, o = W0(), a = O4(n);
|
|
@@ -5564,7 +5564,7 @@ U6e = function(t) {
|
|
|
5564
5564
|
var e = t.stateNode;
|
|
5565
5565
|
if (e.current.memoizedState.isDehydrated) {
|
|
5566
5566
|
var r = ew(e.pendingLanes);
|
|
5567
|
-
r !== 0 && (vK(e, r | 1),
|
|
5567
|
+
r !== 0 && (vK(e, r | 1), Nl(e, ds()), !(Un & 6) && (_g = ds() + 500, b6()));
|
|
5568
5568
|
}
|
|
5569
5569
|
break;
|
|
5570
5570
|
case 13:
|
|
@@ -11789,7 +11789,7 @@ var hb = /* @__PURE__ */ B8e(!0);
|
|
|
11789
11789
|
Object.assign(hb, RQ);
|
|
11790
11790
|
S1.bound = /* @__PURE__ */ Dd(_Qe);
|
|
11791
11791
|
hb.bound = /* @__PURE__ */ Dd(xQe);
|
|
11792
|
-
function
|
|
11792
|
+
function Ul(t) {
|
|
11793
11793
|
return m8e(t.name || I8e, !1, t, this, void 0);
|
|
11794
11794
|
}
|
|
11795
11795
|
function db(t) {
|
|
@@ -13679,8 +13679,8 @@ FL.exports;
|
|
|
13679
13679
|
Ui = Tt[ar];
|
|
13680
13680
|
var M0 = ke[Ui], Jo = Q[Ui];
|
|
13681
13681
|
if (J)
|
|
13682
|
-
var
|
|
13683
|
-
if (!(
|
|
13682
|
+
var fl = Ct ? J(Jo, M0, Ui, Q, ke, Ne) : J(M0, Jo, Ui, ke, Q, Ne);
|
|
13683
|
+
if (!(fl === void 0 ? M0 === Jo || Me(M0, Jo, ae, J, Ne) : fl)) {
|
|
13684
13684
|
Xn = !1;
|
|
13685
13685
|
break;
|
|
13686
13686
|
}
|
|
@@ -13811,7 +13811,7 @@ FL.exports;
|
|
|
13811
13811
|
var iZe = FL.exports;
|
|
13812
13812
|
const NQ = /* @__PURE__ */ Gd(iZe);
|
|
13813
13813
|
var Tr = /* @__PURE__ */ ((t) => (t.BLUE_DOT = "blue-dot", t.YOU_ARE_HERE = "you-are-here", t.DROPPED_PIN = "dropped-pin", t.LOCATION = "location", t.NEAREST_ENTRANCE = "nearest-entrance", t))(Tr || {}), Nr = /* @__PURE__ */ ((t) => (t.START = "/", t.DIRECTIONS = "/directions", t))(Nr || {});
|
|
13814
|
-
const ft = typeof window < "u" ? window : void 0,
|
|
13814
|
+
const ft = typeof window < "u" ? window : void 0, Pl = typeof globalThis < "u" ? globalThis : ft, W8e = Array.prototype, W2e = W8e.forEach, X2e = W8e.indexOf, wu = Pl == null ? void 0 : Pl.navigator, Mr = Pl == null ? void 0 : Pl.document, El = Pl == null ? void 0 : Pl.location, Cq = Pl == null ? void 0 : Pl.fetch, wq = Pl != null && Pl.XMLHttpRequest && "withCredentials" in new Pl.XMLHttpRequest() ? Pl.XMLHttpRequest : void 0, J2e = Pl == null ? void 0 : Pl.AbortController, f2 = wu == null ? void 0 : wu.userAgent, Xi = ft ?? {}, t4 = { DEBUG: !1, LIB_VERSION: "1.181.0" }, nZe = Array.isArray, X8e = Object.prototype, J8e = X8e.hasOwnProperty, TO = X8e.toString, qs = nZe || function(t) {
|
|
13815
13815
|
return TO.call(t) === "[object Array]";
|
|
13816
13816
|
}, I1 = function(t) {
|
|
13817
13817
|
return typeof t == "function";
|
|
@@ -14553,7 +14553,7 @@ const T2 = { is_supported: function() {
|
|
|
14553
14553
|
}, referrerInfo: function() {
|
|
14554
14554
|
return { $referrer: this.referrer(), $referring_domain: this.referringDomain() };
|
|
14555
14555
|
}, initialPersonInfo: function() {
|
|
14556
|
-
return { r: this.referrer(), u:
|
|
14556
|
+
return { r: this.referrer(), u: El == null ? void 0 : El.href };
|
|
14557
14557
|
}, initialPersonPropsFromInfo: function(t) {
|
|
14558
14558
|
var e;
|
|
14559
14559
|
const { r, u: i } = t, n = { $initial_referrer: r, $initial_referring_domain: r == null ? void 0 : r == "$direct" ? "$direct" : (e = tx(r)) === null || e === void 0 ? void 0 : e.host };
|
|
@@ -14576,7 +14576,7 @@ const T2 = { is_supported: function() {
|
|
|
14576
14576
|
}, properties: function() {
|
|
14577
14577
|
if (!f2) return {};
|
|
14578
14578
|
const [t, e] = cs.os(f2);
|
|
14579
|
-
return j0(kL({ $os: t, $os_version: e, $browser: cs.browser(f2, navigator.vendor), $device: cs.device(f2), $device_type: cs.deviceType(f2), $timezone: cs.timezone() }), { $current_url:
|
|
14579
|
+
return j0(kL({ $os: t, $os_version: e, $browser: cs.browser(f2, navigator.vendor), $device: cs.device(f2), $device_type: cs.deviceType(f2), $timezone: cs.timezone() }), { $current_url: El == null ? void 0 : El.href, $host: El == null ? void 0 : El.host, $pathname: El == null ? void 0 : El.pathname, $raw_user_agent: f2.length > 1e3 ? f2.substring(0, 997) + "..." : f2, $browser_version: cs.browserVersion(f2, navigator.vendor), $browser_language: cs.browserLanguage(), $screen_height: ft == null ? void 0 : ft.screen.height, $screen_width: ft == null ? void 0 : ft.screen.width, $viewport_height: ft == null ? void 0 : ft.innerHeight, $viewport_width: ft == null ? void 0 : ft.innerWidth, $lib: "web", $lib_version: t4.LIB_VERSION, $insert_id: Math.random().toString(36).substring(2, 10) + Math.random().toString(36).substring(2, 10), $time: Date.now() / 1e3 });
|
|
14580
14580
|
}, people_properties: function() {
|
|
14581
14581
|
if (!f2) return {};
|
|
14582
14582
|
const [t, e] = cs.os(f2);
|
|
@@ -15010,22 +15010,22 @@ let QZe = class {
|
|
|
15010
15010
|
}, 1e3);
|
|
15011
15011
|
}
|
|
15012
15012
|
};
|
|
15013
|
-
var F1 = Uint8Array,
|
|
15014
|
-
for (var r = new
|
|
15013
|
+
var F1 = Uint8Array, Fl = Uint16Array, kg = Uint32Array, Dq = new F1([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0, 0]), Sq = new F1([0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 0, 0]), D0e = new F1([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]), M7e = function(t, e) {
|
|
15014
|
+
for (var r = new Fl(31), i = 0; i < 31; ++i) r[i] = e += 1 << t[i - 1];
|
|
15015
15015
|
var n = new kg(r[30]);
|
|
15016
15016
|
for (i = 1; i < 30; ++i) for (var o = r[i]; o < r[i + 1]; ++o) n[o] = o - r[i] << 5 | i;
|
|
15017
15017
|
return [r, n];
|
|
15018
15018
|
}, D7e = M7e(Dq, 2), ZZe = D7e[0], oZ = D7e[1];
|
|
15019
15019
|
ZZe[28] = 258, oZ[258] = 28;
|
|
15020
|
-
for (var S0e = M7e(Sq, 0)[1], S7e = new
|
|
15020
|
+
for (var S0e = M7e(Sq, 0)[1], S7e = new Fl(32768), la = 0; la < 32768; ++la) {
|
|
15021
15021
|
var j6 = (43690 & la) >>> 1 | (21845 & la) << 1;
|
|
15022
15022
|
j6 = (61680 & (j6 = (52428 & j6) >>> 2 | (13107 & j6) << 2)) >>> 4 | (3855 & j6) << 4, S7e[la] = ((65280 & j6) >>> 8 | (255 & j6) << 8) >>> 1;
|
|
15023
15023
|
}
|
|
15024
15024
|
var rx = function(t, e, r) {
|
|
15025
|
-
for (var i = t.length, n = 0, o = new
|
|
15026
|
-
var a, s = new
|
|
15025
|
+
for (var i = t.length, n = 0, o = new Fl(e); n < i; ++n) ++o[t[n] - 1];
|
|
15026
|
+
var a, s = new Fl(e);
|
|
15027
15027
|
for (n = 0; n < e; ++n) s[n] = s[n - 1] + o[n - 1] << 1;
|
|
15028
|
-
for (a = new
|
|
15028
|
+
for (a = new Fl(i), n = 0; n < i; ++n) a[n] = S7e[s[t[n] - 1]++] >>> 15 - t[n];
|
|
15029
15029
|
return a;
|
|
15030
15030
|
}, Q5 = new F1(288);
|
|
15031
15031
|
for (la = 0; la < 144; ++la) Q5[la] = 8;
|
|
@@ -15038,7 +15038,7 @@ var GZe = rx(Q5, 9), YZe = rx(HL, 5), I7e = function(t) {
|
|
|
15038
15038
|
return (t / 8 >> 0) + (7 & t && 1);
|
|
15039
15039
|
}, B7e = function(t, e, r) {
|
|
15040
15040
|
(r == null || r > t.length) && (r = t.length);
|
|
15041
|
-
var i = new (t instanceof
|
|
15041
|
+
var i = new (t instanceof Fl ? Fl : t instanceof kg ? kg : F1)(r - e);
|
|
15042
15042
|
return i.set(t.subarray(e, r)), i;
|
|
15043
15043
|
}, uf = function(t, e, r) {
|
|
15044
15044
|
r <<= 7 & e;
|
|
@@ -15063,7 +15063,7 @@ var GZe = rx(Q5, 9), YZe = rx(HL, 5), I7e = function(t) {
|
|
|
15063
15063
|
for (r[0] = { s: -1, f: s.f + l.f, l: s, r: l }; c != n - 1; ) s = r[r[u].f < r[h].f ? u++ : h++], l = r[u != c && r[u].f < r[h].f ? u++ : h++], r[c++] = { s: -1, f: s.f + l.f, l: s, r: l };
|
|
15064
15064
|
var d = o[0].s;
|
|
15065
15065
|
for (i = 1; i < n; ++i) o[i].s > d && (d = o[i].s);
|
|
15066
|
-
var f = new
|
|
15066
|
+
var f = new Fl(d + 1), p = aZ(r[c - 1], f, 0);
|
|
15067
15067
|
if (p > e) {
|
|
15068
15068
|
i = 0;
|
|
15069
15069
|
var m = 0, A = p - e, g = 1 << A;
|
|
@@ -15089,7 +15089,7 @@ var GZe = rx(Q5, 9), YZe = rx(HL, 5), I7e = function(t) {
|
|
|
15089
15089
|
return t.s == -1 ? Math.max(aZ(t.l, e, r + 1), aZ(t.r, e, r + 1)) : e[t.s] = r;
|
|
15090
15090
|
}, I0e = function(t) {
|
|
15091
15091
|
for (var e = t.length; e && !t[--e]; ) ;
|
|
15092
|
-
for (var r = new
|
|
15092
|
+
for (var r = new Fl(++e), i = 0, n = t[0], o = 1, a = function(l) {
|
|
15093
15093
|
r[i++] = l;
|
|
15094
15094
|
}, s = 1; s <= e; ++s) if (t[s] == n && s != e) ++o;
|
|
15095
15095
|
else {
|
|
@@ -15114,7 +15114,7 @@ var GZe = rx(Q5, 9), YZe = rx(HL, 5), I7e = function(t) {
|
|
|
15114
15114
|
return 8 * (n + 4 + i);
|
|
15115
15115
|
}, B0e = function(t, e, r, i, n, o, a, s, l, u, c) {
|
|
15116
15116
|
uf(e, c++, r), ++n[256];
|
|
15117
|
-
for (var h = GU(n, 15), d = h[0], f = h[1], p = GU(o, 15), m = p[0], A = p[1], g = I0e(d), y = g[0], v = g[1], C = I0e(m), E = C[0], M = C[1], S = new
|
|
15117
|
+
for (var h = GU(n, 15), d = h[0], f = h[1], p = GU(o, 15), m = p[0], A = p[1], g = I0e(d), y = g[0], v = g[1], C = I0e(m), E = C[0], M = C[1], S = new Fl(19), x = 0; x < y.length; ++x) S[31 & y[x]]++;
|
|
15118
15118
|
for (x = 0; x < E.length; ++x) S[31 & E[x]]++;
|
|
15119
15119
|
for (var b = GU(S, 7), D = b[0], T = b[1], I = 19; I > 4 && !D[D0e[I - 1]]; --I) ;
|
|
15120
15120
|
var F, B, k, z, j = u + 5 << 3, U = Xv(n, Q5) + Xv(o, HL) + a, Y = Xv(n, d) + Xv(o, m) + a + 14 + 3 * I + Xv(S, D) + (2 * S[16] + 3 * S[17] + 7 * S[18]);
|
|
@@ -15160,9 +15160,9 @@ var GZe = rx(Q5, 9), YZe = rx(HL, 5), I7e = function(t) {
|
|
|
15160
15160
|
A < h ? p = sZ(f, p, o.subarray(m, A)) : (f[m] = c, p = sZ(f, p, o.subarray(m, h)));
|
|
15161
15161
|
}
|
|
15162
15162
|
else {
|
|
15163
|
-
for (var g = WZe[a - 1], y = g >>> 13, v = 8191 & g, C = (1 << s) - 1, E = new
|
|
15163
|
+
for (var g = WZe[a - 1], y = g >>> 13, v = 8191 & g, C = (1 << s) - 1, E = new Fl(32768), M = new Fl(C + 1), S = Math.ceil(s / 3), x = 2 * S, b = function(Ze) {
|
|
15164
15164
|
return (o[Ze] ^ o[Ze + 1] << S ^ o[Ze + 2] << x) & C;
|
|
15165
|
-
}, D = new kg(25e3), T = new
|
|
15165
|
+
}, D = new kg(25e3), T = new Fl(288), I = new Fl(32), F = 0, B = 0, k = (m = 0, 0), z = 0, j = 0; m < h; ++m) {
|
|
15166
15166
|
var U = b(m), Y = 32767 & m, W = M[U];
|
|
15167
15167
|
if (E[Y] = W, M[U] = Y, z <= m) {
|
|
15168
15168
|
var H = h - m;
|
|
@@ -16601,7 +16601,7 @@ let DGe = class {
|
|
|
16601
16601
|
return r !== !1 && (/* @__PURE__ */ new Date()).getTime() < r;
|
|
16602
16602
|
}
|
|
16603
16603
|
};
|
|
16604
|
-
const IGe = () => ({ initialPathName: (
|
|
16604
|
+
const IGe = () => ({ initialPathName: (El == null ? void 0 : El.pathname) || "", referringDomain: cs.referringDomain(), ...cs.campaignParams() });
|
|
16605
16605
|
let BGe = class {
|
|
16606
16606
|
constructor(e, r, i) {
|
|
16607
16607
|
_e(this, "_onSessionIdCallback", (e) => {
|
|
@@ -17274,7 +17274,7 @@ const nx = {}, Q0e = () => {
|
|
|
17274
17274
|
let Y7e = !uGe && (f2 == null ? void 0 : f2.indexOf("MSIE")) === -1 && (f2 == null ? void 0 : f2.indexOf("Mozilla")) === -1;
|
|
17275
17275
|
const Z0e = () => {
|
|
17276
17276
|
var t;
|
|
17277
|
-
return { api_host: "https://us.i.posthog.com", ui_host: null, token: "", autocapture: !0, rageclick: !0, cross_subdomain_cookie: uZe(Mr == null ? void 0 : Mr.location), persistence: "localStorage+cookie", persistence_name: "", loaded: Q0e, store_google: !0, custom_campaign_params: [], custom_blocked_useragents: [], save_referrer: !0, capture_pageview: !0, capture_pageleave: "if_capture_pageview", debug:
|
|
17277
|
+
return { api_host: "https://us.i.posthog.com", ui_host: null, token: "", autocapture: !0, rageclick: !0, cross_subdomain_cookie: uZe(Mr == null ? void 0 : Mr.location), persistence: "localStorage+cookie", persistence_name: "", loaded: Q0e, store_google: !0, custom_campaign_params: [], custom_blocked_useragents: [], save_referrer: !0, capture_pageview: !0, capture_pageleave: "if_capture_pageview", debug: El && f0(El == null ? void 0 : El.search) && El.search.indexOf("__posthog_debug=true") !== -1 || !1, verbose: !1, cookie_expiration: 365, upgrade: !1, disable_session_recording: !1, disable_persistence: !1, disable_web_experiments: !0, disable_surveys: !1, enable_recording_console_log: void 0, secure_cookie: (ft == null || (t = ft.location) === null || t === void 0 ? void 0 : t.protocol) === "https:", ip: !0, opt_out_capturing_by_default: !1, opt_out_persistence_by_default: !1, opt_out_useragent_filter: !1, opt_out_capturing_persistence_type: "localStorage", opt_out_capturing_cookie_prefix: null, opt_in_site_apps: !1, property_denylist: [], respect_dnt: !1, sanitize_properties: null, request_headers: {}, inapp_protocol: "//", inapp_link_new_window: !1, request_batching: !0, properties_string_max_length: 65535, session_recording: {}, mask_all_element_attributes: !1, mask_all_text: !1, advanced_disable_decide: !1, advanced_disable_feature_flags: !1, advanced_disable_feature_flags_on_first_load: !1, advanced_disable_toolbar_metrics: !1, feature_flag_request_timeout_ms: 3e3, on_request_error: (e) => {
|
|
17278
17278
|
const r = "Bad HTTP status: " + e.statusCode + " " + e.text;
|
|
17279
17279
|
Pt.error(r);
|
|
17280
17280
|
}, get_device_id: (e) => e, _onCapture: Q0e, capture_performance: void 0, name: "posthog", bootstrap: {}, disable_compression: !1, session_idle_timeout_seconds: 1800, person_profiles: "identified_only", __add_tracing_headers: !1 };
|
|
@@ -17767,7 +17767,7 @@ const J7e = function() {
|
|
|
17767
17767
|
});
|
|
17768
17768
|
}
|
|
17769
17769
|
};
|
|
17770
|
-
var
|
|
17770
|
+
var X0 = /* @__PURE__ */ ((t) => (t.MAKER_POP_UP = "maker-pop-up", t.PREPROCESS_IMAGE_LABELS = "preprocess-image-labels", t.HALLOWEEN_MODE = "halloween-mode", t.WINTER_MODE = "winter-mode", t.AUTH_URL = "auth-url", t.MULTI_FLOOR_VIEW = "multi-floor-view", t.SAFETY_MODE = "safety-mode", t.SIMILAR_PLACES_TOAST = "similar-places-toast", t.NOTHING_ON_FLOOR_TOAST = "nothing-on-floor-toast", t.BLUE_DOT = "blue-dot", t.DEFAULT_LANGUAGE = "default-language", t.DYNAMIC_FOCUS_BUILDING_CHANGE_MODE = "dynamic-focus-building-change-mode", t.ONLINE_DIRECTIONS = "online-directions", t.PATH_SMOOTHING_ALGORITHM = "path-smoothing-algorithm", t))(X0 || {});
|
|
17771
17771
|
const Y0e = {
|
|
17772
17772
|
"maker-pop-up": {
|
|
17773
17773
|
key: "maker-pop-up",
|
|
@@ -17833,6 +17833,11 @@ const Y0e = {
|
|
|
17833
17833
|
key: "online-directions",
|
|
17834
17834
|
variant: !1,
|
|
17835
17835
|
payload: !1
|
|
17836
|
+
},
|
|
17837
|
+
"path-smoothing-algorithm": {
|
|
17838
|
+
key: "path-smoothing-algorithm",
|
|
17839
|
+
variant: !1,
|
|
17840
|
+
payload: "greedy-los"
|
|
17836
17841
|
}
|
|
17837
17842
|
};
|
|
17838
17843
|
class XGe {
|
|
@@ -17871,11 +17876,11 @@ class XGe {
|
|
|
17871
17876
|
async init() {
|
|
17872
17877
|
return new Promise((e) => {
|
|
17873
17878
|
Og().onFeatureFlags(() => {
|
|
17874
|
-
this.timeout && clearTimeout(this.timeout), this.updateFeatureFlags(), Jt.log("Feature flags loaded!"),
|
|
17879
|
+
this.timeout && clearTimeout(this.timeout), this.updateFeatureFlags(), Jt.log("Feature flags loaded!"), Ul(() => {
|
|
17875
17880
|
this.initialized = !0;
|
|
17876
17881
|
}), e(!0);
|
|
17877
17882
|
}), this.timeout = setTimeout(() => {
|
|
17878
|
-
this.initialized || Jt.warn("Feature flags took too long to load! Using default flags."),
|
|
17883
|
+
this.initialized || Jt.warn("Feature flags took too long to load! Using default flags."), Ul(() => {
|
|
17879
17884
|
this.initialized = !0;
|
|
17880
17885
|
}), e(!1);
|
|
17881
17886
|
}, 5e3);
|
|
@@ -17918,7 +17923,7 @@ var eYe = Object.create, kO = Object.defineProperty, tYe = Object.defineProperti
|
|
|
17918
17923
|
for (var i in t) Fq.call(t, i) && e.indexOf(i) < 0 && (r[i] = t[i]);
|
|
17919
17924
|
if (t != null && YL) for (var i of YL(t)) e.indexOf(i) < 0 && t9e.call(t, i) && (r[i] = t[i]);
|
|
17920
17925
|
return r;
|
|
17921
|
-
}, aYe = (t, e) => () => (t && (e = t(t = 0)), e), mi = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports),
|
|
17926
|
+
}, aYe = (t, e) => () => (t && (e = t(t = 0)), e), mi = (t, e) => () => (e || t((e = { exports: {} }).exports, e), e.exports), cl = (t, e) => {
|
|
17922
17927
|
for (var r in e) kO(t, r, { get: e[r], enumerable: !0 });
|
|
17923
17928
|
}, sYe = (t, e, r, i) => {
|
|
17924
17929
|
if (e && typeof e == "object" || typeof e == "function") for (let n of nYe(e)) !Fq.call(t, n) && n !== r && kO(t, n, { get: () => e[n], enumerable: !(i = rYe(e, n)) || i.enumerable });
|
|
@@ -17953,7 +17958,7 @@ var eYe = Object.create, kO = Object.defineProperty, tYe = Object.defineProperti
|
|
|
17953
17958
|
bo = { env: { NODE_ENV: "production", npm_package_version: "6.10.0" } };
|
|
17954
17959
|
});
|
|
17955
17960
|
R();
|
|
17956
|
-
var RO = "173", JU = { LEFT: 0, MIDDLE: 1, RIGHT: 2 }, uYe = 0, W0e = 1, cYe = 2, n9e = 1, hYe = 2, xf = 3, Hl = 0, C2 = 1, Ts = 2, x3 = 0, Qm = 1, X0e = 2, J0e = 3, K0e = 4, dYe = 5, RA = 100, fYe = 101, pYe = 102, AYe = 103, mYe = 104, gYe = 200, yYe = 201, vYe = 202, CYe = 203, AZ = 204, mZ = 205, wYe = 206, _Ye = 207, xYe = 208, bYe = 209, EYe = 210, MYe = 211, DYe = 212, SYe = 213, IYe = 214, gZ = 0, yZ = 1, vZ = 2, zg = 3, CZ = 4, wZ = 5, _Z = 6, xZ = 7, Rq = 0, BYe = 1, TYe = 2, V4 = 0, PYe = 1, FYe = 2, LYe = 3, kYe = 4, RYe = 5, OYe = 6, zYe = 7, q0e = "attached", NYe = "detached", o9e = 300, Ng = 301, Ug = 302, WL = 303, bZ = 304, OO = 306, Q0 = 1e3, h3 = 1001, yb = 1002, p0 = 1003, Oq = 1004, hm = 1005, Ps = 1006, ox = 1007, fd = 1008, uh = 1009, a9e = 1010, s9e = 1011, $g = 1012, zq = 1013, i6 = 1014,
|
|
17961
|
+
var RO = "173", JU = { LEFT: 0, MIDDLE: 1, RIGHT: 2 }, uYe = 0, W0e = 1, cYe = 2, n9e = 1, hYe = 2, xf = 3, Hl = 0, C2 = 1, Ts = 2, x3 = 0, Qm = 1, X0e = 2, J0e = 3, K0e = 4, dYe = 5, RA = 100, fYe = 101, pYe = 102, AYe = 103, mYe = 104, gYe = 200, yYe = 201, vYe = 202, CYe = 203, AZ = 204, mZ = 205, wYe = 206, _Ye = 207, xYe = 208, bYe = 209, EYe = 210, MYe = 211, DYe = 212, SYe = 213, IYe = 214, gZ = 0, yZ = 1, vZ = 2, zg = 3, CZ = 4, wZ = 5, _Z = 6, xZ = 7, Rq = 0, BYe = 1, TYe = 2, V4 = 0, PYe = 1, FYe = 2, LYe = 3, kYe = 4, RYe = 5, OYe = 6, zYe = 7, q0e = "attached", NYe = "detached", o9e = 300, Ng = 301, Ug = 302, WL = 303, bZ = 304, OO = 306, Q0 = 1e3, h3 = 1001, yb = 1002, p0 = 1003, Oq = 1004, hm = 1005, Ps = 1006, ox = 1007, fd = 1008, uh = 1009, a9e = 1010, s9e = 1011, $g = 1012, zq = 1013, i6 = 1014, Ll = 1015, WE = 1016, Nq = 1017, Uq = 1018, jg = 1020, l9e = 35902, u9e = 1021, c9e = 1022, y2 = 1023, h9e = 1024, d9e = 1025, Zm = 1026, Vg = 1027, $q = 1028, zO = 1029, f9e = 1030, jq = 1031, Vq = 1033, TB = 33776, PB = 33777, FB = 33778, LB = 33779, EZ = 35840, MZ = 35841, DZ = 35842, SZ = 35843, IZ = 36196, BZ = 37492, TZ = 37496, PZ = 37808, FZ = 37809, LZ = 37810, kZ = 37811, RZ = 37812, OZ = 37813, zZ = 37814, NZ = 37815, UZ = 37816, $Z = 37817, jZ = 37818, VZ = 37819, HZ = 37820, QZ = 37821, kB = 36492, ZZ = 36494, GZ = 36495, p9e = 36283, YZ = 36284, WZ = 36285, XZ = 36286, Hg = 2300, Qg = 2301, KU = 2302, ele = 2400, tle = 2401, rle = 2402, UYe = 2500, $Ye = 0, A9e = 1, JZ = 2, jYe = 3200, Hq = 3201, Qq = 0, VYe = 1, n3 = "", Ga = "srgb", v0 = "srgb-linear", XL = "linear", wo = "srgb", c0 = 7680, H4 = 7681, qU = 34055, e$ = 34056, HYe = 514, NO = 517, vb = 519, QYe = 512, ZYe = 513, GYe = 514, m9e = 515, YYe = 516, WYe = 517, XYe = 518, JYe = 519, KZ = 35044, KYe = 35048, qZ = "300 es", pd = 2e3, JL = 2001, iv = class {
|
|
17957
17962
|
addEventListener(e, r) {
|
|
17958
17963
|
this._listeners === void 0 && (this._listeners = {});
|
|
17959
17964
|
let i = this._listeners;
|
|
@@ -20482,7 +20487,7 @@ var PWe = 0, k1 = class extends iv {
|
|
|
20482
20487
|
}, _s = new Be(), GD = new Bt(), FWe = 0, bn = class {
|
|
20483
20488
|
constructor(e, r, i = !1) {
|
|
20484
20489
|
if (Array.isArray(e)) throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");
|
|
20485
|
-
this.isBufferAttribute = !0, Object.defineProperty(this, "id", { value: FWe++ }), this.name = "", this.array = e, this.itemSize = r, this.count = e !== void 0 ? e.length / r : 0, this.normalized = i, this.usage = KZ, this.updateRanges = [], this.gpuType =
|
|
20490
|
+
this.isBufferAttribute = !0, Object.defineProperty(this, "id", { value: FWe++ }), this.name = "", this.array = e, this.itemSize = r, this.count = e !== void 0 ? e.length / r : 0, this.normalized = i, this.usage = KZ, this.updateRanges = [], this.gpuType = Ll, this.version = 0;
|
|
20486
20491
|
}
|
|
20487
20492
|
onUploadCallback() {
|
|
20488
20493
|
}
|
|
@@ -21510,7 +21515,7 @@ var B9e = { clone: Gg, merge: z0 }, OWe = `void main() {
|
|
|
21510
21515
|
e = Math.ceil(e / 4) * 4, e = Math.max(e, 4);
|
|
21511
21516
|
let r = new Float32Array(e * e * 4);
|
|
21512
21517
|
r.set(this.boneMatrices);
|
|
21513
|
-
let i = new C5(r, e, e, y2,
|
|
21518
|
+
let i = new C5(r, e, e, y2, Ll);
|
|
21514
21519
|
return i.needsUpdate = !0, this.boneMatrices = r, this.boneTexture = i, this;
|
|
21515
21520
|
}
|
|
21516
21521
|
getBoneByName(e) {
|
|
@@ -21600,7 +21605,7 @@ var B9e = { clone: Gg, merge: z0 }, OWe = `void main() {
|
|
|
21600
21605
|
}
|
|
21601
21606
|
setMorphAt(e, r) {
|
|
21602
21607
|
let i = r.morphTargetInfluences, n = i.length + 1;
|
|
21603
|
-
this.morphTexture === null && (this.morphTexture = new C5(new Float32Array(n * this.count), n, this.count, $q,
|
|
21608
|
+
this.morphTexture === null && (this.morphTexture = new C5(new Float32Array(n * this.count), n, this.count, $q, Ll));
|
|
21604
21609
|
let o = this.morphTexture.source.data.data, a = 0;
|
|
21605
21610
|
for (let u = 0; u < i.length; u++) a += i[u];
|
|
21606
21611
|
let s = this.geometry.morphTargetsRelative ? 1 : 1 - a, l = n * e;
|
|
@@ -21754,7 +21759,7 @@ var qWe = class {
|
|
|
21754
21759
|
reset() {
|
|
21755
21760
|
this.list.length = 0, this.index = 0;
|
|
21756
21761
|
}
|
|
21757
|
-
},
|
|
21762
|
+
}, pl = new Pr(), eXe = new rr(1, 1, 1), E$ = new _8(), nS = new so(), W6 = new A0(), nC = new Be(), Ile = new Be(), tXe = new Be(), M$ = new qWe(), J2 = new fi(), oS = [];
|
|
21758
21763
|
function rXe(t, e, r = 0) {
|
|
21759
21764
|
let i = e.itemSize;
|
|
21760
21765
|
if (t.isInterleavedBufferAttribute || t.array.constructor !== e.array.constructor) {
|
|
@@ -21791,7 +21796,7 @@ var Wq = class extends fi {
|
|
|
21791
21796
|
_initMatricesTexture() {
|
|
21792
21797
|
let e = Math.sqrt(this._maxInstanceCount * 4);
|
|
21793
21798
|
e = Math.ceil(e / 4) * 4, e = Math.max(e, 4);
|
|
21794
|
-
let r = new Float32Array(e * e * 4), i = new C5(r, e, e, y2,
|
|
21799
|
+
let r = new Float32Array(e * e * 4), i = new C5(r, e, e, y2, Ll);
|
|
21795
21800
|
this._matricesTexture = i;
|
|
21796
21801
|
}
|
|
21797
21802
|
_initIndirectTexture() {
|
|
@@ -21803,7 +21808,7 @@ var Wq = class extends fi {
|
|
|
21803
21808
|
_initColorsTexture() {
|
|
21804
21809
|
let e = Math.sqrt(this._maxInstanceCount);
|
|
21805
21810
|
e = Math.ceil(e);
|
|
21806
|
-
let r = new Float32Array(e * e * 4).fill(1), i = new C5(r, e, e, y2,
|
|
21811
|
+
let r = new Float32Array(e * e * 4).fill(1), i = new C5(r, e, e, y2, Ll);
|
|
21807
21812
|
i.colorSpace = Mn.workingColorSpace, this._colorsTexture = i;
|
|
21808
21813
|
}
|
|
21809
21814
|
_initializeGeometry(e) {
|
|
@@ -21847,7 +21852,7 @@ var Wq = class extends fi {
|
|
|
21847
21852
|
for (let i = 0, n = r.length; i < n; i++) {
|
|
21848
21853
|
if (r[i].active === !1) continue;
|
|
21849
21854
|
let o = r[i].geometryIndex;
|
|
21850
|
-
this.getMatrixAt(i,
|
|
21855
|
+
this.getMatrixAt(i, pl), this.getBoundingBoxAt(o, nS).applyMatrix4(pl), e.union(nS);
|
|
21851
21856
|
}
|
|
21852
21857
|
}
|
|
21853
21858
|
computeBoundingSphere() {
|
|
@@ -21857,7 +21862,7 @@ var Wq = class extends fi {
|
|
|
21857
21862
|
for (let i = 0, n = r.length; i < n; i++) {
|
|
21858
21863
|
if (r[i].active === !1) continue;
|
|
21859
21864
|
let o = r[i].geometryIndex;
|
|
21860
|
-
this.getMatrixAt(i,
|
|
21865
|
+
this.getMatrixAt(i, pl), this.getBoundingSphereAt(o, W6).applyMatrix4(pl), e.union(W6);
|
|
21861
21866
|
}
|
|
21862
21867
|
}
|
|
21863
21868
|
addInstance(e) {
|
|
@@ -21865,7 +21870,7 @@ var Wq = class extends fi {
|
|
|
21865
21870
|
let r = { visible: !0, active: !0, geometryIndex: e }, i = null;
|
|
21866
21871
|
this._availableInstanceIds.length > 0 ? (this._availableInstanceIds.sort(b$), i = this._availableInstanceIds.shift(), this._instanceInfo[i] = r) : (i = this._instanceInfo.length, this._instanceInfo.push(r));
|
|
21867
21872
|
let n = this._matricesTexture;
|
|
21868
|
-
|
|
21873
|
+
pl.identity().toArray(n.image.data, i * 16), n.needsUpdate = !0;
|
|
21869
21874
|
let o = this._colorsTexture;
|
|
21870
21875
|
return o && (eXe.toArray(o.image.data, i * 4), o.needsUpdate = !0), this._visibilityChanged = !0, i;
|
|
21871
21876
|
}
|
|
@@ -22042,13 +22047,13 @@ var Wq = class extends fi {
|
|
|
22042
22047
|
onBeforeRender(e, r, i, n, o) {
|
|
22043
22048
|
if (!this._visibilityChanged && !this.perObjectFrustumCulled && !this.sortObjects) return;
|
|
22044
22049
|
let a = n.getIndex(), s = a === null ? 1 : a.array.BYTES_PER_ELEMENT, l = this._instanceInfo, u = this._multiDrawStarts, c = this._multiDrawCounts, h = this._geometryInfo, d = this.perObjectFrustumCulled, f = this._indirectTexture, p = f.image.data;
|
|
22045
|
-
d && (
|
|
22050
|
+
d && (pl.multiplyMatrices(i.projectionMatrix, i.matrixWorldInverse).multiply(this.matrixWorld), E$.setFromProjectionMatrix(pl, e.coordinateSystem));
|
|
22046
22051
|
let m = 0;
|
|
22047
22052
|
if (this.sortObjects) {
|
|
22048
|
-
|
|
22053
|
+
pl.copy(this.matrixWorld).invert(), nC.setFromMatrixPosition(i.matrixWorld).applyMatrix4(pl), Ile.set(0, 0, -1).transformDirection(i.matrixWorld).transformDirection(pl);
|
|
22049
22054
|
for (let y = 0, v = l.length; y < v; y++) if (l[y].visible && l[y].active) {
|
|
22050
22055
|
let C = l[y].geometryIndex;
|
|
22051
|
-
this.getMatrixAt(y,
|
|
22056
|
+
this.getMatrixAt(y, pl), this.getBoundingSphereAt(C, W6).applyMatrix4(pl);
|
|
22052
22057
|
let E = !1;
|
|
22053
22058
|
if (d && (E = !E$.intersectsSphere(W6)), !E) {
|
|
22054
22059
|
let M = h[C], S = tXe.subVectors(W6.center, nC).dot(Ile);
|
|
@@ -22064,7 +22069,7 @@ var Wq = class extends fi {
|
|
|
22064
22069
|
M$.reset();
|
|
22065
22070
|
} else for (let A = 0, g = l.length; A < g; A++) if (l[A].visible && l[A].active) {
|
|
22066
22071
|
let y = l[A].geometryIndex, v = !1;
|
|
22067
|
-
if (d && (this.getMatrixAt(A,
|
|
22072
|
+
if (d && (this.getMatrixAt(A, pl), this.getBoundingSphereAt(y, W6).applyMatrix4(pl), v = !E$.intersectsSphere(W6)), !v) {
|
|
22068
22073
|
let C = h[y];
|
|
22069
22074
|
u[m] = C.start * s, c[m] = C.count, p[m] = A, m++;
|
|
22070
22075
|
}
|
|
@@ -24738,7 +24743,7 @@ function mJe(t) {
|
|
|
24738
24743
|
return { byteLength: 2, components: 4 };
|
|
24739
24744
|
case i6:
|
|
24740
24745
|
case zq:
|
|
24741
|
-
case
|
|
24746
|
+
case Ll:
|
|
24742
24747
|
return { byteLength: 4, components: 1 };
|
|
24743
24748
|
case l9e:
|
|
24744
24749
|
return { byteLength: 4, components: 3 };
|
|
@@ -28586,7 +28591,7 @@ function tet(t, e, r, i) {
|
|
|
28586
28591
|
}
|
|
28587
28592
|
function s(S) {
|
|
28588
28593
|
let x = S === WE && (e.has("EXT_color_buffer_half_float") || e.has("EXT_color_buffer_float"));
|
|
28589
|
-
return !(S !== uh && i.convert(S) !== t.getParameter(t.IMPLEMENTATION_COLOR_READ_TYPE) && S !==
|
|
28594
|
+
return !(S !== uh && i.convert(S) !== t.getParameter(t.IMPLEMENTATION_COLOR_READ_TYPE) && S !== Ll && !x);
|
|
28590
28595
|
}
|
|
28591
28596
|
function l(S) {
|
|
28592
28597
|
if (S === "highp") {
|
|
@@ -29155,7 +29160,7 @@ function det(t, e, r) {
|
|
|
29155
29160
|
let E = s.attributes.position.count * C, M = 1;
|
|
29156
29161
|
E > e.maxTextureSize && (M = Math.ceil(E / e.maxTextureSize), E = e.maxTextureSize);
|
|
29157
29162
|
let S = new Float32Array(E * M * 4 * h), x = new w9e(S, E, M, h);
|
|
29158
|
-
x.type =
|
|
29163
|
+
x.type = Ll, x.needsUpdate = !0;
|
|
29159
29164
|
let b = C * 4;
|
|
29160
29165
|
for (let D = 0; D < h; D++) {
|
|
29161
29166
|
let T = g[D], I = y[D], F = v[D], B = E * M * 4 * D;
|
|
@@ -30642,7 +30647,7 @@ function Htt(t, e, r, i, n, o, a) {
|
|
|
30642
30647
|
}
|
|
30643
30648
|
function C(ue, le) {
|
|
30644
30649
|
let Se;
|
|
30645
|
-
return ue ? le === null || le === i6 || le === jg ? Se = t.DEPTH24_STENCIL8 : le ===
|
|
30650
|
+
return ue ? le === null || le === i6 || le === jg ? Se = t.DEPTH24_STENCIL8 : le === Ll ? Se = t.DEPTH32F_STENCIL8 : le === $g && (Se = t.DEPTH24_STENCIL8, console.warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")) : le === null || le === i6 || le === jg ? Se = t.DEPTH_COMPONENT24 : le === Ll ? Se = t.DEPTH_COMPONENT32F : le === $g && (Se = t.DEPTH_COMPONENT16), Se;
|
|
30646
30651
|
}
|
|
30647
30652
|
function E(ue, le) {
|
|
30648
30653
|
return A(ue) === !0 || ue.isFramebufferTexture && ue.minFilter !== p0 && ue.minFilter !== Ps ? Math.log2(Math.max(le.width, le.height)) + 1 : ue.mipmaps !== void 0 && ue.mipmaps.length > 0 ? ue.mipmaps.length : ue.isCompressedTexture && Array.isArray(ue.image) ? le.mipmaps.length : 1;
|
|
@@ -30742,8 +30747,8 @@ function Htt(t, e, r, i, n, o, a) {
|
|
|
30742
30747
|
}
|
|
30743
30748
|
let Y = { [Q0]: t.REPEAT, [h3]: t.CLAMP_TO_EDGE, [yb]: t.MIRRORED_REPEAT }, W = { [p0]: t.NEAREST, [Oq]: t.NEAREST_MIPMAP_NEAREST, [hm]: t.NEAREST_MIPMAP_LINEAR, [Ps]: t.LINEAR, [ox]: t.LINEAR_MIPMAP_NEAREST, [fd]: t.LINEAR_MIPMAP_LINEAR }, H = { [QYe]: t.NEVER, [JYe]: t.ALWAYS, [ZYe]: t.LESS, [m9e]: t.LEQUAL, [GYe]: t.EQUAL, [XYe]: t.GEQUAL, [YYe]: t.GREATER, [WYe]: t.NOTEQUAL };
|
|
30744
30749
|
function ie(ue, le) {
|
|
30745
|
-
if (le.type ===
|
|
30746
|
-
if (le.magFilter === p0 || le.minFilter !== hm && le.minFilter !== fd || le.type ===
|
|
30750
|
+
if (le.type === Ll && e.has("OES_texture_float_linear") === !1 && (le.magFilter === Ps || le.magFilter === ox || le.magFilter === hm || le.magFilter === fd || le.minFilter === Ps || le.minFilter === ox || le.minFilter === hm || le.minFilter === fd) && console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."), t.texParameteri(ue, t.TEXTURE_WRAP_S, Y[le.wrapS]), t.texParameteri(ue, t.TEXTURE_WRAP_T, Y[le.wrapT]), (ue === t.TEXTURE_3D || ue === t.TEXTURE_2D_ARRAY) && t.texParameteri(ue, t.TEXTURE_WRAP_R, Y[le.wrapR]), t.texParameteri(ue, t.TEXTURE_MAG_FILTER, W[le.magFilter]), t.texParameteri(ue, t.TEXTURE_MIN_FILTER, W[le.minFilter]), le.compareFunction && (t.texParameteri(ue, t.TEXTURE_COMPARE_MODE, t.COMPARE_REF_TO_TEXTURE), t.texParameteri(ue, t.TEXTURE_COMPARE_FUNC, H[le.compareFunction])), e.has("EXT_texture_filter_anisotropic") === !0) {
|
|
30751
|
+
if (le.magFilter === p0 || le.minFilter !== hm && le.minFilter !== fd || le.type === Ll && e.has("OES_texture_float_linear") === !1) return;
|
|
30747
30752
|
if (le.anisotropy > 1 || i.get(le).__currentAnisotropy) {
|
|
30748
30753
|
let Se = e.get("EXT_texture_filter_anisotropic");
|
|
30749
30754
|
t.texParameterf(ue, Se.TEXTURE_MAX_ANISOTROPY_EXT, Math.min(le.anisotropy, n.getMaxAnisotropy())), i.get(le).__currentAnisotropy = le.anisotropy;
|
|
@@ -31066,7 +31071,7 @@ function Qtt(t, e) {
|
|
|
31066
31071
|
if (i === $g) return t.UNSIGNED_SHORT;
|
|
31067
31072
|
if (i === zq) return t.INT;
|
|
31068
31073
|
if (i === i6) return t.UNSIGNED_INT;
|
|
31069
|
-
if (i ===
|
|
31074
|
+
if (i === Ll) return t.FLOAT;
|
|
31070
31075
|
if (i === WE) return t.HALF_FLOAT;
|
|
31071
31076
|
if (i === u9e) return t.ALPHA;
|
|
31072
31077
|
if (i === c9e) return t.RGB;
|
|
@@ -32121,7 +32126,7 @@ class GO extends Error {
|
|
|
32121
32126
|
}
|
|
32122
32127
|
}
|
|
32123
32128
|
const rk = {};
|
|
32124
|
-
function
|
|
32129
|
+
function el(t) {
|
|
32125
32130
|
return t && Object.assign(rk, t), rk;
|
|
32126
32131
|
}
|
|
32127
32132
|
function ert(t) {
|
|
@@ -32701,7 +32706,7 @@ const tM = (t) => (e, r, i, n) => {
|
|
|
32701
32706
|
if (a instanceof Promise)
|
|
32702
32707
|
throw new w5();
|
|
32703
32708
|
if (a.issues.length) {
|
|
32704
|
-
const s = new ((n == null ? void 0 : n.Err) ?? t)(a.issues.map((l) => ch(l, o,
|
|
32709
|
+
const s = new ((n == null ? void 0 : n.Err) ?? t)(a.issues.map((l) => ch(l, o, el())));
|
|
32705
32710
|
throw lee(s, n == null ? void 0 : n.callee), s;
|
|
32706
32711
|
}
|
|
32707
32712
|
return a.value;
|
|
@@ -32709,7 +32714,7 @@ const tM = (t) => (e, r, i, n) => {
|
|
|
32709
32714
|
const o = i ? Object.assign(i, { async: !0 }) : { async: !0 };
|
|
32710
32715
|
let a = e._zod.run({ value: r, issues: [] }, o);
|
|
32711
32716
|
if (a instanceof Promise && (a = await a), a.issues.length) {
|
|
32712
|
-
const s = new ((n == null ? void 0 : n.Err) ?? t)(a.issues.map((l) => ch(l, o,
|
|
32717
|
+
const s = new ((n == null ? void 0 : n.Err) ?? t)(a.issues.map((l) => ch(l, o, el())));
|
|
32713
32718
|
throw lee(s, n == null ? void 0 : n.callee), s;
|
|
32714
32719
|
}
|
|
32715
32720
|
return a.value;
|
|
@@ -32719,14 +32724,14 @@ const tM = (t) => (e, r, i, n) => {
|
|
|
32719
32724
|
throw new w5();
|
|
32720
32725
|
return o.issues.length ? {
|
|
32721
32726
|
success: !1,
|
|
32722
|
-
error: new (t ?? uee)(o.issues.map((a) => ch(a, n,
|
|
32727
|
+
error: new (t ?? uee)(o.issues.map((a) => ch(a, n, el())))
|
|
32723
32728
|
} : { success: !0, data: o.value };
|
|
32724
32729
|
}, Dme = /* @__PURE__ */ iM(ju), nM = (t) => async (e, r, i) => {
|
|
32725
32730
|
const n = i ? Object.assign(i, { async: !0 }) : { async: !0 };
|
|
32726
32731
|
let o = e._zod.run({ value: r, issues: [] }, n);
|
|
32727
32732
|
return o instanceof Promise && (o = await o), o.issues.length ? {
|
|
32728
32733
|
success: !1,
|
|
32729
|
-
error: new t(o.issues.map((a) => ch(a, n,
|
|
32734
|
+
error: new t(o.issues.map((a) => ch(a, n, el())))
|
|
32730
32735
|
} : { success: !0, data: o.value };
|
|
32731
32736
|
}, Sme = /* @__PURE__ */ nM(ju), dee = (t) => (e, r, i) => {
|
|
32732
32737
|
const n = i ? Object.assign(i, { direction: "backward" }) : { direction: "backward" };
|
|
@@ -33833,7 +33838,7 @@ function bue(t, e, r, i) {
|
|
|
33833
33838
|
code: "invalid_union",
|
|
33834
33839
|
input: e.value,
|
|
33835
33840
|
inst: r,
|
|
33836
|
-
errors: t.map((o) => o.issues.map((a) => ch(a, i,
|
|
33841
|
+
errors: t.map((o) => o.issues.map((a) => ch(a, i, el())))
|
|
33837
33842
|
}), e);
|
|
33838
33843
|
}
|
|
33839
33844
|
const Iee = /* @__PURE__ */ ht("$ZodUnion", (t, e) => {
|
|
@@ -34061,7 +34066,7 @@ const yye = /* @__PURE__ */ ht("$ZodRecord", (t, e) => {
|
|
|
34061
34066
|
r.issues.push({
|
|
34062
34067
|
code: "invalid_key",
|
|
34063
34068
|
origin: "record",
|
|
34064
|
-
issues: s.issues.map((u) => ch(u, i,
|
|
34069
|
+
issues: s.issues.map((u) => ch(u, i, el())),
|
|
34065
34070
|
input: a,
|
|
34066
34071
|
path: [a],
|
|
34067
34072
|
inst: t
|
|
@@ -34103,14 +34108,14 @@ function Mue(t, e, r, i, n, o, a) {
|
|
|
34103
34108
|
origin: "map",
|
|
34104
34109
|
input: n,
|
|
34105
34110
|
inst: o,
|
|
34106
|
-
issues: t.issues.map((s) => ch(s, a,
|
|
34111
|
+
issues: t.issues.map((s) => ch(s, a, el()))
|
|
34107
34112
|
})), e.issues.length && (nk.has(typeof i) ? r.issues.push(...Nc(i, e.issues)) : r.issues.push({
|
|
34108
34113
|
origin: "map",
|
|
34109
34114
|
code: "invalid_element",
|
|
34110
34115
|
input: n,
|
|
34111
34116
|
inst: o,
|
|
34112
34117
|
key: i,
|
|
34113
|
-
issues: e.issues.map((s) => ch(s, a,
|
|
34118
|
+
issues: e.issues.map((s) => ch(s, a, el()))
|
|
34114
34119
|
})), r.value.set(t.value, e.value);
|
|
34115
34120
|
}
|
|
34116
34121
|
const Cye = /* @__PURE__ */ ht("$ZodSet", (t, e) => {
|
|
@@ -34247,13 +34252,13 @@ const Bye = /* @__PURE__ */ ht("$ZodSuccess", (t, e) => {
|
|
|
34247
34252
|
return n instanceof Promise ? n.then((o) => (r.value = o.value, o.issues.length && (r.value = e.catchValue({
|
|
34248
34253
|
...r,
|
|
34249
34254
|
error: {
|
|
34250
|
-
issues: o.issues.map((a) => ch(a, i,
|
|
34255
|
+
issues: o.issues.map((a) => ch(a, i, el()))
|
|
34251
34256
|
},
|
|
34252
34257
|
input: r.value
|
|
34253
34258
|
}), r.issues = []), r)) : (r.value = n.value, n.issues.length && (r.value = e.catchValue({
|
|
34254
34259
|
...r,
|
|
34255
34260
|
error: {
|
|
34256
|
-
issues: n.issues.map((o) => ch(o, i,
|
|
34261
|
+
issues: n.issues.map((o) => ch(o, i, el()))
|
|
34257
34262
|
},
|
|
34258
34263
|
input: r.value
|
|
34259
34264
|
}), r.issues = []), r);
|
|
@@ -40503,7 +40508,7 @@ const sot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
40503
40508
|
_void: yve,
|
|
40504
40509
|
_xid: Hee,
|
|
40505
40510
|
clone: G1,
|
|
40506
|
-
config:
|
|
40511
|
+
config: el,
|
|
40507
40512
|
decode: Crt,
|
|
40508
40513
|
decodeAsync: _rt,
|
|
40509
40514
|
encode: vrt,
|
|
@@ -40602,7 +40607,7 @@ const uot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
40602
40607
|
...e.checks ?? [],
|
|
40603
40608
|
...r.map((i) => typeof i == "function" ? { _zod: { check: i, def: { check: "custom" }, onattach: [] } } : i)
|
|
40604
40609
|
]
|
|
40605
|
-
})), t.clone = (r, i) => G1(t, r, i), t.brand = () => t, t.register = (r, i) => (r.add(t, i), t), t.parse = (r, i) => Uve(t, r, i, { callee: t.parse }), t.safeParse = (r, i) => jve(t, r, i), t.parseAsync = async (r, i) => $ve(t, r, i, { callee: t.parseAsync }), t.safeParseAsync = async (r, i) => Vve(t, r, i), t.spa = t.safeParseAsync, t.encode = (r, i) => Hve(t, r, i), t.decode = (r, i) => Qve(t, r, i), t.encodeAsync = async (r, i) => Zve(t, r, i), t.decodeAsync = async (r, i) => Gve(t, r, i), t.safeEncode = (r, i) => Yve(t, r, i), t.safeDecode = (r, i) => Wve(t, r, i), t.safeEncodeAsync = async (r, i) => Xve(t, r, i), t.safeDecodeAsync = async (r, i) => Jve(t, r, i), t.refine = (r, i) => t.check(FCe(r, i)), t.superRefine = (r) => t.check(LCe(r)), t.overwrite = (r) => t.check(b8(r)), t.optional = () => lk(t), t.nullable = () => uk(t), t.nullish = () => lk(uk(t)), t.nonoptional = (r) => wCe(t, r), t.array = () =>
|
|
40610
|
+
})), t.clone = (r, i) => G1(t, r, i), t.brand = () => t, t.register = (r, i) => (r.add(t, i), t), t.parse = (r, i) => Uve(t, r, i, { callee: t.parse }), t.safeParse = (r, i) => jve(t, r, i), t.parseAsync = async (r, i) => $ve(t, r, i, { callee: t.parseAsync }), t.safeParseAsync = async (r, i) => Vve(t, r, i), t.spa = t.safeParseAsync, t.encode = (r, i) => Hve(t, r, i), t.decode = (r, i) => Qve(t, r, i), t.encodeAsync = async (r, i) => Zve(t, r, i), t.decodeAsync = async (r, i) => Gve(t, r, i), t.safeEncode = (r, i) => Yve(t, r, i), t.safeDecode = (r, i) => Wve(t, r, i), t.safeEncodeAsync = async (r, i) => Xve(t, r, i), t.safeDecodeAsync = async (r, i) => Jve(t, r, i), t.refine = (r, i) => t.check(FCe(r, i)), t.superRefine = (r) => t.check(LCe(r)), t.overwrite = (r) => t.check(b8(r)), t.optional = () => lk(t), t.nullable = () => uk(t), t.nullish = () => lk(uk(t)), t.nonoptional = (r) => wCe(t, r), t.array = () => tl(t), t.or = (r) => ts([t, r]), t.and = (r) => cCe(t, r), t.transform = (r) => ck(t, zte(r)), t.default = (r) => yCe(t, r), t.prefault = (r) => CCe(t, r), t.catch = (r) => bCe(t, r), t.pipe = (r) => ck(t, r), t.readonly = () => DCe(t), t.describe = (r) => {
|
|
40606
40611
|
const i = t.clone();
|
|
40607
40612
|
return t5.add(i, { description: r }), i;
|
|
40608
40613
|
}, Object.defineProperty(t, "description", {
|
|
@@ -40878,7 +40883,7 @@ function Yot(t) {
|
|
|
40878
40883
|
const sCe = /* @__PURE__ */ ht("ZodArray", (t, e) => {
|
|
40879
40884
|
hye.init(t, e), tn.init(t, e), t.element = e.element, t.min = (r, i) => t.check(ry(r, i)), t.nonempty = (r) => t.check(ry(1, r)), t.max = (r, i) => t.check(ez(r, i)), t.length = (r, i) => t.check(tz(r, i)), t.unwrap = () => t.element;
|
|
40880
40885
|
});
|
|
40881
|
-
function
|
|
40886
|
+
function tl(t, e) {
|
|
40882
40887
|
return Dve(sCe, t, e);
|
|
40883
40888
|
}
|
|
40884
40889
|
function Wot(t) {
|
|
@@ -41235,7 +41240,7 @@ const PCe = /* @__PURE__ */ ht("ZodFunction", (t, e) => {
|
|
|
41235
41240
|
function Rue(t) {
|
|
41236
41241
|
return new PCe({
|
|
41237
41242
|
type: "function",
|
|
41238
|
-
input: Array.isArray(t == null ? void 0 : t.input) ? a6(t == null ? void 0 : t.input) : (t == null ? void 0 : t.input) ??
|
|
41243
|
+
input: Array.isArray(t == null ? void 0 : t.input) ? a6(t == null ? void 0 : t.input) : (t == null ? void 0 : t.input) ?? tl(iy()),
|
|
41239
41244
|
output: (t == null ? void 0 : t.output) ?? iy()
|
|
41240
41245
|
});
|
|
41241
41246
|
}
|
|
@@ -41276,7 +41281,7 @@ const hat = (...t) => Fve({
|
|
|
41276
41281
|
String: rz
|
|
41277
41282
|
}, ...t);
|
|
41278
41283
|
function dat(t) {
|
|
41279
|
-
const e = BCe(() => ts([hi(t), Rt(), Zr(), tCe(),
|
|
41284
|
+
const e = BCe(() => ts([hi(t), Rt(), Zr(), tCe(), tl(e), lz(hi(), e)]));
|
|
41280
41285
|
return e;
|
|
41281
41286
|
}
|
|
41282
41287
|
function fat(t, e) {
|
|
@@ -41296,12 +41301,12 @@ const pat = {
|
|
|
41296
41301
|
custom: "custom"
|
|
41297
41302
|
};
|
|
41298
41303
|
function Aat(t) {
|
|
41299
|
-
|
|
41304
|
+
el({
|
|
41300
41305
|
customError: t
|
|
41301
41306
|
});
|
|
41302
41307
|
}
|
|
41303
41308
|
function mat() {
|
|
41304
|
-
return
|
|
41309
|
+
return el().customError;
|
|
41305
41310
|
}
|
|
41306
41311
|
var fG;
|
|
41307
41312
|
fG || (fG = {});
|
|
@@ -41328,7 +41333,7 @@ const _at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
41328
41333
|
number: yat,
|
|
41329
41334
|
string: gat
|
|
41330
41335
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
41331
|
-
|
|
41336
|
+
el(Uye());
|
|
41332
41337
|
const vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
41333
41338
|
__proto__: null,
|
|
41334
41339
|
$brand: ame,
|
|
@@ -41415,7 +41420,7 @@ const vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41415
41420
|
_default: yCe,
|
|
41416
41421
|
_function: Rue,
|
|
41417
41422
|
any: iCe,
|
|
41418
|
-
array:
|
|
41423
|
+
array: tl,
|
|
41419
41424
|
base64: Bot,
|
|
41420
41425
|
base64url: Tot,
|
|
41421
41426
|
bigint: jot,
|
|
@@ -41427,7 +41432,7 @@ const vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
41427
41432
|
clone: G1,
|
|
41428
41433
|
codec: aat,
|
|
41429
41434
|
coerce: _at,
|
|
41430
|
-
config:
|
|
41435
|
+
config: el,
|
|
41431
41436
|
core: lot,
|
|
41432
41437
|
cuid: wot,
|
|
41433
41438
|
cuid2: _ot,
|
|
@@ -44784,7 +44789,7 @@ function Rat(t, e) {
|
|
|
44784
44789
|
let [r, i] = t, [n, o] = e, a = Q4(n - r), s = Q4(o - i);
|
|
44785
44790
|
return Math.sqrt(a * a + s * s) * Kc;
|
|
44786
44791
|
}
|
|
44787
|
-
function
|
|
44792
|
+
function J0(t, e) {
|
|
44788
44793
|
let [r, i] = t.map((u) => Q4(u)), [n, o] = e.map((u) => Q4(u)), a = o - i, s = (n - r) * Math.cos((i + o) / 2), l = a;
|
|
44789
44794
|
return Math.sqrt(s * s + l * l) * Kc;
|
|
44790
44795
|
}
|
|
@@ -45088,7 +45093,7 @@ Math.hypot || (Math.hypot = function() {
|
|
|
45088
45093
|
return Math.sqrt(t);
|
|
45089
45094
|
});
|
|
45090
45095
|
var Ib = {};
|
|
45091
|
-
|
|
45096
|
+
cl(Ib, { LDU: () => mst, add: () => gst, adjoint: () => lst, clone: () => tst, copy: () => rst, create: () => est, determinant: () => ust, equals: () => vst, exactEquals: () => yst, frob: () => Ast, fromRotation: () => dst, fromScaling: () => fst, fromValues: () => nst, identity: () => ist, invert: () => sst, mul: () => _st, multiply: () => KCe, multiplyScalar: () => Cst, multiplyScalarAndAdd: () => wst, rotate: () => cst, scale: () => hst, set: () => ost, str: () => pst, sub: () => xst, subtract: () => qCe, transpose: () => ast });
|
|
45092
45097
|
R();
|
|
45093
45098
|
function est() {
|
|
45094
45099
|
var t = new Eo(4);
|
|
@@ -45177,7 +45182,7 @@ function wst(t, e, r, i) {
|
|
|
45177
45182
|
return t[0] = e[0] + r[0] * i, t[1] = e[1] + r[1] * i, t[2] = e[2] + r[2] * i, t[3] = e[3] + r[3] * i, t;
|
|
45178
45183
|
}
|
|
45179
45184
|
var _st = KCe, xst = qCe, Bb = {};
|
|
45180
|
-
|
|
45185
|
+
cl(Bb, { add: () => Zst, adjoint: () => Pst, clone: () => Est, copy: () => Mst, create: () => ewe, determinant: () => Fst, equals: () => Xst, exactEquals: () => Wst, frob: () => Qst, fromMat2d: () => Ust, fromMat4: () => bst, fromQuat: () => $st, fromRotation: () => zst, fromScaling: () => Nst, fromTranslation: () => Ost, fromValues: () => Dst, identity: () => Ist, invert: () => Tst, mul: () => Jst, multiply: () => twe, multiplyScalar: () => Gst, multiplyScalarAndAdd: () => Yst, normalFromMat4: () => jst, projection: () => Vst, rotate: () => kst, scale: () => Rst, set: () => Sst, str: () => Hst, sub: () => Kst, subtract: () => rwe, translate: () => Lst, transpose: () => Bst });
|
|
45181
45186
|
R();
|
|
45182
45187
|
function ewe() {
|
|
45183
45188
|
var t = new Eo(9);
|
|
@@ -45288,7 +45293,7 @@ function Xst(t, e) {
|
|
|
45288
45293
|
return Math.abs(r - h) <= xi * Math.max(1, Math.abs(r), Math.abs(h)) && Math.abs(i - d) <= xi * Math.max(1, Math.abs(i), Math.abs(d)) && Math.abs(n - f) <= xi * Math.max(1, Math.abs(n), Math.abs(f)) && Math.abs(o - p) <= xi * Math.max(1, Math.abs(o), Math.abs(p)) && Math.abs(a - m) <= xi * Math.max(1, Math.abs(a), Math.abs(m)) && Math.abs(s - A) <= xi * Math.max(1, Math.abs(s), Math.abs(A)) && Math.abs(l - g) <= xi * Math.max(1, Math.abs(l), Math.abs(g)) && Math.abs(u - y) <= xi * Math.max(1, Math.abs(u), Math.abs(y)) && Math.abs(c - v) <= xi * Math.max(1, Math.abs(c), Math.abs(v));
|
|
45289
45294
|
}
|
|
45290
45295
|
var Jst = twe, Kst = rwe, Mt = {};
|
|
45291
|
-
|
|
45296
|
+
cl(Mt, { add: () => R2t, adjoint: () => a2t, clone: () => e2t, copy: () => t2t, create: () => qst, determinant: () => s2t, equals: () => U2t, exactEquals: () => N2t, frob: () => k2t, fromQuat: () => E2t, fromQuat2: () => C2t, fromRotation: () => m2t, fromRotationTranslation: () => owe, fromRotationTranslationScale: () => x2t, fromRotationTranslationScaleOrigin: () => b2t, fromScaling: () => A2t, fromTranslation: () => p2t, fromValues: () => r2t, fromXRotation: () => g2t, fromYRotation: () => y2t, fromZRotation: () => v2t, frustum: () => M2t, getRotation: () => _2t, getScaling: () => awe, getTranslation: () => w2t, identity: () => iwe, invert: () => o2t, lookAt: () => P2t, mul: () => $2t, multiply: () => nwe, multiplyScalar: () => O2t, multiplyScalarAndAdd: () => z2t, ortho: () => B2t, orthoNO: () => lwe, orthoZO: () => T2t, perspective: () => D2t, perspectiveFromFieldOfView: () => I2t, perspectiveNO: () => swe, perspectiveZO: () => S2t, rotate: () => c2t, rotateX: () => h2t, rotateY: () => d2t, rotateZ: () => f2t, scale: () => u2t, set: () => i2t, str: () => L2t, sub: () => j2t, subtract: () => uwe, targetTo: () => F2t, translate: () => l2t, transpose: () => n2t });
|
|
45292
45297
|
R();
|
|
45293
45298
|
function qst() {
|
|
45294
45299
|
var t = new Eo(16);
|
|
@@ -45475,10 +45480,10 @@ function U2t(t, e) {
|
|
|
45475
45480
|
return Math.abs(r - y) <= xi * Math.max(1, Math.abs(r), Math.abs(y)) && Math.abs(i - v) <= xi * Math.max(1, Math.abs(i), Math.abs(v)) && Math.abs(n - C) <= xi * Math.max(1, Math.abs(n), Math.abs(C)) && Math.abs(o - E) <= xi * Math.max(1, Math.abs(o), Math.abs(E)) && Math.abs(a - M) <= xi * Math.max(1, Math.abs(a), Math.abs(M)) && Math.abs(s - S) <= xi * Math.max(1, Math.abs(s), Math.abs(S)) && Math.abs(l - x) <= xi * Math.max(1, Math.abs(l), Math.abs(x)) && Math.abs(u - b) <= xi * Math.max(1, Math.abs(u), Math.abs(b)) && Math.abs(c - D) <= xi * Math.max(1, Math.abs(c), Math.abs(D)) && Math.abs(h - T) <= xi * Math.max(1, Math.abs(h), Math.abs(T)) && Math.abs(d - I) <= xi * Math.max(1, Math.abs(d), Math.abs(I)) && Math.abs(f - F) <= xi * Math.max(1, Math.abs(f), Math.abs(F)) && Math.abs(p - B) <= xi * Math.max(1, Math.abs(p), Math.abs(B)) && Math.abs(m - k) <= xi * Math.max(1, Math.abs(m), Math.abs(k)) && Math.abs(A - z) <= xi * Math.max(1, Math.abs(A), Math.abs(z)) && Math.abs(g - j) <= xi * Math.max(1, Math.abs(g), Math.abs(j));
|
|
45476
45481
|
}
|
|
45477
45482
|
var $2t = nwe, j2t = uwe, dz = {};
|
|
45478
|
-
|
|
45483
|
+
cl(dz, { add: () => ult, calculateW: () => K0t, clone: () => olt, conjugate: () => rlt, copy: () => slt, create: () => gG, dot: () => jwe, equals: () => Alt, exactEquals: () => plt, exp: () => zwe, fromEuler: () => ilt, fromMat3: () => Uwe, fromValues: () => alt, getAngle: () => Y0t, getAxisAngle: () => G0t, identity: () => Z0t, invert: () => tlt, len: () => dlt, length: () => Vwe, lerp: () => hlt, ln: () => Nwe, mul: () => clt, multiply: () => Owe, normalize: () => qte, pow: () => q0t, random: () => elt, rotateX: () => W0t, rotateY: () => X0t, rotateZ: () => J0t, rotationTo: () => mlt, scale: () => $we, set: () => llt, setAxes: () => ylt, setAxisAngle: () => Rwe, slerp: () => UB, sqlerp: () => glt, sqrLen: () => flt, squaredLength: () => Hwe, str: () => nlt });
|
|
45479
45484
|
R();
|
|
45480
45485
|
var Ft = {};
|
|
45481
|
-
|
|
45486
|
+
cl(Ft, { add: () => Z2t, angle: () => d0t, bezier: () => n0t, ceil: () => G2t, clone: () => V2t, copy: () => H2t, create: () => Wte, cross: () => NB, dist: () => C0t, distance: () => pwe, div: () => v0t, divide: () => fwe, dot: () => Xte, equals: () => m0t, exactEquals: () => A0t, floor: () => Y2t, forEach: () => x0t, fromValues: () => mG, hermite: () => i0t, inverse: () => t0t, len: () => ywe, length: () => cwe, lerp: () => r0t, max: () => X2t, min: () => W2t, mul: () => y0t, multiply: () => dwe, negate: () => e0t, normalize: () => gwe, random: () => o0t, rotateX: () => u0t, rotateY: () => c0t, rotateZ: () => h0t, round: () => J2t, scale: () => K2t, scaleAndAdd: () => q2t, set: () => Q2t, sqrDist: () => w0t, sqrLen: () => _0t, squaredDistance: () => Awe, squaredLength: () => mwe, str: () => p0t, sub: () => g0t, subtract: () => hwe, transformMat3: () => s0t, transformMat4: () => a0t, transformQuat: () => l0t, zero: () => f0t });
|
|
45482
45487
|
R();
|
|
45483
45488
|
function Wte() {
|
|
45484
45489
|
var t = new Eo(3);
|
|
@@ -45630,7 +45635,7 @@ var g0t = hwe, y0t = dwe, v0t = fwe, C0t = pwe, w0t = Awe, ywe = cwe, _0t = mwe,
|
|
|
45630
45635
|
return e;
|
|
45631
45636
|
};
|
|
45632
45637
|
}(), Ya = {};
|
|
45633
|
-
|
|
45638
|
+
cl(Ya, { add: () => bwe, ceil: () => b0t, clone: () => Cwe, copy: () => _we, create: () => vwe, cross: () => P0t, dist: () => $0t, distance: () => Iwe, div: () => U0t, divide: () => Dwe, dot: () => Pwe, equals: () => kwe, exactEquals: () => Lwe, floor: () => E0t, forEach: () => Q0t, fromValues: () => wwe, inverse: () => T0t, len: () => V0t, length: () => Jte, lerp: () => Fwe, max: () => D0t, min: () => M0t, mul: () => N0t, multiply: () => Mwe, negate: () => B0t, normalize: () => Twe, random: () => F0t, round: () => S0t, scale: () => Swe, scaleAndAdd: () => I0t, set: () => xwe, sqrDist: () => j0t, sqrLen: () => H0t, squaredDistance: () => Bwe, squaredLength: () => Kte, str: () => O0t, sub: () => z0t, subtract: () => Ewe, transformMat4: () => L0t, transformQuat: () => k0t, zero: () => R0t });
|
|
45634
45639
|
R();
|
|
45635
45640
|
function vwe() {
|
|
45636
45641
|
var t = new Eo(4);
|
|
@@ -45866,8 +45871,8 @@ var olt = Cwe, alt = wwe, slt = _we, llt = xwe, ult = bwe, clt = Owe, $we = Swe,
|
|
|
45866
45871
|
return function(e, r, i, n) {
|
|
45867
45872
|
return t[0] = i[0], t[3] = i[1], t[6] = i[2], t[1] = n[0], t[4] = n[1], t[7] = n[2], t[2] = -r[0], t[5] = -r[1], t[8] = -r[2], qte(e, Uwe(e, t));
|
|
45868
45873
|
};
|
|
45869
|
-
}(),
|
|
45870
|
-
|
|
45874
|
+
}(), Ml = {};
|
|
45875
|
+
cl(Ml, { add: () => xlt, angle: () => Vlt, ceil: () => blt, clone: () => vlt, copy: () => wlt, create: () => Qwe, cross: () => klt, dist: () => Klt, distance: () => Wwe, div: () => Jlt, divide: () => Ywe, dot: () => Llt, equals: () => Glt, exactEquals: () => Zlt, floor: () => Elt, forEach: () => tut, fromValues: () => Clt, inverse: () => Plt, len: () => Ylt, length: () => Jwe, lerp: () => Rlt, max: () => Dlt, min: () => Mlt, mul: () => Xlt, multiply: () => Gwe, negate: () => Tlt, normalize: () => Flt, random: () => Olt, rotate: () => jlt, round: () => Slt, scale: () => Ilt, scaleAndAdd: () => Blt, set: () => _lt, sqrDist: () => qlt, sqrLen: () => eut, squaredDistance: () => Xwe, squaredLength: () => Kwe, str: () => Qlt, sub: () => Wlt, subtract: () => Zwe, transformMat2: () => zlt, transformMat2d: () => Nlt, transformMat3: () => Ult, transformMat4: () => $lt, zero: () => Hlt });
|
|
45871
45876
|
R();
|
|
45872
45877
|
function Qwe() {
|
|
45873
45878
|
var t = new Eo(2);
|
|
@@ -46154,8 +46159,8 @@ function Yh(t, e) {
|
|
|
46154
46159
|
}
|
|
46155
46160
|
return t === e;
|
|
46156
46161
|
}
|
|
46157
|
-
function
|
|
46158
|
-
return Array.isArray(t) ? t.map(
|
|
46162
|
+
function Sl(t) {
|
|
46163
|
+
return Array.isArray(t) ? t.map(Sl) : typeof t == "object" && t ? tre(t, Sl) : t;
|
|
46159
46164
|
}
|
|
46160
46165
|
var $ue = {};
|
|
46161
46166
|
function As(t) {
|
|
@@ -46257,7 +46262,7 @@ function mut(t) {
|
|
|
46257
46262
|
return Math.hypot(e[5], e[8]) < 1e-3 ? (i = 0, n = -Am(Math.atan2(e[3], e[4]))) : (i = Am(e[5] === 0 && e[8] === 0 ? 0 : Math.atan2(e[5], e[8])), n = Am(e[1] === 0 && e[0] === 0 ? 0 : Math.atan2(e[1], e[0]))), { roll: i, pitch: r + 90, bearing: n };
|
|
46258
46263
|
}
|
|
46259
46264
|
function gut(t, e, r) {
|
|
46260
|
-
let i =
|
|
46265
|
+
let i = Ml.fromValues(e.x - r.x, e.y - r.y), n = Ml.fromValues(t.x - r.x, t.y - r.y), o = i[0] * n[1] - i[1] * n[0], a = Math.atan2(o, Ml.dot(i, n));
|
|
46261
46266
|
return Am(a);
|
|
46262
46267
|
}
|
|
46263
46268
|
function Vue(t, e, r) {
|
|
@@ -49846,16 +49851,16 @@ var Lht = class {
|
|
|
49846
49851
|
this._properties = t, this._values = Object.create(t.defaultTransitionablePropertyValues);
|
|
49847
49852
|
}
|
|
49848
49853
|
getValue(t) {
|
|
49849
|
-
return
|
|
49854
|
+
return Sl(this._values[t].value.value);
|
|
49850
49855
|
}
|
|
49851
49856
|
setValue(t, e) {
|
|
49852
|
-
Object.prototype.hasOwnProperty.call(this._values, t) || (this._values[t] = new RG(this._values[t].property)), this._values[t].value = new Tz(this._values[t].property, e === null ? void 0 :
|
|
49857
|
+
Object.prototype.hasOwnProperty.call(this._values, t) || (this._values[t] = new RG(this._values[t].property)), this._values[t].value = new Tz(this._values[t].property, e === null ? void 0 : Sl(e));
|
|
49853
49858
|
}
|
|
49854
49859
|
getTransition(t) {
|
|
49855
|
-
return
|
|
49860
|
+
return Sl(this._values[t].transition);
|
|
49856
49861
|
}
|
|
49857
49862
|
setTransition(t, e) {
|
|
49858
|
-
Object.prototype.hasOwnProperty.call(this._values, t) || (this._values[t] = new RG(this._values[t].property)), this._values[t].transition =
|
|
49863
|
+
Object.prototype.hasOwnProperty.call(this._values, t) || (this._values[t] = new RG(this._values[t].property)), this._values[t].transition = Sl(e) || void 0;
|
|
49859
49864
|
}
|
|
49860
49865
|
serialize() {
|
|
49861
49866
|
let t = {};
|
|
@@ -49914,10 +49919,10 @@ var Lht = class {
|
|
|
49914
49919
|
return this._values[t].value !== void 0;
|
|
49915
49920
|
}
|
|
49916
49921
|
getValue(t) {
|
|
49917
|
-
return
|
|
49922
|
+
return Sl(this._values[t].value);
|
|
49918
49923
|
}
|
|
49919
49924
|
setValue(t, e) {
|
|
49920
|
-
this._values[t] = new Tz(this._values[t].property, e === null ? void 0 :
|
|
49925
|
+
this._values[t] = new Tz(this._values[t].property, e === null ? void 0 : Sl(e));
|
|
49921
49926
|
}
|
|
49922
49927
|
serialize() {
|
|
49923
49928
|
let t = {};
|
|
@@ -55415,7 +55420,7 @@ function Hz(t, e) {
|
|
|
55415
55420
|
if (E.wrap = a.getWrap(o, b, E.wrap), E.zoom >= F) {
|
|
55416
55421
|
if (E.zoom < u) continue;
|
|
55417
55422
|
let B = h - E.zoom, k = f[0] - 0.5 - (M << B), z = f[1] - 0.5 - (S << B), j = e.reparseOverscaled ? Math.max(E.zoom, I) : E.zoom;
|
|
55418
|
-
C.push({ tileID: new s0(E.zoom === c ? j : E.zoom, E.wrap, E.zoom, M, S), distanceSq:
|
|
55423
|
+
C.push({ tileID: new s0(E.zoom === c ? j : E.zoom, E.wrap, E.zoom, M, S), distanceSq: Ml.sqrLen([p[0] - 0.5 - M, p[1] - 0.5 - S]), tileDistanceToCamera: Math.sqrt(k * k + z * z) });
|
|
55419
55424
|
continue;
|
|
55420
55425
|
}
|
|
55421
55426
|
for (let B = 0; B < 4; B++) {
|
|
@@ -55987,14 +55992,14 @@ function Rpt(t, e, r, i) {
|
|
|
55987
55992
|
} else return r.pixelsToClipSpaceMatrix;
|
|
55988
55993
|
}
|
|
55989
55994
|
function iie(t) {
|
|
55990
|
-
let e = Math.cos(t.rollInRadians), r = Math.sin(t.rollInRadians), i = Math.cos(t.pitchInRadians), n = Math.cos(t.bearingInRadians), o = Math.sin(t.bearingInRadians), a =
|
|
55995
|
+
let e = Math.cos(t.rollInRadians), r = Math.sin(t.rollInRadians), i = Math.cos(t.pitchInRadians), n = Math.cos(t.bearingInRadians), o = Math.sin(t.bearingInRadians), a = Ml.create();
|
|
55991
55996
|
a[0] = -n * i * r - o * e, a[1] = -o * i * r + n * e;
|
|
55992
|
-
let s =
|
|
55993
|
-
s < 1e-9 ?
|
|
55994
|
-
let l =
|
|
55997
|
+
let s = Ml.length(a);
|
|
55998
|
+
s < 1e-9 ? Ml.zero(a) : Ml.scale(a, a, 1 / s);
|
|
55999
|
+
let l = Ml.create();
|
|
55995
56000
|
l[0] = n * i * e - o * r, l[1] = o * i * e + n * r;
|
|
55996
|
-
let u =
|
|
55997
|
-
return u < 1e-9 ?
|
|
56001
|
+
let u = Ml.length(l);
|
|
56002
|
+
return u < 1e-9 ? Ml.zero(l) : Ml.scale(l, l, 1 / u), { vecEast: l, vecSouth: a };
|
|
55998
56003
|
}
|
|
55999
56004
|
function nie(t, e, r, i) {
|
|
56000
56005
|
let n;
|
|
@@ -60212,10 +60217,10 @@ var JS = (t, e) => Bz(t, e && e.filter((r) => r.identifier !== "source.canvas"))
|
|
|
60212
60217
|
}
|
|
60213
60218
|
_serializeByIds(e, r = !1) {
|
|
60214
60219
|
let i = this._serializedAllLayers();
|
|
60215
|
-
if (!e || e.length === 0) return Object.values(r ?
|
|
60220
|
+
if (!e || e.length === 0) return Object.values(r ? Sl(i) : i);
|
|
60216
60221
|
let n = [];
|
|
60217
60222
|
for (let o of e) if (i[o]) {
|
|
60218
|
-
let a = r ?
|
|
60223
|
+
let a = r ? Sl(i[o]) : i[o];
|
|
60219
60224
|
n.push(a);
|
|
60220
60225
|
}
|
|
60221
60226
|
return n;
|
|
@@ -60296,7 +60301,7 @@ var JS = (t, e) => Bz(t, e && e.filter((r) => r.identifier !== "source.canvas"))
|
|
|
60296
60301
|
this._checkLoaded();
|
|
60297
60302
|
let n = this.serialize();
|
|
60298
60303
|
if (e = r.transformStyle ? r.transformStyle(n, e) : e, ((i = r.validate) != null ? i : !0) && JS(this, hs(e))) return !1;
|
|
60299
|
-
e =
|
|
60304
|
+
e = Sl(e), e.layers = Que(e.layers);
|
|
60300
60305
|
let o = x1t(n, e), a = this._getOperationsToPerform(o);
|
|
60301
60306
|
if (a.unimplemented.length > 0) throw new Error("Unimplemented: ".concat(a.unimplemented.join(", "), "."));
|
|
60302
60307
|
if (a.operations.length === 0) return !1;
|
|
@@ -60425,7 +60430,7 @@ var JS = (t, e) => Bz(t, e && e.filter((r) => r.identifier !== "source.canvas"))
|
|
|
60425
60430
|
if (JS(this, x3t(e))) return;
|
|
60426
60431
|
o = oj(e);
|
|
60427
60432
|
} else {
|
|
60428
|
-
if ("source" in e && typeof e.source == "object" && (this.addSource(n, e.source), e =
|
|
60433
|
+
if ("source" in e && typeof e.source == "object" && (this.addSource(n, e.source), e = Sl(e), e = xr(e, { source: n })), this._validate(hs.layer, "layers.".concat(n), e, { arrayIndex: -1 }, i)) return;
|
|
60429
60434
|
o = oj(e), this._validateLayer(o), o.setEventedParent(this, { layer: { id: n } });
|
|
60430
60435
|
}
|
|
60431
60436
|
let a = r ? this._order.indexOf(r) : this._order.length;
|
|
@@ -60495,11 +60500,11 @@ var JS = (t, e) => Bz(t, e && e.filter((r) => r.identifier !== "source.canvas"))
|
|
|
60495
60500
|
n.setFilter(void 0), this._updateLayer(n);
|
|
60496
60501
|
return;
|
|
60497
60502
|
}
|
|
60498
|
-
this._validate(hs.filter, "layers.".concat(n.id, ".filter"), r, null, i) || (n.setFilter(
|
|
60503
|
+
this._validate(hs.filter, "layers.".concat(n.id, ".filter"), r, null, i) || (n.setFilter(Sl(r)), this._updateLayer(n));
|
|
60499
60504
|
}
|
|
60500
60505
|
}
|
|
60501
60506
|
getFilter(e) {
|
|
60502
|
-
return
|
|
60507
|
+
return Sl(this.getLayer(e).filter);
|
|
60503
60508
|
}
|
|
60504
60509
|
setLayoutProperty(e, r, i, n = {}) {
|
|
60505
60510
|
this._checkLoaded();
|
|
@@ -63862,7 +63867,7 @@ var j7t = class extends Xl {
|
|
|
63862
63867
|
if (!(r >= 0 && r < n && i >= 0 && i < n)) return 0;
|
|
63863
63868
|
let a = this.getTerrainData(e), s = (o = a.tile) == null ? void 0 : o.dem;
|
|
63864
63869
|
if (!s) return 0;
|
|
63865
|
-
let l =
|
|
63870
|
+
let l = Ml.transformMat4([], [r / n * 8192, i / n * 8192], a.u_terrain_matrix), u = [l[0] * s.dim, l[1] * s.dim], c = Math.floor(u[0]), h = Math.floor(u[1]), d = u[0] - c, f = u[1] - h;
|
|
63866
63871
|
return s.get(c, h) * (1 - d) * (1 - f) + s.get(c + 1, h) * d * (1 - f) + s.get(c, h + 1) * (1 - d) * f + s.get(c + 1, h + 1) * d * f;
|
|
63867
63872
|
}
|
|
63868
63873
|
getElevationForLngLatZoom(e, r) {
|
|
@@ -64696,7 +64701,7 @@ R();
|
|
|
64696
64701
|
R();
|
|
64697
64702
|
R();
|
|
64698
64703
|
R();
|
|
64699
|
-
var
|
|
64704
|
+
var Al = 63710088e-1, CEe = { centimeters: Al * 100, centimetres: Al * 100, degrees: Al / 111325, feet: Al * 3.28084, inches: Al * 39.37, kilometers: Al / 1e3, kilometres: Al / 1e3, meters: Al, metres: Al, miles: Al / 1609.344, millimeters: Al * 1e3, millimetres: Al * 1e3, nauticalmiles: Al / 1852, radians: 1, yards: Al * 1.0936 };
|
|
64700
64705
|
function U3(t, e, r) {
|
|
64701
64706
|
r === void 0 && (r = {});
|
|
64702
64707
|
var i = { type: "Feature" };
|
|
@@ -65318,9 +65323,9 @@ var MEe = (t) => {
|
|
|
65318
65323
|
i.color != null && (i.textColor == null && (i.textColor = i.color), i.pinColor == null && (i.pinColor = i.color)), i.outlineColor != null && (i.textOutlineColor == null && (i.textOutlineColor = i.outlineColor), i.pinOutlineColor == null && (i.pinOutlineColor = i.outlineColor));
|
|
65319
65324
|
let n = (e = i.pinColor) != null ? e : i.color, o = (r = i.pinOutlineColor) != null ? r : i.outlineColor;
|
|
65320
65325
|
return n != null && i.pinColorInactive == null && (i.pinColorInactive = Rr(n).toRgbString()), o != null && i.pinOutlineColorInactive == null && (i.pinOutlineColorInactive = Rr(o).toRgbString()), i;
|
|
65321
|
-
}, DEe = mie.transform((t) => MEe(t)), SEe = (t) => DEe.parse(t), F9t = oi({ rank: pie.optional(), appearance: DEe.optional(), interactive: Zr().default(!1), textPlacement: ts([w2(Pk),
|
|
65326
|
+
}, DEe = mie.transform((t) => MEe(t)), SEe = (t) => DEe.parse(t), F9t = oi({ rank: pie.optional(), appearance: DEe.optional(), interactive: Zr().default(!1), textPlacement: ts([w2(Pk), tl(w2(Pk))]).default(Kz), occlude: Zr().default(!0) }), L9t = (t) => {
|
|
65322
65327
|
F9t.parse(t ?? {});
|
|
65323
|
-
}, k9t =
|
|
65328
|
+
}, k9t = tl(Rt()).min(2).max(3), R9t = hi(), O9t = (t, e, r) => {
|
|
65324
65329
|
k9t.parse(t), R9t.parse(e), L9t(r);
|
|
65325
65330
|
}, IEe = ["color", "outlineColor"], z9t = [...IEe, "maxLines", "lineHeight", "textSize", "maxWidth", "textColor", "textOutlineColor"], N9t = [...IEe, "icon", "iconSize", "iconScale", "iconVisible", "iconPadding", "pinColor", "pinOutlineColor", "pinColorInactive", "pinOutlineColorInactive"], U9t = (t, e) => z9t.some((r) => e[r] != null && t[r] !== e[r]), $9t = (t, e) => N9t.some((r) => e[r] != null && t[r] !== e[r]), j9t = ["textPlacement"], V9t = ["margin"], H9t = (t, e) => {
|
|
65326
65331
|
let r = j9t.some((n) => e[n] != null && t[n] !== e[n]), i = V9t.some((n) => {
|
|
@@ -65462,9 +65467,9 @@ var Z9t = TEe, i5 = Z9t;
|
|
|
65462
65467
|
R();
|
|
65463
65468
|
var G9t = Fr(NCe());
|
|
65464
65469
|
R();
|
|
65465
|
-
var Y9t = "0.6", ra = { TOP: "top", BOTTOM: "bottom", LEFT: "left", RIGHT: "right", CENTER: "center", TOP_LEFT: "top-left", TOP_RIGHT: "top-right", BOTTOM_LEFT: "bottom-left", BOTTOM_RIGHT: "bottom-right", HIDDEN: "hidden" }, Fk = Object.values(ra), W9t = [ra.CENTER, ra.HIDDEN], X9t = Object.freeze({ size: 8, color: "#666" }), PEe = oi({ rank: ts([w2(["low", "medium", "high", "always-visible"]), Rt()]).optional(), interactive: ts([Zr(), ps("pointer-events-auto")]).optional(), id: hi().optional(), placement: ts([w2(Fk),
|
|
65470
|
+
var Y9t = "0.6", ra = { TOP: "top", BOTTOM: "bottom", LEFT: "left", RIGHT: "right", CENTER: "center", TOP_LEFT: "top-left", TOP_RIGHT: "top-right", BOTTOM_LEFT: "bottom-left", BOTTOM_RIGHT: "bottom-right", HIDDEN: "hidden" }, Fk = Object.values(ra), W9t = [ra.CENTER, ra.HIDDEN], X9t = Object.freeze({ size: 8, color: "#666" }), PEe = oi({ rank: ts([w2(["low", "medium", "high", "always-visible"]), Rt()]).optional(), interactive: ts([Zr(), ps("pointer-events-auto")]).optional(), id: hi().optional(), placement: ts([w2(Fk), tl(w2(Fk))]).optional(), dynamicResize: Zr().optional(), zIndex: Rt().optional(), lowPriorityPin: oi({ size: Rt().positive().optional(), color: hi().optional() }).optional() });
|
|
65466
65471
|
function J9t(t, e, r) {
|
|
65467
|
-
|
|
65472
|
+
tl(Rt()).min(2).max(3).parse(t), hi().parse(e), PEe.parse(r);
|
|
65468
65473
|
}
|
|
65469
65474
|
var FEe = class eT {
|
|
65470
65475
|
constructor(e, r = {}) {
|
|
@@ -66262,7 +66267,7 @@ function smt(t, e) {
|
|
|
66262
66267
|
let l = new Cie(t.length, o, 0, s);
|
|
66263
66268
|
l.renderOrder = Su.GEOMETRY;
|
|
66264
66269
|
let u, c, h;
|
|
66265
|
-
for (let d of t) u = d.components[0], !(!(u instanceof
|
|
66270
|
+
for (let d of t) u = d.components[0], !(!(u instanceof K0) || !u.geometry) && (u.mesh = l, u.material = s, u.instanceIndex = l.addGeometry(u.geometry), l.addInstance(u.instanceIndex), l.userData.entities[u.instanceIndex] = d.id, s instanceof gx && s.setColor(u.instanceIndex, a, e.topColor ? new rr(e.topColor) : a), c = l.getGeometryIdAt(u.instanceIndex), u.batchedProps && (h = l.getGeometryRangeAt(c), h && (u.batchedProps.range = h), u.batchedProps.geometryId = c));
|
|
66266
66271
|
return l.perObjectFrustumCulled = !0, l.matrixAutoUpdate = !1, l;
|
|
66267
66272
|
}
|
|
66268
66273
|
function gie(t) {
|
|
@@ -66567,7 +66572,7 @@ function she(t, e, r) {
|
|
|
66567
66572
|
function GEe(t, e) {
|
|
66568
66573
|
if (t.type === "geometry" && ((e == null ? void 0 : e.texture) != null || (e == null ? void 0 : e.topTexture) != null)) {
|
|
66569
66574
|
let r = !1, i = t.components[6];
|
|
66570
|
-
if (i == null ? (t.components[6] = new Kb(e == null ? void 0 : e.texture, e == null ? void 0 : e.topTexture), r = !0) : ((e == null ? void 0 : e.texture) != null && (i == null ? void 0 : i.texture) !== (e == null ? void 0 : e.texture) && (i.texture = typeof e.texture == "string" ? { path: e.texture } : e.texture, r = !0, i.dirty = !0), (e == null ? void 0 : e.topTexture) != null && (i == null ? void 0 : i.topTexture) !== (e == null ? void 0 : e.topTexture) && (i.topTexture = typeof e.topTexture == "string" ? { path: e.topTexture } : e.topTexture, r = !0, i.dirty = !0)), r && t.components[0] instanceof
|
|
66575
|
+
if (i == null ? (t.components[6] = new Kb(e == null ? void 0 : e.texture, e == null ? void 0 : e.topTexture), r = !0) : ((e == null ? void 0 : e.texture) != null && (i == null ? void 0 : i.texture) !== (e == null ? void 0 : e.texture) && (i.texture = typeof e.texture == "string" ? { path: e.texture } : e.texture, r = !0, i.dirty = !0), (e == null ? void 0 : e.topTexture) != null && (i == null ? void 0 : i.topTexture) !== (e == null ? void 0 : e.topTexture) && (i.topTexture = typeof e.topTexture == "string" ? { path: e.topTexture } : e.topTexture, r = !0, i.dirty = !0)), r && t.components[0] instanceof K0) {
|
|
66571
66576
|
let n = t.components[0];
|
|
66572
66577
|
return n.detached === !1 && (n.shouldDetach = !0, n.dirty = !0), !0;
|
|
66573
66578
|
}
|
|
@@ -66837,7 +66842,7 @@ var Gmt = 0.1, Ymt = 15, Wmt = 0.25, Xmt = class {
|
|
|
66837
66842
|
update() {
|
|
66838
66843
|
var e, r, i;
|
|
66839
66844
|
let n, o, a;
|
|
66840
|
-
for (let s of this.rendererState.geometry3DsInScene) if (a = s.components[0], n = s.components[1], o = s.components[5], s.type === "geometry" && a instanceof
|
|
66845
|
+
for (let s of this.rendererState.geometry3DsInScene) if (a = s.components[0], n = s.components[1], o = s.components[5], s.type === "geometry" && a instanceof K0 && o != null) {
|
|
66841
66846
|
if (o != null && o.dirty) {
|
|
66842
66847
|
if (o.mesh == null) try {
|
|
66843
66848
|
if (!Vmt(a.feature)) continue;
|
|
@@ -66917,7 +66922,7 @@ var Cie = class extends Wq {
|
|
|
66917
66922
|
constructor() {
|
|
66918
66923
|
super(...arguments), L(this, "type", "entityBatchedMesh"), L(this, "userData", { entities: {} });
|
|
66919
66924
|
}
|
|
66920
|
-
}, aT, Y7,
|
|
66925
|
+
}, aT, Y7, K0 = class {
|
|
66921
66926
|
constructor(t) {
|
|
66922
66927
|
L(this, "mesh"), L(this, "imageMesh"), L(this, "textMesh"), L(this, "textEntityId"), L(this, "type", "geometry"), L(this, "dirty", !0), L(this, "shouldDetach", !1), L(this, "detached", !1), L(this, "instanceIndex", -1), L(this, "geometry"), L(this, "batchedProps"), L(this, "material"), L(this, "feature"), L(this, "currentHeight", _Y), L(this, "color", new rr()), L(this, "topColor", new rr()), L(this, "position", new Be()), L(this, "altitude", 0), Ie(this, aT, 1), Ie(this, Y7), this.feature = t;
|
|
66923
66928
|
}
|
|
@@ -70235,7 +70240,7 @@ R();
|
|
|
70235
70240
|
R();
|
|
70236
70241
|
R();
|
|
70237
70242
|
var aa = {};
|
|
70238
|
-
|
|
70243
|
+
cl(aa, { HasPropertyKey: () => Wgt, IsArray: () => W1, IsAsyncIterator: () => MMe, IsBigInt: () => xie, IsBoolean: () => bM, IsDate: () => eN, IsFunction: () => DMe, IsIterator: () => SMe, IsNull: () => IMe, IsNumber: () => c6, IsObject: () => Ra, IsRegExp: () => bie, IsString: () => Rs, IsSymbol: () => BMe, IsUint8Array: () => fv, IsUndefined: () => C0 });
|
|
70239
70244
|
R();
|
|
70240
70245
|
function Wgt(t, e) {
|
|
70241
70246
|
return e in t;
|
|
@@ -70443,7 +70448,7 @@ var $o = class extends Error {
|
|
|
70443
70448
|
R();
|
|
70444
70449
|
R();
|
|
70445
70450
|
R();
|
|
70446
|
-
var
|
|
70451
|
+
var kl = Symbol.for("TypeBox.Transform"), DM = Symbol.for("TypeBox.Readonly"), k6 = Symbol.for("TypeBox.Optional"), vy = Symbol.for("TypeBox.Hint"), Xt = Symbol.for("TypeBox.Kind");
|
|
70447
70452
|
function ayt(t) {
|
|
70448
70453
|
return Ra(t) && t[DM] === "Readonly";
|
|
70449
70454
|
}
|
|
@@ -70535,7 +70540,7 @@ function hyt(t) {
|
|
|
70535
70540
|
return On(t, "This");
|
|
70536
70541
|
}
|
|
70537
70542
|
function Pie(t) {
|
|
70538
|
-
return Ra(t) &&
|
|
70543
|
+
return Ra(t) && kl in t;
|
|
70539
70544
|
}
|
|
70540
70545
|
function mv(t) {
|
|
70541
70546
|
return On(t, "Tuple");
|
|
@@ -70565,7 +70570,7 @@ function Cy(t) {
|
|
|
70565
70570
|
return RMe(t) || SM(t) || zMe(t) || OMe(t) || Die(t) || Sie(t) || syt(t) || Iie(t) || rN(t) || vh(t) || Bie(t) || IM(t) || B8(t) || Qu(t) || BM(t) || lyt(t) || uyt(t) || iN(t) || ef(t) || nN(t) || NMe(t) || UMe(t) || $Me(t) || Tie(t) || cyt(t) || T8(t) || hyt(t) || mv(t) || dyt(t) || V2(t) || fyt(t) || pyt(t) || Ayt(t) || myt(t) || gv(t);
|
|
70566
70571
|
}
|
|
70567
70572
|
var tt = {};
|
|
70568
|
-
|
|
70573
|
+
cl(tt, { IsAny: () => QMe, IsArray: () => ZMe, IsAsyncIterator: () => GMe, IsBigInt: () => YMe, IsBoolean: () => WMe, IsConstructor: () => XMe, IsDate: () => JMe, IsFunction: () => KMe, IsInteger: () => qMe, IsIntersect: () => eDe, IsIterator: () => tDe, IsKind: () => EDe, IsKindOf: () => Sn, IsLiteral: () => TM, IsLiteralBoolean: () => xyt, IsLiteralNumber: () => iDe, IsLiteralString: () => rDe, IsLiteralValue: () => nDe, IsMappedKey: () => oDe, IsMappedResult: () => aDe, IsNever: () => sDe, IsNot: () => lDe, IsNull: () => uDe, IsNumber: () => cDe, IsObject: () => hDe, IsOptional: () => _yt, IsPromise: () => dDe, IsProperties: () => kie, IsReadonly: () => wyt, IsRecord: () => fDe, IsRecursive: () => byt, IsRef: () => pDe, IsRegExp: () => ADe, IsSchema: () => ao, IsString: () => mDe, IsSymbol: () => gDe, IsTemplateLiteral: () => yDe, IsThis: () => vDe, IsTransform: () => Oa, IsTuple: () => CDe, IsUint8Array: () => wDe, IsUndefined: () => oN, IsUnion: () => Rie, IsUnionLiteral: () => Eyt, IsUnknown: () => _De, IsUnsafe: () => xDe, IsVoid: () => bDe, TypeGuardUnknownTypeError: () => gyt });
|
|
70569
70574
|
R();
|
|
70570
70575
|
var gyt = class extends $o {
|
|
70571
70576
|
}, yyt = ["Any", "Array", "AsyncIterator", "BigInt", "Boolean", "Constructor", "Date", "Enum", "Function", "Integer", "Intersect", "Iterator", "Literal", "MappedKey", "MappedResult", "Not", "Null", "Number", "Object", "Promise", "Record", "Ref", "RegExp", "String", "Symbol", "TemplateLiteral", "This", "Tuple", "Undefined", "Union", "Uint8Array", "Unknown", "Void"];
|
|
@@ -70720,7 +70725,7 @@ function vDe(t) {
|
|
|
70720
70725
|
return Sn(t, "This") && mo(t.$id) && Rs(t.$ref);
|
|
70721
70726
|
}
|
|
70722
70727
|
function Oa(t) {
|
|
70723
|
-
return Ra(t) &&
|
|
70728
|
+
return Ra(t) && kl in t;
|
|
70724
70729
|
}
|
|
70725
70730
|
function CDe(t) {
|
|
70726
70731
|
return Sn(t, "Tuple") && t.type === "array" && mo(t.$id) && c6(t.minItems) && c6(t.maxItems) && t.minItems === t.maxItems && (C0(t.items) && C0(t.additionalItems) && t.minItems === 0 || W1(t.items) && t.items.every((e) => ao(e)));
|
|
@@ -70756,7 +70761,7 @@ R();
|
|
|
70756
70761
|
var Myt = "(true|false)", AT = "(0|[1-9][0-9]*)", MDe = "(.*)", Dyt = "(?!.*)", wy = "^".concat(AT, "$"), _y = "^".concat(MDe, "$"), Syt = "^".concat(Dyt, "$");
|
|
70757
70762
|
R();
|
|
70758
70763
|
var $3 = {};
|
|
70759
|
-
|
|
70764
|
+
cl($3, { Clear: () => Byt, Delete: () => Tyt, Entries: () => Iyt, Get: () => Lyt, Has: () => Pyt, Set: () => Fyt });
|
|
70760
70765
|
R();
|
|
70761
70766
|
var yv = /* @__PURE__ */ new Map();
|
|
70762
70767
|
function Iyt() {
|
|
@@ -70778,7 +70783,7 @@ function Lyt(t) {
|
|
|
70778
70783
|
return yv.get(t);
|
|
70779
70784
|
}
|
|
70780
70785
|
var O1 = {};
|
|
70781
|
-
|
|
70786
|
+
cl(O1, { Clear: () => Ryt, Delete: () => Oyt, Entries: () => kyt, Get: () => Uyt, Has: () => zyt, Set: () => Nyt });
|
|
70782
70787
|
R();
|
|
70783
70788
|
var vv = /* @__PURE__ */ new Map();
|
|
70784
70789
|
function kyt() {
|
|
@@ -70883,7 +70888,7 @@ function Cv(t, e) {
|
|
|
70883
70888
|
return t.length === 0 ? x0(e) : t.length === 1 ? Lr(t[0], e) : Xyt(t, e);
|
|
70884
70889
|
}
|
|
70885
70890
|
R();
|
|
70886
|
-
function
|
|
70891
|
+
function hl(t, e) {
|
|
70887
70892
|
return t.length === 0 ? x0(e) : t.length === 1 ? Lr(t[0], e) : SY(t, e);
|
|
70888
70893
|
}
|
|
70889
70894
|
R();
|
|
@@ -71234,7 +71239,7 @@ function Zvt(t, e) {
|
|
|
71234
71239
|
function f1(t, e) {
|
|
71235
71240
|
var r;
|
|
71236
71241
|
let i = Oe({}, e);
|
|
71237
|
-
return Av(e) ? F8(f1(t, V1(e, [k6]))) : ayt(e) ? P8(f1(t, V1(e, [DM]))) : Qu(e) ? UDe(t, e.properties) : B8(e) ? Qvt(t, e.keys) : Sie(e) ? IDe(EC(t, e.parameters), f1(t, e.returns), i) : Iie(e) ? aN(EC(t, e.parameters), f1(t, e.returns), i) : Die(e) ? SDe(f1(t, e.items), i) : Bie(e) ? zDe(f1(t, e.items), i) : vh(e) ? L8(EC(t, e.allOf), i) : V2(e) ?
|
|
71242
|
+
return Av(e) ? F8(f1(t, V1(e, [k6]))) : ayt(e) ? P8(f1(t, V1(e, [DM]))) : Qu(e) ? UDe(t, e.properties) : B8(e) ? Qvt(t, e.keys) : Sie(e) ? IDe(EC(t, e.parameters), f1(t, e.returns), i) : Iie(e) ? aN(EC(t, e.parameters), f1(t, e.returns), i) : Die(e) ? SDe(f1(t, e.items), i) : Bie(e) ? zDe(f1(t, e.items), i) : vh(e) ? L8(EC(t, e.allOf), i) : V2(e) ? hl(EC(t, e.anyOf), i) : mv(e) ? PM(EC(t, (r = e.items) != null ? r : []), i) : ef(e) ? _2(Zvt(t, e.properties), i) : SM(e) ? DDe(f1(t, e.items), i) : nN(e) ? NDe(f1(t, e.item), i) : e;
|
|
71238
71243
|
}
|
|
71239
71244
|
function Gvt(t, e) {
|
|
71240
71245
|
let r = {};
|
|
@@ -71308,7 +71313,7 @@ function nCt(t) {
|
|
|
71308
71313
|
return L8(jDe(t));
|
|
71309
71314
|
}
|
|
71310
71315
|
function oCt(t) {
|
|
71311
|
-
return
|
|
71316
|
+
return hl(jDe(t));
|
|
71312
71317
|
}
|
|
71313
71318
|
function aCt(t) {
|
|
71314
71319
|
return Vie(t);
|
|
@@ -71510,7 +71515,7 @@ R();
|
|
|
71510
71515
|
function UCt(t, e) {
|
|
71511
71516
|
if (C0(t)) throw new Error("Enum undefined or empty");
|
|
71512
71517
|
let r = globalThis.Object.getOwnPropertyNames(t).filter((n) => isNaN(n)).map((n) => t[n]), i = [...new Set(r)].map((n) => ys(n));
|
|
71513
|
-
return
|
|
71518
|
+
return hl(i, Lt(Oe({}, e), { [vy]: "Enum" }));
|
|
71514
71519
|
}
|
|
71515
71520
|
R();
|
|
71516
71521
|
R();
|
|
@@ -71752,7 +71757,7 @@ function Iwt(t, e, r, i, n) {
|
|
|
71752
71757
|
}
|
|
71753
71758
|
function Bwt(t, e, r, i) {
|
|
71754
71759
|
let n = kM(t, e);
|
|
71755
|
-
return n === Et.Union ?
|
|
71760
|
+
return n === Et.Union ? hl([r, i]) : n === Et.True ? r : i;
|
|
71756
71761
|
}
|
|
71757
71762
|
function Gie(t, e, r, i, n) {
|
|
71758
71763
|
return Qu(t) ? Iwt(t, e, r, i, n) : B8(t) ? Lr(Lwt(t, e, r, i, n)) : Lr(Bwt(t, e, r, i), n);
|
|
@@ -71789,7 +71794,7 @@ function zwt(t, e) {
|
|
|
71789
71794
|
}
|
|
71790
71795
|
function Nwt(t, e) {
|
|
71791
71796
|
let r = t.filter((i) => kM(i, e) === Et.False);
|
|
71792
|
-
return r.length === 1 ? r[0] :
|
|
71797
|
+
return r.length === 1 ? r[0] : hl(r);
|
|
71793
71798
|
}
|
|
71794
71799
|
function Yie(t, e, r = {}) {
|
|
71795
71800
|
return T8(t) ? Lr(zwt(t, e), r) : Qu(t) ? Lr(jwt(t, e), r) : Lr(V2(t) ? Nwt(t.anyOf, e) : kM(t, e) !== Et.False ? x0() : t, r);
|
|
@@ -71814,7 +71819,7 @@ function Vwt(t, e) {
|
|
|
71814
71819
|
}
|
|
71815
71820
|
function Hwt(t, e) {
|
|
71816
71821
|
let r = t.filter((i) => kM(i, e) !== Et.False);
|
|
71817
|
-
return r.length === 1 ? r[0] :
|
|
71822
|
+
return r.length === 1 ? r[0] : hl(r);
|
|
71818
71823
|
}
|
|
71819
71824
|
function Wie(t, e, r) {
|
|
71820
71825
|
return T8(t) ? Lr(Vwt(t, e), r) : Qu(t) ? Lr(Gwt(t, e), r) : Lr(V2(t) ? Hwt(t.anyOf, e) : kM(t, e) !== Et.False ? t : x0(), r);
|
|
@@ -71872,7 +71877,7 @@ function i_t(t) {
|
|
|
71872
71877
|
function n_t(t, e, r) {
|
|
71873
71878
|
let i = zie(t.pattern);
|
|
71874
71879
|
if (!tE(i)) return Lt(Oe({}, t), { pattern: iSe(t.pattern, e) });
|
|
71875
|
-
let n = [...sN(i)].map((s) => ys(s)), o = nSe(n, e), a =
|
|
71880
|
+
let n = [...sN(i)].map((s) => ys(s)), o = nSe(n, e), a = hl(o);
|
|
71876
71881
|
return kDe([a], r);
|
|
71877
71882
|
}
|
|
71878
71883
|
function iSe(t, e) {
|
|
@@ -71882,7 +71887,7 @@ function nSe(t, e) {
|
|
|
71882
71887
|
return t.map((r) => bv(r, e));
|
|
71883
71888
|
}
|
|
71884
71889
|
function bv(t, e, r = {}) {
|
|
71885
|
-
return B8(t) ? qwt(t, e, r) : T8(t) ? n_t(t, e, r) : V2(t) ?
|
|
71890
|
+
return B8(t) ? qwt(t, e, r) : T8(t) ? n_t(t, e, r) : V2(t) ? hl(nSe(t.anyOf, e), r) : IM(t) ? ys(iSe(t.const, e), r) : Lr(t, r);
|
|
71886
71891
|
}
|
|
71887
71892
|
function o_t(t, e = {}) {
|
|
71888
71893
|
return bv(t, "Capitalize", e);
|
|
@@ -71932,11 +71937,11 @@ function m_t(t, e) {
|
|
|
71932
71937
|
return e.reduce((r, i) => A_t(r, i), t);
|
|
71933
71938
|
}
|
|
71934
71939
|
function g_t(t, e) {
|
|
71935
|
-
let r = V1(t, [
|
|
71940
|
+
let r = V1(t, [kl, "$id", "required", "properties"]), i = m_t(t.properties, e);
|
|
71936
71941
|
return _2(i, r);
|
|
71937
71942
|
}
|
|
71938
71943
|
function Xie(t, e) {
|
|
71939
|
-
return vh(t) ? L8(f_t(t.allOf, e)) : V2(t) ?
|
|
71944
|
+
return vh(t) ? L8(f_t(t.allOf, e)) : V2(t) ? hl(p_t(t.anyOf, e)) : ef(t) ? g_t(t, e) : _2({});
|
|
71940
71945
|
}
|
|
71941
71946
|
function Jie(t, e, r) {
|
|
71942
71947
|
if (B8(e)) return w_t(t, e, r);
|
|
@@ -71972,11 +71977,11 @@ function x_t(t) {
|
|
|
71972
71977
|
return e;
|
|
71973
71978
|
}
|
|
71974
71979
|
function b_t(t) {
|
|
71975
|
-
let e = V1(t, [
|
|
71980
|
+
let e = V1(t, [kl, "$id", "required", "properties"]), r = x_t(t.properties);
|
|
71976
71981
|
return _2(r, e);
|
|
71977
71982
|
}
|
|
71978
71983
|
function oSe(t) {
|
|
71979
|
-
return vh(t) ? L8(bhe(t.allOf)) : V2(t) ?
|
|
71984
|
+
return vh(t) ? L8(bhe(t.allOf)) : V2(t) ? hl(bhe(t.anyOf)) : ef(t) ? b_t(t) : _2({});
|
|
71980
71985
|
}
|
|
71981
71986
|
function aSe(t, e) {
|
|
71982
71987
|
return Qu(t) ? D_t(t, e) : Lr(Oe(Oe({}, oSe(t)), e));
|
|
@@ -72020,11 +72025,11 @@ function F_t(t, e) {
|
|
|
72020
72025
|
return r;
|
|
72021
72026
|
}
|
|
72022
72027
|
function L_t(t, e) {
|
|
72023
|
-
let r = V1(t, [
|
|
72028
|
+
let r = V1(t, [kl, "$id", "required", "properties"]), i = F_t(t.properties, e);
|
|
72024
72029
|
return _2(i, r);
|
|
72025
72030
|
}
|
|
72026
72031
|
function Kie(t, e) {
|
|
72027
|
-
return vh(t) ? L8(T_t(t.allOf, e)) : V2(t) ?
|
|
72032
|
+
return vh(t) ? L8(T_t(t.allOf, e)) : V2(t) ? hl(P_t(t.anyOf, e)) : ef(t) ? L_t(t, e) : _2({});
|
|
72028
72033
|
}
|
|
72029
72034
|
function qie(t, e, r) {
|
|
72030
72035
|
if (B8(e)) return z_t(t, e, r);
|
|
@@ -72062,7 +72067,7 @@ function U_t(t, e, r) {
|
|
|
72062
72067
|
return TDe(t) ? ene(R6(t), e, r) : k8(t.pattern, e, r);
|
|
72063
72068
|
}
|
|
72064
72069
|
function $_t(t, e, r) {
|
|
72065
|
-
return ene(R6(
|
|
72070
|
+
return ene(R6(hl(t)), e, r);
|
|
72066
72071
|
}
|
|
72067
72072
|
function j_t(t, e, r) {
|
|
72068
72073
|
return ene([t.toString()], e, r);
|
|
@@ -72118,11 +72123,11 @@ function ext(t) {
|
|
|
72118
72123
|
return e;
|
|
72119
72124
|
}
|
|
72120
72125
|
function txt(t) {
|
|
72121
|
-
let e = V1(t, [
|
|
72126
|
+
let e = V1(t, [kl, "$id", "required", "properties"]), r = ext(t.properties);
|
|
72122
72127
|
return _2(r, e);
|
|
72123
72128
|
}
|
|
72124
72129
|
function sSe(t) {
|
|
72125
|
-
return vh(t) ? L8(Ehe(t.allOf)) : V2(t) ?
|
|
72130
|
+
return vh(t) ? L8(Ehe(t.allOf)) : V2(t) ? hl(Ehe(t.anyOf)) : ef(t) ? txt(t) : _2({});
|
|
72126
72131
|
}
|
|
72127
72132
|
function lSe(t, e) {
|
|
72128
72133
|
return Qu(t) ? nxt(t, e) : Lr(Oe(Oe({}, sSe(t)), e));
|
|
@@ -72168,12 +72173,12 @@ var uxt = class {
|
|
|
72168
72173
|
this.schema = t, this.decode = e;
|
|
72169
72174
|
}
|
|
72170
72175
|
EncodeTransform(t, e) {
|
|
72171
|
-
let r = { Encode: (i) => e[
|
|
72172
|
-
return Lt(Oe({}, e), { [
|
|
72176
|
+
let r = { Encode: (i) => e[kl].Encode(t(i)), Decode: (i) => this.decode(e[kl].Decode(i)) };
|
|
72177
|
+
return Lt(Oe({}, e), { [kl]: r });
|
|
72173
72178
|
}
|
|
72174
72179
|
EncodeSchema(t, e) {
|
|
72175
72180
|
let r = { Decode: this.decode, Encode: t };
|
|
72176
|
-
return Lt(Oe({}, e), { [
|
|
72181
|
+
return Lt(Oe({}, e), { [kl]: r });
|
|
72177
72182
|
}
|
|
72178
72183
|
Encode(t) {
|
|
72179
72184
|
return Pie(this.schema) ? this.EncodeTransform(t, this.schema) : this.EncodeSchema(t, this.schema);
|
|
@@ -72193,7 +72198,7 @@ function dxt(t) {
|
|
|
72193
72198
|
}
|
|
72194
72199
|
R();
|
|
72195
72200
|
var cSe = {};
|
|
72196
|
-
|
|
72201
|
+
cl(cSe, { Any: () => qb, Array: () => DDe, AsyncIterator: () => SDe, Awaited: () => sCt, BigInt: () => Uie, Boolean: () => FDe, Capitalize: () => o_t, Composite: () => _Ct, Const: () => ECt, Constructor: () => IDe, ConstructorParameters: () => MCt, Date: () => QDe, Deref: () => rf, Enum: () => UCt, Exclude: () => Yie, Extends: () => Gie, Extract: () => Wie, Function: () => aN, Index: () => jie, InstanceType: () => Ywt, Integer: () => Wwt, Intersect: () => L8, Iterator: () => zDe, KeyOf: () => HDe, Literal: () => ys, Lowercase: () => a_t, Mapped: () => Yvt, Never: () => x0, Not: () => u_t, Null: () => ZDe, Number: () => wv, Object: () => _2, Omit: () => Jie, Optional: () => F8, Parameters: () => __t, Partial: () => aSe, Pick: () => qie, Promise: () => NDe, Readonly: () => P8, ReadonlyOptional: () => N_t, Record: () => W_t, Recursive: () => J_t, Ref: () => K_t, RegExp: () => q_t, Required: () => lSe, Rest: () => axt, ReturnType: () => sxt, Strict: () => lxt, String: () => h6, Symbol: () => GDe, TemplateLiteral: () => kDe, Transform: () => hxt, Tuple: () => PM, Uint8Array: () => WDe, Uncapitalize: () => s_t, Undefined: () => YDe, Union: () => hl, Unknown: () => FM, Unsafe: () => uSe, Uppercase: () => l_t, Void: () => dxt });
|
|
72197
72202
|
R();
|
|
72198
72203
|
var ne = cSe;
|
|
72199
72204
|
R();
|
|
@@ -74047,7 +74052,7 @@ var RSe = class extends $o {
|
|
|
74047
74052
|
};
|
|
74048
74053
|
function Pa(t, e, r) {
|
|
74049
74054
|
try {
|
|
74050
|
-
return Oa(t) ? t[
|
|
74055
|
+
return Oa(t) ? t[kl].Decode(r) : r;
|
|
74051
74056
|
} catch (i) {
|
|
74052
74057
|
throw new one(t, e, r, i);
|
|
74053
74058
|
}
|
|
@@ -74146,7 +74151,7 @@ var OSe = class extends $o {
|
|
|
74146
74151
|
};
|
|
74147
74152
|
function m0(t, e, r) {
|
|
74148
74153
|
try {
|
|
74149
|
-
return Oa(t) ? t[
|
|
74154
|
+
return Oa(t) ? t[kl].Encode(r) : r;
|
|
74150
74155
|
} catch (i) {
|
|
74151
74156
|
throw new sne(t, e, r, i);
|
|
74152
74157
|
}
|
|
@@ -74426,7 +74431,7 @@ function NSe(...t) {
|
|
|
74426
74431
|
R();
|
|
74427
74432
|
R();
|
|
74428
74433
|
var G4 = {};
|
|
74429
|
-
|
|
74434
|
+
cl(G4, { Delete: () => PDt, Format: () => UM, Get: () => LDt, Has: () => FDt, Set: () => TDt, ValuePointerRootDeleteError: () => $Se, ValuePointerRootSetError: () => USe });
|
|
74430
74435
|
R();
|
|
74431
74436
|
var USe = class extends $o {
|
|
74432
74437
|
constructor(t, e, r) {
|
|
@@ -74508,7 +74513,7 @@ function $M(t, e) {
|
|
|
74508
74513
|
if (K3(t)) return NDt(t, e);
|
|
74509
74514
|
throw new Error("ValueEquals: Unable to compare value");
|
|
74510
74515
|
}
|
|
74511
|
-
var UDt = _2({ type: ys("insert"), path: h6(), value: FM() }), $Dt = _2({ type: ys("update"), path: h6(), value: FM() }), jDt = _2({ type: ys("delete"), path: h6() }), VDt =
|
|
74516
|
+
var UDt = _2({ type: ys("insert"), path: h6(), value: FM() }), $Dt = _2({ type: ys("update"), path: h6(), value: FM() }), jDt = _2({ type: ys("delete"), path: h6() }), VDt = hl([UDt, $Dt, jDt]), jSe = class extends $o {
|
|
74512
74517
|
constructor(t, e) {
|
|
74513
74518
|
super(e), this.value = t;
|
|
74514
74519
|
}
|
|
@@ -74643,7 +74648,7 @@ function aSt(...t) {
|
|
|
74643
74648
|
}
|
|
74644
74649
|
R();
|
|
74645
74650
|
var My = {};
|
|
74646
|
-
|
|
74651
|
+
cl(My, { Assert: () => DSe, Cast: () => BSe, Check: () => Uo, Clean: () => TSe, Clone: () => ca, Convert: () => kSe, Create: () => Od, Decode: () => wDt, Default: () => NSe, Diff: () => YDt, Edit: () => VDt, Encode: () => KDt, Equal: () => $M, Errors: () => RM, Hash: () => hN, Mutate: () => nSt, Parse: () => aSt, Patch: () => JDt, ValueErrorIterator: () => Sv });
|
|
74647
74652
|
R();
|
|
74648
74653
|
R();
|
|
74649
74654
|
var Fhe = {}, sSt = function(t, e, r, i, n) {
|
|
@@ -75387,7 +75392,7 @@ function bIe() {
|
|
|
75387
75392
|
}
|
|
75388
75393
|
function Fa(t, e, r) {
|
|
75389
75394
|
try {
|
|
75390
|
-
return tt.IsTransform(t) ? t[
|
|
75395
|
+
return tt.IsTransform(t) ? t[kl].Decode(r) : r;
|
|
75391
75396
|
} catch (i) {
|
|
75392
75397
|
throw new one(t, e, r, i);
|
|
75393
75398
|
}
|
|
@@ -75479,7 +75484,7 @@ function nIt(t, e, r) {
|
|
|
75479
75484
|
R();
|
|
75480
75485
|
function g0(t, e, r) {
|
|
75481
75486
|
try {
|
|
75482
|
-
return tt.IsTransform(t) ? t[
|
|
75487
|
+
return tt.IsTransform(t) ? t[kl].Encode(r) : r;
|
|
75483
75488
|
} catch (i) {
|
|
75484
75489
|
throw new sne(t, e, r, i);
|
|
75485
75490
|
}
|
|
@@ -78272,7 +78277,7 @@ var BFt = /^https:\/\/cdn\.mappedin\.com\/category-symbols\/.+$/, TFt = /^https:
|
|
|
78272
78277
|
return { origin: r + i, mapId: n, fileName: o, fileType: a };
|
|
78273
78278
|
};
|
|
78274
78279
|
function MTe(t) {
|
|
78275
|
-
return t.reduce((e, r, i) => i === 0 ? e : e +
|
|
78280
|
+
return t.reduce((e, r, i) => i === 0 ? e : e + J0(t[i - 1].toGeoJSON().coordinates, r.toGeoJSON().coordinates), 0);
|
|
78276
78281
|
}
|
|
78277
78282
|
function EN(t) {
|
|
78278
78283
|
return t != null && typeof t == "object" && "__type" in t && t.__type !== null && typeof t.__type == "string";
|
|
@@ -78407,7 +78412,7 @@ var MT, r9, Mw, Dw, ITe = class DT extends O8 {
|
|
|
78407
78412
|
}
|
|
78408
78413
|
};
|
|
78409
78414
|
MT = /* @__PURE__ */ new WeakMap(), r9 = /* @__PURE__ */ new WeakMap(), Mw = /* @__PURE__ */ new WeakMap(), Dw = /* @__PURE__ */ new WeakMap(), L(ITe, "__type", "area");
|
|
78410
|
-
var zFt = ITe,
|
|
78415
|
+
var zFt = ITe, q0 = zFt;
|
|
78411
78416
|
R();
|
|
78412
78417
|
var i9, kp, n9, pA, BTe = class ST extends O8 {
|
|
78413
78418
|
constructor(e, r) {
|
|
@@ -78618,7 +78623,7 @@ R();
|
|
|
78618
78623
|
R();
|
|
78619
78624
|
function lE(t) {
|
|
78620
78625
|
let e;
|
|
78621
|
-
if (r2.is(t) || Zu.is(t) || jd.is(t) ||
|
|
78626
|
+
if (r2.is(t) || Zu.is(t) || jd.is(t) || q0.is(t) || rl.is(t)) e = t.center;
|
|
78622
78627
|
else if (Yl.is(t) || gs.is(t)) e = t.coordinate;
|
|
78623
78628
|
else if (zt.is(t)) e = t;
|
|
78624
78629
|
else if (f6.is(t)) e = t.coordinate;
|
|
@@ -78941,7 +78946,7 @@ var Lw, d9, kw, Df, zTe = class UT extends MN {
|
|
|
78941
78946
|
}
|
|
78942
78947
|
};
|
|
78943
78948
|
Lw = /* @__PURE__ */ new WeakMap(), d9 = /* @__PURE__ */ new WeakMap(), kw = /* @__PURE__ */ new WeakMap(), Df = /* @__PURE__ */ new WeakMap(), L(zTe, "__type", "facade");
|
|
78944
|
-
var sLt = zTe,
|
|
78949
|
+
var sLt = zTe, rl = sLt;
|
|
78945
78950
|
R();
|
|
78946
78951
|
var lLt = /* @__PURE__ */ new Set(["wall", "area"]), uLt = /* @__PURE__ */ new Set(["void", "desk-entrance"]), cLt = (t) => {
|
|
78947
78952
|
var e;
|
|
@@ -79022,7 +79027,7 @@ var lLt = /* @__PURE__ */ new Set(["wall", "area"]), uLt = /* @__PURE__ */ new S
|
|
|
79022
79027
|
if (l != null) for (let u of l) {
|
|
79023
79028
|
let c = (r = t.facade) == null ? void 0 : r[u.id], h = new YM(e, { mvfData: u, facadeId: c == null ? void 0 : c.id });
|
|
79024
79029
|
if (i[u.id] = h, u.externalId && (n[u.externalId] == null && (n[u.externalId] = []), n[u.externalId].push(h)), o[u.id] = u, c) {
|
|
79025
|
-
let d = new
|
|
79030
|
+
let d = new rl(e, { mvfData: c, floorStackId: u.id });
|
|
79026
79031
|
a[c.id] = d;
|
|
79027
79032
|
for (let f of c.spaces) s[f.spaceId] = d;
|
|
79028
79033
|
}
|
|
@@ -79117,7 +79122,7 @@ var lLt = /* @__PURE__ */ new Set(["wall", "area"]), uLt = /* @__PURE__ */ new S
|
|
|
79117
79122
|
let s = t.area[a];
|
|
79118
79123
|
if (s != null) for (let l of s.features) {
|
|
79119
79124
|
n[l.properties.id] = l;
|
|
79120
|
-
let u = new
|
|
79125
|
+
let u = new q0(e, { floorId: a, mvfData: l });
|
|
79121
79126
|
r[l.properties.id] = u, l.properties.externalId && (i[l.properties.externalId] == null && (i[l.properties.externalId] = []), i[l.properties.externalId].push(u));
|
|
79122
79127
|
}
|
|
79123
79128
|
}
|
|
@@ -79258,9 +79263,9 @@ var ILt = /* @__PURE__ */ new Set(["polygons"]), r1, zn, c2, $T, NTe = class jT
|
|
|
79258
79263
|
r1 = /* @__PURE__ */ new WeakMap(), zn = /* @__PURE__ */ new WeakMap(), c2 = /* @__PURE__ */ new WeakMap(), $T = /* @__PURE__ */ new WeakMap(), L(NTe, "__type", "enterprise-location");
|
|
79259
79264
|
var BLt = NTe, th = BLt;
|
|
79260
79265
|
R();
|
|
79261
|
-
var TLt = /* @__PURE__ */ new Set(), f9,
|
|
79266
|
+
var TLt = /* @__PURE__ */ new Set(), f9, ml, Sf, UTe = class VT extends z6 {
|
|
79262
79267
|
constructor(e, r) {
|
|
79263
|
-
super(r.mvfData.externalId), L(this, "__type", VT.__type), L(this, "name", ""), L(this, "color"), L(this, "externalId", ""), L(this, "extra"), L(this, "icon"), L(this, "iconFromDefaultList"), L(this, "sortOrder", -1), L(this, "picture"), Ie(this, f9), Ie(this,
|
|
79268
|
+
super(r.mvfData.externalId), L(this, "__type", VT.__type), L(this, "name", ""), L(this, "color"), L(this, "externalId", ""), L(this, "extra"), L(this, "icon"), L(this, "iconFromDefaultList"), L(this, "sortOrder", -1), L(this, "picture"), Ie(this, f9), Ie(this, ml, {}), Ie(this, Sf), Qe(this, f9, e), Qe(this, Sf, r.mvfData);
|
|
79264
79269
|
for (let i in r.mvfData) !TLt.has(i) && !Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this), i) && Object.defineProperty(this, i, { get() {
|
|
79265
79270
|
return w(this, f9).getPropTranslation(this.__type, i, w(this, Sf).id, w(this, Sf)[i]);
|
|
79266
79271
|
} });
|
|
@@ -79269,31 +79274,31 @@ var TLt = /* @__PURE__ */ new Set(), f9, Al, Sf, UTe = class VT extends z6 {
|
|
|
79269
79274
|
return e.__type === VT.__type;
|
|
79270
79275
|
}
|
|
79271
79276
|
get children() {
|
|
79272
|
-
if (w(this,
|
|
79273
|
-
w(this,
|
|
79277
|
+
if (w(this, ml).children) return w(this, ml).children;
|
|
79278
|
+
w(this, ml).children = [];
|
|
79274
79279
|
for (let e = 0; e < w(this, Sf).children.length; e++) {
|
|
79275
79280
|
let r = w(this, f9).getById("enterprise-category", w(this, Sf).children[e]);
|
|
79276
|
-
r && w(this,
|
|
79281
|
+
r && w(this, ml).children.push(r);
|
|
79277
79282
|
}
|
|
79278
|
-
return w(this,
|
|
79283
|
+
return w(this, ml).children;
|
|
79279
79284
|
}
|
|
79280
79285
|
get locations() {
|
|
79281
|
-
if (w(this,
|
|
79282
|
-
w(this,
|
|
79286
|
+
if (w(this, ml).locations) return w(this, ml).locations;
|
|
79287
|
+
w(this, ml).locations = [];
|
|
79283
79288
|
for (let e = 0; e < w(this, Sf).locations.length; e++) {
|
|
79284
79289
|
let r = w(this, f9).getById("enterprise-location", w(this, Sf).locations[e]);
|
|
79285
|
-
r && w(this,
|
|
79290
|
+
r && w(this, ml).locations.push(r);
|
|
79286
79291
|
}
|
|
79287
|
-
return w(this,
|
|
79292
|
+
return w(this, ml).locations;
|
|
79288
79293
|
}
|
|
79289
79294
|
toJSON() {
|
|
79290
79295
|
return { __type: VT.__type, id: this.id, name: this.name };
|
|
79291
79296
|
}
|
|
79292
79297
|
destroy() {
|
|
79293
|
-
for (let e of Object.keys(w(this,
|
|
79298
|
+
for (let e of Object.keys(w(this, ml))) delete w(this, ml)[e];
|
|
79294
79299
|
}
|
|
79295
79300
|
};
|
|
79296
|
-
f9 = /* @__PURE__ */ new WeakMap(),
|
|
79301
|
+
f9 = /* @__PURE__ */ new WeakMap(), ml = /* @__PURE__ */ new WeakMap(), Sf = /* @__PURE__ */ new WeakMap(), L(UTe, "__type", "enterprise-category");
|
|
79297
79302
|
var PLt = UTe, _x = PLt;
|
|
79298
79303
|
R();
|
|
79299
79304
|
var FLt = /* @__PURE__ */ new Set(), HT, p9, $Te = class QT extends z6 {
|
|
@@ -79377,7 +79382,7 @@ R();
|
|
|
79377
79382
|
function $Lt(t, e, r, i, n) {
|
|
79378
79383
|
if (t === void 0) return !1;
|
|
79379
79384
|
if (typeof t == "boolean") return t;
|
|
79380
|
-
let o =
|
|
79385
|
+
let o = J0(i, n), a = Math.abs(r - e);
|
|
79381
79386
|
return pG(Math.atan2(a, o)) >= t;
|
|
79382
79387
|
}
|
|
79383
79388
|
function jLt(t) {
|
|
@@ -79531,9 +79536,9 @@ function KLt(t) {
|
|
|
79531
79536
|
for (let r of t.geometry.coordinates) e.push([r[0]]);
|
|
79532
79537
|
return { type: "Feature", geometry: { type: "MultiPolygon", coordinates: e }, properties: t.properties };
|
|
79533
79538
|
}
|
|
79534
|
-
var mde = Math.PI * 0.1,
|
|
79539
|
+
var mde = Math.PI * 0.1, gl, hu, i1, Rp, A9, Rw, Hf, VTe, h7, gde, HTe = class {
|
|
79535
79540
|
constructor(t, e, r, i, n) {
|
|
79536
|
-
Ie(this, Hf), L(this, "id"), Ie(this,
|
|
79541
|
+
Ie(this, Hf), L(this, "id"), Ie(this, gl, {}), Ie(this, hu), Ie(this, i1), L(this, "departure"), L(this, "destination"), Ie(this, Rp), Ie(this, A9), Ie(this, Rw);
|
|
79537
79542
|
var o;
|
|
79538
79543
|
this.id = (o = n == null ? void 0 : n.id) != null ? o : Zo(), Qe(this, hu, e), Qe(this, i1, t.features), this.departure = r, this.destination = i;
|
|
79539
79544
|
}
|
|
@@ -79541,27 +79546,27 @@ var mde = Math.PI * 0.1, ml, hu, i1, Rp, A9, Rw, Hf, VTe, h7, gde, HTe = class {
|
|
|
79541
79546
|
return w(this, i1).map((t) => w(this, hu).getById("node", t.properties.id)).filter(Boolean);
|
|
79542
79547
|
}
|
|
79543
79548
|
get coordinates() {
|
|
79544
|
-
return w(this,
|
|
79549
|
+
return w(this, gl).coordinates ? w(this, gl).coordinates : (w(this, gl).coordinates = w(this, i1).map((t) => new zt(t.geometry.coordinates[1], t.geometry.coordinates[0], t.properties.groupBy)), w(this, gl).coordinates);
|
|
79545
79550
|
}
|
|
79546
79551
|
get distance() {
|
|
79547
|
-
return w(this,
|
|
79552
|
+
return w(this, gl).distance ? w(this, gl).distance : (w(this, gl).distance = w(this, i1).reduce((t, e) => t + (e.properties.distance || 0), 0), w(this, gl).distance);
|
|
79548
79553
|
}
|
|
79549
79554
|
get instructions() {
|
|
79550
79555
|
if (w(this, i1).length < 2) return [];
|
|
79551
|
-
if (w(this,
|
|
79556
|
+
if (w(this, gl).instructions) return w(this, gl).instructions;
|
|
79552
79557
|
let t = [], e = 0;
|
|
79553
79558
|
for (let r = 0; r < w(this, i1).length; r++) {
|
|
79554
79559
|
let i = w(this, i1)[r], n = w(this, i1)[r - 1], o = w(this, i1)[r + 1], a = new zt(i.geometry.coordinates[1], i.geometry.coordinates[0], i.properties.groupBy), s = $t(this, Hf, VTe).call(this, { prevDirection: n, direction: i, nextDirection: o });
|
|
79555
79560
|
e += (n == null ? void 0 : n.properties.distance) || 0;
|
|
79556
79561
|
for (let l of s) l && (t.push({ action: l, distance: e, coordinate: a, node: w(this, hu).getById("node", i.properties.id) }), e = 0);
|
|
79557
79562
|
}
|
|
79558
|
-
return w(this,
|
|
79563
|
+
return w(this, gl).instructions = t, w(this, gl).instructions;
|
|
79559
79564
|
}
|
|
79560
79565
|
toJSON() {
|
|
79561
79566
|
return { id: this.id, directions: w(this, i1), __type: "directions", from: this.departure, to: this.destination, coordinates: this.coordinates, distance: this.distance, instructions: this.instructions };
|
|
79562
79567
|
}
|
|
79563
79568
|
};
|
|
79564
|
-
|
|
79569
|
+
gl = /* @__PURE__ */ new WeakMap(), hu = /* @__PURE__ */ new WeakMap(), i1 = /* @__PURE__ */ new WeakMap(), Rp = /* @__PURE__ */ new WeakMap(), A9 = /* @__PURE__ */ new WeakMap(), Rw = /* @__PURE__ */ new WeakMap(), Hf = /* @__PURE__ */ new WeakSet(), VTe = function(t) {
|
|
79565
79570
|
var e, r;
|
|
79566
79571
|
let { prevDirection: i, direction: n, nextDirection: o } = t, a = i && w(this, hu).getById("floor", i.properties.groupBy), s = w(this, hu).getById("floor", n.properties.groupBy), l = o && w(this, hu).getById("floor", o.properties.groupBy), u = [];
|
|
79567
79572
|
i || u.push({ type: "Departure" });
|
|
@@ -79744,7 +79749,7 @@ m9 = /* @__PURE__ */ new WeakMap(), Fh = /* @__PURE__ */ new WeakSet(), AW = fun
|
|
|
79744
79749
|
t.forEach((i) => {
|
|
79745
79750
|
let n = e === "default" ? e : i.properties[e];
|
|
79746
79751
|
this.nodesByGroup.has(n) || this.nodesByGroup.set(n, []), this.nodesByGroup.get(n).push(i), this.edges[i.properties.id] = i.properties.neighbors.map(({ id: o, weight: a }) => {
|
|
79747
|
-
let s = this.nodesById[o], l =
|
|
79752
|
+
let s = this.nodesById[o], l = J0(i.geometry.coordinates, s.geometry.coordinates), u = rh(i.geometry.coordinates, s.geometry.coordinates);
|
|
79748
79753
|
return new p6({ origin: i, destination: s, pathWeight: a, distance: l, angle: u, multiplicativeDistanceWeightScaling: r == null ? void 0 : r.multiplicativeDistanceWeightScaling });
|
|
79749
79754
|
});
|
|
79750
79755
|
});
|
|
@@ -79764,7 +79769,7 @@ m9 = /* @__PURE__ */ new WeakMap(), Fh = /* @__PURE__ */ new WeakSet(), AW = fun
|
|
|
79764
79769
|
R();
|
|
79765
79770
|
function rkt(t, e, r, i) {
|
|
79766
79771
|
let n = r[t].origin, o = e === r.length ? i : r[e].origin;
|
|
79767
|
-
return
|
|
79772
|
+
return J0(n.geometry.coordinates, o.geometry.coordinates);
|
|
79768
79773
|
}
|
|
79769
79774
|
function ikt(t, e, r, i = Une) {
|
|
79770
79775
|
if (t.length < 3) return t;
|
|
@@ -79777,7 +79782,7 @@ function ikt(t, e, r, i = Une) {
|
|
|
79777
79782
|
if (l[d].cost !== 1 / 0) {
|
|
79778
79783
|
for (let p = d + 1; p <= o; p++) {
|
|
79779
79784
|
let m = p === o ? s : t[p].origin;
|
|
79780
|
-
if (
|
|
79785
|
+
if (J0(t[d].origin.geometry.coordinates, m.geometry.coordinates) < 0.01) continue;
|
|
79781
79786
|
let A = p === d + 1 && p < o && a.has(p), g = p === d + 1 && a.has(d);
|
|
79782
79787
|
if (!A && !g && !s8(t[d].origin, m, e, i)) continue;
|
|
79783
79788
|
if (p > d + 1) {
|
|
@@ -79799,7 +79804,7 @@ function ikt(t, e, r, i = Une) {
|
|
|
79799
79804
|
let h = [];
|
|
79800
79805
|
for (let d = 0; d < u.length - 1; d++) {
|
|
79801
79806
|
let f = u[d], p = u[d + 1], m = t[f].origin, A = p === o ? s : t[p].origin;
|
|
79802
|
-
h.push(new p6({ origin: m, destination: A, distance:
|
|
79807
|
+
h.push(new p6({ origin: m, destination: A, distance: J0(m.geometry.coordinates, A.geometry.coordinates), angle: rh(m.geometry.coordinates, A.geometry.coordinates), multiplicativeDistanceWeightScaling: r }));
|
|
79803
79808
|
}
|
|
79804
79809
|
return h;
|
|
79805
79810
|
}
|
|
@@ -79948,12 +79953,12 @@ function lkt(t, e, r, i) {
|
|
|
79948
79953
|
let x = [];
|
|
79949
79954
|
for (let b = 0; b < y.length - 1; b++) {
|
|
79950
79955
|
let D = y[b], T = y[b + 1], I = a.get(D.nodeId), F = a.get(T.nodeId);
|
|
79951
|
-
I && F ? x.push(new p6({ origin: I, destination: F, distance:
|
|
79956
|
+
I && F ? x.push(new p6({ origin: I, destination: F, distance: J0(I.geometry.coordinates, F.geometry.coordinates), angle: rh(I.geometry.coordinates, F.geometry.coordinates), multiplicativeDistanceWeightScaling: r })) : okt.warn("Origin or destination node not found for point ".concat(D.nodeId, " or ").concat(T.nodeId));
|
|
79952
79957
|
}
|
|
79953
79958
|
return x;
|
|
79954
79959
|
}
|
|
79955
79960
|
function K2(t, e) {
|
|
79956
|
-
return new p6({ origin: t, destination: e, distance:
|
|
79961
|
+
return new p6({ origin: t, destination: e, distance: J0(t.geometry.coordinates, e.geometry.coordinates), angle: rh(t.geometry.coordinates, e.geometry.coordinates) });
|
|
79957
79962
|
}
|
|
79958
79963
|
function ukt(t, e, r, i = !0) {
|
|
79959
79964
|
if (t.length < 3) return t;
|
|
@@ -80004,9 +80009,9 @@ function ckt(t, e, r = 0.2, i = {}, n) {
|
|
|
80004
80009
|
let u = [t[0]], c = 1;
|
|
80005
80010
|
for (let h = c + 2; h < t.length; h++) if ("outdoors" in i && JTe((l = (s = (a = (o = t[c]) == null ? void 0 : o.origin) == null ? void 0 : a.properties) == null ? void 0 : s.flags) != null ? l : [], i.outdoors.index, i.outdoors.bit) || t[c].origin.properties.preventSmoothing || !s8(t[c].origin, t[h].origin, e, r)) {
|
|
80006
80011
|
let d = h - 1;
|
|
80007
|
-
u.push(new p6(Lt(Oe({}, t[c]), { destination: t[d].origin, distance:
|
|
80012
|
+
u.push(new p6(Lt(Oe({}, t[c]), { destination: t[d].origin, distance: J0(t[c].origin.geometry.coordinates, t[d].origin.geometry.coordinates), angle: rh(t[c].origin.geometry.coordinates, t[d].origin.geometry.coordinates) }))), c = d;
|
|
80008
80013
|
}
|
|
80009
|
-
return u.push(new p6(Lt(Oe({}, t[c]), { destination: t[t.length - 1].origin, distance:
|
|
80014
|
+
return u.push(new p6(Lt(Oe({}, t[c]), { destination: t[t.length - 1].origin, distance: J0(t[c].origin.geometry.coordinates, t[t.length - 1].origin.geometry.coordinates), angle: rh(t[c].origin.geometry.coordinates, t[t.length - 1].origin.geometry.coordinates), multiplicativeDistanceWeightScaling: n })), t[t.length - 1]), u;
|
|
80010
80015
|
}
|
|
80011
80016
|
R();
|
|
80012
80017
|
var hkt = Fr(sMe());
|
|
@@ -80065,7 +80070,7 @@ var fkt = class {
|
|
|
80065
80070
|
}), L(this, "findNearestNodesOnGraph", (s, l, u, c, h = !1, d = 1 / 0) => {
|
|
80066
80071
|
var f;
|
|
80067
80072
|
return this.graph.dijkstraFindWithinTravelDistance(s, l, c, (f = this.geometryEdgesByMapId.get(u)) != null ? f : [], h, d);
|
|
80068
|
-
}), L(this, "hasLineOfSight", (s, l, u, c) => this.graph.hasLineOfSight(s, l, this.geometryEdgesByMapId.get(u), c)), L(this, "getDistance", (s, l) =>
|
|
80073
|
+
}), L(this, "hasLineOfSight", (s, l, u, c) => this.graph.hasLineOfSight(s, l, this.geometryEdgesByMapId.get(u), c)), L(this, "getDistance", (s, l) => J0(s, l)), L(this, "getAngle", (s, l) => rh(s, l)), this.groupBy = r, this.graph = new tkt({ nodes: t, groupBy: this.groupBy, multiplicativeDistanceWeightScaling: i });
|
|
80069
80074
|
let a = (e == null ? void 0 : e.features) || [];
|
|
80070
80075
|
this.flagDeclarations = n ?? {}, this.getDoorByNodeId = o, this.disabledNodeIds = this.getDisabledNodeIds(), a.forEach((s) => {
|
|
80071
80076
|
let l = null;
|
|
@@ -80087,7 +80092,7 @@ var fkt = class {
|
|
|
80087
80092
|
let c = (u = a == null ? void 0 : a.enabled) != null ? u : !0, h = t ?? [], d = this.graph.aStar({ originIds: e, destinationNodeIds: n, zones: h, disabledConnectionNodeIds: new Set(o), overrideEdgeWeights: l, disabledNodeIds: this.disabledNodeIds });
|
|
80088
80093
|
if (d.length === 0) return { type: "FeatureCollection", features: [] };
|
|
80089
80094
|
if ((a == null ? void 0 : a.__EXPERIMENTAL_METHOD) !== "greedy-los" && r && i && r.length > 0 && i.length > 0) {
|
|
80090
|
-
let f = new p6({ origin: r[0], destination: d[0].origin, distance:
|
|
80095
|
+
let f = new p6({ origin: r[0], destination: d[0].origin, distance: J0(r[0].geometry.coordinates, d[0].origin.geometry.coordinates), angle: rh(r[0].geometry.coordinates, d[0].origin.geometry.coordinates), multiplicativeDistanceWeightScaling: s }), p = d.slice(), m = new p6({ origin: d[d.length - 1].destination, destination: i[0], distance: J0(d[d.length - 1].destination.geometry.coordinates, i[0].geometry.coordinates), angle: rh(d[d.length - 1].destination.geometry.coordinates, i[0].geometry.coordinates), multiplicativeDistanceWeightScaling: s });
|
|
80091
80096
|
p.unshift(f), p.push(m), d = p;
|
|
80092
80097
|
}
|
|
80093
80098
|
return c && (d = this.simplifyAllSteps(d, a, s)), this.generatePath(d);
|
|
@@ -80215,7 +80220,7 @@ function eR(t, e, r) {
|
|
|
80215
80220
|
if (Zu.is(t)) {
|
|
80216
80221
|
let i = qTe(t, e);
|
|
80217
80222
|
return Ho.set(t, i), i;
|
|
80218
|
-
} else if (
|
|
80223
|
+
} else if (q0.is(t)) {
|
|
80219
80224
|
let i = ePe(t, e);
|
|
80220
80225
|
return Ho.set(t, i), i;
|
|
80221
80226
|
} else if (r2.is(t)) {
|
|
@@ -80227,7 +80232,7 @@ function eR(t, e, r) {
|
|
|
80227
80232
|
} else if (jd.is(t)) {
|
|
80228
80233
|
let i = rPe(t, e);
|
|
80229
80234
|
return Ho.set(t, i), i;
|
|
80230
|
-
} else if (
|
|
80235
|
+
} else if (rl.is(t)) {
|
|
80231
80236
|
let i = iPe(t, e);
|
|
80232
80237
|
return Ho.set(t, i), i;
|
|
80233
80238
|
} else if (th.is(t)) {
|
|
@@ -80256,7 +80261,7 @@ async function tR(t, e, r) {
|
|
|
80256
80261
|
} else if (Zu.is(t)) {
|
|
80257
80262
|
let i = qTe(t, e);
|
|
80258
80263
|
return Ho.set(t, i), i;
|
|
80259
|
-
} else if (
|
|
80264
|
+
} else if (q0.is(t)) {
|
|
80260
80265
|
let i = ePe(t, e);
|
|
80261
80266
|
return Ho.set(t, i), i;
|
|
80262
80267
|
} else if (r2.is(t)) {
|
|
@@ -80269,7 +80274,7 @@ async function tR(t, e, r) {
|
|
|
80269
80274
|
let i = rPe(t, e);
|
|
80270
80275
|
return Ho.set(t, i), i;
|
|
80271
80276
|
} else {
|
|
80272
|
-
if (
|
|
80277
|
+
if (rl.is(t)) return iPe(t, e);
|
|
80273
80278
|
if (th.is(t)) {
|
|
80274
80279
|
let i = nPe(t);
|
|
80275
80280
|
return Ho.set(t, i), i;
|
|
@@ -80383,9 +80388,9 @@ var WT, gW, wkt = class {
|
|
|
80383
80388
|
WT = /* @__PURE__ */ new WeakMap(), gW = /* @__PURE__ */ new WeakMap();
|
|
80384
80389
|
function _kt(t) {
|
|
80385
80390
|
if (zt.is(t)) return t.floorId;
|
|
80386
|
-
if (r2.is(t) || Zu.is(t) || Yl.is(t) || gs.is(t) || jd.is(t) ||
|
|
80391
|
+
if (r2.is(t) || Zu.is(t) || Yl.is(t) || gs.is(t) || jd.is(t) || q0.is(t) || f6.is(t)) return t.floor.id;
|
|
80387
80392
|
if ((Os.is(t) || th.is(t)) && t.coordinates.length > 0) return t.coordinates[0].floorId;
|
|
80388
|
-
if (
|
|
80393
|
+
if (rl.is(t) && t.spaces.length > 0) return t.spaces[0].floor.id;
|
|
80389
80394
|
}
|
|
80390
80395
|
function _de(t) {
|
|
80391
80396
|
return t.reduce((e, r) => {
|
|
@@ -80557,28 +80562,28 @@ function xde(t) {
|
|
|
80557
80562
|
for (var e = { data: t.data }, r = e; t = t.next; ) r = r.next = { data: t.data };
|
|
80558
80563
|
return e;
|
|
80559
80564
|
}
|
|
80560
|
-
var
|
|
80561
|
-
|
|
80565
|
+
var dl = aPe.prototype = $ne.prototype;
|
|
80566
|
+
dl.copy = function() {
|
|
80562
80567
|
var t = new $ne(this._x, this._y, this._x0, this._y0, this._x1, this._y1), e = this._root, r, i;
|
|
80563
80568
|
if (!e) return t;
|
|
80564
80569
|
if (!e.length) return t._root = xde(e), t;
|
|
80565
80570
|
for (r = [{ source: e, target: t._root = new Array(4) }]; e = r.pop(); ) for (var n = 0; n < 4; ++n) (i = e.source[n]) && (i.length ? r.push({ source: i, target: e.target[n] = new Array(4) }) : e.target[n] = xde(i));
|
|
80566
80571
|
return t;
|
|
80567
80572
|
};
|
|
80568
|
-
|
|
80569
|
-
|
|
80570
|
-
|
|
80571
|
-
|
|
80572
|
-
|
|
80573
|
-
|
|
80574
|
-
|
|
80575
|
-
|
|
80576
|
-
|
|
80577
|
-
|
|
80578
|
-
|
|
80579
|
-
|
|
80580
|
-
|
|
80581
|
-
|
|
80573
|
+
dl.add = xkt;
|
|
80574
|
+
dl.addAll = bkt;
|
|
80575
|
+
dl.cover = Ekt;
|
|
80576
|
+
dl.data = Mkt;
|
|
80577
|
+
dl.extent = Dkt;
|
|
80578
|
+
dl.find = Skt;
|
|
80579
|
+
dl.remove = Ikt;
|
|
80580
|
+
dl.removeAll = Bkt;
|
|
80581
|
+
dl.root = Tkt;
|
|
80582
|
+
dl.size = Pkt;
|
|
80583
|
+
dl.visit = Fkt;
|
|
80584
|
+
dl.visitAfter = Lkt;
|
|
80585
|
+
dl.x = Rkt;
|
|
80586
|
+
dl.y = zkt;
|
|
80582
80587
|
R();
|
|
80583
80588
|
function sPe(t, e, r, i = 0, n = 0, o = 0, a = 0) {
|
|
80584
80589
|
if (r === void 0) {
|
|
@@ -80671,7 +80676,7 @@ Lh = /* @__PURE__ */ new WeakMap(), XT = /* @__PURE__ */ new WeakMap(), yW = /*
|
|
|
80671
80676
|
let v = f.data, C = v.properties.parentId || v.properties.id;
|
|
80672
80677
|
if (r.includes(C) && !o.has(C)) {
|
|
80673
80678
|
o.add(C);
|
|
80674
|
-
let E =
|
|
80679
|
+
let E = J0(t, v.geometry.coordinates);
|
|
80675
80680
|
E <= n && d.push({ node: v, distance: E });
|
|
80676
80681
|
}
|
|
80677
80682
|
}
|
|
@@ -80785,13 +80790,13 @@ var qT, Hkt = class {
|
|
|
80785
80790
|
}
|
|
80786
80791
|
};
|
|
80787
80792
|
qT = /* @__PURE__ */ new WeakMap();
|
|
80788
|
-
var
|
|
80793
|
+
var yl, Er, ta, zw, uPe = class eP extends z6 {
|
|
80789
80794
|
constructor(e, r) {
|
|
80790
|
-
super(r.mvf2Data.id), L(this, "__type", eP.__type), L(this, "id", "loc_"), L(this, "name", ""), L(this, "externalId"), L(this, "description"), L(this, "logo"), L(this, "logoImage"), L(this, "phone"), L(this, "social", []), L(this, "images", []), L(this, "links", []), L(this, "website"), L(this, "icon"), L(this, "extra"), Ie(this,
|
|
80795
|
+
super(r.mvf2Data.id), L(this, "__type", eP.__type), L(this, "id", "loc_"), L(this, "name", ""), L(this, "externalId"), L(this, "description"), L(this, "logo"), L(this, "logoImage"), L(this, "phone"), L(this, "social", []), L(this, "images", []), L(this, "links", []), L(this, "website"), L(this, "icon"), L(this, "extra"), Ie(this, yl), Ie(this, Er, {}), Ie(this, ta), Ie(this, zw), Qe(this, yl, e), Qe(this, ta, r.mvf2Data), Qe(this, zw, r.mvf3Data);
|
|
80791
80796
|
for (let i in r.mvf2Data) i === "links" ? this.links = r.mvf2Data.links.map((n) => new uW({ mvfData: n })) : i === "pictures" ? this.images = r.mvf2Data.pictures.map((n) => {
|
|
80792
80797
|
var o;
|
|
80793
|
-
return n.url ? new Cx({ mvfData: Lt(Oe({}, n), { url: (o = n.url) != null ? o : "" }), mapData: w(this,
|
|
80794
|
-
}).filter((n) => n != null) : i === "website" ? r.mvf2Data.website && (this.website = new uW({ mvfData: r.mvf2Data.website })) : i === "icon" ? r.mvf2Data.icon && (this.icon = new Cx({ mvfData: { url: r.mvf2Data.icon }, mapData: w(this,
|
|
80798
|
+
return n.url ? new Cx({ mvfData: Lt(Oe({}, n), { url: (o = n.url) != null ? o : "" }), mapData: w(this, yl) }) : void 0;
|
|
80799
|
+
}).filter((n) => n != null) : i === "website" ? r.mvf2Data.website && (this.website = new uW({ mvfData: r.mvf2Data.website })) : i === "icon" ? r.mvf2Data.icon && (this.icon = new Cx({ mvfData: { url: r.mvf2Data.icon }, mapData: w(this, yl) })) : i === "logo" ? r.mvf2Data.logo && (this.logoImage = new Cx({ mvfData: { url: r.mvf2Data.logo }, mapData: w(this, yl) }), Object.defineProperty(this, "logo", { get() {
|
|
80795
80800
|
var n;
|
|
80796
80801
|
return (n = this.logoImage) == null ? void 0 : n.url;
|
|
80797
80802
|
} })) : Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this), i) || Object.defineProperty(this, i, { enumerable: !0, get() {
|
|
@@ -80807,7 +80812,7 @@ var gl, Er, ta, zw, uPe = class eP extends z6 {
|
|
|
80807
80812
|
if (w(this, ta).spaces == null) return w(this, Er).spaces = [], w(this, Er).spaces;
|
|
80808
80813
|
w(this, Er).spaces = [];
|
|
80809
80814
|
for (let e = 0; e < w(this, ta).spaces.length; e++) {
|
|
80810
|
-
let r = w(this,
|
|
80815
|
+
let r = w(this, yl).getById("space", w(this, ta).spaces[e].id);
|
|
80811
80816
|
r && w(this, Er).spaces.push(r);
|
|
80812
80817
|
}
|
|
80813
80818
|
return w(this, Er).spaces;
|
|
@@ -80817,7 +80822,7 @@ var gl, Er, ta, zw, uPe = class eP extends z6 {
|
|
|
80817
80822
|
if (w(this, ta).spaces == null) return w(this, Er).points = [], w(this, Er).points;
|
|
80818
80823
|
w(this, Er).points = [];
|
|
80819
80824
|
for (let e = 0; e < w(this, ta).spaces.length; e++) {
|
|
80820
|
-
let r = w(this,
|
|
80825
|
+
let r = w(this, yl).getById("point-of-interest", w(this, ta).spaces[e].id);
|
|
80821
80826
|
r && w(this, Er).points.push(r);
|
|
80822
80827
|
}
|
|
80823
80828
|
return w(this, Er).points;
|
|
@@ -80827,7 +80832,7 @@ var gl, Er, ta, zw, uPe = class eP extends z6 {
|
|
|
80827
80832
|
if (w(this, ta).entrances == null) return w(this, Er).doors = [], w(this, Er).doors;
|
|
80828
80833
|
w(this, Er).doors = [];
|
|
80829
80834
|
for (let e = 0; e < w(this, ta).entrances.length; e++) {
|
|
80830
|
-
let r = w(this,
|
|
80835
|
+
let r = w(this, yl).getById("door", w(this, ta).entrances[e].id);
|
|
80831
80836
|
r && w(this, Er).doors.push(r);
|
|
80832
80837
|
}
|
|
80833
80838
|
return w(this, Er).doors;
|
|
@@ -80837,7 +80842,7 @@ var gl, Er, ta, zw, uPe = class eP extends z6 {
|
|
|
80837
80842
|
if (w(this, ta).connections == null) return w(this, Er).connections = [], w(this, Er).connections;
|
|
80838
80843
|
w(this, Er).connections = [];
|
|
80839
80844
|
for (let e of w(this, ta).connections) {
|
|
80840
|
-
let r = w(this,
|
|
80845
|
+
let r = w(this, yl).getById("connection", e);
|
|
80841
80846
|
r && w(this, Er).connections.push(r);
|
|
80842
80847
|
}
|
|
80843
80848
|
return w(this, Er).connections;
|
|
@@ -80847,19 +80852,19 @@ var gl, Er, ta, zw, uPe = class eP extends z6 {
|
|
|
80847
80852
|
if (w(this, ta).annotations == null) return w(this, Er).annotations = [], w(this, Er).annotations;
|
|
80848
80853
|
w(this, Er).annotations = [];
|
|
80849
80854
|
for (let e = 0; e < w(this, ta).annotations.length; e++) {
|
|
80850
|
-
let r = w(this,
|
|
80855
|
+
let r = w(this, yl).getById("annotation", w(this, ta).annotations[e].id);
|
|
80851
80856
|
r && w(this, Er).annotations.push(r);
|
|
80852
80857
|
}
|
|
80853
80858
|
return w(this, Er).annotations;
|
|
80854
80859
|
}
|
|
80855
80860
|
get categories() {
|
|
80856
|
-
return w(this, Er).categories ? w(this, Er).categories : w(this, ta).categories == null ? (w(this, Er).categories = [], w(this, Er).categories) : (w(this, Er).categories = w(this, ta).categories.map((e) => w(this,
|
|
80861
|
+
return w(this, Er).categories ? w(this, Er).categories : w(this, ta).categories == null ? (w(this, Er).categories = [], w(this, Er).categories) : (w(this, Er).categories = w(this, ta).categories.map((e) => w(this, yl).getById("location-category", e)).filter((e) => e != null), w(this, Er).categories);
|
|
80857
80862
|
}
|
|
80858
80863
|
get mapObjects() {
|
|
80859
|
-
return w(this, Er).mapObjects ? w(this, Er).mapObjects : w(this, ta).obstructions == null ? (w(this, Er).mapObjects = [], w(this, Er).mapObjects) : (w(this, Er).mapObjects = w(this, ta).obstructions.map((e) => w(this,
|
|
80864
|
+
return w(this, Er).mapObjects ? w(this, Er).mapObjects : w(this, ta).obstructions == null ? (w(this, Er).mapObjects = [], w(this, Er).mapObjects) : (w(this, Er).mapObjects = w(this, ta).obstructions.map((e) => w(this, yl).getById("object", e.id)).filter((e) => e != null), w(this, Er).mapObjects);
|
|
80860
80865
|
}
|
|
80861
80866
|
get areas() {
|
|
80862
|
-
return w(this, Er).areas ? w(this, Er).areas : w(this, ta).areas == null ? (w(this, Er).areas = [], w(this, Er).areas) : (w(this, Er).areas = w(this, ta).areas.map((e) => w(this,
|
|
80867
|
+
return w(this, Er).areas ? w(this, Er).areas : w(this, ta).areas == null ? (w(this, Er).areas = [], w(this, Er).areas) : (w(this, Er).areas = w(this, ta).areas.map((e) => w(this, yl).getById("area", e.id)).filter((e) => e != null), w(this, Er).areas);
|
|
80863
80868
|
}
|
|
80864
80869
|
get focusTarget() {
|
|
80865
80870
|
if (w(this, Er).focusTarget) return w(this, Er).focusTarget;
|
|
@@ -80892,7 +80897,7 @@ var gl, Er, ta, zw, uPe = class eP extends z6 {
|
|
|
80892
80897
|
return { __type: eP.__type, id: this.id, name: this.name };
|
|
80893
80898
|
}
|
|
80894
80899
|
};
|
|
80895
|
-
|
|
80900
|
+
yl = /* @__PURE__ */ new WeakMap(), Er = /* @__PURE__ */ new WeakMap(), ta = /* @__PURE__ */ new WeakMap(), zw = /* @__PURE__ */ new WeakMap(), L(uPe, "__type", "location-profile");
|
|
80896
80901
|
var Qkt = uPe, po = Qkt;
|
|
80897
80902
|
R();
|
|
80898
80903
|
var yA, ou, y9, cPe = class tP extends z6 {
|
|
@@ -81286,7 +81291,7 @@ var Zkt = cPe, Gkt = Zkt, Hj = 0.75, Xr, rP, Nw, Uw, hPe = class extends Mo {
|
|
|
81286
81291
|
}
|
|
81287
81292
|
getDistance(t, e) {
|
|
81288
81293
|
let r = lE(t), i = lE(e);
|
|
81289
|
-
return
|
|
81294
|
+
return J0([r.longitude, r.latitude], [i.longitude, i.latitude]);
|
|
81290
81295
|
}
|
|
81291
81296
|
async toJSONBundle({ downloadLanguagePacks: t = !0 } = {}) {
|
|
81292
81297
|
var e;
|
|
@@ -82119,7 +82124,7 @@ function _Rt(t, e, r = {}) {
|
|
|
82119
82124
|
}
|
|
82120
82125
|
R();
|
|
82121
82126
|
R();
|
|
82122
|
-
var jne = oi({ type: w2(["Point"]), coordinates:
|
|
82127
|
+
var jne = oi({ type: w2(["Point"]), coordinates: tl(Rt()).min(2).max(3) }), yPe = oi({ rotation: tl(Rt()).length(3).optional(), altitude: Rt().optional(), scale: tl(Rt()).length(3).optional(), interactive: Zr().optional(), verticalOffset: Rt().optional(), id: ts([Rt(), hi()]).optional() }), xRt = oi({ type: w2(["Feature"]), geometry: jne, properties: yPe }), bRt = oi({ type: w2(["FeatureCollection"]), features: tl(xRt) }), vPe = oi({ color: hi() }), ERt = oi({ url: hi(), color: hi().optional(), opacity: Rt().optional(), material: lz(hi(), vPe).optional() });
|
|
82123
82128
|
function MRt(t, e, r) {
|
|
82124
82129
|
ts([Rt(), hi()]).parse(t), bRt.parse(e), ERt.parse(r);
|
|
82125
82130
|
}
|
|
@@ -82238,7 +82243,7 @@ function SRt(t, e) {
|
|
|
82238
82243
|
a[2] = ((i = a[2]) != null ? i : 0) + o, n.mesh ? n.mesh.position.copy(e(a)) : n.position.copy(e(a));
|
|
82239
82244
|
}
|
|
82240
82245
|
function vA(t) {
|
|
82241
|
-
return t instanceof
|
|
82246
|
+
return t instanceof K0 ? t.material : null;
|
|
82242
82247
|
}
|
|
82243
82248
|
function IRt(t) {
|
|
82244
82249
|
return t.side === C2 ? "back" : t.side === Hl ? "front" : "double";
|
|
@@ -82261,7 +82266,7 @@ var PRt = class extends Mo {
|
|
|
82261
82266
|
}
|
|
82262
82267
|
createEntityFromFeature(t, e, r) {
|
|
82263
82268
|
var i, n, o, a;
|
|
82264
|
-
let s = new
|
|
82269
|
+
let s = new K0(e), l = (i = e == null ? void 0 : e.properties) == null ? void 0 : i.bevel, u = r && "bevel" in r ? r.bevel : void 0, c;
|
|
82265
82270
|
u ? c = Oe(Oe({}, l), u) : l && (c = l);
|
|
82266
82271
|
let h = new Fo(s, new ng(Lt(Oe({}, r), { url: (o = (n = e.properties) == null ? void 0 : n.image) == null ? void 0 : o.path, bevel: c })));
|
|
82267
82272
|
return r != null && r.outline && (h.components[3] = new zEe(gie(r.color))), r != null && r.focusable && (h.components[4] = new jEe()), ((a = e.properties) == null ? void 0 : a.textures) != null && Array.isArray(e.properties.textures) && e.properties.textures.length > 0 ? h.components[6] = new Kb(e.properties.textures.find((d) => d.face === "side"), e.properties.textures.find((d) => d.face === "top")) : (r != null && "texture" in r && r.texture != null || r != null && "topTexture" in r && r.topTexture != null) && (h.components[6] = new Kb(r.texture, r.topTexture)), h.id = t, h;
|
|
@@ -82309,7 +82314,7 @@ var PRt = class extends Mo {
|
|
|
82309
82314
|
populateEntityGroup(t) {
|
|
82310
82315
|
var e;
|
|
82311
82316
|
let r, i, n, o;
|
|
82312
|
-
for (let a of t.values()) o = this.state.geometry3DMap.get(a), o.components[0] instanceof
|
|
82317
|
+
for (let a of t.values()) o = this.state.geometry3DMap.get(a), o.components[0] instanceof K0 && (i = o.components[0].feature, n = o.components[1], i.geometry.type === "Polygon" ? (r = mPe(i, this.convertTo3DMapPosition, n), (e = i.properties) != null && e.textures && i.properties.textures.length > 0 && lmt(r, i.properties.textures, this.state.naturalBearing, this.convertTo3DMapPosition), this.populateEntityMesh(o, r)) : i.geometry.type === "MultiPolygon" ? (r = gPe(i, this.convertTo3DMapPosition, n), this.populateEntityMesh(o, r)) : i.geometry.type === "LineString" ? (r = wY(i, this.convertTo3DMapPosition, n), this.populateEntityMesh(o, r)) : i.geometry.type === "MultiLineString" && (r = _Rt(i, this.convertTo3DMapPosition, n), this.populateEntityMesh(o, r)));
|
|
82313
82318
|
return t;
|
|
82314
82319
|
}
|
|
82315
82320
|
update() {
|
|
@@ -82569,13 +82574,13 @@ var VRt = class {
|
|
|
82569
82574
|
let D = jRt(S, this.state.hoverColor);
|
|
82570
82575
|
x.setColor(D[0], D[1]);
|
|
82571
82576
|
let T = vA(x);
|
|
82572
|
-
if (b.visible !== x.visible && (x.visible = b.visible, x instanceof
|
|
82577
|
+
if (b.visible !== x.visible && (x.visible = b.visible, x instanceof K0 && x.textMesh)) {
|
|
82573
82578
|
let F = this.state.geometry3DMap.get(x.textMesh.userData.entityId);
|
|
82574
82579
|
(F == null ? void 0 : F.type) === "text3d" && F.components[0].polygonEntityId != null && (F.components[0].visible = b.visible);
|
|
82575
82580
|
}
|
|
82576
82581
|
b.altitude !== x.altitude && (x.altitude = b.altitude);
|
|
82577
82582
|
let I = b.opacity * _ie(S);
|
|
82578
|
-
if (I !== x.opacity && (x.opacity = I), b.renderOrder !== x.renderOrder && (x.renderOrder = b.renderOrder), T && b.side !== IRt(T) && BRt(T, b.side), x instanceof
|
|
82583
|
+
if (I !== x.opacity && (x.opacity = I), b.renderOrder !== x.renderOrder && (x.renderOrder = b.renderOrder), T && b.side !== IRt(T) && BRt(T, b.side), x instanceof K0 && b.shading != null && (((r = b.shading) == null ? void 0 : r.start) !== ((i = vA(x)) == null ? void 0 : i.getGradientShading().start) || ((n = b.shading) == null ? void 0 : n.end) !== ((o = vA(x)) == null ? void 0 : o.getGradientShading().end) || ((a = b.shading) == null ? void 0 : a.intensity) !== ((s = vA(x)) == null ? void 0 : s.getGradientShading().intensity)) && ((p = vA(x)) == null || p.setGradientShading((u = (l = b.shading) == null ? void 0 : l.start) != null ? u : 0, (h = (c = b.shading) == null ? void 0 : c.end) != null ? h : 0, (f = (d = b.shading) == null ? void 0 : d.intensity) != null ? f : 0)), b.dirty = !1, x instanceof K0) {
|
|
82579
82584
|
let F = S.components[6];
|
|
82580
82585
|
F instanceof Kb && this.determineTextureVisiblity(x, F, M);
|
|
82581
82586
|
}
|
|
@@ -82675,9 +82680,9 @@ var QRt = class extends Mo {
|
|
|
82675
82680
|
}
|
|
82676
82681
|
};
|
|
82677
82682
|
R();
|
|
82678
|
-
var ZRt = oi({ interactive: Zr().optional(), id: hi().optional(), width: ts([Rt(), oi({ on: ps("zoom-level").optional(), input:
|
|
82683
|
+
var ZRt = oi({ interactive: Zr().optional(), id: hi().optional(), width: ts([Rt(), oi({ on: ps("zoom-level").optional(), input: tl(Rt()).nonempty(), output: tl(Rt()).nonempty(), easing: hi().optional() })]).optional(), accentColor: hi().optional(), displayArrowsOnPath: Zr().optional(), animateArrowsOnPath: Zr().optional(), visibleThroughGeometry: Zr().optional(), dashed: Zr().optional(), smoothingTension: Rt().optional(), smoothingCornerRadius: Rt().optional(), dashLength: Rt().optional(), dashGap: Rt().optional(), dashRelativeToWidth: Zr().optional(), dashSize: Rt().optional(), gapSize: Rt().optional(), dashAbsolute: Zr().optional(), dashMeters: Rt().optional(), gapMeters: Rt().optional(), __EXPERIMENTAL_GEOMETRY: w2(["tube", "ribbon"]).optional(), __EXPERIMENTAL_ENDCAP_ENABLED: Zr().optional(), __EXPERIMENTAL_BILLBOARDING: Zr().optional(), __EXPERIMENTAL_BORDER: oi({ enabled: Zr(), color: hi(), width: Rt().optional() }).optional(), __EXPERIMENTAL_PREVENT_SELF_OVERLAP: Zr().optional() }), GRt = oi({ type: w2(["Feature"]), geometry: jne, properties: oi({ parentId: iCe().optional() }) });
|
|
82679
82684
|
function YRt(t, e) {
|
|
82680
|
-
oi({ features:
|
|
82685
|
+
oi({ features: tl(GRt) }).parse(t), ZRt.parse(e);
|
|
82681
82686
|
}
|
|
82682
82687
|
var cP, hP = class {
|
|
82683
82688
|
constructor(t, e) {
|
|
@@ -83042,7 +83047,7 @@ var zde = class {
|
|
|
83042
83047
|
return i ? i.point : void 0;
|
|
83043
83048
|
}
|
|
83044
83049
|
}, $A = {};
|
|
83045
|
-
|
|
83050
|
+
cl($A, { BLOCK_MERCATOR_ZOOM_LEVEL: () => eOt, CLIPPING_RADIUS: () => dP, CONTROL_OPTIONS: () => qRt, DEFAULT_ANIMATION_DURATION: () => SPe, DEFAULT_BEARING: () => oOt, DEFAULT_MAX_ZOOM_LEVEL: () => iOt, DEFAULT_MIN_ZOOM_LEVEL: () => BPe, DEFAULT_PITCH: () => nOt, DEFAULT_ZOOM_LEVEL: () => rOt, EVENTS: () => IPe, MAPLIBRE_TILE_SIZE: () => KRt, MAX_LAT: () => EPe, MAX_MERCATOR_ZOOM_LEVEL: () => FW, MIN_LAT: () => bPe, MIN_MERCATOR_ZOOM_LEVEL: () => PW, ROOM_MERCATOR_ZOOM_LEVEL: () => tOt, TWO_PI: () => MPe, WHEEL_ZOOM_MULTIPLIER: () => DPe, ZRANGE: () => Qw });
|
|
83046
83051
|
R();
|
|
83047
83052
|
var KRt = 512, bPe = -85.051129, EPe = 85.051129, dP = 1e4, qRt = { chain: "chain", cancel: "cancel" }, MPe = Math.PI * 2, Qw = 100, DPe = 1e4, PW = 0, FW = 24, eOt = 17, tOt = 20, SPe = 200, IPe = ["change", "pan-start", "pan-end", "rotate-start", "rotate-end", "zoom-start", "zoom-end", "multi-start", "multi-end", "multi-cancel", "pedestal-start", "pedestal-change", "pedestal-end", "user-pan-start", "user-pedestal-start", "user-rotate-start", "user-dolly-start", "user-zoom-start", "user-tilt-start", "user-pan-end", "user-pedestal-end", "user-rotate-end", "user-dolly-end", "user-zoom-end", "user-tilt-end", "position-updated", "zoom-updated", "tilt-updated", "rotation-updated"], rOt = 18, BPe = 12, iOt = 22, nOt = 0, oOt = 0, Nde = !1, LW, Vne = class extends Mo {
|
|
83048
83053
|
constructor(t, e, r, i, n) {
|
|
@@ -83755,11 +83760,11 @@ var TPe = class Zw {
|
|
|
83755
83760
|
}
|
|
83756
83761
|
};
|
|
83757
83762
|
L(TPe, "instance");
|
|
83758
|
-
var xOt = TPe, SN = xOt.getInstance(), Vde = !1, Bo, Op, Gw, h2,
|
|
83763
|
+
var xOt = TPe, SN = xOt.getInstance(), Vde = !1, Bo, Op, Gw, h2, vl, v9, Rh, Bf, bOt = class extends Mo {
|
|
83759
83764
|
constructor(t, e, r) {
|
|
83760
83765
|
super(), Ie(this, Bo, { padding: 16, scale: 1, iconOnly: !1, position: "bottom-left", color: "dark", onClick: () => {
|
|
83761
83766
|
window != null && window.open("https://www.mappedin.com");
|
|
83762
|
-
}, interactive: !0, visible: !0 }), Ie(this, Op), Ie(this, Gw), Ie(this, h2), Ie(this,
|
|
83767
|
+
}, interactive: !0, visible: !0 }), Ie(this, Op), Ie(this, Gw), Ie(this, h2), Ie(this, vl), Ie(this, v9), Ie(this, Rh, 0), Ie(this, Bf, 0), L(this, "dirty", !0), L(this, "getPositionAlignedCanvasCoordinates", (i, n) => ({ "top-left": { x: 0, y: 0 }, "top-right": { x: i, y: 0 }, "bottom-left": { x: 0, y: n }, "bottom-right": { x: i, y: n }, center: { x: i / 2, y: n / 2 }, top: { x: i / 2, y: 0 }, bottom: { x: i / 2, y: n }, left: { x: 0, y: n / 2 }, right: { x: i, y: n / 2 } })[w(this, Bo).position]), L(this, "getPositionAlignedPadding", () => {
|
|
83763
83768
|
var i, n, o, a;
|
|
83764
83769
|
let s = w(this, Bo).padding;
|
|
83765
83770
|
if (typeof s == "number") return { "top-left": { x: s, y: s }, "top-right": { x: -s, y: s }, "bottom-left": { x: s, y: -s }, "bottom-right": { x: -s, y: -s }, center: { x: 0, y: 0 }, top: { x: 0, y: s }, bottom: { x: 0, y: -s }, left: { x: s, y: 0 }, right: { x: -s, y: 0 } }[w(this, Bo).position];
|
|
@@ -83795,10 +83800,10 @@ var xOt = TPe, SN = xOt.getInstance(), Vde = !1, Bo, Op, Gw, h2, yl, v9, Rh, Bf,
|
|
|
83795
83800
|
return _Ot(this.iconName, this.color, w(this, Rh) * w(this, Op).pixelRatio, w(this, Bf) * w(this, Op).pixelRatio);
|
|
83796
83801
|
}
|
|
83797
83802
|
setSize(t, e) {
|
|
83798
|
-
w(this,
|
|
83803
|
+
w(this, vl) && (w(this, vl).uniforms.uSize.value.x = t, w(this, vl).uniforms.uSize.value.y = e);
|
|
83799
83804
|
}
|
|
83800
83805
|
setXY(t, e) {
|
|
83801
|
-
w(this,
|
|
83806
|
+
w(this, vl) && (w(this, vl).uniforms.uSize.value.w = t, w(this, vl).uniforms.uSize.value.z = e);
|
|
83802
83807
|
}
|
|
83803
83808
|
get width() {
|
|
83804
83809
|
return w(this, Rh);
|
|
@@ -83819,10 +83824,10 @@ var xOt = TPe, SN = xOt.getInstance(), Vde = !1, Bo, Op, Gw, h2, yl, v9, Rh, Bf,
|
|
|
83819
83824
|
}
|
|
83820
83825
|
update() {
|
|
83821
83826
|
this.dirty && (w(this, Bo).visible === !0 ? (Qe(this, Rh, Math.min(w(this, Op).canvasWidth, Math.max(this.minWidth, this.defaultWidth * w(this, Bo).scale))), Qe(this, Bf, w(this, Rh) / this.aspectRatio), SN.getLoader().load("data:image/svg+xml;base64,".concat(btoa(this.icon)), (t) => {
|
|
83822
|
-
if (Qe(this,
|
|
83827
|
+
if (Qe(this, vl, new $l({ uniforms: { uTexture: { value: t }, uSize: { value: new Hn(0, 0, 0, 0) }, uOpacity: { value: 0.7 } }, vertexShader: pOt, fragmentShader: AOt, depthWrite: !1, depthTest: !1, defines: { debug: Vde }, wireframe: Vde, transparent: !0, visible: !0 })), w(this, h2)) w(this, h2).visible = !0, w(this, h2).material = w(this, vl), w(this, h2).material.needsUpdate = !0;
|
|
83823
83828
|
else {
|
|
83824
83829
|
let e = new Fu(2, 2, 1, 1);
|
|
83825
|
-
Qe(this, h2, new fi(e, w(this,
|
|
83830
|
+
Qe(this, h2, new fi(e, w(this, vl))), w(this, h2).position.set(0, 0, -1), w(this, h2).frustumCulled = !1, w(this, h2).renderOrder = 999;
|
|
83826
83831
|
let r = new Z5(1, 1, 1), i = new fi(r, new Fs({ transparent: !0, opacity: 0, depthTest: !1, depthWrite: !1 }));
|
|
83827
83832
|
i.frustumCulled = !1, i.layers.set(1), w(this, h2).add(i), w(this, Gw).add(w(this, h2));
|
|
83828
83833
|
}
|
|
@@ -83830,10 +83835,10 @@ var xOt = TPe, SN = xOt.getInstance(), Vde = !1, Bo, Op, Gw, h2, yl, v9, Rh, Bf,
|
|
|
83830
83835
|
})) : w(this, h2) && (w(this, h2).visible = !1), this.dirty = !1);
|
|
83831
83836
|
}
|
|
83832
83837
|
destroy() {
|
|
83833
|
-
w(this, h2) && (w(this, Gw).remove(w(this, h2)), U0(w(this, h2))), Qe(this, h2, void 0), w(this,
|
|
83838
|
+
w(this, h2) && (w(this, Gw).remove(w(this, h2)), U0(w(this, h2))), Qe(this, h2, void 0), w(this, vl) && w(this, vl).dispose(), Qe(this, vl, void 0), Qe(this, v9, void 0);
|
|
83834
83839
|
}
|
|
83835
83840
|
};
|
|
83836
|
-
Bo = /* @__PURE__ */ new WeakMap(), Op = /* @__PURE__ */ new WeakMap(), Gw = /* @__PURE__ */ new WeakMap(), h2 = /* @__PURE__ */ new WeakMap(),
|
|
83841
|
+
Bo = /* @__PURE__ */ new WeakMap(), Op = /* @__PURE__ */ new WeakMap(), Gw = /* @__PURE__ */ new WeakMap(), h2 = /* @__PURE__ */ new WeakMap(), vl = /* @__PURE__ */ new WeakMap(), v9 = /* @__PURE__ */ new WeakMap(), Rh = /* @__PURE__ */ new WeakMap(), Bf = /* @__PURE__ */ new WeakMap();
|
|
83837
83842
|
R();
|
|
83838
83843
|
var yI = 100, EOt = !1, MOt = class extends Mo {
|
|
83839
83844
|
constructor(t, e) {
|
|
@@ -84238,7 +84243,7 @@ var OOt = 80, C9, Ww, NW, UW, zOt = class extends Mo {
|
|
|
84238
84243
|
}
|
|
84239
84244
|
let i = e ? Yte(t, 16, 19, 0, 1) : w(this, Ww);
|
|
84240
84245
|
if ((i !== w(this, Ww) || this.outlineOpacitiesDirty) && this.rendererState.geometry3DsInScene.size > 0) {
|
|
84241
|
-
for (let n of this.rendererState.geometry3DsInScene) if (n.type === "geometry" && n.components[0] instanceof
|
|
84246
|
+
for (let n of this.rendererState.geometry3DsInScene) if (n.type === "geometry" && n.components[0] instanceof K0) {
|
|
84242
84247
|
let o = n.components[3];
|
|
84243
84248
|
if (o && o.edgeColors && o.geometry && o.visible) {
|
|
84244
84249
|
let a = Math.min(i, n.components[1].opacity * _ie(n));
|
|
@@ -84859,15 +84864,15 @@ function Nzt(t, e) {
|
|
|
84859
84864
|
});
|
|
84860
84865
|
}), r;
|
|
84861
84866
|
}
|
|
84862
|
-
var Uzt = 5e3, wA,
|
|
84867
|
+
var Uzt = 5e3, wA, _l, vP, xx, d4, Xw, pc, Jw, VW, Kw, HW, QW, qw, ZW, CP, w9, zPe, GW, YW, $zt = class extends Mo {
|
|
84863
84868
|
constructor(t) {
|
|
84864
|
-
super(), Ie(this, qw), Ie(this, wA, !0), Ie(this,
|
|
84865
|
-
if (!w(this,
|
|
84866
|
-
let r = [[e[0], e[1]], [e[2], e[1]], [e[2], e[3]], [e[0], e[3]]].map((s) => w(this,
|
|
84869
|
+
super(), Ie(this, qw), Ie(this, wA, !0), Ie(this, _l), L(this, "idleQueue", new zW()), Ie(this, vP, ""), Ie(this, xx, /* @__PURE__ */ new Set()), Ie(this, d4, /* @__PURE__ */ new Set()), Ie(this, Xw), Ie(this, pc, null), Ie(this, Jw, !1), Ie(this, VW, (e) => {
|
|
84870
|
+
if (!w(this, _l)) throw new Error("Map not initialized");
|
|
84871
|
+
let r = [[e[0], e[1]], [e[2], e[1]], [e[2], e[3]], [e[0], e[3]]].map((s) => w(this, _l).project(s)), i = Math.max(...r.map((s) => s.x)), n = Math.min(...r.map((s) => s.x)), o = Math.max(...r.map((s) => s.y)), a = Math.min(...r.map((s) => s.y));
|
|
84867
84872
|
return [new Qce.default(n, a), new Qce.default(i, o)];
|
|
84868
84873
|
}), Ie(this, Kw, (e, r) => {
|
|
84869
|
-
if (!w(this,
|
|
84870
|
-
let i = w(this,
|
|
84874
|
+
if (!w(this, _l)) return;
|
|
84875
|
+
let i = w(this, _l).on(e, r);
|
|
84871
84876
|
i != null && i.unsubscribe && this.onAbort(() => i.unsubscribe());
|
|
84872
84877
|
}), Ie(this, HW, () => {
|
|
84873
84878
|
w(this, pc) && (clearTimeout(w(this, pc)), Qe(this, pc, null), Qe(this, wA, !1));
|
|
@@ -84876,16 +84881,16 @@ var Uzt = 5e3, wA, wl, vP, xx, d4, Xw, pc, Jw, VW, Kw, HW, QW, qw, ZW, CP, w9, z
|
|
|
84876
84881
|
w(this, HW).call(this);
|
|
84877
84882
|
}, Uzt));
|
|
84878
84883
|
}), Ie(this, CP, async () => {
|
|
84879
|
-
if (!(!w(this,
|
|
84884
|
+
if (!(!w(this, _l) || !w(this, Jw)) && w(this, wA) && !(!w(this, d4) || w(this, d4).size === 0) && (w(this, qw, zPe) && w(this, GW).call(this), w(this, Xw))) {
|
|
84880
84885
|
let e = /* @__PURE__ */ new Set();
|
|
84881
84886
|
this.idleQueue.onComplete(() => {
|
|
84882
84887
|
w(this, w9).length > 0 && (w(this, d4).forEach((r) => {
|
|
84883
84888
|
var i;
|
|
84884
|
-
(i = w(this,
|
|
84889
|
+
(i = w(this, _l)) == null || i.setFilter(r, ["all", ...w(this, w9)]);
|
|
84885
84890
|
}), Qe(this, wA, !1)), Qe(this, w9, []);
|
|
84886
84891
|
});
|
|
84887
84892
|
for (let r of w(this, Xw)) {
|
|
84888
|
-
let i = xM(r), n = w(this, VW).call(this, i), o = w(this,
|
|
84893
|
+
let i = xM(r), n = w(this, VW).call(this, i), o = w(this, _l).queryRenderedFeatures(n, { layers: Array.from(w(this, d4)) });
|
|
84889
84894
|
for (let a of o) a.id == null || e.has(a.id) || this.idleQueue.add(() => {
|
|
84890
84895
|
if (a.geometry != null && "coordinates" in a.geometry) {
|
|
84891
84896
|
let s;
|
|
@@ -84899,11 +84904,11 @@ var Uzt = 5e3, wA, wl, vP, xx, d4, Xw, pc, Jw, VW, Kw, HW, QW, qw, ZW, CP, w9, z
|
|
|
84899
84904
|
this.idleQueue.clearAll();
|
|
84900
84905
|
}), Ie(this, YW, (e) => {
|
|
84901
84906
|
var r, i;
|
|
84902
|
-
if (w(this,
|
|
84907
|
+
if (w(this, _l) && e && e.dataType === "style" && e.type === "styledata" && w(this, xx).size > 0) {
|
|
84903
84908
|
let n = (i = (r = e == null ? void 0 : e.style) == null ? void 0 : r.stylesheet) == null ? void 0 : i.id;
|
|
84904
84909
|
(!n || n !== w(this, vP)) && (Qe(this, vP, n), $t(this, qw, ZW).call(this), Qe(this, wA, !0));
|
|
84905
84910
|
}
|
|
84906
|
-
}), t && (Qe(this,
|
|
84911
|
+
}), t && (Qe(this, _l, t), w(this, Kw).call(this, "styledata", w(this, YW)), w(this, Kw).call(this, "render", w(this, CP)), Qe(this, Jw, w(this, _l).loaded()), w(this, Kw).call(this, "load", () => {
|
|
84907
84912
|
Qe(this, Jw, !0);
|
|
84908
84913
|
}));
|
|
84909
84914
|
}
|
|
@@ -84922,8 +84927,8 @@ var Uzt = 5e3, wA, wl, vP, xx, d4, Xw, pc, Jw, VW, Kw, HW, QW, qw, ZW, CP, w9, z
|
|
|
84922
84927
|
this.idleQueue.clearAll(), super.destroy();
|
|
84923
84928
|
}
|
|
84924
84929
|
};
|
|
84925
|
-
wA = /* @__PURE__ */ new WeakMap(),
|
|
84926
|
-
if (Qe(this, d4, /* @__PURE__ */ new Set()), w(this,
|
|
84930
|
+
wA = /* @__PURE__ */ new WeakMap(), _l = /* @__PURE__ */ new WeakMap(), vP = /* @__PURE__ */ new WeakMap(), xx = /* @__PURE__ */ new WeakMap(), d4 = /* @__PURE__ */ new WeakMap(), Xw = /* @__PURE__ */ new WeakMap(), pc = /* @__PURE__ */ new WeakMap(), Jw = /* @__PURE__ */ new WeakMap(), VW = /* @__PURE__ */ new WeakMap(), Kw = /* @__PURE__ */ new WeakMap(), HW = /* @__PURE__ */ new WeakMap(), QW = /* @__PURE__ */ new WeakMap(), qw = /* @__PURE__ */ new WeakSet(), ZW = function() {
|
|
84931
|
+
if (Qe(this, d4, /* @__PURE__ */ new Set()), w(this, _l)) for (let t of w(this, xx)) w(this, _l).getLayer(t) && w(this, d4).add(t);
|
|
84927
84932
|
}, CP = /* @__PURE__ */ new WeakMap(), w9 = /* @__PURE__ */ new WeakMap(), zPe = function() {
|
|
84928
84933
|
return this.idleQueue.size !== 0;
|
|
84929
84934
|
}, GW = /* @__PURE__ */ new WeakMap(), YW = /* @__PURE__ */ new WeakMap();
|
|
@@ -85655,7 +85660,7 @@ var Vs, e_, zp, WW, rNt = class {
|
|
|
85655
85660
|
L(this, "rendererState"), L(this, "dirty", !1), Ie(this, Vs), Ie(this, e_), Ie(this, zp), Ie(this, WW, new Pr()), this.rendererState = t;
|
|
85656
85661
|
}
|
|
85657
85662
|
updateOne(t) {
|
|
85658
|
-
if (t instanceof Fo && t.components[0] instanceof
|
|
85663
|
+
if (t instanceof Fo && t.components[0] instanceof K0 && t.components[1] instanceof ng && t.parentObject3D instanceof jl && (Qe(this, Vs, t.components[0]), Qe(this, zp, t.components[1]), !w(this, Vs).detached && w(this, Vs).shouldDetach && w(this, Vs).mesh != null && w(this, Vs).material != null && w(this, Vs).batchedProps != null)) {
|
|
85659
85664
|
Qe(this, e_, t.parentObject3D), w(this, Vs).visible = !1;
|
|
85660
85665
|
let e = w(this, zp).color, r = w(this, zp).opacity * _ie(t), i = w(this, Vs).material.clone({ color: e, side: Ts, opacity: r ?? 1, transparent: r !== void 0 ? r < 1 : !1 }), n = new Cie(1, w(this, Vs).batchedProps.positionCount, 0, i), o = FOt(w(this, Vs), n, w(this, WW));
|
|
85661
85666
|
if (o == null) return;
|
|
@@ -85839,7 +85844,7 @@ var hNt = class extends Mo {
|
|
|
85839
85844
|
let e = t.components[6];
|
|
85840
85845
|
if (!(e instanceof Kb)) continue;
|
|
85841
85846
|
let r = t.components[0];
|
|
85842
|
-
if (!(r instanceof
|
|
85847
|
+
if (!(r instanceof K0) || !e.dirty) continue;
|
|
85843
85848
|
let i = vA(r);
|
|
85844
85849
|
i != null && (e.texture != null && (e.texture.path === "" ? (i.texture = null, i.hideTextures(r.instanceIndex), e.dirty = !1) : this.loadTexture(e.texture.path).then((n) => {
|
|
85845
85850
|
n && (e.textureInstance = n, i.texture = n, i.blendTexture = !0, i.showTextures(r.instanceIndex)), this.publish("texture-added");
|
|
@@ -86719,7 +86724,7 @@ void main() {
|
|
|
86719
86724
|
else {
|
|
86720
86725
|
let r = hA(w(this, ut), t);
|
|
86721
86726
|
if ((r == null ? void 0 : r.type) === "geometry" && (r == null ? void 0 : r.object3d) != null) {
|
|
86722
|
-
let i = r.components[0], n = i instanceof
|
|
86727
|
+
let i = r.components[0], n = i instanceof K0 ? i.geometry : void 0;
|
|
86723
86728
|
i.mesh instanceof Wq && n ? (n.computeBoundingBox(), n.boundingBox && e.union(n.boundingBox)) : e.setFromObject(r.object3d);
|
|
86724
86729
|
} else ((r == null ? void 0 : r.type) === "geometry-group" || (r == null ? void 0 : r.type) === "group-container") && (r == null ? void 0 : r.userData.entityId) != null && e.setFromObject(r);
|
|
86725
86730
|
}
|
|
@@ -86798,7 +86803,7 @@ void main() {
|
|
|
86798
86803
|
let o = e;
|
|
86799
86804
|
Vf(n, w(this, ut), o.visible), Amt(n, w(this, ut), o), vY(n, w(this, ut), o.outline), o.height != null && yY(n, w(this, ut), o.height), G7(n, w(this, ut), o.altitude), she(n, w(this, ut), o) && (w(this, At).textureSystem.dirty = !0), she(n, w(this, ut), o), gmt(n, w(this, ut), o.shading), rT(n, w(this, ut), o.opacity) && (w(this, At).outlineInterpolationSystem.outlineOpacitiesDirty = !0), o0(n, o.interactive, w(this, ut)) && (w(this, as).call(this), w(this, n1).call(this)), CY(n, w(this, ut), o.side), lhe(n, { maskId: o.maskId, enabled: o.maskEnabled, effect: o.maskEffect, mode: o.maskMode });
|
|
86800
86805
|
} else if (n.type === "geometry") {
|
|
86801
|
-
if (n.components[0] instanceof
|
|
86806
|
+
if (n.components[0] instanceof K0) {
|
|
86802
86807
|
let o = e;
|
|
86803
86808
|
Vf(n, w(this, ut), o.visible), vY(n, w(this, ut), o.outline), ymt(n, o), Pj(n, o.focusable) && (w(this, At).geometryInFocusSystem.focusablesDirty = !0), Mmt(n, o.renderOrder) && (w(this, At).meshDetachmentSystem.dirty = !0), Emt(n, o.opacity) && (w(this, At).meshDetachmentSystem.dirty = !0, w(this, At).interactionSystem.dirty3D = !0, w(this, At).outlineInterpolationSystem.outlineOpacitiesDirty = !0), ahe(n, o.flipImageToFaceCamera), bmt(n, o.enableImageCollisions), G7(n, w(this, ut), o.altitude), o.height != null && yY(n, w(this, ut), o.height), GEe(n, o) && (w(this, At).meshDetachmentSystem.dirty = !0, w(this, At).textureSystem.dirty = !0), yie(n, o), _mt(n, o.hoverColor), o0(n, o.interactive, w(this, ut)), xmt(n, o.hovered), CY(n, w(this, ut), o.side), Dmt(n, o);
|
|
86804
86809
|
}
|
|
@@ -86842,7 +86847,7 @@ void main() {
|
|
|
86842
86847
|
if (e instanceof Fo) {
|
|
86843
86848
|
let r = e == null ? void 0 : e.components[0];
|
|
86844
86849
|
if (r instanceof Xj || r instanceof uP) return w(this, M9).containsPoint(this.convertTo3DMapPosition(r.feature.geometry.coordinates));
|
|
86845
|
-
if (r instanceof
|
|
86850
|
+
if (r instanceof K0) {
|
|
86846
86851
|
let i = new so(this.convertTo3DMapPosition(r.featureBbox[1], r.featureBbox[0], 0), this.convertTo3DMapPosition(r.featureBbox[3], r.featureBbox[2], 0));
|
|
86847
86852
|
return w(this, M9).intersectsBox(i);
|
|
86848
86853
|
}
|
|
@@ -89305,8 +89310,8 @@ function D$t(t) {
|
|
|
89305
89310
|
}
|
|
89306
89311
|
R();
|
|
89307
89312
|
R();
|
|
89308
|
-
var { entries: fFe, setPrototypeOf: Ofe, isFrozen: S$t, getPrototypeOf: I$t, getOwnPropertyDescriptor: B$t } = Object, { freeze:
|
|
89309
|
-
|
|
89313
|
+
var { entries: fFe, setPrototypeOf: Ofe, isFrozen: S$t, getPrototypeOf: I$t, getOwnPropertyDescriptor: B$t } = Object, { freeze: il, seal: Q1, create: pFe } = Object, { apply: _X, construct: xX } = typeof Reflect < "u" && Reflect;
|
|
89314
|
+
il || (il = function(t) {
|
|
89310
89315
|
return t;
|
|
89311
89316
|
});
|
|
89312
89317
|
Q1 || (Q1 = function(t) {
|
|
@@ -89318,8 +89323,8 @@ _X || (_X = function(t, e, r) {
|
|
|
89318
89323
|
xX || (xX = function(t, e) {
|
|
89319
89324
|
return new t(...e);
|
|
89320
89325
|
});
|
|
89321
|
-
var SI =
|
|
89322
|
-
function
|
|
89326
|
+
var SI = nl(Array.prototype.forEach), T$t = nl(Array.prototype.lastIndexOf), zfe = nl(Array.prototype.pop), IC = nl(Array.prototype.push), P$t = nl(Array.prototype.splice), QP = nl(String.prototype.toLowerCase), oV = nl(String.prototype.toString), Nfe = nl(String.prototype.match), BC = nl(String.prototype.replace), F$t = nl(String.prototype.indexOf), L$t = nl(String.prototype.trim), wc = nl(Object.prototype.hasOwnProperty), T0 = nl(RegExp.prototype.test), TC = k$t(TypeError);
|
|
89327
|
+
function nl(t) {
|
|
89323
89328
|
return function(e) {
|
|
89324
89329
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
89325
89330
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++) i[n - 1] = arguments[n];
|
|
@@ -89359,8 +89364,8 @@ function PC(t, e) {
|
|
|
89359
89364
|
for (; t !== null; ) {
|
|
89360
89365
|
let i = B$t(t, e);
|
|
89361
89366
|
if (i) {
|
|
89362
|
-
if (i.get) return
|
|
89363
|
-
if (typeof i.value == "function") return
|
|
89367
|
+
if (i.get) return nl(i.get);
|
|
89368
|
+
if (typeof i.value == "function") return nl(i.value);
|
|
89364
89369
|
}
|
|
89365
89370
|
t = I$t(t);
|
|
89366
89371
|
}
|
|
@@ -89369,7 +89374,7 @@ function PC(t, e) {
|
|
|
89369
89374
|
}
|
|
89370
89375
|
return r;
|
|
89371
89376
|
}
|
|
89372
|
-
var Ufe =
|
|
89377
|
+
var Ufe = il(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), aV = il(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), sV = il(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), O$t = il(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), lV = il(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), z$t = il(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), $fe = il(["#text"]), jfe = il(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), uV = il(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Vfe = il(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), II = il(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), N$t = Q1(/\{\{[\w\W]*|[\w\W]*\}\}/gm), U$t = Q1(/<%[\w\W]*|[\w\W]*%>/gm), $$t = Q1(/\$\{[\w\W]*/gm), j$t = Q1(/^data-[\-\w.\u00B7-\uFFFF]+$/), V$t = Q1(/^aria-[\-\w]+$/), AFe = Q1(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), H$t = Q1(/^(?:\w+script|data):/i), Q$t = Q1(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), mFe = Q1(/^html$/i), Z$t = Q1(/^[a-z][.\w]*(-[.\w]+)+$/i), Hfe = Object.freeze({ __proto__: null, ARIA_ATTR: V$t, ATTR_WHITESPACE: Q$t, CUSTOM_ELEMENT: Z$t, DATA_ATTR: j$t, DOCTYPE_NAME: mFe, ERB_EXPR: U$t, IS_ALLOWED_URI: AFe, IS_SCRIPT_OR_DATA: H$t, MUSTACHE_EXPR: N$t, TMPLIT_EXPR: $$t }), FC = { element: 1, text: 3, progressingInstruction: 7, comment: 8, document: 9 }, G$t = function() {
|
|
89373
89378
|
return typeof window > "u" ? null : window;
|
|
89374
89379
|
}, Y$t = function(t, e) {
|
|
89375
89380
|
if (typeof t != "object" || typeof t.createPolicy != "function") return null;
|
|
@@ -89408,7 +89413,7 @@ function gFe() {
|
|
|
89408
89413
|
if (typeof Pe.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw TC('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
89409
89414
|
C = Pe.TRUSTED_TYPES_POLICY, E = C.createHTML("");
|
|
89410
89415
|
} else C === void 0 && (C = Y$t(f, n)), C !== null && typeof E == "string" && (E = C.createHTML(""));
|
|
89411
|
-
|
|
89416
|
+
il && il(Pe), bt = Pe;
|
|
89412
89417
|
}
|
|
89413
89418
|
}, Sr = dn({}, [...aV, ...sV, ...O$t]), _i = dn({}, [...lV, ...z$t]), cn = function(Pe) {
|
|
89414
89419
|
let Re = v(Pe);
|
|
@@ -89699,11 +89704,11 @@ function ojt(t) {
|
|
|
89699
89704
|
default:
|
|
89700
89705
|
e = m7.stairs;
|
|
89701
89706
|
}
|
|
89702
|
-
else Yl.is(t) ? e = m7.point : Zu.is(t) ? e = m7.door :
|
|
89707
|
+
else Yl.is(t) ? e = m7.point : Zu.is(t) ? e = m7.door : rl.is(t) && (e = m7.building);
|
|
89703
89708
|
return e != null ? K$t(e, "#FFFFFF", 12) : null;
|
|
89704
89709
|
}
|
|
89705
89710
|
function Zfe(t) {
|
|
89706
|
-
return Os.is(t) ? iA.connection :
|
|
89711
|
+
return Os.is(t) ? iA.connection : rl.is(t) ? iA.default : rjt(t) ? iA.washroom : ijt(t) ? iA.parking : Yl.is(t) ? iA.point : Zu.is(t) ? iA.door : iA.default;
|
|
89707
89712
|
}
|
|
89708
89713
|
async function ajt(t, e) {
|
|
89709
89714
|
var r;
|
|
@@ -89715,18 +89720,18 @@ async function ajt(t, e) {
|
|
|
89715
89720
|
return i;
|
|
89716
89721
|
}
|
|
89717
89722
|
function sjt(t) {
|
|
89718
|
-
return Os.is(t) || Zu.is(t) ? "low" : Yl.is(t) ||
|
|
89723
|
+
return Os.is(t) || Zu.is(t) ? "low" : Yl.is(t) || rl.is(t) ? "high" : "medium";
|
|
89719
89724
|
}
|
|
89720
89725
|
async function ljt(t) {
|
|
89721
89726
|
let e = { appearance: { color: Zfe(t), pinOutlineColor: Zfe(t), iconPadding: 8, iconSize: 24, textSize: 12.5, iconScale: { on: "zoom-level", input: [18, 20], output: [0.7, 1] } }, rank: sjt(t), interactive: !0 }, r = await ajt(t, { color: "#FFFFFF" });
|
|
89722
|
-
return r != null && (e.appearance.icon = r.icon, r.type === "svg" ?
|
|
89727
|
+
return r != null && (e.appearance.icon = r.icon, r.type === "svg" ? rl.is(t) && (e.appearance.iconSize = 30, e.appearance.iconPadding = 10) : r.type === "image" && (e.appearance.iconSize = 48, e.appearance.iconPadding = 2, e.appearance.pinOutlineColor = "#FFFFFF", e.rank = "high")), e;
|
|
89723
89728
|
}
|
|
89724
89729
|
async function ujt(t, e) {
|
|
89725
89730
|
return (await Promise.all(e.map(async (r) => {
|
|
89726
89731
|
let i = [];
|
|
89727
89732
|
if (!EN(r)) return i;
|
|
89728
89733
|
let n = await ljt(r);
|
|
89729
|
-
return Os.is(r) ? i = r.coordinates.map((o) => t.Labels.add(o, r.name, n)) :
|
|
89734
|
+
return Os.is(r) ? i = r.coordinates.map((o) => t.Labels.add(o, r.name, n)) : rl.is(r) ? r.spaces.length > 0 && r.floorStack.name != null && r.floorStack.name !== "" && i.push(t.Labels.add(r.spaces[0], r.floorStack.name, n)) : D$t(r) && DTe(r) && i.push(t.Labels.add(r, r.name, n)), i;
|
|
89730
89735
|
}))).flat();
|
|
89731
89736
|
}
|
|
89732
89737
|
async function cjt(t, e) {
|
|
@@ -89824,7 +89829,7 @@ var BI = 0.05, ZP, GP, hjt = class extends Mo {
|
|
|
89824
89829
|
}).filter(Boolean)[0], v && v.spaces.forEach((E) => {
|
|
89825
89830
|
this.core.setState(E.id, { hovered: !0 });
|
|
89826
89831
|
})), this.lastFacadeIntersected = v;
|
|
89827
|
-
let C = { coordinate: new zt({ latitude: u.coordinate[1], longitude: u.coordinate[0], floorId: g, verticalOffset: y }), spaces: m && r2.is(m) ? [m] : [], objects: m && jd.is(m) ? [m] : [], areas: m &&
|
|
89832
|
+
let C = { coordinate: new zt({ latitude: u.coordinate[1], longitude: u.coordinate[0], floorId: g, verticalOffset: y }), spaces: m && r2.is(m) ? [m] : [], objects: m && jd.is(m) ? [m] : [], areas: m && q0.is(m) ? [m] : [], shapes: m && FP.is(m) ? [m] : [], markers: h, labels: c, models: d, paths: f, floors: A, facades: v ? [v] : [] };
|
|
89828
89833
|
"pointerEvent" in u && (C.pointerEvent = u.pointerEvent), r.publish(l, C);
|
|
89829
89834
|
};
|
|
89830
89835
|
this.core.on("hover", a("hover"), { signal: this.signal }), this.core.on("click", a("click"), { signal: this.signal }), this.core.on("user-interaction-start", () => {
|
|
@@ -89919,7 +89924,7 @@ var BI = 0.05, ZP, GP, hjt = class extends Mo {
|
|
|
89919
89924
|
let a = this.core.getState(o.id);
|
|
89920
89925
|
a != null && this.core.setState(o.id, qUt(To(Bfe, e, { warn: !0, disableValidation: n }), a));
|
|
89921
89926
|
}
|
|
89922
|
-
if (
|
|
89927
|
+
if (q0.is(o) && this.core.setState(o.id, To(Bfe, e, { warn: !0, disableValidation: n })), WPe.is(o) && this.core.setState(o.id, To(p$t, e, { warn: !0, disableValidation: n })), Zu.is(o) && this.core.setState(o.id, nV(To(iV, e, { warn: !0, disableValidation: n }), this.core.getState(o.id))), FP.is(o) && this.core.setState(o.id, u$t(To(cFe, e, { warn: !0, disableValidation: n }))), JPe.is(o)) {
|
|
89923
89928
|
let a = To(m$t, e, { warn: !0, disableValidation: n }), { position: s, scale: l, rotation: u } = a, c = dd(a, ["position", "scale", "rotation"]);
|
|
89924
89929
|
s && (c.position = [s.longitude, s.latitude, s.verticalOffset]), l != null && (Array.isArray(l) ? c.scale = l : c.scale = [l, l, l]), u != null && (Array.isArray(u) ? c.rotation = u : c.rotation = [u, u, u]), s && o.updateTarget(s), this.core.setState(o.id, c);
|
|
89925
89930
|
}
|
|
@@ -89967,7 +89972,7 @@ var BI = 0.05, ZP, GP, hjt = class extends Mo {
|
|
|
89967
89972
|
A.visible != null && a.setBatchedTextVisible(A.visible);
|
|
89968
89973
|
}
|
|
89969
89974
|
}
|
|
89970
|
-
if (
|
|
89975
|
+
if (rl.is(o)) {
|
|
89971
89976
|
let a = this.core.getState(o.id);
|
|
89972
89977
|
for (let s of a.children) s.type === "group-container" && this.core.setState(s.id, To(zUt, e, { warn: !0, disableValidation: n }));
|
|
89973
89978
|
}
|
|
@@ -90070,7 +90075,7 @@ var BI = 0.05, ZP, GP, hjt = class extends Mo {
|
|
|
90070
90075
|
if (n.type === "geometry-group" && t && typeof t != "string" && FP.is(t)) return l$t(n);
|
|
90071
90076
|
if (n.type === "path") return SUt(n);
|
|
90072
90077
|
if (n.type === "group-container" && typeof t != "string" && bu.is(t)) return JUt(n, this.currentMap.floorsById.get(t.id), this.core);
|
|
90073
|
-
if (n.type === "group-container" && n.children.length > 0 && typeof t != "string" &&
|
|
90078
|
+
if (n.type === "group-container" && n.children.length > 0 && typeof t != "string" && rl.is(t)) {
|
|
90074
90079
|
let o = this.core.getState(n.children[0].id);
|
|
90075
90080
|
return NUt(o);
|
|
90076
90081
|
}
|
|
@@ -91915,7 +91920,7 @@ const toe = [
|
|
|
91915
91920
|
Zu,
|
|
91916
91921
|
zt,
|
|
91917
91922
|
gs,
|
|
91918
|
-
|
|
91923
|
+
q0,
|
|
91919
91924
|
po
|
|
91920
91925
|
];
|
|
91921
91926
|
toe.map((t) => t.__type);
|
|
@@ -91959,7 +91964,7 @@ const ioe = {
|
|
|
91959
91964
|
return r != null && r.omitNodes && wFe(l), typeof (r == null ? void 0 : r.onMVFParsed) == "function" && r.onMVFParsed(l), CFe(l, r);
|
|
91960
91965
|
}, Ujt = async (t, e, r, i) => {
|
|
91961
91966
|
var l, u;
|
|
91962
|
-
const n = (u = (l = i == null ? void 0 : i.featureFlagStore) == null ? void 0 : l.flags[
|
|
91967
|
+
const n = (u = (l = i == null ? void 0 : i.featureFlagStore) == null ? void 0 : l.flags[X0.AUTH_URL]) == null ? void 0 : u.payload;
|
|
91963
91968
|
if (n == null || !Array.isArray(n) || n.length === 0)
|
|
91964
91969
|
throw new Error("Custom auth URL is not enabled!");
|
|
91965
91970
|
if (!n.includes(e))
|
|
@@ -94083,14 +94088,14 @@ const {
|
|
|
94083
94088
|
getOwnPropertyDescriptor: Hjt
|
|
94084
94089
|
} = Object;
|
|
94085
94090
|
let {
|
|
94086
|
-
freeze:
|
|
94091
|
+
freeze: ol,
|
|
94087
94092
|
seal: Z1,
|
|
94088
94093
|
create: bFe
|
|
94089
94094
|
} = Object, {
|
|
94090
94095
|
apply: DX,
|
|
94091
94096
|
construct: SX
|
|
94092
94097
|
} = typeof Reflect < "u" && Reflect;
|
|
94093
|
-
|
|
94098
|
+
ol || (ol = function(e) {
|
|
94094
94099
|
return e;
|
|
94095
94100
|
});
|
|
94096
94101
|
Z1 || (Z1 = function(e) {
|
|
@@ -94102,8 +94107,8 @@ DX || (DX = function(e, r, i) {
|
|
|
94102
94107
|
SX || (SX = function(e, r) {
|
|
94103
94108
|
return new e(...r);
|
|
94104
94109
|
});
|
|
94105
|
-
const TI =
|
|
94106
|
-
function
|
|
94110
|
+
const TI = al(Array.prototype.forEach), Qjt = al(Array.prototype.lastIndexOf), Jfe = al(Array.prototype.pop), LC = al(Array.prototype.push), Zjt = al(Array.prototype.splice), WP = al(String.prototype.toLowerCase), cV = al(String.prototype.toString), Kfe = al(String.prototype.match), kC = al(String.prototype.replace), Gjt = al(String.prototype.indexOf), Yjt = al(String.prototype.trim), _c = al(Object.prototype.hasOwnProperty), P0 = al(RegExp.prototype.test), RC = Wjt(TypeError);
|
|
94111
|
+
function al(t) {
|
|
94107
94112
|
return function(e) {
|
|
94108
94113
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
94109
94114
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
@@ -94148,9 +94153,9 @@ function OC(t, e) {
|
|
|
94148
94153
|
const i = Hjt(t, e);
|
|
94149
94154
|
if (i) {
|
|
94150
94155
|
if (i.get)
|
|
94151
|
-
return
|
|
94156
|
+
return al(i.get);
|
|
94152
94157
|
if (typeof i.value == "function")
|
|
94153
|
-
return
|
|
94158
|
+
return al(i.value);
|
|
94154
94159
|
}
|
|
94155
94160
|
t = Vjt(t);
|
|
94156
94161
|
}
|
|
@@ -94159,7 +94164,7 @@ function OC(t, e) {
|
|
|
94159
94164
|
}
|
|
94160
94165
|
return r;
|
|
94161
94166
|
}
|
|
94162
|
-
const qfe =
|
|
94167
|
+
const qfe = ol(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), hV = ol(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), dV = ol(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Jjt = ol(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), fV = ol(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Kjt = ol(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), e3e = ol(["#text"]), t3e = ol(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), pV = ol(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), r3e = ol(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), PI = ol(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), qjt = Z1(/\{\{[\w\W]*|[\w\W]*\}\}/gm), eVt = Z1(/<%[\w\W]*|[\w\W]*%>/gm), tVt = Z1(/\$\{[\w\W]*/gm), rVt = Z1(/^data-[\-\w.\u00B7-\uFFFF]+$/), iVt = Z1(/^aria-[\-\w]+$/), EFe = Z1(
|
|
94163
94168
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
94164
94169
|
// eslint-disable-line no-useless-escape
|
|
94165
94170
|
), nVt = Z1(/^(?:\w+script|data):/i), oVt = Z1(
|
|
@@ -94318,7 +94323,7 @@ function DFe() {
|
|
|
94318
94323
|
C = Re.TRUSTED_TYPES_POLICY, E = C.createHTML("");
|
|
94319
94324
|
} else
|
|
94320
94325
|
C === void 0 && (C = lVt(f, n)), C !== null && typeof E == "string" && (E = C.createHTML(""));
|
|
94321
|
-
|
|
94326
|
+
ol && ol(Re), bt = Re;
|
|
94322
94327
|
}
|
|
94323
94328
|
}, Sr = fn({}, [...hV, ...dV, ...Jjt]), _i = fn({}, [...fV, ...Kjt]), cn = function(Re) {
|
|
94324
94329
|
let ot = v(Re);
|
|
@@ -94593,7 +94598,7 @@ function DFe() {
|
|
|
94593
94598
|
var uVt = DFe();
|
|
94594
94599
|
const SFe = () => {
|
|
94595
94600
|
let t = document.querySelector("meta[name=app-version]");
|
|
94596
|
-
t == null && (t = document.createElement("meta"), t.name = "app-version", document.head.appendChild(t)), t.content = "0.57.
|
|
94601
|
+
t == null && (t = document.createElement("meta"), t.name = "app-version", document.head.appendChild(t)), t.content = "0.57.2";
|
|
94597
94602
|
let e = document.querySelector("meta[name=viewport]");
|
|
94598
94603
|
e == null && (e = document.createElement("meta"), e.name = "viewport", document.head.appendChild(e)), e.content = "width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no";
|
|
94599
94604
|
}, IFe = (t) => {
|
|
@@ -94956,17 +94961,17 @@ class gV {
|
|
|
94956
94961
|
}
|
|
94957
94962
|
}
|
|
94958
94963
|
pg = new WeakMap(), TE = new WeakMap();
|
|
94959
|
-
var
|
|
94964
|
+
var xl, qR, g5, Qn, kFe, RFe, DA, XP, JP, L9, h_;
|
|
94960
94965
|
class u3e {
|
|
94961
94966
|
/**
|
|
94962
94967
|
* Create a new OpeningHours object.
|
|
94963
94968
|
*/
|
|
94964
94969
|
constructor(e, r) {
|
|
94965
94970
|
_h(this, Qn);
|
|
94966
|
-
_h(this,
|
|
94971
|
+
_h(this, xl);
|
|
94967
94972
|
_h(this, qR);
|
|
94968
94973
|
_h(this, g5);
|
|
94969
|
-
xh(this,
|
|
94974
|
+
xh(this, xl, [
|
|
94970
94975
|
vp(e[0]),
|
|
94971
94976
|
vp(e[1]),
|
|
94972
94977
|
vp(e[2]),
|
|
@@ -94996,7 +95001,7 @@ class u3e {
|
|
|
94996
95001
|
* date is provided, the current date is used.
|
|
94997
95002
|
*/
|
|
94998
95003
|
toLocaleStrings(e, r = /* @__PURE__ */ new Date()) {
|
|
94999
|
-
const i = Ko(this,
|
|
95004
|
+
const i = Ko(this, xl).map((n, o) => {
|
|
95000
95005
|
let a = "";
|
|
95001
95006
|
if (n == null)
|
|
95002
95007
|
a = wi.t("operation-hours.closed");
|
|
@@ -95014,13 +95019,13 @@ class u3e {
|
|
|
95014
95019
|
* Return true if the opening hours are open 24/7.
|
|
95015
95020
|
*/
|
|
95016
95021
|
isOpen247() {
|
|
95017
|
-
return Ko(this,
|
|
95022
|
+
return Ko(this, xl).every((e) => e != null && e.length === 2 && e[0].isEqual(e[1]));
|
|
95018
95023
|
}
|
|
95019
95024
|
/**
|
|
95020
95025
|
* Return true if the opening hours are always closed.
|
|
95021
95026
|
*/
|
|
95022
95027
|
isClosed247() {
|
|
95023
|
-
return Ko(this,
|
|
95028
|
+
return Ko(this, xl).every((e) => e == null);
|
|
95024
95029
|
}
|
|
95025
95030
|
/**
|
|
95026
95031
|
* Returns true if a given {@link Date} is within the opening hours. Defaults to checking the
|
|
@@ -95133,11 +95138,11 @@ class u3e {
|
|
|
95133
95138
|
return s != null && l != null ? new gV(s, l) : null;
|
|
95134
95139
|
}
|
|
95135
95140
|
}
|
|
95136
|
-
|
|
95137
|
-
return Ko(this,
|
|
95141
|
+
xl = new WeakMap(), qR = new WeakMap(), g5 = new WeakMap(), Qn = new WeakSet(), kFe = function() {
|
|
95142
|
+
return Ko(this, xl).map((e) => [(e == null ? void 0 : e[0]) ?? null, (e == null ? void 0 : e[2]) ?? null]);
|
|
95138
95143
|
}, RFe = function() {
|
|
95139
|
-
return Ko(this,
|
|
95140
|
-
const i = Ko(this,
|
|
95144
|
+
return Ko(this, xl).map((e, r) => {
|
|
95145
|
+
const i = Ko(this, xl)[r === 0 ? 6 : r - 1], n = Ko(this, xl)[r === 6 ? 0 : r + 1], o = xa(this, Qn, L9).call(this, e) != null;
|
|
95141
95146
|
let s = i ? xa(this, Qn, L9).call(this, i) : null;
|
|
95142
95147
|
const l = e == null ? void 0 : e[0];
|
|
95143
95148
|
let u = (e == null ? void 0 : e[1]) ?? null;
|
|
@@ -95151,7 +95156,7 @@ _l = new WeakMap(), qR = new WeakMap(), g5 = new WeakMap(), Qn = new WeakSet(),
|
|
|
95151
95156
|
d != null && h.isMidnight() && d.isMidnight()) && (h = null), [s, u, h];
|
|
95152
95157
|
});
|
|
95153
95158
|
}, DA = function(e) {
|
|
95154
|
-
const { dayOfWeek: r, hours: i, minutes: n } = Ix(Ko(this, g5), e), o = new A4(i, n), a = r === 0 ? 6 : r - 1, s = Ko(this,
|
|
95159
|
+
const { dayOfWeek: r, hours: i, minutes: n } = Ix(Ko(this, g5), e), o = new A4(i, n), a = r === 0 ? 6 : r - 1, s = Ko(this, xl)[a], l = Ko(this, xl)[r], u = r === 6 ? 0 : r + 1, c = Ko(this, xl)[u];
|
|
95155
95160
|
return {
|
|
95156
95161
|
previousDayTimes: s,
|
|
95157
95162
|
currentDayTimes: l,
|
|
@@ -96550,7 +96555,7 @@ function JVt(t) {
|
|
|
96550
96555
|
};
|
|
96551
96556
|
}, e;
|
|
96552
96557
|
}
|
|
96553
|
-
var FX = JVt, KVt = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, wV = Math.ceil, o1 = Math.floor,
|
|
96558
|
+
var FX = JVt, KVt = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, wV = Math.ceil, o1 = Math.floor, wl = "[BigNumber Error] ", p3e = wl + "Number primitive has more than 15 significant digits: ", ac = 1e14, Pi = 14, A3e = 9007199254740991, _V = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], Cp = 1e7, iu = 1e9;
|
|
96554
96559
|
function jFe(t) {
|
|
96555
96560
|
var e, r, i, n = y.prototype = { constructor: y, toString: null, valueOf: null }, o = new y(1), a = 20, s = 4, l = -7, u = 21, c = -1e7, h = 1e7, d = !1, f = 1, p = 0, m = {
|
|
96556
96561
|
prefix: "",
|
|
@@ -96639,28 +96644,28 @@ function jFe(t) {
|
|
|
96639
96644
|
else if (ba(D, -1e9, iu, b), D)
|
|
96640
96645
|
c = -(h = D < 0 ? -D : D);
|
|
96641
96646
|
else
|
|
96642
|
-
throw Error(
|
|
96647
|
+
throw Error(wl + b + " cannot be zero: " + D);
|
|
96643
96648
|
if (x.hasOwnProperty(b = "CRYPTO"))
|
|
96644
96649
|
if (D = x[b], D === !!D)
|
|
96645
96650
|
if (D)
|
|
96646
96651
|
if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes))
|
|
96647
96652
|
d = D;
|
|
96648
96653
|
else
|
|
96649
|
-
throw d = !D, Error(
|
|
96654
|
+
throw d = !D, Error(wl + "crypto unavailable");
|
|
96650
96655
|
else
|
|
96651
96656
|
d = D;
|
|
96652
96657
|
else
|
|
96653
|
-
throw Error(
|
|
96658
|
+
throw Error(wl + b + " not true or false: " + D);
|
|
96654
96659
|
if (x.hasOwnProperty(b = "MODULO_MODE") && (D = x[b], ba(D, 0, 9, b), f = D), x.hasOwnProperty(b = "POW_PRECISION") && (D = x[b], ba(D, 0, iu, b), p = D), x.hasOwnProperty(b = "FORMAT"))
|
|
96655
96660
|
if (D = x[b], typeof D == "object") m = D;
|
|
96656
|
-
else throw Error(
|
|
96661
|
+
else throw Error(wl + b + " not an object: " + D);
|
|
96657
96662
|
if (x.hasOwnProperty(b = "ALPHABET"))
|
|
96658
96663
|
if (D = x[b], typeof D == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(D))
|
|
96659
96664
|
g = D.slice(0, 10) == "0123456789", A = D;
|
|
96660
96665
|
else
|
|
96661
|
-
throw Error(
|
|
96666
|
+
throw Error(wl + b + " invalid: " + D);
|
|
96662
96667
|
} else
|
|
96663
|
-
throw Error(
|
|
96668
|
+
throw Error(wl + "Object expected: " + x);
|
|
96664
96669
|
return {
|
|
96665
96670
|
DECIMAL_PLACES: a,
|
|
96666
96671
|
ROUNDING_MODE: s,
|
|
@@ -96690,7 +96695,7 @@ function jFe(t) {
|
|
|
96690
96695
|
}
|
|
96691
96696
|
} else if (T === null && I === null && (F === null || F === 1 || F === -1))
|
|
96692
96697
|
return !0;
|
|
96693
|
-
throw Error(
|
|
96698
|
+
throw Error(wl + "Invalid BigNumber: " + x);
|
|
96694
96699
|
}, y.maximum = y.max = function() {
|
|
96695
96700
|
return C(arguments, -1);
|
|
96696
96701
|
}, y.minimum = y.min = function() {
|
|
@@ -96713,7 +96718,7 @@ function jFe(t) {
|
|
|
96713
96718
|
k = (T[z] & 31) * 281474976710656 + T[z + 1] * 1099511627776 + T[z + 2] * 4294967296 + T[z + 3] * 16777216 + (T[z + 4] << 16) + (T[z + 5] << 8) + T[z + 6], k >= 9e15 ? crypto.randomBytes(7).copy(T, z) : (j.push(k % 1e14), z += 7);
|
|
96714
96719
|
z = B / 7;
|
|
96715
96720
|
} else
|
|
96716
|
-
throw d = !1, Error(
|
|
96721
|
+
throw d = !1, Error(wl + "crypto unavailable");
|
|
96717
96722
|
if (!d)
|
|
96718
96723
|
for (; z < B; )
|
|
96719
96724
|
k = b(), k < 9e15 && (j[z++] = k % 1e14);
|
|
@@ -96860,7 +96865,7 @@ function jFe(t) {
|
|
|
96860
96865
|
}), z && (j = z, U = U.replace(b, "$1").replace(D, "0.$1")), B != U))
|
|
96861
96866
|
return new y(U, j);
|
|
96862
96867
|
if (y.DEBUG)
|
|
96863
|
-
throw Error(
|
|
96868
|
+
throw Error(wl + "Not a" + (z ? " base " + z : "") + " number: " + B);
|
|
96864
96869
|
F.s = null;
|
|
96865
96870
|
}
|
|
96866
96871
|
F.c = F.e = null;
|
|
@@ -96929,7 +96934,7 @@ function jFe(t) {
|
|
|
96929
96934
|
}, n.exponentiatedBy = n.pow = function(x, b) {
|
|
96930
96935
|
var D, T, I, F, B, k, z, j, U, Y = this;
|
|
96931
96936
|
if (x = new y(x), x.c && !x.isInteger())
|
|
96932
|
-
throw Error(
|
|
96937
|
+
throw Error(wl + "Exponent not an integer: " + S(x));
|
|
96933
96938
|
if (b != null && (b = new y(b)), k = x.e > 14, !Y.c || !Y.c[0] || Y.c[0] == 1 && !Y.e && Y.c.length == 1 || !x.c || !x.c[0])
|
|
96934
96939
|
return U = new y(Math.pow(+S(Y), k ? x.s * (2 - zI(x)) : +S(x))), b ? U.mod(b) : U;
|
|
96935
96940
|
if (z = x.s < 0, b) {
|
|
@@ -97089,7 +97094,7 @@ function jFe(t) {
|
|
|
97089
97094
|
if (D == null)
|
|
97090
97095
|
x != null && b && typeof b == "object" ? (D = b, b = null) : x && typeof x == "object" ? (D = x, x = b = null) : D = m;
|
|
97091
97096
|
else if (typeof D != "object")
|
|
97092
|
-
throw Error(
|
|
97097
|
+
throw Error(wl + "Argument not an object: " + D);
|
|
97093
97098
|
if (T = I.toFixed(x, b), I.c) {
|
|
97094
97099
|
var F, B = T.split("."), k = +D.groupSize, z = +D.secondaryGroupSize, j = D.groupSeparator || "", U = B[0], Y = B[1], W = I.s < 0, H = W ? U.slice(1) : U, ie = H.length;
|
|
97095
97100
|
if (z && (F = k, k = z, z = F, ie -= F), k > 0 && ie > 0) {
|
|
@@ -97105,7 +97110,7 @@ function jFe(t) {
|
|
|
97105
97110
|
}, n.toFraction = function(x) {
|
|
97106
97111
|
var b, D, T, I, F, B, k, z, j, U, Y, W, H = this, ie = H.c;
|
|
97107
97112
|
if (x != null && (k = new y(x), !k.isInteger() && (k.c || k.s !== 1) || k.lt(o)))
|
|
97108
|
-
throw Error(
|
|
97113
|
+
throw Error(wl + "Argument " + (k.isInteger() ? "out of range: " : "not an integer: ") + S(k));
|
|
97109
97114
|
if (!ie) return new y(H);
|
|
97110
97115
|
for (b = new y(o), j = D = new y(o), T = z = new y(o), W = Ju(ie), F = b.e = W.length - H.e - 1, b.c[0] = _V[(B = F % Pi) < 0 ? Pi + B : B], x = !x || k.comparedTo(b) > 0 ? F > 0 ? b : j : k, B = h, h = 1 / 0, k = new y(W), z.c[0] = 0; U = e(k, b, 0, 1), I = D.plus(U.times(T)), I.comparedTo(x) != 1; )
|
|
97111
97116
|
D = T, T = I, j = z.plus(U.times(I = j)), z = I, b = k.minus(U.times(I = b)), k = I;
|
|
@@ -97147,7 +97152,7 @@ function nA(t, e) {
|
|
|
97147
97152
|
}
|
|
97148
97153
|
function ba(t, e, r, i) {
|
|
97149
97154
|
if (t < e || t > r || t !== o1(t))
|
|
97150
|
-
throw Error(
|
|
97155
|
+
throw Error(wl + (i || "Argument") + (typeof t == "number" ? t < e || t > r ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(t));
|
|
97151
97156
|
}
|
|
97152
97157
|
function zI(t) {
|
|
97153
97158
|
var e = t.c.length - 1;
|
|
@@ -100270,7 +100275,7 @@ class aZt {
|
|
|
100270
100275
|
this.toastId != null && Eu.hide(this.toastId);
|
|
100271
100276
|
}
|
|
100272
100277
|
update() {
|
|
100273
|
-
if (this.hide(), this.rootStore.featureFlagStore.flags[
|
|
100278
|
+
if (this.hide(), this.rootStore.featureFlagStore.flags[X0.SIMILAR_PLACES_TOAST].variant === !1 || this.rootStore.similarPlaces == null || this.rootStore.selectedPlaces == null)
|
|
100274
100279
|
return;
|
|
100275
100280
|
const e = this.rootStore.similarPlaces.length;
|
|
100276
100281
|
if (e === 0)
|
|
@@ -100547,7 +100552,7 @@ class cZt {
|
|
|
100547
100552
|
}
|
|
100548
100553
|
update() {
|
|
100549
100554
|
var r;
|
|
100550
|
-
if (this.hide(), this.rootStore.featureFlagStore.flags[
|
|
100555
|
+
if (this.hide(), this.rootStore.featureFlagStore.flags[X0.NOTHING_ON_FLOOR_TOAST].variant === !1 || this.firstFloorWithThings == null || this.firstFloorWithThings === this.rootStore.currentFloor)
|
|
100551
100556
|
return;
|
|
100552
100557
|
const e = (r = this.importantThingsByFloorId[this.firstFloorWithThings.id]) == null ? void 0 : r[0];
|
|
100553
100558
|
e != null && (JHt(e) ? this.show("see-selected", this.rootStore.uiStore.getDisplayName(e)) : this.rootStore.mapStore.directions.goesOutside || this.show("see-directions"));
|
|
@@ -100684,7 +100689,7 @@ class fZt {
|
|
|
100684
100689
|
}
|
|
100685
100690
|
)
|
|
100686
100691
|
), document.addEventListener("keydown", this.handleDocumentKeyDown);
|
|
100687
|
-
const i = this.rootStore.mapId ? this.rootStore.featureFlagStore.flags[
|
|
100692
|
+
const i = this.rootStore.mapId ? this.rootStore.featureFlagStore.flags[X0.DEFAULT_LANGUAGE].payload[this.rootStore.mapId] : "en";
|
|
100688
100693
|
i != null && i !== "en" && this.setLanguage(i);
|
|
100689
100694
|
}
|
|
100690
100695
|
handleEscapeKey() {
|
|
@@ -100892,7 +100897,7 @@ class fZt {
|
|
|
100892
100897
|
}
|
|
100893
100898
|
get makerPopUpVisible() {
|
|
100894
100899
|
const e = !!(this.makerPopUpDismissed || qGe(fZ.MAKER_POP_UP_DISMISSED));
|
|
100895
|
-
return !this.rootStore.isKioskModeEnabled && !this.rootStore.isAppMobile && !e && this.theme.map.watermarkVisible && this.rootStore.featureFlagStore.flags[
|
|
100900
|
+
return !this.rootStore.isKioskModeEnabled && !this.rootStore.isAppMobile && !e && this.theme.map.watermarkVisible && this.rootStore.featureFlagStore.flags[X0.MAKER_POP_UP].variant === !0;
|
|
100896
100901
|
}
|
|
100897
100902
|
get metadataCardVisible() {
|
|
100898
100903
|
return this.locationCardStore.visible;
|
|
@@ -100909,7 +100914,7 @@ class fZt {
|
|
|
100909
100914
|
return !(!(this.rootStore.nonEmptyFloors.length > 1) || new Set(this.rootStore.data.getByType("connection").map((i) => i.type)).size < 2);
|
|
100910
100915
|
}
|
|
100911
100916
|
get safetyButtonVisible() {
|
|
100912
|
-
return this.rootStore.featureFlagStore.flags[
|
|
100917
|
+
return this.rootStore.featureFlagStore.flags[X0.SAFETY_MODE].variant ? this.rootStore.data.getByType("annotation").length > 0 : !1;
|
|
100913
100918
|
}
|
|
100914
100919
|
get timeoutModalEnabled() {
|
|
100915
100920
|
return this.rootStore.isKioskModeEnabled && (this.rootStore.state !== Nr.START || this.rootStore.selectedPlaces != null || this.searchQuery.length > 0 || !this.rootStore.mapStore.camera.isCameraReset);
|
|
@@ -102126,12 +102131,12 @@ class WZt {
|
|
|
102126
102131
|
const r = this.rootStore.selectedPlaces.filter(
|
|
102127
102132
|
(i) => {
|
|
102128
102133
|
var n;
|
|
102129
|
-
return !(zt.is(i) && ((n = this.rootStore.youAreHere) != null && n.isEqual(i))) && !gs.is(i) && !
|
|
102134
|
+
return !(zt.is(i) && ((n = this.rootStore.youAreHere) != null && n.isEqual(i))) && !gs.is(i) && !q0.is(i);
|
|
102130
102135
|
}
|
|
102131
102136
|
);
|
|
102132
102137
|
for (const i of r) {
|
|
102133
102138
|
const n = NN(i, {
|
|
102134
|
-
excludeFromLocations: [gs,
|
|
102139
|
+
excludeFromLocations: [gs, q0]
|
|
102135
102140
|
});
|
|
102136
102141
|
for (const o of n) {
|
|
102137
102142
|
const a = this.rootStore.uiStore.getDisplayName(i, {
|
|
@@ -102497,7 +102502,7 @@ class WZt {
|
|
|
102497
102502
|
gs.is(r.target) && ((i = this.mapStore.mapView) == null || i.updateState(e, {
|
|
102498
102503
|
rank: this.getAnnotationRank(r.target),
|
|
102499
102504
|
interactive: "pointer-events-auto"
|
|
102500
|
-
})),
|
|
102505
|
+
})), q0.is(r.target) && ((n = this.mapStore.mapView) == null || n.updateState(e, {
|
|
102501
102506
|
rank: this.getAreaRank(r.target),
|
|
102502
102507
|
interactive: "pointer-events-auto"
|
|
102503
102508
|
}));
|
|
@@ -102619,7 +102624,7 @@ class KZt {
|
|
|
102619
102624
|
get areaIdsToHighlight() {
|
|
102620
102625
|
const e = /* @__PURE__ */ new Set();
|
|
102621
102626
|
for (const r of this.rootStore.selectedPlaces ?? [])
|
|
102622
|
-
|
|
102627
|
+
q0.is(r) && e.add(r.id);
|
|
102623
102628
|
return e;
|
|
102624
102629
|
}
|
|
102625
102630
|
get placeIdsToHighlight() {
|
|
@@ -102875,28 +102880,28 @@ class eGt {
|
|
|
102875
102880
|
try {
|
|
102876
102881
|
this.rootStore.analyticsStore.capture("get-directions", {
|
|
102877
102882
|
mode: this.rootStore.departureMode,
|
|
102878
|
-
fromIds: this.rootStore.departures.map((
|
|
102879
|
-
toIds: this.rootStore.selectedPlaces.map((
|
|
102883
|
+
fromIds: this.rootStore.departures.map((h) => h.id),
|
|
102884
|
+
toIds: this.rootStore.selectedPlaces.map((h) => h.id)
|
|
102880
102885
|
});
|
|
102881
|
-
const s = {
|
|
102886
|
+
const s = this.rootStore.featureFlagStore.flags[X0.PATH_SMOOTHING_ALGORITHM].payload, l = {
|
|
102882
102887
|
accessible: this.rootStore.isAccessible,
|
|
102883
102888
|
smoothing: {
|
|
102884
102889
|
enabled: !0,
|
|
102885
|
-
__EXPERIMENTAL_METHOD:
|
|
102890
|
+
__EXPERIMENTAL_METHOD: s
|
|
102886
102891
|
}
|
|
102887
|
-
},
|
|
102892
|
+
}, u = ((n = (i = this.rootStore.startupOptions).getDirectionsOptions) == null ? void 0 : n.call(i, e, r, l)) ?? l, c = this.rootStore.onlineDirections ? await vVt(
|
|
102888
102893
|
this.rootStore.mapId,
|
|
102889
102894
|
this.rootStore.configId,
|
|
102890
102895
|
this.rootStore.data.internal,
|
|
102891
102896
|
e,
|
|
102892
102897
|
r,
|
|
102893
|
-
|
|
102894
|
-
) : await this.mapStore.mapView.getDirections(e, r,
|
|
102895
|
-
|
|
102896
|
-
this.directions =
|
|
102897
|
-
}), (a = (o = this.rootStore.startupOptions).onReceivedDirections) == null || a.call(o,
|
|
102898
|
+
u
|
|
102899
|
+
) : await this.mapStore.mapView.getDirections(e, r, u);
|
|
102900
|
+
Ul(() => {
|
|
102901
|
+
this.directions = c, this.loading = !1;
|
|
102902
|
+
}), (a = (o = this.rootStore.startupOptions).onReceivedDirections) == null || a.call(o, c);
|
|
102898
102903
|
} catch {
|
|
102899
|
-
|
|
102904
|
+
Ul(() => {
|
|
102900
102905
|
this.loading = !1;
|
|
102901
102906
|
});
|
|
102902
102907
|
}
|
|
@@ -105088,7 +105093,7 @@ class bYt {
|
|
|
105088
105093
|
left: 0
|
|
105089
105094
|
});
|
|
105090
105095
|
_e(this, "updateCameraState", oF((e) => {
|
|
105091
|
-
|
|
105096
|
+
Ul(() => {
|
|
105092
105097
|
this.debouncedCameraState = e;
|
|
105093
105098
|
});
|
|
105094
105099
|
}, _Yt));
|
|
@@ -105250,7 +105255,7 @@ class bYt {
|
|
|
105250
105255
|
if (e == null)
|
|
105251
105256
|
return;
|
|
105252
105257
|
this.cameraMovingStartTime == null && (this.cameraMovingStartTime = Date.now()), this.cameraChangeTimeout != null && clearTimeout(this.cameraChangeTimeout), this.cameraChangeTimeout = setTimeout(() => {
|
|
105253
|
-
|
|
105258
|
+
Ul(() => {
|
|
105254
105259
|
this.cameraMovingStartTime = void 0;
|
|
105255
105260
|
});
|
|
105256
105261
|
}, wYt);
|
|
@@ -105522,7 +105527,7 @@ class EYt {
|
|
|
105522
105527
|
)
|
|
105523
105528
|
), this.reactionDisposers.push(
|
|
105524
105529
|
Di(() => [this.mapStore.mapView, this.labelImagesProcessed], this.initialize)
|
|
105525
|
-
), this.reactionDisposers.push(H5(() => this.rootStore.featureFlagStore.initialized, this.initialize)), this.reactionDisposers.push(Di(() => this.rootStore.uiStore.theme, this.syncLabelStateWithTheme)), this.rootStore.featureFlagStore.flags[
|
|
105530
|
+
), this.reactionDisposers.push(H5(() => this.rootStore.featureFlagStore.initialized, this.initialize)), this.reactionDisposers.push(Di(() => this.rootStore.uiStore.theme, this.syncLabelStateWithTheme)), this.rootStore.featureFlagStore.flags[X0.PREPROCESS_IMAGE_LABELS].variant === !0 && this.updateImageLabelDarkness();
|
|
105526
105531
|
}
|
|
105527
105532
|
async syncLabelStateWithTheme() {
|
|
105528
105533
|
if (this.mapStore.mapView == null)
|
|
@@ -105563,7 +105568,7 @@ class EYt {
|
|
|
105563
105568
|
textOutlineColor: this.rootStore.uiStore.theme.colors.map.labels.background,
|
|
105564
105569
|
pinColor: this.rootStore.uiStore.theme.colors.map.labels.default
|
|
105565
105570
|
}
|
|
105566
|
-
}), await Promise.all(e),
|
|
105571
|
+
}), await Promise.all(e), Ul(() => {
|
|
105567
105572
|
this.syncedWithTheme = !0;
|
|
105568
105573
|
});
|
|
105569
105574
|
}
|
|
@@ -105584,13 +105589,13 @@ class EYt {
|
|
|
105584
105589
|
} catch (e) {
|
|
105585
105590
|
Jt.error("Failed to process images for labelling", e);
|
|
105586
105591
|
} finally {
|
|
105587
|
-
|
|
105592
|
+
Ul(() => {
|
|
105588
105593
|
this.labelImagesProcessed = !0;
|
|
105589
105594
|
});
|
|
105590
105595
|
}
|
|
105591
105596
|
}
|
|
105592
105597
|
async initialize() {
|
|
105593
|
-
this.initialized || this.mapStore.mapView != null && (this.labelMapName(), this.labelFloorStacks(), await this.labelPlaces(), Jt.log("Labels initialized!"),
|
|
105598
|
+
this.initialized || this.mapStore.mapView != null && (this.labelMapName(), this.labelFloorStacks(), await this.labelPlaces(), Jt.log("Labels initialized!"), Ul(() => {
|
|
105594
105599
|
this.initialized = !0;
|
|
105595
105600
|
}));
|
|
105596
105601
|
}
|
|
@@ -105648,7 +105653,7 @@ class EYt {
|
|
|
105648
105653
|
}
|
|
105649
105654
|
async labelPlace(e) {
|
|
105650
105655
|
var i;
|
|
105651
|
-
if (this.mapStore.mapView == null || this.rootStore.currentFloor == null || zt.is(e) || po.is(e) ||
|
|
105656
|
+
if (this.mapStore.mapView == null || this.rootStore.currentFloor == null || zt.is(e) || po.is(e) || q0.is(e) || gs.is(e) || this.rootStore.resolveFacade(e.id) != null)
|
|
105652
105657
|
return;
|
|
105653
105658
|
const r = [];
|
|
105654
105659
|
if (Os.is(e))
|
|
@@ -106961,12 +106966,12 @@ var oke = class {
|
|
|
106961
106966
|
}
|
|
106962
106967
|
};
|
|
106963
106968
|
ii(oke, "PubSub");
|
|
106964
|
-
var mWt = oke, jh, vF, TA, u1,
|
|
106969
|
+
var mWt = oke, jh, vF, TA, u1, Cl, Rf, M_, D_, ake = class {
|
|
106965
106970
|
constructor(e, r) {
|
|
106966
|
-
d0(this, "__type", "building"), Fi(this, jh), Fi(this, vF, /* @__PURE__ */ new Map()), Fi(this, TA, /* @__PURE__ */ new Map()), Fi(this, u1, []), Fi(this,
|
|
106971
|
+
d0(this, "__type", "building"), Fi(this, jh), Fi(this, vF, /* @__PURE__ */ new Map()), Fi(this, TA, /* @__PURE__ */ new Map()), Fi(this, u1, []), Fi(this, Cl), Fi(this, Rf), d0(this, "defaultFloor"), d0(this, "activeFloor"), d0(this, "excluded", !1), d0(this, "floorsAltitudesMap", /* @__PURE__ */ new Map()), d0(this, "aboveGroundFloors", []), Fi(this, M_), Fi(this, D_);
|
|
106967
106972
|
var i;
|
|
106968
|
-
Li(this, jh, e), Li(this, vF, new Map(e.floors.map((o) => [o.id, o]))), Li(this, TA, new Map(e.floors.map((o) => [o.elevation, o]))), Li(this, u1, Array.from(Ke(this, TA).values()).sort((o, a) => o.elevation - a.elevation)), this.defaultFloor = e.defaultFloor, this.activeFloor = this.defaultFloor, Li(this,
|
|
106969
|
-
let n = (i = e.facade) == null ? void 0 : i.spaces.map((o) => Ke(this,
|
|
106973
|
+
Li(this, jh, e), Li(this, vF, new Map(e.floors.map((o) => [o.id, o]))), Li(this, TA, new Map(e.floors.map((o) => [o.elevation, o]))), Li(this, u1, Array.from(Ke(this, TA).values()).sort((o, a) => o.elevation - a.elevation)), this.defaultFloor = e.defaultFloor, this.activeFloor = this.defaultFloor, Li(this, Cl, r), this.aboveGroundFloors = Ke(this, u1).filter((o) => o.elevation >= 0);
|
|
106974
|
+
let n = (i = e.facade) == null ? void 0 : i.spaces.map((o) => Ke(this, Cl).getState(o)).sort((o, a) => o.altitude - a.altitude);
|
|
106970
106975
|
if (n && n.length === this.aboveGroundFloors.length) for (let o in this.aboveGroundFloors) {
|
|
106971
106976
|
let a = this.aboveGroundFloors[o], s = n[o];
|
|
106972
106977
|
this.floorsAltitudesMap.set(a.elevation, { altitude: s.altitude, effectiveHeight: s.height });
|
|
@@ -106988,10 +106993,10 @@ var mWt = oke, jh, vF, TA, u1, vl, Rf, M_, D_, ake = class {
|
|
|
106988
106993
|
return Ke(this, jh).facade;
|
|
106989
106994
|
}
|
|
106990
106995
|
get isCurrentFloorStack() {
|
|
106991
|
-
return this.id === Ke(this,
|
|
106996
|
+
return this.id === Ke(this, Cl).currentFloorStack.id;
|
|
106992
106997
|
}
|
|
106993
106998
|
get isIndoor() {
|
|
106994
|
-
let e = Ke(this,
|
|
106999
|
+
let e = Ke(this, Cl).getState(this.facade);
|
|
106995
107000
|
return this.isCurrentFloorStack || (e == null ? void 0 : e.visible) === !1 && (e == null ? void 0 : e.opacity) === 0;
|
|
106996
107001
|
}
|
|
106997
107002
|
get canSetFloor() {
|
|
@@ -107004,7 +107009,7 @@ var mWt = oke, jh, vF, TA, u1, vl, Rf, M_, D_, ake = class {
|
|
|
107004
107009
|
return Ke(this, D_) == null && Li(this, D_, Math.min(...Ke(this, TA).keys())), Ke(this, D_);
|
|
107005
107010
|
}
|
|
107006
107011
|
has(e) {
|
|
107007
|
-
return bu.is(e) ? Ke(this, vF).has(e.id) : YM.is(e) ? e.id === Ke(this, jh).id :
|
|
107012
|
+
return bu.is(e) ? Ke(this, vF).has(e.id) : YM.is(e) ? e.id === Ke(this, jh).id : rl.is(e) ? e.id === this.facade.id : !1;
|
|
107008
107013
|
}
|
|
107009
107014
|
getFloorByElevation(e) {
|
|
107010
107015
|
return Ke(this, TA).get(e);
|
|
@@ -107031,24 +107036,24 @@ var mWt = oke, jh, vF, TA, u1, vl, Rf, M_, D_, ake = class {
|
|
|
107031
107036
|
}
|
|
107032
107037
|
async animateFacade(e, r = { duration: 150 }) {
|
|
107033
107038
|
var i;
|
|
107034
|
-
let n = ((i = Ke(this, Rf)) == null ? void 0 : i.state) || Ke(this,
|
|
107039
|
+
let n = ((i = Ke(this, Rf)) == null ? void 0 : i.state) || Ke(this, Cl).getState(this.facade);
|
|
107035
107040
|
if (!n || !e || (n == null ? void 0 : n.opacity) === e.opacity && (n == null ? void 0 : n.visible) === e.visible) return { result: "completed" };
|
|
107036
107041
|
this.cancelAnimation();
|
|
107037
107042
|
let { opacity: o, visible: a } = e;
|
|
107038
|
-
if (Ke(this,
|
|
107039
|
-
Li(this, Rf, { animation: Ke(this,
|
|
107043
|
+
if (Ke(this, Cl).updateState(this.facade, { visible: !0 }), o !== void 0) {
|
|
107044
|
+
Li(this, Rf, { animation: Ke(this, Cl).animateState(this.facade, { opacity: o }, { duration: r.duration }), state: e });
|
|
107040
107045
|
let s = await Ke(this, Rf).animation;
|
|
107041
107046
|
if (Li(this, Rf, void 0), s.result === "cancelled") return s;
|
|
107042
107047
|
}
|
|
107043
|
-
return a === !1 && Ke(this,
|
|
107048
|
+
return a === !1 && Ke(this, Cl).updateState(this.facade, { visible: a }), { result: "completed" };
|
|
107044
107049
|
}
|
|
107045
107050
|
destroy() {
|
|
107046
107051
|
this.cancelAnimation(), Ke(this, jh).floors.forEach((e) => {
|
|
107047
|
-
Ke(this,
|
|
107048
|
-
}), this.has(Ke(this,
|
|
107052
|
+
Ke(this, Cl).updateState(e, { visible: e.id === Ke(this, Cl).currentFloor.id });
|
|
107053
|
+
}), this.has(Ke(this, Cl).currentFloor) || Ke(this, Cl).updateState(this.facade, { visible: !0, opacity: 1 });
|
|
107049
107054
|
}
|
|
107050
107055
|
};
|
|
107051
|
-
jh = /* @__PURE__ */ new WeakMap(), vF = /* @__PURE__ */ new WeakMap(), TA = /* @__PURE__ */ new WeakMap(), u1 = /* @__PURE__ */ new WeakMap(),
|
|
107056
|
+
jh = /* @__PURE__ */ new WeakMap(), vF = /* @__PURE__ */ new WeakMap(), TA = /* @__PURE__ */ new WeakMap(), u1 = /* @__PURE__ */ new WeakMap(), Cl = /* @__PURE__ */ new WeakMap(), Rf = /* @__PURE__ */ new WeakMap(), M_ = /* @__PURE__ */ new WeakMap(), D_ = /* @__PURE__ */ new WeakMap(), ii(ake, "Building");
|
|
107052
107057
|
var gWt = ake;
|
|
107053
107058
|
function ske(t, e, r) {
|
|
107054
107059
|
return t >= e ? "in-range" : t <= r ? "out-of-range" : "transition";
|
|
@@ -107644,7 +107649,7 @@ class BWt {
|
|
|
107644
107649
|
const o = performance.now();
|
|
107645
107650
|
Jt.log("Showing 3d map...", e);
|
|
107646
107651
|
const a = await Rjt(e, this.rootStore.data, i);
|
|
107647
|
-
return this.__mv = a, Jt.log("Initialized 3D map in", performance.now() - o, "ms"), this.rootStore.isCampus &&
|
|
107652
|
+
return this.__mv = a, Jt.log("Initialized 3D map in", performance.now() - o, "ms"), this.rootStore.isCampus && Ul(() => {
|
|
107648
107653
|
this.dynamicFocus = new IWt(a), this.dynamicFocus.enable({
|
|
107649
107654
|
indoorZoomThreshold: this.camera.zoomBreakpoints.facadesIndoor,
|
|
107650
107655
|
outdoorZoomThreshold: this.camera.zoomBreakpoints.facadesOutdoor,
|
|
@@ -107671,13 +107676,13 @@ class BWt {
|
|
|
107671
107676
|
3e3
|
|
107672
107677
|
), new Promise(
|
|
107673
107678
|
(s) => requestAnimationFrame(() => {
|
|
107674
|
-
|
|
107679
|
+
Ul(() => {
|
|
107675
107680
|
this.mapViewReady = !0, s();
|
|
107676
107681
|
});
|
|
107677
107682
|
})
|
|
107678
107683
|
);
|
|
107679
107684
|
} catch (o) {
|
|
107680
|
-
Jt.error("Failed to initialize map", o),
|
|
107685
|
+
Jt.error("Failed to initialize map", o), Ul(() => {
|
|
107681
107686
|
this.renderFailed = !0;
|
|
107682
107687
|
});
|
|
107683
107688
|
}
|
|
@@ -107717,7 +107722,7 @@ const TWt = (t) => {
|
|
|
107717
107722
|
const k = u8(F);
|
|
107718
107723
|
k.length > 0 && B.length > 0 && !((b = l.get(k)) != null && b.includes(B)) && y7(l, k, B);
|
|
107719
107724
|
for (const z of A6(F))
|
|
107720
|
-
y7(a, z.id, F),
|
|
107725
|
+
y7(a, z.id, F), q0.is(F) && y7(s, z.id, F);
|
|
107721
107726
|
if (roe.includes(I) && (u.push(F), c.set(F.id, F)), NX(F)) {
|
|
107722
107727
|
if (F.geoJSON.geometry.type !== "Polygon")
|
|
107723
107728
|
continue;
|
|
@@ -107748,7 +107753,7 @@ const TWt = (t) => {
|
|
|
107748
107753
|
p.set(I.name.toLowerCase(), I);
|
|
107749
107754
|
for (const I of t.getByType("location-category"))
|
|
107750
107755
|
m.set(I.name.toLowerCase(), I);
|
|
107751
|
-
for (const I of t.getByType(
|
|
107756
|
+
for (const I of t.getByType(rl.__type))
|
|
107752
107757
|
for (const F of I.spaces)
|
|
107753
107758
|
y.set(F.id, I);
|
|
107754
107759
|
return Jt.log("Processed places in", performance.now() - v, "ms"), {
|
|
@@ -109178,7 +109183,7 @@ class JWt {
|
|
|
109178
109183
|
const n = performance.now(), o = this.rootStore.places.filter(
|
|
109179
109184
|
(a) => po.is(a) || XFe(a).length === 0
|
|
109180
109185
|
);
|
|
109181
|
-
await this.index.addAllAsync(o), Jt.log("Search index initialized in", performance.now() - n, "ms"),
|
|
109186
|
+
await this.index.addAllAsync(o), Jt.log("Search index initialized in", performance.now() - n, "ms"), Ul(() => {
|
|
109182
109187
|
this.initialized = !0;
|
|
109183
109188
|
});
|
|
109184
109189
|
}
|
|
@@ -109187,7 +109192,7 @@ class JWt {
|
|
|
109187
109192
|
if (i === "name")
|
|
109188
109193
|
return this.rootStore.uiStore.getDisplayName(e, { preferLocationName: !1 });
|
|
109189
109194
|
if (i === "category")
|
|
109190
|
-
return po.is(e) ? ZWt(e.categories) : gs.is(e) ||
|
|
109195
|
+
return po.is(e) ? ZWt(e.categories) : gs.is(e) || q0.is(e) ? u8(e) : "";
|
|
109191
109196
|
if (i === "link")
|
|
109192
109197
|
if (po.is(e)) {
|
|
109193
109198
|
const n = [...e.links];
|
|
@@ -109663,7 +109668,7 @@ class _0 {
|
|
|
109663
109668
|
}
|
|
109664
109669
|
const di = Object.freeze({
|
|
109665
109670
|
status: "aborted"
|
|
109666
|
-
}), Pm = (t) => ({ status: "dirty", value: t }),
|
|
109671
|
+
}), Pm = (t) => ({ status: "dirty", value: t }), sl = (t) => ({ status: "valid", value: t }), EJ = (t) => t.status === "aborted", MJ = (t) => t.status === "dirty", d8 = (t) => t.status === "valid", dE = (t) => typeof Promise < "u" && t instanceof Promise;
|
|
109667
109672
|
function FR(t, e, r, i) {
|
|
109668
109673
|
if (typeof e == "function" ? t !== e || !0 : !e.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
109669
109674
|
return e.get(t);
|
|
@@ -110672,7 +110677,7 @@ class fE extends qi {
|
|
|
110672
110677
|
received: i.parsedType
|
|
110673
110678
|
}), di;
|
|
110674
110679
|
}
|
|
110675
|
-
return
|
|
110680
|
+
return sl(e.data);
|
|
110676
110681
|
}
|
|
110677
110682
|
}
|
|
110678
110683
|
fE.create = (t) => new fE({
|
|
@@ -110768,7 +110773,7 @@ class LR extends qi {
|
|
|
110768
110773
|
received: i.parsedType
|
|
110769
110774
|
}), di;
|
|
110770
110775
|
}
|
|
110771
|
-
return
|
|
110776
|
+
return sl(e.data);
|
|
110772
110777
|
}
|
|
110773
110778
|
}
|
|
110774
110779
|
LR.create = (t) => new LR({
|
|
@@ -110785,7 +110790,7 @@ class pE extends qi {
|
|
|
110785
110790
|
received: i.parsedType
|
|
110786
110791
|
}), di;
|
|
110787
110792
|
}
|
|
110788
|
-
return
|
|
110793
|
+
return sl(e.data);
|
|
110789
110794
|
}
|
|
110790
110795
|
}
|
|
110791
110796
|
pE.create = (t) => new pE({
|
|
@@ -110802,7 +110807,7 @@ class AE extends qi {
|
|
|
110802
110807
|
received: i.parsedType
|
|
110803
110808
|
}), di;
|
|
110804
110809
|
}
|
|
110805
|
-
return
|
|
110810
|
+
return sl(e.data);
|
|
110806
110811
|
}
|
|
110807
110812
|
}
|
|
110808
110813
|
AE.create = (t) => new AE({
|
|
@@ -110814,7 +110819,7 @@ class Vy extends qi {
|
|
|
110814
110819
|
super(...arguments), this._any = !0;
|
|
110815
110820
|
}
|
|
110816
110821
|
_parse(e) {
|
|
110817
|
-
return
|
|
110822
|
+
return sl(e.data);
|
|
110818
110823
|
}
|
|
110819
110824
|
}
|
|
110820
110825
|
Vy.create = (t) => new Vy({
|
|
@@ -110826,7 +110831,7 @@ class I5 extends qi {
|
|
|
110826
110831
|
super(...arguments), this._unknown = !0;
|
|
110827
110832
|
}
|
|
110828
110833
|
_parse(e) {
|
|
110829
|
-
return
|
|
110834
|
+
return sl(e.data);
|
|
110830
110835
|
}
|
|
110831
110836
|
}
|
|
110832
110837
|
I5.create = (t) => new I5({
|
|
@@ -110857,7 +110862,7 @@ class kR extends qi {
|
|
|
110857
110862
|
received: i.parsedType
|
|
110858
110863
|
}), di;
|
|
110859
110864
|
}
|
|
110860
|
-
return
|
|
110865
|
+
return sl(e.data);
|
|
110861
110866
|
}
|
|
110862
110867
|
}
|
|
110863
110868
|
kR.create = (t) => new kR({
|
|
@@ -111690,7 +111695,7 @@ class ug extends qi {
|
|
|
111690
111695
|
const o = { errorMap: r.common.contextualErrorMap }, a = r.data;
|
|
111691
111696
|
if (this._def.returns instanceof Hy) {
|
|
111692
111697
|
const s = this;
|
|
111693
|
-
return
|
|
111698
|
+
return sl(async function(...l) {
|
|
111694
111699
|
const u = new Bu([]), c = await s._def.args.parseAsync(l, o).catch((f) => {
|
|
111695
111700
|
throw u.addIssue(i(l, f)), u;
|
|
111696
111701
|
}), h = await Reflect.apply(a, this, c);
|
|
@@ -111700,7 +111705,7 @@ class ug extends qi {
|
|
|
111700
111705
|
});
|
|
111701
111706
|
} else {
|
|
111702
111707
|
const s = this;
|
|
111703
|
-
return
|
|
111708
|
+
return sl(function(...l) {
|
|
111704
111709
|
const u = s._def.args.safeParse(l, o);
|
|
111705
111710
|
if (!u.success)
|
|
111706
111711
|
throw new Bu([i(l, u.error)]);
|
|
@@ -111807,7 +111812,7 @@ class C6 extends qi {
|
|
|
111807
111812
|
options: i
|
|
111808
111813
|
}), di;
|
|
111809
111814
|
}
|
|
111810
|
-
return
|
|
111815
|
+
return sl(e.data);
|
|
111811
111816
|
}
|
|
111812
111817
|
get options() {
|
|
111813
111818
|
return this._def.values;
|
|
@@ -111867,7 +111872,7 @@ class wE extends qi {
|
|
|
111867
111872
|
options: n
|
|
111868
111873
|
}), di;
|
|
111869
111874
|
}
|
|
111870
|
-
return
|
|
111875
|
+
return sl(e.data);
|
|
111871
111876
|
}
|
|
111872
111877
|
get enum() {
|
|
111873
111878
|
return this._def.values;
|
|
@@ -111892,7 +111897,7 @@ class Hy extends qi {
|
|
|
111892
111897
|
received: r.parsedType
|
|
111893
111898
|
}), di;
|
|
111894
111899
|
const i = r.parsedType === Cr.promise ? r.data : Promise.resolve(r.data);
|
|
111895
|
-
return
|
|
111900
|
+
return sl(i.then((n) => this._def.type.parseAsync(n, {
|
|
111896
111901
|
path: r.path,
|
|
111897
111902
|
errorMap: r.common.contextualErrorMap
|
|
111898
111903
|
})));
|
|
@@ -111994,7 +111999,7 @@ fh.createWithPreprocess = (t, e, r) => new fh({
|
|
|
111994
111999
|
});
|
|
111995
112000
|
class Pd extends qi {
|
|
111996
112001
|
_parse(e) {
|
|
111997
|
-
return this._getType(e) === Cr.undefined ?
|
|
112002
|
+
return this._getType(e) === Cr.undefined ? sl(void 0) : this._def.innerType._parse(e);
|
|
111998
112003
|
}
|
|
111999
112004
|
unwrap() {
|
|
112000
112005
|
return this._def.innerType;
|
|
@@ -112007,7 +112012,7 @@ Pd.create = (t, e) => new Pd({
|
|
|
112007
112012
|
});
|
|
112008
112013
|
class w6 extends qi {
|
|
112009
112014
|
_parse(e) {
|
|
112010
|
-
return this._getType(e) === Cr.null ?
|
|
112015
|
+
return this._getType(e) === Cr.null ? sl(null) : this._def.innerType._parse(e);
|
|
112011
112016
|
}
|
|
112012
112017
|
unwrap() {
|
|
112013
112018
|
return this._def.innerType;
|
|
@@ -112207,7 +112212,7 @@ const EXt = (t, e = {
|
|
|
112207
112212
|
bigint: (t) => v6.create({ ...t, coerce: !0 }),
|
|
112208
112213
|
date: (t) => f8.create({ ...t, coerce: !0 })
|
|
112209
112214
|
}, aJt = di;
|
|
112210
|
-
var
|
|
112215
|
+
var Rl = /* @__PURE__ */ Object.freeze({
|
|
112211
112216
|
__proto__: null,
|
|
112212
112217
|
defaultErrorMap: jy,
|
|
112213
112218
|
setErrorMap: eXt,
|
|
@@ -112218,7 +112223,7 @@ var kl = /* @__PURE__ */ Object.freeze({
|
|
|
112218
112223
|
ParseStatus: _0,
|
|
112219
112224
|
INVALID: di,
|
|
112220
112225
|
DIRTY: Pm,
|
|
112221
|
-
OK:
|
|
112226
|
+
OK: sl,
|
|
112222
112227
|
isAborted: EJ,
|
|
112223
112228
|
isDirty: MJ,
|
|
112224
112229
|
isValid: d8,
|
|
@@ -112323,20 +112328,20 @@ var kl = /* @__PURE__ */ Object.freeze({
|
|
|
112323
112328
|
quotelessJson: qWt,
|
|
112324
112329
|
ZodError: Bu
|
|
112325
112330
|
});
|
|
112326
|
-
const spe =
|
|
112331
|
+
const spe = Rl.union([Rl.array(Rl.string()), Rl.string()]), sJt = Rl.nativeEnum(Nr), Yke = Rl.object({
|
|
112327
112332
|
state: sJt.optional(),
|
|
112328
|
-
floor:
|
|
112329
|
-
building:
|
|
112333
|
+
floor: Rl.string().optional(),
|
|
112334
|
+
building: Rl.string().optional(),
|
|
112330
112335
|
location: spe.optional(),
|
|
112331
112336
|
departure: spe.optional()
|
|
112332
|
-
}), lJt =
|
|
112333
|
-
type:
|
|
112337
|
+
}), lJt = Rl.object({
|
|
112338
|
+
type: Rl.literal("set-state"),
|
|
112334
112339
|
payload: Yke
|
|
112335
|
-
}), uJt =
|
|
112336
|
-
type:
|
|
112340
|
+
}), uJt = Rl.object({
|
|
112341
|
+
type: Rl.literal("state-changed"),
|
|
112337
112342
|
payload: Yke
|
|
112338
|
-
}), cJt =
|
|
112339
|
-
type:
|
|
112343
|
+
}), cJt = Rl.object({
|
|
112344
|
+
type: Rl.literal("app-loaded")
|
|
112340
112345
|
});
|
|
112341
112346
|
class hJt {
|
|
112342
112347
|
constructor(e) {
|
|
@@ -112584,7 +112589,7 @@ class upe {
|
|
|
112584
112589
|
departures: V5.struct
|
|
112585
112590
|
},
|
|
112586
112591
|
{ autoBind: !0, deep: !1 }
|
|
112587
|
-
), this.departureMode = this.inferDepartureMode(), this.checkForEmbeddedMode(), this.featureFlagStore = r, this.analyticsStore = new KWt(this), this.searchStore = new JWt({ rootStore: this }), this.uiStore = new fZt({ rootStore: this, theme: h }),
|
|
112592
|
+
), this.departureMode = this.inferDepartureMode(), this.checkForEmbeddedMode(), this.featureFlagStore = r, this.analyticsStore = new KWt(this), this.searchStore = new JWt({ rootStore: this }), this.uiStore = new fZt({ rootStore: this, theme: h }), Ul(() => {
|
|
112588
112593
|
this.mapStore = new BWt({ rootStore: this });
|
|
112589
112594
|
}), this.messageStore = new hJt(this), this.reactionDisposers.push(
|
|
112590
112595
|
Di(() => [this.selectedPlaces, this.youAreHere], this.syncCurrentFloor, {
|
|
@@ -112746,10 +112751,10 @@ class upe {
|
|
|
112746
112751
|
return !!this.uiStore.theme.map.streetMapVisible && this.routerStore.params.outdoors !== "false";
|
|
112747
112752
|
}
|
|
112748
112753
|
get isBlueDotEnabled() {
|
|
112749
|
-
return this.featureFlagStore.flags[
|
|
112754
|
+
return this.featureFlagStore.flags[X0.BLUE_DOT].variant;
|
|
112750
112755
|
}
|
|
112751
112756
|
get isMultiFloorViewEnabled() {
|
|
112752
|
-
return !!(this.routerStore.params.multiFloorView === "true" || this.featureFlagStore.flags[
|
|
112757
|
+
return !!(this.routerStore.params.multiFloorView === "true" || this.featureFlagStore.flags[X0.MULTI_FLOOR_VIEW].variant);
|
|
112753
112758
|
}
|
|
112754
112759
|
get hasNestedAreas() {
|
|
112755
112760
|
return [...this.areaDepthsById.values()].some((e) => e > 0);
|
|
@@ -112762,7 +112767,7 @@ class upe {
|
|
|
112762
112767
|
}
|
|
112763
112768
|
get dynamicFocusBuildingChangeMode() {
|
|
112764
112769
|
let e;
|
|
112765
|
-
return this.routerStore.params.dynamicFocusMode != null && typeof this.routerStore.params.dynamicFocusMode == "string" ? e = this.routerStore.params.dynamicFocusMode : this.mapId && (e = this.featureFlagStore.flags[
|
|
112770
|
+
return this.routerStore.params.dynamicFocusMode != null && typeof this.routerStore.params.dynamicFocusMode == "string" ? e = this.routerStore.params.dynamicFocusMode : this.mapId && (e = this.featureFlagStore.flags[X0.DYNAMIC_FOCUS_BUILDING_CHANGE_MODE].payload[this.mapId]), e ?? "nearest-elevation";
|
|
112766
112771
|
}
|
|
112767
112772
|
get onlineDirections() {
|
|
112768
112773
|
return this.startupOptions.onlineDirections ?? !1;
|
|
@@ -116668,9 +116673,9 @@ class Aer extends Error {
|
|
|
116668
116673
|
}
|
|
116669
116674
|
}
|
|
116670
116675
|
Lv.default = Aer;
|
|
116671
|
-
var
|
|
116672
|
-
Object.defineProperty(
|
|
116673
|
-
|
|
116676
|
+
var Il = {};
|
|
116677
|
+
Object.defineProperty(Il, "__esModule", { value: !0 });
|
|
116678
|
+
Il.resolveSchema = Il.getCompilingSchema = Il.resolveRef = Il.compileSchema = Il.SchemaEnv = void 0;
|
|
116674
116679
|
const sc = en, mer = eD, oA = lf, zc = k2, Bpe = vr, ger = oh;
|
|
116675
116680
|
class GN {
|
|
116676
116681
|
constructor(e) {
|
|
@@ -116680,7 +116685,7 @@ class GN {
|
|
|
116680
116685
|
typeof e.schema == "object" && (i = e.schema), this.schema = e.schema, this.schemaId = e.schemaId, this.root = e.root || this, this.baseId = (r = e.baseId) !== null && r !== void 0 ? r : (0, zc.normalizeId)(i == null ? void 0 : i[e.schemaId || "$id"]), this.schemaPath = e.schemaPath, this.localRefs = e.localRefs, this.meta = e.meta, this.$async = i == null ? void 0 : i.$async, this.refs = {};
|
|
116681
116686
|
}
|
|
116682
116687
|
}
|
|
116683
|
-
|
|
116688
|
+
Il.SchemaEnv = GN;
|
|
116684
116689
|
function Uoe(t) {
|
|
116685
116690
|
const e = LRe.call(this, t);
|
|
116686
116691
|
if (e)
|
|
@@ -116740,7 +116745,7 @@ function Uoe(t) {
|
|
|
116740
116745
|
this._compilations.delete(t);
|
|
116741
116746
|
}
|
|
116742
116747
|
}
|
|
116743
|
-
|
|
116748
|
+
Il.compileSchema = Uoe;
|
|
116744
116749
|
function yer(t, e, r) {
|
|
116745
116750
|
var i;
|
|
116746
116751
|
r = (0, zc.resolveUrl)(this.opts.uriResolver, e, r);
|
|
@@ -116755,7 +116760,7 @@ function yer(t, e, r) {
|
|
|
116755
116760
|
if (o !== void 0)
|
|
116756
116761
|
return t.refs[r] = ver.call(this, o);
|
|
116757
116762
|
}
|
|
116758
|
-
|
|
116763
|
+
Il.resolveRef = yer;
|
|
116759
116764
|
function ver(t) {
|
|
116760
116765
|
return (0, zc.inlineRef)(t.schema, this.opts.inlineRefs) ? t.schema : t.validate ? t : Uoe.call(this, t);
|
|
116761
116766
|
}
|
|
@@ -116764,7 +116769,7 @@ function LRe(t) {
|
|
|
116764
116769
|
if (Cer(e, t))
|
|
116765
116770
|
return e;
|
|
116766
116771
|
}
|
|
116767
|
-
|
|
116772
|
+
Il.getCompilingSchema = LRe;
|
|
116768
116773
|
function Cer(t, e) {
|
|
116769
116774
|
return t.schema === e.schema && t.root === e.root && t.baseId === e.baseId;
|
|
116770
116775
|
}
|
|
@@ -116792,7 +116797,7 @@ function YN(t, e) {
|
|
|
116792
116797
|
return ZV.call(this, r, a);
|
|
116793
116798
|
}
|
|
116794
116799
|
}
|
|
116795
|
-
|
|
116800
|
+
Il.resolveSchema = YN;
|
|
116796
116801
|
const _er = /* @__PURE__ */ new Set([
|
|
116797
116802
|
"properties",
|
|
116798
116803
|
"patternProperties",
|
|
@@ -117210,7 +117215,7 @@ $oe.default = VRe;
|
|
|
117210
117215
|
} }), Object.defineProperty(t, "CodeGen", { enumerable: !0, get: function() {
|
|
117211
117216
|
return r.CodeGen;
|
|
117212
117217
|
} });
|
|
117213
|
-
const i = eD, n = Lv, o = A8, a =
|
|
117218
|
+
const i = eD, n = Lv, o = A8, a = Il, s = en, l = k2, u = Ks, c = vr, h = Ier, d = $oe, f = (W, H) => new RegExp(W, H);
|
|
117214
117219
|
f.code = "new RegExp";
|
|
117215
117220
|
const p = ["removeAdditional", "useDefaults", "coerceTypes"], m = /* @__PURE__ */ new Set([
|
|
117216
117221
|
"validate",
|
|
@@ -117642,7 +117647,7 @@ Goe.default = ctr;
|
|
|
117642
117647
|
var m8 = {};
|
|
117643
117648
|
Object.defineProperty(m8, "__esModule", { value: !0 });
|
|
117644
117649
|
m8.callRef = m8.getValidate = void 0;
|
|
117645
|
-
const htr = Lv, kpe = un,
|
|
117650
|
+
const htr = Lv, kpe = un, bl = en, M7 = lf, Rpe = Il, YI = vr, dtr = {
|
|
117646
117651
|
keyword: "$ref",
|
|
117647
117652
|
schemaType: "string",
|
|
117648
117653
|
code(t) {
|
|
@@ -117659,17 +117664,17 @@ const htr = Lv, kpe = un, xl = en, M7 = lf, Rpe = Sl, YI = vr, dtr = {
|
|
|
117659
117664
|
if (o === u)
|
|
117660
117665
|
return PF(t, a, o, o.$async);
|
|
117661
117666
|
const p = e.scopeValue("root", { ref: u });
|
|
117662
|
-
return PF(t, (0,
|
|
117667
|
+
return PF(t, (0, bl._)`${p}.validate`, u, u.$async);
|
|
117663
117668
|
}
|
|
117664
117669
|
function d(p) {
|
|
117665
117670
|
const m = HRe(t, p);
|
|
117666
117671
|
PF(t, m, p, p.$async);
|
|
117667
117672
|
}
|
|
117668
117673
|
function f(p) {
|
|
117669
|
-
const m = e.scopeValue("schema", s.code.source === !0 ? { ref: p, code: (0,
|
|
117674
|
+
const m = e.scopeValue("schema", s.code.source === !0 ? { ref: p, code: (0, bl.stringify)(p) } : { ref: p }), A = e.name("valid"), g = t.subschema({
|
|
117670
117675
|
schema: p,
|
|
117671
117676
|
dataTypes: [],
|
|
117672
|
-
schemaPath:
|
|
117677
|
+
schemaPath: bl.nil,
|
|
117673
117678
|
topSchemaRef: m,
|
|
117674
117679
|
errSchemaPath: r
|
|
117675
117680
|
}, A);
|
|
@@ -117679,28 +117684,28 @@ const htr = Lv, kpe = un, xl = en, M7 = lf, Rpe = Sl, YI = vr, dtr = {
|
|
|
117679
117684
|
};
|
|
117680
117685
|
function HRe(t, e) {
|
|
117681
117686
|
const { gen: r } = t;
|
|
117682
|
-
return e.validate ? r.scopeValue("validate", { ref: e.validate }) : (0,
|
|
117687
|
+
return e.validate ? r.scopeValue("validate", { ref: e.validate }) : (0, bl._)`${r.scopeValue("wrapper", { ref: e })}.validate`;
|
|
117683
117688
|
}
|
|
117684
117689
|
m8.getValidate = HRe;
|
|
117685
117690
|
function PF(t, e, r, i) {
|
|
117686
|
-
const { gen: n, it: o } = t, { allErrors: a, schemaEnv: s, opts: l } = o, u = l.passContext ? M7.default.this :
|
|
117691
|
+
const { gen: n, it: o } = t, { allErrors: a, schemaEnv: s, opts: l } = o, u = l.passContext ? M7.default.this : bl.nil;
|
|
117687
117692
|
i ? c() : h();
|
|
117688
117693
|
function c() {
|
|
117689
117694
|
if (!s.$async)
|
|
117690
117695
|
throw new Error("async schema referenced by sync schema");
|
|
117691
117696
|
const p = n.let("valid");
|
|
117692
117697
|
n.try(() => {
|
|
117693
|
-
n.code((0,
|
|
117698
|
+
n.code((0, bl._)`await ${(0, kpe.callValidateCode)(t, e, u)}`), f(e), a || n.assign(p, !0);
|
|
117694
117699
|
}, (m) => {
|
|
117695
|
-
n.if((0,
|
|
117700
|
+
n.if((0, bl._)`!(${m} instanceof ${o.ValidationError})`, () => n.throw(m)), d(m), a || n.assign(p, !1);
|
|
117696
117701
|
}), t.ok(p);
|
|
117697
117702
|
}
|
|
117698
117703
|
function h() {
|
|
117699
117704
|
t.result((0, kpe.callValidateCode)(t, e, u), () => f(e), () => d(e));
|
|
117700
117705
|
}
|
|
117701
117706
|
function d(p) {
|
|
117702
|
-
const m = (0,
|
|
117703
|
-
n.assign(M7.default.vErrors, (0,
|
|
117707
|
+
const m = (0, bl._)`${p}.errors`;
|
|
117708
|
+
n.assign(M7.default.vErrors, (0, bl._)`${M7.default.vErrors} === null ? ${m} : ${M7.default.vErrors}.concat(${m})`), n.assign(M7.default.errors, (0, bl._)`${M7.default.vErrors}.length`);
|
|
117704
117709
|
}
|
|
117705
117710
|
function f(p) {
|
|
117706
117711
|
var m;
|
|
@@ -117711,15 +117716,15 @@ function PF(t, e, r, i) {
|
|
|
117711
117716
|
if (A && !A.dynamicProps)
|
|
117712
117717
|
A.props !== void 0 && (o.props = YI.mergeEvaluated.props(n, A.props, o.props));
|
|
117713
117718
|
else {
|
|
117714
|
-
const g = n.var("props", (0,
|
|
117715
|
-
o.props = YI.mergeEvaluated.props(n, g, o.props,
|
|
117719
|
+
const g = n.var("props", (0, bl._)`${p}.evaluated.props`);
|
|
117720
|
+
o.props = YI.mergeEvaluated.props(n, g, o.props, bl.Name);
|
|
117716
117721
|
}
|
|
117717
117722
|
if (o.items !== !0)
|
|
117718
117723
|
if (A && !A.dynamicItems)
|
|
117719
117724
|
A.items !== void 0 && (o.items = YI.mergeEvaluated.items(n, A.items, o.items));
|
|
117720
117725
|
else {
|
|
117721
|
-
const g = n.var("items", (0,
|
|
117722
|
-
o.items = YI.mergeEvaluated.items(n, g, o.items,
|
|
117726
|
+
const g = n.var("items", (0, bl._)`${p}.evaluated.items`);
|
|
117727
|
+
o.items = YI.mergeEvaluated.items(n, g, o.items, bl.Name);
|
|
117723
117728
|
}
|
|
117724
117729
|
}
|
|
117725
117730
|
}
|
|
@@ -118692,7 +118697,7 @@ var Zpe;
|
|
|
118692
118697
|
t.Tag = "tag", t.Mapping = "mapping";
|
|
118693
118698
|
})(Zpe || (JN.DiscrError = Zpe = {}));
|
|
118694
118699
|
Object.defineProperty(wae, "__esModule", { value: !0 });
|
|
118695
|
-
const Z9 = en, zJ = JN, Gpe =
|
|
118700
|
+
const Z9 = en, zJ = JN, Gpe = Il, cir = Lv, hir = vr, dir = {
|
|
118696
118701
|
message: ({ params: { discrError: t, tagName: e } }) => t === zJ.DiscrError.Tag ? `tag "${e}" must be string` : `value of tag "${e}" must be in oneOf`,
|
|
118697
118702
|
params: ({ params: { discrError: t, tag: e, tagName: r } }) => (0, Z9._)`{error: ${t}, tag: ${r}, tagValue: ${e}}`
|
|
118698
118703
|
}, fir = {
|
|
@@ -123120,7 +123125,7 @@ Behavioral notes:
|
|
|
123120
123125
|
try {
|
|
123121
123126
|
n(!0);
|
|
123122
123127
|
const S = new XGe();
|
|
123123
|
-
await S.init(), (E = (C = S.flags) == null ? void 0 : C[
|
|
123128
|
+
await S.init(), (E = (C = S.flags) == null ? void 0 : C[X0.ONLINE_DIRECTIONS]) != null && E.variant && t.onlineDirections == null && (t.onlineDirections = !0);
|
|
123124
123129
|
const { data: x, mvf: b, theme: D, authUrl: T } = await Fir(p, t, S);
|
|
123125
123130
|
typeof t.onMVFParsed == "function" && t.onMVFParsed(b), T != null && Boe(t) && (t.authUrl = T), globalThis.RootStore instanceof upe && Jt.warn("RootStore already exists, overwriting it");
|
|
123126
123131
|
let I = `${t.baseUrl ?? "/map"}/`;
|
|
@@ -123475,7 +123480,7 @@ Behavioral notes:
|
|
|
123475
123480
|
isFocused: r
|
|
123476
123481
|
};
|
|
123477
123482
|
};
|
|
123478
|
-
class
|
|
123483
|
+
class Bl {
|
|
123479
123484
|
static getInstance() {
|
|
123480
123485
|
return this.instance == null && (this.instance = new gR()), this.instance;
|
|
123481
123486
|
}
|
|
@@ -123484,7 +123489,7 @@ class Il {
|
|
|
123484
123489
|
(e = this.instance) == null || e.destroy(), this.instance = new gR();
|
|
123485
123490
|
}
|
|
123486
123491
|
}
|
|
123487
|
-
_e(
|
|
123492
|
+
_e(Bl, "instance", null);
|
|
123488
123493
|
const Gir = (t) => {
|
|
123489
123494
|
const [e, r] = ve.useState(null), i = ve.useCallback(() => {
|
|
123490
123495
|
r((a) => {
|
|
@@ -123515,7 +123520,7 @@ const Gir = (t) => {
|
|
|
123515
123520
|
return (f === "horizontal" || f === "both") && d.push("ArrowLeft"), (f === "vertical" || f === "both") && d.push("ArrowUp"), d;
|
|
123516
123521
|
}, [e == null ? void 0 : e.direction]), h = ve.useCallback(
|
|
123517
123522
|
(d) => {
|
|
123518
|
-
u.includes(d.key) ? a() : c.includes(d.key) ? s() : (d.key === "Enter" || d.key === " ") && o != null &&
|
|
123523
|
+
u.includes(d.key) ? a() : c.includes(d.key) ? s() : (d.key === "Enter" || d.key === " ") && o != null && Bl.getInstance().publish("selectListItem", {
|
|
123519
123524
|
label: t,
|
|
123520
123525
|
index: o,
|
|
123521
123526
|
blur: (e == null ? void 0 : e.blurOnItemSelect) ?? !0
|
|
@@ -123530,10 +123535,10 @@ const Gir = (t) => {
|
|
|
123530
123535
|
(d = i.current) == null || d.removeEventListener("keyup", h);
|
|
123531
123536
|
};
|
|
123532
123537
|
}, [t, h]), ve.useEffect(() => {
|
|
123533
|
-
n ?
|
|
123538
|
+
n ? Bl.getInstance().publish("focusListItem", {
|
|
123534
123539
|
label: t,
|
|
123535
123540
|
index: o
|
|
123536
|
-
}) : (
|
|
123541
|
+
}) : (Bl.getInstance().publish("focusListItem", {
|
|
123537
123542
|
label: t,
|
|
123538
123543
|
index: null
|
|
123539
123544
|
}), e != null && e.resetActiveItemOnBlur && l());
|
|
@@ -123544,23 +123549,23 @@ const Gir = (t) => {
|
|
|
123544
123549
|
}, s = (l) => {
|
|
123545
123550
|
t === l.label && l.index === e && (r == null || r(), l.blur && document.activeElement instanceof HTMLElement && document.activeElement.blur());
|
|
123546
123551
|
};
|
|
123547
|
-
return ve.useEffect(() => (
|
|
123552
|
+
return ve.useEffect(() => (Bl.getInstance().on("focusListItem", a), Bl.getInstance().on("selectListItem", s), Bl.getInstance().publish("listItemMounted", {
|
|
123548
123553
|
label: t,
|
|
123549
123554
|
index: e
|
|
123550
123555
|
}), () => {
|
|
123551
|
-
|
|
123556
|
+
Bl.getInstance().off("focusListItem", a), Bl.getInstance().off("selectListItem", s);
|
|
123552
123557
|
}), [t, e]), { isActive: n, ref: i };
|
|
123553
123558
|
}, xae = (t, e) => {
|
|
123554
123559
|
const r = ve.useRef(null), i = (e == null ? void 0 : e.ref) ?? r, n = ve.useRef(null), o = (s) => {
|
|
123555
123560
|
t === s.label && (n.current = s.index, !(i.current == null || s.index == null) && i.current.scrollToItem(s.index));
|
|
123556
123561
|
}, a = (s) => {
|
|
123557
|
-
t === s.label && n.current != null && s.index === n.current &&
|
|
123562
|
+
t === s.label && n.current != null && s.index === n.current && Bl.getInstance().publish("focusListItem", {
|
|
123558
123563
|
label: t,
|
|
123559
123564
|
index: s.index
|
|
123560
123565
|
});
|
|
123561
123566
|
};
|
|
123562
|
-
return ve.useEffect(() => (
|
|
123563
|
-
|
|
123567
|
+
return ve.useEffect(() => (Bl.getInstance().on("focusListItem", o), Bl.getInstance().on("listItemMounted", a), () => {
|
|
123568
|
+
Bl.getInstance().off("focusListItem", o), Bl.getInstance().off("listItemMounted", a);
|
|
123564
123569
|
}), [t]), { ref: i };
|
|
123565
123570
|
}, QR = 43, iOe = 32, Yir = st.div.attrs({
|
|
123566
123571
|
className: "input-wrapper"
|
|
@@ -127648,7 +127653,7 @@ const tar = (t, e = {}) => {
|
|
|
127648
127653
|
{
|
|
127649
127654
|
theme: aHe,
|
|
127650
127655
|
icon: (e) => /* @__PURE__ */ N.jsx(qor, { glowing: e, size: 36 }),
|
|
127651
|
-
featureFlag:
|
|
127656
|
+
featureFlag: X0.HALLOWEEN_MODE,
|
|
127652
127657
|
force: t,
|
|
127653
127658
|
children: [
|
|
127654
127659
|
/* @__PURE__ */ N.jsx(sar, { children: /* @__PURE__ */ N.jsx(ear, {}) }),
|
|
@@ -128010,7 +128015,7 @@ const Iar = ({ color: t = Gf.color, changeFrequency: e = Gf.changeFrequency, rad
|
|
|
128010
128015
|
{
|
|
128011
128016
|
theme: P2e,
|
|
128012
128017
|
icon: (e) => /* @__PURE__ */ N.jsx(far, { active: e, size: 27 }),
|
|
128013
|
-
featureFlag:
|
|
128018
|
+
featureFlag: X0.WINTER_MODE,
|
|
128014
128019
|
force: t,
|
|
128015
128020
|
buttonStyle: (e) => {
|
|
128016
128021
|
var r, i;
|
|
@@ -133006,9 +133011,9 @@ function F2r() {
|
|
|
133006
133011
|
function V(je, lt) {
|
|
133007
133012
|
for (var Je = 125, ue = new Uint32Array(je.length), le = 0; le < je.length; le++) ue[le] = d(je[le]);
|
|
133008
133013
|
var Se = /* @__PURE__ */ new Map();
|
|
133009
|
-
function Ye(Jo,
|
|
133014
|
+
function Ye(Jo, fl) {
|
|
133010
133015
|
var $s = ue[Jo];
|
|
133011
|
-
ue[Jo] =
|
|
133016
|
+
ue[Jo] = fl, Se.set($s, Se.get($s) - 1), $s & s && Se.set(s, Se.get(s) - 1), Se.set(fl, (Se.get(fl) || 0) + 1), fl & s && Se.set(s, (Se.get(s) || 0) + 1);
|
|
133012
133017
|
}
|
|
133013
133018
|
for (var qe = new Uint8Array(je.length), We = /* @__PURE__ */ new Map(), gt = [], at = null, De = 0; De < je.length; De++) at || gt.push(at = { start: De, end: je.length - 1, level: lt === "rtl" ? 1 : lt === "ltr" ? 0 : ns(De, !1) }), ue[De] & B && (at.end = De, at = null);
|
|
133014
133019
|
for (var ee = q | ie | H | W | o | me | Z | B, te = function(Jo) {
|
|
@@ -133141,8 +133146,8 @@ function F2r() {
|
|
|
133141
133146
|
}
|
|
133142
133147
|
}
|
|
133143
133148
|
}
|
|
133144
|
-
nr.sort(function(Jo,
|
|
133145
|
-
return Jo[0] -
|
|
133149
|
+
nr.sort(function(Jo, fl) {
|
|
133150
|
+
return Jo[0] - fl[0];
|
|
133146
133151
|
});
|
|
133147
133152
|
}
|
|
133148
133153
|
for (var a2 = 0; a2 < nr.length; a2++) {
|
|
@@ -133205,11 +133210,11 @@ function F2r() {
|
|
|
133205
133210
|
}
|
|
133206
133211
|
}
|
|
133207
133212
|
return { levels: qe, paragraphs: gt };
|
|
133208
|
-
function ns(Jo,
|
|
133213
|
+
function ns(Jo, fl) {
|
|
133209
133214
|
for (var $s = Jo; $s < je.length; $s++) {
|
|
133210
133215
|
var ql = ue[$s];
|
|
133211
133216
|
if (ql & (x | Y)) return 1;
|
|
133212
|
-
if (ql & (B | S) ||
|
|
133217
|
+
if (ql & (B | S) || fl && ql === me) return 0;
|
|
133213
133218
|
if (ql & o) {
|
|
133214
133219
|
var Hae = M0($s);
|
|
133215
133220
|
$s = Hae === -1 ? je.length : Hae;
|
|
@@ -133218,12 +133223,12 @@ function F2r() {
|
|
|
133218
133223
|
return 0;
|
|
133219
133224
|
}
|
|
133220
133225
|
function M0(Jo) {
|
|
133221
|
-
for (var
|
|
133226
|
+
for (var fl = 1, $s = Jo + 1; $s < je.length; $s++) {
|
|
133222
133227
|
var ql = ue[$s];
|
|
133223
133228
|
if (ql & B) break;
|
|
133224
133229
|
if (ql & me) {
|
|
133225
|
-
if (--
|
|
133226
|
-
} else ql & o &&
|
|
133230
|
+
if (--fl === 0) return $s;
|
|
133231
|
+
} else ql & o && fl++;
|
|
133227
133232
|
}
|
|
133228
133233
|
return -1;
|
|
133229
133234
|
}
|
|
@@ -135709,7 +135714,7 @@ var C0r = { type: "syncstart" }, w0r = { type: "synccomplete" }, km = "aTroikaTe
|
|
|
135709
135714
|
if (!i || n !== i.image.data.length) {
|
|
135710
135715
|
i && i.dispose();
|
|
135711
135716
|
let s = Math.min(n / 4, 1024);
|
|
135712
|
-
i = this._dataTextures[r ? "outline" : "main"] = new C5(new Float32Array(n), s, n / 4 / s, y2,
|
|
135717
|
+
i = this._dataTextures[r ? "outline" : "main"] = new C5(new Float32Array(n), s, n / 4 / s, y2, Ll);
|
|
135713
135718
|
}
|
|
135714
135719
|
let o = i.image.data, a = (s, l) => {
|
|
135715
135720
|
l !== o[s] && (o[s] = l, i.needsUpdate = !0);
|
|
@@ -136949,7 +136954,7 @@ VF = /* @__PURE__ */ new WeakMap(), iK = /* @__PURE__ */ new WeakSet(), yze = fu
|
|
|
136949
136954
|
function W0r(t, { placesResult: e, locationsResult: r, categoriesResult: i }) {
|
|
136950
136955
|
let n = e.reduce((s, { id: l, match: u, score: c, __type: h }) => {
|
|
136951
136956
|
let d = t.getById(h, l);
|
|
136952
|
-
return d != null && !f6.is(d) && !YM.is(d) && !
|
|
136957
|
+
return d != null && !f6.is(d) && !YM.is(d) && !rl.is(d) && !th.is(d) && !_x.is(d) && s.push({ type: d.__type, match: u, score: c, item: d }), s;
|
|
136953
136958
|
}, []), o;
|
|
136954
136959
|
if (r) {
|
|
136955
136960
|
o = [];
|