@mapsindoors/map-template 1.36.2 → 1.36.3

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 (41) hide show
  1. package/dist/{combo-box-item.entry-7ad80dca.mjs → combo-box-item.entry-a8da1eb2.mjs} +1 -1
  2. package/dist/mapsindoors-react.es.js +1 -1
  3. package/dist/mapsindoors-react.umd.js +11 -11
  4. package/dist/mapsindoors-webcomponent.es.js +214 -214
  5. package/dist/mapsindoors-webcomponent.umd.js +7 -7
  6. package/dist/{mi-card_2.entry-2fc701d3.mjs → mi-card_2.entry-df1ce762.mjs} +1 -1
  7. package/dist/{mi-chip.entry-8939d810.mjs → mi-chip.entry-197de37c.mjs} +1 -1
  8. package/dist/{mi-column.entry-d4637373.mjs → mi-column.entry-5a9cf6bd.mjs} +1 -1
  9. package/dist/{mi-combo-box.entry-b4b1682d.mjs → mi-combo-box.entry-f257f857.mjs} +1 -1
  10. package/dist/{mi-data-table.entry-118bc6bc.mjs → mi-data-table.entry-3dec6a4e.mjs} +1 -1
  11. package/dist/{mi-distance_2.entry-1763e887.mjs → mi-distance_2.entry-d550f85a.mjs} +1 -1
  12. package/dist/{mi-dropdown-item.entry-e4011c86.mjs → mi-dropdown-item.entry-2a3b1fe9.mjs} +1 -1
  13. package/dist/{mi-dropdown.entry-8720ecec.mjs → mi-dropdown.entry-7385e704.mjs} +1 -1
  14. package/dist/{mi-floor-selector.entry-2f99920e.mjs → mi-floor-selector.entry-299ac3d8.mjs} +1 -1
  15. package/dist/{mi-keyboard.entry-b8be44e6.mjs → mi-keyboard.entry-87cc3cda.mjs} +1 -1
  16. package/dist/{mi-list-item-category.entry-ac4908f1.mjs → mi-list-item-category.entry-2ad7e530.mjs} +1 -1
  17. package/dist/{mi-list-item-location.entry-119de7b8.mjs → mi-list-item-location.entry-bb959a5b.mjs} +1 -1
  18. package/dist/{mi-list.entry-729757b2.mjs → mi-list.entry-d9e954d8.mjs} +1 -1
  19. package/dist/{mi-location-booking.entry-99d100cf.mjs → mi-location-booking.entry-0fddb3bb.mjs} +1 -1
  20. package/dist/{mi-location-info.entry-ecb87c14.mjs → mi-location-info.entry-11ef0b20.mjs} +1 -1
  21. package/dist/{mi-map-googlemaps.entry-e90253a8.mjs → mi-map-googlemaps.entry-568d65cb.mjs} +1 -1
  22. package/dist/{mi-map-mapbox.entry-a4f755a9.mjs → mi-map-mapbox.entry-708b6d23.mjs} +1 -1
  23. package/dist/{mi-metric-card.entry-afa8e914.mjs → mi-metric-card.entry-0e26ae28.mjs} +1 -1
  24. package/dist/{mi-my-position.entry-94e0d269.mjs → mi-my-position.entry-b42743e7.mjs} +1 -1
  25. package/dist/{mi-notification.entry-7294b4cd.mjs → mi-notification.entry-d1a8779f.mjs} +1 -1
  26. package/dist/{mi-route-instructions-heading.entry-3a992323.mjs → mi-route-instructions-heading.entry-9fe18478.mjs} +1 -1
  27. package/dist/{mi-route-instructions-maneuver-legacy.entry-44bc1e6b.mjs → mi-route-instructions-maneuver-legacy.entry-c7d16491.mjs} +1 -1
  28. package/dist/{mi-route-instructions-maneuver.entry-6dc90010.mjs → mi-route-instructions-maneuver.entry-33a20308.mjs} +1 -1
  29. package/dist/{mi-route-instructions-step-legacy.entry-25557914.mjs → mi-route-instructions-step-legacy.entry-b62757d0.mjs} +1 -1
  30. package/dist/{mi-route-instructions-step.entry-31f0839e.mjs → mi-route-instructions-step.entry-e4aa44b0.mjs} +1 -1
  31. package/dist/{mi-route-instructions.entry-aa8e062d.mjs → mi-route-instructions.entry-8738360a.mjs} +1 -1
  32. package/dist/{mi-scroll-buttons.entry-fb0dd58d.mjs → mi-scroll-buttons.entry-d44c3783.mjs} +1 -1
  33. package/dist/{mi-search.entry-04ea343c.mjs → mi-search.entry-db0a2f80.mjs} +1 -1
  34. package/dist/{mi-share-sms.entry-2cca01f3.mjs → mi-share-sms.entry-d24114cc.mjs} +1 -1
  35. package/dist/{mi-step-switcher.entry-64fef0e0.mjs → mi-step-switcher.entry-57e57f1c.mjs} +1 -1
  36. package/dist/{mi-tab-panel.entry-0fc3b164.mjs → mi-tab-panel.entry-afc5817f.mjs} +1 -1
  37. package/dist/{mi-tab.entry-34301207.mjs → mi-tab.entry-d6ca36c0.mjs} +1 -1
  38. package/dist/{mi-tabs.entry-68de54de.mjs → mi-tabs.entry-dd5b6589.mjs} +1 -1
  39. package/dist/{mi-time.entry-bbf9838f.mjs → mi-time.entry-37c98677.mjs} +1 -1
  40. package/dist/{reactcomponent-ca5d8dc9.mjs → reactcomponent-8018fe70.mjs} +313 -313
  41. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as Ke from "react";
2
- import Kn, { createContext as zE, useContext as BE, useState as ke, useRef as ri, useEffect as Me, forwardRef as Ay, useImperativeHandle as Cy, Fragment as UD } from "react";
2
+ import Kn, { createContext as zE, useContext as BE, useState as Oe, useRef as ri, useEffect as Me, forwardRef as Ay, useImperativeHandle as Cy, Fragment as UD } from "react";
3
3
  import qc, { createPortal as jD } from "react-dom";
4
4
  var VD = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
5
  function NE(d) {
@@ -56,14 +56,14 @@ function GD() {
56
56
  var wt = d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
57
57
  function lt(et) {
58
58
  {
59
- for (var qt = arguments.length, oe = new Array(qt > 1 ? qt - 1 : 0), Le = 1; Le < qt; Le++)
60
- oe[Le - 1] = arguments[Le];
59
+ for (var qt = arguments.length, oe = new Array(qt > 1 ? qt - 1 : 0), De = 1; De < qt; De++)
60
+ oe[De - 1] = arguments[De];
61
61
  xt("error", et, oe);
62
62
  }
63
63
  }
64
64
  function xt(et, qt, oe) {
65
65
  {
66
- var Le = wt.ReactDebugCurrentFrame, bn = Le.getStackAddendum();
66
+ var De = wt.ReactDebugCurrentFrame, bn = De.getStackAddendum();
67
67
  bn !== "" && (qt += "%s", oe = oe.concat([bn]));
68
68
  var _n = oe.map(function(mn) {
69
69
  return String(mn);
@@ -81,9 +81,9 @@ function GD() {
81
81
  et.$$typeof === Z || et.getModuleId !== void 0));
82
82
  }
83
83
  function he(et, qt, oe) {
84
- var Le = et.displayName;
85
- if (Le)
86
- return Le;
84
+ var De = et.displayName;
85
+ if (De)
86
+ return De;
87
87
  var bn = qt.displayName || qt.name || "";
88
88
  return bn !== "" ? oe + "(" + bn + ")" : oe;
89
89
  }
@@ -122,8 +122,8 @@ function GD() {
122
122
  case T:
123
123
  return he(et, et.render, "ForwardRef");
124
124
  case B:
125
- var Le = et.displayName || null;
126
- return Le !== null ? Le : Ut(et.type) || "Memo";
125
+ var De = et.displayName || null;
126
+ return De !== null ? De : Ut(et.type) || "Memo";
127
127
  case U: {
128
128
  var bn = et, _n = bn._payload, mn = bn._init;
129
129
  try {
@@ -135,14 +135,14 @@ function GD() {
135
135
  }
136
136
  return null;
137
137
  }
138
- var ve = Object.assign, In = 0, on, ze, pn, Sn, Rt, yt, gt;
138
+ var ve = Object.assign, In = 0, on, Be, pn, Sn, Rt, yt, gt;
139
139
  function Pt() {
140
140
  }
141
141
  Pt.__reactDisabledLog = !0;
142
142
  function Vt() {
143
143
  {
144
144
  if (In === 0) {
145
- on = console.log, ze = console.info, pn = console.warn, Sn = console.error, Rt = console.group, yt = console.groupCollapsed, gt = console.groupEnd;
145
+ on = console.log, Be = console.info, pn = console.warn, Sn = console.error, Rt = console.group, yt = console.groupCollapsed, gt = console.groupEnd;
146
146
  var et = {
147
147
  configurable: !0,
148
148
  enumerable: !0,
@@ -175,7 +175,7 @@ function GD() {
175
175
  value: on
176
176
  }),
177
177
  info: ve({}, et, {
178
- value: ze
178
+ value: Be
179
179
  }),
180
180
  warn: ve({}, et, {
181
181
  value: pn
@@ -204,8 +204,8 @@ function GD() {
204
204
  try {
205
205
  throw Error();
206
206
  } catch (bn) {
207
- var Le = bn.stack.trim().match(/\n( *(at )?)/);
208
- Lt = Le && Le[1] || "";
207
+ var De = bn.stack.trim().match(/\n( *(at )?)/);
208
+ Lt = De && De[1] || "";
209
209
  }
210
210
  return `
211
211
  ` + Lt + et;
@@ -224,7 +224,7 @@ function GD() {
224
224
  if (oe !== void 0)
225
225
  return oe;
226
226
  }
227
- var Le;
227
+ var De;
228
228
  se = !0;
229
229
  var bn = Error.prepareStackTrace;
230
230
  Error.prepareStackTrace = void 0;
@@ -243,14 +243,14 @@ function GD() {
243
243
  try {
244
244
  Reflect.construct(mn, []);
245
245
  } catch (Pr) {
246
- Le = Pr;
246
+ De = Pr;
247
247
  }
248
248
  Reflect.construct(et, [], mn);
249
249
  } else {
250
250
  try {
251
251
  mn.call();
252
252
  } catch (Pr) {
253
- Le = Pr;
253
+ De = Pr;
254
254
  }
255
255
  et.call(mn.prototype);
256
256
  }
@@ -258,14 +258,14 @@ function GD() {
258
258
  try {
259
259
  throw Error();
260
260
  } catch (Pr) {
261
- Le = Pr;
261
+ De = Pr;
262
262
  }
263
263
  et();
264
264
  }
265
265
  } catch (Pr) {
266
- if (Pr && Le && typeof Pr.stack == "string") {
266
+ if (Pr && De && typeof Pr.stack == "string") {
267
267
  for (var ln = Pr.stack.split(`
268
- `), Bi = Le.stack.split(`
268
+ `), Bi = De.stack.split(`
269
269
  `), ai = ln.length - 1, _i = Bi.length - 1; ai >= 1 && _i >= 0 && ln[ai] !== Bi[_i]; )
270
270
  _i--;
271
271
  for (; ai >= 1 && _i >= 0; ai--, _i--)
@@ -314,7 +314,7 @@ function GD() {
314
314
  case B:
315
315
  return Ti(et.type, qt, oe);
316
316
  case U: {
317
- var Le = et, bn = Le._payload, _n = Le._init;
317
+ var De = et, bn = De._payload, _n = De._init;
318
318
  try {
319
319
  return Ti(_n(bn), qt, oe);
320
320
  } catch {
@@ -331,7 +331,7 @@ function GD() {
331
331
  } else
332
332
  q.setExtraStackFrame(null);
333
333
  }
334
- function It(et, qt, oe, Le, bn) {
334
+ function It(et, qt, oe, De, bn) {
335
335
  {
336
336
  var _n = Function.call.bind(kt);
337
337
  for (var mn in et)
@@ -339,14 +339,14 @@ function GD() {
339
339
  var ln = void 0;
340
340
  try {
341
341
  if (typeof et[mn] != "function") {
342
- var Bi = Error((Le || "React class") + ": " + oe + " type `" + mn + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof et[mn] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
342
+ var Bi = Error((De || "React class") + ": " + oe + " type `" + mn + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof et[mn] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
343
343
  throw Bi.name = "Invariant Violation", Bi;
344
344
  }
345
- ln = et[mn](qt, mn, Le, oe, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
345
+ ln = et[mn](qt, mn, De, oe, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
346
346
  } catch (ai) {
347
347
  ln = ai;
348
348
  }
349
- ln && !(ln instanceof Error) && (G(bn), lt("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Le || "React class", oe, mn, typeof ln), G(null)), ln instanceof Error && !(ln.message in V) && (V[ln.message] = !0, G(bn), lt("Failed %s type: %s", oe, ln.message), G(null));
349
+ ln && !(ln instanceof Error) && (G(bn), lt("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", De || "React class", oe, mn, typeof ln), G(null)), ln instanceof Error && !(ln.message in V) && (V[ln.message] = !0, G(bn), lt("Failed %s type: %s", oe, ln.message), G(null));
350
350
  }
351
351
  }
352
352
  }
@@ -425,7 +425,7 @@ function GD() {
425
425
  });
426
426
  }
427
427
  }
428
- var te = function(et, qt, oe, Le, bn, _n, mn) {
428
+ var te = function(et, qt, oe, De, bn, _n, mn) {
429
429
  var ln = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: h,
@@ -446,7 +446,7 @@ function GD() {
446
446
  configurable: !1,
447
447
  enumerable: !1,
448
448
  writable: !1,
449
- value: Le
449
+ value: De
450
450
  }), Object.defineProperty(ln, "_source", {
451
451
  configurable: !1,
452
452
  enumerable: !1,
@@ -454,7 +454,7 @@ function GD() {
454
454
  value: bn
455
455
  }), Object.freeze && (Object.freeze(ln.props), Object.freeze(ln)), ln;
456
456
  };
457
- function Se(et, qt, oe, Le, bn) {
457
+ function Se(et, qt, oe, De, bn) {
458
458
  {
459
459
  var _n, mn = {}, ln = null, Bi = null;
460
460
  oe !== void 0 && (Ae(oe), ln = "" + oe), Un(qt) && (Ae(qt.key), ln = "" + qt.key), Jn(qt) && (Bi = qt.ref, Di(qt, bn));
@@ -469,11 +469,11 @@ function GD() {
469
469
  var _i = typeof et == "function" ? et.displayName || et.name || "Unknown" : et;
470
470
  ln && Et(mn, _i), Bi && _t(mn, _i);
471
471
  }
472
- return te(et, ln, Bi, bn, Le, Ie.current, mn);
472
+ return te(et, ln, Bi, bn, De, Ie.current, mn);
473
473
  }
474
474
  }
475
475
  var ce = wt.ReactCurrentOwner, Te = wt.ReactDebugCurrentFrame;
476
- function Oe(et) {
476
+ function ze(et) {
477
477
  if (et) {
478
478
  var qt = et._owner, oe = Ti(et.type, et._source, qt ? qt.type : null);
479
479
  Te.setExtraStackFrame(oe);
@@ -530,8 +530,8 @@ Check the top-level render call using <` + oe + ">.");
530
530
  if (Nt[oe])
531
531
  return;
532
532
  Nt[oe] = !0;
533
- var Le = "";
534
- et && et._owner && et._owner !== ce.current && (Le = " It was passed a child from " + Ut(et._owner.type) + "."), Oe(et), lt('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', oe, Le), Oe(null);
533
+ var De = "";
534
+ et && et._owner && et._owner !== ce.current && (De = " It was passed a child from " + Ut(et._owner.type) + "."), ze(et), lt('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', oe, De), ze(null);
535
535
  }
536
536
  }
537
537
  function Kt(et, qt) {
@@ -540,8 +540,8 @@ Check the top-level render call using <` + oe + ">.");
540
540
  return;
541
541
  if (ie(et))
542
542
  for (var oe = 0; oe < et.length; oe++) {
543
- var Le = et[oe];
544
- rt(Le) && Ht(Le, qt);
543
+ var De = et[oe];
544
+ rt(De) && Ht(De, qt);
545
545
  }
546
546
  else if (rt(et))
547
547
  et._store && (et._store.validated = !0);
@@ -568,8 +568,8 @@ Check the top-level render call using <` + oe + ">.");
568
568
  else
569
569
  return;
570
570
  if (oe) {
571
- var Le = Ut(qt);
572
- It(oe, et.props, "prop", Le, et);
571
+ var De = Ut(qt);
572
+ It(oe, et.props, "prop", De, et);
573
573
  } else if (qt.PropTypes !== void 0 && !We) {
574
574
  We = !0;
575
575
  var bn = Ut(qt);
@@ -581,16 +581,16 @@ Check the top-level render call using <` + oe + ">.");
581
581
  function le(et) {
582
582
  {
583
583
  for (var qt = Object.keys(et.props), oe = 0; oe < qt.length; oe++) {
584
- var Le = qt[oe];
585
- if (Le !== "children" && Le !== "key") {
586
- Oe(et), lt("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Le), Oe(null);
584
+ var De = qt[oe];
585
+ if (De !== "children" && De !== "key") {
586
+ ze(et), lt("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", De), ze(null);
587
587
  break;
588
588
  }
589
589
  }
590
- et.ref !== null && (Oe(et), lt("Invalid attribute `ref` supplied to `React.Fragment`."), Oe(null));
590
+ et.ref !== null && (ze(et), lt("Invalid attribute `ref` supplied to `React.Fragment`."), ze(null));
591
591
  }
592
592
  }
593
- function Jt(et, qt, oe, Le, bn, _n) {
593
+ function Jt(et, qt, oe, De, bn, _n) {
594
594
  {
595
595
  var mn = jt(et);
596
596
  if (!mn) {
@@ -607,7 +607,7 @@ Check the top-level render call using <` + oe + ">.");
607
607
  if (mn) {
608
608
  var er = qt.children;
609
609
  if (er !== void 0)
610
- if (Le)
610
+ if (De)
611
611
  if (ie(er)) {
612
612
  for (var To = 0; To < er.length; To++)
613
613
  Kt(er[To], et);
@@ -620,14 +620,14 @@ Check the top-level render call using <` + oe + ">.");
620
620
  return et === g ? le(_i) : Yt(_i), _i;
621
621
  }
622
622
  }
623
- function Be(et, qt, oe) {
623
+ function Ne(et, qt, oe) {
624
624
  return Jt(et, qt, oe, !0);
625
625
  }
626
626
  function Dn(et, qt, oe) {
627
627
  return Jt(et, qt, oe, !1);
628
628
  }
629
- var Wt = Dn, Ne = Be;
630
- zc.Fragment = g, zc.jsx = Wt, zc.jsxs = Ne;
629
+ var Wt = Dn, Le = Ne;
630
+ zc.Fragment = g, zc.jsx = Wt, zc.jsxs = Le;
631
631
  }()), zc;
632
632
  }
633
633
  process.env.NODE_ENV === "production" ? Q_.exports = $D() : Q_.exports = GD();
@@ -1123,27 +1123,27 @@ var Bk = zk(function(d) {
1123
1123
  }, nt = function(_t, te, Se, ce) {
1124
1124
  var Te = ce;
1125
1125
  if (!_t) {
1126
- var Oe = ce.length;
1127
- Te = new Array(Oe);
1128
- for (var We = 0; We < Oe; ++We)
1126
+ var ze = ce.length;
1127
+ Te = new Array(ze);
1128
+ for (var We = 0; We < ze; ++We)
1129
1129
  Te[We] = ce[We];
1130
1130
  }
1131
1131
  return Te[te] = Se, Te;
1132
1132
  }, Tt = function(_t, te, Se) {
1133
- var ce = Se.length - 1, Te = 0, Oe = 0, We = Se;
1133
+ var ce = Se.length - 1, Te = 0, ze = 0, We = Se;
1134
1134
  if (_t)
1135
- Te = Oe = te;
1135
+ Te = ze = te;
1136
1136
  else
1137
1137
  for (We = new Array(ce); Te < te; )
1138
- We[Oe++] = Se[Te++];
1138
+ We[ze++] = Se[Te++];
1139
1139
  for (++Te; Te <= ce; )
1140
- We[Oe++] = Se[Te++];
1140
+ We[ze++] = Se[Te++];
1141
1141
  return _t && (We.length = ce), We;
1142
1142
  }, wt = function(_t, te, Se, ce) {
1143
1143
  var Te = ce.length;
1144
1144
  if (_t) {
1145
- for (var Oe = Te; Oe >= te; )
1146
- ce[Oe--] = ce[Oe];
1145
+ for (var ze = Te; ze >= te; )
1146
+ ce[ze--] = ce[ze];
1147
1147
  return ce[te] = Se, ce;
1148
1148
  }
1149
1149
  for (var We = 0, rt = 0, dt = new Array(Te + 1); We < te; )
@@ -1191,70 +1191,70 @@ var Bk = zk(function(d) {
1191
1191
  }, Pe = function(_t) {
1192
1192
  return _t === Ft || _t.type === lt || _t.type === xt;
1193
1193
  }, Ut = function(_t, te, Se, ce, Te) {
1194
- for (var Oe = [], We = ce, rt = 0, dt = 0; We; ++dt)
1195
- We & 1 && (Oe[dt] = Te[rt++]), We >>>= 1;
1196
- return Oe[te] = Se, he(_t, rt + 1, Oe);
1194
+ for (var ze = [], We = ce, rt = 0, dt = 0; We; ++dt)
1195
+ We & 1 && (ze[dt] = Te[rt++]), We >>>= 1;
1196
+ return ze[te] = Se, he(_t, rt + 1, ze);
1197
1197
  }, ve = function(_t, te, Se, ce) {
1198
- for (var Te = new Array(te - 1), Oe = 0, We = 0, rt = 0, dt = ce.length; rt < dt; ++rt)
1198
+ for (var Te = new Array(te - 1), ze = 0, We = 0, rt = 0, dt = ce.length; rt < dt; ++rt)
1199
1199
  if (rt !== Se) {
1200
1200
  var Mt = ce[rt];
1201
- Mt && !Gt(Mt) && (Te[Oe++] = Mt, We |= 1 << rt);
1201
+ Mt && !Gt(Mt) && (Te[ze++] = Mt, We |= 1 << rt);
1202
1202
  }
1203
1203
  return jt(_t, We, Te);
1204
- }, In = function Et(_t, te, Se, ce, Te, Oe) {
1204
+ }, In = function Et(_t, te, Se, ce, Te, ze) {
1205
1205
  if (Se === Te)
1206
- return Z(_t, Se, [Oe, ce]);
1206
+ return Z(_t, Se, [ze, ce]);
1207
1207
  var We = U(te, Se), rt = U(te, Te);
1208
- return jt(_t, W(We) | W(rt), We === rt ? [Et(_t, te + g, Se, ce, Te, Oe)] : We < rt ? [ce, Oe] : [Oe, ce]);
1209
- }, on = function(_t, te, Se, ce, Te, Oe, We, rt) {
1208
+ return jt(_t, W(We) | W(rt), We === rt ? [Et(_t, te + g, Se, ce, Te, ze)] : We < rt ? [ce, ze] : [ze, ce]);
1209
+ }, on = function(_t, te, Se, ce, Te, ze, We, rt) {
1210
1210
  for (var dt = Te.length, Mt = 0; Mt < dt; ++Mt) {
1211
1211
  var Nt = Te[Mt];
1212
1212
  if (Se(We, Nt.key)) {
1213
- var zt = Nt.value, Ht = Oe(zt);
1213
+ var zt = Nt.value, Ht = ze(zt);
1214
1214
  return Ht === zt ? Te : Ht === T ? (--rt.value, Tt(_t, Mt, Te)) : nt(_t, Mt, Qt(te, ce, We, Ht), Te);
1215
1215
  }
1216
1216
  }
1217
- var Kt = Oe();
1217
+ var Kt = ze();
1218
1218
  return Kt === T ? Te : (++rt.value, nt(_t, dt, Qt(te, ce, We, Kt), Te));
1219
- }, ze = function(_t, te) {
1219
+ }, Be = function(_t, te) {
1220
1220
  return _t === te.edit;
1221
- }, pn = function(_t, te, Se, ce, Te, Oe, We) {
1222
- if (te(Oe, this.key)) {
1221
+ }, pn = function(_t, te, Se, ce, Te, ze, We) {
1222
+ if (te(ze, this.key)) {
1223
1223
  var rt = ce(this.value);
1224
- return rt === this.value ? this : rt === T ? (--We.value, Ft) : ze(_t, this) ? (this.value = rt, this) : Qt(_t, Te, Oe, rt);
1224
+ return rt === this.value ? this : rt === T ? (--We.value, Ft) : Be(_t, this) ? (this.value = rt, this) : Qt(_t, Te, ze, rt);
1225
1225
  }
1226
1226
  var dt = ce();
1227
- return dt === T ? this : (++We.value, In(_t, Se, this.hash, this, Te, Qt(_t, Te, Oe, dt)));
1228
- }, Sn = function(_t, te, Se, ce, Te, Oe, We) {
1227
+ return dt === T ? this : (++We.value, In(_t, Se, this.hash, this, Te, Qt(_t, Te, ze, dt)));
1228
+ }, Sn = function(_t, te, Se, ce, Te, ze, We) {
1229
1229
  if (Te === this.hash) {
1230
- var rt = ze(_t, this), dt = on(rt, _t, te, this.hash, this.children, ce, Oe, We);
1230
+ var rt = Be(_t, this), dt = on(rt, _t, te, this.hash, this.children, ce, ze, We);
1231
1231
  return dt === this.children ? this : dt.length > 1 ? Z(_t, this.hash, dt) : dt[0];
1232
1232
  }
1233
1233
  var Mt = ce();
1234
- return Mt === T ? this : (++We.value, In(_t, Se, this.hash, this, Te, Qt(_t, Te, Oe, Mt)));
1235
- }, Rt = function(_t, te, Se, ce, Te, Oe, We) {
1236
- var rt = this.mask, dt = this.children, Mt = U(Se, Te), Nt = W(Mt), zt = tt(rt, Nt), Ht = rt & Nt, Kt = Ht ? dt[zt] : Ft, Yt = Kt._modify(_t, te, Se + g, ce, Te, Oe, We);
1234
+ return Mt === T ? this : (++We.value, In(_t, Se, this.hash, this, Te, Qt(_t, Te, ze, Mt)));
1235
+ }, Rt = function(_t, te, Se, ce, Te, ze, We) {
1236
+ var rt = this.mask, dt = this.children, Mt = U(Se, Te), Nt = W(Mt), zt = tt(rt, Nt), Ht = rt & Nt, Kt = Ht ? dt[zt] : Ft, Yt = Kt._modify(_t, te, Se + g, ce, Te, ze, We);
1237
1237
  if (Kt === Yt)
1238
1238
  return this;
1239
- var le = ze(_t, this), Jt = rt, Be = void 0;
1239
+ var le = Be(_t, this), Jt = rt, Ne = void 0;
1240
1240
  if (Ht && Gt(Yt)) {
1241
1241
  if (Jt &= ~Nt, !Jt)
1242
1242
  return Ft;
1243
1243
  if (dt.length <= 2 && Pe(dt[zt ^ 1]))
1244
1244
  return dt[zt ^ 1];
1245
- Be = Tt(le, zt, dt);
1245
+ Ne = Tt(le, zt, dt);
1246
1246
  } else if (!Ht && !Gt(Yt)) {
1247
1247
  if (dt.length >= E)
1248
1248
  return Ut(_t, Mt, Yt, rt, dt);
1249
- Jt |= Nt, Be = wt(le, zt, Yt, dt);
1249
+ Jt |= Nt, Ne = wt(le, zt, Yt, dt);
1250
1250
  } else
1251
- Be = nt(le, zt, Yt, dt);
1252
- return le ? (this.mask = Jt, this.children = Be, this) : jt(_t, Jt, Be);
1253
- }, yt = function(_t, te, Se, ce, Te, Oe, We) {
1254
- var rt = this.size, dt = this.children, Mt = U(Se, Te), Nt = dt[Mt], zt = (Nt || Ft)._modify(_t, te, Se + g, ce, Te, Oe, We);
1251
+ Ne = nt(le, zt, Yt, dt);
1252
+ return le ? (this.mask = Jt, this.children = Ne, this) : jt(_t, Jt, Ne);
1253
+ }, yt = function(_t, te, Se, ce, Te, ze, We) {
1254
+ var rt = this.size, dt = this.children, Mt = U(Se, Te), Nt = dt[Mt], zt = (Nt || Ft)._modify(_t, te, Se + g, ce, Te, ze, We);
1255
1255
  if (Nt === zt)
1256
1256
  return this;
1257
- var Ht = ze(_t, this), Kt = void 0;
1257
+ var Ht = Be(_t, this), Kt = void 0;
1258
1258
  if (Gt(Nt) && !Gt(zt))
1259
1259
  ++rt, Kt = nt(Ht, Mt, zt, dt);
1260
1260
  else if (!Gt(Nt) && Gt(zt)) {
@@ -1265,9 +1265,9 @@ var Bk = zk(function(d) {
1265
1265
  Kt = nt(Ht, Mt, zt, dt);
1266
1266
  return Ht ? (this.size = rt, this.children = Kt, this) : he(_t, rt, Kt);
1267
1267
  };
1268
- Ft._modify = function(Et, _t, te, Se, ce, Te, Oe) {
1268
+ Ft._modify = function(Et, _t, te, Se, ce, Te, ze) {
1269
1269
  var We = Se();
1270
- return We === T ? Ft : (++Oe.value, Qt(Et, ce, Te, We));
1270
+ return We === T ? Ft : (++ze.value, Qt(Et, ce, Te, We));
1271
1271
  };
1272
1272
  function gt(Et, _t, te, Se, ce) {
1273
1273
  this._editable = Et, this._edit = _t, this._config = te, this._root = Se, this._size = ce;
@@ -1276,15 +1276,15 @@ var Bk = zk(function(d) {
1276
1276
  return this._editable ? (this._root = Et, this._size = _t, this) : Et === this._root ? this : new gt(this._editable, this._edit, this._config, Et, _t);
1277
1277
  };
1278
1278
  var Pt = p.tryGetHash = function(Et, _t, te, Se) {
1279
- for (var ce = Se._root, Te = 0, Oe = Se._config.keyEq; ; )
1279
+ for (var ce = Se._root, Te = 0, ze = Se._config.keyEq; ; )
1280
1280
  switch (ce.type) {
1281
1281
  case lt:
1282
- return Oe(te, ce.key) ? ce.value : Et;
1282
+ return ze(te, ce.key) ? ce.value : Et;
1283
1283
  case xt: {
1284
1284
  if (_t === ce.hash)
1285
1285
  for (var We = ce.children, rt = 0, dt = We.length; rt < dt; ++rt) {
1286
1286
  var Mt = We[rt];
1287
- if (Oe(te, Mt.key))
1287
+ if (ze(te, Mt.key))
1288
1288
  return Mt.value;
1289
1289
  }
1290
1290
  return Et;
@@ -1416,9 +1416,9 @@ var Bk = zk(function(d) {
1416
1416
  return _t && Ot(_t[0], _t[1], _t[2], _t[3], _t[4]);
1417
1417
  }, Ot = function(_t, te, Se, ce, Te) {
1418
1418
  for (; Se < _t; ) {
1419
- var Oe = te[Se++];
1420
- if (Oe && !Gt(Oe))
1421
- return ie(Oe, ce, [_t, te, Se, ce, Te]);
1419
+ var ze = te[Se++];
1420
+ if (ze && !Gt(ze))
1421
+ return ie(ze, ce, [_t, te, Se, ce, Te]);
1422
1422
  }
1423
1423
  return It(Te);
1424
1424
  }, ie = function(_t, te, Se) {
@@ -1481,8 +1481,8 @@ var Bk = zk(function(d) {
1481
1481
  if (Se.type === lt)
1482
1482
  return Et(_t, Se.value, Se.key);
1483
1483
  for (var ce = [Se.children], Te = void 0; Te = ce.pop(); )
1484
- for (var Oe = 0, We = Te.length; Oe < We; ) {
1485
- var rt = Te[Oe++];
1484
+ for (var ze = 0, We = Te.length; ze < We; ) {
1485
+ var rt = Te[ze++];
1486
1486
  rt && rt.type && (rt.type === lt ? _t = Et(_t, rt.value, rt.key) : ce.push(rt.children));
1487
1487
  }
1488
1488
  return _t;
@@ -4204,7 +4204,7 @@ function X3(d) {
4204
4204
  throw Mn(`Problem with setting cache for selector "${p}": ${me.message}`);
4205
4205
  }
4206
4206
  }
4207
- function ze(gt) {
4207
+ function Be(gt) {
4208
4208
  if (Uc.includes(p)) {
4209
4209
  const Pt = `Recoil selector has circular dependencies: ${Uc.slice(Uc.indexOf(p)).join(" → ")}`;
4210
4210
  return Ld(Mn(Pt));
@@ -4224,7 +4224,7 @@ function X3(d) {
4224
4224
  });
4225
4225
  }
4226
4226
  function Sn(gt, Pt) {
4227
- return ze(() => Qt(gt, Pt));
4227
+ return Be(() => Qt(gt, Pt));
4228
4228
  }
4229
4229
  function Rt(gt) {
4230
4230
  gt.atomValues.delete(p);
@@ -4402,7 +4402,7 @@ function GN(d) {
4402
4402
  loadable: ve(Rt)
4403
4403
  } : gt;
4404
4404
  }, jt = sa, he = !0, Pe = !1, Ut = null;
4405
- const ze = (Rt) => (yt) => {
4405
+ const Be = (Rt) => (yt) => {
4406
4406
  if (he) {
4407
4407
  const gt = ve(wt), Pt = gt.state === "hasValue" ? gt.contents : sa;
4408
4408
  jt = typeof yt == "function" ? (
@@ -4430,7 +4430,7 @@ function GN(d) {
4430
4430
  }, Pt;
4431
4431
  } : jc(yt));
4432
4432
  }
4433
- }, pn = (Rt) => () => ze(Rt)(sa), Sn = (Rt) => (yt) => {
4433
+ }, pn = (Rt) => () => Be(Rt)(sa), Sn = (Rt) => (yt) => {
4434
4434
  var gt;
4435
4435
  const {
4436
4436
  release: Pt
@@ -4457,7 +4457,7 @@ function GN(d) {
4457
4457
  storeID: lt.storeID,
4458
4458
  parentStoreID_UNSTABLE: lt.parentStoreID,
4459
4459
  trigger: ft,
4460
- setSelf: ze(Rt),
4460
+ setSelf: Be(Rt),
4461
4461
  resetSelf: pn(Rt),
4462
4462
  onSet: Sn(Rt),
4463
4463
  getPromise: In,
@@ -5395,7 +5395,7 @@ const n8 = (d, h, ...p) => {
5395
5395
  if (w)
5396
5396
  return w[g];
5397
5397
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
5398
- return XF(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-7ad80dca.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-2fc701d3.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-8939d810.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-d4637373.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-b4b1682d.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-118bc6bc.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-1763e887.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-e4011c86.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-8720ecec.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-2f99920e.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-b8be44e6.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-ac4908f1.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-119de7b8.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-729757b2.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-99d100cf.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-ecb87c14.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-e90253a8.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-a4f755a9.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-afa8e914.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-94e0d269.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-7294b4cd.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-3a992323.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-44bc1e6b.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-6dc90010.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-25557914.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-31f0839e.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-aa8e062d.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-fb0dd58d.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-04ea343c.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-2cca01f3.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-64fef0e0.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-0fc3b164.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-34301207.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-68de54de.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-bbf9838f.mjs") }), `./${v}.entry.js`).then((E) => (HT.set(v, E), E[g]), ma);
5398
+ return XF(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-a8da1eb2.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-df1ce762.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-197de37c.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-5a9cf6bd.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-f257f857.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-3dec6a4e.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-d550f85a.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-2a3b1fe9.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-7385e704.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-299ac3d8.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-87cc3cda.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-2ad7e530.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-bb959a5b.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-d9e954d8.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-0fddb3bb.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-11ef0b20.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-568d65cb.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-708b6d23.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-0e26ae28.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-b42743e7.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-d1a8779f.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-9fe18478.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-c7d16491.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-33a20308.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-b62757d0.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-e4aa44b0.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-8738360a.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-d44c3783.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-db0a2f80.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-d24114cc.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-57e57f1c.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-afc5817f.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-d6ca36c0.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-dd5b6589.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-37c98677.mjs") }), `./${v}.entry.js`).then((E) => (HT.set(v, E), E[g]), ma);
5399
5399
  }, Yd = /* @__PURE__ */ new Map(), au = typeof window < "u" ? window : {}, yo = au.document || { head: {} }, Yi = {
5400
5400
  $flags$: 0,
5401
5401
  $resourcesUrl$: "",
@@ -5827,26 +5827,26 @@ class ef extends Mf {
5827
5827
  const Pe = (p.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && ot ? void 0 : U, Ut = Gt && jt !== U && this.options.updateMissing;
5828
5828
  if (ot || ft || Ut) {
5829
5829
  if (this.logger.log(Ut ? "updateKey" : "missingKey", D, T, E, Ut ? jt : U), w) {
5830
- const ze = this.resolve(E, {
5830
+ const Be = this.resolve(E, {
5831
5831
  ...p,
5832
5832
  keySeparator: !1
5833
5833
  });
5834
- ze && ze.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
5834
+ Be && Be.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
5835
5835
  }
5836
5836
  let ve = [];
5837
5837
  const In = this.languageUtils.getFallbackCodes(this.options.fallbackLng, p.lng || this.language);
5838
5838
  if (this.options.saveMissingTo === "fallback" && In && In[0])
5839
- for (let ze = 0; ze < In.length; ze++)
5840
- ve.push(In[ze]);
5839
+ for (let Be = 0; Be < In.length; Be++)
5840
+ ve.push(In[Be]);
5841
5841
  else
5842
5842
  this.options.saveMissingTo === "all" ? ve = this.languageUtils.toResolveHierarchy(p.lng || this.language) : ve.push(p.lng || this.language);
5843
- const on = (ze, pn, Sn) => {
5843
+ const on = (Be, pn, Sn) => {
5844
5844
  const Rt = Gt && Sn !== U ? Sn : Pe;
5845
- this.options.missingKeyHandler ? this.options.missingKeyHandler(ze, T, pn, Rt, Ut, p) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(ze, T, pn, Rt, Ut, p), this.emit("missingKey", ze, T, pn, U);
5845
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(Be, T, pn, Rt, Ut, p) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(Be, T, pn, Rt, Ut, p), this.emit("missingKey", Be, T, pn, U);
5846
5846
  };
5847
- this.options.saveMissing && (this.options.saveMissingPlurals && Ft ? ve.forEach((ze) => {
5848
- this.pluralResolver.getSuffixes(ze, p).forEach((pn) => {
5849
- on([ze], E + pn, p[`defaultValue${pn}`] || jt);
5847
+ this.options.saveMissing && (this.options.saveMissingPlurals && Ft ? ve.forEach((Be) => {
5848
+ this.pluralResolver.getSuffixes(Be, p).forEach((pn) => {
5849
+ on([Be], E + pn, p[`defaultValue${pn}`] || jt);
5850
5850
  });
5851
5851
  }) : on(ve, E, jt));
5852
5852
  }
@@ -7131,7 +7131,7 @@ function to(d) {
7131
7131
  function B() {
7132
7132
  return w.getFixedT(h.lng || null, E.nsMode === "fallback" ? D : D[0], T);
7133
7133
  }
7134
- const [U, W] = ke(B);
7134
+ const [U, W] = Oe(B);
7135
7135
  let tt = D.join();
7136
7136
  h.lng && (tt = `${h.lng}${tt}`);
7137
7137
  const nt = f7(tt), Tt = ri(!0);
@@ -7481,7 +7481,7 @@ const sr = {
7481
7481
  dangerouslyAllowMutability: !0
7482
7482
  // A MapsIndoors instance contains state. Needs mutability.
7483
7483
  }), v7 = (d) => {
7484
- const h = ue(Sr), p = ri(), [g, v] = ke([]);
7484
+ const h = ue(Sr), p = ri(), [g, v] = Oe([]);
7485
7485
  Me(() => {
7486
7486
  (async () => {
7487
7487
  if (h && d) {
@@ -7678,7 +7678,7 @@ const If = En({
7678
7678
  key: "pitch",
7679
7679
  default: 0
7680
7680
  }), TA = (d) => {
7681
- const [h, p] = ke(!1);
7681
+ const [h, p] = Oe(!1);
7682
7682
  return Me(() => {
7683
7683
  const g = window.matchMedia(d);
7684
7684
  g.matches !== h && p(g.matches);
@@ -7687,7 +7687,7 @@ const If = En({
7687
7687
  }, [h, d]), h;
7688
7688
  }, Zo = () => TA("(min-width: 992px)");
7689
7689
  function b7({ onMapView: d, onPositionControl: h }) {
7690
- const p = ue(If), g = ue(SA), [v, w] = ke(), [E, C] = ke(), [T, D] = ke(!1), [k, B] = ke(!1), [U, W] = ke(!1), tt = ue(Sr), nt = ue(wo), Tt = ue(lu), wt = ue(cu), lt = Zo();
7690
+ const p = ue(If), g = ue(SA), [v, w] = Oe(), [E, C] = Oe(), [T, D] = Oe(!1), [k, B] = Oe(!1), [U, W] = Oe(!1), tt = ue(Sr), nt = ue(wo), Tt = ue(lu), wt = ue(cu), lt = Zo();
7691
7691
  return Me(() => {
7692
7692
  new aa({
7693
7693
  apiKey: p,
@@ -7946,7 +7946,7 @@ var EA = { exports: {} };
7946
7946
  const t = e * e, n = t * e;
7947
7947
  return 4 * (e < 0.5 ? n : 3 * (e - t) + n - 0.75);
7948
7948
  }
7949
- function ze(e) {
7949
+ function Be(e) {
7950
7950
  let t = 1 / 0, n = 1 / 0, i = -1 / 0, r = -1 / 0;
7951
7951
  for (const o of e)
7952
7952
  t = Math.min(t, o.x), n = Math.min(n, o.y), i = Math.max(i, o.x), r = Math.max(r, o.y);
@@ -8127,9 +8127,9 @@ var EA = { exports: {} };
8127
8127
  });
8128
8128
  return i.length ? `${e.slice(0, t)}?${i.join("&")}` : e.slice(0, t);
8129
8129
  }
8130
- let Oe = 1 / 0;
8130
+ let ze = 1 / 0;
8131
8131
  function We(e) {
8132
- Oe++, Oe > Et && (e.getActor().send("enforceCacheSizeLimit", Di), Oe = 0);
8132
+ ze++, ze > Et && (e.getActor().send("enforceCacheSizeLimit", Di), ze = 0);
8133
8133
  }
8134
8134
  const rt = { Unknown: "Unknown", Style: "Style", Source: "Source", Tile: "Tile", Glyphs: "Glyphs", SpriteImage: "SpriteImage", SpriteJSON: "SpriteJSON", Image: "Image", Model: "Model" };
8135
8135
  typeof Object.freeze == "function" && Object.freeze(rt);
@@ -8250,7 +8250,7 @@ var EA = { exports: {} };
8250
8250
  const Yt = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";
8251
8251
  let le, Jt;
8252
8252
  le = [], Jt = 0;
8253
- const Be = function(e, t) {
8253
+ const Ne = function(e, t) {
8254
8254
  if (U.supported && (e.headers || (e.headers = {}), e.headers.accept = "image/webp,*/*"), Jt >= B.MAX_PARALLEL_IMAGE_REQUESTS) {
8255
8255
  const o = { requestParameters: e, callback: t, cancelled: !1, cancel() {
8256
8256
  this.cancelled = !0;
@@ -8263,7 +8263,7 @@ var EA = { exports: {} };
8263
8263
  if (!n)
8264
8264
  for (n = !0, Jt--; le.length && Jt < B.MAX_PARALLEL_IMAGE_REQUESTS; ) {
8265
8265
  const o = le.shift(), { requestParameters: s, callback: a, cancelled: l } = o;
8266
- l || (o.cancel = Be(s, a).cancel);
8266
+ l || (o.cancel = Ne(s, a).cancel);
8267
8267
  }
8268
8268
  }, r = Ht(e, (o, s, a, l) => {
8269
8269
  i(), o ? t(o) : s && (T.createImageBitmap ? function(c, u) {
@@ -8308,35 +8308,35 @@ var EA = { exports: {} };
8308
8308
  return this._transformRequestFn && this._transformRequestFn(t, n) || { url: t };
8309
8309
  }
8310
8310
  normalizeStyleURL(t, n) {
8311
- if (!Ne(t))
8311
+ if (!Le(t))
8312
8312
  return t;
8313
8313
  const i = _n(t);
8314
8314
  return i.params.push(`sdk=js-${D}`), i.path = `/styles/v1${i.path}`, this._makeAPIURL(i, this._customAccessToken || n);
8315
8315
  }
8316
8316
  normalizeGlyphsURL(t, n) {
8317
- if (!Ne(t))
8317
+ if (!Le(t))
8318
8318
  return t;
8319
8319
  const i = _n(t);
8320
8320
  return i.path = `/fonts/v1${i.path}`, this._makeAPIURL(i, this._customAccessToken || n);
8321
8321
  }
8322
8322
  normalizeModelURL(t, n) {
8323
- if (!Ne(t))
8323
+ if (!Le(t))
8324
8324
  return t;
8325
8325
  const i = _n(t);
8326
8326
  return i.path = `/models/v1${i.path}`, this._makeAPIURL(i, this._customAccessToken || n);
8327
8327
  }
8328
8328
  normalizeSourceURL(t, n, i, r) {
8329
- if (!Ne(t))
8329
+ if (!Le(t))
8330
8330
  return t;
8331
8331
  const o = _n(t);
8332
8332
  return o.path = `/v4/${o.authority}.json`, o.params.push("secure"), i && o.params.push(`language=${i}`), r && o.params.push(`worldview=${r}`), this._makeAPIURL(o, this._customAccessToken || n);
8333
8333
  }
8334
8334
  normalizeSpriteURL(t, n, i, r) {
8335
8335
  const o = _n(t);
8336
- return Ne(t) ? (o.path = `/styles/v1${o.path}/sprite${n}${i}`, this._makeAPIURL(o, this._customAccessToken || r)) : (o.path += `${n}${i}`, mn(o));
8336
+ return Le(t) ? (o.path = `/styles/v1${o.path}/sprite${n}${i}`, this._makeAPIURL(o, this._customAccessToken || r)) : (o.path += `${n}${i}`, mn(o));
8337
8337
  }
8338
8338
  normalizeTileURL(t, n, i) {
8339
- if (this._isSkuTokenExpired() && this._createSkuToken(), t && !Ne(t))
8339
+ if (this._isSkuTokenExpired() && this._createSkuToken(), t && !Le(t))
8340
8340
  return t;
8341
8341
  const r = _n(t);
8342
8342
  r.path = r.path.replace(/(\.(png|jpg)\d*)(?=$)/, `${n || i && r.authority !== "raster" && i === 512 ? "@2x" : ""}${U.supported ? ".webp" : "$1"}`), r.authority === "raster" ? r.path = `/${B.RASTER_URL_PREFIX}${r.path}` : (r.path = r.path.replace(/^.+\/v4\//, "/"), r.path = `/${B.TILE_URL_VERSION}${r.path}`);
@@ -8360,7 +8360,7 @@ var EA = { exports: {} };
8360
8360
  return n && (o = o.filter((s) => !s.match(/^access_token=/))), o.length && (r += `?${o.join("&")}`), r;
8361
8361
  }
8362
8362
  canonicalizeTileset(t, n) {
8363
- const i = !!n && Ne(n), r = [];
8363
+ const i = !!n && Le(n), r = [];
8364
8364
  for (const o of t.tiles || [])
8365
8365
  et(o) ? r.push(this.canonicalizeTileURL(o, i)) : r.push(o);
8366
8366
  return r;
@@ -8382,7 +8382,7 @@ var EA = { exports: {} };
8382
8382
  return t.params = t.params.filter((o) => o.indexOf("access_token") === -1), t.params.push(`access_token=${n || ""}`), mn(t);
8383
8383
  }
8384
8384
  }
8385
- function Ne(e) {
8385
+ function Le(e) {
8386
8386
  return e.indexOf("mapbox:") === 0;
8387
8387
  }
8388
8388
  function et(e) {
@@ -8392,9 +8392,9 @@ var EA = { exports: {} };
8392
8392
  return B.API_CDN_URL_REGEX.test(e);
8393
8393
  }
8394
8394
  function oe(e) {
8395
- return B.API_STYLE_REGEX.test(e) && !Le(e);
8395
+ return B.API_STYLE_REGEX.test(e) && !De(e);
8396
8396
  }
8397
- function Le(e) {
8397
+ function De(e) {
8398
8398
  return B.API_SPRITE_REGEX.test(e);
8399
8399
  }
8400
8400
  const bn = /^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;
@@ -8474,7 +8474,7 @@ var EA = { exports: {} };
8474
8474
  super("appUserTurnstile"), this._customAccessToken = e;
8475
8475
  }
8476
8476
  postTurnstileEvent(e, t) {
8477
- B.EVENTS_URL && B.ACCESS_TOKEN && Array.isArray(e) && e.some((n) => Ne(n) || et(n)) && this.queueRequest(Date.now(), t);
8477
+ B.EVENTS_URL && B.ACCESS_TOKEN && Array.isArray(e) && e.some((n) => Le(n) || et(n)) && this.queueRequest(Date.now(), t);
8478
8478
  }
8479
8479
  processRequests(e) {
8480
8480
  if (this.pendingRequest || this.queue.length === 0)
@@ -8613,7 +8613,7 @@ var EA = { exports: {} };
8613
8613
  const t = e.name.split("?")[0];
8614
8614
  return qt(t) && t.includes("mapbox-gl.js") ? "javascript" : qt(t) && t.includes("mapbox-gl.css") ? "css" : function(n) {
8615
8615
  return B.API_FONTS_REGEX.test(n);
8616
- }(t) ? "fontRange" : Le(t) ? "sprite" : oe(t) ? "style" : function(n) {
8616
+ }(t) ? "fontRange" : De(t) ? "sprite" : oe(t) ? "style" : function(n) {
8617
8617
  return B.API_TILEJSON_REGEX.test(n);
8618
8618
  }(t) ? "tilejson" : "other";
8619
8619
  }
@@ -18104,8 +18104,8 @@ Use an identity property function instead: ${_}.`)];
18104
18104
  continue;
18105
18105
  }
18106
18106
  let wn = 0, hn = 0;
18107
- for (let De = 0; De < ee.length(); De++) {
18108
- const Ee = ee.getSection(De), fn = ee.getSectionIndex(De), vn = ee.getCodePoint(De);
18107
+ for (let ke = 0; ke < ee.length(); ke++) {
18108
+ const Ee = ee.getSection(ke), fn = ee.getSectionIndex(ke), vn = ee.getCodePoint(ke);
18109
18109
  let en = Ee.scale, Zn = null, xi = null, Gn = null, ti = $i, Ei = 0;
18110
18110
  const bi = !(F === si.horizontal || !Q && !Kp(vn) || Q && (Ph[vn] || (At = vn, xe.Arabic(At) || xe["Arabic Supplement"](At) || xe["Arabic Extended-A"](At) || xe["Arabic Presentation Forms-A"](At) || xe["Arabic Presentation Forms-B"](At))));
18111
18111
  if (Ee.imageName) {
@@ -18145,8 +18145,8 @@ Use an identity property function instead: ${_}.`)];
18145
18145
  (function(ee, ne, ae, fe, Ue, be) {
18146
18146
  const wn = (ne - ae) * Ue, hn = -be * fe;
18147
18147
  for (const je of ee)
18148
- for (const De of je.positionedGlyphs)
18149
- De.x += wn, De.y += hn;
18148
+ for (const ke of je.positionedGlyphs)
18149
+ ke.x += wn, ke.y += hn;
18150
18150
  })(P.positionedLines, mt, vt, Dt, ut, Ct), P.top += -Dt * Ct, P.bottom = P.top + Ct, P.left += -vt * ut, P.right = P.left + ut, P.hasBaseline = pt;
18151
18151
  }(M, t, n, i, b, s, a, l, f, c, m, y), !function(P) {
18152
18152
  for (const L of P)
@@ -18558,8 +18558,8 @@ Use an identity property function instead: ${_}.`)];
18558
18558
  const N = (j, $, X, F) => {
18559
18559
  const K = kh(j.stretch - A, I, c, e.left), Q = Oh(j.fixed - P, L, j.stretch, y), it = kh($.stretch - R, M, u, e.top), Y = Oh($.fixed - O, z, $.stretch, x), J = kh(X.stretch - A, I, c, e.left), ut = Oh(X.fixed - P, L, X.stretch, y), mt = kh(F.stretch - R, M, u, e.top), pt = Oh(F.fixed - O, z, F.stretch, x), St = new Z(K, it), At = new Z(J, it), Ct = new Z(J, mt), vt = new Z(K, mt), Dt = new Z(Q / s, Y / s), ee = new Z(ut / s, pt / s), ne = t * Math.PI / 180;
18560
18560
  if (ne) {
18561
- const hn = Math.sin(ne), je = Math.cos(ne), De = [je, -hn, hn, je];
18562
- St._matMult(De), At._matMult(De), vt._matMult(De), Ct._matMult(De);
18561
+ const hn = Math.sin(ne), je = Math.cos(ne), ke = [je, -hn, hn, je];
18562
+ St._matMult(ke), At._matMult(ke), vt._matMult(ke), Ct._matMult(ke);
18563
18563
  }
18564
18564
  const ae = j.stretch + j.fixed, fe = X.stretch + X.fixed, Ue = $.stretch + $.fixed, be = F.stretch + F.fixed, wn = e.imageSecondary;
18565
18565
  return { tl: St, tr: At, bl: vt, br: Ct, texPrimary: { x: o.paddedRect.x + fs + ae, y: o.paddedRect.y + fs + Ue, w: fe - ae, h: be - Ue }, texSecondary: wn ? { x: wn.paddedRect.x + fs + ae, y: wn.paddedRect.y + fs + Ue, w: fe - ae, h: be - Ue } : void 0, writingMode: void 0, glyphOffset: [0, 0], sectionIndex: 0, pixelOffsetTL: Dt, pixelOffsetBR: ee, minFontScaleX: L / s / c, minFontScaleY: z / s / u, isSDF: n };
@@ -18802,7 +18802,7 @@ Use an identity property function instead: ${_}.`)];
18802
18802
  const { x: Ct, y: vt, z: Dt } = m.projectTilePoint(pt.x, pt.y, St);
18803
18803
  At = { anchor: new jo(Ct, vt, Dt, 0, void 0), up: m.upVector(St, pt.x, pt.y) };
18804
18804
  }
18805
- (function(Ct, vt, Dt, ee, ne, ae, fe, Ue, be, wn, hn, je, De, Ee, fn, vn, en, Zn, xi, Gn, ti, Ei, bi, ii, Fn, qi, mo) {
18805
+ (function(Ct, vt, Dt, ee, ne, ae, fe, Ue, be, wn, hn, je, ke, Ee, fn, vn, en, Zn, xi, Gn, ti, Ei, bi, ii, Fn, qi, mo) {
18806
18806
  const Vo = Ct.addToLineVertexArray(vt, ee);
18807
18807
  let $o, Dc, kc, Rd, sT, aT, lT, cT = 0, uT = 0, hT = 0, dT = 0, w_ = -1, S_ = -1;
18808
18808
  const go = {};
@@ -18815,19 +18815,19 @@ Use an identity property function instead: ${_}.`)];
18815
18815
  aT = Sg(yr), Ue && (lT = Sg(Ue));
18816
18816
  else {
18817
18817
  const vr = be.layout.get("text-rotate").evaluate(ti, {}, Fn) + 90;
18818
- kc = zh(wn, ea, vt, hn, je, De, yr, Ee, vr, vn), Ue && (Rd = zh(wn, ea, vt, hn, je, De, Ue, Zn, vr));
18818
+ kc = zh(wn, ea, vt, hn, je, ke, yr, Ee, vr, vn), Ue && (Rd = zh(wn, ea, vt, hn, je, ke, Ue, Zn, vr));
18819
18819
  }
18820
18820
  }
18821
18821
  if (ae) {
18822
18822
  const yr = be.layout.get("icon-rotate").evaluate(ti, {}, Fn), vr = Kb(ae, yr, bi, T_), ol = Ue ? Kb(Ue, yr, bi, T_) : void 0;
18823
- Dc = zh(wn, ea, vt, hn, je, De, ae, Zn, yr), cT = 4 * vr.length;
18823
+ Dc = zh(wn, ea, vt, hn, je, ke, ae, Zn, yr), cT = 4 * vr.length;
18824
18824
  const pT = Ct.iconSizeData;
18825
18825
  let na = null;
18826
18826
  pT.kind === "source" ? (na = [Hr * be.layout.get("icon-size").evaluate(ti, {}, Fn)], na[0] > ps && G(`${Ct.layerIds[0]}: Value for "icon-size" is >= ${dc}. Reduce your "icon-size".`)) : pT.kind === "composite" && (na = [Hr * Ei.compositeIconSizes[0].evaluate(ti, {}, Fn), Hr * Ei.compositeIconSizes[1].evaluate(ti, {}, Fn)], (na[0] > ps || na[1] > ps) && G(`${Ct.layerIds[0]}: Value for "icon-size" is >= ${dc}. Reduce your "icon-size".`)), Ct.addSymbols(Ct.icon, vr, na, Gn, xi, ti, !1, Dt, vt, Vo.lineStartIndex, Vo.lineLength, -1, ii, Fn, qi, mo), w_ = Ct.icon.placedSymbolArray.length - 1, ol && (uT = 4 * ol.length, Ct.addSymbols(Ct.icon, ol, na, Gn, xi, ti, si.vertical, Dt, vt, Vo.lineStartIndex, Vo.lineLength, -1, ii, Fn, qi, mo), S_ = Ct.icon.placedSymbolArray.length - 1);
18827
18827
  }
18828
18828
  for (const yr in ne.horizontal) {
18829
18829
  const vr = ne.horizontal[yr];
18830
- $o || (fT = bm(vr.text), fn ? sT = Sg(vr) : $o = zh(wn, ea, vt, hn, je, De, vr, Ee, be.layout.get("text-rotate").evaluate(ti, {}, Fn), vn));
18830
+ $o || (fT = bm(vr.text), fn ? sT = Sg(vr) : $o = zh(wn, ea, vt, hn, je, ke, vr, Ee, be.layout.get("text-rotate").evaluate(ti, {}, Fn), vn));
18831
18831
  const ol = vr.positionedLines.length === 1;
18832
18832
  if (hT += Qb(Ct, Dt, vt, vr, fe, be, fn, ti, vn, Vo, ne.vertical ? si.horizontal : si.horizontalOnly, ol ? Object.keys(ne.horizontal) : [yr], go, w_, Ei, ii, Fn, qi), ol)
18833
18833
  break;
@@ -18905,15 +18905,15 @@ Use an identity property function instead: ${_}.`)];
18905
18905
  const Ue = z ? [pt.x + ne, pt.y] : [0, 0];
18906
18906
  let be = [0, 0], wn = [0, 0], hn = !1;
18907
18907
  z || (ee ? (wn = [pt.x + ne + K[0], pt.y + K[1] - Dt], hn = !0) : be = [pt.x + ne + L[0], pt.y + L[1] - Dt]);
18908
- const je = fe.w * pt.scale / (vt * (pt.localGlyph ? Wr : 1)), De = fe.h * pt.scale / (vt * (pt.localGlyph ? Wr : 1));
18908
+ const je = fe.w * pt.scale / (vt * (pt.localGlyph ? Wr : 1)), ke = fe.h * pt.scale / (vt * (pt.localGlyph ? Wr : 1));
18909
18909
  let Ee, fn, vn, en;
18910
18910
  if (ee) {
18911
18911
  const Gn = pt.y - J, ti = new Z(-ne, ne - Gn), Ei = -Math.PI / 2, bi = new Z(...wn);
18912
18912
  Ee = new Z(-ne + be[0], be[1]), Ee._rotateAround(Ei, ti)._add(bi), Ee.x += -Gn + ne, Ee.y -= (ae.left - At) * pt.scale;
18913
18913
  const ii = pt.imageName ? ae.advance * pt.scale : $i * pt.scale, Fn = String.fromCodePoint(pt.glyph);
18914
- UR(Fn) ? Ee.x += (1 - At) * pt.scale : jR(Fn) ? Ee.x += ii - ae.height * pt.scale + (-At - 1) * pt.scale : Ee.x += pt.imageName || ae.width + 2 * At === fe.w && ae.height + 2 * At === fe.h ? (ii - De) / 2 : (ii - (ae.height + 2 * At) * pt.scale) / 2, fn = new Z(Ee.x, Ee.y - je), vn = new Z(Ee.x + De, Ee.y), en = new Z(Ee.x + De, Ee.y - je);
18914
+ UR(Fn) ? Ee.x += (1 - At) * pt.scale : jR(Fn) ? Ee.x += ii - ae.height * pt.scale + (-At - 1) * pt.scale : Ee.x += pt.imageName || ae.width + 2 * At === fe.w && ae.height + 2 * At === fe.h ? (ii - ke) / 2 : (ii - (ae.height + 2 * At) * pt.scale) / 2, fn = new Z(Ee.x, Ee.y - je), vn = new Z(Ee.x + ke, Ee.y), en = new Z(Ee.x + ke, Ee.y - je);
18915
18915
  } else {
18916
- const Gn = (ae.left - At) * pt.scale - ne + be[0], ti = (-ae.top - At) * pt.scale + be[1], Ei = Gn + je, bi = ti + De;
18916
+ const Gn = (ae.left - At) * pt.scale - ne + be[0], ti = (-ae.top - At) * pt.scale + be[1], Ei = Gn + je, bi = ti + ke;
18917
18917
  Ee = new Z(Gn, ti), fn = new Z(Ei, ti), vn = new Z(Gn, bi), en = new Z(Ei, bi);
18918
18918
  }
18919
18919
  if (F) {
@@ -23480,22 +23480,22 @@ Use an identity property function instead: ${_}.`)];
23480
23480
  pt = ee.sub(Dt)._perp()._unit();
23481
23481
  let je = t2(vt, Dt, ee, Qw(mt, pt), M);
23482
23482
  isNaN(je) && (je = 0);
23483
- const De = Dt.sub(vt)._unit();
23484
- vt = vt.add(De.mult(Y))._round(), Dt = Dt.add(De.mult(-je))._round(), Y = je, mt = pt, b && this.zoom >= 17 && (L(J, vt) || J.push(vt), L(J, Dt) || J.push(Dt));
23483
+ const ke = Dt.sub(vt)._unit();
23484
+ vt = vt.add(ke.mult(Y))._round(), Dt = Dt.add(ke.mult(-je))._round(), Y = je, mt = pt, b && this.zoom >= 17 && (L(J, vt) || J.push(vt), L(J, Dt) || J.push(Dt));
23485
23485
  }
23486
23486
  const be = $.vertexLength, wn = Q.length > 4 && n2(vt, Dt, ee);
23487
23487
  let hn = i2(Ct, it, St);
23488
23488
  if (Sc(this.layoutVertexArray, vt.x, vt.y, ae, fe, 0, 0, hn), Sc(this.layoutVertexArray, vt.x, vt.y, ae, fe, 0, 1, hn), Ct += Ue, hn = i2(Ct, wn, !St), it = wn, Sc(this.layoutVertexArray, Dt.x, Dt.y, ae, fe, 0, 0, hn), Sc(this.layoutVertexArray, Dt.x, Dt.y, ae, fe, 0, 1, hn), $.vertexLength += 4, this.indexArray.emplaceBack(be + 0, be + 1, be + 2), this.indexArray.emplaceBack(be + 1, be + 3, be + 2), $.primitiveLength += 2, M) {
23489
- const je = N + (At === 1 ? Q.length - 2 : At - 2), De = At === 1 ? N : je + 1;
23490
- if (this.indexArray.emplaceBack(be + 1, je, be + 3), this.indexArray.emplaceBack(je, De, be + 3), $.primitiveLength += 2, ut === void 0 && (ut = be), !Ng(ee, Q[At], z)) {
23489
+ const je = N + (At === 1 ? Q.length - 2 : At - 2), ke = At === 1 ? N : je + 1;
23490
+ if (this.indexArray.emplaceBack(be + 1, je, be + 3), this.indexArray.emplaceBack(je, ke, be + 3), $.primitiveLength += 2, ut === void 0 && (ut = be), !Ng(ee, Q[At], z)) {
23491
23491
  const Ee = At === Q.length - 1 ? ut : $.vertexLength;
23492
- this.indexArray.emplaceBack(be + 2, be + 3, Ee), this.indexArray.emplaceBack(be + 3, Ee + 1, Ee), this.indexArray.emplaceBack(be + 3, De, Ee + 1), $.primitiveLength += 3;
23492
+ this.indexArray.emplaceBack(be + 2, be + 3, Ee), this.indexArray.emplaceBack(be + 3, Ee + 1, Ee), this.indexArray.emplaceBack(be + 3, ke, Ee + 1), $.primitiveLength += 3;
23493
23493
  }
23494
23494
  St = !St;
23495
23495
  }
23496
23496
  if (m) {
23497
- const je = this.layoutVertexExtArray, De = f.projectTilePoint(vt.x, vt.y, r), Ee = f.projectTilePoint(Dt.x, Dt.y, r), fn = f.upVector(r, vt.x, vt.y), vn = f.upVector(r, Dt.x, Dt.y);
23498
- Tc(je, De, fn), Tc(je, De, fn), Tc(je, Ee, vn), Tc(je, Ee, vn);
23497
+ const je = this.layoutVertexExtArray, ke = f.projectTilePoint(vt.x, vt.y, r), Ee = f.projectTilePoint(Dt.x, Dt.y, r), fn = f.upVector(r, vt.x, vt.y), vn = f.upVector(r, Dt.x, Dt.y);
23498
+ Tc(je, ke, fn), Tc(je, ke, fn), Tc(je, Ee, vn), Tc(je, Ee, vn);
23499
23499
  }
23500
23500
  }
23501
23501
  _ && (N += Q.length - 1), b && M && this.zoom >= 17 && (J.length !== 0 && L(J, J[0]) && J.pop(), this.groundEffect.addData(J, z, c, M > 0));
@@ -23841,7 +23841,7 @@ Use an identity property function instead: ${_}.`)];
23841
23841
  load(t, n) {
23842
23842
  if (this._loaded = n || !1, this.fire(new Xt("dataloading", { dataType: "source" })), this.url = this.options.url, !this.url)
23843
23843
  return t && (this.coordinates = t), this._loaded = !0, void this._finishLoading();
23844
- this._imageRequest = Be(this.map._requestManager.transformRequest(this.url, rt.Image), (i, r) => {
23844
+ this._imageRequest = Ne(this.map._requestManager.transformRequest(this.url, rt.Image), (i, r) => {
23845
23845
  if (this._imageRequest = null, this._loaded = !0, i)
23846
23846
  this.fire(new Ge(i));
23847
23847
  else if (r) {
@@ -24105,10 +24105,10 @@ Use an identity property function instead: ${_}.`)];
24105
24105
  for (const be of Q) {
24106
24106
  const wn = [], hn = [];
24107
24107
  for (const je of be) {
24108
- const De = je.x + J.x, Ee = je.y + J.y, fn = K.projection.projectTilePoint(De, Ee, Ct), vn = K.projection.upVector(Ct, je.x, je.y);
24108
+ const ke = je.x + J.x, Ee = je.y + J.y, fn = K.projection.projectTilePoint(ke, Ee, Ct), vn = K.projection.upVector(Ct, je.x, je.y);
24109
24109
  let en = it, Zn = Y;
24110
24110
  if (mt) {
24111
- const xi = a2(De, Ee, it, Y, mt, pt, St, At);
24111
+ const xi = a2(ke, Ee, it, Y, mt, pt, St, At);
24112
24112
  en += xi.base, Zn += xi.top;
24113
24113
  }
24114
24114
  it !== 0 ? fe(ne, fn.x + vn[0] * ee * en, fn.y + vn[1] * ee * en, fn.z + vn[2] * ee * en) : fe(ne, fn.x, fn.y, fn.z), fe(ae, fn.x + vn[0] * ee * Zn, fn.y + vn[1] * ee * Zn, fn.z + vn[2] * ee * Zn), H.transformMat4(ne, ne, ut), H.transformMat4(ae, ae, ut), wn.push(new Qa(ne[0], ne[1], ne[2])), hn.push(new Qa(ae[0], ae[1], ae[2]));
@@ -24136,7 +24136,7 @@ Use an identity property function instead: ${_}.`)];
24136
24136
  for (const ae of K) {
24137
24137
  const fe = [], Ue = [];
24138
24138
  for (const be of ae) {
24139
- const wn = be.x + Y.x, hn = be.y + Y.y, je = J[0] * wn + J[4] * hn + J[12], De = J[1] * wn + J[5] * hn + J[13], Ee = J[2] * wn + J[6] * hn + J[14], fn = J[3] * wn + J[7] * hn + J[15], vn = je + pt, en = De + St, Zn = Ee + At, xi = Math.max(fn + Ct, 1e-5), Gn = je + vt, ti = De + Dt, Ei = Ee + ee, bi = Math.max(fn + ne, 1e-5);
24139
+ const wn = be.x + Y.x, hn = be.y + Y.y, je = J[0] * wn + J[4] * hn + J[12], ke = J[1] * wn + J[5] * hn + J[13], Ee = J[2] * wn + J[6] * hn + J[14], fn = J[3] * wn + J[7] * hn + J[15], vn = je + pt, en = ke + St, Zn = Ee + At, xi = Math.max(fn + Ct, 1e-5), Gn = je + vt, ti = ke + Dt, Ei = Ee + ee, bi = Math.max(fn + ne, 1e-5);
24140
24140
  fe.push(new Qa(vn / xi, en / xi, Zn / xi)), Ue.push(new Qa(Gn / bi, ti / bi, Ei / bi));
24141
24141
  }
24142
24142
  ut.push(fe), mt.push(Ue);
@@ -24886,7 +24886,7 @@ Use an identity property function instead: ${_}.`)];
24886
24886
  const S = H.sub(b, b, m);
24887
24887
  return H.normalize(S, S), new lh(m, S);
24888
24888
  }), y = Ws(t, 1, n.zoom) * n._pixelsPerMercatorPixel;
24889
- return { queryGeometry: this, tilespaceGeometry: u, tilespaceRays: _, bufferedTilespaceGeometry: l, bufferedTilespaceBounds: (x = ze(l), x.min.x = yt(x.min.x, 0, bt), x.min.y = yt(x.min.y, 0, bt), x.max.x = yt(x.max.x, 0, bt), x.max.y = yt(x.max.y, 0, bt), x), tile: t, tileID: t.tileID, pixelToTileUnitsFactor: y };
24889
+ return { queryGeometry: this, tilespaceGeometry: u, tilespaceRays: _, bufferedTilespaceGeometry: l, bufferedTilespaceBounds: (x = Be(l), x.min.x = yt(x.min.x, 0, bt), x.min.y = yt(x.min.y, 0, bt), x.max.x = yt(x.max.x, 0, bt), x.max.y = yt(x.max.y, 0, bt), x), tile: t, tileID: t.tileID, pixelToTileUnitsFactor: y };
24890
24890
  var x;
24891
24891
  }
24892
24892
  _bufferedScreenMercator(t, n) {
@@ -25313,7 +25313,7 @@ Use an identity property function instead: ${_}.`)];
25313
25313
  }
25314
25314
  loadTile(t, n) {
25315
25315
  const i = He.devicePixelRatio >= 2, r = this.map._requestManager.normalizeTileURL(t.tileID.canonical.url(this.tiles, this.scheme), i, this.tileSize);
25316
- t.request = Be(this.map._requestManager.transformRequest(r, rt.Tile), (o, s, a, l) => (delete t.request, t.aborted ? (t.state = "unloaded", n(null)) : o ? (t.state = "errored", n(o)) : s ? (this.map._refreshExpiredTiles && t.setExpiryData({ cacheControl: a, expires: l }), t.setTexture(s, this.map.painter), t.state = "loaded", We(this.dispatcher), void n(null)) : n(null)));
25316
+ t.request = Ne(this.map._requestManager.transformRequest(r, rt.Tile), (o, s, a, l) => (delete t.request, t.aborted ? (t.state = "unloaded", n(null)) : o ? (t.state = "errored", n(o)) : s ? (this.map._refreshExpiredTiles && t.setExpiryData({ cacheControl: a, expires: l }), t.setTexture(s, this.map.painter), t.state = "loaded", We(this.dispatcher), void n(null)) : n(null)));
25317
25317
  }
25318
25318
  abortTile(t, n) {
25319
25319
  t.request && (t.request.cancel(), delete t.request), n();
@@ -25816,7 +25816,7 @@ Use an identity property function instead: ${_}.`)];
25816
25816
  function i(r, o) {
25817
25817
  r && (e.state = "errored", t(r)), o && (e.dem = o, e.dem.onDeserialize(), e.needsHillshadePrepare = !0, e.needsDEMTextureUpload = !0, e.state = "loaded", t(null));
25818
25818
  }
25819
- e.request = Be(this.map._requestManager.transformRequest(n, rt.Tile), function(r, o, s, a) {
25819
+ e.request = Ne(this.map._requestManager.transformRequest(n, rt.Tile), function(r, o, s, a) {
25820
25820
  if (delete e.request, e.aborted)
25821
25821
  e.state = "unloaded", t(null);
25822
25822
  else if (r)
@@ -26523,8 +26523,8 @@ Use an identity property function instead: ${_}.`)];
26523
26523
  for (let ne = 0; ne < ee; ne++) {
26524
26524
  const ae = ne / Math.max(ee - 1, 1), fe = ut.lerp(ae), Ue = fe.x + fo, be = fe.y + fo;
26525
26525
  b.push(Ue, be, it, 0);
26526
- const wn = Ue - it, hn = be - it, je = Ue + it, De = be + it;
26527
- if (Q = Q && this.isOffscreen(wn, hn, je, De), K = K || this.isInsideGrid(wn, hn, je, De), !n && this.grid.hitTestCircle(Ue, be, it, m) && (F = !0, !u))
26526
+ const wn = Ue - it, hn = be - it, je = Ue + it, ke = be + it;
26527
+ if (Q = Q && this.isOffscreen(wn, hn, je, ke), K = K || this.isInsideGrid(wn, hn, je, ke), !n && this.grid.hitTestCircle(Ue, be, it, m) && (F = !0, !u))
26528
26528
  return { circles: [], offscreen: !1, collisionDetected: F, occluded: !1 };
26529
26529
  }
26530
26530
  }
@@ -26694,12 +26694,12 @@ Use an identity property function instead: ${_}.`)];
26694
26694
  const { crossTileID: K, numVerticalGlyphVertices: Q } = $;
26695
26695
  if (u) {
26696
26696
  const je = { zoom: this.transform.zoom, pitch: this.transform.pitch };
26697
- let De = null;
26697
+ let ke = null;
26698
26698
  if (u.dynamicFilterNeedsFeature) {
26699
26699
  const Ee = this.retainedQueryData[o.bucketInstanceId];
26700
- De = u.featureIndex.loadFeature({ featureIndex: $.featureIndex, bucketIndex: Ee.bucketIndex, sourceLayerIndex: Ee.sourceLayerIndex, layoutVertexArrayOffset: 0 });
26700
+ ke = u.featureIndex.loadFeature({ featureIndex: $.featureIndex, bucketIndex: Ee.bucketIndex, sourceLayerIndex: Ee.sourceLayerIndex, layoutVertexArrayOffset: 0 });
26701
26701
  }
26702
- if (!(0, u.dynamicFilter)(je, De, this.retainedQueryData[o.bucketInstanceId].tileID.canonical, new Z($.tileAnchorX, $.tileAnchorY), this.transform.calculateDistanceTileData(u.unwrappedTileID)))
26702
+ if (!(0, u.dynamicFilter)(je, ke, this.retainedQueryData[o.bucketInstanceId].tileID.canonical, new Z($.tileAnchorX, $.tileAnchorY), this.transform.calculateDistanceTileData(u.unwrappedTileID)))
26703
26703
  return this.placements[K] = new r_(!1, !1, !1, !0), void n.add(K);
26704
26704
  }
26705
26705
  if (n.has(K))
@@ -26710,8 +26710,8 @@ Use an identity property function instead: ${_}.`)];
26710
26710
  F.textFeatureIndex ? ee = F.textFeatureIndex : $.useRuntimeCollisionCircles && (ee = $.featureIndex), F.verticalTextFeatureIndex && (ne = F.verticalTextFeatureIndex);
26711
26711
  const fe = (je) => {
26712
26712
  je.tileID = this.retainedQueryData[o.bucketInstanceId].tileID;
26713
- const De = this.transform.elevation;
26714
- je.elevation = $.zOffset + (De ? De.getAtTileOffset(je.tileID, je.tileAnchorX, je.tileAnchorY) : 0);
26713
+ const ke = this.transform.elevation;
26714
+ je.elevation = $.zOffset + (ke ? ke.getAtTileOffset(je.tileID, je.tileAnchorX, je.tileAnchorY) : 0);
26715
26715
  }, Ue = F.textBox;
26716
26716
  if (Ue) {
26717
26717
  fe(Ue);
@@ -26722,7 +26722,7 @@ Use an identity property function instead: ${_}.`)];
26722
26722
  vn && (this.placedOrientations[K] = vn, fn = vn, this.markUsedOrientation(o, fn, $));
26723
26723
  }
26724
26724
  return fn;
26725
- }, De = (Ee, fn) => {
26725
+ }, ke = (Ee, fn) => {
26726
26726
  if (o.allowVerticalPlacement && Q > 0 && F.verticalTextBox) {
26727
26727
  for (const vn of o.writingModes)
26728
26728
  if (vn === si.vertical ? (St = fn(), At = St) : St = Ee(), St && St.box && St.box.length)
@@ -26750,7 +26750,7 @@ Use an identity property function instead: ${_}.`)];
26750
26750
  }
26751
26751
  return ii;
26752
26752
  };
26753
- De(() => fn(Ue, F.iconBox, si.horizontal), () => {
26753
+ ke(() => fn(Ue, F.iconBox, si.horizontal), () => {
26754
26754
  const en = F.verticalTextBox;
26755
26755
  return en && fe(en), o.allowVerticalPlacement && !(St && St.box && St.box.length) && Q > 0 && en ? fn(en, F.verticalIconBox, si.vertical) : { box: null, offscreen: null, occluded: null };
26756
26756
  }), St && (it = St.box, J = St.offscreen, ut = St.occluded);
@@ -26764,31 +26764,31 @@ Use an identity property function instead: ${_}.`)];
26764
26764
  const en = o.getSymbolInstanceTextSize(y, $, this.transform.zoom, X), Zn = this.collisionIndex.placeCollisionBox(o, en, fn, new Z(0, 0), I, f, a, b.predicate);
26765
26765
  return Zn && Zn.box && Zn.box.length && (this.markUsedOrientation(o, vn, $), this.placedOrientations[K] = vn), Zn;
26766
26766
  };
26767
- De(() => Ee(Ue, si.horizontal), () => {
26767
+ ke(() => Ee(Ue, si.horizontal), () => {
26768
26768
  const fn = F.verticalTextBox;
26769
26769
  return o.allowVerticalPlacement && Q > 0 && fn ? (fe(fn), Ee(fn, si.vertical)) : { box: null, offscreen: null, occluded: null };
26770
26770
  }), je(!!(St && St.box && St.box.length));
26771
26771
  }
26772
26772
  }
26773
26773
  if (Ct = St, it = Ct && Ct.box && Ct.box.length > 0, J = Ct && Ct.offscreen, ut = Ct && Ct.occluded, $.useRuntimeCollisionCircles) {
26774
- const je = o.text.placedSymbolArray.get($.centerJustifiedTextSymbolIndex >= 0 ? $.centerJustifiedTextSymbolIndex : $.verticalPlacedTextSymbolIndex), De = lc(o.textSizeData, y, je), Ee = s.get("text-padding");
26775
- vt = this.collisionIndex.placeCollisionCircles(o, I, je, o.lineVertexArray, o.glyphOffsetArray, De, a, l, c, i, P, b.predicate, $.collisionCircleDiameter * De / $i, Ee, this.retainedQueryData[o.bucketInstanceId].tileID), it = I || vt.circles.length > 0 && !vt.collisionDetected, J = J && vt.offscreen, ut = vt.occluded;
26774
+ const je = o.text.placedSymbolArray.get($.centerJustifiedTextSymbolIndex >= 0 ? $.centerJustifiedTextSymbolIndex : $.verticalPlacedTextSymbolIndex), ke = lc(o.textSizeData, y, je), Ee = s.get("text-padding");
26775
+ vt = this.collisionIndex.placeCollisionCircles(o, I, je, o.lineVertexArray, o.glyphOffsetArray, ke, a, l, c, i, P, b.predicate, $.collisionCircleDiameter * ke / $i, Ee, this.retainedQueryData[o.bucketInstanceId].tileID), it = I || vt.circles.length > 0 && !vt.collisionDetected, J = J && vt.offscreen, ut = vt.occluded;
26776
26776
  }
26777
26777
  if (F.iconFeatureIndex && (ae = F.iconFeatureIndex), F.iconBox) {
26778
- const je = (De) => {
26779
- fe(De);
26778
+ const je = (ke) => {
26779
+ fe(ke);
26780
26780
  const Ee = $.hasIconTextFit && pt ? o_(pt.x, pt.y, M, P, this.transform.angle) : new Z(0, 0), fn = o.getSymbolInstanceIconSize(x, this.transform.zoom, $.placedIconSymbolIndex);
26781
- return this.collisionIndex.placeCollisionBox(o, fn, De, Ee, R, f, a, b.predicate);
26781
+ return this.collisionIndex.placeCollisionBox(o, fn, ke, Ee, R, f, a, b.predicate);
26782
26782
  };
26783
26783
  At && At.box && At.box.length && F.verticalIconBox ? (Dt = je(F.verticalIconBox), Y = Dt.box.length > 0) : (Dt = je(F.iconBox), Y = Dt.box.length > 0), J = J && Dt.offscreen, mt = Dt.occluded;
26784
26784
  }
26785
26785
  const be = S || $.numHorizontalGlyphVertices === 0 && Q === 0, wn = A || $.numIconVertices === 0;
26786
26786
  if (be || wn ? wn ? be || (Y = Y && it) : it = Y && it : Y = it = Y && it, it && Ct && Ct.box && this.collisionIndex.insertCollisionBox(Ct.box, s.get("text-ignore-placement"), o.bucketInstanceId, At && At.box && ne ? ne : ee, b.ID), Y && Dt && this.collisionIndex.insertCollisionBox(Dt.box, s.get("icon-ignore-placement"), o.bucketInstanceId, ae, b.ID), vt && (it && this.collisionIndex.insertCollisionCircles(vt.circles, s.get("text-ignore-placement"), o.bucketInstanceId, ee, b.ID), i)) {
26787
26787
  const je = o.bucketInstanceId;
26788
- let De = this.collisionCircleArrays[je];
26789
- De === void 0 && (De = this.collisionCircleArrays[je] = new AL());
26788
+ let ke = this.collisionCircleArrays[je];
26789
+ ke === void 0 && (ke = this.collisionCircleArrays[je] = new AL());
26790
26790
  for (let Ee = 0; Ee < vt.circles.length; Ee += 4)
26791
- De.circles.push(vt.circles[Ee + 0]), De.circles.push(vt.circles[Ee + 1]), De.circles.push(vt.circles[Ee + 2]), De.circles.push(vt.collisionDetected ? 1 : 0);
26791
+ ke.circles.push(vt.circles[Ee + 0]), ke.circles.push(vt.circles[Ee + 1]), ke.circles.push(vt.circles[Ee + 2]), ke.circles.push(vt.collisionDetected ? 1 : 0);
26792
26792
  }
26793
26793
  const hn = o.projection.name !== "globe";
26794
26794
  z = z && (hn || !ut), N = N && (hn || !mt), this.placements[K] = new r_(it || z, Y || N, J || o.justReloaded), n.add(K);
@@ -30463,12 +30463,12 @@ ${i.vertexSource}`;
30463
30463
  const ii = n.layout.get("icon-size").constantOr(0) !== 1 || K.iconsNeedLinear;
30464
30464
  St = F.imageAtlasTexture ? F.imageAtlasTexture : null, At = Y || e.options.rotating || e.options.zooming || ii || ut ? y.LINEAR : y.NEAREST, pt = F.imageAtlasTexture ? F.imageAtlasTexture.size : [0, 0];
30465
30465
  }
30466
- const ee = K.projection.name === "globe", ne = ee ? $ : j, ae = ee ? Vi(x.zoom) : 0, fe = i_(X, K.getProjection(), x), Ue = x.calculatePixelsToTileUnitsMatrix(F), be = Kh(fe, F.tileID.canonical, S, b, x, K.getProjection(), Ue), wn = e.terrain && S && A ? st.invert(st.create(), be) : DS, hn = ww(fe, F.tileID.canonical, S, b, x, K.getProjection(), Ue), je = O && K.hasTextData(), De = K.hasIconTextFit() && je && K.hasIconData();
30466
+ const ee = K.projection.name === "globe", ne = ee ? $ : j, ae = ee ? Vi(x.zoom) : 0, fe = i_(X, K.getProjection(), x), Ue = x.calculatePixelsToTileUnitsMatrix(F), be = Kh(fe, F.tileID.canonical, S, b, x, K.getProjection(), Ue), wn = e.terrain && S && A ? st.invert(st.create(), be) : DS, hn = ww(fe, F.tileID.canonical, S, b, x, K.getProjection(), Ue), je = O && K.hasTextData(), ke = K.hasIconTextFit() && je && K.hasIconData();
30467
30467
  if (A) {
30468
30468
  const ii = x.elevation, Fn = ii ? ii.getAtTileOffsetFunc(X, x.center.lat, x.worldSize, K.getProjection()) : null, qi = bw(fe, F.tileID.canonical, S, b, x, K.getProjection(), Ue);
30469
30469
  m4(K, fe, e, r, qi, hn, S, c, Fn, X);
30470
30470
  }
30471
- const Ee = A || r && O || De, fn = e.translatePosMatrix(fe, F, o, s), vn = Ee ? DS : be, en = e.translatePosMatrix(hn, F, o, s, !0), Zn = K.getProjection().createInversionMatrix(x, X.canonical), xi = n.paint.get("icon-image-cross-fade").constantOr(0), Gn = [];
30471
+ const Ee = A || r && O || ke, fn = e.translatePosMatrix(fe, F, o, s), vn = Ee ? DS : be, en = e.translatePosMatrix(hn, F, o, s, !0), Zn = K.getProjection().createInversionMatrix(x, X.canonical), xi = n.paint.get("icon-image-cross-fade").constantOr(0), Gn = [];
30472
30472
  e.terrainRenderModeElevated() && S && Gn.push("PITCH_WITH_MAP_TERRAIN"), ee && (Gn.push("PROJECTION_GLOBE_VIEW"), Ee && Gn.push("PROJECTED_POS_ON_VIEWPORT")), xi > 0 && Gn.push("ICON_TRANSITION"), Q.zOffsetVertexBuffer && Gn.push("Z_OFFSET");
30473
30473
  const ti = Y && n.paint.get(r ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0;
30474
30474
  let Ei;
@@ -31515,8 +31515,8 @@ ${i.vertexSource}`;
31515
31515
  }
31516
31516
  } else if (Dt)
31517
31517
  continue;
31518
- const De = { defines: [] }, Ee = [];
31519
- d_(De.defines, Ee, hn, S), 4 & At || De.defines.push("DIFFUSE_SHADED"), pt && De.defines.push("SHADOWS_SINGLE_CASCADE");
31518
+ const ke = { defines: [] }, Ee = [];
31519
+ d_(ke.defines, Ee, hn, S), 4 & At || ke.defines.push("DIFFUSE_SHADED"), pt && ke.defines.push("SHADOWS_SINGLE_CASCADE");
31520
31520
  const fn = S.renderPass === "shadow";
31521
31521
  if (fn) {
31522
31522
  f_(hn, ee, S, I);
@@ -31527,10 +31527,10 @@ ${i.vertexSource}`;
31527
31527
  const Ei = FS(ee, S.transform);
31528
31528
  if (vn = new Float32Array(Ei), P.projection.name !== "globe") {
31529
31529
  const bi = hn.aabb.min, ii = hn.aabb.max, [Fn, qi] = L.getOpacityForBounds(Ei, bi[0], bi[1], ii[0], ii[1]);
31530
- De.overrideFog = Fn >= Ks || qi >= Ks;
31530
+ ke.overrideFog = Fn >= Ks || qi >= Ks;
31531
31531
  }
31532
31532
  }
31533
- const en = S.getOrCreateProgram("model", De);
31533
+ const en = S.getOrCreateProgram("model", ke);
31534
31534
  !fn && O && (O.useNormalOffset = !!hn.normalBuffer, O.setupShadowsFromMatrix(ee, en, O.useNormalOffset)), S.uploadCommonUniforms(M, en, ut.toUnwrapped(), vn);
31535
31535
  const Zn = hn.material, xi = Zn.pbrMetallicRoughness;
31536
31536
  xi.metallicFactor = 0.9, xi.roughnessFactor = 0.5;
@@ -32384,7 +32384,7 @@ ${i.vertexSource}`;
32384
32384
  }
32385
32385
  loadURL(t, n = {}) {
32386
32386
  this.fire(new Xt("dataloading", { dataType: "style" }));
32387
- const i = typeof n.validate == "boolean" ? n.validate : !Ne(t);
32387
+ const i = typeof n.validate == "boolean" ? n.validate : !Le(t);
32388
32388
  t = this.map._requestManager.normalizeStyleURL(t, n.accessToken), this.resolvedImports.add(t);
32389
32389
  const r = this.importsCache.get(t);
32390
32390
  if (r)
@@ -32566,7 +32566,7 @@ ${i.vertexSource}`;
32566
32566
  const l = He.devicePixelRatio > 1 ? "@2x" : "";
32567
32567
  let c = zt(i.transformRequest(i.normalizeSpriteURL(n, l, ".json"), rt.SpriteJSON), (m, _) => {
32568
32568
  c = null, a || (a = m, o = _, f());
32569
- }), u = Be(i.transformRequest(i.normalizeSpriteURL(n, l, ".png"), rt.SpriteImage), (m, _) => {
32569
+ }), u = Ne(i.transformRequest(i.normalizeSpriteURL(n, l, ".png"), rt.SpriteImage), (m, _) => {
32570
32570
  u = null, a || (a = m, s = _, f());
32571
32571
  });
32572
32572
  function f() {
@@ -35934,7 +35934,7 @@ ${i.vertexSource}`;
35934
35934
  this.style.removeImage(e);
35935
35935
  }
35936
35936
  loadImage(e, t) {
35937
- Be(this._requestManager.transformRequest(e, rt.Image), (n, i) => {
35937
+ Ne(this._requestManager.transformRequest(e, rt.Image), (n, i) => {
35938
35938
  t(n, i instanceof T.HTMLImageElement ? He.getImageData(i) : i);
35939
35939
  });
35940
35940
  }
@@ -37055,12 +37055,12 @@ ${i.vertexSource}`;
37055
37055
  return Qt({ layers: q });
37056
37056
  }, Tt.exports.GeoJSONWrapper = Gt;
37057
37057
  var on = C.g(Tt.exports);
37058
- const ze = { minZoom: 0, maxZoom: 16, minPoints: 2, radius: 40, extent: 512, nodeSize: 64, log: !1, generateId: !1, reduce: null, map: (kt) => kt }, pn = Math.fround || (Sn = new Float32Array(1), (kt) => (Sn[0] = +kt, Sn[0]));
37058
+ const Be = { minZoom: 0, maxZoom: 16, minPoints: 2, radius: 40, extent: 512, nodeSize: 64, log: !1, generateId: !1, reduce: null, map: (kt) => kt }, pn = Math.fround || (Sn = new Float32Array(1), (kt) => (Sn[0] = +kt, Sn[0]));
37059
37059
  var Sn;
37060
37060
  const Rt = 3, yt = 5, gt = 6;
37061
37061
  class Pt {
37062
37062
  constructor(V) {
37063
- this.options = Object.assign(Object.create(ze), V), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
37063
+ this.options = Object.assign(Object.create(Be), V), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
37064
37064
  }
37065
37065
  load(V) {
37066
37066
  const { log: q, minZoom: G, maxZoom: It } = this.options;
@@ -37247,11 +37247,11 @@ ${i.vertexSource}`;
37247
37247
  var se = { exports: {} };
37248
37248
  se.exports = function() {
37249
37249
  function kt(rt, dt, Mt, Nt) {
37250
- for (var zt, Ht = Nt, Kt = Mt - dt >> 1, Yt = Mt - dt, le = rt[dt], Jt = rt[dt + 1], Be = rt[Mt], Dn = rt[Mt + 1], Wt = dt + 3; Wt < Mt; Wt += 3) {
37251
- var Ne = V(rt[Wt], rt[Wt + 1], le, Jt, Be, Dn);
37252
- if (Ne > Ht)
37253
- zt = Wt, Ht = Ne;
37254
- else if (Ne === Ht) {
37250
+ for (var zt, Ht = Nt, Kt = Mt - dt >> 1, Yt = Mt - dt, le = rt[dt], Jt = rt[dt + 1], Ne = rt[Mt], Dn = rt[Mt + 1], Wt = dt + 3; Wt < Mt; Wt += 3) {
37251
+ var Le = V(rt[Wt], rt[Wt + 1], le, Jt, Ne, Dn);
37252
+ if (Le > Ht)
37253
+ zt = Wt, Ht = Le;
37254
+ else if (Le === Ht) {
37255
37255
  var et = Math.abs(Wt - Kt);
37256
37256
  et < Yt && (zt = Wt, Yt = et);
37257
37257
  }
@@ -37314,8 +37314,8 @@ ${i.vertexSource}`;
37314
37314
  throw new Error("Input data is not a valid GeoJSON object.");
37315
37315
  }
37316
37316
  for (Jt = 0; Jt < zt.length; Jt++) {
37317
- var Be = [];
37318
- ye(zt[Jt], Be, Kt, !0), Yt.push(Be);
37317
+ var Ne = [];
37318
+ ye(zt[Jt], Ne, Kt, !0), Yt.push(Ne);
37319
37319
  }
37320
37320
  }
37321
37321
  rt.push(q(le, Ht, Yt, dt.properties));
@@ -37329,8 +37329,8 @@ ${i.vertexSource}`;
37329
37329
  var le = Bt(rt[Yt][0]), Jt = we(rt[Yt][1]);
37330
37330
  dt.push(le), dt.push(Jt), dt.push(0), Yt > 0 && (Kt += Nt ? (zt * Jt - le * Ht) / 2 : Math.sqrt(Math.pow(le - zt, 2) + Math.pow(Jt - Ht, 2))), zt = le, Ht = Jt;
37331
37331
  }
37332
- var Be = dt.length - 3;
37333
- dt[2] = 1, kt(dt, 0, Be, Mt), dt[Be + 2] = 1, dt.size = Math.abs(Kt), dt.start = 0, dt.end = dt.size;
37332
+ var Ne = dt.length - 3;
37333
+ dt[2] = 1, kt(dt, 0, Ne, Mt), dt[Ne + 2] = 1, dt.size = Math.abs(Kt), dt.start = 0, dt.end = dt.size;
37334
37334
  }
37335
37335
  function ye(rt, dt, Mt, Nt) {
37336
37336
  for (var zt = 0; zt < rt.length; zt++) {
@@ -37351,10 +37351,10 @@ ${i.vertexSource}`;
37351
37351
  if (Kt < Mt || Ht >= Nt)
37352
37352
  return null;
37353
37353
  for (var le = [], Jt = 0; Jt < rt.length; Jt++) {
37354
- var Be = rt[Jt], Dn = Be.geometry, Wt = Be.type, Ne = zt === 0 ? Be.minX : Be.minY, et = zt === 0 ? Be.maxX : Be.maxY;
37355
- if (Ne >= Mt && et < Nt)
37356
- le.push(Be);
37357
- else if (!(et < Mt || Ne >= Nt)) {
37354
+ var Ne = rt[Jt], Dn = Ne.geometry, Wt = Ne.type, Le = zt === 0 ? Ne.minX : Ne.minY, et = zt === 0 ? Ne.maxX : Ne.maxY;
37355
+ if (Le >= Mt && et < Nt)
37356
+ le.push(Ne);
37357
+ else if (!(et < Mt || Le >= Nt)) {
37358
37358
  var qt = [];
37359
37359
  if (Wt === "Point" || Wt === "MultiPoint")
37360
37360
  Ie(Dn, qt, Mt, Nt, zt);
@@ -37366,16 +37366,16 @@ ${i.vertexSource}`;
37366
37366
  gi(Dn, qt, Mt, Nt, zt, !0);
37367
37367
  else if (Wt === "MultiPolygon")
37368
37368
  for (var oe = 0; oe < Dn.length; oe++) {
37369
- var Le = [];
37370
- gi(Dn[oe], Le, Mt, Nt, zt, !0), Le.length && qt.push(Le);
37369
+ var De = [];
37370
+ gi(Dn[oe], De, Mt, Nt, zt, !0), De.length && qt.push(De);
37371
37371
  }
37372
37372
  if (qt.length) {
37373
37373
  if (Yt.lineMetrics && Wt === "LineString") {
37374
37374
  for (oe = 0; oe < qt.length; oe++)
37375
- le.push(q(Be.id, Wt, qt[oe], Be.tags));
37375
+ le.push(q(Ne.id, Wt, qt[oe], Ne.tags));
37376
37376
  continue;
37377
37377
  }
37378
- Wt !== "LineString" && Wt !== "MultiLineString" || (qt.length === 1 ? (Wt = "LineString", qt = qt[0]) : Wt = "MultiLineString"), Wt !== "Point" && Wt !== "MultiPoint" || (Wt = qt.length === 3 ? "Point" : "MultiPoint"), le.push(q(Be.id, Wt, qt, Be.tags));
37378
+ Wt !== "LineString" && Wt !== "MultiLineString" || (qt.length === 1 ? (Wt = "LineString", qt = qt[0]) : Wt = "MultiLineString"), Wt !== "Point" && Wt !== "MultiPoint" || (Wt = qt.length === 3 ? "Point" : "MultiPoint"), le.push(q(Ne.id, Wt, qt, Ne.tags));
37379
37379
  }
37380
37380
  }
37381
37381
  }
@@ -37388,12 +37388,12 @@ ${i.vertexSource}`;
37388
37388
  }
37389
37389
  }
37390
37390
  function Nn(rt, dt, Mt, Nt, zt, Ht, Kt) {
37391
- for (var Yt, le, Jt = Xn(rt), Be = zt === 0 ? Jn : Un, Dn = rt.start, Wt = 0; Wt < rt.length - 3; Wt += 3) {
37392
- var Ne = rt[Wt], et = rt[Wt + 1], qt = rt[Wt + 2], oe = rt[Wt + 3], Le = rt[Wt + 4], bn = zt === 0 ? Ne : et, _n = zt === 0 ? oe : Le, mn = !1;
37393
- Kt && (Yt = Math.sqrt(Math.pow(Ne - oe, 2) + Math.pow(et - Le, 2))), bn < Mt ? _n > Mt && (le = Be(Jt, Ne, et, oe, Le, Mt), Kt && (Jt.start = Dn + Yt * le)) : bn > Nt ? _n < Nt && (le = Be(Jt, Ne, et, oe, Le, Nt), Kt && (Jt.start = Dn + Yt * le)) : Wn(Jt, Ne, et, qt), _n < Mt && bn >= Mt && (le = Be(Jt, Ne, et, oe, Le, Mt), mn = !0), _n > Nt && bn <= Nt && (le = Be(Jt, Ne, et, oe, Le, Nt), mn = !0), !Ht && mn && (Kt && (Jt.end = Dn + Yt * le), dt.push(Jt), Jt = Xn(rt)), Kt && (Dn += Yt);
37391
+ for (var Yt, le, Jt = Xn(rt), Ne = zt === 0 ? Jn : Un, Dn = rt.start, Wt = 0; Wt < rt.length - 3; Wt += 3) {
37392
+ var Le = rt[Wt], et = rt[Wt + 1], qt = rt[Wt + 2], oe = rt[Wt + 3], De = rt[Wt + 4], bn = zt === 0 ? Le : et, _n = zt === 0 ? oe : De, mn = !1;
37393
+ Kt && (Yt = Math.sqrt(Math.pow(Le - oe, 2) + Math.pow(et - De, 2))), bn < Mt ? _n > Mt && (le = Ne(Jt, Le, et, oe, De, Mt), Kt && (Jt.start = Dn + Yt * le)) : bn > Nt ? _n < Nt && (le = Ne(Jt, Le, et, oe, De, Nt), Kt && (Jt.start = Dn + Yt * le)) : Wn(Jt, Le, et, qt), _n < Mt && bn >= Mt && (le = Ne(Jt, Le, et, oe, De, Mt), mn = !0), _n > Nt && bn <= Nt && (le = Ne(Jt, Le, et, oe, De, Nt), mn = !0), !Ht && mn && (Kt && (Jt.end = Dn + Yt * le), dt.push(Jt), Jt = Xn(rt)), Kt && (Dn += Yt);
37394
37394
  }
37395
37395
  var ln = rt.length - 3;
37396
- Ne = rt[ln], et = rt[ln + 1], qt = rt[ln + 2], (bn = zt === 0 ? Ne : et) >= Mt && bn <= Nt && Wn(Jt, Ne, et, qt), ln = Jt.length - 3, Ht && ln >= 3 && (Jt[ln] !== Jt[0] || Jt[ln + 1] !== Jt[1]) && Wn(Jt, Jt[0], Jt[1], Jt[2]), Jt.length && dt.push(Jt);
37396
+ Le = rt[ln], et = rt[ln + 1], qt = rt[ln + 2], (bn = zt === 0 ? Le : et) >= Mt && bn <= Nt && Wn(Jt, Le, et, qt), ln = Jt.length - 3, Ht && ln >= 3 && (Jt[ln] !== Jt[0] || Jt[ln + 1] !== Jt[1]) && Wn(Jt, Jt[0], Jt[1], Jt[2]), Jt.length && dt.push(Jt);
37397
37397
  }
37398
37398
  function Xn(rt) {
37399
37399
  var dt = [];
@@ -37445,8 +37445,8 @@ ${i.vertexSource}`;
37445
37445
  return rt;
37446
37446
  var Mt, Nt, zt, Ht = 1 << rt.z, Kt = rt.x, Yt = rt.y;
37447
37447
  for (Mt = 0; Mt < rt.features.length; Mt++) {
37448
- var le = rt.features[Mt], Jt = le.geometry, Be = le.type;
37449
- if (le.geometry = [], Be === 1)
37448
+ var le = rt.features[Mt], Jt = le.geometry, Ne = le.type;
37449
+ if (le.geometry = [], Ne === 1)
37450
37450
  for (Nt = 0; Nt < Jt.length; Nt += 2)
37451
37451
  le.geometry.push(te(Jt[Nt], Jt[Nt + 1], dt, Ht, Kt, Yt));
37452
37452
  else
@@ -37465,8 +37465,8 @@ ${i.vertexSource}`;
37465
37465
  function Se(rt, dt, Mt, Nt, zt) {
37466
37466
  for (var Ht = dt === zt.maxZoom ? 0 : zt.tolerance / ((1 << dt) * zt.extent), Kt = { features: [], numPoints: 0, numSimplified: 0, numFeatures: 0, source: null, x: Mt, y: Nt, z: dt, transformed: !1, minX: 2, minY: 1, maxX: -1, maxY: 0 }, Yt = 0; Yt < rt.length; Yt++) {
37467
37467
  Kt.numFeatures++, ce(Kt, rt[Yt], Ht, zt);
37468
- var le = rt[Yt].minX, Jt = rt[Yt].minY, Be = rt[Yt].maxX, Dn = rt[Yt].maxY;
37469
- le < Kt.minX && (Kt.minX = le), Jt < Kt.minY && (Kt.minY = Jt), Be > Kt.maxX && (Kt.maxX = Be), Dn > Kt.maxY && (Kt.maxY = Dn);
37468
+ var le = rt[Yt].minX, Jt = rt[Yt].minY, Ne = rt[Yt].maxX, Dn = rt[Yt].maxY;
37469
+ le < Kt.minX && (Kt.minX = le), Jt < Kt.minY && (Kt.minY = Jt), Ne > Kt.maxX && (Kt.maxX = Ne), Dn > Kt.maxY && (Kt.maxY = Dn);
37470
37470
  }
37471
37471
  return Kt;
37472
37472
  }
@@ -37487,13 +37487,13 @@ ${i.vertexSource}`;
37487
37487
  Te(Kt, Jt[Yt], rt, Mt, !0, Yt === 0);
37488
37488
  }
37489
37489
  if (Kt.length) {
37490
- var Be = dt.tags || null;
37490
+ var Ne = dt.tags || null;
37491
37491
  if (Ht === "LineString" && Nt.lineMetrics) {
37492
- for (var Dn in Be = {}, dt.tags)
37493
- Be[Dn] = dt.tags[Dn];
37494
- Be.mapbox_clip_start = zt.start / zt.size, Be.mapbox_clip_end = zt.end / zt.size;
37492
+ for (var Dn in Ne = {}, dt.tags)
37493
+ Ne[Dn] = dt.tags[Dn];
37494
+ Ne.mapbox_clip_start = zt.start / zt.size, Ne.mapbox_clip_end = zt.end / zt.size;
37495
37495
  }
37496
- var Wt = { geometry: Kt, type: Ht === "Polygon" || Ht === "MultiPolygon" ? 3 : Ht === "LineString" || Ht === "MultiLineString" ? 2 : 1, tags: Be };
37496
+ var Wt = { geometry: Kt, type: Ht === "Polygon" || Ht === "MultiPolygon" ? 3 : Ht === "LineString" || Ht === "MultiLineString" ? 2 : 1, tags: Ne };
37497
37497
  dt.id !== null && (Wt.id = dt.id), rt.features.push(Wt);
37498
37498
  }
37499
37499
  }
@@ -37504,18 +37504,18 @@ ${i.vertexSource}`;
37504
37504
  else {
37505
37505
  for (var Yt = [], le = 0; le < dt.length; le += 3)
37506
37506
  (Nt === 0 || dt[le + 2] > Kt) && (Mt.numSimplified++, Yt.push(dt[le]), Yt.push(dt[le + 1])), Mt.numPoints++;
37507
- zt && function(Jt, Be) {
37508
- for (var Dn = 0, Wt = 0, Ne = Jt.length, et = Ne - 2; Wt < Ne; et = Wt, Wt += 2)
37507
+ zt && function(Jt, Ne) {
37508
+ for (var Dn = 0, Wt = 0, Le = Jt.length, et = Le - 2; Wt < Le; et = Wt, Wt += 2)
37509
37509
  Dn += (Jt[Wt] - Jt[et]) * (Jt[Wt + 1] + Jt[et + 1]);
37510
- if (Dn > 0 === Be)
37511
- for (Wt = 0, Ne = Jt.length; Wt < Ne / 2; Wt += 2) {
37510
+ if (Dn > 0 === Ne)
37511
+ for (Wt = 0, Le = Jt.length; Wt < Le / 2; Wt += 2) {
37512
37512
  var qt = Jt[Wt], oe = Jt[Wt + 1];
37513
- Jt[Wt] = Jt[Ne - 2 - Wt], Jt[Wt + 1] = Jt[Ne - 1 - Wt], Jt[Ne - 2 - Wt] = qt, Jt[Ne - 1 - Wt] = oe;
37513
+ Jt[Wt] = Jt[Le - 2 - Wt], Jt[Wt + 1] = Jt[Le - 1 - Wt], Jt[Le - 2 - Wt] = qt, Jt[Le - 1 - Wt] = oe;
37514
37514
  }
37515
37515
  }(Yt, Ht), rt.push(Yt);
37516
37516
  }
37517
37517
  }
37518
- function Oe(rt, dt) {
37518
+ function ze(rt, dt) {
37519
37519
  var Mt = (dt = this.options = function(zt, Ht) {
37520
37520
  for (var Kt in Ht)
37521
37521
  zt[Kt] = Ht[Kt];
@@ -37542,14 +37542,14 @@ ${i.vertexSource}`;
37542
37542
  function We(rt, dt, Mt) {
37543
37543
  return 32 * ((1 << rt) * Mt + dt) + rt;
37544
37544
  }
37545
- return Oe.prototype.options = { maxZoom: 14, indexMaxZoom: 5, indexMaxPoints: 1e5, tolerance: 3, extent: 4096, buffer: 64, lineMetrics: !1, promoteId: null, generateId: !1, debug: 0 }, Oe.prototype.splitTile = function(rt, dt, Mt, Nt, zt, Ht, Kt) {
37545
+ return ze.prototype.options = { maxZoom: 14, indexMaxZoom: 5, indexMaxPoints: 1e5, tolerance: 3, extent: 4096, buffer: 64, lineMetrics: !1, promoteId: null, generateId: !1, debug: 0 }, ze.prototype.splitTile = function(rt, dt, Mt, Nt, zt, Ht, Kt) {
37546
37546
  for (var Yt = [rt, dt, Mt, Nt], le = this.options, Jt = le.debug; Yt.length; ) {
37547
37547
  Nt = Yt.pop(), Mt = Yt.pop(), dt = Yt.pop(), rt = Yt.pop();
37548
- var Be = 1 << dt, Dn = We(dt, Mt, Nt), Wt = this.tiles[Dn];
37548
+ var Ne = 1 << dt, Dn = We(dt, Mt, Nt), Wt = this.tiles[Dn];
37549
37549
  if (!Wt && (Jt > 1 && console.time("creation"), Wt = this.tiles[Dn] = Se(rt, dt, Mt, Nt, le), this.tileCoords.push({ z: dt, x: Mt, y: Nt }), Jt)) {
37550
37550
  Jt > 1 && (console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)", dt, Mt, Nt, Wt.numFeatures, Wt.numPoints, Wt.numSimplified), console.timeEnd("creation"));
37551
- var Ne = "z" + dt;
37552
- this.stats[Ne] = (this.stats[Ne] || 0) + 1, this.total++;
37551
+ var Le = "z" + dt;
37552
+ this.stats[Le] = (this.stats[Le] || 0) + 1, this.total++;
37553
37553
  }
37554
37554
  if (Wt.source = rt, zt) {
37555
37555
  if (dt === le.maxZoom || dt === zt)
@@ -37561,11 +37561,11 @@ ${i.vertexSource}`;
37561
37561
  continue;
37562
37562
  if (Wt.source = null, rt.length !== 0) {
37563
37563
  Jt > 1 && console.time("clipping");
37564
- var qt, oe, Le, bn, _n, mn, ln = 0.5 * le.buffer / le.extent, Bi = 0.5 - ln, ai = 0.5 + ln, _i = 1 + ln;
37565
- qt = oe = Le = bn = null, _n = Ae(rt, Be, Mt - ln, Mt + ai, 0, Wt.minX, Wt.maxX, le), mn = Ae(rt, Be, Mt + Bi, Mt + _i, 0, Wt.minX, Wt.maxX, le), rt = null, _n && (qt = Ae(_n, Be, Nt - ln, Nt + ai, 1, Wt.minY, Wt.maxY, le), oe = Ae(_n, Be, Nt + Bi, Nt + _i, 1, Wt.minY, Wt.maxY, le), _n = null), mn && (Le = Ae(mn, Be, Nt - ln, Nt + ai, 1, Wt.minY, Wt.maxY, le), bn = Ae(mn, Be, Nt + Bi, Nt + _i, 1, Wt.minY, Wt.maxY, le), mn = null), Jt > 1 && console.timeEnd("clipping"), Yt.push(qt || [], dt + 1, 2 * Mt, 2 * Nt), Yt.push(oe || [], dt + 1, 2 * Mt, 2 * Nt + 1), Yt.push(Le || [], dt + 1, 2 * Mt + 1, 2 * Nt), Yt.push(bn || [], dt + 1, 2 * Mt + 1, 2 * Nt + 1);
37564
+ var qt, oe, De, bn, _n, mn, ln = 0.5 * le.buffer / le.extent, Bi = 0.5 - ln, ai = 0.5 + ln, _i = 1 + ln;
37565
+ qt = oe = De = bn = null, _n = Ae(rt, Ne, Mt - ln, Mt + ai, 0, Wt.minX, Wt.maxX, le), mn = Ae(rt, Ne, Mt + Bi, Mt + _i, 0, Wt.minX, Wt.maxX, le), rt = null, _n && (qt = Ae(_n, Ne, Nt - ln, Nt + ai, 1, Wt.minY, Wt.maxY, le), oe = Ae(_n, Ne, Nt + Bi, Nt + _i, 1, Wt.minY, Wt.maxY, le), _n = null), mn && (De = Ae(mn, Ne, Nt - ln, Nt + ai, 1, Wt.minY, Wt.maxY, le), bn = Ae(mn, Ne, Nt + Bi, Nt + _i, 1, Wt.minY, Wt.maxY, le), mn = null), Jt > 1 && console.timeEnd("clipping"), Yt.push(qt || [], dt + 1, 2 * Mt, 2 * Nt), Yt.push(oe || [], dt + 1, 2 * Mt, 2 * Nt + 1), Yt.push(De || [], dt + 1, 2 * Mt + 1, 2 * Nt), Yt.push(bn || [], dt + 1, 2 * Mt + 1, 2 * Nt + 1);
37566
37566
  }
37567
37567
  }
37568
- }, Oe.prototype.getTile = function(rt, dt, Mt) {
37568
+ }, ze.prototype.getTile = function(rt, dt, Mt) {
37569
37569
  var Nt = this.options, zt = Nt.extent, Ht = Nt.debug;
37570
37570
  if (rt < 0 || rt > 24)
37571
37571
  return null;
@@ -37573,11 +37573,11 @@ ${i.vertexSource}`;
37573
37573
  if (this.tiles[Yt])
37574
37574
  return _t(this.tiles[Yt], zt);
37575
37575
  Ht > 1 && console.log("drilling down to z%d-%d-%d", rt, dt, Mt);
37576
- for (var le, Jt = rt, Be = dt, Dn = Mt; !le && Jt > 0; )
37577
- Jt--, Be = Math.floor(Be / 2), Dn = Math.floor(Dn / 2), le = this.tiles[We(Jt, Be, Dn)];
37578
- return le && le.source ? (Ht > 1 && console.log("found parent tile z%d-%d-%d", Jt, Be, Dn), Ht > 1 && console.time("drilling down"), this.splitTile(le.source, Jt, Be, Dn, rt, dt, Mt), Ht > 1 && console.timeEnd("drilling down"), this.tiles[Yt] ? _t(this.tiles[Yt], zt) : null) : null;
37576
+ for (var le, Jt = rt, Ne = dt, Dn = Mt; !le && Jt > 0; )
37577
+ Jt--, Ne = Math.floor(Ne / 2), Dn = Math.floor(Dn / 2), le = this.tiles[We(Jt, Ne, Dn)];
37578
+ return le && le.source ? (Ht > 1 && console.log("found parent tile z%d-%d-%d", Jt, Ne, Dn), Ht > 1 && console.time("drilling down"), this.splitTile(le.source, Jt, Ne, Dn, rt, dt, Mt), Ht > 1 && console.timeEnd("drilling down"), this.tiles[Yt] ? _t(this.tiles[Yt], zt) : null) : null;
37579
37579
  }, function(rt, dt) {
37580
- return new Oe(rt, dt);
37580
+ return new ze(rt, dt);
37581
37581
  };
37582
37582
  }();
37583
37583
  var Re = C.g(se.exports);
@@ -37944,7 +37944,7 @@ const CA = En({
37944
37944
  default: void 0
37945
37945
  });
37946
37946
  function M7({ onMapView: d, onPositionControl: h }) {
37947
- const p = ue(uu), [g, v] = ke(), [w, E] = ke(!1), [C, T] = ke(!1), [D, k] = ke(!1), B = ue(Sr), U = ue(wo), W = ue(lu), tt = ue(cu), nt = Zo(), Tt = ue(CA);
37947
+ const p = ue(uu), [g, v] = Oe(), [w, E] = Oe(!1), [C, T] = Oe(!1), [D, k] = Oe(!1), B = ue(Sr), U = ue(wo), W = ue(lu), tt = ue(cu), nt = Zo(), Tt = ue(CA);
37948
37948
  return Me(() => {
37949
37949
  window.mapboxgl = cE;
37950
37950
  const wt = {
@@ -38331,7 +38331,7 @@ const n0 = En({
38331
38331
  default: void 0
38332
38332
  });
38333
38333
  function NA() {
38334
- const [d, h] = ke(!1), p = ue(n0), g = ue(BA);
38334
+ const [d, h] = Oe(!1), p = ue(n0), g = ue(BA);
38335
38335
  return Me(() => {
38336
38336
  if (!p || !g)
38337
38337
  return;
@@ -38352,7 +38352,7 @@ const B7 = "MI-MAP-TEMPLATE-LAST-VENUE", i0 = () => {
38352
38352
  window.localStorage.removeItem(B7), d(h);
38353
38353
  };
38354
38354
  }, FA = "MI-MAP-TEMPLATE-LAST-VENUE", N7 = () => {
38355
- const [d, h] = ke(!1), [p, g] = ke(), v = Zo(), w = NA(), E = ue(lu), C = ue(hu), T = ue(DA), D = ue(kf), k = ue(Xy), B = ue(Sr), U = ue(cu), W = ue(kA), tt = ue(Df), nt = ue(OA), Tt = ue(t0), wt = i0(), [lt, xt] = ke(!1);
38355
+ const [d, h] = Oe(!1), [p, g] = Oe(), v = Zo(), w = NA(), E = ue(lu), C = ue(hu), T = ue(DA), D = ue(kf), k = ue(Xy), B = ue(Sr), U = ue(cu), W = ue(kA), tt = ue(Df), nt = ue(OA), Tt = ue(t0), wt = i0(), [lt, xt] = Oe(!1);
38356
38356
  Me(() => {
38357
38357
  w && ft(nt);
38358
38358
  }, [w]), Me(() => {
@@ -38645,7 +38645,7 @@ function q7() {
38645
38645
  }
38646
38646
  }
38647
38647
  }
38648
- var ot = T, Ft = D, Gt = C, Qt = E, Z = h, jt = k, he = g, Pe = tt, Ut = W, ve = p, In = w, on = v, ze = B, pn = !1;
38648
+ var ot = T, Ft = D, Gt = C, Qt = E, Z = h, jt = k, he = g, Pe = tt, Ut = W, ve = p, In = w, on = v, Be = B, pn = !1;
38649
38649
  function Sn(re) {
38650
38650
  return pn || (pn = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Rt(re) || ft(re) === T;
38651
38651
  }
@@ -38685,7 +38685,7 @@ function q7() {
38685
38685
  function xn(re) {
38686
38686
  return ft(re) === B;
38687
38687
  }
38688
- fi.AsyncMode = ot, fi.ConcurrentMode = Ft, fi.ContextConsumer = Gt, fi.ContextProvider = Qt, fi.Element = Z, fi.ForwardRef = jt, fi.Fragment = he, fi.Lazy = Pe, fi.Memo = Ut, fi.Portal = ve, fi.Profiler = In, fi.StrictMode = on, fi.Suspense = ze, fi.isAsyncMode = Sn, fi.isConcurrentMode = Rt, fi.isContextConsumer = yt, fi.isContextProvider = gt, fi.isElement = Pt, fi.isForwardRef = Vt, fi.isFragment = me, fi.isLazy = ht, fi.isMemo = Lt, fi.isPortal = pe, fi.isProfiler = se, fi.isStrictMode = Re, fi.isSuspense = xn, fi.isValidElementType = xt, fi.typeOf = ft;
38688
+ fi.AsyncMode = ot, fi.ConcurrentMode = Ft, fi.ContextConsumer = Gt, fi.ContextProvider = Qt, fi.Element = Z, fi.ForwardRef = jt, fi.Fragment = he, fi.Lazy = Pe, fi.Memo = Ut, fi.Portal = ve, fi.Profiler = In, fi.StrictMode = on, fi.Suspense = Be, fi.isAsyncMode = Sn, fi.isConcurrentMode = Rt, fi.isContextConsumer = yt, fi.isContextProvider = gt, fi.isElement = Pt, fi.isForwardRef = Vt, fi.isFragment = me, fi.isLazy = ht, fi.isMemo = Lt, fi.isPortal = pe, fi.isProfiler = se, fi.isStrictMode = Re, fi.isSuspense = xn, fi.isValidElementType = xt, fi.typeOf = ft;
38689
38689
  }()), fi;
38690
38690
  }
38691
38691
  var gE;
@@ -38834,7 +38834,7 @@ function H7() {
38834
38834
  function yt(gt, Pt, Vt, me, ht, Lt) {
38835
38835
  var pe = gt[Pt], se = on(pe);
38836
38836
  if (se !== Rt) {
38837
- var Re = ze(pe);
38837
+ var Re = Be(pe);
38838
38838
  return new nt(
38839
38839
  "Invalid " + me + " `" + ht + "` of type " + ("`" + Re + "` supplied to `" + Vt + "`, expected ") + ("`" + Rt + "`."),
38840
38840
  { expectedType: Rt }
@@ -38907,7 +38907,7 @@ function H7() {
38907
38907
  if (tt(Lt, Rt[pe]))
38908
38908
  return null;
38909
38909
  var se = JSON.stringify(Rt, function(xn, re) {
38910
- var qe = ze(re);
38910
+ var qe = Be(re);
38911
38911
  return qe === "symbol" ? String(re) : re;
38912
38912
  });
38913
38913
  return new nt("Invalid " + me + " `" + ht + "` of value `" + String(Lt) + "` " + ("supplied to `" + Vt + "`, expected one of " + se + "."));
@@ -38972,7 +38972,7 @@ function H7() {
38972
38972
  for (var se in Rt) {
38973
38973
  var Re = Rt[se];
38974
38974
  if (typeof Re != "function")
38975
- return he(Vt, me, ht, se, ze(Re));
38975
+ return he(Vt, me, ht, se, Be(Re));
38976
38976
  var xn = Re(Lt, se, Vt, me, ht + "." + se, p);
38977
38977
  if (xn)
38978
38978
  return xn;
@@ -38990,7 +38990,7 @@ function H7() {
38990
38990
  for (var Re in se) {
38991
38991
  var xn = Rt[Re];
38992
38992
  if (g(Rt, Re) && typeof xn != "function")
38993
- return he(Vt, me, ht, Re, ze(xn));
38993
+ return he(Vt, me, ht, Re, Be(xn));
38994
38994
  if (!xn)
38995
38995
  return new nt(
38996
38996
  "Invalid " + me + " `" + ht + "` key `" + Re + "` supplied to `" + Vt + "`.\nBad object: " + JSON.stringify(gt[Pt], null, " ") + `
@@ -39044,7 +39044,7 @@ Valid keys: ` + JSON.stringify(Object.keys(Rt), null, " ")
39044
39044
  var yt = typeof Rt;
39045
39045
  return Array.isArray(Rt) ? "array" : Rt instanceof RegExp ? "object" : In(yt, Rt) ? "symbol" : yt;
39046
39046
  }
39047
- function ze(Rt) {
39047
+ function Be(Rt) {
39048
39048
  if (typeof Rt > "u" || Rt === null)
39049
39049
  return "" + Rt;
39050
39050
  var yt = on(Rt);
@@ -39057,7 +39057,7 @@ Valid keys: ` + JSON.stringify(Object.keys(Rt), null, " ")
39057
39057
  return yt;
39058
39058
  }
39059
39059
  function pn(Rt) {
39060
- var yt = ze(Rt);
39060
+ var yt = Be(Rt);
39061
39061
  switch (yt) {
39062
39062
  case "array":
39063
39063
  case "object":
@@ -39684,7 +39684,7 @@ s0.propTypes = process.env.NODE_ENV !== "production" ? nf({}, ZA.propTypes, {
39684
39684
  const r9 = s0;
39685
39685
  const o9 = (d) => /* @__PURE__ */ Ke.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...d }, /* @__PURE__ */ Ke.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0 1.66667C0 0.746192 0.746193 0 1.66667 0H11.6667C12.5872 0 13.3333 0.746193 13.3333 1.66667V20H8.33333V17.5C8.33333 16.5795 7.58714 15.8333 6.66667 15.8333C5.74619 15.8333 5 16.5795 5 17.5V20H0V1.66667ZM14.5833 8.33333H18.3333C19.2538 8.33333 20 9.0795 20 10V20H14.5833V8.33333ZM3.33333 2.5C2.8731 2.5 2.5 2.8731 2.5 3.33333V5.41667C2.5 5.8769 2.8731 6.25 3.33333 6.25H4.58333C5.04357 6.25 5.41667 5.8769 5.41667 5.41667V3.33333C5.41667 2.8731 5.04357 2.5 4.58333 2.5H3.33333ZM7.91667 3.33333C7.91667 2.8731 8.28977 2.5 8.75 2.5H10C10.4602 2.5 10.8333 2.8731 10.8333 3.33333V5.41667C10.8333 5.8769 10.4602 6.25 10 6.25H8.75C8.28976 6.25 7.91667 5.8769 7.91667 5.41667V3.33333ZM3.33333 9.58333C2.8731 9.58333 2.5 9.95642 2.5 10.4167V12.5C2.5 12.9602 2.8731 13.3333 3.33333 13.3333H4.58333C5.04357 13.3333 5.41667 12.9602 5.41667 12.5V10.4167C5.41667 9.95642 5.04357 9.58333 4.58333 9.58333H3.33333ZM7.91667 10.4167C7.91667 9.95642 8.28977 9.58333 8.75 9.58333H10C10.4602 9.58333 10.8333 9.95642 10.8333 10.4167V12.5C10.8333 12.9602 10.4602 13.3333 10 13.3333H8.75C8.28976 13.3333 7.91667 12.9602 7.91667 12.5V10.4167Z", fill: "#707070" })), Of = (d) => /* @__PURE__ */ Ke.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...d }, /* @__PURE__ */ Ke.createElement("path", { d: "M6 6L18 18", stroke: "#636971", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ Ke.createElement("path", { d: "M18 6L6 18", stroke: "#636971", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
39686
39686
  function s9({ venue: d, isCurrent: h, onVenueClicked: p }) {
39687
- const { t: g } = to(), [v, w] = ke({});
39687
+ const { t: g } = to(), [v, w] = Oe({});
39688
39688
  return Me(() => {
39689
39689
  const E = {};
39690
39690
  d.image && (E.backgroundImage = `url('${d.image}')`), w(E);
@@ -39858,7 +39858,7 @@ const Pi = {
39858
39858
  };
39859
39859
  let Z_;
39860
39860
  function $c({ children: d, isOpen: h, minHeight: p, preferredSizeSnapPoint: g, onSwipedToSnapPoint: v }) {
39861
- const w = ri(), E = ri(), [C, T] = ke(Pi.FIT), [D, k] = ke(!1), [B, U] = ke(), W = BE(WA), [tt, nt] = ke(), [Tt, wt] = ke({});
39861
+ const w = ri(), E = ri(), [C, T] = Oe(Pi.FIT), [D, k] = Oe(!1), [B, U] = Oe(), W = BE(WA), [tt, nt] = Oe(), [Tt, wt] = Oe({});
39862
39862
  function lt(ot) {
39863
39863
  ot === Pi.MIN && tt <= p || (C === Pi.FIT && (w.current.style.height = `${tt}px`), requestAnimationFrame(() => {
39864
39864
  switch (ot) {
@@ -39910,7 +39910,7 @@ function $c({ children: d, isOpen: h, minHeight: p, preferredSizeSnapPoint: g, o
39910
39910
  return /* @__PURE__ */ ct.jsx("div", { ...xt, ref: ft, style: Tt, className: `sheet ${h ? "sheet--active" : ""} ${D ? "sheet--dragging" : ""}`, children: /* @__PURE__ */ ct.jsx("div", { ref: E, className: "sheet__content", style: Tt, children: d }) });
39911
39911
  }
39912
39912
  const y9 = (d, h) => {
39913
- const [p, g] = ke(void 0), [v, w] = ke(void 0);
39913
+ const [p, g] = Oe(void 0), [v, w] = Oe(void 0);
39914
39914
  return Me(() => {
39915
39915
  const E = (C = !1) => {
39916
39916
  var D, k;
@@ -39933,7 +39933,7 @@ const zf = En({
39933
39933
  key: "hasFoundRoute",
39934
39934
  default: !0
39935
39935
  }), YA = (d, h, p, g, v) => {
39936
- const [w, E] = ke(), [C, T] = ke(), [D, k] = Ze(l0), [, B] = Ze(zf);
39936
+ const [w, E] = Oe(), [C, T] = Oe(), [D, k] = Ze(l0), [, B] = Ze(zf);
39937
39937
  return Me(() => {
39938
39938
  d != null && d.geometry && (h != null && h.geometry) && p.getRoute({
39939
39939
  origin: CE(d),
@@ -39972,18 +39972,18 @@ const zf = En({
39972
39972
  default: !1
39973
39973
  });
39974
39974
  function KA({ onBack: d, onStartWayfinding: h, onSetSize: p, snapPointSwiped: g, onStartDirections: v }) {
39975
- const { t: w } = to(), E = ri(null), C = ri(null), T = ri(null), [D, k] = ke(!1), [B, U] = ke(!1), [W, tt] = ke(!1), [nt, Tt] = ke(null), wt = ue(Sr), lt = ue(Ms), [xt, ft] = y9(lt, T), ot = Al(), Ft = ue(wo), Gt = ue(Wo), Qt = ue(Wy), [Z, jt] = ke(), [he, Pe] = ke(), Ut = Zo(), ve = ue(Bf), In = ue(Nf), [, , on] = YA(he, Z, Qt, ve, In);
39975
+ const { t: w } = to(), E = ri(null), C = ri(null), T = ri(null), [D, k] = Oe(!1), [B, U] = Oe(!1), [W, tt] = Oe(!1), [nt, Tt] = Oe(null), wt = ue(Sr), lt = ue(Ms), [xt, ft] = y9(lt, T), ot = Al(), Ft = ue(wo), Gt = ue(Wo), Qt = ue(Wy), [Z, jt] = Oe(), [he, Pe] = Oe(), Ut = Zo(), ve = ue(Bf), In = ue(Nf), [, , on] = YA(he, Z, Qt, ve, In);
39976
39976
  Me(() => {
39977
39977
  k(!1), U(!1), tt(!1), Tt(null), lt && (E.current.location = lt, Tt(wt.getDisplayRule(lt)), jt(lt)), Gt && Pe(Gt);
39978
39978
  }, [lt, wt, Gt]);
39979
- function ze(ht) {
39979
+ function Be(ht) {
39980
39980
  typeof p == "function" && p(ht);
39981
39981
  }
39982
39982
  Me(() => {
39983
39983
  g !== void 0 && (k(g === Pi.MAX), g === Pi.MAX ? Sn() : Rt());
39984
39984
  }, [g]);
39985
39985
  function pn() {
39986
- D === !1 ? (ze(Pi.MAX), Sn()) : (ze(Pi.FIT), Rt());
39986
+ D === !1 ? (Be(Pi.MAX), Sn()) : (Be(Pi.FIT), Rt());
39987
39987
  }
39988
39988
  function Sn() {
39989
39989
  requestAnimationFrame(() => {
@@ -40002,13 +40002,13 @@ function KA({ onBack: d, onStartWayfinding: h, onSetSize: p, snapPointSwiped: g,
40002
40002
  U(!1), tt(!1);
40003
40003
  }
40004
40004
  function Pt() {
40005
- k(!1), U(!1), tt(!1), ze(Pi.FIT), h();
40005
+ k(!1), U(!1), tt(!1), Be(Pi.FIT), h();
40006
40006
  }
40007
40007
  function Vt() {
40008
- k(!1), U(!1), tt(!1), ze(Pi.FIT), v();
40008
+ k(!1), U(!1), tt(!1), Be(Pi.FIT), v();
40009
40009
  }
40010
40010
  function me() {
40011
- k(!1), U(!1), tt(!1), ze(Pi.FIT), d();
40011
+ k(!1), U(!1), tt(!1), Be(Pi.FIT), d();
40012
40012
  }
40013
40013
  return /* @__PURE__ */ ct.jsx("div", { className: `location-details ${B ? "location-details--content-above" : ""} ${W ? "location-details--content-below" : ""}`, children: lt && /* @__PURE__ */ ct.jsxs(ct.Fragment, { children: [
40014
40014
  /* @__PURE__ */ ct.jsxs("div", { className: "location-info", children: [
@@ -40069,7 +40069,7 @@ function c0({ location: d, locationClicked: h, icon: p, isHovered: g }) {
40069
40069
  }, [d, h, g]), /* @__PURE__ */ ct.jsx("mi-list-item-location", { level: v("Level"), ref: w });
40070
40070
  }
40071
40071
  const b9 = () => {
40072
- const [d, h] = ke(), p = ue(Sr), g = ue(n0);
40072
+ const [d, h] = Oe(), p = ue(Sr), g = ue(n0);
40073
40073
  return Me(() => {
40074
40074
  function v() {
40075
40075
  const w = p.getMapView().getCenter();
@@ -40230,7 +40230,7 @@ const Xi = {
40230
40230
  FROM: "FROM"
40231
40231
  }, R9 = "data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 14 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 0C3.13 0 0 3.13 0 7C0 12.25 7 20 7 20C7 20 14 12.25 14 7C14 3.13 10.87 0 7 0ZM7 9.5C5.62 9.5 4.5 8.38 4.5 7C4.5 5.62 5.62 4.5 7 4.5C8.38 4.5 9.5 5.62 9.5 7C9.5 8.38 8.38 9.5 7 9.5Z' fill='black' fill-opacity='0.88'/%3E%3C/svg%3E%0A";
40232
40232
  function tC({ onStartDirections: d, onBack: h, directionsToLocation: p, directionsFromLocation: g, onSetSize: v, isActive: w }) {
40233
- const { t: E } = to(), C = ri(), T = ri(), D = ri(), k = ri(), B = ue(Wy), U = ue(Rf), W = ue(Ms), tt = ue(Xy), nt = ue(wo), [Tt, wt] = ke(), [, lt] = Ze(l0), [xt, ft] = ke(!0), [ot, Ft] = ke(!1), [Gt, Qt] = ke([]), [Z, jt] = ke(), [he, Pe] = ke(), Ut = ue(Nf), ve = Al(), [In, on] = ke(!1), [ze, pn] = Ze(Bf), [Sn, Rt] = ke(!1), yt = ue(uu), gt = ue(C9), [Pt, Vt, me] = YA(he, Z, B, ze, Ut);
40233
+ const { t: E } = to(), C = ri(), T = ri(), D = ri(), k = ri(), B = ue(Wy), U = ue(Rf), W = ue(Ms), tt = ue(Xy), nt = ue(wo), [Tt, wt] = Oe(), [, lt] = Ze(l0), [xt, ft] = Oe(!0), [ot, Ft] = Oe(!1), [Gt, Qt] = Oe([]), [Z, jt] = Oe(), [he, Pe] = Oe(), Ut = ue(Nf), ve = Al(), [In, on] = Oe(!1), [Be, pn] = Ze(Bf), [Sn, Rt] = Oe(!1), yt = ue(uu), gt = ue(C9), [Pt, Vt, me] = YA(he, Z, B, Be, Ut);
40234
40234
  function ht(G) {
40235
40235
  return tt === sr.Google && G.properties.type === "google_places" ? w9(G) : tt === sr.Mapbox && G.properties.type === "mapbox_places" ? A9(G, yt) : Promise.resolve(G);
40236
40236
  }
@@ -40397,9 +40397,9 @@ function tC({ onStartDirections: d, onBack: h, directionsToLocation: p, directio
40397
40397
  /* @__PURE__ */ ct.jsx("hr", {}),
40398
40398
  /* @__PURE__ */ ct.jsxs("div", { className: "wayfinding__info", children: [
40399
40399
  /* @__PURE__ */ ct.jsxs("div", { className: "wayfinding__distance", children: [
40400
- ze === oa.WALKING && /* @__PURE__ */ ct.jsx(ME, {}),
40401
- ze === oa.DRIVING && /* @__PURE__ */ ct.jsx(IE, {}),
40402
- ze === oa.BICYCLING && /* @__PURE__ */ ct.jsx(RE, {}),
40400
+ Be === oa.WALKING && /* @__PURE__ */ ct.jsx(ME, {}),
40401
+ Be === oa.DRIVING && /* @__PURE__ */ ct.jsx(IE, {}),
40402
+ Be === oa.BICYCLING && /* @__PURE__ */ ct.jsx(RE, {}),
40403
40403
  /* @__PURE__ */ ct.jsxs("div", { children: [
40404
40404
  E("Distance"),
40405
40405
  ":"
@@ -40507,7 +40507,7 @@ const L9 = (d) => /* @__PURE__ */ Ke.createElement("svg", { width: 24, height: 2
40507
40507
  default: !1
40508
40508
  });
40509
40509
  function B9({ steps: d, onNextStep: h, onPreviousStep: p, originLocation: g, isOpen: v, onFitCurrentDirections: w }) {
40510
- const { t: E } = to(), C = Al(), T = ri(), [D, k] = ke(), [B, U] = Ze(u0), [W, tt] = ke(), nt = ue(zf), Tt = ue(Sr), wt = ue(pu), [, lt] = Ze(eC), xt = z9(), ft = fu();
40510
+ const { t: E } = to(), C = Al(), T = ri(), [D, k] = Oe(), [B, U] = Ze(u0), [W, tt] = Oe(), nt = ue(zf), Tt = ue(Sr), wt = ue(pu), [, lt] = Ze(eC), xt = z9(), ft = fu();
40511
40511
  Me(() => {
40512
40512
  const Qt = { ...d[d.length - 1] };
40513
40513
  Qt.travel_mode = "DESTINATION", Qt.steps = null, d.push(Qt), tt(d);
@@ -40572,47 +40572,47 @@ const Ff = En({
40572
40572
  });
40573
40573
  let Zi;
40574
40574
  function nC({ isOpen: d, onBack: h, onSetSize: p, snapPointSwiped: g, onRouteFinished: v }) {
40575
- const { t: w } = to(), [E, C] = ke(null), T = ri(null), [D, k] = ke(), B = ue(Sr), U = ue(Bf), W = ue(zf), [, tt] = Ze(u0), [nt, Tt] = Ze(pu), wt = ue(Wo), lt = Zo(), [, xt] = Ze(Ff), ft = ue(eC), ot = ue(wo), Ft = fu();
40575
+ const { t: w } = to(), [E, C] = Oe(null), T = ri(null), [D, k] = Oe(), B = ue(Sr), U = ue(Bf), W = ue(zf), [, tt] = Ze(u0), [nt, Tt] = Ze(pu), wt = ue(Wo), lt = Zo(), [, xt] = Ze(Ff), ft = ue(eC), ot = ue(wo), Ft = fu();
40576
40576
  Me(() => {
40577
40577
  if (C(null), d && W) {
40578
40578
  k(W.totalTime);
40579
- const ze = Math.min(window.innerHeight, window.innerWidth) * 0.06;
40580
- Zi == null || Zi.setRoute(null), Zi = null, Promise.all([Gt(ze), Qt(ze)]).then(([pn, Sn]) => {
40579
+ const Be = Math.min(window.innerHeight, window.innerWidth) * 0.06;
40580
+ Zi == null || Zi.setRoute(null), Zi = null, Promise.all([Gt(Be), Qt(Be)]).then(([pn, Sn]) => {
40581
40581
  Zi = new window.mapsindoors.directions.DirectionsRenderer({
40582
40582
  mapsIndoors: B,
40583
40583
  fitBoundsPadding: {
40584
- top: ze,
40584
+ top: Be,
40585
40585
  bottom: pn,
40586
40586
  left: Sn,
40587
- right: ze
40587
+ right: Be
40588
40588
  }
40589
40589
  }), Zi.setRoute(W.directionsResult), Zi.setStepIndex(0), T.current.location = W.destinationLocation, W.destinationLocation.id === "USER_POSITION" ? C(null) : C(B.getDisplayRule(W.destinationLocation));
40590
40590
  });
40591
40591
  }
40592
40592
  }, [d, W, B, U]);
40593
- function Gt(ze) {
40593
+ function Gt(Be) {
40594
40594
  return new Promise((pn) => {
40595
40595
  if (lt)
40596
- wt ? Qy().then((Sn) => pn(Sn)) : pn(ze);
40596
+ wt ? Qy().then((Sn) => pn(Sn)) : pn(Be);
40597
40597
  else
40598
40598
  return zA().then((Sn) => pn(Sn));
40599
40599
  });
40600
40600
  }
40601
- function Qt(ze) {
40601
+ function Qt(Be) {
40602
40602
  return new Promise((pn) => {
40603
- lt ? wt ? pn(ze) : e0().then((Sn) => pn(Sn)) : pn(ze);
40603
+ lt ? wt ? pn(Be) : e0().then((Sn) => pn(Sn)) : pn(Be);
40604
40604
  });
40605
40605
  }
40606
40606
  Me(() => {
40607
40607
  !d && Zi && Ut();
40608
40608
  }, [d]);
40609
40609
  function Z() {
40610
- return W ? W.directionsResult.legs.reduce((ze, pn) => {
40610
+ return W ? W.directionsResult.legs.reduce((Be, pn) => {
40611
40611
  for (const Sn in pn.steps) {
40612
40612
  const Rt = pn.steps[Sn];
40613
- ze.push(Rt);
40613
+ Be.push(Rt);
40614
40614
  }
40615
- return ze;
40615
+ return Be;
40616
40616
  }, []) : [];
40617
40617
  }
40618
40618
  function jt() {
@@ -40633,8 +40633,8 @@ function nC({ isOpen: d, onBack: h, onSetSize: p, snapPointSwiped: g, onRouteFin
40633
40633
  function In() {
40634
40634
  ve(), Ut(), h();
40635
40635
  }
40636
- function on(ze) {
40637
- typeof p == "function" && p(ze);
40636
+ function on(Be) {
40637
+ typeof p == "function" && p(Be);
40638
40638
  }
40639
40639
  return Me(() => {
40640
40640
  on(nt ? Pi.MAX : Pi.FIT);
@@ -40699,7 +40699,7 @@ const iC = En({
40699
40699
  });
40700
40700
  const F9 = (d) => /* @__PURE__ */ Ke.createElement("svg", { width: 28, height: 28, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...d }, /* @__PURE__ */ Ke.createElement("path", { d: "M10.5 7.00006L17.5 14.0001L10.5 21.0001", stroke: "#1F2937", strokeWidth: 2.33333, strokeLinecap: "round", strokeLinejoin: "round" })), U9 = (d) => /* @__PURE__ */ Ke.createElement("svg", { width: 28, height: 28, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...d }, /* @__PURE__ */ Ke.createElement("path", { d: "M17.5 20.9999L10.5 13.9999L17.5 6.99994", stroke: "#1F2937", strokeWidth: 2.33333, strokeLinecap: "round", strokeLinejoin: "round" }));
40701
40701
  function j9({ onSetSize: d, getFilteredLocations: h, searchFieldRef: p }) {
40702
- const g = ri(), v = ue(hu), w = Zo(), [E, C] = ke(!0), [T, D] = ke(!1), k = ue(wo), [B, U] = Ze(rC), [, W] = Ze(h0), [, tt] = Ze(Pf), nt = Al();
40702
+ const g = ri(), v = ue(hu), w = Zo(), [E, C] = Oe(!0), [T, D] = Oe(!1), k = ue(wo), [B, U] = Ze(rC), [, W] = Ze(h0), [, tt] = Ze(Pf), nt = Al();
40703
40703
  function Tt(ft) {
40704
40704
  typeof d == "function" && d(ft);
40705
40705
  }
@@ -40752,8 +40752,8 @@ function j9({ onSetSize: d, getFilteredLocations: h, searchFieldRef: p }) {
40752
40752
  ] }) });
40753
40753
  }
40754
40754
  function oC({ onSetSize: d, isOpen: h }) {
40755
- const { t: p } = to(), g = ri(), v = ri(), w = ri(), E = ri(), [C, T] = ke(!0), [D, k] = Ze(h0), B = ue(hu), U = ue(iC), [W, tt] = ke(!1), [nt, Tt] = Ze(rC), wt = Al(), [lt, xt] = ke(), ft = ue(Sr), [, ot] = Ze(Pf), [, Ft] = Ze(Ms), [, Gt] = Ze(a0), [Qt, Z] = Ze(Df), jt = ue(du), he = Zo(), Pe = ue(Wo), [Ut, ve] = ke(!1), In = ue(JA), on = fu();
40756
- function ze(Lt) {
40755
+ const { t: p } = to(), g = ri(), v = ri(), w = ri(), E = ri(), [C, T] = Oe(!0), [D, k] = Ze(h0), B = ue(hu), U = ue(iC), [W, tt] = Oe(!1), [nt, Tt] = Ze(rC), wt = Al(), [lt, xt] = Oe(), ft = ue(Sr), [, ot] = Ze(Pf), [, Ft] = Ze(Ms), [, Gt] = Ze(a0), [Qt, Z] = Ze(Df), jt = ue(du), he = Zo(), Pe = ue(Wo), [Ut, ve] = Oe(!1), In = ue(JA), on = fu();
40756
+ function Be(Lt) {
40757
40757
  window.mapsindoors.services.LocationsService.getLocations({
40758
40758
  categories: Lt,
40759
40759
  venue: Pe && on ? Pe.properties.venueId : void 0
@@ -40766,7 +40766,7 @@ function oC({ onSetSize: d, isOpen: h }) {
40766
40766
  k(Lt), ot(Lt), tt(Lt.length === 0);
40767
40767
  }
40768
40768
  function Rt() {
40769
- k([]), tt(!1), nt && ze(nt), ot([]), E.current !== null && E.current.clearInputField();
40769
+ k([]), tt(!1), nt && Be(nt), ot([]), E.current !== null && E.current.clearInputField();
40770
40770
  }
40771
40771
  function yt() {
40772
40772
  pn(Pi.MAX), T(!1), w.current.getInputField();
@@ -40849,7 +40849,7 @@ function oC({ onSetSize: d, isOpen: h }) {
40849
40849
  {
40850
40850
  onSetSize: d,
40851
40851
  searchFieldRef: w,
40852
- getFilteredLocations: (Lt) => ze(Lt)
40852
+ getFilteredLocations: (Lt) => Be(Lt)
40853
40853
  }
40854
40854
  ),
40855
40855
  W && /* @__PURE__ */ ct.jsxs("p", { className: "search__error", children: [
@@ -40903,7 +40903,7 @@ function sC({ onBack: d, onLocationClick: h, locations: p, onSetSize: g }) {
40903
40903
  ] });
40904
40904
  }
40905
40905
  function V9({ directionsFromLocation: d, directionsToLocation: h, pushAppView: p, currentAppView: g, appViews: v, onRouteFinished: w }) {
40906
- const E = ri(), [C, T] = ke(), [D, k] = ke(), [B, U] = ke(), [W, tt] = ke(), [nt, Tt] = ke(), [wt, lt] = ke(), [xt, ft] = ke(), ot = ue(hu), [Ft, Gt] = Ze(Ms), [Qt, Z] = Ze(Lf), [, jt] = Ze(kf);
40906
+ const E = ri(), [C, T] = Oe(), [D, k] = Oe(), [B, U] = Oe(), [W, tt] = Oe(), [nt, Tt] = Oe(), [wt, lt] = Oe(), [xt, ft] = Oe(), ot = ue(hu), [Ft, Gt] = Ze(Ms), [Qt, Z] = Ze(Lf), [, jt] = Ze(kf);
40907
40907
  Me(() => {
40908
40908
  d && h && g === v.DIRECTIONS || (d && h || d ? p(v.WAYFINDING) : Ft ? p(v.LOCATION_DETAILS, Ft) : (Qt == null ? void 0 : Qt.length) > 1 ? p(v.EXTERNALIDS) : (Qt == null ? void 0 : Qt.length) === 1 ? (Gt(Qt[0]), jt(Qt[0].id)) : p(v.SEARCH));
40909
40909
  }, [Ft, d, h, Qt]);
@@ -41020,7 +41020,7 @@ const $9 = {
41020
41020
  WAYFINDING: "WAYFINDING",
41021
41021
  DIRECTIONS: "DIRECTIONS"
41022
41022
  }, G9 = () => {
41023
- const [d, h] = ke(void 0), [p, g] = ke(), [v, w] = ke(null);
41023
+ const [d, h] = Oe(void 0), [p, g] = Oe(), [v, w] = Oe(null);
41024
41024
  Me(() => {
41025
41025
  function D(k) {
41026
41026
  var B, U;
@@ -41046,7 +41046,7 @@ function q9() {
41046
41046
  };
41047
41047
  }
41048
41048
  function Gc({ children: d, isOpen: h }) {
41049
- const [p, g] = ke(!1), v = ue(pu), w = ue(Wo), E = ri(), C = ri();
41049
+ const [p, g] = Oe(!1), v = ue(pu), w = ue(Wo), E = ri(), C = ri();
41050
41050
  return Me(() => {
41051
41051
  if (!C)
41052
41052
  return;
@@ -41122,7 +41122,7 @@ function Z9({ directionsFromLocation: d, directionsToLocation: h, pushAppView: p
41122
41122
  return /* @__PURE__ */ ct.jsx("div", { children: nt });
41123
41123
  }
41124
41124
  const PE = (d) => {
41125
- const [h, p] = ke(), g = ue(Rf), v = ue(IA);
41125
+ const [h, p] = Oe(), g = ue(Rf), v = ue(IA);
41126
41126
  return Me(() => {
41127
41127
  v && d && (d === "USER_POSITION" && !g ? (p("USER_POSITION_PENDING"), v.watchPosition()) : d !== "USER_POSITION" && window.mapsindoors.services.LocationsService.getLocation(d).then((w) => p(w)), g && d === "USER_POSITION" && p(by(g)));
41128
41128
  }, [d, g, v]), h;
@@ -42663,19 +42663,19 @@ const NU = En({
42663
42663
  });
42664
42664
  L8();
42665
42665
  function FU({ apiKey: d, gmApiKey: h, mapboxAccessToken: p, venue: g, locationId: v, primaryColor: w, logo: E, appUserRoles: C, directionsFrom: T, directionsTo: D, externalIDs: k, tileStyle: B, startZoomLevel: U, bearing: W, pitch: tt, gmMapId: nt, useMapProviderModule: Tt, kioskOriginLocationId: wt, language: lt, supportsUrlParameters: xt, useKeyboard: ft, timeout: ot, miTransitionLevel: Ft }) {
42666
- const [, Gt] = Ze(Yy), [, Qt] = Ze(If), [, Z] = Ze(uu), [jt, he] = Ze(n0), [Pe, Ut] = Ze(t0), [, ve] = Ze(OA), [In, on] = Ze(Ms), [ze, pn] = Ze(hu), [, Sn] = Ze(kf), [, Rt] = Ze(wo), [, yt] = Ze(r0), [, gt] = Ze(SA), Pt = ue(Sr), [Vt, me] = Ze(du), [, ht] = Ze(Wo), [, Lt] = Ze(DA), [, pe] = Ze(BA), se = NA(), [, Re] = Ze(NU), [, xn] = Ze(iC), [, re] = Ze(CA), [qe, ei] = ke(!0), [Ti, kt] = ke(!0), V = PE(T), q = PE(D), [G, It] = ke(!1), [, Ot] = Ze(Lf), [ie, ye] = Ze(Pf), [Bt, we] = ke(), [Ae, Ie] = ke(), [, Nn] = Ze(Ky), [, Xn] = Ze(MA), [, gi] = Ze(kA), [, Wn] = Ze(lu), [, Jn] = Ze(cu), Un = Zo(), Di = TA("(max-width: 991px)"), Et = q9(), _t = i0(), [te, Se, ce, Te, Oe, We] = G9(), rt = ri(), [dt, Mt] = ke(!1), Nt = ue(Ff), [zt, Ht] = ke(0);
42666
+ const [, Gt] = Ze(Yy), [, Qt] = Ze(If), [, Z] = Ze(uu), [jt, he] = Ze(n0), [Pe, Ut] = Ze(t0), [, ve] = Ze(OA), [In, on] = Ze(Ms), [Be, pn] = Ze(hu), [, Sn] = Ze(kf), [, Rt] = Ze(wo), [, yt] = Ze(r0), [, gt] = Ze(SA), Pt = ue(Sr), [Vt, me] = Ze(du), [, ht] = Ze(Wo), [, Lt] = Ze(DA), [, pe] = Ze(BA), se = NA(), [, Re] = Ze(NU), [, xn] = Ze(iC), [, re] = Ze(CA), [qe, ei] = Oe(!0), [Ti, kt] = Oe(!0), V = PE(T), q = PE(D), [G, It] = Oe(!1), [, Ot] = Ze(Lf), [ie, ye] = Ze(Pf), [Bt, we] = Oe(), [Ae, Ie] = Oe(), [, Nn] = Ze(Ky), [, Xn] = Ze(MA), [, gi] = Ze(kA), [, Wn] = Ze(lu), [, Jn] = Ze(cu), Un = Zo(), Di = TA("(max-width: 991px)"), Et = q9(), _t = i0(), [te, Se, ce, Te, ze, We] = G9(), rt = ri(), [dt, Mt] = Oe(!1), Nt = ue(Ff), [zt, Ht] = Oe(0);
42667
42667
  function Kt() {
42668
42668
  return new Promise((Wt) => {
42669
42669
  if (window.mapsindoors !== void 0)
42670
42670
  return Wt();
42671
- const Ne = document.createElement("script");
42672
- Ne.setAttribute("type", "text/javascript"), Ne.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.30.0/mapsindoors-4.30.0.js.gz"), document.body.appendChild(Ne), Ne.onload = () => {
42671
+ const Le = document.createElement("script");
42672
+ Le.setAttribute("type", "text/javascript"), Le.setAttribute("src", "https://app.mapsindoors.com/mapsindoors/js/sdk/4.30.0/mapsindoors-4.30.0.js.gz"), Le.setAttribute("integrity", "sha384-QNeuSSN5hFRZ8W3bz+zYa75qLWvbci+FuIzmRbQOmaPMyHi7R9XgQXiFjKYvW2n+"), Le.setAttribute("crossorigin", "anonymous"), document.body.appendChild(Le), Le.onload = () => {
42673
42673
  Wt();
42674
42674
  };
42675
42675
  });
42676
42676
  }
42677
42677
  Me(() => {
42678
- se && Be();
42678
+ se && Ne();
42679
42679
  }, [se]), Me(() => {
42680
42680
  Kt().then(() => {
42681
42681
  Mt(!0);
@@ -42684,9 +42684,9 @@ function FU({ apiKey: d, gmApiKey: h, mapboxAccessToken: p, venue: g, locationId
42684
42684
  if (dt) {
42685
42685
  const Wt = lt || navigator.language;
42686
42686
  window.mapsindoors.MapsIndoors.setLanguage(Wt), window.mapsindoors.services.LocationsService.once("update_completed", () => {
42687
- ze.length > 0 && Jt(g), Pe.length > 0 && window.mapsindoors.services.VenuesService.getVenues().then((Ne) => {
42688
- Ne = Ne.map((et) => (et.image = Ae.venueImages[et.name.toLowerCase()], et)), Ut(Ne);
42689
- }), In && window.mapsindoors.services.LocationsService.getLocation(In.id).then((Ne) => on(Ne));
42687
+ Be.length > 0 && Jt(g), Pe.length > 0 && window.mapsindoors.services.VenuesService.getVenues().then((Le) => {
42688
+ Le = Le.map((et) => (et.image = Ae.venueImages[et.name.toLowerCase()], et)), Ut(Le);
42689
+ }), In && window.mapsindoors.services.LocationsService.getLocation(In.id).then((Le) => on(Le));
42690
42690
  }), Vt ? tr.changeLanguage(Wt) : y7(Wt), me(Wt);
42691
42691
  }
42692
42692
  }, [lt, dt]), Me(() => {
@@ -42699,16 +42699,16 @@ function FU({ apiKey: d, gmApiKey: h, mapboxAccessToken: p, venue: g, locationId
42699
42699
  window.mapsindoors.services.SolutionsService.getSolution().then((Wt) => (Nn(Wt), Wt)),
42700
42700
  // Ensure a minimum waiting time of 3 seconds
42701
42701
  new Promise((Wt) => setTimeout(Wt, 3e3))
42702
- ]).then(([Wt, Ne]) => {
42703
- Wt = Wt.map((et) => (et.image = Ne.venueImages[et.name.toLowerCase()], et)), Ut(Wt);
42702
+ ]).then(([Wt, Le]) => {
42703
+ Wt = Wt.map((et) => (et.image = Le.venueImages[et.name.toLowerCase()], et)), Ut(Wt);
42704
42704
  }), he(!1));
42705
42705
  }, [d, dt]), Me(() => {
42706
- var Wt, Ne;
42707
- dt && Ae && (Z(p || ((Wt = Ae.appSettings) == null ? void 0 : Wt.mapboxAccessToken)), Qt(h || ((Ne = Ae.appSettings) == null ? void 0 : Ne.gmKey)));
42706
+ var Wt, Le;
42707
+ dt && Ae && (Z(p || ((Wt = Ae.appSettings) == null ? void 0 : Wt.mapboxAccessToken)), Qt(h || ((Le = Ae.appSettings) == null ? void 0 : Le.gmKey)));
42708
42708
  }, [h, p, dt, Ae]), Me(() => {
42709
42709
  dt && window.mapsindoors.services.SolutionsService.getUserRoles().then((Wt) => {
42710
- const Ne = Wt.filter((et) => C == null ? void 0 : C.includes(et.name));
42711
- window.mapsindoors.MapsIndoors.setUserRoles(Ne);
42710
+ const Le = Wt.filter((et) => C == null ? void 0 : C.includes(et.name));
42711
+ window.mapsindoors.MapsIndoors.setUserRoles(Le);
42712
42712
  });
42713
42713
  }, [C, dt]), Me(() => {
42714
42714
  dt && (k ? window.mapsindoors.services.LocationsService.getLocationsByExternalId(k).then((Wt) => {
@@ -42721,7 +42721,7 @@ function FU({ apiKey: d, gmApiKey: h, mapboxAccessToken: p, venue: g, locationId
42721
42721
  }, [v, dt, zt]), Me(() => {
42722
42722
  dt && gt(nt);
42723
42723
  }, [nt, dt]), Me(() => {
42724
- ce === Oe.LOCATION_DETAILS && Te && !In && on(Te), rt.current = ce === Oe.DIRECTIONS, rt.current ? (we(ie), ye([])) : ye(Bt);
42724
+ ce === ze.LOCATION_DETAILS && Te && !In && on(Te), rt.current = ce === ze.DIRECTIONS, rt.current ? (we(ie), ye([])) : ye(Bt);
42725
42725
  }, [ce]), Me(() => {
42726
42726
  ve(g), _t(g);
42727
42727
  }, [g]), Me(() => {
@@ -42758,28 +42758,28 @@ function FU({ apiKey: d, gmApiKey: h, mapboxAccessToken: p, venue: g, locationId
42758
42758
  rt.current !== !0 && Wt.id !== wt && on(Wt);
42759
42759
  }
42760
42760
  function Jt(Wt) {
42761
- window.mapsindoors.services.LocationsService.getLocations({}).then((Ne) => {
42762
- const et = Ne.filter((qt) => qt.properties.venueId === Wt);
42761
+ window.mapsindoors.services.LocationsService.getLocations({}).then((Le) => {
42762
+ const et = Le.filter((qt) => qt.properties.venueId === Wt);
42763
42763
  Dn(et);
42764
42764
  });
42765
42765
  }
42766
- function Be() {
42766
+ function Ne() {
42767
42767
  Et(), We(), Ht((Wt) => Wt + 1);
42768
42768
  }
42769
42769
  function Dn(Wt) {
42770
- let Ne = /* @__PURE__ */ new Map();
42770
+ let Le = /* @__PURE__ */ new Map();
42771
42771
  for (const et of Wt) {
42772
42772
  const qt = Object.keys(et.properties.categories);
42773
42773
  for (const oe of qt) {
42774
- const Le = Ae.menuInfo.mainmenu.find((bn) => bn.categoryKey === oe);
42775
- if (Ne.has(oe)) {
42776
- let bn = Ne.get(oe).count;
42777
- Ne.set(oe, { count: ++bn, displayName: et.properties.categories[oe], iconUrl: Le == null ? void 0 : Le.iconUrl });
42774
+ const De = Ae.menuInfo.mainmenu.find((bn) => bn.categoryKey === oe);
42775
+ if (Le.has(oe)) {
42776
+ let bn = Le.get(oe).count;
42777
+ Le.set(oe, { count: ++bn, displayName: et.properties.categories[oe], iconUrl: De == null ? void 0 : De.iconUrl });
42778
42778
  } else
42779
- Ne.set(oe, { count: 1, displayName: et.properties.categories[oe], iconUrl: Le == null ? void 0 : Le.iconUrl });
42779
+ Le.set(oe, { count: 1, displayName: et.properties.categories[oe], iconUrl: De == null ? void 0 : De.iconUrl });
42780
42780
  }
42781
42781
  }
42782
- Ne = Array.from(Ne).sort((et, qt) => qt[1].count - et[1].count), pn(Ne);
42782
+ Le = Array.from(Le).sort((et, qt) => qt[1].count - et[1].count), pn(Le);
42783
42783
  }
42784
42784
  return /* @__PURE__ */ ct.jsxs("div", { className: `mapsindoors-map ${rt.current ? "mapsindoors-map--hide-elements" : "mapsindoors-map--show-elements"} ${Ti ? "mapsindoors-map--show-my-position" : "mapsindoors-map--hide-my-position"}`, children: [
42785
42785
  /* @__PURE__ */ ct.jsx(H9, {}),
@@ -42787,9 +42787,9 @@ function FU({ apiKey: d, gmApiKey: h, mapboxAccessToken: p, venue: g, locationId
42787
42787
  Pe.length > 1 && qe && /* @__PURE__ */ ct.jsx(
42788
42788
  a9,
42789
42789
  {
42790
- onOpen: () => te(Oe.VENUE_SELECTOR),
42790
+ onOpen: () => te(ze.VENUE_SELECTOR),
42791
42791
  onClose: () => Se(),
42792
- active: ce === Oe.VENUE_SELECTOR
42792
+ active: ce === ze.VENUE_SELECTOR
42793
42793
  }
42794
42794
  ),
42795
42795
  Nt && /* @__PURE__ */ ct.jsx(BU, {}),
@@ -42801,8 +42801,8 @@ function FU({ apiKey: d, gmApiKey: h, mapboxAccessToken: p, venue: g, locationId
42801
42801
  directionsToLocation: q,
42802
42802
  pushAppView: te,
42803
42803
  currentAppView: ce,
42804
- appViews: Oe,
42805
- onRouteFinished: () => Be()
42804
+ appViews: ze,
42805
+ onRouteFinished: () => Ne()
42806
42806
  }
42807
42807
  ),
42808
42808
  Di && /* @__PURE__ */ ct.jsx(
@@ -42812,8 +42812,8 @@ function FU({ apiKey: d, gmApiKey: h, mapboxAccessToken: p, venue: g, locationId
42812
42812
  directionsToLocation: q,
42813
42813
  pushAppView: te,
42814
42814
  currentAppView: ce,
42815
- appViews: Oe,
42816
- onRouteFinished: () => Be()
42815
+ appViews: ze,
42816
+ onRouteFinished: () => Ne()
42817
42817
  }
42818
42818
  )
42819
42819
  ] }, zt),
@@ -42829,7 +42829,7 @@ function FU({ apiKey: d, gmApiKey: h, mapboxAccessToken: p, venue: g, locationId
42829
42829
  ] });
42830
42830
  }
42831
42831
  function qU(d) {
42832
- const [h, p] = ke();
42832
+ const [h, p] = Oe();
42833
42833
  return Me(() => {
42834
42834
  var Pe, Ut;
42835
42835
  const g = window.location.search, v = new URLSearchParams(g), w = {