@mapsindoors/map-template 1.89.0 → 1.89.2

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.
Files changed (43) hide show
  1. package/dist/{GoogleMapsMap-532b45c7.mjs → GoogleMapsMap-52baff50.mjs} +2 -2
  2. package/dist/{MapboxMap-56c170d9.mjs → MapboxMap-4def7f8c.mjs} +2 -2
  3. package/dist/{combo-box-item.entry-3a5faacf.mjs → combo-box-item.entry-9fa90934.mjs} +2 -2
  4. package/dist/mapsindoors-react.es.js +1 -1
  5. package/dist/mapsindoors-react.umd.js +28 -28
  6. package/dist/mapsindoors-webcomponent.es.js +877 -875
  7. package/dist/mapsindoors-webcomponent.umd.js +22 -22
  8. package/dist/{mi-card_2.entry-9bc82f82.mjs → mi-card_2.entry-802ac37a.mjs} +2 -2
  9. package/dist/{mi-chip.entry-098ec0b4.mjs → mi-chip.entry-5e280243.mjs} +2 -2
  10. package/dist/{mi-column.entry-c6d8ff92.mjs → mi-column.entry-d8d03cc3.mjs} +2 -2
  11. package/dist/{mi-combo-box.entry-b8ad28ad.mjs → mi-combo-box.entry-a25bc003.mjs} +2 -2
  12. package/dist/{mi-data-table.entry-d2cf5b2f.mjs → mi-data-table.entry-38fdabfe.mjs} +2 -2
  13. package/dist/{mi-distance_2.entry-aef3bcbb.mjs → mi-distance_2.entry-c2092d97.mjs} +2 -2
  14. package/dist/{mi-dropdown-item.entry-f6ba5610.mjs → mi-dropdown-item.entry-ca411ec6.mjs} +2 -2
  15. package/dist/{mi-dropdown.entry-fbc6b24d.mjs → mi-dropdown.entry-1c8e2c37.mjs} +2 -2
  16. package/dist/{mi-floor-selector.entry-fb2694f9.mjs → mi-floor-selector.entry-a07a669e.mjs} +2 -2
  17. package/dist/{mi-keyboard.entry-d939275c.mjs → mi-keyboard.entry-93aae114.mjs} +2 -2
  18. package/dist/{mi-list-item-category.entry-e1cf5fce.mjs → mi-list-item-category.entry-21a8e269.mjs} +2 -2
  19. package/dist/{mi-list-item-location.entry-cc1a4630.mjs → mi-list-item-location.entry-e4d6c7c4.mjs} +2 -2
  20. package/dist/{mi-list.entry-95708421.mjs → mi-list.entry-2eb6e6fb.mjs} +2 -2
  21. package/dist/{mi-location-booking.entry-0a5fead8.mjs → mi-location-booking.entry-b509de62.mjs} +2 -2
  22. package/dist/{mi-location-info.entry-9ceac587.mjs → mi-location-info.entry-154935dc.mjs} +2 -2
  23. package/dist/{mi-map-googlemaps.entry-3704d566.mjs → mi-map-googlemaps.entry-a5f9563e.mjs} +2 -2
  24. package/dist/{mi-map-mapbox.entry-a8b22483.mjs → mi-map-mapbox.entry-ce668a41.mjs} +2 -2
  25. package/dist/{mi-metric-card.entry-849ff3c9.mjs → mi-metric-card.entry-5e3e27de.mjs} +2 -2
  26. package/dist/{mi-my-position.entry-4ae00196.mjs → mi-my-position.entry-4ae16267.mjs} +2 -2
  27. package/dist/{mi-notification.entry-bf23939a.mjs → mi-notification.entry-7f79d65b.mjs} +2 -2
  28. package/dist/{mi-route-instructions-heading.entry-d0c49625.mjs → mi-route-instructions-heading.entry-83ab110e.mjs} +2 -2
  29. package/dist/{mi-route-instructions-maneuver-legacy.entry-cb445395.mjs → mi-route-instructions-maneuver-legacy.entry-40e523b3.mjs} +2 -2
  30. package/dist/{mi-route-instructions-maneuver.entry-27e18e2a.mjs → mi-route-instructions-maneuver.entry-c96d4a48.mjs} +2 -2
  31. package/dist/{mi-route-instructions-step-legacy.entry-cf228b9e.mjs → mi-route-instructions-step-legacy.entry-95b197e9.mjs} +2 -2
  32. package/dist/{mi-route-instructions-step.entry-42796d6e.mjs → mi-route-instructions-step.entry-51700897.mjs} +2 -2
  33. package/dist/{mi-route-instructions.entry-c0494032.mjs → mi-route-instructions.entry-3c705f65.mjs} +2 -2
  34. package/dist/{mi-scroll-buttons.entry-56b809db.mjs → mi-scroll-buttons.entry-f963323c.mjs} +2 -2
  35. package/dist/{mi-search.entry-1a824f73.mjs → mi-search.entry-5e9944fa.mjs} +2 -2
  36. package/dist/{mi-share-sms.entry-553795c8.mjs → mi-share-sms.entry-03f29b65.mjs} +2 -2
  37. package/dist/{mi-step-switcher.entry-f5c16587.mjs → mi-step-switcher.entry-15bdbe42.mjs} +2 -2
  38. package/dist/{mi-tab-panel.entry-06f88f72.mjs → mi-tab-panel.entry-32e39b1f.mjs} +2 -2
  39. package/dist/{mi-tab.entry-a6a8666e.mjs → mi-tab.entry-d1191ee1.mjs} +2 -2
  40. package/dist/{mi-tabs.entry-bfc0c92c.mjs → mi-tabs.entry-a517b481.mjs} +2 -2
  41. package/dist/{mi-time.entry-50a70928.mjs → mi-time.entry-eb59c534.mjs} +2 -2
  42. package/dist/{reactcomponent-d39ad999.mjs → reactcomponent-39094f44.mjs} +348 -346
  43. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as ne from "react";
2
- import Pe, { createContext as Yl, useContext as ql, useState as J, useRef as pe, useEffect as B, useCallback as Kt, memo as Zl, useMemo as mn, lazy as Ql, Suspense as wa, forwardRef as vo, useImperativeHandle as yo, cloneElement as Xl, useLayoutEffect as yf, Fragment as Sf } from "react";
2
+ import Pe, { createContext as Yl, useContext as ql, useState as J, useRef as pe, useEffect as j, useCallback as Kt, memo as Zl, useMemo as mn, lazy as Ql, Suspense as wa, forwardRef as vo, useImperativeHandle as yo, cloneElement as Xl, useLayoutEffect as yf, Fragment as Sf } from "react";
3
3
  import cr, { createPortal as Sr } from "react-dom";
4
4
  var bf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
5
  function Jl(e) {
@@ -189,7 +189,7 @@ function Cf() {
189
189
  ge++;
190
190
  }
191
191
  }
192
- function j() {
192
+ function B() {
193
193
  {
194
194
  if (ge--, ge === 0) {
195
195
  var _ = {
@@ -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, H;
227
+ var D = R.ReactCurrentDispatcher, U;
228
228
  function q(_, Z, le) {
229
229
  {
230
- if (H === void 0)
230
+ if (U === void 0)
231
231
  try {
232
232
  throw Error();
233
233
  } catch (Oe) {
234
234
  var be = Oe.stack.trim().match(/\n( *(at )?)/);
235
- H = be && be[1] || "";
235
+ U = be && be[1] || "";
236
236
  }
237
237
  return `
238
- ` + H + _;
238
+ ` + U + _;
239
239
  }
240
240
  }
241
241
  var z = !1, X;
@@ -309,7 +309,7 @@ function Cf() {
309
309
  }
310
310
  }
311
311
  } finally {
312
- z = !1, D.current = De, j(), Error.prepareStackTrace = Oe;
312
+ z = !1, D.current = De, B(), Error.prepareStackTrace = Oe;
313
313
  }
314
314
  var en = _ ? _.displayName || _.name : "", jr = en ? q(en) : "";
315
315
  return typeof _ == "function" && X.set(_, jr), jr;
@@ -1344,11 +1344,11 @@ var gh = ph(function(e) {
1344
1344
  x.prototype.tryGet = function(M, N) {
1345
1345
  return I(M, N, this);
1346
1346
  };
1347
- var j = n.getHash = function(M, N, Y) {
1347
+ var B = n.getHash = function(M, N, Y) {
1348
1348
  return T(void 0, M, N, Y);
1349
1349
  };
1350
1350
  x.prototype.getHash = function(M, N) {
1351
- return j(M, N, this);
1351
+ return B(M, N, this);
1352
1352
  }, n.get = function(M, N) {
1353
1353
  return T(void 0, N._config.hash(M), M, N);
1354
1354
  }, x.prototype.get = function(M, N) {
@@ -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 H = n.has = function(M, N) {
1363
+ var U = 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 H(M, this);
1367
+ return U(M, this);
1368
1368
  };
1369
1369
  var q = function(N, Y) {
1370
1370
  return N === Y;
@@ -4021,8 +4021,8 @@ function uu(e) {
4021
4021
  function p() {
4022
4022
  return i0(n) !== void 0 && !f();
4023
4023
  }
4024
- function g(x, T, I, j, D) {
4025
- ce(T, j, D), b(x, I);
4024
+ function g(x, T, I, B, D) {
4025
+ ce(T, B, D), b(x, I);
4026
4026
  }
4027
4027
  function b(x, T) {
4028
4028
  G(x, T) && A(x), R(T, !0);
@@ -4033,8 +4033,8 @@ function uu(e) {
4033
4033
  function R(x, T) {
4034
4034
  const I = Ur.get(x);
4035
4035
  if (I != null) {
4036
- for (const j of I)
4037
- za(j, Ge(t));
4036
+ for (const B of I)
4037
+ za(B, Ge(t));
4038
4038
  T && Ur.delete(x);
4039
4039
  }
4040
4040
  }
@@ -4042,26 +4042,26 @@ 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, j, D, H) {
4045
+ function v(x, T, I, B, D, U) {
4046
4046
  return T.then((q) => {
4047
4047
  if (!f())
4048
4048
  throw A(x), sr;
4049
4049
  const z = ws(q);
4050
- return g(x, I, D, z, j), q;
4050
+ return g(x, I, D, z, B), q;
4051
4051
  }).catch((q) => {
4052
4052
  if (!f())
4053
4053
  throw A(x), sr;
4054
4054
  if (He(q))
4055
- return y(x, q, I, j, D, H);
4055
+ return y(x, q, I, B, D, U);
4056
4056
  const z = Vr(q);
4057
- throw g(x, I, D, z, j), q;
4057
+ throw g(x, I, D, z, B), q;
4058
4058
  });
4059
4059
  }
4060
- function y(x, T, I, j, D, H) {
4060
+ function y(x, T, I, B, D, U) {
4061
4061
  return T.then((q) => {
4062
4062
  if (!f())
4063
4063
  throw A(x), sr;
4064
- H.loadingDepKey != null && H.loadingDepPromise === T ? I.atomValues.set(H.loadingDepKey, ws(q)) : x.getState().knownSelectors.forEach((K) => {
4064
+ U.loadingDepKey != null && U.loadingDepPromise === T ? I.atomValues.set(U.loadingDepKey, ws(q)) : x.getState().knownSelectors.forEach((K) => {
4065
4065
  I.atomValues.delete(K);
4066
4066
  });
4067
4067
  const z = L(x, I);
@@ -4085,12 +4085,12 @@ function uu(e) {
4085
4085
  if (!f())
4086
4086
  throw A(x), sr;
4087
4087
  const z = Vr(q);
4088
- throw g(x, I, D, z, j), q;
4088
+ throw g(x, I, D, z, B), q;
4089
4089
  });
4090
4090
  }
4091
- function S(x, T, I, j) {
4092
- var D, H, q, z;
4093
- if (G(x, j) || 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)) {
4091
+ function S(x, T, I, B) {
4092
+ var D, U, q, z;
4093
+ if (G(x, B) || T.version === ((D = x.getState()) === null || D === void 0 || (U = D.currentTree) === null || U === void 0 ? void 0 : U.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
  }
@@ -4098,10 +4098,10 @@ function uu(e) {
4098
4098
  i.add(Se);
4099
4099
  }
4100
4100
  function C(x, T, I) {
4101
- const j = d0(n);
4102
- let D = !0, H = !0;
4101
+ const B = d0(n);
4102
+ let D = !0, U = !0;
4103
4103
  const q = () => {
4104
- j(), H = !1;
4104
+ B(), U = !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 (H)
4126
+ if (U)
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,
@@ -4149,19 +4149,19 @@ function uu(e) {
4149
4149
  let I = T.atomValues.get(n);
4150
4150
  if (I != null)
4151
4151
  return I;
4152
- const j = /* @__PURE__ */ new Set();
4152
+ const B = /* @__PURE__ */ new Set();
4153
4153
  try {
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 && j.add(H.nodeKey);
4154
+ I = a.get((U) => (typeof U != "string" && (process.env.NODE_ENV !== "production" ? It(!1, "Cache nodeKey is type string") : It(!1)), Fr(x, T, U).contents), {
4155
+ onNodeVisit: (U) => {
4156
+ U.type === "branch" && U.nodeKey !== n && B.add(U.nodeKey);
4157
4157
  }
4158
4158
  });
4159
- } catch (H) {
4160
- throw Re(`Problem with cache lookup for selector "${n}": ${H.message}`);
4159
+ } catch (U) {
4160
+ throw Re(`Problem with cache lookup for selector "${n}": ${U.message}`);
4161
4161
  }
4162
4162
  if (I) {
4163
4163
  var D;
4164
- T.atomValues.set(n, I), S(x, T, j, (D = P(x)) === null || D === void 0 ? void 0 : D.executionID);
4164
+ T.atomValues.set(n, I), S(x, T, B, (D = P(x)) === null || D === void 0 ? void 0 : D.executionID);
4165
4165
  }
4166
4166
  return I;
4167
4167
  }
@@ -4169,19 +4169,19 @@ function uu(e) {
4169
4169
  const I = L(x, T);
4170
4170
  if (I != null)
4171
4171
  return A(x), I;
4172
- const j = O(x, T);
4173
- if (j != null) {
4172
+ const B = O(x, T);
4173
+ if (B != null) {
4174
4174
  var D;
4175
- return ((D = j.loadingLoadable) === null || D === void 0 ? void 0 : D.state) === "loading" && h(x, j.executionID), j.loadingLoadable;
4175
+ return ((D = B.loadingLoadable) === null || D === void 0 ? void 0 : D.state) === "loading" && h(x, B.executionID), B.loadingLoadable;
4176
4176
  }
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;
4177
+ const U = f0(), [q, z] = C(x, T, U);
4178
+ return q.state === "loading" ? (F(x, U, q, z, T), h(x, U)) : (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
- function j(D) {
4183
- for (const [H, q] of D)
4184
- if (!Fr(x, T, H).is(q))
4182
+ function B(D) {
4183
+ for (const [U, q] of D)
4184
+ if (!Fr(x, T, U).is(q))
4185
4185
  return !0;
4186
4186
  return !1;
4187
4187
  }
@@ -4190,7 +4190,7 @@ function uu(e) {
4190
4190
  // If this execution was already checked to be valid with this version
4191
4191
  // of state, then let's use it!
4192
4192
  D.stateVersions.get(T.version) || // If the deps for the execution match our current state, then it's valid
4193
- !j(D.depValuesDiscoveredSoFarDuringAsyncWork)
4193
+ !B(D.depValuesDiscoveredSoFarDuringAsyncWork)
4194
4194
  )
4195
4195
  return D.stateVersions.set(T.version, !0), D;
4196
4196
  D.stateVersions.set(T.version, !1);
@@ -4199,9 +4199,9 @@ function uu(e) {
4199
4199
  function P(x) {
4200
4200
  return c.get(x);
4201
4201
  }
4202
- function F(x, T, I, j, D) {
4202
+ function F(x, T, I, B, D) {
4203
4203
  c.set(x, {
4204
- depValuesDiscoveredSoFarDuringAsyncWork: j,
4204
+ depValuesDiscoveredSoFarDuringAsyncWork: B,
4205
4205
  executionID: T,
4206
4206
  loadingLoadable: I,
4207
4207
  stateVersions: /* @__PURE__ */ new Map([[D.version, !0]])
@@ -4209,8 +4209,8 @@ function uu(e) {
4209
4209
  }
4210
4210
  function W(x, T, I) {
4211
4211
  if (G(x, T)) {
4212
- const j = P(x);
4213
- j != null && (j.depValuesDiscoveredSoFarDuringAsyncWork = I);
4212
+ const B = P(x);
4213
+ B != null && (B.depValuesDiscoveredSoFarDuringAsyncWork = I);
4214
4214
  }
4215
4215
  }
4216
4216
  function A(x) {
@@ -4227,8 +4227,8 @@ function uu(e) {
4227
4227
  process.env.NODE_ENV !== "production" && T.state !== "loading" && !e.dangerouslyAllowMutability && Qs(T.contents), x.atomValues.set(n, T);
4228
4228
  try {
4229
4229
  a.set(ge(I), T);
4230
- } catch (j) {
4231
- throw Re(`Problem with setting cache for selector "${n}": ${j.message}`);
4230
+ } catch (B) {
4231
+ throw Re(`Problem with setting cache for selector "${n}": ${B.message}`);
4232
4232
  }
4233
4233
  }
4234
4234
  function re(x) {
@@ -4245,9 +4245,9 @@ function uu(e) {
4245
4245
  }
4246
4246
  function de(x, T) {
4247
4247
  const I = T.atomValues.get(n);
4248
- return I ?? a.get((j) => {
4248
+ return I ?? a.get((B) => {
4249
4249
  var D;
4250
- return typeof j != "string" && (process.env.NODE_ENV !== "production" ? It(!1, "Cache nodeKey is type string") : It(!1)), (D = n0(x, T, j)) === null || D === void 0 ? void 0 : D.contents;
4250
+ return typeof B != "string" && (process.env.NODE_ENV !== "production" ? It(!1, "Cache nodeKey is type string") : It(!1)), (D = n0(x, T, B)) === null || D === void 0 ? void 0 : D.contents;
4251
4251
  });
4252
4252
  }
4253
4253
  function we(x, T) {
@@ -4258,9 +4258,9 @@ function uu(e) {
4258
4258
  }
4259
4259
  function V(x, T) {
4260
4260
  t == null && (process.env.NODE_ENV !== "production" ? It(!1, "Recoil Value can never be null") : It(!1));
4261
- for (const j of i) {
4261
+ for (const B of i) {
4262
4262
  var I;
4263
- const D = a0(j);
4263
+ const D = a0(B);
4264
4264
  (I = D.clearCache) === null || I === void 0 || I.call(D, x, T);
4265
4265
  }
4266
4266
  i.clear(), $(T), a.clear(), za(x, t);
@@ -4270,9 +4270,9 @@ function uu(e) {
4270
4270
  nodeType: "selector",
4271
4271
  peek: de,
4272
4272
  get: we,
4273
- set: (T, I, j) => {
4273
+ set: (T, I, B) => {
4274
4274
  let D = !1;
4275
- const H = /* @__PURE__ */ new Map();
4275
+ const U = /* @__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) => H.set(Ne, Fe));
4300
+ r0(T, I, K.key, Ie).forEach((Fe, Ne) => U.set(Ne, Fe));
4301
4301
  }
4302
4302
  function X(K) {
4303
4303
  z(K, s0);
@@ -4306,10 +4306,10 @@ function uu(e) {
4306
4306
  set: z,
4307
4307
  get: q,
4308
4308
  reset: X
4309
- }, j);
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, H;
4312
+ return D = !0, U;
4313
4313
  },
4314
4314
  init: d,
4315
4315
  invalidate: $,
@@ -4462,16 +4462,16 @@ function C0(e) {
4462
4462
  const {
4463
4463
  release: T
4464
4464
  } = h.subscribeToTransactions((I) => {
4465
- var j;
4465
+ var B;
4466
4466
  let {
4467
4467
  currentTree: D,
4468
- previousTree: H
4468
+ previousTree: U
4469
4469
  } = I.getState();
4470
- H || (lt("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"), H = D);
4471
- const q = (j = D.atomValues.get(t)) !== null && j !== void 0 ? j : i;
4470
+ U || (lt("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"), U = D);
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 = H.atomValues.get(t)) !== null && z !== void 0 ? z : i, Ke = Ie.state === "hasValue" ? Ie.contents : pn;
4474
+ const Se = q.contents, Ie = (z = U.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, U = Qn.useRecoilValue, te = Qn.useRecoilState, Xe = Qn.useResetRecoilState;
5022
+ }, _v = Qn.RecoilRoot, he = Qn.atom, Bo = Qn.selector, H = 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-3a5faacf.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-9bc82f82.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-098ec0b4.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-c6d8ff92.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-b8ad28ad.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-d2cf5b2f.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-aef3bcbb.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-f6ba5610.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-fbc6b24d.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-fb2694f9.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-d939275c.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-e1cf5fce.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-cc1a4630.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-95708421.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-0a5fead8.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-9ceac587.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-3704d566.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-a8b22483.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-849ff3c9.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-4ae00196.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-bf23939a.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-d0c49625.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-cb445395.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-27e18e2a.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-cf228b9e.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-42796d6e.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-c0494032.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-56b809db.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-1a824f73.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-553795c8.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-f5c16587.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-06f88f72.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-a6a8666e.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-bfc0c92c.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-50a70928.mjs") }), `./${o}.entry.js`).then((i) => (el.set(o, i), i[r]), Rn);
5425
+ return xv(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-9fa90934.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-802ac37a.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-5e280243.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-d8d03cc3.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-a25bc003.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-38fdabfe.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-c2092d97.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-ca411ec6.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-1c8e2c37.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-a07a669e.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-93aae114.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-21a8e269.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-e4d6c7c4.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-2eb6e6fb.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-b509de62.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-154935dc.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-a5f9563e.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-ce668a41.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-5e3e27de.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-4ae16267.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-7f79d65b.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-83ab110e.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-40e523b3.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-c96d4a48.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-95b197e9.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-51700897.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-3c705f65.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-f963323c.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-5e9944fa.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-03f29b65.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-15bdbe42.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-32e39b1f.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-d1191ee1.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-a517b481.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-eb59c534.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$: "",
@@ -7126,7 +7126,7 @@ class Uy {
7126
7126
  }
7127
7127
  const Hy = (e, t) => {
7128
7128
  const n = pe();
7129
- return B(() => {
7129
+ return j(() => {
7130
7130
  n.current = t ? n.current : e;
7131
7131
  }, [e, t]), n.current;
7132
7132
  };
@@ -7162,7 +7162,7 @@ function nt(e) {
7162
7162
  let g = c.join();
7163
7163
  t.lng && (g = `${t.lng}${g}`);
7164
7164
  const b = Hy(g), E = pe(!0);
7165
- B(() => {
7165
+ j(() => {
7166
7166
  const {
7167
7167
  bindI18n: v,
7168
7168
  bindI18nStore: y
@@ -7180,7 +7180,7 @@ function nt(e) {
7180
7180
  };
7181
7181
  }, [s, g]);
7182
7182
  const R = pe(!0);
7183
- B(() => {
7183
+ j(() => {
7184
7184
  E.current && !R.current && p(f), R.current = !1;
7185
7185
  }, [s, l]);
7186
7186
  const h = [d, s, u];
@@ -8145,13 +8145,13 @@ function e2() {
8145
8145
  function I(K) {
8146
8146
  return y(K) === u;
8147
8147
  }
8148
- function j(K) {
8148
+ function B(K) {
8149
8149
  return y(K) === r;
8150
8150
  }
8151
8151
  function D(K) {
8152
8152
  return y(K) === g;
8153
8153
  }
8154
- function H(K) {
8154
+ function U(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 = j, Ve.isLazy = D, Ve.isMemo = H, Ve.isPortal = q, Ve.isProfiler = z, Ve.isStrictMode = X, Ve.isSuspense = fe, Ve.isValidElementType = v, Ve.typeOf = y;
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 = U, 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,33 +8343,33 @@ function r2() {
8343
8343
  function E($) {
8344
8344
  if (process.env.NODE_ENV !== "production")
8345
8345
  var V = {}, x = 0;
8346
- function T(j, D, H, q, z, X, fe) {
8347
- if (q = q || d, X = X || H, fe !== n) {
8346
+ function T(B, D, U, q, z, X, fe) {
8347
+ if (q = q || d, X = X || U, 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 + ":" + H;
8354
+ var Se = q + ":" + U;
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[H] == null ? j ? 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);
8361
+ return D[U] == null ? B ? D[U] === 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, U, 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, j, D, H) {
8367
+ function V(x, T, I, B, D, U) {
8368
8368
  var q = x[T], z = ce(q);
8369
8369
  if (z !== $) {
8370
8370
  var X = re(q);
8371
8371
  return new b(
8372
- "Invalid " + j + " `" + D + "` of type " + ("`" + X + "` supplied to `" + I + "`, expected ") + ("`" + $ + "`."),
8372
+ "Invalid " + B + " `" + D + "` of type " + ("`" + X + "` supplied to `" + I + "`, expected ") + ("`" + $ + "`."),
8373
8373
  { expectedType: $ }
8374
8374
  );
8375
8375
  }
@@ -8381,16 +8381,16 @@ function r2() {
8381
8381
  return E(i);
8382
8382
  }
8383
8383
  function v($) {
8384
- function V(x, T, I, j, D) {
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 H = x[T];
8388
- if (!Array.isArray(H)) {
8389
- var q = ce(H);
8390
- return new b("Invalid " + j + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected an array."));
8387
+ var U = x[T];
8388
+ if (!Array.isArray(U)) {
8389
+ var q = ce(U);
8390
+ return new b("Invalid " + B + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected an array."));
8391
8391
  }
8392
- for (var z = 0; z < H.length; z++) {
8393
- var X = $(H, z, I, j, D + "[" + z + "]", n);
8392
+ for (var z = 0; z < U.length; z++) {
8393
+ var X = $(U, z, I, B, D + "[" + z + "]", n);
8394
8394
  if (X instanceof Error)
8395
8395
  return X;
8396
8396
  }
@@ -8399,32 +8399,32 @@ function r2() {
8399
8399
  return E(V);
8400
8400
  }
8401
8401
  function y() {
8402
- function $(V, x, T, I, j) {
8402
+ function $(V, x, T, I, B) {
8403
8403
  var D = V[x];
8404
8404
  if (!a(D)) {
8405
- var H = ce(D);
8406
- return new b("Invalid " + I + " `" + j + "` of type " + ("`" + H + "` supplied to `" + T + "`, expected a single ReactElement."));
8405
+ var U = ce(D);
8406
+ return new b("Invalid " + I + " `" + B + "` of type " + ("`" + U + "` supplied to `" + T + "`, expected a single ReactElement."));
8407
8407
  }
8408
8408
  return null;
8409
8409
  }
8410
8410
  return E($);
8411
8411
  }
8412
8412
  function S() {
8413
- function $(V, x, T, I, j) {
8413
+ function $(V, x, T, I, B) {
8414
8414
  var D = V[x];
8415
8415
  if (!e.isValidElementType(D)) {
8416
- var H = ce(D);
8417
- return new b("Invalid " + I + " `" + j + "` of type " + ("`" + H + "` supplied to `" + T + "`, expected a single ReactElement type."));
8416
+ var U = ce(D);
8417
+ return new b("Invalid " + I + " `" + B + "` of type " + ("`" + U + "` supplied to `" + T + "`, expected a single ReactElement type."));
8418
8418
  }
8419
8419
  return null;
8420
8420
  }
8421
8421
  return E($);
8422
8422
  }
8423
8423
  function C($) {
8424
- function V(x, T, I, j, D) {
8424
+ function V(x, T, I, B, D) {
8425
8425
  if (!(x[T] instanceof $)) {
8426
- var H = $.name || d, q = we(x[T]);
8427
- return new b("Invalid " + j + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected ") + ("instance of `" + H + "`."));
8426
+ var U = $.name || d, q = we(x[T]);
8427
+ return new b("Invalid " + B + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected ") + ("instance of `" + U + "`."));
8428
8428
  }
8429
8429
  return null;
8430
8430
  }
@@ -8435,28 +8435,28 @@ function r2() {
8435
8435
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
8436
8436
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
8437
8437
  ) : s("Invalid argument supplied to oneOf, expected an array.")), i;
8438
- function V(x, T, I, j, D) {
8439
- for (var H = x[T], q = 0; q < $.length; q++)
8440
- if (g(H, $[q]))
8438
+ function V(x, T, I, B, D) {
8439
+ for (var U = x[T], q = 0; q < $.length; q++)
8440
+ if (g(U, $[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 " + j + " `" + D + "` of value `" + String(H) + "` " + ("supplied to `" + I + "`, expected one of " + z + "."));
8446
+ return new b("Invalid " + B + " `" + D + "` of value `" + String(U) + "` " + ("supplied to `" + I + "`, expected one of " + z + "."));
8447
8447
  }
8448
8448
  return E(V);
8449
8449
  }
8450
8450
  function k($) {
8451
- function V(x, T, I, j, D) {
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 H = x[T], q = ce(H);
8454
+ var U = x[T], q = ce(U);
8455
8455
  if (q !== "object")
8456
- return new b("Invalid " + j + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected an object."));
8457
- for (var z in H)
8458
- if (r(H, z)) {
8459
- var X = $(H, z, I, j, D + "." + z, n);
8456
+ return new b("Invalid " + B + " `" + D + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected an object."));
8457
+ for (var z in U)
8458
+ if (r(U, z)) {
8459
+ var X = $(U, z, I, B, D + "." + z, n);
8460
8460
  if (X instanceof Error)
8461
8461
  return X;
8462
8462
  }
@@ -8474,21 +8474,21 @@ 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, j, D, H, q) {
8477
+ function T(I, B, D, U, q) {
8478
8478
  for (var z = [], X = 0; X < $.length; X++) {
8479
- var fe = $[X], K = fe(I, j, D, H, q, n);
8479
+ var fe = $[X], K = fe(I, B, D, U, 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 " + H + " `" + q + "` supplied to " + ("`" + D + "`" + Se + "."));
8485
+ return new b("Invalid " + U + " `" + q + "` supplied to " + ("`" + D + "`" + Se + "."));
8486
8486
  }
8487
8487
  return E(T);
8488
8488
  }
8489
8489
  function P() {
8490
- function $(V, x, T, I, j) {
8491
- return G(V[x]) ? null : new b("Invalid " + I + " `" + j + "` supplied to " + ("`" + T + "`, expected a ReactNode."));
8490
+ function $(V, x, T, I, B) {
8491
+ return G(V[x]) ? null : new b("Invalid " + I + " `" + B + "` supplied to " + ("`" + T + "`, expected a ReactNode."));
8492
8492
  }
8493
8493
  return E($);
8494
8494
  }
@@ -8498,15 +8498,15 @@ function r2() {
8498
8498
  );
8499
8499
  }
8500
8500
  function W($) {
8501
- function V(x, T, I, j, D) {
8502
- var H = x[T], q = ce(H);
8501
+ function V(x, T, I, B, D) {
8502
+ var U = x[T], q = ce(U);
8503
8503
  if (q !== "object")
8504
- return new b("Invalid " + j + " `" + D + "` of type `" + q + "` " + ("supplied to `" + I + "`, expected `object`."));
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
- return F(I, j, D, z, re(X));
8509
- var fe = X(H, z, I, j, D + "." + z, n);
8508
+ return F(I, B, D, z, re(X));
8509
+ var fe = X(U, z, I, B, D + "." + z, n);
8510
8510
  if (fe)
8511
8511
  return fe;
8512
8512
  }
@@ -8515,21 +8515,21 @@ function r2() {
8515
8515
  return E(V);
8516
8516
  }
8517
8517
  function A($) {
8518
- function V(x, T, I, j, D) {
8519
- var H = x[T], q = ce(H);
8518
+ function V(x, T, I, B, D) {
8519
+ var U = x[T], q = ce(U);
8520
8520
  if (q !== "object")
8521
- return new b("Invalid " + j + " `" + D + "` of type `" + q + "` " + ("supplied to `" + I + "`, expected `object`."));
8521
+ return new b("Invalid " + B + " `" + D + "` of type `" + q + "` " + ("supplied to `" + I + "`, expected `object`."));
8522
8522
  var z = t({}, x[T], $);
8523
8523
  for (var X in z) {
8524
8524
  var fe = $[X];
8525
8525
  if (r($, X) && typeof fe != "function")
8526
- return F(I, j, D, X, re(fe));
8526
+ return F(I, B, D, X, re(fe));
8527
8527
  if (!fe)
8528
8528
  return new b(
8529
- "Invalid " + j + " `" + D + "` key `" + X + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(x[T], null, " ") + `
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(H, X, I, j, D + "." + X, n);
8532
+ var K = fe(U, X, I, B, D + "." + X, n);
8533
8533
  if (K)
8534
8534
  return K;
8535
8535
  }
@@ -8667,7 +8667,7 @@ var a2 = oi.exports;
8667
8667
  const w = /* @__PURE__ */ Jl(a2);
8668
8668
  const l2 = (e) => {
8669
8669
  const [t, n] = J(!1);
8670
- return B(() => {
8670
+ return j(() => {
8671
8671
  const r = window.matchMedia(e);
8672
8672
  r.matches !== t && n(r.matches);
8673
8673
  const o = () => n(r.matches);
@@ -8823,7 +8823,7 @@ function Uu({ mapsIndoorsInstance: e }) {
8823
8823
  var l, c;
8824
8824
  a ? (document.documentElement.style.fontSize = "200%", (l = e == null ? void 0 : e.getMapView()) == null || l.setLabelTextSizeMultiplier(2)) : (document.documentElement.style.fontSize = "", (c = e == null ? void 0 : e.getMapView()) == null || c.resetLabelTextSize());
8825
8825
  }, [e]);
8826
- B(() => (s(r), () => {
8826
+ j(() => (s(r), () => {
8827
8827
  s(!1);
8828
8828
  }), [r, s]);
8829
8829
  const i = Kt(() => {
@@ -8875,7 +8875,7 @@ function Hu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
8875
8875
  }, []), g = (b) => {
8876
8876
  f.current.customPositionProvider.setPosition(b) && f.current.watchPosition();
8877
8877
  };
8878
- return B(() => {
8878
+ return j(() => {
8879
8879
  if (!(!t || !n)) {
8880
8880
  if (!u.current) {
8881
8881
  const b = document.createElement("mi-floor-selector");
@@ -8887,7 +8887,7 @@ function Hu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
8887
8887
  }
8888
8888
  u.current.mapsindoors = t, f.current.mapsindoors = t, o && (u.current.primaryColor = o), r && f.current && r(f.current);
8889
8889
  }
8890
- }, [e, t, n, r, o]), B(() => {
8890
+ }, [e, t, n, r, o]), j(() => {
8891
8891
  if (f.current) {
8892
8892
  if (f.current.stopListeningForPosition && typeof f.current.stopListeningForPosition == "function" && f.current.stopListeningForPosition(), s && typeof s == "object") {
8893
8893
  if (f.current.customPositionProvider || (f.current.customPositionProvider = new c2()), Object.keys(s).length === 0)
@@ -8898,7 +8898,7 @@ function Hu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
8898
8898
  f.current && f.current.stopListeningForPosition && typeof f.current.stopListeningForPosition == "function" && f.current.stopListeningForPosition();
8899
8899
  };
8900
8900
  }
8901
- }, [s]), B(() => {
8901
+ }, [s]), j(() => {
8902
8902
  if (!u.current || !f.current)
8903
8903
  return;
8904
8904
  const b = (E, R) => {
@@ -8908,7 +8908,7 @@ function Hu({ mapType: e, mapsIndoorsInstance: t, mapInstance: n, onPositionCont
8908
8908
  requestAnimationFrame(() => {
8909
8909
  d("floorSelector") && b(u.current, Wr.floorSelector.className), d("myPosition") && b(f.current, Wr.myPosition.className);
8910
8910
  });
8911
- }, [c, a, d]), B(() => {
8911
+ }, [c, a, d]), j(() => {
8912
8912
  Object.entries(Wr).forEach(([b, E]) => {
8913
8913
  if (!E.className)
8914
8914
  return;
@@ -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-56c170d9.mjs")), g2 = Ql(() => import("./GoogleMapsMap-532b45c7.mjs")), An = {
8968
+ const p2 = Ql(() => import("./MapboxMap-4def7f8c.mjs")), g2 = Ql(() => import("./GoogleMapsMap-52baff50.mjs")), An = {
8969
8969
  Google: "google",
8970
8970
  Mapbox: "mapbox"
8971
8971
  };
@@ -8991,9 +8991,9 @@ function zu({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, center: r, zoom: o,
8991
8991
  var ce;
8992
8992
  return ((ce = k == null ? void 0 : k.appSettings) == null ? void 0 : ce.excludeFromUI) || "";
8993
8993
  }, [(G = k == null ? void 0 : k.appSettings) == null ? void 0 : G.excludeFromUI]);
8994
- B(() => {
8994
+ j(() => {
8995
8995
  window.customElements.get("mi-floor-selector") || Iu();
8996
- }, []), B(() => {
8996
+ }, []), j(() => {
8997
8997
  e && (window.mapsindoors.MapsIndoors.setMapsIndoorsApiKey(e), g === An.Mapbox && (window.mapsindoors.services.SolutionsService.getSolution().then((ce) => {
8998
8998
  L(ce);
8999
8999
  }), window.mapsindoors.services.AppConfigService.getConfig().then((ce) => {
@@ -9014,11 +9014,11 @@ function zu({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, center: r, zoom: o,
9014
9014
  ((we = de == null ? void 0 : de.properties.locationSettings) == null ? void 0 : we.selectable) === !1 && re.unhoverLocation();
9015
9015
  }), re.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }), R(re);
9016
9016
  };
9017
- return B(() => {
9017
+ return j(() => {
9018
9018
  typeof u == "function" && E && h && typeof y == "boolean" && u(E, h, y);
9019
- }, [E, h, y]), B(() => {
9019
+ }, [E, h, y]), j(() => {
9020
9020
  C && g === An.Mapbox && ["mapbox", "3dwalls", "floorplan"].every((ce) => C.modules.map((re) => re.toLowerCase()).includes(ce)) ? S(!0) : S(!1);
9021
- }, [C, g]), B(() => {
9021
+ }, [C, g]), j(() => {
9022
9022
  n ? b(An.Mapbox) : t && b(An.Google);
9023
9023
  }, [t, n]), /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
9024
9024
  g === An.Google && /* @__PURE__ */ m.jsx(wa, { children: /* @__PURE__ */ m.jsx(
@@ -9078,8 +9078,8 @@ const ut = {
9078
9078
  dangerouslyAllowMutability: !0
9079
9079
  // A MapsIndoors instance contains state. Needs mutability.
9080
9080
  }), m2 = (e) => {
9081
- const t = U(Et), n = pe(), [r, o] = J([]);
9082
- B(() => {
9081
+ const t = H(Et), n = pe(), [r, o] = J([]);
9082
+ j(() => {
9083
9083
  (async () => {
9084
9084
  if (t && e) {
9085
9085
  for (const a of r)
@@ -9211,8 +9211,8 @@ const qu = he({
9211
9211
  default: void 0
9212
9212
  });
9213
9213
  function Zu() {
9214
- const [e, t] = J(!1), n = U(Zo), r = U(qu);
9215
- return B(() => {
9214
+ const [e, t] = J(!1), n = H(Zo), r = H(qu);
9215
+ return j(() => {
9216
9216
  if (!n || !r)
9217
9217
  return;
9218
9218
  let o;
@@ -9228,7 +9228,7 @@ function Zu() {
9228
9228
  }
9229
9229
  const v2 = (e) => {
9230
9230
  const [t, n] = J(window.matchMedia(e).matches);
9231
- return B(() => {
9231
+ return j(() => {
9232
9232
  const r = window.matchMedia(e);
9233
9233
  r.matches !== t && n(r.matches);
9234
9234
  const o = () => n(r.matches);
@@ -10584,10 +10584,10 @@ function 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 = 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
- B(() => {
10587
+ const [e, t] = J(!1), [n, r] = J(!1), o = Pt(), s = Zu(), i = H(Hi), a = H(kr), l = H(zi), c = H(qo), u = H(Et), f = H(Wo), d = H(Yu), p = H(Ar), g = H(y2), b = H(Gi), [E, R] = J(!1), [h, v] = te(ln), y = te(Zo), [S] = te(Xu), [C, L] = J({ id: null, originalRule: null });
10588
+ j(() => {
10589
10589
  s && k();
10590
- }, [s]), B(() => {
10590
+ }, [s]), j(() => {
10591
10591
  k();
10592
10592
  }, [u, h, c, l, f, i, d, a, S]);
10593
10593
  function k() {
@@ -10684,8 +10684,8 @@ 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 = U(Et), f = U(ln), d = ".view-selector-portal", [p, g] = J(null), b = pe(null), E = pe(null), R = 6, h = 60;
10688
- B(() => {
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 = pe(null), E = pe(null), R = 6, h = 60;
10688
+ j(() => {
10689
10689
  let k = document.querySelector(d);
10690
10690
  if (k) {
10691
10691
  g(k);
@@ -10697,7 +10697,7 @@ function fd({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
10697
10697
  return O.observe(P, F), () => {
10698
10698
  O == null || O.disconnect();
10699
10699
  };
10700
- }, []), B(() => {
10700
+ }, []), j(() => {
10701
10701
  const k = () => {
10702
10702
  const P = document.querySelector(d);
10703
10703
  P && g(P);
@@ -10707,18 +10707,18 @@ function fd({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
10707
10707
  return O.observe(document.body), () => {
10708
10708
  O == null || O.disconnect();
10709
10709
  };
10710
- }, [c]), B(() => {
10710
+ }, [c]), j(() => {
10711
10711
  var k;
10712
10712
  if (u && f) {
10713
10713
  const O = (k = u.getVenue()) == null ? void 0 : k.id;
10714
10714
  O && l(O);
10715
10715
  }
10716
- }, [u, f]), B(() => {
10716
+ }, [u, f]), j(() => {
10717
10717
  u && f && window.mapsindoors.services.VenuesService.getVenues().then((k) => {
10718
10718
  const O = k.find((P) => P.name.toLowerCase() === f.toLowerCase());
10719
10719
  O != null && O.id && l(O.id);
10720
10720
  });
10721
- }, [u, f]), B(() => {
10721
+ }, [u, f]), j(() => {
10722
10722
  a && window.mapsindoors.services.VenuesService.getBuildings(a).then((k) => {
10723
10723
  i(k);
10724
10724
  });
@@ -10729,7 +10729,7 @@ function fd({ isViewSelectorDisabled: e, isViewSelectorVisible: t }) {
10729
10729
  })), [s]), y = Kt((k) => {
10730
10730
  u.fitBuilding(k), o(!1);
10731
10731
  }, [u]);
10732
- if (B(() => {
10732
+ if (j(() => {
10733
10733
  if (!(r && c))
10734
10734
  return;
10735
10735
  function k(O) {
@@ -10830,7 +10830,7 @@ function Pl({ supportedLanguages: e, currentLanguage: t, setLanguage: n, setIsEx
10830
10830
  }
10831
10831
  function hd({ currentLanguage: e, setLanguage: t, isVisible: n }) {
10832
10832
  const { t: r } = nt(), [o, s] = J(!1), i = pe(null), a = pe(null), [l, c] = J(null), u = Pt(), f = ".language-selector-portal";
10833
- return B(() => {
10833
+ return j(() => {
10834
10834
  let d = document.querySelector(f);
10835
10835
  if (d) {
10836
10836
  c(d);
@@ -10840,7 +10840,7 @@ function hd({ currentLanguage: e, setLanguage: t, isVisible: n }) {
10840
10840
  d = document.querySelector(f), d && (c(d), p.disconnect());
10841
10841
  });
10842
10842
  return p.observe(document.body, { childList: !0, subtree: !0 }), () => p.disconnect();
10843
- }, []), B(() => {
10843
+ }, []), j(() => {
10844
10844
  if (!(o && u))
10845
10845
  return;
10846
10846
  function d(p) {
@@ -10896,11 +10896,11 @@ const Bt = he({
10896
10896
  key: "kioskLocation",
10897
10897
  default: null
10898
10898
  }), cn = () => {
10899
- const e = U(Bt), t = Pt();
10899
+ const e = H(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 = U(zi), s = U(Et), i = U(ln), a = U(Bt), l = Pt();
10903
+ const [e, t] = J(null), n = ".reset-view-portal", r = cn(), o = H(zi), s = H(Et), i = H(ln), a = H(Bt), l = Pt();
10904
10904
  function c() {
10905
10905
  window.mapsindoors.services.LocationsService.getLocation(o).then((p) => {
10906
10906
  p && u([p]);
@@ -10941,7 +10941,7 @@ function pd() {
10941
10941
  l ? a ? p(0) : gn().then((g) => p(g)) : p(0);
10942
10942
  });
10943
10943
  }
10944
- return B(() => {
10944
+ return j(() => {
10945
10945
  let p = document.querySelector(n);
10946
10946
  if (p) {
10947
10947
  t(p);
@@ -10985,63 +10985,63 @@ 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 = 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();
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), L = H(Gu), k = H(Hi), O = H(Wo), [, P] = te(Ku), F = H(Wu), [, W] = te(Nr), A = H(dd), G = H(_n), [ge, ce] = J(!1), [re, de] = J(!1), we = cn();
10989
10989
  m2(d);
10990
10990
  const [$, V] = pS();
10991
- B(() => {
10991
+ j(() => {
10992
10992
  if (!F || p === null && g === null)
10993
10993
  return;
10994
- let j;
10995
- const D = F.modules.map((H) => H.toLowerCase()).includes("mapbox");
10996
- n ? D ? g && (j = ut.Mapbox) : p && (j = ut.Google) : g ? j = ut.Mapbox : j = ut.Google, j ? E(j) : (W({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }), E(void 0));
10997
- }, [p, g, F]), B(() => {
10994
+ let B;
10995
+ const D = F.modules.map((U) => U.toLowerCase()).includes("mapbox");
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
+ }, [p, g, F]), j(() => {
10998
10998
  $ && r();
10999
- }, [$]), B(() => {
10999
+ }, [$]), j(() => {
11000
11000
  V && t();
11001
- }, [V]), B(() => {
11001
+ }, [V]), j(() => {
11002
11002
  if (!R)
11003
11003
  return;
11004
- const j = S || C;
11005
- if (!j)
11004
+ const B = S || C;
11005
+ if (!B)
11006
11006
  return;
11007
- const D = j.map((H) => H.id);
11007
+ const D = B.map((U) => U.id);
11008
11008
  A || !R.highlight ? R.filter(D) : R.highlight(D);
11009
- }, [S, C, R, A]), B(() => {
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)));
11011
11011
  }, [k, O, R]);
11012
- const x = (j) => {
11013
- T(j);
11014
- }, T = (j) => {
11015
- if (j && Ps) {
11016
- let D = j.getTileURL();
11012
+ const x = (B) => {
11013
+ T(B);
11014
+ }, T = (B) => {
11015
+ if (B && Ps) {
11016
+ let D = B.getTileURL();
11017
11017
  if (D) {
11018
- D = j.getTileURL().replace("default", Ps);
11019
- const H = D == null ? void 0 : D.replace("{floor}", j.getFloor());
11020
- j.getMapView().setMapsIndoorsTileURL(H);
11018
+ D = B.getTileURL().replace("default", Ps);
11019
+ const U = D == null ? void 0 : D.replace("{floor}", B.getFloor());
11020
+ B.getMapView().setMapsIndoorsTileURL(U);
11021
11021
  }
11022
11022
  }
11023
- }, I = (j, D, H) => {
11024
- j.on("mouseenter", () => {
11023
+ }, I = (B, D, U) => {
11024
+ B.on("mouseenter", () => {
11025
11025
  var K;
11026
- const fe = j.getHoveredLocation();
11027
- ((K = fe == null ? void 0 : fe.properties.locationSettings) == null ? void 0 : K.selectable) === !1 && j.unhoverLocation();
11028
- }), j.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }), j.on("click", (fe) => e(fe)), j.once("building_changed", () => x(j)), j.on("floor_changed", () => T(j)), h(j), window.mapsIndoorsInstance = j;
11026
+ const fe = B.getHoveredLocation();
11027
+ ((K = fe == null ? void 0 : fe.properties.locationSettings) == null ? void 0 : K.selectable) === !1 && B.unhoverLocation();
11028
+ }), B.setDisplayRule(["MI_BUILDING_OUTLINE"], { visible: !1 }), B.on("click", (fe) => e(fe)), B.once("building_changed", () => x(B)), B.on("floor_changed", () => T(B)), h(B), window.mapsIndoorsInstance = B;
11029
11029
  const q = new CustomEvent("mapsIndoorsInstanceAvailable");
11030
11030
  window.dispatchEvent(q);
11031
11031
  let z;
11032
11032
  b === ut.Google ? z = new window.mapsindoors.directions.GoogleMapsProvider() : b === ut.Mapbox && (z = new window.mapsindoors.directions.MapboxProvider(g));
11033
11033
  const X = new window.mapsindoors.services.DirectionsService(z);
11034
- y(X), h(j), D.nodeName === "MI-MY-POSITION" ? D.addEventListener("position_received", (fe) => {
11034
+ y(X), h(B), D.nodeName === "MI-MY-POSITION" ? D.addEventListener("position_received", (fe) => {
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(H);
11038
+ }), P(D), o(U);
11039
11039
  };
11040
- return B(() => {
11040
+ return j(() => {
11041
11041
  Ps = L || "default", T(R);
11042
- }, [L]), B(() => {
11043
- var j, D, H, q;
11044
- G && (mt((j = G == null ? void 0 : G.appSettings) == null ? void 0 : j.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"));
11042
+ }, [L]), j(() => {
11043
+ var B, D, U, 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((U = G == null ? void 0 : G.appSettings) == null ? void 0 : U.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 = U(Vt), t = U(ea);
11076
+ const e = H(Vt), t = H(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",
@@ -11673,9 +11673,9 @@ wd.propTypes = {
11673
11673
  };
11674
11674
  function wd({ venue: e, isCurrent: t, onVenueClicked: n }) {
11675
11675
  const { t: r } = nt(), [o, s] = J({});
11676
- return B(() => () => {
11676
+ return j(() => () => {
11677
11677
  s({});
11678
- }, []), B(() => {
11678
+ }, []), j(() => {
11679
11679
  const i = {};
11680
11680
  e.image && (i.backgroundImage = `url('${e.image}')`), s(i);
11681
11681
  }, [e]), /* @__PURE__ */ m.jsxs("button", { className: "venue", onClick: () => n(), children: [
@@ -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 = U(Ar), [, i] = te(Gi), [a, l] = te(ln), [, c] = te(Xo), u = document.querySelector(".venue-selector-portal"), f = (g) => {
11699
+ const { t: r } = nt(), o = pe(null), s = H(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();
@@ -11897,7 +11897,7 @@ const Dn = vo(function({ children: t, isOpen: n, initialSnapPoint: r, minimizedH
11897
11897
  }
11898
11898
  }), u.current = O;
11899
11899
  }
11900
- B(() => (n && u.current === Ce.FIT ? y() : S(), () => {
11900
+ j(() => (n && u.current === Ce.FIT ? y() : S(), () => {
11901
11901
  S();
11902
11902
  }), [n, u.current]);
11903
11903
  function y() {
@@ -11940,7 +11940,7 @@ const Dn = vo(function({ children: t, isOpen: n, initialSnapPoint: r, minimizedH
11940
11940
  preventScrollOnSwipe: !0
11941
11941
  // Prevent scrolling of the page when swiping (using preventDefault). See https://nearform.com/open-source/react-swipeable/docs/api/#preventscrollonswipe-details
11942
11942
  });
11943
- B(() => {
11943
+ j(() => {
11944
11944
  n && (u.current = r, v(r));
11945
11945
  }, [o, r, n]);
11946
11946
  const L = (O) => {
@@ -11984,7 +11984,7 @@ function jS(e) {
11984
11984
  }
11985
11985
  const BS = (e, t) => {
11986
11986
  const [n, r] = J(void 0), [o, s] = J(void 0);
11987
- return B(() => {
11987
+ return j(() => {
11988
11988
  const i = (a = !1) => {
11989
11989
  var c, u;
11990
11990
  const l = ((c = t.current) == null ? void 0 : c.scrollHeight) > ((u = t.current) == null ? void 0 : u.clientHeight);
@@ -12009,8 +12009,8 @@ 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 = U(_d);
12013
- return B(() => {
12012
+ const [s, i] = J(), [a, l] = J(), [c, u] = te(Jo), [, f] = te(Mr), [d, p] = J(), g = H(_d);
12013
+ return j(() => {
12014
12014
  p(!1);
12015
12015
  let b = !0;
12016
12016
  return e != null && e.geometry && (t != null && t.geometry) && n.getRoute({
@@ -12053,8 +12053,8 @@ const Mr = he({
12053
12053
  default: !1
12054
12054
  });
12055
12055
  function Td(e, t) {
12056
- const n = U(Ho), [r, o] = J(!1), s = e.getMap();
12057
- B(() => {
12056
+ const n = H(Ho), [r, o] = J(!1), s = e.getMap();
12057
+ j(() => {
12058
12058
  t && o(!1);
12059
12059
  }, [t]);
12060
12060
  function i(l, c, u, f) {
@@ -12079,7 +12079,7 @@ function Td(e, t) {
12079
12079
  c.removeListener("click", d), g.remove();
12080
12080
  };
12081
12081
  }
12082
- return B(() => {
12082
+ return j(() => {
12083
12083
  let l;
12084
12084
  return n === ut.Mapbox && (l = i(s, e, t, o)), n === ut.Google && (l = a(s, e, t, o)), () => l == null ? void 0 : l();
12085
12085
  }, [e, t]), r;
@@ -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 = 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(() => {
12109
+ const { t: r } = nt(), [o, s] = J(!1), a = H(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));
@@ -12142,7 +12142,7 @@ function Ld({ openingHours: e, isMondayFirstDayOfTheWeek: t = !0, onExpand: n })
12142
12142
  }, [d, u, f, b, r])(), h = (y) => y.charAt(0).toUpperCase() + y.slice(1), v = () => {
12143
12143
  s((y) => !y);
12144
12144
  };
12145
- return B(() => {
12145
+ return j(() => {
12146
12146
  o && typeof n == "function" && n();
12147
12147
  }, [o, n]), /* @__PURE__ */ m.jsxs("div", { className: "opening-hours", children: [
12148
12148
  /* @__PURE__ */ m.jsxs(
@@ -12201,7 +12201,7 @@ function Is(e, t, n) {
12201
12201
  }
12202
12202
  var Os = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown: "onMouseDown", mouseup: "onMouseUp", touchstart: "onTouchStart", touchend: "onTouchEnd" }, Nd = function(e) {
12203
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 = pe(null), u = pe(null), f = pe(!1);
12204
- B(function() {
12204
+ j(function() {
12205
12205
  return setTimeout(function() {
12206
12206
  f.current = !0;
12207
12207
  }, 0), function() {
@@ -12215,7 +12215,7 @@ var Os = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown:
12215
12215
  h && h(R);
12216
12216
  };
12217
12217
  };
12218
- B(function() {
12218
+ j(function() {
12219
12219
  var E, R, h = (E = (R = c.current) === null || R === void 0 ? void 0 : R.ownerDocument) !== null && E !== void 0 ? E : document, v = function(y) {
12220
12220
  f.current && (c.current && c.current.contains(y.target) || u.current === y.target || !h.contains(y.target) || n(y));
12221
12221
  };
@@ -12311,10 +12311,10 @@ 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 = 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
- B(() => {
12314
+ const { t: n } = nt(), [r, o] = J(!1), s = H(kd), [i, a] = J(), l = H(Pd), [c, u] = J(!1), [f, d] = J(!1), p = H(Bt), [, g] = te(ns), b = Pt();
12315
+ j(() => {
12316
12316
  s && e && a(s + "&locationId=" + e.id);
12317
- }, [s, e]), B(() => {
12317
+ }, [s, e]), j(() => {
12318
12318
  var v;
12319
12319
  u(!p && l && b);
12320
12320
  const h = typeof ((v = navigator.clipboard) == null ? void 0 : v.writeText) == "function";
@@ -12392,8 +12392,8 @@ 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 = 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), j = 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
- B(() => {
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 = H(Et), C = H(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 = H(Vt), A = H(Bt), G = H(Vi), [ge, ce] = J(), [re, de] = J(), [we, $] = J(!0), V = Pt(), x = H(Ir), T = H(Or), [, , I] = xd(re, ge, G, x, T), B = H(es), D = Td(S, o), U = H(_n), q = (yt = (dt = U == null ? void 0 : U.appSettings) == null ? void 0 : dt.excludeFromUI) == null ? void 0 : yt.includes("wayfindingDisabled");
12396
+ j(() => {
12397
12397
  (() => {
12398
12398
  if (S && C)
12399
12399
  try {
@@ -12407,7 +12407,7 @@ function ra({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
12407
12407
  $(!0);
12408
12408
  }
12409
12409
  })();
12410
- }, [S, C]), B(() => () => {
12410
+ }, [S, C]), j(() => () => {
12411
12411
  y(null), ce(), de();
12412
12412
  }, []);
12413
12413
  const z = Kt(() => {
@@ -12444,16 +12444,16 @@ function ra({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
12444
12444
  function Ne() {
12445
12445
  p(!1), b(!1), R(!1), X(Ce.FIT), r();
12446
12446
  }
12447
- return B(() => {
12447
+ return j(() => {
12448
12448
  D && e();
12449
- }, [D]), B(() => () => {
12449
+ }, [D]), j(() => () => {
12450
12450
  y(null), ce(), de();
12451
- }, []), B(() => {
12451
+ }, []), j(() => {
12452
12452
  p(!1), b(!1), R(!1), y(null), C && (a.current.location = C, y(S.getDisplayRule(C)), ce(C)), A && de(A);
12453
- }, [C, S, A]), B(() => {
12453
+ }, [C, S, A]), j(() => {
12454
12454
  const Le = (L == null ? void 0 : L.length) > 0;
12455
12455
  X(C && o && Le ? Ce.FIT : Ce.MIN);
12456
- }, [C, o, L]), B(() => {
12456
+ }, [C, o, L]), j(() => {
12457
12457
  if (!s) {
12458
12458
  h.current = !1;
12459
12459
  return;
@@ -12476,7 +12476,7 @@ function ra({ onBack: e, onStartWayfinding: t, onSetSize: n, onStartDirections:
12476
12476
  /* @__PURE__ */ m.jsx("div", { className: "location-info__icon", children: v && /* @__PURE__ */ m.jsx("img", { alt: "", src: v.icon.src ? v.icon.src : v.icon }) }),
12477
12477
  /* @__PURE__ */ m.jsxs("div", { className: "location-info__content", children: [
12478
12478
  /* @__PURE__ */ m.jsx("div", { className: "location-info__name", children: C.properties.name }),
12479
- /* @__PURE__ */ m.jsx("mi-location-info", { level: i("Level"), ref: a, "show-external-id": j, "show-floor": we })
12479
+ /* @__PURE__ */ m.jsx("mi-location-info", { level: i("Level"), ref: a, "show-external-id": B, "show-floor": we })
12480
12480
  ] }),
12481
12481
  /* @__PURE__ */ m.jsxs("div", { className: "location-info__actions", children: [
12482
12482
  /* @__PURE__ */ m.jsx(Md, { buttonClassName: "location-info__button", location: C }),
@@ -12553,8 +12553,8 @@ 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 = U(Et), a = U(es);
12557
- return B(() => {
12556
+ const { t: o } = nt(), s = pe(), i = H(Et), a = H(es);
12557
+ return j(() => {
12558
12558
  var d;
12559
12559
  const l = (p) => t(p.detail), c = () => {
12560
12560
  var p;
@@ -12571,8 +12571,8 @@ 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 = U(Et), r = U(Zo);
12575
- return B(() => {
12574
+ const [e, t] = J(), n = H(Et), r = H(Zo);
12575
+ return j(() => {
12576
12576
  function o() {
12577
12577
  const s = n.getMapView().getCenter();
12578
12578
  t(s.lat + "," + s.lng);
@@ -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 = U(Uo), b = U(xn), [, E] = te(oa), R = sessionStorage.getItem("mapboxPlacesSessionToken"), h = {
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 = H(Uo), b = H(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 = U(ln), S = U(ts);
12591
+ }, v = YS(), y = H(ln), S = H(ts);
12592
12592
  return yo(n, () => ({
12593
12593
  triggerSearch() {
12594
12594
  p.current.triggerSearch();
@@ -12608,12 +12608,12 @@ const YS = () => {
12608
12608
  getInputField() {
12609
12609
  return p.current.getInputField().then((C) => E(C));
12610
12610
  }
12611
- })), B(() => {
12611
+ })), j(() => {
12612
12612
  const { current: C } = p;
12613
12613
  C.value && window.mapsindoors.services.LocationsService.once("update_completed", () => {
12614
12614
  C.triggerSearch();
12615
12615
  });
12616
- }, [b]), B(() => {
12616
+ }, [b]), j(() => {
12617
12617
  const C = (O) => s(O.detail), L = () => a(), { current: k } = p;
12618
12618
  return o === !0 && (k.mapsindoors = "true"), k.addEventListener("results", C), k.addEventListener("click", i), k.addEventListener("cleared", L), k.addEventListener("changed", l), () => {
12619
12619
  k.removeEventListener("results", C), k.removeEventListener("click", i), k.removeEventListener("cleared", L), k.removeEventListener("changed", l);
@@ -12682,7 +12682,7 @@ Od.propTypes = {
12682
12682
  };
12683
12683
  function Od({ selectionChanged: e, children: t }) {
12684
12684
  const n = pe();
12685
- return B(() => {
12685
+ return j(() => {
12686
12686
  const r = (s) => e(s.detail), { current: o } = n;
12687
12687
  return o.addEventListener("change", r), () => o.removeEventListener("change", r);
12688
12688
  }, [e]), /* @__PURE__ */ m.jsx("mi-dropdown", { ref: n, children: t });
@@ -12709,7 +12709,7 @@ sa.propTypes = {
12709
12709
  onAccessibilityChanged: w.func
12710
12710
  };
12711
12711
  function sa({ onAccessibilityChanged: e }) {
12712
- const t = U(Vt), [n, r] = te(Or);
12712
+ const t = H(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 = U(Vt), n = U(_n), [r, o] = te(_d);
12732
+ const { t: e } = nt(), t = H(Vt), n = H(_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 = 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), [j, D, H, q] = xd(A, F, f, we, ge), z = U(na), X = U(_n);
12768
+ const { t: i } = nt(), a = pe(), l = pe(), c = pe(), u = pe(), f = H(Vi), d = H(Uo), p = H(Qt), g = H(Ho), b = H(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 = H(Or), ce = Jn(), [re, de] = J(!1), [we, $] = te(Ir), [V, x] = J(!1), T = H(zo), I = H(JS), [B, D, U, q] = xd(A, F, f, we, ge), z = H(na), X = H(_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
  }
@@ -12819,9 +12819,9 @@ function ia({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
12819
12819
  function ot() {
12820
12820
  P([]), k(!1), de(!1), x(!1);
12821
12821
  }
12822
- return B(() => () => {
12822
+ return j(() => () => {
12823
12823
  P([]), W(), G();
12824
- }, []), B(() => {
12824
+ }, []), j(() => {
12825
12825
  if (E) {
12826
12826
  if (h === Je.FROM)
12827
12827
  u.current.setDisplayText(E.properties.name), G(E);
@@ -12831,7 +12831,7 @@ function ia({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
12831
12831
  return;
12832
12832
  ot(), R(null);
12833
12833
  }
12834
- }, [E]), B(() => {
12834
+ }, [E]), j(() => {
12835
12835
  var _e;
12836
12836
  Ie(Ce.FIT);
12837
12837
  let Q = !1;
@@ -12839,9 +12839,9 @@ function ia({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
12839
12839
  const Me = di(d);
12840
12840
  u.current.setDisplayText(Me.properties.name), G(Me), y(!0), C(!0), P([]);
12841
12841
  }
12842
- }, [s, n, r]), B(() => {
12842
+ }, [s, n, r]), j(() => {
12843
12843
  g === ut.Mapbox && (de(!1), P(O.filter((Q) => Q.properties.type !== "google_places")));
12844
- }, [g]), B(() => {
12844
+ }, [g]), j(() => {
12845
12845
  p && (W(p), c.current.setDisplayText(p.properties.name));
12846
12846
  }, [p]), /* @__PURE__ */ m.jsxs("div", { className: "wayfinding", ref: a, children: [
12847
12847
  /* @__PURE__ */ m.jsxs("div", { className: "wayfinding__directions", children: [
@@ -12901,7 +12901,7 @@ function ia({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
12901
12901
  ] })
12902
12902
  ] })
12903
12903
  ] }),
12904
- !H && /* @__PURE__ */ m.jsx("p", { className: "wayfinding__error", children: i("No route found") }),
12904
+ !U && /* @__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 && H && !re && A && F && /* @__PURE__ */ m.jsxs("div", { className: "wayfinding__details", ref: l, children: [
12924
+ !L && !V && U && !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, {}),
@@ -12952,7 +12952,7 @@ function ia({ onStartDirections: e, onBack: t, directionsToLocation: n, directio
12952
12952
  i("Distance"),
12953
12953
  ":"
12954
12954
  ] }),
12955
- /* @__PURE__ */ m.jsx("div", { className: "wayfinding__meters", children: j && q && /* @__PURE__ */ m.jsx("mi-distance", { unit: I, meters: j }) })
12955
+ /* @__PURE__ */ m.jsx("div", { className: "wayfinding__meters", children: B && q && /* @__PURE__ */ m.jsx("mi-distance", { unit: I, meters: B }) })
12956
12956
  ] }),
12957
12957
  /* @__PURE__ */ m.jsxs("div", { className: "wayfinding__time", children: [
12958
12958
  /* @__PURE__ */ m.jsx(KS, {}),
@@ -13022,7 +13022,7 @@ const nb = (e) => /* @__PURE__ */ ne.createElement("svg", { width: 24, height: 2
13022
13022
  minutes: c("min"),
13023
13023
  rideTheBus: c("Ride the bus")
13024
13024
  };
13025
- return B(() => {
13025
+ return j(() => {
13026
13026
  const { current: E } = l;
13027
13027
  function R() {
13028
13028
  d(!0), f(!u);
@@ -13062,10 +13062,10 @@ 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 = U(Mr), b = U(ss), [, E] = te(jd), R = cn();
13066
- B(() => {
13065
+ const { t: s } = nt(), i = Jn(), a = pe(), [l, c] = J(), [u, f] = te(os), [d, p] = J(), g = H(Mr), b = H(ss), [, E] = te(jd), R = cn();
13066
+ j(() => {
13067
13067
  p(e);
13068
- }, [e]), B(() => {
13068
+ }, [e]), j(() => {
13069
13069
  var y, S;
13070
13070
  o && (u === (d == null ? void 0 : d.length) - 1 && (g != null && g.destinationLocation) ? E(!0) : E(!1), b === !1 ? (y = a.current) == null || y.closeSubsteps() : b === !0 && ((S = a.current) == null || S.openSubsteps()));
13071
13071
  }, [o, u, d, b]);
@@ -13124,21 +13124,21 @@ 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 = 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
- B(() => () => {
13127
+ const { t: s } = nt(), i = pe(), [a, l] = J(null), c = pe(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(jd), C = H(Vt), L = cn(), k = H(es), O = H(kd), P = H(Qt), F = H(Ho);
13128
+ j(() => () => {
13129
13129
  l(null);
13130
- }, []), B(() => {
13130
+ }, []), j(() => {
13131
13131
  if (l(null), e && g) {
13132
13132
  f(g.totalTime);
13133
13133
  const T = Math.min(window.innerHeight, window.innerWidth) * 0.06;
13134
- pt == null || pt.setRoute(null), pt = null, Promise.all([W(T), A(T)]).then(([I, j]) => {
13134
+ pt == null || pt.setRoute(null), pt = null, Promise.all([W(T), A(T)]).then(([I, B]) => {
13135
13135
  pt = new window.mapsindoors.directions.DirectionsRenderer({
13136
13136
  mapsIndoors: d,
13137
13137
  fitBounds: !L,
13138
13138
  fitBoundsPadding: L ? void 0 : {
13139
13139
  top: T,
13140
13140
  bottom: I,
13141
- left: j,
13141
+ left: B,
13142
13142
  right: T
13143
13143
  }
13144
13144
  }), pt.setRoute(g.directionsResult).then(() => {
@@ -13150,23 +13150,23 @@ function aa({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointS
13150
13150
  function W(T) {
13151
13151
  return new Promise((I) => {
13152
13152
  if (v)
13153
- h ? Yo().then((j) => I(j)) : I(T);
13153
+ h ? Yo().then((B) => I(B)) : I(T);
13154
13154
  else
13155
- return On().then((j) => I(j));
13155
+ return On().then((B) => I(B));
13156
13156
  });
13157
13157
  }
13158
13158
  function A(T) {
13159
13159
  return new Promise((I) => {
13160
- v ? h ? I(T) : gn().then((j) => I(j)) : I(T);
13160
+ v ? h ? I(T) : gn().then((B) => I(B)) : I(T);
13161
13161
  });
13162
13162
  }
13163
- B(() => {
13163
+ j(() => {
13164
13164
  !e && pt && (re(), we(Vd.minZoom));
13165
13165
  }, [e]);
13166
13166
  function G() {
13167
13167
  return g ? g.directionsResult.legs.reduce((T, I) => {
13168
- for (const j in I.steps) {
13169
- const D = I.steps[j];
13168
+ for (const B in I.steps) {
13169
+ const D = I.steps[B];
13170
13170
  T.push(D);
13171
13171
  }
13172
13172
  return T;
@@ -13197,11 +13197,11 @@ function aa({ isOpen: e, onBack: t, onSetSize: n, onRouteFinished: r, snapPointS
13197
13197
  const T = `${O}&directionsFrom=${h.id}&directionsTo=${P.id}`;
13198
13198
  y(T);
13199
13199
  }
13200
- return B(() => (i.current = requestAnimationFrame(() => {
13200
+ return j(() => (i.current = requestAnimationFrame(() => {
13201
13201
  V(E ? Ce.MAX : Ce.FIT);
13202
13202
  }), () => {
13203
13203
  i.current && cancelAnimationFrame(i.current);
13204
- }), [E]), B(() => {
13204
+ }), [E]), j(() => {
13205
13205
  e && o && R(o === Ce.MAX);
13206
13206
  }, [e, o]), /* @__PURE__ */ m.jsxs("div", { className: "directions", style: { display: L ? "block" : "grid" }, children: [
13207
13207
  /* @__PURE__ */ m.jsxs("div", { className: "directions__steps", children: [
@@ -13243,12 +13243,12 @@ 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 = U(xn);
13246
+ const { searchInputElement: r } = t, o = pe(), s = H(xn);
13247
13247
  return yo(n, () => ({
13248
13248
  clearInputField() {
13249
13249
  o.current.clearInputField();
13250
13250
  }
13251
- })), B(() => {
13251
+ })), j(() => {
13252
13252
  const { current: i } = o;
13253
13253
  r && (i.inputElement = r);
13254
13254
  }, [r]), /* @__PURE__ */ m.jsx("mi-keyboard", { language: s, ref: o });
@@ -13295,18 +13295,18 @@ 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 = 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) => {
13298
+ const l = H(kr), c = Pt(), [u, f] = te(la), [, d] = te(is), [, p] = te(Go), g = Jn(), [b, E] = J(), R = H(ib), h = H(Hd), v = H(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: j } = F.current, D = T <= 0, H = T >= I - j - 1;
13306
- A(!D), ge(!H);
13305
+ const { scrollLeft: T, scrollWidth: I, clientWidth: B } = F.current, D = T <= 0, U = T >= I - B - 1;
13306
+ A(!D), ge(!U);
13307
13307
  }
13308
13308
  }, de = !o && S.length === 0, we = P && a === "horizontal" && !de;
13309
- B(() => {
13309
+ j(() => {
13310
13310
  if (!we)
13311
13311
  return;
13312
13312
  const T = F.current;
@@ -13322,25 +13322,25 @@ function fi({ onSetSize: e, getFilteredLocations: t, searchFieldRef: n, isOpen:
13322
13322
  function x(T) {
13323
13323
  f(T), u === T ? (d([]), f(null), p([]), n.current.getValue() && n.current.triggerSearch()) : n.current.getValue() ? n.current.triggerSearch() : t(T);
13324
13324
  }
13325
- return B(() => {
13325
+ return j(() => {
13326
13326
  var T;
13327
13327
  y && u && (f(null), d([]), p([]), (T = n.current) != null && T.getValue() && n.current.clear());
13328
- }, [y]), B(() => {
13328
+ }, [y]), j(() => {
13329
13329
  u && (sb().then((T) => E(T)), V(Ce.MAX));
13330
- }, [u]), B(() => {
13330
+ }, [u]), j(() => {
13331
13331
  b && h !== void 0 && (c || !c && R) && b.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
13332
- }, [b, h, R]), B(() => {
13333
- var j, D, H;
13332
+ }, [b, h, R]), j(() => {
13333
+ var B, D, U;
13334
13334
  let T = [];
13335
13335
  if (o) {
13336
13336
  const q = l.flatMap(([, z]) => z.childKeys || []);
13337
13337
  T = l.filter(([z]) => !q.includes(z));
13338
13338
  } else if (u) {
13339
- const q = (j = l.find(([X]) => X === u)) == null ? void 0 : j[1], z = (q == null ? void 0 : q.childKeys) || [];
13339
+ const q = (B = l.find(([X]) => X === u)) == null ? void 0 : B[1], z = (q == null ? void 0 : q.childKeys) || [];
13340
13340
  T = l.filter(([X]) => z.includes(X));
13341
13341
  }
13342
13342
  C(T);
13343
- const I = (H = (D = l.find(([q]) => q === u)) == null ? void 0 : D[1]) == null ? void 0 : H.displayName;
13343
+ const I = (U = (D = l.find(([q]) => q === u)) == null ? void 0 : D[1]) == null ? void 0 : U.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 = 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), [j, D] = J(!1), H = pe([]), [q, z] = J([]), [X, fe] = J(!1);
13439
+ const n = H(_n), { t: r } = nt(), o = pe(), s = pe(), i = pe(), a = pe(), l = pe(), c = 100, [u, f] = te(is), d = H(kr), p = H(Fd), [g, b] = J(!1), [E, R] = te(la), h = Jn(), [v, y] = J(), S = H(Et), [, C] = te(Go), [, L] = te(Qt), [, k] = te(Xo), [O, P] = te(ln), F = H(xn), W = Pt(), A = H(Bt), [G, ge] = J(!1), ce = H(oa), re = cn(), [, de] = te(as), [we, $] = J(!1), V = H(zd), x = H(ts), T = H(Ar), I = H(ca), [B, D] = J(!1), U = pe([]), [q, z] = J([]), [X, fe] = J(!1);
13440
13440
  function K() {
13441
13441
  var ie, Q, _e;
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]));
13442
+ U.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(), U.current.pop()) : (U.current.pop(), R(U.current[0]));
13443
13443
  }
13444
13444
  function Se(ie) {
13445
13445
  var Q;
13446
- H.current.includes(ie) || H.current.push(ie), E && (R([]), f([]), C([])), R(ie), window.mapsindoors.services.LocationsService.getLocations({
13446
+ U.current.includes(ie) || U.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));
@@ -13525,7 +13525,7 @@ function ua({ onSetSize: e, isOpen: t }) {
13525
13525
  function ft() {
13526
13526
  return re && X;
13527
13527
  }
13528
- return B(() => {
13528
+ return j(() => {
13529
13529
  const ie = [".search__info", ".search__back-button", ".categories", ".sheet__content"], Q = [".mi-floor-selector", ".view-mode-switch", ".mi-my-position", ".view-selector__toggle-button", ".building-list", ".mapboxgl-ctrl-bottom-right", ".gmnoprint", ".language-selector-portal"], _e = (Me) => {
13530
13530
  const et = ie.some(
13531
13531
  (Ht) => Me.target.closest(Ht)
@@ -13534,29 +13534,31 @@ 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([]), H.current = []);
13537
+ })) : !Xt && !Ut && (D(!1), Ie(Ce.MIN), R(null), f([]), C([]), U.current = []);
13538
13538
  };
13539
13539
  return t ? i.current = requestAnimationFrame(() => {
13540
13540
  document.addEventListener("click", _e);
13541
13541
  }) : document.removeEventListener("click", _e), () => {
13542
13542
  document.removeEventListener("click", _e), i.current && cancelAnimationFrame(i.current);
13543
13543
  };
13544
- }, [t]), B(() => () => {
13544
+ }, [t]), j(() => () => {
13545
13545
  y();
13546
- }, []), B(() => {
13546
+ }, []), j(() => {
13547
+ t && !E && (u.length > 0 || U.current.length > 0) && (f([]), C([]), b(!1), U.current = [], a.current && a.current.clear());
13548
+ }, [t, E, u.length]), j(() => {
13547
13549
  E && O !== I && (f([]), R(null));
13548
- }, [O]), B(() => {
13550
+ }, [O]), j(() => {
13549
13551
  E && window.mapsindoors.services.LocationsService.once("update_completed", () => {
13550
13552
  a.current.triggerSearch();
13551
13553
  });
13552
- }, [F]), B(() => (S == null || S.on("mouseenter", dt), () => {
13554
+ }, [F]), j(() => (S == null || S.on("mouseenter", dt), () => {
13553
13555
  S == null || S.off("mouseenter", dt);
13554
- }), [S]), B(() => {
13556
+ }), [S]), j(() => {
13555
13557
  if (t && re && u.length > 0) {
13556
13558
  const ie = document.querySelector(".mapsindoors-map .search__results");
13557
13559
  s.current.scrollContainerElementRef = ie;
13558
13560
  }
13559
- }, [u, t]), B(() => {
13561
+ }, [u, t]), j(() => {
13560
13562
  if (p) {
13561
13563
  const ie = (Q) => {
13562
13564
  Q.target.closest("mi-keyboard") || Q.target.tagName.toUpperCase() === "MI-SEARCH" || Q.target.tagName.toUpperCase() === "INPUT" ? ge(!0) : ge(!1);
@@ -13565,15 +13567,15 @@ function ua({ onSetSize: e, isOpen: t }) {
13565
13567
  window.removeEventListener("click", ie, !1);
13566
13568
  };
13567
13569
  }
13568
- }, [p]), B(() => {
13570
+ }, [p]), j(() => {
13569
13571
  E && Se(E);
13570
- }, [E]), B(() => {
13572
+ }, [E]), j(() => {
13571
13573
  A && $(V.length > 0);
13572
- }, [A]), B(() => {
13574
+ }, [A]), j(() => {
13573
13575
  var Q, _e;
13574
13576
  const ie = ((_e = (Q = d.find(([Me]) => Me === E)) == null ? void 0 : Q[1]) == null ? void 0 : _e.childKeys) || [];
13575
13577
  z(ie);
13576
- }, [d, E]), B(() => {
13578
+ }, [d, E]), j(() => {
13577
13579
  var ie, Q;
13578
13580
  fe(((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");
13579
13581
  }, [n]), /* @__PURE__ */ m.jsxs(
@@ -13602,7 +13604,7 @@ function ua({ onSetSize: e, isOpen: t }) {
13602
13604
  )
13603
13605
  ] })
13604
13606
  ] }),
13605
- (ft() || j) && !g && d.length > 0 && u.length === 0 && /* @__PURE__ */ m.jsx(
13607
+ (ft() || B) && !g && d.length > 0 && u.length === 0 && /* @__PURE__ */ m.jsx(
13606
13608
  fi,
13607
13609
  {
13608
13610
  onSetSize: e,
@@ -13626,7 +13628,7 @@ function ua({ onSetSize: e, isOpen: t }) {
13626
13628
  onLocationClicked: yt,
13627
13629
  childKeys: q,
13628
13630
  topLevelCategory: !1,
13629
- selectedCategoriesArray: H,
13631
+ selectedCategoriesArray: U,
13630
13632
  categoryOrientation: X ? "horizontal" : "vertical"
13631
13633
  }
13632
13634
  ),
@@ -13662,7 +13664,7 @@ function da({ onBack: e, onLocationClick: t, locations: n, onSetSize: r }) {
13662
13664
  function i(a) {
13663
13665
  typeof r == "function" && r(a);
13664
13666
  }
13665
- return B(() => {
13667
+ return j(() => {
13666
13668
  i(Ce.FIT);
13667
13669
  }, []), /* @__PURE__ */ m.jsxs("div", { className: "locations-list", children: [
13668
13670
  /* @__PURE__ */ m.jsxs("div", { className: "locations-list__header", children: [
@@ -13695,9 +13697,9 @@ Gd.propTypes = {
13695
13697
  };
13696
13698
  function Gd({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n, currentAppView: r, appViews: o, onRouteFinished: s }) {
13697
13699
  const i = pe(), a = pe(), l = pe(), c = pe(), u = pe(), f = pe(), [d, p] = te(Qt), [g, b] = J(!1), [E, R] = te(Ko), [, h] = te(qo);
13698
- B(() => {
13700
+ j(() => {
13699
13701
  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));
13700
- }, [d, e, t, E]), B(() => {
13702
+ }, [d, e, t, E]), j(() => {
13701
13703
  if (d) {
13702
13704
  const C = d.properties.imageURL || d.properties.description || d.properties.additionalDetails || Object.keys(d.properties.categories).length > 0;
13703
13705
  b(C);
@@ -13819,7 +13821,7 @@ const cb = {
13819
13821
  DIRECTIONS: "DIRECTIONS"
13820
13822
  }, ub = () => {
13821
13823
  const [e, t] = J(void 0), [n, r] = J(), [o, s] = J(null);
13822
- B(() => {
13824
+ j(() => {
13823
13825
  function c(u) {
13824
13826
  var f, d;
13825
13827
  t((f = u.state) == null ? void 0 : f.value), r((d = u.state) == null ? void 0 : d.payload);
@@ -13841,7 +13843,7 @@ const cb = {
13841
13843
  default: !1
13842
13844
  });
13843
13845
  function fb() {
13844
- 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);
13846
+ const e = H(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);
13845
13847
  return () => {
13846
13848
  n(), r(), o(), s(), i(), a(), l(), c(), u(), f(), d(), p(), g(), b(), e && t(e);
13847
13849
  };
@@ -13851,8 +13853,8 @@ jn.propTypes = {
13851
13853
  isOpen: w.bool
13852
13854
  };
13853
13855
  function jn({ children: e, isOpen: t }) {
13854
- const [n, r] = J(!1), o = U(Bt), s = pe(), i = pe();
13855
- return B(() => {
13856
+ const [n, r] = J(!1), o = H(Bt), s = pe(), i = pe();
13857
+ return j(() => {
13856
13858
  if (!i)
13857
13859
  return;
13858
13860
  const a = new MutationObserver(() => {
@@ -13882,8 +13884,8 @@ Kd.propTypes = {
13882
13884
  onRouteFinished: w.func
13883
13885
  };
13884
13886
  function Kd({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n, currentAppView: r, appViews: o, onRouteFinished: s }) {
13885
- const [i, a] = te(Qt), [l, c] = te(Ko), [, u] = te(qo), f = U(Bt);
13886
- B(() => {
13887
+ const [i, a] = te(Qt), [l, c] = te(Ko), [, u] = te(qo), f = H(Bt);
13888
+ j(() => {
13887
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));
13888
13890
  }, [i, e, t, l]);
13889
13891
  function d() {
@@ -13936,8 +13938,8 @@ function Kd({ directionsFromLocation: e, directionsToLocation: t, pushAppView: n
13936
13938
  return /* @__PURE__ */ m.jsx("div", { children: b });
13937
13939
  }
13938
13940
  const zl = (e) => {
13939
- const [t, n] = J(), r = U(Uo), o = U(Ku);
13940
- return B(() => {
13941
+ const [t, n] = J(), r = H(Uo), o = H(Ku);
13942
+ return j(() => {
13941
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)));
13942
13944
  }, [e, r, o]), t;
13943
13945
  }, hb = he({
@@ -13945,8 +13947,8 @@ const zl = (e) => {
13945
13947
  default: null
13946
13948
  });
13947
13949
  function pb() {
13948
- const e = U(Nr), t = pe();
13949
- return B(() => {
13950
+ const e = H(Nr), t = pe();
13951
+ return j(() => {
13950
13952
  var n;
13951
13953
  (n = t.current) == null || n.classList.add("notification"), e ? t.current.push(e.text, e.type, !0) : t.current.clearAll();
13952
13954
  }, [e]), /* @__PURE__ */ m.jsx("mi-notification", { ref: t, position: "top-center" });
@@ -15436,8 +15438,8 @@ $r.toString = ma.bind(null, function(e, t, n) {
15436
15438
  return r3.render(e, n);
15437
15439
  });
15438
15440
  function o3() {
15439
- const { t: e } = nt(), [t, n] = te(ns), r = pe(), o = U(Vt);
15440
- return B(() => {
15441
+ const { t: e } = nt(), [t, n] = te(ns), r = pe(), o = H(Vt);
15442
+ return j(() => {
15441
15443
  const s = {
15442
15444
  errorCorrectionLevel: "L",
15443
15445
  margin: 0,
@@ -15460,11 +15462,11 @@ const s3 = he({
15460
15462
  default: void 0
15461
15463
  });
15462
15464
  function i3() {
15463
- 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();
15465
+ const { t: e } = nt(), t = H(Vt), n = H(zd), r = cn(), o = pe(), s = pe(), i = pe(), [a, l] = te(as), [c, u] = J(!1), f = pe();
15464
15466
  let d = 700;
15465
- return B(() => {
15467
+ return j(() => {
15466
15468
  a && r && u(f.current.clientHeight > d);
15467
- }, [a, r]), B(() => {
15469
+ }, [a, r]), j(() => {
15468
15470
  if (a && r && c) {
15469
15471
  const p = document.querySelector(".legend__sections");
15470
15472
  i.current.scrollContainerElementRef = p;
@@ -15490,13 +15492,13 @@ function i3() {
15490
15492
  ] });
15491
15493
  }
15492
15494
  const a3 = () => {
15493
- 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);
15494
- B(() => {
15495
+ const [e, t] = te(ln), n = H(Ar), r = H(Et), o = H(_n), [, s] = te(kr), [, i] = te(is), a = H(oa), [l, c] = te(ca);
15496
+ j(() => {
15495
15497
  var d;
15496
15498
  !e && n.length && t((d = u()) == null ? void 0 : d.name);
15497
- }, [e, n]), B(() => {
15499
+ }, [e, n]), j(() => {
15498
15500
  e && !l && c(e);
15499
- }, [e]), B(() => {
15501
+ }, [e]), j(() => {
15500
15502
  r && n.length && e && o && (r.setVenue(n.find((d) => d.name.toLowerCase() === e.toLowerCase())), f(), i([]), a && (a.value = ""));
15501
15503
  }, [r, e, n, o]);
15502
15504
  const u = () => n.length === 1 ? n[0] : [...n].sort(function(d, p) {
@@ -15576,7 +15578,7 @@ uf.propTypes = {
15576
15578
  devicePosition: w.object
15577
15579
  };
15578
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 }) {
15579
- const [de, we] = J(!1), [$, V] = J({ brandingColor: s }), [, x] = te(Fi), [, T] = te(Ui), [, I] = te(zo), [j, 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);
15581
+ const [de, we] = J(!1), [$, V] = J({ brandingColor: s }), [, x] = te(Fi), [, T] = te(Ui), [, I] = te(zo), [B, D] = te(Zo), [U, q] = te(Ar), [z, X] = te(Qt), fe = 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(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 = H(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 = H(as), [wt, va] = J(0), [gs, df] = a3(), ff = c3(), [, hf] = te(Nr);
15580
15582
  function pf() {
15581
15583
  return new Promise((oe) => {
15582
15584
  if (window.mapsindoors !== void 0)
@@ -15587,26 +15589,26 @@ function uf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
15587
15589
  };
15588
15590
  });
15589
15591
  }
15590
- B(() => {
15592
+ j(() => {
15591
15593
  var oe;
15592
15594
  qe || (h ? Ze(h) : (oe = ee == null ? void 0 : ee.appSettings) != null && oe.language && Ze(ee.appSettings.language));
15593
- }, [h, ee, qe, Ze]), B(() => {
15595
+ }, [h, ee, qe, Ze]), j(() => {
15594
15596
  We && vf();
15595
- }, [We]), B(() => (pf().then(() => {
15597
+ }, [We]), j(() => (pf().then(() => {
15596
15598
  en(!0);
15597
15599
  }), () => {
15598
15600
  Nt();
15599
- }), []), B(() => {
15601
+ }), []), j(() => {
15600
15602
  var oe;
15601
15603
  if ($e) {
15602
15604
  const je = qe ?? h ?? ((oe = ee == null ? void 0 : ee.appSettings) == null ? void 0 : oe.language) ?? navigator.language;
15603
15605
  window.mapsindoors.MapsIndoors.setLanguage(je.split("-")[0]), window.mapsindoors.services.LocationsService.once("update_completed", () => {
15604
- fe.length > 0 && df(), H.length > 0 && window.mapsindoors.services.VenuesService.getVenues().then((ct) => {
15606
+ fe.length > 0 && df(), U.length > 0 && window.mapsindoors.services.VenuesService.getVenues().then((ct) => {
15605
15607
  ct = ct.map((zt) => (zt.image = ee.venueImages[zt.name.toLowerCase()], zt)), q(ct);
15606
15608
  }), z && window.mapsindoors.services.LocationsService.getLocation(z.id).then((ct) => X(ct));
15607
15609
  }), (!tt.language || tt.language !== je) && (tt.isInitialized ? tt.changeLanguage(je) : Xy(je));
15608
15610
  }
15609
- }, [qe, h, $e, ee]), B(() => {
15611
+ }, [qe, h, $e, ee]), j(() => {
15610
15612
  $e && (x(e), D(!1), window.mapsindoors.MapsIndoors.setMapsIndoorsApiKey(e), Promise.all([
15611
15613
  // Fetch all Venues in the Solution
15612
15614
  window.mapsindoors.services.VenuesService.getVenues(),
@@ -15619,25 +15621,25 @@ function uf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
15619
15621
  ]).then(([oe, je]) => {
15620
15622
  oe = oe.map((ct) => (ct.image = je.venueImages[ct.name.toLowerCase()], ct)), q(oe);
15621
15623
  }), D(!1));
15622
- }, [e, $e]), B(() => {
15624
+ }, [e, $e]), j(() => {
15623
15625
  var oe, je, ct, zt;
15624
15626
  $e && ee && (mt(n) && mt(t) && mt((oe = ee == null ? void 0 : ee.appSettings) == null ? void 0 : oe.mapboxAccessToken) && mt((je = ee == null ? void 0 : ee.appSettings) == null ? void 0 : je.gmKey) ? hf({ text: "Please provide a Mapbox Access Token or Google Maps API key to show a map.", type: "error" }) : (I(n || ((ct = ee.appSettings) == null ? void 0 : ct.mapboxAccessToken)), T(t || ((zt = ee.appSettings) == null ? void 0 : zt.gmKey))));
15625
- }, [t, n, $e, ee]), B(() => {
15627
+ }, [t, n, $e, ee]), j(() => {
15626
15628
  $e && window.mapsindoors.services.SolutionsService.getUserRoles().then((oe) => {
15627
15629
  const je = oe.filter((ct) => a == null ? void 0 : a.includes(ct.name));
15628
15630
  window.mapsindoors.MapsIndoors.setUserRoles(je);
15629
15631
  });
15630
- }, [a, $e]), B(() => {
15632
+ }, [a, $e]), j(() => {
15631
15633
  $e && (u ? window.mapsindoors.services.LocationsService.getLocationsByExternalId(u).then((oe) => {
15632
15634
  st(oe);
15633
15635
  }) : st([]));
15634
- }, [u, $e]), B(() => {
15636
+ }, [u, $e]), j(() => {
15635
15637
  $e && (K(o), o && window.mapsindoors.services.LocationsService.getLocation(o).then((oe) => {
15636
15638
  oe && (gs(oe.properties.venueId), X(oe));
15637
15639
  }));
15638
- }, [o, $e, wt]), B(() => {
15640
+ }, [o, $e, wt]), j(() => {
15639
15641
  $e && Fe(b);
15640
- }, [b, $e]), B(() => {
15642
+ }, [b, $e]), j(() => {
15641
15643
  switch (Ee) {
15642
15644
  case Ae.SEARCH:
15643
15645
  case Ae.EXTERNALIDS:
@@ -15655,16 +15657,16 @@ function uf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
15655
15657
  break;
15656
15658
  }
15657
15659
  Ee === Ae.DIRECTIONS ? (Nt(ht), Lt([])) : Lt(Jt);
15658
- }, [Ee]), B(() => {
15660
+ }, [Ee]), j(() => {
15659
15661
  var oe;
15660
15662
  gs(r ?? ((oe = ee == null ? void 0 : ee.appSettings) == null ? void 0 : oe.venue));
15661
- }, [r, ee]), B(() => {
15663
+ }, [r, ee]), j(() => {
15662
15664
  ps(f);
15663
- }, [f]), B(() => {
15665
+ }, [f]), j(() => {
15664
15666
  var je;
15665
15667
  const oe = "#003C3B";
15666
15668
  Ie(s ?? ((je = ee == null ? void 0 : ee.appSettings) == null ? void 0 : je.primaryColor) ?? oe);
15667
- }, [s, ee]), B(() => {
15669
+ }, [s, ee]), j(() => {
15668
15670
  var oe, je, ct, zt, Sa, ba;
15669
15671
  V({
15670
15672
  brandingColor: Se,
@@ -15676,55 +15678,55 @@ function uf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
15676
15678
  minZoom: (Sa = ee == null ? void 0 : ee.appSettings) != null && Sa.ignoreViewportBounds ? 1 : Vd.minZoom,
15677
15679
  mapboxMapStyle: ((ba = ee == null ? void 0 : ee.appSettings) == null ? void 0 : ba.mapboxMapStyle) || ce
15678
15680
  });
15679
- }, [s, P, C, Se, ge, ee]), B(() => {
15681
+ }, [s, P, C, Se, ge, ee]), j(() => {
15680
15682
  var oe;
15681
15683
  _(d ?? ((oe = ee == null ? void 0 : ee.appSettings) == null ? void 0 : oe.startZoomLevel));
15682
- }, [d, ee]), B(() => {
15684
+ }, [d, ee]), j(() => {
15683
15685
  var je;
15684
15686
  const oe = g ?? ((je = ee == null ? void 0 : ee.appSettings) == null ? void 0 : je.pitch) ?? null;
15685
15687
  mt(oe) ? M && le(45) : le(oe);
15686
- }, [g, M, ee]), B(() => {
15688
+ }, [g, M, ee]), j(() => {
15687
15689
  var oe;
15688
15690
  Z(p ?? ((oe = ee == null ? void 0 : ee.appSettings) == null ? void 0 : oe.bearing) ?? null);
15689
- }, [p, ee]), B(() => {
15691
+ }, [p, ee]), j(() => {
15690
15692
  var je;
15691
15693
  const oe = "https://app.mapsindoors.com/mapsindoors/gfx/mapspeople-logo/mapspeople-pin.svg";
15692
15694
  ee && Ke(i ?? ((je = ee == null ? void 0 : ee.appSettings) == null ? void 0 : je.logo) ?? oe);
15693
- }, [i, ee]), B(() => {
15695
+ }, [i, ee]), j(() => {
15694
15696
  ie(C);
15695
- }, [C]), B(() => {
15697
+ }, [C]), j(() => {
15696
15698
  z && z.id !== R ? Ne != null && Ne.selectLocation && Ne.selectLocation(z) : Ne != null && Ne.deselectLocation && Ne.deselectLocation();
15697
- }, [z]), B(() => {
15699
+ }, [z]), j(() => {
15698
15700
  $e && (yt(R), R ? window.mapsindoors.services.LocationsService.getLocation(R).then((oe) => {
15699
15701
  gs(oe.properties.venueId), dt(oe), Ne == null || Ne.setNonCollidingLocation(oe);
15700
15702
  }) : dt(), R && be ? (me(!1), ve(!1)) : (me(!0), ve(!0)));
15701
- }, [R, $e, Ne]), B(() => {
15703
+ }, [R, $e, Ne]), j(() => {
15702
15704
  Le(S);
15703
- }, [S]), B(() => {
15705
+ }, [S]), j(() => {
15704
15706
  ot(v);
15705
- }, [v]), B(() => {
15707
+ }, [v]), j(() => {
15706
15708
  y && R && ft(y);
15707
- }, [y, R]), B(() => {
15709
+ }, [y, R]), j(() => {
15708
15710
  $e && L && fe.find((oe) => oe[0] === L) && Q(L);
15709
- }, [L, fe, $e]), B(() => {
15711
+ }, [L, fe, $e]), j(() => {
15710
15712
  _e(k);
15711
- }, [k]), B(() => {
15713
+ }, [k]), j(() => {
15712
15714
  et(O);
15713
- }, [O]), B(() => {
15715
+ }, [O]), j(() => {
15714
15716
  Ut(F);
15715
- }, [F]), B(() => {
15717
+ }, [F]), j(() => {
15716
15718
  Xt(P);
15717
- }, [P]), B(() => {
15719
+ }, [P]), j(() => {
15718
15720
  Ht(W);
15719
- }, [W]), B(() => {
15721
+ }, [W]), j(() => {
15720
15722
  var oe;
15721
15723
  er(A ?? ((oe = ee == null ? void 0 : ee.appSettings) == null ? void 0 : oe.center));
15722
- }, [A, ee]), B(() => {
15724
+ }, [A, ee]), j(() => {
15723
15725
  var oe;
15724
15726
  G === !0 && !mt((oe = ee == null ? void 0 : ee.appSettings) == null ? void 0 : oe.title) && (document.title = ee.appSettings.title);
15725
15727
  }, [G, ee]);
15726
15728
  function gf() {
15727
- j === !1 && D(!0);
15729
+ B === !1 && D(!0);
15728
15730
  }
15729
15731
  function mf(oe) {
15730
15732
  switch (Y.current) {
@@ -15742,18 +15744,18 @@ function uf({ apiKey: e, gmApiKey: t, mapboxAccessToken: n, venue: r, locationId
15742
15744
  function ya() {
15743
15745
  ff(), Ye(), va((oe) => oe + 1), Q(null);
15744
15746
  }
15745
- return B(() => {
15747
+ return j(() => {
15746
15748
  $e && L && fe.find((oe) => oe[0] === L) && (Q(L), Me(L));
15747
- }, [L, fe, $e]), B(() => {
15749
+ }, [L, fe, $e]), j(() => {
15748
15750
  var oe;
15749
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));
15750
15752
  }, [h, ee, qe, Ze, de]), /* @__PURE__ */ m.jsxs("div", { className: `mapsindoors-map
15751
15753
  ${Ee === Ae.DIRECTIONS ? "mapsindoors-map--hide-elements" : "mapsindoors-map--show-elements"}
15752
- ${H.length > 1 && ue ? "" : "mapsindoors-map--hide-venue-selector"}
15754
+ ${U.length > 1 && ue ? "" : "mapsindoors-map--hide-venue-selector"}
15753
15755
  ${ye ? "mapsindoors-map--show-my-position" : "mapsindoors-map--hide-my-position"}`, children: [
15754
15756
  /* @__PURE__ */ m.jsx(pb, {}),
15755
- !j && /* @__PURE__ */ m.jsx(yS, {}),
15756
- H.length > 1 && ue && /* @__PURE__ */ m.jsx(
15757
+ !B && /* @__PURE__ */ m.jsx(yS, {}),
15758
+ U.length > 1 && ue && /* @__PURE__ */ m.jsx(
15757
15759
  Cd,
15758
15760
  {
15759
15761
  onOpen: () => De(Ae.VENUE_SELECTOR),
@@ -15850,8 +15852,8 @@ u3.propTypes = {
15850
15852
  };
15851
15853
  function u3(e) {
15852
15854
  const [t, n] = J();
15853
- return B(() => {
15854
- var I, j;
15855
+ return j(() => {
15856
+ var I, B;
15855
15857
  const r = window.location.search, o = new URLSearchParams(r), s = {
15856
15858
  apiKey: "mapspeople3d",
15857
15859
  useMapProviderModule: !1,
@@ -15861,7 +15863,7 @@ function u3(e) {
15861
15863
  showExternalIDs: !1,
15862
15864
  hideNonMatches: !1,
15863
15865
  useAppTitle: !1
15864
- }, 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 = (I = o.get("appUserRoles")) == null ? void 0 : I.split(","), y = (j = o.get("externalIDs")) == null ? void 0 : j.split(","), S = o.get("gmMapId"), C = o.get("kioskOriginLocationId"), L = Number(o.get("timeout")), k = o.get("language"), O = Number(o.get("miTransitionLevel")), P = o.get("category"), F = o.get("useMapProviderModule"), W = o.get("useKeyboard"), A = o.get("searchAllVenues"), G = o.get("hideNonMatches"), ge = o.get("showExternalIDs"), ce = o.get("showRoadNames"), re = o.get("searchExternalLocations"), de = o.get("center"), we = o.get("useAppTitle"), $ = o.get("showMapMarkers"), V = o.get("mapboxMapStyle"), x = e.supportsUrlParameters && i ? i : e.apiKey || s.apiKey;
15866
+ }, 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 = (I = o.get("appUserRoles")) == null ? void 0 : I.split(","), y = (B = o.get("externalIDs")) == null ? void 0 : B.split(","), S = o.get("gmMapId"), C = o.get("kioskOriginLocationId"), L = Number(o.get("timeout")), k = o.get("language"), O = Number(o.get("miTransitionLevel")), P = o.get("category"), F = o.get("useMapProviderModule"), W = o.get("useKeyboard"), A = o.get("searchAllVenues"), G = o.get("hideNonMatches"), ge = o.get("showExternalIDs"), ce = o.get("showRoadNames"), re = o.get("searchExternalLocations"), de = o.get("center"), we = o.get("useAppTitle"), $ = o.get("showMapMarkers"), V = o.get("mapboxMapStyle"), x = e.supportsUrlParameters && i ? i : e.apiKey || s.apiKey;
15865
15867
  let T = e.supportsUrlParameters && a ? a : e.venue || s.venue;
15866
15868
  x === "mapspeople3d" && !T && (T = "AUSTINOFFICE"), n({
15867
15869
  apiKey: x,
@@ -15916,4 +15918,4 @@ export {
15916
15918
  m as j,
15917
15919
  g3 as r
15918
15920
  };
15919
- //# sourceMappingURL=reactcomponent-d39ad999.mjs.map
15921
+ //# sourceMappingURL=reactcomponent-39094f44.mjs.map