@mapsindoors/map-template 1.89.9 → 1.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GoogleMapsMap-4b64c772.mjs → GoogleMapsMap-440ae0aa.mjs} +2 -2
- package/dist/{MapboxMap-aed4ea2d.mjs → MapboxMap-f4e7f42d.mjs} +2 -2
- package/dist/{combo-box-item.entry-bc8c9ee8.mjs → combo-box-item.entry-0439c8e8.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +29 -29
- package/dist/mapsindoors-webcomponent.es.js +1011 -963
- package/dist/mapsindoors-webcomponent.umd.js +29 -29
- package/dist/{mi-card_2.entry-f3671a39.mjs → mi-card_2.entry-7507e5db.mjs} +2 -2
- package/dist/{mi-chip.entry-93059b28.mjs → mi-chip.entry-feb51f2a.mjs} +2 -2
- package/dist/{mi-column.entry-c65fd3fb.mjs → mi-column.entry-376362d8.mjs} +2 -2
- package/dist/{mi-combo-box.entry-54c7c1a1.mjs → mi-combo-box.entry-613ea41e.mjs} +2 -2
- package/dist/{mi-data-table.entry-b63c8c24.mjs → mi-data-table.entry-133320eb.mjs} +2 -2
- package/dist/{mi-distance_2.entry-3819b8ed.mjs → mi-distance_2.entry-b65d5fb6.mjs} +2 -2
- package/dist/{mi-dropdown-item.entry-18bd35a4.mjs → mi-dropdown-item.entry-872939fd.mjs} +2 -2
- package/dist/{mi-dropdown.entry-39aacc6b.mjs → mi-dropdown.entry-e88f60a7.mjs} +2 -2
- package/dist/{mi-floor-selector.entry-de225aec.mjs → mi-floor-selector.entry-18835ce9.mjs} +2 -2
- package/dist/{mi-keyboard.entry-38ed2efe.mjs → mi-keyboard.entry-c21c13cb.mjs} +2 -2
- package/dist/{mi-list-item-category.entry-f012a7d3.mjs → mi-list-item-category.entry-2ffc3b1a.mjs} +2 -2
- package/dist/{mi-list-item-location.entry-39c9c7bf.mjs → mi-list-item-location.entry-907bba69.mjs} +2 -2
- package/dist/{mi-list.entry-66231f37.mjs → mi-list.entry-0310d7d7.mjs} +2 -2
- package/dist/{mi-location-booking.entry-72c87970.mjs → mi-location-booking.entry-f9e864c4.mjs} +2 -2
- package/dist/{mi-location-info.entry-10bb05f8.mjs → mi-location-info.entry-2d453975.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-d9b9eeed.mjs → mi-map-googlemaps.entry-8144d7b8.mjs} +2 -2
- package/dist/{mi-map-mapbox.entry-a2b91908.mjs → mi-map-mapbox.entry-3c75116f.mjs} +2 -2
- package/dist/{mi-metric-card.entry-762bfa7d.mjs → mi-metric-card.entry-52755baf.mjs} +2 -2
- package/dist/{mi-my-position.entry-e86db953.mjs → mi-my-position.entry-80244ce9.mjs} +347 -302
- package/dist/{mi-notification.entry-a5e9c23c.mjs → mi-notification.entry-76dd57e6.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-cbe8e9b8.mjs → mi-route-instructions-heading.entry-98e2aeca.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver-legacy.entry-04e775d8.mjs → mi-route-instructions-maneuver-legacy.entry-58ca8249.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver.entry-91127bda.mjs → mi-route-instructions-maneuver.entry-1fcc1904.mjs} +2 -2
- package/dist/{mi-route-instructions-step-legacy.entry-bfc495a6.mjs → mi-route-instructions-step-legacy.entry-62216228.mjs} +2 -2
- package/dist/{mi-route-instructions-step.entry-2efe0a47.mjs → mi-route-instructions-step.entry-3b387d6d.mjs} +2 -2
- package/dist/{mi-route-instructions.entry-b1de66ae.mjs → mi-route-instructions.entry-f2bfa9b3.mjs} +2 -2
- package/dist/{mi-scroll-buttons.entry-e2f9107c.mjs → mi-scroll-buttons.entry-4db35d18.mjs} +2 -2
- package/dist/{mi-search.entry-37d94869.mjs → mi-search.entry-c8922c71.mjs} +2 -2
- package/dist/{mi-share-sms.entry-e9ba51ac.mjs → mi-share-sms.entry-be14af40.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-17784df0.mjs → mi-step-switcher.entry-c5e13aab.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-f990e02d.mjs → mi-tab-panel.entry-efcde8d8.mjs} +2 -2
- package/dist/{mi-tab.entry-ba0fddca.mjs → mi-tab.entry-d825cb3c.mjs} +2 -2
- package/dist/{mi-tabs.entry-a2aa28b9.mjs → mi-tabs.entry-c81143d6.mjs} +2 -2
- package/dist/{mi-time.entry-2ca4c689.mjs → mi-time.entry-89470b8c.mjs} +2 -2
- package/dist/{reactcomponent-508bbbff.mjs → reactcomponent-757cc2ae.mjs} +452 -449
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import Pe, { createContext as ql, useContext as Zl, useState as
|
|
1
|
+
import * as re from "react";
|
|
2
|
+
import Pe, { createContext as ql, useContext as Zl, useState as ee, useRef as ge, useEffect as D, useCallback as Kt, memo as Ql, useMemo as vn, lazy as Xl, Suspense as Ca, forwardRef as vo, useImperativeHandle as yo, cloneElement as Jl, useLayoutEffect as Sf, Fragment as bf } from "react";
|
|
3
3
|
import cr, { createPortal as Sr } from "react-dom";
|
|
4
4
|
var wf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
5
5
|
function ec(e) {
|
|
@@ -166,7 +166,7 @@ function Ef() {
|
|
|
166
166
|
function k() {
|
|
167
167
|
}
|
|
168
168
|
k.__reactDisabledLog = !0;
|
|
169
|
-
function
|
|
169
|
+
function j() {
|
|
170
170
|
{
|
|
171
171
|
if (fe === 0) {
|
|
172
172
|
ce = console.log, oe = console.info, de = console.warn, we = console.error, $ = console.group, U = console.groupCollapsed, x = console.groupEnd;
|
|
@@ -238,16 +238,16 @@ function Ef() {
|
|
|
238
238
|
` + V + _;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
var z = !1,
|
|
241
|
+
var z = !1, J;
|
|
242
242
|
{
|
|
243
243
|
var he = typeof WeakMap == "function" ? WeakMap : Map;
|
|
244
|
-
|
|
244
|
+
J = new he();
|
|
245
245
|
}
|
|
246
246
|
function K(_, Z) {
|
|
247
247
|
if (!_ || z)
|
|
248
248
|
return "";
|
|
249
249
|
{
|
|
250
|
-
var le =
|
|
250
|
+
var le = J.get(_);
|
|
251
251
|
if (le !== void 0)
|
|
252
252
|
return le;
|
|
253
253
|
}
|
|
@@ -256,7 +256,7 @@ function Ef() {
|
|
|
256
256
|
var Oe = Error.prepareStackTrace;
|
|
257
257
|
Error.prepareStackTrace = void 0;
|
|
258
258
|
var De;
|
|
259
|
-
De = P.current, P.current = null,
|
|
259
|
+
De = P.current, P.current = null, j();
|
|
260
260
|
try {
|
|
261
261
|
if (Z) {
|
|
262
262
|
var ke = function() {
|
|
@@ -302,7 +302,7 @@ function Ef() {
|
|
|
302
302
|
if (Ae--, Ye--, Ye < 0 || Ee[Ae] !== it[Ye]) {
|
|
303
303
|
var $e = `
|
|
304
304
|
` + Ee[Ae].replace(" at new ", " at ");
|
|
305
|
-
return _.displayName && $e.includes("<anonymous>") && ($e = $e.replace("<anonymous>", _.displayName)), typeof _ == "function" &&
|
|
305
|
+
return _.displayName && $e.includes("<anonymous>") && ($e = $e.replace("<anonymous>", _.displayName)), typeof _ == "function" && J.set(_, $e), $e;
|
|
306
306
|
}
|
|
307
307
|
while (Ae >= 1 && Ye >= 0);
|
|
308
308
|
break;
|
|
@@ -312,7 +312,7 @@ function Ef() {
|
|
|
312
312
|
z = !1, P.current = De, B(), Error.prepareStackTrace = Oe;
|
|
313
313
|
}
|
|
314
314
|
var en = _ ? _.displayName || _.name : "", jr = en ? W(en) : "";
|
|
315
|
-
return typeof _ == "function" &&
|
|
315
|
+
return typeof _ == "function" && J.set(_, jr), jr;
|
|
316
316
|
}
|
|
317
317
|
function Se(_, Z, le) {
|
|
318
318
|
return K(_, !1);
|
|
@@ -647,13 +647,13 @@ Check the top-level render call using <` + le + ">.");
|
|
|
647
647
|
return _ === r ? Jt(Ye) : Lt(Ye), Ye;
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function X(_, Z, le) {
|
|
651
651
|
return Nt(_, Z, le, !0);
|
|
652
652
|
}
|
|
653
653
|
function fs(_, Z, le) {
|
|
654
654
|
return Nt(_, Z, le, !1);
|
|
655
655
|
}
|
|
656
|
-
var hs = fs, ps =
|
|
656
|
+
var hs = fs, ps = X;
|
|
657
657
|
nr.Fragment = r, nr.jsx = hs, nr.jsxs = ps;
|
|
658
658
|
}()), nr;
|
|
659
659
|
}
|
|
@@ -1263,20 +1263,20 @@ var mh = gh(function(e) {
|
|
|
1263
1263
|
var ve = this.mask, xe = this.children, Ue = d(ae, ue), rt = p(Ue), Qe = g(ve, rt), st = ve & rt, ht = st ? xe[Qe] : C, Lt = ht._modify(L, q, ae + r, se, ue, me, ye);
|
|
1264
1264
|
if (ht === Lt)
|
|
1265
1265
|
return this;
|
|
1266
|
-
var Jt = oe(L, this), Nt = ve,
|
|
1266
|
+
var Jt = oe(L, this), Nt = ve, X = void 0;
|
|
1267
1267
|
if (st && T(Lt)) {
|
|
1268
1268
|
if (Nt &= ~rt, !Nt)
|
|
1269
1269
|
return C;
|
|
1270
1270
|
if (xe.length <= 2 && Y(xe[Qe ^ 1]))
|
|
1271
1271
|
return xe[Qe ^ 1];
|
|
1272
|
-
|
|
1272
|
+
X = E(Jt, Qe, xe);
|
|
1273
1273
|
} else if (!st && !T(Lt)) {
|
|
1274
1274
|
if (xe.length >= i)
|
|
1275
1275
|
return A(L, Ue, Lt, ve, xe);
|
|
1276
|
-
Nt |= rt,
|
|
1276
|
+
Nt |= rt, X = R(Jt, Qe, Lt, xe);
|
|
1277
1277
|
} else
|
|
1278
|
-
|
|
1279
|
-
return Jt ? (this.mask = Nt, this.children =
|
|
1278
|
+
X = b(Jt, Qe, Lt, xe);
|
|
1279
|
+
return Jt ? (this.mask = Nt, this.children = X, this) : M(L, Nt, X);
|
|
1280
1280
|
}, U = function(L, q, ae, se, ue, me, ye) {
|
|
1281
1281
|
var ve = this.size, xe = this.children, Ue = d(ae, ue), rt = xe[Ue], Qe = (rt || C)._modify(L, q, ae + r, se, ue, me, ye);
|
|
1282
1282
|
if (rt === Qe)
|
|
@@ -1338,11 +1338,11 @@ var mh = gh(function(e) {
|
|
|
1338
1338
|
x.prototype.tryGetHash = function(I, L, q) {
|
|
1339
1339
|
return k(I, L, q, this);
|
|
1340
1340
|
};
|
|
1341
|
-
var
|
|
1341
|
+
var j = n.tryGet = function(I, L, q) {
|
|
1342
1342
|
return k(I, q._config.hash(L), L, q);
|
|
1343
1343
|
};
|
|
1344
1344
|
x.prototype.tryGet = function(I, L) {
|
|
1345
|
-
return
|
|
1345
|
+
return j(I, L, this);
|
|
1346
1346
|
};
|
|
1347
1347
|
var B = n.getHash = function(I, L, q) {
|
|
1348
1348
|
return k(void 0, I, L, q);
|
|
@@ -1352,7 +1352,7 @@ var mh = gh(function(e) {
|
|
|
1352
1352
|
}, n.get = function(I, L) {
|
|
1353
1353
|
return k(void 0, L._config.hash(I), I, L);
|
|
1354
1354
|
}, x.prototype.get = function(I, L) {
|
|
1355
|
-
return
|
|
1355
|
+
return j(L, I, this);
|
|
1356
1356
|
};
|
|
1357
1357
|
var P = n.has = function(I, L, q) {
|
|
1358
1358
|
return k(l, I, L, q) !== l;
|
|
@@ -1381,23 +1381,23 @@ var mh = gh(function(e) {
|
|
|
1381
1381
|
x.prototype.isEmpty = function() {
|
|
1382
1382
|
return z(this);
|
|
1383
1383
|
};
|
|
1384
|
-
var
|
|
1384
|
+
var J = n.modifyHash = function(I, L, q, ae) {
|
|
1385
1385
|
var se = {
|
|
1386
1386
|
value: ae._size
|
|
1387
1387
|
}, ue = ae._root._modify(ae._editable ? ae._edit : NaN, ae._config.keyEq, 0, I, L, q, se);
|
|
1388
1388
|
return ae.setTree(ue, se.value);
|
|
1389
1389
|
};
|
|
1390
1390
|
x.prototype.modifyHash = function(I, L, q) {
|
|
1391
|
-
return
|
|
1391
|
+
return J(q, I, L, this);
|
|
1392
1392
|
};
|
|
1393
1393
|
var he = n.modify = function(I, L, q) {
|
|
1394
|
-
return
|
|
1394
|
+
return J(I, q._config.hash(L), L, q);
|
|
1395
1395
|
};
|
|
1396
1396
|
x.prototype.modify = function(I, L) {
|
|
1397
1397
|
return he(L, I, this);
|
|
1398
1398
|
};
|
|
1399
1399
|
var K = n.setHash = function(I, L, q, ae) {
|
|
1400
|
-
return
|
|
1400
|
+
return J(c(q), I, L, ae);
|
|
1401
1401
|
};
|
|
1402
1402
|
x.prototype.setHash = function(I, L, q) {
|
|
1403
1403
|
return K(I, L, q, this);
|
|
@@ -1409,7 +1409,7 @@ var mh = gh(function(e) {
|
|
|
1409
1409
|
return Se(I, L, this);
|
|
1410
1410
|
};
|
|
1411
1411
|
var Ie = c(l), Ke = n.removeHash = function(I, L, q) {
|
|
1412
|
-
return
|
|
1412
|
+
return J(Ie, I, L, q);
|
|
1413
1413
|
};
|
|
1414
1414
|
x.prototype.removeHash = x.prototype.deleteHash = function(I, L) {
|
|
1415
1415
|
return Ke(I, L, this);
|
|
@@ -4021,8 +4021,8 @@ function du(e) {
|
|
|
4021
4021
|
function p() {
|
|
4022
4022
|
return a0(n) !== void 0 && !f();
|
|
4023
4023
|
}
|
|
4024
|
-
function g(x, k,
|
|
4025
|
-
ce(k, B, P), b(x,
|
|
4024
|
+
function g(x, k, j, B, P) {
|
|
4025
|
+
ce(k, B, P), b(x, j);
|
|
4026
4026
|
}
|
|
4027
4027
|
function b(x, k) {
|
|
4028
4028
|
G(x, k) && A(x), R(k, !0);
|
|
@@ -4031,79 +4031,79 @@ function du(e) {
|
|
|
4031
4031
|
G(x, k) && (Ge(M(x)).stateVersions.clear(), R(k, !1));
|
|
4032
4032
|
}
|
|
4033
4033
|
function R(x, k) {
|
|
4034
|
-
const
|
|
4035
|
-
if (
|
|
4036
|
-
for (const B of
|
|
4034
|
+
const j = Ur.get(x);
|
|
4035
|
+
if (j != null) {
|
|
4036
|
+
for (const B of j)
|
|
4037
4037
|
Ga(B, Ge(t));
|
|
4038
4038
|
k && Ur.delete(x);
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
4041
4041
|
function h(x, k) {
|
|
4042
|
-
let
|
|
4043
|
-
|
|
4042
|
+
let j = Ur.get(k);
|
|
4043
|
+
j == null && Ur.set(k, j = /* @__PURE__ */ new Set()), j.add(x);
|
|
4044
4044
|
}
|
|
4045
|
-
function v(x, k,
|
|
4045
|
+
function v(x, k, j, B, P, V) {
|
|
4046
4046
|
return k.then((W) => {
|
|
4047
4047
|
if (!f())
|
|
4048
4048
|
throw A(x), sr;
|
|
4049
4049
|
const z = ws(W);
|
|
4050
|
-
return g(x,
|
|
4050
|
+
return g(x, j, P, z, B), W;
|
|
4051
4051
|
}).catch((W) => {
|
|
4052
4052
|
if (!f())
|
|
4053
4053
|
throw A(x), sr;
|
|
4054
4054
|
if (He(W))
|
|
4055
|
-
return y(x, W,
|
|
4055
|
+
return y(x, W, j, B, P, V);
|
|
4056
4056
|
const z = Vr(W);
|
|
4057
|
-
throw g(x,
|
|
4057
|
+
throw g(x, j, P, z, B), W;
|
|
4058
4058
|
});
|
|
4059
4059
|
}
|
|
4060
|
-
function y(x, k,
|
|
4060
|
+
function y(x, k, j, B, P, V) {
|
|
4061
4061
|
return k.then((W) => {
|
|
4062
4062
|
if (!f())
|
|
4063
4063
|
throw A(x), sr;
|
|
4064
|
-
V.loadingDepKey != null && V.loadingDepPromise === k ?
|
|
4065
|
-
|
|
4064
|
+
V.loadingDepKey != null && V.loadingDepPromise === k ? j.atomValues.set(V.loadingDepKey, ws(W)) : x.getState().knownSelectors.forEach((K) => {
|
|
4065
|
+
j.atomValues.delete(K);
|
|
4066
4066
|
});
|
|
4067
|
-
const z = T(x,
|
|
4067
|
+
const z = T(x, j);
|
|
4068
4068
|
if (z && z.state !== "loading") {
|
|
4069
4069
|
if ((G(x, P) || M(x) == null) && b(x, P), z.state === "hasValue")
|
|
4070
4070
|
return z.contents;
|
|
4071
4071
|
throw z.contents;
|
|
4072
4072
|
}
|
|
4073
4073
|
if (!G(x, P)) {
|
|
4074
|
-
const K = O(x,
|
|
4074
|
+
const K = O(x, j);
|
|
4075
4075
|
if (K != null)
|
|
4076
4076
|
return K.loadingLoadable.contents;
|
|
4077
4077
|
}
|
|
4078
|
-
const [
|
|
4079
|
-
if (
|
|
4080
|
-
throw
|
|
4081
|
-
return
|
|
4078
|
+
const [J, he] = C(x, j, P);
|
|
4079
|
+
if (J.state !== "loading" && g(x, j, P, J, he), J.state === "hasError")
|
|
4080
|
+
throw J.contents;
|
|
4081
|
+
return J.contents;
|
|
4082
4082
|
}).catch((W) => {
|
|
4083
4083
|
if (W instanceof uu)
|
|
4084
4084
|
throw sr;
|
|
4085
4085
|
if (!f())
|
|
4086
4086
|
throw A(x), sr;
|
|
4087
4087
|
const z = Vr(W);
|
|
4088
|
-
throw g(x,
|
|
4088
|
+
throw g(x, j, P, z, B), W;
|
|
4089
4089
|
});
|
|
4090
4090
|
}
|
|
4091
|
-
function S(x, k,
|
|
4091
|
+
function S(x, k, j, B) {
|
|
4092
4092
|
var P, V, W, z;
|
|
4093
4093
|
if (G(x, B) || k.version === ((P = x.getState()) === null || P === void 0 || (V = P.currentTree) === null || V === void 0 ? void 0 : V.version) || k.version === ((W = x.getState()) === null || W === void 0 || (z = W.nextTree) === null || z === void 0 ? void 0 : z.version)) {
|
|
4094
|
-
var
|
|
4095
|
-
s0(n,
|
|
4094
|
+
var J, he, K;
|
|
4095
|
+
s0(n, j, x, (J = (he = x.getState()) === null || he === void 0 || (K = he.nextTree) === null || K === void 0 ? void 0 : K.version) !== null && J !== void 0 ? J : x.getState().currentTree.version);
|
|
4096
4096
|
}
|
|
4097
|
-
for (const Se of
|
|
4097
|
+
for (const Se of j)
|
|
4098
4098
|
i.add(Se);
|
|
4099
4099
|
}
|
|
4100
|
-
function C(x, k,
|
|
4100
|
+
function C(x, k, j) {
|
|
4101
4101
|
const B = f0(n);
|
|
4102
4102
|
let P = !0, V = !0;
|
|
4103
4103
|
const W = () => {
|
|
4104
4104
|
B(), V = !1;
|
|
4105
4105
|
};
|
|
4106
|
-
let z,
|
|
4106
|
+
let z, J = !1, he;
|
|
4107
4107
|
const K = {
|
|
4108
4108
|
loadingDepKey: null,
|
|
4109
4109
|
loadingDepPromise: null
|
|
@@ -4112,7 +4112,7 @@ function du(e) {
|
|
|
4112
4112
|
key: Fe
|
|
4113
4113
|
}) {
|
|
4114
4114
|
const Ne = Fr(x, k, Fe);
|
|
4115
|
-
switch (Se.set(Fe, Ne), P || (S(x, k, new Set(Se.keys()),
|
|
4115
|
+
switch (Se.set(Fe, Ne), P || (S(x, k, new Set(Se.keys()), j), E(x, j)), Ne.state) {
|
|
4116
4116
|
case "hasValue":
|
|
4117
4117
|
return Ne.contents;
|
|
4118
4118
|
case "hasError":
|
|
@@ -4139,19 +4139,19 @@ function du(e) {
|
|
|
4139
4139
|
z = r({
|
|
4140
4140
|
get: Ie,
|
|
4141
4141
|
getCallback: Ke
|
|
4142
|
-
}), z = c0(z) ? Ie(z) : z, t0(z) && (z.state === "hasError" && (
|
|
4142
|
+
}), z = c0(z) ? Ie(z) : z, t0(z) && (z.state === "hasError" && (J = !0), z = z.contents), He(z) ? z = v(x, z, k, Se, j, K).finally(W) : W(), z = z instanceof cu ? z.value : z;
|
|
4143
4143
|
} catch (Fe) {
|
|
4144
|
-
z = Fe, He(z) ? z = y(x, z, k, Se,
|
|
4144
|
+
z = Fe, He(z) ? z = y(x, z, k, Se, j, K).finally(W) : (J = !0, W());
|
|
4145
4145
|
}
|
|
4146
|
-
return
|
|
4146
|
+
return J ? he = Vr(z) : He(z) ? he = n0(z) : he = ws(z), P = !1, Y(x, j, Se), S(x, k, new Set(Se.keys()), j), [he, Se];
|
|
4147
4147
|
}
|
|
4148
4148
|
function T(x, k) {
|
|
4149
|
-
let
|
|
4150
|
-
if (
|
|
4151
|
-
return
|
|
4149
|
+
let j = k.atomValues.get(n);
|
|
4150
|
+
if (j != null)
|
|
4151
|
+
return j;
|
|
4152
4152
|
const B = /* @__PURE__ */ new Set();
|
|
4153
4153
|
try {
|
|
4154
|
-
|
|
4154
|
+
j = a.get((V) => (typeof V != "string" && (process.env.NODE_ENV !== "production" ? It(!1, "Cache nodeKey is type string") : It(!1)), Fr(x, k, V).contents), {
|
|
4155
4155
|
onNodeVisit: (V) => {
|
|
4156
4156
|
V.type === "branch" && V.nodeKey !== n && B.add(V.nodeKey);
|
|
4157
4157
|
}
|
|
@@ -4159,16 +4159,16 @@ function du(e) {
|
|
|
4159
4159
|
} catch (V) {
|
|
4160
4160
|
throw Re(`Problem with cache lookup for selector "${n}": ${V.message}`);
|
|
4161
4161
|
}
|
|
4162
|
-
if (
|
|
4162
|
+
if (j) {
|
|
4163
4163
|
var P;
|
|
4164
|
-
k.atomValues.set(n,
|
|
4164
|
+
k.atomValues.set(n, j), S(x, k, B, (P = M(x)) === null || P === void 0 ? void 0 : P.executionID);
|
|
4165
4165
|
}
|
|
4166
|
-
return
|
|
4166
|
+
return j;
|
|
4167
4167
|
}
|
|
4168
4168
|
function N(x, k) {
|
|
4169
|
-
const
|
|
4170
|
-
if (
|
|
4171
|
-
return A(x),
|
|
4169
|
+
const j = T(x, k);
|
|
4170
|
+
if (j != null)
|
|
4171
|
+
return A(x), j;
|
|
4172
4172
|
const B = O(x, k);
|
|
4173
4173
|
if (B != null) {
|
|
4174
4174
|
var P;
|
|
@@ -4178,14 +4178,14 @@ function du(e) {
|
|
|
4178
4178
|
return W.state === "loading" ? (F(x, V, W, z, k), h(x, V)) : (A(x), ce(k, W, z)), W;
|
|
4179
4179
|
}
|
|
4180
4180
|
function O(x, k) {
|
|
4181
|
-
const
|
|
4181
|
+
const j = Pc([c.has(x) ? [Ge(c.get(x))] : [], Ro(Ei(c, ([P]) => P !== x), ([, P]) => P)]);
|
|
4182
4182
|
function B(P) {
|
|
4183
4183
|
for (const [V, W] of P)
|
|
4184
4184
|
if (!Fr(x, k, V).is(W))
|
|
4185
4185
|
return !0;
|
|
4186
4186
|
return !1;
|
|
4187
4187
|
}
|
|
4188
|
-
for (const P of
|
|
4188
|
+
for (const P of j) {
|
|
4189
4189
|
if (
|
|
4190
4190
|
// If this execution was already checked to be valid with this version
|
|
4191
4191
|
// of state, then let's use it!
|
|
@@ -4199,34 +4199,34 @@ function du(e) {
|
|
|
4199
4199
|
function M(x) {
|
|
4200
4200
|
return c.get(x);
|
|
4201
4201
|
}
|
|
4202
|
-
function F(x, k,
|
|
4202
|
+
function F(x, k, j, B, P) {
|
|
4203
4203
|
c.set(x, {
|
|
4204
4204
|
depValuesDiscoveredSoFarDuringAsyncWork: B,
|
|
4205
4205
|
executionID: k,
|
|
4206
|
-
loadingLoadable:
|
|
4206
|
+
loadingLoadable: j,
|
|
4207
4207
|
stateVersions: /* @__PURE__ */ new Map([[P.version, !0]])
|
|
4208
4208
|
});
|
|
4209
4209
|
}
|
|
4210
|
-
function Y(x, k,
|
|
4210
|
+
function Y(x, k, j) {
|
|
4211
4211
|
if (G(x, k)) {
|
|
4212
4212
|
const B = M(x);
|
|
4213
|
-
B != null && (B.depValuesDiscoveredSoFarDuringAsyncWork =
|
|
4213
|
+
B != null && (B.depValuesDiscoveredSoFarDuringAsyncWork = j);
|
|
4214
4214
|
}
|
|
4215
4215
|
}
|
|
4216
4216
|
function A(x) {
|
|
4217
4217
|
c.delete(x);
|
|
4218
4218
|
}
|
|
4219
4219
|
function G(x, k) {
|
|
4220
|
-
var
|
|
4221
|
-
return k === ((
|
|
4220
|
+
var j;
|
|
4221
|
+
return k === ((j = M(x)) === null || j === void 0 ? void 0 : j.executionID);
|
|
4222
4222
|
}
|
|
4223
4223
|
function fe(x) {
|
|
4224
|
-
return Array.from(x.entries()).map(([k,
|
|
4224
|
+
return Array.from(x.entries()).map(([k, j]) => [k, j.contents]);
|
|
4225
4225
|
}
|
|
4226
|
-
function ce(x, k,
|
|
4226
|
+
function ce(x, k, j) {
|
|
4227
4227
|
process.env.NODE_ENV !== "production" && k.state !== "loading" && !e.dangerouslyAllowMutability && Qs(k.contents), x.atomValues.set(n, k);
|
|
4228
4228
|
try {
|
|
4229
|
-
a.set(fe(
|
|
4229
|
+
a.set(fe(j), k);
|
|
4230
4230
|
} catch (B) {
|
|
4231
4231
|
throw Re(`Problem with setting cache for selector "${n}": ${B.message}`);
|
|
4232
4232
|
}
|
|
@@ -4244,8 +4244,8 @@ function du(e) {
|
|
|
4244
4244
|
}
|
|
4245
4245
|
}
|
|
4246
4246
|
function de(x, k) {
|
|
4247
|
-
const
|
|
4248
|
-
return
|
|
4247
|
+
const j = k.atomValues.get(n);
|
|
4248
|
+
return j ?? a.get((B) => {
|
|
4249
4249
|
var P;
|
|
4250
4250
|
return typeof B != "string" && (process.env.NODE_ENV !== "production" ? It(!1, "Cache nodeKey is type string") : It(!1)), (P = r0(x, k, B)) === null || P === void 0 ? void 0 : P.contents;
|
|
4251
4251
|
});
|
|
@@ -4259,9 +4259,9 @@ function du(e) {
|
|
|
4259
4259
|
function U(x, k) {
|
|
4260
4260
|
t == null && (process.env.NODE_ENV !== "production" ? It(!1, "Recoil Value can never be null") : It(!1));
|
|
4261
4261
|
for (const B of i) {
|
|
4262
|
-
var
|
|
4262
|
+
var j;
|
|
4263
4263
|
const P = l0(B);
|
|
4264
|
-
(
|
|
4264
|
+
(j = P.clearCache) === null || j === void 0 || j.call(P, x, k);
|
|
4265
4265
|
}
|
|
4266
4266
|
i.clear(), $(k), a.clear(), Ga(x, t);
|
|
4267
4267
|
}
|
|
@@ -4270,7 +4270,7 @@ function du(e) {
|
|
|
4270
4270
|
nodeType: "selector",
|
|
4271
4271
|
peek: de,
|
|
4272
4272
|
get: we,
|
|
4273
|
-
set: (k,
|
|
4273
|
+
set: (k, j, B) => {
|
|
4274
4274
|
let P = !1;
|
|
4275
4275
|
const V = /* @__PURE__ */ new Map();
|
|
4276
4276
|
function W({
|
|
@@ -4278,7 +4278,7 @@ function du(e) {
|
|
|
4278
4278
|
}) {
|
|
4279
4279
|
if (P)
|
|
4280
4280
|
throw Re("Recoil: Async selector sets are not currently supported.");
|
|
4281
|
-
const Se = Fr(k,
|
|
4281
|
+
const Se = Fr(k, j, K);
|
|
4282
4282
|
if (Se.state === "hasValue")
|
|
4283
4283
|
return Se.contents;
|
|
4284
4284
|
if (Se.state === "loading") {
|
|
@@ -4297,15 +4297,15 @@ function du(e) {
|
|
|
4297
4297
|
// flowlint-next-line unclear-type:off
|
|
4298
4298
|
Se(W(K))
|
|
4299
4299
|
) : Se;
|
|
4300
|
-
o0(k,
|
|
4300
|
+
o0(k, j, K.key, Ie).forEach((Fe, Ne) => V.set(Ne, Fe));
|
|
4301
4301
|
}
|
|
4302
|
-
function
|
|
4302
|
+
function J(K) {
|
|
4303
4303
|
z(K, i0);
|
|
4304
4304
|
}
|
|
4305
4305
|
const he = s({
|
|
4306
4306
|
set: z,
|
|
4307
4307
|
get: W,
|
|
4308
|
-
reset:
|
|
4308
|
+
reset: J
|
|
4309
4309
|
}, B);
|
|
4310
4310
|
if (he !== void 0)
|
|
4311
4311
|
throw He(he) ? Re("Recoil: Async selector sets are not currently supported.") : Re("Recoil: selector set should be a void function.");
|
|
@@ -4435,10 +4435,10 @@ function E0(e) {
|
|
|
4435
4435
|
M = typeof U == "function" ? (
|
|
4436
4436
|
// cast to any because we can't restrict T from being a function without losing support for opaque types
|
|
4437
4437
|
U(k)
|
|
4438
|
-
) : U, He(M) && (M = M.then((
|
|
4438
|
+
) : U, He(M) && (M = M.then((j) => (A = {
|
|
4439
4439
|
effect: $,
|
|
4440
|
-
value:
|
|
4441
|
-
},
|
|
4440
|
+
value: j
|
|
4441
|
+
}, j)));
|
|
4442
4442
|
} else {
|
|
4443
4443
|
if (He(U))
|
|
4444
4444
|
throw Re("Setting atoms to async values is not implemented.");
|
|
@@ -4461,18 +4461,18 @@ function E0(e) {
|
|
|
4461
4461
|
var x;
|
|
4462
4462
|
const {
|
|
4463
4463
|
release: k
|
|
4464
|
-
} = h.subscribeToTransactions((
|
|
4464
|
+
} = h.subscribeToTransactions((j) => {
|
|
4465
4465
|
var B;
|
|
4466
4466
|
let {
|
|
4467
4467
|
currentTree: P,
|
|
4468
4468
|
previousTree: V
|
|
4469
|
-
} =
|
|
4469
|
+
} = j.getState();
|
|
4470
4470
|
V || (lt("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"), V = P);
|
|
4471
4471
|
const W = (B = P.atomValues.get(t)) !== null && B !== void 0 ? B : i;
|
|
4472
4472
|
if (W.state === "hasValue") {
|
|
4473
|
-
var z,
|
|
4473
|
+
var z, J, he, K;
|
|
4474
4474
|
const Se = W.contents, Ie = (z = V.atomValues.get(t)) !== null && z !== void 0 ? z : i, Ke = Ie.state === "hasValue" ? Ie.contents : gn;
|
|
4475
|
-
((
|
|
4475
|
+
((J = A) === null || J === void 0 ? void 0 : J.effect) !== $ || ((he = A) === null || he === void 0 ? void 0 : he.value) !== Se ? U(Se, Ke, !P.atomValues.has(t)) : ((K = A) === null || K === void 0 ? void 0 : K.effect) === $ && (A = null);
|
|
4476
4476
|
}
|
|
4477
4477
|
}, t);
|
|
4478
4478
|
l.set(h, [...(x = l.get(h)) !== null && x !== void 0 ? x : [], k]);
|
|
@@ -5422,7 +5422,7 @@ const Iv = (e, t, ...n) => {
|
|
|
5422
5422
|
if (s)
|
|
5423
5423
|
return s[r];
|
|
5424
5424
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
5425
|
-
return Tv(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-
|
|
5425
|
+
return Tv(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-0439c8e8.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-7507e5db.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-feb51f2a.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-376362d8.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-613ea41e.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-133320eb.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-b65d5fb6.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-872939fd.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-e88f60a7.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-18835ce9.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-c21c13cb.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-2ffc3b1a.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-907bba69.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-0310d7d7.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-f9e864c4.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-2d453975.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-8144d7b8.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-3c75116f.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-52755baf.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-80244ce9.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-76dd57e6.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-98e2aeca.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-58ca8249.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-1fcc1904.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-62216228.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-3b387d6d.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-f2bfa9b3.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-4db35d18.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-c8922c71.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-be14af40.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-c5e13aab.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-efcde8d8.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-d825cb3c.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-c81143d6.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-89470b8c.mjs") }), `./${o}.entry.js`).then((i) => (tl.set(o, i), i[r]), _n);
|
|
5426
5426
|
}, ro = /* @__PURE__ */ new Map(), Lr = typeof window < "u" ? window : {}, Ot = Lr.document || { head: {} }, at = {
|
|
5427
5427
|
$flags$: 0,
|
|
5428
5428
|
$resourcesUrl$: "",
|
|
@@ -7126,7 +7126,7 @@ class Hy {
|
|
|
7126
7126
|
}
|
|
7127
7127
|
const zy = (e, t) => {
|
|
7128
7128
|
const n = ge();
|
|
7129
|
-
return
|
|
7129
|
+
return D(() => {
|
|
7130
7130
|
n.current = t ? n.current : e;
|
|
7131
7131
|
}, [e, t]), n.current;
|
|
7132
7132
|
};
|
|
@@ -7158,11 +7158,11 @@ function nt(e) {
|
|
|
7158
7158
|
function f() {
|
|
7159
7159
|
return s.getFixedT(t.lng || null, i.nsMode === "fallback" ? c : c[0], l);
|
|
7160
7160
|
}
|
|
7161
|
-
const [d, p] =
|
|
7161
|
+
const [d, p] = ee(f);
|
|
7162
7162
|
let g = c.join();
|
|
7163
7163
|
t.lng && (g = `${t.lng}${g}`);
|
|
7164
7164
|
const b = zy(g), E = ge(!0);
|
|
7165
|
-
|
|
7165
|
+
D(() => {
|
|
7166
7166
|
const {
|
|
7167
7167
|
bindI18n: v,
|
|
7168
7168
|
bindI18nStore: y
|
|
@@ -7180,7 +7180,7 @@ function nt(e) {
|
|
|
7180
7180
|
};
|
|
7181
7181
|
}, [s, g]);
|
|
7182
7182
|
const R = ge(!0);
|
|
7183
|
-
|
|
7183
|
+
D(() => {
|
|
7184
7184
|
E.current && !R.current && p(f), R.current = !1;
|
|
7185
7185
|
}, [s, l]);
|
|
7186
7186
|
const h = [d, s, u];
|
|
@@ -8142,7 +8142,7 @@ function t2() {
|
|
|
8142
8142
|
function k(K) {
|
|
8143
8143
|
return typeof K == "object" && K !== null && K.$$typeof === t;
|
|
8144
8144
|
}
|
|
8145
|
-
function
|
|
8145
|
+
function j(K) {
|
|
8146
8146
|
return y(K) === u;
|
|
8147
8147
|
}
|
|
8148
8148
|
function B(K) {
|
|
@@ -8160,13 +8160,13 @@ function t2() {
|
|
|
8160
8160
|
function z(K) {
|
|
8161
8161
|
return y(K) === s;
|
|
8162
8162
|
}
|
|
8163
|
-
function
|
|
8163
|
+
function J(K) {
|
|
8164
8164
|
return y(K) === o;
|
|
8165
8165
|
}
|
|
8166
8166
|
function he(K) {
|
|
8167
8167
|
return y(K) === f;
|
|
8168
8168
|
}
|
|
8169
|
-
Ve.AsyncMode = S, Ve.ConcurrentMode = C, Ve.ContextConsumer = T, Ve.ContextProvider = N, Ve.Element = O, Ve.ForwardRef = M, Ve.Fragment = F, Ve.Lazy = Y, Ve.Memo = A, Ve.Portal = G, Ve.Profiler = fe, Ve.StrictMode = ce, Ve.Suspense = oe, Ve.isAsyncMode = we, Ve.isConcurrentMode = $, Ve.isContextConsumer = U, Ve.isContextProvider = x, Ve.isElement = k, Ve.isForwardRef =
|
|
8169
|
+
Ve.AsyncMode = S, Ve.ConcurrentMode = C, Ve.ContextConsumer = T, Ve.ContextProvider = N, Ve.Element = O, Ve.ForwardRef = M, Ve.Fragment = F, Ve.Lazy = Y, Ve.Memo = A, Ve.Portal = G, Ve.Profiler = fe, Ve.StrictMode = ce, Ve.Suspense = oe, Ve.isAsyncMode = we, Ve.isConcurrentMode = $, Ve.isContextConsumer = U, Ve.isContextProvider = x, Ve.isElement = k, Ve.isForwardRef = j, Ve.isFragment = B, Ve.isLazy = P, Ve.isMemo = V, Ve.isPortal = W, Ve.isProfiler = z, Ve.isStrictMode = J, Ve.isSuspense = he, Ve.isValidElementType = v, Ve.typeOf = y;
|
|
8170
8170
|
}()), Ve;
|
|
8171
8171
|
}
|
|
8172
8172
|
var Sl;
|
|
@@ -8343,8 +8343,8 @@ function o2() {
|
|
|
8343
8343
|
function E($) {
|
|
8344
8344
|
if (process.env.NODE_ENV !== "production")
|
|
8345
8345
|
var U = {}, x = 0;
|
|
8346
|
-
function k(B, P, V, W, z,
|
|
8347
|
-
if (W = W || d,
|
|
8346
|
+
function k(B, P, V, W, z, J, he) {
|
|
8347
|
+
if (W = W || d, J = J || V, he !== n) {
|
|
8348
8348
|
if (l) {
|
|
8349
8349
|
var K = new Error(
|
|
8350
8350
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -8354,22 +8354,22 @@ function o2() {
|
|
|
8354
8354
|
var Se = W + ":" + V;
|
|
8355
8355
|
!U[Se] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
8356
8356
|
x < 3 && (s(
|
|
8357
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
8357
|
+
"You are manually calling a React.PropTypes validation function for the `" + J + "` prop on `" + W + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
8358
8358
|
), U[Se] = !0, x++);
|
|
8359
8359
|
}
|
|
8360
8360
|
}
|
|
8361
|
-
return P[V] == null ? B ? P[V] === null ? new b("The " + z + " `" +
|
|
8361
|
+
return P[V] == null ? B ? P[V] === null ? new b("The " + z + " `" + J + "` is marked as required " + ("in `" + W + "`, but its value is `null`.")) : new b("The " + z + " `" + J + "` is marked as required in " + ("`" + W + "`, but its value is `undefined`.")) : null : $(P, V, W, z, J);
|
|
8362
8362
|
}
|
|
8363
|
-
var
|
|
8364
|
-
return
|
|
8363
|
+
var j = k.bind(null, !1);
|
|
8364
|
+
return j.isRequired = k.bind(null, !0), j;
|
|
8365
8365
|
}
|
|
8366
8366
|
function R($) {
|
|
8367
|
-
function U(x, k,
|
|
8367
|
+
function U(x, k, j, B, P, V) {
|
|
8368
8368
|
var W = x[k], z = ce(W);
|
|
8369
8369
|
if (z !== $) {
|
|
8370
|
-
var
|
|
8370
|
+
var J = oe(W);
|
|
8371
8371
|
return new b(
|
|
8372
|
-
"Invalid " + B + " `" + P + "` of type " + ("`" +
|
|
8372
|
+
"Invalid " + B + " `" + P + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected ") + ("`" + $ + "`."),
|
|
8373
8373
|
{ expectedType: $ }
|
|
8374
8374
|
);
|
|
8375
8375
|
}
|
|
@@ -8381,50 +8381,50 @@ function o2() {
|
|
|
8381
8381
|
return E(i);
|
|
8382
8382
|
}
|
|
8383
8383
|
function v($) {
|
|
8384
|
-
function U(x, k,
|
|
8384
|
+
function U(x, k, j, B, P) {
|
|
8385
8385
|
if (typeof $ != "function")
|
|
8386
|
-
return new b("Property `" + P + "` of component `" +
|
|
8386
|
+
return new b("Property `" + P + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
|
|
8387
8387
|
var V = x[k];
|
|
8388
8388
|
if (!Array.isArray(V)) {
|
|
8389
8389
|
var W = ce(V);
|
|
8390
|
-
return new b("Invalid " + B + " `" + P + "` of type " + ("`" + W + "` supplied to `" +
|
|
8390
|
+
return new b("Invalid " + B + " `" + P + "` of type " + ("`" + W + "` supplied to `" + j + "`, expected an array."));
|
|
8391
8391
|
}
|
|
8392
8392
|
for (var z = 0; z < V.length; z++) {
|
|
8393
|
-
var
|
|
8394
|
-
if (
|
|
8395
|
-
return
|
|
8393
|
+
var J = $(V, z, j, B, P + "[" + z + "]", n);
|
|
8394
|
+
if (J instanceof Error)
|
|
8395
|
+
return J;
|
|
8396
8396
|
}
|
|
8397
8397
|
return null;
|
|
8398
8398
|
}
|
|
8399
8399
|
return E(U);
|
|
8400
8400
|
}
|
|
8401
8401
|
function y() {
|
|
8402
|
-
function $(U, x, k,
|
|
8402
|
+
function $(U, x, k, j, B) {
|
|
8403
8403
|
var P = U[x];
|
|
8404
8404
|
if (!a(P)) {
|
|
8405
8405
|
var V = ce(P);
|
|
8406
|
-
return new b("Invalid " +
|
|
8406
|
+
return new b("Invalid " + j + " `" + B + "` of type " + ("`" + V + "` supplied to `" + k + "`, expected a single ReactElement."));
|
|
8407
8407
|
}
|
|
8408
8408
|
return null;
|
|
8409
8409
|
}
|
|
8410
8410
|
return E($);
|
|
8411
8411
|
}
|
|
8412
8412
|
function S() {
|
|
8413
|
-
function $(U, x, k,
|
|
8413
|
+
function $(U, x, k, j, B) {
|
|
8414
8414
|
var P = U[x];
|
|
8415
8415
|
if (!e.isValidElementType(P)) {
|
|
8416
8416
|
var V = ce(P);
|
|
8417
|
-
return new b("Invalid " +
|
|
8417
|
+
return new b("Invalid " + j + " `" + B + "` of type " + ("`" + V + "` supplied to `" + k + "`, expected a single ReactElement type."));
|
|
8418
8418
|
}
|
|
8419
8419
|
return null;
|
|
8420
8420
|
}
|
|
8421
8421
|
return E($);
|
|
8422
8422
|
}
|
|
8423
8423
|
function C($) {
|
|
8424
|
-
function U(x, k,
|
|
8424
|
+
function U(x, k, j, B, P) {
|
|
8425
8425
|
if (!(x[k] instanceof $)) {
|
|
8426
8426
|
var V = $.name || d, W = we(x[k]);
|
|
8427
|
-
return new b("Invalid " + B + " `" + P + "` of type " + ("`" + W + "` supplied to `" +
|
|
8427
|
+
return new b("Invalid " + B + " `" + P + "` of type " + ("`" + W + "` supplied to `" + j + "`, expected ") + ("instance of `" + V + "`."));
|
|
8428
8428
|
}
|
|
8429
8429
|
return null;
|
|
8430
8430
|
}
|
|
@@ -8435,7 +8435,7 @@ function o2() {
|
|
|
8435
8435
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
8436
8436
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
8437
8437
|
) : s("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
8438
|
-
function U(x, k,
|
|
8438
|
+
function U(x, k, j, B, P) {
|
|
8439
8439
|
for (var V = x[k], W = 0; W < $.length; W++)
|
|
8440
8440
|
if (g(V, $[W]))
|
|
8441
8441
|
return null;
|
|
@@ -8443,22 +8443,22 @@ function o2() {
|
|
|
8443
8443
|
var Se = oe(K);
|
|
8444
8444
|
return Se === "symbol" ? String(K) : K;
|
|
8445
8445
|
});
|
|
8446
|
-
return new b("Invalid " + B + " `" + P + "` of value `" + String(V) + "` " + ("supplied to `" +
|
|
8446
|
+
return new b("Invalid " + B + " `" + P + "` of value `" + String(V) + "` " + ("supplied to `" + j + "`, expected one of " + z + "."));
|
|
8447
8447
|
}
|
|
8448
8448
|
return E(U);
|
|
8449
8449
|
}
|
|
8450
8450
|
function N($) {
|
|
8451
|
-
function U(x, k,
|
|
8451
|
+
function U(x, k, j, B, P) {
|
|
8452
8452
|
if (typeof $ != "function")
|
|
8453
|
-
return new b("Property `" + P + "` of component `" +
|
|
8453
|
+
return new b("Property `" + P + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
|
|
8454
8454
|
var V = x[k], W = ce(V);
|
|
8455
8455
|
if (W !== "object")
|
|
8456
|
-
return new b("Invalid " + B + " `" + P + "` of type " + ("`" + W + "` supplied to `" +
|
|
8456
|
+
return new b("Invalid " + B + " `" + P + "` of type " + ("`" + W + "` supplied to `" + j + "`, expected an object."));
|
|
8457
8457
|
for (var z in V)
|
|
8458
8458
|
if (r(V, z)) {
|
|
8459
|
-
var
|
|
8460
|
-
if (
|
|
8461
|
-
return
|
|
8459
|
+
var J = $(V, z, j, B, P + "." + z, n);
|
|
8460
|
+
if (J instanceof Error)
|
|
8461
|
+
return J;
|
|
8462
8462
|
}
|
|
8463
8463
|
return null;
|
|
8464
8464
|
}
|
|
@@ -8474,9 +8474,9 @@ function o2() {
|
|
|
8474
8474
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + de(x) + " at index " + U + "."
|
|
8475
8475
|
), i;
|
|
8476
8476
|
}
|
|
8477
|
-
function k(
|
|
8478
|
-
for (var z = [],
|
|
8479
|
-
var he = $[
|
|
8477
|
+
function k(j, B, P, V, W) {
|
|
8478
|
+
for (var z = [], J = 0; J < $.length; J++) {
|
|
8479
|
+
var he = $[J], K = he(j, B, P, V, W, n);
|
|
8480
8480
|
if (K == null)
|
|
8481
8481
|
return null;
|
|
8482
8482
|
K.data && r(K.data, "expectedType") && z.push(K.data.expectedType);
|
|
@@ -8487,26 +8487,26 @@ function o2() {
|
|
|
8487
8487
|
return E(k);
|
|
8488
8488
|
}
|
|
8489
8489
|
function M() {
|
|
8490
|
-
function $(U, x, k,
|
|
8491
|
-
return G(U[x]) ? null : new b("Invalid " +
|
|
8490
|
+
function $(U, x, k, j, B) {
|
|
8491
|
+
return G(U[x]) ? null : new b("Invalid " + j + " `" + B + "` supplied to " + ("`" + k + "`, expected a ReactNode."));
|
|
8492
8492
|
}
|
|
8493
8493
|
return E($);
|
|
8494
8494
|
}
|
|
8495
|
-
function F($, U, x, k,
|
|
8495
|
+
function F($, U, x, k, j) {
|
|
8496
8496
|
return new b(
|
|
8497
|
-
($ || "React class") + ": " + U + " type `" + x + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
8497
|
+
($ || "React class") + ": " + U + " type `" + x + "." + k + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
|
|
8498
8498
|
);
|
|
8499
8499
|
}
|
|
8500
8500
|
function Y($) {
|
|
8501
|
-
function U(x, k,
|
|
8501
|
+
function U(x, k, j, B, P) {
|
|
8502
8502
|
var V = x[k], W = ce(V);
|
|
8503
8503
|
if (W !== "object")
|
|
8504
|
-
return new b("Invalid " + B + " `" + P + "` of type `" + W + "` " + ("supplied to `" +
|
|
8504
|
+
return new b("Invalid " + B + " `" + P + "` of type `" + W + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
8505
8505
|
for (var z in $) {
|
|
8506
|
-
var
|
|
8507
|
-
if (typeof
|
|
8508
|
-
return F(
|
|
8509
|
-
var he =
|
|
8506
|
+
var J = $[z];
|
|
8507
|
+
if (typeof J != "function")
|
|
8508
|
+
return F(j, B, P, z, oe(J));
|
|
8509
|
+
var he = J(V, z, j, B, P + "." + z, n);
|
|
8510
8510
|
if (he)
|
|
8511
8511
|
return he;
|
|
8512
8512
|
}
|
|
@@ -8515,21 +8515,21 @@ function o2() {
|
|
|
8515
8515
|
return E(U);
|
|
8516
8516
|
}
|
|
8517
8517
|
function A($) {
|
|
8518
|
-
function U(x, k,
|
|
8518
|
+
function U(x, k, j, B, P) {
|
|
8519
8519
|
var V = x[k], W = ce(V);
|
|
8520
8520
|
if (W !== "object")
|
|
8521
|
-
return new b("Invalid " + B + " `" + P + "` of type `" + W + "` " + ("supplied to `" +
|
|
8521
|
+
return new b("Invalid " + B + " `" + P + "` of type `" + W + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
8522
8522
|
var z = t({}, x[k], $);
|
|
8523
|
-
for (var
|
|
8524
|
-
var he = $[
|
|
8525
|
-
if (r($,
|
|
8526
|
-
return F(
|
|
8523
|
+
for (var J in z) {
|
|
8524
|
+
var he = $[J];
|
|
8525
|
+
if (r($, J) && typeof he != "function")
|
|
8526
|
+
return F(j, B, P, J, oe(he));
|
|
8527
8527
|
if (!he)
|
|
8528
8528
|
return new b(
|
|
8529
|
-
"Invalid " + B + " `" + P + "` key `" +
|
|
8529
|
+
"Invalid " + B + " `" + P + "` key `" + J + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(x[k], null, " ") + `
|
|
8530
8530
|
Valid keys: ` + JSON.stringify(Object.keys($), null, " ")
|
|
8531
8531
|
);
|
|
8532
|
-
var K = he(V,
|
|
8532
|
+
var K = he(V, J, j, B, P + "." + J, n);
|
|
8533
8533
|
if (K)
|
|
8534
8534
|
return K;
|
|
8535
8535
|
}
|
|
@@ -8559,8 +8559,8 @@ Valid keys: ` + JSON.stringify(Object.keys($), null, " ")
|
|
|
8559
8559
|
return !1;
|
|
8560
8560
|
} else
|
|
8561
8561
|
for (; !(k = x.next()).done; ) {
|
|
8562
|
-
var
|
|
8563
|
-
if (
|
|
8562
|
+
var j = k.value;
|
|
8563
|
+
if (j && !G(j[1]))
|
|
8564
8564
|
return !1;
|
|
8565
8565
|
}
|
|
8566
8566
|
} else
|
|
@@ -8666,8 +8666,8 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
8666
8666
|
var l2 = oi.exports;
|
|
8667
8667
|
const w = /* @__PURE__ */ ec(l2);
|
|
8668
8668
|
const c2 = (e) => {
|
|
8669
|
-
const [t, n] =
|
|
8670
|
-
return
|
|
8669
|
+
const [t, n] = ee(!1);
|
|
8670
|
+
return D(() => {
|
|
8671
8671
|
const r = window.matchMedia(e);
|
|
8672
8672
|
r.matches !== t && n(r.matches);
|
|
8673
8673
|
const o = () => n(r.matches);
|
|
@@ -8750,7 +8750,7 @@ class u2 {
|
|
|
8750
8750
|
});
|
|
8751
8751
|
}
|
|
8752
8752
|
}
|
|
8753
|
-
const d2 = (e) => /* @__PURE__ */
|
|
8753
|
+
const d2 = (e) => /* @__PURE__ */ re.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M0.833344 10C0.833344 10.3315 0.96504 10.6495 1.19946 10.8839C1.43388 11.1183 1.75182 11.25 2.08334 11.25H8.54168C8.59693 11.25 8.64992 11.2719 8.68899 11.311C8.72806 11.3501 8.75001 11.4031 8.75001 11.4583V17.9167C8.75001 18.2482 8.88171 18.5661 9.11613 18.8005C9.35055 19.035 9.66849 19.1667 10 19.1667C10.3315 19.1667 10.6495 19.035 10.8839 18.8005C11.1183 18.5661 11.25 18.2482 11.25 17.9167V11.4583C11.25 11.4031 11.272 11.3501 11.311 11.311C11.3501 11.2719 11.4031 11.25 11.4583 11.25H17.9167C18.2482 11.25 18.5661 11.1183 18.8006 10.8839C19.035 10.6495 19.1667 10.3315 19.1667 10C19.1667 9.66848 19.035 9.35054 18.8006 9.11612C18.5661 8.88169 18.2482 8.75 17.9167 8.75H11.4583C11.4031 8.75 11.3501 8.72805 11.311 8.68898C11.272 8.64991 11.25 8.59692 11.25 8.54167V2.08333C11.25 1.75181 11.1183 1.43387 10.8839 1.19945C10.6495 0.965029 10.3315 0.833333 10 0.833333C9.66849 0.833333 9.35055 0.965029 9.11613 1.19945C8.88171 1.43387 8.75001 1.75181 8.75001 2.08333V8.54167C8.75001 8.59692 8.72806 8.64991 8.68899 8.68898C8.64992 8.72805 8.59693 8.75 8.54168 8.75H2.08334C1.75182 8.75 1.43388 8.88169 1.19946 9.11612C0.96504 9.35054 0.833344 9.66848 0.833344 10Z", fill: "#78716C" })), f2 = (e) => /* @__PURE__ */ re.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M2.08333 11.6667H17.9167C18.2482 11.6667 18.5661 11.535 18.8005 11.3006C19.035 11.0661 19.1667 10.7482 19.1667 10.4167C19.1667 10.0851 19.035 9.7672 18.8005 9.53278C18.5661 9.29836 18.2482 9.16667 17.9167 9.16667H2.08333C1.75181 9.16667 1.43387 9.29836 1.19945 9.53278C0.965029 9.7672 0.833333 10.0851 0.833333 10.4167C0.833333 10.7482 0.965029 11.0661 1.19945 11.3006C1.43387 11.535 1.75181 11.6667 2.08333 11.6667Z", fill: "#78716C" }));
|
|
8754
8754
|
si.propTypes = {
|
|
8755
8755
|
mapType: w.oneOf(["google", "mapbox"]).isRequired,
|
|
8756
8756
|
mapInstance: w.object.isRequired
|
|
@@ -8806,11 +8806,11 @@ function si({ mapType: e, mapInstance: t }) {
|
|
|
8806
8806
|
)
|
|
8807
8807
|
] }) : null;
|
|
8808
8808
|
}
|
|
8809
|
-
const h2 = (e) => /* @__PURE__ */
|
|
8809
|
+
const h2 = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M10 4C9.44771 4 9 4.44772 9 5C9 5.55228 9.44771 6 10 6H15V20C15 20.5523 15.4477 21 16 21C16.5523 21 17 20.5523 17 20V6H22C22.5523 6 23 5.55228 23 5C23 4.44772 22.5523 4 22 4H10Z", fill: "#78706C", style: {
|
|
8810
8810
|
fill: "#78706C",
|
|
8811
8811
|
fill: "color(display-p3 0.4706 0.4392 0.4235)",
|
|
8812
8812
|
fillOpacity: 1
|
|
8813
|
-
} }), /* @__PURE__ */
|
|
8813
|
+
} }), /* @__PURE__ */ re.createElement("path", { d: "M5.92676 20V12H2C1.44772 12 1 11.5523 1 11C1 10.4477 1.44772 10 2 10H6.88216C6.89695 9.99935 6.91181 9.99902 6.92676 9.99902C6.9417 9.99902 6.95657 9.99935 6.97135 10H12C12.5523 10 13 10.4477 13 11C13 11.5523 12.5523 12 12 12H7.92676V20C7.92676 20.5523 7.47904 21 6.92676 21C6.37447 21 5.92676 20.5523 5.92676 20Z", fill: "#78706C", style: {
|
|
8814
8814
|
fill: "#78706C",
|
|
8815
8815
|
fill: "color(display-p3 0.4706 0.4392 0.4235)",
|
|
8816
8816
|
fillOpacity: 1
|
|
@@ -8819,11 +8819,11 @@ Hu.propTypes = {
|
|
|
8819
8819
|
mapsIndoorsInstance: w.object.isRequired
|
|
8820
8820
|
};
|
|
8821
8821
|
function Hu({ mapsIndoorsInstance: e }) {
|
|
8822
|
-
const { t } = nt(), n = Bi(), [r, o] =
|
|
8822
|
+
const { t } = nt(), n = Bi(), [r, o] = ee(!1), s = Kt((a) => {
|
|
8823
8823
|
var l, c;
|
|
8824
8824
|
a ? (document.documentElement.style.fontSize = "200%", (l = e == null ? void 0 : e.getMapView()) == null || l.setLabelTextSizeMultiplier(2)) : (document.documentElement.style.fontSize = "", (c = e == null ? void 0 : e.getMapView()) == null || c.resetLabelTextSize());
|
|
8825
8825
|
}, [e]);
|
|
8826
|
-
|
|
8826
|
+
D(() => (s(r), () => {
|
|
8827
8827
|
s(!1);
|
|
8828
8828
|
}), [r, s]);
|
|
8829
8829
|
const i = Kt(() => {
|
|
@@ -8875,7 +8875,7 @@ function zu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
8875
8875
|
}, []), g = (b) => {
|
|
8876
8876
|
f.current.customPositionProvider.setPosition(b) && f.current.watchPosition();
|
|
8877
8877
|
};
|
|
8878
|
-
return
|
|
8878
|
+
return D(() => {
|
|
8879
8879
|
if (!(!t || !n)) {
|
|
8880
8880
|
if (!u.current) {
|
|
8881
8881
|
const b = document.createElement("mi-floor-selector");
|
|
@@ -8887,7 +8887,7 @@ function zu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
8887
8887
|
}
|
|
8888
8888
|
u.current.mapsindoors = t, f.current.mapsindoors = t, o && (u.current.primaryColor = o), r && f.current && r(f.current);
|
|
8889
8889
|
}
|
|
8890
|
-
}, [e, t, n, r, o]),
|
|
8890
|
+
}, [e, t, n, r, o]), D(() => {
|
|
8891
8891
|
if (f.current) {
|
|
8892
8892
|
if (f.current.stopListeningForPosition && typeof f.current.stopListeningForPosition == "function" && f.current.stopListeningForPosition(), s && typeof s == "object") {
|
|
8893
8893
|
if (f.current.customPositionProvider || (f.current.customPositionProvider = new u2()), Object.keys(s).length === 0)
|
|
@@ -8898,7 +8898,7 @@ function zu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
8898
8898
|
f.current && f.current.stopListeningForPosition && typeof f.current.stopListeningForPosition == "function" && f.current.stopListeningForPosition();
|
|
8899
8899
|
};
|
|
8900
8900
|
}
|
|
8901
|
-
}, [s]),
|
|
8901
|
+
}, [s]), D(() => {
|
|
8902
8902
|
if (!u.current || !f.current)
|
|
8903
8903
|
return;
|
|
8904
8904
|
const b = (E, R) => {
|
|
@@ -8908,7 +8908,7 @@ function zu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
8908
8908
|
requestAnimationFrame(() => {
|
|
8909
8909
|
d("floorSelector") && b(u.current, Wr.floorSelector.className), d("myPosition") && b(f.current, Wr.myPosition.className);
|
|
8910
8910
|
});
|
|
8911
|
-
}, [c, a, d]),
|
|
8911
|
+
}, [c, a, d]), D(() => {
|
|
8912
8912
|
Object.entries(Wr).forEach(([b, E]) => {
|
|
8913
8913
|
if (!E.className)
|
|
8914
8914
|
return;
|
|
@@ -8965,7 +8965,7 @@ function zu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
8965
8965
|
] });
|
|
8966
8966
|
}
|
|
8967
8967
|
const p2 = Ql(zu);
|
|
8968
|
-
const g2 = Xl(() => import("./MapboxMap-
|
|
8968
|
+
const g2 = Xl(() => import("./MapboxMap-f4e7f42d.mjs")), m2 = Xl(() => import("./GoogleMapsMap-440ae0aa.mjs")), An = {
|
|
8969
8969
|
Google: "google",
|
|
8970
8970
|
Mapbox: "mapbox"
|
|
8971
8971
|
};
|
|
@@ -8987,13 +8987,13 @@ Gu.propTypes = {
|
|
|
8987
8987
|
};
|
|
8988
8988
|
function Gu({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, center: r, zoom: o, bounds: s, bearing: i, pitch: a, resetUICounter: l, mapOptions: c, onInitialized: u, gmMapId: f, devicePosition: d, isKiosk: p }) {
|
|
8989
8989
|
var G, fe;
|
|
8990
|
-
const [g, b] =
|
|
8990
|
+
const [g, b] = ee(), [E, R] = ee(), [h, v] = ee(), [y, S] = ee(), [C, T] = ee(), [N, O] = ee(), [M, F] = ee(), Y = vn(() => {
|
|
8991
8991
|
var ce;
|
|
8992
8992
|
return ((ce = N == null ? void 0 : N.appSettings) == null ? void 0 : ce.excludeFromUI) || "";
|
|
8993
8993
|
}, [(G = N == null ? void 0 : N.appSettings) == null ? void 0 : G.excludeFromUI]);
|
|
8994
|
-
|
|
8994
|
+
D(() => {
|
|
8995
8995
|
window.customElements.get("mi-floor-selector") || Ou();
|
|
8996
|
-
}, []),
|
|
8996
|
+
}, []), D(() => {
|
|
8997
8997
|
e && (window.mapsindoors.MapsIndoors.setMapsIndoorsApiKey(e), g === An.Mapbox && (window.mapsindoors.services.SolutionsService.getSolution().then((ce) => {
|
|
8998
8998
|
T(ce);
|
|
8999
8999
|
}), window.mapsindoors.services.AppConfigService.getConfig().then((ce) => {
|
|
@@ -9014,11 +9014,11 @@ function Gu({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, center: r, zoom: o,
|
|
|
9014
9014
|
((we = de == null ? void 0 : de.properties.locationSettings) == null ? void 0 : we.selectable) === !1 && oe.unhoverLocation();
|
|
9015
9015
|
}), oe.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }), R(oe);
|
|
9016
9016
|
};
|
|
9017
|
-
return
|
|
9017
|
+
return D(() => {
|
|
9018
9018
|
typeof u == "function" && E && h && typeof y == "boolean" && u(E, h, y);
|
|
9019
|
-
}, [E, h, y]),
|
|
9019
|
+
}, [E, h, y]), D(() => {
|
|
9020
9020
|
C && g === An.Mapbox && ["mapbox", "3dwalls", "floorplan"].every((ce) => C.modules.map((oe) => oe.toLowerCase()).includes(ce)) ? S(!0) : S(!1);
|
|
9021
|
-
}, [C, g]),
|
|
9021
|
+
}, [C, g]), D(() => {
|
|
9022
9022
|
n ? b(An.Mapbox) : t && b(An.Google);
|
|
9023
9023
|
}, [t, n]), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
9024
9024
|
g === An.Google && /* @__PURE__ */ m.jsx(Ca, { children: /* @__PURE__ */ m.jsx(
|
|
@@ -9078,8 +9078,8 @@ const ut = {
|
|
|
9078
9078
|
dangerouslyAllowMutability: !0
|
|
9079
9079
|
// A MapsIndoors instance contains state. Needs mutability.
|
|
9080
9080
|
}), v2 = (e) => {
|
|
9081
|
-
const t = H(Et), n = ge(), [r, o] =
|
|
9082
|
-
|
|
9081
|
+
const t = H(Et), n = ge(), [r, o] = ee([]);
|
|
9082
|
+
D(() => {
|
|
9083
9083
|
(async () => {
|
|
9084
9084
|
if (t && e) {
|
|
9085
9085
|
for (const a of r)
|
|
@@ -9211,8 +9211,8 @@ const Zu = pe({
|
|
|
9211
9211
|
default: void 0
|
|
9212
9212
|
});
|
|
9213
9213
|
function Qu() {
|
|
9214
|
-
const [e, t] =
|
|
9215
|
-
return
|
|
9214
|
+
const [e, t] = ee(!1), n = H(Zo), r = H(Zu);
|
|
9215
|
+
return D(() => {
|
|
9216
9216
|
if (!n || !r)
|
|
9217
9217
|
return;
|
|
9218
9218
|
let o;
|
|
@@ -9227,8 +9227,8 @@ function Qu() {
|
|
|
9227
9227
|
}, [r, n]), e;
|
|
9228
9228
|
}
|
|
9229
9229
|
const y2 = (e) => {
|
|
9230
|
-
const [t, n] =
|
|
9231
|
-
return
|
|
9230
|
+
const [t, n] = ee(window.matchMedia(e).matches);
|
|
9231
|
+
return D(() => {
|
|
9232
9232
|
const r = window.matchMedia(e);
|
|
9233
9233
|
r.matches !== t && n(r.matches);
|
|
9234
9234
|
const o = () => n(r.matches);
|
|
@@ -10584,10 +10584,10 @@ function pS(e, t) {
|
|
|
10584
10584
|
}), n;
|
|
10585
10585
|
}
|
|
10586
10586
|
const gS = () => {
|
|
10587
|
-
const [e, t] =
|
|
10588
|
-
|
|
10587
|
+
const [e, t] = ee(!1), [n, r] = ee(!1), o = Pt(), s = Qu(), i = H(Hi), a = H(kr), l = H(zi), c = H(qo), u = H(Et), f = H(Wo), d = H(qu), p = H(Ar), g = H(S2), b = H(Gi), [E, R] = ee(!1), [h, v] = te(ln), y = te(Zo), [S] = te(Ju), [C, T] = ee({ id: null, originalRule: null });
|
|
10588
|
+
D(() => {
|
|
10589
10589
|
s && N();
|
|
10590
|
-
}, [s]),
|
|
10590
|
+
}, [s]), D(() => {
|
|
10591
10591
|
N();
|
|
10592
10592
|
}, [u, h, c, l, f, i, d, a, S]);
|
|
10593
10593
|
function N() {
|
|
@@ -10675,22 +10675,22 @@ function _t(e, t, n, r, o, s, i) {
|
|
|
10675
10675
|
const fd = pe({
|
|
10676
10676
|
key: "hideNonMatches",
|
|
10677
10677
|
default: !1
|
|
10678
|
-
}), mS = (e) => /* @__PURE__ */
|
|
10678
|
+
}), mS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 3H9V5H5V9H3V3ZM15 3H21V9H19V5H15V3ZM5 15V19H9V21H3V15H5ZM21 15V21H15V19H19V15H21Z", fill: "#666666", style: {
|
|
10679
10679
|
fill: "#666666",
|
|
10680
10680
|
fill: "color(display-p3 0.4000 0.4000 0.4000)",
|
|
10681
10681
|
fillOpacity: 1
|
|
10682
|
-
} }), /* @__PURE__ */
|
|
10682
|
+
} }), /* @__PURE__ */ re.createElement("rect", { x: 9, y: 9, width: 6, height: 6, fill: "#666666", style: {
|
|
10683
10683
|
fill: "#666666",
|
|
10684
10684
|
fill: "color(display-p3 0.4000 0.4000 0.4000)",
|
|
10685
10685
|
fillOpacity: 1
|
|
10686
|
-
} })), Pr = (e) => /* @__PURE__ */
|
|
10686
|
+
} })), Pr = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M6 6L18 18", stroke: "#636971", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ re.createElement("path", { d: "M18 6L6 18", stroke: "#636971", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
10687
10687
|
hd.propTypes = {
|
|
10688
10688
|
isViewSelectorDisabled: w.bool,
|
|
10689
10689
|
isViewSelectorVisible: w.bool
|
|
10690
10690
|
};
|
|
10691
10691
|
function hd({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
10692
|
-
const { t: n } = nt(), [r, o] =
|
|
10693
|
-
|
|
10692
|
+
const { t: n } = nt(), [r, o] = ee(!1), [s, i] = ee([]), [a, l] = ee(null), c = Pt(), u = H(Et), f = H(ln), d = ".view-selector-portal", [p, g] = ee(null), b = ge(null), E = ge(null), R = 6, h = 60;
|
|
10693
|
+
D(() => {
|
|
10694
10694
|
let N = document.querySelector(d);
|
|
10695
10695
|
if (N) {
|
|
10696
10696
|
g(N);
|
|
@@ -10702,7 +10702,7 @@ function hd({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
|
10702
10702
|
return O.observe(M, F), () => {
|
|
10703
10703
|
O == null || O.disconnect();
|
|
10704
10704
|
};
|
|
10705
|
-
}, []),
|
|
10705
|
+
}, []), D(() => {
|
|
10706
10706
|
const N = () => {
|
|
10707
10707
|
const M = document.querySelector(d);
|
|
10708
10708
|
M && g(M);
|
|
@@ -10712,18 +10712,18 @@ function hd({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
|
10712
10712
|
return O.observe(document.body), () => {
|
|
10713
10713
|
O == null || O.disconnect();
|
|
10714
10714
|
};
|
|
10715
|
-
}, [c]),
|
|
10715
|
+
}, [c]), D(() => {
|
|
10716
10716
|
var N;
|
|
10717
10717
|
if (u && f) {
|
|
10718
10718
|
const O = (N = u.getVenue()) == null ? void 0 : N.id;
|
|
10719
10719
|
O && l(O);
|
|
10720
10720
|
}
|
|
10721
|
-
}, [u, f]),
|
|
10721
|
+
}, [u, f]), D(() => {
|
|
10722
10722
|
u && f && window.mapsindoors.services.VenuesService.getVenues().then((N) => {
|
|
10723
10723
|
const O = N.find((M) => M.name.toLowerCase() === f.toLowerCase());
|
|
10724
10724
|
O != null && O.id && l(O.id);
|
|
10725
10725
|
});
|
|
10726
|
-
}, [u, f]),
|
|
10726
|
+
}, [u, f]), D(() => {
|
|
10727
10727
|
a && window.mapsindoors.services.VenuesService.getBuildings(a).then((N) => {
|
|
10728
10728
|
i(N);
|
|
10729
10729
|
});
|
|
@@ -10734,7 +10734,7 @@ function hd({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
|
10734
10734
|
})), [s]), y = Kt((N) => {
|
|
10735
10735
|
u.fitBuilding(N), o(!1);
|
|
10736
10736
|
}, [u]);
|
|
10737
|
-
if (
|
|
10737
|
+
if (D(() => {
|
|
10738
10738
|
if (!(r && c))
|
|
10739
10739
|
return;
|
|
10740
10740
|
function N(O) {
|
|
@@ -10801,7 +10801,7 @@ function hd({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
|
10801
10801
|
] });
|
|
10802
10802
|
return p ? Sr(T, p) : null;
|
|
10803
10803
|
}
|
|
10804
|
-
const vS = (e) => /* @__PURE__ */
|
|
10804
|
+
const vS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.00177 3V5H13.0018V7H11.3742C11.0618 8.91166 10.4455 10.5244 9.43896 11.8188C10.1899 12.3437 11.1128 12.7471 12.2443 13.0299L13.2145 13.2725L12.7294 15.2128L11.7593 14.9702C10.2984 14.605 9.04252 14.0424 8.00171 13.245C6.96091 14.0424 5.70503 14.6049 4.24428 14.9701L3.27413 15.2127L2.78906 13.2724L3.75921 13.0299C4.89067 12.747 5.81358 12.3436 6.56448 11.8188C5.55798 10.5244 4.94173 8.91163 4.62931 7H3.00177V5H7.00177V3H9.00177ZM6.65973 7C6.92571 8.41424 7.37545 9.52718 8.00174 10.4013C8.62805 9.52718 9.0778 8.41425 9.34379 7H6.65973ZM16.1161 10H17.8874L22.3317 19.481L20.5207 20.3299L19.4286 18H14.5749L13.4828 20.3299L11.6719 19.481L16.1161 10ZM15.5124 16H18.4911L17.0018 12.8227L15.5124 16Z", fill: "#666666", style: {
|
|
10805
10805
|
fill: "#666666",
|
|
10806
10806
|
fill: "color(display-p3 0.4000 0.4000 0.4000)",
|
|
10807
10807
|
fillOpacity: 1
|
|
@@ -10834,8 +10834,8 @@ function Ml({ supportedLanguages: e, currentLanguage: t, setLanguage: n, setIsEx
|
|
|
10834
10834
|
)) });
|
|
10835
10835
|
}
|
|
10836
10836
|
function pd({ currentLanguage: e, setLanguage: t, isVisible: n }) {
|
|
10837
|
-
const { t: r } = nt(), [o, s] =
|
|
10838
|
-
return
|
|
10837
|
+
const { t: r } = nt(), [o, s] = ee(!1), i = ge(null), a = ge(null), [l, c] = ee(null), u = Pt(), f = ".language-selector-portal";
|
|
10838
|
+
return D(() => {
|
|
10839
10839
|
let d = document.querySelector(f);
|
|
10840
10840
|
if (d) {
|
|
10841
10841
|
c(d);
|
|
@@ -10845,7 +10845,7 @@ function pd({ currentLanguage: e, setLanguage: t, isVisible: n }) {
|
|
|
10845
10845
|
d = document.querySelector(f), d && (c(d), p.disconnect());
|
|
10846
10846
|
});
|
|
10847
10847
|
return p.observe(document.body, { childList: !0, subtree: !0 }), () => p.disconnect();
|
|
10848
|
-
}, []),
|
|
10848
|
+
}, []), D(() => {
|
|
10849
10849
|
if (!(o && u))
|
|
10850
10850
|
return;
|
|
10851
10851
|
function d(p) {
|
|
@@ -10896,7 +10896,7 @@ pd.propTypes = {
|
|
|
10896
10896
|
const cn = pe({
|
|
10897
10897
|
key: "appConfig",
|
|
10898
10898
|
default: void 0
|
|
10899
|
-
}), yS = (e) => /* @__PURE__ */
|
|
10899
|
+
}), yS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.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__ */ re.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" }));
|
|
10900
10900
|
const Bt = pe({
|
|
10901
10901
|
key: "kioskLocation",
|
|
10902
10902
|
default: null
|
|
@@ -10905,7 +10905,7 @@ const Bt = pe({
|
|
|
10905
10905
|
return !(!e || e && !t);
|
|
10906
10906
|
};
|
|
10907
10907
|
function gd() {
|
|
10908
|
-
const [e, t] =
|
|
10908
|
+
const [e, t] = ee(null), n = ".reset-view-portal", r = un(), o = H(zi), s = H(Et), i = H(ln), a = H(Bt), l = Pt();
|
|
10909
10909
|
function c() {
|
|
10910
10910
|
window.mapsindoors.services.LocationsService.getLocation(o).then((p) => {
|
|
10911
10911
|
p && u([p]);
|
|
@@ -10946,7 +10946,7 @@ function gd() {
|
|
|
10946
10946
|
l ? a ? p(0) : mn().then((g) => p(g)) : p(0);
|
|
10947
10947
|
});
|
|
10948
10948
|
}
|
|
10949
|
-
return
|
|
10949
|
+
return D(() => {
|
|
10950
10950
|
let p = document.querySelector(n);
|
|
10951
10951
|
if (p) {
|
|
10952
10952
|
t(p);
|
|
@@ -10990,20 +10990,20 @@ md.propTypes = {
|
|
|
10990
10990
|
};
|
|
10991
10991
|
let Ps;
|
|
10992
10992
|
function md({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n, onMapPositionInvestigating: r, onViewModeSwitchKnown: o, resetCount: s, mapOptions: i, gmMapId: a, isWayfindingOrDirections: l, currentLanguage: c, setLanguage: u, devicePosition: f }) {
|
|
10993
|
-
const d = H(Fi), p = H(Ui), g = H(zo), [b, E] = te(Ho), [R, h] = te(Et), [, v] = te(Uo), [, y] = te(Vi), S = H(Go), C = H(Ko), T = H(Ku), N = H(Hi), O = H(Wo), [, M] = te(Wu), F = H(Yu), [, Y] = te(Nr), A = H(fd), G = H(cn), [fe, ce] =
|
|
10993
|
+
const d = H(Fi), p = H(Ui), g = H(zo), [b, E] = te(Ho), [R, h] = te(Et), [, v] = te(Uo), [, y] = te(Vi), S = H(Go), C = H(Ko), T = H(Ku), N = H(Hi), O = H(Wo), [, M] = te(Wu), F = H(Yu), [, Y] = te(Nr), A = H(fd), G = H(cn), [fe, ce] = ee(!1), [oe, de] = ee(!1), we = un();
|
|
10994
10994
|
v2(d);
|
|
10995
10995
|
const [$, U] = gS();
|
|
10996
|
-
|
|
10996
|
+
D(() => {
|
|
10997
10997
|
if (!F || p === null && g === null)
|
|
10998
10998
|
return;
|
|
10999
10999
|
let B;
|
|
11000
11000
|
const P = F.modules.map((V) => V.toLowerCase()).includes("mapbox");
|
|
11001
11001
|
n ? P ? g && (B = ut.Mapbox) : p && (B = ut.Google) : g ? B = ut.Mapbox : B = ut.Google, B ? E(B) : (Y({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }), E(void 0));
|
|
11002
|
-
}, [p, g, F]),
|
|
11002
|
+
}, [p, g, F]), D(() => {
|
|
11003
11003
|
$ && r();
|
|
11004
|
-
}, [$]),
|
|
11004
|
+
}, [$]), D(() => {
|
|
11005
11005
|
U && t();
|
|
11006
|
-
}, [U]),
|
|
11006
|
+
}, [U]), D(() => {
|
|
11007
11007
|
if (!R)
|
|
11008
11008
|
return;
|
|
11009
11009
|
const B = S || C;
|
|
@@ -11011,7 +11011,7 @@ function md({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11011
11011
|
return;
|
|
11012
11012
|
const P = B.map((V) => V.id);
|
|
11013
11013
|
A || !R.highlight ? R.filter(P) : R.highlight(P);
|
|
11014
|
-
}, [S, C, R, A]),
|
|
11014
|
+
}, [S, C, R, A]), D(() => {
|
|
11015
11015
|
R && (isNaN(parseInt(O)) || R.getMapView().tilt(parseInt(O)), isNaN(parseInt(N)) || R.getMapView().rotate(parseInt(N)));
|
|
11016
11016
|
}, [N, O, R]);
|
|
11017
11017
|
const x = (B) => {
|
|
@@ -11025,7 +11025,7 @@ function md({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11025
11025
|
B.getMapView().setMapsIndoorsTileURL(V);
|
|
11026
11026
|
}
|
|
11027
11027
|
}
|
|
11028
|
-
},
|
|
11028
|
+
}, j = (B, P, V) => {
|
|
11029
11029
|
B.on("mouseenter", () => {
|
|
11030
11030
|
var K;
|
|
11031
11031
|
const he = B.getHoveredLocation();
|
|
@@ -11035,16 +11035,16 @@ function md({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11035
11035
|
window.dispatchEvent(W);
|
|
11036
11036
|
let z;
|
|
11037
11037
|
b === ut.Google ? z = new window.mapsindoors.directions.GoogleMapsProvider() : b === ut.Mapbox && (z = new window.mapsindoors.directions.MapboxProvider(g));
|
|
11038
|
-
const
|
|
11039
|
-
y(
|
|
11038
|
+
const J = new window.mapsindoors.services.DirectionsService(z);
|
|
11039
|
+
y(J), h(B), P.nodeName === "MI-MY-POSITION" ? P.addEventListener("position_received", (he) => {
|
|
11040
11040
|
he.detail.accurate === !0 && v(he.detail.position);
|
|
11041
11041
|
}) : P.on("position_received", (he) => {
|
|
11042
11042
|
he.accurate === !0 && v(he.position);
|
|
11043
11043
|
}), M(P), o(V);
|
|
11044
11044
|
};
|
|
11045
|
-
return
|
|
11045
|
+
return D(() => {
|
|
11046
11046
|
Ps = T || "default", k(R);
|
|
11047
|
-
}, [T]),
|
|
11047
|
+
}, [T]), D(() => {
|
|
11048
11048
|
var B, P, V, W;
|
|
11049
11049
|
G && (mt((B = G == null ? void 0 : G.appSettings) == null ? void 0 : B.viewSelector) ? ce(!1) : ce(((P = G == null ? void 0 : G.appSettings) == null ? void 0 : P.viewSelector.trim().toLowerCase()) === "true"), mt((V = G == null ? void 0 : G.appSettings) == null ? void 0 : V.languageSelector) ? de(!1) : de(((W = G == null ? void 0 : G.appSettings) == null ? void 0 : W.languageSelector.trim().toLowerCase()) === "true"));
|
|
11050
11050
|
}, [G]), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
@@ -11054,7 +11054,7 @@ function md({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11054
11054
|
apiKey: d,
|
|
11055
11055
|
mapboxAccessToken: b === ut.Mapbox ? g : void 0,
|
|
11056
11056
|
gmApiKey: b === ut.Google ? p : void 0,
|
|
11057
|
-
onInitialized:
|
|
11057
|
+
onInitialized: j,
|
|
11058
11058
|
resetUICounter: s,
|
|
11059
11059
|
mapOptions: i,
|
|
11060
11060
|
gmMapId: a,
|
|
@@ -11670,17 +11670,17 @@ ta.propTypes = process.env.NODE_ENV !== "production" ? co({}, wd.propTypes, {
|
|
|
11670
11670
|
onExited: w.func
|
|
11671
11671
|
}) : {};
|
|
11672
11672
|
const xS = ta;
|
|
11673
|
-
const TS = (e) => /* @__PURE__ */
|
|
11673
|
+
const TS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 1.66667C0 0.746192 0.746193 0 1.66667 0H11.6667C12.5872 0 13.3333 0.746193 13.3333 1.66667V20H8.33333V17.5C8.33333 16.5795 7.58714 15.8333 6.66667 15.8333C5.74619 15.8333 5 16.5795 5 17.5V20H0V1.66667ZM14.5833 8.33333H18.3333C19.2538 8.33333 20 9.0795 20 10V20H14.5833V8.33333ZM3.33333 2.5C2.8731 2.5 2.5 2.8731 2.5 3.33333V5.41667C2.5 5.8769 2.8731 6.25 3.33333 6.25H4.58333C5.04357 6.25 5.41667 5.8769 5.41667 5.41667V3.33333C5.41667 2.8731 5.04357 2.5 4.58333 2.5H3.33333ZM7.91667 3.33333C7.91667 2.8731 8.28977 2.5 8.75 2.5H10C10.4602 2.5 10.8333 2.8731 10.8333 3.33333V5.41667C10.8333 5.8769 10.4602 6.25 10 6.25H8.75C8.28976 6.25 7.91667 5.8769 7.91667 5.41667V3.33333ZM3.33333 9.58333C2.8731 9.58333 2.5 9.95642 2.5 10.4167V12.5C2.5 12.9602 2.8731 13.3333 3.33333 13.3333H4.58333C5.04357 13.3333 5.41667 12.9602 5.41667 12.5V10.4167C5.41667 9.95642 5.04357 9.58333 4.58333 9.58333H3.33333ZM7.91667 10.4167C7.91667 9.95642 8.28977 9.58333 8.75 9.58333H10C10.4602 9.58333 10.8333 9.95642 10.8333 10.4167V12.5C10.8333 12.9602 10.4602 13.3333 10 13.3333H8.75C8.28976 13.3333 7.91667 12.9602 7.91667 12.5V10.4167Z", fill: "#707070" }));
|
|
11674
11674
|
Cd.propTypes = {
|
|
11675
11675
|
venue: w.object.isRequired,
|
|
11676
11676
|
isCurrent: w.bool,
|
|
11677
11677
|
onVenueClicked: w.func.isRequired
|
|
11678
11678
|
};
|
|
11679
11679
|
function Cd({ venue: e, isCurrent: t, onVenueClicked: n }) {
|
|
11680
|
-
const { t: r } = nt(), [o, s] =
|
|
11681
|
-
return
|
|
11680
|
+
const { t: r } = nt(), [o, s] = ee({});
|
|
11681
|
+
return D(() => () => {
|
|
11682
11682
|
s({});
|
|
11683
|
-
}, []),
|
|
11683
|
+
}, []), D(() => {
|
|
11684
11684
|
const i = {};
|
|
11685
11685
|
e.image && (i.backgroundImage = `url('${e.image}')`), s(i);
|
|
11686
11686
|
}, [e]), /* @__PURE__ */ m.jsxs("button", { className: "venue", onClick: () => n(), children: [
|
|
@@ -11857,12 +11857,12 @@ function DS(e, t, n, r) {
|
|
|
11857
11857
|
return !t.trackTouch || !e.el ? (e.cleanUpTouch && e.cleanUpTouch(), Object.assign(Object.assign({}, e), { cleanUpTouch: void 0 })) : e.cleanUpTouch ? t.preventScrollOnSwipe !== n.preventScrollOnSwipe || t.touchEventOptions.passive !== n.touchEventOptions.passive ? (e.cleanUpTouch(), Object.assign(Object.assign({}, e), { cleanUpTouch: r(e.el, t) })) : e : Object.assign(Object.assign({}, e), { cleanUpTouch: r(e.el, t) });
|
|
11858
11858
|
}
|
|
11859
11859
|
function _d(e) {
|
|
11860
|
-
const { trackMouse: t } = e, n =
|
|
11860
|
+
const { trackMouse: t } = e, n = re.useRef(Object.assign({}, ui)), r = re.useRef(Object.assign({}, Bn)), o = re.useRef(Object.assign({}, r.current));
|
|
11861
11861
|
o.current = Object.assign({}, r.current), r.current = Object.assign(Object.assign({}, Bn), e);
|
|
11862
11862
|
let s;
|
|
11863
11863
|
for (s in Bn)
|
|
11864
11864
|
r.current[s] === void 0 && (r.current[s] = Bn[s]);
|
|
11865
|
-
const [i, a] =
|
|
11865
|
+
const [i, a] = re.useMemo(() => $S((l) => n.current = l(n.current, r.current), { trackMouse: t }), [t]);
|
|
11866
11866
|
return n.current = DS(n.current, r.current, o.current, a), i;
|
|
11867
11867
|
}
|
|
11868
11868
|
const Ce = {
|
|
@@ -11874,7 +11874,7 @@ const Ce = {
|
|
|
11874
11874
|
// Sheet height is of maximum height (height of container element)
|
|
11875
11875
|
};
|
|
11876
11876
|
const Dn = vo(function({ children: t, isOpen: n, initialSnapPoint: r, minimizedHeight: o }, s) {
|
|
11877
|
-
const i = ge(), a = ge(), l = ge(), c = ge(), u = ge(), [f, d] =
|
|
11877
|
+
const i = ge(), a = ge(), l = ge(), c = ge(), u = ge(), [f, d] = ee({}), [p, g] = ee(!1), [b, E] = ee(null), R = Zl(Rd), h = ge();
|
|
11878
11878
|
yo(s, () => ({
|
|
11879
11879
|
/**
|
|
11880
11880
|
* Set the height of the sheet to the given snap point.
|
|
@@ -11902,7 +11902,7 @@ const Dn = vo(function({ children: t, isOpen: n, initialSnapPoint: r, minimizedH
|
|
|
11902
11902
|
}
|
|
11903
11903
|
}), u.current = O;
|
|
11904
11904
|
}
|
|
11905
|
-
|
|
11905
|
+
D(() => (n && u.current === Ce.FIT ? y() : S(), () => {
|
|
11906
11906
|
S();
|
|
11907
11907
|
}), [n, u.current]);
|
|
11908
11908
|
function y() {
|
|
@@ -11945,7 +11945,7 @@ const Dn = vo(function({ children: t, isOpen: n, initialSnapPoint: r, minimizedH
|
|
|
11945
11945
|
preventScrollOnSwipe: !0
|
|
11946
11946
|
// Prevent scrolling of the page when swiping (using preventDefault). See https://nearform.com/open-source/react-swipeable/docs/api/#preventscrollonswipe-details
|
|
11947
11947
|
});
|
|
11948
|
-
|
|
11948
|
+
D(() => {
|
|
11949
11949
|
n && (u.current = r, v(r));
|
|
11950
11950
|
}, [o, r, n]);
|
|
11951
11951
|
const T = (O) => {
|
|
@@ -11988,8 +11988,8 @@ function BS(e) {
|
|
|
11988
11988
|
return !1;
|
|
11989
11989
|
}
|
|
11990
11990
|
const VS = (e, t) => {
|
|
11991
|
-
const [n, r] =
|
|
11992
|
-
return
|
|
11991
|
+
const [n, r] = ee(void 0), [o, s] = ee(void 0);
|
|
11992
|
+
return D(() => {
|
|
11993
11993
|
const i = (a = !1) => {
|
|
11994
11994
|
var c, u;
|
|
11995
11995
|
const l = ((c = t.current) == null ? void 0 : c.scrollHeight) > ((u = t.current) == null ? void 0 : u.clientHeight);
|
|
@@ -12014,8 +12014,8 @@ const Mr = pe({
|
|
|
12014
12014
|
key: "shuttleBusOn",
|
|
12015
12015
|
default: !1
|
|
12016
12016
|
}), xd = (e, t, n, r, o) => {
|
|
12017
|
-
const [s, i] =
|
|
12018
|
-
return
|
|
12017
|
+
const [s, i] = ee(), [a, l] = ee(), [c, u] = te(Jo), [, f] = te(Mr), [d, p] = ee(), g = H(na);
|
|
12018
|
+
return D(() => {
|
|
12019
12019
|
p(!1);
|
|
12020
12020
|
let b = !0;
|
|
12021
12021
|
return e != null && e.geometry && (t != null && t.geometry) && n.getRoute({
|
|
@@ -12058,8 +12058,8 @@ const Mr = pe({
|
|
|
12058
12058
|
default: !1
|
|
12059
12059
|
});
|
|
12060
12060
|
function Td(e, t) {
|
|
12061
|
-
const n = H(Ho), [r, o] =
|
|
12062
|
-
|
|
12061
|
+
const n = H(Ho), [r, o] = ee(!1), s = e.getMap();
|
|
12062
|
+
D(() => {
|
|
12063
12063
|
t && o(!1);
|
|
12064
12064
|
}, [t]);
|
|
12065
12065
|
function i(l, c, u, f) {
|
|
@@ -12084,20 +12084,20 @@ function Td(e, t) {
|
|
|
12084
12084
|
c.removeListener("click", d), g.remove();
|
|
12085
12085
|
};
|
|
12086
12086
|
}
|
|
12087
|
-
return
|
|
12087
|
+
return D(() => {
|
|
12088
12088
|
let l;
|
|
12089
12089
|
return n === ut.Mapbox && (l = i(s, e, t, o)), n === ut.Google && (l = a(s, e, t, o)), () => l == null ? void 0 : l();
|
|
12090
12090
|
}, [e, t]), r;
|
|
12091
12091
|
}
|
|
12092
|
-
const FS = (e) => /* @__PURE__ */
|
|
12092
|
+
const FS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M12 7.75V12L14.75 14.75M21.25 12C21.25 17.1086 17.1086 21.25 12 21.25C6.89137 21.25 2.75 17.1086 2.75 12C2.75 6.89137 6.89137 2.75 12 2.75C17.1086 2.75 21.25 6.89137 21.25 12Z", stroke: "#737373", style: {
|
|
12093
12093
|
stroke: "#737373",
|
|
12094
12094
|
stroke: "color(display-p3 0.4500 0.4500 0.4500)",
|
|
12095
12095
|
strokeOpacity: 1
|
|
12096
|
-
}, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), US = (e) => /* @__PURE__ */
|
|
12096
|
+
}, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), US = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M8 10L11.6464 13.6464C11.8417 13.8417 12.1583 13.8417 12.3536 13.6464L16 10", stroke: "#737373", style: {
|
|
12097
12097
|
stroke: "#737373",
|
|
12098
12098
|
stroke: "color(display-p3 0.4500 0.4500 0.4500)",
|
|
12099
12099
|
strokeOpacity: 1
|
|
12100
|
-
}, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), HS = (e) => /* @__PURE__ */
|
|
12100
|
+
}, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), HS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M16 14L12.3536 10.3536C12.1583 10.1583 11.8417 10.1583 11.6464 10.3536L8 14", stroke: "#737373", style: {
|
|
12101
12101
|
stroke: "#737373",
|
|
12102
12102
|
stroke: "color(display-p3 0.4500 0.4500 0.4500)",
|
|
12103
12103
|
strokeOpacity: 1
|
|
@@ -12111,7 +12111,7 @@ Ld.propTypes = {
|
|
|
12111
12111
|
onExpand: w.func
|
|
12112
12112
|
};
|
|
12113
12113
|
function Ld({ openingHours: e, isMondayFirstDayOfTheWeek: t = !0, onExpand: n }) {
|
|
12114
|
-
const { t: r } = nt(), [o, s] =
|
|
12114
|
+
const { t: r } = nt(), [o, s] = ee(!1), a = H(xn) ?? navigator.language, l = vn(() => new Date(2020, 0, 1, 13).toLocaleTimeString(a).match(/AM|PM/) !== null, [a]), c = (/* @__PURE__ */ new Date()).getDay(), u = vn(() => {
|
|
12115
12115
|
const y = [];
|
|
12116
12116
|
for (let S = 0; S < 7; S++)
|
|
12117
12117
|
y.push(new Date(2024, 0, S + 1));
|
|
@@ -12147,7 +12147,7 @@ function Ld({ openingHours: e, isMondayFirstDayOfTheWeek: t = !0, onExpand: n })
|
|
|
12147
12147
|
}, [d, u, f, b, r])(), h = (y) => y.charAt(0).toUpperCase() + y.slice(1), v = () => {
|
|
12148
12148
|
s((y) => !y);
|
|
12149
12149
|
};
|
|
12150
|
-
return
|
|
12150
|
+
return D(() => {
|
|
12151
12151
|
o && typeof n == "function" && n();
|
|
12152
12152
|
}, [o, n]), /* @__PURE__ */ m.jsxs("div", { className: "opening-hours", children: [
|
|
12153
12153
|
/* @__PURE__ */ m.jsxs(
|
|
@@ -12206,7 +12206,7 @@ function Is(e, t, n) {
|
|
|
12206
12206
|
}
|
|
12207
12207
|
var Os = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown: "onMouseDown", mouseup: "onMouseUp", touchstart: "onTouchStart", touchend: "onTouchEnd" }, Nd = function(e) {
|
|
12208
12208
|
var t = e.children, n = e.onClickAway, r = e.focusEvent, o = r === void 0 ? "focusin" : r, s = e.mouseEvent, i = s === void 0 ? "click" : s, a = e.touchEvent, l = a === void 0 ? "touchend" : a, c = ge(null), u = ge(null), f = ge(!1);
|
|
12209
|
-
|
|
12209
|
+
D(function() {
|
|
12210
12210
|
return setTimeout(function() {
|
|
12211
12211
|
f.current = !0;
|
|
12212
12212
|
}, 0), function() {
|
|
@@ -12220,7 +12220,7 @@ var Os = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown:
|
|
|
12220
12220
|
h && h(R);
|
|
12221
12221
|
};
|
|
12222
12222
|
};
|
|
12223
|
-
|
|
12223
|
+
D(function() {
|
|
12224
12224
|
var E, R, h = (E = (R = c.current) === null || R === void 0 ? void 0 : R.ownerDocument) !== null && E !== void 0 ? E : document, v = function(y) {
|
|
12225
12225
|
f.current && (c.current && c.current.contains(y.target) || u.current === y.target || !h.contains(y.target) || n(y));
|
|
12226
12226
|
};
|
|
@@ -12264,43 +12264,43 @@ const ts = pe({
|
|
|
12264
12264
|
}), `${c}?${f.toString()}`;
|
|
12265
12265
|
}
|
|
12266
12266
|
});
|
|
12267
|
-
const GS = (e) => /* @__PURE__ */
|
|
12267
|
+
const GS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 25, viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.8484 4.66738C13.3129 3.20291 15.6872 3.20291 17.1517 4.66737L19.909 7.42474C21.3735 8.8892 21.3735 11.2636 19.909 12.7281L18.2804 14.3568C17.9875 14.6497 17.5126 14.6497 17.2197 14.3568C16.9268 14.0639 16.9268 13.589 17.2197 13.2961L18.8484 11.6674C19.7271 10.7887 19.7271 9.36407 18.8484 8.4854L16.091 5.72803C15.2123 4.84936 13.7877 4.84936 12.909 5.72804L11.2804 7.35672C10.9875 7.64961 10.5126 7.64961 10.2197 7.35672C9.92681 7.06382 9.92681 6.58895 10.2197 6.29606L11.8484 4.66738ZM15.5304 9.04606C15.8233 9.33895 15.8233 9.81382 15.5304 10.1067L9.53036 16.1068C9.23747 16.3997 8.7626 16.3997 8.4697 16.1068C8.17681 15.8139 8.17681 15.339 8.4697 15.0461L14.4697 9.04606C14.7626 8.75316 15.2375 8.75316 15.5304 9.04606ZM6.78036 10.7961C7.07326 11.089 7.07326 11.5639 6.78036 11.8568L5.15169 13.4854C4.27301 14.3641 4.27301 15.7887 5.15169 16.6674L7.90905 19.4248C8.78773 20.3035 10.2123 20.3035 11.091 19.4248L12.7197 17.7961C13.0126 17.5032 13.4875 17.5032 13.7804 17.7961C14.0733 18.089 14.0733 18.5639 13.7804 18.8568L12.1517 20.4854C10.6872 21.9499 8.31285 21.9499 6.84839 20.4854L4.09102 17.7281C2.62656 16.2636 2.62656 13.8893 4.09103 12.4248L5.7197 10.7961C6.0126 10.5032 6.48747 10.5032 6.78036 10.7961Z", fill: "#646970", style: {
|
|
12268
12268
|
fill: "#646970",
|
|
12269
12269
|
fill: "color(display-p3 0.3922 0.4118 0.4392)",
|
|
12270
12270
|
fillOpacity: 1
|
|
12271
|
-
} })), Ad = (e) => /* @__PURE__ */
|
|
12271
|
+
} })), Ad = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 25, viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 7.32635C3 5.25529 4.67893 3.57635 6.75 3.57635H7.25C9.32107 3.57635 11 5.25529 11 7.32635V7.82635C11 9.89742 9.32107 11.5764 7.25 11.5764H6.75C4.67893 11.5764 3 9.89742 3 7.82635V7.32635ZM6.75 5.07635C5.50736 5.07635 4.5 6.08371 4.5 7.32635V7.82635C4.5 9.06899 5.50736 10.0764 6.75 10.0764H7.25C8.49264 10.0764 9.5 9.06899 9.5 7.82635V7.32635C9.5 6.08371 8.49264 5.07635 7.25 5.07635H6.75ZM13 7.32635C13 5.25529 14.6789 3.57635 16.75 3.57635H17.25C19.3211 3.57635 21 5.25529 21 7.32635V7.82635C21 9.89742 19.3211 11.5764 17.25 11.5764H16.75C14.6789 11.5764 13 9.89742 13 7.82635V7.32635ZM16.75 5.07635C15.5074 5.07635 14.5 6.08371 14.5 7.32635V7.82635C14.5 9.06899 15.5074 10.0764 16.75 10.0764H17.25C18.4926 10.0764 19.5 9.06899 19.5 7.82635V7.32635C19.5 6.08371 18.4926 5.07635 17.25 5.07635H16.75ZM3 17.3264C3 15.2553 4.67893 13.5764 6.75 13.5764H7.25C9.32107 13.5764 11 15.2553 11 17.3264V17.8264C11 19.8975 9.32107 21.5764 7.25 21.5764H6.75C4.67893 21.5764 3 19.8975 3 17.8264V17.3264ZM6.75 15.0764C5.50736 15.0764 4.5 16.0838 4.5 17.3264V17.8264C4.5 19.069 5.50736 20.0764 6.75 20.0764H7.25C8.49264 20.0764 9.5 19.069 9.5 17.8264V17.3264C9.5 16.0838 8.49264 15.0764 7.25 15.0764H6.75Z", fill: "#646970", style: {
|
|
12272
12272
|
fill: "#646970",
|
|
12273
12273
|
fill: "color(display-p3 0.3922 0.4118 0.4392)",
|
|
12274
12274
|
fillOpacity: 1
|
|
12275
|
-
} }), /* @__PURE__ */
|
|
12275
|
+
} }), /* @__PURE__ */ re.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.75 13.5764C14.1642 13.5764 14.5 13.9122 14.5 14.3264V16.0764H16.25C16.6642 16.0764 17 16.4122 17 16.8264C17 17.2406 16.6642 17.5764 16.25 17.5764H13.75C13.3358 17.5764 13 17.2406 13 16.8264V14.3264C13 13.9122 13.3358 13.5764 13.75 13.5764ZM17 14.3264C17 13.9122 17.3358 13.5764 17.75 13.5764H20.25C20.6642 13.5764 21 13.9122 21 14.3264C21 14.7406 20.6642 15.0764 20.25 15.0764H17.75C17.3358 15.0764 17 14.7406 17 14.3264ZM17 18.3264C17 17.9122 17.3358 17.5764 17.75 17.5764H20.25C20.6642 17.5764 21 17.9122 21 18.3264C21 18.7406 20.6642 19.0764 20.25 19.0764H18.5V20.8264C18.5 21.2406 18.1642 21.5764 17.75 21.5764C17.3358 21.5764 17 21.2406 17 20.8264V18.3264Z", fill: "#646970", style: {
|
|
12276
12276
|
fill: "#646970",
|
|
12277
12277
|
fill: "color(display-p3 0.3922 0.4118 0.4392)",
|
|
12278
12278
|
fillOpacity: 1
|
|
12279
|
-
} }), /* @__PURE__ */
|
|
12279
|
+
} }), /* @__PURE__ */ re.createElement("path", { d: "M13 20.5764C13 20.0241 13.4477 19.5764 14 19.5764C14.5523 19.5764 15 20.0241 15 20.5764C15 21.1287 14.5523 21.5764 14 21.5764C13.4477 21.5764 13 21.1287 13 20.5764Z", fill: "#646970", style: {
|
|
12280
12280
|
fill: "#646970",
|
|
12281
12281
|
fill: "color(display-p3 0.3922 0.4118 0.4392)",
|
|
12282
12282
|
fillOpacity: 1
|
|
12283
|
-
} }), /* @__PURE__ */
|
|
12283
|
+
} }), /* @__PURE__ */ re.createElement("path", { d: "M5.5 17.0764C5.5 16.5241 5.94772 16.0764 6.5 16.0764H7.5C8.05228 16.0764 8.5 16.5241 8.5 17.0764V18.0764C8.5 18.6287 8.05228 19.0764 7.5 19.0764H6.5C5.94772 19.0764 5.5 18.6287 5.5 18.0764V17.0764Z", fill: "#646970", style: {
|
|
12284
12284
|
fill: "#646970",
|
|
12285
12285
|
fill: "color(display-p3 0.3922 0.4118 0.4392)",
|
|
12286
12286
|
fillOpacity: 1
|
|
12287
|
-
} }), /* @__PURE__ */
|
|
12287
|
+
} }), /* @__PURE__ */ re.createElement("path", { d: "M5.5 7.07635C5.5 6.52407 5.94772 6.07635 6.5 6.07635H7.5C8.05228 6.07635 8.5 6.52407 8.5 7.07635V8.07635C8.5 8.62863 8.05228 9.07635 7.5 9.07635H6.5C5.94772 9.07635 5.5 8.62863 5.5 8.07635V7.07635Z", fill: "#646970", style: {
|
|
12288
12288
|
fill: "#646970",
|
|
12289
12289
|
fill: "color(display-p3 0.3922 0.4118 0.4392)",
|
|
12290
12290
|
fillOpacity: 1
|
|
12291
|
-
} }), /* @__PURE__ */
|
|
12291
|
+
} }), /* @__PURE__ */ re.createElement("path", { d: "M15.5 7.07635C15.5 6.52407 15.9477 6.07635 16.5 6.07635H17.5C18.0523 6.07635 18.5 6.52407 18.5 7.07635V8.07635C18.5 8.62863 18.0523 9.07635 17.5 9.07635H16.5C15.9477 9.07635 15.5 8.62863 15.5 8.07635V7.07635Z", fill: "#646970", style: {
|
|
12292
12292
|
fill: "#646970",
|
|
12293
12293
|
fill: "color(display-p3 0.3922 0.4118 0.4392)",
|
|
12294
12294
|
fillOpacity: 1
|
|
12295
|
-
} })), KS = (e) => /* @__PURE__ */
|
|
12295
|
+
} })), KS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M8 6L12 2L16 6", stroke: "#737373", style: {
|
|
12296
12296
|
stroke: "#737373",
|
|
12297
12297
|
stroke: "color(display-p3 0.4510 0.4510 0.4510)",
|
|
12298
12298
|
strokeOpacity: 1
|
|
12299
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */
|
|
12299
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ re.createElement("path", { d: "M12 3V13", stroke: "#737373", style: {
|
|
12300
12300
|
stroke: "#737373",
|
|
12301
12301
|
stroke: "color(display-p3 0.4510 0.4510 0.4510)",
|
|
12302
12302
|
strokeOpacity: 1
|
|
12303
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */
|
|
12303
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ re.createElement("path", { d: "M17 10C18.1046 10 19 10.8954 19 12V18C19 19.1046 18.1046 20 17 20H7C5.89543 20 5 19.1046 5 18V12C5 10.8954 5.89543 10 7 10", stroke: "#737373", style: {
|
|
12304
12304
|
stroke: "#737373",
|
|
12305
12305
|
stroke: "color(display-p3 0.4510 0.4510 0.4510)",
|
|
12306
12306
|
strokeOpacity: 1
|
|
@@ -12316,10 +12316,10 @@ Md.propTypes = {
|
|
|
12316
12316
|
buttonClassName: w.string
|
|
12317
12317
|
};
|
|
12318
12318
|
function Md({ location: e, buttonClassName: t }) {
|
|
12319
|
-
const { t: n } = nt(), [r, o] =
|
|
12320
|
-
|
|
12319
|
+
const { t: n } = nt(), [r, o] = ee(!1), s = H(kd), [i, a] = ee(), l = H(Pd), [c, u] = ee(!1), [f, d] = ee(!1), p = H(Bt), [, g] = te(ns), b = Pt();
|
|
12320
|
+
D(() => {
|
|
12321
12321
|
s && e && a(s + "&locationId=" + e.id);
|
|
12322
|
-
}, [s, e]),
|
|
12322
|
+
}, [s, e]), D(() => {
|
|
12323
12323
|
var v;
|
|
12324
12324
|
u(!p && l && b);
|
|
12325
12325
|
const h = typeof ((v = navigator.clipboard) == null ? void 0 : v.writeText) == "function";
|
|
@@ -12397,8 +12397,8 @@ oa.propTypes = {
|
|
|
12397
12397
|
};
|
|
12398
12398
|
function oa({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections: r, isOpen: o, snapPointSwipedByUser: s }) {
|
|
12399
12399
|
var qe, Ze, dt, yt;
|
|
12400
|
-
const { t: i } = nt(), a = ge(null), l = ge(null), c = ge(null), u = ge(null), f = ge(null), [d, p] =
|
|
12401
|
-
|
|
12400
|
+
const { t: i } = nt(), a = ge(null), l = ge(null), c = ge(null), u = ge(null), f = ge(null), [d, p] = ee(!1), [g, b] = ee(!1), [E, R] = ee(!1), h = ge(!1), [v, y] = ee(null), S = H(Et), C = H(Qt), T = (qe = C == null ? void 0 : C.properties) == null ? void 0 : qe.additionalDetails, N = (Ze = T == null ? void 0 : T.find((Le) => Le.key.toLowerCase().includes("openinghours") && Le.active === !0)) == null ? void 0 : Ze.openingHours, [O, M] = VS(C, c), F = Jn(), Y = H(Vt), A = H(Bt), G = H(Vi), [fe, ce] = ee(), [oe, de] = ee(), [we, $] = ee(!0), U = Pt(), x = H(Ir), k = H(Or), [, , j] = xd(oe, fe, G, x, k), B = H(es), P = Td(S, o), V = H(cn), W = (yt = (dt = V == null ? void 0 : V.appSettings) == null ? void 0 : dt.excludeFromUI) == null ? void 0 : yt.includes("wayfindingDisabled");
|
|
12401
|
+
D(() => {
|
|
12402
12402
|
(() => {
|
|
12403
12403
|
if (S && C)
|
|
12404
12404
|
try {
|
|
@@ -12412,17 +12412,17 @@ function oa({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
12412
12412
|
$(!0);
|
|
12413
12413
|
}
|
|
12414
12414
|
})();
|
|
12415
|
-
}, [S, C]),
|
|
12415
|
+
}, [S, C]), D(() => () => {
|
|
12416
12416
|
y(null), ce(), de();
|
|
12417
12417
|
}, []);
|
|
12418
12418
|
const z = Kt(() => {
|
|
12419
|
-
p(!1), b(!1), R(!1),
|
|
12419
|
+
p(!1), b(!1), R(!1), J(Ce.FIT), e();
|
|
12420
12420
|
});
|
|
12421
|
-
function
|
|
12421
|
+
function J(Le) {
|
|
12422
12422
|
typeof n == "function" && n(Le);
|
|
12423
12423
|
}
|
|
12424
12424
|
function he() {
|
|
12425
|
-
d === !1 ? (K(),
|
|
12425
|
+
d === !1 ? (K(), J(Ce.MAX)) : (Se(), J(Ce.FIT));
|
|
12426
12426
|
}
|
|
12427
12427
|
function K() {
|
|
12428
12428
|
requestAnimationFrame(() => {
|
|
@@ -12444,21 +12444,21 @@ function oa({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
12444
12444
|
b(!1), R(!1);
|
|
12445
12445
|
}
|
|
12446
12446
|
function Fe() {
|
|
12447
|
-
p(!1), b(!1), R(!1),
|
|
12447
|
+
p(!1), b(!1), R(!1), J(Ce.FIT), t();
|
|
12448
12448
|
}
|
|
12449
12449
|
function Ne() {
|
|
12450
|
-
p(!1), b(!1), R(!1),
|
|
12450
|
+
p(!1), b(!1), R(!1), J(Ce.FIT), r();
|
|
12451
12451
|
}
|
|
12452
|
-
return
|
|
12452
|
+
return D(() => {
|
|
12453
12453
|
P && e();
|
|
12454
|
-
}, [P]),
|
|
12454
|
+
}, [P]), D(() => () => {
|
|
12455
12455
|
y(null), ce(), de();
|
|
12456
|
-
}, []),
|
|
12456
|
+
}, []), D(() => {
|
|
12457
12457
|
p(!1), b(!1), R(!1), y(null), C && (a.current.location = C, y(S.getDisplayRule(C)), ce(C)), A && de(A);
|
|
12458
|
-
}, [C, S, A]),
|
|
12458
|
+
}, [C, S, A]), D(() => {
|
|
12459
12459
|
const Le = (T == null ? void 0 : T.length) > 0;
|
|
12460
|
-
|
|
12461
|
-
}, [C, o, T]),
|
|
12460
|
+
J(C && o && Le ? Ce.FIT : Ce.MIN);
|
|
12461
|
+
}, [C, o, T]), D(() => {
|
|
12462
12462
|
if (!s) {
|
|
12463
12463
|
h.current = !1;
|
|
12464
12464
|
return;
|
|
@@ -12491,11 +12491,11 @@ function oa({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
12491
12491
|
!W && (A && U ? /* @__PURE__ */ m.jsx(
|
|
12492
12492
|
"button",
|
|
12493
12493
|
{
|
|
12494
|
-
disabled: !
|
|
12494
|
+
disabled: !j,
|
|
12495
12495
|
onClick: () => Ne(),
|
|
12496
|
-
className: `location-details__wayfinding ${
|
|
12496
|
+
className: `location-details__wayfinding ${j ? "" : "location-details--no-route"}`,
|
|
12497
12497
|
style: { background: Y },
|
|
12498
|
-
children: i(
|
|
12498
|
+
children: i(j ? "Start directions" : "Directions not available")
|
|
12499
12499
|
}
|
|
12500
12500
|
) : /* @__PURE__ */ m.jsx(
|
|
12501
12501
|
"button",
|
|
@@ -12550,7 +12550,7 @@ function oa({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
12550
12550
|
)
|
|
12551
12551
|
] }) });
|
|
12552
12552
|
}
|
|
12553
|
-
const WS = (e) => /* @__PURE__ */
|
|
12553
|
+
const WS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 16, height: 17, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("g", { clipPath: "url(#clip0_1663_3931)" }, /* @__PURE__ */ re.createElement("path", { d: "M8 0.5C6.41775 0.5 4.87104 0.969192 3.55544 1.84824C2.23985 2.72729 1.21447 3.97672 0.608967 5.43853C0.00346629 6.90034 -0.15496 8.50887 0.153721 10.0607C0.462403 11.6126 1.22433 13.038 2.34315 14.1569C3.46197 15.2757 4.88743 16.0376 6.43928 16.3463C7.99113 16.655 9.59966 16.4965 11.0615 15.891C12.5233 15.2855 13.7727 14.2602 14.6518 12.9446C15.5308 11.629 16 10.0823 16 8.5C16 6.37827 15.1571 4.34344 13.6569 2.84315C12.1566 1.34285 10.1217 0.5 8 0.5ZM11.4667 11.98C11.4074 12.0452 11.3358 12.098 11.2559 12.1353C11.1761 12.1726 11.0897 12.1937 11.0017 12.1974C10.9136 12.2012 10.8258 12.1874 10.7431 12.1569C10.6604 12.1265 10.5846 12.0799 10.52 12.02L7.18667 8.99333C7.12364 8.92813 7.07457 8.85074 7.04247 8.76591C7.01038 8.68109 6.99592 8.5906 7 8.5V4.83333C7 4.65652 7.07024 4.48695 7.19527 4.36193C7.32029 4.23691 7.48986 4.16667 7.66667 4.16667C7.84348 4.16667 8.01305 4.23691 8.13807 4.36193C8.2631 4.48695 8.33334 4.65652 8.33334 4.83333V8.20667L11.42 11.04C11.5506 11.1586 11.6288 11.3242 11.6375 11.5004C11.6463 11.6765 11.5848 11.849 11.4667 11.98Z", fill: "#707070" })), /* @__PURE__ */ re.createElement("defs", null, /* @__PURE__ */ re.createElement("clipPath", { id: "clip0_1663_3931" }, /* @__PURE__ */ re.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0 0.5)" })))), Fl = (e) => /* @__PURE__ */ re.createElement("svg", { width: 13, height: 20, viewBox: "0 0 13 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M9.61194 2.82846C9.61194 3.93033 8.7187 4.82357 7.61683 4.82357C6.51495 4.82357 5.62171 3.93033 5.62171 2.82846C5.62171 1.72659 6.51495 0.833344 7.61683 0.833344C8.7187 0.833344 9.61194 1.72659 9.61194 2.82846Z", fill: "#4B5563" }), /* @__PURE__ */ re.createElement("path", { d: "M3.85618 7.89573L2.70342 8.26942C2.51461 8.33063 2.38005 8.49797 2.36081 8.69552L2.15675 10.7898C2.10483 11.3227 1.64157 11.7195 1.10705 11.6891C0.529883 11.6562 0.101401 11.1412 0.174055 10.5677L0.562276 7.5031C0.609594 7.12957 0.863193 6.8145 1.21798 6.68846L5.43314 5.19101C5.91287 4.94642 6.49458 4.90944 7.02868 5.14168C7.58278 5.38261 7.96247 5.86074 8.09808 6.40693C8.10564 6.42543 8.11266 6.44417 8.11911 6.46314L8.13434 6.50792C8.1531 6.56308 8.17666 6.6165 8.20475 6.66755L9.12944 8.34823C9.24374 8.55597 9.4283 8.71621 9.65003 8.80021L11.6264 9.54897C12.2431 9.78262 12.4674 10.5397 12.0776 11.0716C11.8078 11.4397 11.3226 11.5778 10.8994 11.4069L8.27831 10.3486C8.07383 10.266 7.90247 10.118 7.79102 9.92774L7.36282 9.1966L6.28886 11.8906C6.2887 11.8929 6.2885 11.8952 6.28824 11.8974C6.28503 11.9259 6.28989 11.9548 6.30227 11.9807L6.30571 11.9879L9.7205 18.1483C10.0544 18.7506 9.83675 19.5096 9.23443 19.8434C8.6321 20.1773 7.87316 19.9597 7.53929 19.3574L4.94329 14.6741L2.97868 19.1924C2.70407 19.8239 1.96948 20.1133 1.33793 19.8387C0.706382 19.5641 0.417021 18.8295 0.691627 18.1979L3.26686 12.2753L3.30923 12.1729C3.31648 12.1479 3.31685 12.1215 3.3104 12.0965C2.88761 11.4405 2.77915 10.5975 3.08907 9.82005L3.85618 7.89573Z", fill: "#4B5563" })), YS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 20, height: 24, viewBox: "0 0 20 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M4.48045 5.12001C4.0861 5.12526 3.70969 5.28562 3.4327 5.56636C3.15571 5.84709 3.00042 6.22562 3.00045 6.62001V16.73C3.00045 16.7963 2.97411 16.8599 2.92723 16.9068C2.88035 16.9537 2.81676 16.98 2.75045 16.98H1.48045C1.30245 16.979 1.1274 17.0255 0.973367 17.1147C0.819338 17.2039 0.691916 17.3326 0.60426 17.4876C0.516604 17.6425 0.471891 17.818 0.474737 17.996C0.477584 18.174 0.527887 18.348 0.620453 18.5L3.62045 23.5C3.709 23.6492 3.83484 23.7728 3.98563 23.8587C4.13641 23.9446 4.30694 23.9897 4.48045 23.9897C4.65397 23.9897 4.8245 23.9446 4.97528 23.8587C5.12606 23.7728 5.25191 23.6492 5.34045 23.5L8.34045 18.5C8.42797 18.3484 8.47417 18.1765 8.47444 18.0015C8.4747 17.8265 8.42903 17.6544 8.34197 17.5026C8.25491 17.3508 8.12953 17.2244 7.97834 17.1362C7.82716 17.048 7.65548 17.0011 7.48045 17H6.23045C6.19758 16.9975 6.16554 16.9885 6.13616 16.9735C6.10679 16.9586 6.08066 16.938 6.05928 16.9129C6.03791 16.8878 6.0217 16.8587 6.01161 16.8273C6.00151 16.7959 5.99772 16.7629 6.00045 16.73V6.62001C6.00047 6.42133 5.96102 6.22463 5.88439 6.04132C5.80776 5.85802 5.69548 5.69176 5.55407 5.55221C5.41265 5.41266 5.24493 5.30259 5.06062 5.2284C4.87632 5.1542 4.67911 5.11736 4.48045 5.12001Z", fill: "#707070" }), /* @__PURE__ */ re.createElement("path", { d: "M15.5203 18.84C15.9182 18.84 16.2997 18.6819 16.581 18.4006C16.8623 18.1193 17.0203 17.7378 17.0203 17.34V7.22995C17.0254 7.16717 17.0539 7.10861 17.1003 7.06597C17.1466 7.02332 17.2074 6.99975 17.2703 6.99995H18.5203C18.6968 6.99992 18.8702 6.95317 19.0228 6.86446C19.1754 6.77574 19.3018 6.64822 19.3891 6.49485C19.4765 6.34148 19.5217 6.16771 19.5201 5.99122C19.5186 5.81472 19.4704 5.64177 19.3803 5.48995L16.3803 0.48995C16.2918 0.340728 16.1659 0.217112 16.0152 0.131252C15.8644 0.0453926 15.6938 0.000244141 15.5203 0.000244141C15.3468 0.000244141 15.1763 0.0453926 15.0255 0.131252C14.8747 0.217112 14.7489 0.340728 14.6603 0.48995L11.6603 5.48995C11.5703 5.64177 11.5221 5.81472 11.5205 5.99122C11.519 6.16771 11.5642 6.34148 11.6516 6.49485C11.7389 6.64822 11.8653 6.77574 12.0179 6.86446C12.1705 6.95317 12.3438 6.99992 12.5203 6.99995H13.7703C13.8366 6.99995 13.9002 7.02629 13.9471 7.07317C13.994 7.12006 14.0203 7.18365 14.0203 7.24995V17.34C14.0203 17.7378 14.1784 18.1193 14.4597 18.4006C14.741 18.6819 15.1225 18.84 15.5203 18.84Z", fill: "#707070" }));
|
|
12554
12554
|
rs.propTypes = {
|
|
12555
12555
|
location: w.object,
|
|
12556
12556
|
locationClicked: w.func,
|
|
@@ -12559,7 +12559,7 @@ rs.propTypes = {
|
|
|
12559
12559
|
};
|
|
12560
12560
|
function rs({ location: e, locationClicked: t, icon: n, isHovered: r }) {
|
|
12561
12561
|
const { t: o } = nt(), s = ge(), i = H(Et), a = H(es);
|
|
12562
|
-
return
|
|
12562
|
+
return D(() => {
|
|
12563
12563
|
var d;
|
|
12564
12564
|
const l = (p) => t(p.detail), c = () => {
|
|
12565
12565
|
var p;
|
|
@@ -12576,8 +12576,8 @@ function rs({ location: e, locationClicked: t, icon: n, isHovered: r }) {
|
|
|
12576
12576
|
}, [e, t, r]), /* @__PURE__ */ m.jsx("mi-list-item-location", { level: o("Level"), ref: s, "show-external-id": a });
|
|
12577
12577
|
}
|
|
12578
12578
|
const qS = () => {
|
|
12579
|
-
const [e, t] =
|
|
12580
|
-
return
|
|
12579
|
+
const [e, t] = ee(), n = H(Et), r = H(Zo);
|
|
12580
|
+
return D(() => {
|
|
12581
12581
|
function o() {
|
|
12582
12582
|
const s = n.getMapView().getCenter();
|
|
12583
12583
|
t(s.lat + "," + s.lng);
|
|
@@ -12613,12 +12613,12 @@ const qS = () => {
|
|
|
12613
12613
|
getInputField() {
|
|
12614
12614
|
return p.current.getInputField().then((C) => E(C));
|
|
12615
12615
|
}
|
|
12616
|
-
})),
|
|
12616
|
+
})), D(() => {
|
|
12617
12617
|
const { current: C } = p;
|
|
12618
12618
|
C.value && window.mapsindoors.services.LocationsService.once("update_completed", () => {
|
|
12619
12619
|
C.triggerSearch();
|
|
12620
12620
|
});
|
|
12621
|
-
}, [b]),
|
|
12621
|
+
}, [b]), D(() => {
|
|
12622
12622
|
const C = (O) => s(O.detail), T = () => a(), { current: N } = p;
|
|
12623
12623
|
return o === !0 && (N.mapsindoors = "true"), N.addEventListener("results", C), N.addEventListener("click", i), N.addEventListener("cleared", T), N.addEventListener("changed", l), () => {
|
|
12624
12624
|
N.removeEventListener("results", C), N.removeEventListener("click", i), N.removeEventListener("cleared", T), N.removeEventListener("changed", l);
|
|
@@ -12680,14 +12680,14 @@ function ZS(e) {
|
|
|
12680
12680
|
});
|
|
12681
12681
|
});
|
|
12682
12682
|
}
|
|
12683
|
-
const QS = "data:image/png;base64,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", Ul = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 20, height: 18, viewBox: "0 0 20 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.createElement("path", { d: "M18.5329 7.19049C18.5118 7.16682 18.4958 7.13909 18.4857 7.109C18.4757 7.07891 18.4719 7.04709 18.4746 7.01549C18.481 6.98424 18.4939 6.9547 18.5126 6.92884C18.5313 6.90298 18.5553 6.88139 18.5829 6.86549L19.2496 6.47383C19.4034 6.39827 19.54 6.29191 19.6509 6.16135C19.7619 6.03079 19.8448 5.87881 19.8945 5.71485C19.9443 5.5509 19.9598 5.37846 19.9401 5.20826C19.9204 5.03806 19.8659 4.87372 19.7801 4.72545C19.6942 4.57719 19.5788 4.44816 19.4409 4.34637C19.3031 4.24459 19.1458 4.17223 18.9789 4.13379C18.8119 4.09534 18.6388 4.09163 18.4703 4.12289C18.3019 4.15415 18.1416 4.21971 17.9996 4.31549L17.1079 4.82383C17.0788 4.84065 17.0457 4.8495 17.0121 4.8495C16.9784 4.8495 16.9454 4.84065 16.9163 4.82383C16.8885 4.81108 16.8638 4.79261 16.8437 4.76963C16.8236 4.74665 16.8085 4.71968 16.7996 4.69049L16.4663 2.69883C16.3686 2.10879 16.0627 1.5733 15.604 1.18953C15.1453 0.805757 14.5643 0.599136 13.9663 0.607159H5.99125C5.39796 0.609722 4.82491 0.823205 4.37454 1.20945C3.92418 1.59569 3.62587 2.12951 3.53292 2.71549L3.19959 4.69049C3.19282 4.72272 3.17879 4.75297 3.15858 4.77896C3.13836 4.80496 3.11249 4.826 3.08292 4.84049C3.05378 4.85731 3.02073 4.86617 2.98709 4.86617C2.95344 4.86617 2.92039 4.85731 2.89125 4.84049L1.99959 4.34049C1.85752 4.24471 1.69729 4.17915 1.52882 4.14789C1.36036 4.11663 1.18727 4.12034 1.0203 4.15879C0.853336 4.19723 0.696054 4.26959 0.558225 4.37137C0.420396 4.47316 0.304963 4.60219 0.219094 4.75045C0.133225 4.89872 0.078754 5.06306 0.0590634 5.23326C0.0393727 5.40346 0.0548829 5.5759 0.104631 5.73985C0.154378 5.90381 0.237302 6.05579 0.348251 6.18635C0.4592 6.31691 0.595806 6.42327 0.749587 6.49883L1.41625 6.89049C1.44391 6.90639 1.46788 6.92798 1.48655 6.95384C1.50523 6.9797 1.51819 7.00924 1.52459 7.04049C1.52727 7.07209 1.52348 7.10391 1.51345 7.134C1.50342 7.16409 1.48736 7.19182 1.46625 7.21549C0.79248 7.90316 0.415458 8.82776 0.416253 9.79049V11.4572C0.416532 11.8754 0.543199 12.2838 0.779646 12.6288C1.01609 12.9738 1.35128 13.2393 1.74125 13.3905C1.78008 13.4055 1.81353 13.4317 1.83729 13.4659C1.86106 13.5001 1.87405 13.5405 1.87459 13.5822V15.2072C1.87459 15.7044 2.07213 16.1814 2.42376 16.533C2.77539 16.8846 3.25231 17.0822 3.74959 17.0822C4.24687 17.0822 4.72378 16.8846 5.07541 16.533C5.42704 16.1814 5.62459 15.7044 5.62459 15.2072V13.7572C5.62455 13.7011 5.64622 13.6472 5.68507 13.6068C5.72392 13.5664 5.77691 13.5426 5.83292 13.5405H14.1663C14.2223 13.5426 14.2753 13.5664 14.3141 13.6068C14.3529 13.6472 14.3746 13.7011 14.3746 13.7572V15.2072C14.3746 15.7044 14.5721 16.1814 14.9238 16.533C15.2754 16.8846 15.7523 17.0822 16.2496 17.0822C16.7469 17.0822 17.2238 16.8846 17.5754 16.533C17.927 16.1814 18.1246 15.7044 18.1246 15.2072V13.5822C18.1251 13.5405 18.1381 13.5001 18.1619 13.4659C18.1856 13.4317 18.2191 13.4055 18.2579 13.3905C18.6479 13.2393 18.9831 12.9738 19.2195 12.6288C19.456 12.2838 19.5826 11.8754 19.5829 11.4572V9.79049C19.5903 8.81911 19.2128 7.88433 18.5329 7.19049ZM6.03292 2.26549H14.0496C14.2493 2.26292 14.4433 2.33219 14.5963 2.46067C14.7493 2.58915 14.851 2.7683 14.8829 2.96549L15.2829 5.35716C15.2878 5.38821 15.2858 5.41994 15.2772 5.45016C15.2686 5.48038 15.2534 5.50836 15.2329 5.53216C15.2131 5.55434 15.1887 5.57183 15.1613 5.58336C15.1339 5.59489 15.1043 5.60017 15.0746 5.59883H4.99959C4.9654 5.60054 4.93125 5.59471 4.89957 5.58175C4.86788 5.56878 4.83944 5.54901 4.81625 5.52383C4.79517 5.4674 4.79517 5.40525 4.81625 5.34883L5.17459 3.02383C5.19879 2.82341 5.29493 2.63859 5.44514 2.50372C5.59534 2.36884 5.7894 2.29307 5.99125 2.29049L6.03292 2.26549ZM16.2913 11.4322C16.044 11.4322 15.8024 11.3588 15.5968 11.2215C15.3912 11.0841 15.231 10.8889 15.1364 10.6605C15.0418 10.4321 15.017 10.1808 15.0653 9.9383C15.1135 9.69582 15.2326 9.47309 15.4074 9.29827C15.5822 9.12346 15.8049 9.00441 16.0474 8.95618C16.2899 8.90795 16.5412 8.9327 16.7696 9.02731C16.998 9.12192 17.1932 9.28213 17.3306 9.4877C17.4679 9.69326 17.5413 9.93493 17.5413 10.1822C17.5447 10.352 17.5136 10.5207 17.4497 10.6781C17.3858 10.8355 17.2905 10.9781 17.1696 11.0975C17.0488 11.2168 16.9048 11.3102 16.7467 11.3721C16.5885 11.4339 16.4193 11.4629 16.2496 11.4572L16.2913 11.4322ZM2.49959 10.2072C2.49959 9.95993 2.5729 9.71826 2.71025 9.5127C2.8476 9.30713 3.04282 9.14692 3.27123 9.05231C3.49964 8.9577 3.75097 8.93295 3.99345 8.98118C4.23593 9.02941 4.45865 9.14846 4.63347 9.32327C4.80829 9.49809 4.92734 9.72082 4.97557 9.9633C5.0238 10.2058 4.99905 10.4571 4.90444 10.6855C4.80983 10.9139 4.64961 11.1091 4.44405 11.2465C4.23849 11.3838 3.99681 11.4572 3.74959 11.4572C3.41807 11.4572 3.10012 11.3255 2.8657 11.091C2.63128 10.8566 2.49959 10.5387 2.49959 10.2072Z", fill: "#4B5563" })), Hl = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.createElement("g", { clipPath: "url(#clip0_1697_57490)" }, /* @__PURE__ */ ne.createElement("path", { d: "M12.0829 5.05834C13.1783 5.05834 14.0663 4.17037 14.0663 3.07501C14.0663 1.97964 13.1783 1.09167 12.0829 1.09167C10.9876 1.09167 10.0996 1.97964 10.0996 3.07501C10.0996 4.17037 10.9876 5.05834 12.0829 5.05834Z", fill: "#4B5563" }), /* @__PURE__ */ ne.createElement("path", { d: "M3.75 11.4083C3.00832 11.4083 2.2833 11.6283 1.66661 12.0403C1.04993 12.4524 0.569282 13.038 0.285453 13.7233C0.00162482 14.4085 -0.0726377 15.1625 0.0720569 15.8899C0.216751 16.6173 0.573904 17.2855 1.09835 17.81C1.6228 18.3344 2.29098 18.6916 3.01841 18.8363C3.74584 18.981 4.49984 18.9067 5.18506 18.6229C5.87029 18.339 6.45596 17.8584 6.86801 17.2417C7.28007 16.625 7.5 15.9 7.5 15.1583C7.4978 14.1644 7.10201 13.2119 6.39922 12.5091C5.69644 11.8063 4.74389 11.4105 3.75 11.4083ZM3.75 17.2417C3.33796 17.2417 2.93517 17.1195 2.59256 16.8906C2.24996 16.6616 1.98294 16.3363 1.82525 15.9556C1.66757 15.5749 1.62631 15.156 1.7067 14.7519C1.78708 14.3478 1.9855 13.9765 2.27686 13.6852C2.56822 13.3938 2.93944 13.1954 3.34356 13.115C3.74769 13.0346 4.16658 13.0759 4.54726 13.2336C4.92794 13.3913 5.25331 13.6583 5.48223 14.0009C5.71115 14.3435 5.83333 14.7463 5.83333 15.1583C5.83333 15.4319 5.77945 15.7028 5.67475 15.9556C5.57005 16.2083 5.4166 16.438 5.22314 16.6315C5.02969 16.8249 4.80002 16.9784 4.54726 17.0831C4.2945 17.1878 4.02359 17.2417 3.75 17.2417Z", fill: "#4B5563" }), /* @__PURE__ */ ne.createElement("path", { d: "M16.25 11.4083C15.5083 11.4083 14.7833 11.6283 14.1666 12.0403C13.5499 12.4524 13.0693 13.038 12.7855 13.7233C12.5016 14.4085 12.4274 15.1625 12.5721 15.8899C12.7168 16.6173 13.0739 17.2855 13.5984 17.81C14.1228 18.3344 14.791 18.6916 15.5184 18.8363C16.2458 18.981 16.9998 18.9067 17.6851 18.6229C18.3703 18.339 18.956 17.8584 19.368 17.2417C19.7801 16.625 20 15.9 20 15.1583C19.9978 14.1644 19.602 13.2119 18.8992 12.5091C18.1964 11.8063 17.2439 11.4105 16.25 11.4083ZM16.25 17.2417C15.838 17.2417 15.4352 17.1195 15.0926 16.8906C14.75 16.6616 14.4829 16.3363 14.3253 15.9556C14.1676 15.5749 14.1263 15.156 14.2067 14.7519C14.2871 14.3478 14.4855 13.9765 14.7769 13.6852C15.0682 13.3938 15.4394 13.1954 15.8436 13.115C16.2477 13.0346 16.6666 13.0759 17.0473 13.2336C17.4279 13.3913 17.7533 13.6583 17.9822 14.0009C18.2112 14.3435 18.3333 14.7463 18.3333 15.1583C18.3333 15.4319 18.2794 15.7028 18.1748 15.9556C18.0701 16.2083 17.9166 16.438 17.7231 16.6315C17.5297 16.8249 17.3 16.9784 17.0473 17.0831C16.7945 17.1878 16.5236 17.2417 16.25 17.2417Z", fill: "#4B5563" }), /* @__PURE__ */ ne.createElement("path", { d: "M8.93421 9.52501L10.1425 8.14168C11.2897 8.9152 12.6423 9.32736 14.0259 9.32501H14.5842C14.9157 9.32501 15.2337 9.19331 15.4681 8.95889C15.7025 8.72447 15.8342 8.40653 15.8342 8.07501C15.8342 7.74349 15.7025 7.42555 15.4681 7.19113C15.2337 6.95671 14.9157 6.82501 14.5842 6.82501H14.0259C12.8486 6.82097 11.7201 6.35403 10.8842 5.52501C10.7716 5.40452 10.6345 5.30949 10.4821 5.24625C10.3298 5.18302 10.1657 5.15305 10.0009 5.15834C9.82975 5.16377 9.66156 5.2043 9.50675 5.2774C9.35193 5.35051 9.21378 5.45464 9.10087 5.58334L6.18421 8.91668C6.05958 9.04818 5.96401 9.20443 5.90372 9.37528C5.84342 9.54613 5.81973 9.72775 5.83421 9.90834C5.8651 10.0771 5.92973 10.2379 6.02424 10.3811C6.11874 10.5243 6.24118 10.6469 6.38421 10.7417L6.93421 11.1083C7.66321 11.5976 8.22851 12.2944 8.55687 13.1086C8.88523 13.9229 8.96153 14.8169 8.77587 15.675C8.72593 15.8397 8.71053 16.0129 8.73063 16.1838C8.75074 16.3547 8.80592 16.5196 8.89272 16.6682C8.97951 16.8168 9.09606 16.9459 9.23505 17.0474C9.37404 17.1489 9.53249 17.2205 9.70047 17.2579C9.86845 17.2953 10.0423 17.2976 10.2112 17.2647C10.3802 17.2318 10.5404 17.1643 10.6821 17.0666C10.8237 16.9688 10.9436 16.8429 11.0343 16.6966C11.125 16.5504 11.1846 16.387 11.2092 16.2167C11.4704 14.9998 11.3968 13.7349 10.9961 12.5566C10.5955 11.3782 9.88295 10.3305 8.93421 9.52501Z", fill: "#4B5563" })), /* @__PURE__ */ ne.createElement("defs", null, /* @__PURE__ */ ne.createElement("clipPath", { id: "clip0_1697_57490" }, /* @__PURE__ */ ne.createElement("rect", { width: 20, height: 20, fill: "white" })))), XS = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.createElement("g", { clipPath: "url(#clip0_3407_1703)" }, /* @__PURE__ */ ne.createElement("path", { d: "M11.3752 20.0001H11.2169C10.9704 19.965 10.7399 19.8576 10.5545 19.6915C10.369 19.5254 10.2371 19.308 10.1752 19.0668L8.33357 11.6668L0.941907 9.82512C0.699196 9.76473 0.479985 9.63338 0.312261 9.44785C0.144536 9.26231 0.0359065 9.031 0.000240204 8.78345C-0.034478 8.53494 0.0136427 8.28191 0.137161 8.06349C0.26068 7.84508 0.452715 7.67344 0.683574 7.57512L18.3336 0.0917817C18.5568 0.00128909 18.802 -0.0208838 19.0378 0.0280732C19.2737 0.0770302 19.4898 0.194913 19.6586 0.366782C19.8232 0.535068 19.9346 0.74804 19.9791 0.979189C20.0235 1.21034 19.999 1.44946 19.9086 1.66678L12.4086 19.2834C12.3263 19.4916 12.1843 19.6707 12.0004 19.7982C11.8165 19.9258 11.599 19.996 11.3752 20.0001Z", fill: "#525252" })), /* @__PURE__ */ ne.createElement("defs", null, /* @__PURE__ */ ne.createElement("clipPath", { id: "clip0_3407_1703" }, /* @__PURE__ */ ne.createElement("rect", { width: 20, height: 20, fill: "white" }))));
|
|
12683
|
+
const QS = "data:image/png;base64,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", Ul = (e) => /* @__PURE__ */ re.createElement("svg", { width: 20, height: 18, viewBox: "0 0 20 18", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M18.5329 7.19049C18.5118 7.16682 18.4958 7.13909 18.4857 7.109C18.4757 7.07891 18.4719 7.04709 18.4746 7.01549C18.481 6.98424 18.4939 6.9547 18.5126 6.92884C18.5313 6.90298 18.5553 6.88139 18.5829 6.86549L19.2496 6.47383C19.4034 6.39827 19.54 6.29191 19.6509 6.16135C19.7619 6.03079 19.8448 5.87881 19.8945 5.71485C19.9443 5.5509 19.9598 5.37846 19.9401 5.20826C19.9204 5.03806 19.8659 4.87372 19.7801 4.72545C19.6942 4.57719 19.5788 4.44816 19.4409 4.34637C19.3031 4.24459 19.1458 4.17223 18.9789 4.13379C18.8119 4.09534 18.6388 4.09163 18.4703 4.12289C18.3019 4.15415 18.1416 4.21971 17.9996 4.31549L17.1079 4.82383C17.0788 4.84065 17.0457 4.8495 17.0121 4.8495C16.9784 4.8495 16.9454 4.84065 16.9163 4.82383C16.8885 4.81108 16.8638 4.79261 16.8437 4.76963C16.8236 4.74665 16.8085 4.71968 16.7996 4.69049L16.4663 2.69883C16.3686 2.10879 16.0627 1.5733 15.604 1.18953C15.1453 0.805757 14.5643 0.599136 13.9663 0.607159H5.99125C5.39796 0.609722 4.82491 0.823205 4.37454 1.20945C3.92418 1.59569 3.62587 2.12951 3.53292 2.71549L3.19959 4.69049C3.19282 4.72272 3.17879 4.75297 3.15858 4.77896C3.13836 4.80496 3.11249 4.826 3.08292 4.84049C3.05378 4.85731 3.02073 4.86617 2.98709 4.86617C2.95344 4.86617 2.92039 4.85731 2.89125 4.84049L1.99959 4.34049C1.85752 4.24471 1.69729 4.17915 1.52882 4.14789C1.36036 4.11663 1.18727 4.12034 1.0203 4.15879C0.853336 4.19723 0.696054 4.26959 0.558225 4.37137C0.420396 4.47316 0.304963 4.60219 0.219094 4.75045C0.133225 4.89872 0.078754 5.06306 0.0590634 5.23326C0.0393727 5.40346 0.0548829 5.5759 0.104631 5.73985C0.154378 5.90381 0.237302 6.05579 0.348251 6.18635C0.4592 6.31691 0.595806 6.42327 0.749587 6.49883L1.41625 6.89049C1.44391 6.90639 1.46788 6.92798 1.48655 6.95384C1.50523 6.9797 1.51819 7.00924 1.52459 7.04049C1.52727 7.07209 1.52348 7.10391 1.51345 7.134C1.50342 7.16409 1.48736 7.19182 1.46625 7.21549C0.79248 7.90316 0.415458 8.82776 0.416253 9.79049V11.4572C0.416532 11.8754 0.543199 12.2838 0.779646 12.6288C1.01609 12.9738 1.35128 13.2393 1.74125 13.3905C1.78008 13.4055 1.81353 13.4317 1.83729 13.4659C1.86106 13.5001 1.87405 13.5405 1.87459 13.5822V15.2072C1.87459 15.7044 2.07213 16.1814 2.42376 16.533C2.77539 16.8846 3.25231 17.0822 3.74959 17.0822C4.24687 17.0822 4.72378 16.8846 5.07541 16.533C5.42704 16.1814 5.62459 15.7044 5.62459 15.2072V13.7572C5.62455 13.7011 5.64622 13.6472 5.68507 13.6068C5.72392 13.5664 5.77691 13.5426 5.83292 13.5405H14.1663C14.2223 13.5426 14.2753 13.5664 14.3141 13.6068C14.3529 13.6472 14.3746 13.7011 14.3746 13.7572V15.2072C14.3746 15.7044 14.5721 16.1814 14.9238 16.533C15.2754 16.8846 15.7523 17.0822 16.2496 17.0822C16.7469 17.0822 17.2238 16.8846 17.5754 16.533C17.927 16.1814 18.1246 15.7044 18.1246 15.2072V13.5822C18.1251 13.5405 18.1381 13.5001 18.1619 13.4659C18.1856 13.4317 18.2191 13.4055 18.2579 13.3905C18.6479 13.2393 18.9831 12.9738 19.2195 12.6288C19.456 12.2838 19.5826 11.8754 19.5829 11.4572V9.79049C19.5903 8.81911 19.2128 7.88433 18.5329 7.19049ZM6.03292 2.26549H14.0496C14.2493 2.26292 14.4433 2.33219 14.5963 2.46067C14.7493 2.58915 14.851 2.7683 14.8829 2.96549L15.2829 5.35716C15.2878 5.38821 15.2858 5.41994 15.2772 5.45016C15.2686 5.48038 15.2534 5.50836 15.2329 5.53216C15.2131 5.55434 15.1887 5.57183 15.1613 5.58336C15.1339 5.59489 15.1043 5.60017 15.0746 5.59883H4.99959C4.9654 5.60054 4.93125 5.59471 4.89957 5.58175C4.86788 5.56878 4.83944 5.54901 4.81625 5.52383C4.79517 5.4674 4.79517 5.40525 4.81625 5.34883L5.17459 3.02383C5.19879 2.82341 5.29493 2.63859 5.44514 2.50372C5.59534 2.36884 5.7894 2.29307 5.99125 2.29049L6.03292 2.26549ZM16.2913 11.4322C16.044 11.4322 15.8024 11.3588 15.5968 11.2215C15.3912 11.0841 15.231 10.8889 15.1364 10.6605C15.0418 10.4321 15.017 10.1808 15.0653 9.9383C15.1135 9.69582 15.2326 9.47309 15.4074 9.29827C15.5822 9.12346 15.8049 9.00441 16.0474 8.95618C16.2899 8.90795 16.5412 8.9327 16.7696 9.02731C16.998 9.12192 17.1932 9.28213 17.3306 9.4877C17.4679 9.69326 17.5413 9.93493 17.5413 10.1822C17.5447 10.352 17.5136 10.5207 17.4497 10.6781C17.3858 10.8355 17.2905 10.9781 17.1696 11.0975C17.0488 11.2168 16.9048 11.3102 16.7467 11.3721C16.5885 11.4339 16.4193 11.4629 16.2496 11.4572L16.2913 11.4322ZM2.49959 10.2072C2.49959 9.95993 2.5729 9.71826 2.71025 9.5127C2.8476 9.30713 3.04282 9.14692 3.27123 9.05231C3.49964 8.9577 3.75097 8.93295 3.99345 8.98118C4.23593 9.02941 4.45865 9.14846 4.63347 9.32327C4.80829 9.49809 4.92734 9.72082 4.97557 9.9633C5.0238 10.2058 4.99905 10.4571 4.90444 10.6855C4.80983 10.9139 4.64961 11.1091 4.44405 11.2465C4.23849 11.3838 3.99681 11.4572 3.74959 11.4572C3.41807 11.4572 3.10012 11.3255 2.8657 11.091C2.63128 10.8566 2.49959 10.5387 2.49959 10.2072Z", fill: "#4B5563" })), Hl = (e) => /* @__PURE__ */ re.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("g", { clipPath: "url(#clip0_1697_57490)" }, /* @__PURE__ */ re.createElement("path", { d: "M12.0829 5.05834C13.1783 5.05834 14.0663 4.17037 14.0663 3.07501C14.0663 1.97964 13.1783 1.09167 12.0829 1.09167C10.9876 1.09167 10.0996 1.97964 10.0996 3.07501C10.0996 4.17037 10.9876 5.05834 12.0829 5.05834Z", fill: "#4B5563" }), /* @__PURE__ */ re.createElement("path", { d: "M3.75 11.4083C3.00832 11.4083 2.2833 11.6283 1.66661 12.0403C1.04993 12.4524 0.569282 13.038 0.285453 13.7233C0.00162482 14.4085 -0.0726377 15.1625 0.0720569 15.8899C0.216751 16.6173 0.573904 17.2855 1.09835 17.81C1.6228 18.3344 2.29098 18.6916 3.01841 18.8363C3.74584 18.981 4.49984 18.9067 5.18506 18.6229C5.87029 18.339 6.45596 17.8584 6.86801 17.2417C7.28007 16.625 7.5 15.9 7.5 15.1583C7.4978 14.1644 7.10201 13.2119 6.39922 12.5091C5.69644 11.8063 4.74389 11.4105 3.75 11.4083ZM3.75 17.2417C3.33796 17.2417 2.93517 17.1195 2.59256 16.8906C2.24996 16.6616 1.98294 16.3363 1.82525 15.9556C1.66757 15.5749 1.62631 15.156 1.7067 14.7519C1.78708 14.3478 1.9855 13.9765 2.27686 13.6852C2.56822 13.3938 2.93944 13.1954 3.34356 13.115C3.74769 13.0346 4.16658 13.0759 4.54726 13.2336C4.92794 13.3913 5.25331 13.6583 5.48223 14.0009C5.71115 14.3435 5.83333 14.7463 5.83333 15.1583C5.83333 15.4319 5.77945 15.7028 5.67475 15.9556C5.57005 16.2083 5.4166 16.438 5.22314 16.6315C5.02969 16.8249 4.80002 16.9784 4.54726 17.0831C4.2945 17.1878 4.02359 17.2417 3.75 17.2417Z", fill: "#4B5563" }), /* @__PURE__ */ re.createElement("path", { d: "M16.25 11.4083C15.5083 11.4083 14.7833 11.6283 14.1666 12.0403C13.5499 12.4524 13.0693 13.038 12.7855 13.7233C12.5016 14.4085 12.4274 15.1625 12.5721 15.8899C12.7168 16.6173 13.0739 17.2855 13.5984 17.81C14.1228 18.3344 14.791 18.6916 15.5184 18.8363C16.2458 18.981 16.9998 18.9067 17.6851 18.6229C18.3703 18.339 18.956 17.8584 19.368 17.2417C19.7801 16.625 20 15.9 20 15.1583C19.9978 14.1644 19.602 13.2119 18.8992 12.5091C18.1964 11.8063 17.2439 11.4105 16.25 11.4083ZM16.25 17.2417C15.838 17.2417 15.4352 17.1195 15.0926 16.8906C14.75 16.6616 14.4829 16.3363 14.3253 15.9556C14.1676 15.5749 14.1263 15.156 14.2067 14.7519C14.2871 14.3478 14.4855 13.9765 14.7769 13.6852C15.0682 13.3938 15.4394 13.1954 15.8436 13.115C16.2477 13.0346 16.6666 13.0759 17.0473 13.2336C17.4279 13.3913 17.7533 13.6583 17.9822 14.0009C18.2112 14.3435 18.3333 14.7463 18.3333 15.1583C18.3333 15.4319 18.2794 15.7028 18.1748 15.9556C18.0701 16.2083 17.9166 16.438 17.7231 16.6315C17.5297 16.8249 17.3 16.9784 17.0473 17.0831C16.7945 17.1878 16.5236 17.2417 16.25 17.2417Z", fill: "#4B5563" }), /* @__PURE__ */ re.createElement("path", { d: "M8.93421 9.52501L10.1425 8.14168C11.2897 8.9152 12.6423 9.32736 14.0259 9.32501H14.5842C14.9157 9.32501 15.2337 9.19331 15.4681 8.95889C15.7025 8.72447 15.8342 8.40653 15.8342 8.07501C15.8342 7.74349 15.7025 7.42555 15.4681 7.19113C15.2337 6.95671 14.9157 6.82501 14.5842 6.82501H14.0259C12.8486 6.82097 11.7201 6.35403 10.8842 5.52501C10.7716 5.40452 10.6345 5.30949 10.4821 5.24625C10.3298 5.18302 10.1657 5.15305 10.0009 5.15834C9.82975 5.16377 9.66156 5.2043 9.50675 5.2774C9.35193 5.35051 9.21378 5.45464 9.10087 5.58334L6.18421 8.91668C6.05958 9.04818 5.96401 9.20443 5.90372 9.37528C5.84342 9.54613 5.81973 9.72775 5.83421 9.90834C5.8651 10.0771 5.92973 10.2379 6.02424 10.3811C6.11874 10.5243 6.24118 10.6469 6.38421 10.7417L6.93421 11.1083C7.66321 11.5976 8.22851 12.2944 8.55687 13.1086C8.88523 13.9229 8.96153 14.8169 8.77587 15.675C8.72593 15.8397 8.71053 16.0129 8.73063 16.1838C8.75074 16.3547 8.80592 16.5196 8.89272 16.6682C8.97951 16.8168 9.09606 16.9459 9.23505 17.0474C9.37404 17.1489 9.53249 17.2205 9.70047 17.2579C9.86845 17.2953 10.0423 17.2976 10.2112 17.2647C10.3802 17.2318 10.5404 17.1643 10.6821 17.0666C10.8237 16.9688 10.9436 16.8429 11.0343 16.6966C11.125 16.5504 11.1846 16.387 11.2092 16.2167C11.4704 14.9998 11.3968 13.7349 10.9961 12.5566C10.5955 11.3782 9.88295 10.3305 8.93421 9.52501Z", fill: "#4B5563" })), /* @__PURE__ */ re.createElement("defs", null, /* @__PURE__ */ re.createElement("clipPath", { id: "clip0_1697_57490" }, /* @__PURE__ */ re.createElement("rect", { width: 20, height: 20, fill: "white" })))), XS = (e) => /* @__PURE__ */ re.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("g", { clipPath: "url(#clip0_3407_1703)" }, /* @__PURE__ */ re.createElement("path", { d: "M11.3752 20.0001H11.2169C10.9704 19.965 10.7399 19.8576 10.5545 19.6915C10.369 19.5254 10.2371 19.308 10.1752 19.0668L8.33357 11.6668L0.941907 9.82512C0.699196 9.76473 0.479985 9.63338 0.312261 9.44785C0.144536 9.26231 0.0359065 9.031 0.000240204 8.78345C-0.034478 8.53494 0.0136427 8.28191 0.137161 8.06349C0.26068 7.84508 0.452715 7.67344 0.683574 7.57512L18.3336 0.0917817C18.5568 0.00128909 18.802 -0.0208838 19.0378 0.0280732C19.2737 0.0770302 19.4898 0.194913 19.6586 0.366782C19.8232 0.535068 19.9346 0.74804 19.9791 0.979189C20.0235 1.21034 19.999 1.44946 19.9086 1.66678L12.4086 19.2834C12.3263 19.4916 12.1843 19.6707 12.0004 19.7982C11.8165 19.9258 11.599 19.996 11.3752 20.0001Z", fill: "#525252" })), /* @__PURE__ */ re.createElement("defs", null, /* @__PURE__ */ re.createElement("clipPath", { id: "clip0_3407_1703" }, /* @__PURE__ */ re.createElement("rect", { width: 20, height: 20, fill: "white" }))));
|
|
12684
12684
|
Od.propTypes = {
|
|
12685
12685
|
selectionChanged: w.func,
|
|
12686
12686
|
children: w.node
|
|
12687
12687
|
};
|
|
12688
12688
|
function Od({ selectionChanged: e, children: t }) {
|
|
12689
12689
|
const n = ge();
|
|
12690
|
-
return
|
|
12690
|
+
return D(() => {
|
|
12691
12691
|
const r = (s) => e(s.detail), { current: o } = n;
|
|
12692
12692
|
return o.addEventListener("change", r), () => o.removeEventListener("change", r);
|
|
12693
12693
|
}, [e]), /* @__PURE__ */ m.jsx("mi-dropdown", { ref: n, children: t });
|
|
@@ -12770,7 +12770,7 @@ aa.propTypes = {
|
|
|
12770
12770
|
};
|
|
12771
12771
|
function aa({ onStartDirections: e, onBack: t, directionsToLocation: n, directionsFromLocation: r, onSetSize: o, isActive: s }) {
|
|
12772
12772
|
var ft, ie;
|
|
12773
|
-
const { t: i } = nt(), a = ge(), l = ge(), c = ge(), u = ge(), f = H(Vi), d = H(Uo), p = H(Qt), g = H(Ho), b = H(Vt), [E, R] = te(Dd), [h, v] =
|
|
12773
|
+
const { t: i } = nt(), a = ge(), l = ge(), c = ge(), u = ge(), f = H(Vi), d = H(Uo), p = H(Qt), g = H(Ho), b = H(Vt), [E, R] = te(Dd), [h, v] = ee(), [, y] = te(Jo), [S, C] = ee(!0), [T, N] = ee(!1), [O, M] = ee([]), [F, Y] = ee(), [A, G] = ee(), fe = H(Or), ce = Jn(), [oe, de] = ee(!1), [we, $] = te(Ir), [U, x] = ee(!1), k = H(zo), j = H(eb), [B, P, V, W] = xd(A, F, f, we, fe), z = H(ra), J = H(cn);
|
|
12774
12774
|
function he(Q) {
|
|
12775
12775
|
return g === ut.Google && Q.properties.type === "google_places" ? ZS(Q) : g === ut.Mapbox && Q.properties.type === "mapbox_places" ? JS(Q, k) : Promise.resolve(Q);
|
|
12776
12776
|
}
|
|
@@ -12824,9 +12824,9 @@ function aa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12824
12824
|
function ot() {
|
|
12825
12825
|
M([]), N(!1), de(!1), x(!1);
|
|
12826
12826
|
}
|
|
12827
|
-
return
|
|
12827
|
+
return D(() => () => {
|
|
12828
12828
|
M([]), Y(), G();
|
|
12829
|
-
}, []),
|
|
12829
|
+
}, []), D(() => {
|
|
12830
12830
|
if (E) {
|
|
12831
12831
|
if (h === Je.FROM)
|
|
12832
12832
|
u.current.setDisplayText(E.properties.name), G(E);
|
|
@@ -12836,7 +12836,7 @@ function aa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12836
12836
|
return;
|
|
12837
12837
|
ot(), R(null);
|
|
12838
12838
|
}
|
|
12839
|
-
}, [E]),
|
|
12839
|
+
}, [E]), D(() => {
|
|
12840
12840
|
var _e;
|
|
12841
12841
|
Ie(Ce.FIT);
|
|
12842
12842
|
let Q = !1;
|
|
@@ -12844,9 +12844,9 @@ function aa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12844
12844
|
const Me = di(d);
|
|
12845
12845
|
u.current.setDisplayText(Me.properties.name), G(Me), y(!0), C(!0), M([]);
|
|
12846
12846
|
}
|
|
12847
|
-
}, [s, n, r]),
|
|
12847
|
+
}, [s, n, r]), D(() => {
|
|
12848
12848
|
g === ut.Mapbox && (de(!1), M(O.filter((Q) => Q.properties.type !== "google_places")));
|
|
12849
|
-
}, [g]),
|
|
12849
|
+
}, [g]), D(() => {
|
|
12850
12850
|
p && (Y(p), c.current.setDisplayText(p.properties.name));
|
|
12851
12851
|
}, [p]), /* @__PURE__ */ m.jsxs("div", { className: "wayfinding", ref: a, children: [
|
|
12852
12852
|
/* @__PURE__ */ m.jsxs("div", { className: "wayfinding__directions", children: [
|
|
@@ -12930,9 +12930,9 @@ function aa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12930
12930
|
/* @__PURE__ */ m.jsxs("div", { className: "wayfinding__settings", children: [
|
|
12931
12931
|
/* @__PURE__ */ m.jsxs("div", { className: "wayfinding__toggles", children: [
|
|
12932
12932
|
/* @__PURE__ */ m.jsx(ia, {}),
|
|
12933
|
-
((ft =
|
|
12933
|
+
((ft = J == null ? void 0 : J.appSettings) == null ? void 0 : ft.includeTransitSelection) === "true" && /* @__PURE__ */ m.jsx($d, {})
|
|
12934
12934
|
] }),
|
|
12935
|
-
/* @__PURE__ */ m.jsx("div", { className: "wayfinding__travel", children: ((ie =
|
|
12935
|
+
/* @__PURE__ */ m.jsx("div", { className: "wayfinding__travel", children: ((ie = J == null ? void 0 : J.appSettings) == null ? void 0 : ie.includeTravelModeSelection) !== "false" && /* @__PURE__ */ m.jsxs(Od, { selectionChanged: (Q) => $(Q[0].value), children: [
|
|
12936
12936
|
/* @__PURE__ */ m.jsxs("mi-dropdown-item", { selected: !0, value: pn.WALKING, children: [
|
|
12937
12937
|
/* @__PURE__ */ m.jsx(Fl, {}),
|
|
12938
12938
|
i("Walk")
|
|
@@ -12957,7 +12957,7 @@ function aa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12957
12957
|
i("Distance"),
|
|
12958
12958
|
":"
|
|
12959
12959
|
] }),
|
|
12960
|
-
/* @__PURE__ */ m.jsx("div", { className: "wayfinding__meters", children: B && W && /* @__PURE__ */ m.jsx("mi-distance", { unit:
|
|
12960
|
+
/* @__PURE__ */ m.jsx("div", { className: "wayfinding__meters", children: B && W && /* @__PURE__ */ m.jsx("mi-distance", { unit: j, meters: B }) })
|
|
12961
12961
|
] }),
|
|
12962
12962
|
/* @__PURE__ */ m.jsxs("div", { className: "wayfinding__time", children: [
|
|
12963
12963
|
/* @__PURE__ */ m.jsx(WS, {}),
|
|
@@ -12972,7 +12972,7 @@ function aa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12972
12972
|
] })
|
|
12973
12973
|
] });
|
|
12974
12974
|
}
|
|
12975
|
-
const nb = (e) => /* @__PURE__ */
|
|
12975
|
+
const nb = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M4 12H20M20 12L14 6M20 12L14 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), rb = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M20 12H4M4 12L10 6M4 12L10 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), os = pe({
|
|
12976
12976
|
key: "activeStep",
|
|
12977
12977
|
default: 0
|
|
12978
12978
|
}), ss = pe({
|
|
@@ -13027,7 +13027,7 @@ const nb = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 2
|
|
|
13027
13027
|
minutes: c("min"),
|
|
13028
13028
|
rideTheBus: c("Ride the bus")
|
|
13029
13029
|
};
|
|
13030
|
-
return
|
|
13030
|
+
return D(() => {
|
|
13031
13031
|
const { current: E } = l;
|
|
13032
13032
|
function R() {
|
|
13033
13033
|
d(!0), f(!u);
|
|
@@ -13067,10 +13067,10 @@ Vd.propTypes = {
|
|
|
13067
13067
|
isOpen: w.bool
|
|
13068
13068
|
};
|
|
13069
13069
|
function Vd({ steps: e, onNextStep: t, onPreviousStep: n, originLocation: r, isOpen: o }) {
|
|
13070
|
-
const { t: s } = nt(), i = Jn(), a = ge(), [l, c] =
|
|
13071
|
-
|
|
13070
|
+
const { t: s } = nt(), i = Jn(), a = ge(), [l, c] = ee(), [u, f] = te(os), [d, p] = ee(), g = H(Mr), b = H(ss), [, E] = te(Bd), R = un();
|
|
13071
|
+
D(() => {
|
|
13072
13072
|
p(e);
|
|
13073
|
-
}, [e]),
|
|
13073
|
+
}, [e]), D(() => {
|
|
13074
13074
|
var y, S;
|
|
13075
13075
|
o && (u === (d == null ? void 0 : d.length) - 1 && (g != null && g.destinationLocation) ? E(!0) : E(!1), b === !1 ? (y = a.current) == null || y.closeSubsteps() : b === !0 && ((S = a.current) == null || S.openSubsteps()));
|
|
13076
13076
|
}, [o, u, d, b]);
|
|
@@ -13130,10 +13130,10 @@ la.propTypes = {
|
|
|
13130
13130
|
};
|
|
13131
13131
|
function la({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointSwipedByUser: o }) {
|
|
13132
13132
|
var B;
|
|
13133
|
-
const { t: s } = nt(), i = ge(), [a, l] =
|
|
13134
|
-
|
|
13133
|
+
const { t: s } = nt(), i = ge(), [a, l] = ee(null), c = ge(null), [u, f] = ee(), d = H(Et), p = H(Ir), g = H(Mr), [, b] = te(os), [E, R] = te(ss), h = H(Bt), v = Pt(), [, y] = te(ns), S = H(Bd), C = H(Vt), T = un(), N = H(es), O = H(kd), M = H(Qt), F = H(Ho), Y = H(na), A = H(cn);
|
|
13134
|
+
D(() => () => {
|
|
13135
13135
|
l(null);
|
|
13136
|
-
}, []),
|
|
13136
|
+
}, []), D(() => {
|
|
13137
13137
|
if (l(null), e && g) {
|
|
13138
13138
|
f(g.totalTime);
|
|
13139
13139
|
const P = Math.min(window.innerHeight, window.innerWidth) * 0.06;
|
|
@@ -13166,7 +13166,7 @@ function la({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointS
|
|
|
13166
13166
|
v ? h ? V(P) : mn().then((W) => V(W)) : V(P);
|
|
13167
13167
|
});
|
|
13168
13168
|
}
|
|
13169
|
-
|
|
13169
|
+
D(() => {
|
|
13170
13170
|
!e && pt && (we(), U(Fd.minZoom));
|
|
13171
13171
|
}, [e]);
|
|
13172
13172
|
function ce() {
|
|
@@ -13199,15 +13199,15 @@ function la({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointS
|
|
|
13199
13199
|
function k(P) {
|
|
13200
13200
|
typeof n == "function" && n(P);
|
|
13201
13201
|
}
|
|
13202
|
-
function
|
|
13202
|
+
function j() {
|
|
13203
13203
|
const P = `${O}&directionsFrom=${h.id}&directionsTo=${M.id}`;
|
|
13204
13204
|
y(P);
|
|
13205
13205
|
}
|
|
13206
|
-
return
|
|
13206
|
+
return D(() => (i.current = requestAnimationFrame(() => {
|
|
13207
13207
|
k(E ? Ce.MAX : Ce.FIT);
|
|
13208
13208
|
}), () => {
|
|
13209
13209
|
i.current && cancelAnimationFrame(i.current);
|
|
13210
|
-
}), [E]),
|
|
13210
|
+
}), [E]), D(() => {
|
|
13211
13211
|
e && o && R(o === Ce.MAX);
|
|
13212
13212
|
}, [e, o]), /* @__PURE__ */ m.jsxs("div", { className: "directions", style: { display: T ? "block" : "grid" }, children: [
|
|
13213
13213
|
/* @__PURE__ */ m.jsxs("div", { className: "directions__steps", children: [
|
|
@@ -13228,7 +13228,7 @@ function la({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointS
|
|
|
13228
13228
|
/* @__PURE__ */ m.jsxs("div", { className: "directions__kiosk", children: [
|
|
13229
13229
|
/* @__PURE__ */ m.jsx(ia, { onAccessibilityChanged: () => $() }),
|
|
13230
13230
|
((B = A == null ? void 0 : A.appSettings) == null ? void 0 : B.includeTransitSelection) === "true" && /* @__PURE__ */ m.jsx($d, {}),
|
|
13231
|
-
/* @__PURE__ */ m.jsxs("button", { className: "directions__qr-code", onClick: () =>
|
|
13231
|
+
/* @__PURE__ */ m.jsxs("button", { className: "directions__qr-code", onClick: () => j(), "aria-label": s("Scan QR code to view route on phone"), children: [
|
|
13232
13232
|
/* @__PURE__ */ m.jsx(Ad, {}),
|
|
13233
13233
|
s("Scan QR code")
|
|
13234
13234
|
] })
|
|
@@ -13255,7 +13255,7 @@ const Ud = pe({
|
|
|
13255
13255
|
clearInputField() {
|
|
13256
13256
|
o.current.clearInputField();
|
|
13257
13257
|
}
|
|
13258
|
-
})),
|
|
13258
|
+
})), D(() => {
|
|
13259
13259
|
const { current: i } = o;
|
|
13260
13260
|
r && (i.inputElement = r);
|
|
13261
13261
|
}, [r]), /* @__PURE__ */ m.jsx("mi-keyboard", { language: s, ref: o });
|
|
@@ -13290,7 +13290,7 @@ const ib = pe({
|
|
|
13290
13290
|
}), zd = pe({
|
|
13291
13291
|
key: "category",
|
|
13292
13292
|
default: void 0
|
|
13293
|
-
}), zl = (e) => /* @__PURE__ */
|
|
13293
|
+
}), zl = (e) => /* @__PURE__ */ re.createElement("svg", { width: 28, height: 28, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M17.5 20.9999L10.5 13.9999L17.5 6.99994", stroke: "#1F2937", strokeWidth: 2.33333, strokeLinecap: "round", strokeLinejoin: "round" })), ab = (e) => /* @__PURE__ */ re.createElement("svg", { width: 28, height: 28, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { d: "M10.5 7.00006L17.5 14.0001L10.5 21.0001", stroke: "#1F2937", strokeWidth: 2.33333, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
13294
13294
|
fi.propTypes = {
|
|
13295
13295
|
onSetSize: w.func,
|
|
13296
13296
|
getFilteredLocations: w.func,
|
|
@@ -13302,18 +13302,18 @@ fi.propTypes = {
|
|
|
13302
13302
|
categoryOrientation: w.oneOf(["horizontal", "vertical"])
|
|
13303
13303
|
};
|
|
13304
13304
|
function fi({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen: r, topLevelCategory: o, handleBack: s, selectedCategoriesArray: i, categoryOrientation: a }) {
|
|
13305
|
-
const l = H(kr), c = Pt(), [u, f] = te(ca), [, d] = te(is), [, p] = te(Go), g = Jn(), [b, E] =
|
|
13305
|
+
const l = H(kr), c = Pt(), [u, f] = te(ca), [, d] = te(is), [, p] = te(Go), g = Jn(), [b, E] = ee(), R = H(ib), h = H(zd), v = H(Et), y = Td(v, r), [S, C] = ee([]), [T, N] = ee([]), { t: O } = nt(), M = un(), F = ge(null), [Y, A] = ee(!1), [G, fe] = ee(!1), ce = (k) => {
|
|
13306
13306
|
we && F.current && F.current.scrollBy({
|
|
13307
13307
|
left: k === "left" ? -200 : 200,
|
|
13308
13308
|
behavior: "smooth"
|
|
13309
13309
|
});
|
|
13310
13310
|
}, oe = () => {
|
|
13311
13311
|
if (F.current) {
|
|
13312
|
-
const { scrollLeft: k, scrollWidth:
|
|
13312
|
+
const { scrollLeft: k, scrollWidth: j, clientWidth: B } = F.current, P = k <= 0, V = k >= j - B - 1;
|
|
13313
13313
|
A(!P), fe(!V);
|
|
13314
13314
|
}
|
|
13315
13315
|
}, de = !o && S.length === 0, we = M && a === "horizontal" && !de;
|
|
13316
|
-
|
|
13316
|
+
D(() => {
|
|
13317
13317
|
if (!we)
|
|
13318
13318
|
return;
|
|
13319
13319
|
const k = F.current;
|
|
@@ -13329,26 +13329,26 @@ function fi({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen:
|
|
|
13329
13329
|
function x(k) {
|
|
13330
13330
|
f(k), u === k ? (d([]), f(null), p([]), n.current.getValue() && n.current.triggerSearch()) : n.current.getValue() ? n.current.triggerSearch() : t(k);
|
|
13331
13331
|
}
|
|
13332
|
-
return
|
|
13332
|
+
return D(() => {
|
|
13333
13333
|
var k;
|
|
13334
13334
|
y && u && (f(null), d([]), p([]), (k = n.current) != null && k.getValue() && n.current.clear());
|
|
13335
|
-
}, [y]),
|
|
13335
|
+
}, [y]), D(() => {
|
|
13336
13336
|
u && (sb().then((k) => E(k)), U(Ce.MAX));
|
|
13337
|
-
}, [u]),
|
|
13337
|
+
}, [u]), D(() => {
|
|
13338
13338
|
b && h !== void 0 && (c || !c && R) && b.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
13339
|
-
}, [b, h, R]),
|
|
13339
|
+
}, [b, h, R]), D(() => {
|
|
13340
13340
|
var B, P, V;
|
|
13341
13341
|
let k = [];
|
|
13342
13342
|
if (o) {
|
|
13343
13343
|
const W = l.flatMap(([, z]) => z.childKeys || []);
|
|
13344
13344
|
k = l.filter(([z]) => !W.includes(z));
|
|
13345
13345
|
} else if (u) {
|
|
13346
|
-
const W = (B = l.find(([
|
|
13347
|
-
k = l.filter(([
|
|
13346
|
+
const W = (B = l.find(([J]) => J === u)) == null ? void 0 : B[1], z = (W == null ? void 0 : W.childKeys) || [];
|
|
13347
|
+
k = l.filter(([J]) => z.includes(J));
|
|
13348
13348
|
}
|
|
13349
13349
|
C(k);
|
|
13350
|
-
const
|
|
13351
|
-
N(
|
|
13350
|
+
const j = (V = (P = l.find(([W]) => W === u)) == null ? void 0 : P[1]) == null ? void 0 : V.displayName;
|
|
13351
|
+
N(j);
|
|
13352
13352
|
}, [l]), /* @__PURE__ */ m.jsx("div", { className: $, ...g, children: l.length > 0 && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
13353
13353
|
!o && /* @__PURE__ */ m.jsxs("div", { className: "categories__nav", children: [
|
|
13354
13354
|
/* @__PURE__ */ m.jsx(
|
|
@@ -13374,13 +13374,13 @@ function fi({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen:
|
|
|
13374
13374
|
children: /* @__PURE__ */ m.jsx(zl, {})
|
|
13375
13375
|
}
|
|
13376
13376
|
) }),
|
|
13377
|
-
/* @__PURE__ */ m.jsx("div", { className: "categories__list", ref: M ? F : void 0, children: S.map(([k,
|
|
13377
|
+
/* @__PURE__ */ m.jsx("div", { className: "categories__list", ref: M ? F : void 0, children: S.map(([k, j]) => !o && i.current.length !== 1 ? null : /* @__PURE__ */ m.jsx("div", { className: "categories__category", children: /* @__PURE__ */ m.jsxs(
|
|
13378
13378
|
"button",
|
|
13379
13379
|
{
|
|
13380
13380
|
onClick: () => o ? x(k) : t(k),
|
|
13381
13381
|
children: [
|
|
13382
|
-
/* @__PURE__ */ m.jsx("img", { src:
|
|
13383
|
-
|
|
13382
|
+
/* @__PURE__ */ m.jsx("img", { src: j.iconUrl, alt: "" }),
|
|
13383
|
+
j.displayName
|
|
13384
13384
|
]
|
|
13385
13385
|
}
|
|
13386
13386
|
) }, k)) }),
|
|
@@ -13397,11 +13397,11 @@ function fi({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen:
|
|
|
13397
13397
|
] })
|
|
13398
13398
|
] }) });
|
|
13399
13399
|
}
|
|
13400
|
-
const lb = (e) => /* @__PURE__ */
|
|
13400
|
+
const lb = (e) => /* @__PURE__ */ re.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ re.createElement("path", { opacity: 0.12, d: "M3 7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3H16.2C17.8802 3 18.7202 3 19.362 3.32698C19.9265 3.6146 20.3854 4.07354 20.673 4.63803C21 5.27976 21 6.11984 21 7.8V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8Z", fill: "#111827", style: {
|
|
13401
13401
|
fill: "#111827",
|
|
13402
13402
|
fill: "color(display-p3 0.0667 0.0941 0.1529)",
|
|
13403
13403
|
fillOpacity: 1
|
|
13404
|
-
} }), /* @__PURE__ */
|
|
13404
|
+
} }), /* @__PURE__ */ re.createElement("path", { d: "M12 16V12M12 8H12.01M7.8 21H16.2C17.8802 21 18.7202 21 19.362 20.673C19.9265 20.3854 20.3854 19.9265 20.673 19.362C21 18.7202 21 17.8802 21 16.2V7.8C21 6.11984 21 5.27976 20.673 4.63803C20.3854 4.07354 19.9265 3.6146 19.362 3.32698C18.7202 3 17.8802 3 16.2 3H7.8C6.11984 3 5.27976 3 4.63803 3.32698C4.07354 3.6146 3.6146 4.07354 3.32698 4.63803C3 5.27976 3 6.11984 3 7.8V16.2C3 17.8802 3 18.7202 3.32698 19.362C3.6146 19.9265 4.07354 20.3854 4.63803 20.673C5.27976 21 6.11984 21 7.8 21Z", stroke: "#111827", style: {
|
|
13405
13405
|
stroke: "#111827",
|
|
13406
13406
|
stroke: "color(display-p3 0.0667 0.0941 0.1529)",
|
|
13407
13407
|
strokeOpacity: 1
|
|
@@ -13443,7 +13443,7 @@ da.propTypes = {
|
|
|
13443
13443
|
isOpen: w.bool
|
|
13444
13444
|
};
|
|
13445
13445
|
function da({ onSetSize: e, isOpen: t }) {
|
|
13446
|
-
const n = H(cn), { t: r } = nt(), o = ge(), s = ge(), i = ge(), a = ge(), l = ge(), c = 100, [u, f] = te(is), d = H(kr), p = H(Ud), [g, b] =
|
|
13446
|
+
const n = H(cn), { t: r } = nt(), o = ge(), s = ge(), i = ge(), a = ge(), l = ge(), c = 100, [u, f] = te(is), d = H(kr), p = H(Ud), [g, b] = ee(!1), [E, R] = te(ca), h = Jn(), [v, y] = ee(), S = H(Et), [, C] = te(Go), [, T] = te(Qt), [, N] = te(Xo), [O, M] = te(ln), F = H(xn), Y = Pt(), A = H(Bt), [G, fe] = ee(!1), ce = H(sa), oe = un(), [, de] = te(as), [we, $] = ee(!1), U = H(Gd), x = H(ts), k = H(Ar), j = H(ua), [B, P] = ee(!1), V = ge([]), [W, z] = ee([]), [J, he] = ee(!1);
|
|
13447
13447
|
function K() {
|
|
13448
13448
|
var ie, Q, _e;
|
|
13449
13449
|
V.current.length === 1 ? (R(null), f([]), C([]), Ie(Ce.FIT), P(!0), ((Q = (ie = a.current) == null ? void 0 : ie.getValue()) == null ? void 0 : Q.trim()) ? a.current.triggerSearch() : (_e = a.current) == null || _e.clear(), V.current.pop()) : (V.current.pop(), R(V.current[0]));
|
|
@@ -13530,9 +13530,9 @@ function da({ onSetSize: e, isOpen: t }) {
|
|
|
13530
13530
|
}
|
|
13531
13531
|
}
|
|
13532
13532
|
function ft() {
|
|
13533
|
-
return oe &&
|
|
13533
|
+
return oe && J;
|
|
13534
13534
|
}
|
|
13535
|
-
return
|
|
13535
|
+
return D(() => {
|
|
13536
13536
|
const ie = [".search__info", ".search__back-button", ".categories", ".sheet__content"], Q = [".mi-floor-selector", ".view-mode-switch", ".mi-my-position", ".view-selector__toggle-button", ".building-list", ".mapboxgl-ctrl-bottom-right", ".gmnoprint", ".language-selector-portal"], _e = (Me) => {
|
|
13537
13537
|
const et = ie.some(
|
|
13538
13538
|
(Ht) => Me.target.closest(Ht)
|
|
@@ -13548,24 +13548,24 @@ function da({ onSetSize: e, isOpen: t }) {
|
|
|
13548
13548
|
}) : document.removeEventListener("click", _e), () => {
|
|
13549
13549
|
document.removeEventListener("click", _e), i.current && cancelAnimationFrame(i.current);
|
|
13550
13550
|
};
|
|
13551
|
-
}, [t]),
|
|
13551
|
+
}, [t]), D(() => () => {
|
|
13552
13552
|
y();
|
|
13553
|
-
}, []),
|
|
13553
|
+
}, []), D(() => {
|
|
13554
13554
|
t && !E && (f([]), C([]), b(!1), V.current = []);
|
|
13555
|
-
}, [t, E]),
|
|
13556
|
-
E && O !==
|
|
13557
|
-
}, [O]),
|
|
13555
|
+
}, [t, E]), D(() => {
|
|
13556
|
+
E && O !== j && (f([]), R(null));
|
|
13557
|
+
}, [O]), D(() => {
|
|
13558
13558
|
E && window.mapsindoors.services.LocationsService.once("update_completed", () => {
|
|
13559
13559
|
a.current.triggerSearch();
|
|
13560
13560
|
});
|
|
13561
|
-
}, [F]),
|
|
13561
|
+
}, [F]), D(() => (S == null || S.on("mouseenter", dt), () => {
|
|
13562
13562
|
S == null || S.off("mouseenter", dt);
|
|
13563
|
-
}), [S]),
|
|
13563
|
+
}), [S]), D(() => {
|
|
13564
13564
|
if (t && oe && u.length > 0) {
|
|
13565
13565
|
const ie = document.querySelector(".mapsindoors-map .search__results");
|
|
13566
13566
|
s.current.scrollContainerElementRef = ie;
|
|
13567
13567
|
}
|
|
13568
|
-
}, [u, t]),
|
|
13568
|
+
}, [u, t]), D(() => {
|
|
13569
13569
|
if (p) {
|
|
13570
13570
|
const ie = (Q) => {
|
|
13571
13571
|
Q.target.closest("mi-keyboard") || Q.target.tagName.toUpperCase() === "MI-SEARCH" || Q.target.tagName.toUpperCase() === "INPUT" ? fe(!0) : fe(!1);
|
|
@@ -13574,15 +13574,15 @@ function da({ onSetSize: e, isOpen: t }) {
|
|
|
13574
13574
|
window.removeEventListener("click", ie, !1);
|
|
13575
13575
|
};
|
|
13576
13576
|
}
|
|
13577
|
-
}, [p]),
|
|
13577
|
+
}, [p]), D(() => {
|
|
13578
13578
|
E && Se(E);
|
|
13579
|
-
}, [E]),
|
|
13579
|
+
}, [E]), D(() => {
|
|
13580
13580
|
A && $(U.length > 0);
|
|
13581
|
-
}, [A]),
|
|
13581
|
+
}, [A]), D(() => {
|
|
13582
13582
|
var Q, _e;
|
|
13583
13583
|
const ie = ((_e = (Q = d.find(([Me]) => Me === E)) == null ? void 0 : Q[1]) == null ? void 0 : _e.childKeys) || [];
|
|
13584
13584
|
z(ie);
|
|
13585
|
-
}, [d, E]),
|
|
13585
|
+
}, [d, E]), D(() => {
|
|
13586
13586
|
var ie, Q;
|
|
13587
13587
|
he(((ie = n == null ? void 0 : n.appSettings) == null ? void 0 : ie.areHorizontalCategoriesEnabled) === !0 || ((Q = n == null ? void 0 : n.appSettings) == null ? void 0 : Q.areHorizontalCategoriesEnabled) === "true");
|
|
13588
13588
|
}, [n]), /* @__PURE__ */ m.jsxs(
|
|
@@ -13619,7 +13619,7 @@ function da({ onSetSize: e, isOpen: t }) {
|
|
|
13619
13619
|
getFilteredLocations: (ie) => Se(ie),
|
|
13620
13620
|
isOpen: !!E,
|
|
13621
13621
|
topLevelCategory: !0,
|
|
13622
|
-
categoryOrientation:
|
|
13622
|
+
categoryOrientation: J ? "horizontal" : "vertical"
|
|
13623
13623
|
}
|
|
13624
13624
|
),
|
|
13625
13625
|
g && /* @__PURE__ */ m.jsxs("p", { className: "search__error", children: [
|
|
@@ -13636,7 +13636,7 @@ function da({ onSetSize: e, isOpen: t }) {
|
|
|
13636
13636
|
childKeys: W,
|
|
13637
13637
|
topLevelCategory: !1,
|
|
13638
13638
|
selectedCategoriesArray: V,
|
|
13639
|
-
categoryOrientation:
|
|
13639
|
+
categoryOrientation: J ? "horizontal" : "vertical"
|
|
13640
13640
|
}
|
|
13641
13641
|
),
|
|
13642
13642
|
Ke(u).map(
|
|
@@ -13671,7 +13671,7 @@ function fa({ onBack: e, onLocationClick: t, locations: n, onSetSize: r }) {
|
|
|
13671
13671
|
function i(a) {
|
|
13672
13672
|
typeof r == "function" && r(a);
|
|
13673
13673
|
}
|
|
13674
|
-
return
|
|
13674
|
+
return D(() => {
|
|
13675
13675
|
i(Ce.FIT);
|
|
13676
13676
|
}, []), /* @__PURE__ */ m.jsxs("div", { className: "locations-list", children: [
|
|
13677
13677
|
/* @__PURE__ */ m.jsxs("div", { className: "locations-list__header", children: [
|
|
@@ -13703,10 +13703,10 @@ Kd.propTypes = {
|
|
|
13703
13703
|
onRouteFinished: w.func.isRequired
|
|
13704
13704
|
};
|
|
13705
13705
|
function Kd({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n, currentAppView: r, appViews: o, onRouteFinished: s }) {
|
|
13706
|
-
const i = ge(), a = ge(), l = ge(), c = ge(), u = ge(), f = ge(), [d, p] = te(Qt), [g, b] =
|
|
13707
|
-
|
|
13706
|
+
const i = ge(), a = ge(), l = ge(), c = ge(), u = ge(), f = ge(), [d, p] = te(Qt), [g, b] = ee(!1), [E, R] = te(Ko), [, h] = te(qo);
|
|
13707
|
+
D(() => {
|
|
13708
13708
|
e && t && r === o.DIRECTIONS || (e && t || e ? n(o.WAYFINDING) : d ? n(o.LOCATION_DETAILS, d) : (E == null ? void 0 : E.length) > 1 ? n(o.EXTERNALIDS) : (E == null ? void 0 : E.length) === 1 ? (p(E[0]), h(E[0].id)) : n(o.SEARCH));
|
|
13709
|
-
}, [d, e, t, E]),
|
|
13709
|
+
}, [d, e, t, E]), D(() => {
|
|
13710
13710
|
if (d) {
|
|
13711
13711
|
const C = d.properties.imageURL || d.properties.description || d.properties.additionalDetails || Object.keys(d.properties.categories).length > 0;
|
|
13712
13712
|
b(C);
|
|
@@ -13827,8 +13827,8 @@ const cb = {
|
|
|
13827
13827
|
WAYFINDING: "WAYFINDING",
|
|
13828
13828
|
DIRECTIONS: "DIRECTIONS"
|
|
13829
13829
|
}, ub = () => {
|
|
13830
|
-
const [e, t] =
|
|
13831
|
-
|
|
13830
|
+
const [e, t] = ee(void 0), [n, r] = ee(), [o, s] = ee(null);
|
|
13831
|
+
D(() => {
|
|
13832
13832
|
function c(u) {
|
|
13833
13833
|
var f, d;
|
|
13834
13834
|
t((f = u.state) == null ? void 0 : f.value), r((d = u.state) == null ? void 0 : d.payload);
|
|
@@ -13860,8 +13860,8 @@ jn.propTypes = {
|
|
|
13860
13860
|
isOpen: w.bool
|
|
13861
13861
|
};
|
|
13862
13862
|
function jn({ children: e, isOpen: t }) {
|
|
13863
|
-
const [n, r] =
|
|
13864
|
-
return
|
|
13863
|
+
const [n, r] = ee(!1), o = H(Bt), s = ge(), i = ge();
|
|
13864
|
+
return D(() => {
|
|
13865
13865
|
if (!i)
|
|
13866
13866
|
return;
|
|
13867
13867
|
const a = new MutationObserver(() => {
|
|
@@ -13892,7 +13892,7 @@ Wd.propTypes = {
|
|
|
13892
13892
|
};
|
|
13893
13893
|
function Wd({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n, currentAppView: r, appViews: o, onRouteFinished: s }) {
|
|
13894
13894
|
const [i, a] = te(Qt), [l, c] = te(Ko), [, u] = te(qo), f = H(Bt);
|
|
13895
|
-
|
|
13895
|
+
D(() => {
|
|
13896
13896
|
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));
|
|
13897
13897
|
}, [i, e, t, l]);
|
|
13898
13898
|
function d() {
|
|
@@ -13945,8 +13945,8 @@ function Wd({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
13945
13945
|
return /* @__PURE__ */ m.jsx("div", { children: b });
|
|
13946
13946
|
}
|
|
13947
13947
|
const Gl = (e) => {
|
|
13948
|
-
const [t, n] =
|
|
13949
|
-
return
|
|
13948
|
+
const [t, n] = ee(), r = H(Uo), o = H(Wu);
|
|
13949
|
+
return D(() => {
|
|
13950
13950
|
o && e && (e === "USER_POSITION" && !r ? (n("USER_POSITION_PENDING"), o.watchPosition()) : e !== "USER_POSITION" && window.mapsindoors.services.LocationsService.getLocation(e).then((s) => n(s)), r && e === "USER_POSITION" && n(di(r)));
|
|
13951
13951
|
}, [e, r, o]), t;
|
|
13952
13952
|
}, hb = pe({
|
|
@@ -13955,7 +13955,7 @@ const Gl = (e) => {
|
|
|
13955
13955
|
});
|
|
13956
13956
|
function pb() {
|
|
13957
13957
|
const e = H(Nr), t = ge();
|
|
13958
|
-
return
|
|
13958
|
+
return D(() => {
|
|
13959
13959
|
var n;
|
|
13960
13960
|
(n = t.current) == null || n.classList.add("notification"), e ? t.current.push(e.text, e.type, !0) : t.current.clearAll();
|
|
13961
13961
|
}, [e]), /* @__PURE__ */ m.jsx("mi-notification", { ref: t, position: "top-center" });
|
|
@@ -15446,7 +15446,7 @@ $r.toString = va.bind(null, function(e, t, n) {
|
|
|
15446
15446
|
});
|
|
15447
15447
|
function o3() {
|
|
15448
15448
|
const { t: e } = nt(), [t, n] = te(ns), r = ge(), o = H(Vt);
|
|
15449
|
-
return
|
|
15449
|
+
return D(() => {
|
|
15450
15450
|
const s = {
|
|
15451
15451
|
errorCorrectionLevel: "L",
|
|
15452
15452
|
margin: 0,
|
|
@@ -15469,11 +15469,11 @@ const s3 = pe({
|
|
|
15469
15469
|
default: void 0
|
|
15470
15470
|
});
|
|
15471
15471
|
function i3() {
|
|
15472
|
-
const { t: e } = nt(), t = H(Vt), n = H(Gd), r = un(), o = ge(), s = ge(), i = ge(), [a, l] = te(as), [c, u] =
|
|
15472
|
+
const { t: e } = nt(), t = H(Vt), n = H(Gd), r = un(), o = ge(), s = ge(), i = ge(), [a, l] = te(as), [c, u] = ee(!1), f = ge();
|
|
15473
15473
|
let d = 700;
|
|
15474
|
-
return
|
|
15474
|
+
return D(() => {
|
|
15475
15475
|
a && r && u(f.current.clientHeight > d);
|
|
15476
|
-
}, [a, r]),
|
|
15476
|
+
}, [a, r]), D(() => {
|
|
15477
15477
|
if (a && r && c) {
|
|
15478
15478
|
const p = document.querySelector(".legend__sections");
|
|
15479
15479
|
i.current.scrollContainerElementRef = p;
|
|
@@ -15500,12 +15500,12 @@ function i3() {
|
|
|
15500
15500
|
}
|
|
15501
15501
|
const a3 = () => {
|
|
15502
15502
|
const [e, t] = te(ln), n = H(Ar), r = H(Et), o = H(cn), [, s] = te(kr), [, i] = te(is), a = H(sa), [l, c] = te(ua);
|
|
15503
|
-
|
|
15503
|
+
D(() => {
|
|
15504
15504
|
var d;
|
|
15505
15505
|
!e && n.length && t((d = u()) == null ? void 0 : d.name);
|
|
15506
|
-
}, [e, n]),
|
|
15506
|
+
}, [e, n]), D(() => {
|
|
15507
15507
|
e && !l && c(e);
|
|
15508
|
-
}, [e]),
|
|
15508
|
+
}, [e]), D(() => {
|
|
15509
15509
|
r && n.length && e && o && (r.setVenue(n.find((d) => d.name.toLowerCase() === e.toLowerCase())), f(), i([]), a && (a.value = ""));
|
|
15510
15510
|
}, [r, e, n, o]);
|
|
15511
15511
|
const u = () => n.length === 1 ? n[0] : [...n].sort(function(d, p) {
|
|
@@ -15585,68 +15585,68 @@ df.propTypes = {
|
|
|
15585
15585
|
devicePosition: w.object
|
|
15586
15586
|
};
|
|
15587
15587
|
function df({ 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: E, kioskOriginLocationId: R, language: h, supportsUrlParameters: v, useKeyboard: y, timeout: S, miTransitionLevel: C, category: T, searchAllVenues: N, hideNonMatches: O, showRoadNames: M, showExternalIDs: F, searchExternalLocations: Y, center: A, useAppTitle: G, showMapMarkers: fe, mapboxMapStyle: ce, devicePosition: oe }) {
|
|
15588
|
-
const [de, we] =
|
|
15588
|
+
const [de, we] = ee(!1), [$, U] = ee({ brandingColor: s }), [, x] = te(Fi), [, k] = te(Ui), [, j] = te(zo), [B, P] = te(Zo), [V, W] = te(Ar), [z, J] = te(Qt), he = H(kr), [, K] = te(qo), [Se, Ie] = te(Vt), [, Ke] = te(ea), [, Fe] = te(hb), Ne = H(Et), [qe, Ze] = te(xn), [, dt] = te(Bt), [, yt] = te(zi), [, Le] = te(Zu), We = Qu(), [, ot] = te(Pd), [, ft] = te(Ud), [, ie] = te(s3), [, Q] = te(ca), [, _e] = te(ts), [, Me] = te(zd), [, et] = te(fd), [, Ut] = te(es), [, Xt] = te(l3), [, Ht] = te(ra), [, er] = te(Ju), [I, L] = ee(), q = ge(), [, ae] = te(Dd), se = H(ns), [ue, me] = ee(!0), [ye, ve] = ee(!0), xe = Gl(l), Ue = Gl(c), [rt, Qe] = ee(!1), [, st] = te(Ko), [ht, Lt] = te(Go), [Jt, Nt] = ee(), [X, fs] = te(cn), [, hs] = te(Yu), [, ps] = te(Ku), [, _] = te(qu), [, Z] = te(Hi), [, le] = te(Wo), be = Pt(), Oe = fb(), [De, ke, Ee, it, Ae, Ye] = ub(), [$e, en] = ee(!1), jr = H(as), [wt, ya] = ee(0), [gs, ff] = a3(), hf = c3(), [, pf] = te(Nr);
|
|
15589
15589
|
function gf() {
|
|
15590
|
-
return new Promise((
|
|
15590
|
+
return new Promise((ne) => {
|
|
15591
15591
|
if (window.mapsindoors !== void 0)
|
|
15592
|
-
return
|
|
15592
|
+
return ne();
|
|
15593
15593
|
const je = document.createElement("script");
|
|
15594
|
-
je.setAttribute("type", "text/javascript"), je.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.
|
|
15595
|
-
|
|
15594
|
+
je.setAttribute("type", "text/javascript"), je.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.48.0/mapsindoors-4.48.0.js.gz"), je.setAttribute("integrity", "sha384-8RD2aLt72/N4zA+aIClVnyqTRD4fGzPBg16I/LvUTuSRhhaf5puTxQ2rdcTZjjyk"), je.setAttribute("crossorigin", "anonymous"), document.body.appendChild(je), je.onload = () => {
|
|
15595
|
+
ne();
|
|
15596
15596
|
};
|
|
15597
15597
|
});
|
|
15598
15598
|
}
|
|
15599
|
-
|
|
15600
|
-
var
|
|
15601
|
-
qe || (h ? Ze(h) : (
|
|
15602
|
-
}, [h,
|
|
15599
|
+
D(() => {
|
|
15600
|
+
var ne;
|
|
15601
|
+
qe || (h ? Ze(h) : (ne = X == null ? void 0 : X.appSettings) != null && ne.language && Ze(X.appSettings.language));
|
|
15602
|
+
}, [h, X, qe, Ze]), D(() => {
|
|
15603
15603
|
We && yf();
|
|
15604
|
-
}, [We]),
|
|
15604
|
+
}, [We]), D(() => (gf().then(() => {
|
|
15605
15605
|
en(!0);
|
|
15606
15606
|
}), () => {
|
|
15607
15607
|
Nt();
|
|
15608
|
-
}), []),
|
|
15609
|
-
var
|
|
15608
|
+
}), []), D(() => {
|
|
15609
|
+
var ne;
|
|
15610
15610
|
if ($e) {
|
|
15611
|
-
const je = qe ?? h ?? ((
|
|
15611
|
+
const je = qe ?? h ?? ((ne = X == null ? void 0 : X.appSettings) == null ? void 0 : ne.language) ?? navigator.language;
|
|
15612
15612
|
window.mapsindoors.MapsIndoors.setLanguage(je.split("-")[0]), window.mapsindoors.services.LocationsService.once("update_completed", () => {
|
|
15613
15613
|
he.length > 0 && ff(), V.length > 0 && window.mapsindoors.services.VenuesService.getVenues().then((ct) => {
|
|
15614
|
-
ct = ct.map((zt) => (zt.image =
|
|
15615
|
-
}), z && window.mapsindoors.services.LocationsService.getLocation(z.id).then((ct) =>
|
|
15614
|
+
ct = ct.map((zt) => (zt.image = X.venueImages[zt.name.toLowerCase()], zt)), W(ct);
|
|
15615
|
+
}), z && window.mapsindoors.services.LocationsService.getLocation(z.id).then((ct) => J(ct));
|
|
15616
15616
|
}), (!tt.language || tt.language !== je) && (tt.isInitialized ? tt.changeLanguage(je) : Jy(je));
|
|
15617
15617
|
}
|
|
15618
|
-
}, [qe, h, $e,
|
|
15618
|
+
}, [qe, h, $e, X]), D(() => {
|
|
15619
15619
|
$e && (x(e), P(!1), window.mapsindoors.MapsIndoors.setMapsIndoorsApiKey(e), Promise.all([
|
|
15620
15620
|
// Fetch all Venues in the Solution
|
|
15621
15621
|
window.mapsindoors.services.VenuesService.getVenues(),
|
|
15622
15622
|
// Fetch the App Config belonging to the given API key. This is needed for checking access tokens and Venue images.
|
|
15623
|
-
window.mapsindoors.services.AppConfigService.getConfig().then((
|
|
15623
|
+
window.mapsindoors.services.AppConfigService.getConfig().then((ne) => (fs(ne), ne)),
|
|
15624
15624
|
// Fetch solution info in order to see what modules are enabled
|
|
15625
|
-
window.mapsindoors.services.SolutionsService.getSolution().then((
|
|
15625
|
+
window.mapsindoors.services.SolutionsService.getSolution().then((ne) => (hs(ne), ne)),
|
|
15626
15626
|
// Ensure a minimum waiting time of 3 seconds
|
|
15627
|
-
new Promise((
|
|
15628
|
-
]).then(([
|
|
15629
|
-
|
|
15627
|
+
new Promise((ne) => setTimeout(ne, 3e3))
|
|
15628
|
+
]).then(([ne, je]) => {
|
|
15629
|
+
ne = ne.map((ct) => (ct.image = je.venueImages[ct.name.toLowerCase()], ct)), W(ne);
|
|
15630
15630
|
}), P(!1));
|
|
15631
|
-
}, [e, $e]),
|
|
15632
|
-
var
|
|
15633
|
-
$e &&
|
|
15634
|
-
}, [t, n, $e,
|
|
15635
|
-
$e && window.mapsindoors.services.SolutionsService.getUserRoles().then((
|
|
15636
|
-
const je =
|
|
15631
|
+
}, [e, $e]), D(() => {
|
|
15632
|
+
var ne, je, ct, zt;
|
|
15633
|
+
$e && X && (mt(n) && mt(t) && mt((ne = X == null ? void 0 : X.appSettings) == null ? void 0 : ne.mapboxAccessToken) && mt((je = X == null ? void 0 : X.appSettings) == null ? void 0 : je.gmKey) ? pf({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }) : (j(n || ((ct = X.appSettings) == null ? void 0 : ct.mapboxAccessToken)), k(t || ((zt = X.appSettings) == null ? void 0 : zt.gmKey))));
|
|
15634
|
+
}, [t, n, $e, X]), D(() => {
|
|
15635
|
+
$e && window.mapsindoors.services.SolutionsService.getUserRoles().then((ne) => {
|
|
15636
|
+
const je = ne.filter((ct) => a == null ? void 0 : a.includes(ct.name));
|
|
15637
15637
|
window.mapsindoors.MapsIndoors.setUserRoles(je);
|
|
15638
15638
|
});
|
|
15639
|
-
}, [a, $e]),
|
|
15640
|
-
$e && (u ? window.mapsindoors.services.LocationsService.getLocationsByExternalId(u).then((
|
|
15641
|
-
st(
|
|
15639
|
+
}, [a, $e]), D(() => {
|
|
15640
|
+
$e && (u ? window.mapsindoors.services.LocationsService.getLocationsByExternalId(u).then((ne) => {
|
|
15641
|
+
st(ne);
|
|
15642
15642
|
}) : st([]));
|
|
15643
|
-
}, [u, $e]),
|
|
15644
|
-
$e && (K(o), o && window.mapsindoors.services.LocationsService.getLocation(o).then((
|
|
15645
|
-
|
|
15643
|
+
}, [u, $e]), D(() => {
|
|
15644
|
+
$e && (K(o), o && window.mapsindoors.services.LocationsService.getLocation(o).then((ne) => {
|
|
15645
|
+
ne && (gs(ne.properties.venueId), J(ne));
|
|
15646
15646
|
}));
|
|
15647
|
-
}, [o, $e, wt]),
|
|
15647
|
+
}, [o, $e, wt]), D(() => {
|
|
15648
15648
|
$e && Fe(b);
|
|
15649
|
-
}, [b, $e]),
|
|
15649
|
+
}, [b, $e]), D(() => {
|
|
15650
15650
|
switch (Ee) {
|
|
15651
15651
|
case Ae.SEARCH:
|
|
15652
15652
|
case Ae.EXTERNALIDS:
|
|
@@ -15654,7 +15654,7 @@ function df({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15654
15654
|
q.current = kn.SetCurrentLocation;
|
|
15655
15655
|
break;
|
|
15656
15656
|
case Ae.LOCATION_DETAILS:
|
|
15657
|
-
it && !z &&
|
|
15657
|
+
it && !z && J(it), q.current = kn.SetCurrentLocation;
|
|
15658
15658
|
break;
|
|
15659
15659
|
case Ae.WAYFINDING:
|
|
15660
15660
|
q.current = kn.SetWayfindingLocation;
|
|
@@ -15664,99 +15664,102 @@ function df({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15664
15664
|
break;
|
|
15665
15665
|
}
|
|
15666
15666
|
Ee === Ae.DIRECTIONS ? (Nt(ht), Lt([])) : Lt(Jt);
|
|
15667
|
-
}, [Ee]),
|
|
15668
|
-
var
|
|
15669
|
-
gs(r ?? ((
|
|
15670
|
-
}, [r,
|
|
15667
|
+
}, [Ee]), D(() => {
|
|
15668
|
+
var ne;
|
|
15669
|
+
gs(r ?? ((ne = X == null ? void 0 : X.appSettings) == null ? void 0 : ne.venue));
|
|
15670
|
+
}, [r, X]), D(() => {
|
|
15671
15671
|
ps(f);
|
|
15672
|
-
}, [f]),
|
|
15672
|
+
}, [f]), D(() => {
|
|
15673
15673
|
var je;
|
|
15674
|
-
const
|
|
15675
|
-
Ie(s ?? ((je =
|
|
15676
|
-
}, [s,
|
|
15677
|
-
var
|
|
15674
|
+
const ne = "#003C3B";
|
|
15675
|
+
Ie(s ?? ((je = X == null ? void 0 : X.appSettings) == null ? void 0 : je.primaryColor) ?? ne);
|
|
15676
|
+
}, [s, X]), D(() => {
|
|
15677
|
+
var ne, je, ct, zt, ba, wa;
|
|
15678
15678
|
U({
|
|
15679
15679
|
brandingColor: Se,
|
|
15680
15680
|
// Ensure showRoadNames and showMapMarkers are booleans, even if appConfig.appSettings.showRoadNames/showMapMarkers is a string
|
|
15681
|
-
showRoadNames: M !== void 0 ? M : typeof ((
|
|
15682
|
-
showMapMarkers: fe !== void 0 ? fe : typeof ((ct =
|
|
15681
|
+
showRoadNames: M !== void 0 ? M : typeof ((ne = X == null ? void 0 : X.appSettings) == null ? void 0 : ne.showRoadNames) == "string" ? X.appSettings.showRoadNames.toLowerCase() === "true" : (je = X == null ? void 0 : X.appSettings) == null ? void 0 : je.showRoadNames,
|
|
15682
|
+
showMapMarkers: fe !== void 0 ? fe : typeof ((ct = X == null ? void 0 : X.appSettings) == null ? void 0 : ct.showMapMarkers) == "string" ? X.appSettings.showMapMarkers.toLowerCase() === "true" : (zt = X == null ? void 0 : X.appSettings) == null ? void 0 : zt.showMapMarkers,
|
|
15683
15683
|
miTransitionLevel: C,
|
|
15684
15684
|
// If ignoreViewportBounds is true, we would like to see the map at the minimum zoom level (World Map).
|
|
15685
|
-
minZoom: (ba =
|
|
15686
|
-
mapboxMapStyle: ((wa =
|
|
15685
|
+
minZoom: (ba = X == null ? void 0 : X.appSettings) != null && ba.ignoreViewportBounds ? 1 : Fd.minZoom,
|
|
15686
|
+
mapboxMapStyle: ((wa = X == null ? void 0 : X.appSettings) == null ? void 0 : wa.mapboxMapStyle) || ce
|
|
15687
15687
|
});
|
|
15688
|
-
}, [s, M, C, Se, fe,
|
|
15689
|
-
var
|
|
15690
|
-
_(d ?? ((
|
|
15691
|
-
}, [d,
|
|
15688
|
+
}, [s, M, C, Se, fe, X]), D(() => {
|
|
15689
|
+
var ne;
|
|
15690
|
+
_(d ?? ((ne = X == null ? void 0 : X.appSettings) == null ? void 0 : ne.startZoomLevel));
|
|
15691
|
+
}, [d, X]), D(() => {
|
|
15692
15692
|
var je;
|
|
15693
|
-
const
|
|
15694
|
-
mt(
|
|
15695
|
-
}, [g, I,
|
|
15696
|
-
var
|
|
15697
|
-
Z(p ?? ((
|
|
15698
|
-
}, [p,
|
|
15693
|
+
const ne = g ?? ((je = X == null ? void 0 : X.appSettings) == null ? void 0 : je.pitch) ?? null;
|
|
15694
|
+
mt(ne) ? I && le(45) : le(ne);
|
|
15695
|
+
}, [g, I, X]), D(() => {
|
|
15696
|
+
var ne;
|
|
15697
|
+
Z(p ?? ((ne = X == null ? void 0 : X.appSettings) == null ? void 0 : ne.bearing) ?? null);
|
|
15698
|
+
}, [p, X]), D(() => {
|
|
15699
15699
|
var je;
|
|
15700
|
-
const
|
|
15701
|
-
|
|
15702
|
-
}, [i,
|
|
15700
|
+
const ne = "https://app.mapsindoors.com/mapsindoors/gfx/mapspeople-logo/mapspeople-pin.svg";
|
|
15701
|
+
X && Ke(i ?? ((je = X == null ? void 0 : X.appSettings) == null ? void 0 : je.logo) ?? ne);
|
|
15702
|
+
}, [i, X]), D(() => {
|
|
15703
15703
|
ie(C);
|
|
15704
|
-
}, [C]),
|
|
15704
|
+
}, [C]), D(() => {
|
|
15705
15705
|
z && z.id !== R ? Ne != null && Ne.selectLocation && Ne.selectLocation(z) : Ne != null && Ne.deselectLocation && Ne.deselectLocation();
|
|
15706
|
-
}, [z]),
|
|
15707
|
-
|
|
15708
|
-
|
|
15706
|
+
}, [z]), D(() => {
|
|
15707
|
+
var ne;
|
|
15708
|
+
Ne && ((ne = X == null ? void 0 : X.appSettings) == null ? void 0 : ne.removeMapboxExtrudedBuildings) === "true" && Ne.getMapView().setExtrudedBuildingsVisibility(!1);
|
|
15709
|
+
}, [Ne, X]), D(() => {
|
|
15710
|
+
$e && (yt(R), R ? window.mapsindoors.services.LocationsService.getLocation(R).then((ne) => {
|
|
15711
|
+
gs(ne.properties.venueId), dt(ne), Ne == null || Ne.setNonCollidingLocation(ne);
|
|
15709
15712
|
}) : dt(), R && be ? (me(!1), ve(!1)) : (me(!0), ve(!0)));
|
|
15710
|
-
}, [R, $e, Ne]),
|
|
15713
|
+
}, [R, $e, Ne]), D(() => {
|
|
15711
15714
|
Le(S);
|
|
15712
|
-
}, [S]),
|
|
15715
|
+
}, [S]), D(() => {
|
|
15713
15716
|
ot(v);
|
|
15714
|
-
}, [v]),
|
|
15717
|
+
}, [v]), D(() => {
|
|
15715
15718
|
y && R && ft(y);
|
|
15716
|
-
}, [y, R]),
|
|
15717
|
-
$e && T && he.find((
|
|
15718
|
-
}, [T, he, $e]),
|
|
15719
|
+
}, [y, R]), D(() => {
|
|
15720
|
+
$e && T && he.find((ne) => ne[0] === T) && Q(T);
|
|
15721
|
+
}, [T, he, $e]), D(() => {
|
|
15719
15722
|
_e(N);
|
|
15720
|
-
}, [N]),
|
|
15723
|
+
}, [N]), D(() => {
|
|
15721
15724
|
et(O);
|
|
15722
|
-
}, [O]),
|
|
15725
|
+
}, [O]), D(() => {
|
|
15723
15726
|
Ut(F);
|
|
15724
|
-
}, [F]),
|
|
15727
|
+
}, [F]), D(() => {
|
|
15725
15728
|
Xt(M);
|
|
15726
|
-
}, [M]),
|
|
15729
|
+
}, [M]), D(() => {
|
|
15727
15730
|
Ht(Y);
|
|
15728
|
-
}, [Y]),
|
|
15729
|
-
var
|
|
15730
|
-
er(A ?? ((
|
|
15731
|
-
}, [A,
|
|
15732
|
-
var
|
|
15733
|
-
G === !0 && !mt((
|
|
15734
|
-
}, [G,
|
|
15731
|
+
}, [Y]), D(() => {
|
|
15732
|
+
var ne;
|
|
15733
|
+
er(A ?? ((ne = X == null ? void 0 : X.appSettings) == null ? void 0 : ne.center));
|
|
15734
|
+
}, [A, X]), D(() => {
|
|
15735
|
+
var ne;
|
|
15736
|
+
G === !0 && !mt((ne = X == null ? void 0 : X.appSettings) == null ? void 0 : ne.title) && (document.title = X.appSettings.title);
|
|
15737
|
+
}, [G, X]);
|
|
15735
15738
|
function mf() {
|
|
15736
15739
|
B === !1 && P(!0);
|
|
15737
15740
|
}
|
|
15738
|
-
function vf(
|
|
15741
|
+
function vf(ne) {
|
|
15739
15742
|
switch (q.current) {
|
|
15740
15743
|
case kn.SetCurrentLocation:
|
|
15741
|
-
|
|
15744
|
+
ne.id !== R && J(ne);
|
|
15742
15745
|
break;
|
|
15743
15746
|
case kn.SetWayfindingLocation:
|
|
15744
|
-
ae(
|
|
15747
|
+
ae(ne);
|
|
15745
15748
|
break;
|
|
15746
15749
|
}
|
|
15747
15750
|
}
|
|
15748
15751
|
function yf() {
|
|
15749
|
-
Oe(), Ye(), ya((
|
|
15752
|
+
Oe(), Ye(), ya((ne) => ne + 1), Q(null);
|
|
15750
15753
|
}
|
|
15751
15754
|
function Sa() {
|
|
15752
|
-
hf(), Ye(), ya((
|
|
15753
|
-
}
|
|
15754
|
-
return
|
|
15755
|
-
$e && T && he.find((
|
|
15756
|
-
}, [T, he, $e]),
|
|
15757
|
-
var
|
|
15758
|
-
de || (h && qe !== h ? Ze(h) : !h && ((
|
|
15759
|
-
}, [h,
|
|
15755
|
+
hf(), Ye(), ya((ne) => ne + 1), Q(null);
|
|
15756
|
+
}
|
|
15757
|
+
return D(() => {
|
|
15758
|
+
$e && T && he.find((ne) => ne[0] === T) && (Q(T), Me(T));
|
|
15759
|
+
}, [T, he, $e]), D(() => {
|
|
15760
|
+
var ne;
|
|
15761
|
+
de || (h && qe !== h ? Ze(h) : !h && ((ne = X == null ? void 0 : X.appSettings) != null && ne.language) && qe !== X.appSettings.language && Ze(X.appSettings.language));
|
|
15762
|
+
}, [h, X, qe, Ze, de]), /* @__PURE__ */ m.jsxs("div", { className: `mapsindoors-map
|
|
15760
15763
|
${Ee === Ae.DIRECTIONS ? "mapsindoors-map--hide-elements" : "mapsindoors-map--show-elements"}
|
|
15761
15764
|
${V.length > 1 && ue ? "" : "mapsindoors-map--hide-venue-selector"}
|
|
15762
15765
|
${ye ? "mapsindoors-map--show-my-position" : "mapsindoors-map--hide-my-position"}`, children: [
|
|
@@ -15802,15 +15805,15 @@ function df({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15802
15805
|
useMapProviderModule: E,
|
|
15803
15806
|
onMapPositionKnown: () => mf(),
|
|
15804
15807
|
onMapPositionInvestigating: () => Qe(!0),
|
|
15805
|
-
onLocationClick: (
|
|
15806
|
-
onViewModeSwitchKnown: (
|
|
15808
|
+
onLocationClick: (ne) => vf(ne),
|
|
15809
|
+
onViewModeSwitchKnown: (ne) => L(ne),
|
|
15807
15810
|
resetCount: wt,
|
|
15808
15811
|
mapOptions: $,
|
|
15809
15812
|
gmMapId: b,
|
|
15810
15813
|
isWayfindingOrDirections: Ee === Ae.WAYFINDING || Ee === Ae.DIRECTIONS,
|
|
15811
15814
|
currentLanguage: qe,
|
|
15812
|
-
setLanguage: (
|
|
15813
|
-
Ze(
|
|
15815
|
+
setLanguage: (ne) => {
|
|
15816
|
+
Ze(ne), we(!0);
|
|
15814
15817
|
},
|
|
15815
15818
|
devicePosition: oe
|
|
15816
15819
|
}
|
|
@@ -15858,9 +15861,9 @@ u3.propTypes = {
|
|
|
15858
15861
|
devicePosition: w.object
|
|
15859
15862
|
};
|
|
15860
15863
|
function u3(e) {
|
|
15861
|
-
const [t, n] =
|
|
15862
|
-
return
|
|
15863
|
-
var
|
|
15864
|
+
const [t, n] = ee();
|
|
15865
|
+
return D(() => {
|
|
15866
|
+
var j, B;
|
|
15864
15867
|
const r = window.location.search, o = new URLSearchParams(r), s = {
|
|
15865
15868
|
apiKey: "mapspeople3d",
|
|
15866
15869
|
useMapProviderModule: !1,
|
|
@@ -15870,7 +15873,7 @@ function u3(e) {
|
|
|
15870
15873
|
showExternalIDs: !1,
|
|
15871
15874
|
hideNonMatches: !1,
|
|
15872
15875
|
useAppTitle: !1
|
|
15873
|
-
}, i = o.get("apiKey"), a = o.get("venue"), l = o.get("locationId"), c = o.get("logo"), u = o.get("directionsFrom"), f = o.get("directionsTo"), d = o.get("tileStyle"), p = Number(o.get("startZoomLevel")), g = Number(o.get("pitch")), b = Number(o.get("bearing")), E = o.get("gmApiKey"), R = o.get("mapboxAccessToken"), h = o.get("primaryColor"), v = (
|
|
15876
|
+
}, i = o.get("apiKey"), a = o.get("venue"), l = o.get("locationId"), c = o.get("logo"), u = o.get("directionsFrom"), f = o.get("directionsTo"), d = o.get("tileStyle"), p = Number(o.get("startZoomLevel")), g = Number(o.get("pitch")), b = Number(o.get("bearing")), E = o.get("gmApiKey"), R = o.get("mapboxAccessToken"), h = o.get("primaryColor"), v = (j = o.get("appUserRoles")) == null ? void 0 : j.split(","), y = (B = o.get("externalIDs")) == null ? void 0 : B.split(","), S = o.get("gmMapId"), C = o.get("kioskOriginLocationId"), T = Number(o.get("timeout")), N = o.get("language"), O = Number(o.get("miTransitionLevel")), M = o.get("category"), F = o.get("useMapProviderModule"), Y = o.get("useKeyboard"), A = o.get("searchAllVenues"), G = o.get("hideNonMatches"), fe = o.get("showExternalIDs"), ce = o.get("showRoadNames"), oe = o.get("searchExternalLocations"), de = o.get("center"), we = o.get("useAppTitle"), $ = o.get("showMapMarkers"), U = o.get("mapboxMapStyle"), x = e.supportsUrlParameters && i ? i : e.apiKey || s.apiKey;
|
|
15874
15877
|
let k = e.supportsUrlParameters && a ? a : e.venue || s.venue;
|
|
15875
15878
|
x === "mapspeople3d" && !k && (k = "AUSTINOFFICE"), n({
|
|
15876
15879
|
apiKey: x,
|
|
@@ -15925,4 +15928,4 @@ export {
|
|
|
15925
15928
|
m as j,
|
|
15926
15929
|
g3 as r
|
|
15927
15930
|
};
|
|
15928
|
-
//# sourceMappingURL=reactcomponent-
|
|
15931
|
+
//# sourceMappingURL=reactcomponent-757cc2ae.mjs.map
|