@mapsindoors/map-template 1.87.2 → 1.87.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GoogleMapsMap-afe85c85.mjs → GoogleMapsMap-5d0d43c3.mjs} +2 -2
- package/dist/{MapboxMap-e3876e20.mjs → MapboxMap-63776ae9.mjs} +2 -2
- package/dist/{combo-box-item.entry-9ab798c4.mjs → combo-box-item.entry-1cdf57ab.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +84 -84
- package/dist/mapsindoors-webcomponent.es.js +1258 -1259
- package/dist/mapsindoors-webcomponent.umd.js +17 -17
- package/dist/{mi-card_2.entry-fe6cca3b.mjs → mi-card_2.entry-ce56a28a.mjs} +2 -2
- package/dist/{mi-chip.entry-ca76e052.mjs → mi-chip.entry-85a67071.mjs} +2 -2
- package/dist/{mi-column.entry-3bb6257d.mjs → mi-column.entry-59352c93.mjs} +2 -2
- package/dist/{mi-combo-box.entry-63277bcb.mjs → mi-combo-box.entry-dac6312a.mjs} +2 -2
- package/dist/{mi-data-table.entry-efc12241.mjs → mi-data-table.entry-737a49c4.mjs} +2 -2
- package/dist/{mi-distance_2.entry-f27888bd.mjs → mi-distance_2.entry-e2f3665c.mjs} +2 -2
- package/dist/{mi-dropdown-item.entry-491a2542.mjs → mi-dropdown-item.entry-793fa765.mjs} +2 -2
- package/dist/{mi-dropdown.entry-56d9cd2f.mjs → mi-dropdown.entry-c2b6efce.mjs} +2 -2
- package/dist/{mi-floor-selector.entry-baefa47f.mjs → mi-floor-selector.entry-3887a629.mjs} +2 -2
- package/dist/{mi-keyboard.entry-74d55ef8.mjs → mi-keyboard.entry-ed74f599.mjs} +2 -2
- package/dist/{mi-list-item-category.entry-d24cc233.mjs → mi-list-item-category.entry-129a5854.mjs} +2 -2
- package/dist/{mi-list-item-location.entry-81c78e2e.mjs → mi-list-item-location.entry-7c4fdf48.mjs} +2 -2
- package/dist/{mi-list.entry-ad4bdad3.mjs → mi-list.entry-e39ec44b.mjs} +2 -2
- package/dist/{mi-location-booking.entry-f4c692f7.mjs → mi-location-booking.entry-c0b78f63.mjs} +2 -2
- package/dist/{mi-location-info.entry-1a075e16.mjs → mi-location-info.entry-a4be2c01.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-d82d3f33.mjs → mi-map-googlemaps.entry-0750d245.mjs} +2 -2
- package/dist/{mi-map-mapbox.entry-cd8c438b.mjs → mi-map-mapbox.entry-20c4506d.mjs} +2 -2
- package/dist/{mi-metric-card.entry-aa3a94b9.mjs → mi-metric-card.entry-f9e53ec6.mjs} +2 -2
- package/dist/{mi-my-position.entry-9e70f23f.mjs → mi-my-position.entry-7257389d.mjs} +2 -2
- package/dist/{mi-notification.entry-8a8d4c07.mjs → mi-notification.entry-5e56af76.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-a00f1f78.mjs → mi-route-instructions-heading.entry-fcab0bfd.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver-legacy.entry-f4938546.mjs → mi-route-instructions-maneuver-legacy.entry-4e6b17e8.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver.entry-9fd0ddc5.mjs → mi-route-instructions-maneuver.entry-7f1404d5.mjs} +2 -2
- package/dist/{mi-route-instructions-step-legacy.entry-7d63fbff.mjs → mi-route-instructions-step-legacy.entry-b099435d.mjs} +2 -2
- package/dist/{mi-route-instructions-step.entry-f516f9b6.mjs → mi-route-instructions-step.entry-93769139.mjs} +2 -2
- package/dist/{mi-route-instructions.entry-11f94a2e.mjs → mi-route-instructions.entry-89c3f550.mjs} +2 -2
- package/dist/{mi-scroll-buttons.entry-f7a2cfdb.mjs → mi-scroll-buttons.entry-458051c6.mjs} +2 -2
- package/dist/{mi-search.entry-77b9719f.mjs → mi-search.entry-40bc34f2.mjs} +2 -2
- package/dist/{mi-share-sms.entry-c7071d51.mjs → mi-share-sms.entry-b408ccb0.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-e070da2a.mjs → mi-step-switcher.entry-f2a6f6e5.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-cb1a0819.mjs → mi-tab-panel.entry-eee1a1f1.mjs} +2 -2
- package/dist/{mi-tab.entry-da5495e0.mjs → mi-tab.entry-c35e4511.mjs} +2 -2
- package/dist/{mi-tabs.entry-84f540e5.mjs → mi-tabs.entry-cb24cf60.mjs} +2 -2
- package/dist/{mi-time.entry-6d8426f3.mjs → mi-time.entry-605d3a84.mjs} +2 -2
- package/dist/{reactcomponent-75f3bfa1.mjs → reactcomponent-6f007fba.mjs} +352 -353
- package/package.json +1 -1
|
@@ -92,10 +92,10 @@ function yf() {
|
|
|
92
92
|
{
|
|
93
93
|
var be = T.ReactDebugCurrentFrame, Ie = be.getStackAddendum();
|
|
94
94
|
Ie !== "" && (Z += "%s", se = se.concat([Ie]));
|
|
95
|
-
var
|
|
95
|
+
var De = se.map(function(ke) {
|
|
96
96
|
return String(ke);
|
|
97
97
|
});
|
|
98
|
-
|
|
98
|
+
De.unshift("Warning: " + Z), Function.prototype.apply.call(console[E], console, De);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
var y = !1, S = !1, C = !1, L = !1, A = !1, O;
|
|
@@ -152,9 +152,9 @@ function yf() {
|
|
|
152
152
|
var be = E.displayName || null;
|
|
153
153
|
return be !== null ? be : I(E.type) || "Memo";
|
|
154
154
|
case d: {
|
|
155
|
-
var Ie = E,
|
|
155
|
+
var Ie = E, De = Ie._payload, ke = Ie._init;
|
|
156
156
|
try {
|
|
157
|
-
return I(ke(
|
|
157
|
+
return I(ke(De));
|
|
158
158
|
} catch {
|
|
159
159
|
return null;
|
|
160
160
|
}
|
|
@@ -255,8 +255,8 @@ function yf() {
|
|
|
255
255
|
H = !0;
|
|
256
256
|
var Ie = Error.prepareStackTrace;
|
|
257
257
|
Error.prepareStackTrace = void 0;
|
|
258
|
-
var
|
|
259
|
-
|
|
258
|
+
var De;
|
|
259
|
+
De = j.current, j.current = null, N();
|
|
260
260
|
try {
|
|
261
261
|
if (Z) {
|
|
262
262
|
var ke = function() {
|
|
@@ -309,9 +309,9 @@ function yf() {
|
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
} finally {
|
|
312
|
-
H = !1, j.current =
|
|
312
|
+
H = !1, j.current = De, V(), Error.prepareStackTrace = Ie;
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var Xt = E ? E.displayName || E.name : "", Br = Xt ? W(Xt) : "";
|
|
315
315
|
return typeof E == "function" && Q.set(E, Br), Br;
|
|
316
316
|
}
|
|
317
317
|
function Ee(E, Z, se) {
|
|
@@ -341,16 +341,16 @@ function yf() {
|
|
|
341
341
|
case f:
|
|
342
342
|
return He(E.type, Z, se);
|
|
343
343
|
case d: {
|
|
344
|
-
var be = E, Ie = be._payload,
|
|
344
|
+
var be = E, Ie = be._payload, De = be._init;
|
|
345
345
|
try {
|
|
346
|
-
return He(
|
|
346
|
+
return He(De(Ie), Z, se);
|
|
347
347
|
} catch {
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
return "";
|
|
352
352
|
}
|
|
353
|
-
var me = Object.prototype.hasOwnProperty,
|
|
353
|
+
var me = Object.prototype.hasOwnProperty, xe = {}, Ke = T.ReactDebugCurrentFrame;
|
|
354
354
|
function qe(E) {
|
|
355
355
|
if (E) {
|
|
356
356
|
var Z = E._owner, se = He(E.type, E._source, Z ? Z.type : null);
|
|
@@ -360,9 +360,9 @@ function yf() {
|
|
|
360
360
|
}
|
|
361
361
|
function vt(E, Z, se, be, Ie) {
|
|
362
362
|
{
|
|
363
|
-
var
|
|
363
|
+
var De = Function.call.bind(me);
|
|
364
364
|
for (var ke in E)
|
|
365
|
-
if (
|
|
365
|
+
if (De(E, ke)) {
|
|
366
366
|
var Re = void 0;
|
|
367
367
|
try {
|
|
368
368
|
if (typeof E[ke] != "function") {
|
|
@@ -373,7 +373,7 @@ function yf() {
|
|
|
373
373
|
} catch (Ae) {
|
|
374
374
|
Re = Ae;
|
|
375
375
|
}
|
|
376
|
-
Re && !(Re instanceof Error) && (qe(Ie), h("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", be || "React class", se, ke, typeof Re), qe(null)), Re instanceof Error && !(Re.message in
|
|
376
|
+
Re && !(Re instanceof Error) && (qe(Ie), h("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", be || "React class", se, ke, typeof Re), qe(null)), Re instanceof Error && !(Re.message in xe) && (xe[Re.message] = !0, qe(Ie), h("Failed %s type: %s", se, Re.message), qe(null));
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
}
|
|
@@ -406,8 +406,8 @@ function yf() {
|
|
|
406
406
|
ref: !0,
|
|
407
407
|
__self: !0,
|
|
408
408
|
__source: !0
|
|
409
|
-
},
|
|
410
|
-
|
|
409
|
+
}, Ne, Me, $e;
|
|
410
|
+
$e = {};
|
|
411
411
|
function tt(E) {
|
|
412
412
|
if (me.call(E, "ref")) {
|
|
413
413
|
var Z = Object.getOwnPropertyDescriptor(E, "ref").get;
|
|
@@ -416,7 +416,7 @@ function yf() {
|
|
|
416
416
|
}
|
|
417
417
|
return E.ref !== void 0;
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function ln(E) {
|
|
420
420
|
if (me.call(E, "key")) {
|
|
421
421
|
var Z = Object.getOwnPropertyDescriptor(E, "key").get;
|
|
422
422
|
if (Z && Z.isReactWarning)
|
|
@@ -427,13 +427,13 @@ function yf() {
|
|
|
427
427
|
function cn(E, Z) {
|
|
428
428
|
if (typeof E.ref == "string" && ue.current && Z && ue.current.stateNode !== Z) {
|
|
429
429
|
var se = I(ue.current.type);
|
|
430
|
-
|
|
430
|
+
$e[se] || (h('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(ue.current.type), E.ref), $e[se] = !0);
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
function P(E, Z) {
|
|
434
434
|
{
|
|
435
435
|
var se = function() {
|
|
436
|
-
|
|
436
|
+
Ne || (Ne = !0, h("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Z));
|
|
437
437
|
};
|
|
438
438
|
se.isReactWarning = !0, Object.defineProperty(E, "key", {
|
|
439
439
|
get: se,
|
|
@@ -452,7 +452,7 @@ function yf() {
|
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
454
|
}
|
|
455
|
-
var Y = function(E, Z, se, be, Ie,
|
|
455
|
+
var Y = function(E, Z, se, be, Ie, De, ke) {
|
|
456
456
|
var Re = {
|
|
457
457
|
// This tag allows us to uniquely identify this as a React Element
|
|
458
458
|
$$typeof: t,
|
|
@@ -462,7 +462,7 @@ function yf() {
|
|
|
462
462
|
ref: se,
|
|
463
463
|
props: ke,
|
|
464
464
|
// Record the component responsible for creating this element.
|
|
465
|
-
_owner:
|
|
465
|
+
_owner: De
|
|
466
466
|
};
|
|
467
467
|
return Re._store = {}, Object.defineProperty(Re._store, "validated", {
|
|
468
468
|
configurable: !1,
|
|
@@ -483,14 +483,14 @@ function yf() {
|
|
|
483
483
|
};
|
|
484
484
|
function oe(E, Z, se, be, Ie) {
|
|
485
485
|
{
|
|
486
|
-
var
|
|
487
|
-
se !== void 0 && (xt(se), Re = "" + se),
|
|
488
|
-
for (
|
|
489
|
-
me.call(Z,
|
|
486
|
+
var De, ke = {}, Re = null, rt = null;
|
|
487
|
+
se !== void 0 && (xt(se), Re = "" + se), ln(Z) && (xt(Z.key), Re = "" + Z.key), tt(Z) && (rt = Z.ref, cn(Z, Ie));
|
|
488
|
+
for (De in Z)
|
|
489
|
+
me.call(Z, De) && !te.hasOwnProperty(De) && (ke[De] = Z[De]);
|
|
490
490
|
if (E && E.defaultProps) {
|
|
491
491
|
var Ae = E.defaultProps;
|
|
492
|
-
for (
|
|
493
|
-
ke[
|
|
492
|
+
for (De in Ae)
|
|
493
|
+
ke[De] === void 0 && (ke[De] = Ae[De]);
|
|
494
494
|
}
|
|
495
495
|
if (Re || rt) {
|
|
496
496
|
var Ye = typeof E == "function" ? E.displayName || E.name || "Unknown" : E;
|
|
@@ -575,7 +575,7 @@ Check the top-level render call using <` + se + ">.");
|
|
|
575
575
|
else if (E) {
|
|
576
576
|
var Ie = _(E);
|
|
577
577
|
if (typeof Ie == "function" && Ie !== E.entries)
|
|
578
|
-
for (var
|
|
578
|
+
for (var De = Ie.call(E), ke; !(ke = De.next()).done; )
|
|
579
579
|
ve(ke.value) && nt(ke.value, Z);
|
|
580
580
|
}
|
|
581
581
|
}
|
|
@@ -605,7 +605,7 @@ Check the top-level render call using <` + se + ">.");
|
|
|
605
605
|
typeof Z.getDefaultProps == "function" && !Z.getDefaultProps.isReactClassApproved && h("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function Qt(E) {
|
|
609
609
|
{
|
|
610
610
|
for (var Z = Object.keys(E.props), se = 0; se < Z.length; se++) {
|
|
611
611
|
var be = Z[se];
|
|
@@ -617,7 +617,7 @@ Check the top-level render call using <` + se + ">.");
|
|
|
617
617
|
E.ref !== null && (ge(E), h("Invalid attribute `ref` supplied to `React.Fragment`."), ge(null));
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function kt(E, Z, se, be, Ie,
|
|
620
|
+
function kt(E, Z, se, be, Ie, De) {
|
|
621
621
|
{
|
|
622
622
|
var ke = M(E);
|
|
623
623
|
if (!ke) {
|
|
@@ -628,7 +628,7 @@ Check the top-level render call using <` + se + ">.");
|
|
|
628
628
|
var Ae;
|
|
629
629
|
E === null ? Ae = "null" : yt(E) ? Ae = "array" : E !== void 0 && E.$$typeof === t ? (Ae = "<" + (I(E.type) || "Unknown") + " />", Re = " Did you accidentally export a JSX literal instead of a component?") : Ae = typeof E, h("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ae, Re);
|
|
630
630
|
}
|
|
631
|
-
var Ye = oe(E, Z, se, Ie,
|
|
631
|
+
var Ye = oe(E, Z, se, Ie, De);
|
|
632
632
|
if (Ye == null)
|
|
633
633
|
return Ye;
|
|
634
634
|
if (ke) {
|
|
@@ -636,15 +636,15 @@ Check the top-level render call using <` + se + ">.");
|
|
|
636
636
|
if (Oe !== void 0)
|
|
637
637
|
if (be)
|
|
638
638
|
if (yt(Oe)) {
|
|
639
|
-
for (var
|
|
640
|
-
ut(Oe[
|
|
639
|
+
for (var Xt = 0; Xt < Oe.length; Xt++)
|
|
640
|
+
ut(Oe[Xt], E);
|
|
641
641
|
Object.freeze && Object.freeze(Oe);
|
|
642
642
|
} else
|
|
643
643
|
h("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
644
644
|
else
|
|
645
645
|
ut(Oe, E);
|
|
646
646
|
}
|
|
647
|
-
return E === r ?
|
|
647
|
+
return E === r ? Qt(Ye) : Nt(Ye), Ye;
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
function J(E, Z, se) {
|
|
@@ -679,7 +679,7 @@ function Cf(e, t) {
|
|
|
679
679
|
throw _e(t ?? "Got unexpected null or undefined");
|
|
680
680
|
}
|
|
681
681
|
var We = Cf;
|
|
682
|
-
function
|
|
682
|
+
function Le(e, t, n) {
|
|
683
683
|
return t in e ? Object.defineProperty(e, t, {
|
|
684
684
|
value: n,
|
|
685
685
|
enumerable: !0,
|
|
@@ -721,7 +721,7 @@ class bo {
|
|
|
721
721
|
}
|
|
722
722
|
class Ef extends bo {
|
|
723
723
|
constructor(t) {
|
|
724
|
-
super(),
|
|
724
|
+
super(), Le(this, "state", "hasValue"), Le(this, "contents", void 0), this.contents = t;
|
|
725
725
|
}
|
|
726
726
|
getValue() {
|
|
727
727
|
return this.contents;
|
|
@@ -755,7 +755,7 @@ class Ef extends bo {
|
|
|
755
755
|
}
|
|
756
756
|
class Rf extends bo {
|
|
757
757
|
constructor(t) {
|
|
758
|
-
super(),
|
|
758
|
+
super(), Le(this, "state", "hasError"), Le(this, "contents", void 0), this.contents = t;
|
|
759
759
|
}
|
|
760
760
|
getValue() {
|
|
761
761
|
throw this.contents;
|
|
@@ -779,7 +779,7 @@ class Rf extends bo {
|
|
|
779
779
|
}
|
|
780
780
|
class Ql extends bo {
|
|
781
781
|
constructor(t) {
|
|
782
|
-
super(),
|
|
782
|
+
super(), Le(this, "state", "loading"), Le(this, "contents", void 0), this.contents = t;
|
|
783
783
|
}
|
|
784
784
|
getValue() {
|
|
785
785
|
throw this.contents;
|
|
@@ -1000,7 +1000,7 @@ var qn = {
|
|
|
1000
1000
|
};
|
|
1001
1001
|
class yi {
|
|
1002
1002
|
constructor(t) {
|
|
1003
|
-
|
|
1003
|
+
Le(this, "key", void 0), this.key = t;
|
|
1004
1004
|
}
|
|
1005
1005
|
toJSON() {
|
|
1006
1006
|
return {
|
|
@@ -1263,20 +1263,20 @@ var dh = uh(function(e) {
|
|
|
1263
1263
|
var ve = this.mask, Te = this.children, Ue = d(oe, le), et = p(Ue), Ze = g(ve, et), nt = ve & et, ut = nt ? Te[Ze] : C, Nt = ut._modify(k, Y, oe + r, re, le, ge, ye);
|
|
1264
1264
|
if (ut === Nt)
|
|
1265
1265
|
return this;
|
|
1266
|
-
var
|
|
1266
|
+
var Qt = ae(k, this), kt = ve, J = void 0;
|
|
1267
1267
|
if (nt && L(Nt)) {
|
|
1268
1268
|
if (kt &= ~et, !kt)
|
|
1269
1269
|
return C;
|
|
1270
1270
|
if (Te.length <= 2 && K(Te[Ze ^ 1]))
|
|
1271
1271
|
return Te[Ze ^ 1];
|
|
1272
|
-
J = _(
|
|
1272
|
+
J = _(Qt, Ze, Te);
|
|
1273
1273
|
} else if (!nt && !L(Nt)) {
|
|
1274
1274
|
if (Te.length >= i)
|
|
1275
1275
|
return I(k, Ue, Nt, ve, Te);
|
|
1276
|
-
kt |= et, J = T(
|
|
1276
|
+
kt |= et, J = T(Qt, Ze, Nt, Te);
|
|
1277
1277
|
} else
|
|
1278
|
-
J = b(
|
|
1279
|
-
return
|
|
1278
|
+
J = b(Qt, Ze, Nt, Te);
|
|
1279
|
+
return Qt ? (this.mask = kt, this.children = J, this) : M(k, kt, J);
|
|
1280
1280
|
}, U = function(k, Y, oe, re, le, ge, ye) {
|
|
1281
1281
|
var ve = this.size, Te = this.children, Ue = d(oe, le), et = Te[Ue], Ze = (et || C)._modify(k, Y, oe + r, re, le, ge, ye);
|
|
1282
1282
|
if (et === Ze)
|
|
@@ -1420,11 +1420,11 @@ var dh = uh(function(e) {
|
|
|
1420
1420
|
R.prototype.remove = R.prototype.delete = function(P) {
|
|
1421
1421
|
return me(P, this);
|
|
1422
1422
|
};
|
|
1423
|
-
var
|
|
1423
|
+
var xe = n.beginMutation = function(P) {
|
|
1424
1424
|
return new R(P._editable + 1, P._edit + 1, P._config, P._root, P._size);
|
|
1425
1425
|
};
|
|
1426
1426
|
R.prototype.beginMutation = function() {
|
|
1427
|
-
return
|
|
1427
|
+
return xe(this);
|
|
1428
1428
|
};
|
|
1429
1429
|
var Ke = n.endMutation = function(P) {
|
|
1430
1430
|
return P._editable = P._editable && P._editable - 1, P;
|
|
@@ -1433,7 +1433,7 @@ var dh = uh(function(e) {
|
|
|
1433
1433
|
return Ke(this);
|
|
1434
1434
|
};
|
|
1435
1435
|
var qe = n.mutate = function(P, k) {
|
|
1436
|
-
var Y =
|
|
1436
|
+
var Y = xe(k);
|
|
1437
1437
|
return P(Y), Ke(Y);
|
|
1438
1438
|
};
|
|
1439
1439
|
R.prototype.mutate = function(P) {
|
|
@@ -1489,19 +1489,19 @@ var dh = uh(function(e) {
|
|
|
1489
1489
|
};
|
|
1490
1490
|
var te = function(k) {
|
|
1491
1491
|
return k.key;
|
|
1492
|
-
},
|
|
1492
|
+
}, Ne = n.keys = function(P) {
|
|
1493
1493
|
return pt(P, te);
|
|
1494
1494
|
};
|
|
1495
1495
|
R.prototype.keys = function() {
|
|
1496
|
-
return
|
|
1496
|
+
return Ne(this);
|
|
1497
1497
|
};
|
|
1498
1498
|
var Me = function(k) {
|
|
1499
1499
|
return k.value;
|
|
1500
|
-
},
|
|
1500
|
+
}, $e = n.values = R.prototype.values = function(P) {
|
|
1501
1501
|
return pt(P, Me);
|
|
1502
1502
|
};
|
|
1503
1503
|
R.prototype.values = function() {
|
|
1504
|
-
return
|
|
1504
|
+
return $e(this);
|
|
1505
1505
|
};
|
|
1506
1506
|
var tt = n.fold = function(P, k, Y) {
|
|
1507
1507
|
var oe = Y._root;
|
|
@@ -1517,13 +1517,13 @@ var dh = uh(function(e) {
|
|
|
1517
1517
|
R.prototype.fold = function(P, k) {
|
|
1518
1518
|
return tt(P, k, this);
|
|
1519
1519
|
};
|
|
1520
|
-
var
|
|
1520
|
+
var ln = n.forEach = function(P, k) {
|
|
1521
1521
|
return tt(function(Y, oe, re) {
|
|
1522
1522
|
return P(oe, re, k);
|
|
1523
1523
|
}, null, k);
|
|
1524
1524
|
};
|
|
1525
1525
|
R.prototype.forEach = function(P) {
|
|
1526
|
-
return
|
|
1526
|
+
return ln(P, this);
|
|
1527
1527
|
};
|
|
1528
1528
|
var cn = n.count = function(P) {
|
|
1529
1529
|
return P._size;
|
|
@@ -1536,7 +1536,7 @@ var dh = uh(function(e) {
|
|
|
1536
1536
|
});
|
|
1537
1537
|
class fh {
|
|
1538
1538
|
constructor(t) {
|
|
1539
|
-
|
|
1539
|
+
Le(this, "_map", void 0), this._map = new Map(t == null ? void 0 : t.entries());
|
|
1540
1540
|
}
|
|
1541
1541
|
keys() {
|
|
1542
1542
|
return this._map.keys();
|
|
@@ -1568,7 +1568,7 @@ class bi {
|
|
|
1568
1568
|
// parameters on it, so empty is typed as HAMTPlusMap<string, mixed>.
|
|
1569
1569
|
// $FlowIssue
|
|
1570
1570
|
constructor(t) {
|
|
1571
|
-
if (
|
|
1571
|
+
if (Le(this, "_hamt", dh.empty.beginMutation()), t instanceof bi) {
|
|
1572
1572
|
const n = t._hamt.endMutation();
|
|
1573
1573
|
t._hamt = n.beginMutation(), this._hamt = n.beginMutation();
|
|
1574
1574
|
} else if (t)
|
|
@@ -1921,7 +1921,7 @@ function hc(e, t, n) {
|
|
|
1921
1921
|
}
|
|
1922
1922
|
return r;
|
|
1923
1923
|
}
|
|
1924
|
-
var
|
|
1924
|
+
var nn = {
|
|
1925
1925
|
getNodeLoadable: Gh,
|
|
1926
1926
|
peekNodeLoadable: fc,
|
|
1927
1927
|
setNodeValue: Wh,
|
|
@@ -1947,7 +1947,7 @@ const {
|
|
|
1947
1947
|
getDownstreamNodes: Qh,
|
|
1948
1948
|
getNodeLoadable: mc,
|
|
1949
1949
|
setNodeValue: Xh
|
|
1950
|
-
} =
|
|
1950
|
+
} = nn, {
|
|
1951
1951
|
getNextComponentID: Jh
|
|
1952
1952
|
} = To, {
|
|
1953
1953
|
getNode: ep,
|
|
@@ -2129,7 +2129,7 @@ function mp(e, t) {
|
|
|
2129
2129
|
} = e.getState(), o = ep(t.key);
|
|
2130
2130
|
(n = o.clearCache) === null || n === void 0 || n.call(o, e, r);
|
|
2131
2131
|
}
|
|
2132
|
-
var
|
|
2132
|
+
var Bt = {
|
|
2133
2133
|
RecoilValueReadOnly: op,
|
|
2134
2134
|
AbstractRecoilValue: np,
|
|
2135
2135
|
RecoilState: rp,
|
|
@@ -2162,7 +2162,7 @@ function vp(e, t, n) {
|
|
|
2162
2162
|
var yp = vp;
|
|
2163
2163
|
const {
|
|
2164
2164
|
cleanUpNode: Sp
|
|
2165
|
-
} =
|
|
2165
|
+
} = nn, {
|
|
2166
2166
|
deleteNodeConfigIfPossible: bp,
|
|
2167
2167
|
getNode: Cc
|
|
2168
2168
|
} = mt, {
|
|
@@ -2327,7 +2327,7 @@ var Mp = {
|
|
|
2327
2327
|
};
|
|
2328
2328
|
const {
|
|
2329
2329
|
batchStart: Ip
|
|
2330
|
-
} =
|
|
2330
|
+
} = Bt, {
|
|
2331
2331
|
unstable_batchedUpdates: Op
|
|
2332
2332
|
} = Mp;
|
|
2333
2333
|
let _i = Op || ((e) => e());
|
|
@@ -2399,7 +2399,7 @@ const {
|
|
|
2399
2399
|
} = No, {
|
|
2400
2400
|
initializeNode: Kp,
|
|
2401
2401
|
peekNodeInfo: Wp
|
|
2402
|
-
} =
|
|
2402
|
+
} = nn, {
|
|
2403
2403
|
graph: Yp
|
|
2404
2404
|
} = Er, {
|
|
2405
2405
|
getNextStoreID: qp
|
|
@@ -2412,7 +2412,7 @@ const {
|
|
|
2412
2412
|
getRecoilValueAsLoadable: Xp,
|
|
2413
2413
|
setRecoilValue: La,
|
|
2414
2414
|
setUnvalidatedRecoilValue: Jp
|
|
2415
|
-
} =
|
|
2415
|
+
} = Bt, {
|
|
2416
2416
|
updateRetainCount: Qr
|
|
2417
2417
|
} = wn, {
|
|
2418
2418
|
setInvalidateMemoizedSnapshot: eg
|
|
@@ -2438,7 +2438,7 @@ This is currently a DEV-only warning but will become a thrown exception in the n
|
|
|
2438
2438
|
class ko {
|
|
2439
2439
|
// eslint-disable-next-line fb-www/no-uninitialized-properties
|
|
2440
2440
|
constructor(t, n) {
|
|
2441
|
-
|
|
2441
|
+
Le(this, "_store", void 0), Le(this, "_refCount", 1), Le(this, "getLoadable", (r) => (this.checkRefCount_INTERNAL(), Xp(this._store, r))), Le(this, "getPromise", (r) => (this.checkRefCount_INTERNAL(), this.getLoadable(r).toPromise())), Le(this, "getNodes_UNSTABLE", (r) => {
|
|
2442
2442
|
if (this.checkRefCount_INTERNAL(), (r == null ? void 0 : r.isModified) === !0) {
|
|
2443
2443
|
if ((r == null ? void 0 : r.isInitialized) === !1)
|
|
2444
2444
|
return [];
|
|
@@ -2449,13 +2449,13 @@ class ko {
|
|
|
2449
2449
|
return (r == null ? void 0 : r.isInitialized) == null ? _a.values() : r.isInitialized === !0 ? Ta(xc([o, s])) : Ci(_a.values(), ({
|
|
2450
2450
|
key: i
|
|
2451
2451
|
}) => !o.has(i) && !s.has(i));
|
|
2452
|
-
}),
|
|
2452
|
+
}), Le(this, "getInfo_UNSTABLE", ({
|
|
2453
2453
|
key: r
|
|
2454
|
-
}) => (this.checkRefCount_INTERNAL(), Wp(this._store, this._store.getState().currentTree, r))),
|
|
2454
|
+
}) => (this.checkRefCount_INTERNAL(), Wp(this._store, this._store.getState().currentTree, r))), Le(this, "map", (r) => {
|
|
2455
2455
|
this.checkRefCount_INTERNAL();
|
|
2456
2456
|
const o = new Ks(this, Gs);
|
|
2457
2457
|
return r(o), o;
|
|
2458
|
-
}),
|
|
2458
|
+
}), Le(this, "asyncMap", async (r) => {
|
|
2459
2459
|
this.checkRefCount_INTERNAL();
|
|
2460
2460
|
const o = new Ks(this, Gs);
|
|
2461
2461
|
return o.retain(), await r(o), o.autoRelease_INTERNAL(), o;
|
|
@@ -2597,19 +2597,19 @@ function ag(e, t = "latest") {
|
|
|
2597
2597
|
}
|
|
2598
2598
|
class Ks extends ko {
|
|
2599
2599
|
constructor(t, n) {
|
|
2600
|
-
super(kc(t.getStore_INTERNAL(), t.getStore_INTERNAL().getState().currentTree, !0), t.getStoreID()),
|
|
2600
|
+
super(kc(t.getStore_INTERNAL(), t.getStore_INTERNAL().getState().currentTree, !0), t.getStoreID()), Le(this, "_batch", void 0), Le(this, "set", (r, o) => {
|
|
2601
2601
|
this.checkRefCount_INTERNAL();
|
|
2602
2602
|
const s = this.getStore_INTERNAL();
|
|
2603
2603
|
this._batch(() => {
|
|
2604
2604
|
Qr(s, r.key, 1), La(this.getStore_INTERNAL(), r, o);
|
|
2605
2605
|
});
|
|
2606
|
-
}),
|
|
2606
|
+
}), Le(this, "reset", (r) => {
|
|
2607
2607
|
this.checkRefCount_INTERNAL();
|
|
2608
2608
|
const o = this.getStore_INTERNAL();
|
|
2609
2609
|
this._batch(() => {
|
|
2610
2610
|
Qr(o, r.key, 1), La(this.getStore_INTERNAL(), r, Zp);
|
|
2611
2611
|
});
|
|
2612
|
-
}),
|
|
2612
|
+
}), Le(this, "setUnvalidatedAtomValues_DEPRECATED", (r) => {
|
|
2613
2613
|
this.checkRefCount_INTERNAL();
|
|
2614
2614
|
const o = this.getStore_INTERNAL();
|
|
2615
2615
|
Gs(() => {
|
|
@@ -2656,7 +2656,7 @@ const {
|
|
|
2656
2656
|
initializeNode: Sg,
|
|
2657
2657
|
setNodeValue: bg,
|
|
2658
2658
|
setUnvalidatedAtomValue_DEPRECATED: wg
|
|
2659
|
-
} =
|
|
2659
|
+
} = nn, {
|
|
2660
2660
|
graph: Cg
|
|
2661
2661
|
} = Er, {
|
|
2662
2662
|
cloneGraph: Eg
|
|
@@ -2667,7 +2667,7 @@ const {
|
|
|
2667
2667
|
reactMode: Ic
|
|
2668
2668
|
} = qn, {
|
|
2669
2669
|
applyAtomValueWrites: Rg
|
|
2670
|
-
} =
|
|
2670
|
+
} = Bt, {
|
|
2671
2671
|
releaseScheduledRetainablesNow: Oc
|
|
2672
2672
|
} = wn, {
|
|
2673
2673
|
freshSnapshot: _g
|
|
@@ -2880,7 +2880,7 @@ function $g(e) {
|
|
|
2880
2880
|
function Dg() {
|
|
2881
2881
|
return Mo().current.storeID;
|
|
2882
2882
|
}
|
|
2883
|
-
var
|
|
2883
|
+
var Yt = {
|
|
2884
2884
|
RecoilRoot: $g,
|
|
2885
2885
|
useStoreRef: Mo,
|
|
2886
2886
|
useRecoilMutableSource: kg,
|
|
@@ -2912,7 +2912,7 @@ function Ug(e) {
|
|
|
2912
2912
|
var Fc = Ug;
|
|
2913
2913
|
const {
|
|
2914
2914
|
useStoreRef: Hg
|
|
2915
|
-
} =
|
|
2915
|
+
} = Yt, {
|
|
2916
2916
|
SUSPENSE_TIMEOUT_MS: zg
|
|
2917
2917
|
} = wn, {
|
|
2918
2918
|
updateRetainCount: rr
|
|
@@ -2975,8 +2975,8 @@ const {
|
|
|
2975
2975
|
useSyncExternalStore: e1
|
|
2976
2976
|
} = qn, {
|
|
2977
2977
|
useRecoilMutableSource: t1,
|
|
2978
|
-
useStoreRef:
|
|
2979
|
-
} =
|
|
2978
|
+
useStoreRef: Vt
|
|
2979
|
+
} = Yt, {
|
|
2980
2980
|
isRecoilValue: n1
|
|
2981
2981
|
} = yn, {
|
|
2982
2982
|
AbstractRecoilValue: qs,
|
|
@@ -2984,7 +2984,7 @@ const {
|
|
|
2984
2984
|
setRecoilValue: to,
|
|
2985
2985
|
setUnvalidatedRecoilValue: r1,
|
|
2986
2986
|
subscribeToRecoilValue: Fn
|
|
2987
|
-
} =
|
|
2987
|
+
} = Bt, {
|
|
2988
2988
|
useCallback: gt,
|
|
2989
2989
|
useEffect: Un,
|
|
2990
2990
|
useMemo: Hc,
|
|
@@ -3010,7 +3010,7 @@ function ht(e, t) {
|
|
|
3010
3010
|
throw _e(`Invalid argument to ${t}: expected an atom or selector but got ${String(e)}`);
|
|
3011
3011
|
}
|
|
3012
3012
|
function i1() {
|
|
3013
|
-
const e = Tr(), t =
|
|
3013
|
+
const e = Tr(), t = Vt(), [, n] = xi([]), r = fr(/* @__PURE__ */ new Set());
|
|
3014
3014
|
r.current = /* @__PURE__ */ new Set();
|
|
3015
3015
|
const o = fr(/* @__PURE__ */ new Set()), s = fr(/* @__PURE__ */ new Map()), i = gt((l) => {
|
|
3016
3016
|
const c = s.current.get(l);
|
|
@@ -3078,7 +3078,7 @@ const xr = {
|
|
|
3078
3078
|
current: 0
|
|
3079
3079
|
};
|
|
3080
3080
|
function a1(e) {
|
|
3081
|
-
const t =
|
|
3081
|
+
const t = Vt(), n = Tr(), r = gt(() => {
|
|
3082
3082
|
var a;
|
|
3083
3083
|
process.env.NODE_ENV !== "production" && xr.current++;
|
|
3084
3084
|
const l = t.current, c = l.getState(), u = Cn().early && (a = c.nextTree) !== null && a !== void 0 ? a : c.currentTree;
|
|
@@ -3106,7 +3106,7 @@ function a1(e) {
|
|
|
3106
3106
|
).loadable;
|
|
3107
3107
|
}
|
|
3108
3108
|
function l1(e) {
|
|
3109
|
-
const t =
|
|
3109
|
+
const t = Vt(), n = gt(() => {
|
|
3110
3110
|
var c;
|
|
3111
3111
|
const u = t.current, f = u.getState(), d = Cn().early && (c = f.nextTree) !== null && c !== void 0 ? c : f.currentTree;
|
|
3112
3112
|
return Lr(u, e, d);
|
|
@@ -3127,7 +3127,7 @@ function l1(e) {
|
|
|
3127
3127
|
}), a;
|
|
3128
3128
|
}
|
|
3129
3129
|
function Zs(e) {
|
|
3130
|
-
const t =
|
|
3130
|
+
const t = Vt(), n = Tr(), r = gt(() => {
|
|
3131
3131
|
var l;
|
|
3132
3132
|
process.env.NODE_ENV !== "production" && xr.current++;
|
|
3133
3133
|
const c = t.current, u = c.getState(), f = Cn().early && (l = u.nextTree) !== null && l !== void 0 ? l : u.currentTree;
|
|
@@ -3149,7 +3149,7 @@ function Zs(e) {
|
|
|
3149
3149
|
return i.key !== e.key ? o().loadable : i.loadable;
|
|
3150
3150
|
}
|
|
3151
3151
|
function c1(e) {
|
|
3152
|
-
const t =
|
|
3152
|
+
const t = Vt(), [, n] = xi([]), r = Tr(), o = gt(() => {
|
|
3153
3153
|
var a;
|
|
3154
3154
|
process.env.NODE_ENV !== "production" && xr.current++;
|
|
3155
3155
|
const l = t.current, c = l.getState(), u = Cn().early && (a = c.nextTree) !== null && a !== void 0 ? a : c.currentTree;
|
|
@@ -3196,19 +3196,19 @@ function ki(e) {
|
|
|
3196
3196
|
}
|
|
3197
3197
|
function zc(e) {
|
|
3198
3198
|
process.env.NODE_ENV !== "production" && ht(e, "useRecoilValue");
|
|
3199
|
-
const t =
|
|
3199
|
+
const t = Vt(), n = ki(e);
|
|
3200
3200
|
return Ni(n, e, t);
|
|
3201
3201
|
}
|
|
3202
3202
|
function Io(e) {
|
|
3203
3203
|
process.env.NODE_ENV !== "production" && ht(e, "useSetRecoilState");
|
|
3204
|
-
const t =
|
|
3204
|
+
const t = Vt();
|
|
3205
3205
|
return gt((n) => {
|
|
3206
3206
|
to(t.current, e, n);
|
|
3207
3207
|
}, [t, e]);
|
|
3208
3208
|
}
|
|
3209
3209
|
function u1(e) {
|
|
3210
3210
|
process.env.NODE_ENV !== "production" && ht(e, "useResetRecoilState");
|
|
3211
|
-
const t =
|
|
3211
|
+
const t = Vt();
|
|
3212
3212
|
return gt(() => {
|
|
3213
3213
|
to(t.current, e, Uc);
|
|
3214
3214
|
}, [t, e]);
|
|
@@ -3220,7 +3220,7 @@ function f1(e) {
|
|
|
3220
3220
|
return process.env.NODE_ENV !== "production" && ht(e, "useRecoilStateLoadable"), [ki(e), Io(e)];
|
|
3221
3221
|
}
|
|
3222
3222
|
function h1() {
|
|
3223
|
-
const e =
|
|
3223
|
+
const e = Vt();
|
|
3224
3224
|
return (t, n = {}) => {
|
|
3225
3225
|
Qg(() => {
|
|
3226
3226
|
e.current.addTransactionMetadata(n), t.forEach((r, o) => r1(e.current, new qs(o), r));
|
|
@@ -3232,7 +3232,7 @@ function Gc(e) {
|
|
|
3232
3232
|
}
|
|
3233
3233
|
function Kc(e) {
|
|
3234
3234
|
process.env.NODE_ENV !== "production" && ht(e, "useRecoilValue_TRANSITION_SUPPORT_UNSTABLE");
|
|
3235
|
-
const t =
|
|
3235
|
+
const t = Vt(), n = Gc(e);
|
|
3236
3236
|
return Ni(n, e, t);
|
|
3237
3237
|
}
|
|
3238
3238
|
function p1(e) {
|
|
@@ -3285,10 +3285,10 @@ const {
|
|
|
3285
3285
|
nodes: R1
|
|
3286
3286
|
} = mt, {
|
|
3287
3287
|
useStoreRef: Ai
|
|
3288
|
-
} =
|
|
3288
|
+
} = Yt, {
|
|
3289
3289
|
AbstractRecoilValue: _1,
|
|
3290
3290
|
setRecoilValueLoadable: T1
|
|
3291
|
-
} =
|
|
3291
|
+
} = Bt, {
|
|
3292
3292
|
SUSPENSE_TIMEOUT_MS: L1
|
|
3293
3293
|
} = wn, {
|
|
3294
3294
|
cloneSnapshot: no
|
|
@@ -3400,9 +3400,9 @@ var Zc = {
|
|
|
3400
3400
|
};
|
|
3401
3401
|
const {
|
|
3402
3402
|
peekNodeInfo: M1
|
|
3403
|
-
} =
|
|
3403
|
+
} = nn, {
|
|
3404
3404
|
useStoreRef: I1
|
|
3405
|
-
} =
|
|
3405
|
+
} = Yt;
|
|
3406
3406
|
function O1() {
|
|
3407
3407
|
const e = I1();
|
|
3408
3408
|
return ({
|
|
@@ -3415,7 +3415,7 @@ const {
|
|
|
3415
3415
|
} = qn, {
|
|
3416
3416
|
RecoilRoot: j1,
|
|
3417
3417
|
useStoreRef: B1
|
|
3418
|
-
} =
|
|
3418
|
+
} = Yt, {
|
|
3419
3419
|
useMemo: V1
|
|
3420
3420
|
} = Pe;
|
|
3421
3421
|
function F1() {
|
|
@@ -3437,7 +3437,7 @@ const {
|
|
|
3437
3437
|
loadableWithValue: H1
|
|
3438
3438
|
} = Cr, {
|
|
3439
3439
|
initializeNode: z1
|
|
3440
|
-
} =
|
|
3440
|
+
} = nn, {
|
|
3441
3441
|
DEFAULT_VALUE: G1,
|
|
3442
3442
|
getNode: K1
|
|
3443
3443
|
} = mt, {
|
|
@@ -3445,13 +3445,13 @@ const {
|
|
|
3445
3445
|
getRecoilValueAsLoadable: Y1,
|
|
3446
3446
|
invalidateDownstreams: q1,
|
|
3447
3447
|
writeLoadableToTreeState: Z1
|
|
3448
|
-
} =
|
|
3448
|
+
} = Bt;
|
|
3449
3449
|
function $a(e) {
|
|
3450
3450
|
return K1(e.key).nodeType === "atom";
|
|
3451
3451
|
}
|
|
3452
3452
|
class Q1 {
|
|
3453
3453
|
constructor(t, n) {
|
|
3454
|
-
|
|
3454
|
+
Le(this, "_store", void 0), Le(this, "_treeState", void 0), Le(this, "_changes", void 0), Le(this, "get", (r) => {
|
|
3455
3455
|
if (this._changes.has(r.key))
|
|
3456
3456
|
return this._changes.get(r.key);
|
|
3457
3457
|
if (!$a(r))
|
|
@@ -3460,7 +3460,7 @@ class Q1 {
|
|
|
3460
3460
|
if (o.state === "hasValue")
|
|
3461
3461
|
return o.contents;
|
|
3462
3462
|
throw o.state === "hasError" ? o.contents : _e(`Expected Recoil atom ${r.key} to have a value, but it is in a loading state.`);
|
|
3463
|
-
}),
|
|
3463
|
+
}), Le(this, "set", (r, o) => {
|
|
3464
3464
|
if (!$a(r))
|
|
3465
3465
|
throw _e("Setting selectors within atomicUpdate is not supported");
|
|
3466
3466
|
if (typeof o == "function") {
|
|
@@ -3468,7 +3468,7 @@ class Q1 {
|
|
|
3468
3468
|
this._changes.set(r.key, o(s));
|
|
3469
3469
|
} else
|
|
3470
3470
|
z1(this._store, r.key, "set"), this._changes.set(r.key, o);
|
|
3471
|
-
}),
|
|
3471
|
+
}), Le(this, "reset", (r) => {
|
|
3472
3472
|
this.set(r, G1);
|
|
3473
3473
|
}), this._store = t, this._treeState = n, this._changes = /* @__PURE__ */ new Map();
|
|
3474
3474
|
}
|
|
@@ -3501,7 +3501,7 @@ function tm(e, t) {
|
|
|
3501
3501
|
if (!e)
|
|
3502
3502
|
throw new Error(t);
|
|
3503
3503
|
}
|
|
3504
|
-
var nm = tm,
|
|
3504
|
+
var nm = tm, $t = nm;
|
|
3505
3505
|
const {
|
|
3506
3506
|
atomicUpdater: rm
|
|
3507
3507
|
} = Qc, {
|
|
@@ -3510,10 +3510,10 @@ const {
|
|
|
3510
3510
|
DEFAULT_VALUE: sm
|
|
3511
3511
|
} = mt, {
|
|
3512
3512
|
useStoreRef: im
|
|
3513
|
-
} =
|
|
3513
|
+
} = Yt, {
|
|
3514
3514
|
refreshRecoilValue: am,
|
|
3515
3515
|
setRecoilValue: Da
|
|
3516
|
-
} =
|
|
3516
|
+
} = Bt, {
|
|
3517
3517
|
cloneSnapshot: lm
|
|
3518
3518
|
} = Po, {
|
|
3519
3519
|
gotoSnapshot: cm
|
|
@@ -3549,7 +3549,7 @@ function Jc(e, t, n, r) {
|
|
|
3549
3549
|
if (typeof c != "function")
|
|
3550
3550
|
throw _e(a);
|
|
3551
3551
|
o = c(...n);
|
|
3552
|
-
}), o instanceof Xc && (process.env.NODE_ENV !== "production" ?
|
|
3552
|
+
}), o instanceof Xc && (process.env.NODE_ENV !== "production" ? $t(!1, "batchUpdates should return immediately") : $t(!1)), ze(o))
|
|
3553
3553
|
o = o.finally(() => {
|
|
3554
3554
|
var a;
|
|
3555
3555
|
(a = s) === null || a === void 0 || a();
|
|
@@ -3575,9 +3575,9 @@ var eu = {
|
|
|
3575
3575
|
};
|
|
3576
3576
|
const {
|
|
3577
3577
|
useStoreRef: hm
|
|
3578
|
-
} =
|
|
3578
|
+
} = Yt, {
|
|
3579
3579
|
refreshRecoilValue: pm
|
|
3580
|
-
} =
|
|
3580
|
+
} = Bt, {
|
|
3581
3581
|
useCallback: gm
|
|
3582
3582
|
} = Pe;
|
|
3583
3583
|
function mm(e) {
|
|
@@ -3592,7 +3592,7 @@ const {
|
|
|
3592
3592
|
atomicUpdater: ym
|
|
3593
3593
|
} = Qc, {
|
|
3594
3594
|
useStoreRef: Sm
|
|
3595
|
-
} =
|
|
3595
|
+
} = Yt, {
|
|
3596
3596
|
useMemo: bm
|
|
3597
3597
|
} = Pe;
|
|
3598
3598
|
function wm(e, t) {
|
|
@@ -3610,7 +3610,7 @@ function wm(e, t) {
|
|
|
3610
3610
|
var Cm = wm;
|
|
3611
3611
|
class Em {
|
|
3612
3612
|
constructor(t) {
|
|
3613
|
-
|
|
3613
|
+
Le(this, "value", void 0), this.value = t;
|
|
3614
3614
|
}
|
|
3615
3615
|
}
|
|
3616
3616
|
var Rm = {
|
|
@@ -3628,7 +3628,7 @@ class Lm {
|
|
|
3628
3628
|
// $FlowIssue[unclear-type]
|
|
3629
3629
|
constructor(t) {
|
|
3630
3630
|
var n, r, o;
|
|
3631
|
-
|
|
3631
|
+
Le(this, "_name", void 0), Le(this, "_numLeafs", void 0), Le(this, "_root", void 0), Le(this, "_onHit", void 0), Le(this, "_onSet", void 0), Le(this, "_mapNodeValue", void 0), this._name = t == null ? void 0 : t.name, this._numLeafs = 0, this._root = null, this._onHit = (n = t == null ? void 0 : t.onHit) !== null && n !== void 0 ? n : () => {
|
|
3632
3632
|
}, this._onSet = (r = t == null ? void 0 : t.onSet) !== null && r !== void 0 ? r : () => {
|
|
3633
3633
|
}, this._mapNodeValue = (o = t == null ? void 0 : t.mapNodeValue) !== null && o !== void 0 ? o : (s) => s;
|
|
3634
3634
|
}
|
|
@@ -3732,7 +3732,7 @@ var xm = {
|
|
|
3732
3732
|
class km {
|
|
3733
3733
|
constructor(t) {
|
|
3734
3734
|
var n;
|
|
3735
|
-
|
|
3735
|
+
Le(this, "_maxSize", void 0), Le(this, "_size", void 0), Le(this, "_head", void 0), Le(this, "_tail", void 0), Le(this, "_map", void 0), Le(this, "_keyMapper", void 0), this._maxSize = t.maxSize, this._size = 0, this._head = null, this._tail = null, this._map = /* @__PURE__ */ new Map(), this._keyMapper = (n = t.mapKey) !== null && n !== void 0 ? n : (r) => r;
|
|
3736
3736
|
}
|
|
3737
3737
|
head() {
|
|
3738
3738
|
return this._head;
|
|
@@ -3968,7 +3968,7 @@ const {
|
|
|
3968
3968
|
getNodeLoadable: Ur,
|
|
3969
3969
|
peekNodeLoadable: Xm,
|
|
3970
3970
|
setNodeValue: Jm
|
|
3971
|
-
} =
|
|
3971
|
+
} = nn, {
|
|
3972
3972
|
saveDepsToStore: e0
|
|
3973
3973
|
} = Er, {
|
|
3974
3974
|
DEFAULT_VALUE: t0,
|
|
@@ -3979,7 +3979,7 @@ const {
|
|
|
3979
3979
|
isRecoilValue: o0
|
|
3980
3980
|
} = yn, {
|
|
3981
3981
|
markRecoilValueModified: Fa
|
|
3982
|
-
} =
|
|
3982
|
+
} = Bt, {
|
|
3983
3983
|
retainedByOptionWithDefault: s0
|
|
3984
3984
|
} = wn, {
|
|
3985
3985
|
recoilCallback: i0
|
|
@@ -4111,24 +4111,24 @@ function au(e) {
|
|
|
4111
4111
|
function Fe({
|
|
4112
4112
|
key: me
|
|
4113
4113
|
}) {
|
|
4114
|
-
const
|
|
4115
|
-
switch (Ee.set(me,
|
|
4114
|
+
const xe = Ur(R, x, me);
|
|
4115
|
+
switch (Ee.set(me, xe), j || (S(R, x, new Set(Ee.keys()), N), _(R, N)), xe.state) {
|
|
4116
4116
|
case "hasValue":
|
|
4117
|
-
return
|
|
4117
|
+
return xe.contents;
|
|
4118
4118
|
case "hasError":
|
|
4119
|
-
throw
|
|
4119
|
+
throw xe.contents;
|
|
4120
4120
|
case "loading":
|
|
4121
|
-
throw G.loadingDepKey = me, G.loadingDepPromise =
|
|
4121
|
+
throw G.loadingDepKey = me, G.loadingDepPromise = xe.contents, xe.contents;
|
|
4122
4122
|
}
|
|
4123
4123
|
throw _e("Invalid Loadable state");
|
|
4124
4124
|
}
|
|
4125
|
-
const He = (me) => (...
|
|
4125
|
+
const He = (me) => (...xe) => {
|
|
4126
4126
|
if (q)
|
|
4127
4127
|
throw _e("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");
|
|
4128
|
-
return t == null && (process.env.NODE_ENV !== "production" ?
|
|
4128
|
+
return t == null && (process.env.NODE_ENV !== "production" ? $t(!1, "Recoil Value can never be null") : $t(!1)), i0(
|
|
4129
4129
|
R,
|
|
4130
4130
|
me,
|
|
4131
|
-
|
|
4131
|
+
xe,
|
|
4132
4132
|
{
|
|
4133
4133
|
node: t
|
|
4134
4134
|
}
|
|
@@ -4151,7 +4151,7 @@ function au(e) {
|
|
|
4151
4151
|
return N;
|
|
4152
4152
|
const V = /* @__PURE__ */ new Set();
|
|
4153
4153
|
try {
|
|
4154
|
-
N = a.get((q) => (typeof q != "string" && (process.env.NODE_ENV !== "production" ?
|
|
4154
|
+
N = a.get((q) => (typeof q != "string" && (process.env.NODE_ENV !== "production" ? $t(!1, "Cache nodeKey is type string") : $t(!1)), Ur(R, x, q).contents), {
|
|
4155
4155
|
onNodeVisit: (q) => {
|
|
4156
4156
|
q.type === "branch" && q.nodeKey !== n && V.add(q.nodeKey);
|
|
4157
4157
|
}
|
|
@@ -4247,7 +4247,7 @@ function au(e) {
|
|
|
4247
4247
|
const N = x.atomValues.get(n);
|
|
4248
4248
|
return N ?? a.get((V) => {
|
|
4249
4249
|
var j;
|
|
4250
|
-
return typeof V != "string" && (process.env.NODE_ENV !== "production" ?
|
|
4250
|
+
return typeof V != "string" && (process.env.NODE_ENV !== "production" ? $t(!1, "Cache nodeKey is type string") : $t(!1)), (j = Xm(R, x, V)) === null || j === void 0 ? void 0 : j.contents;
|
|
4251
4251
|
});
|
|
4252
4252
|
}
|
|
4253
4253
|
function we(R, x) {
|
|
@@ -4257,7 +4257,7 @@ function au(e) {
|
|
|
4257
4257
|
R.atomValues.delete(n);
|
|
4258
4258
|
}
|
|
4259
4259
|
function U(R, x) {
|
|
4260
|
-
t == null && (process.env.NODE_ENV !== "production" ?
|
|
4260
|
+
t == null && (process.env.NODE_ENV !== "production" ? $t(!1, "Recoil Value can never be null") : $t(!1));
|
|
4261
4261
|
for (const V of i) {
|
|
4262
4262
|
var N;
|
|
4263
4263
|
const j = r0(V);
|
|
@@ -4297,7 +4297,7 @@ function au(e) {
|
|
|
4297
4297
|
// flowlint-next-line unclear-type:off
|
|
4298
4298
|
Ee(W(G))
|
|
4299
4299
|
) : Ee;
|
|
4300
|
-
Jm(x, N, G.key, Fe).forEach((me,
|
|
4300
|
+
Jm(x, N, G.key, Fe).forEach((me, xe) => q.set(xe, me));
|
|
4301
4301
|
}
|
|
4302
4302
|
function Q(G) {
|
|
4303
4303
|
H(G, t0);
|
|
@@ -4343,9 +4343,9 @@ const {
|
|
|
4343
4343
|
WrappedValue: lu
|
|
4344
4344
|
} = tu, {
|
|
4345
4345
|
peekNodeInfo: u0
|
|
4346
|
-
} =
|
|
4346
|
+
} = nn, {
|
|
4347
4347
|
DEFAULT_VALUE: hn,
|
|
4348
|
-
DefaultValue:
|
|
4348
|
+
DefaultValue: Jt,
|
|
4349
4349
|
getConfigDeletionHandler: cu,
|
|
4350
4350
|
registerNode: d0,
|
|
4351
4351
|
setConfigDeletionHandler: f0
|
|
@@ -4356,7 +4356,7 @@ const {
|
|
|
4356
4356
|
markRecoilValueModified: g0,
|
|
4357
4357
|
setRecoilValue: Ua,
|
|
4358
4358
|
setRecoilValueLoadable: m0
|
|
4359
|
-
} =
|
|
4359
|
+
} = Bt, {
|
|
4360
4360
|
retainedByOptionWithDefault: v0
|
|
4361
4361
|
} = wn, ir = (e) => e instanceof lu ? e.value : e;
|
|
4362
4362
|
function y0(e) {
|
|
@@ -4409,7 +4409,7 @@ function y0(e) {
|
|
|
4409
4409
|
let F = function($) {
|
|
4410
4410
|
if (B && $.key === t) {
|
|
4411
4411
|
const U = M;
|
|
4412
|
-
return U instanceof
|
|
4412
|
+
return U instanceof Jt ? d(h, v) : ze(U) ? Es(U.then((R) => R instanceof Jt ? (
|
|
4413
4413
|
// Cast T to S
|
|
4414
4414
|
i.toPromise()
|
|
4415
4415
|
) : R)) : (
|
|
@@ -4423,7 +4423,7 @@ function y0(e) {
|
|
|
4423
4423
|
}, de = function($) {
|
|
4424
4424
|
var U;
|
|
4425
4425
|
const R = u0(h, (U = h.getState().nextTree) !== null && U !== void 0 ? U : h.getState().currentTree, $.key);
|
|
4426
|
-
return B && $.key === t && !(M instanceof
|
|
4426
|
+
return B && $.key === t && !(M instanceof Jt) ? {
|
|
4427
4427
|
...R,
|
|
4428
4428
|
isSet: !0,
|
|
4429
4429
|
loadable: F($)
|
|
@@ -4498,7 +4498,7 @@ function y0(e) {
|
|
|
4498
4498
|
} catch (U) {
|
|
4499
4499
|
M = U, K = !0;
|
|
4500
4500
|
}
|
|
4501
|
-
if (B = !1, !(M instanceof
|
|
4501
|
+
if (B = !1, !(M instanceof Jt)) {
|
|
4502
4502
|
var O;
|
|
4503
4503
|
const $ = K ? Cs(M) : ze(M) ? Es(u(h, M)) : Tn(ir(M));
|
|
4504
4504
|
c($.contents), v.atomValues.set(t, $), (O = h.getState().nextTree) === null || O === void 0 || O.atomValues.set(t, $);
|
|
@@ -4519,7 +4519,7 @@ function y0(e) {
|
|
|
4519
4519
|
if (n == null)
|
|
4520
4520
|
return Ro(`Tried to restore a persisted value for atom ${t} but it has no persistence settings.`), i;
|
|
4521
4521
|
const y = v.nonvalidatedAtoms.get(t), S = n.validator(y, hn);
|
|
4522
|
-
return a = S instanceof
|
|
4522
|
+
return a = S instanceof Jt ? i : Tn(S), a;
|
|
4523
4523
|
} else
|
|
4524
4524
|
return i;
|
|
4525
4525
|
}
|
|
@@ -4531,7 +4531,7 @@ function y0(e) {
|
|
|
4531
4531
|
const S = We(v.atomValues.get(t));
|
|
4532
4532
|
if (S.state === "hasValue" && y === S.contents)
|
|
4533
4533
|
return /* @__PURE__ */ new Map();
|
|
4534
|
-
} else if (!v.nonvalidatedAtoms.has(t) && y instanceof
|
|
4534
|
+
} else if (!v.nonvalidatedAtoms.has(t) && y instanceof Jt)
|
|
4535
4535
|
return /* @__PURE__ */ new Map();
|
|
4536
4536
|
return c(y), a = void 0, (/* @__PURE__ */ new Map()).set(t, Tn(y));
|
|
4537
4537
|
}
|
|
@@ -4583,7 +4583,7 @@ function S0(e) {
|
|
|
4583
4583
|
default: hn,
|
|
4584
4584
|
persistence_UNSTABLE: e.persistence_UNSTABLE === void 0 ? void 0 : {
|
|
4585
4585
|
...e.persistence_UNSTABLE,
|
|
4586
|
-
validator: (r) => r instanceof
|
|
4586
|
+
validator: (r) => r instanceof Jt ? r : We(e.persistence_UNSTABLE).validator(r, hn)
|
|
4587
4587
|
},
|
|
4588
4588
|
// TODO Hack for now.
|
|
4589
4589
|
effects: e.effects,
|
|
@@ -4596,7 +4596,7 @@ function S0(e) {
|
|
|
4596
4596
|
get: r
|
|
4597
4597
|
}) => {
|
|
4598
4598
|
const o = r(t);
|
|
4599
|
-
return o instanceof
|
|
4599
|
+
return o instanceof Jt ? e.default : o;
|
|
4600
4600
|
},
|
|
4601
4601
|
// $FlowFixMe[incompatible-call]
|
|
4602
4602
|
set: ({
|
|
@@ -4617,7 +4617,7 @@ var uu = Pi;
|
|
|
4617
4617
|
class b0 {
|
|
4618
4618
|
constructor(t) {
|
|
4619
4619
|
var n;
|
|
4620
|
-
|
|
4620
|
+
Le(this, "_map", void 0), Le(this, "_keyMapper", void 0), this._map = /* @__PURE__ */ new Map(), this._keyMapper = (n = t == null ? void 0 : t.mapKey) !== null && n !== void 0 ? n : (r) => r;
|
|
4621
4621
|
}
|
|
4622
4622
|
size() {
|
|
4623
4623
|
return this._map.size;
|
|
@@ -4786,8 +4786,8 @@ function M0(e) {
|
|
|
4786
4786
|
}), f;
|
|
4787
4787
|
};
|
|
4788
4788
|
}
|
|
4789
|
-
var
|
|
4790
|
-
const I0 =
|
|
4789
|
+
var rn = M0;
|
|
4790
|
+
const I0 = rn({
|
|
4791
4791
|
key: "__constant",
|
|
4792
4792
|
get: (e) => () => e,
|
|
4793
4793
|
cachePolicyForParams_UNSTABLE: {
|
|
@@ -4798,7 +4798,7 @@ function O0(e) {
|
|
|
4798
4798
|
return I0(e);
|
|
4799
4799
|
}
|
|
4800
4800
|
var $0 = O0;
|
|
4801
|
-
const D0 =
|
|
4801
|
+
const D0 = rn({
|
|
4802
4802
|
key: "__error",
|
|
4803
4803
|
get: (e) => () => {
|
|
4804
4804
|
throw _e(e);
|
|
@@ -4862,7 +4862,7 @@ function H0(e, t) {
|
|
|
4862
4862
|
n === void 0 ? e[r] : n
|
|
4863
4863
|
));
|
|
4864
4864
|
}
|
|
4865
|
-
const z0 =
|
|
4865
|
+
const z0 = rn({
|
|
4866
4866
|
key: "__waitForNone",
|
|
4867
4867
|
get: (e) => ({
|
|
4868
4868
|
get: t
|
|
@@ -4871,7 +4871,7 @@ const z0 = on({
|
|
|
4871
4871
|
return Bn(e, r, o);
|
|
4872
4872
|
},
|
|
4873
4873
|
dangerouslyAllowMutability: !0
|
|
4874
|
-
}), G0 =
|
|
4874
|
+
}), G0 = rn({
|
|
4875
4875
|
key: "__waitForAny",
|
|
4876
4876
|
get: (e) => ({
|
|
4877
4877
|
get: t
|
|
@@ -4887,7 +4887,7 @@ const z0 = on({
|
|
|
4887
4887
|
});
|
|
4888
4888
|
},
|
|
4889
4889
|
dangerouslyAllowMutability: !0
|
|
4890
|
-
}), K0 =
|
|
4890
|
+
}), K0 = rn({
|
|
4891
4891
|
key: "__waitForAll",
|
|
4892
4892
|
get: (e) => ({
|
|
4893
4893
|
get: t
|
|
@@ -4901,7 +4901,7 @@ const z0 = on({
|
|
|
4901
4901
|
return Promise.all(o).then((i) => Xs(e, H0(r, i)));
|
|
4902
4902
|
},
|
|
4903
4903
|
dangerouslyAllowMutability: !0
|
|
4904
|
-
}), W0 =
|
|
4904
|
+
}), W0 = rn({
|
|
4905
4905
|
key: "__waitForAllSettled",
|
|
4906
4906
|
get: (e) => ({
|
|
4907
4907
|
get: t
|
|
@@ -4914,7 +4914,7 @@ const z0 = on({
|
|
|
4914
4914
|
}) : null)).then(() => Bn(e, r, o));
|
|
4915
4915
|
},
|
|
4916
4916
|
dangerouslyAllowMutability: !0
|
|
4917
|
-
}), Y0 =
|
|
4917
|
+
}), Y0 = rn({
|
|
4918
4918
|
key: "__noWait",
|
|
4919
4919
|
get: (e) => ({
|
|
4920
4920
|
get: t
|
|
@@ -4941,7 +4941,7 @@ const {
|
|
|
4941
4941
|
} = mt, {
|
|
4942
4942
|
RecoilRoot: X0,
|
|
4943
4943
|
useRecoilStoreID: J0
|
|
4944
|
-
} =
|
|
4944
|
+
} = Yt, {
|
|
4945
4945
|
isRecoilValue: ev
|
|
4946
4946
|
} = yn, {
|
|
4947
4947
|
retentionZone: tv
|
|
@@ -4986,7 +4986,7 @@ var Zn = {
|
|
|
4986
4986
|
selector: Hn,
|
|
4987
4987
|
// Convenience Atoms/Selectors
|
|
4988
4988
|
atomFamily: k0,
|
|
4989
|
-
selectorFamily:
|
|
4989
|
+
selectorFamily: rn,
|
|
4990
4990
|
constSelector: $0,
|
|
4991
4991
|
errorSelector: B0,
|
|
4992
4992
|
readOnlySelector: F0,
|
|
@@ -5027,7 +5027,7 @@ const Cv = (e, t) => {
|
|
|
5027
5027
|
});
|
|
5028
5028
|
}, Ev = "mi-components";
|
|
5029
5029
|
let Xr, gu, wt = !1, Js = !1;
|
|
5030
|
-
const
|
|
5030
|
+
const Kt = (e, t = "") => () => {
|
|
5031
5031
|
}, Rv = (e, t) => () => {
|
|
5032
5032
|
}, _v = "{visibility:hidden}.hydrated{visibility:inherit}", za = "http://www.w3.org/1999/xlink", Ga = {}, Tv = "http://www.w3.org/2000/svg", Lv = "http://www.w3.org/1999/xhtml", xv = (e) => e != null, Mi = (e) => (e = typeof e, e === "object" || e === "function");
|
|
5033
5033
|
function mu(e) {
|
|
@@ -5058,7 +5058,7 @@ const Nv = (e, t, ...n) => {
|
|
|
5058
5058
|
$children$: null
|
|
5059
5059
|
};
|
|
5060
5060
|
return n.$attrs$ = null, n.$key$ = null, n;
|
|
5061
|
-
}, kv = {}, Av = (e) => e && e.$tag$ === kv, Pv = (e, t) => e != null && !Mi(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Mv = (e) =>
|
|
5061
|
+
}, kv = {}, Av = (e) => e && e.$tag$ === kv, Pv = (e, t) => e != null && !Mi(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Mv = (e) => on(e).$hostElement$, a3 = (e, t, n) => {
|
|
5062
5062
|
const r = Mv(e);
|
|
5063
5063
|
return {
|
|
5064
5064
|
emit: (o) => vu(r, t, {
|
|
@@ -5078,14 +5078,14 @@ const Nv = (e, t, ...n) => {
|
|
|
5078
5078
|
var o;
|
|
5079
5079
|
let s = yu(t);
|
|
5080
5080
|
const i = oo.get(s);
|
|
5081
|
-
if (e = e.nodeType === 11 ? e :
|
|
5081
|
+
if (e = e.nodeType === 11 ? e : Dt, i)
|
|
5082
5082
|
if (typeof i == "string") {
|
|
5083
5083
|
e = e.head || e;
|
|
5084
5084
|
let a = Ka.get(e), l;
|
|
5085
5085
|
if (a || Ka.set(e, a = /* @__PURE__ */ new Set()), !a.has(s)) {
|
|
5086
5086
|
{
|
|
5087
|
-
l =
|
|
5088
|
-
const c = (o = ot.$nonce$) !== null && o !== void 0 ? o : mu(
|
|
5087
|
+
l = Dt.createElement("style"), l.innerHTML = i;
|
|
5088
|
+
const c = (o = ot.$nonce$) !== null && o !== void 0 ? o : mu(Dt);
|
|
5089
5089
|
c != null && l.setAttribute("nonce", c), e.insertBefore(l, e.querySelector("link"));
|
|
5090
5090
|
}
|
|
5091
5091
|
a && a.add(s);
|
|
@@ -5094,7 +5094,7 @@ const Nv = (e, t, ...n) => {
|
|
|
5094
5094
|
e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
|
|
5095
5095
|
return s;
|
|
5096
5096
|
}, $v = (e) => {
|
|
5097
|
-
const t = e.$cmpMeta$, n = e.$hostElement$, r = t.$flags$, o =
|
|
5097
|
+
const t = e.$cmpMeta$, n = e.$hostElement$, r = t.$flags$, o = Kt("attachStyles", t.$tagName$), s = Ov(n.shadowRoot ? n.shadowRoot : n.getRootNode(), t);
|
|
5098
5098
|
r & 10 && (n["s-sc"] = s, n.classList.add(s + "-h")), o();
|
|
5099
5099
|
}, yu = (e, t) => "sc-" + e.$tagName$, Wa = (e, t, n, r, o, s) => {
|
|
5100
5100
|
if (n !== r) {
|
|
@@ -5138,9 +5138,9 @@ const Nv = (e, t, ...n) => {
|
|
|
5138
5138
|
const o = t.$children$[n];
|
|
5139
5139
|
let s = 0, i, a;
|
|
5140
5140
|
if (o.$text$ !== null)
|
|
5141
|
-
i = o.$elm$ =
|
|
5141
|
+
i = o.$elm$ = Dt.createTextNode(o.$text$);
|
|
5142
5142
|
else {
|
|
5143
|
-
if (wt || (wt = o.$tag$ === "svg"), i = o.$elm$ =
|
|
5143
|
+
if (wt || (wt = o.$tag$ === "svg"), i = o.$elm$ = Dt.createElementNS(wt ? Tv : Lv, o.$tag$), wt && o.$tag$ === "foreignObject" && (wt = !1), Su(null, o, wt), xv(Xr) && i["s-si"] !== Xr && i.classList.add(i["s-si"] = Xr), o.$children$)
|
|
5144
5144
|
for (s = 0; s < o.$children$.length; ++s)
|
|
5145
5145
|
a = ro(e, o, s), a && i.appendChild(a);
|
|
5146
5146
|
o.$tag$ === "svg" ? wt = !1 : i.tagName === "foreignObject" && (wt = !0);
|
|
@@ -5198,13 +5198,13 @@ const Nv = (e, t, ...n) => {
|
|
|
5198
5198
|
}
|
|
5199
5199
|
return Eu(e, e.$ancestorComponent$), ry(() => Vv(e, t));
|
|
5200
5200
|
}, Vv = (e, t) => {
|
|
5201
|
-
const n =
|
|
5201
|
+
const n = Kt("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
|
|
5202
5202
|
let o;
|
|
5203
5203
|
return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([s, i]) => mn(r, s, i)), e.$queuedListeners$ = null), o = mn(r, "componentWillLoad")), o = qa(o, () => mn(r, "componentWillRender")), n(), qa(o, () => Fv(e, r, t));
|
|
5204
5204
|
}, Fv = async (e, t, n) => {
|
|
5205
|
-
const r = e.$hostElement$, o =
|
|
5205
|
+
const r = e.$hostElement$, o = Kt("update", e.$cmpMeta$.$tagName$), s = r["s-rc"];
|
|
5206
5206
|
n && $v(e);
|
|
5207
|
-
const i =
|
|
5207
|
+
const i = Kt("render", e.$cmpMeta$.$tagName$);
|
|
5208
5208
|
Uv(e, t), s && (s.map((a) => a()), r["s-rc"] = void 0), i(), o();
|
|
5209
5209
|
{
|
|
5210
5210
|
const a = r["s-p"], l = () => Hv(e);
|
|
@@ -5218,15 +5218,15 @@ const Nv = (e, t, ...n) => {
|
|
|
5218
5218
|
}
|
|
5219
5219
|
return null;
|
|
5220
5220
|
}, Hv = (e) => {
|
|
5221
|
-
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, r =
|
|
5221
|
+
const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, r = Kt("postUpdate", t), o = e.$lazyInstance$, s = e.$ancestorComponent$;
|
|
5222
5222
|
mn(o, "componentDidRender"), e.$flags$ & 64 ? r() : (e.$flags$ |= 64, _u(n), mn(o, "componentDidLoad"), r(), e.$onReadyResolve$(n), s || Ru()), e.$onInstanceResolve$(n), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && Oi(() => Fo(e, !1)), e.$flags$ &= -517;
|
|
5223
5223
|
}, l3 = (e) => {
|
|
5224
5224
|
{
|
|
5225
|
-
const t =
|
|
5225
|
+
const t = on(e), n = t.$hostElement$.isConnected;
|
|
5226
5226
|
return n && (t.$flags$ & 18) === 2 && Fo(t, !1), n;
|
|
5227
5227
|
}
|
|
5228
5228
|
}, Ru = (e) => {
|
|
5229
|
-
_u(
|
|
5229
|
+
_u(Dt.documentElement), Oi(() => vu(Nr, "appload", { detail: { namespace: Ev } }));
|
|
5230
5230
|
}, mn = (e, t, n) => {
|
|
5231
5231
|
if (e && e[t])
|
|
5232
5232
|
try {
|
|
@@ -5234,8 +5234,8 @@ const Nv = (e, t, ...n) => {
|
|
|
5234
5234
|
} catch (r) {
|
|
5235
5235
|
En(r);
|
|
5236
5236
|
}
|
|
5237
|
-
}, qa = (e, t) => e && e.then ? e.then(t) : t(), _u = (e) => e.classList.add("hydrated"), zv = (e, t) =>
|
|
5238
|
-
const o =
|
|
5237
|
+
}, qa = (e, t) => e && e.then ? e.then(t) : t(), _u = (e) => e.classList.add("hydrated"), zv = (e, t) => on(e).$instanceValues$.get(t), Gv = (e, t, n, r) => {
|
|
5238
|
+
const o = on(e), s = o.$hostElement$, i = o.$instanceValues$.get(t), a = o.$flags$, l = o.$lazyInstance$;
|
|
5239
5239
|
n = Pv(n, r.$members$[t][0]);
|
|
5240
5240
|
const c = Number.isNaN(i) && Number.isNaN(n), u = n !== i && !c;
|
|
5241
5241
|
if ((!(a & 8) || i === void 0) && u && (o.$instanceValues$.set(t, n), l)) {
|
|
@@ -5267,7 +5267,7 @@ const Nv = (e, t, ...n) => {
|
|
|
5267
5267
|
enumerable: !0
|
|
5268
5268
|
}) : n & 1 && i & 64 && Object.defineProperty(o, s, {
|
|
5269
5269
|
value(...a) {
|
|
5270
|
-
const l =
|
|
5270
|
+
const l = on(this);
|
|
5271
5271
|
return l.$onInstancePromise$.then(() => l.$lazyInstance$[s](...a));
|
|
5272
5272
|
}
|
|
5273
5273
|
});
|
|
@@ -5305,7 +5305,7 @@ const Nv = (e, t, ...n) => {
|
|
|
5305
5305
|
2
|
|
5306
5306
|
/* PROXY_FLAGS.proxyState */
|
|
5307
5307
|
), o.isProxied = !0);
|
|
5308
|
-
const a =
|
|
5308
|
+
const a = Kt("createInstance", n.$tagName$);
|
|
5309
5309
|
t.$flags$ |= 8;
|
|
5310
5310
|
try {
|
|
5311
5311
|
new o(t);
|
|
@@ -5318,7 +5318,7 @@ const Nv = (e, t, ...n) => {
|
|
|
5318
5318
|
let a = o.style;
|
|
5319
5319
|
const l = yu(n);
|
|
5320
5320
|
if (!oo.has(l)) {
|
|
5321
|
-
const c =
|
|
5321
|
+
const c = Kt("registerStyles", n.$tagName$);
|
|
5322
5322
|
Iv(l, a, !!(n.$flags$ & 1)), c();
|
|
5323
5323
|
}
|
|
5324
5324
|
}
|
|
@@ -5329,7 +5329,7 @@ const Nv = (e, t, ...n) => {
|
|
|
5329
5329
|
mn(e, "connectedCallback");
|
|
5330
5330
|
}, Wv = (e) => {
|
|
5331
5331
|
if (!(ot.$flags$ & 1)) {
|
|
5332
|
-
const t =
|
|
5332
|
+
const t = on(e), n = t.$cmpMeta$, r = Kt("connectedCallback", n.$tagName$);
|
|
5333
5333
|
if (t.$flags$ & 1)
|
|
5334
5334
|
xu(e, t, n.$listeners$), Lu(t.$lazyInstance$);
|
|
5335
5335
|
else {
|
|
@@ -5353,14 +5353,14 @@ const Nv = (e, t, ...n) => {
|
|
|
5353
5353
|
}
|
|
5354
5354
|
}, Yv = (e) => {
|
|
5355
5355
|
if (!(ot.$flags$ & 1)) {
|
|
5356
|
-
const t =
|
|
5356
|
+
const t = on(e), n = t.$lazyInstance$;
|
|
5357
5357
|
t.$rmListeners$ && (t.$rmListeners$.map((r) => r()), t.$rmListeners$ = void 0), mn(n, "disconnectedCallback");
|
|
5358
5358
|
}
|
|
5359
5359
|
}, qv = (e, t = {}) => {
|
|
5360
5360
|
var n;
|
|
5361
|
-
const r =
|
|
5361
|
+
const r = Kt(), o = [], s = t.exclude || [], i = Nr.customElements, a = Dt.head, l = /* @__PURE__ */ a.querySelector("meta[charset]"), c = /* @__PURE__ */ Dt.createElement("style"), u = [];
|
|
5362
5362
|
let f, d = !0;
|
|
5363
|
-
Object.assign(ot, t), ot.$resourcesUrl$ = new URL(t.resourcesUrl || "./",
|
|
5363
|
+
Object.assign(ot, t), ot.$resourcesUrl$ = new URL(t.resourcesUrl || "./", Dt.baseURI).href, e.map((p) => {
|
|
5364
5364
|
p[1].map((g) => {
|
|
5365
5365
|
const b = {
|
|
5366
5366
|
$flags$: g[0],
|
|
@@ -5381,7 +5381,7 @@ const Nv = (e, t, ...n) => {
|
|
|
5381
5381
|
ot.jmp(() => Yv(this));
|
|
5382
5382
|
}
|
|
5383
5383
|
componentOnReady() {
|
|
5384
|
-
return
|
|
5384
|
+
return on(this).$onReadyPromise$;
|
|
5385
5385
|
}
|
|
5386
5386
|
};
|
|
5387
5387
|
b.$lazyBundleId$ = p[0], !s.includes(_) && !i.get(_) && (o.push(_), i.define(_, Tu(
|
|
@@ -5394,7 +5394,7 @@ const Nv = (e, t, ...n) => {
|
|
|
5394
5394
|
});
|
|
5395
5395
|
{
|
|
5396
5396
|
c.innerHTML = o + _v, c.setAttribute("data-styles", "");
|
|
5397
|
-
const p = (n = ot.$nonce$) !== null && n !== void 0 ? n : mu(
|
|
5397
|
+
const p = (n = ot.$nonce$) !== null && n !== void 0 ? n : mu(Dt);
|
|
5398
5398
|
p != null && c.setAttribute("nonce", p), a.insertBefore(c, l ? l.nextSibling : a.firstChild);
|
|
5399
5399
|
}
|
|
5400
5400
|
d = !1, u.length ? u.map((p) => p.connectedCallback()) : ot.jmp(() => f = setTimeout(Ru, 30)), r();
|
|
@@ -5409,7 +5409,7 @@ const Nv = (e, t, ...n) => {
|
|
|
5409
5409
|
} catch (r) {
|
|
5410
5410
|
En(r);
|
|
5411
5411
|
}
|
|
5412
|
-
}, Qv = (e, t) => t & 8 ? Nr : e, Xv = (e) => (e & 2) !== 0, Ii = /* @__PURE__ */ new WeakMap(),
|
|
5412
|
+
}, Qv = (e, t) => t & 8 ? Nr : e, Xv = (e) => (e & 2) !== 0, Ii = /* @__PURE__ */ new WeakMap(), on = (e) => Ii.get(e), c3 = (e, t) => Ii.set(t.$lazyInstance$ = e, t), Jv = (e, t) => {
|
|
5413
5413
|
const n = {
|
|
5414
5414
|
$flags$: 0,
|
|
5415
5415
|
$hostElement$: e,
|
|
@@ -5422,8 +5422,8 @@ const Nv = (e, t, ...n) => {
|
|
|
5422
5422
|
if (s)
|
|
5423
5423
|
return s[r];
|
|
5424
5424
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
5425
|
-
return Cv(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-
|
|
5426
|
-
}, oo = /* @__PURE__ */ new Map(), Nr = typeof window < "u" ? window : {},
|
|
5425
|
+
return Cv(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-1cdf57ab.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-ce56a28a.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-85a67071.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-59352c93.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-dac6312a.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-737a49c4.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-e2f3665c.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-793fa765.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-c2b6efce.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-3887a629.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-ed74f599.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-129a5854.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-7c4fdf48.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-e39ec44b.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-c0b78f63.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-a4be2c01.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-0750d245.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-20c4506d.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-f9e53ec6.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-7257389d.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-5e56af76.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-fcab0bfd.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-4e6b17e8.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-7f1404d5.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-b099435d.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-93769139.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-89c3f550.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-458051c6.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-40bc34f2.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-b408ccb0.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-f2a6f6e5.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-eee1a1f1.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-c35e4511.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-cb24cf60.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-605d3a84.mjs") }), `./${o}.entry.js`).then((i) => (Qa.set(o, i), i[r]), En);
|
|
5426
|
+
}, oo = /* @__PURE__ */ new Map(), Nr = typeof window < "u" ? window : {}, Dt = Nr.document || { head: {} }, ot = {
|
|
5427
5427
|
$flags$: 0,
|
|
5428
5428
|
$resourcesUrl$: "",
|
|
5429
5429
|
jmp: (e) => e(),
|
|
@@ -5506,7 +5506,7 @@ class so {
|
|
|
5506
5506
|
return t = t || this.options, t.prefix = t.prefix || this.prefix, new so(this.logger, t);
|
|
5507
5507
|
}
|
|
5508
5508
|
}
|
|
5509
|
-
var
|
|
5509
|
+
var jt = new so();
|
|
5510
5510
|
class Uo {
|
|
5511
5511
|
constructor() {
|
|
5512
5512
|
this.observers = {};
|
|
@@ -5752,7 +5752,7 @@ const rl = {};
|
|
|
5752
5752
|
class co extends Uo {
|
|
5753
5753
|
constructor(t) {
|
|
5754
5754
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5755
|
-
super(), iy(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
|
5755
|
+
super(), iy(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = n, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = jt.create("translator");
|
|
5756
5756
|
}
|
|
5757
5757
|
changeLanguage(t) {
|
|
5758
5758
|
t && (this.language = t);
|
|
@@ -6003,7 +6003,7 @@ function Rs(e) {
|
|
|
6003
6003
|
}
|
|
6004
6004
|
class ol {
|
|
6005
6005
|
constructor(t) {
|
|
6006
|
-
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
6006
|
+
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = jt.create("languageUtils");
|
|
6007
6007
|
}
|
|
6008
6008
|
getScriptPartFromCode(t) {
|
|
6009
6009
|
if (t = lo(t), !t || t.indexOf("-") < 0)
|
|
@@ -6252,7 +6252,7 @@ function vy() {
|
|
|
6252
6252
|
class yy {
|
|
6253
6253
|
constructor(t) {
|
|
6254
6254
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
6255
|
-
this.languageUtils = t, this.options = n, this.logger =
|
|
6255
|
+
this.languageUtils = t, this.options = n, this.logger = jt.create("pluralResolver"), (!this.options.compatibilityJSON || my.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = vy();
|
|
6256
6256
|
}
|
|
6257
6257
|
addRule(t, n) {
|
|
6258
6258
|
this.rules[t] = n;
|
|
@@ -6306,7 +6306,7 @@ function il(e, t, n) {
|
|
|
6306
6306
|
class Sy {
|
|
6307
6307
|
constructor() {
|
|
6308
6308
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6309
|
-
this.logger =
|
|
6309
|
+
this.logger = jt.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || ((n) => n), this.init(t);
|
|
6310
6310
|
}
|
|
6311
6311
|
init() {
|
|
6312
6312
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -6450,7 +6450,7 @@ function xn(e) {
|
|
|
6450
6450
|
class wy {
|
|
6451
6451
|
constructor() {
|
|
6452
6452
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
6453
|
-
this.logger =
|
|
6453
|
+
this.logger = jt.create("formatter"), this.options = t, this.formats = {
|
|
6454
6454
|
number: xn((n, r) => {
|
|
6455
6455
|
const o = new Intl.NumberFormat(n, {
|
|
6456
6456
|
...r
|
|
@@ -6528,7 +6528,7 @@ function Cy(e, t) {
|
|
|
6528
6528
|
class Ey extends Uo {
|
|
6529
6529
|
constructor(t, n, r) {
|
|
6530
6530
|
let o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
6531
|
-
super(), this.backend = t, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = o, this.logger =
|
|
6531
|
+
super(), this.backend = t, this.store = n, this.services = r, this.languageUtils = r.languageUtils, this.options = o, this.logger = jt.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = o.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = o.maxRetries >= 0 ? o.maxRetries : 5, this.retryTimeout = o.retryTimeout >= 1 ? o.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(r, o.backend, o);
|
|
6532
6532
|
}
|
|
6533
6533
|
queueLoad(t, n, r, o) {
|
|
6534
6534
|
const s = {}, i = {}, a = {}, l = {};
|
|
@@ -6731,7 +6731,7 @@ function Ry(e) {
|
|
|
6731
6731
|
class gr extends Uo {
|
|
6732
6732
|
constructor() {
|
|
6733
6733
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
|
|
6734
|
-
if (super(), this.options = ll(t), this.services = {}, this.logger =
|
|
6734
|
+
if (super(), this.options = ll(t), this.services = {}, this.logger = jt, this.modules = {
|
|
6735
6735
|
external: []
|
|
6736
6736
|
}, Ry(this), n && !this.isInitialized && !t.isClone) {
|
|
6737
6737
|
if (!this.options.initImmediate)
|
|
@@ -6758,13 +6758,13 @@ class gr extends Uo {
|
|
|
6758
6758
|
return u ? typeof u == "function" ? new u() : u : null;
|
|
6759
6759
|
}
|
|
6760
6760
|
if (!this.options.isClone) {
|
|
6761
|
-
this.modules.logger ?
|
|
6761
|
+
this.modules.logger ? jt.init(s(this.modules.logger), this.options) : jt.init(null, this.options);
|
|
6762
6762
|
let u;
|
|
6763
6763
|
this.modules.formatter ? u = this.modules.formatter : typeof Intl < "u" && (u = wy);
|
|
6764
6764
|
const f = new ol(this.options);
|
|
6765
6765
|
this.store = new nl(this.options.resources, this.options);
|
|
6766
6766
|
const d = this.services;
|
|
6767
|
-
d.logger =
|
|
6767
|
+
d.logger = jt, d.resourceStore = this.store, d.languageUtils = f, d.pluralResolver = new yy(f, {
|
|
6768
6768
|
prepend: this.options.pluralSeparator,
|
|
6769
6769
|
compatibilityJSON: this.options.compatibilityJSON,
|
|
6770
6770
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
@@ -8757,7 +8757,7 @@ function Bu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
8757
8757
|
] });
|
|
8758
8758
|
}
|
|
8759
8759
|
const aS = Wl(Bu);
|
|
8760
|
-
const lS = Yl(() => import("./MapboxMap-
|
|
8760
|
+
const lS = Yl(() => import("./MapboxMap-63776ae9.mjs")), cS = Yl(() => import("./GoogleMapsMap-5d0d43c3.mjs")), kn = {
|
|
8761
8761
|
Google: "google",
|
|
8762
8762
|
Mapbox: "mapbox"
|
|
8763
8763
|
};
|
|
@@ -8954,7 +8954,7 @@ const Ar = fe({
|
|
|
8954
8954
|
}), zu = fe({
|
|
8955
8955
|
key: "startZoomLevel",
|
|
8956
8956
|
default: null
|
|
8957
|
-
}),
|
|
8957
|
+
}), sn = fe({
|
|
8958
8958
|
key: "currentVenueName",
|
|
8959
8959
|
default: null
|
|
8960
8960
|
}), Pr = fe({
|
|
@@ -9144,7 +9144,7 @@ function At(e, t, n) {
|
|
|
9144
9144
|
return Tt(r, t, n);
|
|
9145
9145
|
}
|
|
9146
9146
|
function gS(e, t, n) {
|
|
9147
|
-
return n === void 0 && (n = {}),
|
|
9147
|
+
return n === void 0 && (n = {}), tn(e.map(function(r) {
|
|
9148
9148
|
return At(r, t);
|
|
9149
9149
|
}), n);
|
|
9150
9150
|
}
|
|
@@ -9165,7 +9165,7 @@ function Gi(e, t, n) {
|
|
|
9165
9165
|
return Tt(a, t, n);
|
|
9166
9166
|
}
|
|
9167
9167
|
function mS(e, t, n) {
|
|
9168
|
-
return n === void 0 && (n = {}),
|
|
9168
|
+
return n === void 0 && (n = {}), tn(e.map(function(r) {
|
|
9169
9169
|
return Gi(r, t);
|
|
9170
9170
|
}), n);
|
|
9171
9171
|
}
|
|
@@ -9179,11 +9179,11 @@ function Pt(e, t, n) {
|
|
|
9179
9179
|
return Tt(r, t, n);
|
|
9180
9180
|
}
|
|
9181
9181
|
function vS(e, t, n) {
|
|
9182
|
-
return n === void 0 && (n = {}),
|
|
9182
|
+
return n === void 0 && (n = {}), tn(e.map(function(r) {
|
|
9183
9183
|
return Pt(r, t);
|
|
9184
9184
|
}), n);
|
|
9185
9185
|
}
|
|
9186
|
-
function
|
|
9186
|
+
function tn(e, t) {
|
|
9187
9187
|
t === void 0 && (t = {});
|
|
9188
9188
|
var n = { type: "FeatureCollection" };
|
|
9189
9189
|
return t.id && (n.id = t.id), t.bbox && (n.bbox = t.bbox), n.features = e, n;
|
|
@@ -9305,7 +9305,7 @@ const LS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9305
9305
|
earthRadius: ft,
|
|
9306
9306
|
factors: zi,
|
|
9307
9307
|
feature: Tt,
|
|
9308
|
-
featureCollection:
|
|
9308
|
+
featureCollection: tn,
|
|
9309
9309
|
geometry: pS,
|
|
9310
9310
|
geometryCollection: yS,
|
|
9311
9311
|
isNumber: fo,
|
|
@@ -9536,7 +9536,7 @@ function PS(e, t, n) {
|
|
|
9536
9536
|
}
|
|
9537
9537
|
), r;
|
|
9538
9538
|
}
|
|
9539
|
-
function
|
|
9539
|
+
function Wt(e, t) {
|
|
9540
9540
|
qi(e, function(n, r, o, s, i) {
|
|
9541
9541
|
var a = n === null ? null : n.type;
|
|
9542
9542
|
switch (a) {
|
|
@@ -9574,7 +9574,7 @@ function Yt(e, t) {
|
|
|
9574
9574
|
}
|
|
9575
9575
|
function MS(e, t, n) {
|
|
9576
9576
|
var r = n;
|
|
9577
|
-
return
|
|
9577
|
+
return Wt(
|
|
9578
9578
|
e,
|
|
9579
9579
|
function(o, s, i) {
|
|
9580
9580
|
s === 0 && i === 0 && n === void 0 ? r = o : r = t(
|
|
@@ -9587,7 +9587,7 @@ function MS(e, t, n) {
|
|
|
9587
9587
|
), r;
|
|
9588
9588
|
}
|
|
9589
9589
|
function ed(e, t) {
|
|
9590
|
-
|
|
9590
|
+
Wt(e, function(n, r, o) {
|
|
9591
9591
|
var s = 0;
|
|
9592
9592
|
if (n.geometry) {
|
|
9593
9593
|
var i = n.geometry.type;
|
|
@@ -9639,7 +9639,7 @@ function IS(e, t, n) {
|
|
|
9639
9639
|
function td(e, t) {
|
|
9640
9640
|
if (!e)
|
|
9641
9641
|
throw new Error("geojson is required");
|
|
9642
|
-
|
|
9642
|
+
Wt(e, function(n, r, o) {
|
|
9643
9643
|
if (n.geometry !== null) {
|
|
9644
9644
|
var s = n.geometry.type, i = n.geometry.coordinates;
|
|
9645
9645
|
switch (s) {
|
|
@@ -9797,7 +9797,7 @@ const jS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9797
9797
|
featureReduce: kS,
|
|
9798
9798
|
findPoint: DS,
|
|
9799
9799
|
findSegment: $S,
|
|
9800
|
-
flattenEach:
|
|
9800
|
+
flattenEach: Wt,
|
|
9801
9801
|
flattenReduce: MS,
|
|
9802
9802
|
geomEach: qi,
|
|
9803
9803
|
geomReduce: PS,
|
|
@@ -9886,9 +9886,9 @@ function El(e) {
|
|
|
9886
9886
|
if (!e)
|
|
9887
9887
|
throw new Error("geojson is required");
|
|
9888
9888
|
var t = [];
|
|
9889
|
-
return
|
|
9889
|
+
return Wt(e, function(n) {
|
|
9890
9890
|
HS(n, t);
|
|
9891
|
-
}),
|
|
9891
|
+
}), tn(t);
|
|
9892
9892
|
}
|
|
9893
9893
|
function HS(e, t) {
|
|
9894
9894
|
var n = [], r = e.geometry;
|
|
@@ -10153,16 +10153,16 @@ var Zi = { exports: {} }, nd = { exports: {} };
|
|
|
10153
10153
|
})(nd);
|
|
10154
10154
|
var KS = nd.exports;
|
|
10155
10155
|
const WS = /* @__PURE__ */ mi(LS), YS = /* @__PURE__ */ mi(jS), qS = /* @__PURE__ */ mi(BS);
|
|
10156
|
-
var
|
|
10156
|
+
var Ot = KS, rd = WS, od = YS, An = qS.default, ZS = od.featureEach;
|
|
10157
10157
|
od.coordEach;
|
|
10158
10158
|
rd.polygon;
|
|
10159
10159
|
var Rl = rd.featureCollection;
|
|
10160
10160
|
function sd(e) {
|
|
10161
|
-
var t = new
|
|
10161
|
+
var t = new Ot(e);
|
|
10162
10162
|
return t.insert = function(n) {
|
|
10163
10163
|
if (n.type !== "Feature")
|
|
10164
10164
|
throw new Error("invalid feature");
|
|
10165
|
-
return n.bbox = n.bbox ? n.bbox : An(n),
|
|
10165
|
+
return n.bbox = n.bbox ? n.bbox : An(n), Ot.prototype.insert.call(this, n);
|
|
10166
10166
|
}, t.load = function(n) {
|
|
10167
10167
|
var r = [];
|
|
10168
10168
|
return Array.isArray(n) ? n.forEach(function(o) {
|
|
@@ -10173,25 +10173,25 @@ function sd(e) {
|
|
|
10173
10173
|
if (o.type !== "Feature")
|
|
10174
10174
|
throw new Error("invalid features");
|
|
10175
10175
|
o.bbox = o.bbox ? o.bbox : An(o), r.push(o);
|
|
10176
|
-
}),
|
|
10176
|
+
}), Ot.prototype.load.call(this, r);
|
|
10177
10177
|
}, t.remove = function(n, r) {
|
|
10178
10178
|
if (n.type !== "Feature")
|
|
10179
10179
|
throw new Error("invalid feature");
|
|
10180
|
-
return n.bbox = n.bbox ? n.bbox : An(n),
|
|
10180
|
+
return n.bbox = n.bbox ? n.bbox : An(n), Ot.prototype.remove.call(this, n, r);
|
|
10181
10181
|
}, t.clear = function() {
|
|
10182
|
-
return
|
|
10182
|
+
return Ot.prototype.clear.call(this);
|
|
10183
10183
|
}, t.search = function(n) {
|
|
10184
|
-
var r =
|
|
10184
|
+
var r = Ot.prototype.search.call(this, this.toBBox(n));
|
|
10185
10185
|
return Rl(r);
|
|
10186
10186
|
}, t.collides = function(n) {
|
|
10187
|
-
return
|
|
10187
|
+
return Ot.prototype.collides.call(this, this.toBBox(n));
|
|
10188
10188
|
}, t.all = function() {
|
|
10189
|
-
var n =
|
|
10189
|
+
var n = Ot.prototype.all.call(this);
|
|
10190
10190
|
return Rl(n);
|
|
10191
10191
|
}, t.toJSON = function() {
|
|
10192
|
-
return
|
|
10192
|
+
return Ot.prototype.toJSON.call(this);
|
|
10193
10193
|
}, t.fromJSON = function(n) {
|
|
10194
|
-
return
|
|
10194
|
+
return Ot.prototype.fromJSON.call(this, n);
|
|
10195
10195
|
}, t.toBBox = function(n) {
|
|
10196
10196
|
var r;
|
|
10197
10197
|
if (n.bbox)
|
|
@@ -10222,7 +10222,7 @@ function Qi(e, t) {
|
|
|
10222
10222
|
var n = {}, r = [];
|
|
10223
10223
|
if (e.type === "LineString" && (e = Tt(e)), t.type === "LineString" && (t = Tt(t)), e.type === "Feature" && t.type === "Feature" && e.geometry !== null && t.geometry !== null && e.geometry.type === "LineString" && t.geometry.type === "LineString" && e.geometry.coordinates.length === 2 && t.geometry.coordinates.length === 2) {
|
|
10224
10224
|
var o = _l(e, t);
|
|
10225
|
-
return o && r.push(o),
|
|
10225
|
+
return o && r.push(o), tn(r);
|
|
10226
10226
|
}
|
|
10227
10227
|
var s = XS();
|
|
10228
10228
|
return s.load(El(t)), ho(El(e), function(i) {
|
|
@@ -10233,7 +10233,7 @@ function Qi(e, t) {
|
|
|
10233
10233
|
n[c] || (n[c] = !0, r.push(l));
|
|
10234
10234
|
}
|
|
10235
10235
|
});
|
|
10236
|
-
}),
|
|
10236
|
+
}), tn(r);
|
|
10237
10237
|
}
|
|
10238
10238
|
function _l(e, t) {
|
|
10239
10239
|
var n = vr(e), r = vr(t);
|
|
@@ -10273,15 +10273,15 @@ function e2(e, t) {
|
|
|
10273
10273
|
var n = Qo(e), r = n.coordinates, o = t.properties ? t.properties : e.type === "Feature" ? e.properties : {}, s = [];
|
|
10274
10274
|
return r.forEach(function(i) {
|
|
10275
10275
|
s.push(id(i, o));
|
|
10276
|
-
}),
|
|
10276
|
+
}), tn(s);
|
|
10277
10277
|
}
|
|
10278
10278
|
function id(e, t) {
|
|
10279
10279
|
return e.length > 1 ? Ki(e, t) : Pt(e[0], t);
|
|
10280
10280
|
}
|
|
10281
10281
|
function t2(e, t) {
|
|
10282
10282
|
var n = !0;
|
|
10283
|
-
return
|
|
10284
|
-
|
|
10283
|
+
return Wt(e, function(r) {
|
|
10284
|
+
Wt(t, function(o) {
|
|
10285
10285
|
if (n === !1)
|
|
10286
10286
|
return !1;
|
|
10287
10287
|
n = n2(r.geometry, o.geometry);
|
|
@@ -10364,8 +10364,8 @@ function i2(e, t) {
|
|
|
10364
10364
|
}
|
|
10365
10365
|
function a2(e, t) {
|
|
10366
10366
|
var n = !1;
|
|
10367
|
-
return
|
|
10368
|
-
|
|
10367
|
+
return Wt(e, function(r) {
|
|
10368
|
+
Wt(t, function(o) {
|
|
10369
10369
|
if (n === !0)
|
|
10370
10370
|
return !0;
|
|
10371
10371
|
n = !t2(r.geometry, o.geometry);
|
|
@@ -10373,7 +10373,7 @@ function a2(e, t) {
|
|
|
10373
10373
|
}), n;
|
|
10374
10374
|
}
|
|
10375
10375
|
const l2 = () => {
|
|
10376
|
-
const [e, t] = X(!1), [n, r] = X(!1), o = Mt(), s = Ku(), i = z(Fi), a = z(Ar), l = z(Ui), c = z(qo), u = z(Ct), f = z(Yo), d = z(zu), p = z(Pr), g = z(fS), b = z(Hi), [_, T] = X(!1), [h, v] = ee(
|
|
10376
|
+
const [e, t] = X(!1), [n, r] = X(!1), o = Mt(), s = Ku(), i = z(Fi), a = z(Ar), l = z(Ui), c = z(qo), u = z(Ct), f = z(Yo), d = z(zu), p = z(Pr), g = z(fS), b = z(Hi), [_, T] = X(!1), [h, v] = ee(sn), y = ee(Zo), [S] = ee(Yu), [C, L] = X({ id: null, originalRule: null });
|
|
10377
10377
|
D(() => {
|
|
10378
10378
|
s && A();
|
|
10379
10379
|
}, [s]), D(() => {
|
|
@@ -10475,7 +10475,7 @@ ld.propTypes = {
|
|
|
10475
10475
|
isViewSelectorVisible: w.bool
|
|
10476
10476
|
};
|
|
10477
10477
|
function ld({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
10478
|
-
const { t: n } = ct(), [r, o] = X(!1), [s, i] = X([]), [a, l] = X(null), c = Mt(), u = z(Ct), f = z(
|
|
10478
|
+
const { t: n } = ct(), [r, o] = X(!1), [s, i] = X([]), [a, l] = X(null), c = Mt(), u = z(Ct), f = z(sn), d = ".view-selector-portal", [p, g] = X(null), b = he(null), _ = he(null), T = 6, h = 60;
|
|
10479
10479
|
D(() => {
|
|
10480
10480
|
let A = document.querySelector(d);
|
|
10481
10481
|
if (A) {
|
|
@@ -10683,15 +10683,15 @@ const Xn = fe({
|
|
|
10683
10683
|
key: "appConfig",
|
|
10684
10684
|
default: void 0
|
|
10685
10685
|
}), d2 = (e) => /* @__PURE__ */ ie.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ie.createElement("path", { d: "M14.4978 10C14.4978 11.3807 13.3785 12.5 11.9978 12.5C10.6171 12.5 9.4978 11.3807 9.4978 10C9.4978 8.61929 10.6171 7.5 11.9978 7.5C13.3785 7.5 14.4978 8.61929 14.4978 10Z", stroke: "#78716C", strokeWidth: 2, strokeLinejoin: "round" }), /* @__PURE__ */ ie.createElement("path", { d: "M19 10C19 14.8354 14.2437 19.1734 12.5723 20.5484C12.2352 20.8258 11.7648 20.8258 11.4277 20.5484C9.75634 19.1734 5 14.8354 5 10C5 6.13401 8.13401 3 12 3C15.866 3 19 6.13401 19 10Z", stroke: "#78716C", strokeWidth: 2, strokeLinejoin: "round" }));
|
|
10686
|
-
const
|
|
10686
|
+
const Ft = fe({
|
|
10687
10687
|
key: "kioskLocation",
|
|
10688
10688
|
default: null
|
|
10689
10689
|
}), Rn = () => {
|
|
10690
|
-
const e = z(
|
|
10690
|
+
const e = z(Ft), t = Mt();
|
|
10691
10691
|
return !(!e || e && !t);
|
|
10692
10692
|
};
|
|
10693
10693
|
function ud() {
|
|
10694
|
-
const [e, t] = X(null), n = ".reset-view-portal", r = Rn(), o = z(Ui), s = z(Ct), i = z(
|
|
10694
|
+
const [e, t] = X(null), n = ".reset-view-portal", r = Rn(), o = z(Ui), s = z(Ct), i = z(sn), a = z(Ft), l = Mt();
|
|
10695
10695
|
function c() {
|
|
10696
10696
|
window.mapsindoors.services.LocationsService.getLocation(o).then((p) => {
|
|
10697
10697
|
u([p]);
|
|
@@ -10849,7 +10849,7 @@ function dd({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
10849
10849
|
] })
|
|
10850
10850
|
] });
|
|
10851
10851
|
}
|
|
10852
|
-
const
|
|
10852
|
+
const Ut = fe({
|
|
10853
10853
|
key: "primaryColor",
|
|
10854
10854
|
default: "#005655"
|
|
10855
10855
|
});
|
|
@@ -10858,7 +10858,7 @@ const Xi = fe({
|
|
|
10858
10858
|
default: void 0
|
|
10859
10859
|
});
|
|
10860
10860
|
function f2() {
|
|
10861
|
-
const e = z(
|
|
10861
|
+
const e = z(Ut), t = z(Xi);
|
|
10862
10862
|
return /* @__PURE__ */ m.jsx("div", { className: "splash-screen", children: /* @__PURE__ */ m.jsxs("div", { className: "splash-screen__container", children: [
|
|
10863
10863
|
/* @__PURE__ */ m.jsx(
|
|
10864
10864
|
"img",
|
|
@@ -10934,7 +10934,7 @@ var m2 = process.env.NODE_ENV !== "production" ? w.oneOfType([w.number, w.shape(
|
|
|
10934
10934
|
const pd = Pe.createContext(null);
|
|
10935
10935
|
var gd = function(t) {
|
|
10936
10936
|
return t.scrollTop;
|
|
10937
|
-
}, cr = "unmounted", un = "exited", dn = "entering", On = "entered", li = "exiting",
|
|
10937
|
+
}, cr = "unmounted", un = "exited", dn = "entering", On = "entered", li = "exiting", qt = /* @__PURE__ */ function(e) {
|
|
10938
10938
|
hd(t, e);
|
|
10939
10939
|
function t(r, o) {
|
|
10940
10940
|
var s;
|
|
@@ -11063,8 +11063,8 @@ var gd = function(t) {
|
|
|
11063
11063
|
);
|
|
11064
11064
|
}, t;
|
|
11065
11065
|
}(Pe.Component);
|
|
11066
|
-
|
|
11067
|
-
|
|
11066
|
+
qt.contextType = pd;
|
|
11067
|
+
qt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
11068
11068
|
/**
|
|
11069
11069
|
* A React reference to DOM element that need to transition:
|
|
11070
11070
|
* https://stackoverflow.com/a/51127130/4671932
|
|
@@ -11235,7 +11235,7 @@ Zt.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
11235
11235
|
} : {};
|
|
11236
11236
|
function Pn() {
|
|
11237
11237
|
}
|
|
11238
|
-
|
|
11238
|
+
qt.defaultProps = {
|
|
11239
11239
|
in: !1,
|
|
11240
11240
|
mountOnEnter: !1,
|
|
11241
11241
|
unmountOnExit: !1,
|
|
@@ -11249,12 +11249,12 @@ Zt.defaultProps = {
|
|
|
11249
11249
|
onExiting: Pn,
|
|
11250
11250
|
onExited: Pn
|
|
11251
11251
|
};
|
|
11252
|
-
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
const md =
|
|
11252
|
+
qt.UNMOUNTED = cr;
|
|
11253
|
+
qt.EXITED = un;
|
|
11254
|
+
qt.ENTERING = dn;
|
|
11255
|
+
qt.ENTERED = On;
|
|
11256
|
+
qt.EXITING = li;
|
|
11257
|
+
const md = qt;
|
|
11258
11258
|
var y2 = function(t, n) {
|
|
11259
11259
|
return t && n && n.split(" ").forEach(function(r) {
|
|
11260
11260
|
return p2(t, r);
|
|
@@ -11481,7 +11481,7 @@ yd.propTypes = {
|
|
|
11481
11481
|
active: w.bool
|
|
11482
11482
|
};
|
|
11483
11483
|
function yd({ onOpen: e, onClose: t, active: n }) {
|
|
11484
|
-
const { t: r } = ct(), o = he(null), s = z(Pr), [, i] = ee(Hi), [a, l] = ee(
|
|
11484
|
+
const { t: r } = ct(), o = he(null), s = z(Pr), [, i] = ee(Hi), [a, l] = ee(sn), [, c] = ee(Xo), u = document.querySelector(".venue-selector-portal"), f = (g) => {
|
|
11485
11485
|
i(!0), l(g.name), d();
|
|
11486
11486
|
}, d = () => {
|
|
11487
11487
|
n ? t() : e();
|
|
@@ -11521,7 +11521,7 @@ function yd({ onOpen: e, onClose: t, active: n }) {
|
|
|
11521
11521
|
)
|
|
11522
11522
|
] });
|
|
11523
11523
|
}
|
|
11524
|
-
const Sd = Gl(),
|
|
11524
|
+
const Sd = Gl(), Zt = fe({
|
|
11525
11525
|
key: "currentLocation",
|
|
11526
11526
|
default: null
|
|
11527
11527
|
}), w2 = "Left", C2 = "Right", E2 = "Up", R2 = "Down", jn = {
|
|
@@ -12023,7 +12023,7 @@ const ts = fe({
|
|
|
12023
12023
|
}), Td = Vo({
|
|
12024
12024
|
key: "baseLink",
|
|
12025
12025
|
get: ({ get: e }) => {
|
|
12026
|
-
const t = e(Vi), n = e(Go), r = e(Bi), o = e(
|
|
12026
|
+
const t = e(Vi), n = e(Go), r = e(Bi), o = e(Ut), s = e(_n), i = e(ts), a = e(ea), l = e(Xi), c = window.location.origin + window.location.pathname.replace(/\/$/, ""), u = new URLSearchParams(window.location.search), f = new URLSearchParams();
|
|
12027
12027
|
return [
|
|
12028
12028
|
["gmApiKey", t],
|
|
12029
12029
|
["mapboxAccessToken", n],
|
|
@@ -12094,7 +12094,7 @@ Nd.propTypes = {
|
|
|
12094
12094
|
buttonClassName: w.string
|
|
12095
12095
|
};
|
|
12096
12096
|
function Nd({ location: e, buttonClassName: t }) {
|
|
12097
|
-
const { t: n } = ct(), [r, o] = X(!1), s = z(Td), [i, a] = X(), l = z(xd), [c, u] = X(!1), [f, d] = X(!1), p = z(
|
|
12097
|
+
const { t: n } = ct(), [r, o] = X(!1), s = z(Td), [i, a] = X(), l = z(xd), [c, u] = X(!1), [f, d] = X(!1), p = z(Ft), [, g] = ee(ns), b = Mt();
|
|
12098
12098
|
D(() => {
|
|
12099
12099
|
s && e && a(s + "&locationId=" + e.id);
|
|
12100
12100
|
}, [s, e]), D(() => {
|
|
@@ -12175,7 +12175,7 @@ ta.propTypes = {
|
|
|
12175
12175
|
};
|
|
12176
12176
|
function ta({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections: r, isOpen: o, snapPointSwipedByUser: s }) {
|
|
12177
12177
|
var Fe, He;
|
|
12178
|
-
const { t: i } = ct(), a = he(null), l = he(null), c = he(null), u = he(null), f = he(null), [d, p] = X(!1), [g, b] = X(!1), [_, T] = X(!1), h = he(!1), [v, y] = X(null), S = z(Ct), C = z(
|
|
12178
|
+
const { t: i } = ct(), a = he(null), l = he(null), c = he(null), u = he(null), f = he(null), [d, p] = X(!1), [g, b] = X(!1), [_, T] = X(!1), h = he(!1), [v, y] = X(null), S = z(Ct), C = z(Zt), L = (Fe = C == null ? void 0 : C.properties) == null ? void 0 : Fe.additionalDetails, A = (He = L == null ? void 0 : L.find((me) => me.key.toLowerCase().includes("openinghours") && me.active === !0)) == null ? void 0 : He.openingHours, [O, M] = M2(C, c), B = Jn(), K = z(Ut), I = z(Ft), F = z(ji), [ce, de] = X(), [ae, pe] = X(), we = Mt(), $ = z(Or), U = z($r), [, , R] = Cd(ae, ce, F, $, U), x = z(es), N = Ed(S, o);
|
|
12179
12179
|
D(() => () => {
|
|
12180
12180
|
y(null), de(), pe();
|
|
12181
12181
|
}, []);
|
|
@@ -12232,11 +12232,11 @@ function ta({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
12232
12232
|
const me = document.querySelector(".modal.modal--open");
|
|
12233
12233
|
if (!me || !(u != null && u.current) || !(l != null && l.current))
|
|
12234
12234
|
return;
|
|
12235
|
-
const
|
|
12235
|
+
const xe = () => {
|
|
12236
12236
|
const Ke = me.offsetHeight, qe = l.current.offsetHeight;
|
|
12237
12237
|
Ke > 0 && qe > 0 && (qe / Ke > 0.9 ? (me.style.height = "100%", Q()) : me.style.height = "auto");
|
|
12238
12238
|
};
|
|
12239
|
-
return f.current ? f.current.complete ?
|
|
12239
|
+
return f.current ? f.current.complete ? xe() : (f.current.onload = xe, f.current.onerror = xe) : xe(), () => {
|
|
12240
12240
|
me.style.height = "", f.current && (f.current.onload = null, f.current.onerror = null);
|
|
12241
12241
|
};
|
|
12242
12242
|
}, [C, d, o, L]), /* @__PURE__ */ m.jsx("div", { className: `location-details ${h.current === !0 ? "location-details--max-height" : ""} ${g ? "location-details--content-above" : ""} ${_ ? "location-details--content-below" : ""}`, children: C && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
@@ -12285,9 +12285,9 @@ function ta({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
12285
12285
|
className: "location-details__details-content",
|
|
12286
12286
|
children: [
|
|
12287
12287
|
C.properties.imageURL && /* @__PURE__ */ m.jsx("img", { ref: f, alt: "", src: C.properties.imageURL, className: "location-details__image" }),
|
|
12288
|
-
Object.keys(C.properties.categories).length > 0 && /* @__PURE__ */ m.jsx("p", { className: "location-details__categories", children: Object.values(C.properties.categories).map((me,
|
|
12288
|
+
Object.keys(C.properties.categories).length > 0 && /* @__PURE__ */ m.jsx("p", { className: "location-details__categories", children: Object.values(C.properties.categories).map((me, xe, Ke) => /* @__PURE__ */ m.jsxs(Pe.Fragment, { children: [
|
|
12289
12289
|
me,
|
|
12290
|
-
|
|
12290
|
+
xe < Ke.length - 1 && /* @__PURE__ */ m.jsx(m.Fragment, { children: "・" })
|
|
12291
12291
|
] }, me)) }),
|
|
12292
12292
|
C.properties.description && /* @__PURE__ */ m.jsxs("section", { className: `location-details__description ${d ? "location-details__description--full" : ""}`, children: [
|
|
12293
12293
|
/* @__PURE__ */ m.jsx("div", { ref: c, children: C.properties.description }),
|
|
@@ -12357,7 +12357,7 @@ const U2 = () => {
|
|
|
12357
12357
|
const { placeholder: r, mapsindoors: o, results: s, clicked: i, cleared: a, changed: l, category: c, google: u, mapbox: f, disabled: d = !1 } = t, p = he(), g = z(Ho), b = z(_n), [, _] = ee(na), T = sessionStorage.getItem("mapboxPlacesSessionToken"), h = {
|
|
12358
12358
|
longitude: g == null ? void 0 : g.coords.longitude,
|
|
12359
12359
|
latitude: g == null ? void 0 : g.coords.latitude
|
|
12360
|
-
}, v = U2(), y = z(
|
|
12360
|
+
}, v = U2(), y = z(sn), S = z(ts);
|
|
12361
12361
|
return So(n, () => ({
|
|
12362
12362
|
triggerSearch() {
|
|
12363
12363
|
p.current.triggerSearch();
|
|
@@ -12478,7 +12478,7 @@ ra.propTypes = {
|
|
|
12478
12478
|
onAccessibilityChanged: w.func
|
|
12479
12479
|
};
|
|
12480
12480
|
function ra({ onAccessibilityChanged: e }) {
|
|
12481
|
-
const t = z(
|
|
12481
|
+
const t = z(Ut), [n, r] = ee($r);
|
|
12482
12482
|
function o(s) {
|
|
12483
12483
|
r(s.target.checked), e && e();
|
|
12484
12484
|
}
|
|
@@ -12498,7 +12498,7 @@ function ra({ onAccessibilityChanged: e }) {
|
|
|
12498
12498
|
}
|
|
12499
12499
|
function Y2() {
|
|
12500
12500
|
var s;
|
|
12501
|
-
const e = z(
|
|
12501
|
+
const e = z(Ut), t = z(Xn), [n, r] = ee(wd);
|
|
12502
12502
|
function o(i) {
|
|
12503
12503
|
r(i.target.checked);
|
|
12504
12504
|
}
|
|
@@ -12533,7 +12533,7 @@ oa.propTypes = {
|
|
|
12533
12533
|
};
|
|
12534
12534
|
function oa({ onStartDirections: e, onBack: t, directionsToLocation: n, directionsFromLocation: r, onSetSize: o, isActive: s }) {
|
|
12535
12535
|
var pt, xt;
|
|
12536
|
-
const { t: i } = ct(), a = he(), l = he(), c = he(), u = he(), f = z(ji), d = z(Ho), p = z(
|
|
12536
|
+
const { t: i } = ct(), a = he(), l = he(), c = he(), u = he(), f = z(ji), d = z(Ho), p = z(Zt), g = z(zo), b = z(Ut), [_, T] = ee(Pd), [h, v] = X(), [, y] = ee(Jo), [S, C] = X(!0), [L, A] = X(!1), [O, M] = X([]), [B, K] = X(), [I, F] = X(), ce = z($r), de = Jn(), [ae, pe] = X(!1), [we, $] = ee(Or), [U, R] = X(!1), x = z(Go), N = z(W2), [V, j, q, W] = Cd(I, B, f, we, ce), H = z(ea), Q = z(Xn);
|
|
12537
12537
|
function Se(ue) {
|
|
12538
12538
|
return g === at.Google && ue.properties.type === "google_places" ? H2(ue) : g === at.Mapbox && ue.properties.type === "mapbox_places" ? K2(ue, x) : Promise.resolve(ue);
|
|
12539
12539
|
}
|
|
@@ -12549,8 +12549,8 @@ function oa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12549
12549
|
C(!1), pe(!1), M([]);
|
|
12550
12550
|
else {
|
|
12551
12551
|
C(!0), M(ue);
|
|
12552
|
-
const
|
|
12553
|
-
pe(
|
|
12552
|
+
const Ne = ue.filter((Me) => Me.properties.type === "google_places").length > 0;
|
|
12553
|
+
pe(Ne), Fe(Ce.MAX);
|
|
12554
12554
|
}
|
|
12555
12555
|
}
|
|
12556
12556
|
function Fe(ue) {
|
|
@@ -12563,7 +12563,7 @@ function oa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12563
12563
|
function me(ue) {
|
|
12564
12564
|
(I == null ? void 0 : I.id) === "USER_POSITION" && ue === Xe.TO || (B == null ? void 0 : B.id) === "USER_POSITION" && ue === Xe.FROM ? R(!1) : R(!0);
|
|
12565
12565
|
}
|
|
12566
|
-
function
|
|
12566
|
+
function xe(ue) {
|
|
12567
12567
|
me(ue);
|
|
12568
12568
|
}
|
|
12569
12569
|
function Ke(ue) {
|
|
@@ -12604,8 +12604,8 @@ function oa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12604
12604
|
Fe(Ce.FIT);
|
|
12605
12605
|
let ue = !1;
|
|
12606
12606
|
if ((r == null ? void 0 : r.id) === "USER_POSITION" && (n == null ? void 0 : n.id) === "USER_POSITION" && (n = void 0), n != null && n.properties && !p && (c.current.setDisplayText(n.properties.name), K(n)), r != null && r.properties ? I || (u.current.setDisplayText(r.properties.name), F(r), ue = !0) : v(Xe.FROM), s && !((te = u.current) != null && te.getValue()) && d && !I && (n == null ? void 0 : n.id) !== "USER_POSITION" && !ue) {
|
|
12607
|
-
const
|
|
12608
|
-
u.current.setDisplayText(
|
|
12607
|
+
const Ne = ui(d);
|
|
12608
|
+
u.current.setDisplayText(Ne.properties.name), F(Ne), y(!0), C(!0), M([]);
|
|
12609
12609
|
}
|
|
12610
12610
|
}, [s, n, r]), D(() => {
|
|
12611
12611
|
g === at.Mapbox && (pe(!1), M(O.filter((ue) => ue.properties.type !== "google_places")));
|
|
@@ -12637,7 +12637,7 @@ function oa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12637
12637
|
results: (ue) => Ee(ue, Xe.FROM),
|
|
12638
12638
|
clicked: () => Ke(Xe.FROM),
|
|
12639
12639
|
cleared: () => qe(Xe.FROM),
|
|
12640
|
-
changed: () =>
|
|
12640
|
+
changed: () => xe(Xe.FROM)
|
|
12641
12641
|
}
|
|
12642
12642
|
)
|
|
12643
12643
|
] }),
|
|
@@ -12663,7 +12663,7 @@ function oa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12663
12663
|
results: (ue) => Ee(ue, Xe.TO),
|
|
12664
12664
|
clicked: () => Ke(Xe.TO),
|
|
12665
12665
|
cleared: () => qe(Xe.TO),
|
|
12666
|
-
changed: () =>
|
|
12666
|
+
changed: () => xe(Xe.TO)
|
|
12667
12667
|
}
|
|
12668
12668
|
)
|
|
12669
12669
|
] })
|
|
@@ -12891,7 +12891,7 @@ sa.propTypes = {
|
|
|
12891
12891
|
snapPointSwipedByUser: w.string
|
|
12892
12892
|
};
|
|
12893
12893
|
function sa({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointSwipedByUser: o }) {
|
|
12894
|
-
const { t: s } = ct(), i = he(), [a, l] = X(null), c = he(null), [u, f] = X(), d = z(Ct), p = z(Or), g = z(Ir), [, b] = ee(os), [_, T] = ee(ss), h = z(
|
|
12894
|
+
const { t: s } = ct(), i = he(), [a, l] = X(null), c = he(null), [u, f] = X(), d = z(Ct), p = z(Or), g = z(Ir), [, b] = ee(os), [_, T] = ee(ss), h = z(Ft), v = Mt(), [, y] = ee(ns), S = z(Id), C = z(Ut), L = Rn(), A = z(es), O = z(Td), M = z(Zt), B = z(zo);
|
|
12895
12895
|
D(() => () => {
|
|
12896
12896
|
l(null);
|
|
12897
12897
|
}, []), D(() => {
|
|
@@ -13170,7 +13170,7 @@ const nb = (e) => /* @__PURE__ */ ie.createElement("svg", { width: 24, height: 2
|
|
|
13170
13170
|
}), Vd = Vo({
|
|
13171
13171
|
key: "legendFields",
|
|
13172
13172
|
get: ({ get: e }) => {
|
|
13173
|
-
const t = e(
|
|
13173
|
+
const t = e(Ft);
|
|
13174
13174
|
if (!(t != null && t.properties.fields))
|
|
13175
13175
|
return;
|
|
13176
13176
|
const n = [];
|
|
@@ -13202,34 +13202,33 @@ la.propTypes = {
|
|
|
13202
13202
|
isOpen: w.bool
|
|
13203
13203
|
};
|
|
13204
13204
|
function la({ onSetSize: e, isOpen: t }) {
|
|
13205
|
-
const n = z(Xn), { t: r } = ct(), o = he(), s = he(), i = he(), a = he(), l = he(), c = 100, [u, f] = X(!0), [d, p] = ee(is), g = z(Ar), b = z(Dd), [_, T] = X(!1), [h, v] = ee(ia), y = Jn(), [S, C] = X(), L = z(Ct), [, A] = ee(Ko), [, O] = ee(
|
|
13205
|
+
const n = z(Xn), { t: r } = ct(), o = he(), s = he(), i = he(), a = he(), l = he(), c = 100, [u, f] = X(!0), [d, p] = ee(is), g = z(Ar), b = z(Dd), [_, T] = X(!1), [h, v] = ee(ia), y = Jn(), [S, C] = X(), L = z(Ct), [, A] = ee(Ko), [, O] = ee(Zt), [, M] = ee(Xo), [B, K] = ee(sn), I = z(_n), F = Mt(), ce = z(Ft), [de, ae] = X(!1), pe = z(na), we = Rn(), [, $] = ee(as), [U, R] = X(!1), x = z(Vd), N = z(ts), V = z(Pr), j = z(aa), [q, W] = X(!1), H = he([]), [Q, Se] = X([]), [G, Ee] = X(!1);
|
|
13206
13206
|
function Fe() {
|
|
13207
|
-
var te,
|
|
13208
|
-
H.current.length === 1 ? (v(null), p([]), A([]), me(Ce.FIT), W(!0), ((
|
|
13207
|
+
var te, Ne, Me;
|
|
13208
|
+
H.current.length === 1 ? (v(null), p([]), A([]), me(Ce.FIT), W(!0), ((Ne = (te = a.current) == null ? void 0 : te.getValue()) == null ? void 0 : Ne.trim()) ? a.current.triggerSearch() : (Me = a.current) == null || Me.clear(), H.current.pop()) : (H.current.pop(), v(H.current[0]));
|
|
13209
13209
|
}
|
|
13210
13210
|
function He(te) {
|
|
13211
|
-
var
|
|
13211
|
+
var Ne;
|
|
13212
13212
|
H.current.includes(te) || H.current.push(te), h && (v([]), p([]), A([])), v(te), window.mapsindoors.services.LocationsService.getLocations({
|
|
13213
13213
|
categories: te,
|
|
13214
|
-
venue: N || (
|
|
13214
|
+
venue: N || (Ne = V.find((Me) => Me.name.toLowerCase() === B.toLowerCase())) == null ? void 0 : Ne.name
|
|
13215
13215
|
}).then((Me) => Ke(Me, !0));
|
|
13216
13216
|
}
|
|
13217
13217
|
function me(te) {
|
|
13218
13218
|
typeof e == "function" && e(te);
|
|
13219
13219
|
}
|
|
13220
|
-
function
|
|
13221
|
-
|
|
13222
|
-
|
|
13223
|
-
|
|
13224
|
-
|
|
13225
|
-
return (((tt = Me.properties) == null ? void 0 : tt.name) || "").localeCompare(((Ot = De.properties) == null ? void 0 : Ot.name) || "");
|
|
13220
|
+
function xe(te) {
|
|
13221
|
+
return h ? [...te].sort(
|
|
13222
|
+
(Ne, Me) => {
|
|
13223
|
+
var $e, tt;
|
|
13224
|
+
return ((($e = Ne.properties) == null ? void 0 : $e.name) || "").localeCompare(((tt = Me.properties) == null ? void 0 : tt.name) || "");
|
|
13226
13225
|
}
|
|
13227
13226
|
) : te;
|
|
13228
13227
|
}
|
|
13229
|
-
function Ke(te,
|
|
13230
|
-
var
|
|
13228
|
+
function Ke(te, Ne = !1) {
|
|
13229
|
+
var $e;
|
|
13231
13230
|
const Me = te.slice(0, c);
|
|
13232
|
-
me(Ce.MAX), p(Me), A(Me), T(Me.length === 0), te &&
|
|
13231
|
+
me(Ce.MAX), p(Me), A(Me), T(Me.length === 0), te && Ne && qe(te), we && (($e = o.current) == null || $e.addEventListener("transitionend", () => {
|
|
13233
13232
|
var tt;
|
|
13234
13233
|
(tt = s == null ? void 0 : s.current) == null || tt.updateScrollButtons();
|
|
13235
13234
|
}, { once: !0 }));
|
|
@@ -13237,18 +13236,18 @@ function la({ onSetSize: e, isOpen: t }) {
|
|
|
13237
13236
|
function qe(te) {
|
|
13238
13237
|
if (!L.goTo)
|
|
13239
13238
|
return;
|
|
13240
|
-
const
|
|
13239
|
+
const Ne = L.getFloor(), Me = {
|
|
13241
13240
|
type: "FeatureCollection",
|
|
13242
|
-
features: te.filter((
|
|
13241
|
+
features: te.filter(($e) => parseInt($e.properties.floor, 10) === parseInt(Ne, 10)).filter(($e) => $e.properties.venueId.toLowerCase() === B.toLowerCase()).map(($e) => ({
|
|
13243
13242
|
type: "Feature",
|
|
13244
|
-
geometry:
|
|
13245
|
-
properties:
|
|
13243
|
+
geometry: $e.geometry,
|
|
13244
|
+
properties: $e.properties
|
|
13246
13245
|
}))
|
|
13247
13246
|
};
|
|
13248
|
-
Me.features.length > 0 && Promise.all([Rt(), pt()]).then(([
|
|
13247
|
+
Me.features.length > 0 && Promise.all([Rt(), pt()]).then(([$e, tt]) => {
|
|
13249
13248
|
L.goTo(Me, {
|
|
13250
13249
|
maxZoom: 22,
|
|
13251
|
-
padding: { bottom:
|
|
13250
|
+
padding: { bottom: $e, left: tt, top: 0, right: 0 }
|
|
13252
13251
|
});
|
|
13253
13252
|
});
|
|
13254
13253
|
}
|
|
@@ -13267,22 +13266,22 @@ function la({ onSetSize: e, isOpen: t }) {
|
|
|
13267
13266
|
}
|
|
13268
13267
|
function Lt(te) {
|
|
13269
13268
|
O(te), te.properties.venueId.toLowerCase() !== B.toLowerCase() && (K(te.properties.venueId), M(!0));
|
|
13270
|
-
const
|
|
13271
|
-
Me !==
|
|
13269
|
+
const Ne = L.getFloor(), Me = te.properties.floor;
|
|
13270
|
+
Me !== Ne && L.setFloor(Me), Promise.all([Rt(), pt()]).then(([$e, tt]) => {
|
|
13272
13271
|
L.goTo(te, {
|
|
13273
13272
|
maxZoom: 22,
|
|
13274
|
-
padding: { bottom:
|
|
13273
|
+
padding: { bottom: $e, left: tt, top: 0, right: 0 }
|
|
13275
13274
|
});
|
|
13276
13275
|
});
|
|
13277
13276
|
}
|
|
13278
13277
|
function Rt() {
|
|
13279
13278
|
return new Promise((te) => {
|
|
13280
|
-
F ? ce ? mr().then((
|
|
13279
|
+
F ? ce ? mr().then((Ne) => te(Ne)) : te(0) : te(200);
|
|
13281
13280
|
});
|
|
13282
13281
|
}
|
|
13283
13282
|
function pt() {
|
|
13284
13283
|
return new Promise((te) => {
|
|
13285
|
-
F ? ce ? te(0) : pn().then((
|
|
13284
|
+
F ? ce ? te(0) : pn().then((Ne) => te(Ne)) : te(0);
|
|
13286
13285
|
});
|
|
13287
13286
|
}
|
|
13288
13287
|
function xt() {
|
|
@@ -13295,15 +13294,15 @@ function la({ onSetSize: e, isOpen: t }) {
|
|
|
13295
13294
|
return we && G;
|
|
13296
13295
|
}
|
|
13297
13296
|
return D(() => {
|
|
13298
|
-
const te = [".search__info", ".search__back-button", ".categories", ".sheet__content"],
|
|
13297
|
+
const te = [".search__info", ".search__back-button", ".categories", ".sheet__content"], Ne = [".mi-floor-selector", ".view-mode-switch", ".mi-my-position", ".view-selector__toggle-button", ".building-list", ".mapboxgl-ctrl-bottom-right", ".gmnoprint", ".language-selector-portal"], Me = ($e) => {
|
|
13299
13298
|
const tt = te.some(
|
|
13300
|
-
(P) =>
|
|
13301
|
-
),
|
|
13302
|
-
(P) =>
|
|
13303
|
-
), cn =
|
|
13299
|
+
(P) => $e.target.closest(P)
|
|
13300
|
+
), ln = Ne.some(
|
|
13301
|
+
(P) => $e.target.closest(P)
|
|
13302
|
+
), cn = $e.target.closest(".search__results");
|
|
13304
13303
|
tt ? (me(Ce.MAX), i.current = requestAnimationFrame(() => {
|
|
13305
13304
|
W(!0);
|
|
13306
|
-
})) : !cn && !
|
|
13305
|
+
})) : !cn && !ln && (W(!1), me(Ce.MIN), v(null), p([]), A([]), H.current = []);
|
|
13307
13306
|
};
|
|
13308
13307
|
return t ? i.current = requestAnimationFrame(() => {
|
|
13309
13308
|
document.addEventListener("click", Me);
|
|
@@ -13327,8 +13326,8 @@ function la({ onSetSize: e, isOpen: t }) {
|
|
|
13327
13326
|
}
|
|
13328
13327
|
}, [d, t]), D(() => {
|
|
13329
13328
|
if (b) {
|
|
13330
|
-
const te = (
|
|
13331
|
-
|
|
13329
|
+
const te = (Ne) => {
|
|
13330
|
+
Ne.target.closest("mi-keyboard") || Ne.target.tagName.toUpperCase() === "MI-SEARCH" || Ne.target.tagName.toUpperCase() === "INPUT" ? ae(!0) : ae(!1);
|
|
13332
13331
|
};
|
|
13333
13332
|
return window.addEventListener("click", te, !1), () => {
|
|
13334
13333
|
window.removeEventListener("click", te, !1);
|
|
@@ -13339,12 +13338,12 @@ function la({ onSetSize: e, isOpen: t }) {
|
|
|
13339
13338
|
}, [h]), D(() => {
|
|
13340
13339
|
ce && R(x.length > 0);
|
|
13341
13340
|
}, [ce]), D(() => {
|
|
13342
|
-
var
|
|
13343
|
-
const te = ((Me = (
|
|
13341
|
+
var Ne, Me;
|
|
13342
|
+
const te = ((Me = (Ne = g.find(([$e]) => $e === h)) == null ? void 0 : Ne[1]) == null ? void 0 : Me.childKeys) || [];
|
|
13344
13343
|
Se(te);
|
|
13345
13344
|
}, [g, h]), D(() => {
|
|
13346
|
-
var te,
|
|
13347
|
-
Ee(((te = n == null ? void 0 : n.appSettings) == null ? void 0 : te.areHorizontalCategoriesEnabled) === !0 || ((
|
|
13345
|
+
var te, Ne;
|
|
13346
|
+
Ee(((te = n == null ? void 0 : n.appSettings) == null ? void 0 : te.areHorizontalCategoriesEnabled) === !0 || ((Ne = n == null ? void 0 : n.appSettings) == null ? void 0 : Ne.areHorizontalCategoriesEnabled) === "true");
|
|
13348
13347
|
}, [n]), /* @__PURE__ */ m.jsxs(
|
|
13349
13348
|
"div",
|
|
13350
13349
|
{
|
|
@@ -13399,7 +13398,7 @@ function la({ onSetSize: e, isOpen: t }) {
|
|
|
13399
13398
|
categoryOrientation: G ? "horizontal" : "vertical"
|
|
13400
13399
|
}
|
|
13401
13400
|
),
|
|
13402
|
-
|
|
13401
|
+
xe(d).map(
|
|
13403
13402
|
(te) => /* @__PURE__ */ m.jsx(
|
|
13404
13403
|
rs,
|
|
13405
13404
|
{
|
|
@@ -13463,7 +13462,7 @@ Fd.propTypes = {
|
|
|
13463
13462
|
onRouteFinished: w.func.isRequired
|
|
13464
13463
|
};
|
|
13465
13464
|
function Fd({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n, currentAppView: r, appViews: o, onRouteFinished: s }) {
|
|
13466
|
-
const i = he(), a = he(), l = he(), c = he(), u = he(), f = he(), [d, p] = ee(
|
|
13465
|
+
const i = he(), a = he(), l = he(), c = he(), u = he(), f = he(), [d, p] = ee(Zt), [g, b] = X(!1), [_, T] = ee(Wo), [, h] = ee(qo);
|
|
13467
13466
|
D(() => {
|
|
13468
13467
|
e && t && r === o.DIRECTIONS || (e && t || e ? n(o.WAYFINDING) : d ? n(o.LOCATION_DETAILS, d) : (_ == null ? void 0 : _.length) > 1 ? n(o.EXTERNALIDS) : (_ == null ? void 0 : _.length) === 1 ? (p(_[0]), h(_[0].id)) : n(o.SEARCH));
|
|
13469
13468
|
}, [d, e, t, _]), D(() => {
|
|
@@ -13610,7 +13609,7 @@ const rb = {
|
|
|
13610
13609
|
default: !1
|
|
13611
13610
|
});
|
|
13612
13611
|
function ib() {
|
|
13613
|
-
const e = z(aa), [, t] = ee(
|
|
13612
|
+
const e = z(aa), [, t] = ee(sn), n = Qe(os), r = Qe(Zt), o = Qe(Ir), s = Qe(Jo), i = Qe(Xo), a = Qe(kr), l = Qe(sb), c = Qe(ss), u = Qe(Or), f = Qe(is), d = Qe($r), p = Qe(as), g = Qe(Wu), b = Qe(Hi);
|
|
13614
13613
|
return () => {
|
|
13615
13614
|
n(), r(), o(), s(), i(), a(), l(), c(), u(), f(), d(), p(), g(), b(), e && t(e);
|
|
13616
13615
|
};
|
|
@@ -13620,7 +13619,7 @@ Dn.propTypes = {
|
|
|
13620
13619
|
isOpen: w.bool
|
|
13621
13620
|
};
|
|
13622
13621
|
function Dn({ children: e, isOpen: t }) {
|
|
13623
|
-
const [n, r] = X(!1), o = z(
|
|
13622
|
+
const [n, r] = X(!1), o = z(Ft), s = he(), i = he();
|
|
13624
13623
|
return D(() => {
|
|
13625
13624
|
if (!i)
|
|
13626
13625
|
return;
|
|
@@ -13651,7 +13650,7 @@ Ud.propTypes = {
|
|
|
13651
13650
|
onRouteFinished: w.func
|
|
13652
13651
|
};
|
|
13653
13652
|
function Ud({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n, currentAppView: r, appViews: o, onRouteFinished: s }) {
|
|
13654
|
-
const [i, a] = ee(
|
|
13653
|
+
const [i, a] = ee(Zt), [l, c] = ee(Wo), [, u] = ee(qo), f = z(Ft);
|
|
13655
13654
|
D(() => {
|
|
13656
13655
|
e && t && r === o.DIRECTIONS || (e && t || e ? n(o.WAYFINDING) : i ? n(o.LOCATION_DETAILS, i) : (l == null ? void 0 : l.length) > 1 ? n(o.EXTERNALIDS) : (l == null ? void 0 : l.length) === 1 ? (a(l[0]), u(l[0].id)) : n(o.SEARCH));
|
|
13657
13656
|
}, [i, e, t, l]);
|
|
@@ -14000,7 +13999,7 @@ var Wd = {};
|
|
|
14000
13999
|
};
|
|
14001
14000
|
})(Wd);
|
|
14002
14001
|
var cs = {};
|
|
14003
|
-
const
|
|
14002
|
+
const en = ls, qr = [
|
|
14004
14003
|
// L M Q H
|
|
14005
14004
|
1,
|
|
14006
14005
|
1,
|
|
@@ -14327,13 +14326,13 @@ const tn = ls, qr = [
|
|
|
14327
14326
|
];
|
|
14328
14327
|
cs.getBlocksCount = function(t, n) {
|
|
14329
14328
|
switch (n) {
|
|
14330
|
-
case
|
|
14329
|
+
case en.L:
|
|
14331
14330
|
return qr[(t - 1) * 4 + 0];
|
|
14332
|
-
case
|
|
14331
|
+
case en.M:
|
|
14333
14332
|
return qr[(t - 1) * 4 + 1];
|
|
14334
|
-
case
|
|
14333
|
+
case en.Q:
|
|
14335
14334
|
return qr[(t - 1) * 4 + 2];
|
|
14336
|
-
case
|
|
14335
|
+
case en.H:
|
|
14337
14336
|
return qr[(t - 1) * 4 + 3];
|
|
14338
14337
|
default:
|
|
14339
14338
|
return;
|
|
@@ -14341,13 +14340,13 @@ cs.getBlocksCount = function(t, n) {
|
|
|
14341
14340
|
};
|
|
14342
14341
|
cs.getTotalCodewordsCount = function(t, n) {
|
|
14343
14342
|
switch (n) {
|
|
14344
|
-
case
|
|
14343
|
+
case en.L:
|
|
14345
14344
|
return Zr[(t - 1) * 4 + 0];
|
|
14346
|
-
case
|
|
14345
|
+
case en.M:
|
|
14347
14346
|
return Zr[(t - 1) * 4 + 1];
|
|
14348
|
-
case
|
|
14347
|
+
case en.Q:
|
|
14349
14348
|
return Zr[(t - 1) * 4 + 2];
|
|
14350
|
-
case
|
|
14349
|
+
case en.H:
|
|
14351
14350
|
return Zr[(t - 1) * 4 + 3];
|
|
14352
14351
|
default:
|
|
14353
14352
|
return;
|
|
@@ -14419,33 +14418,33 @@ da.prototype.encode = function(t) {
|
|
|
14419
14418
|
}
|
|
14420
14419
|
return r;
|
|
14421
14420
|
};
|
|
14422
|
-
var pb = da, Zd = {},
|
|
14421
|
+
var pb = da, Zd = {}, an = {}, fa = {};
|
|
14423
14422
|
fa.isValid = function(t) {
|
|
14424
14423
|
return !isNaN(t) && t >= 1 && t <= 40;
|
|
14425
14424
|
};
|
|
14426
|
-
var
|
|
14425
|
+
var Ht = {};
|
|
14427
14426
|
const Qd = "[0-9]+", gb = "[A-Z $%*+\\-./:]+";
|
|
14428
14427
|
let Sr = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
|
|
14429
14428
|
Sr = Sr.replace(/u/g, "\\u");
|
|
14430
14429
|
const mb = "(?:(?![A-Z0-9 $%*+\\-./:]|" + Sr + `)(?:.|[\r
|
|
14431
14430
|
]))+`;
|
|
14432
|
-
|
|
14433
|
-
|
|
14434
|
-
|
|
14435
|
-
|
|
14436
|
-
|
|
14431
|
+
Ht.KANJI = new RegExp(Sr, "g");
|
|
14432
|
+
Ht.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
|
|
14433
|
+
Ht.BYTE = new RegExp(mb, "g");
|
|
14434
|
+
Ht.NUMERIC = new RegExp(Qd, "g");
|
|
14435
|
+
Ht.ALPHANUMERIC = new RegExp(gb, "g");
|
|
14437
14436
|
const vb = new RegExp("^" + Sr + "$"), yb = new RegExp("^" + Qd + "$"), Sb = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
|
|
14438
|
-
|
|
14437
|
+
Ht.testKanji = function(t) {
|
|
14439
14438
|
return vb.test(t);
|
|
14440
14439
|
};
|
|
14441
|
-
|
|
14440
|
+
Ht.testNumeric = function(t) {
|
|
14442
14441
|
return yb.test(t);
|
|
14443
14442
|
};
|
|
14444
|
-
|
|
14443
|
+
Ht.testAlphanumeric = function(t) {
|
|
14445
14444
|
return Sb.test(t);
|
|
14446
14445
|
};
|
|
14447
14446
|
(function(e) {
|
|
14448
|
-
const t = fa, n =
|
|
14447
|
+
const t = fa, n = Ht;
|
|
14449
14448
|
e.NUMERIC = {
|
|
14450
14449
|
id: "Numeric",
|
|
14451
14450
|
bit: 1 << 0,
|
|
@@ -14504,9 +14503,9 @@ zt.testAlphanumeric = function(t) {
|
|
|
14504
14503
|
return i;
|
|
14505
14504
|
}
|
|
14506
14505
|
};
|
|
14507
|
-
})(
|
|
14506
|
+
})(an);
|
|
14508
14507
|
(function(e) {
|
|
14509
|
-
const t = Et, n = cs, r = ls, o =
|
|
14508
|
+
const t = Et, n = cs, r = ls, o = an, s = fa, i = 1 << 12 | 1 << 11 | 1 << 10 | 1 << 9 | 1 << 8 | 1 << 5 | 1 << 2 | 1 << 0, a = t.getBCHDigit(i);
|
|
14510
14509
|
function l(d, p, g) {
|
|
14511
14510
|
for (let b = 1; b <= 40; b++)
|
|
14512
14511
|
if (p <= e.getCapacity(b, g, d))
|
|
@@ -14579,7 +14578,7 @@ Xd.getEncodedBits = function(t, n) {
|
|
|
14579
14578
|
return (r << 10 | o) ^ bb;
|
|
14580
14579
|
};
|
|
14581
14580
|
var ef = {};
|
|
14582
|
-
const wb =
|
|
14581
|
+
const wb = an;
|
|
14583
14582
|
function zn(e) {
|
|
14584
14583
|
this.mode = wb.NUMERIC, this.data = e.toString();
|
|
14585
14584
|
}
|
|
@@ -14600,7 +14599,7 @@ zn.prototype.write = function(t) {
|
|
|
14600
14599
|
s > 0 && (r = this.data.substr(n), o = parseInt(r, 10), t.put(o, s * 3 + 1));
|
|
14601
14600
|
};
|
|
14602
14601
|
var Cb = zn;
|
|
14603
|
-
const Eb =
|
|
14602
|
+
const Eb = an, Ds = [
|
|
14604
14603
|
"0",
|
|
14605
14604
|
"1",
|
|
14606
14605
|
"2",
|
|
@@ -14694,7 +14693,7 @@ var Rb = Gn, _b = function(t) {
|
|
|
14694
14693
|
}
|
|
14695
14694
|
return new Uint8Array(n).buffer;
|
|
14696
14695
|
};
|
|
14697
|
-
const Tb = _b, Lb =
|
|
14696
|
+
const Tb = _b, Lb = an;
|
|
14698
14697
|
function Kn(e) {
|
|
14699
14698
|
this.mode = Lb.BYTE, typeof e == "string" && (e = Tb(e)), this.data = new Uint8Array(e);
|
|
14700
14699
|
}
|
|
@@ -14712,7 +14711,7 @@ Kn.prototype.write = function(e) {
|
|
|
14712
14711
|
e.put(this.data[t], 8);
|
|
14713
14712
|
};
|
|
14714
14713
|
var xb = Kn;
|
|
14715
|
-
const Nb =
|
|
14714
|
+
const Nb = an, kb = Et;
|
|
14716
14715
|
function Wn(e) {
|
|
14717
14716
|
this.mode = Nb.KANJI, this.data = e;
|
|
14718
14717
|
}
|
|
@@ -14809,7 +14808,7 @@ var Ab = Wn, tf = { exports: {} };
|
|
|
14809
14808
|
})(tf);
|
|
14810
14809
|
var Pb = tf.exports;
|
|
14811
14810
|
(function(e) {
|
|
14812
|
-
const t =
|
|
14811
|
+
const t = an, n = Cb, r = Rb, o = xb, s = Ab, i = Ht, a = Et, l = Pb;
|
|
14813
14812
|
function c(T) {
|
|
14814
14813
|
return unescape(encodeURIComponent(T)).length;
|
|
14815
14814
|
}
|
|
@@ -14939,7 +14938,7 @@ var Pb = tf.exports;
|
|
|
14939
14938
|
);
|
|
14940
14939
|
};
|
|
14941
14940
|
})(ef);
|
|
14942
|
-
const ds = Et, js = ls, Mb = db, Ib = fb, Ob = Gd, $b = Kd, hi = Wd, pi = cs, Db = pb, vo = Zd, jb = Xd, Bb =
|
|
14941
|
+
const ds = Et, js = ls, Mb = db, Ib = fb, Ob = Gd, $b = Kd, hi = Wd, pi = cs, Db = pb, vo = Zd, jb = Xd, Bb = an, Bs = ef;
|
|
14943
14942
|
function Vb(e, t) {
|
|
14944
14943
|
const n = e.size, r = $b.getPositions(t);
|
|
14945
14944
|
for (let o = 0; o < r.length; o++) {
|
|
@@ -15205,7 +15204,7 @@ Dr.toString = pa.bind(null, function(e, t, n) {
|
|
|
15205
15204
|
return Qb.render(e, n);
|
|
15206
15205
|
});
|
|
15207
15206
|
function Xb() {
|
|
15208
|
-
const { t: e } = ct(), [t, n] = ee(ns), r = he(), o = z(
|
|
15207
|
+
const { t: e } = ct(), [t, n] = ee(ns), r = he(), o = z(Ut);
|
|
15209
15208
|
return D(() => {
|
|
15210
15209
|
const s = {
|
|
15211
15210
|
errorCorrectionLevel: "L",
|
|
@@ -15229,7 +15228,7 @@ const Jb = fe({
|
|
|
15229
15228
|
default: void 0
|
|
15230
15229
|
});
|
|
15231
15230
|
function e3() {
|
|
15232
|
-
const { t: e } = ct(), t = z(
|
|
15231
|
+
const { t: e } = ct(), t = z(Ut), n = z(Vd), r = Rn(), o = he(), s = he(), i = he(), [a, l] = ee(as), [c, u] = X(!1), f = he();
|
|
15233
15232
|
let d = 700;
|
|
15234
15233
|
return D(() => {
|
|
15235
15234
|
a && r && u(f.current.clientHeight > d);
|
|
@@ -15259,7 +15258,7 @@ function e3() {
|
|
|
15259
15258
|
] });
|
|
15260
15259
|
}
|
|
15261
15260
|
const t3 = () => {
|
|
15262
|
-
const [e, t] = ee(
|
|
15261
|
+
const [e, t] = ee(sn), n = z(Pr), r = z(Ct), o = z(Xn), [, s] = ee(Ar), [, i] = ee(is), a = z(na), [l, c] = ee(aa);
|
|
15263
15262
|
D(() => {
|
|
15264
15263
|
var d;
|
|
15265
15264
|
!e && n.length && t((d = u()) == null ? void 0 : d.name);
|
|
@@ -15302,7 +15301,7 @@ const t3 = () => {
|
|
|
15302
15301
|
default: !0
|
|
15303
15302
|
});
|
|
15304
15303
|
function r3() {
|
|
15305
|
-
const e = Qe(os), t = Qe(
|
|
15304
|
+
const e = Qe(os), t = Qe(Zt), n = Qe(Ir), r = Qe(Jo), o = Qe(Xo), s = Qe(kr), i = Qe(Or), a = Qe($r);
|
|
15306
15305
|
return () => {
|
|
15307
15306
|
e(), t(), n(), r(), o(), s(), i(), a();
|
|
15308
15307
|
};
|
|
@@ -15345,13 +15344,13 @@ sf.propTypes = {
|
|
|
15345
15344
|
devicePosition: w.object
|
|
15346
15345
|
};
|
|
15347
15346
|
function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId: o, primaryColor: s, logo: i, appUserRoles: a, directionsFrom: l, directionsTo: c, externalIDs: u, tileStyle: f, startZoomLevel: d, bearing: p, pitch: g, gmMapId: b, useMapProviderModule: _, kioskOriginLocationId: T, language: h, supportsUrlParameters: v, useKeyboard: y, timeout: S, miTransitionLevel: C, category: L, searchAllVenues: A, hideNonMatches: O, showRoadNames: M, showExternalIDs: B, searchExternalLocations: K, center: I, useAppTitle: F, showMapMarkers: ce, mapboxMapStyle: de, devicePosition: ae }) {
|
|
15348
|
-
const [pe, we] = X(!1), [$, U] = X({ brandingColor: s }), [, R] = ee(Bi), [, x] = ee(Vi), [, N] = ee(Go), [V, j] = ee(Zo), [q, W] = ee(Pr), [H, Q] = ee(
|
|
15347
|
+
const [pe, we] = X(!1), [$, U] = X({ brandingColor: s }), [, R] = ee(Bi), [, x] = ee(Vi), [, N] = ee(Go), [V, j] = ee(Zo), [q, W] = ee(Pr), [H, Q] = ee(Zt), Se = z(Ar), [, G] = ee(qo), [Ee, Fe] = ee(Ut), [, He] = ee(Xi), [, me] = ee(ab), xe = z(Ct), [Ke, qe] = ee(_n), [, vt] = ee(Ft), [, It] = ee(Ui), [, yt] = ee(Gu), Lt = Ku(), [, Rt] = ee(xd), [, pt] = ee(Dd), [, xt] = ee(Jb), [, ue] = ee(ia), [, te] = ee(ts), [, Ne] = ee(Bd), [, Me] = ee(ad), [, $e] = ee(es), [, tt] = ee(n3), [, ln] = ee(ea), [, cn] = ee(Yu), [P, k] = X(), Y = he(), [, oe] = ee(Pd), re = z(ns), [le, ge] = X(!0), [ye, ve] = X(!0), Te = Fl(l), Ue = Fl(c), [et, Ze] = X(!1), [, nt] = ee(Wo), [ut, Nt] = ee(Ko), [Qt, kt] = X(), [J, fs] = ee(Xn), [, hs] = ee(Hu), [, ps] = ee(Fu), [, E] = ee(zu), [, Z] = ee(Fi), [, se] = ee(Yo), be = Mt(), Ie = ib(), [De, ke, Re, rt, Ae, Ye] = ob(), [Oe, Xt] = X(!1), Br = z(as), [St, ga] = X(0), [gs, af] = t3(), lf = r3(), [, cf] = ee(kr);
|
|
15349
15348
|
function uf() {
|
|
15350
15349
|
return new Promise((ne) => {
|
|
15351
15350
|
if (window.mapsindoors !== void 0)
|
|
15352
15351
|
return ne();
|
|
15353
15352
|
const je = document.createElement("script");
|
|
15354
|
-
je.setAttribute("type", "text/javascript"), je.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.
|
|
15353
|
+
je.setAttribute("type", "text/javascript"), je.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.44.0/mapsindoors-4.44.0.js.gz"), je.setAttribute("integrity", "sha384-/ZRxx7LCIh/fvYh6TqzmouebDz6otFhor2eNIBrL1mZllzOKuQ5TKwuvupJm8UEa"), je.setAttribute("crossorigin", "anonymous"), document.body.appendChild(je), je.onload = () => {
|
|
15355
15354
|
ne();
|
|
15356
15355
|
};
|
|
15357
15356
|
});
|
|
@@ -15362,7 +15361,7 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15362
15361
|
}, [h, J, Ke, qe]), D(() => {
|
|
15363
15362
|
Lt && hf();
|
|
15364
15363
|
}, [Lt]), D(() => (uf().then(() => {
|
|
15365
|
-
|
|
15364
|
+
Xt(!0);
|
|
15366
15365
|
}), () => {
|
|
15367
15366
|
kt();
|
|
15368
15367
|
}), []), D(() => {
|
|
@@ -15371,7 +15370,7 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15371
15370
|
const je = Ke ?? h ?? ((ne = J == null ? void 0 : J.appSettings) == null ? void 0 : ne.language) ?? navigator.language;
|
|
15372
15371
|
window.mapsindoors.MapsIndoors.setLanguage(je.split("-")[0]), window.mapsindoors.services.LocationsService.once("update_completed", () => {
|
|
15373
15372
|
Se.length > 0 && af(), q.length > 0 && window.mapsindoors.services.VenuesService.getVenues().then((it) => {
|
|
15374
|
-
it = it.map((
|
|
15373
|
+
it = it.map((zt) => (zt.image = J.venueImages[zt.name.toLowerCase()], zt)), W(it);
|
|
15375
15374
|
}), H && window.mapsindoors.services.LocationsService.getLocation(H.id).then((it) => Q(it));
|
|
15376
15375
|
}), (!Je.language || Je.language !== je) && (Je.isInitialized ? Je.changeLanguage(je) : Yy(je));
|
|
15377
15376
|
}
|
|
@@ -15389,8 +15388,8 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15389
15388
|
ne = ne.map((it) => (it.image = je.venueImages[it.name.toLowerCase()], it)), W(ne);
|
|
15390
15389
|
}), j(!1));
|
|
15391
15390
|
}, [e, Oe]), D(() => {
|
|
15392
|
-
var ne, je, it,
|
|
15393
|
-
Oe && J && (lt(n) && lt(t) && lt((ne = J == null ? void 0 : J.appSettings) == null ? void 0 : ne.mapboxAccessToken) && lt((je = J == null ? void 0 : J.appSettings) == null ? void 0 : je.gmKey) ? cf({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }) : (N(n || ((it = J.appSettings) == null ? void 0 : it.mapboxAccessToken)), x(t || ((
|
|
15391
|
+
var ne, je, it, zt;
|
|
15392
|
+
Oe && J && (lt(n) && lt(t) && lt((ne = J == null ? void 0 : J.appSettings) == null ? void 0 : ne.mapboxAccessToken) && lt((je = J == null ? void 0 : J.appSettings) == null ? void 0 : je.gmKey) ? cf({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }) : (N(n || ((it = J.appSettings) == null ? void 0 : it.mapboxAccessToken)), x(t || ((zt = J.appSettings) == null ? void 0 : zt.gmKey))));
|
|
15394
15393
|
}, [t, n, Oe, J]), D(() => {
|
|
15395
15394
|
Oe && window.mapsindoors.services.SolutionsService.getUserRoles().then((ne) => {
|
|
15396
15395
|
const je = ne.filter((it) => a == null ? void 0 : a.includes(it.name));
|
|
@@ -15423,7 +15422,7 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15423
15422
|
Y.current = Nn.None;
|
|
15424
15423
|
break;
|
|
15425
15424
|
}
|
|
15426
|
-
Re === Ae.DIRECTIONS ? (kt(ut), Nt([])) : Nt(
|
|
15425
|
+
Re === Ae.DIRECTIONS ? (kt(ut), Nt([])) : Nt(Qt);
|
|
15427
15426
|
}, [Re]), D(() => {
|
|
15428
15427
|
var ne;
|
|
15429
15428
|
gs(r ?? ((ne = J == null ? void 0 : J.appSettings) == null ? void 0 : ne.venue));
|
|
@@ -15434,12 +15433,12 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15434
15433
|
const ne = "#003C3B";
|
|
15435
15434
|
Fe(s ?? ((je = J == null ? void 0 : J.appSettings) == null ? void 0 : je.primaryColor) ?? ne);
|
|
15436
15435
|
}, [s, J]), D(() => {
|
|
15437
|
-
var ne, je, it,
|
|
15436
|
+
var ne, je, it, zt, va;
|
|
15438
15437
|
U({
|
|
15439
15438
|
brandingColor: Ee,
|
|
15440
15439
|
// Ensure showRoadNames and showMapMarkers are booleans, even if appConfig.appSettings.showRoadNames/showMapMarkers is a string
|
|
15441
15440
|
showRoadNames: M !== void 0 ? M : typeof ((ne = J == null ? void 0 : J.appSettings) == null ? void 0 : ne.showRoadNames) == "string" ? J.appSettings.showRoadNames.toLowerCase() === "true" : (je = J == null ? void 0 : J.appSettings) == null ? void 0 : je.showRoadNames,
|
|
15442
|
-
showMapMarkers: ce !== void 0 ? ce : typeof ((it = J == null ? void 0 : J.appSettings) == null ? void 0 : it.showMapMarkers) == "string" ? J.appSettings.showMapMarkers.toLowerCase() === "true" : (
|
|
15441
|
+
showMapMarkers: ce !== void 0 ? ce : typeof ((it = J == null ? void 0 : J.appSettings) == null ? void 0 : it.showMapMarkers) == "string" ? J.appSettings.showMapMarkers.toLowerCase() === "true" : (zt = J == null ? void 0 : J.appSettings) == null ? void 0 : zt.showMapMarkers,
|
|
15443
15442
|
miTransitionLevel: C,
|
|
15444
15443
|
minZoom: $d.minZoom,
|
|
15445
15444
|
mapboxMapStyle: ((va = J == null ? void 0 : J.appSettings) == null ? void 0 : va.mapboxMapStyle) || de
|
|
@@ -15461,12 +15460,12 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15461
15460
|
}, [i, J]), D(() => {
|
|
15462
15461
|
xt(C);
|
|
15463
15462
|
}, [C]), D(() => {
|
|
15464
|
-
H && H.id !== T ?
|
|
15463
|
+
H && H.id !== T ? xe != null && xe.selectLocation && xe.selectLocation(H) : xe != null && xe.deselectLocation && xe.deselectLocation();
|
|
15465
15464
|
}, [H]), D(() => {
|
|
15466
15465
|
Oe && (It(T), T ? window.mapsindoors.services.LocationsService.getLocation(T).then((ne) => {
|
|
15467
|
-
gs(ne.properties.venueId), vt(ne);
|
|
15466
|
+
gs(ne.properties.venueId), vt(ne), xe == null || xe.setNonCollidingLocation(ne);
|
|
15468
15467
|
}) : vt(), T && be ? (ge(!1), ve(!1)) : (ge(!0), ve(!0)));
|
|
15469
|
-
}, [T, Oe]), D(() => {
|
|
15468
|
+
}, [T, Oe, xe]), D(() => {
|
|
15470
15469
|
yt(S);
|
|
15471
15470
|
}, [S]), D(() => {
|
|
15472
15471
|
Rt(v);
|
|
@@ -15479,11 +15478,11 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15479
15478
|
}, [A]), D(() => {
|
|
15480
15479
|
Me(O);
|
|
15481
15480
|
}, [O]), D(() => {
|
|
15482
|
-
|
|
15481
|
+
$e(B);
|
|
15483
15482
|
}, [B]), D(() => {
|
|
15484
15483
|
tt(M);
|
|
15485
15484
|
}, [M]), D(() => {
|
|
15486
|
-
|
|
15485
|
+
ln(K);
|
|
15487
15486
|
}, [K]), D(() => {
|
|
15488
15487
|
var ne;
|
|
15489
15488
|
cn(I ?? ((ne = J == null ? void 0 : J.appSettings) == null ? void 0 : ne.center));
|
|
@@ -15511,7 +15510,7 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15511
15510
|
lf(), Ye(), ga((ne) => ne + 1), ue(null);
|
|
15512
15511
|
}
|
|
15513
15512
|
return D(() => {
|
|
15514
|
-
Oe && L && Se.find((ne) => ne[0] === L) && (ue(L),
|
|
15513
|
+
Oe && L && Se.find((ne) => ne[0] === L) && (ue(L), Ne(L));
|
|
15515
15514
|
}, [L, Se, Oe]), D(() => {
|
|
15516
15515
|
var ne;
|
|
15517
15516
|
pe || (h && Ke !== h ? qe(h) : !h && ((ne = J == null ? void 0 : J.appSettings) != null && ne.language) && Ke !== J.appSettings.language && qe(J.appSettings.language));
|
|
@@ -15524,7 +15523,7 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15524
15523
|
q.length > 1 && le && /* @__PURE__ */ m.jsx(
|
|
15525
15524
|
yd,
|
|
15526
15525
|
{
|
|
15527
|
-
onOpen: () =>
|
|
15526
|
+
onOpen: () => De(Ae.VENUE_SELECTOR),
|
|
15528
15527
|
onClose: () => ke(),
|
|
15529
15528
|
active: Re === Ae.VENUE_SELECTOR
|
|
15530
15529
|
}
|
|
@@ -15537,7 +15536,7 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15537
15536
|
{
|
|
15538
15537
|
directionsFromLocation: Te,
|
|
15539
15538
|
directionsToLocation: Ue,
|
|
15540
|
-
pushAppView:
|
|
15539
|
+
pushAppView: De,
|
|
15541
15540
|
currentAppView: Re,
|
|
15542
15541
|
appViews: Ae,
|
|
15543
15542
|
onRouteFinished: () => ma()
|
|
@@ -15548,7 +15547,7 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15548
15547
|
{
|
|
15549
15548
|
directionsFromLocation: Te,
|
|
15550
15549
|
directionsToLocation: Ue,
|
|
15551
|
-
pushAppView:
|
|
15550
|
+
pushAppView: De,
|
|
15552
15551
|
currentAppView: Re,
|
|
15553
15552
|
appViews: Ae,
|
|
15554
15553
|
onRouteFinished: () => ma()
|
|
@@ -15576,7 +15575,7 @@ function sf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15576
15575
|
)
|
|
15577
15576
|
] });
|
|
15578
15577
|
}
|
|
15579
|
-
function
|
|
15578
|
+
function Gt(e, t, n, r) {
|
|
15580
15579
|
let o;
|
|
15581
15580
|
return e === !0 && !lt(r) ? r === !0 || r === "true" ? o = !0 : (r === !1 || r !== "true") && (o = !1) : lt(n) ? lt(t) || (o = t) : o = typeof n == "boolean" ? n : !1, o;
|
|
15582
15581
|
}
|
|
@@ -15656,16 +15655,16 @@ function o3(e) {
|
|
|
15656
15655
|
center: e.supportsUrlParameters && pe ? pe : e.center,
|
|
15657
15656
|
devicePosition: e.devicePosition,
|
|
15658
15657
|
// Handle boolean values
|
|
15659
|
-
useKeyboard:
|
|
15660
|
-
useMapProviderModule:
|
|
15661
|
-
searchAllVenues:
|
|
15662
|
-
hideNonMatches:
|
|
15663
|
-
showRoadNames:
|
|
15664
|
-
showExternalIDs:
|
|
15665
|
-
searchExternalLocations:
|
|
15658
|
+
useKeyboard: Gt(e.supportsUrlParameters, s.useKeyboard, e.useKeyboard, K),
|
|
15659
|
+
useMapProviderModule: Gt(e.supportsUrlParameters, s.useMapProviderModule, e.useMapProviderModule, B),
|
|
15660
|
+
searchAllVenues: Gt(e.supportsUrlParameters, s.searchAllVenues, e.searchAllVenues, I),
|
|
15661
|
+
hideNonMatches: Gt(e.supportsUrlParameters, s.hideNonMatches, e.hideNonMatches, F),
|
|
15662
|
+
showRoadNames: Gt(e.supportsUrlParameters, s.showRoadNames, e.showRoadNames, de),
|
|
15663
|
+
showExternalIDs: Gt(e.supportsUrlParameters, s.showExternalIDs, e.showExternalIDs, ce),
|
|
15664
|
+
searchExternalLocations: Gt(e.supportsUrlParameters, s.searchExternalLocations, e.searchExternalLocations, ae),
|
|
15666
15665
|
supportsUrlParameters: e.supportsUrlParameters,
|
|
15667
|
-
useAppTitle:
|
|
15668
|
-
showMapMarkers:
|
|
15666
|
+
useAppTitle: Gt(e.supportsUrlParameters, s.useAppTitle, e.useAppTitle, we),
|
|
15667
|
+
showMapMarkers: Gt(e.supportsUrlParameters, s.showMapMarkers, e.showMapMarkers, $),
|
|
15669
15668
|
mapboxMapStyle: e.supportsUrlParameters && U ? U : e.mapboxMapStyle
|
|
15670
15669
|
});
|
|
15671
15670
|
}, [e]), /* @__PURE__ */ m.jsx(wv, { children: t && /* @__PURE__ */ m.jsx(sf, { ...t }) });
|
|
@@ -15685,4 +15684,4 @@ export {
|
|
|
15685
15684
|
c3 as r,
|
|
15686
15685
|
sS as u
|
|
15687
15686
|
};
|
|
15688
|
-
//# sourceMappingURL=reactcomponent-
|
|
15687
|
+
//# sourceMappingURL=reactcomponent-6f007fba.mjs.map
|