@mapsindoors/map-template 1.89.6 → 1.89.7
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-cedfbcdc.mjs → GoogleMapsMap-c19c7608.mjs} +2 -2
- package/dist/{MapboxMap-85b89054.mjs → MapboxMap-491b2b89.mjs} +2 -2
- package/dist/{combo-box-item.entry-b2af464e.mjs → combo-box-item.entry-ffe3790d.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +24 -24
- package/dist/mapsindoors-webcomponent.es.js +1138 -1133
- package/dist/mapsindoors-webcomponent.umd.js +23 -23
- package/dist/{mi-card_2.entry-6815629d.mjs → mi-card_2.entry-23b48e0e.mjs} +2 -2
- package/dist/{mi-chip.entry-c2b4e3d7.mjs → mi-chip.entry-2536a1f4.mjs} +2 -2
- package/dist/{mi-column.entry-79c950ca.mjs → mi-column.entry-d08a8616.mjs} +2 -2
- package/dist/{mi-combo-box.entry-3235fc74.mjs → mi-combo-box.entry-76e372cf.mjs} +2 -2
- package/dist/{mi-data-table.entry-a01c0b6a.mjs → mi-data-table.entry-8424d85e.mjs} +2 -2
- package/dist/{mi-distance_2.entry-e7e6161b.mjs → mi-distance_2.entry-312210c5.mjs} +2 -2
- package/dist/{mi-dropdown-item.entry-f5a036f6.mjs → mi-dropdown-item.entry-7109267f.mjs} +2 -2
- package/dist/{mi-dropdown.entry-7e35cd60.mjs → mi-dropdown.entry-1554e13f.mjs} +2 -2
- package/dist/{mi-floor-selector.entry-d705862a.mjs → mi-floor-selector.entry-4942a0df.mjs} +2 -2
- package/dist/{mi-keyboard.entry-0e61025b.mjs → mi-keyboard.entry-7d07fe70.mjs} +2 -2
- package/dist/{mi-list-item-category.entry-85ab3193.mjs → mi-list-item-category.entry-409fde95.mjs} +2 -2
- package/dist/{mi-list-item-location.entry-a90129eb.mjs → mi-list-item-location.entry-19e046a4.mjs} +2 -2
- package/dist/{mi-list.entry-749f0527.mjs → mi-list.entry-f781c284.mjs} +2 -2
- package/dist/{mi-location-booking.entry-ca875dbd.mjs → mi-location-booking.entry-0b18220b.mjs} +2 -2
- package/dist/{mi-location-info.entry-e995dc28.mjs → mi-location-info.entry-35f8fa6b.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-2c7929d1.mjs → mi-map-googlemaps.entry-5392580c.mjs} +2 -2
- package/dist/{mi-map-mapbox.entry-4816aefb.mjs → mi-map-mapbox.entry-84be0b5c.mjs} +2 -2
- package/dist/{mi-metric-card.entry-6725ff9d.mjs → mi-metric-card.entry-49310d9f.mjs} +2 -2
- package/dist/{mi-my-position.entry-1a850cb9.mjs → mi-my-position.entry-08887434.mjs} +2 -2
- package/dist/{mi-notification.entry-55cd55a9.mjs → mi-notification.entry-5f9b4b2f.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-754aa4a1.mjs → mi-route-instructions-heading.entry-9a2ee863.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver-legacy.entry-e52f9015.mjs → mi-route-instructions-maneuver-legacy.entry-99289b32.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver.entry-7e7bbd3b.mjs → mi-route-instructions-maneuver.entry-04705320.mjs} +2 -2
- package/dist/{mi-route-instructions-step-legacy.entry-56ccfe80.mjs → mi-route-instructions-step-legacy.entry-9279b785.mjs} +2 -2
- package/dist/{mi-route-instructions-step.entry-40701314.mjs → mi-route-instructions-step.entry-0d0eabf7.mjs} +2 -2
- package/dist/{mi-route-instructions.entry-4b6b0bb0.mjs → mi-route-instructions.entry-be88849b.mjs} +2 -2
- package/dist/{mi-scroll-buttons.entry-e24e68e3.mjs → mi-scroll-buttons.entry-e19d6c62.mjs} +2 -2
- package/dist/{mi-search.entry-74f2acd7.mjs → mi-search.entry-dd7097d8.mjs} +2 -2
- package/dist/{mi-share-sms.entry-5d27116d.mjs → mi-share-sms.entry-979d5e60.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-9e605cbf.mjs → mi-step-switcher.entry-eafc6779.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-ce6d3cfc.mjs → mi-tab-panel.entry-f9a84654.mjs} +2 -2
- package/dist/{mi-tab.entry-58ef8dcf.mjs → mi-tab.entry-323bf8d1.mjs} +2 -2
- package/dist/{mi-tabs.entry-476eccfe.mjs → mi-tabs.entry-ac64e1c4.mjs} +2 -2
- package/dist/{mi-time.entry-8124b5c9.mjs → mi-time.entry-9bbbee27.mjs} +2 -2
- package/dist/{reactcomponent-6198258f.mjs → reactcomponent-bb71784c.mjs} +191 -186
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ne from "react";
|
|
2
|
-
import Pe, { createContext as ql, useContext as Zl, useState as J, useRef as
|
|
2
|
+
import Pe, { createContext as ql, useContext as Zl, useState as J, useRef as ge, useEffect as j, 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) {
|
|
@@ -162,13 +162,13 @@ function Ef() {
|
|
|
162
162
|
}
|
|
163
163
|
return null;
|
|
164
164
|
}
|
|
165
|
-
var G = Object.assign,
|
|
165
|
+
var G = Object.assign, fe = 0, ce, oe, de, we, $, U, x;
|
|
166
166
|
function k() {
|
|
167
167
|
}
|
|
168
168
|
k.__reactDisabledLog = !0;
|
|
169
169
|
function D() {
|
|
170
170
|
{
|
|
171
|
-
if (
|
|
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;
|
|
173
173
|
var _ = {
|
|
174
174
|
configurable: !0,
|
|
@@ -186,12 +186,12 @@ function Ef() {
|
|
|
186
186
|
groupEnd: _
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
|
-
|
|
189
|
+
fe++;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
function B() {
|
|
193
193
|
{
|
|
194
|
-
if (
|
|
194
|
+
if (fe--, fe === 0) {
|
|
195
195
|
var _ = {
|
|
196
196
|
configurable: !0,
|
|
197
197
|
enumerable: !0,
|
|
@@ -221,7 +221,7 @@ function Ef() {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
|
-
|
|
224
|
+
fe < 0 && h("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
var P = R.ReactCurrentDispatcher, V;
|
|
@@ -240,8 +240,8 @@ function Ef() {
|
|
|
240
240
|
}
|
|
241
241
|
var z = !1, X;
|
|
242
242
|
{
|
|
243
|
-
var
|
|
244
|
-
X = new
|
|
243
|
+
var he = typeof WeakMap == "function" ? WeakMap : Map;
|
|
244
|
+
X = new he();
|
|
245
245
|
}
|
|
246
246
|
function K(_, Z) {
|
|
247
247
|
if (!_ || z)
|
|
@@ -1228,7 +1228,7 @@ var mh = gh(function(e) {
|
|
|
1228
1228
|
Ue && !T(Ue) && (ue[me++] = Ue, ye |= 1 << ve);
|
|
1229
1229
|
}
|
|
1230
1230
|
return M(L, ye, ue);
|
|
1231
|
-
},
|
|
1231
|
+
}, fe = function I(L, q, ae, se, ue, me) {
|
|
1232
1232
|
if (ae === ue)
|
|
1233
1233
|
return O(L, ae, [me, se]);
|
|
1234
1234
|
var ye = d(q, ae), ve = d(q, ue);
|
|
@@ -1251,14 +1251,14 @@ var mh = gh(function(e) {
|
|
|
1251
1251
|
return ve === this.value ? this : ve === l ? (--ye.value, C) : oe(L, this) ? (this.value = ve, this) : N(L, ue, me, ve);
|
|
1252
1252
|
}
|
|
1253
1253
|
var xe = se();
|
|
1254
|
-
return xe === l ? this : (++ye.value,
|
|
1254
|
+
return xe === l ? this : (++ye.value, fe(L, ae, this.hash, this, ue, N(L, ue, me, xe)));
|
|
1255
1255
|
}, we = function(L, q, ae, se, ue, me, ye) {
|
|
1256
1256
|
if (ue === this.hash) {
|
|
1257
1257
|
var ve = oe(L, this), xe = ce(ve, L, q, this.hash, this.children, se, me, ye);
|
|
1258
1258
|
return xe === this.children ? this : xe.length > 1 ? O(L, this.hash, xe) : xe[0];
|
|
1259
1259
|
}
|
|
1260
1260
|
var Ue = se();
|
|
1261
|
-
return Ue === l ? this : (++ye.value,
|
|
1261
|
+
return Ue === l ? this : (++ye.value, fe(L, ae, this.hash, this, ue, N(L, ue, me, Ue)));
|
|
1262
1262
|
}, $ = function(L, q, ae, se, ue, me, ye) {
|
|
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)
|
|
@@ -1390,11 +1390,11 @@ var mh = gh(function(e) {
|
|
|
1390
1390
|
x.prototype.modifyHash = function(I, L, q) {
|
|
1391
1391
|
return X(q, I, L, this);
|
|
1392
1392
|
};
|
|
1393
|
-
var
|
|
1393
|
+
var he = n.modify = function(I, L, q) {
|
|
1394
1394
|
return X(I, q._config.hash(L), L, q);
|
|
1395
1395
|
};
|
|
1396
1396
|
x.prototype.modify = function(I, L) {
|
|
1397
|
-
return
|
|
1397
|
+
return he(L, I, this);
|
|
1398
1398
|
};
|
|
1399
1399
|
var K = n.setHash = function(I, L, q, ae) {
|
|
1400
1400
|
return X(c(q), I, L, ae);
|
|
@@ -4075,8 +4075,8 @@ function du(e) {
|
|
|
4075
4075
|
if (K != null)
|
|
4076
4076
|
return K.loadingLoadable.contents;
|
|
4077
4077
|
}
|
|
4078
|
-
const [X,
|
|
4079
|
-
if (X.state !== "loading" && g(x, D, P, X,
|
|
4078
|
+
const [X, he] = C(x, D, P);
|
|
4079
|
+
if (X.state !== "loading" && g(x, D, P, X, he), X.state === "hasError")
|
|
4080
4080
|
throw X.contents;
|
|
4081
4081
|
return X.contents;
|
|
4082
4082
|
}).catch((W) => {
|
|
@@ -4091,8 +4091,8 @@ function du(e) {
|
|
|
4091
4091
|
function S(x, k, D, 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 X,
|
|
4095
|
-
s0(n, D, x, (X = (
|
|
4094
|
+
var X, he, K;
|
|
4095
|
+
s0(n, D, x, (X = (he = x.getState()) === null || he === void 0 || (K = he.nextTree) === null || K === void 0 ? void 0 : K.version) !== null && X !== void 0 ? X : x.getState().currentTree.version);
|
|
4096
4096
|
}
|
|
4097
4097
|
for (const Se of D)
|
|
4098
4098
|
i.add(Se);
|
|
@@ -4103,7 +4103,7 @@ function du(e) {
|
|
|
4103
4103
|
const W = () => {
|
|
4104
4104
|
B(), V = !1;
|
|
4105
4105
|
};
|
|
4106
|
-
let z, X = !1,
|
|
4106
|
+
let z, X = !1, he;
|
|
4107
4107
|
const K = {
|
|
4108
4108
|
loadingDepKey: null,
|
|
4109
4109
|
loadingDepPromise: null
|
|
@@ -4143,7 +4143,7 @@ function du(e) {
|
|
|
4143
4143
|
} catch (Fe) {
|
|
4144
4144
|
z = Fe, He(z) ? z = y(x, z, k, Se, D, K).finally(W) : (X = !0, W());
|
|
4145
4145
|
}
|
|
4146
|
-
return X ?
|
|
4146
|
+
return X ? he = Vr(z) : He(z) ? he = n0(z) : he = ws(z), P = !1, Y(x, D, Se), S(x, k, new Set(Se.keys()), D), [he, Se];
|
|
4147
4147
|
}
|
|
4148
4148
|
function T(x, k) {
|
|
4149
4149
|
let D = k.atomValues.get(n);
|
|
@@ -4220,13 +4220,13 @@ function du(e) {
|
|
|
4220
4220
|
var D;
|
|
4221
4221
|
return k === ((D = M(x)) === null || D === void 0 ? void 0 : D.executionID);
|
|
4222
4222
|
}
|
|
4223
|
-
function
|
|
4223
|
+
function fe(x) {
|
|
4224
4224
|
return Array.from(x.entries()).map(([k, D]) => [k, D.contents]);
|
|
4225
4225
|
}
|
|
4226
4226
|
function ce(x, k, D) {
|
|
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(
|
|
4229
|
+
a.set(fe(D), k);
|
|
4230
4230
|
} catch (B) {
|
|
4231
4231
|
throw Re(`Problem with setting cache for selector "${n}": ${B.message}`);
|
|
4232
4232
|
}
|
|
@@ -4302,13 +4302,13 @@ function du(e) {
|
|
|
4302
4302
|
function X(K) {
|
|
4303
4303
|
z(K, i0);
|
|
4304
4304
|
}
|
|
4305
|
-
const
|
|
4305
|
+
const he = s({
|
|
4306
4306
|
set: z,
|
|
4307
4307
|
get: W,
|
|
4308
4308
|
reset: X
|
|
4309
4309
|
}, B);
|
|
4310
|
-
if (
|
|
4311
|
-
throw He(
|
|
4310
|
+
if (he !== void 0)
|
|
4311
|
+
throw He(he) ? Re("Recoil: Async selector sets are not currently supported.") : Re("Recoil: selector set should be a void function.");
|
|
4312
4312
|
return P = !0, V;
|
|
4313
4313
|
},
|
|
4314
4314
|
init: d,
|
|
@@ -4418,7 +4418,7 @@ function E0(e) {
|
|
|
4418
4418
|
);
|
|
4419
4419
|
}
|
|
4420
4420
|
return S0(h, $);
|
|
4421
|
-
},
|
|
4421
|
+
}, fe = function($) {
|
|
4422
4422
|
return G($).toPromise();
|
|
4423
4423
|
}, ce = function($) {
|
|
4424
4424
|
var U;
|
|
@@ -4470,9 +4470,9 @@ function E0(e) {
|
|
|
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, X,
|
|
4473
|
+
var z, X, 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
|
-
((X = A) === null || X === void 0 ? void 0 : X.effect) !== $ || ((
|
|
4475
|
+
((X = A) === null || X === void 0 ? void 0 : X.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]);
|
|
@@ -4487,7 +4487,7 @@ function E0(e) {
|
|
|
4487
4487
|
setSelf: oe($),
|
|
4488
4488
|
resetSelf: de($),
|
|
4489
4489
|
onSet: we($),
|
|
4490
|
-
getPromise:
|
|
4490
|
+
getPromise: fe,
|
|
4491
4491
|
getLoadable: G,
|
|
4492
4492
|
getInfo_UNSTABLE: ce
|
|
4493
4493
|
});
|
|
@@ -5019,7 +5019,7 @@ var Qn = {
|
|
|
5019
5019
|
// Memory Management
|
|
5020
5020
|
useRetain: Li,
|
|
5021
5021
|
retentionZone: iv
|
|
5022
|
-
}, xv = Qn.RecoilRoot,
|
|
5022
|
+
}, xv = Qn.RecoilRoot, pe = Qn.atom, Bo = Qn.selector, H = Qn.useRecoilValue, te = Qn.useRecoilState, Xe = Qn.useResetRecoilState;
|
|
5023
5023
|
const Tv = (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 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-ffe3790d.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-23b48e0e.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-2536a1f4.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-d08a8616.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-76e372cf.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-8424d85e.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-312210c5.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-7109267f.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-1554e13f.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-4942a0df.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-7d07fe70.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-409fde95.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-19e046a4.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-f781c284.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-0b18220b.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-35f8fa6b.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-5392580c.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-84be0b5c.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-49310d9f.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-08887434.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-5f9b4b2f.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-9a2ee863.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-99289b32.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-04705320.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-9279b785.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-0d0eabf7.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-be88849b.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-e19d6c62.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-dd7097d8.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-979d5e60.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-eafc6779.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-f9a84654.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-323bf8d1.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-ac64e1c4.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-9bbbee27.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$: "",
|
|
@@ -5861,10 +5861,10 @@ class lo extends Fo {
|
|
|
5861
5861
|
oe && oe.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
5862
5862
|
}
|
|
5863
5863
|
let G = [];
|
|
5864
|
-
const
|
|
5865
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
5866
|
-
for (let oe = 0; oe <
|
|
5867
|
-
G.push(
|
|
5864
|
+
const fe = this.languageUtils.getFallbackCodes(this.options.fallbackLng, n.lng || this.language);
|
|
5865
|
+
if (this.options.saveMissingTo === "fallback" && fe && fe[0])
|
|
5866
|
+
for (let oe = 0; oe < fe.length; oe++)
|
|
5867
|
+
G.push(fe[oe]);
|
|
5868
5868
|
else
|
|
5869
5869
|
this.options.saveMissingTo === "all" ? G = this.languageUtils.toResolveHierarchy(n.lng || this.language) : G.push(n.lng || this.language);
|
|
5870
5870
|
const ce = (oe, de, we) => {
|
|
@@ -7125,7 +7125,7 @@ class Hy {
|
|
|
7125
7125
|
}
|
|
7126
7126
|
}
|
|
7127
7127
|
const zy = (e, t) => {
|
|
7128
|
-
const n =
|
|
7128
|
+
const n = ge();
|
|
7129
7129
|
return j(() => {
|
|
7130
7130
|
n.current = t ? n.current : e;
|
|
7131
7131
|
}, [e, t]), n.current;
|
|
@@ -7161,7 +7161,7 @@ function nt(e) {
|
|
|
7161
7161
|
const [d, p] = J(f);
|
|
7162
7162
|
let g = c.join();
|
|
7163
7163
|
t.lng && (g = `${t.lng}${g}`);
|
|
7164
|
-
const b = zy(g), E =
|
|
7164
|
+
const b = zy(g), E = ge(!0);
|
|
7165
7165
|
j(() => {
|
|
7166
7166
|
const {
|
|
7167
7167
|
bindI18n: v,
|
|
@@ -7179,7 +7179,7 @@ function nt(e) {
|
|
|
7179
7179
|
E.current = !1, v && s && v.split(" ").forEach((C) => s.off(C, S)), y && s && y.split(" ").forEach((C) => s.store.off(C, S));
|
|
7180
7180
|
};
|
|
7181
7181
|
}, [s, g]);
|
|
7182
|
-
const R =
|
|
7182
|
+
const R = ge(!0);
|
|
7183
7183
|
j(() => {
|
|
7184
7184
|
E.current && !R.current && p(f), R.current = !1;
|
|
7185
7185
|
}, [s, l]);
|
|
@@ -8126,7 +8126,7 @@ function t2() {
|
|
|
8126
8126
|
}
|
|
8127
8127
|
}
|
|
8128
8128
|
}
|
|
8129
|
-
var S = l, C = c, T = a, N = i, O = t, M = u, F = r, Y = g, A = p, G = n,
|
|
8129
|
+
var S = l, C = c, T = a, N = i, O = t, M = u, F = r, Y = g, A = p, G = n, fe = s, ce = o, oe = f, de = !1;
|
|
8130
8130
|
function we(K) {
|
|
8131
8131
|
return de || (de = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), $(K) || y(K) === l;
|
|
8132
8132
|
}
|
|
@@ -8163,10 +8163,10 @@ function t2() {
|
|
|
8163
8163
|
function X(K) {
|
|
8164
8164
|
return y(K) === o;
|
|
8165
8165
|
}
|
|
8166
|
-
function
|
|
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 =
|
|
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 = D, Ve.isFragment = B, Ve.isLazy = P, Ve.isMemo = V, Ve.isPortal = W, Ve.isProfiler = z, Ve.isStrictMode = X, 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, X,
|
|
8347
|
-
if (W = W || d, X = X || V,
|
|
8346
|
+
function k(B, P, V, W, z, X, he) {
|
|
8347
|
+
if (W = W || d, X = X || 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"
|
|
@@ -8439,7 +8439,7 @@ function o2() {
|
|
|
8439
8439
|
for (var V = x[k], W = 0; W < $.length; W++)
|
|
8440
8440
|
if (g(V, $[W]))
|
|
8441
8441
|
return null;
|
|
8442
|
-
var z = JSON.stringify($, function(
|
|
8442
|
+
var z = JSON.stringify($, function(he, K) {
|
|
8443
8443
|
var Se = oe(K);
|
|
8444
8444
|
return Se === "symbol" ? String(K) : K;
|
|
8445
8445
|
});
|
|
@@ -8476,7 +8476,7 @@ function o2() {
|
|
|
8476
8476
|
}
|
|
8477
8477
|
function k(D, B, P, V, W) {
|
|
8478
8478
|
for (var z = [], X = 0; X < $.length; X++) {
|
|
8479
|
-
var
|
|
8479
|
+
var he = $[X], K = he(D, 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);
|
|
@@ -8506,9 +8506,9 @@ function o2() {
|
|
|
8506
8506
|
var X = $[z];
|
|
8507
8507
|
if (typeof X != "function")
|
|
8508
8508
|
return F(D, B, P, z, oe(X));
|
|
8509
|
-
var
|
|
8510
|
-
if (
|
|
8511
|
-
return
|
|
8509
|
+
var he = X(V, z, D, B, P + "." + z, n);
|
|
8510
|
+
if (he)
|
|
8511
|
+
return he;
|
|
8512
8512
|
}
|
|
8513
8513
|
return null;
|
|
8514
8514
|
}
|
|
@@ -8521,15 +8521,15 @@ function o2() {
|
|
|
8521
8521
|
return new b("Invalid " + B + " `" + P + "` of type `" + W + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
8522
8522
|
var z = t({}, x[k], $);
|
|
8523
8523
|
for (var X in z) {
|
|
8524
|
-
var
|
|
8525
|
-
if (r($, X) && typeof
|
|
8526
|
-
return F(D, B, P, X, oe(
|
|
8527
|
-
if (!
|
|
8524
|
+
var he = $[X];
|
|
8525
|
+
if (r($, X) && typeof he != "function")
|
|
8526
|
+
return F(D, B, P, X, oe(he));
|
|
8527
|
+
if (!he)
|
|
8528
8528
|
return new b(
|
|
8529
8529
|
"Invalid " + B + " `" + P + "` key `" + X + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(x[k], null, " ") + `
|
|
8530
8530
|
Valid keys: ` + JSON.stringify(Object.keys($), null, " ")
|
|
8531
8531
|
);
|
|
8532
|
-
var K =
|
|
8532
|
+
var K = he(V, X, D, B, P + "." + X, n);
|
|
8533
8533
|
if (K)
|
|
8534
8534
|
return K;
|
|
8535
8535
|
}
|
|
@@ -8570,12 +8570,12 @@ Valid keys: ` + JSON.stringify(Object.keys($), null, " ")
|
|
|
8570
8570
|
return !1;
|
|
8571
8571
|
}
|
|
8572
8572
|
}
|
|
8573
|
-
function
|
|
8573
|
+
function fe($, U) {
|
|
8574
8574
|
return $ === "symbol" ? !0 : U ? U["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && U instanceof Symbol : !1;
|
|
8575
8575
|
}
|
|
8576
8576
|
function ce($) {
|
|
8577
8577
|
var U = typeof $;
|
|
8578
|
-
return Array.isArray($) ? "array" : $ instanceof RegExp ? "object" :
|
|
8578
|
+
return Array.isArray($) ? "array" : $ instanceof RegExp ? "object" : fe(U, $) ? "symbol" : U;
|
|
8579
8579
|
}
|
|
8580
8580
|
function oe($) {
|
|
8581
8581
|
if (typeof $ > "u" || $ === null)
|
|
@@ -8867,7 +8867,7 @@ zu.propTypes = {
|
|
|
8867
8867
|
enableAccessibilityKioskControls: w.bool
|
|
8868
8868
|
};
|
|
8869
8869
|
function zu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionControl: r, brandingColor: o, devicePosition: s, excludedElements: i = "", isKiosk: a, enableAccessibilityKioskControls: l = !1 }) {
|
|
8870
|
-
const c = Bi(), u =
|
|
8870
|
+
const c = Bi(), u = ge(null), f = ge(null), d = Kt((b) => !i || typeof i != "string" ? !0 : !i.split(",").map((R) => R.trim()).includes(b), [i]), p = vn(() => {
|
|
8871
8871
|
const b = {};
|
|
8872
8872
|
for (const [E, R] of Object.entries(Wr))
|
|
8873
8873
|
b[E] = /* @__PURE__ */ m.jsx("div", { className: R.className }, R.key);
|
|
@@ -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-491b2b89.mjs")), m2 = Xl(() => import("./GoogleMapsMap-c19c7608.mjs")), An = {
|
|
8969
8969
|
Google: "google",
|
|
8970
8970
|
Mapbox: "mapbox"
|
|
8971
8971
|
};
|
|
@@ -8986,7 +8986,7 @@ Gu.propTypes = {
|
|
|
8986
8986
|
isKiosk: w.bool
|
|
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
|
-
var G,
|
|
8989
|
+
var G, fe;
|
|
8990
8990
|
const [g, b] = J(), [E, R] = J(), [h, v] = J(), [y, S] = J(), [C, T] = J(), [N, O] = J(), [M, F] = J(), Y = vn(() => {
|
|
8991
8991
|
var ce;
|
|
8992
8992
|
return ((ce = N == null ? void 0 : N.appSettings) == null ? void 0 : ce.excludeFromUI) || "";
|
|
@@ -9064,7 +9064,7 @@ function Gu({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, center: r, zoom: o,
|
|
|
9064
9064
|
devicePosition: d,
|
|
9065
9065
|
excludedElements: Y,
|
|
9066
9066
|
isKiosk: p,
|
|
9067
|
-
enableAccessibilityKioskControls: !!((
|
|
9067
|
+
enableAccessibilityKioskControls: !!((fe = N == null ? void 0 : N.appSettings) != null && fe.enableAccessibilityKioskControls)
|
|
9068
9068
|
}
|
|
9069
9069
|
)
|
|
9070
9070
|
] });
|
|
@@ -9072,13 +9072,13 @@ function Gu({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, center: r, zoom: o,
|
|
|
9072
9072
|
const ut = {
|
|
9073
9073
|
Google: "google",
|
|
9074
9074
|
Mapbox: "mapbox"
|
|
9075
|
-
}, Et =
|
|
9075
|
+
}, Et = pe({
|
|
9076
9076
|
key: "mapsIndoorsInstance",
|
|
9077
9077
|
default: null,
|
|
9078
9078
|
dangerouslyAllowMutability: !0
|
|
9079
9079
|
// A MapsIndoors instance contains state. Needs mutability.
|
|
9080
9080
|
}), v2 = (e) => {
|
|
9081
|
-
const t = H(Et), n =
|
|
9081
|
+
const t = H(Et), n = ge(), [r, o] = J([]);
|
|
9082
9082
|
j(() => {
|
|
9083
9083
|
(async () => {
|
|
9084
9084
|
if (t && e) {
|
|
@@ -9092,50 +9092,50 @@ const ut = {
|
|
|
9092
9092
|
}
|
|
9093
9093
|
})();
|
|
9094
9094
|
}, [e, t]);
|
|
9095
|
-
}, Uo =
|
|
9095
|
+
}, Uo = pe({
|
|
9096
9096
|
key: "userPosition",
|
|
9097
9097
|
default: null
|
|
9098
|
-
}), Vi =
|
|
9098
|
+
}), Vi = pe({
|
|
9099
9099
|
key: "directionsService",
|
|
9100
9100
|
default: null
|
|
9101
|
-
}), Ho =
|
|
9101
|
+
}), Ho = pe({
|
|
9102
9102
|
key: "mapType",
|
|
9103
9103
|
default: void 0
|
|
9104
|
-
}), Fi =
|
|
9104
|
+
}), Fi = pe({
|
|
9105
9105
|
key: "apiKey",
|
|
9106
9106
|
default: null
|
|
9107
|
-
}), Ui =
|
|
9107
|
+
}), Ui = pe({
|
|
9108
9108
|
key: "gmApiKey",
|
|
9109
9109
|
default: null
|
|
9110
|
-
}), zo =
|
|
9110
|
+
}), zo = pe({
|
|
9111
9111
|
key: "mapboxAccessToken",
|
|
9112
9112
|
default: null
|
|
9113
|
-
}), Go =
|
|
9113
|
+
}), Go = pe({
|
|
9114
9114
|
key: "filteredLocations",
|
|
9115
9115
|
default: void 0
|
|
9116
|
-
}), Ko =
|
|
9116
|
+
}), Ko = pe({
|
|
9117
9117
|
key: "filteredLocationsByExternalID",
|
|
9118
9118
|
default: void 0
|
|
9119
|
-
}), Ku =
|
|
9119
|
+
}), Ku = pe({
|
|
9120
9120
|
key: "tileStyle",
|
|
9121
9121
|
default: null
|
|
9122
|
-
}), Wu =
|
|
9122
|
+
}), Wu = pe({
|
|
9123
9123
|
key: "positionControl",
|
|
9124
9124
|
default: null,
|
|
9125
9125
|
dangerouslyAllowMutability: !0
|
|
9126
9126
|
// A MapsIndoors PositonControl contains state. Needs mutability.
|
|
9127
|
-
}), Hi =
|
|
9127
|
+
}), Hi = pe({
|
|
9128
9128
|
key: "bearing",
|
|
9129
9129
|
default: 0
|
|
9130
|
-
}), Wo =
|
|
9130
|
+
}), Wo = pe({
|
|
9131
9131
|
key: "pitch",
|
|
9132
9132
|
default: null
|
|
9133
|
-
}), Yu =
|
|
9133
|
+
}), Yu = pe({
|
|
9134
9134
|
key: "solution",
|
|
9135
9135
|
default: null,
|
|
9136
9136
|
dangerouslyAllowMutability: !0
|
|
9137
9137
|
// Solution info needs mutability since it contains methods.
|
|
9138
|
-
}), Nr =
|
|
9138
|
+
}), Nr = pe({
|
|
9139
9139
|
key: "notificationMessage",
|
|
9140
9140
|
default: null
|
|
9141
9141
|
});
|
|
@@ -9153,28 +9153,28 @@ function Yo() {
|
|
|
9153
9153
|
}
|
|
9154
9154
|
});
|
|
9155
9155
|
}
|
|
9156
|
-
const kr =
|
|
9156
|
+
const kr = pe({
|
|
9157
9157
|
key: "categories",
|
|
9158
9158
|
default: []
|
|
9159
|
-
}), zi =
|
|
9159
|
+
}), zi = pe({
|
|
9160
9160
|
key: "kioskOriginLocationId",
|
|
9161
9161
|
default: void 0
|
|
9162
|
-
}), qo =
|
|
9162
|
+
}), qo = pe({
|
|
9163
9163
|
key: "locationId",
|
|
9164
9164
|
default: void 0
|
|
9165
|
-
}), qu =
|
|
9165
|
+
}), qu = pe({
|
|
9166
9166
|
key: "startZoomLevel",
|
|
9167
9167
|
default: null
|
|
9168
|
-
}), ln =
|
|
9168
|
+
}), ln = pe({
|
|
9169
9169
|
key: "currentVenueName",
|
|
9170
9170
|
default: null
|
|
9171
|
-
}), Ar =
|
|
9171
|
+
}), Ar = pe({
|
|
9172
9172
|
key: "venues",
|
|
9173
9173
|
default: []
|
|
9174
|
-
}), Gi =
|
|
9174
|
+
}), Gi = pe({
|
|
9175
9175
|
key: "venueWasSelected",
|
|
9176
9176
|
default: !1
|
|
9177
|
-
}), Zo =
|
|
9177
|
+
}), Zo = pe({
|
|
9178
9178
|
key: "isMapReady",
|
|
9179
9179
|
default: !1
|
|
9180
9180
|
});
|
|
@@ -9206,7 +9206,7 @@ function mn() {
|
|
|
9206
9206
|
}
|
|
9207
9207
|
});
|
|
9208
9208
|
}
|
|
9209
|
-
const Zu =
|
|
9209
|
+
const Zu = pe({
|
|
9210
9210
|
key: "timeout",
|
|
9211
9211
|
default: void 0
|
|
9212
9212
|
});
|
|
@@ -9234,7 +9234,7 @@ const y2 = (e) => {
|
|
|
9234
9234
|
const o = () => n(r.matches);
|
|
9235
9235
|
return window.addEventListener("resize", o), () => window.removeEventListener("resize", o);
|
|
9236
9236
|
}, [t, e]), t;
|
|
9237
|
-
}, Pt = () => y2("(min-width: 992px)"), Xu =
|
|
9237
|
+
}, Pt = () => y2("(min-width: 992px)"), Xu = pe({
|
|
9238
9238
|
key: "mapboxViewMode",
|
|
9239
9239
|
default: null
|
|
9240
9240
|
}), As = Object.freeze({
|
|
@@ -9261,7 +9261,7 @@ const y2 = (e) => {
|
|
|
9261
9261
|
}
|
|
9262
9262
|
return r;
|
|
9263
9263
|
}
|
|
9264
|
-
}), Ju =
|
|
9264
|
+
}), Ju = pe({
|
|
9265
9265
|
key: "center",
|
|
9266
9266
|
default: null
|
|
9267
9267
|
});
|
|
@@ -10139,7 +10139,7 @@ var Xi = { exports: {} }, ad = { exports: {} };
|
|
|
10139
10139
|
(function T(N, O, M, F, Y) {
|
|
10140
10140
|
for (; F > M; ) {
|
|
10141
10141
|
if (F - M > 600) {
|
|
10142
|
-
var A = F - M + 1, G = O - M + 1,
|
|
10142
|
+
var A = F - M + 1, G = O - M + 1, fe = Math.log(A), ce = 0.5 * Math.exp(2 * fe / 3), oe = 0.5 * Math.sqrt(fe * ce * (A - ce) / A) * (G - A / 2 < 0 ? -1 : 1), de = Math.max(M, Math.floor(O - G * ce / A + oe)), we = Math.min(F, Math.floor(O + (A - G) * ce / A + oe));
|
|
10143
10143
|
T(N, O, de, we, Y);
|
|
10144
10144
|
}
|
|
10145
10145
|
var $ = N[O], U = M, x = F;
|
|
@@ -10335,7 +10335,7 @@ var Xi = { exports: {} }, ad = { exports: {} };
|
|
|
10335
10335
|
this.data = E([h, v]), this.data.height = h.height + 1, this.data.leaf = !1, a(this.data, this.toBBox);
|
|
10336
10336
|
}, s.prototype._chooseSplitIndex = function(h, v, y) {
|
|
10337
10337
|
for (var S, C, T, N, O, M, F, Y = 1 / 0, A = 1 / 0, G = v; G <= y - v; G++) {
|
|
10338
|
-
var
|
|
10338
|
+
var fe = l(h, 0, G, this.toBBox), ce = l(h, G, y, this.toBBox), oe = (C = fe, T = ce, N = void 0, O = void 0, M = void 0, F = void 0, N = Math.max(C.minX, T.minX), O = Math.max(C.minY, T.minY), M = Math.min(C.maxX, T.maxX), F = Math.min(C.maxY, T.maxY), Math.max(0, M - N) * Math.max(0, F - O)), de = d(fe) + d(ce);
|
|
10339
10339
|
oe < Y ? (Y = oe, S = G, A = de < A ? de : A) : oe === Y && de < A && (A = de, S = G);
|
|
10340
10340
|
}
|
|
10341
10341
|
return S || y - v;
|
|
@@ -10600,8 +10600,8 @@ const gS = () => {
|
|
|
10600
10600
|
if (A) {
|
|
10601
10601
|
const G = A.properties.floor;
|
|
10602
10602
|
u.setFloor(G);
|
|
10603
|
-
const
|
|
10604
|
-
T((ce) => ({ ...ce, originalRule: { ...
|
|
10603
|
+
const fe = u.getDisplayRule(A);
|
|
10604
|
+
T((ce) => ({ ...ce, originalRule: { ...fe } })), O(A), Yo().then((ce) => {
|
|
10605
10605
|
r(A.geometry), _t(A.geometry, u, ce, 0, d ? F(d) : void 0, g, i);
|
|
10606
10606
|
});
|
|
10607
10607
|
}
|
|
@@ -10610,16 +10610,21 @@ const gS = () => {
|
|
|
10610
10610
|
mt(S) ? window.mapsindoors.services.LocationsService.getLocation(c).then((A) => {
|
|
10611
10611
|
if (A) {
|
|
10612
10612
|
const G = A.properties.floor;
|
|
10613
|
-
u.setFloor(G), o ? mn().then((
|
|
10614
|
-
r(A.geometry), _t(A.geometry, u, 0,
|
|
10615
|
-
}) : On().then((
|
|
10616
|
-
r(A.geometry), _t(A.geometry, u,
|
|
10613
|
+
u.setFloor(G), o ? mn().then((fe) => {
|
|
10614
|
+
r(A.geometry), _t(A.geometry, u, 0, fe, d ? F(d) : void 0, g, i);
|
|
10615
|
+
}) : On().then((fe) => {
|
|
10616
|
+
r(A.geometry), _t(A.geometry, u, fe, 0, d ? F(d) : void 0, g, i);
|
|
10617
|
+
});
|
|
10618
|
+
}
|
|
10619
|
+
}) : window.mapsindoors.services.LocationsService.getLocation(c).then((A) => {
|
|
10620
|
+
if (A) {
|
|
10621
|
+
const G = A.properties.floor;
|
|
10622
|
+
u.setFloor(G), o ? mn().then((fe) => {
|
|
10623
|
+
r(M().geometry), _t(M().geometry, u, 0, fe, F(d), g, i);
|
|
10624
|
+
}) : On().then((fe) => {
|
|
10625
|
+
r(M().geometry), _t(M().geometry, u, fe, 0, F(d), g, i);
|
|
10617
10626
|
});
|
|
10618
10627
|
}
|
|
10619
|
-
}) : o ? mn().then((A) => {
|
|
10620
|
-
r(M().geometry), _t(M().geometry, u, 0, A, F(d), g, i);
|
|
10621
|
-
}) : On().then((A) => {
|
|
10622
|
-
r(M().geometry), _t(M().geometry, u, A, 0, F(d), g, i);
|
|
10623
10628
|
});
|
|
10624
10629
|
else if (Y)
|
|
10625
10630
|
if (b)
|
|
@@ -10667,7 +10672,7 @@ function _t(e, t, n, r, o, s, i) {
|
|
|
10667
10672
|
t.getMapView().setCenter({ lat: u.geometry.coordinates[1], lng: u.geometry.coordinates[0] }), t.getMapView().tilt(a || 0), t.getMapView().rotate(l || 0), t.setZoom(c);
|
|
10668
10673
|
}
|
|
10669
10674
|
}
|
|
10670
|
-
const fd =
|
|
10675
|
+
const fd = pe({
|
|
10671
10676
|
key: "hideNonMatches",
|
|
10672
10677
|
default: !1
|
|
10673
10678
|
}), mS = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 3H9V5H5V9H3V3ZM15 3H21V9H19V5H15V3ZM5 15V19H9V21H3V15H5ZM21 15V21H15V19H19V15H21Z", fill: "#666666", style: {
|
|
@@ -10684,7 +10689,7 @@ hd.propTypes = {
|
|
|
10684
10689
|
isViewSelectorVisible: w.bool
|
|
10685
10690
|
};
|
|
10686
10691
|
function hd({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
|
|
10687
|
-
const { t: n } = nt(), [r, o] = J(!1), [s, i] = J([]), [a, l] = J(null), c = Pt(), u = H(Et), f = H(ln), d = ".view-selector-portal", [p, g] = J(null), b =
|
|
10692
|
+
const { t: n } = nt(), [r, o] = J(!1), [s, i] = J([]), [a, l] = J(null), c = Pt(), u = H(Et), f = H(ln), d = ".view-selector-portal", [p, g] = J(null), b = ge(null), E = ge(null), R = 6, h = 60;
|
|
10688
10693
|
j(() => {
|
|
10689
10694
|
let N = document.querySelector(d);
|
|
10690
10695
|
if (N) {
|
|
@@ -10829,7 +10834,7 @@ function Ml({ supportedLanguages: e, currentLanguage: t, setLanguage: n, setIsEx
|
|
|
10829
10834
|
)) });
|
|
10830
10835
|
}
|
|
10831
10836
|
function pd({ currentLanguage: e, setLanguage: t, isVisible: n }) {
|
|
10832
|
-
const { t: r } = nt(), [o, s] = J(!1), i =
|
|
10837
|
+
const { t: r } = nt(), [o, s] = J(!1), i = ge(null), a = ge(null), [l, c] = J(null), u = Pt(), f = ".language-selector-portal";
|
|
10833
10838
|
return j(() => {
|
|
10834
10839
|
let d = document.querySelector(f);
|
|
10835
10840
|
if (d) {
|
|
@@ -10888,11 +10893,11 @@ pd.propTypes = {
|
|
|
10888
10893
|
setLanguage: w.func.isRequired,
|
|
10889
10894
|
isVisible: w.bool
|
|
10890
10895
|
};
|
|
10891
|
-
const cn =
|
|
10896
|
+
const cn = pe({
|
|
10892
10897
|
key: "appConfig",
|
|
10893
10898
|
default: void 0
|
|
10894
10899
|
}), yS = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.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__ */ ne.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" }));
|
|
10895
|
-
const Bt =
|
|
10900
|
+
const Bt = pe({
|
|
10896
10901
|
key: "kioskLocation",
|
|
10897
10902
|
default: null
|
|
10898
10903
|
}), un = () => {
|
|
@@ -10985,7 +10990,7 @@ md.propTypes = {
|
|
|
10985
10990
|
};
|
|
10986
10991
|
let Ps;
|
|
10987
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 }) {
|
|
10988
|
-
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), [
|
|
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] = J(!1), [oe, de] = J(!1), we = un();
|
|
10989
10994
|
v2(d);
|
|
10990
10995
|
const [$, U] = gS();
|
|
10991
10996
|
j(() => {
|
|
@@ -11023,18 +11028,18 @@ function md({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11023
11028
|
}, D = (B, P, V) => {
|
|
11024
11029
|
B.on("mouseenter", () => {
|
|
11025
11030
|
var K;
|
|
11026
|
-
const
|
|
11027
|
-
((K =
|
|
11028
|
-
}), B.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }), B.on("click", (
|
|
11031
|
+
const he = B.getHoveredLocation();
|
|
11032
|
+
((K = he == null ? void 0 : he.properties.locationSettings) == null ? void 0 : K.selectable) === !1 && B.unhoverLocation();
|
|
11033
|
+
}), B.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }), B.on("click", (he) => e(he)), B.once("building_changed", () => x(B)), B.on("floor_changed", () => k(B)), h(B), window.mapsIndoorsInstance = B;
|
|
11029
11034
|
const W = new CustomEvent("mapsIndoorsInstanceAvailable");
|
|
11030
11035
|
window.dispatchEvent(W);
|
|
11031
11036
|
let z;
|
|
11032
11037
|
b === ut.Google ? z = new window.mapsindoors.directions.GoogleMapsProvider() : b === ut.Mapbox && (z = new window.mapsindoors.directions.MapboxProvider(g));
|
|
11033
11038
|
const X = new window.mapsindoors.services.DirectionsService(z);
|
|
11034
|
-
y(X), h(B), P.nodeName === "MI-MY-POSITION" ? P.addEventListener("position_received", (
|
|
11035
|
-
|
|
11036
|
-
}) : P.on("position_received", (
|
|
11037
|
-
|
|
11039
|
+
y(X), h(B), P.nodeName === "MI-MY-POSITION" ? P.addEventListener("position_received", (he) => {
|
|
11040
|
+
he.detail.accurate === !0 && v(he.detail.position);
|
|
11041
|
+
}) : P.on("position_received", (he) => {
|
|
11042
|
+
he.accurate === !0 && v(he.position);
|
|
11038
11043
|
}), M(P), o(V);
|
|
11039
11044
|
};
|
|
11040
11045
|
return j(() => {
|
|
@@ -11058,17 +11063,17 @@ function md({ onLocationClick: e, onMapPositionKnown: t, useMapProviderModule: n
|
|
|
11058
11063
|
}
|
|
11059
11064
|
),
|
|
11060
11065
|
d && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
11061
|
-
/* @__PURE__ */ m.jsx(hd, { isViewSelectorVisible:
|
|
11066
|
+
/* @__PURE__ */ m.jsx(hd, { isViewSelectorVisible: fe, isViewSelectorDisabled: l }),
|
|
11062
11067
|
/* @__PURE__ */ m.jsx(pd, { currentLanguage: c, setLanguage: u, isVisible: oe }),
|
|
11063
11068
|
/* @__PURE__ */ m.jsx(gd, {})
|
|
11064
11069
|
] })
|
|
11065
11070
|
] });
|
|
11066
11071
|
}
|
|
11067
|
-
const Vt =
|
|
11072
|
+
const Vt = pe({
|
|
11068
11073
|
key: "primaryColor",
|
|
11069
11074
|
default: "#005655"
|
|
11070
11075
|
});
|
|
11071
|
-
const ea =
|
|
11076
|
+
const ea = pe({
|
|
11072
11077
|
key: "logo",
|
|
11073
11078
|
default: void 0
|
|
11074
11079
|
});
|
|
@@ -11686,7 +11691,7 @@ function Cd({ venue: e, isCurrent: t, onVenueClicked: n }) {
|
|
|
11686
11691
|
] })
|
|
11687
11692
|
] });
|
|
11688
11693
|
}
|
|
11689
|
-
const Xo =
|
|
11694
|
+
const Xo = pe({
|
|
11690
11695
|
key: "isLocationClicked",
|
|
11691
11696
|
default: !1
|
|
11692
11697
|
});
|
|
@@ -11696,7 +11701,7 @@ Ed.propTypes = {
|
|
|
11696
11701
|
active: w.bool
|
|
11697
11702
|
};
|
|
11698
11703
|
function Ed({ onOpen: e, onClose: t, active: n }) {
|
|
11699
|
-
const { t: r } = nt(), o =
|
|
11704
|
+
const { t: r } = nt(), o = ge(null), s = H(Ar), [, i] = te(Gi), [a, l] = te(ln), [, c] = te(Xo), u = document.querySelector(".venue-selector-portal"), f = (g) => {
|
|
11700
11705
|
i(!0), l(g.name), d();
|
|
11701
11706
|
}, d = () => {
|
|
11702
11707
|
n ? t() : e();
|
|
@@ -11736,7 +11741,7 @@ function Ed({ onOpen: e, onClose: t, active: n }) {
|
|
|
11736
11741
|
)
|
|
11737
11742
|
] });
|
|
11738
11743
|
}
|
|
11739
|
-
const Rd = ql(), Qt =
|
|
11744
|
+
const Rd = ql(), Qt = pe({
|
|
11740
11745
|
key: "currentLocation",
|
|
11741
11746
|
default: null
|
|
11742
11747
|
}), LS = "Left", NS = "Right", kS = "Up", AS = "Down", Bn = {
|
|
@@ -11869,7 +11874,7 @@ const Ce = {
|
|
|
11869
11874
|
// Sheet height is of maximum height (height of container element)
|
|
11870
11875
|
};
|
|
11871
11876
|
const Dn = vo(function({ children: t, isOpen: n, initialSnapPoint: r, minimizedHeight: o }, s) {
|
|
11872
|
-
const i =
|
|
11877
|
+
const i = ge(), a = ge(), l = ge(), c = ge(), u = ge(), [f, d] = J({}), [p, g] = J(!1), [b, E] = J(null), R = Zl(Rd), h = ge();
|
|
11873
11878
|
yo(s, () => ({
|
|
11874
11879
|
/**
|
|
11875
11880
|
* Set the height of the sheet to the given snap point.
|
|
@@ -11999,13 +12004,13 @@ function Bl(e) {
|
|
|
11999
12004
|
const t = e.geometry.type === "Point" ? e.geometry.coordinates : e.properties.anchor.coordinates;
|
|
12000
12005
|
return { lat: t[1], lng: t[0], floor: e.properties.floor };
|
|
12001
12006
|
}
|
|
12002
|
-
const Mr =
|
|
12007
|
+
const Mr = pe({
|
|
12003
12008
|
key: "directionsResponse",
|
|
12004
12009
|
default: null
|
|
12005
|
-
}), Jo =
|
|
12010
|
+
}), Jo = pe({
|
|
12006
12011
|
key: "hasFoundRoute",
|
|
12007
12012
|
default: !0
|
|
12008
|
-
}), na =
|
|
12013
|
+
}), na = pe({
|
|
12009
12014
|
key: "shuttleBusOn",
|
|
12010
12015
|
default: !1
|
|
12011
12016
|
}), xd = (e, t, n, r, o) => {
|
|
@@ -12042,13 +12047,13 @@ const Mr = he({
|
|
|
12042
12047
|
WALKING: "WALKING",
|
|
12043
12048
|
DRIVING: "DRIVING",
|
|
12044
12049
|
BICYCLING: "BICYCLING"
|
|
12045
|
-
}, Ir =
|
|
12050
|
+
}, Ir = pe({
|
|
12046
12051
|
key: "travelMode",
|
|
12047
12052
|
default: pn.WALKING
|
|
12048
|
-
}), Or =
|
|
12053
|
+
}), Or = pe({
|
|
12049
12054
|
key: "accessibilityOn",
|
|
12050
12055
|
default: !1
|
|
12051
|
-
}), es =
|
|
12056
|
+
}), es = pe({
|
|
12052
12057
|
key: "showExternalIDs",
|
|
12053
12058
|
default: !1
|
|
12054
12059
|
});
|
|
@@ -12096,7 +12101,7 @@ const FS = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 2
|
|
|
12096
12101
|
stroke: "#737373",
|
|
12097
12102
|
stroke: "color(display-p3 0.4500 0.4500 0.4500)",
|
|
12098
12103
|
strokeOpacity: 1
|
|
12099
|
-
}, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), xn =
|
|
12104
|
+
}, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), xn = pe({
|
|
12100
12105
|
key: "language",
|
|
12101
12106
|
default: void 0
|
|
12102
12107
|
});
|
|
@@ -12200,7 +12205,7 @@ function Is(e, t, n) {
|
|
|
12200
12205
|
}(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
12201
12206
|
}
|
|
12202
12207
|
var Os = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown: "onMouseDown", mouseup: "onMouseUp", touchstart: "onTouchStart", touchend: "onTouchEnd" }, Nd = function(e) {
|
|
12203
|
-
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 =
|
|
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);
|
|
12204
12209
|
j(function() {
|
|
12205
12210
|
return setTimeout(function() {
|
|
12206
12211
|
f.current = !0;
|
|
@@ -12231,10 +12236,10 @@ var Os = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown:
|
|
|
12231
12236
|
} }, b, d(b)), p, d(p)), g, d(g))));
|
|
12232
12237
|
};
|
|
12233
12238
|
Nd.displayName = "ClickAwayListener";
|
|
12234
|
-
const ts =
|
|
12239
|
+
const ts = pe({
|
|
12235
12240
|
key: "searchAllVenues",
|
|
12236
12241
|
default: !1
|
|
12237
|
-
}), ra =
|
|
12242
|
+
}), ra = pe({
|
|
12238
12243
|
key: "searchExternalLocations",
|
|
12239
12244
|
default: !0
|
|
12240
12245
|
}), kd = Bo({
|
|
@@ -12299,10 +12304,10 @@ const GS = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 2
|
|
|
12299
12304
|
stroke: "#737373",
|
|
12300
12305
|
stroke: "color(display-p3 0.4510 0.4510 0.4510)",
|
|
12301
12306
|
strokeOpacity: 1
|
|
12302
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), ns =
|
|
12307
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), ns = pe({
|
|
12303
12308
|
key: "qrCodeLink",
|
|
12304
12309
|
default: null
|
|
12305
|
-
}), Pd =
|
|
12310
|
+
}), Pd = pe({
|
|
12306
12311
|
key: "supportsUrlParameters",
|
|
12307
12312
|
default: !1
|
|
12308
12313
|
});
|
|
@@ -12392,7 +12397,7 @@ oa.propTypes = {
|
|
|
12392
12397
|
};
|
|
12393
12398
|
function oa({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections: r, isOpen: o, snapPointSwipedByUser: s }) {
|
|
12394
12399
|
var qe, Ze, dt, yt;
|
|
12395
|
-
const { t: i } = nt(), a =
|
|
12400
|
+
const { t: i } = nt(), a = ge(null), l = ge(null), c = ge(null), u = ge(null), f = ge(null), [d, p] = J(!1), [g, b] = J(!1), [E, R] = J(!1), h = ge(!1), [v, y] = J(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] = J(), [oe, de] = J(), [we, $] = J(!0), U = Pt(), x = H(Ir), k = H(Or), [, , D] = 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");
|
|
12396
12401
|
j(() => {
|
|
12397
12402
|
(() => {
|
|
12398
12403
|
if (S && C)
|
|
@@ -12416,7 +12421,7 @@ function oa({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
12416
12421
|
function X(Le) {
|
|
12417
12422
|
typeof n == "function" && n(Le);
|
|
12418
12423
|
}
|
|
12419
|
-
function
|
|
12424
|
+
function he() {
|
|
12420
12425
|
d === !1 ? (K(), X(Ce.MAX)) : (Se(), X(Ce.FIT));
|
|
12421
12426
|
}
|
|
12422
12427
|
function K() {
|
|
@@ -12522,7 +12527,7 @@ function oa({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
|
|
|
12522
12527
|
] }, Le)) }),
|
|
12523
12528
|
C.properties.description && /* @__PURE__ */ m.jsxs("section", { className: `location-details__description ${d ? "location-details__description--full" : ""}`, children: [
|
|
12524
12529
|
/* @__PURE__ */ m.jsx("div", { ref: c, children: C.properties.description }),
|
|
12525
|
-
(O || M || d) && /* @__PURE__ */ m.jsx("button", { onClick: () =>
|
|
12530
|
+
(O || M || d) && /* @__PURE__ */ m.jsx("button", { onClick: () => he(), children: i(d ? "Close" : "Read full description") })
|
|
12526
12531
|
] }),
|
|
12527
12532
|
T && /* @__PURE__ */ m.jsxs("div", { className: "contact-action-buttons-container", children: [
|
|
12528
12533
|
T.map((Le) => /* @__PURE__ */ m.jsx(
|
|
@@ -12553,7 +12558,7 @@ rs.propTypes = {
|
|
|
12553
12558
|
isHovered: w.bool
|
|
12554
12559
|
};
|
|
12555
12560
|
function rs({ location: e, locationClicked: t, icon: n, isHovered: r }) {
|
|
12556
|
-
const { t: o } = nt(), s =
|
|
12561
|
+
const { t: o } = nt(), s = ge(), i = H(Et), a = H(es);
|
|
12557
12562
|
return j(() => {
|
|
12558
12563
|
var d;
|
|
12559
12564
|
const l = (p) => t(p.detail), c = () => {
|
|
@@ -12581,11 +12586,11 @@ const qS = () => {
|
|
|
12581
12586
|
n && n.getMapView().removeListener("idle", o);
|
|
12582
12587
|
};
|
|
12583
12588
|
}, [n, r]), e;
|
|
12584
|
-
}, sa =
|
|
12589
|
+
}, sa = pe({
|
|
12585
12590
|
key: "searchInput",
|
|
12586
12591
|
default: void 0
|
|
12587
12592
|
}), 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 =
|
|
12593
|
+
const { placeholder: r, mapsindoors: o, results: s, clicked: i, cleared: a, changed: l, category: c, google: u, mapbox: f, disabled: d = !1 } = t, p = ge(), g = H(Uo), b = H(xn), [, E] = te(sa), R = sessionStorage.getItem("mapboxPlacesSessionToken"), h = {
|
|
12589
12594
|
longitude: g == null ? void 0 : g.coords.longitude,
|
|
12590
12595
|
latitude: g == null ? void 0 : g.coords.latitude
|
|
12591
12596
|
}, v = qS(), y = H(ln), S = H(ts);
|
|
@@ -12681,7 +12686,7 @@ Od.propTypes = {
|
|
|
12681
12686
|
children: w.node
|
|
12682
12687
|
};
|
|
12683
12688
|
function Od({ selectionChanged: e, children: t }) {
|
|
12684
|
-
const n =
|
|
12689
|
+
const n = ge();
|
|
12685
12690
|
return j(() => {
|
|
12686
12691
|
const r = (s) => e(s.detail), { current: o } = n;
|
|
12687
12692
|
return o.addEventListener("change", r), () => o.removeEventListener("change", r);
|
|
@@ -12748,7 +12753,7 @@ function $d() {
|
|
|
12748
12753
|
/* @__PURE__ */ m.jsx("div", { children: ((a = n == null ? void 0 : n.appSettings) == null ? void 0 : a.includeTransitSelectionDescription) || "Include bus transportation" })
|
|
12749
12754
|
] });
|
|
12750
12755
|
}
|
|
12751
|
-
const Dd =
|
|
12756
|
+
const Dd = pe({
|
|
12752
12757
|
key: "wayfindingLocation",
|
|
12753
12758
|
default: null
|
|
12754
12759
|
}), Je = {
|
|
@@ -12765,14 +12770,14 @@ aa.propTypes = {
|
|
|
12765
12770
|
};
|
|
12766
12771
|
function aa({ onStartDirections: e, onBack: t, directionsToLocation: n, directionsFromLocation: r, onSetSize: o, isActive: s }) {
|
|
12767
12772
|
var ft, ie;
|
|
12768
|
-
const { t: i } = nt(), a =
|
|
12769
|
-
function
|
|
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] = J(), [, y] = te(Jo), [S, C] = J(!0), [T, N] = J(!1), [O, M] = J([]), [F, Y] = J(), [A, G] = J(), fe = H(Or), ce = Jn(), [oe, de] = J(!1), [we, $] = te(Ir), [U, x] = J(!1), k = H(zo), D = H(eb), [B, P, V, W] = xd(A, F, f, we, fe), z = H(ra), X = H(cn);
|
|
12774
|
+
function he(Q) {
|
|
12770
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);
|
|
12771
12776
|
}
|
|
12772
12777
|
function K(Q) {
|
|
12773
|
-
h === Je.TO ?
|
|
12778
|
+
h === Je.TO ? he(Q).then((_e) => {
|
|
12774
12779
|
Y(_e), c.current.setDisplayText(_e.properties.name);
|
|
12775
|
-
}, () => y(!1)) : h === Je.FROM &&
|
|
12780
|
+
}, () => y(!1)) : h === Je.FROM && he(Q).then((_e) => {
|
|
12776
12781
|
G(_e), u.current.setDisplayText(_e.properties.name);
|
|
12777
12782
|
}, () => y(!1)), de(!1), N(!1), M([]), x(!1);
|
|
12778
12783
|
}
|
|
@@ -12967,18 +12972,18 @@ function aa({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
|
|
|
12967
12972
|
] })
|
|
12968
12973
|
] });
|
|
12969
12974
|
}
|
|
12970
|
-
const nb = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.createElement("path", { d: "M4 12H20M20 12L14 6M20 12L14 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), rb = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.createElement("path", { d: "M20 12H4M4 12L10 6M4 12L10 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), os =
|
|
12975
|
+
const nb = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.createElement("path", { d: "M4 12H20M20 12L14 6M20 12L14 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), rb = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.createElement("path", { d: "M20 12H4M4 12L10 6M4 12L10 18", stroke: "#111827", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), os = pe({
|
|
12971
12976
|
key: "activeStep",
|
|
12972
12977
|
default: 0
|
|
12973
|
-
}), ss =
|
|
12978
|
+
}), ss = pe({
|
|
12974
12979
|
key: "substepsToggled",
|
|
12975
12980
|
default: !1
|
|
12976
|
-
}), ob =
|
|
12981
|
+
}), ob = pe({
|
|
12977
12982
|
key: "triggerSubsteps",
|
|
12978
12983
|
default: !1
|
|
12979
12984
|
}), jd = vo(function(t, n) {
|
|
12980
12985
|
var b;
|
|
12981
|
-
const { totalSteps: r, activeStep: o, previous: s, originLocation: i, directions: a } = t, l =
|
|
12986
|
+
const { totalSteps: r, activeStep: o, previous: s, originLocation: i, directions: a } = t, l = ge(), { t: c } = nt(), [u, f] = te(ss), [, d] = te(ob), p = un();
|
|
12982
12987
|
yo(n, () => ({
|
|
12983
12988
|
openSubsteps() {
|
|
12984
12989
|
l.current.openSubsteps();
|
|
@@ -13050,7 +13055,7 @@ jd.propTypes = {
|
|
|
13050
13055
|
originLocation: w.object,
|
|
13051
13056
|
directions: w.object
|
|
13052
13057
|
};
|
|
13053
|
-
const Bd =
|
|
13058
|
+
const Bd = pe({
|
|
13054
13059
|
key: "isDestinationStep",
|
|
13055
13060
|
default: !1
|
|
13056
13061
|
});
|
|
@@ -13062,7 +13067,7 @@ Vd.propTypes = {
|
|
|
13062
13067
|
isOpen: w.bool
|
|
13063
13068
|
};
|
|
13064
13069
|
function Vd({ steps: e, onNextStep: t, onPreviousStep: n, originLocation: r, isOpen: o }) {
|
|
13065
|
-
const { t: s } = nt(), i = Jn(), a =
|
|
13070
|
+
const { t: s } = nt(), i = Jn(), a = ge(), [l, c] = J(), [u, f] = te(os), [d, p] = J(), g = H(Mr), b = H(ss), [, E] = te(Bd), R = un();
|
|
13066
13071
|
j(() => {
|
|
13067
13072
|
p(e);
|
|
13068
13073
|
}, [e]), j(() => {
|
|
@@ -13125,14 +13130,14 @@ la.propTypes = {
|
|
|
13125
13130
|
};
|
|
13126
13131
|
function la({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointSwipedByUser: o }) {
|
|
13127
13132
|
var B;
|
|
13128
|
-
const { t: s } = nt(), i =
|
|
13133
|
+
const { t: s } = nt(), i = ge(), [a, l] = J(null), c = ge(null), [u, f] = J(), 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);
|
|
13129
13134
|
j(() => () => {
|
|
13130
13135
|
l(null);
|
|
13131
13136
|
}, []), j(() => {
|
|
13132
13137
|
if (l(null), e && g) {
|
|
13133
13138
|
f(g.totalTime);
|
|
13134
13139
|
const P = Math.min(window.innerHeight, window.innerWidth) * 0.06;
|
|
13135
|
-
pt == null || pt.setRoute(null), pt = null, Promise.all([G(P),
|
|
13140
|
+
pt == null || pt.setRoute(null), pt = null, Promise.all([G(P), fe(P)]).then(([V, W]) => {
|
|
13136
13141
|
pt = new window.mapsindoors.directions.DirectionsRenderer({
|
|
13137
13142
|
mapsIndoors: d,
|
|
13138
13143
|
fitBounds: !T,
|
|
@@ -13156,7 +13161,7 @@ function la({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointS
|
|
|
13156
13161
|
return On().then((W) => V(W));
|
|
13157
13162
|
});
|
|
13158
13163
|
}
|
|
13159
|
-
function
|
|
13164
|
+
function fe(P) {
|
|
13160
13165
|
return new Promise((V) => {
|
|
13161
13166
|
v ? h ? V(P) : mn().then((W) => V(W)) : V(P);
|
|
13162
13167
|
});
|
|
@@ -13241,11 +13246,11 @@ function la({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointS
|
|
|
13241
13246
|
] })
|
|
13242
13247
|
] });
|
|
13243
13248
|
}
|
|
13244
|
-
const Ud =
|
|
13249
|
+
const Ud = pe({
|
|
13245
13250
|
key: "useKeyboard",
|
|
13246
13251
|
default: !1
|
|
13247
13252
|
}), Hd = vo(function(t, n) {
|
|
13248
|
-
const { searchInputElement: r } = t, o =
|
|
13253
|
+
const { searchInputElement: r } = t, o = ge(), s = H(xn);
|
|
13249
13254
|
return yo(n, () => ({
|
|
13250
13255
|
clearInputField() {
|
|
13251
13256
|
o.current.clearInputField();
|
|
@@ -13258,10 +13263,10 @@ const Ud = he({
|
|
|
13258
13263
|
Hd.propTypes = {
|
|
13259
13264
|
searchInputElement: w.instanceOf(HTMLInputElement)
|
|
13260
13265
|
};
|
|
13261
|
-
const is =
|
|
13266
|
+
const is = pe({
|
|
13262
13267
|
key: "searchResults",
|
|
13263
13268
|
default: []
|
|
13264
|
-
}), ca =
|
|
13269
|
+
}), ca = pe({
|
|
13265
13270
|
key: "selectedCategory",
|
|
13266
13271
|
default: void 0
|
|
13267
13272
|
});
|
|
@@ -13279,10 +13284,10 @@ function sb() {
|
|
|
13279
13284
|
}
|
|
13280
13285
|
});
|
|
13281
13286
|
}
|
|
13282
|
-
const ib =
|
|
13287
|
+
const ib = pe({
|
|
13283
13288
|
key: "isBottomSheetLoaded",
|
|
13284
13289
|
default: !1
|
|
13285
|
-
}), zd =
|
|
13290
|
+
}), zd = pe({
|
|
13286
13291
|
key: "category",
|
|
13287
13292
|
default: void 0
|
|
13288
13293
|
}), zl = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 28, height: 28, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.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__ */ ne.createElement("svg", { width: 28, height: 28, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ ne.createElement("path", { d: "M10.5 7.00006L17.5 14.0001L10.5 21.0001", stroke: "#1F2937", strokeWidth: 2.33333, strokeLinecap: "round", strokeLinejoin: "round" }));
|
|
@@ -13297,7 +13302,7 @@ fi.propTypes = {
|
|
|
13297
13302
|
categoryOrientation: w.oneOf(["horizontal", "vertical"])
|
|
13298
13303
|
};
|
|
13299
13304
|
function fi({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen: r, topLevelCategory: o, handleBack: s, selectedCategoriesArray: i, categoryOrientation: a }) {
|
|
13300
|
-
const l = H(kr), c = Pt(), [u, f] = te(ca), [, d] = te(is), [, p] = te(Go), g = Jn(), [b, E] = J(), R = H(ib), h = H(zd), v = H(Et), y = Td(v, r), [S, C] = J([]), [T, N] = J([]), { t: O } = nt(), M = un(), F =
|
|
13305
|
+
const l = H(kr), c = Pt(), [u, f] = te(ca), [, d] = te(is), [, p] = te(Go), g = Jn(), [b, E] = J(), R = H(ib), h = H(zd), v = H(Et), y = Td(v, r), [S, C] = J([]), [T, N] = J([]), { t: O } = nt(), M = un(), F = ge(null), [Y, A] = J(!1), [G, fe] = J(!1), ce = (k) => {
|
|
13301
13306
|
we && F.current && F.current.scrollBy({
|
|
13302
13307
|
left: k === "left" ? -200 : 200,
|
|
13303
13308
|
behavior: "smooth"
|
|
@@ -13305,7 +13310,7 @@ function fi({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen:
|
|
|
13305
13310
|
}, oe = () => {
|
|
13306
13311
|
if (F.current) {
|
|
13307
13312
|
const { scrollLeft: k, scrollWidth: D, clientWidth: B } = F.current, P = k <= 0, V = k >= D - B - 1;
|
|
13308
|
-
A(!P),
|
|
13313
|
+
A(!P), fe(!V);
|
|
13309
13314
|
}
|
|
13310
13315
|
}, de = !o && S.length === 0, we = M && a === "horizontal" && !de;
|
|
13311
13316
|
j(() => {
|
|
@@ -13400,7 +13405,7 @@ const lb = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 2
|
|
|
13400
13405
|
stroke: "#111827",
|
|
13401
13406
|
stroke: "color(display-p3 0.0667 0.0941 0.1529)",
|
|
13402
13407
|
strokeOpacity: 1
|
|
13403
|
-
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), as =
|
|
13408
|
+
}, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), as = pe({
|
|
13404
13409
|
key: "isLegendDialogVisible",
|
|
13405
13410
|
default: !1
|
|
13406
13411
|
}), Gd = Bo({
|
|
@@ -13428,7 +13433,7 @@ const lb = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 2
|
|
|
13428
13433
|
}
|
|
13429
13434
|
return n.sort((o, s) => o.index - s.index);
|
|
13430
13435
|
}
|
|
13431
|
-
}), ua =
|
|
13436
|
+
}), ua = pe({
|
|
13432
13437
|
key: "initialVenueName",
|
|
13433
13438
|
default: null
|
|
13434
13439
|
});
|
|
@@ -13438,7 +13443,7 @@ da.propTypes = {
|
|
|
13438
13443
|
isOpen: w.bool
|
|
13439
13444
|
};
|
|
13440
13445
|
function da({ onSetSize: e, isOpen: t }) {
|
|
13441
|
-
const n = H(cn), { t: r } = nt(), o =
|
|
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] = J(!1), [E, R] = te(ca), h = Jn(), [v, y] = J(), 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] = J(!1), ce = H(sa), oe = un(), [, de] = te(as), [we, $] = J(!1), U = H(Gd), x = H(ts), k = H(Ar), D = H(ua), [B, P] = J(!1), V = ge([]), [W, z] = J([]), [X, he] = J(!1);
|
|
13442
13447
|
function K() {
|
|
13443
13448
|
var ie, Q, _e;
|
|
13444
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]));
|
|
@@ -13563,7 +13568,7 @@ function da({ onSetSize: e, isOpen: t }) {
|
|
|
13563
13568
|
}, [u, t]), j(() => {
|
|
13564
13569
|
if (p) {
|
|
13565
13570
|
const ie = (Q) => {
|
|
13566
|
-
Q.target.closest("mi-keyboard") || Q.target.tagName.toUpperCase() === "MI-SEARCH" || Q.target.tagName.toUpperCase() === "INPUT" ?
|
|
13571
|
+
Q.target.closest("mi-keyboard") || Q.target.tagName.toUpperCase() === "MI-SEARCH" || Q.target.tagName.toUpperCase() === "INPUT" ? fe(!0) : fe(!1);
|
|
13567
13572
|
};
|
|
13568
13573
|
return window.addEventListener("click", ie, !1), () => {
|
|
13569
13574
|
window.removeEventListener("click", ie, !1);
|
|
@@ -13579,7 +13584,7 @@ function da({ onSetSize: e, isOpen: t }) {
|
|
|
13579
13584
|
z(ie);
|
|
13580
13585
|
}, [d, E]), j(() => {
|
|
13581
13586
|
var ie, Q;
|
|
13582
|
-
|
|
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");
|
|
13583
13588
|
}, [n]), /* @__PURE__ */ m.jsxs(
|
|
13584
13589
|
"div",
|
|
13585
13590
|
{
|
|
@@ -13698,7 +13703,7 @@ Kd.propTypes = {
|
|
|
13698
13703
|
onRouteFinished: w.func.isRequired
|
|
13699
13704
|
};
|
|
13700
13705
|
function Kd({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n, currentAppView: r, appViews: o, onRouteFinished: s }) {
|
|
13701
|
-
const i =
|
|
13706
|
+
const i = ge(), a = ge(), l = ge(), c = ge(), u = ge(), f = ge(), [d, p] = te(Qt), [g, b] = J(!1), [E, R] = te(Ko), [, h] = te(qo);
|
|
13702
13707
|
j(() => {
|
|
13703
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));
|
|
13704
13709
|
}, [d, e, t, E]), j(() => {
|
|
@@ -13840,7 +13845,7 @@ const cb = {
|
|
|
13840
13845
|
}, e, n, cb, () => {
|
|
13841
13846
|
i(o.value, o.payload);
|
|
13842
13847
|
}];
|
|
13843
|
-
}, db =
|
|
13848
|
+
}, db = pe({
|
|
13844
13849
|
key: "showQRCodeDialog",
|
|
13845
13850
|
default: !1
|
|
13846
13851
|
});
|
|
@@ -13855,7 +13860,7 @@ jn.propTypes = {
|
|
|
13855
13860
|
isOpen: w.bool
|
|
13856
13861
|
};
|
|
13857
13862
|
function jn({ children: e, isOpen: t }) {
|
|
13858
|
-
const [n, r] = J(!1), o = H(Bt), s =
|
|
13863
|
+
const [n, r] = J(!1), o = H(Bt), s = ge(), i = ge();
|
|
13859
13864
|
return j(() => {
|
|
13860
13865
|
if (!i)
|
|
13861
13866
|
return;
|
|
@@ -13944,12 +13949,12 @@ const Gl = (e) => {
|
|
|
13944
13949
|
return j(() => {
|
|
13945
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)));
|
|
13946
13951
|
}, [e, r, o]), t;
|
|
13947
|
-
}, hb =
|
|
13952
|
+
}, hb = pe({
|
|
13948
13953
|
key: "gmMapId",
|
|
13949
13954
|
default: null
|
|
13950
13955
|
});
|
|
13951
13956
|
function pb() {
|
|
13952
|
-
const e = H(Nr), t =
|
|
13957
|
+
const e = H(Nr), t = ge();
|
|
13953
13958
|
return j(() => {
|
|
13954
13959
|
var n;
|
|
13955
13960
|
(n = t.current) == null || n.classList.add("notification"), e ? t.current.push(e.text, e.type, !0) : t.current.clearAll();
|
|
@@ -15440,7 +15445,7 @@ $r.toString = va.bind(null, function(e, t, n) {
|
|
|
15440
15445
|
return r3.render(e, n);
|
|
15441
15446
|
});
|
|
15442
15447
|
function o3() {
|
|
15443
|
-
const { t: e } = nt(), [t, n] = te(ns), r =
|
|
15448
|
+
const { t: e } = nt(), [t, n] = te(ns), r = ge(), o = H(Vt);
|
|
15444
15449
|
return j(() => {
|
|
15445
15450
|
const s = {
|
|
15446
15451
|
errorCorrectionLevel: "L",
|
|
@@ -15459,12 +15464,12 @@ function o3() {
|
|
|
15459
15464
|
] })
|
|
15460
15465
|
] });
|
|
15461
15466
|
}
|
|
15462
|
-
const s3 =
|
|
15467
|
+
const s3 = pe({
|
|
15463
15468
|
key: "miTransitionLevel",
|
|
15464
15469
|
default: void 0
|
|
15465
15470
|
});
|
|
15466
15471
|
function i3() {
|
|
15467
|
-
const { t: e } = nt(), t = H(Vt), n = H(Gd), r = un(), o =
|
|
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] = J(!1), f = ge();
|
|
15468
15473
|
let d = 700;
|
|
15469
15474
|
return j(() => {
|
|
15470
15475
|
a && r && u(f.current.clientHeight > d);
|
|
@@ -15524,15 +15529,15 @@ const a3 = () => {
|
|
|
15524
15529
|
}
|
|
15525
15530
|
}
|
|
15526
15531
|
const N = Array.from(T).sort((O, M) => {
|
|
15527
|
-
var A, G,
|
|
15528
|
-
const F = (G = (A = o.menuInfo) == null ? void 0 : A.mainmenu) == null ? void 0 : G.findIndex((oe) => oe.categoryKey === O[0]), Y = (ce = (
|
|
15532
|
+
var A, G, fe, ce;
|
|
15533
|
+
const F = (G = (A = o.menuInfo) == null ? void 0 : A.mainmenu) == null ? void 0 : G.findIndex((oe) => oe.categoryKey === O[0]), Y = (ce = (fe = o.menuInfo) == null ? void 0 : fe.mainmenu) == null ? void 0 : ce.findIndex((oe) => oe.categoryKey === M[0]);
|
|
15529
15534
|
return F - Y;
|
|
15530
15535
|
});
|
|
15531
15536
|
s(N);
|
|
15532
15537
|
});
|
|
15533
15538
|
};
|
|
15534
15539
|
return [t, f];
|
|
15535
|
-
}, l3 =
|
|
15540
|
+
}, l3 = pe({
|
|
15536
15541
|
key: "showRoadNames",
|
|
15537
15542
|
default: !0
|
|
15538
15543
|
});
|
|
@@ -15579,8 +15584,8 @@ df.propTypes = {
|
|
|
15579
15584
|
mapboxMapStyle: w.string,
|
|
15580
15585
|
devicePosition: w.object
|
|
15581
15586
|
};
|
|
15582
|
-
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:
|
|
15583
|
-
const [de, we] = J(!1), [$, U] = J({ brandingColor: s }), [, x] = te(Fi), [, k] = te(Ui), [, D] = te(zo), [B, P] = te(Zo), [V, W] = te(Ar), [z, X] = te(Qt),
|
|
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] = J(!1), [$, U] = J({ brandingColor: s }), [, x] = te(Fi), [, k] = te(Ui), [, D] = te(zo), [B, P] = te(Zo), [V, W] = te(Ar), [z, X] = 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] = J(), q = ge(), [, ae] = te(Dd), se = H(ns), [ue, me] = J(!0), [ye, ve] = J(!0), xe = Gl(l), Ue = Gl(c), [rt, Qe] = J(!1), [, st] = te(Ko), [ht, Lt] = te(Go), [Jt, Nt] = J(), [ee, 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] = J(!1), jr = H(as), [wt, ya] = J(0), [gs, ff] = a3(), hf = c3(), [, pf] = te(Nr);
|
|
15584
15589
|
function gf() {
|
|
15585
15590
|
return new Promise((re) => {
|
|
15586
15591
|
if (window.mapsindoors !== void 0)
|
|
@@ -15605,7 +15610,7 @@ function df({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15605
15610
|
if ($e) {
|
|
15606
15611
|
const je = qe ?? h ?? ((re = ee == null ? void 0 : ee.appSettings) == null ? void 0 : re.language) ?? navigator.language;
|
|
15607
15612
|
window.mapsindoors.MapsIndoors.setLanguage(je.split("-")[0]), window.mapsindoors.services.LocationsService.once("update_completed", () => {
|
|
15608
|
-
|
|
15613
|
+
he.length > 0 && ff(), V.length > 0 && window.mapsindoors.services.VenuesService.getVenues().then((ct) => {
|
|
15609
15614
|
ct = ct.map((zt) => (zt.image = ee.venueImages[zt.name.toLowerCase()], zt)), W(ct);
|
|
15610
15615
|
}), z && window.mapsindoors.services.LocationsService.getLocation(z.id).then((ct) => X(ct));
|
|
15611
15616
|
}), (!tt.language || tt.language !== je) && (tt.isInitialized ? tt.changeLanguage(je) : Jy(je));
|
|
@@ -15674,13 +15679,13 @@ function df({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15674
15679
|
brandingColor: Se,
|
|
15675
15680
|
// Ensure showRoadNames and showMapMarkers are booleans, even if appConfig.appSettings.showRoadNames/showMapMarkers is a string
|
|
15676
15681
|
showRoadNames: M !== void 0 ? M : typeof ((re = ee == null ? void 0 : ee.appSettings) == null ? void 0 : re.showRoadNames) == "string" ? ee.appSettings.showRoadNames.toLowerCase() === "true" : (je = ee == null ? void 0 : ee.appSettings) == null ? void 0 : je.showRoadNames,
|
|
15677
|
-
showMapMarkers:
|
|
15682
|
+
showMapMarkers: fe !== void 0 ? fe : typeof ((ct = ee == null ? void 0 : ee.appSettings) == null ? void 0 : ct.showMapMarkers) == "string" ? ee.appSettings.showMapMarkers.toLowerCase() === "true" : (zt = ee == null ? void 0 : ee.appSettings) == null ? void 0 : zt.showMapMarkers,
|
|
15678
15683
|
miTransitionLevel: C,
|
|
15679
15684
|
// If ignoreViewportBounds is true, we would like to see the map at the minimum zoom level (World Map).
|
|
15680
15685
|
minZoom: (ba = ee == null ? void 0 : ee.appSettings) != null && ba.ignoreViewportBounds ? 1 : Fd.minZoom,
|
|
15681
15686
|
mapboxMapStyle: ((wa = ee == null ? void 0 : ee.appSettings) == null ? void 0 : wa.mapboxMapStyle) || ce
|
|
15682
15687
|
});
|
|
15683
|
-
}, [s, M, C, Se,
|
|
15688
|
+
}, [s, M, C, Se, fe, ee]), j(() => {
|
|
15684
15689
|
var re;
|
|
15685
15690
|
_(d ?? ((re = ee == null ? void 0 : ee.appSettings) == null ? void 0 : re.startZoomLevel));
|
|
15686
15691
|
}, [d, ee]), j(() => {
|
|
@@ -15709,8 +15714,8 @@ function df({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15709
15714
|
}, [v]), j(() => {
|
|
15710
15715
|
y && R && ft(y);
|
|
15711
15716
|
}, [y, R]), j(() => {
|
|
15712
|
-
$e && T &&
|
|
15713
|
-
}, [T,
|
|
15717
|
+
$e && T && he.find((re) => re[0] === T) && Q(T);
|
|
15718
|
+
}, [T, he, $e]), j(() => {
|
|
15714
15719
|
_e(N);
|
|
15715
15720
|
}, [N]), j(() => {
|
|
15716
15721
|
et(O);
|
|
@@ -15747,8 +15752,8 @@ function df({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
|
|
|
15747
15752
|
hf(), Ye(), ya((re) => re + 1), Q(null);
|
|
15748
15753
|
}
|
|
15749
15754
|
return j(() => {
|
|
15750
|
-
$e && T &&
|
|
15751
|
-
}, [T,
|
|
15755
|
+
$e && T && he.find((re) => re[0] === T) && (Q(T), Me(T));
|
|
15756
|
+
}, [T, he, $e]), j(() => {
|
|
15752
15757
|
var re;
|
|
15753
15758
|
de || (h && qe !== h ? Ze(h) : !h && ((re = ee == null ? void 0 : ee.appSettings) != null && re.language) && qe !== ee.appSettings.language && Ze(ee.appSettings.language));
|
|
15754
15759
|
}, [h, ee, qe, Ze, de]), /* @__PURE__ */ m.jsxs("div", { className: `mapsindoors-map
|
|
@@ -15865,7 +15870,7 @@ function u3(e) {
|
|
|
15865
15870
|
showExternalIDs: !1,
|
|
15866
15871
|
hideNonMatches: !1,
|
|
15867
15872
|
useAppTitle: !1
|
|
15868
|
-
}, 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 = (D = o.get("appUserRoles")) == null ? void 0 : D.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"),
|
|
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 = (D = o.get("appUserRoles")) == null ? void 0 : D.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;
|
|
15869
15874
|
let k = e.supportsUrlParameters && a ? a : e.venue || s.venue;
|
|
15870
15875
|
x === "mapspeople3d" && !k && (k = "AUSTINOFFICE"), n({
|
|
15871
15876
|
apiKey: x,
|
|
@@ -15897,7 +15902,7 @@ function u3(e) {
|
|
|
15897
15902
|
searchAllVenues: Gt(e.supportsUrlParameters, s.searchAllVenues, e.searchAllVenues, A),
|
|
15898
15903
|
hideNonMatches: Gt(e.supportsUrlParameters, s.hideNonMatches, e.hideNonMatches, G),
|
|
15899
15904
|
showRoadNames: Gt(e.supportsUrlParameters, s.showRoadNames, e.showRoadNames, ce),
|
|
15900
|
-
showExternalIDs: Gt(e.supportsUrlParameters, s.showExternalIDs, e.showExternalIDs,
|
|
15905
|
+
showExternalIDs: Gt(e.supportsUrlParameters, s.showExternalIDs, e.showExternalIDs, fe),
|
|
15901
15906
|
searchExternalLocations: Gt(e.supportsUrlParameters, s.searchExternalLocations, e.searchExternalLocations, oe),
|
|
15902
15907
|
supportsUrlParameters: e.supportsUrlParameters,
|
|
15903
15908
|
useAppTitle: Gt(e.supportsUrlParameters, s.useAppTitle, e.useAppTitle, we),
|
|
@@ -15920,4 +15925,4 @@ export {
|
|
|
15920
15925
|
m as j,
|
|
15921
15926
|
g3 as r
|
|
15922
15927
|
};
|
|
15923
|
-
//# sourceMappingURL=reactcomponent-
|
|
15928
|
+
//# sourceMappingURL=reactcomponent-bb71784c.mjs.map
|