@mapsindoors/map-template 1.9.0 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/{combo-box-item.entry-491f3a23.mjs → combo-box-item.entry-38e7e2f3.mjs} +1 -1
  2. package/dist/{combo-box-item.entry-a27edde5.mjs → combo-box-item.entry-50afb9ae.mjs} +1 -1
  3. package/dist/mapsindoors-react.es.js +1 -1
  4. package/dist/mapsindoors-react.umd.js +2 -2
  5. package/dist/mapsindoors-webcomponent.es.js +1 -1
  6. package/dist/mapsindoors-webcomponent.umd.js +1 -1
  7. package/dist/{mi-card_2.entry-f9e647ca.mjs → mi-card_2.entry-03722f6d.mjs} +1 -1
  8. package/dist/{mi-card_2.entry-b3cae653.mjs → mi-card_2.entry-50ad757c.mjs} +1 -1
  9. package/dist/{mi-chip.entry-c6e8dfda.mjs → mi-chip.entry-35cbf24e.mjs} +1 -1
  10. package/dist/{mi-chip.entry-a420c55c.mjs → mi-chip.entry-ecfbf5a3.mjs} +1 -1
  11. package/dist/{mi-column.entry-5200d1f6.mjs → mi-column.entry-4ca73dff.mjs} +1 -1
  12. package/dist/{mi-column.entry-c1afada2.mjs → mi-column.entry-528331d0.mjs} +1 -1
  13. package/dist/{mi-combo-box.entry-c8c842b6.mjs → mi-combo-box.entry-c4d38755.mjs} +1 -1
  14. package/dist/{mi-combo-box.entry-ccddcd3e.mjs → mi-combo-box.entry-d28dfefd.mjs} +1 -1
  15. package/dist/{mi-data-table.entry-e0fa53db.mjs → mi-data-table.entry-4a5c6b59.mjs} +1 -1
  16. package/dist/{mi-data-table.entry-1a3da6c8.mjs → mi-data-table.entry-f75d6c95.mjs} +1 -1
  17. package/dist/{mi-distance_2.entry-fda0b47c.mjs → mi-distance_2.entry-054e576b.mjs} +1 -1
  18. package/dist/{mi-distance_2.entry-6fd1425f.mjs → mi-distance_2.entry-20223924.mjs} +1 -1
  19. package/dist/{mi-dropdown-item.entry-4d659dbf.mjs → mi-dropdown-item.entry-29b133de.mjs} +1 -1
  20. package/dist/{mi-dropdown-item.entry-8534b3e9.mjs → mi-dropdown-item.entry-64fa259f.mjs} +1 -1
  21. package/dist/{mi-dropdown.entry-7a129220.mjs → mi-dropdown.entry-c45b26bc.mjs} +1 -1
  22. package/dist/{mi-dropdown.entry-1ea98a50.mjs → mi-dropdown.entry-ff5b449a.mjs} +1 -1
  23. package/dist/{mi-floor-selector.entry-a6a1a59b.mjs → mi-floor-selector.entry-743d69d3.mjs} +1 -1
  24. package/dist/{mi-floor-selector.entry-c2dd39b8.mjs → mi-floor-selector.entry-d1c4e970.mjs} +1 -1
  25. package/dist/{mi-keyboard.entry-21ad76e3.mjs → mi-keyboard.entry-94fd2bb2.mjs} +1 -1
  26. package/dist/{mi-keyboard.entry-3ff05804.mjs → mi-keyboard.entry-b5db1fea.mjs} +1 -1
  27. package/dist/{mi-list-item-category.entry-acb3a4e6.mjs → mi-list-item-category.entry-0838c9d6.mjs} +1 -1
  28. package/dist/{mi-list-item-category.entry-1a7d378a.mjs → mi-list-item-category.entry-fa4f755f.mjs} +1 -1
  29. package/dist/{mi-list-item-location.entry-66de0f61.mjs → mi-list-item-location.entry-c9128206.mjs} +1 -1
  30. package/dist/{mi-list-item-location.entry-4541e6b0.mjs → mi-list-item-location.entry-f7494c9c.mjs} +1 -1
  31. package/dist/{mi-list.entry-0a5883c0.mjs → mi-list.entry-bdeb8b42.mjs} +1 -1
  32. package/dist/{mi-list.entry-49686cb4.mjs → mi-list.entry-f6c4d013.mjs} +1 -1
  33. package/dist/{mi-location-booking.entry-fbb21d88.mjs → mi-location-booking.entry-15eeb862.mjs} +1 -1
  34. package/dist/{mi-location-booking.entry-447ed30f.mjs → mi-location-booking.entry-6c78c991.mjs} +1 -1
  35. package/dist/{mi-location-info.entry-1e179751.mjs → mi-location-info.entry-3baf42a6.mjs} +1 -1
  36. package/dist/{mi-location-info.entry-76a928d0.mjs → mi-location-info.entry-92c06835.mjs} +1 -1
  37. package/dist/{mi-map-googlemaps.entry-82d5c9f4.mjs → mi-map-googlemaps.entry-82a93a0a.mjs} +1 -1
  38. package/dist/{mi-map-googlemaps.entry-2d0dafa9.mjs → mi-map-googlemaps.entry-e6d04e46.mjs} +1 -1
  39. package/dist/{mi-map-mapbox.entry-c251cd7f.mjs → mi-map-mapbox.entry-77b461b2.mjs} +1 -1
  40. package/dist/{mi-map-mapbox.entry-7ff6abbb.mjs → mi-map-mapbox.entry-e95960ff.mjs} +1 -1
  41. package/dist/{mi-metric-card.entry-582fbaa9.mjs → mi-metric-card.entry-2cd3f434.mjs} +1 -1
  42. package/dist/{mi-metric-card.entry-a1083af0.mjs → mi-metric-card.entry-66e5521e.mjs} +1 -1
  43. package/dist/{mi-my-position.entry-cb79266c.mjs → mi-my-position.entry-6e028369.mjs} +1 -1
  44. package/dist/{mi-my-position.entry-45dff65a.mjs → mi-my-position.entry-bb7cf823.mjs} +1 -1
  45. package/dist/{mi-notification.entry-cfeb1dde.mjs → mi-notification.entry-fb345fd2.mjs} +1 -1
  46. package/dist/{mi-notification.entry-502af68b.mjs → mi-notification.entry-fcbd36ee.mjs} +1 -1
  47. package/dist/{mi-route-instructions-heading.entry-d59618f0.mjs → mi-route-instructions-heading.entry-3d1ae21a.mjs} +1 -1
  48. package/dist/{mi-route-instructions-heading.entry-79ab86df.mjs → mi-route-instructions-heading.entry-ac5924f4.mjs} +1 -1
  49. package/dist/{mi-route-instructions-maneuver-legacy.entry-59cf8ab1.mjs → mi-route-instructions-maneuver-legacy.entry-13411b11.mjs} +1 -1
  50. package/dist/{mi-route-instructions-maneuver-legacy.entry-8a4e4a5f.mjs → mi-route-instructions-maneuver-legacy.entry-aa875c11.mjs} +1 -1
  51. package/dist/{mi-route-instructions-maneuver.entry-49aa250a.mjs → mi-route-instructions-maneuver.entry-9a28083f.mjs} +1 -1
  52. package/dist/{mi-route-instructions-maneuver.entry-3982d45a.mjs → mi-route-instructions-maneuver.entry-9f34c4ca.mjs} +1 -1
  53. package/dist/{mi-route-instructions-step-legacy.entry-fc17f947.mjs → mi-route-instructions-step-legacy.entry-37b02d29.mjs} +1 -1
  54. package/dist/{mi-route-instructions-step-legacy.entry-c7d4c75d.mjs → mi-route-instructions-step-legacy.entry-b3ee15cf.mjs} +1 -1
  55. package/dist/{mi-route-instructions-step.entry-3a05e2f2.mjs → mi-route-instructions-step.entry-be05ecbb.mjs} +1 -1
  56. package/dist/{mi-route-instructions-step.entry-b6001884.mjs → mi-route-instructions-step.entry-fc2176ad.mjs} +1 -1
  57. package/dist/{mi-route-instructions.entry-61376d64.mjs → mi-route-instructions.entry-27fb474f.mjs} +1 -1
  58. package/dist/{mi-route-instructions.entry-f7474ade.mjs → mi-route-instructions.entry-d4431909.mjs} +1 -1
  59. package/dist/{mi-scroll-buttons.entry-973345e4.mjs → mi-scroll-buttons.entry-1856d347.mjs} +1 -1
  60. package/dist/{mi-scroll-buttons.entry-68a2990a.mjs → mi-scroll-buttons.entry-776ae40a.mjs} +1 -1
  61. package/dist/{mi-search.entry-0617eb4a.mjs → mi-search.entry-0c045767.mjs} +1 -1
  62. package/dist/{mi-search.entry-62930342.mjs → mi-search.entry-a8a4c275.mjs} +1 -1
  63. package/dist/{mi-share-sms.entry-41f6a2de.mjs → mi-share-sms.entry-929afd98.mjs} +1 -1
  64. package/dist/{mi-share-sms.entry-47a67d3a.mjs → mi-share-sms.entry-e263ab8d.mjs} +1 -1
  65. package/dist/{mi-step-switcher.entry-9f9ca195.mjs → mi-step-switcher.entry-d2f40e47.mjs} +1 -1
  66. package/dist/{mi-step-switcher.entry-74ff6694.mjs → mi-step-switcher.entry-feed62c1.mjs} +1 -1
  67. package/dist/{mi-tab-panel.entry-48dd4dc5.mjs → mi-tab-panel.entry-a35fff95.mjs} +1 -1
  68. package/dist/{mi-tab-panel.entry-fcb462fa.mjs → mi-tab-panel.entry-c82517c0.mjs} +1 -1
  69. package/dist/{mi-tab.entry-1e38461e.mjs → mi-tab.entry-5f4b88b6.mjs} +1 -1
  70. package/dist/{mi-tab.entry-cd6c7e32.mjs → mi-tab.entry-60378f56.mjs} +1 -1
  71. package/dist/{mi-tabs.entry-b59c57d9.mjs → mi-tabs.entry-7670351a.mjs} +1 -1
  72. package/dist/{mi-tabs.entry-50fd9e9c.mjs → mi-tabs.entry-bc99bad9.mjs} +1 -1
  73. package/dist/{mi-time.entry-e0bac6a6.mjs → mi-time.entry-05acc1aa.mjs} +1 -1
  74. package/dist/{mi-time.entry-ee167fd1.mjs → mi-time.entry-81184ad7.mjs} +1 -1
  75. package/dist/{reactcomponent-74fb79b5.mjs → reactcomponent-6ef5b30c.mjs} +685 -685
  76. package/dist/{webcomponent-4e32af2f.mjs → webcomponent-93f0c2dc.mjs} +577 -577
  77. package/package.json +1 -1
@@ -280,9 +280,9 @@ var M0 = {}, XS = { exports: {} }, oo = {}, YS = { exports: {} }, KS = {};
280
280
  _t.push(Zt);
281
281
  e:
282
282
  for (; 0 < ut; ) {
283
- var Ft = ut - 1 >>> 1, Me = _t[Ft];
283
+ var Pt = ut - 1 >>> 1, Me = _t[Pt];
284
284
  if (0 < _(Me, Zt))
285
- _t[Ft] = Zt, _t[ut] = Me, ut = Ft;
285
+ _t[Pt] = Zt, _t[ut] = Me, ut = Pt;
286
286
  else
287
287
  break e;
288
288
  }
@@ -297,12 +297,12 @@ var M0 = {}, XS = { exports: {} }, oo = {}, YS = { exports: {} }, KS = {};
297
297
  if (ut !== Zt) {
298
298
  _t[0] = ut;
299
299
  e:
300
- for (var Ft = 0, Me = _t.length, at = Me >>> 1; Ft < at; ) {
301
- var ht = 2 * (Ft + 1) - 1, Rt = _t[ht], St = ht + 1, Dt = _t[St];
300
+ for (var Pt = 0, Me = _t.length, at = Me >>> 1; Pt < at; ) {
301
+ var ht = 2 * (Pt + 1) - 1, Rt = _t[ht], St = ht + 1, Dt = _t[St];
302
302
  if (0 > _(Rt, ut))
303
- St < Me && 0 > _(Dt, Rt) ? (_t[Ft] = Dt, _t[St] = ut, Ft = St) : (_t[Ft] = Rt, _t[ht] = ut, Ft = ht);
303
+ St < Me && 0 > _(Dt, Rt) ? (_t[Pt] = Dt, _t[St] = ut, Pt = St) : (_t[Pt] = Rt, _t[ht] = ut, Pt = ht);
304
304
  else if (St < Me && 0 > _(Dt, ut))
305
- _t[Ft] = Dt, _t[St] = ut, Ft = St;
305
+ _t[Pt] = Dt, _t[St] = ut, Pt = St;
306
306
  else
307
307
  break e;
308
308
  }
@@ -326,7 +326,7 @@ var M0 = {}, XS = { exports: {} }, oo = {}, YS = { exports: {} }, KS = {};
326
326
  }
327
327
  var I = [], O = [], $ = 1, j = null, V = 3, se = !1, ae = !1, ge = !1, et = typeof setTimeout == "function" ? setTimeout : null, me = typeof clearTimeout == "function" ? clearTimeout : null, ee = typeof setImmediate < "u" ? setImmediate : null;
328
328
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
329
- function fe(_t) {
329
+ function pe(_t) {
330
330
  for (var Zt = c(O); Zt !== null; ) {
331
331
  if (Zt.callback === null)
332
332
  d(O);
@@ -338,7 +338,7 @@ var M0 = {}, XS = { exports: {} }, oo = {}, YS = { exports: {} }, KS = {};
338
338
  }
339
339
  }
340
340
  function Be(_t) {
341
- if (ge = !1, fe(_t), !ae)
341
+ if (ge = !1, pe(_t), !ae)
342
342
  if (c(I) !== null)
343
343
  ae = !0, ai(he);
344
344
  else {
@@ -350,12 +350,12 @@ var M0 = {}, XS = { exports: {} }, oo = {}, YS = { exports: {} }, KS = {};
350
350
  ae = !1, ge && (ge = !1, me(Qe), Qe = -1), se = !0;
351
351
  var ut = V;
352
352
  try {
353
- for (fe(Zt), j = c(I); j !== null && (!(j.expirationTime > Zt) || _t && !Nt()); ) {
354
- var Ft = j.callback;
355
- if (typeof Ft == "function") {
353
+ for (pe(Zt), j = c(I); j !== null && (!(j.expirationTime > Zt) || _t && !Ft()); ) {
354
+ var Pt = j.callback;
355
+ if (typeof Pt == "function") {
356
356
  j.callback = null, V = j.priorityLevel;
357
- var Me = Ft(j.expirationTime <= Zt);
358
- Zt = t.unstable_now(), typeof Me == "function" ? j.callback = Me : j === c(I) && d(I), fe(Zt);
357
+ var Me = Pt(j.expirationTime <= Zt);
358
+ Zt = t.unstable_now(), typeof Me == "function" ? j.callback = Me : j === c(I) && d(I), pe(Zt);
359
359
  } else
360
360
  d(I);
361
361
  j = c(I);
@@ -372,7 +372,7 @@ var M0 = {}, XS = { exports: {} }, oo = {}, YS = { exports: {} }, KS = {};
372
372
  }
373
373
  }
374
374
  var He = !1, Ke = null, Qe = -1, je = 5, We = -1;
375
- function Nt() {
375
+ function Ft() {
376
376
  return !(t.unstable_now() - We < je);
377
377
  }
378
378
  function kt() {
@@ -458,8 +458,8 @@ var M0 = {}, XS = { exports: {} }, oo = {}, YS = { exports: {} }, KS = {};
458
458
  V = ut;
459
459
  }
460
460
  }, t.unstable_scheduleCallback = function(_t, Zt, ut) {
461
- var Ft = t.unstable_now();
462
- switch (typeof ut == "object" && ut !== null ? (ut = ut.delay, ut = typeof ut == "number" && 0 < ut ? Ft + ut : Ft) : ut = Ft, _t) {
461
+ var Pt = t.unstable_now();
462
+ switch (typeof ut == "object" && ut !== null ? (ut = ut.delay, ut = typeof ut == "number" && 0 < ut ? Pt + ut : Pt) : ut = Pt, _t) {
463
463
  case 1:
464
464
  var Me = -1;
465
465
  break;
@@ -475,8 +475,8 @@ var M0 = {}, XS = { exports: {} }, oo = {}, YS = { exports: {} }, KS = {};
475
475
  default:
476
476
  Me = 5e3;
477
477
  }
478
- return Me = ut + Me, _t = { id: $++, callback: Zt, priorityLevel: _t, startTime: ut, expirationTime: Me, sortIndex: -1 }, ut > Ft ? (_t.sortIndex = ut, o(O, _t), c(I) === null && _t === c(O) && (ge ? (me(Qe), Qe = -1) : ge = !0, Jn(Be, ut - Ft))) : (_t.sortIndex = Me, o(I, _t), ae || se || (ae = !0, ai(he))), _t;
479
- }, t.unstable_shouldYield = Nt, t.unstable_wrapCallback = function(_t) {
478
+ return Me = ut + Me, _t = { id: $++, callback: Zt, priorityLevel: _t, startTime: ut, expirationTime: Me, sortIndex: -1 }, ut > Pt ? (_t.sortIndex = ut, o(O, _t), c(I) === null && _t === c(O) && (ge ? (me(Qe), Qe = -1) : ge = !0, Jn(Be, ut - Pt))) : (_t.sortIndex = Me, o(I, _t), ae || se || (ae = !0, ai(he))), _t;
479
+ }, t.unstable_shouldYield = Ft, t.unstable_wrapCallback = function(_t) {
480
480
  var Zt = V;
481
481
  return function() {
482
482
  var ut = V;
@@ -2253,10 +2253,10 @@ function o0(t, o, c, d, _) {
2253
2253
  }
2254
2254
  var ge = (o & 4) !== 0, et = !ge && t === "scroll", me = ge ? V !== null ? V + "Capture" : null : V;
2255
2255
  ge = [];
2256
- for (var ee = O, fe; ee !== null; ) {
2257
- fe = ee;
2258
- var Be = fe.stateNode;
2259
- if (fe.tag === 5 && Be !== null && (fe = Be, me !== null && (Be = lp(ee, me), Be != null && ge.push(mp(ee, Be, fe)))), et)
2256
+ for (var ee = O, pe; ee !== null; ) {
2257
+ pe = ee;
2258
+ var Be = pe.stateNode;
2259
+ if (pe.tag === 5 && Be !== null && (pe = Be, me !== null && (Be = lp(ee, me), Be != null && ge.push(mp(ee, Be, pe)))), et)
2260
2260
  break;
2261
2261
  ee = ee.return;
2262
2262
  }
@@ -2268,16 +2268,16 @@ function o0(t, o, c, d, _) {
2268
2268
  if (V = t === "mouseover" || t === "pointerover", se = t === "mouseout" || t === "pointerout", V && c !== j0 && (ae = c.relatedTarget || c.fromElement) && (Yl(ae) || ae[Ks]))
2269
2269
  break e;
2270
2270
  if ((se || V) && (V = $.window === $ ? $ : (V = $.ownerDocument) ? V.defaultView || V.parentWindow : window, se ? (ae = c.relatedTarget || c.toElement, se = O, ae = ae ? Yl(ae) : null, ae !== null && (et = uc(ae), ae !== et || ae.tag !== 5 && ae.tag !== 6) && (ae = null)) : (se = null, ae = O), se !== ae)) {
2271
- if (ge = o2, Be = "onMouseLeave", me = "onMouseEnter", ee = "mouse", (t === "pointerout" || t === "pointerover") && (ge = a2, Be = "onPointerLeave", me = "onPointerEnter", ee = "pointer"), et = se == null ? V : Cu(se), fe = ae == null ? V : Cu(ae), V = new ge(Be, ee + "leave", se, c, $), V.target = et, V.relatedTarget = fe, Be = null, Yl($) === O && (ge = new ge(me, ee + "enter", ae, c, $), ge.target = fe, ge.relatedTarget = et, Be = ge), et = Be, se && ae)
2271
+ if (ge = o2, Be = "onMouseLeave", me = "onMouseEnter", ee = "mouse", (t === "pointerout" || t === "pointerover") && (ge = a2, Be = "onPointerLeave", me = "onPointerEnter", ee = "pointer"), et = se == null ? V : Cu(se), pe = ae == null ? V : Cu(ae), V = new ge(Be, ee + "leave", se, c, $), V.target = et, V.relatedTarget = pe, Be = null, Yl($) === O && (ge = new ge(me, ee + "enter", ae, c, $), ge.target = pe, ge.relatedTarget = et, Be = ge), et = Be, se && ae)
2272
2272
  t: {
2273
- for (ge = se, me = ae, ee = 0, fe = ge; fe; fe = _u(fe))
2273
+ for (ge = se, me = ae, ee = 0, pe = ge; pe; pe = _u(pe))
2274
2274
  ee++;
2275
- for (fe = 0, Be = me; Be; Be = _u(Be))
2276
- fe++;
2277
- for (; 0 < ee - fe; )
2275
+ for (pe = 0, Be = me; Be; Be = _u(Be))
2276
+ pe++;
2277
+ for (; 0 < ee - pe; )
2278
2278
  ge = _u(ge), ee--;
2279
- for (; 0 < fe - ee; )
2280
- me = _u(me), fe--;
2279
+ for (; 0 < pe - ee; )
2280
+ me = _u(me), pe--;
2281
2281
  for (; ee--; ) {
2282
2282
  if (ge === me || me !== null && ge === me.alternate)
2283
2283
  break t;
@@ -2920,8 +2920,8 @@ function k2(t) {
2920
2920
  function nE(t) {
2921
2921
  function o(me, ee) {
2922
2922
  if (t) {
2923
- var fe = me.deletions;
2924
- fe === null ? (me.deletions = [ee], me.flags |= 16) : fe.push(ee);
2923
+ var pe = me.deletions;
2924
+ pe === null ? (me.deletions = [ee], me.flags |= 16) : pe.push(ee);
2925
2925
  }
2926
2926
  }
2927
2927
  function c(me, ee) {
@@ -2939,124 +2939,124 @@ function nE(t) {
2939
2939
  function _(me, ee) {
2940
2940
  return me = qa(me, ee), me.index = 0, me.sibling = null, me;
2941
2941
  }
2942
- function w(me, ee, fe) {
2943
- return me.index = fe, t ? (fe = me.alternate, fe !== null ? (fe = fe.index, fe < ee ? (me.flags |= 2, ee) : fe) : (me.flags |= 2, ee)) : (me.flags |= 1048576, ee);
2942
+ function w(me, ee, pe) {
2943
+ return me.index = pe, t ? (pe = me.alternate, pe !== null ? (pe = pe.index, pe < ee ? (me.flags |= 2, ee) : pe) : (me.flags |= 2, ee)) : (me.flags |= 1048576, ee);
2944
2944
  }
2945
2945
  function E(me) {
2946
2946
  return t && me.alternate === null && (me.flags |= 2), me;
2947
2947
  }
2948
- function s(me, ee, fe, Be) {
2949
- return ee === null || ee.tag !== 6 ? (ee = f0(fe, me.mode, Be), ee.return = me, ee) : (ee = _(ee, fe), ee.return = me, ee);
2948
+ function s(me, ee, pe, Be) {
2949
+ return ee === null || ee.tag !== 6 ? (ee = f0(pe, me.mode, Be), ee.return = me, ee) : (ee = _(ee, pe), ee.return = me, ee);
2950
2950
  }
2951
- function I(me, ee, fe, Be) {
2952
- var he = fe.type;
2953
- return he === bu ? $(me, ee, fe.props.children, Be, fe.key) : ee !== null && (ee.elementType === he || typeof he == "object" && he !== null && he.$$typeof === Ra && k2(he) === ee.type) ? (Be = _(ee, fe.props), Be.ref = Ld(me, ee, fe), Be.return = me, Be) : (Be = n_(fe.type, fe.key, fe.props, null, me.mode, Be), Be.ref = Ld(me, ee, fe), Be.return = me, Be);
2951
+ function I(me, ee, pe, Be) {
2952
+ var he = pe.type;
2953
+ return he === bu ? $(me, ee, pe.props.children, Be, pe.key) : ee !== null && (ee.elementType === he || typeof he == "object" && he !== null && he.$$typeof === Ra && k2(he) === ee.type) ? (Be = _(ee, pe.props), Be.ref = Ld(me, ee, pe), Be.return = me, Be) : (Be = n_(pe.type, pe.key, pe.props, null, me.mode, Be), Be.ref = Ld(me, ee, pe), Be.return = me, Be);
2954
2954
  }
2955
- function O(me, ee, fe, Be) {
2956
- return ee === null || ee.tag !== 4 || ee.stateNode.containerInfo !== fe.containerInfo || ee.stateNode.implementation !== fe.implementation ? (ee = m0(fe, me.mode, Be), ee.return = me, ee) : (ee = _(ee, fe.children || []), ee.return = me, ee);
2955
+ function O(me, ee, pe, Be) {
2956
+ return ee === null || ee.tag !== 4 || ee.stateNode.containerInfo !== pe.containerInfo || ee.stateNode.implementation !== pe.implementation ? (ee = m0(pe, me.mode, Be), ee.return = me, ee) : (ee = _(ee, pe.children || []), ee.return = me, ee);
2957
2957
  }
2958
- function $(me, ee, fe, Be, he) {
2959
- return ee === null || ee.tag !== 7 ? (ee = ec(fe, me.mode, Be, he), ee.return = me, ee) : (ee = _(ee, fe), ee.return = me, ee);
2958
+ function $(me, ee, pe, Be, he) {
2959
+ return ee === null || ee.tag !== 7 ? (ee = ec(pe, me.mode, Be, he), ee.return = me, ee) : (ee = _(ee, pe), ee.return = me, ee);
2960
2960
  }
2961
- function j(me, ee, fe) {
2961
+ function j(me, ee, pe) {
2962
2962
  if (typeof ee == "string" && ee !== "" || typeof ee == "number")
2963
- return ee = f0("" + ee, me.mode, fe), ee.return = me, ee;
2963
+ return ee = f0("" + ee, me.mode, pe), ee.return = me, ee;
2964
2964
  if (typeof ee == "object" && ee !== null) {
2965
2965
  switch (ee.$$typeof) {
2966
2966
  case bm:
2967
- return fe = n_(ee.type, ee.key, ee.props, null, me.mode, fe), fe.ref = Ld(me, null, ee), fe.return = me, fe;
2967
+ return pe = n_(ee.type, ee.key, ee.props, null, me.mode, pe), pe.ref = Ld(me, null, ee), pe.return = me, pe;
2968
2968
  case wu:
2969
- return ee = m0(ee, me.mode, fe), ee.return = me, ee;
2969
+ return ee = m0(ee, me.mode, pe), ee.return = me, ee;
2970
2970
  case Ra:
2971
2971
  var Be = ee._init;
2972
- return j(me, Be(ee._payload), fe);
2972
+ return j(me, Be(ee._payload), pe);
2973
2973
  }
2974
2974
  if ($d(ee) || Cd(ee))
2975
- return ee = ec(ee, me.mode, fe, null), ee.return = me, ee;
2975
+ return ee = ec(ee, me.mode, pe, null), ee.return = me, ee;
2976
2976
  Dm(me, ee);
2977
2977
  }
2978
2978
  return null;
2979
2979
  }
2980
- function V(me, ee, fe, Be) {
2980
+ function V(me, ee, pe, Be) {
2981
2981
  var he = ee !== null ? ee.key : null;
2982
- if (typeof fe == "string" && fe !== "" || typeof fe == "number")
2983
- return he !== null ? null : s(me, ee, "" + fe, Be);
2984
- if (typeof fe == "object" && fe !== null) {
2985
- switch (fe.$$typeof) {
2982
+ if (typeof pe == "string" && pe !== "" || typeof pe == "number")
2983
+ return he !== null ? null : s(me, ee, "" + pe, Be);
2984
+ if (typeof pe == "object" && pe !== null) {
2985
+ switch (pe.$$typeof) {
2986
2986
  case bm:
2987
- return fe.key === he ? I(me, ee, fe, Be) : null;
2987
+ return pe.key === he ? I(me, ee, pe, Be) : null;
2988
2988
  case wu:
2989
- return fe.key === he ? O(me, ee, fe, Be) : null;
2989
+ return pe.key === he ? O(me, ee, pe, Be) : null;
2990
2990
  case Ra:
2991
- return he = fe._init, V(
2991
+ return he = pe._init, V(
2992
2992
  me,
2993
2993
  ee,
2994
- he(fe._payload),
2994
+ he(pe._payload),
2995
2995
  Be
2996
2996
  );
2997
2997
  }
2998
- if ($d(fe) || Cd(fe))
2999
- return he !== null ? null : $(me, ee, fe, Be, null);
3000
- Dm(me, fe);
2998
+ if ($d(pe) || Cd(pe))
2999
+ return he !== null ? null : $(me, ee, pe, Be, null);
3000
+ Dm(me, pe);
3001
3001
  }
3002
3002
  return null;
3003
3003
  }
3004
- function se(me, ee, fe, Be, he) {
3004
+ function se(me, ee, pe, Be, he) {
3005
3005
  if (typeof Be == "string" && Be !== "" || typeof Be == "number")
3006
- return me = me.get(fe) || null, s(ee, me, "" + Be, he);
3006
+ return me = me.get(pe) || null, s(ee, me, "" + Be, he);
3007
3007
  if (typeof Be == "object" && Be !== null) {
3008
3008
  switch (Be.$$typeof) {
3009
3009
  case bm:
3010
- return me = me.get(Be.key === null ? fe : Be.key) || null, I(ee, me, Be, he);
3010
+ return me = me.get(Be.key === null ? pe : Be.key) || null, I(ee, me, Be, he);
3011
3011
  case wu:
3012
- return me = me.get(Be.key === null ? fe : Be.key) || null, O(ee, me, Be, he);
3012
+ return me = me.get(Be.key === null ? pe : Be.key) || null, O(ee, me, Be, he);
3013
3013
  case Ra:
3014
3014
  var He = Be._init;
3015
- return se(me, ee, fe, He(Be._payload), he);
3015
+ return se(me, ee, pe, He(Be._payload), he);
3016
3016
  }
3017
3017
  if ($d(Be) || Cd(Be))
3018
- return me = me.get(fe) || null, $(ee, me, Be, he, null);
3018
+ return me = me.get(pe) || null, $(ee, me, Be, he, null);
3019
3019
  Dm(ee, Be);
3020
3020
  }
3021
3021
  return null;
3022
3022
  }
3023
- function ae(me, ee, fe, Be) {
3024
- for (var he = null, He = null, Ke = ee, Qe = ee = 0, je = null; Ke !== null && Qe < fe.length; Qe++) {
3023
+ function ae(me, ee, pe, Be) {
3024
+ for (var he = null, He = null, Ke = ee, Qe = ee = 0, je = null; Ke !== null && Qe < pe.length; Qe++) {
3025
3025
  Ke.index > Qe ? (je = Ke, Ke = null) : je = Ke.sibling;
3026
- var We = V(me, Ke, fe[Qe], Be);
3026
+ var We = V(me, Ke, pe[Qe], Be);
3027
3027
  if (We === null) {
3028
3028
  Ke === null && (Ke = je);
3029
3029
  break;
3030
3030
  }
3031
3031
  t && Ke && We.alternate === null && o(me, Ke), ee = w(We, ee, Qe), He === null ? he = We : He.sibling = We, He = We, Ke = je;
3032
3032
  }
3033
- if (Qe === fe.length)
3033
+ if (Qe === pe.length)
3034
3034
  return c(me, Ke), yi && Gl(me, Qe), he;
3035
3035
  if (Ke === null) {
3036
- for (; Qe < fe.length; Qe++)
3037
- Ke = j(me, fe[Qe], Be), Ke !== null && (ee = w(Ke, ee, Qe), He === null ? he = Ke : He.sibling = Ke, He = Ke);
3036
+ for (; Qe < pe.length; Qe++)
3037
+ Ke = j(me, pe[Qe], Be), Ke !== null && (ee = w(Ke, ee, Qe), He === null ? he = Ke : He.sibling = Ke, He = Ke);
3038
3038
  return yi && Gl(me, Qe), he;
3039
3039
  }
3040
- for (Ke = d(me, Ke); Qe < fe.length; Qe++)
3041
- je = se(Ke, me, Qe, fe[Qe], Be), je !== null && (t && je.alternate !== null && Ke.delete(je.key === null ? Qe : je.key), ee = w(je, ee, Qe), He === null ? he = je : He.sibling = je, He = je);
3042
- return t && Ke.forEach(function(Nt) {
3043
- return o(me, Nt);
3040
+ for (Ke = d(me, Ke); Qe < pe.length; Qe++)
3041
+ je = se(Ke, me, Qe, pe[Qe], Be), je !== null && (t && je.alternate !== null && Ke.delete(je.key === null ? Qe : je.key), ee = w(je, ee, Qe), He === null ? he = je : He.sibling = je, He = je);
3042
+ return t && Ke.forEach(function(Ft) {
3043
+ return o(me, Ft);
3044
3044
  }), yi && Gl(me, Qe), he;
3045
3045
  }
3046
- function ge(me, ee, fe, Be) {
3047
- var he = Cd(fe);
3046
+ function ge(me, ee, pe, Be) {
3047
+ var he = Cd(pe);
3048
3048
  if (typeof he != "function")
3049
3049
  throw Error(ft(150));
3050
- if (fe = he.call(fe), fe == null)
3050
+ if (pe = he.call(pe), pe == null)
3051
3051
  throw Error(ft(151));
3052
- for (var He = he = null, Ke = ee, Qe = ee = 0, je = null, We = fe.next(); Ke !== null && !We.done; Qe++, We = fe.next()) {
3052
+ for (var He = he = null, Ke = ee, Qe = ee = 0, je = null, We = pe.next(); Ke !== null && !We.done; Qe++, We = pe.next()) {
3053
3053
  Ke.index > Qe ? (je = Ke, Ke = null) : je = Ke.sibling;
3054
- var Nt = V(me, Ke, We.value, Be);
3055
- if (Nt === null) {
3054
+ var Ft = V(me, Ke, We.value, Be);
3055
+ if (Ft === null) {
3056
3056
  Ke === null && (Ke = je);
3057
3057
  break;
3058
3058
  }
3059
- t && Ke && Nt.alternate === null && o(me, Ke), ee = w(Nt, ee, Qe), He === null ? he = Nt : He.sibling = Nt, He = Nt, Ke = je;
3059
+ t && Ke && Ft.alternate === null && o(me, Ke), ee = w(Ft, ee, Qe), He === null ? he = Ft : He.sibling = Ft, He = Ft, Ke = je;
3060
3060
  }
3061
3061
  if (We.done)
3062
3062
  return c(
@@ -3064,30 +3064,30 @@ function nE(t) {
3064
3064
  Ke
3065
3065
  ), yi && Gl(me, Qe), he;
3066
3066
  if (Ke === null) {
3067
- for (; !We.done; Qe++, We = fe.next())
3067
+ for (; !We.done; Qe++, We = pe.next())
3068
3068
  We = j(me, We.value, Be), We !== null && (ee = w(We, ee, Qe), He === null ? he = We : He.sibling = We, He = We);
3069
3069
  return yi && Gl(me, Qe), he;
3070
3070
  }
3071
- for (Ke = d(me, Ke); !We.done; Qe++, We = fe.next())
3071
+ for (Ke = d(me, Ke); !We.done; Qe++, We = pe.next())
3072
3072
  We = se(Ke, me, Qe, We.value, Be), We !== null && (t && We.alternate !== null && Ke.delete(We.key === null ? Qe : We.key), ee = w(We, ee, Qe), He === null ? he = We : He.sibling = We, He = We);
3073
3073
  return t && Ke.forEach(function(kt) {
3074
3074
  return o(me, kt);
3075
3075
  }), yi && Gl(me, Qe), he;
3076
3076
  }
3077
- function et(me, ee, fe, Be) {
3078
- if (typeof fe == "object" && fe !== null && fe.type === bu && fe.key === null && (fe = fe.props.children), typeof fe == "object" && fe !== null) {
3079
- switch (fe.$$typeof) {
3077
+ function et(me, ee, pe, Be) {
3078
+ if (typeof pe == "object" && pe !== null && pe.type === bu && pe.key === null && (pe = pe.props.children), typeof pe == "object" && pe !== null) {
3079
+ switch (pe.$$typeof) {
3080
3080
  case bm:
3081
3081
  e: {
3082
- for (var he = fe.key, He = ee; He !== null; ) {
3082
+ for (var he = pe.key, He = ee; He !== null; ) {
3083
3083
  if (He.key === he) {
3084
- if (he = fe.type, he === bu) {
3084
+ if (he = pe.type, he === bu) {
3085
3085
  if (He.tag === 7) {
3086
- c(me, He.sibling), ee = _(He, fe.props.children), ee.return = me, me = ee;
3086
+ c(me, He.sibling), ee = _(He, pe.props.children), ee.return = me, me = ee;
3087
3087
  break e;
3088
3088
  }
3089
3089
  } else if (He.elementType === he || typeof he == "object" && he !== null && he.$$typeof === Ra && k2(he) === He.type) {
3090
- c(me, He.sibling), ee = _(He, fe.props), ee.ref = Ld(me, He, fe), ee.return = me, me = ee;
3090
+ c(me, He.sibling), ee = _(He, pe.props), ee.ref = Ld(me, He, pe), ee.return = me, me = ee;
3091
3091
  break e;
3092
3092
  }
3093
3093
  c(me, He);
@@ -3096,15 +3096,15 @@ function nE(t) {
3096
3096
  o(me, He);
3097
3097
  He = He.sibling;
3098
3098
  }
3099
- fe.type === bu ? (ee = ec(fe.props.children, me.mode, Be, fe.key), ee.return = me, me = ee) : (Be = n_(fe.type, fe.key, fe.props, null, me.mode, Be), Be.ref = Ld(me, ee, fe), Be.return = me, me = Be);
3099
+ pe.type === bu ? (ee = ec(pe.props.children, me.mode, Be, pe.key), ee.return = me, me = ee) : (Be = n_(pe.type, pe.key, pe.props, null, me.mode, Be), Be.ref = Ld(me, ee, pe), Be.return = me, me = Be);
3100
3100
  }
3101
3101
  return E(me);
3102
3102
  case wu:
3103
3103
  e: {
3104
- for (He = fe.key; ee !== null; ) {
3104
+ for (He = pe.key; ee !== null; ) {
3105
3105
  if (ee.key === He)
3106
- if (ee.tag === 4 && ee.stateNode.containerInfo === fe.containerInfo && ee.stateNode.implementation === fe.implementation) {
3107
- c(me, ee.sibling), ee = _(ee, fe.children || []), ee.return = me, me = ee;
3106
+ if (ee.tag === 4 && ee.stateNode.containerInfo === pe.containerInfo && ee.stateNode.implementation === pe.implementation) {
3107
+ c(me, ee.sibling), ee = _(ee, pe.children || []), ee.return = me, me = ee;
3108
3108
  break e;
3109
3109
  } else {
3110
3110
  c(me, ee);
@@ -3114,19 +3114,19 @@ function nE(t) {
3114
3114
  o(me, ee);
3115
3115
  ee = ee.sibling;
3116
3116
  }
3117
- ee = m0(fe, me.mode, Be), ee.return = me, me = ee;
3117
+ ee = m0(pe, me.mode, Be), ee.return = me, me = ee;
3118
3118
  }
3119
3119
  return E(me);
3120
3120
  case Ra:
3121
- return He = fe._init, et(me, ee, He(fe._payload), Be);
3121
+ return He = pe._init, et(me, ee, He(pe._payload), Be);
3122
3122
  }
3123
- if ($d(fe))
3124
- return ae(me, ee, fe, Be);
3125
- if (Cd(fe))
3126
- return ge(me, ee, fe, Be);
3127
- Dm(me, fe);
3123
+ if ($d(pe))
3124
+ return ae(me, ee, pe, Be);
3125
+ if (Cd(pe))
3126
+ return ge(me, ee, pe, Be);
3127
+ Dm(me, pe);
3128
3128
  }
3129
- return typeof fe == "string" && fe !== "" || typeof fe == "number" ? (fe = "" + fe, ee !== null && ee.tag === 6 ? (c(me, ee.sibling), ee = _(ee, fe), ee.return = me, me = ee) : (c(me, ee), ee = f0(fe, me.mode, Be), ee.return = me, me = ee), E(me)) : c(me, ee);
3129
+ return typeof pe == "string" && pe !== "" || typeof pe == "number" ? (pe = "" + pe, ee !== null && ee.tag === 6 ? (c(me, ee.sibling), ee = _(ee, pe), ee.return = me, me = ee) : (c(me, ee), ee = f0(pe, me.mode, Be), ee.return = me, me = ee), E(me)) : c(me, ee);
3130
3130
  }
3131
3131
  return et;
3132
3132
  }
@@ -4318,7 +4318,7 @@ function N4(t, o) {
4318
4318
  return null;
4319
4319
  }
4320
4320
  }
4321
- var Pm = !1, Tr = !1, F4 = typeof WeakSet == "function" ? WeakSet : Set, Bt = null;
4321
+ var Pm = !1, Tr = !1, F4 = typeof WeakSet == "function" ? WeakSet : Set, Nt = null;
4322
4322
  function Lu(t, o) {
4323
4323
  var c = t.ref;
4324
4324
  if (c !== null)
@@ -4378,12 +4378,12 @@ function U4(t, o) {
4378
4378
  c = c || { start: 0, end: 0 };
4379
4379
  } else
4380
4380
  c = null;
4381
- for (K0 = { focusedElem: t, selectionRange: c }, u_ = !1, Bt = o; Bt !== null; )
4382
- if (o = Bt, t = o.child, (o.subtreeFlags & 1028) !== 0 && t !== null)
4383
- t.return = o, Bt = t;
4381
+ for (K0 = { focusedElem: t, selectionRange: c }, u_ = !1, Nt = o; Nt !== null; )
4382
+ if (o = Nt, t = o.child, (o.subtreeFlags & 1028) !== 0 && t !== null)
4383
+ t.return = o, Nt = t;
4384
4384
  else
4385
- for (; Bt !== null; ) {
4386
- o = Bt;
4385
+ for (; Nt !== null; ) {
4386
+ o = Nt;
4387
4387
  try {
4388
4388
  var ae = o.alternate;
4389
4389
  if (o.flags & 1024)
@@ -4399,8 +4399,8 @@ function U4(t, o) {
4399
4399
  }
4400
4400
  break;
4401
4401
  case 3:
4402
- var fe = o.stateNode.containerInfo;
4403
- fe.nodeType === 1 ? fe.textContent = "" : fe.nodeType === 9 && fe.documentElement && fe.removeChild(fe.documentElement);
4402
+ var pe = o.stateNode.containerInfo;
4403
+ pe.nodeType === 1 ? pe.textContent = "" : pe.nodeType === 9 && pe.documentElement && pe.removeChild(pe.documentElement);
4404
4404
  break;
4405
4405
  case 5:
4406
4406
  case 6:
@@ -4414,10 +4414,10 @@ function U4(t, o) {
4414
4414
  Pi(o, o.return, Be);
4415
4415
  }
4416
4416
  if (t = o.sibling, t !== null) {
4417
- t.return = o.return, Bt = t;
4417
+ t.return = o.return, Nt = t;
4418
4418
  break;
4419
4419
  }
4420
- Bt = o.return;
4420
+ Nt = o.return;
4421
4421
  }
4422
4422
  return ae = j2, j2 = !1, ae;
4423
4423
  }
@@ -4697,9 +4697,9 @@ function NE(t, o) {
4697
4697
  case 22:
4698
4698
  if ($ = c !== null && c.memoizedState !== null, t.mode & 1 ? (Tr = (O = Tr) || $, Zo(o, t), Tr = O) : Zo(o, t), gs(t), d & 8192) {
4699
4699
  if (O = t.memoizedState !== null, (t.stateNode.isHidden = O) && !$ && t.mode & 1)
4700
- for (Bt = t, $ = t.child; $ !== null; ) {
4701
- for (j = Bt = $; Bt !== null; ) {
4702
- switch (V = Bt, se = V.child, V.tag) {
4700
+ for (Nt = t, $ = t.child; $ !== null; ) {
4701
+ for (j = Nt = $; Nt !== null; ) {
4702
+ switch (V = Nt, se = V.child, V.tag) {
4703
4703
  case 0:
4704
4704
  case 11:
4705
4705
  case 14:
@@ -4727,7 +4727,7 @@ function NE(t, o) {
4727
4727
  continue;
4728
4728
  }
4729
4729
  }
4730
- se !== null ? (se.return = V, Bt = se) : Z2(j);
4730
+ se !== null ? (se.return = V, Nt = se) : Z2(j);
4731
4731
  }
4732
4732
  $ = $.sibling;
4733
4733
  }
@@ -4813,11 +4813,11 @@ function gs(t) {
4813
4813
  o & 4096 && (t.flags &= -4097);
4814
4814
  }
4815
4815
  function j4(t, o, c) {
4816
- Bt = t, FE(t);
4816
+ Nt = t, FE(t);
4817
4817
  }
4818
4818
  function FE(t, o, c) {
4819
- for (var d = (t.mode & 1) !== 0; Bt !== null; ) {
4820
- var _ = Bt, w = _.child;
4819
+ for (var d = (t.mode & 1) !== 0; Nt !== null; ) {
4820
+ var _ = Nt, w = _.child;
4821
4821
  if (_.tag === 22 && d) {
4822
4822
  var E = _.memoizedState !== null || Pm;
4823
4823
  if (!E) {
@@ -4825,20 +4825,20 @@ function FE(t, o, c) {
4825
4825
  s = Pm;
4826
4826
  var O = Tr;
4827
4827
  if (Pm = E, (Tr = I) && !O)
4828
- for (Bt = _; Bt !== null; )
4829
- E = Bt, I = E.child, E.tag === 22 && E.memoizedState !== null ? W2(_) : I !== null ? (I.return = E, Bt = I) : W2(_);
4828
+ for (Nt = _; Nt !== null; )
4829
+ E = Nt, I = E.child, E.tag === 22 && E.memoizedState !== null ? W2(_) : I !== null ? (I.return = E, Nt = I) : W2(_);
4830
4830
  for (; w !== null; )
4831
- Bt = w, FE(w), w = w.sibling;
4832
- Bt = _, Pm = s, Tr = O;
4831
+ Nt = w, FE(w), w = w.sibling;
4832
+ Nt = _, Pm = s, Tr = O;
4833
4833
  }
4834
4834
  G2(t);
4835
4835
  } else
4836
- _.subtreeFlags & 8772 && w !== null ? (w.return = _, Bt = w) : G2(t);
4836
+ _.subtreeFlags & 8772 && w !== null ? (w.return = _, Nt = w) : G2(t);
4837
4837
  }
4838
4838
  }
4839
4839
  function G2(t) {
4840
- for (; Bt !== null; ) {
4841
- var o = Bt;
4840
+ for (; Nt !== null; ) {
4841
+ var o = Nt;
4842
4842
  if (o.flags & 8772) {
4843
4843
  var c = o.alternate;
4844
4844
  try {
@@ -4926,34 +4926,34 @@ function G2(t) {
4926
4926
  }
4927
4927
  }
4928
4928
  if (o === t) {
4929
- Bt = null;
4929
+ Nt = null;
4930
4930
  break;
4931
4931
  }
4932
4932
  if (c = o.sibling, c !== null) {
4933
- c.return = o.return, Bt = c;
4933
+ c.return = o.return, Nt = c;
4934
4934
  break;
4935
4935
  }
4936
- Bt = o.return;
4936
+ Nt = o.return;
4937
4937
  }
4938
4938
  }
4939
4939
  function Z2(t) {
4940
- for (; Bt !== null; ) {
4941
- var o = Bt;
4940
+ for (; Nt !== null; ) {
4941
+ var o = Nt;
4942
4942
  if (o === t) {
4943
- Bt = null;
4943
+ Nt = null;
4944
4944
  break;
4945
4945
  }
4946
4946
  var c = o.sibling;
4947
4947
  if (c !== null) {
4948
- c.return = o.return, Bt = c;
4948
+ c.return = o.return, Nt = c;
4949
4949
  break;
4950
4950
  }
4951
- Bt = o.return;
4951
+ Nt = o.return;
4952
4952
  }
4953
4953
  }
4954
4954
  function W2(t) {
4955
- for (; Bt !== null; ) {
4956
- var o = Bt;
4955
+ for (; Nt !== null; ) {
4956
+ var o = Nt;
4957
4957
  try {
4958
4958
  switch (o.tag) {
4959
4959
  case 0:
@@ -4995,15 +4995,15 @@ function W2(t) {
4995
4995
  Pi(o, o.return, I);
4996
4996
  }
4997
4997
  if (o === t) {
4998
- Bt = null;
4998
+ Nt = null;
4999
4999
  break;
5000
5000
  }
5001
5001
  var s = o.sibling;
5002
5002
  if (s !== null) {
5003
- s.return = o.return, Bt = s;
5003
+ s.return = o.return, Nt = s;
5004
5004
  break;
5005
5005
  }
5006
- Bt = o.return;
5006
+ Nt = o.return;
5007
5007
  }
5008
5008
  }
5009
5009
  var $4 = Math.ceil, T_ = ta.ReactCurrentDispatcher, Av = ta.ReactCurrentOwner, Io = ta.ReactCurrentBatchConfig, Nn = 0, rr = null, Fi = null, dr = 0, eo = 0, Ru = Ka(0), Xi = 0, bp = null, oc = 0, W_ = 0, Mv = 0, tp = null, jr = null, Iv = 0, Hu = 1 / 0, Zs = null, E_ = !1, g1 = null, Za = null, Om = !1, Na = null, C_ = 0, np = 0, y1 = null, e_ = -1, t_ = 0;
@@ -5321,8 +5321,8 @@ function jE(t, o) {
5321
5321
  break e;
5322
5322
  case 1:
5323
5323
  s = I;
5324
- var ee = w.type, fe = w.stateNode;
5325
- if (!(w.flags & 128) && (typeof ee.getDerivedStateFromError == "function" || fe !== null && typeof fe.componentDidCatch == "function" && (Za === null || !Za.has(fe)))) {
5324
+ var ee = w.type, pe = w.stateNode;
5325
+ if (!(w.flags & 128) && (typeof ee.getDerivedStateFromError == "function" || pe !== null && typeof pe.componentDidCatch == "function" && (Za === null || !Za.has(pe)))) {
5326
5326
  w.flags |= 65536, o &= -o, w.lanes |= o;
5327
5327
  var Be = EE(w, s, o);
5328
5328
  C2(w, Be);
@@ -5453,15 +5453,15 @@ function Uu() {
5453
5453
  if (t = Na, Na = null, C_ = 0, Nn & 6)
5454
5454
  throw Error(ft(331));
5455
5455
  var _ = Nn;
5456
- for (Nn |= 4, Bt = t.current; Bt !== null; ) {
5457
- var w = Bt, E = w.child;
5458
- if (Bt.flags & 16) {
5456
+ for (Nn |= 4, Nt = t.current; Nt !== null; ) {
5457
+ var w = Nt, E = w.child;
5458
+ if (Nt.flags & 16) {
5459
5459
  var s = w.deletions;
5460
5460
  if (s !== null) {
5461
5461
  for (var I = 0; I < s.length; I++) {
5462
5462
  var O = s[I];
5463
- for (Bt = O; Bt !== null; ) {
5464
- var $ = Bt;
5463
+ for (Nt = O; Nt !== null; ) {
5464
+ var $ = Nt;
5465
5465
  switch ($.tag) {
5466
5466
  case 0:
5467
5467
  case 11:
@@ -5470,20 +5470,20 @@ function Uu() {
5470
5470
  }
5471
5471
  var j = $.child;
5472
5472
  if (j !== null)
5473
- j.return = $, Bt = j;
5473
+ j.return = $, Nt = j;
5474
5474
  else
5475
- for (; Bt !== null; ) {
5476
- $ = Bt;
5475
+ for (; Nt !== null; ) {
5476
+ $ = Nt;
5477
5477
  var V = $.sibling, se = $.return;
5478
5478
  if (PE($), $ === O) {
5479
- Bt = null;
5479
+ Nt = null;
5480
5480
  break;
5481
5481
  }
5482
5482
  if (V !== null) {
5483
- V.return = se, Bt = V;
5483
+ V.return = se, Nt = V;
5484
5484
  break;
5485
5485
  }
5486
- Bt = se;
5486
+ Nt = se;
5487
5487
  }
5488
5488
  }
5489
5489
  }
@@ -5498,15 +5498,15 @@ function Uu() {
5498
5498
  } while (ge !== null);
5499
5499
  }
5500
5500
  }
5501
- Bt = w;
5501
+ Nt = w;
5502
5502
  }
5503
5503
  }
5504
5504
  if (w.subtreeFlags & 2064 && E !== null)
5505
- E.return = w, Bt = E;
5505
+ E.return = w, Nt = E;
5506
5506
  else
5507
5507
  e:
5508
- for (; Bt !== null; ) {
5509
- if (w = Bt, w.flags & 2048)
5508
+ for (; Nt !== null; ) {
5509
+ if (w = Nt, w.flags & 2048)
5510
5510
  switch (w.tag) {
5511
5511
  case 0:
5512
5512
  case 11:
@@ -5515,22 +5515,22 @@ function Uu() {
5515
5515
  }
5516
5516
  var me = w.sibling;
5517
5517
  if (me !== null) {
5518
- me.return = w.return, Bt = me;
5518
+ me.return = w.return, Nt = me;
5519
5519
  break e;
5520
5520
  }
5521
- Bt = w.return;
5521
+ Nt = w.return;
5522
5522
  }
5523
5523
  }
5524
5524
  var ee = t.current;
5525
- for (Bt = ee; Bt !== null; ) {
5526
- E = Bt;
5527
- var fe = E.child;
5528
- if (E.subtreeFlags & 2064 && fe !== null)
5529
- fe.return = E, Bt = fe;
5525
+ for (Nt = ee; Nt !== null; ) {
5526
+ E = Nt;
5527
+ var pe = E.child;
5528
+ if (E.subtreeFlags & 2064 && pe !== null)
5529
+ pe.return = E, Nt = pe;
5530
5530
  else
5531
5531
  e:
5532
- for (E = ee; Bt !== null; ) {
5533
- if (s = Bt, s.flags & 2048)
5532
+ for (E = ee; Nt !== null; ) {
5533
+ if (s = Nt, s.flags & 2048)
5534
5534
  try {
5535
5535
  switch (s.tag) {
5536
5536
  case 0:
@@ -5542,15 +5542,15 @@ function Uu() {
5542
5542
  Pi(s, s.return, he);
5543
5543
  }
5544
5544
  if (s === E) {
5545
- Bt = null;
5545
+ Nt = null;
5546
5546
  break e;
5547
5547
  }
5548
5548
  var Be = s.sibling;
5549
5549
  if (Be !== null) {
5550
- Be.return = s.return, Bt = Be;
5550
+ Be.return = s.return, Nt = Be;
5551
5551
  break e;
5552
5552
  }
5553
- Bt = s.return;
5553
+ Nt = s.return;
5554
5554
  }
5555
5555
  }
5556
5556
  if (Nn = _, Qa(), bs && typeof bs.onPostCommitFiberRoot == "function")
@@ -6871,7 +6871,7 @@ var oL = rL(function(t) {
6871
6871
  for (ln[ct] = xt; Jt < It; )
6872
6872
  ln[++tn] = Tt[Jt++];
6873
6873
  return ln;
6874
- }, ee = 1, fe = 2, Be = 3, he = 4, He = {
6874
+ }, ee = 1, pe = 2, Be = 3, he = 4, He = {
6875
6875
  __hamt_isEmpty: !0
6876
6876
  }, Ke = function(Ce) {
6877
6877
  return Ce === He || Ce && Ce.__hamt_isEmpty;
@@ -6886,7 +6886,7 @@ var oL = rL(function(t) {
6886
6886
  };
6887
6887
  }, je = function(Ce, ct, xt) {
6888
6888
  return {
6889
- type: fe,
6889
+ type: pe,
6890
6890
  edit: Ce,
6891
6891
  hash: ct,
6892
6892
  children: xt,
@@ -6900,20 +6900,20 @@ var oL = rL(function(t) {
6900
6900
  children: xt,
6901
6901
  _modify: ut
6902
6902
  };
6903
- }, Nt = function(Ce, ct, xt) {
6903
+ }, Ft = function(Ce, ct, xt) {
6904
6904
  return {
6905
6905
  type: he,
6906
6906
  edit: Ce,
6907
6907
  size: ct,
6908
6908
  children: xt,
6909
- _modify: Ft
6909
+ _modify: Pt
6910
6910
  };
6911
6911
  }, kt = function(Ce) {
6912
- return Ce === He || Ce.type === ee || Ce.type === fe;
6912
+ return Ce === He || Ce.type === ee || Ce.type === pe;
6913
6913
  }, rn = function(Ce, ct, xt, Tt, It) {
6914
6914
  for (var Wt = [], Jt = Tt, tn = 0, ln = 0; Jt; ++ln)
6915
6915
  Jt & 1 && (Wt[ln] = It[tn++]), Jt >>>= 1;
6916
- return Wt[ct] = xt, Nt(Ce, tn + 1, Wt);
6916
+ return Wt[ct] = xt, Ft(Ce, tn + 1, Wt);
6917
6917
  }, sn = function(Ce, ct, xt, Tt) {
6918
6918
  for (var It = new Array(ct - 1), Wt = 0, Jt = 0, tn = 0, ln = Tt.length; tn < ln; ++tn)
6919
6919
  if (tn !== xt) {
@@ -6970,7 +6970,7 @@ var oL = rL(function(t) {
6970
6970
  } else
6971
6971
  Y = ge(P, Un, Q, ln);
6972
6972
  return P ? (this.mask = F, this.children = Y, this) : We(Ce, F, Y);
6973
- }, Ft = function(Ce, ct, xt, Tt, It, Wt, Jt) {
6973
+ }, Pt = function(Ce, ct, xt, Tt, It, Wt, Jt) {
6974
6974
  var tn = this.size, ln = this.children, Ln = V(xt, It), bi = ln[Ln], Un = (bi || He)._modify(Ce, ct, xt + d, Tt, It, Wt, Jt);
6975
6975
  if (bi === Un)
6976
6976
  return this;
@@ -6983,7 +6983,7 @@ var oL = rL(function(t) {
6983
6983
  Ui = ge(Si, Ln, He, ln);
6984
6984
  } else
6985
6985
  Ui = ge(Si, Ln, Un, ln);
6986
- return Si ? (this.size = tn, this.children = Ui, this) : Nt(Ce, tn, Ui);
6986
+ return Si ? (this.size = tn, this.children = Ui, this) : Ft(Ce, tn, Ui);
6987
6987
  };
6988
6988
  He._modify = function(Pe, Ce, ct, xt, Tt, It, Wt) {
6989
6989
  var Jt = xt();
@@ -7000,7 +7000,7 @@ var oL = rL(function(t) {
7000
7000
  switch (Tt.type) {
7001
7001
  case ee:
7002
7002
  return Wt(ct, Tt.key) ? Tt.value : Pe;
7003
- case fe: {
7003
+ case pe: {
7004
7004
  if (Ce === Tt.hash)
7005
7005
  for (var Jt = Tt.children, tn = 0, ln = Jt.length; tn < ln; ++tn) {
7006
7006
  var Ln = Jt[tn];
@@ -7148,7 +7148,7 @@ var oL = rL(function(t) {
7148
7148
  value: ct(Ce),
7149
7149
  rest: xt
7150
7150
  };
7151
- case fe:
7151
+ case pe:
7152
7152
  case he:
7153
7153
  case Be:
7154
7154
  var Tt = Ce.children;
@@ -9316,16 +9316,16 @@ class xP {
9316
9316
  const ee = this._root;
9317
9317
  if ((ee == null ? void 0 : ee.type) === "leaf")
9318
9318
  throw this.invalidCacheError();
9319
- const fe = O;
9320
- if (O = fe ? fe.branches.get($) : ee, O = (j = O) !== null && j !== void 0 ? j : {
9319
+ const pe = O;
9320
+ if (O = pe ? pe.branches.get($) : ee, O = (j = O) !== null && j !== void 0 ? j : {
9321
9321
  type: "branch",
9322
9322
  nodeKey: et,
9323
- parent: fe,
9323
+ parent: pe,
9324
9324
  branches: /* @__PURE__ */ new Map(),
9325
9325
  branchKey: $
9326
9326
  }, O.type !== "branch" || O.nodeKey !== et)
9327
9327
  throw this.invalidCacheError();
9328
- fe == null || fe.branches.set($, O), d == null || (V = d.onNodeVisit) === null || V === void 0 || V.call(d, O), $ = this._mapNodeValue(me), this._root = (se = this._root) !== null && se !== void 0 ? se : O;
9328
+ pe == null || pe.branches.set($, O), d == null || (V = d.onNodeVisit) === null || V === void 0 || V.call(d, O), $ = this._mapNodeValue(me), this._root = (se = this._root) !== null && se !== void 0 ? se : O;
9329
9329
  }
9330
9330
  const ae = O ? (w = O) === null || w === void 0 ? void 0 : w.branches.get($) : this._root;
9331
9331
  if (ae != null && (ae.type !== "leaf" || ae.branchKey !== $))
@@ -9648,7 +9648,7 @@ function mA(t) {
9648
9648
  let ht = $m.get(at);
9649
9649
  ht == null && $m.set(at, ht = /* @__PURE__ */ new Set()), ht.add(Me);
9650
9650
  }
9651
- function fe(Me, at, ht, Rt, St, Dt) {
9651
+ function pe(Me, at, ht, Rt, St, Dt) {
9652
9652
  return at.then((on) => {
9653
9653
  if (!j())
9654
9654
  throw rn(Me), Od;
@@ -9745,7 +9745,7 @@ function mA(t) {
9745
9745
  Mt = d({
9746
9746
  get: en,
9747
9747
  getCallback: ci
9748
- }), Mt = ZP(Mt) ? en(Mt) : Mt, BP(Mt) && (Mt.state === "hasError" && (un = !0), Mt = Mt.contents), pi(Mt) ? Mt = fe(Me, Mt, at, xn, ht, Ht).finally(on) : on(), Mt = Mt instanceof pA ? Mt.value : Mt;
9748
+ }), Mt = ZP(Mt) ? en(Mt) : Mt, BP(Mt) && (Mt.state === "hasError" && (un = !0), Mt = Mt.contents), pi(Mt) ? Mt = pe(Me, Mt, at, xn, ht, Ht).finally(on) : on(), Mt = Mt instanceof pA ? Mt.value : Mt;
9749
9749
  } catch (lt) {
9750
9750
  Mt = lt, pi(Mt) ? Mt = Be(Me, Mt, at, xn, ht, Ht).finally(on) : (un = !0, on());
9751
9751
  }
@@ -9781,7 +9781,7 @@ function mA(t) {
9781
9781
  return ((St = Rt.loadingLoadable) === null || St === void 0 ? void 0 : St.state) === "loading" && ee(Me, Rt.executionID), Rt.loadingLoadable;
9782
9782
  }
9783
9783
  const Dt = XP(), [on, Mt] = He(Me, at, Dt);
9784
- return on.state === "loading" ? (Nt(Me, Dt, on, Mt, at), ee(Me, Dt)) : (rn(Me), ai(at, on, Mt)), on;
9784
+ return on.state === "loading" ? (Ft(Me, Dt, on, Mt, at), ee(Me, Dt)) : (rn(Me), ai(at, on, Mt)), on;
9785
9785
  }
9786
9786
  function je(Me, at) {
9787
9787
  const ht = BC([O.has(Me) ? [vi(O.get(Me))] : [], ig(Vv(O, ([St]) => St !== Me), ([, St]) => St)]);
@@ -9805,7 +9805,7 @@ function mA(t) {
9805
9805
  function We(Me) {
9806
9806
  return O.get(Me);
9807
9807
  }
9808
- function Nt(Me, at, ht, Rt, St) {
9808
+ function Ft(Me, at, ht, Rt, St) {
9809
9809
  O.set(Me, {
9810
9810
  depValuesDiscoveredSoFarDuringAsyncWork: Rt,
9811
9811
  executionID: at,
@@ -9862,7 +9862,7 @@ function mA(t) {
9862
9862
  function ut(Me) {
9863
9863
  Me.atomValues.delete(c);
9864
9864
  }
9865
- function Ft(Me, at) {
9865
+ function Pt(Me, at) {
9866
9866
  o == null && Wd(!1);
9867
9867
  for (const Rt of E) {
9868
9868
  var ht;
@@ -9917,7 +9917,7 @@ function mA(t) {
9917
9917
  },
9918
9918
  init: V,
9919
9919
  invalidate: ut,
9920
- clearCache: Ft,
9920
+ clearCache: Pt,
9921
9921
  shouldDeleteConfigOnRelease: se,
9922
9922
  dangerouslyAllowMutability: t.dangerouslyAllowMutability,
9923
9923
  shouldRestoreFromSnapshots: !1,
@@ -9929,7 +9929,7 @@ function mA(t) {
9929
9929
  get: Zt,
9930
9930
  init: V,
9931
9931
  invalidate: ut,
9932
- clearCache: Ft,
9932
+ clearCache: Pt,
9933
9933
  shouldDeleteConfigOnRelease: se,
9934
9934
  dangerouslyAllowMutability: t.dangerouslyAllowMutability,
9935
9935
  shouldRestoreFromSnapshots: !1,
@@ -9970,8 +9970,8 @@ function o6(t) {
9970
9970
  } = t, d = r6(t.retainedBy_UNSTABLE);
9971
9971
  let _ = 0;
9972
9972
  function w(ee) {
9973
- return S0(ee.then((fe) => (E = gu(fe), fe)).catch((fe) => {
9974
- throw E = b0(fe), fe;
9973
+ return S0(ee.then((pe) => (E = gu(pe), pe)).catch((pe) => {
9974
+ throw E = b0(pe), pe;
9975
9975
  }));
9976
9976
  }
9977
9977
  let E = pi(t.default) ? w(t.default) : YP(t.default) ? t.default.state === "loading" ? w(t.default.contents) : t.default : (
@@ -9984,8 +9984,8 @@ function o6(t) {
9984
9984
  function O(ee) {
9985
9985
  return ee;
9986
9986
  }
9987
- function $(ee, fe) {
9988
- const Be = fe.then((he) => {
9987
+ function $(ee, pe) {
9988
+ const Be = pe.then((he) => {
9989
9989
  var He, Ke;
9990
9990
  return ((Ke = ((He = ee.getState().nextTree) !== null && He !== void 0 ? He : ee.getState().currentTree).atomValues.get(o)) === null || Ke === void 0 ? void 0 : Ke.contents) === Be && xS(ee, me, he), he;
9991
9991
  }).catch((he) => {
@@ -9994,74 +9994,74 @@ function o6(t) {
9994
9994
  });
9995
9995
  return Be;
9996
9996
  }
9997
- function j(ee, fe, Be) {
9997
+ function j(ee, pe, Be) {
9998
9998
  var he;
9999
9999
  _++;
10000
10000
  const He = () => {
10001
10001
  var We;
10002
- _--, (We = I.get(ee)) === null || We === void 0 || We.forEach((Nt) => Nt()), I.delete(ee);
10002
+ _--, (We = I.get(ee)) === null || We === void 0 || We.forEach((Ft) => Ft()), I.delete(ee);
10003
10003
  };
10004
10004
  if (ee.getState().knownAtoms.add(o), E.state === "loading") {
10005
10005
  const We = () => {
10006
- var Nt;
10007
- ((Nt = ee.getState().nextTree) !== null && Nt !== void 0 ? Nt : ee.getState().currentTree).atomValues.has(o) || n6(ee, me);
10006
+ var Ft;
10007
+ ((Ft = ee.getState().nextTree) !== null && Ft !== void 0 ? Ft : ee.getState().currentTree).atomValues.has(o) || n6(ee, me);
10008
10008
  };
10009
10009
  E.contents.finally(We);
10010
10010
  }
10011
10011
  const Ke = (he = t.effects) !== null && he !== void 0 ? he : t.effects_UNSTABLE;
10012
10012
  if (Ke != null) {
10013
10013
  let sn = function(ut) {
10014
- if (Nt && ut.key === o) {
10015
- const Ft = We;
10016
- return Ft instanceof za ? V(ee, fe) : pi(Ft) ? S0(Ft.then((Me) => Me instanceof za ? (
10014
+ if (Ft && ut.key === o) {
10015
+ const Pt = We;
10016
+ return Pt instanceof za ? V(ee, pe) : pi(Pt) ? S0(Pt.then((Me) => Me instanceof za ? (
10017
10017
  // Cast T to S
10018
10018
  E.toPromise()
10019
10019
  ) : Me)) : (
10020
10020
  // $FlowFixMe[incompatible-call]
10021
- gu(Ft)
10021
+ gu(Pt)
10022
10022
  );
10023
10023
  }
10024
10024
  return t6(ee, ut);
10025
10025
  }, $t = function(ut) {
10026
10026
  return sn(ut).toPromise();
10027
10027
  }, ai = function(ut) {
10028
- var Ft;
10029
- const Me = KP(ee, (Ft = ee.getState().nextTree) !== null && Ft !== void 0 ? Ft : ee.getState().currentTree, ut.key);
10030
- return Nt && ut.key === o && !(We instanceof za) ? {
10028
+ var Pt;
10029
+ const Me = KP(ee, (Pt = ee.getState().nextTree) !== null && Pt !== void 0 ? Pt : ee.getState().currentTree, ut.key);
10030
+ return Ft && ut.key === o && !(We instanceof za) ? {
10031
10031
  ...Me,
10032
10032
  isSet: !0,
10033
10033
  loadable: sn(ut)
10034
10034
  } : Me;
10035
- }, We = Hl, Nt = !0, kt = !1, rn = null;
10036
- const Jn = (ut) => (Ft) => {
10037
- if (Nt) {
10035
+ }, We = Hl, Ft = !0, kt = !1, rn = null;
10036
+ const Jn = (ut) => (Pt) => {
10037
+ if (Ft) {
10038
10038
  const Me = sn(me), at = Me.state === "hasValue" ? Me.contents : Hl;
10039
- We = typeof Ft == "function" ? (
10039
+ We = typeof Pt == "function" ? (
10040
10040
  // cast to any because we can't restrict T from being a function without losing support for opaque types
10041
- Ft(at)
10042
- ) : Ft, pi(We) && (We = We.then((ht) => (rn = {
10041
+ Pt(at)
10042
+ ) : Pt, pi(We) && (We = We.then((ht) => (rn = {
10043
10043
  effect: ut,
10044
10044
  value: ht
10045
10045
  }, ht)));
10046
10046
  } else {
10047
- if (pi(Ft))
10047
+ if (pi(Pt))
10048
10048
  throw wn("Setting atoms to async values is not implemented.");
10049
- typeof Ft != "function" && (rn = {
10049
+ typeof Pt != "function" && (rn = {
10050
10050
  effect: ut,
10051
- value: Nd(Ft)
10052
- }), xS(ee, me, typeof Ft == "function" ? (Me) => {
10051
+ value: Nd(Pt)
10052
+ }), xS(ee, me, typeof Pt == "function" ? (Me) => {
10053
10053
  const at = Nd(
10054
10054
  // cast to any because we can't restrict T from being a function without losing support for opaque types
10055
- Ft(Me)
10055
+ Pt(Me)
10056
10056
  // flowlint-line unclear-type:off
10057
10057
  );
10058
10058
  return rn = {
10059
10059
  effect: ut,
10060
10060
  value: at
10061
10061
  }, at;
10062
- } : Nd(Ft));
10062
+ } : Nd(Pt));
10063
10063
  }
10064
- }, _t = (ut) => () => Jn(ut)(Hl), Zt = (ut) => (Ft) => {
10064
+ }, _t = (ut) => () => Jn(ut)(Hl), Zt = (ut) => (Pt) => {
10065
10065
  var Me;
10066
10066
  const {
10067
10067
  release: at
@@ -10076,14 +10076,14 @@ function o6(t) {
10076
10076
  if (on.state === "hasValue") {
10077
10077
  var Mt, un, Zn, Ht;
10078
10078
  const xn = on.contents, en = (Mt = Dt.atomValues.get(o)) !== null && Mt !== void 0 ? Mt : E, ci = en.state === "hasValue" ? en.contents : Hl;
10079
- ((un = rn) === null || un === void 0 ? void 0 : un.effect) !== ut || ((Zn = rn) === null || Zn === void 0 ? void 0 : Zn.value) !== xn ? Ft(xn, ci, !St.atomValues.has(o)) : ((Ht = rn) === null || Ht === void 0 ? void 0 : Ht.effect) === ut && (rn = null);
10079
+ ((un = rn) === null || un === void 0 ? void 0 : un.effect) !== ut || ((Zn = rn) === null || Zn === void 0 ? void 0 : Zn.value) !== xn ? Pt(xn, ci, !St.atomValues.has(o)) : ((Ht = rn) === null || Ht === void 0 ? void 0 : Ht.effect) === ut && (rn = null);
10080
10080
  }
10081
10081
  }, o);
10082
10082
  I.set(ee, [...(Me = I.get(ee)) !== null && Me !== void 0 ? Me : [], at]);
10083
10083
  };
10084
10084
  for (const ut of Ke)
10085
10085
  try {
10086
- const Ft = ut({
10086
+ const Pt = ut({
10087
10087
  node: me,
10088
10088
  storeID: ee.storeID,
10089
10089
  parentStoreID_UNSTABLE: ee.parentStoreID,
@@ -10095,34 +10095,34 @@ function o6(t) {
10095
10095
  getLoadable: sn,
10096
10096
  getInfo_UNSTABLE: ai
10097
10097
  });
10098
- if (Ft != null) {
10098
+ if (Pt != null) {
10099
10099
  var Qe;
10100
- I.set(ee, [...(Qe = I.get(ee)) !== null && Qe !== void 0 ? Qe : [], Ft]);
10100
+ I.set(ee, [...(Qe = I.get(ee)) !== null && Qe !== void 0 ? Qe : [], Pt]);
10101
10101
  }
10102
- } catch (Ft) {
10103
- We = Ft, kt = !0;
10102
+ } catch (Pt) {
10103
+ We = Pt, kt = !0;
10104
10104
  }
10105
- if (Nt = !1, !(We instanceof za)) {
10105
+ if (Ft = !1, !(We instanceof za)) {
10106
10106
  var je;
10107
10107
  const ut = kt ? b0(We) : pi(We) ? S0($(ee, We)) : gu(Nd(We));
10108
- ut.contents, fe.atomValues.set(o, ut), (je = ee.getState().nextTree) === null || je === void 0 || je.atomValues.set(o, ut);
10108
+ ut.contents, pe.atomValues.set(o, ut), (je = ee.getState().nextTree) === null || je === void 0 || je.atomValues.set(o, ut);
10109
10109
  }
10110
10110
  }
10111
10111
  return He;
10112
10112
  }
10113
- function V(ee, fe) {
10113
+ function V(ee, pe) {
10114
10114
  var Be, he;
10115
- return (Be = (he = fe.atomValues.get(o)) !== null && he !== void 0 ? he : s) !== null && Be !== void 0 ? Be : E;
10115
+ return (Be = (he = pe.atomValues.get(o)) !== null && he !== void 0 ? he : s) !== null && Be !== void 0 ? Be : E;
10116
10116
  }
10117
- function se(ee, fe) {
10118
- if (fe.atomValues.has(o))
10119
- return vi(fe.atomValues.get(o));
10120
- if (fe.nonvalidatedAtoms.has(o)) {
10117
+ function se(ee, pe) {
10118
+ if (pe.atomValues.has(o))
10119
+ return vi(pe.atomValues.get(o));
10120
+ if (pe.nonvalidatedAtoms.has(o)) {
10121
10121
  if (s != null)
10122
10122
  return s;
10123
10123
  if (c == null)
10124
10124
  return E;
10125
- const Be = fe.nonvalidatedAtoms.get(o), he = c.validator(Be, Hl);
10125
+ const Be = pe.nonvalidatedAtoms.get(o), he = c.validator(Be, Hl);
10126
10126
  return s = he instanceof za ? E : gu(he), s;
10127
10127
  } else
10128
10128
  return E;
@@ -10130,12 +10130,12 @@ function o6(t) {
10130
10130
  function ae() {
10131
10131
  s = void 0;
10132
10132
  }
10133
- function ge(ee, fe, Be) {
10134
- if (fe.atomValues.has(o)) {
10135
- const he = vi(fe.atomValues.get(o));
10133
+ function ge(ee, pe, Be) {
10134
+ if (pe.atomValues.has(o)) {
10135
+ const he = vi(pe.atomValues.get(o));
10136
10136
  if (he.state === "hasValue" && Be === he.contents)
10137
10137
  return /* @__PURE__ */ new Map();
10138
- } else if (!fe.nonvalidatedAtoms.has(o) && Be instanceof za)
10138
+ } else if (!pe.nonvalidatedAtoms.has(o) && Be instanceof za)
10139
10139
  return /* @__PURE__ */ new Map();
10140
10140
  return s = void 0, (/* @__PURE__ */ new Map()).set(o, gu(Be));
10141
10141
  }
@@ -11024,7 +11024,7 @@ const _O = (t, o, ...c) => {
11024
11024
  if (w)
11025
11025
  return w[d];
11026
11026
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
11027
- return cO(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-a27edde5.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-b3cae653.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-c6e8dfda.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-c1afada2.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-c8c842b6.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-e0fa53db.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-fda0b47c.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-8534b3e9.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-1ea98a50.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-a6a1a59b.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-3ff05804.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-1a7d378a.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-4541e6b0.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-49686cb4.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-447ed30f.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-1e179751.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-82d5c9f4.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-7ff6abbb.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-a1083af0.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-45dff65a.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-502af68b.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-79ab86df.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-8a4e4a5f.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-3982d45a.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-fc17f947.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-3a05e2f2.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-61376d64.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-68a2990a.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-0617eb4a.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-41f6a2de.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-9f9ca195.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-fcb462fa.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-1e38461e.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-b59c57d9.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-e0bac6a6.mjs") }), `./${_}.entry.js`).then((E) => (IS.set(_, E), E[d]), pc);
11027
+ return cO(/* @__PURE__ */ Object.assign({ "./combo-box-item.entry.js": () => import("./combo-box-item.entry-50afb9ae.mjs"), "./mi-card_2.entry.js": () => import("./mi-card_2.entry-50ad757c.mjs"), "./mi-chip.entry.js": () => import("./mi-chip.entry-35cbf24e.mjs"), "./mi-column.entry.js": () => import("./mi-column.entry-528331d0.mjs"), "./mi-combo-box.entry.js": () => import("./mi-combo-box.entry-c4d38755.mjs"), "./mi-data-table.entry.js": () => import("./mi-data-table.entry-4a5c6b59.mjs"), "./mi-distance_2.entry.js": () => import("./mi-distance_2.entry-054e576b.mjs"), "./mi-dropdown-item.entry.js": () => import("./mi-dropdown-item.entry-64fa259f.mjs"), "./mi-dropdown.entry.js": () => import("./mi-dropdown.entry-ff5b449a.mjs"), "./mi-floor-selector.entry.js": () => import("./mi-floor-selector.entry-743d69d3.mjs"), "./mi-keyboard.entry.js": () => import("./mi-keyboard.entry-b5db1fea.mjs"), "./mi-list-item-category.entry.js": () => import("./mi-list-item-category.entry-fa4f755f.mjs"), "./mi-list-item-location.entry.js": () => import("./mi-list-item-location.entry-f7494c9c.mjs"), "./mi-list.entry.js": () => import("./mi-list.entry-f6c4d013.mjs"), "./mi-location-booking.entry.js": () => import("./mi-location-booking.entry-6c78c991.mjs"), "./mi-location-info.entry.js": () => import("./mi-location-info.entry-3baf42a6.mjs"), "./mi-map-googlemaps.entry.js": () => import("./mi-map-googlemaps.entry-82a93a0a.mjs"), "./mi-map-mapbox.entry.js": () => import("./mi-map-mapbox.entry-e95960ff.mjs"), "./mi-metric-card.entry.js": () => import("./mi-metric-card.entry-66e5521e.mjs"), "./mi-my-position.entry.js": () => import("./mi-my-position.entry-bb7cf823.mjs"), "./mi-notification.entry.js": () => import("./mi-notification.entry-fcbd36ee.mjs"), "./mi-route-instructions-heading.entry.js": () => import("./mi-route-instructions-heading.entry-ac5924f4.mjs"), "./mi-route-instructions-maneuver-legacy.entry.js": () => import("./mi-route-instructions-maneuver-legacy.entry-aa875c11.mjs"), "./mi-route-instructions-maneuver.entry.js": () => import("./mi-route-instructions-maneuver.entry-9f34c4ca.mjs"), "./mi-route-instructions-step-legacy.entry.js": () => import("./mi-route-instructions-step-legacy.entry-37b02d29.mjs"), "./mi-route-instructions-step.entry.js": () => import("./mi-route-instructions-step.entry-be05ecbb.mjs"), "./mi-route-instructions.entry.js": () => import("./mi-route-instructions.entry-27fb474f.mjs"), "./mi-scroll-buttons.entry.js": () => import("./mi-scroll-buttons.entry-776ae40a.mjs"), "./mi-search.entry.js": () => import("./mi-search.entry-0c045767.mjs"), "./mi-share-sms.entry.js": () => import("./mi-share-sms.entry-929afd98.mjs"), "./mi-step-switcher.entry.js": () => import("./mi-step-switcher.entry-d2f40e47.mjs"), "./mi-tab-panel.entry.js": () => import("./mi-tab-panel.entry-c82517c0.mjs"), "./mi-tab.entry.js": () => import("./mi-tab.entry-5f4b88b6.mjs"), "./mi-tabs.entry.js": () => import("./mi-tabs.entry-7670351a.mjs"), "./mi-time.entry.js": () => import("./mi-time.entry-05acc1aa.mjs") }), `./${_}.entry.js`).then((E) => (IS.set(_, E), E[d]), pc);
11028
11028
  }, P_ = /* @__PURE__ */ new Map(), Pp = typeof window < "u" ? window : {}, ws = Pp.document || { head: {} }, ir = {
11029
11029
  $flags$: 0,
11030
11030
  $resourcesUrl$: "",
@@ -11347,7 +11347,7 @@ var FA = { exports: {} };
11347
11347
  ge = !0, se = null;
11348
11348
  }, ae.src = "data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");
11349
11349
  const ee = "01";
11350
- var fe = Be;
11350
+ var pe = Be;
11351
11351
  function Be(n, e, i, a) {
11352
11352
  this.cx = 3 * n, this.bx = 3 * (i - n) - this.cx, this.ax = 1 - this.cx - this.bx, this.cy = 3 * e, this.by = 3 * (a - e) - this.cy, this.ay = 1 - this.cy - this.by, this.p1x = n, this.p1y = e, this.p2x = i, this.p2y = a;
11353
11353
  }
@@ -11463,7 +11463,7 @@ var FA = { exports: {} };
11463
11463
  function We(n) {
11464
11464
  return n * Qe;
11465
11465
  }
11466
- const Nt = [[0, 0], [1, 0], [1, 1], [0, 1]];
11466
+ const Ft = [[0, 0], [1, 0], [1, 1], [0, 1]];
11467
11467
  function kt(n) {
11468
11468
  if (n <= 0)
11469
11469
  return 0;
@@ -11473,7 +11473,7 @@ var FA = { exports: {} };
11473
11473
  return 4 * (n < 0.5 ? i : 3 * (n - e) + i - 0.75);
11474
11474
  }
11475
11475
  function rn(n, e, i, a) {
11476
- const u = new fe(n, e, i, a);
11476
+ const u = new pe(n, e, i, a);
11477
11477
  return function(p) {
11478
11478
  return u.solve(p);
11479
11479
  };
@@ -11513,9 +11513,9 @@ var FA = { exports: {} };
11513
11513
  n[a] = i[a];
11514
11514
  return n;
11515
11515
  }
11516
- let Ft = 1;
11516
+ let Pt = 1;
11517
11517
  function Me() {
11518
- return Ft++;
11518
+ return Pt++;
11519
11519
  }
11520
11520
  function at() {
11521
11521
  return function n(e) {
@@ -13211,7 +13211,7 @@ var FA = { exports: {} };
13211
13211
  p = vh(i, 1, a, u);
13212
13212
  else if (e.name === "cubic-bezier") {
13213
13213
  const m = e.controlPoints;
13214
- p = new fe(m[0], m[1], m[2], m[3]).solve(vh(i, 1, a, u));
13214
+ p = new pe(m[0], m[1], m[2], m[3]).solve(vh(i, 1, a, u));
13215
13215
  }
13216
13216
  return p;
13217
13217
  }
@@ -14804,7 +14804,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14804
14804
  const ie = function(n) {
14805
14805
  n && typeof n == "string" && n.indexOf("NetworkError") > -1 && (J = "error"), W && W(n);
14806
14806
  };
14807
- function pe() {
14807
+ function fe() {
14808
14808
  ue.fire(new ho("pluginStateChange", { pluginStatus: J, pluginURL: K }));
14809
14809
  }
14810
14810
  const ue = new Dr(), xe = function() {
@@ -14812,8 +14812,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14812
14812
  }, De = function() {
14813
14813
  if (J !== q || !K)
14814
14814
  throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");
14815
- J = X, pe(), K && uo({ url: K }, (n) => {
14816
- n ? ie(n) : (J = Z, pe());
14815
+ J = X, fe(), K && uo({ url: K }, (n) => {
14816
+ n ? ie(n) : (J = Z, fe());
14817
14817
  });
14818
14818
  }, ke = { applyArabicShaping: null, processBidirectionalText: null, processStyledBidirectionalText: null, isLoaded: () => J === Z || ke.applyArabicShaping != null, isLoading: () => J === X, setState(n) {
14819
14819
  J = n.pluginStatus, K = n.pluginURL;
@@ -15033,7 +15033,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15033
15033
  return !1;
15034
15034
  }
15035
15035
  }
15036
- class Pt {
15036
+ class Ot {
15037
15037
  constructor(e) {
15038
15038
  this.properties = e, this.defaultPropertyValues = {}, this.defaultTransitionablePropertyValues = {}, this.defaultTransitioningPropertyValues = {}, this.defaultPossiblyEvaluatedValues = {}, this.overridableProperties = [];
15039
15039
  const i = new we(0, {});
@@ -15055,7 +15055,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15055
15055
  this._structArray = e, this._pos1 = i * this.size, this._pos2 = this._pos1 / 2, this._pos4 = this._pos1 / 4, this._pos8 = this._pos1 / 8;
15056
15056
  }
15057
15057
  }
15058
- class Ot {
15058
+ class Bt {
15059
15059
  constructor() {
15060
15060
  this.isTransferred = !1, this.capacity = -1, this.resize(0);
15061
15061
  }
@@ -15099,7 +15099,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15099
15099
  function Rn(n, e) {
15100
15100
  return Math.ceil(n / e) * e;
15101
15101
  }
15102
- class Cn extends Ot {
15102
+ class Cn extends Bt {
15103
15103
  _refreshViews() {
15104
15104
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);
15105
15105
  }
@@ -15113,7 +15113,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15113
15113
  }
15114
15114
  }
15115
15115
  Cn.prototype.bytesPerElement = 4, bt(Cn, "StructArrayLayout2i4");
15116
- class $n extends Ot {
15116
+ class $n extends Bt {
15117
15117
  _refreshViews() {
15118
15118
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);
15119
15119
  }
@@ -15127,7 +15127,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15127
15127
  }
15128
15128
  }
15129
15129
  $n.prototype.bytesPerElement = 6, bt($n, "StructArrayLayout3i6");
15130
- class Pn extends Ot {
15130
+ class Pn extends Bt {
15131
15131
  _refreshViews() {
15132
15132
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);
15133
15133
  }
@@ -15141,7 +15141,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15141
15141
  }
15142
15142
  }
15143
15143
  Pn.prototype.bytesPerElement = 8, bt(Pn, "StructArrayLayout4i8");
15144
- class gr extends Ot {
15144
+ class gr extends Bt {
15145
15145
  _refreshViews() {
15146
15146
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
15147
15147
  }
@@ -15155,7 +15155,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15155
15155
  }
15156
15156
  }
15157
15157
  gr.prototype.bytesPerElement = 12, bt(gr, "StructArrayLayout2i4ub1f12");
15158
- class Mr extends Ot {
15158
+ class Mr extends Bt {
15159
15159
  _refreshViews() {
15160
15160
  this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
15161
15161
  }
@@ -15169,7 +15169,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15169
15169
  }
15170
15170
  }
15171
15171
  Mr.prototype.bytesPerElement = 16, bt(Mr, "StructArrayLayout4f16");
15172
- class lr extends Ot {
15172
+ class lr extends Bt {
15173
15173
  _refreshViews() {
15174
15174
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
15175
15175
  }
@@ -15183,7 +15183,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15183
15183
  }
15184
15184
  }
15185
15185
  lr.prototype.bytesPerElement = 12, bt(lr, "StructArrayLayout4ui1f12");
15186
- class go extends Ot {
15186
+ class go extends Bt {
15187
15187
  _refreshViews() {
15188
15188
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
15189
15189
  }
@@ -15197,7 +15197,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15197
15197
  }
15198
15198
  }
15199
15199
  go.prototype.bytesPerElement = 8, bt(go, "StructArrayLayout4ui8");
15200
- class Yn extends Ot {
15200
+ class Yn extends Bt {
15201
15201
  _refreshViews() {
15202
15202
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);
15203
15203
  }
@@ -15211,7 +15211,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15211
15211
  }
15212
15212
  }
15213
15213
  Yn.prototype.bytesPerElement = 12, bt(Yn, "StructArrayLayout6i12");
15214
- class Vn extends Ot {
15214
+ class Vn extends Bt {
15215
15215
  _refreshViews() {
15216
15216
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
15217
15217
  }
@@ -15225,7 +15225,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15225
15225
  }
15226
15226
  }
15227
15227
  Vn.prototype.bytesPerElement = 24, bt(Vn, "StructArrayLayout4i4ui4i24");
15228
- class Tn extends Ot {
15228
+ class Tn extends Bt {
15229
15229
  _refreshViews() {
15230
15230
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
15231
15231
  }
@@ -15239,7 +15239,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15239
15239
  }
15240
15240
  }
15241
15241
  Tn.prototype.bytesPerElement = 20, bt(Tn, "StructArrayLayout3i3f20");
15242
- class mi extends Ot {
15242
+ class mi extends Bt {
15243
15243
  _refreshViews() {
15244
15244
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer);
15245
15245
  }
@@ -15252,7 +15252,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15252
15252
  }
15253
15253
  }
15254
15254
  mi.prototype.bytesPerElement = 4, bt(mi, "StructArrayLayout1ul4");
15255
- class Ki extends Ot {
15255
+ class Ki extends Bt {
15256
15256
  _refreshViews() {
15257
15257
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
15258
15258
  }
@@ -15266,7 +15266,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15266
15266
  }
15267
15267
  }
15268
15268
  Ki.prototype.bytesPerElement = 40, bt(Ki, "StructArrayLayout5i4f1i1ul2ui40");
15269
- class Wn extends Ot {
15269
+ class Wn extends Bt {
15270
15270
  _refreshViews() {
15271
15271
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);
15272
15272
  }
@@ -15280,7 +15280,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15280
15280
  }
15281
15281
  }
15282
15282
  Wn.prototype.bytesPerElement = 16, bt(Wn, "StructArrayLayout3i2i2i16");
15283
- class cr extends Ot {
15283
+ class cr extends Bt {
15284
15284
  _refreshViews() {
15285
15285
  this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer);
15286
15286
  }
@@ -15294,7 +15294,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15294
15294
  }
15295
15295
  }
15296
15296
  cr.prototype.bytesPerElement = 16, bt(cr, "StructArrayLayout2f1f2i16");
15297
- class kl extends Ot {
15297
+ class kl extends Bt {
15298
15298
  _refreshViews() {
15299
15299
  this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
15300
15300
  }
@@ -15308,7 +15308,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15308
15308
  }
15309
15309
  }
15310
15310
  kl.prototype.bytesPerElement = 12, bt(kl, "StructArrayLayout2ub2f12");
15311
- class Fo extends Ot {
15311
+ class Fo extends Bt {
15312
15312
  _refreshViews() {
15313
15313
  this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
15314
15314
  }
@@ -15322,7 +15322,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15322
15322
  }
15323
15323
  }
15324
15324
  Fo.prototype.bytesPerElement = 12, bt(Fo, "StructArrayLayout3f12");
15325
- class Qi extends Ot {
15325
+ class Qi extends Bt {
15326
15326
  _refreshViews() {
15327
15327
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
15328
15328
  }
@@ -15336,7 +15336,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15336
15336
  }
15337
15337
  }
15338
15338
  Qi.prototype.bytesPerElement = 6, bt(Qi, "StructArrayLayout3ui6");
15339
- class Or extends Ot {
15339
+ class Or extends Bt {
15340
15340
  _refreshViews() {
15341
15341
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer);
15342
15342
  }
@@ -15350,7 +15350,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15350
15350
  }
15351
15351
  }
15352
15352
  Or.prototype.bytesPerElement = 60, bt(Or, "StructArrayLayout3i2f2ui3ul3ui2f3ub1ul1i1ub60");
15353
- class yo extends Ot {
15353
+ class yo extends Bt {
15354
15354
  _refreshViews() {
15355
15355
  this.uint8 = new Uint8Array(this.arrayBuffer), this.int16 = new Int16Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer);
15356
15356
  }
@@ -15364,7 +15364,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15364
15364
  }
15365
15365
  }
15366
15366
  yo.prototype.bytesPerElement = 76, bt(yo, "StructArrayLayout3i2f6i15ui1ul3f76");
15367
- class vo extends Ot {
15367
+ class vo extends Bt {
15368
15368
  _refreshViews() {
15369
15369
  this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
15370
15370
  }
@@ -15377,7 +15377,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15377
15377
  }
15378
15378
  }
15379
15379
  vo.prototype.bytesPerElement = 4, bt(vo, "StructArrayLayout1f4");
15380
- class Ll extends Ot {
15380
+ class Ll extends Bt {
15381
15381
  _refreshViews() {
15382
15382
  this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
15383
15383
  }
@@ -15391,7 +15391,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15391
15391
  }
15392
15392
  }
15393
15393
  Ll.prototype.bytesPerElement = 20, bt(Ll, "StructArrayLayout5f20");
15394
- class xa extends Ot {
15394
+ class xa extends Bt {
15395
15395
  _refreshViews() {
15396
15396
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint32 = new Uint32Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
15397
15397
  }
@@ -15405,7 +15405,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15405
15405
  }
15406
15406
  }
15407
15407
  xa.prototype.bytesPerElement = 12, bt(xa, "StructArrayLayout1ul3ui12");
15408
- class xo extends Ot {
15408
+ class xo extends Bt {
15409
15409
  _refreshViews() {
15410
15410
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
15411
15411
  }
@@ -15419,7 +15419,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15419
15419
  }
15420
15420
  }
15421
15421
  xo.prototype.bytesPerElement = 4, bt(xo, "StructArrayLayout2ui4");
15422
- class Zh extends Ot {
15422
+ class Zh extends Bt {
15423
15423
  _refreshViews() {
15424
15424
  this.uint8 = new Uint8Array(this.arrayBuffer), this.uint16 = new Uint16Array(this.arrayBuffer);
15425
15425
  }
@@ -15432,7 +15432,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
15432
15432
  }
15433
15433
  }
15434
15434
  Zh.prototype.bytesPerElement = 2, bt(Zh, "StructArrayLayout1ui2");
15435
- class Of extends Ot {
15435
+ class Of extends Bt {
15436
15436
  _refreshViews() {
15437
15437
  this.uint8 = new Uint8Array(this.arrayBuffer), this.float32 = new Float32Array(this.arrayBuffer);
15438
15438
  }
@@ -16660,8 +16660,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16660
16660
  return e === "viewport" && u._rotate(-i), u;
16661
16661
  }
16662
16662
  bt(qg, "CircleBucket", { omit: ["layers"] });
16663
- const k3 = new Pt({ "circle-sort-key": new ze(Ge.layout_circle["circle-sort-key"]) });
16664
- var L3 = { paint: new Pt({ "circle-radius": new ze(Ge.paint_circle["circle-radius"]), "circle-color": new ze(Ge.paint_circle["circle-color"]), "circle-blur": new ze(Ge.paint_circle["circle-blur"]), "circle-opacity": new ze(Ge.paint_circle["circle-opacity"]), "circle-translate": new be(Ge.paint_circle["circle-translate"]), "circle-translate-anchor": new be(Ge.paint_circle["circle-translate-anchor"]), "circle-pitch-scale": new be(Ge.paint_circle["circle-pitch-scale"]), "circle-pitch-alignment": new be(Ge.paint_circle["circle-pitch-alignment"]), "circle-stroke-width": new ze(Ge.paint_circle["circle-stroke-width"]), "circle-stroke-color": new ze(Ge.paint_circle["circle-stroke-color"]), "circle-stroke-opacity": new ze(Ge.paint_circle["circle-stroke-opacity"]) }), layout: k3 }, Zf = 1e-6, Br = typeof Float32Array < "u" ? Float32Array : Array;
16663
+ const k3 = new Ot({ "circle-sort-key": new ze(Ge.layout_circle["circle-sort-key"]) });
16664
+ var L3 = { paint: new Ot({ "circle-radius": new ze(Ge.paint_circle["circle-radius"]), "circle-color": new ze(Ge.paint_circle["circle-color"]), "circle-blur": new ze(Ge.paint_circle["circle-blur"]), "circle-opacity": new ze(Ge.paint_circle["circle-opacity"]), "circle-translate": new be(Ge.paint_circle["circle-translate"]), "circle-translate-anchor": new be(Ge.paint_circle["circle-translate-anchor"]), "circle-pitch-scale": new be(Ge.paint_circle["circle-pitch-scale"]), "circle-pitch-alignment": new be(Ge.paint_circle["circle-pitch-alignment"]), "circle-stroke-width": new ze(Ge.paint_circle["circle-stroke-width"]), "circle-stroke-color": new ze(Ge.paint_circle["circle-stroke-color"]), "circle-stroke-opacity": new ze(Ge.paint_circle["circle-stroke-opacity"]) }), layout: k3 }, Zf = 1e-6, Br = typeof Float32Array < "u" ? Float32Array : Array;
16665
16665
  function jx() {
16666
16666
  var n = new Br(9);
16667
16667
  return Br != Float32Array && (n[1] = 0, n[2] = 0, n[3] = 0, n[5] = 0, n[6] = 0, n[7] = 0), n[0] = 1, n[4] = 1, n[8] = 1, n;
@@ -17011,7 +17011,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17011
17011
  }
17012
17012
  }
17013
17013
  bt(Us, "AlphaImage"), bt(Nr, "RGBAImage");
17014
- var F3 = { paint: new Pt({ "heatmap-radius": new ze(Ge.paint_heatmap["heatmap-radius"]), "heatmap-weight": new ze(Ge.paint_heatmap["heatmap-weight"]), "heatmap-intensity": new be(Ge.paint_heatmap["heatmap-intensity"]), "heatmap-color": new Et(Ge.paint_heatmap["heatmap-color"]), "heatmap-opacity": new be(Ge.paint_heatmap["heatmap-opacity"]) }) };
17014
+ var F3 = { paint: new Ot({ "heatmap-radius": new ze(Ge.paint_heatmap["heatmap-radius"]), "heatmap-weight": new ze(Ge.paint_heatmap["heatmap-weight"]), "heatmap-intensity": new be(Ge.paint_heatmap["heatmap-intensity"]), "heatmap-color": new Et(Ge.paint_heatmap["heatmap-color"]), "heatmap-opacity": new be(Ge.paint_heatmap["heatmap-opacity"]) }) };
17015
17015
  function oy(n) {
17016
17016
  const e = {}, i = n.resolution || 256, a = n.clips ? n.clips.length : 1, u = n.image || new Nr({ width: i, height: a }), p = (m, y, x) => {
17017
17017
  e[n.evaluationKey] = x;
@@ -17029,7 +17029,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17029
17029
  p(0, y, m / (i - 1));
17030
17030
  return u;
17031
17031
  }
17032
- var U3 = { paint: new Pt({ "hillshade-illumination-direction": new be(Ge.paint_hillshade["hillshade-illumination-direction"]), "hillshade-illumination-anchor": new be(Ge.paint_hillshade["hillshade-illumination-anchor"]), "hillshade-exaggeration": new be(Ge.paint_hillshade["hillshade-exaggeration"]), "hillshade-shadow-color": new be(Ge.paint_hillshade["hillshade-shadow-color"]), "hillshade-highlight-color": new be(Ge.paint_hillshade["hillshade-highlight-color"]), "hillshade-accent-color": new be(Ge.paint_hillshade["hillshade-accent-color"]) }) };
17032
+ var U3 = { paint: new Ot({ "hillshade-illumination-direction": new be(Ge.paint_hillshade["hillshade-illumination-direction"]), "hillshade-illumination-anchor": new be(Ge.paint_hillshade["hillshade-illumination-anchor"]), "hillshade-exaggeration": new be(Ge.paint_hillshade["hillshade-exaggeration"]), "hillshade-shadow-color": new be(Ge.paint_hillshade["hillshade-shadow-color"]), "hillshade-highlight-color": new be(Ge.paint_hillshade["hillshade-highlight-color"]), "hillshade-accent-color": new be(Ge.paint_hillshade["hillshade-accent-color"]) }) };
17033
17033
  const j3 = wt([{ name: "a_pos", components: 2, type: "Int16" }], 4), { members: $3 } = j3;
17034
17034
  var Jh = { exports: {} };
17035
17035
  function qf(n, e, i) {
@@ -17415,8 +17415,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17415
17415
  }
17416
17416
  }
17417
17417
  bt(Kf, "FillBucket", { omit: ["layers", "patternFeatures"] });
17418
- const tM = new Pt({ "fill-sort-key": new ze(Ge.layout_fill["fill-sort-key"]) });
17419
- var nM = { paint: new Pt({ "fill-antialias": new be(Ge.paint_fill["fill-antialias"]), "fill-opacity": new ze(Ge.paint_fill["fill-opacity"]), "fill-color": new ze(Ge.paint_fill["fill-color"]), "fill-outline-color": new ze(Ge.paint_fill["fill-outline-color"]), "fill-translate": new be(Ge.paint_fill["fill-translate"]), "fill-translate-anchor": new be(Ge.paint_fill["fill-translate-anchor"]), "fill-pattern": new ze(Ge.paint_fill["fill-pattern"]) }), layout: tM };
17418
+ const tM = new Ot({ "fill-sort-key": new ze(Ge.layout_fill["fill-sort-key"]) });
17419
+ var nM = { paint: new Ot({ "fill-antialias": new be(Ge.paint_fill["fill-antialias"]), "fill-opacity": new ze(Ge.paint_fill["fill-opacity"]), "fill-color": new ze(Ge.paint_fill["fill-color"]), "fill-outline-color": new ze(Ge.paint_fill["fill-outline-color"]), "fill-translate": new be(Ge.paint_fill["fill-translate"]), "fill-translate-anchor": new be(Ge.paint_fill["fill-translate-anchor"]), "fill-pattern": new ze(Ge.paint_fill["fill-pattern"]) }), layout: tM };
17420
17420
  const iM = wt([{ name: "a_pos_normal_ed", components: 4, type: "Int16" }]), rM = wt([{ name: "a_centroid_pos", components: 2, type: "Uint16" }]), oM = wt([{ name: "a_pos_3", components: 3, type: "Int16" }, { name: "a_pos_normal_3", components: 3, type: "Int16" }]), { members: sM } = iM;
17421
17421
  var Qf = {}, aM = he, uw = tu;
17422
17422
  function tu(n, e, i, a, u) {
@@ -17834,8 +17834,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17834
17834
  });
17835
17835
  }
17836
17836
  bt(sd, "FillExtrusionBucket", { omit: ["layers", "features"] }), bt(pw, "PartMetadata");
17837
- const gM = new Pt({ "fill-extrusion-edge-radius": new be(Ge["layout_fill-extrusion"]["fill-extrusion-edge-radius"]) });
17838
- var yM = { paint: new Pt({ "fill-extrusion-opacity": new be(Ge["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new ze(Ge["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new be(Ge["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new be(Ge["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new ze(Ge["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new ze(Ge["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new ze(Ge["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new be(Ge["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]), "fill-extrusion-ambient-occlusion-intensity": new be(Ge["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-intensity"]), "fill-extrusion-ambient-occlusion-radius": new be(Ge["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-radius"]) }), layout: gM };
17837
+ const gM = new Ot({ "fill-extrusion-edge-radius": new be(Ge["layout_fill-extrusion"]["fill-extrusion-edge-radius"]) });
17838
+ var yM = { paint: new Ot({ "fill-extrusion-opacity": new be(Ge["paint_fill-extrusion"]["fill-extrusion-opacity"]), "fill-extrusion-color": new ze(Ge["paint_fill-extrusion"]["fill-extrusion-color"]), "fill-extrusion-translate": new be(Ge["paint_fill-extrusion"]["fill-extrusion-translate"]), "fill-extrusion-translate-anchor": new be(Ge["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]), "fill-extrusion-pattern": new ze(Ge["paint_fill-extrusion"]["fill-extrusion-pattern"]), "fill-extrusion-height": new ze(Ge["paint_fill-extrusion"]["fill-extrusion-height"]), "fill-extrusion-base": new ze(Ge["paint_fill-extrusion"]["fill-extrusion-base"]), "fill-extrusion-vertical-gradient": new be(Ge["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"]), "fill-extrusion-ambient-occlusion-intensity": new be(Ge["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-intensity"]), "fill-extrusion-ambient-occlusion-radius": new be(Ge["paint_fill-extrusion"]["fill-extrusion-ambient-occlusion-radius"]) }), layout: gM };
17839
17839
  function ww(n, e, i) {
17840
17840
  var a = 2 * Math.PI * 6378137 / 256 / Math.pow(2, i);
17841
17841
  return [n * a - 2 * Math.PI * 6378137 / 2, e * a - 2 * Math.PI * 6378137 / 2];
@@ -18152,8 +18152,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
18152
18152
  }
18153
18153
  }
18154
18154
  bt(nm, "LineBucket", { omit: ["layers", "patternFeatures"] });
18155
- const EM = new Pt({ "line-cap": new ze(Ge.layout_line["line-cap"]), "line-join": new ze(Ge.layout_line["line-join"]), "line-miter-limit": new be(Ge.layout_line["line-miter-limit"]), "line-round-limit": new be(Ge.layout_line["line-round-limit"]), "line-sort-key": new ze(Ge.layout_line["line-sort-key"]) });
18156
- var Ew = { paint: new Pt({ "line-opacity": new ze(Ge.paint_line["line-opacity"]), "line-color": new ze(Ge.paint_line["line-color"]), "line-translate": new be(Ge.paint_line["line-translate"]), "line-translate-anchor": new be(Ge.paint_line["line-translate-anchor"]), "line-width": new ze(Ge.paint_line["line-width"]), "line-gap-width": new ze(Ge.paint_line["line-gap-width"]), "line-offset": new ze(Ge.paint_line["line-offset"]), "line-blur": new ze(Ge.paint_line["line-blur"]), "line-dasharray": new ze(Ge.paint_line["line-dasharray"]), "line-pattern": new ze(Ge.paint_line["line-pattern"]), "line-gradient": new Et(Ge.paint_line["line-gradient"]), "line-trim-offset": new be(Ge.paint_line["line-trim-offset"]) }), layout: EM };
18155
+ const EM = new Ot({ "line-cap": new ze(Ge.layout_line["line-cap"]), "line-join": new ze(Ge.layout_line["line-join"]), "line-miter-limit": new be(Ge.layout_line["line-miter-limit"]), "line-round-limit": new be(Ge.layout_line["line-round-limit"]), "line-sort-key": new ze(Ge.layout_line["line-sort-key"]) });
18156
+ var Ew = { paint: new Ot({ "line-opacity": new ze(Ge.paint_line["line-opacity"]), "line-color": new ze(Ge.paint_line["line-color"]), "line-translate": new be(Ge.paint_line["line-translate"]), "line-translate-anchor": new be(Ge.paint_line["line-translate-anchor"]), "line-width": new ze(Ge.paint_line["line-width"]), "line-gap-width": new ze(Ge.paint_line["line-gap-width"]), "line-offset": new ze(Ge.paint_line["line-offset"]), "line-blur": new ze(Ge.paint_line["line-blur"]), "line-dasharray": new ze(Ge.paint_line["line-dasharray"]), "line-pattern": new ze(Ge.paint_line["line-pattern"]), "line-gradient": new Et(Ge.paint_line["line-gradient"]), "line-trim-offset": new be(Ge.paint_line["line-trim-offset"]) }), layout: EM };
18157
18157
  const Cw = new class extends ze {
18158
18158
  possiblyEvaluate(n, e) {
18159
18159
  return e = new we(Math.floor(e.zoom), { now: e.now, fadeDuration: e.fadeDuration, transition: e.transition }), super.possiblyEvaluate(n, e);
@@ -20421,8 +20421,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
20421
20421
  }
20422
20422
  }
20423
20423
  bt(Ca, "SymbolBucket", { omit: ["layers", "collisionBoxArray", "features", "compareText"] }), Ca.MAX_GLYPHS = 65535, Ca.addDynamicAttributes = _m;
20424
- const EI = new Pt({ "symbol-placement": new be(Ge.layout_symbol["symbol-placement"]), "symbol-spacing": new be(Ge.layout_symbol["symbol-spacing"]), "symbol-avoid-edges": new be(Ge.layout_symbol["symbol-avoid-edges"]), "symbol-sort-key": new ze(Ge.layout_symbol["symbol-sort-key"]), "symbol-z-order": new be(Ge.layout_symbol["symbol-z-order"]), "icon-allow-overlap": new be(Ge.layout_symbol["icon-allow-overlap"]), "icon-ignore-placement": new be(Ge.layout_symbol["icon-ignore-placement"]), "icon-optional": new be(Ge.layout_symbol["icon-optional"]), "icon-rotation-alignment": new be(Ge.layout_symbol["icon-rotation-alignment"]), "icon-size": new ze(Ge.layout_symbol["icon-size"]), "icon-text-fit": new be(Ge.layout_symbol["icon-text-fit"]), "icon-text-fit-padding": new be(Ge.layout_symbol["icon-text-fit-padding"]), "icon-image": new ze(Ge.layout_symbol["icon-image"]), "icon-rotate": new ze(Ge.layout_symbol["icon-rotate"]), "icon-padding": new be(Ge.layout_symbol["icon-padding"]), "icon-keep-upright": new be(Ge.layout_symbol["icon-keep-upright"]), "icon-offset": new ze(Ge.layout_symbol["icon-offset"]), "icon-anchor": new ze(Ge.layout_symbol["icon-anchor"]), "icon-pitch-alignment": new be(Ge.layout_symbol["icon-pitch-alignment"]), "text-pitch-alignment": new be(Ge.layout_symbol["text-pitch-alignment"]), "text-rotation-alignment": new be(Ge.layout_symbol["text-rotation-alignment"]), "text-field": new ze(Ge.layout_symbol["text-field"]), "text-font": new ze(Ge.layout_symbol["text-font"]), "text-size": new ze(Ge.layout_symbol["text-size"]), "text-max-width": new ze(Ge.layout_symbol["text-max-width"]), "text-line-height": new ze(Ge.layout_symbol["text-line-height"]), "text-letter-spacing": new ze(Ge.layout_symbol["text-letter-spacing"]), "text-justify": new ze(Ge.layout_symbol["text-justify"]), "text-radial-offset": new ze(Ge.layout_symbol["text-radial-offset"]), "text-variable-anchor": new be(Ge.layout_symbol["text-variable-anchor"]), "text-anchor": new ze(Ge.layout_symbol["text-anchor"]), "text-max-angle": new be(Ge.layout_symbol["text-max-angle"]), "text-writing-mode": new be(Ge.layout_symbol["text-writing-mode"]), "text-rotate": new ze(Ge.layout_symbol["text-rotate"]), "text-padding": new be(Ge.layout_symbol["text-padding"]), "text-keep-upright": new be(Ge.layout_symbol["text-keep-upright"]), "text-transform": new ze(Ge.layout_symbol["text-transform"]), "text-offset": new ze(Ge.layout_symbol["text-offset"]), "text-allow-overlap": new be(Ge.layout_symbol["text-allow-overlap"]), "text-ignore-placement": new be(Ge.layout_symbol["text-ignore-placement"]), "text-optional": new be(Ge.layout_symbol["text-optional"]) });
20425
- var ky = { paint: new Pt({ "icon-opacity": new ze(Ge.paint_symbol["icon-opacity"]), "icon-color": new ze(Ge.paint_symbol["icon-color"]), "icon-halo-color": new ze(Ge.paint_symbol["icon-halo-color"]), "icon-halo-width": new ze(Ge.paint_symbol["icon-halo-width"]), "icon-halo-blur": new ze(Ge.paint_symbol["icon-halo-blur"]), "icon-translate": new be(Ge.paint_symbol["icon-translate"]), "icon-translate-anchor": new be(Ge.paint_symbol["icon-translate-anchor"]), "text-opacity": new ze(Ge.paint_symbol["text-opacity"]), "text-color": new ze(Ge.paint_symbol["text-color"], { runtimeType: Hr, getOverride: (n) => n.textColor, hasOverride: (n) => !!n.textColor }), "text-halo-color": new ze(Ge.paint_symbol["text-halo-color"]), "text-halo-width": new ze(Ge.paint_symbol["text-halo-width"]), "text-halo-blur": new ze(Ge.paint_symbol["text-halo-blur"]), "text-translate": new be(Ge.paint_symbol["text-translate"]), "text-translate-anchor": new be(Ge.paint_symbol["text-translate-anchor"]) }), layout: EI };
20424
+ const EI = new Ot({ "symbol-placement": new be(Ge.layout_symbol["symbol-placement"]), "symbol-spacing": new be(Ge.layout_symbol["symbol-spacing"]), "symbol-avoid-edges": new be(Ge.layout_symbol["symbol-avoid-edges"]), "symbol-sort-key": new ze(Ge.layout_symbol["symbol-sort-key"]), "symbol-z-order": new be(Ge.layout_symbol["symbol-z-order"]), "icon-allow-overlap": new be(Ge.layout_symbol["icon-allow-overlap"]), "icon-ignore-placement": new be(Ge.layout_symbol["icon-ignore-placement"]), "icon-optional": new be(Ge.layout_symbol["icon-optional"]), "icon-rotation-alignment": new be(Ge.layout_symbol["icon-rotation-alignment"]), "icon-size": new ze(Ge.layout_symbol["icon-size"]), "icon-text-fit": new be(Ge.layout_symbol["icon-text-fit"]), "icon-text-fit-padding": new be(Ge.layout_symbol["icon-text-fit-padding"]), "icon-image": new ze(Ge.layout_symbol["icon-image"]), "icon-rotate": new ze(Ge.layout_symbol["icon-rotate"]), "icon-padding": new be(Ge.layout_symbol["icon-padding"]), "icon-keep-upright": new be(Ge.layout_symbol["icon-keep-upright"]), "icon-offset": new ze(Ge.layout_symbol["icon-offset"]), "icon-anchor": new ze(Ge.layout_symbol["icon-anchor"]), "icon-pitch-alignment": new be(Ge.layout_symbol["icon-pitch-alignment"]), "text-pitch-alignment": new be(Ge.layout_symbol["text-pitch-alignment"]), "text-rotation-alignment": new be(Ge.layout_symbol["text-rotation-alignment"]), "text-field": new ze(Ge.layout_symbol["text-field"]), "text-font": new ze(Ge.layout_symbol["text-font"]), "text-size": new ze(Ge.layout_symbol["text-size"]), "text-max-width": new ze(Ge.layout_symbol["text-max-width"]), "text-line-height": new ze(Ge.layout_symbol["text-line-height"]), "text-letter-spacing": new ze(Ge.layout_symbol["text-letter-spacing"]), "text-justify": new ze(Ge.layout_symbol["text-justify"]), "text-radial-offset": new ze(Ge.layout_symbol["text-radial-offset"]), "text-variable-anchor": new be(Ge.layout_symbol["text-variable-anchor"]), "text-anchor": new ze(Ge.layout_symbol["text-anchor"]), "text-max-angle": new be(Ge.layout_symbol["text-max-angle"]), "text-writing-mode": new be(Ge.layout_symbol["text-writing-mode"]), "text-rotate": new ze(Ge.layout_symbol["text-rotate"]), "text-padding": new be(Ge.layout_symbol["text-padding"]), "text-keep-upright": new be(Ge.layout_symbol["text-keep-upright"]), "text-transform": new ze(Ge.layout_symbol["text-transform"]), "text-offset": new ze(Ge.layout_symbol["text-offset"]), "text-allow-overlap": new be(Ge.layout_symbol["text-allow-overlap"]), "text-ignore-placement": new be(Ge.layout_symbol["text-ignore-placement"]), "text-optional": new be(Ge.layout_symbol["text-optional"]) });
20425
+ var ky = { paint: new Ot({ "icon-opacity": new ze(Ge.paint_symbol["icon-opacity"]), "icon-color": new ze(Ge.paint_symbol["icon-color"]), "icon-halo-color": new ze(Ge.paint_symbol["icon-halo-color"]), "icon-halo-width": new ze(Ge.paint_symbol["icon-halo-width"]), "icon-halo-blur": new ze(Ge.paint_symbol["icon-halo-blur"]), "icon-translate": new be(Ge.paint_symbol["icon-translate"]), "icon-translate-anchor": new be(Ge.paint_symbol["icon-translate-anchor"]), "text-opacity": new ze(Ge.paint_symbol["text-opacity"]), "text-color": new ze(Ge.paint_symbol["text-color"], { runtimeType: Hr, getOverride: (n) => n.textColor, hasOverride: (n) => !!n.textColor }), "text-halo-color": new ze(Ge.paint_symbol["text-halo-color"]), "text-halo-width": new ze(Ge.paint_symbol["text-halo-width"]), "text-halo-blur": new ze(Ge.paint_symbol["text-halo-blur"]), "text-translate": new be(Ge.paint_symbol["text-translate"]), "text-translate-anchor": new be(Ge.paint_symbol["text-translate-anchor"]) }), layout: EI };
20426
20426
  class _b {
20427
20427
  constructor(e) {
20428
20428
  this.type = e.property.overrides ? e.property.overrides.runtimeType : ar, this.defaultValue = e;
@@ -20511,7 +20511,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
20511
20511
  return new ba(this, e);
20512
20512
  }
20513
20513
  }
20514
- var CI = { paint: new Pt({ "background-color": new be(Ge.paint_background["background-color"]), "background-pattern": new be(Ge.paint_background["background-pattern"]), "background-opacity": new be(Ge.paint_background["background-opacity"]) }) }, AI = { paint: new Pt({ "raster-opacity": new be(Ge.paint_raster["raster-opacity"]), "raster-hue-rotate": new be(Ge.paint_raster["raster-hue-rotate"]), "raster-brightness-min": new be(Ge.paint_raster["raster-brightness-min"]), "raster-brightness-max": new be(Ge.paint_raster["raster-brightness-max"]), "raster-saturation": new be(Ge.paint_raster["raster-saturation"]), "raster-contrast": new be(Ge.paint_raster["raster-contrast"]), "raster-resampling": new be(Ge.paint_raster["raster-resampling"]), "raster-fade-duration": new be(Ge.paint_raster["raster-fade-duration"]) }) };
20514
+ var CI = { paint: new Ot({ "background-color": new be(Ge.paint_background["background-color"]), "background-pattern": new be(Ge.paint_background["background-pattern"]), "background-opacity": new be(Ge.paint_background["background-opacity"]) }) }, AI = { paint: new Ot({ "raster-opacity": new be(Ge.paint_raster["raster-opacity"]), "raster-hue-rotate": new be(Ge.paint_raster["raster-hue-rotate"]), "raster-brightness-min": new be(Ge.paint_raster["raster-brightness-min"]), "raster-brightness-max": new be(Ge.paint_raster["raster-brightness-max"]), "raster-saturation": new be(Ge.paint_raster["raster-saturation"]), "raster-contrast": new be(Ge.paint_raster["raster-contrast"]), "raster-resampling": new be(Ge.paint_raster["raster-resampling"]), "raster-fade-duration": new be(Ge.paint_raster["raster-fade-duration"]) }) };
20515
20515
  class MI extends jo {
20516
20516
  constructor(e) {
20517
20517
  super(e, {}), this.implementation = e;
@@ -20538,7 +20538,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
20538
20538
  this.implementation.onRemove && this.implementation.onRemove(e, e.painter.context.gl);
20539
20539
  }
20540
20540
  }
20541
- var II = { paint: new Pt({ "sky-type": new be(Ge.paint_sky["sky-type"]), "sky-atmosphere-sun": new be(Ge.paint_sky["sky-atmosphere-sun"]), "sky-atmosphere-sun-intensity": new be(Ge.paint_sky["sky-atmosphere-sun-intensity"]), "sky-gradient-center": new be(Ge.paint_sky["sky-gradient-center"]), "sky-gradient-radius": new be(Ge.paint_sky["sky-gradient-radius"]), "sky-gradient": new Et(Ge.paint_sky["sky-gradient"]), "sky-atmosphere-halo-color": new be(Ge.paint_sky["sky-atmosphere-halo-color"]), "sky-atmosphere-color": new be(Ge.paint_sky["sky-atmosphere-color"]), "sky-opacity": new be(Ge.paint_sky["sky-opacity"]) }) };
20541
+ var II = { paint: new Ot({ "sky-type": new be(Ge.paint_sky["sky-type"]), "sky-atmosphere-sun": new be(Ge.paint_sky["sky-atmosphere-sun"]), "sky-atmosphere-sun-intensity": new be(Ge.paint_sky["sky-atmosphere-sun-intensity"]), "sky-gradient-center": new be(Ge.paint_sky["sky-gradient-center"]), "sky-gradient-radius": new be(Ge.paint_sky["sky-gradient-radius"]), "sky-gradient": new Et(Ge.paint_sky["sky-gradient"]), "sky-atmosphere-halo-color": new be(Ge.paint_sky["sky-atmosphere-halo-color"]), "sky-atmosphere-color": new be(Ge.paint_sky["sky-atmosphere-color"]), "sky-opacity": new be(Ge.paint_sky["sky-opacity"]) }) };
20542
20542
  function Ly(n, e, i) {
20543
20543
  const a = [0, 0, 1], u = Kx([]);
20544
20544
  return Jx(u, u, i ? -je(n) + Math.PI : je(n)), Qx(u, u, -je(e)), qx(a, a, u), yr(a, a);
@@ -22646,7 +22646,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
22646
22646
  }
22647
22647
  return [this._gridBuffer, this._wireframeIndexBuffer, this._wireframeSegments[e]];
22648
22648
  }
22649
- }, s.GlyphManager = au, s.ImagePosition = _y, s.LivePerformanceUtils = gt, s.LngLat = bn, s.LngLatBounds = Sa, s.LocalGlyphMode = vy, s.MAX_MERCATOR_LATITUDE = us, s.MercatorCoordinate = Kc, s.ONE_EM = er, s.OverscaledTileID = xr, s.PerformanceMarkers = Ye, s.Properties = Pt, s.RGBAImage = Nr, s.Ray = ty, s.RequestManager = class {
22649
+ }, s.GlyphManager = au, s.ImagePosition = _y, s.LivePerformanceUtils = gt, s.LngLat = bn, s.LngLatBounds = Sa, s.LocalGlyphMode = vy, s.MAX_MERCATOR_LATITUDE = us, s.MercatorCoordinate = Kc, s.ONE_EM = er, s.OverscaledTileID = xr, s.PerformanceMarkers = Ye, s.Properties = Ot, s.RGBAImage = Nr, s.Ray = ty, s.RequestManager = class {
22650
22650
  constructor(n, e, i) {
22651
22651
  this._transformRequestFn = n, this._customAccessToken = e, this._silenceAuthErrors = !!i, this._createSkuToken();
22652
22652
  }
@@ -22908,7 +22908,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
22908
22908
  return n[0] = a, n[1] = i, n[2] = 0, n[3] = -i, n[4] = a, n[5] = 0, n[6] = 0, n[7] = 0, n[8] = 1, n;
22909
22909
  }, s.fromScaling = Vx, s.furthestTileCorner = function(n) {
22910
22910
  const e = Math.round((n + 45 + 360) % 360 / 90) % 4;
22911
- return Nt[e];
22911
+ return Ft[e];
22912
22912
  }, s.getAABBPointSquareDist = function(n, e, i) {
22913
22913
  let a = 0;
22914
22914
  for (let u = 0; u < 2; ++u) {
@@ -23018,7 +23018,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23018
23018
  }, s.setRTLTextPlugin = function(n, e, i = !1) {
23019
23019
  if (J === q || J === X || J === Z)
23020
23020
  throw new Error("setRTLTextPlugin cannot be called multiple times.");
23021
- K = zt.resolveURL(n), J = q, W = e, pe(), i || De();
23021
+ K = zt.resolveURL(n), J = q, W = e, fe(), i || De();
23022
23022
  }, s.smoothstep = ai, s.spec = Ge, s.squaredLength = function(n) {
23023
23023
  var e = n[0], i = n[1], a = n[2];
23024
23024
  return e * e + i * i + a * a;
@@ -23183,7 +23183,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23183
23183
  return new et(this._features[P]);
23184
23184
  }
23185
23185
  }
23186
- var ee = { exports: {} }, fe = s.pointGeometry, Be = s.vectorTile.VectorTileFeature, he = He;
23186
+ var ee = { exports: {} }, pe = s.pointGeometry, Be = s.vectorTile.VectorTileFeature, he = He;
23187
23187
  function He(Q, P) {
23188
23188
  this.options = P || {}, this.features = Q, this.length = Q.length;
23189
23189
  }
@@ -23197,7 +23197,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23197
23197
  this.geometry = [];
23198
23198
  for (var P = 0; P < Q.length; P++) {
23199
23199
  for (var F = Q[P], Y = [], re = 0; re < F.length; re++)
23200
- Y.push(new fe(F[re][0], F[re][1]));
23200
+ Y.push(new pe(F[re][0], F[re][1]));
23201
23201
  this.geometry.push(Y);
23202
23202
  }
23203
23203
  return this.geometry;
@@ -23215,10 +23215,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23215
23215
  var P = new Qe();
23216
23216
  return function(F, Y) {
23217
23217
  for (var re in F.layers)
23218
- Y.writeMessage(3, Nt, F.layers[re]);
23218
+ Y.writeMessage(3, Ft, F.layers[re]);
23219
23219
  }(Q, P), P.finish();
23220
23220
  }
23221
- function Nt(Q, P) {
23221
+ function Ft(Q, P) {
23222
23222
  var F;
23223
23223
  P.writeVarintField(15, Q.version || 1), P.writeStringField(1, Q.name || ""), P.writeVarintField(5, Q.extent || 4096);
23224
23224
  var Y = { keys: [], values: [], keycache: {}, valuecache: {} };
@@ -23294,9 +23294,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
23294
23294
  }
23295
23295
  }
23296
23296
  function ut(Q, P, F, Y) {
23297
- Ft(Q, F, Y), Ft(P, 2 * F, 2 * Y), Ft(P, 2 * F + 1, 2 * Y + 1);
23297
+ Pt(Q, F, Y), Pt(P, 2 * F, 2 * Y), Pt(P, 2 * F + 1, 2 * Y + 1);
23298
23298
  }
23299
- function Ft(Q, P, F) {
23299
+ function Pt(Q, P, F) {
23300
23300
  const Y = Q[P];
23301
23301
  Q[P] = Q[F], Q[F] = Y;
23302
23302
  }
@@ -24177,12 +24177,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
24177
24177
  function ee() {
24178
24178
  ae && ge && (ae[ge] = et);
24179
24179
  }
24180
- function fe(h) {
24181
- h.preventDefault(), h.stopPropagation(), s.window.removeEventListener("click", fe, !0);
24180
+ function pe(h) {
24181
+ h.preventDefault(), h.stopPropagation(), s.window.removeEventListener("click", pe, !0);
24182
24182
  }
24183
24183
  function Be() {
24184
- s.window.addEventListener("click", fe, !0), s.window.setTimeout(() => {
24185
- s.window.removeEventListener("click", fe, !0);
24184
+ s.window.addEventListener("click", pe, !0), s.window.setTimeout(() => {
24185
+ s.window.removeEventListener("click", pe, !0);
24186
24186
  }, 0);
24187
24187
  }
24188
24188
  function he(h, r) {
@@ -24210,7 +24210,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
24210
24210
  const { userImage: r } = h;
24211
24211
  return !!(r && r.render && r.render()) && (h.data.replace(new Uint8Array(r.data.buffer)), !0);
24212
24212
  }
24213
- class Nt extends s.Evented {
24213
+ class Ft extends s.Evented {
24214
24214
  constructor() {
24215
24215
  super(), this.images = {}, this.updatedImages = {}, this.callbackDispatchedThisFrame = {}, this.loaded = !1, this.requestors = [], this.patterns = {}, this.atlasImage = new s.RGBAImage({ width: 1, height: 1 }), this.dirty = !0;
24216
24216
  }
@@ -24398,7 +24398,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
24398
24398
  const l = 0.5 / Math.tan(0.5 * r);
24399
24399
  return [h.range[0] + l, h.range[1] + l];
24400
24400
  }
24401
- const ut = new s.Properties({ range: new s.DataConstantProperty(s.spec.fog.range), color: new s.DataConstantProperty(s.spec.fog.color), "high-color": new s.DataConstantProperty(s.spec.fog["high-color"]), "space-color": new s.DataConstantProperty(s.spec.fog["space-color"]), "horizon-blend": new s.DataConstantProperty(s.spec.fog["horizon-blend"]), "star-intensity": new s.DataConstantProperty(s.spec.fog["star-intensity"]) }), Ft = "-transition";
24401
+ const ut = new s.Properties({ range: new s.DataConstantProperty(s.spec.fog.range), color: new s.DataConstantProperty(s.spec.fog.color), "high-color": new s.DataConstantProperty(s.spec.fog["high-color"]), "space-color": new s.DataConstantProperty(s.spec.fog["space-color"]), "horizon-blend": new s.DataConstantProperty(s.spec.fog["horizon-blend"]), "star-intensity": new s.DataConstantProperty(s.spec.fog["star-intensity"]) }), Pt = "-transition";
24402
24402
  class Me extends s.Evented {
24403
24403
  constructor(r, l) {
24404
24404
  super(), this._transitionable = new s.Transitionable(ut), this.set(r), this._transitioning = this._transitionable.untransitioned(), this._transform = l;
@@ -24416,7 +24416,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
24416
24416
  r && r[f] === void 0 && (r[f] = s.spec.fog[f].default);
24417
24417
  for (const f in r) {
24418
24418
  const g = r[f];
24419
- s.endsWith(f, Ft) ? this._transitionable.setTransition(f.slice(0, -Ft.length), g) : this._transitionable.setValue(f, g);
24419
+ s.endsWith(f, Pt) ? this._transitionable.setTransition(f.slice(0, -Pt.length), g) : this._transitionable.setValue(f, g);
24420
24420
  }
24421
24421
  }
24422
24422
  }
@@ -24590,9 +24590,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
24590
24590
  J = J.map((xe) => new s.pointGeometry(Dt(xe.x), xe.y)), K = K.map((xe) => new s.pointGeometry(Dt(xe.x), xe.y));
24591
24591
  const ie = [...J];
24592
24592
  ie.length === 0 && ie.push(K[K.length - 1]);
24593
- const pe = s.number(ie[ie.length - 1].y, (K.length === 0 ? J[0] : K[0]).y, W);
24593
+ const fe = s.number(ie[ie.length - 1].y, (K.length === 0 ? J[0] : K[0]).y, W);
24594
24594
  let ue;
24595
- return ue = H ? [new s.pointGeometry(0, pe), new s.pointGeometry(0, 0), new s.pointGeometry(1, 0), new s.pointGeometry(1, pe)] : [new s.pointGeometry(1, pe), new s.pointGeometry(1, 1), new s.pointGeometry(0, 1), new s.pointGeometry(0, pe)], ie.push(...ue), K.length === 0 ? ie.push(J[0]) : ie.push(...K), { polygon: ie.map((xe) => new s.MercatorCoordinate(xe.x, xe.y)), unwrapped: !1 };
24595
+ return ue = H ? [new s.pointGeometry(0, fe), new s.pointGeometry(0, 0), new s.pointGeometry(1, 0), new s.pointGeometry(1, fe)] : [new s.pointGeometry(1, fe), new s.pointGeometry(1, 1), new s.pointGeometry(0, 1), new s.pointGeometry(0, fe)], ie.push(...ue), K.length === 0 ? ie.push(J[0]) : ie.push(...K), { polygon: ie.map((xe) => new s.MercatorCoordinate(xe.x, xe.y)), unwrapped: !1 };
24596
24596
  }(r, l);
24597
24597
  if (f)
24598
24598
  return f;
@@ -25562,9 +25562,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
25562
25562
  for (const q of B) {
25563
25563
  const X = q.queryResults, Z = q.wrappedTileID, W = H[Z] = H[Z] || {};
25564
25564
  for (const J in X) {
25565
- const K = X[J], ie = W[J] = W[J] || {}, pe = U[J] = U[J] || [];
25565
+ const K = X[J], ie = W[J] = W[J] || {}, fe = U[J] = U[J] || [];
25566
25566
  for (const ue of K)
25567
- ie[ue.featureIndex] || (ie[ue.featureIndex] = !0, pe.push(ue));
25567
+ ie[ue.featureIndex] || (ie[ue.featureIndex] = !0, fe.push(ue));
25568
25568
  }
25569
25569
  }
25570
25570
  return U;
@@ -25885,19 +25885,19 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
25885
25885
  let Z = null;
25886
25886
  H && (Z = f ? h.text.globeExtVertexArray : h.icon.globeExtVertexArray);
25887
25887
  const W = h.lineVertexArray, J = f ? h.text.placedSymbolArray : h.icon.placedSymbolArray, K = l.transform.width / l.transform.height;
25888
- let ie, pe = !1;
25888
+ let ie, fe = !1;
25889
25889
  for (let ue = 0; ue < J.length; ue++) {
25890
25890
  const xe = J.get(ue), { numGlyphs: De, writingMode: ke } = xe;
25891
- if (ke !== s.WritingMode.vertical || pe || ie === s.WritingMode.horizontal || (pe = !0), ie = ke, (xe.hidden || ke === s.WritingMode.vertical) && !pe) {
25891
+ if (ke !== s.WritingMode.vertical || fe || ie === s.WritingMode.horizontal || (fe = !0), ie = ke, (xe.hidden || ke === s.WritingMode.vertical) && !fe) {
25892
25892
  ji(De, X);
25893
25893
  continue;
25894
25894
  }
25895
- pe = !1;
25895
+ fe = !1;
25896
25896
  const we = new s.pointGeometry(xe.tileAnchorX, xe.tileAnchorY);
25897
25897
  let { x: ot, y: Ae, z: Ve } = L.projection.projectTilePoint(we.x, we.y, R.canonical);
25898
25898
  if (A) {
25899
- const [Pt, Ct, Xt] = A(we);
25900
- ot += Pt, Ae += Ct, Ve += Xt;
25899
+ const [Ot, Ct, Xt] = A(we);
25900
+ ot += Ot, Ae += Ct, Ve += Xt;
25901
25901
  }
25902
25902
  const Oe = [ot, Ae, Ve, 1];
25903
25903
  if (s.transformMat4$1(Oe, Oe, r), !yn(Oe, q)) {
@@ -25911,12 +25911,12 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
25911
25911
  }
25912
25912
  let be = {};
25913
25913
  const ze = S ? null : A, Et = hn(xe, Xe, !1, T, r, g, v, h.glyphOffsetArray, W, X, Z, st, we, be, K, ze, L.projection, R, S);
25914
- pe = Et.useVertical, ze && Et.needsFlipping && (be = {}), (Et.notEnoughRoom || pe || Et.needsFlipping && hn(xe, Xe, !0, T, r, g, v, h.glyphOffsetArray, W, X, Z, st, we, be, K, ze, L.projection, R, S).notEnoughRoom) && ji(De, X);
25914
+ fe = Et.useVertical, ze && Et.needsFlipping && (be = {}), (Et.notEnoughRoom || fe || Et.needsFlipping && hn(xe, Xe, !0, T, r, g, v, h.glyphOffsetArray, W, X, Z, st, we, be, K, ze, L.projection, R, S).notEnoughRoom) && ji(De, X);
25915
25915
  }
25916
25916
  f ? (h.text.dynamicLayoutVertexBuffer.updateData(X), Z && h.text.globeExtVertexBuffer.updateData(Z)) : (h.icon.dynamicLayoutVertexBuffer.updateData(X), Z && h.icon.globeExtVertexBuffer.updateData(Z));
25917
25917
  }
25918
25918
  function Hr(h, r, l, f, g, v, S, T, A, R, L, B, U, H, q, X) {
25919
- const { lineStartIndex: Z, glyphStartIndex: W, segment: J } = T, K = W + T.numGlyphs, ie = Z + T.lineLength, pe = r.getoffsetX(W), ue = r.getoffsetX(K - 1), xe = ns(h * pe, l, f, g, v, S, J, Z, ie, A, R, L, B, U, !0, H, q, X);
25919
+ const { lineStartIndex: Z, glyphStartIndex: W, segment: J } = T, K = W + T.numGlyphs, ie = Z + T.lineLength, fe = r.getoffsetX(W), ue = r.getoffsetX(K - 1), xe = ns(h * fe, l, f, g, v, S, J, Z, ie, A, R, L, B, U, !0, H, q, X);
25920
25920
  if (!xe)
25921
25921
  return null;
25922
25922
  const De = ns(h * ue, l, f, g, v, S, J, Z, ie, A, R, L, B, U, !0, H, q, X);
@@ -25928,7 +25928,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
25928
25928
  }(l, f) ? r === 1 ? { needsFlipping: !0 } : null : l < 0 ? { needsFlipping: !0 } : null;
25929
25929
  }
25930
25930
  function hn(h, r, l, f, g, v, S, T, A, R, L, B, U, H, q, X, Z, W, J) {
25931
- const K = r / 24, ie = h.lineOffsetX * K, pe = h.lineOffsetY * K, { lineStartIndex: ue, glyphStartIndex: xe, numGlyphs: De, segment: ke, writingMode: we, flipState: ot } = h, Ae = ue + h.lineLength, Ve = (Oe) => {
25931
+ const K = r / 24, ie = h.lineOffsetX * K, fe = h.lineOffsetY * K, { lineStartIndex: ue, glyphStartIndex: xe, numGlyphs: De, segment: ke, writingMode: we, flipState: ot } = h, Ae = ue + h.lineLength, Ve = (Oe) => {
25932
25932
  if (L) {
25933
25933
  const [st, be, ze] = Oe.up, Et = R.length;
25934
25934
  s.updateGlobeVertexNormal(L, Et + 0, st, be, ze), s.updateGlobeVertexNormal(L, Et + 1, st, be, ze), s.updateGlobeVertexNormal(L, Et + 2, st, be, ze), s.updateGlobeVertexNormal(L, Et + 3, st, be, ze);
@@ -25937,7 +25937,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
25937
25937
  s.addDynamicAttributes(R, tt, Ue, Xe, Oe.angle);
25938
25938
  };
25939
25939
  if (De > 1) {
25940
- const Oe = Hr(K, T, ie, pe, l, B, U, h, A, v, H, X, !1, Z, W, J);
25940
+ const Oe = Hr(K, T, ie, fe, l, B, U, h, A, v, H, X, !1, Z, W, J);
25941
25941
  if (!Oe)
25942
25942
  return { notEnoughRoom: !0 };
25943
25943
  if (f && !l) {
@@ -25949,7 +25949,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
25949
25949
  }
25950
25950
  Ve(Oe.first);
25951
25951
  for (let tt = xe + 1; tt < xe + De - 1; tt++) {
25952
- const Ue = ns(K * T.getoffsetX(tt), ie, pe, l, B, U, ke, ue, Ae, A, v, H, X, !1, !1, Z, W, J);
25952
+ const Ue = ns(K * T.getoffsetX(tt), ie, fe, l, B, U, ke, ue, Ae, A, v, H, X, !1, !1, Z, W, J);
25953
25953
  if (!Ue)
25954
25954
  return R.length -= 4 * (tt - xe), { notEnoughRoom: !0 };
25955
25955
  Ve(Ue);
@@ -25961,7 +25961,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
25961
25961
  if (h.flipState = ze && ze.needsFlipping ? 1 : 2, ze)
25962
25962
  return ze;
25963
25963
  }
25964
- const Oe = ns(K * T.getoffsetX(xe), ie, pe, l, B, U, ke, ue, Ae, A, v, H, X, !1, !1, Z, W, J);
25964
+ const Oe = ns(K * T.getoffsetX(xe), ie, fe, l, B, U, ke, ue, Ae, A, v, H, X, !1, !1, Z, W, J);
25965
25965
  if (!Oe)
25966
25966
  return { notEnoughRoom: !0 };
25967
25967
  Ve(Oe);
@@ -25983,31 +25983,31 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
25983
25983
  const J = f ? h - r : h + r;
25984
25984
  let K = J > 0 ? 1 : -1, ie = 0;
25985
25985
  f && (K *= -1, ie = Math.PI), K < 0 && (ie += Math.PI);
25986
- let pe = T + S + (K > 0 ? 0 : 1) | 0, ue = g, xe = g, De = 0, ke = 0;
25986
+ let fe = T + S + (K > 0 ? 0 : 1) | 0, ue = g, xe = g, De = 0, ke = 0;
25987
25987
  const we = Math.abs(J), ot = [], Ae = [];
25988
25988
  let Ve = v, Oe = Ve;
25989
25989
  const tt = () => oa(Oe, Ve, xe, we - De + 1, L, U, X, Z.canonical);
25990
25990
  for (; De + ke <= we; ) {
25991
- if (pe += K, pe < T || pe >= A)
25991
+ if (fe += K, fe < T || fe >= A)
25992
25992
  return null;
25993
- if (xe = ue, Oe = Ve, ot.push(xe), H && Ae.push(Oe), Ve = new s.pointGeometry(R.getx(pe), R.gety(pe)), ue = B[pe], !ue) {
25993
+ if (xe = ue, Oe = Ve, ot.push(xe), H && Ae.push(Oe), Ve = new s.pointGeometry(R.getx(fe), R.gety(fe)), ue = B[fe], !ue) {
25994
25994
  const Xt = nl(Ve, Z.canonical, L, X, U);
25995
- ue = Xt[3] > 0 ? B[pe] = Xt : tt();
25995
+ ue = Xt[3] > 0 ? B[fe] = Xt : tt();
25996
25996
  }
25997
25997
  De += ke, ke = s.distance(xe, ue);
25998
25998
  }
25999
- q && U && (B[pe] && (ue = tt(), ke = s.distance(xe, ue)), B[pe] = ue);
25999
+ q && U && (B[fe] && (ue = tt(), ke = s.distance(xe, ue)), B[fe] = ue);
26000
26000
  const Ue = (we - De) / ke, Xe = Ve.sub(Oe)._mult(Ue)._add(Oe), st = s.sub([], ue, xe), be = s.scaleAndAdd([], xe, st, Ue);
26001
- let ze = [0, 0, 1], Et = st[0], Pt = st[1];
26001
+ let ze = [0, 0, 1], Et = st[0], Ot = st[1];
26002
26002
  if (W && (ze = X.upVector(Z.canonical, Xe.x, Xe.y), ze[0] !== 0 || ze[1] !== 0 || ze[2] !== 1)) {
26003
26003
  const Xt = [ze[2], 0, -ze[0]], an = s.cross([], ze, Xt);
26004
- s.normalize(Xt, Xt), s.normalize(an, an), Et = s.dot(st, Xt), Pt = s.dot(st, an);
26004
+ s.normalize(Xt, Xt), s.normalize(an, an), Et = s.dot(st, Xt), Ot = s.dot(st, an);
26005
26005
  }
26006
26006
  if (l) {
26007
26007
  const Xt = s.cross([], ze, st);
26008
26008
  s.normalize(Xt, Xt), s.scaleAndAdd(be, be, Xt, l * K);
26009
26009
  }
26010
- const Ct = ie + Math.atan2(Pt, Et);
26010
+ const Ct = ie + Math.atan2(Ot, Et);
26011
26011
  return ot.push(be), H && Ae.push(Xe), { point: be, angle: Ct, path: ot, tilePath: Ae, up: ze };
26012
26012
  }
26013
26013
  function ji(h, r) {
@@ -26030,35 +26030,35 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26030
26030
  const [ue, xe, De] = q.upVector(H.canonical, f.tileAnchorX, f.tileAnchorY), ke = q.upVectorScale(H.canonical, this.transform.center.lat, this.transform.worldSize).metersToTile;
26031
26031
  R += ue * U * ke, L += xe * U * ke, B += De * U * ke;
26032
26032
  }
26033
- const X = this.projectAndGetPerspectiveRatio(T, R, L, B, f.tileID, q.name === "globe" || !!U || this.transform.pitch > 0, q), Z = S * X.perspectiveRatio, W = (f.x1 * l + g.x - f.padding) * Z + X.point.x, J = (f.y1 * l + g.y - f.padding) * Z + X.point.y, K = (f.x2 * l + g.x + f.padding) * Z + X.point.x, ie = (f.y2 * l + g.y + f.padding) * Z + X.point.y, pe = X.perspectiveRatio <= 0.55 || X.occluded;
26034
- return !this.isInsideGrid(W, J, K, ie) || !v && this.grid.hitTest(W, J, K, ie, A) || pe ? { box: [], offscreen: !1, occluded: X.occluded } : { box: [W, J, K, ie], offscreen: this.isOffscreen(W, J, K, ie), occluded: !1 };
26033
+ const X = this.projectAndGetPerspectiveRatio(T, R, L, B, f.tileID, q.name === "globe" || !!U || this.transform.pitch > 0, q), Z = S * X.perspectiveRatio, W = (f.x1 * l + g.x - f.padding) * Z + X.point.x, J = (f.y1 * l + g.y - f.padding) * Z + X.point.y, K = (f.x2 * l + g.x + f.padding) * Z + X.point.x, ie = (f.y2 * l + g.y + f.padding) * Z + X.point.y, fe = X.perspectiveRatio <= 0.55 || X.occluded;
26034
+ return !this.isInsideGrid(W, J, K, ie) || !v && this.grid.hitTest(W, J, K, ie, A) || fe ? { box: [], offscreen: !1, occluded: X.occluded } : { box: [W, J, K, ie], offscreen: this.isOffscreen(W, J, K, ie), occluded: !1 };
26035
26035
  }
26036
26036
  placeCollisionCircles(r, l, f, g, v, S, T, A, R, L, B, U, H, q, X) {
26037
26037
  const Z = [], W = this.transform.elevation, J = r.getProjection(), K = W ? W.getAtTileOffsetFunc(X, this.transform.center.lat, this.transform.worldSize, J) : null, ie = new s.pointGeometry(f.tileAnchorX, f.tileAnchorY);
26038
- let { x: pe, y: ue, z: xe } = J.projectTilePoint(ie.x, ie.y, X.canonical);
26038
+ let { x: fe, y: ue, z: xe } = J.projectTilePoint(ie.x, ie.y, X.canonical);
26039
26039
  if (K) {
26040
26040
  const [Xe, st, be] = K(ie);
26041
- pe += Xe, ue += st, xe += be;
26041
+ fe += Xe, ue += st, xe += be;
26042
26042
  }
26043
- const De = J.name === "globe", ke = this.projectAndGetPerspectiveRatio(T, pe, ue, xe, X, De || !!W || this.transform.pitch > 0, J), { perspectiveRatio: we } = ke, ot = (B ? S / we : S * we) / s.ONE_EM, Ae = ar(pe, ue, xe, A), Ve = ke.signedDistanceFromCamera > 0 ? Hr(ot, v, f.lineOffsetX * ot, f.lineOffsetY * ot, !1, Ae, ie, f, g, A, {}, W && !B ? K : null, B && !!W, J, X, B) : null;
26043
+ const De = J.name === "globe", ke = this.projectAndGetPerspectiveRatio(T, fe, ue, xe, X, De || !!W || this.transform.pitch > 0, J), { perspectiveRatio: we } = ke, ot = (B ? S / we : S * we) / s.ONE_EM, Ae = ar(fe, ue, xe, A), Ve = ke.signedDistanceFromCamera > 0 ? Hr(ot, v, f.lineOffsetX * ot, f.lineOffsetY * ot, !1, Ae, ie, f, g, A, {}, W && !B ? K : null, B && !!W, J, X, B) : null;
26044
26044
  let Oe = !1, tt = !1, Ue = !0;
26045
26045
  if (Ve && !ke.occluded) {
26046
- const Xe = 0.5 * H * we + q, st = new s.pointGeometry(-100, -100), be = new s.pointGeometry(this.screenRightBoundary, this.screenBottomBoundary), ze = new Li(), { first: Et, last: Pt } = Ve, Ct = Et.path.length;
26046
+ const Xe = 0.5 * H * we + q, st = new s.pointGeometry(-100, -100), be = new s.pointGeometry(this.screenRightBoundary, this.screenBottomBoundary), ze = new Li(), { first: Et, last: Ot } = Ve, Ct = Et.path.length;
26047
26047
  let Xt = [];
26048
26048
  for (let wt = Ct - 1; wt >= 1; wt--)
26049
26049
  Xt.push(Et.path[wt]);
26050
- for (let wt = 1; wt < Pt.path.length; wt++)
26051
- Xt.push(Pt.path[wt]);
26050
+ for (let wt = 1; wt < Ot.path.length; wt++)
26051
+ Xt.push(Ot.path[wt]);
26052
26052
  const an = 2.5 * Xe;
26053
- R && (Xt = Xt.map(([wt, Rn, Cn], $n) => (K && !De && (Cn = K($n < Ct - 1 ? Et.tilePath[Ct - 1 - $n] : Pt.tilePath[$n - Ct + 2])[2]), ar(wt, Rn, Cn, R))), Xt.some((wt) => wt[3] <= 0) && (Xt = []));
26054
- let Ot = [];
26053
+ R && (Xt = Xt.map(([wt, Rn, Cn], $n) => (K && !De && (Cn = K($n < Ct - 1 ? Et.tilePath[Ct - 1 - $n] : Ot.tilePath[$n - Ct + 2])[2]), ar(wt, Rn, Cn, R))), Xt.some((wt) => wt[3] <= 0) && (Xt = []));
26054
+ let Bt = [];
26055
26055
  if (Xt.length > 0) {
26056
26056
  let wt = 1 / 0, Rn = -1 / 0, Cn = 1 / 0, $n = -1 / 0;
26057
26057
  for (const Pn of Xt)
26058
26058
  wt = Math.min(wt, Pn[0]), Cn = Math.min(Cn, Pn[1]), Rn = Math.max(Rn, Pn[0]), $n = Math.max($n, Pn[1]);
26059
- Rn >= st.x && wt <= be.x && $n >= st.y && Cn <= be.y && (Ot = [Xt.map((Pn) => new s.pointGeometry(Pn[0], Pn[1]))], (wt < st.x || Rn > be.x || Cn < st.y || $n > be.y) && (Ot = s.clipLine(Ot, st.x, st.y, be.x, be.y)));
26059
+ Rn >= st.x && wt <= be.x && $n >= st.y && Cn <= be.y && (Bt = [Xt.map((Pn) => new s.pointGeometry(Pn[0], Pn[1]))], (wt < st.x || Rn > be.x || Cn < st.y || $n > be.y) && (Bt = s.clipLine(Bt, st.x, st.y, be.x, be.y)));
26060
26060
  }
26061
- for (const wt of Ot) {
26061
+ for (const wt of Bt) {
26062
26062
  ze.reset(wt, 0.25 * Xe);
26063
26063
  let Rn = 0;
26064
26064
  Rn = ze.length <= 0.5 * Xe ? 1 : Math.ceil(ze.paddedLength / an) + 1;
@@ -26206,7 +26206,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26206
26206
  var H, q, X;
26207
26207
  const Z = T.get("text-pitch-alignment") === "map", W = T.get("text-rotation-alignment") === "map";
26208
26208
  l.compileFilter();
26209
- const J = l.dynamicFilter(), K = l.dynamicFilterNeedsFeature(), ie = this.transform.calculatePixelsToTileUnitsMatrix(f), pe = mc(U, f.tileID.canonical, Z, W, this.transform, v.getProjection(), ie);
26209
+ const J = l.dynamicFilter(), K = l.dynamicFilterNeedsFeature(), ie = this.transform.calculatePixelsToTileUnitsMatrix(f), fe = mc(U, f.tileID.canonical, Z, W, this.transform, v.getProjection(), ie);
26210
26210
  let ue = null;
26211
26211
  if (Z) {
26212
26212
  const ke = Fp(U, f.tileID.canonical, Z, W, this.transform, v.getProjection(), ie);
@@ -26214,7 +26214,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26214
26214
  }
26215
26215
  let xe = null;
26216
26216
  J && f.latestFeatureIndex && (xe = { unwrappedTileID: B, dynamicFilter: J, dynamicFilterNeedsFeature: K, featureIndex: f.latestFeatureIndex }), this.retainedQueryData[v.bucketInstanceId] = new sh(v.bucketInstanceId, S, v.sourceLayerIndex, v.index, f.tileID);
26217
- const De = { bucket: v, layout: T, posMatrix: U, textLabelPlaneMatrix: pe, labelToScreenMatrix: ue, clippingData: xe, scale: R, textPixelRatio: L, holdingForFade: f.holdingForFade(), collisionBoxArray: A, partiallyEvaluatedTextSize: s.evaluateSizeForZoom(v.textSizeData, this.transform.zoom), partiallyEvaluatedIconSize: s.evaluateSizeForZoom(v.iconSizeData, this.transform.zoom), collisionGroup: this.collisionGroups.get(v.sourceID) };
26217
+ const De = { bucket: v, layout: T, posMatrix: U, textLabelPlaneMatrix: fe, labelToScreenMatrix: ue, clippingData: xe, scale: R, textPixelRatio: L, holdingForFade: f.holdingForFade(), collisionBoxArray: A, partiallyEvaluatedTextSize: s.evaluateSizeForZoom(v.textSizeData, this.transform.zoom), partiallyEvaluatedIconSize: s.evaluateSizeForZoom(v.iconSizeData, this.transform.zoom), collisionGroup: this.collisionGroups.get(v.sourceID) };
26218
26218
  if (g)
26219
26219
  for (const ke of v.sortKeyRanges) {
26220
26220
  const { sortKey: we, symbolInstanceStart: ot, symbolInstanceEnd: Ae } = ke;
@@ -26224,7 +26224,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26224
26224
  r.push({ symbolInstanceStart: 0, symbolInstanceEnd: v.symbolInstances.length, parameters: De });
26225
26225
  }
26226
26226
  attemptAnchorPlacement(r, l, f, g, v, S, T, A, R, L, B, U, H, q, X, Z, W, J) {
26227
- const { textOffset0: K, textOffset1: ie, crossTileID: pe } = U, ue = [K, ie], xe = ui(r, f, g, ue, v), De = this.collisionIndex.placeCollisionBox(q, v, l, ll(xe.x, xe.y, S, T, this.transform.angle), B, A, R, L.predicate);
26227
+ const { textOffset0: K, textOffset1: ie, crossTileID: fe } = U, ue = [K, ie], xe = ui(r, f, g, ue, v), De = this.collisionIndex.placeCollisionBox(q, v, l, ll(xe.x, xe.y, S, T, this.transform.angle), B, A, R, L.predicate);
26228
26228
  if (Z) {
26229
26229
  const ke = q.getSymbolInstanceIconSize(J, this.transform.zoom, U.placedIconSymbolIndex);
26230
26230
  if (this.collisionIndex.placeCollisionBox(q, ke, Z, ll(xe.x, xe.y, S, T, this.transform.angle), B, A, R, L.predicate).box.length === 0)
@@ -26232,11 +26232,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26232
26232
  }
26233
26233
  if (De.box.length > 0) {
26234
26234
  let ke;
26235
- return this.prevPlacement && this.prevPlacement.variableOffsets[pe] && this.prevPlacement.placements[pe] && this.prevPlacement.placements[pe].text && (ke = this.prevPlacement.variableOffsets[pe].anchor), this.variableOffsets[pe] = { textOffset: ue, width: f, height: g, anchor: r, textScale: v, prevAnchor: ke }, this.markUsedJustification(q, r, U, X), q.allowVerticalPlacement && (this.markUsedOrientation(q, X, U), this.placedOrientations[pe] = X), { shift: xe, placedGlyphBoxes: De };
26235
+ return this.prevPlacement && this.prevPlacement.variableOffsets[fe] && this.prevPlacement.placements[fe] && this.prevPlacement.placements[fe].text && (ke = this.prevPlacement.variableOffsets[fe].anchor), this.variableOffsets[fe] = { textOffset: ue, width: f, height: g, anchor: r, textScale: v, prevAnchor: ke }, this.markUsedJustification(q, r, U, X), q.allowVerticalPlacement && (this.markUsedOrientation(q, X, U), this.placedOrientations[fe] = X), { shift: xe, placedGlyphBoxes: De };
26236
26236
  }
26237
26237
  }
26238
26238
  placeLayerBucketPart(r, l, f, g) {
26239
- const { bucket: v, layout: S, posMatrix: T, textLabelPlaneMatrix: A, labelToScreenMatrix: R, clippingData: L, textPixelRatio: B, holdingForFade: U, collisionBoxArray: H, partiallyEvaluatedTextSize: q, partiallyEvaluatedIconSize: X, collisionGroup: Z } = r.parameters, W = S.get("text-optional"), J = S.get("icon-optional"), K = S.get("text-allow-overlap"), ie = S.get("icon-allow-overlap"), pe = S.get("text-rotation-alignment") === "map", ue = S.get("text-pitch-alignment") === "map", xe = S.get("icon-text-fit") !== "none", De = S.get("symbol-z-order") === "viewport-y";
26239
+ const { bucket: v, layout: S, posMatrix: T, textLabelPlaneMatrix: A, labelToScreenMatrix: R, clippingData: L, textPixelRatio: B, holdingForFade: U, collisionBoxArray: H, partiallyEvaluatedTextSize: q, partiallyEvaluatedIconSize: X, collisionGroup: Z } = r.parameters, W = S.get("text-optional"), J = S.get("icon-optional"), K = S.get("text-allow-overlap"), ie = S.get("icon-allow-overlap"), fe = S.get("text-rotation-alignment") === "map", ue = S.get("text-pitch-alignment") === "map", xe = S.get("icon-text-fit") !== "none", De = S.get("symbol-z-order") === "viewport-y";
26240
26240
  this.transform.setProjection(v.projection);
26241
26241
  let ke = K && (ie || !v.hasIconData() || J), we = ie && (K || !v.hasTextData() || W);
26242
26242
  !v.collisionArrays && H && v.deserializeCollisionBoxes(H), f && g && v.updateCollisionDebugBuffers(this.transform.zoom, H);
@@ -26256,7 +26256,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26256
26256
  return;
26257
26257
  if (U)
26258
26258
  return void (this.placements[tt] = new al(!1, !1, !1));
26259
- let Xe = !1, st = !1, be = !0, ze = !1, Et = !1, Pt = null, Ct = { box: null, offscreen: null, occluded: null }, Xt = { box: null, offscreen: null, occluded: null }, an = null, Ot = null, wt = null, Rn = 0, Cn = 0, $n = 0;
26259
+ let Xe = !1, st = !1, be = !0, ze = !1, Et = !1, Ot = null, Ct = { box: null, offscreen: null, occluded: null }, Xt = { box: null, offscreen: null, occluded: null }, an = null, Bt = null, wt = null, Rn = 0, Cn = 0, $n = 0;
26260
26260
  Oe.textFeatureIndex ? Rn = Oe.textFeatureIndex : Ae.useRuntimeCollisionCircles && (Rn = Ae.featureIndex), Oe.verticalTextFeatureIndex && (Cn = Oe.verticalTextFeatureIndex);
26261
26261
  const Pn = (Yn) => {
26262
26262
  Yn.tileID = this.retainedQueryData[v.bucketInstanceId].tileID;
@@ -26292,9 +26292,9 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26292
26292
  let vo = { box: [], offscreen: !1, occluded: !1 };
26293
26293
  const Ll = K ? 2 * Tn.length : Tn.length;
26294
26294
  for (let xa = 0; xa < Ll; ++xa) {
26295
- const xo = this.attemptAnchorPlacement(Tn[xa % Tn.length], Wn, Qi, Or, Fo, pe, ue, B, T, Z, xa >= Tn.length, Ae, Ve, v, kl, yo, q, X);
26295
+ const xo = this.attemptAnchorPlacement(Tn[xa % Tn.length], Wn, Qi, Or, Fo, fe, ue, B, T, Z, xa >= Tn.length, Ae, Ve, v, kl, yo, q, X);
26296
26296
  if (xo && (vo = xo.placedGlyphBoxes, vo && vo.box && vo.box.length)) {
26297
- Xe = !0, Pt = xo.shift;
26297
+ Xe = !0, Ot = xo.shift;
26298
26298
  break;
26299
26299
  }
26300
26300
  }
@@ -26322,23 +26322,23 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26322
26322
  }
26323
26323
  if (an = Ct, Xe = an && an.box && an.box.length > 0, be = an && an.offscreen, ze = an && an.occluded, Ae.useRuntimeCollisionCircles) {
26324
26324
  const Yn = v.text.placedSymbolArray.get(Ae.centerJustifiedTextSymbolIndex >= 0 ? Ae.centerJustifiedTextSymbolIndex : Ae.verticalPlacedTextSymbolIndex), Vn = s.evaluateSizeForFeature(v.textSizeData, q, Yn), Tn = S.get("text-padding");
26325
- Ot = this.collisionIndex.placeCollisionCircles(v, K, Yn, v.lineVertexArray, v.glyphOffsetArray, Vn, T, A, R, f, ue, Z.predicate, Ae.collisionCircleDiameter * Vn / s.ONE_EM, Tn, this.retainedQueryData[v.bucketInstanceId].tileID), Xe = K || Ot.circles.length > 0 && !Ot.collisionDetected, be = be && Ot.offscreen, ze = Ot.occluded;
26325
+ Bt = this.collisionIndex.placeCollisionCircles(v, K, Yn, v.lineVertexArray, v.glyphOffsetArray, Vn, T, A, R, f, ue, Z.predicate, Ae.collisionCircleDiameter * Vn / s.ONE_EM, Tn, this.retainedQueryData[v.bucketInstanceId].tileID), Xe = K || Bt.circles.length > 0 && !Bt.collisionDetected, be = be && Bt.offscreen, ze = Bt.occluded;
26326
26326
  }
26327
26327
  if (Oe.iconFeatureIndex && ($n = Oe.iconFeatureIndex), Oe.iconBox) {
26328
26328
  const Yn = (Vn) => {
26329
26329
  Pn(Vn);
26330
- const Tn = xe && Pt ? ll(Pt.x, Pt.y, pe, ue, this.transform.angle) : new s.pointGeometry(0, 0), mi = v.getSymbolInstanceIconSize(X, this.transform.zoom, Ae.placedIconSymbolIndex);
26330
+ const Tn = xe && Ot ? ll(Ot.x, Ot.y, fe, ue, this.transform.angle) : new s.pointGeometry(0, 0), mi = v.getSymbolInstanceIconSize(X, this.transform.zoom, Ae.placedIconSymbolIndex);
26331
26331
  return this.collisionIndex.placeCollisionBox(v, mi, Vn, Tn, ie, B, T, Z.predicate);
26332
26332
  };
26333
26333
  Xt && Xt.box && Xt.box.length && Oe.verticalIconBox ? (wt = Yn(Oe.verticalIconBox), st = wt.box.length > 0) : (wt = Yn(Oe.iconBox), st = wt.box.length > 0), be = be && wt.offscreen, Et = wt.occluded;
26334
26334
  }
26335
26335
  const Mr = W || Ae.numHorizontalGlyphVertices === 0 && Ue === 0, lr = J || Ae.numIconVertices === 0;
26336
- if (Mr || lr ? lr ? Mr || (st = st && Xe) : Xe = st && Xe : st = Xe = st && Xe, Xe && an && an.box && this.collisionIndex.insertCollisionBox(an.box, S.get("text-ignore-placement"), v.bucketInstanceId, Xt && Xt.box && Cn ? Cn : Rn, Z.ID), st && wt && this.collisionIndex.insertCollisionBox(wt.box, S.get("icon-ignore-placement"), v.bucketInstanceId, $n, Z.ID), Ot && (Xe && this.collisionIndex.insertCollisionCircles(Ot.circles, S.get("text-ignore-placement"), v.bucketInstanceId, Rn, Z.ID), f)) {
26336
+ if (Mr || lr ? lr ? Mr || (st = st && Xe) : Xe = st && Xe : st = Xe = st && Xe, Xe && an && an.box && this.collisionIndex.insertCollisionBox(an.box, S.get("text-ignore-placement"), v.bucketInstanceId, Xt && Xt.box && Cn ? Cn : Rn, Z.ID), st && wt && this.collisionIndex.insertCollisionBox(wt.box, S.get("icon-ignore-placement"), v.bucketInstanceId, $n, Z.ID), Bt && (Xe && this.collisionIndex.insertCollisionCircles(Bt.circles, S.get("text-ignore-placement"), v.bucketInstanceId, Rn, Z.ID), f)) {
26337
26337
  const Yn = v.bucketInstanceId;
26338
26338
  let Vn = this.collisionCircleArrays[Yn];
26339
26339
  Vn === void 0 && (Vn = this.collisionCircleArrays[Yn] = new _c());
26340
- for (let Tn = 0; Tn < Ot.circles.length; Tn += 4)
26341
- Vn.circles.push(Ot.circles[Tn + 0]), Vn.circles.push(Ot.circles[Tn + 1]), Vn.circles.push(Ot.circles[Tn + 2]), Vn.circles.push(Ot.collisionDetected ? 1 : 0);
26340
+ for (let Tn = 0; Tn < Bt.circles.length; Tn += 4)
26341
+ Vn.circles.push(Bt.circles[Tn + 0]), Vn.circles.push(Bt.circles[Tn + 1]), Vn.circles.push(Bt.circles[Tn + 2]), Vn.circles.push(Bt.collisionDetected ? 1 : 0);
26342
26342
  }
26343
26343
  const go = v.projection.name !== "globe";
26344
26344
  ke = ke && (go || !ze), we = we && (go || !Et), this.placements[tt] = new al(Xe || ke, st || we, be || v.justReloaded), l[tt] = !0;
@@ -26406,10 +26406,10 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26406
26406
  };
26407
26407
  let X = 0;
26408
26408
  for (let Z = 0; Z < r.symbolInstances.length; Z++) {
26409
- const W = r.symbolInstances.get(Z), { numHorizontalGlyphVertices: J, numVerticalGlyphVertices: K, crossTileID: ie, numIconVertices: pe } = W;
26409
+ const W = r.symbolInstances.get(Z), { numHorizontalGlyphVertices: J, numVerticalGlyphVertices: K, crossTileID: ie, numIconVertices: fe } = W;
26410
26410
  let ue = this.opacities[ie];
26411
26411
  l[ie] ? ue = S : ue || (ue = H, this.opacities[ie] = ue), l[ie] = !0;
26412
- const xe = J > 0 || K > 0, De = pe > 0, ke = this.placedOrientations[ie], we = ke === s.WritingMode.vertical, ot = ke === s.WritingMode.horizontal || ke === s.WritingMode.horizontalOnly;
26412
+ const xe = J > 0 || K > 0, De = fe > 0, ke = this.placedOrientations[ie], we = ke === s.WritingMode.vertical, ot = ke === s.WritingMode.horizontal || ke === s.WritingMode.horizontalOnly;
26413
26413
  if (!xe && !De || ue.isHidden() || X++, xe) {
26414
26414
  const Ae = Ni(ue.text);
26415
26415
  q(r.text, J, we ? sa : Ae), q(r.text, K, ot ? sa : Ae);
@@ -26422,7 +26422,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26422
26422
  }
26423
26423
  if (De) {
26424
26424
  const Ae = Ni(ue.icon), { placedIconSymbolIndex: Ve, verticalPlacedIconSymbolIndex: Oe } = W, tt = r.icon.placedSymbolArray, Ue = ue.icon.isHidden() ? 1 : 0;
26425
- Ve >= 0 && (q(r.icon, pe, we ? sa : Ae), tt.get(Ve).hidden = Ue), Oe >= 0 && (q(r.icon, W.numVerticalIconVertices, ot ? sa : Ae), tt.get(Oe).hidden = Ue);
26425
+ Ve >= 0 && (q(r.icon, fe, we ? sa : Ae), tt.get(Ve).hidden = Ue), Oe >= 0 && (q(r.icon, W.numVerticalIconVertices, ot ? sa : Ae), tt.get(Oe).hidden = Ue);
26426
26426
  }
26427
26427
  if (r.hasIconCollisionBoxData() || r.hasTextCollisionBoxData()) {
26428
26428
  const Ae = r.collisionArrays[Z];
@@ -26646,7 +26646,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26646
26646
  const vc = (h, r) => s.emitValidationErrors(h, r && r.filter((l) => l.identifier !== "source.canvas")), jp = s.pick(zt, ["addLayer", "removeLayer", "setPaintProperty", "setLayoutProperty", "setFilter", "addSource", "removeSource", "setLayerZoomRange", "setLight", "setTransition", "setGeoJSONSourceData", "setTerrain", "setFog", "setProjection"]), aa = s.pick(zt, ["setCenter", "setZoom", "setBearing", "setPitch"]), rs = { version: 8, layers: [], sources: {} }, xc = { fill: !0, line: !0, background: !0, hillshade: !0, raster: !0 };
26647
26647
  class Vi extends s.Evented {
26648
26648
  constructor(r, l = {}) {
26649
- super(), this.map = r, this.dispatcher = new at(Qt(), this), this.imageManager = new Nt(), this.imageManager.setEventedParent(this), this.glyphManager = new s.GlyphManager(r._requestManager, l.localFontFamily ? s.LocalGlyphMode.all : l.localIdeographFontFamily ? s.LocalGlyphMode.ideographs : s.LocalGlyphMode.none, l.localFontFamily || l.localIdeographFontFamily), this.crossTileSymbolIndex = new Is(), this._layers = {}, this._num3DLayers = 0, this._numSymbolLayers = 0, this._numCircleLayers = 0, this._serializedLayers = {}, this._sourceCaches = {}, this._otherSourceCaches = {}, this._symbolSourceCaches = {}, this._loaded = !1, this._availableImages = [], this._order = [], this._drapedFirstOrder = [], this._markersNeedUpdate = !1, this._resetUpdates(), this.dispatcher.broadcast("setReferrer", s.getReferrer());
26649
+ super(), this.map = r, this.dispatcher = new at(Qt(), this), this.imageManager = new Ft(), this.imageManager.setEventedParent(this), this.glyphManager = new s.GlyphManager(r._requestManager, l.localFontFamily ? s.LocalGlyphMode.all : l.localIdeographFontFamily ? s.LocalGlyphMode.ideographs : s.LocalGlyphMode.none, l.localFontFamily || l.localIdeographFontFamily), this.crossTileSymbolIndex = new Is(), this._layers = {}, this._num3DLayers = 0, this._numSymbolLayers = 0, this._numCircleLayers = 0, this._serializedLayers = {}, this._sourceCaches = {}, this._otherSourceCaches = {}, this._symbolSourceCaches = {}, this._loaded = !1, this._availableImages = [], this._order = [], this._drapedFirstOrder = [], this._markersNeedUpdate = !1, this._resetUpdates(), this.dispatcher.broadcast("setReferrer", s.getReferrer());
26650
26650
  const f = this;
26651
26651
  this._rtlTextPluginCallback = Vi.registerForPluginStateChange((g) => {
26652
26652
  f.dispatcher.broadcast("syncRTLPluginState", { pluginStatus: g.pluginStatus, pluginURL: g.pluginURL }, (v, S) => {
@@ -26728,8 +26728,8 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26728
26728
  else if (v && S) {
26729
26729
  const U = s.exported.getImageData(S), H = {};
26730
26730
  for (const q in v) {
26731
- const { width: X, height: Z, x: W, y: J, sdf: K, pixelRatio: ie, stretchX: pe, stretchY: ue, content: xe } = v[q], De = new s.RGBAImage({ width: X, height: Z });
26732
- s.RGBAImage.copy(U, De, { x: W, y: J }, { x: 0, y: 0 }, { width: X, height: Z }), H[q] = { data: De, pixelRatio: ie, sdf: K, stretchX: pe, stretchY: ue, content: xe };
26731
+ const { width: X, height: Z, x: W, y: J, sdf: K, pixelRatio: ie, stretchX: fe, stretchY: ue, content: xe } = v[q], De = new s.RGBAImage({ width: X, height: Z });
26732
+ s.RGBAImage.copy(U, De, { x: W, y: J }, { x: 0, y: 0 }, { width: X, height: Z }), H[q] = { data: De, pixelRatio: ie, sdf: K, stretchX: fe, stretchY: ue, content: xe };
26733
26733
  }
26734
26734
  g(null, H);
26735
26735
  }
@@ -26875,11 +26875,11 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
26875
26875
  L && T[L.source] && (S.push({ command: zt.setTerrain, args: [void 0] }), L = void 0), S = S.concat(A), I(L, v.terrain) || S.push({ command: zt.setTerrain, args: [v.terrain] }), function(B, U, H) {
26876
26876
  U = U || [];
26877
26877
  const q = (B = B || []).map(Ge), X = U.map(Ge), Z = B.reduce(zo, {}), W = U.reduce(zo, {}), J = q.slice(), K = /* @__PURE__ */ Object.create(null);
26878
- let ie, pe, ue, xe, De, ke, we;
26879
- for (ie = 0, pe = 0; ie < q.length; ie++)
26880
- ue = q[ie], W.hasOwnProperty(ue) ? pe++ : (H.push({ command: zt.removeLayer, args: [ue] }), J.splice(J.indexOf(ue, pe), 1));
26881
- for (ie = 0, pe = 0; ie < X.length; ie++)
26882
- ue = X[X.length - 1 - ie], J[J.length - 1 - ie] !== ue && (Z.hasOwnProperty(ue) ? (H.push({ command: zt.removeLayer, args: [ue] }), J.splice(J.lastIndexOf(ue, J.length - pe), 1)) : pe++, ke = J[J.length - ie], H.push({ command: zt.addLayer, args: [W[ue], ke] }), J.splice(J.length - ie, 0, ue), K[ue] = !0);
26878
+ let ie, fe, ue, xe, De, ke, we;
26879
+ for (ie = 0, fe = 0; ie < q.length; ie++)
26880
+ ue = q[ie], W.hasOwnProperty(ue) ? fe++ : (H.push({ command: zt.removeLayer, args: [ue] }), J.splice(J.indexOf(ue, fe), 1));
26881
+ for (ie = 0, fe = 0; ie < X.length; ie++)
26882
+ ue = X[X.length - 1 - ie], J[J.length - 1 - ie] !== ue && (Z.hasOwnProperty(ue) ? (H.push({ command: zt.removeLayer, args: [ue] }), J.splice(J.lastIndexOf(ue, J.length - fe), 1)) : fe++, ke = J[J.length - ie], H.push({ command: zt.addLayer, args: [W[ue], ke] }), J.splice(J.length - ie, 0, ue), K[ue] = !0);
26883
26883
  for (ie = 0; ie < X.length; ie++)
26884
26884
  if (ue = X[ie], xe = Z[ue], De = W[ue], !K[ue] && !I(xe, De))
26885
26885
  if (I(xe.source, De.source) && I(xe["source-layer"], De["source-layer"]) && I(xe.type, De.type)) {
@@ -27184,7 +27184,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
27184
27184
  for (const J of W) {
27185
27185
  const K = J.featureIndex.lookupSymbolFeatures(Z[J.bucketInstanceId], R, J.bucketIndex, J.sourceLayerIndex, U.filter, U.layers, U.availableImages, A);
27186
27186
  for (const ie in K) {
27187
- const pe = X[ie] = X[ie] || [], ue = K[ie];
27187
+ const fe = X[ie] = X[ie] || [], ue = K[ie];
27188
27188
  ue.sort((xe, De) => {
27189
27189
  const ke = J.featureSortOrder;
27190
27190
  if (ke) {
@@ -27194,13 +27194,13 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
27194
27194
  return De.featureIndex - xe.featureIndex;
27195
27195
  });
27196
27196
  for (const xe of ue)
27197
- pe.push(xe);
27197
+ fe.push(xe);
27198
27198
  }
27199
27199
  }
27200
27200
  for (const J in X)
27201
27201
  X[J].forEach((K) => {
27202
- const ie = K.feature, pe = L(A[J]).getFeatureState(ie.layer["source-layer"], ie.id);
27203
- ie.source = ie.layer.source, ie.layer["source-layer"] && (ie.sourceLayer = ie.layer["source-layer"]), ie.state = pe;
27202
+ const ie = K.feature, fe = L(A[J]).getFeatureState(ie.layer["source-layer"], ie.id);
27203
+ ie.source = ie.layer.source, ie.layer["source-layer"] && (ie.sourceLayer = ie.layer["source-layer"]), ie.state = fe;
27204
27204
  });
27205
27205
  return X;
27206
27206
  }(this._layers, this._serializedLayers, this._getLayerSourceCache.bind(this), T.screenGeometry, l, this.placement.collisionIndex, this.placement.retainedQueryData)), this._flattenAndSortRenderedFeatures(v);
@@ -28773,11 +28773,11 @@ uniform ${A} ${R} u_${L};
28773
28773
  const L = h.useProgram("hillshade");
28774
28774
  T.activeTexture.set(A.TEXTURE0), A.bindTexture(A.TEXTURE_2D, R.colorAttachment.get());
28775
28775
  const B = ((X, Z, W, J) => {
28776
- const K = W.paint.get("hillshade-shadow-color"), ie = W.paint.get("hillshade-highlight-color"), pe = W.paint.get("hillshade-accent-color");
28776
+ const K = W.paint.get("hillshade-shadow-color"), ie = W.paint.get("hillshade-highlight-color"), fe = W.paint.get("hillshade-accent-color");
28777
28777
  let ue = W.paint.get("hillshade-illumination-direction") * (Math.PI / 180);
28778
28778
  W.paint.get("hillshade-illumination-anchor") === "viewport" && (ue -= X.transform.angle);
28779
28779
  const xe = !X.options.moving;
28780
- return { u_matrix: J || X.transform.calculateProjMatrix(Z.tileID.toUnwrapped(), xe), u_image: 0, u_latrange: ml(0, Z.tileID), u_light: [W.paint.get("hillshade-exaggeration"), ue], u_shadow: K, u_highlight: ie, u_accent: pe };
28780
+ return { u_matrix: J || X.transform.calculateProjMatrix(Z.tileID.toUnwrapped(), xe), u_image: 0, u_latrange: ml(0, Z.tileID), u_light: [W.paint.get("hillshade-exaggeration"), ue], u_shadow: K, u_highlight: ie, u_accent: fe };
28781
28781
  })(h, l, f, h.terrain ? r.projMatrix : null);
28782
28782
  h.prepareDrawProgram(T, L, r.toUnwrapped());
28783
28783
  const { tileBoundsBuffer: U, tileBoundsIndexBuffer: H, tileBoundsSegments: q } = h.getTileBoundsBuffers(l);
@@ -29116,7 +29116,7 @@ This leads to lower resolution of hillshade. For full hillshade resolution but h
29116
29116
  (function(R, L, B, U, H) {
29117
29117
  const q = R.context, X = q.gl;
29118
29118
  let Z, W;
29119
- const J = R.options.showTerrainWireframe ? 2 : 0, K = R.transform, ie = s.globeUseCustomAntiAliasing(R, q, K), pe = (tt, Ue) => {
29119
+ const J = R.options.showTerrainWireframe ? 2 : 0, K = R.transform, ie = s.globeUseCustomAntiAliasing(R, q, K), fe = (tt, Ue) => {
29120
29120
  if (W === tt)
29121
29121
  return;
29122
29122
  const Xe = [ca[tt], "PROJECTION_GLOBE_VIEW"];
@@ -29130,10 +29130,10 @@ This leads to lower resolution of hillshade. For full hillshade resolution but h
29130
29130
  for (const Xe of U) {
29131
29131
  const st = B.getTile(Xe), be = s.StencilMode.disabled, ze = L.prevTerrainTileForTile[Xe.key], Et = L.terrainTileForTile[Xe.key];
29132
29132
  Cc(ze, Et) && Ls.newMorphing(Xe.key, ze, Et, H, 250), q.activeTexture.set(X.TEXTURE0), st.texture.bind(X.LINEAR, X.CLAMP_TO_EDGE);
29133
- const Pt = Ls.getMorphValuesForProxy(Xe.key), Ct = Pt ? 1 : 0;
29134
- Pt && s.extend$1(Oe, { morphing: { srcDemTile: Pt.from, dstDemTile: Pt.to, phase: s.easeCubicInOut(Pt.phase) } });
29135
- const Xt = s.tileCornersToBounds(Xe.canonical), an = s.getLatitudinalLod(Xt.getCenter().lat), Ot = s.getGridMatrix(Xe.canonical, Xt, an, K.worldSize / K._pixelsPerMercatorPixel), wt = s.globeNormalizeECEF(s.globeTileBounds(Xe.canonical)), Rn = fh(K.projMatrix, Ve, De, wt, s.globeToMercatorTransition(K.zoom), ke, K.frustumCorners.TL, K.frustumCorners.TR, K.frustumCorners.BR, K.frustumCorners.BL, K.globeCenterInViewSpace, K.globeRadius, Ae, Ot);
29136
- if (pe(Ct, tt), L.setupElevationDraw(st, Z, Oe), R.prepareDrawProgram(q, Z, Xe.toUnwrapped()), ot) {
29133
+ const Ot = Ls.getMorphValuesForProxy(Xe.key), Ct = Ot ? 1 : 0;
29134
+ Ot && s.extend$1(Oe, { morphing: { srcDemTile: Ot.from, dstDemTile: Ot.to, phase: s.easeCubicInOut(Ot.phase) } });
29135
+ const Xt = s.tileCornersToBounds(Xe.canonical), an = s.getLatitudinalLod(Xt.getCenter().lat), Bt = s.getGridMatrix(Xe.canonical, Xt, an, K.worldSize / K._pixelsPerMercatorPixel), wt = s.globeNormalizeECEF(s.globeTileBounds(Xe.canonical)), Rn = fh(K.projMatrix, Ve, De, wt, s.globeToMercatorTransition(K.zoom), ke, K.frustumCorners.TL, K.frustumCorners.TR, K.frustumCorners.BR, K.frustumCorners.BL, K.globeCenterInViewSpace, K.globeRadius, Ae, Bt);
29136
+ if (fe(Ct, tt), L.setupElevationDraw(st, Z, Oe), R.prepareDrawProgram(q, Z, Xe.toUnwrapped()), ot) {
29137
29137
  const [Cn, $n, Pn] = tt ? ot.getWirefameBuffers(R.context, an) : ot.getGridBuffers(an);
29138
29138
  Z.draw(q, Ue, xe, be, ue, s.CullFaceMode.backCCW, Rn, "globe_raster", Cn, $n, Pn);
29139
29139
  }
@@ -29142,13 +29142,13 @@ This leads to lower resolution of hillshade. For full hillshade resolution but h
29142
29142
  const tt = ["GLOBE_POLES", "PROJECTION_GLOBE_VIEW"];
29143
29143
  ie && tt.push("CUSTOM_ANTIALIASING"), Z = R.useProgram("globeRaster", null, tt);
29144
29144
  for (const Ue of U) {
29145
- const { x: Xe, y: st, z: be } = Ue.canonical, ze = st === 0, Et = st === (1 << be) - 1, [Pt, Ct, Xt, an] = ot.getPoleBuffers(be);
29145
+ const { x: Xe, y: st, z: be } = Ue.canonical, ze = st === 0, Et = st === (1 << be) - 1, [Ot, Ct, Xt, an] = ot.getPoleBuffers(be);
29146
29146
  if (an && (ze || Et)) {
29147
- const Ot = B.getTile(Ue);
29148
- q.activeTexture.set(X.TEXTURE0), Ot.texture.bind(X.LINEAR, X.CLAMP_TO_EDGE);
29147
+ const Bt = B.getTile(Ue);
29148
+ q.activeTexture.set(X.TEXTURE0), Bt.texture.bind(X.LINEAR, X.CLAMP_TO_EDGE);
29149
29149
  let wt = s.globePoleMatrixForTile(be, Xe, K);
29150
29150
  const Rn = s.globeNormalizeECEF(s.globeTileBounds(Ue.canonical)), Cn = ($n, Pn) => $n.draw(q, X.TRIANGLES, xe, s.StencilMode.disabled, ue, s.CullFaceMode.disabled, fh(K.projMatrix, wt, wt, Rn, 0, ke, K.frustumCorners.TL, K.frustumCorners.TR, K.frustumCorners.BR, K.frustumCorners.BL, K.globeCenterInViewSpace, K.globeRadius, Ae), "globe_pole_raster", Pn, Xt, an);
29151
- L.setupElevationDraw(Ot, Z, Oe), R.prepareDrawProgram(q, Z, Ue.toUnwrapped()), ze && Cn(Z, Pt), Et && (wt = s.scale(s.create(), wt, [1, -1, 1]), Cn(Z, Ct));
29151
+ L.setupElevationDraw(Bt, Z, Oe), R.prepareDrawProgram(q, Z, Ue.toUnwrapped()), ze && Cn(Z, Ot), Et && (wt = s.scale(s.create(), wt, [1, -1, 1]), Cn(Z, Ct));
29152
29152
  }
29153
29153
  }
29154
29154
  }
@@ -29159,14 +29159,14 @@ This leads to lower resolution of hillshade. For full hillshade resolution but h
29159
29159
  const H = g.options.showTerrainWireframe ? 2 : 0, q = (K, ie) => {
29160
29160
  if (U === K)
29161
29161
  return;
29162
- const pe = [ca[K]];
29163
- ie && pe.push(ca[H]), B = g.useProgram("terrainRaster", null, pe), U = K;
29162
+ const fe = [ca[K]];
29163
+ ie && fe.push(ca[H]), B = g.useProgram("terrainRaster", null, fe), U = K;
29164
29164
  }, X = g.colorModeForRenderPass(), Z = new s.DepthMode(L.LEQUAL, s.DepthMode.ReadWrite, g.depthRangeFor3D);
29165
29165
  Ls.update(A);
29166
29166
  const W = g.transform, J = 6 * Math.pow(1.5, 22 - W.zoom) * v.exaggeration();
29167
29167
  (H ? [!1, !0] : [!1]).forEach((K) => {
29168
29168
  U = -1;
29169
- const ie = K ? L.LINES : L.TRIANGLES, [pe, ue] = K ? v.getWirefameBuffer() : [v.gridIndexBuffer, v.gridSegments];
29169
+ const ie = K ? L.LINES : L.TRIANGLES, [fe, ue] = K ? v.getWirefameBuffer() : [v.gridIndexBuffer, v.gridSegments];
29170
29170
  for (const xe of T) {
29171
29171
  const De = S.getTile(xe), ke = s.StencilMode.disabled, we = v.prevTerrainTileForTile[xe.key], ot = v.terrainTileForTile[xe.key];
29172
29172
  Cc(we, ot) && Ls.newMorphing(xe.key, we, ot, A, 250), R.activeTexture.set(L.TEXTURE0), De.texture.bind(L.LINEAR, L.CLAMP_TO_EDGE, L.LINEAR_MIPMAP_NEAREST);
@@ -29174,7 +29174,7 @@ This leads to lower resolution of hillshade. For full hillshade resolution but h
29174
29174
  let Oe;
29175
29175
  Ae && (Oe = { morphing: { srcDemTile: Ae.from, dstDemTile: Ae.to, phase: s.easeCubicInOut(Ae.phase) } });
29176
29176
  const tt = Ec(xe.projMatrix, Ac(xe.canonical, W.renderWorldCopies) ? J / 10 : J);
29177
- q(Ve, K), v.setupElevationDraw(De, B, Oe), g.prepareDrawProgram(R, B, xe.toUnwrapped()), B.draw(R, ie, Z, ke, X, s.CullFaceMode.backCCW, tt, "terrain_raster", v.gridBuffer, pe, ue);
29177
+ q(Ve, K), v.setupElevationDraw(De, B, Oe), g.prepareDrawProgram(R, B, xe.toUnwrapped()), B.draw(R, ie, Z, ke, X, s.CullFaceMode.backCCW, tt, "terrain_raster", v.gridBuffer, fe, ue);
29178
29178
  }
29179
29179
  });
29180
29180
  }
@@ -29714,10 +29714,10 @@ precision highp float;
29714
29714
  const T = h.context, A = T.gl, R = h.transform, L = h.useProgram("collisionBox"), B = [];
29715
29715
  let U = 0, H = 0;
29716
29716
  for (let ie = 0; ie < f.length; ie++) {
29717
- const pe = f[ie], ue = r.getTile(pe), xe = ue.getBucket(l);
29717
+ const fe = f[ie], ue = r.getTile(fe), xe = ue.getBucket(l);
29718
29718
  if (!xe)
29719
29719
  continue;
29720
- const De = ol(pe, xe, R);
29720
+ const De = ol(fe, xe, R);
29721
29721
  let ke = De;
29722
29722
  g[0] === 0 && g[1] === 0 || (ke = h.translatePosMatrix(De, ue, g, v));
29723
29723
  const we = S ? xe.textCollisionBox : xe.iconCollisionBox, ot = xe.collisionCircleArray;
@@ -29733,14 +29733,14 @@ precision highp float;
29733
29733
  X.resize(4 * U), X._trim();
29734
29734
  let Z = 0;
29735
29735
  for (const ie of B)
29736
- for (let pe = 0; pe < ie.circleArray.length / 4; pe++) {
29737
- const ue = 4 * pe, xe = ie.circleArray[ue + 0], De = ie.circleArray[ue + 1], ke = ie.circleArray[ue + 2], we = ie.circleArray[ue + 3];
29736
+ for (let fe = 0; fe < ie.circleArray.length / 4; fe++) {
29737
+ const ue = 4 * fe, xe = ie.circleArray[ue + 0], De = ie.circleArray[ue + 1], ke = ie.circleArray[ue + 2], we = ie.circleArray[ue + 3];
29738
29738
  X.emplace(Z++, xe, De, ke, we, 0), X.emplace(Z++, xe, De, ke, we, 1), X.emplace(Z++, xe, De, ke, we, 2), X.emplace(Z++, xe, De, ke, we, 3);
29739
29739
  }
29740
29740
  (!ha || ha.length < 2 * U) && (ha = function(ie) {
29741
- const pe = 2 * ie, ue = new s.StructArrayLayout3ui6();
29742
- ue.resize(pe), ue._trim();
29743
- for (let xe = 0; xe < pe; xe++) {
29741
+ const fe = 2 * ie, ue = new s.StructArrayLayout3ui6();
29742
+ ue.resize(fe), ue._trim();
29743
+ for (let xe = 0; xe < fe; xe++) {
29744
29744
  const De = 6 * xe;
29745
29745
  ue.uint16[De + 0] = 4 * xe + 0, ue.uint16[De + 1] = 4 * xe + 1, ue.uint16[De + 2] = 4 * xe + 2, ue.uint16[De + 3] = 4 * xe + 2, ue.uint16[De + 4] = 4 * xe + 3, ue.uint16[De + 5] = 4 * xe + 0;
29746
29746
  }
@@ -29748,8 +29748,8 @@ precision highp float;
29748
29748
  }(U));
29749
29749
  const W = T.createIndexBuffer(ha, !0), J = T.createVertexBuffer(X, s.collisionCircleLayout.members, !0);
29750
29750
  for (const ie of B) {
29751
- const pe = { u_matrix: ie.transform, u_inv_matrix: ie.invTransform, u_camera_to_center_distance: (K = R).getCameraToCenterDistance(ie.projection), u_viewport_size: [K.width, K.height] };
29752
- q.draw(T, A.TRIANGLES, s.DepthMode.disabled, s.StencilMode.disabled, h.colorModeForRenderPass(), s.CullFaceMode.disabled, pe, l.id, J, W, s.SegmentVector.simpleSegment(0, 2 * ie.circleOffset, ie.circleArray.length, ie.circleArray.length / 2), null, R.zoom);
29751
+ const fe = { u_matrix: ie.transform, u_inv_matrix: ie.invTransform, u_camera_to_center_distance: (K = R).getCameraToCenterDistance(ie.projection), u_viewport_size: [K.width, K.height] };
29752
+ q.draw(T, A.TRIANGLES, s.DepthMode.disabled, s.StencilMode.disabled, h.colorModeForRenderPass(), s.CullFaceMode.disabled, fe, l.id, J, W, s.SegmentVector.simpleSegment(0, 2 * ie.circleOffset, ie.circleArray.length, ie.circleArray.length / 2), null, R.zoom);
29753
29753
  }
29754
29754
  var K;
29755
29755
  J.destroy(), W.destroy();
@@ -29763,19 +29763,19 @@ precision highp float;
29763
29763
  const B = h.text.placedSymbolArray, U = h.text.dynamicLayoutVertexArray, H = h.icon.dynamicLayoutVertexArray, q = {}, X = h.getProjection(), Z = sl(T, X, v), W = v.elevation, J = X.upVectorScale(T.canonical, v.center.lat, v.worldSize).metersToTile;
29764
29764
  U.clear();
29765
29765
  for (let K = 0; K < B.length; K++) {
29766
- const ie = B.get(K), { tileAnchorX: pe, tileAnchorY: ue, numGlyphs: xe } = ie, De = h.allowVerticalPlacement && !ie.placedOrientation, ke = ie.hidden || !ie.crossTileID || De ? null : f[ie.crossTileID];
29766
+ const ie = B.get(K), { tileAnchorX: fe, tileAnchorY: ue, numGlyphs: xe } = ie, De = h.allowVerticalPlacement && !ie.placedOrientation, ke = ie.hidden || !ie.crossTileID || De ? null : f[ie.crossTileID];
29767
29767
  if (ke) {
29768
29768
  let we = 0, ot = 0, Ae = 0;
29769
29769
  if (W) {
29770
- const Et = W ? W.getAtTileOffset(T, pe, ue) : 0, [Pt, Ct, Xt] = X.upVector(T.canonical, pe, ue);
29771
- we = Et * Pt * J, ot = Et * Ct * J, Ae = Et * Xt * J;
29770
+ const Et = W ? W.getAtTileOffset(T, fe, ue) : 0, [Ot, Ct, Xt] = X.upVector(T.canonical, fe, ue);
29771
+ we = Et * Ot * J, ot = Et * Ct * J, Ae = Et * Xt * J;
29772
29772
  }
29773
29773
  let [Ve, Oe, tt, Ue] = ar(ie.projectedAnchorX + we, ie.projectedAnchorY + ot, ie.projectedAnchorZ + Ae, l ? Z : S);
29774
29774
  const Xe = yt(v.getCameraToCenterDistance(X), Ue);
29775
29775
  let st = g.evaluateSizeForFeature(h.textSizeData, R, ie) * Xe / s.ONE_EM;
29776
29776
  l && (st *= h.tilePixelRatio / A);
29777
29777
  const be = kg(ke, st);
29778
- l ? ({ x: Ve, y: Oe, z: tt } = X.projectTilePoint(pe + be.x, ue + be.y, T.canonical), [Ve, Oe, tt] = ar(Ve + we, Oe + ot, tt + Ae, S)) : (r && be._rotate(-v.angle), Ve += be.x, Oe += be.y, tt = 0);
29778
+ l ? ({ x: Ve, y: Oe, z: tt } = X.projectTilePoint(fe + be.x, ue + be.y, T.canonical), [Ve, Oe, tt] = ar(Ve + we, Oe + ot, tt + Ae, S)) : (r && be._rotate(-v.angle), Ve += be.x, Oe += be.y, tt = 0);
29779
29779
  const ze = h.allowVerticalPlacement && ie.placedOrientation === s.WritingMode.vertical ? Math.PI / 2 : 0;
29780
29780
  for (let Et = 0; Et < xe; Et++)
29781
29781
  s.addDynamicAttributes(U, Ve, Oe, tt, ze);
@@ -29787,8 +29787,8 @@ precision highp float;
29787
29787
  H.clear();
29788
29788
  const K = h.icon.placedSymbolArray;
29789
29789
  for (let ie = 0; ie < K.length; ie++) {
29790
- const pe = K.get(ie), { numGlyphs: ue } = pe, xe = q[ie];
29791
- if (pe.hidden || !xe)
29790
+ const fe = K.get(ie), { numGlyphs: ue } = fe, xe = q[ie];
29791
+ if (fe.hidden || !xe)
29792
29792
  ji(ue, H);
29793
29793
  else {
29794
29794
  const { x: De, y: ke, z: we, angle: ot } = xe;
@@ -29806,7 +29806,7 @@ precision highp float;
29806
29806
  function Rs(h, r, l, f, g, v, S, T, A, R, L, B) {
29807
29807
  const U = h.context, H = U.gl, q = h.transform, X = T === "map", Z = A === "map", W = X && l.layout.get("symbol-placement") !== "point", J = X && !Z && !W, K = l.layout.get("symbol-sort-key").constantOr(1) !== void 0;
29808
29808
  let ie = !1;
29809
- const pe = h.depthModeForSublayer(0, s.DepthMode.ReadOnly), ue = [s.mercatorXfromLng(q.center.lng), s.mercatorYfromLat(q.center.lat)], xe = l.layout.get("text-variable-anchor"), De = q.projection.name === "globe", ke = [], we = [0, -1, 0];
29809
+ const fe = h.depthModeForSublayer(0, s.DepthMode.ReadOnly), ue = [s.mercatorXfromLng(q.center.lng), s.mercatorYfromLat(q.center.lat)], xe = l.layout.get("text-variable-anchor"), De = q.projection.name === "globe", ke = [], we = [0, -1, 0];
29810
29810
  let ot = we;
29811
29811
  !De && !q.mercatorFromTransition || X || (ot = function(Ae) {
29812
29812
  const Ve = Ae._camera.getWorldToCamera(Ae.worldSize, 1), Oe = s.multiply([], Ve, Ae.globeMatrix);
@@ -29822,16 +29822,16 @@ precision highp float;
29822
29822
  if (!tt || Oe.fullyClipped || !tt.segments.get().length)
29823
29823
  continue;
29824
29824
  const Ue = tt.programConfigurations.get(l.id), Xe = g || Oe.sdfIcons, st = g ? Oe.textSizeData : Oe.iconSizeData, be = Z || q.pitch !== 0, ze = s.evaluateSizeForZoom(st, q.zoom);
29825
- let Et, Pt, Ct, Xt, an = [0, 0], Ot = null;
29825
+ let Et, Ot, Ct, Xt, an = [0, 0], Bt = null;
29826
29826
  if (g) {
29827
- if (Pt = Ve.glyphAtlasTexture, Ct = H.LINEAR, Et = Ve.glyphAtlasTexture.size, Oe.iconsInText) {
29828
- an = Ve.imageAtlasTexture.size, Ot = Ve.imageAtlasTexture;
29827
+ if (Ot = Ve.glyphAtlasTexture, Ct = H.LINEAR, Et = Ve.glyphAtlasTexture.size, Oe.iconsInText) {
29828
+ an = Ve.imageAtlasTexture.size, Bt = Ve.imageAtlasTexture;
29829
29829
  const Or = st.kind === "composite" || st.kind === "camera";
29830
29830
  Xt = be || h.options.rotating || h.options.zooming || Or ? H.LINEAR : H.NEAREST;
29831
29831
  }
29832
29832
  } else {
29833
29833
  const Or = l.layout.get("icon-size").constantOr(0) !== 1 || Oe.iconsNeedLinear;
29834
- Pt = Ve.imageAtlasTexture, Ct = Xe || h.options.rotating || h.options.zooming || Or || be ? H.LINEAR : H.NEAREST, Et = Ve.imageAtlasTexture.size;
29834
+ Ot = Ve.imageAtlasTexture, Ct = Xe || h.options.rotating || h.options.zooming || Or || be ? H.LINEAR : H.NEAREST, Et = Ve.imageAtlasTexture.size;
29835
29835
  }
29836
29836
  const wt = Oe.projection.name === "globe", Rn = wt ? ot : we, Cn = wt ? s.globeToMercatorTransition(q.zoom) : 0, $n = sl(Ae, Oe.getProjection(), q), Pn = q.calculatePixelsToTileUnitsMatrix(Ve), gr = Cr($n, Ve.tileID.canonical, Z, X, q, Oe.getProjection(), Pn), Mr = h.terrain && Z && W ? s.invert(s.create(), gr) : vl, lr = Fp($n, Ve.tileID.canonical, Z, X, q, Oe.getProjection(), Pn), go = xe && Oe.hasTextData(), Yn = l.layout.get("icon-text-fit") !== "none" && go && Oe.hasIconData();
29837
29837
  if (W) {
@@ -29843,7 +29843,7 @@ precision highp float;
29843
29843
  const kl = Xe && l.paint.get(g ? "text-halo-width" : "icon-halo-width").constantOr(1) !== 0;
29844
29844
  let Fo;
29845
29845
  Fo = Xe ? Oe.iconsInText ? Bc(st.kind, ze, J, Z, h, Tn, mi, Ki, Et, an, Ae, Cn, ue, Wn, Rn, Oe.getProjection()) : tf(st.kind, ze, J, Z, h, Tn, mi, Ki, g, Et, !0, Ae, Cn, ue, Wn, Rn, Oe.getProjection()) : Oc(st.kind, ze, J, Z, h, Tn, mi, Ki, g, Et, Ae, Cn, ue, Wn, Rn, Oe.getProjection());
29846
- const Qi = { program: h.useProgram(of(Xe, g, Oe), Ue, cr), buffers: tt, uniformValues: Fo, atlasTexture: Pt, atlasTextureIcon: Ot, atlasInterpolation: Ct, atlasInterpolationIcon: Xt, isSDF: Xe, hasHalo: kl, tile: Ve, labelPlaneMatrixInv: Mr };
29846
+ const Qi = { program: h.useProgram(of(Xe, g, Oe), Ue, cr), buffers: tt, uniformValues: Fo, atlasTexture: Ot, atlasTextureIcon: Bt, atlasInterpolation: Ct, atlasInterpolationIcon: Xt, isSDF: Xe, hasHalo: kl, tile: Ve, labelPlaneMatrixInv: Mr };
29847
29847
  if (K && Oe.canOverlap) {
29848
29848
  ie = !0;
29849
29849
  const Or = tt.segments.get();
@@ -29857,9 +29857,9 @@ precision highp float;
29857
29857
  const Ve = Ae.state;
29858
29858
  if (h.terrain && h.terrain.setupElevationDraw(Ve.tile, Ve.program, { useDepthForOcclusion: !De, labelPlaneMatrixInv: Ve.labelPlaneMatrixInv }), U.activeTexture.set(H.TEXTURE0), Ve.atlasTexture.bind(Ve.atlasInterpolation, H.CLAMP_TO_EDGE), Ve.atlasTextureIcon && (U.activeTexture.set(H.TEXTURE1), Ve.atlasTextureIcon && Ve.atlasTextureIcon.bind(Ve.atlasInterpolationIcon, H.CLAMP_TO_EDGE)), Ve.isSDF) {
29859
29859
  const Oe = Ve.uniformValues;
29860
- Ve.hasHalo && (Oe.u_is_halo = 1, sf(Ve.buffers, Ae.segments, l, h, Ve.program, pe, L, B, Oe)), Oe.u_is_halo = 0;
29860
+ Ve.hasHalo && (Oe.u_is_halo = 1, sf(Ve.buffers, Ae.segments, l, h, Ve.program, fe, L, B, Oe)), Oe.u_is_halo = 0;
29861
29861
  }
29862
- sf(Ve.buffers, Ae.segments, l, h, Ve.program, pe, L, B, Ve.uniformValues);
29862
+ sf(Ve.buffers, Ae.segments, l, h, Ve.program, fe, L, B, Ve.uniformValues);
29863
29863
  }
29864
29864
  }
29865
29865
  function sf(h, r, l, f, g, v, S, T, A) {
@@ -29885,13 +29885,13 @@ precision highp float;
29885
29885
  const ue = Z.imageAtlas.patternPositions[ie.toString()];
29886
29886
  ue && J.setConstantPatternPositions(ue);
29887
29887
  }
29888
- const pe = h.translatePosMatrix(X.projMatrix, Z, l.paint.get("fill-translate"), l.paint.get("fill-translate-anchor"));
29888
+ const fe = h.translatePosMatrix(X.projMatrix, Z, l.paint.get("fill-translate"), l.paint.get("fill-translate-anchor"));
29889
29889
  if (S) {
29890
29890
  H = W.indexBuffer2, q = W.segments2;
29891
29891
  const ue = h.terrain && h.terrain.renderingToTexture ? h.terrain.drapeBufferSize : [T.drawingBufferWidth, T.drawingBufferHeight];
29892
- U = B === "fillOutlinePattern" && R ? yh(pe, h, Z, ue) : gh(pe, ue);
29892
+ U = B === "fillOutlinePattern" && R ? yh(fe, h, Z, ue) : gh(fe, ue);
29893
29893
  } else
29894
- H = W.indexBuffer, q = W.segments, U = R ? Rc(pe, h, Z) : Lc(pe);
29894
+ H = W.indexBuffer, q = W.segments, U = R ? Rc(fe, h, Z) : Lc(fe);
29895
29895
  h.prepareDrawProgram(h.context, K, X.toUnwrapped()), K.draw(h.context, L, g, h.stencilModeForClipping(X), v, s.CullFaceMode.disabled, U, l.id, W.layoutVertexBuffer, H, q, l.paint, h.transform.zoom, J);
29896
29896
  }
29897
29897
  }
@@ -29899,30 +29899,30 @@ precision highp float;
29899
29899
  const T = h.context, A = T.gl, R = h.transform, L = l.paint.get("fill-extrusion-pattern"), B = L.constantOr(1), U = l.paint.get("fill-extrusion-opacity"), H = [l.paint.get("fill-extrusion-ambient-occlusion-intensity"), l.paint.get("fill-extrusion-ambient-occlusion-radius")], q = l.layout.get("fill-extrusion-edge-radius"), X = R.projection.name === "globe" ? s.fillExtrusionHeightLift() : 0, Z = R.projection.name === "globe", W = Z ? s.globeToMercatorTransition(R.zoom) : 0, J = [s.mercatorXfromLng(R.center.lng), s.mercatorYfromLat(R.center.lat)], K = [];
29900
29900
  Z && (K.push("PROJECTION_GLOBE_VIEW"), h.style.terrainSetForDrapingOnly() && K.push("TERRAIN")), H[0] > 0 && K.push("FAUX_AO");
29901
29901
  for (const ie of f) {
29902
- const pe = r.getTile(ie), ue = pe.getBucket(l);
29902
+ const fe = r.getTile(ie), ue = fe.getBucket(l);
29903
29903
  if (!ue || ue.projection.name !== R.projection.name)
29904
29904
  continue;
29905
29905
  const xe = ue.programConfigurations.get(l.id), De = h.useProgram(B ? "fillExtrusionPattern" : "fillExtrusion", xe, K);
29906
29906
  if (h.terrain) {
29907
29907
  const tt = h.terrain;
29908
29908
  if (h.style.terrainSetForDrapingOnly())
29909
- tt.setupElevationDraw(pe, De, { useMeterToDem: !0 });
29909
+ tt.setupElevationDraw(fe, De, { useMeterToDem: !0 });
29910
29910
  else {
29911
29911
  if (!ue.enableTerrain)
29912
29912
  continue;
29913
- if (tt.setupElevationDraw(pe, De, { useMeterToDem: !0 }), Lg(T, r, ie, ue, l, tt), !ue.centroidVertexBuffer) {
29913
+ if (tt.setupElevationDraw(fe, De, { useMeterToDem: !0 }), Lg(T, r, ie, ue, l, tt), !ue.centroidVertexBuffer) {
29914
29914
  const Ue = De.attributes.a_centroid_pos;
29915
29915
  Ue !== void 0 && A.vertexAttrib2f(Ue, 0, 0);
29916
29916
  }
29917
29917
  }
29918
29918
  }
29919
- B && (h.context.activeTexture.set(A.TEXTURE0), pe.imageAtlasTexture.bind(A.LINEAR, A.CLAMP_TO_EDGE), xe.updatePaintBuffers());
29919
+ B && (h.context.activeTexture.set(A.TEXTURE0), fe.imageAtlasTexture.bind(A.LINEAR, A.CLAMP_TO_EDGE), xe.updatePaintBuffers());
29920
29920
  const ke = L.constantOr(null);
29921
- if (ke && pe.imageAtlas) {
29922
- const tt = pe.imageAtlas.patternPositions[ke.toString()];
29921
+ if (ke && fe.imageAtlas) {
29922
+ const tt = fe.imageAtlas.patternPositions[ke.toString()];
29923
29923
  tt && xe.setConstantPatternPositions(tt);
29924
29924
  }
29925
- const we = h.translatePosMatrix(ie.projMatrix, pe, l.paint.get("fill-extrusion-translate"), l.paint.get("fill-extrusion-translate-anchor")), ot = R.projection.createInversionMatrix(R, ie.canonical), Ae = l.paint.get("fill-extrusion-vertical-gradient"), Ve = B ? Cg(we, h, Ae, U, H, q, ie, pe, X, W, J, ot) : Xp(we, h, Ae, U, H, q, ie, X, W, J, ot);
29925
+ const we = h.translatePosMatrix(ie.projMatrix, fe, l.paint.get("fill-extrusion-translate"), l.paint.get("fill-extrusion-translate-anchor")), ot = R.projection.createInversionMatrix(R, ie.canonical), Ae = l.paint.get("fill-extrusion-vertical-gradient"), Ve = B ? Cg(we, h, Ae, U, H, q, ie, fe, X, W, J, ot) : Xp(we, h, Ae, U, H, q, ie, X, W, J, ot);
29926
29926
  h.prepareDrawProgram(T, De, ie.toUnwrapped());
29927
29927
  const Oe = [];
29928
29928
  h.terrain && Oe.push(ue.centroidVertexBuffer), Z && Oe.push(ue.layoutVertexExtBuffer), De.draw(T, T.gl.TRIANGLES, g, v, S, s.CullFaceMode.backCCW, Ve, l.id, ue.layoutVertexBuffer, ue.indexBuffer, ue.segments, l.paint, h.transform.zoom, xe, Oe);
@@ -29936,30 +29936,30 @@ precision highp float;
29936
29936
  let J = W.canonical.x + 1, K = W.wrap;
29937
29937
  return J === 1 << W.canonical.z && (J = 0, K++), new s.OverscaledTileID(W.overscaledZ, K, W.canonical.z, J, W.canonical.y);
29938
29938
  }, (W) => new s.OverscaledTileID(W.overscaledZ, W.wrap, W.canonical.z, W.canonical.x, (W.canonical.y === 0 ? 1 << W.canonical.z : W.canonical.y) - 1), (W) => new s.OverscaledTileID(W.overscaledZ, W.wrap, W.canonical.z, W.canonical.x, W.canonical.y === (1 << W.canonical.z) - 1 ? 0 : W.canonical.y + 1)], T = (W) => {
29939
- const J = r.getSource().minzoom, K = (pe) => {
29940
- const ue = r.getTileByID(pe);
29939
+ const J = r.getSource().minzoom, K = (fe) => {
29940
+ const ue = r.getTileByID(fe);
29941
29941
  if (ue && ue.hasData())
29942
29942
  return ue.getBucket(g);
29943
29943
  }, ie = [0, -1, 1];
29944
- for (const pe of ie) {
29945
- if (W.overscaledZ + pe < J)
29944
+ for (const fe of ie) {
29945
+ if (W.overscaledZ + fe < J)
29946
29946
  continue;
29947
- const ue = K(W.calculateScaledKey(W.overscaledZ + pe));
29947
+ const ue = K(W.calculateScaledKey(W.overscaledZ + fe));
29948
29948
  if (ue)
29949
29949
  return ue;
29950
29950
  }
29951
29951
  }, A = [0, 0, 0], R = (W, J) => (A[0] = Math.min(W.min.y, J.min.y), A[1] = Math.max(W.max.y, J.max.y), A[2] = s.EXTENT - J.min.x > W.max.x ? J.min.x - s.EXTENT : W.max.x, A), L = (W, J) => (A[0] = Math.min(W.min.x, J.min.x), A[1] = Math.max(W.max.x, J.max.x), A[2] = s.EXTENT - J.min.y > W.max.y ? J.min.y - s.EXTENT : W.max.y, A), B = [(W, J) => R(W, J), (W, J) => R(J, W), (W, J) => L(W, J), (W, J) => L(J, W)], U = new s.pointGeometry(0, 0);
29952
29952
  let H, q, X;
29953
- const Z = (W, J, K, ie, pe) => {
29954
- const ue = [[ie ? K : W, ie ? W : K, 0], [ie ? K : J, ie ? J : K, 0]], xe = pe < 0 ? s.EXTENT + pe : pe, De = [ie ? xe : (W + J) / 2, ie ? (W + J) / 2 : xe, 0];
29955
- return K === 0 && pe < 0 || K !== 0 && pe > 0 ? v.getForTilePoints(X, [De], !0, q) : ue.push(De), v.getForTilePoints(l, ue, !0, H), Math.max(ue[0][2], ue[1][2], De[2]) / v.exaggeration();
29953
+ const Z = (W, J, K, ie, fe) => {
29954
+ const ue = [[ie ? K : W, ie ? W : K, 0], [ie ? K : J, ie ? J : K, 0]], xe = fe < 0 ? s.EXTENT + fe : fe, De = [ie ? xe : (W + J) / 2, ie ? (W + J) / 2 : xe, 0];
29955
+ return K === 0 && fe < 0 || K !== 0 && fe > 0 ? v.getForTilePoints(X, [De], !0, q) : ue.push(De), v.getForTilePoints(l, ue, !0, H), Math.max(ue[0][2], ue[1][2], De[2]) / v.exaggeration();
29956
29956
  };
29957
29957
  for (let W = 0; W < 4; W++) {
29958
29958
  const J = (W < 2 ? 1 : 5) - W, K = f.borders[W];
29959
29959
  if (K.length === 0)
29960
29960
  continue;
29961
- const ie = X = S[W](l), pe = T(ie);
29962
- if (!(pe && pe instanceof s.FillExtrusionBucket && pe.enableTerrain) || f.borderDoneWithNeighborZ[W] === pe.canonical.z && pe.borderDoneWithNeighborZ[J] === f.canonical.z || (q = v.findDEMTileFor(ie), !q || !q.dem))
29961
+ const ie = X = S[W](l), fe = T(ie);
29962
+ if (!(fe && fe instanceof s.FillExtrusionBucket && fe.enableTerrain) || f.borderDoneWithNeighborZ[W] === fe.canonical.z && fe.borderDoneWithNeighborZ[J] === f.canonical.z || (q = v.findDEMTileFor(ie), !q || !q.dem))
29963
29963
  continue;
29964
29964
  if (!H) {
29965
29965
  const ke = v.findDEMTileFor(l);
@@ -29967,39 +29967,39 @@ precision highp float;
29967
29967
  return;
29968
29968
  H = ke;
29969
29969
  }
29970
- const ue = pe.borders[J];
29970
+ const ue = fe.borders[J];
29971
29971
  let xe = 0;
29972
- const De = pe.borderDoneWithNeighborZ[J] !== f.canonical.z;
29973
- if (f.canonical.z === pe.canonical.z) {
29972
+ const De = fe.borderDoneWithNeighborZ[J] !== f.canonical.z;
29973
+ if (f.canonical.z === fe.canonical.z) {
29974
29974
  for (let ke = 0; ke < K.length; ke++) {
29975
29975
  const we = f.featuresOnBorder[K[ke]], ot = we.borders[W];
29976
29976
  let Ae;
29977
- for (; xe < ue.length && (Ae = pe.featuresOnBorder[ue[xe]], !(Ae.borders[J][1] > ot[0] + 3)); )
29978
- De && pe.encodeCentroid(void 0, Ae, !1), xe++;
29977
+ for (; xe < ue.length && (Ae = fe.featuresOnBorder[ue[xe]], !(Ae.borders[J][1] > ot[0] + 3)); )
29978
+ De && fe.encodeCentroid(void 0, Ae, !1), xe++;
29979
29979
  if (Ae && xe < ue.length) {
29980
29980
  const Ve = xe;
29981
29981
  let Oe = 0;
29982
29982
  for (; !(Ae.borders[J][0] > ot[1] - 3) && (Oe++, ++xe !== ue.length); )
29983
- Ae = pe.featuresOnBorder[ue[xe]];
29984
- if (Ae = pe.featuresOnBorder[ue[Ve]], we.intersectsCount() > 1 || Ae.intersectsCount() > 1 || Oe !== 1) {
29985
- Oe !== 1 && (xe = Ve), f.encodeCentroid(void 0, we, !1), De && pe.encodeCentroid(void 0, Ae, !1);
29983
+ Ae = fe.featuresOnBorder[ue[xe]];
29984
+ if (Ae = fe.featuresOnBorder[ue[Ve]], we.intersectsCount() > 1 || Ae.intersectsCount() > 1 || Oe !== 1) {
29985
+ Oe !== 1 && (xe = Ve), f.encodeCentroid(void 0, we, !1), De && fe.encodeCentroid(void 0, Ae, !1);
29986
29986
  continue;
29987
29987
  }
29988
29988
  const tt = B[W](we, Ae), Ue = W % 2 ? s.EXTENT - 1 : 0;
29989
- U.x = Z(tt[0], Math.min(s.EXTENT - 1, tt[1]), Ue, W < 2, tt[2]), U.y = 0, f.encodeCentroid(U, we, !1), De && pe.encodeCentroid(U, Ae, !1);
29989
+ U.x = Z(tt[0], Math.min(s.EXTENT - 1, tt[1]), Ue, W < 2, tt[2]), U.y = 0, f.encodeCentroid(U, we, !1), De && fe.encodeCentroid(U, Ae, !1);
29990
29990
  } else
29991
29991
  f.encodeCentroid(void 0, we, !1);
29992
29992
  }
29993
- f.borderDoneWithNeighborZ[W] = pe.canonical.z, f.needsCentroidUpdate = !0, De && (pe.borderDoneWithNeighborZ[J] = f.canonical.z, pe.needsCentroidUpdate = !0);
29993
+ f.borderDoneWithNeighborZ[W] = fe.canonical.z, f.needsCentroidUpdate = !0, De && (fe.borderDoneWithNeighborZ[J] = f.canonical.z, fe.needsCentroidUpdate = !0);
29994
29994
  } else {
29995
29995
  for (const ke of K)
29996
29996
  f.encodeCentroid(void 0, f.featuresOnBorder[ke], !1);
29997
29997
  if (De) {
29998
29998
  for (const ke of ue)
29999
- pe.encodeCentroid(void 0, pe.featuresOnBorder[ke], !1);
30000
- pe.borderDoneWithNeighborZ[J] = f.canonical.z, pe.needsCentroidUpdate = !0;
29999
+ fe.encodeCentroid(void 0, fe.featuresOnBorder[ke], !1);
30000
+ fe.borderDoneWithNeighborZ[J] = f.canonical.z, fe.needsCentroidUpdate = !0;
30001
30001
  }
30002
- f.borderDoneWithNeighborZ[W] = pe.canonical.z, f.needsCentroidUpdate = !0;
30002
+ f.borderDoneWithNeighborZ[W] = fe.canonical.z, f.needsCentroidUpdate = !0;
30003
30003
  }
30004
30004
  }
30005
30005
  (f.needsCentroidUpdate || !f.centroidVertexBuffer && f.centroidVertexArray.length !== 0) && f.uploadCentroid(h);
@@ -30018,7 +30018,7 @@ precision highp float;
30018
30018
  f.activeTexture.set(v.TEXTURE0), h.emptyTexture.bind(v.LINEAR, v.CLAMP_TO_EDGE), S ? L._makeGlobeTileDebugBuffers(h.context, g) : L._makeDebugTileBoundsBuffers(h.context, g.projection);
30019
30019
  const X = L._tileDebugBuffer || h.debugBuffer, Z = L._tileDebugIndexBuffer || h.debugIndexBuffer, W = L._tileDebugSegments || h.debugSegments;
30020
30020
  R.draw(f, v.LINE_STRIP, B, U, H, s.CullFaceMode.disabled, ua(A, s.Color.red), q, X, Z, W, null, null, null, [L._globeTileDebugBorderBuffer]);
30021
- const J = L.latestRawTileData, K = Math.floor((J && J.byteLength || 0) / 1024), ie = r.getTile(l).tileSize, pe = 512 / Math.min(ie, 512) * (l.overscaledZ / g.zoom) * 0.5;
30021
+ const J = L.latestRawTileData, K = Math.floor((J && J.byteLength || 0) / 1024), ie = r.getTile(l).tileSize, fe = 512 / Math.min(ie, 512) * (l.overscaledZ / g.zoom) * 0.5;
30022
30022
  let ue = l.canonical.toString();
30023
30023
  l.overscaledZ !== l.canonical.z && (ue += ` => ${l.overscaledZ}`), ue += ` ${K}kb`, function(we, ot) {
30024
30024
  we.initDebugOverlayCanvas();
@@ -30026,7 +30026,7 @@ precision highp float;
30026
30026
  Oe.clearRect(0, 0, Ae.width, Ae.height), Oe.shadowColor = "white", Oe.shadowBlur = 2, Oe.lineWidth = 1.5, Oe.strokeStyle = "white", Oe.textBaseline = "top", Oe.font = "bold 36px Open Sans, sans-serif", Oe.fillText(ot, 5, 5), Oe.strokeText(ot, 5, 5), we.debugOverlayTexture.update(Ae), we.debugOverlayTexture.bind(Ve.LINEAR, Ve.CLAMP_TO_EDGE);
30027
30027
  }(h, ue);
30028
30028
  const xe = L._tileDebugTextBuffer || h.debugBuffer, De = L._tileDebugTextIndexBuffer || h.quadTriangleIndexBuffer, ke = L._tileDebugTextSegments || h.debugSegments;
30029
- R.draw(f, v.TRIANGLES, B, U, s.ColorMode.alphaBlended, s.CullFaceMode.disabled, ua(A, s.Color.transparent, pe), q, xe, De, ke, null, null, null, [L._globeTileDebugTextBuffer]);
30029
+ R.draw(f, v.TRIANGLES, B, U, s.ColorMode.alphaBlended, s.CullFaceMode.disabled, ua(A, s.Color.transparent, fe), q, xe, De, ke, null, null, null, [L._globeTileDebugTextBuffer]);
30030
30030
  }
30031
30031
  function Ch(h, r, l, f) {
30032
30032
  mo(h, 0, r + l / 2, h.transform.width, l, f);
@@ -30073,7 +30073,7 @@ precision highp float;
30073
30073
  const J = L.getTile(W), K = J.getBucket(R);
30074
30074
  if (!K || !K.text || !K.text.segments.get().length)
30075
30075
  continue;
30076
- const ie = s.evaluateSizeForZoom(K.textSizeData, q.zoom), pe = sl(W, K.getProjection(), q), ue = q.calculatePixelsToTileUnitsMatrix(J), xe = Cr(pe, J.tileID.canonical, Z, X, q, K.getProjection(), ue), De = R.layout.get("icon-text-fit") !== "none" && K.hasIconData();
30076
+ const ie = s.evaluateSizeForZoom(K.textSizeData, q.zoom), fe = sl(W, K.getProjection(), q), ue = q.calculatePixelsToTileUnitsMatrix(J), xe = Cr(fe, J.tileID.canonical, Z, X, q, K.getProjection(), ue), De = R.layout.get("icon-text-fit") !== "none" && K.hasIconData();
30077
30077
  if (ie) {
30078
30078
  const ke = Math.pow(2, q.zoom - J.tileID.overscaledZ);
30079
30079
  rf(K, X, Z, H, s.symbolSize, q, xe, W, ke, ie, De);
@@ -30088,24 +30088,24 @@ precision highp float;
30088
30088
  return;
30089
30089
  const A = h.context, R = A.gl, L = h.transform, B = h.depthModeForSublayer(0, s.DepthMode.ReadOnly), U = s.StencilMode.disabled, H = h.colorModeForRenderPass(), q = L.projection.name === "globe", X = [s.mercatorXfromLng(L.center.lng), s.mercatorYfromLat(L.center.lat)], Z = [];
30090
30090
  for (let J = 0; J < f.length; J++) {
30091
- const K = f[J], ie = r.getTile(K), pe = ie.getBucket(l);
30092
- if (!pe || pe.projection.name !== L.projection.name)
30091
+ const K = f[J], ie = r.getTile(K), fe = ie.getBucket(l);
30092
+ if (!fe || fe.projection.name !== L.projection.name)
30093
30093
  continue;
30094
- const ue = pe.programConfigurations.get(l.id), xe = Ag(l);
30094
+ const ue = fe.programConfigurations.get(l.id), xe = Ag(l);
30095
30095
  q && xe.push("PROJECTION_GLOBE_VIEW");
30096
- const De = h.useProgram("circle", ue, xe), ke = pe.layoutVertexBuffer, we = pe.globeExtVertexBuffer, ot = pe.indexBuffer, Ae = L.projection.createInversionMatrix(L, K.canonical), Ve = { programConfiguration: ue, program: De, layoutVertexBuffer: ke, globeExtVertexBuffer: we, indexBuffer: ot, uniformValues: Kp(h, K, ie, Ae, X, l), tile: ie };
30096
+ const De = h.useProgram("circle", ue, xe), ke = fe.layoutVertexBuffer, we = fe.globeExtVertexBuffer, ot = fe.indexBuffer, Ae = L.projection.createInversionMatrix(L, K.canonical), Ve = { programConfiguration: ue, program: De, layoutVertexBuffer: ke, globeExtVertexBuffer: we, indexBuffer: ot, uniformValues: Kp(h, K, ie, Ae, X, l), tile: ie };
30097
30097
  if (T) {
30098
- const Oe = pe.segments.get();
30098
+ const Oe = fe.segments.get();
30099
30099
  for (const tt of Oe)
30100
30100
  Z.push({ segments: new s.SegmentVector([tt]), sortKey: tt.sortKey, state: Ve });
30101
30101
  } else
30102
- Z.push({ segments: pe.segments, sortKey: 0, state: Ve });
30102
+ Z.push({ segments: fe.segments, sortKey: 0, state: Ve });
30103
30103
  }
30104
30104
  T && Z.sort((J, K) => J.sortKey - K.sortKey);
30105
30105
  const W = { useDepthForOcclusion: !q };
30106
30106
  for (const J of Z) {
30107
- const { programConfiguration: K, program: ie, layoutVertexBuffer: pe, globeExtVertexBuffer: ue, indexBuffer: xe, uniformValues: De, tile: ke } = J.state, we = J.segments;
30108
- h.terrain && h.terrain.setupElevationDraw(ke, ie, W), h.prepareDrawProgram(A, ie, ke.tileID.toUnwrapped()), ie.draw(A, R.TRIANGLES, B, U, H, s.CullFaceMode.disabled, De, l.id, pe, xe, we, l.paint, L.zoom, K, [ue]);
30107
+ const { programConfiguration: K, program: ie, layoutVertexBuffer: fe, globeExtVertexBuffer: ue, indexBuffer: xe, uniformValues: De, tile: ke } = J.state, we = J.segments;
30108
+ h.terrain && h.terrain.setupElevationDraw(ke, ie, W), h.prepareDrawProgram(A, ie, ke.tileID.toUnwrapped()), ie.draw(A, R.TRIANGLES, B, U, H, s.CullFaceMode.disabled, De, l.id, fe, xe, we, l.paint, L.zoom, K, [ue]);
30109
30109
  }
30110
30110
  }, heatmap: function(h, r, l, f) {
30111
30111
  if (l.paint.get("heatmap-opacity") !== 0)
@@ -30117,11 +30117,11 @@ precision highp float;
30117
30117
  let ie = X.heatmapFbo;
30118
30118
  if (!ie || ie && (ie.width !== J || ie.height !== K)) {
30119
30119
  ie && ie.destroy();
30120
- const pe = W.createTexture();
30121
- W.bindTexture(W.TEXTURE_2D, pe), W.texParameteri(W.TEXTURE_2D, W.TEXTURE_WRAP_S, W.CLAMP_TO_EDGE), W.texParameteri(W.TEXTURE_2D, W.TEXTURE_WRAP_T, W.CLAMP_TO_EDGE), W.texParameteri(W.TEXTURE_2D, W.TEXTURE_MIN_FILTER, W.LINEAR), W.texParameteri(W.TEXTURE_2D, W.TEXTURE_MAG_FILTER, W.LINEAR), ie = X.heatmapFbo = H.createFramebuffer(J, K, !1), function(ue, xe, De, ke, we, ot) {
30120
+ const fe = W.createTexture();
30121
+ W.bindTexture(W.TEXTURE_2D, fe), W.texParameteri(W.TEXTURE_2D, W.TEXTURE_WRAP_S, W.CLAMP_TO_EDGE), W.texParameteri(W.TEXTURE_2D, W.TEXTURE_WRAP_T, W.CLAMP_TO_EDGE), W.texParameteri(W.TEXTURE_2D, W.TEXTURE_MIN_FILTER, W.LINEAR), W.texParameteri(W.TEXTURE_2D, W.TEXTURE_MAG_FILTER, W.LINEAR), ie = X.heatmapFbo = H.createFramebuffer(J, K, !1), function(ue, xe, De, ke, we, ot) {
30122
30122
  const Ae = ue.gl;
30123
30123
  Ae.texImage2D(Ae.TEXTURE_2D, 0, Ae.RGBA, we, ot, 0, Ae.RGBA, ue.extRenderToTextureHalfFloat ? ue.extTextureHalfFloat.HALF_FLOAT_OES : Ae.UNSIGNED_BYTE, null), ke.colorAttachment.set(De);
30124
- }(H, 0, pe, ie, J, K);
30124
+ }(H, 0, fe, ie, J, K);
30125
30125
  } else
30126
30126
  W.bindTexture(W.TEXTURE_2D, ie.colorAttachment.get()), H.bindFramebuffer.set(ie.framebuffer);
30127
30127
  })(g, h, l, h.transform.projection.name === "globe" ? 0.5 : 0.25), g.clear({ color: s.Color.transparent });
@@ -30155,36 +30155,36 @@ precision highp float;
30155
30155
  if (g.constantOr(1) === 0 || v.constantOr(1) === 0)
30156
30156
  return;
30157
30157
  const S = h.depthModeForSublayer(0, s.DepthMode.ReadOnly), T = h.colorModeForRenderPass(), A = h.terrain && h.terrain.renderingToTexture ? 1 : s.exported.devicePixelRatio, R = l.paint.get("line-dasharray"), L = R.constantOr(1), B = l.layout.get("line-cap"), U = l.paint.get("line-pattern"), H = U.constantOr(1), q = l.paint.get("line-gradient"), X = H ? "linePattern" : "line", Z = h.context, W = Z.gl, J = ((ie) => {
30158
- const pe = [];
30159
- Pc(ie) && pe.push("RENDER_LINE_DASH"), ie.paint.get("line-gradient") && pe.push("RENDER_LINE_GRADIENT");
30158
+ const fe = [];
30159
+ Pc(ie) && fe.push("RENDER_LINE_DASH"), ie.paint.get("line-gradient") && fe.push("RENDER_LINE_GRADIENT");
30160
30160
  const ue = ie.paint.get("line-trim-offset");
30161
- ue[0] === 0 && ue[1] === 0 || pe.push("RENDER_LINE_TRIM_OFFSET");
30161
+ ue[0] === 0 && ue[1] === 0 || fe.push("RENDER_LINE_TRIM_OFFSET");
30162
30162
  const xe = ie.paint.get("line-pattern").constantOr(1), De = ie.paint.get("line-opacity").constantOr(1) !== 1;
30163
- return !xe && De && pe.push("RENDER_LINE_ALPHA_DISCARD"), pe;
30163
+ return !xe && De && fe.push("RENDER_LINE_ALPHA_DISCARD"), fe;
30164
30164
  })(l);
30165
30165
  let K = J.includes("RENDER_LINE_ALPHA_DISCARD");
30166
30166
  h.terrain && h.terrain.clipOrMaskOverlapStencilType() && (K = !1);
30167
30167
  for (const ie of f) {
30168
- const pe = r.getTile(ie);
30169
- if (H && !pe.patternsLoaded())
30168
+ const fe = r.getTile(ie);
30169
+ if (H && !fe.patternsLoaded())
30170
30170
  continue;
30171
- const ue = pe.getBucket(l);
30171
+ const ue = fe.getBucket(l);
30172
30172
  if (!ue)
30173
30173
  continue;
30174
30174
  h.prepareDrawTile();
30175
30175
  const xe = ue.programConfigurations.get(l.id), De = h.useProgram(X, xe, J), ke = U.constantOr(null);
30176
- if (ke && pe.imageAtlas) {
30177
- const Xe = pe.imageAtlas.patternPositions[ke.toString()];
30176
+ if (ke && fe.imageAtlas) {
30177
+ const Xe = fe.imageAtlas.patternPositions[ke.toString()];
30178
30178
  Xe && xe.setConstantPatternPositions(Xe);
30179
30179
  }
30180
30180
  const we = R.constantOr(null), ot = B.constantOr(null);
30181
- if (!H && we && ot && pe.lineAtlas) {
30182
- const Xe = pe.lineAtlas.getDash(we, ot);
30181
+ if (!H && we && ot && fe.lineAtlas) {
30182
+ const Xe = fe.lineAtlas.getDash(we, ot);
30183
30183
  Xe && xe.setConstantPatternPositions(Xe);
30184
30184
  }
30185
30185
  let [Ae, Ve] = l.paint.get("line-trim-offset");
30186
30186
  (ot === "round" || ot === "square") && Ae !== Ve && (Ae === 0 && (Ae -= 1), Ve === 1 && (Ve += 1));
30187
- const Oe = h.terrain ? ie.projMatrix : null, tt = H ? fo(h, pe, l, Oe, A) : vh(h, pe, l, Oe, ue.lineClipsArray.length, A, [Ae, Ve]);
30187
+ const Oe = h.terrain ? ie.projMatrix : null, tt = H ? fo(h, fe, l, Oe, A) : vh(h, fe, l, Oe, ue.lineClipsArray.length, A, [Ae, Ve]);
30188
30188
  if (q) {
30189
30189
  const Xe = ue.gradients[l.id];
30190
30190
  let st = Xe.texture;
@@ -30198,7 +30198,7 @@ precision highp float;
30198
30198
  }
30199
30199
  Z.activeTexture.set(W.TEXTURE1), st.bind(l.stepInterpolant ? W.NEAREST : W.LINEAR, W.CLAMP_TO_EDGE);
30200
30200
  }
30201
- L && (Z.activeTexture.set(W.TEXTURE0), pe.lineAtlasTexture.bind(W.LINEAR, W.REPEAT), xe.updatePaintBuffers()), H && (Z.activeTexture.set(W.TEXTURE0), pe.imageAtlasTexture.bind(W.LINEAR, W.CLAMP_TO_EDGE), xe.updatePaintBuffers()), h.prepareDrawProgram(Z, De, ie.toUnwrapped());
30201
+ L && (Z.activeTexture.set(W.TEXTURE0), fe.lineAtlasTexture.bind(W.LINEAR, W.REPEAT), xe.updatePaintBuffers()), H && (Z.activeTexture.set(W.TEXTURE0), fe.imageAtlasTexture.bind(W.LINEAR, W.CLAMP_TO_EDGE), xe.updatePaintBuffers()), h.prepareDrawProgram(Z, De, ie.toUnwrapped());
30202
30202
  const Ue = (Xe) => {
30203
30203
  De.draw(Z, W.TRIANGLES, S, Xe, T, s.CullFaceMode.disabled, tt, l.id, ue.layoutVertexBuffer, ue.indexBuffer, ue.segments, l.paint, h.transform.zoom, xe, [ue.layoutVertexBuffer2]);
30204
30204
  };
@@ -30257,7 +30257,7 @@ precision highp float;
30257
30257
  const W = B ? s.DepthMode.disabled : h.depthModeForSublayer(Z.overscaledZ - q, l.paint.get("raster-opacity") === 1 ? s.DepthMode.ReadWrite : s.DepthMode.ReadOnly, T.LESS), J = Z.toUnwrapped(), K = r.getTile(Z);
30258
30258
  if (B && (!K || !K.hasData()))
30259
30259
  continue;
30260
- const ie = B ? Z.projMatrix : h.transform.calculateProjMatrix(J, X), pe = h.terrain && B ? h.terrain.stencilModeForRTTOverlap(Z) : U[Z.overscaledZ], ue = v ? 0 : l.paint.get("raster-fade-duration");
30260
+ const ie = B ? Z.projMatrix : h.transform.calculateProjMatrix(J, X), fe = h.terrain && B ? h.terrain.stencilModeForRTTOverlap(Z) : U[Z.overscaledZ], ue = v ? 0 : l.paint.get("raster-fade-duration");
30261
30261
  K.registerFadeDuration(ue);
30262
30262
  const xe = r.findLoadedParent(Z, 0), De = Mc(K, xe, r, h.transform, ue);
30263
30263
  let ke, we;
@@ -30269,7 +30269,7 @@ precision highp float;
30269
30269
  A.boundsBuffer && A.boundsSegments && R.draw(S, T.TRIANGLES, W, s.StencilMode.disabled, L, s.CullFaceMode.disabled, Ae, l.id, A.boundsBuffer, h.quadTriangleIndexBuffer, A.boundsSegments);
30270
30270
  else {
30271
30271
  const { tileBoundsBuffer: Ve, tileBoundsIndexBuffer: Oe, tileBoundsSegments: tt } = h.getTileBoundsBuffers(K);
30272
- R.draw(S, T.TRIANGLES, W, pe, L, s.CullFaceMode.disabled, Ae, l.id, Ve, Oe, tt);
30272
+ R.draw(S, T.TRIANGLES, W, fe, L, s.CullFaceMode.disabled, Ae, l.id, Ve, Oe, tt);
30273
30273
  }
30274
30274
  }
30275
30275
  h.resetStencilClippingMasks();
@@ -30289,9 +30289,9 @@ precision highp float;
30289
30289
  for (const J of W) {
30290
30290
  const K = J.toUnwrapped(), ie = f ? J.projMatrix : h.transform.calculateProjMatrix(K);
30291
30291
  h.prepareDrawTile();
30292
- const pe = r ? r.getTile(J) : Z ? Z[J.key] : new s.Tile(J, R, A.zoom, h), ue = L ? bh(ie, v, h, L, { tileID: J, tileSize: R }) : Mg(ie, v, g);
30292
+ const fe = r ? r.getTile(J) : Z ? Z[J.key] : new s.Tile(J, R, A.zoom, h), ue = L ? bh(ie, v, h, L, { tileID: J, tileSize: R }) : Mg(ie, v, g);
30293
30293
  h.prepareDrawProgram(S, X, K);
30294
- const { tileBoundsBuffer: xe, tileBoundsIndexBuffer: De, tileBoundsSegments: ke } = h.getTileBoundsBuffers(pe);
30294
+ const { tileBoundsBuffer: xe, tileBoundsIndexBuffer: De, tileBoundsSegments: ke } = h.getTileBoundsBuffers(fe);
30295
30295
  X.draw(S, T.TRIANGLES, H, U, q, s.CullFaceMode.disabled, ue, l.id, xe, De, ke);
30296
30296
  }
30297
30297
  }, sky: function(h, r, l) {
@@ -30313,14 +30313,14 @@ precision highp float;
30313
30313
  }(h, l), l.markSkyboxValid(h)) : h.renderPass === "sky" && function(L, B, U, H, q) {
30314
30314
  const X = L.context, Z = X.gl, W = L.transform, J = L.useProgram("skybox");
30315
30315
  X.activeTexture.set(Z.TEXTURE0), Z.bindTexture(Z.TEXTURE_CUBE_MAP, B.skyboxTexture);
30316
- const K = ((ie, pe, ue, xe, De) => ({ u_matrix: ie, u_sun_direction: pe, u_cubemap: 0, u_opacity: xe, u_temporal_offset: De }))(W.skyboxMatrix, B.getCenter(L, !1), 0, H, q);
30316
+ const K = ((ie, fe, ue, xe, De) => ({ u_matrix: ie, u_sun_direction: fe, u_cubemap: 0, u_opacity: xe, u_temporal_offset: De }))(W.skyboxMatrix, B.getCenter(L, !1), 0, H, q);
30317
30317
  L.prepareDrawProgram(X, J), J.draw(X, Z.TRIANGLES, U, s.StencilMode.disabled, L.colorModeForRenderPass(), s.CullFaceMode.backCW, K, "skybox", B.skyboxGeometry.vertexBuffer, B.skyboxGeometry.indexBuffer, B.skyboxGeometry.segment);
30318
30318
  }(h, l, A, v, R) : T === "gradient" && h.renderPass === "sky" && function(L, B, U, H, q) {
30319
30319
  const X = L.context, Z = X.gl, W = L.transform, J = L.useProgram("skyboxGradient");
30320
30320
  B.skyboxGeometry || (B.skyboxGeometry = new Ds(X)), X.activeTexture.set(Z.TEXTURE0);
30321
30321
  let K = B.colorRampTexture;
30322
30322
  K || (K = B.colorRampTexture = new s.Texture(X, B.colorRamp, Z.RGBA)), K.bind(Z.LINEAR, Z.CLAMP_TO_EDGE);
30323
- const ie = ((pe, ue, xe, De, ke) => ({ u_matrix: pe, u_color_ramp: 0, u_center_direction: ue, u_radius: s.degToRad(xe), u_opacity: De, u_temporal_offset: ke }))(W.skyboxMatrix, B.getCenter(L, !1), B.paint.get("sky-gradient-radius"), H, q);
30323
+ const ie = ((fe, ue, xe, De, ke) => ({ u_matrix: fe, u_color_ramp: 0, u_center_direction: ue, u_radius: s.degToRad(xe), u_opacity: De, u_temporal_offset: ke }))(W.skyboxMatrix, B.getCenter(L, !1), B.paint.get("sky-gradient-radius"), H, q);
30324
30324
  L.prepareDrawProgram(X, J), J.draw(X, Z.TRIANGLES, U, s.StencilMode.disabled, L.colorModeForRenderPass(), s.CullFaceMode.backCW, ie, "skyboxGradient", B.skyboxGeometry.vertexBuffer, B.skyboxGeometry.indexBuffer, B.skyboxGeometry.segment);
30325
30325
  }(h, l, A, v, R);
30326
30326
  }, debug: function(h, r, l) {
@@ -30496,7 +30496,7 @@ precision highp float;
30496
30496
  if (this.style.fog && this.transform.projection.supportsFog && function(A, R) {
30497
30497
  const L = A.context, B = L.gl, U = A.transform, H = new s.DepthMode(B.LEQUAL, s.DepthMode.ReadOnly, [0, 1]), q = A.useProgram("globeAtmosphere", null, U.projection.name === "globe" ? ["PROJECTION_GLOBE_VIEW", "FOG"] : ["FOG"]), X = s.globeToMercatorTransition(U.zoom), Z = R.properties.get("color").toArray01(), W = R.properties.get("high-color").toArray01(), J = R.properties.get("space-color").toArray01PremultipliedAlpha(), K = s.identity$1([]);
30498
30498
  s.rotateY$1(K, K, -s.degToRad(U._center.lng)), s.rotateX$1(K, K, s.degToRad(U._center.lat)), s.rotateZ$1(K, K, U.angle), s.rotateX$1(K, K, -U._pitch);
30499
- const ie = s.fromQuat(new Float32Array(16), K), pe = s.mapValue(R.properties.get("star-intensity"), 0, 1, 0, 0.25), ue = 5e-4, xe = s.mapValue(R.properties.get("horizon-blend"), 0, 1, ue, 0.25), De = s.globeUseCustomAntiAliasing(A, L, U) && xe === ue ? U.worldSize / (2 * Math.PI * 1.025) - 1 : U.globeRadius, ke = A.frameCounter / 1e3 % 1, we = s.length(U.globeCenterInViewSpace), ot = Math.sqrt(Math.pow(we, 2) - Math.pow(De, 2)), Ae = Math.acos(ot / we), Ve = ((tt, Ue, Xe, st, be, ze, Et, Pt, Ct, Xt, an, Ot, wt, Rn) => ({ u_frustum_tl: tt, u_frustum_tr: Ue, u_frustum_br: Xe, u_frustum_bl: st, u_horizon: be, u_transition: ze, u_fadeout_range: Et, u_color: Pt, u_high_color: Ct, u_space_color: Xt, u_star_intensity: an, u_star_size: 5 * s.exported.devicePixelRatio, u_star_density: 0, u_temporal_offset: Ot, u_horizon_angle: wt, u_rotation_matrix: Rn }))(U.frustumCorners.TL, U.frustumCorners.TR, U.frustumCorners.BR, U.frustumCorners.BL, U.frustumCorners.horizon, X, xe, Z, W, J, pe, ke, Ae, ie);
30499
+ const ie = s.fromQuat(new Float32Array(16), K), fe = s.mapValue(R.properties.get("star-intensity"), 0, 1, 0, 0.25), ue = 5e-4, xe = s.mapValue(R.properties.get("horizon-blend"), 0, 1, ue, 0.25), De = s.globeUseCustomAntiAliasing(A, L, U) && xe === ue ? U.worldSize / (2 * Math.PI * 1.025) - 1 : U.globeRadius, ke = A.frameCounter / 1e3 % 1, we = s.length(U.globeCenterInViewSpace), ot = Math.sqrt(Math.pow(we, 2) - Math.pow(De, 2)), Ae = Math.acos(ot / we), Ve = ((tt, Ue, Xe, st, be, ze, Et, Ot, Ct, Xt, an, Bt, wt, Rn) => ({ u_frustum_tl: tt, u_frustum_tr: Ue, u_frustum_br: Xe, u_frustum_bl: st, u_horizon: be, u_transition: ze, u_fadeout_range: Et, u_color: Ot, u_high_color: Ct, u_space_color: Xt, u_star_intensity: an, u_star_size: 5 * s.exported.devicePixelRatio, u_star_density: 0, u_temporal_offset: Bt, u_horizon_angle: wt, u_rotation_matrix: Rn }))(U.frustumCorners.TL, U.frustumCorners.TR, U.frustumCorners.BR, U.frustumCorners.BL, U.frustumCorners.horizon, X, xe, Z, W, J, fe, ke, Ae, ie);
30500
30500
  A.prepareDrawProgram(L, q);
30501
30501
  const Oe = A.atmosphereBuffer;
30502
30502
  Oe && q.draw(L, B.TRIANGLES, H, s.StencilMode.disabled, s.ColorMode.alphaBlended, s.CullFaceMode.backCW, Ve, "skybox", Oe.vertexBuffer, Oe.indexBuffer, Oe.segments);
@@ -30825,9 +30825,9 @@ precision highp float;
30825
30825
  X.y = s.clamp(X.y, -0.999975, 0.999975);
30826
30826
  const Z = X.toLngLat(), W = v.project(Z.lng, Z.lat), J = s.MercatorCoordinate.fromLngLat(Z);
30827
30827
  J.x += ss;
30828
- const K = J.toLngLat(), ie = v.project(K.lng, K.lat), pe = Lh(ie.x - W.x, ie.y - W.y, q), ue = s.MercatorCoordinate.fromLngLat(Z);
30828
+ const K = J.toLngLat(), ie = v.project(K.lng, K.lat), fe = Lh(ie.x - W.x, ie.y - W.y, q), ue = s.MercatorCoordinate.fromLngLat(Z);
30829
30829
  ue.y += ss;
30830
- const xe = ue.toLngLat(), De = v.project(xe.lng, xe.lat), ke = Lh(De.x - W.x, De.y - W.y, q), we = Math.abs(pe.x) / Math.abs(ke.y), ot = s.identity([]);
30830
+ const xe = ue.toLngLat(), De = v.project(xe.lng, xe.lat), ke = Lh(De.x - W.x, De.y - W.y, q), we = Math.abs(fe.x) / Math.abs(ke.y), ot = s.identity([]);
30831
30831
  s.rotateZ(ot, ot, -q * (1 - (R ? 0 : A)));
30832
30832
  const Ae = s.identity([]);
30833
30833
  return s.scale(Ae, Ae, [1, 1 - (1 - we) * A, 1]), Ae[4] = -ke.x / ke.y * A, s.rotateZ(Ae, Ae, q), s.multiply(Ae, ot, Ae), Ae;
@@ -31103,9 +31103,9 @@ precision highp float;
31103
31103
  if (r.minzoom !== void 0 && l < r.minzoom)
31104
31104
  return [];
31105
31105
  r.maxzoom !== void 0 && l > r.maxzoom && (l = r.maxzoom);
31106
- const S = this.locationCoordinate(this.center), T = this.center.lat, A = 1 << l, R = [A * S.x, A * S.y, 0], L = this.projection.name === "globe", B = !L, U = s.Frustum.fromInvProjectionMatrix(this.invProjMatrix, this.worldSize, l, B), H = L ? this._camera.mercatorPosition : this.pointCoordinate(this.getCameraPoint()), q = A * s.mercatorZfromAltitude(1, this.center.lat), X = this._camera.position[2] / s.mercatorZfromAltitude(1, this.center.lat), Z = [A * H.x, A * H.y, X * (B ? 1 : q)], W = this.cameraToCenterDistance / r.tileSize * (r.roundZoom ? 1 : 0.502), J = this.pitch <= 60 && this._edgeInsets.top <= this._edgeInsets.bottom && !this._elevation && !this.projection.isReprojectedInTileSpace ? l : 0, K = r.isTerrainDEM && this._elevation ? 1e4 * this._elevation.exaggeration() : this._centerAltitude, ie = r.isTerrainDEM ? -K : this._elevation ? this._elevation.getMinElevationBelowMSL() : 0, pe = this.projection.isReprojectedInTileSpace ? bl(this) : 1, ue = (Ue) => {
31107
- const st = new s.MercatorCoordinate(Ue.x + 25e-6, Ue.y, Ue.z), be = new s.MercatorCoordinate(Ue.x, Ue.y + 25e-6, Ue.z), ze = Ue.toLngLat(), Et = st.toLngLat(), Pt = be.toLngLat(), Ct = this.locationCoordinate(ze), Xt = this.locationCoordinate(Et), an = this.locationCoordinate(Pt), Ot = Math.hypot(Xt.x - Ct.x, Xt.y - Ct.y), wt = Math.hypot(an.x - Ct.x, an.y - Ct.y);
31108
- return Math.sqrt(Ot * wt) * pe / 25e-6;
31106
+ const S = this.locationCoordinate(this.center), T = this.center.lat, A = 1 << l, R = [A * S.x, A * S.y, 0], L = this.projection.name === "globe", B = !L, U = s.Frustum.fromInvProjectionMatrix(this.invProjMatrix, this.worldSize, l, B), H = L ? this._camera.mercatorPosition : this.pointCoordinate(this.getCameraPoint()), q = A * s.mercatorZfromAltitude(1, this.center.lat), X = this._camera.position[2] / s.mercatorZfromAltitude(1, this.center.lat), Z = [A * H.x, A * H.y, X * (B ? 1 : q)], W = this.cameraToCenterDistance / r.tileSize * (r.roundZoom ? 1 : 0.502), J = this.pitch <= 60 && this._edgeInsets.top <= this._edgeInsets.bottom && !this._elevation && !this.projection.isReprojectedInTileSpace ? l : 0, K = r.isTerrainDEM && this._elevation ? 1e4 * this._elevation.exaggeration() : this._centerAltitude, ie = r.isTerrainDEM ? -K : this._elevation ? this._elevation.getMinElevationBelowMSL() : 0, fe = this.projection.isReprojectedInTileSpace ? bl(this) : 1, ue = (Ue) => {
31107
+ const st = new s.MercatorCoordinate(Ue.x + 25e-6, Ue.y, Ue.z), be = new s.MercatorCoordinate(Ue.x, Ue.y + 25e-6, Ue.z), ze = Ue.toLngLat(), Et = st.toLngLat(), Ot = be.toLngLat(), Ct = this.locationCoordinate(ze), Xt = this.locationCoordinate(Et), an = this.locationCoordinate(Ot), Bt = Math.hypot(Xt.x - Ct.x, Xt.y - Ct.y), wt = Math.hypot(an.x - Ct.x, an.y - Ct.y);
31108
+ return Math.sqrt(Bt * wt) * fe / 25e-6;
31109
31109
  }, xe = (Ue) => {
31110
31110
  const Xe = K, st = ie;
31111
31111
  return { aabb: s.tileAABB(this, A, 0, 0, 0, Ue, st, Xe, this.projection), zoom: 0, x: 0, y: 0, minZ: st, maxZ: Xe, wrap: Ue, fullyVisible: !1 };
@@ -31127,20 +31127,20 @@ precision highp float;
31127
31127
  let be = Ve, ze = 1;
31128
31128
  if (L) {
31129
31129
  be = Ae(Ue.aabb.distanceZ(Z));
31130
- const Ct = Math.pow(2, Ue.zoom), Xt = s.latFromMercatorY((Ue.y + 1) / Ct), an = s.latFromMercatorY(Ue.y / Ct), Ot = Math.min(Math.max(T, Xt), an), wt = s.circumferenceAtLatitude(Ot) / s.circumferenceAtLatitude(T);
31131
- if (ze = Ot === T ? 1 / Math.max(1, this._mercatorScaleRatio - 0.3) : Math.min(1, wt / this._mercatorScaleRatio), this.zoom <= s.GLOBE_ZOOM_THRESHOLD_MIN && Ue.zoom === we - 1 && wt >= 0.9)
31130
+ const Ct = Math.pow(2, Ue.zoom), Xt = s.latFromMercatorY((Ue.y + 1) / Ct), an = s.latFromMercatorY(Ue.y / Ct), Bt = Math.min(Math.max(T, Xt), an), wt = s.circumferenceAtLatitude(Bt) / s.circumferenceAtLatitude(T);
31131
+ if (ze = Bt === T ? 1 / Math.max(1, this._mercatorScaleRatio - 0.3) : Math.min(1, wt / this._mercatorScaleRatio), this.zoom <= s.GLOBE_ZOOM_THRESHOLD_MIN && Ue.zoom === we - 1 && wt >= 0.9)
31132
31132
  return !0;
31133
31133
  } else if (g && (be = Ae(Ue.aabb.distanceZ(Z) * q)), this.projection.isReprojectedInTileSpace && f <= 5) {
31134
31134
  const Ct = Math.pow(2, Ue.zoom), Xt = ue(new s.MercatorCoordinate((Ue.x + 0.5) / Ct, (Ue.y + 0.5) / Ct));
31135
31135
  ze = Xt > 0.85 ? 1 : Xt;
31136
31136
  }
31137
- const Et = Xe * Xe + st * st + be, Pt = Ae((1 << we - Ue.zoom) * W * ze * ((Ct, Xt) => {
31137
+ const Et = Xe * Xe + st * st + be, Ot = Ae((1 << we - Ue.zoom) * W * ze * ((Ct, Xt) => {
31138
31138
  if (Xt * Ae(0.707) < Ct)
31139
31139
  return 1;
31140
31140
  const an = Math.sqrt(Xt / Ct);
31141
31141
  return an / (1.4144271570014144 + (Math.pow(1.1, an - 1.4144271570014144 + 1) - 1) / (1.1 - 1) - 1);
31142
31142
  })(Math.max(be, Ve), Et));
31143
- return Et < Pt;
31143
+ return Et < Ot;
31144
31144
  };
31145
31145
  if (this.renderWorldCopies)
31146
31146
  for (let Ue = 1; Ue <= 3; Ue++)
@@ -31156,15 +31156,15 @@ precision highp float;
31156
31156
  }
31157
31157
  if (Ue.zoom !== we && tt(Ue))
31158
31158
  for (let ze = 0; ze < 4; ze++) {
31159
- const Et = (Xe << 1) + ze % 2, Pt = (st << 1) + (ze >> 1), Ct = { aabb: v ? Ue.aabb.quadrant(ze) : s.tileAABB(this, A, Ue.zoom + 1, Et, Pt, Ue.wrap, Ue.minZ, Ue.maxZ, this.projection), zoom: Ue.zoom + 1, x: Et, y: Pt, wrap: Ue.wrap, fullyVisible: be, tileID: void 0, shouldSplit: void 0, minZ: Ue.minZ, maxZ: Ue.maxZ };
31160
- g && !L && (Ct.tileID = new s.OverscaledTileID(Ue.zoom + 1 === we ? ot : Ue.zoom + 1, Ue.wrap, Ue.zoom + 1, Et, Pt), Oe(Ct)), De.push(Ct);
31159
+ const Et = (Xe << 1) + ze % 2, Ot = (st << 1) + (ze >> 1), Ct = { aabb: v ? Ue.aabb.quadrant(ze) : s.tileAABB(this, A, Ue.zoom + 1, Et, Ot, Ue.wrap, Ue.minZ, Ue.maxZ, this.projection), zoom: Ue.zoom + 1, x: Et, y: Ot, wrap: Ue.wrap, fullyVisible: be, tileID: void 0, shouldSplit: void 0, minZ: Ue.minZ, maxZ: Ue.maxZ };
31160
+ g && !L && (Ct.tileID = new s.OverscaledTileID(Ue.zoom + 1 === we ? ot : Ue.zoom + 1, Ue.wrap, Ue.zoom + 1, Et, Ot), Oe(Ct)), De.push(Ct);
31161
31161
  }
31162
31162
  else {
31163
31163
  const ze = Ue.zoom === we ? ot : Ue.zoom;
31164
31164
  if (r.minzoom && r.minzoom > ze)
31165
31165
  continue;
31166
- const Et = R[0] - (0.5 + Xe + (Ue.wrap << Ue.zoom)) * (1 << l - Ue.zoom), Pt = R[1] - 0.5 - st, Ct = Ue.tileID ? Ue.tileID : new s.OverscaledTileID(ze, Ue.wrap, Ue.zoom, Xe, st);
31167
- ke.push({ tileID: Ct, distanceSq: Et * Et + Pt * Pt });
31166
+ const Et = R[0] - (0.5 + Xe + (Ue.wrap << Ue.zoom)) * (1 << l - Ue.zoom), Ot = R[1] - 0.5 - st, Ct = Ue.tileID ? Ue.tileID : new s.OverscaledTileID(ze, Ue.wrap, Ue.zoom, Xe, st);
31167
+ ke.push({ tileID: Ct, distanceSq: Et * Et + Ot * Ot });
31168
31168
  }
31169
31169
  }
31170
31170
  if (this.fogCullDistSq) {
@@ -31172,19 +31172,19 @@ precision highp float;
31172
31172
  ke = ke.filter((st) => {
31173
31173
  const be = [0, 0, 0, 1], ze = [s.EXTENT, s.EXTENT, 0, 1], Et = this.calculateFogTileMatrix(st.tileID.toUnwrapped());
31174
31174
  s.transformMat4$1(be, be, Et), s.transformMat4$1(ze, ze, Et);
31175
- const Pt = s.getAABBPointSquareDist(be, ze);
31176
- if (Pt === 0)
31175
+ const Ot = s.getAABBPointSquareDist(be, ze);
31176
+ if (Ot === 0)
31177
31177
  return !0;
31178
31178
  let Ct = !1;
31179
31179
  const Xt = this._elevation;
31180
- if (Xt && Pt > Ue && Xe !== 0) {
31180
+ if (Xt && Ot > Ue && Xe !== 0) {
31181
31181
  const an = this.calculateProjMatrix(st.tileID.toUnwrapped());
31182
- let Ot;
31183
- r.isTerrainDEM || (Ot = Xt.getMinMaxForTile(st.tileID)), Ot || (Ot = { min: ie, max: K });
31184
- const wt = s.furthestTileCorner(this.rotation), Rn = [wt[0] * s.EXTENT, wt[1] * s.EXTENT, Ot.max];
31182
+ let Bt;
31183
+ r.isTerrainDEM || (Bt = Xt.getMinMaxForTile(st.tileID)), Bt || (Bt = { min: ie, max: K });
31184
+ const wt = s.furthestTileCorner(this.rotation), Rn = [wt[0] * s.EXTENT, wt[1] * s.EXTENT, Bt.max];
31185
31185
  s.transformMat4(Rn, Rn, an), Ct = (1 - Rn[1]) * this.height * 0.5 < Xe;
31186
31186
  }
31187
- return Pt < Ue || Ct;
31187
+ return Ot < Ue || Ct;
31188
31188
  });
31189
31189
  }
31190
31190
  return ke.sort((Ue, Xe) => Ue.distanceSq - Xe.distanceSq).map((Ue) => Ue.tileID);
@@ -31297,8 +31297,8 @@ precision highp float;
31297
31297
  R = Math.min(R, Ve.x), L = Math.max(L, Ve.x), B = Math.min(B, Ve.y), U = Math.max(U, Ve.y), Oe > H && (q(ue, xe, we, ot), q(we, ot, De, ke));
31298
31298
  };
31299
31299
  q(l, r, g, r), q(g, r, g, f), q(g, f, l, f), q(l, f, l, r);
31300
- const [X, Z] = s.polesInViewport(this), W = X || Z, J = X ? 90 : s.latFromMercatorY(B), K = W ? 180 : s.lngFromMercatorX(L), ie = Z ? -90 : s.latFromMercatorY(U), pe = W ? -180 : s.lngFromMercatorX(R);
31301
- return new s.LngLatBounds(new s.LngLat(pe, ie), new s.LngLat(K, J));
31300
+ const [X, Z] = s.polesInViewport(this), W = X || Z, J = X ? 90 : s.latFromMercatorY(B), K = W ? 180 : s.lngFromMercatorX(L), ie = Z ? -90 : s.latFromMercatorY(U), fe = W ? -180 : s.lngFromMercatorX(R);
31301
+ return new s.LngLatBounds(new s.LngLat(fe, ie), new s.LngLat(K, J));
31302
31302
  }
31303
31303
  _getBounds(r, l) {
31304
31304
  if (this.projection.name === "globe")
@@ -31438,8 +31438,8 @@ precision highp float;
31438
31438
  v[8] = 2 * -r.x / this.width, v[9] = 2 * r.y / this.height;
31439
31439
  let S = s.mul([], v, g);
31440
31440
  if (this.projection.isReprojectedInTileSpace) {
31441
- const pe = this.locationCoordinate(this.center), ue = s.identity([]);
31442
- s.translate(ue, ue, [pe.x * this.worldSize, pe.y * this.worldSize, 0]), s.multiply(ue, ue, Uc(this)), s.translate(ue, ue, [-pe.x * this.worldSize, -pe.y * this.worldSize, 0]), s.multiply(S, S, ue), this.inverseAdjustmentMatrix = function(xe) {
31441
+ const fe = this.locationCoordinate(this.center), ue = s.identity([]);
31442
+ s.translate(ue, ue, [fe.x * this.worldSize, fe.y * this.worldSize, 0]), s.multiply(ue, ue, Uc(this)), s.translate(ue, ue, [-fe.x * this.worldSize, -fe.y * this.worldSize, 0]), s.multiply(S, S, ue), this.inverseAdjustmentMatrix = function(xe) {
31443
31443
  const De = Uc(xe, !0);
31444
31444
  return je([], [De[0], De[1], De[4], De[5]]);
31445
31445
  }(this);
@@ -31457,8 +31457,8 @@ precision highp float;
31457
31457
  throw new Error("failed to invert matrix");
31458
31458
  if (this.pixelMatrixInverse = S, this.projection.name === "globe" || this.mercatorFromTransition) {
31459
31459
  this.globeMatrix = s.calculateGlobeMatrix(this);
31460
- const pe = [this.globeMatrix[12], this.globeMatrix[13], this.globeMatrix[14]];
31461
- this.globeCenterInViewSpace = s.transformMat4(pe, pe, g), this.globeRadius = this.worldSize / 2 / Math.PI - 1;
31460
+ const fe = [this.globeMatrix[12], this.globeMatrix[13], this.globeMatrix[14]];
31461
+ this.globeCenterInViewSpace = s.transformMat4(fe, fe, g), this.globeRadius = this.worldSize / 2 / Math.PI - 1;
31462
31462
  } else
31463
31463
  this.globeMatrix = S;
31464
31464
  this._projMatrixCache = {}, this._alignedProjMatrixCache = {}, this._pixelsToTileUnitsCache = {};
@@ -32827,8 +32827,8 @@ precision highp float;
32827
32827
  let K = s.Aabb.fromPoints(J.map((be) => [s.dot(X, be), s.dot(Z, be), s.dot(q, be)]));
32828
32828
  const ie = s.transformMat4([], K.center, W);
32829
32829
  s.squaredLength(ie) === 0 && s.set(ie, 0, 0, 1), s.normalize(ie, ie), s.scale$2(ie, ie, s.GLOBE_RADIUS), T.center = s.ecefToLatLng(ie);
32830
- const pe = T.getWorldToCameraMatrix(), ue = s.invert(new Float64Array(16), pe);
32831
- K = s.Aabb.applyTransform(K, s.multiply([], pe, W)), s.transformMat4(ie, ie, pe);
32830
+ const fe = T.getWorldToCameraMatrix(), ue = s.invert(new Float64Array(16), fe);
32831
+ K = s.Aabb.applyTransform(K, s.multiply([], fe, W)), s.transformMat4(ie, ie, fe);
32832
32832
  const xe = 0.5 * (K.max[2] - K.min[2]), De = this._minimumAABBFrustumDistance(T, K), ke = s.scale$2([], [0, 0, 1], xe), we = s.add(ke, ie, ke), ot = De + (T.pitch === 0 ? 0 : s.distance(ie, we)), Ae = T.globeCenterInViewSpace, Ve = s.sub([], ie, [Ae[0], Ae[1], Ae[2]]);
32833
32833
  s.normalize(Ve, Ve), s.scale$2(Ve, Ve, ot);
32834
32834
  const Oe = s.add([], ie, Ve);
@@ -32846,16 +32846,16 @@ precision highp float;
32846
32846
  const T = r.clone(), A = this._extendCameraOptions(S), R = T.padding;
32847
32847
  T.bearing = g, T.pitch = v;
32848
32848
  const L = s.LngLat.convert(l), B = s.LngLat.convert(f), U = new s.LngLat(L.lng, B.lat), H = new s.LngLat(B.lng, L.lat), q = T.project(L), X = T.project(B), Z = this.queryTerrainElevation(L), W = this.queryTerrainElevation(B), J = this.queryTerrainElevation(U), K = this.queryTerrainElevation(H), ie = [[q.x, q.y, Math.min(Z || 0, W || 0, J || 0, K || 0)], [X.x, X.y, Math.max(Z || 0, W || 0, J || 0, K || 0)]];
32849
- let pe = s.Aabb.fromPoints(ie);
32849
+ let fe = s.Aabb.fromPoints(ie);
32850
32850
  const ue = T.getWorldToCameraMatrix(), xe = s.invert(new Float64Array(16), ue);
32851
- pe = s.Aabb.applyTransform(pe, ue);
32852
- const De = s.sub([], pe.max, pe.min), ke = R.left || 0, we = R.right || 0, ot = R.bottom || 0, Ae = R.top || 0, { left: Ve, right: Oe, top: tt, bottom: Ue } = A.padding, Xe = 0.5 * (ke + we), st = 0.5 * (Ae + ot), be = Math.min(T.scaleZoom(T.scale * Math.min((T.width - (ke + we + Ve + Oe)) / De[0], (T.height - (ot + Ae + Ue + tt)) / De[1])), A.maxZoom), ze = T.scale / T.zoomScale(be);
32853
- pe = new s.Aabb([pe.min[0] - (Ve + Xe) * ze, pe.min[1] - (Ue + st) * ze, pe.min[2]], [pe.max[0] + (Oe + Xe) * ze, pe.max[1] + (tt + st) * ze, pe.max[2]]);
32854
- const Et = 0.5 * De[2], Pt = this._minimumAABBFrustumDistance(T, pe), Ct = [0, 0, 1, 0];
32851
+ fe = s.Aabb.applyTransform(fe, ue);
32852
+ const De = s.sub([], fe.max, fe.min), ke = R.left || 0, we = R.right || 0, ot = R.bottom || 0, Ae = R.top || 0, { left: Ve, right: Oe, top: tt, bottom: Ue } = A.padding, Xe = 0.5 * (ke + we), st = 0.5 * (Ae + ot), be = Math.min(T.scaleZoom(T.scale * Math.min((T.width - (ke + we + Ve + Oe)) / De[0], (T.height - (ot + Ae + Ue + tt)) / De[1])), A.maxZoom), ze = T.scale / T.zoomScale(be);
32853
+ fe = new s.Aabb([fe.min[0] - (Ve + Xe) * ze, fe.min[1] - (Ue + st) * ze, fe.min[2]], [fe.max[0] + (Oe + Xe) * ze, fe.max[1] + (tt + st) * ze, fe.max[2]]);
32854
+ const Et = 0.5 * De[2], Ot = this._minimumAABBFrustumDistance(T, fe), Ct = [0, 0, 1, 0];
32855
32855
  s.transformMat4$1(Ct, Ct, ue), s.normalize$2(Ct, Ct);
32856
- const Xt = s.scale$2([], Ct, Pt + Et), an = s.add([], pe.center, Xt), Ot = (typeof A.offset.x == "number" && typeof A.offset.y == "number" ? new s.pointGeometry(A.offset.x, A.offset.y) : s.pointGeometry.convert(A.offset)).rotate(-s.degToRad(g));
32857
- pe.center[0] -= Ot.x * ze, pe.center[1] += Ot.y * ze, s.transformMat4(pe.center, pe.center, xe), s.transformMat4(an, an, xe);
32858
- const wt = [pe.center[0], pe.center[1], an[2] * T.pixelsPerMeter];
32856
+ const Xt = s.scale$2([], Ct, Ot + Et), an = s.add([], fe.center, Xt), Bt = (typeof A.offset.x == "number" && typeof A.offset.y == "number" ? new s.pointGeometry(A.offset.x, A.offset.y) : s.pointGeometry.convert(A.offset)).rotate(-s.degToRad(g));
32857
+ fe.center[0] -= Bt.x * ze, fe.center[1] += Bt.y * ze, s.transformMat4(fe.center, fe.center, xe), s.transformMat4(an, an, xe);
32858
+ const wt = [fe.center[0], fe.center[1], an[2] * T.pixelsPerMeter];
32859
32859
  s.scale$2(wt, wt, 1 / T.worldSize);
32860
32860
  const Rn = s.lngFromMercatorX(wt[0]), Cn = s.latFromMercatorY(wt[1]), $n = Math.min(T._zoomFromMercatorZ(wt[2]), A.maxZoom), Pn = new s.LngLat(Rn, Cn);
32861
32861
  return T.mercatorFromTransition && $n < 0.5 * (s.GLOBE_ZOOM_THRESHOLD_MIN + s.GLOBE_ZOOM_THRESHOLD_MAX) ? (T.setProjection({ name: "globe" }), T.zoom = $n, this._cameraForBounds(T, l, f, g, v, S)) : { center: Pn, zoom: $n, bearing: g, pitch: v };
@@ -32910,8 +32910,8 @@ precision highp float;
32910
32910
  const Z = f.zoomScale(A - g);
32911
32911
  let W, J;
32912
32912
  r.around && (W = s.LngLat.convert(r.around), J = f.locationPoint(W));
32913
- const K = this._zooming || A !== g, ie = this._rotating || v !== R, pe = this._pitching || L !== S, ue = !f.isPaddingEqual(B), xe = (ke) => (we) => {
32914
- if (K && (ke.zoom = s.number(g, A, we)), ie && (ke.bearing = s.number(v, R, we)), pe && (ke.pitch = s.number(S, L, we)), ue && (ke.interpolatePadding(T, B, we), H = ke.centerPoint.add(U)), W)
32913
+ const K = this._zooming || A !== g, ie = this._rotating || v !== R, fe = this._pitching || L !== S, ue = !f.isPaddingEqual(B), xe = (ke) => (we) => {
32914
+ if (K && (ke.zoom = s.number(g, A, we)), ie && (ke.bearing = s.number(v, R, we)), fe && (ke.pitch = s.number(S, L, we)), ue && (ke.interpolatePadding(T, B, we), H = ke.centerPoint.add(U)), W)
32915
32915
  ke.setLocationAtPoint(W, J);
32916
32916
  else {
32917
32917
  const ot = ke.zoomScale(ke.zoom - g), Ae = A > g ? Math.min(2, Z) : Math.max(0.5, Z), Ve = Math.pow(Ae, 1 - we), Oe = ke.unproject(q.add(X.mult(we * Ve)).mult(ot));
@@ -32924,7 +32924,7 @@ precision highp float;
32924
32924
  return this._preloadTiles(ke), this;
32925
32925
  }
32926
32926
  const De = { moving: this._moving, zooming: this._zooming, rotating: this._rotating, pitching: this._pitching };
32927
- return this._zooming = K, this._rotating = ie, this._pitching = pe, this._padding = ue, this._easeId = r.easeId, this._prepareEase(l, r.noMoveStart, De), this._ease(xe(f), (ke) => {
32927
+ return this._zooming = K, this._rotating = ie, this._pitching = fe, this._padding = ue, this._easeId = r.easeId, this._prepareEase(l, r.noMoveStart, De), this._ease(xe(f), (ke) => {
32928
32928
  f.recenterOnTerrain(), this._afterEase(l, ke);
32929
32929
  }, r), this;
32930
32930
  }
@@ -32953,14 +32953,14 @@ precision highp float;
32953
32953
  this._normalizeCenter(Z);
32954
32954
  const W = f.project(X), J = f.project(Z).sub(W);
32955
32955
  let K = r.curve;
32956
- const ie = Math.max(f.width, f.height), pe = ie / U, ue = J.mag();
32956
+ const ie = Math.max(f.width, f.height), fe = ie / U, ue = J.mag();
32957
32957
  if ("minZoom" in r) {
32958
32958
  const be = s.clamp(Math.min(r.minZoom, g, A), f.minZoom, f.maxZoom), ze = ie / f.zoomScale(be - g);
32959
32959
  K = Math.sqrt(ze / ue * 2);
32960
32960
  }
32961
32961
  const xe = K * K;
32962
32962
  function De(be) {
32963
- const ze = (pe * pe - ie * ie + (be ? -1 : 1) * xe * xe * ue * ue) / (2 * (be ? pe : ie) * xe * ue);
32963
+ const ze = (fe * fe - ie * ie + (be ? -1 : 1) * xe * xe * ue * ue) / (2 * (be ? fe : ie) * xe * ue);
32964
32964
  return Math.log(Math.sqrt(ze * ze + 1) - ze);
32965
32965
  }
32966
32966
  function ke(be) {
@@ -32977,10 +32977,10 @@ precision highp float;
32977
32977
  var ze;
32978
32978
  }, Oe = (De(1) - ot) / K;
32979
32979
  if (Math.abs(ue) < 1e-6 || !isFinite(Oe)) {
32980
- if (Math.abs(ie - pe) < 1e-6)
32980
+ if (Math.abs(ie - fe) < 1e-6)
32981
32981
  return this.easeTo(r, l);
32982
- const be = pe < ie ? -1 : 1;
32983
- Oe = Math.abs(Math.log(pe / ie)) / K, Ve = function() {
32982
+ const be = fe < ie ? -1 : 1;
32983
+ Oe = Math.abs(Math.log(fe / ie)) / K, Ve = function() {
32984
32984
  return 0;
32985
32985
  }, Ae = function(ze) {
32986
32986
  return Math.exp(be * K * ze);
@@ -32988,9 +32988,9 @@ precision highp float;
32988
32988
  }
32989
32989
  r.duration = "duration" in r ? +r.duration : 1e3 * Oe / ("screenSpeed" in r ? +r.screenSpeed / K : +r.speed), r.maxDuration && r.duration > r.maxDuration && (r.duration = 0);
32990
32990
  const tt = v !== R, Ue = L !== S, Xe = !f.isPaddingEqual(B), st = (be) => (ze) => {
32991
- const Et = ze * Oe, Pt = 1 / Ae(Et);
32992
- be.zoom = ze === 1 ? A : g + be.scaleZoom(Pt), tt && (be.bearing = s.number(v, R, ze)), Ue && (be.pitch = s.number(S, L, ze)), Xe && (be.interpolatePadding(T, B, ze), q = be.centerPoint.add(H));
32993
- const Ct = ze === 1 ? Z : be.unproject(W.add(J.mult(Ve(Et))).mult(Pt));
32991
+ const Et = ze * Oe, Ot = 1 / Ae(Et);
32992
+ be.zoom = ze === 1 ? A : g + be.scaleZoom(Ot), tt && (be.bearing = s.number(v, R, ze)), Ue && (be.pitch = s.number(S, L, ze)), Xe && (be.interpolatePadding(T, B, ze), q = be.centerPoint.add(H));
32993
+ const Ct = ze === 1 ? Z : be.unproject(W.add(J.mult(Ve(Et))).mult(Ot));
32994
32994
  return be.setLocationAtPoint(be.renderWorldCopies ? Ct.wrap() : Ct, q), be._updateCameraOnTerrain(), r.preloadOnly || this._fireMoveEvents(l), be;
32995
32995
  };
32996
32996
  if (r.preloadOnly) {
@@ -34715,22 +34715,22 @@ function JO({ onLocationClick: t, onVenueChangedOnMap: o }) {
34715
34715
  if (s) {
34716
34716
  window.localStorage.clear(z1);
34717
34717
  const je = DS(V, j);
34718
- je && !ee ? fe(je, s).then(() => {
34718
+ je && !ee ? pe(je, s).then(() => {
34719
34719
  o(je);
34720
34720
  }) : je && o(je);
34721
34721
  }
34722
34722
  }, [V, j, et]), Te.useEffect(() => {
34723
34723
  s && (se ? s.filter(se.map((je) => je.id)) : ae && s.filter(ae.map((je) => je.id)));
34724
34724
  }, [se, ae, s]);
34725
- const fe = (je, We) => (window.localStorage.setItem(z1, je.name), We.fitVenue(je).then(() => {
34726
- et && We.setZoom(et);
34725
+ const pe = (je, We) => (window.localStorage.setItem(z1, je.name), We.fitVenue(je).then(() => {
34726
+ et && We.setZoom(parseInt(et));
34727
34727
  })), Be = (je) => {
34728
34728
  He(je), he(je);
34729
34729
  }, he = (je) => {
34730
34730
  ee && je && window.mapsindoors.services.LocationsService.getLocation(ee).then((We) => {
34731
34731
  if (We) {
34732
- const Nt = We.properties.floor;
34733
- je.setFloor(Nt);
34732
+ const Ft = We.properties.floor;
34733
+ je.setFloor(Ft);
34734
34734
  const kt = We.geometry.type === "Point" ? We.geometry.coordinates : We.properties.anchor.coordinates;
34735
34735
  je.getMapView().setCenter({ lat: kt[1], lng: kt[0] }), et ? je == null || je.setZoom(et) : HA(je);
34736
34736
  }
@@ -34740,19 +34740,19 @@ function JO({ onLocationClick: t, onVenueChangedOnMap: o }) {
34740
34740
  let We = je.getTileURL();
34741
34741
  if (We) {
34742
34742
  We = je.getTileURL().replace("default", T0);
34743
- const Nt = We == null ? void 0 : We.replace("{floor}", je.getFloor());
34744
- je.getMapView().setMapsIndoorsTileURL(Nt);
34743
+ const Ft = We == null ? void 0 : We.replace("{floor}", je.getFloor());
34744
+ je.getMapView().setMapsIndoorsTileURL(Ft);
34745
34745
  }
34746
34746
  }
34747
34747
  }, Ke = async (je, We) => {
34748
- const Nt = new window.mapsindoors.MapsIndoors({
34748
+ const Ft = new window.mapsindoors.MapsIndoors({
34749
34749
  mapView: je
34750
34750
  });
34751
- Nt.setDisplayRule(["MI_BUILDING_OUTLINE", "MI_BUILDING", "MI_VENUE"], { visible: !1 }), Nt.on("click", (sn) => t(sn)), Nt.once("building_changed", () => Be(Nt)), Nt.on("floor_changed", () => He(Nt)), I(Nt);
34751
+ Ft.setDisplayRule(["MI_BUILDING_OUTLINE", "MI_BUILDING", "MI_VENUE"], { visible: !1 }), Ft.on("click", (sn) => t(sn)), Ft.once("building_changed", () => Be(Ft)), Ft.on("floor_changed", () => He(Ft)), I(Ft);
34752
34752
  const kt = new window.mapsindoors.services.DirectionsService(We);
34753
34753
  $(kt);
34754
34754
  const rn = DS(V, j);
34755
- rn && !ee && fe(rn, Nt);
34755
+ rn && !ee && pe(rn, Ft);
34756
34756
  }, Qe = (je) => {
34757
34757
  je.nodeName === "MI-MY-POSITION" ? je.addEventListener("position_received", (We) => {
34758
34758
  We.detail.accurate === !0 && O(We.detail.position);
@@ -35153,14 +35153,14 @@ function xB(t, o) {
35153
35153
  return j;
35154
35154
  if ($.timeStamp - j.start > V.swipeDuration)
35155
35155
  return j.swiping ? Object.assign(Object.assign({}, j), { swiping: !1 }) : j;
35156
- const { clientX: ae, clientY: ge } = se ? $.touches[0] : $, [et, me] = NS([ae, ge], V.rotationAngle), ee = et - j.xy[0], fe = me - j.xy[1], Be = Math.abs(ee), he = Math.abs(fe), He = ($.timeStamp || 0) - j.start, Ke = Math.sqrt(Be * Be + he * he) / (He || 1), Qe = [ee / (He || 1), fe / (He || 1)], je = vB(Be, he, ee, fe), We = typeof V.delta == "number" ? V.delta : V.delta[je.toLowerCase()] || zu.delta;
35156
+ const { clientX: ae, clientY: ge } = se ? $.touches[0] : $, [et, me] = NS([ae, ge], V.rotationAngle), ee = et - j.xy[0], pe = me - j.xy[1], Be = Math.abs(ee), he = Math.abs(pe), He = ($.timeStamp || 0) - j.start, Ke = Math.sqrt(Be * Be + he * he) / (He || 1), Qe = [ee / (He || 1), pe / (He || 1)], je = vB(Be, he, ee, pe), We = typeof V.delta == "number" ? V.delta : V.delta[je.toLowerCase()] || zu.delta;
35157
35157
  if (Be < We && he < We && !j.swiping)
35158
35158
  return j;
35159
- const Nt = {
35159
+ const Ft = {
35160
35160
  absX: Be,
35161
35161
  absY: he,
35162
35162
  deltaX: ee,
35163
- deltaY: fe,
35163
+ deltaY: pe,
35164
35164
  dir: je,
35165
35165
  event: $,
35166
35166
  first: j.first,
@@ -35168,12 +35168,12 @@ function xB(t, o) {
35168
35168
  velocity: Ke,
35169
35169
  vxvy: Qe
35170
35170
  };
35171
- Nt.first && V.onSwipeStart && V.onSwipeStart(Nt), V.onSwiping && V.onSwiping(Nt);
35171
+ Ft.first && V.onSwipeStart && V.onSwipeStart(Ft), V.onSwiping && V.onSwiping(Ft);
35172
35172
  let kt = !1;
35173
35173
  return (V.onSwiping || V.onSwiped || V[`onSwiped${je}`]) && (kt = !0), kt && V.preventScrollOnSwipe && V.trackTouch && $.cancelable && $.preventDefault(), Object.assign(Object.assign({}, j), {
35174
35174
  // first is now always false
35175
35175
  first: !1,
35176
- eventData: Nt,
35176
+ eventData: Ft,
35177
35177
  swiping: !0
35178
35178
  });
35179
35179
  });
@@ -35269,7 +35269,7 @@ function Fd({ children: t, isOpen: o, minHeight: c, preferredSizeSnapPoint: d, o
35269
35269
  ee(d);
35270
35270
  }));
35271
35271
  }, [d]);
35272
- const fe = e3({
35272
+ const pe = e3({
35273
35273
  onSwipeStart: (he) => {
35274
35274
  $(!0), V(he.dir), C0 = w.current.clientHeight;
35275
35275
  },
@@ -35292,9 +35292,9 @@ function Fd({ children: t, isOpen: o, minHeight: c, preferredSizeSnapPoint: d, o
35292
35292
  o === !1 ? (ge(), w.current.style.height = "") : ge(E.current.clientHeight);
35293
35293
  }, [t.length, o]);
35294
35294
  const Be = (he) => {
35295
- fe.ref(he), w.current = he;
35295
+ pe.ref(he), w.current = he;
35296
35296
  };
35297
- return /* @__PURE__ */ ve.jsx("div", { ...fe, ref: Be, style: et, className: `sheet ${o ? "sheet--active" : ""} ${O ? "sheet--dragging" : ""}`, children: /* @__PURE__ */ ve.jsx("div", { ref: E, className: "sheet__content", style: et, children: t }) });
35297
+ return /* @__PURE__ */ ve.jsx("div", { ...pe, ref: Be, style: et, className: `sheet ${o ? "sheet--active" : ""} ${O ? "sheet--dragging" : ""}`, children: /* @__PURE__ */ ve.jsx("div", { ref: E, className: "sheet__content", style: et, children: t }) });
35298
35298
  }
35299
35299
  const bB = (t, o) => {
35300
35300
  const [c, d] = Te.useState(void 0), [_, w] = Te.useState(void 0);
@@ -35310,7 +35310,7 @@ const bB = (t, o) => {
35310
35310
  onSwiping: ({ event: t }) => t.stopPropagation()
35311
35311
  });
35312
35312
  function t3({ onBack: t, onStartWayfinding: o, onSetSize: c, snapPointSwiped: d }) {
35313
- const _ = Te.useRef(null), w = Te.useRef(null), E = Te.useRef(null), [s, I] = Te.useState(!1), [O, $] = Te.useState(!1), [j, V] = Te.useState(!1), [se, ae] = Te.useState(null), ge = gn(ia), et = gn(Bp), [me, ee] = bB(et, E), fe = Np(), Be = gn(fc);
35313
+ const _ = Te.useRef(null), w = Te.useRef(null), E = Te.useRef(null), [s, I] = Te.useState(!1), [O, $] = Te.useState(!1), [j, V] = Te.useState(!1), [se, ae] = Te.useState(null), ge = gn(ia), et = gn(Bp), [me, ee] = bB(et, E), pe = Np(), Be = gn(fc);
35314
35314
  Te.useEffect(() => {
35315
35315
  I(!1), $(!1), V(!1), ae(null), et && (_.current.location = et, ae(ge.getDisplayRule(et)));
35316
35316
  }, [et, ge]);
@@ -35339,7 +35339,7 @@ function t3({ onBack: t, onStartWayfinding: o, onSetSize: c, snapPointSwiped: d
35339
35339
  function We() {
35340
35340
  $(!1), V(!1);
35341
35341
  }
35342
- function Nt() {
35342
+ function Ft() {
35343
35343
  I(!1), $(!1), V(!1), he(Ci.FIT), o();
35344
35344
  }
35345
35345
  function kt() {
@@ -35364,12 +35364,12 @@ function t3({ onBack: t, onStartWayfinding: o, onSetSize: c, snapPointSwiped: d
35364
35364
  /* @__PURE__ */ ve.jsx("div", { ref: E, children: et.properties.description }),
35365
35365
  (me || ee) && /* @__PURE__ */ ve.jsx("button", { onClick: () => He(), children: "Read full description" })
35366
35366
  ] }),
35367
- et.properties.description && s && /* @__PURE__ */ ve.jsxs("section", { className: "location-details__description location-details__description--full prevent-scroll", ...fe, children: [
35367
+ et.properties.description && s && /* @__PURE__ */ ve.jsxs("section", { className: "location-details__description location-details__description--full prevent-scroll", ...pe, children: [
35368
35368
  /* @__PURE__ */ ve.jsx("div", { children: et.properties.description }),
35369
35369
  ee && /* @__PURE__ */ ve.jsx("button", { onClick: () => He(), children: "Close" })
35370
35370
  ] })
35371
35371
  ] }),
35372
- /* @__PURE__ */ ve.jsx("button", { onClick: () => Nt(), style: { background: Be }, className: "location-details__wayfinding", children: "Start wayfinding" })
35372
+ /* @__PURE__ */ ve.jsx("button", { onClick: () => Ft(), style: { background: Be }, className: "location-details__wayfinding", children: "Start wayfinding" })
35373
35373
  ] }) });
35374
35374
  }
35375
35375
  const n3 = (t) => /* @__PURE__ */ Te.createElement("svg", { width: 16, height: 17, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ Te.createElement("g", { clipPath: "url(#clip0_1663_3931)" }, /* @__PURE__ */ Te.createElement("path", { d: "M8 0.5C6.41775 0.5 4.87104 0.969192 3.55544 1.84824C2.23985 2.72729 1.21447 3.97672 0.608967 5.43853C0.00346629 6.90034 -0.15496 8.50887 0.153721 10.0607C0.462403 11.6126 1.22433 13.038 2.34315 14.1569C3.46197 15.2757 4.88743 16.0376 6.43928 16.3463C7.99113 16.655 9.59966 16.4965 11.0615 15.891C12.5233 15.2855 13.7727 14.2602 14.6518 12.9446C15.5308 11.629 16 10.0823 16 8.5C16 6.37827 15.1571 4.34344 13.6569 2.84315C12.1566 1.34285 10.1217 0.5 8 0.5ZM11.4667 11.98C11.4074 12.0452 11.3358 12.098 11.2559 12.1353C11.1761 12.1726 11.0897 12.1937 11.0017 12.1974C10.9136 12.2012 10.8258 12.1874 10.7431 12.1569C10.6604 12.1265 10.5846 12.0799 10.52 12.02L7.18667 8.99333C7.12364 8.92813 7.07457 8.85074 7.04247 8.76591C7.01038 8.68109 6.99592 8.5906 7 8.5V4.83333C7 4.65652 7.07024 4.48695 7.19527 4.36193C7.32029 4.23691 7.48986 4.16667 7.66667 4.16667C7.84348 4.16667 8.01305 4.23691 8.13807 4.36193C8.2631 4.48695 8.33334 4.65652 8.33334 4.83333V8.20667L11.42 11.04C11.5506 11.1586 11.6288 11.3242 11.6375 11.5004C11.6463 11.6765 11.5848 11.849 11.4667 11.98Z", fill: "#707070" })), /* @__PURE__ */ Te.createElement("defs", null, /* @__PURE__ */ Te.createElement("clipPath", { id: "clip0_1663_3931" }, /* @__PURE__ */ Te.createElement("rect", { width: 16, height: 16, fill: "white", transform: "translate(0 0.5)" })))), F1 = (t) => /* @__PURE__ */ Te.createElement("svg", { width: 13, height: 20, viewBox: "0 0 13 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ Te.createElement("path", { d: "M9.61194 2.82846C9.61194 3.93033 8.7187 4.82357 7.61683 4.82357C6.51495 4.82357 5.62171 3.93033 5.62171 2.82846C5.62171 1.72659 6.51495 0.833344 7.61683 0.833344C8.7187 0.833344 9.61194 1.72659 9.61194 2.82846Z", fill: "#4B5563" }), /* @__PURE__ */ Te.createElement("path", { d: "M3.85618 7.89573L2.70342 8.26942C2.51461 8.33063 2.38005 8.49797 2.36081 8.69552L2.15675 10.7898C2.10483 11.3227 1.64157 11.7195 1.10705 11.6891C0.529883 11.6562 0.101401 11.1412 0.174055 10.5677L0.562276 7.5031C0.609594 7.12957 0.863193 6.8145 1.21798 6.68846L5.43314 5.19101C5.91287 4.94642 6.49458 4.90944 7.02868 5.14168C7.58278 5.38261 7.96247 5.86074 8.09808 6.40693C8.10564 6.42543 8.11266 6.44417 8.11911 6.46314L8.13434 6.50792C8.1531 6.56308 8.17666 6.6165 8.20475 6.66755L9.12944 8.34823C9.24374 8.55597 9.4283 8.71621 9.65003 8.80021L11.6264 9.54897C12.2431 9.78262 12.4674 10.5397 12.0776 11.0716C11.8078 11.4397 11.3226 11.5778 10.8994 11.4069L8.27831 10.3486C8.07383 10.266 7.90247 10.118 7.79102 9.92774L7.36282 9.1966L6.28886 11.8906C6.2887 11.8929 6.2885 11.8952 6.28824 11.8974C6.28503 11.9259 6.28989 11.9548 6.30227 11.9807L6.30571 11.9879L9.7205 18.1483C10.0544 18.7506 9.83675 19.5096 9.23443 19.8434C8.6321 20.1773 7.87316 19.9597 7.53929 19.3574L4.94329 14.6741L2.97868 19.1924C2.70407 19.8239 1.96948 20.1133 1.33793 19.8387C0.706382 19.5641 0.417021 18.8295 0.691627 18.1979L3.26686 12.2753L3.30923 12.1729C3.31648 12.1479 3.31685 12.1215 3.3104 12.0965C2.88761 11.4405 2.77915 10.5975 3.08907 9.82005L3.85618 7.89573Z", fill: "#4B5563" })), SB = (t) => /* @__PURE__ */ Te.createElement("svg", { width: 20, height: 24, viewBox: "0 0 20 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ Te.createElement("path", { d: "M4.48045 5.12001C4.0861 5.12526 3.70969 5.28562 3.4327 5.56636C3.15571 5.84709 3.00042 6.22562 3.00045 6.62001V16.73C3.00045 16.7963 2.97411 16.8599 2.92723 16.9068C2.88035 16.9537 2.81676 16.98 2.75045 16.98H1.48045C1.30245 16.979 1.1274 17.0255 0.973367 17.1147C0.819338 17.2039 0.691916 17.3326 0.60426 17.4876C0.516604 17.6425 0.471891 17.818 0.474737 17.996C0.477584 18.174 0.527887 18.348 0.620453 18.5L3.62045 23.5C3.709 23.6492 3.83484 23.7728 3.98563 23.8587C4.13641 23.9446 4.30694 23.9897 4.48045 23.9897C4.65397 23.9897 4.8245 23.9446 4.97528 23.8587C5.12606 23.7728 5.25191 23.6492 5.34045 23.5L8.34045 18.5C8.42797 18.3484 8.47417 18.1765 8.47444 18.0015C8.4747 17.8265 8.42903 17.6544 8.34197 17.5026C8.25491 17.3508 8.12953 17.2244 7.97834 17.1362C7.82716 17.048 7.65548 17.0011 7.48045 17H6.23045C6.19758 16.9975 6.16554 16.9885 6.13616 16.9735C6.10679 16.9586 6.08066 16.938 6.05928 16.9129C6.03791 16.8878 6.0217 16.8587 6.01161 16.8273C6.00151 16.7959 5.99772 16.7629 6.00045 16.73V6.62001C6.00047 6.42133 5.96102 6.22463 5.88439 6.04132C5.80776 5.85802 5.69548 5.69176 5.55407 5.55221C5.41265 5.41266 5.24493 5.30259 5.06062 5.2284C4.87632 5.1542 4.67911 5.11736 4.48045 5.12001Z", fill: "#707070" }), /* @__PURE__ */ Te.createElement("path", { d: "M15.5203 18.84C15.9182 18.84 16.2997 18.6819 16.581 18.4006C16.8623 18.1193 17.0203 17.7378 17.0203 17.34V7.22995C17.0254 7.16717 17.0539 7.10861 17.1003 7.06597C17.1466 7.02332 17.2074 6.99975 17.2703 6.99995H18.5203C18.6968 6.99992 18.8702 6.95317 19.0228 6.86446C19.1754 6.77574 19.3018 6.64822 19.3891 6.49485C19.4765 6.34148 19.5217 6.16771 19.5201 5.99122C19.5186 5.81472 19.4704 5.64177 19.3803 5.48995L16.3803 0.48995C16.2918 0.340728 16.1659 0.217112 16.0152 0.131252C15.8644 0.0453926 15.6938 0.000244141 15.5203 0.000244141C15.3468 0.000244141 15.1763 0.0453926 15.0255 0.131252C14.8747 0.217112 14.7489 0.340728 14.6603 0.48995L11.6603 5.48995C11.5703 5.64177 11.5221 5.81472 11.5205 5.99122C11.519 6.16771 11.5642 6.34148 11.6516 6.49485C11.7389 6.64822 11.8653 6.77574 12.0179 6.86446C12.1705 6.95317 12.3438 6.99992 12.5203 6.99995H13.7703C13.8366 6.99995 13.9002 7.02629 13.9471 7.07317C13.994 7.12006 14.0203 7.18365 14.0203 7.24995V17.34C14.0203 17.7378 14.1784 18.1193 14.4597 18.4006C14.741 18.6819 15.1225 18.84 15.5203 18.84Z", fill: "#707070" })), vs = {
@@ -35491,20 +35491,20 @@ const hx = xi({
35491
35491
  FROM: "FROM"
35492
35492
  }, kB = "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";
35493
35493
  function s3({ onStartDirections: t, onBack: o, directionsToLocation: c, directionsFromLocation: d, onSetSize: _, isActive: w }) {
35494
- const E = Te.useRef(), s = Te.useRef(), I = Te.useRef(), O = Te.useRef(), [, $] = Gn(hx), j = gn(jA), V = gn(sx), se = gn(Bp), ae = gn($A), ge = gn(fc), [et, me] = Te.useState(), [ee, fe] = Te.useState(!0), [Be, he] = Te.useState(!0), [He, Ke] = Te.useState(!1), [Qe, je] = Te.useState([]), [We, Nt] = Te.useState(), [kt, rn] = Te.useState(), [sn, $t] = Te.useState(), [ai, Jn] = Te.useState(), [_t, Zt] = Te.useState(!1), ut = Np(), [Ft, Me] = Te.useState(!1), [at, ht] = Gn(i3);
35494
+ const E = Te.useRef(), s = Te.useRef(), I = Te.useRef(), O = Te.useRef(), [, $] = Gn(hx), j = gn(jA), V = gn(sx), se = gn(Bp), ae = gn($A), ge = gn(fc), [et, me] = Te.useState(), [ee, pe] = Te.useState(!0), [Be, he] = Te.useState(!0), [He, Ke] = Te.useState(!1), [Qe, je] = Te.useState([]), [We, Ft] = Te.useState(), [kt, rn] = Te.useState(), [sn, $t] = Te.useState(), [ai, Jn] = Te.useState(), [_t, Zt] = Te.useState(!1), ut = Np(), [Pt, Me] = Te.useState(!1), [at, ht] = Gn(i3);
35495
35495
  function Rt(lt) {
35496
35496
  return ae === Fa.Google && lt.properties.type === "google_places" ? AB(lt) : Promise.resolve(lt);
35497
35497
  }
35498
35498
  function St(lt) {
35499
35499
  et === Jr.TO ? Rt(lt).then((jt) => {
35500
- Nt(jt), I.current.setDisplayText(jt.properties.name);
35501
- }, () => fe(!1)) : et === Jr.FROM && Rt(lt).then((jt) => {
35500
+ Ft(jt), I.current.setDisplayText(jt.properties.name);
35501
+ }, () => pe(!1)) : et === Jr.FROM && Rt(lt).then((jt) => {
35502
35502
  rn(jt), O.current.setDisplayText(jt.properties.name);
35503
- }, () => fe(!1)), Me(!1), Ke(!1), je([]);
35503
+ }, () => pe(!1)), Me(!1), Ke(!1), je([]);
35504
35504
  }
35505
35505
  function Dt(lt, jt) {
35506
- if (me(jt), lt.length === 0)
35507
- he(!1), Me(!1);
35506
+ if (me(jt), pe(!0), lt.length === 0)
35507
+ he(!1), Me(!1), je([]);
35508
35508
  else {
35509
35509
  he(!0), je(lt);
35510
35510
  const ni = lt.filter((wi) => wi.properties.type === "google_places").length > 0;
@@ -35520,26 +35520,26 @@ function s3({ onStartDirections: t, onBack: o, directionsToLocation: c, directio
35520
35520
  }
35521
35521
  function un() {
35522
35522
  const lt = o3(V);
35523
- O.current.setDisplayText(lt.properties.name), rn(lt), fe(!0);
35523
+ O.current.setDisplayText(lt.properties.name), rn(lt), pe(!0), he(!0);
35524
35524
  }
35525
35525
  function Zn(lt) {
35526
- me(lt), en(lt), fe(!0), Me(!1);
35526
+ me(lt), en(lt), pe(!0), Me(!1);
35527
35527
  }
35528
35528
  function Ht(lt) {
35529
- me(lt), xn(lt), je([]), fe(!0), Me(!1);
35529
+ me(lt), xn(lt), je([]), pe(!0), Me(!1), he(!0);
35530
35530
  }
35531
35531
  function xn(lt) {
35532
- lt === Jr.TO ? Nt() : lt === Jr.FROM && rn();
35532
+ lt === Jr.TO ? Ft() : lt === Jr.FROM && rn();
35533
35533
  }
35534
35534
  function en(lt) {
35535
35535
  lt === Jr.TO ? (je([]), I.current.getValue() && (Ke(!0), I.current.triggerSearch())) : lt === Jr.FROM && (je([]), O.current.getValue() && (Ke(!0), O.current.triggerSearch()));
35536
35536
  }
35537
35537
  function ci() {
35538
- (We || kt) && (kt ? I.current.setDisplayText(kt.properties.name) : I.current.clear(), We ? O.current.setDisplayText(We.properties.name) : O.current.clear(), Nt(kt), rn(We));
35538
+ (We || kt) && (kt ? I.current.setDisplayText(kt.properties.name) : I.current.clear(), We ? O.current.setDisplayText(We.properties.name) : O.current.clear(), Ft(kt), rn(We));
35539
35539
  }
35540
35540
  return Te.useEffect(() => {
35541
35541
  var lt;
35542
- if (on(Ci.MAX), (d == null ? void 0 : d.id) === "USER_POSITION" && (c == null ? void 0 : c.id) === "USER_POSITION" && (c = void 0), c != null && c.properties && !se && (I.current.setDisplayText(c.properties.name), Nt(c)), d != null && d.properties ? (O.current.setDisplayText(d.properties.name), rn(d)) : me(Jr.FROM), w && !((lt = O.current) != null && lt.getValue())) {
35542
+ if (on(Ci.MAX), (d == null ? void 0 : d.id) === "USER_POSITION" && (c == null ? void 0 : c.id) === "USER_POSITION" && (c = void 0), c != null && c.properties && !se && (I.current.setDisplayText(c.properties.name), Ft(c)), d != null && d.properties ? (O.current.setDisplayText(d.properties.name), rn(d)) : me(Jr.FROM), w && !((lt = O.current) != null && lt.getValue())) {
35543
35543
  const jt = E.current.closest(".sheet");
35544
35544
  jt ? jt.addEventListener("transitionend", () => {
35545
35545
  d !== "USER_POSITION_PENDING" && (c == null ? void 0 : c.id) !== "USER_POSITION" && O.current.focusInput();
@@ -35553,7 +35553,7 @@ function s3({ onStartDirections: t, onBack: o, directionsToLocation: c, directio
35553
35553
  avoidStairs: _t
35554
35554
  }).then((lt) => {
35555
35555
  if (lt && lt.legs) {
35556
- fe(!0);
35556
+ pe(!0);
35557
35557
  const jt = lt.legs.reduce((wi, ki) => wi + ki.distance.value, 0), ni = lt.legs.reduce((wi, ki) => wi + ki.duration.value, 0);
35558
35558
  $t(jt), Jn(ni), $({
35559
35559
  originLocation: kt,
@@ -35563,14 +35563,14 @@ function s3({ onStartDirections: t, onBack: o, directionsToLocation: c, directio
35563
35563
  directionsResult: lt
35564
35564
  });
35565
35565
  } else
35566
- fe(!1);
35566
+ pe(!1);
35567
35567
  }, () => {
35568
- fe(!1);
35568
+ pe(!1);
35569
35569
  });
35570
35570
  }, [kt, We, j, _t, at]), Te.useEffect(() => {
35571
35571
  ae === Fa.Mapbox && (Me(!1), je(Qe.filter((lt) => lt.properties.type !== "google_places")));
35572
35572
  }, [ae]), Te.useEffect(() => {
35573
- se && (Nt(se), I.current.setDisplayText(se.properties.name));
35573
+ se && (Ft(se), I.current.setDisplayText(se.properties.name));
35574
35574
  }, [se]), /* @__PURE__ */ ve.jsxs("div", { className: "wayfinding", ref: E, children: [
35575
35575
  /* @__PURE__ */ ve.jsxs("div", { className: "wayfinding__directions", children: [
35576
35576
  /* @__PURE__ */ ve.jsx("div", { className: "wayfinding__title", children: "Start wayfinding" }),
@@ -35640,9 +35640,9 @@ function s3({ onStartDirections: t, onBack: o, directionsToLocation: c, directio
35640
35640
  lt.id
35641
35641
  )
35642
35642
  ),
35643
- Ft && /* @__PURE__ */ ve.jsx("img", { className: "wayfinding__google", alt: "Powered by Google", src: MB })
35643
+ Pt && /* @__PURE__ */ ve.jsx("img", { className: "wayfinding__google", alt: "Powered by Google", src: MB })
35644
35644
  ] }) }),
35645
- !He && ee && kt && We && /* @__PURE__ */ ve.jsxs("div", { className: "wayfinding__details", ref: s, children: [
35645
+ !He && ee && !Pt && kt && We && /* @__PURE__ */ ve.jsxs("div", { className: "wayfinding__details", ref: s, children: [
35646
35646
  /* @__PURE__ */ ve.jsxs("div", { className: "wayfinding__settings", children: [
35647
35647
  /* @__PURE__ */ ve.jsxs("div", { className: "wayfinding__accessibility", children: [
35648
35648
  /* @__PURE__ */ ve.jsx("input", { className: "mi-toggle", type: "checkbox", checked: _t, onChange: (lt) => Zt(lt.target.checked), style: { backgroundColor: _t ? ge : "" } }),
@@ -35742,7 +35742,7 @@ function PB({ steps: t, onNextStep: o, onPreviousStep: c, originLocation: d, isO
35742
35742
  function ee() {
35743
35743
  O(V[$ - 2]), j($ - 1), $ === (V == null ? void 0 : V.length) - 1 ? w() : c();
35744
35744
  }
35745
- const fe = {
35745
+ const pe = {
35746
35746
  walk: "Walk",
35747
35747
  bike: "Bike",
35748
35748
  transit: "Transit",
@@ -35780,7 +35780,7 @@ function PB({ steps: t, onNextStep: o, onPreviousStep: c, originLocation: d, isO
35780
35780
  /* @__PURE__ */ ve.jsx(
35781
35781
  zB,
35782
35782
  {
35783
- translations: fe,
35783
+ translations: pe,
35784
35784
  totalSteps: V,
35785
35785
  activeStep: $,
35786
35786
  previous: I,
@@ -35833,7 +35833,7 @@ const V1 = (t) => {
35833
35833
  };
35834
35834
  let tr;
35835
35835
  function l3({ isOpen: t, onBack: o, onSetSize: c, snapPointSwiped: d }) {
35836
- const [_, w] = Te.useState(null), E = Te.useRef(null), s = Te.useRef(null), I = Te.useRef(null), [O, $] = Te.useState(), [j, V] = Te.useState(), se = gn(ia), ae = gn(i3), ge = gn(hx), [, et] = Gn(a3), [me, ee] = Gn(Sg), fe = V1("(min-width: 992px)");
35836
+ const [_, w] = Te.useState(null), E = Te.useRef(null), s = Te.useRef(null), I = Te.useRef(null), [O, $] = Te.useState(), [j, V] = Te.useState(), se = gn(ia), ae = gn(i3), ge = gn(hx), [, et] = Gn(a3), [me, ee] = Gn(Sg), pe = V1("(min-width: 992px)");
35837
35837
  Te.useEffect(() => {
35838
35838
  if (w(null), t && ge) {
35839
35839
  $(ge.totalDistance), V(ge.totalTime);
@@ -35842,8 +35842,8 @@ function l3({ isOpen: t, onBack: o, onSetSize: c, snapPointSwiped: d }) {
35842
35842
  mapsIndoors: se,
35843
35843
  fitBoundsPadding: {
35844
35844
  top: sn,
35845
- bottom: fe ? sn : Qe(),
35846
- left: fe ? je() : sn,
35845
+ bottom: pe ? sn : Qe(),
35846
+ left: pe ? je() : sn,
35847
35847
  right: sn
35848
35848
  }
35849
35849
  }), tr.setRoute(ge.directionsResult), tr.setStepIndex(0), s.current.location = ge.originLocation, E.current.location = ge.destinationLocation, ge.destinationLocation.properties.name === "My Position" ? w(null) : w(se.getDisplayRule(ge.destinationLocation));
@@ -35880,11 +35880,11 @@ function l3({ isOpen: t, onBack: o, onSetSize: c, snapPointSwiped: d }) {
35880
35880
  function We() {
35881
35881
  tr.setRoute(null), tr = null;
35882
35882
  }
35883
- function Nt() {
35883
+ function Ft() {
35884
35884
  et(0), ee(!1), rn(Ci.FIT);
35885
35885
  }
35886
35886
  function kt() {
35887
- Nt(), We(), o();
35887
+ Ft(), We(), o();
35888
35888
  }
35889
35889
  function rn(sn) {
35890
35890
  typeof c == "function" && c(sn);
@@ -35954,7 +35954,7 @@ function c3({ onLocationClick: t, onSetSize: o }) {
35954
35954
  categories: Qe
35955
35955
  }).then(he);
35956
35956
  }
35957
- function fe(Qe) {
35957
+ function pe(Qe) {
35958
35958
  ge(Qe), Be(Ci.MAX), ae === Qe ? (s([]), ge(null), $([]), d.current.getValue() && d.current.triggerSearch()) : d.current.getValue() ? d.current.triggerSearch() : ee(Qe);
35959
35959
  }
35960
35960
  function Be(Qe) {
@@ -36004,7 +36004,7 @@ function c3({ onLocationClick: t, onSetSize: o }) {
36004
36004
  "background-color": me,
36005
36005
  content: je.displayName,
36006
36006
  active: ae === Qe,
36007
- onClick: () => fe(Qe)
36007
+ onClick: () => pe(Qe)
36008
36008
  },
36009
36009
  Qe
36010
36010
  )
@@ -36053,7 +36053,7 @@ function u3({ onBack: t, onLocationClick: o, locations: c, onSetSize: d }) {
36053
36053
  ] });
36054
36054
  }
36055
36055
  function OB({ directionsFromLocation: t, directionsToLocation: o, pushAppView: c, currentAppView: d, appViews: _ }) {
36056
- const w = Te.useRef(), [E, s] = Te.useState(), [I, O] = Te.useState(), [$, j] = Te.useState(), [V, se] = Te.useState(), [ae, ge] = Te.useState(), [et, me] = Te.useState(), [ee, fe] = Te.useState(), Be = gn(cx), [he, He] = Gn(Bp), [Ke, Qe] = Gn(bg);
36056
+ const w = Te.useRef(), [E, s] = Te.useState(), [I, O] = Te.useState(), [$, j] = Te.useState(), [V, se] = Te.useState(), [ae, ge] = Te.useState(), [et, me] = Te.useState(), [ee, pe] = Te.useState(), Be = gn(cx), [he, He] = Gn(Bp), [Ke, Qe] = Gn(bg);
36057
36057
  Te.useEffect(() => {
36058
36058
  t && o && d === _.DIRECTIONS || (t && o ? c(_.WAYFINDING) : he ? c(_.LOCATION_DETAILS, he) : (Ke == null ? void 0 : Ke.length) > 0 ? c(_.EXTERNALIDS) : c(_.SEARCH));
36059
36059
  }, [he, t, o, Ke]);
@@ -36063,7 +36063,7 @@ function OB({ directionsFromLocation: t, directionsToLocation: o, pushAppView: c
36063
36063
  function We() {
36064
36064
  c(_.SEARCH), He(), Qe([]);
36065
36065
  }
36066
- const Nt = [
36066
+ const Ft = [
36067
36067
  /* @__PURE__ */ ve.jsx(
36068
36068
  Fd,
36069
36069
  {
@@ -36089,7 +36089,7 @@ function OB({ directionsFromLocation: t, directionsToLocation: o, pushAppView: c
36089
36089
  children: /* @__PURE__ */ ve.jsx(
36090
36090
  u3,
36091
36091
  {
36092
- onSetSize: (kt) => fe(kt),
36092
+ onSetSize: (kt) => pe(kt),
36093
36093
  onBack: () => We(),
36094
36094
  locations: Ke,
36095
36095
  onLocationClick: (kt) => He(kt),
@@ -36158,7 +36158,7 @@ function OB({ directionsFromLocation: t, directionsToLocation: o, pushAppView: c
36158
36158
  "E"
36159
36159
  )
36160
36160
  ];
36161
- return /* @__PURE__ */ ve.jsx("div", { ref: w, className: "bottom-sheets", children: /* @__PURE__ */ ve.jsx(JA.Provider, { value: w, children: Nt }) });
36161
+ return /* @__PURE__ */ ve.jsx("div", { ref: w, className: "bottom-sheets", children: /* @__PURE__ */ ve.jsx(JA.Provider, { value: w, children: Ft }) });
36162
36162
  }
36163
36163
  const BB = {
36164
36164
  SEARCH: void 0,
@@ -36262,7 +36262,7 @@ const FS = (t) => {
36262
36262
  WO();
36263
36263
  let US;
36264
36264
  function UB({ apiKey: t, gmApiKey: o, mapboxAccessToken: c, venue: d, locationId: _, primaryColor: w, logo: E, appUserRoles: s, directionsFrom: I, directionsTo: O, externalIDs: $, tileStyle: j, startZoomLevel: V }) {
36265
- const [, se] = Gn(VA), [, ae] = Gn(rx), [, ge] = Gn(ox), [et, me] = Gn(r3), [ee, fe] = Gn(ix), [, Be] = Gn(wg), [he, He] = Gn(Bp), [, Ke] = Gn(cx), [, Qe] = Gn(qA), [je, We] = Te.useState(!1), [, Nt] = Gn(fc), kt = FS(I), rn = FS(O), [, sn] = Gn(bg), [$t, ai] = Gn(ax), [Jn, _t] = Te.useState(), [, Zt] = Gn(GA), [, ut] = Gn(ZA), Ft = V1("(min-width: 992px)"), Me = V1("(max-width: 991px)"), [at, ht, Rt, St, Dt] = NB(), on = Te.useRef(), [Mt, un] = Te.useState(!1);
36265
+ const [, se] = Gn(VA), [, ae] = Gn(rx), [, ge] = Gn(ox), [et, me] = Gn(r3), [ee, pe] = Gn(ix), [, Be] = Gn(wg), [he, He] = Gn(Bp), [, Ke] = Gn(cx), [, Qe] = Gn(qA), [je, We] = Te.useState(!1), [, Ft] = Gn(fc), kt = FS(I), rn = FS(O), [, sn] = Gn(bg), [$t, ai] = Gn(ax), [Jn, _t] = Te.useState(), [, Zt] = Gn(GA), [, ut] = Gn(ZA), Pt = V1("(min-width: 992px)"), Me = V1("(max-width: 991px)"), [at, ht, Rt, St, Dt] = NB(), on = Te.useRef(), [Mt, un] = Te.useState(!1);
36266
36266
  function Zn() {
36267
36267
  return new Promise((lt) => {
36268
36268
  if (window.mapsindoors !== void 0)
@@ -36286,7 +36286,7 @@ function UB({ apiKey: t, gmApiKey: o, mapboxAccessToken: c, venue: d, locationId
36286
36286
  // Ensure a minimum waiting time of 3 seconds
36287
36287
  new Promise((lt) => setTimeout(lt, 3e3))
36288
36288
  ]).then(([lt, jt]) => {
36289
- lt = lt.map((ni) => (ni.image = jt.venueImages[ni.name.toLowerCase()], ni)), on.current = jt, fe(lt);
36289
+ lt = lt.map((ni) => (ni.image = jt.venueImages[ni.name.toLowerCase()], ni)), on.current = jt, pe(lt);
36290
36290
  }), me(!1));
36291
36291
  }, [t, Mt]), Te.useEffect(() => {
36292
36292
  Mt && (ge(c), ae(o));
@@ -36312,7 +36312,7 @@ function UB({ apiKey: t, gmApiKey: o, mapboxAccessToken: c, venue: d, locationId
36312
36312
  }, [d]), Te.useEffect(() => {
36313
36313
  Zt(j);
36314
36314
  }, [j]), Te.useEffect(() => {
36315
- Nt(w);
36315
+ Ft(w);
36316
36316
  }, [w]), Te.useEffect(() => {
36317
36317
  ut(V);
36318
36318
  }, [V]);
@@ -36355,7 +36355,7 @@ function UB({ apiKey: t, gmApiKey: o, mapboxAccessToken: c, venue: d, locationId
36355
36355
  }
36356
36356
  ),
36357
36357
  et && /* @__PURE__ */ ve.jsxs(ve.Fragment, { children: [
36358
- Ft && /* @__PURE__ */ ve.jsx(
36358
+ Pt && /* @__PURE__ */ ve.jsx(
36359
36359
  FB,
36360
36360
  {
36361
36361
  directionsFromLocation: kt,