@mapsindoors/map-template 1.89.2 → 1.89.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GoogleMapsMap-52baff50.mjs → GoogleMapsMap-450f5ea9.mjs} +2 -2
- package/dist/{MapboxMap-4def7f8c.mjs → MapboxMap-a246464a.mjs} +2 -2
- package/dist/{combo-box-item.entry-9fa90934.mjs → combo-box-item.entry-5bbe07d1.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +2 -2
- package/dist/mapsindoors-webcomponent.es.js +3 -3
- package/dist/mapsindoors-webcomponent.umd.js +2 -2
- package/dist/{mi-card_2.entry-802ac37a.mjs → mi-card_2.entry-1986f62c.mjs} +2 -2
- package/dist/{mi-chip.entry-5e280243.mjs → mi-chip.entry-6141291b.mjs} +2 -2
- package/dist/{mi-column.entry-d8d03cc3.mjs → mi-column.entry-33d0ec2f.mjs} +2 -2
- package/dist/{mi-combo-box.entry-a25bc003.mjs → mi-combo-box.entry-0a917aa7.mjs} +2 -2
- package/dist/{mi-data-table.entry-38fdabfe.mjs → mi-data-table.entry-94d9241e.mjs} +2 -2
- package/dist/{mi-distance_2.entry-c2092d97.mjs → mi-distance_2.entry-3a76cf8a.mjs} +2 -2
- package/dist/{mi-dropdown-item.entry-ca411ec6.mjs → mi-dropdown-item.entry-58236aeb.mjs} +2 -2
- package/dist/{mi-dropdown.entry-1c8e2c37.mjs → mi-dropdown.entry-c775f5da.mjs} +2 -2
- package/dist/{mi-floor-selector.entry-a07a669e.mjs → mi-floor-selector.entry-af86a66a.mjs} +2 -2
- package/dist/{mi-keyboard.entry-93aae114.mjs → mi-keyboard.entry-fd16629a.mjs} +2 -2
- package/dist/{mi-list-item-category.entry-21a8e269.mjs → mi-list-item-category.entry-4181e5c6.mjs} +2 -2
- package/dist/{mi-list-item-location.entry-e4d6c7c4.mjs → mi-list-item-location.entry-8386721e.mjs} +2 -2
- package/dist/{mi-list.entry-2eb6e6fb.mjs → mi-list.entry-578ca77d.mjs} +2 -2
- package/dist/{mi-location-booking.entry-b509de62.mjs → mi-location-booking.entry-cb4dadbd.mjs} +2 -2
- package/dist/{mi-location-info.entry-154935dc.mjs → mi-location-info.entry-2944513d.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-a5f9563e.mjs → mi-map-googlemaps.entry-25b4d9ac.mjs} +2 -2
- package/dist/{mi-map-mapbox.entry-ce668a41.mjs → mi-map-mapbox.entry-f5731f34.mjs} +2 -2
- package/dist/{mi-metric-card.entry-5e3e27de.mjs → mi-metric-card.entry-68cf17bd.mjs} +2 -2
- package/dist/{mi-my-position.entry-4ae16267.mjs → mi-my-position.entry-f6f4fdb6.mjs} +2 -2
- package/dist/{mi-notification.entry-7f79d65b.mjs → mi-notification.entry-71b953f8.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-83ab110e.mjs → mi-route-instructions-heading.entry-bd9fe7a4.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver-legacy.entry-40e523b3.mjs → mi-route-instructions-maneuver-legacy.entry-be82f1b0.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver.entry-c96d4a48.mjs → mi-route-instructions-maneuver.entry-56d419da.mjs} +2 -2
- package/dist/{mi-route-instructions-step-legacy.entry-95b197e9.mjs → mi-route-instructions-step-legacy.entry-377f10dd.mjs} +2 -2
- package/dist/{mi-route-instructions-step.entry-51700897.mjs → mi-route-instructions-step.entry-1b0efe24.mjs} +2 -2
- package/dist/{mi-route-instructions.entry-3c705f65.mjs → mi-route-instructions.entry-b558e13f.mjs} +2 -2
- package/dist/{mi-scroll-buttons.entry-f963323c.mjs → mi-scroll-buttons.entry-cbe5166b.mjs} +2 -2
- package/dist/{mi-search.entry-5e9944fa.mjs → mi-search.entry-109a9aef.mjs} +2 -2
- package/dist/{mi-share-sms.entry-03f29b65.mjs → mi-share-sms.entry-01210d8f.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-15bdbe42.mjs → mi-step-switcher.entry-15337c94.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-32e39b1f.mjs → mi-tab-panel.entry-a26d69c8.mjs} +2 -2
- package/dist/{mi-tab.entry-d1191ee1.mjs → mi-tab.entry-88ed973b.mjs} +2 -2
- package/dist/{mi-tabs.entry-a517b481.mjs → mi-tabs.entry-f16792c2.mjs} +2 -2
- package/dist/{mi-time.entry-eb59c534.mjs → mi-time.entry-e8a433d9.mjs} +2 -2
- package/dist/{reactcomponent-39094f44.mjs → reactcomponent-3c530c02.mjs} +125 -125
- package/package.json +1 -1
|
@@ -224,18 +224,18 @@ function Cf() {
|
|
|
224
224
|
ge < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
var D = R.ReactCurrentDispatcher,
|
|
227
|
+
var D = R.ReactCurrentDispatcher, H;
|
|
228
228
|
function q(_, Z, le) {
|
|
229
229
|
{
|
|
230
|
-
if (
|
|
230
|
+
if (H === void 0)
|
|
231
231
|
try {
|
|
232
232
|
throw Error();
|
|
233
233
|
} catch (Oe) {
|
|
234
234
|
var be = Oe.stack.trim().match(/\n( *(at )?)/);
|
|
235
|
-
|
|
235
|
+
H = be && be[1] || "";
|
|
236
236
|
}
|
|
237
237
|
return `
|
|
238
|
-
` +
|
|
238
|
+
` + H + _;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
241
|
var z = !1, X;
|
|
@@ -1360,11 +1360,11 @@ var gh = ph(function(e) {
|
|
|
1360
1360
|
x.prototype.hasHash = function(M, N) {
|
|
1361
1361
|
return D(M, N, this);
|
|
1362
1362
|
};
|
|
1363
|
-
var
|
|
1363
|
+
var H = n.has = function(M, N) {
|
|
1364
1364
|
return D(N._config.hash(M), M, N);
|
|
1365
1365
|
};
|
|
1366
1366
|
x.prototype.has = function(M) {
|
|
1367
|
-
return
|
|
1367
|
+
return H(M, this);
|
|
1368
1368
|
};
|
|
1369
1369
|
var q = function(N, Y) {
|
|
1370
1370
|
return N === Y;
|
|
@@ -4042,7 +4042,7 @@ function uu(e) {
|
|
|
4042
4042
|
let I = Ur.get(T);
|
|
4043
4043
|
I == null && Ur.set(T, I = /* @__PURE__ */ new Set()), I.add(x);
|
|
4044
4044
|
}
|
|
4045
|
-
function v(x, T, I, B, D,
|
|
4045
|
+
function v(x, T, I, B, D, H) {
|
|
4046
4046
|
return T.then((q) => {
|
|
4047
4047
|
if (!f())
|
|
4048
4048
|
throw A(x), sr;
|
|
@@ -4052,16 +4052,16 @@ function uu(e) {
|
|
|
4052
4052
|
if (!f())
|
|
4053
4053
|
throw A(x), sr;
|
|
4054
4054
|
if (He(q))
|
|
4055
|
-
return y(x, q, I, B, D,
|
|
4055
|
+
return y(x, q, I, B, D, H);
|
|
4056
4056
|
const z = Vr(q);
|
|
4057
4057
|
throw g(x, I, D, z, B), q;
|
|
4058
4058
|
});
|
|
4059
4059
|
}
|
|
4060
|
-
function y(x, T, I, B, D,
|
|
4060
|
+
function y(x, T, I, B, D, H) {
|
|
4061
4061
|
return T.then((q) => {
|
|
4062
4062
|
if (!f())
|
|
4063
4063
|
throw A(x), sr;
|
|
4064
|
-
|
|
4064
|
+
H.loadingDepKey != null && H.loadingDepPromise === T ? I.atomValues.set(H.loadingDepKey, ws(q)) : x.getState().knownSelectors.forEach((K) => {
|
|
4065
4065
|
I.atomValues.delete(K);
|
|
4066
4066
|
});
|
|
4067
4067
|
const z = L(x, I);
|
|
@@ -4089,8 +4089,8 @@ function uu(e) {
|
|
|
4089
4089
|
});
|
|
4090
4090
|
}
|
|
4091
4091
|
function S(x, T, I, B) {
|
|
4092
|
-
var D,
|
|
4093
|
-
if (G(x, B) || T.version === ((D = x.getState()) === null || D === void 0 || (
|
|
4092
|
+
var D, H, q, z;
|
|
4093
|
+
if (G(x, B) || T.version === ((D = x.getState()) === null || D === void 0 || (H = D.currentTree) === null || H === void 0 ? void 0 : H.version) || T.version === ((q = x.getState()) === null || q === void 0 || (z = q.nextTree) === null || z === void 0 ? void 0 : z.version)) {
|
|
4094
4094
|
var X, fe, K;
|
|
4095
4095
|
o0(n, I, x, (X = (fe = x.getState()) === null || fe === void 0 || (K = fe.nextTree) === null || K === void 0 ? void 0 : K.version) !== null && X !== void 0 ? X : x.getState().currentTree.version);
|
|
4096
4096
|
}
|
|
@@ -4099,9 +4099,9 @@ function uu(e) {
|
|
|
4099
4099
|
}
|
|
4100
4100
|
function C(x, T, I) {
|
|
4101
4101
|
const B = d0(n);
|
|
4102
|
-
let D = !0,
|
|
4102
|
+
let D = !0, H = !0;
|
|
4103
4103
|
const q = () => {
|
|
4104
|
-
B(),
|
|
4104
|
+
B(), H = !1;
|
|
4105
4105
|
};
|
|
4106
4106
|
let z, X = !1, fe;
|
|
4107
4107
|
const K = {
|
|
@@ -4123,7 +4123,7 @@ function uu(e) {
|
|
|
4123
4123
|
throw Re("Invalid Loadable state");
|
|
4124
4124
|
}
|
|
4125
4125
|
const Ke = (Fe) => (...Ne) => {
|
|
4126
|
-
if (
|
|
4126
|
+
if (H)
|
|
4127
4127
|
throw Re("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");
|
|
4128
4128
|
return t == null && (process.env.NODE_ENV !== "production" ? It(!1, "Recoil Value can never be null") : It(!1)), u0(
|
|
4129
4129
|
x,
|
|
@@ -4151,13 +4151,13 @@ function uu(e) {
|
|
|
4151
4151
|
return I;
|
|
4152
4152
|
const B = /* @__PURE__ */ new Set();
|
|
4153
4153
|
try {
|
|
4154
|
-
I = a.get((
|
|
4155
|
-
onNodeVisit: (
|
|
4156
|
-
|
|
4154
|
+
I = a.get((H) => (typeof H != "string" && (process.env.NODE_ENV !== "production" ? It(!1, "Cache nodeKey is type string") : It(!1)), Fr(x, T, H).contents), {
|
|
4155
|
+
onNodeVisit: (H) => {
|
|
4156
|
+
H.type === "branch" && H.nodeKey !== n && B.add(H.nodeKey);
|
|
4157
4157
|
}
|
|
4158
4158
|
});
|
|
4159
|
-
} catch (
|
|
4160
|
-
throw Re(`Problem with cache lookup for selector "${n}": ${
|
|
4159
|
+
} catch (H) {
|
|
4160
|
+
throw Re(`Problem with cache lookup for selector "${n}": ${H.message}`);
|
|
4161
4161
|
}
|
|
4162
4162
|
if (I) {
|
|
4163
4163
|
var D;
|
|
@@ -4174,14 +4174,14 @@ function uu(e) {
|
|
|
4174
4174
|
var D;
|
|
4175
4175
|
return ((D = B.loadingLoadable) === null || D === void 0 ? void 0 : D.state) === "loading" && h(x, B.executionID), B.loadingLoadable;
|
|
4176
4176
|
}
|
|
4177
|
-
const
|
|
4178
|
-
return q.state === "loading" ? (F(x,
|
|
4177
|
+
const H = f0(), [q, z] = C(x, T, H);
|
|
4178
|
+
return q.state === "loading" ? (F(x, H, q, z, T), h(x, H)) : (A(x), ce(T, q, z)), q;
|
|
4179
4179
|
}
|
|
4180
4180
|
function O(x, T) {
|
|
4181
4181
|
const I = Ac([c.has(x) ? [Ge(c.get(x))] : [], Ro(Ei(c, ([D]) => D !== x), ([, D]) => D)]);
|
|
4182
4182
|
function B(D) {
|
|
4183
|
-
for (const [
|
|
4184
|
-
if (!Fr(x, T,
|
|
4183
|
+
for (const [H, q] of D)
|
|
4184
|
+
if (!Fr(x, T, H).is(q))
|
|
4185
4185
|
return !0;
|
|
4186
4186
|
return !1;
|
|
4187
4187
|
}
|
|
@@ -4272,7 +4272,7 @@ function uu(e) {
|
|
|
4272
4272
|
get: we,
|
|
4273
4273
|
set: (T, I, B) => {
|
|
4274
4274
|
let D = !1;
|
|
4275
|
-
const
|
|
4275
|
+
const H = /* @__PURE__ */ new Map();
|
|
4276
4276
|
function q({
|
|
4277
4277
|
key: K
|
|
4278
4278
|
}) {
|
|
@@ -4297,7 +4297,7 @@ function uu(e) {
|
|
|
4297
4297
|
// flowlint-next-line unclear-type:off
|
|
4298
4298
|
Se(q(K))
|
|
4299
4299
|
) : Se;
|
|
4300
|
-
r0(T, I, K.key, Ie).forEach((Fe, Ne) =>
|
|
4300
|
+
r0(T, I, K.key, Ie).forEach((Fe, Ne) => H.set(Ne, Fe));
|
|
4301
4301
|
}
|
|
4302
4302
|
function X(K) {
|
|
4303
4303
|
z(K, s0);
|
|
@@ -4309,7 +4309,7 @@ function uu(e) {
|
|
|
4309
4309
|
}, B);
|
|
4310
4310
|
if (fe !== void 0)
|
|
4311
4311
|
throw He(fe) ? Re("Recoil: Async selector sets are not currently supported.") : Re("Recoil: selector set should be a void function.");
|
|
4312
|
-
return D = !0,
|
|
4312
|
+
return D = !0, H;
|
|
4313
4313
|
},
|
|
4314
4314
|
init: d,
|
|
4315
4315
|
invalidate: $,
|
|
@@ -4465,13 +4465,13 @@ function C0(e) {
|
|
|
4465
4465
|
var B;
|
|
4466
4466
|
let {
|
|
4467
4467
|
currentTree: D,
|
|
4468
|
-
previousTree:
|
|
4468
|
+
previousTree: H
|
|
4469
4469
|
} = I.getState();
|
|
4470
|
-
|
|
4470
|
+
H || (lt("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"), H = D);
|
|
4471
4471
|
const q = (B = D.atomValues.get(t)) !== null && B !== void 0 ? B : i;
|
|
4472
4472
|
if (q.state === "hasValue") {
|
|
4473
4473
|
var z, X, fe, K;
|
|
4474
|
-
const Se = q.contents, Ie = (z =
|
|
4474
|
+
const Se = q.contents, Ie = (z = H.atomValues.get(t)) !== null && z !== void 0 ? z : i, Ke = Ie.state === "hasValue" ? Ie.contents : pn;
|
|
4475
4475
|
((X = A) === null || X === void 0 ? void 0 : X.effect) !== $ || ((fe = A) === null || fe === void 0 ? void 0 : fe.value) !== Se ? V(Se, Ke, !D.atomValues.has(t)) : ((K = A) === null || K === void 0 ? void 0 : K.effect) === $ && (A = null);
|
|
4476
4476
|
}
|
|
4477
4477
|
}, t);
|
|
@@ -5019,7 +5019,7 @@ var Qn = {
|
|
|
5019
5019
|
// Memory Management
|
|
5020
5020
|
useRetain: Li,
|
|
5021
5021
|
retentionZone: sv
|
|
5022
|
-
}, _v = Qn.RecoilRoot, he = Qn.atom, Bo = Qn.selector,
|
|
5022
|
+
}, _v = Qn.RecoilRoot, he = Qn.atom, Bo = Qn.selector, U = Qn.useRecoilValue, te = Qn.useRecoilState, Xe = Qn.useResetRecoilState;
|
|
5023
5023
|
const xv = (e, t) => {
|
|
5024
5024
|
const n = e[t];
|
|
5025
5025
|
return n ? typeof n == "function" ? n() : Promise.resolve(n) : new Promise((r, o) => {
|
|
@@ -5422,7 +5422,7 @@ const Mv = (e, t, ...n) => {
|
|
|
5422
5422
|
if (s)
|
|
5423
5423
|
return s[r];
|
|
5424
5424
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/
|
|
5425
|
-
return xv(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-
|
|
5425
|
+
return xv(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-5bbe07d1.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-1986f62c.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-6141291b.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-33d0ec2f.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-0a917aa7.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-94d9241e.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-3a76cf8a.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-58236aeb.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-c775f5da.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-af86a66a.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-fd16629a.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-4181e5c6.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-8386721e.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-578ca77d.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-cb4dadbd.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-2944513d.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-25b4d9ac.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-f5731f34.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-68cf17bd.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-f6f4fdb6.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-71b953f8.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-bd9fe7a4.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-be82f1b0.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-56d419da.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-377f10dd.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-1b0efe24.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-b558e13f.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-cbe5166b.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-109a9aef.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-01210d8f.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-15337c94.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-a26d69c8.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-88ed973b.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-f16792c2.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-e8a433d9.mjs") }), `./${o}.entry.js`).then((i) => (el.set(o, i), i[r]), Rn);
|
|
5426
5426
|
}, ro = /* @__PURE__ */ new Map(), Lr = typeof window < "u" ? window : {}, Ot = Lr.document || { head: {} }, at = {
|
|
5427
5427
|
$flags$: 0,
|
|
5428
5428
|
$resourcesUrl$: "",
|
|
@@ -8151,7 +8151,7 @@ function e2() {
|
|
|
8151
8151
|
function D(K) {
|
|
8152
8152
|
return y(K) === g;
|
|
8153
8153
|
}
|
|
8154
|
-
function
|
|
8154
|
+
function H(K) {
|
|
8155
8155
|
return y(K) === p;
|
|
8156
8156
|
}
|
|
8157
8157
|
function q(K) {
|
|
@@ -8166,7 +8166,7 @@ function e2() {
|
|
|
8166
8166
|
function fe(K) {
|
|
8167
8167
|
return y(K) === f;
|
|
8168
8168
|
}
|
|
8169
|
-
Ve.AsyncMode = S, Ve.ConcurrentMode = C, Ve.ContextConsumer = L, Ve.ContextProvider = k, Ve.Element = O, Ve.ForwardRef = P, Ve.Fragment = F, Ve.Lazy = W, Ve.Memo = A, Ve.Portal = G, Ve.Profiler = ge, Ve.StrictMode = ce, Ve.Suspense = re, Ve.isAsyncMode = we, Ve.isConcurrentMode = $, Ve.isContextConsumer = V, Ve.isContextProvider = x, Ve.isElement = T, Ve.isForwardRef = I, Ve.isFragment = B, Ve.isLazy = D, Ve.isMemo =
|
|
8169
|
+
Ve.AsyncMode = S, Ve.ConcurrentMode = C, Ve.ContextConsumer = L, Ve.ContextProvider = k, Ve.Element = O, Ve.ForwardRef = P, Ve.Fragment = F, Ve.Lazy = W, Ve.Memo = A, Ve.Portal = G, Ve.Profiler = ge, Ve.StrictMode = ce, Ve.Suspense = re, Ve.isAsyncMode = we, Ve.isConcurrentMode = $, Ve.isContextConsumer = V, Ve.isContextProvider = x, Ve.isElement = T, Ve.isForwardRef = I, Ve.isFragment = B, Ve.isLazy = D, Ve.isMemo = H, Ve.isPortal = q, Ve.isProfiler = z, Ve.isStrictMode = X, Ve.isSuspense = fe, Ve.isValidElementType = v, Ve.typeOf = y;
|
|
8170
8170
|
}()), Ve;
|
|
8171
8171
|
}
|
|
8172
8172
|
var yl;
|
|
@@ -8343,28 +8343,28 @@ function r2() {
|
|
|
8343
8343
|
function E($) {
|
|
8344
8344
|
if (process.env.NODE_ENV !== "production")
|
|
8345
8345
|
var V = {}, x = 0;
|
|
8346
|
-
function T(B, D,
|
|
8347
|
-
if (q = q || d, X = X ||
|
|
8346
|
+
function T(B, D, H, q, z, X, fe) {
|
|
8347
|
+
if (q = q || d, X = X || H, fe !== 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"
|
|
8351
8351
|
);
|
|
8352
8352
|
throw K.name = "Invariant Violation", K;
|
|
8353
8353
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
8354
|
-
var Se = q + ":" +
|
|
8354
|
+
var Se = q + ":" + H;
|
|
8355
8355
|
!V[Se] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
8356
8356
|
x < 3 && (s(
|
|
8357
8357
|
"You are manually calling a React.PropTypes validation function for the `" + X + "` prop on `" + q + "`. 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
|
), V[Se] = !0, x++);
|
|
8359
8359
|
}
|
|
8360
8360
|
}
|
|
8361
|
-
return D[
|
|
8361
|
+
return D[H] == null ? B ? D[H] === null ? new b("The " + z + " `" + X + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new b("The " + z + " `" + X + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : $(D, H, q, z, X);
|
|
8362
8362
|
}
|
|
8363
8363
|
var I = T.bind(null, !1);
|
|
8364
8364
|
return I.isRequired = T.bind(null, !0), I;
|
|
8365
8365
|
}
|
|
8366
8366
|
function R($) {
|
|
8367
|
-
function V(x, T, I, B, D,
|
|
8367
|
+
function V(x, T, I, B, D, H) {
|
|
8368
8368
|
var q = x[T], z = ce(q);
|
|
8369
8369
|
if (z !== $) {
|
|
8370
8370
|
var X = re(q);
|
|
@@ -8384,13 +8384,13 @@ function r2() {
|
|
|
8384
8384
|
function V(x, T, I, B, D) {
|
|
8385
8385
|
if (typeof $ != "function")
|
|
8386
8386
|
return new b("Property `" + D + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
8387
|
-
var
|
|
8388
|
-
if (!Array.isArray(
|
|
8389
|
-
var q = ce(
|
|
8387
|
+
var H = x[T];
|
|
8388
|
+
if (!Array.isArray(H)) {
|
|
8389
|
+
var q = ce(H);
|
|
8390
8390
|
return new b("Invalid " + B + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected an array."));
|
|
8391
8391
|
}
|
|
8392
|
-
for (var z = 0; z <
|
|
8393
|
-
var X = $(
|
|
8392
|
+
for (var z = 0; z < H.length; z++) {
|
|
8393
|
+
var X = $(H, z, I, B, D + "[" + z + "]", n);
|
|
8394
8394
|
if (X instanceof Error)
|
|
8395
8395
|
return X;
|
|
8396
8396
|
}
|
|
@@ -8402,8 +8402,8 @@ function r2() {
|
|
|
8402
8402
|
function $(V, x, T, I, B) {
|
|
8403
8403
|
var D = V[x];
|
|
8404
8404
|
if (!a(D)) {
|
|
8405
|
-
var
|
|
8406
|
-
return new b("Invalid " + I + " `" + B + "` of type " + ("`" +
|
|
8405
|
+
var H = ce(D);
|
|
8406
|
+
return new b("Invalid " + I + " `" + B + "` of type " + ("`" + H + "` supplied to `" + T + "`, expected a single ReactElement."));
|
|
8407
8407
|
}
|
|
8408
8408
|
return null;
|
|
8409
8409
|
}
|
|
@@ -8413,8 +8413,8 @@ function r2() {
|
|
|
8413
8413
|
function $(V, x, T, I, B) {
|
|
8414
8414
|
var D = V[x];
|
|
8415
8415
|
if (!e.isValidElementType(D)) {
|
|
8416
|
-
var
|
|
8417
|
-
return new b("Invalid " + I + " `" + B + "` of type " + ("`" +
|
|
8416
|
+
var H = ce(D);
|
|
8417
|
+
return new b("Invalid " + I + " `" + B + "` of type " + ("`" + H + "` supplied to `" + T + "`, expected a single ReactElement type."));
|
|
8418
8418
|
}
|
|
8419
8419
|
return null;
|
|
8420
8420
|
}
|
|
@@ -8423,8 +8423,8 @@ function r2() {
|
|
|
8423
8423
|
function C($) {
|
|
8424
8424
|
function V(x, T, I, B, D) {
|
|
8425
8425
|
if (!(x[T] instanceof $)) {
|
|
8426
|
-
var
|
|
8427
|
-
return new b("Invalid " + B + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected ") + ("instance of `" +
|
|
8426
|
+
var H = $.name || d, q = we(x[T]);
|
|
8427
|
+
return new b("Invalid " + B + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected ") + ("instance of `" + H + "`."));
|
|
8428
8428
|
}
|
|
8429
8429
|
return null;
|
|
8430
8430
|
}
|
|
@@ -8436,14 +8436,14 @@ function r2() {
|
|
|
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
8438
|
function V(x, T, I, B, D) {
|
|
8439
|
-
for (var
|
|
8440
|
-
if (g(
|
|
8439
|
+
for (var H = x[T], q = 0; q < $.length; q++)
|
|
8440
|
+
if (g(H, $[q]))
|
|
8441
8441
|
return null;
|
|
8442
8442
|
var z = JSON.stringify($, function(fe, K) {
|
|
8443
8443
|
var Se = re(K);
|
|
8444
8444
|
return Se === "symbol" ? String(K) : K;
|
|
8445
8445
|
});
|
|
8446
|
-
return new b("Invalid " + B + " `" + D + "` of value `" + String(
|
|
8446
|
+
return new b("Invalid " + B + " `" + D + "` of value `" + String(H) + "` " + ("supplied to `" + I + "`, expected one of " + z + "."));
|
|
8447
8447
|
}
|
|
8448
8448
|
return E(V);
|
|
8449
8449
|
}
|
|
@@ -8451,12 +8451,12 @@ function r2() {
|
|
|
8451
8451
|
function V(x, T, I, B, D) {
|
|
8452
8452
|
if (typeof $ != "function")
|
|
8453
8453
|
return new b("Property `" + D + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
8454
|
-
var
|
|
8454
|
+
var H = x[T], q = ce(H);
|
|
8455
8455
|
if (q !== "object")
|
|
8456
8456
|
return new b("Invalid " + B + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected an object."));
|
|
8457
|
-
for (var z in
|
|
8458
|
-
if (r(
|
|
8459
|
-
var X = $(
|
|
8457
|
+
for (var z in H)
|
|
8458
|
+
if (r(H, z)) {
|
|
8459
|
+
var X = $(H, z, I, B, D + "." + z, n);
|
|
8460
8460
|
if (X instanceof Error)
|
|
8461
8461
|
return X;
|
|
8462
8462
|
}
|
|
@@ -8474,15 +8474,15 @@ function r2() {
|
|
|
8474
8474
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + de(x) + " at index " + V + "."
|
|
8475
8475
|
), i;
|
|
8476
8476
|
}
|
|
8477
|
-
function T(I, B, D,
|
|
8477
|
+
function T(I, B, D, H, q) {
|
|
8478
8478
|
for (var z = [], X = 0; X < $.length; X++) {
|
|
8479
|
-
var fe = $[X], K = fe(I, B, D,
|
|
8479
|
+
var fe = $[X], K = fe(I, B, D, H, q, n);
|
|
8480
8480
|
if (K == null)
|
|
8481
8481
|
return null;
|
|
8482
8482
|
K.data && r(K.data, "expectedType") && z.push(K.data.expectedType);
|
|
8483
8483
|
}
|
|
8484
8484
|
var Se = z.length > 0 ? ", expected one of type [" + z.join(", ") + "]" : "";
|
|
8485
|
-
return new b("Invalid " +
|
|
8485
|
+
return new b("Invalid " + H + " `" + q + "` supplied to " + ("`" + D + "`" + Se + "."));
|
|
8486
8486
|
}
|
|
8487
8487
|
return E(T);
|
|
8488
8488
|
}
|
|
@@ -8499,14 +8499,14 @@ function r2() {
|
|
|
8499
8499
|
}
|
|
8500
8500
|
function W($) {
|
|
8501
8501
|
function V(x, T, I, B, D) {
|
|
8502
|
-
var
|
|
8502
|
+
var H = x[T], q = ce(H);
|
|
8503
8503
|
if (q !== "object")
|
|
8504
8504
|
return new b("Invalid " + B + " `" + D + "` of type `" + q + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
8505
8505
|
for (var z in $) {
|
|
8506
8506
|
var X = $[z];
|
|
8507
8507
|
if (typeof X != "function")
|
|
8508
8508
|
return F(I, B, D, z, re(X));
|
|
8509
|
-
var fe = X(
|
|
8509
|
+
var fe = X(H, z, I, B, D + "." + z, n);
|
|
8510
8510
|
if (fe)
|
|
8511
8511
|
return fe;
|
|
8512
8512
|
}
|
|
@@ -8516,7 +8516,7 @@ function r2() {
|
|
|
8516
8516
|
}
|
|
8517
8517
|
function A($) {
|
|
8518
8518
|
function V(x, T, I, B, D) {
|
|
8519
|
-
var
|
|
8519
|
+
var H = x[T], q = ce(H);
|
|
8520
8520
|
if (q !== "object")
|
|
8521
8521
|
return new b("Invalid " + B + " `" + D + "` of type `" + q + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
8522
8522
|
var z = t({}, x[T], $);
|
|
@@ -8529,7 +8529,7 @@ function r2() {
|
|
|
8529
8529
|
"Invalid " + B + " `" + D + "` key `" + X + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(x[T], null, " ") + `
|
|
8530
8530
|
Valid keys: ` + JSON.stringify(Object.keys($), null, " ")
|
|
8531
8531
|
);
|
|
8532
|
-
var K = fe(
|
|
8532
|
+
var K = fe(H, X, I, B, D + "." + X, n);
|
|
8533
8533
|
if (K)
|
|
8534
8534
|
return K;
|
|
8535
8535
|
}
|
|
@@ -8965,7 +8965,7 @@ function Hu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
|
|
|
8965
8965
|
] });
|
|
8966
8966
|
}
|
|
8967
8967
|
const h2 = Zl(Hu);
|
|
8968
|
-
const p2 = Ql(() => import("./MapboxMap-
|
|
8968
|
+
const p2 = Ql(() => import("./MapboxMap-a246464a.mjs")), g2 = Ql(() => import("./GoogleMapsMap-450f5ea9.mjs")), An = {
|
|
8969
8969
|
Google: "google",
|
|
8970
8970
|
Mapbox: "mapbox"
|
|
8971
8971
|
};
|
|
@@ -9078,7 +9078,7 @@ const ut = {
|
|
|
9078
9078
|
dangerouslyAllowMutability: !0
|
|
9079
9079
|
// A MapsIndoors instance contains state. Needs mutability.
|
|
9080
9080
|
}), m2 = (e) => {
|
|
9081
|
-
const t =
|
|
9081
|
+
const t = U(Et), n = pe(), [r, o] = J([]);
|
|
9082
9082
|
j(() => {
|
|
9083
9083
|
(async () => {
|
|
9084
9084
|
if (t && e) {
|
|
@@ -9211,7 +9211,7 @@ const qu = he({
|
|
|
9211
9211
|
default: void 0
|
|
9212
9212
|
});
|
|
9213
9213
|
function Zu() {
|
|
9214
|
-
const [e, t] = J(!1), n =
|
|
9214
|
+
const [e, t] = J(!1), n = U(Zo), r = U(qu);
|
|
9215
9215
|
return j(() => {
|
|
9216
9216
|
if (!n || !r)
|
|
9217
9217
|
return;
|
|
@@ -10584,7 +10584,7 @@ function hS(e, t) {
|
|
|
10584
10584
|
}), n;
|
|
10585
10585
|
}
|
|
10586
10586
|
const pS = () => {
|
|
10587
|
-
const [e, t] = J(!1), [n, r] = J(!1), o = Pt(), s = Zu(), i =
|
|
10587
|
+
const [e, t] = J(!1), [n, r] = J(!1), o = Pt(), s = Zu(), i = U(Hi), a = U(kr), l = U(zi), c = U(qo), u = U(Et), f = U(Wo), d = U(Yu), p = U(Ar), g = U(y2), b = U(Gi), [E, R] = J(!1), [h, v] = te(ln), y = te(Zo), [S] = te(Xu), [C, L] = J({ id: null, originalRule: null });
|
|
10588
10588
|
j(() => {
|
|
10589
10589
|
s && k();
|
|
10590
10590
|
}, [s]), j(() => {
|
|
@@ -10684,7 +10684,7 @@ fd.propTypes = {
|
|
|
10684
10684
|
isViewSelectorVisible: w.bool
|
|
10685
10685
|
};
|
|
10686
10686
|
function fd({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
10687
|
-
const { t: n } = nt(), [r, o] = J(!1), [s, i] = J([]), [a, l] = J(null), c = Pt(), u =
|
|
10687
|
+
const { t: n } = nt(), [r, o] = J(!1), [s, i] = J([]), [a, l] = J(null), c = Pt(), u = U(Et), f = U(ln), d = ".view-selector-portal", [p, g] = J(null), b = pe(null), E = pe(null), R = 6, h = 60;
|
|
10688
10688
|
j(() => {
|
|
10689
10689
|
let k = document.querySelector(d);
|
|
10690
10690
|
if (k) {
|
|
@@ -10896,11 +10896,11 @@ const Bt = he({
|
|
|
10896
10896
|
key: "kioskLocation",
|
|
10897
10897
|
default: null
|
|
10898
10898
|
}), cn = () => {
|
|
10899
|
-
const e =
|
|
10899
|
+
const e = U(Bt), t = Pt();
|
|
10900
10900
|
return !(!e || e && !t);
|
|
10901
10901
|
};
|
|
10902
10902
|
function pd() {
|
|
10903
|
-
const [e, t] = J(null), n = ".reset-view-portal", r = cn(), o =
|
|
10903
|
+
const [e, t] = J(null), n = ".reset-view-portal", r = cn(), o = U(zi), s = U(Et), i = U(ln), a = U(Bt), l = Pt();
|
|
10904
10904
|
function c() {
|
|
10905
10905
|
window.mapsindoors.services.LocationsService.getLocation(o).then((p) => {
|
|
10906
10906
|
p && u([p]);
|
|
@@ -10985,14 +10985,14 @@ gd.propTypes = {
|
|
|
10985
10985
|
};
|
|
10986
10986
|
let Ps;
|
|
10987
10987
|
function gd({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n, onMapPositionInvestigating: r, onViewModeSwitchKnown: o, resetCount: s, mapOptions: i, gmMapId: a, isWayfindingOrDirections: l, currentLanguage: c, setLanguage: u, devicePosition: f }) {
|
|
10988
|
-
const d =
|
|
10988
|
+
const d = U(Fi), p = U(Ui), g = U(zo), [b, E] = te(Ho), [R, h] = te(Et), [, v] = te(Uo), [, y] = te(Vi), S = U(Go), C = U(Ko), L = U(Gu), k = U(Hi), O = U(Wo), [, P] = te(Ku), F = U(Wu), [, W] = te(Nr), A = U(dd), G = U(_n), [ge, ce] = J(!1), [re, de] = J(!1), we = cn();
|
|
10989
10989
|
m2(d);
|
|
10990
10990
|
const [$, V] = pS();
|
|
10991
10991
|
j(() => {
|
|
10992
10992
|
if (!F || p === null && g === null)
|
|
10993
10993
|
return;
|
|
10994
10994
|
let B;
|
|
10995
|
-
const D = F.modules.map((
|
|
10995
|
+
const D = F.modules.map((H) => H.toLowerCase()).includes("mapbox");
|
|
10996
10996
|
n ? D ? g && (B = ut.Mapbox) : p && (B = ut.Google) : g ? B = ut.Mapbox : B = ut.Google, B ? E(B) : (W({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }), E(void 0));
|
|
10997
10997
|
}, [p, g, F]), j(() => {
|
|
10998
10998
|
$ && r();
|
|
@@ -11004,7 +11004,7 @@ function gd({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11004
11004
|
const B = S || C;
|
|
11005
11005
|
if (!B)
|
|
11006
11006
|
return;
|
|
11007
|
-
const D = B.map((
|
|
11007
|
+
const D = B.map((H) => H.id);
|
|
11008
11008
|
A || !R.highlight ? R.filter(D) : R.highlight(D);
|
|
11009
11009
|
}, [S, C, R, A]), j(() => {
|
|
11010
11010
|
R && (isNaN(parseInt(O)) || R.getMapView().tilt(parseInt(O)), isNaN(parseInt(k)) || R.getMapView().rotate(parseInt(k)));
|
|
@@ -11016,11 +11016,11 @@ function gd({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11016
11016
|
let D = B.getTileURL();
|
|
11017
11017
|
if (D) {
|
|
11018
11018
|
D = B.getTileURL().replace("default", Ps);
|
|
11019
|
-
const
|
|
11020
|
-
B.getMapView().setMapsIndoorsTileURL(
|
|
11019
|
+
const H = D == null ? void 0 : D.replace("{floor}", B.getFloor());
|
|
11020
|
+
B.getMapView().setMapsIndoorsTileURL(H);
|
|
11021
11021
|
}
|
|
11022
11022
|
}
|
|
11023
|
-
}, I = (B, D,
|
|
11023
|
+
}, I = (B, D, H) => {
|
|
11024
11024
|
B.on("mouseenter", () => {
|
|
11025
11025
|
var K;
|
|
11026
11026
|
const fe = B.getHoveredLocation();
|
|
@@ -11035,13 +11035,13 @@ function gd({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11035
11035
|
fe.detail.accurate === !0 && v(fe.detail.position);
|
|
11036
11036
|
}) : D.on("position_received", (fe) => {
|
|
11037
11037
|
fe.accurate === !0 && v(fe.position);
|
|
11038
|
-
}), P(D), o(
|
|
11038
|
+
}), P(D), o(H);
|
|
11039
11039
|
};
|
|
11040
11040
|
return j(() => {
|
|
11041
11041
|
Ps = L || "default", T(R);
|
|
11042
11042
|
}, [L]), j(() => {
|
|
11043
|
-
var B, D,
|
|
11044
|
-
G && (mt((B = G == null ? void 0 : G.appSettings) == null ? void 0 : B.viewSelector) ? ce(!1) : ce(((D = G == null ? void 0 : G.appSettings) == null ? void 0 : D.viewSelector.trim().toLowerCase()) === "true"), mt((
|
|
11043
|
+
var B, D, H, q;
|
|
11044
|
+
G && (mt((B = G == null ? void 0 : G.appSettings) == null ? void 0 : B.viewSelector) ? ce(!1) : ce(((D = G == null ? void 0 : G.appSettings) == null ? void 0 : D.viewSelector.trim().toLowerCase()) === "true"), mt((H = G == null ? void 0 : G.appSettings) == null ? void 0 : H.languageSelector) ? de(!1) : de(((q = G == null ? void 0 : G.appSettings) == null ? void 0 : q.languageSelector.trim().toLowerCase()) === "true"));
|
|
11045
11045
|
}, [G]), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
11046
11046
|
d && /* @__PURE__ */ m.jsx(
|
|
11047
11047
|
zu,
|
|
@@ -11073,7 +11073,7 @@ const ea = he({
|
|
|
11073
11073
|
default: void 0
|
|
11074
11074
|
});
|
|
11075
11075
|
function yS() {
|
|
11076
|
-
const e =
|
|
11076
|
+
const e = U(Vt), t = U(ea);
|
|
11077
11077
|
return /* @__PURE__ */ m.jsx("div", { className: "splash-screen", children: /* @__PURE__ */ m.jsxs("div", { className: "splash-screen__container", children: [
|
|
11078
11078
|
/* @__PURE__ */ m.jsx(
|
|
11079
11079
|
"img",
|
|
@@ -11696,7 +11696,7 @@ Cd.propTypes = {
|
|
|
11696
11696
|
active: w.bool
|
|
11697
11697
|
};
|
|
11698
11698
|
function Cd({ onOpen: e, onClose: t, active: n }) {
|
|
11699
|
-
const { t: r } = nt(), o = pe(null), s =
|
|
11699
|
+
const { t: r } = nt(), o = pe(null), s = U(Ar), [, i] = te(Gi), [a, l] = te(ln), [, c] = te(Xo), u = document.querySelector(".venue-selector-portal"), f = (g) => {
|
|
11700
11700
|
i(!0), l(g.name), d();
|
|
11701
11701
|
}, d = () => {
|
|
11702
11702
|
n ? t() : e();
|
|
@@ -12009,7 +12009,7 @@ const Mr = he({
|
|
|
12009
12009
|
key: "shuttleBusOn",
|
|
12010
12010
|
default: !1
|
|
12011
12011
|
}), xd = (e, t, n, r, o) => {
|
|
12012
|
-
const [s, i] = J(), [a, l] = J(), [c, u] = te(Jo), [, f] = te(Mr), [d, p] = J(), g =
|
|
12012
|
+
const [s, i] = J(), [a, l] = J(), [c, u] = te(Jo), [, f] = te(Mr), [d, p] = J(), g = U(_d);
|
|
12013
12013
|
return j(() => {
|
|
12014
12014
|
p(!1);
|
|
12015
12015
|
let b = !0;
|
|
@@ -12053,7 +12053,7 @@ const Mr = he({
|
|
|
12053
12053
|
default: !1
|
|
12054
12054
|
});
|
|
12055
12055
|
function Td(e, t) {
|
|
12056
|
-
const n =
|
|
12056
|
+
const n = U(Ho), [r, o] = J(!1), s = e.getMap();
|
|
12057
12057
|
j(() => {
|
|
12058
12058
|
t && o(!1);
|
|
12059
12059
|
}, [t]);
|
|
@@ -12106,7 +12106,7 @@ Ld.propTypes = {
|
|
|
12106
12106
|
onExpand: w.func
|
|
12107
12107
|
};
|
|
12108
12108
|
function Ld({ openingHours: e, isMondayFirstDayOfTheWeek: t = !0, onExpand: n }) {
|
|
12109
|
-
const { t: r } = nt(), [o, s] = J(!1), a =
|
|
12109
|
+
const { t: r } = nt(), [o, s] = J(!1), a = U(xn) ?? navigator.language, l = mn(() => new Date(2020, 0, 1, 13).toLocaleTimeString(a).match(/AM|PM/) !== null, [a]), c = (/* @__PURE__ */ new Date()).getDay(), u = mn(() => {
|
|
12110
12110
|
const y = [];
|
|
12111
12111
|
for (let S = 0; S < 7; S++)
|
|
12112
12112
|
y.push(new Date(2024, 0, S + 1));
|
|
@@ -12311,7 +12311,7 @@ Md.propTypes = {
|
|
|
12311
12311
|
buttonClassName: w.string
|
|
12312
12312
|
};
|
|
12313
12313
|
function Md({ location: e, buttonClassName: t }) {
|
|
12314
|
-
const { t: n } = nt(), [r, o] = J(!1), s =
|
|
12314
|
+
const { t: n } = nt(), [r, o] = J(!1), s = U(kd), [i, a] = J(), l = U(Pd), [c, u] = J(!1), [f, d] = J(!1), p = U(Bt), [, g] = te(ns), b = Pt();
|
|
12315
12315
|
j(() => {
|
|
12316
12316
|
s && e && a(s + "&locationId=" + e.id);
|
|
12317
12317
|
}, [s, e]), j(() => {
|
|
@@ -12392,7 +12392,7 @@ ra.propTypes = {
|
|
|
12392
12392
|
};
|
|
12393
12393
|
function ra({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections: r, isOpen: o, snapPointSwipedByUser: s }) {
|
|
12394
12394
|
var qe, Ze, dt, yt;
|
|
12395
|
-
const { t: i } = nt(), a = pe(null), l = pe(null), c = pe(null), u = pe(null), f = pe(null), [d, p] = J(!1), [g, b] = J(!1), [E, R] = J(!1), h = pe(!1), [v, y] = J(null), S =
|
|
12395
|
+
const { t: i } = nt(), a = pe(null), l = pe(null), c = pe(null), u = pe(null), f = pe(null), [d, p] = J(!1), [g, b] = J(!1), [E, R] = J(!1), h = pe(!1), [v, y] = J(null), S = U(Et), C = U(Qt), L = (qe = C == null ? void 0 : C.properties) == null ? void 0 : qe.additionalDetails, k = (Ze = L == null ? void 0 : L.find((Le) => Le.key.toLowerCase().includes("openinghours") && Le.active === !0)) == null ? void 0 : Ze.openingHours, [O, P] = BS(C, c), F = Jn(), W = U(Vt), A = U(Bt), G = U(Vi), [ge, ce] = J(), [re, de] = J(), [we, $] = J(!0), V = Pt(), x = U(Ir), T = U(Or), [, , I] = xd(re, ge, G, x, T), B = U(es), D = Td(S, o), H = U(_n), q = (yt = (dt = H == null ? void 0 : H.appSettings) == null ? void 0 : dt.excludeFromUI) == null ? void 0 : yt.includes("wayfindingDisabled");
|
|
12396
12396
|
j(() => {
|
|
12397
12397
|
(() => {
|
|
12398
12398
|
if (S && C)
|
|
@@ -12553,7 +12553,7 @@ rs.propTypes = {
|
|
|
12553
12553
|
isHovered: w.bool
|
|
12554
12554
|
};
|
|
12555
12555
|
function rs({ location: e, locationClicked: t, icon: n, isHovered: r }) {
|
|
12556
|
-
const { t: o } = nt(), s = pe(), i =
|
|
12556
|
+
const { t: o } = nt(), s = pe(), i = U(Et), a = U(es);
|
|
12557
12557
|
return j(() => {
|
|
12558
12558
|
var d;
|
|
12559
12559
|
const l = (p) => t(p.detail), c = () => {
|
|
@@ -12571,7 +12571,7 @@ function rs({ location: e, locationClicked: t, icon: n, isHovered: r }) {
|
|
|
12571
12571
|
}, [e, t, r]), /* @__PURE__ */ m.jsx("mi-list-item-location", { level: o("Level"), ref: s, "show-external-id": a });
|
|
12572
12572
|
}
|
|
12573
12573
|
const YS = () => {
|
|
12574
|
-
const [e, t] = J(), n =
|
|
12574
|
+
const [e, t] = J(), n = U(Et), r = U(Zo);
|
|
12575
12575
|
return j(() => {
|
|
12576
12576
|
function o() {
|
|
12577
12577
|
const s = n.getMapView().getCenter();
|
|
@@ -12585,10 +12585,10 @@ const YS = () => {
|
|
|
12585
12585
|
key: "searchInput",
|
|
12586
12586
|
default: void 0
|
|
12587
12587
|
}), po = vo(function(t, n) {
|
|
12588
|
-
const { placeholder: r, mapsindoors: o, results: s, clicked: i, cleared: a, changed: l, category: c, google: u, mapbox: f, disabled: d = !1 } = t, p = pe(), g =
|
|
12588
|
+
const { placeholder: r, mapsindoors: o, results: s, clicked: i, cleared: a, changed: l, category: c, google: u, mapbox: f, disabled: d = !1 } = t, p = pe(), g = U(Uo), b = U(xn), [, E] = te(oa), R = sessionStorage.getItem("mapboxPlacesSessionToken"), h = {
|
|
12589
12589
|
longitude: g == null ? void 0 : g.coords.longitude,
|
|
12590
12590
|
latitude: g == null ? void 0 : g.coords.latitude
|
|
12591
|
-
}, v = YS(), y =
|
|
12591
|
+
}, v = YS(), y = U(ln), S = U(ts);
|
|
12592
12592
|
return yo(n, () => ({
|
|
12593
12593
|
triggerSearch() {
|
|
12594
12594
|
p.current.triggerSearch();
|
|
@@ -12709,7 +12709,7 @@ sa.propTypes = {
|
|
|
12709
12709
|
onAccessibilityChanged: w.func
|
|
12710
12710
|
};
|
|
12711
12711
|
function sa({ onAccessibilityChanged: e }) {
|
|
12712
|
-
const t =
|
|
12712
|
+
const t = U(Vt), [n, r] = te(Or);
|
|
12713
12713
|
function o(s) {
|
|
12714
12714
|
r(s.target.checked), e && e();
|
|
12715
12715
|
}
|
|
@@ -12729,7 +12729,7 @@ function sa({ onAccessibilityChanged: e }) {
|
|
|
12729
12729
|
}
|
|
12730
12730
|
function eb() {
|
|
12731
12731
|
var i, a;
|
|
12732
|
-
const { t: e } = nt(), t =
|
|
12732
|
+
const { t: e } = nt(), t = U(Vt), n = U(_n), [r, o] = te(_d);
|
|
12733
12733
|
function s(l) {
|
|
12734
12734
|
o(l.target.checked);
|
|
12735
12735
|
}
|
|
@@ -12765,7 +12765,7 @@ ia.propTypes = {
|
|
|
12765
12765
|
};
|
|
12766
12766
|
function ia({ onStartDirections: e, onBack: t, directionsToLocation: n, directionsFromLocation: r, onSetSize: o, isActive: s }) {
|
|
12767
12767
|
var ft, ie;
|
|
12768
|
-
const { t: i } = nt(), a = pe(), l = pe(), c = pe(), u = pe(), f =
|
|
12768
|
+
const { t: i } = nt(), a = pe(), l = pe(), c = pe(), u = pe(), f = U(Vi), d = U(Uo), p = U(Qt), g = U(Ho), b = U(Vt), [E, R] = te($d), [h, v] = J(), [, y] = te(Jo), [S, C] = J(!0), [L, k] = J(!1), [O, P] = J([]), [F, W] = J(), [A, G] = J(), ge = U(Or), ce = Jn(), [re, de] = J(!1), [we, $] = te(Ir), [V, x] = J(!1), T = U(zo), I = U(JS), [B, D, H, q] = xd(A, F, f, we, ge), z = U(na), X = U(_n);
|
|
12769
12769
|
function fe(Q) {
|
|
12770
12770
|
return g === ut.Google && Q.properties.type === "google_places" ? qS(Q) : g === ut.Mapbox && Q.properties.type === "mapbox_places" ? XS(Q, T) : Promise.resolve(Q);
|
|
12771
12771
|
}
|
|
@@ -12901,7 +12901,7 @@ function ia({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12901
12901
|
] })
|
|
12902
12902
|
] })
|
|
12903
12903
|
] }),
|
|
12904
|
-
!
|
|
12904
|
+
!H && /* @__PURE__ */ m.jsx("p", { className: "wayfinding__error", children: i("No route found") }),
|
|
12905
12905
|
!S && !V && /* @__PURE__ */ m.jsx("p", { className: "wayfinding__error", children: i("Nothing was found") }),
|
|
12906
12906
|
d && V && /* @__PURE__ */ m.jsxs("button", { type: "button", className: "wayfinding__use-current-position", onClick: () => Ke(), children: [
|
|
12907
12907
|
/* @__PURE__ */ m.jsx(QS, {}),
|
|
@@ -12921,7 +12921,7 @@ function ia({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12921
12921
|
),
|
|
12922
12922
|
re && /* @__PURE__ */ m.jsx("img", { className: "wayfinding__google", alt: "Powered by Google", src: ZS })
|
|
12923
12923
|
] }) }),
|
|
12924
|
-
!L && !V &&
|
|
12924
|
+
!L && !V && H && !re && A && F && /* @__PURE__ */ m.jsxs("div", { className: "wayfinding__details", ref: l, children: [
|
|
12925
12925
|
/* @__PURE__ */ m.jsxs("div", { className: "wayfinding__settings", children: [
|
|
12926
12926
|
/* @__PURE__ */ m.jsxs("div", { className: "wayfinding__toggles", children: [
|
|
12927
12927
|
/* @__PURE__ */ m.jsx(sa, {}),
|
|
@@ -13062,7 +13062,7 @@ Bd.propTypes = {
|
|
|
13062
13062
|
isOpen: w.bool
|
|
13063
13063
|
};
|
|
13064
13064
|
function Bd({ steps: e, onNextStep: t, onPreviousStep: n, originLocation: r, isOpen: o }) {
|
|
13065
|
-
const { t: s } = nt(), i = Jn(), a = pe(), [l, c] = J(), [u, f] = te(os), [d, p] = J(), g =
|
|
13065
|
+
const { t: s } = nt(), i = Jn(), a = pe(), [l, c] = J(), [u, f] = te(os), [d, p] = J(), g = U(Mr), b = U(ss), [, E] = te(jd), R = cn();
|
|
13066
13066
|
j(() => {
|
|
13067
13067
|
p(e);
|
|
13068
13068
|
}, [e]), j(() => {
|
|
@@ -13124,7 +13124,7 @@ aa.propTypes = {
|
|
|
13124
13124
|
snapPointSwipedByUser: w.string
|
|
13125
13125
|
};
|
|
13126
13126
|
function aa({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointSwipedByUser: o }) {
|
|
13127
|
-
const { t: s } = nt(), i = pe(), [a, l] = J(null), c = pe(null), [u, f] = J(), d =
|
|
13127
|
+
const { t: s } = nt(), i = pe(), [a, l] = J(null), c = pe(null), [u, f] = J(), d = U(Et), p = U(Ir), g = U(Mr), [, b] = te(os), [E, R] = te(ss), h = U(Bt), v = Pt(), [, y] = te(ns), S = U(jd), C = U(Vt), L = cn(), k = U(es), O = U(kd), P = U(Qt), F = U(Ho);
|
|
13128
13128
|
j(() => () => {
|
|
13129
13129
|
l(null);
|
|
13130
13130
|
}, []), j(() => {
|
|
@@ -13243,7 +13243,7 @@ const Fd = he({
|
|
|
13243
13243
|
key: "useKeyboard",
|
|
13244
13244
|
default: !1
|
|
13245
13245
|
}), Ud = vo(function(t, n) {
|
|
13246
|
-
const { searchInputElement: r } = t, o = pe(), s =
|
|
13246
|
+
const { searchInputElement: r } = t, o = pe(), s = U(xn);
|
|
13247
13247
|
return yo(n, () => ({
|
|
13248
13248
|
clearInputField() {
|
|
13249
13249
|
o.current.clearInputField();
|
|
@@ -13295,15 +13295,15 @@ fi.propTypes = {
|
|
|
13295
13295
|
categoryOrientation: w.oneOf(["horizontal", "vertical"])
|
|
13296
13296
|
};
|
|
13297
13297
|
function fi({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen: r, topLevelCategory: o, handleBack: s, selectedCategoriesArray: i, categoryOrientation: a }) {
|
|
13298
|
-
const l =
|
|
13298
|
+
const l = U(kr), c = Pt(), [u, f] = te(la), [, d] = te(is), [, p] = te(Go), g = Jn(), [b, E] = J(), R = U(ib), h = U(Hd), v = U(Et), y = Td(v, r), [S, C] = J([]), [L, k] = J([]), { t: O } = nt(), P = cn(), F = pe(null), [W, A] = J(!1), [G, ge] = J(!1), ce = (T) => {
|
|
13299
13299
|
we && F.current && F.current.scrollBy({
|
|
13300
13300
|
left: T === "left" ? -200 : 200,
|
|
13301
13301
|
behavior: "smooth"
|
|
13302
13302
|
});
|
|
13303
13303
|
}, re = () => {
|
|
13304
13304
|
if (F.current) {
|
|
13305
|
-
const { scrollLeft: T, scrollWidth: I, clientWidth: B } = F.current, D = T <= 0,
|
|
13306
|
-
A(!D), ge(!
|
|
13305
|
+
const { scrollLeft: T, scrollWidth: I, clientWidth: B } = F.current, D = T <= 0, H = T >= I - B - 1;
|
|
13306
|
+
A(!D), ge(!H);
|
|
13307
13307
|
}
|
|
13308
13308
|
}, de = !o && S.length === 0, we = P && a === "horizontal" && !de;
|
|
13309
13309
|
j(() => {
|
|
@@ -13330,7 +13330,7 @@ function fi({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen:
|
|
|
13330
13330
|
}, [u]), j(() => {
|
|
13331
13331
|
b && h !== void 0 && (c || !c && R) && b.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
13332
13332
|
}, [b, h, R]), j(() => {
|
|
13333
|
-
var B, D,
|
|
13333
|
+
var B, D, H;
|
|
13334
13334
|
let T = [];
|
|
13335
13335
|
if (o) {
|
|
13336
13336
|
const q = l.flatMap(([, z]) => z.childKeys || []);
|
|
@@ -13340,7 +13340,7 @@ function fi({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen:
|
|
|
13340
13340
|
T = l.filter(([X]) => z.includes(X));
|
|
13341
13341
|
}
|
|
13342
13342
|
C(T);
|
|
13343
|
-
const I = (
|
|
13343
|
+
const I = (H = (D = l.find(([q]) => q === u)) == null ? void 0 : D[1]) == null ? void 0 : H.displayName;
|
|
13344
13344
|
k(I);
|
|
13345
13345
|
}, [l]), /* @__PURE__ */ m.jsx("div", { className: $, ...g, children: l.length > 0 && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
13346
13346
|
!o && /* @__PURE__ */ m.jsxs("div", { className: "categories__nav", children: [
|
|
@@ -13436,14 +13436,14 @@ ua.propTypes = {
|
|
|
13436
13436
|
isOpen: w.bool
|
|
13437
13437
|
};
|
|
13438
13438
|
function ua({ onSetSize: e, isOpen: t }) {
|
|
13439
|
-
const n =
|
|
13439
|
+
const n = U(_n), { t: r } = nt(), o = pe(), s = pe(), i = pe(), a = pe(), l = pe(), c = 100, [u, f] = te(is), d = U(kr), p = U(Fd), [g, b] = J(!1), [E, R] = te(la), h = Jn(), [v, y] = J(), S = U(Et), [, C] = te(Go), [, L] = te(Qt), [, k] = te(Xo), [O, P] = te(ln), F = U(xn), W = Pt(), A = U(Bt), [G, ge] = J(!1), ce = U(oa), re = cn(), [, de] = te(as), [we, $] = J(!1), V = U(zd), x = U(ts), T = U(Ar), I = U(ca), [B, D] = J(!1), H = pe([]), [q, z] = J([]), [X, fe] = J(!1);
|
|
13440
13440
|
function K() {
|
|
13441
13441
|
var ie, Q, _e;
|
|
13442
|
-
|
|
13442
|
+
H.current.length === 1 ? (R(null), f([]), C([]), Ie(Ce.FIT), D(!0), ((Q = (ie = a.current) == null ? void 0 : ie.getValue()) == null ? void 0 : Q.trim()) ? a.current.triggerSearch() : (_e = a.current) == null || _e.clear(), H.current.pop()) : (H.current.pop(), R(H.current[0]));
|
|
13443
13443
|
}
|
|
13444
13444
|
function Se(ie) {
|
|
13445
13445
|
var Q;
|
|
13446
|
-
|
|
13446
|
+
H.current.includes(ie) || H.current.push(ie), E && (R([]), f([]), C([])), R(ie), window.mapsindoors.services.LocationsService.getLocations({
|
|
13447
13447
|
categories: ie,
|
|
13448
13448
|
venue: x || (Q = T.find((_e) => _e.name.toLowerCase() === O.toLowerCase())) == null ? void 0 : Q.name
|
|
13449
13449
|
}).then((_e) => Fe(_e, !0));
|
|
@@ -13534,7 +13534,7 @@ function ua({ onSetSize: e, isOpen: t }) {
|
|
|
13534
13534
|
), Xt = Me.target.closest(".search__results");
|
|
13535
13535
|
et ? (Ie(Ce.MAX), i.current = requestAnimationFrame(() => {
|
|
13536
13536
|
D(!0);
|
|
13537
|
-
})) : !Xt && !Ut && (D(!1), Ie(Ce.MIN), R(null), f([]), C([]),
|
|
13537
|
+
})) : !Xt && !Ut && (D(!1), Ie(Ce.MIN), R(null), f([]), C([]), H.current = []);
|
|
13538
13538
|
};
|
|
13539
13539
|
return t ? i.current = requestAnimationFrame(() => {
|
|
13540
13540
|
document.addEventListener("click", _e);
|
|
@@ -13544,8 +13544,8 @@ function ua({ onSetSize: e, isOpen: t }) {
|
|
|
13544
13544
|
}, [t]), j(() => () => {
|
|
13545
13545
|
y();
|
|
13546
13546
|
}, []), j(() => {
|
|
13547
|
-
t && !E && (
|
|
13548
|
-
}, [t, E
|
|
13547
|
+
t && !E && (f([]), C([]), b(!1), H.current = []);
|
|
13548
|
+
}, [t, E]), j(() => {
|
|
13549
13549
|
E && O !== I && (f([]), R(null));
|
|
13550
13550
|
}, [O]), j(() => {
|
|
13551
13551
|
E && window.mapsindoors.services.LocationsService.once("update_completed", () => {
|
|
@@ -13628,7 +13628,7 @@ function ua({ onSetSize: e, isOpen: t }) {
|
|
|
13628
13628
|
onLocationClicked: yt,
|
|
13629
13629
|
childKeys: q,
|
|
13630
13630
|
topLevelCategory: !1,
|
|
13631
|
-
selectedCategoriesArray:
|
|
13631
|
+
selectedCategoriesArray: H,
|
|
13632
13632
|
categoryOrientation: X ? "horizontal" : "vertical"
|
|
13633
13633
|
}
|
|
13634
13634
|
),
|
|
@@ -13843,7 +13843,7 @@ const cb = {
|
|
|
13843
13843
|
default: !1
|
|
13844
13844
|
});
|
|
13845
13845
|
function fb() {
|
|
13846
|
-
const e =
|
|
13846
|
+
const e = U(ca), [, t] = te(ln), n = Xe(os), r = Xe(Qt), o = Xe(Mr), s = Xe(Jo), i = Xe(Xo), a = Xe(Nr), l = Xe(db), c = Xe(ss), u = Xe(Ir), f = Xe(is), d = Xe(Or), p = Xe(as), g = Xe(Qu), b = Xe(Gi);
|
|
13847
13847
|
return () => {
|
|
13848
13848
|
n(), r(), o(), s(), i(), a(), l(), c(), u(), f(), d(), p(), g(), b(), e && t(e);
|
|
13849
13849
|
};
|
|
@@ -13853,7 +13853,7 @@ jn.propTypes = {
|
|
|
13853
13853
|
isOpen: w.bool
|
|
13854
13854
|
};
|
|
13855
13855
|
function jn({ children: e, isOpen: t }) {
|
|
13856
|
-
const [n, r] = J(!1), o =
|
|
13856
|
+
const [n, r] = J(!1), o = U(Bt), s = pe(), i = pe();
|
|
13857
13857
|
return j(() => {
|
|
13858
13858
|
if (!i)
|
|
13859
13859
|
return;
|
|
@@ -13884,7 +13884,7 @@ Kd.propTypes = {
|
|
|
13884
13884
|
onRouteFinished: w.func
|
|
13885
13885
|
};
|
|
13886
13886
|
function Kd({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n, currentAppView: r, appViews: o, onRouteFinished: s }) {
|
|
13887
|
-
const [i, a] = te(Qt), [l, c] = te(Ko), [, u] = te(qo), f =
|
|
13887
|
+
const [i, a] = te(Qt), [l, c] = te(Ko), [, u] = te(qo), f = U(Bt);
|
|
13888
13888
|
j(() => {
|
|
13889
13889
|
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));
|
|
13890
13890
|
}, [i, e, t, l]);
|
|
@@ -13938,7 +13938,7 @@ function Kd({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
|
|
|
13938
13938
|
return /* @__PURE__ */ m.jsx("div", { children: b });
|
|
13939
13939
|
}
|
|
13940
13940
|
const zl = (e) => {
|
|
13941
|
-
const [t, n] = J(), r =
|
|
13941
|
+
const [t, n] = J(), r = U(Uo), o = U(Ku);
|
|
13942
13942
|
return j(() => {
|
|
13943
13943
|
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)));
|
|
13944
13944
|
}, [e, r, o]), t;
|
|
@@ -13947,7 +13947,7 @@ const zl = (e) => {
|
|
|
13947
13947
|
default: null
|
|
13948
13948
|
});
|
|
13949
13949
|
function pb() {
|
|
13950
|
-
const e =
|
|
13950
|
+
const e = U(Nr), t = pe();
|
|
13951
13951
|
return j(() => {
|
|
13952
13952
|
var n;
|
|
13953
13953
|
(n = t.current) == null || n.classList.add("notification"), e ? t.current.push(e.text, e.type, !0) : t.current.clearAll();
|
|
@@ -15438,7 +15438,7 @@ $r.toString = ma.bind(null, function(e, t, n) {
|
|
|
15438
15438
|
return r3.render(e, n);
|
|
15439
15439
|
});
|
|
15440
15440
|
function o3() {
|
|
15441
|
-
const { t: e } = nt(), [t, n] = te(ns), r = pe(), o =
|
|
15441
|
+
const { t: e } = nt(), [t, n] = te(ns), r = pe(), o = U(Vt);
|
|
15442
15442
|
return j(() => {
|
|
15443
15443
|
const s = {
|
|
15444
15444
|
errorCorrectionLevel: "L",
|
|
@@ -15462,7 +15462,7 @@ const s3 = he({
|
|
|
15462
15462
|
default: void 0
|
|
15463
15463
|
});
|
|
15464
15464
|
function i3() {
|
|
15465
|
-
const { t: e } = nt(), t =
|
|
15465
|
+
const { t: e } = nt(), t = U(Vt), n = U(zd), r = cn(), o = pe(), s = pe(), i = pe(), [a, l] = te(as), [c, u] = J(!1), f = pe();
|
|
15466
15466
|
let d = 700;
|
|
15467
15467
|
return j(() => {
|
|
15468
15468
|
a && r && u(f.current.clientHeight > d);
|
|
@@ -15492,7 +15492,7 @@ function i3() {
|
|
|
15492
15492
|
] });
|
|
15493
15493
|
}
|
|
15494
15494
|
const a3 = () => {
|
|
15495
|
-
const [e, t] = te(ln), n =
|
|
15495
|
+
const [e, t] = te(ln), n = U(Ar), r = U(Et), o = U(_n), [, s] = te(kr), [, i] = te(is), a = U(oa), [l, c] = te(ca);
|
|
15496
15496
|
j(() => {
|
|
15497
15497
|
var d;
|
|
15498
15498
|
!e && n.length && t((d = u()) == null ? void 0 : d.name);
|
|
@@ -15578,13 +15578,13 @@ uf.propTypes = {
|
|
|
15578
15578
|
devicePosition: w.object
|
|
15579
15579
|
};
|
|
15580
15580
|
function uf({ 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: L, searchAllVenues: k, hideNonMatches: O, showRoadNames: P, showExternalIDs: F, searchExternalLocations: W, center: A, useAppTitle: G, showMapMarkers: ge, mapboxMapStyle: ce, devicePosition: re }) {
|
|
15581
|
-
const [de, we] = J(!1), [$, V] = J({ brandingColor: s }), [, x] = te(Fi), [, T] = te(Ui), [, I] = te(zo), [B, D] = te(Zo), [
|
|
15581
|
+
const [de, we] = J(!1), [$, V] = J({ brandingColor: s }), [, x] = te(Fi), [, T] = te(Ui), [, I] = te(zo), [B, D] = te(Zo), [H, q] = te(Ar), [z, X] = te(Qt), fe = U(kr), [, K] = te(qo), [Se, Ie] = te(Vt), [, Ke] = te(ea), [, Fe] = te(hb), Ne = U(Et), [qe, Ze] = te(xn), [, dt] = te(Bt), [, yt] = te(zi), [, Le] = te(qu), We = Zu(), [, ot] = te(Pd), [, ft] = te(Fd), [, ie] = te(s3), [, Q] = te(la), [, _e] = te(ts), [, Me] = te(Hd), [, et] = te(dd), [, Ut] = te(es), [, Xt] = te(l3), [, Ht] = te(na), [, er] = te(Xu), [M, N] = J(), Y = pe(), [, ae] = te($d), se = U(ns), [ue, me] = J(!0), [ye, ve] = J(!0), xe = zl(l), Ue = zl(c), [rt, Qe] = J(!1), [, st] = te(Ko), [ht, Lt] = te(Go), [Jt, Nt] = J(), [ee, fs] = te(_n), [, hs] = te(Wu), [, ps] = te(Gu), [, _] = te(Yu), [, Z] = te(Hi), [, le] = te(Wo), be = Pt(), Oe = fb(), [De, ke, Ee, it, Ae, Ye] = ub(), [$e, en] = J(!1), jr = U(as), [wt, va] = J(0), [gs, df] = a3(), ff = c3(), [, hf] = te(Nr);
|
|
15582
15582
|
function pf() {
|
|
15583
15583
|
return new Promise((oe) => {
|
|
15584
15584
|
if (window.mapsindoors !== void 0)
|
|
15585
15585
|
return oe();
|
|
15586
15586
|
const je = document.createElement("script");
|
|
15587
|
-
je.setAttribute("type", "text/javascript"), je.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.46.
|
|
15587
|
+
je.setAttribute("type", "text/javascript"), je.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.46.1/mapsindoors-4.46.1.js.gz"), je.setAttribute("integrity", "sha384-UIZ8ZRvII99qxHaf7YG0mGf2g6idRr6YDVpCQkVeP+zJntNk6m+aZZ4ekFVghmDH"), je.setAttribute("crossorigin", "anonymous"), document.body.appendChild(je), je.onload = () => {
|
|
15588
15588
|
oe();
|
|
15589
15589
|
};
|
|
15590
15590
|
});
|
|
@@ -15603,7 +15603,7 @@ function uf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15603
15603
|
if ($e) {
|
|
15604
15604
|
const je = qe ?? h ?? ((oe = ee == null ? void 0 : ee.appSettings) == null ? void 0 : oe.language) ?? navigator.language;
|
|
15605
15605
|
window.mapsindoors.MapsIndoors.setLanguage(je.split("-")[0]), window.mapsindoors.services.LocationsService.once("update_completed", () => {
|
|
15606
|
-
fe.length > 0 && df(),
|
|
15606
|
+
fe.length > 0 && df(), H.length > 0 && window.mapsindoors.services.VenuesService.getVenues().then((ct) => {
|
|
15607
15607
|
ct = ct.map((zt) => (zt.image = ee.venueImages[zt.name.toLowerCase()], zt)), q(ct);
|
|
15608
15608
|
}), z && window.mapsindoors.services.LocationsService.getLocation(z.id).then((ct) => X(ct));
|
|
15609
15609
|
}), (!tt.language || tt.language !== je) && (tt.isInitialized ? tt.changeLanguage(je) : Xy(je));
|
|
@@ -15751,11 +15751,11 @@ function uf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15751
15751
|
de || (h && qe !== h ? Ze(h) : !h && ((oe = ee == null ? void 0 : ee.appSettings) != null && oe.language) && qe !== ee.appSettings.language && Ze(ee.appSettings.language));
|
|
15752
15752
|
}, [h, ee, qe, Ze, de]), /* @__PURE__ */ m.jsxs("div", { className: `mapsindoors-map
|
|
15753
15753
|
${Ee === Ae.DIRECTIONS ? "mapsindoors-map--hide-elements" : "mapsindoors-map--show-elements"}
|
|
15754
|
-
${
|
|
15754
|
+
${H.length > 1 && ue ? "" : "mapsindoors-map--hide-venue-selector"}
|
|
15755
15755
|
${ye ? "mapsindoors-map--show-my-position" : "mapsindoors-map--hide-my-position"}`, children: [
|
|
15756
15756
|
/* @__PURE__ */ m.jsx(pb, {}),
|
|
15757
15757
|
!B && /* @__PURE__ */ m.jsx(yS, {}),
|
|
15758
|
-
|
|
15758
|
+
H.length > 1 && ue && /* @__PURE__ */ m.jsx(
|
|
15759
15759
|
Cd,
|
|
15760
15760
|
{
|
|
15761
15761
|
onOpen: () => De(Ae.VENUE_SELECTOR),
|
|
@@ -15918,4 +15918,4 @@ export {
|
|
|
15918
15918
|
m as j,
|
|
15919
15919
|
g3 as r
|
|
15920
15920
|
};
|
|
15921
|
-
//# sourceMappingURL=reactcomponent-
|
|
15921
|
+
//# sourceMappingURL=reactcomponent-3c530c02.mjs.map
|